@templatical/editor 0.11.1 → 0.12.1

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 (155) hide show
  1. package/dist/{AiChatSidebar-Cm5RM5Qh.js → AiChatSidebar-CXH7l1Ar.js} +13 -13
  2. package/dist/{AiFeatureMenu-DBWcfcWl.js → AiFeatureMenu-BKbUUc1D.js} +10 -10
  3. package/dist/{BlockIssueBadge-BF4sdsr4.js → BlockIssueBadge-C-EPqWsh.js} +5 -5
  4. package/dist/{CloudEditor-C6cSXtcP.js → CloudEditor-CB16QzKM.js} +60 -60
  5. package/dist/{CollaboratorBar-B8-AQfG2.js → CollaboratorBar-ACUA7lBJ.js} +4 -4
  6. package/dist/{CommentsSidebar-BQJzyCc6.js → CommentsSidebar-CpRLN40c.js} +19 -19
  7. package/dist/{CountdownBlock-D_AsF4F3.js → CountdownBlock-C-6o19qS.js} +3 -3
  8. package/dist/{CountdownToolbar-BGTkFky9.js → CountdownToolbar-Dol7Q0Pv.js} +3 -3
  9. package/dist/{DesignReferenceSidebar-O3epZMXD.js → DesignReferenceSidebar-0dTsBW08.js} +9 -9
  10. package/dist/{IssuesPanel-CPBbR8yp.js → IssuesPanel-I0z6k6-H.js} +11 -11
  11. package/dist/{LoadingTrack-e67FA0NP.js → LoadingTrack-C7mGWPHS.js} +1 -1
  12. package/dist/{ModuleBrowserModal-B_tLzFAk.js → ModuleBrowserModal-Bz9hSjMS.js} +10 -10
  13. package/dist/{ModulePreviewCanvas-B7pNpAHM.js → ModulePreviewCanvas-CpaumPMS.js} +23 -23
  14. package/dist/{NumberWithSuffix-eI9pPDWT.js → NumberWithSuffix-Bp40ik4l.js} +101 -79
  15. package/dist/{ParagraphEditor-DmA9K7dx.js → ParagraphEditor-BqRFV_Y-.js} +47 -47
  16. package/dist/{RichTextEditorContent-Dvn4woIt.js → RichTextEditorContent-Q5altsx1.js} +6 -6
  17. package/dist/{SaveModuleDialog-B8ypoxdj.js → SaveModuleDialog-DmfvH5D0.js} +7 -7
  18. package/dist/{SnapshotHistory-BTHd7CVP.js → SnapshotHistory-C052o-8U.js} +13 -13
  19. package/dist/{TemplateScoringPanel-Bt5Rsgen.js → TemplateScoringPanel-CUs8XmIi.js} +24 -24
  20. package/dist/{TestEmailModal-CBIFMzK6.js → TestEmailModal-BIIxRWUt.js} +5 -5
  21. package/dist/{TitleEditor-C9jDA5lI.js → TitleEditor-FMh54Cx5.js} +18 -18
  22. package/dist/{TplModal-ND4fiqOS.js → TplModal-utMtXzSO.js} +4 -4
  23. package/dist/{blockTypeIcons-Bn-_Smlm.js → blockTypeIcons-C6UGDmrC.js} +5 -5
  24. package/dist/bundle-stats.json +6 -6
  25. package/dist/cdn/chunks/{AiFeatureMenu-BuSO0dXP.js → AiFeatureMenu-4NhCFeTh.js} +6 -6
  26. package/dist/cdn/chunks/{AiFeatureMenu-BuSO0dXP.js.map → AiFeatureMenu-4NhCFeTh.js.map} +1 -1
  27. package/dist/cdn/chunks/{BlockIssueBadge-sv3IZ1Pb.js → BlockIssueBadge-BYKThwhE.js} +6 -6
  28. package/dist/cdn/chunks/{BlockIssueBadge-sv3IZ1Pb.js.map → BlockIssueBadge-BYKThwhE.js.map} +1 -1
  29. package/dist/cdn/chunks/{CloudEditor-hxoqsTsq.js → CloudEditor-DSeihOan.js} +162 -162
  30. package/dist/cdn/chunks/{CloudEditor-hxoqsTsq.js.map → CloudEditor-DSeihOan.js.map} +1 -1
  31. package/dist/cdn/chunks/{CollaboratorBar-DFqsaNX0.js → CollaboratorBar-Dn5gXNDt.js} +4 -4
  32. package/dist/cdn/chunks/{CollaboratorBar-DFqsaNX0.js.map → CollaboratorBar-Dn5gXNDt.js.map} +1 -1
  33. package/dist/cdn/chunks/{CountdownBlock-PpH3fxAX.js → CountdownBlock-hYoJdVOt.js} +3 -3
  34. package/dist/cdn/chunks/{CountdownBlock-PpH3fxAX.js.map → CountdownBlock-hYoJdVOt.js.map} +1 -1
  35. package/dist/cdn/chunks/{CountdownToolbar-CZN92Bhz.js → CountdownToolbar-BQn0Kj0X.js} +4 -4
  36. package/dist/cdn/chunks/{CountdownToolbar-CZN92Bhz.js.map → CountdownToolbar-BQn0Kj0X.js.map} +1 -1
  37. package/dist/cdn/chunks/{IssuesPanel-wQjrnuyc.js → IssuesPanel-_5fEnivU.js} +11 -11
  38. package/dist/cdn/chunks/{IssuesPanel-wQjrnuyc.js.map → IssuesPanel-_5fEnivU.js.map} +1 -1
  39. package/dist/cdn/chunks/{ModuleBrowserModal-348wCgft.js → ModuleBrowserModal-DtCksAeW.js} +9 -9
  40. package/dist/cdn/chunks/{ModuleBrowserModal-348wCgft.js.map → ModuleBrowserModal-DtCksAeW.js.map} +1 -1
  41. package/dist/cdn/chunks/{ModulePreviewCanvas-Cf6DUHml.js → ModulePreviewCanvas-CCOvabZd.js} +33 -33
  42. package/dist/cdn/chunks/{ModulePreviewCanvas-Cf6DUHml.js.map → ModulePreviewCanvas-CCOvabZd.js.map} +1 -1
  43. package/dist/cdn/chunks/{NumberWithSuffix-Deo8EOSz.js → NumberWithSuffix-cdWjAK6y.js} +140 -119
  44. package/dist/cdn/chunks/NumberWithSuffix-cdWjAK6y.js.map +1 -0
  45. package/dist/cdn/chunks/{ParagraphEditor-Cbl_gBYM.js → ParagraphEditor-BnhnFOW1.js} +67 -67
  46. package/dist/cdn/chunks/{ParagraphEditor-Cbl_gBYM.js.map → ParagraphEditor-BnhnFOW1.js.map} +1 -1
  47. package/dist/cdn/chunks/{RichTextEditorContent-TBPzn3RC.js → RichTextEditorContent-DV2yknp8.js} +5 -5
  48. package/dist/cdn/chunks/{RichTextEditorContent-TBPzn3RC.js.map → RichTextEditorContent-DV2yknp8.js.map} +1 -1
  49. package/dist/cdn/chunks/{SaveModuleDialog-CxdYMutK.js → SaveModuleDialog-CCX5U7VA.js} +6 -6
  50. package/dist/cdn/chunks/{SaveModuleDialog-CxdYMutK.js.map → SaveModuleDialog-CCX5U7VA.js.map} +1 -1
  51. package/dist/cdn/chunks/{TitleEditor--XulEf7R.js → TitleEditor-CQqklX0D.js} +13 -13
  52. package/dist/cdn/chunks/{TitleEditor--XulEf7R.js.map → TitleEditor-CQqklX0D.js.map} +1 -1
  53. package/dist/cdn/chunks/blockTypeIcons-CpGPHppB.js +22 -0
  54. package/dist/cdn/chunks/{blockTypeIcons-BJND4L-A.js.map → blockTypeIcons-CpGPHppB.js.map} +1 -1
  55. package/dist/{de-BJMLpg_p.js → cdn/chunks/de-BpseTWOA.js} +12 -2
  56. package/dist/cdn/chunks/de-BpseTWOA.js.map +1 -0
  57. package/dist/cdn/chunks/{draggable-iAb7QVJo.js → draggable-Bci-fq8y.js} +473 -465
  58. package/dist/cdn/chunks/draggable-Bci-fq8y.js.map +1 -0
  59. package/dist/{en-DFMMw7SL.js → cdn/chunks/en-VGIQ0WNq.js} +12 -2
  60. package/dist/cdn/chunks/en-VGIQ0WNq.js.map +1 -0
  61. package/dist/cdn/chunks/{extensions-BtWoLy6E.js → extensions-Ds9GnMcd.js} +25 -25
  62. package/dist/cdn/chunks/{extensions-BtWoLy6E.js.map → extensions-Ds9GnMcd.js.map} +1 -1
  63. package/dist/cdn/chunks/{features-mO5NzwnN.js → features-DxWz_Enw.js} +1048 -1059
  64. package/dist/cdn/chunks/features-DxWz_Enw.js.map +1 -0
  65. package/dist/cdn/chunks/{icons-CuXm6XAT.js → icons-BflGUmFY.js} +146 -146
  66. package/dist/cdn/chunks/icons-BflGUmFY.js.map +1 -0
  67. package/dist/cdn/chunks/{liquid.browser-DUDc3U21.js → liquid.browser-DKKBzRQu.js} +502 -497
  68. package/dist/cdn/chunks/liquid.browser-DKKBzRQu.js.map +1 -0
  69. package/dist/cdn/chunks/{media-library-BtNzYUTi.js → media-library-C479-QcE.js} +565 -565
  70. package/dist/cdn/chunks/{media-library-BtNzYUTi.js.map → media-library-C479-QcE.js.map} +1 -1
  71. package/dist/cdn/chunks/{pt-BR-C-9aWLlR.js → pt-BR-zAqpLQbW.js} +11 -3
  72. package/dist/cdn/chunks/pt-BR-zAqpLQbW.js.map +1 -0
  73. package/dist/cdn/chunks/{pusher-CHo5Cua0.js → pusher-BICWUP2j.js} +3 -3
  74. package/dist/cdn/chunks/{pusher-CHo5Cua0.js.map → pusher-BICWUP2j.js.map} +1 -1
  75. package/dist/cdn/chunks/{quality-YKe19zp8.js → quality-BL_pEvFP.js} +101 -101
  76. package/dist/cdn/chunks/{quality-YKe19zp8.js.map → quality-BL_pEvFP.js.map} +1 -1
  77. package/dist/cdn/chunks/readableTextColor-f8Kykfnh.js.map +1 -1
  78. package/dist/cdn/chunks/{renderer-BcOaxCs6.js → renderer-C0vdAODQ.js} +53 -50
  79. package/dist/cdn/chunks/renderer-C0vdAODQ.js.map +1 -0
  80. package/dist/cdn/chunks/{src-B_ZRmuit.js → src-DzvOWQ9S.js} +11 -11
  81. package/dist/cdn/chunks/{src-B_ZRmuit.js.map → src-DzvOWQ9S.js.map} +1 -1
  82. package/dist/cdn/chunks/{styles-DDBCCJ-l.js → styles-LfeoSNRA.js} +673 -599
  83. package/dist/cdn/chunks/styles-LfeoSNRA.js.map +1 -0
  84. package/dist/cdn/chunks/{tiptap-BAwu9VcJ.js → tiptap-CwScfbsM.js} +5 -4
  85. package/dist/cdn/chunks/tiptap-CwScfbsM.js.map +1 -0
  86. package/dist/cdn/editor.css +1 -1
  87. package/dist/cdn/editor.js +36 -36
  88. package/dist/cdn/editor.js.map +1 -1
  89. package/dist/{check-BsNM6BDs.js → check-BRzXxFHr.js} +1 -1
  90. package/dist/{chevron-down-fcsZ5DU7.js → chevron-down-DmEgzmYT.js} +1 -1
  91. package/dist/{circle-alert-BZTbwc-B.js → circle-alert-BStvZr3O.js} +1 -1
  92. package/dist/{clock-B7iQRubC.js → clock-Blwp_1R6.js} +1 -1
  93. package/dist/{cloud-Dom4EH5Z.js → cloud-_olro76D.js} +6 -6
  94. package/dist/{createLucideIcon-C_fetdGM.js → createLucideIcon-CmPAC-gt.js} +3 -3
  95. package/dist/{cdn/chunks/de-BJMLpg_p.js → de-BpseTWOA.js} +10 -4
  96. package/dist/{dist-ByBVNmRN.js → dist-412xXefB.js} +1 -1
  97. package/dist/{dist-XdF11ZkX.js → dist-BCQZZUE9.js} +1 -1
  98. package/dist/{dist-CD3wbUoR.js → dist-BNEdeWub.js} +1 -1
  99. package/dist/dist-BctFrpeA.js +472 -0
  100. package/dist/{dist-eVlXvuKI.js → dist-BlG7k25W.js} +1 -1
  101. package/dist/{dist-BLcYl_de.js → dist-BwgjpLfr.js} +1 -1
  102. package/dist/{dist-Dhs3W2WW.js → dist-Cz79qrLL.js} +1 -1
  103. package/dist/{dist-c2sj5PQ5.js → dist-D6x1cQeh.js} +3 -3
  104. package/dist/{dist-cT52Hh9L.js → dist-DJ9aD8yA.js} +3 -3
  105. package/dist/{dist-Cwl7XXr4.js → dist-DULfKmTh.js} +3 -3
  106. package/dist/{dist-Dem8ODLh.js → dist-DhKTdU52.js} +3 -2
  107. package/dist/{dist-BOHAk4zI.js → dist-b7Ak-CuM.js} +1 -1
  108. package/dist/{dist-B4NkMBYc.js → dist-o73iaGqy.js} +1 -1
  109. package/dist/{dist-BsB4nPJD.js → dist-u0iIJH3V.js} +1 -1
  110. package/dist/{cdn/chunks/en-DFMMw7SL.js → en-VGIQ0WNq.js} +10 -4
  111. package/dist/{extensions-B2lSGCA8.js → extensions-XPlNAKIL.js} +23 -23
  112. package/dist/formatRelativeTime-CtUU-QZ8.js +10 -0
  113. package/dist/{image-up-1xrPPJYH.js → image-up-BFPbw_Zq.js} +1 -1
  114. package/dist/{info-ByAFxArD.js → info-B_qLEBN2.js} +1 -1
  115. package/dist/{keys-DsRdOmg3.js → keys-mFiJ5N0_.js} +1 -1
  116. package/dist/{liquid.browser--qtl1Fqy.js → liquid.browser-CVjP5Mex.js} +501 -496
  117. package/dist/{list-checks-CKUP4UZU.js → list-checks-CGg7JxPm.js} +1 -1
  118. package/dist/{loader-circle-BuxX338d.js → loader-circle-CDF8eR_Q.js} +1 -1
  119. package/dist/{message-circle-nLwqegRi.js → message-circle-C3cHsCJl.js} +1 -1
  120. package/dist/{pt-BR-C-9aWLlR.js → pt-BR-zAqpLQbW.js} +10 -2
  121. package/dist/{refresh-cw-DAkD6iDI.js → refresh-cw-Butml7Q4.js} +1 -1
  122. package/dist/{scan-line-DEELRJJ5.js → scan-line-XYEqim_E.js} +1 -1
  123. package/dist/{send-DCMgrNT4.js → send-k7npFJNO.js} +1 -1
  124. package/dist/{shield-check-BFtVr_ov.js → shield-check-CV6GbmCu.js} +1 -1
  125. package/dist/{sparkles-CeYIQ5RJ.js → sparkles-C965Xop4.js} +1 -1
  126. package/dist/style.css +1 -1
  127. package/dist/{styles-DZcQGzsN.js → styles-DSm9Ijxt.js} +898 -824
  128. package/dist/templatical-editor.js +14 -14
  129. package/dist/{text-align-start-BsmIoqLS.js → text-align-start-Bxnps8fH.js} +1 -1
  130. package/dist/{trash-2-C2S4-CIH.js → trash-2-DpGb7fIt.js} +1 -1
  131. package/dist/{triangle-alert-DMdedF6W.js → triangle-alert-BKYElAwz.js} +1 -1
  132. package/dist/{useAliveFlag-DlVvpZxc.js → useAliveFlag-BinvbqQR.js} +1 -1
  133. package/dist/{useCloudI18n-BEuiZdzs.js → useCloudI18n-L3H2XvdW.js} +2 -2
  134. package/dist/{useEditorCore-D00QzW07.js → useEditorCore-D7dQFRkw.js} +406 -486
  135. package/dist/{useI18n-DNspT6uw.js → useI18n-CTs_bP9d.js} +2 -2
  136. package/dist/{useMergeTag-abutjUud.js → useMergeTag-e3RSY-s3.js} +6 -6
  137. package/dist/usePopoverRoot-DVh7NY1q.js +8 -0
  138. package/dist/{vue.runtime.esm-bundler-mPytWZFh.js → vue.runtime.esm-bundler-B2k01iQh.js} +345 -337
  139. package/dist/{x-_9jw816B.js → x-CGjkjdKK.js} +1 -1
  140. package/package.json +10 -10
  141. package/dist/cdn/chunks/NumberWithSuffix-Deo8EOSz.js.map +0 -1
  142. package/dist/cdn/chunks/blockTypeIcons-BJND4L-A.js +0 -22
  143. package/dist/cdn/chunks/de-BJMLpg_p.js.map +0 -1
  144. package/dist/cdn/chunks/draggable-iAb7QVJo.js.map +0 -1
  145. package/dist/cdn/chunks/en-DFMMw7SL.js.map +0 -1
  146. package/dist/cdn/chunks/features-mO5NzwnN.js.map +0 -1
  147. package/dist/cdn/chunks/icons-CuXm6XAT.js.map +0 -1
  148. package/dist/cdn/chunks/liquid.browser-DUDc3U21.js.map +0 -1
  149. package/dist/cdn/chunks/pt-BR-C-9aWLlR.js.map +0 -1
  150. package/dist/cdn/chunks/renderer-BcOaxCs6.js.map +0 -1
  151. package/dist/cdn/chunks/styles-DDBCCJ-l.js.map +0 -1
  152. package/dist/cdn/chunks/tiptap-BAwu9VcJ.js.map +0 -1
  153. package/dist/dist-D6L_WdRL.js +0 -403
  154. package/dist/formatRelativeTime-CyDg5cDD.js +0 -12
  155. package/dist/usePopoverRoot-DG3mlvd1.js +0 -8
@@ -1,24 +1,24 @@
1
- import { A as e, B as t, D as n, E as r, F as i, G as a, J as o, L as s, M as c, N as l, O as u, Q as d, S as f, U as p, V as m, X as h, Y as g, _, at as v, b as y, c as b, d as x, et as S, f as C, h as w, it as T, j as E, k as ee, l as D, m as O, nt as k, o as te, ot as A, p as ne, q as re, rt as j, s as ie, st as M, tt as ae, v as N, w as oe, x as se, y as ce, z as le } from "./vue.runtime.esm-bundler-mPytWZFh.js";
2
- import { A as ue, E as de, M as fe, S as pe, T as me, _ as he, a as ge, b as _e, c as ve, d as ye, f as be, g as xe, h as Se, j as Ce, k as we, l as Te, m as Ee, o as De, p as Oe, s as ke, t as Ae, u as je, v as Me, x as Ne, y as Pe } from "./dist-D6L_WdRL.js";
3
- import { c as Fe, i as Ie, l as Le, n as Re, o as ze, r as Be, u as Ve } from "./dist-cT52Hh9L.js";
4
- import { A as He, C as Ue, E as We, M as Ge, N as Ke, S as qe, T as Je, _ as Ye, a as Xe, b as Ze, d as Qe, f as $e, g as et, h as tt, i as nt, j as rt, k as it, m as at, n as ot, o as st, p as ct, s as lt, u as ut, v as dt, w as ft, x as pt, y as mt } from "./keys-DsRdOmg3.js";
5
- import { t as ht } from "./useI18n-DNspT6uw.js";
6
- import { t as P } from "./createLucideIcon-C_fetdGM.js";
7
- import { t as gt } from "./message-circle-nLwqegRi.js";
8
- import { t as _t } from "./trash-2-C2S4-CIH.js";
9
- import { t as vt } from "./triangle-alert-DMdedF6W.js";
10
- import { t as yt } from "./LoadingTrack-e67FA0NP.js";
1
+ import { A as e, B as t, D as n, E as r, F as i, G as a, J as o, L as s, M as c, N as l, O as u, Q as d, S as f, U as p, V as m, X as h, Y as g, _, at as v, b as y, c as b, d as x, et as S, f as C, h as w, it as T, j as E, k as ee, l as D, m as O, nt as k, o as te, ot as A, p as ne, q as re, rt as j, s as ie, st as M, tt as ae, v as N, w as P, x as oe, y as se, z as ce } from "./vue.runtime.esm-bundler-B2k01iQh.js";
2
+ import { A as le, C as ue, D as de, E as fe, M as pe, N as me, S as he, _ as ge, b as _e, c as ve, d as ye, f as be, g as xe, h as Se, j as Ce, l as we, m as Te, n as Ee, o as De, p as Oe, s as ke, t as Ae, u as je, v as Me, x as Ne, y as Pe } from "./dist-BctFrpeA.js";
3
+ import { c as Fe, i as Ie, l as Le, n as Re, o as ze, r as Be, u as Ve } from "./dist-DJ9aD8yA.js";
4
+ import { A as He, C as Ue, E as We, M as Ge, N as Ke, S as qe, T as Je, _ as Ye, a as Xe, b as Ze, d as Qe, f as $e, g as et, h as tt, i as nt, j as rt, k as it, m as at, n as ot, o as st, p as ct, s as lt, u as ut, v as dt, w as ft, x as pt, y as mt } from "./keys-mFiJ5N0_.js";
5
+ import { t as ht } from "./useI18n-CTs_bP9d.js";
6
+ import { t as F } from "./createLucideIcon-CmPAC-gt.js";
7
+ import { t as gt } from "./triangle-alert-BKYElAwz.js";
8
+ import { t as _t } from "./message-circle-C3cHsCJl.js";
9
+ import { t as vt } from "./trash-2-DpGb7fIt.js";
10
+ import { t as yt } from "./LoadingTrack-C7mGWPHS.js";
11
11
  import { t as bt } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import "./useCloudI18n-BEuiZdzs.js";
13
- import { t as xt } from "./useMergeTag-abutjUud.js";
14
- import { t as St } from "./useAliveFlag-DlVvpZxc.js";
12
+ import "./useCloudI18n-L3H2XvdW.js";
13
+ import { t as xt } from "./useMergeTag-e3RSY-s3.js";
14
+ import { t as St } from "./useAliveFlag-BinvbqQR.js";
15
15
  //#region ../core/dist/index.js
16
16
  function Ct(e) {
17
17
  return e === "1" ? 1 : e === "3" ? 3 : 2;
18
18
  }
19
19
  function wt(e) {
20
20
  let t = o({
21
- content: e.content ?? je(e.defaultFontFamily, e.templateDefaults),
21
+ content: e.content ?? ye(e.defaultFontFamily, e.templateDefaults),
22
22
  selectedBlockId: null,
23
23
  viewport: "desktop",
24
24
  darkMode: !1,
@@ -171,7 +171,7 @@ var Tt = 50, Et = 300, Dt = 1500;
171
171
  function Ot(e) {
172
172
  let { content: t, setContent: n, isRemoteOperation: r, maxSize: i = Tt } = e, a = h([]), o = h([]), s = h(!1), c = null, l = null, u = m(() => a.value.length > 0), d = m(() => o.value.length > 0);
173
173
  function f() {
174
- return fe(t.value);
174
+ return me(t.value);
175
175
  }
176
176
  function p(e) {
177
177
  a.value.push(e), a.value.length > i && a.value.splice(0, a.value.length - i);
@@ -236,30 +236,30 @@ function Ot(e) {
236
236
  function kt(e) {
237
237
  e.type === "table" ? e.rows = e.rows.map((e) => ({
238
238
  ...e,
239
- id: pe(),
239
+ id: ue(),
240
240
  cells: e.cells.map((e) => ({
241
241
  ...e,
242
- id: pe()
242
+ id: ue()
243
243
  }))
244
244
  })) : e.type === "social" ? e.icons = e.icons.map((e) => ({
245
245
  ...e,
246
- id: pe()
246
+ id: ue()
247
247
  })) : e.type === "menu" && (e.items = e.items.map((e) => ({
248
248
  ...e,
249
- id: pe()
249
+ id: ue()
250
250
  })));
251
251
  }
252
252
  function At(e) {
253
253
  let { addBlock: t, removeBlock: n, updateBlock: r, selectBlock: i, findBlockLocation: a } = e;
254
254
  function o(n, r, a) {
255
- let o = De(n, e.blockDefaults);
255
+ let o = ke(n, e.blockDefaults);
256
256
  return t(o, r, a), i(o.id), o;
257
257
  }
258
258
  function s(e, n, r) {
259
259
  let o = JSON.parse(JSON.stringify(e));
260
- if (o.id = pe(), kt(o), o.type === "section" && (o.children = o.children.map((e) => e.map((e) => {
260
+ if (o.id = ue(), kt(o), o.type === "section" && (o.children = o.children.map((e) => e.map((e) => {
261
261
  let t = JSON.parse(JSON.stringify(e));
262
- return t.id = pe(), kt(t), t;
262
+ return t.id = ue(), kt(t), t;
263
263
  }))), n !== void 0 || r !== void 0) t(o, n, r);
264
264
  else {
265
265
  let i = a?.(e.id) ?? null;
@@ -645,7 +645,7 @@ function Xt() {
645
645
  function n(t, n) {
646
646
  let r = `custom:${t.type}`, i = {
647
647
  component: n,
648
- createBlock: () => Te(t),
648
+ createBlock: () => je(t),
649
649
  definition: t
650
650
  };
651
651
  e.value.set(r, i), k(e);
@@ -671,7 +671,7 @@ function Xt() {
671
671
  let t = a(e.customType);
672
672
  if (!t) return o("Block definition not found");
673
673
  try {
674
- let { Liquid: n } = await import("./liquid.browser--qtl1Fqy.js");
674
+ let { Liquid: n } = await import("./liquid.browser-CVjP5Mex.js");
675
675
  return await new n({
676
676
  strictVariables: !1,
677
677
  strictFilters: !1
@@ -731,55 +731,55 @@ function $t(e, t) {
731
731
  var en = [
732
732
  {
733
733
  type: "section",
734
- createBlock: xe
734
+ createBlock: ge
735
735
  },
736
736
  {
737
737
  type: "title",
738
- createBlock: _e
738
+ createBlock: Ne
739
739
  },
740
740
  {
741
741
  type: "paragraph",
742
- createBlock: Se
742
+ createBlock: xe
743
743
  },
744
744
  {
745
745
  type: "image",
746
- createBlock: Oe
746
+ createBlock: Te
747
747
  },
748
748
  {
749
749
  type: "button",
750
- createBlock: ke
750
+ createBlock: ve
751
751
  },
752
752
  {
753
753
  type: "divider",
754
- createBlock: ye
754
+ createBlock: be
755
755
  },
756
756
  {
757
757
  type: "video",
758
- createBlock: Ne
758
+ createBlock: he
759
759
  },
760
760
  {
761
761
  type: "social",
762
- createBlock: he
762
+ createBlock: Me
763
763
  },
764
764
  {
765
765
  type: "menu",
766
- createBlock: Ee
766
+ createBlock: Se
767
767
  },
768
768
  {
769
769
  type: "table",
770
- createBlock: Pe
770
+ createBlock: _e
771
771
  },
772
772
  {
773
773
  type: "spacer",
774
- createBlock: Me
774
+ createBlock: Pe
775
775
  },
776
776
  {
777
777
  type: "html",
778
- createBlock: be
778
+ createBlock: Oe
779
779
  },
780
780
  {
781
781
  type: "countdown",
782
- createBlock: ve
782
+ createBlock: we
783
783
  }
784
784
  ];
785
785
  function tn(e, t) {
@@ -840,7 +840,7 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
840
840
  borderRadius: `${n.block.borderRadius}px`,
841
841
  textAlign: "center"
842
842
  };
843
- return n.block.fontFamily && (e.fontFamily = n.block.fontFamily), e;
843
+ return n.block.fontFamily && (e.fontFamily = n.block.fontFamily), n.block.width === "full" ? (e.display = "block", e.width = "100%", e.boxSizing = "border-box") : typeof n.block.width == "number" && (e.width = `${n.block.width}px`, e.boxSizing = "border-box"), e;
844
844
  });
845
845
  return (n, i) => (e(), w("div", an, [C("a", {
846
846
  href: t.block.url || "#",
@@ -849,10 +849,13 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
849
849
  onClick: i[0] ||= b(() => {}, ["prevent"])
850
850
  }, M(t.block.text), 13, on)]));
851
851
  }
852
- }), cn = P("bookmark", [["path", {
852
+ }), cn = F("funnel", [["path", {
853
+ d: "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",
854
+ key: "sc7q7i"
855
+ }]]), ln = F("bookmark", [["path", {
853
856
  d: "M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",
854
857
  key: "oz39mx"
855
- }]]), ln = P("box", [
858
+ }]]), un = F("box", [
856
859
  ["path", {
857
860
  d: "M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",
858
861
  key: "hh9hay"
@@ -865,13 +868,13 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
865
868
  d: "M12 22V12",
866
869
  key: "d0xqtd"
867
870
  }]
868
- ]), un = P("code", [["path", {
871
+ ]), dn = F("code", [["path", {
869
872
  d: "m16 18 6-6-6-6",
870
873
  key: "eg8j8"
871
874
  }], ["path", {
872
875
  d: "m8 6-6 6 6 6",
873
876
  key: "ppft3o"
874
- }]]), dn = P("copy", [["rect", {
877
+ }]]), fn = F("copy", [["rect", {
875
878
  width: "14",
876
879
  height: "14",
877
880
  x: "8",
@@ -882,7 +885,7 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
882
885
  }], ["path", {
883
886
  d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
884
887
  key: "zix9uf"
885
- }]]), fn = P("eye-off", [
888
+ }]]), pn = F("eye-off", [
886
889
  ["path", {
887
890
  d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
888
891
  key: "ct8e1f"
@@ -899,10 +902,7 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
899
902
  d: "m2 2 20 20",
900
903
  key: "1ooewy"
901
904
  }]
902
- ]), pn = P("funnel", [["path", {
903
- d: "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",
904
- key: "sc7q7i"
905
- }]]), mn = P("grip-vertical", [
905
+ ]), mn = F("grip-vertical", [
906
906
  ["circle", {
907
907
  cx: "9",
908
908
  cy: "12",
@@ -939,7 +939,7 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
939
939
  r: "1",
940
940
  key: "f4zoj3"
941
941
  }]
942
- ]), hn = P("image", [
942
+ ]), hn = F("image", [
943
943
  ["rect", {
944
944
  width: "18",
945
945
  height: "18",
@@ -959,13 +959,13 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
959
959
  d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",
960
960
  key: "1xmnt7"
961
961
  }]
962
- ]), gn = P("navigation", [["polygon", {
962
+ ]), gn = F("navigation", [["polygon", {
963
963
  points: "3 11 22 2 13 21 11 13 3 11",
964
964
  key: "1ltx0t"
965
- }]]), _n = P("puzzle", [["path", {
965
+ }]]), _n = F("puzzle", [["path", {
966
966
  d: "M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",
967
967
  key: "w46dr5"
968
- }]]), vn = P("share-2", [
968
+ }]]), vn = F("share-2", [
969
969
  ["circle", {
970
970
  cx: "18",
971
971
  cy: "5",
@@ -998,7 +998,7 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
998
998
  y2: "10.49",
999
999
  key: "1n3mei"
1000
1000
  }]
1001
- ]), yn = P("table", [
1001
+ ]), yn = F("table", [
1002
1002
  ["path", {
1003
1003
  d: "M12 3v18",
1004
1004
  key: "108xh3"
@@ -1019,7 +1019,7 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
1019
1019
  d: "M3 15h18",
1020
1020
  key: "5xshup"
1021
1021
  }]
1022
- ]), bn = P("video", [["path", {
1022
+ ]), bn = F("video", [["path", {
1023
1023
  d: "m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",
1024
1024
  key: "ftymec"
1025
1025
  }], ["rect", {
@@ -1056,7 +1056,7 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
1056
1056
  height: r.value,
1057
1057
  class: "tpl:inline-block",
1058
1058
  alt: ""
1059
- }, null, 8, Sn)) : (e(), ne(j(ln), {
1059
+ }, null, 8, Sn)) : (e(), ne(j(un), {
1060
1060
  key: 2,
1061
1061
  size: r.value,
1062
1062
  "stroke-width": 1.5
@@ -1066,7 +1066,7 @@ var an = { class: "tpl:text-center" }, on = ["href"], sn = /* @__PURE__ */ y({
1066
1066
  //#endregion
1067
1067
  //#region src/composables/useEditorRoot.ts
1068
1068
  function wn() {
1069
- return oe(tt, document) ?? document;
1069
+ return P(tt, document) ?? document;
1070
1070
  }
1071
1071
  //#endregion
1072
1072
  //#region src/composables/useFocusTrap.ts
@@ -1313,7 +1313,7 @@ function Nn(e) {
1313
1313
  }
1314
1314
  l();
1315
1315
  }
1316
- let o = new Set([
1316
+ let o = /* @__PURE__ */ new Set([
1317
1317
  "http",
1318
1318
  "https",
1319
1319
  "mailto",
@@ -1354,7 +1354,7 @@ function Nn(e) {
1354
1354
  //#endregion
1355
1355
  //#region src/composables/useRichTextEditor.ts
1356
1356
  function Pn(e) {
1357
- let t = oe(at, null), { mergeTags: r, canRequestMergeTag: i, isRequesting: o, requestMergeTag: c, syntax: l, autocomplete: u } = xt(), f = oe(rt, null), p = (a(f) ? f.value : f)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", m = me(l), g = d(null), { showLinkDialog: _, linkUrl: v, linkDialogRef: y, openLinkDialog: b, insertLink: x, removeLink: S, closeLinkDialog: C, handleLinkKeydown: w } = Nn(g), { start: T, stop: E } = Fe(() => g.value?.commands.focus("end"), 0, { immediate: !1 }), ee = d(null), D = h(!0), O = h(null), k = !1;
1357
+ let t = P(at, null), { mergeTags: r, canRequestMergeTag: i, isRequesting: o, requestMergeTag: c, syntax: l, autocomplete: u } = xt(), f = P(rt, null), p = (a(f) ? f.value : f)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", m = fe(l), g = d(null), { showLinkDialog: _, linkUrl: v, linkDialogRef: y, openLinkDialog: b, insertLink: x, removeLink: S, closeLinkDialog: C, handleLinkKeydown: w } = Nn(g), { start: T, stop: E } = Fe(() => g.value?.commands.focus("end"), 0, { immediate: !1 }), ee = d(null), D = h(!0), O = h(null), k = !1;
1358
1358
  async function te() {
1359
1359
  O.value = null, D.value = !0;
1360
1360
  try {
@@ -1463,7 +1463,7 @@ var Ln = { class: "tpl:w-full" }, Rn = {
1463
1463
  },
1464
1464
  emits: ["fetchData"],
1465
1465
  setup(t, { emit: n }) {
1466
- let r = t, i = n, { t: a } = ht(), o = oe(st, null), c = h(""), l = h(!1), d = x(() => o?.getDefinition(r.block.customType)), f = x(() => !!d.value), { isFetching: p, fetch: m, needsFetch: g, hasDataSource: v } = Nt({
1466
+ let r = t, i = n, { t: a } = ht(), o = P(st, null), c = h(""), l = h(!1), d = x(() => o?.getDefinition(r.block.customType)), f = x(() => !!d.value), { isFetching: p, fetch: m, needsFetch: g, hasDataSource: v } = Nt({
1467
1467
  definition: d,
1468
1468
  block: x(() => r.block),
1469
1469
  onUpdate: (e, t) => {
@@ -1489,7 +1489,7 @@ var Ln = { class: "tpl:w-full" }, Rn = {
1489
1489
  y();
1490
1490
  }), s(() => r.block.fieldValues, () => {
1491
1491
  S();
1492
- }, { deep: !0 }), (t, n) => (e(), w("div", Ln, [f.value ? l.value ? (e(), w("div", Bn, [N(j(vt), {
1492
+ }, { deep: !0 }), (t, n) => (e(), w("div", Ln, [f.value ? l.value ? (e(), w("div", Bn, [N(j(gt), {
1493
1493
  size: 24,
1494
1494
  class: "tpl:text-[var(--tpl-danger)]"
1495
1495
  }), C("span", Vn, M(j(a).customBlocks.renderError), 1)])) : (e(), w("div", Hn, [C("div", { innerHTML: c.value }, null, 8, Un), j(v) && j(g) ? (e(), w("div", Wn, [j(p) ? (e(), ne(yt, {
@@ -1540,7 +1540,7 @@ var Ln = { class: "tpl:w-full" }, Rn = {
1540
1540
  },
1541
1541
  setup(t) {
1542
1542
  let n = t, { t: r } = ht(), i = x(() => n.block.content.trim().length > 0);
1543
- return (t, n) => (e(), w("div", Jn, [C("div", Yn, [N(j(un), {
1543
+ return (t, n) => (e(), w("div", Jn, [C("div", Yn, [N(j(dn), {
1544
1544
  size: 24,
1545
1545
  class: "tpl:text-[var(--tpl-text-dim)]"
1546
1546
  }), i.value ? (e(), w("span", Xn, M(j(r).html.preview), 1)) : (e(), w("span", Zn, M(j(r).html.empty), 1))])]));
@@ -1559,7 +1559,7 @@ var Ln = { class: "tpl:w-full" }, Rn = {
1559
1559
  },
1560
1560
  emits: ["update"],
1561
1561
  setup(t, { emit: n }) {
1562
- let r = t, i = n, { t: a } = ht(), { syntax: o } = xt(), s = oe(Ue, null), c = x(() => !!s), l = St();
1562
+ let r = t, i = n, { t: a } = ht(), { syntax: o } = xt(), s = P(Ue, null), c = x(() => !!s), l = St();
1563
1563
  async function u() {
1564
1564
  let e = await s?.({ accept: ["images"] });
1565
1565
  if (l.alive && e) {
@@ -1576,7 +1576,7 @@ var Ln = { class: "tpl:w-full" }, Rn = {
1576
1576
  marginLeft: e === "center" || e === "right" ? "auto" : void 0,
1577
1577
  marginRight: e === "center" ? "auto" : void 0
1578
1578
  };
1579
- }), p = x(() => ge(r.block.src, o));
1579
+ }), p = x(() => De(r.block.src, o));
1580
1580
  return (n, r) => (e(), w("div", {
1581
1581
  class: "tpl:w-full",
1582
1582
  style: A(d.value)
@@ -1677,7 +1677,7 @@ var Ln = { class: "tpl:w-full" }, Rn = {
1677
1677
  })
1678
1678
  }, M(t.block.separator), 5)) : O("", !0)], 64))), 128))], 4)) : (e(), w("div", fr, [N(j(gn), { size: 16 }), C("span", null, M(j(r).menu.addLinks), 1)]))]));
1679
1679
  }
1680
- }), mr = new Set([
1680
+ }), mr = /* @__PURE__ */ new Set([
1681
1681
  "http",
1682
1682
  "https",
1683
1683
  "mailto",
@@ -1687,7 +1687,7 @@ var Ln = { class: "tpl:w-full" }, Rn = {
1687
1687
  "sms",
1688
1688
  "xmpp",
1689
1689
  "cid"
1690
- ]), hr = new Set([
1690
+ ]), hr = /* @__PURE__ */ new Set([
1691
1691
  "SCRIPT",
1692
1692
  "STYLE",
1693
1693
  "IFRAME",
@@ -1697,7 +1697,7 @@ var Ln = { class: "tpl:w-full" }, Rn = {
1697
1697
  "META",
1698
1698
  "BASE",
1699
1699
  "FORM"
1700
- ]), gr = new Set([
1700
+ ]), gr = /* @__PURE__ */ new Set([
1701
1701
  "href",
1702
1702
  "xlink:href",
1703
1703
  "formaction",
@@ -1749,7 +1749,7 @@ function yr(e) {
1749
1749
  //#endregion
1750
1750
  //#region src/composables/useEditableTextBlock.ts
1751
1751
  function br(e) {
1752
- let t = oe(mt, []), { syntax: n } = xt(), r = x(() => yr(we(ue(e(), t), n))), i = h(!1), a = h(null), { top: o, left: s } = Re(a), c = x(() => ({
1752
+ let t = P(mt, []), { syntax: n } = xt(), r = x(() => yr(le(Ce(e(), t), n))), i = h(!1), a = h(null), { top: o, left: s } = Re(a), c = x(() => ({
1753
1753
  top: o.value - 8,
1754
1754
  left: s.value
1755
1755
  }));
@@ -1777,7 +1777,7 @@ var xr = ["innerHTML"], Sr = /* @__PURE__ */ y({
1777
1777
  viewport: {}
1778
1778
  },
1779
1779
  setup(t) {
1780
- let n = t, r = ce(() => import("./ParagraphEditor-DmA9K7dx.js")), { isEditing: i, blockRef: a, toolbarPosition: o, resolvedContent: s, handleDoubleClick: c, handleEditorDone: l } = br(() => n.block.content);
1780
+ let n = t, r = se(() => import("./ParagraphEditor-BqRFV_Y-.js")), { isEditing: i, blockRef: a, toolbarPosition: o, resolvedContent: s, handleDoubleClick: c, handleEditorDone: l } = br(() => n.block.content);
1781
1781
  return (n, u) => (e(), w("div", {
1782
1782
  ref_key: "blockRef",
1783
1783
  ref: a,
@@ -1840,7 +1840,7 @@ var Tr = ["data-block-id", "data-block-type"], Er = ["aria-label"], Dr = [
1840
1840
  },
1841
1841
  emits: ["select"],
1842
1842
  setup(t, { emit: n }) {
1843
- let i = ce(() => import("./BlockIssueBadge-BF4sdsr4.js")), a = t, o = n, { t: s, format: c } = ht(), u = oe(dt, null), d = h(null), f = x(() => u?.liftedBlockId.value === a.block.id), p = x(() => f.value ? c(s.blockActions.dragLifted, { block: a.block.type }) : s.blockActions.drag);
1843
+ let i = se(() => import("./BlockIssueBadge-C-EPqWsh.js")), a = t, o = n, { t: s, format: c } = ht(), u = P(dt, null), d = h(null), f = x(() => u?.liftedBlockId.value === a.block.id), p = x(() => f.value ? c(s.blockActions.dragLifted, { block: a.block.type }) : s.blockActions.drag);
1844
1844
  async function m() {
1845
1845
  await r(), d.value?.focus();
1846
1846
  }
@@ -1866,7 +1866,7 @@ var Tr = ["data-block-id", "data-block-type"], Er = ["aria-label"], Dr = [
1866
1866
  let y = x(() => !a.viewport || !a.block.visibility ? !1 : a.block.visibility[a.viewport] === !1), S = x(() => a.previewMode === !0 && y.value), T = x(() => a.viewport ? {
1867
1867
  desktop: s.viewport.desktop,
1868
1868
  mobile: s.viewport.mobile
1869
- }[a.viewport] ?? a.viewport : ""), E = x(() => !!a.block.displayCondition), ee = oe(nt, null), D = oe(ut, null), k = oe(lt, {}), te = x(() => !!k.savedModules), ne = x(() => k.comments?.getBlockCount(a.block.id) ?? 0), re = x(() => {
1869
+ }[a.viewport] ?? a.viewport : ""), E = x(() => !!a.block.displayCondition), ee = P(nt, null), D = P(ut, null), k = P(lt, {}), te = x(() => !!k.savedModules), ne = x(() => k.comments?.getBlockCount(a.block.id) ?? 0), re = x(() => {
1870
1870
  let e = wr(a.block);
1871
1871
  return {
1872
1872
  padding: e.padding,
@@ -1879,13 +1879,13 @@ var Tr = ["data-block-id", "data-block-type"], Er = ["aria-label"], Dr = [
1879
1879
  function ae() {
1880
1880
  ee?.deleteBlock(a.block.id);
1881
1881
  }
1882
- function se() {
1882
+ function oe() {
1883
1883
  ee?.duplicateBlock(a.block);
1884
1884
  }
1885
- function le() {
1885
+ function ce() {
1886
1886
  k.savedModules?.openSaveDialog(a.block.id);
1887
1887
  }
1888
- function ue() {
1888
+ function le() {
1889
1889
  D?.toggleBlock(a.block.id);
1890
1890
  }
1891
1891
  return (n, r) => S.value ? O("", !0) : (e(), w("div", {
@@ -1923,8 +1923,8 @@ var Tr = ["data-block-id", "data-block-type"], Er = ["aria-label"], Dr = [
1923
1923
  class: "tpl-block-action-btn tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-sm tpl:border-none tpl:transition-colors tpl:duration-150",
1924
1924
  "aria-label": j(s).blockActions.duplicate,
1925
1925
  title: j(s).blockActions.duplicate,
1926
- onClick: b(se, ["stop"])
1927
- }, [N(j(dn), {
1926
+ onClick: b(oe, ["stop"])
1927
+ }, [N(j(fn), {
1928
1928
  size: 14,
1929
1929
  "stroke-width": 1.5
1930
1930
  })], 8, Or),
@@ -1933,8 +1933,8 @@ var Tr = ["data-block-id", "data-block-type"], Er = ["aria-label"], Dr = [
1933
1933
  class: "tpl-block-action-btn tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-sm tpl:border-none tpl:transition-colors tpl:duration-150",
1934
1934
  "aria-label": j(s).blockActions.saveAsModule,
1935
1935
  title: j(s).blockActions.saveAsModule,
1936
- onClick: b(le, ["stop"])
1937
- }, [N(j(cn), {
1936
+ onClick: b(ce, ["stop"])
1937
+ }, [N(j(ln), {
1938
1938
  size: 14,
1939
1939
  "stroke-width": 1.5
1940
1940
  })], 8, kr)) : O("", !0),
@@ -1943,12 +1943,12 @@ var Tr = ["data-block-id", "data-block-type"], Er = ["aria-label"], Dr = [
1943
1943
  "aria-label": j(s).blockActions.delete,
1944
1944
  title: j(s).blockActions.delete,
1945
1945
  onClick: b(ae, ["stop"])
1946
- }, [N(j(_t), {
1946
+ }, [N(j(vt), {
1947
1947
  size: 14,
1948
1948
  "stroke-width": 1.5
1949
1949
  })], 8, Ar)
1950
1950
  ], 8, Er)) : O("", !0),
1951
- y.value ? (e(), w("div", jr, [C("span", Mr, [N(j(fn), {
1951
+ y.value ? (e(), w("div", jr, [C("span", Mr, [N(j(pn), {
1952
1952
  size: 12,
1953
1953
  "stroke-width": 1.5
1954
1954
  }), _(" " + M(j(c)(j(s).blockActions.hiddenOnViewport, { viewport: T.value })), 1)])])) : O("", !0),
@@ -1956,8 +1956,8 @@ var Tr = ["data-block-id", "data-block-type"], Er = ["aria-label"], Dr = [
1956
1956
  class: "tpl-condition-toggle tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1 tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-bg-elevated)] tpl:text-[var(--tpl-primary)] tpl:border tpl:border-[var(--tpl-border)]",
1957
1957
  "aria-label": j(s).blockActions.conditionToggle,
1958
1958
  title: t.block.displayCondition?.label,
1959
- onClick: b(ue, ["stop"])
1960
- }, [N(j(pn), {
1959
+ onClick: b(le, ["stop"])
1960
+ }, [N(j(cn), {
1961
1961
  size: 12,
1962
1962
  "stroke-width": 2
1963
1963
  })], 8, Pr)])) : O("", !0),
@@ -1965,7 +1965,7 @@ var Tr = ["data-block-id", "data-block-type"], Er = ["aria-label"], Dr = [
1965
1965
  class: "tpl-comment-indicator tpl:flex tpl:min-h-6 tpl:min-w-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-0.5 tpl:rounded-full tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-semibold tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]",
1966
1966
  "aria-label": j(c)(j(s).blockActions.comments, { count: String(ne.value) }),
1967
1967
  onClick: r[0] ||= b((e) => j(k).comments?.openForBlock(t.block.id), ["stop"])
1968
- }, [N(j(gt), {
1968
+ }, [N(j(_t), {
1969
1969
  size: 12,
1970
1970
  "stroke-width": 2.5
1971
1971
  }), _(" " + M(ne.value), 1)], 8, Ir)])) : O("", !0),
@@ -1991,7 +1991,7 @@ var zr = /* @__PURE__ */ y({
1991
1991
  viewport: {}
1992
1992
  },
1993
1993
  setup(t) {
1994
- let n = t, r = ce(() => import("./TitleEditor-C9jDA5lI.js")), { isEditing: a, blockRef: o, toolbarPosition: s, resolvedContent: c, handleDoubleClick: l, handleEditorDone: u } = br(() => n.block.content), d = x(() => {
1994
+ let n = t, r = se(() => import("./TitleEditor-FMh54Cx5.js")), { isEditing: a, blockRef: o, toolbarPosition: s, resolvedContent: c, handleDoubleClick: l, handleEditorDone: u } = br(() => n.block.content), d = x(() => {
1995
1995
  let e = {
1996
1996
  fontSize: `${Ae[n.block.level]}px`,
1997
1997
  color: n.block.color,
@@ -2166,10 +2166,10 @@ var xi = bi(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Si = bi(/E
2166
2166
  capture: !1,
2167
2167
  passive: !1
2168
2168
  };
2169
- function F(e, t, n) {
2169
+ function I(e, t, n) {
2170
2170
  e.addEventListener(t, n, !xi && Di);
2171
2171
  }
2172
- function I(e, t, n) {
2172
+ function L(e, t, n) {
2173
2173
  e.removeEventListener(t, n, !xi && Di);
2174
2174
  }
2175
2175
  function Oi(e, t) {
@@ -2198,10 +2198,10 @@ function Ai(e, t, n, r) {
2198
2198
  return null;
2199
2199
  }
2200
2200
  var ji = /\s+/g;
2201
- function L(e, t, n) {
2201
+ function R(e, t, n) {
2202
2202
  e && t && (e.classList ? e.classList[n ? "add" : "remove"](t) : e.className = ((" " + e.className + " ").replace(ji, " ").replace(" " + t + " ", " ") + (n ? " " + t : "")).replace(ji, " "));
2203
2203
  }
2204
- function R(e, t, n) {
2204
+ function z(e, t, n) {
2205
2205
  var r = e && e.style;
2206
2206
  if (r) {
2207
2207
  if (n === void 0) return document.defaultView && document.defaultView.getComputedStyle ? n = document.defaultView.getComputedStyle(e, "") : e.currentStyle && (n = e.currentStyle), t === void 0 ? n : n[t];
@@ -2212,7 +2212,7 @@ function Mi(e, t) {
2212
2212
  var n = "";
2213
2213
  if (typeof e == "string") n = e;
2214
2214
  else do {
2215
- var r = R(e, "transform");
2215
+ var r = z(e, "transform");
2216
2216
  r && r !== "none" && (n = r + " " + n);
2217
2217
  } while (!t && (e = e.parentNode));
2218
2218
  var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
@@ -2229,13 +2229,13 @@ function Ni(e, t, n) {
2229
2229
  function Pi() {
2230
2230
  return document.scrollingElement || document.documentElement;
2231
2231
  }
2232
- function z(e, t, n, r, i) {
2232
+ function B(e, t, n, r, i) {
2233
2233
  if (!(!e.getBoundingClientRect && e !== window)) {
2234
2234
  var a, o, s, c, l, u, d;
2235
2235
  if (e !== window && e.parentNode && e !== Pi() ? (a = e.getBoundingClientRect(), o = a.top, s = a.left, c = a.bottom, l = a.right, u = a.height, d = a.width) : (o = 0, s = 0, c = window.innerHeight, l = window.innerWidth, u = window.innerHeight, d = window.innerWidth), (t || n) && e !== window && (i ||= e.parentNode, !xi)) do
2236
- if (i && i.getBoundingClientRect && (R(i, "transform") !== "none" || n && R(i, "position") !== "static")) {
2236
+ if (i && i.getBoundingClientRect && (z(i, "transform") !== "none" || n && z(i, "position") !== "static")) {
2237
2237
  var f = i.getBoundingClientRect();
2238
- o -= f.top + parseInt(R(i, "border-top-width")), s -= f.left + parseInt(R(i, "border-left-width")), c = o + a.height, l = s + a.width;
2238
+ o -= f.top + parseInt(z(i, "border-top-width")), s -= f.left + parseInt(z(i, "border-left-width")), c = o + a.height, l = s + a.width;
2239
2239
  break;
2240
2240
  }
2241
2241
  while (i = i.parentNode);
@@ -2254,11 +2254,11 @@ function z(e, t, n, r, i) {
2254
2254
  }
2255
2255
  }
2256
2256
  function Fi(e, t, n) {
2257
- for (var r = Bi(e, !0), i = z(e)[t]; r;) {
2258
- var a = z(r)[n], o = void 0;
2257
+ for (var r = Vi(e, !0), i = B(e)[t]; r;) {
2258
+ var a = B(r)[n], o = void 0;
2259
2259
  if (o = i >= a, !o) return r;
2260
2260
  if (r === Pi()) break;
2261
- r = Bi(r, !1);
2261
+ r = Vi(r, !1);
2262
2262
  }
2263
2263
  return !1;
2264
2264
  }
@@ -2273,16 +2273,16 @@ function Ii(e, t, n, r) {
2273
2273
  return null;
2274
2274
  }
2275
2275
  function Li(e, t) {
2276
- for (var n = e.lastElementChild; n && (n === Q.ghost || R(n, "display") === "none" || t && !Oi(n, t));) n = n.previousElementSibling;
2276
+ for (var n = e.lastElementChild; n && (n === Q.ghost || z(n, "display") === "none" || t && !Oi(n, t));) n = n.previousElementSibling;
2277
2277
  return n || null;
2278
2278
  }
2279
- function B(e, t) {
2279
+ function Ri(e, t) {
2280
2280
  var n = 0;
2281
2281
  if (!e || !e.parentNode) return -1;
2282
2282
  for (; e = e.previousElementSibling;) e.nodeName.toUpperCase() !== "TEMPLATE" && e !== Q.clone && (!t || Oi(e, t)) && n++;
2283
2283
  return n;
2284
2284
  }
2285
- function Ri(e) {
2285
+ function zi(e) {
2286
2286
  var t = 0, n = 0, r = Pi();
2287
2287
  if (e) do {
2288
2288
  var i = Mi(e), a = i.a, o = i.d;
@@ -2290,18 +2290,18 @@ function Ri(e) {
2290
2290
  } while (e !== r && (e = e.parentNode));
2291
2291
  return [t, n];
2292
2292
  }
2293
- function zi(e, t) {
2293
+ function Bi(e, t) {
2294
2294
  for (var n in e) if (e.hasOwnProperty(n)) {
2295
2295
  for (var r in t) if (t.hasOwnProperty(r) && t[r] === e[n][r]) return Number(n);
2296
2296
  }
2297
2297
  return -1;
2298
2298
  }
2299
- function Bi(e, t) {
2299
+ function Vi(e, t) {
2300
2300
  if (!e || !e.getBoundingClientRect) return Pi();
2301
2301
  var n = e, r = !1;
2302
2302
  do
2303
2303
  if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
2304
- var i = R(n);
2304
+ var i = z(n);
2305
2305
  if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
2306
2306
  if (!n.getBoundingClientRect || n === document.body) return Pi();
2307
2307
  if (r || t) return n;
@@ -2311,53 +2311,53 @@ function Bi(e, t) {
2311
2311
  while (n = n.parentNode);
2312
2312
  return Pi();
2313
2313
  }
2314
- function Vi(e, t) {
2314
+ function Hi(e, t) {
2315
2315
  if (e && t) for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
2316
2316
  return e;
2317
2317
  }
2318
- function Hi(e, t) {
2318
+ function Ui(e, t) {
2319
2319
  return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
2320
2320
  }
2321
- var Ui;
2322
- function Wi(e, t) {
2321
+ var Wi;
2322
+ function Gi(e, t) {
2323
2323
  return function() {
2324
- if (!Ui) {
2324
+ if (!Wi) {
2325
2325
  var n = arguments, r = this;
2326
- n.length === 1 ? e.call(r, n[0]) : e.apply(r, n), Ui = setTimeout(function() {
2327
- Ui = void 0;
2326
+ n.length === 1 ? e.call(r, n[0]) : e.apply(r, n), Wi = setTimeout(function() {
2327
+ Wi = void 0;
2328
2328
  }, t);
2329
2329
  }
2330
2330
  };
2331
2331
  }
2332
- function Gi() {
2333
- clearTimeout(Ui), Ui = void 0;
2332
+ function Ki() {
2333
+ clearTimeout(Wi), Wi = void 0;
2334
2334
  }
2335
- function Ki(e, t, n) {
2335
+ function qi(e, t, n) {
2336
2336
  e.scrollLeft += t, e.scrollTop += n;
2337
2337
  }
2338
- function qi(e) {
2338
+ function Ji(e) {
2339
2339
  var t = window.Polymer, n = window.jQuery || window.Zepto;
2340
2340
  return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
2341
2341
  }
2342
- function Ji(e, t, n) {
2342
+ function Yi(e, t, n) {
2343
2343
  var r = {};
2344
2344
  return Array.from(e.children).forEach(function(i) {
2345
2345
  if (!(!Ai(i, t.draggable, e, !1) || i.animated || i === n)) {
2346
- var a = z(i);
2346
+ var a = B(i);
2347
2347
  r.left = Math.min(r.left ?? Infinity, a.left), r.top = Math.min(r.top ?? Infinity, a.top), r.right = Math.max(r.right ?? -Infinity, a.right), r.bottom = Math.max(r.bottom ?? -Infinity, a.bottom);
2348
2348
  }
2349
2349
  }), r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
2350
2350
  }
2351
2351
  var V = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
2352
- function Yi() {
2352
+ function Xi() {
2353
2353
  var e = [], t;
2354
2354
  return {
2355
2355
  captureAnimationState: function() {
2356
2356
  e = [], this.options.animation && [].slice.call(this.el.children).forEach(function(t) {
2357
- if (!(R(t, "display") === "none" || t === Q.ghost)) {
2357
+ if (!(z(t, "display") === "none" || t === Q.ghost)) {
2358
2358
  e.push({
2359
2359
  target: t,
2360
- rect: z(t)
2360
+ rect: B(t)
2361
2361
  });
2362
2362
  var n = pi({}, e[e.length - 1].rect);
2363
2363
  if (t.thisAnimationDuration) {
@@ -2372,7 +2372,7 @@ function Yi() {
2372
2372
  e.push(t);
2373
2373
  },
2374
2374
  removeAnimationState: function(t) {
2375
- e.splice(zi(e, { target: t }), 1);
2375
+ e.splice(Bi(e, { target: t }), 1);
2376
2376
  },
2377
2377
  animateAll: function(n) {
2378
2378
  var r = this;
@@ -2382,8 +2382,8 @@ function Yi() {
2382
2382
  }
2383
2383
  var i = !1, a = 0;
2384
2384
  e.forEach(function(e) {
2385
- var t = 0, n = e.target, o = n.fromRect, s = z(n), c = n.prevFromRect, l = n.prevToRect, u = e.rect, d = Mi(n, !0);
2386
- d && (s.top -= d.f, s.left -= d.e), n.toRect = s, n.thisAnimationDuration && Hi(c, s) && !Hi(o, s) && (u.top - s.top) / (u.left - s.left) === (o.top - s.top) / (o.left - s.left) && (t = Zi(u, c, l, r.options)), Hi(s, o) || (n.prevFromRect = o, n.prevToRect = s, t ||= r.options.animation, r.animate(n, u, s, t)), t && (i = !0, a = Math.max(a, t), clearTimeout(n.animationResetTimer), n.animationResetTimer = setTimeout(function() {
2385
+ var t = 0, n = e.target, o = n.fromRect, s = B(n), c = n.prevFromRect, l = n.prevToRect, u = e.rect, d = Mi(n, !0);
2386
+ d && (s.top -= d.f, s.left -= d.e), n.toRect = s, n.thisAnimationDuration && Ui(c, s) && !Ui(o, s) && (u.top - s.top) / (u.left - s.left) === (o.top - s.top) / (o.left - s.left) && (t = Qi(u, c, l, r.options)), Ui(s, o) || (n.prevFromRect = o, n.prevToRect = s, t ||= r.options.animation, r.animate(n, u, s, t)), t && (i = !0, a = Math.max(a, t), clearTimeout(n.animationResetTimer), n.animationResetTimer = setTimeout(function() {
2387
2387
  n.animationTime = 0, n.prevFromRect = null, n.fromRect = null, n.prevToRect = null, n.thisAnimationDuration = null;
2388
2388
  }, t), n.thisAnimationDuration = t);
2389
2389
  }), clearTimeout(t), i ? t = setTimeout(function() {
@@ -2392,27 +2392,27 @@ function Yi() {
2392
2392
  },
2393
2393
  animate: function(e, t, n, r) {
2394
2394
  if (r) {
2395
- R(e, "transition", ""), R(e, "transform", "");
2395
+ z(e, "transition", ""), z(e, "transform", "");
2396
2396
  var i = Mi(this.el), a = i && i.a, o = i && i.d, s = (t.left - n.left) / (a || 1), c = (t.top - n.top) / (o || 1);
2397
- e.animatingX = !!s, e.animatingY = !!c, R(e, "transform", "translate3d(" + s + "px," + c + "px,0)"), this.forRepaintDummy = Xi(e), R(e, "transition", "transform " + r + "ms" + (this.options.easing ? " " + this.options.easing : "")), R(e, "transform", "translate3d(0,0,0)"), typeof e.animated == "number" && clearTimeout(e.animated), e.animated = setTimeout(function() {
2398
- R(e, "transition", ""), R(e, "transform", ""), e.animated = !1, e.animatingX = !1, e.animatingY = !1;
2397
+ e.animatingX = !!s, e.animatingY = !!c, z(e, "transform", "translate3d(" + s + "px," + c + "px,0)"), this.forRepaintDummy = Zi(e), z(e, "transition", "transform " + r + "ms" + (this.options.easing ? " " + this.options.easing : "")), z(e, "transform", "translate3d(0,0,0)"), typeof e.animated == "number" && clearTimeout(e.animated), e.animated = setTimeout(function() {
2398
+ z(e, "transition", ""), z(e, "transform", ""), e.animated = !1, e.animatingX = !1, e.animatingY = !1;
2399
2399
  }, r);
2400
2400
  }
2401
2401
  }
2402
2402
  };
2403
2403
  }
2404
- function Xi(e) {
2404
+ function Zi(e) {
2405
2405
  return e.offsetWidth;
2406
2406
  }
2407
- function Zi(e, t, n, r) {
2407
+ function Qi(e, t, n, r) {
2408
2408
  return Math.sqrt((t.top - e.top) ** 2 + (t.left - e.left) ** 2) / Math.sqrt((t.top - n.top) ** 2 + (t.left - n.left) ** 2) * r.animation;
2409
2409
  }
2410
- var Qi = [], $i = { initializeByDefault: !0 }, ea = {
2410
+ var $i = [], ea = { initializeByDefault: !0 }, ta = {
2411
2411
  mount: function(e) {
2412
- for (var t in $i) $i.hasOwnProperty(t) && !(t in e) && (e[t] = $i[t]);
2413
- Qi.forEach(function(t) {
2412
+ for (var t in ea) ea.hasOwnProperty(t) && !(t in e) && (e[t] = ea[t]);
2413
+ $i.forEach(function(t) {
2414
2414
  if (t.pluginName === e.pluginName) throw `Sortable: Cannot mount plugin ${e.pluginName} more than once`;
2415
- }), Qi.push(e);
2415
+ }), $i.push(e);
2416
2416
  },
2417
2417
  pluginEvent: function(e, t, n) {
2418
2418
  var r = this;
@@ -2420,12 +2420,12 @@ var Qi = [], $i = { initializeByDefault: !0 }, ea = {
2420
2420
  r.eventCanceled = !0;
2421
2421
  };
2422
2422
  var i = e + "Global";
2423
- Qi.forEach(function(r) {
2423
+ $i.forEach(function(r) {
2424
2424
  t[r.pluginName] && (t[r.pluginName][i] && t[r.pluginName][i](pi({ sortable: t }, n)), t.options[r.pluginName] && t[r.pluginName][e] && t[r.pluginName][e](pi({ sortable: t }, n)));
2425
2425
  });
2426
2426
  },
2427
2427
  initializePlugins: function(e, t, n, r) {
2428
- for (var i in Qi.forEach(function(r) {
2428
+ for (var i in $i.forEach(function(r) {
2429
2429
  var i = r.pluginName;
2430
2430
  if (!(!e.options[i] && !r.initializeByDefault)) {
2431
2431
  var a = new r(e, t, e.options);
@@ -2438,18 +2438,18 @@ var Qi = [], $i = { initializeByDefault: !0 }, ea = {
2438
2438
  },
2439
2439
  getEventProperties: function(e, t) {
2440
2440
  var n = {};
2441
- return Qi.forEach(function(r) {
2441
+ return $i.forEach(function(r) {
2442
2442
  typeof r.eventProperties == "function" && gi(n, r.eventProperties.call(t[r.pluginName], e));
2443
2443
  }), n;
2444
2444
  },
2445
2445
  modifyOption: function(e, t, n) {
2446
2446
  var r;
2447
- return Qi.forEach(function(i) {
2447
+ return $i.forEach(function(i) {
2448
2448
  e[i.pluginName] && i.optionListeners && typeof i.optionListeners[t] == "function" && (r = i.optionListeners[t].call(e[i.pluginName], n));
2449
2449
  }), r;
2450
2450
  }
2451
2451
  };
2452
- function ta(e) {
2452
+ function na(e) {
2453
2453
  var t = e.sortable, n = e.rootEl, r = e.name, i = e.targetEl, a = e.cloneEl, o = e.toEl, s = e.fromEl, c = e.oldIndex, l = e.newIndex, u = e.oldDraggableIndex, d = e.newDraggableIndex, f = e.originalEvent, p = e.putSortable, m = e.extraEventProperties;
2454
2454
  if (t ||= n && n[V], t) {
2455
2455
  var h, g = t.options, _ = "on" + r.charAt(0).toUpperCase() + r.substr(1);
@@ -2457,37 +2457,37 @@ function ta(e) {
2457
2457
  bubbles: !0,
2458
2458
  cancelable: !0
2459
2459
  }) : (h = document.createEvent("Event"), h.initEvent(r, !0, !0)), h.to = o || n, h.from = s || n, h.item = i || n, h.clone = a, h.oldIndex = c, h.newIndex = l, h.oldDraggableIndex = u, h.newDraggableIndex = d, h.originalEvent = f, h.pullMode = p ? p.lastPutMode : void 0;
2460
- var v = pi(pi({}, m), ea.getEventProperties(r, t));
2460
+ var v = pi(pi({}, m), ta.getEventProperties(r, t));
2461
2461
  for (var y in v) h[y] = v[y];
2462
2462
  n && n.dispatchEvent(h), g[_] && g[_].call(t, h);
2463
2463
  }
2464
2464
  }
2465
- var na = ["evt"], H = function(e, t) {
2466
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.evt, i = vi(n, na);
2467
- ea.pluginEvent.bind(Q)(e, t, pi({
2465
+ var ra = ["evt"], H = function(e, t) {
2466
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.evt, i = vi(n, ra);
2467
+ ta.pluginEvent.bind(Q)(e, t, pi({
2468
2468
  dragEl: W,
2469
2469
  parentEl: G,
2470
2470
  ghostEl: K,
2471
2471
  rootEl: q,
2472
- nextEl: ra,
2473
- lastDownEl: ia,
2472
+ nextEl: ia,
2473
+ lastDownEl: aa,
2474
2474
  cloneEl: J,
2475
- cloneHidden: aa,
2476
- dragStarted: ya,
2475
+ cloneHidden: oa,
2476
+ dragStarted: ba,
2477
2477
  putSortable: X,
2478
2478
  activeSortable: Q.active,
2479
2479
  originalEvent: r,
2480
- oldIndex: oa,
2481
- oldDraggableIndex: sa,
2480
+ oldIndex: sa,
2481
+ oldDraggableIndex: ca,
2482
2482
  newIndex: Y,
2483
- newDraggableIndex: ca,
2484
- hideGhostForTarget: La,
2485
- unhideGhostForTarget: Ra,
2483
+ newDraggableIndex: la,
2484
+ hideGhostForTarget: Ra,
2485
+ unhideGhostForTarget: za,
2486
2486
  cloneNowHidden: function() {
2487
- aa = !0;
2487
+ oa = !0;
2488
2488
  },
2489
2489
  cloneNowShown: function() {
2490
- aa = !1;
2490
+ oa = !1;
2491
2491
  },
2492
2492
  dispatchSortableEvent: function(e) {
2493
2493
  U({
@@ -2499,45 +2499,45 @@ var na = ["evt"], H = function(e, t) {
2499
2499
  }, i));
2500
2500
  };
2501
2501
  function U(e) {
2502
- ta(pi({
2502
+ na(pi({
2503
2503
  putSortable: X,
2504
2504
  cloneEl: J,
2505
2505
  targetEl: W,
2506
2506
  rootEl: q,
2507
- oldIndex: oa,
2508
- oldDraggableIndex: sa,
2507
+ oldIndex: sa,
2508
+ oldDraggableIndex: ca,
2509
2509
  newIndex: Y,
2510
- newDraggableIndex: ca
2510
+ newDraggableIndex: la
2511
2511
  }, e));
2512
2512
  }
2513
- var W, G, K, q, ra, ia, J, aa, oa, Y, sa, ca, la, X, ua = !1, da = !1, fa = [], pa, ma, ha, ga, _a, va, ya, ba, xa, Sa = !1, Ca = !1, wa, Z, Ta = [], Ea = !1, Da = [], Oa = typeof document < "u", ka = Ti, Aa = Si || xi ? "cssFloat" : "float", ja = Oa && !Ei && !Ti && "draggable" in document.createElement("div"), Ma = function() {
2514
- if (Oa) {
2513
+ var W, G, K, q, ia, aa, J, oa, sa, Y, ca, la, ua, X, da = !1, fa = !1, pa = [], ma, ha, ga, _a, va, ya, ba, xa, Sa, Ca = !1, wa = !1, Ta, Z, Ea = [], Da = !1, Oa = [], ka = typeof document < "u", Aa = Ti, ja = Si || xi ? "cssFloat" : "float", Ma = ka && !Ei && !Ti && "draggable" in document.createElement("div"), Na = function() {
2514
+ if (ka) {
2515
2515
  if (xi) return !1;
2516
2516
  var e = document.createElement("x");
2517
2517
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
2518
2518
  }
2519
- }(), Na = function(e, t) {
2520
- var n = R(e), r = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), i = Ii(e, 0, t), a = Ii(e, 1, t), o = i && R(i), s = a && R(a), c = o && parseInt(o.marginLeft) + parseInt(o.marginRight) + z(i).width, l = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + z(a).width;
2519
+ }(), Pa = function(e, t) {
2520
+ var n = z(e), r = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), i = Ii(e, 0, t), a = Ii(e, 1, t), o = i && z(i), s = a && z(a), c = o && parseInt(o.marginLeft) + parseInt(o.marginRight) + B(i).width, l = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + B(a).width;
2521
2521
  if (n.display === "flex") return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
2522
2522
  if (n.display === "grid") return n.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
2523
2523
  if (i && o.float && o.float !== "none") {
2524
2524
  var u = o.float === "left" ? "left" : "right";
2525
2525
  return a && (s.clear === "both" || s.clear === u) ? "vertical" : "horizontal";
2526
2526
  }
2527
- return i && (o.display === "block" || o.display === "flex" || o.display === "table" || o.display === "grid" || c >= r && n[Aa] === "none" || a && n[Aa] === "none" && c + l > r) ? "vertical" : "horizontal";
2528
- }, Pa = function(e, t, n) {
2527
+ return i && (o.display === "block" || o.display === "flex" || o.display === "table" || o.display === "grid" || c >= r && n[ja] === "none" || a && n[ja] === "none" && c + l > r) ? "vertical" : "horizontal";
2528
+ }, Fa = function(e, t, n) {
2529
2529
  var r = n ? e.left : e.top, i = n ? e.right : e.bottom, a = n ? e.width : e.height, o = n ? t.left : t.top, s = n ? t.right : t.bottom, c = n ? t.width : t.height;
2530
2530
  return r === o || i === s || r + a / 2 === o + c / 2;
2531
- }, Fa = function(e, t) {
2531
+ }, Ia = function(e, t) {
2532
2532
  var n;
2533
- return fa.some(function(r) {
2533
+ return pa.some(function(r) {
2534
2534
  var i = r[V].options.emptyInsertThreshold;
2535
2535
  if (!(!i || Li(r))) {
2536
- var a = z(r), o = e >= a.left - i && e <= a.right + i, s = t >= a.top - i && t <= a.bottom + i;
2536
+ var a = B(r), o = e >= a.left - i && e <= a.right + i, s = t >= a.top - i && t <= a.bottom + i;
2537
2537
  if (o && s) return n = r;
2538
2538
  }
2539
2539
  }), n;
2540
- }, Ia = function(e) {
2540
+ }, La = function(e) {
2541
2541
  function t(e, n) {
2542
2542
  return function(r, i, a, o) {
2543
2543
  var s = r.options.group.name && i.options.group.name && r.options.group.name === i.options.group.name;
@@ -2551,25 +2551,25 @@ var W, G, K, q, ra, ia, J, aa, oa, Y, sa, ca, la, X, ua = !1, da = !1, fa = [],
2551
2551
  }
2552
2552
  var n = {}, r = e.group;
2553
2553
  (!r || mi(r) != "object") && (r = { name: r }), n.name = r.name, n.checkPull = t(r.pull, !0), n.checkPut = t(r.put), n.revertClone = r.revertClone, e.group = n;
2554
- }, La = function() {
2555
- !Ma && K && R(K, "display", "none");
2556
2554
  }, Ra = function() {
2557
- !Ma && K && R(K, "display", "");
2555
+ !Na && K && z(K, "display", "none");
2556
+ }, za = function() {
2557
+ !Na && K && z(K, "display", "");
2558
2558
  };
2559
- Oa && !Ei && document.addEventListener("click", function(e) {
2560
- if (da) return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), da = !1, !1;
2559
+ ka && !Ei && document.addEventListener("click", function(e) {
2560
+ if (fa) return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), fa = !1, !1;
2561
2561
  }, !0);
2562
- var za = function(e) {
2562
+ var Ba = function(e) {
2563
2563
  if (W) {
2564
2564
  e = e.touches ? e.touches[0] : e;
2565
- var t = Fa(e.clientX, e.clientY);
2565
+ var t = Ia(e.clientX, e.clientY);
2566
2566
  if (t) {
2567
2567
  var n = {};
2568
2568
  for (var r in e) e.hasOwnProperty(r) && (n[r] = e[r]);
2569
2569
  n.target = n.rootEl = t, n.preventDefault = void 0, n.stopPropagation = void 0, t[V]._onDragOver(n);
2570
2570
  }
2571
2571
  }
2572
- }, Ba = function(e) {
2572
+ }, Va = function(e) {
2573
2573
  W && W.parentNode[V]._isOutsideThisEl(e.target);
2574
2574
  };
2575
2575
  function Q(e, t) {
@@ -2587,7 +2587,7 @@ function Q(e, t) {
2587
2587
  invertedSwapThreshold: null,
2588
2588
  removeCloneOnHide: !0,
2589
2589
  direction: function() {
2590
- return Na(e, this.options);
2590
+ return Pa(e, this.options);
2591
2591
  },
2592
2592
  ghostClass: "sortable-ghost",
2593
2593
  chosenClass: "sortable-chosen",
@@ -2617,14 +2617,14 @@ function Q(e, t) {
2617
2617
  supportPointer: Q.supportPointer !== !1 && "PointerEvent" in window && !wi,
2618
2618
  emptyInsertThreshold: 5
2619
2619
  };
2620
- for (var r in ea.initializePlugins(this, e, n), n) !(r in t) && (t[r] = n[r]);
2621
- for (var i in Ia(t), this) i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
2622
- this.nativeDraggable = t.forceFallback ? !1 : ja, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? F(e, "pointerdown", this._onTapStart) : (F(e, "mousedown", this._onTapStart), F(e, "touchstart", this._onTapStart)), this.nativeDraggable && (F(e, "dragover", this), F(e, "dragenter", this)), fa.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), gi(this, Yi());
2620
+ for (var r in ta.initializePlugins(this, e, n), n) !(r in t) && (t[r] = n[r]);
2621
+ for (var i in La(t), this) i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
2622
+ this.nativeDraggable = t.forceFallback ? !1 : Ma, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? I(e, "pointerdown", this._onTapStart) : (I(e, "mousedown", this._onTapStart), I(e, "touchstart", this._onTapStart)), this.nativeDraggable && (I(e, "dragover", this), I(e, "dragenter", this)), pa.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), gi(this, Xi());
2623
2623
  }
2624
2624
  Q.prototype = {
2625
2625
  constructor: Q,
2626
2626
  _isOutsideThisEl: function(e) {
2627
- !this.el.contains(e) && e !== this.el && (ba = null);
2627
+ !this.el.contains(e) && e !== this.el && (xa = null);
2628
2628
  },
2629
2629
  _getDirection: function(e, t) {
2630
2630
  return typeof this.options.direction == "function" ? this.options.direction.call(this, e, t, W) : this.options.direction;
@@ -2632,8 +2632,8 @@ Q.prototype = {
2632
2632
  _onTapStart: function(e) {
2633
2633
  if (e.cancelable) {
2634
2634
  var t = this, n = this.el, r = this.options, i = r.preventOnFilter, a = e.type, o = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (o || e).target, c = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, l = r.filter;
2635
- if (Xa(n), !W && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || r.disabled) && !c.isContentEditable && !(!this.nativeDraggable && wi && s && s.tagName.toUpperCase() === "SELECT") && (s = Ai(s, r.draggable, n, !1), !(s && s.animated) && ia !== s)) {
2636
- if (oa = B(s), sa = B(s, r.draggable), typeof l == "function") {
2635
+ if (Za(n), !W && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || r.disabled) && !c.isContentEditable && !(!this.nativeDraggable && wi && s && s.tagName.toUpperCase() === "SELECT") && (s = Ai(s, r.draggable, n, !1), !(s && s.animated) && aa !== s)) {
2636
+ if (sa = Ri(s), ca = Ri(s, r.draggable), typeof l == "function") {
2637
2637
  if (l.call(this, e, s, this)) {
2638
2638
  U({
2639
2639
  sortable: t,
@@ -2665,12 +2665,12 @@ Q.prototype = {
2665
2665
  _prepareDragStart: function(e, t, n) {
2666
2666
  var r = this, i = r.el, a = r.options, o = i.ownerDocument, s;
2667
2667
  if (n && !W && n.parentNode === i) {
2668
- var c = z(n);
2669
- if (q = i, W = n, G = W.parentNode, ra = W.nextSibling, ia = n, la = a.group, Q.dragged = W, pa = {
2668
+ var c = B(n);
2669
+ if (q = i, W = n, G = W.parentNode, ia = W.nextSibling, aa = n, ua = a.group, Q.dragged = W, ma = {
2670
2670
  target: W,
2671
2671
  clientX: (t || e).clientX,
2672
2672
  clientY: (t || e).clientY
2673
- }, _a = pa.clientX - c.left, va = pa.clientY - c.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, W.style["will-change"] = "all", s = function() {
2673
+ }, va = ma.clientX - c.left, ya = ma.clientY - c.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, W.style["will-change"] = "all", s = function() {
2674
2674
  if (H("delayEnded", r, { evt: e }), Q.eventCanceled) {
2675
2675
  r._onDrop();
2676
2676
  return;
@@ -2679,15 +2679,15 @@ Q.prototype = {
2679
2679
  sortable: r,
2680
2680
  name: "choose",
2681
2681
  originalEvent: e
2682
- }), L(W, a.chosenClass, !0);
2682
+ }), R(W, a.chosenClass, !0);
2683
2683
  }, a.ignore.split(",").forEach(function(e) {
2684
- Ni(W, e.trim(), Ua);
2685
- }), F(o, "dragover", za), F(o, "mousemove", za), F(o, "touchmove", za), F(o, "mouseup", r._onDrop), F(o, "touchend", r._onDrop), F(o, "touchcancel", r._onDrop), Ci && this.nativeDraggable && (this.options.touchStartThreshold = 4, W.draggable = !0), H("delayStart", this, { evt: e }), a.delay && (!a.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Si || xi))) {
2684
+ Ni(W, e.trim(), Wa);
2685
+ }), I(o, "dragover", Ba), I(o, "mousemove", Ba), I(o, "touchmove", Ba), I(o, "mouseup", r._onDrop), I(o, "touchend", r._onDrop), I(o, "touchcancel", r._onDrop), Ci && this.nativeDraggable && (this.options.touchStartThreshold = 4, W.draggable = !0), H("delayStart", this, { evt: e }), a.delay && (!a.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Si || xi))) {
2686
2686
  if (Q.eventCanceled) {
2687
2687
  this._onDrop();
2688
2688
  return;
2689
2689
  }
2690
- F(o, "mouseup", r._disableDelayedDrag), F(o, "touchend", r._disableDelayedDrag), F(o, "touchcancel", r._disableDelayedDrag), F(o, "mousemove", r._delayedDragTouchMoveHandler), F(o, "touchmove", r._delayedDragTouchMoveHandler), a.supportPointer && F(o, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(s, a.delay);
2690
+ I(o, "mouseup", r._disableDelayedDrag), I(o, "touchend", r._disableDelayedDrag), I(o, "touchcancel", r._disableDelayedDrag), I(o, "mousemove", r._delayedDragTouchMoveHandler), I(o, "touchmove", r._delayedDragTouchMoveHandler), a.supportPointer && I(o, "pointermove", r._delayedDragTouchMoveHandler), r._dragStartTimer = setTimeout(s, a.delay);
2691
2691
  } else s();
2692
2692
  }
2693
2693
  },
@@ -2696,25 +2696,25 @@ Q.prototype = {
2696
2696
  Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
2697
2697
  },
2698
2698
  _disableDelayedDrag: function() {
2699
- W && Ua(W), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
2699
+ W && Wa(W), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
2700
2700
  },
2701
2701
  _disableDelayedDragEvents: function() {
2702
2702
  var e = this.el.ownerDocument;
2703
- I(e, "mouseup", this._disableDelayedDrag), I(e, "touchend", this._disableDelayedDrag), I(e, "touchcancel", this._disableDelayedDrag), I(e, "mousemove", this._delayedDragTouchMoveHandler), I(e, "touchmove", this._delayedDragTouchMoveHandler), I(e, "pointermove", this._delayedDragTouchMoveHandler);
2703
+ L(e, "mouseup", this._disableDelayedDrag), L(e, "touchend", this._disableDelayedDrag), L(e, "touchcancel", this._disableDelayedDrag), L(e, "mousemove", this._delayedDragTouchMoveHandler), L(e, "touchmove", this._delayedDragTouchMoveHandler), L(e, "pointermove", this._delayedDragTouchMoveHandler);
2704
2704
  },
2705
2705
  _triggerDragStart: function(e, t) {
2706
- t ||= e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? F(document, "pointermove", this._onTouchMove) : t ? F(document, "touchmove", this._onTouchMove) : F(document, "mousemove", this._onTouchMove) : (F(W, "dragend", this), F(q, "dragstart", this._onDragStart));
2706
+ t ||= e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? I(document, "pointermove", this._onTouchMove) : t ? I(document, "touchmove", this._onTouchMove) : I(document, "mousemove", this._onTouchMove) : (I(W, "dragend", this), I(q, "dragstart", this._onDragStart));
2707
2707
  try {
2708
- document.selection ? Za(function() {
2708
+ document.selection ? Qa(function() {
2709
2709
  document.selection.empty();
2710
2710
  }) : window.getSelection().removeAllRanges();
2711
2711
  } catch {}
2712
2712
  },
2713
2713
  _dragStarted: function(e, t) {
2714
- if (ua = !1, q && W) {
2715
- H("dragStarted", this, { evt: t }), this.nativeDraggable && F(document, "dragover", Ba);
2714
+ if (da = !1, q && W) {
2715
+ H("dragStarted", this, { evt: t }), this.nativeDraggable && I(document, "dragover", Va);
2716
2716
  var n = this.options;
2717
- !e && L(W, n.dragClass, !1), L(W, n.ghostClass, !0), Q.active = this, e && this._appendGhost(), U({
2717
+ !e && R(W, n.dragClass, !1), R(W, n.ghostClass, !0), Q.active = this, e && this._appendGhost(), U({
2718
2718
  sortable: this,
2719
2719
  name: "start",
2720
2720
  originalEvent: t
@@ -2722,33 +2722,33 @@ Q.prototype = {
2722
2722
  } else this._nulling();
2723
2723
  },
2724
2724
  _emulateDragOver: function() {
2725
- if (ma) {
2726
- this._lastX = ma.clientX, this._lastY = ma.clientY, La();
2727
- for (var e = document.elementFromPoint(ma.clientX, ma.clientY), t = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(ma.clientX, ma.clientY), e !== t);) t = e;
2725
+ if (ha) {
2726
+ this._lastX = ha.clientX, this._lastY = ha.clientY, Ra();
2727
+ for (var e = document.elementFromPoint(ha.clientX, ha.clientY), t = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(ha.clientX, ha.clientY), e !== t);) t = e;
2728
2728
  if (W.parentNode[V]._isOutsideThisEl(e), t) do {
2729
2729
  if (t[V]) {
2730
2730
  var n = void 0;
2731
2731
  if (n = t[V]._onDragOver({
2732
- clientX: ma.clientX,
2733
- clientY: ma.clientY,
2732
+ clientX: ha.clientX,
2733
+ clientY: ha.clientY,
2734
2734
  target: e,
2735
2735
  rootEl: t
2736
2736
  }), n && !this.options.dragoverBubble) break;
2737
2737
  }
2738
2738
  e = t;
2739
2739
  } while (t = t.parentNode);
2740
- Ra();
2740
+ za();
2741
2741
  }
2742
2742
  },
2743
2743
  _onTouchMove: function(e) {
2744
- if (pa) {
2745
- var t = this.options, n = t.fallbackTolerance, r = t.fallbackOffset, i = e.touches ? e.touches[0] : e, a = K && Mi(K, !0), o = K && a && a.a, s = K && a && a.d, c = ka && Z && Ri(Z), l = (i.clientX - pa.clientX + r.x) / (o || 1) + (c ? c[0] - Ta[0] : 0) / (o || 1), u = (i.clientY - pa.clientY + r.y) / (s || 1) + (c ? c[1] - Ta[1] : 0) / (s || 1);
2746
- if (!Q.active && !ua) {
2744
+ if (ma) {
2745
+ var t = this.options, n = t.fallbackTolerance, r = t.fallbackOffset, i = e.touches ? e.touches[0] : e, a = K && Mi(K, !0), o = K && a && a.a, s = K && a && a.d, c = Aa && Z && zi(Z), l = (i.clientX - ma.clientX + r.x) / (o || 1) + (c ? c[0] - Ea[0] : 0) / (o || 1), u = (i.clientY - ma.clientY + r.y) / (s || 1) + (c ? c[1] - Ea[1] : 0) / (s || 1);
2746
+ if (!Q.active && !da) {
2747
2747
  if (n && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < n) return;
2748
2748
  this._onDragStart(e, !0);
2749
2749
  }
2750
2750
  if (K) {
2751
- a ? (a.e += l - (ha || 0), a.f += u - (ga || 0)) : a = {
2751
+ a ? (a.e += l - (ga || 0), a.f += u - (_a || 0)) : a = {
2752
2752
  a: 1,
2753
2753
  b: 0,
2754
2754
  c: 0,
@@ -2757,19 +2757,19 @@ Q.prototype = {
2757
2757
  f: u
2758
2758
  };
2759
2759
  var d = `matrix(${a.a},${a.b},${a.c},${a.d},${a.e},${a.f})`;
2760
- R(K, "webkitTransform", d), R(K, "mozTransform", d), R(K, "msTransform", d), R(K, "transform", d), ha = l, ga = u, ma = i;
2760
+ z(K, "webkitTransform", d), z(K, "mozTransform", d), z(K, "msTransform", d), z(K, "transform", d), ga = l, _a = u, ha = i;
2761
2761
  }
2762
2762
  e.cancelable && e.preventDefault();
2763
2763
  }
2764
2764
  },
2765
2765
  _appendGhost: function() {
2766
2766
  if (!K) {
2767
- var e = this.options.fallbackOnBody ? document.body : q, t = z(W, !0, ka, !0, e), n = this.options;
2768
- if (ka) {
2769
- for (Z = e; R(Z, "position") === "static" && R(Z, "transform") === "none" && Z !== document;) Z = Z.parentNode;
2770
- Z !== document.body && Z !== document.documentElement ? (Z === document && (Z = Pi()), t.top += Z.scrollTop, t.left += Z.scrollLeft) : Z = Pi(), Ta = Ri(Z);
2767
+ var e = this.options.fallbackOnBody ? document.body : q, t = B(W, !0, Aa, !0, e), n = this.options;
2768
+ if (Aa) {
2769
+ for (Z = e; z(Z, "position") === "static" && z(Z, "transform") === "none" && Z !== document;) Z = Z.parentNode;
2770
+ Z !== document.body && Z !== document.documentElement ? (Z === document && (Z = Pi()), t.top += Z.scrollTop, t.left += Z.scrollLeft) : Z = Pi(), Ea = zi(Z);
2771
2771
  }
2772
- K = W.cloneNode(!0), L(K, n.ghostClass, !1), L(K, n.fallbackClass, !0), L(K, n.dragClass, !0), R(K, "transition", ""), R(K, "transform", ""), R(K, "box-sizing", "border-box"), R(K, "margin", 0), R(K, "top", t.top), R(K, "left", t.left), R(K, "width", t.width), R(K, "height", t.height), R(K, "opacity", "0.8"), R(K, "position", ka ? "absolute" : "fixed"), R(K, "zIndex", "100000"), R(K, "pointerEvents", "none"), Q.ghost = K, e.appendChild(K), R(K, "transform-origin", _a / parseInt(K.style.width) * 100 + "% " + va / parseInt(K.style.height) * 100 + "%");
2772
+ K = W.cloneNode(!0), R(K, n.ghostClass, !1), R(K, n.fallbackClass, !0), R(K, n.dragClass, !0), z(K, "transition", ""), z(K, "transform", ""), z(K, "box-sizing", "border-box"), z(K, "margin", 0), z(K, "top", t.top), z(K, "left", t.left), z(K, "width", t.width), z(K, "height", t.height), z(K, "opacity", "0.8"), z(K, "position", Aa ? "absolute" : "fixed"), z(K, "zIndex", "100000"), z(K, "pointerEvents", "none"), Q.ghost = K, e.appendChild(K), z(K, "transform-origin", va / parseInt(K.style.width) * 100 + "% " + ya / parseInt(K.style.height) * 100 + "%");
2773
2773
  }
2774
2774
  },
2775
2775
  _onDragStart: function(e, t) {
@@ -2778,16 +2778,16 @@ Q.prototype = {
2778
2778
  this._onDrop();
2779
2779
  return;
2780
2780
  }
2781
- H("setupClone", this), Q.eventCanceled || (J = qi(W), J.removeAttribute("id"), J.draggable = !1, J.style["will-change"] = "", this._hideClone(), L(J, this.options.chosenClass, !1), Q.clone = J), n.cloneId = Za(function() {
2781
+ H("setupClone", this), Q.eventCanceled || (J = Ji(W), J.removeAttribute("id"), J.draggable = !1, J.style["will-change"] = "", this._hideClone(), R(J, this.options.chosenClass, !1), Q.clone = J), n.cloneId = Qa(function() {
2782
2782
  H("clone", n), !Q.eventCanceled && (n.options.removeCloneOnHide || q.insertBefore(J, W), n._hideClone(), U({
2783
2783
  sortable: n,
2784
2784
  name: "clone"
2785
2785
  }));
2786
- }), !t && L(W, i.dragClass, !0), t ? (da = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (I(document, "mouseup", n._onDrop), I(document, "touchend", n._onDrop), I(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(n, r, W)), F(document, "drop", n), R(W, "transform", "translateZ(0)")), ua = !0, n._dragStartId = Za(n._dragStarted.bind(n, t, e)), F(document, "selectstart", n), ya = !0, wi && R(document.body, "user-select", "none");
2786
+ }), !t && R(W, i.dragClass, !0), t ? (fa = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (L(document, "mouseup", n._onDrop), L(document, "touchend", n._onDrop), L(document, "touchcancel", n._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(n, r, W)), I(document, "drop", n), z(W, "transform", "translateZ(0)")), da = !0, n._dragStartId = Qa(n._dragStarted.bind(n, t, e)), I(document, "selectstart", n), ba = !0, wi && z(document.body, "user-select", "none");
2787
2787
  },
2788
2788
  _onDragOver: function(e) {
2789
- var t = this.el, n = e.target, r, i, a, o = this.options, s = o.group, c = Q.active, l = la === s, u = o.sort, d = X || c, f, p = this, m = !1;
2790
- if (Ea) return;
2789
+ var t = this.el, n = e.target, r, i, a, o = this.options, s = o.group, c = Q.active, l = ua === s, u = o.sort, d = X || c, f, p = this, m = !1;
2790
+ if (Da) return;
2791
2791
  function h(o, s) {
2792
2792
  H(o, p, pi({
2793
2793
  evt: e,
@@ -2801,7 +2801,7 @@ Q.prototype = {
2801
2801
  target: n,
2802
2802
  completed: _,
2803
2803
  onMove: function(n, i) {
2804
- return Ha(q, t, W, r, n, z(n), e, i);
2804
+ return Ua(q, t, W, r, n, B(n), e, i);
2805
2805
  },
2806
2806
  changed: v
2807
2807
  }, s));
@@ -2810,50 +2810,50 @@ Q.prototype = {
2810
2810
  h("dragOverAnimationCapture"), p.captureAnimationState(), p !== d && d.captureAnimationState();
2811
2811
  }
2812
2812
  function _(r) {
2813
- return h("dragOverCompleted", { insertion: r }), r && (l ? c._hideClone() : c._showClone(p), p !== d && (L(W, X ? X.options.ghostClass : c.options.ghostClass, !1), L(W, o.ghostClass, !0)), X !== p && p !== Q.active ? X = p : p === Q.active && X && (X = null), d === p && (p._ignoreWhileAnimating = n), p.animateAll(function() {
2813
+ return h("dragOverCompleted", { insertion: r }), r && (l ? c._hideClone() : c._showClone(p), p !== d && (R(W, X ? X.options.ghostClass : c.options.ghostClass, !1), R(W, o.ghostClass, !0)), X !== p && p !== Q.active ? X = p : p === Q.active && X && (X = null), d === p && (p._ignoreWhileAnimating = n), p.animateAll(function() {
2814
2814
  h("dragOverAnimationComplete"), p._ignoreWhileAnimating = null;
2815
- }), p !== d && (d.animateAll(), d._ignoreWhileAnimating = null)), (n === W && !W.animated || n === t && !n.animated) && (ba = null), !o.dragoverBubble && !e.rootEl && n !== document && (W.parentNode[V]._isOutsideThisEl(e.target), !r && za(e)), !o.dragoverBubble && e.stopPropagation && e.stopPropagation(), m = !0;
2815
+ }), p !== d && (d.animateAll(), d._ignoreWhileAnimating = null)), (n === W && !W.animated || n === t && !n.animated) && (xa = null), !o.dragoverBubble && !e.rootEl && n !== document && (W.parentNode[V]._isOutsideThisEl(e.target), !r && Ba(e)), !o.dragoverBubble && e.stopPropagation && e.stopPropagation(), m = !0;
2816
2816
  }
2817
2817
  function v() {
2818
- Y = B(W), ca = B(W, o.draggable), U({
2818
+ Y = Ri(W), la = Ri(W, o.draggable), U({
2819
2819
  sortable: p,
2820
2820
  name: "change",
2821
2821
  toEl: t,
2822
2822
  newIndex: Y,
2823
- newDraggableIndex: ca,
2823
+ newDraggableIndex: la,
2824
2824
  originalEvent: e
2825
2825
  });
2826
2826
  }
2827
2827
  if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = Ai(n, o.draggable, t, !0), h("dragOver"), Q.eventCanceled) return m;
2828
2828
  if (W.contains(e.target) || n.animated && n.animatingX && n.animatingY || p._ignoreWhileAnimating === n) return _(!1);
2829
- if (da = !1, c && !o.disabled && (l ? u || (a = G !== q) : X === this || (this.lastPutMode = la.checkPull(this, c, W, e)) && s.checkPut(this, c, W, e))) {
2830
- if (f = this._getDirection(e, n) === "vertical", r = z(W), h("dragOverValid"), Q.eventCanceled) return m;
2831
- if (a) return G = q, g(), this._hideClone(), h("revert"), Q.eventCanceled || (ra ? q.insertBefore(W, ra) : q.appendChild(W)), _(!0);
2829
+ if (fa = !1, c && !o.disabled && (l ? u || (a = G !== q) : X === this || (this.lastPutMode = ua.checkPull(this, c, W, e)) && s.checkPut(this, c, W, e))) {
2830
+ if (f = this._getDirection(e, n) === "vertical", r = B(W), h("dragOverValid"), Q.eventCanceled) return m;
2831
+ if (a) return G = q, g(), this._hideClone(), h("revert"), Q.eventCanceled || (ia ? q.insertBefore(W, ia) : q.appendChild(W)), _(!0);
2832
2832
  var y = Li(t, o.draggable);
2833
- if (!y || Ka(e, f, this) && !y.animated) {
2833
+ if (!y || qa(e, f, this) && !y.animated) {
2834
2834
  if (y === W) return _(!1);
2835
- if (y && t === e.target && (n = y), n && (i = z(n)), Ha(q, t, W, r, n, i, e, !!n) !== !1) return g(), y && y.nextSibling ? t.insertBefore(W, y.nextSibling) : t.appendChild(W), G = t, v(), _(!0);
2836
- } else if (y && Ga(e, f, this)) {
2835
+ if (y && t === e.target && (n = y), n && (i = B(n)), Ua(q, t, W, r, n, i, e, !!n) !== !1) return g(), y && y.nextSibling ? t.insertBefore(W, y.nextSibling) : t.appendChild(W), G = t, v(), _(!0);
2836
+ } else if (y && Ka(e, f, this)) {
2837
2837
  var b = Ii(t, 0, o, !0);
2838
2838
  if (b === W) return _(!1);
2839
- if (n = b, i = z(n), Ha(q, t, W, r, n, i, e, !1) !== !1) return g(), t.insertBefore(W, b), G = t, v(), _(!0);
2839
+ if (n = b, i = B(n), Ua(q, t, W, r, n, i, e, !1) !== !1) return g(), t.insertBefore(W, b), G = t, v(), _(!0);
2840
2840
  } else if (n.parentNode === t) {
2841
- i = z(n);
2842
- var x = 0, S, C = W.parentNode !== t, w = !Pa(W.animated && W.toRect || r, n.animated && n.toRect || i, f), T = f ? "top" : "left", E = Fi(n, "top", "top") || Fi(W, "top", "top"), ee = E ? E.scrollTop : void 0;
2843
- ba !== n && (S = i[T], Sa = !1, Ca = !w && o.invertSwap || C), x = qa(e, n, i, f, w ? 1 : o.swapThreshold, o.invertedSwapThreshold == null ? o.swapThreshold : o.invertedSwapThreshold, Ca, ba === n);
2841
+ i = B(n);
2842
+ var x = 0, S, C = W.parentNode !== t, w = !Fa(W.animated && W.toRect || r, n.animated && n.toRect || i, f), T = f ? "top" : "left", E = Fi(n, "top", "top") || Fi(W, "top", "top"), ee = E ? E.scrollTop : void 0;
2843
+ xa !== n && (S = i[T], Ca = !1, wa = !w && o.invertSwap || C), x = Ja(e, n, i, f, w ? 1 : o.swapThreshold, o.invertedSwapThreshold == null ? o.swapThreshold : o.invertedSwapThreshold, wa, xa === n);
2844
2844
  var D;
2845
2845
  if (x !== 0) {
2846
- var O = B(W);
2846
+ var O = Ri(W);
2847
2847
  do
2848
2848
  O -= x, D = G.children[O];
2849
- while (D && (R(D, "display") === "none" || D === K));
2849
+ while (D && (z(D, "display") === "none" || D === K));
2850
2850
  }
2851
2851
  if (x === 0 || D === n) return _(!1);
2852
- ba = n, xa = x;
2852
+ xa = n, Sa = x;
2853
2853
  var k = n.nextElementSibling, te = !1;
2854
2854
  te = x === 1;
2855
- var A = Ha(q, t, W, r, n, i, e, te);
2856
- if (A !== !1) return (A === 1 || A === -1) && (te = A === 1), Ea = !0, setTimeout(Wa, 30), g(), te && !k ? t.appendChild(W) : n.parentNode.insertBefore(W, te ? k : n), E && Ki(E, 0, ee - E.scrollTop), G = W.parentNode, S !== void 0 && !Ca && (wa = Math.abs(S - z(n)[T])), v(), _(!0);
2855
+ var A = Ua(q, t, W, r, n, i, e, te);
2856
+ if (A !== !1) return (A === 1 || A === -1) && (te = A === 1), Da = !0, setTimeout(Ga, 30), g(), te && !k ? t.appendChild(W) : n.parentNode.insertBefore(W, te ? k : n), E && qi(E, 0, ee - E.scrollTop), G = W.parentNode, S !== void 0 && !wa && (Ta = Math.abs(S - B(n)[T])), v(), _(!0);
2857
2857
  }
2858
2858
  if (t.contains(W)) return _(!1);
2859
2859
  }
@@ -2861,26 +2861,26 @@ Q.prototype = {
2861
2861
  },
2862
2862
  _ignoreWhileAnimating: null,
2863
2863
  _offMoveEvents: function() {
2864
- I(document, "mousemove", this._onTouchMove), I(document, "touchmove", this._onTouchMove), I(document, "pointermove", this._onTouchMove), I(document, "dragover", za), I(document, "mousemove", za), I(document, "touchmove", za);
2864
+ L(document, "mousemove", this._onTouchMove), L(document, "touchmove", this._onTouchMove), L(document, "pointermove", this._onTouchMove), L(document, "dragover", Ba), L(document, "mousemove", Ba), L(document, "touchmove", Ba);
2865
2865
  },
2866
2866
  _offUpEvents: function() {
2867
2867
  var e = this.el.ownerDocument;
2868
- I(e, "mouseup", this._onDrop), I(e, "touchend", this._onDrop), I(e, "pointerup", this._onDrop), I(e, "touchcancel", this._onDrop), I(document, "selectstart", this);
2868
+ L(e, "mouseup", this._onDrop), L(e, "touchend", this._onDrop), L(e, "pointerup", this._onDrop), L(e, "touchcancel", this._onDrop), L(document, "selectstart", this);
2869
2869
  },
2870
2870
  _onDrop: function(e) {
2871
2871
  var t = this.el, n = this.options;
2872
- if (Y = B(W), ca = B(W, n.draggable), H("drop", this, { evt: e }), G = W && W.parentNode, Y = B(W), ca = B(W, n.draggable), Q.eventCanceled) {
2872
+ if (Y = Ri(W), la = Ri(W, n.draggable), H("drop", this, { evt: e }), G = W && W.parentNode, Y = Ri(W), la = Ri(W, n.draggable), Q.eventCanceled) {
2873
2873
  this._nulling();
2874
2874
  return;
2875
2875
  }
2876
- ua = !1, Ca = !1, Sa = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Qa(this.cloneId), Qa(this._dragStartId), this.nativeDraggable && (I(document, "drop", this), I(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), wi && R(document.body, "user-select", ""), R(W, "transform", ""), e && (ya && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), K && K.parentNode && K.parentNode.removeChild(K), (q === G || X && X.lastPutMode !== "clone") && J && J.parentNode && J.parentNode.removeChild(J), W && (this.nativeDraggable && I(W, "dragend", this), Ua(W), W.style["will-change"] = "", ya && !ua && L(W, X ? X.options.ghostClass : this.options.ghostClass, !1), L(W, this.options.chosenClass, !1), U({
2876
+ da = !1, wa = !1, Ca = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), $a(this.cloneId), $a(this._dragStartId), this.nativeDraggable && (L(document, "drop", this), L(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), wi && z(document.body, "user-select", ""), z(W, "transform", ""), e && (ba && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), K && K.parentNode && K.parentNode.removeChild(K), (q === G || X && X.lastPutMode !== "clone") && J && J.parentNode && J.parentNode.removeChild(J), W && (this.nativeDraggable && L(W, "dragend", this), Wa(W), W.style["will-change"] = "", ba && !da && R(W, X ? X.options.ghostClass : this.options.ghostClass, !1), R(W, this.options.chosenClass, !1), U({
2877
2877
  sortable: this,
2878
2878
  name: "unchoose",
2879
2879
  toEl: G,
2880
2880
  newIndex: null,
2881
2881
  newDraggableIndex: null,
2882
2882
  originalEvent: e
2883
- }), q === G ? Y !== oa && Y >= 0 && (U({
2883
+ }), q === G ? Y !== sa && Y >= 0 && (U({
2884
2884
  sortable: this,
2885
2885
  name: "update",
2886
2886
  toEl: G,
@@ -2912,7 +2912,7 @@ Q.prototype = {
2912
2912
  name: "sort",
2913
2913
  toEl: G,
2914
2914
  originalEvent: e
2915
- })), X && X.save()), Q.active && ((Y == null || Y === -1) && (Y = oa, ca = sa), U({
2915
+ })), X && X.save()), Q.active && ((Y == null || Y === -1) && (Y = sa, la = ca), U({
2916
2916
  sortable: this,
2917
2917
  name: "end",
2918
2918
  toEl: G,
@@ -2920,9 +2920,9 @@ Q.prototype = {
2920
2920
  }), this.save()))), this._nulling();
2921
2921
  },
2922
2922
  _nulling: function() {
2923
- H("nulling", this), q = W = G = K = ra = J = ia = aa = pa = ma = ya = Y = ca = oa = sa = ba = xa = X = la = Q.dragged = Q.ghost = Q.clone = Q.active = null, Da.forEach(function(e) {
2923
+ H("nulling", this), q = W = G = K = ia = J = aa = oa = ma = ha = ba = Y = la = sa = ca = xa = Sa = X = ua = Q.dragged = Q.ghost = Q.clone = Q.active = null, Oa.forEach(function(e) {
2924
2924
  e.checked = !0;
2925
- }), Da.length = ha = ga = 0;
2925
+ }), Oa.length = ga = _a = 0;
2926
2926
  },
2927
2927
  handleEvent: function(e) {
2928
2928
  switch (e.type) {
@@ -2932,7 +2932,7 @@ Q.prototype = {
2932
2932
  break;
2933
2933
  case "dragenter":
2934
2934
  case "dragover":
2935
- W && (this._onDragOver(e), Va(e));
2935
+ W && (this._onDragOver(e), Ha(e));
2936
2936
  break;
2937
2937
  case "selectstart":
2938
2938
  e.preventDefault();
@@ -2940,7 +2940,7 @@ Q.prototype = {
2940
2940
  }
2941
2941
  },
2942
2942
  toArray: function() {
2943
- for (var e = [], t, n = this.el.children, r = 0, i = n.length, a = this.options; r < i; r++) t = n[r], Ai(t, a.draggable, this.el, !1) && e.push(t.getAttribute(a.dataIdAttr) || Ya(t));
2943
+ for (var e = [], t, n = this.el.children, r = 0, i = n.length, a = this.options; r < i; r++) t = n[r], Ai(t, a.draggable, this.el, !1) && e.push(t.getAttribute(a.dataIdAttr) || Xa(t));
2944
2944
  return e;
2945
2945
  },
2946
2946
  sort: function(e, t) {
@@ -2962,20 +2962,20 @@ Q.prototype = {
2962
2962
  option: function(e, t) {
2963
2963
  var n = this.options;
2964
2964
  if (t === void 0) return n[e];
2965
- var r = ea.modifyOption(this, e, t);
2966
- r === void 0 ? n[e] = t : n[e] = r, e === "group" && Ia(n);
2965
+ var r = ta.modifyOption(this, e, t);
2966
+ r === void 0 ? n[e] = t : n[e] = r, e === "group" && La(n);
2967
2967
  },
2968
2968
  destroy: function() {
2969
2969
  H("destroy", this);
2970
2970
  var e = this.el;
2971
- e[V] = null, I(e, "mousedown", this._onTapStart), I(e, "touchstart", this._onTapStart), I(e, "pointerdown", this._onTapStart), this.nativeDraggable && (I(e, "dragover", this), I(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(e) {
2971
+ e[V] = null, L(e, "mousedown", this._onTapStart), L(e, "touchstart", this._onTapStart), L(e, "pointerdown", this._onTapStart), this.nativeDraggable && (L(e, "dragover", this), L(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(e) {
2972
2972
  e.removeAttribute("draggable");
2973
- }), this._onDrop(), this._disableDelayedDragEvents(), fa.splice(fa.indexOf(this.el), 1), this.el = e = null;
2973
+ }), this._onDrop(), this._disableDelayedDragEvents(), pa.splice(pa.indexOf(this.el), 1), this.el = e = null;
2974
2974
  },
2975
2975
  _hideClone: function() {
2976
- if (!aa) {
2976
+ if (!oa) {
2977
2977
  if (H("hideClone", this), Q.eventCanceled) return;
2978
- R(J, "display", "none"), this.options.removeCloneOnHide && J.parentNode && J.parentNode.removeChild(J), aa = !0;
2978
+ z(J, "display", "none"), this.options.removeCloneOnHide && J.parentNode && J.parentNode.removeChild(J), oa = !0;
2979
2979
  }
2980
2980
  },
2981
2981
  _showClone: function(e) {
@@ -2983,85 +2983,85 @@ Q.prototype = {
2983
2983
  this._hideClone();
2984
2984
  return;
2985
2985
  }
2986
- if (aa) {
2986
+ if (oa) {
2987
2987
  if (H("showClone", this), Q.eventCanceled) return;
2988
- W.parentNode == q && !this.options.group.revertClone ? q.insertBefore(J, W) : ra ? q.insertBefore(J, ra) : q.appendChild(J), this.options.group.revertClone && this.animate(W, J), R(J, "display", ""), aa = !1;
2988
+ W.parentNode == q && !this.options.group.revertClone ? q.insertBefore(J, W) : ia ? q.insertBefore(J, ia) : q.appendChild(J), this.options.group.revertClone && this.animate(W, J), z(J, "display", ""), oa = !1;
2989
2989
  }
2990
2990
  }
2991
2991
  };
2992
- function Va(e) {
2992
+ function Ha(e) {
2993
2993
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
2994
2994
  }
2995
- function Ha(e, t, n, r, i, a, o, s) {
2995
+ function Ua(e, t, n, r, i, a, o, s) {
2996
2996
  var c, l = e[V], u = l.options.onMove, d;
2997
2997
  return window.CustomEvent && !xi && !Si ? c = new CustomEvent("move", {
2998
2998
  bubbles: !0,
2999
2999
  cancelable: !0
3000
- }) : (c = document.createEvent("Event"), c.initEvent("move", !0, !0)), c.to = t, c.from = e, c.dragged = n, c.draggedRect = r, c.related = i || t, c.relatedRect = a || z(t), c.willInsertAfter = s, c.originalEvent = o, e.dispatchEvent(c), u && (d = u.call(l, c, o)), d;
3000
+ }) : (c = document.createEvent("Event"), c.initEvent("move", !0, !0)), c.to = t, c.from = e, c.dragged = n, c.draggedRect = r, c.related = i || t, c.relatedRect = a || B(t), c.willInsertAfter = s, c.originalEvent = o, e.dispatchEvent(c), u && (d = u.call(l, c, o)), d;
3001
3001
  }
3002
- function Ua(e) {
3002
+ function Wa(e) {
3003
3003
  e.draggable = !1;
3004
3004
  }
3005
- function Wa() {
3006
- Ea = !1;
3005
+ function Ga() {
3006
+ Da = !1;
3007
3007
  }
3008
- function Ga(e, t, n) {
3009
- var r = z(Ii(n.el, 0, n.options, !0)), i = Ji(n.el, n.options, K), a = 10;
3008
+ function Ka(e, t, n) {
3009
+ var r = B(Ii(n.el, 0, n.options, !0)), i = Yi(n.el, n.options, K), a = 10;
3010
3010
  return t ? e.clientX < i.left - a || e.clientY < r.top && e.clientX < r.right : e.clientY < i.top - a || e.clientY < r.bottom && e.clientX < r.left;
3011
3011
  }
3012
- function Ka(e, t, n) {
3013
- var r = z(Li(n.el, n.options.draggable)), i = Ji(n.el, n.options, K), a = 10;
3012
+ function qa(e, t, n) {
3013
+ var r = B(Li(n.el, n.options.draggable)), i = Yi(n.el, n.options, K), a = 10;
3014
3014
  return t ? e.clientX > i.right + a || e.clientY > r.bottom && e.clientX > r.left : e.clientY > i.bottom + a || e.clientX > r.right && e.clientY > r.top;
3015
3015
  }
3016
- function qa(e, t, n, r, i, a, o, s) {
3016
+ function Ja(e, t, n, r, i, a, o, s) {
3017
3017
  var c = r ? e.clientY : e.clientX, l = r ? n.height : n.width, u = r ? n.top : n.left, d = r ? n.bottom : n.right, f = !1;
3018
3018
  if (!o) {
3019
- if (s && wa < l * i) {
3020
- if (!Sa && (xa === 1 ? c > u + l * a / 2 : c < d - l * a / 2) && (Sa = !0), Sa) f = !0;
3021
- else if (xa === 1 ? c < u + wa : c > d - wa) return -xa;
3022
- } else if (c > u + l * (1 - i) / 2 && c < d - l * (1 - i) / 2) return Ja(t);
3019
+ if (s && Ta < l * i) {
3020
+ if (!Ca && (Sa === 1 ? c > u + l * a / 2 : c < d - l * a / 2) && (Ca = !0), Ca) f = !0;
3021
+ else if (Sa === 1 ? c < u + Ta : c > d - Ta) return -Sa;
3022
+ } else if (c > u + l * (1 - i) / 2 && c < d - l * (1 - i) / 2) return Ya(t);
3023
3023
  }
3024
3024
  return f ||= o, f && (c < u + l * a / 2 || c > d - l * a / 2) ? c > u + l / 2 ? 1 : -1 : 0;
3025
3025
  }
3026
- function Ja(e) {
3027
- return B(W) < B(e) ? 1 : -1;
3028
- }
3029
3026
  function Ya(e) {
3027
+ return Ri(W) < Ri(e) ? 1 : -1;
3028
+ }
3029
+ function Xa(e) {
3030
3030
  for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, r = 0; n--;) r += t.charCodeAt(n);
3031
3031
  return r.toString(36);
3032
3032
  }
3033
- function Xa(e) {
3034
- Da.length = 0;
3033
+ function Za(e) {
3034
+ Oa.length = 0;
3035
3035
  for (var t = e.getElementsByTagName("input"), n = t.length; n--;) {
3036
3036
  var r = t[n];
3037
- r.checked && Da.push(r);
3037
+ r.checked && Oa.push(r);
3038
3038
  }
3039
3039
  }
3040
- function Za(e) {
3040
+ function Qa(e) {
3041
3041
  return setTimeout(e, 0);
3042
3042
  }
3043
- function Qa(e) {
3043
+ function $a(e) {
3044
3044
  return clearTimeout(e);
3045
3045
  }
3046
- Oa && F(document, "touchmove", function(e) {
3047
- (Q.active || ua) && e.cancelable && e.preventDefault();
3046
+ ka && I(document, "touchmove", function(e) {
3047
+ (Q.active || da) && e.cancelable && e.preventDefault();
3048
3048
  }), Q.utils = {
3049
- on: F,
3050
- off: I,
3051
- css: R,
3049
+ on: I,
3050
+ off: L,
3051
+ css: z,
3052
3052
  find: Ni,
3053
3053
  is: function(e, t) {
3054
3054
  return !!Ai(e, t, e, !1);
3055
3055
  },
3056
- extend: Vi,
3057
- throttle: Wi,
3056
+ extend: Hi,
3057
+ throttle: Gi,
3058
3058
  closest: Ai,
3059
- toggleClass: L,
3060
- clone: qi,
3061
- index: B,
3062
- nextTick: Za,
3063
- cancelNextTick: Qa,
3064
- detectDirection: Na,
3059
+ toggleClass: R,
3060
+ clone: Ji,
3061
+ index: Ri,
3062
+ nextTick: Qa,
3063
+ cancelNextTick: $a,
3064
+ detectDirection: Pa,
3065
3065
  getChild: Ii
3066
3066
  }, Q.get = function(e) {
3067
3067
  return e[V];
@@ -3069,13 +3069,13 @@ Oa && F(document, "touchmove", function(e) {
3069
3069
  var e = [...arguments];
3070
3070
  e[0].constructor === Array && (e = e[0]), e.forEach(function(e) {
3071
3071
  if (!e.prototype || !e.prototype.constructor) throw `Sortable: Mounted plugin must be a constructor function, not ${{}.toString.call(e)}`;
3072
- e.utils && (Q.utils = pi(pi({}, Q.utils), e.utils)), ea.mount(e);
3072
+ e.utils && (Q.utils = pi(pi({}, Q.utils), e.utils)), ta.mount(e);
3073
3073
  });
3074
3074
  }, Q.create = function(e, t) {
3075
3075
  return new Q(e, t);
3076
3076
  }, Q.version = yi;
3077
- var $ = [], $a, eo, to = !1, no, ro, io, ao;
3078
- function oo() {
3077
+ var $ = [], eo, to, no = !1, ro, io, ao, oo;
3078
+ function so() {
3079
3079
  function e() {
3080
3080
  for (var e in this.defaults = {
3081
3081
  scroll: !0,
@@ -3088,36 +3088,36 @@ function oo() {
3088
3088
  return e.prototype = {
3089
3089
  dragStarted: function(e) {
3090
3090
  var t = e.originalEvent;
3091
- this.sortable.nativeDraggable ? F(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? F(document, "pointermove", this._handleFallbackAutoScroll) : t.touches ? F(document, "touchmove", this._handleFallbackAutoScroll) : F(document, "mousemove", this._handleFallbackAutoScroll);
3091
+ this.sortable.nativeDraggable ? I(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? I(document, "pointermove", this._handleFallbackAutoScroll) : t.touches ? I(document, "touchmove", this._handleFallbackAutoScroll) : I(document, "mousemove", this._handleFallbackAutoScroll);
3092
3092
  },
3093
3093
  dragOverCompleted: function(e) {
3094
3094
  var t = e.originalEvent;
3095
3095
  !this.options.dragOverBubble && !t.rootEl && this._handleAutoScroll(t);
3096
3096
  },
3097
3097
  drop: function() {
3098
- this.sortable.nativeDraggable ? I(document, "dragover", this._handleAutoScroll) : (I(document, "pointermove", this._handleFallbackAutoScroll), I(document, "touchmove", this._handleFallbackAutoScroll), I(document, "mousemove", this._handleFallbackAutoScroll)), co(), so(), Gi();
3098
+ this.sortable.nativeDraggable ? L(document, "dragover", this._handleAutoScroll) : (L(document, "pointermove", this._handleFallbackAutoScroll), L(document, "touchmove", this._handleFallbackAutoScroll), L(document, "mousemove", this._handleFallbackAutoScroll)), lo(), co(), Ki();
3099
3099
  },
3100
3100
  nulling: function() {
3101
- io = eo = $a = to = ao = no = ro = null, $.length = 0;
3101
+ ao = to = eo = no = oo = ro = io = null, $.length = 0;
3102
3102
  },
3103
3103
  _handleFallbackAutoScroll: function(e) {
3104
3104
  this._handleAutoScroll(e, !0);
3105
3105
  },
3106
3106
  _handleAutoScroll: function(e, t) {
3107
3107
  var n = this, r = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, a = document.elementFromPoint(r, i);
3108
- if (io = e, t || this.options.forceAutoScrollFallback || Si || xi || wi) {
3109
- lo(e, this.options, a, t);
3110
- var o = Bi(a, !0);
3111
- to && (!ao || r !== no || i !== ro) && (ao && co(), ao = setInterval(function() {
3112
- var a = Bi(document.elementFromPoint(r, i), !0);
3113
- a !== o && (o = a, so()), lo(e, n.options, a, t);
3114
- }, 10), no = r, ro = i);
3108
+ if (ao = e, t || this.options.forceAutoScrollFallback || Si || xi || wi) {
3109
+ uo(e, this.options, a, t);
3110
+ var o = Vi(a, !0);
3111
+ no && (!oo || r !== ro || i !== io) && (oo && lo(), oo = setInterval(function() {
3112
+ var a = Vi(document.elementFromPoint(r, i), !0);
3113
+ a !== o && (o = a, co()), uo(e, n.options, a, t);
3114
+ }, 10), ro = r, io = i);
3115
3115
  } else {
3116
- if (!this.options.bubbleScroll || Bi(a, !0) === Pi()) {
3117
- so();
3116
+ if (!this.options.bubbleScroll || Vi(a, !0) === Pi()) {
3117
+ co();
3118
3118
  return;
3119
3119
  }
3120
- lo(e, this.options, Bi(a, !1), !1);
3120
+ uo(e, this.options, Vi(a, !1), !1);
3121
3121
  }
3122
3122
  }
3123
3123
  }, gi(e, {
@@ -3125,33 +3125,33 @@ function oo() {
3125
3125
  initializeByDefault: !0
3126
3126
  });
3127
3127
  }
3128
- function so() {
3128
+ function co() {
3129
3129
  $.forEach(function(e) {
3130
3130
  clearInterval(e.pid);
3131
3131
  }), $ = [];
3132
3132
  }
3133
- function co() {
3134
- clearInterval(ao);
3133
+ function lo() {
3134
+ clearInterval(oo);
3135
3135
  }
3136
- var lo = Wi(function(e, t, n, r) {
3136
+ var uo = Gi(function(e, t, n, r) {
3137
3137
  if (t.scroll) {
3138
3138
  var i = (e.touches ? e.touches[0] : e).clientX, a = (e.touches ? e.touches[0] : e).clientY, o = t.scrollSensitivity, s = t.scrollSpeed, c = Pi(), l = !1, u;
3139
- eo !== n && (eo = n, so(), $a = t.scroll, u = t.scrollFn, $a === !0 && ($a = Bi(n, !0)));
3140
- var d = 0, f = $a;
3139
+ to !== n && (to = n, co(), eo = t.scroll, u = t.scrollFn, eo === !0 && (eo = Vi(n, !0)));
3140
+ var d = 0, f = eo;
3141
3141
  do {
3142
- var p = f, m = z(p), h = m.top, g = m.bottom, _ = m.left, v = m.right, y = m.width, b = m.height, x = void 0, S = void 0, C = p.scrollWidth, w = p.scrollHeight, T = R(p), E = p.scrollLeft, ee = p.scrollTop;
3142
+ var p = f, m = B(p), h = m.top, g = m.bottom, _ = m.left, v = m.right, y = m.width, b = m.height, x = void 0, S = void 0, C = p.scrollWidth, w = p.scrollHeight, T = z(p), E = p.scrollLeft, ee = p.scrollTop;
3143
3143
  p === c ? (x = y < C && (T.overflowX === "auto" || T.overflowX === "scroll" || T.overflowX === "visible"), S = b < w && (T.overflowY === "auto" || T.overflowY === "scroll" || T.overflowY === "visible")) : (x = y < C && (T.overflowX === "auto" || T.overflowX === "scroll"), S = b < w && (T.overflowY === "auto" || T.overflowY === "scroll"));
3144
3144
  var D = x && (Math.abs(v - i) <= o && E + y < C) - (Math.abs(_ - i) <= o && !!E), O = S && (Math.abs(g - a) <= o && ee + b < w) - (Math.abs(h - a) <= o && !!ee);
3145
3145
  if (!$[d]) for (var k = 0; k <= d; k++) $[k] || ($[k] = {});
3146
3146
  ($[d].vx != D || $[d].vy != O || $[d].el !== p) && ($[d].el = p, $[d].vx = D, $[d].vy = O, clearInterval($[d].pid), (D != 0 || O != 0) && (l = !0, $[d].pid = setInterval(function() {
3147
- r && this.layer === 0 && Q.active._onTouchMove(io);
3147
+ r && this.layer === 0 && Q.active._onTouchMove(ao);
3148
3148
  var t = $[this.layer].vy ? $[this.layer].vy * s : 0, n = $[this.layer].vx ? $[this.layer].vx * s : 0;
3149
- typeof u == "function" && u.call(Q.dragged.parentNode[V], n, t, e, io, $[this.layer].el) !== "continue" || Ki($[this.layer].el, n, t);
3149
+ typeof u == "function" && u.call(Q.dragged.parentNode[V], n, t, e, ao, $[this.layer].el) !== "continue" || qi($[this.layer].el, n, t);
3150
3150
  }.bind({ layer: d }), 24))), d++;
3151
- } while (t.bubbleScroll && f !== c && (f = Bi(f, !1)));
3152
- to = l;
3151
+ } while (t.bubbleScroll && f !== c && (f = Vi(f, !1)));
3152
+ no = l;
3153
3153
  }
3154
- }, 30), uo = function(e) {
3154
+ }, 30), fo = function(e) {
3155
3155
  var t = e.originalEvent, n = e.putSortable, r = e.dragEl, i = e.activeSortable, a = e.dispatchSortableEvent, o = e.hideGhostForTarget, s = e.unhideGhostForTarget;
3156
3156
  if (t) {
3157
3157
  var c = n || i;
@@ -3163,8 +3163,8 @@ var lo = Wi(function(e, t, n, r) {
3163
3163
  }));
3164
3164
  }
3165
3165
  };
3166
- function fo() {}
3167
- fo.prototype = {
3166
+ function po() {}
3167
+ po.prototype = {
3168
3168
  startIndex: null,
3169
3169
  dragStart: function(e) {
3170
3170
  var t = e.oldDraggableIndex;
@@ -3176,48 +3176,48 @@ fo.prototype = {
3176
3176
  var r = Ii(this.sortable.el, this.startIndex, this.options);
3177
3177
  r ? this.sortable.el.insertBefore(t, r) : this.sortable.el.appendChild(t), this.sortable.animateAll(), n && n.animateAll();
3178
3178
  },
3179
- drop: uo
3180
- }, gi(fo, { pluginName: "revertOnSpill" });
3181
- function po() {}
3182
- po.prototype = {
3179
+ drop: fo
3180
+ }, gi(po, { pluginName: "revertOnSpill" });
3181
+ function mo() {}
3182
+ mo.prototype = {
3183
3183
  onSpill: function(e) {
3184
3184
  var t = e.dragEl, n = e.putSortable || this.sortable;
3185
3185
  n.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), n.animateAll();
3186
3186
  },
3187
- drop: uo
3188
- }, gi(po, { pluginName: "removeOnSpill" }), Q.mount(new oo()), Q.mount(po, fo);
3189
- function mo(e) {
3190
- return e == null ? e : JSON.parse(JSON.stringify(e));
3191
- }
3187
+ drop: fo
3188
+ }, gi(mo, { pluginName: "removeOnSpill" }), Q.mount(new so()), Q.mount(mo, po);
3192
3189
  function ho(e) {
3193
- se() && ee(e);
3190
+ return e == null ? e : JSON.parse(JSON.stringify(e));
3194
3191
  }
3195
3192
  function go(e) {
3196
- se() ? u(e) : r(e);
3193
+ oe() && ee(e);
3197
3194
  }
3198
- var _o = null, vo = null;
3199
- function yo(e = null, t = null) {
3200
- _o = e, vo = t;
3195
+ function _o(e) {
3196
+ oe() ? u(e) : r(e);
3201
3197
  }
3202
- function bo() {
3198
+ var vo = null, yo = null;
3199
+ function bo(e = null, t = null) {
3200
+ vo = e, yo = t;
3201
+ }
3202
+ function xo() {
3203
3203
  return {
3204
- data: _o,
3205
- clonedData: vo
3204
+ data: vo,
3205
+ clonedData: yo
3206
3206
  };
3207
3207
  }
3208
- var xo = Symbol("cloneElement");
3209
- function So(...e) {
3210
- let t = se()?.proxy, n = null, i = e[0], [, o, c] = e;
3208
+ var So = Symbol("cloneElement");
3209
+ function Co(...e) {
3210
+ let t = oe()?.proxy, n = null, i = e[0], [, o, c] = e;
3211
3211
  Array.isArray(j(o)) || (c = o, o = null);
3212
- let l = null, { immediate: u = !0, clone: d = mo, forceFallback: f, fallbackOnBody: p, customUpdate: m } = j(c) ?? {};
3212
+ let l = null, { immediate: u = !0, clone: d = ho, forceFallback: f, fallbackOnBody: p, customUpdate: m } = j(c) ?? {};
3213
3213
  function h(e) {
3214
3214
  let { from: t, oldIndex: r, item: i } = e, a = Array.from(t.childNodes);
3215
3215
  n = f && !p ? a.slice(0, -1) : a;
3216
3216
  let s = j(j(o)?.[r]), c = d(s);
3217
- yo(s, c), i[xo] = c;
3217
+ bo(s, c), i[So] = c;
3218
3218
  }
3219
3219
  function g(e) {
3220
- let t = e.item[xo];
3220
+ let t = e.item[So];
3221
3221
  if (!ti(t)) {
3222
3222
  if (ii(e.item), a(o)) {
3223
3223
  let n = [...j(o)];
@@ -3270,7 +3270,7 @@ function So(...e) {
3270
3270
  n = null;
3271
3271
  }
3272
3272
  r(() => {
3273
- if (yo(), s) throw s;
3273
+ if (bo(), s) throw s;
3274
3274
  });
3275
3275
  }
3276
3276
  let b = {
@@ -3287,7 +3287,7 @@ function So(...e) {
3287
3287
  function S() {
3288
3288
  let e = j(c) ?? {}, { immediate: t, clone: n } = e, r = Kr(e, ["immediate", "clone"]);
3289
3289
  return li(r, (e, t) => {
3290
- ui(e) && (r[e] = (e, ...n) => (di(e, bo()), t(e, ...n)));
3290
+ ui(e) && (r[e] = (e, ...n) => (di(e, xo()), t(e, ...n)));
3291
3291
  }), si(o === null ? {} : b, r);
3292
3292
  }
3293
3293
  let C = (e) => {
@@ -3307,15 +3307,15 @@ function So(...e) {
3307
3307
  toArray: () => l?.toArray(),
3308
3308
  closest: (...e) => l?.closest(...e)
3309
3309
  };
3310
- return go(() => {
3310
+ return _o(() => {
3311
3311
  u && C();
3312
- }), ho(w.destroy), Gr({
3312
+ }), go(w.destroy), Gr({
3313
3313
  start: C,
3314
3314
  pause: () => w?.option("disabled", !0),
3315
3315
  resume: () => w?.option("disabled", !1)
3316
3316
  }, w);
3317
3317
  }
3318
- var Co = [
3318
+ var wo = [
3319
3319
  "update",
3320
3320
  "start",
3321
3321
  "add",
@@ -3328,7 +3328,7 @@ var Co = [
3328
3328
  "clone",
3329
3329
  "move",
3330
3330
  "change"
3331
- ], wo = y({
3331
+ ], To = y({
3332
3332
  name: "VueDraggable",
3333
3333
  model: {
3334
3334
  prop: "modelValue",
@@ -3378,11 +3378,11 @@ var Co = [
3378
3378
  "tag",
3379
3379
  "target",
3380
3380
  "customUpdate",
3381
- ...Co.map((e) => `on${e.replace(/^\S/, (e) => e.toUpperCase())}`)
3381
+ ...wo.map((e) => `on${e.replace(/^\S/, (e) => e.toUpperCase())}`)
3382
3382
  ],
3383
- emits: ["update:modelValue", ...Co],
3383
+ emits: ["update:modelValue", ...wo],
3384
3384
  setup(e, { slots: t, emit: n, expose: r, attrs: i }) {
3385
- let a = Co.reduce((e, t) => {
3385
+ let a = wo.reduce((e, t) => {
3386
3386
  let r = `on${t.replace(/^\S/, (e) => e.toUpperCase())}`;
3387
3387
  return e[r] = (...e) => n(t, ...e), e;
3388
3388
  }, {}), s = x(() => {
@@ -3394,21 +3394,21 @@ var Co = [
3394
3394
  }), c = x({
3395
3395
  get: () => e.modelValue,
3396
3396
  set: (e) => n("update:modelValue", e)
3397
- }), l = h(), u = o(So(e.target || l, c, s));
3397
+ }), l = h(), u = o(Co(e.target || l, c, s));
3398
3398
  return r(u), () => f(e.tag || "div", { ref: l }, (t?.default)?.call(t, u));
3399
3399
  }
3400
- }), To = {
3400
+ }), Eo = {
3401
3401
  mounted: "mounted",
3402
3402
  unmounted: "unmounted"
3403
3403
  };
3404
- To.mounted, To.unmounted;
3404
+ Eo.mounted, Eo.unmounted;
3405
3405
  //#endregion
3406
3406
  //#region src/components/blocks/SectionBlock.vue?vue&type=script&setup=true&lang.ts
3407
- var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3407
+ var Do = { class: "tpl:w-full" }, Oo = { class: "tpl:flex tpl:gap-0" }, ko = {
3408
3408
  key: 0,
3409
3409
  "data-testid": "section-drop-hint",
3410
3410
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:flex tpl:items-center tpl:justify-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
3411
- }, ko = /* @__PURE__ */ y({
3411
+ }, Ao = /* @__PURE__ */ y({
3412
3412
  __name: "SectionBlock",
3413
3413
  props: {
3414
3414
  block: {},
@@ -3422,7 +3422,7 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3422
3422
  button: sn,
3423
3423
  divider: qn,
3424
3424
  custom: Gn
3425
- }, a = n, { t: o } = ht(), s = Ke(at, "SectionBlock"), l = oe(ut, null), u = oe(st, null), d = x(() => {
3425
+ }, a = n, { t: o } = ht(), s = Ke(at, "SectionBlock"), l = P(ut, null), u = P(st, null), d = x(() => {
3426
3426
  switch (a.block.columns) {
3427
3427
  case "2": return ["50%", "50%"];
3428
3428
  case "3": return [
@@ -3456,11 +3456,11 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3456
3456
  dataSourceFetched: t.dataSourceFetched
3457
3457
  });
3458
3458
  }
3459
- return (r, a) => (e(), w("div", Eo, [C("div", Do, [(e(!0), w(D, null, c(f.value, (r, a) => (e(), w("div", {
3459
+ return (r, a) => (e(), w("div", Do, [C("div", Oo, [(e(!0), w(D, null, c(f.value, (r, a) => (e(), w("div", {
3460
3460
  key: a,
3461
3461
  class: v(["tpl:relative tpl:min-h-[60px] tpl:rounded", p(a).length === 0 ? "tpl:border tpl:border-dashed tpl:border-[var(--tpl-border)]" : ""]),
3462
3462
  style: A({ width: d.value[a] })
3463
- }, [N(j(wo), {
3463
+ }, [N(j(To), {
3464
3464
  "model-value": p(a),
3465
3465
  group: {
3466
3466
  name: "blocks",
@@ -3478,14 +3478,14 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3478
3478
  class: "tpl:min-h-[60px]",
3479
3479
  "onUpdate:modelValue": (e) => m(a, e)
3480
3480
  }, {
3481
- default: le(() => [(e(!0), w(D, null, c(p(a), (r) => t((e(), w("div", { key: r.id }, [N(Lr, {
3481
+ default: ce(() => [(e(!0), w(D, null, c(p(a), (r) => t((e(), w("div", { key: r.id }, [N(Lr, {
3482
3482
  block: r,
3483
3483
  "is-selected": j(s).state.selectedBlockId === r.id,
3484
3484
  viewport: n.viewport,
3485
3485
  "preview-mode": j(s).state.previewMode,
3486
3486
  onSelect: (e) => j(s).selectBlock(r.id)
3487
3487
  }, {
3488
- default: le(() => [(e(), ne(i(h(r)), {
3488
+ default: ce(() => [(e(), ne(i(h(r)), {
3489
3489
  block: r,
3490
3490
  viewport: n.viewport,
3491
3491
  onFetchData: (e) => g(r, e),
@@ -3509,94 +3509,13 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3509
3509
  "model-value",
3510
3510
  "group",
3511
3511
  "onUpdate:modelValue"
3512
- ]), p(a).length === 0 ? (e(), w("div", Oo, [C("span", null, M(j(o).section.dropHere), 1)])) : O("", !0)], 6))), 128))])]));
3513
- }
3514
- }), Ao = {
3515
- facebook: {
3516
- name: "Facebook",
3517
- color: "#1877F2",
3518
- path: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"
3519
- },
3520
- twitter: {
3521
- name: "X",
3522
- color: "#000000",
3523
- path: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"
3524
- },
3525
- instagram: {
3526
- name: "Instagram",
3527
- color: "#E4405F",
3528
- path: "M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"
3529
- },
3530
- linkedin: {
3531
- name: "LinkedIn",
3532
- color: "#0A66C2",
3533
- path: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"
3534
- },
3535
- youtube: {
3536
- name: "YouTube",
3537
- color: "#FF0000",
3538
- path: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"
3539
- },
3540
- tiktok: {
3541
- name: "TikTok",
3542
- color: "#000000",
3543
- path: "M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"
3544
- },
3545
- pinterest: {
3546
- name: "Pinterest",
3547
- color: "#BD081C",
3548
- path: "M12 0C5.373 0 0 5.372 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738.098.119.112.224.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.631-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12 0-6.628-5.373-12-12-12z"
3549
- },
3550
- email: {
3551
- name: "Email",
3552
- color: "#6B7280",
3553
- path: "M1.5 8.67v8.58a3 3 0 003 3h15a3 3 0 003-3V8.67l-8.928 5.493a3 3 0 01-3.144 0L1.5 8.67z M22.5 6.908V6.75a3 3 0 00-3-3h-15a3 3 0 00-3 3v.158l9.714 5.978a1.5 1.5 0 001.572 0L22.5 6.908z"
3554
- },
3555
- whatsapp: {
3556
- name: "WhatsApp",
3557
- color: "#25D366",
3558
- path: "M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"
3559
- },
3560
- telegram: {
3561
- name: "Telegram",
3562
- color: "#26A5E4",
3563
- path: "M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"
3564
- },
3565
- discord: {
3566
- name: "Discord",
3567
- color: "#5865F2",
3568
- path: "M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189z"
3569
- },
3570
- snapchat: {
3571
- name: "Snapchat",
3572
- color: "#FFFC00",
3573
- path: "M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 01.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.631-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146 1.124.347 2.317.535 3.554.535 6.627 0 12.017-5.373 12.017-12.001C24.034 5.367 18.644 0 12.017 0z"
3574
- },
3575
- reddit: {
3576
- name: "Reddit",
3577
- color: "#FF4500",
3578
- path: "M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z"
3579
- },
3580
- github: {
3581
- name: "GitHub",
3582
- color: "#181717",
3583
- path: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
3584
- },
3585
- dribbble: {
3586
- name: "Dribbble",
3587
- color: "#EA4C89",
3588
- path: "M12 24C5.385 24 0 18.615 0 12S5.385 0 12 0s12 5.385 12 12-5.385 12-12 12zm10.12-10.358c-.35-.11-3.17-.953-6.384-.438 1.34 3.684 1.887 6.684 1.992 7.308 2.3-1.555 3.936-4.02 4.392-6.87zm-6.115 7.808c-.153-.9-.75-4.032-2.19-7.77l-.066.02c-5.79 2.015-7.86 6.025-8.04 6.4 1.73 1.358 3.92 2.166 6.29 2.166 1.42 0 2.77-.29 4-.814zm-11.62-2.58c.232-.4 3.045-5.055 8.332-6.765.135-.045.27-.084.405-.12-.26-.585-.54-1.167-.832-1.74C7.17 11.775 2.206 11.71 1.756 11.7l-.004.312c0 2.633.998 5.037 2.634 6.855zm-2.42-8.955c.46.008 4.683.026 9.477-1.248-1.698-3.018-3.53-5.558-3.8-5.928-2.868 1.35-5.01 3.99-5.676 7.17zM9.6 2.052c.282.38 2.145 2.914 3.822 6 3.645-1.365 5.19-3.44 5.373-3.702-1.81-1.61-4.19-2.586-6.795-2.586-.825 0-1.63.1-2.4.285zm10.335 3.483c-.218.29-1.935 2.493-5.724 4.04.24.49.47.985.68 1.486.08.18.15.36.22.53 3.41-.43 6.8.26 7.14.33-.02-2.42-.88-4.64-2.31-6.38z"
3589
- },
3590
- behance: {
3591
- name: "Behance",
3592
- color: "#1769FF",
3593
- path: "M22 7h-7V5h7v2zm1.726 10c-.442 1.297-2.029 3-5.101 3-3.074 0-5.564-1.729-5.564-5.675 0-3.91 2.325-5.92 5.466-5.92 3.082 0 4.964 1.782 5.375 4.426.078.506.109 1.188.095 2.14H15.97c.13 3.211 3.483 3.312 4.588 2.029h3.168zm-7.686-4h4.965c-.105-1.547-1.136-2.219-2.477-2.219-1.466 0-2.277.768-2.488 2.219zm-9.574 6.988H0V5.021h6.953c5.476.081 5.58 5.444 2.72 6.906 3.461 1.26 3.577 8.061-3.207 8.061zM3 11h3.584c2.508 0 2.906-3-.312-3H3v3zm3.391 3H3v3.016h3.341c3.055 0 2.868-3.016.05-3.016z"
3594
- }
3595
- }, jo = {
3512
+ ]), p(a).length === 0 ? (e(), w("div", ko, [C("span", null, M(j(o).section.dropHere), 1)])) : O("", !0)], 6))), 128))])]));
3513
+ }
3514
+ }), jo = Ee, Mo = {
3596
3515
  small: 24,
3597
3516
  medium: 32,
3598
3517
  large: 48
3599
- }, Mo = [
3518
+ }, No = [
3600
3519
  "facebook",
3601
3520
  "twitter",
3602
3521
  "instagram",
@@ -3605,6 +3524,7 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3605
3524
  "tiktok",
3606
3525
  "pinterest",
3607
3526
  "email",
3527
+ "website",
3608
3528
  "whatsapp",
3609
3529
  "telegram",
3610
3530
  "discord",
@@ -3613,11 +3533,11 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3613
3533
  "github",
3614
3534
  "dribbble",
3615
3535
  "behance"
3616
- ], No = [
3536
+ ], Po = [
3617
3537
  "width",
3618
3538
  "height",
3619
3539
  "fill"
3620
- ], Po = ["d"], Fo = /* @__PURE__ */ y({
3540
+ ], Fo = ["d"], Io = /* @__PURE__ */ y({
3621
3541
  __name: "SocialIconSvg",
3622
3542
  props: {
3623
3543
  platform: {},
@@ -3625,7 +3545,7 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3625
3545
  iconSize: {}
3626
3546
  },
3627
3547
  setup(t) {
3628
- let n = t, r = x(() => Ao[n.platform]), i = x(() => jo[n.iconSize]), a = x(() => {
3548
+ let n = t, r = x(() => jo[n.platform]), i = x(() => Mo[n.iconSize]), a = x(() => {
3629
3549
  let e = {
3630
3550
  display: "inline-flex",
3631
3551
  alignItems: "center",
@@ -3669,12 +3589,12 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3669
3589
  viewBox: "0 0 24 24",
3670
3590
  fill: s.value,
3671
3591
  xmlns: "http://www.w3.org/2000/svg"
3672
- }, [C("path", { d: r.value.path }, null, 8, Po)], 8, No))], 4));
3592
+ }, [C("path", { d: r.value.path }, null, 8, Fo)], 8, Po))], 4));
3673
3593
  }
3674
- }), Io = { class: "tpl:w-full" }, Lo = ["href"], Ro = {
3594
+ }), Lo = { class: "tpl:w-full" }, Ro = ["href"], zo = {
3675
3595
  key: 1,
3676
3596
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border tpl:border-dashed tpl:py-4 tpl:text-sm tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text-dim)]"
3677
- }, zo = /* @__PURE__ */ y({
3597
+ }, Bo = /* @__PURE__ */ y({
3678
3598
  __name: "SocialIconsBlock",
3679
3599
  props: {
3680
3600
  block: {},
@@ -3687,7 +3607,7 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3687
3607
  gap: `${n.block.spacing}px`,
3688
3608
  justifyContent: n.block.align === "left" ? "flex-start" : n.block.align === "right" ? "flex-end" : "center"
3689
3609
  })), a = x(() => n.block.icons.length > 0);
3690
- return (n, o) => (e(), w("div", Io, [a.value ? (e(), w("div", {
3610
+ return (n, o) => (e(), w("div", Lo, [a.value ? (e(), w("div", {
3691
3611
  key: 0,
3692
3612
  style: A(i.value)
3693
3613
  }, [(e(!0), w(D, null, c(t.block.icons, (n) => (e(), w("a", {
@@ -3695,7 +3615,7 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3695
3615
  href: n.url || "#",
3696
3616
  class: "tpl:cursor-default",
3697
3617
  onClick: o[0] ||= b(() => {}, ["prevent"])
3698
- }, [N(Fo, {
3618
+ }, [N(Io, {
3699
3619
  platform: n.platform,
3700
3620
  "icon-style": t.block.iconStyle,
3701
3621
  "icon-size": t.block.iconSize
@@ -3703,16 +3623,16 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3703
3623
  "platform",
3704
3624
  "icon-style",
3705
3625
  "icon-size"
3706
- ])], 8, Lo))), 128))], 4)) : (e(), w("div", Ro, [N(j(vn), { size: 16 }), C("span", null, M(j(r).social.addIcons), 1)]))]));
3626
+ ])], 8, Ro))), 128))], 4)) : (e(), w("div", zo, [N(j(vn), { size: 16 }), C("span", null, M(j(r).social.addIcons), 1)]))]));
3707
3627
  }
3708
- }), Bo = { class: "tpl:w-full" }, Vo = {
3628
+ }), Vo = { class: "tpl:w-full" }, Ho = {
3709
3629
  key: 0,
3710
3630
  class: "tpl:absolute tpl:rounded tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-medium",
3711
3631
  style: {
3712
3632
  "background-color": "var(--tpl-bg-hover)",
3713
3633
  color: "var(--tpl-text-dim)"
3714
3634
  }
3715
- }, Ho = /* @__PURE__ */ y({
3635
+ }, Uo = /* @__PURE__ */ y({
3716
3636
  __name: "SpacerBlock",
3717
3637
  props: {
3718
3638
  block: {},
@@ -3724,23 +3644,23 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3724
3644
  minHeight: `${n.block.height}px`,
3725
3645
  ...r.state.previewMode ? {} : { borderColor: "var(--tpl-border)" }
3726
3646
  }));
3727
- return (n, a) => (e(), w("div", Bo, [C("div", {
3647
+ return (n, a) => (e(), w("div", Vo, [C("div", {
3728
3648
  style: A(i.value),
3729
3649
  class: v(["tpl:relative tpl:flex tpl:items-center tpl:justify-center", { "tpl:border-y tpl:border-dashed": !j(r).state.previewMode }])
3730
- }, [j(r).state.previewMode ? O("", !0) : (e(), w("span", Vo, M(t.block.height) + "px ", 1))], 6)]));
3650
+ }, [j(r).state.previewMode ? O("", !0) : (e(), w("span", Ho, M(t.block.height) + "px ", 1))], 6)]));
3731
3651
  }
3732
- }), Uo = { class: "tpl:w-full" }, Wo = { key: 0 }, Go = [
3652
+ }), Wo = { class: "tpl:w-full" }, Go = { key: 0 }, Ko = [
3733
3653
  "aria-label",
3734
3654
  "data-placeholder",
3735
3655
  "onBlur"
3736
- ], Ko = [
3656
+ ], qo = [
3737
3657
  "aria-label",
3738
3658
  "data-placeholder",
3739
3659
  "onBlur"
3740
- ], qo = {
3660
+ ], Jo = {
3741
3661
  key: 1,
3742
3662
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border tpl:border-dashed tpl:py-4 tpl:text-sm tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text-dim)]"
3743
- }, Jo = /*#__PURE__*/ bt(/* @__PURE__ */ y({
3663
+ }, Yo = /*#__PURE__*/ bt(/* @__PURE__ */ y({
3744
3664
  __name: "TableBlock",
3745
3665
  props: {
3746
3666
  block: {},
@@ -3783,11 +3703,11 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3783
3703
  } : n);
3784
3704
  o.updateBlock(i.block.id, { rows: a });
3785
3705
  }
3786
- return (n, i) => (e(), w("div", Uo, [s.value ? (e(), w("table", {
3706
+ return (n, i) => (e(), w("div", Wo, [s.value ? (e(), w("table", {
3787
3707
  key: 0,
3788
3708
  style: A(l.value),
3789
3709
  class: "tpl-table-editable"
3790
- }, [f.value ? (e(), w("thead", Wo, [C("tr", null, [(e(!0), w(D, null, c(f.value.cells, (n) => t((e(), w("th", {
3710
+ }, [f.value ? (e(), w("thead", Go, [C("tr", null, [(e(!0), w(D, null, c(f.value.cells, (n) => t((e(), w("th", {
3791
3711
  key: n.id,
3792
3712
  style: A(d.value),
3793
3713
  "aria-label": j(a).table.cellPlaceholder,
@@ -3796,7 +3716,7 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3796
3716
  onBlur: (e) => h(f.value.id, n.id, e),
3797
3717
  onKeydown: i[0] ||= ie(b((e) => e.target.blur(), ["prevent"]), ["enter"]),
3798
3718
  onClick: b(m, ["stop"])
3799
- }, null, 44, Go)), [[r, n.content]])), 128))])])) : O("", !0), C("tbody", null, [(e(!0), w(D, null, c(p.value, (n) => (e(), w("tr", { key: n.id }, [(e(!0), w(D, null, c(n.cells, (o) => t((e(), w("td", {
3719
+ }, null, 44, Ko)), [[r, n.content]])), 128))])])) : O("", !0), C("tbody", null, [(e(!0), w(D, null, c(p.value, (n) => (e(), w("tr", { key: n.id }, [(e(!0), w(D, null, c(n.cells, (o) => t((e(), w("td", {
3800
3720
  key: o.id,
3801
3721
  style: A(u.value),
3802
3722
  "aria-label": j(a).table.cellPlaceholder,
@@ -3805,9 +3725,9 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3805
3725
  onBlur: (e) => h(n.id, o.id, e),
3806
3726
  onKeydown: i[1] ||= ie(b((e) => e.target.blur(), ["prevent"]), ["enter"]),
3807
3727
  onClick: b(m, ["stop"])
3808
- }, null, 44, Ko)), [[r, o.content]])), 128))]))), 128))])], 4)) : (e(), w("div", qo, [N(j(yn), { size: 16 }), C("span", null, M(j(a).table.empty), 1)]))]));
3728
+ }, null, 44, qo)), [[r, o.content]])), 128))]))), 128))])], 4)) : (e(), w("div", Jo, [N(j(yn), { size: 16 }), C("span", null, M(j(a).table.empty), 1)]))]));
3809
3729
  }
3810
- }), [["__scopeId", "data-v-de1a7c76"]]), Yo = /* @__PURE__ */ y({
3730
+ }), [["__scopeId", "data-v-de1a7c76"]]), Xo = /* @__PURE__ */ y({
3811
3731
  __name: "VideoPlayButton",
3812
3732
  props: { hoverEffect: {
3813
3733
  type: Boolean,
@@ -3825,7 +3745,7 @@ var Eo = { class: "tpl:w-full" }, Do = { class: "tpl:flex tpl:gap-0" }, Oo = {
3825
3745
  });
3826
3746
  //#endregion
3827
3747
  //#region src/utils/videoThumbnail.ts
3828
- function Xo(e) {
3748
+ function Zo(e) {
3829
3749
  if (!e) return {
3830
3750
  platform: "unknown",
3831
3751
  videoId: null,
@@ -3857,25 +3777,25 @@ function Xo(e) {
3857
3777
  thumbnailUrl: null
3858
3778
  };
3859
3779
  }
3860
- function Zo(e, t) {
3861
- return t || Xo(e).thumbnailUrl;
3780
+ function Qo(e, t) {
3781
+ return t || Zo(e).thumbnailUrl;
3862
3782
  }
3863
3783
  //#endregion
3864
3784
  //#region src/components/blocks/VideoBlock.vue?vue&type=script&setup=true&lang.ts
3865
- var Qo = ["src", "alt"], $o = {
3785
+ var $o = ["src", "alt"], es = {
3866
3786
  class: "tpl:max-w-full tpl:truncate tpl:px-3 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-primary)]",
3867
3787
  style: { opacity: "0.7" }
3868
- }, es = ["href"], ts = ["src", "alt"], ns = ["src", "alt"], rs = {
3788
+ }, ts = ["href"], ns = ["src", "alt"], rs = ["src", "alt"], is = {
3869
3789
  key: 3,
3870
3790
  class: "tpl:flex tpl:min-h-[150px] tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-sm tpl:border-[var(--tpl-border-light)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-dim)]"
3871
- }, is = /* @__PURE__ */ y({
3791
+ }, as = /* @__PURE__ */ y({
3872
3792
  __name: "VideoBlock",
3873
3793
  props: {
3874
3794
  block: {},
3875
3795
  viewport: {}
3876
3796
  },
3877
3797
  setup(t) {
3878
- let n = t, { t: r } = ht(), { syntax: i } = xt(), a = x(() => ge(n.block.url, i) || ge(n.block.thumbnailUrl, i)), o = x(() => a.value ? null : Zo(n.block.url, n.block.thumbnailUrl)), s = x(() => ({ textAlign: n.block.align })), c = x(() => {
3798
+ let n = t, { t: r } = ht(), { syntax: i } = xt(), a = x(() => De(n.block.url, i) || De(n.block.thumbnailUrl, i)), o = x(() => a.value ? null : Qo(n.block.url, n.block.thumbnailUrl)), s = x(() => ({ textAlign: n.block.align })), c = x(() => {
3879
3799
  let e = n.block.align;
3880
3800
  return {
3881
3801
  maxWidth: "100%",
@@ -3884,7 +3804,7 @@ var Qo = ["src", "alt"], $o = {
3884
3804
  marginLeft: e === "center" || e === "right" ? "auto" : void 0,
3885
3805
  marginRight: e === "center" ? "auto" : void 0
3886
3806
  };
3887
- }), l = x(() => ge(n.block.url, i) ? n.block.url : n.block.thumbnailUrl);
3807
+ }), l = x(() => De(n.block.url, i) ? n.block.url : n.block.thumbnailUrl);
3888
3808
  return (n, i) => (e(), w("div", {
3889
3809
  class: "tpl:w-full",
3890
3810
  style: A(s.value)
@@ -3896,7 +3816,7 @@ var Qo = ["src", "alt"], $o = {
3896
3816
  class: "tpl:w-full tpl:border-0",
3897
3817
  src: t.block.placeholderUrl,
3898
3818
  alt: t.block.alt
3899
- }, null, 8, Qo), N(Yo)], 4)) : a.value ? (e(), w("div", {
3819
+ }, null, 8, $o), N(Xo)], 4)) : a.value ? (e(), w("div", {
3900
3820
  key: 1,
3901
3821
  class: "tpl:relative tpl:!flex tpl:min-h-[150px] tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-center tpl:bg-[var(--tpl-bg-elevated)]",
3902
3822
  style: A([{ "border-color": "color-mix(in srgb, var(--tpl-primary) 40%, transparent)" }, c.value])
@@ -3905,7 +3825,7 @@ var Qo = ["src", "alt"], $o = {
3905
3825
  "stroke-width": 1.5,
3906
3826
  class: "tpl:text-[var(--tpl-primary)]",
3907
3827
  style: { opacity: "0.5" }
3908
- }), C("span", $o, M(l.value), 1)], 4)) : o.value ? (e(), w(D, { key: 2 }, [t.block.url ? (e(), w("a", {
3828
+ }), C("span", es, M(l.value), 1)], 4)) : o.value ? (e(), w(D, { key: 2 }, [t.block.url ? (e(), w("a", {
3909
3829
  key: 0,
3910
3830
  href: t.block.url,
3911
3831
  target: "_blank",
@@ -3917,7 +3837,7 @@ var Qo = ["src", "alt"], $o = {
3917
3837
  class: "tpl:w-full tpl:border-0",
3918
3838
  src: o.value,
3919
3839
  alt: t.block.alt
3920
- }, null, 8, ts), N(Yo, { "hover-effect": "" })], 12, es)) : (e(), w("div", {
3840
+ }, null, 8, ns), N(Xo, { "hover-effect": "" })], 12, ts)) : (e(), w("div", {
3921
3841
  key: 1,
3922
3842
  class: "tpl:relative tpl:inline-block",
3923
3843
  style: A(c.value)
@@ -3925,28 +3845,28 @@ var Qo = ["src", "alt"], $o = {
3925
3845
  class: "tpl:w-full tpl:border-0",
3926
3846
  src: o.value,
3927
3847
  alt: t.block.alt
3928
- }, null, 8, ns), N(Yo)], 4))], 64)) : (e(), w("div", rs, [N(j(bn), {
3848
+ }, null, 8, rs), N(Xo)], 4))], 64)) : (e(), w("div", is, [N(j(bn), {
3929
3849
  size: 40,
3930
3850
  "stroke-width": 1.5,
3931
3851
  class: "tpl:text-[var(--tpl-border-light)]"
3932
3852
  }), C("span", null, M(j(r).video.addVideo), 1)]))], 4));
3933
3853
  }
3934
- }), as = {
3935
- section: ko,
3854
+ }), os = {
3855
+ section: Ao,
3936
3856
  title: zr,
3937
3857
  paragraph: Sr,
3938
3858
  image: lr,
3939
3859
  button: sn,
3940
3860
  divider: qn,
3941
- video: is,
3942
- social: zo,
3861
+ video: as,
3862
+ social: Bo,
3943
3863
  menu: pr,
3944
- table: Jo,
3945
- spacer: Ho,
3864
+ table: Yo,
3865
+ spacer: Uo,
3946
3866
  html: Qn,
3947
- countdown: ce(() => import("./CountdownBlock-D_AsF4F3.js").then((e) => e.n))
3867
+ countdown: se(() => import("./CountdownBlock-C-6o19qS.js").then((e) => e.n))
3948
3868
  };
3949
- function os(e) {
3869
+ function ss(e) {
3950
3870
  let { editor: t, config: n, translations: r, fontsManager: i } = e, { t: a, format: o } = ht(r);
3951
3871
  t.setUiTheme(n.uiTheme ?? "auto");
3952
3872
  let { resolvedTheme: c } = Wt(x(() => t.state.uiTheme)), l = h(n.theme ?? {}), { themeStyles: u } = Kt({
@@ -3978,7 +3898,7 @@ function os(e) {
3978
3898
  t: a,
3979
3899
  format: o
3980
3900
  }), y = Xt();
3981
- if (tn(y, as), n.customBlocks?.length) for (let e of n.customBlocks) y.registerCustom(e, Gn);
3901
+ if (tn(y, os), n.customBlocks?.length) for (let e of n.customBlocks) y.registerCustom(e, Gn);
3982
3902
  function b(e) {
3983
3903
  for (let t of e) y.registerCustom(t, Gn);
3984
3904
  }
@@ -4003,7 +3923,7 @@ function os(e) {
4003
3923
  Be(document, "keydown", C);
4004
3924
  let w = h(null);
4005
3925
  E(tt, e.editorRoot ?? document), E(We, w), E(rt, r), E(at, t), E(Ye, d), E(nt, f), E(ut, m), E(et, i), E(He, u), E(Ge, c), E(Xe, n.blockDefaults), E(st, y), E(Qe, n.customBlocks ?? []), E(Je, n.paletteBlocks), E($e, Zt(t.content, y));
4006
- let T = Ce(n.mergeTags?.syntax);
3926
+ let T = pe(n.mergeTags?.syntax);
4007
3927
  E(mt, n.mergeTags?.tags ?? []), E(qe, T), E(ft, n.mergeTags?.onRequest ?? null), E(Ze, n.mergeTags?.autocomplete !== !1), E(pt, zt()), E(Ue, n.onRequestMedia ?? null), E(ct, n.displayConditions?.conditions ?? []), E(ot, n.displayConditions?.allowCustom ?? !1), E(lt, e.capabilities ?? {}), E(dt, v);
4008
3928
  let ee = Bt(n.lint) ? null : Vt({
4009
3929
  content: t.content,
@@ -4035,4 +3955,4 @@ function os(e) {
4035
3955
  };
4036
3956
  }
4037
3957
  //#endregion
4038
- export { hn as A, On as C, yn as D, Cn as E, Yt as F, Ht as I, Nt as L, dn as M, un as N, vn as O, sn as P, wt as R, Mn as S, En as T, Qn as _, zo as a, In as b, ko as c, Lr as d, wr as f, lr as g, pr as h, Ho as i, fn as j, gn as k, wo as l, Sr as m, is as n, Ao as o, Cr as p, Jo as r, Mo as s, os as t, zr as u, qn as v, Dn as w, Pn as x, Gn as y };
3958
+ export { pn as A, Dn as C, vn as D, yn as E, Ht as F, Nt as I, wt as L, dn as M, sn as N, gn as O, Yt as P, On as S, Cn as T, qn as _, Bo as a, Pn as b, To as c, wr as d, Cr as f, Qn as g, lr as h, Uo as i, fn as j, hn as k, zr as l, pr as m, as as n, No as o, Sr as p, Yo as r, Ao as s, ss as t, Lr as u, Gn as v, En as w, Mn as x, In as y };