@templatical/editor 0.56.0 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/README.md +1 -1
  2. package/dist/{AiAltTextPopover-DdsvhE78.js → AiAltTextPopover-BjClNscQ.js} +6 -6
  3. package/dist/{AiAltTextReview-P6to1_0t.js → AiAltTextReview-DeMdVbtT.js} +7 -7
  4. package/dist/{AiChatPanel-BSlmzMRC.js → AiChatPanel-Cros4ZCM.js} +64 -67
  5. package/dist/AiPanels-D_CdHqFZ.js +26 -0
  6. package/dist/{AiRewriteMenu-DIISOR6U.js → AiRewriteMenu-BSzj1dKC.js} +53 -53
  7. package/dist/{BlockIssueBadge-Bmtc50BQ.js → BlockIssueBadge-i2cZy5PB.js} +6 -6
  8. package/dist/{BlockPreviewCanvas-BYIzNn-9.js → BlockPreviewCanvas-D-If_vd_.js} +58 -58
  9. package/dist/{CloudHeaderExtras-Cqhw-jMz.js → CloudHeaderExtras-CJsXi4Ku.js} +2 -2
  10. package/dist/{CloudPanels-w34W8_BP.js → CloudPanels-DPeK_siQ.js} +14 -14
  11. package/dist/{CollaborationNotices-HTbCebjV.js → CollaborationNotices-DkYX-ose.js} +9 -9
  12. package/dist/{CollaboratorBar-CLQjksX-.js → CollaboratorBar-xDweDvB6.js} +3 -3
  13. package/dist/CommentsPanel-t3w16YUl.js +23 -0
  14. package/dist/CommentsSidebar-B3M90RY_.js +516 -0
  15. package/dist/{CountdownBlock-BTXcCvjZ.js → CountdownBlock-BrR2uqM3.js} +7 -7
  16. package/dist/{CountdownToolbar-CP-pkntQ.js → CountdownToolbar-DBu2ZqC6.js} +32 -32
  17. package/dist/{IssuesPanel-CiiNBzH0.js → IssuesPanel-BnUut-p-.js} +89 -89
  18. package/dist/LanguageMenu-DfTxrbvp.js +403 -0
  19. package/dist/{LoadingTrack-BG8cg9xi.js → LoadingTrack-c4SeD16s.js} +1 -1
  20. package/dist/{LocaleNotices-CTCZ7BYv.js → LocaleNotices-D6zk-QCL.js} +11 -11
  21. package/dist/{LogicTagInsertButton-DEOPc4RC.js → LogicTagInsertButton-CJ1Jk6jv.js} +65 -65
  22. package/dist/{MediaEditModal-DJsPLTwP.js → MediaEditModal-BxbwZxnf.js} +10 -10
  23. package/dist/{MediaPanels-D2WD2aE2.js → MediaPanels-BiUxsTMM.js} +2 -2
  24. package/dist/{MergeTagInput-C9icdxw7.js → MergeTagInput-CV-z85s9.js} +13 -13
  25. package/dist/{MergeTagModeToggle-DXvb80OE.js → MergeTagModeToggle-CixgX5C_.js} +7 -7
  26. package/dist/{MergeTagTextarea-CrAcmT3A.js → MergeTagTextarea-B1zOC_Nr.js} +9 -9
  27. package/dist/{ParagraphEditor-BWBQ3jKz.js → ParagraphEditor-C9UhWvRB.js} +174 -174
  28. package/dist/{RestoreVersionDialog-CqAp16yQ.js → RestoreVersionDialog-Do7fZWpT.js} +13 -13
  29. package/dist/{RichTextEditorContent-xbBjVPVQ.js → RichTextEditorContent-wW_SMun2.js} +10 -10
  30. package/dist/{SaveBlockDialog-pebNJBTc.js → SaveBlockDialog-CCHIUfR-.js} +49 -49
  31. package/dist/{SavedBlocksBrowserModal-CvagMcv7.js → SavedBlocksBrowserModal-DtPHhfw9.js} +26 -26
  32. package/dist/{SavedBlocksPanels-B9AAVBDm.js → SavedBlocksPanels-CYIby5pR.js} +2 -2
  33. package/dist/{SavedBlocksPickBar-BIANWe3i.js → SavedBlocksPickBar-CCwBugqN.js} +10 -10
  34. package/dist/{TemplateSettings-ORq4PbCN.js → TemplateSettings-B8IVy5q9.js} +42 -42
  35. package/dist/{TestEmailModal-DRjCpcPl.js → TestEmailModal-CS5JoKRH.js} +22 -22
  36. package/dist/{TestEmailPanel-H0v8El__.js → TestEmailPanel-sOIZfKzc.js} +2 -2
  37. package/dist/{TitleEditor-CEGbJXeU.js → TitleEditor-ZlBcq9_P.js} +22 -22
  38. package/dist/{ToggleSwitch-R3wCCYE6.js → ToggleSwitch-BIPdFWUr.js} +1 -1
  39. package/dist/{Toolbar-XT-uGA9J.js → Toolbar-c4_rLLJT.js} +659 -659
  40. package/dist/{TplModal-7NQq5-VW.js → TplModal-DnFFEulp.js} +6 -6
  41. package/dist/{VersionHistoryMenu-C8BE3Pr-.js → VersionHistoryMenu-Cd2IaHgT.js} +19 -19
  42. package/dist/{VersionHistoryPanels-CuKuOSJG.js → VersionHistoryPanels-TdGaMaa_.js} +2 -2
  43. package/dist/{VersionPreviewBanner-BVFBkveR.js → VersionPreviewBanner-lkAf7tc8.js} +8 -8
  44. package/dist/{WrapperBlock-Bdw-072t.js → WrapperBlock-BiW4ye3w.js} +12 -12
  45. package/dist/{blockTypeIcons-CGplGmmr.js → blockTypeIcons-D1aYMC1M.js} +3 -3
  46. package/dist/bundle-stats.json +7 -7
  47. package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js → AiAltTextPopover-CfGJNBOb.js} +6 -6
  48. package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js.map → AiAltTextPopover-CfGJNBOb.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js → AiAltTextReview-PKe31R_g.js} +7 -7
  50. package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js.map → AiAltTextReview-PKe31R_g.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiChatPanel-DKDu9cs7.js → AiChatPanel-DNCUpV8n.js} +112 -115
  52. package/dist/cdn/chunks/AiChatPanel-DNCUpV8n.js.map +1 -0
  53. package/dist/cdn/chunks/AiPanels-IV0VEkBL.js +27 -0
  54. package/dist/cdn/chunks/AiPanels-IV0VEkBL.js.map +1 -0
  55. package/dist/cdn/chunks/{AiRewriteMenu-s79rmHFy.js → AiRewriteMenu-ZDBwReuU.js} +61 -61
  56. package/dist/cdn/chunks/AiRewriteMenu-ZDBwReuU.js.map +1 -0
  57. package/dist/cdn/chunks/{BlockIssueBadge-Bnmq_M4G.js → BlockIssueBadge-DIlFDDwh.js} +6 -6
  58. package/dist/cdn/chunks/BlockIssueBadge-DIlFDDwh.js.map +1 -0
  59. package/dist/cdn/chunks/BlockPreviewCanvas-D7U6nQ7t.js +156 -0
  60. package/dist/cdn/chunks/BlockPreviewCanvas-D7U6nQ7t.js.map +1 -0
  61. package/dist/cdn/chunks/{CloudHeaderExtras-uUJYJFJ6.js → CloudHeaderExtras-CazfMn6A.js} +3 -3
  62. package/dist/cdn/chunks/{CloudHeaderExtras-uUJYJFJ6.js.map → CloudHeaderExtras-CazfMn6A.js.map} +1 -1
  63. package/dist/cdn/chunks/{CloudPanels-DQnlH_YJ.js → CloudPanels-EXXNMLbs.js} +5 -5
  64. package/dist/cdn/chunks/CloudPanels-EXXNMLbs.js.map +1 -0
  65. package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js → CollaborationNotices-DGA8XRZJ.js} +10 -10
  66. package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js.map → CollaborationNotices-DGA8XRZJ.js.map} +1 -1
  67. package/dist/cdn/chunks/{CollaboratorBar-C1ZI2xwa.js → CollaboratorBar-BWL1Shc1.js} +4 -4
  68. package/dist/cdn/chunks/{CollaboratorBar-C1ZI2xwa.js.map → CollaboratorBar-BWL1Shc1.js.map} +1 -1
  69. package/dist/cdn/chunks/CommentsPanel-4mrl4zMK.js +24 -0
  70. package/dist/cdn/chunks/CommentsPanel-4mrl4zMK.js.map +1 -0
  71. package/dist/cdn/chunks/CommentsSidebar-BJ87vc7i.js +486 -0
  72. package/dist/cdn/chunks/CommentsSidebar-BJ87vc7i.js.map +1 -0
  73. package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js → CountdownBlock-Do6oItNW.js} +8 -8
  74. package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js.map → CountdownBlock-Do6oItNW.js.map} +1 -1
  75. package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js → CountdownToolbar-BN2_zvRj.js} +52 -52
  76. package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js.map → CountdownToolbar-BN2_zvRj.js.map} +1 -1
  77. package/dist/cdn/chunks/{IssuesPanel-DnSnEh1X.js → IssuesPanel-BDwegn0s.js} +14 -14
  78. package/dist/cdn/chunks/IssuesPanel-BDwegn0s.js.map +1 -0
  79. package/dist/cdn/chunks/{LanguageMenu-C2I_yTL5.js → LanguageMenu-DXq9cXUd.js} +58 -58
  80. package/dist/cdn/chunks/LanguageMenu-DXq9cXUd.js.map +1 -0
  81. package/dist/cdn/chunks/{LoadingTrack-DUYcDHOV.js → LoadingTrack-o-89hApJ.js} +2 -2
  82. package/dist/cdn/chunks/{LoadingTrack-DUYcDHOV.js.map → LoadingTrack-o-89hApJ.js.map} +1 -1
  83. package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js → LocaleNotices-CUN5K5QJ.js} +11 -11
  84. package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js.map → LocaleNotices-CUN5K5QJ.js.map} +1 -1
  85. package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js → LogicTagInsertButton-BEArlbra.js} +12 -12
  86. package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js.map → LogicTagInsertButton-BEArlbra.js.map} +1 -1
  87. package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js → MediaEditModal-BHTMNHx0.js} +10 -10
  88. package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js.map → MediaEditModal-BHTMNHx0.js.map} +1 -1
  89. package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js → MediaPanels-BlianNRh.js} +3 -3
  90. package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js.map → MediaPanels-BlianNRh.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js → MergeTagInput-B3SLXXzL.js} +14 -14
  92. package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js.map → MergeTagInput-B3SLXXzL.js.map} +1 -1
  93. package/dist/cdn/chunks/{MergeTagModeToggle-D7maMGIM.js → MergeTagModeToggle-Dywp9ntA.js} +6 -6
  94. package/dist/cdn/chunks/{MergeTagModeToggle-D7maMGIM.js.map → MergeTagModeToggle-Dywp9ntA.js.map} +1 -1
  95. package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js → MergeTagTextarea-B9TM7FgM.js} +7 -7
  96. package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js.map → MergeTagTextarea-B9TM7FgM.js.map} +1 -1
  97. package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js → ParagraphEditor-CVGtTYta.js} +107 -107
  98. package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js.map → ParagraphEditor-CVGtTYta.js.map} +1 -1
  99. package/dist/cdn/chunks/{RestoreVersionDialog-DqbULAbc.js → RestoreVersionDialog-Dt_0qOOW.js} +13 -13
  100. package/dist/cdn/chunks/RestoreVersionDialog-Dt_0qOOW.js.map +1 -0
  101. package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js → RichTextEditorContent-BjN4mnzL.js} +9 -9
  102. package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js.map → RichTextEditorContent-BjN4mnzL.js.map} +1 -1
  103. package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js → SaveBlockDialog-D9eBjE99.js} +51 -51
  104. package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js.map → SaveBlockDialog-D9eBjE99.js.map} +1 -1
  105. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js → SavedBlocksBrowserModal-ClsTpkdk.js} +24 -24
  106. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js.map → SavedBlocksBrowserModal-ClsTpkdk.js.map} +1 -1
  107. package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js → SavedBlocksPanels-CxlNHhUs.js} +3 -3
  108. package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js.map → SavedBlocksPanels-CxlNHhUs.js.map} +1 -1
  109. package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js → SavedBlocksPickBar-C7_Z8phX.js} +12 -12
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js.map → SavedBlocksPickBar-C7_Z8phX.js.map} +1 -1
  111. package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js → TemplateSettings-B6zDtjSs.js} +102 -102
  112. package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js.map → TemplateSettings-B6zDtjSs.js.map} +1 -1
  113. package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js → TestEmailModal-CJ_QYFua.js} +21 -21
  114. package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js.map → TestEmailModal-CJ_QYFua.js.map} +1 -1
  115. package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js → TestEmailPanel-CsFrTq_a.js} +3 -3
  116. package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js.map → TestEmailPanel-CsFrTq_a.js.map} +1 -1
  117. package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js → TitleEditor-CuKJptyw.js} +20 -20
  118. package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js.map → TitleEditor-CuKJptyw.js.map} +1 -1
  119. package/dist/cdn/chunks/{ToggleSwitch-BSkySwA1.js → ToggleSwitch-C0w0srN_.js} +2 -2
  120. package/dist/cdn/chunks/{ToggleSwitch-BSkySwA1.js.map → ToggleSwitch-C0w0srN_.js.map} +1 -1
  121. package/dist/cdn/chunks/{Toolbar-C_Hfsher.js → Toolbar-TS2WwlPW.js} +542 -542
  122. package/dist/cdn/chunks/Toolbar-TS2WwlPW.js.map +1 -0
  123. package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js → TplModal-CsadClrH.js} +7 -7
  124. package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js.map → TplModal-CsadClrH.js.map} +1 -1
  125. package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js → VersionHistoryMenu-BNPxnWiO.js} +16 -16
  126. package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js.map → VersionHistoryMenu-BNPxnWiO.js.map} +1 -1
  127. package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js → VersionHistoryPanels-CieY91f0.js} +3 -3
  128. package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js.map → VersionHistoryPanels-CieY91f0.js.map} +1 -1
  129. package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js → VersionPreviewBanner-BldFvgxJ.js} +9 -9
  130. package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js.map → VersionPreviewBanner-BldFvgxJ.js.map} +1 -1
  131. package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js → WrapperBlock-DtnRuKWE.js} +13 -13
  132. package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js.map → WrapperBlock-DtnRuKWE.js.map} +1 -1
  133. package/dist/cdn/chunks/{blockTypeIcons-CzYA5DF9.js → blockTypeIcons-19xd5ZPi.js} +6 -6
  134. package/dist/cdn/chunks/{blockTypeIcons-CzYA5DF9.js.map → blockTypeIcons-19xd5ZPi.js.map} +1 -1
  135. package/dist/cdn/chunks/{composables-CsfQlmcf.js → composables-CUIiW9OD.js} +1190 -1170
  136. package/dist/cdn/chunks/composables-CUIiW9OD.js.map +1 -0
  137. package/dist/cdn/chunks/{createCloudRuntime-PpIFCDfj.js → createCloudRuntime-B7D04wKf.js} +161 -147
  138. package/dist/cdn/chunks/createCloudRuntime-B7D04wKf.js.map +1 -0
  139. package/dist/cdn/chunks/da-CYWJkrTg.js +97 -0
  140. package/dist/cdn/chunks/da-CYWJkrTg.js.map +1 -0
  141. package/dist/cdn/chunks/da-qQzj0QGy.js +950 -0
  142. package/dist/cdn/chunks/da-qQzj0QGy.js.map +1 -0
  143. package/dist/cdn/chunks/{dist-BzXULHvI.js → dist-BtWMy7UQ.js} +3 -3
  144. package/dist/cdn/chunks/{dist-BzXULHvI.js.map → dist-BtWMy7UQ.js.map} +1 -1
  145. package/dist/cdn/chunks/dist-zu1jwYIS.js +405 -0
  146. package/dist/cdn/chunks/{dist-DqGgijFI.js.map → dist-zu1jwYIS.js.map} +1 -1
  147. package/dist/cdn/chunks/{draggable-DepKdldn.js → draggable-IRVFEZ-b.js} +1535 -1500
  148. package/dist/cdn/chunks/draggable-IRVFEZ-b.js.map +1 -0
  149. package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js → editor-modal-CarOiAYJ.js} +137 -136
  150. package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js.map → editor-modal-CarOiAYJ.js.map} +1 -1
  151. package/dist/cdn/chunks/en-B4s_0ryk.js +1 -0
  152. package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js → extensions-Cbvk9i08.js} +96 -96
  153. package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js.map → extensions-Cbvk9i08.js.map} +1 -1
  154. package/dist/cdn/chunks/{icons-DHExFLlT.js → icons-Cl4oR2mf.js} +73 -73
  155. package/dist/cdn/chunks/icons-Cl4oR2mf.js.map +1 -0
  156. package/dist/cdn/chunks/keys-BQqbBUag.js +11 -0
  157. package/dist/cdn/chunks/keys-BQqbBUag.js.map +1 -0
  158. package/dist/cdn/chunks/{normalizeMergeTagMarkup-aWjkotui.js → normalizeMergeTagMarkup-BJ-MnCqF.js} +55 -55
  159. package/dist/cdn/chunks/{normalizeMergeTagMarkup-aWjkotui.js.map → normalizeMergeTagMarkup-BJ-MnCqF.js.map} +1 -1
  160. package/dist/cdn/chunks/{preRenderCustomBlocks-Dn6dFUwx.js → preRenderCustomBlocks-D2wISRHq.js} +2 -2
  161. package/dist/cdn/chunks/{preRenderCustomBlocks-Dn6dFUwx.js.map → preRenderCustomBlocks-D2wISRHq.js.map} +1 -1
  162. package/dist/cdn/chunks/sanitizeHtml-CB7fjHFs.js +72 -0
  163. package/dist/cdn/chunks/sanitizeHtml-CB7fjHFs.js.map +1 -0
  164. package/dist/cdn/chunks/{socialIcons-Qw9rHc8C.js → socialIcons-C_yggK1_.js} +575 -524
  165. package/dist/cdn/chunks/socialIcons-C_yggK1_.js.map +1 -0
  166. package/dist/cdn/chunks/{src-C9JWWxAk.js → src-Bp7bZcuD.js} +108 -95
  167. package/dist/cdn/chunks/src-Bp7bZcuD.js.map +1 -0
  168. package/dist/cdn/chunks/{src-mXG-Of9A.js → src-CdVAke9t.js} +721 -696
  169. package/dist/cdn/chunks/src-CdVAke9t.js.map +1 -0
  170. package/dist/cdn/chunks/{src-Bfj1jHnn.js → src-D-URHI0Z.js} +232 -228
  171. package/dist/cdn/chunks/src-D-URHI0Z.js.map +1 -0
  172. package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js → tiptap-BPiZqxCt.js} +42 -33
  173. package/dist/cdn/chunks/tiptap-BPiZqxCt.js.map +1 -0
  174. package/dist/cdn/chunks/{useCloudI18n-Xsih9yRH.js → useCloudI18n-Dr4S2TRW.js} +3 -3
  175. package/dist/cdn/chunks/{useCloudI18n-Xsih9yRH.js.map → useCloudI18n-Dr4S2TRW.js.map} +1 -1
  176. package/dist/cdn/chunks/useEditorRoot-B_kf_k-g.js +9 -0
  177. package/dist/cdn/chunks/{useEditorRoot-Beau2Z_T.js.map → useEditorRoot-B_kf_k-g.js.map} +1 -1
  178. package/dist/cdn/chunks/{useI18n-D8s7HtTn.js → useI18n-CSf-ZpcM.js} +3 -3
  179. package/dist/cdn/chunks/{useI18n-D8s7HtTn.js.map → useI18n-CSf-ZpcM.js.map} +1 -1
  180. package/dist/cdn/chunks/useLocalizedDisplay-slFOCPrh.js +33 -0
  181. package/dist/cdn/chunks/{useLocalizedDisplay-Bgg4qpev.js.map → useLocalizedDisplay-slFOCPrh.js.map} +1 -1
  182. package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js → useLogicTag-lPjCGeGC.js} +5 -5
  183. package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js.map → useLogicTag-lPjCGeGC.js.map} +1 -1
  184. package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js → useMergeTag-BKNBwIry.js} +8 -8
  185. package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js.map → useMergeTag-BKNBwIry.js.map} +1 -1
  186. package/dist/cdn/chunks/{usePopoverPosition-esO6wjvU.js → usePopoverPosition-BJFFi8x6.js} +3 -3
  187. package/dist/cdn/chunks/{usePopoverPosition-esO6wjvU.js.map → usePopoverPosition-BJFFi8x6.js.map} +1 -1
  188. package/dist/cdn/chunks/{useScrollToBlock-CJuUu7Xj.js → useScrollToBlock-MI4PP5lk.js} +3 -3
  189. package/dist/cdn/chunks/{useScrollToBlock-CJuUu7Xj.js.map → useScrollToBlock-MI4PP5lk.js.map} +1 -1
  190. package/dist/cdn/chunks/{withCurrentFont-QqBilClC.js → withCurrentFont-CzTFFaJA.js} +2 -2
  191. package/dist/cdn/chunks/{withCurrentFont-QqBilClC.js.map → withCurrentFont-CzTFFaJA.js.map} +1 -1
  192. package/dist/cdn/editor.css +1 -1
  193. package/dist/cdn/editor.js +784 -762
  194. package/dist/cdn/editor.js.map +1 -1
  195. package/dist/{check-CcuCoJDh.js → check-C7ua4TAK.js} +1 -1
  196. package/dist/{chevron-down-BfYIbFbC.js → chevron-down-DftQrAkI.js} +1 -1
  197. package/dist/{chevron-right-DyjFqY35.js → chevron-right-B-DULGbg.js} +1 -1
  198. package/dist/{chevron-up-BHEIxuS-.js → chevron-up-CeYsyD8c.js} +1 -1
  199. package/dist/{circle-alert-Tq7kAh9S.js → circle-exclamation-point-DHjORV_I.js} +3 -3
  200. package/dist/{clock-Df0ZiXwQ.js → clock-CajOtLEZ.js} +1 -1
  201. package/dist/{composables-CRX6rncm.js → composables-DbjgUQlV.js} +1663 -1643
  202. package/dist/{createCloudRuntime-DplyIlsy.js → createCloudRuntime-Cnh2M6iT.js} +54 -40
  203. package/dist/{createLucideIcon-CfBdtoUw.js → createLucideIcon-D-mELTSY.js} +6 -6
  204. package/dist/da-CYWJkrTg.js +95 -0
  205. package/dist/da-qQzj0QGy.js +948 -0
  206. package/dist/{dist-CX7skkvG.js → dist-A328tG0Z.js} +2 -2
  207. package/dist/{dist-B8dY8drK.js → dist-B15BvV94.js} +2 -2
  208. package/dist/{dist-TAv500j6.js → dist-B3G4Yvpd.js} +3 -3
  209. package/dist/dist-B6ptxfPo.js +406 -0
  210. package/dist/{dist-ChOb5XHW.js → dist-BmV-2uBJ.js} +2 -2
  211. package/dist/{dist-fqSers8_.js → dist-BxKFi2h_.js} +199 -199
  212. package/dist/{dist-BMUUt3zJ.js → dist-CAvsz9cW.js} +680 -655
  213. package/dist/{dist-D_XrUEET.js → dist-CMBOqk9I.js} +7 -7
  214. package/dist/{dist-DZ3X-uB8.js → dist-CXTsTO5h.js} +2 -2
  215. package/dist/{dist-B9a7iVye.js → dist-D5BUcCjv.js} +2 -2
  216. package/dist/dist-D9cbSSSx.js +4 -0
  217. package/dist/{dist-54VCNoC0.js → dist-DAdrn64r.js} +2 -2
  218. package/dist/{dist-BWflWcpW.js → dist-DENg3ORe.js} +33 -24
  219. package/dist/{dist-C3hu_C3w.js → dist-DI_8rB1X.js} +2 -2
  220. package/dist/dist-ELLEk-lS.js +4 -0
  221. package/dist/{editor-modal-D9HT9bD6.js → editor-modal-CgsaLpwB.js} +110 -109
  222. package/dist/en-DBLcB-CW.js +1 -0
  223. package/dist/{extensions-Cm6K4SRX.js → extensions-7fb-XtNJ.js} +180 -180
  224. package/dist/{eye-B3psrAqd.js → eye-fe5sKF_K.js} +1 -1
  225. package/dist/{image-C3yuPDxx.js → image-CUC7SZiW.js} +1 -1
  226. package/dist/index.d.ts +6 -4
  227. package/dist/{info-DKja7A68.js → info-DDbLU4pT.js} +1 -1
  228. package/dist/keys-D9oKZN1h.js +9 -0
  229. package/dist/{link-DhzPI4Hn.js → link-C2icj0iH.js} +1 -1
  230. package/dist/{list-DVGn7Ik2.js → list-KYC_Jb5A.js} +1 -1
  231. package/dist/{loader-circle-DqKWsMHO.js → loader-circle-DmyagWpc.js} +1 -1
  232. package/dist/{message-circle-C4TonoBs.js → message-circle-ijyWn6UJ.js} +1 -1
  233. package/dist/{normalizeMergeTagMarkup-Da9JAgx7.js → normalizeMergeTagMarkup-GrXJfXsQ.js} +82 -82
  234. package/dist/{package-9OkiEO4S.js → package-CKYm_jQY.js} +1 -1
  235. package/dist/{pencil-M9vkOB7C.js → pencil-C2TRSR-Y.js} +1 -1
  236. package/dist/{plus-DxZiv9YC.js → plus-CotJVDxb.js} +1 -1
  237. package/dist/{preRenderCustomBlocks-CdqSp2P7.js → preRenderCustomBlocks-DuXtzD-F.js} +3 -3
  238. package/dist/{refresh-cw-UY8_sdFG.js → refresh-cw-CuCRV6D5.js} +1 -1
  239. package/dist/{rotate-ccw-BFTGCpHn.js → rotate-ccw-BlnQ3y6R.js} +1 -1
  240. package/dist/{runtime-dom.esm-bundler-DlHp8xgy.js → runtime-dom.esm-bundler-nN-jsqr1.js} +20 -20
  241. package/dist/{sanitizeHtml-wBibnBF4.js → sanitizeHtml-eV4_BpI6.js} +25 -14
  242. package/dist/{search-RuGJnMEn.js → search-Dxw6oFrZ.js} +1 -1
  243. package/dist/{send-DGB1ar02.js → send-C-blQBZ9.js} +1 -1
  244. package/dist/{smartphone-CVA29CU_.js → smartphone-rLz4X-Dd.js} +1 -1
  245. package/dist/{socialIcons-CJD6OsI7.js → socialIcons-brRkK9Om.js} +600 -549
  246. package/dist/{sparkles-IHfEwEcd.js → sparkles-JWQlUiSn.js} +1 -1
  247. package/dist/{square-_Cl44UU6.js → square-DshDy1Il.js} +1 -1
  248. package/dist/style.css +1 -1
  249. package/dist/templatical-editor.js +976 -954
  250. package/dist/{text-align-start-Dqk2Xt_Q.js → text-align-start-CyasaQtr.js} +13 -13
  251. package/dist/{trash-Cr7rD5Hh.js → trash-B1lZp2Tv.js} +1 -1
  252. package/dist/{triangle-alert-CKcpwtUj.js → triangle-exclamation-point-BhJvBEoT.js} +3 -3
  253. package/dist/{upload-DR9pqVON.js → upload-CNK8JX38.js} +1 -1
  254. package/dist/{useCloudI18n-BczJoFf4.js → useCloudI18n-HhCZYRV6.js} +2 -2
  255. package/dist/useEditorRoot-B0Njczhx.js +7 -0
  256. package/dist/{useI18n-zeWYtWSv.js → useI18n-CM9vKbYc.js} +2 -2
  257. package/dist/{cdn/chunks/useLocalizedDisplay-Bgg4qpev.js → useLocalizedDisplay-DoaT7nWk.js} +2 -4
  258. package/dist/{useLogicTag-DLkYos2Q.js → useLogicTag-cTC2KbWd.js} +4 -4
  259. package/dist/{useMergeTag-IoWOO679.js → useMergeTag-D2YDZ8vR.js} +8 -8
  260. package/dist/{usePopoverPosition-Br3zt_MQ.js → usePopoverPosition-CVRzzLkC.js} +2 -2
  261. package/dist/{useScrollToBlock-BfOzc1Z6.js → useScrollToBlock-vf_KD0FM.js} +3 -3
  262. package/dist/{vue.runtime.esm-bundler-BJXc_Mri.js → vue.runtime.esm-bundler-BE5V8ADU.js} +414 -362
  263. package/dist/{withCurrentFont-m_PHcOD0.js → withCurrentFont-DAmED4fN.js} +1 -1
  264. package/dist/{x-DZSFHafL.js → x-DbLX5Qdm.js} +1 -1
  265. package/package.json +23 -23
  266. package/dist/AiPanels-DAsnX-a3.js +0 -31
  267. package/dist/CommentsPanel-C5qG17Ki.js +0 -16
  268. package/dist/CommentsSidebar-C7CWcUYZ.js +0 -526
  269. package/dist/LanguageMenu-B981Av-6.js +0 -403
  270. package/dist/cdn/chunks/AiChatPanel-DKDu9cs7.js.map +0 -1
  271. package/dist/cdn/chunks/AiPanels-jMLVaiKx.js +0 -32
  272. package/dist/cdn/chunks/AiPanels-jMLVaiKx.js.map +0 -1
  273. package/dist/cdn/chunks/AiRewriteMenu-s79rmHFy.js.map +0 -1
  274. package/dist/cdn/chunks/BlockIssueBadge-Bnmq_M4G.js.map +0 -1
  275. package/dist/cdn/chunks/BlockPreviewCanvas-B3HkuENF.js +0 -156
  276. package/dist/cdn/chunks/BlockPreviewCanvas-B3HkuENF.js.map +0 -1
  277. package/dist/cdn/chunks/CloudPanels-DQnlH_YJ.js.map +0 -1
  278. package/dist/cdn/chunks/CommentsPanel-EtdTzTmq.js +0 -18
  279. package/dist/cdn/chunks/CommentsPanel-EtdTzTmq.js.map +0 -1
  280. package/dist/cdn/chunks/CommentsSidebar-Qmj049QX.js +0 -496
  281. package/dist/cdn/chunks/CommentsSidebar-Qmj049QX.js.map +0 -1
  282. package/dist/cdn/chunks/IssuesPanel-DnSnEh1X.js.map +0 -1
  283. package/dist/cdn/chunks/LanguageMenu-C2I_yTL5.js.map +0 -1
  284. package/dist/cdn/chunks/RestoreVersionDialog-DqbULAbc.js.map +0 -1
  285. package/dist/cdn/chunks/Toolbar-C_Hfsher.js.map +0 -1
  286. package/dist/cdn/chunks/composables-CsfQlmcf.js.map +0 -1
  287. package/dist/cdn/chunks/createCloudRuntime-PpIFCDfj.js.map +0 -1
  288. package/dist/cdn/chunks/dist-DqGgijFI.js +0 -405
  289. package/dist/cdn/chunks/draggable-DepKdldn.js.map +0 -1
  290. package/dist/cdn/chunks/en-CVxNoHww.js +0 -1
  291. package/dist/cdn/chunks/icons-DHExFLlT.js.map +0 -1
  292. package/dist/cdn/chunks/keys-BUmIvYy3.js +0 -11
  293. package/dist/cdn/chunks/keys-BUmIvYy3.js.map +0 -1
  294. package/dist/cdn/chunks/sanitizeHtml-DJI7vvET.js +0 -61
  295. package/dist/cdn/chunks/sanitizeHtml-DJI7vvET.js.map +0 -1
  296. package/dist/cdn/chunks/socialIcons-Qw9rHc8C.js.map +0 -1
  297. package/dist/cdn/chunks/src-Bfj1jHnn.js.map +0 -1
  298. package/dist/cdn/chunks/src-C9JWWxAk.js.map +0 -1
  299. package/dist/cdn/chunks/src-mXG-Of9A.js.map +0 -1
  300. package/dist/cdn/chunks/tiptap-Dipw_zOQ.js.map +0 -1
  301. package/dist/cdn/chunks/useEditorRoot-Beau2Z_T.js +0 -9
  302. package/dist/dist-0alKVRc_.js +0 -406
  303. package/dist/dist-6DU0me3E.js +0 -4
  304. package/dist/dist-CcOn7WCo.js +0 -4
  305. package/dist/en-De3uAutQ.js +0 -1
  306. package/dist/keys-w_VRjoMu.js +0 -9
  307. package/dist/useEditorRoot-BcXKhM_8.js +0 -7
  308. package/dist/useLocalizedDisplay-Cbhx208c.js +0 -31
@@ -1,60 +1,60 @@
1
- import { A as e, B as t, D as n, E as r, F as i, Ft as a, L as o, M as s, Mt as c, N as l, O as u, P as d, Pt as f, R as p, S as m, U as h, W as g, Z as _, _ as v, c as y, ct as b, d as x, et as S, f as C, g as w, h as T, j as E, k as D, l as O, m as k, nt as A, q as j, r as M, rt as N, tt as P, u as F, v as I, w as L, y as R } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
- import { a as z, c as B, n as V, o as ee, s as H, t as U } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
3
- import { At as W, Bt as te, D as G, E as K, Gt as q, I as J, Mt as Y, O as ne, Ot as re, P as ie, Q as ae, S as oe, T as se, Tt as X, V as ce, W as le, X as ue, _ as Z, a as de, cn as fe, d as pe, et as me, g as he, gt as ge, j as _e, kt as ve, lt as ye, qt as be, sn as xe, tt as Q, vt as Se, w as Ce, x as we, yt as Te } from "./dist-BMUUt3zJ.js";
4
- import { G as Ee, I as De, L as Oe, M as ke, N as Ae, R as je, V as Me, W as Ne, _ as Pe, b as Fe, c as Ie, j as Le, l as Re } from "./socialIcons-CJD6OsI7.js";
1
+ import { A as e, B as t, D as n, E as r, F as i, Ft as a, L as o, M as s, Mt as c, N as l, O as u, P as d, Pt as f, R as p, S as m, U as h, W as g, Z as _, _ as v, c as y, ct as b, d as x, et as S, f as C, g as w, h as T, j as E, k as D, l as O, m as k, nt as A, q as j, r as M, rt as N, tt as P, u as F, v as I, w as L, y as R } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
2
+ import { a as z, c as B, n as V, o as H, s as U, t as W } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
3
+ import { G, I as ee, L as K, M as q, N as J, R as Y, V as te, W as ne, _ as re, b as ie, c as ae, j as oe, l as se } from "./socialIcons-brRkK9Om.js";
4
+ import { A as ce, At as le, C as ue, D as de, Dt as fe, E as X, Ht as pe, I as me, K as he, Mt as ge, N as _e, Pt as ve, Q as ye, R as be, S as xe, T as Se, U as Ce, Yt as we, _ as Te, bt as Ee, dt as De, et as Oe, f as ke, jt as Ae, k as je, ln as Me, nt as Ne, o as Pe, qt as Fe, rt as Z, un as Ie, v as Q, vt as Le, xt as Re } from "./dist-CAvsz9cW.js";
5
5
  import { t as ze } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
6
- import { t as Be } from "./createLucideIcon-CfBdtoUw.js";
7
- import { A as Ve, D as He, F as Ue, G as We, I as Ge, M as Ke, N as qe, P as Je, R as Ye, S as Xe, V as Ze, _ as Qe, a as $e, b as et, c as tt, d as nt, f as rt, g as it, h as at, i as ot, j as st, k as ct, l as lt, m as ut, n as dt, o as ft, p as pt, r as mt, s as ht, t as gt, u as _t, v as vt, x as yt, y as bt } from "./composables-CRX6rncm.js";
8
- import { t as xt } from "./check-CcuCoJDh.js";
9
- import { t as St } from "./chevron-down-BfYIbFbC.js";
10
- import { t as Ct } from "./circle-alert-Tq7kAh9S.js";
11
- import { t as wt } from "./blockTypeIcons-CGplGmmr.js";
12
- import { t as Tt } from "./eye-B3psrAqd.js";
13
- import { r as Et, t as Dt } from "./sanitizeHtml-wBibnBF4.js";
14
- import { i as Ot, n as kt, o as At, r as jt, t as Mt } from "./useScrollToBlock-BfOzc1Z6.js";
15
- import { t as Nt } from "./loader-circle-DqKWsMHO.js";
16
- import { t as Pt } from "./message-circle-C4TonoBs.js";
17
- import { n as Ft } from "./smartphone-CVA29CU_.js";
18
- import { t as It } from "./package-9OkiEO4S.js";
19
- import { t as Lt } from "./rotate-ccw-BFTGCpHn.js";
20
- import { t as Rt } from "./search-RuGJnMEn.js";
21
- import { t as zt } from "./send-DGB1ar02.js";
22
- import { t as Bt } from "./sparkles-IHfEwEcd.js";
23
- import { n as Vt, t as Ht } from "./MergeTagModeToggle-DXvb80OE.js";
24
- import { t as Ut } from "./x-DZSFHafL.js";
25
- import { $ as Wt, B as Gt, E as Kt, I as qt, J as Jt, K as Yt, M as Xt, O as Zt, Q as Qt, R as $t, X as en, a as tn, at as nn, b as rn, c as an, d as on, et as sn, g as cn, h as ln, it as un, k as dn, l as fn, m as pn, n as mn, ot as hn, rt as gn, st as _n, t as vn, tt as yn, v as bn, z as xn } from "./keys-w_VRjoMu.js";
26
- import { t as $ } from "./useI18n-zeWYtWSv.js";
27
- import { n as Sn, t as Cn } from "./useLocalizedDisplay-Cbhx208c.js";
28
- import { t as wn } from "./plural-CyxrJXL1.js";
29
- import { t as Tn } from "./languageName-DEEOhDWI.js";
30
- import { C as En, T as Dn, b as On, h as kn, m as An, w as jn, x as Mn } from "./styleConstants-CgiNKdnc.js";
31
- import { _ as Nn, d as Pn, g as Fn } from "./dist-CX7skkvG.js";
32
- import { a as In } from "./dist-0alKVRc_.js";
33
- import { t as Ln } from "./logger-BOu7oEtk.js";
34
- import { t as Rn } from "./templateSettingsFields-cjlP-jdw.js";
35
- import { t as zn } from "./TplModal-7NQq5-VW.js";
36
- import { a as Bn, i as Vn, n as Hn, o as Un, t as Wn } from "./normalizeMergeTagMarkup-Da9JAgx7.js";
37
- import { t as Gn } from "./aiErrors-C3QEMB0x.js";
6
+ import { i as Be, n as Ve } from "./sanitizeHtml-eV4_BpI6.js";
7
+ import { t as He } from "./x-DbLX5Qdm.js";
8
+ import { t as $ } from "./useI18n-CM9vKbYc.js";
9
+ import { n as Ue, t as We } from "./useLocalizedDisplay-DoaT7nWk.js";
10
+ import { $ as Ge, B as Ke, E as qe, I as Je, J as Ye, K as Xe, M as Ze, O as Qe, R as $e, Y as et, Z as tt, a as nt, at as rt, b as it, c as at, ct as ot, d as st, et as ct, g as lt, h as ut, it as dt, k as ft, l as pt, m as mt, n as ht, nt as gt, ot as _t, st as vt, t as yt, tt as bt, v as xt, z as St } from "./keys-D9oKZN1h.js";
11
+ import { t as Ct } from "./plural-CyxrJXL1.js";
12
+ import { t as wt } from "./languageName-DEEOhDWI.js";
13
+ import { C as Tt, T as Et, b as Dt, h as Ot, m as kt, w as At, x as jt } from "./styleConstants-CgiNKdnc.js";
14
+ import { t as Mt } from "./TplModal-DnFFEulp.js";
15
+ import { A as Nt, D as Pt, F as Ft, G as It, I as Lt, M as Rt, N as zt, P as Bt, R as Vt, S as Ht, V as Ut, _ as Wt, a as Gt, b as Kt, c as qt, d as Jt, f as Yt, g as Xt, h as Zt, i as Qt, j as $t, k as en, l as tn, m as nn, n as rn, o as an, p as on, r as sn, s as cn, t as ln, u as un, v as dn, x as fn, y as pn } from "./composables-DbjgUQlV.js";
16
+ import { a as mn, i as hn, n as gn, o as _n, t as vn } from "./normalizeMergeTagMarkup-GrXJfXsQ.js";
17
+ import { t as yn } from "./aiErrors-C3QEMB0x.js";
18
+ import { n as bn, t as xn } from "./aiImageContext-BQ5mQ6B5.js";
19
+ import { i as Sn, n as Cn, o as wn, r as Tn, t as En } from "./useScrollToBlock-vf_KD0FM.js";
20
+ import { a as Dn } from "./dist-B6ptxfPo.js";
21
+ import { t as On } from "./logger-BOu7oEtk.js";
22
+ import { t as kn } from "./rotate-ccw-BlnQ3y6R.js";
23
+ import { t as An } from "./createLucideIcon-D-mELTSY.js";
24
+ import { t as jn } from "./sparkles-JWQlUiSn.js";
25
+ import { t as Mn } from "./WrapperBlock-BiW4ye3w.js";
26
+ import { t as Nn } from "./package-CKYm_jQY.js";
27
+ import { t as Pn } from "./blockTypeIcons-D1aYMC1M.js";
28
+ import { t as Fn } from "./templateSettingsFields-cjlP-jdw.js";
29
+ import { n as In } from "./smartphone-rLz4X-Dd.js";
30
+ import { t as Ln } from "./loader-circle-DmyagWpc.js";
31
+ import { t as Rn } from "./message-circle-ijyWn6UJ.js";
32
+ import { t as zn } from "./send-C-blQBZ9.js";
33
+ import { n as Bn, t as Vn } from "./MergeTagModeToggle-CixgX5C_.js";
34
+ import { t as Hn } from "./eye-fe5sKF_K.js";
35
+ import { _ as Un, d as Wn, g as Gn } from "./dist-A328tG0Z.js";
38
36
  import { t as Kn } from "./formatAbsoluteDateTime-Ck2_zXra.js";
39
- import { n as qn, t as Jn } from "./aiImageContext-BQ5mQ6B5.js";
40
- import { t as Yn } from "./WrapperBlock-Bdw-072t.js";
41
- import { t as Xn } from "./formatRelativeTime-BTD8Ktt-.js";
42
- import { t as Zn } from "./preRenderCustomBlocks-CdqSp2P7.js";
37
+ import { t as qn } from "./formatRelativeTime-BTD8Ktt-.js";
38
+ import { t as Jn } from "./check-C7ua4TAK.js";
39
+ import { t as Yn } from "./circle-exclamation-point-DHjORV_I.js";
40
+ import { t as Xn } from "./chevron-down-DftQrAkI.js";
41
+ import { t as Zn } from "./search-Dxw6oFrZ.js";
42
+ import { t as Qn } from "./preRenderCustomBlocks-DuXtzD-F.js";
43
43
  // src/utils/resolveTemplateDefaults.ts
44
- var Qn = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
45
- function $n(e) {
46
- let t = e.locale?.trim().replace(/_/g, "-"), n = t && Qn.test(t) ? { locale: t } : void 0;
44
+ var $n = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
45
+ function er(e) {
46
+ let t = e.locale?.trim().replace(/_/g, "-"), n = t && $n.test(t) ? { locale: t } : void 0;
47
47
  if (n || e.templateDefaults) return {
48
48
  ...n,
49
49
  ...e.templateDefaults
50
50
  };
51
51
  }
52
52
  // src/components/NoticeStack.vue
53
- var er = {}, tr = { class: "tpl:pointer-events-none tpl:absolute tpl:top-16 tpl:left-1/2 tpl:z-[60] tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" };
54
- function nr(e, t) {
55
- return s(), C("div", tr, [i(e.$slots, "default")]);
53
+ var tr = {}, nr = { class: "tpl:pointer-events-none tpl:absolute tpl:top-16 tpl:left-1/2 tpl:z-[60] tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" };
54
+ function rr(e, t) {
55
+ return s(), C("div", nr, [i(e.$slots, "default")]);
56
56
  }
57
- var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
57
+ var ir = /*#__PURE__*/ ze(tr, [["render", rr]]), ar = An({
58
58
  name: "image-up",
59
59
  size: 24,
60
60
  node: [
@@ -77,7 +77,7 @@ var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
77
77
  key: "af1f0g"
78
78
  }]
79
79
  ]
80
- }), ar = Be({
80
+ }), or = An({
81
81
  name: "layout-template",
82
82
  size: 24,
83
83
  node: [
@@ -106,14 +106,14 @@ var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
106
106
  key: "q5h2i8"
107
107
  }]
108
108
  ]
109
- }), or = Be({
109
+ }), sr = An({
110
110
  name: "moon",
111
111
  size: 24,
112
112
  node: [["path", {
113
113
  d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
114
114
  key: "kfwtm"
115
115
  }]]
116
- }), sr = Be({
116
+ }), cr = An({
117
117
  name: "panel-top",
118
118
  size: 24,
119
119
  node: [["rect", {
@@ -127,7 +127,7 @@ var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
127
127
  d: "M3 9h18",
128
128
  key: "1pudct"
129
129
  }]]
130
- }), cr = Be({
130
+ }), lr = An({
131
131
  name: "save",
132
132
  size: 24,
133
133
  node: [
@@ -144,7 +144,7 @@ var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
144
144
  key: "t51u73"
145
145
  }]
146
146
  ]
147
- }), lr = Be({
147
+ }), ur = An({
148
148
  name: "settings",
149
149
  size: 24,
150
150
  node: [["path", {
@@ -156,7 +156,7 @@ var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
156
156
  r: "3",
157
157
  key: "1v7zrd"
158
158
  }]]
159
- }), ur = Be({
159
+ }), dr = An({
160
160
  name: "square-plus",
161
161
  size: 24,
162
162
  node: [
@@ -178,7 +178,7 @@ var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
178
178
  }]
179
179
  ],
180
180
  aliases: ["plus-square"]
181
- }), dr = Be({
181
+ }), fr = An({
182
182
  name: "sun",
183
183
  size: 24,
184
184
  node: [
@@ -221,29 +221,29 @@ var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
221
221
  key: "1shlcs"
222
222
  }]
223
223
  ]
224
- }), fr = {
224
+ }), pr = {
225
225
  key: 0,
226
226
  "data-testid": "language-bar",
227
227
  class: "tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-4 tpl:py-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
228
- }, pr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-between tpl:gap-x-6 tpl:gap-y-2" }, mr = { class: "tpl:flex tpl:min-w-0 tpl:grow tpl:basis-64 tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1" }, hr = {
228
+ }, mr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-between tpl:gap-x-6 tpl:gap-y-2" }, hr = { class: "tpl:flex tpl:min-w-0 tpl:grow tpl:basis-64 tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1" }, gr = {
229
229
  "data-testid": "language-bar-label",
230
230
  class: "tpl:inline-flex tpl:items-center tpl:gap-2 tpl:font-medium tpl:whitespace-nowrap tpl:text-[var(--tpl-text)]"
231
- }, gr = {
231
+ }, _r = {
232
232
  "data-testid": "language-bar-status",
233
233
  role: "status",
234
234
  "aria-live": "polite",
235
235
  "aria-atomic": "true",
236
236
  class: "tpl:whitespace-nowrap"
237
- }, _r = {
237
+ }, vr = {
238
238
  key: 1,
239
239
  "data-testid": "translation-result",
240
240
  class: "tpl:whitespace-normal"
241
- }, vr = ["aria-label"], yr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-2" }, br = ["disabled"], xr = ["disabled"], Sr = {
241
+ }, yr = ["aria-label"], br = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-2" }, xr = ["disabled"], Sr = ["disabled"], Cr = {
242
242
  key: 0,
243
243
  "data-testid": "structure-notice",
244
244
  role: "status",
245
245
  class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-2"
246
- }, Cr = ["aria-label"], wr = ["aria-label"], Tr = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Er = { class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Dr = { class: "tpl:flex tpl:flex-wrap tpl:justify-end tpl:gap-2" }, Or = ["disabled"], kr = /* @__PURE__ */ new Set(), Ar = /* @__PURE__ */ R({
246
+ }, wr = ["aria-label"], Tr = ["aria-label"], Er = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Dr = { class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Or = { class: "tpl:flex tpl:flex-wrap tpl:justify-end tpl:gap-2" }, kr = ["disabled"], Ar = /* @__PURE__ */ new Set(), jr = /* @__PURE__ */ R({
247
247
  __name: "LanguageBar",
248
248
  props: {
249
249
  editor: {},
@@ -252,15 +252,15 @@ var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
252
252
  change: {}
253
253
  },
254
254
  setup(e) {
255
- let n = e, { t: r, format: i } = $(), o = L(un, void 0) ?? "en", l = L(ln, []), d = y(() => Q(n.editor.content.value)), f = y(() => n.editor.activeLocale?.value ?? d.value), p = y(() => n.locales.includes(f.value)), m = L(vn, null) ?? Cn(n.editor, l), g = y(() => p.value ? !m.value?.missing.length && !m.value?.stale.length ? r.localization.complete : i(r.localization.gapTooltip, {
255
+ let n = e, { t: r, format: i } = $(), o = L(rt, void 0) ?? "en", l = L(ut, []), d = y(() => Z(n.editor.content.value)), f = y(() => n.editor.activeLocale?.value ?? d.value), p = y(() => n.locales.includes(f.value)), m = L(yt, null) ?? We(n.editor, l), g = y(() => p.value ? !m.value?.missing.length && !m.value?.stale.length ? r.localization.complete : i(r.localization.gapTooltip, {
256
256
  missing: m.value.missing.length,
257
257
  stale: m.value.stale.length
258
- }) : i(r.localization.languageReadOnly, { language: Tn(f.value) })), _ = y(() => {
258
+ }) : i(r.localization.languageReadOnly, { language: wt(f.value) })), _ = y(() => {
259
259
  let e = n.feature?.lastResult.value;
260
260
  if (!e) return "";
261
- let t = [wn(r.localization.translatedFields, e.translated, o)];
262
- return e.tagsChanged.length && t.push(wn(r.localization.translationTagsChanged, e.tagsChanged.length, o)), e.skippedLocked.length && t.push(wn(r.localization.translationSkippedLocked, e.skippedLocked.length, o)), e.missing.length && t.push(wn(r.localization.translationMissing, e.missing.length, o)), e.tooLarge.length && t.push(wn(r.localization.translationTooLarge, e.tooLarge.length, o)), e.error && t.push(i(r.localization.translationError, { message: e.error.message })), t.join(" ");
263
- }), T = S(!1), E = !1, D = S(null), k = S(null), A = y(() => n.feature?.counts.value.all ?? 0), j = y(() => wn(r.localization.translationConfirmation, A.value, o));
261
+ let t = [Ct(r.localization.translatedFields, e.translated, o)];
262
+ return e.tagsChanged.length && t.push(Ct(r.localization.translationTagsChanged, e.tagsChanged.length, o)), e.skippedLocked.length && t.push(Ct(r.localization.translationSkippedLocked, e.skippedLocked.length, o)), e.missing.length && t.push(Ct(r.localization.translationMissing, e.missing.length, o)), e.tooLarge.length && t.push(Ct(r.localization.translationTooLarge, e.tooLarge.length, o)), e.error && t.push(i(r.localization.translationError, { message: e.error.message })), t.join(" ");
263
+ }), T = S(!1), E = !1, D = S(null), k = S(null), A = y(() => n.feature?.counts.value.all ?? 0), j = y(() => Ct(r.localization.translationConfirmation, A.value, o));
264
264
  function N() {
265
265
  D.value = null, u(() => k.value?.focus());
266
266
  }
@@ -281,67 +281,67 @@ var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
281
281
  D.value && N();
282
282
  }), t(() => n.change, () => {
283
283
  let e = n.editor.state.template?.id;
284
- (e ? kr.has(e) : E) || (e ? kr.add(e) : E = !0, T.value = !0);
285
- }), (t, n) => f.value === d.value ? x("", !0) : (s(), C("div", fr, [
286
- O("div", pr, [O("div", mr, [
287
- O("span", hr, [v(b(Et), {
284
+ (e ? Ar.has(e) : E) || (e ? Ar.add(e) : E = !0, T.value = !0);
285
+ }), (t, n) => f.value === d.value ? x("", !0) : (s(), C("div", pr, [
286
+ O("div", mr, [O("div", hr, [
287
+ O("span", gr, [v(b(Be), {
288
288
  size: 14,
289
289
  "aria-hidden": "true",
290
290
  class: "tpl:shrink-0"
291
- }), w(" " + a(b(i)(b(r).localization.editingLanguage, { language: b(Tn)(f.value) })), 1)]),
292
- O("span", gr, [e.feature?.running.value ? (s(), C(M, { key: 0 }, [w(a(b(i)(b(r).localization.translating, e.feature.running.value)), 1)], 64)) : e.feature?.lastResult.value ? (s(), C("span", _r, a(_.value), 1)) : (s(), C(M, { key: 2 }, [w(a(g.value), 1)], 64))]),
291
+ }), w(" " + a(b(i)(b(r).localization.editingLanguage, { language: b(wt)(f.value) })), 1)]),
292
+ O("span", _r, [e.feature?.running.value ? (s(), C(M, { key: 0 }, [w(a(b(i)(b(r).localization.translating, e.feature.running.value)), 1)], 64)) : e.feature?.lastResult.value ? (s(), C("span", vr, a(_.value), 1)) : (s(), C(M, { key: 2 }, [w(a(g.value), 1)], 64))]),
293
293
  e.feature?.lastResult.value && !e.feature.running.value ? (s(), C("button", {
294
294
  key: 0,
295
295
  type: "button",
296
296
  "data-testid": "translation-dismiss",
297
297
  "aria-label": b(r).localization.dismiss,
298
- class: c(b(An)),
298
+ class: c(b(kt)),
299
299
  onClick: n[0] ||= (t) => e.feature.dismissResult()
300
- }, [v(b(Ut), {
300
+ }, [v(b(He), {
301
301
  size: 14,
302
302
  "aria-hidden": "true"
303
- })], 10, vr)) : x("", !0)
304
- ]), O("div", yr, [
303
+ })], 10, yr)) : x("", !0)
304
+ ]), O("div", br, [
305
305
  e.feature?.running.value ? (s(), C("button", {
306
306
  key: 0,
307
307
  type: "button",
308
308
  "data-testid": "translation-cancel",
309
- class: c(b(An)),
309
+ class: c(b(kt)),
310
310
  onClick: n[1] ||= (t) => e.feature.cancel()
311
311
  }, a(b(r).localization.cancel), 3)) : x("", !0),
312
312
  p.value && e.feature?.isAvailable.value ? (s(), C(M, { key: 1 }, [e.feature.counts.value.gaps > 0 ? (s(), C("button", {
313
313
  key: 0,
314
314
  type: "button",
315
315
  "data-testid": "translate-language",
316
- class: c(b(Mn)),
316
+ class: c(b(jt)),
317
317
  disabled: !!e.feature.running.value,
318
318
  onClick: n[2] ||= (t) => e.feature.translate({ only: "gaps" })
319
- }, a(b(wn)(b(r).localization.translateFields, e.feature.counts.value.gaps, b(o))), 11, br)) : x("", !0), O("button", {
319
+ }, a(b(Ct)(b(r).localization.translateFields, e.feature.counts.value.gaps, b(o))), 11, xr)) : x("", !0), O("button", {
320
320
  ref_key: "allAgain",
321
321
  ref: k,
322
322
  type: "button",
323
323
  "data-testid": "translate-all-again",
324
- class: c(b(An)),
324
+ class: c(b(kt)),
325
325
  disabled: !!e.feature.running.value || A.value === 0,
326
326
  onClick: P
327
- }, a(b(r).localization.translateAllAgain), 11, xr)], 64)) : x("", !0),
327
+ }, a(b(r).localization.translateAllAgain), 11, Sr)], 64)) : x("", !0),
328
328
  O("button", {
329
329
  type: "button",
330
330
  "data-testid": "language-back-default",
331
- class: c(b(An)),
331
+ class: c(b(kt)),
332
332
  onClick: n[3] ||= (t) => e.editor.setActiveLocale?.(null)
333
- }, a(b(i)(b(r).localization.backToDefault, { default: b(Tn)(d.value) })), 3)
333
+ }, a(b(i)(b(r).localization.backToDefault, { default: b(wt)(d.value) })), 3)
334
334
  ])]),
335
- T.value ? (s(), C("div", Sr, [O("span", null, a(b(r).localization.structureNotice), 1), O("button", {
335
+ T.value ? (s(), C("div", Cr, [O("span", null, a(b(r).localization.structureNotice), 1), O("button", {
336
336
  type: "button",
337
337
  "aria-label": b(r).localization.dismiss,
338
- class: c(b(An)),
338
+ class: c(b(kt)),
339
339
  onClick: n[4] ||= (e) => T.value = !1
340
- }, [v(b(Ut), {
340
+ }, [v(b(He), {
341
341
  size: 14,
342
342
  "aria-hidden": "true"
343
- })], 10, Cr)])) : x("", !0),
344
- v(zn, {
343
+ })], 10, wr)])) : x("", !0),
344
+ v(Mt, {
345
345
  visible: D.value !== null,
346
346
  onClose: N
347
347
  }, {
@@ -351,35 +351,35 @@ var rr = /*#__PURE__*/ ze(er, [["render", nr]]), ir = Be({
351
351
  "aria-label": j.value,
352
352
  class: "tpl:w-96 tpl:max-w-full tpl:max-h-[90%] tpl:overflow-y-auto tpl:box-border tpl:rounded-[var(--tpl-radius)] tpl:bg-[var(--tpl-bg)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-lg)]"
353
353
  }, [
354
- O("h3", Tr, a(j.value), 1),
355
- O("p", Er, a(b(i)(b(r).localization.translationDescription, { language: b(Tn)(D.value?.locale ?? f.value) })), 1),
356
- O("div", Dr, [O("button", {
354
+ O("h3", Er, a(j.value), 1),
355
+ O("p", Dr, a(b(i)(b(r).localization.translationDescription, { language: b(wt)(D.value?.locale ?? f.value) })), 1),
356
+ O("div", Or, [O("button", {
357
357
  type: "button",
358
358
  "data-testid": "translation-confirm-cancel",
359
- class: c(b(En)),
359
+ class: c(b(Tt)),
360
360
  onClick: N
361
361
  }, a(b(r).localization.cancel), 3), O("button", {
362
362
  type: "button",
363
363
  "data-testid": "translation-confirm",
364
- class: c(b(On)),
364
+ class: c(b(Dt)),
365
365
  disabled: !!e.feature?.running.value || !e.feature?.isAvailable.value || A.value === 0,
366
366
  onClick: F
367
- }, a(b(wn)(b(r).localization.translateAllFields, A.value, b(o))), 11, Or)])
368
- ], 8, wr)]),
367
+ }, a(b(Ct)(b(r).localization.translateAllFields, A.value, b(o))), 11, kr)])
368
+ ], 8, Tr)]),
369
369
  _: 1
370
370
  }, 8, ["visible"])
371
371
  ]));
372
372
  }
373
373
  });
374
374
  // src/composables/useLocaleActions.ts
375
- function jr(e) {
375
+ function Mr(e) {
376
376
  let { editor: t } = e;
377
377
  return { setDefaultLocale(n) {
378
378
  let r;
379
379
  try {
380
- r = [t.createSetDefaultLocaleOperation(n)], e.collaboration || ge(t.content.value, r);
380
+ r = [t.createSetDefaultLocaleOperation(n)], e.collaboration || Le(t.content.value, r);
381
381
  } catch (e) {
382
- if (e instanceof pe) return {
382
+ if (e instanceof ke) return {
383
383
  applied: !1,
384
384
  error: e
385
385
  };
@@ -388,12 +388,12 @@ function jr(e) {
388
388
  if (e.collaboration) {
389
389
  let t = e.collaboration.core.applyOperations(r, {});
390
390
  if (!t.applied) return t;
391
- } else e.history().record(), Ce(t.content.value, r), t.markDirty();
391
+ } else e.history().record(), Se(t.content.value, r), t.markDirty();
392
392
  return t.setActiveLocale(n), { applied: !0 };
393
393
  } };
394
394
  }
395
395
  // src/composables/useTranslationFeature.ts
396
- function Mr(e) {
396
+ function Nr(e) {
397
397
  if (typeof e != "object" || !e) return null;
398
398
  let t = e;
399
399
  return t.code !== "rate_limited" && t.code !== "limit_reached" && t.code !== "content_too_large" && t.code !== "translation_failed" || t.statusCode !== void 0 && typeof t.statusCode != "number" ? null : {
@@ -402,24 +402,24 @@ function Mr(e) {
402
402
  ...t.statusCode === void 0 ? {} : { statusCode: t.statusCode }
403
403
  };
404
404
  }
405
- function Nr(e) {
405
+ function Pr(e) {
406
406
  let t = /* @__PURE__ */ new Set();
407
407
  if (typeof DOMParser > "u") return t;
408
408
  let n = new DOMParser().parseFromString(e, "text/html");
409
409
  for (let e of n.querySelectorAll("[style]")) t.add(e.getAttribute("style") ?? "");
410
410
  return t;
411
411
  }
412
- function Pr(e, t) {
413
- let n = Nr(t);
414
- return [...Nr(e)].every((e) => n.has(e));
412
+ function Fr(e, t) {
413
+ let n = Pr(t);
414
+ return [...Pr(e)].every((e) => n.has(e));
415
415
  }
416
- function Fr(e) {
417
- let t = `tpl-translation-${crypto.randomUUID()}-`, n = [], r = e.replace(/<x id="\d+"\s*\/>|<x id="\d+"><\/x>|__x\d+__/g, (e) => `${t}${n.push(e)}-end`), i = Dt(r);
416
+ function Ir(e) {
417
+ let t = `tpl-translation-${crypto.randomUUID()}-`, n = [], r = e.replace(/<x id="\d+"\s*\/>|<x id="\d+"><\/x>|__x\d+__/g, (e) => `${t}${n.push(e)}-end`), i = Ve(r);
418
418
  return n.forEach((e, n) => {
419
419
  i = i.replaceAll(`${t}${n + 1}-end`, e);
420
420
  }), i;
421
421
  }
422
- async function Ir(e, t) {
422
+ async function Lr(e, t) {
423
423
  t.throwIfAborted();
424
424
  let n, r = new Promise((e, r) => {
425
425
  n = () => r(t.reason), t.addEventListener("abort", n, { once: !0 });
@@ -430,16 +430,16 @@ async function Ir(e, t) {
430
430
  t.removeEventListener("abort", n);
431
431
  }
432
432
  }
433
- function Lr(e) {
433
+ function Rr(e) {
434
434
  let { editor: n } = e, r = A(null), i = A(null), a = null, o = A(!1), s = y(() => {
435
435
  let t = n.activeLocale.value;
436
- return !o.value && !!t && t !== Q(n.content.value) && !!e.localization?.locales.includes(t) && !!n.content.value.settings.locales?.includes(t);
436
+ return !o.value && !!t && t !== Z(n.content.value) && !!e.localization?.locales.includes(t) && !!n.content.value.settings.locales?.includes(t);
437
437
  }), c = y(() => {
438
438
  if (!s.value) return {
439
439
  gaps: 0,
440
440
  all: 0
441
441
  };
442
- let t = n.activeLocale.value, r = e.definitions(), i = e.coverage?.() ?? W(n.content.value, t, r), a = /* @__PURE__ */ new Set([...i.missing, ...i.stale]), { strings: o } = Y(n.content.value, t, {
442
+ let t = n.activeLocale.value, r = e.definitions(), i = e.coverage?.() ?? ge(n.content.value, t, r), a = /* @__PURE__ */ new Set([...i.missing, ...i.stale]), { strings: o } = ve(n.content.value, t, {
443
443
  definitions: r,
444
444
  syntax: e.syntax(),
445
445
  doNotTranslate: e.localization?.doNotTranslate,
@@ -466,11 +466,11 @@ function Lr(e) {
466
466
  o.value = !0, u();
467
467
  });
468
468
  async function d(t) {
469
- if (a) throw new Z("A translation is already running.", 409, "translation_running");
470
- if (!s.value) throw new Z("Translation isn't available in this language.", 403, "feature_unavailable");
469
+ if (a) throw new Q("A translation is already running.", 409, "translation_running");
470
+ if (!s.value) throw new Q("Translation isn't available in this language.", 403, "feature_unavailable");
471
471
  let o = e.collaboration?.core;
472
472
  o?.flush();
473
- let c = n.activeLocale.value, l = n.state.template?.id ?? null, u = Q(n.content.value), d = be(N([...e.definitions()])), f = e.syntax(), p = e.localization?.doNotTranslate?.slice(), m = Y(n.content.value, c, {
473
+ let c = n.activeLocale.value, l = n.state.template?.id ?? null, u = Z(n.content.value), d = we(N([...e.definitions()])), f = e.syntax(), p = e.localization?.doNotTranslate?.slice(), m = ve(n.content.value, c, {
474
474
  ...t,
475
475
  definitions: d,
476
476
  syntax: f,
@@ -506,7 +506,7 @@ function Lr(e) {
506
506
  }
507
507
  let i;
508
508
  try {
509
- i = await Ir(e.provider.translate({
509
+ i = await Lr(e.provider.translate({
510
510
  templateId: l,
511
511
  sourceLocale: u,
512
512
  targetLocale: c,
@@ -517,7 +517,7 @@ function Lr(e) {
517
517
  }))
518
518
  }, g.controller.signal), g.controller.signal), g.controller.signal.throwIfAborted();
519
519
  } catch (e) {
520
- if (!g.controller.signal.aborted && Mr(e)?.code === "content_too_large" && t.length > 1) {
520
+ if (!g.controller.signal.aborted && Nr(e)?.code === "content_too_large" && t.length > 1) {
521
521
  y = Math.floor(t.length / 2);
522
522
  continue;
523
523
  }
@@ -529,10 +529,10 @@ function Lr(e) {
529
529
  h.missing.push(e.id);
530
530
  continue;
531
531
  }
532
- let n = m.tokens[e.id], r = xe(t.text, n);
533
- r === null || e.format === "html" && !Pr(r, xe(e.source, n)) ? h.tagsChanged.push(e.id) : _.push({
532
+ let n = m.tokens[e.id], r = Me(t.text, n);
533
+ r === null || e.format === "html" && !Fr(r, Me(e.source, n)) ? h.tagsChanged.push(e.id) : _.push({
534
534
  id: e.id,
535
- text: e.format === "html" ? Fr(t.text) : t.text,
535
+ text: e.format === "html" ? Ir(t.text) : t.text,
536
536
  sourceHash: e.sourceHash
537
537
  });
538
538
  }
@@ -543,14 +543,14 @@ function Lr(e) {
543
543
  }
544
544
  } catch (e) {
545
545
  g.controller.signal.aborted || e instanceof Error && e.name === "AbortError" ? h.cancelled = !0 : h.error = {
546
- code: Mr(e)?.code ?? "translation_failed",
547
- message: Mr(e)?.message ?? (e instanceof Error ? e.message : String(e))
546
+ code: Nr(e)?.code ?? "translation_failed",
547
+ message: Nr(e)?.message ?? (e instanceof Error ? e.message : String(e))
548
548
  };
549
549
  }
550
550
  try {
551
551
  if (!g.discarded) {
552
552
  o?.flush();
553
- let t = oe(n.content.value, c, _, {
553
+ let t = ue(n.content.value, c, _, {
554
554
  definitions: d,
555
555
  syntax: f,
556
556
  doNotTranslate: p,
@@ -573,7 +573,7 @@ function Lr(e) {
573
573
  let t = o.locksOf(e.blockId).some((e) => e.holder.sessionId !== o.sessionId && (e.locale == null || e.locale === c));
574
574
  return t && h.skippedLocked.push(...Object.keys(e.text ?? {}).map((t) => `${e.blockId}/${t}`)), !t;
575
575
  });
576
- s.length && (ge(N(n.content.value), s), e.history().record(), Ce(n.content.value, s), n.markDirty(), o?.flush(), h.translated = s.reduce((e, t) => e + (t.op === "updateBlockLocale" || t.op === "updateSettingsLocale" ? Object.keys(t.text ?? {}).length : 0), 0)), n.activeLocale.value === c && (i.value = h);
576
+ s.length && (Le(N(n.content.value), s), e.history().record(), Se(n.content.value, s), n.markDirty(), o?.flush(), h.translated = s.reduce((e, t) => e + (t.op === "updateBlockLocale" || t.op === "updateSettingsLocale" ? Object.keys(t.text ?? {}).length : 0), 0)), n.activeLocale.value === c && (i.value = h);
577
577
  }
578
578
  } finally {
579
579
  a = null, r.value = null;
@@ -593,12 +593,12 @@ function Lr(e) {
593
593
  };
594
594
  }
595
595
  // src/composables/useCollaborationFeature.ts
596
- var Rr = 5e3, zr = 2e3, Br = {
596
+ var zr = 5e3, Br = 2e3, Vr = {
597
597
  blockIds: [],
598
598
  settings: !1,
599
599
  templateUpdated: !0
600
600
  };
601
- function Vr(e) {
601
+ function Hr(e) {
602
602
  let t = /* @__PURE__ */ new Set(), n = !1, r = !1;
603
603
  for (let i of e) i.op === "addBlock" ? typeof i.block?.id == "string" && t.add(i.block.id) : i.op === "updateSettings" || i.op === "addLocale" || i.op === "removeLocale" || i.op === "updateSettingsLocale" ? n = !0 : i.op === "setContent" || i.op === "setDefaultLocale" ? r = !0 : t.add(i.blockId);
604
604
  return {
@@ -607,11 +607,11 @@ function Vr(e) {
607
607
  templateUpdated: r
608
608
  };
609
609
  }
610
- function Hr(e) {
610
+ function Ur(e) {
611
611
  let t = S([]), n = 1, r = /* @__PURE__ */ new Map();
612
612
  function i(e) {
613
613
  let t = r.get(e);
614
- t && clearTimeout(t), r.set(e, setTimeout(() => o(e), Rr));
614
+ t && clearTimeout(t), r.set(e, setTimeout(() => o(e), zr));
615
615
  }
616
616
  function a(e) {
617
617
  let r = n++;
@@ -649,7 +649,7 @@ function Hr(e) {
649
649
  u.delete(r);
650
650
  let e = new Map(l.value);
651
651
  e.delete(r), l.value = e;
652
- }, zr));
652
+ }, Br));
653
653
  }
654
654
  l.value = n;
655
655
  }
@@ -690,18 +690,18 @@ function Hr(e) {
690
690
  id: u.noticeId
691
691
  }], i(u.noticeId)) : (u.noticeId = a(p), c = u), n.templateUpdated || f(n.blockIds);
692
692
  }
693
- let m = De({
693
+ let m = ee({
694
694
  provider: e.provider,
695
695
  loadTemplate: e.loadTemplate,
696
- normalizeRemoteOperations: (t, n) => Vn(t, n, e.mergeTags),
696
+ normalizeRemoteOperations: (t, n) => hn(t, n, e.mergeTags),
697
697
  onRemoteChange: (t) => {
698
698
  try {
699
- p(t.actor, Vr(t.ops));
699
+ p(t.actor, Hr(t.ops));
700
700
  } finally {
701
701
  e.onRemoteChange?.(t);
702
702
  }
703
703
  },
704
- onRemoteResync: ({ actor: e }) => p(e, Br),
704
+ onRemoteResync: ({ actor: e }) => p(e, Vr),
705
705
  onNotice: s,
706
706
  onError: e.onError
707
707
  });
@@ -763,14 +763,14 @@ function Hr(e) {
763
763
  };
764
764
  }
765
765
  // src/composables/useCommentsFeature.ts
766
- function Ur(e) {
767
- let { provider: n, editor: r } = e, i = je({
766
+ function Wr(e) {
767
+ let { provider: n, editor: r } = e, i = Y({
768
768
  provider: n,
769
769
  getTemplateId: () => r.state.template?.id ?? null,
770
770
  getUser: () => e.user ?? null,
771
771
  onError: e.onError
772
772
  });
773
- Oe({
773
+ K({
774
774
  comments: i,
775
775
  provider: n,
776
776
  getTemplateId: () => r.state.template?.id ?? null
@@ -816,22 +816,22 @@ function Ur(e) {
816
816
  };
817
817
  }
818
818
  // src/composables/useAiFeature.ts
819
- var Wr = 3e3, Gr = 1e3;
820
- function Kr(e) {
821
- return be(N(e));
819
+ var Gr = 3e3, Kr = 1e3;
820
+ function qr(e) {
821
+ return we(N(e));
822
822
  }
823
- var qr = (e) => e instanceof Error && e.name === "AbortError";
824
- function Jr(e) {
823
+ var Jr = (e) => e instanceof Error && e.name === "AbortError";
824
+ function Yr(e) {
825
825
  if (e instanceof Error) return e;
826
826
  if (typeof e != "object" || !e) return Error(String(e));
827
827
  let t = e;
828
828
  return Object.assign(Error(typeof t.message == "string" ? t.message : String(e)), typeof t.code == "string" ? { code: t.code } : {}, typeof t.statusCode == "number" ? { statusCode: t.statusCode } : {}, t.details === void 0 ? {} : { details: t.details });
829
829
  }
830
- var Yr = (e) => e.batches.reduce((e, t) => e + t.operationCount, 0);
831
- function Xr(e, t) {
832
- return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) && Xr(e, t)));
830
+ var Xr = (e) => e.batches.reduce((e, t) => e + t.operationCount, 0);
831
+ function Zr(e, t) {
832
+ return e.some((e) => e.id === t || e.type === "section" && Array.isArray(e.children) && e.children.some((e) => Array.isArray(e) && Zr(e, t)));
833
833
  }
834
- function Zr(e) {
834
+ function Qr(e) {
835
835
  return {
836
836
  applied: !1,
837
837
  code: e.code,
@@ -839,10 +839,10 @@ function Zr(e) {
839
839
  message: e.message
840
840
  };
841
841
  }
842
- function Qr(e) {
842
+ function $r(e) {
843
843
  let { provider: n, editor: r, collaboration: i } = e, a = n.conversation ?? null, o = crypto.randomUUID(), s = S(null), c = /* @__PURE__ */ new Map(), l = !1, u = 0, d = !1, f = 0, p = null, m = j();
844
844
  function h(e) {
845
- let t = te(e);
845
+ let t = ee(e);
846
846
  return {
847
847
  id: e,
848
848
  memory: t,
@@ -904,23 +904,23 @@ function Qr(e) {
904
904
  a(e);
905
905
  return;
906
906
  } finally {
907
- t.active = null, t.busy.value = !1, --f === 0 && ke(), ee(t);
907
+ t.active = null, t.busy.value = !1, --f === 0 && Te(), H(t);
908
908
  }
909
909
  i(e);
910
910
  }
911
911
  };
912
- t.queue.push(o), f++ === 0 && ke(), ee(t);
912
+ t.queue.push(o), f++ === 0 && Te(), H(t);
913
913
  }) : Promise.resolve().then(r);
914
914
  }
915
- function ee(e) {
915
+ function H(e) {
916
916
  if (e.active) return;
917
917
  let t = e.queue.shift();
918
918
  t && (e.active = t, E(e) && (e.busy.value = !0), t.execute());
919
919
  }
920
- function H(e) {
920
+ function U(e) {
921
921
  if (e.controller.signal.throwIfAborted(), !E(e.scope)) throw new DOMException("The template changed.", "AbortError");
922
922
  }
923
- async function U(e, t) {
923
+ async function W(e, t) {
924
924
  t.throwIfAborted();
925
925
  let n, r = new Promise((e, r) => {
926
926
  n = () => r(t.reason), t.addEventListener("abort", n, { once: !0 });
@@ -931,15 +931,15 @@ function Qr(e) {
931
931
  t.removeEventListener("abort", n);
932
932
  }
933
933
  }
934
- async function W(t, n = !1, r = t.authorVersion) {
934
+ async function G(t, n = !1, r = t.authorVersion) {
935
935
  let { scope: i } = t, a = () => i.active === t && E(i) && (n || !t.controller.signal.aborted), o = () => a() ? r === u || (i.keptYourVersion.value = !0, !1) : !1;
936
936
  if (e.reload && o()) try {
937
- await U(e.reload(i.id, () => o() ? (i.keptYourVersion.value = !1, i.committingReload = !0, !0) : !1), i.lifetime.signal);
937
+ await W(e.reload(i.id, () => o() ? (i.keptYourVersion.value = !1, i.committingReload = !0, !0) : !1), i.lifetime.signal);
938
938
  } finally {
939
939
  i.committingReload = !1;
940
940
  }
941
941
  }
942
- function te(e) {
942
+ function ee(e) {
943
943
  let t = c.get(e);
944
944
  return t || (t = {
945
945
  generation: 0,
@@ -949,16 +949,16 @@ function Qr(e) {
949
949
  recoveries: /* @__PURE__ */ new Map()
950
950
  }, c.set(e, t)), t;
951
951
  }
952
- function G(e, t, n) {
952
+ function K(e, t, n) {
953
953
  let r = setTimeout(() => {
954
954
  e.timers.delete(r), t();
955
955
  }, n);
956
956
  e.timers.add(r);
957
957
  }
958
- function K(t) {
959
- qr(t) || e.onError?.(Jr(t));
958
+ function q(t) {
959
+ Jr(t) || e.onError?.(Yr(t));
960
960
  }
961
- function J(e, t) {
961
+ function Y(e, t) {
962
962
  if (t.length === 0) return;
963
963
  if (i) {
964
964
  i.outline(t);
@@ -966,18 +966,18 @@ function Qr(e) {
966
966
  }
967
967
  let n = ++e.highlightSequence, r = new Map(e.highlights.value);
968
968
  for (let e of t) r.set(e, n);
969
- e.highlights.value = r, G(e, () => {
969
+ e.highlights.value = r, K(e, () => {
970
970
  let r = new Map(e.highlights.value);
971
971
  for (let e of t) r.get(e) === n && r.delete(e);
972
972
  e.highlights.value = r;
973
- }, zr);
973
+ }, Br);
974
974
  }
975
- async function Y(e) {
976
- i && await Promise.race([i.core.settle().catch(() => {}), new Promise((t) => G(e, t, Wr))]);
975
+ async function te(e) {
976
+ i && await Promise.race([i.core.settle().catch(() => {}), new Promise((t) => K(e, t, Gr))]);
977
977
  }
978
978
  function ne(t) {
979
- let n = N(r.content.value), a = r.activeLocale?.value ?? null, s = q(n, a ?? Q(n));
980
- if (a === null && n.settings.locale === void 0 && delete s.settings.locale, new TextEncoder().encode(JSON.stringify(s)).length > 2e5) throw new Z("This template is too large for AI.", 413, "content_too_large");
979
+ let n = N(r.content.value), a = r.activeLocale?.value ?? null, s = Fe(n, a ?? Z(n));
980
+ if (a === null && n.settings.locale === void 0 && delete s.settings.locale, new TextEncoder().encode(JSON.stringify(s)).length > 2e5) throw new Q("This template is too large for AI.", 413, "content_too_large");
981
981
  return {
982
982
  templateId: t,
983
983
  locale: a,
@@ -989,7 +989,7 @@ function Qr(e) {
989
989
  }
990
990
  function re() {
991
991
  let e = r.state.selectedBlockId;
992
- return e ? i ? i.core.hasConfirmedBlock(e) ? e : null : Xr(r.content.value.blocks, e) ? e : null : null;
992
+ return e ? i ? i.core.hasConfirmedBlock(e) ? e : null : Zr(r.content.value.blocks, e) ? e : null : null;
993
993
  }
994
994
  function ie(t, n, a) {
995
995
  if (t.length === 0) return {
@@ -1000,52 +1000,52 @@ function Qr(e) {
1000
1000
  try {
1001
1001
  o = e.normalize(t, N(r.content.value));
1002
1002
  } catch (e) {
1003
- if (e instanceof pe) return Zr(e);
1003
+ if (e instanceof ke) return Qr(e);
1004
1004
  throw e;
1005
1005
  }
1006
1006
  if (o.length === 0) return {
1007
1007
  applied: !0,
1008
1008
  inverse: []
1009
1009
  };
1010
- let s = Vr(o);
1010
+ let s = Hr(o);
1011
1011
  if (i) {
1012
1012
  let e = i.core.applyOperations(o, {
1013
1013
  origin: "ai",
1014
1014
  turn: n
1015
1015
  });
1016
- return e.applied ? (s.templateUpdated || J(a, s.blockIds), {
1016
+ return e.applied ? (s.templateUpdated || Y(a, s.blockIds), {
1017
1017
  applied: !0,
1018
1018
  inverse: e.inverse
1019
- }) : Zr(e.error);
1019
+ }) : Qr(e.error);
1020
1020
  }
1021
1021
  let c;
1022
1022
  try {
1023
- c = ge(N(r.content.value), o);
1023
+ c = Le(N(r.content.value), o);
1024
1024
  } catch (e) {
1025
- if (e instanceof pe) return Zr(e);
1025
+ if (e instanceof ke) return Qr(e);
1026
1026
  throw e;
1027
1027
  }
1028
1028
  a.lastRecordedTurn !== n && (e.history().record(), a.lastRecordedTurn = n), d = !0;
1029
1029
  try {
1030
- Ce(r.content.value, be(o)), r.markDirty();
1030
+ Se(r.content.value, we(o)), r.markDirty();
1031
1031
  } finally {
1032
1032
  d = !1;
1033
1033
  }
1034
1034
  let l = r.state.selectedBlockId;
1035
- return l && !Xr(r.content.value.blocks, l) && r.selectBlock(null), s.templateUpdated || J(a, s.blockIds), {
1035
+ return l && !Zr(r.content.value.blocks, l) && r.selectBlock(null), s.templateUpdated || Y(a, s.blockIds), {
1036
1036
  applied: !0,
1037
1037
  inverse: c
1038
1038
  };
1039
1039
  }
1040
- function oe(t, n, i, a) {
1040
+ function ae(t, n, i, a) {
1041
1041
  let o = t;
1042
1042
  try {
1043
1043
  if (a !== null) {
1044
- if (e.localization && !e.localization.locales.includes(a)) throw new pe("invalid_operation", 0, `Locale "${a}" is not enabled.`);
1045
- o = Ae(N(r.content.value), a, t, e.customBlockDefinitions?.());
1044
+ if (e.localization && !e.localization.locales.includes(a)) throw new ke("invalid_operation", 0, `Locale "${a}" is not enabled.`);
1045
+ o = J(N(r.content.value), a, t, e.customBlockDefinitions?.());
1046
1046
  }
1047
1047
  } catch (e) {
1048
- if (e instanceof pe) return Zr(e);
1048
+ if (e instanceof ke) return Qr(e);
1049
1049
  throw e;
1050
1050
  }
1051
1051
  let s = ie(o, n, i);
@@ -1056,14 +1056,14 @@ function Qr(e) {
1056
1056
  "updateBlock"
1057
1057
  ].includes(e.op)) && e.onStructureChange?.(), s;
1058
1058
  }
1059
- function se(e, t) {
1059
+ function oe(e, t) {
1060
1060
  if (!i || !E(t)) return;
1061
1061
  let n = i.core;
1062
- n.revision.value >= e || (n.connection.value === "connected" ? G(t, () => {
1062
+ n.revision.value >= e || (n.connection.value === "connected" ? K(t, () => {
1063
1063
  E(t) && n.revision.value < e && n.catchUp();
1064
- }, Gr) : n.catchUp());
1064
+ }, Kr) : n.catchUp());
1065
1065
  }
1066
- function X(e, t, n) {
1066
+ function se(e, t, n) {
1067
1067
  let r = e.memory;
1068
1068
  r.items = r.items.map((e) => {
1069
1069
  if (e.id !== t) return e;
@@ -1105,7 +1105,7 @@ function Qr(e) {
1105
1105
  redo: null,
1106
1106
  serverApplied: !1,
1107
1107
  batchIds: /* @__PURE__ */ new Set()
1108
- }, S, w = !1, T = !1, D = (e) => X(u, g, e), O = () => {
1108
+ }, S, w = !1, T = !1, D = (e) => se(u, g, e), O = () => {
1109
1109
  let e = p.items.find((e) => e.id === g);
1110
1110
  a && e && p.recoveries.set(m, {
1111
1111
  item: e,
@@ -1117,10 +1117,10 @@ function Qr(e) {
1117
1117
  try {
1118
1118
  let n;
1119
1119
  do
1120
- n = _, !i && e.reload && await W(t, !0, d.authorVersion), a && await _e(t, !0, !0);
1120
+ n = _, !i && e.reload && await G(t, !0, d.authorVersion), a && await pe(t, !0, !0);
1121
1121
  while (E(u) && n !== _);
1122
1122
  } catch (e) {
1123
- E(u) && K(e);
1123
+ E(u) && q(e);
1124
1124
  } finally {
1125
1125
  T = !1;
1126
1126
  }
@@ -1129,22 +1129,22 @@ function Qr(e) {
1129
1129
  }));
1130
1130
  }, A = {
1131
1131
  onText: (e) => {
1132
- H(d), v += e, D({ text: v });
1132
+ U(d), v += e, D({ text: v });
1133
1133
  },
1134
1134
  onOperations: async (e) => {
1135
- H(d), C(c);
1136
- let t = i ? Kr(r.content.value) : null, n = oe(e, m, u, l);
1137
- return n.applied && n.inverse.length > 0 && (x.inverse = [...n.inverse, ...x.inverse], i && (x.view = x.view === void 0 || x.view !== null && ae(x.view, t) ? Kr(r.content.value) : null), _ += e.length, D({ operationCount: _ })), n;
1135
+ U(d), C(c);
1136
+ let t = i ? qr(r.content.value) : null, n = ae(e, m, u, l);
1137
+ return n.applied && n.inverse.length > 0 && (x.inverse = [...n.inverse, ...x.inverse], i && (x.view = x.view === void 0 || x.view !== null && Oe(x.view, t) ? qr(r.content.value) : null), _ += e.length, D({ operationCount: _ })), n;
1138
1138
  },
1139
1139
  onApplied: (t) => {
1140
1140
  if (!E(u)) throw new DOMException("The template changed.", "AbortError");
1141
- if (!i && !e.reload) throw b ??= new Z(Gn, 502, "ai_provider_error"), b;
1142
- x.serverApplied = !0, x.batchIds.add(t.batchId), _ += t.operationCount, D({ operationCount: _ }), se(t.revision, u), w && (O(), k());
1141
+ if (!i && !e.reload) throw b ??= new Q(yn, 502, "ai_provider_error"), b;
1142
+ x.serverApplied = !0, x.batchIds.add(t.batchId), _ += t.operationCount, D({ operationCount: _ }), oe(t.revision, u), w && (O(), k());
1143
1143
  }
1144
1144
  };
1145
1145
  try {
1146
1146
  try {
1147
- await _e(d), H(d), C(c), u.failure.value = null, u.failedPrompt.value = null, u.failedAttachments.value = [];
1147
+ await pe(d), U(d), C(c), u.failure.value = null, u.failedPrompt.value = null, u.failedAttachments.value = [];
1148
1148
  let e = (/* @__PURE__ */ new Date()).toISOString();
1149
1149
  p.records.set(g, x), p.items = [
1150
1150
  ...p.items,
@@ -1179,12 +1179,12 @@ function Qr(e) {
1179
1179
  createdAt: e,
1180
1180
  status: "streaming"
1181
1181
  }
1182
- ], u.messages.value = p.items, await U(Y(u), d.controller.signal), H(d), C(c);
1183
- let r = await U(o(ne(u.id), A, f.signal), f.signal);
1184
- if (H(d), b) throw b;
1182
+ ], u.messages.value = p.items, await W(te(u), d.controller.signal), U(d), C(c);
1183
+ let r = await W(o(ne(u.id), A, f.signal), f.signal);
1184
+ if (U(d), b) throw b;
1185
1185
  if (r.text !== "" && (v = r.text), r.messageId !== null && a) {
1186
1186
  let e = g;
1187
- g = r.messageId, p.storedIds.add(g), p.records.delete(e), p.records.set(g, x), X(u, e, { id: g });
1187
+ g = r.messageId, p.storedIds.add(g), p.records.delete(e), p.records.set(g, x), se(u, e, { id: g });
1188
1188
  }
1189
1189
  D({
1190
1190
  text: v,
@@ -1197,8 +1197,8 @@ function Qr(e) {
1197
1197
  };
1198
1198
  } catch (e) {
1199
1199
  let r = b ?? e;
1200
- y = f.signal.aborted || qr(r), y || K(r), _ === 0 && (!y || v === "") ? (p.items = p.items.filter((e) => e.id !== g && e.id !== h), E(u) && (u.messages.value = p.items, y || (t === "chat" && (u.failedPrompt.value = n, u.failedAttachments.value = s), u.failure.value = {
1201
- error: Jr(r),
1200
+ y = f.signal.aborted || Jr(r), y || q(r), _ === 0 && (!y || v === "") ? (p.items = p.items.filter((e) => e.id !== g && e.id !== h), E(u) && (u.messages.value = p.items, y || (t === "chat" && (u.failedPrompt.value = n, u.failedAttachments.value = s), u.failure.value = {
1201
+ error: Yr(r),
1202
1202
  context: "turn"
1203
1203
  })), S = {
1204
1204
  messageId: null,
@@ -1208,7 +1208,7 @@ function Qr(e) {
1208
1208
  }) : (D({
1209
1209
  status: y ? "done" : "failed",
1210
1210
  failure: y ? void 0 : {
1211
- error: Jr(r),
1211
+ error: Yr(r),
1212
1212
  context: "turn"
1213
1213
  }
1214
1214
  }), S = {
@@ -1221,10 +1221,10 @@ function Qr(e) {
1221
1221
  a && S.messageId !== null && _ > 0 && (S.failed || y) && O();
1222
1222
  let r;
1223
1223
  do
1224
- if (r = _, x.serverApplied && !i && e.reload && E(u) && await W(d, !0).catch((e) => {
1225
- E(u) && K(e);
1224
+ if (r = _, x.serverApplied && !i && e.reload && E(u) && await G(d, !0).catch((e) => {
1225
+ E(u) && q(e);
1226
1226
  }), a && p.recoveries.has(m) && E(u)) {
1227
- await _e(d, !0, !0);
1227
+ await pe(d, !0, !0);
1228
1228
  let e = p.recoveries.get(m);
1229
1229
  e && (S.messageId = e.item.id, S.text = e.item.text);
1230
1230
  }
@@ -1235,27 +1235,27 @@ function Qr(e) {
1235
1235
  }
1236
1236
  }, le);
1237
1237
  }
1238
- function fe(t, n) {
1238
+ function de(t, n) {
1239
1239
  let s = T();
1240
1240
  return !s || s.busy.value ? Promise.resolve() : V("replay", s, async (c) => {
1241
1241
  let l = s.memory, u = l.items.find((e) => e.id === t);
1242
1242
  if (!u) return;
1243
1243
  let d = a?.[n], f = l.records.get(t);
1244
1244
  try {
1245
- if (H(c), l.storedIds.has(t)) {
1246
- if (typeof d != "function") throw new Z(`This AI backend does not support ${n}.`, 403, "feature_unavailable");
1245
+ if (U(c), l.storedIds.has(t)) {
1246
+ if (typeof d != "function") throw new Q(`This AI backend does not support ${n}.`, 403, "feature_unavailable");
1247
1247
  if (u.undone !== (n === "redo")) return;
1248
- let r = await U(d(s.id, t, { sessionId: i ? i.core.sessionId : o }), s.lifetime.signal);
1248
+ let r = await W(d(s.id, t, { sessionId: i ? i.core.sessionId : o }), s.lifetime.signal);
1249
1249
  if (!E(s)) return;
1250
1250
  if ("operations" in r) {
1251
1251
  if (c.controller.signal.aborted) return;
1252
- let e = oe(r.operations, `${n}:${t}:${crypto.randomUUID()}`, s, u.locale ?? null);
1253
- e.applied && X(s, t, {
1252
+ let e = ae(r.operations, `${n}:${t}:${crypto.randomUUID()}`, s, u.locale ?? null);
1253
+ e.applied && se(s, t, {
1254
1254
  undone: n === "undo",
1255
1255
  failure: void 0
1256
1256
  });
1257
1257
  try {
1258
- await U(a.settleReplay(s.id, t, {
1258
+ await W(a.settleReplay(s.id, t, {
1259
1259
  replayId: r.replayId,
1260
1260
  direction: n,
1261
1261
  applied: e.applied,
@@ -1263,52 +1263,52 @@ function Qr(e) {
1263
1263
  }), s.lifetime.signal);
1264
1264
  } catch (e) {
1265
1265
  if (!E(s)) return;
1266
- K(e), X(s, t, { failure: {
1267
- error: Jr(e),
1266
+ q(e), se(s, t, { failure: {
1267
+ error: Yr(e),
1268
1268
  context: n
1269
1269
  } });
1270
1270
  }
1271
1271
  if (!E(s)) return;
1272
- if (!e.applied) throw new de(e.message, {
1272
+ if (!e.applied) throw new Pe(e.message, {
1273
1273
  code: e.code,
1274
1274
  opIndex: e.opIndex
1275
1275
  });
1276
1276
  return;
1277
1277
  }
1278
- if (X(s, t, {
1278
+ if (se(s, t, {
1279
1279
  undone: n === "undo",
1280
1280
  failure: void 0
1281
- }), i) se(r.applied.revision, s);
1282
- else if (e.reload) await W(c, !0);
1283
- else throw new Z(Gn, 502, "ai_provider_error");
1281
+ }), i) oe(r.applied.revision, s);
1282
+ else if (e.reload) await G(c, !0);
1283
+ else throw new Q(yn, 502, "ai_provider_error");
1284
1284
  return;
1285
1285
  }
1286
1286
  {
1287
1287
  if (u.undone !== (n === "redo")) return;
1288
1288
  let e = n === "undo" ? f?.inverse : f?.redo;
1289
1289
  if (!f || f.serverApplied || !e || e.length === 0) return;
1290
- if (i && e.some((e) => e.op === "setContent") && (!f.view || !ae(f.view, N(r.content.value)))) throw new de(`The template changed since this message's changes, so ${n === "undo" ? "undoing" : "redoing"} them would overwrite that.`, { code: "precondition_failed" });
1290
+ if (i && e.some((e) => e.op === "setContent") && (!f.view || !Oe(f.view, N(r.content.value)))) throw new Pe(`The template changed since this message's changes, so ${n === "undo" ? "undoing" : "redoing"} them would overwrite that.`, { code: "precondition_failed" });
1291
1291
  let a = ie(e, `${n}:${t}:${crypto.randomUUID()}`, s);
1292
- if (!a.applied) throw new de(a.message, {
1292
+ if (!a.applied) throw new Pe(a.message, {
1293
1293
  code: a.code,
1294
1294
  opIndex: a.opIndex
1295
1295
  });
1296
- n === "undo" ? f.redo = a.inverse : f.inverse = a.inverse, i && (f.view = Kr(r.content.value));
1296
+ n === "undo" ? f.redo = a.inverse : f.inverse = a.inverse, i && (f.view = qr(r.content.value));
1297
1297
  }
1298
- X(s, t, {
1298
+ se(s, t, {
1299
1299
  undone: n === "undo",
1300
1300
  failure: void 0
1301
1301
  });
1302
1302
  } catch (e) {
1303
- if (!E(s) || qr(e)) return;
1304
- K(e), X(s, t, { failure: {
1305
- error: Jr(e),
1303
+ if (!E(s) || Jr(e)) return;
1304
+ q(e), se(s, t, { failure: {
1305
+ error: Yr(e),
1306
1306
  context: n
1307
1307
  } });
1308
1308
  }
1309
1309
  }, () => {});
1310
1310
  }
1311
- function me(e, t) {
1311
+ function fe(e, t) {
1312
1312
  let n = {
1313
1313
  id: e.id,
1314
1314
  role: e.role,
@@ -1316,7 +1316,7 @@ function Qr(e) {
1316
1316
  locale: e.locale,
1317
1317
  text: e.text,
1318
1318
  attachments: e.attachments ?? [],
1319
- operationCount: Yr(e),
1319
+ operationCount: Xr(e),
1320
1320
  undone: e.undone,
1321
1321
  canUndo: !1,
1322
1322
  canRedo: !1,
@@ -1328,10 +1328,10 @@ function Qr(e) {
1328
1328
  ...ce(n, t)
1329
1329
  };
1330
1330
  }
1331
- function he(e, t) {
1331
+ function X(e, t) {
1332
1332
  for (let n of e) t.storedIds.add(n.id);
1333
1333
  let n = new Map(t.items.map((e) => [e.id, e])), r = e.map((e) => {
1334
- let r = me(e, t), i = n.get(r.id);
1334
+ let r = fe(e, t), i = n.get(r.id);
1335
1335
  return i?.status === "failed" ? {
1336
1336
  ...r,
1337
1337
  status: i.status,
@@ -1343,7 +1343,7 @@ function Qr(e) {
1343
1343
  if (s) {
1344
1344
  t.records.delete(i.id), t.records.set(s.id, a);
1345
1345
  let e = {
1346
- ...me(s, t),
1346
+ ...fe(s, t),
1347
1347
  status: i.status,
1348
1348
  failure: i.failure
1349
1349
  };
@@ -1355,7 +1355,7 @@ function Qr(e) {
1355
1355
  }
1356
1356
  return r;
1357
1357
  }
1358
- async function _e(e, t = !1, n = !1, r = e.scope.historyGeneration) {
1358
+ async function pe(e, t = !1, n = !1, r = e.scope.historyGeneration) {
1359
1359
  let { scope: i } = e;
1360
1360
  if (!E(i) || r !== i.historyGeneration || !n && e.controller.signal.aborted || !t && i.loaded) return;
1361
1361
  let o = i.memory;
@@ -1363,13 +1363,13 @@ function Qr(e) {
1363
1363
  else {
1364
1364
  i.isLoadingHistory.value = !0, i.loaded = !1;
1365
1365
  try {
1366
- await U(a.list(i.id).then((t) => {
1367
- !l && o.generation === i.generation && r === i.historyGeneration && (n || E(i) && !e.controller.signal.aborted) && (o.items = he(t, o), i.messages.value = o.items, i.loaded = !0, i.failure.value?.context === "history" && (i.failure.value = null));
1366
+ await W(a.list(i.id).then((t) => {
1367
+ !l && o.generation === i.generation && r === i.historyGeneration && (n || E(i) && !e.controller.signal.aborted) && (o.items = X(t, o), i.messages.value = o.items, i.loaded = !0, i.failure.value?.context === "history" && (i.failure.value = null));
1368
1368
  }), n ? i.lifetime.signal : e.controller.signal);
1369
1369
  } catch (e) {
1370
- if (!E(i) || r !== i.historyGeneration || qr(e)) return;
1371
- K(e), i.failure.value = {
1372
- error: Jr(e),
1370
+ if (!E(i) || r !== i.historyGeneration || Jr(e)) return;
1371
+ q(e), i.failure.value = {
1372
+ error: Yr(e),
1373
1373
  context: "history"
1374
1374
  };
1375
1375
  } finally {
@@ -1377,7 +1377,7 @@ function Qr(e) {
1377
1377
  }
1378
1378
  }
1379
1379
  }
1380
- function ve(e = T()) {
1380
+ function me(e = T()) {
1381
1381
  if (!e || !E(e)) return Promise.resolve();
1382
1382
  if (e.pendingHistory?.generation === e.historyGeneration) return e.pendingHistory.promise;
1383
1383
  if (e.loaded) return Promise.resolve();
@@ -1385,11 +1385,11 @@ function Qr(e) {
1385
1385
  generation: t,
1386
1386
  promise: Promise.resolve()
1387
1387
  };
1388
- return n.promise = V("history", e, (e) => _e(e, !1, !1, t), () => {}).finally(() => {
1388
+ return n.promise = V("history", e, (e) => pe(e, !1, !1, t), () => {}).finally(() => {
1389
1389
  e.pendingHistory === n && (e.pendingHistory = null);
1390
1390
  }), e.pendingHistory = n, n.promise;
1391
1391
  }
1392
- function ye() {
1392
+ function he() {
1393
1393
  let e = T();
1394
1394
  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() : (B(e), e.active?.controller.abort(), V("clear", e, async () => {
1395
1395
  try {
@@ -1397,40 +1397,40 @@ function Qr(e) {
1397
1397
  c.delete(e.id), e.memory.items = [], e.memory.records.clear(), e.memory.storedIds.clear(), e.memory.recoveries.clear(), B(e), e.messages.value = [], e.loaded = !0, e.failure.value = null, e.failedPrompt.value = null, e.failedAttachments.value = [], E(e) && c.set(e.id, e.memory);
1398
1398
  } catch (t) {
1399
1399
  if (!E(e)) return;
1400
- K(t), e.failure.value = {
1401
- error: Jr(t),
1400
+ q(t), e.failure.value = {
1401
+ error: Yr(t),
1402
1402
  context: "history"
1403
1403
  };
1404
1404
  }
1405
1405
  }, () => {}));
1406
1406
  }
1407
- function xe(e) {
1408
- E(e) && ve(e);
1407
+ function ge(e) {
1408
+ E(e) && me(e);
1409
1409
  }
1410
- function Se(t) {
1410
+ function _e(t) {
1411
1411
  let n = T();
1412
- n && E(n) && (s.value !== t && n.busy.value && De(), s.value = t, e.commentsOpen && (e.commentsOpen.value = !1), t === "chat" && xe(n));
1412
+ n && E(n) && (s.value !== t && n.busy.value && xe(), s.value = t, e.commentsOpen && (e.commentsOpen.value = !1), t === "chat" && ge(n));
1413
1413
  }
1414
- function we(e) {
1415
- e.length !== 0 && w("chatAttachments") && (z.value = [...e], Se("chat"));
1414
+ function ve(e) {
1415
+ e.length !== 0 && w("chatAttachments") && (z.value = [...e], _e("chat"));
1416
1416
  }
1417
- function Te(e) {
1417
+ function ye(e) {
1418
1418
  e.active?.controller.abort();
1419
1419
  for (let t of e.queue) t.kind !== "reconcile" && t.controller.abort();
1420
1420
  }
1421
- function Ee(e) {
1422
- e.lifetime.abort(), Te(e), e.busy.value = !1, e.isLoadingHistory.value = !1;
1421
+ function be(e) {
1422
+ e.lifetime.abort(), ye(e), e.busy.value = !1, e.isLoadingHistory.value = !1;
1423
1423
  for (let t of e.timers) clearTimeout(t);
1424
1424
  e.timers.clear();
1425
1425
  }
1426
- function De() {
1426
+ function xe() {
1427
1427
  let e = T();
1428
- e && Te(e);
1428
+ e && ye(e);
1429
1429
  }
1430
- function Oe() {
1431
- De(), s.value = null;
1430
+ function Ce() {
1431
+ xe(), s.value = null;
1432
1432
  }
1433
- function ke() {
1433
+ function Te() {
1434
1434
  if (l) return;
1435
1435
  p?.();
1436
1436
  let e = f === 0, n = () => t(r.content, () => {
@@ -1442,31 +1442,31 @@ function Qr(e) {
1442
1442
  });
1443
1443
  p = m?.active ? m.run(n) : n();
1444
1444
  }
1445
- ke();
1446
- let je = [() => p?.(), t(() => r.state.isDirty, (e, t) => {
1445
+ Te();
1446
+ let Ee = [() => p?.(), t(() => r.state.isDirty, (e, t) => {
1447
1447
  t === !0 && e === !1 && r.state.isSaving && (I.value = !1);
1448
1448
  }, { flush: "sync" })];
1449
- e.commentsOpen && je.push(t(e.commentsOpen, (e) => {
1450
- e && Oe();
1451
- })), je.push(t(() => r.loadVersion?.value ?? g.value, () => {
1449
+ e.commentsOpen && Ee.push(t(e.commentsOpen, (e) => {
1450
+ e && Ce();
1451
+ })), Ee.push(t(() => r.loadVersion?.value ?? g.value, () => {
1452
1452
  if (l) return;
1453
1453
  let e = _.value;
1454
1454
  if (e?.committingReload && E(e)) {
1455
1455
  e.committingReload = !1;
1456
1456
  return;
1457
1457
  }
1458
- e && Ee(e);
1458
+ e && be(e);
1459
1459
  let t = g.value, n = t === null ? null : h(t);
1460
- _.value = n, n && s.value === "chat" && xe(n);
1460
+ _.value = n, n && s.value === "chat" && ge(n);
1461
1461
  }, { flush: "sync" }));
1462
- async function Me(t, a) {
1462
+ async function De(t, a) {
1463
1463
  let s = b, c = T(), l = n.altText, u = new AbortController(), d = () => u.abort(a?.reason), f = () => u.abort();
1464
1464
  try {
1465
- if (a?.throwIfAborted(), !c || typeof l != "function") throw new Z("This AI feature isn't available.", 403, "feature_unavailable");
1466
- let n = N(r.content.value), p = r.activeLocale?.value ?? null, m = q(n, p ?? Q(n)), h = Jn(m, t);
1467
- if (!h) throw new Z("The image is no longer available.", 409, "block_missing");
1465
+ if (a?.throwIfAborted(), !c || typeof l != "function") throw new Q("This AI feature isn't available.", 403, "feature_unavailable");
1466
+ let n = N(r.content.value), p = r.activeLocale?.value ?? null, m = Fe(n, p ?? Z(n)), h = xn(m, t);
1467
+ if (!h) throw new Q("The image is no longer available.", 409, "block_missing");
1468
1468
  a?.addEventListener("abort", d, { once: !0 }), c.lifetime.signal.addEventListener("abort", f, { once: !0 });
1469
- let { url: g, ..._ } = h, v = await U(l({
1469
+ let { url: g, ..._ } = h, v = await W(l({
1470
1470
  templateId: c.id,
1471
1471
  sessionId: i ? i.core.sessionId : o,
1472
1472
  blockId: t,
@@ -1478,18 +1478,18 @@ function Qr(e) {
1478
1478
  if (u.signal.throwIfAborted(), C(s), !E(c)) throw new DOMException("The template changed.", "AbortError");
1479
1479
  return v.alt;
1480
1480
  } catch (e) {
1481
- throw K(e), e;
1481
+ throw q(e), e;
1482
1482
  } finally {
1483
1483
  a?.removeEventListener("abort", d), c?.lifetime.signal.removeEventListener("abort", f);
1484
1484
  }
1485
1485
  }
1486
- function Ne(e) {
1486
+ function Ae(e) {
1487
1487
  let t = b, n = T();
1488
1488
  if (!n || e.length === 0) return Promise.resolve();
1489
- let i = r.activeLocale?.value ?? null, a = N(r.content.value), o = q(a, i ?? Q(a)), s = e.map(({ blockId: e, alt: t, decorative: n, expect: r }) => ({
1489
+ let i = r.activeLocale?.value ?? null, a = N(r.content.value), o = Fe(a, i ?? Z(a)), s = e.map(({ blockId: e, alt: t, decorative: n, expect: r }) => ({
1490
1490
  op: "updateBlock",
1491
1491
  blockId: e,
1492
- expect: { ...r ?? qn(o, e) ?? {
1492
+ expect: { ...r ?? bn(o, e) ?? {
1493
1493
  src: null,
1494
1494
  alt: null,
1495
1495
  decorative: null
@@ -1501,31 +1501,31 @@ function Qr(e) {
1501
1501
  }));
1502
1502
  return V("replay", n, async (e) => {
1503
1503
  try {
1504
- H(e), C(t);
1504
+ U(e), C(t);
1505
1505
  let r = crypto.randomUUID();
1506
1506
  for (let t = 0; t < s.length; t += 100) {
1507
- H(e);
1508
- let a = oe(s.slice(t, t + 100), r, n, i);
1509
- if (!a.applied) throw new de(a.message, {
1507
+ U(e);
1508
+ let a = ae(s.slice(t, t + 100), r, n, i);
1509
+ if (!a.applied) throw new Pe(a.message, {
1510
1510
  code: a.code,
1511
1511
  opIndex: a.opIndex
1512
1512
  });
1513
1513
  }
1514
1514
  } catch (e) {
1515
- throw K(e), e;
1515
+ throw q(e), e;
1516
1516
  }
1517
1517
  }, () => {});
1518
1518
  }
1519
1519
  return {
1520
1520
  capability: {
1521
1521
  isFeatureEnabled: (e) => v.value && w(e),
1522
- open: Se,
1523
- startImport: we,
1522
+ open: _e,
1523
+ startImport: ve,
1524
1524
  highlightOf: (e) => _.value?.highlights.value.get(e) ?? null
1525
1525
  },
1526
1526
  panel: s,
1527
- open: Se,
1528
- close: Oe,
1527
+ open: _e,
1528
+ close: Ce,
1529
1529
  has: w,
1530
1530
  templateId: g,
1531
1531
  sessionIdentity: y(() => _.value),
@@ -1541,12 +1541,12 @@ function Qr(e) {
1541
1541
  keptYourVersion: I,
1542
1542
  reloadTemplate: () => {
1543
1543
  let e = T();
1544
- return e ? V("reconcile", e, (e) => W(e), () => {}) : Promise.resolve();
1544
+ return e ? V("reconcile", e, (e) => G(e), () => {}) : Promise.resolve();
1545
1545
  },
1546
1546
  failedPrompt: L,
1547
1547
  failedAttachments: R,
1548
1548
  importQueue: z,
1549
- startImport: we,
1549
+ startImport: ve,
1550
1550
  isTemplateEmpty: k,
1551
1551
  send: (e, t = []) => {
1552
1552
  let r = n.chat;
@@ -1578,26 +1578,26 @@ function Qr(e) {
1578
1578
  failed: !0
1579
1579
  });
1580
1580
  },
1581
- stop: De,
1582
- newChat: ye,
1583
- undoMessage: (e) => fe(e, "undo"),
1584
- redoMessage: (e) => fe(e, "redo"),
1581
+ stop: xe,
1582
+ newChat: he,
1583
+ undoMessage: (e) => de(e, "undo"),
1584
+ redoMessage: (e) => de(e, "redo"),
1585
1585
  rewrite: (e, t, r) => {
1586
1586
  let i = b, a = T(), o = n.rewrite;
1587
1587
  return !a || typeof o != "function" ? Promise.reject(/* @__PURE__ */ Error("Rewrite isn't available.")) : V("read", a, async (n) => {
1588
1588
  let s = () => n.controller.abort(r.reason);
1589
1589
  r.addEventListener("abort", s, { once: !0 });
1590
1590
  try {
1591
- r.throwIfAborted(), H(n), C(i);
1592
- let s = await U(o({
1591
+ r.throwIfAborted(), U(n), C(i);
1592
+ let s = await W(o({
1593
1593
  ...ne(a.id),
1594
1594
  ...e
1595
1595
  }, { onText: (e) => {
1596
- H(n), C(i), t(e);
1596
+ U(n), C(i), t(e);
1597
1597
  } }, n.controller.signal), n.controller.signal);
1598
1598
  return C(i), s;
1599
1599
  } catch (e) {
1600
- throw K(e), e;
1600
+ throw q(e), e;
1601
1601
  } finally {
1602
1602
  r.removeEventListener("abort", s);
1603
1603
  }
@@ -1605,69 +1605,69 @@ function Qr(e) {
1605
1605
  throw new DOMException("Rewrite stopped.", "AbortError");
1606
1606
  });
1607
1607
  },
1608
- draftAltText: Me,
1609
- applyAltTexts: Ne,
1608
+ draftAltText: De,
1609
+ applyAltTexts: Ae,
1610
1610
  destroy: () => {
1611
1611
  if (l) return;
1612
1612
  l = !0;
1613
1613
  let e = _.value;
1614
- e && Ee(e), _.value = null, x();
1615
- for (let e of je) e();
1616
- je.length = 0;
1614
+ e && be(e), _.value = null, x();
1615
+ for (let e of Ee) e();
1616
+ Ee.length = 0;
1617
1617
  }
1618
1618
  };
1619
1619
  }
1620
1620
  // src/utils/aiMergeTags.ts
1621
- var $r = {
1621
+ var ei = {
1622
1622
  tags: 500,
1623
1623
  value: 200,
1624
1624
  label: 100,
1625
1625
  group: 100,
1626
1626
  description: 200
1627
1627
  };
1628
- function ei(e, t) {
1628
+ function ti(e, t) {
1629
1629
  let n = Array.from(e);
1630
1630
  return n.length > t ? n.slice(0, t).join("") : e;
1631
1631
  }
1632
- function ti(e) {
1633
- return G(e) ?? "custom";
1632
+ function ni(e) {
1633
+ return je(e) ?? "custom";
1634
1634
  }
1635
- function ni(e, t) {
1635
+ function ri(e, t) {
1636
1636
  let n = [];
1637
1637
  for (let t of e) {
1638
- if (n.length === $r.tags) break;
1638
+ if (n.length === ei.tags) break;
1639
1639
  let e = typeof t?.value == "string" ? t.value : "";
1640
- if (e === "" || Array.from(e).length > $r.value) continue;
1640
+ if (e === "" || Array.from(e).length > ei.value) continue;
1641
1641
  let r = typeof t.label == "string" && t.label !== "" ? t.label : e;
1642
1642
  n.push({
1643
1643
  value: e,
1644
- label: ei(r, $r.label),
1645
- ...typeof t.group == "string" && t.group !== "" ? { group: ei(t.group, $r.group) } : {},
1646
- ...typeof t.description == "string" && t.description !== "" ? { description: ei(t.description, $r.description) } : {}
1644
+ label: ti(r, ei.label),
1645
+ ...typeof t.group == "string" && t.group !== "" ? { group: ti(t.group, ei.group) } : {},
1646
+ ...typeof t.description == "string" && t.description !== "" ? { description: ti(t.description, ei.description) } : {}
1647
1647
  });
1648
1648
  }
1649
1649
  return {
1650
- syntax: ti(t),
1650
+ syntax: ni(t),
1651
1651
  tags: n
1652
1652
  };
1653
1653
  }
1654
1654
  // src/composables/useMediaFeature.ts
1655
- function ri(e) {
1655
+ function ii(e) {
1656
1656
  return e instanceof Error ? e : Error(String(e));
1657
1657
  }
1658
- function ii(e, t, n) {
1658
+ function ai(e, t, n) {
1659
1659
  let r = e.maxFileSize ?? Infinity;
1660
1660
  if (t.size > r) return /* @__PURE__ */ Error(`Image is too large (${t.size} bytes). Maximum allowed is ${r} bytes.`);
1661
1661
  let i = e.mimeTypes;
1662
1662
  return !i || (n && n.length > 0 ? n : Object.keys(i)).some((e) => i[e]?.includes(t.type) ?? !1) ? null : /* @__PURE__ */ Error(`Unsupported image type: ${t.type || "unknown"}.`);
1663
1663
  }
1664
- function ai(e) {
1664
+ function oi(e) {
1665
1665
  let { provider: t, onRequestMedia: n, getTemplateId: r, onError: i } = e, a = S(!1), o = S(void 0), s = y(() => r?.()), c = y(() => !!n || typeof t?.create == "function"), l = null;
1666
1666
  function u(e) {
1667
1667
  a.value = !1, l?.(e), l = null;
1668
1668
  }
1669
1669
  function d(e) {
1670
- u(oi(e));
1670
+ u(si(e));
1671
1671
  }
1672
1672
  function f() {
1673
1673
  u(null);
@@ -1680,7 +1680,7 @@ function ai(e) {
1680
1680
  if (!t) return null;
1681
1681
  if (e?.files?.length) {
1682
1682
  if (typeof t.create != "function") return null;
1683
- let n = e.files[0], a = ii(t, n, e.accept);
1683
+ let n = e.files[0], a = ai(t, n, e.accept);
1684
1684
  if (a) return i?.(a), null;
1685
1685
  let o = r?.();
1686
1686
  try {
@@ -1691,11 +1691,11 @@ function ai(e) {
1691
1691
  try {
1692
1692
  t.onCreated?.(e);
1693
1693
  } catch (e) {
1694
- i?.(ri(e));
1694
+ i?.(ii(e));
1695
1695
  }
1696
- return oi(e);
1696
+ return si(e);
1697
1697
  } catch (e) {
1698
- return i?.(ri(e)), null;
1698
+ return i?.(ii(e)), null;
1699
1699
  }
1700
1700
  }
1701
1701
  return l &&= (l(null), null), o.value = e?.accept, a.value = !0, new Promise((e) => {
@@ -1711,8 +1711,8 @@ function ai(e) {
1711
1711
  onError: i
1712
1712
  };
1713
1713
  }
1714
- function oi(e) {
1715
- let t = Pe(e.width, e.height);
1714
+ function si(e) {
1715
+ let t = re(e.width, e.height);
1716
1716
  return {
1717
1717
  url: e.url,
1718
1718
  alt: e.alt,
@@ -1723,8 +1723,8 @@ function oi(e) {
1723
1723
  };
1724
1724
  }
1725
1725
  // src/composables/useSavedBlocksFeature.ts
1726
- function si(e) {
1727
- let { provider: n, editor: r } = e, i = Ne({
1726
+ function ci(e) {
1727
+ let { provider: n, editor: r } = e, i = ne({
1728
1728
  provider: n,
1729
1729
  onError: e.onError
1730
1730
  }), a = S(!1), o = S(!1), s = S(!1), c = S(/* @__PURE__ */ new Set()), u = y(() => s.value), d = y(() => c.value.size);
@@ -1759,7 +1759,7 @@ function si(e) {
1759
1759
  }
1760
1760
  function x(e, t) {
1761
1761
  for (let n = 0; n < e.content.length; n++) {
1762
- let i = ne(e.content[n]), a = t === void 0 ? void 0 : t + n;
1762
+ let i = ce(e.content[n]), a = t === void 0 ? void 0 : t + n;
1763
1763
  r.addBlock(i, void 0, void 0, a);
1764
1764
  }
1765
1765
  o.value = !1;
@@ -1768,7 +1768,7 @@ function si(e) {
1768
1768
  i.load().catch(() => {});
1769
1769
  }
1770
1770
  let w = y(() => i.savedBlocks.value.length), T = y(() => e.isAvailable?.() ?? !0);
1771
- return l(en, i), {
1771
+ return l(tt, i), {
1772
1772
  headless: i,
1773
1773
  isPicking: u,
1774
1774
  pickedIds: c,
@@ -1804,11 +1804,11 @@ function si(e) {
1804
1804
  };
1805
1805
  }
1806
1806
  // src/composables/useTemplatesFeature.ts
1807
- var ci = 3e3;
1808
- function li(e) {
1809
- let { provider: t, editor: n } = e, r = S("idle"), i = S(""), { start: a, stop: o } = Nn(() => {
1807
+ var li = 3e3;
1808
+ function ui(e) {
1809
+ let { provider: t, editor: n } = e, r = S("idle"), i = S(""), { start: a, stop: o } = Un(() => {
1810
1810
  r.value = "idle";
1811
- }, ci, { immediate: !1 }), s = y(() => typeof t.create == "function"), c = y(() => typeof t.save == "function"), l = y(() => e.isAvailable?.() ?? !0), u = y(() => n.state.template?.name), d = y(() => {
1811
+ }, li, { immediate: !1 }), s = y(() => typeof t.create == "function"), c = y(() => typeof t.save == "function"), l = y(() => e.isAvailable?.() ?? !0), u = y(() => n.state.template?.name), d = y(() => {
1812
1812
  let e = n.state.template;
1813
1813
  return e?.updatedAt ? {
1814
1814
  iso: e.updatedAt,
@@ -1872,7 +1872,7 @@ function li(e) {
1872
1872
  let t = e.trim();
1873
1873
  t && t !== n.state.template?.name && (n.setName(t), w("rename"));
1874
1874
  }
1875
- return e.guardUnsavedChanges !== !1 && In(window, "beforeunload", (e) => {
1875
+ return e.guardUnsavedChanges !== !1 && Dn(window, "beforeunload", (e) => {
1876
1876
  n.state.isDirty && (e.preventDefault(), e.returnValue = "");
1877
1877
  }), {
1878
1878
  save: g,
@@ -1906,15 +1906,15 @@ function li(e) {
1906
1906
  };
1907
1907
  }
1908
1908
  // src/utils/toMjml.ts
1909
- async function ui() {
1909
+ async function di() {
1910
1910
  try {
1911
1911
  return await import("@templatical/renderer");
1912
1912
  } catch {
1913
1913
  return null;
1914
1914
  }
1915
1915
  }
1916
- async function di(e, t) {
1917
- let n = await ui();
1916
+ async function fi(e, t) {
1917
+ let n = await di();
1918
1918
  if (!n) throw Error("[Templatical] toMjml() requires the @templatical/renderer package. Please install it.");
1919
1919
  let r = e.getCustomBlockStylesheet, i = e.getFonts?.(), a = e.getLayout?.();
1920
1920
  return n.renderToMjml(e.getContent(), {
@@ -1930,11 +1930,11 @@ async function di(e, t) {
1930
1930
  });
1931
1931
  }
1932
1932
  // src/composables/useTestEmailFeature.ts
1933
- var fi = 1200;
1934
- function pi(e) {
1933
+ var pi = 1200;
1934
+ function mi(e) {
1935
1935
  return e instanceof Error ? e : Error(String(e));
1936
1936
  }
1937
- function mi(e) {
1937
+ function hi(e) {
1938
1938
  let { provider: t } = e, n = S(!1), r = S(!1), i = S(!1), a = S(null), o = null, s = !1;
1939
1939
  function c() {
1940
1940
  o !== null && (clearTimeout(o), o = null);
@@ -1956,8 +1956,8 @@ function mi(e) {
1956
1956
  if (t.includeMjml && e.renderMjml) try {
1957
1957
  return await e.renderMjml();
1958
1958
  } catch (t) {
1959
- if ((e.usesLocalRenderer?.() ?? !0) && await ui() === null) {
1960
- s || (s = !0, Ln.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1959
+ if ((e.usesLocalRenderer?.() ?? !0) && await di() === null) {
1960
+ s || (s = !0, On.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
1961
1961
  return;
1962
1962
  }
1963
1963
  throw t;
@@ -1967,7 +1967,7 @@ function mi(e) {
1967
1967
  try {
1968
1968
  t.onSent?.(n);
1969
1969
  } catch (t) {
1970
- e.onError?.(pi(t));
1970
+ e.onError?.(mi(t));
1971
1971
  }
1972
1972
  }
1973
1973
  async function g(n) {
@@ -1983,9 +1983,9 @@ function mi(e) {
1983
1983
  ...r === void 0 ? {} : { mjml: r },
1984
1984
  ...s === void 0 ? {} : { allowedRecipients: s }
1985
1985
  };
1986
- await t.send(a), i.value = !0, o = setTimeout(p, fi), h(a);
1986
+ await t.send(a), i.value = !0, o = setTimeout(p, pi), h(a);
1987
1987
  } catch (t) {
1988
- let n = pi(t);
1988
+ let n = mi(t);
1989
1989
  a.value = {
1990
1990
  kind: "provider",
1991
1991
  message: n.message
@@ -2013,8 +2013,8 @@ function mi(e) {
2013
2013
  };
2014
2014
  }
2015
2015
  // src/composables/useVersionHistoryFeature.ts
2016
- function hi(e) {
2017
- let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = e.collaboration ?? null, s = Ee({
2016
+ function gi(e) {
2017
+ let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = e.collaboration ?? null, s = G({
2018
2018
  provider: t,
2019
2019
  getTemplateId: () => n.state.template?.id ?? null,
2020
2020
  onError: e.onError
@@ -2040,7 +2040,7 @@ function hi(e) {
2040
2040
  return;
2041
2041
  }
2042
2042
  let t = await s.resolveContent(e);
2043
- f || (l.value = be(n.content.value), a?.pause(), o?.suspend(), c.value = e, n.setContent(t, !1));
2043
+ f || (l.value = we(n.content.value), a?.pause(), o?.suspend(), c.value = e, n.setContent(t, !1));
2044
2044
  }
2045
2045
  async function O() {
2046
2046
  c.value && (n.state.isDirty ? u.value = !0 : await M());
@@ -2124,11 +2124,11 @@ function hi(e) {
2124
2124
  };
2125
2125
  }
2126
2126
  // src/types/auto-save.ts
2127
- function gi(e, t) {
2127
+ function _i(e, t) {
2128
2128
  return e ?? t;
2129
2129
  }
2130
2130
  // src/utils/resolveInsertPosition.ts
2131
- function _i(e) {
2131
+ function vi(e) {
2132
2132
  let { blockType: t, selectedBlockId: n, findBlockLocation: r, isBlockLocked: i } = e;
2133
2133
  if (!n) return {};
2134
2134
  let a = r(n);
@@ -2145,8 +2145,8 @@ function _i(e) {
2145
2145
  };
2146
2146
  }
2147
2147
  // src/utils/insertBlockAtSelection.ts
2148
- function vi(e, t) {
2149
- let { targetSectionId: n, columnIndex: r, index: i } = _i({
2148
+ function yi(e, t) {
2149
+ let { targetSectionId: n, columnIndex: r, index: i } = vi({
2150
2150
  blockType: t.type,
2151
2151
  selectedBlockId: e.state.selectedBlockId,
2152
2152
  findBlockLocation: e.findBlockLocation,
@@ -2155,7 +2155,7 @@ function vi(e, t) {
2155
2155
  return e.addBlock(t, n, r, i), e.findBlockLocation(t.id) ? (e.selectBlock(t.id), !0) : !1;
2156
2156
  }
2157
2157
  // src/utils/withCollaborativeSave.ts
2158
- function yi(e, t, n) {
2158
+ function bi(e, t, n) {
2159
2159
  let { save: r, create: i } = e;
2160
2160
  if (typeof r != "function") return e;
2161
2161
  let a = /* @__PURE__ */ new Map(), o = (e) => (a.set(e.id, e.name), e);
@@ -2171,27 +2171,27 @@ function yi(e, t, n) {
2171
2171
  };
2172
2172
  }
2173
2173
  // src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
2174
- var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2174
+ var xi = ["aria-label"], Si = ["lang", "dir"], Ci = {
2175
2175
  key: 0,
2176
2176
  role: "status",
2177
2177
  "aria-busy": "true",
2178
2178
  "data-testid": "preview-resolution-loading",
2179
2179
  class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-6"
2180
- }, Ci = { class: "tpl:sr-only" }, wi = {
2180
+ }, wi = { class: "tpl:sr-only" }, Ti = {
2181
2181
  key: 1,
2182
2182
  role: "status",
2183
2183
  "data-testid": "preview-resolution-failed",
2184
2184
  class: "tpl:mx-6 tpl:mt-4 tpl:rounded-md tpl:px-3 tpl:py-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg-hover)]"
2185
- }, Ti = {
2185
+ }, Ei = {
2186
2186
  key: 0,
2187
2187
  class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
2188
- }, Ei = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, Di = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, Oi = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, ki = {
2188
+ }, Di = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, Oi = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, ki = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, Ai = {
2189
2189
  key: 0,
2190
2190
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-center tpl:gap-x-1 tpl:gap-y-0.5 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
2191
- }, Ai = {
2191
+ }, ji = {
2192
2192
  key: 1,
2193
2193
  class: "tpl:m-0 tpl:mt-4 tpl:flex tpl:flex-wrap tpl:items-center tpl:justify-center tpl:gap-x-1 tpl:gap-y-0.5 tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
2194
- }, ji = { class: "tpl:relative" }, Mi = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2194
+ }, Mi = { class: "tpl:relative" }, Ni = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2195
2195
  __name: "Canvas",
2196
2196
  props: {
2197
2197
  viewport: {},
@@ -2203,25 +2203,25 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2203
2203
  emits: ["select-block"],
2204
2204
  setup(e, { emit: t }) {
2205
2205
  let r = {
2206
- section: ht,
2207
- title: nt,
2208
- paragraph: ut,
2209
- image: it,
2210
- button: yt,
2211
- divider: vt,
2212
- spacer: $e,
2213
- html: Qe,
2214
- social: ft,
2215
- menu: at,
2216
- table: ot,
2217
- video: mt,
2218
- custom: bt,
2219
- wrapper: Yn
2220
- }, i = e, u = t, { t: p } = $(), m = _n(bn, "Canvas"), { displayBlock: _, settings: T } = Sn({
2206
+ section: cn,
2207
+ title: Jt,
2208
+ paragraph: nn,
2209
+ image: Xt,
2210
+ button: fn,
2211
+ divider: dn,
2212
+ spacer: Gt,
2213
+ html: Wt,
2214
+ social: an,
2215
+ menu: Zt,
2216
+ table: Qt,
2217
+ video: sn,
2218
+ custom: pn,
2219
+ wrapper: Mn
2220
+ }, i = e, u = t, { t: p } = $(), m = ot(xt, "Canvas"), { displayBlock: _, settings: T } = Ue({
2221
2221
  content: y(() => i.content),
2222
2222
  activeLocale: y(() => i.previewMode ? null : m.activeLocale?.value ?? null)
2223
- }), E = _n(rn, "Canvas"), D = L(pn, null), k = L(fn, null), A = L(on, {}), j = L($t, null), N = L(Jt, null);
2224
- l(hn, y(() => i.previewMode && (j?.value ?? !1) && !N?.isConfigured));
2223
+ }), E = ot(it, "Canvas"), D = L(mt, null), k = L(pt, null), A = L(st, {}), j = L($e, null), N = L(Ye, null);
2224
+ l(et, y(() => i.previewMode)), l(vt, y(() => i.previewMode && (j?.value ?? !1) && !N?.isConfigured));
2225
2225
  let P = y(() => A.ai?.isFeatureEnabled("chat") ?? !1), I = y(() => P.value && (A.ai?.isFeatureEnabled("chatAttachments") ?? !1)), R = S(null);
2226
2226
  function z() {
2227
2227
  R.value?.click();
@@ -2230,39 +2230,41 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2230
2230
  let t = e.target, n = Array.from(t.files ?? []);
2231
2231
  t.value = "", n.length && A.ai?.startImport(n);
2232
2232
  }
2233
- let V = L(tn, null), H = y({
2233
+ let V = L(nt, null), U = y({
2234
2234
  get: () => i.content.blocks,
2235
- set: (e) => pt(m, e)
2236
- }), U = y(() => Re(T.value, i.viewport)), W = y(() => U.value + 192), G = y(() => He(T.value, E.resolveFontFamily)), K = y(() => T.value?.locale?.trim() || void 0), q = y(() => te(T.value)), J = y(() => H.value.length === 0 && !i.previewMode), Y = S(0), ne = y(() => J.value && Y.value > 0);
2237
- function re() {
2235
+ set: (e) => {
2236
+ i.previewMode || on(m, e);
2237
+ }
2238
+ }), W = y(() => se(T.value, i.viewport)), G = y(() => W.value + 192), ee = y(() => Pt(T.value, E.resolveFontFamily)), K = y(() => T.value?.locale?.trim() || void 0), q = y(() => pe(T.value)), J = y(() => U.value.length === 0 && !i.previewMode), Y = S(0), te = y(() => J.value && Y.value > 0);
2239
+ function ne() {
2238
2240
  J.value && (Y.value += 1);
2239
2241
  }
2240
- function ie() {
2242
+ function re() {
2241
2243
  J.value && (Y.value = Math.max(0, Y.value - 1));
2242
2244
  }
2243
- function ae() {
2245
+ function ie() {
2244
2246
  Y.value = 0;
2245
2247
  }
2246
2248
  function oe(e) {
2247
2249
  i.previewMode || A.savedBlocks?.isPicking.value || e.target === e.currentTarget && u("select-block", null);
2248
2250
  }
2249
- function se(e) {
2250
- return ct(e, k, r);
2251
+ function ce(e) {
2252
+ return en(e, k, r);
2251
2253
  }
2252
- function X(e) {
2254
+ function le(e) {
2253
2255
  return A.collaboration?.lockOf(e) != null;
2254
2256
  }
2255
- function ce(e) {
2256
- if (i.previewMode || X(e)) return;
2257
+ function ue(e) {
2258
+ if (i.previewMode || le(e)) return;
2257
2259
  let t = A.savedBlocks;
2258
2260
  t?.isPicking.value ? t.togglePick(e) : u("select-block", e);
2259
2261
  }
2260
- function le(e) {
2262
+ function de(e) {
2261
2263
  return A.savedBlocks?.isPicked(e) ?? !1;
2262
2264
  }
2263
- let ue = y(() => A.savedBlocks?.isPicking.value === !0);
2264
- function Z(e, t) {
2265
- e.type === "custom" && m.updateBlock(e.id, {
2265
+ let fe = y(() => A.savedBlocks?.isPicking.value === !0);
2266
+ function X(e, t) {
2267
+ i.previewMode || e.type !== "custom" || m.updateBlock(e.id, {
2266
2268
  fieldValues: t.fieldValues,
2267
2269
  dataSourceFetched: t.dataSourceFetched
2268
2270
  });
@@ -2270,11 +2272,11 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2270
2272
  return (t, r) => (s(), C("div", {
2271
2273
  class: "tpl-canvas-stage tpl:relative tpl:mx-auto tpl:flex tpl:justify-center tpl:rounded-lg",
2272
2274
  style: f({
2273
- width: `${W.value}px`,
2275
+ width: `${G.value}px`,
2274
2276
  maxWidth: "calc(100% - 4 * var(--tpl-base-size))",
2275
2277
  minWidth: "min-content",
2276
2278
  boxShadow: e.darkMode ? "none" : "var(--tpl-shadow-xl)",
2277
- transition: b(Ie)
2279
+ transition: b(ae)
2278
2280
  })
2279
2281
  }, [O("div", {
2280
2282
  class: "tpl-canvas-bg tpl:absolute tpl:inset-0 tpl:rounded-lg tpl:pointer-events-none",
@@ -2289,9 +2291,9 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2289
2291
  "aria-label": b(p).landmarks.canvas,
2290
2292
  class: "tpl-canvas-wrapper tpl:relative",
2291
2293
  style: f({
2292
- width: `${U.value}px`,
2293
- [b(Xe)]: `${U.value}px`,
2294
- transition: b(Ie)
2294
+ width: `${W.value}px`,
2295
+ [b(Ht)]: `${W.value}px`,
2296
+ transition: b(ae)
2295
2297
  })
2296
2298
  }, [O("div", {
2297
2299
  class: c(["tpl-canvas tpl:relative tpl:rounded-lg", {
@@ -2300,15 +2302,15 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2300
2302
  }]),
2301
2303
  lang: K.value,
2302
2304
  dir: q.value,
2303
- style: f(G.value),
2305
+ style: f(ee.value),
2304
2306
  onClick: oe
2305
- }, [b(N)?.isInitialResolve.value ? (s(), C("div", Si, [O("span", Ci, a(b(p).previewResolution.resolving), 1), (s(), C(M, null, d(3, (e) => O("div", {
2307
+ }, [b(N)?.isInitialResolve.value ? (s(), C("div", Ci, [O("span", wi, a(b(p).previewResolution.resolving), 1), (s(), C(M, null, d(3, (e) => O("div", {
2306
2308
  key: e,
2307
2309
  "aria-hidden": "true",
2308
2310
  class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
2309
- })), 64))])) : b(N)?.hasFailed.value ? (s(), C("p", wi, a(b(p).previewResolution.failed), 1)) : x("", !0), g(v(b(tt), {
2310
- modelValue: H.value,
2311
- "onUpdate:modelValue": r[1] ||= (e) => H.value = e,
2311
+ })), 64))])) : b(N)?.hasFailed.value ? (s(), C("p", Ti, a(b(p).previewResolution.failed), 1)) : x("", !0), g(v(b(qt), {
2312
+ modelValue: U.value,
2313
+ "onUpdate:modelValue": r[1] ||= (e) => U.value = e,
2312
2314
  group: "blocks",
2313
2315
  animation: 150,
2314
2316
  "ghost-class": "tpl-ghost",
@@ -2322,43 +2324,43 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2322
2324
  class: c([
2323
2325
  "tpl-canvas-blocks",
2324
2326
  J.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" : "",
2325
- J.value && ne.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
2326
- J.value && !ne.value ? "tpl:border-[var(--tpl-primary)]" : ""
2327
+ J.value && te.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
2328
+ J.value && !te.value ? "tpl:border-[var(--tpl-primary)]" : ""
2327
2329
  ]),
2328
- onUpdate: r[2] ||= (e) => b(pt)(b(m), H.value, void 0, 0, e),
2329
- onDragenter: re,
2330
- onDragleave: ie,
2331
- onDrop: ae
2330
+ onUpdate: r[2] ||= (t) => !e.previewMode && b(on)(b(m), U.value, void 0, 0, t),
2331
+ onDragenter: ne,
2332
+ onDragleave: re,
2333
+ onDrop: ie
2332
2334
  }, {
2333
- default: h(() => [J.value ? (s(), C("div", Ti, [
2334
- O("div", Ei, [v(b(ur), {
2335
+ default: h(() => [J.value ? (s(), C("div", Ei, [
2336
+ O("div", Di, [v(b(dr), {
2335
2337
  size: 48,
2336
2338
  "stroke-width": 1
2337
2339
  })]),
2338
- O("p", Di, a(b(p).canvas.noBlocks), 1),
2339
- O("p", Oi, a(b(p).canvas.dragHint), 1),
2340
- P.value ? (s(), C("p", ki, [
2340
+ O("p", Oi, a(b(p).canvas.noBlocks), 1),
2341
+ O("p", ki, a(b(p).canvas.dragHint), 1),
2342
+ P.value ? (s(), C("p", Ai, [
2341
2343
  w(a(b(p).ai.canvas.chatHint) + " ", 1),
2342
2344
  O("button", {
2343
2345
  type: "button",
2344
2346
  "data-testid": "canvas-ai-chat",
2345
2347
  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)]",
2346
2348
  onClick: r[0] ||= (e) => b(A).ai?.open("chat")
2347
- }, [v(b(Bt), {
2349
+ }, [v(b(jn), {
2348
2350
  size: 14,
2349
2351
  "stroke-width": 2,
2350
2352
  "aria-hidden": "true"
2351
2353
  }), w(" " + a(b(p).ai.menu.chat), 1)]),
2352
2354
  w(" " + a(b(p).ai.canvas.chatHintSuffix), 1)
2353
2355
  ])) : x("", !0),
2354
- I.value ? (s(), C("p", Ai, [
2356
+ I.value ? (s(), C("p", ji, [
2355
2357
  w(a(b(p).ai.canvas.importHint) + " ", 1),
2356
2358
  O("button", {
2357
2359
  type: "button",
2358
2360
  "data-testid": "canvas-ai-import",
2359
2361
  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)]",
2360
2362
  onClick: z
2361
- }, [v(b(ir), {
2363
+ }, [v(b(ar), {
2362
2364
  size: 14,
2363
2365
  "stroke-width": 2,
2364
2366
  "aria-hidden": "true"
@@ -2373,27 +2375,27 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2373
2375
  onChange: B
2374
2376
  }, null, 544)
2375
2377
  ])) : x("", !0)
2376
- ])) : x("", !0), (s(!0), C(M, null, d(H.value, (t) => g((s(), C("div", {
2378
+ ])) : x("", !0), (s(!0), C(M, null, d(U.value, (t) => g((s(), C("div", {
2377
2379
  key: t.id,
2378
2380
  class: "tpl-block-item"
2379
- }, [O("div", ji, [t.type === "wrapper" ? (s(), F(o(se(t)), {
2381
+ }, [O("div", Mi, [t.type === "wrapper" ? (s(), F(o(ce(t)), {
2380
2382
  key: 0,
2381
2383
  block: t,
2382
2384
  viewport: e.viewport
2383
- }, null, 8, ["block", "viewport"])) : (s(), F(rt, {
2385
+ }, null, 8, ["block", "viewport"])) : (s(), F(Yt, {
2384
2386
  key: 1,
2385
2387
  block: t,
2386
2388
  "display-block": b(_)(t),
2387
- "is-selected": !e.previewMode && !ue.value && e.selectedBlockId === t.id && !X(t.id),
2388
- picked: le(t.id),
2389
+ "is-selected": !e.previewMode && !fe.value && e.selectedBlockId === t.id && !le(t.id),
2390
+ picked: de(t.id),
2389
2391
  viewport: e.viewport,
2390
2392
  "preview-mode": e.previewMode,
2391
- onSelect: (e) => ce(t.id)
2393
+ onSelect: (e) => ue(t.id)
2392
2394
  }, {
2393
- default: h(() => [(s(), F(o(se(t)), n({ block: b(_)(t) }, { ref_for: !0 }, t.type === "section" ? { sourceBlock: t } : {}, {
2395
+ default: h(() => [(s(), F(o(ce(t)), n({ block: b(_)(t) }, { ref_for: !0 }, t.type === "section" ? { sourceBlock: t } : {}, {
2394
2396
  viewport: e.viewport,
2395
- onFetchData: (e) => Z(t, e),
2396
- onUpdate: (e) => b(m).updateBlock(t.id, e)
2397
+ onFetchData: (e) => X(t, e),
2398
+ onUpdate: (n) => !e.previewMode && b(m).updateBlock(t.id, n)
2397
2399
  }), null, 16, [
2398
2400
  "block",
2399
2401
  "viewport",
@@ -2409,18 +2411,18 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2409
2411
  "viewport",
2410
2412
  "preview-mode",
2411
2413
  "onSelect"
2412
- ]))])])), [[ee, b(V) === !1 || !b(D)?.isHidden(t.id)]])), 128))]),
2414
+ ]))])])), [[H, b(V) === !1 || !b(D)?.isHidden(t.id)]])), 128))]),
2413
2415
  _: 1
2414
2416
  }, 8, [
2415
2417
  "modelValue",
2416
2418
  "disabled",
2417
2419
  "class"
2418
- ]), [[ee, !b(N)?.isInitialResolve.value]])], 14, xi)], 12, bi)], 4));
2420
+ ]), [[H, !b(N)?.isInitialResolve.value]])], 14, Si)], 12, xi)], 4));
2419
2421
  }
2420
- }), [["__scopeId", "data-v-c72f1327"]]), Ni = R({
2422
+ }), [["__scopeId", "data-v-03a9d286"]]), Pi = R({
2421
2423
  name: "CustomBlockStylesheets",
2422
2424
  setup() {
2423
- let e = L(cn, null);
2425
+ let e = L(lt, null);
2424
2426
  return () => e ? e.value.map((e, t) => m("style", {
2425
2427
  key: t,
2426
2428
  "data-tpl-custom-block-stylesheet": "",
@@ -2429,7 +2431,7 @@ var bi = ["aria-label"], xi = ["lang", "dir"], Si = {
2429
2431
  }
2430
2432
  });
2431
2433
  // src/utils/resolvePaletteBlocks.ts
2432
- function Pi(e, t) {
2434
+ function Fi(e, t) {
2433
2435
  if (!t || t.length === 0) return {
2434
2436
  items: e,
2435
2437
  unknown: []
@@ -2447,24 +2449,24 @@ function Pi(e, t) {
2447
2449
  };
2448
2450
  }
2449
2451
  // src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
2450
- var Fi = ["aria-label"], Ii = {
2452
+ var Ii = ["aria-label"], Li = {
2451
2453
  key: 0,
2452
2454
  class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
2453
- }, Li = ["aria-label"], Ri = {
2455
+ }, Ri = ["aria-label"], zi = {
2454
2456
  key: 0,
2455
2457
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
2456
- }, zi = [
2458
+ }, Bi = [
2457
2459
  "data-palette-type",
2458
2460
  "aria-label",
2459
2461
  "onClick",
2460
2462
  "onKeydown"
2461
- ], Bi = { class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:transition-transform tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:scale-105" }, Vi = {
2463
+ ], Vi = { class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:transition-transform tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:scale-105" }, Hi = {
2462
2464
  key: 0,
2463
2465
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
2464
- }, Hi = 4, Ui = /* @__PURE__ */ R({
2466
+ }, Ui = 4, Wi = /* @__PURE__ */ R({
2465
2467
  __name: "Sidebar",
2466
2468
  setup(e) {
2467
- let { t: n, format: r } = $(), i = L(ln, []), c = L(Yt, void 0), l = L(an, void 0), u = L(bn, null), p = Mt(), m = L(on, {}), g = y(() => m.savedBlocks?.isAvailable.value === !0), w = S(!1), T = S(!1), E = S(null), D = !1, k = 0;
2469
+ let { t: n, format: r } = $(), i = L(ut, []), c = L(Xe, void 0), l = L(at, void 0), u = L(xt, null), p = En(), m = L(st, {}), g = y(() => m.savedBlocks?.isAvailable.value === !0), w = S(!1), T = S(!1), E = S(null), D = !1, k = 0;
2468
2470
  _(() => {
2469
2471
  window.clearTimeout(k);
2470
2472
  });
@@ -2505,7 +2507,7 @@ var Fi = ["aria-label"], Ii = {
2505
2507
  }
2506
2508
  let V = [
2507
2509
  "section",
2508
- lt,
2510
+ tn,
2509
2511
  "image",
2510
2512
  "title",
2511
2513
  "paragraph",
@@ -2517,41 +2519,41 @@ var Fi = ["aria-label"], Ii = {
2517
2519
  "table",
2518
2520
  "spacer",
2519
2521
  "html"
2520
- ], ee = y(() => {
2522
+ ], H = y(() => {
2521
2523
  let e = V.map((e) => ({
2522
2524
  type: e,
2523
- label: Fe(e, n)
2525
+ label: ie(e, n)
2524
2526
  }));
2525
2527
  return m.plan && e.splice(-1, 0, {
2526
2528
  type: "countdown",
2527
- label: Fe("countdown", n)
2529
+ label: ie("countdown", n)
2528
2530
  }), e;
2529
- }), H = y(() => i.map((e) => ({
2531
+ }), U = y(() => i.map((e) => ({
2530
2532
  type: `custom:${e.type}`,
2531
2533
  label: e.name,
2532
2534
  isCustom: !0,
2533
2535
  icon: e.icon
2534
- }))), U = y(() => [...ee.value, ...H.value]), W = y(() => Pi(U.value, c)), te = y(() => W.value.items), G = /* @__PURE__ */ new Set();
2535
- t(() => W.value.unknown, (e) => {
2536
- for (let t of e) G.has(t) || (G.add(t), Ln.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.`));
2536
+ }))), W = y(() => [...H.value, ...U.value]), G = y(() => Fi(W.value, c)), ee = y(() => G.value.items), K = /* @__PURE__ */ new Set();
2537
+ t(() => G.value.unknown, (e) => {
2538
+ for (let t of e) K.has(t) || (K.add(t), On.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.`));
2537
2539
  }, { immediate: !0 });
2538
- function K(e) {
2540
+ function q(e) {
2539
2541
  if (e.isCustom) {
2540
2542
  let t = e.type.replace("custom:", ""), n = i.find((e) => e.type === t);
2541
- if (n) return ie(n);
2543
+ if (n) return me(n);
2542
2544
  }
2543
- return e.type === "hero" ? _t(l?.value, n.blockDefaults.paragraph) : _e(e.type, l?.value);
2545
+ return e.type === "hero" ? un(l?.value, n.blockDefaults.paragraph) : _e(e.type, l?.value);
2544
2546
  }
2545
- function q(e) {
2547
+ function J(e) {
2546
2548
  if (!u) return;
2547
- let t = K(e);
2548
- vi(u, t) && p(t.id);
2549
+ let t = q(e);
2550
+ yi(u, t) && p(t.id);
2549
2551
  }
2550
- function J(e) {
2551
- D || q(e);
2552
+ function Y(e) {
2553
+ D || J(e);
2552
2554
  }
2553
- function Y(e, t) {
2554
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), q(t));
2555
+ function te(e, t) {
2556
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), J(t));
2555
2557
  }
2556
2558
  return (e, t) => (s(), C("aside", {
2557
2559
  ref_key: "railEl",
@@ -2569,95 +2571,95 @@ var Fi = ["aria-label"], Ii = {
2569
2571
  onMouseleave: j,
2570
2572
  onFocusin: t[2] ||= (e) => w.value = !0,
2571
2573
  onFocusout: R
2572
- }, [g.value ? (s(), C("div", Ii, [O("button", {
2574
+ }, [g.value ? (s(), C("div", Li, [O("button", {
2573
2575
  type: "button",
2574
2576
  "aria-label": b(n).sidebarNav.browseSavedBlocks,
2575
2577
  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)]",
2576
2578
  style: f({ justifyContent: w.value ? "flex-start" : "center" }),
2577
2579
  onClick: t[0] ||= (e) => b(m).savedBlocks?.openBrowser()
2578
- }, [v(b(It), {
2580
+ }, [v(b(Nn), {
2579
2581
  size: 20,
2580
2582
  "stroke-width": 1.5,
2581
2583
  class: "tpl:shrink-0"
2582
- }), w.value ? (s(), C("span", Ri, a(b(n).savedBlocks.title), 1)) : x("", !0)], 12, Li)])) : x("", !0), v(b(tt), {
2583
- "model-value": te.value,
2584
+ }), w.value ? (s(), C("span", zi, a(b(n).savedBlocks.title), 1)) : x("", !0)], 12, Ri)])) : x("", !0), v(b(qt), {
2585
+ "model-value": ee.value,
2584
2586
  group: {
2585
2587
  name: "blocks",
2586
2588
  pull: "clone",
2587
2589
  put: !1
2588
2590
  },
2589
- clone: K,
2591
+ clone: q,
2590
2592
  sort: !1,
2591
2593
  animation: 150,
2592
2594
  "force-fallback": !0,
2593
- "fallback-tolerance": Hi,
2595
+ "fallback-tolerance": Ui,
2594
2596
  class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-0.5 tpl:overflow-y-auto tpl:p-1",
2595
2597
  onChoose: N,
2596
2598
  onStart: I,
2597
2599
  onUnchoose: P,
2598
2600
  onEnd: B
2599
2601
  }, {
2600
- default: h(() => [(s(!0), C(M, null, d(te.value, (e) => (s(), C("button", {
2602
+ default: h(() => [(s(!0), C(M, null, d(ee.value, (e) => (s(), C("button", {
2601
2603
  key: e.type,
2602
2604
  type: "button",
2603
2605
  "data-palette-type": e.type,
2604
2606
  "aria-label": b(r)(b(n).sidebarNav.insertBlock, { block: e.label }),
2605
2607
  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",
2606
2608
  style: f({ justifyContent: w.value ? "flex-start" : "center" }),
2607
- onClick: (t) => J(e),
2608
- onKeydown: (t) => Y(t, e)
2609
- }, [O("div", Bi, [b(wt)[e.type] ? (s(), F(o(b(wt)[e.type]), {
2609
+ onClick: (t) => Y(e),
2610
+ onKeydown: (t) => te(t, e)
2611
+ }, [O("div", Vi, [b(Pn)[e.type] ? (s(), F(o(b(Pn)[e.type]), {
2610
2612
  key: 0,
2611
2613
  size: 20,
2612
2614
  "stroke-width": 1.5
2613
- })) : e.isCustom ? (s(), F(et, {
2615
+ })) : e.isCustom ? (s(), F(Kt, {
2614
2616
  key: 1,
2615
2617
  icon: e.icon,
2616
2618
  size: 20
2617
- }, null, 8, ["icon"])) : x("", !0)]), w.value ? (s(), C("span", Vi, a(e.label), 1)) : x("", !0)], 44, zi))), 128))]),
2619
+ }, null, 8, ["icon"])) : x("", !0)]), w.value ? (s(), C("span", Hi, a(e.label), 1)) : x("", !0)], 44, Bi))), 128))]),
2618
2620
  _: 1
2619
- }, 8, ["model-value"])], 44, Fi));
2621
+ }, 8, ["model-value"])], 44, Ii));
2620
2622
  }
2621
- }), Wi = ["aria-label"], Gi = {
2623
+ }), Gi = ["aria-label"], Ki = {
2622
2624
  role: "tablist",
2623
2625
  class: "tpl:relative tpl:flex tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-active)] tpl:p-1.5"
2624
- }, Ki = [
2626
+ }, qi = [
2625
2627
  "aria-selected",
2626
2628
  "aria-label",
2627
2629
  "title"
2628
- ], qi = { key: 0 }, Ji = [
2630
+ ], Ji = { key: 0 }, Yi = [
2629
2631
  "aria-selected",
2630
2632
  "aria-label",
2631
2633
  "title"
2632
- ], Yi = { key: 0 }, Xi = [
2634
+ ], Xi = { key: 0 }, Zi = [
2633
2635
  "aria-selected",
2634
2636
  "aria-label",
2635
2637
  "title"
2636
- ], Zi = { key: 0 }, Qi = {
2638
+ ], Qi = { key: 0 }, $i = {
2637
2639
  key: 1,
2638
2640
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
2639
- }, $i = {
2641
+ }, ea = {
2640
2642
  key: 0,
2641
2643
  id: "tpl-tabpanel-content",
2642
2644
  role: "tabpanel",
2643
2645
  "aria-labelledby": "tpl-tab-content",
2644
2646
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2645
- }, ea = {
2647
+ }, ta = {
2646
2648
  key: 1,
2647
2649
  class: "tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:px-6 tpl:py-10 tpl:text-center tpl:text-[var(--tpl-text-muted)]"
2648
- }, ta = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, na = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ra = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, ia = {
2650
+ }, na = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, ra = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ia = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, aa = {
2649
2651
  key: 1,
2650
2652
  id: "tpl-tabpanel-settings",
2651
2653
  role: "tabpanel",
2652
2654
  "aria-labelledby": "tpl-tab-settings",
2653
2655
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2654
- }, aa = {
2656
+ }, oa = {
2655
2657
  key: 2,
2656
2658
  id: "tpl-tabpanel-issues",
2657
2659
  role: "tabpanel",
2658
2660
  "aria-labelledby": "tpl-tab-issues",
2659
2661
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
2660
- }, oa = /* @__PURE__ */ R({
2662
+ }, sa = /* @__PURE__ */ R({
2661
2663
  __name: "RightSidebar",
2662
2664
  props: /*@__PURE__*/ r({
2663
2665
  selectedBlock: {},
@@ -2674,7 +2676,7 @@ var Fi = ["aria-label"], Ii = {
2674
2676
  "update-settings"
2675
2677
  ], ["update:tab"]),
2676
2678
  setup(e, { emit: n }) {
2677
- let r = I(() => import("./Toolbar-XT-uGA9J.js").then((e) => e.t)), i = I(() => import("./TemplateSettings-ORq4PbCN.js")), o = I(() => import("./IssuesPanel-CiiNBzH0.js")), l = e, u = n, { t: d } = $(), m = p(e, "tab"), h = L(Wt, null), g = y(() => h !== null && !h.unavailable.value), _ = y(() => h?.issues.value.length ?? 0), S = L(sn, new Set(Rn)), w = y(() => S.size > 0);
2679
+ let r = I(() => import("./Toolbar-c4_rLLJT.js").then((e) => e.t)), i = I(() => import("./TemplateSettings-B8IVy5q9.js")), o = I(() => import("./IssuesPanel-BnUut-p-.js")), l = e, u = n, { t: d } = $(), m = p(e, "tab"), h = L(ct, null), g = y(() => h !== null && !h.unavailable.value), _ = y(() => h?.issues.value.length ?? 0), S = L(bt, new Set(Fn)), w = y(() => S.size > 0);
2678
2680
  function T(e) {
2679
2681
  return m.value === e ? "tpl:flex-1 tpl:text-[var(--tpl-primary)]" : "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)] tpl:hover:text-[var(--tpl-text)]";
2680
2682
  }
@@ -2690,9 +2692,9 @@ var Fi = ["aria-label"], Ii = {
2690
2692
  !e && m.value === "issues" && (m.value = "content");
2691
2693
  }), (t, n) => (s(), C("aside", {
2692
2694
  "aria-label": b(d).landmarks.rightSidebar,
2693
- 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"])
2695
+ class: c(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:box-border tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
2694
2696
  }, [
2695
- O("div", Gi, [
2697
+ O("div", Ki, [
2696
2698
  O("button", {
2697
2699
  id: "tpl-tab-content",
2698
2700
  role: "tab",
@@ -2703,10 +2705,10 @@ var Fi = ["aria-label"], Ii = {
2703
2705
  class: c(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", T("content")]),
2704
2706
  style: f(E("content")),
2705
2707
  onClick: n[0] ||= (e) => m.value = "content"
2706
- }, [v(b(sr), {
2708
+ }, [v(b(cr), {
2707
2709
  size: 14,
2708
2710
  "stroke-width": 2
2709
- }), m.value === "content" ? (s(), C("span", qi, a(b(d).sidebar.content), 1)) : x("", !0)], 14, Ki),
2711
+ }), m.value === "content" ? (s(), C("span", Ji, a(b(d).sidebar.content), 1)) : x("", !0)], 14, qi),
2710
2712
  w.value ? (s(), C("button", {
2711
2713
  key: 0,
2712
2714
  id: "tpl-tab-settings",
@@ -2718,10 +2720,10 @@ var Fi = ["aria-label"], Ii = {
2718
2720
  class: c(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", T("settings")]),
2719
2721
  style: f(E("settings")),
2720
2722
  onClick: n[1] ||= (e) => m.value = "settings"
2721
- }, [v(b(lr), {
2723
+ }, [v(b(ur), {
2722
2724
  size: 14,
2723
2725
  "stroke-width": 1.5
2724
- }), m.value === "settings" ? (s(), C("span", Yi, a(b(d).sidebar.settings), 1)) : x("", !0)], 14, Ji)) : x("", !0),
2726
+ }), m.value === "settings" ? (s(), C("span", Xi, a(b(d).sidebar.settings), 1)) : x("", !0)], 14, Yi)) : x("", !0),
2725
2727
  g.value ? (s(), C("button", {
2726
2728
  key: 1,
2727
2729
  id: "tpl-tab-issues",
@@ -2734,79 +2736,80 @@ var Fi = ["aria-label"], Ii = {
2734
2736
  style: f(E("issues")),
2735
2737
  onClick: n[2] ||= (e) => m.value = "issues"
2736
2738
  }, [
2737
- v(b(At), {
2739
+ v(b(wn), {
2738
2740
  size: 14,
2739
2741
  "stroke-width": 1.5
2740
2742
  }),
2741
- m.value === "issues" ? (s(), C("span", Zi, a(b(d).issues.panelTabLabel), 1)) : x("", !0),
2742
- _.value > 0 ? (s(), C("span", Qi, a(_.value), 1)) : x("", !0)
2743
- ], 14, Xi)) : x("", !0)
2743
+ m.value === "issues" ? (s(), C("span", Qi, a(b(d).issues.panelTabLabel), 1)) : x("", !0),
2744
+ _.value > 0 ? (s(), C("span", $i, a(_.value), 1)) : x("", !0)
2745
+ ], 14, Zi)) : x("", !0)
2744
2746
  ]),
2745
- m.value === "content" ? (s(), C("div", $i, [e.selectedBlock ? (s(), F(b(r), {
2747
+ m.value === "content" ? (s(), C("div", ea, [e.selectedBlock ? (s(), F(b(r), {
2746
2748
  key: 0,
2747
2749
  block: e.selectedBlock,
2748
2750
  onUpdate: n[3] ||= (e) => u("update-block", e),
2749
2751
  onDelete: n[4] ||= (e) => u("delete-block"),
2750
2752
  onDuplicate: n[5] ||= (e) => u("duplicate-block")
2751
- }, null, 8, ["block"])) : (s(), C("div", ea, [
2752
- O("div", ta, [v(b(ar), {
2753
+ }, null, 8, ["block"])) : (s(), C("div", ta, [
2754
+ O("div", na, [v(b(or), {
2753
2755
  size: 40,
2754
2756
  "stroke-width": 1.5
2755
2757
  })]),
2756
- O("h3", na, a(b(d).sidebar.noSelection), 1),
2757
- O("p", ra, a(b(d).sidebar.noSelectionHint), 1)
2758
+ O("h3", ra, a(b(d).sidebar.noSelection), 1),
2759
+ O("p", ia, a(b(d).sidebar.noSelectionHint), 1)
2758
2760
  ]))])) : x("", !0),
2759
- m.value === "settings" && w.value ? (s(), C("div", ia, [v(b(i), {
2761
+ m.value === "settings" && w.value ? (s(), C("div", aa, [v(b(i), {
2760
2762
  settings: e.settings,
2761
2763
  onUpdate: n[6] ||= (e) => u("update-settings", e)
2762
2764
  }, null, 8, ["settings"])])) : x("", !0),
2763
- m.value === "issues" && g.value ? (s(), C("div", aa, [v(b(o))])) : x("", !0)
2764
- ], 10, Wi));
2765
+ m.value === "issues" && g.value ? (s(), C("div", oa, [v(b(o))])) : x("", !0)
2766
+ ], 10, Gi));
2765
2767
  }
2766
- }), sa = {
2768
+ }), ca = {
2767
2769
  class: "tpl-small-screen-notice tpl:absolute tpl:inset-0 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-4 tpl:px-6 tpl:py-10 tpl:text-center tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)]",
2768
2770
  style: { "z-index": "10001" },
2769
2771
  role: "status",
2770
2772
  "data-testid": "small-screen-notice"
2771
- }, ca = { class: "tpl:text-[var(--tpl-text-dim)]" }, la = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ua = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, da = /* @__PURE__ */ R({
2773
+ }, la = { class: "tpl:text-[var(--tpl-text-dim)]" }, ua = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, da = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, fa = /* @__PURE__ */ R({
2772
2774
  __name: "SmallScreenNotice",
2773
2775
  setup(e) {
2774
2776
  let { t } = $();
2775
- return (e, n) => (s(), C("div", sa, [
2776
- O("div", ca, [v(b(Ft), {
2777
+ return (e, n) => (s(), C("div", ca, [
2778
+ O("div", la, [v(b(In), {
2777
2779
  size: 48,
2778
2780
  "stroke-width": 1.5
2779
2781
  })]),
2780
- O("h2", la, a(b(t).smallScreen.title), 1),
2781
- O("p", ua, a(b(t).smallScreen.message), 1)
2782
+ O("h2", ua, a(b(t).smallScreen.title), 1),
2783
+ O("p", da, a(b(t).smallScreen.message), 1)
2782
2784
  ]));
2783
2785
  }
2784
- }), fa = {
2786
+ }), pa = {
2785
2787
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
2786
2788
  style: {
2787
2789
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
2788
2790
  "backdrop-filter": "blur(8px)",
2789
2791
  "-webkit-backdrop-filter": "blur(8px)"
2790
2792
  }
2791
- }, pa = /* @__PURE__ */ R({
2793
+ }, ma = /* @__PURE__ */ R({
2792
2794
  __name: "EditorFooter",
2793
2795
  props: { positionClass: {} },
2794
2796
  setup(e) {
2795
2797
  let { t } = $();
2796
- return (n, r) => (s(), C("footer", { class: c(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[10px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [O("div", fa, [O("span", null, a(b(t).footer.poweredBy), 1), r[0] ||= T("<a href=\"https://templatical.com\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"tpl:inline-flex tpl:items-center tpl:gap-1 tpl:font-medium tpl:transition-colors tpl:hover:opacity-80 tpl:text-[var(--tpl-text-muted)]\" style=\"text-decoration:none;\"><svg width=\"14\" height=\"14\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><rect x=\"10\" y=\"1\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(85% 0.08 55)\" transform=\"rotate(8 19 12)\"></rect><rect x=\"6\" y=\"2\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(77% 0.12 55)\" transform=\"rotate(-4 15 13)\"></rect><rect x=\"2\" y=\"4\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(70% 0.16 55)\"></rect><rect x=\"6\" y=\"9\" width=\"10\" height=\"1.8\" rx=\"0.9\" fill=\"white\" opacity=\"0.9\"></rect><rect x=\"6\" y=\"13.5\" width=\"7\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.6\"></rect><rect x=\"6\" y=\"17\" width=\"9\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.6\"></rect><rect x=\"6\" y=\"20.5\" width=\"5\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.4\"></rect></svg> Templatical </a>", 1)])], 2));
2798
+ return (n, r) => (s(), C("footer", { class: c(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[10px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [O("div", pa, [O("span", null, a(b(t).footer.poweredBy), 1), r[0] ||= T("<a href=\"https://templatical.com\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"tpl:inline-flex tpl:items-center tpl:gap-1 tpl:font-medium tpl:transition-colors tpl:hover:opacity-80 tpl:text-[var(--tpl-text-muted)]\" style=\"text-decoration:none;\"><svg width=\"14\" height=\"14\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><rect x=\"10\" y=\"1\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(85% 0.08 55)\" transform=\"rotate(8 19 12)\"></rect><rect x=\"6\" y=\"2\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(77% 0.12 55)\" transform=\"rotate(-4 15 13)\"></rect><rect x=\"2\" y=\"4\" width=\"18\" height=\"22\" rx=\"3\" fill=\"oklch(70% 0.16 55)\"></rect><rect x=\"6\" y=\"9\" width=\"10\" height=\"1.8\" rx=\"0.9\" fill=\"white\" opacity=\"0.9\"></rect><rect x=\"6\" y=\"13.5\" width=\"7\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.6\"></rect><rect x=\"6\" y=\"17\" width=\"9\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.6\"></rect><rect x=\"6\" y=\"20.5\" width=\"5\" height=\"1.5\" rx=\"0.75\" fill=\"white\" opacity=\"0.4\"></rect></svg> Templatical </a>", 1)])], 2));
2797
2799
  }
2798
- }), ma = (e) => Number.parseFloat(e) || 0;
2799
- function ha(e) {
2800
- let t = e.centerWidth + 2 * Math.max(e.leftWidth, e.rightWidth) + e.paddingWidth + 2 * e.columnGap + e.borderWidth;
2800
+ }), ha = (e) => Number.parseFloat(e) || 0;
2801
+ function ga(e) {
2802
+ let t = (t) => e.centerWidth + 2 * Math.max(e.leftWidth, t) + e.paddingWidth + 2 * e.columnGap + e.borderWidth, n = e.statusLabelWidth ?? 0, r = t(e.rightWidth - n), i = e.availableWidth < r;
2801
2803
  return {
2802
- compact: e.availableWidth < t,
2803
- fullWidth: t
2804
+ compact: i,
2805
+ fullWidth: r,
2806
+ statusLabel: !i && e.availableWidth >= t(e.rightWidth)
2804
2807
  };
2805
2808
  }
2806
- function ga(t, n) {
2807
- let r = A(!1), i = A(0), a, o, s = !1, c = !0, l = null, u, d = 0, f = 0, p = [];
2808
- function m() {
2809
- return p.some((e) => {
2809
+ function _a(t, n) {
2810
+ let r = A(!1), i = A(0), a = A(!1), o = 0, s, c, l = !1, u = !0, d = null, f, p = 0, m = 0, h = [];
2811
+ function g() {
2812
+ return h.some((e) => {
2810
2813
  let t = e.getBoundingClientRect();
2811
2814
  return Array.from(e.children).some((e) => {
2812
2815
  let n = e.getBoundingClientRect();
@@ -2814,20 +2817,20 @@ function ga(t, n) {
2814
2817
  });
2815
2818
  });
2816
2819
  }
2817
- function h() {
2818
- if (!s || !t.value || !n.value) return;
2820
+ function _() {
2821
+ if (!l || !t.value || !n.value) return;
2819
2822
  let e = t.value.getBoundingClientRect().width;
2820
2823
  if (e <= 0) return;
2821
- if (!c && !r.value && e >= i.value && m() && (c = !0), !c && i.value > 0) {
2822
- r.value = e < i.value;
2824
+ if (!u && !r.value && e >= i.value && g() && (u = !0), !u && i.value > 0) {
2825
+ r.value = e < i.value, a.value = !r.value && e >= o;
2823
2826
  return;
2824
2827
  }
2825
- let a = n.value, o = a.ownerDocument.createElement("div");
2826
- for (let e of a.attributes) e.name.startsWith("data-") || o.setAttribute(e.name, e.value);
2827
- o.classList.remove("tpl-header"), o.classList.add("tpl-header-measure"), o.setAttribute("aria-hidden", "true"), o.inert = !0;
2828
- for (let e of a.childNodes) e !== u && o.appendChild(e.cloneNode(!0));
2829
- for (let e of o.querySelectorAll("*")) e.removeAttribute("id"), e.removeAttribute("data-testid");
2830
- Object.assign(o.style, {
2828
+ let s = n.value, c = s.ownerDocument.createElement("div");
2829
+ for (let e of s.attributes) e.name.startsWith("data-") || c.setAttribute(e.name, e.value);
2830
+ c.classList.remove("tpl-header"), c.classList.add("tpl-header-measure"), c.setAttribute("aria-hidden", "true"), c.inert = !0;
2831
+ for (let e of s.childNodes) e !== f && c.appendChild(e.cloneNode(!0));
2832
+ for (let e of c.querySelectorAll("*")) e.removeAttribute("id"), e.removeAttribute("data-testid");
2833
+ Object.assign(c.style, {
2831
2834
  position: "absolute",
2832
2835
  inset: "0 auto auto 0",
2833
2836
  width: "max-content",
@@ -2836,44 +2839,47 @@ function ga(t, n) {
2836
2839
  pointerEvents: "none",
2837
2840
  gridTemplateColumns: "max-content max-content max-content"
2838
2841
  });
2839
- let l = [
2842
+ let d = [
2840
2843
  ".tpl-header-left",
2841
2844
  ".tpl-header-center",
2842
2845
  ".tpl-header-right"
2843
- ].map((e) => o.querySelector(e));
2844
- for (let e of l) e.style.width = "max-content", e.style.minWidth = "0";
2845
- let d = o.querySelector(".tpl-header-identity");
2846
- if (d) {
2847
- d.style.width = "24px", d.style.minWidth = "24px", d.style.flexShrink = "0";
2848
- for (let e of d.children) e.style.maxWidth = "100%";
2846
+ ].map((e) => c.querySelector(e));
2847
+ for (let e of d) e.style.width = "max-content", e.style.minWidth = "0";
2848
+ let p = c.querySelector(".tpl-header-identity");
2849
+ if (p) {
2850
+ p.style.width = "24px", p.style.minWidth = "24px", p.style.flexShrink = "0";
2851
+ for (let e of p.children) e.style.maxWidth = "100%";
2849
2852
  }
2850
- t.value.appendChild(o);
2853
+ t.value.appendChild(c);
2851
2854
  try {
2852
- let t = getComputedStyle(o), n = l.map((e) => e.getBoundingClientRect().width), a = ha({
2855
+ let t = getComputedStyle(c), n = d.map((e) => e.getBoundingClientRect().width), s = c.querySelector(".tpl-status-label"), l = s ? s.getBoundingClientRect().width + ha(getComputedStyle(s.parentElement).columnGap) : 0, f = {
2853
2856
  availableWidth: e,
2854
2857
  leftWidth: n[0],
2855
2858
  centerWidth: n[1],
2856
2859
  rightWidth: n[2],
2857
- paddingWidth: ma(t.paddingLeft || t.paddingInline) + ma(t.paddingRight || t.paddingInline),
2858
- columnGap: ma(t.columnGap),
2859
- borderWidth: ma(t.borderLeftWidth) + ma(t.borderRightWidth)
2860
+ paddingWidth: ha(t.paddingLeft || t.paddingInline) + ha(t.paddingRight || t.paddingInline),
2861
+ columnGap: ha(t.columnGap),
2862
+ borderWidth: ha(t.borderLeftWidth) + ha(t.borderRightWidth)
2863
+ }, p = ga({
2864
+ ...f,
2865
+ statusLabelWidth: l
2860
2866
  });
2861
- i.value = a.fullWidth, r.value = a.compact, c = !1;
2867
+ i.value = p.fullWidth, r.value = p.compact, a.value = p.statusLabel, o = ga(f).fullWidth, u = !1;
2862
2868
  } finally {
2863
- o.remove();
2869
+ c.remove();
2864
2870
  }
2865
2871
  }
2866
- function g() {
2867
- s && l === null && (l = window.requestAnimationFrame(() => {
2868
- l = null, h();
2872
+ function v() {
2873
+ l && d === null && (d = window.requestAnimationFrame(() => {
2874
+ d = null, _();
2869
2875
  }));
2870
2876
  }
2871
- function _() {
2872
- s && (c = !0, g());
2877
+ function y() {
2878
+ l && (u = !0, v());
2873
2879
  }
2874
2880
  return e(() => {
2875
- if (s = !0, p = Array.from(n.value?.children ?? []), h(), !t.value || !n.value) return;
2876
- u = n.value.ownerDocument.createElement("span"), u.className = "tpl-header-metric-probe", u.setAttribute("aria-hidden", "true"), u.inert = !0, u.textContent = "MWmw0123456789", Object.assign(u.style, {
2881
+ if (l = !0, h = Array.from(n.value?.children ?? []), _(), !t.value || !n.value) return;
2882
+ f = n.value.ownerDocument.createElement("span"), f.className = "tpl-header-metric-probe", f.setAttribute("aria-hidden", "true"), f.inert = !0, f.textContent = "MWmw0123456789", Object.assign(f.style, {
2877
2883
  position: "absolute",
2878
2884
  inset: "0 auto auto 0",
2879
2885
  width: "max-content",
@@ -2884,22 +2890,22 @@ function ga(t, n) {
2884
2890
  whiteSpace: "pre",
2885
2891
  visibility: "hidden",
2886
2892
  pointerEvents: "none"
2887
- }), n.value.appendChild(u);
2888
- let e = u.getBoundingClientRect();
2889
- if (d = e.width, f = e.height, typeof ResizeObserver < "u") {
2890
- a = new ResizeObserver((e) => {
2893
+ }), n.value.appendChild(f);
2894
+ let e = f.getBoundingClientRect();
2895
+ if (p = e.width, m = e.height, typeof ResizeObserver < "u") {
2896
+ s = new ResizeObserver((e) => {
2891
2897
  let t = !1;
2892
2898
  for (let n of e) {
2893
- if (n.target !== u) continue;
2899
+ if (n.target !== f) continue;
2894
2900
  let { width: e, height: r } = n.contentRect;
2895
- (e !== d || r !== f) && (t = !0), d = e, f = r;
2901
+ (e !== p || r !== m) && (t = !0), p = e, m = r;
2896
2902
  }
2897
- t ? _() : g();
2898
- }), a.observe(t.value);
2899
- for (let e of p) a.observe(e);
2900
- a.observe(u);
2903
+ t ? y() : v();
2904
+ }), s.observe(t.value);
2905
+ for (let e of h) s.observe(e);
2906
+ s.observe(f);
2901
2907
  }
2902
- o = new MutationObserver(_), o.observe(n.value, {
2908
+ c = new MutationObserver(y), c.observe(n.value, {
2903
2909
  subtree: !0,
2904
2910
  childList: !0,
2905
2911
  characterData: !0,
@@ -2911,22 +2917,23 @@ function ga(t, n) {
2911
2917
  "aria-label",
2912
2918
  "hidden"
2913
2919
  ]
2914
- }), window.addEventListener("resize", g);
2920
+ }), window.addEventListener("resize", v);
2915
2921
  let r = n.value.ownerDocument.fonts;
2916
- r?.addEventListener("loadingdone", _), r?.status === "loading" && r.ready.then(_);
2922
+ r?.addEventListener("loadingdone", y), r?.status === "loading" && r.ready.then(y);
2917
2923
  }), D(() => {
2918
- s = !1, l !== null && (window.cancelAnimationFrame(l), l = null), a?.disconnect(), o?.disconnect(), u?.remove(), u = void 0, p = [], window.removeEventListener("resize", g), n.value?.ownerDocument.fonts?.removeEventListener("loadingdone", _);
2924
+ l = !1, d !== null && (window.cancelAnimationFrame(d), d = null), s?.disconnect(), c?.disconnect(), f?.remove(), f = void 0, h = [], window.removeEventListener("resize", v), n.value?.ownerDocument.fonts?.removeEventListener("loadingdone", y);
2919
2925
  }), {
2920
2926
  compact: r,
2921
- fullWidth: i
2927
+ fullWidth: i,
2928
+ statusLabel: a
2922
2929
  };
2923
2930
  }
2924
2931
  // src/components/DarkModeToggle.vue?vue&type=script&setup=true&lang.ts
2925
- var _a = [
2932
+ var va = [
2926
2933
  "aria-label",
2927
2934
  "title",
2928
2935
  "aria-pressed"
2929
- ], va = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2936
+ ], ya = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2930
2937
  __name: "DarkModeToggle",
2931
2938
  props: { darkMode: { type: Boolean } },
2932
2939
  emits: ["change"],
@@ -2942,30 +2949,30 @@ var _a = [
2942
2949
  title: e.darkMode ? b(r).darkMode.disable : b(r).darkMode.enable,
2943
2950
  "aria-pressed": e.darkMode,
2944
2951
  onClick: i[0] ||= (t) => n("change", !e.darkMode)
2945
- }, [v(U, {
2952
+ }, [v(W, {
2946
2953
  "enter-active-class": "tpl-icon-enter-active",
2947
2954
  "leave-active-class": "tpl-icon-leave-active",
2948
2955
  "enter-from-class": "tpl-icon-enter-from",
2949
2956
  "leave-to-class": "tpl-icon-leave-to",
2950
2957
  mode: "out-in"
2951
2958
  }, {
2952
- default: h(() => [e.darkMode ? (s(), F(b(or), {
2959
+ default: h(() => [e.darkMode ? (s(), F(b(sr), {
2953
2960
  key: "moon",
2954
2961
  size: 18,
2955
2962
  "stroke-width": 1.5
2956
- })) : (s(), F(b(dr), {
2963
+ })) : (s(), F(b(fr), {
2957
2964
  key: "sun",
2958
2965
  size: 18,
2959
2966
  "stroke-width": 1.5
2960
2967
  }))]),
2961
2968
  _: 1
2962
- })], 12, _a));
2969
+ })], 12, va));
2963
2970
  }
2964
- }), [["__scopeId", "data-v-632aa74f"]]), ya = [
2971
+ }), [["__scopeId", "data-v-632aa74f"]]), ba = [
2965
2972
  "aria-label",
2966
2973
  "title",
2967
2974
  "aria-pressed"
2968
- ], ba = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2975
+ ], xa = /*#__PURE__*/ ze(/* @__PURE__ */ R({
2969
2976
  __name: "PreviewToggle",
2970
2977
  props: { previewMode: { type: Boolean } },
2971
2978
  emits: ["change"],
@@ -2981,26 +2988,26 @@ var _a = [
2981
2988
  title: e.previewMode ? b(r).previewMode.disable : b(r).previewMode.enable,
2982
2989
  "aria-pressed": e.previewMode,
2983
2990
  onClick: i[0] ||= (t) => n("change", !e.previewMode)
2984
- }, [v(U, {
2991
+ }, [v(W, {
2985
2992
  "enter-active-class": "tpl-icon-enter-active",
2986
2993
  "leave-active-class": "tpl-icon-leave-active",
2987
2994
  "enter-from-class": "tpl-icon-enter-from",
2988
2995
  "leave-to-class": "tpl-icon-leave-to",
2989
2996
  mode: "out-in"
2990
2997
  }, {
2991
- default: h(() => [e.previewMode ? (s(), F(b(Tt), {
2998
+ default: h(() => [e.previewMode ? (s(), F(b(Hn), {
2992
2999
  key: "eye",
2993
3000
  size: 18,
2994
3001
  "stroke-width": 1.5
2995
- })) : (s(), F(b(We), {
3002
+ })) : (s(), F(b(It), {
2996
3003
  key: "eye-off",
2997
3004
  size: 18,
2998
3005
  "stroke-width": 1.5
2999
3006
  }))]),
3000
3007
  _: 1
3001
- })], 12, ya));
3008
+ })], 12, ba));
3002
3009
  }
3003
- }), [["__scopeId", "data-v-eef7b2ca"]]), xa = ["aria-label", "onKeydown"], Sa = ["title", "aria-label"], Ca = /* @__PURE__ */ R({
3010
+ }), [["__scopeId", "data-v-eef7b2ca"]]), Sa = ["aria-label", "onKeydown"], Ca = ["title", "aria-label"], wa = /* @__PURE__ */ R({
3004
3011
  __name: "TemplateNameField",
3005
3012
  props: {
3006
3013
  name: {},
@@ -3029,10 +3036,10 @@ var _a = [
3029
3036
  type: "text",
3030
3037
  "data-testid": "template-name-input",
3031
3038
  "aria-label": b(i).header.templateName,
3032
- class: c([b(kn), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
3033
- onKeydown: [H(B(p, ["prevent"]), ["enter"]), H(B(m, ["prevent"]), ["esc"])],
3039
+ class: c([b(Ot), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
3040
+ onKeydown: [U(B(p, ["prevent"]), ["enter"]), U(B(m, ["prevent"]), ["esc"])],
3034
3041
  onBlur: p
3035
- }, null, 42, xa)), [[z, l.value]]) : e.editable ? (s(), C("button", {
3042
+ }, null, 42, Sa)), [[z, l.value]]) : e.editable ? (s(), C("button", {
3036
3043
  key: 1,
3037
3044
  type: "button",
3038
3045
  "data-testid": "template-name",
@@ -3040,26 +3047,26 @@ var _a = [
3040
3047
  "aria-label": b(i).header.rename,
3041
3048
  class: c(["tpl:max-w-[260px] tpl:cursor-pointer tpl:truncate tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-transparent tpl:px-2 tpl:py-1 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:border-[var(--tpl-border)] tpl:hover:bg-[var(--tpl-bg-hover)]", { "tpl:text-[var(--tpl-text-dim)]": !e.name }]),
3042
3049
  onClick: f
3043
- }, a(e.name || b(i).header.untitled), 11, Sa)) : (s(), C("span", {
3050
+ }, a(e.name || b(i).header.untitled), 11, Ca)) : (s(), C("span", {
3044
3051
  key: 2,
3045
3052
  "data-testid": "template-name",
3046
3053
  class: c(["tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:py-1 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]", { "tpl:text-[var(--tpl-text-dim)]": !e.name }])
3047
3054
  }, a(e.name || b(i).header.untitled), 3));
3048
3055
  }
3049
- }), wa = ["title"], Ta = /* @__PURE__ */ R({
3056
+ }), Ta = ["title"], Ea = /* @__PURE__ */ R({
3050
3057
  __name: "TemplateTimestamp",
3051
3058
  props: {
3052
3059
  iso: {},
3053
3060
  kind: {}
3054
3061
  },
3055
3062
  setup(e) {
3056
- let t = e, { t: n, format: r } = $(), i = L(un, void 0), o = S(0);
3057
- Fn(() => {
3063
+ let t = e, { t: n, format: r } = $(), i = L(rt, void 0), o = S(0);
3064
+ Gn(() => {
3058
3065
  o.value += 1;
3059
3066
  }, 6e4);
3060
3067
  let c = y(() => {
3061
3068
  o.value;
3062
- let e = Xn(t.iso, n.time, r);
3069
+ let e = qn(t.iso, n.time, r);
3063
3070
  if (e === null) return "";
3064
3071
  let i = e === n.time.justNow;
3065
3072
  return t.kind === "updatedAt" ? i ? n.header.updatedJustNow : r(n.header.updatedAt, { time: e }) : i ? n.header.createdJustNow : r(n.header.createdAt, { time: e });
@@ -3069,19 +3076,20 @@ var _a = [
3069
3076
  "data-testid": "template-timestamp",
3070
3077
  title: l.value,
3071
3078
  class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
3072
- }, a(c.value), 9, wa)) : x("", !0);
3079
+ }, a(c.value), 9, Ta)) : x("", !0);
3073
3080
  }
3074
- }), Ea = ["data-tooltip"], Da = {
3075
- key: 1,
3076
- "aria-live": "polite",
3077
- "data-testid": "save-status-saved",
3078
- class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-success)]"
3079
- }, Oa = {
3081
+ }), Da = [
3082
+ "aria-live",
3083
+ "data-testid",
3084
+ "title",
3085
+ "data-tooltip"
3086
+ ], Oa = {
3080
3087
  key: 2,
3081
- "aria-live": "polite",
3082
- "data-testid": "save-status-unsaved",
3083
- class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
3084
- }, ka = /* @__PURE__ */ R({
3088
+ class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]"
3089
+ }, ka = {
3090
+ key: 0,
3091
+ class: "tpl-status-label"
3092
+ }, Aa = /* @__PURE__ */ R({
3085
3093
  __name: "TemplateSaveStatus",
3086
3094
  props: {
3087
3095
  status: {},
@@ -3089,26 +3097,35 @@ var _a = [
3089
3097
  isDirty: { type: Boolean }
3090
3098
  },
3091
3099
  setup(e) {
3092
- let { t } = $();
3093
- return (n, r) => e.status === "error" ? (s(), C("div", {
3100
+ let t = e, { t: n } = $(), r = y(() => t.status === "error" ? "error" : t.status === "saved" ? "saved" : t.isDirty ? "unsaved" : "none"), i = {
3101
+ error: "saveFailed",
3102
+ saved: "saved",
3103
+ unsaved: "unsaved"
3104
+ }, o = y(() => r.value === "none" ? "" : n.header[i[r.value]]), l = y(() => r.value === "error" ? "tpl:text-[var(--tpl-danger)]" : r.value === "saved" ? "tpl:text-[var(--tpl-success)]" : "tpl:text-[var(--tpl-text-muted)]");
3105
+ return (t, n) => (s(), C("div", {
3106
+ "aria-live": r.value === "error" ? "assertive" : "polite",
3107
+ "data-testid": r.value === "none" ? void 0 : `save-status-${r.value}`,
3108
+ title: r.value === "saved" || r.value === "unsaved" ? o.value : void 0,
3109
+ "data-tooltip": r.value === "error" ? e.errorMessage : void 0,
3110
+ class: c(["tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs", [l.value, { "tpl-tooltip": r.value === "error" }]])
3111
+ }, [O("span", {
3112
+ class: c(["tpl-status-icon tpl:inline-flex tpl:size-3 tpl:shrink-0 tpl:items-center tpl:justify-center", { "tpl:invisible": r.value === "none" }]),
3113
+ "aria-hidden": "true"
3114
+ }, [r.value === "error" ? (s(), F(b(Yn), {
3094
3115
  key: 0,
3095
- "aria-live": "assertive",
3096
- "data-testid": "save-status-error",
3097
- class: "tpl-tooltip tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]",
3098
- "data-tooltip": e.errorMessage
3099
- }, [v(b(Ct), {
3100
3116
  size: 12,
3101
3117
  "stroke-width": 2.5
3102
- }), w(" " + a(b(t).header.saveFailed), 1)], 8, Ea)) : e.status === "saved" ? (s(), C("div", Da, [v(b(xt), {
3118
+ })) : r.value === "saved" ? (s(), F(b(Jn), {
3119
+ key: 1,
3103
3120
  size: 12,
3104
3121
  "stroke-width": 2.5
3105
- }), w(" " + a(b(t).header.saved), 1)])) : e.isDirty ? (s(), C("div", Oa, [r[0] ||= O("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), w(" " + a(b(t).header.unsaved), 1)])) : x("", !0);
3122
+ })) : r.value === "unsaved" ? (s(), C("span", Oa)) : x("", !0)], 2), r.value === "none" ? x("", !0) : (s(), C("span", ka, a(o.value), 1))], 10, Da));
3106
3123
  }
3107
- }), Aa = [
3124
+ }), ja = [
3108
3125
  "aria-pressed",
3109
3126
  "aria-label",
3110
3127
  "title"
3111
- ], ja = { class: "tpl-header-label" }, Ma = /* @__PURE__ */ R({
3128
+ ], Ma = { class: "tpl-header-label" }, Na = /* @__PURE__ */ R({
3112
3129
  __name: "AiHeaderMenu",
3113
3130
  props: { feature: {} },
3114
3131
  setup(e) {
@@ -3123,35 +3140,39 @@ var _a = [
3123
3140
  "aria-pressed": r.value,
3124
3141
  "aria-label": b(n).ai.menu.chat,
3125
3142
  title: b(n).ai.menu.chat,
3126
- class: c(b(jn)),
3143
+ class: c(b(At)),
3127
3144
  style: f(r.value ? {
3128
3145
  backgroundColor: "var(--tpl-primary-light)",
3129
3146
  borderColor: "var(--tpl-primary-light)"
3130
3147
  } : void 0),
3131
3148
  onClick: B(i, ["stop"])
3132
- }, [v(b(Bt), {
3149
+ }, [v(b(jn), {
3133
3150
  size: 16,
3134
3151
  "stroke-width": 2,
3135
3152
  class: "tpl:text-[var(--tpl-primary-hover)]",
3136
3153
  "aria-hidden": "true"
3137
- }), O("span", ja, a(b(n).ai.menu.button), 1)], 14, Aa)) : x("", !0);
3154
+ }), O("span", Ma, a(b(n).ai.menu.button), 1)], 14, ja)) : x("", !0);
3138
3155
  }
3139
- }), Na = ["data-compact", "data-full-width"], Pa = { class: "tpl-header-left tpl:flex tpl:min-w-0 tpl:items-center tpl:gap-2.5" }, Fa = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, Ia = { class: "tpl-header-right tpl:flex tpl:min-w-0 tpl:items-center tpl:justify-end tpl:gap-3" }, La = [
3156
+ }), Pa = [
3157
+ "data-compact",
3158
+ "data-full-width",
3159
+ "data-status-label"
3160
+ ], Fa = { class: "tpl-header-left tpl:flex tpl:min-w-0 tpl:items-center tpl:gap-2.5" }, Ia = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, La = { class: "tpl-header-right tpl:flex tpl:min-w-0 tpl:items-center tpl:justify-end tpl:gap-3" }, Ra = [
3140
3161
  "aria-label",
3141
3162
  "title",
3142
3163
  "aria-expanded"
3143
- ], Ra = { class: "tpl-header-label" }, za = {
3164
+ ], za = { class: "tpl-header-label" }, Ba = {
3144
3165
  key: 0,
3145
3166
  class: "tpl-header-comment-count tpl:inline-flex tpl:size-4.5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[10px] tpl:font-semibold tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]"
3146
- }, Ba = [
3167
+ }, Va = [
3147
3168
  "aria-label",
3148
3169
  "title",
3149
3170
  "disabled"
3150
- ], Va = { class: "tpl-header-label" }, Ha = [
3171
+ ], Ha = { class: "tpl-header-label" }, Ua = [
3151
3172
  "aria-label",
3152
3173
  "disabled",
3153
3174
  "title"
3154
- ], Ua = { class: "tpl-header-label" }, Wa = /* @__PURE__ */ R({
3175
+ ], Wa = { class: "tpl-header-label" }, Ga = /* @__PURE__ */ R({
3155
3176
  __name: "EditorHeader",
3156
3177
  props: {
3157
3178
  editor: {},
@@ -3166,8 +3187,8 @@ var _a = [
3166
3187
  ai: {}
3167
3188
  },
3168
3189
  setup(e) {
3169
- let t = I(() => import("./VersionHistoryMenu-C8BE3Pr-.js")), n = I(() => import("./LanguageMenu-B981Av-6.js")), r = I(() => import("./CollaboratorBar-CLQjksX-.js")), o = A(null), l = A(null), { compact: u, fullWidth: d } = ga(o, l);
3170
- return (p, m) => (s(), C("div", {
3190
+ let t = I(() => import("./VersionHistoryMenu-Cd2IaHgT.js")), n = I(() => import("./LanguageMenu-DfTxrbvp.js")), r = I(() => import("./CollaboratorBar-xDweDvB6.js")), o = A(null), l = A(null), { compact: u, fullWidth: d, statusLabel: p } = _a(o, l);
3191
+ return (m, h) => (s(), C("div", {
3171
3192
  ref_key: "containerElement",
3172
3193
  ref: o,
3173
3194
  class: "tpl-header-container tpl:absolute tpl:inset-x-0 tpl:top-0 tpl:z-50 tpl:h-14"
@@ -3176,13 +3197,14 @@ var _a = [
3176
3197
  ref: l,
3177
3198
  "data-compact": b(u),
3178
3199
  "data-full-width": b(d),
3200
+ "data-status-label": b(p),
3179
3201
  class: "tpl-header tpl:absolute tpl:top-0 tpl:right-0 tpl:left-0 tpl:z-50 tpl:grid tpl:h-14 tpl:grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] tpl:items-center tpl:px-4 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:border-b tpl:border-[var(--tpl-border)]"
3180
3202
  }, [
3181
- O("div", Pa, [
3203
+ O("div", Fa, [
3182
3204
  e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (s(), C("div", {
3183
3205
  key: 0,
3184
3206
  class: c(["tpl-header-identity tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": e.showTemplateName && e.templates.timestamp.value !== null }])
3185
- }, [e.showTemplateName ? (s(), F(Ca, {
3207
+ }, [e.showTemplateName ? (s(), F(wa, {
3186
3208
  key: 0,
3187
3209
  name: e.templates.name.value,
3188
3210
  editable: e.templates.canSave.value,
@@ -3191,7 +3213,7 @@ var _a = [
3191
3213
  "name",
3192
3214
  "editable",
3193
3215
  "onCommit"
3194
- ])) : x("", !0), e.templates.timestamp.value ? (s(), F(Ta, {
3216
+ ])) : x("", !0), e.templates.timestamp.value ? (s(), F(Ea, {
3195
3217
  key: 1,
3196
3218
  class: "tpl-header-timestamp",
3197
3219
  iso: e.templates.timestamp.value.iso,
@@ -3208,8 +3230,8 @@ var _a = [
3208
3230
  "is-loading": e.versionHistory.isLoading.value,
3209
3231
  "is-restoring": e.versionHistory.isRestoring.value,
3210
3232
  "previewing-id": e.versionHistory.previewingVersion.value?.id ?? null,
3211
- onOpen: m[0] ||= (t) => e.versionHistory.refresh(),
3212
- onNavigate: m[1] ||= (t) => e.versionHistory.navigate(t)
3233
+ onOpen: h[0] ||= (t) => e.versionHistory.refresh(),
3234
+ onNavigate: h[1] ||= (t) => e.versionHistory.navigate(t)
3213
3235
  }, null, 8, [
3214
3236
  "versions",
3215
3237
  "is-loading",
@@ -3221,24 +3243,24 @@ var _a = [
3221
3243
  people: e.collaboration.people.value,
3222
3244
  connection: e.collaboration.connection.value
3223
3245
  }, null, 8, ["people", "connection"])) : x("", !0),
3224
- i(p.$slots, "left-extras")
3246
+ i(m.$slots, "left-extras")
3225
3247
  ]),
3226
- O("div", Fa, [
3227
- v(Vt, {
3248
+ O("div", Ia, [
3249
+ v(Bn, {
3228
3250
  viewport: e.editor.state.viewport,
3229
3251
  onChange: e.editor.setViewport
3230
3252
  }, null, 8, ["viewport", "onChange"]),
3231
- v(va, {
3253
+ v(ya, {
3232
3254
  "dark-mode": e.editor.state.darkMode,
3233
3255
  onChange: e.editor.setDarkMode
3234
3256
  }, null, 8, ["dark-mode", "onChange"]),
3235
- v(ba, {
3257
+ v(xa, {
3236
3258
  "preview-mode": e.editor.state.previewMode,
3237
3259
  onChange: e.editor.setPreviewMode
3238
3260
  }, null, 8, ["preview-mode", "onChange"])
3239
3261
  ]),
3240
- O("div", Ia, [
3241
- e.templates?.isAvailable.value && e.templates.canSave.value ? (s(), F(ka, {
3262
+ O("div", La, [
3263
+ e.templates?.isAvailable.value && e.templates.canSave.value ? (s(), F(Aa, {
3242
3264
  key: 0,
3243
3265
  class: "tpl-header-save-status",
3244
3266
  status: e.templates.status.value,
@@ -3256,25 +3278,25 @@ var _a = [
3256
3278
  "aria-label": e.comments.unresolvedCount.value > 0 ? `${e.core.t.comments.button} (${e.comments.unresolvedCount.value})` : e.core.t.comments.button,
3257
3279
  title: e.core.t.comments.button,
3258
3280
  "aria-expanded": e.comments.isOpen.value,
3259
- class: c(b(jn)),
3281
+ class: c(b(At)),
3260
3282
  style: f(e.comments.isOpen.value ? {
3261
3283
  backgroundColor: "var(--tpl-primary-light)",
3262
3284
  borderColor: "var(--tpl-primary-light)"
3263
3285
  } : void 0),
3264
- onClick: m[2] ||= (t) => e.comments.toggle()
3286
+ onClick: h[2] ||= (t) => e.comments.toggle()
3265
3287
  }, [
3266
- v(b(Pt), {
3288
+ v(b(Rn), {
3267
3289
  size: 16,
3268
3290
  "stroke-width": 2
3269
3291
  }),
3270
- O("span", Ra, a(e.core.t.comments.button), 1),
3271
- e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (s(), C("span", za, a(e.comments.unresolvedCount.value), 1)) : x("", !0)
3272
- ], 14, La)) : x("", !0),
3273
- e.ai ? (s(), F(Ma, {
3292
+ O("span", za, a(e.core.t.comments.button), 1),
3293
+ e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (s(), C("span", Ba, a(e.comments.unresolvedCount.value), 1)) : x("", !0)
3294
+ ], 14, Ra)) : x("", !0),
3295
+ e.ai ? (s(), F(Na, {
3274
3296
  key: 2,
3275
3297
  feature: e.ai
3276
3298
  }, null, 8, ["feature"])) : x("", !0),
3277
- i(p.$slots, "right-extras"),
3299
+ i(m.$slots, "right-extras"),
3278
3300
  e.testEmail?.isAvailable.value ? (s(), C("button", {
3279
3301
  key: 3,
3280
3302
  type: "button",
@@ -3282,64 +3304,64 @@ var _a = [
3282
3304
  "aria-label": e.core.t.testEmail.title,
3283
3305
  title: e.core.t.testEmail.title,
3284
3306
  disabled: e.testEmail.isSending.value,
3285
- class: c(b(jn)),
3286
- onClick: m[3] ||= (t) => e.testEmail.open()
3287
- }, [e.testEmail.isSending.value ? (s(), F(b(Nt), {
3307
+ class: c(b(At)),
3308
+ onClick: h[3] ||= (t) => e.testEmail.open()
3309
+ }, [e.testEmail.isSending.value ? (s(), F(b(Ln), {
3288
3310
  key: 1,
3289
3311
  class: "tpl-spinner",
3290
3312
  size: 16,
3291
3313
  "stroke-width": 2
3292
- })) : (s(), F(b(zt), {
3314
+ })) : (s(), F(b(zn), {
3293
3315
  key: 0,
3294
3316
  size: 16,
3295
3317
  "stroke-width": 2
3296
- })), O("span", Va, a(e.core.t.testEmail.button), 1)], 10, Ba)) : x("", !0),
3318
+ })), O("span", Ha, a(e.core.t.testEmail.button), 1)], 10, Va)) : x("", !0),
3297
3319
  e.templates?.isAvailable.value && e.templates.canSave.value ? (s(), C("button", {
3298
3320
  key: 4,
3299
3321
  type: "button",
3300
3322
  "data-testid": "template-save",
3301
- class: c(e.editor.state.isDirty && e.templates.hasTemplate.value ? b(Mn) : b(jn)),
3323
+ class: c(e.editor.state.isDirty && e.templates.hasTemplate.value ? b(jt) : b(At)),
3302
3324
  style: f(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
3303
3325
  "aria-label": e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save,
3304
3326
  disabled: e.templates.isSaving.value || !e.templates.hasTemplate.value,
3305
3327
  title: e.templates.hasTemplate.value ? e.core.t.header.save : e.core.t.header.saveNoTemplate,
3306
- onClick: m[4] ||= (t) => e.templates.requestSave()
3307
- }, [e.templates.isSaving.value ? (s(), F(b(Nt), {
3328
+ onClick: h[4] ||= (t) => e.templates.requestSave()
3329
+ }, [e.templates.isSaving.value ? (s(), F(b(Ln), {
3308
3330
  key: 1,
3309
3331
  class: "tpl-spinner",
3310
3332
  size: 16,
3311
3333
  "stroke-width": 2
3312
- })) : (s(), F(b(cr), {
3334
+ })) : (s(), F(b(lr), {
3313
3335
  key: 0,
3314
3336
  size: 16,
3315
3337
  "stroke-width": 2
3316
- })), O("span", Ua, a(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, Ha)) : x("", !0)
3338
+ })), O("span", Wa, a(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, Ua)) : x("", !0)
3317
3339
  ])
3318
- ], 8, Na)], 512));
3340
+ ], 8, Pa)], 512));
3319
3341
  }
3320
- }), Ga = ["aria-labelledby", "data-tpl-theme"], Ka = { 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" }, qa = ["id"], Ja = ["aria-label"], Ya = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Xa = [
3342
+ }), Ka = ["aria-labelledby", "data-tpl-theme"], qa = { 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" }, Ja = ["id"], Ya = ["aria-label"], Xa = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Za = [
3321
3343
  "id",
3322
3344
  "placeholder",
3323
3345
  "aria-label",
3324
3346
  "aria-activedescendant"
3325
- ], Za = {
3347
+ ], Qa = {
3326
3348
  key: 0,
3327
3349
  class: "tpl:flex tpl:gap-1.5 tpl:overflow-x-auto tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2",
3328
3350
  "data-testid": "merge-tag-picker-group-pills"
3329
- }, Qa = ["data-group-name", "onClick"], $a = ["aria-label"], eo = {
3351
+ }, $a = ["data-group-name", "onClick"], eo = ["aria-label"], to = {
3330
3352
  key: 0,
3331
3353
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3332
3354
  "data-testid": "merge-tag-picker-empty"
3333
- }, to = {
3355
+ }, no = {
3334
3356
  key: 1,
3335
3357
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3336
3358
  "data-testid": "merge-tag-picker-empty"
3337
- }, no = [
3359
+ }, ro = [
3338
3360
  "aria-expanded",
3339
3361
  "data-group-name",
3340
3362
  "data-group-collapsed",
3341
3363
  "onClick"
3342
- ], ro = { class: "tpl:ml-1 tpl:font-normal" }, io = [
3364
+ ], io = { class: "tpl:ml-1 tpl:font-normal" }, ao = [
3343
3365
  "id",
3344
3366
  "aria-selected",
3345
3367
  "data-selected",
@@ -3349,21 +3371,21 @@ var _a = [
3349
3371
  "title",
3350
3372
  "onMousemove",
3351
3373
  "onClick"
3352
- ], ao = { class: "tpl:text-sm tpl:font-medium" }, oo = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, so = {
3374
+ ], oo = { class: "tpl:text-sm tpl:font-medium" }, so = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, co = {
3353
3375
  key: 0,
3354
3376
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3355
- }, co = {
3377
+ }, lo = {
3356
3378
  key: 1,
3357
3379
  "data-testid": "merge-tag-picker-sample",
3358
3380
  class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3359
- }, lo = "tpl-merge-tag-picker-list", uo = /* @__PURE__ */ R({
3381
+ }, uo = "tpl-merge-tag-picker-list", fo = /* @__PURE__ */ R({
3360
3382
  __name: "MergeTagPickerModal",
3361
3383
  setup(e) {
3362
- let n = _n(qt, "MergeTagPickerModal"), { t: r, format: i } = $(), o = L(yn, null), l = L(nn, null), p = L(xn, !0), m = y(() => n.current.value !== null), _ = y(() => m.value ? r.mergeTag.picker.changeTitle : r.mergeTag.picker.title);
3384
+ let n = ot(Je, "MergeTagPickerModal"), { t: r, format: i } = $(), o = L(gt, null), l = L(_t, null), p = L(St, !0), m = y(() => n.current.value !== null), _ = y(() => m.value ? r.mergeTag.picker.changeTitle : r.mergeTag.picker.title);
3363
3385
  function w(e) {
3364
3386
  return p ? e.description ? `${e.value} — ${e.description}` : e.value : e.description || void 0;
3365
3387
  }
3366
- let T = S(""), E = Pn(T, 200), D = S(null), k = y(() => E.value.trim().length > 0), A = S(0), j = y(() => n.tags.value.some((e) => !!e.group)), N = S(/* @__PURE__ */ new Set());
3388
+ let T = S(""), E = Wn(T, 200), D = S(null), k = y(() => E.value.trim().length > 0), A = S(0), j = y(() => n.tags.value.some((e) => !!e.group)), N = S(/* @__PURE__ */ new Set());
3367
3389
  function P(e) {
3368
3390
  return N.value.has(e);
3369
3391
  }
@@ -3386,7 +3408,7 @@ var _a = [
3386
3408
  t.has(n) || (t.add(n), i.push(n));
3387
3409
  }
3388
3410
  return i;
3389
- }), ee = y(() => {
3411
+ }), H = y(() => {
3390
3412
  let e = R.value;
3391
3413
  if (!j.value || k.value) return e.map((e, t) => ({
3392
3414
  kind: "tag",
@@ -3412,42 +3434,42 @@ var _a = [
3412
3434
  }), o++;
3413
3435
  }
3414
3436
  return a;
3415
- }), U = y(() => ee.value.flatMap((e) => e.kind === "tag" ? [e.tag] : [])), W = !1;
3416
- function te(e) {
3437
+ }), W = y(() => H.value.flatMap((e) => e.kind === "tag" ? [e.tag] : [])), G = !1;
3438
+ function ee(e) {
3417
3439
  let t = n.current.value;
3418
3440
  if (!t) return !1;
3419
3441
  let r = e.findIndex((e) => e.value === t.value);
3420
3442
  return r !== -1 && (A.value = r, !0);
3421
3443
  }
3422
- function G(e) {
3423
- W = !1, A.value = e;
3444
+ function K(e) {
3445
+ G = !1, A.value = e;
3424
3446
  }
3425
3447
  t(() => n.isOpen.value, (e) => {
3426
- e ? (T.value = "", A.value = 0, N.value = /* @__PURE__ */ new Set(), W = !te(U.value), u(() => {
3448
+ e ? (T.value = "", A.value = 0, N.value = /* @__PURE__ */ new Set(), G = !ee(W.value), u(() => {
3427
3449
  D.value?.focus();
3428
- })) : W = !1;
3429
- }), t(U, (e) => {
3430
- W && te(e) ? W = !1 : A.value >= e.length && (A.value = Math.max(0, e.length - 1));
3450
+ })) : G = !1;
3451
+ }), t(W, (e) => {
3452
+ G && ee(e) ? G = !1 : A.value >= e.length && (A.value = Math.max(0, e.length - 1));
3431
3453
  });
3432
- function K(e) {
3454
+ function q(e) {
3433
3455
  n.resolve(e);
3434
3456
  }
3435
- function q() {
3457
+ function J() {
3436
3458
  n.resolve(null);
3437
3459
  }
3438
- function J(e) {
3439
- if (U.value.length === 0) return;
3440
- W = !1;
3460
+ function Y(e) {
3461
+ if (W.value.length === 0) return;
3462
+ G = !1;
3441
3463
  let t = A.value + e;
3442
- A.value = Math.max(0, Math.min(U.value.length - 1, t)), ie();
3464
+ A.value = Math.max(0, Math.min(W.value.length - 1, t)), ie();
3443
3465
  }
3444
- let Y = S(null), ne = S({});
3466
+ let te = S(null), ne = S({});
3445
3467
  function re(e, t) {
3446
3468
  ne.value[e] = t ?? null;
3447
3469
  }
3448
3470
  function ie() {
3449
3471
  u(() => {
3450
- let e = Y.value;
3472
+ let e = te.value;
3451
3473
  e && e.querySelector(`[data-merge-tag-index="${A.value}"]`)?.scrollIntoView({ block: "nearest" });
3452
3474
  });
3453
3475
  }
@@ -3457,7 +3479,7 @@ var _a = [
3457
3479
  t.delete(e), N.value = t;
3458
3480
  }
3459
3481
  u(() => {
3460
- let t = Y.value;
3482
+ let t = te.value;
3461
3483
  if (!t) return;
3462
3484
  let n = 0, r = !1;
3463
3485
  for (let i of Array.from(t.children)) {
@@ -3474,54 +3496,54 @@ var _a = [
3474
3496
  });
3475
3497
  }
3476
3498
  function oe(e) {
3477
- if (e.key === "ArrowDown") e.preventDefault(), J(1);
3478
- else if (e.key === "ArrowUp") e.preventDefault(), J(-1);
3499
+ if (e.key === "ArrowDown") e.preventDefault(), Y(1);
3500
+ else if (e.key === "ArrowUp") e.preventDefault(), Y(-1);
3479
3501
  else if (e.key === "Enter") {
3480
3502
  e.preventDefault();
3481
- let t = U.value[A.value];
3482
- t && K(t);
3503
+ let t = W.value[A.value];
3504
+ t && q(t);
3483
3505
  }
3484
3506
  }
3485
3507
  function se() {
3486
- if (U.value.length !== 0) return `${lo}-opt-${A.value}`;
3508
+ if (W.value.length !== 0) return `${uo}-opt-${A.value}`;
3487
3509
  }
3488
- function X(e) {
3489
- return `${lo}-opt-${e}`;
3510
+ function ce(e) {
3511
+ return `${uo}-opt-${e}`;
3490
3512
  }
3491
- let ce = y(() => n.tags.value.length === 0), le = y(() => !ce.value && R.value.length === 0), ue = y(() => j.value && V.value.length > 1 && !k.value);
3492
- return (e, t) => (s(), F(zn, {
3513
+ let le = y(() => n.tags.value.length === 0), ue = y(() => !le.value && R.value.length === 0), de = y(() => j.value && V.value.length > 1 && !k.value);
3514
+ return (e, t) => (s(), F(Mt, {
3493
3515
  visible: b(n).isOpen.value,
3494
- onClose: q,
3516
+ onClose: J,
3495
3517
  onKeydown: oe
3496
3518
  }, {
3497
3519
  default: h(() => [O("div", {
3498
3520
  role: "dialog",
3499
3521
  "aria-modal": "true",
3500
- "aria-labelledby": `${lo}-title`,
3522
+ "aria-labelledby": `${uo}-title`,
3501
3523
  "data-tpl-theme": b(l),
3502
3524
  "data-testid": "merge-tag-picker-modal",
3503
3525
  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)]",
3504
3526
  style: f(b(o))
3505
3527
  }, [
3506
- O("header", Ka, [O("h2", {
3507
- id: `${lo}-title`,
3528
+ O("header", qa, [O("h2", {
3529
+ id: `${uo}-title`,
3508
3530
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3509
- }, a(_.value), 9, qa), O("button", {
3531
+ }, a(_.value), 9, Ja), O("button", {
3510
3532
  type: "button",
3511
3533
  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)]",
3512
3534
  "aria-label": b(r).mergeTag.picker.close,
3513
3535
  "data-testid": "merge-tag-picker-close",
3514
- onClick: q
3515
- }, [v(b(Ut), {
3536
+ onClick: J
3537
+ }, [v(b(He), {
3516
3538
  size: 16,
3517
3539
  "stroke-width": 2
3518
- })], 8, Ja)]),
3519
- O("div", Ya, [v(b(Rt), {
3540
+ })], 8, Ya)]),
3541
+ O("div", Xa, [v(b(Zn), {
3520
3542
  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)]",
3521
3543
  size: 14,
3522
3544
  "stroke-width": 2
3523
3545
  }), g(O("input", {
3524
- id: `${lo}-search`,
3546
+ id: `${uo}-search`,
3525
3547
  ref_key: "searchInputRef",
3526
3548
  ref: D,
3527
3549
  "onUpdate:modelValue": t[0] ||= (e) => T.value = e,
@@ -3529,50 +3551,50 @@ var _a = [
3529
3551
  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)]",
3530
3552
  placeholder: b(r).mergeTag.picker.searchPlaceholder,
3531
3553
  "aria-label": b(r).mergeTag.picker.searchAriaLabel,
3532
- "aria-controls": lo,
3554
+ "aria-controls": uo,
3533
3555
  "aria-activedescendant": se(),
3534
3556
  "data-testid": "merge-tag-picker-search",
3535
- onKeydown: t[1] ||= H(B(() => {}, ["prevent"]), ["enter"])
3536
- }, null, 40, Xa), [[z, T.value]])]),
3537
- ue.value ? (s(), C("div", Za, [(s(!0), C(M, null, d(V.value, (e) => (s(), C("button", {
3557
+ onKeydown: t[1] ||= U(B(() => {}, ["prevent"]), ["enter"])
3558
+ }, null, 40, Za), [[z, T.value]])]),
3559
+ de.value ? (s(), C("div", Qa, [(s(!0), C(M, null, d(V.value, (e) => (s(), C("button", {
3538
3560
  key: e,
3539
3561
  type: "button",
3540
3562
  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)]",
3541
3563
  "data-testid": "merge-tag-picker-group-pill",
3542
3564
  "data-group-name": e,
3543
3565
  onClick: (t) => ae(e)
3544
- }, a(e), 9, Qa))), 128))])) : x("", !0),
3566
+ }, a(e), 9, $a))), 128))])) : x("", !0),
3545
3567
  O("div", {
3546
- id: lo,
3568
+ id: uo,
3547
3569
  ref_key: "listRef",
3548
- ref: Y,
3570
+ ref: te,
3549
3571
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3550
3572
  role: "listbox",
3551
3573
  "aria-label": _.value,
3552
3574
  "data-testid": "merge-tag-picker-list"
3553
- }, [ce.value ? (s(), C("div", eo, a(b(r).mergeTag.picker.empty), 1)) : le.value ? (s(), C("div", to, a(b(r).mergeTag.picker.noResults), 1)) : (s(!0), C(M, { key: 2 }, d(ee.value, (e, t) => (s(), C(M, { key: t }, [e.kind === "header" ? (s(), C("button", {
3575
+ }, [le.value ? (s(), C("div", to, a(b(r).mergeTag.picker.empty), 1)) : ue.value ? (s(), C("div", no, a(b(r).mergeTag.picker.noResults), 1)) : (s(!0), C(M, { key: 2 }, d(H.value, (e, t) => (s(), C(M, { key: t }, [e.kind === "header" ? (s(), C("button", {
3554
3576
  key: 0,
3555
3577
  ref_for: !0,
3556
3578
  ref: (t) => re(e.group, t),
3557
3579
  type: "button",
3558
3580
  "aria-expanded": !P(e.group),
3559
- "aria-controls": lo,
3581
+ "aria-controls": uo,
3560
3582
  class: "tpl:sticky tpl:top-0 tpl:z-10 tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-[var(--tpl-bg-elevated)] tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-left tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)]",
3561
3583
  "data-testid": "merge-tag-picker-group-header",
3562
3584
  "data-group-name": e.group,
3563
3585
  "data-group-collapsed": P(e.group) ? "true" : "false",
3564
3586
  onClick: (t) => I(e.group)
3565
3587
  }, [
3566
- v(b(St), {
3588
+ v(b(Xn), {
3567
3589
  size: 12,
3568
3590
  "stroke-width": 2,
3569
3591
  class: c(["tpl:transition-transform", P(e.group) ? "tpl:-rotate-90" : ""])
3570
3592
  }, null, 8, ["class"]),
3571
3593
  O("span", null, a(e.group), 1),
3572
- O("span", ro, " (" + a(b(i)(b(r).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3573
- ], 8, no)) : (s(), C("button", {
3594
+ O("span", io, " (" + a(b(i)(b(r).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3595
+ ], 8, ro)) : (s(), C("button", {
3574
3596
  key: 1,
3575
- id: X(e.index),
3597
+ id: ce(e.index),
3576
3598
  type: "button",
3577
3599
  role: "option",
3578
3600
  "aria-selected": e.index === A.value,
@@ -3583,26 +3605,26 @@ var _a = [
3583
3605
  title: w(e.tag),
3584
3606
  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 === A.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)]"]),
3585
3607
  "data-testid": "merge-tag-picker-item",
3586
- onMousemove: (t) => G(e.index),
3587
- onClick: (t) => K(e.tag)
3608
+ onMousemove: (t) => K(e.index),
3609
+ onClick: (t) => q(e.tag)
3588
3610
  }, [
3589
- O("span", ao, a(e.tag.label), 1),
3590
- O("span", oo, a(e.tag.value), 1),
3591
- e.tag.description ? (s(), C("span", so, a(e.tag.description), 1)) : x("", !0),
3592
- e.tag.sample === void 0 ? x("", !0) : (s(), C("span", co, a(b(i)(b(r).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3593
- ], 42, io))], 64))), 128))], 8, $a)
3594
- ], 12, Ga)]),
3611
+ O("span", oo, a(e.tag.label), 1),
3612
+ O("span", so, a(e.tag.value), 1),
3613
+ e.tag.description ? (s(), C("span", co, a(e.tag.description), 1)) : x("", !0),
3614
+ e.tag.sample === void 0 ? x("", !0) : (s(), C("span", lo, a(b(i)(b(r).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3615
+ ], 42, ao))], 64))), 128))], 8, eo)
3616
+ ], 12, Ka)]),
3595
3617
  _: 1
3596
3618
  }, 8, ["visible"]));
3597
3619
  }
3598
- }), fo = ["data-logic-keyword"], po = /* @__PURE__ */ R({
3620
+ }), po = ["data-logic-keyword"], mo = /* @__PURE__ */ R({
3599
3621
  __name: "LogicTagBadge",
3600
3622
  props: {
3601
3623
  value: {},
3602
3624
  syntax: {}
3603
3625
  },
3604
3626
  setup(e) {
3605
- let t = e, n = y(() => Te(t.value, t.syntax)), r = y(() => ye(t.value, t.syntax));
3627
+ let t = e, n = y(() => Re(t.value, t.syntax)), r = y(() => De(t.value, t.syntax));
3606
3628
  return (e, t) => n.value ? (s(), C("span", {
3607
3629
  key: 0,
3608
3630
  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",
@@ -3612,22 +3634,22 @@ var _a = [
3612
3634
  },
3613
3635
  "data-testid": "merge-tag-logic-badge",
3614
3636
  "data-logic-keyword": r.value
3615
- }, a(r.value), 9, fo)) : x("", !0);
3637
+ }, a(r.value), 9, po)) : x("", !0);
3616
3638
  }
3617
- }), mo = ["aria-labelledby", "data-tpl-theme"], ho = { 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" }, go = ["id"], _o = ["aria-label"], vo = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, yo = [
3639
+ }), ho = ["aria-labelledby", "data-tpl-theme"], go = { 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" }, _o = ["id"], vo = ["aria-label"], yo = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, bo = [
3618
3640
  "id",
3619
3641
  "placeholder",
3620
3642
  "aria-label",
3621
3643
  "aria-activedescendant"
3622
- ], bo = ["aria-label"], xo = {
3644
+ ], xo = ["aria-label"], So = {
3623
3645
  key: 0,
3624
3646
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3625
3647
  "data-testid": "logic-picker-empty"
3626
- }, So = {
3648
+ }, Co = {
3627
3649
  key: 1,
3628
3650
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3629
3651
  "data-testid": "logic-picker-empty"
3630
- }, Co = ["data-group-name"], wo = [
3652
+ }, wo = ["data-group-name"], To = [
3631
3653
  "id",
3632
3654
  "aria-selected",
3633
3655
  "data-selected",
@@ -3635,19 +3657,19 @@ var _a = [
3635
3657
  "data-logic-kind",
3636
3658
  "onMousemove",
3637
3659
  "onClick"
3638
- ], To = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Eo = { class: "tpl:text-sm tpl:font-medium" }, Do = {
3660
+ ], Eo = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Do = { class: "tpl:text-sm tpl:font-medium" }, Oo = {
3639
3661
  key: 0,
3640
3662
  class: "tpl:flex tpl:items-center"
3641
- }, Oo = {
3663
+ }, ko = {
3642
3664
  key: 1,
3643
3665
  class: "tpl:flex tpl:items-center tpl:gap-1"
3644
- }, ko = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Ao = {
3666
+ }, Ao = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, jo = {
3645
3667
  key: 0,
3646
3668
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3647
- }, jo = "tpl-logic-picker-list", Mo = /* @__PURE__ */ R({
3669
+ }, Mo = "tpl-logic-picker-list", No = /* @__PURE__ */ R({
3648
3670
  __name: "LogicTagPickerModal",
3649
3671
  setup(e) {
3650
- let n = _n(Xt, "LogicTagPickerModal"), { t: r } = $(), i = L(Gt, he.liquid), o = L(yn, null), l = L(nn, null), p = S(""), m = Pn(p, 200), _ = S(null), w = y(() => m.value.trim().length > 0), T = S(0);
3672
+ let n = ot(Ze, "LogicTagPickerModal"), { t: r } = $(), i = L(Ke, Te.liquid), o = L(gt, null), l = L(_t, null), p = S(""), m = Wn(p, 200), _ = S(null), w = y(() => m.value.trim().length > 0), T = S(0);
3651
3673
  function E(e) {
3652
3674
  let t = m.value.trim().toLowerCase();
3653
3675
  return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
@@ -3708,66 +3730,66 @@ var _a = [
3708
3730
  }), t(I, (e) => {
3709
3731
  T.value >= e.length && (T.value = Math.max(0, e.length - 1));
3710
3732
  });
3711
- let ee = S(null);
3712
- function U(e) {
3733
+ let H = S(null);
3734
+ function W(e) {
3713
3735
  n.resolve(e);
3714
3736
  }
3715
- function W() {
3737
+ function G() {
3716
3738
  n.resolve(null);
3717
3739
  }
3718
- function te(e) {
3740
+ function ee(e) {
3719
3741
  I.value.length !== 0 && (T.value = Math.max(0, Math.min(I.value.length - 1, T.value + e)), u(() => {
3720
- ee.value?.querySelector(`[data-logic-index="${T.value}"]`)?.scrollIntoView({ block: "nearest" });
3742
+ H.value?.querySelector(`[data-logic-index="${T.value}"]`)?.scrollIntoView({ block: "nearest" });
3721
3743
  }));
3722
3744
  }
3723
- function G(e) {
3724
- if (e.key === "ArrowDown") e.preventDefault(), te(1);
3725
- else if (e.key === "ArrowUp") e.preventDefault(), te(-1);
3745
+ function K(e) {
3746
+ if (e.key === "ArrowDown") e.preventDefault(), ee(1);
3747
+ else if (e.key === "ArrowUp") e.preventDefault(), ee(-1);
3726
3748
  else if (e.key === "Enter") {
3727
3749
  e.preventDefault();
3728
3750
  let t = I.value[T.value];
3729
- t && U(t);
3751
+ t && W(t);
3730
3752
  }
3731
3753
  }
3732
- function K(e) {
3733
- return `${jo}-opt-${e}`;
3754
+ function q(e) {
3755
+ return `${Mo}-opt-${e}`;
3734
3756
  }
3735
- function q() {
3736
- return I.value.length === 0 ? void 0 : `${jo}-opt-${T.value}`;
3757
+ function J() {
3758
+ return I.value.length === 0 ? void 0 : `${Mo}-opt-${T.value}`;
3737
3759
  }
3738
- return (e, t) => (s(), F(zn, {
3760
+ return (e, t) => (s(), F(Mt, {
3739
3761
  visible: b(n).isOpen.value,
3740
- onClose: W,
3741
- onKeydown: G
3762
+ onClose: G,
3763
+ onKeydown: K
3742
3764
  }, {
3743
3765
  default: h(() => [O("div", {
3744
3766
  role: "dialog",
3745
3767
  "aria-modal": "true",
3746
- "aria-labelledby": `${jo}-title`,
3768
+ "aria-labelledby": `${Mo}-title`,
3747
3769
  "data-tpl-theme": b(l),
3748
3770
  "data-testid": "logic-picker-modal",
3749
3771
  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)]",
3750
3772
  style: f(b(o))
3751
3773
  }, [
3752
- O("header", ho, [O("h2", {
3753
- id: `${jo}-title`,
3774
+ O("header", go, [O("h2", {
3775
+ id: `${Mo}-title`,
3754
3776
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3755
- }, a(b(r).logicTag.picker.title), 9, go), O("button", {
3777
+ }, a(b(r).logicTag.picker.title), 9, _o), O("button", {
3756
3778
  type: "button",
3757
3779
  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)]",
3758
3780
  "aria-label": b(r).logicTag.picker.close,
3759
3781
  "data-testid": "logic-picker-close",
3760
- onClick: W
3761
- }, [v(b(Ut), {
3782
+ onClick: G
3783
+ }, [v(b(He), {
3762
3784
  size: 16,
3763
3785
  "stroke-width": 2
3764
- })], 8, _o)]),
3765
- O("div", vo, [v(b(Rt), {
3786
+ })], 8, vo)]),
3787
+ O("div", yo, [v(b(Zn), {
3766
3788
  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)]",
3767
3789
  size: 14,
3768
3790
  "stroke-width": 2
3769
3791
  }), g(O("input", {
3770
- id: `${jo}-search`,
3792
+ id: `${Mo}-search`,
3771
3793
  ref_key: "searchInputRef",
3772
3794
  ref: _,
3773
3795
  "onUpdate:modelValue": t[0] ||= (e) => p.value = e,
@@ -3775,27 +3797,27 @@ var _a = [
3775
3797
  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)]",
3776
3798
  placeholder: b(r).logicTag.picker.searchPlaceholder,
3777
3799
  "aria-label": b(r).logicTag.picker.searchAriaLabel,
3778
- "aria-controls": jo,
3779
- "aria-activedescendant": q(),
3800
+ "aria-controls": Mo,
3801
+ "aria-activedescendant": J(),
3780
3802
  "data-testid": "logic-picker-search",
3781
- onKeydown: t[1] ||= H(B(() => {}, ["prevent"]), ["enter"])
3782
- }, null, 40, yo), [[z, p.value]])]),
3803
+ onKeydown: t[1] ||= U(B(() => {}, ["prevent"]), ["enter"])
3804
+ }, null, 40, bo), [[z, p.value]])]),
3783
3805
  O("div", {
3784
- id: jo,
3806
+ id: Mo,
3785
3807
  ref_key: "listRef",
3786
- ref: ee,
3808
+ ref: H,
3787
3809
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3788
3810
  role: "listbox",
3789
3811
  "aria-label": b(r).logicTag.picker.title,
3790
3812
  "data-testid": "logic-picker-list"
3791
- }, [R.value ? (s(), C("div", xo, a(b(r).logicTag.picker.empty), 1)) : V.value ? (s(), C("div", So, a(b(r).logicTag.picker.noResults), 1)) : (s(!0), C(M, { key: 2 }, d(P.value.rows, (e, n) => (s(), C(M, { key: n }, [e.kind === "header" ? (s(), C("div", {
3813
+ }, [R.value ? (s(), C("div", So, a(b(r).logicTag.picker.empty), 1)) : V.value ? (s(), C("div", Co, a(b(r).logicTag.picker.noResults), 1)) : (s(!0), C(M, { key: 2 }, d(P.value.rows, (e, n) => (s(), C(M, { key: n }, [e.kind === "header" ? (s(), C("div", {
3792
3814
  key: 0,
3793
3815
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
3794
3816
  "data-testid": "logic-picker-header",
3795
3817
  "data-group-name": e.label
3796
- }, a(e.label), 9, Co)) : (s(), C("button", {
3818
+ }, a(e.label), 9, wo)) : (s(), C("button", {
3797
3819
  key: 1,
3798
- id: K(e.index),
3820
+ id: q(e.index),
3799
3821
  type: "button",
3800
3822
  role: "option",
3801
3823
  "aria-selected": e.index === T.value,
@@ -3805,34 +3827,34 @@ var _a = [
3805
3827
  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 === T.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)]"]),
3806
3828
  "data-testid": "logic-picker-item",
3807
3829
  onMousemove: (t) => T.value = e.index,
3808
- onClick: (t) => U(e.kind === "tag" ? e.tag : e.pair)
3830
+ onClick: (t) => W(e.kind === "tag" ? e.tag : e.pair)
3809
3831
  }, [
3810
- O("span", To, [O("span", Eo, a(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), C("span", Do, [v(po, {
3832
+ O("span", Eo, [O("span", Do, a(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), C("span", Oo, [v(mo, {
3811
3833
  value: e.tag.value,
3812
3834
  syntax: b(i)
3813
- }, null, 8, ["value", "syntax"])])) : (s(), C("span", Oo, [
3814
- v(po, {
3835
+ }, null, 8, ["value", "syntax"])])) : (s(), C("span", ko, [
3836
+ v(mo, {
3815
3837
  value: e.pair.before,
3816
3838
  syntax: b(i)
3817
3839
  }, null, 8, ["value", "syntax"]),
3818
3840
  t[2] ||= O("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
3819
- v(po, {
3841
+ v(mo, {
3820
3842
  value: e.pair.after,
3821
3843
  syntax: b(i)
3822
3844
  }, null, 8, ["value", "syntax"])
3823
3845
  ]))]),
3824
- O("span", ko, a(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3825
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), C("span", Ao, a(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : x("", !0)
3826
- ], 42, wo))], 64))), 128))], 8, bo)
3827
- ], 12, mo)]),
3846
+ O("span", Ao, a(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
3847
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), C("span", jo, a(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : x("", !0)
3848
+ ], 42, To))], 64))), 128))], 8, xo)
3849
+ ], 12, ho)]),
3828
3850
  _: 1
3829
3851
  }, 8, ["visible"]));
3830
3852
  }
3831
- }), No = ["data-tpl-theme"], Po = { class: "tpl:absolute tpl:inset-0 tpl:overflow-hidden" }, Fo = { class: "tpl-preview-overlay tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Io = { class: "tpl:absolute tpl:left-1/2 tpl:top-2 tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" }, Lo = {
3853
+ }), Po = ["data-tpl-theme"], Fo = { class: "tpl:absolute tpl:inset-0 tpl:overflow-hidden" }, Io = { class: "tpl-preview-overlay tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Lo = { class: "tpl:absolute tpl:left-1/2 tpl:top-2 tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" }, Ro = {
3832
3854
  key: 0,
3833
3855
  "data-testid": "merge-tag-mode-toggle-anchor",
3834
3856
  class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
3835
- }, Ro = { class: "tpl-main tpl-canvas-pane tpl:flex tpl:py-8" }, zo = ["aria-label"], Bo = /*#__PURE__*/ ze(/* @__PURE__ */ R({
3857
+ }, zo = { class: "tpl-main tpl-canvas-pane tpl:flex tpl:py-8" }, Bo = ["aria-label"], Vo = /*#__PURE__*/ ze(/* @__PURE__ */ R({
3836
3858
  __name: "Editor",
3837
3859
  props: {
3838
3860
  config: {},
@@ -3847,7 +3869,7 @@ var _a = [
3847
3869
  },
3848
3870
  setup(n, { expose: r }) {
3849
3871
  let i = n;
3850
- l(Qt, {
3872
+ l(Ge, {
3851
3873
  renderHtml: () => i.renderHtml?.() ?? Promise.reject(/* @__PURE__ */ Error("HTML rendering is unavailable")),
3852
3874
  canRenderHtml: () => i.canRenderHtml?.() ?? !1,
3853
3875
  cloud: !!i.cloud,
@@ -3855,29 +3877,29 @@ var _a = [
3855
3877
  });
3856
3878
  let o = {
3857
3879
  get tags() {
3858
- return Z.mergeTags.value;
3880
+ return X.mergeTags.value;
3859
3881
  },
3860
3882
  get syntax() {
3861
- return Z.mergeTagSyntax;
3883
+ return X.mergeTagSyntax;
3862
3884
  }
3863
- }, u = i.config.templates ? Un(i.config.templates, o) : void 0;
3864
- i.config.collaboration && !u && Ln.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
3865
- let d = i.config.collaboration && u ? Hr({
3885
+ }, u = i.config.templates ? _n(i.config.templates, o) : void 0;
3886
+ i.config.collaboration && !u && On.warn("config.collaboration needs config.templates: collaboration runs on a loaded template, and only a templates provider loads one. Collaboration is off.");
3887
+ let d = i.config.collaboration && u ? Ur({
3866
3888
  provider: i.config.collaboration,
3867
3889
  loadTemplate: (e) => u.load(e),
3868
3890
  user: i.config.user,
3869
3891
  mergeTags: o,
3870
3892
  onRemoteChange: i.config.onRemoteChange,
3871
3893
  onError: i.config.onError
3872
- }) : null, p = u && d ? yi(u, d.core, () => {
3894
+ }) : null, p = u && d ? bi(u, d.core, () => {
3873
3895
  let e = _.state.template;
3874
3896
  return e ? {
3875
3897
  ...N(e),
3876
- content: be(N(_.content.value))
3898
+ content: we(N(_.content.value))
3877
3899
  } : null;
3878
3900
  }) : u, m = S(0);
3879
- l(Zt, i.config.localization);
3880
- let _ = Me({
3901
+ l(Qe, i.config.localization);
3902
+ let _ = te({
3881
3903
  localization: i.config.localization ?? { locales: [] },
3882
3904
  onLocaleChange: i.config.onLocaleChange,
3883
3905
  onStructureChange: () => {
@@ -3885,39 +3907,39 @@ var _a = [
3885
3907
  },
3886
3908
  content: i.config.content,
3887
3909
  defaultFontFamily: i.config.fonts?.defaultFont,
3888
- templateDefaults: $n(i.config),
3910
+ templateDefaults: er(i.config),
3889
3911
  templates: p,
3890
3912
  onError: i.config.onError,
3891
3913
  lockedBlocks: d?.locks,
3892
3914
  lockLocale: d?.core.lockLocale,
3893
3915
  lockSessionId: d?.core.sessionId
3894
- }), T = Sn(_);
3895
- l(dn, T.content), _.setCustomBlockDefinitions(i.config.customBlocks ?? []), d && t(_.activeLocale, (e) => d.core.setLockLocale(e), { flush: "sync" }), d?.attach(_);
3896
- let D = i.cloud ? i.cloud.attach({ editor: _ }) : null, A = p ? li({
3916
+ }), T = Ue(_);
3917
+ l(ft, T.content), _.setCustomBlockDefinitions(i.config.customBlocks ?? []), d && t(_.activeLocale, (e) => d.core.setLockLocale(e), { flush: "sync" }), d?.attach(_);
3918
+ let D = i.cloud ? i.cloud.attach({ editor: _ }) : null, A = p ? ui({
3897
3919
  provider: p,
3898
3920
  editor: _,
3899
3921
  guardUnsavedChanges: i.config.templates?.unsavedChangesGuard,
3900
3922
  getSaveGate: i.cloud ? () => i.cloud.getSaveGate() : void 0
3901
3923
  }) : null;
3902
3924
  i.config.onDirtyChange && t(() => _.state.isDirty, (e) => i.config.onDirtyChange(e));
3903
- let j = S(null), M = i.config.savedBlocks ? si({
3925
+ let j = S(null), M = i.config.savedBlocks ? ci({
3904
3926
  provider: i.config.savedBlocks,
3905
3927
  editor: _,
3906
3928
  onError: i.config.onError,
3907
3929
  isAvailable: i.cloud ? () => i.cloud.isSavedBlocksAvailable() : void 0
3908
- }) : null, P = I(() => import("./SavedBlocksPanels-B9AAVBDm.js")), L = i.config.media || i.config.onRequestMedia ? ai({
3930
+ }) : null, P = I(() => import("./SavedBlocksPanels-CYIby5pR.js")), L = i.config.media || i.config.onRequestMedia ? oi({
3909
3931
  provider: i.config.media,
3910
3932
  onRequestMedia: i.config.onRequestMedia,
3911
3933
  getTemplateId: () => _.state.template?.id,
3912
3934
  onError: i.config.onError
3913
- }) : null, R = I(() => import("./MediaPanels-D2WD2aE2.js")), z = i.config.testEmail ? mi({
3935
+ }) : null, R = I(() => import("./MediaPanels-BiUxsTMM.js")), z = i.config.testEmail ? hi({
3914
3936
  provider: i.config.testEmail,
3915
3937
  getContent: () => _.content.value,
3916
3938
  renderMjml: i.renderMjml,
3917
3939
  usesLocalRenderer: i.usesLocalRenderer,
3918
3940
  onError: i.config.onError,
3919
3941
  isAvailable: i.cloud ? () => i.cloud.isTestEmailAvailable() : void 0
3920
- }) : null, V = I(() => import("./TestEmailPanel-H0v8El__.js")), H = i.config.comments ? Ur({
3942
+ }) : null, V = I(() => import("./TestEmailPanel-sOIZfKzc.js")), U = i.config.comments ? Wr({
3921
3943
  provider: i.config.comments,
3922
3944
  editor: _,
3923
3945
  user: i.config.user,
@@ -3925,7 +3947,7 @@ var _a = [
3925
3947
  onError: i.config.onError,
3926
3948
  isAvailable: i.cloud ? () => i.cloud.isCommentsAvailable() : void 0,
3927
3949
  isBlockSaved: i.cloud ? (e) => i.cloud.isBlockSaved(e) : void 0
3928
- }) : null, W = I(() => import("./CommentsPanel-C5qG17Ki.js")), te = I(() => import("./AiPanels-DAsnX-a3.js")), G = i.config.ai ? Qr({
3950
+ }) : null, G = I(() => import("./CommentsPanel-t3w16YUl.js")), ee = I(() => import("./AiPanels-D_CdHqFZ.js")), K = i.config.ai ? $r({
3929
3951
  provider: i.config.ai,
3930
3952
  editor: _,
3931
3953
  localization: i.config.localization ?? { locales: [] },
@@ -3934,62 +3956,62 @@ var _a = [
3934
3956
  m.value++;
3935
3957
  },
3936
3958
  collaboration: d,
3937
- history: () => Z.history,
3959
+ history: () => X.history,
3938
3960
  reload: A ? (e, t) => A.load(e, t) : null,
3939
- altMaxLength: () => Ot(Ye(i.config)),
3940
- mergeTags: () => ni(Z.mergeTags.value, Z.mergeTagSyntax),
3941
- normalize: (e, t) => Vn(e, t, o),
3942
- commentsOpen: H?.isOpen ?? null,
3961
+ altMaxLength: () => Sn(Vt(i.config)),
3962
+ mergeTags: () => ri(X.mergeTags.value, X.mergeTagSyntax),
3963
+ normalize: (e, t) => hn(e, t, o),
3964
+ commentsOpen: U?.isOpen ?? null,
3943
3965
  onError: i.config.onError
3944
3966
  }) : null;
3945
- G && l(mn, G);
3946
- let K = Cn(_, i.config.customBlocks ?? []);
3947
- l(vn, K);
3948
- let q = i.config.translation ? Lr({
3967
+ K && l(ht, K);
3968
+ let q = We(_, i.config.customBlocks ?? []);
3969
+ l(yt, q);
3970
+ let J = i.config.translation ? Rr({
3949
3971
  provider: i.config.translation,
3950
3972
  editor: _,
3951
3973
  localization: i.config.localization,
3952
3974
  collaboration: d,
3953
- history: () => Z.history,
3975
+ history: () => X.history,
3954
3976
  definitions: () => i.config.customBlocks ?? [],
3955
- syntax: () => Z.mergeTagSyntax,
3956
- coverage: () => K.value
3977
+ syntax: () => X.mergeTagSyntax,
3978
+ coverage: () => q.value
3957
3979
  }) : null;
3958
- q && l(gn, q);
3959
- let J = S(null);
3980
+ J && l(dt, J);
3981
+ let Y = S(null);
3960
3982
  t([() => _.state.template?.id ?? null, _.loadVersion], () => {
3961
- J.value = null;
3962
- }, { flush: "sync" }), t(() => Q(_.content.value), (e) => {
3963
- J.value && J.value.language !== e && (J.value = null);
3983
+ Y.value = null;
3984
+ }, { flush: "sync" }), t(() => Z(_.content.value), (e) => {
3985
+ Y.value && Y.value.language !== e && (Y.value = null);
3964
3986
  }, { flush: "sync" });
3965
- let Y = jr({
3987
+ let ne = Mr({
3966
3988
  editor: _,
3967
- history: () => Z.history,
3989
+ history: () => X.history,
3968
3990
  collaboration: d
3969
3991
  });
3970
- l(Kt, { setDefaultLocale(e) {
3992
+ l(qe, { setDefaultLocale(e) {
3971
3993
  let t = {
3972
3994
  language: e,
3973
- old: Q(_.content.value),
3974
- count: me(_.content.value, e, i.config.customBlocks).length
3975
- }, n = Y.setDefaultLocale(e);
3976
- return n.applied && (J.value = t), n;
3995
+ old: Z(_.content.value),
3996
+ count: Ne(_.content.value, e, i.config.customBlocks).length
3997
+ }, n = ne.setDefaultLocale(e);
3998
+ return n.applied && (Y.value = t), n;
3977
3999
  } });
3978
- let re = I(() => import("./LocaleNotices-CTCZ7BYv.js")), ie = I(() => import("./CollaborationNotices-HTbCebjV.js")), ae = I(() => import("./CloudPanels-w34W8_BP.js")), oe = I(() => import("./CloudHeaderExtras-Cqhw-jMz.js")), se = I(() => import("./VersionHistoryPanels-CuKuOSJG.js")), X = gi(i.config.templates?.autoSave, !1), ce = X && A !== null;
3979
- X && A !== null && !A.canSave.value && Ln.warn("config.templates.autoSave is on but this provider's save is false — there is nothing to persist to. Give it a real save function, or use `onChange` to persist the content yourself."), i.config.changeDebounce !== void 0 && A !== null && i.config.templates?.autoSave === void 0 && !i.config.onChange && Ln.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.");
3980
- let le = i.config.onChange || ce ? {
4000
+ let re = I(() => import("./LocaleNotices-D6zk-QCL.js")), ie = I(() => import("./CollaborationNotices-DkYX-ose.js")), ae = I(() => import("./CloudPanels-DPeK_siQ.js")), oe = I(() => import("./CloudHeaderExtras-CJsXi4Ku.js")), se = I(() => import("./VersionHistoryPanels-TdGaMaa_.js")), le = _i(i.config.templates?.autoSave, !1), ue = le && A !== null;
4001
+ le && A !== null && !A.canSave.value && On.warn("config.templates.autoSave is on but this provider's save is false — there is nothing to persist to. Give it a real save function, or use `onChange` to persist the content yourself."), i.config.changeDebounce !== void 0 && A !== null && i.config.templates?.autoSave === void 0 && !i.config.onChange && On.warn("config.changeDebounce is set but nothing will use it — config.templates.autoSave is unset and there is no onChange either, so the timer has no consumer. Set config.templates.autoSave, or add onChange, so the debounce takes effect.");
4002
+ let de = i.config.onChange || ue ? {
3981
4003
  onChange: () => {
3982
- i.config.onChange?.(JSON.parse(JSON.stringify(_.state.content))), ce && A.requestAutoSave();
4004
+ i.config.onChange?.(JSON.parse(JSON.stringify(_.state.content))), ue && A.requestAutoSave();
3983
4005
  },
3984
4006
  ...i.config.changeDebounce === void 0 ? {} : { debounce: i.config.changeDebounce }
3985
- } : null, ue = {
4007
+ } : null, fe = {
3986
4008
  ...M ? { savedBlocks: M.capability } : {},
3987
4009
  ...A ? { templates: A.capability } : {},
3988
4010
  ...z ? { testEmail: z.capability } : {},
3989
- ...H ? { comments: H.capability } : {},
4011
+ ...U ? { comments: U.capability } : {},
3990
4012
  ...d ? { collaboration: d.capability } : {},
3991
- ...G ? { ai: G.capability } : {}
3992
- }, Z = dt({
4013
+ ...K ? { ai: K.capability } : {}
4014
+ }, X = rn({
3993
4015
  editor: _,
3994
4016
  containerEl: j,
3995
4017
  config: {
@@ -4011,28 +4033,28 @@ var _a = [
4011
4033
  canDropMedia: L?.canDrop ?? null,
4012
4034
  resolvePreview: i.config.resolvePreview,
4013
4035
  resolveImageUrl: i.config.resolveImageUrl,
4014
- lint: Ye(i.config),
4036
+ lint: Vt(i.config),
4015
4037
  locale: i.config.locale
4016
4038
  },
4017
4039
  translations: i.translations,
4018
4040
  fontsManager: i.fontsManager,
4019
- autoSaveOptions: le,
4020
- capabilities: ue,
4041
+ autoSaveOptions: de,
4042
+ capabilities: fe,
4021
4043
  editorRoot: i.shadowRoot,
4022
4044
  history: d?.history
4023
- }), de = S("content");
4045
+ }), pe = S("content");
4024
4046
  t(() => _.state.template?.id, () => {
4025
- _.selectedBlock.value && (de.value = "content");
4047
+ _.selectedBlock.value && (pe.value = "content");
4026
4048
  });
4027
- let fe = i.cloud && D ? i.cloud.ready({
4028
- core: Z,
4029
- capabilities: ue
4030
- }) : null, pe = i.config.versionHistory ? hi({
4049
+ let me = i.cloud && D ? i.cloud.ready({
4050
+ core: X,
4051
+ capabilities: fe
4052
+ }) : null, he = i.config.versionHistory ? gi({
4031
4053
  provider: i.config.versionHistory,
4032
- editor: Bn(_, o),
4033
- history: Z.history,
4034
- conditionPreview: Z.conditionPreview,
4035
- autoSave: Z.autoSave,
4054
+ editor: mn(_, o),
4055
+ history: X.history,
4056
+ conditionPreview: X.conditionPreview,
4057
+ autoSave: X.autoSave,
4036
4058
  collaboration: d ? {
4037
4059
  suspend: d.core.suspend,
4038
4060
  resume: d.core.resume,
@@ -4045,60 +4067,60 @@ var _a = [
4045
4067
  } : null,
4046
4068
  onError: i.config.onError
4047
4069
  }) : null;
4048
- pe && (ue.versionHistory = pe.capability);
4049
- let he = y(() => H?.isOpen.value === !0 || G !== null && G.panel.value !== null || D?.panelState.rightPanelOpen.value === !0), ge = y(() => _.state.previewMode ? "tpl:left-0 tpl:right-0" : he.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]"), _e = S(null), ve = S(0), ye = y(() => ({ top: `calc(3.5 * var(--tpl-base-size) + ${ve.value}px)` })), xe;
4070
+ he && (fe.versionHistory = he.capability);
4071
+ let ge = y(() => U?.isOpen.value === !0 || K !== null && K.panel.value !== null || D?.panelState.rightPanelOpen.value === !0), _e = y(() => _.state.previewMode ? "tpl:left-0 tpl:right-0" : ge.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]"), ve = S(null), ye = S(0), be = y(() => ({ top: `calc(3.5 * var(--tpl-base-size) + ${ye.value}px)` })), xe;
4050
4072
  e(() => {
4051
- ve.value = _e.value?.offsetHeight ?? 0, _e.value && typeof ResizeObserver < "u" && (xe = new ResizeObserver(([e]) => {
4052
- e && (ve.value = e.borderBoxSize?.[0]?.blockSize ?? e.contentRect.height);
4053
- }), xe.observe(_e.value));
4073
+ ye.value = ve.value?.offsetHeight ?? 0, ve.value && typeof ResizeObserver < "u" && (xe = new ResizeObserver(([e]) => {
4074
+ e && (ye.value = e.borderBoxSize?.[0]?.blockSize ?? e.contentRect.height);
4075
+ }), xe.observe(ve.value));
4054
4076
  }), E(() => xe?.disconnect());
4055
- let { showNotice: Se } = gt(() => i.config.smallScreenNotice);
4077
+ let { showNotice: Se } = ln(() => i.config.smallScreenNotice);
4056
4078
  e(async () => {
4057
4079
  await i.fontsManager.loadCustomFonts();
4058
4080
  }), E(() => {
4059
- i.fontsManager.cleanupFontLinks(), G?.destroy(), i.cloud?.destroy(), Z.destroy();
4081
+ i.fontsManager.cleanupFontLinks(), K?.destroy(), i.cloud?.destroy(), X.destroy();
4060
4082
  });
4061
- let Ce = A ?? _, we = Mt(Z.editorRoot);
4083
+ let Ce = A ?? _, Te = En(X.editorRoot);
4062
4084
  return r({
4063
- getLocale: () => _.activeLocale.value ?? Q(_.content.value),
4085
+ getLocale: () => _.activeLocale.value ?? Z(_.content.value),
4064
4086
  setLocale: (e) => _.setActiveLocale(e),
4065
4087
  getContent: () => _.content.value,
4066
4088
  setContent: (e) => _.setContent(e),
4067
4089
  insertBlock: (e) => {
4068
- if (_.state.previewMode) return Ln.warn("insertBlock() does nothing in preview mode."), null;
4069
- let t = ne(e);
4070
- return vi(_, t) ? (we(t.id), t.id) : null;
4090
+ if (_.state.previewMode) return On.warn("insertBlock() does nothing in preview mode."), null;
4091
+ let t = ce(e);
4092
+ return yi(_, t) ? (Te(t.id), t.id) : null;
4071
4093
  },
4072
4094
  setTheme: (e) => _.setUiTheme(e),
4073
- setMergeTags: Z.setMergeTags,
4095
+ setMergeTags: X.setMergeTags,
4074
4096
  isDirty: () => _.state.isDirty,
4075
4097
  create: Ce.create,
4076
4098
  load: Ce.load,
4077
4099
  save: Ce.save,
4078
- renderCustomBlock: Z.registry.renderCustomBlock,
4079
- getCustomBlockStylesheet: (e) => Z.registry.getDefinition(e)?.stylesheet
4100
+ renderCustomBlock: X.registry.renderCustomBlock,
4101
+ getCustomBlockStylesheet: (e) => X.registry.getDefinition(e)?.stylesheet
4080
4102
  }), (e, t) => (s(), C("div", {
4081
4103
  ref_key: "rootEl",
4082
4104
  ref: j,
4083
4105
  class: c(["tpl tpl:relative tpl:h-full", { "tpl:dark": b(_).state.darkMode }]),
4084
- "data-tpl-theme": b(Z).resolvedTheme.value,
4085
- style: f(b(Z).themeStyles.value),
4106
+ "data-tpl-theme": b(X).resolvedTheme.value,
4107
+ style: f(b(X).themeStyles.value),
4086
4108
  onDragover: t[8] ||= B(() => {}, ["prevent"]),
4087
4109
  onDrop: t[9] ||= B(() => {}, ["prevent"])
4088
4110
  }, [
4089
- v(Ni),
4090
- O("div", Po, [
4091
- v(Wa, {
4111
+ v(Pi),
4112
+ O("div", Fo, [
4113
+ v(Ga, {
4092
4114
  editor: b(_),
4093
4115
  localization: i.config.localization,
4094
- core: b(Z),
4116
+ core: b(X),
4095
4117
  templates: b(A),
4096
4118
  "show-template-name": n.config.templates?.nameField !== !1,
4097
4119
  "test-email": b(z),
4098
- "version-history": b(pe),
4099
- comments: b(H),
4120
+ "version-history": b(he),
4121
+ comments: b(U),
4100
4122
  collaboration: b(d),
4101
- ai: b(G)
4123
+ ai: b(K)
4102
4124
  }, k({ _: 2 }, [b(D) ? {
4103
4125
  name: "left-extras",
4104
4126
  fn: h(() => [v(b(oe), {
@@ -4125,31 +4147,31 @@ var _a = [
4125
4147
  "collaboration",
4126
4148
  "ai"
4127
4149
  ]),
4128
- g(v(Ui, { style: f(ye.value) }, null, 8, ["style"]), [[ee, !b(_).state.previewMode]]),
4150
+ g(v(Wi, { style: f(be.value) }, null, 8, ["style"]), [[H, !b(_).state.previewMode]]),
4129
4151
  O("div", {
4130
- class: c(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", ge.value]),
4131
- style: f([{ transition: "left var(--tpl-transition),\n right var(--tpl-transition)" }, ye.value])
4132
- }, [O("div", Fo, [O("div", Io, [v(U, { name: "tpl-preview-pill" }, {
4133
- default: h(() => [b(_).state.previewMode && !b(Z).previewResolution.supersedesSamples.value ? (s(), C("div", Lo, [v(Ht, {
4134
- "sample-mode": b(Z).mergeTagSampleMode.value,
4135
- onChange: t[0] ||= (e) => b(Z).mergeTagSampleMode.value = e
4152
+ class: c(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", _e.value]),
4153
+ style: f(be.value)
4154
+ }, [O("div", Io, [O("div", Lo, [v(W, { name: "tpl-preview-pill" }, {
4155
+ default: h(() => [b(_).state.previewMode && !b(X).previewResolution.supersedesSamples.value ? (s(), C("div", Ro, [v(Vn, {
4156
+ "sample-mode": b(X).mergeTagSampleMode.value,
4157
+ onChange: t[0] ||= (e) => b(X).mergeTagSampleMode.value = e
4136
4158
  }, null, 8, ["sample-mode"])])) : x("", !0)]),
4137
4159
  _: 1
4138
- }), v(U, { name: "tpl-preview-pill" }, {
4139
- default: h(() => [b(Z).conditionPreview.hasHiddenBlocks.value && b(Z).appliesConditionFilter.value ? (s(), C("button", {
4160
+ }), v(W, { name: "tpl-preview-pill" }, {
4161
+ default: h(() => [b(X).conditionPreview.hasHiddenBlocks.value && b(X).appliesConditionFilter.value ? (s(), C("button", {
4140
4162
  key: 0,
4141
4163
  type: "button",
4142
- class: c([b(Dn), "tpl:shadow-[var(--tpl-shadow-md)]"]),
4164
+ class: c([b(Et), "tpl:shadow-[var(--tpl-shadow-md)]"]),
4143
4165
  "data-testid": "restore-hidden-blocks",
4144
- onClick: t[1] ||= (e) => b(Z).conditionPreview.reset()
4145
- }, [v(b(Lt), {
4166
+ onClick: t[1] ||= (e) => b(X).conditionPreview.reset()
4167
+ }, [v(b(kn), {
4146
4168
  size: 16,
4147
4169
  "stroke-width": 2
4148
- }), w(" " + a(b(Z).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : x("", !0)]),
4170
+ }), w(" " + a(b(X).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : x("", !0)]),
4149
4171
  _: 1
4150
- })])]), O("main", Ro, [v(Mi, {
4172
+ })])]), O("main", zo, [v(Ni, {
4151
4173
  viewport: b(_).state.viewport,
4152
- content: b(Z).previewResolution.content.value,
4174
+ content: b(X).previewResolution.content.value,
4153
4175
  "selected-block-id": b(_).state.selectedBlockId,
4154
4176
  "dark-mode": b(_).state.darkMode,
4155
4177
  "preview-mode": b(_).state.previewMode,
@@ -4162,30 +4184,30 @@ var _a = [
4162
4184
  "preview-mode",
4163
4185
  "onSelectBlock"
4164
4186
  ])])], 6),
4165
- n.config.branding === !1 ? x("", !0) : (s(), F(pa, {
4187
+ n.config.branding === !1 ? x("", !0) : (s(), F(ma, {
4166
4188
  key: 0,
4167
- "position-class": [ge.value]
4189
+ "position-class": [_e.value]
4168
4190
  }, null, 8, ["position-class"])),
4169
4191
  O("div", {
4170
4192
  class: "tpl-sr-only",
4171
4193
  role: "status",
4172
4194
  "aria-live": "polite",
4173
4195
  "aria-atomic": "true",
4174
- "aria-label": b(Z).t.landmarks.reorderAnnouncements
4175
- }, a(b(Z).keyboardReorder.announcement.value), 9, zo),
4176
- g(v(oa, {
4177
- tab: de.value,
4178
- "onUpdate:tab": t[2] ||= (e) => de.value = e,
4179
- style: f([ye.value, { "transition-property": "right" }]),
4196
+ "aria-label": b(X).t.landmarks.reorderAnnouncements
4197
+ }, a(b(X).keyboardReorder.announcement.value), 9, Bo),
4198
+ g(v(sa, {
4199
+ tab: pe.value,
4200
+ "onUpdate:tab": t[2] ||= (e) => pe.value = e,
4201
+ style: f(be.value),
4180
4202
  "selected-block": b(_).selectedBlock.value ? b(T).displayBlock(b(_).selectedBlock.value) : null,
4181
4203
  settings: b(T).settings.value,
4182
- "shifted-left": he.value,
4204
+ "shifted-left": ge.value,
4183
4205
  onUpdateBlock: t[3] ||= (e) => b(_).updateBlock(b(_).state.selectedBlockId, e),
4184
4206
  onDeleteBlock: t[4] ||= () => {
4185
- b(_).state.selectedBlockId && b(Z).blockActions.deleteBlock(b(_).state.selectedBlockId);
4207
+ b(_).state.selectedBlockId && b(X).blockActions.deleteBlock(b(_).state.selectedBlockId);
4186
4208
  },
4187
4209
  onDuplicateBlock: t[5] ||= () => {
4188
- b(_).selectedBlock.value && b(Z).blockActions.duplicateBlock(b(_).selectedBlock.value);
4210
+ b(_).selectedBlock.value && b(X).blockActions.duplicateBlock(b(_).selectedBlock.value);
4189
4211
  },
4190
4212
  onUpdateSettings: t[6] ||= (e) => b(_).updateSettings(e)
4191
4213
  }, null, 8, [
@@ -4194,19 +4216,19 @@ var _a = [
4194
4216
  "selected-block",
4195
4217
  "settings",
4196
4218
  "shifted-left"
4197
- ]), [[ee, !b(_).state.previewMode]]),
4219
+ ]), [[H, !b(_).state.previewMode]]),
4198
4220
  O("div", {
4199
4221
  ref_key: "topChrome",
4200
- ref: _e,
4222
+ ref: ve,
4201
4223
  class: "tpl-top-chrome tpl:absolute tpl:top-14 tpl:right-0 tpl:left-0 tpl:z-40"
4202
- }, [b(pe)?.isAvailable.value ? (s(), F(b(se), {
4224
+ }, [b(he)?.isAvailable.value ? (s(), F(b(se), {
4203
4225
  key: 0,
4204
- feature: b(pe)
4205
- }, null, 8, ["feature"])) : x("", !0), n.config.localization ? (s(), F(Ar, {
4226
+ feature: b(he)
4227
+ }, null, 8, ["feature"])) : x("", !0), n.config.localization ? (s(), F(jr, {
4206
4228
  key: 1,
4207
4229
  editor: b(_),
4208
4230
  locales: n.config.localization.locales,
4209
- feature: b(q),
4231
+ feature: b(J),
4210
4232
  change: m.value
4211
4233
  }, null, 8, [
4212
4234
  "editor",
@@ -4216,11 +4238,11 @@ var _a = [
4216
4238
  ])) : x("", !0)], 512)
4217
4239
  ]),
4218
4240
  O("div", {
4219
- ref: (e) => b(Z).popoverRoot.value = e,
4241
+ ref: (e) => b(X).popoverRoot.value = e,
4220
4242
  class: "tpl-popover-root"
4221
4243
  }, null, 512),
4222
- v(uo),
4223
- v(Mo),
4244
+ v(fo),
4245
+ v(No),
4224
4246
  b(M)?.isAvailable.value ? (s(), F(b(P), {
4225
4247
  key: 0,
4226
4248
  feature: b(M)
@@ -4230,8 +4252,8 @@ var _a = [
4230
4252
  feature: b(L),
4231
4253
  provider: n.config.media,
4232
4254
  locale: n.config.locale,
4233
- "ui-theme": b(Z).resolvedTheme.value,
4234
- "popover-target": b(Z).popoverRoot.value
4255
+ "ui-theme": b(X).resolvedTheme.value,
4256
+ "popover-target": b(X).popoverRoot.value
4235
4257
  }, null, 8, [
4236
4258
  "feature",
4237
4259
  "provider",
@@ -4243,32 +4265,32 @@ var _a = [
4243
4265
  key: 2,
4244
4266
  feature: b(z)
4245
4267
  }, null, 8, ["feature"])) : x("", !0),
4246
- b(H)?.isAvailable.value ? (s(), F(b(W), {
4268
+ b(U)?.isAvailable.value ? (s(), F(b(G), {
4247
4269
  key: 3,
4248
- feature: b(H)
4270
+ feature: b(U)
4249
4271
  }, null, 8, ["feature"])) : x("", !0),
4250
- b(G) ? (s(), F(b(te), {
4272
+ b(K) ? (s(), F(b(ee), {
4251
4273
  key: 4,
4252
- feature: b(G)
4274
+ feature: b(K)
4253
4275
  }, null, 8, ["feature"])) : x("", !0),
4254
- b(d) || J.value ? (s(), F(rr, { key: 5 }, {
4276
+ b(d) || Y.value ? (s(), F(ir, { key: 5 }, {
4255
4277
  default: h(() => [b(d) ? (s(), F(b(ie), {
4256
4278
  key: 0,
4257
4279
  feature: b(d)
4258
- }, null, 8, ["feature"])) : x("", !0), J.value ? (s(), F(b(re), {
4280
+ }, null, 8, ["feature"])) : x("", !0), Y.value ? (s(), F(b(re), {
4259
4281
  key: 1,
4260
- notice: J.value,
4261
- onDismiss: t[7] ||= (e) => J.value = null
4282
+ notice: Y.value,
4283
+ onDismiss: t[7] ||= (e) => Y.value = null
4262
4284
  }, null, 8, ["notice"])) : x("", !0)]),
4263
4285
  _: 1
4264
4286
  })) : x("", !0),
4265
- n.cloud && b(D) && b(fe) ? (s(), F(b(ae), {
4287
+ n.cloud && b(D) && b(me) ? (s(), F(b(ae), {
4266
4288
  key: 6,
4267
4289
  editor: b(_),
4268
- core: b(Z),
4290
+ core: b(X),
4269
4291
  runtime: n.cloud,
4270
4292
  cloud: b(D),
4271
- ready: b(fe)
4293
+ ready: b(me)
4272
4294
  }, null, 8, [
4273
4295
  "editor",
4274
4296
  "core",
@@ -4276,23 +4298,23 @@ var _a = [
4276
4298
  "cloud",
4277
4299
  "ready"
4278
4300
  ])) : x("", !0),
4279
- b(Se) ? (s(), F(da, { key: 7 })) : x("", !0)
4280
- ], 46, No));
4301
+ b(Se) ? (s(), F(fa, { key: 7 })) : x("", !0)
4302
+ ], 46, Po));
4281
4303
  }
4282
- }), [["__scopeId", "data-v-e3760a37"]]), Vo = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
4283
- function Ho(e) {
4284
- return e.replace(Vo, "");
4304
+ }), [["__scopeId", "data-v-d30a2d38"]]), Ho = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
4305
+ function Uo(e) {
4306
+ return e.replace(Ho, "");
4285
4307
  }
4286
4308
  // src/utils/renderProvider.ts
4287
- function Uo(e) {
4309
+ function Wo(e) {
4288
4310
  return {
4289
4311
  customFonts: e.customFonts.value,
4290
4312
  defaultFallback: e.defaultFallback.value
4291
4313
  };
4292
4314
  }
4293
- async function Wo(e, t) {
4294
- let n = be(e.getContent()), r = t?.locale ?? Q(n), i = t?.locale !== void 0 || n.settings?.locales?.length ? q(n, r) : n, a = e.getLayout?.(), o = a ? we(q(a, r, { missing: "default" }), i) : i;
4295
- return a || (se(o), K(o)), await Zn(o, {
4315
+ async function Go(e, t) {
4316
+ let n = we(e.getContent()), r = t?.locale ?? Z(n), i = t?.locale !== void 0 || n.settings?.locales?.length ? Fe(n, r) : n, a = e.getLayout?.(), o = a ? xe(Fe(a, r, { missing: "default" }), i) : i;
4317
+ return a || (X(o), de(o)), await Qn(o, {
4296
4318
  renderCustomBlock: e.renderCustomBlock,
4297
4319
  getCustomBlockStylesheet: e.getCustomBlockStylesheet
4298
4320
  }), {
@@ -4300,7 +4322,7 @@ async function Wo(e, t) {
4300
4322
  fonts: e.getFonts()
4301
4323
  };
4302
4324
  }
4303
- function Go(e) {
4325
+ function Ko(e) {
4304
4326
  async function t(t) {
4305
4327
  let n = e.provider, r = n?.toMjml?.bind(n);
4306
4328
  return r ? r(await e.buildPayload(t)) : e.renderLocalMjml(t);
@@ -4326,69 +4348,69 @@ function Go(e) {
4326
4348
  };
4327
4349
  }
4328
4350
  // \0virtual:editor-css
4329
- var Ko = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-e61f3b63]{height:3px;width:100%;border-radius:9999px;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 15%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 30%,var(--tpl-primary) 50%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 70%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 85%,transparent 100%);background-size:200% 100%;animation:tpl-loading-flow-e61f3b63 3s ease-in-out infinite}@keyframes tpl-loading-flow-e61f3b63{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track[data-v-e61f3b63]{animation:none;background-position:50% 0}}.tpl-locale-chip[data-state=changed][data-v-3343ae7d]{color:var(--tpl-secondary)}.tpl-locale-chip[data-state=missing][data-v-3343ae7d],.tpl-locale-chip[data-state=stale][data-v-3343ae7d],.tpl-locale-chip[data-state=tags-differ][data-v-3343ae7d]{color:var(--tpl-warning)}.tpl-block--locale-hidden>.tpl-email-surface[data-v-872194d3]{opacity:.35}.tpl-block--idle[data-v-872194d3]{outline:1.5px dashed color-mix(in srgb,var(--tpl-primary) 30%,transparent);outline-offset:-1px;transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--idle[data-v-872194d3]:hover{outline:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent);outline-offset:-1px;box-shadow:0 0 8px color-mix(in srgb,var(--tpl-primary) 8%,transparent)}.tpl-block--picked[data-v-872194d3]{outline:2px solid var(--tpl-primary);outline-offset:-1px;box-shadow:0 0 0 4px color-mix(in srgb,var(--tpl-primary) 18%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--selected[data-v-872194d3]{outline:2px solid color-mix(in srgb,var(--tpl-primary) 60%,transparent);outline-offset:-1px;box-shadow:0 0 12px color-mix(in srgb,var(--tpl-primary) 15%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block-action-btn[data-v-872194d3]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-872194d3]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-872194d3]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-block-agent-highlight[data-v-872194d3]{outline:2px solid var(--tpl-secondary);outline-offset:-1px;animation:tpl-agent-highlight-872194d3 2s ease-out forwards}@keyframes tpl-agent-highlight-872194d3{0%,50%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.tpl-block-agent-highlight[data-v-872194d3]{animation:none}}.tpl-table-editable[data-v-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-c72f1327] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-c72f1327] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-c72f1327] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-c72f1327] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-c72f1327] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-c72f1327] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-c72f1327] .tpl-email-surface .tpl-has-bg-image:before{content:\"\";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:var(--tpl-block-bg-layer, none);filter:invert(1) hue-rotate(180deg)}.tpl-icon-enter-active[data-v-632aa74f],.tpl-icon-leave-active[data-v-632aa74f]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-632aa74f],.tpl-icon-leave-to[data-v-632aa74f]{opacity:0;transform:scale(.8)}.tpl-dark-mode-toggle[data-v-632aa74f]:hover{background-color:var(--tpl-bg-hover)}.tpl-dark-mode-toggle[data-v-632aa74f]:active{transform:scale(.92)}.tpl-icon-enter-active[data-v-eef7b2ca],.tpl-icon-leave-active[data-v-eef7b2ca]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-eef7b2ca],.tpl-icon-leave-to[data-v-eef7b2ca]{opacity:0;transform:scale(.8)}.tpl-preview-toggle[data-v-eef7b2ca]:hover{background-color:var(--tpl-bg-hover)}.tpl-preview-toggle[data-v-eef7b2ca]:active{transform:scale(.92)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:pointer-events-auto{pointer-events:auto}.tpl\\:pointer-events-none{pointer-events:none}.tpl\\:invisible{visibility:hidden}.tpl\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl\\:absolute{position:absolute}.tpl\\:fixed{position:fixed}.tpl\\:relative{position:relative}.tpl\\:sticky{position:sticky}.tpl\\:inset-0{inset:0}.tpl\\:inset-x-0{inset-inline:0}.tpl\\:inset-y-1{inset-block:calc(var(--tpl-base-size) / 4)}.tpl\\:inset-s-full{inset-inline-start:100%}.tpl\\:inset-e-1{inset-inline-end:calc(var(--tpl-base-size) / 4)}.tpl\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-top-2{top:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-full{top:100%}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:left-full{left:100%}.tpl\\:z-10{z-index:10}.tpl\\:z-20{z-index:20}.tpl\\:z-40{z-index:40}.tpl\\:z-50{z-index:50}.tpl\\:z-\\[4\\]{z-index:4}.tpl\\:z-\\[5\\]{z-index:5}.tpl\\:z-\\[60\\]{z-index:60}.tpl\\:z-\\[100\\]{z-index:100}.tpl\\:z-\\[10000\\]{z-index:10000}.tpl\\:m-0{margin:0}.tpl\\:m-6{margin:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-0\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mx-1{margin-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:mx-1\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mx-3{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mx-4{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mx-6{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-auto{margin-inline:auto}.tpl\\:ms-2{margin-inline-start:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-0\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mt-1{margin-top:calc(var(--tpl-base-size) / 4)}.tpl\\:mt-1\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mt-2{margin-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-3{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mt-3\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mt-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:-mr-1\\.5{margin-right:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.tpl\\:mr-2{margin-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-0{margin-bottom:0}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-1\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.tpl\\:-ml-48{margin-left:calc(calc(var(--tpl-base-size) / 4) * -48)}.tpl\\:ml-0{margin-left:0}.tpl\\:ml-0\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:ml-1{margin-left:calc(var(--tpl-base-size) / 4)}.tpl\\:ml-5{margin-left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:ml-auto{margin-left:auto}.tpl\\:box-border{box-sizing:border-box}.tpl\\:line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:\\!flex{display:flex!important}.tpl\\:block{display:block}.tpl\\:contents{display:contents}.tpl\\:flex{display:flex}.tpl\\:grid{display:grid}.tpl\\:inline{display:inline}.tpl\\:inline-block{display:inline-block}.tpl\\:inline-flex{display:inline-flex}.tpl\\:aspect-square{aspect-ratio:1}.tpl\\:size-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5);height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:size-2{width:calc(calc(var(--tpl-base-size) / 4) * 2);height:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:size-4{width:calc(calc(var(--tpl-base-size) / 4) * 4);height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:size-4\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 4.5);height:calc(calc(var(--tpl-base-size) / 4) * 4.5)}.tpl\\:size-5{width:calc(calc(var(--tpl-base-size) / 4) * 5);height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:size-6{width:calc(calc(var(--tpl-base-size) / 4) * 6);height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:size-7{width:calc(calc(var(--tpl-base-size) / 4) * 7);height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:size-8{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:size-10{width:calc(calc(var(--tpl-base-size) / 4) * 10);height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:size-16{width:calc(calc(var(--tpl-base-size) / 4) * 16);height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:size-full{width:100%;height:100%}.tpl\\:h-0{height:0}.tpl\\:h-1\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:h-2\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:h-3{height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:h-4{height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:h-5{height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:h-6{height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:h-7{height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:h-8{height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:h-9{height:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:h-10{height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:h-12{height:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:h-14{height:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:h-16{height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:h-32{height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:h-44{height:calc(calc(var(--tpl-base-size) / 4) * 44)}.tpl\\:h-\\[32px\\]{height:32px}.tpl\\:h-full{height:100%}.tpl\\:max-h-24{max-height:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:max-h-32{max-height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:max-h-48{max-height:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:max-h-56{max-height:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:max-h-64{max-height:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:max-h-\\[50vh\\]{max-height:50vh}.tpl\\:max-h-\\[60vh\\]{max-height:60vh}.tpl\\:max-h-\\[80\\%\\]{max-height:80%}.tpl\\:max-h-\\[80vh\\]{max-height:80vh}.tpl\\:max-h-\\[90\\%\\]{max-height:90%}.tpl\\:max-h-\\[90vh\\]{max-height:90vh}.tpl\\:max-h-full{max-height:100%}.tpl\\:min-h-0{min-height:0}.tpl\\:min-h-6{min-height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-h-10{min-height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:min-h-20{min-height:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:min-h-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[34px\\]{min-height:34px}.tpl\\:min-h-\\[44px\\]{min-height:44px}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.tpl\\:min-h-\\[80px\\]{min-height:80px}.tpl\\:min-h-\\[100px\\]{min-height:100px}.tpl\\:min-h-\\[120px\\]{min-height:120px}.tpl\\:min-h-\\[150px\\]{min-height:150px}.tpl\\:min-h-\\[400px\\]{min-height:400px}.tpl\\:w-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:w-1\\/2{width:50%}.tpl\\:w-1\\/3{width:33.3333%}.tpl\\:w-1\\/4{width:25%}.tpl\\:w-2\\/3{width:66.6667%}.tpl\\:w-3{width:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:w-3\\/4{width:75%}.tpl\\:w-5\\/6{width:83.3333%}.tpl\\:w-7{width:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:w-8{width:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:w-9{width:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:w-10{width:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:w-12{width:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:w-16{width:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:w-20{width:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:w-24{width:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:w-28{width:calc(calc(var(--tpl-base-size) / 4) * 28)}.tpl\\:w-32{width:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:w-36{width:calc(calc(var(--tpl-base-size) / 4) * 36)}.tpl\\:w-40{width:calc(calc(var(--tpl-base-size) / 4) * 40)}.tpl\\:w-48{width:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:w-52{width:calc(calc(var(--tpl-base-size) / 4) * 52)}.tpl\\:w-56{width:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:w-64{width:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-80{width:calc(calc(var(--tpl-base-size) / 4) * 80)}.tpl\\:w-96{width:calc(calc(var(--tpl-base-size) / 4) * 96)}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.tpl\\:w-\\[420px\\]{width:420px}.tpl\\:w-\\[1000px\\]{width:1000px}.tpl\\:w-\\[min\\(420px\\,92vw\\)\\]{width:min(420px,92vw)}.tpl\\:w-full{width:100%}.tpl\\:w-px{width:1px}.tpl\\:max-w-2xl{max-width:calc(42 * var(--tpl-base-size))}.tpl\\:max-w-3xl{max-width:calc(48 * var(--tpl-base-size))}.tpl\\:max-w-\\[220px\\]{max-width:220px}.tpl\\:max-w-\\[240px\\]{max-width:240px}.tpl\\:max-w-\\[260px\\]{max-width:260px}.tpl\\:max-w-\\[320px\\]{max-width:320px}.tpl\\:max-w-\\[600px\\]{max-width:600px}.tpl\\:max-w-\\[calc\\(100\\%_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100% - 2 * var(--tpl-base-size))}.tpl\\:max-w-\\[calc\\(100vw_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100vw - 2 * var(--tpl-base-size))}.tpl\\:max-w-full{max-width:100%}.tpl\\:max-w-md{max-width:calc(28 * var(--tpl-base-size))}.tpl\\:max-w-sm{max-width:calc(24 * var(--tpl-base-size))}.tpl\\:min-w-0{min-width:0}.tpl\\:min-w-6{min-width:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-w-\\[20px\\]{min-width:20px}.tpl\\:min-w-\\[200px\\]{min-width:200px}.tpl\\:flex-1{flex:1}.tpl\\:flex-shrink-0,.tpl\\:shrink-0{flex-shrink:0}.tpl\\:grow{flex-grow:1}.tpl\\:basis-64{flex-basis:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-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-\\[minmax\\(0\\,1fr\\)_auto_minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-row-reverse{flex-direction:row-reverse}.tpl\\:flex-wrap{flex-wrap:wrap}.tpl\\:items-center{align-items:center}.tpl\\:items-end{align-items:flex-end}.tpl\\:items-start{align-items:flex-start}.tpl\\:items-stretch{align-items:stretch}.tpl\\:justify-between{justify-content:space-between}.tpl\\:justify-center{justify-content:center}.tpl\\:justify-end{justify-content:flex-end}.tpl\\:gap-0{gap:0}.tpl\\:gap-0\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-1{gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-1\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-2{gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:gap-2\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:gap-3{gap:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:gap-3\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:gap-4{gap:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:gap-5{gap:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:gap-6{gap:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:gap-10{gap:calc(calc(var(--tpl-base-size) / 4) * 10)}:where(.tpl\\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--tpl-base-size) / 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--tpl-base-size) / 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * calc(1 - var(--tw-space-y-reverse)))}.tpl\\:gap-x-1{column-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-x-3{column-gap:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:gap-x-6{column-gap:calc(calc(var(--tpl-base-size) / 4) * 6)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1{row-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-y-2{row-gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:2147483647px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:calc(.75 * var(--tpl-base-size))}.tpl\\:rounded-l-\\[var\\(--tpl-radius-sm\\)\\]{border-top-left-radius:var(--tpl-radius-sm);border-bottom-left-radius:var(--tpl-radius-sm)}.tpl\\:rounded-tl-lg{border-top-left-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-r-\\[var\\(--tpl-radius-sm\\)\\]{border-top-right-radius:var(--tpl-radius-sm);border-bottom-right-radius:var(--tpl-radius-sm)}.tpl\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.tpl\\:border{border-style:var(--tw-border-style);border-width:1px}.tpl\\:border-0{border-style:var(--tw-border-style);border-width:0}.tpl\\:border-2{border-style:var(--tw-border-style);border-width:2px}.tpl\\:border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.tpl\\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.tpl\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.tpl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.tpl\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.tpl\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tpl\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.tpl\\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.tpl\\:border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.tpl\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.tpl\\:border-none{--tw-border-style:none;border-style:none}.tpl\\:border-\\[var\\(--tpl-bg\\)\\]{border-color:var(--tpl-bg)}.tpl\\:border-\\[var\\(--tpl-border\\)\\]{border-color:var(--tpl-border)}.tpl\\:border-\\[var\\(--tpl-border-light\\)\\]{border-color:var(--tpl-border-light)}.tpl\\:border-\\[var\\(--tpl-danger\\)\\]{border-color:var(--tpl-danger)}.tpl\\:border-\\[var\\(--tpl-primary\\)\\]{border-color:var(--tpl-primary)}.tpl\\:border-\\[var\\(--tpl-primary-hover\\)\\]{border-color:var(--tpl-primary-hover)}.tpl\\:border-\\[var\\(--tpl-warning\\)\\]{border-color:var(--tpl-warning)}.tpl\\:border-transparent{border-color:#0000}.tpl\\:border-l-\\[var\\(--tpl-primary\\)\\]{border-left-color:var(--tpl-primary)}.tpl\\:border-l-transparent{border-left-color:#0000}.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:var(--tpl-bg)}@supports (color:color-mix(in lab,red,red)){.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:color-mix(in srgb,var(--tpl-bg) 90%,transparent)}}.tpl\\:bg-\\[var\\(--tpl-bg\\)\\]{background-color:var(--tpl-bg)}.tpl\\:bg-\\[var\\(--tpl-bg-active\\)\\]{background-color:var(--tpl-bg-active)}.tpl\\:bg-\\[var\\(--tpl-bg-elevated\\)\\]{background-color:var(--tpl-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-bg-hover\\)\\]{background-color:var(--tpl-bg-hover)}.tpl\\:bg-\\[var\\(--tpl-border\\)\\]{background-color:var(--tpl-border)}.tpl\\:bg-\\[var\\(--tpl-canvas-bg\\)\\]{background-color:var(--tpl-canvas-bg)}.tpl\\:bg-\\[var\\(--tpl-chrome-bg-elevated\\)\\]{background-color:var(--tpl-chrome-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-chrome-primary-light\\)\\]{background-color:var(--tpl-chrome-primary-light)}.tpl\\:bg-\\[var\\(--tpl-danger\\)\\]{background-color:var(--tpl-danger)}.tpl\\:bg-\\[var\\(--tpl-danger-light\\)\\]{background-color:var(--tpl-danger-light)}.tpl\\:bg-\\[var\\(--tpl-primary\\)\\]{background-color:var(--tpl-primary)}.tpl\\:bg-\\[var\\(--tpl-primary-light\\)\\]{background-color:var(--tpl-primary-light)}.tpl\\:bg-\\[var\\(--tpl-secondary-light\\)\\]{background-color:var(--tpl-secondary-light)}.tpl\\:bg-\\[var\\(--tpl-text-dim\\)\\]{background-color:var(--tpl-text-dim)}.tpl\\:bg-\\[var\\(--tpl-warning-light\\)\\]{background-color:var(--tpl-warning-light)}.tpl\\:bg-black\\/30{background-color:oklab(0% none none/.3)}.tpl\\:bg-transparent{background-color:#0000}.tpl\\:object-contain{object-fit:contain}.tpl\\:object-cover{object-fit:cover}.tpl\\:p-0{padding:0}.tpl\\:p-0\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:p-1{padding:calc(var(--tpl-base-size) / 4)}.tpl\\:p-1\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:p-2{padding:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:p-3{padding:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:p-4{padding:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:p-5{padding:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:p-6{padding:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:p-8{padding:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-0\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:px-1{padding-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:px-1\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:px-2{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:px-2\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:px-3{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:px-3\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:px-4{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:px-5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:px-6{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:px-8{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-10{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-0{padding-block:0}.tpl\\:py-0\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:py-1{padding-block:calc(var(--tpl-base-size) / 4)}.tpl\\:py-1\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:py-2{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:py-2\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:py-3{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:py-3\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:py-4{padding-block:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:py-5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:py-6{padding-block:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:py-8{padding-block:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:py-10{padding-block:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-12{padding-block:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:py-16{padding-block:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:py-\\[5px\\]{padding-block:5px}.tpl\\:py-\\[7px\\]{padding-block:7px}.tpl\\:py-px{padding-block:1px}.tpl\\:pt-2{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pt-2\\.5{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pt-3{padding-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pt-4{padding-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-2{padding-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pr-3{padding-right:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pr-4{padding-right:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-7{padding-right:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:pr-8{padding-right:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pb-1{padding-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:pb-1\\.5{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:pb-3{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pb-4{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-2\\.5{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pl-3{padding-left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pl-4{padding-left:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-8{padding-left:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pl-9{padding-left:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:pl-\\[18px\\]{padding-left:18px}.tpl\\:text-center{text-align:center}.tpl\\:text-left{text-align:left}.tpl\\:font-\\[inherit\\]{font-family:inherit}.tpl\\:font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tpl\\:font-sans{font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tpl\\:text-base{font-size:var(--tpl-base-size);line-height:var(--tw-leading, 1.5 )}.tpl\\:text-lg{font-size:calc(1.125 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.75 / 1.125))}.tpl\\:text-sm{font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875))}.tpl\\:text-xs{font-size:calc(.75 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1 / .75))}.tpl\\:text-\\[0\\.8em\\]{font-size:.8em}.tpl\\:text-\\[0\\.9em\\]{font-size:.9em}.tpl\\:text-\\[1em\\]{font-size:1em}.tpl\\:text-\\[10px\\]{font-size:10px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size:inherit}.tpl\\:leading-\\[inherit\\]{--tw-leading:inherit;line-height:inherit}.tpl\\:leading-none{--tw-leading:1;line-height:1}.tpl\\:leading-normal{--tw-leading:1.5;line-height:1.5}.tpl\\:leading-relaxed{--tw-leading:1.625;line-height:1.625}.tpl\\:leading-snug{--tw-leading:1.375;line-height:1.375}.tpl\\:leading-tight{--tw-leading:1.25;line-height:1.25}.tpl\\:font-\\[var\\(--tpl-font-family\\)\\]{--tw-font-weight:var(--tpl-font-family);font-weight:var(--tpl-font-family)}.tpl\\:font-bold{--tw-font-weight:700;font-weight:700}.tpl\\:font-medium{--tw-font-weight:500;font-weight:500}.tpl\\:font-normal{--tw-font-weight:400;font-weight:400}.tpl\\:font-semibold{--tw-font-weight:600;font-weight:600}.tpl\\:tracking-wide{--tw-tracking:.025em;letter-spacing:.025em}.tpl\\:tracking-wider{--tw-tracking:.05em;letter-spacing:.05em}.tpl\\:break-words{overflow-wrap:break-word}.tpl\\:break-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-normal{white-space:normal}.tpl\\:whitespace-nowrap{white-space:nowrap}.tpl\\:whitespace-pre-wrap{white-space:pre-wrap}.tpl\\:text-\\[var\\(--tpl-bg\\)\\]{color:var(--tpl-bg)}.tpl\\:text-\\[var\\(--tpl-border-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text\\)\\]{color:var(--tpl-chrome-text)}.tpl\\:text-\\[var\\(--tpl-chrome-text-dim\\)\\]{color:var(--tpl-chrome-text-dim)}.tpl\\:text-\\[var\\(--tpl-chrome-text-muted\\)\\]{color:var(--tpl-chrome-text-muted)}.tpl\\:text-\\[var\\(--tpl-danger\\)\\]{color:var(--tpl-danger)}.tpl\\:text-\\[var\\(--tpl-on-primary\\)\\]{color:var(--tpl-on-primary)}.tpl\\:text-\\[var\\(--tpl-primary\\)\\]{color:var(--tpl-primary)}.tpl\\:text-\\[var\\(--tpl-primary-hover\\)\\]{color:var(--tpl-primary-hover)}.tpl\\:text-\\[var\\(--tpl-success\\)\\]{color:var(--tpl-success)}.tpl\\:text-\\[var\\(--tpl-success\\,var\\(--tpl-primary\\)\\)\\]{color:var(--tpl-success,var(--tpl-primary))}.tpl\\:text-\\[var\\(--tpl-text\\)\\]{color:var(--tpl-text)}.tpl\\:text-\\[var\\(--tpl-text-dim\\)\\]{color:var(--tpl-text-dim)}.tpl\\:text-\\[var\\(--tpl-text-muted\\)\\]{color:var(--tpl-text-muted)}.tpl\\:text-\\[var\\(--tpl-warning\\)\\]{color:var(--tpl-warning)}.tpl\\:normal-case{text-transform:none}.tpl\\:uppercase{text-transform:uppercase}.tpl\\:italic{font-style:italic}.tpl\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.tpl\\:no-underline{text-decoration-line:none}.tpl\\:underline{text-decoration-line:underline}.tpl\\:underline-offset-2{text-underline-offset:2px}.tpl\\:accent-\\[var\\(--tpl-primary\\)\\]{accent-color:var(--tpl-primary)}.tpl\\:opacity-0{opacity:0}.tpl\\:opacity-50{opacity:.5}.tpl\\:opacity-60{opacity:.6}.tpl\\:opacity-70{opacity:.7}.tpl\\:opacity-90{opacity:.9}.tpl\\:opacity-100{opacity:1}.tpl\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-ring\\)\\]{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow\\)\\]{--tw-shadow:var(--tpl-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-lg\\)\\]{--tw-shadow:var(--tpl-shadow-lg);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-\\[var\\(--tpl-border\\)\\]{--tw-ring-color:var(--tpl-border)}.tpl\\:ring-\\[var\\(--tpl-primary\\)\\]{--tw-ring-color:var(--tpl-primary)}.tpl\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )}.tpl\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.tpl\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.tpl\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.tpl\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.tpl\\:duration-\\[80ms\\]{--tw-duration:80ms;transition-duration:80ms}.tpl\\:duration-\\[120ms\\]{--tw-duration:.12s;transition-duration:.12s}.tpl\\:ease-\\[cubic-bezier\\(0\\.16\\,1\\,0\\.3\\,1\\)\\]{--tw-ease:cubic-bezier(.16,1,.3,1);transition-timing-function:cubic-bezier(.16,1,.3,1)}.tpl\\:ease-in{--tw-ease:cubic-bezier(.4, 0, 1, 1);transition-timing-function:cubic-bezier(.4,0,1,1)}.tpl\\:ease-out{--tw-ease:cubic-bezier(0, 0, .2, 1);transition-timing-function:cubic-bezier(0,0,.2,1)}.tpl\\:outline-none{--tw-outline-style:none;outline-style:none}.tpl\\:select-none{-webkit-user-select:none;user-select:none}:is(:where(.tpl\\:group):focus-within .tpl\\:group-focus-within\\:opacity-100){opacity:1}@media(hover:hover){:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:bg-black\\/40){background-color:oklab(0% none none/.4)}:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:opacity-100){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\:last\\:mb-0:last-child{margin-bottom:0}@media(hover:hover){.tpl\\:hover\\:z-10:hover{z-index:10}.tpl\\:hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:border-\\[var\\(--tpl-border\\)\\]:hover{border-color:var(--tpl-border)}.tpl\\:hover\\:border-\\[var\\(--tpl-danger\\)\\]:hover{border-color:var(--tpl-danger)}.tpl\\:hover\\:border-\\[var\\(--tpl-primary\\)\\]:hover{border-color:var(--tpl-primary)}.tpl\\:hover\\:border-\\[var\\(--tpl-text-dim\\)\\]:hover{border-color:var(--tpl-text-dim)}.tpl\\:hover\\:border-l-\\[var\\(--tpl-primary\\)\\]:hover{border-left-color:var(--tpl-primary)}.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:var(--tpl-text)}@supports (color:color-mix(in lab,red,red)){.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:color-mix(in srgb,var(--tpl-text) 8%,transparent)}}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-active\\)\\]:hover{background-color:var(--tpl-bg-active)}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-hover\\)\\]:hover{background-color:var(--tpl-bg-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-danger-light\\)\\]:hover{background-color:var(--tpl-danger-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-hover\\)\\]:hover{background-color:var(--tpl-primary-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-light\\)\\]:hover{background-color:var(--tpl-primary-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-warning-light\\)\\]:hover{background-color:var(--tpl-warning-light)}.tpl\\:hover\\:text-\\[var\\(--tpl-danger\\)\\]:hover{color:var(--tpl-danger)}.tpl\\:hover\\:text-\\[var\\(--tpl-primary\\)\\]:hover{color:var(--tpl-primary)}.tpl\\:hover\\:text-\\[var\\(--tpl-text\\)\\]:hover{color:var(--tpl-text)}.tpl\\:hover\\:underline:hover{text-decoration-line:underline}.tpl\\:hover\\:opacity-80:hover{opacity:.8}.tpl\\:hover\\:opacity-100:hover{opacity:1}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]:hover{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]:hover{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.tpl\\:focus\\:border-\\[var\\(--tpl-primary\\)\\]:focus{border-color:var(--tpl-primary)}.tpl\\:focus\\:shadow-\\[0_0_0_3px_var\\(--tpl-primary-light\\)\\]:focus{--tw-shadow:0 0 0 3px var(--tw-shadow-color,var(--tpl-primary-light));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus,.tpl\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus-visible{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-\\[var\\(--tpl-primary\\)\\]:focus-visible{--tw-ring-color:var(--tpl-primary)}.tpl\\:focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:focus-visible\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]:focus-visible{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.tpl\\:focus-visible\\:outline-\\[var\\(--tpl-primary\\)\\]:focus-visible{outline-color:var(--tpl-primary)}.tpl\\:focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}@media(hover:hover){.tpl\\:hover\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\,var\\(--tpl-shadow-sm\\)\\]:hover:focus-visible{--tw-shadow:var(--tpl-ring), var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.tpl\\:active\\:cursor-grabbing:active{cursor:grabbing}.tpl\\:active\\:bg-\\[var\\(--tpl-bg-active\\)\\]:active{background-color:var(--tpl-bg-active)}.tpl\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.tpl\\:disabled\\:opacity-30:disabled{opacity:.3}.tpl\\:disabled\\:opacity-40:disabled{opacity:.4}.tpl\\:disabled\\:opacity-50:disabled{opacity:.5}.tpl\\:disabled\\:opacity-60:disabled{opacity:.6}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}.tpl\\:\\[\\&_p\\]\\:mb-2 p{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}@layer base{:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):after,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):before,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(hr):not(:where(.tpl-email-surface,.tpl-email-surface *)){height:0;color:inherit;border-top-width:1px}:where(.tpl) :where(abbr[title]):not(:where(.tpl-email-surface,.tpl-email-surface *)){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.tpl) :where(h1):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h2):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h3):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h4):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h5):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h6):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:inherit;font-weight:inherit}:where(.tpl) :where(a):not(:where(.tpl-email-surface,.tpl-email-surface *)){color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}:where(.tpl) :where(b):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(strong):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(code):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(kbd):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(samp):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(pre):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}:where(.tpl) :where(small):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:80%}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline;font-size:75%;line-height:0;position:relative}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)){bottom:-.25em}:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){top:-.5em}:where(.tpl) :where(table):not(:where(.tpl-email-surface,.tpl-email-surface *)){text-indent:0;border-color:inherit;border-collapse:collapse}:where(.tpl) :where(:-moz-focusring:not(iframe)):not(:where(.tpl-email-surface,.tpl-email-surface *)){outline:auto}:where(.tpl) :where(progress):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline}:where(.tpl) :where(summary):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:list-item}:where(.tpl) :where(ol):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(ul):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(menu):not(:where(.tpl-email-surface,.tpl-email-surface *)){list-style:none}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(svg):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(canvas):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(audio):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(iframe):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(embed):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(object):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:middle;display:block}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)){max-width:100%;height:auto}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(select):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(select:is([multiple],[size]) optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(select:is([multiple],[size]) optgroup option):not(:where(.tpl-email-surface,.tpl-email-surface *)){padding-inline-start:20px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{margin-inline-end:4px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){resize:vertical}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-search-decoration{-webkit-appearance:none}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{display:inline-flex}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-fields-wrapper{padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-year-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-month-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-day-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-hour-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-minute-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-second-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-millisecond-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-meridiem-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-calendar-picker-indicator{line-height:1}:where(.tpl) :where(:-moz-ui-invalid):not(:where(.tpl-email-surface,.tpl-email-surface *)){box-shadow:none}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input:is([type=button],[type=reset],[type=submit])):not(:where(.tpl-email-surface,.tpl-email-surface *)){appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-inner-spin-button{height:auto}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-outer-spin-button{height:auto}:where(.tpl) :where([hidden]:not([hidden=until-found])):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:none!important}}@layer components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:var(--tpl-user-bg,oklch(99.5% .002 60));--tpl-bg-elevated:var(--tpl-user-bg-elevated,oklch(98% .004 60));--tpl-bg-hover:var(--tpl-user-bg-hover,oklch(96% .006 60));--tpl-bg-active:var(--tpl-user-bg-active,oklch(93.5% .008 60));--tpl-border:var(--tpl-user-border,oklch(92% .006 60));--tpl-border-light:var(--tpl-user-border-light,oklch(86% .01 60));--tpl-text:var(--tpl-user-text,oklch(18% .01 60));--tpl-text-muted:var(--tpl-user-text-muted,oklch(50% .015 60));--tpl-text-dim:var(--tpl-user-text-dim,oklch(68% .012 60));--tpl-primary:var(--tpl-user-primary,oklch(70% .16 55));--tpl-primary-hover:var(--tpl-user-primary-hover,oklch(63% .17 55));--tpl-primary-light:var(--tpl-user-primary-light,oklch(95% .04 55));--tpl-on-primary:var(--tpl-user-on-primary,var(--tpl-bg));--tpl-secondary:var(--tpl-user-secondary,oklch(60% .118 184.71));--tpl-secondary-hover:var(--tpl-user-secondary-hover,oklch(53.2% .105 186.39));--tpl-secondary-light:var(--tpl-user-secondary-light,oklch(93.8% .03 186.82));--tpl-success:var(--tpl-user-success,oklch(62.8% .194 155.1));--tpl-success-light:var(--tpl-user-success-light,oklch(93.6% .043 163.51));--tpl-warning:var(--tpl-user-warning,oklch(76.9% .168 70.08));--tpl-warning-light:var(--tpl-user-warning-light,oklch(95% .038 73.59));--tpl-danger:var(--tpl-user-danger,oklch(63.7% .237 25.33));--tpl-danger-light:var(--tpl-user-danger-light,oklch(93.6% .032 17.72));--tpl-canvas-bg:var(--tpl-user-canvas-bg,oklch(97.5% .003 60));--tpl-chrome-bg-elevated:var(--tpl-bg-elevated);--tpl-chrome-border-light:var(--tpl-border-light);--tpl-chrome-text:var(--tpl-text);--tpl-chrome-text-muted:var(--tpl-text-muted);--tpl-chrome-text-dim:var(--tpl-text-dim);--tpl-chrome-primary-light:var(--tpl-primary-light);--tpl-chrome-primary-hover:var(--tpl-primary-hover);--tpl-radius:var(--tpl-user-radius,10px);--tpl-radius-sm:var(--tpl-user-radius-sm,7px);--tpl-radius-lg:var(--tpl-user-radius-lg,14px);--tpl-font-family:var(--tpl-user-font-family,\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");--tpl-shadow-sm:var(--tpl-user-shadow-sm,0 1px 2px #00000008);--tpl-shadow:var(--tpl-user-shadow,0 1px 2px #0000000a, 0 1px 3px #00000008);--tpl-shadow-md:var(--tpl-user-shadow-md,0 2px 8px #0000000f, 0 1px 3px #0000000a);--tpl-shadow-lg:var(--tpl-user-shadow-lg,0 4px 16px #00000014, 0 2px 6px #0000000a);--tpl-shadow-xl:var(--tpl-user-shadow-xl,0 8px 32px #0000001a, 0 4px 12px #0000000f);--tpl-overlay:var(--tpl-user-overlay,#00000080);--tpl-ring:var(--tpl-user-ring,0 0 0 3px var(--tpl-primary-light));--tpl-transition:var(--tpl-user-transition,.12s cubic-bezier(.16, 1, .3, 1))}.tpl[data-tpl-theme=dark]{--tpl-bg:var(--tpl-user-dark-bg,oklch(16% .005 60));--tpl-bg-elevated:var(--tpl-user-dark-bg-elevated,oklch(21% .006 60));--tpl-bg-hover:var(--tpl-user-dark-bg-hover,oklch(26% .007 60));--tpl-bg-active:var(--tpl-user-dark-bg-active,oklch(30% .008 60));--tpl-border:var(--tpl-user-dark-border,oklch(30% .006 60));--tpl-border-light:var(--tpl-user-dark-border-light,oklch(38% .008 60));--tpl-text:var(--tpl-user-dark-text,oklch(93% .005 60));--tpl-text-muted:var(--tpl-user-dark-text-muted,oklch(65% .01 60));--tpl-text-dim:var(--tpl-user-dark-text-dim,oklch(50% .008 60));--tpl-primary:var(--tpl-user-dark-primary,oklch(73% .15 55));--tpl-primary-hover:var(--tpl-user-dark-primary-hover,oklch(78% .14 55));--tpl-primary-light:var(--tpl-user-dark-primary-light,oklch(28% .05 55));--tpl-secondary:var(--tpl-user-dark-secondary,oklch(63% .11 184.71));--tpl-secondary-hover:var(--tpl-user-dark-secondary-hover,oklch(68% .1 186.39));--tpl-secondary-light:var(--tpl-user-dark-secondary-light,oklch(25% .03 186.82));--tpl-success:var(--tpl-user-dark-success,oklch(65% .18 155.1));--tpl-success-light:var(--tpl-user-dark-success-light,oklch(25% .04 163.51));--tpl-warning:var(--tpl-user-dark-warning,oklch(78% .16 70.08));--tpl-warning-light:var(--tpl-user-dark-warning-light,oklch(28% .04 73.59));--tpl-danger:var(--tpl-user-dark-danger,oklch(65% .22 25.33));--tpl-danger-light:var(--tpl-user-dark-danger-light,oklch(25% .04 17.72));--tpl-canvas-bg:var(--tpl-user-dark-canvas-bg,oklch(10% .003 60));--tpl-shadow-sm:var(--tpl-user-dark-shadow-sm,0 1px 2px #0003);--tpl-shadow:var(--tpl-user-dark-shadow,0 1px 2px #0000004d, 0 1px 3px #0003);--tpl-shadow-md:var(--tpl-user-dark-shadow-md,0 2px 8px #00000059, 0 1px 3px #00000040);--tpl-shadow-lg:var(--tpl-user-dark-shadow-lg,0 4px 16px #0006, 0 2px 6px #0000004d);--tpl-shadow-xl:var(--tpl-user-dark-shadow-xl,0 8px 32px #00000080, 0 4px 12px #00000059);--tpl-overlay:var(--tpl-user-dark-overlay,#000000b3);--tpl-ring:var(--tpl-user-dark-ring,0 0 0 3px var(--tpl-primary-light))}.tpl[data-tpl-theme=dark] .tpl-block-content,.tpl[data-tpl-theme=dark] .tpl-canvas-empty{--tpl-bg-elevated:oklch(98% .004 60);--tpl-border-light:oklch(86% .01 60);--tpl-text:oklch(18% .01 60);--tpl-text-muted:oklch(50% .015 60);--tpl-text-dim:oklch(68% .012 60);--tpl-primary-light:oklch(95% .04 55);--tpl-primary-hover:oklch(60% .16 55);color:var(--tpl-text)}.tpl{height:100%;font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875));--tw-leading:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--tpl-bg);min-height:320px;color:var(--tpl-text);line-height:1.5;font-family:var(--tpl-font-family);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:normal;cursor:auto;font-variant-numeric:normal;text-shadow:none;flex-direction:column;font-style:normal;font-weight:400;list-style-type:disc;display:flex}:where(.tpl) button,:where(.tpl) input,:where(.tpl) select,:where(.tpl) textarea{box-sizing:border-box;font-family:inherit}:where(.tpl) button{cursor:pointer;background:0 0;border:none;margin:0;padding:0}:where(.tpl) button:focus-visible,:where(.tpl) input:focus-visible,:where(.tpl) select:focus-visible,:where(.tpl) textarea:focus-visible{box-shadow:var(--tpl-ring);outline:none}:where(.tpl) .tpl-focus-ring-host:focus-within :is(input,select,textarea):focus-visible{box-shadow:none}.tpl ::-webkit-scrollbar{width:6px;height:6px}.tpl ::-webkit-scrollbar-track{background:0 0}.tpl ::-webkit-scrollbar-thumb{background-color:var(--tpl-border-light)}@supports (color:color-mix(in lab,red,red)){.tpl ::-webkit-scrollbar-thumb{background-color:color-mix(in srgb,var(--tpl-border-light) 60%,transparent)}}.tpl ::-webkit-scrollbar-thumb{border-radius:calc(.25 * var(--tpl-base-size))}.tpl ::-webkit-scrollbar-thumb:hover{background-color:var(--tpl-border-light)}@keyframes tpl-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes tpl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tpl-popover-root{z-index:10000;position:relative}.tpl-merge-tag-label{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}@supports (color:color-mix(in lab,red,red)){.tpl-merge-tag-label{-webkit-text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)}}.tpl-merge-tag-label{unicode-bidi:isolate}.tpl-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes tpl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.tpl-fade-in{animation:.2s cubic-bezier(.16,1,.3,1) tpl-fade-in}.tpl-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-in}.tpl-shimmer{background:linear-gradient(90deg,var(--tpl-bg-hover) 25%,var(--tpl-bg-active) 50%,var(--tpl-bg-hover) 75%);background-size:200% 100%;animation:1.5s linear infinite tpl-shimmer}.tpl-preview-mode .tpl-block--idle,.tpl-preview-mode .tpl-block--idle:hover,.tpl-preview-mode .tpl-block--selected{box-shadow:none!important;outline:none!important}.tpl-preview-mode .tpl-block{cursor:default;pointer-events:none}.tpl-canvas-pane{container:tpl-canvas-pane/inline-size}.tpl-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock,.tpl-preview-mode .tpl-block-issue-badge{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));outline:1px dashed var(--tpl-primary);outline-offset:4px}.tpl-text-editable--error{outline-color:var(--tpl-danger)}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0 0 var(--tpl-doc-paragraph-spacing,8px)}.tpl-text-content p:last-child,.tpl-text-editable .tiptap p:last-child{margin-bottom:0}.tpl-text-content ul,.tpl-text-content ol,.tpl-text-editable .tiptap ul,.tpl-text-editable .tiptap ol{margin:8px 0;padding-inline-start:24px}.tpl-text-content li,.tpl-text-editable .tiptap li{margin:4px 0}.tpl-text-content s,.tpl-text-editable .tiptap s{text-decoration-line:line-through}.tpl-text-content sub,.tpl-text-editable .tiptap sub{vertical-align:sub;font-size:.75em}.tpl-text-content sup,.tpl-text-editable .tiptap sup{vertical-align:super;font-size:.75em}.tpl-text-content a,.tpl-text-editable a{color:var(--tpl-doc-link-color,inherit);-webkit-text-decoration:var(--tpl-doc-link-underline,none);text-decoration:var(--tpl-doc-link-underline,none)}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:500;background-color:var(--tpl-primary);align-items:center;font-size:.9em;font-weight:500;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{background-color:color-mix(in srgb,var(--tpl-primary) 20%,transparent)}}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{color:var(--tpl-primary);unicode-bidi:isolate}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:700;--tw-tracking:.025em;letter-spacing:.025em;text-transform:uppercase;border:1.5px solid var(--tpl-primary);unicode-bidi:isolate;background-color:#0000;align-items:center;font-size:.8em;font-weight:700;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{border:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent)}}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{color:var(--tpl-primary)}.tpl-tooltip{position:relative}.tpl-tooltip:after{content:attr(data-tooltip);border-radius:var(--tpl-radius-sm);background-color:var(--tpl-chrome-text);color:var(--tpl-bg);white-space:normal;text-align:center;pointer-events:none;opacity:0;text-transform:none;z-index:50;width:max-content;max-width:min(320px,90vw);padding:4px 10px;font-size:12px;font-weight:500;line-height:1.4;transition:opacity .15s;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%)}.tpl-tooltip:before{content:\"\";border:4px solid #0000;border-bottom-color:var(--tpl-chrome-text);pointer-events:none;opacity:0;z-index:50;transition:opacity .15s;position:absolute;top:calc(100% + 2px);left:50%;transform:translate(-50%)}.tpl-tooltip:hover:after,.tpl-tooltip:hover:before{opacity:1}.tpl-media-overlay{background-color:var(--tpl-overlay);-webkit-backdrop-filter:blur(8px);height:100%;min-height:0;color:var(--tpl-text);flex-direction:row;justify-content:center;align-items:center;display:flex}.tpl.tpl-text-toolbar{flex-direction:row;height:auto;min-height:0;display:flex}.tpl.tpl-link-dialog{background-color:var(--tpl-overlay);flex-direction:row;justify-content:center;align-items:center;height:100%;min-height:0;display:flex}.tpl-upload-zone-active{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-merge-tag-delete:hover{color:var(--tpl-danger)!important}@media(prefers-reduced-motion:reduce){.tpl-pulse,.tpl-shimmer,.tpl-fade-in,.tpl-scale-in{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl-spinner{animation:1s linear infinite tpl-spin}}.tpl-header-container{container:tpl-header/inline-size}.tpl-header-identity [data-testid=template-name],.tpl-header-identity [data-testid=template-name-input]{max-width:100%}.tpl-language-tag{display:none}.tpl-header-identity{flex-shrink:1;min-width:24px}.tpl-header-timestamp{max-width:100%}.tpl-header[data-compact=true]{grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px;padding-inline:8px}.tpl-header[data-compact=true] .tpl-header-left,.tpl-header[data-compact=true] .tpl-header-right{gap:4px;min-width:0}.tpl-header[data-compact=true] .tpl-header-center{gap:4px}.tpl-header[data-compact=true] .tpl-header-identity{flex:0 auto;min-width:24px;max-width:none;padding-bottom:0}.tpl-header[data-compact=true] .tpl-header-timestamp,.tpl-header[data-compact=true] .tpl-header-label,.tpl-header[data-compact=true] .tpl-header-comment-count,.tpl-header[data-compact=true] .tpl-language-name,.tpl-header[data-compact=true] .tpl-language-count,.tpl-header[data-compact=true] .tpl-language-chevron{display:none}.tpl-header[data-compact=true] .tpl-header-left .tpl-language-tag{display:inline}.tpl-header[data-compact=true] .tpl-language-control{flex-shrink:1}.tpl-header[data-compact=true] .tpl-language-trigger{gap:4px;padding-inline:6px;width:100%!important;max-width:72px!important}.tpl-header[data-compact=true] .tpl-header-center [role=radio]{padding-inline:6px}.tpl-header[data-compact=true] [data-testid=version-history]{gap:0}.tpl-header[data-compact=true] [data-testid=version-history-toggle]{padding-inline:4px}.tpl-header[data-compact=true] .tpl-header-right>button{gap:0;min-width:32px;padding-inline:7px}.tpl-header[data-compact=true] .tpl-header-save-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-preview-pill-enter-active[data-v-e3760a37]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-e3760a37]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-e3760a37],.tpl-preview-pill-leave-to[data-v-e3760a37]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-e3760a37],.tpl-preview-pill-leave-from[data-v-e3760a37]{opacity:1;transform:translateY(0) scale(1)}hex-color-picker{--hcp-width: 200px}hex-color-picker::part(hue){border-radius:var(--tpl-radius-sm, 7px)}hex-color-picker::part(saturation){border-radius:var(--tpl-radius-sm, 7px) var(--tpl-radius-sm, 7px) 0 0}.tpl-color-swatch-empty{background-color:var(--tpl-bg);background-image:linear-gradient(to top right,transparent calc(50% - .75px),var(--tpl-text-dim) calc(50% - .75px),var(--tpl-text-dim) calc(50% + .75px),transparent calc(50% + .75px))}.tpl-color-swatch-transparent{background-color:var(--tpl-bg);background-image:repeating-conic-gradient(var(--tpl-border) 0% 25%,var(--tpl-bg) 0% 50%);background-size:8px 8px}.tpl-pulse-fill[data-v-fca026e4]{animation:tpl-field-pulse-fca026e4 1s ease-out}@keyframes tpl-field-pulse-fca026e4{0%{box-shadow:0 0 color-mix(in srgb,var(--tpl-warning) 30%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 6%,transparent)}40%{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-warning) 15%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 5%,transparent)}to{box-shadow:0 0 0 0 transparent;background-color:transparent}}@media(prefers-reduced-motion:reduce){.tpl-pulse-fill[data-v-fca026e4]{animation:none}}input[type=number][data-v-94c2e6ff]::-webkit-outer-spin-button,input[type=number][data-v-94c2e6ff]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-94c2e6ff]{-moz-appearance:textfield}.tpl-collapsible[data-v-206f038f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-206f038f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-206f038f]{overflow:hidden}@container tpl-header (max-width: 760px){.tpl-language-submenu[data-v-9b071249]{left:0;top:100%;bottom:auto;margin:4px 0 0;max-width:100%}}.tpl-language-row[data-v-9b071249]:hover,.tpl-language-row[data-v-9b071249]:focus-within,[role=menuitem][data-v-9b071249]:hover{background:var(--tpl-bg-hover)}.tpl-language-row[data-active=true][data-v-9b071249]{background:var(--tpl-bg-active)}.tpl-language-row[data-active=true] .tpl-language-pill[data-v-9b071249]{background:var(--tpl-bg)}[aria-disabled=true][data-v-9b071249]{cursor:not-allowed;color:var(--tpl-text-muted)}[aria-disabled=true] svg[data-v-9b071249]{color:var(--tpl-text-dim)}@media(hover:hover)and (pointer:fine){.tpl-language-actions[data-v-9b071249]{opacity:0}.tpl-language-row:hover .tpl-language-actions[data-v-9b071249],.tpl-language-row:focus-within .tpl-language-actions[data-v-9b071249],.tpl-language-actions[aria-expanded=true][data-v-9b071249]{opacity:1}}.tpl-language-actions[data-v-9b071249]{transition:opacity var(--tpl-transition)}.tpl-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-ebc3c2c6]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-ebc3c2c6]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-ebc3c2c6]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-ebc3c2c6]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-ebc3c2c6]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-ebc3c2c6]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-ebc3c2c6]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-ebc3c2c6]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-ebc3c2c6]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-ebc3c2c6]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-ebc3c2c6],.tpl-comment-reply-card[data-v-ebc3c2c6]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-ebc3c2c6],.tpl-resolve-leave-active[data-v-ebc3c2c6]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-ebc3c2c6],.tpl-resolve-leave-to[data-v-ebc3c2c6]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-ebc3c2c6]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-ebc3c2c6]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-ebc3c2c6],.tpl-replies-leave-active[data-v-ebc3c2c6]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-ebc3c2c6],.tpl-replies-leave-to[data-v-ebc3c2c6]{opacity:0;transform:translateY(-4px)}.tpl-ai-input-wrapper[data-v-d3e3a1af]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-d3e3a1af]:not(:disabled):hover{transform:scale(1.05)}.tpl-starter-btn[data-v-d3e3a1af]: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*/", qo = null;
4330
- function Jo() {
4331
- if (qo === null) {
4351
+ var qo = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-e61f3b63]{height:3px;width:100%;border-radius:9999px;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 15%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 30%,var(--tpl-primary) 50%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 70%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 85%,transparent 100%);background-size:200% 100%;animation:tpl-loading-flow-e61f3b63 3s ease-in-out infinite}@keyframes tpl-loading-flow-e61f3b63{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track[data-v-e61f3b63]{animation:none;background-position:50% 0}}.tpl-locale-chip[data-state=changed][data-v-3343ae7d]{color:var(--tpl-secondary)}.tpl-locale-chip[data-state=missing][data-v-3343ae7d],.tpl-locale-chip[data-state=stale][data-v-3343ae7d],.tpl-locale-chip[data-state=tags-differ][data-v-3343ae7d]{color:var(--tpl-warning)}.tpl-block--locale-hidden>.tpl-email-surface[data-v-872194d3]{opacity:.35}.tpl-block--idle[data-v-872194d3]{outline:1.5px dashed color-mix(in srgb,var(--tpl-primary) 30%,transparent);outline-offset:-1px;transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--idle[data-v-872194d3]:hover{outline:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent);outline-offset:-1px;box-shadow:0 0 8px color-mix(in srgb,var(--tpl-primary) 8%,transparent)}.tpl-block--picked[data-v-872194d3]{outline:2px solid var(--tpl-primary);outline-offset:-1px;box-shadow:0 0 0 4px color-mix(in srgb,var(--tpl-primary) 18%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block--selected[data-v-872194d3]{outline:2px solid color-mix(in srgb,var(--tpl-primary) 60%,transparent);outline-offset:-1px;box-shadow:0 0 12px color-mix(in srgb,var(--tpl-primary) 15%,transparent);transition:outline .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1)}.tpl-block-action-btn[data-v-872194d3]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-872194d3]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-872194d3]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-872194d3]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-872194d3]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-block-agent-highlight[data-v-872194d3]{outline:2px solid var(--tpl-secondary);outline-offset:-1px;animation:tpl-agent-highlight-872194d3 2s ease-out forwards}@keyframes tpl-agent-highlight-872194d3{0%,50%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.tpl-block-agent-highlight[data-v-872194d3]{animation:none}}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable],.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable]:empty:before,.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-73b9f5e5] th[contenteditable]:focus,.tpl-table-editable[data-v-73b9f5e5] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-03a9d286] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-03a9d286] .tpl-email-surface .tpl-has-bg-image:before{content:\"\";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:var(--tpl-block-bg-layer, none);filter:invert(1) hue-rotate(180deg)}.tpl-icon-enter-active[data-v-632aa74f],.tpl-icon-leave-active[data-v-632aa74f]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-632aa74f],.tpl-icon-leave-to[data-v-632aa74f]{opacity:0;transform:scale(.8)}.tpl-dark-mode-toggle[data-v-632aa74f]:hover{background-color:var(--tpl-bg-hover)}.tpl-dark-mode-toggle[data-v-632aa74f]:active{transform:scale(.92)}.tpl-icon-enter-active[data-v-eef7b2ca],.tpl-icon-leave-active[data-v-eef7b2ca]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-eef7b2ca],.tpl-icon-leave-to[data-v-eef7b2ca]{opacity:0;transform:scale(.8)}.tpl-preview-toggle[data-v-eef7b2ca]:hover{background-color:var(--tpl-bg-hover)}.tpl-preview-toggle[data-v-eef7b2ca]:active{transform:scale(.92)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:pointer-events-auto{pointer-events:auto}.tpl\\:pointer-events-none{pointer-events:none}.tpl\\:invisible{visibility:hidden}.tpl\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl\\:absolute{position:absolute}.tpl\\:fixed{position:fixed}.tpl\\:relative{position:relative}.tpl\\:sticky{position:sticky}.tpl\\:inset-0{inset:0}.tpl\\:inset-x-0{inset-inline:0}.tpl\\:inset-y-1{inset-block:calc(var(--tpl-base-size) / 4)}.tpl\\:inset-s-full{inset-inline-start:100%}.tpl\\:inset-e-1{inset-inline-end:calc(var(--tpl-base-size) / 4)}.tpl\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-top-2{top:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-full{top:100%}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:left-full{left:100%}.tpl\\:z-10{z-index:10}.tpl\\:z-20{z-index:20}.tpl\\:z-40{z-index:40}.tpl\\:z-50{z-index:50}.tpl\\:z-\\[4\\]{z-index:4}.tpl\\:z-\\[5\\]{z-index:5}.tpl\\:z-\\[60\\]{z-index:60}.tpl\\:z-\\[100\\]{z-index:100}.tpl\\:z-\\[10000\\]{z-index:10000}.tpl\\:m-0{margin:0}.tpl\\:m-6{margin:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-0\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mx-1{margin-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:mx-1\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mx-3{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mx-4{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mx-6{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-auto{margin-inline:auto}.tpl\\:ms-2{margin-inline-start:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-0\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mt-1{margin-top:calc(var(--tpl-base-size) / 4)}.tpl\\:mt-1\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mt-2{margin-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-3{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mt-3\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mt-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:-mr-1\\.5{margin-right:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.tpl\\:mr-2{margin-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-0{margin-bottom:0}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-1\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * -1.5)}.tpl\\:-ml-48{margin-left:calc(calc(var(--tpl-base-size) / 4) * -48)}.tpl\\:ml-0{margin-left:0}.tpl\\:ml-0\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:ml-1{margin-left:calc(var(--tpl-base-size) / 4)}.tpl\\:ml-5{margin-left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:ml-auto{margin-left:auto}.tpl\\:box-border{box-sizing:border-box}.tpl\\:line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:\\!flex{display:flex!important}.tpl\\:block{display:block}.tpl\\:contents{display:contents}.tpl\\:flex{display:flex}.tpl\\:grid{display:grid}.tpl\\:inline{display:inline}.tpl\\:inline-block{display:inline-block}.tpl\\:inline-flex{display:inline-flex}.tpl\\:aspect-square{aspect-ratio:1}.tpl\\:size-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5);height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:size-2{width:calc(calc(var(--tpl-base-size) / 4) * 2);height:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:size-3{width:calc(calc(var(--tpl-base-size) / 4) * 3);height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:size-4{width:calc(calc(var(--tpl-base-size) / 4) * 4);height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:size-4\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 4.5);height:calc(calc(var(--tpl-base-size) / 4) * 4.5)}.tpl\\:size-5{width:calc(calc(var(--tpl-base-size) / 4) * 5);height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:size-6{width:calc(calc(var(--tpl-base-size) / 4) * 6);height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:size-7{width:calc(calc(var(--tpl-base-size) / 4) * 7);height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:size-8{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:size-10{width:calc(calc(var(--tpl-base-size) / 4) * 10);height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:size-16{width:calc(calc(var(--tpl-base-size) / 4) * 16);height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:size-full{width:100%;height:100%}.tpl\\:h-0{height:0}.tpl\\:h-1\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:h-2\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:h-3{height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:h-4{height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:h-5{height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:h-6{height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:h-7{height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:h-8{height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:h-9{height:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:h-10{height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:h-12{height:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:h-14{height:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:h-16{height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:h-32{height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:h-44{height:calc(calc(var(--tpl-base-size) / 4) * 44)}.tpl\\:h-\\[32px\\]{height:32px}.tpl\\:h-full{height:100%}.tpl\\:max-h-24{max-height:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:max-h-32{max-height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:max-h-48{max-height:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:max-h-56{max-height:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:max-h-64{max-height:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:max-h-\\[50vh\\]{max-height:50vh}.tpl\\:max-h-\\[60vh\\]{max-height:60vh}.tpl\\:max-h-\\[80\\%\\]{max-height:80%}.tpl\\:max-h-\\[80vh\\]{max-height:80vh}.tpl\\:max-h-\\[90\\%\\]{max-height:90%}.tpl\\:max-h-\\[90vh\\]{max-height:90vh}.tpl\\:max-h-full{max-height:100%}.tpl\\:min-h-0{min-height:0}.tpl\\:min-h-6{min-height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-h-10{min-height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:min-h-20{min-height:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:min-h-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[34px\\]{min-height:34px}.tpl\\:min-h-\\[44px\\]{min-height:44px}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.tpl\\:min-h-\\[80px\\]{min-height:80px}.tpl\\:min-h-\\[100px\\]{min-height:100px}.tpl\\:min-h-\\[120px\\]{min-height:120px}.tpl\\:min-h-\\[150px\\]{min-height:150px}.tpl\\:min-h-\\[400px\\]{min-height:400px}.tpl\\:w-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:w-1\\/2{width:50%}.tpl\\:w-1\\/3{width:33.3333%}.tpl\\:w-1\\/4{width:25%}.tpl\\:w-2\\/3{width:66.6667%}.tpl\\:w-3{width:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:w-3\\/4{width:75%}.tpl\\:w-5\\/6{width:83.3333%}.tpl\\:w-7{width:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:w-8{width:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:w-9{width:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:w-10{width:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:w-12{width:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:w-16{width:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:w-20{width:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:w-24{width:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:w-28{width:calc(calc(var(--tpl-base-size) / 4) * 28)}.tpl\\:w-32{width:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:w-36{width:calc(calc(var(--tpl-base-size) / 4) * 36)}.tpl\\:w-40{width:calc(calc(var(--tpl-base-size) / 4) * 40)}.tpl\\:w-48{width:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:w-52{width:calc(calc(var(--tpl-base-size) / 4) * 52)}.tpl\\:w-56{width:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:w-64{width:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-80{width:calc(calc(var(--tpl-base-size) / 4) * 80)}.tpl\\:w-96{width:calc(calc(var(--tpl-base-size) / 4) * 96)}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.tpl\\:w-\\[420px\\]{width:420px}.tpl\\:w-\\[1000px\\]{width:1000px}.tpl\\:w-\\[min\\(420px\\,92vw\\)\\]{width:min(420px,92vw)}.tpl\\:w-full{width:100%}.tpl\\:w-px{width:1px}.tpl\\:max-w-2xl{max-width:calc(42 * var(--tpl-base-size))}.tpl\\:max-w-3xl{max-width:calc(48 * var(--tpl-base-size))}.tpl\\:max-w-\\[220px\\]{max-width:220px}.tpl\\:max-w-\\[240px\\]{max-width:240px}.tpl\\:max-w-\\[260px\\]{max-width:260px}.tpl\\:max-w-\\[320px\\]{max-width:320px}.tpl\\:max-w-\\[600px\\]{max-width:600px}.tpl\\:max-w-\\[calc\\(100\\%_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100% - 2 * var(--tpl-base-size))}.tpl\\:max-w-\\[calc\\(100vw_-_2\\*var\\(--tpl-base-size\\)\\)\\]{max-width:calc(100vw - 2 * var(--tpl-base-size))}.tpl\\:max-w-full{max-width:100%}.tpl\\:max-w-md{max-width:calc(28 * var(--tpl-base-size))}.tpl\\:max-w-sm{max-width:calc(24 * var(--tpl-base-size))}.tpl\\:min-w-0{min-width:0}.tpl\\:min-w-6{min-width:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:min-w-\\[20px\\]{min-width:20px}.tpl\\:min-w-\\[200px\\]{min-width:200px}.tpl\\:flex-1{flex:1}.tpl\\:flex-shrink-0,.tpl\\:shrink-0{flex-shrink:0}.tpl\\:grow{flex-grow:1}.tpl\\:basis-64{flex-basis:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:-rotate-90{rotate:-90deg}.tpl\\:rotate-0{rotate:0deg}.tpl\\:rotate-45{rotate:45deg}.tpl\\:rotate-90{rotate:90deg}.tpl\\:rotate-180{rotate:180deg}.tpl\\:animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.tpl\\:animate-spin{animation:1s linear infinite spin}.tpl\\:cursor-default{cursor:default}.tpl\\:cursor-grab{cursor:grab}.tpl\\:cursor-help{cursor:help}.tpl\\:cursor-not-allowed{cursor:not-allowed}.tpl\\:cursor-pointer{cursor:pointer}.tpl\\:resize-none{resize:none}.tpl\\:resize-y{resize:vertical}.tpl\\:list-disc{list-style-type:disc}.tpl\\:list-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tpl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tpl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.tpl\\:grid-cols-\\[minmax\\(0\\,1fr\\)_auto_minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-row-reverse{flex-direction:row-reverse}.tpl\\:flex-wrap{flex-wrap:wrap}.tpl\\:items-center{align-items:center}.tpl\\:items-end{align-items:flex-end}.tpl\\:items-start{align-items:flex-start}.tpl\\:items-stretch{align-items:stretch}.tpl\\:justify-between{justify-content:space-between}.tpl\\:justify-center{justify-content:center}.tpl\\:justify-end{justify-content:flex-end}.tpl\\:gap-0{gap:0}.tpl\\:gap-0\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-1{gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-1\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-2{gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:gap-2\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:gap-3{gap:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:gap-3\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:gap-4{gap:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:gap-5{gap:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:gap-6{gap:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:gap-10{gap:calc(calc(var(--tpl-base-size) / 4) * 10)}:where(.tpl\\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--tpl-base-size) / 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--tpl-base-size) / 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * calc(1 - var(--tw-space-y-reverse)))}.tpl\\:gap-x-1{column-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-x-3{column-gap:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:gap-x-6{column-gap:calc(calc(var(--tpl-base-size) / 4) * 6)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1{row-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-y-2{row-gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:2147483647px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:calc(.75 * var(--tpl-base-size))}.tpl\\:rounded-l-\\[var\\(--tpl-radius-sm\\)\\]{border-top-left-radius:var(--tpl-radius-sm);border-bottom-left-radius:var(--tpl-radius-sm)}.tpl\\:rounded-tl-lg{border-top-left-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-r-\\[var\\(--tpl-radius-sm\\)\\]{border-top-right-radius:var(--tpl-radius-sm);border-bottom-right-radius:var(--tpl-radius-sm)}.tpl\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.tpl\\:border{border-style:var(--tw-border-style);border-width:1px}.tpl\\:border-0{border-style:var(--tw-border-style);border-width:0}.tpl\\:border-2{border-style:var(--tw-border-style);border-width:2px}.tpl\\:border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.tpl\\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.tpl\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.tpl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.tpl\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.tpl\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tpl\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.tpl\\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.tpl\\:border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.tpl\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.tpl\\:border-none{--tw-border-style:none;border-style:none}.tpl\\:border-\\[var\\(--tpl-bg\\)\\]{border-color:var(--tpl-bg)}.tpl\\:border-\\[var\\(--tpl-border\\)\\]{border-color:var(--tpl-border)}.tpl\\:border-\\[var\\(--tpl-border-light\\)\\]{border-color:var(--tpl-border-light)}.tpl\\:border-\\[var\\(--tpl-danger\\)\\]{border-color:var(--tpl-danger)}.tpl\\:border-\\[var\\(--tpl-primary\\)\\]{border-color:var(--tpl-primary)}.tpl\\:border-\\[var\\(--tpl-primary-hover\\)\\]{border-color:var(--tpl-primary-hover)}.tpl\\:border-\\[var\\(--tpl-warning\\)\\]{border-color:var(--tpl-warning)}.tpl\\:border-transparent{border-color:#0000}.tpl\\:border-l-\\[var\\(--tpl-primary\\)\\]{border-left-color:var(--tpl-primary)}.tpl\\:border-l-transparent{border-left-color:#0000}.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:var(--tpl-bg)}@supports (color:color-mix(in lab,red,red)){.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:color-mix(in srgb,var(--tpl-bg) 90%,transparent)}}.tpl\\:bg-\\[var\\(--tpl-bg\\)\\]{background-color:var(--tpl-bg)}.tpl\\:bg-\\[var\\(--tpl-bg-active\\)\\]{background-color:var(--tpl-bg-active)}.tpl\\:bg-\\[var\\(--tpl-bg-elevated\\)\\]{background-color:var(--tpl-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-bg-hover\\)\\]{background-color:var(--tpl-bg-hover)}.tpl\\:bg-\\[var\\(--tpl-border\\)\\]{background-color:var(--tpl-border)}.tpl\\:bg-\\[var\\(--tpl-canvas-bg\\)\\]{background-color:var(--tpl-canvas-bg)}.tpl\\:bg-\\[var\\(--tpl-chrome-bg-elevated\\)\\]{background-color:var(--tpl-chrome-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-chrome-primary-light\\)\\]{background-color:var(--tpl-chrome-primary-light)}.tpl\\:bg-\\[var\\(--tpl-danger\\)\\]{background-color:var(--tpl-danger)}.tpl\\:bg-\\[var\\(--tpl-danger-light\\)\\]{background-color:var(--tpl-danger-light)}.tpl\\:bg-\\[var\\(--tpl-primary\\)\\]{background-color:var(--tpl-primary)}.tpl\\:bg-\\[var\\(--tpl-primary-light\\)\\]{background-color:var(--tpl-primary-light)}.tpl\\:bg-\\[var\\(--tpl-secondary-light\\)\\]{background-color:var(--tpl-secondary-light)}.tpl\\:bg-\\[var\\(--tpl-text-dim\\)\\]{background-color:var(--tpl-text-dim)}.tpl\\:bg-\\[var\\(--tpl-warning-light\\)\\]{background-color:var(--tpl-warning-light)}.tpl\\:bg-black\\/30{background-color:oklab(0% none none/.3)}.tpl\\:bg-transparent{background-color:#0000}.tpl\\:object-contain{object-fit:contain}.tpl\\:object-cover{object-fit:cover}.tpl\\:p-0{padding:0}.tpl\\:p-0\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:p-1{padding:calc(var(--tpl-base-size) / 4)}.tpl\\:p-1\\.5{padding:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:p-2{padding:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:p-3{padding:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:p-4{padding:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:p-5{padding:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:p-6{padding:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:p-8{padding:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-0\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:px-1{padding-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:px-1\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:px-2{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:px-2\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:px-3{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:px-3\\.5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:px-4{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:px-5{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:px-6{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:px-8{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:px-10{padding-inline:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-0{padding-block:0}.tpl\\:py-0\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:py-1{padding-block:calc(var(--tpl-base-size) / 4)}.tpl\\:py-1\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:py-2{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:py-2\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:py-3{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:py-3\\.5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:py-4{padding-block:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:py-5{padding-block:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:py-6{padding-block:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:py-8{padding-block:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:py-10{padding-block:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:py-12{padding-block:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:py-16{padding-block:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:py-\\[5px\\]{padding-block:5px}.tpl\\:py-\\[7px\\]{padding-block:7px}.tpl\\:py-px{padding-block:1px}.tpl\\:pt-2{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pt-2\\.5{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pt-3{padding-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pt-4{padding-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-2{padding-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pr-3{padding-right:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pr-4{padding-right:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-7{padding-right:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:pr-8{padding-right:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pb-1{padding-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:pb-1\\.5{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:pb-3{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pb-4{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-2\\.5{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pl-3{padding-left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pl-4{padding-left:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-8{padding-left:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pl-9{padding-left:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:pl-\\[18px\\]{padding-left:18px}.tpl\\:text-center{text-align:center}.tpl\\:text-left{text-align:left}.tpl\\:font-\\[inherit\\]{font-family:inherit}.tpl\\:font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tpl\\:font-sans{font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tpl\\:text-base{font-size:var(--tpl-base-size);line-height:var(--tw-leading, 1.5 )}.tpl\\:text-lg{font-size:calc(1.125 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.75 / 1.125))}.tpl\\:text-sm{font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875))}.tpl\\:text-xs{font-size:calc(.75 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1 / .75))}.tpl\\:text-\\[0\\.8em\\]{font-size:.8em}.tpl\\:text-\\[0\\.9em\\]{font-size:.9em}.tpl\\:text-\\[1em\\]{font-size:1em}.tpl\\:text-\\[10px\\]{font-size:10px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size:inherit}.tpl\\:leading-\\[inherit\\]{--tw-leading:inherit;line-height:inherit}.tpl\\:leading-none{--tw-leading:1;line-height:1}.tpl\\:leading-normal{--tw-leading:1.5;line-height:1.5}.tpl\\:leading-relaxed{--tw-leading:1.625;line-height:1.625}.tpl\\:leading-snug{--tw-leading:1.375;line-height:1.375}.tpl\\:leading-tight{--tw-leading:1.25;line-height:1.25}.tpl\\:font-\\[var\\(--tpl-font-family\\)\\]{--tw-font-weight:var(--tpl-font-family);font-weight:var(--tpl-font-family)}.tpl\\:font-bold{--tw-font-weight:700;font-weight:700}.tpl\\:font-medium{--tw-font-weight:500;font-weight:500}.tpl\\:font-normal{--tw-font-weight:400;font-weight:400}.tpl\\:font-semibold{--tw-font-weight:600;font-weight:600}.tpl\\:tracking-wide{--tw-tracking:.025em;letter-spacing:.025em}.tpl\\:tracking-wider{--tw-tracking:.05em;letter-spacing:.05em}.tpl\\:break-words{overflow-wrap:break-word}.tpl\\:break-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-normal{white-space:normal}.tpl\\:whitespace-nowrap{white-space:nowrap}.tpl\\:whitespace-pre-wrap{white-space:pre-wrap}.tpl\\:text-\\[var\\(--tpl-bg\\)\\]{color:var(--tpl-bg)}.tpl\\:text-\\[var\\(--tpl-border-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text\\)\\]{color:var(--tpl-chrome-text)}.tpl\\:text-\\[var\\(--tpl-chrome-text-dim\\)\\]{color:var(--tpl-chrome-text-dim)}.tpl\\:text-\\[var\\(--tpl-chrome-text-muted\\)\\]{color:var(--tpl-chrome-text-muted)}.tpl\\:text-\\[var\\(--tpl-danger\\)\\]{color:var(--tpl-danger)}.tpl\\:text-\\[var\\(--tpl-on-primary\\)\\]{color:var(--tpl-on-primary)}.tpl\\:text-\\[var\\(--tpl-primary\\)\\]{color:var(--tpl-primary)}.tpl\\:text-\\[var\\(--tpl-primary-hover\\)\\]{color:var(--tpl-primary-hover)}.tpl\\:text-\\[var\\(--tpl-success\\)\\]{color:var(--tpl-success)}.tpl\\:text-\\[var\\(--tpl-success\\,var\\(--tpl-primary\\)\\)\\]{color:var(--tpl-success,var(--tpl-primary))}.tpl\\:text-\\[var\\(--tpl-text\\)\\]{color:var(--tpl-text)}.tpl\\:text-\\[var\\(--tpl-text-dim\\)\\]{color:var(--tpl-text-dim)}.tpl\\:text-\\[var\\(--tpl-text-muted\\)\\]{color:var(--tpl-text-muted)}.tpl\\:text-\\[var\\(--tpl-warning\\)\\]{color:var(--tpl-warning)}.tpl\\:normal-case{text-transform:none}.tpl\\:uppercase{text-transform:uppercase}.tpl\\:italic{font-style:italic}.tpl\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.tpl\\:no-underline{text-decoration-line:none}.tpl\\:underline{text-decoration-line:underline}.tpl\\:underline-offset-2{text-underline-offset:2px}.tpl\\:accent-\\[var\\(--tpl-primary\\)\\]{accent-color:var(--tpl-primary)}.tpl\\:opacity-0{opacity:0}.tpl\\:opacity-50{opacity:.5}.tpl\\:opacity-60{opacity:.6}.tpl\\:opacity-70{opacity:.7}.tpl\\:opacity-90{opacity:.9}.tpl\\:opacity-100{opacity:1}.tpl\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-ring\\)\\]{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow\\)\\]{--tw-shadow:var(--tpl-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-lg\\)\\]{--tw-shadow:var(--tpl-shadow-lg);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-\\[var\\(--tpl-border\\)\\]{--tw-ring-color:var(--tpl-border)}.tpl\\:ring-\\[var\\(--tpl-primary\\)\\]{--tw-ring-color:var(--tpl-primary)}.tpl\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )}.tpl\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.tpl\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.tpl\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.tpl\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.tpl\\:duration-\\[80ms\\]{--tw-duration:80ms;transition-duration:80ms}.tpl\\:duration-\\[120ms\\]{--tw-duration:.12s;transition-duration:.12s}.tpl\\:ease-\\[cubic-bezier\\(0\\.16\\,1\\,0\\.3\\,1\\)\\]{--tw-ease:cubic-bezier(.16,1,.3,1);transition-timing-function:cubic-bezier(.16,1,.3,1)}.tpl\\:ease-in{--tw-ease:cubic-bezier(.4, 0, 1, 1);transition-timing-function:cubic-bezier(.4,0,1,1)}.tpl\\:ease-out{--tw-ease:cubic-bezier(0, 0, .2, 1);transition-timing-function:cubic-bezier(0,0,.2,1)}.tpl\\:outline-none{--tw-outline-style:none;outline-style:none}.tpl\\:select-none{-webkit-user-select:none;user-select:none}:is(:where(.tpl\\:group):focus-within .tpl\\:group-focus-within\\:opacity-100){opacity:1}@media(hover:hover){:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:bg-black\\/40){background-color:oklab(0% none none/.4)}:is(:where(.tpl\\:group):hover .tpl\\:group-hover\\:opacity-100){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\:last\\:mb-0:last-child{margin-bottom:0}@media(hover:hover){.tpl\\:hover\\:z-10:hover{z-index:10}.tpl\\:hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:border-\\[var\\(--tpl-border\\)\\]:hover{border-color:var(--tpl-border)}.tpl\\:hover\\:border-\\[var\\(--tpl-danger\\)\\]:hover{border-color:var(--tpl-danger)}.tpl\\:hover\\:border-\\[var\\(--tpl-primary\\)\\]:hover{border-color:var(--tpl-primary)}.tpl\\:hover\\:border-\\[var\\(--tpl-text-dim\\)\\]:hover{border-color:var(--tpl-text-dim)}.tpl\\:hover\\:border-l-\\[var\\(--tpl-primary\\)\\]:hover{border-left-color:var(--tpl-primary)}.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:var(--tpl-text)}@supports (color:color-mix(in lab,red,red)){.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:color-mix(in srgb,var(--tpl-text) 8%,transparent)}}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-active\\)\\]:hover{background-color:var(--tpl-bg-active)}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-hover\\)\\]:hover{background-color:var(--tpl-bg-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-danger-light\\)\\]:hover{background-color:var(--tpl-danger-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-hover\\)\\]:hover{background-color:var(--tpl-primary-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-light\\)\\]:hover{background-color:var(--tpl-primary-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-warning-light\\)\\]:hover{background-color:var(--tpl-warning-light)}.tpl\\:hover\\:text-\\[var\\(--tpl-danger\\)\\]:hover{color:var(--tpl-danger)}.tpl\\:hover\\:text-\\[var\\(--tpl-primary\\)\\]:hover{color:var(--tpl-primary)}.tpl\\:hover\\:text-\\[var\\(--tpl-text\\)\\]:hover{color:var(--tpl-text)}.tpl\\:hover\\:underline:hover{text-decoration-line:underline}.tpl\\:hover\\:opacity-80:hover{opacity:.8}.tpl\\:hover\\:opacity-100:hover{opacity:1}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]:hover{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:hover\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]:hover{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.tpl\\:focus\\:border-\\[var\\(--tpl-primary\\)\\]:focus{border-color:var(--tpl-primary)}.tpl\\:focus\\:shadow-\\[0_0_0_3px_var\\(--tpl-primary-light\\)\\]:focus{--tw-shadow:0 0 0 3px var(--tw-shadow-color,var(--tpl-primary-light));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus,.tpl\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\]:focus-visible{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:focus-visible\\:ring-\\[var\\(--tpl-primary\\)\\]:focus-visible{--tw-ring-color:var(--tpl-primary)}.tpl\\:focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:focus-visible\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]:focus-visible{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.tpl\\:focus-visible\\:outline-\\[var\\(--tpl-primary\\)\\]:focus-visible{outline-color:var(--tpl-primary)}.tpl\\:focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}@media(hover:hover){.tpl\\:hover\\:focus-visible\\:shadow-\\[var\\(--tpl-ring\\)\\,var\\(--tpl-shadow-sm\\)\\]:hover:focus-visible{--tw-shadow:var(--tpl-ring), var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.tpl\\:active\\:cursor-grabbing:active{cursor:grabbing}.tpl\\:active\\:bg-\\[var\\(--tpl-bg-active\\)\\]:active{background-color:var(--tpl-bg-active)}.tpl\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.tpl\\:disabled\\:opacity-30:disabled{opacity:.3}.tpl\\:disabled\\:opacity-40:disabled{opacity:.4}.tpl\\:disabled\\:opacity-50:disabled{opacity:.5}.tpl\\:disabled\\:opacity-60:disabled{opacity:.6}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}.tpl\\:\\[\\&_p\\]\\:mb-2 p{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}@layer base{:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):after,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):before,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(hr):not(:where(.tpl-email-surface,.tpl-email-surface *)){height:0;color:inherit;border-top-width:1px}:where(.tpl) :where(abbr[title]):not(:where(.tpl-email-surface,.tpl-email-surface *)){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.tpl) :where(h1):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h2):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h3):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h4):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h5):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h6):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:inherit;font-weight:inherit}:where(.tpl) :where(a):not(:where(.tpl-email-surface,.tpl-email-surface *)){color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}:where(.tpl) :where(b):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(strong):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(code):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(kbd):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(samp):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(pre):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}:where(.tpl) :where(small):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:80%}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline;font-size:75%;line-height:0;position:relative}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)){bottom:-.25em}:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){top:-.5em}:where(.tpl) :where(table):not(:where(.tpl-email-surface,.tpl-email-surface *)){text-indent:0;border-color:inherit;border-collapse:collapse}:where(.tpl) :where(:-moz-focusring:not(iframe)):not(:where(.tpl-email-surface,.tpl-email-surface *)){outline:auto}:where(.tpl) :where(progress):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline}:where(.tpl) :where(summary):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:list-item}:where(.tpl) :where(ol):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(ul):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(menu):not(:where(.tpl-email-surface,.tpl-email-surface *)){list-style:none}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(svg):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(canvas):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(audio):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(iframe):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(embed):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(object):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:middle;display:block}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)){max-width:100%;height:auto}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(select):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(select:is([multiple],[size]) optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(select:is([multiple],[size]) optgroup option):not(:where(.tpl-email-surface,.tpl-email-surface *)){padding-inline-start:20px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{margin-inline-end:4px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){resize:vertical}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-search-decoration{-webkit-appearance:none}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{display:inline-flex}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-fields-wrapper{padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-year-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-month-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-day-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-hour-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-minute-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-second-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-millisecond-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-meridiem-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-calendar-picker-indicator{line-height:1}:where(.tpl) :where(:-moz-ui-invalid):not(:where(.tpl-email-surface,.tpl-email-surface *)){box-shadow:none}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input:is([type=button],[type=reset],[type=submit])):not(:where(.tpl-email-surface,.tpl-email-surface *)){appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-inner-spin-button{height:auto}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-outer-spin-button{height:auto}:where(.tpl) :where([hidden]:not([hidden=until-found])):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:none!important}}@layer components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:var(--tpl-user-bg,oklch(99.5% .002 60));--tpl-bg-elevated:var(--tpl-user-bg-elevated,oklch(98% .004 60));--tpl-bg-hover:var(--tpl-user-bg-hover,oklch(96% .006 60));--tpl-bg-active:var(--tpl-user-bg-active,oklch(93.5% .008 60));--tpl-border:var(--tpl-user-border,oklch(92% .006 60));--tpl-border-light:var(--tpl-user-border-light,oklch(86% .01 60));--tpl-text:var(--tpl-user-text,oklch(18% .01 60));--tpl-text-muted:var(--tpl-user-text-muted,oklch(50% .015 60));--tpl-text-dim:var(--tpl-user-text-dim,oklch(68% .012 60));--tpl-primary:var(--tpl-user-primary,oklch(70% .16 55));--tpl-primary-hover:var(--tpl-user-primary-hover,oklch(63% .17 55));--tpl-primary-light:var(--tpl-user-primary-light,oklch(95% .04 55));--tpl-on-primary:var(--tpl-user-on-primary,var(--tpl-bg));--tpl-secondary:var(--tpl-user-secondary,oklch(60% .118 184.71));--tpl-secondary-hover:var(--tpl-user-secondary-hover,oklch(53.2% .105 186.39));--tpl-secondary-light:var(--tpl-user-secondary-light,oklch(93.8% .03 186.82));--tpl-success:var(--tpl-user-success,oklch(62.8% .194 155.1));--tpl-success-light:var(--tpl-user-success-light,oklch(93.6% .043 163.51));--tpl-warning:var(--tpl-user-warning,oklch(76.9% .168 70.08));--tpl-warning-light:var(--tpl-user-warning-light,oklch(95% .038 73.59));--tpl-danger:var(--tpl-user-danger,oklch(63.7% .237 25.33));--tpl-danger-light:var(--tpl-user-danger-light,oklch(93.6% .032 17.72));--tpl-canvas-bg:var(--tpl-user-canvas-bg,oklch(97.5% .003 60));--tpl-chrome-bg-elevated:var(--tpl-bg-elevated);--tpl-chrome-border-light:var(--tpl-border-light);--tpl-chrome-text:var(--tpl-text);--tpl-chrome-text-muted:var(--tpl-text-muted);--tpl-chrome-text-dim:var(--tpl-text-dim);--tpl-chrome-primary-light:var(--tpl-primary-light);--tpl-chrome-primary-hover:var(--tpl-primary-hover);--tpl-radius:var(--tpl-user-radius,10px);--tpl-radius-sm:var(--tpl-user-radius-sm,7px);--tpl-radius-lg:var(--tpl-user-radius-lg,14px);--tpl-font-family:var(--tpl-user-font-family,\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");--tpl-shadow-sm:var(--tpl-user-shadow-sm,0 1px 2px #00000008);--tpl-shadow:var(--tpl-user-shadow,0 1px 2px #0000000a, 0 1px 3px #00000008);--tpl-shadow-md:var(--tpl-user-shadow-md,0 2px 8px #0000000f, 0 1px 3px #0000000a);--tpl-shadow-lg:var(--tpl-user-shadow-lg,0 4px 16px #00000014, 0 2px 6px #0000000a);--tpl-shadow-xl:var(--tpl-user-shadow-xl,0 8px 32px #0000001a, 0 4px 12px #0000000f);--tpl-overlay:var(--tpl-user-overlay,#00000080);--tpl-ring:var(--tpl-user-ring,0 0 0 3px var(--tpl-primary-light));--tpl-transition:var(--tpl-user-transition,.12s cubic-bezier(.16, 1, .3, 1));--tpl-panel-transition:var(--tpl-user-panel-transition,.24s cubic-bezier(.16, 1, .3, 1))}.tpl[data-tpl-theme=dark]{--tpl-bg:var(--tpl-user-dark-bg,oklch(16% .005 60));--tpl-bg-elevated:var(--tpl-user-dark-bg-elevated,oklch(21% .006 60));--tpl-bg-hover:var(--tpl-user-dark-bg-hover,oklch(26% .007 60));--tpl-bg-active:var(--tpl-user-dark-bg-active,oklch(30% .008 60));--tpl-border:var(--tpl-user-dark-border,oklch(30% .006 60));--tpl-border-light:var(--tpl-user-dark-border-light,oklch(38% .008 60));--tpl-text:var(--tpl-user-dark-text,oklch(93% .005 60));--tpl-text-muted:var(--tpl-user-dark-text-muted,oklch(65% .01 60));--tpl-text-dim:var(--tpl-user-dark-text-dim,oklch(50% .008 60));--tpl-primary:var(--tpl-user-dark-primary,oklch(73% .15 55));--tpl-primary-hover:var(--tpl-user-dark-primary-hover,oklch(78% .14 55));--tpl-primary-light:var(--tpl-user-dark-primary-light,oklch(28% .05 55));--tpl-secondary:var(--tpl-user-dark-secondary,oklch(63% .11 184.71));--tpl-secondary-hover:var(--tpl-user-dark-secondary-hover,oklch(68% .1 186.39));--tpl-secondary-light:var(--tpl-user-dark-secondary-light,oklch(25% .03 186.82));--tpl-success:var(--tpl-user-dark-success,oklch(65% .18 155.1));--tpl-success-light:var(--tpl-user-dark-success-light,oklch(25% .04 163.51));--tpl-warning:var(--tpl-user-dark-warning,oklch(78% .16 70.08));--tpl-warning-light:var(--tpl-user-dark-warning-light,oklch(28% .04 73.59));--tpl-danger:var(--tpl-user-dark-danger,oklch(65% .22 25.33));--tpl-danger-light:var(--tpl-user-dark-danger-light,oklch(25% .04 17.72));--tpl-canvas-bg:var(--tpl-user-dark-canvas-bg,oklch(10% .003 60));--tpl-shadow-sm:var(--tpl-user-dark-shadow-sm,0 1px 2px #0003);--tpl-shadow:var(--tpl-user-dark-shadow,0 1px 2px #0000004d, 0 1px 3px #0003);--tpl-shadow-md:var(--tpl-user-dark-shadow-md,0 2px 8px #00000059, 0 1px 3px #00000040);--tpl-shadow-lg:var(--tpl-user-dark-shadow-lg,0 4px 16px #0006, 0 2px 6px #0000004d);--tpl-shadow-xl:var(--tpl-user-dark-shadow-xl,0 8px 32px #00000080, 0 4px 12px #00000059);--tpl-overlay:var(--tpl-user-dark-overlay,#000000b3);--tpl-ring:var(--tpl-user-dark-ring,0 0 0 3px var(--tpl-primary-light))}.tpl[data-tpl-theme=dark] .tpl-block-content,.tpl[data-tpl-theme=dark] .tpl-canvas-empty{--tpl-bg-elevated:oklch(98% .004 60);--tpl-border-light:oklch(86% .01 60);--tpl-text:oklch(18% .01 60);--tpl-text-muted:oklch(50% .015 60);--tpl-text-dim:oklch(68% .012 60);--tpl-primary-light:oklch(95% .04 55);--tpl-primary-hover:oklch(60% .16 55);color:var(--tpl-text)}.tpl{height:100%;font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875));--tw-leading:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--tpl-bg);min-height:320px;color:var(--tpl-text);line-height:1.5;font-family:var(--tpl-font-family);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:normal;cursor:auto;font-variant-numeric:normal;text-shadow:none;flex-direction:column;font-style:normal;font-weight:400;list-style-type:disc;display:flex}:where(.tpl) button,:where(.tpl) input,:where(.tpl) select,:where(.tpl) textarea{box-sizing:border-box;font-family:inherit}:where(.tpl) button{cursor:pointer;background:0 0;border:none;margin:0;padding:0}:where(.tpl) button:focus-visible,:where(.tpl) input:focus-visible,:where(.tpl) select:focus-visible,:where(.tpl) textarea:focus-visible{box-shadow:var(--tpl-ring);outline:none}:where(.tpl) .tpl-focus-ring-host:focus-within :is(input,select,textarea):focus-visible{box-shadow:none}.tpl ::-webkit-scrollbar{width:6px;height:6px}.tpl ::-webkit-scrollbar-track{background:0 0}.tpl ::-webkit-scrollbar-thumb{background-color:var(--tpl-border-light)}@supports (color:color-mix(in lab,red,red)){.tpl ::-webkit-scrollbar-thumb{background-color:color-mix(in srgb,var(--tpl-border-light) 60%,transparent)}}.tpl ::-webkit-scrollbar-thumb{border-radius:calc(.25 * var(--tpl-base-size))}.tpl ::-webkit-scrollbar-thumb:hover{background-color:var(--tpl-border-light)}@keyframes tpl-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes tpl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tpl-popover-root{z-index:10000;position:relative}.tpl-merge-tag-label{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}@supports (color:color-mix(in lab,red,red)){.tpl-merge-tag-label{-webkit-text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)}}.tpl-merge-tag-label{unicode-bidi:isolate}.tpl-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes tpl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.tpl-fade-in{animation:.2s cubic-bezier(.16,1,.3,1) tpl-fade-in}.tpl-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-in}.tpl-shimmer{background:linear-gradient(90deg,var(--tpl-bg-hover) 25%,var(--tpl-bg-active) 50%,var(--tpl-bg-hover) 75%);background-size:200% 100%;animation:1.5s linear infinite tpl-shimmer}.tpl-preview-mode .tpl-block--idle,.tpl-preview-mode .tpl-block--idle:hover,.tpl-preview-mode .tpl-block--selected{box-shadow:none!important;outline:none!important}.tpl-preview-mode .tpl-block{cursor:default;pointer-events:none}.tpl-canvas-pane{container:tpl-canvas-pane/inline-size}.tpl-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock,.tpl-preview-mode .tpl-block-issue-badge{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));outline:1px dashed var(--tpl-primary);outline-offset:4px}.tpl-text-editable--error{outline-color:var(--tpl-danger)}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0 0 var(--tpl-doc-paragraph-spacing,8px)}.tpl-text-content p:last-child,.tpl-text-editable .tiptap p:last-child{margin-bottom:0}.tpl-text-content ul,.tpl-text-content ol,.tpl-text-editable .tiptap ul,.tpl-text-editable .tiptap ol{margin:8px 0;padding-inline-start:24px}.tpl-text-content li,.tpl-text-editable .tiptap li{margin:4px 0}.tpl-text-content s,.tpl-text-editable .tiptap s{text-decoration-line:line-through}.tpl-text-content sub,.tpl-text-editable .tiptap sub{vertical-align:sub;font-size:.75em}.tpl-text-content sup,.tpl-text-editable .tiptap sup{vertical-align:super;font-size:.75em}.tpl-text-content a,.tpl-text-editable a{color:var(--tpl-doc-link-color,inherit);-webkit-text-decoration:var(--tpl-doc-link-underline,none);text-decoration:var(--tpl-doc-link-underline,none)}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:500;background-color:var(--tpl-primary);align-items:center;font-size:.9em;font-weight:500;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{background-color:color-mix(in srgb,var(--tpl-primary) 20%,transparent)}}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{color:var(--tpl-primary);unicode-bidi:isolate}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:700;--tw-tracking:.025em;letter-spacing:.025em;text-transform:uppercase;border:1.5px solid var(--tpl-primary);unicode-bidi:isolate;background-color:#0000;align-items:center;font-size:.8em;font-weight:700;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{border:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent)}}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{color:var(--tpl-primary)}.tpl-tooltip{position:relative}.tpl-tooltip:after{content:attr(data-tooltip);border-radius:var(--tpl-radius-sm);background-color:var(--tpl-chrome-text);color:var(--tpl-bg);white-space:normal;text-align:center;pointer-events:none;opacity:0;text-transform:none;z-index:50;width:max-content;max-width:min(320px,90vw);padding:4px 10px;font-size:12px;font-weight:500;line-height:1.4;transition:opacity .15s;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%)}.tpl-tooltip:before{content:\"\";border:4px solid #0000;border-bottom-color:var(--tpl-chrome-text);pointer-events:none;opacity:0;z-index:50;transition:opacity .15s;position:absolute;top:calc(100% + 2px);left:50%;transform:translate(-50%)}.tpl-tooltip:hover:after,.tpl-tooltip:hover:before{opacity:1}.tpl-media-overlay{background-color:var(--tpl-overlay);-webkit-backdrop-filter:blur(8px);height:100%;min-height:0;color:var(--tpl-text);flex-direction:row;justify-content:center;align-items:center;display:flex}.tpl.tpl-text-toolbar{flex-direction:row;height:auto;min-height:0;display:flex}.tpl.tpl-link-dialog{background-color:var(--tpl-overlay);flex-direction:row;justify-content:center;align-items:center;height:100%;min-height:0;display:flex}.tpl-upload-zone-active{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-merge-tag-delete:hover{color:var(--tpl-danger)!important}@media(prefers-reduced-motion:reduce){.tpl-pulse,.tpl-shimmer,.tpl-fade-in,.tpl-scale-in{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl-spinner{animation:1s linear infinite tpl-spin}.tpl-body,.tpl-right-sidebar{transition:none}.tpl-panel-enter-active,.tpl-panel-leave-active{animation:none}}.tpl-body{transition:left var(--tpl-panel-transition),right var(--tpl-panel-transition)}.tpl-right-sidebar{transition:right var(--tpl-panel-transition)}.tpl-panel-enter-active{animation:var(--tpl-panel-transition) both tpl-panel-in}.tpl-panel-leave-active{animation:var(--tpl-panel-transition) both tpl-panel-out}@keyframes tpl-panel-in{0%{transform:translate(100%)}to{transform:none}}@keyframes tpl-panel-out{0%{transform:none}to{transform:translate(100%)}}.tpl-header-container{container:tpl-header/inline-size}.tpl-header-identity [data-testid=template-name],.tpl-header-identity [data-testid=template-name-input]{max-width:100%}.tpl-language-tag{display:none}.tpl-header-identity{flex-shrink:1;min-width:24px}.tpl-header-timestamp{max-width:100%}.tpl-header:not([data-status-label=true]) .tpl-status-label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-header[data-compact=true]{grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px;padding-inline:8px}.tpl-header[data-compact=true] .tpl-header-left,.tpl-header[data-compact=true] .tpl-header-right{gap:4px;min-width:0}.tpl-header[data-compact=true] .tpl-header-center{gap:4px}.tpl-header[data-compact=true] .tpl-header-identity{flex:0 auto;min-width:24px;max-width:none;padding-bottom:0}.tpl-header[data-compact=true] .tpl-header-timestamp,.tpl-header[data-compact=true] .tpl-header-label,.tpl-header[data-compact=true] .tpl-header-comment-count,.tpl-header[data-compact=true] .tpl-language-name,.tpl-header[data-compact=true] .tpl-language-count,.tpl-header[data-compact=true] .tpl-language-chevron{display:none}.tpl-header[data-compact=true] .tpl-header-left .tpl-language-tag{display:inline}.tpl-header[data-compact=true] .tpl-language-control{flex-shrink:1}.tpl-header[data-compact=true] .tpl-language-trigger{gap:4px;padding-inline:6px;width:100%!important;max-width:72px!important}.tpl-header[data-compact=true] .tpl-header-center [role=radio]{padding-inline:6px}.tpl-header[data-compact=true] [data-testid=version-history]{gap:0}.tpl-header[data-compact=true] [data-testid=version-history-toggle]{padding-inline:4px}.tpl-header[data-compact=true] .tpl-header-right>button{gap:0;min-width:32px;padding-inline:7px}.tpl-header[data-compact=true] .tpl-header-save-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-preview-pill-enter-active[data-v-d30a2d38]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-d30a2d38]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-d30a2d38],.tpl-preview-pill-leave-to[data-v-d30a2d38]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-d30a2d38],.tpl-preview-pill-leave-from[data-v-d30a2d38]{opacity:1;transform:translateY(0) scale(1)}hex-color-picker{--hcp-width: 200px}hex-color-picker::part(hue){border-radius:var(--tpl-radius-sm, 7px)}hex-color-picker::part(saturation){border-radius:var(--tpl-radius-sm, 7px) var(--tpl-radius-sm, 7px) 0 0}.tpl-color-swatch-empty{background-color:var(--tpl-bg);background-image:linear-gradient(to top right,transparent calc(50% - .75px),var(--tpl-text-dim) calc(50% - .75px),var(--tpl-text-dim) calc(50% + .75px),transparent calc(50% + .75px))}.tpl-color-swatch-transparent{background-color:var(--tpl-bg);background-image:repeating-conic-gradient(var(--tpl-border) 0% 25%,var(--tpl-bg) 0% 50%);background-size:8px 8px}.tpl-pulse-fill[data-v-fca026e4]{animation:tpl-field-pulse-fca026e4 1s ease-out}@keyframes tpl-field-pulse-fca026e4{0%{box-shadow:0 0 color-mix(in srgb,var(--tpl-warning) 30%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 6%,transparent)}40%{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-warning) 15%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 5%,transparent)}to{box-shadow:0 0 0 0 transparent;background-color:transparent}}@media(prefers-reduced-motion:reduce){.tpl-pulse-fill[data-v-fca026e4]{animation:none}}input[type=number][data-v-94c2e6ff]::-webkit-outer-spin-button,input[type=number][data-v-94c2e6ff]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-94c2e6ff]{-moz-appearance:textfield}.tpl-collapsible[data-v-206f038f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-206f038f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-206f038f]{overflow:hidden}@container tpl-header (max-width: 760px){.tpl-language-submenu[data-v-9b071249]{left:0;top:100%;bottom:auto;margin:4px 0 0;max-width:100%}}.tpl-language-row[data-v-9b071249]:hover,.tpl-language-row[data-v-9b071249]:focus-within,[role=menuitem][data-v-9b071249]:hover{background:var(--tpl-bg-hover)}.tpl-language-row[data-active=true][data-v-9b071249]{background:var(--tpl-bg-active)}.tpl-language-row[data-active=true] .tpl-language-pill[data-v-9b071249]{background:var(--tpl-bg)}[aria-disabled=true][data-v-9b071249]{cursor:not-allowed;color:var(--tpl-text-muted)}[aria-disabled=true] svg[data-v-9b071249]{color:var(--tpl-text-dim)}@media(hover:hover)and (pointer:fine){.tpl-language-actions[data-v-9b071249]{opacity:0}.tpl-language-row:hover .tpl-language-actions[data-v-9b071249],.tpl-language-row:focus-within .tpl-language-actions[data-v-9b071249],.tpl-language-actions[aria-expanded=true][data-v-9b071249]{opacity:1}}.tpl-language-actions[data-v-9b071249]{transition:opacity var(--tpl-transition)}.tpl-saved-block-skeleton{animation:tpl-saved-block-pulse 1.4s ease-in-out infinite}@keyframes tpl-saved-block-pulse{0%,to{opacity:1}50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.tpl-saved-block-skeleton{animation:none}}.tpl-saved-block-select:focus-visible{box-shadow:none}.tpl-saved-block-select:focus-visible:after{content:\"\";position:absolute;inset:-1px;border-radius:var(--tpl-radius-sm);box-shadow:var(--tpl-ring);pointer-events:none}.tpl-saved-block-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-media-item[data-v-57c35946]:not(.tpl-media-item--selected):hover{border-color:var(--tpl-border)!important}.tpl-media-list-item[data-v-57c35946]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-list-icon[data-v-57c35946]{transform:scale(.35);transform-origin:center}.tpl-preview-icon[data-v-50993988]{transform:scale(.45);transform-origin:center}.tpl-comments-input-wrapper[data-v-75eacb94]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-75eacb94]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-75eacb94]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-75eacb94]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-75eacb94]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-75eacb94]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-75eacb94]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-75eacb94]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-75eacb94],.tpl-comment-reply-card[data-v-75eacb94]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-75eacb94],.tpl-resolve-leave-active[data-v-75eacb94]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-75eacb94],.tpl-resolve-leave-to[data-v-75eacb94]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-75eacb94]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-75eacb94]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-75eacb94],.tpl-replies-leave-active[data-v-75eacb94]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-75eacb94],.tpl-replies-leave-to[data-v-75eacb94]{opacity:0;transform:translateY(-4px)}.tpl-ai-input-wrapper[data-v-51fb7448]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-51fb7448]:not(:disabled):hover{transform:scale(1.05)}.tpl-starter-btn[data-v-51fb7448]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.vue-advanced-cropper{text-align:center;position:relative;-webkit-user-select:none;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{-webkit-user-select:none;user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;-webkit-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}[data-v-7d9a1872] .tpl-cropper-background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper{background-color:transparent!important}[data-v-7d9a1872] .vue-advanced-cropper__background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper__foreground{background-color:var(--tpl-overlay)!important}\n/*$vite$:1*/", Jo = null;
4352
+ function Yo() {
4353
+ if (Jo === null) {
4332
4354
  let e = new CSSStyleSheet();
4333
- e.replaceSync(Ho(Ko)), qo = e;
4355
+ e.replaceSync(Uo(qo)), Jo = e;
4334
4356
  }
4335
- return qo;
4357
+ return Jo;
4336
4358
  }
4337
- function Yo(e) {
4359
+ function Xo(e) {
4338
4360
  return () => {};
4339
4361
  }
4340
- function Xo(e, t) {
4362
+ function Zo(e, t) {
4341
4363
  if (!t) return {
4342
4364
  target: e,
4343
4365
  shadowRoot: null,
4344
4366
  cleanup: () => {}
4345
4367
  };
4346
4368
  let n = e.shadowRoot ?? e.attachShadow({ mode: "open" });
4347
- for (n.adoptedStyleSheets = [Jo()]; n.firstChild;) n.removeChild(n.firstChild);
4369
+ for (n.adoptedStyleSheets = [Yo()]; n.firstChild;) n.removeChild(n.firstChild);
4348
4370
  let r = document.createElement("div");
4349
4371
  return r.className = "tpl-editor-host", r.style.cssText = "display:block;height:100%;width:100%;", n.appendChild(r), {
4350
4372
  target: r,
4351
4373
  shadowRoot: n,
4352
- cleanup: Yo(n)
4374
+ cleanup: Xo(n)
4353
4375
  };
4354
4376
  }
4355
- var Zo = /* @__PURE__ */ new Map(), Qo = null, $o = 0, es = /* @__PURE__ */ new WeakMap();
4356
- function ts(e) {
4377
+ var Qo = /* @__PURE__ */ new Map(), $o = null, es = 0, ts = /* @__PURE__ */ new WeakMap();
4378
+ function ns(e) {
4357
4379
  let t = typeof e == "string" ? document.querySelector(e) : e;
4358
4380
  if (!t) throw Error(`[Templatical] Container element not found: ${e}`);
4359
- let n = ++$o;
4360
- return es.set(t, n), {
4381
+ let n = ++es;
4382
+ return ts.set(t, n), {
4361
4383
  container: t,
4362
4384
  token: n
4363
4385
  };
4364
4386
  }
4365
- function ns(e, t) {
4366
- let n = Zo.get(e);
4367
- n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), Zo.delete(e), Qo === e && (Qo = null)));
4387
+ function rs(e, t) {
4388
+ let n = Qo.get(e);
4389
+ n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), Qo.delete(e), $o === e && ($o = null)));
4368
4390
  }
4369
- function rs(e) {
4370
- e.layout && (e.layout = Hn(e.layout, e.mergeTags), fe(e.layout)), e.content && (e.content = Hn(e.content, e.mergeTags), se(e.content), K(e.content));
4391
+ function is(e) {
4392
+ e.layout && (e.layout = gn(e.layout, e.mergeTags), Ie(e.layout)), e.content && (e.content = gn(e.content, e.mergeTags), X(e.content), de(e.content));
4371
4393
  }
4372
- async function is(e) {
4394
+ async function as(e) {
4373
4395
  let t = { ...e };
4374
- if (t.translation !== void 0 && (t.translation === null || typeof t.translation != "object" || typeof t.translation.translate != "function")) throw new Z("translation must be an object with a translate function.");
4375
- for (let e of t.localization?.locales ?? []) if (!Se(e)) throw new Z(`Invalid localization locale "${e}".`);
4396
+ if (t.translation !== void 0 && (t.translation === null || typeof t.translation != "object" || typeof t.translation.translate != "function")) throw new Q("translation must be an object with a translate function.");
4397
+ for (let e of t.localization?.locales ?? []) if (!Ee(e)) throw new Q(`Invalid localization locale "${e}".`);
4376
4398
  let n = t.localization?.doNotTranslate;
4377
- if (n !== void 0 && (!Array.isArray(n) || n.length > 500 || n.some((e) => typeof e != "string" || e.trim().length < 1 || e.trim().length > 100))) throw new Z("localization.doNotTranslate must be an array of at most 500 terms, each 1–100 characters.");
4378
- return rs(t), as(t, ts(t.container));
4399
+ if (n !== void 0 && (!Array.isArray(n) || n.length > 500 || n.some((e) => typeof e != "string" || e.trim().length < 1 || e.trim().length > 100))) throw new Q("localization.doNotTranslate must be an array of at most 500 terms, each 1–100 characters.");
4400
+ return is(t), os(t, ns(t.container));
4379
4401
  }
4380
- async function as(e, { container: t, token: n }, r) {
4381
- e.locale !== void 0 && !Je(e.locale) && Ln.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${Ke().sort().join(", ")}.`);
4382
- let i = await Ge(e.locale ?? "en"), a = Ze(e.fonts);
4383
- if (es.get(t) !== n) return os({
4402
+ async function os(e, { container: t, token: n }, r) {
4403
+ e.locale !== void 0 && !Bt(e.locale) && On.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${Rt().sort().join(", ")}.`);
4404
+ let i = await Lt(e.locale ?? "en"), a = Ut(e.fonts);
4405
+ if (ts.get(t) !== n) return ss({
4384
4406
  config: e,
4385
4407
  editorRef: S(null),
4386
4408
  fontsManager: a,
4387
4409
  unmount: () => {}
4388
4410
  }).instance;
4389
- ns(t);
4390
- let o = Xo(t, e.shadowDom ?? !0), s = S(null), c = V({ setup() {
4391
- return () => m(Bo, {
4411
+ rs(t);
4412
+ let o = Zo(t, e.shadowDom ?? !0), s = S(null), c = V({ setup() {
4413
+ return () => m(Vo, {
4392
4414
  config: e,
4393
4415
  translations: i,
4394
4416
  fontsManager: a,
@@ -4401,39 +4423,39 @@ async function as(e, { container: t, token: n }, r) {
4401
4423
  ref: s
4402
4424
  });
4403
4425
  } });
4404
- c.mount(o.target), Zo.set(t, {
4426
+ c.mount(o.target), Qo.set(t, {
4405
4427
  app: c,
4406
4428
  editorRef: s,
4407
4429
  cleanup: o.cleanup
4408
- }), Qo = t;
4409
- let { instance: l, render: u } = os({
4430
+ }), $o = t;
4431
+ let { instance: l, render: u } = ss({
4410
4432
  config: e,
4411
4433
  editorRef: s,
4412
4434
  fontsManager: a,
4413
- unmount: () => ns(t, c)
4435
+ unmount: () => rs(t, c)
4414
4436
  });
4415
4437
  return l;
4416
4438
  }
4417
- function os({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4439
+ function ss({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4418
4440
  let i = {
4419
4441
  getContent() {
4420
- return t.value ? be(t.value.getContent()) : be(e.content ?? J(e.fonts?.defaultFont, $n(e)));
4442
+ return t.value ? we(t.value.getContent()) : we(e.content ?? be(e.fonts?.defaultFont, er(e)));
4421
4443
  },
4422
4444
  getLocale() {
4423
- return t.value?.getLocale() ?? Q(i.getContent());
4445
+ return t.value?.getLocale() ?? Z(i.getContent());
4424
4446
  },
4425
4447
  setLocale(n) {
4426
4448
  let r = i.getContent();
4427
- if (n !== Q(r) && (!e.localization || !r.settings.locales?.includes(n))) throw new Z(`This template has no "${n}" version.`, void 0, "unknown_locale");
4449
+ if (n !== Z(r) && (!e.localization || !r.settings.locales?.includes(n))) throw new Q(`This template has no "${n}" version.`, void 0, "unknown_locale");
4428
4450
  t.value?.setLocale(n);
4429
4451
  },
4430
4452
  setContent(n) {
4431
- let r = Hn(n, e.mergeTags);
4453
+ let r = gn(n, e.mergeTags);
4432
4454
  t.value && t.value.setContent(r), e.content = r;
4433
4455
  },
4434
4456
  insertBlock(n) {
4435
4457
  let r = { blocks: [n] };
4436
- return se(r), K(r), t.value ? t.value.insertBlock(Wn(n, e.mergeTags)) : null;
4458
+ return X(r), de(r), t.value ? t.value.insertBlock(vn(n, e.mergeTags)) : null;
4437
4459
  },
4438
4460
  setTheme(e) {
4439
4461
  t.value && t.value.setTheme(e);
@@ -4448,7 +4470,7 @@ function os({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4448
4470
  create(n) {
4449
4471
  return t.value ? t.value.create(n?.content ? {
4450
4472
  ...n,
4451
- content: Hn(n.content, e.mergeTags)
4473
+ content: gn(n.content, e.mergeTags)
4452
4474
  } : n) : Promise.reject(/* @__PURE__ */ Error("[Templatical] Editor not ready"));
4453
4475
  },
4454
4476
  load(e) {
@@ -4468,20 +4490,20 @@ function os({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4468
4490
  },
4469
4491
  toMjml: (e) => a.toMjml(e),
4470
4492
  toHtml: (e) => a.toHtml(e)
4471
- }, a = Go({
4493
+ }, a = Ko({
4472
4494
  provider: e.render,
4473
- buildPayload: (t) => Wo({
4495
+ buildPayload: (t) => Go({
4474
4496
  getContent: () => i.getContent(),
4475
4497
  renderCustomBlock: (e) => i.renderCustomBlock(e),
4476
4498
  getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
4477
- getFonts: () => Uo(n),
4499
+ getFonts: () => Wo(n),
4478
4500
  getLayout: () => e.layout
4479
4501
  }, t),
4480
- renderLocalMjml: (t) => di({
4502
+ renderLocalMjml: (t) => fi({
4481
4503
  getContent: () => i.getContent(),
4482
4504
  renderCustomBlock: (e) => i.renderCustomBlock(e),
4483
4505
  getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
4484
- getFonts: () => Uo(n),
4506
+ getFonts: () => Wo(n),
4485
4507
  socialIconsBaseUrl: e.socialIconsBaseUrl,
4486
4508
  getLayout: () => e.layout
4487
4509
  }, ...t ? [t] : [])
@@ -4491,18 +4513,18 @@ function os({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
4491
4513
  render: a
4492
4514
  };
4493
4515
  }
4494
- async function ss(e) {
4516
+ async function cs(e) {
4495
4517
  let t = {
4496
4518
  layout: e.layout,
4497
4519
  content: e.content,
4498
4520
  mergeTags: e.mergeTags
4499
4521
  };
4500
- rs(t);
4501
- let n = ts(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./createCloudRuntime-DplyIlsy.js"), Ue(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
4522
+ is(t);
4523
+ let n = ns(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./createCloudRuntime-Cnh2M6iT.js"), Ft(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
4502
4524
  config: e,
4503
4525
  cloudTranslations: i
4504
4526
  });
4505
- return as({
4527
+ return os({
4506
4528
  container: e.container,
4507
4529
  content: t.content,
4508
4530
  layout: t.layout,
@@ -4546,7 +4568,7 @@ async function ss(e) {
4546
4568
  user: s
4547
4569
  }, n, a);
4548
4570
  }
4549
- function cs() {
4550
- Qo && ns(Qo);
4571
+ function ls() {
4572
+ $o && rs($o);
4551
4573
  }
4552
- export { kt as AI_ALT_TEXT_RULES, jt as AI_FIXABLE_RULES, we as applyLayout, J as createDefaultTemplateContent, Le as createLocalStorageMediaProvider, ke as createLocalStorageSavedBlocksProvider, ce as createParagraphBlock, le as createSlotBlock, ue as createWrapperBlock, Ve as getBaseLocale, st as getSupportedCloudLocales, Ke as getSupportedLocales, is as init, ss as initCloud, qe as isCloudLocaleSupported, Je as isLocaleSupported, X as isSlot, re as isWrapper, ve as layoutWrapsSlot, cs as unmount, fe as validateLayout };
4574
+ export { Cn as AI_ALT_TEXT_RULES, Tn as AI_FIXABLE_RULES, xe as applyLayout, be as createDefaultTemplateContent, oe as createLocalStorageMediaProvider, q as createLocalStorageSavedBlocksProvider, Ce as createParagraphBlock, he as createSlotBlock, ye as createWrapperBlock, Nt as getBaseLocale, $t as getSupportedCloudLocales, Rt as getSupportedLocales, as as init, cs as initCloud, zt as isCloudLocaleSupported, Bt as isLocaleSupported, fe as isSlot, le as isWrapper, Ae as layoutWrapsSlot, ls as unmount, Ie as validateLayout };