@templatical/editor 0.27.2 → 0.27.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AiChatSidebar-iVJDzqjr.js → AiChatSidebar-inzMb2Vi.js} +1 -1
- package/dist/{AiFeatureMenu-DrLGc2H2.js → AiFeatureMenu-BTdgjwdx.js} +3 -3
- package/dist/{BlockIssueBadge-BHysq7XQ.js → BlockIssueBadge-a7jENlL4.js} +2 -2
- package/dist/{BlockPreviewCanvas-2WASf5A4.js → BlockPreviewCanvas-CMuRmhQg.js} +2 -2
- package/dist/{CloudHeaderExtras-DWApyc4P.js → CloudHeaderExtras-Bgr-Ox9M.js} +2 -2
- package/dist/{CloudPanels-DvOhGdRj.js → CloudPanels-oFNlTOO5.js} +3 -3
- package/dist/{CollaboratorBar-C6MC0UCk.js → CollaboratorBar-BHja900c.js} +2 -2
- package/dist/{ColorPicker-Di8L5TLQ.js → ColorPicker-ClUa_hMj.js} +3 -3
- package/dist/{CommentsPanel-D5wQB1Kf.js → CommentsPanel-CB1-poNb.js} +1 -1
- package/dist/{CommentsSidebar-BoTIxpLE.js → CommentsSidebar-B6mV8ft4.js} +2 -2
- package/dist/{CountdownBlock-BFX8iU90.js → CountdownBlock-qKtJVRIV.js} +1 -1
- package/dist/{CountdownToolbar-d9QM4m5x.js → CountdownToolbar-BpnKUXN_.js} +2 -2
- package/dist/{DesignReferenceSidebar-DKsx2TiL.js → DesignReferenceSidebar-BC5UxrJl.js} +2 -2
- package/dist/{IssuesPanel-flKKwKpM.js → IssuesPanel-BFczwZkL.js} +38 -37
- package/dist/{MergeTagModeToggle-PKCoKAoF.js → MergeTagModeToggle-koHNtEJe.js} +2 -2
- package/dist/{ParagraphEditor-iwTjkjtx.js → ParagraphEditor-cKosDi_l.js} +7 -7
- package/dist/{RestoreVersionDialog-DyMPGfsr.js → RestoreVersionDialog-DpZmcFuf.js} +2 -2
- package/dist/{RichTextEditorContent-BVXG9oF4.js → RichTextEditorContent-Br3WBNOs.js} +4 -4
- package/dist/{SaveBlockDialog-BMCAIfK9.js → SaveBlockDialog-C7mSGScN.js} +5 -5
- package/dist/{SavedBlocksBrowserModal-p5ma1qay.js → SavedBlocksBrowserModal-D7MYzuVP.js} +6 -6
- package/dist/{SavedBlocksPanels-BsiSstsZ.js → SavedBlocksPanels-D5T63WyR.js} +1 -1
- package/dist/{SavedBlocksPickBar-fU4Mjm-8.js → SavedBlocksPickBar-BluJS58M.js} +2 -2
- package/dist/{TemplateScoringPanel-Bv_bBsJi.js → TemplateScoringPanel-C0z27t2p.js} +2 -2
- package/dist/{TestEmailModal-EFYcrmTk.js → TestEmailModal-DoSIuHXe.js} +6 -6
- package/dist/{TestEmailPanel-ljriUqs1.js → TestEmailPanel-3Y6uUX3Z.js} +1 -1
- package/dist/{TitleEditor-BqRW7HTz.js → TitleEditor-D9IWtoH3.js} +6 -6
- package/dist/{TplModal-CTC9-w6B.js → TplModal-CyBCFn5s.js} +3 -3
- package/dist/{VersionHistoryMenu-Cq4rH56t.js → VersionHistoryMenu-8nd_aOnh.js} +1 -1
- package/dist/{VersionHistoryPanels-GkxkBiSi.js → VersionHistoryPanels-Cm7MxfrI.js} +1 -1
- package/dist/{VersionPreviewBanner-BdtTu9mI.js → VersionPreviewBanner-B9w773jz.js} +1 -1
- package/dist/{blockTypeIcons-CIrMr1SJ.js → blockTypeIcons-BRCuWioG.js} +1 -1
- package/dist/bundle-stats.json +7 -7
- package/dist/cdn/chunks/{AiChatSidebar-DTUoBH5a.js → AiChatSidebar-BIvQg9Q5.js} +2 -2
- package/dist/cdn/chunks/{AiChatSidebar-DTUoBH5a.js.map → AiChatSidebar-BIvQg9Q5.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-BQz9Kczt.js → AiFeatureMenu-BMvcmvDZ.js} +4 -4
- package/dist/cdn/chunks/{AiFeatureMenu-BQz9Kczt.js.map → AiFeatureMenu-BMvcmvDZ.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-UzSSOM_2.js → BlockIssueBadge-Drrmjqd7.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-UzSSOM_2.js.map → BlockIssueBadge-Drrmjqd7.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-40ocpXDD.js → BlockPreviewCanvas-CuWJLv8h.js} +3 -3
- package/dist/cdn/chunks/{BlockPreviewCanvas-40ocpXDD.js.map → BlockPreviewCanvas-CuWJLv8h.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-F_ySlW1S.js → CloudHeaderExtras-Ctat5U0M.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-F_ySlW1S.js.map → CloudHeaderExtras-Ctat5U0M.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-C34bcHpc.js → CloudPanels-YRYmXE9O.js} +4 -4
- package/dist/cdn/chunks/{CloudPanels-C34bcHpc.js.map → CloudPanels-YRYmXE9O.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-WBtrPPnM.js → CollaboratorBar-DgdxBCkN.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-WBtrPPnM.js.map → CollaboratorBar-DgdxBCkN.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-CxKYd_8N.js → ColorPicker-B-we7_bC.js} +4 -4
- package/dist/cdn/chunks/{ColorPicker-CxKYd_8N.js.map → ColorPicker-B-we7_bC.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-jzZ2X0P4.js → CommentsPanel-D7Y-74Nj.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-jzZ2X0P4.js.map → CommentsPanel-D7Y-74Nj.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-Dxke-vUP.js → CommentsSidebar-DxTobvYS.js} +3 -3
- package/dist/cdn/chunks/{CommentsSidebar-Dxke-vUP.js.map → CommentsSidebar-DxTobvYS.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-BYSrJWxg.js → CountdownBlock-BKrYGRiT.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-BYSrJWxg.js.map → CountdownBlock-BKrYGRiT.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-pVbkPNVo.js → CountdownToolbar-D8QWL-jK.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-pVbkPNVo.js.map → CountdownToolbar-D8QWL-jK.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-sZWciECR.js → DesignReferenceSidebar-D9Lm4Al0.js} +3 -3
- package/dist/cdn/chunks/{DesignReferenceSidebar-sZWciECR.js.map → DesignReferenceSidebar-D9Lm4Al0.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-CHtetM9i.js → IssuesPanel-Dz90c1C6.js} +36 -34
- package/dist/cdn/chunks/IssuesPanel-Dz90c1C6.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagModeToggle-ZwW-5EeN.js → MergeTagModeToggle-CfFrfYNC.js} +3 -3
- package/dist/cdn/chunks/{MergeTagModeToggle-ZwW-5EeN.js.map → MergeTagModeToggle-CfFrfYNC.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BBcIQQK2.js → ParagraphEditor-Be-BO5hD.js} +8 -8
- package/dist/cdn/chunks/{ParagraphEditor-BBcIQQK2.js.map → ParagraphEditor-Be-BO5hD.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-DNUZHFa_.js → RestoreVersionDialog-CKtz_FEz.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-DNUZHFa_.js.map → RestoreVersionDialog-CKtz_FEz.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Cl-acKAD.js → RichTextEditorContent-D3eWZ793.js} +5 -5
- package/dist/cdn/chunks/{RichTextEditorContent-Cl-acKAD.js.map → RichTextEditorContent-D3eWZ793.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BXTZ729e.js → SaveBlockDialog-C5nT7Fxi.js} +6 -6
- package/dist/cdn/chunks/{SaveBlockDialog-BXTZ729e.js.map → SaveBlockDialog-C5nT7Fxi.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BqGNBpRR.js → SavedBlocksBrowserModal-Cvyewimb.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BqGNBpRR.js.map → SavedBlocksBrowserModal-Cvyewimb.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-nbK0UQTp.js → SavedBlocksPanels-B7aBlxKW.js} +2 -2
- package/dist/cdn/chunks/SavedBlocksPanels-B7aBlxKW.js.map +1 -0
- package/dist/cdn/chunks/{SavedBlocksPickBar-B9mbw3Gk.js → SavedBlocksPickBar-D0opM9P9.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-B9mbw3Gk.js.map → SavedBlocksPickBar-D0opM9P9.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-Xdkp2EMY.js → TemplateScoringPanel-DEsNZlHe.js} +3 -3
- package/dist/cdn/chunks/{TemplateScoringPanel-Xdkp2EMY.js.map → TemplateScoringPanel-DEsNZlHe.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DE6fi3he.js → TestEmailModal-BANpGbEP.js} +7 -7
- package/dist/cdn/chunks/{TestEmailModal-DE6fi3he.js.map → TestEmailModal-BANpGbEP.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-CAjQDXle.js → TestEmailPanel-DItZMP3B.js} +2 -2
- package/dist/cdn/chunks/TestEmailPanel-DItZMP3B.js.map +1 -0
- package/dist/cdn/chunks/{TitleEditor-BP0ewaWF.js → TitleEditor-D_NJ4Ww8.js} +7 -7
- package/dist/cdn/chunks/{TitleEditor-BP0ewaWF.js.map → TitleEditor-D_NJ4Ww8.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-C4kJduTr.js → TplModal-C51W8LTn.js} +4 -4
- package/dist/cdn/chunks/{TplModal-C4kJduTr.js.map → TplModal-C51W8LTn.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-_MAj3qZj.js → VersionHistoryMenu-Cv23A0uu.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryMenu-_MAj3qZj.js.map → VersionHistoryMenu-Cv23A0uu.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DMq2PRee.js → VersionHistoryPanels-DHDN1owI.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-DMq2PRee.js.map → VersionHistoryPanels-DHDN1owI.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-04CL1SGY.js → VersionPreviewBanner-Dw4kFkrh.js} +2 -2
- package/dist/cdn/chunks/VersionPreviewBanner-Dw4kFkrh.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-gXA8_QRU.js → createCloudRuntime-D75oJ9j-.js} +2 -2
- package/dist/cdn/chunks/{createCloudRuntime-gXA8_QRU.js.map → createCloudRuntime-D75oJ9j-.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-CMcVw2uu.js → extensions-Byo2sA1r.js} +3 -3
- package/dist/cdn/chunks/{extensions-CMcVw2uu.js.map → extensions-Byo2sA1r.js.map} +1 -1
- package/dist/cdn/chunks/{keys-CbQuRX85.js → keys-oJdkdtPn.js} +2 -2
- package/dist/cdn/chunks/{keys-CbQuRX85.js.map → keys-oJdkdtPn.js.map} +1 -1
- package/dist/cdn/chunks/{src-D5lajkK5.js → src-B_pCqXyM.js} +2 -2
- package/dist/cdn/chunks/{src-D5lajkK5.js.map → src-B_pCqXyM.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-NVa1aeY8.js → useCloudI18n-Ch-SiRjU.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-NVa1aeY8.js.map → useCloudI18n-Ch-SiRjU.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-DC8gmfs6.js → useEditorCore-BtEO1qms.js} +127 -134
- package/dist/cdn/chunks/useEditorCore-BtEO1qms.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-Cxnmf5hM.js +10 -0
- package/dist/cdn/chunks/useEditorRoot-Cxnmf5hM.js.map +1 -0
- package/dist/cdn/chunks/{useI18n-DVWCJJFH.js → useI18n-4sUbTM3Y.js} +3 -3
- package/dist/cdn/chunks/useI18n-4sUbTM3Y.js.map +1 -0
- package/dist/cdn/chunks/{useMergeTag-BfZBRPQp.js → useMergeTag-DxjTEyin.js} +2 -2
- package/dist/cdn/chunks/{useMergeTag-BfZBRPQp.js.map → useMergeTag-DxjTEyin.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-BC-HA7TK.js → usePopoverPosition-C1N2kaiZ.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-BC-HA7TK.js.map → usePopoverPosition-C1N2kaiZ.js.map} +1 -1
- package/dist/cdn/chunks/useScrollToBlock-BvWAfWd8.js +22 -0
- package/dist/cdn/chunks/useScrollToBlock-BvWAfWd8.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +758 -734
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{createCloudRuntime-Bt8W-ajI.js → createCloudRuntime-FEZG-Gve.js} +1 -1
- package/dist/{extensions-CX87G4aL.js → extensions-BV9qfsYr.js} +2 -2
- package/dist/{keys-BxixS0TN.js → keys-CVpi8xCT.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +854 -831
- package/dist/{useCloudI18n-CAZTZ9_a.js → useCloudI18n-DmWo4nzs.js} +2 -2
- package/dist/{useEditorCore-CFLzobo_.js → useEditorCore-DoKDh27o.js} +469 -476
- package/dist/useEditorRoot-DKyG95pb.js +8 -0
- package/dist/{useI18n-BfXff_Sy.js → useI18n-CvYvat9_.js} +2 -2
- package/dist/{useMergeTag-Dd4I7kge.js → useMergeTag-D6Z6cyDa.js} +1 -1
- package/dist/{usePopoverPosition-CxhCX3SQ.js → usePopoverPosition-WslxM_PU.js} +1 -1
- package/dist/useScrollToBlock-KA65jhQ_.js +44 -0
- package/package.json +7 -7
- package/dist/cdn/chunks/IssuesPanel-CHtetM9i.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksPanels-nbK0UQTp.js.map +0 -1
- package/dist/cdn/chunks/TestEmailPanel-CAjQDXle.js.map +0 -1
- package/dist/cdn/chunks/VersionPreviewBanner-04CL1SGY.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-DC8gmfs6.js.map +0 -1
- package/dist/cdn/chunks/useI18n-DVWCJJFH.js.map +0 -1
- package/dist/list-checks-jw-ZlvWY.js +0 -25
package/dist/cdn/editor.js
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import { B as e, E as t, F as n, H as r, I as i, K as a, M as o, N as s, P as c, Q as l, R as u, S as d, U as f, X as p, Y as m, _ as h, at as g, b as _, c as v, ct as y, f as b, g as x, h as S, j as C, k as w, l as T, lt as E, m as D, n as O, o as k, p as A, q as j, r as M, s as N, t as ee, u as P, ut as F, w as I, x as L, y as R } from "./chunks/draggable-BfpsXFg7.js";
|
|
2
2
|
import { H as z, L as B, R as V, S as H, T as U, a as te, b as W, c as ne, d as re, h as ie, i as G, l as ae, o as oe, r as se, x as ce } from "./chunks/src-B_QJduQD.js";
|
|
3
|
-
import { B as le, C as ue, D as de, F as fe, I as pe, L as me, N as he, O as ge, P as _e, R as ve, _ as ye, a as be, b as xe, c as Se, d as Ce, f as we, g as Te, h as Ee, i as De, j as Oe, k as ke, l as Ae, m as je, n as Me, o as Ne, p as Pe, r as Fe, s as Ie, t as Le, v as Re, w as ze, y as Be } from "./chunks/useEditorCore-
|
|
3
|
+
import { B as le, C as ue, D as de, F as fe, I as pe, L as me, N as he, O as ge, P as _e, R as ve, _ as ye, a as be, b as xe, c as Se, d as Ce, f as we, g as Te, h as Ee, i as De, j as Oe, k as ke, l as Ae, m as je, n as Me, o as Ne, p as Pe, r as Fe, s as Ie, t as Le, v as Re, w as ze, y as Be } from "./chunks/useEditorCore-BtEO1qms.js";
|
|
4
4
|
import { _ as Ve, d as He, g as Ue } from "./chunks/dist-CYLJiSiH.js";
|
|
5
5
|
import { a as We } from "./chunks/dist-CM8TB0VD.js";
|
|
6
|
-
import { B as Ge, D as Ke, F as qe, H as Je, L as Ye, N as Xe, O as Ze, U as Qe, V as $e, W as et, _ as tt, c as nt, d as rt, f as it, h as at, j as ot, k as st, m as ct, n as lt, o as ut, p as dt, r as ft, s as pt, u as mt, w as ht, z as gt } from "./chunks/keys-
|
|
7
|
-
import { t as K } from "./chunks/useI18n-
|
|
6
|
+
import { B as Ge, D as Ke, F as qe, H as Je, L as Ye, N as Xe, O as Ze, U as Qe, V as $e, W as et, _ as tt, c as nt, d as rt, f as it, h as at, j as ot, k as st, m as ct, n as lt, o as ut, p as dt, r as ft, s as pt, u as mt, w as ht, z as gt } from "./chunks/keys-oJdkdtPn.js";
|
|
7
|
+
import { t as K } from "./chunks/useI18n-4sUbTM3Y.js";
|
|
8
8
|
import { t as _t } from "./chunks/logger-ByvdoAwq.js";
|
|
9
|
-
import { a as vt, n as yt } from "./chunks/usePopoverPosition-
|
|
9
|
+
import { a as vt, n as yt } from "./chunks/usePopoverPosition-C1N2kaiZ.js";
|
|
10
10
|
import { $ as bt, At as xt, D as St, E as Ct, Et as wt, F as Tt, I as Et, It as Dt, Lt as Ot, M as kt, Mt as At, N as jt, Ot as Mt, P as Nt, Q as Pt, Rt as Ft, T as It, Tt as Lt, U as Rt, Y as zt, _ as Bt, _t as Vt, b as Ht, d as Ut, dt as Wt, et as Gt, ft as Kt, g as qt, it as Jt, j as Yt, lt as Xt, m as Zt, n as Qt, nt as $t, pt as en, q as tn, rt as nn, s as rn, st as an, tt as on, w as sn, wt as cn, z as ln } from "./chunks/icons-C36Ha5VU.js";
|
|
11
11
|
import { t as un } from "./chunks/_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import { t as dn } from "./chunks/useCloudI18n-
|
|
13
|
-
import { t as fn } from "./chunks/useMergeTag-
|
|
12
|
+
import { t as dn } from "./chunks/useCloudI18n-Ch-SiRjU.js";
|
|
13
|
+
import { t as fn } from "./chunks/useMergeTag-DxjTEyin.js";
|
|
14
14
|
import { t as pn } from "./chunks/useAliveFlag-Dtm174fG.js";
|
|
15
15
|
import { t as mn } from "./chunks/preRenderCustomBlocks-CbA3RcAy.js";
|
|
16
16
|
import { n as hn, t as gn } from "./chunks/emailFrameWidth-BmFCN2dp.js";
|
|
17
17
|
import { t as _n } from "./chunks/readableTextColor-f8Kykfnh.js";
|
|
18
18
|
import { t as vn } from "./chunks/blockTypeIcons-hX_W4dqo.js";
|
|
19
|
-
import {
|
|
20
|
-
import { t as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { n as
|
|
24
|
-
import { t as Pn } from "./chunks/
|
|
25
|
-
import { t as Fn } from "./chunks/
|
|
19
|
+
import { t as yn } from "./chunks/useScrollToBlock-BvWAfWd8.js";
|
|
20
|
+
import { S as bn, _ as xn, b as Sn, c as Cn, g as q, h as J, l as wn, m as Y, p as X, r as Tn, t as En, y as Dn } from "./chunks/styleConstants-9oK5kn21.js";
|
|
21
|
+
import { t as Z } from "./chunks/ColorPicker-B-we7_bC.js";
|
|
22
|
+
import { n as On, r as kn } from "./chunks/MergeTagSuggestion-DhllqTA3.js";
|
|
23
|
+
import { i as Q, n as An, r as jn, t as Mn } from "./chunks/NumberWithSuffix-mm6AfIv4.js";
|
|
24
|
+
import { n as Nn, t as Pn } from "./chunks/MergeTagModeToggle-CfFrfYNC.js";
|
|
25
|
+
import { t as Fn } from "./chunks/formatRelativeTime-CtUU-QZ8.js";
|
|
26
|
+
import { t as In } from "./chunks/TplModal-C51W8LTn.js";
|
|
26
27
|
//#region src/composables/useCommentsFeature.ts
|
|
27
|
-
function
|
|
28
|
+
function Ln(t) {
|
|
28
29
|
let { provider: n, editor: r } = t, i = _e({
|
|
29
30
|
provider: n,
|
|
30
31
|
getTemplateId: () => r.state.template?.id ?? null,
|
|
@@ -85,7 +86,7 @@ function In(t) {
|
|
|
85
86
|
}
|
|
86
87
|
//#endregion
|
|
87
88
|
//#region src/composables/useSavedBlocksFeature.ts
|
|
88
|
-
function
|
|
89
|
+
function Rn(t) {
|
|
89
90
|
let { provider: n, editor: r } = t, i = me({
|
|
90
91
|
provider: n,
|
|
91
92
|
onError: t.onError
|
|
@@ -167,11 +168,11 @@ function Ln(t) {
|
|
|
167
168
|
}
|
|
168
169
|
//#endregion
|
|
169
170
|
//#region src/composables/useTemplatesFeature.ts
|
|
170
|
-
var
|
|
171
|
-
function
|
|
171
|
+
var zn = 3e3;
|
|
172
|
+
function Bn(e) {
|
|
172
173
|
let { provider: t, editor: n } = e, r = l("idle"), i = l(""), { start: a, stop: o } = Ve(() => {
|
|
173
174
|
r.value = "idle";
|
|
174
|
-
},
|
|
175
|
+
}, zn, { immediate: !1 }), s = b(() => typeof t.create == "function"), c = b(() => typeof t.save == "function"), u = b(() => e.isAvailable?.() ?? !0), d = b(() => n.state.template?.name), f = b(() => {
|
|
175
176
|
let e = n.state.template;
|
|
176
177
|
return e?.updatedAt ? {
|
|
177
178
|
iso: e.updatedAt,
|
|
@@ -278,15 +279,15 @@ function zn(e) {
|
|
|
278
279
|
}
|
|
279
280
|
//#endregion
|
|
280
281
|
//#region src/utils/toMjml.ts
|
|
281
|
-
async function
|
|
282
|
+
async function Vn() {
|
|
282
283
|
try {
|
|
283
|
-
return await import("./chunks/src-
|
|
284
|
+
return await import("./chunks/src-B_pCqXyM.js");
|
|
284
285
|
} catch {
|
|
285
286
|
return null;
|
|
286
287
|
}
|
|
287
288
|
}
|
|
288
|
-
async function
|
|
289
|
-
let t = await
|
|
289
|
+
async function Hn(e) {
|
|
290
|
+
let t = await Vn();
|
|
290
291
|
if (!t) throw Error("[Templatical] toMjml() requires the @templatical/renderer package. Please install it.");
|
|
291
292
|
let n = e.getCustomBlockStylesheet, r = e.getFonts?.();
|
|
292
293
|
return t.renderToMjml(e.getContent(), {
|
|
@@ -300,8 +301,8 @@ async function Vn(e) {
|
|
|
300
301
|
}
|
|
301
302
|
//#endregion
|
|
302
303
|
//#region src/composables/useTestEmailFeature.ts
|
|
303
|
-
var
|
|
304
|
-
function
|
|
304
|
+
var Un = 1200;
|
|
305
|
+
function Wn(e) {
|
|
305
306
|
let { provider: t } = e, n = l(!1), r = l(!1), i = l(!1), a = l(null), o = null, s = !1;
|
|
306
307
|
function c() {
|
|
307
308
|
o !== null && (clearTimeout(o), o = null);
|
|
@@ -323,7 +324,7 @@ function Un(e) {
|
|
|
323
324
|
if (!(!t.includeMjml || !e.renderMjml)) try {
|
|
324
325
|
return await e.renderMjml();
|
|
325
326
|
} catch (e) {
|
|
326
|
-
if (await
|
|
327
|
+
if (await Vn() === null) {
|
|
327
328
|
s || (s = !0, _t.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
|
|
328
329
|
return;
|
|
329
330
|
}
|
|
@@ -345,7 +346,7 @@ function Un(e) {
|
|
|
345
346
|
content: e.getContent(),
|
|
346
347
|
...r === void 0 ? {} : { mjml: r },
|
|
347
348
|
...s === void 0 ? {} : { allowedRecipients: s }
|
|
348
|
-
}), i.value = !0, o = setTimeout(h,
|
|
349
|
+
}), i.value = !0, o = setTimeout(h, Un);
|
|
349
350
|
} catch (t) {
|
|
350
351
|
let n = t instanceof Error ? t : Error(String(t));
|
|
351
352
|
a.value = {
|
|
@@ -375,7 +376,7 @@ function Un(e) {
|
|
|
375
376
|
}
|
|
376
377
|
//#endregion
|
|
377
378
|
//#region src/composables/useVersionHistoryFeature.ts
|
|
378
|
-
function
|
|
379
|
+
function Gn(e) {
|
|
379
380
|
let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = fe({
|
|
380
381
|
provider: t,
|
|
381
382
|
getTemplateId: () => n.state.template?.id ?? null,
|
|
@@ -486,7 +487,7 @@ function Wn(e) {
|
|
|
486
487
|
}
|
|
487
488
|
//#endregion
|
|
488
489
|
//#region src/types/auto-save.ts
|
|
489
|
-
function
|
|
490
|
+
function Kn(e, t) {
|
|
490
491
|
return e === void 0 ? { enabled: t } : typeof e == "boolean" ? { enabled: e } : {
|
|
491
492
|
enabled: !0,
|
|
492
493
|
debounce: e.debounce
|
|
@@ -494,7 +495,7 @@ function Gn(e, t) {
|
|
|
494
495
|
}
|
|
495
496
|
//#endregion
|
|
496
497
|
//#region src/utils/resolveLintOptions.ts
|
|
497
|
-
function
|
|
498
|
+
function qn(e) {
|
|
498
499
|
return {
|
|
499
500
|
...e.lint,
|
|
500
501
|
locale: e.locale
|
|
@@ -502,20 +503,20 @@ function Kn(e) {
|
|
|
502
503
|
}
|
|
503
504
|
//#endregion
|
|
504
505
|
//#region src/utils/renderProvider.ts
|
|
505
|
-
function
|
|
506
|
+
function Jn(e) {
|
|
506
507
|
return {
|
|
507
508
|
customFonts: e.customFonts.value,
|
|
508
509
|
defaultFallback: e.defaultFallback.value
|
|
509
510
|
};
|
|
510
511
|
}
|
|
511
|
-
async function
|
|
512
|
+
async function Yn(e) {
|
|
512
513
|
let t = W(e.getContent());
|
|
513
514
|
return await mn(t, { renderCustomBlock: e.renderCustomBlock }), {
|
|
514
515
|
content: t,
|
|
515
516
|
fonts: e.getFonts()
|
|
516
517
|
};
|
|
517
518
|
}
|
|
518
|
-
function
|
|
519
|
+
function Xn(e) {
|
|
519
520
|
async function t() {
|
|
520
521
|
let t = e.provider, n = t?.toMjml?.bind(t);
|
|
521
522
|
return n ? n(await e.buildPayload()) : e.renderLocalMjml();
|
|
@@ -534,13 +535,13 @@ function Yn(e) {
|
|
|
534
535
|
}
|
|
535
536
|
//#endregion
|
|
536
537
|
//#region src/utils/normalizeMergeTagMarkup.ts
|
|
537
|
-
function
|
|
538
|
+
function Zn(e) {
|
|
538
539
|
let t = e.flags.includes("g") ? e.flags : `${e.flags}g`;
|
|
539
540
|
return new RegExp(e.source, t);
|
|
540
541
|
}
|
|
541
|
-
function
|
|
542
|
+
function Qn(e, t, n) {
|
|
542
543
|
let r = [], i = (t, n, i) => {
|
|
543
|
-
let a =
|
|
544
|
+
let a = Zn(t), o = a.exec(e);
|
|
544
545
|
for (; o !== null;) {
|
|
545
546
|
let t = o.index, s = t + o[0].length;
|
|
546
547
|
o[0].length === 0 ? a.lastIndex++ : r.some((e) => t < e.end && s > e.start) || r.push({
|
|
@@ -554,7 +555,7 @@ function Zn(e, t, n) {
|
|
|
554
555
|
};
|
|
555
556
|
return i(n.logic, "data-logic-merge-tag", (e) => te(e, n)), i(n.value, "data-merge-tag", (e) => oe(e, t)), r.sort((e, t) => e.start - t.start);
|
|
556
557
|
}
|
|
557
|
-
function
|
|
558
|
+
function $n(e) {
|
|
558
559
|
let t = e.createTreeWalker(e.body, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT, { acceptNode(e) {
|
|
559
560
|
if (e.nodeType !== 1) return NodeFilter.FILTER_ACCEPT;
|
|
560
561
|
let t = e;
|
|
@@ -563,11 +564,11 @@ function Qn(e) {
|
|
|
563
564
|
for (; r !== null;) n.push(r), r = t.nextNode();
|
|
564
565
|
return n;
|
|
565
566
|
}
|
|
566
|
-
function
|
|
567
|
+
function er(e, t, n) {
|
|
567
568
|
if (!e || !G(e, n) || typeof DOMParser > "u") return e;
|
|
568
569
|
let r = new DOMParser().parseFromString(`<!doctype html><body>${e}</body>`, "text/html"), i = 0;
|
|
569
|
-
for (let e of
|
|
570
|
-
let a = e.data, o =
|
|
570
|
+
for (let e of $n(r)) {
|
|
571
|
+
let a = e.data, o = Qn(a, t, n);
|
|
571
572
|
if (o.length === 0) continue;
|
|
572
573
|
let s = r.createDocumentFragment(), c = 0;
|
|
573
574
|
for (let e of o) {
|
|
@@ -579,13 +580,13 @@ function $n(e, t, n) {
|
|
|
579
580
|
}
|
|
580
581
|
return i === 0 ? e : r.body.innerHTML;
|
|
581
582
|
}
|
|
582
|
-
function
|
|
583
|
+
function tr(e, t, n) {
|
|
583
584
|
if (e.type === "section") {
|
|
584
585
|
if (!Array.isArray(e.children)) return e;
|
|
585
586
|
let r = !1, i = e.children.map((e) => {
|
|
586
587
|
if (!Array.isArray(e)) return e;
|
|
587
588
|
let i = !1, a = e.map((e) => {
|
|
588
|
-
let r =
|
|
589
|
+
let r = tr(e, t, n);
|
|
589
590
|
return r !== e && (i = !0), r;
|
|
590
591
|
});
|
|
591
592
|
return i ? (r = !0, a) : e;
|
|
@@ -596,16 +597,16 @@ function er(e, t, n) {
|
|
|
596
597
|
} : e;
|
|
597
598
|
}
|
|
598
599
|
if (e.type !== "title" && e.type !== "paragraph" || typeof e.content != "string") return e;
|
|
599
|
-
let r =
|
|
600
|
+
let r = er(e.content, t, n);
|
|
600
601
|
return r === e.content ? e : {
|
|
601
602
|
...e,
|
|
602
603
|
content: r
|
|
603
604
|
};
|
|
604
605
|
}
|
|
605
|
-
function
|
|
606
|
+
function nr(e, t, n) {
|
|
606
607
|
if (!e || !Array.isArray(e.blocks)) return e;
|
|
607
608
|
let r = !1, i = e.blocks.map((e) => {
|
|
608
|
-
let i =
|
|
609
|
+
let i = tr(e, t, n);
|
|
609
610
|
return i !== e && (r = !0), i;
|
|
610
611
|
});
|
|
611
612
|
return r ? {
|
|
@@ -613,10 +614,10 @@ function tr(e, t, n) {
|
|
|
613
614
|
blocks: i
|
|
614
615
|
} : e;
|
|
615
616
|
}
|
|
616
|
-
function nr(e, t) {
|
|
617
|
-
return tr(e, t?.tags ?? [], ie(t?.syntax));
|
|
618
|
-
}
|
|
619
617
|
function rr(e, t) {
|
|
618
|
+
return nr(e, t?.tags ?? [], ie(t?.syntax));
|
|
619
|
+
}
|
|
620
|
+
function ir(e, t) {
|
|
620
621
|
return {
|
|
621
622
|
get state() {
|
|
622
623
|
return e.state;
|
|
@@ -624,14 +625,14 @@ function rr(e, t) {
|
|
|
624
625
|
get content() {
|
|
625
626
|
return e.content;
|
|
626
627
|
},
|
|
627
|
-
setContent: (n, r) => e.setContent(
|
|
628
|
+
setContent: (n, r) => e.setContent(rr(n, t), r)
|
|
628
629
|
};
|
|
629
630
|
}
|
|
630
|
-
function
|
|
631
|
+
function ar(e, t) {
|
|
631
632
|
return {
|
|
632
633
|
...e,
|
|
633
634
|
async load(n) {
|
|
634
|
-
let r = await e.load(n), i =
|
|
635
|
+
let r = await e.load(n), i = rr(r.content, t);
|
|
635
636
|
return i === r.content ? r : {
|
|
636
637
|
...r,
|
|
637
638
|
content: i
|
|
@@ -641,30 +642,30 @@ function ir(e, t) {
|
|
|
641
642
|
}
|
|
642
643
|
//#endregion
|
|
643
644
|
//#region src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
|
|
644
|
-
var
|
|
645
|
+
var or = ["aria-label"], sr = {
|
|
645
646
|
key: 0,
|
|
646
647
|
role: "status",
|
|
647
648
|
"aria-busy": "true",
|
|
648
649
|
"data-testid": "preview-resolution-loading",
|
|
649
650
|
class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-6"
|
|
650
|
-
},
|
|
651
|
+
}, cr = { class: "tpl:sr-only" }, lr = {
|
|
651
652
|
key: 1,
|
|
652
653
|
role: "status",
|
|
653
654
|
"data-testid": "preview-resolution-failed",
|
|
654
655
|
class: "tpl:mx-6 tpl:mt-4 tpl:rounded-md tpl:px-3 tpl:py-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg-hover)]"
|
|
655
|
-
},
|
|
656
|
+
}, ur = {
|
|
656
657
|
key: 0,
|
|
657
658
|
class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
|
|
658
|
-
},
|
|
659
|
+
}, dr = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, fr = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, pr = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, mr = {
|
|
659
660
|
key: 0,
|
|
660
661
|
class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-center tpl:gap-x-1 tpl:gap-y-0.5 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
|
|
661
|
-
},
|
|
662
|
+
}, hr = {
|
|
662
663
|
key: 1,
|
|
663
664
|
class: "tpl:m-0 tpl:mt-4 tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-center tpl:gap-x-1 tpl:gap-y-0.5 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
|
|
664
|
-
},
|
|
665
|
+
}, gr = { class: "tpl:relative" }, _r = {
|
|
665
666
|
class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[8px] tpl:font-bold",
|
|
666
667
|
style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
|
|
667
|
-
},
|
|
668
|
+
}, vr = /*#__PURE__*/ un(/* @__PURE__ */ d({
|
|
668
669
|
__name: "Canvas",
|
|
669
670
|
props: {
|
|
670
671
|
viewport: {},
|
|
@@ -772,11 +773,11 @@ var ar = ["aria-label"], or = {
|
|
|
772
773
|
}]),
|
|
773
774
|
style: E(B.value),
|
|
774
775
|
onClick: re
|
|
775
|
-
}, [g(O)?.isInitialResolve.value ? (s(), x("div",
|
|
776
|
+
}, [g(O)?.isInitialResolve.value ? (s(), x("div", sr, [A("span", cr, F(g(p).previewResolution.resolving), 1), (s(), x(P, null, n(3, (e) => A("div", {
|
|
776
777
|
key: e,
|
|
777
778
|
"aria-hidden": "true",
|
|
778
779
|
class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
|
|
779
|
-
})), 64))])) : g(O)?.hasFailed.value ? (s(), x("p",
|
|
780
|
+
})), 64))])) : g(O)?.hasFailed.value ? (s(), x("p", lr, F(g(p).previewResolution.failed), 1)) : S("", !0), f(_(g(ee), {
|
|
780
781
|
modelValue: I.value,
|
|
781
782
|
"onUpdate:modelValue": i[2] ||= (e) => I.value = e,
|
|
782
783
|
group: "blocks",
|
|
@@ -799,14 +800,14 @@ var ar = ["aria-label"], or = {
|
|
|
799
800
|
onDragleave: W,
|
|
800
801
|
onDrop: ne
|
|
801
802
|
}, {
|
|
802
|
-
default: r(() => [V.value ? (s(), x("div",
|
|
803
|
-
A("div",
|
|
803
|
+
default: r(() => [V.value ? (s(), x("div", ur, [
|
|
804
|
+
A("div", dr, [_(g(It), {
|
|
804
805
|
size: 48,
|
|
805
806
|
"stroke-width": 1
|
|
806
807
|
})]),
|
|
807
|
-
A("p",
|
|
808
|
-
A("p",
|
|
809
|
-
k.value && g(m) ? (s(), x("p",
|
|
808
|
+
A("p", fr, F(g(p).canvas.noBlocks), 1),
|
|
809
|
+
A("p", pr, F(g(p).canvas.dragHint), 1),
|
|
810
|
+
k.value && g(m) ? (s(), x("p", mr, [
|
|
810
811
|
R(F(g(p).canvas.aiHintChat) + " ", 1),
|
|
811
812
|
A("button", {
|
|
812
813
|
class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
|
|
@@ -817,7 +818,7 @@ var ar = ["aria-label"], or = {
|
|
|
817
818
|
}), R(" " + F(g(m).aiMenu.aiAssistant), 1)]),
|
|
818
819
|
R(" " + F(g(p).canvas.aiHintChatSuffix), 1)
|
|
819
820
|
])) : S("", !0),
|
|
820
|
-
j.value && g(m) ? (s(), x("p",
|
|
821
|
+
j.value && g(m) ? (s(), x("p", hr, [
|
|
821
822
|
R(F(g(p).canvas.aiHintDesign) + " ", 1),
|
|
822
823
|
A("button", {
|
|
823
824
|
class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
|
|
@@ -831,7 +832,7 @@ var ar = ["aria-label"], or = {
|
|
|
831
832
|
])) : S("", !0), (s(!0), x(P, null, n(I.value, (t) => f((s(), x("div", {
|
|
832
833
|
key: t.id,
|
|
833
834
|
class: "tpl-block-item"
|
|
834
|
-
}, [A("div",
|
|
835
|
+
}, [A("div", gr, [G(t.id) ? (s(), x("div", {
|
|
835
836
|
key: 0,
|
|
836
837
|
class: "tpl-collab-lock tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-[4] tpl:rounded-sm",
|
|
837
838
|
style: E({
|
|
@@ -844,7 +845,7 @@ var ar = ["aria-label"], or = {
|
|
|
844
845
|
backgroundColor: G(t.id).color,
|
|
845
846
|
color: g(_n)(G(t.id).color)
|
|
846
847
|
})
|
|
847
|
-
}, [A("span",
|
|
848
|
+
}, [A("span", _r, F(G(t.id).name.charAt(0)), 1), R(" " + F(G(t.id).name), 1)], 4)], 4)) : S("", !0), _(Ae, {
|
|
848
849
|
block: t,
|
|
849
850
|
"is-selected": !e.previewMode && !se.value && e.selectedBlockId === t.id && !G(t.id),
|
|
850
851
|
picked: oe(t.id),
|
|
@@ -877,9 +878,9 @@ var ar = ["aria-label"], or = {
|
|
|
877
878
|
"modelValue",
|
|
878
879
|
"disabled",
|
|
879
880
|
"class"
|
|
880
|
-
]), [[N, !g(O)?.isInitialResolve.value]])], 6)], 12,
|
|
881
|
+
]), [[N, !g(O)?.isInitialResolve.value]])], 6)], 12, or)], 4));
|
|
881
882
|
}
|
|
882
|
-
}), [["__scopeId", "data-v-da730df5"]]),
|
|
883
|
+
}), [["__scopeId", "data-v-da730df5"]]), yr = d({
|
|
883
884
|
name: "CustomBlockStylesheets",
|
|
884
885
|
setup() {
|
|
885
886
|
let e = t(dt, null);
|
|
@@ -892,7 +893,7 @@ var ar = ["aria-label"], or = {
|
|
|
892
893
|
});
|
|
893
894
|
//#endregion
|
|
894
895
|
//#region src/utils/resolvePaletteBlocks.ts
|
|
895
|
-
function
|
|
896
|
+
function br(e, t) {
|
|
896
897
|
if (!t || t.length === 0) return {
|
|
897
898
|
items: e,
|
|
898
899
|
unknown: []
|
|
@@ -910,35 +911,53 @@ function yr(e, t) {
|
|
|
910
911
|
};
|
|
911
912
|
}
|
|
912
913
|
//#endregion
|
|
914
|
+
//#region src/utils/resolveInsertPosition.ts
|
|
915
|
+
function xr(e) {
|
|
916
|
+
let { blockType: t, selectedBlockId: n, findBlockLocation: r, isBlockLocked: i } = e;
|
|
917
|
+
if (!n) return {};
|
|
918
|
+
let a = r(n);
|
|
919
|
+
if (!a) return {};
|
|
920
|
+
if (a.targetSectionId === void 0) return { index: a.index + 1 };
|
|
921
|
+
if (t === "section") {
|
|
922
|
+
let e = r(a.targetSectionId);
|
|
923
|
+
return !e || e.targetSectionId !== void 0 ? {} : { index: e.index + 1 };
|
|
924
|
+
}
|
|
925
|
+
return i(a.targetSectionId) ? {} : {
|
|
926
|
+
targetSectionId: a.targetSectionId,
|
|
927
|
+
columnIndex: a.columnIndex,
|
|
928
|
+
index: a.index + 1
|
|
929
|
+
};
|
|
930
|
+
}
|
|
931
|
+
//#endregion
|
|
913
932
|
//#region src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
|
|
914
|
-
var
|
|
933
|
+
var Sr = ["aria-label"], Cr = {
|
|
915
934
|
key: 0,
|
|
916
935
|
class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
|
|
917
|
-
},
|
|
936
|
+
}, wr = ["aria-label"], Tr = {
|
|
918
937
|
key: 0,
|
|
919
938
|
class: "tpl:truncate tpl:text-sm tpl:font-medium"
|
|
920
|
-
},
|
|
939
|
+
}, Er = [
|
|
921
940
|
"data-palette-type",
|
|
922
941
|
"aria-label",
|
|
923
942
|
"onClick",
|
|
924
943
|
"onKeydown"
|
|
925
|
-
],
|
|
944
|
+
], Dr = { class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:transition-transform tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:scale-105" }, Or = {
|
|
926
945
|
key: 0,
|
|
927
946
|
class: "tpl:truncate tpl:text-sm tpl:font-medium"
|
|
928
|
-
},
|
|
947
|
+
}, kr = /* @__PURE__ */ d({
|
|
929
948
|
__name: "Sidebar",
|
|
930
949
|
setup(i) {
|
|
931
|
-
let { t: a, format: o } = K(), c = t(it, []), d = t(Xe, void 0), f = t(ut, void 0), p = t(at, null), m = t(nt, {}),
|
|
932
|
-
function C() {
|
|
933
|
-
y.value || (v.value = !1);
|
|
934
|
-
}
|
|
950
|
+
let { t: a, format: o } = K(), c = t(it, []), d = t(Xe, void 0), f = t(ut, void 0), p = t(at, null), m = yn(), h = t(nt, {}), v = b(() => h.savedBlocks?.isAvailable.value === !0), y = l(!1), C = l(!1);
|
|
935
951
|
function w() {
|
|
936
|
-
y.value = !
|
|
952
|
+
C.value || (y.value = !1);
|
|
937
953
|
}
|
|
938
954
|
function T() {
|
|
939
|
-
|
|
955
|
+
C.value = !0;
|
|
940
956
|
}
|
|
941
|
-
|
|
957
|
+
function O() {
|
|
958
|
+
C.value = !1, y.value = !1;
|
|
959
|
+
}
|
|
960
|
+
let k = [
|
|
942
961
|
"section",
|
|
943
962
|
"image",
|
|
944
963
|
"title",
|
|
@@ -951,88 +970,93 @@ var br = ["aria-label"], xr = {
|
|
|
951
970
|
"table",
|
|
952
971
|
"spacer",
|
|
953
972
|
"html"
|
|
954
|
-
],
|
|
955
|
-
let e =
|
|
973
|
+
], j = b(() => {
|
|
974
|
+
let e = k.map((e) => ({
|
|
956
975
|
type: e,
|
|
957
976
|
label: Oe(e, a)
|
|
958
977
|
}));
|
|
959
|
-
return
|
|
978
|
+
return h.plan && e.splice(-1, 0, {
|
|
960
979
|
type: "countdown",
|
|
961
980
|
label: Oe("countdown", a)
|
|
962
981
|
}), e;
|
|
963
|
-
}),
|
|
982
|
+
}), M = b(() => c.map((e) => ({
|
|
964
983
|
type: `custom:${e.type}`,
|
|
965
984
|
label: e.name,
|
|
966
985
|
isCustom: !0,
|
|
967
986
|
icon: e.icon
|
|
968
|
-
}))),
|
|
969
|
-
e(() =>
|
|
970
|
-
for (let t of e)
|
|
987
|
+
}))), N = b(() => [...j.value, ...M.value]), I = b(() => br(N.value, d)), L = b(() => I.value.items), R = /* @__PURE__ */ new Set();
|
|
988
|
+
e(() => I.value.unknown, (e) => {
|
|
989
|
+
for (let t of e) R.has(t) || (R.add(t), _t.warn(`config.paletteBlocks: "${t}" is not a built-in or registered custom block (use the "custom:" prefix for custom blocks) — skipping it in the palette.`));
|
|
971
990
|
}, { immediate: !0 });
|
|
972
|
-
function
|
|
991
|
+
function z(e) {
|
|
973
992
|
if (e.isCustom) {
|
|
974
993
|
let t = e.type.replace("custom:", ""), n = c.find((e) => e.type === t);
|
|
975
994
|
if (n) return U(n);
|
|
976
995
|
}
|
|
977
996
|
return H(e.type, f);
|
|
978
997
|
}
|
|
979
|
-
function
|
|
998
|
+
function B(e) {
|
|
980
999
|
if (!p) return;
|
|
981
|
-
let t =
|
|
982
|
-
|
|
1000
|
+
let t = z(e), { targetSectionId: n, columnIndex: r, index: i } = xr({
|
|
1001
|
+
blockType: e.type,
|
|
1002
|
+
selectedBlockId: p.state.selectedBlockId,
|
|
1003
|
+
findBlockLocation: p.findBlockLocation,
|
|
1004
|
+
isBlockLocked: p.isBlockLocked
|
|
1005
|
+
});
|
|
1006
|
+
p.addBlock(t, n, r, i), p.selectBlock(t.id), m(t.id);
|
|
983
1007
|
}
|
|
984
|
-
function
|
|
985
|
-
(e.key === "Enter" || e.key === " ") && (e.preventDefault(),
|
|
1008
|
+
function V(e, t) {
|
|
1009
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), B(t));
|
|
986
1010
|
}
|
|
987
1011
|
return (e, t) => (s(), x("aside", {
|
|
988
1012
|
"aria-label": g(a).sidebarNav.palette,
|
|
989
1013
|
class: "tpl-sidebar-rail tpl:absolute tpl:top-14 tpl:bottom-0 tpl:left-0 tpl:z-40 tpl:flex tpl:flex-col tpl:overflow-hidden",
|
|
990
1014
|
style: E({
|
|
991
|
-
width:
|
|
1015
|
+
width: y.value ? "200px" : "48px",
|
|
992
1016
|
backgroundColor: "var(--tpl-bg-elevated)",
|
|
993
1017
|
borderRight: "1px solid var(--tpl-border)",
|
|
994
|
-
boxShadow:
|
|
1018
|
+
boxShadow: y.value ? "var(--tpl-shadow-lg)" : "none",
|
|
995
1019
|
transition: "width 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1)"
|
|
996
1020
|
}),
|
|
997
|
-
onMouseenter: t[1] ||= (e) =>
|
|
998
|
-
onMouseleave:
|
|
999
|
-
onFocusin: t[2] ||= (e) =>
|
|
1000
|
-
onFocusout: t[3] ||= (e) =>
|
|
1001
|
-
}, [
|
|
1021
|
+
onMouseenter: t[1] ||= (e) => y.value = !0,
|
|
1022
|
+
onMouseleave: w,
|
|
1023
|
+
onFocusin: t[2] ||= (e) => y.value = !0,
|
|
1024
|
+
onFocusout: t[3] ||= (e) => y.value = !1
|
|
1025
|
+
}, [v.value ? (s(), x("div", Cr, [A("button", {
|
|
1002
1026
|
type: "button",
|
|
1003
1027
|
"aria-label": g(a).sidebarNav.browseSavedBlocks,
|
|
1004
1028
|
class: "tpl:flex tpl:h-10 tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] tpl:hover:bg-[var(--tpl-primary-light)] tpl:hover:text-[var(--tpl-primary)]",
|
|
1005
|
-
style: E({ justifyContent:
|
|
1006
|
-
onClick: t[0] ||= (e) => g(
|
|
1029
|
+
style: E({ justifyContent: y.value ? "flex-start" : "center" }),
|
|
1030
|
+
onClick: t[0] ||= (e) => g(h).savedBlocks?.openBrowser()
|
|
1007
1031
|
}, [_(g(zt), {
|
|
1008
1032
|
size: 20,
|
|
1009
1033
|
"stroke-width": 1.5,
|
|
1010
1034
|
class: "tpl:shrink-0"
|
|
1011
|
-
}),
|
|
1012
|
-
"model-value":
|
|
1035
|
+
}), y.value ? (s(), x("span", Tr, F(g(a).savedBlocks.title), 1)) : S("", !0)], 12, wr)])) : S("", !0), _(g(ee), {
|
|
1036
|
+
"model-value": L.value,
|
|
1013
1037
|
group: {
|
|
1014
1038
|
name: "blocks",
|
|
1015
1039
|
pull: "clone",
|
|
1016
1040
|
put: !1
|
|
1017
1041
|
},
|
|
1018
|
-
clone:
|
|
1042
|
+
clone: z,
|
|
1019
1043
|
sort: !1,
|
|
1020
1044
|
animation: 150,
|
|
1021
1045
|
"force-fallback": !0,
|
|
1022
1046
|
class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-0.5 tpl:overflow-y-auto tpl:p-1",
|
|
1023
|
-
onChoose:
|
|
1024
|
-
onEnd:
|
|
1047
|
+
onChoose: T,
|
|
1048
|
+
onEnd: O
|
|
1025
1049
|
}, {
|
|
1026
|
-
default: r(() => [(s(!0), x(P, null, n(
|
|
1050
|
+
default: r(() => [(s(!0), x(P, null, n(L.value, (e) => (s(), x("button", {
|
|
1027
1051
|
key: e.type,
|
|
1028
1052
|
type: "button",
|
|
1029
1053
|
"data-palette-type": e.type,
|
|
1030
1054
|
"aria-label": g(o)(g(a).sidebarNav.insertBlock, { block: e.label }),
|
|
1031
1055
|
class: "tpl:flex tpl:h-10 tpl:w-full tpl:shrink-0 tpl:cursor-grab tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-primary-light)] tpl:hover:text-[var(--tpl-primary)] tpl:active:cursor-grabbing",
|
|
1032
|
-
style: E({ justifyContent:
|
|
1033
|
-
onClick: (t) =>
|
|
1034
|
-
onKeydown: (t) =>
|
|
1035
|
-
}, [A("div",
|
|
1056
|
+
style: E({ justifyContent: y.value ? "flex-start" : "center" }),
|
|
1057
|
+
onClick: (t) => B(e),
|
|
1058
|
+
onKeydown: (t) => V(t, e)
|
|
1059
|
+
}, [A("div", Dr, [g(vn)[e.type] ? (s(), D(u(g(vn)[e.type]), {
|
|
1036
1060
|
key: 0,
|
|
1037
1061
|
size: 20,
|
|
1038
1062
|
"stroke-width": 1.5
|
|
@@ -1040,14 +1064,14 @@ var br = ["aria-label"], xr = {
|
|
|
1040
1064
|
key: 1,
|
|
1041
1065
|
icon: e.icon,
|
|
1042
1066
|
size: 20
|
|
1043
|
-
}, null, 8, ["icon"])) : S("", !0)]),
|
|
1067
|
+
}, null, 8, ["icon"])) : S("", !0)]), y.value ? (s(), x("span", Or, F(e.label), 1)) : S("", !0)], 44, Er))), 128))]),
|
|
1044
1068
|
_: 1
|
|
1045
|
-
}, 8, ["model-value"])], 44,
|
|
1069
|
+
}, 8, ["model-value"])], 44, Sr));
|
|
1046
1070
|
}
|
|
1047
1071
|
});
|
|
1048
1072
|
//#endregion
|
|
1049
1073
|
//#region src/utils/mergeTagTrigger.ts
|
|
1050
|
-
function
|
|
1074
|
+
function Ar(e, t, n, r) {
|
|
1051
1075
|
if (!n) return null;
|
|
1052
1076
|
let i = e.slice(0, t), a = i.lastIndexOf(n);
|
|
1053
1077
|
if (a === -1) return null;
|
|
@@ -1060,8 +1084,8 @@ function Or(e, t, n, r) {
|
|
|
1060
1084
|
}
|
|
1061
1085
|
//#endregion
|
|
1062
1086
|
//#region src/utils/textFieldCaret.ts
|
|
1063
|
-
var
|
|
1064
|
-
function
|
|
1087
|
+
var jr = /* @__PURE__ */ "boxSizing.width.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderStyle.paddingTop.paddingRight.paddingBottom.paddingLeft.fontStyle.fontVariant.fontWeight.fontStretch.fontSize.lineHeight.fontFamily.textAlign.textTransform.textIndent.letterSpacing.wordSpacing.tabSize.whiteSpace.wordWrap.wordBreak".split(".");
|
|
1088
|
+
function Mr(e, t, n) {
|
|
1065
1089
|
return {
|
|
1066
1090
|
left: e,
|
|
1067
1091
|
top: t,
|
|
@@ -1074,7 +1098,7 @@ function Ar(e, t, n) {
|
|
|
1074
1098
|
toJSON: () => ({})
|
|
1075
1099
|
};
|
|
1076
1100
|
}
|
|
1077
|
-
function
|
|
1101
|
+
function Nr(e, t) {
|
|
1078
1102
|
let n = e.ownerDocument, r = n.defaultView;
|
|
1079
1103
|
if (!r) return null;
|
|
1080
1104
|
let i = e.tagName === "INPUT", a = r.getComputedStyle(e), o = n.createElement("div");
|
|
@@ -1082,7 +1106,7 @@ function jr(e, t) {
|
|
|
1082
1106
|
let s = o.style;
|
|
1083
1107
|
s.position = "absolute", s.visibility = "hidden", s.top = "0", s.left = "0", s.overflow = "hidden", s.whiteSpace = i ? "pre" : "pre-wrap", s.wordWrap = i ? "normal" : "break-word";
|
|
1084
1108
|
let c = s, l = a;
|
|
1085
|
-
for (let e of
|
|
1109
|
+
for (let e of jr) c[e] = l[e];
|
|
1086
1110
|
i && (s.width = "auto", s.whiteSpace = "pre");
|
|
1087
1111
|
let u = e.value, d = u.slice(0, t);
|
|
1088
1112
|
i && (d = d.replace(/\s/g, "\xA0")), o.textContent = d;
|
|
@@ -1091,26 +1115,26 @@ function jr(e, t) {
|
|
|
1091
1115
|
let p = f.offsetTop, m = f.offsetLeft;
|
|
1092
1116
|
n.body.removeChild(o);
|
|
1093
1117
|
let h = e.getBoundingClientRect(), g = parseFloat(a.borderTopWidth) || 0, _ = parseFloat(a.borderLeftWidth) || 0, v = parseFloat(a.lineHeight) || parseFloat(a.fontSize) || 0, y = h.left + m + _ - e.scrollLeft;
|
|
1094
|
-
if (i) return
|
|
1118
|
+
if (i) return Mr(y, h.top, h.bottom);
|
|
1095
1119
|
let b = h.top + p + g - e.scrollTop;
|
|
1096
|
-
return
|
|
1120
|
+
return Mr(y, b, b + v);
|
|
1097
1121
|
}
|
|
1098
1122
|
//#endregion
|
|
1099
1123
|
//#region src/composables/useMergeTagAutocomplete.ts
|
|
1100
|
-
var
|
|
1124
|
+
var Pr = /* @__PURE__ */ new Set([
|
|
1101
1125
|
"ArrowLeft",
|
|
1102
1126
|
"ArrowRight",
|
|
1103
1127
|
"Home",
|
|
1104
1128
|
"End"
|
|
1105
1129
|
]);
|
|
1106
|
-
function
|
|
1107
|
-
let { elementRef: n, modelValue: r, emit: i, mergeTags: o, syntax: s, enabled: c, onInsert: l } = e, u = ae(s), d = ne(s), f = c && u !== null && o.length > 0, p = t($e, null), h = (j(p) ? p.value : p)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", g = yt(), _ =
|
|
1130
|
+
function Fr(e) {
|
|
1131
|
+
let { elementRef: n, modelValue: r, emit: i, mergeTags: o, syntax: s, enabled: c, onInsert: l } = e, u = ae(s), d = ne(s), f = c && u !== null && o.length > 0, p = t($e, null), h = (j(p) ? p.value : p)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", g = yt(), _ = On(h, g), v = !1;
|
|
1108
1132
|
a() && m(() => {
|
|
1109
1133
|
v = !0, _.close();
|
|
1110
1134
|
});
|
|
1111
1135
|
function y(e) {
|
|
1112
1136
|
let t = e.value ?? "";
|
|
1113
|
-
return
|
|
1137
|
+
return Ar(t, e.selectionStart ?? t.length, u, d);
|
|
1114
1138
|
}
|
|
1115
1139
|
function b(e, t, a) {
|
|
1116
1140
|
let o = e.value ?? r(), s = o.slice(t.caret), c = d && s.startsWith(d) ? d.length : 0, u = o.slice(0, t.triggerStart), f = o.slice(t.caret + c), p = u + a.value + f, m = u.length + a.value.length;
|
|
@@ -1132,7 +1156,7 @@ function Nr(e) {
|
|
|
1132
1156
|
_.close();
|
|
1133
1157
|
return;
|
|
1134
1158
|
}
|
|
1135
|
-
let r =
|
|
1159
|
+
let r = kn(o, t.query), i = () => Nr(e, t.triggerStart), a = (n) => b(e, t, n);
|
|
1136
1160
|
_.isOpen() ? _.update({
|
|
1137
1161
|
items: r,
|
|
1138
1162
|
getRect: i,
|
|
@@ -1145,7 +1169,7 @@ function Nr(e) {
|
|
|
1145
1169
|
});
|
|
1146
1170
|
}
|
|
1147
1171
|
function S(e) {
|
|
1148
|
-
return _.isOpen() ? e.key === "Escape" ? (_.close(), !0) :
|
|
1172
|
+
return _.isOpen() ? e.key === "Escape" ? (_.close(), !0) : Pr.has(e.key) ? (_.close(), !1) : _.handleKeyDown(e) : !1;
|
|
1149
1173
|
}
|
|
1150
1174
|
return {
|
|
1151
1175
|
available: f,
|
|
@@ -1157,12 +1181,12 @@ function Nr(e) {
|
|
|
1157
1181
|
}
|
|
1158
1182
|
//#endregion
|
|
1159
1183
|
//#region src/composables/useMergeTagField.ts
|
|
1160
|
-
function
|
|
1184
|
+
function Ir(e) {
|
|
1161
1185
|
let { modelValue: t, emit: n, elementRef: r } = e, { mergeTags: i, canRequestMergeTag: o, isRequesting: s, isMergeTagValue: c, getMergeTagLabel: u, requestMergeTag: d, syntax: f, autocomplete: p } = fn(), { canInsertLogicTag: h, isRequesting: g, requestLogicTag: _ } = ue(), v = l(!1), y = !1, x = !1;
|
|
1162
1186
|
a() && m(() => {
|
|
1163
1187
|
x = !0;
|
|
1164
1188
|
});
|
|
1165
|
-
let S =
|
|
1189
|
+
let S = Fr({
|
|
1166
1190
|
elementRef: r,
|
|
1167
1191
|
modelValue: t,
|
|
1168
1192
|
emit: n,
|
|
@@ -1284,10 +1308,10 @@ function Pr(e) {
|
|
|
1284
1308
|
}
|
|
1285
1309
|
//#endregion
|
|
1286
1310
|
//#region src/components/MergeTagSegments.vue?vue&type=script&setup=true&lang.ts
|
|
1287
|
-
var
|
|
1311
|
+
var Lr = ["aria-label", "onKeydown"], Rr = ["data-tooltip"], zr = ["data-tooltip"], Br = {
|
|
1288
1312
|
key: 2,
|
|
1289
1313
|
class: "tpl:text-sm tpl:text-[var(--tpl-text)]"
|
|
1290
|
-
},
|
|
1314
|
+
}, Vr = ["aria-label", "title"], Hr = /* @__PURE__ */ d({
|
|
1291
1315
|
__name: "MergeTagSegments",
|
|
1292
1316
|
props: {
|
|
1293
1317
|
segments: {},
|
|
@@ -1315,7 +1339,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1315
1339
|
"background-color": "color-mix(\n in srgb,\n var(--tpl-primary) 20%,\n transparent\n )",
|
|
1316
1340
|
color: "var(--tpl-primary)"
|
|
1317
1341
|
}
|
|
1318
|
-
}, F(e.label), 9,
|
|
1342
|
+
}, F(e.label), 9, Rr)) : e.type === "logicMergeTag" ? (s(), x("span", {
|
|
1319
1343
|
key: 1,
|
|
1320
1344
|
class: "tpl-tooltip tpl:inline-flex tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase",
|
|
1321
1345
|
"data-tooltip": e.value,
|
|
@@ -1324,7 +1348,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1324
1348
|
border: "1.5px solid\n color-mix(in srgb, var(--tpl-primary) 50%, transparent)",
|
|
1325
1349
|
color: "var(--tpl-primary)"
|
|
1326
1350
|
}
|
|
1327
|
-
}, F(e.keyword), 9,
|
|
1351
|
+
}, F(e.keyword), 9, zr)) : (s(), x("span", Br, F(e.value), 1))], 64))), 128)), A("button", {
|
|
1328
1352
|
type: "button",
|
|
1329
1353
|
class: "tpl:ml-auto tpl:flex tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-dim)] tpl:opacity-60 tpl:transition-all tpl:hover:text-[var(--tpl-danger)] tpl:hover:opacity-100",
|
|
1330
1354
|
"aria-label": g(i).mergeTag.remove,
|
|
@@ -1333,13 +1357,13 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1333
1357
|
}, [_(g(Qt), {
|
|
1334
1358
|
size: 12,
|
|
1335
1359
|
"stroke-width": 2.5
|
|
1336
|
-
})], 8,
|
|
1360
|
+
})], 8, Vr)], 42, Lr));
|
|
1337
1361
|
}
|
|
1338
|
-
}),
|
|
1362
|
+
}), Ur = [
|
|
1339
1363
|
"aria-label",
|
|
1340
1364
|
"title",
|
|
1341
1365
|
"disabled"
|
|
1342
|
-
],
|
|
1366
|
+
], Wr = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] tpl:hover:bg-[var(--tpl-primary-light)] tpl:hover:text-[var(--tpl-primary)] tpl:hover:border-[var(--tpl-primary)]", Gr = /* @__PURE__ */ d({
|
|
1343
1367
|
__name: "MergeTagInsertButton",
|
|
1344
1368
|
props: { disabled: { type: Boolean } },
|
|
1345
1369
|
emits: ["insert"],
|
|
@@ -1347,7 +1371,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1347
1371
|
let { t } = K();
|
|
1348
1372
|
return (n, r) => (s(), x("button", {
|
|
1349
1373
|
type: "button",
|
|
1350
|
-
class: y([
|
|
1374
|
+
class: y([Wr, "tpl:mt-1.5"]),
|
|
1351
1375
|
"aria-label": g(t).mergeTag.insert,
|
|
1352
1376
|
title: g(t).mergeTag.insert,
|
|
1353
1377
|
disabled: e.disabled,
|
|
@@ -1356,13 +1380,13 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1356
1380
|
}, [_(g(Nt), {
|
|
1357
1381
|
size: 12,
|
|
1358
1382
|
"stroke-width": 2
|
|
1359
|
-
}), R(" " + F(g(t).mergeTag.insertShort), 1)], 42,
|
|
1383
|
+
}), R(" " + F(g(t).mergeTag.insertShort), 1)], 42, Ur));
|
|
1360
1384
|
}
|
|
1361
|
-
}),
|
|
1385
|
+
}), Kr = [
|
|
1362
1386
|
"aria-label",
|
|
1363
1387
|
"title",
|
|
1364
1388
|
"disabled"
|
|
1365
|
-
],
|
|
1389
|
+
], qr = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] tpl:hover:bg-[var(--tpl-primary-light)] tpl:hover:text-[var(--tpl-primary)] tpl:hover:border-[var(--tpl-primary)]", Jr = /* @__PURE__ */ d({
|
|
1366
1390
|
__name: "LogicTagInsertButton",
|
|
1367
1391
|
props: { disabled: { type: Boolean } },
|
|
1368
1392
|
emits: ["insert"],
|
|
@@ -1370,7 +1394,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1370
1394
|
let { t } = K();
|
|
1371
1395
|
return (n, r) => (s(), x("button", {
|
|
1372
1396
|
type: "button",
|
|
1373
|
-
class: y([
|
|
1397
|
+
class: y([qr, "tpl:mt-1.5"]),
|
|
1374
1398
|
"aria-label": g(t).logicTag.insert,
|
|
1375
1399
|
title: g(t).logicTag.insert,
|
|
1376
1400
|
disabled: e.disabled,
|
|
@@ -1380,19 +1404,19 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1380
1404
|
}, [_(g(Ft), {
|
|
1381
1405
|
size: 12,
|
|
1382
1406
|
"stroke-width": 2
|
|
1383
|
-
}), R(" " + F(g(t).logicTag.insertShort), 1)], 42,
|
|
1407
|
+
}), R(" " + F(g(t).logicTag.insertShort), 1)], 42, Kr));
|
|
1384
1408
|
}
|
|
1385
|
-
}),
|
|
1409
|
+
}), Yr = { key: 0 }, Xr = {
|
|
1386
1410
|
key: 0,
|
|
1387
1411
|
class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
|
|
1388
|
-
},
|
|
1412
|
+
}, Zr = { key: 1 }, Qr = [
|
|
1389
1413
|
"value",
|
|
1390
1414
|
"placeholder",
|
|
1391
1415
|
"rows"
|
|
1392
|
-
],
|
|
1416
|
+
], $r = {
|
|
1393
1417
|
key: 0,
|
|
1394
1418
|
class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
|
|
1395
|
-
},
|
|
1419
|
+
}, ei = "tpl:w-full tpl:resize-y tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-[var(--tpl-shadow-sm)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", ti = "tpl:flex tpl:w-full tpl:min-h-20 tpl:cursor-pointer tpl:items-start tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-[var(--tpl-shadow-sm)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", ni = /* @__PURE__ */ d({
|
|
1396
1420
|
__name: "MergeTagTextarea",
|
|
1397
1421
|
props: {
|
|
1398
1422
|
modelValue: {},
|
|
@@ -1401,32 +1425,32 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1401
1425
|
},
|
|
1402
1426
|
emits: ["update:modelValue"],
|
|
1403
1427
|
setup(e, { emit: t }) {
|
|
1404
|
-
let n = e, r = t, i = l(null), { segments: a, hasMergeTags: o, canRequestMergeTag: c, isRequestingMergeTag: u, canInsertLogicTag: d, isRequestingLogicTag: f, isEditing: p, startEditing: m, handleInput: h, handleKeydown: v, handleClick: b, handleBlur: C, clearValue: w, insertMergeTag: T, insertLogicTag: E } =
|
|
1428
|
+
let n = e, r = t, i = l(null), { segments: a, hasMergeTags: o, canRequestMergeTag: c, isRequestingMergeTag: u, canInsertLogicTag: d, isRequestingLogicTag: f, isEditing: p, startEditing: m, handleInput: h, handleKeydown: v, handleClick: b, handleBlur: C, clearValue: w, insertMergeTag: T, insertLogicTag: E } = Ir({
|
|
1405
1429
|
modelValue: () => n.modelValue,
|
|
1406
1430
|
emit: (e) => r("update:modelValue", e),
|
|
1407
1431
|
elementRef: i
|
|
1408
1432
|
});
|
|
1409
|
-
return (t, n) => g(o) && !g(p) ? (s(), x("div",
|
|
1433
|
+
return (t, n) => g(o) && !g(p) ? (s(), x("div", Yr, [_(Hr, {
|
|
1410
1434
|
segments: g(a),
|
|
1411
|
-
"display-class":
|
|
1435
|
+
"display-class": ti,
|
|
1412
1436
|
onEdit: g(m),
|
|
1413
1437
|
onClear: g(w)
|
|
1414
1438
|
}, null, 8, [
|
|
1415
1439
|
"segments",
|
|
1416
1440
|
"onEdit",
|
|
1417
1441
|
"onClear"
|
|
1418
|
-
]), g(c) || g(d) ? (s(), x("div",
|
|
1442
|
+
]), g(c) || g(d) ? (s(), x("div", Xr, [g(c) ? (s(), D(Gr, {
|
|
1419
1443
|
key: 0,
|
|
1420
1444
|
disabled: g(u),
|
|
1421
1445
|
onInsert: g(T)
|
|
1422
|
-
}, null, 8, ["disabled", "onInsert"])) : S("", !0), g(d) ? (s(), D(
|
|
1446
|
+
}, null, 8, ["disabled", "onInsert"])) : S("", !0), g(d) ? (s(), D(Jr, {
|
|
1423
1447
|
key: 1,
|
|
1424
1448
|
disabled: g(f),
|
|
1425
1449
|
onInsert: g(E)
|
|
1426
|
-
}, null, 8, ["disabled", "onInsert"])) : S("", !0)])) : S("", !0)])) : (s(), x("div",
|
|
1450
|
+
}, null, 8, ["disabled", "onInsert"])) : S("", !0)])) : S("", !0)])) : (s(), x("div", Zr, [A("textarea", {
|
|
1427
1451
|
ref_key: "textareaRef",
|
|
1428
1452
|
ref: i,
|
|
1429
|
-
class: y(
|
|
1453
|
+
class: y(ei),
|
|
1430
1454
|
value: e.modelValue,
|
|
1431
1455
|
placeholder: e.placeholder,
|
|
1432
1456
|
rows: e.rows,
|
|
@@ -1434,17 +1458,17 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1434
1458
|
onKeydown: n[1] ||= (...e) => g(v) && g(v)(...e),
|
|
1435
1459
|
onClick: n[2] ||= (...e) => g(b) && g(b)(...e),
|
|
1436
1460
|
onBlur: n[3] ||= (...e) => g(C) && g(C)(...e)
|
|
1437
|
-
}, null, 40,
|
|
1461
|
+
}, null, 40, Qr), g(c) || g(d) ? (s(), x("div", $r, [g(c) ? (s(), D(Gr, {
|
|
1438
1462
|
key: 0,
|
|
1439
1463
|
disabled: g(u),
|
|
1440
1464
|
onInsert: g(T)
|
|
1441
|
-
}, null, 8, ["disabled", "onInsert"])) : S("", !0), g(d) ? (s(), D(
|
|
1465
|
+
}, null, 8, ["disabled", "onInsert"])) : S("", !0), g(d) ? (s(), D(Jr, {
|
|
1442
1466
|
key: 1,
|
|
1443
1467
|
disabled: g(f),
|
|
1444
1468
|
onInsert: g(E)
|
|
1445
1469
|
}, null, 8, ["disabled", "onInsert"])) : S("", !0)])) : S("", !0)]));
|
|
1446
1470
|
}
|
|
1447
|
-
}),
|
|
1471
|
+
}), ri = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, ii = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, ai = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, oi = { class: "tpl:mb-3.5" }, si = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, ci = ["onClick"], li = { class: "tpl:flex tpl:items-stretch" }, ui = ["value"], di = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, fi = { class: "tpl:mb-3.5" }, pi = { class: "tpl:mb-3.5" }, mi = { class: "tpl:mb-3.5" }, hi = { class: "tpl:mb-3.5" }, gi = ["value"], _i = ["value"], vi = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, yi = ["value"], bi = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, xi = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Si = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, Ci = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, wi = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, Ti = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, Ei = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, Di = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Oi = { class: "tpl:mb-1 tpl:last:mb-0" }, ki = { class: "tpl:mb-1 tpl:last:mb-0" }, Ai = { class: "tpl:mb-1 tpl:last:mb-0" }, ji = 150, Mi = /* @__PURE__ */ d({
|
|
1448
1472
|
__name: "TemplateSettings",
|
|
1449
1473
|
props: { settings: {} },
|
|
1450
1474
|
emits: ["update"],
|
|
@@ -1467,14 +1491,14 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1467
1491
|
label: "800px"
|
|
1468
1492
|
}
|
|
1469
1493
|
];
|
|
1470
|
-
return (t, r) => (s(), x("aside",
|
|
1471
|
-
A("div", { class: y(g(
|
|
1472
|
-
A("div",
|
|
1494
|
+
return (t, r) => (s(), x("aside", ri, [A("div", ii, [
|
|
1495
|
+
A("div", { class: y(g(wn)) }, [
|
|
1496
|
+
A("div", ai, [_(g(sn), {
|
|
1473
1497
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1474
1498
|
size: 14,
|
|
1475
1499
|
"stroke-width": 2
|
|
1476
1500
|
}), A("span", null, F(g(a).templateSettings.layout), 1)]),
|
|
1477
|
-
A("div",
|
|
1501
|
+
A("div", oi, [A("label", { class: y(g(q)) }, F(g(a).templateSettings.widthPreset), 3), A("div", si, [(s(), x(P, null, n(u, (t) => A("button", {
|
|
1478
1502
|
key: t.value,
|
|
1479
1503
|
class: "tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
|
|
1480
1504
|
style: E({
|
|
@@ -1483,38 +1507,38 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1483
1507
|
boxShadow: e.settings.width === t.value ? "var(--tpl-shadow)" : "none"
|
|
1484
1508
|
}),
|
|
1485
1509
|
onClick: (e) => i("update", { width: t.value })
|
|
1486
|
-
}, F(t.label), 13,
|
|
1487
|
-
A("div", null, [A("label", { class: y(g(q)) }, F(g(a).templateSettings.customWidth), 3), A("div",
|
|
1510
|
+
}, F(t.label), 13, ci)), 64))])]),
|
|
1511
|
+
A("div", null, [A("label", { class: y(g(q)) }, F(g(a).templateSettings.customWidth), 3), A("div", li, [A("input", {
|
|
1488
1512
|
type: "number",
|
|
1489
1513
|
class: y(g(Y)),
|
|
1490
1514
|
value: e.settings.width,
|
|
1491
1515
|
min: "300",
|
|
1492
1516
|
max: "900",
|
|
1493
1517
|
onInput: r[0] ||= (e) => i("update", { width: Number(e.target.value) })
|
|
1494
|
-
}, null, 42,
|
|
1518
|
+
}, null, 42, ui), A("span", { class: y(g(J)) }, "px", 2)])])
|
|
1495
1519
|
], 2),
|
|
1496
|
-
A("div", { class: y(g(
|
|
1497
|
-
A("div",
|
|
1520
|
+
A("div", { class: y(g(wn)) }, [
|
|
1521
|
+
A("div", di, [_(g(xt), {
|
|
1498
1522
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1499
1523
|
size: 14,
|
|
1500
1524
|
"stroke-width": 2
|
|
1501
1525
|
}), A("span", null, F(g(a).templateSettings.appearance), 1)]),
|
|
1502
|
-
A("div",
|
|
1526
|
+
A("div", fi, [A("label", { class: y(g(q)) }, F(g(a).templateSettings.backgroundColor), 3), _(Z, {
|
|
1503
1527
|
"model-value": e.settings.backgroundColor,
|
|
1504
|
-
placeholder: g(
|
|
1528
|
+
placeholder: g(En),
|
|
1505
1529
|
"onUpdate:modelValue": r[1] ||= (e) => i("update", { backgroundColor: e })
|
|
1506
1530
|
}, null, 8, ["model-value", "placeholder"])]),
|
|
1507
|
-
A("div",
|
|
1531
|
+
A("div", pi, [A("label", { class: y(g(q)) }, F(g(a).templateSettings.textColor), 3), _(Z, {
|
|
1508
1532
|
"model-value": e.settings.textColor ?? "",
|
|
1509
1533
|
"seed-color": "#1a1a1a",
|
|
1510
1534
|
"onUpdate:modelValue": r[2] ||= (e) => i("update", { textColor: e })
|
|
1511
1535
|
}, null, 8, ["model-value"])]),
|
|
1512
|
-
A("div",
|
|
1536
|
+
A("div", mi, [A("label", { class: y(g(q)) }, F(g(a).templateSettings.linkColor), 3), _(Z, {
|
|
1513
1537
|
"model-value": e.settings.linkColor ?? "",
|
|
1514
1538
|
"seed-color": "#0066cc",
|
|
1515
1539
|
"onUpdate:modelValue": r[3] ||= (e) => i("update", { linkColor: e || void 0 })
|
|
1516
1540
|
}, null, 8, ["model-value"])]),
|
|
1517
|
-
A("div",
|
|
1541
|
+
A("div", hi, [_(Q, {
|
|
1518
1542
|
class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
|
|
1519
1543
|
"model-value": e.settings.linkUnderline,
|
|
1520
1544
|
label: g(a).templateSettings.linkUnderline,
|
|
@@ -1527,9 +1551,9 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1527
1551
|
}, [(s(!0), x(P, null, n(c.value, (e) => (s(), x("option", {
|
|
1528
1552
|
key: e.value,
|
|
1529
1553
|
value: e.value
|
|
1530
|
-
}, F(e.label), 9,
|
|
1554
|
+
}, F(e.label), 9, _i))), 128))], 42, gi)])
|
|
1531
1555
|
], 2),
|
|
1532
|
-
A("div", { class: y(g(
|
|
1556
|
+
A("div", { class: y(g(wn)) }, [A("div", vi, [_(g(Vt), {
|
|
1533
1557
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1534
1558
|
size: 14,
|
|
1535
1559
|
"stroke-width": 2
|
|
@@ -1544,40 +1568,40 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1544
1568
|
autocapitalize: "off",
|
|
1545
1569
|
autocomplete: "off",
|
|
1546
1570
|
onInput: r[6] ||= (e) => i("update", { locale: e.target.value.trim() || void 0 })
|
|
1547
|
-
}, null, 42,
|
|
1548
|
-
A("p",
|
|
1571
|
+
}, null, 42, yi),
|
|
1572
|
+
A("p", bi, F(g(a).templateSettings.contentLocaleHint), 1)
|
|
1549
1573
|
])], 2),
|
|
1550
|
-
A("div", { class: y(g(
|
|
1574
|
+
A("div", { class: y(g(wn)) }, [A("div", xi, [_(g(cn), {
|
|
1551
1575
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1552
1576
|
size: 14,
|
|
1553
1577
|
"stroke-width": 2
|
|
1554
|
-
}), A("span", null, F(g(a).templateSettings.preheaderText), 1)]), A("div", null, [_(
|
|
1578
|
+
}), A("span", null, F(g(a).templateSettings.preheaderText), 1)]), A("div", null, [_(ni, {
|
|
1555
1579
|
"model-value": e.settings.preheaderText ?? "",
|
|
1556
1580
|
placeholder: g(a).templateSettings.preheaderTextPlaceholder,
|
|
1557
1581
|
rows: 2,
|
|
1558
1582
|
"onUpdate:modelValue": r[7] ||= (e) => i("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
|
|
1559
|
-
}, null, 8, ["model-value", "placeholder"]), A("div",
|
|
1560
|
-
A("div",
|
|
1583
|
+
}, null, 8, ["model-value", "placeholder"]), A("div", Si, [A("span", Ci, F(g(a).templateSettings.preheaderTextHint), 1), A("span", wi, F((e.settings.preheaderText ?? "").length) + "/" + F(ji), 1)])])], 2),
|
|
1584
|
+
A("div", Ti, [A("div", Ei, [_(g(Wt), {
|
|
1561
1585
|
size: 14,
|
|
1562
1586
|
"stroke-width": 2
|
|
1563
|
-
}), A("span", null, F(g(a).templateSettings.tips), 1)]), A("ul",
|
|
1564
|
-
A("li",
|
|
1565
|
-
A("li",
|
|
1566
|
-
A("li",
|
|
1587
|
+
}), A("span", null, F(g(a).templateSettings.tips), 1)]), A("ul", Di, [
|
|
1588
|
+
A("li", Oi, F(g(a).templateSettings.tip1), 1),
|
|
1589
|
+
A("li", ki, F(g(a).templateSettings.tip2), 1),
|
|
1590
|
+
A("li", Ai, F(g(a).templateSettings.tip3), 1)
|
|
1567
1591
|
])])
|
|
1568
1592
|
])]));
|
|
1569
1593
|
}
|
|
1570
|
-
}),
|
|
1594
|
+
}), Ni = { key: 0 }, Pi = {
|
|
1571
1595
|
key: 0,
|
|
1572
1596
|
class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
|
|
1573
|
-
},
|
|
1597
|
+
}, Fi = { key: 1 }, Ii = [
|
|
1574
1598
|
"type",
|
|
1575
1599
|
"value",
|
|
1576
1600
|
"placeholder"
|
|
1577
|
-
],
|
|
1601
|
+
], Li = {
|
|
1578
1602
|
key: 0,
|
|
1579
1603
|
class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
|
|
1580
|
-
},
|
|
1604
|
+
}, Ri = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-[var(--tpl-shadow-sm)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", $ = /*#__PURE__*/ un(/* @__PURE__ */ d({
|
|
1581
1605
|
__name: "MergeTagInput",
|
|
1582
1606
|
props: {
|
|
1583
1607
|
modelValue: {},
|
|
@@ -1590,14 +1614,14 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1590
1614
|
},
|
|
1591
1615
|
emits: ["update:modelValue"],
|
|
1592
1616
|
setup(e, { emit: t }) {
|
|
1593
|
-
let n = e, r = t, i = l(null), { segments: a, hasMergeTags: o, canRequestMergeTag: c, isRequestingMergeTag: u, canInsertLogicTag: d, isRequestingLogicTag: f, isEditing: p, startEditing: m, handleInput: h, handleKeydown: v, handleClick: b, handleBlur: C, clearValue: w, insertMergeTag: T, insertLogicTag: E } =
|
|
1617
|
+
let n = e, r = t, i = l(null), { segments: a, hasMergeTags: o, canRequestMergeTag: c, isRequestingMergeTag: u, canInsertLogicTag: d, isRequestingLogicTag: f, isEditing: p, startEditing: m, handleInput: h, handleKeydown: v, handleClick: b, handleBlur: C, clearValue: w, insertMergeTag: T, insertLogicTag: E } = Ir({
|
|
1594
1618
|
modelValue: () => n.modelValue,
|
|
1595
1619
|
emit: (e) => r("update:modelValue", e),
|
|
1596
1620
|
elementRef: i
|
|
1597
1621
|
});
|
|
1598
|
-
return (t, n) => g(o) && !g(p) ? (s(), x("div",
|
|
1622
|
+
return (t, n) => g(o) && !g(p) ? (s(), x("div", Ni, [_(Hr, {
|
|
1599
1623
|
segments: g(a),
|
|
1600
|
-
"display-class":
|
|
1624
|
+
"display-class": Ri,
|
|
1601
1625
|
pulse: e.pulse,
|
|
1602
1626
|
onEdit: g(m),
|
|
1603
1627
|
onClear: g(w)
|
|
@@ -1606,15 +1630,15 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1606
1630
|
"pulse",
|
|
1607
1631
|
"onEdit",
|
|
1608
1632
|
"onClear"
|
|
1609
|
-
]), g(c) || g(d) ? (s(), x("div",
|
|
1633
|
+
]), g(c) || g(d) ? (s(), x("div", Pi, [g(c) ? (s(), D(Gr, {
|
|
1610
1634
|
key: 0,
|
|
1611
1635
|
disabled: g(u),
|
|
1612
1636
|
onInsert: g(T)
|
|
1613
|
-
}, null, 8, ["disabled", "onInsert"])) : S("", !0), g(d) ? (s(), D(
|
|
1637
|
+
}, null, 8, ["disabled", "onInsert"])) : S("", !0), g(d) ? (s(), D(Jr, {
|
|
1614
1638
|
key: 1,
|
|
1615
1639
|
disabled: g(f),
|
|
1616
1640
|
onInsert: g(E)
|
|
1617
|
-
}, null, 8, ["disabled", "onInsert"])) : S("", !0)])) : S("", !0)])) : (s(), x("div",
|
|
1641
|
+
}, null, 8, ["disabled", "onInsert"])) : S("", !0)])) : S("", !0)])) : (s(), x("div", Fi, [A("input", {
|
|
1618
1642
|
ref_key: "inputRef",
|
|
1619
1643
|
ref: i,
|
|
1620
1644
|
type: e.type,
|
|
@@ -1625,20 +1649,20 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1625
1649
|
onKeydown: n[1] ||= (...e) => g(v) && g(v)(...e),
|
|
1626
1650
|
onClick: n[2] ||= (...e) => g(b) && g(b)(...e),
|
|
1627
1651
|
onBlur: n[3] ||= (...e) => g(C) && g(C)(...e)
|
|
1628
|
-
}, null, 42,
|
|
1652
|
+
}, null, 42, Ii), g(c) || g(d) ? (s(), x("div", Li, [g(c) ? (s(), D(Gr, {
|
|
1629
1653
|
key: 0,
|
|
1630
1654
|
disabled: g(u),
|
|
1631
1655
|
onInsert: g(T)
|
|
1632
|
-
}, null, 8, ["disabled", "onInsert"])) : S("", !0), g(d) ? (s(), D(
|
|
1656
|
+
}, null, 8, ["disabled", "onInsert"])) : S("", !0), g(d) ? (s(), D(Jr, {
|
|
1633
1657
|
key: 1,
|
|
1634
1658
|
disabled: g(f),
|
|
1635
1659
|
onInsert: g(E)
|
|
1636
1660
|
}, null, 8, ["disabled", "onInsert"])) : S("", !0)])) : S("", !0)]));
|
|
1637
1661
|
}
|
|
1638
|
-
}), [["__scopeId", "data-v-c289916a"]]),
|
|
1662
|
+
}), [["__scopeId", "data-v-c289916a"]]), zi = { class: "tpl:mb-3.5" }, Bi = ["value"], Vi = { value: "" }, Hi = ["value"], Ui = { class: "tpl:mb-3.5" }, Wi = { class: "tpl:mb-3.5" }, Gi = { class: "tpl:mb-3.5" }, Ki = { class: "tpl:mb-3.5" }, qi = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Ji = { class: "tpl:mb-3.5" }, Yi = { class: "tpl:flex tpl:items-stretch" }, Xi = ["value"], Zi = { class: "tpl:mb-3.5" }, Qi = { class: "tpl:flex tpl:items-stretch" }, $i = ["value"], ea = { class: "tpl:mb-3.5" }, ta = ["value"], na = { value: "auto" }, ra = { value: "full" }, ia = { value: "custom" }, aa = {
|
|
1639
1663
|
key: 0,
|
|
1640
1664
|
class: "tpl:mt-2 tpl:flex tpl:items-stretch"
|
|
1641
|
-
},
|
|
1665
|
+
}, oa = ["value"], sa = { class: "tpl:mb-3.5" }, ca = 200, la = /* @__PURE__ */ d({
|
|
1642
1666
|
__name: "ButtonToolbar",
|
|
1643
1667
|
props: {
|
|
1644
1668
|
block: {},
|
|
@@ -1656,7 +1680,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1656
1680
|
return;
|
|
1657
1681
|
}
|
|
1658
1682
|
if (e === "custom") {
|
|
1659
|
-
c("width", typeof r.block.width == "number" ? r.block.width :
|
|
1683
|
+
c("width", typeof r.block.width == "number" ? r.block.width : ca);
|
|
1660
1684
|
return;
|
|
1661
1685
|
}
|
|
1662
1686
|
c("width", void 0);
|
|
@@ -1666,20 +1690,20 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1666
1690
|
!Number.isFinite(t) || t <= 0 || c("width", t);
|
|
1667
1691
|
}
|
|
1668
1692
|
return (t, r) => (s(), x(P, null, [
|
|
1669
|
-
A("div",
|
|
1693
|
+
A("div", zi, [A("label", { class: y(g(q)) }, F(g(a).button.fontFamily), 3), A("select", {
|
|
1670
1694
|
class: y(g(X)),
|
|
1671
1695
|
value: e.block.fontFamily || "",
|
|
1672
1696
|
onChange: r[0] ||= (e) => c("fontFamily", e.target.value || void 0)
|
|
1673
|
-
}, [A("option",
|
|
1697
|
+
}, [A("option", Vi, F(g(a).button.inheritFont), 1), (s(!0), x(P, null, n(e.fontFamilies, (e) => (s(), x("option", {
|
|
1674
1698
|
key: e.value,
|
|
1675
1699
|
value: e.value
|
|
1676
|
-
}, F(e.label), 9,
|
|
1677
|
-
A("div",
|
|
1700
|
+
}, F(e.label), 9, Hi))), 128))], 42, Bi)]),
|
|
1701
|
+
A("div", Ui, [A("label", { class: y(g(q)) }, F(g(a).button.text), 3), _($, {
|
|
1678
1702
|
"model-value": e.block.text,
|
|
1679
1703
|
type: "text",
|
|
1680
1704
|
"onUpdate:modelValue": r[1] ||= (e) => c("text", e)
|
|
1681
1705
|
}, null, 8, ["model-value"])]),
|
|
1682
|
-
A("div",
|
|
1706
|
+
A("div", Wi, [
|
|
1683
1707
|
A("label", { class: y(g(q)) }, F(g(a).button.url), 3),
|
|
1684
1708
|
_($, {
|
|
1685
1709
|
"model-value": e.block.url,
|
|
@@ -1695,49 +1719,49 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1695
1719
|
"onUpdate:modelValue": r[3] ||= (e) => c("openInNewTab", e)
|
|
1696
1720
|
}, null, 8, ["model-value", "label"])) : S("", !0)
|
|
1697
1721
|
]),
|
|
1698
|
-
A("div",
|
|
1722
|
+
A("div", Gi, [A("label", { class: y(g(q)) }, F(g(a).button.background), 3), _(Z, {
|
|
1699
1723
|
"model-value": e.block.backgroundColor,
|
|
1700
1724
|
"onUpdate:modelValue": r[4] ||= (e) => c("backgroundColor", e)
|
|
1701
1725
|
}, null, 8, ["model-value"])]),
|
|
1702
|
-
A("div",
|
|
1726
|
+
A("div", Ki, [A("label", { class: y(g(q)) }, F(g(a).button.textColor), 3), _(Z, {
|
|
1703
1727
|
"model-value": e.block.textColor,
|
|
1704
1728
|
"onUpdate:modelValue": r[5] ||= (e) => c("textColor", e)
|
|
1705
1729
|
}, null, 8, ["model-value"])]),
|
|
1706
|
-
A("div",
|
|
1730
|
+
A("div", qi, [A("div", Ji, [A("label", { class: y(g(q)) }, F(g(a).button.borderRadius), 3), A("div", Yi, [A("input", {
|
|
1707
1731
|
type: "number",
|
|
1708
1732
|
class: y(g(Y)),
|
|
1709
1733
|
value: e.block.borderRadius,
|
|
1710
1734
|
min: "0",
|
|
1711
1735
|
max: "50",
|
|
1712
1736
|
onInput: r[6] ||= (e) => c("borderRadius", Number(e.target.value))
|
|
1713
|
-
}, null, 42,
|
|
1737
|
+
}, null, 42, Xi), A("span", { class: y(g(J)) }, "px", 2)])]), A("div", Zi, [A("label", { class: y(g(q)) }, F(g(a).button.fontSize), 3), A("div", Qi, [A("input", {
|
|
1714
1738
|
type: "number",
|
|
1715
1739
|
class: y(g(Y)),
|
|
1716
1740
|
value: e.block.fontSize,
|
|
1717
1741
|
min: "10",
|
|
1718
1742
|
max: "36",
|
|
1719
1743
|
onInput: r[7] ||= (e) => c("fontSize", Number(e.target.value))
|
|
1720
|
-
}, null, 42,
|
|
1721
|
-
A("div",
|
|
1744
|
+
}, null, 42, $i), A("span", { class: y(g(J)) }, "px", 2)])])]),
|
|
1745
|
+
A("div", ea, [
|
|
1722
1746
|
A("label", { class: y(g(q)) }, F(g(a).button.width), 3),
|
|
1723
1747
|
A("select", {
|
|
1724
1748
|
class: y(g(X)),
|
|
1725
1749
|
value: o.value,
|
|
1726
1750
|
onChange: r[8] ||= (e) => l(e.target.value)
|
|
1727
1751
|
}, [
|
|
1728
|
-
A("option",
|
|
1729
|
-
A("option",
|
|
1730
|
-
A("option",
|
|
1731
|
-
], 42,
|
|
1732
|
-
o.value === "custom" ? (s(), x("div",
|
|
1752
|
+
A("option", na, F(g(a).button.widthAuto), 1),
|
|
1753
|
+
A("option", ra, F(g(a).button.fullWidth), 1),
|
|
1754
|
+
A("option", ia, F(g(a).button.widthCustom), 1)
|
|
1755
|
+
], 42, ta),
|
|
1756
|
+
o.value === "custom" ? (s(), x("div", aa, [A("input", {
|
|
1733
1757
|
type: "number",
|
|
1734
1758
|
class: y(g(Y)),
|
|
1735
|
-
value: typeof e.block.width == "number" ? e.block.width :
|
|
1759
|
+
value: typeof e.block.width == "number" ? e.block.width : ca,
|
|
1736
1760
|
min: "20",
|
|
1737
1761
|
onInput: r[9] ||= (e) => u(e.target.value)
|
|
1738
|
-
}, null, 42,
|
|
1762
|
+
}, null, 42, oa), A("span", { class: y(g(J)) }, "px", 2)])) : S("", !0)
|
|
1739
1763
|
]),
|
|
1740
|
-
A("div",
|
|
1764
|
+
A("div", sa, [A("label", { class: y(g(q)) }, F(g(a).title.align), 3), _(jn, {
|
|
1741
1765
|
options: [
|
|
1742
1766
|
{
|
|
1743
1767
|
value: "left",
|
|
@@ -1757,7 +1781,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1757
1781
|
}, null, 8, ["options", "model-value"])])
|
|
1758
1782
|
], 64));
|
|
1759
1783
|
}
|
|
1760
|
-
}),
|
|
1784
|
+
}), ua = { class: "spacing-control" }, da = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, fa = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, pa = { class: "tpl:flex tpl:items-center" }, ma = ["aria-label"], ha = ["value", "aria-label"], ga = ["aria-label"], _a = { class: "tpl:flex tpl:items-center tpl:gap-2" }, va = { class: "tpl:flex tpl:items-center" }, ya = ["aria-label"], ba = ["value", "aria-label"], xa = ["aria-label"], Sa = ["aria-label", "title"], Ca = { class: "tpl:flex tpl:items-center" }, wa = ["aria-label"], Ta = ["value", "aria-label"], Ea = ["aria-label"], Da = { class: "tpl:flex tpl:items-center" }, Oa = ["aria-label"], ka = ["value", "aria-label"], Aa = ["aria-label"], ja = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", Ma = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", Na = /*#__PURE__*/ un(/* @__PURE__ */ d({
|
|
1761
1785
|
__name: "SpacingControl",
|
|
1762
1786
|
props: {
|
|
1763
1787
|
modelValue: {},
|
|
@@ -1804,59 +1828,59 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1804
1828
|
});
|
|
1805
1829
|
}
|
|
1806
1830
|
}
|
|
1807
|
-
return (e, n) => (s(), x("div",
|
|
1808
|
-
A("div",
|
|
1831
|
+
return (e, n) => (s(), x("div", ua, [A("label", da, F(t.label), 1), A("div", fa, [
|
|
1832
|
+
A("div", pa, [
|
|
1809
1833
|
A("button", {
|
|
1810
1834
|
"aria-label": g(a).spacingControl.decreaseTop,
|
|
1811
|
-
class: y([
|
|
1835
|
+
class: y([ja, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
1812
1836
|
onClick: n[0] ||= (e) => u("top", -1)
|
|
1813
1837
|
}, [_(g(Gt), {
|
|
1814
1838
|
size: 12,
|
|
1815
1839
|
"stroke-width": 2
|
|
1816
|
-
})], 10,
|
|
1840
|
+
})], 10, ma),
|
|
1817
1841
|
A("input", {
|
|
1818
1842
|
type: "number",
|
|
1819
|
-
class: y(
|
|
1843
|
+
class: y(Ma),
|
|
1820
1844
|
value: t.modelValue.top,
|
|
1821
1845
|
"aria-label": g(a).spacingControl.top,
|
|
1822
1846
|
min: "0",
|
|
1823
1847
|
onInput: n[1] ||= (e) => d("top", Number(e.target.value))
|
|
1824
|
-
}, null, 40,
|
|
1848
|
+
}, null, 40, ha),
|
|
1825
1849
|
A("button", {
|
|
1826
1850
|
"aria-label": g(a).spacingControl.increaseTop,
|
|
1827
|
-
class: y([
|
|
1851
|
+
class: y([ja, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
|
|
1828
1852
|
onClick: n[2] ||= (e) => u("top", 1)
|
|
1829
1853
|
}, [_(g(Rt), {
|
|
1830
1854
|
size: 12,
|
|
1831
1855
|
"stroke-width": 2
|
|
1832
|
-
})], 10,
|
|
1856
|
+
})], 10, ga)
|
|
1833
1857
|
]),
|
|
1834
|
-
A("div",
|
|
1835
|
-
A("div",
|
|
1858
|
+
A("div", _a, [
|
|
1859
|
+
A("div", va, [
|
|
1836
1860
|
A("button", {
|
|
1837
1861
|
"aria-label": g(a).spacingControl.decreaseLeft,
|
|
1838
|
-
class: y([
|
|
1862
|
+
class: y([ja, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
1839
1863
|
onClick: n[3] ||= (e) => u("left", -1)
|
|
1840
1864
|
}, [_(g(Gt), {
|
|
1841
1865
|
size: 12,
|
|
1842
1866
|
"stroke-width": 2
|
|
1843
|
-
})], 10,
|
|
1867
|
+
})], 10, ya),
|
|
1844
1868
|
A("input", {
|
|
1845
1869
|
type: "number",
|
|
1846
|
-
class: y(
|
|
1870
|
+
class: y(Ma),
|
|
1847
1871
|
value: t.modelValue.left,
|
|
1848
1872
|
"aria-label": g(a).spacingControl.left,
|
|
1849
1873
|
min: "0",
|
|
1850
1874
|
onInput: n[4] ||= (e) => d("left", Number(e.target.value))
|
|
1851
|
-
}, null, 40,
|
|
1875
|
+
}, null, 40, ba),
|
|
1852
1876
|
A("button", {
|
|
1853
1877
|
"aria-label": g(a).spacingControl.increaseLeft,
|
|
1854
|
-
class: y([
|
|
1878
|
+
class: y([ja, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
|
|
1855
1879
|
onClick: n[5] ||= (e) => u("left", 1)
|
|
1856
1880
|
}, [_(g(Rt), {
|
|
1857
1881
|
size: 12,
|
|
1858
1882
|
"stroke-width": 2
|
|
1859
|
-
})], 10,
|
|
1883
|
+
})], 10, xa)
|
|
1860
1884
|
]),
|
|
1861
1885
|
A("button", {
|
|
1862
1886
|
class: y(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", c.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
|
|
@@ -1871,63 +1895,63 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1871
1895
|
key: 1,
|
|
1872
1896
|
size: 14,
|
|
1873
1897
|
"stroke-width": 2
|
|
1874
|
-
}))], 10,
|
|
1875
|
-
A("div",
|
|
1898
|
+
}))], 10, Sa),
|
|
1899
|
+
A("div", Ca, [
|
|
1876
1900
|
A("button", {
|
|
1877
1901
|
"aria-label": g(a).spacingControl.decreaseRight,
|
|
1878
|
-
class: y([
|
|
1902
|
+
class: y([ja, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
1879
1903
|
onClick: n[6] ||= (e) => u("right", -1)
|
|
1880
1904
|
}, [_(g(Gt), {
|
|
1881
1905
|
size: 12,
|
|
1882
1906
|
"stroke-width": 2
|
|
1883
|
-
})], 10,
|
|
1907
|
+
})], 10, wa),
|
|
1884
1908
|
A("input", {
|
|
1885
1909
|
type: "number",
|
|
1886
|
-
class: y(
|
|
1910
|
+
class: y(Ma),
|
|
1887
1911
|
value: t.modelValue.right,
|
|
1888
1912
|
"aria-label": g(a).spacingControl.right,
|
|
1889
1913
|
min: "0",
|
|
1890
1914
|
onInput: n[7] ||= (e) => d("right", Number(e.target.value))
|
|
1891
|
-
}, null, 40,
|
|
1915
|
+
}, null, 40, Ta),
|
|
1892
1916
|
A("button", {
|
|
1893
1917
|
"aria-label": g(a).spacingControl.increaseRight,
|
|
1894
|
-
class: y([
|
|
1918
|
+
class: y([ja, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
|
|
1895
1919
|
onClick: n[8] ||= (e) => u("right", 1)
|
|
1896
1920
|
}, [_(g(Rt), {
|
|
1897
1921
|
size: 12,
|
|
1898
1922
|
"stroke-width": 2
|
|
1899
|
-
})], 10,
|
|
1923
|
+
})], 10, Ea)
|
|
1900
1924
|
])
|
|
1901
1925
|
]),
|
|
1902
|
-
A("div",
|
|
1926
|
+
A("div", Da, [
|
|
1903
1927
|
A("button", {
|
|
1904
1928
|
"aria-label": g(a).spacingControl.decreaseBottom,
|
|
1905
|
-
class: y([
|
|
1929
|
+
class: y([ja, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
|
|
1906
1930
|
onClick: n[9] ||= (e) => u("bottom", -1)
|
|
1907
1931
|
}, [_(g(Gt), {
|
|
1908
1932
|
size: 12,
|
|
1909
1933
|
"stroke-width": 2
|
|
1910
|
-
})], 10,
|
|
1934
|
+
})], 10, Oa),
|
|
1911
1935
|
A("input", {
|
|
1912
1936
|
type: "number",
|
|
1913
|
-
class: y(
|
|
1937
|
+
class: y(Ma),
|
|
1914
1938
|
value: t.modelValue.bottom,
|
|
1915
1939
|
"aria-label": g(a).spacingControl.bottom,
|
|
1916
1940
|
min: "0",
|
|
1917
1941
|
onInput: n[10] ||= (e) => d("bottom", Number(e.target.value))
|
|
1918
|
-
}, null, 40,
|
|
1942
|
+
}, null, 40, ka),
|
|
1919
1943
|
A("button", {
|
|
1920
1944
|
"aria-label": g(a).spacingControl.increaseBottom,
|
|
1921
|
-
class: y([
|
|
1945
|
+
class: y([ja, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
|
|
1922
1946
|
onClick: n[11] ||= (e) => u("bottom", 1)
|
|
1923
1947
|
}, [_(g(Rt), {
|
|
1924
1948
|
size: 12,
|
|
1925
1949
|
"stroke-width": 2
|
|
1926
|
-
})], 10,
|
|
1950
|
+
})], 10, Aa)
|
|
1927
1951
|
])
|
|
1928
1952
|
])]));
|
|
1929
1953
|
}
|
|
1930
|
-
}), [["__scopeId", "data-v-69591c1e"]]),
|
|
1954
|
+
}), [["__scopeId", "data-v-69591c1e"]]), Pa = ["data-testid"], Fa = { class: "tpl:mt-3" }, Ia = /* @__PURE__ */ d({
|
|
1931
1955
|
__name: "CollapsibleSection",
|
|
1932
1956
|
props: {
|
|
1933
1957
|
title: {},
|
|
@@ -1946,21 +1970,21 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
1946
1970
|
class: y(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
|
|
1947
1971
|
size: 12,
|
|
1948
1972
|
"stroke-width": 2
|
|
1949
|
-
}, null, 8, ["class"]), A("span", null, F(e.title), 1)], 8,
|
|
1973
|
+
}, null, 8, ["class"]), A("span", null, F(e.title), 1)], 8, Pa), f(A("div", Fa, [i(t.$slots, "default")], 512), [[N, e.open]])], 2));
|
|
1950
1974
|
}
|
|
1951
|
-
}),
|
|
1975
|
+
}), La = { class: "tpl:space-y-2" }, Ra = { class: "tpl:flex tpl:items-center tpl:gap-2" }, za = { class: "tpl:space-y-2" }, Ba = ["value"], Va = { value: "" }, Ha = ["label"], Ua = ["value"], Wa = ["value"], Ga = {
|
|
1952
1976
|
key: 0,
|
|
1953
1977
|
value: "__custom__"
|
|
1954
|
-
},
|
|
1978
|
+
}, Ka = {
|
|
1955
1979
|
key: 0,
|
|
1956
1980
|
class: "tpl:space-y-2"
|
|
1957
|
-
},
|
|
1981
|
+
}, qa = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Ja = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Ya = { class: "tpl:flex tpl:justify-end" }, Xa = ["disabled"], Za = {
|
|
1958
1982
|
key: 0,
|
|
1959
1983
|
class: "tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]"
|
|
1960
|
-
},
|
|
1984
|
+
}, Qa = { class: "tpl:space-y-1" }, $a = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, eo = {
|
|
1961
1985
|
key: 0,
|
|
1962
1986
|
class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
|
|
1963
|
-
},
|
|
1987
|
+
}, to = /* @__PURE__ */ d({
|
|
1964
1988
|
__name: "CommonBlockSettings",
|
|
1965
1989
|
props: {
|
|
1966
1990
|
block: {},
|
|
@@ -2023,13 +2047,13 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2023
2047
|
t[e] = !t[e], c("update", { visibility: t });
|
|
2024
2048
|
}
|
|
2025
2049
|
return (e, t) => (s(), x("div", { class: y(["tpl:flex tpl:flex-col", i.isFirstSection ? "" : "tpl:mt-4"]) }, [
|
|
2026
|
-
_(
|
|
2050
|
+
_(Ia, {
|
|
2027
2051
|
title: g(d).blockSettings.spacing,
|
|
2028
2052
|
open: v.has("spacing"),
|
|
2029
2053
|
"no-border": i.isFirstSection,
|
|
2030
2054
|
onToggle: t[1] ||= (e) => O("spacing")
|
|
2031
2055
|
}, {
|
|
2032
|
-
default: r(() => [_(
|
|
2056
|
+
default: r(() => [_(Na, {
|
|
2033
2057
|
label: g(d).blockSettings.padding,
|
|
2034
2058
|
"model-value": i.block.styles.padding,
|
|
2035
2059
|
"onUpdate:modelValue": t[0] ||= (e) => L("padding", e)
|
|
@@ -2040,7 +2064,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2040
2064
|
"open",
|
|
2041
2065
|
"no-border"
|
|
2042
2066
|
]),
|
|
2043
|
-
_(
|
|
2067
|
+
_(Ia, {
|
|
2044
2068
|
title: g(d).blockSettings.background,
|
|
2045
2069
|
open: v.has("bg"),
|
|
2046
2070
|
onToggle: t[3] ||= (e) => O("bg")
|
|
@@ -2051,19 +2075,19 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2051
2075
|
}, null, 8, ["model-value"])]),
|
|
2052
2076
|
_: 1
|
|
2053
2077
|
}, 8, ["title", "open"]),
|
|
2054
|
-
_(
|
|
2078
|
+
_(Ia, {
|
|
2055
2079
|
title: g(d).blockSettings.display,
|
|
2056
2080
|
open: v.has("display"),
|
|
2057
2081
|
onToggle: t[4] ||= (e) => O("display")
|
|
2058
2082
|
}, {
|
|
2059
|
-
default: r(() => [A("div",
|
|
2083
|
+
default: r(() => [A("div", La, [(s(), x(P, null, n(E, (e) => _(Q, {
|
|
2060
2084
|
key: e.key,
|
|
2061
2085
|
class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
|
|
2062
2086
|
"model-value": z(e.key),
|
|
2063
2087
|
label: g(d).blockSettings[e.labelKey],
|
|
2064
2088
|
"onUpdate:modelValue": (t) => B(e.key)
|
|
2065
2089
|
}, {
|
|
2066
|
-
default: r(() => [A("span",
|
|
2090
|
+
default: r(() => [A("span", Ra, [(s(), D(u(e.icon), {
|
|
2067
2091
|
size: 14,
|
|
2068
2092
|
"stroke-width": 1.5
|
|
2069
2093
|
})), R(" " + F(g(d).blockSettings[e.labelKey]), 1)])]),
|
|
@@ -2075,14 +2099,14 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2075
2099
|
])), 64))])]),
|
|
2076
2100
|
_: 1
|
|
2077
2101
|
}, 8, ["title", "open"]),
|
|
2078
|
-
j.value ? (s(), D(
|
|
2102
|
+
j.value ? (s(), D(Ia, {
|
|
2079
2103
|
key: 0,
|
|
2080
2104
|
"header-test-id": "display-condition-section",
|
|
2081
2105
|
title: g(d).blockSettings.displayCondition,
|
|
2082
2106
|
open: v.has("condition"),
|
|
2083
2107
|
onToggle: t[8] ||= (e) => O("condition")
|
|
2084
2108
|
}, {
|
|
2085
|
-
default: r(() => [A("div",
|
|
2109
|
+
default: r(() => [A("div", za, [A("select", {
|
|
2086
2110
|
"data-testid": "display-condition-select",
|
|
2087
2111
|
class: y(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", i.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
|
|
2088
2112
|
value: C.value || M.value ? "__custom__" : i.block.displayCondition?.label ?? "",
|
|
@@ -2100,41 +2124,41 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2100
2124
|
n && c("update", { displayCondition: n });
|
|
2101
2125
|
}
|
|
2102
2126
|
}, [
|
|
2103
|
-
A("option",
|
|
2127
|
+
A("option", Va, F(g(d).blockSettings.noCondition), 1),
|
|
2104
2128
|
(s(!0), x(P, null, n(I.value, (e, t) => (s(), x(P, { key: t }, [t ? (s(), x("optgroup", {
|
|
2105
2129
|
key: 0,
|
|
2106
2130
|
label: String(t)
|
|
2107
2131
|
}, [(s(!0), x(P, null, n(e, (e) => (s(), x("option", {
|
|
2108
2132
|
key: e.label,
|
|
2109
2133
|
value: e.label
|
|
2110
|
-
}, F(e.label), 9,
|
|
2134
|
+
}, F(e.label), 9, Ua))), 128))], 8, Ha)) : (s(!0), x(P, { key: 1 }, n(e, (e) => (s(), x("option", {
|
|
2111
2135
|
key: e.label,
|
|
2112
2136
|
value: e.label
|
|
2113
|
-
}, F(e.label), 9,
|
|
2114
|
-
g(h) ? (s(), x("option",
|
|
2115
|
-
], 42,
|
|
2116
|
-
A("div", null, [A("label",
|
|
2137
|
+
}, F(e.label), 9, Wa))), 128))], 64))), 128)),
|
|
2138
|
+
g(h) ? (s(), x("option", Ga, F(g(d).blockSettings.customCondition), 1)) : S("", !0)
|
|
2139
|
+
], 42, Ba), C.value || M.value ? (s(), x("div", Ka, [
|
|
2140
|
+
A("div", null, [A("label", qa, F(g(d).blockSettings.customConditionBefore), 1), f(A("textarea", {
|
|
2117
2141
|
"onUpdate:modelValue": t[6] ||= (e) => w.value = e,
|
|
2118
2142
|
rows: "2",
|
|
2119
|
-
class: y(g(
|
|
2143
|
+
class: y(g(xn))
|
|
2120
2144
|
}, null, 2), [[k, w.value]])]),
|
|
2121
|
-
A("div", null, [A("label",
|
|
2145
|
+
A("div", null, [A("label", Ja, F(g(d).blockSettings.customConditionAfter), 1), f(A("textarea", {
|
|
2122
2146
|
"onUpdate:modelValue": t[7] ||= (e) => T.value = e,
|
|
2123
2147
|
rows: "2",
|
|
2124
|
-
class: y(g(
|
|
2148
|
+
class: y(g(xn))
|
|
2125
2149
|
}, null, 2), [[k, T.value]])]),
|
|
2126
|
-
A("div",
|
|
2150
|
+
A("div", Ya, [A("button", {
|
|
2127
2151
|
type: "button",
|
|
2128
2152
|
class: "tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-on-primary)] tpl:transition-all tpl:hover:opacity-90 tpl:disabled:opacity-50",
|
|
2129
2153
|
disabled: !w.value.trim(),
|
|
2130
2154
|
onClick: ee
|
|
2131
|
-
}, F(g(d).blockSettings.applyCondition), 9,
|
|
2132
|
-
])) : i.block.displayCondition && !M.value ? (s(), x(P, { key: 1 }, [i.block.displayCondition.description ? (s(), x("p",
|
|
2155
|
+
}, F(g(d).blockSettings.applyCondition), 9, Xa)])
|
|
2156
|
+
])) : i.block.displayCondition && !M.value ? (s(), x(P, { key: 1 }, [i.block.displayCondition.description ? (s(), x("p", Za, F(i.block.displayCondition.description), 1)) : S("", !0), A("div", Qa, [A("pre", $a, F(i.block.displayCondition.before), 1), i.block.displayCondition.after ? (s(), x("pre", eo, F(i.block.displayCondition.after), 1)) : S("", !0)])], 64)) : S("", !0)])]),
|
|
2133
2157
|
_: 1
|
|
2134
2158
|
}, 8, ["title", "open"])) : S("", !0)
|
|
2135
2159
|
], 2));
|
|
2136
2160
|
}
|
|
2137
|
-
}),
|
|
2161
|
+
}), no = ["title"], ro = /* @__PURE__ */ d({
|
|
2138
2162
|
__name: "BooleanField",
|
|
2139
2163
|
props: {
|
|
2140
2164
|
field: {},
|
|
@@ -2166,9 +2190,9 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2166
2190
|
"label",
|
|
2167
2191
|
"required",
|
|
2168
2192
|
"disabled"
|
|
2169
|
-
])], 8,
|
|
2193
|
+
])], 8, no));
|
|
2170
2194
|
}
|
|
2171
|
-
}),
|
|
2195
|
+
}), io = { class: "tpl:mb-3.5" }, ao = ["title"], oo = { class: "tpl-sr-only" }, so = ["title"], co = { class: "tpl-sr-only" }, lo = /* @__PURE__ */ d({
|
|
2172
2196
|
__name: "FieldWrapper",
|
|
2173
2197
|
props: {
|
|
2174
2198
|
label: {},
|
|
@@ -2177,7 +2201,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2177
2201
|
},
|
|
2178
2202
|
setup(e) {
|
|
2179
2203
|
let { t } = K();
|
|
2180
|
-
return (n, r) => (s(), x("div",
|
|
2204
|
+
return (n, r) => (s(), x("div", io, [A("label", { class: y(g(q)) }, [
|
|
2181
2205
|
R(F(e.label) + " ", 1),
|
|
2182
2206
|
e.readOnly ? (s(), x("span", {
|
|
2183
2207
|
key: 0,
|
|
@@ -2186,15 +2210,15 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2186
2210
|
size: 12,
|
|
2187
2211
|
class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
|
|
2188
2212
|
"aria-hidden": "true"
|
|
2189
|
-
}), A("span",
|
|
2213
|
+
}), A("span", oo, F(g(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, ao)) : S("", !0),
|
|
2190
2214
|
e.required ? (s(), x("span", {
|
|
2191
2215
|
key: 1,
|
|
2192
2216
|
class: "tpl:text-[var(--tpl-danger)]",
|
|
2193
2217
|
title: g(t).customBlocks.fields.required
|
|
2194
|
-
}, [r[0] ||= A("span", { "aria-hidden": "true" }, "*", -1), A("span",
|
|
2218
|
+
}, [r[0] ||= A("span", { "aria-hidden": "true" }, "*", -1), A("span", co, F(g(t).customBlocks.fields.required), 1)], 8, so)) : S("", !0)
|
|
2195
2219
|
], 2), i(n.$slots, "default")]));
|
|
2196
2220
|
}
|
|
2197
|
-
}),
|
|
2221
|
+
}), uo = /* @__PURE__ */ d({
|
|
2198
2222
|
__name: "ColorField",
|
|
2199
2223
|
props: {
|
|
2200
2224
|
field: {},
|
|
@@ -2204,7 +2228,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2204
2228
|
emits: ["update:modelValue"],
|
|
2205
2229
|
setup(e, { emit: n }) {
|
|
2206
2230
|
let i = e, a = n, { t: o } = K(), c = t(mt, vt), l = b(() => ke(i.field, c));
|
|
2207
|
-
return (t, n) => (s(), D(
|
|
2231
|
+
return (t, n) => (s(), D(lo, {
|
|
2208
2232
|
label: e.field.label,
|
|
2209
2233
|
required: e.field.required,
|
|
2210
2234
|
"read-only": e.readOnly
|
|
@@ -2232,15 +2256,15 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2232
2256
|
"read-only"
|
|
2233
2257
|
]));
|
|
2234
2258
|
}
|
|
2235
|
-
}),
|
|
2259
|
+
}), fo = {
|
|
2236
2260
|
key: 0,
|
|
2237
2261
|
class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
|
|
2238
2262
|
style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
|
|
2239
|
-
},
|
|
2263
|
+
}, po = [
|
|
2240
2264
|
"value",
|
|
2241
2265
|
"placeholder",
|
|
2242
2266
|
"title"
|
|
2243
|
-
],
|
|
2267
|
+
], mo = ["value", "placeholder"], ho = /* @__PURE__ */ d({
|
|
2244
2268
|
__name: "ImageField",
|
|
2245
2269
|
props: {
|
|
2246
2270
|
field: {},
|
|
@@ -2275,7 +2299,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2275
2299
|
enabled: h,
|
|
2276
2300
|
onFiles: v
|
|
2277
2301
|
});
|
|
2278
|
-
return (t, n) => (s(), D(
|
|
2302
|
+
return (t, n) => (s(), D(lo, {
|
|
2279
2303
|
label: e.field.label,
|
|
2280
2304
|
required: e.field.required,
|
|
2281
2305
|
"read-only": e.readOnly
|
|
@@ -2285,7 +2309,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2285
2309
|
ref: p,
|
|
2286
2310
|
class: "tpl:relative"
|
|
2287
2311
|
}, [
|
|
2288
|
-
h.value && (g(C) || m.value) ? (s(), x("div",
|
|
2312
|
+
h.value && (g(C) || m.value) ? (s(), x("div", fo, [m.value ? (s(), x(P, { key: 0 }, [_(g(Jt), {
|
|
2289
2313
|
class: "tpl-spinner",
|
|
2290
2314
|
size: 18,
|
|
2291
2315
|
"stroke-width": 2
|
|
@@ -2301,14 +2325,14 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2301
2325
|
placeholder: e.field.placeholder || "https://...",
|
|
2302
2326
|
disabled: "",
|
|
2303
2327
|
title: g(o).customBlocks.dataSource.readOnlyTooltip
|
|
2304
|
-
}, null, 10,
|
|
2328
|
+
}, null, 10, po)) : (s(), x("input", {
|
|
2305
2329
|
key: 2,
|
|
2306
2330
|
type: "url",
|
|
2307
2331
|
class: y(g(X)),
|
|
2308
2332
|
value: e.modelValue,
|
|
2309
2333
|
placeholder: e.field.placeholder || "https://...",
|
|
2310
2334
|
onInput: n[0] ||= (e) => a("update:modelValue", e.target.value)
|
|
2311
|
-
}, null, 42,
|
|
2335
|
+
}, null, 42, mo)),
|
|
2312
2336
|
d.value && !e.readOnly ? (s(), x("button", {
|
|
2313
2337
|
key: 3,
|
|
2314
2338
|
class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
|
|
@@ -2325,7 +2349,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2325
2349
|
"read-only"
|
|
2326
2350
|
]));
|
|
2327
2351
|
}
|
|
2328
|
-
}),
|
|
2352
|
+
}), go = [
|
|
2329
2353
|
"value",
|
|
2330
2354
|
"placeholder",
|
|
2331
2355
|
"min",
|
|
@@ -2333,7 +2357,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2333
2357
|
"step",
|
|
2334
2358
|
"disabled",
|
|
2335
2359
|
"title"
|
|
2336
|
-
],
|
|
2360
|
+
], _o = /* @__PURE__ */ d({
|
|
2337
2361
|
__name: "NumberField",
|
|
2338
2362
|
props: {
|
|
2339
2363
|
field: {},
|
|
@@ -2343,7 +2367,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2343
2367
|
emits: ["update:modelValue"],
|
|
2344
2368
|
setup(e, { emit: t }) {
|
|
2345
2369
|
let n = t, { t: i } = K();
|
|
2346
|
-
return (t, a) => (s(), D(
|
|
2370
|
+
return (t, a) => (s(), D(lo, {
|
|
2347
2371
|
label: e.field.label,
|
|
2348
2372
|
required: e.field.required,
|
|
2349
2373
|
"read-only": e.readOnly
|
|
@@ -2359,7 +2383,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2359
2383
|
disabled: e.readOnly,
|
|
2360
2384
|
title: e.readOnly ? g(i).customBlocks.dataSource.readOnlyTooltip : void 0,
|
|
2361
2385
|
onInput: a[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
|
|
2362
|
-
}, null, 42,
|
|
2386
|
+
}, null, 42, go)]),
|
|
2363
2387
|
_: 1
|
|
2364
2388
|
}, 8, [
|
|
2365
2389
|
"label",
|
|
@@ -2367,13 +2391,13 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2367
2391
|
"read-only"
|
|
2368
2392
|
]));
|
|
2369
2393
|
}
|
|
2370
|
-
}),
|
|
2394
|
+
}), vo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, yo = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, bo = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, xo = ["title", "onClick"], So = {
|
|
2371
2395
|
key: 1,
|
|
2372
2396
|
class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
2373
|
-
},
|
|
2397
|
+
}, Co = {
|
|
2374
2398
|
key: 2,
|
|
2375
2399
|
class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
2376
|
-
},
|
|
2400
|
+
}, wo = /* @__PURE__ */ d({
|
|
2377
2401
|
__name: "RepeatableField",
|
|
2378
2402
|
props: {
|
|
2379
2403
|
field: {},
|
|
@@ -2401,16 +2425,16 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2401
2425
|
} : r);
|
|
2402
2426
|
a("update:modelValue", r);
|
|
2403
2427
|
}
|
|
2404
|
-
return (t, i) => (s(), D(
|
|
2428
|
+
return (t, i) => (s(), D(lo, {
|
|
2405
2429
|
label: e.field.label,
|
|
2406
2430
|
required: e.field.required,
|
|
2407
2431
|
"read-only": e.readOnly
|
|
2408
2432
|
}, {
|
|
2409
|
-
default: r(() => [A("div",
|
|
2433
|
+
default: r(() => [A("div", vo, [
|
|
2410
2434
|
(s(!0), x(P, null, n(l.value, (t, r) => (s(), x("div", {
|
|
2411
2435
|
key: `${e.field.key}-${r}`,
|
|
2412
2436
|
class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
|
|
2413
|
-
}, [A("div",
|
|
2437
|
+
}, [A("div", yo, [A("span", bo, " #" + F(r + 1), 1), f.value && !e.readOnly ? (s(), x("button", {
|
|
2414
2438
|
key: 0,
|
|
2415
2439
|
type: "button",
|
|
2416
2440
|
class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
|
|
@@ -2419,7 +2443,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2419
2443
|
}, [_(g(Ut), {
|
|
2420
2444
|
size: 12,
|
|
2421
2445
|
"stroke-width": 2
|
|
2422
|
-
})], 8,
|
|
2446
|
+
})], 8, xo)) : S("", !0)]), (s(!0), x(P, null, n(e.field.fields, (n) => (s(), D(u(g(No)(n.type)), {
|
|
2423
2447
|
key: n.key,
|
|
2424
2448
|
field: n,
|
|
2425
2449
|
"model-value": t[n.key],
|
|
@@ -2434,14 +2458,14 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2434
2458
|
d.value && !e.readOnly ? (s(), x("button", {
|
|
2435
2459
|
key: 0,
|
|
2436
2460
|
type: "button",
|
|
2437
|
-
class: y(g(
|
|
2461
|
+
class: y(g(Cn)),
|
|
2438
2462
|
onClick: p
|
|
2439
2463
|
}, [_(g(Rt), {
|
|
2440
2464
|
size: 14,
|
|
2441
2465
|
"stroke-width": 2
|
|
2442
2466
|
}), R(" " + F(g(o).customBlocks.fields.addItem), 1)], 2)) : S("", !0),
|
|
2443
|
-
!d.value && !e.readOnly ? (s(), x("p",
|
|
2444
|
-
!f.value && !e.readOnly ? (s(), x("p",
|
|
2467
|
+
!d.value && !e.readOnly ? (s(), x("p", So, F(g(o).customBlocks.fields.maxItemsReached), 1)) : S("", !0),
|
|
2468
|
+
!f.value && !e.readOnly ? (s(), x("p", Co, F(g(c)(g(o).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : S("", !0)
|
|
2445
2469
|
])]),
|
|
2446
2470
|
_: 1
|
|
2447
2471
|
}, 8, [
|
|
@@ -2450,11 +2474,11 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2450
2474
|
"read-only"
|
|
2451
2475
|
]));
|
|
2452
2476
|
}
|
|
2453
|
-
}),
|
|
2477
|
+
}), To = [
|
|
2454
2478
|
"value",
|
|
2455
2479
|
"disabled",
|
|
2456
2480
|
"title"
|
|
2457
|
-
],
|
|
2481
|
+
], Eo = ["value"], Do = /* @__PURE__ */ d({
|
|
2458
2482
|
__name: "SelectField",
|
|
2459
2483
|
props: {
|
|
2460
2484
|
field: {},
|
|
@@ -2464,7 +2488,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2464
2488
|
emits: ["update:modelValue"],
|
|
2465
2489
|
setup(e, { emit: t }) {
|
|
2466
2490
|
let i = t, { t: a } = K();
|
|
2467
|
-
return (t, o) => (s(), D(
|
|
2491
|
+
return (t, o) => (s(), D(lo, {
|
|
2468
2492
|
label: e.field.label,
|
|
2469
2493
|
required: e.field.required,
|
|
2470
2494
|
"read-only": e.readOnly
|
|
@@ -2478,7 +2502,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2478
2502
|
}, [(s(!0), x(P, null, n(e.field.options, (e) => (s(), x("option", {
|
|
2479
2503
|
key: e.value,
|
|
2480
2504
|
value: e.value
|
|
2481
|
-
}, F(e.label), 9,
|
|
2505
|
+
}, F(e.label), 9, Eo))), 128))], 42, To)]),
|
|
2482
2506
|
_: 1
|
|
2483
2507
|
}, 8, [
|
|
2484
2508
|
"label",
|
|
@@ -2486,11 +2510,11 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2486
2510
|
"read-only"
|
|
2487
2511
|
]));
|
|
2488
2512
|
}
|
|
2489
|
-
}),
|
|
2513
|
+
}), Oo = [
|
|
2490
2514
|
"value",
|
|
2491
2515
|
"placeholder",
|
|
2492
2516
|
"title"
|
|
2493
|
-
],
|
|
2517
|
+
], ko = /* @__PURE__ */ d({
|
|
2494
2518
|
__name: "TextField",
|
|
2495
2519
|
props: {
|
|
2496
2520
|
field: {},
|
|
@@ -2500,7 +2524,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2500
2524
|
emits: ["update:modelValue"],
|
|
2501
2525
|
setup(e, { emit: t }) {
|
|
2502
2526
|
let n = t, { t: i } = K();
|
|
2503
|
-
return (t, a) => (s(), D(
|
|
2527
|
+
return (t, a) => (s(), D(lo, {
|
|
2504
2528
|
label: e.field.label,
|
|
2505
2529
|
required: e.field.required,
|
|
2506
2530
|
"read-only": e.readOnly
|
|
@@ -2513,7 +2537,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2513
2537
|
placeholder: e.field.placeholder,
|
|
2514
2538
|
disabled: "",
|
|
2515
2539
|
title: g(i).customBlocks.dataSource.readOnlyTooltip
|
|
2516
|
-
}, null, 10,
|
|
2540
|
+
}, null, 10, Oo)) : (s(), D($, {
|
|
2517
2541
|
key: 1,
|
|
2518
2542
|
"model-value": e.modelValue,
|
|
2519
2543
|
placeholder: e.field.placeholder,
|
|
@@ -2526,12 +2550,12 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2526
2550
|
"read-only"
|
|
2527
2551
|
]));
|
|
2528
2552
|
}
|
|
2529
|
-
}),
|
|
2553
|
+
}), Ao = [
|
|
2530
2554
|
"value",
|
|
2531
2555
|
"placeholder",
|
|
2532
2556
|
"title"
|
|
2533
|
-
],
|
|
2534
|
-
text:
|
|
2557
|
+
], jo = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", Mo = {
|
|
2558
|
+
text: ko,
|
|
2535
2559
|
textarea: /* @__PURE__ */ d({
|
|
2536
2560
|
__name: "TextareaField",
|
|
2537
2561
|
props: {
|
|
@@ -2542,7 +2566,7 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2542
2566
|
emits: ["update:modelValue"],
|
|
2543
2567
|
setup(e, { emit: t }) {
|
|
2544
2568
|
let n = t, { t: i } = K();
|
|
2545
|
-
return (t, a) => (s(), D(
|
|
2569
|
+
return (t, a) => (s(), D(lo, {
|
|
2546
2570
|
label: e.field.label,
|
|
2547
2571
|
required: e.field.required,
|
|
2548
2572
|
"read-only": e.readOnly
|
|
@@ -2554,8 +2578,8 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2554
2578
|
rows: "3",
|
|
2555
2579
|
disabled: "",
|
|
2556
2580
|
title: g(i).customBlocks.dataSource.readOnlyTooltip,
|
|
2557
|
-
class: y(
|
|
2558
|
-
}, null, 8,
|
|
2581
|
+
class: y(jo)
|
|
2582
|
+
}, null, 8, Ao)) : (s(), D(ni, {
|
|
2559
2583
|
key: 1,
|
|
2560
2584
|
"model-value": e.modelValue,
|
|
2561
2585
|
placeholder: e.field.placeholder,
|
|
@@ -2569,37 +2593,37 @@ var Fr = ["aria-label", "onKeydown"], Ir = ["data-tooltip"], Lr = ["data-tooltip
|
|
|
2569
2593
|
]));
|
|
2570
2594
|
}
|
|
2571
2595
|
}),
|
|
2572
|
-
image:
|
|
2573
|
-
color:
|
|
2574
|
-
number:
|
|
2575
|
-
select:
|
|
2576
|
-
boolean:
|
|
2577
|
-
repeatable:
|
|
2596
|
+
image: ho,
|
|
2597
|
+
color: uo,
|
|
2598
|
+
number: _o,
|
|
2599
|
+
select: Do,
|
|
2600
|
+
boolean: ro,
|
|
2601
|
+
repeatable: wo
|
|
2578
2602
|
};
|
|
2579
|
-
function
|
|
2580
|
-
return
|
|
2603
|
+
function No(e) {
|
|
2604
|
+
return Mo[e] ?? ko;
|
|
2581
2605
|
}
|
|
2582
2606
|
//#endregion
|
|
2583
2607
|
//#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
2584
|
-
var
|
|
2608
|
+
var Po = {
|
|
2585
2609
|
key: 0,
|
|
2586
2610
|
class: "tpl:p-4"
|
|
2587
|
-
},
|
|
2611
|
+
}, Fo = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Io = { key: 1 }, Lo = {
|
|
2588
2612
|
key: 0,
|
|
2589
2613
|
class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
2590
|
-
},
|
|
2614
|
+
}, Ro = {
|
|
2591
2615
|
key: 1,
|
|
2592
2616
|
class: "tpl:mb-4"
|
|
2593
|
-
},
|
|
2617
|
+
}, zo = {
|
|
2594
2618
|
key: 1,
|
|
2595
2619
|
class: "tpl:flex tpl:h-[32px] tpl:items-center"
|
|
2596
|
-
},
|
|
2620
|
+
}, Bo = {
|
|
2597
2621
|
key: 0,
|
|
2598
2622
|
class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
2599
|
-
},
|
|
2623
|
+
}, Vo = {
|
|
2600
2624
|
key: 2,
|
|
2601
2625
|
class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
|
|
2602
|
-
},
|
|
2626
|
+
}, Ho = /* @__PURE__ */ d({
|
|
2603
2627
|
__name: "CustomBlockToolbar",
|
|
2604
2628
|
props: { block: {} },
|
|
2605
2629
|
emits: ["updateFieldValues", "updateDataSourceFetched"],
|
|
@@ -2620,23 +2644,23 @@ var Mo = {
|
|
|
2620
2644
|
[e]: t
|
|
2621
2645
|
});
|
|
2622
2646
|
}
|
|
2623
|
-
return (t, r) => l.value ? (s(), x("div",
|
|
2624
|
-
l.value.description ? (s(), x("p",
|
|
2625
|
-
g(h) ? (s(), x("div",
|
|
2647
|
+
return (t, r) => l.value ? (s(), x("div", Io, [
|
|
2648
|
+
l.value.description ? (s(), x("p", Lo, F(l.value.description), 1)) : S("", !0),
|
|
2649
|
+
g(h) ? (s(), x("div", Ro, [g(v) && !g(f) ? (s(), x("button", {
|
|
2626
2650
|
key: 0,
|
|
2627
2651
|
type: "button",
|
|
2628
2652
|
class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-md tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-on-primary)] tpl:transition-all tpl:bg-[var(--tpl-primary)]",
|
|
2629
2653
|
onClick: r[0] ||= (...e) => g(m) && g(m)(...e)
|
|
2630
|
-
}, F(l.value?.dataSource?.label || g(o).customBlocks.dataSource.fetchButton), 1)) : (s(), x("div",
|
|
2654
|
+
}, F(l.value?.dataSource?.label || g(o).customBlocks.dataSource.fetchButton), 1)) : (s(), x("div", zo, [g(f) ? (s(), x("div", Bo, F(g(o).customBlocks.dataSource.fetching), 1)) : (s(), x("button", {
|
|
2631
2655
|
key: 1,
|
|
2632
2656
|
type: "button",
|
|
2633
2657
|
class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
|
|
2634
2658
|
onClick: r[1] ||= (...e) => g(m) && g(m)(...e)
|
|
2635
|
-
}, [_(g(ln), { size: 12 }), R(" " + F(g(o).customBlocks.dataSource.changeButton), 1)]))])), g(p) ? (s(), x("p",
|
|
2659
|
+
}, [_(g(ln), { size: 12 }), R(" " + F(g(o).customBlocks.dataSource.changeButton), 1)]))])), g(p) ? (s(), x("p", Vo, [_(g(At), {
|
|
2636
2660
|
size: 14,
|
|
2637
2661
|
class: "tpl:shrink-0"
|
|
2638
2662
|
}), R(" " + F(g(o).customBlocks.dataSource.fetchError), 1)])) : S("", !0)])) : S("", !0),
|
|
2639
|
-
(s(!0), x(P, null, n(l.value.fields, (t) => (s(), D(u(g(
|
|
2663
|
+
(s(!0), x(P, null, n(l.value.fields, (t) => (s(), D(u(g(No)(t.type)), {
|
|
2640
2664
|
key: t.key,
|
|
2641
2665
|
field: t,
|
|
2642
2666
|
"model-value": e.block.fieldValues[t.key],
|
|
@@ -2648,9 +2672,9 @@ var Mo = {
|
|
|
2648
2672
|
"read-only",
|
|
2649
2673
|
"onUpdate:modelValue"
|
|
2650
2674
|
]))), 128))
|
|
2651
|
-
])) : (s(), x("div",
|
|
2675
|
+
])) : (s(), x("div", Po, [A("p", Fo, F(g(o).customBlocks.toolbar.noDefinition), 1)]));
|
|
2652
2676
|
}
|
|
2653
|
-
}),
|
|
2677
|
+
}), Uo = { class: "tpl:mb-3.5" }, Wo = { class: "tpl:mb-3.5" }, Go = { class: "tpl:mb-3.5" }, Ko = { class: "tpl:flex tpl:items-stretch" }, qo = ["value"], Jo = /* @__PURE__ */ d({
|
|
2654
2678
|
__name: "DividerToolbar",
|
|
2655
2679
|
props: { block: {} },
|
|
2656
2680
|
emits: ["update"],
|
|
@@ -2660,7 +2684,7 @@ var Mo = {
|
|
|
2660
2684
|
n("update", { [e]: t });
|
|
2661
2685
|
}
|
|
2662
2686
|
return (t, n) => (s(), x(P, null, [
|
|
2663
|
-
A("div",
|
|
2687
|
+
A("div", Uo, [A("label", { class: y(g(q)) }, F(g(r).divider.style), 3), _(jn, {
|
|
2664
2688
|
options: [
|
|
2665
2689
|
{
|
|
2666
2690
|
value: "solid",
|
|
@@ -2678,56 +2702,56 @@ var Mo = {
|
|
|
2678
2702
|
"model-value": e.block.lineStyle,
|
|
2679
2703
|
"onUpdate:modelValue": n[0] ||= (e) => i("lineStyle", e)
|
|
2680
2704
|
}, null, 8, ["options", "model-value"])]),
|
|
2681
|
-
A("div",
|
|
2705
|
+
A("div", Wo, [A("label", { class: y(g(q)) }, F(g(r).divider.color), 3), _(Z, {
|
|
2682
2706
|
"model-value": e.block.color,
|
|
2683
2707
|
"onUpdate:modelValue": n[1] ||= (e) => i("color", e)
|
|
2684
2708
|
}, null, 8, ["model-value"])]),
|
|
2685
|
-
A("div",
|
|
2709
|
+
A("div", Go, [A("label", { class: y(g(q)) }, F(g(r).divider.thickness), 3), A("div", Ko, [A("input", {
|
|
2686
2710
|
type: "number",
|
|
2687
2711
|
class: y(g(Y)),
|
|
2688
2712
|
value: e.block.thickness,
|
|
2689
2713
|
min: "1",
|
|
2690
2714
|
max: "10",
|
|
2691
2715
|
onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
|
|
2692
|
-
}, null, 42,
|
|
2716
|
+
}, null, 42, qo), A("span", { class: y(g(J)) }, "px", 2)])])
|
|
2693
2717
|
], 64));
|
|
2694
2718
|
}
|
|
2695
|
-
}),
|
|
2719
|
+
}), Yo = { class: "tpl:mb-3.5" }, Xo = ["value"], Zo = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, Qo = /* @__PURE__ */ d({
|
|
2696
2720
|
__name: "HtmlToolbar",
|
|
2697
2721
|
props: { block: {} },
|
|
2698
2722
|
emits: ["update"],
|
|
2699
2723
|
setup(e, { emit: t }) {
|
|
2700
2724
|
let n = t, { t: r } = K();
|
|
2701
|
-
return (t, i) => (s(), x("div",
|
|
2725
|
+
return (t, i) => (s(), x("div", Yo, [
|
|
2702
2726
|
A("label", { class: y(g(q)) }, F(g(r).html.content), 3),
|
|
2703
2727
|
A("textarea", {
|
|
2704
2728
|
value: e.block.content,
|
|
2705
2729
|
placeholder: "<div>...</div>",
|
|
2706
2730
|
rows: "10",
|
|
2707
|
-
class: y(g(
|
|
2731
|
+
class: y(g(xn)),
|
|
2708
2732
|
onInput: i[0] ||= (e) => n("update", { content: e.target.value })
|
|
2709
|
-
}, null, 42,
|
|
2710
|
-
A("p",
|
|
2733
|
+
}, null, 42, Xo),
|
|
2734
|
+
A("p", Zo, [_(g(Wt), {
|
|
2711
2735
|
size: 12,
|
|
2712
2736
|
class: "tpl:mt-0.5 tpl:shrink-0"
|
|
2713
2737
|
}), R(" " + F(g(r).html.sanitizationHint), 1)])
|
|
2714
2738
|
]));
|
|
2715
2739
|
}
|
|
2716
|
-
}),
|
|
2740
|
+
}), $o = { class: "tpl:mb-3.5" }, es = {
|
|
2717
2741
|
key: 0,
|
|
2718
2742
|
class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
|
|
2719
2743
|
style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
|
|
2720
|
-
},
|
|
2744
|
+
}, ts = {
|
|
2721
2745
|
key: 0,
|
|
2722
2746
|
class: "tpl:mb-3.5"
|
|
2723
|
-
},
|
|
2747
|
+
}, ns = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, rs = [
|
|
2724
2748
|
"value",
|
|
2725
2749
|
"placeholder",
|
|
2726
2750
|
"title"
|
|
2727
|
-
],
|
|
2751
|
+
], is = { class: "tpl:mb-3.5" }, as = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, os = { class: "tpl:mb-3.5" }, ss = ["value"], cs = { value: "full" }, ls = { value: "custom" }, us = {
|
|
2728
2752
|
key: 0,
|
|
2729
2753
|
class: "tpl:mt-2 tpl:flex tpl:items-stretch"
|
|
2730
|
-
},
|
|
2754
|
+
}, ds = ["value"], fs = { class: "tpl:mb-3.5" }, ps = { class: "tpl:mb-3.5" }, ms = 350, hs = /* @__PURE__ */ d({
|
|
2731
2755
|
__name: "ImageToolbar",
|
|
2732
2756
|
props: { block: {} },
|
|
2733
2757
|
emits: ["update"],
|
|
@@ -2748,7 +2772,7 @@ var Mo = {
|
|
|
2748
2772
|
function T(e) {
|
|
2749
2773
|
if (e === "custom") {
|
|
2750
2774
|
let e = i.block.width;
|
|
2751
|
-
(typeof e != "number" || v.includes(e)) && w("width",
|
|
2775
|
+
(typeof e != "number" || v.includes(e)) && w("width", ms);
|
|
2752
2776
|
return;
|
|
2753
2777
|
}
|
|
2754
2778
|
w("width", e === "full" ? "full" : Number(e));
|
|
@@ -2783,12 +2807,12 @@ var Mo = {
|
|
|
2783
2807
|
onFiles: ee
|
|
2784
2808
|
});
|
|
2785
2809
|
return (t, n) => (s(), x(P, null, [
|
|
2786
|
-
A("div",
|
|
2810
|
+
A("div", $o, [A("label", { class: y(g(q)) }, F(g(o).image.imageUrl), 3), A("div", {
|
|
2787
2811
|
ref_key: "dropZoneRef",
|
|
2788
2812
|
ref: k,
|
|
2789
2813
|
class: "tpl:relative"
|
|
2790
2814
|
}, [
|
|
2791
|
-
N.value && (g(I) || j.value) ? (s(), x("div",
|
|
2815
|
+
N.value && (g(I) || j.value) ? (s(), x("div", es, [j.value ? (s(), x(P, { key: 0 }, [_(g(Jt), {
|
|
2792
2816
|
class: "tpl-spinner",
|
|
2793
2817
|
size: 18,
|
|
2794
2818
|
"stroke-width": 2
|
|
@@ -2821,15 +2845,15 @@ var Mo = {
|
|
|
2821
2845
|
"stroke-width": 1.5
|
|
2822
2846
|
}), R(" " + F(g(o).image.browseMedia), 1)])) : S("", !0)
|
|
2823
2847
|
], 512)]),
|
|
2824
|
-
g(G)(e.block.src, g(u)) ? (s(), x("div",
|
|
2848
|
+
g(G)(e.block.src, g(u)) ? (s(), x("div", ts, [A("label", { class: y(g(q)) }, [R(F(g(o).image.placeholderUrl) + " ", 1), A("span", ns, F(g(o).image.optional), 1)], 2), A("input", {
|
|
2825
2849
|
type: "url",
|
|
2826
2850
|
class: y(g(X)),
|
|
2827
2851
|
value: e.block.placeholderUrl || "",
|
|
2828
2852
|
placeholder: g(o).image.placeholderUrlPlaceholder,
|
|
2829
2853
|
title: g(o).image.placeholderUrlTooltip,
|
|
2830
2854
|
onInput: n[1] ||= (e) => w("placeholderUrl", e.target.value)
|
|
2831
|
-
}, null, 42,
|
|
2832
|
-
A("div",
|
|
2855
|
+
}, null, 42, rs)])) : S("", !0),
|
|
2856
|
+
A("div", is, [
|
|
2833
2857
|
A("label", { class: y(g(q)) }, F(g(o).image.altText), 3),
|
|
2834
2858
|
_($, {
|
|
2835
2859
|
"model-value": e.block.alt,
|
|
@@ -2850,32 +2874,32 @@ var Mo = {
|
|
|
2850
2874
|
label: g(o).image.decorative,
|
|
2851
2875
|
"onUpdate:modelValue": n[3] ||= (e) => w("decorative", e)
|
|
2852
2876
|
}, {
|
|
2853
|
-
default: r(() => [A("span", null, [R(F(g(o).image.decorative) + " ", 1), A("span",
|
|
2877
|
+
default: r(() => [A("span", null, [R(F(g(o).image.decorative) + " ", 1), A("span", as, F(g(o).image.decorativeHint), 1)])]),
|
|
2854
2878
|
_: 1
|
|
2855
2879
|
}, 8, ["model-value", "label"])
|
|
2856
2880
|
]),
|
|
2857
|
-
A("div",
|
|
2881
|
+
A("div", os, [
|
|
2858
2882
|
A("label", { class: y(g(q)) }, F(g(o).image.width), 3),
|
|
2859
2883
|
A("select", {
|
|
2860
2884
|
class: y(g(X)),
|
|
2861
2885
|
value: C.value,
|
|
2862
2886
|
onChange: n[4] ||= (e) => T(e.target.value)
|
|
2863
2887
|
}, [
|
|
2864
|
-
A("option",
|
|
2888
|
+
A("option", cs, F(g(o).image.fullWidth), 1),
|
|
2865
2889
|
n[9] ||= A("option", { value: "300" }, "300px", -1),
|
|
2866
2890
|
n[10] ||= A("option", { value: "400" }, "400px", -1),
|
|
2867
2891
|
n[11] ||= A("option", { value: "500" }, "500px", -1),
|
|
2868
|
-
A("option",
|
|
2869
|
-
], 42,
|
|
2870
|
-
C.value === "custom" ? (s(), x("div",
|
|
2892
|
+
A("option", ls, F(g(o).image.widthCustom), 1)
|
|
2893
|
+
], 42, ss),
|
|
2894
|
+
C.value === "custom" ? (s(), x("div", us, [A("input", {
|
|
2871
2895
|
type: "number",
|
|
2872
2896
|
class: y(g(Y)),
|
|
2873
|
-
value: typeof e.block.width == "number" ? e.block.width :
|
|
2897
|
+
value: typeof e.block.width == "number" ? e.block.width : ms,
|
|
2874
2898
|
min: "20",
|
|
2875
2899
|
onInput: n[5] ||= (e) => E(e.target.value)
|
|
2876
|
-
}, null, 42,
|
|
2900
|
+
}, null, 42, ds), A("span", { class: y(g(J)) }, "px", 2)])) : S("", !0)
|
|
2877
2901
|
]),
|
|
2878
|
-
A("div",
|
|
2902
|
+
A("div", fs, [A("label", { class: y(g(q)) }, F(g(o).title.align), 3), _(jn, {
|
|
2879
2903
|
options: [
|
|
2880
2904
|
{
|
|
2881
2905
|
value: "left",
|
|
@@ -2893,7 +2917,7 @@ var Mo = {
|
|
|
2893
2917
|
"model-value": e.block.align,
|
|
2894
2918
|
"onUpdate:modelValue": n[6] ||= (e) => w("align", e)
|
|
2895
2919
|
}, null, 8, ["options", "model-value"])]),
|
|
2896
|
-
A("div",
|
|
2920
|
+
A("div", ps, [
|
|
2897
2921
|
A("label", { class: y(g(q)) }, F(g(o).image.linkUrl), 3),
|
|
2898
2922
|
_($, {
|
|
2899
2923
|
"model-value": e.block.linkUrl || "",
|
|
@@ -2911,11 +2935,11 @@ var Mo = {
|
|
|
2911
2935
|
])
|
|
2912
2936
|
], 64));
|
|
2913
2937
|
}
|
|
2914
|
-
}),
|
|
2938
|
+
}), gs = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, _s = { class: "tpl:flex tpl:items-center tpl:gap-2" }, vs = [
|
|
2915
2939
|
"value",
|
|
2916
2940
|
"placeholder",
|
|
2917
2941
|
"onInput"
|
|
2918
|
-
],
|
|
2942
|
+
], ys = ["title", "onClick"], bs = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, xs = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ss = ["value"], Cs = { value: "" }, ws = ["value"], Ts = ["value"], Es = /* @__PURE__ */ d({
|
|
2919
2943
|
__name: "MenuToolbar",
|
|
2920
2944
|
props: {
|
|
2921
2945
|
block: {},
|
|
@@ -2978,25 +3002,25 @@ var Mo = {
|
|
|
2978
3002
|
a("update", { items: i.block.items.filter((t) => t.id !== e) });
|
|
2979
3003
|
}
|
|
2980
3004
|
return (t, i) => (s(), x(P, null, [
|
|
2981
|
-
_(
|
|
2982
|
-
default: r(() => [A("div",
|
|
3005
|
+
_(An, { label: g(o).menu.items }, {
|
|
3006
|
+
default: r(() => [A("div", gs, [(s(!0), x(P, null, n(e.block.items, (t) => (s(), x("div", {
|
|
2983
3007
|
key: t.id,
|
|
2984
3008
|
class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
|
|
2985
3009
|
}, [
|
|
2986
|
-
A("div",
|
|
3010
|
+
A("div", _s, [A("input", {
|
|
2987
3011
|
type: "text",
|
|
2988
3012
|
class: y([g(X), "tpl:flex-1"]),
|
|
2989
3013
|
value: t.text,
|
|
2990
3014
|
placeholder: g(o).menu.text,
|
|
2991
3015
|
onInput: (e) => f(t.id, "text", e.target.value)
|
|
2992
|
-
}, null, 42,
|
|
2993
|
-
class: y(g(
|
|
3016
|
+
}, null, 42, vs), A("button", {
|
|
3017
|
+
class: y(g(Sn)),
|
|
2994
3018
|
title: g(o).menu.removeItem,
|
|
2995
3019
|
onClick: (e) => p(t.id)
|
|
2996
3020
|
}, [_(g(Qt), {
|
|
2997
3021
|
size: 14,
|
|
2998
3022
|
"stroke-width": 2
|
|
2999
|
-
})], 10,
|
|
3023
|
+
})], 10, ys)]),
|
|
3000
3024
|
_($, {
|
|
3001
3025
|
"model-value": t.url,
|
|
3002
3026
|
type: "url",
|
|
@@ -3007,7 +3031,7 @@ var Mo = {
|
|
|
3007
3031
|
"placeholder",
|
|
3008
3032
|
"onUpdate:modelValue"
|
|
3009
3033
|
]),
|
|
3010
|
-
A("div",
|
|
3034
|
+
A("div", bs, [(s(!0), x(P, null, n(c.value, (e) => (s(), D(Q, {
|
|
3011
3035
|
key: e.key,
|
|
3012
3036
|
"model-value": t[e.key],
|
|
3013
3037
|
label: e.label,
|
|
@@ -3017,13 +3041,13 @@ var Mo = {
|
|
|
3017
3041
|
"label",
|
|
3018
3042
|
"onUpdate:modelValue"
|
|
3019
3043
|
]))), 128))]),
|
|
3020
|
-
A("div",
|
|
3044
|
+
A("div", xs, [A("label", { class: y([g(q), "tpl:!mb-0"]) }, F(g(o).menu.color), 3), _(Z, {
|
|
3021
3045
|
"swatch-only": "",
|
|
3022
3046
|
"model-value": t.color || e.block.linkColor || e.block.color || "",
|
|
3023
3047
|
"onUpdate:modelValue": (e) => f(t.id, "color", e)
|
|
3024
3048
|
}, null, 8, ["model-value", "onUpdate:modelValue"])])
|
|
3025
3049
|
]))), 128)), A("button", {
|
|
3026
|
-
class: y(g(
|
|
3050
|
+
class: y(g(Cn)),
|
|
3027
3051
|
onClick: d
|
|
3028
3052
|
}, [_(g(Rt), {
|
|
3029
3053
|
size: 14,
|
|
@@ -3031,19 +3055,19 @@ var Mo = {
|
|
|
3031
3055
|
}), R(" " + F(g(o).menu.addItem), 1)], 2)])]),
|
|
3032
3056
|
_: 1
|
|
3033
3057
|
}, 8, ["label"]),
|
|
3034
|
-
_(
|
|
3058
|
+
_(An, { label: g(o).menu.fontFamily }, {
|
|
3035
3059
|
default: r(() => [A("select", {
|
|
3036
3060
|
class: y(g(X)),
|
|
3037
3061
|
value: e.block.fontFamily || "",
|
|
3038
3062
|
onChange: i[0] ||= (e) => u("fontFamily", e.target.value || void 0)
|
|
3039
|
-
}, [A("option",
|
|
3063
|
+
}, [A("option", Cs, F(g(o).title.inheritFont), 1), (s(!0), x(P, null, n(e.fontFamilies, (e) => (s(), x("option", {
|
|
3040
3064
|
key: e.value,
|
|
3041
3065
|
value: e.value
|
|
3042
|
-
}, F(e.label), 9,
|
|
3066
|
+
}, F(e.label), 9, ws))), 128))], 42, Ss)]),
|
|
3043
3067
|
_: 1
|
|
3044
3068
|
}, 8, ["label"]),
|
|
3045
|
-
_(
|
|
3046
|
-
default: r(() => [_(
|
|
3069
|
+
_(An, { label: g(o).menu.fontSize }, {
|
|
3070
|
+
default: r(() => [_(Mn, {
|
|
3047
3071
|
"model-value": e.block.fontSize,
|
|
3048
3072
|
min: 8,
|
|
3049
3073
|
max: 48,
|
|
@@ -3052,46 +3076,46 @@ var Mo = {
|
|
|
3052
3076
|
}, null, 8, ["model-value"])]),
|
|
3053
3077
|
_: 1
|
|
3054
3078
|
}, 8, ["label"]),
|
|
3055
|
-
_(
|
|
3079
|
+
_(An, { label: g(o).menu.color }, {
|
|
3056
3080
|
default: r(() => [_(Z, {
|
|
3057
3081
|
"model-value": e.block.color ?? "",
|
|
3058
3082
|
"onUpdate:modelValue": i[2] ||= (e) => u("color", e || void 0)
|
|
3059
3083
|
}, null, 8, ["model-value"])]),
|
|
3060
3084
|
_: 1
|
|
3061
3085
|
}, 8, ["label"]),
|
|
3062
|
-
_(
|
|
3086
|
+
_(An, { label: g(o).menu.linkColor }, {
|
|
3063
3087
|
default: r(() => [_(Z, {
|
|
3064
3088
|
"model-value": e.block.linkColor || e.block.color || "",
|
|
3065
3089
|
"onUpdate:modelValue": i[3] ||= (e) => u("linkColor", e || void 0)
|
|
3066
3090
|
}, null, 8, ["model-value"])]),
|
|
3067
3091
|
_: 1
|
|
3068
3092
|
}, 8, ["label"]),
|
|
3069
|
-
_(
|
|
3070
|
-
default: r(() => [_(
|
|
3093
|
+
_(An, { label: g(o).menu.textAlign }, {
|
|
3094
|
+
default: r(() => [_(jn, {
|
|
3071
3095
|
options: l.value,
|
|
3072
3096
|
"model-value": e.block.textAlign,
|
|
3073
3097
|
"onUpdate:modelValue": i[4] ||= (e) => u("textAlign", e)
|
|
3074
3098
|
}, null, 8, ["options", "model-value"])]),
|
|
3075
3099
|
_: 1
|
|
3076
3100
|
}, 8, ["label"]),
|
|
3077
|
-
_(
|
|
3101
|
+
_(An, { label: g(o).menu.separator }, {
|
|
3078
3102
|
default: r(() => [A("input", {
|
|
3079
3103
|
type: "text",
|
|
3080
3104
|
class: y(g(X)),
|
|
3081
3105
|
value: e.block.separator,
|
|
3082
3106
|
onInput: i[5] ||= (e) => u("separator", e.target.value)
|
|
3083
|
-
}, null, 42,
|
|
3107
|
+
}, null, 42, Ts)]),
|
|
3084
3108
|
_: 1
|
|
3085
3109
|
}, 8, ["label"]),
|
|
3086
|
-
_(
|
|
3110
|
+
_(An, { label: g(o).menu.separatorColor }, {
|
|
3087
3111
|
default: r(() => [_(Z, {
|
|
3088
3112
|
"model-value": e.block.separatorColor,
|
|
3089
3113
|
"onUpdate:modelValue": i[6] ||= (e) => u("separatorColor", e)
|
|
3090
3114
|
}, null, 8, ["model-value"])]),
|
|
3091
3115
|
_: 1
|
|
3092
3116
|
}, 8, ["label"]),
|
|
3093
|
-
_(
|
|
3094
|
-
default: r(() => [_(
|
|
3117
|
+
_(An, { label: g(o).menu.spacing }, {
|
|
3118
|
+
default: r(() => [_(Mn, {
|
|
3095
3119
|
"model-value": e.block.spacing,
|
|
3096
3120
|
min: 0,
|
|
3097
3121
|
max: 50,
|
|
@@ -3105,11 +3129,11 @@ var Mo = {
|
|
|
3105
3129
|
});
|
|
3106
3130
|
//#endregion
|
|
3107
3131
|
//#region src/utils/rebalanceColumnChildren.ts
|
|
3108
|
-
function
|
|
3132
|
+
function Ds(e) {
|
|
3109
3133
|
return e === "1" ? 1 : e === "3" ? 3 : 2;
|
|
3110
3134
|
}
|
|
3111
|
-
function
|
|
3112
|
-
let n =
|
|
3135
|
+
function Os(e, t) {
|
|
3136
|
+
let n = Ds(t);
|
|
3113
3137
|
if (e.length === n) return e;
|
|
3114
3138
|
if (e.length < n) {
|
|
3115
3139
|
let t = Array.from({ length: n - e.length }, () => []);
|
|
@@ -3120,13 +3144,13 @@ function Es(e, t) {
|
|
|
3120
3144
|
}
|
|
3121
3145
|
//#endregion
|
|
3122
3146
|
//#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
3123
|
-
var
|
|
3147
|
+
var ks = { class: "tpl:mb-3.5" }, As = ["value"], js = ["value"], Ms = {
|
|
3124
3148
|
key: 0,
|
|
3125
3149
|
class: "tpl:mb-3.5"
|
|
3126
|
-
},
|
|
3150
|
+
}, Ns = { class: "tpl:mb-3.5" }, Ps = { class: "tpl:flex tpl:items-stretch" }, Fs = ["value"], Is = { class: "tpl:mb-3.5" }, Ls = {
|
|
3127
3151
|
key: 0,
|
|
3128
3152
|
class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
|
|
3129
|
-
},
|
|
3153
|
+
}, Rs = { class: "tpl:flex tpl:items-stretch" }, zs = ["value"], Bs = /* @__PURE__ */ d({
|
|
3130
3154
|
__name: "SectionToolbar",
|
|
3131
3155
|
props: { block: {} },
|
|
3132
3156
|
emits: ["update"],
|
|
@@ -3154,7 +3178,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3154
3178
|
}
|
|
3155
3179
|
]);
|
|
3156
3180
|
function c(e) {
|
|
3157
|
-
let t = e.target.value, n =
|
|
3181
|
+
let t = e.target.value, n = Os(r.block.children, t);
|
|
3158
3182
|
i("update", {
|
|
3159
3183
|
columns: t,
|
|
3160
3184
|
children: n
|
|
@@ -3188,39 +3212,39 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3188
3212
|
f({ borderRadius: Number(e.target.value) });
|
|
3189
3213
|
}
|
|
3190
3214
|
return (t, r) => (s(), x(P, null, [
|
|
3191
|
-
A("div",
|
|
3215
|
+
A("div", ks, [A("label", { class: y(g(q)) }, F(g(a).section.columns), 3), A("select", {
|
|
3192
3216
|
class: y(g(X)),
|
|
3193
3217
|
value: e.block.columns,
|
|
3194
3218
|
onChange: c
|
|
3195
3219
|
}, [(s(!0), x(P, null, n(o.value, (e) => (s(), x("option", {
|
|
3196
3220
|
key: e.value,
|
|
3197
3221
|
value: e.value
|
|
3198
|
-
}, F(e.label), 9,
|
|
3199
|
-
e.block.columns === "1" ? S("", !0) : (s(), x("div",
|
|
3222
|
+
}, F(e.label), 9, js))), 128))], 42, As)]),
|
|
3223
|
+
e.block.columns === "1" ? S("", !0) : (s(), x("div", Ms, [_(Q, {
|
|
3200
3224
|
class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
|
|
3201
3225
|
"model-value": e.block.stackOnMobile !== !1,
|
|
3202
3226
|
label: g(a).section.stackOnMobile,
|
|
3203
3227
|
"onUpdate:modelValue": r[0] ||= (e) => l(e)
|
|
3204
3228
|
}, null, 8, ["model-value", "label"])])),
|
|
3205
|
-
A("div",
|
|
3229
|
+
A("div", Ns, [A("label", { class: y(g(q)) }, F(g(a).section.borderRadius), 3), A("div", Ps, [A("input", {
|
|
3206
3230
|
type: "number",
|
|
3207
3231
|
class: y(g(Y)),
|
|
3208
3232
|
value: e.block.borderRadius ?? 0,
|
|
3209
3233
|
min: "0",
|
|
3210
3234
|
max: "50",
|
|
3211
3235
|
onInput: u
|
|
3212
|
-
}, null, 42,
|
|
3213
|
-
A("div",
|
|
3236
|
+
}, null, 42, Fs), A("span", { class: y(g(J)) }, "px", 2)])]),
|
|
3237
|
+
A("div", Is, [_(Q, {
|
|
3214
3238
|
class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
|
|
3215
3239
|
"model-value": !!e.block.wrapper,
|
|
3216
3240
|
label: g(a).section.wrapperEnable,
|
|
3217
3241
|
"onUpdate:modelValue": r[1] ||= (e) => d(e)
|
|
3218
|
-
}, null, 8, ["model-value", "label"]), e.block.wrapper ? (s(), x("div",
|
|
3242
|
+
}, null, 8, ["model-value", "label"]), e.block.wrapper ? (s(), x("div", Ls, [
|
|
3219
3243
|
A("div", null, [A("label", { class: y(g(q)) }, F(g(a).blockSettings.color), 3), _(Z, {
|
|
3220
3244
|
"model-value": e.block.wrapper.backgroundColor ?? "",
|
|
3221
3245
|
"onUpdate:modelValue": r[2] ||= (e) => f({ backgroundColor: e })
|
|
3222
3246
|
}, null, 8, ["model-value"])]),
|
|
3223
|
-
_(
|
|
3247
|
+
_(Na, {
|
|
3224
3248
|
label: g(a).blockSettings.padding,
|
|
3225
3249
|
"model-value": e.block.wrapper.padding ?? {
|
|
3226
3250
|
top: 0,
|
|
@@ -3230,18 +3254,18 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3230
3254
|
},
|
|
3231
3255
|
"onUpdate:modelValue": p
|
|
3232
3256
|
}, null, 8, ["label", "model-value"]),
|
|
3233
|
-
A("div", null, [A("label", { class: y(g(q)) }, F(g(a).section.borderRadius), 3), A("div",
|
|
3257
|
+
A("div", null, [A("label", { class: y(g(q)) }, F(g(a).section.borderRadius), 3), A("div", Rs, [A("input", {
|
|
3234
3258
|
type: "number",
|
|
3235
3259
|
class: y(g(Y)),
|
|
3236
3260
|
value: e.block.wrapper.borderRadius ?? 0,
|
|
3237
3261
|
min: "0",
|
|
3238
3262
|
max: "50",
|
|
3239
3263
|
onInput: m
|
|
3240
|
-
}, null, 42,
|
|
3264
|
+
}, null, 42, zs), A("span", { class: y(g(J)) }, "px", 2)])])
|
|
3241
3265
|
])) : S("", !0)])
|
|
3242
3266
|
], 64));
|
|
3243
3267
|
}
|
|
3244
|
-
}),
|
|
3268
|
+
}), Vs = { class: "tpl:mb-3.5" }, Hs = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Us = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ws = ["value", "onChange"], Gs = ["value"], Ks = ["title", "onClick"], qs = { class: "tpl:mb-3.5" }, Js = ["value"], Ys = { value: "solid" }, Xs = { value: "outlined" }, Zs = { value: "rounded" }, Qs = { value: "square" }, $s = { value: "circle" }, ec = { class: "tpl:mb-3.5" }, tc = { class: "tpl:mb-3.5" }, nc = { class: "tpl:flex tpl:items-stretch" }, rc = ["value"], ic = { class: "tpl:mb-3.5" }, ac = /* @__PURE__ */ d({
|
|
3245
3269
|
__name: "SocialToolbar",
|
|
3246
3270
|
props: { block: {} },
|
|
3247
3271
|
emits: ["update"],
|
|
@@ -3269,10 +3293,10 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3269
3293
|
i("update", { icons: r.block.icons.filter((t) => t.id !== e) });
|
|
3270
3294
|
}
|
|
3271
3295
|
return (t, r) => (s(), x(P, null, [
|
|
3272
|
-
A("div",
|
|
3296
|
+
A("div", Vs, [A("label", { class: y(g(q)) }, F(g(a).social.icons), 3), A("div", Hs, [(s(!0), x(P, null, n(e.block.icons, (e) => (s(), x("div", {
|
|
3273
3297
|
key: e.id,
|
|
3274
3298
|
class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
|
|
3275
|
-
}, [A("div",
|
|
3299
|
+
}, [A("div", Us, [A("select", {
|
|
3276
3300
|
"data-testid": "social-platform-select",
|
|
3277
3301
|
class: y([g(X), "tpl:flex-1"]),
|
|
3278
3302
|
value: e.platform,
|
|
@@ -3280,14 +3304,14 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3280
3304
|
}, [(s(!0), x(P, null, n(g(Ne), (e) => (s(), x("option", {
|
|
3281
3305
|
key: e,
|
|
3282
3306
|
value: e
|
|
3283
|
-
}, F(g(a).social.platforms[e]), 9,
|
|
3284
|
-
class: y(g(
|
|
3307
|
+
}, F(g(a).social.platforms[e]), 9, Gs))), 128))], 42, Ws), A("button", {
|
|
3308
|
+
class: y(g(Sn)),
|
|
3285
3309
|
title: g(a).social.removeIcon,
|
|
3286
3310
|
onClick: (t) => u(e.id)
|
|
3287
3311
|
}, [_(g(Qt), {
|
|
3288
3312
|
size: 14,
|
|
3289
3313
|
"stroke-width": 2
|
|
3290
|
-
})], 10,
|
|
3314
|
+
})], 10, Ks)]), _($, {
|
|
3291
3315
|
"model-value": e.url,
|
|
3292
3316
|
type: "url",
|
|
3293
3317
|
placeholder: g(a).social.urlPlaceholder,
|
|
@@ -3297,24 +3321,24 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3297
3321
|
"placeholder",
|
|
3298
3322
|
"onUpdate:modelValue"
|
|
3299
3323
|
])]))), 128)), A("button", {
|
|
3300
|
-
class: y(g(
|
|
3324
|
+
class: y(g(Cn)),
|
|
3301
3325
|
onClick: c
|
|
3302
3326
|
}, [_(g(Rt), {
|
|
3303
3327
|
size: 14,
|
|
3304
3328
|
"stroke-width": 2
|
|
3305
3329
|
}), R(" " + F(g(a).social.addIcon), 1)], 2)])]),
|
|
3306
|
-
A("div",
|
|
3330
|
+
A("div", qs, [A("label", { class: y(g(q)) }, F(g(a).social.style), 3), A("select", {
|
|
3307
3331
|
class: y(g(X)),
|
|
3308
3332
|
value: e.block.iconStyle,
|
|
3309
3333
|
onChange: r[0] ||= (e) => o("iconStyle", e.target.value)
|
|
3310
3334
|
}, [
|
|
3311
|
-
A("option",
|
|
3312
|
-
A("option",
|
|
3313
|
-
A("option",
|
|
3314
|
-
A("option",
|
|
3315
|
-
A("option",
|
|
3316
|
-
], 42,
|
|
3317
|
-
A("div",
|
|
3335
|
+
A("option", Ys, F(g(a).social.styleSolid), 1),
|
|
3336
|
+
A("option", Xs, F(g(a).social.styleOutlined), 1),
|
|
3337
|
+
A("option", Zs, F(g(a).social.styleRounded), 1),
|
|
3338
|
+
A("option", Qs, F(g(a).social.styleSquare), 1),
|
|
3339
|
+
A("option", $s, F(g(a).social.styleCircle), 1)
|
|
3340
|
+
], 42, Js)]),
|
|
3341
|
+
A("div", ec, [A("label", { class: y(g(q)) }, F(g(a).social.size), 3), _(jn, {
|
|
3318
3342
|
options: [
|
|
3319
3343
|
{
|
|
3320
3344
|
value: "small",
|
|
@@ -3332,15 +3356,15 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3332
3356
|
"model-value": e.block.iconSize,
|
|
3333
3357
|
"onUpdate:modelValue": r[1] ||= (e) => o("iconSize", e)
|
|
3334
3358
|
}, null, 8, ["options", "model-value"])]),
|
|
3335
|
-
A("div",
|
|
3359
|
+
A("div", tc, [A("label", { class: y(g(q)) }, F(g(a).social.spacing), 3), A("div", nc, [A("input", {
|
|
3336
3360
|
type: "number",
|
|
3337
3361
|
class: y(g(Y)),
|
|
3338
3362
|
value: e.block.spacing,
|
|
3339
3363
|
min: "0",
|
|
3340
3364
|
max: "50",
|
|
3341
3365
|
onInput: r[2] ||= (e) => o("spacing", Number(e.target.value))
|
|
3342
|
-
}, null, 42,
|
|
3343
|
-
A("div",
|
|
3366
|
+
}, null, 42, rc), A("span", { class: y(g(J)) }, "px", 2)])]),
|
|
3367
|
+
A("div", ic, [A("label", { class: y(g(q)) }, F(g(a).social.align), 3), _(jn, {
|
|
3344
3368
|
options: [
|
|
3345
3369
|
{
|
|
3346
3370
|
value: "left",
|
|
@@ -3363,22 +3387,22 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3363
3387
|
}, null, 8, ["options", "model-value"])])
|
|
3364
3388
|
], 64));
|
|
3365
3389
|
}
|
|
3366
|
-
}),
|
|
3390
|
+
}), oc = { class: "tpl:mb-3.5" }, sc = { class: "tpl:flex tpl:items-stretch" }, cc = ["value"], lc = ["value"], uc = /* @__PURE__ */ d({
|
|
3367
3391
|
__name: "SpacerToolbar",
|
|
3368
3392
|
props: { block: {} },
|
|
3369
3393
|
emits: ["update"],
|
|
3370
3394
|
setup(e, { emit: t }) {
|
|
3371
3395
|
let n = t, { t: r } = K();
|
|
3372
|
-
return (t, i) => (s(), x("div",
|
|
3396
|
+
return (t, i) => (s(), x("div", oc, [
|
|
3373
3397
|
A("label", { class: y(g(q)) }, F(g(r).spacer.height), 3),
|
|
3374
|
-
A("div",
|
|
3398
|
+
A("div", sc, [A("input", {
|
|
3375
3399
|
type: "number",
|
|
3376
3400
|
class: y(g(Y)),
|
|
3377
3401
|
value: e.block.height,
|
|
3378
3402
|
min: "10",
|
|
3379
3403
|
max: "100",
|
|
3380
3404
|
onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
|
|
3381
|
-
}, null, 42,
|
|
3405
|
+
}, null, 42, cc), A("span", { class: y(g(J)) }, "px", 2)]),
|
|
3382
3406
|
A("input", {
|
|
3383
3407
|
type: "range",
|
|
3384
3408
|
class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
|
|
@@ -3386,13 +3410,13 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3386
3410
|
min: "10",
|
|
3387
3411
|
max: "100",
|
|
3388
3412
|
onInput: i[1] ||= (e) => n("update", { height: Number(e.target.value) })
|
|
3389
|
-
}, null, 40,
|
|
3413
|
+
}, null, 40, lc)
|
|
3390
3414
|
]));
|
|
3391
3415
|
}
|
|
3392
|
-
}),
|
|
3416
|
+
}), dc = { class: "tpl:mb-3.5" }, fc = { class: "tpl:flex tpl:items-center tpl:gap-3" }, pc = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, mc = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, hc = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, gc = ["disabled"], _c = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, vc = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, yc = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, bc = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, xc = ["disabled"], Sc = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Cc = { class: "tpl:mb-3.5" }, wc = {
|
|
3393
3417
|
key: 0,
|
|
3394
3418
|
class: "tpl:mb-3.5"
|
|
3395
|
-
},
|
|
3419
|
+
}, Tc = { class: "tpl:mb-3.5" }, Ec = { class: "tpl:mb-3.5" }, Dc = { class: "tpl:flex tpl:items-stretch" }, Oc = ["value"], kc = { class: "tpl:mb-3.5" }, Ac = { class: "tpl:flex tpl:items-stretch" }, jc = ["value"], Mc = { class: "tpl:mb-3.5" }, Nc = ["value"], Pc = { value: "" }, Fc = ["value"], Ic = { class: "tpl:mb-3.5" }, Lc = { class: "tpl:flex tpl:items-stretch" }, Rc = ["value"], zc = { class: "tpl:mb-3.5" }, Bc = { class: "tpl:mb-3.5" }, Vc = /* @__PURE__ */ d({
|
|
3396
3420
|
__name: "TableToolbar",
|
|
3397
3421
|
props: {
|
|
3398
3422
|
block: {},
|
|
@@ -3435,7 +3459,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3435
3459
|
i("update", { rows: t });
|
|
3436
3460
|
}
|
|
3437
3461
|
return (t, r) => (s(), x(P, null, [
|
|
3438
|
-
A("div",
|
|
3462
|
+
A("div", dc, [A("label", { class: y(g(q)) }, F(g(a).table.dimensions), 3), A("div", fc, [A("div", pc, [A("span", mc, F(g(a).table.rows), 1), A("div", hc, [
|
|
3439
3463
|
A("button", {
|
|
3440
3464
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
|
|
3441
3465
|
disabled: e.block.rows.length <= 1,
|
|
@@ -3443,8 +3467,8 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3443
3467
|
}, [_(g(Gt), {
|
|
3444
3468
|
size: 12,
|
|
3445
3469
|
"stroke-width": 2
|
|
3446
|
-
})], 8,
|
|
3447
|
-
A("span",
|
|
3470
|
+
})], 8, gc),
|
|
3471
|
+
A("span", _c, F(e.block.rows.length), 1),
|
|
3448
3472
|
A("button", {
|
|
3449
3473
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
|
|
3450
3474
|
onClick: l
|
|
@@ -3452,7 +3476,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3452
3476
|
size: 12,
|
|
3453
3477
|
"stroke-width": 2
|
|
3454
3478
|
})])
|
|
3455
|
-
])]), A("div",
|
|
3479
|
+
])]), A("div", vc, [A("span", yc, F(g(a).table.columns), 1), A("div", bc, [
|
|
3456
3480
|
A("button", {
|
|
3457
3481
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
|
|
3458
3482
|
disabled: o.value <= 1,
|
|
@@ -3460,8 +3484,8 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3460
3484
|
}, [_(g(Gt), {
|
|
3461
3485
|
size: 12,
|
|
3462
3486
|
"stroke-width": 2
|
|
3463
|
-
})], 8,
|
|
3464
|
-
A("span",
|
|
3487
|
+
})], 8, xc),
|
|
3488
|
+
A("span", Sc, F(o.value), 1),
|
|
3465
3489
|
A("button", {
|
|
3466
3490
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
|
|
3467
3491
|
onClick: d
|
|
@@ -3470,15 +3494,15 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3470
3494
|
"stroke-width": 2
|
|
3471
3495
|
})])
|
|
3472
3496
|
])])])]),
|
|
3473
|
-
A("div",
|
|
3497
|
+
A("div", Cc, [_(Q, {
|
|
3474
3498
|
class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
|
|
3475
3499
|
"model-value": e.block.hasHeaderRow,
|
|
3476
3500
|
label: g(a).table.hasHeaderRow,
|
|
3477
3501
|
"onUpdate:modelValue": r[2] ||= (e) => c("hasHeaderRow", e)
|
|
3478
3502
|
}, null, 8, ["model-value", "label"])]),
|
|
3479
|
-
e.block.hasHeaderRow ? (s(), x("div",
|
|
3503
|
+
e.block.hasHeaderRow ? (s(), x("div", wc, [A("label", { class: y(g(q)) }, F(g(a).table.headerBackgroundColor), 3), _(Z, {
|
|
3480
3504
|
"model-value": e.block.headerBackgroundColor ?? "",
|
|
3481
|
-
"seed-color": g(
|
|
3505
|
+
"seed-color": g(Tn),
|
|
3482
3506
|
placeholder: g(a).table.noHeaderBg,
|
|
3483
3507
|
"onUpdate:modelValue": r[3] ||= (e) => c("headerBackgroundColor", e || null)
|
|
3484
3508
|
}, null, 8, [
|
|
@@ -3486,47 +3510,47 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3486
3510
|
"seed-color",
|
|
3487
3511
|
"placeholder"
|
|
3488
3512
|
])])) : S("", !0),
|
|
3489
|
-
A("div",
|
|
3513
|
+
A("div", Tc, [A("label", { class: y(g(q)) }, F(g(a).table.borderColor), 3), _(Z, {
|
|
3490
3514
|
"model-value": e.block.borderColor,
|
|
3491
3515
|
"onUpdate:modelValue": r[4] ||= (e) => c("borderColor", e)
|
|
3492
3516
|
}, null, 8, ["model-value"])]),
|
|
3493
|
-
A("div",
|
|
3517
|
+
A("div", Ec, [A("label", { class: y(g(q)) }, F(g(a).table.borderWidth), 3), A("div", Dc, [A("input", {
|
|
3494
3518
|
type: "number",
|
|
3495
3519
|
class: y(g(Y)),
|
|
3496
3520
|
value: e.block.borderWidth,
|
|
3497
3521
|
min: "0",
|
|
3498
3522
|
max: "10",
|
|
3499
3523
|
onInput: r[5] ||= (e) => c("borderWidth", Number(e.target.value))
|
|
3500
|
-
}, null, 42,
|
|
3501
|
-
A("div",
|
|
3524
|
+
}, null, 42, Oc), A("span", { class: y(g(J)) }, "px", 2)])]),
|
|
3525
|
+
A("div", kc, [A("label", { class: y(g(q)) }, F(g(a).table.cellPadding), 3), A("div", Ac, [A("input", {
|
|
3502
3526
|
type: "number",
|
|
3503
3527
|
class: y(g(Y)),
|
|
3504
3528
|
value: e.block.cellPadding,
|
|
3505
3529
|
min: "0",
|
|
3506
3530
|
max: "30",
|
|
3507
3531
|
onInput: r[6] ||= (e) => c("cellPadding", Number(e.target.value))
|
|
3508
|
-
}, null, 42,
|
|
3509
|
-
A("div",
|
|
3532
|
+
}, null, 42, jc), A("span", { class: y(g(J)) }, "px", 2)])]),
|
|
3533
|
+
A("div", Mc, [A("label", { class: y(g(q)) }, F(g(a).table.fontFamily), 3), A("select", {
|
|
3510
3534
|
class: y(g(X)),
|
|
3511
3535
|
value: e.block.fontFamily || "",
|
|
3512
3536
|
onChange: r[7] ||= (e) => c("fontFamily", e.target.value || void 0)
|
|
3513
|
-
}, [A("option",
|
|
3537
|
+
}, [A("option", Pc, F(g(a).title.inheritFont), 1), (s(!0), x(P, null, n(e.fontFamilies, (e) => (s(), x("option", {
|
|
3514
3538
|
key: e.value,
|
|
3515
3539
|
value: e.value
|
|
3516
|
-
}, F(e.label), 9,
|
|
3517
|
-
A("div",
|
|
3540
|
+
}, F(e.label), 9, Fc))), 128))], 42, Nc)]),
|
|
3541
|
+
A("div", Ic, [A("label", { class: y(g(q)) }, F(g(a).table.fontSize), 3), A("div", Lc, [A("input", {
|
|
3518
3542
|
type: "number",
|
|
3519
3543
|
class: y(g(Y)),
|
|
3520
3544
|
value: e.block.fontSize,
|
|
3521
3545
|
min: "10",
|
|
3522
3546
|
max: "32",
|
|
3523
3547
|
onInput: r[8] ||= (e) => c("fontSize", Number(e.target.value))
|
|
3524
|
-
}, null, 42,
|
|
3525
|
-
A("div",
|
|
3548
|
+
}, null, 42, Rc), A("span", { class: y(g(J)) }, "px", 2)])]),
|
|
3549
|
+
A("div", zc, [A("label", { class: y(g(q)) }, F(g(a).table.color), 3), _(Z, {
|
|
3526
3550
|
"model-value": e.block.color ?? "",
|
|
3527
3551
|
"onUpdate:modelValue": r[9] ||= (e) => c("color", e || void 0)
|
|
3528
3552
|
}, null, 8, ["model-value"])]),
|
|
3529
|
-
A("div",
|
|
3553
|
+
A("div", Bc, [A("label", { class: y(g(q)) }, F(g(a).table.textAlign), 3), _(jn, {
|
|
3530
3554
|
options: [
|
|
3531
3555
|
{
|
|
3532
3556
|
value: "left",
|
|
@@ -3549,7 +3573,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3549
3573
|
}, null, 8, ["options", "model-value"])])
|
|
3550
3574
|
], 64));
|
|
3551
3575
|
}
|
|
3552
|
-
}),
|
|
3576
|
+
}), Hc = { class: "tpl:mb-3.5" }, Uc = ["value"], Wc = { value: 1 }, Gc = { value: 2 }, Kc = { value: 3 }, qc = { value: 4 }, Jc = { class: "tpl:mb-3.5" }, Yc = ["value"], Xc = { value: "" }, Zc = ["value"], Qc = { class: "tpl:mb-3.5" }, $c = { class: "tpl:mb-3.5" }, el = /* @__PURE__ */ d({
|
|
3553
3577
|
__name: "TitleToolbar",
|
|
3554
3578
|
props: {
|
|
3555
3579
|
block: {},
|
|
@@ -3562,29 +3586,29 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3562
3586
|
r("update", { [e]: t });
|
|
3563
3587
|
}
|
|
3564
3588
|
return (t, r) => (s(), x(P, null, [
|
|
3565
|
-
A("div",
|
|
3589
|
+
A("div", Hc, [A("label", { class: y(g(q)) }, F(g(i).title.level), 3), A("select", {
|
|
3566
3590
|
class: y(g(X)),
|
|
3567
3591
|
value: e.block.level,
|
|
3568
3592
|
onChange: r[0] ||= (e) => a("level", Number(e.target.value))
|
|
3569
3593
|
}, [
|
|
3570
|
-
A("option",
|
|
3571
|
-
A("option",
|
|
3572
|
-
A("option",
|
|
3573
|
-
A("option",
|
|
3574
|
-
], 42,
|
|
3575
|
-
A("div",
|
|
3594
|
+
A("option", Wc, F(g(i).title.heading1), 1),
|
|
3595
|
+
A("option", Gc, F(g(i).title.heading2), 1),
|
|
3596
|
+
A("option", Kc, F(g(i).title.heading3), 1),
|
|
3597
|
+
A("option", qc, F(g(i).title.heading4), 1)
|
|
3598
|
+
], 42, Uc)]),
|
|
3599
|
+
A("div", Jc, [A("label", { class: y(g(q)) }, F(g(i).title.fontFamily), 3), A("select", {
|
|
3576
3600
|
class: y(g(X)),
|
|
3577
3601
|
value: e.block.fontFamily || "",
|
|
3578
3602
|
onChange: r[1] ||= (e) => a("fontFamily", e.target.value || void 0)
|
|
3579
|
-
}, [A("option",
|
|
3603
|
+
}, [A("option", Xc, F(g(i).title.inheritFont), 1), (s(!0), x(P, null, n(e.fontFamilies, (e) => (s(), x("option", {
|
|
3580
3604
|
key: e.value,
|
|
3581
3605
|
value: e.value
|
|
3582
|
-
}, F(e.label), 9,
|
|
3583
|
-
A("div",
|
|
3606
|
+
}, F(e.label), 9, Zc))), 128))], 42, Yc)]),
|
|
3607
|
+
A("div", Qc, [A("label", { class: y(g(q)) }, F(g(i).title.color), 3), _(Z, {
|
|
3584
3608
|
"model-value": e.block.color ?? "",
|
|
3585
3609
|
"onUpdate:modelValue": r[2] ||= (e) => a("color", e || void 0)
|
|
3586
3610
|
}, null, 8, ["model-value"])]),
|
|
3587
|
-
A("div",
|
|
3611
|
+
A("div", $c, [A("label", { class: y(g(q)) }, F(g(i).title.align), 3), _(jn, {
|
|
3588
3612
|
options: [
|
|
3589
3613
|
{
|
|
3590
3614
|
value: "left",
|
|
@@ -3607,14 +3631,14 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3607
3631
|
}, null, 8, ["options", "model-value"])])
|
|
3608
3632
|
], 64));
|
|
3609
3633
|
}
|
|
3610
|
-
}),
|
|
3634
|
+
}), tl = { class: "tpl:mb-3.5" }, nl = {
|
|
3611
3635
|
key: 0,
|
|
3612
3636
|
class: "tpl:mb-3.5"
|
|
3613
|
-
},
|
|
3637
|
+
}, rl = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, il = [
|
|
3614
3638
|
"value",
|
|
3615
3639
|
"placeholder",
|
|
3616
3640
|
"title"
|
|
3617
|
-
],
|
|
3641
|
+
], al = { class: "tpl:mb-3.5" }, ol = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, sl = { class: "tpl:mb-3.5" }, cl = { class: "tpl:mb-3.5" }, ll = ["value"], ul = { value: "full" }, dl = { class: "tpl:mb-3.5" }, fl = /* @__PURE__ */ d({
|
|
3618
3642
|
__name: "VideoToolbar",
|
|
3619
3643
|
props: { block: {} },
|
|
3620
3644
|
emits: ["update"],
|
|
@@ -3630,7 +3654,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3630
3654
|
u.alive && e && (h("thumbnailUrl", e.url), p.value = !0, m());
|
|
3631
3655
|
}
|
|
3632
3656
|
return (t, n) => (s(), x(P, null, [
|
|
3633
|
-
A("div",
|
|
3657
|
+
A("div", tl, [
|
|
3634
3658
|
A("label", { class: y(g(q)) }, F(g(a).video.videoUrl), 3),
|
|
3635
3659
|
_($, {
|
|
3636
3660
|
"model-value": e.block.url,
|
|
@@ -3646,16 +3670,16 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3646
3670
|
"onUpdate:modelValue": n[1] ||= (e) => h("openInNewTab", e)
|
|
3647
3671
|
}, null, 8, ["model-value", "label"])) : S("", !0)
|
|
3648
3672
|
]),
|
|
3649
|
-
f.value ? (s(), x("div",
|
|
3673
|
+
f.value ? (s(), x("div", nl, [A("label", { class: y(g(q)) }, [R(F(g(a).video.placeholderUrl) + " ", 1), A("span", rl, F(g(a).video.optional), 1)], 2), A("input", {
|
|
3650
3674
|
type: "url",
|
|
3651
3675
|
class: y(g(X)),
|
|
3652
3676
|
value: e.block.placeholderUrl || "",
|
|
3653
3677
|
placeholder: g(a).video.placeholderUrlPlaceholder,
|
|
3654
3678
|
title: g(a).video.placeholderUrlTooltip,
|
|
3655
3679
|
onInput: n[2] ||= (e) => h("placeholderUrl", e.target.value)
|
|
3656
|
-
}, null, 42,
|
|
3657
|
-
A("div",
|
|
3658
|
-
A("label", { class: y(g(q)) }, [R(F(g(a).video.customThumbnail) + " ", 1), A("span",
|
|
3680
|
+
}, null, 42, il)])) : S("", !0),
|
|
3681
|
+
A("div", al, [
|
|
3682
|
+
A("label", { class: y(g(q)) }, [R(F(g(a).video.customThumbnail) + " ", 1), A("span", ol, F(g(a).video.optional), 1)], 2),
|
|
3659
3683
|
_($, {
|
|
3660
3684
|
"model-value": e.block.thumbnailUrl,
|
|
3661
3685
|
type: "url",
|
|
@@ -3681,23 +3705,23 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3681
3705
|
"stroke-width": 1.5
|
|
3682
3706
|
}), R(" " + F(g(a).image.browseMedia), 1)])) : S("", !0)
|
|
3683
3707
|
]),
|
|
3684
|
-
A("div",
|
|
3708
|
+
A("div", sl, [A("label", { class: y(g(q)) }, F(g(a).video.altText), 3), _($, {
|
|
3685
3709
|
"model-value": e.block.alt,
|
|
3686
3710
|
type: "text",
|
|
3687
3711
|
placeholder: g(a).video.altTextPlaceholder,
|
|
3688
3712
|
"onUpdate:modelValue": n[4] ||= (e) => h("alt", e)
|
|
3689
3713
|
}, null, 8, ["model-value", "placeholder"])]),
|
|
3690
|
-
A("div",
|
|
3714
|
+
A("div", cl, [A("label", { class: y(g(q)) }, F(g(a).video.width), 3), A("select", {
|
|
3691
3715
|
class: y(g(X)),
|
|
3692
3716
|
value: e.block.width,
|
|
3693
3717
|
onChange: n[5] ||= (e) => h("width", e.target.value === "full" ? "full" : Number(e.target.value))
|
|
3694
3718
|
}, [
|
|
3695
|
-
A("option",
|
|
3719
|
+
A("option", ul, F(g(a).video.fullWidth), 1),
|
|
3696
3720
|
n[7] ||= A("option", { value: "300" }, "300px", -1),
|
|
3697
3721
|
n[8] ||= A("option", { value: "400" }, "400px", -1),
|
|
3698
3722
|
n[9] ||= A("option", { value: "500" }, "500px", -1)
|
|
3699
|
-
], 42,
|
|
3700
|
-
A("div",
|
|
3723
|
+
], 42, ll)]),
|
|
3724
|
+
A("div", dl, [A("label", { class: y(g(q)) }, F(g(a).title.align), 3), _(jn, {
|
|
3701
3725
|
options: [
|
|
3702
3726
|
{
|
|
3703
3727
|
value: "left",
|
|
@@ -3717,7 +3741,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3717
3741
|
}, null, 8, ["options", "model-value"])])
|
|
3718
3742
|
], 64));
|
|
3719
3743
|
}
|
|
3720
|
-
}),
|
|
3744
|
+
}), pl = ["aria-label"], ml = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, hl = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, gl = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, _l = { class: "tpl:flex tpl:gap-1" }, vl = ["title"], yl = ["title"], bl = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, xl = /*#__PURE__*/ un(/* @__PURE__ */ d({
|
|
3721
3745
|
__name: "Toolbar",
|
|
3722
3746
|
props: { block: {} },
|
|
3723
3747
|
emits: [
|
|
@@ -3726,7 +3750,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3726
3750
|
"duplicate"
|
|
3727
3751
|
],
|
|
3728
3752
|
setup(e, { emit: n }) {
|
|
3729
|
-
let r = L(() => import("./chunks/CountdownToolbar-
|
|
3753
|
+
let r = L(() => import("./chunks/CountdownToolbar-D8QWL-jK.js")), i = e, a = n, { t: o } = K(), c = et(tt, "Toolbar"), l = t(it, []), d = b(() => i.block.type), f = b(() => z(i.block)), p = b(() => {
|
|
3730
3754
|
if (f.value) return l.find((e) => e.type === i.block.customType);
|
|
3731
3755
|
}), m = b(() => f.value ? p.value?.name ?? i.block.customType : Oe(d.value, o)), h = c.fonts;
|
|
3732
3756
|
function v(e) {
|
|
@@ -3735,7 +3759,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3735
3759
|
return (t, n) => (s(), x("aside", {
|
|
3736
3760
|
"aria-label": g(o).landmarks.blockToolbar,
|
|
3737
3761
|
class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
|
|
3738
|
-
}, [A("div",
|
|
3762
|
+
}, [A("div", ml, [A("div", hl, [g(vn)[d.value] ? (s(), D(u(g(vn)[d.value]), {
|
|
3739
3763
|
key: 0,
|
|
3740
3764
|
size: 16,
|
|
3741
3765
|
"stroke-width": 1.5
|
|
@@ -3743,70 +3767,70 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3743
3767
|
key: 1,
|
|
3744
3768
|
size: 16,
|
|
3745
3769
|
"stroke-width": 1.5
|
|
3746
|
-
})) : S("", !0), A("h3",
|
|
3770
|
+
})) : S("", !0), A("h3", gl, F(m.value), 1)]), A("div", _l, [A("button", {
|
|
3747
3771
|
class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
|
|
3748
3772
|
title: g(o).toolbar.duplicate,
|
|
3749
3773
|
onClick: n[0] ||= (e) => a("duplicate")
|
|
3750
3774
|
}, [_(g(wt), {
|
|
3751
3775
|
size: 14,
|
|
3752
3776
|
"stroke-width": 2
|
|
3753
|
-
})], 8,
|
|
3777
|
+
})], 8, vl), A("button", {
|
|
3754
3778
|
class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
|
|
3755
3779
|
title: g(o).toolbar.delete,
|
|
3756
3780
|
onClick: n[1] ||= (e) => a("delete")
|
|
3757
3781
|
}, [_(g(Ut), {
|
|
3758
3782
|
size: 14,
|
|
3759
3783
|
"stroke-width": 2
|
|
3760
|
-
})], 8,
|
|
3784
|
+
})], 8, yl)])]), A("div", bl, [f.value ? (s(), D(Ho, {
|
|
3761
3785
|
key: 0,
|
|
3762
3786
|
block: e.block,
|
|
3763
3787
|
onUpdateFieldValues: n[2] ||= (e) => a("update", { fieldValues: e }),
|
|
3764
3788
|
onUpdateDataSourceFetched: n[3] ||= (e) => a("update", { dataSourceFetched: e })
|
|
3765
|
-
}, null, 8, ["block"])) : d.value === "section" ? (s(), D(
|
|
3789
|
+
}, null, 8, ["block"])) : d.value === "section" ? (s(), D(Bs, {
|
|
3766
3790
|
key: 1,
|
|
3767
3791
|
block: e.block,
|
|
3768
3792
|
onUpdate: v
|
|
3769
|
-
}, null, 8, ["block"])) : d.value === "title" ? (s(), D(
|
|
3793
|
+
}, null, 8, ["block"])) : d.value === "title" ? (s(), D(el, {
|
|
3770
3794
|
key: 2,
|
|
3771
3795
|
block: e.block,
|
|
3772
3796
|
"font-families": g(h),
|
|
3773
3797
|
onUpdate: v
|
|
3774
|
-
}, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (s(), x(P, { key: 3 }, [], 64)) : d.value === "image" ? (s(), D(
|
|
3798
|
+
}, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (s(), x(P, { key: 3 }, [], 64)) : d.value === "image" ? (s(), D(hs, {
|
|
3775
3799
|
key: 4,
|
|
3776
3800
|
block: e.block,
|
|
3777
3801
|
onUpdate: v
|
|
3778
|
-
}, null, 8, ["block"])) : d.value === "video" ? (s(), D(
|
|
3802
|
+
}, null, 8, ["block"])) : d.value === "video" ? (s(), D(fl, {
|
|
3779
3803
|
key: 5,
|
|
3780
3804
|
block: e.block,
|
|
3781
3805
|
onUpdate: v
|
|
3782
|
-
}, null, 8, ["block"])) : d.value === "button" ? (s(), D(
|
|
3806
|
+
}, null, 8, ["block"])) : d.value === "button" ? (s(), D(la, {
|
|
3783
3807
|
key: 6,
|
|
3784
3808
|
block: e.block,
|
|
3785
3809
|
"font-families": g(h),
|
|
3786
3810
|
onUpdate: v
|
|
3787
|
-
}, null, 8, ["block", "font-families"])) : d.value === "divider" ? (s(), D(
|
|
3811
|
+
}, null, 8, ["block", "font-families"])) : d.value === "divider" ? (s(), D(Jo, {
|
|
3788
3812
|
key: 7,
|
|
3789
3813
|
block: e.block,
|
|
3790
3814
|
onUpdate: v
|
|
3791
|
-
}, null, 8, ["block"])) : d.value === "social" ? (s(), D(
|
|
3815
|
+
}, null, 8, ["block"])) : d.value === "social" ? (s(), D(ac, {
|
|
3792
3816
|
key: 8,
|
|
3793
3817
|
block: e.block,
|
|
3794
3818
|
onUpdate: v
|
|
3795
|
-
}, null, 8, ["block"])) : d.value === "menu" ? (s(), D(
|
|
3819
|
+
}, null, 8, ["block"])) : d.value === "menu" ? (s(), D(Es, {
|
|
3796
3820
|
key: 9,
|
|
3797
3821
|
block: e.block,
|
|
3798
3822
|
"font-families": g(h),
|
|
3799
3823
|
onUpdate: v
|
|
3800
|
-
}, null, 8, ["block", "font-families"])) : d.value === "table" ? (s(), D(
|
|
3824
|
+
}, null, 8, ["block", "font-families"])) : d.value === "table" ? (s(), D(Vc, {
|
|
3801
3825
|
key: 10,
|
|
3802
3826
|
block: e.block,
|
|
3803
3827
|
"font-families": g(h),
|
|
3804
3828
|
onUpdate: v
|
|
3805
|
-
}, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (s(), D(
|
|
3829
|
+
}, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (s(), D(uc, {
|
|
3806
3830
|
key: 11,
|
|
3807
3831
|
block: e.block,
|
|
3808
3832
|
onUpdate: v
|
|
3809
|
-
}, null, 8, ["block"])) : d.value === "html" ? (s(), D(
|
|
3833
|
+
}, null, 8, ["block"])) : d.value === "html" ? (s(), D(Qo, {
|
|
3810
3834
|
key: 12,
|
|
3811
3835
|
block: e.block,
|
|
3812
3836
|
onUpdate: v
|
|
@@ -3815,52 +3839,52 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3815
3839
|
block: e.block,
|
|
3816
3840
|
"font-families": g(h),
|
|
3817
3841
|
onUpdate: v
|
|
3818
|
-
}, null, 8, ["block", "font-families"])) : S("", !0), _(
|
|
3842
|
+
}, null, 8, ["block", "font-families"])) : S("", !0), _(to, {
|
|
3819
3843
|
block: e.block,
|
|
3820
3844
|
"is-first-section": d.value === "paragraph",
|
|
3821
3845
|
onUpdate: v
|
|
3822
|
-
}, null, 8, ["block", "is-first-section"])])], 8,
|
|
3846
|
+
}, null, 8, ["block", "is-first-section"])])], 8, pl));
|
|
3823
3847
|
}
|
|
3824
|
-
}), [["__scopeId", "data-v-
|
|
3848
|
+
}), [["__scopeId", "data-v-c0ea5f03"]]), Sl = ["aria-label"], Cl = {
|
|
3825
3849
|
role: "tablist",
|
|
3826
3850
|
class: "tpl:relative tpl:flex tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-active)] tpl:p-1.5"
|
|
3827
|
-
},
|
|
3851
|
+
}, wl = [
|
|
3828
3852
|
"aria-selected",
|
|
3829
3853
|
"aria-label",
|
|
3830
3854
|
"title"
|
|
3831
|
-
],
|
|
3855
|
+
], Tl = { key: 0 }, El = [
|
|
3832
3856
|
"aria-selected",
|
|
3833
3857
|
"aria-label",
|
|
3834
3858
|
"title"
|
|
3835
|
-
],
|
|
3859
|
+
], Dl = { key: 0 }, Ol = [
|
|
3836
3860
|
"aria-selected",
|
|
3837
3861
|
"aria-label",
|
|
3838
3862
|
"title"
|
|
3839
|
-
],
|
|
3863
|
+
], kl = { key: 0 }, Al = {
|
|
3840
3864
|
key: 1,
|
|
3841
3865
|
class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
|
|
3842
|
-
},
|
|
3866
|
+
}, jl = {
|
|
3843
3867
|
key: 0,
|
|
3844
3868
|
id: "tpl-tabpanel-content",
|
|
3845
3869
|
role: "tabpanel",
|
|
3846
3870
|
"aria-labelledby": "tpl-tab-content",
|
|
3847
3871
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
3848
|
-
},
|
|
3872
|
+
}, Ml = {
|
|
3849
3873
|
key: 1,
|
|
3850
3874
|
class: "tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:px-6 tpl:py-10 tpl:text-center tpl:text-[var(--tpl-text-muted)]"
|
|
3851
|
-
},
|
|
3875
|
+
}, Nl = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, Pl = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Fl = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Il = {
|
|
3852
3876
|
key: 1,
|
|
3853
3877
|
id: "tpl-tabpanel-settings",
|
|
3854
3878
|
role: "tabpanel",
|
|
3855
3879
|
"aria-labelledby": "tpl-tab-settings",
|
|
3856
3880
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
3857
|
-
},
|
|
3881
|
+
}, Ll = {
|
|
3858
3882
|
key: 2,
|
|
3859
3883
|
id: "tpl-tabpanel-issues",
|
|
3860
3884
|
role: "tabpanel",
|
|
3861
3885
|
"aria-labelledby": "tpl-tab-issues",
|
|
3862
3886
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
3863
|
-
},
|
|
3887
|
+
}, Rl = /* @__PURE__ */ d({
|
|
3864
3888
|
__name: "RightSidebar",
|
|
3865
3889
|
props: {
|
|
3866
3890
|
selectedBlock: {},
|
|
@@ -3874,7 +3898,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3874
3898
|
"update-settings"
|
|
3875
3899
|
],
|
|
3876
3900
|
setup(n, { emit: r }) {
|
|
3877
|
-
let i = L(() => import("./chunks/IssuesPanel-
|
|
3901
|
+
let i = L(() => import("./chunks/IssuesPanel-Dz90c1C6.js")), a = n, o = r, { t: c } = K(), u = l("content"), d = t(gt, null), f = b(() => d !== null), p = b(() => d?.issues.value.length ?? 0);
|
|
3878
3902
|
function m(e) {
|
|
3879
3903
|
return u.value === e ? "tpl:flex-1 tpl:text-[var(--tpl-primary)]" : "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)] tpl:hover:text-[var(--tpl-text)]";
|
|
3880
3904
|
}
|
|
@@ -3890,7 +3914,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3890
3914
|
"aria-label": g(c).landmarks.rightSidebar,
|
|
3891
3915
|
class: y(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", n.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
|
|
3892
3916
|
}, [
|
|
3893
|
-
A("div",
|
|
3917
|
+
A("div", Cl, [
|
|
3894
3918
|
A("button", {
|
|
3895
3919
|
id: "tpl-tab-content",
|
|
3896
3920
|
role: "tab",
|
|
@@ -3904,7 +3928,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3904
3928
|
}, [_(g(tn), {
|
|
3905
3929
|
size: 14,
|
|
3906
3930
|
"stroke-width": 2
|
|
3907
|
-
}), u.value === "content" ? (s(), x("span",
|
|
3931
|
+
}), u.value === "content" ? (s(), x("span", Tl, F(g(c).sidebar.content), 1)) : S("", !0)], 14, wl),
|
|
3908
3932
|
A("button", {
|
|
3909
3933
|
id: "tpl-tab-settings",
|
|
3910
3934
|
role: "tab",
|
|
@@ -3918,7 +3942,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3918
3942
|
}, [_(g(Yt), {
|
|
3919
3943
|
size: 14,
|
|
3920
3944
|
"stroke-width": 1.5
|
|
3921
|
-
}), u.value === "settings" ? (s(), x("span",
|
|
3945
|
+
}), u.value === "settings" ? (s(), x("span", Dl, F(g(c).sidebar.settings), 1)) : S("", !0)], 14, El),
|
|
3922
3946
|
f.value ? (s(), x("button", {
|
|
3923
3947
|
key: 0,
|
|
3924
3948
|
id: "tpl-tab-issues",
|
|
@@ -3935,68 +3959,68 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
3935
3959
|
size: 14,
|
|
3936
3960
|
"stroke-width": 1.5
|
|
3937
3961
|
}),
|
|
3938
|
-
u.value === "issues" ? (s(), x("span",
|
|
3939
|
-
p.value > 0 ? (s(), x("span",
|
|
3940
|
-
], 14,
|
|
3962
|
+
u.value === "issues" ? (s(), x("span", kl, F(g(c).issues.panelTabLabel), 1)) : S("", !0),
|
|
3963
|
+
p.value > 0 ? (s(), x("span", Al, F(p.value), 1)) : S("", !0)
|
|
3964
|
+
], 14, Ol)) : S("", !0)
|
|
3941
3965
|
]),
|
|
3942
|
-
u.value === "content" ? (s(), x("div",
|
|
3966
|
+
u.value === "content" ? (s(), x("div", jl, [n.selectedBlock ? (s(), D(xl, {
|
|
3943
3967
|
key: 0,
|
|
3944
3968
|
block: n.selectedBlock,
|
|
3945
3969
|
onUpdate: t[3] ||= (e) => o("update-block", e),
|
|
3946
3970
|
onDelete: t[4] ||= (e) => o("delete-block"),
|
|
3947
3971
|
onDuplicate: t[5] ||= (e) => o("duplicate-block")
|
|
3948
|
-
}, null, 8, ["block"])) : (s(), x("div",
|
|
3949
|
-
A("div",
|
|
3972
|
+
}, null, 8, ["block"])) : (s(), x("div", Ml, [
|
|
3973
|
+
A("div", Nl, [_(g(Xt), {
|
|
3950
3974
|
size: 40,
|
|
3951
3975
|
"stroke-width": 1.5
|
|
3952
3976
|
})]),
|
|
3953
|
-
A("h3",
|
|
3954
|
-
A("p",
|
|
3977
|
+
A("h3", Pl, F(g(c).sidebar.noSelection), 1),
|
|
3978
|
+
A("p", Fl, F(g(c).sidebar.noSelectionHint), 1)
|
|
3955
3979
|
]))])) : S("", !0),
|
|
3956
|
-
u.value === "settings" ? (s(), x("div",
|
|
3980
|
+
u.value === "settings" ? (s(), x("div", Il, [_(Mi, {
|
|
3957
3981
|
settings: n.settings,
|
|
3958
3982
|
onUpdate: t[6] ||= (e) => o("update-settings", e)
|
|
3959
3983
|
}, null, 8, ["settings"])])) : S("", !0),
|
|
3960
|
-
u.value === "issues" && f.value ? (s(), x("div",
|
|
3961
|
-
], 10,
|
|
3984
|
+
u.value === "issues" && f.value ? (s(), x("div", Ll, [_(g(i))])) : S("", !0)
|
|
3985
|
+
], 10, Sl));
|
|
3962
3986
|
}
|
|
3963
|
-
}),
|
|
3987
|
+
}), zl = {
|
|
3964
3988
|
class: "tpl-small-screen-notice tpl:absolute tpl:inset-0 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-4 tpl:px-6 tpl:py-10 tpl:text-center tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)]",
|
|
3965
3989
|
style: { "z-index": "10001" },
|
|
3966
3990
|
role: "status",
|
|
3967
3991
|
"data-testid": "small-screen-notice"
|
|
3968
|
-
},
|
|
3992
|
+
}, Bl = { class: "tpl:text-[var(--tpl-text-dim)]" }, Vl = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Hl = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Ul = /* @__PURE__ */ d({
|
|
3969
3993
|
__name: "SmallScreenNotice",
|
|
3970
3994
|
setup(e) {
|
|
3971
3995
|
let { t } = K();
|
|
3972
|
-
return (e, n) => (s(), x("div",
|
|
3973
|
-
A("div",
|
|
3996
|
+
return (e, n) => (s(), x("div", zl, [
|
|
3997
|
+
A("div", Bl, [_(g(bt), {
|
|
3974
3998
|
size: 48,
|
|
3975
3999
|
"stroke-width": 1.5
|
|
3976
4000
|
})]),
|
|
3977
|
-
A("h2",
|
|
3978
|
-
A("p",
|
|
4001
|
+
A("h2", Vl, F(g(t).smallScreen.title), 1),
|
|
4002
|
+
A("p", Hl, F(g(t).smallScreen.message), 1)
|
|
3979
4003
|
]));
|
|
3980
4004
|
}
|
|
3981
|
-
}),
|
|
4005
|
+
}), Wl = {
|
|
3982
4006
|
class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
|
|
3983
4007
|
style: {
|
|
3984
4008
|
"background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
|
|
3985
4009
|
"backdrop-filter": "blur(8px)",
|
|
3986
4010
|
"-webkit-backdrop-filter": "blur(8px)"
|
|
3987
4011
|
}
|
|
3988
|
-
},
|
|
4012
|
+
}, Gl = {
|
|
3989
4013
|
href: "https://github.com/templatical/sdk",
|
|
3990
4014
|
target: "_blank",
|
|
3991
4015
|
rel: "noopener noreferrer",
|
|
3992
4016
|
class: "tpl:transition-colors tpl:hover:opacity-80 tpl:text-[var(--tpl-text-dim)]",
|
|
3993
4017
|
style: { "text-decoration": "none" }
|
|
3994
|
-
},
|
|
4018
|
+
}, Kl = /* @__PURE__ */ d({
|
|
3995
4019
|
__name: "EditorFooter",
|
|
3996
4020
|
props: { positionClass: {} },
|
|
3997
4021
|
setup(e) {
|
|
3998
4022
|
let { t } = K();
|
|
3999
|
-
return (n, r) => (s(), x("footer", { class: y(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [A("div",
|
|
4023
|
+
return (n, r) => (s(), x("footer", { class: y(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [A("div", Wl, [
|
|
4000
4024
|
A("span", null, F(g(t).footer.poweredBy), 1),
|
|
4001
4025
|
r[0] ||= A("a", {
|
|
4002
4026
|
href: "https://templatical.com",
|
|
@@ -4011,14 +4035,14 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4011
4035
|
alt: ""
|
|
4012
4036
|
}), R(" Templatical ")], -1),
|
|
4013
4037
|
r[1] ||= A("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
|
|
4014
|
-
A("a",
|
|
4038
|
+
A("a", Gl, F(g(t).footer.openSource), 1)
|
|
4015
4039
|
])], 2));
|
|
4016
4040
|
}
|
|
4017
|
-
}),
|
|
4041
|
+
}), ql = [
|
|
4018
4042
|
"aria-label",
|
|
4019
4043
|
"title",
|
|
4020
4044
|
"aria-pressed"
|
|
4021
|
-
],
|
|
4045
|
+
], Jl = /*#__PURE__*/ un(/* @__PURE__ */ d({
|
|
4022
4046
|
__name: "DarkModeToggle",
|
|
4023
4047
|
props: { darkMode: { type: Boolean } },
|
|
4024
4048
|
emits: ["change"],
|
|
@@ -4051,13 +4075,13 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4051
4075
|
"stroke-width": 1.5
|
|
4052
4076
|
}))]),
|
|
4053
4077
|
_: 1
|
|
4054
|
-
})], 12,
|
|
4078
|
+
})], 12, ql));
|
|
4055
4079
|
}
|
|
4056
|
-
}), [["__scopeId", "data-v-632aa74f"]]),
|
|
4080
|
+
}), [["__scopeId", "data-v-632aa74f"]]), Yl = [
|
|
4057
4081
|
"aria-label",
|
|
4058
4082
|
"title",
|
|
4059
4083
|
"aria-pressed"
|
|
4060
|
-
],
|
|
4084
|
+
], Xl = /*#__PURE__*/ un(/* @__PURE__ */ d({
|
|
4061
4085
|
__name: "PreviewToggle",
|
|
4062
4086
|
props: { previewMode: { type: Boolean } },
|
|
4063
4087
|
emits: ["change"],
|
|
@@ -4090,9 +4114,9 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4090
4114
|
"stroke-width": 1.5
|
|
4091
4115
|
}))]),
|
|
4092
4116
|
_: 1
|
|
4093
|
-
})], 12,
|
|
4117
|
+
})], 12, Yl));
|
|
4094
4118
|
}
|
|
4095
|
-
}), [["__scopeId", "data-v-eef7b2ca"]]),
|
|
4119
|
+
}), [["__scopeId", "data-v-eef7b2ca"]]), Zl = ["aria-label", "onKeydown"], Ql = ["title", "aria-label"], $l = /* @__PURE__ */ d({
|
|
4096
4120
|
__name: "TemplateNameField",
|
|
4097
4121
|
props: {
|
|
4098
4122
|
name: {},
|
|
@@ -4124,7 +4148,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4124
4148
|
class: y([g(X), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
|
|
4125
4149
|
onKeydown: [v(T(d, ["prevent"]), ["enter"]), v(T(p, ["prevent"]), ["esc"])],
|
|
4126
4150
|
onBlur: d
|
|
4127
|
-
}, null, 42,
|
|
4151
|
+
}, null, 42, Zl)), [[k, o.value]]) : e.editable ? (s(), x("button", {
|
|
4128
4152
|
key: 1,
|
|
4129
4153
|
type: "button",
|
|
4130
4154
|
"data-testid": "template-name",
|
|
@@ -4132,13 +4156,13 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4132
4156
|
"aria-label": g(i).header.rename,
|
|
4133
4157
|
class: y(["tpl:max-w-[260px] tpl:cursor-pointer tpl:truncate tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-transparent tpl:px-2 tpl:py-1 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:border-[var(--tpl-border)] tpl:hover:bg-[var(--tpl-bg-hover)]", { "tpl:text-[var(--tpl-text-dim)]": !e.name }]),
|
|
4134
4158
|
onClick: u
|
|
4135
|
-
}, F(e.name || g(i).header.untitled), 11,
|
|
4159
|
+
}, F(e.name || g(i).header.untitled), 11, Ql)) : (s(), x("span", {
|
|
4136
4160
|
key: 2,
|
|
4137
4161
|
"data-testid": "template-name",
|
|
4138
4162
|
class: y(["tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:py-1 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]", { "tpl:text-[var(--tpl-text-dim)]": !e.name }])
|
|
4139
4163
|
}, F(e.name || g(i).header.untitled), 3));
|
|
4140
4164
|
}
|
|
4141
|
-
}),
|
|
4165
|
+
}), eu = ["title"], tu = /* @__PURE__ */ d({
|
|
4142
4166
|
__name: "TemplateTimestamp",
|
|
4143
4167
|
props: {
|
|
4144
4168
|
iso: {},
|
|
@@ -4150,7 +4174,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4150
4174
|
i.value += 1;
|
|
4151
4175
|
}, 6e4);
|
|
4152
4176
|
let a = b(() => {
|
|
4153
|
-
let e =
|
|
4177
|
+
let e = Fn(t.iso, n.time, r);
|
|
4154
4178
|
if (e === null) return "";
|
|
4155
4179
|
let i = e === n.time.justNow;
|
|
4156
4180
|
return t.kind === "updatedAt" ? i ? n.header.updatedJustNow : r(n.header.updatedAt, { time: e }) : i ? n.header.createdJustNow : r(n.header.createdAt, { time: e });
|
|
@@ -4163,19 +4187,19 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4163
4187
|
"data-testid": "template-timestamp",
|
|
4164
4188
|
title: o.value,
|
|
4165
4189
|
class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
|
|
4166
|
-
}, F(a.value), 9,
|
|
4190
|
+
}, F(a.value), 9, eu)) : S("", !0);
|
|
4167
4191
|
}
|
|
4168
|
-
}),
|
|
4192
|
+
}), nu = ["data-tooltip"], ru = {
|
|
4169
4193
|
key: 1,
|
|
4170
4194
|
"aria-live": "polite",
|
|
4171
4195
|
"data-testid": "save-status-saved",
|
|
4172
4196
|
class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-success)]"
|
|
4173
|
-
},
|
|
4197
|
+
}, iu = {
|
|
4174
4198
|
key: 2,
|
|
4175
4199
|
"aria-live": "polite",
|
|
4176
4200
|
"data-testid": "save-status-unsaved",
|
|
4177
4201
|
class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
4178
|
-
},
|
|
4202
|
+
}, au = /* @__PURE__ */ d({
|
|
4179
4203
|
__name: "TemplateSaveStatus",
|
|
4180
4204
|
props: {
|
|
4181
4205
|
status: {},
|
|
@@ -4193,19 +4217,19 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4193
4217
|
}, [_(g(At), {
|
|
4194
4218
|
size: 12,
|
|
4195
4219
|
"stroke-width": 2.5
|
|
4196
|
-
}), R(" " + F(g(t).header.saveFailed), 1)], 8,
|
|
4220
|
+
}), R(" " + F(g(t).header.saveFailed), 1)], 8, nu)) : e.status === "saved" ? (s(), x("div", ru, [_(g(Ot), {
|
|
4197
4221
|
size: 12,
|
|
4198
4222
|
"stroke-width": 2.5
|
|
4199
|
-
}), R(" " + F(g(t).header.saved), 1)])) : e.isDirty ? (s(), x("div",
|
|
4223
|
+
}), R(" " + F(g(t).header.saved), 1)])) : e.isDirty ? (s(), x("div", iu, [r[0] ||= A("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), R(" " + F(g(t).header.unsaved), 1)])) : S("", !0);
|
|
4200
4224
|
}
|
|
4201
|
-
}),
|
|
4225
|
+
}), ou = { class: "tpl-header tpl:absolute tpl:top-0 tpl:right-0 tpl:left-0 tpl:z-50 tpl:grid tpl:h-14 tpl:grid-cols-[1fr_auto_1fr] tpl:items-center tpl:px-4 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:border-b tpl:border-[var(--tpl-border)]" }, su = { class: "tpl-header-left tpl:flex tpl:min-w-[200px] tpl:items-center tpl:gap-2.5" }, cu = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, lu = { class: "tpl-header-right tpl:flex tpl:min-w-[200px] tpl:items-center tpl:justify-end tpl:gap-3" }, uu = ["aria-label", "aria-expanded"], du = {
|
|
4202
4226
|
key: 0,
|
|
4203
4227
|
class: "tpl:inline-flex tpl:size-4.5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[10px] tpl:font-semibold tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]"
|
|
4204
|
-
},
|
|
4228
|
+
}, fu = [
|
|
4205
4229
|
"aria-label",
|
|
4206
4230
|
"title",
|
|
4207
4231
|
"disabled"
|
|
4208
|
-
],
|
|
4232
|
+
], pu = ["disabled", "title"], mu = /* @__PURE__ */ d({
|
|
4209
4233
|
__name: "EditorHeader",
|
|
4210
4234
|
props: {
|
|
4211
4235
|
editor: {},
|
|
@@ -4217,12 +4241,12 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4217
4241
|
comments: {}
|
|
4218
4242
|
},
|
|
4219
4243
|
setup(e) {
|
|
4220
|
-
let t = L(() => import("./chunks/VersionHistoryMenu-
|
|
4221
|
-
return (n, r) => (s(), x("header",
|
|
4222
|
-
A("div",
|
|
4244
|
+
let t = L(() => import("./chunks/VersionHistoryMenu-Cv23A0uu.js"));
|
|
4245
|
+
return (n, r) => (s(), x("header", ou, [
|
|
4246
|
+
A("div", su, [e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (s(), x("div", {
|
|
4223
4247
|
key: 0,
|
|
4224
4248
|
class: y(["tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": e.showTemplateName && e.templates.timestamp.value !== null }])
|
|
4225
|
-
}, [e.showTemplateName ? (s(), D(
|
|
4249
|
+
}, [e.showTemplateName ? (s(), D($l, {
|
|
4226
4250
|
key: 0,
|
|
4227
4251
|
name: e.templates.name.value,
|
|
4228
4252
|
editable: e.templates.canSave.value,
|
|
@@ -4231,25 +4255,25 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4231
4255
|
"name",
|
|
4232
4256
|
"editable",
|
|
4233
4257
|
"onCommit"
|
|
4234
|
-
])) : S("", !0), e.templates.timestamp.value ? (s(), D(
|
|
4258
|
+
])) : S("", !0), e.templates.timestamp.value ? (s(), D(tu, {
|
|
4235
4259
|
key: 1,
|
|
4236
4260
|
iso: e.templates.timestamp.value.iso,
|
|
4237
4261
|
kind: e.templates.timestamp.value.kind
|
|
4238
4262
|
}, null, 8, ["iso", "kind"])) : S("", !0)], 2)) : S("", !0), i(n.$slots, "left-extras")]),
|
|
4239
|
-
A("div",
|
|
4240
|
-
_(
|
|
4263
|
+
A("div", cu, [
|
|
4264
|
+
_(Nn, {
|
|
4241
4265
|
viewport: e.editor.state.viewport,
|
|
4242
4266
|
onChange: e.editor.setViewport
|
|
4243
4267
|
}, null, 8, ["viewport", "onChange"]),
|
|
4244
|
-
_(
|
|
4268
|
+
_(Jl, {
|
|
4245
4269
|
"dark-mode": e.editor.state.darkMode,
|
|
4246
4270
|
onChange: e.editor.setDarkMode
|
|
4247
4271
|
}, null, 8, ["dark-mode", "onChange"]),
|
|
4248
|
-
_(
|
|
4272
|
+
_(Xl, {
|
|
4249
4273
|
"preview-mode": e.editor.state.previewMode,
|
|
4250
4274
|
onChange: e.editor.setPreviewMode
|
|
4251
4275
|
}, null, 8, ["preview-mode", "onChange"]),
|
|
4252
|
-
e.editor.state.previewMode && !e.core.previewResolution.supersedesSamples.value ? (s(), D(
|
|
4276
|
+
e.editor.state.previewMode && !e.core.previewResolution.supersedesSamples.value ? (s(), D(Pn, {
|
|
4253
4277
|
key: 0,
|
|
4254
4278
|
"sample-mode": e.core.mergeTagSampleMode.value,
|
|
4255
4279
|
onChange: r[0] ||= (t) => e.core.mergeTagSampleMode.value = t
|
|
@@ -4270,8 +4294,8 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4270
4294
|
"previewing-id"
|
|
4271
4295
|
])) : S("", !0)
|
|
4272
4296
|
]),
|
|
4273
|
-
A("div",
|
|
4274
|
-
e.templates?.isAvailable.value && e.templates.canSave.value ? (s(), D(
|
|
4297
|
+
A("div", lu, [
|
|
4298
|
+
e.templates?.isAvailable.value && e.templates.canSave.value ? (s(), D(au, {
|
|
4275
4299
|
key: 0,
|
|
4276
4300
|
status: e.templates.status.value,
|
|
4277
4301
|
"error-message": e.templates.errorMessage.value,
|
|
@@ -4287,7 +4311,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4287
4311
|
"data-testid": "comments-trigger",
|
|
4288
4312
|
"aria-label": e.comments.unresolvedCount.value > 0 ? `${e.core.t.comments.button} (${e.comments.unresolvedCount.value})` : e.core.t.comments.button,
|
|
4289
4313
|
"aria-expanded": e.comments.isOpen.value,
|
|
4290
|
-
class: y(g(
|
|
4314
|
+
class: y(g(bn)),
|
|
4291
4315
|
style: E(e.comments.isOpen.value ? {
|
|
4292
4316
|
backgroundColor: "var(--tpl-primary-light)",
|
|
4293
4317
|
borderColor: "var(--tpl-primary-light)"
|
|
@@ -4299,8 +4323,8 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4299
4323
|
"stroke-width": 2
|
|
4300
4324
|
}),
|
|
4301
4325
|
R(" " + F(e.core.t.comments.button) + " ", 1),
|
|
4302
|
-
e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (s(), x("span",
|
|
4303
|
-
], 14,
|
|
4326
|
+
e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (s(), x("span", du, F(e.comments.unresolvedCount.value), 1)) : S("", !0)
|
|
4327
|
+
], 14, uu)) : S("", !0),
|
|
4304
4328
|
i(n.$slots, "right-extras"),
|
|
4305
4329
|
e.testEmail?.isAvailable.value ? (s(), x("button", {
|
|
4306
4330
|
key: 2,
|
|
@@ -4309,7 +4333,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4309
4333
|
"aria-label": e.core.t.testEmail.title,
|
|
4310
4334
|
title: e.core.t.testEmail.title,
|
|
4311
4335
|
disabled: e.testEmail.isSending.value,
|
|
4312
|
-
class: y(g(
|
|
4336
|
+
class: y(g(bn)),
|
|
4313
4337
|
onClick: r[4] ||= (t) => e.testEmail.open()
|
|
4314
4338
|
}, [e.testEmail.isSending.value ? (s(), D(g(Jt), {
|
|
4315
4339
|
key: 1,
|
|
@@ -4320,12 +4344,12 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4320
4344
|
key: 0,
|
|
4321
4345
|
size: 16,
|
|
4322
4346
|
"stroke-width": 2
|
|
4323
|
-
})), R(" " + F(e.core.t.testEmail.button), 1)], 10,
|
|
4347
|
+
})), R(" " + F(e.core.t.testEmail.button), 1)], 10, fu)) : S("", !0),
|
|
4324
4348
|
e.templates?.isAvailable.value && e.templates.canSave.value ? (s(), x("button", {
|
|
4325
4349
|
key: 3,
|
|
4326
4350
|
type: "button",
|
|
4327
4351
|
"data-testid": "template-save",
|
|
4328
|
-
class: y(g(e.editor.state.isDirty && e.templates.hasTemplate.value ?
|
|
4352
|
+
class: y(g(e.editor.state.isDirty && e.templates.hasTemplate.value ? Dn : bn)),
|
|
4329
4353
|
style: E(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
|
|
4330
4354
|
disabled: e.templates.isSaving.value || !e.templates.hasTemplate.value,
|
|
4331
4355
|
title: e.templates.hasTemplate.value ? e.core.t.header.save : e.core.t.header.saveNoTemplate,
|
|
@@ -4339,33 +4363,33 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4339
4363
|
key: 0,
|
|
4340
4364
|
size: 16,
|
|
4341
4365
|
"stroke-width": 2
|
|
4342
|
-
})), R(" " + F(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14,
|
|
4366
|
+
})), R(" " + F(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, pu)) : S("", !0)
|
|
4343
4367
|
])
|
|
4344
4368
|
]));
|
|
4345
4369
|
}
|
|
4346
|
-
}),
|
|
4370
|
+
}), hu = ["aria-labelledby", "data-tpl-theme"], gu = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, _u = ["id"], vu = ["aria-label"], yu = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, bu = [
|
|
4347
4371
|
"id",
|
|
4348
4372
|
"placeholder",
|
|
4349
4373
|
"aria-label",
|
|
4350
4374
|
"aria-activedescendant"
|
|
4351
|
-
],
|
|
4375
|
+
], xu = {
|
|
4352
4376
|
key: 0,
|
|
4353
4377
|
class: "tpl:flex tpl:gap-1.5 tpl:overflow-x-auto tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2",
|
|
4354
4378
|
"data-testid": "merge-tag-picker-group-pills"
|
|
4355
|
-
},
|
|
4379
|
+
}, Su = ["data-group-name", "onClick"], Cu = ["aria-label"], wu = {
|
|
4356
4380
|
key: 0,
|
|
4357
4381
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
4358
4382
|
"data-testid": "merge-tag-picker-empty"
|
|
4359
|
-
},
|
|
4383
|
+
}, Tu = {
|
|
4360
4384
|
key: 1,
|
|
4361
4385
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
4362
4386
|
"data-testid": "merge-tag-picker-empty"
|
|
4363
|
-
},
|
|
4387
|
+
}, Eu = [
|
|
4364
4388
|
"aria-expanded",
|
|
4365
4389
|
"data-group-name",
|
|
4366
4390
|
"data-group-collapsed",
|
|
4367
4391
|
"onClick"
|
|
4368
|
-
],
|
|
4392
|
+
], Du = { class: "tpl:ml-1 tpl:font-normal" }, Ou = [
|
|
4369
4393
|
"id",
|
|
4370
4394
|
"aria-selected",
|
|
4371
4395
|
"data-selected",
|
|
@@ -4374,14 +4398,14 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4374
4398
|
"title",
|
|
4375
4399
|
"onMousemove",
|
|
4376
4400
|
"onClick"
|
|
4377
|
-
],
|
|
4401
|
+
], ku = { class: "tpl:text-sm tpl:font-medium" }, Au = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, ju = {
|
|
4378
4402
|
key: 0,
|
|
4379
4403
|
class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
4380
|
-
},
|
|
4404
|
+
}, Mu = {
|
|
4381
4405
|
key: 1,
|
|
4382
4406
|
"data-testid": "merge-tag-picker-sample",
|
|
4383
4407
|
class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
4384
|
-
},
|
|
4408
|
+
}, Nu = "tpl-merge-tag-picker-list", Pu = /* @__PURE__ */ d({
|
|
4385
4409
|
__name: "MergeTagPickerModal",
|
|
4386
4410
|
setup(i) {
|
|
4387
4411
|
let a = et(Ke, "MergeTagPickerModal"), { t: o, format: c } = K(), u = t(Ge, null), d = t(Je, null), p = l(""), m = He(p, 200), h = l(null), C = b(() => m.value.trim().length > 0), O = l(0), j = b(() => a.tags.value.some((e) => !!e.group)), M = l(/* @__PURE__ */ new Set());
|
|
@@ -4494,13 +4518,13 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4494
4518
|
}
|
|
4495
4519
|
}
|
|
4496
4520
|
function G() {
|
|
4497
|
-
if (z.value.length !== 0) return `${
|
|
4521
|
+
if (z.value.length !== 0) return `${Nu}-opt-${O.value}`;
|
|
4498
4522
|
}
|
|
4499
4523
|
function ae(e) {
|
|
4500
|
-
return `${
|
|
4524
|
+
return `${Nu}-opt-${e}`;
|
|
4501
4525
|
}
|
|
4502
4526
|
let oe = b(() => a.tags.value.length === 0), se = b(() => !oe.value && I.value.length === 0), ce = b(() => j.value && L.value.length > 1 && !C.value);
|
|
4503
|
-
return (e, t) => (s(), D(
|
|
4527
|
+
return (e, t) => (s(), D(In, {
|
|
4504
4528
|
visible: g(a).isOpen.value,
|
|
4505
4529
|
onClose: V,
|
|
4506
4530
|
onKeydown: ie
|
|
@@ -4508,16 +4532,16 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4508
4532
|
default: r(() => [A("div", {
|
|
4509
4533
|
role: "dialog",
|
|
4510
4534
|
"aria-modal": "true",
|
|
4511
|
-
"aria-labelledby": `${
|
|
4535
|
+
"aria-labelledby": `${Nu}-title`,
|
|
4512
4536
|
"data-tpl-theme": g(d),
|
|
4513
4537
|
"data-testid": "merge-tag-picker-modal",
|
|
4514
4538
|
class: "tpl tpl:flex tpl:max-h-[80vh] tpl:w-[min(420px,92vw)] tpl:flex-col tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
4515
4539
|
style: E(g(u))
|
|
4516
4540
|
}, [
|
|
4517
|
-
A("header",
|
|
4518
|
-
id: `${
|
|
4541
|
+
A("header", gu, [A("h2", {
|
|
4542
|
+
id: `${Nu}-title`,
|
|
4519
4543
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
4520
|
-
}, F(g(o).mergeTag.picker.title), 9,
|
|
4544
|
+
}, F(g(o).mergeTag.picker.title), 9, _u), A("button", {
|
|
4521
4545
|
type: "button",
|
|
4522
4546
|
class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
4523
4547
|
"aria-label": g(o).mergeTag.picker.close,
|
|
@@ -4526,13 +4550,13 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4526
4550
|
}, [_(g(Qt), {
|
|
4527
4551
|
size: 16,
|
|
4528
4552
|
"stroke-width": 2
|
|
4529
|
-
})], 8,
|
|
4530
|
-
A("div",
|
|
4553
|
+
})], 8, vu)]),
|
|
4554
|
+
A("div", yu, [_(g(jt), {
|
|
4531
4555
|
class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
|
|
4532
4556
|
size: 14,
|
|
4533
4557
|
"stroke-width": 2
|
|
4534
4558
|
}), f(A("input", {
|
|
4535
|
-
id: `${
|
|
4559
|
+
id: `${Nu}-search`,
|
|
4536
4560
|
ref_key: "searchInputRef",
|
|
4537
4561
|
ref: h,
|
|
4538
4562
|
"onUpdate:modelValue": t[0] ||= (e) => p.value = e,
|
|
@@ -4540,34 +4564,34 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4540
4564
|
class: "tpl:w-full tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)]",
|
|
4541
4565
|
placeholder: g(o).mergeTag.picker.searchPlaceholder,
|
|
4542
4566
|
"aria-label": g(o).mergeTag.picker.searchAriaLabel,
|
|
4543
|
-
"aria-controls":
|
|
4567
|
+
"aria-controls": Nu,
|
|
4544
4568
|
"aria-activedescendant": G(),
|
|
4545
4569
|
"data-testid": "merge-tag-picker-search",
|
|
4546
4570
|
onKeydown: t[1] ||= v(T(() => {}, ["prevent"]), ["enter"])
|
|
4547
|
-
}, null, 40,
|
|
4548
|
-
ce.value ? (s(), x("div",
|
|
4571
|
+
}, null, 40, bu), [[k, p.value]])]),
|
|
4572
|
+
ce.value ? (s(), x("div", xu, [(s(!0), x(P, null, n(L.value, (e) => (s(), x("button", {
|
|
4549
4573
|
key: e,
|
|
4550
4574
|
type: "button",
|
|
4551
4575
|
class: "tpl:flex tpl:flex-shrink-0 tpl:cursor-pointer tpl:items-center tpl:rounded-full tpl:border tpl:border-[var(--tpl-border)] tpl:bg-transparent tpl:px-2.5 tpl:py-0.5 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
4552
4576
|
"data-testid": "merge-tag-picker-group-pill",
|
|
4553
4577
|
"data-group-name": e,
|
|
4554
4578
|
onClick: (t) => re(e)
|
|
4555
|
-
}, F(e), 9,
|
|
4579
|
+
}, F(e), 9, Su))), 128))])) : S("", !0),
|
|
4556
4580
|
A("div", {
|
|
4557
|
-
id:
|
|
4581
|
+
id: Nu,
|
|
4558
4582
|
ref_key: "listRef",
|
|
4559
4583
|
ref: U,
|
|
4560
4584
|
class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
|
|
4561
4585
|
role: "listbox",
|
|
4562
4586
|
"aria-label": g(o).mergeTag.picker.title,
|
|
4563
4587
|
"data-testid": "merge-tag-picker-list"
|
|
4564
|
-
}, [oe.value ? (s(), x("div",
|
|
4588
|
+
}, [oe.value ? (s(), x("div", wu, F(g(o).mergeTag.picker.empty), 1)) : se.value ? (s(), x("div", Tu, F(g(o).mergeTag.picker.noResults), 1)) : (s(!0), x(P, { key: 2 }, n(R.value, (e, t) => (s(), x(P, { key: t }, [e.kind === "header" ? (s(), x("button", {
|
|
4565
4589
|
key: 0,
|
|
4566
4590
|
ref_for: !0,
|
|
4567
4591
|
ref: (t) => W(e.group, t),
|
|
4568
4592
|
type: "button",
|
|
4569
4593
|
"aria-expanded": !N(e.group),
|
|
4570
|
-
"aria-controls":
|
|
4594
|
+
"aria-controls": Nu,
|
|
4571
4595
|
class: "tpl:sticky tpl:top-0 tpl:z-10 tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-[var(--tpl-bg-elevated)] tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-left tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)]",
|
|
4572
4596
|
"data-testid": "merge-tag-picker-group-header",
|
|
4573
4597
|
"data-group-name": e.group,
|
|
@@ -4580,8 +4604,8 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4580
4604
|
class: y(["tpl:transition-transform", N(e.group) ? "tpl:-rotate-90" : ""])
|
|
4581
4605
|
}, null, 8, ["class"]),
|
|
4582
4606
|
A("span", null, F(e.group), 1),
|
|
4583
|
-
A("span",
|
|
4584
|
-
], 8,
|
|
4607
|
+
A("span", Du, " (" + F(g(c)(g(o).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
|
|
4608
|
+
], 8, Eu)) : (s(), x("button", {
|
|
4585
4609
|
key: 1,
|
|
4586
4610
|
id: ae(e.index),
|
|
4587
4611
|
type: "button",
|
|
@@ -4596,16 +4620,16 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4596
4620
|
onMousemove: (t) => O.value = e.index,
|
|
4597
4621
|
onClick: (t) => B(e.tag)
|
|
4598
4622
|
}, [
|
|
4599
|
-
A("span",
|
|
4600
|
-
A("span",
|
|
4601
|
-
e.tag.description ? (s(), x("span",
|
|
4602
|
-
e.tag.sample === void 0 ? S("", !0) : (s(), x("span",
|
|
4603
|
-
], 42,
|
|
4604
|
-
], 12,
|
|
4623
|
+
A("span", ku, F(e.tag.label), 1),
|
|
4624
|
+
A("span", Au, F(e.tag.value), 1),
|
|
4625
|
+
e.tag.description ? (s(), x("span", ju, F(e.tag.description), 1)) : S("", !0),
|
|
4626
|
+
e.tag.sample === void 0 ? S("", !0) : (s(), x("span", Mu, F(g(c)(g(o).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
|
|
4627
|
+
], 42, Ou))], 64))), 128))], 8, Cu)
|
|
4628
|
+
], 12, hu)]),
|
|
4605
4629
|
_: 1
|
|
4606
4630
|
}, 8, ["visible"]));
|
|
4607
4631
|
}
|
|
4608
|
-
}),
|
|
4632
|
+
}), Fu = ["data-logic-keyword"], Iu = /* @__PURE__ */ d({
|
|
4609
4633
|
__name: "LogicTagBadge",
|
|
4610
4634
|
props: {
|
|
4611
4635
|
value: {},
|
|
@@ -4622,22 +4646,22 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4622
4646
|
},
|
|
4623
4647
|
"data-testid": "merge-tag-logic-badge",
|
|
4624
4648
|
"data-logic-keyword": r.value
|
|
4625
|
-
}, F(r.value), 9,
|
|
4649
|
+
}, F(r.value), 9, Fu)) : S("", !0);
|
|
4626
4650
|
}
|
|
4627
|
-
}),
|
|
4651
|
+
}), Lu = ["aria-labelledby", "data-tpl-theme"], Ru = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, zu = ["id"], Bu = ["aria-label"], Vu = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Hu = [
|
|
4628
4652
|
"id",
|
|
4629
4653
|
"placeholder",
|
|
4630
4654
|
"aria-label",
|
|
4631
4655
|
"aria-activedescendant"
|
|
4632
|
-
],
|
|
4656
|
+
], Uu = ["aria-label"], Wu = {
|
|
4633
4657
|
key: 0,
|
|
4634
4658
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
4635
4659
|
"data-testid": "logic-picker-empty"
|
|
4636
|
-
},
|
|
4660
|
+
}, Gu = {
|
|
4637
4661
|
key: 1,
|
|
4638
4662
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
4639
4663
|
"data-testid": "logic-picker-empty"
|
|
4640
|
-
},
|
|
4664
|
+
}, Ku = ["data-group-name"], qu = [
|
|
4641
4665
|
"id",
|
|
4642
4666
|
"aria-selected",
|
|
4643
4667
|
"data-selected",
|
|
@@ -4645,16 +4669,16 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4645
4669
|
"data-logic-kind",
|
|
4646
4670
|
"onMousemove",
|
|
4647
4671
|
"onClick"
|
|
4648
|
-
],
|
|
4672
|
+
], Ju = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Yu = { class: "tpl:text-sm tpl:font-medium" }, Xu = {
|
|
4649
4673
|
key: 0,
|
|
4650
4674
|
class: "tpl:flex tpl:items-center"
|
|
4651
|
-
},
|
|
4675
|
+
}, Zu = {
|
|
4652
4676
|
key: 1,
|
|
4653
4677
|
class: "tpl:flex tpl:items-center tpl:gap-1"
|
|
4654
|
-
},
|
|
4678
|
+
}, Qu = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, $u = {
|
|
4655
4679
|
key: 0,
|
|
4656
4680
|
class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
4657
|
-
},
|
|
4681
|
+
}, ed = "tpl-logic-picker-list", td = /* @__PURE__ */ d({
|
|
4658
4682
|
__name: "LogicTagPickerModal",
|
|
4659
4683
|
setup(i) {
|
|
4660
4684
|
let a = et(ht, "LogicTagPickerModal"), { t: o } = K(), c = t(st, se.liquid), u = t(Ge, null), d = t(Je, null), p = l(""), m = He(p, 200), h = l(null), C = b(() => m.value.trim().length > 0), O = l(0);
|
|
@@ -4740,12 +4764,12 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4740
4764
|
}
|
|
4741
4765
|
}
|
|
4742
4766
|
function re(e) {
|
|
4743
|
-
return `${
|
|
4767
|
+
return `${ed}-opt-${e}`;
|
|
4744
4768
|
}
|
|
4745
4769
|
function ie() {
|
|
4746
|
-
return z.value.length === 0 ? void 0 : `${
|
|
4770
|
+
return z.value.length === 0 ? void 0 : `${ed}-opt-${O.value}`;
|
|
4747
4771
|
}
|
|
4748
|
-
return (e, t) => (s(), D(
|
|
4772
|
+
return (e, t) => (s(), D(In, {
|
|
4749
4773
|
visible: g(a).isOpen.value,
|
|
4750
4774
|
onClose: te,
|
|
4751
4775
|
onKeydown: ne
|
|
@@ -4753,16 +4777,16 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4753
4777
|
default: r(() => [A("div", {
|
|
4754
4778
|
role: "dialog",
|
|
4755
4779
|
"aria-modal": "true",
|
|
4756
|
-
"aria-labelledby": `${
|
|
4780
|
+
"aria-labelledby": `${ed}-title`,
|
|
4757
4781
|
"data-tpl-theme": g(d),
|
|
4758
4782
|
"data-testid": "logic-picker-modal",
|
|
4759
4783
|
class: "tpl tpl:flex tpl:max-h-[80vh] tpl:w-[min(420px,92vw)] tpl:flex-col tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
4760
4784
|
style: E(g(u))
|
|
4761
4785
|
}, [
|
|
4762
|
-
A("header",
|
|
4763
|
-
id: `${
|
|
4786
|
+
A("header", Ru, [A("h2", {
|
|
4787
|
+
id: `${ed}-title`,
|
|
4764
4788
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
4765
|
-
}, F(g(o).logicTag.picker.title), 9,
|
|
4789
|
+
}, F(g(o).logicTag.picker.title), 9, zu), A("button", {
|
|
4766
4790
|
type: "button",
|
|
4767
4791
|
class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
4768
4792
|
"aria-label": g(o).logicTag.picker.close,
|
|
@@ -4771,13 +4795,13 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4771
4795
|
}, [_(g(Qt), {
|
|
4772
4796
|
size: 16,
|
|
4773
4797
|
"stroke-width": 2
|
|
4774
|
-
})], 8,
|
|
4775
|
-
A("div",
|
|
4798
|
+
})], 8, Bu)]),
|
|
4799
|
+
A("div", Vu, [_(g(jt), {
|
|
4776
4800
|
class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
|
|
4777
4801
|
size: 14,
|
|
4778
4802
|
"stroke-width": 2
|
|
4779
4803
|
}), f(A("input", {
|
|
4780
|
-
id: `${
|
|
4804
|
+
id: `${ed}-search`,
|
|
4781
4805
|
ref_key: "searchInputRef",
|
|
4782
4806
|
ref: h,
|
|
4783
4807
|
"onUpdate:modelValue": t[0] ||= (e) => p.value = e,
|
|
@@ -4785,25 +4809,25 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4785
4809
|
class: "tpl:w-full tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)]",
|
|
4786
4810
|
placeholder: g(o).logicTag.picker.searchPlaceholder,
|
|
4787
4811
|
"aria-label": g(o).logicTag.picker.searchAriaLabel,
|
|
4788
|
-
"aria-controls":
|
|
4812
|
+
"aria-controls": ed,
|
|
4789
4813
|
"aria-activedescendant": ie(),
|
|
4790
4814
|
"data-testid": "logic-picker-search",
|
|
4791
4815
|
onKeydown: t[1] ||= v(T(() => {}, ["prevent"]), ["enter"])
|
|
4792
|
-
}, null, 40,
|
|
4816
|
+
}, null, 40, Hu), [[k, p.value]])]),
|
|
4793
4817
|
A("div", {
|
|
4794
|
-
id:
|
|
4818
|
+
id: ed,
|
|
4795
4819
|
ref_key: "listRef",
|
|
4796
4820
|
ref: H,
|
|
4797
4821
|
class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
|
|
4798
4822
|
role: "listbox",
|
|
4799
4823
|
"aria-label": g(o).logicTag.picker.title,
|
|
4800
4824
|
"data-testid": "logic-picker-list"
|
|
4801
|
-
}, [B.value ? (s(), x("div",
|
|
4825
|
+
}, [B.value ? (s(), x("div", Wu, F(g(o).logicTag.picker.empty), 1)) : V.value ? (s(), x("div", Gu, F(g(o).logicTag.picker.noResults), 1)) : (s(!0), x(P, { key: 2 }, n(R.value.rows, (e, n) => (s(), x(P, { key: n }, [e.kind === "header" ? (s(), x("div", {
|
|
4802
4826
|
key: 0,
|
|
4803
4827
|
class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
|
|
4804
4828
|
"data-testid": "logic-picker-header",
|
|
4805
4829
|
"data-group-name": e.label
|
|
4806
|
-
}, F(e.label), 9,
|
|
4830
|
+
}, F(e.label), 9, Ku)) : (s(), x("button", {
|
|
4807
4831
|
key: 1,
|
|
4808
4832
|
id: re(e.index),
|
|
4809
4833
|
type: "button",
|
|
@@ -4817,28 +4841,28 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4817
4841
|
onMousemove: (t) => O.value = e.index,
|
|
4818
4842
|
onClick: (t) => U(e.kind === "tag" ? e.tag : e.pair)
|
|
4819
4843
|
}, [
|
|
4820
|
-
A("span",
|
|
4844
|
+
A("span", Ju, [A("span", Yu, F(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), x("span", Xu, [_(Iu, {
|
|
4821
4845
|
value: e.tag.value,
|
|
4822
4846
|
syntax: g(c)
|
|
4823
|
-
}, null, 8, ["value", "syntax"])])) : (s(), x("span",
|
|
4824
|
-
_(
|
|
4847
|
+
}, null, 8, ["value", "syntax"])])) : (s(), x("span", Zu, [
|
|
4848
|
+
_(Iu, {
|
|
4825
4849
|
value: e.pair.before,
|
|
4826
4850
|
syntax: g(c)
|
|
4827
4851
|
}, null, 8, ["value", "syntax"]),
|
|
4828
4852
|
t[2] ||= A("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
|
|
4829
|
-
_(
|
|
4853
|
+
_(Iu, {
|
|
4830
4854
|
value: e.pair.after,
|
|
4831
4855
|
syntax: g(c)
|
|
4832
4856
|
}, null, 8, ["value", "syntax"])
|
|
4833
4857
|
]))]),
|
|
4834
|
-
A("span",
|
|
4835
|
-
(e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), x("span",
|
|
4836
|
-
], 42,
|
|
4837
|
-
], 12,
|
|
4858
|
+
A("span", Qu, F(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
|
|
4859
|
+
(e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), x("span", $u, F(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : S("", !0)
|
|
4860
|
+
], 42, qu))], 64))), 128))], 8, Uu)
|
|
4861
|
+
], 12, Lu)]),
|
|
4838
4862
|
_: 1
|
|
4839
4863
|
}, 8, ["visible"]));
|
|
4840
4864
|
}
|
|
4841
|
-
}),
|
|
4865
|
+
}), nd = ["data-tpl-theme"], rd = { class: "tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, id = { class: "tpl-main tpl:flex tpl:justify-center tpl:p-8" }, ad = ["aria-label"], od = /*#__PURE__*/ un(/* @__PURE__ */ d({
|
|
4842
4866
|
__name: "Editor",
|
|
4843
4867
|
props: {
|
|
4844
4868
|
config: {},
|
|
@@ -4848,32 +4872,32 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4848
4872
|
cloud: {}
|
|
4849
4873
|
},
|
|
4850
4874
|
setup(t, { expose: n }) {
|
|
4851
|
-
let i = t, a = i.config.templates ?
|
|
4875
|
+
let i = t, a = i.config.templates ? ar(i.config.templates, i.config.mergeTags) : void 0, c = le({
|
|
4852
4876
|
content: i.config.content,
|
|
4853
4877
|
defaultFontFamily: i.config.fonts?.defaultFont,
|
|
4854
4878
|
templateDefaults: i.config.templateDefaults,
|
|
4855
4879
|
templates: a,
|
|
4856
4880
|
onError: i.config.onError,
|
|
4857
4881
|
lockedBlocks: i.cloud?.lockedBlocks
|
|
4858
|
-
}), u = i.cloud ? i.cloud.attach({ editor: c }) : null, d = a ?
|
|
4882
|
+
}), u = i.cloud ? i.cloud.attach({ editor: c }) : null, d = a ? Bn({
|
|
4859
4883
|
provider: a,
|
|
4860
4884
|
editor: c,
|
|
4861
4885
|
guardUnsavedChanges: i.config.unsavedChangesGuard,
|
|
4862
4886
|
getSaveGate: i.cloud ? () => i.cloud.getSaveGate() : void 0
|
|
4863
4887
|
}) : null;
|
|
4864
4888
|
i.config.onDirtyChange && e(() => c.state.isDirty, (e) => i.config.onDirtyChange(e));
|
|
4865
|
-
let p = l(null), m = i.config.savedBlocks ?
|
|
4889
|
+
let p = l(null), m = i.config.savedBlocks ? Rn({
|
|
4866
4890
|
provider: i.config.savedBlocks,
|
|
4867
4891
|
editor: c,
|
|
4868
4892
|
onError: i.config.onError,
|
|
4869
4893
|
isAvailable: i.cloud ? () => i.cloud.isSavedBlocksAvailable() : void 0
|
|
4870
|
-
}) : null, v = L(() => import("./chunks/SavedBlocksPanels-
|
|
4894
|
+
}) : null, v = L(() => import("./chunks/SavedBlocksPanels-B7aBlxKW.js")), w = i.config.testEmail ? Wn({
|
|
4871
4895
|
provider: i.config.testEmail,
|
|
4872
4896
|
getContent: () => c.content.value,
|
|
4873
4897
|
renderMjml: ne,
|
|
4874
4898
|
onError: i.config.onError,
|
|
4875
4899
|
isAvailable: i.cloud ? () => i.cloud.isTestEmailAvailable() : void 0
|
|
4876
|
-
}) : null, k = L(() => import("./chunks/TestEmailPanel-
|
|
4900
|
+
}) : null, k = L(() => import("./chunks/TestEmailPanel-DItZMP3B.js")), j = i.config.comments ? Ln({
|
|
4877
4901
|
provider: i.config.comments,
|
|
4878
4902
|
editor: c,
|
|
4879
4903
|
user: i.config.user,
|
|
@@ -4882,7 +4906,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4882
4906
|
onError: i.config.onError,
|
|
4883
4907
|
isAvailable: i.cloud ? () => i.cloud.isCommentsAvailable() : void 0,
|
|
4884
4908
|
isBlockSaved: i.cloud ? (e) => i.cloud.isBlockSaved(e) : void 0
|
|
4885
|
-
}) : null, M = L(() => import("./chunks/CommentsPanel-
|
|
4909
|
+
}) : null, M = L(() => import("./chunks/CommentsPanel-D7Y-74Nj.js")), ee = L(() => import("./chunks/CloudPanels-YRYmXE9O.js")), P = L(() => import("./chunks/CloudHeaderExtras-Ctat5U0M.js")), I = L(() => import("./chunks/VersionHistoryPanels-DHDN1owI.js")), z = Kn(i.config.autoSave, !1), B = z.enabled && d !== null;
|
|
4886
4910
|
z.enabled && d === null && _t.warn("config.autoSave is on but no `templates` provider is configured — there is nothing to save to. Pass `templates` to enable it, or use `onChange` to persist the content yourself.");
|
|
4887
4911
|
let V = i.config.onChange || B ? {
|
|
4888
4912
|
onChange: () => {
|
|
@@ -4912,7 +4936,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4912
4936
|
onRequestMedia: i.cloud?.onRequestMedia ?? i.config.onRequestMedia,
|
|
4913
4937
|
resolvePreview: i.config.resolvePreview,
|
|
4914
4938
|
resolveImageUrl: i.config.resolveImageUrl,
|
|
4915
|
-
lint:
|
|
4939
|
+
lint: qn(i.config)
|
|
4916
4940
|
},
|
|
4917
4941
|
translations: i.translations,
|
|
4918
4942
|
fontsManager: i.fontsManager,
|
|
@@ -4924,9 +4948,9 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4924
4948
|
}), te = i.cloud && u ? i.cloud.ready({
|
|
4925
4949
|
core: U,
|
|
4926
4950
|
capabilities: H
|
|
4927
|
-
}) : null, W = i.config.versionHistory ?
|
|
4951
|
+
}) : null, W = i.config.versionHistory ? Gn({
|
|
4928
4952
|
provider: i.config.versionHistory,
|
|
4929
|
-
editor:
|
|
4953
|
+
editor: ir(c, i.config.mergeTags),
|
|
4930
4954
|
history: U.history,
|
|
4931
4955
|
conditionPreview: U.conditionPreview,
|
|
4932
4956
|
autoSave: U.autoSave,
|
|
@@ -4938,11 +4962,11 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4938
4962
|
}) : null;
|
|
4939
4963
|
W && (H.versionHistory = W.capability);
|
|
4940
4964
|
function ne() {
|
|
4941
|
-
return
|
|
4965
|
+
return Hn({
|
|
4942
4966
|
getContent: () => c.content.value,
|
|
4943
4967
|
renderCustomBlock: U.registry.renderCustomBlock,
|
|
4944
4968
|
getCustomBlockStylesheet: (e) => U.registry.getDefinition(e)?.stylesheet,
|
|
4945
|
-
getFonts: () =>
|
|
4969
|
+
getFonts: () => Jn(i.fontsManager)
|
|
4946
4970
|
});
|
|
4947
4971
|
}
|
|
4948
4972
|
let re = b(() => j?.isOpen.value === !0 || u?.panelState.rightPanelOpen.value === !0), ie = b(() => c.state.previewMode ? "tpl:left-0 tpl:right-0" : re.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]");
|
|
@@ -4975,8 +4999,8 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
4975
4999
|
onDragover: n[7] ||= T(() => {}, ["prevent"]),
|
|
4976
5000
|
onDrop: n[8] ||= T(() => {}, ["prevent"])
|
|
4977
5001
|
}, [
|
|
4978
|
-
_(
|
|
4979
|
-
_(
|
|
5002
|
+
_(yr),
|
|
5003
|
+
_(mu, {
|
|
4980
5004
|
editor: g(c),
|
|
4981
5005
|
core: g(U),
|
|
4982
5006
|
templates: g(d),
|
|
@@ -5018,11 +5042,11 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
5018
5042
|
"version-history",
|
|
5019
5043
|
"comments"
|
|
5020
5044
|
]),
|
|
5021
|
-
f(_(
|
|
5045
|
+
f(_(kr, null, null, 512), [[N, !g(c).state.previewMode]]),
|
|
5022
5046
|
A("div", {
|
|
5023
5047
|
class: y(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", [ie.value, g(W)?.isPreviewing.value ? "tpl:top-[104px]" : "tpl:top-14"]]),
|
|
5024
5048
|
style: { transition: "all 300ms cubic-bezier(0.34, 1.56, 0.64, 1)" }
|
|
5025
|
-
}, [A("div",
|
|
5049
|
+
}, [A("div", rd, [_(O, { name: "tpl-restore-btn" }, {
|
|
5026
5050
|
default: r(() => [g(U).conditionPreview.hasHiddenBlocks.value && g(U).appliesConditionFilter.value ? (s(), x("button", {
|
|
5027
5051
|
key: 0,
|
|
5028
5052
|
class: "tpl:absolute tpl:left-1/2 tpl:top-2 tpl:-translate-x-1/2 tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-full tpl:border tpl:px-3.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:whitespace-nowrap tpl:shadow-[var(--tpl-shadow-md)] tpl:hover:opacity-80 tpl:bg-[var(--tpl-warning-light)] tpl:text-[var(--tpl-warning)] tpl:border-[var(--tpl-warning)]",
|
|
@@ -5034,7 +5058,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
5034
5058
|
"stroke-width": 2
|
|
5035
5059
|
}), R(" " + F(g(U).t.blockSettings.restoreHiddenBlocks), 1)])) : S("", !0)]),
|
|
5036
5060
|
_: 1
|
|
5037
|
-
})]), A("main",
|
|
5061
|
+
})]), A("main", id, [_(vr, {
|
|
5038
5062
|
viewport: g(c).state.viewport,
|
|
5039
5063
|
content: g(U).previewResolution.content.value,
|
|
5040
5064
|
"selected-block-id": g(c).state.selectedBlockId,
|
|
@@ -5053,7 +5077,7 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
5053
5077
|
"locked-blocks",
|
|
5054
5078
|
"onSelectBlock"
|
|
5055
5079
|
])])], 2),
|
|
5056
|
-
t.config.branding === !1 ? S("", !0) : (s(), D(
|
|
5080
|
+
t.config.branding === !1 ? S("", !0) : (s(), D(Kl, {
|
|
5057
5081
|
key: 0,
|
|
5058
5082
|
"position-class": [ie.value]
|
|
5059
5083
|
}, null, 8, ["position-class"])),
|
|
@@ -5063,8 +5087,8 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
5063
5087
|
"aria-live": "polite",
|
|
5064
5088
|
"aria-atomic": "true",
|
|
5065
5089
|
"aria-label": g(U).t.landmarks.reorderAnnouncements
|
|
5066
|
-
}, F(g(U).keyboardReorder.announcement.value), 9,
|
|
5067
|
-
f(_(
|
|
5090
|
+
}, F(g(U).keyboardReorder.announcement.value), 9, ad),
|
|
5091
|
+
f(_(Rl, {
|
|
5068
5092
|
"selected-block": g(c).selectedBlock.value,
|
|
5069
5093
|
settings: g(c).content.value.settings,
|
|
5070
5094
|
"shifted-left": re.value,
|
|
@@ -5085,8 +5109,8 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
5085
5109
|
ref: (e) => g(U).popoverRoot.value = e,
|
|
5086
5110
|
class: "tpl-popover-root"
|
|
5087
5111
|
}, null, 512),
|
|
5088
|
-
_(
|
|
5089
|
-
_(
|
|
5112
|
+
_(Pu),
|
|
5113
|
+
_(td),
|
|
5090
5114
|
g(m)?.isAvailable.value ? (s(), D(g(v), {
|
|
5091
5115
|
key: 1,
|
|
5092
5116
|
feature: g(m)
|
|
@@ -5119,10 +5143,10 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
5119
5143
|
"ready",
|
|
5120
5144
|
"locale"
|
|
5121
5145
|
])) : S("", !0),
|
|
5122
|
-
g(ae) ? (s(), D(
|
|
5123
|
-
], 46,
|
|
5146
|
+
g(ae) ? (s(), D(Ul, { key: 6 })) : S("", !0)
|
|
5147
|
+
], 46, nd));
|
|
5124
5148
|
}
|
|
5125
|
-
}), [["__scopeId", "data-v-9b8b235c"]]),
|
|
5149
|
+
}), [["__scopeId", "data-v-9b8b235c"]]), sd = /* #__PURE__ */ Object.assign({
|
|
5126
5150
|
"./locales/ca.ts": () => import("./chunks/ca-CEuJ6IRr.js"),
|
|
5127
5151
|
"./locales/de.ts": () => import("./chunks/de-aRxhZF_K.js"),
|
|
5128
5152
|
"./locales/en.ts": () => import("./chunks/en-BX4V_7YO.js"),
|
|
@@ -5130,96 +5154,96 @@ var Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = ["value"], As = {
|
|
|
5130
5154
|
"./locales/fr.ts": () => import("./chunks/fr-iBuE60Ap.js"),
|
|
5131
5155
|
"./locales/nl.ts": () => import("./chunks/nl-Btw4ojNo.js"),
|
|
5132
5156
|
"./locales/pt-BR.ts": () => import("./chunks/pt-BR-GjVsCqbN.js")
|
|
5133
|
-
}),
|
|
5157
|
+
}), cd = /* #__PURE__ */ Object.assign({
|
|
5134
5158
|
"./locales/cloud/de.ts": () => import("./chunks/de-BytZwgn6.js"),
|
|
5135
5159
|
"./locales/cloud/en.ts": () => import("./chunks/en-DyOSV0lY.js"),
|
|
5136
5160
|
"./locales/cloud/pt-BR.ts": () => import("./chunks/pt-BR-C1WLSGDh.js")
|
|
5137
5161
|
});
|
|
5138
|
-
function
|
|
5162
|
+
function ld(e) {
|
|
5139
5163
|
return Object.keys(e).map((e) => e.match(/\/([^/]+)\.ts$/)?.[1]).filter((e) => !!e);
|
|
5140
5164
|
}
|
|
5141
|
-
var
|
|
5142
|
-
function
|
|
5165
|
+
var ud = ld(sd), dd = ld(cd);
|
|
5166
|
+
function fd(e) {
|
|
5143
5167
|
return e.trim().replace(/_/g, "-").toLowerCase();
|
|
5144
5168
|
}
|
|
5145
|
-
function
|
|
5146
|
-
let n =
|
|
5147
|
-
return t.find((e) =>
|
|
5169
|
+
function pd(e, t) {
|
|
5170
|
+
let n = fd(e);
|
|
5171
|
+
return t.find((e) => fd(e) === n);
|
|
5148
5172
|
}
|
|
5149
|
-
function
|
|
5150
|
-
return
|
|
5173
|
+
function md(e) {
|
|
5174
|
+
return fd(e).split("-")[0];
|
|
5151
5175
|
}
|
|
5152
|
-
function
|
|
5153
|
-
return
|
|
5176
|
+
function hd(e, t) {
|
|
5177
|
+
return pd(e, t) ?? pd(md(e), t);
|
|
5154
5178
|
}
|
|
5155
|
-
function
|
|
5156
|
-
return
|
|
5179
|
+
function gd(e, t) {
|
|
5180
|
+
return hd(e, t) ?? "en";
|
|
5157
5181
|
}
|
|
5158
|
-
async function
|
|
5159
|
-
let t =
|
|
5182
|
+
async function _d(e) {
|
|
5183
|
+
let t = sd[`./locales/${gd(e, ud)}.ts`];
|
|
5160
5184
|
return (await t()).default;
|
|
5161
5185
|
}
|
|
5162
|
-
async function
|
|
5163
|
-
let t =
|
|
5186
|
+
async function vd(e) {
|
|
5187
|
+
let t = cd[`./locales/cloud/${gd(e, dd)}.ts`];
|
|
5164
5188
|
return (await t()).default;
|
|
5165
5189
|
}
|
|
5166
|
-
function
|
|
5167
|
-
return
|
|
5190
|
+
function yd(e) {
|
|
5191
|
+
return hd(e, ud) !== void 0;
|
|
5168
5192
|
}
|
|
5169
|
-
function
|
|
5170
|
-
return
|
|
5193
|
+
function bd(e) {
|
|
5194
|
+
return hd(e, dd) !== void 0;
|
|
5171
5195
|
}
|
|
5172
|
-
function
|
|
5173
|
-
return [...
|
|
5196
|
+
function xd() {
|
|
5197
|
+
return [...ud];
|
|
5174
5198
|
}
|
|
5175
|
-
function
|
|
5176
|
-
return [...
|
|
5199
|
+
function Sd() {
|
|
5200
|
+
return [...dd];
|
|
5177
5201
|
}
|
|
5178
5202
|
//#endregion
|
|
5179
5203
|
//#region \0virtual:editor-css
|
|
5180
|
-
var xd = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-c3d50014]{height:3px;width:100%;border-radius:9999px;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 15%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 30%,var(--tpl-primary) 50%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 70%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 85%,transparent 100%);background-size:200% 100%;animation:tpl-loading-flow-c3d50014 3s ease-in-out infinite}@keyframes tpl-loading-flow-c3d50014{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track-fill[data-v-c3d50014]{animation:none;background-position:50% 0}}.tpl-block--idle[data-v-096f1d37]{outline:1.5px dashed color-mix(in srgb,var(--tpl-primary) 30%,transparent);outline-offset:-1px;transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--idle[data-v-096f1d37]:hover{outline:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent);outline-offset:-1px;box-shadow:0 0 8px color-mix(in srgb,var(--tpl-primary) 8%,transparent)}.tpl-block--picked[data-v-096f1d37]{outline:2px solid var(--tpl-primary);outline-offset:-1px;box-shadow:0 0 0 4px color-mix(in srgb,var(--tpl-primary) 18%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--selected[data-v-096f1d37]{outline:2px solid color-mix(in srgb,var(--tpl-primary) 60%,transparent);outline-offset:-1px;box-shadow:0 0 12px color-mix(in srgb,var(--tpl-primary) 15%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block-action-btn[data-v-096f1d37]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-096f1d37]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-096f1d37]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-096f1d37]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-096f1d37]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-096f1d37]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-096f1d37]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-table-editable[data-v-963ac422] th[contenteditable],.tpl-table-editable[data-v-963ac422] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-963ac422] th[contenteditable]:empty:before,.tpl-table-editable[data-v-963ac422] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-963ac422] th[contenteditable]:focus,.tpl-table-editable[data-v-963ac422] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}hex-color-picker{--hcp-width: 200px}hex-color-picker::part(hue){border-radius:var(--tpl-radius-sm, 7px)}hex-color-picker::part(saturation){border-radius:var(--tpl-radius-sm, 7px) var(--tpl-radius-sm, 7px) 0 0}.tpl-color-swatch-empty{background-color:var(--tpl-bg);background-image:linear-gradient(to top right,transparent calc(50% - .75px),var(--tpl-text-dim) calc(50% - .75px),var(--tpl-text-dim) calc(50% + .75px),transparent calc(50% + .75px))}.tpl-canvas--dark-mode[data-v-da730df5] .tpl-block-content:not(.tpl-block-content *){filter:invert(1) hue-rotate(180deg)}[data-v-da730df5] .tpl-block-content{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-da730df5] .tpl-block-content img{filter:invert(1) hue-rotate(180deg)}.tpl-pulse-fill[data-v-c289916a]{animation:tpl-field-pulse-c289916a 1s ease-out}@keyframes tpl-field-pulse-c289916a{0%{box-shadow:0 0 color-mix(in srgb,var(--tpl-warning) 30%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 6%,transparent)}40%{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-warning) 15%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 5%,transparent)}to{box-shadow:0 0 0 0 transparent;background-color:transparent}}@media(prefers-reduced-motion:reduce){.tpl-pulse-fill[data-v-c289916a]{animation:none}}input[type=number][data-v-69591c1e]::-webkit-outer-spin-button,input[type=number][data-v-69591c1e]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-69591c1e]{-moz-appearance:textfield}.tpl-collapsible[data-v-417d1652]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-417d1652]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-417d1652]{overflow:hidden}.tpl-icon-enter-active[data-v-632aa74f],.tpl-icon-leave-active[data-v-632aa74f]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-632aa74f],.tpl-icon-leave-to[data-v-632aa74f]{opacity:0;transform:scale(.8)}.tpl-dark-mode-toggle[data-v-632aa74f]:hover{background-color:var(--tpl-bg-hover)}.tpl-dark-mode-toggle[data-v-632aa74f]:active{transform:scale(.92)}.tpl-icon-enter-active[data-v-eef7b2ca],.tpl-icon-leave-active[data-v-eef7b2ca]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-eef7b2ca],.tpl-icon-leave-to[data-v-eef7b2ca]{opacity:0;transform:scale(.8)}.tpl-preview-toggle[data-v-eef7b2ca]:hover{background-color:var(--tpl-bg-hover)}.tpl-preview-toggle[data-v-eef7b2ca]:active{transform:scale(.92)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tpl-comet-angle:0deg;--tpl-comet-start:100%}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:max-w-md{max-width:calc(28 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:calc(.75 * var(--tpl-base-size))}.tpl\\:text-4xl{font-size:calc(2.25 * var(--tpl-base-size));line-height:var(--tw-leading,calc(2.5 / 2.25))}.tpl\\:text-base{font-size:var(--tpl-base-size);line-height:var(--tw-leading, 1.5 )}.tpl\\:text-lg{font-size:calc(1.125 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.75 / 1.125))}.tpl\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}@layer base,components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:var(--tpl-user-bg,oklch(99.5% .002 60));--tpl-bg-elevated:var(--tpl-user-bg-elevated,oklch(98% .004 60));--tpl-bg-hover:var(--tpl-user-bg-hover,oklch(96% .006 60));--tpl-bg-active:var(--tpl-user-bg-active,oklch(93.5% .008 60));--tpl-border:var(--tpl-user-border,oklch(92% .006 60));--tpl-border-light:var(--tpl-user-border-light,oklch(86% .01 60));--tpl-text:var(--tpl-user-text,oklch(18% .01 60));--tpl-text-muted:var(--tpl-user-text-muted,oklch(50% .015 60));--tpl-text-dim:var(--tpl-user-text-dim,oklch(68% .012 60));--tpl-primary:var(--tpl-user-primary,oklch(70% .16 55));--tpl-primary-hover:var(--tpl-user-primary-hover,oklch(63% .17 55));--tpl-primary-light:var(--tpl-user-primary-light,oklch(95% .04 55));--tpl-on-primary:var(--tpl-user-on-primary,var(--tpl-bg));--tpl-secondary:var(--tpl-user-secondary,oklch(60% .118 184.71));--tpl-secondary-hover:var(--tpl-user-secondary-hover,oklch(53.2% .105 186.39));--tpl-secondary-light:var(--tpl-user-secondary-light,oklch(93.8% .03 186.82));--tpl-success:var(--tpl-user-success,oklch(62.8% .194 155.1));--tpl-success-light:var(--tpl-user-success-light,oklch(93.6% .043 163.51));--tpl-warning:var(--tpl-user-warning,oklch(76.9% .168 70.08));--tpl-warning-light:var(--tpl-user-warning-light,oklch(95% .038 73.59));--tpl-danger:var(--tpl-user-danger,oklch(63.7% .237 25.33));--tpl-danger-light:var(--tpl-user-danger-light,oklch(93.6% .032 17.72));--tpl-canvas-bg:var(--tpl-user-canvas-bg,oklch(97.5% .003 60));--tpl-chrome-bg-elevated:var(--tpl-bg-elevated);--tpl-chrome-border-light:var(--tpl-border-light);--tpl-chrome-text:var(--tpl-text);--tpl-chrome-text-muted:var(--tpl-text-muted);--tpl-chrome-text-dim:var(--tpl-text-dim);--tpl-chrome-primary-light:var(--tpl-primary-light);--tpl-chrome-primary-hover:var(--tpl-primary-hover);--tpl-radius:var(--tpl-user-radius,10px);--tpl-radius-sm:var(--tpl-user-radius-sm,7px);--tpl-radius-lg:var(--tpl-user-radius-lg,14px);--tpl-font-family:var(--tpl-user-font-family,\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");--tpl-shadow-sm:var(--tpl-user-shadow-sm,0 1px 2px #00000008);--tpl-shadow:var(--tpl-user-shadow,0 1px 2px #0000000a, 0 1px 3px #00000008);--tpl-shadow-md:var(--tpl-user-shadow-md,0 2px 8px #0000000f, 0 1px 3px #0000000a);--tpl-shadow-lg:var(--tpl-user-shadow-lg,0 4px 16px #00000014, 0 2px 6px #0000000a);--tpl-shadow-xl:var(--tpl-user-shadow-xl,0 8px 32px #0000001a, 0 4px 12px #0000000f);--tpl-overlay:var(--tpl-user-overlay,#00000080);--tpl-ring:var(--tpl-user-ring,0 0 0 3px var(--tpl-primary-light));--tpl-transition:var(--tpl-user-transition,.12s cubic-bezier(.16, 1, .3, 1))}.tpl[data-tpl-theme=dark]{--tpl-bg:var(--tpl-user-dark-bg,oklch(16% .005 60));--tpl-bg-elevated:var(--tpl-user-dark-bg-elevated,oklch(21% .006 60));--tpl-bg-hover:var(--tpl-user-dark-bg-hover,oklch(26% .007 60));--tpl-bg-active:var(--tpl-user-dark-bg-active,oklch(30% .008 60));--tpl-border:var(--tpl-user-dark-border,oklch(30% .006 60));--tpl-border-light:var(--tpl-user-dark-border-light,oklch(38% .008 60));--tpl-text:var(--tpl-user-dark-text,oklch(93% .005 60));--tpl-text-muted:var(--tpl-user-dark-text-muted,oklch(65% .01 60));--tpl-text-dim:var(--tpl-user-dark-text-dim,oklch(50% .008 60));--tpl-primary:var(--tpl-user-dark-primary,oklch(73% .15 55));--tpl-primary-hover:var(--tpl-user-dark-primary-hover,oklch(78% .14 55));--tpl-primary-light:var(--tpl-user-dark-primary-light,oklch(28% .05 55));--tpl-secondary:var(--tpl-user-dark-secondary,oklch(63% .11 184.71));--tpl-secondary-hover:var(--tpl-user-dark-secondary-hover,oklch(68% .1 186.39));--tpl-secondary-light:var(--tpl-user-dark-secondary-light,oklch(25% .03 186.82));--tpl-success:var(--tpl-user-dark-success,oklch(65% .18 155.1));--tpl-success-light:var(--tpl-user-dark-success-light,oklch(25% .04 163.51));--tpl-warning:var(--tpl-user-dark-warning,oklch(78% .16 70.08));--tpl-warning-light:var(--tpl-user-dark-warning-light,oklch(28% .04 73.59));--tpl-danger:var(--tpl-user-dark-danger,oklch(65% .22 25.33));--tpl-danger-light:var(--tpl-user-dark-danger-light,oklch(25% .04 17.72));--tpl-canvas-bg:var(--tpl-user-dark-canvas-bg,oklch(10% .003 60));--tpl-shadow-sm:var(--tpl-user-dark-shadow-sm,0 1px 2px #0003);--tpl-shadow:var(--tpl-user-dark-shadow,0 1px 2px #0000004d, 0 1px 3px #0003);--tpl-shadow-md:var(--tpl-user-dark-shadow-md,0 2px 8px #00000059, 0 1px 3px #00000040);--tpl-shadow-lg:var(--tpl-user-dark-shadow-lg,0 4px 16px #0006, 0 2px 6px #0000004d);--tpl-shadow-xl:var(--tpl-user-dark-shadow-xl,0 8px 32px #00000080, 0 4px 12px #00000059);--tpl-overlay:var(--tpl-user-dark-overlay,#000000b3);--tpl-ring:var(--tpl-user-dark-ring,0 0 0 3px var(--tpl-primary-light))}.tpl[data-tpl-theme=dark] .tpl-block-content{--tpl-bg-elevated:oklch(98% .004 60);--tpl-border-light:oklch(86% .01 60);--tpl-text:oklch(18% .01 60);--tpl-text-muted:oklch(50% .015 60);--tpl-text-dim:oklch(68% .012 60);--tpl-primary-light:oklch(95% .04 55);--tpl-primary-hover:oklch(60% .16 55);color:var(--tpl-text)}.tpl{height:100%;font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875));--tw-leading:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--tpl-bg);min-height:320px;color:var(--tpl-text);line-height:1.5;font-family:var(--tpl-font-family);flex-direction:column;display:flex}:where(.tpl) button{cursor:pointer;background:0 0;border:none;margin:0;padding:0}:where(.tpl) .tpl-focus-ring-host:focus-within :is(input,select,textarea):focus-visible{box-shadow:none}.tpl-popover-root{z-index:10000;position:relative}.tpl-merge-tag-label{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}@supports (color:color-mix(in lab,red,red)){.tpl-merge-tag-label{-webkit-text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)}}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.tpl-fade-in{animation:.2s cubic-bezier(.16,1,.3,1) tpl-fade-in}.tpl-shimmer{background:linear-gradient(90deg,var(--tpl-bg-hover) 25%,var(--tpl-bg-active) 50%,var(--tpl-bg-hover) 75%);background-size:200% 100%;animation:1.5s linear infinite tpl-shimmer}.tpl-preview-mode .tpl-block--idle,.tpl-preview-mode .tpl-block--idle:hover,.tpl-preview-mode .tpl-block--selected{box-shadow:none!important;outline:none!important}.tpl-preview-mode .tpl-block{cursor:default;pointer-events:none}.tpl-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));border-style:var(--tw-border-style);--tw-border-style:dashed;padding:calc(calc(var(--tpl-base-size) / 4) * 2);border-style:dashed;border-width:1px;border-color:var(--tpl-primary);min-height:1.5em}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0;margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}:is(.tpl-text-content p,.tpl-text-editable .tiptap p):last-child{margin-bottom:0}.tpl-text-content ul,.tpl-text-content ol,.tpl-text-editable .tiptap ul,.tpl-text-editable .tiptap ol{margin-block:calc(calc(var(--tpl-base-size) / 4) * 2);padding-left:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl-text-content li,.tpl-text-editable .tiptap li{margin-block:calc(var(--tpl-base-size) / 4)}.tpl-text-content s,.tpl-text-editable .tiptap s{text-decoration-line:line-through}.tpl-text-content sub,.tpl-text-editable .tiptap sub{vertical-align:sub;font-size:.75em}.tpl-text-content sup,.tpl-text-editable .tiptap sup{vertical-align:super;font-size:.75em}.tpl-text-content a,.tpl-text-editable a{color:var(--tpl-doc-link-color,inherit);-webkit-text-decoration:var(--tpl-doc-link-underline,none);text-decoration:var(--tpl-doc-link-underline,none)}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:500;background-color:var(--tpl-primary);align-items:center;font-size:.9em;font-weight:500;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{background-color:color-mix(in srgb,var(--tpl-primary) 20%,transparent)}}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{color:var(--tpl-primary)}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:700;--tw-tracking:.025em;letter-spacing:.025em;text-transform:uppercase;border:1.5px solid var(--tpl-primary);background-color:#0000;align-items:center;font-size:.8em;font-weight:700;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{border:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent)}}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{color:var(--tpl-primary)}.tpl-tooltip{position:relative}.tpl-tooltip:after{content:attr(data-tooltip);border-radius:var(--tpl-radius-sm);background-color:var(--tpl-text);color:var(--tpl-bg);white-space:normal;text-align:center;pointer-events:none;opacity:0;text-transform:none;z-index:50;width:max-content;max-width:min(320px,90vw);padding:4px 10px;font-size:12px;font-weight:500;line-height:1.4;transition:opacity .15s;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%)}.tpl-tooltip:before{content:\"\";border:4px solid #0000;border-bottom-color:var(--tpl-text);pointer-events:none;opacity:0;z-index:50;transition:opacity .15s;position:absolute;top:calc(100% + 2px);left:50%;transform:translate(-50%)}.tpl-tooltip:hover:after,.tpl-tooltip:hover:before{opacity:1}.tpl.tpl-media-overlay{background-color:var(--tpl-overlay);-webkit-backdrop-filter:blur(8px);height:100%;min-height:0;color:var(--tpl-text);flex-direction:row;justify-content:center;align-items:center;display:flex}.tpl.tpl-text-toolbar{flex-direction:row;height:auto;min-height:0;display:flex}.tpl.tpl-link-dialog{background-color:var(--tpl-overlay);flex-direction:row;justify-content:center;align-items:center;height:100%;min-height:0;display:flex}.tpl-upload-zone-active{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}@property --tpl-comet-angle{syntax:\"<angle>\";inherits:false;initial-value:0deg}@property --tpl-comet-start{syntax:\"<percentage>\";inherits:false;initial-value:100%}@keyframes tpl-ai-comet{0%{--tpl-comet-angle:0deg;--tpl-comet-start:100%}1%{--tpl-comet-angle:24deg;--tpl-comet-start:88%}5%{--tpl-comet-angle:120deg;--tpl-comet-start:60%}25%{--tpl-comet-angle:600deg;--tpl-comet-start:60%}33%{--tpl-comet-angle:720deg;--tpl-comet-start:100%}to{--tpl-comet-angle:720deg;--tpl-comet-start:100%}}.tpl-ai-btn--idle{background-color:var(--tpl-primary-light);color:var(--tpl-text);box-shadow:none;z-index:0;position:relative}.tpl-ai-btn--idle:before{content:\"\";border-radius:inherit;background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),var(--tpl-primary) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%);padding:2px;position:absolute;inset:-2px}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:before{background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),color-mix(in srgb,var(--tpl-primary) 40%,transparent) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%)}}.tpl-ai-btn--idle:before{z-index:-1;pointer-events:none;animation:20s linear 3s infinite tpl-ai-comet;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.tpl-ai-btn--idle:hover{background-color:var(--tpl-primary);color:var(--tpl-on-primary);transform:translateY(-1px);box-shadow:0 0 0 3px var(--tpl-primary),0 4px 16px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-primary) 20%,transparent),0 4px 16px color-mix(in srgb,var(--tpl-primary) 30%,transparent)!important}}.tpl-ai-btn--idle:hover:before{animation:none}.tpl-ai-btn--active{background-color:var(--tpl-primary-light);color:var(--tpl-primary-hover);border:1px solid var(--tpl-primary)}.tpl-ai-btn--active .tpl-ai-btn-icon{fill:var(--tpl-primary)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active .tpl-ai-btn-icon{fill:color-mix(in srgb,var(--tpl-primary) 25%,transparent)}}.tpl-ai-btn--active:hover{background-color:var(--tpl-primary-light)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active:hover{background-color:color-mix(in srgb,var(--tpl-primary-light) 80%,var(--tpl-primary))}}.tpl-merge-tag-delete:hover{color:var(--tpl-danger)!important}@media(prefers-reduced-motion:reduce){.tpl-pulse,.tpl-shimmer,.tpl-fade-in,.tpl-scale-in,.tpl-ai-btn--idle:before{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl *,.tpl :before,.tpl :after{transition-duration:.01ms!important}.tpl-spinner{animation:1s linear infinite tpl-spin}}.tpl-restore-btn-enter-active[data-v-9b8b235c]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-restore-btn-leave-active[data-v-9b8b235c]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-restore-btn-enter-from[data-v-9b8b235c],.tpl-restore-btn-leave-to[data-v-9b8b235c]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-restore-btn-enter-to[data-v-9b8b235c],.tpl-restore-btn-leave-from[data-v-9b8b235c]{opacity:1;transform:translateY(0) scale(1)}.tpl-saved-block-skeleton{animation:tpl-saved-block-pulse 1.4s ease-in-out infinite}@keyframes tpl-saved-block-pulse{0%,to{opacity:1}50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.tpl-saved-block-skeleton{animation:none}}.tpl-saved-block-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-comments-slide-enter-active[data-v-40431726]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-40431726]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-40431726]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-40431726]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-40431726]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-40431726]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-40431726]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-40431726]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-40431726]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-40431726]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-40431726],.tpl-comment-reply-card[data-v-40431726]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-40431726],.tpl-resolve-leave-active[data-v-40431726]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-40431726],.tpl-resolve-leave-to[data-v-40431726]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-40431726]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-40431726]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-40431726],.tpl-replies-leave-active[data-v-40431726]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-40431726],.tpl-replies-leave-to[data-v-40431726]{opacity:0;transform:translateY(-4px)}.tpl-ai-slide-enter-active[data-v-82649117]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-ai-slide-leave-active[data-v-82649117]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-ai-input-wrapper[data-v-82649117]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-82649117]:not(:disabled):hover{transform:scale(1.05)}.tpl-suggestion-btn[data-v-82649117]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-design-slide-enter-active[data-v-9a44c153]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-design-slide-leave-active[data-v-9a44c153]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-design-prompt-input[data-v-9a44c153]:focus{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-design-dropzone[data-v-9a44c153]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-scoring-slide-enter-active[data-v-7da30b57]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-scoring-slide-leave-active[data-v-7da30b57]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-scoring-fix-btn[data-v-7da30b57]:not(:disabled):hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.vue-advanced-cropper{text-align:center;position:relative;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}[data-v-267faa45] .tpl-cropper-background{background-color:var(--tpl-bg)!important}[data-v-267faa45] .vue-advanced-cropper{background-color:transparent!important}[data-v-267faa45] .vue-advanced-cropper__background{background-color:var(--tpl-bg)!important}[data-v-267faa45] .vue-advanced-cropper__foreground{background-color:var(--tpl-overlay)!important}.tpl-media-item[data-v-78d7ed75]:not(.tpl-media-item--selected):hover{border-color:var(--tpl-border)!important}.tpl-media-list-item[data-v-78d7ed75]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-list-icon[data-v-78d7ed75]{transform:scale(.35);transform-origin:center}.tpl-preview-icon[data-v-56be5670]{transform:scale(.45);transform-origin:center}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:pointer-events-auto{pointer-events:auto}.tpl\\:pointer-events-none{pointer-events:none}.tpl\\:invisible{visibility:hidden}.tpl\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl\\:absolute{position:absolute}.tpl\\:fixed{position:fixed}.tpl\\:relative{position:relative}.tpl\\:sticky{position:sticky}.tpl\\:inset-0{inset:0}.tpl\\:inset-x-0{inset-inline:0}.tpl\\:inset-y-1{inset-block:calc(var(--tpl-base-size) / 4)}.tpl\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-\\[104px\\]{top:104px}.tpl\\:top-full{top:100%}.tpl\\:-right-1{right:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-right-2{right:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:z-10{z-index:10}.tpl\\:z-40{z-index:40}.tpl\\:z-50{z-index:50}.tpl\\:z-\\[4\\]{z-index:4}.tpl\\:z-\\[5\\]{z-index:5}.tpl\\:z-\\[9999\\]{z-index:9999}.tpl\\:z-\\[10000\\]{z-index:10000}.tpl\\:m-0{margin:0}.tpl\\:m-6{margin:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-0\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mx-1{margin-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:mx-1\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mx-3{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mx-4{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mx-6{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-auto{margin-inline:auto}.tpl\\:mt-0\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mt-1{margin-top:calc(var(--tpl-base-size) / 4)}.tpl\\:mt-1\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mt-2{margin-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-3{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mt-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:\\!mb-0{margin-bottom:0!important}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-48{margin-left:calc(calc(var(--tpl-base-size) / 4) * -48)}.tpl\\:ml-0{margin-left:0}.tpl\\:ml-0\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:ml-1{margin-left:calc(var(--tpl-base-size) / 4)}.tpl\\:ml-5{margin-left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:ml-auto{margin-left:auto}.tpl\\:line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:\\!flex{display:flex!important}.tpl\\:block{display:block}.tpl\\:flex{display:flex}.tpl\\:grid{display:grid}.tpl\\:hidden{display:none}.tpl\\:inline{display:inline}.tpl\\:inline-block{display:inline-block}.tpl\\:inline-flex{display:inline-flex}.tpl\\:aspect-square{aspect-ratio:1}.tpl\\:size-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5);height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:size-2{width:calc(calc(var(--tpl-base-size) / 4) * 2);height:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:size-3{width:calc(calc(var(--tpl-base-size) / 4) * 3);height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:size-4{width:calc(calc(var(--tpl-base-size) / 4) * 4);height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:size-4\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 4.5);height:calc(calc(var(--tpl-base-size) / 4) * 4.5)}.tpl\\:size-5{width:calc(calc(var(--tpl-base-size) / 4) * 5);height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:size-6{width:calc(calc(var(--tpl-base-size) / 4) * 6);height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:size-7{width:calc(calc(var(--tpl-base-size) / 4) * 7);height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:size-8{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:size-10{width:calc(calc(var(--tpl-base-size) / 4) * 10);height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:size-16{width:calc(calc(var(--tpl-base-size) / 4) * 16);height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:size-full{width:100%;height:100%}.tpl\\:h-0{height:0}.tpl\\:h-2\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:h-3{height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:h-4{height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:h-5{height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:h-6{height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:h-7{height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:h-8{height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:h-9{height:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:h-10{height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:h-12{height:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:h-14{height:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:h-16{height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:h-32{height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:h-44{height:calc(calc(var(--tpl-base-size) / 4) * 44)}.tpl\\:h-\\[32px\\]{height:32px}.tpl\\:h-auto{height:auto}.tpl\\:h-full{height:100%}.tpl\\:max-h-24{max-height:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:max-h-32{max-height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:max-h-48{max-height:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:max-h-56{max-height:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:max-h-64{max-height:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:max-h-\\[50vh\\]{max-height:50vh}.tpl\\:max-h-\\[60vh\\]{max-height:60vh}.tpl\\:max-h-\\[80vh\\]{max-height:80vh}.tpl\\:max-h-\\[90vh\\]{max-height:90vh}.tpl\\:min-h-0{min-height:0}.tpl\\:min-h-6{min-height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-h-10{min-height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:min-h-20{min-height:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:min-h-\\[1\\.5em\\]{min-height:1.5em}.tpl\\:min-h-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[64px\\]{min-height:64px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.tpl\\:min-h-\\[72px\\]{min-height:72px}.tpl\\:min-h-\\[80px\\]{min-height:80px}.tpl\\:min-h-\\[100px\\]{min-height:100px}.tpl\\:min-h-\\[120px\\]{min-height:120px}.tpl\\:min-h-\\[150px\\]{min-height:150px}.tpl\\:min-h-\\[400px\\]{min-height:400px}.tpl\\:w-1\\/2{width:50%}.tpl\\:w-1\\/3{width:33.3333%}.tpl\\:w-1\\/4{width:25%}.tpl\\:w-2\\/3{width:66.6667%}.tpl\\:w-3\\/4{width:75%}.tpl\\:w-5\\/6{width:83.3333%}.tpl\\:w-7{width:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:w-8{width:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:w-9{width:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:w-10{width:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:w-12{width:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:w-16{width:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:w-20{width:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:w-28{width:calc(calc(var(--tpl-base-size) / 4) * 28)}.tpl\\:w-32{width:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:w-36{width:calc(calc(var(--tpl-base-size) / 4) * 36)}.tpl\\:w-40{width:calc(calc(var(--tpl-base-size) / 4) * 40)}.tpl\\:w-48{width:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:w-52{width:calc(calc(var(--tpl-base-size) / 4) * 52)}.tpl\\:w-56{width:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-\\[280px\\]{width:280px}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.tpl\\:w-\\[1000px\\]{width:1000px}.tpl\\:w-\\[min\\(420px\\,92vw\\)\\]{width:min(420px,92vw)}.tpl\\:w-full{width:100%}.tpl\\:w-px{width:1px}.tpl\\:max-w-2xl{max-width:calc(42 * var(--tpl-base-size))}.tpl\\:max-w-\\[220px\\]{max-width:220px}.tpl\\:max-w-\\[240px\\]{max-width:240px}.tpl\\:max-w-\\[260px\\]{max-width:260px}.tpl\\:max-w-\\[320px\\]{max-width:320px}.tpl\\:max-w-\\[600px\\]{max-width:600px}.tpl\\:max-w-\\[calc\\(100vw_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100vw - 2 * var(--tpl-base-size))}.tpl\\:max-w-full{max-width:100%}.tpl\\:max-w-md{max-width:28rem}.tpl\\:max-w-sm{max-width:calc(24 * var(--tpl-base-size))}.tpl\\:min-w-0{min-width:0}.tpl\\:min-w-6{min-width:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-w-\\[20px\\]{min-width:20px}.tpl\\:min-w-\\[200px\\]{min-width:200px}.tpl\\:flex-1{flex:1}.tpl\\:flex-shrink-0,.tpl\\:shrink-0{flex-shrink:0}.tpl\\:origin-top-right{transform-origin:100% 0}.tpl\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-\\[-8px\\]{--tw-translate-y:-8px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:-rotate-90{rotate:-90deg}.tpl\\:rotate-0{rotate:0deg}.tpl\\:rotate-45{rotate:45deg}.tpl\\:rotate-90{rotate:90deg}.tpl\\:rotate-180{rotate:180deg}.tpl\\:animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.tpl\\:animate-spin{animation:1s linear infinite spin}.tpl\\:cursor-default{cursor:default}.tpl\\:cursor-grab{cursor:grab}.tpl\\:cursor-help{cursor:help}.tpl\\:cursor-not-allowed{cursor:not-allowed}.tpl\\:cursor-pointer{cursor:pointer}.tpl\\:resize-none{resize:none}.tpl\\:resize-y{resize:vertical}.tpl\\:list-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tpl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.tpl\\:grid-cols-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 1fr}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-wrap{flex-wrap:wrap}.tpl\\:items-center{align-items:center}.tpl\\:items-end{align-items:flex-end}.tpl\\:items-start{align-items:flex-start}.tpl\\:items-stretch{align-items:stretch}.tpl\\:justify-between{justify-content:space-between}.tpl\\:justify-center{justify-content:center}.tpl\\:justify-end{justify-content:flex-end}.tpl\\:gap-0{gap:0}.tpl\\:gap-0\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-1{gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-1\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-2{gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:gap-2\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:gap-3{gap:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:gap-4{gap:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:gap-5{gap:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:gap-6{gap:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:gap-10{gap:calc(calc(var(--tpl-base-size) / 4) * 10)}:where(.tpl\\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--tpl-base-size) / 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--tpl-base-size) / 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * calc(1 - var(--tw-space-y-reverse)))}.tpl\\:gap-x-1{column-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-x-3{column-gap:calc(calc(var(--tpl-base-size) / 4) * 3)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:3.40282e38px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:.75rem}.tpl\\:rounded-l-\\[var\\(--tpl-radius-sm\\)\\]{border-top-left-radius:var(--tpl-radius-sm);border-bottom-left-radius:var(--tpl-radius-sm)}.tpl\\:rounded-tl-lg{border-top-left-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-r-\\[var\\(--tpl-radius-sm\\)\\]{border-top-right-radius:var(--tpl-radius-sm);border-bottom-right-radius:var(--tpl-radius-sm)}.tpl\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.tpl\\:border{border-style:var(--tw-border-style);border-width:1px}.tpl\\:border-0{border-style:var(--tw-border-style);border-width:0}.tpl\\:border-2{border-style:var(--tw-border-style);border-width:2px}.tpl\\:border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.tpl\\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.tpl\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.tpl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.tpl\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.tpl\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tpl\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.tpl\\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.tpl\\:border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.tpl\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.tpl\\:border-none{--tw-border-style:none;border-style:none}.tpl\\:border-\\[var\\(--tpl-bg\\)\\]{border-color:var(--tpl-bg)}.tpl\\:border-\\[var\\(--tpl-border\\)\\]{border-color:var(--tpl-border)}.tpl\\:border-\\[var\\(--tpl-border-light\\)\\]{border-color:var(--tpl-border-light)}.tpl\\:border-\\[var\\(--tpl-danger\\)\\]{border-color:var(--tpl-danger)}.tpl\\:border-\\[var\\(--tpl-primary\\)\\]{border-color:var(--tpl-primary)}.tpl\\:border-\\[var\\(--tpl-primary-hover\\)\\]{border-color:var(--tpl-primary-hover)}.tpl\\:border-\\[var\\(--tpl-warning\\)\\]{border-color:var(--tpl-warning)}.tpl\\:border-transparent{border-color:#0000}.tpl\\:border-l-\\[var\\(--tpl-primary\\)\\]{border-left-color:var(--tpl-primary)}.tpl\\:border-l-transparent{border-left-color:#0000}.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:var(--tpl-bg)}@supports (color:color-mix(in lab,red,red)){.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:color-mix(in srgb,var(--tpl-bg) 90%,transparent)}}.tpl\\:bg-\\[var\\(--tpl-bg\\)\\]{background-color:var(--tpl-bg)}.tpl\\:bg-\\[var\\(--tpl-bg-active\\)\\]{background-color:var(--tpl-bg-active)}.tpl\\:bg-\\[var\\(--tpl-bg-elevated\\)\\]{background-color:var(--tpl-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-bg-hover\\)\\]{background-color:var(--tpl-bg-hover)}.tpl\\:bg-\\[var\\(--tpl-border\\)\\]{background-color:var(--tpl-border)}.tpl\\:bg-\\[var\\(--tpl-canvas-bg\\)\\]{background-color:var(--tpl-canvas-bg)}.tpl\\:bg-\\[var\\(--tpl-chrome-bg-elevated\\)\\]{background-color:var(--tpl-chrome-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-chrome-primary-light\\)\\]{background-color:var(--tpl-chrome-primary-light)}.tpl\\:bg-\\[var\\(--tpl-danger\\)\\]{background-color:var(--tpl-danger)}.tpl\\:bg-\\[var\\(--tpl-danger-light\\)\\]{background-color:var(--tpl-danger-light)}.tpl\\:bg-\\[var\\(--tpl-primary\\)\\]{background-color:var(--tpl-primary)}.tpl\\:bg-\\[var\\(--tpl-primary-light\\)\\]{background-color:var(--tpl-primary-light)}.tpl\\:bg-\\[var\\(--tpl-warning-light\\)\\]{background-color:var(--tpl-warning-light)}.tpl\\:bg-black\\/30{background-color:oklab(0% none none/.3)}.tpl\\:bg-black\\/40{background-color:oklab(0% none none/.4)}.tpl\\:bg-transparent{background-color:#0000}.tpl\\:object-contain{object-fit:contain}.tpl\\:object-cover{object-fit:cover}.tpl\\:p-0{padding:0}.tpl\\:p-0\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:p-1{padding:calc(var(--tpl-base-size) / 4)}.tpl\\:p-1\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:p-2{padding:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:p-3{padding:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:p-4{padding:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:p-5{padding:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:p-6{padding:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:p-8{padding:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-0\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:px-1{padding-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:px-1\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:px-2{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:px-2\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:px-3{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:px-3\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:px-4{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:px-5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:px-6{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:px-8{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-10{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-0{padding-block:0}.tpl\\:py-0\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:py-1{padding-block:calc(var(--tpl-base-size) / 4)}.tpl\\:py-1\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:py-2{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:py-2\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:py-3{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:py-3\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:py-4{padding-block:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:py-5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:py-6{padding-block:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:py-8{padding-block:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:py-10{padding-block:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-12{padding-block:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:py-16{padding-block:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:py-\\[5px\\]{padding-block:5px}.tpl\\:py-\\[7px\\]{padding-block:7px}.tpl\\:py-px{padding-block:1px}.tpl\\:pt-1{padding-top:calc(var(--tpl-base-size) / 4)}.tpl\\:pt-2{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pt-2\\.5{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pt-3{padding-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pt-4{padding-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-2{padding-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pr-3{padding-right:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pr-4{padding-right:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-6{padding-right:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:pr-7{padding-right:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:pr-8{padding-right:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pb-1{padding-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:pb-1\\.5{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:pb-2{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pb-3{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pb-4{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-2{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pl-2\\.5{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pl-3{padding-left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pl-4{padding-left:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-8{padding-left:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pl-9{padding-left:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:pl-\\[18px\\]{padding-left:18px}.tpl\\:text-center{text-align:center}.tpl\\:text-left{text-align:left}.tpl\\:font-\\[inherit\\]{font-family:inherit}.tpl\\:font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tpl\\:font-sans{font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tpl\\:text-4xl{font-size:2.25rem;line-height:var(--tw-leading,calc(2.5 / 2.25))}.tpl\\:text-base{font-size:1rem;line-height:var(--tw-leading, 1.5 )}.tpl\\:text-lg{font-size:1.125rem;line-height:var(--tw-leading,calc(1.75 / 1.125))}.tpl\\:text-sm{font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875))}.tpl\\:text-xs{font-size:calc(.75 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1 / .75))}.tpl\\:text-\\[0\\.8em\\]{font-size:.8em}.tpl\\:text-\\[0\\.9em\\]{font-size:.9em}.tpl\\:text-\\[1em\\]{font-size:1em}.tpl\\:text-\\[8px\\]{font-size:8px}.tpl\\:text-\\[9px\\]{font-size:9px}.tpl\\:text-\\[10px\\]{font-size:10px}.tpl\\:text-\\[11px\\]{font-size:11px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size:inherit}.tpl\\:leading-none{--tw-leading:1;line-height:1}.tpl\\:leading-normal{--tw-leading:1.5;line-height:1.5}.tpl\\:leading-relaxed{--tw-leading:1.625;line-height:1.625}.tpl\\:leading-snug{--tw-leading:1.375;line-height:1.375}.tpl\\:leading-tight{--tw-leading:1.25;line-height:1.25}.tpl\\:font-\\[var\\(--tpl-font-family\\)\\]{--tw-font-weight:var(--tpl-font-family);font-weight:var(--tpl-font-family)}.tpl\\:font-bold{--tw-font-weight:700;font-weight:700}.tpl\\:font-medium{--tw-font-weight:500;font-weight:500}.tpl\\:font-normal{--tw-font-weight:400;font-weight:400}.tpl\\:font-semibold{--tw-font-weight:600;font-weight:600}.tpl\\:tracking-wide{--tw-tracking:.025em;letter-spacing:.025em}.tpl\\:tracking-wider{--tw-tracking:.05em;letter-spacing:.05em}.tpl\\:break-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-nowrap{white-space:nowrap}.tpl\\:whitespace-pre-wrap{white-space:pre-wrap}.tpl\\:text-\\[var\\(--tpl-bg\\)\\]{color:var(--tpl-bg)}.tpl\\:text-\\[var\\(--tpl-border\\)\\]{color:var(--tpl-border)}.tpl\\:text-\\[var\\(--tpl-border-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text-dim\\)\\]{color:var(--tpl-chrome-text-dim)}.tpl\\:text-\\[var\\(--tpl-chrome-text-muted\\)\\]{color:var(--tpl-chrome-text-muted)}.tpl\\:text-\\[var\\(--tpl-danger\\)\\]{color:var(--tpl-danger)}.tpl\\:text-\\[var\\(--tpl-on-primary\\)\\]{color:var(--tpl-on-primary)}.tpl\\:text-\\[var\\(--tpl-primary\\)\\]{color:var(--tpl-primary)}.tpl\\:text-\\[var\\(--tpl-primary-hover\\)\\]{color:var(--tpl-primary-hover)}.tpl\\:text-\\[var\\(--tpl-success\\)\\]{color:var(--tpl-success)}.tpl\\:text-\\[var\\(--tpl-success\\,var\\(--tpl-primary\\)\\)\\]{color:var(--tpl-success,var(--tpl-primary))}.tpl\\:text-\\[var\\(--tpl-text\\)\\]{color:var(--tpl-text)}.tpl\\:text-\\[var\\(--tpl-text-dim\\)\\]{color:var(--tpl-text-dim)}.tpl\\:text-\\[var\\(--tpl-text-muted\\)\\]{color:var(--tpl-text-muted)}.tpl\\:text-\\[var\\(--tpl-warning\\)\\]{color:var(--tpl-warning)}.tpl\\:text-white{color:#fff}.tpl\\:normal-case{text-transform:none}.tpl\\:uppercase{text-transform:uppercase}.tpl\\:italic{font-style:italic}.tpl\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tpl\\:no-underline{text-decoration-line:none}.tpl\\:underline{text-decoration-line:underline}.tpl\\:accent-\\[var\\(--tpl-primary\\)\\]{accent-color:var(--tpl-primary)}.tpl\\:opacity-0{opacity:0}.tpl\\:opacity-50{opacity:.5}.tpl\\:opacity-60{opacity:.6}.tpl\\:opacity-70{opacity:.7}.tpl\\:opacity-90{opacity:.9}.tpl\\:opacity-100{opacity:1}.tpl\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-ring\\)\\]{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow\\)\\]{--tw-shadow:var(--tpl-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-lg\\)\\]{--tw-shadow:var(--tpl-shadow-lg);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-\\[var\\(--tpl-border\\)\\]{--tw-ring-color:var(--tpl-border)}.tpl\\:ring-\\[var\\(--tpl-primary\\)\\]{--tw-ring-color:var(--tpl-primary)}.tpl\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.tpl\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.tpl\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.tpl\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.tpl\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.tpl\\:duration-\\[80ms\\]{--tw-duration:80ms;transition-duration:80ms}.tpl\\:duration-\\[120ms\\]{--tw-duration:.12s;transition-duration:.12s}.tpl\\:ease-\\[cubic-bezier\\(0\\.16\\,1\\,0\\.3\\,1\\)\\]{--tw-ease:cubic-bezier(.16,1,.3,1);transition-timing-function:cubic-bezier(.16,1,.3,1)}.tpl\\:ease-in{--tw-ease:cubic-bezier(.4, 0, 1, 1);transition-timing-function:cubic-bezier(.4,0,1,1)}.tpl\\:ease-out{--tw-ease:cubic-bezier(0, 0, .2, 1);transition-timing-function:cubic-bezier(0,0,.2,1)}.tpl\\:outline-none{--tw-outline-style:none;outline-style:none}.tpl\\:select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.tpl\\:group-hover\\:bg-black\\/40:is(:where(.tpl\\:group):hover *){background-color:oklab(0% none none/.4)}.tpl\\:group-hover\\:opacity-100:is(:where(.tpl\\:group):hover *){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\:first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.tpl\\:last\\:mb-0:last-child{margin-bottom:0}@media(hover:hover){.tpl\\:hover\\:z-10:hover{z-index:10}.tpl\\:hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:border-\\[var\\(--tpl-border\\)\\]:hover{border-color:var(--tpl-border)}.tpl\\:hover\\:border-\\[var\\(--tpl-danger\\)\\]:hover{border-color:var(--tpl-danger)}.tpl\\:hover\\:border-\\[var\\(--tpl-primary\\)\\]:hover{border-color:var(--tpl-primary)}.tpl\\:hover\\:border-\\[var\\(--tpl-text-dim\\)\\]:hover{border-color:var(--tpl-text-dim)}.tpl\\:hover\\:border-l-\\[var\\(--tpl-primary\\)\\]:hover{border-left-color:var(--tpl-primary)}.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:var(--tpl-text)}@supports (color:color-mix(in lab,red,red)){.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:color-mix(in srgb,var(--tpl-text) 8%,transparent)}}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-active\\)\\]:hover{background-color:var(--tpl-bg-active)}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-hover\\)\\]:hover{background-color:var(--tpl-bg-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-danger-light\\)\\]:hover{background-color:var(--tpl-danger-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-hover\\)\\]:hover{background-color:var(--tpl-primary-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-light\\)\\]:hover{background-color:var(--tpl-primary-light)}.tpl\\:hover\\:text-\\[var\\(--tpl-danger\\)\\]:hover{color:var(--tpl-danger)}.tpl\\:hover\\:text-\\[var\\(--tpl-primary\\)\\]:hover{color:var(--tpl-primary)}.tpl\\:hover\\:text-\\[var\\(--tpl-text\\)\\]:hover{color:var(--tpl-text)}.tpl\\:hover\\:underline:hover{text-decoration-line:underline}.tpl\\:hover\\:opacity-80:hover{opacity:.8}.tpl\\:hover\\:opacity-90:hover{opacity:.9}.tpl\\:hover\\:opacity-100:hover{opacity:1}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]:hover{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]:hover{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.tpl\\:focus\\:border-\\[var\\(--tpl-primary\\)\\]:focus{border-color:var(--tpl-primary)}.tpl\\:focus\\:shadow-\\[0_0_0_3px_var\\(--tpl-primary-light\\)\\]:focus{--tw-shadow:0 0 0 3px var(--tw-shadow-color,var(--tpl-primary-light));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus,.tpl\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus-visible{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-\\[var\\(--tpl-primary\\)\\]:focus-visible{--tw-ring-color:var(--tpl-primary)}.tpl\\:focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:focus-visible\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]:focus-visible{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.tpl\\:active\\:cursor-grabbing:active{cursor:grabbing}.tpl\\:active\\:bg-\\[var\\(--tpl-bg-active\\)\\]:active{background-color:var(--tpl-bg-active)}.tpl\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.tpl\\:disabled\\:opacity-30:disabled{opacity:.3}.tpl\\:disabled\\:opacity-40:disabled{opacity:.4}.tpl\\:disabled\\:opacity-50:disabled{opacity:.5}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}@layer base,components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:oklch(99.5% .002 60);--tpl-bg-elevated:oklch(98% .004 60);--tpl-bg-hover:oklch(96% .006 60);--tpl-bg-active:oklch(93.5% .008 60);--tpl-border:oklch(92% .006 60);--tpl-border-light:oklch(86% .01 60);--tpl-text:oklch(18% .01 60);--tpl-text-muted:oklch(50% .015 60);--tpl-text-dim:oklch(68% .012 60);--tpl-primary:oklch(70% .16 55);--tpl-primary-hover:oklch(63% .17 55);--tpl-primary-light:oklch(95% .04 55);--tpl-secondary:oklch(60% .118 184.71);--tpl-secondary-hover:oklch(53.2% .105 186.39);--tpl-secondary-light:oklch(93.8% .03 186.82);--tpl-success:oklch(62.8% .194 155.1);--tpl-success-light:oklch(93.6% .043 163.51);--tpl-warning:oklch(76.9% .168 70.08);--tpl-warning-light:oklch(95% .038 73.59);--tpl-danger:oklch(63.7% .237 25.33);--tpl-danger-light:oklch(93.6% .032 17.72);--tpl-radius:10px;--tpl-radius-sm:7px;--tpl-radius-lg:14px;--tpl-font-family:\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--tpl-shadow:0 1px 2px #0000000a, 0 1px 3px #00000008;--tpl-shadow-md:0 2px 8px #0000000f, 0 1px 3px #0000000a;--tpl-shadow-lg:0 4px 16px #00000014, 0 2px 6px #0000000a;--tpl-shadow-xl:0 8px 32px #0000001a, 0 4px 12px #0000000f;--tpl-ring:0 0 0 3px var(--tpl-primary-light);--tpl-transition:.12s cubic-bezier(.16, 1, .3, 1)}.tpl[data-tpl-theme=dark]{--tpl-bg:oklch(16% .005 60);--tpl-bg-elevated:oklch(21% .006 60);--tpl-bg-hover:oklch(26% .007 60);--tpl-bg-active:oklch(30% .008 60);--tpl-border:oklch(30% .006 60);--tpl-border-light:oklch(38% .008 60);--tpl-text:oklch(93% .005 60);--tpl-text-muted:oklch(65% .01 60);--tpl-text-dim:oklch(50% .008 60);--tpl-primary:oklch(73% .15 55);--tpl-primary-hover:oklch(78% .14 55);--tpl-primary-light:oklch(28% .05 55);--tpl-secondary:oklch(63% .11 184.71);--tpl-secondary-hover:oklch(68% .1 186.39);--tpl-secondary-light:oklch(25% .03 186.82);--tpl-success:oklch(65% .18 155.1);--tpl-success-light:oklch(25% .04 163.51);--tpl-warning:oklch(78% .16 70.08);--tpl-warning-light:oklch(28% .04 73.59);--tpl-danger:oklch(65% .22 25.33);--tpl-danger-light:oklch(25% .04 17.72);--tpl-shadow:0 1px 2px #0000004d, 0 1px 3px #0003;--tpl-shadow-md:0 2px 8px #00000059, 0 1px 3px #00000040;--tpl-shadow-lg:0 4px 16px #0006, 0 2px 6px #0000004d;--tpl-shadow-xl:0 8px 32px #00000080, 0 4px 12px #00000059;--tpl-ring:0 0 0 3px var(--tpl-primary-light)}.tpl{font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875));--tw-leading:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--tpl-bg);color:var(--tpl-text);line-height:1.5;font-family:var(--tpl-font-family)}:where(.tpl) button,:where(.tpl) input,:where(.tpl) select,:where(.tpl) textarea{box-sizing:border-box;font-family:inherit}:where(.tpl) button{cursor:pointer;background:0 0;border:none}:where(.tpl) button:focus-visible,:where(.tpl) input:focus-visible,:where(.tpl) select:focus-visible,:where(.tpl) textarea:focus-visible{box-shadow:var(--tpl-ring);outline:none}.tpl ::-webkit-scrollbar{width:6px;height:6px}.tpl ::-webkit-scrollbar-track{background:0 0}.tpl ::-webkit-scrollbar-thumb{background-color:var(--tpl-border-light)}@supports (color:color-mix(in lab,red,red)){.tpl ::-webkit-scrollbar-thumb{background-color:color-mix(in srgb,var(--tpl-border-light) 60%,transparent)}}.tpl ::-webkit-scrollbar-thumb{border-radius:calc(.25 * var(--tpl-base-size))}.tpl ::-webkit-scrollbar-thumb:hover{background-color:var(--tpl-border-light)}@keyframes tpl-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes tpl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}.tpl-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}.tpl-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-in}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-ai-feature-menu-item[data-v-bf59b787]:hover{background-color:var(--tpl-bg-hover)!important}\n/*$vite$:1*/", Sd = null;
|
|
5181
|
-
function
|
|
5182
|
-
if (
|
|
5204
|
+
var Cd = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-c3d50014]{height:3px;width:100%;border-radius:9999px;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 15%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 30%,var(--tpl-primary) 50%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 70%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 85%,transparent 100%);background-size:200% 100%;animation:tpl-loading-flow-c3d50014 3s ease-in-out infinite}@keyframes tpl-loading-flow-c3d50014{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track-fill[data-v-c3d50014]{animation:none;background-position:50% 0}}.tpl-block--idle[data-v-096f1d37]{outline:1.5px dashed color-mix(in srgb,var(--tpl-primary) 30%,transparent);outline-offset:-1px;transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--idle[data-v-096f1d37]:hover{outline:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent);outline-offset:-1px;box-shadow:0 0 8px color-mix(in srgb,var(--tpl-primary) 8%,transparent)}.tpl-block--picked[data-v-096f1d37]{outline:2px solid var(--tpl-primary);outline-offset:-1px;box-shadow:0 0 0 4px color-mix(in srgb,var(--tpl-primary) 18%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--selected[data-v-096f1d37]{outline:2px solid color-mix(in srgb,var(--tpl-primary) 60%,transparent);outline-offset:-1px;box-shadow:0 0 12px color-mix(in srgb,var(--tpl-primary) 15%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block-action-btn[data-v-096f1d37]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-096f1d37]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-096f1d37]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-096f1d37]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-096f1d37]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-096f1d37]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-096f1d37]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-table-editable[data-v-963ac422] th[contenteditable],.tpl-table-editable[data-v-963ac422] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-963ac422] th[contenteditable]:empty:before,.tpl-table-editable[data-v-963ac422] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-963ac422] th[contenteditable]:focus,.tpl-table-editable[data-v-963ac422] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}hex-color-picker{--hcp-width: 200px}hex-color-picker::part(hue){border-radius:var(--tpl-radius-sm, 7px)}hex-color-picker::part(saturation){border-radius:var(--tpl-radius-sm, 7px) var(--tpl-radius-sm, 7px) 0 0}.tpl-color-swatch-empty{background-color:var(--tpl-bg);background-image:linear-gradient(to top right,transparent calc(50% - .75px),var(--tpl-text-dim) calc(50% - .75px),var(--tpl-text-dim) calc(50% + .75px),transparent calc(50% + .75px))}.tpl-canvas--dark-mode[data-v-da730df5] .tpl-block-content:not(.tpl-block-content *){filter:invert(1) hue-rotate(180deg)}[data-v-da730df5] .tpl-block-content{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-da730df5] .tpl-block-content img{filter:invert(1) hue-rotate(180deg)}.tpl-pulse-fill[data-v-c289916a]{animation:tpl-field-pulse-c289916a 1s ease-out}@keyframes tpl-field-pulse-c289916a{0%{box-shadow:0 0 color-mix(in srgb,var(--tpl-warning) 30%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 6%,transparent)}40%{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-warning) 15%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 5%,transparent)}to{box-shadow:0 0 0 0 transparent;background-color:transparent}}@media(prefers-reduced-motion:reduce){.tpl-pulse-fill[data-v-c289916a]{animation:none}}input[type=number][data-v-69591c1e]::-webkit-outer-spin-button,input[type=number][data-v-69591c1e]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-69591c1e]{-moz-appearance:textfield}.tpl-collapsible[data-v-c0ea5f03]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-c0ea5f03]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-c0ea5f03]{overflow:hidden}.tpl-icon-enter-active[data-v-632aa74f],.tpl-icon-leave-active[data-v-632aa74f]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-632aa74f],.tpl-icon-leave-to[data-v-632aa74f]{opacity:0;transform:scale(.8)}.tpl-dark-mode-toggle[data-v-632aa74f]:hover{background-color:var(--tpl-bg-hover)}.tpl-dark-mode-toggle[data-v-632aa74f]:active{transform:scale(.92)}.tpl-icon-enter-active[data-v-eef7b2ca],.tpl-icon-leave-active[data-v-eef7b2ca]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-eef7b2ca],.tpl-icon-leave-to[data-v-eef7b2ca]{opacity:0;transform:scale(.8)}.tpl-preview-toggle[data-v-eef7b2ca]:hover{background-color:var(--tpl-bg-hover)}.tpl-preview-toggle[data-v-eef7b2ca]:active{transform:scale(.92)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tpl-comet-angle:0deg;--tpl-comet-start:100%}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:max-w-md{max-width:calc(28 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:calc(.75 * var(--tpl-base-size))}.tpl\\:text-4xl{font-size:calc(2.25 * var(--tpl-base-size));line-height:var(--tw-leading,calc(2.5 / 2.25))}.tpl\\:text-base{font-size:var(--tpl-base-size);line-height:var(--tw-leading, 1.5 )}.tpl\\:text-lg{font-size:calc(1.125 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.75 / 1.125))}.tpl\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}@layer base,components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:var(--tpl-user-bg,oklch(99.5% .002 60));--tpl-bg-elevated:var(--tpl-user-bg-elevated,oklch(98% .004 60));--tpl-bg-hover:var(--tpl-user-bg-hover,oklch(96% .006 60));--tpl-bg-active:var(--tpl-user-bg-active,oklch(93.5% .008 60));--tpl-border:var(--tpl-user-border,oklch(92% .006 60));--tpl-border-light:var(--tpl-user-border-light,oklch(86% .01 60));--tpl-text:var(--tpl-user-text,oklch(18% .01 60));--tpl-text-muted:var(--tpl-user-text-muted,oklch(50% .015 60));--tpl-text-dim:var(--tpl-user-text-dim,oklch(68% .012 60));--tpl-primary:var(--tpl-user-primary,oklch(70% .16 55));--tpl-primary-hover:var(--tpl-user-primary-hover,oklch(63% .17 55));--tpl-primary-light:var(--tpl-user-primary-light,oklch(95% .04 55));--tpl-on-primary:var(--tpl-user-on-primary,var(--tpl-bg));--tpl-secondary:var(--tpl-user-secondary,oklch(60% .118 184.71));--tpl-secondary-hover:var(--tpl-user-secondary-hover,oklch(53.2% .105 186.39));--tpl-secondary-light:var(--tpl-user-secondary-light,oklch(93.8% .03 186.82));--tpl-success:var(--tpl-user-success,oklch(62.8% .194 155.1));--tpl-success-light:var(--tpl-user-success-light,oklch(93.6% .043 163.51));--tpl-warning:var(--tpl-user-warning,oklch(76.9% .168 70.08));--tpl-warning-light:var(--tpl-user-warning-light,oklch(95% .038 73.59));--tpl-danger:var(--tpl-user-danger,oklch(63.7% .237 25.33));--tpl-danger-light:var(--tpl-user-danger-light,oklch(93.6% .032 17.72));--tpl-canvas-bg:var(--tpl-user-canvas-bg,oklch(97.5% .003 60));--tpl-chrome-bg-elevated:var(--tpl-bg-elevated);--tpl-chrome-border-light:var(--tpl-border-light);--tpl-chrome-text:var(--tpl-text);--tpl-chrome-text-muted:var(--tpl-text-muted);--tpl-chrome-text-dim:var(--tpl-text-dim);--tpl-chrome-primary-light:var(--tpl-primary-light);--tpl-chrome-primary-hover:var(--tpl-primary-hover);--tpl-radius:var(--tpl-user-radius,10px);--tpl-radius-sm:var(--tpl-user-radius-sm,7px);--tpl-radius-lg:var(--tpl-user-radius-lg,14px);--tpl-font-family:var(--tpl-user-font-family,\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");--tpl-shadow-sm:var(--tpl-user-shadow-sm,0 1px 2px #00000008);--tpl-shadow:var(--tpl-user-shadow,0 1px 2px #0000000a, 0 1px 3px #00000008);--tpl-shadow-md:var(--tpl-user-shadow-md,0 2px 8px #0000000f, 0 1px 3px #0000000a);--tpl-shadow-lg:var(--tpl-user-shadow-lg,0 4px 16px #00000014, 0 2px 6px #0000000a);--tpl-shadow-xl:var(--tpl-user-shadow-xl,0 8px 32px #0000001a, 0 4px 12px #0000000f);--tpl-overlay:var(--tpl-user-overlay,#00000080);--tpl-ring:var(--tpl-user-ring,0 0 0 3px var(--tpl-primary-light));--tpl-transition:var(--tpl-user-transition,.12s cubic-bezier(.16, 1, .3, 1))}.tpl[data-tpl-theme=dark]{--tpl-bg:var(--tpl-user-dark-bg,oklch(16% .005 60));--tpl-bg-elevated:var(--tpl-user-dark-bg-elevated,oklch(21% .006 60));--tpl-bg-hover:var(--tpl-user-dark-bg-hover,oklch(26% .007 60));--tpl-bg-active:var(--tpl-user-dark-bg-active,oklch(30% .008 60));--tpl-border:var(--tpl-user-dark-border,oklch(30% .006 60));--tpl-border-light:var(--tpl-user-dark-border-light,oklch(38% .008 60));--tpl-text:var(--tpl-user-dark-text,oklch(93% .005 60));--tpl-text-muted:var(--tpl-user-dark-text-muted,oklch(65% .01 60));--tpl-text-dim:var(--tpl-user-dark-text-dim,oklch(50% .008 60));--tpl-primary:var(--tpl-user-dark-primary,oklch(73% .15 55));--tpl-primary-hover:var(--tpl-user-dark-primary-hover,oklch(78% .14 55));--tpl-primary-light:var(--tpl-user-dark-primary-light,oklch(28% .05 55));--tpl-secondary:var(--tpl-user-dark-secondary,oklch(63% .11 184.71));--tpl-secondary-hover:var(--tpl-user-dark-secondary-hover,oklch(68% .1 186.39));--tpl-secondary-light:var(--tpl-user-dark-secondary-light,oklch(25% .03 186.82));--tpl-success:var(--tpl-user-dark-success,oklch(65% .18 155.1));--tpl-success-light:var(--tpl-user-dark-success-light,oklch(25% .04 163.51));--tpl-warning:var(--tpl-user-dark-warning,oklch(78% .16 70.08));--tpl-warning-light:var(--tpl-user-dark-warning-light,oklch(28% .04 73.59));--tpl-danger:var(--tpl-user-dark-danger,oklch(65% .22 25.33));--tpl-danger-light:var(--tpl-user-dark-danger-light,oklch(25% .04 17.72));--tpl-canvas-bg:var(--tpl-user-dark-canvas-bg,oklch(10% .003 60));--tpl-shadow-sm:var(--tpl-user-dark-shadow-sm,0 1px 2px #0003);--tpl-shadow:var(--tpl-user-dark-shadow,0 1px 2px #0000004d, 0 1px 3px #0003);--tpl-shadow-md:var(--tpl-user-dark-shadow-md,0 2px 8px #00000059, 0 1px 3px #00000040);--tpl-shadow-lg:var(--tpl-user-dark-shadow-lg,0 4px 16px #0006, 0 2px 6px #0000004d);--tpl-shadow-xl:var(--tpl-user-dark-shadow-xl,0 8px 32px #00000080, 0 4px 12px #00000059);--tpl-overlay:var(--tpl-user-dark-overlay,#000000b3);--tpl-ring:var(--tpl-user-dark-ring,0 0 0 3px var(--tpl-primary-light))}.tpl[data-tpl-theme=dark] .tpl-block-content{--tpl-bg-elevated:oklch(98% .004 60);--tpl-border-light:oklch(86% .01 60);--tpl-text:oklch(18% .01 60);--tpl-text-muted:oklch(50% .015 60);--tpl-text-dim:oklch(68% .012 60);--tpl-primary-light:oklch(95% .04 55);--tpl-primary-hover:oklch(60% .16 55);color:var(--tpl-text)}.tpl{height:100%;font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875));--tw-leading:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--tpl-bg);min-height:320px;color:var(--tpl-text);line-height:1.5;font-family:var(--tpl-font-family);flex-direction:column;display:flex}:where(.tpl) button{cursor:pointer;background:0 0;border:none;margin:0;padding:0}:where(.tpl) .tpl-focus-ring-host:focus-within :is(input,select,textarea):focus-visible{box-shadow:none}.tpl-popover-root{z-index:10000;position:relative}.tpl-merge-tag-label{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}@supports (color:color-mix(in lab,red,red)){.tpl-merge-tag-label{-webkit-text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)}}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.tpl-fade-in{animation:.2s cubic-bezier(.16,1,.3,1) tpl-fade-in}.tpl-shimmer{background:linear-gradient(90deg,var(--tpl-bg-hover) 25%,var(--tpl-bg-active) 50%,var(--tpl-bg-hover) 75%);background-size:200% 100%;animation:1.5s linear infinite tpl-shimmer}.tpl-preview-mode .tpl-block--idle,.tpl-preview-mode .tpl-block--idle:hover,.tpl-preview-mode .tpl-block--selected{box-shadow:none!important;outline:none!important}.tpl-preview-mode .tpl-block{cursor:default;pointer-events:none}.tpl-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));border-style:var(--tw-border-style);--tw-border-style:dashed;padding:calc(calc(var(--tpl-base-size) / 4) * 2);border-style:dashed;border-width:1px;border-color:var(--tpl-primary);min-height:1.5em}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0;margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}:is(.tpl-text-content p,.tpl-text-editable .tiptap p):last-child{margin-bottom:0}.tpl-text-content ul,.tpl-text-content ol,.tpl-text-editable .tiptap ul,.tpl-text-editable .tiptap ol{margin-block:calc(calc(var(--tpl-base-size) / 4) * 2);padding-left:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl-text-content li,.tpl-text-editable .tiptap li{margin-block:calc(var(--tpl-base-size) / 4)}.tpl-text-content s,.tpl-text-editable .tiptap s{text-decoration-line:line-through}.tpl-text-content sub,.tpl-text-editable .tiptap sub{vertical-align:sub;font-size:.75em}.tpl-text-content sup,.tpl-text-editable .tiptap sup{vertical-align:super;font-size:.75em}.tpl-text-content a,.tpl-text-editable a{color:var(--tpl-doc-link-color,inherit);-webkit-text-decoration:var(--tpl-doc-link-underline,none);text-decoration:var(--tpl-doc-link-underline,none)}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:500;background-color:var(--tpl-primary);align-items:center;font-size:.9em;font-weight:500;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{background-color:color-mix(in srgb,var(--tpl-primary) 20%,transparent)}}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{color:var(--tpl-primary)}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:700;--tw-tracking:.025em;letter-spacing:.025em;text-transform:uppercase;border:1.5px solid var(--tpl-primary);background-color:#0000;align-items:center;font-size:.8em;font-weight:700;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{border:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent)}}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{color:var(--tpl-primary)}.tpl-tooltip{position:relative}.tpl-tooltip:after{content:attr(data-tooltip);border-radius:var(--tpl-radius-sm);background-color:var(--tpl-text);color:var(--tpl-bg);white-space:normal;text-align:center;pointer-events:none;opacity:0;text-transform:none;z-index:50;width:max-content;max-width:min(320px,90vw);padding:4px 10px;font-size:12px;font-weight:500;line-height:1.4;transition:opacity .15s;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%)}.tpl-tooltip:before{content:\"\";border:4px solid #0000;border-bottom-color:var(--tpl-text);pointer-events:none;opacity:0;z-index:50;transition:opacity .15s;position:absolute;top:calc(100% + 2px);left:50%;transform:translate(-50%)}.tpl-tooltip:hover:after,.tpl-tooltip:hover:before{opacity:1}.tpl.tpl-media-overlay{background-color:var(--tpl-overlay);-webkit-backdrop-filter:blur(8px);height:100%;min-height:0;color:var(--tpl-text);flex-direction:row;justify-content:center;align-items:center;display:flex}.tpl.tpl-text-toolbar{flex-direction:row;height:auto;min-height:0;display:flex}.tpl.tpl-link-dialog{background-color:var(--tpl-overlay);flex-direction:row;justify-content:center;align-items:center;height:100%;min-height:0;display:flex}.tpl-upload-zone-active{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}@property --tpl-comet-angle{syntax:\"<angle>\";inherits:false;initial-value:0deg}@property --tpl-comet-start{syntax:\"<percentage>\";inherits:false;initial-value:100%}@keyframes tpl-ai-comet{0%{--tpl-comet-angle:0deg;--tpl-comet-start:100%}1%{--tpl-comet-angle:24deg;--tpl-comet-start:88%}5%{--tpl-comet-angle:120deg;--tpl-comet-start:60%}25%{--tpl-comet-angle:600deg;--tpl-comet-start:60%}33%{--tpl-comet-angle:720deg;--tpl-comet-start:100%}to{--tpl-comet-angle:720deg;--tpl-comet-start:100%}}.tpl-ai-btn--idle{background-color:var(--tpl-primary-light);color:var(--tpl-text);box-shadow:none;z-index:0;position:relative}.tpl-ai-btn--idle:before{content:\"\";border-radius:inherit;background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),var(--tpl-primary) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%);padding:2px;position:absolute;inset:-2px}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:before{background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),color-mix(in srgb,var(--tpl-primary) 40%,transparent) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%)}}.tpl-ai-btn--idle:before{z-index:-1;pointer-events:none;animation:20s linear 3s infinite tpl-ai-comet;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.tpl-ai-btn--idle:hover{background-color:var(--tpl-primary);color:var(--tpl-on-primary);transform:translateY(-1px);box-shadow:0 0 0 3px var(--tpl-primary),0 4px 16px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-primary) 20%,transparent),0 4px 16px color-mix(in srgb,var(--tpl-primary) 30%,transparent)!important}}.tpl-ai-btn--idle:hover:before{animation:none}.tpl-ai-btn--active{background-color:var(--tpl-primary-light);color:var(--tpl-primary-hover);border:1px solid var(--tpl-primary)}.tpl-ai-btn--active .tpl-ai-btn-icon{fill:var(--tpl-primary)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active .tpl-ai-btn-icon{fill:color-mix(in srgb,var(--tpl-primary) 25%,transparent)}}.tpl-ai-btn--active:hover{background-color:var(--tpl-primary-light)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active:hover{background-color:color-mix(in srgb,var(--tpl-primary-light) 80%,var(--tpl-primary))}}.tpl-merge-tag-delete:hover{color:var(--tpl-danger)!important}@media(prefers-reduced-motion:reduce){.tpl-pulse,.tpl-shimmer,.tpl-fade-in,.tpl-scale-in,.tpl-ai-btn--idle:before{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl *,.tpl :before,.tpl :after{transition-duration:.01ms!important}.tpl-spinner{animation:1s linear infinite tpl-spin}}.tpl-restore-btn-enter-active[data-v-9b8b235c]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-restore-btn-leave-active[data-v-9b8b235c]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-restore-btn-enter-from[data-v-9b8b235c],.tpl-restore-btn-leave-to[data-v-9b8b235c]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-restore-btn-enter-to[data-v-9b8b235c],.tpl-restore-btn-leave-from[data-v-9b8b235c]{opacity:1;transform:translateY(0) scale(1)}.tpl-saved-block-skeleton{animation:tpl-saved-block-pulse 1.4s ease-in-out infinite}@keyframes tpl-saved-block-pulse{0%,to{opacity:1}50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.tpl-saved-block-skeleton{animation:none}}.tpl-saved-block-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-comments-slide-enter-active[data-v-40431726]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-40431726]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-40431726]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-40431726]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-40431726]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-40431726]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-40431726]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-40431726]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-40431726]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-40431726]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-40431726],.tpl-comment-reply-card[data-v-40431726]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-40431726],.tpl-resolve-leave-active[data-v-40431726]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-40431726],.tpl-resolve-leave-to[data-v-40431726]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-40431726]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-40431726]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-40431726],.tpl-replies-leave-active[data-v-40431726]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-40431726],.tpl-replies-leave-to[data-v-40431726]{opacity:0;transform:translateY(-4px)}.tpl-ai-slide-enter-active[data-v-82649117]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-ai-slide-leave-active[data-v-82649117]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-ai-input-wrapper[data-v-82649117]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-82649117]:not(:disabled):hover{transform:scale(1.05)}.tpl-suggestion-btn[data-v-82649117]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-design-slide-enter-active[data-v-9a44c153]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-design-slide-leave-active[data-v-9a44c153]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-design-prompt-input[data-v-9a44c153]:focus{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-design-dropzone[data-v-9a44c153]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-scoring-slide-enter-active[data-v-7da30b57]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-scoring-slide-leave-active[data-v-7da30b57]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-scoring-fix-btn[data-v-7da30b57]:not(:disabled):hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.vue-advanced-cropper{text-align:center;position:relative;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}[data-v-267faa45] .tpl-cropper-background{background-color:var(--tpl-bg)!important}[data-v-267faa45] .vue-advanced-cropper{background-color:transparent!important}[data-v-267faa45] .vue-advanced-cropper__background{background-color:var(--tpl-bg)!important}[data-v-267faa45] .vue-advanced-cropper__foreground{background-color:var(--tpl-overlay)!important}.tpl-media-item[data-v-78d7ed75]:not(.tpl-media-item--selected):hover{border-color:var(--tpl-border)!important}.tpl-media-list-item[data-v-78d7ed75]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-list-icon[data-v-78d7ed75]{transform:scale(.35);transform-origin:center}.tpl-preview-icon[data-v-56be5670]{transform:scale(.45);transform-origin:center}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:pointer-events-auto{pointer-events:auto}.tpl\\:pointer-events-none{pointer-events:none}.tpl\\:invisible{visibility:hidden}.tpl\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl\\:absolute{position:absolute}.tpl\\:fixed{position:fixed}.tpl\\:relative{position:relative}.tpl\\:sticky{position:sticky}.tpl\\:inset-0{inset:0}.tpl\\:inset-x-0{inset-inline:0}.tpl\\:inset-y-1{inset-block:calc(var(--tpl-base-size) / 4)}.tpl\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-\\[104px\\]{top:104px}.tpl\\:top-full{top:100%}.tpl\\:-right-1{right:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-right-2{right:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:z-10{z-index:10}.tpl\\:z-40{z-index:40}.tpl\\:z-50{z-index:50}.tpl\\:z-\\[4\\]{z-index:4}.tpl\\:z-\\[5\\]{z-index:5}.tpl\\:z-\\[9999\\]{z-index:9999}.tpl\\:z-\\[10000\\]{z-index:10000}.tpl\\:m-0{margin:0}.tpl\\:m-6{margin:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-0\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mx-1{margin-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:mx-1\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mx-3{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mx-4{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mx-6{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-auto{margin-inline:auto}.tpl\\:mt-0\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mt-1{margin-top:calc(var(--tpl-base-size) / 4)}.tpl\\:mt-1\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mt-2{margin-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-3{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mt-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:\\!mb-0{margin-bottom:0!important}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-48{margin-left:calc(calc(var(--tpl-base-size) / 4) * -48)}.tpl\\:ml-0{margin-left:0}.tpl\\:ml-0\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:ml-1{margin-left:calc(var(--tpl-base-size) / 4)}.tpl\\:ml-5{margin-left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:ml-auto{margin-left:auto}.tpl\\:line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:\\!flex{display:flex!important}.tpl\\:block{display:block}.tpl\\:flex{display:flex}.tpl\\:grid{display:grid}.tpl\\:hidden{display:none}.tpl\\:inline{display:inline}.tpl\\:inline-block{display:inline-block}.tpl\\:inline-flex{display:inline-flex}.tpl\\:aspect-square{aspect-ratio:1}.tpl\\:size-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5);height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:size-2{width:calc(calc(var(--tpl-base-size) / 4) * 2);height:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:size-3{width:calc(calc(var(--tpl-base-size) / 4) * 3);height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:size-4{width:calc(calc(var(--tpl-base-size) / 4) * 4);height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:size-4\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 4.5);height:calc(calc(var(--tpl-base-size) / 4) * 4.5)}.tpl\\:size-5{width:calc(calc(var(--tpl-base-size) / 4) * 5);height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:size-6{width:calc(calc(var(--tpl-base-size) / 4) * 6);height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:size-7{width:calc(calc(var(--tpl-base-size) / 4) * 7);height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:size-8{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:size-10{width:calc(calc(var(--tpl-base-size) / 4) * 10);height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:size-16{width:calc(calc(var(--tpl-base-size) / 4) * 16);height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:size-full{width:100%;height:100%}.tpl\\:h-0{height:0}.tpl\\:h-2\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:h-3{height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:h-4{height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:h-5{height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:h-6{height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:h-7{height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:h-8{height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:h-9{height:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:h-10{height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:h-12{height:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:h-14{height:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:h-16{height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:h-32{height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:h-44{height:calc(calc(var(--tpl-base-size) / 4) * 44)}.tpl\\:h-\\[32px\\]{height:32px}.tpl\\:h-auto{height:auto}.tpl\\:h-full{height:100%}.tpl\\:max-h-24{max-height:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:max-h-32{max-height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:max-h-48{max-height:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:max-h-56{max-height:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:max-h-64{max-height:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:max-h-\\[50vh\\]{max-height:50vh}.tpl\\:max-h-\\[60vh\\]{max-height:60vh}.tpl\\:max-h-\\[80vh\\]{max-height:80vh}.tpl\\:max-h-\\[90vh\\]{max-height:90vh}.tpl\\:min-h-0{min-height:0}.tpl\\:min-h-6{min-height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-h-10{min-height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:min-h-20{min-height:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:min-h-\\[1\\.5em\\]{min-height:1.5em}.tpl\\:min-h-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[64px\\]{min-height:64px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.tpl\\:min-h-\\[72px\\]{min-height:72px}.tpl\\:min-h-\\[80px\\]{min-height:80px}.tpl\\:min-h-\\[100px\\]{min-height:100px}.tpl\\:min-h-\\[120px\\]{min-height:120px}.tpl\\:min-h-\\[150px\\]{min-height:150px}.tpl\\:min-h-\\[400px\\]{min-height:400px}.tpl\\:w-1\\/2{width:50%}.tpl\\:w-1\\/3{width:33.3333%}.tpl\\:w-1\\/4{width:25%}.tpl\\:w-2\\/3{width:66.6667%}.tpl\\:w-3\\/4{width:75%}.tpl\\:w-5\\/6{width:83.3333%}.tpl\\:w-7{width:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:w-8{width:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:w-9{width:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:w-10{width:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:w-12{width:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:w-16{width:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:w-20{width:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:w-28{width:calc(calc(var(--tpl-base-size) / 4) * 28)}.tpl\\:w-32{width:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:w-36{width:calc(calc(var(--tpl-base-size) / 4) * 36)}.tpl\\:w-40{width:calc(calc(var(--tpl-base-size) / 4) * 40)}.tpl\\:w-48{width:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:w-52{width:calc(calc(var(--tpl-base-size) / 4) * 52)}.tpl\\:w-56{width:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-\\[280px\\]{width:280px}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.tpl\\:w-\\[1000px\\]{width:1000px}.tpl\\:w-\\[min\\(420px\\,92vw\\)\\]{width:min(420px,92vw)}.tpl\\:w-full{width:100%}.tpl\\:w-px{width:1px}.tpl\\:max-w-2xl{max-width:calc(42 * var(--tpl-base-size))}.tpl\\:max-w-\\[220px\\]{max-width:220px}.tpl\\:max-w-\\[240px\\]{max-width:240px}.tpl\\:max-w-\\[260px\\]{max-width:260px}.tpl\\:max-w-\\[320px\\]{max-width:320px}.tpl\\:max-w-\\[600px\\]{max-width:600px}.tpl\\:max-w-\\[calc\\(100vw_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100vw - 2 * var(--tpl-base-size))}.tpl\\:max-w-full{max-width:100%}.tpl\\:max-w-md{max-width:28rem}.tpl\\:max-w-sm{max-width:calc(24 * var(--tpl-base-size))}.tpl\\:min-w-0{min-width:0}.tpl\\:min-w-6{min-width:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-w-\\[20px\\]{min-width:20px}.tpl\\:min-w-\\[200px\\]{min-width:200px}.tpl\\:flex-1{flex:1}.tpl\\:flex-shrink-0,.tpl\\:shrink-0{flex-shrink:0}.tpl\\:origin-top-right{transform-origin:100% 0}.tpl\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-\\[-8px\\]{--tw-translate-y:-8px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:-rotate-90{rotate:-90deg}.tpl\\:rotate-0{rotate:0deg}.tpl\\:rotate-45{rotate:45deg}.tpl\\:rotate-90{rotate:90deg}.tpl\\:rotate-180{rotate:180deg}.tpl\\:animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.tpl\\:animate-spin{animation:1s linear infinite spin}.tpl\\:cursor-default{cursor:default}.tpl\\:cursor-grab{cursor:grab}.tpl\\:cursor-help{cursor:help}.tpl\\:cursor-not-allowed{cursor:not-allowed}.tpl\\:cursor-pointer{cursor:pointer}.tpl\\:resize-none{resize:none}.tpl\\:resize-y{resize:vertical}.tpl\\:list-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tpl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.tpl\\:grid-cols-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 1fr}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-wrap{flex-wrap:wrap}.tpl\\:items-center{align-items:center}.tpl\\:items-end{align-items:flex-end}.tpl\\:items-start{align-items:flex-start}.tpl\\:items-stretch{align-items:stretch}.tpl\\:justify-between{justify-content:space-between}.tpl\\:justify-center{justify-content:center}.tpl\\:justify-end{justify-content:flex-end}.tpl\\:gap-0{gap:0}.tpl\\:gap-0\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-1{gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-1\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-2{gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:gap-2\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:gap-3{gap:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:gap-4{gap:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:gap-5{gap:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:gap-6{gap:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:gap-10{gap:calc(calc(var(--tpl-base-size) / 4) * 10)}:where(.tpl\\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--tpl-base-size) / 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--tpl-base-size) / 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * calc(1 - var(--tw-space-y-reverse)))}.tpl\\:gap-x-1{column-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-x-3{column-gap:calc(calc(var(--tpl-base-size) / 4) * 3)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:3.40282e38px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:.75rem}.tpl\\:rounded-l-\\[var\\(--tpl-radius-sm\\)\\]{border-top-left-radius:var(--tpl-radius-sm);border-bottom-left-radius:var(--tpl-radius-sm)}.tpl\\:rounded-tl-lg{border-top-left-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-r-\\[var\\(--tpl-radius-sm\\)\\]{border-top-right-radius:var(--tpl-radius-sm);border-bottom-right-radius:var(--tpl-radius-sm)}.tpl\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.tpl\\:border{border-style:var(--tw-border-style);border-width:1px}.tpl\\:border-0{border-style:var(--tw-border-style);border-width:0}.tpl\\:border-2{border-style:var(--tw-border-style);border-width:2px}.tpl\\:border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.tpl\\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.tpl\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.tpl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.tpl\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.tpl\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tpl\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.tpl\\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.tpl\\:border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.tpl\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.tpl\\:border-none{--tw-border-style:none;border-style:none}.tpl\\:border-\\[var\\(--tpl-bg\\)\\]{border-color:var(--tpl-bg)}.tpl\\:border-\\[var\\(--tpl-border\\)\\]{border-color:var(--tpl-border)}.tpl\\:border-\\[var\\(--tpl-border-light\\)\\]{border-color:var(--tpl-border-light)}.tpl\\:border-\\[var\\(--tpl-danger\\)\\]{border-color:var(--tpl-danger)}.tpl\\:border-\\[var\\(--tpl-primary\\)\\]{border-color:var(--tpl-primary)}.tpl\\:border-\\[var\\(--tpl-primary-hover\\)\\]{border-color:var(--tpl-primary-hover)}.tpl\\:border-\\[var\\(--tpl-warning\\)\\]{border-color:var(--tpl-warning)}.tpl\\:border-transparent{border-color:#0000}.tpl\\:border-l-\\[var\\(--tpl-primary\\)\\]{border-left-color:var(--tpl-primary)}.tpl\\:border-l-transparent{border-left-color:#0000}.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:var(--tpl-bg)}@supports (color:color-mix(in lab,red,red)){.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:color-mix(in srgb,var(--tpl-bg) 90%,transparent)}}.tpl\\:bg-\\[var\\(--tpl-bg\\)\\]{background-color:var(--tpl-bg)}.tpl\\:bg-\\[var\\(--tpl-bg-active\\)\\]{background-color:var(--tpl-bg-active)}.tpl\\:bg-\\[var\\(--tpl-bg-elevated\\)\\]{background-color:var(--tpl-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-bg-hover\\)\\]{background-color:var(--tpl-bg-hover)}.tpl\\:bg-\\[var\\(--tpl-border\\)\\]{background-color:var(--tpl-border)}.tpl\\:bg-\\[var\\(--tpl-canvas-bg\\)\\]{background-color:var(--tpl-canvas-bg)}.tpl\\:bg-\\[var\\(--tpl-chrome-bg-elevated\\)\\]{background-color:var(--tpl-chrome-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-chrome-primary-light\\)\\]{background-color:var(--tpl-chrome-primary-light)}.tpl\\:bg-\\[var\\(--tpl-danger\\)\\]{background-color:var(--tpl-danger)}.tpl\\:bg-\\[var\\(--tpl-danger-light\\)\\]{background-color:var(--tpl-danger-light)}.tpl\\:bg-\\[var\\(--tpl-primary\\)\\]{background-color:var(--tpl-primary)}.tpl\\:bg-\\[var\\(--tpl-primary-light\\)\\]{background-color:var(--tpl-primary-light)}.tpl\\:bg-\\[var\\(--tpl-warning-light\\)\\]{background-color:var(--tpl-warning-light)}.tpl\\:bg-black\\/30{background-color:oklab(0% none none/.3)}.tpl\\:bg-black\\/40{background-color:oklab(0% none none/.4)}.tpl\\:bg-transparent{background-color:#0000}.tpl\\:object-contain{object-fit:contain}.tpl\\:object-cover{object-fit:cover}.tpl\\:p-0{padding:0}.tpl\\:p-0\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:p-1{padding:calc(var(--tpl-base-size) / 4)}.tpl\\:p-1\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:p-2{padding:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:p-3{padding:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:p-4{padding:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:p-5{padding:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:p-6{padding:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:p-8{padding:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-0\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:px-1{padding-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:px-1\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:px-2{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:px-2\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:px-3{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:px-3\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:px-4{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:px-5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:px-6{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:px-8{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-10{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-0{padding-block:0}.tpl\\:py-0\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:py-1{padding-block:calc(var(--tpl-base-size) / 4)}.tpl\\:py-1\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:py-2{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:py-2\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:py-3{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:py-3\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:py-4{padding-block:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:py-5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:py-6{padding-block:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:py-8{padding-block:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:py-10{padding-block:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-12{padding-block:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:py-16{padding-block:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:py-\\[5px\\]{padding-block:5px}.tpl\\:py-\\[7px\\]{padding-block:7px}.tpl\\:py-px{padding-block:1px}.tpl\\:pt-1{padding-top:calc(var(--tpl-base-size) / 4)}.tpl\\:pt-2{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pt-2\\.5{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pt-3{padding-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pt-4{padding-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-2{padding-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pr-3{padding-right:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pr-4{padding-right:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-6{padding-right:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:pr-7{padding-right:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:pr-8{padding-right:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pb-1{padding-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:pb-1\\.5{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:pb-2{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pb-3{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pb-4{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-2{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pl-2\\.5{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pl-3{padding-left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pl-4{padding-left:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-8{padding-left:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pl-9{padding-left:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:pl-\\[18px\\]{padding-left:18px}.tpl\\:text-center{text-align:center}.tpl\\:text-left{text-align:left}.tpl\\:font-\\[inherit\\]{font-family:inherit}.tpl\\:font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tpl\\:font-sans{font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tpl\\:text-4xl{font-size:2.25rem;line-height:var(--tw-leading,calc(2.5 / 2.25))}.tpl\\:text-base{font-size:1rem;line-height:var(--tw-leading, 1.5 )}.tpl\\:text-lg{font-size:1.125rem;line-height:var(--tw-leading,calc(1.75 / 1.125))}.tpl\\:text-sm{font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875))}.tpl\\:text-xs{font-size:calc(.75 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1 / .75))}.tpl\\:text-\\[0\\.8em\\]{font-size:.8em}.tpl\\:text-\\[0\\.9em\\]{font-size:.9em}.tpl\\:text-\\[1em\\]{font-size:1em}.tpl\\:text-\\[8px\\]{font-size:8px}.tpl\\:text-\\[9px\\]{font-size:9px}.tpl\\:text-\\[10px\\]{font-size:10px}.tpl\\:text-\\[11px\\]{font-size:11px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size:inherit}.tpl\\:leading-none{--tw-leading:1;line-height:1}.tpl\\:leading-normal{--tw-leading:1.5;line-height:1.5}.tpl\\:leading-relaxed{--tw-leading:1.625;line-height:1.625}.tpl\\:leading-snug{--tw-leading:1.375;line-height:1.375}.tpl\\:leading-tight{--tw-leading:1.25;line-height:1.25}.tpl\\:font-\\[var\\(--tpl-font-family\\)\\]{--tw-font-weight:var(--tpl-font-family);font-weight:var(--tpl-font-family)}.tpl\\:font-bold{--tw-font-weight:700;font-weight:700}.tpl\\:font-medium{--tw-font-weight:500;font-weight:500}.tpl\\:font-normal{--tw-font-weight:400;font-weight:400}.tpl\\:font-semibold{--tw-font-weight:600;font-weight:600}.tpl\\:tracking-wide{--tw-tracking:.025em;letter-spacing:.025em}.tpl\\:tracking-wider{--tw-tracking:.05em;letter-spacing:.05em}.tpl\\:break-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-nowrap{white-space:nowrap}.tpl\\:whitespace-pre-wrap{white-space:pre-wrap}.tpl\\:text-\\[var\\(--tpl-bg\\)\\]{color:var(--tpl-bg)}.tpl\\:text-\\[var\\(--tpl-border\\)\\]{color:var(--tpl-border)}.tpl\\:text-\\[var\\(--tpl-border-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text-dim\\)\\]{color:var(--tpl-chrome-text-dim)}.tpl\\:text-\\[var\\(--tpl-chrome-text-muted\\)\\]{color:var(--tpl-chrome-text-muted)}.tpl\\:text-\\[var\\(--tpl-danger\\)\\]{color:var(--tpl-danger)}.tpl\\:text-\\[var\\(--tpl-on-primary\\)\\]{color:var(--tpl-on-primary)}.tpl\\:text-\\[var\\(--tpl-primary\\)\\]{color:var(--tpl-primary)}.tpl\\:text-\\[var\\(--tpl-primary-hover\\)\\]{color:var(--tpl-primary-hover)}.tpl\\:text-\\[var\\(--tpl-success\\)\\]{color:var(--tpl-success)}.tpl\\:text-\\[var\\(--tpl-success\\,var\\(--tpl-primary\\)\\)\\]{color:var(--tpl-success,var(--tpl-primary))}.tpl\\:text-\\[var\\(--tpl-text\\)\\]{color:var(--tpl-text)}.tpl\\:text-\\[var\\(--tpl-text-dim\\)\\]{color:var(--tpl-text-dim)}.tpl\\:text-\\[var\\(--tpl-text-muted\\)\\]{color:var(--tpl-text-muted)}.tpl\\:text-\\[var\\(--tpl-warning\\)\\]{color:var(--tpl-warning)}.tpl\\:text-white{color:#fff}.tpl\\:normal-case{text-transform:none}.tpl\\:uppercase{text-transform:uppercase}.tpl\\:italic{font-style:italic}.tpl\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tpl\\:no-underline{text-decoration-line:none}.tpl\\:underline{text-decoration-line:underline}.tpl\\:accent-\\[var\\(--tpl-primary\\)\\]{accent-color:var(--tpl-primary)}.tpl\\:opacity-0{opacity:0}.tpl\\:opacity-50{opacity:.5}.tpl\\:opacity-60{opacity:.6}.tpl\\:opacity-70{opacity:.7}.tpl\\:opacity-90{opacity:.9}.tpl\\:opacity-100{opacity:1}.tpl\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-ring\\)\\]{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow\\)\\]{--tw-shadow:var(--tpl-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-lg\\)\\]{--tw-shadow:var(--tpl-shadow-lg);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-\\[var\\(--tpl-border\\)\\]{--tw-ring-color:var(--tpl-border)}.tpl\\:ring-\\[var\\(--tpl-primary\\)\\]{--tw-ring-color:var(--tpl-primary)}.tpl\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.tpl\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.tpl\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.tpl\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.tpl\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.tpl\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.tpl\\:duration-\\[80ms\\]{--tw-duration:80ms;transition-duration:80ms}.tpl\\:duration-\\[120ms\\]{--tw-duration:.12s;transition-duration:.12s}.tpl\\:ease-\\[cubic-bezier\\(0\\.16\\,1\\,0\\.3\\,1\\)\\]{--tw-ease:cubic-bezier(.16,1,.3,1);transition-timing-function:cubic-bezier(.16,1,.3,1)}.tpl\\:ease-in{--tw-ease:cubic-bezier(.4, 0, 1, 1);transition-timing-function:cubic-bezier(.4,0,1,1)}.tpl\\:ease-out{--tw-ease:cubic-bezier(0, 0, .2, 1);transition-timing-function:cubic-bezier(0,0,.2,1)}.tpl\\:outline-none{--tw-outline-style:none;outline-style:none}.tpl\\:select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.tpl\\:group-hover\\:bg-black\\/40:is(:where(.tpl\\:group):hover *){background-color:oklab(0% none none/.4)}.tpl\\:group-hover\\:opacity-100:is(:where(.tpl\\:group):hover *){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\:first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.tpl\\:last\\:mb-0:last-child{margin-bottom:0}@media(hover:hover){.tpl\\:hover\\:z-10:hover{z-index:10}.tpl\\:hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:border-\\[var\\(--tpl-border\\)\\]:hover{border-color:var(--tpl-border)}.tpl\\:hover\\:border-\\[var\\(--tpl-danger\\)\\]:hover{border-color:var(--tpl-danger)}.tpl\\:hover\\:border-\\[var\\(--tpl-primary\\)\\]:hover{border-color:var(--tpl-primary)}.tpl\\:hover\\:border-\\[var\\(--tpl-text-dim\\)\\]:hover{border-color:var(--tpl-text-dim)}.tpl\\:hover\\:border-l-\\[var\\(--tpl-primary\\)\\]:hover{border-left-color:var(--tpl-primary)}.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:var(--tpl-text)}@supports (color:color-mix(in lab,red,red)){.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:color-mix(in srgb,var(--tpl-text) 8%,transparent)}}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-active\\)\\]:hover{background-color:var(--tpl-bg-active)}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-hover\\)\\]:hover{background-color:var(--tpl-bg-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-danger-light\\)\\]:hover{background-color:var(--tpl-danger-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-hover\\)\\]:hover{background-color:var(--tpl-primary-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-light\\)\\]:hover{background-color:var(--tpl-primary-light)}.tpl\\:hover\\:text-\\[var\\(--tpl-danger\\)\\]:hover{color:var(--tpl-danger)}.tpl\\:hover\\:text-\\[var\\(--tpl-primary\\)\\]:hover{color:var(--tpl-primary)}.tpl\\:hover\\:text-\\[var\\(--tpl-text\\)\\]:hover{color:var(--tpl-text)}.tpl\\:hover\\:underline:hover{text-decoration-line:underline}.tpl\\:hover\\:opacity-80:hover{opacity:.8}.tpl\\:hover\\:opacity-90:hover{opacity:.9}.tpl\\:hover\\:opacity-100:hover{opacity:1}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]:hover{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]:hover{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.tpl\\:focus\\:border-\\[var\\(--tpl-primary\\)\\]:focus{border-color:var(--tpl-primary)}.tpl\\:focus\\:shadow-\\[0_0_0_3px_var\\(--tpl-primary-light\\)\\]:focus{--tw-shadow:0 0 0 3px var(--tw-shadow-color,var(--tpl-primary-light));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus,.tpl\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus-visible{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-\\[var\\(--tpl-primary\\)\\]:focus-visible{--tw-ring-color:var(--tpl-primary)}.tpl\\:focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:focus-visible\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]:focus-visible{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.tpl\\:active\\:cursor-grabbing:active{cursor:grabbing}.tpl\\:active\\:bg-\\[var\\(--tpl-bg-active\\)\\]:active{background-color:var(--tpl-bg-active)}.tpl\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.tpl\\:disabled\\:opacity-30:disabled{opacity:.3}.tpl\\:disabled\\:opacity-40:disabled{opacity:.4}.tpl\\:disabled\\:opacity-50:disabled{opacity:.5}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}@layer base,components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:oklch(99.5% .002 60);--tpl-bg-elevated:oklch(98% .004 60);--tpl-bg-hover:oklch(96% .006 60);--tpl-bg-active:oklch(93.5% .008 60);--tpl-border:oklch(92% .006 60);--tpl-border-light:oklch(86% .01 60);--tpl-text:oklch(18% .01 60);--tpl-text-muted:oklch(50% .015 60);--tpl-text-dim:oklch(68% .012 60);--tpl-primary:oklch(70% .16 55);--tpl-primary-hover:oklch(63% .17 55);--tpl-primary-light:oklch(95% .04 55);--tpl-secondary:oklch(60% .118 184.71);--tpl-secondary-hover:oklch(53.2% .105 186.39);--tpl-secondary-light:oklch(93.8% .03 186.82);--tpl-success:oklch(62.8% .194 155.1);--tpl-success-light:oklch(93.6% .043 163.51);--tpl-warning:oklch(76.9% .168 70.08);--tpl-warning-light:oklch(95% .038 73.59);--tpl-danger:oklch(63.7% .237 25.33);--tpl-danger-light:oklch(93.6% .032 17.72);--tpl-radius:10px;--tpl-radius-sm:7px;--tpl-radius-lg:14px;--tpl-font-family:\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--tpl-shadow:0 1px 2px #0000000a, 0 1px 3px #00000008;--tpl-shadow-md:0 2px 8px #0000000f, 0 1px 3px #0000000a;--tpl-shadow-lg:0 4px 16px #00000014, 0 2px 6px #0000000a;--tpl-shadow-xl:0 8px 32px #0000001a, 0 4px 12px #0000000f;--tpl-ring:0 0 0 3px var(--tpl-primary-light);--tpl-transition:.12s cubic-bezier(.16, 1, .3, 1)}.tpl[data-tpl-theme=dark]{--tpl-bg:oklch(16% .005 60);--tpl-bg-elevated:oklch(21% .006 60);--tpl-bg-hover:oklch(26% .007 60);--tpl-bg-active:oklch(30% .008 60);--tpl-border:oklch(30% .006 60);--tpl-border-light:oklch(38% .008 60);--tpl-text:oklch(93% .005 60);--tpl-text-muted:oklch(65% .01 60);--tpl-text-dim:oklch(50% .008 60);--tpl-primary:oklch(73% .15 55);--tpl-primary-hover:oklch(78% .14 55);--tpl-primary-light:oklch(28% .05 55);--tpl-secondary:oklch(63% .11 184.71);--tpl-secondary-hover:oklch(68% .1 186.39);--tpl-secondary-light:oklch(25% .03 186.82);--tpl-success:oklch(65% .18 155.1);--tpl-success-light:oklch(25% .04 163.51);--tpl-warning:oklch(78% .16 70.08);--tpl-warning-light:oklch(28% .04 73.59);--tpl-danger:oklch(65% .22 25.33);--tpl-danger-light:oklch(25% .04 17.72);--tpl-shadow:0 1px 2px #0000004d, 0 1px 3px #0003;--tpl-shadow-md:0 2px 8px #00000059, 0 1px 3px #00000040;--tpl-shadow-lg:0 4px 16px #0006, 0 2px 6px #0000004d;--tpl-shadow-xl:0 8px 32px #00000080, 0 4px 12px #00000059;--tpl-ring:0 0 0 3px var(--tpl-primary-light)}.tpl{font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875));--tw-leading:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--tpl-bg);color:var(--tpl-text);line-height:1.5;font-family:var(--tpl-font-family)}:where(.tpl) button,:where(.tpl) input,:where(.tpl) select,:where(.tpl) textarea{box-sizing:border-box;font-family:inherit}:where(.tpl) button{cursor:pointer;background:0 0;border:none}:where(.tpl) button:focus-visible,:where(.tpl) input:focus-visible,:where(.tpl) select:focus-visible,:where(.tpl) textarea:focus-visible{box-shadow:var(--tpl-ring);outline:none}.tpl ::-webkit-scrollbar{width:6px;height:6px}.tpl ::-webkit-scrollbar-track{background:0 0}.tpl ::-webkit-scrollbar-thumb{background-color:var(--tpl-border-light)}@supports (color:color-mix(in lab,red,red)){.tpl ::-webkit-scrollbar-thumb{background-color:color-mix(in srgb,var(--tpl-border-light) 60%,transparent)}}.tpl ::-webkit-scrollbar-thumb{border-radius:calc(.25 * var(--tpl-base-size))}.tpl ::-webkit-scrollbar-thumb:hover{background-color:var(--tpl-border-light)}@keyframes tpl-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes tpl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}.tpl-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}.tpl-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-in}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-ai-feature-menu-item[data-v-bf59b787]:hover{background-color:var(--tpl-bg-hover)!important}\n/*$vite$:1*/", wd = null;
|
|
5205
|
+
function Td() {
|
|
5206
|
+
if (wd === null) {
|
|
5183
5207
|
let e = new CSSStyleSheet();
|
|
5184
|
-
e.replaceSync(
|
|
5208
|
+
e.replaceSync(Cd), wd = e;
|
|
5185
5209
|
}
|
|
5186
|
-
return
|
|
5210
|
+
return wd;
|
|
5187
5211
|
}
|
|
5188
|
-
function
|
|
5212
|
+
function Ed(e) {
|
|
5189
5213
|
return () => {};
|
|
5190
5214
|
}
|
|
5191
|
-
function
|
|
5215
|
+
function Dd(e, t) {
|
|
5192
5216
|
if (!t) return {
|
|
5193
5217
|
target: e,
|
|
5194
5218
|
shadowRoot: null,
|
|
5195
5219
|
cleanup: () => {}
|
|
5196
5220
|
};
|
|
5197
5221
|
let n = e.shadowRoot ?? e.attachShadow({ mode: "open" });
|
|
5198
|
-
for (n.adoptedStyleSheets = [
|
|
5222
|
+
for (n.adoptedStyleSheets = [Td()]; n.firstChild;) n.removeChild(n.firstChild);
|
|
5199
5223
|
let r = document.createElement("div");
|
|
5200
5224
|
return r.className = "tpl-editor-host", r.style.cssText = "display:block;height:100%;width:100%;", n.appendChild(r), {
|
|
5201
5225
|
target: r,
|
|
5202
5226
|
shadowRoot: n,
|
|
5203
|
-
cleanup:
|
|
5227
|
+
cleanup: Ed(n)
|
|
5204
5228
|
};
|
|
5205
5229
|
}
|
|
5206
|
-
var
|
|
5207
|
-
function
|
|
5208
|
-
let t =
|
|
5209
|
-
t && (t.cleanup(), t.app.unmount(),
|
|
5230
|
+
var Od = /* @__PURE__ */ new Map(), kd = null;
|
|
5231
|
+
function Ad(e) {
|
|
5232
|
+
let t = Od.get(e);
|
|
5233
|
+
t && (t.cleanup(), t.app.unmount(), Od.delete(e), kd === e && (kd = null));
|
|
5210
5234
|
}
|
|
5211
|
-
async function
|
|
5212
|
-
return
|
|
5235
|
+
async function jd(e) {
|
|
5236
|
+
return Md(e);
|
|
5213
5237
|
}
|
|
5214
|
-
async function
|
|
5238
|
+
async function Md(e, t) {
|
|
5215
5239
|
let n = typeof e.container == "string" ? document.querySelector(e.container) : e.container;
|
|
5216
5240
|
if (!n) throw Error(`[Templatical] Container element not found: ${e.container}`);
|
|
5217
|
-
let r = await
|
|
5218
|
-
|
|
5219
|
-
let a =
|
|
5220
|
-
e.content &&=
|
|
5241
|
+
let r = await _d(e.locale ?? "en"), i = ze(e.fonts);
|
|
5242
|
+
Ad(n);
|
|
5243
|
+
let a = Dd(n, e.shadowDom ?? !0), o = l(null);
|
|
5244
|
+
e.content &&= rr(e.content, e.mergeTags);
|
|
5221
5245
|
let s = M({ setup() {
|
|
5222
|
-
return () => I(
|
|
5246
|
+
return () => I(od, {
|
|
5223
5247
|
config: e,
|
|
5224
5248
|
translations: r,
|
|
5225
5249
|
fontsManager: i,
|
|
@@ -5228,27 +5252,27 @@ async function Ad(e, t) {
|
|
|
5228
5252
|
ref: o
|
|
5229
5253
|
});
|
|
5230
5254
|
} });
|
|
5231
|
-
s.mount(a.target),
|
|
5255
|
+
s.mount(a.target), Od.set(n, {
|
|
5232
5256
|
app: s,
|
|
5233
5257
|
editorRef: o,
|
|
5234
5258
|
cleanup: a.cleanup
|
|
5235
|
-
}),
|
|
5259
|
+
}), kd = n;
|
|
5236
5260
|
let c = {
|
|
5237
5261
|
getContent() {
|
|
5238
5262
|
return W(o.value ? o.value.getContent() : e.content ?? V());
|
|
5239
5263
|
},
|
|
5240
5264
|
setContent(t) {
|
|
5241
|
-
let n =
|
|
5265
|
+
let n = rr(t, e.mergeTags);
|
|
5242
5266
|
o.value && o.value.setContent(n), e.content = n;
|
|
5243
5267
|
},
|
|
5244
5268
|
setTheme(e) {
|
|
5245
5269
|
o.value && o.value.setTheme(e);
|
|
5246
5270
|
},
|
|
5247
|
-
unmount: () =>
|
|
5271
|
+
unmount: () => Ad(n),
|
|
5248
5272
|
create(t) {
|
|
5249
5273
|
return o.value ? o.value.create(t?.content ? {
|
|
5250
5274
|
...t,
|
|
5251
|
-
content:
|
|
5275
|
+
content: rr(t.content, e.mergeTags)
|
|
5252
5276
|
} : t) : Promise.reject(/* @__PURE__ */ Error("[Templatical] Editor not ready"));
|
|
5253
5277
|
},
|
|
5254
5278
|
load(e) {
|
|
@@ -5268,28 +5292,28 @@ async function Ad(e, t) {
|
|
|
5268
5292
|
},
|
|
5269
5293
|
toMjml: () => u.toMjml(),
|
|
5270
5294
|
toHtml: () => u.toHtml()
|
|
5271
|
-
}, u =
|
|
5295
|
+
}, u = Xn({
|
|
5272
5296
|
provider: e.render,
|
|
5273
|
-
buildPayload: () =>
|
|
5297
|
+
buildPayload: () => Yn({
|
|
5274
5298
|
getContent: () => c.getContent(),
|
|
5275
5299
|
renderCustomBlock: (e) => c.renderCustomBlock(e),
|
|
5276
|
-
getFonts: () =>
|
|
5300
|
+
getFonts: () => Jn(i)
|
|
5277
5301
|
}),
|
|
5278
|
-
renderLocalMjml: () =>
|
|
5302
|
+
renderLocalMjml: () => Hn({
|
|
5279
5303
|
getContent: () => c.getContent(),
|
|
5280
5304
|
renderCustomBlock: (e) => c.renderCustomBlock(e),
|
|
5281
5305
|
getCustomBlockStylesheet: (e) => c.getCustomBlockStylesheet(e),
|
|
5282
|
-
getFonts: () =>
|
|
5306
|
+
getFonts: () => Jn(i)
|
|
5283
5307
|
})
|
|
5284
5308
|
});
|
|
5285
5309
|
return c;
|
|
5286
5310
|
}
|
|
5287
|
-
async function
|
|
5288
|
-
let [{ bootstrapCloud: t }, n] = await Promise.all([import("./chunks/createCloudRuntime-
|
|
5311
|
+
async function Nd(e) {
|
|
5312
|
+
let [{ bootstrapCloud: t }, n] = await Promise.all([import("./chunks/createCloudRuntime-D75oJ9j-.js"), vd(e.locale ?? "en")]), { runtime: r, providers: i, user: a } = await t({
|
|
5289
5313
|
config: e,
|
|
5290
5314
|
cloudTranslations: n
|
|
5291
5315
|
});
|
|
5292
|
-
return
|
|
5316
|
+
return Md({
|
|
5293
5317
|
container: e.container,
|
|
5294
5318
|
content: e.content,
|
|
5295
5319
|
shadowDom: e.shadowDom,
|
|
@@ -5326,10 +5350,10 @@ async function jd(e) {
|
|
|
5326
5350
|
user: a
|
|
5327
5351
|
}, r);
|
|
5328
5352
|
}
|
|
5329
|
-
function
|
|
5330
|
-
|
|
5353
|
+
function Pd() {
|
|
5354
|
+
kd && Ad(kd);
|
|
5331
5355
|
}
|
|
5332
5356
|
//#endregion
|
|
5333
|
-
export { pe as createLocalStorageSavedBlocksProvider,
|
|
5357
|
+
export { pe as createLocalStorageSavedBlocksProvider, md as getBaseLocale, Sd as getSupportedCloudLocales, xd as getSupportedLocales, jd as init, Nd as initCloud, bd as isCloudLocaleSupported, yd as isLocaleSupported, Pd as unmount, ze as useFonts };
|
|
5334
5358
|
|
|
5335
5359
|
//# sourceMappingURL=editor.js.map
|