@templatical/editor 0.52.0 → 0.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/dist/{AiAltTextPopover-Cm11CsKH.js → AiAltTextPopover-DawbUywc.js} +13 -13
  2. package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-9ySsXOTU.js} +22 -22
  3. package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-CupPhmsN.js} +137 -137
  4. package/dist/{AiPanels-CxGp6klr.js → AiPanels-DqT4PgQ0.js} +4 -4
  5. package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-28agTycW.js} +62 -62
  6. package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
  7. package/dist/{BlockPreviewCanvas-Df9iz7sK.js → BlockPreviewCanvas-B-4bmJ3t.js} +23 -23
  8. package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-QI82yF54.js} +3 -3
  9. package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-BKJaLkUN.js} +50 -50
  10. package/dist/{CollaborationNotices-JQ3vQoqO.js → CollaborationNotices-CTw4JThq.js} +11 -11
  11. package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CXQqN3VP.js} +15 -15
  12. package/dist/{CommentsPanel-BuftXc0U.js → CommentsPanel-DwwFuh1h.js} +2 -2
  13. package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
  14. package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-CU2yTWtF.js} +20 -20
  15. package/dist/{CountdownToolbar-CrL4WKy9.js → CountdownToolbar-BqoYzf_6.js} +53 -53
  16. package/dist/IssuesPanel-4ykrf1ax.js +359 -0
  17. package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-DM4g6j7b.js} +1 -1
  18. package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-CfscnwCn.js} +234 -234
  19. package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-Dy08GEwE.js} +446 -446
  20. package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-BgEp7iCp.js} +2 -2
  21. package/dist/{MergeTagInput-DE7kWwXx.js → MergeTagInput-B9dtUthD.js} +11 -11
  22. package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DxujhYJ4.js} +30 -30
  23. package/dist/{MergeTagTextarea-DVPQkiYY.js → MergeTagTextarea-CPFEjJZd.js} +11 -11
  24. package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-CWXfurGh.js} +201 -201
  25. package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-C4s_JYCx.js} +14 -14
  26. package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-o6HmE8GR.js} +40 -39
  27. package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-CWLrly6l.js} +56 -56
  28. package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
  29. package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-BE1N9rNZ.js} +6 -6
  30. package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-Dwl94xhP.js} +12 -12
  31. package/dist/{TemplateSettings-D0XcH32O.js → TemplateSettings-CS0f1Ues.js} +74 -74
  32. package/dist/{TestEmailModal-Cb5t0yB2.js → TestEmailModal-DBD0X5nV.js} +52 -52
  33. package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-DaFjP9QK.js} +2 -2
  34. package/dist/{TitleEditor-BYk_9SpQ.js → TitleEditor-DSqtle77.js} +75 -75
  35. package/dist/{ToggleSwitch-poGWbduy.js → ToggleSwitch-JykPyD_8.js} +4 -4
  36. package/dist/{Toolbar-Dku_pZni.js → Toolbar-BZPFfKrf.js} +913 -913
  37. package/dist/{TplModal-9IndEYk5.js → TplModal-DLMssVlt.js} +15 -15
  38. package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BkbYUs0Q.js} +35 -35
  39. package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DP7HaYWv.js} +4 -4
  40. package/dist/{VersionPreviewBanner-CSs7zum_.js → VersionPreviewBanner-DECaBwLq.js} +9 -9
  41. package/dist/{WrapperBlock-DwjK_IdJ.js → WrapperBlock-BsJv_Fiw.js} +16 -16
  42. package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BHjlPnPf.js} +23 -22
  43. package/dist/bundle-stats.json +6 -6
  44. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js → AiAltTextPopover-SEEjkd-I.js} +21 -21
  45. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-BGLLSKLm.js} +41 -41
  47. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js → AiChatPanel-DKDAaBNi.js} +127 -127
  49. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
  50. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-0wBarZSH.js} +3 -3
  51. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-0wBarZSH.js.map} +1 -1
  52. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-qf-cfEpy.js} +43 -43
  53. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js.map → AiRewriteMenu-qf-cfEpy.js.map} +1 -1
  54. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
  55. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js → BlockPreviewCanvas-DGBh6mqe.js} +20 -20
  57. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
  58. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BMNK_F9p.js} +3 -3
  59. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
  60. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-JMWIoVWh.js} +32 -32
  61. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
  62. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js → CollaborationNotices-Bsf1rGW9.js} +12 -12
  63. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
  64. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-CXByAoUz.js} +14 -14
  65. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
  66. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js → CommentsPanel-DoJnKLXI.js} +3 -3
  67. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
  68. package/dist/cdn/chunks/{CommentsSidebar-Dj8sDiLN.js → CommentsSidebar-CUtgvdBC.js} +100 -99
  69. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
  70. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-BqRw147R.js} +18 -18
  71. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
  72. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js → CountdownToolbar-xobieKoU.js} +26 -26
  73. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
  74. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-C7LfxaAY.js} +75 -75
  75. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
  76. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-CZuLTazv.js} +2 -2
  77. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
  78. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-BIi05UQu.js} +250 -250
  79. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
  80. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-Cpcod6_U.js} +148 -148
  81. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
  82. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-BIdcW_1f.js} +3 -3
  83. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
  84. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js → MergeTagInput-BvWg8o5E.js} +32 -32
  85. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
  86. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BgKEVUtV.js} +27 -27
  87. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
  88. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js → MergeTagTextarea-tBz8McZf.js} +32 -32
  89. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
  90. package/dist/cdn/chunks/{ParagraphEditor-DsPLVAgm.js → ParagraphEditor-B3Rj_cWF.js} +191 -191
  91. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
  92. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-CjOdD2xj.js} +19 -19
  93. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
  94. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-DNjR_sNN.js} +29 -29
  95. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
  96. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-CUhpawq0.js} +75 -75
  97. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
  98. package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
  99. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
  100. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-C6--Bc81.js} +3 -3
  101. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
  102. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-DUavxpbU.js} +14 -14
  103. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
  104. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js → TemplateSettings-CKtI-dof.js} +69 -69
  105. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
  106. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-CDQTgESD.js} +65 -65
  107. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
  108. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CcUpEpAn.js} +3 -3
  109. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
  110. package/dist/cdn/chunks/{TitleEditor-R2lQw6WA.js → TitleEditor-Cob7RLyK.js} +70 -70
  111. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
  112. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js → ToggleSwitch-J7Vwhvha.js} +5 -5
  113. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
  114. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js → Toolbar-CdpsvNOR.js} +893 -893
  115. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
  116. package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
  117. package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
  118. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-BYlLRvRJ.js} +32 -32
  119. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
  120. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-C6SOVoiT.js} +3 -3
  121. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
  122. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js → VersionPreviewBanner-Dvg0ZfAW.js} +10 -10
  123. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
  124. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js → WrapperBlock-C7Md56IT.js} +13 -13
  125. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
  126. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
  127. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
  128. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-Cth2JCEh.js} +36 -36
  129. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C2epoAwW.js → dist-8ym3y-pH.js} +43 -43
  131. package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-8ym3y-pH.js.map} +1 -1
  132. package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-BMzNabtD.js} +106 -107
  133. package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-BMzNabtD.js.map} +1 -1
  134. package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-Du8AUMFT.js} +639 -636
  135. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
  136. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CyCe560f.js} +891 -891
  137. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CyCe560f.js.map} +1 -1
  138. package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
  139. package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-CFF2KWy-.js} +55 -55
  140. package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-CFF2KWy-.js.map} +1 -1
  141. package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-okSPsLOa.js} +99 -97
  142. package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
  143. package/dist/cdn/chunks/{keys-BF9gazbd.js → keys-CUj6UA38.js} +2 -2
  144. package/dist/cdn/chunks/{keys-BF9gazbd.js.map → keys-CUj6UA38.js.map} +1 -1
  145. package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
  146. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  147. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js → normalizeMergeTagMarkup-C_KlfSW4.js} +2 -2
  148. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
  149. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-BcXIz7oJ.js} +2 -2
  150. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
  151. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js → sanitizeHtml-CN85EDrO.js} +2 -2
  152. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js.map → sanitizeHtml-CN85EDrO.js.map} +1 -1
  153. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js → socialIcons-jsTDmkbb.js} +480 -480
  154. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
  155. package/dist/cdn/chunks/{src-CUH_EI7k.js → src-C7bkofBL.js} +6 -6
  156. package/dist/cdn/chunks/{src-CUH_EI7k.js.map → src-C7bkofBL.js.map} +1 -1
  157. package/dist/cdn/chunks/{src-BKpAis_q.js → src-DEd87i_U.js} +2 -2
  158. package/dist/cdn/chunks/{src-BKpAis_q.js.map → src-DEd87i_U.js.map} +1 -1
  159. package/dist/cdn/chunks/{src-C9DTvn1H.js → src-DwWrYnUj.js} +3 -22
  160. package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
  161. package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-CbiTlECY.js} +45 -45
  162. package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-CbiTlECY.js.map} +1 -1
  163. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-DY8_-ETE.js} +3 -3
  164. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
  165. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
  166. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
  167. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
  168. package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
  169. package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-D8pY4LTq.js} +3 -3
  170. package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-D8pY4LTq.js.map} +1 -1
  171. package/dist/{useLogicTag-DFDYJeMN.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +5 -3
  172. package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
  173. package/dist/{useMergeTag-B46vACAG.js → cdn/chunks/useMergeTag-B-aG--s1.js} +7 -5
  174. package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
  175. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js → usePopoverPosition-DSMtmu2W.js} +4 -4
  176. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
  177. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-vjQ0fe-L.js} +3 -3
  178. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
  179. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-hZTvYBHO.js} +2 -2
  180. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
  181. package/dist/cdn/editor.css +1 -1
  182. package/dist/cdn/editor.js +1422 -1422
  183. package/dist/cdn/editor.js.map +1 -1
  184. package/dist/{check-N3x4z_rH.js → check-BZ8o0eet.js} +1 -1
  185. package/dist/{chevron-down-gXu9qNwO.js → chevron-down-DfAAfILv.js} +1 -1
  186. package/dist/{chevron-right-rL0ayGk5.js → chevron-right-Bk4mGdr7.js} +1 -1
  187. package/dist/{chevron-up-0ugh8HnW.js → chevron-up-MhUf_azW.js} +1 -1
  188. package/dist/{circle-alert-B9Ls75B5.js → circle-alert-CShJwVFv.js} +1 -1
  189. package/dist/{clock-BqHBaCLm.js → clock-CTfD6OCt.js} +1 -1
  190. package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DCgO4A1r.js} +24 -24
  191. package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-CvhTA2KG.js} +6 -6
  192. package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-ByCWA2Tv.js} +100 -99
  193. package/dist/{dist-CzrLYq2s.js → dist-CKi_npZM.js} +2 -21
  194. package/dist/{dist-CEdyyDn7.js → dist-CVy-7PHQ.js} +54 -54
  195. package/dist/{dist-DDN7yR-w.js → dist-D6cMdrfG.js} +129 -129
  196. package/dist/{editor-modal-Du9VI9q4.js → editor-modal-zaZHcmlO.js} +812 -812
  197. package/dist/en-Db76vJbY.js +1 -0
  198. package/dist/{extensions-FRYhx7qa.js → extensions-fo_c-vqf.js} +32 -32
  199. package/dist/{eye-BKj9Tfnc.js → eye-7W4t5e0Q.js} +1 -1
  200. package/dist/{image-DNdvdTla.js → image-BDiRFzSd.js} +1 -1
  201. package/dist/{info-Bx-kBkbH.js → info-Cxi3-Kh9.js} +1 -1
  202. package/dist/{keys-DBjrQkYH.js → keys-BgRERHzu.js} +1 -1
  203. package/dist/{link-D8-rYdIQ.js → link-ju_2Cmir.js} +1 -1
  204. package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
  205. package/dist/{list-BneisA27.js → list-DYZJf0aZ.js} +1 -1
  206. package/dist/{loader-circle-DBEXphyx.js → loader-circle-BZRD0a4I.js} +1 -1
  207. package/dist/{message-circle-Bg4xInCM.js → message-circle-DuEw4Zfx.js} +1 -1
  208. package/dist/{normalizeMergeTagMarkup-IH8COHzd.js → normalizeMergeTagMarkup-CELnOlgK.js} +1 -1
  209. package/dist/{package-B40Vkfsp.js → package-CePMr2kK.js} +1 -1
  210. package/dist/{pencil-CYdAHTds.js → pencil-D3aFCL7c.js} +1 -1
  211. package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks--_xc0XK3.js} +1 -1
  212. package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xnro7_Sk.js} +1 -1
  213. package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-BURR-bj5.js} +118 -118
  214. package/dist/{sanitizeHtml-CnOA1efV.js → sanitizeHtml-BzfzpYJY.js} +1 -1
  215. package/dist/{search-BZEo08gi.js → search-CDrstRBv.js} +1 -1
  216. package/dist/{send-DHtrnXQs.js → send-DROkPOaX.js} +1 -1
  217. package/dist/{smartphone-dlN3vpA3.js → smartphone-Bx6u_tjn.js} +1 -1
  218. package/dist/{socialIcons-B_d52_eS.js → socialIcons-D7MGsg0d.js} +366 -366
  219. package/dist/{sparkles-NOttoDnJ.js → sparkles-CdaTtvoz.js} +1 -1
  220. package/dist/{square-B1CJgdt2.js → square-BbCROH_f.js} +1 -1
  221. package/dist/style.css +1 -1
  222. package/dist/templatical-editor.js +1096 -1096
  223. package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-CGacJ9Vw.js} +1 -1
  224. package/dist/{trash-CGbk4Sgt.js → trash-DxCd7zIy.js} +1 -1
  225. package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-7_oaitpf.js} +1 -1
  226. package/dist/{upload-DQoackAn.js → upload-DuFEOi_0.js} +1 -1
  227. package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-DEMmUKuO.js} +2 -2
  228. package/dist/{useEditorCore-DG9UvWUm.js → useEditorCore-BSo2sSID.js} +1518 -1470
  229. package/dist/useEditorRoot-BMcoCLBx.js +7 -0
  230. package/dist/{useI18n-CeTm777E.js → useI18n-BBrHTdu8.js} +2 -2
  231. package/dist/{cdn/chunks/useLogicTag-vy5KGg5D.js → useLogicTag-ZPC39rfH.js} +3 -5
  232. package/dist/{cdn/chunks/useMergeTag-BFBBjnwh.js → useMergeTag-BQ4qqWpQ.js} +5 -7
  233. package/dist/{usePopoverPosition-C42kD7zt.js → usePopoverPosition-DV1PxL66.js} +3 -3
  234. package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-BSyAV4pk.js} +3 -3
  235. package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-CnEeTfhs.js} +993 -990
  236. package/dist/{withCurrentFont-v_a4Oso8.js → withCurrentFont-B22FXAF5.js} +1 -1
  237. package/dist/{x-zcrnmcmU.js → x-BpfG7v9g.js} +1 -1
  238. package/package.json +10 -10
  239. package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
  240. package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
  241. package/dist/IssuesPanel-BHFQ3wrP.js +0 -359
  242. package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
  243. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
  244. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
  245. package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
  246. package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
  247. package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
  248. package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
  249. package/dist/cdn/chunks/TplModal-BDyeS69p.js +0 -51
  250. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
  251. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
  252. package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
  253. package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
  254. package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
  255. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
  256. package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
  257. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
  258. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
  259. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
  260. package/dist/en-CyEE7FPY.js +0 -1
  261. package/dist/useEditorRoot-BKr6nNkC.js +0 -7
@@ -1,40 +1,40 @@
1
- import { A as e, At as t, C as n, D as r, G as i, H as a, I as o, L as s, M as c, Mt as l, N as u, P as d, Q as f, T as p, V as m, Y as h, _ as g, c as _, d as v, et as y, f as b, g as x, h as S, j as C, jt as w, k as T, l as E, m as D, ot as O, r as k, tt as A, u as j, v as M, x as N, y as P, z as F } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { a as I, c as L, n as R, o as z, s as B, t as V } from "./runtime-dom.esm-bundler-CLGymEyk.js";
3
- import { D as H, H as ee, I as U, Mt as W, P as G, St as K, Z as q, a as J, b as Y, dt as X, ft as te, g as ne, gt as re, it as Z, k as ie, l as ae, m as Q, ot as oe, p as se, pt as ce, v as le, w as ue, x as de, y as fe } from "./dist-CzrLYq2s.js";
4
- import { A as pe, C as me, F as he, H as ge, I as _e, P as ve, U as ye, c as be, g as xe, j as Se, s as Ce, z as we } from "./socialIcons-B_d52_eS.js";
5
- import { _ as Te, d as Ee, g as De } from "./dist-CEdyyDn7.js";
6
- import { a as Oe } from "./dist-BA-jTQgw.js";
7
- import { B as ke, E as Ae, F as je, I as Me, L as Ne, M as Pe, O as Fe, P as Ie, R as Le, V as Re, _ as ze, a as Be, c as Ve, d as He, f as Ue, g as We, h as Ge, i as Ke, l as qe, m as Je, n as Ye, o as Xe, p as Ze, r as Qe, s as $e, t as et, u as tt, v as nt, w as rt, x as it, z as at } from "./useEditorCore-DG9UvWUm.js";
8
- import { $ as ot, A as st, E as ct, G as lt, J as ut, K as dt, M as ft, N as pt, P as mt, Q as ht, U as gt, V as _t, X as vt, Z as yt, f as bt, g as xt, l as St, m as Ct, o as wt, p as Tt, q as Et, r as Dt, s as Ot, t as kt, v as At, z as jt } from "./keys-DBjrQkYH.js";
1
+ import { $ as e, A as t, C as n, D as r, H as i, I as a, K as o, L as s, M as c, Mt as l, N as u, Nt as d, P as f, T as p, U as m, X as h, _ as g, c as _, d as v, f as y, g as b, h as x, j as S, jt as C, k as w, l as T, m as E, nt as D, r as O, st as k, tt as A, u as j, v as M, x as N, y as P, z as F } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { a as I, c as L, n as R, o as z, s as B, t as V } from "./runtime-dom.esm-bundler-BURR-bj5.js";
3
+ import { D as H, H as ee, I as U, Mt as W, P as G, St as K, Z as q, a as J, b as Y, dt as X, ft as te, g as ne, gt as re, it as Z, k as ie, l as ae, m as Q, ot as oe, p as se, pt as ce, v as le, w as ue, x as de, y as fe } from "./dist-CKi_npZM.js";
4
+ import { A as pe, C as me, F as he, H as ge, I as _e, P as ve, U as ye, c as be, g as xe, j as Se, s as Ce, z as we } from "./socialIcons-D7MGsg0d.js";
5
+ import { _ as Te, d as Ee, g as De } from "./dist-CVy-7PHQ.js";
6
+ import { a as Oe } from "./dist-ByCWA2Tv.js";
7
+ import { B as ke, E as Ae, F as je, I as Me, L as Ne, M as Pe, O as Fe, P as Ie, R as Le, V as Re, _ as ze, a as Be, c as Ve, d as He, f as Ue, g as We, h as Ge, i as Ke, l as qe, m as Je, n as Ye, o as Xe, p as Ze, r as Qe, s as $e, t as et, u as tt, v as nt, w as rt, x as it, z as at } from "./useEditorCore-BSo2sSID.js";
8
+ import { $ as ot, A as st, E as ct, G as lt, J as ut, K as dt, M as ft, N as pt, P as mt, Q as ht, U as gt, V as _t, X as vt, Z as yt, f as bt, g as xt, l as St, m as Ct, o as wt, p as Tt, q as Et, r as Dt, s as Ot, t as kt, v as At, z as jt } from "./keys-BgRERHzu.js";
9
9
  import { t as Mt } from "./logger-BOu7oEtk.js";
10
- import { t as $ } from "./useI18n-CeTm777E.js";
10
+ import { t as $ } from "./useI18n-BBrHTdu8.js";
11
11
  import { t as Nt } from "./templateSettingsFields-cjlP-jdw.js";
12
- import { t as Pt } from "./createLucideIcon-BV7Gwz_Z.js";
13
- import { t as Ft } from "./check-N3x4z_rH.js";
14
- import { t as It } from "./chevron-down-gXu9qNwO.js";
15
- import { t as Lt } from "./circle-alert-B9Ls75B5.js";
16
- import { t as Rt } from "./blockTypeIcons-yt7SLzub.js";
17
- import { t as zt } from "./eye-BKj9Tfnc.js";
18
- import { i as Bt, n as Vt, o as Ht, r as Ut, t as Wt } from "./useScrollToBlock-C-NzvjeO.js";
19
- import { t as Gt } from "./loader-circle-DBEXphyx.js";
20
- import { t as Kt } from "./message-circle-Bg4xInCM.js";
21
- import { n as qt } from "./smartphone-dlN3vpA3.js";
22
- import { t as Jt } from "./package-B40Vkfsp.js";
23
- import { t as Yt } from "./search-BZEo08gi.js";
24
- import { t as Xt } from "./send-DHtrnXQs.js";
25
- import { t as Zt } from "./sparkles-NOttoDnJ.js";
26
- import { n as Qt, t as $t } from "./MergeTagModeToggle-DvD0ne7N.js";
27
- import { t as en } from "./x-zcrnmcmU.js";
12
+ import { t as Pt } from "./createLucideIcon-CvhTA2KG.js";
13
+ import { t as Ft } from "./check-BZ8o0eet.js";
14
+ import { t as It } from "./chevron-down-DfAAfILv.js";
15
+ import { t as Lt } from "./circle-alert-CShJwVFv.js";
16
+ import { t as Rt } from "./blockTypeIcons-BHjlPnPf.js";
17
+ import { t as zt } from "./eye-7W4t5e0Q.js";
18
+ import { i as Bt, n as Vt, o as Ht, r as Ut, t as Wt } from "./useScrollToBlock-BSyAV4pk.js";
19
+ import { t as Gt } from "./loader-circle-BZRD0a4I.js";
20
+ import { t as Kt } from "./message-circle-DuEw4Zfx.js";
21
+ import { n as qt } from "./smartphone-Bx6u_tjn.js";
22
+ import { t as Jt } from "./package-CePMr2kK.js";
23
+ import { t as Yt } from "./search-CDrstRBv.js";
24
+ import { t as Xt } from "./send-DROkPOaX.js";
25
+ import { t as Zt } from "./sparkles-CdaTtvoz.js";
26
+ import { n as Qt, t as $t } from "./MergeTagModeToggle-DxujhYJ4.js";
27
+ import { t as en } from "./x-BpfG7v9g.js";
28
28
  import { t as tn } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
29
- import { a as nn, i as rn, n as an, o as on, t as sn } from "./normalizeMergeTagMarkup-IH8COHzd.js";
29
+ import { a as nn, i as rn, n as an, o as on, t as sn } from "./normalizeMergeTagMarkup-CELnOlgK.js";
30
30
  import { t as cn } from "./aiErrors-C3QEMB0x.js";
31
31
  import { t as ln } from "./formatAbsoluteDateTime-Ck2_zXra.js";
32
32
  import { n as un, t as dn } from "./aiImageContext-BQ5mQ6B5.js";
33
33
  import { C as fn, S as pn, p as mn, y as hn } from "./styleConstants-B8xVRiwX.js";
34
- import { t as gn } from "./WrapperBlock-DwjK_IdJ.js";
34
+ import { t as gn } from "./WrapperBlock-BsJv_Fiw.js";
35
35
  import { t as _n } from "./formatRelativeTime-BTD8Ktt-.js";
36
- import { t as vn } from "./TplModal-9IndEYk5.js";
37
- import { t as yn } from "./preRenderCustomBlocks-AbZArwkR.js";
36
+ import { t as vn } from "./TplModal-DLMssVlt.js";
37
+ import { t as yn } from "./preRenderCustomBlocks--_xc0XK3.js";
38
38
  // src/utils/resolveTemplateDefaults.ts
39
39
  var bn = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
40
40
  function xn(e) {
@@ -235,74 +235,74 @@ function Pn(e) {
235
235
  templateUpdated: r
236
236
  };
237
237
  }
238
- function Fn(e) {
239
- let t = f([]), n = 1, r = /* @__PURE__ */ new Map();
238
+ function Fn(t) {
239
+ let n = e([]), r = 1, i = /* @__PURE__ */ new Map();
240
240
  function a(e) {
241
- let t = r.get(e);
242
- t && clearTimeout(t), r.set(e, setTimeout(() => s(e), jn));
243
- }
244
- function o(e) {
245
- let r = n++;
246
- return t.value = [{
247
- ...e,
248
- id: r
249
- }], a(r), r;
241
+ let t = i.get(e);
242
+ t && clearTimeout(t), i.set(e, setTimeout(() => c(e), jn));
250
243
  }
251
244
  function s(e) {
252
- let n = r.get(e);
253
- n && (clearTimeout(n), r.delete(e)), t.value = t.value.filter((t) => t.id !== e);
245
+ let t = r++;
246
+ return n.value = [{
247
+ ...e,
248
+ id: t
249
+ }], a(t), t;
254
250
  }
255
251
  function c(e) {
256
- e.type === "selectionRefused" ? o({
252
+ let t = i.get(e);
253
+ t && (clearTimeout(t), i.delete(e)), n.value = n.value.filter((t) => t.id !== e);
254
+ }
255
+ function l(e) {
256
+ e.type === "selectionRefused" ? s({
257
257
  kind: "selectionRefused",
258
258
  name: e.holder.name,
259
259
  isGuest: e.holder.type === "guest"
260
- }) : e.type === "editRefused" ? o({
260
+ }) : e.type === "editRefused" ? s({
261
261
  kind: "editRefused",
262
262
  code: e.code,
263
263
  ...e.holder ? {
264
264
  name: e.holder.name,
265
265
  isGuest: e.holder.type === "guest"
266
266
  } : {}
267
- }) : o({ kind: "undoSkipped" });
267
+ }) : s({ kind: "undoSkipped" });
268
268
  }
269
- let l = null, u = y(/* @__PURE__ */ new Map()), d = /* @__PURE__ */ new Map(), p = 0;
269
+ let u = null, d = A(/* @__PURE__ */ new Map()), f = /* @__PURE__ */ new Map(), p = 0;
270
270
  function m(e) {
271
271
  if (e.length === 0) return;
272
- let t = ++p, n = new Map(u.value);
272
+ let t = ++p, n = new Map(d.value);
273
273
  for (let r of e) {
274
274
  n.set(r, t);
275
- let e = d.get(r);
276
- e && clearTimeout(e), d.set(r, setTimeout(() => {
277
- d.delete(r);
278
- let e = new Map(u.value);
279
- e.delete(r), u.value = e;
275
+ let e = f.get(r);
276
+ e && clearTimeout(e), f.set(r, setTimeout(() => {
277
+ f.delete(r);
278
+ let e = new Map(d.value);
279
+ e.delete(r), d.value = e;
280
280
  }, Mn));
281
281
  }
282
- u.value = n;
282
+ d.value = n;
283
283
  }
284
- function g(e, n) {
284
+ function g(e, t) {
285
285
  if (e.type !== "mcp" && e.type !== "ai") return;
286
286
  let r = e.type === "ai";
287
287
  if (r && e.sessionId === v.sessionId) {
288
- n.templateUpdated || m(n.blockIds);
288
+ t.templateUpdated || m(t.blockIds);
289
289
  return;
290
290
  }
291
- let i = !r && typeof e.client == "string" && e.client.trim() !== "" ? e.client : null, s = `${e.type}\n${e.id ?? ""}\n${i ?? ""}`, c = Date.now(), u = l;
292
- (!u || u.key !== s || c - u.lastAt > 2e3 || t.value.at(-1)?.id !== u.noticeId) && (u = {
293
- key: s,
291
+ let i = !r && typeof e.client == "string" && e.client.trim() !== "" ? e.client : null, o = `${e.type}\n${e.id ?? ""}\n${i ?? ""}`, c = Date.now(), l = u;
292
+ (!l || l.key !== o || c - l.lastAt > 2e3 || n.value.at(-1)?.id !== l.noticeId) && (l = {
293
+ key: o,
294
294
  noticeId: 0,
295
295
  lastAt: c,
296
296
  blockIds: /* @__PURE__ */ new Set(),
297
297
  settings: !1,
298
298
  templateUpdated: !1
299
299
  });
300
- for (let e of n.blockIds) u.blockIds.add(e);
301
- u.settings ||= n.settings, u.templateUpdated ||= n.templateUpdated, u.lastAt = c;
300
+ for (let e of t.blockIds) l.blockIds.add(e);
301
+ l.settings ||= t.settings, l.templateUpdated ||= t.templateUpdated, l.lastAt = c;
302
302
  let d = {
303
- blocks: u.blockIds.size,
304
- settings: u.settings,
305
- templateUpdated: u.templateUpdated
303
+ blocks: l.blockIds.size,
304
+ settings: l.settings,
305
+ templateUpdated: l.templateUpdated
306
306
  }, f = r ? {
307
307
  kind: "aiEdited",
308
308
  name: e.name,
@@ -313,49 +313,49 @@ function Fn(e) {
313
313
  name: e.name,
314
314
  ...d
315
315
  };
316
- u === l ? (t.value = [{
316
+ l === u ? (n.value = [{
317
317
  ...f,
318
- id: u.noticeId
319
- }], a(u.noticeId)) : (u.noticeId = o(f), l = u), n.templateUpdated || m(n.blockIds);
318
+ id: l.noticeId
319
+ }], a(l.noticeId)) : (l.noticeId = s(f), u = l), t.templateUpdated || m(t.blockIds);
320
320
  }
321
321
  let v = ve({
322
- provider: e.provider,
323
- loadTemplate: e.loadTemplate,
324
- normalizeRemoteOperations: (t, n) => rn(t, n, e.mergeTags),
325
- onRemoteChange: (t) => {
322
+ provider: t.provider,
323
+ loadTemplate: t.loadTemplate,
324
+ normalizeRemoteOperations: (e, n) => rn(e, n, t.mergeTags),
325
+ onRemoteChange: (e) => {
326
326
  try {
327
- g(t.actor, Pn(t.ops));
327
+ g(e.actor, Pn(e.ops));
328
328
  } finally {
329
- e.onRemoteChange?.(t);
329
+ t.onRemoteChange?.(e);
330
330
  }
331
331
  },
332
332
  onRemoteResync: ({ actor: e }) => g(e, Nn),
333
- onNotice: c,
334
- onError: e.onError
333
+ onNotice: l,
334
+ onError: t.onError
335
335
  });
336
- i() && h(() => {
337
- for (let e of r.values()) clearTimeout(e);
338
- for (let e of d.values()) clearTimeout(e);
339
- r.clear(), d.clear();
336
+ o() && h(() => {
337
+ for (let e of i.values()) clearTimeout(e);
338
+ for (let e of f.values()) clearTimeout(e);
339
+ i.clear(), f.clear();
340
340
  });
341
- let b = _(() => {
342
- let t = v.members.value, n = t.find((e) => e.sessionId === v.sessionId)?.userId ?? e.user?.id ?? null, r = /* @__PURE__ */ new Map();
343
- for (let e of t) {
344
- if (e.sessionId === v.sessionId || e.userId !== null && e.userId === n) continue;
345
- let t = e.userId === null ? `guest:${e.sessionId}` : `user:${e.userId}`;
346
- r.has(t) || r.set(t, {
347
- key: t,
348
- type: e.type,
349
- name: e.name,
350
- ...e.avatarUrl ? { avatarUrl: e.avatarUrl } : {},
351
- color: e.color
341
+ let y = _(() => {
342
+ let e = v.members.value, n = e.find((e) => e.sessionId === v.sessionId)?.userId ?? t.user?.id ?? null, r = /* @__PURE__ */ new Map();
343
+ for (let t of e) {
344
+ if (t.sessionId === v.sessionId || t.userId !== null && t.userId === n) continue;
345
+ let e = t.userId === null ? `guest:${t.sessionId}` : `user:${t.userId}`;
346
+ r.has(e) || r.set(e, {
347
+ key: e,
348
+ type: t.type,
349
+ name: t.name,
350
+ ...t.avatarUrl ? { avatarUrl: t.avatarUrl } : {},
351
+ color: t.color
352
352
  });
353
353
  }
354
354
  return [...r.values()];
355
- }), x = {
355
+ }), b = {
356
356
  canUndo: v.canUndo,
357
357
  canRedo: v.canRedo,
358
- isNavigating: f(!1),
358
+ isNavigating: e(!1),
359
359
  undo: v.undo,
360
360
  redo: v.redo,
361
361
  record: () => {},
@@ -367,13 +367,13 @@ function Fn(e) {
367
367
  core: v,
368
368
  locks: v.locks,
369
369
  attach: v.attach,
370
- history: x,
371
- people: b,
370
+ history: b,
371
+ people: y,
372
372
  isLive: _(() => v.members.value.length > 0),
373
373
  connection: v.connection,
374
- notices: t,
375
- dismissNotice: s,
376
- reportReplaceRefused: (e) => o({
374
+ notices: n,
375
+ dismissNotice: c,
376
+ reportReplaceRefused: (e) => s({
377
377
  kind: "replaceRefused",
378
378
  holders: [...new Map(e.map((e) => [e.type === "guest" ? `guest:${e.sessionId}` : e.id, {
379
379
  name: e.name,
@@ -383,60 +383,60 @@ function Fn(e) {
383
383
  outline: m,
384
384
  capability: {
385
385
  lockOf: (e) => v.locks.value.get(e) ?? null,
386
- agentHighlightOf: (e) => u.value.get(e) ?? null
386
+ agentHighlightOf: (e) => d.value.get(e) ?? null
387
387
  }
388
388
  };
389
389
  }
390
390
  // src/composables/useCommentsFeature.ts
391
- function In(e) {
392
- let { provider: t, editor: n } = e, r = _e({
393
- provider: t,
394
- getTemplateId: () => n.state.template?.id ?? null,
395
- getUser: () => e.user ?? null,
396
- onError: e.onError
391
+ function In(t) {
392
+ let { provider: n, editor: r } = t, i = _e({
393
+ provider: n,
394
+ getTemplateId: () => r.state.template?.id ?? null,
395
+ getUser: () => t.user ?? null,
396
+ onError: t.onError
397
397
  });
398
398
  he({
399
- comments: r,
400
- provider: t,
401
- getTemplateId: () => n.state.template?.id ?? null
399
+ comments: i,
400
+ provider: n,
401
+ getTemplateId: () => r.state.template?.id ?? null
402
402
  });
403
- let i = e.isOpen ?? f(!1), a = f(null), o = _(() => !!n.state.template?.id), s = r.unresolvedCount, c = _(() => e.user ? e.isAvailable?.() ?? !0 : !1);
404
- F(c, (e) => {
405
- e || (i.value = !1);
406
- }), F([c, o], ([e, t]) => {
407
- e && t && r.load().catch(() => {});
408
- }, { immediate: !0 }), F(i, (e) => {
409
- e && o.value && r.load().catch(() => {});
403
+ let a = t.isOpen ?? e(!1), o = e(null), s = _(() => !!r.state.template?.id), c = i.unresolvedCount, l = _(() => t.user ? t.isAvailable?.() ?? !0 : !1);
404
+ F(l, (e) => {
405
+ e || (a.value = !1);
406
+ }), F([l, s], ([e, t]) => {
407
+ e && t && i.load().catch(() => {});
408
+ }, { immediate: !0 }), F(a, (e) => {
409
+ e && s.value && i.load().catch(() => {});
410
410
  });
411
- function l() {
412
- c.value && (i.value = !i.value);
413
- }
414
411
  function u() {
415
- i.value = !1;
412
+ l.value && (a.value = !a.value);
416
413
  }
417
- function d(e) {
418
- c.value && (a.value = e, i.value ? o.value && r.load().catch(() => {}) : i.value = !0);
414
+ function d() {
415
+ a.value = !1;
416
+ }
417
+ function f(e) {
418
+ l.value && (o.value = e, a.value ? s.value && i.load().catch(() => {}) : a.value = !0);
419
419
  }
420
420
  return {
421
- headless: r,
422
- isOpen: i,
423
- isAvailable: c,
424
- hasTemplate: o,
425
- unresolvedCount: s,
426
- filterBlockId: a,
427
- toggle: l,
428
- close: u,
429
- openForBlock: d,
421
+ headless: i,
422
+ isOpen: a,
423
+ isAvailable: l,
424
+ hasTemplate: s,
425
+ unresolvedCount: c,
426
+ filterBlockId: o,
427
+ toggle: u,
428
+ close: d,
429
+ openForBlock: f,
430
430
  capability: {
431
- getBlockCount: (e) => r.commentCountByBlock.value.get(e) ?? 0,
432
- openForBlock: d,
433
- isBlockSaved: (t) => e.isBlockSaved?.(t) ?? !0,
434
- isAvailable: c,
435
- unresolvedCount: s,
436
- canCreate: r.canCreate,
437
- canUpdate: r.canUpdate,
438
- canDelete: r.canDelete,
439
- canResolve: r.canResolve
431
+ getBlockCount: (e) => i.commentCountByBlock.value.get(e) ?? 0,
432
+ openForBlock: f,
433
+ isBlockSaved: (e) => t.isBlockSaved?.(e) ?? !0,
434
+ isAvailable: l,
435
+ unresolvedCount: c,
436
+ canCreate: i.canCreate,
437
+ canUpdate: i.canUpdate,
438
+ canDelete: i.canDelete,
439
+ canResolve: i.canResolve
440
440
  }
441
441
  };
442
442
  }
@@ -453,22 +453,22 @@ function Un(e) {
453
453
  message: e.message
454
454
  };
455
455
  }
456
- function Wn(e) {
457
- let { provider: t, editor: n, collaboration: r } = e, i = t.conversation ?? null, a = crypto.randomUUID(), o = f(null), s = /* @__PURE__ */ new Map(), c = !1, l = 0, u = !1;
458
- function d(e) {
459
- let t = z(e);
456
+ function Wn(t) {
457
+ let { provider: n, editor: r, collaboration: i } = t, a = n.conversation ?? null, o = crypto.randomUUID(), s = e(null), c = /* @__PURE__ */ new Map(), l = !1, u = 0, d = !1;
458
+ function f(t) {
459
+ let n = z(t);
460
460
  return {
461
- id: e,
462
- memory: t,
463
- generation: ++t.generation,
464
- messages: f(t.items),
465
- isLoadingHistory: f(!1),
466
- busy: f(!1),
467
- keptYourVersion: f(!1),
468
- failure: f(null),
469
- failedPrompt: f(null),
470
- failedAttachments: y([]),
471
- importQueue: y([]),
461
+ id: t,
462
+ memory: n,
463
+ generation: ++n.generation,
464
+ messages: e(n.items),
465
+ isLoadingHistory: e(!1),
466
+ busy: e(!1),
467
+ keptYourVersion: e(!1),
468
+ failure: e(null),
469
+ failedPrompt: e(null),
470
+ failedAttachments: A([]),
471
+ importQueue: A([]),
472
472
  loaded: !1,
473
473
  historyGeneration: 0,
474
474
  pendingHistory: null,
@@ -478,12 +478,12 @@ function Wn(e) {
478
478
  committingReload: !1,
479
479
  lastRecordedTurn: null,
480
480
  timers: /* @__PURE__ */ new Set(),
481
- highlights: y(/* @__PURE__ */ new Map()),
481
+ highlights: A(/* @__PURE__ */ new Map()),
482
482
  highlightSequence: 0
483
483
  };
484
484
  }
485
- let p = _(() => n.state.template?.id ?? null), m = y(p.value === null ? null : d(p.value)), h = _(() => m.value !== null && !c && p.value !== null), g = (e) => e === "chatAttachments" ? h.value && t.chatAttachments === !0 && typeof t.chat == "function" : typeof t[e] == "function", v = () => c ? null : m.value, b = (e) => !c && m.value === e && !e.lifetime.signal.aborted && p.value === e.id;
486
- function x(e, t) {
485
+ let p = _(() => r.state.template?.id ?? null), m = A(p.value === null ? null : f(p.value)), h = _(() => m.value !== null && !l && p.value !== null), g = (e) => e === "chatAttachments" ? h.value && n.chatAttachments === !0 && typeof n.chat == "function" : typeof n[e] == "function", v = () => l ? null : m.value, y = (e) => !l && m.value === e && !e.lifetime.signal.aborted && p.value === e.id;
486
+ function b(e, t) {
487
487
  return _({
488
488
  get: () => m.value ? e(m.value).value : t,
489
489
  set: (t) => {
@@ -492,22 +492,22 @@ function Wn(e) {
492
492
  }
493
493
  });
494
494
  }
495
- let S = x((e) => e.messages, []), C = _(() => n.content.value.blocks.length === 0), w = x((e) => e.isLoadingHistory, !1), T = x((e) => e.busy, !1), E = x((e) => e.failure, null), D = x((e) => e.keptYourVersion, !1), O = x((e) => e.failedPrompt, null), k = x((e) => e.failedAttachments, []), j = x((e) => e.importQueue, []);
495
+ let x = b((e) => e.messages, []), S = _(() => r.content.value.blocks.length === 0), C = b((e) => e.isLoadingHistory, !1), w = b((e) => e.busy, !1), T = b((e) => e.failure, null), E = b((e) => e.keptYourVersion, !1), O = b((e) => e.failedPrompt, null), k = b((e) => e.failedAttachments, []), j = b((e) => e.importQueue, []);
496
496
  function M(e) {
497
497
  e.historyGeneration++, e.pendingHistory = null, e.loaded = !1, e.isLoadingHistory.value = !1;
498
498
  }
499
499
  function N(e, t, n, r) {
500
- return b(t) ? new Promise((i, a) => {
500
+ return y(t) ? new Promise((i, a) => {
501
501
  let o = {
502
502
  kind: e,
503
503
  scope: t,
504
504
  controller: new AbortController(),
505
505
  authorVersion: 0,
506
506
  execute: async () => {
507
- o.authorVersion = l;
507
+ o.authorVersion = u;
508
508
  let e;
509
509
  try {
510
- e = await (o.controller.signal.aborted || !b(t) ? r() : n(o));
510
+ e = await (o.controller.signal.aborted || !y(t) ? r() : n(o));
511
511
  } catch (e) {
512
512
  a(e);
513
513
  return;
@@ -523,10 +523,10 @@ function Wn(e) {
523
523
  function P(e) {
524
524
  if (e.active) return;
525
525
  let t = e.queue.shift();
526
- t && (e.active = t, b(e) && (e.busy.value = !0), t.execute());
526
+ t && (e.active = t, y(e) && (e.busy.value = !0), t.execute());
527
527
  }
528
528
  function I(e) {
529
- if (e.controller.signal.throwIfAborted(), !b(e.scope)) throw new DOMException("The template changed.", "AbortError");
529
+ if (e.controller.signal.throwIfAborted(), !y(e.scope)) throw new DOMException("The template changed.", "AbortError");
530
530
  }
531
531
  async function L(e, t) {
532
532
  t.throwIfAborted();
@@ -539,23 +539,23 @@ function Wn(e) {
539
539
  t.removeEventListener("abort", n);
540
540
  }
541
541
  }
542
- async function R(t, n = !1, r = t.authorVersion) {
543
- let { scope: i } = t, a = () => i.active === t && b(i) && (n || !t.controller.signal.aborted), o = () => a() ? r === l || (i.keptYourVersion.value = !0, !1) : !1;
544
- if (e.reload && o()) try {
545
- await L(e.reload(i.id, () => o() ? (i.keptYourVersion.value = !1, i.committingReload = !0, !0) : !1), i.lifetime.signal);
542
+ async function R(e, n = !1, r = e.authorVersion) {
543
+ let { scope: i } = e, a = () => i.active === e && y(i) && (n || !e.controller.signal.aborted), o = () => a() ? r === u || (i.keptYourVersion.value = !0, !1) : !1;
544
+ if (t.reload && o()) try {
545
+ await L(t.reload(i.id, () => o() ? (i.keptYourVersion.value = !1, i.committingReload = !0, !0) : !1), i.lifetime.signal);
546
546
  } finally {
547
547
  i.committingReload = !1;
548
548
  }
549
549
  }
550
550
  function z(e) {
551
- let t = s.get(e);
551
+ let t = c.get(e);
552
552
  return t || (t = {
553
553
  generation: 0,
554
554
  items: [],
555
555
  records: /* @__PURE__ */ new Map(),
556
556
  storedIds: /* @__PURE__ */ new Set(),
557
557
  recoveries: /* @__PURE__ */ new Map()
558
- }, s.set(e, t)), t;
558
+ }, c.set(e, t)), t;
559
559
  }
560
560
  function B(e, t, n) {
561
561
  let r = setTimeout(() => {
@@ -563,47 +563,47 @@ function Wn(e) {
563
563
  }, n);
564
564
  e.timers.add(r);
565
565
  }
566
- function V(t) {
567
- zn(t) || e.onError?.(Bn(t));
566
+ function V(e) {
567
+ zn(e) || t.onError?.(Bn(e));
568
568
  }
569
569
  function H(e, t) {
570
570
  if (t.length === 0) return;
571
- if (r) {
572
- r.outline(t);
571
+ if (i) {
572
+ i.outline(t);
573
573
  return;
574
574
  }
575
- let n = ++e.highlightSequence, i = new Map(e.highlights.value);
576
- for (let e of t) i.set(e, n);
577
- e.highlights.value = i, B(e, () => {
575
+ let n = ++e.highlightSequence, r = new Map(e.highlights.value);
576
+ for (let e of t) r.set(e, n);
577
+ e.highlights.value = r, B(e, () => {
578
578
  let r = new Map(e.highlights.value);
579
579
  for (let e of t) r.get(e) === n && r.delete(e);
580
580
  e.highlights.value = r;
581
581
  }, Mn);
582
582
  }
583
583
  async function ee(e) {
584
- r && await Promise.race([r.core.settle().catch(() => {}), new Promise((t) => B(e, t, Ln))]);
584
+ i && await Promise.race([i.core.settle().catch(() => {}), new Promise((t) => B(e, t, Ln))]);
585
585
  }
586
- function U(t) {
587
- let i = K(A(n.content.value));
588
- if (new TextEncoder().encode(JSON.stringify(i)).length > 2e5) throw new Q("This template is too large for AI.", 413, "content_too_large");
586
+ function U(e) {
587
+ let n = K(D(r.content.value));
588
+ if (new TextEncoder().encode(JSON.stringify(n)).length > 2e5) throw new Q("This template is too large for AI.", 413, "content_too_large");
589
589
  return {
590
- templateId: t,
591
- content: i,
592
- revision: r ? r.core.revision.value : null,
593
- sessionId: r ? r.core.sessionId : a,
594
- mergeTags: e.mergeTags()
590
+ templateId: e,
591
+ content: n,
592
+ revision: i ? i.core.revision.value : null,
593
+ sessionId: i ? i.core.sessionId : o,
594
+ mergeTags: t.mergeTags()
595
595
  };
596
596
  }
597
597
  function W() {
598
- let e = n.state.selectedBlockId;
599
- return e ? r ? r.core.hasConfirmedBlock(e) ? e : null : Hn(n.content.value.blocks, e) ? e : null : null;
598
+ let e = r.state.selectedBlockId;
599
+ return e ? i ? i.core.hasConfirmedBlock(e) ? e : null : Hn(r.content.value.blocks, e) ? e : null : null;
600
600
  }
601
- function G(t, i, a) {
602
- let o = e.normalize(t, A(n.content.value)), s = Pn(o);
603
- if (r) {
604
- let e = r.core.applyOperations(o, {
601
+ function G(e, n, a) {
602
+ let o = t.normalize(e, D(r.content.value)), s = Pn(o);
603
+ if (i) {
604
+ let e = i.core.applyOperations(o, {
605
605
  origin: "ai",
606
- turn: i
606
+ turn: n
607
607
  });
608
608
  return e.applied ? (s.templateUpdated || H(a, s.blockIds), {
609
609
  applied: !0,
@@ -612,28 +612,28 @@ function Wn(e) {
612
612
  }
613
613
  let c;
614
614
  try {
615
- c = Z(A(n.content.value), o);
615
+ c = Z(D(r.content.value), o);
616
616
  } catch (e) {
617
617
  if (e instanceof ae) return Un(e);
618
618
  throw e;
619
619
  }
620
- a.lastRecordedTurn !== i && (e.history().record(), a.lastRecordedTurn = i), u = !0;
620
+ a.lastRecordedTurn !== n && (t.history().record(), a.lastRecordedTurn = n), d = !0;
621
621
  try {
622
- le(n.content.value, K(o)), n.markDirty();
622
+ le(r.content.value, K(o)), r.markDirty();
623
623
  } finally {
624
- u = !1;
624
+ d = !1;
625
625
  }
626
- let l = n.state.selectedBlockId;
627
- return l && !Hn(n.content.value.blocks, l) && n.selectBlock(null), s.templateUpdated || H(a, s.blockIds), {
626
+ let l = r.state.selectedBlockId;
627
+ return l && !Hn(r.content.value.blocks, l) && r.selectBlock(null), s.templateUpdated || H(a, s.blockIds), {
628
628
  applied: !0,
629
629
  inverse: c
630
630
  };
631
631
  }
632
632
  function q(e, t) {
633
- if (!r || !b(t)) return;
634
- let n = r.core;
633
+ if (!i || !y(t)) return;
634
+ let n = i.core;
635
635
  n.revision.value >= e || (n.connection.value === "connected" ? B(t, () => {
636
- b(t) && n.revision.value < e && n.catchUp();
636
+ y(t) && n.revision.value < e && n.catchUp();
637
637
  }, Rn) : n.catchUp());
638
638
  }
639
639
  function Y(e, t, n) {
@@ -655,8 +655,8 @@ function Wn(e) {
655
655
  function X(e, t) {
656
656
  let n = e.role === "assistant" && e.operationCount > 0;
657
657
  if (t.storedIds.has(e.id)) return {
658
- canUndo: n && !e.undone && typeof i?.undo == "function",
659
- canRedo: n && e.undone && typeof i?.redo == "function"
658
+ canUndo: n && !e.undone && typeof a?.undo == "function",
659
+ canRedo: n && e.undone && typeof a?.redo == "function"
660
660
  };
661
661
  let r = t.records.get(e.id);
662
662
  return {
@@ -670,7 +670,7 @@ function Wn(e) {
670
670
  text: "",
671
671
  failed: !0
672
672
  });
673
- function ne(t, n, a, o = []) {
673
+ function ne(e, n, r, o = []) {
674
674
  let s = v();
675
675
  return !s || s.active?.kind === "turn" || s.queue.some((e) => e.kind === "turn") ? Promise.resolve(te()) : N("turn", s, async (c) => {
676
676
  let { controller: l } = c, u = s.memory, d = crypto.randomUUID(), f = crypto.randomUUID(), p = crypto.randomUUID(), m = 0, h = "", g = !1, _ = null, v = {
@@ -678,22 +678,22 @@ function Wn(e) {
678
678
  redo: null,
679
679
  serverApplied: !1,
680
680
  batchIds: /* @__PURE__ */ new Set()
681
- }, y, x = !1, S = !1, C = (e) => Y(s, p, e), w = () => {
681
+ }, b, x = !1, S = !1, C = (e) => Y(s, p, e), w = () => {
682
682
  let e = u.items.find((e) => e.id === p);
683
- i && e && u.recoveries.set(d, {
683
+ a && e && u.recoveries.set(d, {
684
684
  item: e,
685
685
  user: u.items.find((e) => e.id === f),
686
686
  record: v
687
687
  });
688
688
  }, T = () => {
689
- !S && (i || !r && e.reload) && (S = !0, N("reconcile", s, async (t) => {
689
+ !S && (a || !i && t.reload) && (S = !0, N("reconcile", s, async (e) => {
690
690
  try {
691
691
  let n;
692
692
  do
693
- n = m, !r && e.reload && await R(t, !0, c.authorVersion), i && await se(t, !0, !0);
694
- while (b(s) && n !== m);
693
+ n = m, !i && t.reload && await R(e, !0, c.authorVersion), a && await se(e, !0, !0);
694
+ while (y(s) && n !== m);
695
695
  } catch (e) {
696
- b(s) && V(e);
696
+ y(s) && V(e);
697
697
  } finally {
698
698
  S = !1;
699
699
  }
@@ -709,22 +709,22 @@ function Wn(e) {
709
709
  let t = G(e, d, s);
710
710
  return t.applied && (v.inverse = [...t.inverse, ...v.inverse], m += e.length, C({ operationCount: m })), t;
711
711
  },
712
- onApplied: (t) => {
713
- if (!b(s)) throw new DOMException("The template changed.", "AbortError");
714
- if (!r && !e.reload) throw _ ??= new Q(cn, 502, "ai_provider_error"), _;
715
- v.serverApplied = !0, v.batchIds.add(t.batchId), m += t.operationCount, C({ operationCount: m }), q(t.revision, s), x && (w(), T());
712
+ onApplied: (e) => {
713
+ if (!y(s)) throw new DOMException("The template changed.", "AbortError");
714
+ if (!i && !t.reload) throw _ ??= new Q(cn, 502, "ai_provider_error"), _;
715
+ v.serverApplied = !0, v.batchIds.add(e.batchId), m += e.operationCount, C({ operationCount: m }), q(e.revision, s), x && (w(), T());
716
716
  }
717
717
  };
718
718
  try {
719
719
  try {
720
720
  await se(c), I(c), s.failure.value = null, s.failedPrompt.value = null, s.failedAttachments.value = [];
721
- let e = (/* @__PURE__ */ new Date()).toISOString();
721
+ let t = (/* @__PURE__ */ new Date()).toISOString();
722
722
  u.records.set(p, v), u.items = [
723
723
  ...u.items,
724
724
  {
725
725
  id: f,
726
726
  role: "user",
727
- kind: t,
727
+ kind: e,
728
728
  text: n,
729
729
  attachments: o.map((e) => ({
730
730
  name: e.name,
@@ -734,44 +734,44 @@ function Wn(e) {
734
734
  undone: !1,
735
735
  canUndo: !1,
736
736
  canRedo: !1,
737
- createdAt: e,
737
+ createdAt: t,
738
738
  status: "done"
739
739
  },
740
740
  {
741
741
  id: p,
742
742
  role: "assistant",
743
- kind: t,
743
+ kind: e,
744
744
  text: "",
745
745
  attachments: [],
746
746
  operationCount: 0,
747
747
  undone: !1,
748
748
  canUndo: !1,
749
749
  canRedo: !1,
750
- createdAt: e,
750
+ createdAt: t,
751
751
  status: "streaming"
752
752
  }
753
753
  ], s.messages.value = u.items, await L(ee(s), c.controller.signal), I(c);
754
- let r = await L(a(U(s.id), E, l.signal), l.signal);
754
+ let i = await L(r(U(s.id), E, l.signal), l.signal);
755
755
  if (I(c), _) throw _;
756
- if (r.text !== "" && (h = r.text), r.messageId !== null && i) {
756
+ if (i.text !== "" && (h = i.text), i.messageId !== null && a) {
757
757
  let e = p;
758
- p = r.messageId, u.storedIds.add(p), u.records.delete(e), u.records.set(p, v), Y(s, e, { id: p });
758
+ p = i.messageId, u.storedIds.add(p), u.records.delete(e), u.records.set(p, v), Y(s, e, { id: p });
759
759
  }
760
760
  C({
761
761
  text: h,
762
762
  status: "done"
763
- }), y = {
763
+ }), b = {
764
764
  messageId: p,
765
765
  operationCount: m,
766
766
  text: h,
767
767
  failed: !1
768
768
  };
769
- } catch (e) {
770
- let r = _ ?? e;
771
- g = l.signal.aborted || zn(r), g || V(r), m === 0 && (!g || h === "") ? (u.items = u.items.filter((e) => e.id !== p && e.id !== f), b(s) && (s.messages.value = u.items, g || (t === "chat" && (s.failedPrompt.value = n, s.failedAttachments.value = o), s.failure.value = {
769
+ } catch (t) {
770
+ let r = _ ?? t;
771
+ g = l.signal.aborted || zn(r), g || V(r), m === 0 && (!g || h === "") ? (u.items = u.items.filter((e) => e.id !== p && e.id !== f), y(s) && (s.messages.value = u.items, g || (e === "chat" && (s.failedPrompt.value = n, s.failedAttachments.value = o), s.failure.value = {
772
772
  error: Bn(r),
773
773
  context: "turn"
774
- })), y = {
774
+ })), b = {
775
775
  messageId: null,
776
776
  operationCount: 0,
777
777
  text: "",
@@ -782,97 +782,97 @@ function Wn(e) {
782
782
  error: Bn(r),
783
783
  context: "turn"
784
784
  }
785
- }), y = {
785
+ }), b = {
786
786
  messageId: p,
787
787
  operationCount: m,
788
788
  text: h,
789
789
  failed: !g
790
790
  });
791
791
  }
792
- i && y.messageId !== null && m > 0 && (y.failed || g) && w();
792
+ a && b.messageId !== null && m > 0 && (b.failed || g) && w();
793
793
  let x;
794
794
  do
795
- if (x = m, v.serverApplied && !r && e.reload && b(s) && await R(c, !0).catch((e) => {
796
- b(s) && V(e);
797
- }), i && u.recoveries.has(d) && b(s)) {
795
+ if (x = m, v.serverApplied && !i && t.reload && y(s) && await R(c, !0).catch((e) => {
796
+ y(s) && V(e);
797
+ }), a && u.recoveries.has(d) && y(s)) {
798
798
  await se(c, !0, !0);
799
799
  let e = u.recoveries.get(d);
800
- e && (y.messageId = e.item.id, y.text = e.item.text);
800
+ e && (b.messageId = e.item.id, b.text = e.item.text);
801
801
  }
802
- while (b(s) && v.serverApplied && x !== m);
803
- return y.operationCount = m, (g || l.signal.aborted) && (y.failed = !0), y;
802
+ while (y(s) && v.serverApplied && x !== m);
803
+ return b.operationCount = m, (g || l.signal.aborted) && (b.failed = !0), b;
804
804
  } finally {
805
805
  x = !0, s.messages.value = u.items;
806
806
  }
807
807
  }, te);
808
808
  }
809
- function re(t, n) {
810
- let o = v();
811
- return !o || o.busy.value ? Promise.resolve() : N("replay", o, async (s) => {
812
- let c = o.memory, l = c.items.find((e) => e.id === t);
809
+ function re(e, n) {
810
+ let r = v();
811
+ return !r || r.busy.value ? Promise.resolve() : N("replay", r, async (s) => {
812
+ let c = r.memory, l = c.items.find((t) => t.id === e);
813
813
  if (!l) return;
814
- let u = i?.[n], d = c.records.get(t);
814
+ let u = a?.[n], d = c.records.get(e);
815
815
  try {
816
- if (I(s), c.storedIds.has(t)) {
816
+ if (I(s), c.storedIds.has(e)) {
817
817
  if (typeof u != "function") throw new Q(`This AI backend does not support ${n}.`, 403, "feature_unavailable");
818
818
  if (l.undone !== (n === "redo")) return;
819
- let c = await L(u(o.id, t, { sessionId: r ? r.core.sessionId : a }), o.lifetime.signal);
820
- if (!b(o)) return;
819
+ let c = await L(u(r.id, e, { sessionId: i ? i.core.sessionId : o }), r.lifetime.signal);
820
+ if (!y(r)) return;
821
821
  if ("operations" in c) {
822
822
  if (s.controller.signal.aborted) return;
823
- let e = G(c.operations, `${n}:${t}:${crypto.randomUUID()}`, o);
824
- e.applied && Y(o, t, {
823
+ let t = G(c.operations, `${n}:${e}:${crypto.randomUUID()}`, r);
824
+ t.applied && Y(r, e, {
825
825
  undone: n === "undo",
826
826
  failure: void 0
827
827
  });
828
828
  try {
829
- await L(i.settleReplay(o.id, t, {
829
+ await L(a.settleReplay(r.id, e, {
830
830
  replayId: c.replayId,
831
831
  direction: n,
832
- applied: e.applied,
833
- sessionId: r ? r.core.sessionId : a
834
- }), o.lifetime.signal);
835
- } catch (e) {
836
- if (!b(o)) return;
837
- V(e), Y(o, t, { failure: {
838
- error: Bn(e),
832
+ applied: t.applied,
833
+ sessionId: i ? i.core.sessionId : o
834
+ }), r.lifetime.signal);
835
+ } catch (t) {
836
+ if (!y(r)) return;
837
+ V(t), Y(r, e, { failure: {
838
+ error: Bn(t),
839
839
  context: n
840
840
  } });
841
841
  }
842
- if (!b(o)) return;
843
- if (!e.applied) throw new J(e.message, {
844
- code: e.code,
845
- opIndex: e.opIndex
842
+ if (!y(r)) return;
843
+ if (!t.applied) throw new J(t.message, {
844
+ code: t.code,
845
+ opIndex: t.opIndex
846
846
  });
847
847
  return;
848
848
  }
849
- if (Y(o, t, {
849
+ if (Y(r, e, {
850
850
  undone: n === "undo",
851
851
  failure: void 0
852
- }), r) q(c.applied.revision, o);
853
- else if (e.reload) await R(s, !0);
852
+ }), i) q(c.applied.revision, r);
853
+ else if (t.reload) await R(s, !0);
854
854
  else throw new Q(cn, 502, "ai_provider_error");
855
855
  return;
856
856
  }
857
857
  {
858
858
  if (l.undone !== (n === "redo")) return;
859
- let e = n === "undo" ? d?.inverse : d?.redo;
860
- if (!d || d.serverApplied || !e || e.length === 0) return;
861
- let r = G(e, `${n}:${t}:${crypto.randomUUID()}`, o);
862
- if (!r.applied) throw new J(r.message, {
863
- code: r.code,
864
- opIndex: r.opIndex
859
+ let t = n === "undo" ? d?.inverse : d?.redo;
860
+ if (!d || d.serverApplied || !t || t.length === 0) return;
861
+ let i = G(t, `${n}:${e}:${crypto.randomUUID()}`, r);
862
+ if (!i.applied) throw new J(i.message, {
863
+ code: i.code,
864
+ opIndex: i.opIndex
865
865
  });
866
- n === "undo" ? d.redo = r.inverse : d.inverse = r.inverse;
866
+ n === "undo" ? d.redo = i.inverse : d.inverse = i.inverse;
867
867
  }
868
- Y(o, t, {
868
+ Y(r, e, {
869
869
  undone: n === "undo",
870
870
  failure: void 0
871
871
  });
872
- } catch (e) {
873
- if (!b(o) || zn(e)) return;
874
- V(e), Y(o, t, { failure: {
875
- error: Bn(e),
872
+ } catch (t) {
873
+ if (!y(r) || zn(t)) return;
874
+ V(t), Y(r, e, { failure: {
875
+ error: Bn(t),
876
876
  context: n
877
877
  } });
878
878
  }
@@ -925,29 +925,29 @@ function Wn(e) {
925
925
  return r;
926
926
  }
927
927
  async function se(e, t = !1, n = !1, r = e.scope.historyGeneration) {
928
- let { scope: a } = e;
929
- if (!b(a) || r !== a.historyGeneration || !n && e.controller.signal.aborted || !t && a.loaded) return;
930
- let o = a.memory;
931
- if (!i) a.messages.value = o.items, a.loaded = !0;
928
+ let { scope: i } = e;
929
+ if (!y(i) || r !== i.historyGeneration || !n && e.controller.signal.aborted || !t && i.loaded) return;
930
+ let o = i.memory;
931
+ if (!a) i.messages.value = o.items, i.loaded = !0;
932
932
  else {
933
- a.isLoadingHistory.value = !0, a.loaded = !1;
933
+ i.isLoadingHistory.value = !0, i.loaded = !1;
934
934
  try {
935
- await L(i.list(a.id).then((t) => {
936
- !c && o.generation === a.generation && r === a.historyGeneration && (n || b(a) && !e.controller.signal.aborted) && (o.items = oe(t, o), a.messages.value = o.items, a.loaded = !0, a.failure.value?.context === "history" && (a.failure.value = null));
937
- }), n ? a.lifetime.signal : e.controller.signal);
935
+ await L(a.list(i.id).then((t) => {
936
+ !l && o.generation === i.generation && r === i.historyGeneration && (n || y(i) && !e.controller.signal.aborted) && (o.items = oe(t, o), i.messages.value = o.items, i.loaded = !0, i.failure.value?.context === "history" && (i.failure.value = null));
937
+ }), n ? i.lifetime.signal : e.controller.signal);
938
938
  } catch (e) {
939
- if (!b(a) || r !== a.historyGeneration || zn(e)) return;
940
- V(e), a.failure.value = {
939
+ if (!y(i) || r !== i.historyGeneration || zn(e)) return;
940
+ V(e), i.failure.value = {
941
941
  error: Bn(e),
942
942
  context: "history"
943
943
  };
944
944
  } finally {
945
- r === a.historyGeneration && (a.isLoadingHistory.value = !1);
945
+ r === i.historyGeneration && (i.isLoadingHistory.value = !1);
946
946
  }
947
947
  }
948
948
  }
949
949
  function ce(e = v()) {
950
- if (!e || !b(e)) return Promise.resolve();
950
+ if (!e || !y(e)) return Promise.resolve();
951
951
  if (e.pendingHistory?.generation === e.historyGeneration) return e.pendingHistory.promise;
952
952
  if (e.loaded) return Promise.resolve();
953
953
  let t = e.historyGeneration, n = {
@@ -960,12 +960,12 @@ function Wn(e) {
960
960
  }
961
961
  function ue() {
962
962
  let e = v();
963
- return !e || i && typeof i.clear != "function" || e.active && e.active.kind !== "history" && e.active.kind !== "read" || e.queue.some((e) => e.kind !== "history" && e.kind !== "read") ? Promise.resolve() : (M(e), e.active?.controller.abort(), N("clear", e, async () => {
963
+ return !e || a && typeof a.clear != "function" || e.active && e.active.kind !== "history" && e.active.kind !== "read" || e.queue.some((e) => e.kind !== "history" && e.kind !== "read") ? Promise.resolve() : (M(e), e.active?.controller.abort(), N("clear", e, async () => {
964
964
  try {
965
- if (i && typeof i.clear == "function" && await i.clear(e.id), e.memory.generation !== e.generation) return;
966
- s.delete(e.id), e.memory.items = [], e.memory.records.clear(), e.memory.storedIds.clear(), e.memory.recoveries.clear(), M(e), e.messages.value = [], e.loaded = !0, e.failure.value = null, e.failedPrompt.value = null, e.failedAttachments.value = [], b(e) && s.set(e.id, e.memory);
965
+ if (a && typeof a.clear == "function" && await a.clear(e.id), e.memory.generation !== e.generation) return;
966
+ c.delete(e.id), e.memory.items = [], e.memory.records.clear(), e.memory.storedIds.clear(), e.memory.recoveries.clear(), M(e), e.messages.value = [], e.loaded = !0, e.failure.value = null, e.failedPrompt.value = null, e.failedAttachments.value = [], y(e) && c.set(e.id, e.memory);
967
967
  } catch (t) {
968
- if (!b(e)) return;
968
+ if (!y(e)) return;
969
969
  V(t), e.failure.value = {
970
970
  error: Bn(t),
971
971
  context: "history"
@@ -974,11 +974,11 @@ function Wn(e) {
974
974
  }, () => {}));
975
975
  }
976
976
  function de(e) {
977
- b(e) && ce(e);
977
+ y(e) && ce(e);
978
978
  }
979
- function fe(t) {
979
+ function fe(e) {
980
980
  let n = v();
981
- n && b(n) && (o.value !== t && n.busy.value && ge(), o.value = t, e.commentsOpen && (e.commentsOpen.value = !1), t === "chat" && de(n));
981
+ n && y(n) && (s.value !== e && n.busy.value && ge(), s.value = e, t.commentsOpen && (t.commentsOpen.value = !1), e === "chat" && de(n));
982
982
  }
983
983
  function pe(e) {
984
984
  e.length !== 0 && g("chatAttachments") && (j.value = [...e], fe("chat"));
@@ -997,76 +997,76 @@ function Wn(e) {
997
997
  e && me(e);
998
998
  }
999
999
  function _e() {
1000
- ge(), o.value = null;
1000
+ ge(), s.value = null;
1001
1001
  }
1002
- let ve = [F(() => n.state.isDirty, (e, t) => {
1003
- t === !0 && e === !1 && n.state.isSaving && (D.value = !1);
1004
- }, { flush: "sync" }), F(n.content, () => {
1005
- !u && !m.value?.committingReload && l++;
1002
+ let ve = [F(() => r.state.isDirty, (e, t) => {
1003
+ t === !0 && e === !1 && r.state.isSaving && (E.value = !1);
1004
+ }, { flush: "sync" }), F(r.content, () => {
1005
+ !d && !m.value?.committingReload && u++;
1006
1006
  }, {
1007
1007
  deep: !0,
1008
1008
  flush: "sync"
1009
1009
  })];
1010
- e.commentsOpen && ve.push(F(e.commentsOpen, (e) => {
1010
+ t.commentsOpen && ve.push(F(t.commentsOpen, (e) => {
1011
1011
  e && _e();
1012
- })), ve.push(F(() => n.loadVersion?.value ?? p.value, () => {
1013
- if (c) return;
1012
+ })), ve.push(F(() => r.loadVersion?.value ?? p.value, () => {
1013
+ if (l) return;
1014
1014
  let e = m.value;
1015
- if (e?.committingReload && b(e)) {
1015
+ if (e?.committingReload && y(e)) {
1016
1016
  e.committingReload = !1;
1017
1017
  return;
1018
1018
  }
1019
1019
  e && he(e);
1020
- let t = p.value, n = t === null ? null : d(t);
1021
- m.value = n, n && o.value === "chat" && de(n);
1020
+ let t = p.value, n = t === null ? null : f(t);
1021
+ m.value = n, n && s.value === "chat" && de(n);
1022
1022
  }, { flush: "sync" }));
1023
- async function ye(i, o) {
1024
- let s = v(), c = t.altText, l = new AbortController(), u = () => l.abort(o?.reason), d = () => l.abort();
1023
+ async function ye(e, a) {
1024
+ let s = v(), c = n.altText, l = new AbortController(), u = () => l.abort(a?.reason), d = () => l.abort();
1025
1025
  try {
1026
- if (o?.throwIfAborted(), !s || typeof c != "function") throw new Q("This AI feature isn't available.", 403, "feature_unavailable");
1027
- let t = dn(n.content.value, i);
1028
- if (!t) throw new Q("The image is no longer available.", 409, "block_missing");
1029
- o?.addEventListener("abort", u, { once: !0 }), s.lifetime.signal.addEventListener("abort", d, { once: !0 });
1030
- let { url: f, ...p } = t, m = await L(c({
1026
+ if (a?.throwIfAborted(), !s || typeof c != "function") throw new Q("This AI feature isn't available.", 403, "feature_unavailable");
1027
+ let n = dn(r.content.value, e);
1028
+ if (!n) throw new Q("The image is no longer available.", 409, "block_missing");
1029
+ a?.addEventListener("abort", u, { once: !0 }), s.lifetime.signal.addEventListener("abort", d, { once: !0 });
1030
+ let { url: f, ...p } = n, m = await L(c({
1031
1031
  templateId: s.id,
1032
- sessionId: r ? r.core.sessionId : a,
1033
- blockId: i,
1032
+ sessionId: i ? i.core.sessionId : o,
1033
+ blockId: e,
1034
1034
  image: { url: f },
1035
1035
  ...p,
1036
- locale: n.content.value.settings.locale,
1037
- maxLength: e.altMaxLength?.() ?? 125
1036
+ locale: r.content.value.settings.locale,
1037
+ maxLength: t.altMaxLength?.() ?? 125
1038
1038
  }, l.signal), l.signal);
1039
- if (l.signal.throwIfAborted(), !b(s)) throw new DOMException("The template changed.", "AbortError");
1039
+ if (l.signal.throwIfAborted(), !y(s)) throw new DOMException("The template changed.", "AbortError");
1040
1040
  return m.alt;
1041
1041
  } catch (e) {
1042
1042
  throw V(e), e;
1043
1043
  } finally {
1044
- o?.removeEventListener("abort", u), s?.lifetime.signal.removeEventListener("abort", d);
1044
+ a?.removeEventListener("abort", u), s?.lifetime.signal.removeEventListener("abort", d);
1045
1045
  }
1046
1046
  }
1047
1047
  function be(e) {
1048
1048
  let t = v();
1049
1049
  if (!t || e.length === 0) return Promise.resolve();
1050
- let r = e.map(({ blockId: e, alt: t, decorative: r, expect: i }) => ({
1050
+ let n = e.map(({ blockId: e, alt: t, decorative: n, expect: i }) => ({
1051
1051
  op: "updateBlock",
1052
1052
  blockId: e,
1053
- expect: { ...i ?? un(n.content.value, e) ?? {
1053
+ expect: { ...i ?? un(r.content.value, e) ?? {
1054
1054
  src: null,
1055
1055
  alt: null,
1056
1056
  decorative: null
1057
1057
  } },
1058
1058
  set: {
1059
1059
  alt: t,
1060
- decorative: r
1060
+ decorative: n
1061
1061
  }
1062
1062
  }));
1063
1063
  return N("replay", t, async (e) => {
1064
1064
  try {
1065
1065
  I(e);
1066
- let n = crypto.randomUUID();
1067
- for (let i = 0; i < r.length; i += 100) {
1066
+ let r = crypto.randomUUID();
1067
+ for (let i = 0; i < n.length; i += 100) {
1068
1068
  I(e);
1069
- let a = G(r.slice(i, i + 100), n, t);
1069
+ let a = G(n.slice(i, i + 100), r, t);
1070
1070
  if (!a.applied) throw new J(a.message, {
1071
1071
  code: a.code,
1072
1072
  opIndex: a.opIndex
@@ -1084,22 +1084,22 @@ function Wn(e) {
1084
1084
  startImport: pe,
1085
1085
  highlightOf: (e) => m.value?.highlights.value.get(e) ?? null
1086
1086
  },
1087
- panel: o,
1087
+ panel: s,
1088
1088
  open: fe,
1089
1089
  close: _e,
1090
1090
  has: g,
1091
1091
  templateId: p,
1092
1092
  sessionIdentity: _(() => m.value),
1093
- templateSession: _(() => n.loadVersion?.value ?? p.value),
1093
+ templateSession: _(() => r.loadVersion?.value ?? p.value),
1094
1094
  isAvailable: h,
1095
- hasConversation: i !== null,
1096
- canClear: i === null || typeof i.clear == "function",
1097
- messages: S,
1098
- isLoadingHistory: w,
1099
- isRunning: T,
1100
- busy: T,
1101
- failure: E,
1102
- keptYourVersion: D,
1095
+ hasConversation: a !== null,
1096
+ canClear: a === null || typeof a.clear == "function",
1097
+ messages: x,
1098
+ isLoadingHistory: C,
1099
+ isRunning: w,
1100
+ busy: w,
1101
+ failure: T,
1102
+ keptYourVersion: E,
1103
1103
  reloadTemplate: () => {
1104
1104
  let e = v();
1105
1105
  return e ? N("reconcile", e, (e) => R(e), () => {}) : Promise.resolve();
@@ -1108,19 +1108,19 @@ function Wn(e) {
1108
1108
  failedAttachments: k,
1109
1109
  importQueue: j,
1110
1110
  startImport: pe,
1111
- isTemplateEmpty: C,
1112
- send: (e, n = []) => {
1113
- let r = t.chat;
1114
- return typeof r == "function" ? ne("chat", e, (t, i, a) => r({
1115
- ...t,
1111
+ isTemplateEmpty: S,
1112
+ send: (e, t = []) => {
1113
+ let r = n.chat;
1114
+ return typeof r == "function" ? ne("chat", e, (n, i, a) => r({
1115
+ ...n,
1116
1116
  message: e,
1117
1117
  selectedBlockId: W(),
1118
- attachments: n.map((e) => ({
1118
+ attachments: t.map((e) => ({
1119
1119
  file: e,
1120
1120
  name: e.name,
1121
1121
  kind: e.type === "application/pdf" ? "pdf" : "image"
1122
1122
  }))
1123
- }, i, a), n) : Promise.resolve({
1123
+ }, i, a), t) : Promise.resolve({
1124
1124
  messageId: null,
1125
1125
  operationCount: 0,
1126
1126
  text: "",
@@ -1128,9 +1128,9 @@ function Wn(e) {
1128
1128
  });
1129
1129
  },
1130
1130
  fix: (e) => {
1131
- let n = t.fixFinding;
1132
- return typeof n == "function" ? ne("fix", `Fix: ${e.message}`, (t, r, i) => n({
1133
- ...t,
1131
+ let t = n.fixFinding;
1132
+ return typeof t == "function" ? ne("fix", `Fix: ${e.message}`, (n, r, i) => t({
1133
+ ...n,
1134
1134
  finding: e
1135
1135
  }, r, i)) : Promise.resolve({
1136
1136
  messageId: null,
@@ -1143,18 +1143,18 @@ function Wn(e) {
1143
1143
  newChat: ue,
1144
1144
  undoMessage: (e) => re(e, "undo"),
1145
1145
  redoMessage: (e) => re(e, "redo"),
1146
- rewrite: (e, n, r) => {
1147
- let i = v(), a = t.rewrite;
1148
- return !i || typeof a != "function" ? Promise.reject(/* @__PURE__ */ Error("Rewrite isn't available.")) : N("read", i, async (t) => {
1149
- let o = () => t.controller.abort(r.reason);
1146
+ rewrite: (e, t, r) => {
1147
+ let i = v(), a = n.rewrite;
1148
+ return !i || typeof a != "function" ? Promise.reject(/* @__PURE__ */ Error("Rewrite isn't available.")) : N("read", i, async (n) => {
1149
+ let o = () => n.controller.abort(r.reason);
1150
1150
  r.addEventListener("abort", o, { once: !0 });
1151
1151
  try {
1152
- return r.throwIfAborted(), I(t), await L(a({
1152
+ return r.throwIfAborted(), I(n), await L(a({
1153
1153
  ...U(i.id),
1154
1154
  ...e
1155
1155
  }, { onText: (e) => {
1156
- I(t), n(e);
1157
- } }, t.controller.signal), t.controller.signal);
1156
+ I(n), t(e);
1157
+ } }, n.controller.signal), n.controller.signal);
1158
1158
  } catch (e) {
1159
1159
  throw V(e), e;
1160
1160
  } finally {
@@ -1167,8 +1167,8 @@ function Wn(e) {
1167
1167
  draftAltText: ye,
1168
1168
  applyAltTexts: be,
1169
1169
  destroy: () => {
1170
- if (c) return;
1171
- c = !0;
1170
+ if (l) return;
1171
+ l = !0;
1172
1172
  let e = m.value;
1173
1173
  e && he(e), m.value = null;
1174
1174
  for (let e of ve) e();
@@ -1224,54 +1224,54 @@ function Xn(e, t, n) {
1224
1224
  let i = e.mimeTypes;
1225
1225
  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"}.`);
1226
1226
  }
1227
- function Zn(e) {
1228
- let { provider: t, onRequestMedia: n, getTemplateId: r, onError: i } = e, a = f(!1), o = f(void 0), s = _(() => r?.()), c = _(() => !!n || typeof t?.create == "function"), l = null;
1229
- function u(e) {
1230
- a.value = !1, l?.(e), l = null;
1231
- }
1227
+ function Zn(t) {
1228
+ let { provider: n, onRequestMedia: r, getTemplateId: i, onError: a } = t, o = e(!1), s = e(void 0), c = _(() => i?.()), l = _(() => !!r || typeof n?.create == "function"), u = null;
1232
1229
  function d(e) {
1233
- u(Qn(e));
1230
+ o.value = !1, u?.(e), u = null;
1231
+ }
1232
+ function f(e) {
1233
+ d(Qn(e));
1234
1234
  }
1235
1235
  function p() {
1236
- u(null);
1236
+ d(null);
1237
1237
  }
1238
1238
  return h(() => {
1239
- l && u(null);
1239
+ u && d(null);
1240
1240
  }), {
1241
- requestMedia: n || t ? async (e) => {
1242
- if (n) return n(e);
1243
- if (!t) return null;
1241
+ requestMedia: r || n ? async (e) => {
1242
+ if (r) return r(e);
1243
+ if (!n) return null;
1244
1244
  if (e?.files?.length) {
1245
- if (typeof t.create != "function") return null;
1246
- let n = e.files[0], a = Xn(t, n, e.accept);
1247
- if (a) return i?.(a), null;
1248
- let o = r?.();
1245
+ if (typeof n.create != "function") return null;
1246
+ let t = e.files[0], r = Xn(n, t, e.accept);
1247
+ if (r) return a?.(r), null;
1248
+ let o = i?.();
1249
1249
  try {
1250
- let e = await t.create({
1251
- file: n,
1250
+ let e = await n.create({
1251
+ file: t,
1252
1252
  ...o ? { templateId: o } : {}
1253
1253
  });
1254
1254
  try {
1255
- t.onCreated?.(e);
1255
+ n.onCreated?.(e);
1256
1256
  } catch (e) {
1257
- i?.(Yn(e));
1257
+ a?.(Yn(e));
1258
1258
  }
1259
1259
  return Qn(e);
1260
1260
  } catch (e) {
1261
- return i?.(Yn(e)), null;
1261
+ return a?.(Yn(e)), null;
1262
1262
  }
1263
1263
  }
1264
- return l &&= (l(null), null), o.value = e?.accept, a.value = !0, new Promise((e) => {
1265
- l = e;
1264
+ return u &&= (u(null), null), s.value = e?.accept, o.value = !0, new Promise((e) => {
1265
+ u = e;
1266
1266
  });
1267
1267
  } : null,
1268
- canDrop: c,
1269
- isModalOpen: a,
1270
- accept: o,
1268
+ canDrop: l,
1269
+ isModalOpen: o,
1270
+ accept: s,
1271
1271
  close: p,
1272
- select: d,
1273
- templateId: s,
1274
- onError: i
1272
+ select: f,
1273
+ templateId: c,
1274
+ onError: a
1275
1275
  };
1276
1276
  }
1277
1277
  function Qn(e) {
@@ -1286,81 +1286,81 @@ function Qn(e) {
1286
1286
  };
1287
1287
  }
1288
1288
  // src/composables/useSavedBlocksFeature.ts
1289
- function $n(e) {
1290
- let { provider: t, editor: n } = e, r = ge({
1291
- provider: t,
1292
- onError: e.onError
1293
- }), i = f(!1), a = f(!1), o = f(!1), s = f(/* @__PURE__ */ new Set()), l = _(() => o.value), u = _(() => s.value.size);
1294
- function d(e) {
1295
- r.canCreate.value && (n.state.previewMode || (s.value = /* @__PURE__ */ new Set([e]), o.value = !0));
1289
+ function $n(t) {
1290
+ let { provider: n, editor: r } = t, i = ge({
1291
+ provider: n,
1292
+ onError: t.onError
1293
+ }), a = e(!1), o = e(!1), s = e(!1), l = e(/* @__PURE__ */ new Set()), u = _(() => s.value), d = _(() => l.value.size);
1294
+ function f(e) {
1295
+ i.canCreate.value && (r.state.previewMode || (l.value = /* @__PURE__ */ new Set([e]), s.value = !0));
1296
1296
  }
1297
1297
  function p(e) {
1298
- if (!o.value) return;
1299
- let t = new Set(s.value);
1300
- t.has(e) ? t.delete(e) : t.add(e), s.value = t;
1298
+ if (!s.value) return;
1299
+ let t = new Set(l.value);
1300
+ t.has(e) ? t.delete(e) : t.add(e), l.value = t;
1301
1301
  }
1302
1302
  function m(e) {
1303
- return s.value.has(e);
1303
+ return l.value.has(e);
1304
1304
  }
1305
1305
  function h() {
1306
- o.value = !1, s.value = /* @__PURE__ */ new Set();
1306
+ s.value = !1, l.value = /* @__PURE__ */ new Set();
1307
1307
  }
1308
1308
  function g() {
1309
- u.value !== 0 && (o.value = !1, i.value = !0, S());
1309
+ d.value !== 0 && (s.value = !1, a.value = !0, S());
1310
1310
  }
1311
1311
  function v() {
1312
- i.value = !1, s.value = /* @__PURE__ */ new Set();
1312
+ a.value = !1, l.value = /* @__PURE__ */ new Set();
1313
1313
  }
1314
- F(() => n.state.previewMode, (e) => {
1315
- e && o.value && h();
1314
+ F(() => r.state.previewMode, (e) => {
1315
+ e && s.value && h();
1316
1316
  });
1317
1317
  function y() {
1318
- a.value = !0, S();
1318
+ o.value = !0, S();
1319
1319
  }
1320
1320
  function b() {
1321
- a.value = !1;
1321
+ o.value = !1;
1322
1322
  }
1323
1323
  function x(e, t) {
1324
- for (let r = 0; r < e.content.length; r++) {
1325
- let i = de(e.content[r]), a = t === void 0 ? void 0 : t + r;
1326
- n.addBlock(i, void 0, void 0, a);
1324
+ for (let n = 0; n < e.content.length; n++) {
1325
+ let i = de(e.content[n]), a = t === void 0 ? void 0 : t + n;
1326
+ r.addBlock(i, void 0, void 0, a);
1327
1327
  }
1328
- a.value = !1;
1328
+ o.value = !1;
1329
1329
  }
1330
1330
  function S() {
1331
- r.load().catch(() => {});
1332
- }
1333
- let C = _(() => r.savedBlocks.value.length), w = _(() => e.isAvailable?.() ?? !0);
1334
- return c(gt, r), {
1335
- headless: r,
1336
- isPicking: l,
1337
- pickedIds: s,
1338
- pickedCount: u,
1339
- startPicking: d,
1331
+ i.load().catch(() => {});
1332
+ }
1333
+ let C = _(() => i.savedBlocks.value.length), w = _(() => t.isAvailable?.() ?? !0);
1334
+ return c(gt, i), {
1335
+ headless: i,
1336
+ isPicking: u,
1337
+ pickedIds: l,
1338
+ pickedCount: d,
1339
+ startPicking: f,
1340
1340
  togglePick: p,
1341
1341
  isPicked: m,
1342
1342
  confirmPicking: g,
1343
1343
  cancelPicking: h,
1344
- isSaveDialogOpen: i,
1344
+ isSaveDialogOpen: a,
1345
1345
  closeSaveDialog: v,
1346
- isBrowserOpen: a,
1346
+ isBrowserOpen: o,
1347
1347
  openBrowser: y,
1348
1348
  closeBrowser: b,
1349
1349
  insert: x,
1350
1350
  refresh: S,
1351
1351
  capability: {
1352
- startPicking: d,
1352
+ startPicking: f,
1353
1353
  togglePick: p,
1354
1354
  isPicked: m,
1355
- isPicking: l,
1355
+ isPicking: u,
1356
1356
  confirmPicking: g,
1357
1357
  cancelPicking: h,
1358
1358
  openBrowser: y,
1359
1359
  count: C,
1360
1360
  isAvailable: w,
1361
- canCreate: r.canCreate,
1362
- canUpdate: r.canUpdate,
1363
- canDelete: r.canDelete
1361
+ canCreate: i.canCreate,
1362
+ canUpdate: i.canUpdate,
1363
+ canDelete: i.canDelete
1364
1364
  },
1365
1365
  count: C,
1366
1366
  isAvailable: w
@@ -1368,11 +1368,11 @@ function $n(e) {
1368
1368
  }
1369
1369
  // src/composables/useTemplatesFeature.ts
1370
1370
  var er = 3e3;
1371
- function tr(e) {
1372
- let { provider: t, editor: n } = e, r = f("idle"), i = f(""), { start: a, stop: o } = Te(() => {
1373
- r.value = "idle";
1374
- }, er, { immediate: !1 }), s = _(() => typeof t.create == "function"), c = _(() => typeof t.save == "function"), l = _(() => e.isAvailable?.() ?? !0), u = _(() => n.state.template?.name), d = _(() => {
1375
- let e = n.state.template;
1371
+ function tr(t) {
1372
+ let { provider: n, editor: r } = t, i = e("idle"), a = e(""), { start: o, stop: s } = Te(() => {
1373
+ i.value = "idle";
1374
+ }, er, { immediate: !1 }), c = _(() => typeof n.create == "function"), l = _(() => typeof n.save == "function"), u = _(() => t.isAvailable?.() ?? !0), d = _(() => r.state.template?.name), f = _(() => {
1375
+ let e = r.state.template;
1376
1376
  return e?.updatedAt ? {
1377
1377
  iso: e.updatedAt,
1378
1378
  kind: "updatedAt"
@@ -1380,16 +1380,16 @@ function tr(e) {
1380
1380
  iso: e.createdAt,
1381
1381
  kind: "createdAt"
1382
1382
  } : null;
1383
- }), p = _(() => n.state.template !== null), m = _(() => n.state.isSaving);
1383
+ }), p = _(() => r.state.template !== null), m = _(() => r.state.isSaving);
1384
1384
  function h() {
1385
- i.value = "", r.value = "saved", o(), a();
1385
+ a.value = "", i.value = "saved", s(), o();
1386
1386
  }
1387
1387
  function g(e) {
1388
- o(), r.value = "error", i.value = e instanceof Error && e.message ? e.message : "Save failed";
1388
+ s(), i.value = "error", a.value = e instanceof Error && e.message ? e.message : "Save failed";
1389
1389
  }
1390
1390
  async function v(e) {
1391
1391
  try {
1392
- let t = await n.save(e);
1392
+ let t = await r.save(e);
1393
1393
  return h(), t;
1394
1394
  } catch (e) {
1395
1395
  throw g(e), e;
@@ -1397,46 +1397,46 @@ function tr(e) {
1397
1397
  }
1398
1398
  async function y(e) {
1399
1399
  try {
1400
- let t = await n.create(e);
1401
- return o(), r.value = "idle", i.value = "", t;
1400
+ let t = await r.create(e);
1401
+ return s(), i.value = "idle", a.value = "", t;
1402
1402
  } catch (e) {
1403
1403
  throw g(e), e;
1404
1404
  }
1405
1405
  }
1406
1406
  function b(e, t) {
1407
- return o(), r.value = "idle", i.value = "", t ? n.load(e, t) : n.load(e);
1407
+ return s(), i.value = "idle", a.value = "", t ? r.load(e, t) : r.load(e);
1408
1408
  }
1409
1409
  let x = !1;
1410
1410
  function S(e) {
1411
1411
  return v(e).then(() => {
1412
- x && (x = !1, n.state.isDirty && T());
1412
+ x && (x = !1, r.state.isDirty && T());
1413
1413
  }, () => {
1414
1414
  x = !1;
1415
1415
  });
1416
1416
  }
1417
1417
  function C() {
1418
- return !c.value || !p.value || m.value;
1418
+ return !l.value || !p.value || m.value;
1419
1419
  }
1420
- function w(t = "manual") {
1420
+ function w(e = "manual") {
1421
1421
  if (C()) return;
1422
- let n = e.getSaveGate?.();
1423
- n ? n.tryRunSave(() => S(t)) : S(t);
1422
+ let n = t.getSaveGate?.();
1423
+ n ? n.tryRunSave(() => S(e)) : S(e);
1424
1424
  }
1425
1425
  function T() {
1426
- if (!c.value || !p.value) return;
1426
+ if (!l.value || !p.value) return;
1427
1427
  if (m.value) {
1428
1428
  x = !0;
1429
1429
  return;
1430
1430
  }
1431
- let t = e.getSaveGate?.();
1432
- t ? t.runUnlessBlocked(() => S("autosave")) : S("autosave");
1431
+ let e = t.getSaveGate?.();
1432
+ e ? e.runUnlessBlocked(() => S("autosave")) : S("autosave");
1433
1433
  }
1434
1434
  function E(e) {
1435
1435
  let t = e.trim();
1436
- t && t !== n.state.template?.name && (n.setName(t), w("rename"));
1436
+ t && t !== r.state.template?.name && (r.setName(t), w("rename"));
1437
1437
  }
1438
- return e.guardUnsavedChanges !== !1 && Oe(window, "beforeunload", (e) => {
1439
- n.state.isDirty && (e.preventDefault(), e.returnValue = "");
1438
+ return t.guardUnsavedChanges !== !1 && Oe(window, "beforeunload", (e) => {
1439
+ r.state.isDirty && (e.preventDefault(), e.returnValue = "");
1440
1440
  }), {
1441
1441
  save: v,
1442
1442
  create: y,
@@ -1444,27 +1444,27 @@ function tr(e) {
1444
1444
  requestSave: w,
1445
1445
  requestAutoSave: T,
1446
1446
  rename: E,
1447
- name: u,
1448
- timestamp: d,
1447
+ name: d,
1448
+ timestamp: f,
1449
1449
  hasTemplate: p,
1450
1450
  isSaving: m,
1451
- status: r,
1452
- errorMessage: i,
1453
- canCreate: s,
1454
- canSave: c,
1455
- isAvailable: l,
1451
+ status: i,
1452
+ errorMessage: a,
1453
+ canCreate: c,
1454
+ canSave: l,
1455
+ isAvailable: u,
1456
1456
  capability: {
1457
1457
  save: w,
1458
1458
  rename: E,
1459
- name: u,
1460
- timestamp: d,
1459
+ name: d,
1460
+ timestamp: f,
1461
1461
  hasTemplate: p,
1462
1462
  isSaving: m,
1463
- status: r,
1464
- errorMessage: i,
1465
- canCreate: s,
1466
- canSave: c,
1467
- isAvailable: l
1463
+ status: i,
1464
+ errorMessage: a,
1465
+ canCreate: c,
1466
+ canSave: l,
1467
+ isAvailable: u
1468
1468
  }
1469
1469
  };
1470
1470
  }
@@ -1496,130 +1496,130 @@ var ir = 1200;
1496
1496
  function ar(e) {
1497
1497
  return e instanceof Error ? e : Error(String(e));
1498
1498
  }
1499
- function or(e) {
1500
- let { provider: t } = e, n = f(!1), r = f(!1), i = f(!1), a = f(null), o = null, s = !1;
1501
- function c() {
1502
- o !== null && (clearTimeout(o), o = null);
1503
- }
1504
- h(c);
1505
- let l = _(() => t.allowedRecipients), u = _(() => {
1506
- let e = t.defaultRecipient;
1499
+ function or(t) {
1500
+ let { provider: n } = t, r = e(!1), i = e(!1), a = e(!1), o = e(null), s = null, c = !1;
1501
+ function l() {
1502
+ s !== null && (clearTimeout(s), s = null);
1503
+ }
1504
+ h(l);
1505
+ let u = _(() => n.allowedRecipients), d = _(() => {
1506
+ let e = n.defaultRecipient;
1507
1507
  if (e === void 0) return;
1508
- let n = l.value;
1509
- if (!n || n.includes(e)) return e;
1510
- }), d = _(() => l.value?.length === 0 ? !1 : e.isAvailable?.() ?? !0);
1508
+ let t = u.value;
1509
+ if (!t || t.includes(e)) return e;
1510
+ }), f = _(() => u.value?.length === 0 ? !1 : t.isAvailable?.() ?? !0);
1511
1511
  function p() {
1512
- d.value && (a.value = null, i.value = !1, c(), n.value = !0);
1512
+ f.value && (o.value = null, a.value = !1, l(), r.value = !0);
1513
1513
  }
1514
1514
  function m() {
1515
- c(), n.value = !1, i.value = !1;
1515
+ l(), r.value = !1, a.value = !1;
1516
1516
  }
1517
1517
  async function g() {
1518
- if (t.includeMjml && e.renderMjml) try {
1519
- return await e.renderMjml();
1520
- } catch (t) {
1521
- if ((e.usesLocalRenderer?.() ?? !0) && await nr() === null) {
1522
- s || (s = !0, Mt.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1518
+ if (n.includeMjml && t.renderMjml) try {
1519
+ return await t.renderMjml();
1520
+ } catch (e) {
1521
+ if ((t.usesLocalRenderer?.() ?? !0) && await nr() === null) {
1522
+ c || (c = !0, Mt.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1523
1523
  return;
1524
1524
  }
1525
- throw t;
1525
+ throw e;
1526
1526
  }
1527
1527
  }
1528
- function v(n) {
1528
+ function v(e) {
1529
1529
  try {
1530
- t.onSent?.(n);
1531
- } catch (t) {
1532
- e.onError?.(ar(t));
1530
+ n.onSent?.(e);
1531
+ } catch (e) {
1532
+ t.onError?.(ar(e));
1533
1533
  }
1534
1534
  }
1535
- async function y(n) {
1536
- if (r.value) return;
1537
- let s = l.value;
1538
- if (s && !s.includes(n)) a.value = { kind: "recipientNotAllowed" };
1535
+ async function y(e) {
1536
+ if (i.value) return;
1537
+ let r = u.value;
1538
+ if (r && !r.includes(e)) o.value = { kind: "recipientNotAllowed" };
1539
1539
  else {
1540
- r.value = !0, a.value = null;
1540
+ i.value = !0, o.value = null;
1541
1541
  try {
1542
- let r = await g(), a = {
1543
- recipient: n,
1544
- content: e.getContent(),
1545
- ...r === void 0 ? {} : { mjml: r },
1546
- ...s === void 0 ? {} : { allowedRecipients: s }
1542
+ let i = await g(), o = {
1543
+ recipient: e,
1544
+ content: t.getContent(),
1545
+ ...i === void 0 ? {} : { mjml: i },
1546
+ ...r === void 0 ? {} : { allowedRecipients: r }
1547
1547
  };
1548
- await t.send(a), i.value = !0, o = setTimeout(m, ir), v(a);
1549
- } catch (t) {
1550
- let n = ar(t);
1551
- a.value = {
1548
+ await n.send(o), a.value = !0, s = setTimeout(m, ir), v(o);
1549
+ } catch (e) {
1550
+ let n = ar(e);
1551
+ o.value = {
1552
1552
  kind: "provider",
1553
1553
  message: n.message
1554
- }, e.onError?.(n);
1554
+ }, t.onError?.(n);
1555
1555
  } finally {
1556
- r.value = !1;
1556
+ i.value = !1;
1557
1557
  }
1558
1558
  }
1559
1559
  }
1560
1560
  return {
1561
- isModalOpen: n,
1561
+ isModalOpen: r,
1562
1562
  open: p,
1563
1563
  close: m,
1564
- isSending: r,
1565
- justSent: i,
1566
- error: a,
1564
+ isSending: i,
1565
+ justSent: a,
1566
+ error: o,
1567
1567
  send: y,
1568
- allowedRecipients: l,
1569
- defaultRecipient: u,
1570
- isAvailable: d,
1568
+ allowedRecipients: u,
1569
+ defaultRecipient: d,
1570
+ isAvailable: f,
1571
1571
  capability: {
1572
1572
  open: p,
1573
- isAvailable: d
1573
+ isAvailable: f
1574
1574
  }
1575
1575
  };
1576
1576
  }
1577
1577
  // src/composables/useVersionHistoryFeature.ts
1578
- function sr(e) {
1579
- let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = e.collaboration ?? null, s = ye({
1580
- provider: t,
1581
- getTemplateId: () => n.state.template?.id ?? null,
1582
- onError: e.onError
1583
- }), c = f(null), l = f(null), u = f(!1), d = f(!1), p = !1;
1578
+ function sr(t) {
1579
+ let { provider: n, editor: r, history: i, conditionPreview: a, autoSave: o } = t, s = t.collaboration ?? null, c = ye({
1580
+ provider: n,
1581
+ getTemplateId: () => r.state.template?.id ?? null,
1582
+ onError: t.onError
1583
+ }), l = e(null), u = e(null), d = e(!1), f = e(!1), p = !1;
1584
1584
  h(() => {
1585
1585
  p = !0;
1586
1586
  });
1587
- let m = _(() => s.versions.value), g = _(() => s.isLoading.value), v = _(() => s.isRestoring.value), y = s.canCreate, b = s.canRestore, x = _(() => !!n.state.template?.id), S = _(() => e.isAvailable?.() ?? !0), C = _(() => c.value !== null), w = _(() => e.saveBeforeRestore?.canSave() === !0), T = _(() => d.value || v.value);
1587
+ let m = _(() => c.versions.value), g = _(() => c.isLoading.value), v = _(() => c.isRestoring.value), y = c.canCreate, b = c.canRestore, x = _(() => !!r.state.template?.id), S = _(() => t.isAvailable?.() ?? !0), C = _(() => l.value !== null), w = _(() => t.saveBeforeRestore?.canSave() === !0), T = _(() => f.value || v.value);
1588
1588
  function E() {
1589
- x.value && s.load().catch(() => {});
1589
+ x.value && c.load().catch(() => {});
1590
1590
  }
1591
1591
  async function D(e) {
1592
1592
  if (p) return;
1593
- if (u.value = !1, c.value) {
1594
- let t = s.peekContent(e);
1593
+ if (d.value = !1, l.value) {
1594
+ let t = c.peekContent(e);
1595
1595
  if (t) {
1596
- c.value = e, n.setContent(t, !1);
1596
+ l.value = e, r.setContent(t, !1);
1597
1597
  return;
1598
1598
  }
1599
- let r = await s.resolveContent(e);
1599
+ let n = await c.resolveContent(e);
1600
1600
  if (p) return;
1601
- c.value = e, n.setContent(r, !1);
1601
+ l.value = e, r.setContent(n, !1);
1602
1602
  return;
1603
1603
  }
1604
- let t = await s.resolveContent(e);
1605
- p || (l.value = K(n.content.value), a?.pause(), o?.suspend(), c.value = e, n.setContent(t, !1));
1604
+ let t = await c.resolveContent(e);
1605
+ p || (u.value = K(r.content.value), o?.pause(), s?.suspend(), l.value = e, r.setContent(t, !1));
1606
1606
  }
1607
1607
  async function O() {
1608
- c.value && (n.state.isDirty ? u.value = !0 : await M());
1608
+ l.value && (r.state.isDirty ? d.value = !0 : await M());
1609
1609
  }
1610
1610
  async function k() {
1611
- let t = c.value, r = l.value, i = e.saveBeforeRestore;
1612
- if (t && r && i?.canSave() && !T.value) {
1613
- n.setContent(r, !1), d.value = !0;
1611
+ let e = l.value, n = u.value, i = t.saveBeforeRestore;
1612
+ if (e && n && i?.canSave() && !T.value) {
1613
+ r.setContent(n, !1), f.value = !0;
1614
1614
  try {
1615
1615
  await i.save();
1616
1616
  } catch {
1617
1617
  if (p) return;
1618
- let e = s.peekContent(t);
1619
- e && n.setContent(e, !1);
1618
+ let t = c.peekContent(e);
1619
+ t && r.setContent(t, !1);
1620
1620
  return;
1621
1621
  } finally {
1622
- p || (d.value = !1);
1622
+ p || (f.value = !1);
1623
1623
  }
1624
1624
  p || await M();
1625
1625
  }
@@ -1628,33 +1628,33 @@ function sr(e) {
1628
1628
  T.value || await M();
1629
1629
  }
1630
1630
  function j() {
1631
- u.value = !1;
1631
+ d.value = !1;
1632
1632
  }
1633
1633
  async function M() {
1634
- if (c.value) try {
1635
- let e = await s.restore(c.value.id);
1634
+ if (l.value) try {
1635
+ let e = await c.restore(l.value.id);
1636
1636
  if (p) return;
1637
- if (o) {
1638
- if (await o.catchUp(), p) return;
1639
- r.clear(), i.reset();
1637
+ if (s) {
1638
+ if (await s.catchUp(), p) return;
1639
+ i.clear(), a.reset();
1640
1640
  } else N(e.content);
1641
- if (await s.load(), p) return;
1641
+ if (await c.load(), p) return;
1642
1642
  } catch (e) {
1643
- !p && l.value && n.setContent(l.value, !1);
1643
+ !p && u.value && r.setContent(u.value, !1);
1644
1644
  let t = e;
1645
- throw o && t?.code === "locked_by_others" && o.reportReplaceRefused(Array.isArray(t.holders) ? t.holders : []), e;
1645
+ throw s && t?.code === "locked_by_others" && s.reportReplaceRefused(Array.isArray(t.holders) ? t.holders : []), e;
1646
1646
  } finally {
1647
- p || (c.value = null, l.value = null, u.value = !1, a?.resume(), o?.resume());
1647
+ p || (l.value = null, u.value = null, d.value = !1, o?.resume(), s?.resume());
1648
1648
  }
1649
1649
  }
1650
1650
  function N(e) {
1651
- n.setContent(e, !1), r.clear(), i.reset();
1651
+ r.setContent(e, !1), i.clear(), a.reset();
1652
1652
  }
1653
1653
  function P() {
1654
- c.value && l.value && (n.setContent(l.value, !1), c.value = null, l.value = null, u.value = !1, a?.resume(), o?.resume());
1654
+ l.value && u.value && (r.setContent(u.value, !1), l.value = null, u.value = null, d.value = !1, o?.resume(), s?.resume());
1655
1655
  }
1656
1656
  return {
1657
- headless: s,
1657
+ headless: c,
1658
1658
  versions: m,
1659
1659
  isLoading: g,
1660
1660
  isRestoring: v,
@@ -1662,9 +1662,9 @@ function sr(e) {
1662
1662
  canRestore: b,
1663
1663
  hasTemplate: x,
1664
1664
  isAvailable: S,
1665
- previewingVersion: c,
1665
+ previewingVersion: l,
1666
1666
  isPreviewing: C,
1667
- isConfirmingRestore: u,
1667
+ isConfirmingRestore: d,
1668
1668
  canSaveBeforeRestore: w,
1669
1669
  isConfirmBusy: T,
1670
1670
  refresh: E,
@@ -1770,8 +1770,8 @@ var pr = ["aria-label"], mr = ["lang", "dir"], hr = {
1770
1770
  previewMode: { type: Boolean }
1771
1771
  },
1772
1772
  emits: ["select-block"],
1773
- setup(e, { emit: r }) {
1774
- let i = {
1773
+ setup(t, { emit: r }) {
1774
+ let o = {
1775
1775
  section: Xe,
1776
1776
  title: tt,
1777
1777
  paragraph: Ue,
@@ -1786,9 +1786,9 @@ var pr = ["aria-label"], mr = ["lang", "dir"], hr = {
1786
1786
  video: Ye,
1787
1787
  custom: ze,
1788
1788
  wrapper: gn
1789
- }, s = e, d = r, { t: p } = $(), h = ot(xt, "Canvas"), y = ot(At, "Canvas"), S = n(bt, null), T = n(Ot, null), D = n(St, {}), A = n(ft, null), M = n(_t, null);
1789
+ }, s = t, f = r, { t: p } = $(), h = ot(xt, "Canvas"), x = ot(At, "Canvas"), w = n(bt, null), E = n(Ot, null), D = n(St, {}), A = n(ft, null), M = n(_t, null);
1790
1790
  c(ht, _(() => s.previewMode && (A?.value ?? !1) && !M?.isConfigured));
1791
- let N = _(() => D.ai?.isFeatureEnabled("chat") ?? !1), P = _(() => N.value && (D.ai?.isFeatureEnabled("chatAttachments") ?? !1)), F = f(null);
1791
+ let N = _(() => D.ai?.isFeatureEnabled("chat") ?? !1), P = _(() => N.value && (D.ai?.isFeatureEnabled("chatAttachments") ?? !1)), F = e(null);
1792
1792
  function I() {
1793
1793
  F.value?.click();
1794
1794
  }
@@ -1804,7 +1804,7 @@ var pr = ["aria-label"], mr = ["lang", "dir"], hr = {
1804
1804
  blocks: e
1805
1805
  });
1806
1806
  }
1807
- }), V = _(() => be(s.content.settings, s.viewport)), H = _(() => V.value + 192), ee = _(() => Pe(s.content.settings, y.resolveFontFamily)), U = _(() => s.content.settings?.locale?.trim() || void 0), W = _(() => re(s.content.settings)), G = _(() => B.value.length === 0 && !s.previewMode), K = f(0), q = _(() => G.value && K.value > 0);
1807
+ }), V = _(() => be(s.content.settings, s.viewport)), H = _(() => V.value + 192), ee = _(() => Pe(s.content.settings, x.resolveFontFamily)), U = _(() => s.content.settings?.locale?.trim() || void 0), W = _(() => re(s.content.settings)), G = _(() => B.value.length === 0 && !s.previewMode), K = e(0), q = _(() => G.value && K.value > 0);
1808
1808
  function J() {
1809
1809
  G.value && (K.value += 1);
1810
1810
  }
@@ -1815,10 +1815,10 @@ var pr = ["aria-label"], mr = ["lang", "dir"], hr = {
1815
1815
  K.value = 0;
1816
1816
  }
1817
1817
  function te(e) {
1818
- s.previewMode || D.savedBlocks?.isPicking.value || e.target === e.currentTarget && d("select-block", null);
1818
+ s.previewMode || D.savedBlocks?.isPicking.value || e.target === e.currentTarget && f("select-block", null);
1819
1819
  }
1820
1820
  function ne(e) {
1821
- return Ie(e, T, i);
1821
+ return Ie(e, E, o);
1822
1822
  }
1823
1823
  function Z(e) {
1824
1824
  return D.collaboration?.lockOf(e) != null;
@@ -1826,7 +1826,7 @@ var pr = ["aria-label"], mr = ["lang", "dir"], hr = {
1826
1826
  function ie(e) {
1827
1827
  if (s.previewMode || Z(e)) return;
1828
1828
  let t = D.savedBlocks;
1829
- t?.isPicking.value ? t.togglePick(e) : d("select-block", e);
1829
+ t?.isPicking.value ? t.togglePick(e) : f("select-block", e);
1830
1830
  }
1831
1831
  function ae(e) {
1832
1832
  return D.savedBlocks?.isPicked(e) ?? !1;
@@ -1838,47 +1838,47 @@ var pr = ["aria-label"], mr = ["lang", "dir"], hr = {
1838
1838
  dataSourceFetched: t.dataSourceFetched
1839
1839
  });
1840
1840
  }
1841
- return (n, r) => (C(), b("div", {
1841
+ return (e, n) => (S(), y("div", {
1842
1842
  class: "tpl-canvas-stage tpl:relative tpl:mx-auto tpl:flex tpl:justify-center tpl:rounded-lg",
1843
- style: w({
1843
+ style: l({
1844
1844
  width: `${H.value}px`,
1845
1845
  maxWidth: "calc(100% - 4 * var(--tpl-base-size))",
1846
1846
  minWidth: "min-content",
1847
- boxShadow: e.darkMode ? "none" : "var(--tpl-shadow-xl)",
1848
- transition: O(Ce)
1847
+ boxShadow: t.darkMode ? "none" : "var(--tpl-shadow-xl)",
1848
+ transition: k(Ce)
1849
1849
  })
1850
- }, [E("div", {
1850
+ }, [T("div", {
1851
1851
  class: "tpl-canvas-bg tpl:absolute tpl:inset-0 tpl:rounded-lg tpl:pointer-events-none",
1852
- style: w({
1853
- backgroundColor: e.content.settings.backgroundColor,
1854
- ...e.darkMode ? { filter: "invert(1) hue-rotate(180deg)" } : {},
1852
+ style: l({
1853
+ backgroundColor: t.content.settings.backgroundColor,
1854
+ ...t.darkMode ? { filter: "invert(1) hue-rotate(180deg)" } : {},
1855
1855
  transition: "filter 300ms ease"
1856
1856
  })
1857
- }, null, 4), E("div", {
1857
+ }, null, 4), T("div", {
1858
1858
  "data-testid": "canvas-wrapper",
1859
1859
  role: "region",
1860
- "aria-label": O(p).landmarks.canvas,
1860
+ "aria-label": k(p).landmarks.canvas,
1861
1861
  class: "tpl-canvas-wrapper tpl:relative",
1862
- style: w({
1862
+ style: l({
1863
1863
  width: `${V.value}px`,
1864
- transition: O(Ce)
1864
+ transition: k(Ce)
1865
1865
  })
1866
- }, [E("div", {
1867
- class: t(["tpl-canvas tpl:relative tpl:rounded-lg", {
1868
- "tpl-canvas--dark-mode": e.darkMode,
1869
- "tpl-preview-mode": e.previewMode
1866
+ }, [T("div", {
1867
+ class: C(["tpl-canvas tpl:relative tpl:rounded-lg", {
1868
+ "tpl-canvas--dark-mode": t.darkMode,
1869
+ "tpl-preview-mode": t.previewMode
1870
1870
  }]),
1871
1871
  lang: U.value,
1872
1872
  dir: W.value,
1873
- style: w(ee.value),
1873
+ style: l(ee.value),
1874
1874
  onClick: te
1875
- }, [O(M)?.isInitialResolve.value ? (C(), b("div", hr, [E("span", gr, l(O(p).previewResolution.resolving), 1), (C(), b(k, null, u(3, (e) => E("div", {
1875
+ }, [k(M)?.isInitialResolve.value ? (S(), y("div", hr, [T("span", gr, d(k(p).previewResolution.resolving), 1), (S(), y(O, null, u(3, (e) => T("div", {
1876
1876
  key: e,
1877
1877
  "aria-hidden": "true",
1878
1878
  class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
1879
- })), 64))])) : O(M)?.hasFailed.value ? (C(), b("p", _r, l(O(p).previewResolution.failed), 1)) : v("", !0), a(g(O($e), {
1879
+ })), 64))])) : k(M)?.hasFailed.value ? (S(), y("p", _r, d(k(p).previewResolution.failed), 1)) : v("", !0), m(g(k($e), {
1880
1880
  modelValue: B.value,
1881
- "onUpdate:modelValue": r[1] ||= (e) => B.value = e,
1881
+ "onUpdate:modelValue": n[1] ||= (e) => B.value = e,
1882
1882
  group: "blocks",
1883
1883
  animation: 150,
1884
1884
  "ghost-class": "tpl-ghost",
@@ -1886,10 +1886,10 @@ var pr = ["aria-label"], mr = ["lang", "dir"], hr = {
1886
1886
  handle: ".tpl-block-btn",
1887
1887
  "invert-swap": !0,
1888
1888
  "inverted-swap-threshold": .65,
1889
- disabled: e.previewMode,
1889
+ disabled: t.previewMode,
1890
1890
  draggable: ">:not(.tpl-canvas-empty-content)",
1891
1891
  "force-fallback": !0,
1892
- class: t([
1892
+ class: C([
1893
1893
  "tpl-canvas-blocks",
1894
1894
  G.value ? "tpl-canvas-empty tpl:m-6 tpl:flex tpl:min-h-[400px] tpl:flex-col tpl:items-center tpl:justify-center tpl:rounded-xl tpl:border-2 tpl:border-dashed tpl:px-10 tpl:py-12 tpl:text-center tpl:bg-[var(--tpl-bg-elevated)] tpl:font-[var(--tpl-font-family)] tpl:transition-colors" : "",
1895
1895
  G.value && q.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
@@ -1899,40 +1899,40 @@ var pr = ["aria-label"], mr = ["lang", "dir"], hr = {
1899
1899
  onDragleave: Y,
1900
1900
  onDrop: X
1901
1901
  }, {
1902
- default: m(() => [G.value ? (C(), b("div", vr, [
1903
- E("div", yr, [g(O(kn), {
1902
+ default: i(() => [G.value ? (S(), y("div", vr, [
1903
+ T("div", yr, [g(k(kn), {
1904
1904
  size: 48,
1905
1905
  "stroke-width": 1
1906
1906
  })]),
1907
- E("p", br, l(O(p).canvas.noBlocks), 1),
1908
- E("p", xr, l(O(p).canvas.dragHint), 1),
1909
- N.value ? (C(), b("p", Sr, [
1910
- x(l(O(p).ai.canvas.chatHint) + " ", 1),
1911
- E("button", {
1907
+ T("p", br, d(k(p).canvas.noBlocks), 1),
1908
+ T("p", xr, d(k(p).canvas.dragHint), 1),
1909
+ N.value ? (S(), y("p", Sr, [
1910
+ b(d(k(p).ai.canvas.chatHint) + " ", 1),
1911
+ T("button", {
1912
1912
  type: "button",
1913
1913
  "data-testid": "canvas-ai-chat",
1914
1914
  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)]",
1915
- onClick: r[0] ||= (e) => O(D).ai?.open("chat")
1916
- }, [g(O(Zt), {
1915
+ onClick: n[0] ||= (e) => k(D).ai?.open("chat")
1916
+ }, [g(k(Zt), {
1917
1917
  size: 14,
1918
1918
  "stroke-width": 2,
1919
1919
  "aria-hidden": "true"
1920
- }), x(" " + l(O(p).ai.menu.chat), 1)]),
1921
- x(" " + l(O(p).ai.canvas.chatHintSuffix), 1)
1920
+ }), b(" " + d(k(p).ai.menu.chat), 1)]),
1921
+ b(" " + d(k(p).ai.canvas.chatHintSuffix), 1)
1922
1922
  ])) : v("", !0),
1923
- P.value ? (C(), b("p", Cr, [
1924
- x(l(O(p).ai.canvas.importHint) + " ", 1),
1925
- E("button", {
1923
+ P.value ? (S(), y("p", Cr, [
1924
+ b(d(k(p).ai.canvas.importHint) + " ", 1),
1925
+ T("button", {
1926
1926
  type: "button",
1927
1927
  "data-testid": "canvas-ai-import",
1928
1928
  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)]",
1929
1929
  onClick: I
1930
- }, [g(O(Sn), {
1930
+ }, [g(k(Sn), {
1931
1931
  size: 14,
1932
1932
  "stroke-width": 2,
1933
1933
  "aria-hidden": "true"
1934
- }), x(" " + l(O(p).ai.import.menu), 1)]),
1935
- E("input", {
1934
+ }), b(" " + d(k(p).ai.import.menu), 1)]),
1935
+ T("input", {
1936
1936
  ref_key: "importInput",
1937
1937
  ref: F,
1938
1938
  type: "file",
@@ -1942,27 +1942,27 @@ var pr = ["aria-label"], mr = ["lang", "dir"], hr = {
1942
1942
  onChange: L
1943
1943
  }, null, 544)
1944
1944
  ])) : v("", !0)
1945
- ])) : v("", !0), (C(!0), b(k, null, u(B.value, (t) => a((C(), b("div", {
1946
- key: t.id,
1945
+ ])) : v("", !0), (S(!0), y(O, null, u(B.value, (e) => m((S(), y("div", {
1946
+ key: e.id,
1947
1947
  class: "tpl-block-item"
1948
- }, [E("div", wr, [t.type === "wrapper" ? (C(), j(o(ne(t)), {
1948
+ }, [T("div", wr, [e.type === "wrapper" ? (S(), j(a(ne(e)), {
1949
1949
  key: 0,
1950
- block: t,
1951
- viewport: e.viewport
1952
- }, null, 8, ["block", "viewport"])) : (C(), j(He, {
1950
+ block: e,
1951
+ viewport: t.viewport
1952
+ }, null, 8, ["block", "viewport"])) : (S(), j(He, {
1953
1953
  key: 1,
1954
- block: t,
1955
- "is-selected": !e.previewMode && !Q.value && e.selectedBlockId === t.id && !Z(t.id),
1956
- picked: ae(t.id),
1957
- viewport: e.viewport,
1958
- "preview-mode": e.previewMode,
1959
- onSelect: (e) => ie(t.id)
1954
+ block: e,
1955
+ "is-selected": !t.previewMode && !Q.value && t.selectedBlockId === e.id && !Z(e.id),
1956
+ picked: ae(e.id),
1957
+ viewport: t.viewport,
1958
+ "preview-mode": t.previewMode,
1959
+ onSelect: (t) => ie(e.id)
1960
1960
  }, {
1961
- default: m(() => [(C(), j(o(ne(t)), {
1962
- block: t,
1963
- viewport: e.viewport,
1964
- onFetchData: (e) => oe(t, e),
1965
- onUpdate: (e) => O(h).updateBlock(t.id, e)
1961
+ default: i(() => [(S(), j(a(ne(e)), {
1962
+ block: e,
1963
+ viewport: t.viewport,
1964
+ onFetchData: (t) => oe(e, t),
1965
+ onUpdate: (t) => k(h).updateBlock(e.id, t)
1966
1966
  }, null, 40, [
1967
1967
  "block",
1968
1968
  "viewport",
@@ -1977,13 +1977,13 @@ var pr = ["aria-label"], mr = ["lang", "dir"], hr = {
1977
1977
  "viewport",
1978
1978
  "preview-mode",
1979
1979
  "onSelect"
1980
- ]))])])), [[z, O(R) === !1 || !O(S)?.isHidden(t.id)]])), 128))]),
1980
+ ]))])])), [[z, k(R) === !1 || !k(w)?.isHidden(e.id)]])), 128))]),
1981
1981
  _: 1
1982
1982
  }, 8, [
1983
1983
  "modelValue",
1984
1984
  "disabled",
1985
1985
  "class"
1986
- ]), [[z, !O(M)?.isInitialResolve.value]])], 14, mr)], 12, pr)], 4));
1986
+ ]), [[z, !k(M)?.isInitialResolve.value]])], 14, mr)], 12, pr)], 4));
1987
1987
  }
1988
1988
  }), [["__scopeId", "data-v-b9798ef2"]]), Er = P({
1989
1989
  name: "CustomBlockStylesheets",
@@ -2031,43 +2031,43 @@ var Or = ["aria-label"], kr = {
2031
2031
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
2032
2032
  }, Fr = 4, Ir = /* @__PURE__ */ P({
2033
2033
  __name: "Sidebar",
2034
- setup(e) {
2035
- let { t, format: r } = $(), i = n(Tt, []), a = n(jt, void 0), s = n(wt, void 0), c = n(xt, null), d = Wt(), p = n(St, {}), y = _(() => p.savedBlocks?.isAvailable.value === !0), x = f(!1), S = f(!1), T = f(null), D = !1, A = 0;
2034
+ setup(t) {
2035
+ let { t: r, format: o } = $(), s = n(Tt, []), c = n(jt, void 0), f = n(wt, void 0), p = n(xt, null), m = Wt(), b = n(St, {}), x = _(() => b.savedBlocks?.isAvailable.value === !0), C = e(!1), w = e(!1), E = e(null), D = !1, A = 0;
2036
2036
  h(() => {
2037
2037
  window.clearTimeout(A);
2038
2038
  });
2039
2039
  function M() {
2040
2040
  try {
2041
- return T.value?.querySelector(":focus-visible") != null;
2041
+ return E.value?.querySelector(":focus-visible") != null;
2042
2042
  } catch {
2043
2043
  return !1;
2044
2044
  }
2045
2045
  }
2046
2046
  function N() {
2047
- S.value || M() || (x.value = !1);
2047
+ w.value || M() || (C.value = !1);
2048
2048
  }
2049
2049
  function P() {
2050
- S.value = !0;
2050
+ w.value = !0;
2051
2051
  }
2052
2052
  function I() {
2053
- S.value = !1;
2053
+ w.value = !1;
2054
2054
  }
2055
2055
  function L() {
2056
2056
  D = !0, window.clearTimeout(A);
2057
2057
  }
2058
2058
  function R(e) {
2059
2059
  let t = e.relatedTarget;
2060
- t instanceof Node && T.value?.contains(t) || T.value?.matches(":hover") || (x.value = !1);
2060
+ t instanceof Node && E.value?.contains(t) || E.value?.matches(":hover") || (C.value = !1);
2061
2061
  }
2062
2062
  function z() {
2063
- T.value?.ownerDocument.dispatchEvent(new MouseEvent("click", {
2063
+ E.value?.ownerDocument.dispatchEvent(new MouseEvent("click", {
2064
2064
  bubbles: !0,
2065
2065
  cancelable: !0,
2066
2066
  composed: !0
2067
2067
  }));
2068
2068
  }
2069
2069
  function B() {
2070
- S.value = !1, T.value?.matches(":hover") ? (x.value = !0, z()) : x.value = !1, window.clearTimeout(A), A = window.setTimeout(() => {
2070
+ w.value = !1, E.value?.matches(":hover") ? (C.value = !0, z()) : C.value = !1, window.clearTimeout(A), A = window.setTimeout(() => {
2071
2071
  D = !1;
2072
2072
  }, 0);
2073
2073
  }
@@ -2088,32 +2088,32 @@ var Or = ["aria-label"], kr = {
2088
2088
  ], ee = _(() => {
2089
2089
  let e = V.map((e) => ({
2090
2090
  type: e,
2091
- label: me(e, t)
2091
+ label: me(e, r)
2092
2092
  }));
2093
- return p.plan && e.splice(-1, 0, {
2093
+ return b.plan && e.splice(-1, 0, {
2094
2094
  type: "countdown",
2095
- label: me("countdown", t)
2095
+ label: me("countdown", r)
2096
2096
  }), e;
2097
- }), U = _(() => i.map((e) => ({
2097
+ }), U = _(() => s.map((e) => ({
2098
2098
  type: `custom:${e.type}`,
2099
2099
  label: e.name,
2100
2100
  isCustom: !0,
2101
2101
  icon: e.icon
2102
- }))), W = _(() => [...ee.value, ...U.value]), G = _(() => Dr(W.value, a)), K = _(() => G.value.items), q = /* @__PURE__ */ new Set();
2102
+ }))), W = _(() => [...ee.value, ...U.value]), G = _(() => Dr(W.value, c)), K = _(() => G.value.items), q = /* @__PURE__ */ new Set();
2103
2103
  F(() => G.value.unknown, (e) => {
2104
2104
  for (let t of e) q.has(t) || (q.add(t), Mt.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.`));
2105
2105
  }, { immediate: !0 });
2106
2106
  function J(e) {
2107
2107
  if (e.isCustom) {
2108
- let t = e.type.replace("custom:", ""), n = i.find((e) => e.type === t);
2108
+ let t = e.type.replace("custom:", ""), n = s.find((e) => e.type === t);
2109
2109
  if (n) return H(n);
2110
2110
  }
2111
- return e.type === "hero" ? qe(s?.value, t.blockDefaults.paragraph) : ue(e.type, s?.value);
2111
+ return e.type === "hero" ? qe(f?.value, r.blockDefaults.paragraph) : ue(e.type, f?.value);
2112
2112
  }
2113
2113
  function Y(e) {
2114
- if (!c) return;
2114
+ if (!p) return;
2115
2115
  let t = J(e);
2116
- dr(c, t) && d(t.id);
2116
+ dr(p, t) && m(t.id);
2117
2117
  }
2118
2118
  function X(e) {
2119
2119
  D || Y(e);
@@ -2121,33 +2121,33 @@ var Or = ["aria-label"], kr = {
2121
2121
  function te(e, t) {
2122
2122
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Y(t));
2123
2123
  }
2124
- return (e, n) => (C(), b("aside", {
2124
+ return (e, t) => (S(), y("aside", {
2125
2125
  ref_key: "railEl",
2126
- ref: T,
2127
- "aria-label": O(t).sidebarNav.palette,
2126
+ ref: E,
2127
+ "aria-label": k(r).sidebarNav.palette,
2128
2128
  class: "tpl-sidebar-rail tpl:absolute tpl:top-14 tpl:bottom-0 tpl:left-0 tpl:z-40 tpl:box-border tpl:flex tpl:flex-col tpl:overflow-hidden",
2129
- style: w({
2130
- width: x.value ? "200px" : "48px",
2129
+ style: l({
2130
+ width: C.value ? "200px" : "48px",
2131
2131
  backgroundColor: "var(--tpl-bg-elevated)",
2132
2132
  borderRight: "1px solid var(--tpl-border)",
2133
- boxShadow: x.value ? "var(--tpl-shadow-lg)" : "none",
2133
+ boxShadow: C.value ? "var(--tpl-shadow-lg)" : "none",
2134
2134
  transition: "width 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1)"
2135
2135
  }),
2136
- onMouseenter: n[1] ||= (e) => x.value = !0,
2136
+ onMouseenter: t[1] ||= (e) => C.value = !0,
2137
2137
  onMouseleave: N,
2138
- onFocusin: n[2] ||= (e) => x.value = !0,
2138
+ onFocusin: t[2] ||= (e) => C.value = !0,
2139
2139
  onFocusout: R
2140
- }, [y.value ? (C(), b("div", kr, [E("button", {
2140
+ }, [x.value ? (S(), y("div", kr, [T("button", {
2141
2141
  type: "button",
2142
- "aria-label": O(t).sidebarNav.browseSavedBlocks,
2142
+ "aria-label": k(r).sidebarNav.browseSavedBlocks,
2143
2143
  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)]",
2144
- style: w({ justifyContent: x.value ? "flex-start" : "center" }),
2145
- onClick: n[0] ||= (e) => O(p).savedBlocks?.openBrowser()
2146
- }, [g(O(Jt), {
2144
+ style: l({ justifyContent: C.value ? "flex-start" : "center" }),
2145
+ onClick: t[0] ||= (e) => k(b).savedBlocks?.openBrowser()
2146
+ }, [g(k(Jt), {
2147
2147
  size: 20,
2148
2148
  "stroke-width": 1.5,
2149
2149
  class: "tpl:shrink-0"
2150
- }), x.value ? (C(), b("span", jr, l(O(t).savedBlocks.title), 1)) : v("", !0)], 12, Ar)])) : v("", !0), g(O($e), {
2150
+ }), C.value ? (S(), y("span", jr, d(k(r).savedBlocks.title), 1)) : v("", !0)], 12, Ar)])) : v("", !0), g(k($e), {
2151
2151
  "model-value": K.value,
2152
2152
  group: {
2153
2153
  name: "blocks",
@@ -2165,24 +2165,24 @@ var Or = ["aria-label"], kr = {
2165
2165
  onUnchoose: I,
2166
2166
  onEnd: B
2167
2167
  }, {
2168
- default: m(() => [(C(!0), b(k, null, u(K.value, (e) => (C(), b("button", {
2168
+ default: i(() => [(S(!0), y(O, null, u(K.value, (e) => (S(), y("button", {
2169
2169
  key: e.type,
2170
2170
  type: "button",
2171
2171
  "data-palette-type": e.type,
2172
- "aria-label": O(r)(O(t).sidebarNav.insertBlock, { block: e.label }),
2172
+ "aria-label": k(o)(k(r).sidebarNav.insertBlock, { block: e.label }),
2173
2173
  class: "tpl:flex tpl:h-10 tpl:w-full tpl:shrink-0 tpl:cursor-grab tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-primary-light)] tpl:hover:text-[var(--tpl-primary)] tpl:active:cursor-grabbing",
2174
- style: w({ justifyContent: x.value ? "flex-start" : "center" }),
2174
+ style: l({ justifyContent: C.value ? "flex-start" : "center" }),
2175
2175
  onClick: (t) => X(e),
2176
2176
  onKeydown: (t) => te(t, e)
2177
- }, [E("div", Nr, [O(Rt)[e.type] ? (C(), j(o(O(Rt)[e.type]), {
2177
+ }, [T("div", Nr, [k(Rt)[e.type] ? (S(), j(a(k(Rt)[e.type]), {
2178
2178
  key: 0,
2179
2179
  size: 20,
2180
2180
  "stroke-width": 1.5
2181
- })) : e.isCustom ? (C(), j(rt, {
2181
+ })) : e.isCustom ? (S(), j(rt, {
2182
2182
  key: 1,
2183
2183
  icon: e.icon,
2184
2184
  size: 20
2185
- }, null, 8, ["icon"])) : v("", !0)]), x.value ? (C(), b("span", Pr, l(e.label), 1)) : v("", !0)], 44, Mr))), 128))]),
2185
+ }, null, 8, ["icon"])) : v("", !0)]), C.value ? (S(), y("span", Pr, d(e.label), 1)) : v("", !0)], 44, Mr))), 128))]),
2186
2186
  _: 1
2187
2187
  }, 8, ["model-value"])], 44, Or));
2188
2188
  }
@@ -2241,94 +2241,94 @@ var Or = ["aria-label"], kr = {
2241
2241
  "duplicate-block",
2242
2242
  "update-settings"
2243
2243
  ], ["update:tab"]),
2244
- setup(e, { emit: r }) {
2245
- let i = M(() => import("./Toolbar-Dku_pZni.js").then((e) => e.t)), a = M(() => import("./TemplateSettings-D0XcH32O.js")), o = M(() => import("./IssuesPanel-BHFQ3wrP.js")), c = e, u = r, { t: d } = $(), f = s(e, "tab"), p = n(dt, null), m = _(() => p !== null && !p.unavailable.value), h = _(() => p?.issues.value.length ?? 0), y = n(Et, new Set(Nt)), x = _(() => y.size > 0);
2246
- function S(e) {
2244
+ setup(e, { emit: t }) {
2245
+ let r = M(() => import("./Toolbar-BZPFfKrf.js").then((e) => e.t)), i = M(() => import("./TemplateSettings-CS0f1Ues.js")), a = M(() => import("./IssuesPanel-4ykrf1ax.js")), o = e, c = t, { t: u } = $(), f = s(e, "tab"), p = n(dt, null), m = _(() => p !== null && !p.unavailable.value), h = _(() => p?.issues.value.length ?? 0), b = n(Et, new Set(Nt)), x = _(() => b.size > 0);
2246
+ function w(e) {
2247
2247
  return f.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)]";
2248
2248
  }
2249
- function T(e) {
2249
+ function E(e) {
2250
2250
  return f.value === e ? {
2251
2251
  backgroundColor: "var(--tpl-bg)",
2252
2252
  boxShadow: "var(--tpl-shadow-sm)"
2253
2253
  } : { backgroundColor: "transparent" };
2254
2254
  }
2255
- return F(() => c.selectedBlock, (e) => {
2255
+ return F(() => o.selectedBlock, (e) => {
2256
2256
  e && (f.value = "content");
2257
2257
  }), F(m, (e) => {
2258
2258
  !e && f.value === "issues" && (f.value = "content");
2259
- }), (n, r) => (C(), b("aside", {
2260
- "aria-label": O(d).landmarks.rightSidebar,
2261
- class: t(["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:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
2259
+ }), (t, n) => (S(), y("aside", {
2260
+ "aria-label": k(u).landmarks.rightSidebar,
2261
+ 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:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
2262
2262
  }, [
2263
- E("div", Rr, [
2264
- E("button", {
2263
+ T("div", Rr, [
2264
+ T("button", {
2265
2265
  id: "tpl-tab-content",
2266
2266
  role: "tab",
2267
2267
  "aria-selected": f.value === "content",
2268
2268
  "aria-controls": "tpl-tabpanel-content",
2269
- "aria-label": O(d).sidebar.content,
2270
- title: O(d).sidebar.content,
2271
- class: t(["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)]", S("content")]),
2272
- style: w(T("content")),
2273
- onClick: r[0] ||= (e) => f.value = "content"
2274
- }, [g(O(Tn), {
2269
+ "aria-label": k(u).sidebar.content,
2270
+ title: k(u).sidebar.content,
2271
+ 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)]", w("content")]),
2272
+ style: l(E("content")),
2273
+ onClick: n[0] ||= (e) => f.value = "content"
2274
+ }, [g(k(Tn), {
2275
2275
  size: 14,
2276
2276
  "stroke-width": 2
2277
- }), f.value === "content" ? (C(), b("span", Br, l(O(d).sidebar.content), 1)) : v("", !0)], 14, zr),
2278
- x.value ? (C(), b("button", {
2277
+ }), f.value === "content" ? (S(), y("span", Br, d(k(u).sidebar.content), 1)) : v("", !0)], 14, zr),
2278
+ x.value ? (S(), y("button", {
2279
2279
  key: 0,
2280
2280
  id: "tpl-tab-settings",
2281
2281
  role: "tab",
2282
2282
  "aria-selected": f.value === "settings",
2283
2283
  "aria-controls": "tpl-tabpanel-settings",
2284
- "aria-label": O(d).sidebar.settings,
2285
- title: O(d).sidebar.settings,
2286
- class: t(["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)]", S("settings")]),
2287
- style: w(T("settings")),
2288
- onClick: r[1] ||= (e) => f.value = "settings"
2289
- }, [g(O(On), {
2284
+ "aria-label": k(u).sidebar.settings,
2285
+ title: k(u).sidebar.settings,
2286
+ 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)]", w("settings")]),
2287
+ style: l(E("settings")),
2288
+ onClick: n[1] ||= (e) => f.value = "settings"
2289
+ }, [g(k(On), {
2290
2290
  size: 14,
2291
2291
  "stroke-width": 1.5
2292
- }), f.value === "settings" ? (C(), b("span", Hr, l(O(d).sidebar.settings), 1)) : v("", !0)], 14, Vr)) : v("", !0),
2293
- m.value ? (C(), b("button", {
2292
+ }), f.value === "settings" ? (S(), y("span", Hr, d(k(u).sidebar.settings), 1)) : v("", !0)], 14, Vr)) : v("", !0),
2293
+ m.value ? (S(), y("button", {
2294
2294
  key: 1,
2295
2295
  id: "tpl-tab-issues",
2296
2296
  role: "tab",
2297
2297
  "aria-selected": f.value === "issues",
2298
2298
  "aria-controls": "tpl-tabpanel-issues",
2299
- "aria-label": O(d).issues.panelTabLabel,
2300
- title: O(d).issues.panelTabLabel,
2301
- class: t(["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)]", S("issues")]),
2302
- style: w(T("issues")),
2303
- onClick: r[2] ||= (e) => f.value = "issues"
2299
+ "aria-label": k(u).issues.panelTabLabel,
2300
+ title: k(u).issues.panelTabLabel,
2301
+ 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)]", w("issues")]),
2302
+ style: l(E("issues")),
2303
+ onClick: n[2] ||= (e) => f.value = "issues"
2304
2304
  }, [
2305
- g(O(Ht), {
2305
+ g(k(Ht), {
2306
2306
  size: 14,
2307
2307
  "stroke-width": 1.5
2308
2308
  }),
2309
- f.value === "issues" ? (C(), b("span", Wr, l(O(d).issues.panelTabLabel), 1)) : v("", !0),
2310
- h.value > 0 ? (C(), b("span", Gr, l(h.value), 1)) : v("", !0)
2309
+ f.value === "issues" ? (S(), y("span", Wr, d(k(u).issues.panelTabLabel), 1)) : v("", !0),
2310
+ h.value > 0 ? (S(), y("span", Gr, d(h.value), 1)) : v("", !0)
2311
2311
  ], 14, Ur)) : v("", !0)
2312
2312
  ]),
2313
- f.value === "content" ? (C(), b("div", Kr, [e.selectedBlock ? (C(), j(O(i), {
2313
+ f.value === "content" ? (S(), y("div", Kr, [e.selectedBlock ? (S(), j(k(r), {
2314
2314
  key: 0,
2315
2315
  block: e.selectedBlock,
2316
- onUpdate: r[3] ||= (e) => u("update-block", e),
2317
- onDelete: r[4] ||= (e) => u("delete-block"),
2318
- onDuplicate: r[5] ||= (e) => u("duplicate-block")
2319
- }, null, 8, ["block"])) : (C(), b("div", qr, [
2320
- E("div", Jr, [g(O(Cn), {
2316
+ onUpdate: n[3] ||= (e) => c("update-block", e),
2317
+ onDelete: n[4] ||= (e) => c("delete-block"),
2318
+ onDuplicate: n[5] ||= (e) => c("duplicate-block")
2319
+ }, null, 8, ["block"])) : (S(), y("div", qr, [
2320
+ T("div", Jr, [g(k(Cn), {
2321
2321
  size: 40,
2322
2322
  "stroke-width": 1.5
2323
2323
  })]),
2324
- E("h3", Yr, l(O(d).sidebar.noSelection), 1),
2325
- E("p", Xr, l(O(d).sidebar.noSelectionHint), 1)
2324
+ T("h3", Yr, d(k(u).sidebar.noSelection), 1),
2325
+ T("p", Xr, d(k(u).sidebar.noSelectionHint), 1)
2326
2326
  ]))])) : v("", !0),
2327
- f.value === "settings" && x.value ? (C(), b("div", Zr, [g(O(a), {
2327
+ f.value === "settings" && x.value ? (S(), y("div", Zr, [g(k(i), {
2328
2328
  settings: e.settings,
2329
- onUpdate: r[6] ||= (e) => u("update-settings", e)
2329
+ onUpdate: n[6] ||= (e) => c("update-settings", e)
2330
2330
  }, null, 8, ["settings"])])) : v("", !0),
2331
- f.value === "issues" && m.value ? (C(), b("div", Qr, [g(O(o))])) : v("", !0)
2331
+ f.value === "issues" && m.value ? (S(), y("div", Qr, [g(k(a))])) : v("", !0)
2332
2332
  ], 10, Lr));
2333
2333
  }
2334
2334
  }), ei = {
@@ -2340,13 +2340,13 @@ var Or = ["aria-label"], kr = {
2340
2340
  __name: "SmallScreenNotice",
2341
2341
  setup(e) {
2342
2342
  let { t } = $();
2343
- return (e, n) => (C(), b("div", ei, [
2344
- E("div", ti, [g(O(qt), {
2343
+ return (e, n) => (S(), y("div", ei, [
2344
+ T("div", ti, [g(k(qt), {
2345
2345
  size: 48,
2346
2346
  "stroke-width": 1.5
2347
2347
  })]),
2348
- E("h2", ni, l(O(t).smallScreen.title), 1),
2349
- E("p", ri, l(O(t).smallScreen.message), 1)
2348
+ T("h2", ni, d(k(t).smallScreen.title), 1),
2349
+ T("p", ri, d(k(t).smallScreen.message), 1)
2350
2350
  ]));
2351
2351
  }
2352
2352
  }), ai = {
@@ -2360,8 +2360,8 @@ var Or = ["aria-label"], kr = {
2360
2360
  __name: "EditorFooter",
2361
2361
  props: { positionClass: {} },
2362
2362
  setup(e) {
2363
- let { t: n } = $();
2364
- return (r, i) => (C(), b("footer", { class: t(["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]) }, [E("div", ai, [E("span", null, l(O(n).footer.poweredBy), 1), i[0] ||= S("<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));
2363
+ let { t } = $();
2364
+ return (n, r) => (S(), y("footer", { class: C(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[10px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [T("div", ai, [T("span", null, d(k(t).footer.poweredBy), 1), r[0] ||= x("<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));
2365
2365
  }
2366
2366
  }), si = [
2367
2367
  "aria-label",
@@ -2373,16 +2373,16 @@ var Or = ["aria-label"], kr = {
2373
2373
  emits: ["change"],
2374
2374
  setup(e, { emit: t }) {
2375
2375
  let n = t, { t: r } = $();
2376
- return (t, i) => (C(), b("button", {
2376
+ return (t, a) => (S(), y("button", {
2377
2377
  class: "tpl-dark-mode-toggle tpl:relative tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:p-2 tpl:transition-all",
2378
- style: w({
2378
+ style: l({
2379
2379
  color: e.darkMode ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
2380
2380
  backgroundColor: e.darkMode ? "var(--tpl-primary-light)" : "transparent"
2381
2381
  }),
2382
- "aria-label": e.darkMode ? O(r).darkMode.disable : O(r).darkMode.enable,
2383
- title: e.darkMode ? O(r).darkMode.disable : O(r).darkMode.enable,
2382
+ "aria-label": e.darkMode ? k(r).darkMode.disable : k(r).darkMode.enable,
2383
+ title: e.darkMode ? k(r).darkMode.disable : k(r).darkMode.enable,
2384
2384
  "aria-pressed": e.darkMode,
2385
- onClick: i[0] ||= (t) => n("change", !e.darkMode)
2385
+ onClick: a[0] ||= (t) => n("change", !e.darkMode)
2386
2386
  }, [g(V, {
2387
2387
  "enter-active-class": "tpl-icon-enter-active",
2388
2388
  "leave-active-class": "tpl-icon-leave-active",
@@ -2390,11 +2390,11 @@ var Or = ["aria-label"], kr = {
2390
2390
  "leave-to-class": "tpl-icon-leave-to",
2391
2391
  mode: "out-in"
2392
2392
  }, {
2393
- default: m(() => [e.darkMode ? (C(), j(O(wn), {
2393
+ default: i(() => [e.darkMode ? (S(), j(k(wn), {
2394
2394
  key: "moon",
2395
2395
  size: 18,
2396
2396
  "stroke-width": 1.5
2397
- })) : (C(), j(O(An), {
2397
+ })) : (S(), j(k(An), {
2398
2398
  key: "sun",
2399
2399
  size: 18,
2400
2400
  "stroke-width": 1.5
@@ -2412,16 +2412,16 @@ var Or = ["aria-label"], kr = {
2412
2412
  emits: ["change"],
2413
2413
  setup(e, { emit: t }) {
2414
2414
  let n = t, { t: r } = $();
2415
- return (t, i) => (C(), b("button", {
2415
+ return (t, a) => (S(), y("button", {
2416
2416
  class: "tpl-preview-toggle tpl:relative tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:p-2 tpl:transition-all",
2417
- style: w({
2417
+ style: l({
2418
2418
  color: e.previewMode ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
2419
2419
  backgroundColor: e.previewMode ? "var(--tpl-primary-light)" : "transparent"
2420
2420
  }),
2421
- "aria-label": e.previewMode ? O(r).previewMode.disable : O(r).previewMode.enable,
2422
- title: e.previewMode ? O(r).previewMode.disable : O(r).previewMode.enable,
2421
+ "aria-label": e.previewMode ? k(r).previewMode.disable : k(r).previewMode.enable,
2422
+ title: e.previewMode ? k(r).previewMode.disable : k(r).previewMode.enable,
2423
2423
  "aria-pressed": e.previewMode,
2424
- onClick: i[0] ||= (t) => n("change", !e.previewMode)
2424
+ onClick: a[0] ||= (t) => n("change", !e.previewMode)
2425
2425
  }, [g(V, {
2426
2426
  "enter-active-class": "tpl-icon-enter-active",
2427
2427
  "leave-active-class": "tpl-icon-leave-active",
@@ -2429,11 +2429,11 @@ var Or = ["aria-label"], kr = {
2429
2429
  "leave-to-class": "tpl-icon-leave-to",
2430
2430
  mode: "out-in"
2431
2431
  }, {
2432
- default: m(() => [e.previewMode ? (C(), j(O(zt), {
2432
+ default: i(() => [e.previewMode ? (S(), j(k(zt), {
2433
2433
  key: "eye",
2434
2434
  size: 18,
2435
2435
  "stroke-width": 1.5
2436
- })) : (C(), j(O(Ae), {
2436
+ })) : (S(), j(k(Ae), {
2437
2437
  key: "eye-off",
2438
2438
  size: 18,
2439
2439
  "stroke-width": 1.5
@@ -2448,44 +2448,44 @@ var Or = ["aria-label"], kr = {
2448
2448
  editable: { type: Boolean }
2449
2449
  },
2450
2450
  emits: ["commit"],
2451
- setup(e, { emit: n }) {
2452
- let i = e, o = n, { t: s } = $(), c = f(!1), u = f(""), d = f(null);
2453
- async function p() {
2454
- i.editable && (u.value = i.name ?? "", c.value = !0, await r(), d.value?.focus(), d.value?.select());
2451
+ setup(t, { emit: n }) {
2452
+ let i = t, a = n, { t: o } = $(), s = e(!1), c = e(""), l = e(null);
2453
+ async function u() {
2454
+ i.editable && (c.value = i.name ?? "", s.value = !0, await r(), l.value?.focus(), l.value?.select());
2455
2455
  }
2456
- function m() {
2457
- if (!c.value) return;
2458
- c.value = !1;
2459
- let e = u.value.trim();
2460
- e && e !== i.name && o("commit", e);
2456
+ function f() {
2457
+ if (!s.value) return;
2458
+ s.value = !1;
2459
+ let e = c.value.trim();
2460
+ e && e !== i.name && a("commit", e);
2461
2461
  }
2462
- function h() {
2463
- c.value = !1;
2462
+ function p() {
2463
+ s.value = !1;
2464
2464
  }
2465
- return (n, r) => c.value ? a((C(), b("input", {
2465
+ return (e, n) => s.value ? m((S(), y("input", {
2466
2466
  key: 0,
2467
2467
  ref_key: "inputEl",
2468
- ref: d,
2469
- "onUpdate:modelValue": r[0] ||= (e) => u.value = e,
2468
+ ref: l,
2469
+ "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
2470
2470
  type: "text",
2471
2471
  "data-testid": "template-name-input",
2472
- "aria-label": O(s).header.templateName,
2473
- class: t([O(mn), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
2474
- onKeydown: [B(L(m, ["prevent"]), ["enter"]), B(L(h, ["prevent"]), ["esc"])],
2475
- onBlur: m
2476
- }, null, 42, di)), [[I, u.value]]) : e.editable ? (C(), b("button", {
2472
+ "aria-label": k(o).header.templateName,
2473
+ class: C([k(mn), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
2474
+ onKeydown: [B(L(f, ["prevent"]), ["enter"]), B(L(p, ["prevent"]), ["esc"])],
2475
+ onBlur: f
2476
+ }, null, 42, di)), [[I, c.value]]) : t.editable ? (S(), y("button", {
2477
2477
  key: 1,
2478
2478
  type: "button",
2479
2479
  "data-testid": "template-name",
2480
- title: O(s).header.rename,
2481
- "aria-label": O(s).header.rename,
2482
- class: t(["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 }]),
2483
- onClick: p
2484
- }, l(e.name || O(s).header.untitled), 11, fi)) : (C(), b("span", {
2480
+ title: k(o).header.rename,
2481
+ "aria-label": k(o).header.rename,
2482
+ 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)]": !t.name }]),
2483
+ onClick: u
2484
+ }, d(t.name || k(o).header.untitled), 11, fi)) : (S(), y("span", {
2485
2485
  key: 2,
2486
2486
  "data-testid": "template-name",
2487
- class: t(["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 }])
2488
- }, l(e.name || O(s).header.untitled), 3));
2487
+ 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)]": !t.name }])
2488
+ }, d(t.name || k(o).header.untitled), 3));
2489
2489
  }
2490
2490
  }), mi = ["title"], hi = /* @__PURE__ */ P({
2491
2491
  __name: "TemplateTimestamp",
@@ -2493,24 +2493,24 @@ var Or = ["aria-label"], kr = {
2493
2493
  iso: {},
2494
2494
  kind: {}
2495
2495
  },
2496
- setup(e) {
2497
- let t = e, { t: r, format: i } = $(), a = n(vt, void 0), o = f(0);
2496
+ setup(t) {
2497
+ let r = t, { t: i, format: a } = $(), o = n(vt, void 0), s = e(0);
2498
2498
  De(() => {
2499
- o.value += 1;
2499
+ s.value += 1;
2500
2500
  }, 6e4);
2501
- let s = _(() => {
2502
- o.value;
2503
- let e = _n(t.iso, r.time, i);
2501
+ let c = _(() => {
2502
+ s.value;
2503
+ let e = _n(r.iso, i.time, a);
2504
2504
  if (e === null) return "";
2505
- let n = e === r.time.justNow;
2506
- return t.kind === "updatedAt" ? n ? r.header.updatedJustNow : i(r.header.updatedAt, { time: e }) : n ? r.header.createdJustNow : i(r.header.createdAt, { time: e });
2507
- }), c = _(() => ln(t.iso, a));
2508
- return (e, t) => s.value ? (C(), b("span", {
2505
+ let t = e === i.time.justNow;
2506
+ return r.kind === "updatedAt" ? t ? i.header.updatedJustNow : a(i.header.updatedAt, { time: e }) : t ? i.header.createdJustNow : a(i.header.createdAt, { time: e });
2507
+ }), l = _(() => ln(r.iso, o));
2508
+ return (e, t) => c.value ? (S(), y("span", {
2509
2509
  key: 0,
2510
2510
  "data-testid": "template-timestamp",
2511
- title: c.value,
2511
+ title: l.value,
2512
2512
  class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
2513
- }, l(s.value), 9, mi)) : v("", !0);
2513
+ }, d(c.value), 9, mi)) : v("", !0);
2514
2514
  }
2515
2515
  }), gi = ["data-tooltip"], _i = {
2516
2516
  key: 1,
@@ -2531,19 +2531,19 @@ var Or = ["aria-label"], kr = {
2531
2531
  },
2532
2532
  setup(e) {
2533
2533
  let { t } = $();
2534
- return (n, r) => e.status === "error" ? (C(), b("div", {
2534
+ return (n, r) => e.status === "error" ? (S(), y("div", {
2535
2535
  key: 0,
2536
2536
  "aria-live": "assertive",
2537
2537
  "data-testid": "save-status-error",
2538
2538
  class: "tpl-tooltip tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]",
2539
2539
  "data-tooltip": e.errorMessage
2540
- }, [g(O(Lt), {
2540
+ }, [g(k(Lt), {
2541
2541
  size: 12,
2542
2542
  "stroke-width": 2.5
2543
- }), x(" " + l(O(t).header.saveFailed), 1)], 8, gi)) : e.status === "saved" ? (C(), b("div", _i, [g(O(Ft), {
2543
+ }), b(" " + d(k(t).header.saveFailed), 1)], 8, gi)) : e.status === "saved" ? (S(), y("div", _i, [g(k(Ft), {
2544
2544
  size: 12,
2545
2545
  "stroke-width": 2.5
2546
- }), x(" " + l(O(t).header.saved), 1)])) : e.isDirty ? (C(), b("div", vi, [r[0] ||= E("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), x(" " + l(O(t).header.unsaved), 1)])) : v("", !0);
2546
+ }), b(" " + d(k(t).header.saved), 1)])) : e.isDirty ? (S(), y("div", vi, [r[0] ||= T("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), b(" " + d(k(t).header.unsaved), 1)])) : v("", !0);
2547
2547
  }
2548
2548
  }), bi = [
2549
2549
  "aria-pressed",
@@ -2553,29 +2553,29 @@ var Or = ["aria-label"], kr = {
2553
2553
  __name: "AiHeaderMenu",
2554
2554
  props: { feature: {} },
2555
2555
  setup(e) {
2556
- let n = e, { t: r } = $(), i = _(() => n.feature.panel.value === "chat");
2557
- function a() {
2558
- i.value ? n.feature.close() : n.feature.open("chat");
2556
+ let t = e, { t: n } = $(), r = _(() => t.feature.panel.value === "chat");
2557
+ function i() {
2558
+ r.value ? t.feature.close() : t.feature.open("chat");
2559
2559
  }
2560
- return (n, o) => e.feature.isAvailable.value && e.feature.has("chat") ? (C(), b("button", {
2560
+ return (t, a) => e.feature.isAvailable.value && e.feature.has("chat") ? (S(), y("button", {
2561
2561
  key: 0,
2562
2562
  type: "button",
2563
2563
  "data-testid": "ai-menu-trigger",
2564
- "aria-pressed": i.value,
2565
- "aria-label": O(r).ai.menu.chat,
2566
- title: O(r).ai.menu.chat,
2567
- class: t(O(pn)),
2568
- style: w(i.value ? {
2564
+ "aria-pressed": r.value,
2565
+ "aria-label": k(n).ai.menu.chat,
2566
+ title: k(n).ai.menu.chat,
2567
+ class: C(k(pn)),
2568
+ style: l(r.value ? {
2569
2569
  backgroundColor: "var(--tpl-primary-light)",
2570
2570
  borderColor: "var(--tpl-primary-light)"
2571
2571
  } : void 0),
2572
- onClick: L(a, ["stop"])
2573
- }, [g(O(Zt), {
2572
+ onClick: L(i, ["stop"])
2573
+ }, [g(k(Zt), {
2574
2574
  size: 16,
2575
2575
  "stroke-width": 2,
2576
2576
  class: "tpl:text-[var(--tpl-primary-hover)]",
2577
2577
  "aria-hidden": "true"
2578
- }), x(" " + l(O(r).ai.menu.button), 1)], 14, bi)) : v("", !0);
2578
+ }), b(" " + d(k(n).ai.menu.button), 1)], 14, bi)) : v("", !0);
2579
2579
  }
2580
2580
  }), Si = { class: "tpl-header tpl:absolute tpl:top-0 tpl:right-0 tpl:left-0 tpl:z-50 tpl:grid tpl:h-14 tpl:grid-cols-[1fr_auto_1fr] tpl:items-center tpl:px-4 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:border-b tpl:border-[var(--tpl-border)]" }, Ci = { class: "tpl-header-left tpl:flex tpl:min-w-[200px] tpl:items-center tpl:gap-2.5" }, wi = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, Ti = { class: "tpl-header-right tpl:flex tpl:min-w-[200px] tpl:items-center tpl:justify-end tpl:gap-3" }, Ei = ["aria-label", "aria-expanded"], Di = {
2581
2581
  key: 0,
@@ -2598,13 +2598,13 @@ var Or = ["aria-label"], kr = {
2598
2598
  ai: {}
2599
2599
  },
2600
2600
  setup(e) {
2601
- let n = M(() => import("./VersionHistoryMenu-BG5qayvg.js")), r = M(() => import("./CollaboratorBar-EeqqWcX6.js"));
2602
- return (i, a) => (C(), b("header", Si, [
2603
- E("div", Ci, [
2604
- e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (C(), b("div", {
2601
+ let t = M(() => import("./VersionHistoryMenu-BkbYUs0Q.js")), n = M(() => import("./CollaboratorBar-CXQqN3VP.js"));
2602
+ return (r, i) => (S(), y("header", Si, [
2603
+ T("div", Ci, [
2604
+ e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (S(), y("div", {
2605
2605
  key: 0,
2606
- class: t(["tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": e.showTemplateName && e.templates.timestamp.value !== null }])
2607
- }, [e.showTemplateName ? (C(), j(pi, {
2606
+ class: C(["tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": e.showTemplateName && e.templates.timestamp.value !== null }])
2607
+ }, [e.showTemplateName ? (S(), j(pi, {
2608
2608
  key: 0,
2609
2609
  name: e.templates.name.value,
2610
2610
  editable: e.templates.canSave.value,
@@ -2613,33 +2613,33 @@ var Or = ["aria-label"], kr = {
2613
2613
  "name",
2614
2614
  "editable",
2615
2615
  "onCommit"
2616
- ])) : v("", !0), e.templates.timestamp.value ? (C(), j(hi, {
2616
+ ])) : v("", !0), e.templates.timestamp.value ? (S(), j(hi, {
2617
2617
  key: 1,
2618
2618
  iso: e.templates.timestamp.value.iso,
2619
2619
  kind: e.templates.timestamp.value.kind
2620
2620
  }, null, 8, ["iso", "kind"])) : v("", !0)], 2)) : v("", !0),
2621
- e.versionHistory?.isAvailable.value && e.versionHistory.hasTemplate.value ? (C(), j(O(n), {
2621
+ e.versionHistory?.isAvailable.value && e.versionHistory.hasTemplate.value ? (S(), j(k(t), {
2622
2622
  key: 1,
2623
2623
  versions: e.versionHistory.versions.value,
2624
2624
  "is-loading": e.versionHistory.isLoading.value,
2625
2625
  "is-restoring": e.versionHistory.isRestoring.value,
2626
2626
  "previewing-id": e.versionHistory.previewingVersion.value?.id ?? null,
2627
- onOpen: a[0] ||= (t) => e.versionHistory.refresh(),
2628
- onNavigate: a[1] ||= (t) => e.versionHistory.navigate(t)
2627
+ onOpen: i[0] ||= (t) => e.versionHistory.refresh(),
2628
+ onNavigate: i[1] ||= (t) => e.versionHistory.navigate(t)
2629
2629
  }, null, 8, [
2630
2630
  "versions",
2631
2631
  "is-loading",
2632
2632
  "is-restoring",
2633
2633
  "previewing-id"
2634
2634
  ])) : v("", !0),
2635
- e.collaboration?.isLive.value ? (C(), j(O(r), {
2635
+ e.collaboration?.isLive.value ? (S(), j(k(n), {
2636
2636
  key: 2,
2637
2637
  people: e.collaboration.people.value,
2638
2638
  connection: e.collaboration.connection.value
2639
2639
  }, null, 8, ["people", "connection"])) : v("", !0),
2640
- d(i.$slots, "left-extras")
2640
+ f(r.$slots, "left-extras")
2641
2641
  ]),
2642
- E("div", wi, [
2642
+ T("div", wi, [
2643
2643
  g(Qt, {
2644
2644
  viewport: e.editor.state.viewport,
2645
2645
  onChange: e.editor.setViewport
@@ -2653,8 +2653,8 @@ var Or = ["aria-label"], kr = {
2653
2653
  onChange: e.editor.setPreviewMode
2654
2654
  }, null, 8, ["preview-mode", "onChange"])
2655
2655
  ]),
2656
- E("div", Ti, [
2657
- e.templates?.isAvailable.value && e.templates.canSave.value ? (C(), j(yi, {
2656
+ T("div", Ti, [
2657
+ e.templates?.isAvailable.value && e.templates.canSave.value ? (S(), j(yi, {
2658
2658
  key: 0,
2659
2659
  status: e.templates.status.value,
2660
2660
  "error-message": e.templates.errorMessage.value,
@@ -2664,69 +2664,69 @@ var Or = ["aria-label"], kr = {
2664
2664
  "error-message",
2665
2665
  "is-dirty"
2666
2666
  ])) : v("", !0),
2667
- e.comments?.isAvailable.value && e.comments.hasTemplate.value ? (C(), b("button", {
2667
+ e.comments?.isAvailable.value && e.comments.hasTemplate.value ? (S(), y("button", {
2668
2668
  key: 1,
2669
2669
  type: "button",
2670
2670
  "data-testid": "comments-trigger",
2671
2671
  "aria-label": e.comments.unresolvedCount.value > 0 ? `${e.core.t.comments.button} (${e.comments.unresolvedCount.value})` : e.core.t.comments.button,
2672
2672
  "aria-expanded": e.comments.isOpen.value,
2673
- class: t(O(pn)),
2674
- style: w(e.comments.isOpen.value ? {
2673
+ class: C(k(pn)),
2674
+ style: l(e.comments.isOpen.value ? {
2675
2675
  backgroundColor: "var(--tpl-primary-light)",
2676
2676
  borderColor: "var(--tpl-primary-light)"
2677
2677
  } : void 0),
2678
- onClick: a[2] ||= (t) => e.comments.toggle()
2678
+ onClick: i[2] ||= (t) => e.comments.toggle()
2679
2679
  }, [
2680
- g(O(Kt), {
2680
+ g(k(Kt), {
2681
2681
  size: 16,
2682
2682
  "stroke-width": 2
2683
2683
  }),
2684
- x(" " + l(e.core.t.comments.button) + " ", 1),
2685
- e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (C(), b("span", Di, l(e.comments.unresolvedCount.value), 1)) : v("", !0)
2684
+ b(" " + d(e.core.t.comments.button) + " ", 1),
2685
+ e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (S(), y("span", Di, d(e.comments.unresolvedCount.value), 1)) : v("", !0)
2686
2686
  ], 14, Ei)) : v("", !0),
2687
- e.ai ? (C(), j(xi, {
2687
+ e.ai ? (S(), j(xi, {
2688
2688
  key: 2,
2689
2689
  feature: e.ai
2690
2690
  }, null, 8, ["feature"])) : v("", !0),
2691
- d(i.$slots, "right-extras"),
2692
- e.testEmail?.isAvailable.value ? (C(), b("button", {
2691
+ f(r.$slots, "right-extras"),
2692
+ e.testEmail?.isAvailable.value ? (S(), y("button", {
2693
2693
  key: 3,
2694
2694
  type: "button",
2695
2695
  "data-testid": "test-email-trigger",
2696
2696
  "aria-label": e.core.t.testEmail.title,
2697
2697
  title: e.core.t.testEmail.title,
2698
2698
  disabled: e.testEmail.isSending.value,
2699
- class: t(O(pn)),
2700
- onClick: a[3] ||= (t) => e.testEmail.open()
2701
- }, [e.testEmail.isSending.value ? (C(), j(O(Gt), {
2699
+ class: C(k(pn)),
2700
+ onClick: i[3] ||= (t) => e.testEmail.open()
2701
+ }, [e.testEmail.isSending.value ? (S(), j(k(Gt), {
2702
2702
  key: 1,
2703
2703
  class: "tpl-spinner",
2704
2704
  size: 16,
2705
2705
  "stroke-width": 2
2706
- })) : (C(), j(O(Xt), {
2706
+ })) : (S(), j(k(Xt), {
2707
2707
  key: 0,
2708
2708
  size: 16,
2709
2709
  "stroke-width": 2
2710
- })), x(" " + l(e.core.t.testEmail.button), 1)], 10, Oi)) : v("", !0),
2711
- e.templates?.isAvailable.value && e.templates.canSave.value ? (C(), b("button", {
2710
+ })), b(" " + d(e.core.t.testEmail.button), 1)], 10, Oi)) : v("", !0),
2711
+ e.templates?.isAvailable.value && e.templates.canSave.value ? (S(), y("button", {
2712
2712
  key: 4,
2713
2713
  type: "button",
2714
2714
  "data-testid": "template-save",
2715
- class: t(e.editor.state.isDirty && e.templates.hasTemplate.value ? O(hn) : O(pn)),
2716
- style: w(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
2715
+ class: C(e.editor.state.isDirty && e.templates.hasTemplate.value ? k(hn) : k(pn)),
2716
+ style: l(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
2717
2717
  disabled: e.templates.isSaving.value || !e.templates.hasTemplate.value,
2718
2718
  title: e.templates.hasTemplate.value ? e.core.t.header.save : e.core.t.header.saveNoTemplate,
2719
- onClick: a[4] ||= (t) => e.templates.requestSave()
2720
- }, [e.templates.isSaving.value ? (C(), j(O(Gt), {
2719
+ onClick: i[4] ||= (t) => e.templates.requestSave()
2720
+ }, [e.templates.isSaving.value ? (S(), j(k(Gt), {
2721
2721
  key: 1,
2722
2722
  class: "tpl-spinner",
2723
2723
  size: 16,
2724
2724
  "stroke-width": 2
2725
- })) : (C(), j(O(Dn), {
2725
+ })) : (S(), j(k(Dn), {
2726
2726
  key: 0,
2727
2727
  size: 16,
2728
2728
  "stroke-width": 2
2729
- })), x(" " + l(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, ki)) : v("", !0)
2729
+ })), b(" " + d(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, ki)) : v("", !0)
2730
2730
  ])
2731
2731
  ]));
2732
2732
  }
@@ -2771,12 +2771,12 @@ var Or = ["aria-label"], kr = {
2771
2771
  class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
2772
2772
  }, Yi = "tpl-merge-tag-picker-list", Xi = /* @__PURE__ */ P({
2773
2773
  __name: "MergeTagPickerModal",
2774
- setup(e) {
2775
- let i = ot(st, "MergeTagPickerModal"), { t: o, format: s } = $(), c = n(ut, null), d = n(yt, null), p = n(pt, !0), h = _(() => i.current.value !== null), y = _(() => h.value ? o.mergeTag.picker.changeTitle : o.mergeTag.picker.title);
2774
+ setup(t) {
2775
+ let a = ot(st, "MergeTagPickerModal"), { t: o, format: s } = $(), c = n(ut, null), f = n(yt, null), p = n(pt, !0), h = _(() => a.current.value !== null), b = _(() => h.value ? o.mergeTag.picker.changeTitle : o.mergeTag.picker.title);
2776
2776
  function x(e) {
2777
2777
  return p ? e.description ? `${e.value} — ${e.description}` : e.value : e.description || void 0;
2778
2778
  }
2779
- let S = f(""), T = Ee(S, 200), D = f(null), A = _(() => T.value.trim().length > 0), M = f(0), N = _(() => i.tags.value.some((e) => !!e.group)), P = f(/* @__PURE__ */ new Set());
2779
+ let w = e(""), E = Ee(w, 200), D = e(null), A = _(() => E.value.trim().length > 0), M = e(0), N = _(() => a.tags.value.some((e) => !!e.group)), P = e(/* @__PURE__ */ new Set());
2780
2780
  function R(e) {
2781
2781
  return P.value.has(e);
2782
2782
  }
@@ -2785,16 +2785,16 @@ var Or = ["aria-label"], kr = {
2785
2785
  t.has(e) ? t.delete(e) : t.add(e), P.value = t, M.value = 0;
2786
2786
  }
2787
2787
  let V = _(() => {
2788
- let e = T.value.trim().toLowerCase();
2789
- return e ? i.tags.value.filter((t) => [
2788
+ let e = E.value.trim().toLowerCase();
2789
+ return e ? a.tags.value.filter((t) => [
2790
2790
  t.label,
2791
2791
  t.value,
2792
2792
  t.description ?? ""
2793
- ].join(" ").toLowerCase().includes(e)) : i.tags.value;
2793
+ ].join(" ").toLowerCase().includes(e)) : a.tags.value;
2794
2794
  }), H = _(() => {
2795
2795
  if (!N.value) return [];
2796
2796
  let e = o.mergeTag.picker.otherGroup, t = /* @__PURE__ */ new Set(), n = [];
2797
- for (let r of i.tags.value) {
2797
+ for (let r of a.tags.value) {
2798
2798
  let i = r.group ?? e;
2799
2799
  t.has(i) || (t.add(i), n.push(i));
2800
2800
  }
@@ -2827,7 +2827,7 @@ var Or = ["aria-label"], kr = {
2827
2827
  return i;
2828
2828
  }), U = _(() => ee.value.flatMap((e) => e.kind === "tag" ? [e.tag] : [])), W = !1;
2829
2829
  function G(e) {
2830
- let t = i.current.value;
2830
+ let t = a.current.value;
2831
2831
  if (!t) return !1;
2832
2832
  let n = e.findIndex((e) => e.value === t.value);
2833
2833
  return n !== -1 && (M.value = n, !0);
@@ -2835,18 +2835,18 @@ var Or = ["aria-label"], kr = {
2835
2835
  function K(e) {
2836
2836
  W = !1, M.value = e;
2837
2837
  }
2838
- F(() => i.isOpen.value, (e) => {
2839
- e ? (S.value = "", M.value = 0, P.value = /* @__PURE__ */ new Set(), W = !G(U.value), r(() => {
2838
+ F(() => a.isOpen.value, (e) => {
2839
+ e ? (w.value = "", M.value = 0, P.value = /* @__PURE__ */ new Set(), W = !G(U.value), r(() => {
2840
2840
  D.value?.focus();
2841
2841
  })) : W = !1;
2842
2842
  }), F(U, (e) => {
2843
2843
  W && G(e) ? W = !1 : M.value >= e.length && (M.value = Math.max(0, e.length - 1));
2844
2844
  });
2845
2845
  function q(e) {
2846
- i.resolve(e);
2846
+ a.resolve(e);
2847
2847
  }
2848
2848
  function J() {
2849
- i.resolve(null);
2849
+ a.resolve(null);
2850
2850
  }
2851
2851
  function Y(e) {
2852
2852
  if (U.value.length === 0) return;
@@ -2854,7 +2854,7 @@ var Or = ["aria-label"], kr = {
2854
2854
  let t = M.value + e;
2855
2855
  M.value = Math.max(0, Math.min(U.value.length - 1, t)), re();
2856
2856
  }
2857
- let X = f(null), te = f({});
2857
+ let X = e(null), te = e({});
2858
2858
  function ne(e, t) {
2859
2859
  te.value[e] = t ?? null;
2860
2860
  }
@@ -2901,69 +2901,69 @@ var Or = ["aria-label"], kr = {
2901
2901
  function Q(e) {
2902
2902
  return `${Yi}-opt-${e}`;
2903
2903
  }
2904
- let oe = _(() => i.tags.value.length === 0), se = _(() => !oe.value && V.value.length === 0), ce = _(() => N.value && H.value.length > 1 && !A.value);
2905
- return (e, n) => (C(), j(vn, {
2906
- visible: O(i).isOpen.value,
2904
+ let oe = _(() => a.tags.value.length === 0), se = _(() => !oe.value && V.value.length === 0), ce = _(() => N.value && H.value.length > 1 && !A.value);
2905
+ return (e, t) => (S(), j(vn, {
2906
+ visible: k(a).isOpen.value,
2907
2907
  onClose: J,
2908
2908
  onKeydown: ie
2909
2909
  }, {
2910
- default: m(() => [E("div", {
2910
+ default: i(() => [T("div", {
2911
2911
  role: "dialog",
2912
2912
  "aria-modal": "true",
2913
2913
  "aria-labelledby": `${Yi}-title`,
2914
- "data-tpl-theme": O(d),
2914
+ "data-tpl-theme": k(f),
2915
2915
  "data-testid": "merge-tag-picker-modal",
2916
2916
  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)]",
2917
- style: w(O(c))
2917
+ style: l(k(c))
2918
2918
  }, [
2919
- E("header", Mi, [E("h2", {
2919
+ T("header", Mi, [T("h2", {
2920
2920
  id: `${Yi}-title`,
2921
2921
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
2922
- }, l(y.value), 9, Ni), E("button", {
2922
+ }, d(b.value), 9, Ni), T("button", {
2923
2923
  type: "button",
2924
2924
  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)]",
2925
- "aria-label": O(o).mergeTag.picker.close,
2925
+ "aria-label": k(o).mergeTag.picker.close,
2926
2926
  "data-testid": "merge-tag-picker-close",
2927
2927
  onClick: J
2928
- }, [g(O(en), {
2928
+ }, [g(k(en), {
2929
2929
  size: 16,
2930
2930
  "stroke-width": 2
2931
2931
  })], 8, Pi)]),
2932
- E("div", Fi, [g(O(Yt), {
2932
+ T("div", Fi, [g(k(Yt), {
2933
2933
  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)]",
2934
2934
  size: 14,
2935
2935
  "stroke-width": 2
2936
- }), a(E("input", {
2936
+ }), m(T("input", {
2937
2937
  id: `${Yi}-search`,
2938
2938
  ref_key: "searchInputRef",
2939
2939
  ref: D,
2940
- "onUpdate:modelValue": n[0] ||= (e) => S.value = e,
2940
+ "onUpdate:modelValue": t[0] ||= (e) => w.value = e,
2941
2941
  type: "text",
2942
2942
  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)]",
2943
- placeholder: O(o).mergeTag.picker.searchPlaceholder,
2944
- "aria-label": O(o).mergeTag.picker.searchAriaLabel,
2943
+ placeholder: k(o).mergeTag.picker.searchPlaceholder,
2944
+ "aria-label": k(o).mergeTag.picker.searchAriaLabel,
2945
2945
  "aria-controls": Yi,
2946
2946
  "aria-activedescendant": ae(),
2947
2947
  "data-testid": "merge-tag-picker-search",
2948
- onKeydown: n[1] ||= B(L(() => {}, ["prevent"]), ["enter"])
2949
- }, null, 40, Ii), [[I, S.value]])]),
2950
- ce.value ? (C(), b("div", Li, [(C(!0), b(k, null, u(H.value, (e) => (C(), b("button", {
2948
+ onKeydown: t[1] ||= B(L(() => {}, ["prevent"]), ["enter"])
2949
+ }, null, 40, Ii), [[I, w.value]])]),
2950
+ ce.value ? (S(), y("div", Li, [(S(!0), y(O, null, u(H.value, (e) => (S(), y("button", {
2951
2951
  key: e,
2952
2952
  type: "button",
2953
2953
  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)]",
2954
2954
  "data-testid": "merge-tag-picker-group-pill",
2955
2955
  "data-group-name": e,
2956
2956
  onClick: (t) => Z(e)
2957
- }, l(e), 9, Ri))), 128))])) : v("", !0),
2958
- E("div", {
2957
+ }, d(e), 9, Ri))), 128))])) : v("", !0),
2958
+ T("div", {
2959
2959
  id: Yi,
2960
2960
  ref_key: "listRef",
2961
2961
  ref: X,
2962
2962
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
2963
2963
  role: "listbox",
2964
- "aria-label": y.value,
2964
+ "aria-label": b.value,
2965
2965
  "data-testid": "merge-tag-picker-list"
2966
- }, [oe.value ? (C(), b("div", Bi, l(O(o).mergeTag.picker.empty), 1)) : se.value ? (C(), b("div", Vi, l(O(o).mergeTag.picker.noResults), 1)) : (C(!0), b(k, { key: 2 }, u(ee.value, (e, n) => (C(), b(k, { key: n }, [e.kind === "header" ? (C(), b("button", {
2966
+ }, [oe.value ? (S(), y("div", Bi, d(k(o).mergeTag.picker.empty), 1)) : se.value ? (S(), y("div", Vi, d(k(o).mergeTag.picker.noResults), 1)) : (S(!0), y(O, { key: 2 }, u(ee.value, (e, t) => (S(), y(O, { key: t }, [e.kind === "header" ? (S(), y("button", {
2967
2967
  key: 0,
2968
2968
  ref_for: !0,
2969
2969
  ref: (t) => ne(e.group, t),
@@ -2976,14 +2976,14 @@ var Or = ["aria-label"], kr = {
2976
2976
  "data-group-collapsed": R(e.group) ? "true" : "false",
2977
2977
  onClick: (t) => z(e.group)
2978
2978
  }, [
2979
- g(O(It), {
2979
+ g(k(It), {
2980
2980
  size: 12,
2981
2981
  "stroke-width": 2,
2982
- class: t(["tpl:transition-transform", R(e.group) ? "tpl:-rotate-90" : ""])
2982
+ class: C(["tpl:transition-transform", R(e.group) ? "tpl:-rotate-90" : ""])
2983
2983
  }, null, 8, ["class"]),
2984
- E("span", null, l(e.group), 1),
2985
- E("span", Ui, " (" + l(O(s)(O(o).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
2986
- ], 8, Hi)) : (C(), b("button", {
2984
+ T("span", null, d(e.group), 1),
2985
+ T("span", Ui, " (" + d(k(s)(k(o).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
2986
+ ], 8, Hi)) : (S(), y("button", {
2987
2987
  key: 1,
2988
2988
  id: Q(e.index),
2989
2989
  type: "button",
@@ -2992,17 +2992,17 @@ var Or = ["aria-label"], kr = {
2992
2992
  "data-selected": e.index === M.value ? "true" : "false",
2993
2993
  "data-merge-tag-index": e.index,
2994
2994
  "data-merge-tag-value": e.tag.value,
2995
- "aria-current": e.tag.value === O(i).current.value?.value ? "true" : void 0,
2995
+ "aria-current": e.tag.value === k(a).current.value?.value ? "true" : void 0,
2996
2996
  title: x(e.tag),
2997
- class: t(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === M.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
2997
+ class: C(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === M.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
2998
2998
  "data-testid": "merge-tag-picker-item",
2999
2999
  onMousemove: (t) => K(e.index),
3000
3000
  onClick: (t) => q(e.tag)
3001
3001
  }, [
3002
- E("span", Gi, l(e.tag.label), 1),
3003
- E("span", Ki, l(e.tag.value), 1),
3004
- e.tag.description ? (C(), b("span", qi, l(e.tag.description), 1)) : v("", !0),
3005
- e.tag.sample === void 0 ? v("", !0) : (C(), b("span", Ji, l(O(s)(O(o).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3002
+ T("span", Gi, d(e.tag.label), 1),
3003
+ T("span", Ki, d(e.tag.value), 1),
3004
+ e.tag.description ? (S(), y("span", qi, d(e.tag.description), 1)) : v("", !0),
3005
+ e.tag.sample === void 0 ? v("", !0) : (S(), y("span", Ji, d(k(s)(k(o).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3006
3006
  ], 42, Wi))], 64))), 128))], 8, zi)
3007
3007
  ], 12, ji)]),
3008
3008
  _: 1
@@ -3016,7 +3016,7 @@ var Or = ["aria-label"], kr = {
3016
3016
  },
3017
3017
  setup(e) {
3018
3018
  let t = e, n = _(() => oe(t.value, t.syntax)), r = _(() => q(t.value, t.syntax));
3019
- return (e, t) => n.value ? (C(), b("span", {
3019
+ return (e, t) => n.value ? (S(), y("span", {
3020
3020
  key: 0,
3021
3021
  class: "tpl:inline-flex tpl:flex-shrink-0 tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:leading-none tpl:font-bold tpl:tracking-wide tpl:uppercase",
3022
3022
  style: {
@@ -3025,7 +3025,7 @@ var Or = ["aria-label"], kr = {
3025
3025
  },
3026
3026
  "data-testid": "merge-tag-logic-badge",
3027
3027
  "data-logic-keyword": r.value
3028
- }, l(r.value), 9, Zi)) : v("", !0);
3028
+ }, d(r.value), 9, Zi)) : v("", !0);
3029
3029
  }
3030
3030
  }), $i = ["aria-labelledby", "data-tpl-theme"], ea = { 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" }, ta = ["id"], na = ["aria-label"], ra = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, ia = [
3031
3031
  "id",
@@ -3059,17 +3059,17 @@ var Or = ["aria-label"], kr = {
3059
3059
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3060
3060
  }, ga = "tpl-logic-picker-list", _a = /* @__PURE__ */ P({
3061
3061
  __name: "LogicTagPickerModal",
3062
- setup(e) {
3063
- let i = ot(ct, "LogicTagPickerModal"), { t: o } = $(), s = n(mt, se.liquid), c = n(ut, null), d = n(yt, null), p = f(""), h = Ee(p, 200), y = f(null), x = _(() => h.value.trim().length > 0), S = f(0);
3064
- function T(e) {
3062
+ setup(t) {
3063
+ let a = ot(ct, "LogicTagPickerModal"), { t: o } = $(), s = n(mt, se.liquid), c = n(ut, null), f = n(yt, null), p = e(""), h = Ee(p, 200), b = e(null), x = _(() => h.value.trim().length > 0), w = e(0);
3064
+ function E(e) {
3065
3065
  let t = h.value.trim().toLowerCase();
3066
3066
  return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
3067
3067
  }
3068
- let D = _(() => i.tags.value.filter((e) => T([
3068
+ let D = _(() => a.tags.value.filter((e) => E([
3069
3069
  e.label,
3070
3070
  e.value,
3071
3071
  e.description
3072
- ]))), A = _(() => i.pairs.value.filter((e) => T([
3072
+ ]))), A = _(() => a.pairs.value.filter((e) => E([
3073
3073
  e.label,
3074
3074
  e.before,
3075
3075
  e.after,
@@ -3082,7 +3082,7 @@ var Or = ["aria-label"], kr = {
3082
3082
  kind: "tag",
3083
3083
  tag: e,
3084
3084
  group: e.group
3085
- }))]), N = _(() => i.tags.value.some((e) => !!e.group) || i.pairs.value.some((e) => !!e.group));
3085
+ }))]), N = _(() => a.tags.value.some((e) => !!e.group) || a.pairs.value.some((e) => !!e.group));
3086
3086
  function P(e) {
3087
3087
  let t = o.logicTag.picker.otherGroup, n = /* @__PURE__ */ new Map(), r = [];
3088
3088
  for (let i of e) {
@@ -3115,22 +3115,22 @@ var Or = ["aria-label"], kr = {
3115
3115
  rows: e,
3116
3116
  items: t
3117
3117
  };
3118
- }), z = _(() => R.value.items), V = _(() => i.tags.value.length === 0 && i.pairs.value.length === 0), H = _(() => !V.value && z.value.length === 0);
3119
- F(() => i.isOpen.value, (e) => {
3120
- e && (p.value = "", S.value = 0, r(() => y.value?.focus()));
3118
+ }), z = _(() => R.value.items), V = _(() => a.tags.value.length === 0 && a.pairs.value.length === 0), H = _(() => !V.value && z.value.length === 0);
3119
+ F(() => a.isOpen.value, (e) => {
3120
+ e && (p.value = "", w.value = 0, r(() => b.value?.focus()));
3121
3121
  }), F(z, (e) => {
3122
- S.value >= e.length && (S.value = Math.max(0, e.length - 1));
3122
+ w.value >= e.length && (w.value = Math.max(0, e.length - 1));
3123
3123
  });
3124
- let ee = f(null);
3124
+ let ee = e(null);
3125
3125
  function U(e) {
3126
- i.resolve(e);
3126
+ a.resolve(e);
3127
3127
  }
3128
3128
  function W() {
3129
- i.resolve(null);
3129
+ a.resolve(null);
3130
3130
  }
3131
3131
  function G(e) {
3132
- z.value.length !== 0 && (S.value = Math.max(0, Math.min(z.value.length - 1, S.value + e)), r(() => {
3133
- ee.value?.querySelector(`[data-logic-index="${S.value}"]`)?.scrollIntoView({ block: "nearest" });
3132
+ z.value.length !== 0 && (w.value = Math.max(0, Math.min(z.value.length - 1, w.value + e)), r(() => {
3133
+ ee.value?.querySelector(`[data-logic-index="${w.value}"]`)?.scrollIntoView({ block: "nearest" });
3134
3134
  }));
3135
3135
  }
3136
3136
  function K(e) {
@@ -3138,7 +3138,7 @@ var Or = ["aria-label"], kr = {
3138
3138
  else if (e.key === "ArrowUp") e.preventDefault(), G(-1);
3139
3139
  else if (e.key === "Enter") {
3140
3140
  e.preventDefault();
3141
- let t = z.value[S.value];
3141
+ let t = z.value[w.value];
3142
3142
  t && U(t);
3143
3143
  }
3144
3144
  }
@@ -3146,96 +3146,96 @@ var Or = ["aria-label"], kr = {
3146
3146
  return `${ga}-opt-${e}`;
3147
3147
  }
3148
3148
  function J() {
3149
- return z.value.length === 0 ? void 0 : `${ga}-opt-${S.value}`;
3149
+ return z.value.length === 0 ? void 0 : `${ga}-opt-${w.value}`;
3150
3150
  }
3151
- return (e, n) => (C(), j(vn, {
3152
- visible: O(i).isOpen.value,
3151
+ return (e, t) => (S(), j(vn, {
3152
+ visible: k(a).isOpen.value,
3153
3153
  onClose: W,
3154
3154
  onKeydown: K
3155
3155
  }, {
3156
- default: m(() => [E("div", {
3156
+ default: i(() => [T("div", {
3157
3157
  role: "dialog",
3158
3158
  "aria-modal": "true",
3159
3159
  "aria-labelledby": `${ga}-title`,
3160
- "data-tpl-theme": O(d),
3160
+ "data-tpl-theme": k(f),
3161
3161
  "data-testid": "logic-picker-modal",
3162
3162
  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)]",
3163
- style: w(O(c))
3163
+ style: l(k(c))
3164
3164
  }, [
3165
- E("header", ea, [E("h2", {
3165
+ T("header", ea, [T("h2", {
3166
3166
  id: `${ga}-title`,
3167
3167
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3168
- }, l(O(o).logicTag.picker.title), 9, ta), E("button", {
3168
+ }, d(k(o).logicTag.picker.title), 9, ta), T("button", {
3169
3169
  type: "button",
3170
3170
  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)]",
3171
- "aria-label": O(o).logicTag.picker.close,
3171
+ "aria-label": k(o).logicTag.picker.close,
3172
3172
  "data-testid": "logic-picker-close",
3173
3173
  onClick: W
3174
- }, [g(O(en), {
3174
+ }, [g(k(en), {
3175
3175
  size: 16,
3176
3176
  "stroke-width": 2
3177
3177
  })], 8, na)]),
3178
- E("div", ra, [g(O(Yt), {
3178
+ T("div", ra, [g(k(Yt), {
3179
3179
  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)]",
3180
3180
  size: 14,
3181
3181
  "stroke-width": 2
3182
- }), a(E("input", {
3182
+ }), m(T("input", {
3183
3183
  id: `${ga}-search`,
3184
3184
  ref_key: "searchInputRef",
3185
- ref: y,
3186
- "onUpdate:modelValue": n[0] ||= (e) => p.value = e,
3185
+ ref: b,
3186
+ "onUpdate:modelValue": t[0] ||= (e) => p.value = e,
3187
3187
  type: "text",
3188
3188
  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)]",
3189
- placeholder: O(o).logicTag.picker.searchPlaceholder,
3190
- "aria-label": O(o).logicTag.picker.searchAriaLabel,
3189
+ placeholder: k(o).logicTag.picker.searchPlaceholder,
3190
+ "aria-label": k(o).logicTag.picker.searchAriaLabel,
3191
3191
  "aria-controls": ga,
3192
3192
  "aria-activedescendant": J(),
3193
3193
  "data-testid": "logic-picker-search",
3194
- onKeydown: n[1] ||= B(L(() => {}, ["prevent"]), ["enter"])
3194
+ onKeydown: t[1] ||= B(L(() => {}, ["prevent"]), ["enter"])
3195
3195
  }, null, 40, ia), [[I, p.value]])]),
3196
- E("div", {
3196
+ T("div", {
3197
3197
  id: ga,
3198
3198
  ref_key: "listRef",
3199
3199
  ref: ee,
3200
3200
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3201
3201
  role: "listbox",
3202
- "aria-label": O(o).logicTag.picker.title,
3202
+ "aria-label": k(o).logicTag.picker.title,
3203
3203
  "data-testid": "logic-picker-list"
3204
- }, [V.value ? (C(), b("div", oa, l(O(o).logicTag.picker.empty), 1)) : H.value ? (C(), b("div", sa, l(O(o).logicTag.picker.noResults), 1)) : (C(!0), b(k, { key: 2 }, u(R.value.rows, (e, r) => (C(), b(k, { key: r }, [e.kind === "header" ? (C(), b("div", {
3204
+ }, [V.value ? (S(), y("div", oa, d(k(o).logicTag.picker.empty), 1)) : H.value ? (S(), y("div", sa, d(k(o).logicTag.picker.noResults), 1)) : (S(!0), y(O, { key: 2 }, u(R.value.rows, (e, n) => (S(), y(O, { key: n }, [e.kind === "header" ? (S(), y("div", {
3205
3205
  key: 0,
3206
3206
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
3207
3207
  "data-testid": "logic-picker-header",
3208
3208
  "data-group-name": e.label
3209
- }, l(e.label), 9, ca)) : (C(), b("button", {
3209
+ }, d(e.label), 9, ca)) : (S(), y("button", {
3210
3210
  key: 1,
3211
3211
  id: q(e.index),
3212
3212
  type: "button",
3213
3213
  role: "option",
3214
- "aria-selected": e.index === S.value,
3215
- "data-selected": e.index === S.value ? "true" : "false",
3214
+ "aria-selected": e.index === w.value,
3215
+ "data-selected": e.index === w.value ? "true" : "false",
3216
3216
  "data-logic-index": e.index,
3217
3217
  "data-logic-kind": e.kind,
3218
- class: t(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === S.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
3218
+ class: C(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === w.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
3219
3219
  "data-testid": "logic-picker-item",
3220
- onMousemove: (t) => S.value = e.index,
3220
+ onMousemove: (t) => w.value = e.index,
3221
3221
  onClick: (t) => U(e.kind === "tag" ? e.tag : e.pair)
3222
3222
  }, [
3223
- E("span", ua, [E("span", da, l(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (C(), b("span", fa, [g(Qi, {
3223
+ T("span", ua, [T("span", da, d(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (S(), y("span", fa, [g(Qi, {
3224
3224
  value: e.tag.value,
3225
- syntax: O(s)
3226
- }, null, 8, ["value", "syntax"])])) : (C(), b("span", pa, [
3225
+ syntax: k(s)
3226
+ }, null, 8, ["value", "syntax"])])) : (S(), y("span", pa, [
3227
3227
  g(Qi, {
3228
3228
  value: e.pair.before,
3229
- syntax: O(s)
3229
+ syntax: k(s)
3230
3230
  }, null, 8, ["value", "syntax"]),
3231
- n[2] ||= E("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
3231
+ t[2] ||= T("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
3232
3232
  g(Qi, {
3233
3233
  value: e.pair.after,
3234
- syntax: O(s)
3234
+ syntax: k(s)
3235
3235
  }, null, 8, ["value", "syntax"])
3236
3236
  ]))]),
3237
- E("span", ma, l(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3238
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (C(), b("span", ha, l(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : v("", !0)
3237
+ T("span", ma, d(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3238
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (S(), y("span", ha, d(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : v("", !0)
3239
3239
  ], 42, la))], 64))), 128))], 8, aa)
3240
3240
  ], 12, $i)]),
3241
3241
  _: 1
@@ -3259,12 +3259,12 @@ var Or = ["aria-label"], kr = {
3259
3259
  usesLocalRenderer: { type: Function }
3260
3260
  },
3261
3261
  setup(n, { expose: r }) {
3262
- let i = n;
3262
+ let a = n;
3263
3263
  c(lt, {
3264
- renderHtml: () => i.renderHtml?.() ?? Promise.reject(/* @__PURE__ */ Error("HTML rendering is unavailable")),
3265
- canRenderHtml: () => i.canRenderHtml?.() ?? !1,
3266
- cloud: !!i.cloud,
3267
- options: i.config.lint ?? {}
3264
+ renderHtml: () => a.renderHtml?.() ?? Promise.reject(/* @__PURE__ */ Error("HTML rendering is unavailable")),
3265
+ canRenderHtml: () => a.canRenderHtml?.() ?? !1,
3266
+ cloud: !!a.cloud,
3267
+ options: a.config.lint ?? {}
3268
3268
  });
3269
3269
  let o = {
3270
3270
  get tags() {
@@ -3273,125 +3273,125 @@ var Or = ["aria-label"], kr = {
3273
3273
  get syntax() {
3274
3274
  return Z.mergeTagSyntax;
3275
3275
  }
3276
- }, s = i.config.templates ? on(i.config.templates, o) : void 0;
3277
- i.config.collaboration && !s && Mt.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
3278
- let u = i.config.collaboration && s ? Fn({
3279
- provider: i.config.collaboration,
3276
+ }, s = a.config.templates ? on(a.config.templates, o) : void 0;
3277
+ a.config.collaboration && !s && Mt.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
3278
+ let u = a.config.collaboration && s ? Fn({
3279
+ provider: a.config.collaboration,
3280
3280
  loadTemplate: (e) => s.load(e),
3281
- user: i.config.user,
3281
+ user: a.config.user,
3282
3282
  mergeTags: o,
3283
- onRemoteChange: i.config.onRemoteChange,
3284
- onError: i.config.onError
3285
- }) : null, d = s && u ? fr(s, u.core, () => {
3283
+ onRemoteChange: a.config.onRemoteChange,
3284
+ onError: a.config.onError
3285
+ }) : null, f = s && u ? fr(s, u.core, () => {
3286
3286
  let e = p.state.template;
3287
3287
  return e ? {
3288
- ...A(e),
3289
- content: K(A(p.content.value))
3288
+ ...D(e),
3289
+ content: K(D(p.content.value))
3290
3290
  } : null;
3291
3291
  }) : s, p = we({
3292
- content: i.config.content,
3293
- defaultFontFamily: i.config.fonts?.defaultFont,
3294
- templateDefaults: xn(i.config),
3295
- templates: d,
3296
- onError: i.config.onError,
3292
+ content: a.config.content,
3293
+ defaultFontFamily: a.config.fonts?.defaultFont,
3294
+ templateDefaults: xn(a.config),
3295
+ templates: f,
3296
+ onError: a.config.onError,
3297
3297
  lockedBlocks: u?.locks
3298
3298
  });
3299
3299
  u?.attach(p);
3300
- let h = i.cloud ? i.cloud.attach({ editor: p }) : null, y = d ? tr({
3301
- provider: d,
3300
+ let h = a.cloud ? a.cloud.attach({ editor: p }) : null, x = f ? tr({
3301
+ provider: f,
3302
3302
  editor: p,
3303
- guardUnsavedChanges: i.config.templates?.unsavedChangesGuard,
3304
- getSaveGate: i.cloud ? () => i.cloud.getSaveGate() : void 0
3303
+ guardUnsavedChanges: a.config.templates?.unsavedChangesGuard,
3304
+ getSaveGate: a.cloud ? () => a.cloud.getSaveGate() : void 0
3305
3305
  }) : null;
3306
- i.config.onDirtyChange && F(() => p.state.isDirty, (e) => i.config.onDirtyChange(e));
3307
- let S = f(null), k = i.config.savedBlocks ? $n({
3308
- provider: i.config.savedBlocks,
3306
+ a.config.onDirtyChange && F(() => p.state.isDirty, (e) => a.config.onDirtyChange(e));
3307
+ let O = e(null), A = a.config.savedBlocks ? $n({
3308
+ provider: a.config.savedBlocks,
3309
3309
  editor: p,
3310
- onError: i.config.onError,
3311
- isAvailable: i.cloud ? () => i.cloud.isSavedBlocksAvailable() : void 0
3312
- }) : null, N = M(() => import("./SavedBlocksPanels-ChbL9v9x.js")), P = i.config.media || i.config.onRequestMedia ? Zn({
3313
- provider: i.config.media,
3314
- onRequestMedia: i.config.onRequestMedia,
3310
+ onError: a.config.onError,
3311
+ isAvailable: a.cloud ? () => a.cloud.isSavedBlocksAvailable() : void 0
3312
+ }) : null, N = M(() => import("./SavedBlocksPanels-BE1N9rNZ.js")), P = a.config.media || a.config.onRequestMedia ? Zn({
3313
+ provider: a.config.media,
3314
+ onRequestMedia: a.config.onRequestMedia,
3315
3315
  getTemplateId: () => p.state.template?.id,
3316
- onError: i.config.onError
3317
- }) : null, I = M(() => import("./MediaPanels-BFWYuJot.js")), R = i.config.testEmail ? or({
3318
- provider: i.config.testEmail,
3316
+ onError: a.config.onError
3317
+ }) : null, I = M(() => import("./MediaPanels-BgEp7iCp.js")), R = a.config.testEmail ? or({
3318
+ provider: a.config.testEmail,
3319
3319
  getContent: () => p.content.value,
3320
- renderMjml: i.renderMjml,
3321
- usesLocalRenderer: i.usesLocalRenderer,
3322
- onError: i.config.onError,
3323
- isAvailable: i.cloud ? () => i.cloud.isTestEmailAvailable() : void 0
3324
- }) : null, B = M(() => import("./TestEmailPanel-COJQa2A9.js")), H = i.config.comments ? In({
3325
- provider: i.config.comments,
3320
+ renderMjml: a.renderMjml,
3321
+ usesLocalRenderer: a.usesLocalRenderer,
3322
+ onError: a.config.onError,
3323
+ isAvailable: a.cloud ? () => a.cloud.isTestEmailAvailable() : void 0
3324
+ }) : null, B = M(() => import("./TestEmailPanel-DaFjP9QK.js")), H = a.config.comments ? In({
3325
+ provider: a.config.comments,
3326
3326
  editor: p,
3327
- user: i.config.user,
3327
+ user: a.config.user,
3328
3328
  isOpen: h?.panelState.commentsOpen,
3329
- onError: i.config.onError,
3330
- isAvailable: i.cloud ? () => i.cloud.isCommentsAvailable() : void 0,
3331
- isBlockSaved: i.cloud ? (e) => i.cloud.isBlockSaved(e) : void 0
3332
- }) : null, ee = M(() => import("./CommentsPanel-BuftXc0U.js")), U = M(() => import("./AiPanels-CxGp6klr.js")), W = i.config.ai ? Wn({
3333
- provider: i.config.ai,
3329
+ onError: a.config.onError,
3330
+ isAvailable: a.cloud ? () => a.cloud.isCommentsAvailable() : void 0,
3331
+ isBlockSaved: a.cloud ? (e) => a.cloud.isBlockSaved(e) : void 0
3332
+ }) : null, ee = M(() => import("./CommentsPanel-DwwFuh1h.js")), U = M(() => import("./AiPanels-DqT4PgQ0.js")), W = a.config.ai ? Wn({
3333
+ provider: a.config.ai,
3334
3334
  editor: p,
3335
3335
  collaboration: u,
3336
3336
  history: () => Z.history,
3337
- reload: y ? (e, t) => y.load(e, t) : null,
3338
- altMaxLength: () => Bt(lr(i.config)),
3337
+ reload: x ? (e, t) => x.load(e, t) : null,
3338
+ altMaxLength: () => Bt(lr(a.config)),
3339
3339
  mergeTags: () => Jn(Z.mergeTags.value, Z.mergeTagSyntax),
3340
3340
  normalize: (e, t) => rn(e, t, o),
3341
3341
  commentsOpen: H?.isOpen ?? null,
3342
- onError: i.config.onError
3342
+ onError: a.config.onError
3343
3343
  }) : null;
3344
3344
  W && c(kt, W);
3345
- let G = M(() => import("./CollaborationNotices-JQ3vQoqO.js")), q = M(() => import("./CloudPanels-BDV4XQ_l.js")), J = M(() => import("./CloudHeaderExtras-CsgyNNV1.js")), Y = M(() => import("./VersionHistoryPanels-hPg7Q5-f.js")), X = cr(i.config.templates?.autoSave, !1), te = X && y !== null;
3346
- X && y !== null && !y.canSave.value && Mt.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 && y !== null && i.config.templates?.autoSave === void 0 && !i.config.onChange && Mt.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.");
3347
- let ne = i.config.onChange || te ? {
3345
+ let G = M(() => import("./CollaborationNotices-CTw4JThq.js")), q = M(() => import("./CloudPanels-BKJaLkUN.js")), J = M(() => import("./CloudHeaderExtras-QI82yF54.js")), Y = M(() => import("./VersionHistoryPanels-DP7HaYWv.js")), X = cr(a.config.templates?.autoSave, !1), te = X && x !== null;
3346
+ X && x !== null && !x.canSave.value && Mt.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."), a.config.changeDebounce !== void 0 && x !== null && a.config.templates?.autoSave === void 0 && !a.config.onChange && Mt.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.");
3347
+ let ne = a.config.onChange || te ? {
3348
3348
  onChange: () => {
3349
- i.config.onChange?.(JSON.parse(JSON.stringify(p.state.content))), te && y.requestAutoSave();
3349
+ a.config.onChange?.(JSON.parse(JSON.stringify(p.state.content))), te && x.requestAutoSave();
3350
3350
  },
3351
- ...i.config.changeDebounce === void 0 ? {} : { debounce: i.config.changeDebounce }
3351
+ ...a.config.changeDebounce === void 0 ? {} : { debounce: a.config.changeDebounce }
3352
3352
  } : null, re = {
3353
- ...k ? { savedBlocks: k.capability } : {},
3354
- ...y ? { templates: y.capability } : {},
3353
+ ...A ? { savedBlocks: A.capability } : {},
3354
+ ...x ? { templates: x.capability } : {},
3355
3355
  ...R ? { testEmail: R.capability } : {},
3356
3356
  ...H ? { comments: H.capability } : {},
3357
3357
  ...u ? { collaboration: u.capability } : {},
3358
3358
  ...W ? { ai: W.capability } : {}
3359
3359
  }, Z = et({
3360
3360
  editor: p,
3361
- containerEl: S,
3361
+ containerEl: O,
3362
3362
  config: {
3363
- uiTheme: i.config.uiTheme,
3364
- theme: i.config.theme,
3365
- blockDefaults: i.config.blockDefaults,
3366
- templateDefaults: i.config.templateDefaults,
3367
- customBlocks: i.config.customBlocks,
3368
- paletteBlocks: i.config.paletteBlocks,
3369
- htmlBlockPreview: i.config.htmlBlockPreview,
3370
- layout: i.config.layout,
3371
- sectionWrapper: i.config.sectionWrapper,
3372
- colors: i.config.colors,
3373
- templateSettings: i.config.templateSettings,
3374
- mergeTags: i.config.mergeTags,
3375
- logicTags: i.config.logicTags,
3376
- displayConditions: i.config.displayConditions,
3363
+ uiTheme: a.config.uiTheme,
3364
+ theme: a.config.theme,
3365
+ blockDefaults: a.config.blockDefaults,
3366
+ templateDefaults: a.config.templateDefaults,
3367
+ customBlocks: a.config.customBlocks,
3368
+ paletteBlocks: a.config.paletteBlocks,
3369
+ htmlBlockPreview: a.config.htmlBlockPreview,
3370
+ layout: a.config.layout,
3371
+ sectionWrapper: a.config.sectionWrapper,
3372
+ colors: a.config.colors,
3373
+ templateSettings: a.config.templateSettings,
3374
+ mergeTags: a.config.mergeTags,
3375
+ logicTags: a.config.logicTags,
3376
+ displayConditions: a.config.displayConditions,
3377
3377
  onRequestMedia: P?.requestMedia ?? null,
3378
3378
  canDropMedia: P?.canDrop ?? null,
3379
- resolvePreview: i.config.resolvePreview,
3380
- resolveImageUrl: i.config.resolveImageUrl,
3381
- lint: lr(i.config),
3382
- locale: i.config.locale
3379
+ resolvePreview: a.config.resolvePreview,
3380
+ resolveImageUrl: a.config.resolveImageUrl,
3381
+ lint: lr(a.config),
3382
+ locale: a.config.locale
3383
3383
  },
3384
- translations: i.translations,
3385
- fontsManager: i.fontsManager,
3384
+ translations: a.translations,
3385
+ fontsManager: a.fontsManager,
3386
3386
  autoSaveOptions: ne,
3387
3387
  capabilities: re,
3388
- editorRoot: i.shadowRoot,
3388
+ editorRoot: a.shadowRoot,
3389
3389
  history: u?.history
3390
- }), ie = f("content"), ae = i.cloud && h ? i.cloud.ready({
3390
+ }), ie = e("content"), ae = a.cloud && h ? a.cloud.ready({
3391
3391
  core: Z,
3392
3392
  capabilities: re
3393
- }) : null, Q = i.config.versionHistory ? sr({
3394
- provider: i.config.versionHistory,
3393
+ }) : null, Q = a.config.versionHistory ? sr({
3394
+ provider: a.config.versionHistory,
3395
3395
  editor: nn(p, o),
3396
3396
  history: Z.history,
3397
3397
  conditionPreview: Z.conditionPreview,
@@ -3402,20 +3402,20 @@ var Or = ["aria-label"], kr = {
3402
3402
  catchUp: u.core.catchUp,
3403
3403
  reportReplaceRefused: u.reportReplaceRefused
3404
3404
  } : null,
3405
- saveBeforeRestore: y ? {
3406
- canSave: () => y.canSave.value && !(i.cloud?.getSaveGate()?.shouldBlock.value ?? !1),
3407
- save: () => y.save("restore")
3405
+ saveBeforeRestore: x ? {
3406
+ canSave: () => x.canSave.value && !(a.cloud?.getSaveGate()?.shouldBlock.value ?? !1),
3407
+ save: () => x.save("restore")
3408
3408
  } : null,
3409
- onError: i.config.onError
3409
+ onError: a.config.onError
3410
3410
  }) : null;
3411
3411
  Q && (re.versionHistory = Q.capability);
3412
- let oe = _(() => H?.isOpen.value === !0 || W !== null && W.panel.value !== null || h?.panelState.rightPanelOpen.value === !0), se = _(() => p.state.previewMode ? "tpl:left-0 tpl:right-0" : oe.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]"), { showNotice: ce } = nt(() => i.config.smallScreenNotice);
3413
- T(async () => {
3414
- await i.fontsManager.loadCustomFonts();
3415
- }), e(() => {
3416
- i.fontsManager.cleanupFontLinks(), W?.destroy(), i.cloud?.destroy(), Z.destroy();
3412
+ let oe = _(() => H?.isOpen.value === !0 || W !== null && W.panel.value !== null || h?.panelState.rightPanelOpen.value === !0), se = _(() => p.state.previewMode ? "tpl:left-0 tpl:right-0" : oe.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]"), { showNotice: ce } = nt(() => a.config.smallScreenNotice);
3413
+ w(async () => {
3414
+ await a.fontsManager.loadCustomFonts();
3415
+ }), t(() => {
3416
+ a.fontsManager.cleanupFontLinks(), W?.destroy(), a.cloud?.destroy(), Z.destroy();
3417
3417
  });
3418
- let le = y ?? p, ue = Wt(Z.editorRoot);
3418
+ let le = x ?? p, ue = Wt(Z.editorRoot);
3419
3419
  return r({
3420
3420
  getContent: () => p.content.value,
3421
3421
  setContent: (e) => p.setContent(e),
@@ -3432,39 +3432,39 @@ var Or = ["aria-label"], kr = {
3432
3432
  save: le.save,
3433
3433
  renderCustomBlock: Z.registry.renderCustomBlock,
3434
3434
  getCustomBlockStylesheet: (e) => Z.registry.getDefinition(e)?.stylesheet
3435
- }), (e, r) => (C(), b("div", {
3435
+ }), (e, t) => (S(), y("div", {
3436
3436
  ref_key: "rootEl",
3437
- ref: S,
3438
- class: t(["tpl tpl:relative tpl:h-full", { "tpl:dark": O(p).state.darkMode }]),
3439
- "data-tpl-theme": O(Z).resolvedTheme.value,
3440
- style: w(O(Z).themeStyles.value),
3441
- onDragover: r[7] ||= L(() => {}, ["prevent"]),
3442
- onDrop: r[8] ||= L(() => {}, ["prevent"])
3437
+ ref: O,
3438
+ class: C(["tpl tpl:relative tpl:h-full", { "tpl:dark": k(p).state.darkMode }]),
3439
+ "data-tpl-theme": k(Z).resolvedTheme.value,
3440
+ style: l(k(Z).themeStyles.value),
3441
+ onDragover: t[7] ||= L(() => {}, ["prevent"]),
3442
+ onDrop: t[8] ||= L(() => {}, ["prevent"])
3443
3443
  }, [
3444
3444
  g(Er),
3445
- E("div", ya, [
3445
+ T("div", ya, [
3446
3446
  g(Ai, {
3447
- editor: O(p),
3448
- core: O(Z),
3449
- templates: O(y),
3447
+ editor: k(p),
3448
+ core: k(Z),
3449
+ templates: k(x),
3450
3450
  "show-template-name": n.config.templates?.nameField !== !1,
3451
- "test-email": O(R),
3452
- "version-history": O(Q),
3453
- comments: O(H),
3454
- collaboration: O(u),
3455
- ai: O(W)
3456
- }, D({ _: 2 }, [O(h) ? {
3451
+ "test-email": k(R),
3452
+ "version-history": k(Q),
3453
+ comments: k(H),
3454
+ collaboration: k(u),
3455
+ ai: k(W)
3456
+ }, E({ _: 2 }, [k(h) ? {
3457
3457
  name: "left-extras",
3458
- fn: m(() => [g(O(J), {
3458
+ fn: i(() => [g(k(J), {
3459
3459
  part: "left",
3460
- cloud: O(h)
3460
+ cloud: k(h)
3461
3461
  }, null, 8, ["cloud"])]),
3462
3462
  key: "0"
3463
- } : void 0, O(h) ? {
3463
+ } : void 0, k(h) ? {
3464
3464
  name: "right-extras",
3465
- fn: m(() => [g(O(J), {
3465
+ fn: i(() => [g(k(J), {
3466
3466
  part: "right",
3467
- cloud: O(h)
3467
+ cloud: k(h)
3468
3468
  }, null, 8, ["cloud"])]),
3469
3469
  key: "1"
3470
3470
  } : void 0]), 1032, [
@@ -3478,35 +3478,35 @@ var Or = ["aria-label"], kr = {
3478
3478
  "collaboration",
3479
3479
  "ai"
3480
3480
  ]),
3481
- a(g(Ir, null, null, 512), [[z, !O(p).state.previewMode]]),
3482
- E("div", {
3483
- class: t(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", [se.value, O(Q)?.isPreviewing.value ? "tpl:top-[104px]" : "tpl:top-14"]]),
3481
+ m(g(Ir, null, null, 512), [[z, !k(p).state.previewMode]]),
3482
+ T("div", {
3483
+ class: C(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", [se.value, k(Q)?.isPreviewing.value ? "tpl:top-[104px]" : "tpl:top-14"]]),
3484
3484
  style: { transition: "all 300ms cubic-bezier(0.34, 1.56, 0.64, 1)" }
3485
- }, [E("div", ba, [E("div", xa, [g(V, { name: "tpl-preview-pill" }, {
3486
- default: m(() => [O(p).state.previewMode && !O(Z).previewResolution.supersedesSamples.value ? (C(), b("div", Sa, [g($t, {
3487
- "sample-mode": O(Z).mergeTagSampleMode.value,
3488
- onChange: r[0] ||= (e) => O(Z).mergeTagSampleMode.value = e
3485
+ }, [T("div", ba, [T("div", xa, [g(V, { name: "tpl-preview-pill" }, {
3486
+ default: i(() => [k(p).state.previewMode && !k(Z).previewResolution.supersedesSamples.value ? (S(), y("div", Sa, [g($t, {
3487
+ "sample-mode": k(Z).mergeTagSampleMode.value,
3488
+ onChange: t[0] ||= (e) => k(Z).mergeTagSampleMode.value = e
3489
3489
  }, null, 8, ["sample-mode"])])) : v("", !0)]),
3490
3490
  _: 1
3491
3491
  }), g(V, { name: "tpl-preview-pill" }, {
3492
- default: m(() => [O(Z).conditionPreview.hasHiddenBlocks.value && O(Z).appliesConditionFilter.value ? (C(), b("button", {
3492
+ default: i(() => [k(Z).conditionPreview.hasHiddenBlocks.value && k(Z).appliesConditionFilter.value ? (S(), y("button", {
3493
3493
  key: 0,
3494
3494
  type: "button",
3495
- class: t([O(fn), "tpl:shadow-[var(--tpl-shadow-md)]"]),
3495
+ class: C([k(fn), "tpl:shadow-[var(--tpl-shadow-md)]"]),
3496
3496
  "data-testid": "restore-hidden-blocks",
3497
- onClick: r[1] ||= (e) => O(Z).conditionPreview.reset()
3498
- }, [g(O(En), {
3497
+ onClick: t[1] ||= (e) => k(Z).conditionPreview.reset()
3498
+ }, [g(k(En), {
3499
3499
  size: 16,
3500
3500
  "stroke-width": 2
3501
- }), x(" " + l(O(Z).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : v("", !0)]),
3501
+ }), b(" " + d(k(Z).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : v("", !0)]),
3502
3502
  _: 1
3503
- })])]), E("main", Ca, [g(Tr, {
3504
- viewport: O(p).state.viewport,
3505
- content: O(Z).previewResolution.content.value,
3506
- "selected-block-id": O(p).state.selectedBlockId,
3507
- "dark-mode": O(p).state.darkMode,
3508
- "preview-mode": O(p).state.previewMode,
3509
- onSelectBlock: O(p).selectBlock
3503
+ })])]), T("main", Ca, [g(Tr, {
3504
+ viewport: k(p).state.viewport,
3505
+ content: k(Z).previewResolution.content.value,
3506
+ "selected-block-id": k(p).state.selectedBlockId,
3507
+ "dark-mode": k(p).state.darkMode,
3508
+ "preview-mode": k(p).state.previewMode,
3509
+ onSelectBlock: k(p).selectBlock
3510
3510
  }, null, 8, [
3511
3511
  "viewport",
3512
3512
  "content",
@@ -3515,55 +3515,55 @@ var Or = ["aria-label"], kr = {
3515
3515
  "preview-mode",
3516
3516
  "onSelectBlock"
3517
3517
  ])])], 2),
3518
- n.config.branding === !1 ? v("", !0) : (C(), j(oi, {
3518
+ n.config.branding === !1 ? v("", !0) : (S(), j(oi, {
3519
3519
  key: 0,
3520
3520
  "position-class": [se.value]
3521
3521
  }, null, 8, ["position-class"])),
3522
- E("div", {
3522
+ T("div", {
3523
3523
  class: "tpl-sr-only",
3524
3524
  role: "status",
3525
3525
  "aria-live": "polite",
3526
3526
  "aria-atomic": "true",
3527
- "aria-label": O(Z).t.landmarks.reorderAnnouncements
3528
- }, l(O(Z).keyboardReorder.announcement.value), 9, wa),
3529
- a(g($r, {
3527
+ "aria-label": k(Z).t.landmarks.reorderAnnouncements
3528
+ }, d(k(Z).keyboardReorder.announcement.value), 9, wa),
3529
+ m(g($r, {
3530
3530
  tab: ie.value,
3531
- "onUpdate:tab": r[2] ||= (e) => ie.value = e,
3532
- "selected-block": O(p).selectedBlock.value,
3533
- settings: O(p).content.value.settings,
3531
+ "onUpdate:tab": t[2] ||= (e) => ie.value = e,
3532
+ "selected-block": k(p).selectedBlock.value,
3533
+ settings: k(p).content.value.settings,
3534
3534
  "shifted-left": oe.value,
3535
- onUpdateBlock: r[3] ||= (e) => O(p).updateBlock(O(p).state.selectedBlockId, e),
3536
- onDeleteBlock: r[4] ||= () => {
3537
- O(p).state.selectedBlockId && O(Z).blockActions.deleteBlock(O(p).state.selectedBlockId);
3535
+ onUpdateBlock: t[3] ||= (e) => k(p).updateBlock(k(p).state.selectedBlockId, e),
3536
+ onDeleteBlock: t[4] ||= () => {
3537
+ k(p).state.selectedBlockId && k(Z).blockActions.deleteBlock(k(p).state.selectedBlockId);
3538
3538
  },
3539
- onDuplicateBlock: r[5] ||= () => {
3540
- O(p).selectedBlock.value && O(Z).blockActions.duplicateBlock(O(p).selectedBlock.value);
3539
+ onDuplicateBlock: t[5] ||= () => {
3540
+ k(p).selectedBlock.value && k(Z).blockActions.duplicateBlock(k(p).selectedBlock.value);
3541
3541
  },
3542
- onUpdateSettings: r[6] ||= (e) => O(p).updateSettings(e)
3542
+ onUpdateSettings: t[6] ||= (e) => k(p).updateSettings(e)
3543
3543
  }, null, 8, [
3544
3544
  "tab",
3545
3545
  "selected-block",
3546
3546
  "settings",
3547
3547
  "shifted-left"
3548
- ]), [[z, !O(p).state.previewMode]])
3548
+ ]), [[z, !k(p).state.previewMode]])
3549
3549
  ]),
3550
- E("div", {
3551
- ref: (e) => O(Z).popoverRoot.value = e,
3550
+ T("div", {
3551
+ ref: (e) => k(Z).popoverRoot.value = e,
3552
3552
  class: "tpl-popover-root"
3553
3553
  }, null, 512),
3554
3554
  g(Xi),
3555
3555
  g(_a),
3556
- O(k)?.isAvailable.value ? (C(), j(O(N), {
3556
+ k(A)?.isAvailable.value ? (S(), j(k(N), {
3557
3557
  key: 0,
3558
- feature: O(k)
3558
+ feature: k(A)
3559
3559
  }, null, 8, ["feature"])) : v("", !0),
3560
- n.config.media && O(P) ? (C(), j(O(I), {
3560
+ n.config.media && k(P) ? (S(), j(k(I), {
3561
3561
  key: 1,
3562
- feature: O(P),
3562
+ feature: k(P),
3563
3563
  provider: n.config.media,
3564
3564
  locale: n.config.locale,
3565
- "ui-theme": O(Z).resolvedTheme.value,
3566
- "popover-target": O(Z).popoverRoot.value
3565
+ "ui-theme": k(Z).resolvedTheme.value,
3566
+ "popover-target": k(Z).popoverRoot.value
3567
3567
  }, null, 8, [
3568
3568
  "feature",
3569
3569
  "provider",
@@ -3571,33 +3571,33 @@ var Or = ["aria-label"], kr = {
3571
3571
  "ui-theme",
3572
3572
  "popover-target"
3573
3573
  ])) : v("", !0),
3574
- O(R)?.isAvailable.value ? (C(), j(O(B), {
3574
+ k(R)?.isAvailable.value ? (S(), j(k(B), {
3575
3575
  key: 2,
3576
- feature: O(R)
3576
+ feature: k(R)
3577
3577
  }, null, 8, ["feature"])) : v("", !0),
3578
- O(H)?.isAvailable.value ? (C(), j(O(ee), {
3578
+ k(H)?.isAvailable.value ? (S(), j(k(ee), {
3579
3579
  key: 3,
3580
- feature: O(H)
3580
+ feature: k(H)
3581
3581
  }, null, 8, ["feature"])) : v("", !0),
3582
- O(W) ? (C(), j(O(U), {
3582
+ k(W) ? (S(), j(k(U), {
3583
3583
  key: 4,
3584
- feature: O(W)
3584
+ feature: k(W)
3585
3585
  }, null, 8, ["feature"])) : v("", !0),
3586
- O(u) ? (C(), j(O(G), {
3586
+ k(u) ? (S(), j(k(G), {
3587
3587
  key: 5,
3588
- feature: O(u)
3588
+ feature: k(u)
3589
3589
  }, null, 8, ["feature"])) : v("", !0),
3590
- O(Q)?.isAvailable.value ? (C(), j(O(Y), {
3590
+ k(Q)?.isAvailable.value ? (S(), j(k(Y), {
3591
3591
  key: 6,
3592
- feature: O(Q)
3592
+ feature: k(Q)
3593
3593
  }, null, 8, ["feature"])) : v("", !0),
3594
- n.cloud && O(h) && O(ae) ? (C(), j(O(q), {
3594
+ n.cloud && k(h) && k(ae) ? (S(), j(k(q), {
3595
3595
  key: 7,
3596
- editor: O(p),
3597
- core: O(Z),
3596
+ editor: k(p),
3597
+ core: k(Z),
3598
3598
  runtime: n.cloud,
3599
- cloud: O(h),
3600
- ready: O(ae)
3599
+ cloud: k(h),
3600
+ ready: k(ae)
3601
3601
  }, null, 8, [
3602
3602
  "editor",
3603
3603
  "core",
@@ -3605,7 +3605,7 @@ var Or = ["aria-label"], kr = {
3605
3605
  "cloud",
3606
3606
  "ready"
3607
3607
  ])) : v("", !0),
3608
- O(ce) ? (C(), j(ii, { key: 8 })) : v("", !0)
3608
+ k(ce) ? (S(), j(ii, { key: 8 })) : v("", !0)
3609
3609
  ], 46, va));
3610
3610
  }
3611
3611
  }), [["__scopeId", "data-v-42dbfd6a"]]), Ea = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
@@ -3655,7 +3655,7 @@ function Aa(e) {
3655
3655
  };
3656
3656
  }
3657
3657
  // \0virtual:editor-css
3658
- var ja = "@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-block--idle[data-v-126b991e]{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-126b991e]: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-126b991e]{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-126b991e]{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-126b991e]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-126b991e]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-126b991e]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-126b991e]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-126b991e]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-126b991e]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-126b991e]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-block-agent-highlight[data-v-126b991e]{outline:2px solid var(--tpl-secondary);outline-offset:-1px;animation:tpl-agent-highlight-126b991e 2s ease-out forwards}@keyframes tpl-agent-highlight-126b991e{0%,50%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.tpl-block-agent-highlight[data-v-126b991e]{animation:none}}.tpl-table-editable[data-v-6751d456] th[contenteditable],.tpl-table-editable[data-v-6751d456] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-6751d456] th[contenteditable]:empty:before,.tpl-table-editable[data-v-6751d456] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-6751d456] th[contenteditable]:focus,.tpl-table-editable[data-v-6751d456] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-b9798ef2] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-b9798ef2] .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:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--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\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-\\[104px\\]{top:104px}.tpl\\:top-full{top:100%}.tpl\\:-right-1{right:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-right-2{right:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:z-10{z-index:10}.tpl\\:z-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\\:m-0{margin:0}.tpl\\:m-6{margin:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-0\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mx-1{margin-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:mx-1\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mx-3{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mx-4{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mx-6{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-auto{margin-inline:auto}.tpl\\:mt-0\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mt-1{margin-top:calc(var(--tpl-base-size) / 4)}.tpl\\:mt-1\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mt-2{margin-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-3{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mt-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\\:\\!mb-0{margin-bottom:0!important}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-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-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\\/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-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-80{width:calc(calc(var(--tpl-base-size) / 4) * 80)}.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\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\: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-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 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)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:3.40282e38px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius: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-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-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}.tpl\\:group-focus-within\\:opacity-100:is(:where(.tpl\\:group):focus-within *){opacity:1}@media(hover:hover){.tpl\\:group-hover\\:bg-black\\/40:is(:where(.tpl\\:group):hover *){background-color:oklab(0% none none/.4)}.tpl\\:group-hover\\:opacity-100:is(:where(.tpl\\:group):hover *){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\: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}.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[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-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));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}}@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-42dbfd6a]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-42dbfd6a]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-42dbfd6a],.tpl-preview-pill-leave-to[data-v-42dbfd6a]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-42dbfd6a],.tpl-preview-pill-leave-from[data-v-42dbfd6a]{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-69591c1e]::-webkit-outer-spin-button,input[type=number][data-v-69591c1e]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-69591c1e]{-moz-appearance:textfield}.tpl-collapsible[data-v-e2d2c22f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-e2d2c22f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-e2d2c22f]{overflow:hidden}.tpl-ai-slide-enter-active[data-v-3d8e197c]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-ai-slide-leave-active[data-v-3d8e197c]{transition:transform .2s cubic-bezier(.16,1,.3,1)}@media(prefers-reduced-motion:reduce){.tpl-ai-slide-enter-active[data-v-3d8e197c],.tpl-ai-slide-leave-active[data-v-3d8e197c]{transition:none}}.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-slide-enter-active[data-v-32af5912]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-32af5912]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-32af5912]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-32af5912]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-32af5912]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-32af5912]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-32af5912]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-32af5912]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-32af5912]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-32af5912]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-32af5912],.tpl-comment-reply-card[data-v-32af5912]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-32af5912],.tpl-resolve-leave-active[data-v-32af5912]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-32af5912],.tpl-resolve-leave-to[data-v-32af5912]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-32af5912]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-32af5912]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-32af5912],.tpl-replies-leave-active[data-v-32af5912]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-32af5912],.tpl-replies-leave-to[data-v-32af5912]{opacity:0;transform:translateY(-4px)}.tpl-ai-input-wrapper[data-v-e0f79f23]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-e0f79f23]:not(:disabled):hover{transform:scale(1.05)}.tpl-starter-btn[data-v-e0f79f23]: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*/", Ma = null;
3658
+ var ja = "@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-block--idle[data-v-f3a7bfbf]{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-f3a7bfbf]: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-f3a7bfbf]{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-f3a7bfbf]{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-f3a7bfbf]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-f3a7bfbf]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-f3a7bfbf]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-f3a7bfbf]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-f3a7bfbf]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-f3a7bfbf]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-f3a7bfbf]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-block-agent-highlight[data-v-f3a7bfbf]{outline:2px solid var(--tpl-secondary);outline-offset:-1px;animation:tpl-agent-highlight-f3a7bfbf 2s ease-out forwards}@keyframes tpl-agent-highlight-f3a7bfbf{0%,50%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.tpl-block-agent-highlight[data-v-f3a7bfbf]{animation:none}}.tpl-table-editable[data-v-6751d456] th[contenteditable],.tpl-table-editable[data-v-6751d456] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-6751d456] th[contenteditable]:empty:before,.tpl-table-editable[data-v-6751d456] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-6751d456] th[contenteditable]:focus,.tpl-table-editable[data-v-6751d456] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-b9798ef2] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-b9798ef2] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-b9798ef2] .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:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--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\\:-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-\\[104px\\]{top:104px}.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\\:m-0{margin:0}.tpl\\:m-6{margin:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-0\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mx-1{margin-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:mx-1\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mx-3{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mx-4{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mx-6{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-auto{margin-inline:auto}.tpl\\:mt-0\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mt-1{margin-top:calc(var(--tpl-base-size) / 4)}.tpl\\:mt-1\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mt-2{margin-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-3{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mt-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\\:\\!mb-0{margin-bottom:0!important}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-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-2{margin-left:calc(calc(var(--tpl-base-size) / 4) * 2)}.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-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\\/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-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-80{width:calc(calc(var(--tpl-base-size) / 4) * 80)}.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\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\: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-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 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)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:3.40282e38px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius: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-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-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}.tpl\\:group-focus-within\\:opacity-100:is(:where(.tpl\\:group):focus-within *){opacity:1}@media(hover:hover){.tpl\\:group-hover\\:bg-black\\/40:is(:where(.tpl\\:group):hover *){background-color:oklab(0% none none/.4)}.tpl\\:group-hover\\:opacity-100:is(:where(.tpl\\:group):hover *){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\: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}.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[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-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));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}}@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-42dbfd6a]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-42dbfd6a]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-42dbfd6a],.tpl-preview-pill-leave-to[data-v-42dbfd6a]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-42dbfd6a],.tpl-preview-pill-leave-from[data-v-42dbfd6a]{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-69591c1e]::-webkit-outer-spin-button,input[type=number][data-v-69591c1e]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-69591c1e]{-moz-appearance:textfield}.tpl-collapsible[data-v-e2d2c22f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-e2d2c22f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-e2d2c22f]{overflow:hidden}.tpl-ai-slide-enter-active[data-v-3d8e197c]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-ai-slide-leave-active[data-v-3d8e197c]{transition:transform .2s cubic-bezier(.16,1,.3,1)}@media(prefers-reduced-motion:reduce){.tpl-ai-slide-enter-active[data-v-3d8e197c],.tpl-ai-slide-leave-active[data-v-3d8e197c]{transition:none}}.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-slide-enter-active[data-v-7efe6a5c]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-7efe6a5c]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-7efe6a5c]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-7efe6a5c]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-7efe6a5c]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-7efe6a5c]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-7efe6a5c]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-7efe6a5c]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-7efe6a5c]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-7efe6a5c]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-7efe6a5c],.tpl-comment-reply-card[data-v-7efe6a5c]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-7efe6a5c],.tpl-resolve-leave-active[data-v-7efe6a5c]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-7efe6a5c],.tpl-resolve-leave-to[data-v-7efe6a5c]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-7efe6a5c]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-7efe6a5c]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-7efe6a5c],.tpl-replies-leave-active[data-v-7efe6a5c]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-7efe6a5c],.tpl-replies-leave-to[data-v-7efe6a5c]{opacity:0;transform:translateY(-4px)}.tpl-ai-input-wrapper[data-v-e0f79f23]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-e0f79f23]:not(:disabled):hover{transform:scale(1.05)}.tpl-starter-btn[data-v-e0f79f23]: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*/", Ma = null;
3659
3659
  function Na() {
3660
3660
  if (Ma === null) {
3661
3661
  let e = new CSSStyleSheet();
@@ -3702,42 +3702,42 @@ async function Ua(e) {
3702
3702
  let t = { ...e };
3703
3703
  return Ha(t), Wa(t, Ba(t.container));
3704
3704
  }
3705
- async function Wa(e, { container: t, token: n }, r) {
3706
- e.locale !== void 0 && !at(e.locale) && Mt.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${Ne().sort().join(", ")}.`);
3707
- let i = await Re(e.locale ?? "en"), a = it(e.fonts);
3708
- if (za.get(t) !== n) return Ga({
3709
- config: e,
3710
- editorRef: f(null),
3711
- fontsManager: a,
3705
+ async function Wa(t, { container: n, token: r }, i) {
3706
+ t.locale !== void 0 && !at(t.locale) && Mt.warn(`config.locale: "${t.locale}" has no translations — falling back to English. Supported: ${Ne().sort().join(", ")}.`);
3707
+ let a = await Re(t.locale ?? "en"), o = it(t.fonts);
3708
+ if (za.get(n) !== r) return Ga({
3709
+ config: t,
3710
+ editorRef: e(null),
3711
+ fontsManager: o,
3712
3712
  unmount: () => {}
3713
3713
  }).instance;
3714
- Va(t);
3715
- let o = Fa(t, e.shadowDom ?? !0), s = f(null), c = R({ setup() {
3714
+ Va(n);
3715
+ let s = Fa(n, t.shadowDom ?? !0), c = e(null), l = R({ setup() {
3716
3716
  return () => N(Ta, {
3717
- config: e,
3718
- translations: i,
3719
- fontsManager: a,
3720
- shadowRoot: o.shadowRoot ?? void 0,
3721
- cloud: r,
3722
- renderMjml: () => u.toMjml(),
3723
- renderHtml: () => u.toHtml(),
3724
- canRenderHtml: () => u.canRenderHtml(),
3725
- usesLocalRenderer: () => u.usesLocalRenderer(),
3726
- ref: s
3717
+ config: t,
3718
+ translations: a,
3719
+ fontsManager: o,
3720
+ shadowRoot: s.shadowRoot ?? void 0,
3721
+ cloud: i,
3722
+ renderMjml: () => d.toMjml(),
3723
+ renderHtml: () => d.toHtml(),
3724
+ canRenderHtml: () => d.canRenderHtml(),
3725
+ usesLocalRenderer: () => d.usesLocalRenderer(),
3726
+ ref: c
3727
3727
  });
3728
3728
  } });
3729
- c.mount(o.target), Ia.set(t, {
3730
- app: c,
3731
- editorRef: s,
3732
- cleanup: o.cleanup
3733
- }), La = t;
3734
- let { instance: l, render: u } = Ga({
3735
- config: e,
3736
- editorRef: s,
3737
- fontsManager: a,
3738
- unmount: () => Va(t, c)
3729
+ l.mount(s.target), Ia.set(n, {
3730
+ app: l,
3731
+ editorRef: c,
3732
+ cleanup: s.cleanup
3733
+ }), La = n;
3734
+ let { instance: u, render: d } = Ga({
3735
+ config: t,
3736
+ editorRef: c,
3737
+ fontsManager: o,
3738
+ unmount: () => Va(n, l)
3739
3739
  });
3740
- return l;
3740
+ return u;
3741
3741
  }
3742
3742
  function Ga({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
3743
3743
  let i = {
@@ -3815,7 +3815,7 @@ async function Ka(e) {
3815
3815
  mergeTags: e.mergeTags
3816
3816
  };
3817
3817
  Ha(t);
3818
- let n = Ba(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./createCloudRuntime-B5VIdnwz.js"), ke(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
3818
+ let n = Ba(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./createCloudRuntime-DCgO4A1r.js"), ke(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
3819
3819
  config: e,
3820
3820
  cloudTranslations: i
3821
3821
  });