@templatical/editor 0.57.2 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AiAltTextPopover-B4cg0jQG.js → AiAltTextPopover-CwyKz_9U.js} +3 -3
- package/dist/{AiAltTextReview-Dni8I9eV.js → AiAltTextReview-DNFnR1PN.js} +2 -2
- package/dist/{AiChatPanel-QWqGhy2s.js → AiChatPanel-DWWVvJIP.js} +3 -3
- package/dist/{AiPanels-DE2ysIV1.js → AiPanels-CESbBB63.js} +1 -1
- package/dist/{AiRewriteMenu-B25gpnip.js → AiRewriteMenu-CjXiI-n4.js} +5 -5
- package/dist/{BlockIssueBadge-Ri7dQhuz.js → BlockIssueBadge-3k568_Od.js} +2 -2
- package/dist/{BlockPreviewCanvas-yr5MmQql.js → BlockPreviewCanvas-3FzYSsPm.js} +6 -6
- package/dist/{CloudHeaderExtras-CJsXi4Ku.js → CloudHeaderExtras-xrHubAHL.js} +1 -1
- package/dist/{CloudPanels-ZOR9By8W.js → CloudPanels-CSFN-eLV.js} +3 -3
- package/dist/{CollaborationNotices-COS_YvTq.js → CollaborationNotices-D9GQ477K.js} +1 -1
- package/dist/{CollaboratorBar-jq6HH0fb.js → CollaboratorBar-DsRjAaqd.js} +1 -1
- package/dist/{CommentsPanel-B0_Ob2vO.js → CommentsPanel-lb-IFzjl.js} +1 -1
- package/dist/{CommentsSidebar-DFoLon5D.js → CommentsSidebar-CVVTCWBH.js} +3 -3
- package/dist/{CountdownBlock-BrR2uqM3.js → CountdownBlock-CSEq79Nc.js} +2 -2
- package/dist/{CountdownToolbar-BtP0n0yZ.js → CountdownToolbar-BV9yQi9k.js} +5 -5
- package/dist/{IssuesPanel-CarJYQFu.js → IssuesPanel-pxcWAQJM.js} +5 -5
- package/dist/{LanguageMenu-confz89v.js → LanguageMenu-CEKRbNhA.js} +5 -5
- package/dist/{LocaleNotices-D8aE167E.js → LocaleNotices-j4aMFfmc.js} +2 -2
- package/dist/{LogicTagInsertButton-DFL3kvGK.js → LogicTagInsertButton-BDIsyl3C.js} +96 -96
- package/dist/{MergeTagInput-BuGJeeyA.js → MergeTagInput-De1yWoc2.js} +2 -2
- package/dist/{MergeTagModeToggle-D7482NZf.js → MergeTagModeToggle-CL96pI1E.js} +2 -2
- package/dist/{MergeTagTextarea-Qt9_NeY4.js → MergeTagTextarea-DDyV8U44.js} +4 -4
- package/dist/{ParagraphEditor-Cd-CBE_l.js → ParagraphEditor-Vz90-hhN.js} +9 -9
- package/dist/{RestoreVersionDialog-Clh4l0Bn.js → RestoreVersionDialog-BgrtpVl1.js} +3 -3
- package/dist/{RichTextEditorContent-Dw_Z9zhi.js → RichTextEditorContent-C2Yj1-ZA.js} +5 -5
- package/dist/{SaveBlockDialog-kboYvk_a.js → SaveBlockDialog-DRvLFKWJ.js} +11 -11
- package/dist/{SavedBlocksBrowserModal-wVGMC6My.js → SavedBlocksBrowserModal-Dw0uF-NT.js} +7 -7
- package/dist/{SavedBlocksPanels-C9AHYfYR.js → SavedBlocksPanels-BReNi8sg.js} +1 -1
- package/dist/{SavedBlocksPickBar-CVbV5MVL.js → SavedBlocksPickBar-BQX4g7OE.js} +3 -3
- package/dist/{TemplateSettings-ChCm5_2b.js → TemplateSettings-CBCaybvd.js} +5 -5
- package/dist/TestEmailModal-BiCUiRFo.js +240 -0
- package/dist/{TestEmailPanel-7Ua54CYL.js → TestEmailPanel-Bfr-sGrI.js} +1 -1
- package/dist/{TitleEditor-DXMOgW-9.js → TitleEditor-B8thQPgg.js} +7 -7
- package/dist/{Toolbar-CVHJl6i4.js → Toolbar-FIYSw3Us.js} +438 -438
- package/dist/{TplModal-BErE8I3p.js → TplModal-BIqO0owX.js} +3 -3
- package/dist/{VersionHistoryMenu-P3P00KqQ.js → VersionHistoryMenu-6jMve6By.js} +2 -2
- package/dist/{VersionHistoryPanels-DES1b1Pq.js → VersionHistoryPanels-C91mfsMA.js} +1 -1
- package/dist/{VersionPreviewBanner-D2TtR9I5.js → VersionPreviewBanner-Bq8z1SUc.js} +2 -2
- package/dist/{WrapperBlock-B1zI7POT.js → WrapperBlock-BAqgP8hm.js} +3 -3
- package/dist/{blockTypeIcons-Dp540i74.js → blockTypeIcons-VX_8UQ21.js} +1 -1
- package/dist/bundle-stats.json +8 -8
- package/dist/{ca-BJn8lcJx.js → ca-YfIxwO1G.js} +1 -0
- package/dist/cdn/chunks/{AiAltTextPopover-sx3bmRiV.js → AiAltTextPopover-Dj-VLU88.js} +4 -4
- package/dist/cdn/chunks/{AiAltTextPopover-sx3bmRiV.js.map → AiAltTextPopover-Dj-VLU88.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-Cj3PKInZ.js → AiAltTextReview-tVkJPOk6.js} +3 -3
- package/dist/cdn/chunks/{AiAltTextReview-Cj3PKInZ.js.map → AiAltTextReview-tVkJPOk6.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-DibkqrqY.js → AiChatPanel-CYPvHQGQ.js} +4 -4
- package/dist/cdn/chunks/{AiChatPanel-DibkqrqY.js.map → AiChatPanel-CYPvHQGQ.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-DVs4r8sY.js → AiPanels-ChTLCmMS.js} +2 -2
- package/dist/cdn/chunks/{AiPanels-DVs4r8sY.js.map → AiPanels-ChTLCmMS.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-BbZ9NRoe.js → AiRewriteMenu-99qbfCZI.js} +6 -6
- package/dist/cdn/chunks/{AiRewriteMenu-BbZ9NRoe.js.map → AiRewriteMenu-99qbfCZI.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-BWIth1y6.js → BlockIssueBadge-BKO4Mr8f.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-BWIth1y6.js.map → BlockIssueBadge-BKO4Mr8f.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-BDZ6pMHq.js → BlockPreviewCanvas-BF0yCTKP.js} +7 -7
- package/dist/cdn/chunks/{BlockPreviewCanvas-BDZ6pMHq.js.map → BlockPreviewCanvas-BF0yCTKP.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-CazfMn6A.js → CloudHeaderExtras-O_K3jmgO.js} +2 -2
- package/dist/cdn/chunks/{CloudHeaderExtras-CazfMn6A.js.map → CloudHeaderExtras-O_K3jmgO.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-BI_hJwcJ.js → CloudPanels-gV2WFHQk.js} +4 -4
- package/dist/cdn/chunks/{CloudPanels-BI_hJwcJ.js.map → CloudPanels-gV2WFHQk.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-yKOt4o7B.js → CollaborationNotices-CwAoa-73.js} +2 -2
- package/dist/cdn/chunks/{CollaborationNotices-yKOt4o7B.js.map → CollaborationNotices-CwAoa-73.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-D5fycyLP.js → CollaboratorBar-DdQQwtwd.js} +2 -2
- package/dist/cdn/chunks/{CollaboratorBar-D5fycyLP.js.map → CollaboratorBar-DdQQwtwd.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-BPoa1lBK.js → CommentsPanel-C8AKtxiG.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-BPoa1lBK.js.map → CommentsPanel-C8AKtxiG.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-DLn9qWtv.js → CommentsSidebar-FxY0RHSq.js} +4 -4
- package/dist/cdn/chunks/{CommentsSidebar-DLn9qWtv.js.map → CommentsSidebar-FxY0RHSq.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-Do6oItNW.js → CountdownBlock-DGgnPUlu.js} +3 -3
- package/dist/cdn/chunks/{CountdownBlock-Do6oItNW.js.map → CountdownBlock-DGgnPUlu.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-D5_QBuhO.js → CountdownToolbar-9PtYUgCW.js} +6 -6
- package/dist/cdn/chunks/{CountdownToolbar-D5_QBuhO.js.map → CountdownToolbar-9PtYUgCW.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BzVpxRkq.js → IssuesPanel-Co-ffgWa.js} +6 -6
- package/dist/cdn/chunks/{IssuesPanel-BzVpxRkq.js.map → IssuesPanel-Co-ffgWa.js.map} +1 -1
- package/dist/cdn/chunks/{LanguageMenu-GEbUX5Oe.js → LanguageMenu-fL4DRGGQ.js} +6 -6
- package/dist/cdn/chunks/{LanguageMenu-GEbUX5Oe.js.map → LanguageMenu-fL4DRGGQ.js.map} +1 -1
- package/dist/cdn/chunks/{LocaleNotices-CWRS_G-4.js → LocaleNotices-BVDJ7kyj.js} +3 -3
- package/dist/cdn/chunks/{LocaleNotices-CWRS_G-4.js.map → LocaleNotices-BVDJ7kyj.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-CrkAz1t_.js → LogicTagInsertButton-DPYA8LJW.js} +9 -9
- package/dist/cdn/chunks/{LogicTagInsertButton-CrkAz1t_.js.map → LogicTagInsertButton-DPYA8LJW.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-DkCATtfE.js → MergeTagInput-Cxfjq3tx.js} +3 -3
- package/dist/cdn/chunks/{MergeTagInput-DkCATtfE.js.map → MergeTagInput-Cxfjq3tx.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DYAFxyoB.js → MergeTagModeToggle-BmNGV3yc.js} +3 -3
- package/dist/cdn/chunks/{MergeTagModeToggle-DYAFxyoB.js.map → MergeTagModeToggle-BmNGV3yc.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-DRS6pXSE.js → MergeTagTextarea-DmwrPAss.js} +5 -5
- package/dist/cdn/chunks/{MergeTagTextarea-DRS6pXSE.js.map → MergeTagTextarea-DmwrPAss.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-rEdKBett.js → ParagraphEditor-A_OEuQ1Q.js} +10 -10
- package/dist/cdn/chunks/{ParagraphEditor-rEdKBett.js.map → ParagraphEditor-A_OEuQ1Q.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-B7eTijWD.js → RestoreVersionDialog-Ca_lUsk4.js} +4 -4
- package/dist/cdn/chunks/{RestoreVersionDialog-B7eTijWD.js.map → RestoreVersionDialog-Ca_lUsk4.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-EtUIYzHB.js → RichTextEditorContent-Dq4TROOg.js} +6 -6
- package/dist/cdn/chunks/{RichTextEditorContent-EtUIYzHB.js.map → RichTextEditorContent-Dq4TROOg.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-BquE_Brz.js → SaveBlockDialog-BXRCqrZX.js} +12 -12
- package/dist/cdn/chunks/{SaveBlockDialog-BquE_Brz.js.map → SaveBlockDialog-BXRCqrZX.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal--fNlId5y.js → SavedBlocksBrowserModal-DdaBcSOI.js} +7 -7
- package/dist/cdn/chunks/{SavedBlocksBrowserModal--fNlId5y.js.map → SavedBlocksBrowserModal-DdaBcSOI.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-0Z0dELDm.js → SavedBlocksPanels-BcVFZDKI.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-0Z0dELDm.js.map → SavedBlocksPanels-BcVFZDKI.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-yezZxZeP.js → SavedBlocksPickBar-o66PhlTo.js} +4 -4
- package/dist/cdn/chunks/{SavedBlocksPickBar-yezZxZeP.js.map → SavedBlocksPickBar-o66PhlTo.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-DFetnT9P.js → TemplateSettings-uoiUkd2l.js} +6 -6
- package/dist/cdn/chunks/{TemplateSettings-DFetnT9P.js.map → TemplateSettings-uoiUkd2l.js.map} +1 -1
- package/dist/cdn/chunks/TestEmailModal-WOC7bmF_.js +239 -0
- package/dist/cdn/chunks/TestEmailModal-WOC7bmF_.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailPanel-C2dxmmoW.js → TestEmailPanel-DUWH9xsZ.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-C2dxmmoW.js.map → TestEmailPanel-DUWH9xsZ.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-Bq62I2SC.js → TitleEditor-EHW0lgG4.js} +7 -7
- package/dist/cdn/chunks/{TitleEditor-Bq62I2SC.js.map → TitleEditor-EHW0lgG4.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-CwmW8wAI.js → Toolbar-BzAuH2G4.js} +19 -19
- package/dist/cdn/chunks/{Toolbar-CwmW8wAI.js.map → Toolbar-BzAuH2G4.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-DE6BniBg.js → TplModal-B9DVglkN.js} +4 -4
- package/dist/cdn/chunks/{TplModal-DE6BniBg.js.map → TplModal-B9DVglkN.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-BBYU71Ua.js → VersionHistoryMenu-DDqYMqC2.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryMenu-BBYU71Ua.js.map → VersionHistoryMenu-DDqYMqC2.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-mMMqnf3O.js → VersionHistoryPanels-DO-kcL28.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-mMMqnf3O.js.map → VersionHistoryPanels-DO-kcL28.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-tBz-3lGg.js → VersionPreviewBanner-CYT5QUoc.js} +3 -3
- package/dist/cdn/chunks/{VersionPreviewBanner-tBz-3lGg.js.map → VersionPreviewBanner-CYT5QUoc.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-B9XxtFql.js → WrapperBlock-CyD_pW18.js} +4 -4
- package/dist/cdn/chunks/{WrapperBlock-B9XxtFql.js.map → WrapperBlock-CyD_pW18.js.map} +1 -1
- package/dist/cdn/chunks/{ca-BJn8lcJx.js → ca-YfIxwO1G.js} +2 -1
- package/dist/cdn/chunks/{ca-BJn8lcJx.js.map → ca-YfIxwO1G.js.map} +1 -1
- package/dist/cdn/chunks/{composables-CkthyXi9.js → composables-CN9j_FH4.js} +466 -451
- package/dist/cdn/chunks/composables-CN9j_FH4.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-k12jYbXP.js → createCloudRuntime-D8zeR9D2.js} +2 -2
- package/dist/cdn/chunks/{createCloudRuntime-k12jYbXP.js.map → createCloudRuntime-D8zeR9D2.js.map} +1 -1
- package/dist/cdn/chunks/{da-qQzj0QGy.js → da-CM6DCvRG.js} +2 -1
- package/dist/cdn/chunks/{da-qQzj0QGy.js.map → da-CM6DCvRG.js.map} +1 -1
- package/dist/cdn/chunks/{de-BLFp3nWx.js → de-Dugz1zXC.js} +2 -1
- package/dist/cdn/chunks/{de-BLFp3nWx.js.map → de-Dugz1zXC.js.map} +1 -1
- package/dist/cdn/chunks/{en-DGGQJGbm.js → en-BykoFuFY.js} +2 -1
- package/dist/cdn/chunks/{en-DGGQJGbm.js.map → en-BykoFuFY.js.map} +1 -1
- package/dist/cdn/chunks/{es-DTY9qgLv.js → es-DaWsTkpj.js} +2 -1
- package/dist/cdn/chunks/{es-DTY9qgLv.js.map → es-DaWsTkpj.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-Djyg5slk.js → extensions-BYJPv1sA.js} +4 -4
- package/dist/cdn/chunks/{extensions-Djyg5slk.js.map → extensions-BYJPv1sA.js.map} +1 -1
- package/dist/cdn/chunks/{fr-L4FqO9Gp.js → fr-DqwQHtJo.js} +2 -1
- package/dist/cdn/chunks/{fr-L4FqO9Gp.js.map → fr-DqwQHtJo.js.map} +1 -1
- package/dist/cdn/chunks/{ja-6uOXkh4v.js → ja-BH4MS1Ye.js} +2 -1
- package/dist/cdn/chunks/{ja-6uOXkh4v.js.map → ja-BH4MS1Ye.js.map} +1 -1
- package/dist/cdn/chunks/{keys-BQqbBUag.js → keys-DNv3xXxI.js} +4 -4
- package/dist/cdn/chunks/keys-DNv3xXxI.js.map +1 -0
- package/dist/cdn/chunks/{nl-DCxuxwNq.js → nl-BQl1_UHv.js} +2 -1
- package/dist/cdn/chunks/{nl-DCxuxwNq.js.map → nl-BQl1_UHv.js.map} +1 -1
- package/dist/{pt-BR-CBkcrebr.js → cdn/chunks/pt-BR-eyzmU9Vs.js} +3 -0
- package/dist/cdn/chunks/{pt-BR-CBkcrebr.js.map → pt-BR-eyzmU9Vs.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-CkgQUpim.js → socialIcons-bvQ57o1m.js} +484 -467
- package/dist/cdn/chunks/socialIcons-bvQ57o1m.js.map +1 -0
- package/dist/cdn/chunks/{src-CpUX1Mhb.js → src-BXrhjqCv.js} +11 -18
- package/dist/cdn/chunks/src-BXrhjqCv.js.map +1 -0
- package/dist/cdn/chunks/src-CVHGPKSW.js.map +1 -1
- package/dist/cdn/chunks/{styleConstants-CgiNKdnc.js → styleConstants-Br6CIRoS.js} +6 -6
- package/dist/cdn/chunks/styleConstants-Br6CIRoS.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-Dr4S2TRW.js → useCloudI18n-CWgySYuJ.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-Dr4S2TRW.js.map → useCloudI18n-CWgySYuJ.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorRoot-B_kf_k-g.js → useEditorRoot-BA4vV7sK.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-B_kf_k-g.js.map → useEditorRoot-BA4vV7sK.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-CSf-ZpcM.js → useI18n-JsIdvX-i.js} +2 -2
- package/dist/cdn/chunks/{useI18n-CSf-ZpcM.js.map → useI18n-JsIdvX-i.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-YXRBcfgG.js → useLogicTag-C10Wef7d.js} +2 -2
- package/dist/cdn/chunks/{useLogicTag-YXRBcfgG.js.map → useLogicTag-C10Wef7d.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-lb-Wrw-B.js → useMergeTag-Dd26TcvH.js} +2 -2
- package/dist/cdn/chunks/{useMergeTag-lb-Wrw-B.js.map → useMergeTag-Dd26TcvH.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-BJFFi8x6.js → usePopoverPosition-DWRQRT2P.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-BJFFi8x6.js.map → usePopoverPosition-DWRQRT2P.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-MI4PP5lk.js → useScrollToBlock-CArjwH-u.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-MI4PP5lk.js.map → useScrollToBlock-CArjwH-u.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +709 -617
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{composables-BrzGZQkd.js → composables-DbqKYIRE.js} +631 -616
- package/dist/{createCloudRuntime-DgQfMi22.js → createCloudRuntime-DiUnYjKr.js} +1 -1
- package/dist/{da-qQzj0QGy.js → da-CM6DCvRG.js} +1 -0
- package/dist/{de-BLFp3nWx.js → de-Dugz1zXC.js} +1 -0
- package/dist/{en-DGGQJGbm.js → en-BykoFuFY.js} +1 -0
- package/dist/{es-DTY9qgLv.js → es-DaWsTkpj.js} +1 -0
- package/dist/{extensions-Cyp2x7cD.js → extensions-CAuXwpbI.js} +3 -3
- package/dist/{fr-L4FqO9Gp.js → fr-DqwQHtJo.js} +1 -0
- package/dist/index.d.ts +64 -5
- package/dist/{ja-6uOXkh4v.js → ja-BH4MS1Ye.js} +1 -0
- package/dist/{keys-D9oKZN1h.js → keys-BeQy64On.js} +3 -3
- package/dist/{nl-DCxuxwNq.js → nl-BQl1_UHv.js} +1 -0
- package/dist/{cdn/chunks/pt-BR-CBkcrebr.js → pt-BR-eyzmU9Vs.js} +1 -2
- package/dist/{socialIcons-ZfH8PyV2.js → socialIcons-RKdTgJip.js} +376 -359
- package/dist/style.css +1 -1
- package/dist/{styleConstants-CgiNKdnc.js → styleConstants-Br6CIRoS.js} +5 -5
- package/dist/templatical-editor.js +761 -668
- package/dist/{useCloudI18n-HhCZYRV6.js → useCloudI18n-nMZ9f_4b.js} +1 -1
- package/dist/{useEditorRoot-B0Njczhx.js → useEditorRoot-DpssP9rX.js} +1 -1
- package/dist/{useI18n-CM9vKbYc.js → useI18n-C2p-qHeb.js} +1 -1
- package/dist/{useLogicTag-BTCtn-uG.js → useLogicTag-59fmujI7.js} +1 -1
- package/dist/{useMergeTag-QlXUjCWT.js → useMergeTag-M1vauWet.js} +1 -1
- package/dist/{usePopoverPosition-CVRzzLkC.js → usePopoverPosition-L9MOHBM-.js} +1 -1
- package/dist/{useScrollToBlock-DruzlN2h.js → useScrollToBlock-BMF0Dt5l.js} +1 -1
- package/package.json +8 -8
- package/dist/TestEmailModal-CYq9Ec7x.js +0 -212
- package/dist/cdn/chunks/TestEmailModal-DJpwpEZs.js +0 -212
- package/dist/cdn/chunks/TestEmailModal-DJpwpEZs.js.map +0 -1
- package/dist/cdn/chunks/composables-CkthyXi9.js.map +0 -1
- package/dist/cdn/chunks/keys-BQqbBUag.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-CkgQUpim.js.map +0 -1
- package/dist/cdn/chunks/src-CpUX1Mhb.js.map +0 -1
- package/dist/cdn/chunks/styleConstants-CgiNKdnc.js.map +0 -1
|
@@ -1,60 +1,61 @@
|
|
|
1
1
|
import { A as e, B as t, D as n, E as r, F as i, Ft as a, L as o, M as s, Mt as c, N as l, O as u, P as d, Pt as f, R as p, S as m, U as h, W as g, Z as _, _ as v, c as y, ct as b, d as x, et as S, f as C, g as w, h as T, j as E, k as D, l as O, m as k, nt as A, q as j, r as M, rt as N, tt as P, u as F, v as I, w as L, y as R } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { a as z, c as B, n as V, o as H, s as U, t as W } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
-
import { G, I as ee, L as K, M as q, N as J, R as Y, V as te, W as ne, _ as re, b as ie, c as ae, j as oe, l as se } from "./socialIcons-
|
|
3
|
+
import { G, I as ee, L as K, M as q, N as J, R as Y, V as te, W as ne, _ as re, b as ie, c as ae, j as oe, l as se } from "./socialIcons-RKdTgJip.js";
|
|
4
4
|
import { A as ce, At as le, C as ue, D as de, Dt as fe, E as X, Ht as pe, I as me, K as he, Mt as ge, N as _e, Pt as ve, Q as ye, R as be, S as xe, T as Se, U as Ce, Yt as we, _ as Te, bt as Ee, dt as De, et as Oe, f as ke, jt as Ae, k as je, ln as Me, nt as Ne, o as Pe, qt as Fe, rt as Z, un as Ie, v as Q, vt as Le, xt as Re } from "./dist-BTjObRcv.js";
|
|
5
5
|
import { t as ze } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
6
6
|
import { i as Be, n as Ve } from "./sanitizeHtml-D2wueiEe.js";
|
|
7
7
|
import { t as He } from "./x-CTKOxIyZ.js";
|
|
8
|
-
import { t as $ } from "./useI18n-
|
|
8
|
+
import { t as $ } from "./useI18n-C2p-qHeb.js";
|
|
9
9
|
import { n as Ue, t as We } from "./useLocalizedDisplay-9RqT2y_Y.js";
|
|
10
|
-
import {
|
|
10
|
+
import { B as Ge, E as Ke, I as qe, J as Je, K as Ye, M as Xe, O as Ze, Q as Qe, R as $e, Y as et, a as tt, at as nt, b as rt, c as it, ct as at, d as ot, et as st, g as ct, h as lt, k as ut, l as dt, lt as ft, m as pt, n as mt, nt as ht, ot as gt, rt as _t, st as vt, t as yt, tt as bt, v as xt, z as St } from "./keys-BeQy64On.js";
|
|
11
11
|
import { t as Ct } from "./plural-CyxrJXL1.js";
|
|
12
12
|
import { t as wt } from "./languageName-DEEOhDWI.js";
|
|
13
|
-
import { C as Tt,
|
|
14
|
-
import { t as
|
|
15
|
-
import { A as
|
|
16
|
-
import { a as
|
|
17
|
-
import { t as
|
|
18
|
-
import { n as
|
|
19
|
-
import { i as
|
|
20
|
-
import { a as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import { t as
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { t as
|
|
32
|
-
import { t as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { t as
|
|
38
|
-
import { t as
|
|
39
|
-
import { t as
|
|
40
|
-
import { t as
|
|
41
|
-
import { t as
|
|
42
|
-
import { t as
|
|
13
|
+
import { C as Tt, E as Et, T as Dt, b as Ot, h as kt, m as At, w as jt, x as Mt } from "./styleConstants-Br6CIRoS.js";
|
|
14
|
+
import { t as Nt } from "./TplModal-BIqO0owX.js";
|
|
15
|
+
import { A as Pt, D as Ft, F as It, G as Lt, I as Rt, M as zt, N as Bt, P as Vt, R as Ht, S as Ut, V as Wt, _ as Gt, a as Kt, b as qt, c as Jt, d as Yt, f as Xt, g as Zt, h as Qt, i as $t, j as en, k as tn, l as nn, m as rn, n as an, o as on, p as sn, r as cn, s as ln, t as un, u as dn, v as fn, x as pn, y as mn } from "./composables-DbqKYIRE.js";
|
|
16
|
+
import { a as hn, i as gn, n as _n, o as vn, t as yn } from "./normalizeMergeTagMarkup-fgoVMKAc.js";
|
|
17
|
+
import { t as bn } from "./aiErrors-C3QEMB0x.js";
|
|
18
|
+
import { n as xn, t as Sn } from "./aiImageContext-BQ5mQ6B5.js";
|
|
19
|
+
import { i as Cn, n as wn, o as Tn, r as En, t as Dn } from "./useScrollToBlock-BMF0Dt5l.js";
|
|
20
|
+
import { a as On } from "./dist-B6ptxfPo.js";
|
|
21
|
+
import { t as kn } from "./logger-BOu7oEtk.js";
|
|
22
|
+
import { t as An } from "./refresh-cw-Ryg1j66N.js";
|
|
23
|
+
import { t as jn } from "./rotate-ccw-D8j7gXXv.js";
|
|
24
|
+
import { t as Mn } from "./createLucideIcon-CssArtUe.js";
|
|
25
|
+
import { t as Nn } from "./sparkles-Dc3Undp5.js";
|
|
26
|
+
import { t as Pn } from "./WrapperBlock-BAqgP8hm.js";
|
|
27
|
+
import { t as Fn } from "./package-D2fov5PU.js";
|
|
28
|
+
import { t as In } from "./blockTypeIcons-VX_8UQ21.js";
|
|
29
|
+
import { t as Ln } from "./templateSettingsFields-cjlP-jdw.js";
|
|
30
|
+
import { n as Rn } from "./smartphone-Co8m0LLg.js";
|
|
31
|
+
import { t as zn } from "./loader-circle-BMc3fVpa.js";
|
|
32
|
+
import { t as Bn } from "./message-circle-D_TpvAJh.js";
|
|
33
|
+
import { t as Vn } from "./send-BLR1b-p5.js";
|
|
34
|
+
import { n as Hn, t as Un } from "./MergeTagModeToggle-CL96pI1E.js";
|
|
35
|
+
import { t as Wn } from "./eye-DK4--qHk.js";
|
|
36
|
+
import { _ as Gn, d as Kn, g as qn } from "./dist-A328tG0Z.js";
|
|
37
|
+
import { t as Jn } from "./formatAbsoluteDateTime-Ck2_zXra.js";
|
|
38
|
+
import { t as Yn } from "./formatRelativeTime-BTD8Ktt-.js";
|
|
39
|
+
import { t as Xn } from "./check-ErKdPXG6.js";
|
|
40
|
+
import { t as Zn } from "./circle-exclamation-point-CIYHx5Tw.js";
|
|
41
|
+
import { t as Qn } from "./chevron-down-C_vv5fZE.js";
|
|
42
|
+
import { t as $n } from "./search-CX2JkSHz.js";
|
|
43
|
+
import { t as er } from "./preRenderCustomBlocks-CgPtlLGL.js";
|
|
43
44
|
// src/utils/resolveTemplateDefaults.ts
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
let t = e.locale?.trim().replace(/_/g, "-"), n = t &&
|
|
45
|
+
var tr = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
|
|
46
|
+
function nr(e) {
|
|
47
|
+
let t = e.locale?.trim().replace(/_/g, "-"), n = t && tr.test(t) ? { locale: t } : void 0;
|
|
47
48
|
if (n || e.templateDefaults) return {
|
|
48
49
|
...n,
|
|
49
50
|
...e.templateDefaults
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
// src/components/NoticeStack.vue
|
|
53
|
-
var
|
|
54
|
-
function
|
|
55
|
-
return s(), C("div",
|
|
54
|
+
var rr = {}, ir = { 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" };
|
|
55
|
+
function ar(e, t) {
|
|
56
|
+
return s(), C("div", ir, [i(e.$slots, "default")]);
|
|
56
57
|
}
|
|
57
|
-
var
|
|
58
|
+
var or = /*#__PURE__*/ ze(rr, [["render", ar]]), sr = Mn({
|
|
58
59
|
name: "image-up",
|
|
59
60
|
size: 24,
|
|
60
61
|
node: [
|
|
@@ -77,7 +78,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
77
78
|
key: "af1f0g"
|
|
78
79
|
}]
|
|
79
80
|
]
|
|
80
|
-
}),
|
|
81
|
+
}), cr = Mn({
|
|
81
82
|
name: "layout-template",
|
|
82
83
|
size: 24,
|
|
83
84
|
node: [
|
|
@@ -106,14 +107,14 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
106
107
|
key: "q5h2i8"
|
|
107
108
|
}]
|
|
108
109
|
]
|
|
109
|
-
}),
|
|
110
|
+
}), lr = Mn({
|
|
110
111
|
name: "moon",
|
|
111
112
|
size: 24,
|
|
112
113
|
node: [["path", {
|
|
113
114
|
d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
|
|
114
115
|
key: "kfwtm"
|
|
115
116
|
}]]
|
|
116
|
-
}),
|
|
117
|
+
}), ur = Mn({
|
|
117
118
|
name: "panel-top",
|
|
118
119
|
size: 24,
|
|
119
120
|
node: [["rect", {
|
|
@@ -127,7 +128,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
127
128
|
d: "M3 9h18",
|
|
128
129
|
key: "1pudct"
|
|
129
130
|
}]]
|
|
130
|
-
}),
|
|
131
|
+
}), dr = Mn({
|
|
131
132
|
name: "save",
|
|
132
133
|
size: 24,
|
|
133
134
|
node: [
|
|
@@ -144,7 +145,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
144
145
|
key: "t51u73"
|
|
145
146
|
}]
|
|
146
147
|
]
|
|
147
|
-
}),
|
|
148
|
+
}), fr = Mn({
|
|
148
149
|
name: "settings",
|
|
149
150
|
size: 24,
|
|
150
151
|
node: [["path", {
|
|
@@ -156,7 +157,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
156
157
|
r: "3",
|
|
157
158
|
key: "1v7zrd"
|
|
158
159
|
}]]
|
|
159
|
-
}),
|
|
160
|
+
}), pr = Mn({
|
|
160
161
|
name: "square-plus",
|
|
161
162
|
size: 24,
|
|
162
163
|
node: [
|
|
@@ -178,7 +179,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
178
179
|
}]
|
|
179
180
|
],
|
|
180
181
|
aliases: ["plus-square"]
|
|
181
|
-
}),
|
|
182
|
+
}), mr = Mn({
|
|
182
183
|
name: "sun",
|
|
183
184
|
size: 24,
|
|
184
185
|
node: [
|
|
@@ -221,29 +222,29 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
221
222
|
key: "1shlcs"
|
|
222
223
|
}]
|
|
223
224
|
]
|
|
224
|
-
}),
|
|
225
|
+
}), hr = {
|
|
225
226
|
key: 0,
|
|
226
227
|
"data-testid": "language-bar",
|
|
227
228
|
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)]"
|
|
228
|
-
},
|
|
229
|
+
}, 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 = {
|
|
229
230
|
"data-testid": "language-bar-label",
|
|
230
231
|
class: "tpl:inline-flex tpl:items-center tpl:gap-2 tpl:font-medium tpl:whitespace-nowrap tpl:text-[var(--tpl-text)]"
|
|
231
|
-
},
|
|
232
|
+
}, yr = {
|
|
232
233
|
"data-testid": "language-bar-status",
|
|
233
234
|
role: "status",
|
|
234
235
|
"aria-live": "polite",
|
|
235
236
|
"aria-atomic": "true",
|
|
236
237
|
class: "tpl:whitespace-nowrap"
|
|
237
|
-
},
|
|
238
|
+
}, br = {
|
|
238
239
|
key: 1,
|
|
239
240
|
"data-testid": "translation-result",
|
|
240
241
|
class: "tpl:whitespace-normal"
|
|
241
|
-
},
|
|
242
|
+
}, xr = ["aria-label"], Sr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-2" }, Cr = ["disabled"], wr = ["disabled"], Tr = {
|
|
242
243
|
key: 0,
|
|
243
244
|
"data-testid": "structure-notice",
|
|
244
245
|
role: "status",
|
|
245
246
|
class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-2"
|
|
246
|
-
},
|
|
247
|
+
}, 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__ */ R({
|
|
247
248
|
__name: "LanguageBar",
|
|
248
249
|
props: {
|
|
249
250
|
editor: {},
|
|
@@ -252,7 +253,7 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
252
253
|
change: {}
|
|
253
254
|
},
|
|
254
255
|
setup(e) {
|
|
255
|
-
let n = e, { t: r, format: i } = $(), o = L(
|
|
256
|
+
let n = e, { t: r, format: i } = $(), o = L(gt, void 0) ?? "en", l = L(lt, []), d = y(() => Z(n.editor.content.value)), f = y(() => n.editor.activeLocale?.value ?? d.value), p = y(() => n.locales.includes(f.value)), m = L(yt, null) ?? We(n.editor, l), g = y(() => p.value ? !m.value?.missing.length && !m.value?.stale.length ? r.localization.complete : i(r.localization.gapTooltip, {
|
|
256
257
|
missing: m.value.missing.length,
|
|
257
258
|
stale: m.value.stale.length
|
|
258
259
|
}) : i(r.localization.languageReadOnly, { language: wt(f.value) })), _ = y(() => {
|
|
@@ -281,67 +282,67 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
281
282
|
D.value && N();
|
|
282
283
|
}), t(() => n.change, () => {
|
|
283
284
|
let e = n.editor.state.template?.id;
|
|
284
|
-
(e ?
|
|
285
|
-
}), (t, n) => f.value === d.value ? x("", !0) : (s(), C("div",
|
|
286
|
-
O("div",
|
|
287
|
-
O("span",
|
|
285
|
+
(e ? Mr.has(e) : E) || (e ? Mr.add(e) : E = !0, T.value = !0);
|
|
286
|
+
}), (t, n) => f.value === d.value ? x("", !0) : (s(), C("div", hr, [
|
|
287
|
+
O("div", gr, [O("div", _r, [
|
|
288
|
+
O("span", vr, [v(b(Be), {
|
|
288
289
|
size: 14,
|
|
289
290
|
"aria-hidden": "true",
|
|
290
291
|
class: "tpl:shrink-0"
|
|
291
292
|
}), w(" " + a(b(i)(b(r).localization.editingLanguage, { language: b(wt)(f.value) })), 1)]),
|
|
292
|
-
O("span",
|
|
293
|
+
O("span", yr, [e.feature?.running.value ? (s(), C(M, { key: 0 }, [w(a(b(i)(b(r).localization.translating, e.feature.running.value)), 1)], 64)) : e.feature?.lastResult.value ? (s(), C("span", br, a(_.value), 1)) : (s(), C(M, { key: 2 }, [w(a(g.value), 1)], 64))]),
|
|
293
294
|
e.feature?.lastResult.value && !e.feature.running.value ? (s(), C("button", {
|
|
294
295
|
key: 0,
|
|
295
296
|
type: "button",
|
|
296
297
|
"data-testid": "translation-dismiss",
|
|
297
298
|
"aria-label": b(r).localization.dismiss,
|
|
298
|
-
class: c(b(
|
|
299
|
+
class: c(b(At)),
|
|
299
300
|
onClick: n[0] ||= (t) => e.feature.dismissResult()
|
|
300
301
|
}, [v(b(He), {
|
|
301
302
|
size: 14,
|
|
302
303
|
"aria-hidden": "true"
|
|
303
|
-
})], 10,
|
|
304
|
-
]), O("div",
|
|
304
|
+
})], 10, xr)) : x("", !0)
|
|
305
|
+
]), O("div", Sr, [
|
|
305
306
|
e.feature?.running.value ? (s(), C("button", {
|
|
306
307
|
key: 0,
|
|
307
308
|
type: "button",
|
|
308
309
|
"data-testid": "translation-cancel",
|
|
309
|
-
class: c(b(
|
|
310
|
+
class: c(b(At)),
|
|
310
311
|
onClick: n[1] ||= (t) => e.feature.cancel()
|
|
311
312
|
}, a(b(r).localization.cancel), 3)) : x("", !0),
|
|
312
313
|
p.value && e.feature?.isAvailable.value ? (s(), C(M, { key: 1 }, [e.feature.counts.value.gaps > 0 ? (s(), C("button", {
|
|
313
314
|
key: 0,
|
|
314
315
|
type: "button",
|
|
315
316
|
"data-testid": "translate-language",
|
|
316
|
-
class: c(b(
|
|
317
|
+
class: c(b(Mt)),
|
|
317
318
|
disabled: !!e.feature.running.value,
|
|
318
319
|
onClick: n[2] ||= (t) => e.feature.translate({ only: "gaps" })
|
|
319
|
-
}, a(b(Ct)(b(r).localization.translateFields, e.feature.counts.value.gaps, b(o))), 11,
|
|
320
|
+
}, a(b(Ct)(b(r).localization.translateFields, e.feature.counts.value.gaps, b(o))), 11, Cr)) : x("", !0), O("button", {
|
|
320
321
|
ref_key: "allAgain",
|
|
321
322
|
ref: k,
|
|
322
323
|
type: "button",
|
|
323
324
|
"data-testid": "translate-all-again",
|
|
324
|
-
class: c(b(
|
|
325
|
+
class: c(b(At)),
|
|
325
326
|
disabled: !!e.feature.running.value || A.value === 0,
|
|
326
327
|
onClick: P
|
|
327
|
-
}, a(b(r).localization.translateAllAgain), 11,
|
|
328
|
+
}, a(b(r).localization.translateAllAgain), 11, wr)], 64)) : x("", !0),
|
|
328
329
|
O("button", {
|
|
329
330
|
type: "button",
|
|
330
331
|
"data-testid": "language-back-default",
|
|
331
|
-
class: c(b(
|
|
332
|
+
class: c(b(At)),
|
|
332
333
|
onClick: n[3] ||= (t) => e.editor.setActiveLocale?.(null)
|
|
333
334
|
}, a(b(i)(b(r).localization.backToDefault, { default: b(wt)(d.value) })), 3)
|
|
334
335
|
])]),
|
|
335
|
-
T.value ? (s(), C("div",
|
|
336
|
+
T.value ? (s(), C("div", Tr, [O("span", null, a(b(r).localization.structureNotice), 1), O("button", {
|
|
336
337
|
type: "button",
|
|
337
338
|
"aria-label": b(r).localization.dismiss,
|
|
338
|
-
class: c(b(
|
|
339
|
+
class: c(b(At)),
|
|
339
340
|
onClick: n[4] ||= (e) => T.value = !1
|
|
340
341
|
}, [v(b(He), {
|
|
341
342
|
size: 14,
|
|
342
343
|
"aria-hidden": "true"
|
|
343
|
-
})], 10,
|
|
344
|
-
v(
|
|
344
|
+
})], 10, Er)])) : x("", !0),
|
|
345
|
+
v(Nt, {
|
|
345
346
|
visible: D.value !== null,
|
|
346
347
|
onClose: N
|
|
347
348
|
}, {
|
|
@@ -351,9 +352,9 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
351
352
|
"aria-label": j.value,
|
|
352
353
|
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)]"
|
|
353
354
|
}, [
|
|
354
|
-
O("h3",
|
|
355
|
-
O("p",
|
|
356
|
-
O("div",
|
|
355
|
+
O("h3", Or, a(j.value), 1),
|
|
356
|
+
O("p", kr, a(b(i)(b(r).localization.translationDescription, { language: b(wt)(D.value?.locale ?? f.value) })), 1),
|
|
357
|
+
O("div", Ar, [O("button", {
|
|
357
358
|
type: "button",
|
|
358
359
|
"data-testid": "translation-confirm-cancel",
|
|
359
360
|
class: c(b(Tt)),
|
|
@@ -361,18 +362,18 @@ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
|
|
|
361
362
|
}, a(b(r).localization.cancel), 3), O("button", {
|
|
362
363
|
type: "button",
|
|
363
364
|
"data-testid": "translation-confirm",
|
|
364
|
-
class: c(b(
|
|
365
|
+
class: c(b(Ot)),
|
|
365
366
|
disabled: !!e.feature?.running.value || !e.feature?.isAvailable.value || A.value === 0,
|
|
366
367
|
onClick: F
|
|
367
|
-
}, a(b(Ct)(b(r).localization.translateAllFields, A.value, b(o))), 11,
|
|
368
|
-
], 8,
|
|
368
|
+
}, a(b(Ct)(b(r).localization.translateAllFields, A.value, b(o))), 11, jr)])
|
|
369
|
+
], 8, Dr)]),
|
|
369
370
|
_: 1
|
|
370
371
|
}, 8, ["visible"])
|
|
371
372
|
]));
|
|
372
373
|
}
|
|
373
374
|
});
|
|
374
375
|
// src/composables/useLocaleActions.ts
|
|
375
|
-
function
|
|
376
|
+
function Pr(e) {
|
|
376
377
|
let { editor: t } = e;
|
|
377
378
|
return { setDefaultLocale(n) {
|
|
378
379
|
let r;
|
|
@@ -393,7 +394,7 @@ function Mr(e) {
|
|
|
393
394
|
} };
|
|
394
395
|
}
|
|
395
396
|
// src/composables/useTranslationFeature.ts
|
|
396
|
-
function
|
|
397
|
+
function Fr(e) {
|
|
397
398
|
if (typeof e != "object" || !e) return null;
|
|
398
399
|
let t = e;
|
|
399
400
|
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 : {
|
|
@@ -402,24 +403,24 @@ function Nr(e) {
|
|
|
402
403
|
...t.statusCode === void 0 ? {} : { statusCode: t.statusCode }
|
|
403
404
|
};
|
|
404
405
|
}
|
|
405
|
-
function
|
|
406
|
+
function Ir(e) {
|
|
406
407
|
let t = /* @__PURE__ */ new Set();
|
|
407
408
|
if (typeof DOMParser > "u") return t;
|
|
408
409
|
let n = new DOMParser().parseFromString(e, "text/html");
|
|
409
410
|
for (let e of n.querySelectorAll("[style]")) t.add(e.getAttribute("style") ?? "");
|
|
410
411
|
return t;
|
|
411
412
|
}
|
|
412
|
-
function
|
|
413
|
-
let n =
|
|
414
|
-
return [...
|
|
413
|
+
function Lr(e, t) {
|
|
414
|
+
let n = Ir(t);
|
|
415
|
+
return [...Ir(e)].every((e) => n.has(e));
|
|
415
416
|
}
|
|
416
|
-
function
|
|
417
|
+
function Rr(e) {
|
|
417
418
|
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 = Ve(r);
|
|
418
419
|
return n.forEach((e, n) => {
|
|
419
420
|
i = i.replaceAll(`${t}${n + 1}-end`, e);
|
|
420
421
|
}), i;
|
|
421
422
|
}
|
|
422
|
-
async function
|
|
423
|
+
async function zr(e, t) {
|
|
423
424
|
t.throwIfAborted();
|
|
424
425
|
let n, r = new Promise((e, r) => {
|
|
425
426
|
n = () => r(t.reason), t.addEventListener("abort", n, { once: !0 });
|
|
@@ -430,7 +431,7 @@ async function Lr(e, t) {
|
|
|
430
431
|
t.removeEventListener("abort", n);
|
|
431
432
|
}
|
|
432
433
|
}
|
|
433
|
-
function
|
|
434
|
+
function Br(e) {
|
|
434
435
|
let { editor: n } = e, r = A(null), i = A(null), a = null, o = A(!1), s = y(() => {
|
|
435
436
|
let t = n.activeLocale.value;
|
|
436
437
|
return !o.value && !!t && t !== Z(n.content.value) && !!e.localization?.locales.includes(t) && !!n.content.value.settings.locales?.includes(t);
|
|
@@ -506,7 +507,7 @@ function Rr(e) {
|
|
|
506
507
|
}
|
|
507
508
|
let i;
|
|
508
509
|
try {
|
|
509
|
-
i = await
|
|
510
|
+
i = await zr(e.provider.translate({
|
|
510
511
|
templateId: l,
|
|
511
512
|
sourceLocale: u,
|
|
512
513
|
targetLocale: c,
|
|
@@ -517,7 +518,7 @@ function Rr(e) {
|
|
|
517
518
|
}))
|
|
518
519
|
}, g.controller.signal), g.controller.signal), g.controller.signal.throwIfAborted();
|
|
519
520
|
} catch (e) {
|
|
520
|
-
if (!g.controller.signal.aborted &&
|
|
521
|
+
if (!g.controller.signal.aborted && Fr(e)?.code === "content_too_large" && t.length > 1) {
|
|
521
522
|
y = Math.floor(t.length / 2);
|
|
522
523
|
continue;
|
|
523
524
|
}
|
|
@@ -530,9 +531,9 @@ function Rr(e) {
|
|
|
530
531
|
continue;
|
|
531
532
|
}
|
|
532
533
|
let n = m.tokens[e.id], r = Me(t.text, n);
|
|
533
|
-
r === null || e.format === "html" && !
|
|
534
|
+
r === null || e.format === "html" && !Lr(r, Me(e.source, n)) ? h.tagsChanged.push(e.id) : _.push({
|
|
534
535
|
id: e.id,
|
|
535
|
-
text: e.format === "html" ?
|
|
536
|
+
text: e.format === "html" ? Rr(t.text) : t.text,
|
|
536
537
|
sourceHash: e.sourceHash
|
|
537
538
|
});
|
|
538
539
|
}
|
|
@@ -543,8 +544,8 @@ function Rr(e) {
|
|
|
543
544
|
}
|
|
544
545
|
} catch (e) {
|
|
545
546
|
g.controller.signal.aborted || e instanceof Error && e.name === "AbortError" ? h.cancelled = !0 : h.error = {
|
|
546
|
-
code:
|
|
547
|
-
message:
|
|
547
|
+
code: Fr(e)?.code ?? "translation_failed",
|
|
548
|
+
message: Fr(e)?.message ?? (e instanceof Error ? e.message : String(e))
|
|
548
549
|
};
|
|
549
550
|
}
|
|
550
551
|
try {
|
|
@@ -593,12 +594,12 @@ function Rr(e) {
|
|
|
593
594
|
};
|
|
594
595
|
}
|
|
595
596
|
// src/composables/useCollaborationFeature.ts
|
|
596
|
-
var
|
|
597
|
+
var Vr = 5e3, Hr = 2e3, Ur = {
|
|
597
598
|
blockIds: [],
|
|
598
599
|
settings: !1,
|
|
599
600
|
templateUpdated: !0
|
|
600
601
|
};
|
|
601
|
-
function
|
|
602
|
+
function Wr(e) {
|
|
602
603
|
let t = /* @__PURE__ */ new Set(), n = !1, r = !1;
|
|
603
604
|
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);
|
|
604
605
|
return {
|
|
@@ -607,11 +608,11 @@ function Hr(e) {
|
|
|
607
608
|
templateUpdated: r
|
|
608
609
|
};
|
|
609
610
|
}
|
|
610
|
-
function
|
|
611
|
+
function Gr(e) {
|
|
611
612
|
let t = S([]), n = 1, r = /* @__PURE__ */ new Map();
|
|
612
613
|
function i(e) {
|
|
613
614
|
let t = r.get(e);
|
|
614
|
-
t && clearTimeout(t), r.set(e, setTimeout(() => o(e),
|
|
615
|
+
t && clearTimeout(t), r.set(e, setTimeout(() => o(e), Vr));
|
|
615
616
|
}
|
|
616
617
|
function a(e) {
|
|
617
618
|
let r = n++;
|
|
@@ -649,7 +650,7 @@ function Ur(e) {
|
|
|
649
650
|
u.delete(r);
|
|
650
651
|
let e = new Map(l.value);
|
|
651
652
|
e.delete(r), l.value = e;
|
|
652
|
-
},
|
|
653
|
+
}, Hr));
|
|
653
654
|
}
|
|
654
655
|
l.value = n;
|
|
655
656
|
}
|
|
@@ -693,15 +694,15 @@ function Ur(e) {
|
|
|
693
694
|
let m = ee({
|
|
694
695
|
provider: e.provider,
|
|
695
696
|
loadTemplate: e.loadTemplate,
|
|
696
|
-
normalizeRemoteOperations: (t, n) =>
|
|
697
|
+
normalizeRemoteOperations: (t, n) => gn(t, n, e.mergeTags),
|
|
697
698
|
onRemoteChange: (t) => {
|
|
698
699
|
try {
|
|
699
|
-
p(t.actor,
|
|
700
|
+
p(t.actor, Wr(t.ops));
|
|
700
701
|
} finally {
|
|
701
702
|
e.onRemoteChange?.(t);
|
|
702
703
|
}
|
|
703
704
|
},
|
|
704
|
-
onRemoteResync: ({ actor: e }) => p(e,
|
|
705
|
+
onRemoteResync: ({ actor: e }) => p(e, Ur),
|
|
705
706
|
onNotice: s,
|
|
706
707
|
onError: e.onError
|
|
707
708
|
});
|
|
@@ -763,7 +764,7 @@ function Ur(e) {
|
|
|
763
764
|
};
|
|
764
765
|
}
|
|
765
766
|
// src/composables/useCommentsFeature.ts
|
|
766
|
-
function
|
|
767
|
+
function Kr(e) {
|
|
767
768
|
let { provider: n, editor: r } = e, i = Y({
|
|
768
769
|
provider: n,
|
|
769
770
|
getTemplateId: () => r.state.template?.id ?? null,
|
|
@@ -816,22 +817,22 @@ function Wr(e) {
|
|
|
816
817
|
};
|
|
817
818
|
}
|
|
818
819
|
// src/composables/useAiFeature.ts
|
|
819
|
-
var
|
|
820
|
-
function
|
|
820
|
+
var qr = 3e3, Jr = 1e3;
|
|
821
|
+
function Yr(e) {
|
|
821
822
|
return we(N(e));
|
|
822
823
|
}
|
|
823
|
-
var
|
|
824
|
-
function
|
|
824
|
+
var Xr = (e) => e instanceof Error && e.name === "AbortError";
|
|
825
|
+
function Zr(e) {
|
|
825
826
|
if (e instanceof Error) return e;
|
|
826
827
|
if (typeof e != "object" || !e) return Error(String(e));
|
|
827
828
|
let t = e;
|
|
828
829
|
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 });
|
|
829
830
|
}
|
|
830
|
-
var
|
|
831
|
-
function
|
|
832
|
-
return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) &&
|
|
831
|
+
var Qr = (e) => e.batches.reduce((e, t) => e + t.operationCount, 0);
|
|
832
|
+
function $r(e, t) {
|
|
833
|
+
return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) && $r(e, t)));
|
|
833
834
|
}
|
|
834
|
-
function
|
|
835
|
+
function ei(e) {
|
|
835
836
|
return {
|
|
836
837
|
applied: !1,
|
|
837
838
|
code: e.code,
|
|
@@ -839,7 +840,7 @@ function Qr(e) {
|
|
|
839
840
|
message: e.message
|
|
840
841
|
};
|
|
841
842
|
}
|
|
842
|
-
function
|
|
843
|
+
function ti(e) {
|
|
843
844
|
let { provider: n, editor: r, collaboration: i } = e, a = n.conversation ?? null, o = crypto.randomUUID(), s = S(null), c = /* @__PURE__ */ new Map(), l = !1, u = 0, d = !1, f = 0, p = null, m = j();
|
|
844
845
|
function h(e) {
|
|
845
846
|
let t = ee(e);
|
|
@@ -956,7 +957,7 @@ function $r(e) {
|
|
|
956
957
|
e.timers.add(r);
|
|
957
958
|
}
|
|
958
959
|
function q(t) {
|
|
959
|
-
|
|
960
|
+
Xr(t) || e.onError?.(Zr(t));
|
|
960
961
|
}
|
|
961
962
|
function Y(e, t) {
|
|
962
963
|
if (t.length === 0) return;
|
|
@@ -970,10 +971,10 @@ function $r(e) {
|
|
|
970
971
|
let r = new Map(e.highlights.value);
|
|
971
972
|
for (let e of t) r.get(e) === n && r.delete(e);
|
|
972
973
|
e.highlights.value = r;
|
|
973
|
-
},
|
|
974
|
+
}, Hr);
|
|
974
975
|
}
|
|
975
976
|
async function te(e) {
|
|
976
|
-
i && await Promise.race([i.core.settle().catch(() => {}), new Promise((t) => K(e, t,
|
|
977
|
+
i && await Promise.race([i.core.settle().catch(() => {}), new Promise((t) => K(e, t, qr))]);
|
|
977
978
|
}
|
|
978
979
|
function ne(t) {
|
|
979
980
|
let n = N(r.content.value), a = r.activeLocale?.value ?? null, s = Fe(n, a ?? Z(n));
|
|
@@ -989,7 +990,7 @@ function $r(e) {
|
|
|
989
990
|
}
|
|
990
991
|
function re() {
|
|
991
992
|
let e = r.state.selectedBlockId;
|
|
992
|
-
return e ? i ? i.core.hasConfirmedBlock(e) ? e : null :
|
|
993
|
+
return e ? i ? i.core.hasConfirmedBlock(e) ? e : null : $r(r.content.value.blocks, e) ? e : null : null;
|
|
993
994
|
}
|
|
994
995
|
function ie(t, n, a) {
|
|
995
996
|
if (t.length === 0) return {
|
|
@@ -1000,14 +1001,14 @@ function $r(e) {
|
|
|
1000
1001
|
try {
|
|
1001
1002
|
o = e.normalize(t, N(r.content.value));
|
|
1002
1003
|
} catch (e) {
|
|
1003
|
-
if (e instanceof ke) return
|
|
1004
|
+
if (e instanceof ke) return ei(e);
|
|
1004
1005
|
throw e;
|
|
1005
1006
|
}
|
|
1006
1007
|
if (o.length === 0) return {
|
|
1007
1008
|
applied: !0,
|
|
1008
1009
|
inverse: []
|
|
1009
1010
|
};
|
|
1010
|
-
let s =
|
|
1011
|
+
let s = Wr(o);
|
|
1011
1012
|
if (i) {
|
|
1012
1013
|
let e = i.core.applyOperations(o, {
|
|
1013
1014
|
origin: "ai",
|
|
@@ -1016,13 +1017,13 @@ function $r(e) {
|
|
|
1016
1017
|
return e.applied ? (s.templateUpdated || Y(a, s.blockIds), {
|
|
1017
1018
|
applied: !0,
|
|
1018
1019
|
inverse: e.inverse
|
|
1019
|
-
}) :
|
|
1020
|
+
}) : ei(e.error);
|
|
1020
1021
|
}
|
|
1021
1022
|
let c;
|
|
1022
1023
|
try {
|
|
1023
1024
|
c = Le(N(r.content.value), o);
|
|
1024
1025
|
} catch (e) {
|
|
1025
|
-
if (e instanceof ke) return
|
|
1026
|
+
if (e instanceof ke) return ei(e);
|
|
1026
1027
|
throw e;
|
|
1027
1028
|
}
|
|
1028
1029
|
a.lastRecordedTurn !== n && (e.history().record(), a.lastRecordedTurn = n), d = !0;
|
|
@@ -1032,7 +1033,7 @@ function $r(e) {
|
|
|
1032
1033
|
d = !1;
|
|
1033
1034
|
}
|
|
1034
1035
|
let l = r.state.selectedBlockId;
|
|
1035
|
-
return l &&
|
|
1036
|
+
return l && !$r(r.content.value.blocks, l) && r.selectBlock(null), s.templateUpdated || Y(a, s.blockIds), {
|
|
1036
1037
|
applied: !0,
|
|
1037
1038
|
inverse: c
|
|
1038
1039
|
};
|
|
@@ -1045,7 +1046,7 @@ function $r(e) {
|
|
|
1045
1046
|
o = J(N(r.content.value), a, t, e.customBlockDefinitions?.());
|
|
1046
1047
|
}
|
|
1047
1048
|
} catch (e) {
|
|
1048
|
-
if (e instanceof ke) return
|
|
1049
|
+
if (e instanceof ke) return ei(e);
|
|
1049
1050
|
throw e;
|
|
1050
1051
|
}
|
|
1051
1052
|
let s = ie(o, n, i);
|
|
@@ -1061,7 +1062,7 @@ function $r(e) {
|
|
|
1061
1062
|
let n = i.core;
|
|
1062
1063
|
n.revision.value >= e || (n.connection.value === "connected" ? K(t, () => {
|
|
1063
1064
|
E(t) && n.revision.value < e && n.catchUp();
|
|
1064
|
-
},
|
|
1065
|
+
}, Jr) : n.catchUp());
|
|
1065
1066
|
}
|
|
1066
1067
|
function se(e, t, n) {
|
|
1067
1068
|
let r = e.memory;
|
|
@@ -1133,12 +1134,12 @@ function $r(e) {
|
|
|
1133
1134
|
},
|
|
1134
1135
|
onOperations: async (e) => {
|
|
1135
1136
|
U(d), C(c);
|
|
1136
|
-
let t = i ?
|
|
1137
|
-
return n.applied && n.inverse.length > 0 && (x.inverse = [...n.inverse, ...x.inverse], i && (x.view = x.view === void 0 || x.view !== null && Oe(x.view, t) ?
|
|
1137
|
+
let t = i ? Yr(r.content.value) : null, n = ae(e, m, u, l);
|
|
1138
|
+
return n.applied && n.inverse.length > 0 && (x.inverse = [...n.inverse, ...x.inverse], i && (x.view = x.view === void 0 || x.view !== null && Oe(x.view, t) ? Yr(r.content.value) : null), _ += e.length, D({ operationCount: _ })), n;
|
|
1138
1139
|
},
|
|
1139
1140
|
onApplied: (t) => {
|
|
1140
1141
|
if (!E(u)) throw new DOMException("The template changed.", "AbortError");
|
|
1141
|
-
if (!i && !e.reload) throw b ??= new Q(
|
|
1142
|
+
if (!i && !e.reload) throw b ??= new Q(bn, 502, "ai_provider_error"), b;
|
|
1142
1143
|
x.serverApplied = !0, x.batchIds.add(t.batchId), _ += t.operationCount, D({ operationCount: _ }), oe(t.revision, u), w && (O(), k());
|
|
1143
1144
|
}
|
|
1144
1145
|
};
|
|
@@ -1197,8 +1198,8 @@ function $r(e) {
|
|
|
1197
1198
|
};
|
|
1198
1199
|
} catch (e) {
|
|
1199
1200
|
let r = b ?? e;
|
|
1200
|
-
y = f.signal.aborted ||
|
|
1201
|
-
error:
|
|
1201
|
+
y = f.signal.aborted || Xr(r), y || q(r), _ === 0 && (!y || v === "") ? (p.items = p.items.filter((e) => e.id !== g && e.id !== h), E(u) && (u.messages.value = p.items, y || (t === "chat" && (u.failedPrompt.value = n, u.failedAttachments.value = s), u.failure.value = {
|
|
1202
|
+
error: Zr(r),
|
|
1202
1203
|
context: "turn"
|
|
1203
1204
|
})), S = {
|
|
1204
1205
|
messageId: null,
|
|
@@ -1208,7 +1209,7 @@ function $r(e) {
|
|
|
1208
1209
|
}) : (D({
|
|
1209
1210
|
status: y ? "done" : "failed",
|
|
1210
1211
|
failure: y ? void 0 : {
|
|
1211
|
-
error:
|
|
1212
|
+
error: Zr(r),
|
|
1212
1213
|
context: "turn"
|
|
1213
1214
|
}
|
|
1214
1215
|
}), S = {
|
|
@@ -1264,7 +1265,7 @@ function $r(e) {
|
|
|
1264
1265
|
} catch (e) {
|
|
1265
1266
|
if (!E(s)) return;
|
|
1266
1267
|
q(e), se(s, t, { failure: {
|
|
1267
|
-
error:
|
|
1268
|
+
error: Zr(e),
|
|
1268
1269
|
context: n
|
|
1269
1270
|
} });
|
|
1270
1271
|
}
|
|
@@ -1280,7 +1281,7 @@ function $r(e) {
|
|
|
1280
1281
|
failure: void 0
|
|
1281
1282
|
}), i) oe(r.applied.revision, s);
|
|
1282
1283
|
else if (e.reload) await G(c, !0);
|
|
1283
|
-
else throw new Q(
|
|
1284
|
+
else throw new Q(bn, 502, "ai_provider_error");
|
|
1284
1285
|
return;
|
|
1285
1286
|
}
|
|
1286
1287
|
{
|
|
@@ -1293,16 +1294,16 @@ function $r(e) {
|
|
|
1293
1294
|
code: a.code,
|
|
1294
1295
|
opIndex: a.opIndex
|
|
1295
1296
|
});
|
|
1296
|
-
n === "undo" ? f.redo = a.inverse : f.inverse = a.inverse, i && (f.view =
|
|
1297
|
+
n === "undo" ? f.redo = a.inverse : f.inverse = a.inverse, i && (f.view = Yr(r.content.value));
|
|
1297
1298
|
}
|
|
1298
1299
|
se(s, t, {
|
|
1299
1300
|
undone: n === "undo",
|
|
1300
1301
|
failure: void 0
|
|
1301
1302
|
});
|
|
1302
1303
|
} catch (e) {
|
|
1303
|
-
if (!E(s) ||
|
|
1304
|
+
if (!E(s) || Xr(e)) return;
|
|
1304
1305
|
q(e), se(s, t, { failure: {
|
|
1305
|
-
error:
|
|
1306
|
+
error: Zr(e),
|
|
1306
1307
|
context: n
|
|
1307
1308
|
} });
|
|
1308
1309
|
}
|
|
@@ -1316,7 +1317,7 @@ function $r(e) {
|
|
|
1316
1317
|
locale: e.locale,
|
|
1317
1318
|
text: e.text,
|
|
1318
1319
|
attachments: e.attachments ?? [],
|
|
1319
|
-
operationCount:
|
|
1320
|
+
operationCount: Qr(e),
|
|
1320
1321
|
undone: e.undone,
|
|
1321
1322
|
canUndo: !1,
|
|
1322
1323
|
canRedo: !1,
|
|
@@ -1367,9 +1368,9 @@ function $r(e) {
|
|
|
1367
1368
|
!l && o.generation === i.generation && r === i.historyGeneration && (n || E(i) && !e.controller.signal.aborted) && (o.items = X(t, o), i.messages.value = o.items, i.loaded = !0, i.failure.value?.context === "history" && (i.failure.value = null));
|
|
1368
1369
|
}), n ? i.lifetime.signal : e.controller.signal);
|
|
1369
1370
|
} catch (e) {
|
|
1370
|
-
if (!E(i) || r !== i.historyGeneration ||
|
|
1371
|
+
if (!E(i) || r !== i.historyGeneration || Xr(e)) return;
|
|
1371
1372
|
q(e), i.failure.value = {
|
|
1372
|
-
error:
|
|
1373
|
+
error: Zr(e),
|
|
1373
1374
|
context: "history"
|
|
1374
1375
|
};
|
|
1375
1376
|
} finally {
|
|
@@ -1398,7 +1399,7 @@ function $r(e) {
|
|
|
1398
1399
|
} catch (t) {
|
|
1399
1400
|
if (!E(e)) return;
|
|
1400
1401
|
q(t), e.failure.value = {
|
|
1401
|
-
error:
|
|
1402
|
+
error: Zr(t),
|
|
1402
1403
|
context: "history"
|
|
1403
1404
|
};
|
|
1404
1405
|
}
|
|
@@ -1463,7 +1464,7 @@ function $r(e) {
|
|
|
1463
1464
|
let s = b, c = T(), l = n.altText, u = new AbortController(), d = () => u.abort(a?.reason), f = () => u.abort();
|
|
1464
1465
|
try {
|
|
1465
1466
|
if (a?.throwIfAborted(), !c || typeof l != "function") throw new Q("This AI feature isn't available.", 403, "feature_unavailable");
|
|
1466
|
-
let n = N(r.content.value), p = r.activeLocale?.value ?? null, m = Fe(n, p ?? Z(n)), h =
|
|
1467
|
+
let n = N(r.content.value), p = r.activeLocale?.value ?? null, m = Fe(n, p ?? Z(n)), h = Sn(m, t);
|
|
1467
1468
|
if (!h) throw new Q("The image is no longer available.", 409, "block_missing");
|
|
1468
1469
|
a?.addEventListener("abort", d, { once: !0 }), c.lifetime.signal.addEventListener("abort", f, { once: !0 });
|
|
1469
1470
|
let { url: g, ..._ } = h, v = await W(l({
|
|
@@ -1489,7 +1490,7 @@ function $r(e) {
|
|
|
1489
1490
|
let i = r.activeLocale?.value ?? null, a = N(r.content.value), o = Fe(a, i ?? Z(a)), s = e.map(({ blockId: e, alt: t, decorative: n, expect: r }) => ({
|
|
1490
1491
|
op: "updateBlock",
|
|
1491
1492
|
blockId: e,
|
|
1492
|
-
expect: { ...r ??
|
|
1493
|
+
expect: { ...r ?? xn(o, e) ?? {
|
|
1493
1494
|
src: null,
|
|
1494
1495
|
alt: null,
|
|
1495
1496
|
decorative: null
|
|
@@ -1618,56 +1619,56 @@ function $r(e) {
|
|
|
1618
1619
|
};
|
|
1619
1620
|
}
|
|
1620
1621
|
// src/utils/aiMergeTags.ts
|
|
1621
|
-
var
|
|
1622
|
+
var ni = {
|
|
1622
1623
|
tags: 500,
|
|
1623
1624
|
value: 200,
|
|
1624
1625
|
label: 100,
|
|
1625
1626
|
group: 100,
|
|
1626
1627
|
description: 200
|
|
1627
1628
|
};
|
|
1628
|
-
function
|
|
1629
|
+
function ri(e, t) {
|
|
1629
1630
|
let n = Array.from(e);
|
|
1630
1631
|
return n.length > t ? n.slice(0, t).join("") : e;
|
|
1631
1632
|
}
|
|
1632
|
-
function
|
|
1633
|
+
function ii(e) {
|
|
1633
1634
|
return je(e) ?? "custom";
|
|
1634
1635
|
}
|
|
1635
|
-
function
|
|
1636
|
+
function ai(e, t) {
|
|
1636
1637
|
let n = [];
|
|
1637
1638
|
for (let t of e) {
|
|
1638
|
-
if (n.length ===
|
|
1639
|
+
if (n.length === ni.tags) break;
|
|
1639
1640
|
let e = typeof t?.value == "string" ? t.value : "";
|
|
1640
|
-
if (e === "" || Array.from(e).length >
|
|
1641
|
+
if (e === "" || Array.from(e).length > ni.value) continue;
|
|
1641
1642
|
let r = typeof t.label == "string" && t.label !== "" ? t.label : e;
|
|
1642
1643
|
n.push({
|
|
1643
1644
|
value: e,
|
|
1644
|
-
label:
|
|
1645
|
-
...typeof t.group == "string" && t.group !== "" ? { group:
|
|
1646
|
-
...typeof t.description == "string" && t.description !== "" ? { description:
|
|
1645
|
+
label: ri(r, ni.label),
|
|
1646
|
+
...typeof t.group == "string" && t.group !== "" ? { group: ri(t.group, ni.group) } : {},
|
|
1647
|
+
...typeof t.description == "string" && t.description !== "" ? { description: ri(t.description, ni.description) } : {}
|
|
1647
1648
|
});
|
|
1648
1649
|
}
|
|
1649
1650
|
return {
|
|
1650
|
-
syntax:
|
|
1651
|
+
syntax: ii(t),
|
|
1651
1652
|
tags: n
|
|
1652
1653
|
};
|
|
1653
1654
|
}
|
|
1654
1655
|
// src/composables/useMediaFeature.ts
|
|
1655
|
-
function
|
|
1656
|
+
function oi(e) {
|
|
1656
1657
|
return e instanceof Error ? e : Error(String(e));
|
|
1657
1658
|
}
|
|
1658
|
-
function
|
|
1659
|
+
function si(e, t, n) {
|
|
1659
1660
|
let r = e.maxFileSize ?? Infinity;
|
|
1660
1661
|
if (t.size > r) return /* @__PURE__ */ Error(`Image is too large (${t.size} bytes). Maximum allowed is ${r} bytes.`);
|
|
1661
1662
|
let i = e.mimeTypes;
|
|
1662
1663
|
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"}.`);
|
|
1663
1664
|
}
|
|
1664
|
-
function
|
|
1665
|
+
function ci(e) {
|
|
1665
1666
|
let { provider: t, onRequestMedia: n, getTemplateId: r, onError: i } = e, a = S(!1), o = S(void 0), s = y(() => r?.()), c = y(() => !!n || typeof t?.create == "function"), l = null;
|
|
1666
1667
|
function u(e) {
|
|
1667
1668
|
a.value = !1, l?.(e), l = null;
|
|
1668
1669
|
}
|
|
1669
1670
|
function d(e) {
|
|
1670
|
-
u(
|
|
1671
|
+
u(li(e));
|
|
1671
1672
|
}
|
|
1672
1673
|
function f() {
|
|
1673
1674
|
u(null);
|
|
@@ -1680,7 +1681,7 @@ function oi(e) {
|
|
|
1680
1681
|
if (!t) return null;
|
|
1681
1682
|
if (e?.files?.length) {
|
|
1682
1683
|
if (typeof t.create != "function") return null;
|
|
1683
|
-
let n = e.files[0], a =
|
|
1684
|
+
let n = e.files[0], a = si(t, n, e.accept);
|
|
1684
1685
|
if (a) return i?.(a), null;
|
|
1685
1686
|
let o = r?.();
|
|
1686
1687
|
try {
|
|
@@ -1691,11 +1692,11 @@ function oi(e) {
|
|
|
1691
1692
|
try {
|
|
1692
1693
|
t.onCreated?.(e);
|
|
1693
1694
|
} catch (e) {
|
|
1694
|
-
i?.(
|
|
1695
|
+
i?.(oi(e));
|
|
1695
1696
|
}
|
|
1696
|
-
return
|
|
1697
|
+
return li(e);
|
|
1697
1698
|
} catch (e) {
|
|
1698
|
-
return i?.(
|
|
1699
|
+
return i?.(oi(e)), null;
|
|
1699
1700
|
}
|
|
1700
1701
|
}
|
|
1701
1702
|
return l &&= (l(null), null), o.value = e?.accept, a.value = !0, new Promise((e) => {
|
|
@@ -1711,7 +1712,7 @@ function oi(e) {
|
|
|
1711
1712
|
onError: i
|
|
1712
1713
|
};
|
|
1713
1714
|
}
|
|
1714
|
-
function
|
|
1715
|
+
function li(e) {
|
|
1715
1716
|
let t = re(e.width, e.height);
|
|
1716
1717
|
return {
|
|
1717
1718
|
url: e.url,
|
|
@@ -1723,7 +1724,7 @@ function si(e) {
|
|
|
1723
1724
|
};
|
|
1724
1725
|
}
|
|
1725
1726
|
// src/composables/useSavedBlocksFeature.ts
|
|
1726
|
-
function
|
|
1727
|
+
function ui(e) {
|
|
1727
1728
|
let { provider: n, editor: r } = e, i = ne({
|
|
1728
1729
|
provider: n,
|
|
1729
1730
|
onError: e.onError
|
|
@@ -1768,7 +1769,7 @@ function ci(e) {
|
|
|
1768
1769
|
i.load().catch(() => {});
|
|
1769
1770
|
}
|
|
1770
1771
|
let w = y(() => i.savedBlocks.value.length), T = y(() => e.isAvailable?.() ?? !0);
|
|
1771
|
-
return l(
|
|
1772
|
+
return l(Qe, i), {
|
|
1772
1773
|
headless: i,
|
|
1773
1774
|
isPicking: u,
|
|
1774
1775
|
pickedIds: c,
|
|
@@ -1804,11 +1805,11 @@ function ci(e) {
|
|
|
1804
1805
|
};
|
|
1805
1806
|
}
|
|
1806
1807
|
// src/composables/useTemplatesFeature.ts
|
|
1807
|
-
var
|
|
1808
|
-
function
|
|
1809
|
-
let { provider: t, editor: n } = e, r = S("idle"), i = S(""), { start: a, stop: o } =
|
|
1808
|
+
var di = 3e3;
|
|
1809
|
+
function fi(e) {
|
|
1810
|
+
let { provider: t, editor: n } = e, r = S("idle"), i = S(""), { start: a, stop: o } = Gn(() => {
|
|
1810
1811
|
r.value = "idle";
|
|
1811
|
-
},
|
|
1812
|
+
}, di, { immediate: !1 }), s = y(() => typeof t.create == "function"), c = y(() => typeof t.save == "function"), l = y(() => e.isAvailable?.() ?? !0), u = y(() => n.state.template?.name), d = y(() => {
|
|
1812
1813
|
let e = n.state.template;
|
|
1813
1814
|
return e?.updatedAt ? {
|
|
1814
1815
|
iso: e.updatedAt,
|
|
@@ -1872,7 +1873,7 @@ function ui(e) {
|
|
|
1872
1873
|
let t = e.trim();
|
|
1873
1874
|
t && t !== n.state.template?.name && (n.setName(t), w("rename"));
|
|
1874
1875
|
}
|
|
1875
|
-
return e.guardUnsavedChanges !== !1 &&
|
|
1876
|
+
return e.guardUnsavedChanges !== !1 && On(window, "beforeunload", (e) => {
|
|
1876
1877
|
n.state.isDirty && (e.preventDefault(), e.returnValue = "");
|
|
1877
1878
|
}), {
|
|
1878
1879
|
save: g,
|
|
@@ -1906,15 +1907,15 @@ function ui(e) {
|
|
|
1906
1907
|
};
|
|
1907
1908
|
}
|
|
1908
1909
|
// src/utils/toMjml.ts
|
|
1909
|
-
async function
|
|
1910
|
+
async function pi() {
|
|
1910
1911
|
try {
|
|
1911
1912
|
return await import("@templatical/renderer");
|
|
1912
1913
|
} catch {
|
|
1913
1914
|
return null;
|
|
1914
1915
|
}
|
|
1915
1916
|
}
|
|
1916
|
-
async function
|
|
1917
|
-
let n = await
|
|
1917
|
+
async function mi(e, t) {
|
|
1918
|
+
let n = await pi();
|
|
1918
1919
|
if (!n) throw Error("[Templatical] toMjml() requires the @templatical/renderer package. Please install it.");
|
|
1919
1920
|
let r = e.getCustomBlockStylesheet, i = e.getFonts?.(), a = e.getLayout?.();
|
|
1920
1921
|
return n.renderToMjml(e.getContent(), {
|
|
@@ -1930,11 +1931,11 @@ async function fi(e, t) {
|
|
|
1930
1931
|
});
|
|
1931
1932
|
}
|
|
1932
1933
|
// src/composables/useTestEmailFeature.ts
|
|
1933
|
-
var
|
|
1934
|
-
function
|
|
1934
|
+
var hi = 1200;
|
|
1935
|
+
function gi(e) {
|
|
1935
1936
|
return e instanceof Error ? e : Error(String(e));
|
|
1936
1937
|
}
|
|
1937
|
-
function
|
|
1938
|
+
function _i(e) {
|
|
1938
1939
|
let { provider: t } = e, n = S(!1), r = S(!1), i = S(!1), a = S(null), o = null, s = !1;
|
|
1939
1940
|
function c() {
|
|
1940
1941
|
o !== null && (clearTimeout(o), o = null);
|
|
@@ -1956,8 +1957,8 @@ function hi(e) {
|
|
|
1956
1957
|
if (t.includeMjml && e.renderMjml) try {
|
|
1957
1958
|
return await e.renderMjml();
|
|
1958
1959
|
} catch (t) {
|
|
1959
|
-
if ((e.usesLocalRenderer?.() ?? !0) && await
|
|
1960
|
-
s || (s = !0,
|
|
1960
|
+
if ((e.usesLocalRenderer?.() ?? !0) && await pi() === null) {
|
|
1961
|
+
s || (s = !0, kn.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
|
|
1961
1962
|
return;
|
|
1962
1963
|
}
|
|
1963
1964
|
throw t;
|
|
@@ -1967,7 +1968,7 @@ function hi(e) {
|
|
|
1967
1968
|
try {
|
|
1968
1969
|
t.onSent?.(n);
|
|
1969
1970
|
} catch (t) {
|
|
1970
|
-
e.onError?.(
|
|
1971
|
+
e.onError?.(gi(t));
|
|
1971
1972
|
}
|
|
1972
1973
|
}
|
|
1973
1974
|
async function g(n) {
|
|
@@ -1983,9 +1984,9 @@ function hi(e) {
|
|
|
1983
1984
|
...r === void 0 ? {} : { mjml: r },
|
|
1984
1985
|
...s === void 0 ? {} : { allowedRecipients: s }
|
|
1985
1986
|
};
|
|
1986
|
-
await t.send(a), i.value = !0, o = setTimeout(p,
|
|
1987
|
+
await t.send(a), i.value = !0, o = setTimeout(p, hi), h(a);
|
|
1987
1988
|
} catch (t) {
|
|
1988
|
-
let n =
|
|
1989
|
+
let n = gi(t);
|
|
1989
1990
|
a.value = {
|
|
1990
1991
|
kind: "provider",
|
|
1991
1992
|
message: n.message
|
|
@@ -2013,7 +2014,7 @@ function hi(e) {
|
|
|
2013
2014
|
};
|
|
2014
2015
|
}
|
|
2015
2016
|
// src/composables/useVersionHistoryFeature.ts
|
|
2016
|
-
function
|
|
2017
|
+
function vi(e) {
|
|
2017
2018
|
let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = e.collaboration ?? null, s = G({
|
|
2018
2019
|
provider: t,
|
|
2019
2020
|
getTemplateId: () => n.state.template?.id ?? null,
|
|
@@ -2124,11 +2125,11 @@ function gi(e) {
|
|
|
2124
2125
|
};
|
|
2125
2126
|
}
|
|
2126
2127
|
// src/types/auto-save.ts
|
|
2127
|
-
function
|
|
2128
|
+
function yi(e, t) {
|
|
2128
2129
|
return e ?? t;
|
|
2129
2130
|
}
|
|
2130
2131
|
// src/utils/resolveInsertPosition.ts
|
|
2131
|
-
function
|
|
2132
|
+
function bi(e) {
|
|
2132
2133
|
let { blockType: t, selectedBlockId: n, findBlockLocation: r, isBlockLocked: i } = e;
|
|
2133
2134
|
if (!n) return {};
|
|
2134
2135
|
let a = r(n);
|
|
@@ -2145,8 +2146,8 @@ function vi(e) {
|
|
|
2145
2146
|
};
|
|
2146
2147
|
}
|
|
2147
2148
|
// src/utils/insertBlockAtSelection.ts
|
|
2148
|
-
function
|
|
2149
|
-
let { targetSectionId: n, columnIndex: r, index: i } =
|
|
2149
|
+
function xi(e, t) {
|
|
2150
|
+
let { targetSectionId: n, columnIndex: r, index: i } = bi({
|
|
2150
2151
|
blockType: t.type,
|
|
2151
2152
|
selectedBlockId: e.state.selectedBlockId,
|
|
2152
2153
|
findBlockLocation: e.findBlockLocation,
|
|
@@ -2155,7 +2156,7 @@ function yi(e, t) {
|
|
|
2155
2156
|
return e.addBlock(t, n, r, i), e.findBlockLocation(t.id) ? (e.selectBlock(t.id), !0) : !1;
|
|
2156
2157
|
}
|
|
2157
2158
|
// src/utils/withCollaborativeSave.ts
|
|
2158
|
-
function
|
|
2159
|
+
function Si(e, t, n) {
|
|
2159
2160
|
let { save: r, create: i } = e;
|
|
2160
2161
|
if (typeof r != "function") return e;
|
|
2161
2162
|
let a = /* @__PURE__ */ new Map(), o = (e) => (a.set(e.id, e.name), e);
|
|
@@ -2171,27 +2172,27 @@ function bi(e, t, n) {
|
|
|
2171
2172
|
};
|
|
2172
2173
|
}
|
|
2173
2174
|
// src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
|
|
2174
|
-
var
|
|
2175
|
+
var Ci = ["aria-label"], wi = ["lang", "dir"], Ti = {
|
|
2175
2176
|
key: 0,
|
|
2176
2177
|
role: "status",
|
|
2177
2178
|
"aria-busy": "true",
|
|
2178
2179
|
"data-testid": "preview-resolution-loading",
|
|
2179
2180
|
class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-6"
|
|
2180
|
-
},
|
|
2181
|
+
}, Ei = { class: "tpl:sr-only" }, Di = {
|
|
2181
2182
|
key: 1,
|
|
2182
2183
|
role: "status",
|
|
2183
2184
|
"data-testid": "preview-resolution-failed",
|
|
2184
2185
|
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)]"
|
|
2185
|
-
},
|
|
2186
|
+
}, Oi = {
|
|
2186
2187
|
key: 0,
|
|
2187
2188
|
class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
|
|
2188
|
-
},
|
|
2189
|
+
}, 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 = {
|
|
2189
2190
|
key: 0,
|
|
2190
2191
|
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)]"
|
|
2191
|
-
},
|
|
2192
|
+
}, Ni = {
|
|
2192
2193
|
key: 1,
|
|
2193
2194
|
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)]"
|
|
2194
|
-
},
|
|
2195
|
+
}, Pi = { class: "tpl:relative" }, Fi = /*#__PURE__*/ ze(/* @__PURE__ */ R({
|
|
2195
2196
|
__name: "Canvas",
|
|
2196
2197
|
props: {
|
|
2197
2198
|
viewport: {},
|
|
@@ -2203,25 +2204,25 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
|
|
|
2203
2204
|
emits: ["select-block"],
|
|
2204
2205
|
setup(e, { emit: t }) {
|
|
2205
2206
|
let r = {
|
|
2206
|
-
section:
|
|
2207
|
-
title:
|
|
2208
|
-
paragraph:
|
|
2209
|
-
image:
|
|
2210
|
-
button:
|
|
2211
|
-
divider:
|
|
2212
|
-
spacer:
|
|
2213
|
-
html:
|
|
2214
|
-
social:
|
|
2215
|
-
menu:
|
|
2216
|
-
table:
|
|
2217
|
-
video:
|
|
2218
|
-
custom:
|
|
2219
|
-
wrapper:
|
|
2220
|
-
}, i = e, u = t, { t: p } = $(), m =
|
|
2207
|
+
section: ln,
|
|
2208
|
+
title: Yt,
|
|
2209
|
+
paragraph: rn,
|
|
2210
|
+
image: Zt,
|
|
2211
|
+
button: pn,
|
|
2212
|
+
divider: fn,
|
|
2213
|
+
spacer: Kt,
|
|
2214
|
+
html: Gt,
|
|
2215
|
+
social: on,
|
|
2216
|
+
menu: Qt,
|
|
2217
|
+
table: $t,
|
|
2218
|
+
video: cn,
|
|
2219
|
+
custom: mn,
|
|
2220
|
+
wrapper: Pn
|
|
2221
|
+
}, i = e, u = t, { t: p } = $(), m = ft(xt, "Canvas"), { displayBlock: _, settings: T } = Ue({
|
|
2221
2222
|
content: y(() => i.content),
|
|
2222
2223
|
activeLocale: y(() => i.previewMode ? null : m.activeLocale?.value ?? null)
|
|
2223
|
-
}), E =
|
|
2224
|
-
l(et, y(() => i.previewMode)), l(
|
|
2224
|
+
}), E = ft(rt, "Canvas"), D = L(pt, null), k = L(dt, null), A = L(ot, {}), j = L($e, null), N = L(Je, null);
|
|
2225
|
+
l(et, y(() => i.previewMode)), l(at, y(() => i.previewMode && (j?.value ?? !1) && !N?.isConfigured));
|
|
2225
2226
|
let P = y(() => A.ai?.isFeatureEnabled("chat") ?? !1), I = y(() => P.value && (A.ai?.isFeatureEnabled("chatAttachments") ?? !1)), R = S(null);
|
|
2226
2227
|
function z() {
|
|
2227
2228
|
R.value?.click();
|
|
@@ -2230,12 +2231,12 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
|
|
|
2230
2231
|
let t = e.target, n = Array.from(t.files ?? []);
|
|
2231
2232
|
t.value = "", n.length && A.ai?.startImport(n);
|
|
2232
2233
|
}
|
|
2233
|
-
let V = L(
|
|
2234
|
+
let V = L(tt, null), U = y({
|
|
2234
2235
|
get: () => i.content.blocks,
|
|
2235
2236
|
set: (e) => {
|
|
2236
|
-
i.previewMode ||
|
|
2237
|
+
i.previewMode || sn(m, e);
|
|
2237
2238
|
}
|
|
2238
|
-
}), W = y(() => se(T.value, i.viewport)), G = y(() => W.value + 192), ee = y(() =>
|
|
2239
|
+
}), W = y(() => se(T.value, i.viewport)), G = y(() => W.value + 192), ee = y(() => Ft(T.value, E.resolveFontFamily)), K = y(() => T.value?.locale?.trim() || void 0), q = y(() => pe(T.value)), J = y(() => U.value.length === 0 && !i.previewMode), Y = S(0), te = y(() => J.value && Y.value > 0);
|
|
2239
2240
|
function ne() {
|
|
2240
2241
|
J.value && (Y.value += 1);
|
|
2241
2242
|
}
|
|
@@ -2249,7 +2250,7 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
|
|
|
2249
2250
|
i.previewMode || A.savedBlocks?.isPicking.value || e.target === e.currentTarget && u("select-block", null);
|
|
2250
2251
|
}
|
|
2251
2252
|
function ce(e) {
|
|
2252
|
-
return
|
|
2253
|
+
return tn(e, k, r);
|
|
2253
2254
|
}
|
|
2254
2255
|
function le(e) {
|
|
2255
2256
|
return A.collaboration?.lockOf(e) != null;
|
|
@@ -2292,7 +2293,7 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
|
|
|
2292
2293
|
class: "tpl-canvas-wrapper tpl:relative",
|
|
2293
2294
|
style: f({
|
|
2294
2295
|
width: `${W.value}px`,
|
|
2295
|
-
[b(
|
|
2296
|
+
[b(Ut)]: `${W.value}px`,
|
|
2296
2297
|
transition: b(ae)
|
|
2297
2298
|
})
|
|
2298
2299
|
}, [O("div", {
|
|
@@ -2304,11 +2305,11 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
|
|
|
2304
2305
|
dir: q.value,
|
|
2305
2306
|
style: f(ee.value),
|
|
2306
2307
|
onClick: oe
|
|
2307
|
-
}, [b(N)?.isInitialResolve.value ? (s(), C("div",
|
|
2308
|
+
}, [b(N)?.isInitialResolve.value ? (s(), C("div", Ti, [O("span", Ei, a(b(p).previewResolution.resolving), 1), (s(), C(M, null, d(3, (e) => O("div", {
|
|
2308
2309
|
key: e,
|
|
2309
2310
|
"aria-hidden": "true",
|
|
2310
2311
|
class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
|
|
2311
|
-
})), 64))])) : b(N)?.hasFailed.value ? (s(), C("p",
|
|
2312
|
+
})), 64))])) : b(N)?.hasFailed.value ? (s(), C("p", Di, a(b(p).previewResolution.failed), 1)) : x("", !0), g(v(b(Jt), {
|
|
2312
2313
|
modelValue: U.value,
|
|
2313
2314
|
"onUpdate:modelValue": r[1] ||= (e) => U.value = e,
|
|
2314
2315
|
group: "blocks",
|
|
@@ -2327,40 +2328,40 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
|
|
|
2327
2328
|
J.value && te.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
|
|
2328
2329
|
J.value && !te.value ? "tpl:border-[var(--tpl-primary)]" : ""
|
|
2329
2330
|
]),
|
|
2330
|
-
onUpdate: r[2] ||= (t) => !e.previewMode && b(
|
|
2331
|
+
onUpdate: r[2] ||= (t) => !e.previewMode && b(sn)(b(m), U.value, void 0, 0, t),
|
|
2331
2332
|
onDragenter: ne,
|
|
2332
2333
|
onDragleave: re,
|
|
2333
2334
|
onDrop: ie
|
|
2334
2335
|
}, {
|
|
2335
|
-
default: h(() => [J.value ? (s(), C("div",
|
|
2336
|
-
O("div",
|
|
2336
|
+
default: h(() => [J.value ? (s(), C("div", Oi, [
|
|
2337
|
+
O("div", ki, [v(b(pr), {
|
|
2337
2338
|
size: 48,
|
|
2338
2339
|
"stroke-width": 1
|
|
2339
2340
|
})]),
|
|
2340
|
-
O("p",
|
|
2341
|
-
O("p",
|
|
2342
|
-
P.value ? (s(), C("p",
|
|
2341
|
+
O("p", Ai, a(b(p).canvas.noBlocks), 1),
|
|
2342
|
+
O("p", ji, a(b(p).canvas.dragHint), 1),
|
|
2343
|
+
P.value ? (s(), C("p", Mi, [
|
|
2343
2344
|
w(a(b(p).ai.canvas.chatHint) + " ", 1),
|
|
2344
2345
|
O("button", {
|
|
2345
2346
|
type: "button",
|
|
2346
2347
|
"data-testid": "canvas-ai-chat",
|
|
2347
2348
|
class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
|
|
2348
2349
|
onClick: r[0] ||= (e) => b(A).ai?.open("chat")
|
|
2349
|
-
}, [v(b(
|
|
2350
|
+
}, [v(b(Nn), {
|
|
2350
2351
|
size: 14,
|
|
2351
2352
|
"stroke-width": 2,
|
|
2352
2353
|
"aria-hidden": "true"
|
|
2353
2354
|
}), w(" " + a(b(p).ai.menu.chat), 1)]),
|
|
2354
2355
|
w(" " + a(b(p).ai.canvas.chatHintSuffix), 1)
|
|
2355
2356
|
])) : x("", !0),
|
|
2356
|
-
I.value ? (s(), C("p",
|
|
2357
|
+
I.value ? (s(), C("p", Ni, [
|
|
2357
2358
|
w(a(b(p).ai.canvas.importHint) + " ", 1),
|
|
2358
2359
|
O("button", {
|
|
2359
2360
|
type: "button",
|
|
2360
2361
|
"data-testid": "canvas-ai-import",
|
|
2361
2362
|
class: "tpl:inline-flex tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:whitespace-nowrap tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-sm tpl:font-semibold tpl:transition-colors tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
|
|
2362
2363
|
onClick: z
|
|
2363
|
-
}, [v(b(
|
|
2364
|
+
}, [v(b(sr), {
|
|
2364
2365
|
size: 14,
|
|
2365
2366
|
"stroke-width": 2,
|
|
2366
2367
|
"aria-hidden": "true"
|
|
@@ -2378,11 +2379,11 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
|
|
|
2378
2379
|
])) : x("", !0), (s(!0), C(M, null, d(U.value, (t) => g((s(), C("div", {
|
|
2379
2380
|
key: t.id,
|
|
2380
2381
|
class: "tpl-block-item"
|
|
2381
|
-
}, [O("div",
|
|
2382
|
+
}, [O("div", Pi, [t.type === "wrapper" ? (s(), F(o(ce(t)), {
|
|
2382
2383
|
key: 0,
|
|
2383
2384
|
block: t,
|
|
2384
2385
|
viewport: e.viewport
|
|
2385
|
-
}, null, 8, ["block", "viewport"])) : (s(), F(
|
|
2386
|
+
}, null, 8, ["block", "viewport"])) : (s(), F(Xt, {
|
|
2386
2387
|
key: 1,
|
|
2387
2388
|
block: t,
|
|
2388
2389
|
"display-block": b(_)(t),
|
|
@@ -2417,12 +2418,12 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
|
|
|
2417
2418
|
"modelValue",
|
|
2418
2419
|
"disabled",
|
|
2419
2420
|
"class"
|
|
2420
|
-
]), [[H, !b(N)?.isInitialResolve.value]])], 14,
|
|
2421
|
+
]), [[H, !b(N)?.isInitialResolve.value]])], 14, wi)], 12, Ci)], 4));
|
|
2421
2422
|
}
|
|
2422
|
-
}), [["__scopeId", "data-v-03a9d286"]]),
|
|
2423
|
+
}), [["__scopeId", "data-v-03a9d286"]]), Ii = R({
|
|
2423
2424
|
name: "CustomBlockStylesheets",
|
|
2424
2425
|
setup() {
|
|
2425
|
-
let e = L(
|
|
2426
|
+
let e = L(ct, null);
|
|
2426
2427
|
return () => e ? e.value.map((e, t) => m("style", {
|
|
2427
2428
|
key: t,
|
|
2428
2429
|
"data-tpl-custom-block-stylesheet": "",
|
|
@@ -2431,7 +2432,7 @@ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
|
|
|
2431
2432
|
}
|
|
2432
2433
|
});
|
|
2433
2434
|
// src/utils/resolvePaletteBlocks.ts
|
|
2434
|
-
function
|
|
2435
|
+
function Li(e, t) {
|
|
2435
2436
|
if (!t || t.length === 0) return {
|
|
2436
2437
|
items: e,
|
|
2437
2438
|
unknown: []
|
|
@@ -2449,24 +2450,24 @@ function Fi(e, t) {
|
|
|
2449
2450
|
};
|
|
2450
2451
|
}
|
|
2451
2452
|
// src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
|
|
2452
|
-
var
|
|
2453
|
+
var Ri = ["aria-label"], zi = {
|
|
2453
2454
|
key: 0,
|
|
2454
2455
|
class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
|
|
2455
|
-
},
|
|
2456
|
+
}, Bi = ["aria-label"], Vi = {
|
|
2456
2457
|
key: 0,
|
|
2457
2458
|
class: "tpl:truncate tpl:text-sm tpl:font-medium"
|
|
2458
|
-
},
|
|
2459
|
+
}, Hi = [
|
|
2459
2460
|
"data-palette-type",
|
|
2460
2461
|
"aria-label",
|
|
2461
2462
|
"onClick",
|
|
2462
2463
|
"onKeydown"
|
|
2463
|
-
],
|
|
2464
|
+
], 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 = {
|
|
2464
2465
|
key: 0,
|
|
2465
2466
|
class: "tpl:truncate tpl:text-sm tpl:font-medium"
|
|
2466
|
-
},
|
|
2467
|
+
}, Gi = 4, Ki = /* @__PURE__ */ R({
|
|
2467
2468
|
__name: "Sidebar",
|
|
2468
2469
|
setup(e) {
|
|
2469
|
-
let { t: n, format: r } = $(), i = L(
|
|
2470
|
+
let { t: n, format: r } = $(), i = L(lt, []), c = L(Ye, void 0), l = L(it, void 0), u = L(xt, null), p = Dn(), m = L(ot, {}), g = y(() => m.savedBlocks?.isAvailable.value === !0), w = S(!1), T = S(!1), E = S(null), D = !1, k = 0;
|
|
2470
2471
|
_(() => {
|
|
2471
2472
|
window.clearTimeout(k);
|
|
2472
2473
|
});
|
|
@@ -2507,7 +2508,7 @@ var Ii = ["aria-label"], Li = {
|
|
|
2507
2508
|
}
|
|
2508
2509
|
let V = [
|
|
2509
2510
|
"section",
|
|
2510
|
-
|
|
2511
|
+
nn,
|
|
2511
2512
|
"image",
|
|
2512
2513
|
"title",
|
|
2513
2514
|
"paragraph",
|
|
@@ -2533,21 +2534,21 @@ var Ii = ["aria-label"], Li = {
|
|
|
2533
2534
|
label: e.name,
|
|
2534
2535
|
isCustom: !0,
|
|
2535
2536
|
icon: e.icon
|
|
2536
|
-
}))), W = y(() => [...H.value, ...U.value]), G = y(() =>
|
|
2537
|
+
}))), W = y(() => [...H.value, ...U.value]), G = y(() => Li(W.value, c)), ee = y(() => G.value.items), K = /* @__PURE__ */ new Set();
|
|
2537
2538
|
t(() => G.value.unknown, (e) => {
|
|
2538
|
-
for (let t of e) K.has(t) || (K.add(t),
|
|
2539
|
+
for (let t of e) K.has(t) || (K.add(t), kn.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.`));
|
|
2539
2540
|
}, { immediate: !0 });
|
|
2540
2541
|
function q(e) {
|
|
2541
2542
|
if (e.isCustom) {
|
|
2542
2543
|
let t = e.type.replace("custom:", ""), n = i.find((e) => e.type === t);
|
|
2543
2544
|
if (n) return me(n);
|
|
2544
2545
|
}
|
|
2545
|
-
return e.type === "hero" ?
|
|
2546
|
+
return e.type === "hero" ? dn(l?.value, n.blockDefaults.paragraph) : _e(e.type, l?.value);
|
|
2546
2547
|
}
|
|
2547
2548
|
function J(e) {
|
|
2548
2549
|
if (!u) return;
|
|
2549
2550
|
let t = q(e);
|
|
2550
|
-
|
|
2551
|
+
xi(u, t) && p(t.id);
|
|
2551
2552
|
}
|
|
2552
2553
|
function Y(e) {
|
|
2553
2554
|
D || J(e);
|
|
@@ -2571,17 +2572,17 @@ var Ii = ["aria-label"], Li = {
|
|
|
2571
2572
|
onMouseleave: j,
|
|
2572
2573
|
onFocusin: t[2] ||= (e) => w.value = !0,
|
|
2573
2574
|
onFocusout: R
|
|
2574
|
-
}, [g.value ? (s(), C("div",
|
|
2575
|
+
}, [g.value ? (s(), C("div", zi, [O("button", {
|
|
2575
2576
|
type: "button",
|
|
2576
2577
|
"aria-label": b(n).sidebarNav.browseSavedBlocks,
|
|
2577
2578
|
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)]",
|
|
2578
2579
|
style: f({ justifyContent: w.value ? "flex-start" : "center" }),
|
|
2579
2580
|
onClick: t[0] ||= (e) => b(m).savedBlocks?.openBrowser()
|
|
2580
|
-
}, [v(b(
|
|
2581
|
+
}, [v(b(Fn), {
|
|
2581
2582
|
size: 20,
|
|
2582
2583
|
"stroke-width": 1.5,
|
|
2583
2584
|
class: "tpl:shrink-0"
|
|
2584
|
-
}), w.value ? (s(), C("span",
|
|
2585
|
+
}), w.value ? (s(), C("span", Vi, a(b(n).savedBlocks.title), 1)) : x("", !0)], 12, Bi)])) : x("", !0), v(b(Jt), {
|
|
2585
2586
|
"model-value": ee.value,
|
|
2586
2587
|
group: {
|
|
2587
2588
|
name: "blocks",
|
|
@@ -2592,7 +2593,7 @@ var Ii = ["aria-label"], Li = {
|
|
|
2592
2593
|
sort: !1,
|
|
2593
2594
|
animation: 150,
|
|
2594
2595
|
"force-fallback": !0,
|
|
2595
|
-
"fallback-tolerance":
|
|
2596
|
+
"fallback-tolerance": Gi,
|
|
2596
2597
|
class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-0.5 tpl:overflow-y-auto tpl:p-1",
|
|
2597
2598
|
onChoose: N,
|
|
2598
2599
|
onStart: I,
|
|
@@ -2608,58 +2609,58 @@ var Ii = ["aria-label"], Li = {
|
|
|
2608
2609
|
style: f({ justifyContent: w.value ? "flex-start" : "center" }),
|
|
2609
2610
|
onClick: (t) => Y(e),
|
|
2610
2611
|
onKeydown: (t) => te(t, e)
|
|
2611
|
-
}, [O("div",
|
|
2612
|
+
}, [O("div", Ui, [b(In)[e.type] ? (s(), F(o(b(In)[e.type]), {
|
|
2612
2613
|
key: 0,
|
|
2613
2614
|
size: 20,
|
|
2614
2615
|
"stroke-width": 1.5
|
|
2615
|
-
})) : e.isCustom ? (s(), F(
|
|
2616
|
+
})) : e.isCustom ? (s(), F(qt, {
|
|
2616
2617
|
key: 1,
|
|
2617
2618
|
icon: e.icon,
|
|
2618
2619
|
size: 20
|
|
2619
|
-
}, null, 8, ["icon"])) : x("", !0)]), w.value ? (s(), C("span",
|
|
2620
|
+
}, null, 8, ["icon"])) : x("", !0)]), w.value ? (s(), C("span", Wi, a(e.label), 1)) : x("", !0)], 44, Hi))), 128))]),
|
|
2620
2621
|
_: 1
|
|
2621
|
-
}, 8, ["model-value"])], 44,
|
|
2622
|
+
}, 8, ["model-value"])], 44, Ri));
|
|
2622
2623
|
}
|
|
2623
|
-
}),
|
|
2624
|
+
}), qi = ["aria-label"], Ji = {
|
|
2624
2625
|
role: "tablist",
|
|
2625
2626
|
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"
|
|
2626
|
-
},
|
|
2627
|
+
}, Yi = [
|
|
2627
2628
|
"aria-selected",
|
|
2628
2629
|
"aria-label",
|
|
2629
2630
|
"title"
|
|
2630
|
-
],
|
|
2631
|
+
], Xi = { key: 0 }, Zi = [
|
|
2631
2632
|
"aria-selected",
|
|
2632
2633
|
"aria-label",
|
|
2633
2634
|
"title"
|
|
2634
|
-
],
|
|
2635
|
+
], Qi = { key: 0 }, $i = [
|
|
2635
2636
|
"aria-selected",
|
|
2636
2637
|
"aria-label",
|
|
2637
2638
|
"title"
|
|
2638
|
-
],
|
|
2639
|
+
], ea = { key: 0 }, ta = {
|
|
2639
2640
|
key: 1,
|
|
2640
2641
|
class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
|
|
2641
|
-
},
|
|
2642
|
+
}, na = {
|
|
2642
2643
|
key: 0,
|
|
2643
2644
|
id: "tpl-tabpanel-content",
|
|
2644
2645
|
role: "tabpanel",
|
|
2645
2646
|
"aria-labelledby": "tpl-tab-content",
|
|
2646
2647
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
2647
|
-
},
|
|
2648
|
+
}, ra = {
|
|
2648
2649
|
key: 1,
|
|
2649
2650
|
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)]"
|
|
2650
|
-
},
|
|
2651
|
+
}, 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 = {
|
|
2651
2652
|
key: 1,
|
|
2652
2653
|
id: "tpl-tabpanel-settings",
|
|
2653
2654
|
role: "tabpanel",
|
|
2654
2655
|
"aria-labelledby": "tpl-tab-settings",
|
|
2655
2656
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
2656
|
-
},
|
|
2657
|
+
}, ca = {
|
|
2657
2658
|
key: 2,
|
|
2658
2659
|
id: "tpl-tabpanel-issues",
|
|
2659
2660
|
role: "tabpanel",
|
|
2660
2661
|
"aria-labelledby": "tpl-tab-issues",
|
|
2661
2662
|
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
|
|
2662
|
-
},
|
|
2663
|
+
}, la = /* @__PURE__ */ R({
|
|
2663
2664
|
__name: "RightSidebar",
|
|
2664
2665
|
props: /*@__PURE__*/ r({
|
|
2665
2666
|
selectedBlock: {},
|
|
@@ -2676,7 +2677,7 @@ var Ii = ["aria-label"], Li = {
|
|
|
2676
2677
|
"update-settings"
|
|
2677
2678
|
], ["update:tab"]),
|
|
2678
2679
|
setup(e, { emit: n }) {
|
|
2679
|
-
let r = I(() => import("./Toolbar-
|
|
2680
|
+
let r = I(() => import("./Toolbar-FIYSw3Us.js").then((e) => e.t)), i = I(() => import("./TemplateSettings-CBCaybvd.js")), o = I(() => import("./IssuesPanel-pxcWAQJM.js")), l = e, u = n, { t: d } = $(), m = p(e, "tab"), h = L(bt, null), g = y(() => h !== null && !h.unavailable.value), _ = y(() => h?.issues.value.length ?? 0), S = L(ht, new Set(Ln)), w = y(() => S.size > 0);
|
|
2680
2681
|
function T(e) {
|
|
2681
2682
|
return m.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)]";
|
|
2682
2683
|
}
|
|
@@ -2694,7 +2695,7 @@ var Ii = ["aria-label"], Li = {
|
|
|
2694
2695
|
"aria-label": b(d).landmarks.rightSidebar,
|
|
2695
2696
|
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"])
|
|
2696
2697
|
}, [
|
|
2697
|
-
O("div",
|
|
2698
|
+
O("div", Ji, [
|
|
2698
2699
|
O("button", {
|
|
2699
2700
|
id: "tpl-tab-content",
|
|
2700
2701
|
role: "tab",
|
|
@@ -2705,10 +2706,10 @@ var Ii = ["aria-label"], Li = {
|
|
|
2705
2706
|
class: c(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", T("content")]),
|
|
2706
2707
|
style: f(E("content")),
|
|
2707
2708
|
onClick: n[0] ||= (e) => m.value = "content"
|
|
2708
|
-
}, [v(b(
|
|
2709
|
+
}, [v(b(ur), {
|
|
2709
2710
|
size: 14,
|
|
2710
2711
|
"stroke-width": 2
|
|
2711
|
-
}), m.value === "content" ? (s(), C("span",
|
|
2712
|
+
}), m.value === "content" ? (s(), C("span", Xi, a(b(d).sidebar.content), 1)) : x("", !0)], 14, Yi),
|
|
2712
2713
|
w.value ? (s(), C("button", {
|
|
2713
2714
|
key: 0,
|
|
2714
2715
|
id: "tpl-tab-settings",
|
|
@@ -2720,10 +2721,10 @@ var Ii = ["aria-label"], Li = {
|
|
|
2720
2721
|
class: c(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", T("settings")]),
|
|
2721
2722
|
style: f(E("settings")),
|
|
2722
2723
|
onClick: n[1] ||= (e) => m.value = "settings"
|
|
2723
|
-
}, [v(b(
|
|
2724
|
+
}, [v(b(fr), {
|
|
2724
2725
|
size: 14,
|
|
2725
2726
|
"stroke-width": 1.5
|
|
2726
|
-
}), m.value === "settings" ? (s(), C("span",
|
|
2727
|
+
}), m.value === "settings" ? (s(), C("span", Qi, a(b(d).sidebar.settings), 1)) : x("", !0)], 14, Zi)) : x("", !0),
|
|
2727
2728
|
g.value ? (s(), C("button", {
|
|
2728
2729
|
key: 1,
|
|
2729
2730
|
id: "tpl-tab-issues",
|
|
@@ -2736,69 +2737,69 @@ var Ii = ["aria-label"], Li = {
|
|
|
2736
2737
|
style: f(E("issues")),
|
|
2737
2738
|
onClick: n[2] ||= (e) => m.value = "issues"
|
|
2738
2739
|
}, [
|
|
2739
|
-
v(b(
|
|
2740
|
+
v(b(Tn), {
|
|
2740
2741
|
size: 14,
|
|
2741
2742
|
"stroke-width": 1.5
|
|
2742
2743
|
}),
|
|
2743
|
-
m.value === "issues" ? (s(), C("span",
|
|
2744
|
-
_.value > 0 ? (s(), C("span",
|
|
2745
|
-
], 14,
|
|
2744
|
+
m.value === "issues" ? (s(), C("span", ea, a(b(d).issues.panelTabLabel), 1)) : x("", !0),
|
|
2745
|
+
_.value > 0 ? (s(), C("span", ta, a(_.value), 1)) : x("", !0)
|
|
2746
|
+
], 14, $i)) : x("", !0)
|
|
2746
2747
|
]),
|
|
2747
|
-
m.value === "content" ? (s(), C("div",
|
|
2748
|
+
m.value === "content" ? (s(), C("div", na, [e.selectedBlock ? (s(), F(b(r), {
|
|
2748
2749
|
key: 0,
|
|
2749
2750
|
block: e.selectedBlock,
|
|
2750
2751
|
onUpdate: n[3] ||= (e) => u("update-block", e),
|
|
2751
2752
|
onDelete: n[4] ||= (e) => u("delete-block"),
|
|
2752
2753
|
onDuplicate: n[5] ||= (e) => u("duplicate-block")
|
|
2753
|
-
}, null, 8, ["block"])) : (s(), C("div",
|
|
2754
|
-
O("div",
|
|
2754
|
+
}, null, 8, ["block"])) : (s(), C("div", ra, [
|
|
2755
|
+
O("div", ia, [v(b(cr), {
|
|
2755
2756
|
size: 40,
|
|
2756
2757
|
"stroke-width": 1.5
|
|
2757
2758
|
})]),
|
|
2758
|
-
O("h3",
|
|
2759
|
-
O("p",
|
|
2759
|
+
O("h3", aa, a(b(d).sidebar.noSelection), 1),
|
|
2760
|
+
O("p", oa, a(b(d).sidebar.noSelectionHint), 1)
|
|
2760
2761
|
]))])) : x("", !0),
|
|
2761
|
-
m.value === "settings" && w.value ? (s(), C("div",
|
|
2762
|
+
m.value === "settings" && w.value ? (s(), C("div", sa, [v(b(i), {
|
|
2762
2763
|
settings: e.settings,
|
|
2763
2764
|
onUpdate: n[6] ||= (e) => u("update-settings", e)
|
|
2764
2765
|
}, null, 8, ["settings"])])) : x("", !0),
|
|
2765
|
-
m.value === "issues" && g.value ? (s(), C("div",
|
|
2766
|
-
], 10,
|
|
2766
|
+
m.value === "issues" && g.value ? (s(), C("div", ca, [v(b(o))])) : x("", !0)
|
|
2767
|
+
], 10, qi));
|
|
2767
2768
|
}
|
|
2768
|
-
}),
|
|
2769
|
+
}), ua = {
|
|
2769
2770
|
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)]",
|
|
2770
2771
|
style: { "z-index": "10001" },
|
|
2771
2772
|
role: "status",
|
|
2772
2773
|
"data-testid": "small-screen-notice"
|
|
2773
|
-
},
|
|
2774
|
+
}, 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__ */ R({
|
|
2774
2775
|
__name: "SmallScreenNotice",
|
|
2775
2776
|
setup(e) {
|
|
2776
2777
|
let { t } = $();
|
|
2777
|
-
return (e, n) => (s(), C("div",
|
|
2778
|
-
O("div",
|
|
2778
|
+
return (e, n) => (s(), C("div", ua, [
|
|
2779
|
+
O("div", da, [v(b(Rn), {
|
|
2779
2780
|
size: 48,
|
|
2780
2781
|
"stroke-width": 1.5
|
|
2781
2782
|
})]),
|
|
2782
|
-
O("h2",
|
|
2783
|
-
O("p",
|
|
2783
|
+
O("h2", fa, a(b(t).smallScreen.title), 1),
|
|
2784
|
+
O("p", pa, a(b(t).smallScreen.message), 1)
|
|
2784
2785
|
]));
|
|
2785
2786
|
}
|
|
2786
|
-
}),
|
|
2787
|
+
}), ha = {
|
|
2787
2788
|
class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
|
|
2788
2789
|
style: {
|
|
2789
2790
|
"background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
|
|
2790
2791
|
"backdrop-filter": "blur(8px)",
|
|
2791
2792
|
"-webkit-backdrop-filter": "blur(8px)"
|
|
2792
2793
|
}
|
|
2793
|
-
},
|
|
2794
|
+
}, ga = /* @__PURE__ */ R({
|
|
2794
2795
|
__name: "EditorFooter",
|
|
2795
2796
|
props: { positionClass: {} },
|
|
2796
2797
|
setup(e) {
|
|
2797
2798
|
let { t } = $();
|
|
2798
|
-
return (n, r) => (s(), C("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]) }, [O("div",
|
|
2799
|
+
return (n, r) => (s(), C("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]) }, [O("div", ha, [O("span", null, a(b(t).footer.poweredBy), 1), r[0] ||= T("<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));
|
|
2799
2800
|
}
|
|
2800
|
-
}),
|
|
2801
|
-
function
|
|
2801
|
+
}), _a = (e) => Number.parseFloat(e) || 0;
|
|
2802
|
+
function va(e) {
|
|
2802
2803
|
let t = (t) => e.centerWidth + 2 * Math.max(e.leftWidth, t) + e.paddingWidth + 2 * e.columnGap + e.borderWidth, n = e.statusLabelWidth ?? 0, r = t(e.rightWidth - n), i = e.availableWidth < r;
|
|
2803
2804
|
return {
|
|
2804
2805
|
compact: i,
|
|
@@ -2806,31 +2807,58 @@ function ga(e) {
|
|
|
2806
2807
|
statusLabel: !i && e.availableWidth >= t(e.rightWidth)
|
|
2807
2808
|
};
|
|
2808
2809
|
}
|
|
2809
|
-
function
|
|
2810
|
-
let
|
|
2811
|
-
|
|
2812
|
-
|
|
2810
|
+
function ya(e) {
|
|
2811
|
+
let t = e.cloneNode(!1);
|
|
2812
|
+
if (e instanceof Element && e.classList.contains("tpl-header-actions")) return t;
|
|
2813
|
+
for (let n of e.childNodes) t.appendChild(ya(n));
|
|
2814
|
+
return t;
|
|
2815
|
+
}
|
|
2816
|
+
function ba(t, n, r) {
|
|
2817
|
+
let i = A(!1), a = A(0), o = A(!1), s = 0, c, l, u, d = !1, f = !0, p = null, m, h = 0, g = 0, _ = [];
|
|
2818
|
+
function v() {
|
|
2819
|
+
return _.some((e) => {
|
|
2813
2820
|
let t = e.getBoundingClientRect();
|
|
2814
|
-
return Array.from(e.children).some((e) => {
|
|
2821
|
+
return Array.from(e.children).flatMap((e) => e instanceof HTMLSlotElement ? e.assignedElements() : e.classList.contains("tpl-header-actions") ? Array.from(e.children) : [e]).some((e) => {
|
|
2815
2822
|
let n = e.getBoundingClientRect();
|
|
2816
2823
|
return n.width > 0 && (n.left < t.left - .5 || n.right > t.right + .5);
|
|
2817
2824
|
});
|
|
2818
2825
|
});
|
|
2819
2826
|
}
|
|
2820
|
-
function
|
|
2821
|
-
if (!
|
|
2827
|
+
function y() {
|
|
2828
|
+
if (!d || !t.value || !n.value) return;
|
|
2822
2829
|
let e = t.value.getBoundingClientRect().width;
|
|
2823
2830
|
if (e <= 0) return;
|
|
2824
|
-
if (!
|
|
2825
|
-
|
|
2831
|
+
if (!f && !i.value && e >= a.value && v() && (f = !0), !f && a.value > 0) {
|
|
2832
|
+
i.value = e < a.value, o.value = !i.value && e >= s;
|
|
2826
2833
|
return;
|
|
2827
2834
|
}
|
|
2828
|
-
let
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2835
|
+
let c = n.value, p = 0;
|
|
2836
|
+
if (r?.isConnected) {
|
|
2837
|
+
let e = r.getAttribute("data-tpl-compact"), t = r.getAttribute("style");
|
|
2838
|
+
(l?.takeRecords().length || u?.takeRecords().length) && (f = !0), r.removeAttribute("data-tpl-compact"), r.style.width = "max-content", r.style.flexShrink = "0";
|
|
2839
|
+
try {
|
|
2840
|
+
p = r.getBoundingClientRect().width;
|
|
2841
|
+
} finally {
|
|
2842
|
+
t === null ? r.removeAttribute("style") : r.setAttribute("style", t), e === null ? r.removeAttribute("data-tpl-compact") : r.setAttribute("data-tpl-compact", e), l?.takeRecords(), u?.takeRecords();
|
|
2843
|
+
}
|
|
2844
|
+
}
|
|
2845
|
+
let h = c.ownerDocument.createElement("div");
|
|
2846
|
+
for (let e of c.attributes) e.name.startsWith("data-") || h.setAttribute(e.name, e.value);
|
|
2847
|
+
h.classList.remove("tpl-header"), h.classList.add("tpl-header-measure"), h.setAttribute("aria-hidden", "true"), h.inert = !0;
|
|
2848
|
+
for (let e of c.childNodes) e !== m && h.appendChild(ya(e));
|
|
2849
|
+
let g = h.querySelector("slot[name=\"tpl-header-actions\"], .tpl-header-actions");
|
|
2850
|
+
if (g) {
|
|
2851
|
+
if (r?.isConnected) {
|
|
2852
|
+
let e = c.ownerDocument.createElement("span");
|
|
2853
|
+
e.className = "tpl-header-action-measure", Object.assign(e.style, {
|
|
2854
|
+
display: "inline-block",
|
|
2855
|
+
flex: "none",
|
|
2856
|
+
width: `${p}px`
|
|
2857
|
+
}), g.replaceWith(e);
|
|
2858
|
+
} else g.remove();
|
|
2859
|
+
}
|
|
2860
|
+
for (let e of h.querySelectorAll("*")) e.removeAttribute("id"), e.removeAttribute("data-testid");
|
|
2861
|
+
Object.assign(h.style, {
|
|
2834
2862
|
position: "absolute",
|
|
2835
2863
|
inset: "0 auto auto 0",
|
|
2836
2864
|
width: "max-content",
|
|
@@ -2839,47 +2867,47 @@ function _a(t, n) {
|
|
|
2839
2867
|
pointerEvents: "none",
|
|
2840
2868
|
gridTemplateColumns: "max-content max-content max-content"
|
|
2841
2869
|
});
|
|
2842
|
-
let
|
|
2870
|
+
let _ = [
|
|
2843
2871
|
".tpl-header-left",
|
|
2844
2872
|
".tpl-header-center",
|
|
2845
2873
|
".tpl-header-right"
|
|
2846
|
-
].map((e) =>
|
|
2847
|
-
for (let e of
|
|
2848
|
-
let
|
|
2849
|
-
if (
|
|
2850
|
-
|
|
2851
|
-
for (let e of
|
|
2874
|
+
].map((e) => h.querySelector(e));
|
|
2875
|
+
for (let e of _) e.style.width = "max-content", e.style.minWidth = "0";
|
|
2876
|
+
let y = h.querySelector(".tpl-header-identity");
|
|
2877
|
+
if (y) {
|
|
2878
|
+
y.style.width = "24px", y.style.minWidth = "24px", y.style.flexShrink = "0";
|
|
2879
|
+
for (let e of y.children) e.style.maxWidth = "100%";
|
|
2852
2880
|
}
|
|
2853
|
-
t.value.appendChild(
|
|
2881
|
+
t.value.appendChild(h);
|
|
2854
2882
|
try {
|
|
2855
|
-
let t = getComputedStyle(
|
|
2883
|
+
let t = getComputedStyle(h), n = _.map((e) => e.getBoundingClientRect().width), r = h.querySelector(".tpl-status-label"), c = r ? r.getBoundingClientRect().width + _a(getComputedStyle(r.parentElement).columnGap) : 0, l = {
|
|
2856
2884
|
availableWidth: e,
|
|
2857
2885
|
leftWidth: n[0],
|
|
2858
2886
|
centerWidth: n[1],
|
|
2859
2887
|
rightWidth: n[2],
|
|
2860
|
-
paddingWidth:
|
|
2861
|
-
columnGap:
|
|
2862
|
-
borderWidth:
|
|
2863
|
-
},
|
|
2864
|
-
...
|
|
2865
|
-
statusLabelWidth:
|
|
2888
|
+
paddingWidth: _a(t.paddingLeft || t.paddingInline) + _a(t.paddingRight || t.paddingInline),
|
|
2889
|
+
columnGap: _a(t.columnGap),
|
|
2890
|
+
borderWidth: _a(t.borderLeftWidth) + _a(t.borderRightWidth)
|
|
2891
|
+
}, u = va({
|
|
2892
|
+
...l,
|
|
2893
|
+
statusLabelWidth: c
|
|
2866
2894
|
});
|
|
2867
|
-
|
|
2895
|
+
a.value = u.fullWidth, i.value = u.compact, o.value = u.statusLabel, s = va(l).fullWidth, f = !1;
|
|
2868
2896
|
} finally {
|
|
2869
|
-
|
|
2897
|
+
h.remove();
|
|
2870
2898
|
}
|
|
2871
2899
|
}
|
|
2872
|
-
function
|
|
2873
|
-
|
|
2874
|
-
|
|
2900
|
+
function b() {
|
|
2901
|
+
d && p === null && (p = window.requestAnimationFrame(() => {
|
|
2902
|
+
p = null, y();
|
|
2875
2903
|
}));
|
|
2876
2904
|
}
|
|
2877
|
-
function
|
|
2878
|
-
|
|
2905
|
+
function x() {
|
|
2906
|
+
d && (f = !0, b());
|
|
2879
2907
|
}
|
|
2880
2908
|
return e(() => {
|
|
2881
|
-
if (
|
|
2882
|
-
|
|
2909
|
+
if (d = !0, _ = Array.from(n.value?.children ?? []), y(), !t.value || !n.value) return;
|
|
2910
|
+
m = n.value.ownerDocument.createElement("span"), m.className = "tpl-header-metric-probe", m.setAttribute("aria-hidden", "true"), m.inert = !0, m.textContent = "MWmw0123456789", Object.assign(m.style, {
|
|
2883
2911
|
position: "absolute",
|
|
2884
2912
|
inset: "0 auto auto 0",
|
|
2885
2913
|
width: "max-content",
|
|
@@ -2890,22 +2918,22 @@ function _a(t, n) {
|
|
|
2890
2918
|
whiteSpace: "pre",
|
|
2891
2919
|
visibility: "hidden",
|
|
2892
2920
|
pointerEvents: "none"
|
|
2893
|
-
}), n.value.appendChild(
|
|
2894
|
-
let e =
|
|
2895
|
-
if (
|
|
2896
|
-
|
|
2921
|
+
}), n.value.appendChild(m);
|
|
2922
|
+
let e = m.getBoundingClientRect();
|
|
2923
|
+
if (h = e.width, g = e.height, typeof ResizeObserver < "u") {
|
|
2924
|
+
c = new ResizeObserver((e) => {
|
|
2897
2925
|
let t = !1;
|
|
2898
2926
|
for (let n of e) {
|
|
2899
|
-
if (n.target !==
|
|
2927
|
+
if (n.target !== m) continue;
|
|
2900
2928
|
let { width: e, height: r } = n.contentRect;
|
|
2901
|
-
(e !==
|
|
2929
|
+
(e !== h || r !== g) && (t = !0), h = e, g = r;
|
|
2902
2930
|
}
|
|
2903
|
-
t ?
|
|
2904
|
-
}),
|
|
2905
|
-
for (let e of
|
|
2906
|
-
|
|
2931
|
+
t ? x() : b();
|
|
2932
|
+
}), c.observe(t.value);
|
|
2933
|
+
for (let e of _) c.observe(e);
|
|
2934
|
+
c.observe(m), r && c.observe(r);
|
|
2907
2935
|
}
|
|
2908
|
-
|
|
2936
|
+
l = new MutationObserver(x), l.observe(n.value, {
|
|
2909
2937
|
subtree: !0,
|
|
2910
2938
|
childList: !0,
|
|
2911
2939
|
characterData: !0,
|
|
@@ -2917,23 +2945,31 @@ function _a(t, n) {
|
|
|
2917
2945
|
"aria-label",
|
|
2918
2946
|
"hidden"
|
|
2919
2947
|
]
|
|
2920
|
-
}),
|
|
2921
|
-
|
|
2922
|
-
|
|
2948
|
+
}), r && (u = new MutationObserver((e) => {
|
|
2949
|
+
e.some((e) => e.type !== "attributes" || e.attributeName !== "data-tpl-compact" && e.attributeName !== "data-tpl-theme") && x();
|
|
2950
|
+
}), u.observe(r, {
|
|
2951
|
+
subtree: !0,
|
|
2952
|
+
childList: !0,
|
|
2953
|
+
characterData: !0,
|
|
2954
|
+
attributes: !0
|
|
2955
|
+
})), window.addEventListener("resize", b);
|
|
2956
|
+
let i = n.value.ownerDocument.fonts;
|
|
2957
|
+
i?.addEventListener("loadingdone", x), i?.status === "loading" && i.ready.then(x);
|
|
2923
2958
|
}), D(() => {
|
|
2924
|
-
|
|
2959
|
+
d = !1, p !== null && (window.cancelAnimationFrame(p), p = null), c?.disconnect(), l?.disconnect(), u?.disconnect(), m?.remove(), m = void 0, _ = [], window.removeEventListener("resize", b), n.value?.ownerDocument.fonts?.removeEventListener("loadingdone", x);
|
|
2925
2960
|
}), {
|
|
2926
|
-
compact:
|
|
2927
|
-
fullWidth:
|
|
2928
|
-
statusLabel:
|
|
2961
|
+
compact: i,
|
|
2962
|
+
fullWidth: a,
|
|
2963
|
+
statusLabel: o,
|
|
2964
|
+
invalidateContent: x
|
|
2929
2965
|
};
|
|
2930
2966
|
}
|
|
2931
2967
|
// src/components/DarkModeToggle.vue?vue&type=script&setup=true&lang.ts
|
|
2932
|
-
var
|
|
2968
|
+
var xa = [
|
|
2933
2969
|
"aria-label",
|
|
2934
2970
|
"title",
|
|
2935
2971
|
"aria-pressed"
|
|
2936
|
-
],
|
|
2972
|
+
], Sa = /*#__PURE__*/ ze(/* @__PURE__ */ R({
|
|
2937
2973
|
__name: "DarkModeToggle",
|
|
2938
2974
|
props: { darkMode: { type: Boolean } },
|
|
2939
2975
|
emits: ["change"],
|
|
@@ -2956,23 +2992,23 @@ var va = [
|
|
|
2956
2992
|
"leave-to-class": "tpl-icon-leave-to",
|
|
2957
2993
|
mode: "out-in"
|
|
2958
2994
|
}, {
|
|
2959
|
-
default: h(() => [e.darkMode ? (s(), F(b(
|
|
2995
|
+
default: h(() => [e.darkMode ? (s(), F(b(lr), {
|
|
2960
2996
|
key: "moon",
|
|
2961
2997
|
size: 18,
|
|
2962
2998
|
"stroke-width": 1.5
|
|
2963
|
-
})) : (s(), F(b(
|
|
2999
|
+
})) : (s(), F(b(mr), {
|
|
2964
3000
|
key: "sun",
|
|
2965
3001
|
size: 18,
|
|
2966
3002
|
"stroke-width": 1.5
|
|
2967
3003
|
}))]),
|
|
2968
3004
|
_: 1
|
|
2969
|
-
})], 12,
|
|
3005
|
+
})], 12, xa));
|
|
2970
3006
|
}
|
|
2971
|
-
}), [["__scopeId", "data-v-632aa74f"]]),
|
|
3007
|
+
}), [["__scopeId", "data-v-632aa74f"]]), Ca = [
|
|
2972
3008
|
"aria-label",
|
|
2973
3009
|
"title",
|
|
2974
3010
|
"aria-pressed"
|
|
2975
|
-
],
|
|
3011
|
+
], wa = /*#__PURE__*/ ze(/* @__PURE__ */ R({
|
|
2976
3012
|
__name: "PreviewToggle",
|
|
2977
3013
|
props: { previewMode: { type: Boolean } },
|
|
2978
3014
|
emits: ["change"],
|
|
@@ -2995,19 +3031,19 @@ var va = [
|
|
|
2995
3031
|
"leave-to-class": "tpl-icon-leave-to",
|
|
2996
3032
|
mode: "out-in"
|
|
2997
3033
|
}, {
|
|
2998
|
-
default: h(() => [e.previewMode ? (s(), F(b(
|
|
3034
|
+
default: h(() => [e.previewMode ? (s(), F(b(Wn), {
|
|
2999
3035
|
key: "eye",
|
|
3000
3036
|
size: 18,
|
|
3001
3037
|
"stroke-width": 1.5
|
|
3002
|
-
})) : (s(), F(b(
|
|
3038
|
+
})) : (s(), F(b(Lt), {
|
|
3003
3039
|
key: "eye-off",
|
|
3004
3040
|
size: 18,
|
|
3005
3041
|
"stroke-width": 1.5
|
|
3006
3042
|
}))]),
|
|
3007
3043
|
_: 1
|
|
3008
|
-
})], 12,
|
|
3044
|
+
})], 12, Ca));
|
|
3009
3045
|
}
|
|
3010
|
-
}), [["__scopeId", "data-v-eef7b2ca"]]),
|
|
3046
|
+
}), [["__scopeId", "data-v-eef7b2ca"]]), Ta = ["aria-label", "onKeydown"], Ea = ["title", "aria-label"], Da = /* @__PURE__ */ R({
|
|
3011
3047
|
__name: "TemplateNameField",
|
|
3012
3048
|
props: {
|
|
3013
3049
|
name: {},
|
|
@@ -3036,10 +3072,10 @@ var va = [
|
|
|
3036
3072
|
type: "text",
|
|
3037
3073
|
"data-testid": "template-name-input",
|
|
3038
3074
|
"aria-label": b(i).header.templateName,
|
|
3039
|
-
class: c([b(
|
|
3075
|
+
class: c([b(kt), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
|
|
3040
3076
|
onKeydown: [U(B(p, ["prevent"]), ["enter"]), U(B(m, ["prevent"]), ["esc"])],
|
|
3041
3077
|
onBlur: p
|
|
3042
|
-
}, null, 42,
|
|
3078
|
+
}, null, 42, Ta)), [[z, l.value]]) : e.editable ? (s(), C("button", {
|
|
3043
3079
|
key: 1,
|
|
3044
3080
|
type: "button",
|
|
3045
3081
|
"data-testid": "template-name",
|
|
@@ -3047,49 +3083,49 @@ var va = [
|
|
|
3047
3083
|
"aria-label": b(i).header.rename,
|
|
3048
3084
|
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 }]),
|
|
3049
3085
|
onClick: f
|
|
3050
|
-
}, a(e.name || b(i).header.untitled), 11,
|
|
3086
|
+
}, a(e.name || b(i).header.untitled), 11, Ea)) : (s(), C("span", {
|
|
3051
3087
|
key: 2,
|
|
3052
3088
|
"data-testid": "template-name",
|
|
3053
3089
|
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 }])
|
|
3054
3090
|
}, a(e.name || b(i).header.untitled), 3));
|
|
3055
3091
|
}
|
|
3056
|
-
}),
|
|
3092
|
+
}), Oa = ["title"], ka = /* @__PURE__ */ R({
|
|
3057
3093
|
__name: "TemplateTimestamp",
|
|
3058
3094
|
props: {
|
|
3059
3095
|
iso: {},
|
|
3060
3096
|
kind: {}
|
|
3061
3097
|
},
|
|
3062
3098
|
setup(e) {
|
|
3063
|
-
let t = e, { t: n, format: r } = $(), i = L(
|
|
3064
|
-
|
|
3099
|
+
let t = e, { t: n, format: r } = $(), i = L(gt, void 0), o = S(0);
|
|
3100
|
+
qn(() => {
|
|
3065
3101
|
o.value += 1;
|
|
3066
3102
|
}, 6e4);
|
|
3067
3103
|
let c = y(() => {
|
|
3068
3104
|
o.value;
|
|
3069
|
-
let e =
|
|
3105
|
+
let e = Yn(t.iso, n.time, r);
|
|
3070
3106
|
if (e === null) return "";
|
|
3071
3107
|
let i = e === n.time.justNow;
|
|
3072
3108
|
return t.kind === "updatedAt" ? i ? n.header.updatedJustNow : r(n.header.updatedAt, { time: e }) : i ? n.header.createdJustNow : r(n.header.createdAt, { time: e });
|
|
3073
|
-
}), l = y(() =>
|
|
3109
|
+
}), l = y(() => Jn(t.iso, i));
|
|
3074
3110
|
return (e, t) => c.value ? (s(), C("span", {
|
|
3075
3111
|
key: 0,
|
|
3076
3112
|
"data-testid": "template-timestamp",
|
|
3077
3113
|
title: l.value,
|
|
3078
3114
|
class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
|
|
3079
|
-
}, a(c.value), 9,
|
|
3115
|
+
}, a(c.value), 9, Oa)) : x("", !0);
|
|
3080
3116
|
}
|
|
3081
|
-
}),
|
|
3117
|
+
}), Aa = [
|
|
3082
3118
|
"aria-live",
|
|
3083
3119
|
"data-testid",
|
|
3084
3120
|
"title",
|
|
3085
3121
|
"data-tooltip"
|
|
3086
|
-
],
|
|
3122
|
+
], ja = {
|
|
3087
3123
|
key: 2,
|
|
3088
3124
|
class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]"
|
|
3089
|
-
},
|
|
3125
|
+
}, Ma = {
|
|
3090
3126
|
key: 0,
|
|
3091
3127
|
class: "tpl-status-label"
|
|
3092
|
-
},
|
|
3128
|
+
}, Na = /* @__PURE__ */ R({
|
|
3093
3129
|
__name: "TemplateSaveStatus",
|
|
3094
3130
|
props: {
|
|
3095
3131
|
status: {},
|
|
@@ -3111,21 +3147,21 @@ var va = [
|
|
|
3111
3147
|
}, [O("span", {
|
|
3112
3148
|
class: c(["tpl-status-icon tpl:inline-flex tpl:size-3 tpl:shrink-0 tpl:items-center tpl:justify-center", { "tpl:invisible": r.value === "none" }]),
|
|
3113
3149
|
"aria-hidden": "true"
|
|
3114
|
-
}, [r.value === "error" ? (s(), F(b(
|
|
3150
|
+
}, [r.value === "error" ? (s(), F(b(Zn), {
|
|
3115
3151
|
key: 0,
|
|
3116
3152
|
size: 12,
|
|
3117
3153
|
"stroke-width": 2.5
|
|
3118
|
-
})) : r.value === "saved" ? (s(), F(b(
|
|
3154
|
+
})) : r.value === "saved" ? (s(), F(b(Xn), {
|
|
3119
3155
|
key: 1,
|
|
3120
3156
|
size: 12,
|
|
3121
3157
|
"stroke-width": 2.5
|
|
3122
|
-
})) : r.value === "unsaved" ? (s(), C("span",
|
|
3158
|
+
})) : r.value === "unsaved" ? (s(), C("span", ja)) : x("", !0)], 2), r.value === "none" ? x("", !0) : (s(), C("span", Ma, a(o.value), 1))], 10, Aa));
|
|
3123
3159
|
}
|
|
3124
|
-
}),
|
|
3160
|
+
}), Pa = [
|
|
3125
3161
|
"aria-pressed",
|
|
3126
3162
|
"aria-label",
|
|
3127
3163
|
"title"
|
|
3128
|
-
],
|
|
3164
|
+
], Fa = { class: "tpl-header-label" }, Ia = /* @__PURE__ */ R({
|
|
3129
3165
|
__name: "AiHeaderMenu",
|
|
3130
3166
|
props: { feature: {} },
|
|
3131
3167
|
setup(e) {
|
|
@@ -3140,41 +3176,43 @@ var va = [
|
|
|
3140
3176
|
"aria-pressed": r.value,
|
|
3141
3177
|
"aria-label": b(n).ai.menu.chat,
|
|
3142
3178
|
title: b(n).ai.menu.chat,
|
|
3143
|
-
class: c(b(
|
|
3179
|
+
class: c(b(jt)),
|
|
3144
3180
|
style: f(r.value ? {
|
|
3145
3181
|
backgroundColor: "var(--tpl-primary-light)",
|
|
3146
3182
|
borderColor: "var(--tpl-primary-light)"
|
|
3147
3183
|
} : void 0),
|
|
3148
3184
|
onClick: B(i, ["stop"])
|
|
3149
|
-
}, [v(b(
|
|
3185
|
+
}, [v(b(Nn), {
|
|
3150
3186
|
size: 16,
|
|
3151
3187
|
"stroke-width": 2,
|
|
3152
3188
|
class: "tpl:text-[var(--tpl-primary-hover)]",
|
|
3153
3189
|
"aria-hidden": "true"
|
|
3154
|
-
}), O("span",
|
|
3190
|
+
}), O("span", Fa, a(b(n).ai.menu.button), 1)], 14, Pa)) : x("", !0);
|
|
3155
3191
|
}
|
|
3156
|
-
}),
|
|
3192
|
+
}), La = [
|
|
3157
3193
|
"data-compact",
|
|
3158
3194
|
"data-full-width",
|
|
3159
3195
|
"data-status-label"
|
|
3160
|
-
],
|
|
3196
|
+
], 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 = [
|
|
3161
3197
|
"aria-label",
|
|
3162
3198
|
"title",
|
|
3163
3199
|
"aria-expanded"
|
|
3164
|
-
],
|
|
3200
|
+
], Ha = { class: "tpl-header-label" }, Ua = {
|
|
3165
3201
|
key: 0,
|
|
3166
3202
|
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)]"
|
|
3167
|
-
},
|
|
3203
|
+
}, Wa = [
|
|
3168
3204
|
"aria-label",
|
|
3169
3205
|
"title",
|
|
3170
3206
|
"disabled"
|
|
3171
|
-
],
|
|
3207
|
+
], Ga = { class: "tpl-header-label" }, Ka = [
|
|
3172
3208
|
"aria-label",
|
|
3173
3209
|
"disabled",
|
|
3174
3210
|
"title"
|
|
3175
|
-
],
|
|
3211
|
+
], qa = { class: "tpl-header-label" }, Ja = /* @__PURE__ */ R({
|
|
3176
3212
|
__name: "EditorHeader",
|
|
3177
3213
|
props: {
|
|
3214
|
+
header: {},
|
|
3215
|
+
shadowRoot: {},
|
|
3178
3216
|
editor: {},
|
|
3179
3217
|
localization: {},
|
|
3180
3218
|
core: {},
|
|
@@ -3186,182 +3224,205 @@ var va = [
|
|
|
3186
3224
|
collaboration: {},
|
|
3187
3225
|
ai: {}
|
|
3188
3226
|
},
|
|
3189
|
-
setup(
|
|
3190
|
-
let
|
|
3191
|
-
return (
|
|
3227
|
+
setup(n) {
|
|
3228
|
+
let r = I(() => import("./VersionHistoryMenu-6jMve6By.js")), l = I(() => import("./LanguageMenu-CEKRbNhA.js")), u = I(() => import("./CollaboratorBar-DsRjAaqd.js")), d = A(null), p = A(null), m = A(null), h = n, g = h.header?.actions, _ = h.header?.viewportToggle !== !1, y = h.header?.darkModeToggle !== !1, S = h.header?.previewToggle !== !1, { compact: w, fullWidth: T, statusLabel: E, invalidateContent: k } = ba(d, p, g), j = g?.getAttribute("slot"), M = null;
|
|
3229
|
+
return g && t([w, () => h.core.resolvedTheme.value], ([e, t]) => {
|
|
3230
|
+
g.setAttribute("data-tpl-compact", String(e)), g.setAttribute("data-tpl-theme", t === "dark" ? "dark" : "light");
|
|
3231
|
+
}, {
|
|
3232
|
+
immediate: !0,
|
|
3233
|
+
flush: "sync"
|
|
3234
|
+
}), e(() => {
|
|
3235
|
+
if (!g) return;
|
|
3236
|
+
let e = h.shadowRoot?.host ?? m.value;
|
|
3237
|
+
e && (h.shadowRoot && g.setAttribute("slot", "tpl-header-actions"), e.appendChild(g), M = e, k());
|
|
3238
|
+
}), D(() => {
|
|
3239
|
+
g && g.parentElement === M && (g.remove(), h.shadowRoot && (j == null ? g.removeAttribute("slot") : g.setAttribute("slot", j)), M = null);
|
|
3240
|
+
}), (e, t) => (s(), C("div", {
|
|
3192
3241
|
ref_key: "containerElement",
|
|
3193
|
-
ref:
|
|
3242
|
+
ref: d,
|
|
3194
3243
|
class: "tpl-header-container tpl:absolute tpl:inset-x-0 tpl:top-0 tpl:z-50 tpl:h-14"
|
|
3195
3244
|
}, [O("header", {
|
|
3196
3245
|
ref_key: "headerElement",
|
|
3197
|
-
ref:
|
|
3198
|
-
"data-compact": b(
|
|
3199
|
-
"data-full-width": b(
|
|
3200
|
-
"data-status-label": b(
|
|
3246
|
+
ref: p,
|
|
3247
|
+
"data-compact": b(w),
|
|
3248
|
+
"data-full-width": b(T),
|
|
3249
|
+
"data-status-label": b(E),
|
|
3201
3250
|
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)]"
|
|
3202
3251
|
}, [
|
|
3203
|
-
O("div",
|
|
3204
|
-
|
|
3252
|
+
O("div", Ra, [
|
|
3253
|
+
n.templates?.isAvailable.value && n.templates.hasTemplate.value && (n.showTemplateName || n.templates.timestamp.value) ? (s(), C("div", {
|
|
3205
3254
|
key: 0,
|
|
3206
|
-
class: c(["tpl-header-identity tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5":
|
|
3207
|
-
}, [
|
|
3255
|
+
class: c(["tpl-header-identity tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": n.showTemplateName && n.templates.timestamp.value !== null }])
|
|
3256
|
+
}, [n.showTemplateName ? (s(), F(Da, {
|
|
3208
3257
|
key: 0,
|
|
3209
|
-
name:
|
|
3210
|
-
editable:
|
|
3211
|
-
onCommit:
|
|
3258
|
+
name: n.templates.name.value,
|
|
3259
|
+
editable: n.templates.canSave.value,
|
|
3260
|
+
onCommit: n.templates.rename
|
|
3212
3261
|
}, null, 8, [
|
|
3213
3262
|
"name",
|
|
3214
3263
|
"editable",
|
|
3215
3264
|
"onCommit"
|
|
3216
|
-
])) : x("", !0),
|
|
3265
|
+
])) : x("", !0), n.templates.timestamp.value ? (s(), F(ka, {
|
|
3217
3266
|
key: 1,
|
|
3218
3267
|
class: "tpl-header-timestamp",
|
|
3219
|
-
iso:
|
|
3220
|
-
kind:
|
|
3268
|
+
iso: n.templates.timestamp.value.iso,
|
|
3269
|
+
kind: n.templates.timestamp.value.kind
|
|
3221
3270
|
}, null, 8, ["iso", "kind"])) : x("", !0)], 2)) : x("", !0),
|
|
3222
|
-
|
|
3271
|
+
n.localization ? (s(), F(b(l), {
|
|
3223
3272
|
key: 1,
|
|
3224
|
-
editor:
|
|
3225
|
-
locales:
|
|
3273
|
+
editor: n.editor,
|
|
3274
|
+
locales: n.localization.locales
|
|
3226
3275
|
}, null, 8, ["editor", "locales"])) : x("", !0),
|
|
3227
|
-
|
|
3276
|
+
n.versionHistory?.isAvailable.value && n.versionHistory.hasTemplate.value ? (s(), F(b(r), {
|
|
3228
3277
|
key: 2,
|
|
3229
|
-
versions:
|
|
3230
|
-
"is-loading":
|
|
3231
|
-
"is-restoring":
|
|
3232
|
-
"previewing-id":
|
|
3233
|
-
onOpen:
|
|
3234
|
-
onNavigate:
|
|
3278
|
+
versions: n.versionHistory.versions.value,
|
|
3279
|
+
"is-loading": n.versionHistory.isLoading.value,
|
|
3280
|
+
"is-restoring": n.versionHistory.isRestoring.value,
|
|
3281
|
+
"previewing-id": n.versionHistory.previewingVersion.value?.id ?? null,
|
|
3282
|
+
onOpen: t[0] ||= (e) => n.versionHistory.refresh(),
|
|
3283
|
+
onNavigate: t[1] ||= (e) => n.versionHistory.navigate(e)
|
|
3235
3284
|
}, null, 8, [
|
|
3236
3285
|
"versions",
|
|
3237
3286
|
"is-loading",
|
|
3238
3287
|
"is-restoring",
|
|
3239
3288
|
"previewing-id"
|
|
3240
3289
|
])) : x("", !0),
|
|
3241
|
-
|
|
3290
|
+
n.collaboration?.isLive.value ? (s(), F(b(u), {
|
|
3242
3291
|
key: 3,
|
|
3243
|
-
people:
|
|
3244
|
-
connection:
|
|
3292
|
+
people: n.collaboration.people.value,
|
|
3293
|
+
connection: n.collaboration.connection.value
|
|
3245
3294
|
}, null, 8, ["people", "connection"])) : x("", !0),
|
|
3246
|
-
i(
|
|
3295
|
+
i(e.$slots, "left-extras")
|
|
3247
3296
|
]),
|
|
3248
|
-
O("div",
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3297
|
+
O("div", za, [
|
|
3298
|
+
_ ? (s(), F(Hn, {
|
|
3299
|
+
key: 0,
|
|
3300
|
+
viewport: n.editor.state.viewport,
|
|
3301
|
+
onChange: n.editor.setViewport
|
|
3302
|
+
}, null, 8, ["viewport", "onChange"])) : x("", !0),
|
|
3303
|
+
y ? (s(), F(Sa, {
|
|
3304
|
+
key: 1,
|
|
3305
|
+
"dark-mode": n.editor.state.darkMode,
|
|
3306
|
+
onChange: n.editor.setDarkMode
|
|
3307
|
+
}, null, 8, ["dark-mode", "onChange"])) : x("", !0),
|
|
3308
|
+
S ? (s(), F(wa, {
|
|
3309
|
+
key: 2,
|
|
3310
|
+
"preview-mode": n.editor.state.previewMode,
|
|
3311
|
+
onChange: n.editor.setPreviewMode
|
|
3312
|
+
}, null, 8, ["preview-mode", "onChange"])) : x("", !0)
|
|
3261
3313
|
]),
|
|
3262
|
-
O("div",
|
|
3263
|
-
|
|
3314
|
+
O("div", Ba, [
|
|
3315
|
+
n.templates?.isAvailable.value && n.templates.canSave.value ? (s(), F(Na, {
|
|
3264
3316
|
key: 0,
|
|
3265
3317
|
class: "tpl-header-save-status",
|
|
3266
|
-
status:
|
|
3267
|
-
"error-message":
|
|
3268
|
-
"is-dirty":
|
|
3318
|
+
status: n.templates.status.value,
|
|
3319
|
+
"error-message": n.templates.errorMessage.value,
|
|
3320
|
+
"is-dirty": n.editor.state.isDirty
|
|
3269
3321
|
}, null, 8, [
|
|
3270
3322
|
"status",
|
|
3271
3323
|
"error-message",
|
|
3272
3324
|
"is-dirty"
|
|
3273
3325
|
])) : x("", !0),
|
|
3274
|
-
|
|
3326
|
+
n.comments?.isAvailable.value && n.comments.hasTemplate.value ? (s(), C("button", {
|
|
3275
3327
|
key: 1,
|
|
3276
3328
|
type: "button",
|
|
3277
3329
|
"data-testid": "comments-trigger",
|
|
3278
|
-
"aria-label":
|
|
3279
|
-
title:
|
|
3280
|
-
"aria-expanded":
|
|
3281
|
-
class: c(b(
|
|
3282
|
-
style: f(
|
|
3330
|
+
"aria-label": n.comments.unresolvedCount.value > 0 ? `${n.core.t.comments.button} (${n.comments.unresolvedCount.value})` : n.core.t.comments.button,
|
|
3331
|
+
title: n.core.t.comments.button,
|
|
3332
|
+
"aria-expanded": n.comments.isOpen.value,
|
|
3333
|
+
class: c(b(jt)),
|
|
3334
|
+
style: f(n.comments.isOpen.value ? {
|
|
3283
3335
|
backgroundColor: "var(--tpl-primary-light)",
|
|
3284
3336
|
borderColor: "var(--tpl-primary-light)"
|
|
3285
3337
|
} : void 0),
|
|
3286
|
-
onClick:
|
|
3338
|
+
onClick: t[2] ||= (e) => n.comments.toggle()
|
|
3287
3339
|
}, [
|
|
3288
|
-
v(b(
|
|
3340
|
+
v(b(Bn), {
|
|
3289
3341
|
size: 16,
|
|
3290
3342
|
"stroke-width": 2
|
|
3291
3343
|
}),
|
|
3292
|
-
O("span",
|
|
3293
|
-
|
|
3294
|
-
], 14,
|
|
3295
|
-
|
|
3344
|
+
O("span", Ha, a(n.core.t.comments.button), 1),
|
|
3345
|
+
n.comments.unresolvedCount.value > 0 && !n.comments.isOpen.value ? (s(), C("span", Ua, a(n.comments.unresolvedCount.value), 1)) : x("", !0)
|
|
3346
|
+
], 14, Va)) : x("", !0),
|
|
3347
|
+
n.ai ? (s(), F(Ia, {
|
|
3296
3348
|
key: 2,
|
|
3297
|
-
feature:
|
|
3349
|
+
feature: n.ai
|
|
3298
3350
|
}, null, 8, ["feature"])) : x("", !0),
|
|
3299
|
-
i(
|
|
3300
|
-
|
|
3351
|
+
i(e.$slots, "right-extras"),
|
|
3352
|
+
n.shadowRoot ? (s(), F(o("slot"), {
|
|
3301
3353
|
key: 3,
|
|
3354
|
+
name: "tpl-header-actions"
|
|
3355
|
+
})) : (s(), C("span", {
|
|
3356
|
+
key: 4,
|
|
3357
|
+
ref_key: "actionsTarget",
|
|
3358
|
+
ref: m,
|
|
3359
|
+
class: "tpl-header-actions"
|
|
3360
|
+
}, null, 512)),
|
|
3361
|
+
n.testEmail?.isAvailable.value ? (s(), C("button", {
|
|
3362
|
+
key: 5,
|
|
3302
3363
|
type: "button",
|
|
3303
3364
|
"data-testid": "test-email-trigger",
|
|
3304
|
-
"aria-label":
|
|
3305
|
-
title:
|
|
3306
|
-
disabled:
|
|
3307
|
-
class: c(b(
|
|
3308
|
-
onClick:
|
|
3309
|
-
}, [
|
|
3365
|
+
"aria-label": n.core.t.testEmail.title,
|
|
3366
|
+
title: n.core.t.testEmail.title,
|
|
3367
|
+
disabled: n.testEmail.isSending.value,
|
|
3368
|
+
class: c(b(jt)),
|
|
3369
|
+
onClick: t[3] ||= (e) => n.testEmail.open()
|
|
3370
|
+
}, [n.testEmail.isSending.value ? (s(), F(b(zn), {
|
|
3310
3371
|
key: 1,
|
|
3311
3372
|
class: "tpl-spinner",
|
|
3312
3373
|
size: 16,
|
|
3313
3374
|
"stroke-width": 2
|
|
3314
|
-
})) : (s(), F(b(
|
|
3375
|
+
})) : (s(), F(b(Vn), {
|
|
3315
3376
|
key: 0,
|
|
3316
3377
|
size: 16,
|
|
3317
3378
|
"stroke-width": 2
|
|
3318
|
-
})), O("span",
|
|
3319
|
-
|
|
3320
|
-
key:
|
|
3379
|
+
})), O("span", Ga, a(n.core.t.testEmail.button), 1)], 10, Wa)) : x("", !0),
|
|
3380
|
+
n.templates?.isAvailable.value && n.templates.canSave.value ? (s(), C("button", {
|
|
3381
|
+
key: 6,
|
|
3321
3382
|
type: "button",
|
|
3322
3383
|
"data-testid": "template-save",
|
|
3323
|
-
class: c(
|
|
3324
|
-
style: f(
|
|
3325
|
-
"aria-label":
|
|
3326
|
-
disabled:
|
|
3327
|
-
title:
|
|
3328
|
-
onClick:
|
|
3329
|
-
}, [
|
|
3384
|
+
class: c(n.editor.state.isDirty && n.templates.hasTemplate.value ? b(Mt) : b(jt)),
|
|
3385
|
+
style: f(n.editor.state.isDirty && n.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
|
|
3386
|
+
"aria-label": n.templates.isSaving.value ? n.core.t.header.saving : n.core.t.header.save,
|
|
3387
|
+
disabled: n.templates.isSaving.value || !n.templates.hasTemplate.value,
|
|
3388
|
+
title: n.templates.hasTemplate.value ? n.core.t.header.save : n.core.t.header.saveNoTemplate,
|
|
3389
|
+
onClick: t[4] ||= (e) => n.templates.requestSave()
|
|
3390
|
+
}, [n.templates.isSaving.value ? (s(), F(b(zn), {
|
|
3330
3391
|
key: 1,
|
|
3331
3392
|
class: "tpl-spinner",
|
|
3332
3393
|
size: 16,
|
|
3333
3394
|
"stroke-width": 2
|
|
3334
|
-
})) : (s(), F(b(
|
|
3395
|
+
})) : (s(), F(b(dr), {
|
|
3335
3396
|
key: 0,
|
|
3336
3397
|
size: 16,
|
|
3337
3398
|
"stroke-width": 2
|
|
3338
|
-
})), O("span",
|
|
3399
|
+
})), O("span", qa, a(n.templates.isSaving.value ? n.core.t.header.saving : n.core.t.header.save), 1)], 14, Ka)) : x("", !0)
|
|
3339
3400
|
])
|
|
3340
|
-
], 8,
|
|
3401
|
+
], 8, La)], 512));
|
|
3341
3402
|
}
|
|
3342
|
-
}),
|
|
3403
|
+
}), 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 = [
|
|
3343
3404
|
"id",
|
|
3344
3405
|
"placeholder",
|
|
3345
3406
|
"aria-label",
|
|
3346
3407
|
"aria-activedescendant"
|
|
3347
|
-
],
|
|
3408
|
+
], to = {
|
|
3348
3409
|
key: 0,
|
|
3349
3410
|
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",
|
|
3350
3411
|
"data-testid": "merge-tag-picker-group-pills"
|
|
3351
|
-
},
|
|
3412
|
+
}, no = ["data-group-name", "onClick"], ro = ["aria-label"], io = {
|
|
3352
3413
|
key: 0,
|
|
3353
3414
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
3354
3415
|
"data-testid": "merge-tag-picker-empty"
|
|
3355
|
-
},
|
|
3416
|
+
}, ao = {
|
|
3356
3417
|
key: 1,
|
|
3357
3418
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
3358
3419
|
"data-testid": "merge-tag-picker-empty"
|
|
3359
|
-
},
|
|
3420
|
+
}, oo = [
|
|
3360
3421
|
"aria-expanded",
|
|
3361
3422
|
"data-group-name",
|
|
3362
3423
|
"data-group-collapsed",
|
|
3363
3424
|
"onClick"
|
|
3364
|
-
],
|
|
3425
|
+
], so = { class: "tpl:ml-1 tpl:font-normal" }, co = [
|
|
3365
3426
|
"id",
|
|
3366
3427
|
"aria-selected",
|
|
3367
3428
|
"data-selected",
|
|
@@ -3371,21 +3432,21 @@ var va = [
|
|
|
3371
3432
|
"title",
|
|
3372
3433
|
"onMousemove",
|
|
3373
3434
|
"onClick"
|
|
3374
|
-
],
|
|
3435
|
+
], 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 = {
|
|
3375
3436
|
key: 0,
|
|
3376
3437
|
class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
3377
|
-
},
|
|
3438
|
+
}, po = {
|
|
3378
3439
|
key: 1,
|
|
3379
3440
|
"data-testid": "merge-tag-picker-sample",
|
|
3380
3441
|
class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
3381
|
-
},
|
|
3442
|
+
}, mo = "tpl-merge-tag-picker-list", ho = /* @__PURE__ */ R({
|
|
3382
3443
|
__name: "MergeTagPickerModal",
|
|
3383
3444
|
setup(e) {
|
|
3384
|
-
let n =
|
|
3445
|
+
let n = ft(qe, "MergeTagPickerModal"), { t: r, format: i } = $(), o = L(_t, null), l = L(vt, null), p = L(St, !0), m = y(() => n.current.value !== null), _ = y(() => m.value ? r.mergeTag.picker.changeTitle : r.mergeTag.picker.title);
|
|
3385
3446
|
function w(e) {
|
|
3386
3447
|
return p ? e.description ? `${e.value} — ${e.description}` : e.value : e.description || void 0;
|
|
3387
3448
|
}
|
|
3388
|
-
let T = S(""), E =
|
|
3449
|
+
let T = S(""), E = Kn(T, 200), D = S(null), k = y(() => E.value.trim().length > 0), A = S(0), j = y(() => n.tags.value.some((e) => !!e.group)), N = S(/* @__PURE__ */ new Set());
|
|
3389
3450
|
function P(e) {
|
|
3390
3451
|
return N.value.has(e);
|
|
3391
3452
|
}
|
|
@@ -3505,13 +3566,13 @@ var va = [
|
|
|
3505
3566
|
}
|
|
3506
3567
|
}
|
|
3507
3568
|
function se() {
|
|
3508
|
-
if (W.value.length !== 0) return `${
|
|
3569
|
+
if (W.value.length !== 0) return `${mo}-opt-${A.value}`;
|
|
3509
3570
|
}
|
|
3510
3571
|
function ce(e) {
|
|
3511
|
-
return `${
|
|
3572
|
+
return `${mo}-opt-${e}`;
|
|
3512
3573
|
}
|
|
3513
3574
|
let le = y(() => n.tags.value.length === 0), ue = y(() => !le.value && R.value.length === 0), de = y(() => j.value && V.value.length > 1 && !k.value);
|
|
3514
|
-
return (e, t) => (s(), F(
|
|
3575
|
+
return (e, t) => (s(), F(Nt, {
|
|
3515
3576
|
visible: b(n).isOpen.value,
|
|
3516
3577
|
onClose: J,
|
|
3517
3578
|
onKeydown: oe
|
|
@@ -3519,16 +3580,16 @@ var va = [
|
|
|
3519
3580
|
default: h(() => [O("div", {
|
|
3520
3581
|
role: "dialog",
|
|
3521
3582
|
"aria-modal": "true",
|
|
3522
|
-
"aria-labelledby": `${
|
|
3583
|
+
"aria-labelledby": `${mo}-title`,
|
|
3523
3584
|
"data-tpl-theme": b(l),
|
|
3524
3585
|
"data-testid": "merge-tag-picker-modal",
|
|
3525
3586
|
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)]",
|
|
3526
3587
|
style: f(b(o))
|
|
3527
3588
|
}, [
|
|
3528
|
-
O("header",
|
|
3529
|
-
id: `${
|
|
3589
|
+
O("header", Xa, [O("h2", {
|
|
3590
|
+
id: `${mo}-title`,
|
|
3530
3591
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
3531
|
-
}, a(_.value), 9,
|
|
3592
|
+
}, a(_.value), 9, Za), O("button", {
|
|
3532
3593
|
type: "button",
|
|
3533
3594
|
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)]",
|
|
3534
3595
|
"aria-label": b(r).mergeTag.picker.close,
|
|
@@ -3537,13 +3598,13 @@ var va = [
|
|
|
3537
3598
|
}, [v(b(He), {
|
|
3538
3599
|
size: 16,
|
|
3539
3600
|
"stroke-width": 2
|
|
3540
|
-
})], 8,
|
|
3541
|
-
O("div",
|
|
3601
|
+
})], 8, Qa)]),
|
|
3602
|
+
O("div", $a, [v(b($n), {
|
|
3542
3603
|
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)]",
|
|
3543
3604
|
size: 14,
|
|
3544
3605
|
"stroke-width": 2
|
|
3545
3606
|
}), g(O("input", {
|
|
3546
|
-
id: `${
|
|
3607
|
+
id: `${mo}-search`,
|
|
3547
3608
|
ref_key: "searchInputRef",
|
|
3548
3609
|
ref: D,
|
|
3549
3610
|
"onUpdate:modelValue": t[0] ||= (e) => T.value = e,
|
|
@@ -3551,48 +3612,48 @@ var va = [
|
|
|
3551
3612
|
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)]",
|
|
3552
3613
|
placeholder: b(r).mergeTag.picker.searchPlaceholder,
|
|
3553
3614
|
"aria-label": b(r).mergeTag.picker.searchAriaLabel,
|
|
3554
|
-
"aria-controls":
|
|
3615
|
+
"aria-controls": mo,
|
|
3555
3616
|
"aria-activedescendant": se(),
|
|
3556
3617
|
"data-testid": "merge-tag-picker-search",
|
|
3557
3618
|
onKeydown: t[1] ||= U(B(() => {}, ["prevent"]), ["enter"])
|
|
3558
|
-
}, null, 40,
|
|
3559
|
-
de.value ? (s(), C("div",
|
|
3619
|
+
}, null, 40, eo), [[z, T.value]])]),
|
|
3620
|
+
de.value ? (s(), C("div", to, [(s(!0), C(M, null, d(V.value, (e) => (s(), C("button", {
|
|
3560
3621
|
key: e,
|
|
3561
3622
|
type: "button",
|
|
3562
3623
|
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)]",
|
|
3563
3624
|
"data-testid": "merge-tag-picker-group-pill",
|
|
3564
3625
|
"data-group-name": e,
|
|
3565
3626
|
onClick: (t) => ae(e)
|
|
3566
|
-
}, a(e), 9,
|
|
3627
|
+
}, a(e), 9, no))), 128))])) : x("", !0),
|
|
3567
3628
|
O("div", {
|
|
3568
|
-
id:
|
|
3629
|
+
id: mo,
|
|
3569
3630
|
ref_key: "listRef",
|
|
3570
3631
|
ref: te,
|
|
3571
3632
|
class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
|
|
3572
3633
|
role: "listbox",
|
|
3573
3634
|
"aria-label": _.value,
|
|
3574
3635
|
"data-testid": "merge-tag-picker-list"
|
|
3575
|
-
}, [le.value ? (s(), C("div",
|
|
3636
|
+
}, [le.value ? (s(), C("div", io, a(b(r).mergeTag.picker.empty), 1)) : ue.value ? (s(), C("div", ao, a(b(r).mergeTag.picker.noResults), 1)) : (s(!0), C(M, { key: 2 }, d(H.value, (e, t) => (s(), C(M, { key: t }, [e.kind === "header" ? (s(), C("button", {
|
|
3576
3637
|
key: 0,
|
|
3577
3638
|
ref_for: !0,
|
|
3578
3639
|
ref: (t) => re(e.group, t),
|
|
3579
3640
|
type: "button",
|
|
3580
3641
|
"aria-expanded": !P(e.group),
|
|
3581
|
-
"aria-controls":
|
|
3642
|
+
"aria-controls": mo,
|
|
3582
3643
|
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)]",
|
|
3583
3644
|
"data-testid": "merge-tag-picker-group-header",
|
|
3584
3645
|
"data-group-name": e.group,
|
|
3585
3646
|
"data-group-collapsed": P(e.group) ? "true" : "false",
|
|
3586
3647
|
onClick: (t) => I(e.group)
|
|
3587
3648
|
}, [
|
|
3588
|
-
v(b(
|
|
3649
|
+
v(b(Qn), {
|
|
3589
3650
|
size: 12,
|
|
3590
3651
|
"stroke-width": 2,
|
|
3591
3652
|
class: c(["tpl:transition-transform", P(e.group) ? "tpl:-rotate-90" : ""])
|
|
3592
3653
|
}, null, 8, ["class"]),
|
|
3593
3654
|
O("span", null, a(e.group), 1),
|
|
3594
|
-
O("span",
|
|
3595
|
-
], 8,
|
|
3655
|
+
O("span", so, " (" + a(b(i)(b(r).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
|
|
3656
|
+
], 8, oo)) : (s(), C("button", {
|
|
3596
3657
|
key: 1,
|
|
3597
3658
|
id: ce(e.index),
|
|
3598
3659
|
type: "button",
|
|
@@ -3608,16 +3669,16 @@ var va = [
|
|
|
3608
3669
|
onMousemove: (t) => K(e.index),
|
|
3609
3670
|
onClick: (t) => q(e.tag)
|
|
3610
3671
|
}, [
|
|
3611
|
-
O("span",
|
|
3612
|
-
O("span",
|
|
3613
|
-
e.tag.description ? (s(), C("span",
|
|
3614
|
-
e.tag.sample === void 0 ? x("", !0) : (s(), C("span",
|
|
3615
|
-
], 42,
|
|
3616
|
-
], 12,
|
|
3672
|
+
O("span", lo, a(e.tag.label), 1),
|
|
3673
|
+
O("span", uo, a(e.tag.value), 1),
|
|
3674
|
+
e.tag.description ? (s(), C("span", fo, a(e.tag.description), 1)) : x("", !0),
|
|
3675
|
+
e.tag.sample === void 0 ? x("", !0) : (s(), C("span", po, a(b(i)(b(r).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
|
|
3676
|
+
], 42, co))], 64))), 128))], 8, ro)
|
|
3677
|
+
], 12, Ya)]),
|
|
3617
3678
|
_: 1
|
|
3618
3679
|
}, 8, ["visible"]));
|
|
3619
3680
|
}
|
|
3620
|
-
}),
|
|
3681
|
+
}), go = ["data-logic-keyword"], _o = /* @__PURE__ */ R({
|
|
3621
3682
|
__name: "LogicTagBadge",
|
|
3622
3683
|
props: {
|
|
3623
3684
|
value: {},
|
|
@@ -3634,22 +3695,22 @@ var va = [
|
|
|
3634
3695
|
},
|
|
3635
3696
|
"data-testid": "merge-tag-logic-badge",
|
|
3636
3697
|
"data-logic-keyword": r.value
|
|
3637
|
-
}, a(r.value), 9,
|
|
3698
|
+
}, a(r.value), 9, go)) : x("", !0);
|
|
3638
3699
|
}
|
|
3639
|
-
}),
|
|
3700
|
+
}), 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 = [
|
|
3640
3701
|
"id",
|
|
3641
3702
|
"placeholder",
|
|
3642
3703
|
"aria-label",
|
|
3643
3704
|
"aria-activedescendant"
|
|
3644
|
-
],
|
|
3705
|
+
], wo = ["aria-label"], To = {
|
|
3645
3706
|
key: 0,
|
|
3646
3707
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
3647
3708
|
"data-testid": "logic-picker-empty"
|
|
3648
|
-
},
|
|
3709
|
+
}, Eo = {
|
|
3649
3710
|
key: 1,
|
|
3650
3711
|
class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
|
|
3651
3712
|
"data-testid": "logic-picker-empty"
|
|
3652
|
-
},
|
|
3713
|
+
}, Do = ["data-group-name"], Oo = [
|
|
3653
3714
|
"id",
|
|
3654
3715
|
"aria-selected",
|
|
3655
3716
|
"data-selected",
|
|
@@ -3657,19 +3718,19 @@ var va = [
|
|
|
3657
3718
|
"data-logic-kind",
|
|
3658
3719
|
"onMousemove",
|
|
3659
3720
|
"onClick"
|
|
3660
|
-
],
|
|
3721
|
+
], 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 = {
|
|
3661
3722
|
key: 0,
|
|
3662
3723
|
class: "tpl:flex tpl:items-center"
|
|
3663
|
-
},
|
|
3724
|
+
}, Mo = {
|
|
3664
3725
|
key: 1,
|
|
3665
3726
|
class: "tpl:flex tpl:items-center tpl:gap-1"
|
|
3666
|
-
},
|
|
3727
|
+
}, 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 = {
|
|
3667
3728
|
key: 0,
|
|
3668
3729
|
class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
|
|
3669
|
-
},
|
|
3730
|
+
}, Fo = "tpl-logic-picker-list", Io = /* @__PURE__ */ R({
|
|
3670
3731
|
__name: "LogicTagPickerModal",
|
|
3671
3732
|
setup(e) {
|
|
3672
|
-
let n =
|
|
3733
|
+
let n = ft(Xe, "LogicTagPickerModal"), { t: r } = $(), i = L(Ge, Te.liquid), o = L(_t, null), l = L(vt, null), p = S(""), m = Kn(p, 200), _ = S(null), w = y(() => m.value.trim().length > 0), T = S(0);
|
|
3673
3734
|
function E(e) {
|
|
3674
3735
|
let t = m.value.trim().toLowerCase();
|
|
3675
3736
|
return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
|
|
@@ -3752,12 +3813,12 @@ var va = [
|
|
|
3752
3813
|
}
|
|
3753
3814
|
}
|
|
3754
3815
|
function q(e) {
|
|
3755
|
-
return `${
|
|
3816
|
+
return `${Fo}-opt-${e}`;
|
|
3756
3817
|
}
|
|
3757
3818
|
function J() {
|
|
3758
|
-
return I.value.length === 0 ? void 0 : `${
|
|
3819
|
+
return I.value.length === 0 ? void 0 : `${Fo}-opt-${T.value}`;
|
|
3759
3820
|
}
|
|
3760
|
-
return (e, t) => (s(), F(
|
|
3821
|
+
return (e, t) => (s(), F(Nt, {
|
|
3761
3822
|
visible: b(n).isOpen.value,
|
|
3762
3823
|
onClose: G,
|
|
3763
3824
|
onKeydown: K
|
|
@@ -3765,16 +3826,16 @@ var va = [
|
|
|
3765
3826
|
default: h(() => [O("div", {
|
|
3766
3827
|
role: "dialog",
|
|
3767
3828
|
"aria-modal": "true",
|
|
3768
|
-
"aria-labelledby": `${
|
|
3829
|
+
"aria-labelledby": `${Fo}-title`,
|
|
3769
3830
|
"data-tpl-theme": b(l),
|
|
3770
3831
|
"data-testid": "logic-picker-modal",
|
|
3771
3832
|
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)]",
|
|
3772
3833
|
style: f(b(o))
|
|
3773
3834
|
}, [
|
|
3774
|
-
O("header",
|
|
3775
|
-
id: `${
|
|
3835
|
+
O("header", yo, [O("h2", {
|
|
3836
|
+
id: `${Fo}-title`,
|
|
3776
3837
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
3777
|
-
}, a(b(r).logicTag.picker.title), 9,
|
|
3838
|
+
}, a(b(r).logicTag.picker.title), 9, bo), O("button", {
|
|
3778
3839
|
type: "button",
|
|
3779
3840
|
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)]",
|
|
3780
3841
|
"aria-label": b(r).logicTag.picker.close,
|
|
@@ -3783,13 +3844,13 @@ var va = [
|
|
|
3783
3844
|
}, [v(b(He), {
|
|
3784
3845
|
size: 16,
|
|
3785
3846
|
"stroke-width": 2
|
|
3786
|
-
})], 8,
|
|
3787
|
-
O("div",
|
|
3847
|
+
})], 8, xo)]),
|
|
3848
|
+
O("div", So, [v(b($n), {
|
|
3788
3849
|
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)]",
|
|
3789
3850
|
size: 14,
|
|
3790
3851
|
"stroke-width": 2
|
|
3791
3852
|
}), g(O("input", {
|
|
3792
|
-
id: `${
|
|
3853
|
+
id: `${Fo}-search`,
|
|
3793
3854
|
ref_key: "searchInputRef",
|
|
3794
3855
|
ref: _,
|
|
3795
3856
|
"onUpdate:modelValue": t[0] ||= (e) => p.value = e,
|
|
@@ -3797,25 +3858,25 @@ var va = [
|
|
|
3797
3858
|
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)]",
|
|
3798
3859
|
placeholder: b(r).logicTag.picker.searchPlaceholder,
|
|
3799
3860
|
"aria-label": b(r).logicTag.picker.searchAriaLabel,
|
|
3800
|
-
"aria-controls":
|
|
3861
|
+
"aria-controls": Fo,
|
|
3801
3862
|
"aria-activedescendant": J(),
|
|
3802
3863
|
"data-testid": "logic-picker-search",
|
|
3803
3864
|
onKeydown: t[1] ||= U(B(() => {}, ["prevent"]), ["enter"])
|
|
3804
|
-
}, null, 40,
|
|
3865
|
+
}, null, 40, Co), [[z, p.value]])]),
|
|
3805
3866
|
O("div", {
|
|
3806
|
-
id:
|
|
3867
|
+
id: Fo,
|
|
3807
3868
|
ref_key: "listRef",
|
|
3808
3869
|
ref: H,
|
|
3809
3870
|
class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
|
|
3810
3871
|
role: "listbox",
|
|
3811
3872
|
"aria-label": b(r).logicTag.picker.title,
|
|
3812
3873
|
"data-testid": "logic-picker-list"
|
|
3813
|
-
}, [R.value ? (s(), C("div",
|
|
3874
|
+
}, [R.value ? (s(), C("div", To, a(b(r).logicTag.picker.empty), 1)) : V.value ? (s(), C("div", Eo, a(b(r).logicTag.picker.noResults), 1)) : (s(!0), C(M, { key: 2 }, d(P.value.rows, (e, n) => (s(), C(M, { key: n }, [e.kind === "header" ? (s(), C("div", {
|
|
3814
3875
|
key: 0,
|
|
3815
3876
|
class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
|
|
3816
3877
|
"data-testid": "logic-picker-header",
|
|
3817
3878
|
"data-group-name": e.label
|
|
3818
|
-
}, a(e.label), 9,
|
|
3879
|
+
}, a(e.label), 9, Do)) : (s(), C("button", {
|
|
3819
3880
|
key: 1,
|
|
3820
3881
|
id: q(e.index),
|
|
3821
3882
|
type: "button",
|
|
@@ -3829,32 +3890,35 @@ var va = [
|
|
|
3829
3890
|
onMousemove: (t) => T.value = e.index,
|
|
3830
3891
|
onClick: (t) => W(e.kind === "tag" ? e.tag : e.pair)
|
|
3831
3892
|
}, [
|
|
3832
|
-
O("span",
|
|
3893
|
+
O("span", ko, [O("span", Ao, a(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), C("span", jo, [v(_o, {
|
|
3833
3894
|
value: e.tag.value,
|
|
3834
3895
|
syntax: b(i)
|
|
3835
|
-
}, null, 8, ["value", "syntax"])])) : (s(), C("span",
|
|
3836
|
-
v(
|
|
3896
|
+
}, null, 8, ["value", "syntax"])])) : (s(), C("span", Mo, [
|
|
3897
|
+
v(_o, {
|
|
3837
3898
|
value: e.pair.before,
|
|
3838
3899
|
syntax: b(i)
|
|
3839
3900
|
}, null, 8, ["value", "syntax"]),
|
|
3840
3901
|
t[2] ||= O("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
|
|
3841
|
-
v(
|
|
3902
|
+
v(_o, {
|
|
3842
3903
|
value: e.pair.after,
|
|
3843
3904
|
syntax: b(i)
|
|
3844
3905
|
}, null, 8, ["value", "syntax"])
|
|
3845
3906
|
]))]),
|
|
3846
|
-
O("span",
|
|
3847
|
-
(e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), C("span",
|
|
3848
|
-
], 42,
|
|
3849
|
-
], 12,
|
|
3907
|
+
O("span", No, a(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
|
|
3908
|
+
(e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), C("span", Po, a(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : x("", !0)
|
|
3909
|
+
], 42, Oo))], 64))), 128))], 8, wo)
|
|
3910
|
+
], 12, vo)]),
|
|
3850
3911
|
_: 1
|
|
3851
3912
|
}, 8, ["visible"]));
|
|
3852
3913
|
}
|
|
3853
|
-
}),
|
|
3914
|
+
}), 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 = {
|
|
3854
3915
|
key: 0,
|
|
3855
3916
|
"data-testid": "merge-tag-mode-toggle-anchor",
|
|
3856
3917
|
class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
|
|
3857
|
-
},
|
|
3918
|
+
}, Ho = {
|
|
3919
|
+
key: 0,
|
|
3920
|
+
class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
|
|
3921
|
+
}, Uo = ["title", "aria-busy"], Wo = { class: "tpl-main tpl-canvas-pane tpl:flex tpl:py-8" }, Go = ["aria-label"], Ko = /*#__PURE__*/ ze(/* @__PURE__ */ R({
|
|
3858
3922
|
__name: "Editor",
|
|
3859
3923
|
props: {
|
|
3860
3924
|
config: {},
|
|
@@ -3869,7 +3933,7 @@ var va = [
|
|
|
3869
3933
|
},
|
|
3870
3934
|
setup(n, { expose: r }) {
|
|
3871
3935
|
let i = n;
|
|
3872
|
-
l(
|
|
3936
|
+
l(st, {
|
|
3873
3937
|
renderHtml: () => i.renderHtml?.() ?? Promise.reject(/* @__PURE__ */ Error("HTML rendering is unavailable")),
|
|
3874
3938
|
canRenderHtml: () => i.canRenderHtml?.() ?? !1,
|
|
3875
3939
|
cloud: !!i.cloud,
|
|
@@ -3882,23 +3946,23 @@ var va = [
|
|
|
3882
3946
|
get syntax() {
|
|
3883
3947
|
return X.mergeTagSyntax;
|
|
3884
3948
|
}
|
|
3885
|
-
}, u = i.config.templates ?
|
|
3886
|
-
i.config.collaboration && !u &&
|
|
3887
|
-
let d = i.config.collaboration && u ?
|
|
3949
|
+
}, u = i.config.templates ? vn(i.config.templates, o) : void 0;
|
|
3950
|
+
i.config.collaboration && !u && kn.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
|
|
3951
|
+
let d = i.config.collaboration && u ? Gr({
|
|
3888
3952
|
provider: i.config.collaboration,
|
|
3889
3953
|
loadTemplate: (e) => u.load(e),
|
|
3890
3954
|
user: i.config.user,
|
|
3891
3955
|
mergeTags: o,
|
|
3892
3956
|
onRemoteChange: i.config.onRemoteChange,
|
|
3893
3957
|
onError: i.config.onError
|
|
3894
|
-
}) : null, p = u && d ?
|
|
3958
|
+
}) : null, p = u && d ? Si(u, d.core, () => {
|
|
3895
3959
|
let e = _.state.template;
|
|
3896
3960
|
return e ? {
|
|
3897
3961
|
...N(e),
|
|
3898
3962
|
content: we(N(_.content.value))
|
|
3899
3963
|
} : null;
|
|
3900
3964
|
}) : u, m = S(0);
|
|
3901
|
-
l(
|
|
3965
|
+
l(Ze, i.config.localization);
|
|
3902
3966
|
let _ = te({
|
|
3903
3967
|
localization: i.config.localization ?? { locales: [] },
|
|
3904
3968
|
onLocaleChange: i.config.onLocaleChange,
|
|
@@ -3907,39 +3971,39 @@ var va = [
|
|
|
3907
3971
|
},
|
|
3908
3972
|
content: i.config.content,
|
|
3909
3973
|
defaultFontFamily: i.config.fonts?.defaultFont,
|
|
3910
|
-
templateDefaults:
|
|
3974
|
+
templateDefaults: nr(i.config),
|
|
3911
3975
|
templates: p,
|
|
3912
3976
|
onError: i.config.onError,
|
|
3913
3977
|
lockedBlocks: d?.locks,
|
|
3914
3978
|
lockLocale: d?.core.lockLocale,
|
|
3915
3979
|
lockSessionId: d?.core.sessionId
|
|
3916
3980
|
}), T = Ue(_);
|
|
3917
|
-
l(
|
|
3918
|
-
let D = i.cloud ? i.cloud.attach({ editor: _ }) : null, A = p ?
|
|
3981
|
+
l(ut, T.content), _.setCustomBlockDefinitions(i.config.customBlocks ?? []), d && t(_.activeLocale, (e) => d.core.setLockLocale(e), { flush: "sync" }), d?.attach(_);
|
|
3982
|
+
let D = i.cloud ? i.cloud.attach({ editor: _ }) : null, A = p ? fi({
|
|
3919
3983
|
provider: p,
|
|
3920
3984
|
editor: _,
|
|
3921
3985
|
guardUnsavedChanges: i.config.templates?.unsavedChangesGuard,
|
|
3922
3986
|
getSaveGate: i.cloud ? () => i.cloud.getSaveGate() : void 0
|
|
3923
3987
|
}) : null;
|
|
3924
3988
|
i.config.onDirtyChange && t(() => _.state.isDirty, (e) => i.config.onDirtyChange(e));
|
|
3925
|
-
let j = S(null), M = i.config.savedBlocks ?
|
|
3989
|
+
let j = S(null), M = i.config.savedBlocks ? ui({
|
|
3926
3990
|
provider: i.config.savedBlocks,
|
|
3927
3991
|
editor: _,
|
|
3928
3992
|
onError: i.config.onError,
|
|
3929
3993
|
isAvailable: i.cloud ? () => i.cloud.isSavedBlocksAvailable() : void 0
|
|
3930
|
-
}) : null, P = I(() => import("./SavedBlocksPanels-
|
|
3994
|
+
}) : null, P = I(() => import("./SavedBlocksPanels-BReNi8sg.js")), L = i.config.media || i.config.onRequestMedia ? ci({
|
|
3931
3995
|
provider: i.config.media,
|
|
3932
3996
|
onRequestMedia: i.config.onRequestMedia,
|
|
3933
3997
|
getTemplateId: () => _.state.template?.id,
|
|
3934
3998
|
onError: i.config.onError
|
|
3935
|
-
}) : null, R = I(() => import("./MediaPanels-C-XrldMu.js")), z = i.config.testEmail ?
|
|
3999
|
+
}) : null, R = I(() => import("./MediaPanels-C-XrldMu.js")), z = i.config.testEmail ? _i({
|
|
3936
4000
|
provider: i.config.testEmail,
|
|
3937
4001
|
getContent: () => _.content.value,
|
|
3938
4002
|
renderMjml: i.renderMjml,
|
|
3939
4003
|
usesLocalRenderer: i.usesLocalRenderer,
|
|
3940
4004
|
onError: i.config.onError,
|
|
3941
4005
|
isAvailable: i.cloud ? () => i.cloud.isTestEmailAvailable() : void 0
|
|
3942
|
-
}) : null, V = I(() => import("./TestEmailPanel-
|
|
4006
|
+
}) : null, V = I(() => import("./TestEmailPanel-Bfr-sGrI.js")), U = i.config.comments ? Kr({
|
|
3943
4007
|
provider: i.config.comments,
|
|
3944
4008
|
editor: _,
|
|
3945
4009
|
user: i.config.user,
|
|
@@ -3947,7 +4011,7 @@ var va = [
|
|
|
3947
4011
|
onError: i.config.onError,
|
|
3948
4012
|
isAvailable: i.cloud ? () => i.cloud.isCommentsAvailable() : void 0,
|
|
3949
4013
|
isBlockSaved: i.cloud ? (e) => i.cloud.isBlockSaved(e) : void 0
|
|
3950
|
-
}) : null, G = I(() => import("./CommentsPanel-
|
|
4014
|
+
}) : null, G = I(() => import("./CommentsPanel-lb-IFzjl.js")), ee = I(() => import("./AiPanels-CESbBB63.js")), K = i.config.ai ? ti({
|
|
3951
4015
|
provider: i.config.ai,
|
|
3952
4016
|
editor: _,
|
|
3953
4017
|
localization: i.config.localization ?? { locales: [] },
|
|
@@ -3958,16 +4022,16 @@ var va = [
|
|
|
3958
4022
|
collaboration: d,
|
|
3959
4023
|
history: () => X.history,
|
|
3960
4024
|
reload: A ? (e, t) => A.load(e, t) : null,
|
|
3961
|
-
altMaxLength: () =>
|
|
3962
|
-
mergeTags: () =>
|
|
3963
|
-
normalize: (e, t) =>
|
|
4025
|
+
altMaxLength: () => Cn(Ht(i.config)),
|
|
4026
|
+
mergeTags: () => ai(X.mergeTags.value, X.mergeTagSyntax),
|
|
4027
|
+
normalize: (e, t) => gn(e, t, o),
|
|
3964
4028
|
commentsOpen: U?.isOpen ?? null,
|
|
3965
4029
|
onError: i.config.onError
|
|
3966
4030
|
}) : null;
|
|
3967
|
-
K && l(
|
|
4031
|
+
K && l(mt, K);
|
|
3968
4032
|
let q = We(_, i.config.customBlocks ?? []);
|
|
3969
4033
|
l(yt, q);
|
|
3970
|
-
let J = i.config.translation ?
|
|
4034
|
+
let J = i.config.translation ? Br({
|
|
3971
4035
|
provider: i.config.translation,
|
|
3972
4036
|
editor: _,
|
|
3973
4037
|
localization: i.config.localization,
|
|
@@ -3977,19 +4041,19 @@ var va = [
|
|
|
3977
4041
|
syntax: () => X.mergeTagSyntax,
|
|
3978
4042
|
coverage: () => q.value
|
|
3979
4043
|
}) : null;
|
|
3980
|
-
J && l(
|
|
4044
|
+
J && l(nt, J);
|
|
3981
4045
|
let Y = S(null);
|
|
3982
4046
|
t([() => _.state.template?.id ?? null, _.loadVersion], () => {
|
|
3983
4047
|
Y.value = null;
|
|
3984
4048
|
}, { flush: "sync" }), t(() => Z(_.content.value), (e) => {
|
|
3985
4049
|
Y.value && Y.value.language !== e && (Y.value = null);
|
|
3986
4050
|
}, { flush: "sync" });
|
|
3987
|
-
let ne =
|
|
4051
|
+
let ne = Pr({
|
|
3988
4052
|
editor: _,
|
|
3989
4053
|
history: () => X.history,
|
|
3990
4054
|
collaboration: d
|
|
3991
4055
|
});
|
|
3992
|
-
l(
|
|
4056
|
+
l(Ke, { setDefaultLocale(e) {
|
|
3993
4057
|
let t = {
|
|
3994
4058
|
language: e,
|
|
3995
4059
|
old: Z(_.content.value),
|
|
@@ -3997,8 +4061,8 @@ var va = [
|
|
|
3997
4061
|
}, n = ne.setDefaultLocale(e);
|
|
3998
4062
|
return n.applied && (Y.value = t), n;
|
|
3999
4063
|
} });
|
|
4000
|
-
let re = I(() => import("./LocaleNotices-
|
|
4001
|
-
le && A !== null && !A.canSave.value &&
|
|
4064
|
+
let re = I(() => import("./LocaleNotices-j4aMFfmc.js")), ie = I(() => import("./CollaborationNotices-D9GQ477K.js")), ae = I(() => import("./CloudPanels-CSFN-eLV.js")), oe = I(() => import("./CloudHeaderExtras-xrHubAHL.js")), se = I(() => import("./VersionHistoryPanels-C91mfsMA.js")), le = yi(i.config.templates?.autoSave, !1), ue = le && A !== null;
|
|
4065
|
+
le && A !== null && !A.canSave.value && kn.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."), i.config.changeDebounce !== void 0 && A !== null && i.config.templates?.autoSave === void 0 && !i.config.onChange && kn.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.");
|
|
4002
4066
|
let de = i.config.onChange || ue ? {
|
|
4003
4067
|
onChange: () => {
|
|
4004
4068
|
i.config.onChange?.(JSON.parse(JSON.stringify(_.state.content))), ue && A.requestAutoSave();
|
|
@@ -4011,7 +4075,7 @@ var va = [
|
|
|
4011
4075
|
...U ? { comments: U.capability } : {},
|
|
4012
4076
|
...d ? { collaboration: d.capability } : {},
|
|
4013
4077
|
...K ? { ai: K.capability } : {}
|
|
4014
|
-
}, X =
|
|
4078
|
+
}, X = an({
|
|
4015
4079
|
editor: _,
|
|
4016
4080
|
containerEl: j,
|
|
4017
4081
|
config: {
|
|
@@ -4033,7 +4097,7 @@ var va = [
|
|
|
4033
4097
|
canDropMedia: L?.canDrop ?? null,
|
|
4034
4098
|
resolvePreview: i.config.resolvePreview,
|
|
4035
4099
|
resolveImageUrl: i.config.resolveImageUrl,
|
|
4036
|
-
lint:
|
|
4100
|
+
lint: Ht(i.config),
|
|
4037
4101
|
locale: i.config.locale
|
|
4038
4102
|
},
|
|
4039
4103
|
translations: i.translations,
|
|
@@ -4049,9 +4113,9 @@ var va = [
|
|
|
4049
4113
|
let me = i.cloud && D ? i.cloud.ready({
|
|
4050
4114
|
core: X,
|
|
4051
4115
|
capabilities: fe
|
|
4052
|
-
}) : null, he = i.config.versionHistory ?
|
|
4116
|
+
}) : null, he = i.config.versionHistory ? vi({
|
|
4053
4117
|
provider: i.config.versionHistory,
|
|
4054
|
-
editor:
|
|
4118
|
+
editor: hn(_, o),
|
|
4055
4119
|
history: X.history,
|
|
4056
4120
|
conditionPreview: X.conditionPreview,
|
|
4057
4121
|
autoSave: X.autoSave,
|
|
@@ -4074,22 +4138,25 @@ var va = [
|
|
|
4074
4138
|
e && (ye.value = e.borderBoxSize?.[0]?.blockSize ?? e.contentRect.height);
|
|
4075
4139
|
}), xe.observe(ve.value));
|
|
4076
4140
|
}), E(() => xe?.disconnect());
|
|
4077
|
-
let { showNotice: Se } =
|
|
4141
|
+
let { showNotice: Se } = un(() => i.config.smallScreenNotice);
|
|
4078
4142
|
e(async () => {
|
|
4079
4143
|
await i.fontsManager.loadCustomFonts();
|
|
4080
4144
|
}), E(() => {
|
|
4081
4145
|
i.fontsManager.cleanupFontLinks(), K?.destroy(), i.cloud?.destroy(), X.destroy();
|
|
4082
4146
|
});
|
|
4083
|
-
let Ce = A ?? _, Te =
|
|
4147
|
+
let Ce = A ?? _, Te = Dn(X.editorRoot);
|
|
4084
4148
|
return r({
|
|
4149
|
+
refreshPreview: X.refreshPreview,
|
|
4085
4150
|
getLocale: () => _.activeLocale.value ?? Z(_.content.value),
|
|
4086
4151
|
setLocale: (e) => _.setActiveLocale(e),
|
|
4087
4152
|
getContent: () => _.content.value,
|
|
4088
|
-
setContent: (e) =>
|
|
4153
|
+
setContent: (e) => {
|
|
4154
|
+
_.setContent(e), d?.core.flush(), X.history.clear();
|
|
4155
|
+
},
|
|
4089
4156
|
insertBlock: (e) => {
|
|
4090
|
-
if (_.state.previewMode) return
|
|
4157
|
+
if (_.state.previewMode) return kn.warn("insertBlock() does nothing in preview mode."), null;
|
|
4091
4158
|
let t = ce(e);
|
|
4092
|
-
return
|
|
4159
|
+
return xi(_, t) ? (Te(t.id), t.id) : null;
|
|
4093
4160
|
},
|
|
4094
4161
|
setTheme: (e) => _.setUiTheme(e),
|
|
4095
4162
|
setMergeTags: X.setMergeTags,
|
|
@@ -4105,12 +4172,12 @@ var va = [
|
|
|
4105
4172
|
class: c(["tpl tpl:relative tpl:h-full", { "tpl:dark": b(_).state.darkMode }]),
|
|
4106
4173
|
"data-tpl-theme": b(X).resolvedTheme.value,
|
|
4107
4174
|
style: f(b(X).themeStyles.value),
|
|
4108
|
-
onDragover: t[
|
|
4109
|
-
onDrop: t[
|
|
4175
|
+
onDragover: t[9] ||= B(() => {}, ["prevent"]),
|
|
4176
|
+
onDrop: t[10] ||= B(() => {}, ["prevent"])
|
|
4110
4177
|
}, [
|
|
4111
|
-
v(
|
|
4112
|
-
O("div",
|
|
4113
|
-
v(
|
|
4178
|
+
v(Ii),
|
|
4179
|
+
O("div", Ro, [
|
|
4180
|
+
v(Ja, {
|
|
4114
4181
|
editor: b(_),
|
|
4115
4182
|
localization: i.config.localization,
|
|
4116
4183
|
core: b(X),
|
|
@@ -4120,7 +4187,9 @@ var va = [
|
|
|
4120
4187
|
"version-history": b(he),
|
|
4121
4188
|
comments: b(U),
|
|
4122
4189
|
collaboration: b(d),
|
|
4123
|
-
ai: b(K)
|
|
4190
|
+
ai: b(K),
|
|
4191
|
+
header: i.config.header,
|
|
4192
|
+
"shadow-root": i.shadowRoot
|
|
4124
4193
|
}, k({ _: 2 }, [b(D) ? {
|
|
4125
4194
|
name: "left-extras",
|
|
4126
4195
|
fn: h(() => [v(b(oe), {
|
|
@@ -4145,31 +4214,51 @@ var va = [
|
|
|
4145
4214
|
"version-history",
|
|
4146
4215
|
"comments",
|
|
4147
4216
|
"collaboration",
|
|
4148
|
-
"ai"
|
|
4217
|
+
"ai",
|
|
4218
|
+
"header",
|
|
4219
|
+
"shadow-root"
|
|
4149
4220
|
]),
|
|
4150
|
-
g(v(
|
|
4221
|
+
g(v(Ki, { style: f(be.value) }, null, 8, ["style"]), [[H, !b(_).state.previewMode]]),
|
|
4151
4222
|
O("div", {
|
|
4152
4223
|
class: c(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", _e.value]),
|
|
4153
4224
|
style: f(be.value)
|
|
4154
|
-
}, [O("div",
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4225
|
+
}, [O("div", zo, [O("div", Bo, [
|
|
4226
|
+
v(W, { name: "tpl-preview-pill" }, {
|
|
4227
|
+
default: h(() => [b(_).state.previewMode && !b(X).previewResolution.supersedesSamples.value ? (s(), C("div", Vo, [v(Un, {
|
|
4228
|
+
"sample-mode": b(X).mergeTagSampleMode.value,
|
|
4229
|
+
onChange: t[0] ||= (e) => b(X).mergeTagSampleMode.value = e
|
|
4230
|
+
}, null, 8, ["sample-mode"])])) : x("", !0)]),
|
|
4231
|
+
_: 1
|
|
4232
|
+
}),
|
|
4233
|
+
v(W, { name: "tpl-preview-pill" }, {
|
|
4234
|
+
default: h(() => [b(_).state.previewMode && b(X).previewResolution.isConfigured ? (s(), C("div", Ho, [O("button", {
|
|
4235
|
+
type: "button",
|
|
4236
|
+
class: c([b(Dt), "tpl:px-4"]),
|
|
4237
|
+
"data-testid": "refresh-preview",
|
|
4238
|
+
title: b(X).t.previewResolution.refresh,
|
|
4239
|
+
"aria-busy": b(X).previewResolution.isResolving.value,
|
|
4240
|
+
onClick: t[1] ||= (e) => b(X).previewResolution.refresh()
|
|
4241
|
+
}, [v(b(An), {
|
|
4242
|
+
size: 18,
|
|
4243
|
+
"stroke-width": 1.5,
|
|
4244
|
+
class: c({ "tpl-spinner": b(X).previewResolution.isResolving.value })
|
|
4245
|
+
}, null, 8, ["class"]), w(" " + a(b(X).t.previewResolution.refresh), 1)], 10, Uo)])) : x("", !0)]),
|
|
4246
|
+
_: 1
|
|
4247
|
+
}),
|
|
4248
|
+
v(W, { name: "tpl-preview-pill" }, {
|
|
4249
|
+
default: h(() => [b(X).conditionPreview.hasHiddenBlocks.value && b(X).appliesConditionFilter.value ? (s(), C("button", {
|
|
4250
|
+
key: 0,
|
|
4251
|
+
type: "button",
|
|
4252
|
+
class: c([b(Et), "tpl:shadow-[var(--tpl-shadow-md)]"]),
|
|
4253
|
+
"data-testid": "restore-hidden-blocks",
|
|
4254
|
+
onClick: t[2] ||= (e) => b(X).conditionPreview.reset()
|
|
4255
|
+
}, [v(b(jn), {
|
|
4256
|
+
size: 16,
|
|
4257
|
+
"stroke-width": 2
|
|
4258
|
+
}), w(" " + a(b(X).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : x("", !0)]),
|
|
4259
|
+
_: 1
|
|
4260
|
+
})
|
|
4261
|
+
])]), O("main", Wo, [v(Fi, {
|
|
4173
4262
|
viewport: b(_).state.viewport,
|
|
4174
4263
|
content: b(X).previewResolution.content.value,
|
|
4175
4264
|
"selected-block-id": b(_).state.selectedBlockId,
|
|
@@ -4184,7 +4273,7 @@ var va = [
|
|
|
4184
4273
|
"preview-mode",
|
|
4185
4274
|
"onSelectBlock"
|
|
4186
4275
|
])])], 6),
|
|
4187
|
-
n.config.branding === !1 ? x("", !0) : (s(), F(
|
|
4276
|
+
n.config.branding === !1 ? x("", !0) : (s(), F(ga, {
|
|
4188
4277
|
key: 0,
|
|
4189
4278
|
"position-class": [_e.value]
|
|
4190
4279
|
}, null, 8, ["position-class"])),
|
|
@@ -4194,22 +4283,22 @@ var va = [
|
|
|
4194
4283
|
"aria-live": "polite",
|
|
4195
4284
|
"aria-atomic": "true",
|
|
4196
4285
|
"aria-label": b(X).t.landmarks.reorderAnnouncements
|
|
4197
|
-
}, a(b(X).keyboardReorder.announcement.value), 9,
|
|
4198
|
-
g(v(
|
|
4286
|
+
}, a(b(X).keyboardReorder.announcement.value), 9, Go),
|
|
4287
|
+
g(v(la, {
|
|
4199
4288
|
tab: pe.value,
|
|
4200
|
-
"onUpdate:tab": t[
|
|
4289
|
+
"onUpdate:tab": t[3] ||= (e) => pe.value = e,
|
|
4201
4290
|
style: f(be.value),
|
|
4202
4291
|
"selected-block": b(_).selectedBlock.value ? b(T).displayBlock(b(_).selectedBlock.value) : null,
|
|
4203
4292
|
settings: b(T).settings.value,
|
|
4204
4293
|
"shifted-left": ge.value,
|
|
4205
|
-
onUpdateBlock: t[
|
|
4206
|
-
onDeleteBlock: t[
|
|
4294
|
+
onUpdateBlock: t[4] ||= (e) => b(_).updateBlock(b(_).state.selectedBlockId, e),
|
|
4295
|
+
onDeleteBlock: t[5] ||= () => {
|
|
4207
4296
|
b(_).state.selectedBlockId && b(X).blockActions.deleteBlock(b(_).state.selectedBlockId);
|
|
4208
4297
|
},
|
|
4209
|
-
onDuplicateBlock: t[
|
|
4298
|
+
onDuplicateBlock: t[6] ||= () => {
|
|
4210
4299
|
b(_).selectedBlock.value && b(X).blockActions.duplicateBlock(b(_).selectedBlock.value);
|
|
4211
4300
|
},
|
|
4212
|
-
onUpdateSettings: t[
|
|
4301
|
+
onUpdateSettings: t[7] ||= (e) => b(_).updateSettings(e)
|
|
4213
4302
|
}, null, 8, [
|
|
4214
4303
|
"tab",
|
|
4215
4304
|
"style",
|
|
@@ -4224,7 +4313,7 @@ var va = [
|
|
|
4224
4313
|
}, [b(he)?.isAvailable.value ? (s(), F(b(se), {
|
|
4225
4314
|
key: 0,
|
|
4226
4315
|
feature: b(he)
|
|
4227
|
-
}, null, 8, ["feature"])) : x("", !0), n.config.localization ? (s(), F(
|
|
4316
|
+
}, null, 8, ["feature"])) : x("", !0), n.config.localization ? (s(), F(Nr, {
|
|
4228
4317
|
key: 1,
|
|
4229
4318
|
editor: b(_),
|
|
4230
4319
|
locales: n.config.localization.locales,
|
|
@@ -4241,8 +4330,8 @@ var va = [
|
|
|
4241
4330
|
ref: (e) => b(X).popoverRoot.value = e,
|
|
4242
4331
|
class: "tpl-popover-root"
|
|
4243
4332
|
}, null, 512),
|
|
4244
|
-
v(
|
|
4245
|
-
v(
|
|
4333
|
+
v(ho),
|
|
4334
|
+
v(Io),
|
|
4246
4335
|
b(M)?.isAvailable.value ? (s(), F(b(P), {
|
|
4247
4336
|
key: 0,
|
|
4248
4337
|
feature: b(M)
|
|
@@ -4273,14 +4362,14 @@ var va = [
|
|
|
4273
4362
|
key: 4,
|
|
4274
4363
|
feature: b(K)
|
|
4275
4364
|
}, null, 8, ["feature"])) : x("", !0),
|
|
4276
|
-
b(d) || Y.value ? (s(), F(
|
|
4365
|
+
b(d) || Y.value ? (s(), F(or, { key: 5 }, {
|
|
4277
4366
|
default: h(() => [b(d) ? (s(), F(b(ie), {
|
|
4278
4367
|
key: 0,
|
|
4279
4368
|
feature: b(d)
|
|
4280
4369
|
}, null, 8, ["feature"])) : x("", !0), Y.value ? (s(), F(b(re), {
|
|
4281
4370
|
key: 1,
|
|
4282
4371
|
notice: Y.value,
|
|
4283
|
-
onDismiss: t[
|
|
4372
|
+
onDismiss: t[8] ||= (e) => Y.value = null
|
|
4284
4373
|
}, null, 8, ["notice"])) : x("", !0)]),
|
|
4285
4374
|
_: 1
|
|
4286
4375
|
})) : x("", !0),
|
|
@@ -4298,23 +4387,23 @@ var va = [
|
|
|
4298
4387
|
"cloud",
|
|
4299
4388
|
"ready"
|
|
4300
4389
|
])) : x("", !0),
|
|
4301
|
-
b(Se) ? (s(), F(
|
|
4302
|
-
], 46,
|
|
4390
|
+
b(Se) ? (s(), F(ma, { key: 7 })) : x("", !0)
|
|
4391
|
+
], 46, Lo));
|
|
4303
4392
|
}
|
|
4304
|
-
}), [["__scopeId", "data-v-
|
|
4305
|
-
function
|
|
4306
|
-
return e.replace(
|
|
4393
|
+
}), [["__scopeId", "data-v-0dfeea75"]]), qo = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
|
|
4394
|
+
function Jo(e) {
|
|
4395
|
+
return e.replace(qo, "");
|
|
4307
4396
|
}
|
|
4308
4397
|
// src/utils/renderProvider.ts
|
|
4309
|
-
function
|
|
4398
|
+
function Yo(e) {
|
|
4310
4399
|
return {
|
|
4311
4400
|
customFonts: e.customFonts.value,
|
|
4312
4401
|
defaultFallback: e.defaultFallback.value
|
|
4313
4402
|
};
|
|
4314
4403
|
}
|
|
4315
|
-
async function
|
|
4404
|
+
async function Xo(e, t) {
|
|
4316
4405
|
let n = we(e.getContent()), r = t?.locale ?? Z(n), i = t?.locale !== void 0 || n.settings?.locales?.length ? Fe(n, r) : n, a = e.getLayout?.(), o = a ? xe(Fe(a, r, { missing: "default" }), i) : i;
|
|
4317
|
-
return a || (X(o), de(o)), await
|
|
4406
|
+
return a || (X(o), de(o)), await er(o, {
|
|
4318
4407
|
renderCustomBlock: e.renderCustomBlock,
|
|
4319
4408
|
getCustomBlockStylesheet: e.getCustomBlockStylesheet
|
|
4320
4409
|
}), {
|
|
@@ -4322,7 +4411,7 @@ async function Go(e, t) {
|
|
|
4322
4411
|
fonts: e.getFonts()
|
|
4323
4412
|
};
|
|
4324
4413
|
}
|
|
4325
|
-
function
|
|
4414
|
+
function Zo(e) {
|
|
4326
4415
|
async function t(t) {
|
|
4327
4416
|
let n = e.provider, r = n?.toMjml?.bind(n);
|
|
4328
4417
|
return r ? r(await e.buildPayload(t)) : e.renderLocalMjml(t);
|
|
@@ -4348,69 +4437,69 @@ function Ko(e) {
|
|
|
4348
4437
|
};
|
|
4349
4438
|
}
|
|
4350
4439
|
// \0virtual:editor-css
|
|
4351
|
-
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-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-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-\\[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-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-d30a2d38]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-d30a2d38]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-d30a2d38],.tpl-preview-pill-leave-to[data-v-d30a2d38]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-d30a2d38],.tpl-preview-pill-leave-from[data-v-d30a2d38]{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;-webkit-user-select:none;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{-webkit-user-select:none;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;-webkit-user-select:none;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;-webkit-user-select:none;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*/", Jo = null;
|
|
4352
|
-
function
|
|
4353
|
-
if (
|
|
4440
|
+
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-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;-webkit-user-select:none;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{-webkit-user-select:none;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;-webkit-user-select:none;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;-webkit-user-select:none;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;
|
|
4441
|
+
function es() {
|
|
4442
|
+
if ($o === null) {
|
|
4354
4443
|
let e = new CSSStyleSheet();
|
|
4355
|
-
e.replaceSync(
|
|
4444
|
+
e.replaceSync(Jo(Qo)), $o = e;
|
|
4356
4445
|
}
|
|
4357
|
-
return
|
|
4446
|
+
return $o;
|
|
4358
4447
|
}
|
|
4359
|
-
function
|
|
4448
|
+
function ts(e) {
|
|
4360
4449
|
return () => {};
|
|
4361
4450
|
}
|
|
4362
|
-
function
|
|
4451
|
+
function ns(e, t) {
|
|
4363
4452
|
if (!t) return {
|
|
4364
4453
|
target: e,
|
|
4365
4454
|
shadowRoot: null,
|
|
4366
4455
|
cleanup: () => {}
|
|
4367
4456
|
};
|
|
4368
4457
|
let n = e.shadowRoot ?? e.attachShadow({ mode: "open" });
|
|
4369
|
-
for (n.adoptedStyleSheets = [
|
|
4458
|
+
for (n.adoptedStyleSheets = [es()]; n.firstChild;) n.removeChild(n.firstChild);
|
|
4370
4459
|
let r = document.createElement("div");
|
|
4371
4460
|
return r.className = "tpl-editor-host", r.style.cssText = "display:block;height:100%;width:100%;", n.appendChild(r), {
|
|
4372
4461
|
target: r,
|
|
4373
4462
|
shadowRoot: n,
|
|
4374
|
-
cleanup:
|
|
4463
|
+
cleanup: ts(n)
|
|
4375
4464
|
};
|
|
4376
4465
|
}
|
|
4377
|
-
var
|
|
4378
|
-
function
|
|
4466
|
+
var rs = /* @__PURE__ */ new Map(), is = null, as = 0, os = /* @__PURE__ */ new WeakMap();
|
|
4467
|
+
function ss(e) {
|
|
4379
4468
|
let t = typeof e == "string" ? document.querySelector(e) : e;
|
|
4380
4469
|
if (!t) throw Error(`[Templatical] Container element not found: ${e}`);
|
|
4381
|
-
let n = ++
|
|
4382
|
-
return
|
|
4470
|
+
let n = ++as;
|
|
4471
|
+
return os.set(t, n), {
|
|
4383
4472
|
container: t,
|
|
4384
4473
|
token: n
|
|
4385
4474
|
};
|
|
4386
4475
|
}
|
|
4387
|
-
function
|
|
4388
|
-
let n =
|
|
4389
|
-
n && (t && n.app !== t || (n.cleanup(), n.app.unmount(),
|
|
4476
|
+
function cs(e, t) {
|
|
4477
|
+
let n = rs.get(e);
|
|
4478
|
+
n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), rs.delete(e), is === e && (is = null)));
|
|
4390
4479
|
}
|
|
4391
|
-
function
|
|
4392
|
-
e.layout && (e.layout =
|
|
4480
|
+
function ls(e) {
|
|
4481
|
+
e.layout && (e.layout = _n(e.layout, e.mergeTags), Ie(e.layout)), e.content && (e.content = _n(e.content, e.mergeTags), X(e.content), de(e.content));
|
|
4393
4482
|
}
|
|
4394
|
-
async function
|
|
4483
|
+
async function us(e) {
|
|
4395
4484
|
let t = { ...e };
|
|
4396
4485
|
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.");
|
|
4397
4486
|
for (let e of t.localization?.locales ?? []) if (!Ee(e)) throw new Q(`Invalid localization locale "${e}".`);
|
|
4398
4487
|
let n = t.localization?.doNotTranslate;
|
|
4399
4488
|
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.");
|
|
4400
|
-
return
|
|
4489
|
+
return ls(t), ds(t, ss(t.container));
|
|
4401
4490
|
}
|
|
4402
|
-
async function
|
|
4403
|
-
e.locale !== void 0 && !
|
|
4404
|
-
let i = await
|
|
4405
|
-
if (
|
|
4491
|
+
async function ds(e, { container: t, token: n }, r) {
|
|
4492
|
+
e.locale !== void 0 && !Vt(e.locale) && kn.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${zt().sort().join(", ")}.`);
|
|
4493
|
+
let i = await Rt(e.locale ?? "en"), a = Wt(e.fonts);
|
|
4494
|
+
if (os.get(t) !== n) return fs({
|
|
4406
4495
|
config: e,
|
|
4407
4496
|
editorRef: S(null),
|
|
4408
4497
|
fontsManager: a,
|
|
4409
4498
|
unmount: () => {}
|
|
4410
4499
|
}).instance;
|
|
4411
|
-
|
|
4412
|
-
let o =
|
|
4413
|
-
return () => m(
|
|
4500
|
+
cs(t);
|
|
4501
|
+
let o = ns(t, e.shadowDom ?? !0), s = S(null), c = V({ setup() {
|
|
4502
|
+
return () => m(Ko, {
|
|
4414
4503
|
config: e,
|
|
4415
4504
|
translations: i,
|
|
4416
4505
|
fontsManager: a,
|
|
@@ -4423,23 +4512,23 @@ async function os(e, { container: t, token: n }, r) {
|
|
|
4423
4512
|
ref: s
|
|
4424
4513
|
});
|
|
4425
4514
|
} });
|
|
4426
|
-
c.mount(o.target),
|
|
4515
|
+
c.mount(o.target), rs.set(t, {
|
|
4427
4516
|
app: c,
|
|
4428
4517
|
editorRef: s,
|
|
4429
4518
|
cleanup: o.cleanup
|
|
4430
|
-
}),
|
|
4431
|
-
let { instance: l, render: u } =
|
|
4519
|
+
}), is = t;
|
|
4520
|
+
let { instance: l, render: u } = fs({
|
|
4432
4521
|
config: e,
|
|
4433
4522
|
editorRef: s,
|
|
4434
4523
|
fontsManager: a,
|
|
4435
|
-
unmount: () =>
|
|
4524
|
+
unmount: () => cs(t, c)
|
|
4436
4525
|
});
|
|
4437
4526
|
return l;
|
|
4438
4527
|
}
|
|
4439
|
-
function
|
|
4528
|
+
function fs({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
4440
4529
|
let i = {
|
|
4441
4530
|
getContent() {
|
|
4442
|
-
return t.value ? we(t.value.getContent()) : we(e.content ?? be(e.fonts?.defaultFont,
|
|
4531
|
+
return t.value ? we(t.value.getContent()) : we(e.content ?? be(e.fonts?.defaultFont, nr(e)));
|
|
4443
4532
|
},
|
|
4444
4533
|
getLocale() {
|
|
4445
4534
|
return t.value?.getLocale() ?? Z(i.getContent());
|
|
@@ -4450,12 +4539,15 @@ function ss({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
|
4450
4539
|
t.value?.setLocale(n);
|
|
4451
4540
|
},
|
|
4452
4541
|
setContent(n) {
|
|
4453
|
-
let r =
|
|
4542
|
+
let r = _n(n, e.mergeTags);
|
|
4454
4543
|
t.value && t.value.setContent(r), e.content = r;
|
|
4455
4544
|
},
|
|
4545
|
+
refreshPreview() {
|
|
4546
|
+
t.value?.refreshPreview();
|
|
4547
|
+
},
|
|
4456
4548
|
insertBlock(n) {
|
|
4457
4549
|
let r = { blocks: [n] };
|
|
4458
|
-
return X(r), de(r), t.value ? t.value.insertBlock(
|
|
4550
|
+
return X(r), de(r), t.value ? t.value.insertBlock(yn(n, e.mergeTags)) : null;
|
|
4459
4551
|
},
|
|
4460
4552
|
setTheme(e) {
|
|
4461
4553
|
t.value && t.value.setTheme(e);
|
|
@@ -4470,7 +4562,7 @@ function ss({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
|
4470
4562
|
create(n) {
|
|
4471
4563
|
return t.value ? t.value.create(n?.content ? {
|
|
4472
4564
|
...n,
|
|
4473
|
-
content:
|
|
4565
|
+
content: _n(n.content, e.mergeTags)
|
|
4474
4566
|
} : n) : Promise.reject(/* @__PURE__ */ Error("[Templatical] Editor not ready"));
|
|
4475
4567
|
},
|
|
4476
4568
|
load(e) {
|
|
@@ -4490,20 +4582,20 @@ function ss({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
|
4490
4582
|
},
|
|
4491
4583
|
toMjml: (e) => a.toMjml(e),
|
|
4492
4584
|
toHtml: (e) => a.toHtml(e)
|
|
4493
|
-
}, a =
|
|
4585
|
+
}, a = Zo({
|
|
4494
4586
|
provider: e.render,
|
|
4495
|
-
buildPayload: (t) =>
|
|
4587
|
+
buildPayload: (t) => Xo({
|
|
4496
4588
|
getContent: () => i.getContent(),
|
|
4497
4589
|
renderCustomBlock: (e) => i.renderCustomBlock(e),
|
|
4498
4590
|
getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
|
|
4499
|
-
getFonts: () =>
|
|
4591
|
+
getFonts: () => Yo(n),
|
|
4500
4592
|
getLayout: () => e.layout
|
|
4501
4593
|
}, t),
|
|
4502
|
-
renderLocalMjml: (t) =>
|
|
4594
|
+
renderLocalMjml: (t) => mi({
|
|
4503
4595
|
getContent: () => i.getContent(),
|
|
4504
4596
|
renderCustomBlock: (e) => i.renderCustomBlock(e),
|
|
4505
4597
|
getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
|
|
4506
|
-
getFonts: () =>
|
|
4598
|
+
getFonts: () => Yo(n),
|
|
4507
4599
|
socialIconsBaseUrl: e.socialIconsBaseUrl,
|
|
4508
4600
|
getLayout: () => e.layout
|
|
4509
4601
|
}, ...t ? [t] : [])
|
|
@@ -4513,18 +4605,18 @@ function ss({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
|
|
|
4513
4605
|
render: a
|
|
4514
4606
|
};
|
|
4515
4607
|
}
|
|
4516
|
-
async function
|
|
4608
|
+
async function ps(e) {
|
|
4517
4609
|
let t = {
|
|
4518
4610
|
layout: e.layout,
|
|
4519
4611
|
content: e.content,
|
|
4520
4612
|
mergeTags: e.mergeTags
|
|
4521
4613
|
};
|
|
4522
|
-
|
|
4523
|
-
let n =
|
|
4614
|
+
ls(t);
|
|
4615
|
+
let n = ss(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./createCloudRuntime-DiUnYjKr.js"), It(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
|
|
4524
4616
|
config: e,
|
|
4525
4617
|
cloudTranslations: i
|
|
4526
4618
|
});
|
|
4527
|
-
return
|
|
4619
|
+
return ds({
|
|
4528
4620
|
container: e.container,
|
|
4529
4621
|
content: t.content,
|
|
4530
4622
|
layout: t.layout,
|
|
@@ -4534,6 +4626,7 @@ async function cs(e) {
|
|
|
4534
4626
|
uiTheme: e.uiTheme,
|
|
4535
4627
|
theme: e.theme,
|
|
4536
4628
|
branding: e.branding,
|
|
4629
|
+
header: e.header,
|
|
4537
4630
|
smallScreenNotice: e.smallScreenNotice,
|
|
4538
4631
|
blockDefaults: e.blockDefaults,
|
|
4539
4632
|
templateDefaults: e.templateDefaults,
|
|
@@ -4568,7 +4661,7 @@ async function cs(e) {
|
|
|
4568
4661
|
user: s
|
|
4569
4662
|
}, n, a);
|
|
4570
4663
|
}
|
|
4571
|
-
function
|
|
4572
|
-
|
|
4664
|
+
function ms() {
|
|
4665
|
+
is && cs(is);
|
|
4573
4666
|
}
|
|
4574
|
-
export {
|
|
4667
|
+
export { wn as AI_ALT_TEXT_RULES, En as AI_FIXABLE_RULES, xe as applyLayout, be as createDefaultTemplateContent, oe as createLocalStorageMediaProvider, q as createLocalStorageSavedBlocksProvider, Ce as createParagraphBlock, he as createSlotBlock, ye as createWrapperBlock, Pt as getBaseLocale, en as getSupportedCloudLocales, zt as getSupportedLocales, us as init, ps as initCloud, Bt as isCloudLocaleSupported, Vt as isLocaleSupported, fe as isSlot, le as isWrapper, Ae as layoutWrapsSlot, ms as unmount, Ie as validateLayout };
|