@templatical/editor 0.59.0 → 0.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AiAltTextPopover-CwyKz_9U.js → AiAltTextPopover-BhWHOOKX.js} +3 -3
- package/dist/{AiAltTextReview-DNFnR1PN.js → AiAltTextReview-CmW7pLmo.js} +3 -3
- package/dist/{AiChatPanel-DWWVvJIP.js → AiChatPanel-CV0mCtad.js} +2 -2
- package/dist/{AiPanels-CESbBB63.js → AiPanels-C8M7q_vM.js} +1 -1
- package/dist/{AiRewriteMenu-CjXiI-n4.js → AiRewriteMenu-DC2ZLH5L.js} +7 -7
- package/dist/{BlockIssueBadge-3k568_Od.js → BlockIssueBadge-B8sl9BM1.js} +2 -2
- package/dist/{BlockPreviewCanvas-3FzYSsPm.js → BlockPreviewCanvas-yhOQAQhJ.js} +22 -18
- package/dist/{CloudHeaderExtras-xrHubAHL.js → CloudHeaderExtras-DC_oNrxz.js} +1 -1
- package/dist/{CloudPanels-CSFN-eLV.js → CloudPanels-CD0lsL0R.js} +2 -2
- package/dist/{CollaborationNotices-D9GQ477K.js → CollaborationNotices-DrMrP73M.js} +1 -1
- package/dist/{CollaboratorBar-DsRjAaqd.js → CollaboratorBar-TsK872uC.js} +1 -1
- package/dist/{CommentsPanel-lb-IFzjl.js → CommentsPanel-BX8JVrXU.js} +1 -1
- package/dist/{CommentsSidebar-CVVTCWBH.js → CommentsSidebar-BUlseNwL.js} +2 -2
- package/dist/{CountdownBlock-CSEq79Nc.js → CountdownBlock-AYPypmcX.js} +2 -2
- package/dist/{CountdownToolbar-BV9yQi9k.js → CountdownToolbar-dx3FVRjh.js} +5 -5
- package/dist/{IssuesPanel-pxcWAQJM.js → IssuesPanel-BwnvXxBC.js} +5 -5
- package/dist/{LanguageMenu-CEKRbNhA.js → LanguageMenu-Cf5bKocE.js} +5 -5
- package/dist/{LocaleNotices-j4aMFfmc.js → LocaleNotices-CGEp0pQ8.js} +2 -2
- package/dist/{LogicTagInsertButton-BDIsyl3C.js → LogicTagInsertButton-BdDe-vrZ.js} +8 -8
- package/dist/{MergeTagInput-De1yWoc2.js → MergeTagInput-CTTi-eB0.js} +1 -1
- package/dist/{MergeTagModeToggle-CL96pI1E.js → MergeTagModeToggle-Bd0svGQm.js} +3 -3
- package/dist/{MergeTagTextarea-DDyV8U44.js → MergeTagTextarea-DiahMV-3.js} +4 -4
- package/dist/{ParagraphEditor-Vz90-hhN.js → ParagraphEditor-Db1cmj8Y.js} +11 -11
- package/dist/{RestoreVersionDialog-BgrtpVl1.js → RestoreVersionDialog-DA1Z0q9Z.js} +2 -2
- package/dist/{RichTextEditorContent-C2Yj1-ZA.js → RichTextEditorContent-CyO6e4ZG.js} +6 -6
- package/dist/{SaveBlockDialog-DRvLFKWJ.js → SaveBlockDialog-D7SaFxa_.js} +6 -6
- package/dist/{SavedBlocksBrowserModal-Dw0uF-NT.js → SavedBlocksBrowserModal-B5r3LWWG.js} +6 -6
- package/dist/{SavedBlocksPanels-BReNi8sg.js → SavedBlocksPanels-BH2f7jm-.js} +1 -1
- package/dist/{SavedBlocksPickBar-BQX4g7OE.js → SavedBlocksPickBar-B24TScw0.js} +2 -2
- package/dist/{TemplateSettings-CBCaybvd.js → TemplateSettings-CuN9Vkl_.js} +8 -8
- package/dist/{TestEmailModal-BiCUiRFo.js → TestEmailModal-C4DAaohi.js} +12 -9
- package/dist/{TestEmailPanel-Bfr-sGrI.js → TestEmailPanel-DoMcVJSE.js} +1 -1
- package/dist/{TitleEditor-B8thQPgg.js → TitleEditor-b5Pr_m9j.js} +8 -8
- package/dist/{Toolbar-FIYSw3Us.js → Toolbar-BOf7Y862.js} +14 -14
- package/dist/{TplModal-BIqO0owX.js → TplModal-DAcXzBJh.js} +4 -4
- package/dist/{VersionHistoryMenu-6jMve6By.js → VersionHistoryMenu-TbIGteNi.js} +2 -2
- package/dist/{VersionHistoryPanels-C91mfsMA.js → VersionHistoryPanels-Ia6ipOqG.js} +1 -1
- package/dist/{VersionPreviewBanner-Bq8z1SUc.js → VersionPreviewBanner-CRfu6quf.js} +1 -1
- package/dist/{WrapperBlock-BAqgP8hm.js → WrapperBlock-BZenrXM6.js} +4 -4
- package/dist/{blockTypeIcons-VX_8UQ21.js → blockTypeIcons-DdYZy8yG.js} +1 -1
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiAltTextPopover-Dj-VLU88.js → AiAltTextPopover-CcX_OMUU.js} +4 -4
- package/dist/cdn/chunks/{AiAltTextPopover-Dj-VLU88.js.map → AiAltTextPopover-CcX_OMUU.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-tVkJPOk6.js → AiAltTextReview-Dmm3h0jd.js} +4 -4
- package/dist/cdn/chunks/{AiAltTextReview-tVkJPOk6.js.map → AiAltTextReview-Dmm3h0jd.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-CYPvHQGQ.js → AiChatPanel-DV23DJ-2.js} +3 -3
- package/dist/cdn/chunks/{AiChatPanel-CYPvHQGQ.js.map → AiChatPanel-DV23DJ-2.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-ChTLCmMS.js → AiPanels-CxhOpMAp.js} +2 -2
- package/dist/cdn/chunks/{AiPanels-ChTLCmMS.js.map → AiPanels-CxhOpMAp.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-99qbfCZI.js → AiRewriteMenu-87-O514r.js} +8 -8
- package/dist/cdn/chunks/{AiRewriteMenu-99qbfCZI.js.map → AiRewriteMenu-87-O514r.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-BKO4Mr8f.js → BlockIssueBadge-Dp06vQd3.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-BKO4Mr8f.js.map → BlockIssueBadge-Dp06vQd3.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-BF0yCTKP.js → BlockPreviewCanvas-DQGzUvZ5.js} +23 -19
- package/dist/cdn/chunks/BlockPreviewCanvas-DQGzUvZ5.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-O_K3jmgO.js → CloudHeaderExtras-Cd-ePldd.js} +2 -2
- package/dist/cdn/chunks/{CloudHeaderExtras-O_K3jmgO.js.map → CloudHeaderExtras-Cd-ePldd.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-gV2WFHQk.js → CloudPanels-D8fchoYt.js} +3 -3
- package/dist/cdn/chunks/{CloudPanels-gV2WFHQk.js.map → CloudPanels-D8fchoYt.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-CwAoa-73.js → CollaborationNotices-DNEs3g9B.js} +2 -2
- package/dist/cdn/chunks/{CollaborationNotices-CwAoa-73.js.map → CollaborationNotices-DNEs3g9B.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-DdQQwtwd.js → CollaboratorBar-CN6XAlbn.js} +2 -2
- package/dist/cdn/chunks/{CollaboratorBar-DdQQwtwd.js.map → CollaboratorBar-CN6XAlbn.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-C8AKtxiG.js → CommentsPanel-CxZ1kFcK.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-C8AKtxiG.js.map → CommentsPanel-CxZ1kFcK.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-FxY0RHSq.js → CommentsSidebar-DCr2mV8b.js} +3 -3
- package/dist/cdn/chunks/{CommentsSidebar-FxY0RHSq.js.map → CommentsSidebar-DCr2mV8b.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-DGgnPUlu.js → CountdownBlock--hlKE2aj.js} +3 -3
- package/dist/cdn/chunks/{CountdownBlock-DGgnPUlu.js.map → CountdownBlock--hlKE2aj.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-9PtYUgCW.js → CountdownToolbar-CUTbVPPV.js} +6 -6
- package/dist/cdn/chunks/{CountdownToolbar-9PtYUgCW.js.map → CountdownToolbar-CUTbVPPV.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-Co-ffgWa.js → IssuesPanel-BhcSzwuL.js} +7 -7
- package/dist/cdn/chunks/{IssuesPanel-Co-ffgWa.js.map → IssuesPanel-BhcSzwuL.js.map} +1 -1
- package/dist/cdn/chunks/{LanguageMenu-fL4DRGGQ.js → LanguageMenu-6wGhkyFT.js} +99 -99
- package/dist/cdn/chunks/{LanguageMenu-fL4DRGGQ.js.map → LanguageMenu-6wGhkyFT.js.map} +1 -1
- package/dist/cdn/chunks/{LocaleNotices-BVDJ7kyj.js → LocaleNotices-Br92Xueo.js} +3 -3
- package/dist/cdn/chunks/{LocaleNotices-BVDJ7kyj.js.map → LocaleNotices-Br92Xueo.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-DPYA8LJW.js → LogicTagInsertButton-r2EVUtDU.js} +9 -9
- package/dist/cdn/chunks/{LogicTagInsertButton-DPYA8LJW.js.map → LogicTagInsertButton-r2EVUtDU.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-Cxfjq3tx.js → MergeTagInput-Dh3N6CEV.js} +2 -2
- package/dist/cdn/chunks/{MergeTagInput-Cxfjq3tx.js.map → MergeTagInput-Dh3N6CEV.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-BmNGV3yc.js → MergeTagModeToggle-D6u3hMrI.js} +4 -4
- package/dist/cdn/chunks/{MergeTagModeToggle-BmNGV3yc.js.map → MergeTagModeToggle-D6u3hMrI.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-DmwrPAss.js → MergeTagTextarea-BpVtpiNL.js} +8 -8
- package/dist/cdn/chunks/{MergeTagTextarea-DmwrPAss.js.map → MergeTagTextarea-BpVtpiNL.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-A_OEuQ1Q.js → ParagraphEditor-DGJmPAC1.js} +12 -12
- package/dist/cdn/chunks/{ParagraphEditor-A_OEuQ1Q.js.map → ParagraphEditor-DGJmPAC1.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-Ca_lUsk4.js → RestoreVersionDialog-D5qeCa0F.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-Ca_lUsk4.js.map → RestoreVersionDialog-D5qeCa0F.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Dq4TROOg.js → RichTextEditorContent-DyGiXKKI.js} +7 -7
- package/dist/cdn/chunks/{RichTextEditorContent-Dq4TROOg.js.map → RichTextEditorContent-DyGiXKKI.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BXRCqrZX.js → SaveBlockDialog-B0TJYxd8.js} +7 -7
- package/dist/cdn/chunks/{SaveBlockDialog-BXRCqrZX.js.map → SaveBlockDialog-B0TJYxd8.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdaBcSOI.js → SavedBlocksBrowserModal-D8Ly7LrA.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdaBcSOI.js.map → SavedBlocksBrowserModal-D8Ly7LrA.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-BcVFZDKI.js → SavedBlocksPanels-Co1cbWR8.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-BcVFZDKI.js.map → SavedBlocksPanels-Co1cbWR8.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-o66PhlTo.js → SavedBlocksPickBar-DNtVbpm-.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-o66PhlTo.js.map → SavedBlocksPickBar-DNtVbpm-.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-uoiUkd2l.js → TemplateSettings-BRc878ZF.js} +9 -9
- package/dist/cdn/chunks/{TemplateSettings-uoiUkd2l.js.map → TemplateSettings-BRc878ZF.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-WOC7bmF_.js → TestEmailModal-CIui7VfS.js} +13 -10
- package/dist/cdn/chunks/TestEmailModal-CIui7VfS.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailPanel-DUWH9xsZ.js → TestEmailPanel-vKvruW_r.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-DUWH9xsZ.js.map → TestEmailPanel-vKvruW_r.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-EHW0lgG4.js → TitleEditor-BI-9Nnj3.js} +8 -8
- package/dist/cdn/chunks/{TitleEditor-EHW0lgG4.js.map → TitleEditor-BI-9Nnj3.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-BzAuH2G4.js → Toolbar-CYnnArxv.js} +418 -418
- package/dist/cdn/chunks/{Toolbar-BzAuH2G4.js.map → Toolbar-CYnnArxv.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-B9DVglkN.js → TplModal-B3nZeGWK.js} +5 -5
- package/dist/cdn/chunks/{TplModal-B9DVglkN.js.map → TplModal-B3nZeGWK.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-DDqYMqC2.js → VersionHistoryMenu-CMGfAKuV.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryMenu-DDqYMqC2.js.map → VersionHistoryMenu-CMGfAKuV.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DO-kcL28.js → VersionHistoryPanels-Bb2ouQg7.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-DO-kcL28.js.map → VersionHistoryPanels-Bb2ouQg7.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-CYT5QUoc.js → VersionPreviewBanner-573UP-g4.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-CYT5QUoc.js.map → VersionPreviewBanner-573UP-g4.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-CyD_pW18.js → WrapperBlock-DVu632LD.js} +5 -5
- package/dist/cdn/chunks/{WrapperBlock-CyD_pW18.js.map → WrapperBlock-DVu632LD.js.map} +1 -1
- package/dist/cdn/chunks/{composables-CN9j_FH4.js → composables-DY3anqHO.js} +574 -571
- package/dist/cdn/chunks/composables-DY3anqHO.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js → createCloudRuntime-B5numxlW.js} +4 -4
- package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js.map → createCloudRuntime-B5numxlW.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-BYJPv1sA.js → extensions-BWVlr8Ga.js} +5 -5
- package/dist/cdn/chunks/{extensions-BYJPv1sA.js.map → extensions-BWVlr8Ga.js.map} +1 -1
- package/dist/cdn/chunks/keys-ywH4jHJ2.js +11 -0
- package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -0
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js → normalizeMergeTagMarkup-Dw3rFvyd.js} +40 -40
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js.map → normalizeMergeTagMarkup-Dw3rFvyd.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-CxwYcAQe.js → preRenderCustomBlocks-BGtb8Xbp.js} +4 -4
- package/dist/cdn/chunks/{preRenderCustomBlocks-CxwYcAQe.js.map → preRenderCustomBlocks-BGtb8Xbp.js.map} +1 -1
- package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js → sanitizeHtml-CLRY8s2s.js} +2 -2
- package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js.map → sanitizeHtml-CLRY8s2s.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-bvQ57o1m.js → socialIcons-kYhdXJ9P.js} +255 -255
- package/dist/cdn/chunks/{socialIcons-bvQ57o1m.js.map → socialIcons-kYhdXJ9P.js.map} +1 -1
- package/dist/cdn/chunks/{src-BXrhjqCv.js → src-B7X7x_ST.js} +154 -154
- package/dist/cdn/chunks/{src-BXrhjqCv.js.map → src-B7X7x_ST.js.map} +1 -1
- package/dist/cdn/chunks/{src-BRyzUujm.js → src-BmzzkUf7.js} +539 -539
- package/dist/cdn/chunks/{src-BRyzUujm.js.map → src-BmzzkUf7.js.map} +1 -1
- package/dist/cdn/chunks/{src-CVHGPKSW.js → src-DY2kMjoD.js} +593 -589
- package/dist/cdn/chunks/src-DY2kMjoD.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js → useCloudI18n-BTV9uu3c.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js.map → useCloudI18n-BTV9uu3c.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js → useEditorRoot-D0Lp2x4_.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js.map → useEditorRoot-D0Lp2x4_.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-JsIdvX-i.js → useI18n-DPg6rPbu.js} +2 -2
- package/dist/cdn/chunks/{useI18n-JsIdvX-i.js.map → useI18n-DPg6rPbu.js.map} +1 -1
- package/dist/cdn/chunks/useLocalizedDisplay-B5wMJLru.js +33 -0
- package/dist/cdn/chunks/{useLocalizedDisplay-7iwZ1UhB.js.map → useLocalizedDisplay-B5wMJLru.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js → useLogicTag-0wkSxy3z.js} +3 -3
- package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js.map → useLogicTag-0wkSxy3z.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js → useMergeTag-y3bX8M_6.js} +3 -3
- package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js.map → useMergeTag-y3bX8M_6.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js → usePopoverPosition-CBp9uwjV.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js.map → usePopoverPosition-CBp9uwjV.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js → useScrollToBlock-32EnuMwu.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js.map → useScrollToBlock-32EnuMwu.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js → withCurrentFont-B42BKo9N.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js.map → withCurrentFont-B42BKo9N.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +600 -600
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{composables-DbqKYIRE.js → composables-CFTH0Nqb.js} +867 -864
- package/dist/{createCloudRuntime-DiUnYjKr.js → createCloudRuntime-BvWlm_38.js} +3 -3
- package/dist/{dist-BTjObRcv.js → dist-CMo4K5So.js} +277 -273
- package/dist/{extensions-CAuXwpbI.js → extensions-BPVackEE.js} +4 -4
- package/dist/index.d.ts +29 -7
- package/dist/keys-B4DimcgX.js +9 -0
- package/dist/{normalizeMergeTagMarkup-fgoVMKAc.js → normalizeMergeTagMarkup-PQqrbfmt.js} +1 -1
- package/dist/{preRenderCustomBlocks-CgPtlLGL.js → preRenderCustomBlocks-Dg5GBNi2.js} +1 -1
- package/dist/{sanitizeHtml-D2wueiEe.js → sanitizeHtml-DVdfdxOz.js} +1 -1
- package/dist/{socialIcons-RKdTgJip.js → socialIcons-DBHv_ntg.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +563 -563
- package/dist/{useCloudI18n-nMZ9f_4b.js → useCloudI18n-BnuOL1YS.js} +1 -1
- package/dist/{useEditorRoot-DpssP9rX.js → useEditorRoot-DWfC2CVC.js} +1 -1
- package/dist/{useI18n-C2p-qHeb.js → useI18n-Cx9W7OWb.js} +1 -1
- package/dist/{useLocalizedDisplay-9RqT2y_Y.js → useLocalizedDisplay-CbFM0cCV.js} +1 -1
- package/dist/{useLogicTag-59fmujI7.js → useLogicTag-CVOj0VUv.js} +2 -2
- package/dist/{useMergeTag-M1vauWet.js → useMergeTag-Bams_kam.js} +2 -2
- package/dist/{usePopoverPosition-L9MOHBM-.js → usePopoverPosition-DF0ZYH7g.js} +1 -1
- package/dist/{useScrollToBlock-BMF0Dt5l.js → useScrollToBlock-CwUQ_nKz.js} +1 -1
- package/dist/{withCurrentFont-BXZ7g-K6.js → withCurrentFont-y0O5kOLW.js} +1 -1
- package/package.json +7 -7
- package/dist/cdn/chunks/BlockPreviewCanvas-BF0yCTKP.js.map +0 -1
- package/dist/cdn/chunks/TestEmailModal-WOC7bmF_.js.map +0 -1
- package/dist/cdn/chunks/composables-CN9j_FH4.js.map +0 -1
- package/dist/cdn/chunks/keys-DNv3xXxI.js +0 -11
- package/dist/cdn/chunks/keys-DNv3xXxI.js.map +0 -1
- package/dist/cdn/chunks/src-CVHGPKSW.js.map +0 -1
- package/dist/cdn/chunks/useLocalizedDisplay-7iwZ1UhB.js +0 -33
- package/dist/keys-BeQy64On.js +0 -9
package/dist/cdn/editor.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import { A as e, B as t, C as n, E as r, F as i, G as a, H as o, I as s, K as c, L as l, M as u, N as d, O as f, P as p, Q as m, R as h, S as g, V as _, Y as v, _ as y, b, c as x, ct as S, dt as C, g as w, h as T, it as E, j as D, k as O, l as k, m as A, mt as j, n as M, nt as N, o as ee, p as P, pt as F, r as I, rt as L, s as te, t as R, tt as z, u as B, v as V, x as H, y as U } from "./chunks/draggable-IRVFEZ-b.js";
|
|
2
|
-
import { A as ne, D as W, E as G, M as K, N as q, O as J, V as re, _ as ie, b as ae, c as oe, j as se, k as Y, l as ce } from "./chunks/socialIcons-
|
|
3
|
-
import {
|
|
2
|
+
import { A as ne, D as W, E as G, M as K, N as q, O as J, V as re, _ as ie, b as ae, c as oe, j as se, k as Y, l as ce } from "./chunks/socialIcons-kYhdXJ9P.js";
|
|
3
|
+
import { B as le, D as ue, Et as de, F as X, Ft as fe, G as pe, H as me, Ht as he, Jt as ge, Lt as _e, Mt as ve, Nt as ye, Pt as be, S as xe, U as Se, Ut as Z, V as Ce, Wt as we, Z as Te, _ as Ee, an as De, en as Oe, ft as ke, g as Ae, h as je, in as Me, k as Ne, m as Pe, p as Fe, pt as Ie, rn as Q, v as Le, y as Re, z as ze } from "./chunks/src-DY2kMjoD.js";
|
|
4
4
|
import { t as Be } from "./chunks/_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
5
5
|
import { $ as Ve, A as He, Bt as Ue, D as We, Dt as Ge, E as Ke, F as qe, Ft as Je, M as Ye, Ot as Xe, P as Ze, Q as Qe, R as $e, Vt as et, Y as tt, at as nt, ct as rt, ft as it, j as at, mt as ot, nt as st, q as ct, t as lt, vt as ut, x as dt } from "./chunks/icons-C7vjUBLn.js";
|
|
6
|
-
import { t as $ } from "./chunks/useI18n-
|
|
7
|
-
import { n as ft, t as pt } from "./chunks/useLocalizedDisplay-
|
|
8
|
-
import { B as mt, E as ht, I as gt, J as _t, K as vt, M as yt, O as bt, Q as xt, R as St, Y as Ct, a as wt,
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { C as
|
|
12
|
-
import { t as
|
|
13
|
-
import { n as
|
|
14
|
-
import { A as
|
|
15
|
-
import { a as
|
|
16
|
-
import { t as
|
|
17
|
-
import { n as
|
|
18
|
-
import { i as
|
|
19
|
-
import { a as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { n as
|
|
25
|
-
import { _ as
|
|
26
|
-
import { t as
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
6
|
+
import { t as $ } from "./chunks/useI18n-DPg6rPbu.js";
|
|
7
|
+
import { n as ft, t as pt } from "./chunks/useLocalizedDisplay-B5wMJLru.js";
|
|
8
|
+
import { B as mt, E as ht, I as gt, J as _t, K as vt, M as yt, O as bt, Q as xt, R as St, Y as Ct, a as wt, b as Tt, c as Et, ct as Dt, d as Ot, et as kt, g as At, h as jt, it as Mt, k as Nt, l as Pt, lt as Ft, m as It, n as Lt, nt as Rt, ot as zt, rt as Bt, st as Vt, t as Ht, tt as Ut, ut as Wt, v as Gt, z as Kt } from "./chunks/keys-ywH4jHJ2.js";
|
|
9
|
+
import { t as qt } from "./chunks/plural-CyxrJXL1.js";
|
|
10
|
+
import { t as Jt } from "./chunks/languageName-DEEOhDWI.js";
|
|
11
|
+
import { C as Yt, E as Xt, T as Zt, b as Qt, h as $t, m as en, w as tn, x as nn } from "./chunks/styleConstants-Br6CIRoS.js";
|
|
12
|
+
import { t as rn } from "./chunks/TplModal-B3nZeGWK.js";
|
|
13
|
+
import { n as an } from "./chunks/sanitizeHtml-CLRY8s2s.js";
|
|
14
|
+
import { A as on, B as sn, E as cn, F as ln, L as un, M as dn, N as fn, O as pn, P as mn, _ as hn, a as gn, b as _n, c as vn, d as yn, f as bn, g as xn, h as Sn, i as Cn, j as wn, k as Tn, l as En, m as Dn, n as On, o as kn, p as An, r as jn, s as Mn, t as Nn, u as Pn, v as Fn, x as In, y as Ln } from "./chunks/composables-DY3anqHO.js";
|
|
15
|
+
import { a as Rn, i as zn, n as Bn, o as Vn, t as Hn } from "./chunks/normalizeMergeTagMarkup-Dw3rFvyd.js";
|
|
16
|
+
import { t as Un } from "./chunks/aiErrors-C3QEMB0x.js";
|
|
17
|
+
import { n as Wn, t as Gn } from "./chunks/aiImageContext-BQ5mQ6B5.js";
|
|
18
|
+
import { i as Kn, n as qn, r as Jn, t as Yn } from "./chunks/useScrollToBlock-32EnuMwu.js";
|
|
19
|
+
import { a as Xn } from "./chunks/dist-zu1jwYIS.js";
|
|
20
|
+
import { t as Zn } from "./chunks/logger-CqQTfJGx.js";
|
|
21
|
+
import { t as Qn } from "./chunks/WrapperBlock-DVu632LD.js";
|
|
22
|
+
import { t as $n } from "./chunks/blockTypeIcons-CGxNYHVA.js";
|
|
23
|
+
import { t as er } from "./chunks/templateSettingsFields-cjlP-jdw.js";
|
|
24
|
+
import { n as tr, t as nr } from "./chunks/MergeTagModeToggle-D6u3hMrI.js";
|
|
25
|
+
import { _ as rr, d as ir, g as ar } from "./chunks/dist-BtWMy7UQ.js";
|
|
26
|
+
import { t as or } from "./chunks/formatAbsoluteDateTime-Ck2_zXra.js";
|
|
27
|
+
import { t as sr } from "./chunks/formatRelativeTime-BTD8Ktt-.js";
|
|
28
|
+
import { t as cr } from "./chunks/preRenderCustomBlocks-BGtb8Xbp.js";
|
|
29
29
|
// src/utils/resolveTemplateDefaults.ts
|
|
30
|
-
var
|
|
31
|
-
function
|
|
32
|
-
let t = e.locale?.trim().replace(/_/g, "-"), n = t &&
|
|
30
|
+
var lr = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
|
|
31
|
+
function ur(e) {
|
|
32
|
+
let t = e.locale?.trim().replace(/_/g, "-"), n = t && lr.test(t) ? { locale: t } : void 0;
|
|
33
33
|
if (n || e.templateDefaults) return {
|
|
34
34
|
...n,
|
|
35
35
|
...e.templateDefaults
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
// src/components/NoticeStack.vue
|
|
39
|
-
var
|
|
40
|
-
function
|
|
41
|
-
return i(), y("div",
|
|
39
|
+
var dr = {}, fr = { class: "tpl:pointer-events-none tpl:absolute tpl:top-16 tpl:left-1/2 tpl:z-[60] tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" };
|
|
40
|
+
function pr(e, t) {
|
|
41
|
+
return i(), y("div", fr, [h(e.$slots, "default")]);
|
|
42
42
|
}
|
|
43
|
-
var
|
|
43
|
+
var mr = /*#__PURE__*/ Be(dr, [["render", pr]]), hr = {
|
|
44
44
|
key: 0,
|
|
45
45
|
"data-testid": "language-bar",
|
|
46
46
|
class: "tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-4 tpl:py-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
|
|
47
|
-
},
|
|
47
|
+
}, gr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-between tpl:gap-x-6 tpl:gap-y-2" }, _r = { class: "tpl:flex tpl:min-w-0 tpl:grow tpl:basis-64 tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1" }, vr = {
|
|
48
48
|
"data-testid": "language-bar-label",
|
|
49
49
|
class: "tpl:inline-flex tpl:items-center tpl:gap-2 tpl:font-medium tpl:whitespace-nowrap tpl:text-[var(--tpl-text)]"
|
|
50
|
-
},
|
|
50
|
+
}, yr = {
|
|
51
51
|
"data-testid": "language-bar-status",
|
|
52
52
|
role: "status",
|
|
53
53
|
"aria-live": "polite",
|
|
54
54
|
"aria-atomic": "true",
|
|
55
55
|
class: "tpl:whitespace-nowrap"
|
|
56
|
-
},
|
|
56
|
+
}, br = {
|
|
57
57
|
key: 1,
|
|
58
58
|
"data-testid": "translation-result",
|
|
59
59
|
class: "tpl:whitespace-normal"
|
|
60
|
-
},
|
|
60
|
+
}, xr = ["aria-label"], Sr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-2" }, Cr = ["disabled"], wr = ["disabled"], Tr = {
|
|
61
61
|
key: 0,
|
|
62
62
|
"data-testid": "structure-notice",
|
|
63
63
|
role: "status",
|
|
64
64
|
class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-2"
|
|
65
|
-
},
|
|
65
|
+
}, Er = ["aria-label"], Dr = ["aria-label"], Or = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, kr = { class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ar = { class: "tpl:flex tpl:flex-wrap tpl:justify-end tpl:gap-2" }, jr = ["disabled"], Mr = /* @__PURE__ */ new Set(), Nr = /* @__PURE__ */ n({
|
|
66
66
|
__name: "LanguageBar",
|
|
67
67
|
props: {
|
|
68
68
|
editor: {},
|
|
@@ -71,15 +71,15 @@ var pr = /*#__PURE__*/ Be(ur, [["render", fr]]), mr = {
|
|
|
71
71
|
change: {}
|
|
72
72
|
},
|
|
73
73
|
setup(e) {
|
|
74
|
-
let t = e, { t: n, format: r } = $(), s = f(
|
|
74
|
+
let t = e, { t: n, format: r } = $(), s = f(Vt, void 0) ?? "en", c = f(jt, []), l = P(() => Z(t.editor.content.value)), u = P(() => t.editor.activeLocale?.value ?? l.value), d = P(() => t.locales.includes(u.value)), p = f(Ht, null) ?? pt(t.editor, c), m = P(() => d.value ? !p.value?.missing.length && !p.value?.stale.length ? n.localization.complete : r(n.localization.gapTooltip, {
|
|
75
75
|
missing: p.value.missing.length,
|
|
76
76
|
stale: p.value.stale.length
|
|
77
|
-
}) : r(n.localization.languageReadOnly, { language:
|
|
77
|
+
}) : r(n.localization.languageReadOnly, { language: Jt(u.value) })), h = P(() => {
|
|
78
78
|
let e = t.feature?.lastResult.value;
|
|
79
79
|
if (!e) return "";
|
|
80
|
-
let i = [
|
|
81
|
-
return e.tagsChanged.length && i.push(
|
|
82
|
-
}), g = z(!1), _ = !1, v = z(null), x = z(null), T = P(() => t.feature?.counts.value.all ?? 0), E = P(() =>
|
|
80
|
+
let i = [qt(n.localization.translatedFields, e.translated, s)];
|
|
81
|
+
return e.tagsChanged.length && i.push(qt(n.localization.translationTagsChanged, e.tagsChanged.length, s)), e.skippedLocked.length && i.push(qt(n.localization.translationSkippedLocked, e.skippedLocked.length, s)), e.missing.length && i.push(qt(n.localization.translationMissing, e.missing.length, s)), e.tooLarge.length && i.push(qt(n.localization.translationTooLarge, e.tooLarge.length, s)), e.error && i.push(r(n.localization.translationError, { message: e.error.message })), i.join(" ");
|
|
82
|
+
}), g = z(!1), _ = !1, v = z(null), x = z(null), T = P(() => t.feature?.counts.value.all ?? 0), E = P(() => qt(n.localization.translationConfirmation, T.value, s));
|
|
83
83
|
function O() {
|
|
84
84
|
v.value = null, D(() => x.value?.focus());
|
|
85
85
|
}
|
|
@@ -100,67 +100,67 @@ var pr = /*#__PURE__*/ Be(ur, [["render", fr]]), mr = {
|
|
|
100
100
|
v.value && O();
|
|
101
101
|
}), o(() => t.change, () => {
|
|
102
102
|
let e = t.editor.state.template?.id;
|
|
103
|
-
(e ?
|
|
104
|
-
}), (t, o) => u.value === l.value ? w("", !0) : (i(), y("div",
|
|
105
|
-
A("div",
|
|
106
|
-
A("span",
|
|
103
|
+
(e ? Mr.has(e) : _) || (e ? Mr.add(e) : _ = !0, g.value = !0);
|
|
104
|
+
}), (t, o) => u.value === l.value ? w("", !0) : (i(), y("div", hr, [
|
|
105
|
+
A("div", gr, [A("div", _r, [
|
|
106
|
+
A("span", vr, [H(S(ot), {
|
|
107
107
|
size: 14,
|
|
108
108
|
"aria-hidden": "true",
|
|
109
109
|
class: "tpl:shrink-0"
|
|
110
|
-
}), b(" " + j(S(r)(S(n).localization.editingLanguage, { language: S(
|
|
111
|
-
A("span",
|
|
110
|
+
}), b(" " + j(S(r)(S(n).localization.editingLanguage, { language: S(Jt)(u.value) })), 1)]),
|
|
111
|
+
A("span", yr, [e.feature?.running.value ? (i(), y(B, { key: 0 }, [b(j(S(r)(S(n).localization.translating, e.feature.running.value)), 1)], 64)) : e.feature?.lastResult.value ? (i(), y("span", br, j(h.value), 1)) : (i(), y(B, { key: 2 }, [b(j(m.value), 1)], 64))]),
|
|
112
112
|
e.feature?.lastResult.value && !e.feature.running.value ? (i(), y("button", {
|
|
113
113
|
key: 0,
|
|
114
114
|
type: "button",
|
|
115
115
|
"data-testid": "translation-dismiss",
|
|
116
116
|
"aria-label": S(n).localization.dismiss,
|
|
117
|
-
class: C(S(
|
|
117
|
+
class: C(S(en)),
|
|
118
118
|
onClick: o[0] ||= (t) => e.feature.dismissResult()
|
|
119
119
|
}, [H(S(lt), {
|
|
120
120
|
size: 14,
|
|
121
121
|
"aria-hidden": "true"
|
|
122
|
-
})], 10,
|
|
123
|
-
]), A("div",
|
|
122
|
+
})], 10, xr)) : w("", !0)
|
|
123
|
+
]), A("div", Sr, [
|
|
124
124
|
e.feature?.running.value ? (i(), y("button", {
|
|
125
125
|
key: 0,
|
|
126
126
|
type: "button",
|
|
127
127
|
"data-testid": "translation-cancel",
|
|
128
|
-
class: C(S(
|
|
128
|
+
class: C(S(en)),
|
|
129
129
|
onClick: o[1] ||= (t) => e.feature.cancel()
|
|
130
130
|
}, j(S(n).localization.cancel), 3)) : w("", !0),
|
|
131
131
|
d.value && e.feature?.isAvailable.value ? (i(), y(B, { key: 1 }, [e.feature.counts.value.gaps > 0 ? (i(), y("button", {
|
|
132
132
|
key: 0,
|
|
133
133
|
type: "button",
|
|
134
134
|
"data-testid": "translate-language",
|
|
135
|
-
class: C(S(
|
|
135
|
+
class: C(S(nn)),
|
|
136
136
|
disabled: !!e.feature.running.value,
|
|
137
137
|
onClick: o[2] ||= (t) => e.feature.translate({ only: "gaps" })
|
|
138
|
-
}, j(S(
|
|
138
|
+
}, j(S(qt)(S(n).localization.translateFields, e.feature.counts.value.gaps, S(s))), 11, Cr)) : w("", !0), A("button", {
|
|
139
139
|
ref_key: "allAgain",
|
|
140
140
|
ref: x,
|
|
141
141
|
type: "button",
|
|
142
142
|
"data-testid": "translate-all-again",
|
|
143
|
-
class: C(S(
|
|
143
|
+
class: C(S(en)),
|
|
144
144
|
disabled: !!e.feature.running.value || T.value === 0,
|
|
145
145
|
onClick: k
|
|
146
|
-
}, j(S(n).localization.translateAllAgain), 11,
|
|
146
|
+
}, j(S(n).localization.translateAllAgain), 11, wr)], 64)) : w("", !0),
|
|
147
147
|
A("button", {
|
|
148
148
|
type: "button",
|
|
149
149
|
"data-testid": "language-back-default",
|
|
150
|
-
class: C(S(
|
|
150
|
+
class: C(S(en)),
|
|
151
151
|
onClick: o[3] ||= (t) => e.editor.setActiveLocale?.(null)
|
|
152
|
-
}, j(S(r)(S(n).localization.backToDefault, { default: S(
|
|
152
|
+
}, j(S(r)(S(n).localization.backToDefault, { default: S(Jt)(l.value) })), 3)
|
|
153
153
|
])]),
|
|
154
|
-
g.value ? (i(), y("div",
|
|
154
|
+
g.value ? (i(), y("div", Tr, [A("span", null, j(S(n).localization.structureNotice), 1), A("button", {
|
|
155
155
|
type: "button",
|
|
156
156
|
"aria-label": S(n).localization.dismiss,
|
|
157
|
-
class: C(S(
|
|
157
|
+
class: C(S(en)),
|
|
158
158
|
onClick: o[4] ||= (e) => g.value = !1
|
|
159
159
|
}, [H(S(lt), {
|
|
160
160
|
size: 14,
|
|
161
161
|
"aria-hidden": "true"
|
|
162
|
-
})], 10,
|
|
163
|
-
H(
|
|
162
|
+
})], 10, Er)])) : w("", !0),
|
|
163
|
+
H(rn, {
|
|
164
164
|
visible: v.value !== null,
|
|
165
165
|
onClose: O
|
|
166
166
|
}, {
|
|
@@ -170,35 +170,35 @@ var pr = /*#__PURE__*/ Be(ur, [["render", fr]]), mr = {
|
|
|
170
170
|
"aria-label": E.value,
|
|
171
171
|
class: "tpl:w-96 tpl:max-w-full tpl:max-h-[90%] tpl:overflow-y-auto tpl:box-border tpl:rounded-[var(--tpl-radius)] tpl:bg-[var(--tpl-bg)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-lg)]"
|
|
172
172
|
}, [
|
|
173
|
-
A("h3",
|
|
174
|
-
A("p",
|
|
175
|
-
A("div",
|
|
173
|
+
A("h3", Or, j(E.value), 1),
|
|
174
|
+
A("p", kr, j(S(r)(S(n).localization.translationDescription, { language: S(Jt)(v.value?.locale ?? u.value) })), 1),
|
|
175
|
+
A("div", Ar, [A("button", {
|
|
176
176
|
type: "button",
|
|
177
177
|
"data-testid": "translation-confirm-cancel",
|
|
178
|
-
class: C(S(
|
|
178
|
+
class: C(S(Yt)),
|
|
179
179
|
onClick: O
|
|
180
180
|
}, j(S(n).localization.cancel), 3), A("button", {
|
|
181
181
|
type: "button",
|
|
182
182
|
"data-testid": "translation-confirm",
|
|
183
|
-
class: C(S(
|
|
183
|
+
class: C(S(Qt)),
|
|
184
184
|
disabled: !!e.feature?.running.value || !e.feature?.isAvailable.value || T.value === 0,
|
|
185
185
|
onClick: M
|
|
186
|
-
}, j(S(
|
|
187
|
-
], 8,
|
|
186
|
+
}, j(S(qt)(S(n).localization.translateAllFields, T.value, S(s))), 11, jr)])
|
|
187
|
+
], 8, Dr)]),
|
|
188
188
|
_: 1
|
|
189
189
|
}, 8, ["visible"])
|
|
190
190
|
]));
|
|
191
191
|
}
|
|
192
192
|
});
|
|
193
193
|
// src/composables/useLocaleActions.ts
|
|
194
|
-
function
|
|
194
|
+
function Pr(e) {
|
|
195
195
|
let { editor: t } = e;
|
|
196
196
|
return { setDefaultLocale(n) {
|
|
197
197
|
let r;
|
|
198
198
|
try {
|
|
199
|
-
r = [t.createSetDefaultLocaleOperation(n)], e.collaboration ||
|
|
199
|
+
r = [t.createSetDefaultLocaleOperation(n)], e.collaboration || be(t.content.value, r);
|
|
200
200
|
} catch (e) {
|
|
201
|
-
if (e instanceof
|
|
201
|
+
if (e instanceof fe) return {
|
|
202
202
|
applied: !1,
|
|
203
203
|
error: e
|
|
204
204
|
};
|
|
@@ -207,12 +207,12 @@ function Nr(e) {
|
|
|
207
207
|
if (e.collaboration) {
|
|
208
208
|
let t = e.collaboration.core.applyOperations(r, {});
|
|
209
209
|
if (!t.applied) return t;
|
|
210
|
-
} else e.history().record(),
|
|
210
|
+
} else e.history().record(), _e(t.content.value, r), t.markDirty();
|
|
211
211
|
return t.setActiveLocale(n), { applied: !0 };
|
|
212
212
|
} };
|
|
213
213
|
}
|
|
214
214
|
// src/composables/useTranslationFeature.ts
|
|
215
|
-
function
|
|
215
|
+
function Fr(e) {
|
|
216
216
|
if (typeof e != "object" || !e) return null;
|
|
217
217
|
let t = e;
|
|
218
218
|
return t.code !== "rate_limited" && t.code !== "limit_reached" && t.code !== "content_too_large" && t.code !== "translation_failed" || t.statusCode !== void 0 && typeof t.statusCode != "number" ? null : {
|
|
@@ -221,24 +221,24 @@ function Pr(e) {
|
|
|
221
221
|
...t.statusCode === void 0 ? {} : { statusCode: t.statusCode }
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Ir(e) {
|
|
225
225
|
let t = /* @__PURE__ */ new Set();
|
|
226
226
|
if (typeof DOMParser > "u") return t;
|
|
227
227
|
let n = new DOMParser().parseFromString(e, "text/html");
|
|
228
228
|
for (let e of n.querySelectorAll("[style]")) t.add(e.getAttribute("style") ?? "");
|
|
229
229
|
return t;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
232
|
-
let n =
|
|
233
|
-
return [...
|
|
231
|
+
function Lr(e, t) {
|
|
232
|
+
let n = Ir(t);
|
|
233
|
+
return [...Ir(e)].every((e) => n.has(e));
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
let t = `tpl-translation-${crypto.randomUUID()}-`, n = [], r = e.replace(/<x id="\d+"\s*\/>|<x id="\d+"><\/x>|__x\d+__/g, (e) => `${t}${n.push(e)}-end`), i =
|
|
235
|
+
function Rr(e) {
|
|
236
|
+
let t = `tpl-translation-${crypto.randomUUID()}-`, n = [], r = e.replace(/<x id="\d+"\s*\/>|<x id="\d+"><\/x>|__x\d+__/g, (e) => `${t}${n.push(e)}-end`), i = an(r);
|
|
237
237
|
return n.forEach((e, n) => {
|
|
238
238
|
i = i.replaceAll(`${t}${n + 1}-end`, e);
|
|
239
239
|
}), i;
|
|
240
240
|
}
|
|
241
|
-
async function
|
|
241
|
+
async function zr(e, t) {
|
|
242
242
|
t.throwIfAborted();
|
|
243
243
|
let n, r = new Promise((e, r) => {
|
|
244
244
|
n = () => r(t.reason), t.addEventListener("abort", n, { once: !0 });
|
|
@@ -249,7 +249,7 @@ async function Rr(e, t) {
|
|
|
249
249
|
t.removeEventListener("abort", n);
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function Br(e) {
|
|
253
253
|
let { editor: t } = e, n = L(null), r = L(null), i = null, a = L(!1), s = P(() => {
|
|
254
254
|
let n = t.activeLocale.value;
|
|
255
255
|
return !a.value && !!n && n !== Z(t.content.value) && !!e.localization?.locales.includes(n) && !!t.content.value.settings.locales?.includes(n);
|
|
@@ -258,7 +258,7 @@ function zr(e) {
|
|
|
258
258
|
gaps: 0,
|
|
259
259
|
all: 0
|
|
260
260
|
};
|
|
261
|
-
let n = t.activeLocale.value, r = e.definitions(), i = e.coverage?.() ??
|
|
261
|
+
let n = t.activeLocale.value, r = e.definitions(), i = e.coverage?.() ?? ge(t.content.value, n, r), a = /* @__PURE__ */ new Set([...i.missing, ...i.stale]), { strings: o } = le(t.content.value, n, {
|
|
262
262
|
definitions: r,
|
|
263
263
|
syntax: e.syntax(),
|
|
264
264
|
doNotTranslate: e.localization?.doNotTranslate,
|
|
@@ -289,7 +289,7 @@ function zr(e) {
|
|
|
289
289
|
if (!s.value) throw new Q("Translation isn't available in this language.", 403, "feature_unavailable");
|
|
290
290
|
let o = e.collaboration?.core;
|
|
291
291
|
o?.flush();
|
|
292
|
-
let c = t.activeLocale.value, l = t.state.template?.id ?? null, u = Z(t.content.value), d =
|
|
292
|
+
let c = t.activeLocale.value, l = t.state.template?.id ?? null, u = Z(t.content.value), d = De(E([...e.definitions()])), f = e.syntax(), p = e.localization?.doNotTranslate?.slice(), m = le(t.content.value, c, {
|
|
293
293
|
...a,
|
|
294
294
|
definitions: d,
|
|
295
295
|
syntax: f,
|
|
@@ -325,7 +325,7 @@ function zr(e) {
|
|
|
325
325
|
}
|
|
326
326
|
let i;
|
|
327
327
|
try {
|
|
328
|
-
i = await
|
|
328
|
+
i = await zr(e.provider.translate({
|
|
329
329
|
templateId: l,
|
|
330
330
|
sourceLocale: u,
|
|
331
331
|
targetLocale: c,
|
|
@@ -336,7 +336,7 @@ function zr(e) {
|
|
|
336
336
|
}))
|
|
337
337
|
}, g.controller.signal), g.controller.signal), g.controller.signal.throwIfAborted();
|
|
338
338
|
} catch (e) {
|
|
339
|
-
if (!g.controller.signal.aborted &&
|
|
339
|
+
if (!g.controller.signal.aborted && Fr(e)?.code === "content_too_large" && t.length > 1) {
|
|
340
340
|
y = Math.floor(t.length / 2);
|
|
341
341
|
continue;
|
|
342
342
|
}
|
|
@@ -348,10 +348,10 @@ function zr(e) {
|
|
|
348
348
|
h.missing.push(e.id);
|
|
349
349
|
continue;
|
|
350
350
|
}
|
|
351
|
-
let n = m.tokens[e.id], r =
|
|
352
|
-
r === null || e.format === "html" && !
|
|
351
|
+
let n = m.tokens[e.id], r = Ce(t.text, n);
|
|
352
|
+
r === null || e.format === "html" && !Lr(r, Ce(e.source, n)) ? h.tagsChanged.push(e.id) : _.push({
|
|
353
353
|
id: e.id,
|
|
354
|
-
text: e.format === "html" ?
|
|
354
|
+
text: e.format === "html" ? Rr(t.text) : t.text,
|
|
355
355
|
sourceHash: e.sourceHash
|
|
356
356
|
});
|
|
357
357
|
}
|
|
@@ -362,8 +362,8 @@ function zr(e) {
|
|
|
362
362
|
}
|
|
363
363
|
} catch (e) {
|
|
364
364
|
g.controller.signal.aborted || e instanceof Error && e.name === "AbortError" ? h.cancelled = !0 : h.error = {
|
|
365
|
-
code:
|
|
366
|
-
message:
|
|
365
|
+
code: Fr(e)?.code ?? "translation_failed",
|
|
366
|
+
message: Fr(e)?.message ?? (e instanceof Error ? e.message : String(e))
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
try {
|
|
@@ -392,7 +392,7 @@ function zr(e) {
|
|
|
392
392
|
let t = o.locksOf(e.blockId).some((e) => e.holder.sessionId !== o.sessionId && (e.locale == null || e.locale === c));
|
|
393
393
|
return t && h.skippedLocked.push(...Object.keys(e.text ?? {}).map((t) => `${e.blockId}/${t}`)), !t;
|
|
394
394
|
});
|
|
395
|
-
s.length && (
|
|
395
|
+
s.length && (be(E(t.content.value), s), e.history().record(), _e(t.content.value, s), t.markDirty(), o?.flush(), h.translated = s.reduce((e, t) => e + (t.op === "updateBlockLocale" || t.op === "updateSettingsLocale" ? Object.keys(t.text ?? {}).length : 0), 0)), t.activeLocale.value === c && (r.value = h);
|
|
396
396
|
}
|
|
397
397
|
} finally {
|
|
398
398
|
i = null, n.value = null;
|
|
@@ -412,12 +412,12 @@ function zr(e) {
|
|
|
412
412
|
};
|
|
413
413
|
}
|
|
414
414
|
// src/composables/useCollaborationFeature.ts
|
|
415
|
-
var
|
|
415
|
+
var Vr = 5e3, Hr = 2e3, Ur = {
|
|
416
416
|
blockIds: [],
|
|
417
417
|
settings: !1,
|
|
418
418
|
templateUpdated: !0
|
|
419
419
|
};
|
|
420
|
-
function
|
|
420
|
+
function Wr(e) {
|
|
421
421
|
let t = /* @__PURE__ */ new Set(), n = !1, r = !1;
|
|
422
422
|
for (let i of e) i.op === "addBlock" ? typeof i.block?.id == "string" && t.add(i.block.id) : i.op === "updateSettings" || i.op === "addLocale" || i.op === "removeLocale" || i.op === "updateSettingsLocale" ? n = !0 : i.op === "setContent" || i.op === "setDefaultLocale" ? r = !0 : t.add(i.blockId);
|
|
423
423
|
return {
|
|
@@ -426,11 +426,11 @@ function Ur(e) {
|
|
|
426
426
|
templateUpdated: r
|
|
427
427
|
};
|
|
428
428
|
}
|
|
429
|
-
function
|
|
429
|
+
function Gr(e) {
|
|
430
430
|
let t = z([]), n = 1, r = /* @__PURE__ */ new Map();
|
|
431
431
|
function i(e) {
|
|
432
432
|
let t = r.get(e);
|
|
433
|
-
t && clearTimeout(t), r.set(e, setTimeout(() => o(e),
|
|
433
|
+
t && clearTimeout(t), r.set(e, setTimeout(() => o(e), Vr));
|
|
434
434
|
}
|
|
435
435
|
function a(e) {
|
|
436
436
|
let r = n++;
|
|
@@ -468,7 +468,7 @@ function Wr(e) {
|
|
|
468
468
|
u.delete(r);
|
|
469
469
|
let e = new Map(l.value);
|
|
470
470
|
e.delete(r), l.value = e;
|
|
471
|
-
},
|
|
471
|
+
}, Hr));
|
|
472
472
|
}
|
|
473
473
|
l.value = n;
|
|
474
474
|
}
|
|
@@ -512,15 +512,15 @@ function Wr(e) {
|
|
|
512
512
|
let h = K({
|
|
513
513
|
provider: e.provider,
|
|
514
514
|
loadTemplate: e.loadTemplate,
|
|
515
|
-
normalizeRemoteOperations: (t, n) =>
|
|
515
|
+
normalizeRemoteOperations: (t, n) => zn(t, n, e.mergeTags),
|
|
516
516
|
onRemoteChange: (t) => {
|
|
517
517
|
try {
|
|
518
|
-
p(t.actor,
|
|
518
|
+
p(t.actor, Wr(t.ops));
|
|
519
519
|
} finally {
|
|
520
520
|
e.onRemoteChange?.(t);
|
|
521
521
|
}
|
|
522
522
|
},
|
|
523
|
-
onRemoteResync: ({ actor: e }) => p(e,
|
|
523
|
+
onRemoteResync: ({ actor: e }) => p(e, Ur),
|
|
524
524
|
onNotice: s,
|
|
525
525
|
onError: e.onError
|
|
526
526
|
});
|
|
@@ -582,7 +582,7 @@ function Wr(e) {
|
|
|
582
582
|
};
|
|
583
583
|
}
|
|
584
584
|
// src/composables/useCommentsFeature.ts
|
|
585
|
-
function
|
|
585
|
+
function Kr(e) {
|
|
586
586
|
let { provider: t, editor: n } = e, r = W({
|
|
587
587
|
provider: t,
|
|
588
588
|
getTemplateId: () => n.state.template?.id ?? null,
|
|
@@ -635,22 +635,22 @@ function Gr(e) {
|
|
|
635
635
|
};
|
|
636
636
|
}
|
|
637
637
|
// src/composables/useAiFeature.ts
|
|
638
|
-
var
|
|
639
|
-
function
|
|
640
|
-
return
|
|
638
|
+
var qr = 3e3, Jr = 1e3;
|
|
639
|
+
function Yr(e) {
|
|
640
|
+
return De(E(e));
|
|
641
641
|
}
|
|
642
|
-
var
|
|
643
|
-
function
|
|
642
|
+
var Xr = (e) => e instanceof Error && e.name === "AbortError";
|
|
643
|
+
function Zr(e) {
|
|
644
644
|
if (e instanceof Error) return e;
|
|
645
645
|
if (typeof e != "object" || !e) return Error(String(e));
|
|
646
646
|
let t = e;
|
|
647
647
|
return Object.assign(Error(typeof t.message == "string" ? t.message : String(e)), typeof t.code == "string" ? { code: t.code } : {}, typeof t.statusCode == "number" ? { statusCode: t.statusCode } : {}, t.details === void 0 ? {} : { details: t.details });
|
|
648
648
|
}
|
|
649
|
-
var
|
|
650
|
-
function
|
|
651
|
-
return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) &&
|
|
649
|
+
var Qr = (e) => e.batches.reduce((e, t) => e + t.operationCount, 0);
|
|
650
|
+
function $r(e, t) {
|
|
651
|
+
return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) && $r(e, t)));
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function ei(e) {
|
|
654
654
|
return {
|
|
655
655
|
applied: !1,
|
|
656
656
|
code: e.code,
|
|
@@ -658,7 +658,7 @@ function $r(e) {
|
|
|
658
658
|
message: e.message
|
|
659
659
|
};
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function ti(e) {
|
|
662
662
|
let { provider: t, editor: n, collaboration: r } = e, i = t.conversation ?? null, a = crypto.randomUUID(), s = z(null), c = /* @__PURE__ */ new Map(), l = !1, u = 0, d = !1, f = 0, p = null, m = v();
|
|
663
663
|
function h(e) {
|
|
664
664
|
let t = ne(e);
|
|
@@ -723,12 +723,12 @@ function ei(e) {
|
|
|
723
723
|
a(e);
|
|
724
724
|
return;
|
|
725
725
|
} finally {
|
|
726
|
-
t.active = null, t.busy.value = !1, --f === 0 &&
|
|
726
|
+
t.active = null, t.busy.value = !1, --f === 0 && ke(), B(t);
|
|
727
727
|
}
|
|
728
728
|
i(e);
|
|
729
729
|
}
|
|
730
730
|
};
|
|
731
|
-
t.queue.push(o), f++ === 0 &&
|
|
731
|
+
t.queue.push(o), f++ === 0 && ke(), B(t);
|
|
732
732
|
}) : Promise.resolve().then(r);
|
|
733
733
|
}
|
|
734
734
|
function B(e) {
|
|
@@ -775,7 +775,7 @@ function ei(e) {
|
|
|
775
775
|
e.timers.add(r);
|
|
776
776
|
}
|
|
777
777
|
function G(t) {
|
|
778
|
-
|
|
778
|
+
Xr(t) || e.onError?.(Zr(t));
|
|
779
779
|
}
|
|
780
780
|
function K(e, t) {
|
|
781
781
|
if (t.length === 0) return;
|
|
@@ -789,13 +789,13 @@ function ei(e) {
|
|
|
789
789
|
let r = new Map(e.highlights.value);
|
|
790
790
|
for (let e of t) r.get(e) === n && r.delete(e);
|
|
791
791
|
e.highlights.value = r;
|
|
792
|
-
},
|
|
792
|
+
}, Hr);
|
|
793
793
|
}
|
|
794
794
|
async function J(e) {
|
|
795
|
-
r && await Promise.race([r.core.settle().catch(() => {}), new Promise((t) => W(e, t,
|
|
795
|
+
r && await Promise.race([r.core.settle().catch(() => {}), new Promise((t) => W(e, t, qr))]);
|
|
796
796
|
}
|
|
797
797
|
function re(t) {
|
|
798
|
-
let i = E(n.content.value), o = n.activeLocale?.value ?? null, s =
|
|
798
|
+
let i = E(n.content.value), o = n.activeLocale?.value ?? null, s = Oe(i, o ?? Z(i));
|
|
799
799
|
if (o === null && i.settings.locale === void 0 && delete s.settings.locale, new TextEncoder().encode(JSON.stringify(s)).length > 2e5) throw new Q("This template is too large for AI.", 413, "content_too_large");
|
|
800
800
|
return {
|
|
801
801
|
templateId: t,
|
|
@@ -808,7 +808,7 @@ function ei(e) {
|
|
|
808
808
|
}
|
|
809
809
|
function ie() {
|
|
810
810
|
let e = n.state.selectedBlockId;
|
|
811
|
-
return e ? r ? r.core.hasConfirmedBlock(e) ? e : null :
|
|
811
|
+
return e ? r ? r.core.hasConfirmedBlock(e) ? e : null : $r(n.content.value.blocks, e) ? e : null : null;
|
|
812
812
|
}
|
|
813
813
|
function ae(t, i, a) {
|
|
814
814
|
if (t.length === 0) return {
|
|
@@ -819,14 +819,14 @@ function ei(e) {
|
|
|
819
819
|
try {
|
|
820
820
|
o = e.normalize(t, E(n.content.value));
|
|
821
821
|
} catch (e) {
|
|
822
|
-
if (e instanceof
|
|
822
|
+
if (e instanceof fe) return ei(e);
|
|
823
823
|
throw e;
|
|
824
824
|
}
|
|
825
825
|
if (o.length === 0) return {
|
|
826
826
|
applied: !0,
|
|
827
827
|
inverse: []
|
|
828
828
|
};
|
|
829
|
-
let s =
|
|
829
|
+
let s = Wr(o);
|
|
830
830
|
if (r) {
|
|
831
831
|
let e = r.core.applyOperations(o, {
|
|
832
832
|
origin: "ai",
|
|
@@ -835,23 +835,23 @@ function ei(e) {
|
|
|
835
835
|
return e.applied ? (s.templateUpdated || K(a, s.blockIds), {
|
|
836
836
|
applied: !0,
|
|
837
837
|
inverse: e.inverse
|
|
838
|
-
}) :
|
|
838
|
+
}) : ei(e.error);
|
|
839
839
|
}
|
|
840
840
|
let c;
|
|
841
841
|
try {
|
|
842
|
-
c =
|
|
842
|
+
c = be(E(n.content.value), o);
|
|
843
843
|
} catch (e) {
|
|
844
|
-
if (e instanceof
|
|
844
|
+
if (e instanceof fe) return ei(e);
|
|
845
845
|
throw e;
|
|
846
846
|
}
|
|
847
847
|
a.lastRecordedTurn !== i && (e.history().record(), a.lastRecordedTurn = i), d = !0;
|
|
848
848
|
try {
|
|
849
|
-
|
|
849
|
+
_e(n.content.value, De(o)), n.markDirty();
|
|
850
850
|
} finally {
|
|
851
851
|
d = !1;
|
|
852
852
|
}
|
|
853
853
|
let l = n.state.selectedBlockId;
|
|
854
|
-
return l &&
|
|
854
|
+
return l && !$r(n.content.value.blocks, l) && n.selectBlock(null), s.templateUpdated || K(a, s.blockIds), {
|
|
855
855
|
applied: !0,
|
|
856
856
|
inverse: c
|
|
857
857
|
};
|
|
@@ -860,11 +860,11 @@ function ei(e) {
|
|
|
860
860
|
let o = t;
|
|
861
861
|
try {
|
|
862
862
|
if (a !== null) {
|
|
863
|
-
if (e.localization && !e.localization.locales.includes(a)) throw new
|
|
863
|
+
if (e.localization && !e.localization.locales.includes(a)) throw new fe("invalid_operation", 0, `Locale "${a}" is not enabled.`);
|
|
864
864
|
o = q(E(n.content.value), a, t, e.customBlockDefinitions?.());
|
|
865
865
|
}
|
|
866
866
|
} catch (e) {
|
|
867
|
-
if (e instanceof
|
|
867
|
+
if (e instanceof fe) return ei(e);
|
|
868
868
|
throw e;
|
|
869
869
|
}
|
|
870
870
|
let s = ae(o, r, i);
|
|
@@ -880,7 +880,7 @@ function ei(e) {
|
|
|
880
880
|
let n = r.core;
|
|
881
881
|
n.revision.value >= e || (n.connection.value === "connected" ? W(t, () => {
|
|
882
882
|
T(t) && n.revision.value < e && n.catchUp();
|
|
883
|
-
},
|
|
883
|
+
}, Jr) : n.catchUp());
|
|
884
884
|
}
|
|
885
885
|
function Y(e, t, n) {
|
|
886
886
|
let r = e.memory;
|
|
@@ -910,15 +910,15 @@ function ei(e) {
|
|
|
910
910
|
canRedo: n && e.undone && !r?.serverApplied && (r?.redo?.length ?? 0) > 0
|
|
911
911
|
};
|
|
912
912
|
}
|
|
913
|
-
let
|
|
913
|
+
let le = () => ({
|
|
914
914
|
messageId: null,
|
|
915
915
|
operationCount: 0,
|
|
916
916
|
text: "",
|
|
917
917
|
failed: !0
|
|
918
918
|
});
|
|
919
|
-
function
|
|
919
|
+
function ue(t, a, o, s = []) {
|
|
920
920
|
let c = b, l = n.activeLocale?.value ?? null, u = w();
|
|
921
|
-
return !u || u.active?.kind === "turn" || u.queue.some((e) => e.kind === "turn") ? Promise.resolve(
|
|
921
|
+
return !u || u.active?.kind === "turn" || u.queue.some((e) => e.kind === "turn") ? Promise.resolve(le()) : R("turn", u, async (d) => {
|
|
922
922
|
let { controller: f } = d, p = u.memory, m = crypto.randomUUID(), h = crypto.randomUUID(), g = crypto.randomUUID(), _ = 0, v = "", y = !1, b = null, x = {
|
|
923
923
|
inverse: [],
|
|
924
924
|
redo: null,
|
|
@@ -936,7 +936,7 @@ function ei(e) {
|
|
|
936
936
|
try {
|
|
937
937
|
let n;
|
|
938
938
|
do
|
|
939
|
-
n = _, !r && e.reload && await U(t, !0, d.authorVersion), i && await
|
|
939
|
+
n = _, !r && e.reload && await U(t, !0, d.authorVersion), i && await me(t, !0, !0);
|
|
940
940
|
while (T(u) && n !== _);
|
|
941
941
|
} catch (e) {
|
|
942
942
|
T(u) && G(e);
|
|
@@ -952,18 +952,18 @@ function ei(e) {
|
|
|
952
952
|
},
|
|
953
953
|
onOperations: async (e) => {
|
|
954
954
|
V(d), S(c);
|
|
955
|
-
let t = r ?
|
|
956
|
-
return i.applied && i.inverse.length > 0 && (x.inverse = [...i.inverse, ...x.inverse], r && (x.view = x.view === void 0 || x.view !== null &&
|
|
955
|
+
let t = r ? Yr(n.content.value) : null, i = oe(e, m, u, l);
|
|
956
|
+
return i.applied && i.inverse.length > 0 && (x.inverse = [...i.inverse, ...x.inverse], r && (x.view = x.view === void 0 || x.view !== null && Me(x.view, t) ? Yr(n.content.value) : null), _ += e.length, D({ operationCount: _ })), i;
|
|
957
957
|
},
|
|
958
958
|
onApplied: (t) => {
|
|
959
959
|
if (!T(u)) throw new DOMException("The template changed.", "AbortError");
|
|
960
|
-
if (!r && !e.reload) throw b ??= new Q(
|
|
960
|
+
if (!r && !e.reload) throw b ??= new Q(Un, 502, "ai_provider_error"), b;
|
|
961
961
|
x.serverApplied = !0, x.batchIds.add(t.batchId), _ += t.operationCount, D({ operationCount: _ }), se(t.revision, u), w && (O(), k());
|
|
962
962
|
}
|
|
963
963
|
};
|
|
964
964
|
try {
|
|
965
965
|
try {
|
|
966
|
-
await
|
|
966
|
+
await me(d), V(d), S(c), u.failure.value = null, u.failedPrompt.value = null, u.failedAttachments.value = [];
|
|
967
967
|
let e = (/* @__PURE__ */ new Date()).toISOString();
|
|
968
968
|
p.records.set(g, x), p.items = [
|
|
969
969
|
...p.items,
|
|
@@ -1016,8 +1016,8 @@ function ei(e) {
|
|
|
1016
1016
|
};
|
|
1017
1017
|
} catch (e) {
|
|
1018
1018
|
let n = b ?? e;
|
|
1019
|
-
y = f.signal.aborted ||
|
|
1020
|
-
error:
|
|
1019
|
+
y = f.signal.aborted || Xr(n), y || G(n), _ === 0 && (!y || v === "") ? (p.items = p.items.filter((e) => e.id !== g && e.id !== h), T(u) && (u.messages.value = p.items, y || (t === "chat" && (u.failedPrompt.value = a, u.failedAttachments.value = s), u.failure.value = {
|
|
1020
|
+
error: Zr(n),
|
|
1021
1021
|
context: "turn"
|
|
1022
1022
|
})), C = {
|
|
1023
1023
|
messageId: null,
|
|
@@ -1027,7 +1027,7 @@ function ei(e) {
|
|
|
1027
1027
|
}) : (D({
|
|
1028
1028
|
status: y ? "done" : "failed",
|
|
1029
1029
|
failure: y ? void 0 : {
|
|
1030
|
-
error:
|
|
1030
|
+
error: Zr(n),
|
|
1031
1031
|
context: "turn"
|
|
1032
1032
|
}
|
|
1033
1033
|
}), C = {
|
|
@@ -1043,7 +1043,7 @@ function ei(e) {
|
|
|
1043
1043
|
if (n = _, x.serverApplied && !r && e.reload && T(u) && await U(d, !0).catch((e) => {
|
|
1044
1044
|
T(u) && G(e);
|
|
1045
1045
|
}), i && p.recoveries.has(m) && T(u)) {
|
|
1046
|
-
await
|
|
1046
|
+
await me(d, !0, !0);
|
|
1047
1047
|
let e = p.recoveries.get(m);
|
|
1048
1048
|
e && (C.messageId = e.item.id, C.text = e.item.text);
|
|
1049
1049
|
}
|
|
@@ -1052,9 +1052,9 @@ function ei(e) {
|
|
|
1052
1052
|
} finally {
|
|
1053
1053
|
w = !0, u.messages.value = p.items;
|
|
1054
1054
|
}
|
|
1055
|
-
},
|
|
1055
|
+
}, le);
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function de(t, o) {
|
|
1058
1058
|
let s = w();
|
|
1059
1059
|
return !s || s.busy.value ? Promise.resolve() : R("replay", s, async (c) => {
|
|
1060
1060
|
let l = s.memory, u = l.items.find((e) => e.id === t);
|
|
@@ -1083,12 +1083,12 @@ function ei(e) {
|
|
|
1083
1083
|
} catch (e) {
|
|
1084
1084
|
if (!T(s)) return;
|
|
1085
1085
|
G(e), Y(s, t, { failure: {
|
|
1086
|
-
error:
|
|
1086
|
+
error: Zr(e),
|
|
1087
1087
|
context: o
|
|
1088
1088
|
} });
|
|
1089
1089
|
}
|
|
1090
1090
|
if (!T(s)) return;
|
|
1091
|
-
if (!e.applied) throw new
|
|
1091
|
+
if (!e.applied) throw new ye(e.message, {
|
|
1092
1092
|
code: e.code,
|
|
1093
1093
|
opIndex: e.opIndex
|
|
1094
1094
|
});
|
|
@@ -1099,35 +1099,35 @@ function ei(e) {
|
|
|
1099
1099
|
failure: void 0
|
|
1100
1100
|
}), r) se(n.applied.revision, s);
|
|
1101
1101
|
else if (e.reload) await U(c, !0);
|
|
1102
|
-
else throw new Q(
|
|
1102
|
+
else throw new Q(Un, 502, "ai_provider_error");
|
|
1103
1103
|
return;
|
|
1104
1104
|
}
|
|
1105
1105
|
{
|
|
1106
1106
|
if (u.undone !== (o === "redo")) return;
|
|
1107
1107
|
let e = o === "undo" ? f?.inverse : f?.redo;
|
|
1108
1108
|
if (!f || f.serverApplied || !e || e.length === 0) return;
|
|
1109
|
-
if (r && e.some((e) => e.op === "setContent") && (!f.view || !
|
|
1109
|
+
if (r && e.some((e) => e.op === "setContent") && (!f.view || !Me(f.view, E(n.content.value)))) throw new ye(`The template changed since this message's changes, so ${o === "undo" ? "undoing" : "redoing"} them would overwrite that.`, { code: "precondition_failed" });
|
|
1110
1110
|
let i = ae(e, `${o}:${t}:${crypto.randomUUID()}`, s);
|
|
1111
|
-
if (!i.applied) throw new
|
|
1111
|
+
if (!i.applied) throw new ye(i.message, {
|
|
1112
1112
|
code: i.code,
|
|
1113
1113
|
opIndex: i.opIndex
|
|
1114
1114
|
});
|
|
1115
|
-
o === "undo" ? f.redo = i.inverse : f.inverse = i.inverse, r && (f.view =
|
|
1115
|
+
o === "undo" ? f.redo = i.inverse : f.inverse = i.inverse, r && (f.view = Yr(n.content.value));
|
|
1116
1116
|
}
|
|
1117
1117
|
Y(s, t, {
|
|
1118
1118
|
undone: o === "undo",
|
|
1119
1119
|
failure: void 0
|
|
1120
1120
|
});
|
|
1121
1121
|
} catch (e) {
|
|
1122
|
-
if (!T(s) ||
|
|
1122
|
+
if (!T(s) || Xr(e)) return;
|
|
1123
1123
|
G(e), Y(s, t, { failure: {
|
|
1124
|
-
error:
|
|
1124
|
+
error: Zr(e),
|
|
1125
1125
|
context: o
|
|
1126
1126
|
} });
|
|
1127
1127
|
}
|
|
1128
1128
|
}, () => {});
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function X(e, t) {
|
|
1131
1131
|
let n = {
|
|
1132
1132
|
id: e.id,
|
|
1133
1133
|
role: e.role,
|
|
@@ -1135,7 +1135,7 @@ function ei(e) {
|
|
|
1135
1135
|
locale: e.locale,
|
|
1136
1136
|
text: e.text,
|
|
1137
1137
|
attachments: e.attachments ?? [],
|
|
1138
|
-
operationCount:
|
|
1138
|
+
operationCount: Qr(e),
|
|
1139
1139
|
undone: e.undone,
|
|
1140
1140
|
canUndo: !1,
|
|
1141
1141
|
canRedo: !1,
|
|
@@ -1150,7 +1150,7 @@ function ei(e) {
|
|
|
1150
1150
|
function pe(e, t) {
|
|
1151
1151
|
for (let n of e) t.storedIds.add(n.id);
|
|
1152
1152
|
let n = new Map(t.items.map((e) => [e.id, e])), r = e.map((e) => {
|
|
1153
|
-
let r =
|
|
1153
|
+
let r = X(e, t), i = n.get(r.id);
|
|
1154
1154
|
return i?.status === "failed" ? {
|
|
1155
1155
|
...r,
|
|
1156
1156
|
status: i.status,
|
|
@@ -1162,7 +1162,7 @@ function ei(e) {
|
|
|
1162
1162
|
if (s) {
|
|
1163
1163
|
t.records.delete(i.id), t.records.set(s.id, a);
|
|
1164
1164
|
let e = {
|
|
1165
|
-
...
|
|
1165
|
+
...X(s, t),
|
|
1166
1166
|
status: i.status,
|
|
1167
1167
|
failure: i.failure
|
|
1168
1168
|
};
|
|
@@ -1174,7 +1174,7 @@ function ei(e) {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
return r;
|
|
1176
1176
|
}
|
|
1177
|
-
async function
|
|
1177
|
+
async function me(e, t = !1, n = !1, r = e.scope.historyGeneration) {
|
|
1178
1178
|
let { scope: a } = e;
|
|
1179
1179
|
if (!T(a) || r !== a.historyGeneration || !n && e.controller.signal.aborted || !t && a.loaded) return;
|
|
1180
1180
|
let o = a.memory;
|
|
@@ -1186,9 +1186,9 @@ function ei(e) {
|
|
|
1186
1186
|
!l && o.generation === a.generation && r === a.historyGeneration && (n || T(a) && !e.controller.signal.aborted) && (o.items = pe(t, o), a.messages.value = o.items, a.loaded = !0, a.failure.value?.context === "history" && (a.failure.value = null));
|
|
1187
1187
|
}), n ? a.lifetime.signal : e.controller.signal);
|
|
1188
1188
|
} catch (e) {
|
|
1189
|
-
if (!T(a) || r !== a.historyGeneration ||
|
|
1189
|
+
if (!T(a) || r !== a.historyGeneration || Xr(e)) return;
|
|
1190
1190
|
G(e), a.failure.value = {
|
|
1191
|
-
error:
|
|
1191
|
+
error: Zr(e),
|
|
1192
1192
|
context: "history"
|
|
1193
1193
|
};
|
|
1194
1194
|
} finally {
|
|
@@ -1196,7 +1196,7 @@ function ei(e) {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function he(e = w()) {
|
|
1200
1200
|
if (!e || !T(e)) return Promise.resolve();
|
|
1201
1201
|
if (e.pendingHistory?.generation === e.historyGeneration) return e.pendingHistory.promise;
|
|
1202
1202
|
if (e.loaded) return Promise.resolve();
|
|
@@ -1204,11 +1204,11 @@ function ei(e) {
|
|
|
1204
1204
|
generation: t,
|
|
1205
1205
|
promise: Promise.resolve()
|
|
1206
1206
|
};
|
|
1207
|
-
return n.promise = R("history", e, (e) =>
|
|
1207
|
+
return n.promise = R("history", e, (e) => me(e, !1, !1, t), () => {}).finally(() => {
|
|
1208
1208
|
e.pendingHistory === n && (e.pendingHistory = null);
|
|
1209
1209
|
}), e.pendingHistory = n, n.promise;
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1211
|
+
function ge() {
|
|
1212
1212
|
let e = w();
|
|
1213
1213
|
return !e || i && typeof i.clear != "function" || e.active && e.active.kind !== "history" && e.active.kind !== "read" || e.queue.some((e) => e.kind !== "history" && e.kind !== "read") ? Promise.resolve() : (te(e), e.active?.controller.abort(), R("clear", e, async () => {
|
|
1214
1214
|
try {
|
|
@@ -1217,39 +1217,39 @@ function ei(e) {
|
|
|
1217
1217
|
} catch (t) {
|
|
1218
1218
|
if (!T(e)) return;
|
|
1219
1219
|
G(t), e.failure.value = {
|
|
1220
|
-
error:
|
|
1220
|
+
error: Zr(t),
|
|
1221
1221
|
context: "history"
|
|
1222
1222
|
};
|
|
1223
1223
|
}
|
|
1224
1224
|
}, () => {}));
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1227
|
-
T(e) &&
|
|
1226
|
+
function ve(e) {
|
|
1227
|
+
T(e) && he(e);
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function xe(t) {
|
|
1230
1230
|
let n = w();
|
|
1231
|
-
n && T(n) && (s.value !== t && n.busy.value &&
|
|
1231
|
+
n && T(n) && (s.value !== t && n.busy.value && Te(), s.value = t, e.commentsOpen && (e.commentsOpen.value = !1), t === "chat" && ve(n));
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1234
|
-
e.length !== 0 && C("chatAttachments") && (I.value = [...e],
|
|
1233
|
+
function Se(e) {
|
|
1234
|
+
e.length !== 0 && C("chatAttachments") && (I.value = [...e], xe("chat"));
|
|
1235
1235
|
}
|
|
1236
|
-
function
|
|
1236
|
+
function Ce(e) {
|
|
1237
1237
|
e.active?.controller.abort();
|
|
1238
1238
|
for (let t of e.queue) t.kind !== "reconcile" && t.controller.abort();
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1241
|
-
e.lifetime.abort(),
|
|
1240
|
+
function we(e) {
|
|
1241
|
+
e.lifetime.abort(), Ce(e), e.busy.value = !1, e.isLoadingHistory.value = !1;
|
|
1242
1242
|
for (let t of e.timers) clearTimeout(t);
|
|
1243
1243
|
e.timers.clear();
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function Te() {
|
|
1246
1246
|
let e = w();
|
|
1247
|
-
e &&
|
|
1247
|
+
e && Ce(e);
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1250
|
-
|
|
1249
|
+
function Ee() {
|
|
1250
|
+
Te(), s.value = null;
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function ke() {
|
|
1253
1253
|
if (l) return;
|
|
1254
1254
|
p?.();
|
|
1255
1255
|
let e = f === 0, t = () => o(n.content, () => {
|
|
@@ -1261,28 +1261,28 @@ function ei(e) {
|
|
|
1261
1261
|
});
|
|
1262
1262
|
p = m?.active ? m.run(t) : t();
|
|
1263
1263
|
}
|
|
1264
|
-
|
|
1265
|
-
let
|
|
1264
|
+
ke();
|
|
1265
|
+
let Ae = [() => p?.(), o(() => n.state.isDirty, (e, t) => {
|
|
1266
1266
|
t === !0 && e === !1 && n.state.isSaving && (N.value = !1);
|
|
1267
1267
|
}, { flush: "sync" })];
|
|
1268
|
-
e.commentsOpen &&
|
|
1269
|
-
e &&
|
|
1270
|
-
})),
|
|
1268
|
+
e.commentsOpen && Ae.push(o(e.commentsOpen, (e) => {
|
|
1269
|
+
e && Ee();
|
|
1270
|
+
})), Ae.push(o(() => n.loadVersion?.value ?? g.value, () => {
|
|
1271
1271
|
if (l) return;
|
|
1272
1272
|
let e = _.value;
|
|
1273
1273
|
if (e?.committingReload && T(e)) {
|
|
1274
1274
|
e.committingReload = !1;
|
|
1275
1275
|
return;
|
|
1276
1276
|
}
|
|
1277
|
-
e &&
|
|
1277
|
+
e && we(e);
|
|
1278
1278
|
let t = g.value, n = t === null ? null : h(t);
|
|
1279
|
-
_.value = n, n && s.value === "chat" &&
|
|
1279
|
+
_.value = n, n && s.value === "chat" && ve(n);
|
|
1280
1280
|
}, { flush: "sync" }));
|
|
1281
1281
|
async function je(i, o) {
|
|
1282
1282
|
let s = b, c = w(), l = t.altText, u = new AbortController(), d = () => u.abort(o?.reason), f = () => u.abort();
|
|
1283
1283
|
try {
|
|
1284
1284
|
if (o?.throwIfAborted(), !c || typeof l != "function") throw new Q("This AI feature isn't available.", 403, "feature_unavailable");
|
|
1285
|
-
let t = E(n.content.value), p = n.activeLocale?.value ?? null, m =
|
|
1285
|
+
let t = E(n.content.value), p = n.activeLocale?.value ?? null, m = Oe(t, p ?? Z(t)), h = Gn(m, i);
|
|
1286
1286
|
if (!h) throw new Q("The image is no longer available.", 409, "block_missing");
|
|
1287
1287
|
o?.addEventListener("abort", d, { once: !0 }), c.lifetime.signal.addEventListener("abort", f, { once: !0 });
|
|
1288
1288
|
let { url: g, ..._ } = h, v = await H(l({
|
|
@@ -1302,13 +1302,13 @@ function ei(e) {
|
|
|
1302
1302
|
o?.removeEventListener("abort", d), c?.lifetime.signal.removeEventListener("abort", f);
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function Ne(e) {
|
|
1306
1306
|
let t = b, r = w();
|
|
1307
1307
|
if (!r || e.length === 0) return Promise.resolve();
|
|
1308
|
-
let i = n.activeLocale?.value ?? null, a = E(n.content.value), o =
|
|
1308
|
+
let i = n.activeLocale?.value ?? null, a = E(n.content.value), o = Oe(a, i ?? Z(a)), s = e.map(({ blockId: e, alt: t, decorative: n, expect: r }) => ({
|
|
1309
1309
|
op: "updateBlock",
|
|
1310
1310
|
blockId: e,
|
|
1311
|
-
expect: { ...r ??
|
|
1311
|
+
expect: { ...r ?? Wn(o, e) ?? {
|
|
1312
1312
|
src: null,
|
|
1313
1313
|
alt: null,
|
|
1314
1314
|
decorative: null
|
|
@@ -1325,7 +1325,7 @@ function ei(e) {
|
|
|
1325
1325
|
for (let t = 0; t < s.length; t += 100) {
|
|
1326
1326
|
V(e);
|
|
1327
1327
|
let a = oe(s.slice(t, t + 100), n, r, i);
|
|
1328
|
-
if (!a.applied) throw new
|
|
1328
|
+
if (!a.applied) throw new ye(a.message, {
|
|
1329
1329
|
code: a.code,
|
|
1330
1330
|
opIndex: a.opIndex
|
|
1331
1331
|
});
|
|
@@ -1338,13 +1338,13 @@ function ei(e) {
|
|
|
1338
1338
|
return {
|
|
1339
1339
|
capability: {
|
|
1340
1340
|
isFeatureEnabled: (e) => y.value && C(e),
|
|
1341
|
-
open:
|
|
1342
|
-
startImport:
|
|
1341
|
+
open: xe,
|
|
1342
|
+
startImport: Se,
|
|
1343
1343
|
highlightOf: (e) => _.value?.highlights.value.get(e) ?? null
|
|
1344
1344
|
},
|
|
1345
1345
|
panel: s,
|
|
1346
|
-
open:
|
|
1347
|
-
close:
|
|
1346
|
+
open: xe,
|
|
1347
|
+
close: Ee,
|
|
1348
1348
|
has: C,
|
|
1349
1349
|
templateId: g,
|
|
1350
1350
|
sessionIdentity: P(() => _.value),
|
|
@@ -1365,11 +1365,11 @@ function ei(e) {
|
|
|
1365
1365
|
failedPrompt: ee,
|
|
1366
1366
|
failedAttachments: F,
|
|
1367
1367
|
importQueue: I,
|
|
1368
|
-
startImport:
|
|
1368
|
+
startImport: Se,
|
|
1369
1369
|
isTemplateEmpty: k,
|
|
1370
1370
|
send: (e, n = []) => {
|
|
1371
1371
|
let r = t.chat;
|
|
1372
|
-
return typeof r == "function" ?
|
|
1372
|
+
return typeof r == "function" ? ue("chat", e, (t, i, a) => r({
|
|
1373
1373
|
...t,
|
|
1374
1374
|
message: e,
|
|
1375
1375
|
selectedBlockId: ie(),
|
|
@@ -1387,7 +1387,7 @@ function ei(e) {
|
|
|
1387
1387
|
},
|
|
1388
1388
|
fix: (e) => {
|
|
1389
1389
|
let n = t.fixFinding;
|
|
1390
|
-
return typeof n == "function" ?
|
|
1390
|
+
return typeof n == "function" ? ue("fix", `Fix: ${e.message}`, (t, r, i) => n({
|
|
1391
1391
|
...t,
|
|
1392
1392
|
finding: e
|
|
1393
1393
|
}, r, i)) : Promise.resolve({
|
|
@@ -1397,10 +1397,10 @@ function ei(e) {
|
|
|
1397
1397
|
failed: !0
|
|
1398
1398
|
});
|
|
1399
1399
|
},
|
|
1400
|
-
stop:
|
|
1401
|
-
newChat:
|
|
1402
|
-
undoMessage: (e) =>
|
|
1403
|
-
redoMessage: (e) =>
|
|
1400
|
+
stop: Te,
|
|
1401
|
+
newChat: ge,
|
|
1402
|
+
undoMessage: (e) => de(e, "undo"),
|
|
1403
|
+
redoMessage: (e) => de(e, "redo"),
|
|
1404
1404
|
rewrite: (e, n, r) => {
|
|
1405
1405
|
let i = b, a = w(), o = t.rewrite;
|
|
1406
1406
|
return !a || typeof o != "function" ? Promise.reject(/* @__PURE__ */ Error("Rewrite isn't available.")) : R("read", a, async (t) => {
|
|
@@ -1425,66 +1425,66 @@ function ei(e) {
|
|
|
1425
1425
|
});
|
|
1426
1426
|
},
|
|
1427
1427
|
draftAltText: je,
|
|
1428
|
-
applyAltTexts:
|
|
1428
|
+
applyAltTexts: Ne,
|
|
1429
1429
|
destroy: () => {
|
|
1430
1430
|
if (l) return;
|
|
1431
1431
|
l = !0;
|
|
1432
1432
|
let e = _.value;
|
|
1433
|
-
e &&
|
|
1434
|
-
for (let e of
|
|
1435
|
-
|
|
1433
|
+
e && we(e), _.value = null, x();
|
|
1434
|
+
for (let e of Ae) e();
|
|
1435
|
+
Ae.length = 0;
|
|
1436
1436
|
}
|
|
1437
1437
|
};
|
|
1438
1438
|
}
|
|
1439
1439
|
// src/utils/aiMergeTags.ts
|
|
1440
|
-
var
|
|
1440
|
+
var ni = {
|
|
1441
1441
|
tags: 500,
|
|
1442
1442
|
value: 200,
|
|
1443
1443
|
label: 100,
|
|
1444
1444
|
group: 100,
|
|
1445
1445
|
description: 200
|
|
1446
1446
|
};
|
|
1447
|
-
function
|
|
1447
|
+
function ri(e, t) {
|
|
1448
1448
|
let n = Array.from(e);
|
|
1449
1449
|
return n.length > t ? n.slice(0, t).join("") : e;
|
|
1450
1450
|
}
|
|
1451
|
-
function
|
|
1452
|
-
return
|
|
1451
|
+
function ii(e) {
|
|
1452
|
+
return Se(e) ?? "custom";
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function ai(e, t) {
|
|
1455
1455
|
let n = [];
|
|
1456
1456
|
for (let t of e) {
|
|
1457
|
-
if (n.length ===
|
|
1457
|
+
if (n.length === ni.tags) break;
|
|
1458
1458
|
let e = typeof t?.value == "string" ? t.value : "";
|
|
1459
|
-
e === "" || Array.from(e).length >
|
|
1459
|
+
e === "" || Array.from(e).length > ni.value || n.push({
|
|
1460
1460
|
value: e,
|
|
1461
|
-
label:
|
|
1462
|
-
...typeof t.group == "string" && t.group !== "" ? { group:
|
|
1463
|
-
...typeof t.description == "string" && t.description !== "" ? { description:
|
|
1461
|
+
label: ri(typeof t.label == "string" && t.label !== "" ? t.label : e, ni.label),
|
|
1462
|
+
...typeof t.group == "string" && t.group !== "" ? { group: ri(t.group, ni.group) } : {},
|
|
1463
|
+
...typeof t.description == "string" && t.description !== "" ? { description: ri(t.description, ni.description) } : {}
|
|
1464
1464
|
});
|
|
1465
1465
|
}
|
|
1466
1466
|
return {
|
|
1467
|
-
syntax:
|
|
1467
|
+
syntax: ii(t),
|
|
1468
1468
|
tags: n
|
|
1469
1469
|
};
|
|
1470
1470
|
}
|
|
1471
1471
|
// src/composables/useMediaFeature.ts
|
|
1472
|
-
function
|
|
1472
|
+
function oi(e) {
|
|
1473
1473
|
return e instanceof Error ? e : Error(String(e));
|
|
1474
1474
|
}
|
|
1475
|
-
function
|
|
1475
|
+
function si(e, t, n) {
|
|
1476
1476
|
let r = e.maxFileSize ?? Infinity;
|
|
1477
1477
|
if (t.size > r) return /* @__PURE__ */ Error(`Image is too large (${t.size} bytes). Maximum allowed is ${r} bytes.`);
|
|
1478
1478
|
let i = e.mimeTypes;
|
|
1479
1479
|
return !i || (n && n.length > 0 ? n : Object.keys(i)).some((e) => i[e]?.includes(t.type) ?? !1) ? null : /* @__PURE__ */ Error(`Unsupported image type: ${t.type || "unknown"}.`);
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1481
|
+
function ci(e) {
|
|
1482
1482
|
let { provider: t, onRequestMedia: n, getTemplateId: r, onError: i } = e, a = z(!1), o = z(void 0), s = P(() => r?.()), c = P(() => !!n || typeof t?.create == "function"), l = null;
|
|
1483
1483
|
function u(e) {
|
|
1484
1484
|
a.value = !1, l?.(e), l = null;
|
|
1485
1485
|
}
|
|
1486
1486
|
function d(e) {
|
|
1487
|
-
u(
|
|
1487
|
+
u(li(e));
|
|
1488
1488
|
}
|
|
1489
1489
|
function f() {
|
|
1490
1490
|
u(null);
|
|
@@ -1497,7 +1497,7 @@ function si(e) {
|
|
|
1497
1497
|
if (!t) return null;
|
|
1498
1498
|
if (e?.files?.length) {
|
|
1499
1499
|
if (typeof t.create != "function") return null;
|
|
1500
|
-
let n = e.files[0], a =
|
|
1500
|
+
let n = e.files[0], a = si(t, n, e.accept);
|
|
1501
1501
|
if (a) return i?.(a), null;
|
|
1502
1502
|
let o = r?.();
|
|
1503
1503
|
try {
|
|
@@ -1508,11 +1508,11 @@ function si(e) {
|
|
|
1508
1508
|
try {
|
|
1509
1509
|
t.onCreated?.(e);
|
|
1510
1510
|
} catch (e) {
|
|
1511
|
-
i?.(
|
|
1511
|
+
i?.(oi(e));
|
|
1512
1512
|
}
|
|
1513
|
-
return
|
|
1513
|
+
return li(e);
|
|
1514
1514
|
} catch (e) {
|
|
1515
|
-
return i?.(
|
|
1515
|
+
return i?.(oi(e)), null;
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
1518
|
return l &&= (l(null), null), o.value = e?.accept, a.value = !0, new Promise((e) => {
|
|
@@ -1528,7 +1528,7 @@ function si(e) {
|
|
|
1528
1528
|
onError: i
|
|
1529
1529
|
};
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function li(e) {
|
|
1532
1532
|
let t = ie(e.width, e.height);
|
|
1533
1533
|
return {
|
|
1534
1534
|
url: e.url,
|
|
@@ -1540,7 +1540,7 @@ function ci(e) {
|
|
|
1540
1540
|
};
|
|
1541
1541
|
}
|
|
1542
1542
|
// src/composables/useSavedBlocksFeature.ts
|
|
1543
|
-
function
|
|
1543
|
+
function ui(e) {
|
|
1544
1544
|
let { provider: t, editor: n } = e, r = se({
|
|
1545
1545
|
provider: t,
|
|
1546
1546
|
onError: e.onError
|
|
@@ -1621,11 +1621,11 @@ function li(e) {
|
|
|
1621
1621
|
};
|
|
1622
1622
|
}
|
|
1623
1623
|
// src/composables/useTemplatesFeature.ts
|
|
1624
|
-
var
|
|
1625
|
-
function
|
|
1626
|
-
let { provider: t, editor: n } = e, r = z("idle"), i = z(""), { start: a, stop: o } =
|
|
1624
|
+
var di = 3e3;
|
|
1625
|
+
function fi(e) {
|
|
1626
|
+
let { provider: t, editor: n } = e, r = z("idle"), i = z(""), { start: a, stop: o } = rr(() => {
|
|
1627
1627
|
r.value = "idle";
|
|
1628
|
-
},
|
|
1628
|
+
}, di, { immediate: !1 }), s = P(() => typeof t.create == "function"), c = P(() => typeof t.save == "function"), l = P(() => e.isAvailable?.() ?? !0), u = P(() => n.state.template?.name), d = P(() => {
|
|
1629
1629
|
let e = n.state.template;
|
|
1630
1630
|
return e?.updatedAt ? {
|
|
1631
1631
|
iso: e.updatedAt,
|
|
@@ -1689,7 +1689,7 @@ function di(e) {
|
|
|
1689
1689
|
let t = e.trim();
|
|
1690
1690
|
t && t !== n.state.template?.name && (n.setName(t), S("rename"));
|
|
1691
1691
|
}
|
|
1692
|
-
return e.guardUnsavedChanges !== !1 &&
|
|
1692
|
+
return e.guardUnsavedChanges !== !1 && Xn(window, "beforeunload", (e) => {
|
|
1693
1693
|
n.state.isDirty && (e.preventDefault(), e.returnValue = "");
|
|
1694
1694
|
}), {
|
|
1695
1695
|
save: g,
|
|
@@ -1723,15 +1723,15 @@ function di(e) {
|
|
|
1723
1723
|
};
|
|
1724
1724
|
}
|
|
1725
1725
|
// src/utils/toMjml.ts
|
|
1726
|
-
async function
|
|
1726
|
+
async function pi() {
|
|
1727
1727
|
try {
|
|
1728
|
-
return await import("./chunks/src-
|
|
1728
|
+
return await import("./chunks/src-B7X7x_ST.js");
|
|
1729
1729
|
} catch {
|
|
1730
1730
|
return null;
|
|
1731
1731
|
}
|
|
1732
1732
|
}
|
|
1733
|
-
async function
|
|
1734
|
-
let n = await
|
|
1733
|
+
async function mi(e, t) {
|
|
1734
|
+
let n = await pi();
|
|
1735
1735
|
if (!n) throw Error("[Templatical] toMjml() requires the @templatical/renderer package. Please install it.");
|
|
1736
1736
|
let r = e.getCustomBlockStylesheet, i = e.getFonts?.(), a = e.getLayout?.();
|
|
1737
1737
|
return n.renderToMjml(e.getContent(), {
|
|
@@ -1747,11 +1747,11 @@ async function pi(e, t) {
|
|
|
1747
1747
|
});
|
|
1748
1748
|
}
|
|
1749
1749
|
// src/composables/useTestEmailFeature.ts
|
|
1750
|
-
var
|
|
1751
|
-
function
|
|
1750
|
+
var hi = 1200;
|
|
1751
|
+
function gi(e) {
|
|
1752
1752
|
return e instanceof Error ? e : Error(String(e));
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1754
|
+
function _i(e) {
|
|
1755
1755
|
let { provider: t } = e, n = z(!1), r = z(!1), i = z(!1), a = z(null), o = null, s = !1;
|
|
1756
1756
|
function c() {
|
|
1757
1757
|
o !== null && (clearTimeout(o), o = null);
|
|
@@ -1773,8 +1773,8 @@ function gi(e) {
|
|
|
1773
1773
|
if (t.includeMjml && e.renderMjml) try {
|
|
1774
1774
|
return await e.renderMjml();
|
|
1775
1775
|
} catch (t) {
|
|
1776
|
-
if ((e.usesLocalRenderer?.() ?? !0) && await
|
|
1777
|
-
s || (s = !0,
|
|
1776
|
+
if ((e.usesLocalRenderer?.() ?? !0) && await pi() === null) {
|
|
1777
|
+
s || (s = !0, Zn.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
|
|
1778
1778
|
return;
|
|
1779
1779
|
}
|
|
1780
1780
|
throw t;
|
|
@@ -1784,7 +1784,7 @@ function gi(e) {
|
|
|
1784
1784
|
try {
|
|
1785
1785
|
t.onSent?.(n);
|
|
1786
1786
|
} catch (t) {
|
|
1787
|
-
e.onError?.(
|
|
1787
|
+
e.onError?.(gi(t));
|
|
1788
1788
|
}
|
|
1789
1789
|
}
|
|
1790
1790
|
async function _(n) {
|
|
@@ -1800,9 +1800,9 @@ function gi(e) {
|
|
|
1800
1800
|
...r === void 0 ? {} : { mjml: r },
|
|
1801
1801
|
...s === void 0 ? {} : { allowedRecipients: s }
|
|
1802
1802
|
};
|
|
1803
|
-
await t.send(a), i.value = !0, o = setTimeout(p,
|
|
1803
|
+
await t.send(a), i.value = !0, o = setTimeout(p, hi), g(a);
|
|
1804
1804
|
} catch (t) {
|
|
1805
|
-
let n =
|
|
1805
|
+
let n = gi(t);
|
|
1806
1806
|
a.value = {
|
|
1807
1807
|
kind: "provider",
|
|
1808
1808
|
message: n.message
|
|
@@ -1830,7 +1830,7 @@ function gi(e) {
|
|
|
1830
1830
|
};
|
|
1831
1831
|
}
|
|
1832
1832
|
// src/composables/useVersionHistoryFeature.ts
|
|
1833
|
-
function
|
|
1833
|
+
function vi(e) {
|
|
1834
1834
|
let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = e.collaboration ?? null, s = J({
|
|
1835
1835
|
provider: t,
|
|
1836
1836
|
getTemplateId: () => n.state.template?.id ?? null,
|
|
@@ -1857,7 +1857,7 @@ function _i(e) {
|
|
|
1857
1857
|
return;
|
|
1858
1858
|
}
|
|
1859
1859
|
let t = await s.resolveContent(e);
|
|
1860
|
-
f || (l.value =
|
|
1860
|
+
f || (l.value = De(n.content.value), a?.pause(), o?.suspend(), c.value = e, n.setContent(t, !1));
|
|
1861
1861
|
}
|
|
1862
1862
|
async function E() {
|
|
1863
1863
|
c.value && (n.state.isDirty ? u.value = !0 : await A());
|
|
@@ -1941,11 +1941,11 @@ function _i(e) {
|
|
|
1941
1941
|
};
|
|
1942
1942
|
}
|
|
1943
1943
|
// src/types/auto-save.ts
|
|
1944
|
-
function
|
|
1944
|
+
function yi(e, t) {
|
|
1945
1945
|
return e ?? t;
|
|
1946
1946
|
}
|
|
1947
1947
|
// src/utils/resolveInsertPosition.ts
|
|
1948
|
-
function
|
|
1948
|
+
function bi(e) {
|
|
1949
1949
|
let { blockType: t, selectedBlockId: n, findBlockLocation: r, isBlockLocked: i } = e;
|
|
1950
1950
|
if (!n) return {};
|
|
1951
1951
|
let a = r(n);
|
|
@@ -1962,8 +1962,8 @@ function yi(e) {
|
|
|
1962
1962
|
};
|
|
1963
1963
|
}
|
|
1964
1964
|
// src/utils/insertBlockAtSelection.ts
|
|
1965
|
-
function
|
|
1966
|
-
let { targetSectionId: n, columnIndex: r, index: i } =
|
|
1965
|
+
function xi(e, t) {
|
|
1966
|
+
let { targetSectionId: n, columnIndex: r, index: i } = bi({
|
|
1967
1967
|
blockType: t.type,
|
|
1968
1968
|
selectedBlockId: e.state.selectedBlockId,
|
|
1969
1969
|
findBlockLocation: e.findBlockLocation,
|
|
@@ -1972,7 +1972,7 @@ function bi(e, t) {
|
|
|
1972
1972
|
return e.addBlock(t, n, r, i), e.findBlockLocation(t.id) ? (e.selectBlock(t.id), !0) : !1;
|
|
1973
1973
|
}
|
|
1974
1974
|
// src/utils/withCollaborativeSave.ts
|
|
1975
|
-
function
|
|
1975
|
+
function Si(e, t, n) {
|
|
1976
1976
|
let { save: r, create: i } = e;
|
|
1977
1977
|
if (typeof r != "function") return e;
|
|
1978
1978
|
let a = /* @__PURE__ */ new Map(), o = (e) => (a.set(e.id, e.name), e);
|
|
@@ -1988,27 +1988,27 @@ function xi(e, t, n) {
|
|
|
1988
1988
|
};
|
|
1989
1989
|
}
|
|
1990
1990
|
// src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
|
|
1991
|
-
var
|
|
1991
|
+
var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
|
|
1992
1992
|
key: 0,
|
|
1993
1993
|
role: "status",
|
|
1994
1994
|
"aria-busy": "true",
|
|
1995
1995
|
"data-testid": "preview-resolution-loading",
|
|
1996
1996
|
class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-6"
|
|
1997
|
-
},
|
|
1997
|
+
}, Ei = { class: "tpl:sr-only" }, Di = {
|
|
1998
1998
|
key: 1,
|
|
1999
1999
|
role: "status",
|
|
2000
2000
|
"data-testid": "preview-resolution-failed",
|
|
2001
2001
|
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)]"
|
|
2002
|
-
},
|
|
2002
|
+
}, Oi = {
|
|
2003
2003
|
key: 0,
|
|
2004
2004
|
class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
|
|
2005
|
-
},
|
|
2005
|
+
}, ki = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, Ai = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, ji = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, Mi = {
|
|
2006
2006
|
key: 0,
|
|
2007
2007
|
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)]"
|
|
2008
|
-
},
|
|
2008
|
+
}, Ni = {
|
|
2009
2009
|
key: 1,
|
|
2010
2010
|
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)]"
|
|
2011
|
-
},
|
|
2011
|
+
}, Pi = { class: "tpl:relative" }, Fi = /*#__PURE__*/ Be(/* @__PURE__ */ n({
|
|
2012
2012
|
__name: "Canvas",
|
|
2013
2013
|
props: {
|
|
2014
2014
|
viewport: {},
|
|
@@ -2020,25 +2020,25 @@ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
|
|
|
2020
2020
|
emits: ["select-block"],
|
|
2021
2021
|
setup(n, { emit: r }) {
|
|
2022
2022
|
let o = {
|
|
2023
|
-
section:
|
|
2024
|
-
title:
|
|
2025
|
-
paragraph:
|
|
2026
|
-
image:
|
|
2027
|
-
button:
|
|
2028
|
-
divider:
|
|
2029
|
-
spacer:
|
|
2030
|
-
html:
|
|
2031
|
-
social:
|
|
2032
|
-
menu:
|
|
2033
|
-
table:
|
|
2034
|
-
video:
|
|
2035
|
-
custom:
|
|
2036
|
-
wrapper:
|
|
2037
|
-
}, u = n, d = r, { t: p } = $(), m =
|
|
2023
|
+
section: Mn,
|
|
2024
|
+
title: Pn,
|
|
2025
|
+
paragraph: An,
|
|
2026
|
+
image: Sn,
|
|
2027
|
+
button: _n,
|
|
2028
|
+
divider: hn,
|
|
2029
|
+
spacer: gn,
|
|
2030
|
+
html: xn,
|
|
2031
|
+
social: kn,
|
|
2032
|
+
menu: Dn,
|
|
2033
|
+
table: Cn,
|
|
2034
|
+
video: jn,
|
|
2035
|
+
custom: Fn,
|
|
2036
|
+
wrapper: Qn
|
|
2037
|
+
}, u = n, d = r, { t: p } = $(), m = Wt(Gt, "Canvas"), { displayBlock: h, settings: g } = ft({
|
|
2038
2038
|
content: P(() => u.content),
|
|
2039
2039
|
activeLocale: P(() => u.previewMode ? null : m.activeLocale?.value ?? null)
|
|
2040
|
-
}), _ =
|
|
2041
|
-
s(Ct, P(() => u.previewMode)), s(
|
|
2040
|
+
}), _ = Wt(Tt, "Canvas"), v = f(It, null), x = f(Pt, null), E = f(Ot, {}), D = f(St, null), O = f(_t, null);
|
|
2041
|
+
s(Ct, P(() => u.previewMode)), s(Ft, P(() => u.previewMode && (D?.value ?? !1) && !O?.isConfigured)), s(kt, P(() => u.previewMode && (O?.isShowingResolved.value ?? !1)));
|
|
2042
2042
|
let k = P(() => E.ai?.isFeatureEnabled("chat") ?? !1), M = P(() => k.value && (E.ai?.isFeatureEnabled("chatAttachments") ?? !1)), N = z(null);
|
|
2043
2043
|
function ee() {
|
|
2044
2044
|
N.value?.click();
|
|
@@ -2050,9 +2050,9 @@ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
|
|
|
2050
2050
|
let L = f(wt, null), V = P({
|
|
2051
2051
|
get: () => u.content.blocks,
|
|
2052
2052
|
set: (e) => {
|
|
2053
|
-
u.previewMode ||
|
|
2053
|
+
u.previewMode || bn(m, e);
|
|
2054
2054
|
}
|
|
2055
|
-
}), U = P(() => ce(g.value, u.viewport)), ne = P(() => U.value + 192), W = P(() =>
|
|
2055
|
+
}), U = P(() => ce(g.value, u.viewport)), ne = P(() => U.value + 192), W = P(() => cn(g.value, _.resolveFontFamily)), G = P(() => g.value?.locale?.trim() || void 0), K = P(() => ke(g.value)), q = P(() => V.value.length === 0 && !u.previewMode), J = z(0), re = P(() => q.value && J.value > 0);
|
|
2056
2056
|
function ie() {
|
|
2057
2057
|
q.value && (J.value += 1);
|
|
2058
2058
|
}
|
|
@@ -2066,7 +2066,7 @@ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
|
|
|
2066
2066
|
u.previewMode || E.savedBlocks?.isPicking.value || e.target === e.currentTarget && d("select-block", null);
|
|
2067
2067
|
}
|
|
2068
2068
|
function le(e) {
|
|
2069
|
-
return
|
|
2069
|
+
return pn(e, x, o);
|
|
2070
2070
|
}
|
|
2071
2071
|
function ue(e) {
|
|
2072
2072
|
return E.collaboration?.lockOf(e) != null;
|
|
@@ -2109,7 +2109,7 @@ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
|
|
|
2109
2109
|
class: "tpl-canvas-wrapper tpl:relative",
|
|
2110
2110
|
style: F({
|
|
2111
2111
|
width: `${U.value}px`,
|
|
2112
|
-
[S(
|
|
2112
|
+
[S(In)]: `${U.value}px`,
|
|
2113
2113
|
transition: S(oe)
|
|
2114
2114
|
})
|
|
2115
2115
|
}, [A("div", {
|
|
@@ -2121,11 +2121,11 @@ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
|
|
|
2121
2121
|
dir: K.value,
|
|
2122
2122
|
style: F(W.value),
|
|
2123
2123
|
onClick: Y
|
|
2124
|
-
}, [S(O)?.isInitialResolve.value ? (i(), y("div",
|
|
2124
|
+
}, [S(O)?.isInitialResolve.value ? (i(), y("div", Ti, [A("span", Ei, j(S(p).previewResolution.resolving), 1), (i(), y(B, null, l(3, (e) => A("div", {
|
|
2125
2125
|
key: e,
|
|
2126
2126
|
"aria-hidden": "true",
|
|
2127
2127
|
class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
|
|
2128
|
-
})), 64))])) : S(O)?.hasFailed.value ? (i(), y("p",
|
|
2128
|
+
})), 64))])) : S(O)?.hasFailed.value ? (i(), y("p", Di, j(S(p).previewResolution.failed), 1)) : w("", !0), c(H(S(R), {
|
|
2129
2129
|
modelValue: V.value,
|
|
2130
2130
|
"onUpdate:modelValue": o[1] ||= (e) => V.value = e,
|
|
2131
2131
|
group: "blocks",
|
|
@@ -2144,19 +2144,19 @@ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
|
|
|
2144
2144
|
q.value && re.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
|
|
2145
2145
|
q.value && !re.value ? "tpl:border-[var(--tpl-primary)]" : ""
|
|
2146
2146
|
]),
|
|
2147
|
-
onUpdate: o[2] ||= (e) => !n.previewMode && S(
|
|
2147
|
+
onUpdate: o[2] ||= (e) => !n.previewMode && S(bn)(S(m), V.value, void 0, 0, e),
|
|
2148
2148
|
onDragenter: ie,
|
|
2149
2149
|
onDragleave: ae,
|
|
2150
2150
|
onDrop: se
|
|
2151
2151
|
}, {
|
|
2152
|
-
default: a(() => [q.value ? (i(), y("div",
|
|
2153
|
-
A("div",
|
|
2152
|
+
default: a(() => [q.value ? (i(), y("div", Oi, [
|
|
2153
|
+
A("div", ki, [H(S(Ke), {
|
|
2154
2154
|
size: 48,
|
|
2155
2155
|
"stroke-width": 1
|
|
2156
2156
|
})]),
|
|
2157
|
-
A("p",
|
|
2158
|
-
A("p",
|
|
2159
|
-
k.value ? (i(), y("p",
|
|
2157
|
+
A("p", Ai, j(S(p).canvas.noBlocks), 1),
|
|
2158
|
+
A("p", ji, j(S(p).canvas.dragHint), 1),
|
|
2159
|
+
k.value ? (i(), y("p", Mi, [
|
|
2160
2160
|
b(j(S(p).ai.canvas.chatHint) + " ", 1),
|
|
2161
2161
|
A("button", {
|
|
2162
2162
|
type: "button",
|
|
@@ -2170,7 +2170,7 @@ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
|
|
|
2170
2170
|
}), b(" " + j(S(p).ai.menu.chat), 1)]),
|
|
2171
2171
|
b(" " + j(S(p).ai.canvas.chatHintSuffix), 1)
|
|
2172
2172
|
])) : w("", !0),
|
|
2173
|
-
M.value ? (i(), y("p",
|
|
2173
|
+
M.value ? (i(), y("p", Ni, [
|
|
2174
2174
|
b(j(S(p).ai.canvas.importHint) + " ", 1),
|
|
2175
2175
|
A("button", {
|
|
2176
2176
|
type: "button",
|
|
@@ -2195,11 +2195,11 @@ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
|
|
|
2195
2195
|
])) : w("", !0), (i(!0), y(B, null, l(V.value, (r) => c((i(), y("div", {
|
|
2196
2196
|
key: r.id,
|
|
2197
2197
|
class: "tpl-block-item"
|
|
2198
|
-
}, [A("div",
|
|
2198
|
+
}, [A("div", Pi, [r.type === "wrapper" ? (i(), T(t(le(r)), {
|
|
2199
2199
|
key: 0,
|
|
2200
2200
|
block: r,
|
|
2201
2201
|
viewport: n.viewport
|
|
2202
|
-
}, null, 8, ["block", "viewport"])) : (i(), T(
|
|
2202
|
+
}, null, 8, ["block", "viewport"])) : (i(), T(yn, {
|
|
2203
2203
|
key: 1,
|
|
2204
2204
|
block: r,
|
|
2205
2205
|
"display-block": S(h)(r),
|
|
@@ -2234,12 +2234,12 @@ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
|
|
|
2234
2234
|
"modelValue",
|
|
2235
2235
|
"disabled",
|
|
2236
2236
|
"class"
|
|
2237
|
-
]), [[te, !S(O)?.isInitialResolve.value]])], 14,
|
|
2237
|
+
]), [[te, !S(O)?.isInitialResolve.value]])], 14, wi)], 12, Ci)], 4));
|
|
2238
2238
|
}
|
|
2239
|
-
}), [["__scopeId", "data-v-
|
|
2239
|
+
}), [["__scopeId", "data-v-f91fe466"]]), Ii = n({
|
|
2240
2240
|
name: "CustomBlockStylesheets",
|
|
2241
2241
|
setup() {
|
|
2242
|
-
let e = f(
|
|
2242
|
+
let e = f(At, null);
|
|
2243
2243
|
return () => e ? e.value.map((e, t) => r("style", {
|
|
2244
2244
|
key: t,
|
|
2245
2245
|
"data-tpl-custom-block-stylesheet": "",
|
|
@@ -2248,7 +2248,7 @@ var Si = ["aria-label"], Ci = ["lang", "dir"], wi = {
|
|
|
2248
2248
|
}
|
|
2249
2249
|
});
|
|
2250
2250
|
// src/utils/resolvePaletteBlocks.ts
|
|
2251
|
-
function
|
|
2251
|
+
function Li(e, t) {
|
|
2252
2252
|
if (!t || t.length === 0) return {
|
|
2253
2253
|
items: e,
|
|
2254
2254
|
unknown: []
|
|
@@ -2266,24 +2266,24 @@ function Ii(e, t) {
|
|
|
2266
2266
|
};
|
|
2267
2267
|
}
|
|
2268
2268
|
// src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
|
|
2269
|
-
var
|
|
2269
|
+
var Ri = ["aria-label"], zi = {
|
|
2270
2270
|
key: 0,
|
|
2271
2271
|
class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
|
|
2272
|
-
},
|
|
2272
|
+
}, Bi = ["aria-label"], Vi = {
|
|
2273
2273
|
key: 0,
|
|
2274
2274
|
class: "tpl:truncate tpl:text-sm tpl:font-medium"
|
|
2275
|
-
},
|
|
2275
|
+
}, Hi = [
|
|
2276
2276
|
"data-palette-type",
|
|
2277
2277
|
"aria-label",
|
|
2278
2278
|
"onClick",
|
|
2279
2279
|
"onKeydown"
|
|
2280
|
-
],
|
|
2280
|
+
], Ui = { 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" }, Wi = {
|
|
2281
2281
|
key: 0,
|
|
2282
2282
|
class: "tpl:truncate tpl:text-sm tpl:font-medium"
|
|
2283
|
-
},
|
|
2283
|
+
}, Gi = 4, Ki = /* @__PURE__ */ n({
|
|
2284
2284
|
__name: "Sidebar",
|
|
2285
2285
|
setup(e) {
|
|
2286
|
-
let { t: n, format: r } = $(), s = f(
|
|
2286
|
+
let { t: n, format: r } = $(), s = f(jt, []), c = f(vt, void 0), u = f(Et, void 0), d = f(Gt, null), p = Yn(), h = f(Ot, {}), g = P(() => h.savedBlocks?.isAvailable.value === !0), _ = z(!1), v = z(!1), b = z(null), x = !1, C = 0;
|
|
2287
2287
|
m(() => {
|
|
2288
2288
|
window.clearTimeout(C);
|
|
2289
2289
|
});
|
|
@@ -2324,7 +2324,7 @@ var Li = ["aria-label"], Ri = {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
let L = [
|
|
2326
2326
|
"section",
|
|
2327
|
-
|
|
2327
|
+
vn,
|
|
2328
2328
|
"image",
|
|
2329
2329
|
"title",
|
|
2330
2330
|
"paragraph",
|
|
@@ -2350,21 +2350,21 @@ var Li = ["aria-label"], Ri = {
|
|
|
2350
2350
|
label: e.name,
|
|
2351
2351
|
isCustom: !0,
|
|
2352
2352
|
icon: e.icon
|
|
2353
|
-
}))), U = P(() => [...te.value, ...V.value]), ne = P(() =>
|
|
2353
|
+
}))), U = P(() => [...te.value, ...V.value]), ne = P(() => Li(U.value, c)), W = P(() => ne.value.items), G = /* @__PURE__ */ new Set();
|
|
2354
2354
|
o(() => ne.value.unknown, (e) => {
|
|
2355
|
-
for (let t of e) G.has(t) || (G.add(t),
|
|
2355
|
+
for (let t of e) G.has(t) || (G.add(t), Zn.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.`));
|
|
2356
2356
|
}, { immediate: !0 });
|
|
2357
2357
|
function K(e) {
|
|
2358
2358
|
if (e.isCustom) {
|
|
2359
2359
|
let t = e.type.replace("custom:", ""), n = s.find((e) => e.type === t);
|
|
2360
|
-
if (n) return
|
|
2360
|
+
if (n) return xe(n);
|
|
2361
2361
|
}
|
|
2362
|
-
return e.type === "hero" ?
|
|
2362
|
+
return e.type === "hero" ? En(u?.value, n.blockDefaults.paragraph) : Re(e.type, u?.value);
|
|
2363
2363
|
}
|
|
2364
2364
|
function q(e) {
|
|
2365
2365
|
if (!d) return;
|
|
2366
2366
|
let t = K(e);
|
|
2367
|
-
|
|
2367
|
+
xi(d, t) && p(t.id);
|
|
2368
2368
|
}
|
|
2369
2369
|
function J(e) {
|
|
2370
2370
|
x || q(e);
|
|
@@ -2388,7 +2388,7 @@ var Li = ["aria-label"], Ri = {
|
|
|
2388
2388
|
onMouseleave: D,
|
|
2389
2389
|
onFocusin: o[2] ||= (e) => _.value = !0,
|
|
2390
2390
|
onFocusout: N
|
|
2391
|
-
}, [g.value ? (i(), y("div",
|
|
2391
|
+
}, [g.value ? (i(), y("div", zi, [A("button", {
|
|
2392
2392
|
type: "button",
|
|
2393
2393
|
"aria-label": S(n).sidebarNav.browseSavedBlocks,
|
|
2394
2394
|
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)]",
|
|
@@ -2398,7 +2398,7 @@ var Li = ["aria-label"], Ri = {
|
|
|
2398
2398
|
size: 20,
|
|
2399
2399
|
"stroke-width": 1.5,
|
|
2400
2400
|
class: "tpl:shrink-0"
|
|
2401
|
-
}), _.value ? (i(), y("span",
|
|
2401
|
+
}), _.value ? (i(), y("span", Vi, j(S(n).savedBlocks.title), 1)) : w("", !0)], 12, Bi)])) : w("", !0), H(S(R), {
|
|
2402
2402
|
"model-value": W.value,
|
|
2403
2403
|
group: {
|
|
2404
2404
|
name: "blocks",
|
|
@@ -2409,7 +2409,7 @@ var Li = ["aria-label"], Ri = {
|
|
|
2409
2409
|
sort: !1,
|
|
2410
2410
|
animation: 150,
|
|
2411
2411
|
"force-fallback": !0,
|
|
2412
|
-
"fallback-tolerance":
|
|
2412
|
+
"fallback-tolerance": Gi,
|
|
2413
2413
|
class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-0.5 tpl:overflow-y-auto tpl:p-1",
|
|
2414
2414
|
onChoose: O,
|
|
2415
2415
|
onStart: M,
|
|
@@ -2425,58 +2425,58 @@ var Li = ["aria-label"], Ri = {
|
|
|
2425
2425
|
style: F({ justifyContent: _.value ? "flex-start" : "center" }),
|
|
2426
2426
|
onClick: (t) => J(e),
|
|
2427
2427
|
onKeydown: (t) => re(t, e)
|
|
2428
|
-
}, [A("div",
|
|
2428
|
+
}, [A("div", Ui, [S($n)[e.type] ? (i(), T(t(S($n)[e.type]), {
|
|
2429
2429
|
key: 0,
|
|
2430
2430
|
size: 20,
|
|
2431
2431
|
"stroke-width": 1.5
|
|
2432
|
-
})) : e.isCustom ? (i(), T(
|
|
2432
|
+
})) : e.isCustom ? (i(), T(Ln, {
|
|
2433
2433
|
key: 1,
|
|
2434
2434
|
icon: e.icon,
|
|
2435
2435
|
size: 20
|
|
2436
|
-
}, null, 8, ["icon"])) : w("", !0)]), _.value ? (i(), y("span",
|
|
2436
|
+
}, null, 8, ["icon"])) : w("", !0)]), _.value ? (i(), y("span", Wi, j(e.label), 1)) : w("", !0)], 44, Hi))), 128))]),
|
|
2437
2437
|
_: 1
|
|
2438
|
-
}, 8, ["model-value"])], 44,
|
|
2438
|
+
}, 8, ["model-value"])], 44, Ri));
|
|
2439
2439
|
}
|
|
2440
|
-
}),
|
|
2440
|
+
}), qi = ["aria-label"], Ji = {
|
|
2441
2441
|
role: "tablist",
|
|
2442
2442
|
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"
|
|
2443
|
-
},
|
|
2443
|
+
}, Yi = [
|
|
2444
2444
|
"aria-selected",
|
|
2445
2445
|
"aria-label",
|
|
2446
2446
|
"title"
|
|
2447
|
-
],
|
|
2447
|
+
], Xi = { key: 0 }, Zi = [
|
|
2448
2448
|
"aria-selected",
|
|
2449
2449
|
"aria-label",
|
|
2450
2450
|
"title"
|
|
2451
|
-
],
|
|
2451
|
+
], Qi = { key: 0 }, $i = [
|
|
2452
2452
|
"aria-selected",
|
|
2453
2453
|
"aria-label",
|
|
2454
2454
|
"title"
|
|
2455
|
-
],
|
|
2455
|
+
], ea = { key: 0 }, ta = {
|
|
2456
2456
|
key: 1,
|
|
2457
2457
|
class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
|
|
2458
|
-
},
|
|
2458
|
+
}, na = {
|
|
2459
2459
|
key: 0,
|
|
2460
2460
|
id: "tpl-tabpanel-content",
|
|
2461
2461
|
role: "tabpanel",
|
|
2462
2462
|
"aria-labelledby": "tpl-tab-content",
|
|
2463
2463
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
2464
|
-
},
|
|
2464
|
+
}, ra = {
|
|
2465
2465
|
key: 1,
|
|
2466
2466
|
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)]"
|
|
2467
|
-
},
|
|
2467
|
+
}, ia = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, aa = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, oa = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, sa = {
|
|
2468
2468
|
key: 1,
|
|
2469
2469
|
id: "tpl-tabpanel-settings",
|
|
2470
2470
|
role: "tabpanel",
|
|
2471
2471
|
"aria-labelledby": "tpl-tab-settings",
|
|
2472
2472
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
2473
|
-
},
|
|
2473
|
+
}, ca = {
|
|
2474
2474
|
key: 2,
|
|
2475
2475
|
id: "tpl-tabpanel-issues",
|
|
2476
2476
|
role: "tabpanel",
|
|
2477
2477
|
"aria-labelledby": "tpl-tab-issues",
|
|
2478
2478
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
2479
|
-
},
|
|
2479
|
+
}, la = /* @__PURE__ */ n({
|
|
2480
2480
|
__name: "RightSidebar",
|
|
2481
2481
|
props: /*@__PURE__*/ O({
|
|
2482
2482
|
selectedBlock: {},
|
|
@@ -2493,7 +2493,7 @@ var Li = ["aria-label"], Ri = {
|
|
|
2493
2493
|
"update-settings"
|
|
2494
2494
|
], ["update:tab"]),
|
|
2495
2495
|
setup(e, { emit: t }) {
|
|
2496
|
-
let n = g(() => import("./chunks/Toolbar-
|
|
2496
|
+
let n = g(() => import("./chunks/Toolbar-CYnnArxv.js").then((e) => e.t)), r = g(() => import("./chunks/TemplateSettings-BRc878ZF.js")), a = g(() => import("./chunks/IssuesPanel-BhcSzwuL.js")), s = e, c = t, { t: l } = $(), u = _(e, "tab"), d = f(Rt, null), p = P(() => d !== null && !d.unavailable.value), m = P(() => d?.issues.value.length ?? 0), h = f(Bt, new Set(er)), v = P(() => h.size > 0);
|
|
2497
2497
|
function b(e) {
|
|
2498
2498
|
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)]";
|
|
2499
2499
|
}
|
|
@@ -2511,7 +2511,7 @@ var Li = ["aria-label"], Ri = {
|
|
|
2511
2511
|
"aria-label": S(l).landmarks.rightSidebar,
|
|
2512
2512
|
class: C(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:box-border tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
|
|
2513
2513
|
}, [
|
|
2514
|
-
A("div",
|
|
2514
|
+
A("div", Ji, [
|
|
2515
2515
|
A("button", {
|
|
2516
2516
|
id: "tpl-tab-content",
|
|
2517
2517
|
role: "tab",
|
|
@@ -2525,7 +2525,7 @@ var Li = ["aria-label"], Ri = {
|
|
|
2525
2525
|
}, [H(S(ct), {
|
|
2526
2526
|
size: 14,
|
|
2527
2527
|
"stroke-width": 2
|
|
2528
|
-
}), u.value === "content" ? (i(), y("span",
|
|
2528
|
+
}), u.value === "content" ? (i(), y("span", Xi, j(S(l).sidebar.content), 1)) : w("", !0)], 14, Yi),
|
|
2529
2529
|
v.value ? (i(), y("button", {
|
|
2530
2530
|
key: 0,
|
|
2531
2531
|
id: "tpl-tab-settings",
|
|
@@ -2540,7 +2540,7 @@ var Li = ["aria-label"], Ri = {
|
|
|
2540
2540
|
}, [H(S(He), {
|
|
2541
2541
|
size: 14,
|
|
2542
2542
|
"stroke-width": 1.5
|
|
2543
|
-
}), u.value === "settings" ? (i(), y("span",
|
|
2543
|
+
}), u.value === "settings" ? (i(), y("span", Qi, j(S(l).sidebar.settings), 1)) : w("", !0)], 14, Zi)) : w("", !0),
|
|
2544
2544
|
p.value ? (i(), y("button", {
|
|
2545
2545
|
key: 1,
|
|
2546
2546
|
id: "tpl-tab-issues",
|
|
@@ -2557,65 +2557,65 @@ var Li = ["aria-label"], Ri = {
|
|
|
2557
2557
|
size: 14,
|
|
2558
2558
|
"stroke-width": 1.5
|
|
2559
2559
|
}),
|
|
2560
|
-
u.value === "issues" ? (i(), y("span",
|
|
2561
|
-
m.value > 0 ? (i(), y("span",
|
|
2562
|
-
], 14,
|
|
2560
|
+
u.value === "issues" ? (i(), y("span", ea, j(S(l).issues.panelTabLabel), 1)) : w("", !0),
|
|
2561
|
+
m.value > 0 ? (i(), y("span", ta, j(m.value), 1)) : w("", !0)
|
|
2562
|
+
], 14, $i)) : w("", !0)
|
|
2563
2563
|
]),
|
|
2564
|
-
u.value === "content" ? (i(), y("div",
|
|
2564
|
+
u.value === "content" ? (i(), y("div", na, [e.selectedBlock ? (i(), T(S(n), {
|
|
2565
2565
|
key: 0,
|
|
2566
2566
|
block: e.selectedBlock,
|
|
2567
2567
|
onUpdate: o[3] ||= (e) => c("update-block", e),
|
|
2568
2568
|
onDelete: o[4] ||= (e) => c("delete-block"),
|
|
2569
2569
|
onDuplicate: o[5] ||= (e) => c("duplicate-block")
|
|
2570
|
-
}, null, 8, ["block"])) : (i(), y("div",
|
|
2571
|
-
A("div",
|
|
2570
|
+
}, null, 8, ["block"])) : (i(), y("div", ra, [
|
|
2571
|
+
A("div", ia, [H(S(it), {
|
|
2572
2572
|
size: 40,
|
|
2573
2573
|
"stroke-width": 1.5
|
|
2574
2574
|
})]),
|
|
2575
|
-
A("h3",
|
|
2576
|
-
A("p",
|
|
2575
|
+
A("h3", aa, j(S(l).sidebar.noSelection), 1),
|
|
2576
|
+
A("p", oa, j(S(l).sidebar.noSelectionHint), 1)
|
|
2577
2577
|
]))])) : w("", !0),
|
|
2578
|
-
u.value === "settings" && v.value ? (i(), y("div",
|
|
2578
|
+
u.value === "settings" && v.value ? (i(), y("div", sa, [H(S(r), {
|
|
2579
2579
|
settings: e.settings,
|
|
2580
2580
|
onUpdate: o[6] ||= (e) => c("update-settings", e)
|
|
2581
2581
|
}, null, 8, ["settings"])])) : w("", !0),
|
|
2582
|
-
u.value === "issues" && p.value ? (i(), y("div",
|
|
2583
|
-
], 10,
|
|
2582
|
+
u.value === "issues" && p.value ? (i(), y("div", ca, [H(S(a))])) : w("", !0)
|
|
2583
|
+
], 10, qi));
|
|
2584
2584
|
}
|
|
2585
|
-
}),
|
|
2585
|
+
}), ua = {
|
|
2586
2586
|
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)]",
|
|
2587
2587
|
style: { "z-index": "10001" },
|
|
2588
2588
|
role: "status",
|
|
2589
2589
|
"data-testid": "small-screen-notice"
|
|
2590
|
-
},
|
|
2590
|
+
}, da = { class: "tpl:text-[var(--tpl-text-dim)]" }, fa = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, pa = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, ma = /* @__PURE__ */ n({
|
|
2591
2591
|
__name: "SmallScreenNotice",
|
|
2592
2592
|
setup(e) {
|
|
2593
2593
|
let { t } = $();
|
|
2594
|
-
return (e, n) => (i(), y("div",
|
|
2595
|
-
A("div",
|
|
2594
|
+
return (e, n) => (i(), y("div", ua, [
|
|
2595
|
+
A("div", da, [H(S(Ve), {
|
|
2596
2596
|
size: 48,
|
|
2597
2597
|
"stroke-width": 1.5
|
|
2598
2598
|
})]),
|
|
2599
|
-
A("h2",
|
|
2600
|
-
A("p",
|
|
2599
|
+
A("h2", fa, j(S(t).smallScreen.title), 1),
|
|
2600
|
+
A("p", pa, j(S(t).smallScreen.message), 1)
|
|
2601
2601
|
]));
|
|
2602
2602
|
}
|
|
2603
|
-
}),
|
|
2603
|
+
}), ha = {
|
|
2604
2604
|
class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
|
|
2605
2605
|
style: {
|
|
2606
2606
|
"background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
|
|
2607
2607
|
"backdrop-filter": "blur(8px)",
|
|
2608
2608
|
"-webkit-backdrop-filter": "blur(8px)"
|
|
2609
2609
|
}
|
|
2610
|
-
},
|
|
2610
|
+
}, ga = /* @__PURE__ */ n({
|
|
2611
2611
|
__name: "EditorFooter",
|
|
2612
2612
|
props: { positionClass: {} },
|
|
2613
2613
|
setup(e) {
|
|
2614
2614
|
let { t } = $();
|
|
2615
|
-
return (n, r) => (i(), y("footer", { class: C(["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-[10px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [A("div",
|
|
2615
|
+
return (n, r) => (i(), y("footer", { class: C(["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-[10px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [A("div", ha, [A("span", null, j(S(t).footer.poweredBy), 1), r[0] ||= U("<a href=\"https://templatical.com\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"tpl:inline-flex tpl:items-center tpl:gap-1 tpl:font-medium tpl:transition-colors tpl:hover:opacity-80 tpl:text-[var(--tpl-text-muted)]\" style=\"text-decoration:none;\"><svg width=\"14\" height=\"14\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><rect x=\"10\" y=\"1\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(85% 0.08 55)\" transform=\"rotate(8 19 12)\"></rect><rect x=\"6\" y=\"2\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(77% 0.12 55)\" transform=\"rotate(-4 15 13)\"></rect><rect x=\"2\" y=\"4\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(70% 0.16 55)\"></rect><rect x=\"6\" y=\"9\" width=\"10\" height=\"1.8\" rx=\"0.9\" fill=\"white\" opacity=\"0.9\"></rect><rect x=\"6\" y=\"13.5\" width=\"7\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.6\"></rect><rect x=\"6\" y=\"17\" width=\"9\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.6\"></rect><rect x=\"6\" y=\"20.5\" width=\"5\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.4\"></rect></svg> Templatical </a>", 1)])], 2));
|
|
2616
2616
|
}
|
|
2617
|
-
}),
|
|
2618
|
-
function
|
|
2617
|
+
}), _a = (e) => Number.parseFloat(e) || 0;
|
|
2618
|
+
function va(e) {
|
|
2619
2619
|
let t = (t) => e.centerWidth + 2 * Math.max(e.leftWidth, t) + e.paddingWidth + 2 * e.columnGap + e.borderWidth, n = t(e.rightWidth - (e.statusLabelWidth ?? 0)), r = e.availableWidth < n;
|
|
2620
2620
|
return {
|
|
2621
2621
|
compact: r,
|
|
@@ -2623,13 +2623,13 @@ function _a(e) {
|
|
|
2623
2623
|
statusLabel: !r && e.availableWidth >= t(e.rightWidth)
|
|
2624
2624
|
};
|
|
2625
2625
|
}
|
|
2626
|
-
function
|
|
2626
|
+
function ya(e) {
|
|
2627
2627
|
let t = e.cloneNode(!1);
|
|
2628
2628
|
if (e instanceof Element && e.classList.contains("tpl-header-actions")) return t;
|
|
2629
|
-
for (let n of e.childNodes) t.appendChild(
|
|
2629
|
+
for (let n of e.childNodes) t.appendChild(ya(n));
|
|
2630
2630
|
return t;
|
|
2631
2631
|
}
|
|
2632
|
-
function
|
|
2632
|
+
function ba(e, t, n) {
|
|
2633
2633
|
let r = L(!1), i = L(0), a = L(!1), o = 0, s, c, l, f = !1, p = !0, m = null, h, g = 0, _ = 0, v = [];
|
|
2634
2634
|
function y() {
|
|
2635
2635
|
return v.some((e) => {
|
|
@@ -2661,7 +2661,7 @@ function ya(e, t, n) {
|
|
|
2661
2661
|
let m = u.ownerDocument.createElement("div");
|
|
2662
2662
|
for (let e of u.attributes) e.name.startsWith("data-") || m.setAttribute(e.name, e.value);
|
|
2663
2663
|
m.classList.remove("tpl-header"), m.classList.add("tpl-header-measure"), m.setAttribute("aria-hidden", "true"), m.inert = !0;
|
|
2664
|
-
for (let e of u.childNodes) e !== h && m.appendChild(
|
|
2664
|
+
for (let e of u.childNodes) e !== h && m.appendChild(ya(e));
|
|
2665
2665
|
let g = m.querySelector("slot[name=\"tpl-header-actions\"], .tpl-header-actions");
|
|
2666
2666
|
if (g) {
|
|
2667
2667
|
if (n?.isConnected) {
|
|
@@ -2696,19 +2696,19 @@ function ya(e, t, n) {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
e.value.appendChild(m);
|
|
2698
2698
|
try {
|
|
2699
|
-
let e = getComputedStyle(m), t = _.map((e) => e.getBoundingClientRect().width), n = m.querySelector(".tpl-status-label"), c = n ? n.getBoundingClientRect().width +
|
|
2699
|
+
let e = getComputedStyle(m), t = _.map((e) => e.getBoundingClientRect().width), n = m.querySelector(".tpl-status-label"), c = n ? n.getBoundingClientRect().width + _a(getComputedStyle(n.parentElement).columnGap) : 0, l = {
|
|
2700
2700
|
availableWidth: s,
|
|
2701
2701
|
leftWidth: t[0],
|
|
2702
2702
|
centerWidth: t[1],
|
|
2703
2703
|
rightWidth: t[2],
|
|
2704
|
-
paddingWidth:
|
|
2705
|
-
columnGap:
|
|
2706
|
-
borderWidth:
|
|
2707
|
-
}, u =
|
|
2704
|
+
paddingWidth: _a(e.paddingLeft || e.paddingInline) + _a(e.paddingRight || e.paddingInline),
|
|
2705
|
+
columnGap: _a(e.columnGap),
|
|
2706
|
+
borderWidth: _a(e.borderLeftWidth) + _a(e.borderRightWidth)
|
|
2707
|
+
}, u = va({
|
|
2708
2708
|
...l,
|
|
2709
2709
|
statusLabelWidth: c
|
|
2710
2710
|
});
|
|
2711
|
-
i.value = u.fullWidth, r.value = u.compact, a.value = u.statusLabel, o =
|
|
2711
|
+
i.value = u.fullWidth, r.value = u.compact, a.value = u.statusLabel, o = va(l).fullWidth, p = !1;
|
|
2712
2712
|
} finally {
|
|
2713
2713
|
m.remove();
|
|
2714
2714
|
}
|
|
@@ -2781,11 +2781,11 @@ function ya(e, t, n) {
|
|
|
2781
2781
|
};
|
|
2782
2782
|
}
|
|
2783
2783
|
// src/components/DarkModeToggle.vue?vue&type=script&setup=true&lang.ts
|
|
2784
|
-
var
|
|
2784
|
+
var xa = [
|
|
2785
2785
|
"aria-label",
|
|
2786
2786
|
"title",
|
|
2787
2787
|
"aria-pressed"
|
|
2788
|
-
],
|
|
2788
|
+
], Sa = /*#__PURE__*/ Be(/* @__PURE__ */ n({
|
|
2789
2789
|
__name: "DarkModeToggle",
|
|
2790
2790
|
props: { darkMode: { type: Boolean } },
|
|
2791
2791
|
emits: ["change"],
|
|
@@ -2818,13 +2818,13 @@ var ba = [
|
|
|
2818
2818
|
"stroke-width": 1.5
|
|
2819
2819
|
}))]),
|
|
2820
2820
|
_: 1
|
|
2821
|
-
})], 12,
|
|
2821
|
+
})], 12, xa));
|
|
2822
2822
|
}
|
|
2823
|
-
}), [["__scopeId", "data-v-632aa74f"]]),
|
|
2823
|
+
}), [["__scopeId", "data-v-632aa74f"]]), Ca = [
|
|
2824
2824
|
"aria-label",
|
|
2825
2825
|
"title",
|
|
2826
2826
|
"aria-pressed"
|
|
2827
|
-
],
|
|
2827
|
+
], wa = /*#__PURE__*/ Be(/* @__PURE__ */ n({
|
|
2828
2828
|
__name: "PreviewToggle",
|
|
2829
2829
|
props: { previewMode: { type: Boolean } },
|
|
2830
2830
|
emits: ["change"],
|
|
@@ -2857,9 +2857,9 @@ var ba = [
|
|
|
2857
2857
|
"stroke-width": 1.5
|
|
2858
2858
|
}))]),
|
|
2859
2859
|
_: 1
|
|
2860
|
-
})], 12,
|
|
2860
|
+
})], 12, Ca));
|
|
2861
2861
|
}
|
|
2862
|
-
}), [["__scopeId", "data-v-eef7b2ca"]]),
|
|
2862
|
+
}), [["__scopeId", "data-v-eef7b2ca"]]), Ta = ["aria-label", "onKeydown"], Ea = ["title", "aria-label"], Da = /* @__PURE__ */ n({
|
|
2863
2863
|
__name: "TemplateNameField",
|
|
2864
2864
|
props: {
|
|
2865
2865
|
name: {},
|
|
@@ -2888,10 +2888,10 @@ var ba = [
|
|
|
2888
2888
|
type: "text",
|
|
2889
2889
|
"data-testid": "template-name-input",
|
|
2890
2890
|
"aria-label": S(a).header.templateName,
|
|
2891
|
-
class: C([S(
|
|
2891
|
+
class: C([S($t), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
|
|
2892
2892
|
onKeydown: [x(k(d, ["prevent"]), ["enter"]), x(k(f, ["prevent"]), ["esc"])],
|
|
2893
2893
|
onBlur: d
|
|
2894
|
-
}, null, 42,
|
|
2894
|
+
}, null, 42, Ta)), [[ee, s.value]]) : e.editable ? (i(), y("button", {
|
|
2895
2895
|
key: 1,
|
|
2896
2896
|
type: "button",
|
|
2897
2897
|
"data-testid": "template-name",
|
|
@@ -2899,48 +2899,48 @@ var ba = [
|
|
|
2899
2899
|
"aria-label": S(a).header.rename,
|
|
2900
2900
|
class: C(["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 }]),
|
|
2901
2901
|
onClick: u
|
|
2902
|
-
}, j(e.name || S(a).header.untitled), 11,
|
|
2902
|
+
}, j(e.name || S(a).header.untitled), 11, Ea)) : (i(), y("span", {
|
|
2903
2903
|
key: 2,
|
|
2904
2904
|
"data-testid": "template-name",
|
|
2905
2905
|
class: C(["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 }])
|
|
2906
2906
|
}, j(e.name || S(a).header.untitled), 3));
|
|
2907
2907
|
}
|
|
2908
|
-
}),
|
|
2908
|
+
}), Oa = ["title"], ka = /* @__PURE__ */ n({
|
|
2909
2909
|
__name: "TemplateTimestamp",
|
|
2910
2910
|
props: {
|
|
2911
2911
|
iso: {},
|
|
2912
2912
|
kind: {}
|
|
2913
2913
|
},
|
|
2914
2914
|
setup(e) {
|
|
2915
|
-
let t = e, { t: n, format: r } = $(), a = f(
|
|
2916
|
-
|
|
2915
|
+
let t = e, { t: n, format: r } = $(), a = f(Vt, void 0), o = z(0);
|
|
2916
|
+
ar(() => {
|
|
2917
2917
|
o.value += 1;
|
|
2918
2918
|
}, 6e4);
|
|
2919
2919
|
let s = P(() => {
|
|
2920
|
-
let e =
|
|
2920
|
+
let e = sr(t.iso, n.time, r);
|
|
2921
2921
|
if (e === null) return "";
|
|
2922
2922
|
let i = e === n.time.justNow;
|
|
2923
2923
|
return t.kind === "updatedAt" ? i ? n.header.updatedJustNow : r(n.header.updatedAt, { time: e }) : i ? n.header.createdJustNow : r(n.header.createdAt, { time: e });
|
|
2924
|
-
}), c = P(() =>
|
|
2924
|
+
}), c = P(() => or(t.iso, a));
|
|
2925
2925
|
return (e, t) => s.value ? (i(), y("span", {
|
|
2926
2926
|
key: 0,
|
|
2927
2927
|
"data-testid": "template-timestamp",
|
|
2928
2928
|
title: c.value,
|
|
2929
2929
|
class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
|
|
2930
|
-
}, j(s.value), 9,
|
|
2930
|
+
}, j(s.value), 9, Oa)) : w("", !0);
|
|
2931
2931
|
}
|
|
2932
|
-
}),
|
|
2932
|
+
}), Aa = [
|
|
2933
2933
|
"aria-live",
|
|
2934
2934
|
"data-testid",
|
|
2935
2935
|
"title",
|
|
2936
2936
|
"data-tooltip"
|
|
2937
|
-
],
|
|
2937
|
+
], ja = {
|
|
2938
2938
|
key: 2,
|
|
2939
2939
|
class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]"
|
|
2940
|
-
},
|
|
2940
|
+
}, Ma = {
|
|
2941
2941
|
key: 0,
|
|
2942
2942
|
class: "tpl-status-label"
|
|
2943
|
-
},
|
|
2943
|
+
}, Na = /* @__PURE__ */ n({
|
|
2944
2944
|
__name: "TemplateSaveStatus",
|
|
2945
2945
|
props: {
|
|
2946
2946
|
status: {},
|
|
@@ -2970,13 +2970,13 @@ var ba = [
|
|
|
2970
2970
|
key: 1,
|
|
2971
2971
|
size: 12,
|
|
2972
2972
|
"stroke-width": 2.5
|
|
2973
|
-
})) : r.value === "unsaved" ? (i(), y("span",
|
|
2973
|
+
})) : r.value === "unsaved" ? (i(), y("span", ja)) : w("", !0)], 2), r.value === "none" ? w("", !0) : (i(), y("span", Ma, j(o.value), 1))], 10, Aa));
|
|
2974
2974
|
}
|
|
2975
|
-
}),
|
|
2975
|
+
}), Pa = [
|
|
2976
2976
|
"aria-pressed",
|
|
2977
2977
|
"aria-label",
|
|
2978
2978
|
"title"
|
|
2979
|
-
],
|
|
2979
|
+
], Fa = { class: "tpl-header-label" }, Ia = /* @__PURE__ */ n({
|
|
2980
2980
|
__name: "AiHeaderMenu",
|
|
2981
2981
|
props: { feature: {} },
|
|
2982
2982
|
setup(e) {
|
|
@@ -2991,7 +2991,7 @@ var ba = [
|
|
|
2991
2991
|
"aria-pressed": r.value,
|
|
2992
2992
|
"aria-label": S(n).ai.menu.chat,
|
|
2993
2993
|
title: S(n).ai.menu.chat,
|
|
2994
|
-
class: C(S(
|
|
2994
|
+
class: C(S(tn)),
|
|
2995
2995
|
style: F(r.value ? {
|
|
2996
2996
|
backgroundColor: "var(--tpl-primary-light)",
|
|
2997
2997
|
borderColor: "var(--tpl-primary-light)"
|
|
@@ -3002,28 +3002,28 @@ var ba = [
|
|
|
3002
3002
|
"stroke-width": 2,
|
|
3003
3003
|
class: "tpl:text-[var(--tpl-primary-hover)]",
|
|
3004
3004
|
"aria-hidden": "true"
|
|
3005
|
-
}), A("span",
|
|
3005
|
+
}), A("span", Fa, j(S(n).ai.menu.button), 1)], 14, Pa)) : w("", !0);
|
|
3006
3006
|
}
|
|
3007
|
-
}),
|
|
3007
|
+
}), La = [
|
|
3008
3008
|
"data-compact",
|
|
3009
3009
|
"data-full-width",
|
|
3010
3010
|
"data-status-label"
|
|
3011
|
-
],
|
|
3011
|
+
], Ra = { class: "tpl-header-left tpl:flex tpl:min-w-0 tpl:items-center tpl:gap-2.5" }, za = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, Ba = { class: "tpl-header-right tpl:flex tpl:min-w-0 tpl:items-center tpl:justify-end tpl:gap-3" }, Va = [
|
|
3012
3012
|
"aria-label",
|
|
3013
3013
|
"title",
|
|
3014
3014
|
"aria-expanded"
|
|
3015
|
-
],
|
|
3015
|
+
], Ha = { class: "tpl-header-label" }, Ua = {
|
|
3016
3016
|
key: 0,
|
|
3017
3017
|
class: "tpl-header-comment-count 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)]"
|
|
3018
|
-
},
|
|
3018
|
+
}, Wa = [
|
|
3019
3019
|
"aria-label",
|
|
3020
3020
|
"title",
|
|
3021
3021
|
"disabled"
|
|
3022
|
-
],
|
|
3022
|
+
], Ga = { class: "tpl-header-label" }, Ka = [
|
|
3023
3023
|
"aria-label",
|
|
3024
3024
|
"disabled",
|
|
3025
3025
|
"title"
|
|
3026
|
-
],
|
|
3026
|
+
], qa = { class: "tpl-header-label" }, Ja = /* @__PURE__ */ n({
|
|
3027
3027
|
__name: "EditorHeader",
|
|
3028
3028
|
props: {
|
|
3029
3029
|
header: {},
|
|
@@ -3040,7 +3040,7 @@ var ba = [
|
|
|
3040
3040
|
ai: {}
|
|
3041
3041
|
},
|
|
3042
3042
|
setup(e) {
|
|
3043
|
-
let n = g(() => import("./chunks/VersionHistoryMenu-
|
|
3043
|
+
let n = g(() => import("./chunks/VersionHistoryMenu-CMGfAKuV.js")), r = g(() => import("./chunks/LanguageMenu-6wGhkyFT.js")), a = g(() => import("./chunks/CollaboratorBar-CN6XAlbn.js")), s = L(null), c = L(null), l = L(null), f = e, p = f.header?.actions, m = f.header?.viewportToggle !== !1, _ = f.header?.darkModeToggle !== !1, v = f.header?.previewToggle !== !1, { compact: b, fullWidth: x, statusLabel: E, invalidateContent: D } = ba(s, c, p), O = p?.getAttribute("slot"), k = null;
|
|
3044
3044
|
return p && o([b, () => f.core.resolvedTheme.value], ([e, t]) => {
|
|
3045
3045
|
p.setAttribute("data-tpl-compact", String(e)), p.setAttribute("data-tpl-theme", t === "dark" ? "dark" : "light");
|
|
3046
3046
|
}, {
|
|
@@ -3064,11 +3064,11 @@ var ba = [
|
|
|
3064
3064
|
"data-status-label": S(E),
|
|
3065
3065
|
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-[minmax(0,1fr)_auto_minmax(0,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)]"
|
|
3066
3066
|
}, [
|
|
3067
|
-
A("div",
|
|
3067
|
+
A("div", Ra, [
|
|
3068
3068
|
e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (i(), y("div", {
|
|
3069
3069
|
key: 0,
|
|
3070
3070
|
class: C(["tpl-header-identity tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": e.showTemplateName && e.templates.timestamp.value !== null }])
|
|
3071
|
-
}, [e.showTemplateName ? (i(), T(
|
|
3071
|
+
}, [e.showTemplateName ? (i(), T(Da, {
|
|
3072
3072
|
key: 0,
|
|
3073
3073
|
name: e.templates.name.value,
|
|
3074
3074
|
editable: e.templates.canSave.value,
|
|
@@ -3077,7 +3077,7 @@ var ba = [
|
|
|
3077
3077
|
"name",
|
|
3078
3078
|
"editable",
|
|
3079
3079
|
"onCommit"
|
|
3080
|
-
])) : w("", !0), e.templates.timestamp.value ? (i(), T(
|
|
3080
|
+
])) : w("", !0), e.templates.timestamp.value ? (i(), T(ka, {
|
|
3081
3081
|
key: 1,
|
|
3082
3082
|
class: "tpl-header-timestamp",
|
|
3083
3083
|
iso: e.templates.timestamp.value.iso,
|
|
@@ -3109,25 +3109,25 @@ var ba = [
|
|
|
3109
3109
|
}, null, 8, ["people", "connection"])) : w("", !0),
|
|
3110
3110
|
h(o.$slots, "left-extras")
|
|
3111
3111
|
]),
|
|
3112
|
-
A("div",
|
|
3113
|
-
m ? (i(), T(
|
|
3112
|
+
A("div", za, [
|
|
3113
|
+
m ? (i(), T(tr, {
|
|
3114
3114
|
key: 0,
|
|
3115
3115
|
viewport: e.editor.state.viewport,
|
|
3116
3116
|
onChange: e.editor.setViewport
|
|
3117
3117
|
}, null, 8, ["viewport", "onChange"])) : w("", !0),
|
|
3118
|
-
_ ? (i(), T(
|
|
3118
|
+
_ ? (i(), T(Sa, {
|
|
3119
3119
|
key: 1,
|
|
3120
3120
|
"dark-mode": e.editor.state.darkMode,
|
|
3121
3121
|
onChange: e.editor.setDarkMode
|
|
3122
3122
|
}, null, 8, ["dark-mode", "onChange"])) : w("", !0),
|
|
3123
|
-
v ? (i(), T(
|
|
3123
|
+
v ? (i(), T(wa, {
|
|
3124
3124
|
key: 2,
|
|
3125
3125
|
"preview-mode": e.editor.state.previewMode,
|
|
3126
3126
|
onChange: e.editor.setPreviewMode
|
|
3127
3127
|
}, null, 8, ["preview-mode", "onChange"])) : w("", !0)
|
|
3128
3128
|
]),
|
|
3129
|
-
A("div",
|
|
3130
|
-
e.templates?.isAvailable.value && e.templates.canSave.value ? (i(), T(
|
|
3129
|
+
A("div", Ba, [
|
|
3130
|
+
e.templates?.isAvailable.value && e.templates.canSave.value ? (i(), T(Na, {
|
|
3131
3131
|
key: 0,
|
|
3132
3132
|
class: "tpl-header-save-status",
|
|
3133
3133
|
status: e.templates.status.value,
|
|
@@ -3145,7 +3145,7 @@ var ba = [
|
|
|
3145
3145
|
"aria-label": e.comments.unresolvedCount.value > 0 ? `${e.core.t.comments.button} (${e.comments.unresolvedCount.value})` : e.core.t.comments.button,
|
|
3146
3146
|
title: e.core.t.comments.button,
|
|
3147
3147
|
"aria-expanded": e.comments.isOpen.value,
|
|
3148
|
-
class: C(S(
|
|
3148
|
+
class: C(S(tn)),
|
|
3149
3149
|
style: F(e.comments.isOpen.value ? {
|
|
3150
3150
|
backgroundColor: "var(--tpl-primary-light)",
|
|
3151
3151
|
borderColor: "var(--tpl-primary-light)"
|
|
@@ -3156,10 +3156,10 @@ var ba = [
|
|
|
3156
3156
|
size: 16,
|
|
3157
3157
|
"stroke-width": 2
|
|
3158
3158
|
}),
|
|
3159
|
-
A("span",
|
|
3160
|
-
e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (i(), y("span",
|
|
3161
|
-
], 14,
|
|
3162
|
-
e.ai ? (i(), T(
|
|
3159
|
+
A("span", Ha, j(e.core.t.comments.button), 1),
|
|
3160
|
+
e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (i(), y("span", Ua, j(e.comments.unresolvedCount.value), 1)) : w("", !0)
|
|
3161
|
+
], 14, Va)) : w("", !0),
|
|
3162
|
+
e.ai ? (i(), T(Ia, {
|
|
3163
3163
|
key: 2,
|
|
3164
3164
|
feature: e.ai
|
|
3165
3165
|
}, null, 8, ["feature"])) : w("", !0),
|
|
@@ -3180,7 +3180,7 @@ var ba = [
|
|
|
3180
3180
|
"aria-label": e.core.t.testEmail.title,
|
|
3181
3181
|
title: e.core.t.testEmail.title,
|
|
3182
3182
|
disabled: e.testEmail.isSending.value,
|
|
3183
|
-
class: C(S(
|
|
3183
|
+
class: C(S(tn)),
|
|
3184
3184
|
onClick: u[3] ||= (t) => e.testEmail.open()
|
|
3185
3185
|
}, [e.testEmail.isSending.value ? (i(), T(S(nt), {
|
|
3186
3186
|
key: 1,
|
|
@@ -3191,12 +3191,12 @@ var ba = [
|
|
|
3191
3191
|
key: 0,
|
|
3192
3192
|
size: 16,
|
|
3193
3193
|
"stroke-width": 2
|
|
3194
|
-
})), A("span",
|
|
3194
|
+
})), A("span", Ga, j(e.core.t.testEmail.button), 1)], 10, Wa)) : w("", !0),
|
|
3195
3195
|
e.templates?.isAvailable.value && e.templates.canSave.value ? (i(), y("button", {
|
|
3196
3196
|
key: 6,
|
|
3197
3197
|
type: "button",
|
|
3198
3198
|
"data-testid": "template-save",
|
|
3199
|
-
class: C(S(e.editor.state.isDirty && e.templates.hasTemplate.value ?
|
|
3199
|
+
class: C(S(e.editor.state.isDirty && e.templates.hasTemplate.value ? nn : tn)),
|
|
3200
3200
|
style: F(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
|
|
3201
3201
|
"aria-label": e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save,
|
|
3202
3202
|
disabled: e.templates.isSaving.value || !e.templates.hasTemplate.value,
|
|
@@ -3211,33 +3211,33 @@ var ba = [
|
|
|
3211
3211
|
key: 0,
|
|
3212
3212
|
size: 16,
|
|
3213
3213
|
"stroke-width": 2
|
|
3214
|
-
})), A("span",
|
|
3214
|
+
})), A("span", qa, j(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, Ka)) : w("", !0)
|
|
3215
3215
|
])
|
|
3216
|
-
], 8,
|
|
3216
|
+
], 8, La)], 512));
|
|
3217
3217
|
}
|
|
3218
|
-
}),
|
|
3218
|
+
}), Ya = ["aria-labelledby", "data-tpl-theme"], Xa = { 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" }, Za = ["id"], Qa = ["aria-label"], $a = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, eo = [
|
|
3219
3219
|
"id",
|
|
3220
3220
|
"placeholder",
|
|
3221
3221
|
"aria-label",
|
|
3222
3222
|
"aria-activedescendant"
|
|
3223
|
-
],
|
|
3223
|
+
], to = {
|
|
3224
3224
|
key: 0,
|
|
3225
3225
|
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",
|
|
3226
3226
|
"data-testid": "merge-tag-picker-group-pills"
|
|
3227
|
-
},
|
|
3227
|
+
}, no = ["data-group-name", "onClick"], ro = ["aria-label"], io = {
|
|
3228
3228
|
key: 0,
|
|
3229
3229
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
3230
3230
|
"data-testid": "merge-tag-picker-empty"
|
|
3231
|
-
},
|
|
3231
|
+
}, ao = {
|
|
3232
3232
|
key: 1,
|
|
3233
3233
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
3234
3234
|
"data-testid": "merge-tag-picker-empty"
|
|
3235
|
-
},
|
|
3235
|
+
}, oo = [
|
|
3236
3236
|
"aria-expanded",
|
|
3237
3237
|
"data-group-name",
|
|
3238
3238
|
"data-group-collapsed",
|
|
3239
3239
|
"onClick"
|
|
3240
|
-
],
|
|
3240
|
+
], so = { class: "tpl:ml-1 tpl:font-normal" }, co = [
|
|
3241
3241
|
"id",
|
|
3242
3242
|
"aria-selected",
|
|
3243
3243
|
"data-selected",
|
|
@@ -3247,21 +3247,21 @@ var ba = [
|
|
|
3247
3247
|
"title",
|
|
3248
3248
|
"onMousemove",
|
|
3249
3249
|
"onClick"
|
|
3250
|
-
],
|
|
3250
|
+
], lo = { class: "tpl:text-sm tpl:font-medium" }, uo = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, fo = {
|
|
3251
3251
|
key: 0,
|
|
3252
3252
|
class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
3253
|
-
},
|
|
3253
|
+
}, po = {
|
|
3254
3254
|
key: 1,
|
|
3255
3255
|
"data-testid": "merge-tag-picker-sample",
|
|
3256
3256
|
class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
3257
|
-
},
|
|
3257
|
+
}, mo = "tpl-merge-tag-picker-list", ho = /* @__PURE__ */ n({
|
|
3258
3258
|
__name: "MergeTagPickerModal",
|
|
3259
3259
|
setup(e) {
|
|
3260
|
-
let t =
|
|
3260
|
+
let t = Wt(gt, "MergeTagPickerModal"), { t: n, format: r } = $(), s = f(Mt, null), u = f(Dt, null), d = f(Kt, !0), p = P(() => t.current.value !== null), m = P(() => p.value ? n.mergeTag.picker.changeTitle : n.mergeTag.picker.title);
|
|
3261
3261
|
function h(e) {
|
|
3262
3262
|
return d ? e.description ? `${e.value} — ${e.description}` : e.value : e.description || void 0;
|
|
3263
3263
|
}
|
|
3264
|
-
let g = z(""), _ =
|
|
3264
|
+
let g = z(""), _ = ir(g, 200), v = z(null), b = P(() => _.value.trim().length > 0), E = z(0), O = P(() => t.tags.value.some((e) => !!e.group)), M = z(/* @__PURE__ */ new Set());
|
|
3265
3265
|
function N(e) {
|
|
3266
3266
|
return M.value.has(e);
|
|
3267
3267
|
}
|
|
@@ -3381,13 +3381,13 @@ var ba = [
|
|
|
3381
3381
|
}
|
|
3382
3382
|
}
|
|
3383
3383
|
function Y() {
|
|
3384
|
-
if (V.value.length !== 0) return `${
|
|
3384
|
+
if (V.value.length !== 0) return `${mo}-opt-${E.value}`;
|
|
3385
3385
|
}
|
|
3386
3386
|
function ce(e) {
|
|
3387
|
-
return `${
|
|
3387
|
+
return `${mo}-opt-${e}`;
|
|
3388
3388
|
}
|
|
3389
3389
|
let le = P(() => t.tags.value.length === 0), ue = P(() => !le.value && L.value.length === 0), de = P(() => O.value && te.value.length > 1 && !b.value);
|
|
3390
|
-
return (e, o) => (i(), T(
|
|
3390
|
+
return (e, o) => (i(), T(rn, {
|
|
3391
3391
|
visible: S(t).isOpen.value,
|
|
3392
3392
|
onClose: K,
|
|
3393
3393
|
onKeydown: se
|
|
@@ -3395,16 +3395,16 @@ var ba = [
|
|
|
3395
3395
|
default: a(() => [A("div", {
|
|
3396
3396
|
role: "dialog",
|
|
3397
3397
|
"aria-modal": "true",
|
|
3398
|
-
"aria-labelledby": `${
|
|
3398
|
+
"aria-labelledby": `${mo}-title`,
|
|
3399
3399
|
"data-tpl-theme": S(u),
|
|
3400
3400
|
"data-testid": "merge-tag-picker-modal",
|
|
3401
3401
|
class: "tpl tpl:flex tpl:max-h-[80%] tpl:w-[420px] tpl:max-w-full 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)]",
|
|
3402
3402
|
style: F(S(s))
|
|
3403
3403
|
}, [
|
|
3404
|
-
A("header",
|
|
3405
|
-
id: `${
|
|
3404
|
+
A("header", Xa, [A("h2", {
|
|
3405
|
+
id: `${mo}-title`,
|
|
3406
3406
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
3407
|
-
}, j(m.value), 9,
|
|
3407
|
+
}, j(m.value), 9, Za), A("button", {
|
|
3408
3408
|
type: "button",
|
|
3409
3409
|
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)]",
|
|
3410
3410
|
"aria-label": S(n).mergeTag.picker.close,
|
|
@@ -3413,13 +3413,13 @@ var ba = [
|
|
|
3413
3413
|
}, [H(S(lt), {
|
|
3414
3414
|
size: 16,
|
|
3415
3415
|
"stroke-width": 2
|
|
3416
|
-
})], 8,
|
|
3417
|
-
A("div",
|
|
3416
|
+
})], 8, Qa)]),
|
|
3417
|
+
A("div", $a, [H(S(Ye), {
|
|
3418
3418
|
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)]",
|
|
3419
3419
|
size: 14,
|
|
3420
3420
|
"stroke-width": 2
|
|
3421
3421
|
}), c(A("input", {
|
|
3422
|
-
id: `${
|
|
3422
|
+
id: `${mo}-search`,
|
|
3423
3423
|
ref_key: "searchInputRef",
|
|
3424
3424
|
ref: v,
|
|
3425
3425
|
"onUpdate:modelValue": o[0] ||= (e) => g.value = e,
|
|
@@ -3427,34 +3427,34 @@ var ba = [
|
|
|
3427
3427
|
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)] tpl:focus:shadow-[var(--tpl-ring)]",
|
|
3428
3428
|
placeholder: S(n).mergeTag.picker.searchPlaceholder,
|
|
3429
3429
|
"aria-label": S(n).mergeTag.picker.searchAriaLabel,
|
|
3430
|
-
"aria-controls":
|
|
3430
|
+
"aria-controls": mo,
|
|
3431
3431
|
"aria-activedescendant": Y(),
|
|
3432
3432
|
"data-testid": "merge-tag-picker-search",
|
|
3433
3433
|
onKeydown: o[1] ||= x(k(() => {}, ["prevent"]), ["enter"])
|
|
3434
|
-
}, null, 40,
|
|
3435
|
-
de.value ? (i(), y("div",
|
|
3434
|
+
}, null, 40, eo), [[ee, g.value]])]),
|
|
3435
|
+
de.value ? (i(), y("div", to, [(i(!0), y(B, null, l(te.value, (e) => (i(), y("button", {
|
|
3436
3436
|
key: e,
|
|
3437
3437
|
type: "button",
|
|
3438
3438
|
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-[10px] 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)]",
|
|
3439
3439
|
"data-testid": "merge-tag-picker-group-pill",
|
|
3440
3440
|
"data-group-name": e,
|
|
3441
3441
|
onClick: (t) => oe(e)
|
|
3442
|
-
}, j(e), 9,
|
|
3442
|
+
}, j(e), 9, no))), 128))])) : w("", !0),
|
|
3443
3443
|
A("div", {
|
|
3444
|
-
id:
|
|
3444
|
+
id: mo,
|
|
3445
3445
|
ref_key: "listRef",
|
|
3446
3446
|
ref: J,
|
|
3447
3447
|
class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
|
|
3448
3448
|
role: "listbox",
|
|
3449
3449
|
"aria-label": m.value,
|
|
3450
3450
|
"data-testid": "merge-tag-picker-list"
|
|
3451
|
-
}, [le.value ? (i(), y("div",
|
|
3451
|
+
}, [le.value ? (i(), y("div", io, j(S(n).mergeTag.picker.empty), 1)) : ue.value ? (i(), y("div", ao, j(S(n).mergeTag.picker.noResults), 1)) : (i(!0), y(B, { key: 2 }, l(R.value, (e, a) => (i(), y(B, { key: a }, [e.kind === "header" ? (i(), y("button", {
|
|
3452
3452
|
key: 0,
|
|
3453
3453
|
ref_for: !0,
|
|
3454
3454
|
ref: (t) => ie(e.group, t),
|
|
3455
3455
|
type: "button",
|
|
3456
3456
|
"aria-expanded": !N(e.group),
|
|
3457
|
-
"aria-controls":
|
|
3457
|
+
"aria-controls": mo,
|
|
3458
3458
|
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)]",
|
|
3459
3459
|
"data-testid": "merge-tag-picker-group-header",
|
|
3460
3460
|
"data-group-name": e.group,
|
|
@@ -3467,8 +3467,8 @@ var ba = [
|
|
|
3467
3467
|
class: C(["tpl:transition-transform", N(e.group) ? "tpl:-rotate-90" : ""])
|
|
3468
3468
|
}, null, 8, ["class"]),
|
|
3469
3469
|
A("span", null, j(e.group), 1),
|
|
3470
|
-
A("span",
|
|
3471
|
-
], 8,
|
|
3470
|
+
A("span", so, " (" + j(S(r)(S(n).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
|
|
3471
|
+
], 8, oo)) : (i(), y("button", {
|
|
3472
3472
|
key: 1,
|
|
3473
3473
|
id: ce(e.index),
|
|
3474
3474
|
type: "button",
|
|
@@ -3484,23 +3484,23 @@ var ba = [
|
|
|
3484
3484
|
onMousemove: (t) => W(e.index),
|
|
3485
3485
|
onClick: (t) => G(e.tag)
|
|
3486
3486
|
}, [
|
|
3487
|
-
A("span",
|
|
3488
|
-
A("span",
|
|
3489
|
-
e.tag.description ? (i(), y("span",
|
|
3490
|
-
e.tag.sample === void 0 ? w("", !0) : (i(), y("span",
|
|
3491
|
-
], 42,
|
|
3492
|
-
], 12,
|
|
3487
|
+
A("span", lo, j(e.tag.label), 1),
|
|
3488
|
+
A("span", uo, j(e.tag.value), 1),
|
|
3489
|
+
e.tag.description ? (i(), y("span", fo, j(e.tag.description), 1)) : w("", !0),
|
|
3490
|
+
e.tag.sample === void 0 ? w("", !0) : (i(), y("span", po, j(S(r)(S(n).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
|
|
3491
|
+
], 42, co))], 64))), 128))], 8, ro)
|
|
3492
|
+
], 12, Ya)]),
|
|
3493
3493
|
_: 1
|
|
3494
3494
|
}, 8, ["visible"]));
|
|
3495
3495
|
}
|
|
3496
|
-
}),
|
|
3496
|
+
}), go = ["data-logic-keyword"], _o = /* @__PURE__ */ n({
|
|
3497
3497
|
__name: "LogicTagBadge",
|
|
3498
3498
|
props: {
|
|
3499
3499
|
value: {},
|
|
3500
3500
|
syntax: {}
|
|
3501
3501
|
},
|
|
3502
3502
|
setup(e) {
|
|
3503
|
-
let t = e, n = P(() =>
|
|
3503
|
+
let t = e, n = P(() => Te(t.value, t.syntax)), r = P(() => pe(t.value, t.syntax));
|
|
3504
3504
|
return (e, t) => n.value ? (i(), y("span", {
|
|
3505
3505
|
key: 0,
|
|
3506
3506
|
class: "tpl:inline-flex tpl:flex-shrink-0 tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:leading-none tpl:font-bold tpl:tracking-wide tpl:uppercase",
|
|
@@ -3510,22 +3510,22 @@ var ba = [
|
|
|
3510
3510
|
},
|
|
3511
3511
|
"data-testid": "merge-tag-logic-badge",
|
|
3512
3512
|
"data-logic-keyword": r.value
|
|
3513
|
-
}, j(r.value), 9,
|
|
3513
|
+
}, j(r.value), 9, go)) : w("", !0);
|
|
3514
3514
|
}
|
|
3515
|
-
}),
|
|
3515
|
+
}), vo = ["aria-labelledby", "data-tpl-theme"], yo = { 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" }, bo = ["id"], xo = ["aria-label"], So = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Co = [
|
|
3516
3516
|
"id",
|
|
3517
3517
|
"placeholder",
|
|
3518
3518
|
"aria-label",
|
|
3519
3519
|
"aria-activedescendant"
|
|
3520
|
-
],
|
|
3520
|
+
], wo = ["aria-label"], To = {
|
|
3521
3521
|
key: 0,
|
|
3522
3522
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
3523
3523
|
"data-testid": "logic-picker-empty"
|
|
3524
|
-
},
|
|
3524
|
+
}, Eo = {
|
|
3525
3525
|
key: 1,
|
|
3526
3526
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
3527
3527
|
"data-testid": "logic-picker-empty"
|
|
3528
|
-
},
|
|
3528
|
+
}, Do = ["data-group-name"], Oo = [
|
|
3529
3529
|
"id",
|
|
3530
3530
|
"aria-selected",
|
|
3531
3531
|
"data-selected",
|
|
@@ -3533,19 +3533,19 @@ var ba = [
|
|
|
3533
3533
|
"data-logic-kind",
|
|
3534
3534
|
"onMousemove",
|
|
3535
3535
|
"onClick"
|
|
3536
|
-
],
|
|
3536
|
+
], ko = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Ao = { class: "tpl:text-sm tpl:font-medium" }, jo = {
|
|
3537
3537
|
key: 0,
|
|
3538
3538
|
class: "tpl:flex tpl:items-center"
|
|
3539
|
-
},
|
|
3539
|
+
}, Mo = {
|
|
3540
3540
|
key: 1,
|
|
3541
3541
|
class: "tpl:flex tpl:items-center tpl:gap-1"
|
|
3542
|
-
},
|
|
3542
|
+
}, No = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Po = {
|
|
3543
3543
|
key: 0,
|
|
3544
3544
|
class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
3545
|
-
},
|
|
3545
|
+
}, Fo = "tpl-logic-picker-list", Io = /* @__PURE__ */ n({
|
|
3546
3546
|
__name: "LogicTagPickerModal",
|
|
3547
3547
|
setup(e) {
|
|
3548
|
-
let t =
|
|
3548
|
+
let t = Wt(yt, "LogicTagPickerModal"), { t: n } = $(), r = f(mt, me.liquid), s = f(Mt, null), u = f(Dt, null), d = z(""), p = ir(d, 200), m = z(null), h = P(() => p.value.trim().length > 0), g = z(0);
|
|
3549
3549
|
function _(e) {
|
|
3550
3550
|
let t = p.value.trim().toLowerCase();
|
|
3551
3551
|
return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
|
|
@@ -3628,12 +3628,12 @@ var ba = [
|
|
|
3628
3628
|
}
|
|
3629
3629
|
}
|
|
3630
3630
|
function G(e) {
|
|
3631
|
-
return `${
|
|
3631
|
+
return `${Fo}-opt-${e}`;
|
|
3632
3632
|
}
|
|
3633
3633
|
function K() {
|
|
3634
|
-
return I.value.length === 0 ? void 0 : `${
|
|
3634
|
+
return I.value.length === 0 ? void 0 : `${Fo}-opt-${g.value}`;
|
|
3635
3635
|
}
|
|
3636
|
-
return (e, o) => (i(), T(
|
|
3636
|
+
return (e, o) => (i(), T(rn, {
|
|
3637
3637
|
visible: S(t).isOpen.value,
|
|
3638
3638
|
onClose: U,
|
|
3639
3639
|
onKeydown: W
|
|
@@ -3641,16 +3641,16 @@ var ba = [
|
|
|
3641
3641
|
default: a(() => [A("div", {
|
|
3642
3642
|
role: "dialog",
|
|
3643
3643
|
"aria-modal": "true",
|
|
3644
|
-
"aria-labelledby": `${
|
|
3644
|
+
"aria-labelledby": `${Fo}-title`,
|
|
3645
3645
|
"data-tpl-theme": S(u),
|
|
3646
3646
|
"data-testid": "logic-picker-modal",
|
|
3647
3647
|
class: "tpl tpl:flex tpl:max-h-[80%] tpl:w-[420px] tpl:max-w-full 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)]",
|
|
3648
3648
|
style: F(S(s))
|
|
3649
3649
|
}, [
|
|
3650
|
-
A("header",
|
|
3651
|
-
id: `${
|
|
3650
|
+
A("header", yo, [A("h2", {
|
|
3651
|
+
id: `${Fo}-title`,
|
|
3652
3652
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
3653
|
-
}, j(S(n).logicTag.picker.title), 9,
|
|
3653
|
+
}, j(S(n).logicTag.picker.title), 9, bo), A("button", {
|
|
3654
3654
|
type: "button",
|
|
3655
3655
|
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)]",
|
|
3656
3656
|
"aria-label": S(n).logicTag.picker.close,
|
|
@@ -3659,13 +3659,13 @@ var ba = [
|
|
|
3659
3659
|
}, [H(S(lt), {
|
|
3660
3660
|
size: 16,
|
|
3661
3661
|
"stroke-width": 2
|
|
3662
|
-
})], 8,
|
|
3663
|
-
A("div",
|
|
3662
|
+
})], 8, xo)]),
|
|
3663
|
+
A("div", So, [H(S(Ye), {
|
|
3664
3664
|
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)]",
|
|
3665
3665
|
size: 14,
|
|
3666
3666
|
"stroke-width": 2
|
|
3667
3667
|
}), c(A("input", {
|
|
3668
|
-
id: `${
|
|
3668
|
+
id: `${Fo}-search`,
|
|
3669
3669
|
ref_key: "searchInputRef",
|
|
3670
3670
|
ref: m,
|
|
3671
3671
|
"onUpdate:modelValue": o[0] ||= (e) => d.value = e,
|
|
@@ -3673,25 +3673,25 @@ var ba = [
|
|
|
3673
3673
|
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)] tpl:focus:shadow-[var(--tpl-ring)]",
|
|
3674
3674
|
placeholder: S(n).logicTag.picker.searchPlaceholder,
|
|
3675
3675
|
"aria-label": S(n).logicTag.picker.searchAriaLabel,
|
|
3676
|
-
"aria-controls":
|
|
3676
|
+
"aria-controls": Fo,
|
|
3677
3677
|
"aria-activedescendant": K(),
|
|
3678
3678
|
"data-testid": "logic-picker-search",
|
|
3679
3679
|
onKeydown: o[1] ||= x(k(() => {}, ["prevent"]), ["enter"])
|
|
3680
|
-
}, null, 40,
|
|
3680
|
+
}, null, 40, Co), [[ee, d.value]])]),
|
|
3681
3681
|
A("div", {
|
|
3682
|
-
id:
|
|
3682
|
+
id: Fo,
|
|
3683
3683
|
ref_key: "listRef",
|
|
3684
3684
|
ref: R,
|
|
3685
3685
|
class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
|
|
3686
3686
|
role: "listbox",
|
|
3687
3687
|
"aria-label": S(n).logicTag.picker.title,
|
|
3688
3688
|
"data-testid": "logic-picker-list"
|
|
3689
|
-
}, [L.value ? (i(), y("div",
|
|
3689
|
+
}, [L.value ? (i(), y("div", To, j(S(n).logicTag.picker.empty), 1)) : te.value ? (i(), y("div", Eo, j(S(n).logicTag.picker.noResults), 1)) : (i(!0), y(B, { key: 2 }, l(N.value.rows, (e, t) => (i(), y(B, { key: t }, [e.kind === "header" ? (i(), y("div", {
|
|
3690
3690
|
key: 0,
|
|
3691
3691
|
class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
|
|
3692
3692
|
"data-testid": "logic-picker-header",
|
|
3693
3693
|
"data-group-name": e.label
|
|
3694
|
-
}, j(e.label), 9,
|
|
3694
|
+
}, j(e.label), 9, Do)) : (i(), y("button", {
|
|
3695
3695
|
key: 1,
|
|
3696
3696
|
id: G(e.index),
|
|
3697
3697
|
type: "button",
|
|
@@ -3705,35 +3705,35 @@ var ba = [
|
|
|
3705
3705
|
onMousemove: (t) => g.value = e.index,
|
|
3706
3706
|
onClick: (t) => V(e.kind === "tag" ? e.tag : e.pair)
|
|
3707
3707
|
}, [
|
|
3708
|
-
A("span",
|
|
3708
|
+
A("span", ko, [A("span", Ao, j(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (i(), y("span", jo, [H(_o, {
|
|
3709
3709
|
value: e.tag.value,
|
|
3710
3710
|
syntax: S(r)
|
|
3711
|
-
}, null, 8, ["value", "syntax"])])) : (i(), y("span",
|
|
3712
|
-
H(
|
|
3711
|
+
}, null, 8, ["value", "syntax"])])) : (i(), y("span", Mo, [
|
|
3712
|
+
H(_o, {
|
|
3713
3713
|
value: e.pair.before,
|
|
3714
3714
|
syntax: S(r)
|
|
3715
3715
|
}, null, 8, ["value", "syntax"]),
|
|
3716
3716
|
o[2] ||= A("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
|
|
3717
|
-
H(
|
|
3717
|
+
H(_o, {
|
|
3718
3718
|
value: e.pair.after,
|
|
3719
3719
|
syntax: S(r)
|
|
3720
3720
|
}, null, 8, ["value", "syntax"])
|
|
3721
3721
|
]))]),
|
|
3722
|
-
A("span",
|
|
3723
|
-
(e.kind === "tag" ? e.tag.description : e.pair.description) ? (i(), y("span",
|
|
3724
|
-
], 42,
|
|
3725
|
-
], 12,
|
|
3722
|
+
A("span", No, j(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
|
|
3723
|
+
(e.kind === "tag" ? e.tag.description : e.pair.description) ? (i(), y("span", Po, j(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : w("", !0)
|
|
3724
|
+
], 42, Oo))], 64))), 128))], 8, wo)
|
|
3725
|
+
], 12, vo)]),
|
|
3726
3726
|
_: 1
|
|
3727
3727
|
}, 8, ["visible"]));
|
|
3728
3728
|
}
|
|
3729
|
-
}),
|
|
3729
|
+
}), Lo = ["data-tpl-theme"], Ro = { class: "tpl:absolute tpl:inset-0 tpl:overflow-hidden" }, zo = { class: "tpl-preview-overlay tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Bo = { class: "tpl:absolute tpl:left-1/2 tpl:top-2 tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" }, Vo = {
|
|
3730
3730
|
key: 0,
|
|
3731
3731
|
"data-testid": "merge-tag-mode-toggle-anchor",
|
|
3732
3732
|
class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
|
|
3733
|
-
},
|
|
3733
|
+
}, Ho = {
|
|
3734
3734
|
key: 0,
|
|
3735
3735
|
class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
|
|
3736
|
-
},
|
|
3736
|
+
}, Uo = ["title", "aria-busy"], Wo = { class: "tpl-main tpl-canvas-pane tpl:flex tpl:py-8" }, Go = ["aria-label"], Ko = /*#__PURE__*/ Be(/* @__PURE__ */ n({
|
|
3737
3737
|
__name: "Editor",
|
|
3738
3738
|
props: {
|
|
3739
3739
|
config: {},
|
|
@@ -3748,7 +3748,7 @@ var ba = [
|
|
|
3748
3748
|
},
|
|
3749
3749
|
setup(e, { expose: t }) {
|
|
3750
3750
|
let n = e;
|
|
3751
|
-
s(
|
|
3751
|
+
s(Ut, {
|
|
3752
3752
|
renderHtml: () => n.renderHtml?.() ?? Promise.reject(/* @__PURE__ */ Error("HTML rendering is unavailable")),
|
|
3753
3753
|
canRenderHtml: () => n.canRenderHtml?.() ?? !1,
|
|
3754
3754
|
cloud: !!n.cloud,
|
|
@@ -3761,20 +3761,20 @@ var ba = [
|
|
|
3761
3761
|
get syntax() {
|
|
3762
3762
|
return X.mergeTagSyntax;
|
|
3763
3763
|
}
|
|
3764
|
-
}, l = n.config.templates ?
|
|
3765
|
-
n.config.collaboration && !l &&
|
|
3766
|
-
let u = n.config.collaboration && l ?
|
|
3764
|
+
}, l = n.config.templates ? Vn(n.config.templates, r) : void 0;
|
|
3765
|
+
n.config.collaboration && !l && Zn.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
|
|
3766
|
+
let u = n.config.collaboration && l ? Gr({
|
|
3767
3767
|
provider: n.config.collaboration,
|
|
3768
3768
|
loadTemplate: (e) => l.load(e),
|
|
3769
3769
|
user: n.config.user,
|
|
3770
3770
|
mergeTags: r,
|
|
3771
3771
|
onRemoteChange: n.config.onRemoteChange,
|
|
3772
3772
|
onError: n.config.onError
|
|
3773
|
-
}) : null, f = l && u ?
|
|
3773
|
+
}) : null, f = l && u ? Si(l, u.core, () => {
|
|
3774
3774
|
let e = h.state.template;
|
|
3775
3775
|
return e ? {
|
|
3776
3776
|
...E(e),
|
|
3777
|
-
content:
|
|
3777
|
+
content: De(E(h.content.value))
|
|
3778
3778
|
} : null;
|
|
3779
3779
|
}) : l, m = z(0);
|
|
3780
3780
|
s(bt, n.config.localization);
|
|
@@ -3786,7 +3786,7 @@ var ba = [
|
|
|
3786
3786
|
},
|
|
3787
3787
|
content: n.config.content,
|
|
3788
3788
|
defaultFontFamily: n.config.fonts?.defaultFont,
|
|
3789
|
-
templateDefaults:
|
|
3789
|
+
templateDefaults: ur(n.config),
|
|
3790
3790
|
templates: f,
|
|
3791
3791
|
onError: n.config.onError,
|
|
3792
3792
|
lockedBlocks: u?.locks,
|
|
@@ -3794,31 +3794,31 @@ var ba = [
|
|
|
3794
3794
|
lockSessionId: u?.core.sessionId
|
|
3795
3795
|
}), _ = ft(h);
|
|
3796
3796
|
s(Nt, _.content), h.setCustomBlockDefinitions(n.config.customBlocks ?? []), u && o(h.activeLocale, (e) => u.core.setLockLocale(e), { flush: "sync" }), u?.attach(h);
|
|
3797
|
-
let v = n.cloud ? n.cloud.attach({ editor: h }) : null, x = f ?
|
|
3797
|
+
let v = n.cloud ? n.cloud.attach({ editor: h }) : null, x = f ? fi({
|
|
3798
3798
|
provider: f,
|
|
3799
3799
|
editor: h,
|
|
3800
3800
|
guardUnsavedChanges: n.config.templates?.unsavedChangesGuard,
|
|
3801
3801
|
getSaveGate: n.cloud ? () => n.cloud.getSaveGate() : void 0
|
|
3802
3802
|
}) : null;
|
|
3803
3803
|
n.config.onDirtyChange && o(() => h.state.isDirty, (e) => n.config.onDirtyChange(e));
|
|
3804
|
-
let D = z(null), O = n.config.savedBlocks ?
|
|
3804
|
+
let D = z(null), O = n.config.savedBlocks ? ui({
|
|
3805
3805
|
provider: n.config.savedBlocks,
|
|
3806
3806
|
editor: h,
|
|
3807
3807
|
onError: n.config.onError,
|
|
3808
3808
|
isAvailable: n.cloud ? () => n.cloud.isSavedBlocksAvailable() : void 0
|
|
3809
|
-
}) : null, N = g(() => import("./chunks/SavedBlocksPanels-
|
|
3809
|
+
}) : null, N = g(() => import("./chunks/SavedBlocksPanels-Co1cbWR8.js")), ee = n.config.media || n.config.onRequestMedia ? ci({
|
|
3810
3810
|
provider: n.config.media,
|
|
3811
3811
|
onRequestMedia: n.config.onRequestMedia,
|
|
3812
3812
|
getTemplateId: () => h.state.template?.id,
|
|
3813
3813
|
onError: n.config.onError
|
|
3814
|
-
}) : null, I = g(() => import("./chunks/MediaPanels-Cb5vsgb-.js")), L = n.config.testEmail ?
|
|
3814
|
+
}) : null, I = g(() => import("./chunks/MediaPanels-Cb5vsgb-.js")), L = n.config.testEmail ? _i({
|
|
3815
3815
|
provider: n.config.testEmail,
|
|
3816
3816
|
getContent: () => h.content.value,
|
|
3817
3817
|
renderMjml: n.renderMjml,
|
|
3818
3818
|
usesLocalRenderer: n.usesLocalRenderer,
|
|
3819
3819
|
onError: n.config.onError,
|
|
3820
3820
|
isAvailable: n.cloud ? () => n.cloud.isTestEmailAvailable() : void 0
|
|
3821
|
-
}) : null, R = g(() => import("./chunks/TestEmailPanel-
|
|
3821
|
+
}) : null, R = g(() => import("./chunks/TestEmailPanel-vKvruW_r.js")), B = n.config.comments ? Kr({
|
|
3822
3822
|
provider: n.config.comments,
|
|
3823
3823
|
editor: h,
|
|
3824
3824
|
user: n.config.user,
|
|
@@ -3826,7 +3826,7 @@ var ba = [
|
|
|
3826
3826
|
onError: n.config.onError,
|
|
3827
3827
|
isAvailable: n.cloud ? () => n.cloud.isCommentsAvailable() : void 0,
|
|
3828
3828
|
isBlockSaved: n.cloud ? (e) => n.cloud.isBlockSaved(e) : void 0
|
|
3829
|
-
}) : null, U = g(() => import("./chunks/CommentsPanel-
|
|
3829
|
+
}) : null, U = g(() => import("./chunks/CommentsPanel-CxZ1kFcK.js")), ne = g(() => import("./chunks/AiPanels-CxhOpMAp.js")), W = n.config.ai ? ti({
|
|
3830
3830
|
provider: n.config.ai,
|
|
3831
3831
|
editor: h,
|
|
3832
3832
|
localization: n.config.localization ?? { locales: [] },
|
|
@@ -3837,16 +3837,16 @@ var ba = [
|
|
|
3837
3837
|
collaboration: u,
|
|
3838
3838
|
history: () => X.history,
|
|
3839
3839
|
reload: x ? (e, t) => x.load(e, t) : null,
|
|
3840
|
-
altMaxLength: () =>
|
|
3841
|
-
mergeTags: () =>
|
|
3842
|
-
normalize: (e, t) =>
|
|
3840
|
+
altMaxLength: () => Kn(un(n.config)),
|
|
3841
|
+
mergeTags: () => ai(X.mergeTags.value, X.mergeTagSyntax),
|
|
3842
|
+
normalize: (e, t) => zn(e, t, r),
|
|
3843
3843
|
commentsOpen: B?.isOpen ?? null,
|
|
3844
3844
|
onError: n.config.onError
|
|
3845
3845
|
}) : null;
|
|
3846
3846
|
W && s(Lt, W);
|
|
3847
3847
|
let G = pt(h, n.config.customBlocks ?? []);
|
|
3848
3848
|
s(Ht, G);
|
|
3849
|
-
let K = n.config.translation ?
|
|
3849
|
+
let K = n.config.translation ? Br({
|
|
3850
3850
|
provider: n.config.translation,
|
|
3851
3851
|
editor: h,
|
|
3852
3852
|
localization: n.config.localization,
|
|
@@ -3856,14 +3856,14 @@ var ba = [
|
|
|
3856
3856
|
syntax: () => X.mergeTagSyntax,
|
|
3857
3857
|
coverage: () => G.value
|
|
3858
3858
|
}) : null;
|
|
3859
|
-
K && s(
|
|
3859
|
+
K && s(zt, K);
|
|
3860
3860
|
let q = z(null);
|
|
3861
3861
|
o([() => h.state.template?.id ?? null, h.loadVersion], () => {
|
|
3862
3862
|
q.value = null;
|
|
3863
3863
|
}, { flush: "sync" }), o(() => Z(h.content.value), (e) => {
|
|
3864
3864
|
q.value && q.value.language !== e && (q.value = null);
|
|
3865
3865
|
}, { flush: "sync" });
|
|
3866
|
-
let J =
|
|
3866
|
+
let J = Pr({
|
|
3867
3867
|
editor: h,
|
|
3868
3868
|
history: () => X.history,
|
|
3869
3869
|
collaboration: u
|
|
@@ -3872,12 +3872,12 @@ var ba = [
|
|
|
3872
3872
|
let t = {
|
|
3873
3873
|
language: e,
|
|
3874
3874
|
old: Z(h.content.value),
|
|
3875
|
-
count:
|
|
3875
|
+
count: he(h.content.value, e, n.config.customBlocks).length
|
|
3876
3876
|
}, r = J.setDefaultLocale(e);
|
|
3877
3877
|
return r.applied && (q.value = t), r;
|
|
3878
3878
|
} });
|
|
3879
|
-
let ie = g(() => import("./chunks/LocaleNotices-
|
|
3880
|
-
ce && x !== null && !x.canSave.value &&
|
|
3879
|
+
let ie = g(() => import("./chunks/LocaleNotices-Br92Xueo.js")), ae = g(() => import("./chunks/CollaborationNotices-DNEs3g9B.js")), oe = g(() => import("./chunks/CloudPanels-D8fchoYt.js")), se = g(() => import("./chunks/CloudHeaderExtras-Cd-ePldd.js")), Y = g(() => import("./chunks/VersionHistoryPanels-Bb2ouQg7.js")), ce = yi(n.config.templates?.autoSave, !1), le = ce && x !== null;
|
|
3880
|
+
ce && x !== null && !x.canSave.value && Zn.warn("config.templates.autoSave is on but this provider's save is false — there is nothing to persist to. Give it a real save function, or use `onChange` to persist the content yourself."), n.config.changeDebounce !== void 0 && x !== null && n.config.templates?.autoSave === void 0 && !n.config.onChange && Zn.warn("config.changeDebounce is set but nothing will use it — config.templates.autoSave is unset and there is no onChange either, so the timer has no consumer. Set config.templates.autoSave, or add onChange, so the debounce takes effect.");
|
|
3881
3881
|
let ue = n.config.onChange || le ? {
|
|
3882
3882
|
onChange: () => {
|
|
3883
3883
|
n.config.onChange?.(JSON.parse(JSON.stringify(h.state.content))), le && x.requestAutoSave();
|
|
@@ -3890,7 +3890,7 @@ var ba = [
|
|
|
3890
3890
|
...B ? { comments: B.capability } : {},
|
|
3891
3891
|
...u ? { collaboration: u.capability } : {},
|
|
3892
3892
|
...W ? { ai: W.capability } : {}
|
|
3893
|
-
}, X =
|
|
3893
|
+
}, X = On({
|
|
3894
3894
|
editor: h,
|
|
3895
3895
|
containerEl: D,
|
|
3896
3896
|
config: {
|
|
@@ -3912,7 +3912,7 @@ var ba = [
|
|
|
3912
3912
|
canDropMedia: ee?.canDrop ?? null,
|
|
3913
3913
|
resolvePreview: n.config.resolvePreview,
|
|
3914
3914
|
resolveImageUrl: n.config.resolveImageUrl,
|
|
3915
|
-
lint:
|
|
3915
|
+
lint: un(n.config),
|
|
3916
3916
|
locale: n.config.locale
|
|
3917
3917
|
},
|
|
3918
3918
|
translations: n.translations,
|
|
@@ -3928,9 +3928,9 @@ var ba = [
|
|
|
3928
3928
|
let pe = n.cloud && v ? n.cloud.ready({
|
|
3929
3929
|
core: X,
|
|
3930
3930
|
capabilities: de
|
|
3931
|
-
}) : null, me = n.config.versionHistory ?
|
|
3931
|
+
}) : null, me = n.config.versionHistory ? vi({
|
|
3932
3932
|
provider: n.config.versionHistory,
|
|
3933
|
-
editor:
|
|
3933
|
+
editor: Rn(h, r),
|
|
3934
3934
|
history: X.history,
|
|
3935
3935
|
conditionPreview: X.conditionPreview,
|
|
3936
3936
|
autoSave: X.autoSave,
|
|
@@ -3947,19 +3947,19 @@ var ba = [
|
|
|
3947
3947
|
onError: n.config.onError
|
|
3948
3948
|
}) : null;
|
|
3949
3949
|
me && (de.versionHistory = me.capability);
|
|
3950
|
-
let
|
|
3950
|
+
let ge = P(() => B?.isOpen.value === !0 || W !== null && W.panel.value !== null || v?.panelState.rightPanelOpen.value === !0), _e = P(() => h.state.previewMode ? "tpl:left-0 tpl:right-0" : ge.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]"), ve = z(null), ye = z(0), be = P(() => ({ top: `calc(3.5 * var(--tpl-base-size) + ${ye.value}px)` })), xe;
|
|
3951
3951
|
d(() => {
|
|
3952
|
-
|
|
3953
|
-
e && (
|
|
3954
|
-
}),
|
|
3955
|
-
}), p(() =>
|
|
3956
|
-
let { showNotice:
|
|
3952
|
+
ye.value = ve.value?.offsetHeight ?? 0, ve.value && typeof ResizeObserver < "u" && (xe = new ResizeObserver(([e]) => {
|
|
3953
|
+
e && (ye.value = e.borderBoxSize?.[0]?.blockSize ?? e.contentRect.height);
|
|
3954
|
+
}), xe.observe(ve.value));
|
|
3955
|
+
}), p(() => xe?.disconnect());
|
|
3956
|
+
let { showNotice: Se } = Nn(() => n.config.smallScreenNotice);
|
|
3957
3957
|
d(async () => {
|
|
3958
3958
|
await n.fontsManager.loadCustomFonts();
|
|
3959
3959
|
}), p(() => {
|
|
3960
3960
|
n.fontsManager.cleanupFontLinks(), W?.destroy(), n.cloud?.destroy(), X.destroy();
|
|
3961
3961
|
});
|
|
3962
|
-
let
|
|
3962
|
+
let Ce = x ?? h, we = Yn(X.editorRoot);
|
|
3963
3963
|
return t({
|
|
3964
3964
|
refreshPreview: X.refreshPreview,
|
|
3965
3965
|
getLocale: () => h.activeLocale.value ?? Z(h.content.value),
|
|
@@ -3969,16 +3969,16 @@ var ba = [
|
|
|
3969
3969
|
h.setContent(e), u?.core.flush(), X.history.clear();
|
|
3970
3970
|
},
|
|
3971
3971
|
insertBlock: (e) => {
|
|
3972
|
-
if (h.state.previewMode) return
|
|
3972
|
+
if (h.state.previewMode) return Zn.warn("insertBlock() does nothing in preview mode."), null;
|
|
3973
3973
|
let t = Le(e);
|
|
3974
|
-
return
|
|
3974
|
+
return xi(h, t) ? (we(t.id), t.id) : null;
|
|
3975
3975
|
},
|
|
3976
3976
|
setTheme: (e) => h.setUiTheme(e),
|
|
3977
3977
|
setMergeTags: X.setMergeTags,
|
|
3978
3978
|
isDirty: () => h.state.isDirty,
|
|
3979
|
-
create:
|
|
3980
|
-
load:
|
|
3981
|
-
save:
|
|
3979
|
+
create: Ce.create,
|
|
3980
|
+
load: Ce.load,
|
|
3981
|
+
save: Ce.save,
|
|
3982
3982
|
renderCustomBlock: X.registry.renderCustomBlock,
|
|
3983
3983
|
getCustomBlockStylesheet: (e) => X.registry.getDefinition(e)?.stylesheet
|
|
3984
3984
|
}), (t, r) => (i(), y("div", {
|
|
@@ -3990,9 +3990,9 @@ var ba = [
|
|
|
3990
3990
|
onDragover: r[9] ||= k(() => {}, ["prevent"]),
|
|
3991
3991
|
onDrop: r[10] ||= k(() => {}, ["prevent"])
|
|
3992
3992
|
}, [
|
|
3993
|
-
H(
|
|
3994
|
-
A("div",
|
|
3995
|
-
H(
|
|
3993
|
+
H(Ii),
|
|
3994
|
+
A("div", Ro, [
|
|
3995
|
+
H(Ja, {
|
|
3996
3996
|
editor: S(h),
|
|
3997
3997
|
localization: n.config.localization,
|
|
3998
3998
|
core: S(X),
|
|
@@ -4033,22 +4033,22 @@ var ba = [
|
|
|
4033
4033
|
"header",
|
|
4034
4034
|
"shadow-root"
|
|
4035
4035
|
]),
|
|
4036
|
-
c(H(
|
|
4036
|
+
c(H(Ki, { style: F(be.value) }, null, 8, ["style"]), [[te, !S(h).state.previewMode]]),
|
|
4037
4037
|
A("div", {
|
|
4038
|
-
class: C(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]",
|
|
4039
|
-
style: F(
|
|
4040
|
-
}, [A("div",
|
|
4038
|
+
class: C(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", _e.value]),
|
|
4039
|
+
style: F(be.value)
|
|
4040
|
+
}, [A("div", zo, [A("div", Bo, [
|
|
4041
4041
|
H(M, { name: "tpl-preview-pill" }, {
|
|
4042
|
-
default: a(() => [S(h).state.previewMode && !S(X).previewResolution.supersedesSamples.value ? (i(), y("div",
|
|
4042
|
+
default: a(() => [S(h).state.previewMode && !S(X).previewResolution.supersedesSamples.value ? (i(), y("div", Vo, [H(nr, {
|
|
4043
4043
|
"sample-mode": S(X).mergeTagSampleMode.value,
|
|
4044
4044
|
onChange: r[0] ||= (e) => S(X).mergeTagSampleMode.value = e
|
|
4045
4045
|
}, null, 8, ["sample-mode"])])) : w("", !0)]),
|
|
4046
4046
|
_: 1
|
|
4047
4047
|
}),
|
|
4048
4048
|
H(M, { name: "tpl-preview-pill" }, {
|
|
4049
|
-
default: a(() => [S(h).state.previewMode && S(X).previewResolution.isConfigured ? (i(), y("div",
|
|
4049
|
+
default: a(() => [S(h).state.previewMode && S(X).previewResolution.isConfigured ? (i(), y("div", Ho, [A("button", {
|
|
4050
4050
|
type: "button",
|
|
4051
|
-
class: C([S(
|
|
4051
|
+
class: C([S(Zt), "tpl:px-4"]),
|
|
4052
4052
|
"data-testid": "refresh-preview",
|
|
4053
4053
|
title: S(X).t.previewResolution.refresh,
|
|
4054
4054
|
"aria-busy": S(X).previewResolution.isResolving.value,
|
|
@@ -4057,14 +4057,14 @@ var ba = [
|
|
|
4057
4057
|
size: 18,
|
|
4058
4058
|
"stroke-width": 1.5,
|
|
4059
4059
|
class: C({ "tpl-spinner": S(X).previewResolution.isResolving.value })
|
|
4060
|
-
}, null, 8, ["class"]), b(" " + j(S(X).t.previewResolution.refresh), 1)], 10,
|
|
4060
|
+
}, null, 8, ["class"]), b(" " + j(S(X).t.previewResolution.refresh), 1)], 10, Uo)])) : w("", !0)]),
|
|
4061
4061
|
_: 1
|
|
4062
4062
|
}),
|
|
4063
4063
|
H(M, { name: "tpl-preview-pill" }, {
|
|
4064
4064
|
default: a(() => [S(X).conditionPreview.hasHiddenBlocks.value && S(X).appliesConditionFilter.value ? (i(), y("button", {
|
|
4065
4065
|
key: 0,
|
|
4066
4066
|
type: "button",
|
|
4067
|
-
class: C([S(
|
|
4067
|
+
class: C([S(Xt), "tpl:shadow-[var(--tpl-shadow-md)]"]),
|
|
4068
4068
|
"data-testid": "restore-hidden-blocks",
|
|
4069
4069
|
onClick: r[2] ||= (e) => S(X).conditionPreview.reset()
|
|
4070
4070
|
}, [H(S(qe), {
|
|
@@ -4073,7 +4073,7 @@ var ba = [
|
|
|
4073
4073
|
}), b(" " + j(S(X).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : w("", !0)]),
|
|
4074
4074
|
_: 1
|
|
4075
4075
|
})
|
|
4076
|
-
])]), A("main",
|
|
4076
|
+
])]), A("main", Wo, [H(Fi, {
|
|
4077
4077
|
viewport: S(h).state.viewport,
|
|
4078
4078
|
content: S(X).previewResolution.content.value,
|
|
4079
4079
|
"selected-block-id": S(h).state.selectedBlockId,
|
|
@@ -4088,9 +4088,9 @@ var ba = [
|
|
|
4088
4088
|
"preview-mode",
|
|
4089
4089
|
"onSelectBlock"
|
|
4090
4090
|
])])], 6),
|
|
4091
|
-
e.config.branding === !1 ? w("", !0) : (i(), T(
|
|
4091
|
+
e.config.branding === !1 ? w("", !0) : (i(), T(ga, {
|
|
4092
4092
|
key: 0,
|
|
4093
|
-
"position-class": [
|
|
4093
|
+
"position-class": [_e.value]
|
|
4094
4094
|
}, null, 8, ["position-class"])),
|
|
4095
4095
|
A("div", {
|
|
4096
4096
|
class: "tpl-sr-only",
|
|
@@ -4098,14 +4098,14 @@ var ba = [
|
|
|
4098
4098
|
"aria-live": "polite",
|
|
4099
4099
|
"aria-atomic": "true",
|
|
4100
4100
|
"aria-label": S(X).t.landmarks.reorderAnnouncements
|
|
4101
|
-
}, j(S(X).keyboardReorder.announcement.value), 9,
|
|
4102
|
-
c(H(
|
|
4101
|
+
}, j(S(X).keyboardReorder.announcement.value), 9, Go),
|
|
4102
|
+
c(H(la, {
|
|
4103
4103
|
tab: fe.value,
|
|
4104
4104
|
"onUpdate:tab": r[3] ||= (e) => fe.value = e,
|
|
4105
|
-
style: F(
|
|
4105
|
+
style: F(be.value),
|
|
4106
4106
|
"selected-block": S(h).selectedBlock.value ? S(_).displayBlock(S(h).selectedBlock.value) : null,
|
|
4107
4107
|
settings: S(_).settings.value,
|
|
4108
|
-
"shifted-left":
|
|
4108
|
+
"shifted-left": ge.value,
|
|
4109
4109
|
onUpdateBlock: r[4] ||= (e) => S(h).updateBlock(S(h).state.selectedBlockId, e),
|
|
4110
4110
|
onDeleteBlock: r[5] ||= () => {
|
|
4111
4111
|
S(h).state.selectedBlockId && S(X).blockActions.deleteBlock(S(h).state.selectedBlockId);
|
|
@@ -4123,12 +4123,12 @@ var ba = [
|
|
|
4123
4123
|
]), [[te, !S(h).state.previewMode]]),
|
|
4124
4124
|
A("div", {
|
|
4125
4125
|
ref_key: "topChrome",
|
|
4126
|
-
ref:
|
|
4126
|
+
ref: ve,
|
|
4127
4127
|
class: "tpl-top-chrome tpl:absolute tpl:top-14 tpl:right-0 tpl:left-0 tpl:z-40"
|
|
4128
4128
|
}, [S(me)?.isAvailable.value ? (i(), T(S(Y), {
|
|
4129
4129
|
key: 0,
|
|
4130
4130
|
feature: S(me)
|
|
4131
|
-
}, null, 8, ["feature"])) : w("", !0), e.config.localization ? (i(), T(
|
|
4131
|
+
}, null, 8, ["feature"])) : w("", !0), e.config.localization ? (i(), T(Nr, {
|
|
4132
4132
|
key: 1,
|
|
4133
4133
|
editor: S(h),
|
|
4134
4134
|
locales: e.config.localization.locales,
|
|
@@ -4145,8 +4145,8 @@ var ba = [
|
|
|
4145
4145
|
ref: (e) => S(X).popoverRoot.value = e,
|
|
4146
4146
|
class: "tpl-popover-root"
|
|
4147
4147
|
}, null, 512),
|
|
4148
|
-
H(
|
|
4149
|
-
H(
|
|
4148
|
+
H(ho),
|
|
4149
|
+
H(Io),
|
|
4150
4150
|
S(O)?.isAvailable.value ? (i(), T(S(N), {
|
|
4151
4151
|
key: 0,
|
|
4152
4152
|
feature: S(O)
|
|
@@ -4177,7 +4177,7 @@ var ba = [
|
|
|
4177
4177
|
key: 4,
|
|
4178
4178
|
feature: S(W)
|
|
4179
4179
|
}, null, 8, ["feature"])) : w("", !0),
|
|
4180
|
-
S(u) || q.value ? (i(), T(
|
|
4180
|
+
S(u) || q.value ? (i(), T(mr, { key: 5 }, {
|
|
4181
4181
|
default: a(() => [S(u) ? (i(), T(S(ae), {
|
|
4182
4182
|
key: 0,
|
|
4183
4183
|
feature: S(u)
|
|
@@ -4202,23 +4202,23 @@ var ba = [
|
|
|
4202
4202
|
"cloud",
|
|
4203
4203
|
"ready"
|
|
4204
4204
|
])) : w("", !0),
|
|
4205
|
-
S(
|
|
4206
|
-
], 46,
|
|
4205
|
+
S(Se) ? (i(), T(ma, { key: 7 })) : w("", !0)
|
|
4206
|
+
], 46, Lo));
|
|
4207
4207
|
}
|
|
4208
|
-
}), [["__scopeId", "data-v-0dfeea75"]]),
|
|
4209
|
-
function
|
|
4210
|
-
return e.replace(
|
|
4208
|
+
}), [["__scopeId", "data-v-0dfeea75"]]), qo = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
|
|
4209
|
+
function Jo(e) {
|
|
4210
|
+
return e.replace(qo, "");
|
|
4211
4211
|
}
|
|
4212
4212
|
// src/utils/renderProvider.ts
|
|
4213
|
-
function
|
|
4213
|
+
function Yo(e) {
|
|
4214
4214
|
return {
|
|
4215
4215
|
customFonts: e.customFonts.value,
|
|
4216
4216
|
defaultFallback: e.defaultFallback.value
|
|
4217
4217
|
};
|
|
4218
4218
|
}
|
|
4219
|
-
async function
|
|
4220
|
-
let n =
|
|
4221
|
-
return a || (
|
|
4219
|
+
async function Xo(e, t) {
|
|
4220
|
+
let n = De(e.getContent()), r = t?.locale ?? Z(n), i = t?.locale !== void 0 || n.settings?.locales?.length ? Oe(n, r) : n, a = e.getLayout?.(), o = a ? Fe(Oe(a, r, { missing: "default" }), i) : i;
|
|
4221
|
+
return a || (Pe(o), je(o)), await cr(o, {
|
|
4222
4222
|
renderCustomBlock: e.renderCustomBlock,
|
|
4223
4223
|
getCustomBlockStylesheet: e.getCustomBlockStylesheet
|
|
4224
4224
|
}), {
|
|
@@ -4226,7 +4226,7 @@ async function Yo(e, t) {
|
|
|
4226
4226
|
fonts: e.getFonts()
|
|
4227
4227
|
};
|
|
4228
4228
|
}
|
|
4229
|
-
function
|
|
4229
|
+
function Zo(e) {
|
|
4230
4230
|
async function t(t) {
|
|
4231
4231
|
let n = e.provider, r = n?.toMjml?.bind(n);
|
|
4232
4232
|
return r ? r(await e.buildPayload(t)) : e.renderLocalMjml(t);
|
|
@@ -4252,69 +4252,69 @@ function Xo(e) {
|
|
|
4252
4252
|
};
|
|
4253
4253
|
}
|
|
4254
4254
|
// \0virtual:editor-css
|
|
4255
|
-
var Zo = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-e61f3b63]{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-e61f3b63 3s ease-in-out infinite}@keyframes tpl-loading-flow-e61f3b63{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track[data-v-e61f3b63]{animation:none;background-position:50% 0}}.tpl-locale-chip[data-state=changed][data-v-3343ae7d]{color:var(--tpl-secondary)}.tpl-locale-chip[data-state=missing][data-v-3343ae7d],.tpl-locale-chip[data-state=stale][data-v-3343ae7d],.tpl-locale-chip[data-state=tags-differ][data-v-3343ae7d]{color:var(--tpl-warning)}.tpl-block--locale-hidden>.tpl-email-surface[data-v-872194d3]{opacity:.35}.tpl-block--idle[data-v-872194d3]{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-872194d3]: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-872194d3]{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-872194d3]{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-872194d3]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-872194d3]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-872194d3]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-block-agent-highlight[data-v-872194d3]{outline:2px solid var(--tpl-secondary);outline-offset:-1px;animation:tpl-agent-highlight-872194d3 2s ease-out forwards}@keyframes tpl-agent-highlight-872194d3{0%,50%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.tpl-block-agent-highlight[data-v-872194d3]{animation:none}}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable],.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable]:empty:before,.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable]:focus,.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-03a9d286] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface .tpl-has-bg-image:before{content:\"\";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:var(--tpl-block-bg-layer, none);filter:invert(1) hue-rotate(180deg)}.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:block))) 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;--tw-outline-style:solid}}}@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\\:inset-s-full{inset-inline-start:100%}.tpl\\:inset-e-1{inset-inline-end: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-2{top:calc(calc(var(--tpl-base-size) / 4) * -2)}.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-full{top:100%}.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\\:left-full{left:100%}.tpl\\:z-10{z-index:10}.tpl\\:z-20{z-index:20}.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-\\[60\\]{z-index:60}.tpl\\:z-\\[100\\]{z-index:100}.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\\:ms-2{margin-inline-start:calc(calc(var(--tpl-base-size) / 4) * 2)}.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-3\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mt-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:-mr-1\\.5{margin-right:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.tpl\\:mr-2{margin-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-0{margin-bottom:0}.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-1\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.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\\:box-border{box-sizing:border-box}.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\\:contents{display:contents}.tpl\\:flex{display:flex}.tpl\\:grid{display:grid}.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-1\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.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-\\[38px\\]{height:38px}.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-\\[80\\%\\]{max-height:80%}.tpl\\:max-h-\\[80vh\\]{max-height:80vh}.tpl\\:max-h-\\[90\\%\\]{max-height:90%}.tpl\\:max-h-\\[90vh\\]{max-height:90vh}.tpl\\:max-h-full{max-height:100%}.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-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[34px\\]{min-height:34px}.tpl\\:min-h-\\[44px\\]{min-height:44px}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.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\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.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{width:calc(calc(var(--tpl-base-size) / 4) * 3)}.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-24{width:calc(calc(var(--tpl-base-size) / 4) * 24)}.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-64{width:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-80{width:calc(calc(var(--tpl-base-size) / 4) * 80)}.tpl\\:w-96{width:calc(calc(var(--tpl-base-size) / 4) * 96)}.tpl\\:w-\\[38px\\]{width:38px}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.tpl\\:w-\\[420px\\]{width:420px}.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-3xl{max-width:calc(48 * 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\\(100\\%_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100% - 2 * var(--tpl-base-size))}.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:calc(28 * var(--tpl-base-size))}.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\\:grow{flex-grow:1}.tpl\\:basis-64{flex-basis:calc(calc(var(--tpl-base-size) / 4) * 64)}.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-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\\: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-disc{list-style-type:disc}.tpl\\:list-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-3{grid-template-columns:repeat(3,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-\\[minmax\\(0\\,1fr\\)_auto_minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-row-reverse{flex-direction:row-reverse}.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-3\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.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)))}:where(.tpl\\:space-y-3\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * 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)}.tpl\\:gap-x-6{column-gap:calc(calc(var(--tpl-base-size) / 4) * 6)}: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{row-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-y-2{row-gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.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:2147483647px}.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:calc(.75 * var(--tpl-base-size))}.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-secondary-light\\)\\]{background-color:var(--tpl-secondary-light)}.tpl\\:bg-\\[var\\(--tpl-text-dim\\)\\]{background-color:var(--tpl-text-dim)}.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-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-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-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-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\\.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-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\\: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-\\[10px\\]{font-size:10px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size:inherit}.tpl\\:leading-\\[inherit\\]{--tw-leading:inherit;line-height: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-words{overflow-wrap:break-word}.tpl\\:break-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-normal{white-space:normal}.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-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text\\)\\]{color:var(--tpl-chrome-text)}.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\\: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\\:underline-offset-2{text-underline-offset:2px}.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(.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)}.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}:is(:where(.tpl\\:group):focus-within .tpl\\:group-focus-within\\:opacity-100){opacity:1}@media(hover:hover){:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:bg-black\\/40){background-color:oklab(0% none none/.4)}:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:opacity-100){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.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\\:bg-\\[var\\(--tpl-warning-light\\)\\]:hover{background-color:var(--tpl-warning-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-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-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.tpl\\:focus-visible\\:outline-\\[var\\(--tpl-primary\\)\\]:focus-visible{outline-color:var(--tpl-primary)}.tpl\\:focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}@media(hover:hover){.tpl\\:hover\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\,var\\(--tpl-shadow-sm\\)\\]:hover:focus-visible{--tw-shadow:var(--tpl-ring), 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\\: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}.tpl\\:disabled\\:opacity-60:disabled{opacity:.6}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}.tpl\\:\\[\\&_p\\]\\:mb-2 p{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}@layer base{:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):after,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):before,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(hr):not(:where(.tpl-email-surface,.tpl-email-surface *)){height:0;color:inherit;border-top-width:1px}:where(.tpl) :where(abbr[title]):not(:where(.tpl-email-surface,.tpl-email-surface *)){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.tpl) :where(h1):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h2):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h3):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h4):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h5):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h6):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:inherit;font-weight:inherit}:where(.tpl) :where(a):not(:where(.tpl-email-surface,.tpl-email-surface *)){color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}:where(.tpl) :where(b):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(strong):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(code):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(kbd):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(samp):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(pre):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}:where(.tpl) :where(small):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:80%}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline;font-size:75%;line-height:0;position:relative}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)){bottom:-.25em}:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){top:-.5em}:where(.tpl) :where(table):not(:where(.tpl-email-surface,.tpl-email-surface *)){text-indent:0;border-color:inherit;border-collapse:collapse}:where(.tpl) :where(:-moz-focusring:not(iframe)):not(:where(.tpl-email-surface,.tpl-email-surface *)){outline:auto}:where(.tpl) :where(progress):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline}:where(.tpl) :where(summary):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:list-item}:where(.tpl) :where(ol):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(ul):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(menu):not(:where(.tpl-email-surface,.tpl-email-surface *)){list-style:none}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(svg):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(canvas):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(audio):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(iframe):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(embed):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(object):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:middle;display:block}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)){max-width:100%;height:auto}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(select):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(select:is([multiple],[size]) optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(select:is([multiple],[size]) optgroup option):not(:where(.tpl-email-surface,.tpl-email-surface *)){padding-inline-start:20px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{margin-inline-end:4px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){resize:vertical}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-search-decoration{-webkit-appearance:none}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{display:inline-flex}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-fields-wrapper{padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-year-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-month-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-day-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-hour-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-minute-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-second-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-millisecond-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-meridiem-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-calendar-picker-indicator{line-height:1}:where(.tpl) :where(:-moz-ui-invalid):not(:where(.tpl-email-surface,.tpl-email-surface *)){box-shadow:none}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input:is([type=button],[type=reset],[type=submit])):not(:where(.tpl-email-surface,.tpl-email-surface *)){appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-inner-spin-button{height:auto}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-outer-spin-button{height:auto}:where(.tpl) :where([hidden]:not([hidden=until-found])):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:none!important}}@layer 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-panel-transition:var(--tpl-user-panel-transition,.24s 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[data-tpl-theme=dark] .tpl-canvas-empty{--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);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:normal;cursor:auto;font-variant-numeric:normal;text-shadow:none;flex-direction:column;font-style:normal;font-weight:400;list-style-type:disc;display:flex}: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;margin:0;padding:0}: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}:where(.tpl) .tpl-focus-ring-host:focus-within :is(input,select,textarea):focus-visible{box-shadow: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)}}.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)}}.tpl-merge-tag-label{unicode-bidi:isolate}.tpl-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@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-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-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-canvas-pane{container:tpl-canvas-pane/inline-size}.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,.tpl-preview-mode .tpl-block-issue-badge{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));outline:1px dashed var(--tpl-primary);outline-offset:4px}.tpl-text-editable--error{outline-color:var(--tpl-danger)}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0 0 var(--tpl-doc-paragraph-spacing,8px)}.tpl-text-content p:last-child,.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:8px 0;padding-inline-start:24px}.tpl-text-content li,.tpl-text-editable .tiptap li{margin:4px 0}.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);unicode-bidi:isolate}.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);unicode-bidi:isolate;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-chrome-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-chrome-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-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}.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{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl-spinner{animation:1s linear infinite tpl-spin}.tpl-body,.tpl-right-sidebar{transition:none}.tpl-panel-enter-active,.tpl-panel-leave-active{animation:none}}.tpl-body{transition:left var(--tpl-panel-transition),right var(--tpl-panel-transition)}.tpl-right-sidebar{transition:right var(--tpl-panel-transition)}.tpl-panel-enter-active{animation:var(--tpl-panel-transition) both tpl-panel-in}.tpl-panel-leave-active{animation:var(--tpl-panel-transition) both tpl-panel-out}@keyframes tpl-panel-in{0%{transform:translate(100%)}to{transform:none}}@keyframes tpl-panel-out{0%{transform:none}to{transform:translate(100%)}}.tpl-header-container{container:tpl-header/inline-size}.tpl-header-identity [data-testid=template-name],.tpl-header-identity [data-testid=template-name-input]{max-width:100%}.tpl-language-tag{display:none}.tpl-header-identity{flex-shrink:1;min-width:24px}.tpl-header-actions{display:contents}.tpl-header-timestamp{max-width:100%}.tpl-header:not([data-status-label=true]) .tpl-status-label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-header[data-compact=true]{grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px;padding-inline:8px}.tpl-header[data-compact=true] .tpl-header-left,.tpl-header[data-compact=true] .tpl-header-right{gap:4px;min-width:0}.tpl-header[data-compact=true] .tpl-header-center{gap:4px}.tpl-header[data-compact=true] .tpl-header-identity{flex:0 auto;min-width:24px;max-width:none;padding-bottom:0}.tpl-header[data-compact=true] .tpl-header-timestamp,.tpl-header[data-compact=true] .tpl-header-label,.tpl-header[data-compact=true] .tpl-header-comment-count,.tpl-header[data-compact=true] .tpl-language-name,.tpl-header[data-compact=true] .tpl-language-count,.tpl-header[data-compact=true] .tpl-language-chevron{display:none}.tpl-header[data-compact=true] .tpl-header-left .tpl-language-tag{display:inline}.tpl-header[data-compact=true] .tpl-language-control{flex-shrink:1}.tpl-header[data-compact=true] .tpl-language-trigger{gap:4px;padding-inline:6px;width:100%!important;max-width:72px!important}.tpl-header[data-compact=true] .tpl-header-center [role=radio]{padding-inline:6px}.tpl-header[data-compact=true] [data-testid=version-history]{gap:0}.tpl-header[data-compact=true] [data-testid=version-history-toggle]{padding-inline:4px}.tpl-header[data-compact=true] .tpl-header-right>button{gap:0;min-width:32px;padding-inline:7px}.tpl-header[data-compact=true] .tpl-header-save-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@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}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-preview-pill-enter-active[data-v-0dfeea75]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-0dfeea75]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-0dfeea75],.tpl-preview-pill-leave-to[data-v-0dfeea75]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-0dfeea75],.tpl-preview-pill-leave-from[data-v-0dfeea75]{opacity:1;transform:translateY(0) scale(1)}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-color-swatch-transparent{background-color:var(--tpl-bg);background-image:repeating-conic-gradient(var(--tpl-border) 0% 25%,var(--tpl-bg) 0% 50%);background-size:8px 8px}.tpl-pulse-fill[data-v-fca026e4]{animation:tpl-field-pulse-fca026e4 1s ease-out}@keyframes tpl-field-pulse-fca026e4{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-fca026e4]{animation:none}}input[type=number][data-v-94c2e6ff]::-webkit-outer-spin-button,input[type=number][data-v-94c2e6ff]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-94c2e6ff]{-moz-appearance:textfield}.tpl-collapsible[data-v-206f038f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-206f038f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-206f038f]{overflow:hidden}@container tpl-header (max-width: 760px){.tpl-language-submenu[data-v-9b071249]{left:0;top:100%;bottom:auto;margin:4px 0 0;max-width:100%}}.tpl-language-row[data-v-9b071249]:hover,.tpl-language-row[data-v-9b071249]:focus-within,[role=menuitem][data-v-9b071249]:hover{background:var(--tpl-bg-hover)}.tpl-language-row[data-active=true][data-v-9b071249]{background:var(--tpl-bg-active)}.tpl-language-row[data-active=true] .tpl-language-pill[data-v-9b071249]{background:var(--tpl-bg)}[aria-disabled=true][data-v-9b071249]{cursor:not-allowed;color:var(--tpl-text-muted)}[aria-disabled=true] svg[data-v-9b071249]{color:var(--tpl-text-dim)}@media(hover:hover)and (pointer:fine){.tpl-language-actions[data-v-9b071249]{opacity:0}.tpl-language-row:hover .tpl-language-actions[data-v-9b071249],.tpl-language-row:focus-within .tpl-language-actions[data-v-9b071249],.tpl-language-actions[aria-expanded=true][data-v-9b071249]{opacity:1}}.tpl-language-actions[data-v-9b071249]{transition:opacity var(--tpl-transition)}.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-select:focus-visible{box-shadow:none}.tpl-saved-block-select:focus-visible:after{content:\"\";position:absolute;inset:-1px;border-radius:var(--tpl-radius-sm);box-shadow:var(--tpl-ring);pointer-events:none}.tpl-saved-block-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-media-item[data-v-57c35946]:not(.tpl-media-item--selected):hover{border-color:var(--tpl-border)!important}.tpl-media-list-item[data-v-57c35946]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-list-icon[data-v-57c35946]{transform:scale(.35);transform-origin:center}.tpl-preview-icon[data-v-50993988]{transform:scale(.45);transform-origin:center}.tpl-comments-input-wrapper[data-v-75eacb94]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-75eacb94]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-75eacb94]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-75eacb94]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-75eacb94]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-75eacb94]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-75eacb94]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-75eacb94]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-75eacb94],.tpl-comment-reply-card[data-v-75eacb94]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-75eacb94],.tpl-resolve-leave-active[data-v-75eacb94]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-75eacb94],.tpl-resolve-leave-to[data-v-75eacb94]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-75eacb94]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-75eacb94]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-75eacb94],.tpl-replies-leave-active[data-v-75eacb94]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-75eacb94],.tpl-replies-leave-to[data-v-75eacb94]{opacity:0;transform:translateY(-4px)}.tpl-ai-input-wrapper[data-v-51fb7448]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-51fb7448]:not(:disabled):hover{transform:scale(1.05)}.tpl-starter-btn[data-v-51fb7448]: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-7d9a1872] .tpl-cropper-background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper{background-color:transparent!important}[data-v-7d9a1872] .vue-advanced-cropper__background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper__foreground{background-color:var(--tpl-overlay)!important}\n/*$vite$:1*/", Qo = null;
|
|
4256
|
-
function
|
|
4257
|
-
if (
|
|
4255
|
+
var Qo = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-e61f3b63]{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-e61f3b63 3s ease-in-out infinite}@keyframes tpl-loading-flow-e61f3b63{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track[data-v-e61f3b63]{animation:none;background-position:50% 0}}.tpl-locale-chip[data-state=changed][data-v-3343ae7d]{color:var(--tpl-secondary)}.tpl-locale-chip[data-state=missing][data-v-3343ae7d],.tpl-locale-chip[data-state=stale][data-v-3343ae7d],.tpl-locale-chip[data-state=tags-differ][data-v-3343ae7d]{color:var(--tpl-warning)}.tpl-block--locale-hidden>.tpl-email-surface[data-v-872194d3]{opacity:.35}.tpl-block--idle[data-v-872194d3]{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-872194d3]: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-872194d3]{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-872194d3]{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-872194d3]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-872194d3]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-872194d3]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-block-agent-highlight[data-v-872194d3]{outline:2px solid var(--tpl-secondary);outline-offset:-1px;animation:tpl-agent-highlight-872194d3 2s ease-out forwards}@keyframes tpl-agent-highlight-872194d3{0%,50%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.tpl-block-agent-highlight[data-v-872194d3]{animation:none}}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable],.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable]:empty:before,.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable]:focus,.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}.tpl-canvas--dark-mode[data-v-f91fe466] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-f91fe466] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-f91fe466] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-f91fe466] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-f91fe466] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-f91fe466] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-f91fe466] .tpl-email-surface .tpl-has-bg-image:before{content:\"\";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:var(--tpl-block-bg-layer, none);filter:invert(1) hue-rotate(180deg)}.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:block))) 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;--tw-outline-style:solid}}}@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\\:inset-s-full{inset-inline-start:100%}.tpl\\:inset-e-1{inset-inline-end: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-2{top:calc(calc(var(--tpl-base-size) / 4) * -2)}.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-full{top:100%}.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\\:left-full{left:100%}.tpl\\:z-10{z-index:10}.tpl\\:z-20{z-index:20}.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-\\[60\\]{z-index:60}.tpl\\:z-\\[100\\]{z-index:100}.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\\:ms-2{margin-inline-start:calc(calc(var(--tpl-base-size) / 4) * 2)}.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-3\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mt-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:-mr-1\\.5{margin-right:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.tpl\\:mr-2{margin-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-0{margin-bottom:0}.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-1\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.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\\:box-border{box-sizing:border-box}.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\\:contents{display:contents}.tpl\\:flex{display:flex}.tpl\\:grid{display:grid}.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-1\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.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-\\[38px\\]{height:38px}.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-\\[80\\%\\]{max-height:80%}.tpl\\:max-h-\\[80vh\\]{max-height:80vh}.tpl\\:max-h-\\[90\\%\\]{max-height:90%}.tpl\\:max-h-\\[90vh\\]{max-height:90vh}.tpl\\:max-h-full{max-height:100%}.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-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[34px\\]{min-height:34px}.tpl\\:min-h-\\[44px\\]{min-height:44px}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.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\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.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{width:calc(calc(var(--tpl-base-size) / 4) * 3)}.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-24{width:calc(calc(var(--tpl-base-size) / 4) * 24)}.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-64{width:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-80{width:calc(calc(var(--tpl-base-size) / 4) * 80)}.tpl\\:w-96{width:calc(calc(var(--tpl-base-size) / 4) * 96)}.tpl\\:w-\\[38px\\]{width:38px}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.tpl\\:w-\\[420px\\]{width:420px}.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-3xl{max-width:calc(48 * 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\\(100\\%_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100% - 2 * var(--tpl-base-size))}.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:calc(28 * var(--tpl-base-size))}.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\\:grow{flex-grow:1}.tpl\\:basis-64{flex-basis:calc(calc(var(--tpl-base-size) / 4) * 64)}.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-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\\: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-disc{list-style-type:disc}.tpl\\:list-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-3{grid-template-columns:repeat(3,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-\\[minmax\\(0\\,1fr\\)_auto_minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-row-reverse{flex-direction:row-reverse}.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-3\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.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)))}:where(.tpl\\:space-y-3\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * 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)}.tpl\\:gap-x-6{column-gap:calc(calc(var(--tpl-base-size) / 4) * 6)}: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{row-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-y-2{row-gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.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:2147483647px}.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:calc(.75 * var(--tpl-base-size))}.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-secondary-light\\)\\]{background-color:var(--tpl-secondary-light)}.tpl\\:bg-\\[var\\(--tpl-text-dim\\)\\]{background-color:var(--tpl-text-dim)}.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-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-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-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-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\\.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-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\\: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-\\[10px\\]{font-size:10px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size:inherit}.tpl\\:leading-\\[inherit\\]{--tw-leading:inherit;line-height: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-words{overflow-wrap:break-word}.tpl\\:break-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-normal{white-space:normal}.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-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text\\)\\]{color:var(--tpl-chrome-text)}.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\\: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\\:underline-offset-2{text-underline-offset:2px}.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(.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)}.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}:is(:where(.tpl\\:group):focus-within .tpl\\:group-focus-within\\:opacity-100){opacity:1}@media(hover:hover){:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:bg-black\\/40){background-color:oklab(0% none none/.4)}:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:opacity-100){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.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\\:bg-\\[var\\(--tpl-warning-light\\)\\]:hover{background-color:var(--tpl-warning-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-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-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.tpl\\:focus-visible\\:outline-\\[var\\(--tpl-primary\\)\\]:focus-visible{outline-color:var(--tpl-primary)}.tpl\\:focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}@media(hover:hover){.tpl\\:hover\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\,var\\(--tpl-shadow-sm\\)\\]:hover:focus-visible{--tw-shadow:var(--tpl-ring), 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\\: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}.tpl\\:disabled\\:opacity-60:disabled{opacity:.6}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}.tpl\\:\\[\\&_p\\]\\:mb-2 p{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}@layer base{:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):after,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):before,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(hr):not(:where(.tpl-email-surface,.tpl-email-surface *)){height:0;color:inherit;border-top-width:1px}:where(.tpl) :where(abbr[title]):not(:where(.tpl-email-surface,.tpl-email-surface *)){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.tpl) :where(h1):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h2):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h3):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h4):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h5):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h6):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:inherit;font-weight:inherit}:where(.tpl) :where(a):not(:where(.tpl-email-surface,.tpl-email-surface *)){color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}:where(.tpl) :where(b):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(strong):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(code):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(kbd):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(samp):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(pre):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}:where(.tpl) :where(small):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:80%}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline;font-size:75%;line-height:0;position:relative}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)){bottom:-.25em}:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){top:-.5em}:where(.tpl) :where(table):not(:where(.tpl-email-surface,.tpl-email-surface *)){text-indent:0;border-color:inherit;border-collapse:collapse}:where(.tpl) :where(:-moz-focusring:not(iframe)):not(:where(.tpl-email-surface,.tpl-email-surface *)){outline:auto}:where(.tpl) :where(progress):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline}:where(.tpl) :where(summary):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:list-item}:where(.tpl) :where(ol):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(ul):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(menu):not(:where(.tpl-email-surface,.tpl-email-surface *)){list-style:none}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(svg):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(canvas):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(audio):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(iframe):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(embed):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(object):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:middle;display:block}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)){max-width:100%;height:auto}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(select):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(select:is([multiple],[size]) optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(select:is([multiple],[size]) optgroup option):not(:where(.tpl-email-surface,.tpl-email-surface *)){padding-inline-start:20px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{margin-inline-end:4px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){resize:vertical}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-search-decoration{-webkit-appearance:none}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{display:inline-flex}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-fields-wrapper{padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-year-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-month-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-day-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-hour-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-minute-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-second-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-millisecond-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-meridiem-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-calendar-picker-indicator{line-height:1}:where(.tpl) :where(:-moz-ui-invalid):not(:where(.tpl-email-surface,.tpl-email-surface *)){box-shadow:none}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input:is([type=button],[type=reset],[type=submit])):not(:where(.tpl-email-surface,.tpl-email-surface *)){appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-inner-spin-button{height:auto}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-outer-spin-button{height:auto}:where(.tpl) :where([hidden]:not([hidden=until-found])):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:none!important}}@layer 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-panel-transition:var(--tpl-user-panel-transition,.24s 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[data-tpl-theme=dark] .tpl-canvas-empty{--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);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:normal;cursor:auto;font-variant-numeric:normal;text-shadow:none;flex-direction:column;font-style:normal;font-weight:400;list-style-type:disc;display:flex}: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;margin:0;padding:0}: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}:where(.tpl) .tpl-focus-ring-host:focus-within :is(input,select,textarea):focus-visible{box-shadow: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)}}.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)}}.tpl-merge-tag-label{unicode-bidi:isolate}.tpl-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@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-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-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-canvas-pane{container:tpl-canvas-pane/inline-size}.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,.tpl-preview-mode .tpl-block-issue-badge{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));outline:1px dashed var(--tpl-primary);outline-offset:4px}.tpl-text-editable--error{outline-color:var(--tpl-danger)}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0 0 var(--tpl-doc-paragraph-spacing,8px)}.tpl-text-content p:last-child,.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:8px 0;padding-inline-start:24px}.tpl-text-content li,.tpl-text-editable .tiptap li{margin:4px 0}.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);unicode-bidi:isolate}.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);unicode-bidi:isolate;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-chrome-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-chrome-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-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}.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{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl-spinner{animation:1s linear infinite tpl-spin}.tpl-body,.tpl-right-sidebar{transition:none}.tpl-panel-enter-active,.tpl-panel-leave-active{animation:none}}.tpl-body{transition:left var(--tpl-panel-transition),right var(--tpl-panel-transition)}.tpl-right-sidebar{transition:right var(--tpl-panel-transition)}.tpl-panel-enter-active{animation:var(--tpl-panel-transition) both tpl-panel-in}.tpl-panel-leave-active{animation:var(--tpl-panel-transition) both tpl-panel-out}@keyframes tpl-panel-in{0%{transform:translate(100%)}to{transform:none}}@keyframes tpl-panel-out{0%{transform:none}to{transform:translate(100%)}}.tpl-header-container{container:tpl-header/inline-size}.tpl-header-identity [data-testid=template-name],.tpl-header-identity [data-testid=template-name-input]{max-width:100%}.tpl-language-tag{display:none}.tpl-header-identity{flex-shrink:1;min-width:24px}.tpl-header-actions{display:contents}.tpl-header-timestamp{max-width:100%}.tpl-header:not([data-status-label=true]) .tpl-status-label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-header[data-compact=true]{grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px;padding-inline:8px}.tpl-header[data-compact=true] .tpl-header-left,.tpl-header[data-compact=true] .tpl-header-right{gap:4px;min-width:0}.tpl-header[data-compact=true] .tpl-header-center{gap:4px}.tpl-header[data-compact=true] .tpl-header-identity{flex:0 auto;min-width:24px;max-width:none;padding-bottom:0}.tpl-header[data-compact=true] .tpl-header-timestamp,.tpl-header[data-compact=true] .tpl-header-label,.tpl-header[data-compact=true] .tpl-header-comment-count,.tpl-header[data-compact=true] .tpl-language-name,.tpl-header[data-compact=true] .tpl-language-count,.tpl-header[data-compact=true] .tpl-language-chevron{display:none}.tpl-header[data-compact=true] .tpl-header-left .tpl-language-tag{display:inline}.tpl-header[data-compact=true] .tpl-language-control{flex-shrink:1}.tpl-header[data-compact=true] .tpl-language-trigger{gap:4px;padding-inline:6px;width:100%!important;max-width:72px!important}.tpl-header[data-compact=true] .tpl-header-center [role=radio]{padding-inline:6px}.tpl-header[data-compact=true] [data-testid=version-history]{gap:0}.tpl-header[data-compact=true] [data-testid=version-history-toggle]{padding-inline:4px}.tpl-header[data-compact=true] .tpl-header-right>button{gap:0;min-width:32px;padding-inline:7px}.tpl-header[data-compact=true] .tpl-header-save-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@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}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-preview-pill-enter-active[data-v-0dfeea75]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-0dfeea75]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-0dfeea75],.tpl-preview-pill-leave-to[data-v-0dfeea75]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-0dfeea75],.tpl-preview-pill-leave-from[data-v-0dfeea75]{opacity:1;transform:translateY(0) scale(1)}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-color-swatch-transparent{background-color:var(--tpl-bg);background-image:repeating-conic-gradient(var(--tpl-border) 0% 25%,var(--tpl-bg) 0% 50%);background-size:8px 8px}.tpl-pulse-fill[data-v-fca026e4]{animation:tpl-field-pulse-fca026e4 1s ease-out}@keyframes tpl-field-pulse-fca026e4{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-fca026e4]{animation:none}}input[type=number][data-v-94c2e6ff]::-webkit-outer-spin-button,input[type=number][data-v-94c2e6ff]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-94c2e6ff]{-moz-appearance:textfield}.tpl-collapsible[data-v-206f038f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-206f038f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-206f038f]{overflow:hidden}@container tpl-header (max-width: 760px){.tpl-language-submenu[data-v-9b071249]{left:0;top:100%;bottom:auto;margin:4px 0 0;max-width:100%}}.tpl-language-row[data-v-9b071249]:hover,.tpl-language-row[data-v-9b071249]:focus-within,[role=menuitem][data-v-9b071249]:hover{background:var(--tpl-bg-hover)}.tpl-language-row[data-active=true][data-v-9b071249]{background:var(--tpl-bg-active)}.tpl-language-row[data-active=true] .tpl-language-pill[data-v-9b071249]{background:var(--tpl-bg)}[aria-disabled=true][data-v-9b071249]{cursor:not-allowed;color:var(--tpl-text-muted)}[aria-disabled=true] svg[data-v-9b071249]{color:var(--tpl-text-dim)}@media(hover:hover)and (pointer:fine){.tpl-language-actions[data-v-9b071249]{opacity:0}.tpl-language-row:hover .tpl-language-actions[data-v-9b071249],.tpl-language-row:focus-within .tpl-language-actions[data-v-9b071249],.tpl-language-actions[aria-expanded=true][data-v-9b071249]{opacity:1}}.tpl-language-actions[data-v-9b071249]{transition:opacity var(--tpl-transition)}.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-select:focus-visible{box-shadow:none}.tpl-saved-block-select:focus-visible:after{content:\"\";position:absolute;inset:-1px;border-radius:var(--tpl-radius-sm);box-shadow:var(--tpl-ring);pointer-events:none}.tpl-saved-block-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-media-item[data-v-57c35946]:not(.tpl-media-item--selected):hover{border-color:var(--tpl-border)!important}.tpl-media-list-item[data-v-57c35946]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-list-icon[data-v-57c35946]{transform:scale(.35);transform-origin:center}.tpl-preview-icon[data-v-50993988]{transform:scale(.45);transform-origin:center}.tpl-comments-input-wrapper[data-v-75eacb94]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-75eacb94]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-75eacb94]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-75eacb94]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-75eacb94]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-75eacb94]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-75eacb94]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-75eacb94]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-75eacb94],.tpl-comment-reply-card[data-v-75eacb94]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-75eacb94],.tpl-resolve-leave-active[data-v-75eacb94]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-75eacb94],.tpl-resolve-leave-to[data-v-75eacb94]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-75eacb94]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-75eacb94]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-75eacb94],.tpl-replies-leave-active[data-v-75eacb94]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-75eacb94],.tpl-replies-leave-to[data-v-75eacb94]{opacity:0;transform:translateY(-4px)}.tpl-ai-input-wrapper[data-v-51fb7448]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-51fb7448]:not(:disabled):hover{transform:scale(1.05)}.tpl-starter-btn[data-v-51fb7448]: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-7d9a1872] .tpl-cropper-background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper{background-color:transparent!important}[data-v-7d9a1872] .vue-advanced-cropper__background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper__foreground{background-color:var(--tpl-overlay)!important}\n/*$vite$:1*/", $o = null;
|
|
4256
|
+
function es() {
|
|
4257
|
+
if ($o === null) {
|
|
4258
4258
|
let e = new CSSStyleSheet();
|
|
4259
|
-
e.replaceSync(
|
|
4259
|
+
e.replaceSync(Jo(Qo)), $o = e;
|
|
4260
4260
|
}
|
|
4261
|
-
return
|
|
4261
|
+
return $o;
|
|
4262
4262
|
}
|
|
4263
|
-
function
|
|
4263
|
+
function ts(e) {
|
|
4264
4264
|
return () => {};
|
|
4265
4265
|
}
|
|
4266
|
-
function
|
|
4266
|
+
function ns(e, t) {
|
|
4267
4267
|
if (!t) return {
|
|
4268
4268
|
target: e,
|
|
4269
4269
|
shadowRoot: null,
|
|
4270
4270
|
cleanup: () => {}
|
|
4271
4271
|
};
|
|
4272
4272
|
let n = e.shadowRoot ?? e.attachShadow({ mode: "open" });
|
|
4273
|
-
for (n.adoptedStyleSheets = [
|
|
4273
|
+
for (n.adoptedStyleSheets = [es()]; n.firstChild;) n.removeChild(n.firstChild);
|
|
4274
4274
|
let r = document.createElement("div");
|
|
4275
4275
|
return r.className = "tpl-editor-host", r.style.cssText = "display:block;height:100%;width:100%;", n.appendChild(r), {
|
|
4276
4276
|
target: r,
|
|
4277
4277
|
shadowRoot: n,
|
|
4278
|
-
cleanup:
|
|
4278
|
+
cleanup: ts(n)
|
|
4279
4279
|
};
|
|
4280
4280
|
}
|
|
4281
|
-
var
|
|
4282
|
-
function
|
|
4281
|
+
var rs = /* @__PURE__ */ new Map(), is = null, as = 0, os = /* @__PURE__ */ new WeakMap();
|
|
4282
|
+
function ss(e) {
|
|
4283
4283
|
let t = typeof e == "string" ? document.querySelector(e) : e;
|
|
4284
4284
|
if (!t) throw Error(`[Templatical] Container element not found: ${e}`);
|
|
4285
|
-
let n = ++
|
|
4286
|
-
return
|
|
4285
|
+
let n = ++as;
|
|
4286
|
+
return os.set(t, n), {
|
|
4287
4287
|
container: t,
|
|
4288
4288
|
token: n
|
|
4289
4289
|
};
|
|
4290
4290
|
}
|
|
4291
|
-
function
|
|
4292
|
-
let n =
|
|
4293
|
-
n && (t && n.app !== t || (n.cleanup(), n.app.unmount(),
|
|
4291
|
+
function cs(e, t) {
|
|
4292
|
+
let n = rs.get(e);
|
|
4293
|
+
n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), rs.delete(e), is === e && (is = null)));
|
|
4294
4294
|
}
|
|
4295
|
-
function
|
|
4296
|
-
e.layout && (e.layout =
|
|
4295
|
+
function ls(e) {
|
|
4296
|
+
e.layout && (e.layout = Bn(e.layout, e.mergeTags), Ee(e.layout)), e.content && (e.content = Bn(e.content, e.mergeTags), Pe(e.content), je(e.content));
|
|
4297
4297
|
}
|
|
4298
|
-
async function
|
|
4298
|
+
async function us(e) {
|
|
4299
4299
|
let t = { ...e };
|
|
4300
4300
|
if (t.translation !== void 0 && (t.translation === null || typeof t.translation != "object" || typeof t.translation.translate != "function")) throw new Q("translation must be an object with a translate function.");
|
|
4301
|
-
for (let e of t.localization?.locales ?? []) if (!
|
|
4301
|
+
for (let e of t.localization?.locales ?? []) if (!we(e)) throw new Q(`Invalid localization locale "${e}".`);
|
|
4302
4302
|
let n = t.localization?.doNotTranslate;
|
|
4303
4303
|
if (n !== void 0 && (!Array.isArray(n) || n.length > 500 || n.some((e) => typeof e != "string" || e.trim().length < 1 || e.trim().length > 100))) throw new Q("localization.doNotTranslate must be an array of at most 500 terms, each 1–100 characters.");
|
|
4304
|
-
return
|
|
4304
|
+
return ls(t), ds(t, ss(t.container));
|
|
4305
4305
|
}
|
|
4306
|
-
async function
|
|
4307
|
-
e.locale !== void 0 && !
|
|
4308
|
-
let a = await
|
|
4309
|
-
if (
|
|
4306
|
+
async function ds(e, { container: t, token: n }, i) {
|
|
4307
|
+
e.locale !== void 0 && !fn(e.locale) && Zn.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${wn().sort().join(", ")}.`);
|
|
4308
|
+
let a = await ln(e.locale ?? "en"), o = sn(e.fonts);
|
|
4309
|
+
if (os.get(t) !== n) return fs({
|
|
4310
4310
|
config: e,
|
|
4311
4311
|
editorRef: z(null),
|
|
4312
4312
|
fontsManager: o,
|
|
4313
4313
|
unmount: () => {}
|
|
4314
4314
|
}).instance;
|
|
4315
|
-
|
|
4316
|
-
let s =
|
|
4317
|
-
return () => r(
|
|
4315
|
+
cs(t);
|
|
4316
|
+
let s = ns(t, e.shadowDom ?? !0), c = z(null), l = I({ setup() {
|
|
4317
|
+
return () => r(Ko, {
|
|
4318
4318
|
config: e,
|
|
4319
4319
|
translations: a,
|
|
4320
4320
|
fontsManager: o,
|
|
@@ -4327,23 +4327,23 @@ async function us(e, { container: t, token: n }, i) {
|
|
|
4327
4327
|
ref: c
|
|
4328
4328
|
});
|
|
4329
4329
|
} });
|
|
4330
|
-
l.mount(s.target),
|
|
4330
|
+
l.mount(s.target), rs.set(t, {
|
|
4331
4331
|
app: l,
|
|
4332
4332
|
editorRef: c,
|
|
4333
4333
|
cleanup: s.cleanup
|
|
4334
|
-
}),
|
|
4335
|
-
let { instance: u, render: d } =
|
|
4334
|
+
}), is = t;
|
|
4335
|
+
let { instance: u, render: d } = fs({
|
|
4336
4336
|
config: e,
|
|
4337
4337
|
editorRef: c,
|
|
4338
4338
|
fontsManager: o,
|
|
4339
|
-
unmount: () =>
|
|
4339
|
+
unmount: () => cs(t, l)
|
|
4340
4340
|
});
|
|
4341
4341
|
return u;
|
|
4342
4342
|
}
|
|
4343
|
-
function
|
|
4343
|
+
function fs({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
4344
4344
|
let i = {
|
|
4345
4345
|
getContent() {
|
|
4346
|
-
return
|
|
4346
|
+
return De(t.value ? t.value.getContent() : e.content ?? Ie(e.fonts?.defaultFont, ur(e)));
|
|
4347
4347
|
},
|
|
4348
4348
|
getLocale() {
|
|
4349
4349
|
return t.value?.getLocale() ?? Z(i.getContent());
|
|
@@ -4354,7 +4354,7 @@ function ds({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
|
4354
4354
|
t.value?.setLocale(n);
|
|
4355
4355
|
},
|
|
4356
4356
|
setContent(n) {
|
|
4357
|
-
let r =
|
|
4357
|
+
let r = Bn(n, e.mergeTags);
|
|
4358
4358
|
t.value && t.value.setContent(r), e.content = r;
|
|
4359
4359
|
},
|
|
4360
4360
|
refreshPreview() {
|
|
@@ -4362,7 +4362,7 @@ function ds({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
|
4362
4362
|
},
|
|
4363
4363
|
insertBlock(n) {
|
|
4364
4364
|
let r = { blocks: [n] };
|
|
4365
|
-
return
|
|
4365
|
+
return Pe(r), je(r), t.value ? t.value.insertBlock(Hn(n, e.mergeTags)) : null;
|
|
4366
4366
|
},
|
|
4367
4367
|
setTheme(e) {
|
|
4368
4368
|
t.value && t.value.setTheme(e);
|
|
@@ -4377,7 +4377,7 @@ function ds({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
|
4377
4377
|
create(n) {
|
|
4378
4378
|
return t.value ? t.value.create(n?.content ? {
|
|
4379
4379
|
...n,
|
|
4380
|
-
content:
|
|
4380
|
+
content: Bn(n.content, e.mergeTags)
|
|
4381
4381
|
} : n) : Promise.reject(/* @__PURE__ */ Error("[Templatical] Editor not ready"));
|
|
4382
4382
|
},
|
|
4383
4383
|
load(e) {
|
|
@@ -4397,20 +4397,20 @@ function ds({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
|
4397
4397
|
},
|
|
4398
4398
|
toMjml: (e) => a.toMjml(e),
|
|
4399
4399
|
toHtml: (e) => a.toHtml(e)
|
|
4400
|
-
}, a =
|
|
4400
|
+
}, a = Zo({
|
|
4401
4401
|
provider: e.render,
|
|
4402
|
-
buildPayload: (t) =>
|
|
4402
|
+
buildPayload: (t) => Xo({
|
|
4403
4403
|
getContent: () => i.getContent(),
|
|
4404
4404
|
renderCustomBlock: (e) => i.renderCustomBlock(e),
|
|
4405
4405
|
getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
|
|
4406
|
-
getFonts: () =>
|
|
4406
|
+
getFonts: () => Yo(n),
|
|
4407
4407
|
getLayout: () => e.layout
|
|
4408
4408
|
}, t),
|
|
4409
|
-
renderLocalMjml: (t) =>
|
|
4409
|
+
renderLocalMjml: (t) => mi({
|
|
4410
4410
|
getContent: () => i.getContent(),
|
|
4411
4411
|
renderCustomBlock: (e) => i.renderCustomBlock(e),
|
|
4412
4412
|
getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
|
|
4413
|
-
getFonts: () =>
|
|
4413
|
+
getFonts: () => Yo(n),
|
|
4414
4414
|
socialIconsBaseUrl: e.socialIconsBaseUrl,
|
|
4415
4415
|
getLayout: () => e.layout
|
|
4416
4416
|
}, ...t ? [t] : [])
|
|
@@ -4420,18 +4420,18 @@ function ds({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
|
4420
4420
|
render: a
|
|
4421
4421
|
};
|
|
4422
4422
|
}
|
|
4423
|
-
async function
|
|
4423
|
+
async function ps(e) {
|
|
4424
4424
|
let t = {
|
|
4425
4425
|
layout: e.layout,
|
|
4426
4426
|
content: e.content,
|
|
4427
4427
|
mergeTags: e.mergeTags
|
|
4428
4428
|
};
|
|
4429
|
-
|
|
4430
|
-
let n =
|
|
4429
|
+
ls(t);
|
|
4430
|
+
let n = ss(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./chunks/createCloudRuntime-B5numxlW.js"), mn(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
|
|
4431
4431
|
config: e,
|
|
4432
4432
|
cloudTranslations: i
|
|
4433
4433
|
});
|
|
4434
|
-
return
|
|
4434
|
+
return ds({
|
|
4435
4435
|
container: e.container,
|
|
4436
4436
|
content: t.content,
|
|
4437
4437
|
layout: t.layout,
|
|
@@ -4476,9 +4476,9 @@ async function fs(e) {
|
|
|
4476
4476
|
user: s
|
|
4477
4477
|
}, n, a);
|
|
4478
4478
|
}
|
|
4479
|
-
function
|
|
4480
|
-
|
|
4479
|
+
function ms() {
|
|
4480
|
+
is && cs(is);
|
|
4481
4481
|
}
|
|
4482
|
-
export {
|
|
4482
|
+
export { qn as AI_ALT_TEXT_RULES, Jn as AI_FIXABLE_RULES, Fe as applyLayout, Ie as createDefaultTemplateContent, Y as createLocalStorageMediaProvider, ne as createLocalStorageSavedBlocksProvider, ue as createParagraphBlock, Ne as createSlotBlock, X as createWrapperBlock, Tn as getBaseLocale, on as getSupportedCloudLocales, wn as getSupportedLocales, us as init, ps as initCloud, dn as isCloudLocaleSupported, fn as isLocaleSupported, de as isSlot, ve as isWrapper, Ae as layoutWrapsSlot, ms as unmount, Ee as validateLayout };
|
|
4483
4483
|
|
|
4484
4484
|
//# sourceMappingURL=editor.js.map
|