@templatical/editor 0.46.0 → 0.48.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 (317) hide show
  1. package/dist/{AiChatSidebar-DGcH4Lyo.js → AiChatSidebar-DxPHFNoT.js} +14 -14
  2. package/dist/{AiFeatureMenu-B4q-0g1S.js → AiFeatureMenu-C8GVqu1d.js} +7 -7
  3. package/dist/{BlockIssueBadge-CZA1XvAh.js → BlockIssueBadge-BShkuJis.js} +5 -5
  4. package/dist/BlockPreviewCanvas-tzAtDkXH.js +141 -0
  5. package/dist/{CloudHeaderExtras-ehMYJP68.js → CloudHeaderExtras-CUSftQdm.js} +5 -5
  6. package/dist/{CloudPanels-BwOaAlKz.js → CloudPanels-Dgw7tb4R.js} +9 -9
  7. package/dist/{CollaboratorBar-qOZFRNPx.js → CollaboratorBar-5rfopCPx.js} +4 -4
  8. package/dist/{CommentsPanel-Bn6P5crU.js → CommentsPanel-DiWzYtnZ.js} +2 -2
  9. package/dist/{CommentsSidebar-B8wT932T.js → CommentsSidebar-BOqj16Al.js} +14 -14
  10. package/dist/CountdownBlock-zx39Dyby.js +92 -0
  11. package/dist/{CountdownToolbar-BeF21SeB.js → CountdownToolbar-C4y3Ft7H.js} +7 -7
  12. package/dist/{DesignReferenceSidebar-zH93uB15.js → DesignReferenceSidebar-BWAi3eQQ.js} +13 -13
  13. package/dist/{IssuesPanel-Dltw9haP.js → IssuesPanel-C-x3I012.js} +8 -8
  14. package/dist/{LoadingTrack-DROqNuuD.js → LoadingTrack-6XsqodoY.js} +1 -1
  15. package/dist/{LogicTagInsertButton-CHa-UD76.js → LogicTagInsertButton-B1_Wy0AN.js} +13 -13
  16. package/dist/{MediaEditModal-EY1YYcpw.js → MediaEditModal-ByOvznRC.js} +4 -4
  17. package/dist/{MediaPanels-CRVFGFZW.js → MediaPanels-9mDBv4aL.js} +2 -2
  18. package/dist/{MergeTagInput-B3ntd4dN.js → MergeTagInput-fOewuF27.js} +3 -3
  19. package/dist/{MergeTagModeToggle-C_06ZL0Q.js → MergeTagModeToggle-BXamLcv7.js} +7 -7
  20. package/dist/{ParagraphEditor-CxuW3TV0.js → ParagraphEditor-BVjOwwHx.js} +100 -85
  21. package/dist/{RestoreVersionDialog-B1n37M1Z.js → RestoreVersionDialog-BEKXx9xk.js} +6 -6
  22. package/dist/{RichTextEditorContent-CP_uULWB.js → RichTextEditorContent-D7kp7iig.js} +12 -12
  23. package/dist/{SaveBlockDialog-BSKX_7_v.js → SaveBlockDialog-SJu0lecx.js} +34 -35
  24. package/dist/{SavedBlocksBrowserModal-CHKrH1gO.js → SavedBlocksBrowserModal-DbmIS5uK.js} +14 -14
  25. package/dist/{SavedBlocksPanels-B-xDqBcz.js → SavedBlocksPanels-Dr5Fxx9Z.js} +2 -2
  26. package/dist/{SavedBlocksPickBar-D2J-g82g.js → SavedBlocksPickBar-DnEWBZJy.js} +5 -5
  27. package/dist/{TemplateScoringPanel-3lHzuCl0.js → TemplateScoringPanel-ynbGl-sr.js} +16 -16
  28. package/dist/{TemplateSettings-D07K_Y4m.js → TemplateSettings-Bi01S3H3.js} +12 -12
  29. package/dist/{TestEmailModal-BNPw_lID.js → TestEmailModal-CbRY8HQx.js} +14 -14
  30. package/dist/{TestEmailPanel-8klWo8hE.js → TestEmailPanel-NAOmt3xi.js} +2 -2
  31. package/dist/{TitleEditor-CmC9OuhA.js → TitleEditor-Cc3DHbuN.js} +15 -15
  32. package/dist/{ToggleSwitch-COeyWGfT.js → ToggleSwitch-Ozc7YU38.js} +2 -2
  33. package/dist/Toolbar-B-2lO0I8.js +3156 -0
  34. package/dist/{TplModal-BGFawHY9.js → TplModal-Bz4-IZ9R.js} +6 -6
  35. package/dist/{VersionHistoryMenu-D7zaTMrb.js → VersionHistoryMenu-CjV1d1zk.js} +10 -10
  36. package/dist/{VersionHistoryPanels-DdbGjEOR.js → VersionHistoryPanels-BtwxrKJn.js} +2 -2
  37. package/dist/{VersionPreviewBanner-BUKb9gc6.js → VersionPreviewBanner-BLAei1kj.js} +4 -4
  38. package/dist/WrapperBlock-D0qgNqjD.js +45 -0
  39. package/dist/{blockTypeIcons-CVKo6V_v.js → blockTypeIcons-CEDZytqP.js} +50 -20
  40. package/dist/bundle-stats.json +8 -8
  41. package/dist/{ca-C__Dzq--.js → ca-CbNzJM3I.js} +38 -1
  42. package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js → AiChatSidebar-Dk0rJBQN.js} +8 -8
  43. package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js.map → AiChatSidebar-Dk0rJBQN.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js → AiFeatureMenu-B7b0w8ZS.js} +6 -6
  45. package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js.map → AiFeatureMenu-B7b0w8ZS.js.map} +1 -1
  46. package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js → BlockIssueBadge-C7sdnkrF.js} +5 -5
  47. package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js.map → BlockIssueBadge-C7sdnkrF.js.map} +1 -1
  48. package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js +143 -0
  49. package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js.map +1 -0
  50. package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js → CloudHeaderExtras-B4fhuwc_.js} +5 -5
  51. package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js.map → CloudHeaderExtras-B4fhuwc_.js.map} +1 -1
  52. package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js → CloudPanels-awqHfJqC.js} +8 -8
  53. package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js.map → CloudPanels-awqHfJqC.js.map} +1 -1
  54. package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js → CollaboratorBar-CS0ivqkr.js} +5 -5
  55. package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js.map → CollaboratorBar-CS0ivqkr.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js → CommentsPanel-CbzxwsyI.js} +3 -3
  57. package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js.map → CommentsPanel-CbzxwsyI.js.map} +1 -1
  58. package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js → CommentsSidebar-DWPHZuQm.js} +8 -8
  59. package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js.map → CommentsSidebar-DWPHZuQm.js.map} +1 -1
  60. package/dist/cdn/chunks/CountdownBlock-Dasj191h.js +94 -0
  61. package/dist/cdn/chunks/CountdownBlock-Dasj191h.js.map +1 -0
  62. package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js → CountdownToolbar-Cqg8FUH-.js} +8 -8
  63. package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js.map → CountdownToolbar-Cqg8FUH-.js.map} +1 -1
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js → DesignReferenceSidebar-BW9cHnA9.js} +12 -12
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js.map → DesignReferenceSidebar-BW9cHnA9.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js → IssuesPanel-cXf9ywA4.js} +8 -8
  67. package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js.map → IssuesPanel-cXf9ywA4.js.map} +1 -1
  68. package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js → LoadingTrack-DbH97JR9.js} +2 -2
  69. package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js.map → LoadingTrack-DbH97JR9.js.map} +1 -1
  70. package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js → LogicTagInsertButton-BMB9vShs.js} +89 -89
  71. package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js.map → LogicTagInsertButton-BMB9vShs.js.map} +1 -1
  72. package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js → MediaEditModal-zXfcArr4.js} +4 -4
  73. package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js.map → MediaEditModal-zXfcArr4.js.map} +1 -1
  74. package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js → MediaPanels-Cp4XB_dH.js} +3 -3
  75. package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js.map → MediaPanels-Cp4XB_dH.js.map} +1 -1
  76. package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js → MergeTagInput-DLqrA9co.js} +4 -4
  77. package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js.map → MergeTagInput-DLqrA9co.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js → MergeTagModeToggle-BRiJzzn5.js} +6 -6
  79. package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js.map → MergeTagModeToggle-BRiJzzn5.js.map} +1 -1
  80. package/dist/cdn/chunks/{ParagraphEditor-DndEFXmR.js → ParagraphEditor-D4aq9eeC.js} +116 -101
  81. package/dist/cdn/chunks/ParagraphEditor-D4aq9eeC.js.map +1 -0
  82. package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js → RestoreVersionDialog-BgR6RXSb.js} +6 -6
  83. package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js.map → RestoreVersionDialog-BgR6RXSb.js.map} +1 -1
  84. package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js → RichTextEditorContent-C4DMAn0g.js} +11 -11
  85. package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js.map → RichTextEditorContent-C4DMAn0g.js.map} +1 -1
  86. package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js → SaveBlockDialog-BaIsQd09.js} +41 -42
  87. package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js.map → SaveBlockDialog-BaIsQd09.js.map} +1 -1
  88. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js → SavedBlocksBrowserModal-CtnB58p_.js} +10 -10
  89. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js.map → SavedBlocksBrowserModal-CtnB58p_.js.map} +1 -1
  90. package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js → SavedBlocksPanels-BhEOMzEQ.js} +3 -3
  91. package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js.map → SavedBlocksPanels-BhEOMzEQ.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js → SavedBlocksPickBar-CcdqTEIp.js} +6 -6
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js.map → SavedBlocksPickBar-CcdqTEIp.js.map} +1 -1
  94. package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js → TemplateScoringPanel-BrWqJCSP.js} +9 -9
  95. package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js.map → TemplateScoringPanel-BrWqJCSP.js.map} +1 -1
  96. package/dist/cdn/chunks/{TemplateSettings-rZiHmq24.js → TemplateSettings-BkkWTDHD.js} +14 -14
  97. package/dist/cdn/chunks/TemplateSettings-BkkWTDHD.js.map +1 -0
  98. package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js → TestEmailModal-V5mwHsUV.js} +13 -13
  99. package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js.map → TestEmailModal-V5mwHsUV.js.map} +1 -1
  100. package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js → TestEmailPanel-DxrKuctP.js} +3 -3
  101. package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js.map → TestEmailPanel-DxrKuctP.js.map} +1 -1
  102. package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js → TitleEditor-CsZiG3TT.js} +19 -19
  103. package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js.map → TitleEditor-CsZiG3TT.js.map} +1 -1
  104. package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js → ToggleSwitch-BB-bQADJ.js} +3 -3
  105. package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js.map → ToggleSwitch-BB-bQADJ.js.map} +1 -1
  106. package/dist/cdn/chunks/Toolbar-C_x2TfFk.js +3073 -0
  107. package/dist/cdn/chunks/Toolbar-C_x2TfFk.js.map +1 -0
  108. package/dist/cdn/chunks/{TplModal-CYBbPCHL.js → TplModal-DC_eodTV.js} +6 -6
  109. package/dist/cdn/chunks/TplModal-DC_eodTV.js.map +1 -0
  110. package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js → VersionHistoryMenu-DXnM5Df2.js} +11 -11
  111. package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js.map → VersionHistoryMenu-DXnM5Df2.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js → VersionHistoryPanels-DXSqmaLS.js} +3 -3
  113. package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js.map → VersionHistoryPanels-DXSqmaLS.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js → VersionPreviewBanner-DKyN6BhO.js} +5 -5
  115. package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js.map → VersionPreviewBanner-DKyN6BhO.js.map} +1 -1
  116. package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js +47 -0
  117. package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js.map +1 -0
  118. package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js +22 -0
  119. package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js.map +1 -0
  120. package/dist/cdn/chunks/{ca-C__Dzq--.js → ca-CbNzJM3I.js} +39 -2
  121. package/dist/cdn/chunks/ca-CbNzJM3I.js.map +1 -0
  122. package/dist/cdn/chunks/{cloud-h1vaHp2p.js → cloud-BHClP3e2.js} +3 -3
  123. package/dist/cdn/chunks/{cloud-h1vaHp2p.js.map → cloud-BHClP3e2.js.map} +1 -1
  124. package/dist/cdn/chunks/{createCloudRuntime-bJN9EM1H.js → createCloudRuntime-Vd0N4elZ.js} +18 -9
  125. package/dist/cdn/chunks/createCloudRuntime-Vd0N4elZ.js.map +1 -0
  126. package/dist/cdn/chunks/{de-CGjbQ2mt.js → de-DMquBpZM.js} +39 -2
  127. package/dist/cdn/chunks/de-DMquBpZM.js.map +1 -0
  128. package/dist/cdn/chunks/{dist-B7W-Lb65.js → dist-CjL6JHML.js} +3 -3
  129. package/dist/cdn/chunks/{dist-B7W-Lb65.js.map → dist-CjL6JHML.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C5nRd_ua.js → dist-MNQYSEWU.js} +4 -4
  131. package/dist/cdn/chunks/{dist-C5nRd_ua.js.map → dist-MNQYSEWU.js.map} +1 -1
  132. package/dist/cdn/chunks/{draggable-BUTN5vZC.js → draggable-DrsNwZuB.js} +1673 -1595
  133. package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +1 -0
  134. package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js → editor-modal-vEEmZ8Tu.js} +93 -93
  135. package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js.map → editor-modal-vEEmZ8Tu.js.map} +1 -1
  136. package/dist/cdn/chunks/{en-BTiiAC-B.js → en-C8Mp71sO.js} +39 -2
  137. package/dist/cdn/chunks/en-C8Mp71sO.js.map +1 -0
  138. package/dist/cdn/chunks/en-eWpiXyZu.js +1 -0
  139. package/dist/cdn/chunks/{es-CdTOcSTf.js → es-Byq4tthI.js} +39 -2
  140. package/dist/cdn/chunks/es-Byq4tthI.js.map +1 -0
  141. package/dist/cdn/chunks/{extensions-CrmXF4MW.js → extensions-hJ9VqzDc.js} +7 -7
  142. package/dist/cdn/chunks/{extensions-CrmXF4MW.js.map → extensions-hJ9VqzDc.js.map} +1 -1
  143. package/dist/cdn/chunks/{fr-B6lcLLzC.js → fr-B3j35HEw.js} +39 -2
  144. package/dist/cdn/chunks/fr-B3j35HEw.js.map +1 -0
  145. package/dist/cdn/chunks/{icons-Dr9erFGs.js → icons-aTYwH5-g.js} +107 -78
  146. package/dist/cdn/chunks/icons-aTYwH5-g.js.map +1 -0
  147. package/dist/{ja-BhdkqENz.js → cdn/chunks/ja-D7txAuGS.js} +40 -1
  148. package/dist/cdn/chunks/ja-D7txAuGS.js.map +1 -0
  149. package/dist/cdn/chunks/{keys-BKu-LOk5.js → keys-HI-INbkz.js} +2 -2
  150. package/dist/cdn/chunks/{keys-BKu-LOk5.js.map → keys-HI-INbkz.js.map} +1 -1
  151. package/dist/{nl-CE3YItYg.js → cdn/chunks/nl-ClJ3BY3F.js} +40 -1
  152. package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +1 -0
  153. package/dist/cdn/chunks/{preRenderCustomBlocks-CyGB3lZr.js → preRenderCustomBlocks-ByfuSjtL.js} +4 -2
  154. package/dist/cdn/chunks/preRenderCustomBlocks-ByfuSjtL.js.map +1 -0
  155. package/dist/{pt-BR-CUIT4rq4.js → cdn/chunks/pt-BR-DibcXcmv.js} +40 -1
  156. package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +1 -0
  157. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js +1279 -0
  158. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +1 -0
  159. package/dist/{dist-BI_LeQGl.js → cdn/chunks/src-DYCDeBDM.js} +437 -256
  160. package/dist/cdn/chunks/src-DYCDeBDM.js.map +1 -0
  161. package/dist/cdn/chunks/{src-B0pZeTYO.js → src-DlFlC9Tt.js} +334 -268
  162. package/dist/cdn/chunks/src-DlFlC9Tt.js.map +1 -0
  163. package/dist/cdn/chunks/src-dZ4D_tuP.js +649 -0
  164. package/dist/cdn/chunks/src-dZ4D_tuP.js.map +1 -0
  165. package/dist/{styleConstants-C_YAPdQS.js → cdn/chunks/styleConstants-D1Jz-TFU.js} +9 -28
  166. package/dist/cdn/chunks/{styleConstants-C_YAPdQS.js.map → styleConstants-D1Jz-TFU.js.map} +1 -1
  167. package/dist/cdn/chunks/timeouts-Cv2jvusx.js +6 -0
  168. package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +1 -0
  169. package/dist/cdn/chunks/{tiptap-CYDXLO17.js → tiptap-BPigZk5G.js} +3258 -3098
  170. package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +1 -0
  171. package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js → useAliveFlag-DCB96vzR.js} +2 -2
  172. package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js.map → useAliveFlag-DCB96vzR.js.map} +1 -1
  173. package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js → useCloudI18n-BBF4waXO.js} +3 -3
  174. package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js.map → useCloudI18n-BBF4waXO.js.map} +1 -1
  175. package/dist/cdn/chunks/{useEditorCore-DuC7kVti.js → useEditorCore-Bb2UcB20.js} +780 -764
  176. package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +1 -0
  177. package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +10 -0
  178. package/dist/cdn/chunks/{useEditorRoot-DDPIcEOO.js.map → useEditorRoot-CTc6O8al.js.map} +1 -1
  179. package/dist/cdn/chunks/{useI18n-DO4NTunW.js → useI18n-DUlyyIJJ.js} +3 -3
  180. package/dist/cdn/chunks/{useI18n-DO4NTunW.js.map → useI18n-DUlyyIJJ.js.map} +1 -1
  181. package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js → useLogicTag-HsyUCQtl.js} +4 -4
  182. package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js.map → useLogicTag-HsyUCQtl.js.map} +1 -1
  183. package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js → useMergeTag-Dg9pE85U.js} +4 -4
  184. package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js.map → useMergeTag-Dg9pE85U.js.map} +1 -1
  185. package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js → usePopoverPosition-IbaW6-Ao.js} +3 -3
  186. package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js.map → usePopoverPosition-IbaW6-Ao.js.map} +1 -1
  187. package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js → useScrollToBlock-uUa601I4.js} +3 -3
  188. package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js.map → useScrollToBlock-uUa601I4.js.map} +1 -1
  189. package/dist/cdn/chunks/withCurrentFont-oLcATrQ8.js +21 -0
  190. package/dist/cdn/chunks/{withCurrentFont-isIyuezD.js.map → withCurrentFont-oLcATrQ8.js.map} +1 -1
  191. package/dist/cdn/editor.css +1 -1
  192. package/dist/cdn/editor.js +641 -631
  193. package/dist/cdn/editor.js.map +1 -1
  194. package/dist/{check-ZKvtMdpe.js → check-ClwqRMgv.js} +1 -1
  195. package/dist/{chevron-down-RrwkYMlp.js → chevron-down-te6qn-zE.js} +1 -1
  196. package/dist/{chevron-right-CklHaa1U.js → chevron-right-W2hbH1FM.js} +1 -1
  197. package/dist/{chevron-up-DjN2NTbo.js → chevron-up-Bf5Zo7o4.js} +1 -1
  198. package/dist/{circle-alert-BR1_Yfb-.js → circle-alert-CIEGV5DN.js} +1 -1
  199. package/dist/{clock-BEagNj21.js → clock-Y4cx0gkJ.js} +1 -1
  200. package/dist/{cloud-DPGjMGfv.js → cloud-B5xwm_4X.js} +2 -2
  201. package/dist/{copy-D6DNoSq1.js → copy-BEcsAlfB.js} +1 -1
  202. package/dist/{createCloudRuntime-D0RRgWab.js → createCloudRuntime-zNPkF6T9.js} +17 -8
  203. package/dist/{createLucideIcon-BAPyioGd.js → createLucideIcon-CYHXK9hn.js} +6 -6
  204. package/dist/{de-CGjbQ2mt.js → de-DMquBpZM.js} +38 -1
  205. package/dist/{dist-Bd7khQsg.js → dist-3HpYixwF.js} +2 -2
  206. package/dist/{dist-lL3nVbxV.js → dist-BC-ZEYLd.js} +2 -2
  207. package/dist/dist-BPFcLKTw.js +5 -0
  208. package/dist/{dist-C-VFTX82.js → dist-CUWI-IvA.js} +2 -2
  209. package/dist/{dist-Bc30883t.js → dist-Cr7RPxI9.js} +5 -5
  210. package/dist/{dist-DapsJxn_.js → dist-CuLwJF7H.js} +2 -2
  211. package/dist/{dist-5KNKxglR.js → dist-CyBwSiAa.js} +2 -2
  212. package/dist/dist-D7Yj7E-F.js +5 -0
  213. package/dist/{dist-B_vYjCsk.js → dist-DAAJogrx.js} +3 -3
  214. package/dist/{dist-CMcFD7gP.js → dist-DBxgrOeo.js} +1906 -1746
  215. package/dist/{dist-DHensKDY.js → dist-DPcf6XZ8.js} +2 -2
  216. package/dist/{dist-5DAb7bYT.js → dist-DVNjPKsH.js} +2 -2
  217. package/dist/{dist-C3eH9-N2.js → dist-DXyGqIDE.js} +2 -2
  218. package/dist/{dist-1H4cnaoD.js → dist-DuufrR8O.js} +4 -4
  219. package/dist/{cdn/chunks/src-Bh0MoJ67.js → dist-tsmnQugO.js} +207 -174
  220. package/dist/{editor-modal-oRmkDlUs.js → editor-modal-AlVLkU91.js} +20 -20
  221. package/dist/en-B0FUfNwz.js +1 -0
  222. package/dist/{en-BTiiAC-B.js → en-C8Mp71sO.js} +38 -1
  223. package/dist/{es-CdTOcSTf.js → es-Byq4tthI.js} +38 -1
  224. package/dist/{extensions-CYigjb1g.js → extensions-pjO8VGkM.js} +9 -9
  225. package/dist/{eye-DvsTBI57.js → eye-Ddnz8nnm.js} +1 -1
  226. package/dist/{fr-B6lcLLzC.js → fr-B3j35HEw.js} +38 -1
  227. package/dist/{image-up-BoFGZm5Q.js → image-up-CM_HC0Dx.js} +1 -1
  228. package/dist/index.d.ts +124 -11
  229. package/dist/{info-0bQQGjTV.js → info-DXLmzoeY.js} +1 -1
  230. package/dist/{cdn/chunks/ja-BhdkqENz.js → ja-D7txAuGS.js} +38 -3
  231. package/dist/{keys-injl74ob.js → keys-BKFq19a2.js} +1 -1
  232. package/dist/{link-Cstrr3Ep.js → link-Cel46wgo.js} +1 -1
  233. package/dist/{list-Dx9Rmy5s.js → list-Cl0GwiV9.js} +1 -1
  234. package/dist/{loader-circle-D8Qqs0MG.js → loader-circle-uAwpvfys.js} +1 -1
  235. package/dist/{message-circle-D78ELX6I.js → message-circle-DWU1pTM_.js} +1 -1
  236. package/dist/{cdn/chunks/nl-CE3YItYg.js → nl-ClJ3BY3F.js} +38 -3
  237. package/dist/{package-DOvM9sHE.js → package-CbyG_yU_.js} +1 -1
  238. package/dist/{pencil-B6m0OG0n.js → pencil-BzoDcwKu.js} +1 -1
  239. package/dist/{plus-D-nEKxTc.js → plus-8cDvoCjZ.js} +1 -1
  240. package/dist/{preRenderCustomBlocks-DokBGA_M.js → preRenderCustomBlocks-DMP5RuHl.js} +6 -4
  241. package/dist/{cdn/chunks/pt-BR-CUIT4rq4.js → pt-BR-DibcXcmv.js} +38 -3
  242. package/dist/{refresh-cw-CXZS-R1U.js → refresh-cw-9WinWixo.js} +1 -1
  243. package/dist/{runtime-dom.esm-bundler-CO67ema2.js → runtime-dom.esm-bundler-lFF-QG3j.js} +3 -3
  244. package/dist/{search-DSvil0jo.js → search-CqgGq1gG.js} +1 -1
  245. package/dist/{send-BBR28V94.js → send-Ceo3c9Db.js} +1 -1
  246. package/dist/{shield-check-ByxUnaU9.js → shield-check-uDAwur5D.js} +1 -1
  247. package/dist/{smartphone-CNOwGf5T.js → smartphone-CcLaCpGK.js} +1 -1
  248. package/dist/socialIcons-PTiwhLoC.js +1359 -0
  249. package/dist/{sparkles-DO1hzwzf.js → sparkles-Do9XjAuT.js} +1 -1
  250. package/dist/style.css +1 -1
  251. package/dist/{cdn/chunks/styleConstants-C_YAPdQS.js → styleConstants-D1Jz-TFU.js} +7 -30
  252. package/dist/templatical-editor.js +519 -509
  253. package/dist/{text-align-start-BKEKMheq.js → text-align-start-DvzC0HQA.js} +1 -1
  254. package/dist/timeouts-Cv2jvusx.js +4 -0
  255. package/dist/{trash-CKEQH4vH.js → trash-vlINTx32.js} +1 -1
  256. package/dist/{triangle-alert-BHnfd3fV.js → triangle-alert-MRYSJ9T2.js} +1 -1
  257. package/dist/{upload-C8uO7KsR.js → upload-CtNOI6J2.js} +1 -1
  258. package/dist/{useAliveFlag-6PtarpNZ.js → useAliveFlag-Dd06mRxe.js} +1 -1
  259. package/dist/{useCloudI18n-GvIOLziA.js → useCloudI18n-Nwqo7pI_.js} +2 -2
  260. package/dist/{useEditorCore-BJAQMvNW.js → useEditorCore-PvErWWsp.js} +1002 -991
  261. package/dist/{useEditorRoot-OWzNpDdT.js → useEditorRoot-BD3piYtD.js} +2 -2
  262. package/dist/{useI18n-uF11q85g.js → useI18n-CxVEpurs.js} +2 -2
  263. package/dist/{useLogicTag-B5gjcMzn.js → useLogicTag-BHn67tDd.js} +3 -3
  264. package/dist/{useMergeTag-BwsBIDzR.js → useMergeTag-CRkm5Ig6.js} +5 -5
  265. package/dist/{usePopoverPosition-DkBrHfCo.js → usePopoverPosition-CwnH1o5g.js} +2 -2
  266. package/dist/{useScrollToBlock-JRxhT1u_.js → useScrollToBlock-CXmcHQQN.js} +3 -3
  267. package/dist/{vue.runtime.esm-bundler-CctRY8kr.js → vue.runtime.esm-bundler-CAzmrXdD.js} +1215 -1155
  268. package/dist/{withCurrentFont-C9vqrduu.js → withCurrentFont-CxRGeHO3.js} +1 -1
  269. package/dist/{x-gEC0yMci.js → x-Cd6SFw8r.js} +1 -1
  270. package/package.json +23 -23
  271. package/dist/BlockPreviewCanvas-DIZ0KgUD.js +0 -133
  272. package/dist/CountdownBlock-RNx3hIu0.js +0 -91
  273. package/dist/Toolbar-CqhRb6EM.js +0 -2732
  274. package/dist/WrapperBlock-CTkmA887.js +0 -34
  275. package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js +0 -135
  276. package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js.map +0 -1
  277. package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js +0 -93
  278. package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js.map +0 -1
  279. package/dist/cdn/chunks/ParagraphEditor-DndEFXmR.js.map +0 -1
  280. package/dist/cdn/chunks/TemplateSettings-rZiHmq24.js.map +0 -1
  281. package/dist/cdn/chunks/Toolbar-C_5HfUQq.js +0 -2646
  282. package/dist/cdn/chunks/Toolbar-C_5HfUQq.js.map +0 -1
  283. package/dist/cdn/chunks/TplModal-CYBbPCHL.js.map +0 -1
  284. package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js +0 -36
  285. package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js.map +0 -1
  286. package/dist/cdn/chunks/blockTypeIcons-DdZP-3FM.js +0 -21
  287. package/dist/cdn/chunks/blockTypeIcons-DdZP-3FM.js.map +0 -1
  288. package/dist/cdn/chunks/ca-C__Dzq--.js.map +0 -1
  289. package/dist/cdn/chunks/createCloudRuntime-bJN9EM1H.js.map +0 -1
  290. package/dist/cdn/chunks/de-CGjbQ2mt.js.map +0 -1
  291. package/dist/cdn/chunks/draggable-BUTN5vZC.js.map +0 -1
  292. package/dist/cdn/chunks/en-BTiiAC-B.js.map +0 -1
  293. package/dist/cdn/chunks/en-CAt6y87e.js +0 -1
  294. package/dist/cdn/chunks/es-CdTOcSTf.js.map +0 -1
  295. package/dist/cdn/chunks/fr-B6lcLLzC.js.map +0 -1
  296. package/dist/cdn/chunks/icons-Dr9erFGs.js.map +0 -1
  297. package/dist/cdn/chunks/ja-BhdkqENz.js.map +0 -1
  298. package/dist/cdn/chunks/nl-CE3YItYg.js.map +0 -1
  299. package/dist/cdn/chunks/preRenderCustomBlocks-CyGB3lZr.js.map +0 -1
  300. package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +0 -1
  301. package/dist/cdn/chunks/socialIcons-ClJVDZwt.js +0 -1031
  302. package/dist/cdn/chunks/socialIcons-ClJVDZwt.js.map +0 -1
  303. package/dist/cdn/chunks/src-B0pZeTYO.js.map +0 -1
  304. package/dist/cdn/chunks/src-BMw3u-iV.js +0 -614
  305. package/dist/cdn/chunks/src-BMw3u-iV.js.map +0 -1
  306. package/dist/cdn/chunks/src-Bh0MoJ67.js.map +0 -1
  307. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js +0 -6
  308. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +0 -1
  309. package/dist/cdn/chunks/tiptap-CYDXLO17.js.map +0 -1
  310. package/dist/cdn/chunks/useEditorCore-DuC7kVti.js.map +0 -1
  311. package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +0 -10
  312. package/dist/cdn/chunks/withCurrentFont-isIyuezD.js +0 -21
  313. package/dist/dist-CFC4pg2o.js +0 -5
  314. package/dist/dist-j2FavQmU.js +0 -5
  315. package/dist/en-Bk4iCfjp.js +0 -1
  316. package/dist/socialIcons-Ct_IoqPQ.js +0 -1107
  317. package/dist/timeouts-DHPZQ0G3.js +0 -4
@@ -1,30 +1,30 @@
1
- import { B as e, E as t, F as n, H as r, I as i, M as a, N as o, P as s, Q as c, R as l, S as u, U as d, Y as f, _ as p, at as m, b as h, c as g, ct as _, f as v, g as y, h as b, j as x, k as S, l as C, lt as w, m as T, n as E, o as D, p as O, r as k, s as A, t as j, u as M, ut as N, v as ee, w as P, x as F, y as I } from "./chunks/draggable-BUTN5vZC.js";
2
- import { A as L, D as R, E as z, O as B, P as te, T as V, V as H, X as U, Y as W, Z as G, a as K, d as q, h as J, ht as Y, i as ne, j as X, k as Z, lt as re, o as ie, q as ae, r as oe, z as se } from "./chunks/src-Bh0MoJ67.js";
3
- import { c as ce, d as le, f as ue, l as de, p as fe, s as pe, u as me, x as he } from "./chunks/socialIcons-ClJVDZwt.js";
4
- import { _ as ge, d as _e, g as ve } from "./chunks/dist-B7W-Lb65.js";
5
- import { a as ye } from "./chunks/dist-C5nRd_ua.js";
6
- import { A as be, D as xe, E as Se, M as Ce, N as we, O as Te, S as Ee, a as De, c as Oe, d as ke, f as Ae, h as je, i as Me, j as Ne, k as Pe, l as Fe, m as Ie, n as Le, o as Re, p as ze, r as Be, s as Ve, t as He, u as Ue, v as We, w as Ge, x as Ke } from "./chunks/useEditorCore-DuC7kVti.js";
7
- import { $ as qe, A as Je, E as Ye, J as Xe, K as Ze, M as Qe, N as $e, P as et, Q as tt, U as nt, V as rt, X as it, Z as at, f as ot, g as st, l as ct, m as lt, o as ut, p as dt, q as ft, r as pt, s as mt, z as ht } from "./chunks/keys-BKu-LOk5.js";
8
- import { t as Q } from "./chunks/useI18n-DO4NTunW.js";
9
- import { t as gt } from "./chunks/logger-ByvdoAwq.js";
10
- import { t as _t } from "./chunks/templateSettingsFields-YCFVBVYh.js";
11
- import { $ as vt, D as yt, E as bt, Et as xt, I as St, J as Ct, L as wt, Lt as Tt, M as Et, N as Dt, Nt as Ot, P as kt, Rt as At, Tt as jt, X as Mt, at as Nt, ct as Pt, et as Ft, mt as It, n as Lt, nt as Rt, ut as zt, x as Bt } from "./chunks/icons-Dr9erFGs.js";
12
- import { t as Vt } from "./chunks/_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { t as Ht } from "./chunks/useCloudI18n-Cgk0ts_F.js";
14
- import { t as Ut } from "./chunks/useScrollToBlock-CpmB5KxW.js";
15
- import { C as Wt, S as Gt, p as Kt, y as qt } from "./chunks/styleConstants-C_YAPdQS.js";
16
- import { n as Jt, r as Yt, t as Xt } from "./chunks/WrapperBlock-CJ0CLqi2.js";
17
- import { t as Zt } from "./chunks/readableTextColor-f8Kykfnh.js";
18
- import { t as Qt } from "./chunks/blockTypeIcons-DdZP-3FM.js";
19
- import { n as $t, t as en } from "./chunks/MergeTagModeToggle-DZ4EuXVp.js";
20
- import { t as tn } from "./chunks/formatAbsoluteDateTime-DMmop3C-.js";
21
- import { t as nn } from "./chunks/formatRelativeTime-CtUU-QZ8.js";
22
- import { t as rn } from "./chunks/TplModal-CYBbPCHL.js";
23
- import { t as an } from "./chunks/preRenderCustomBlocks-CyGB3lZr.js";
1
+ import { B as e, E as t, F as n, H as r, I as i, M as a, N as o, P as s, Q as c, R as l, S as u, U as d, Y as f, _ as p, at as m, b as h, c as g, ct as _, f as v, g as y, h as b, j as x, k as S, l as C, lt as w, m as T, n as E, o as D, p as O, r as k, s as A, t as j, u as M, ut as N, v as P, w as F, x as I, y as L } from "./chunks/draggable-DrsNwZuB.js";
2
+ import { A as R, D as z, E as B, O as V, P as ee, T as H, V as U, X as W, Y as G, Z as K, a as q, d as J, h as Y, ht as X, i as te, j as ne, k as Z, lt as re, o as ie, q as ae, r as oe, z as se } from "./chunks/src-DYCDeBDM.js";
3
+ import { D as ce, E as le, L as ue, O as de, T as fe, c as pe, h as me, k as he, s as ge, v as _e, w as ve } from "./chunks/socialIcons-C_lnkpG6.js";
4
+ import { _ as ye, d as be, g as xe } from "./chunks/dist-CjL6JHML.js";
5
+ import { a as Se } from "./chunks/dist-MNQYSEWU.js";
6
+ import { A as Ce, C as we, F as Te, I as Ee, L as De, M as Oe, N as ke, O as Ae, P as je, _ as Me, a as Ne, b as Pe, c as Fe, d as Ie, f as Le, g as Re, h as ze, i as Be, j as Ve, l as He, m as Ue, n as We, o as Ge, p as Ke, r as qe, s as Je, t as Ye, u as Xe, w as Ze } from "./chunks/useEditorCore-Bb2UcB20.js";
7
+ import { $ as Qe, A as $e, E as et, J as tt, K as nt, M as rt, N as it, P as at, Q as ot, U as st, V as ct, X as lt, Z as ut, f as dt, g as ft, l as pt, m as mt, o as ht, p as gt, q as _t, r as vt, s as yt, v as bt, z as xt } from "./chunks/keys-HI-INbkz.js";
8
+ import { t as Q } from "./chunks/useI18n-DUlyyIJJ.js";
9
+ import { t as St } from "./chunks/logger-ByvdoAwq.js";
10
+ import { t as Ct } from "./chunks/templateSettingsFields-YCFVBVYh.js";
11
+ import { $ as wt, D as Tt, Dt as Et, E as Dt, Et as Ot, I as kt, J as At, L as jt, M as Mt, N as Nt, P as Pt, Pt as Ft, Rt as It, X as Lt, at as Rt, et as zt, ht as Bt, lt as Vt, n as Ht, nt as Ut, ut as Wt, x as Gt, zt as Kt } from "./chunks/icons-aTYwH5-g.js";
12
+ import { t as qt } from "./chunks/_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { t as Jt } from "./chunks/useCloudI18n-BBF4waXO.js";
14
+ import { t as Yt } from "./chunks/useScrollToBlock-uUa601I4.js";
15
+ import { C as Xt, S as Zt, p as Qt, y as $t } from "./chunks/styleConstants-D1Jz-TFU.js";
16
+ import { t as en } from "./chunks/readableTextColor-f8Kykfnh.js";
17
+ import { t as tn } from "./chunks/WrapperBlock-gG_Bleug.js";
18
+ import { t as nn } from "./chunks/blockTypeIcons-HrMJDfVg.js";
19
+ import { n as rn, t as an } from "./chunks/MergeTagModeToggle-BRiJzzn5.js";
20
+ import { t as on } from "./chunks/formatAbsoluteDateTime-DMmop3C-.js";
21
+ import { t as sn } from "./chunks/formatRelativeTime-CtUU-QZ8.js";
22
+ import { t as cn } from "./chunks/TplModal-DC_eodTV.js";
23
+ import { t as ln } from "./chunks/preRenderCustomBlocks-ByfuSjtL.js";
24
24
  //#region src/utils/resolveTemplateDefaults.ts
25
- var on = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
26
- function sn(e) {
27
- let t = e.locale?.trim().replace(/_/g, "-"), n = t && on.test(t) ? { locale: t } : void 0;
25
+ var un = /^[a-z]{2,3}(-[a-z0-9]{2,8})*$/i;
26
+ function dn(e) {
27
+ let t = e.locale?.trim().replace(/_/g, "-"), n = t && un.test(t) ? { locale: t } : void 0;
28
28
  if (n || e.templateDefaults) return {
29
29
  ...n,
30
30
  ...e.templateDefaults
@@ -32,14 +32,14 @@ function sn(e) {
32
32
  }
33
33
  //#endregion
34
34
  //#region src/composables/useCommentsFeature.ts
35
- function cn(t) {
36
- let { provider: n, editor: r } = t, i = de({
35
+ function fn(t) {
36
+ let { provider: n, editor: r } = t, i = fe({
37
37
  provider: n,
38
38
  getTemplateId: () => r.state.template?.id ?? null,
39
39
  getUser: () => t.user ?? null,
40
40
  onError: t.onError
41
41
  });
42
- ce({
42
+ ve({
43
43
  comments: i,
44
44
  provider: n,
45
45
  getTemplateId: () => r.state.template?.id ?? null
@@ -86,25 +86,22 @@ function cn(t) {
86
86
  }
87
87
  //#endregion
88
88
  //#region src/composables/useMediaFeature.ts
89
- function ln(e) {
89
+ function pn(e) {
90
90
  return e instanceof Error ? e : Error(String(e));
91
91
  }
92
- function un(e, t, n) {
92
+ function mn(e, t, n) {
93
93
  let r = e.maxFileSize ?? Infinity;
94
94
  if (t.size > r) return /* @__PURE__ */ Error(`Image is too large (${t.size} bytes). Maximum allowed is ${r} bytes.`);
95
95
  let i = e.mimeTypes;
96
96
  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"}.`);
97
97
  }
98
- function dn(e) {
98
+ function hn(e) {
99
99
  let { provider: t, onRequestMedia: n, getTemplateId: r, onError: i } = e, a = c(!1), o = c(void 0), s = v(() => r?.()), l = v(() => !!n || typeof t?.create == "function"), u = null;
100
100
  function d(e) {
101
101
  a.value = !1, u?.(e), u = null;
102
102
  }
103
103
  function p(e) {
104
- d({
105
- url: e.url,
106
- alt: e.alt
107
- });
104
+ d(gn(e));
108
105
  }
109
106
  function m() {
110
107
  d(null);
@@ -117,7 +114,7 @@ function dn(e) {
117
114
  if (!t) return null;
118
115
  if (e?.files?.length) {
119
116
  if (typeof t.create != "function") return null;
120
- let n = e.files[0], a = un(t, n, e.accept);
117
+ let n = e.files[0], a = mn(t, n, e.accept);
121
118
  if (a) return i?.(a), null;
122
119
  let o = r?.();
123
120
  try {
@@ -128,14 +125,11 @@ function dn(e) {
128
125
  try {
129
126
  t.onCreated?.(e);
130
127
  } catch (e) {
131
- i?.(ln(e));
128
+ i?.(pn(e));
132
129
  }
133
- return {
134
- url: e.url,
135
- alt: e.alt
136
- };
130
+ return gn(e);
137
131
  } catch (e) {
138
- return i?.(ln(e)), null;
132
+ return i?.(pn(e)), null;
139
133
  }
140
134
  }
141
135
  return u &&= (u(null), null), o.value = e?.accept, a.value = !0, new Promise((e) => {
@@ -151,10 +145,21 @@ function dn(e) {
151
145
  onError: i
152
146
  };
153
147
  }
148
+ function gn(e) {
149
+ let t = me(e.width, e.height);
150
+ return {
151
+ url: e.url,
152
+ alt: e.alt,
153
+ ...t ? {
154
+ width: t.width,
155
+ height: t.height
156
+ } : {}
157
+ };
158
+ }
154
159
  //#endregion
155
160
  //#region src/composables/useSavedBlocksFeature.ts
156
- function fn(t) {
157
- let { provider: n, editor: r } = t, i = fe({
161
+ function _n(t) {
162
+ let { provider: n, editor: r } = t, i = he({
158
163
  provider: n,
159
164
  onError: t.onError
160
165
  }), a = c(!1), o = c(!1), l = c(!1), u = c(/* @__PURE__ */ new Set()), d = v(() => l.value), f = v(() => u.value.size);
@@ -189,7 +194,7 @@ function fn(t) {
189
194
  }
190
195
  function S(e, t) {
191
196
  for (let n = 0; n < e.content.length; n++) {
192
- let i = L(e.content[n]), a = t === void 0 ? void 0 : t + n;
197
+ let i = R(e.content[n]), a = t === void 0 ? void 0 : t + n;
193
198
  r.addBlock(i, void 0, void 0, a);
194
199
  }
195
200
  o.value = !1;
@@ -198,7 +203,7 @@ function fn(t) {
198
203
  i.load().catch(() => {});
199
204
  }
200
205
  let w = v(() => i.savedBlocks.value.length), T = v(() => t.isAvailable?.() ?? !0);
201
- return s(nt, i), {
206
+ return s(st, i), {
202
207
  headless: i,
203
208
  isPicking: d,
204
209
  pickedIds: u,
@@ -235,11 +240,11 @@ function fn(t) {
235
240
  }
236
241
  //#endregion
237
242
  //#region src/composables/useTemplatesFeature.ts
238
- var pn = 3e3;
239
- function mn(e) {
240
- let { provider: t, editor: n } = e, r = c("idle"), i = c(""), { start: a, stop: o } = ge(() => {
243
+ var vn = 3e3;
244
+ function yn(e) {
245
+ let { provider: t, editor: n } = e, r = c("idle"), i = c(""), { start: a, stop: o } = ye(() => {
241
246
  r.value = "idle";
242
- }, pn, { immediate: !1 }), s = v(() => typeof t.create == "function"), l = v(() => typeof t.save == "function"), u = v(() => e.isAvailable?.() ?? !0), d = v(() => n.state.template?.name), f = v(() => {
247
+ }, vn, { immediate: !1 }), s = v(() => typeof t.create == "function"), l = v(() => typeof t.save == "function"), u = v(() => e.isAvailable?.() ?? !0), d = v(() => n.state.template?.name), f = v(() => {
243
248
  let e = n.state.template;
244
249
  return e?.updatedAt ? {
245
250
  iso: e.updatedAt,
@@ -303,7 +308,7 @@ function mn(e) {
303
308
  let t = e.trim();
304
309
  t && t !== n.state.template?.name && (n.setName(t), w("rename"));
305
310
  }
306
- return e.guardUnsavedChanges !== !1 && ye(window, "beforeunload", (e) => {
311
+ return e.guardUnsavedChanges !== !1 && Se(window, "beforeunload", (e) => {
307
312
  n.state.isDirty && (e.preventDefault(), e.returnValue = "");
308
313
  }), {
309
314
  save: _,
@@ -338,15 +343,15 @@ function mn(e) {
338
343
  }
339
344
  //#endregion
340
345
  //#region src/utils/toMjml.ts
341
- async function hn() {
346
+ async function bn() {
342
347
  try {
343
- return await import("./chunks/src-BMw3u-iV.js");
348
+ return await import("./chunks/src-dZ4D_tuP.js");
344
349
  } catch {
345
350
  return null;
346
351
  }
347
352
  }
348
- async function gn(e) {
349
- let t = await hn();
353
+ async function xn(e) {
354
+ let t = await bn();
350
355
  if (!t) throw Error("[Templatical] toMjml() requires the @templatical/renderer package. Please install it.");
351
356
  let n = e.getCustomBlockStylesheet, r = e.getFonts?.(), i = e.getLayout?.();
352
357
  return t.renderToMjml(e.getContent(), {
@@ -362,11 +367,11 @@ async function gn(e) {
362
367
  }
363
368
  //#endregion
364
369
  //#region src/composables/useTestEmailFeature.ts
365
- var _n = 1200;
366
- function vn(e) {
370
+ var Sn = 1200;
371
+ function Cn(e) {
367
372
  return e instanceof Error ? e : Error(String(e));
368
373
  }
369
- function yn(e) {
374
+ function wn(e) {
370
375
  let { provider: t } = e, n = c(!1), r = c(!1), i = c(!1), a = c(null), o = null, s = !1;
371
376
  function l() {
372
377
  o !== null && (clearTimeout(o), o = null);
@@ -388,8 +393,8 @@ function yn(e) {
388
393
  if (t.includeMjml && e.renderMjml) try {
389
394
  return await e.renderMjml();
390
395
  } catch (t) {
391
- if ((e.usesLocalRenderer?.() ?? !0) && await hn() === null) {
392
- s || (s = !0, gt.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
396
+ if ((e.usesLocalRenderer?.() ?? !0) && await bn() === null) {
397
+ s || (s = !0, St.warn("testEmail.includeMjml is set but @templatical/renderer is not installed — sending the template as JSON only. Install it to receive `payload.mjml`."));
393
398
  return;
394
399
  }
395
400
  throw t;
@@ -399,7 +404,7 @@ function yn(e) {
399
404
  try {
400
405
  t.onSent?.(n);
401
406
  } catch (t) {
402
- e.onError?.(vn(t));
407
+ e.onError?.(Cn(t));
403
408
  }
404
409
  }
405
410
  async function y(n) {
@@ -415,9 +420,9 @@ function yn(e) {
415
420
  ...r === void 0 ? {} : { mjml: r },
416
421
  ...s === void 0 ? {} : { allowedRecipients: s }
417
422
  };
418
- await t.send(a), i.value = !0, o = setTimeout(h, _n), _(a);
423
+ await t.send(a), i.value = !0, o = setTimeout(h, Sn), _(a);
419
424
  } catch (t) {
420
- let n = vn(t);
425
+ let n = Cn(t);
421
426
  a.value = {
422
427
  kind: "provider",
423
428
  message: n.message
@@ -446,8 +451,8 @@ function yn(e) {
446
451
  }
447
452
  //#endregion
448
453
  //#region src/composables/useVersionHistoryFeature.ts
449
- function bn(e) {
450
- let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = me({
454
+ function Tn(e) {
455
+ let { provider: t, editor: n, history: r, conditionPreview: i, autoSave: a } = e, o = le({
451
456
  provider: t,
452
457
  getTemplateId: () => n.state.template?.id ?? null,
453
458
  onError: e.onError
@@ -473,7 +478,7 @@ function bn(e) {
473
478
  return;
474
479
  }
475
480
  let t = await o.resolveContent(e);
476
- p || (l.value = W(n.content.value), a?.pause(), s.value = e, n.setContent(t, !1));
481
+ p || (l.value = G(n.content.value), a?.pause(), s.value = e, n.setContent(t, !1));
477
482
  }
478
483
  async function D() {
479
484
  s.value && (n.state.isDirty ? u.value = !0 : await j());
@@ -551,12 +556,12 @@ function bn(e) {
551
556
  }
552
557
  //#endregion
553
558
  //#region src/types/auto-save.ts
554
- function xn(e, t) {
559
+ function En(e, t) {
555
560
  return e ?? t;
556
561
  }
557
562
  //#endregion
558
563
  //#region src/utils/resolveLintOptions.ts
559
- function Sn(e) {
564
+ function Dn(e) {
560
565
  return {
561
566
  ...e.lint,
562
567
  locale: e.locale
@@ -564,7 +569,7 @@ function Sn(e) {
564
569
  }
565
570
  //#endregion
566
571
  //#region src/utils/resolveInsertPosition.ts
567
- function Cn(e) {
572
+ function On(e) {
568
573
  let { blockType: t, selectedBlockId: n, findBlockLocation: r, isBlockLocked: i } = e;
569
574
  if (!n) return {};
570
575
  let a = r(n);
@@ -582,8 +587,8 @@ function Cn(e) {
582
587
  }
583
588
  //#endregion
584
589
  //#region src/utils/insertBlockAtSelection.ts
585
- function wn(e, t) {
586
- let { targetSectionId: n, columnIndex: r, index: i } = Cn({
590
+ function kn(e, t) {
591
+ let { targetSectionId: n, columnIndex: r, index: i } = On({
587
592
  blockType: t.type,
588
593
  selectedBlockId: e.state.selectedBlockId,
589
594
  findBlockLocation: e.findBlockLocation,
@@ -593,13 +598,13 @@ function wn(e, t) {
593
598
  }
594
599
  //#endregion
595
600
  //#region src/utils/normalizeMergeTagMarkup.ts
596
- function Tn(e) {
601
+ function An(e) {
597
602
  let t = e.flags.includes("g") ? e.flags : `${e.flags}g`;
598
603
  return new RegExp(e.source, t);
599
604
  }
600
- function En(e, t, n) {
605
+ function jn(e, t, n) {
601
606
  let r = [], i = (t, n, i) => {
602
- let a = Tn(t), o = a.exec(e);
607
+ let a = An(t), o = a.exec(e);
603
608
  for (; o !== null;) {
604
609
  let t = o.index, s = t + o[0].length;
605
610
  o[0].length === 0 ? a.lastIndex++ : r.some((e) => t < e.end && s > e.start) || r.push({
@@ -611,9 +616,9 @@ function En(e, t, n) {
611
616
  }), o = a.exec(e);
612
617
  }
613
618
  };
614
- return i(n.logic, "data-logic-merge-tag", (e) => K(e, n)), i(n.value, "data-merge-tag", (e) => ie(e, t)), r.sort((e, t) => e.start - t.start);
619
+ return i(n.logic, "data-logic-merge-tag", (e) => q(e, n)), i(n.value, "data-merge-tag", (e) => ie(e, t)), r.sort((e, t) => e.start - t.start);
615
620
  }
616
- function Dn(e) {
621
+ function Mn(e) {
617
622
  let t = e.createTreeWalker(e.body, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT, { acceptNode(e) {
618
623
  if (e.nodeType !== 1) return NodeFilter.FILTER_ACCEPT;
619
624
  let t = e;
@@ -622,11 +627,11 @@ function Dn(e) {
622
627
  for (; r !== null;) n.push(r), r = t.nextNode();
623
628
  return n;
624
629
  }
625
- function On(e, t, n) {
626
- if (!e || !ne(e, n) || typeof DOMParser > "u") return e;
630
+ function Nn(e, t, n) {
631
+ if (!e || !te(e, n) || typeof DOMParser > "u") return e;
627
632
  let r = new DOMParser().parseFromString(`<!doctype html><body>${e}</body>`, "text/html"), i = 0;
628
- for (let e of Dn(r)) {
629
- let a = e.data, o = En(a, t, n);
633
+ for (let e of Mn(r)) {
634
+ let a = e.data, o = jn(a, t, n);
630
635
  if (o.length === 0) continue;
631
636
  let s = r.createDocumentFragment(), c = 0;
632
637
  for (let e of o) {
@@ -638,13 +643,13 @@ function On(e, t, n) {
638
643
  }
639
644
  return i === 0 ? e : r.body.innerHTML;
640
645
  }
641
- function kn(e, t, n) {
646
+ function Pn(e, t, n) {
642
647
  if (e.type === "section") {
643
648
  if (!Array.isArray(e.children)) return e;
644
649
  let r = !1, i = e.children.map((e) => {
645
650
  if (!Array.isArray(e)) return e;
646
651
  let i = !1, a = e.map((e) => {
647
- let r = kn(e, t, n);
652
+ let r = Pn(e, t, n);
648
653
  return r !== e && (i = !0), r;
649
654
  });
650
655
  return i ? (r = !0, a) : e;
@@ -657,7 +662,7 @@ function kn(e, t, n) {
657
662
  if (e.type === "wrapper") {
658
663
  if (!Array.isArray(e.children)) return e;
659
664
  let r = !1, i = e.children.map((e) => {
660
- let i = kn(e, t, n);
665
+ let i = Pn(e, t, n);
661
666
  return i !== e && (r = !0), i;
662
667
  });
663
668
  return r ? {
@@ -666,16 +671,16 @@ function kn(e, t, n) {
666
671
  } : e;
667
672
  }
668
673
  if (e.type !== "title" && e.type !== "paragraph" || typeof e.content != "string") return e;
669
- let r = On(e.content, t, n);
674
+ let r = Nn(e.content, t, n);
670
675
  return r === e.content ? e : {
671
676
  ...e,
672
677
  content: r
673
678
  };
674
679
  }
675
- function An(e, t, n) {
680
+ function Fn(e, t, n) {
676
681
  if (!e || !Array.isArray(e.blocks)) return e;
677
682
  let r = !1, i = e.blocks.map((e) => {
678
- let i = kn(e, t, n);
683
+ let i = Pn(e, t, n);
679
684
  return i !== e && (r = !0), i;
680
685
  });
681
686
  return r ? {
@@ -683,16 +688,16 @@ function An(e, t, n) {
683
688
  blocks: i
684
689
  } : e;
685
690
  }
686
- function jn(e, t) {
687
- return An(Nn(e), t?.tags ?? [], J(t?.syntax));
691
+ function In(e, t) {
692
+ return Fn(Rn(e), t?.tags ?? [], Y(t?.syntax));
688
693
  }
689
- function Mn(e, t) {
690
- return kn(e, t?.tags ?? [], J(t?.syntax));
694
+ function Ln(e, t) {
695
+ return Pn(e, t?.tags ?? [], Y(t?.syntax));
691
696
  }
692
- function Nn(e) {
693
- return typeof e == "object" && e ? W(e) : e;
697
+ function Rn(e) {
698
+ return typeof e == "object" && e ? G(e) : e;
694
699
  }
695
- function Pn(e, t) {
700
+ function zn(e, t) {
696
701
  return {
697
702
  get state() {
698
703
  return e.state;
@@ -700,47 +705,47 @@ function Pn(e, t) {
700
705
  get content() {
701
706
  return e.content;
702
707
  },
703
- setContent: (n, r) => e.setContent(jn(n, t), r)
708
+ setContent: (n, r) => e.setContent(In(n, t), r)
704
709
  };
705
710
  }
706
- function Fn(e, t) {
711
+ function Bn(e, t) {
707
712
  return {
708
713
  ...e,
709
714
  async load(n) {
710
715
  let r = await e.load(n);
711
716
  return {
712
717
  ...r,
713
- content: jn(r.content, t)
718
+ content: In(r.content, t)
714
719
  };
715
720
  }
716
721
  };
717
722
  }
718
723
  //#endregion
719
724
  //#region src/components/Canvas.vue?vue&type=script&setup=true&lang.ts
720
- var In = ["aria-label"], Ln = ["lang", "dir"], Rn = {
725
+ var Vn = ["aria-label"], Hn = ["lang", "dir"], Un = {
721
726
  key: 0,
722
727
  role: "status",
723
728
  "aria-busy": "true",
724
729
  "data-testid": "preview-resolution-loading",
725
730
  class: "tpl:flex tpl:flex-col tpl:gap-3 tpl:p-6"
726
- }, zn = { class: "tpl:sr-only" }, Bn = {
731
+ }, Wn = { class: "tpl:sr-only" }, Gn = {
727
732
  key: 1,
728
733
  role: "status",
729
734
  "data-testid": "preview-resolution-failed",
730
735
  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)]"
731
- }, Vn = {
736
+ }, Kn = {
732
737
  key: 0,
733
738
  class: "tpl-canvas-empty-content tpl:flex tpl:flex-col tpl:items-center"
734
- }, Hn = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, Un = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, Wn = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, Gn = {
739
+ }, qn = { class: "tpl-canvas-empty-icon tpl:mb-4 tpl:text-[var(--tpl-primary)]" }, Jn = { class: "tpl-canvas-empty-title tpl:m-0 tpl:mb-2 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-primary)]" }, Yn = { class: "tpl-canvas-empty-text tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-dim)]" }, Xn = {
735
740
  key: 0,
736
741
  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)]"
737
- }, Kn = {
742
+ }, Zn = {
738
743
  key: 1,
739
744
  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)]"
740
- }, qn = { class: "tpl:relative" }, Jn = {
745
+ }, Qn = { class: "tpl:relative" }, $n = {
741
746
  class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[10px] tpl:font-bold",
742
747
  style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
743
- }, Yn = /*#__PURE__*/ Vt(/* @__PURE__ */ u({
748
+ }, er = /*#__PURE__*/ qt(/* @__PURE__ */ u({
744
749
  __name: "Canvas",
745
750
  props: {
746
751
  viewport: {},
@@ -757,23 +762,23 @@ var In = ["aria-label"], Ln = ["lang", "dir"], Rn = {
757
762
  ],
758
763
  setup(e, { emit: i }) {
759
764
  let a = {
760
- section: Re,
761
- title: Ve,
762
- paragraph: Fe,
763
- image: ke,
764
- button: Ee,
765
+ section: Ge,
766
+ title: He,
767
+ paragraph: Ie,
768
+ image: Ke,
769
+ button: Ze,
765
770
  divider: ze,
766
- spacer: Me,
767
- html: Ae,
768
- social: De,
769
- menu: Ue,
770
- table: Be,
771
- video: Le,
772
- custom: Ie,
773
- wrapper: Xt
774
- }, u = e, f = i, { t: p } = Q(), { t: g } = Ht(), x = qe(st, "Canvas"), S = t(ot, null), C = t(mt, null), E = t(ct, {}), D = t(Qe, null), k = t(rt, null);
775
- s(tt, v(() => u.previewMode && (D?.value ?? !1) && !k?.isConfigured));
776
- let ee = v(() => (E.plan?.hasFeature("aiGeneration") ?? !1) && (E.ai?.isFeatureEnabled("chat") ?? !1)), P = v(() => (E.plan?.hasFeature("aiGeneration") ?? !1) && (E.ai?.isFeatureEnabled("designToTemplate") ?? !1)), F = t(pt, null), L = v({
771
+ spacer: Be,
772
+ html: Ue,
773
+ social: Ne,
774
+ menu: Le,
775
+ table: qe,
776
+ video: We,
777
+ custom: Re,
778
+ wrapper: tn
779
+ }, u = e, f = i, { t: p } = Q(), { t: g } = Jt(), x = Qe(ft, "Canvas"), S = Qe(bt, "Canvas"), C = t(dt, null), E = t(yt, null), D = t(pt, {}), k = t(rt, null), P = t(ct, null);
780
+ s(ot, v(() => u.previewMode && (k?.value ?? !1) && !P?.isConfigured));
781
+ let F = v(() => (D.plan?.hasFeature("aiGeneration") ?? !1) && (D.ai?.isFeatureEnabled("chat") ?? !1)), I = v(() => (D.plan?.hasFeature("aiGeneration") ?? !1) && (D.ai?.isFeatureEnabled("designToTemplate") ?? !1)), R = t(vt, null), z = v({
777
782
  get: () => u.content.blocks,
778
783
  set: (e) => {
779
784
  x.setContent({
@@ -781,35 +786,35 @@ var In = ["aria-label"], Ln = ["lang", "dir"], Rn = {
781
786
  blocks: e
782
787
  });
783
788
  }
784
- }), R = v(() => Yt(u.content.settings, u.viewport)), z = v(() => R.value + 192), B = v(() => Ge(u.content.settings)), te = v(() => u.content.settings?.locale?.trim() || void 0), V = v(() => U(u.content.settings)), H = v(() => L.value.length === 0 && !u.previewMode), W = c(0), G = v(() => H.value && W.value > 0);
785
- function K() {
786
- H.value && (W.value += 1);
789
+ }), B = v(() => pe(u.content.settings, u.viewport)), V = v(() => B.value + 192), ee = v(() => Ae(u.content.settings, S.resolveFontFamily)), H = v(() => u.content.settings?.locale?.trim() || void 0), U = v(() => W(u.content.settings)), G = v(() => z.value.length === 0 && !u.previewMode), K = c(0), q = v(() => G.value && K.value > 0);
790
+ function J() {
791
+ G.value && (K.value += 1);
787
792
  }
788
- function q() {
789
- H.value && (W.value = Math.max(0, W.value - 1));
793
+ function Y() {
794
+ G.value && (K.value = Math.max(0, K.value - 1));
790
795
  }
791
- function J() {
792
- W.value = 0;
796
+ function X() {
797
+ K.value = 0;
793
798
  }
794
- function Y(e) {
795
- u.previewMode || E.savedBlocks?.isPicking.value || e.target === e.currentTarget && f("select-block", null);
799
+ function te(e) {
800
+ u.previewMode || D.savedBlocks?.isPicking.value || e.target === e.currentTarget && f("select-block", null);
796
801
  }
797
802
  function ne(e) {
798
- return Se(e, C, a);
803
+ return Ce(e, E, a);
799
804
  }
800
- function X(e) {
805
+ function Z(e) {
801
806
  return u.lockedBlocks?.get(e) ?? null;
802
807
  }
803
- function Z(e) {
804
- if (u.previewMode || X(e)) return;
805
- let t = E.savedBlocks;
808
+ function re(e) {
809
+ if (u.previewMode || Z(e)) return;
810
+ let t = D.savedBlocks;
806
811
  t?.isPicking.value ? t.togglePick(e) : f("select-block", e);
807
812
  }
808
- function re(e) {
809
- return E.savedBlocks?.isPicked(e) ?? !1;
813
+ function ie(e) {
814
+ return D.savedBlocks?.isPicked(e) ?? !1;
810
815
  }
811
- let ie = v(() => E.savedBlocks?.isPicking.value === !0);
812
- function ae(e, t) {
816
+ let ae = v(() => D.savedBlocks?.isPicking.value === !0);
817
+ function oe(e, t) {
813
818
  e.type === "custom" && x.updateBlock(e.id, {
814
819
  fieldValues: t.fieldValues,
815
820
  dataSourceFetched: t.dataSourceFetched
@@ -818,11 +823,11 @@ var In = ["aria-label"], Ln = ["lang", "dir"], Rn = {
818
823
  return (t, i) => (o(), y("div", {
819
824
  class: "tpl-canvas-stage tpl:relative tpl:mx-auto tpl:flex tpl:justify-center tpl:rounded-lg",
820
825
  style: w({
821
- width: `${z.value}px`,
826
+ width: `${V.value}px`,
822
827
  maxWidth: "calc(100% - 4 * var(--tpl-base-size))",
823
828
  minWidth: "min-content",
824
829
  boxShadow: e.darkMode ? "none" : "var(--tpl-shadow-xl)",
825
- transition: m(Jt)
830
+ transition: m(ge)
826
831
  })
827
832
  }, [O("div", {
828
833
  class: "tpl-canvas-bg tpl:absolute tpl:inset-0 tpl:rounded-lg tpl:pointer-events-none",
@@ -837,25 +842,25 @@ var In = ["aria-label"], Ln = ["lang", "dir"], Rn = {
837
842
  "aria-label": m(p).landmarks.canvas,
838
843
  class: "tpl-canvas-wrapper tpl:relative",
839
844
  style: w({
840
- width: `${R.value}px`,
841
- transition: m(Jt)
845
+ width: `${B.value}px`,
846
+ transition: m(ge)
842
847
  })
843
848
  }, [O("div", {
844
849
  class: _(["tpl-canvas tpl:relative tpl:rounded-lg", {
845
850
  "tpl-canvas--dark-mode": e.darkMode,
846
851
  "tpl-preview-mode": e.previewMode
847
852
  }]),
848
- lang: te.value,
849
- dir: V.value,
850
- style: w(B.value),
851
- onClick: Y
852
- }, [m(k)?.isInitialResolve.value ? (o(), y("div", Rn, [O("span", zn, N(m(p).previewResolution.resolving), 1), (o(), y(M, null, n(3, (e) => O("div", {
853
+ lang: H.value,
854
+ dir: U.value,
855
+ style: w(ee.value),
856
+ onClick: te
857
+ }, [m(P)?.isInitialResolve.value ? (o(), y("div", Un, [O("span", Wn, N(m(p).previewResolution.resolving), 1), (o(), y(M, null, n(3, (e) => O("div", {
853
858
  key: e,
854
859
  "aria-hidden": "true",
855
860
  class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
856
- })), 64))])) : m(k)?.hasFailed.value ? (o(), y("p", Bn, N(m(p).previewResolution.failed), 1)) : b("", !0), d(h(m(j), {
857
- modelValue: L.value,
858
- "onUpdate:modelValue": i[2] ||= (e) => L.value = e,
861
+ })), 64))])) : m(P)?.hasFailed.value ? (o(), y("p", Gn, N(m(p).previewResolution.failed), 1)) : b("", !0), d(h(m(j), {
862
+ modelValue: z.value,
863
+ "onUpdate:modelValue": i[2] ||= (e) => z.value = e,
859
864
  group: "blocks",
860
865
  animation: 150,
861
866
  "ghost-class": "tpl-ghost",
@@ -864,80 +869,80 @@ var In = ["aria-label"], Ln = ["lang", "dir"], Rn = {
864
869
  "invert-swap": !0,
865
870
  "inverted-swap-threshold": .65,
866
871
  disabled: e.previewMode,
867
- draggable: ".tpl-block-item",
872
+ draggable: ">:not(.tpl-canvas-empty-content)",
868
873
  "force-fallback": !0,
869
874
  class: _([
870
875
  "tpl-canvas-blocks",
871
- H.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" : "",
872
- H.value && G.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
873
- H.value && !G.value ? "tpl:border-[var(--tpl-primary)]" : ""
876
+ G.value ? "tpl-canvas-empty tpl:m-6 tpl:flex tpl:min-h-[400px] tpl:flex-col tpl:items-center tpl:justify-center tpl:rounded-xl tpl:border-2 tpl:border-dashed tpl:px-10 tpl:py-12 tpl:text-center tpl:bg-[var(--tpl-bg-elevated)] tpl:font-[var(--tpl-font-family)] tpl:transition-colors" : "",
877
+ G.value && q.value ? "tpl-canvas-empty--drag-over tpl:border-[var(--tpl-primary-hover)] tpl:bg-[var(--tpl-primary-light)]" : "",
878
+ G.value && !q.value ? "tpl:border-[var(--tpl-primary)]" : ""
874
879
  ]),
875
- onDragenter: K,
876
- onDragleave: q,
877
- onDrop: J
880
+ onDragenter: J,
881
+ onDragleave: Y,
882
+ onDrop: X
878
883
  }, {
879
- default: r(() => [H.value ? (o(), y("div", Vn, [
880
- O("div", Hn, [h(m(bt), {
884
+ default: r(() => [G.value ? (o(), y("div", Kn, [
885
+ O("div", qn, [h(m(Dt), {
881
886
  size: 48,
882
887
  "stroke-width": 1
883
888
  })]),
884
- O("p", Un, N(m(p).canvas.noBlocks), 1),
885
- O("p", Wn, N(m(p).canvas.dragHint), 1),
886
- ee.value && m(g) ? (o(), y("p", Gn, [
887
- I(N(m(p).canvas.aiHintChat) + " ", 1),
889
+ O("p", Jn, N(m(p).canvas.noBlocks), 1),
890
+ O("p", Yn, N(m(p).canvas.dragHint), 1),
891
+ F.value && m(g) ? (o(), y("p", Xn, [
892
+ L(N(m(p).canvas.aiHintChat) + " ", 1),
888
893
  O("button", {
889
894
  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)]",
890
895
  onClick: i[0] ||= (e) => f("open-ai-chat")
891
- }, [h(m(yt), {
896
+ }, [h(m(Tt), {
892
897
  size: 14,
893
898
  "stroke-width": 2
894
- }), I(" " + N(m(g).aiMenu.aiAssistant), 1)]),
895
- I(" " + N(m(p).canvas.aiHintChatSuffix), 1)
899
+ }), L(" " + N(m(g).aiMenu.aiAssistant), 1)]),
900
+ L(" " + N(m(p).canvas.aiHintChatSuffix), 1)
896
901
  ])) : b("", !0),
897
- P.value && m(g) ? (o(), y("p", Kn, [
898
- I(N(m(p).canvas.aiHintDesign) + " ", 1),
902
+ I.value && m(g) ? (o(), y("p", Zn, [
903
+ L(N(m(p).canvas.aiHintDesign) + " ", 1),
899
904
  O("button", {
900
905
  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)]",
901
906
  onClick: i[1] ||= (e) => f("open-design-reference")
902
- }, [h(m(It), {
907
+ }, [h(m(Bt), {
903
908
  size: 14,
904
909
  "stroke-width": 2
905
- }), I(" " + N(m(g).aiMenu.designToTemplate), 1)]),
906
- I(" " + N(m(p).canvas.aiHintDesignSuffix), 1)
910
+ }), L(" " + N(m(g).aiMenu.designToTemplate), 1)]),
911
+ L(" " + N(m(p).canvas.aiHintDesignSuffix), 1)
907
912
  ])) : b("", !0)
908
- ])) : b("", !0), (o(!0), y(M, null, n(L.value, (t) => d((o(), y("div", {
913
+ ])) : b("", !0), (o(!0), y(M, null, n(z.value, (t) => d((o(), y("div", {
909
914
  key: t.id,
910
915
  class: "tpl-block-item"
911
- }, [O("div", qn, [X(t.id) ? (o(), y("div", {
916
+ }, [O("div", Qn, [Z(t.id) ? (o(), y("div", {
912
917
  key: 0,
913
918
  class: "tpl-collab-lock tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-[4] tpl:rounded-sm",
914
919
  style: w({
915
- outline: `2px solid ${X(t.id).color}`,
920
+ outline: `2px solid ${Z(t.id).color}`,
916
921
  outlineOffset: "-1px"
917
922
  })
918
923
  }, [O("span", {
919
924
  class: "tpl:absolute tpl:-top-0.5 tpl:left-1/2 tpl:z-[5] tpl:flex tpl:-translate-x-1/2 tpl:-translate-y-full tpl:items-center tpl:gap-1 tpl:rounded-full tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:whitespace-nowrap",
920
925
  style: w({
921
- backgroundColor: X(t.id).color,
922
- color: m(Zt)(X(t.id).color)
926
+ backgroundColor: Z(t.id).color,
927
+ color: m(en)(Z(t.id).color)
923
928
  })
924
- }, [O("span", Jn, N(X(t.id).name.charAt(0)), 1), I(" " + N(X(t.id).name), 1)], 4)], 4)) : b("", !0), t.type === "wrapper" ? (o(), T(l(ne(t)), {
929
+ }, [O("span", $n, N(Z(t.id).name.charAt(0)), 1), L(" " + N(Z(t.id).name), 1)], 4)], 4)) : b("", !0), t.type === "wrapper" ? (o(), T(l(ne(t)), {
925
930
  key: 1,
926
931
  block: t,
927
932
  viewport: e.viewport
928
- }, null, 8, ["block", "viewport"])) : (o(), T(Oe, {
933
+ }, null, 8, ["block", "viewport"])) : (o(), T(Xe, {
929
934
  key: 2,
930
935
  block: t,
931
- "is-selected": !e.previewMode && !ie.value && e.selectedBlockId === t.id && !X(t.id),
932
- picked: re(t.id),
936
+ "is-selected": !e.previewMode && !ae.value && e.selectedBlockId === t.id && !Z(t.id),
937
+ picked: ie(t.id),
933
938
  viewport: e.viewport,
934
939
  "preview-mode": e.previewMode,
935
- onSelect: (e) => Z(t.id)
940
+ onSelect: (e) => re(t.id)
936
941
  }, {
937
942
  default: r(() => [(o(), T(l(ne(t)), {
938
943
  block: t,
939
944
  viewport: e.viewport,
940
- onFetchData: (e) => ae(t, e),
945
+ onFetchData: (e) => oe(t, e),
941
946
  onUpdate: (e) => m(x).updateBlock(t.id, e)
942
947
  }, null, 40, [
943
948
  "block",
@@ -953,19 +958,19 @@ var In = ["aria-label"], Ln = ["lang", "dir"], Rn = {
953
958
  "viewport",
954
959
  "preview-mode",
955
960
  "onSelect"
956
- ]))])])), [[A, m(F) === !1 || !m(S)?.isHidden(t.id)]])), 128))]),
961
+ ]))])])), [[A, m(R) === !1 || !m(C)?.isHidden(t.id)]])), 128))]),
957
962
  _: 1
958
963
  }, 8, [
959
964
  "modelValue",
960
965
  "disabled",
961
966
  "class"
962
- ]), [[A, !m(k)?.isInitialResolve.value]])], 14, Ln)], 12, In)], 4));
967
+ ]), [[A, !m(P)?.isInitialResolve.value]])], 14, Hn)], 12, Vn)], 4));
963
968
  }
964
- }), [["__scopeId", "data-v-04a5cab0"]]), Xn = u({
969
+ }), [["__scopeId", "data-v-a482020e"]]), tr = u({
965
970
  name: "CustomBlockStylesheets",
966
971
  setup() {
967
- let e = t(lt, null);
968
- return () => e ? e.value.map((e, t) => P("style", {
972
+ let e = t(mt, null);
973
+ return () => e ? e.value.map((e, t) => F("style", {
969
974
  key: t,
970
975
  "data-tpl-custom-block-stylesheet": "",
971
976
  innerHTML: e
@@ -974,7 +979,7 @@ var In = ["aria-label"], Ln = ["lang", "dir"], Rn = {
974
979
  });
975
980
  //#endregion
976
981
  //#region src/utils/resolvePaletteBlocks.ts
977
- function Zn(e, t) {
982
+ function nr(e, t) {
978
983
  if (!t || t.length === 0) return {
979
984
  items: e,
980
985
  unknown: []
@@ -993,64 +998,65 @@ function Zn(e, t) {
993
998
  }
994
999
  //#endregion
995
1000
  //#region src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
996
- var Qn = ["aria-label"], $n = {
1001
+ var rr = ["aria-label"], ir = {
997
1002
  key: 0,
998
1003
  class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
999
- }, er = ["aria-label"], tr = {
1004
+ }, ar = ["aria-label"], or = {
1000
1005
  key: 0,
1001
1006
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
1002
- }, nr = [
1007
+ }, sr = [
1003
1008
  "data-palette-type",
1004
1009
  "aria-label",
1005
1010
  "onClick",
1006
1011
  "onKeydown"
1007
- ], rr = { 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" }, ir = {
1012
+ ], cr = { 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" }, lr = {
1008
1013
  key: 0,
1009
1014
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
1010
- }, ar = 4, or = /* @__PURE__ */ u({
1015
+ }, ur = 4, dr = /* @__PURE__ */ u({
1011
1016
  __name: "Sidebar",
1012
1017
  setup(i) {
1013
- let { t: a, format: s } = Q(), u = t(dt, []), d = t(ht, void 0), p = t(ut, void 0), g = t(st, null), _ = Ut(), x = t(ct, {}), S = v(() => x.savedBlocks?.isAvailable.value === !0), C = c(!1), E = c(!1), D = c(null), k = !1, A = 0;
1018
+ let { t: a, format: s } = Q(), u = t(gt, []), d = t(xt, void 0), p = t(ht, void 0), g = t(ft, null), _ = Yt(), x = t(pt, {}), S = v(() => x.savedBlocks?.isAvailable.value === !0), C = c(!1), E = c(!1), D = c(null), k = !1, A = 0;
1014
1019
  f(() => {
1015
1020
  window.clearTimeout(A);
1016
1021
  });
1017
- function ee() {
1022
+ function P() {
1018
1023
  try {
1019
1024
  return D.value?.querySelector(":focus-visible") != null;
1020
1025
  } catch {
1021
1026
  return !1;
1022
1027
  }
1023
1028
  }
1024
- function P() {
1025
- E.value || ee() || (C.value = !1);
1026
- }
1027
1029
  function F() {
1028
- E.value = !0;
1030
+ E.value || P() || (C.value = !1);
1029
1031
  }
1030
1032
  function I() {
1031
- E.value = !1;
1033
+ E.value = !0;
1032
1034
  }
1033
1035
  function L() {
1036
+ E.value = !1;
1037
+ }
1038
+ function R() {
1034
1039
  k = !0, window.clearTimeout(A);
1035
1040
  }
1036
- function R(e) {
1041
+ function z(e) {
1037
1042
  let t = e.relatedTarget;
1038
1043
  t instanceof Node && D.value?.contains(t) || D.value?.matches(":hover") || (C.value = !1);
1039
1044
  }
1040
- function z() {
1045
+ function B() {
1041
1046
  D.value?.ownerDocument.dispatchEvent(new MouseEvent("click", {
1042
1047
  bubbles: !0,
1043
1048
  cancelable: !0,
1044
1049
  composed: !0
1045
1050
  }));
1046
1051
  }
1047
- function B() {
1048
- E.value = !1, D.value?.matches(":hover") ? (C.value = !0, z()) : C.value = !1, window.clearTimeout(A), A = window.setTimeout(() => {
1052
+ function V() {
1053
+ E.value = !1, D.value?.matches(":hover") ? (C.value = !0, B()) : C.value = !1, window.clearTimeout(A), A = window.setTimeout(() => {
1049
1054
  k = !1;
1050
1055
  }, 0);
1051
1056
  }
1052
- let V = [
1057
+ let H = [
1053
1058
  "section",
1059
+ Je,
1054
1060
  "image",
1055
1061
  "title",
1056
1062
  "paragraph",
@@ -1062,47 +1068,47 @@ var Qn = ["aria-label"], $n = {
1062
1068
  "table",
1063
1069
  "spacer",
1064
1070
  "html"
1065
- ], H = v(() => {
1066
- let e = V.map((e) => ({
1071
+ ], U = v(() => {
1072
+ let e = H.map((e) => ({
1067
1073
  type: e,
1068
- label: pe(e, a)
1074
+ label: _e(e, a)
1069
1075
  }));
1070
1076
  return x.plan && e.splice(-1, 0, {
1071
1077
  type: "countdown",
1072
- label: pe("countdown", a)
1078
+ label: _e("countdown", a)
1073
1079
  }), e;
1074
- }), U = v(() => u.map((e) => ({
1080
+ }), W = v(() => u.map((e) => ({
1075
1081
  type: `custom:${e.type}`,
1076
1082
  label: e.name,
1077
1083
  isCustom: !0,
1078
1084
  icon: e.icon
1079
- }))), W = v(() => [...H.value, ...U.value]), G = v(() => Zn(W.value, d)), K = v(() => G.value.items), q = /* @__PURE__ */ new Set();
1080
- e(() => G.value.unknown, (e) => {
1081
- for (let t of e) q.has(t) || (q.add(t), gt.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.`));
1085
+ }))), G = v(() => [...U.value, ...W.value]), K = v(() => nr(G.value, d)), q = v(() => K.value.items), J = /* @__PURE__ */ new Set();
1086
+ e(() => K.value.unknown, (e) => {
1087
+ for (let t of e) J.has(t) || (J.add(t), St.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.`));
1082
1088
  }, { immediate: !0 });
1083
- function J(e) {
1089
+ function Y(e) {
1084
1090
  if (e.isCustom) {
1085
1091
  let t = e.type.replace("custom:", ""), n = u.find((e) => e.type === t);
1086
- if (n) return te(n);
1092
+ if (n) return ee(n);
1087
1093
  }
1088
- return X(e.type, p?.value);
1094
+ return e.type === "hero" ? Fe(p?.value, a.blockDefaults.paragraph) : ne(e.type, p?.value);
1089
1095
  }
1090
- function Y(e) {
1096
+ function X(e) {
1091
1097
  if (!g) return;
1092
- let t = J(e);
1093
- wn(g, t) && _(t.id);
1098
+ let t = Y(e);
1099
+ kn(g, t) && _(t.id);
1094
1100
  }
1095
- function ne(e) {
1096
- k || Y(e);
1101
+ function te(e) {
1102
+ k || X(e);
1097
1103
  }
1098
1104
  function Z(e, t) {
1099
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Y(t));
1105
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), X(t));
1100
1106
  }
1101
1107
  return (e, t) => (o(), y("aside", {
1102
1108
  ref_key: "railEl",
1103
1109
  ref: D,
1104
1110
  "aria-label": m(a).sidebarNav.palette,
1105
- class: "tpl-sidebar-rail tpl:absolute tpl:top-14 tpl:bottom-0 tpl:left-0 tpl:z-40 tpl:flex tpl:flex-col tpl:overflow-hidden",
1111
+ class: "tpl-sidebar-rail tpl:absolute tpl:top-14 tpl:bottom-0 tpl:left-0 tpl:z-40 tpl:box-border tpl:flex tpl:flex-col tpl:overflow-hidden",
1106
1112
  style: w({
1107
1113
  width: C.value ? "200px" : "48px",
1108
1114
  backgroundColor: "var(--tpl-bg-elevated)",
@@ -1111,98 +1117,98 @@ var Qn = ["aria-label"], $n = {
1111
1117
  transition: "width 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1)"
1112
1118
  }),
1113
1119
  onMouseenter: t[1] ||= (e) => C.value = !0,
1114
- onMouseleave: P,
1120
+ onMouseleave: F,
1115
1121
  onFocusin: t[2] ||= (e) => C.value = !0,
1116
- onFocusout: R
1117
- }, [S.value ? (o(), y("div", $n, [O("button", {
1122
+ onFocusout: z
1123
+ }, [S.value ? (o(), y("div", ir, [O("button", {
1118
1124
  type: "button",
1119
1125
  "aria-label": m(a).sidebarNav.browseSavedBlocks,
1120
1126
  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)]",
1121
1127
  style: w({ justifyContent: C.value ? "flex-start" : "center" }),
1122
1128
  onClick: t[0] ||= (e) => m(x).savedBlocks?.openBrowser()
1123
- }, [h(m(Mt), {
1129
+ }, [h(m(Lt), {
1124
1130
  size: 20,
1125
1131
  "stroke-width": 1.5,
1126
1132
  class: "tpl:shrink-0"
1127
- }), C.value ? (o(), y("span", tr, N(m(a).savedBlocks.title), 1)) : b("", !0)], 12, er)])) : b("", !0), h(m(j), {
1128
- "model-value": K.value,
1133
+ }), C.value ? (o(), y("span", or, N(m(a).savedBlocks.title), 1)) : b("", !0)], 12, ar)])) : b("", !0), h(m(j), {
1134
+ "model-value": q.value,
1129
1135
  group: {
1130
1136
  name: "blocks",
1131
1137
  pull: "clone",
1132
1138
  put: !1
1133
1139
  },
1134
- clone: J,
1140
+ clone: Y,
1135
1141
  sort: !1,
1136
1142
  animation: 150,
1137
1143
  "force-fallback": !0,
1138
- "fallback-tolerance": ar,
1144
+ "fallback-tolerance": ur,
1139
1145
  class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:gap-0.5 tpl:overflow-y-auto tpl:p-1",
1140
- onChoose: F,
1141
- onStart: L,
1142
- onUnchoose: I,
1143
- onEnd: B
1146
+ onChoose: I,
1147
+ onStart: R,
1148
+ onUnchoose: L,
1149
+ onEnd: V
1144
1150
  }, {
1145
- default: r(() => [(o(!0), y(M, null, n(K.value, (e) => (o(), y("button", {
1151
+ default: r(() => [(o(!0), y(M, null, n(q.value, (e) => (o(), y("button", {
1146
1152
  key: e.type,
1147
1153
  type: "button",
1148
1154
  "data-palette-type": e.type,
1149
1155
  "aria-label": m(s)(m(a).sidebarNav.insertBlock, { block: e.label }),
1150
1156
  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",
1151
1157
  style: w({ justifyContent: C.value ? "flex-start" : "center" }),
1152
- onClick: (t) => ne(e),
1158
+ onClick: (t) => te(e),
1153
1159
  onKeydown: (t) => Z(t, e)
1154
- }, [O("div", rr, [m(Qt)[e.type] ? (o(), T(l(m(Qt)[e.type]), {
1160
+ }, [O("div", cr, [m(nn)[e.type] ? (o(), T(l(m(nn)[e.type]), {
1155
1161
  key: 0,
1156
1162
  size: 20,
1157
1163
  "stroke-width": 1.5
1158
- })) : e.isCustom ? (o(), T(Ke, {
1164
+ })) : e.isCustom ? (o(), T(we, {
1159
1165
  key: 1,
1160
1166
  icon: e.icon,
1161
1167
  size: 20
1162
- }, null, 8, ["icon"])) : b("", !0)]), C.value ? (o(), y("span", ir, N(e.label), 1)) : b("", !0)], 44, nr))), 128))]),
1168
+ }, null, 8, ["icon"])) : b("", !0)]), C.value ? (o(), y("span", lr, N(e.label), 1)) : b("", !0)], 44, sr))), 128))]),
1163
1169
  _: 1
1164
- }, 8, ["model-value"])], 44, Qn));
1170
+ }, 8, ["model-value"])], 44, rr));
1165
1171
  }
1166
- }), sr = ["aria-label"], cr = {
1172
+ }), fr = ["aria-label"], pr = {
1167
1173
  role: "tablist",
1168
1174
  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"
1169
- }, lr = [
1175
+ }, mr = [
1170
1176
  "aria-selected",
1171
1177
  "aria-label",
1172
1178
  "title"
1173
- ], ur = { key: 0 }, dr = [
1179
+ ], hr = { key: 0 }, gr = [
1174
1180
  "aria-selected",
1175
1181
  "aria-label",
1176
1182
  "title"
1177
- ], fr = { key: 0 }, pr = [
1183
+ ], _r = { key: 0 }, vr = [
1178
1184
  "aria-selected",
1179
1185
  "aria-label",
1180
1186
  "title"
1181
- ], mr = { key: 0 }, hr = {
1187
+ ], yr = { key: 0 }, br = {
1182
1188
  key: 1,
1183
1189
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
1184
- }, gr = {
1190
+ }, xr = {
1185
1191
  key: 0,
1186
1192
  id: "tpl-tabpanel-content",
1187
1193
  role: "tabpanel",
1188
1194
  "aria-labelledby": "tpl-tab-content",
1189
1195
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
1190
- }, _r = {
1196
+ }, Sr = {
1191
1197
  key: 1,
1192
1198
  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)]"
1193
- }, vr = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, yr = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, br = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, xr = {
1199
+ }, Cr = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, wr = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Tr = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Er = {
1194
1200
  key: 1,
1195
1201
  id: "tpl-tabpanel-settings",
1196
1202
  role: "tabpanel",
1197
1203
  "aria-labelledby": "tpl-tab-settings",
1198
1204
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
1199
- }, Sr = {
1205
+ }, Dr = {
1200
1206
  key: 2,
1201
1207
  id: "tpl-tabpanel-issues",
1202
1208
  role: "tabpanel",
1203
1209
  "aria-labelledby": "tpl-tab-issues",
1204
1210
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
1205
- }, Cr = /* @__PURE__ */ u({
1211
+ }, Or = /* @__PURE__ */ u({
1206
1212
  __name: "RightSidebar",
1207
1213
  props: {
1208
1214
  selectedBlock: {},
@@ -1216,7 +1222,7 @@ var Qn = ["aria-label"], $n = {
1216
1222
  "update-settings"
1217
1223
  ],
1218
1224
  setup(n, { emit: r }) {
1219
- let i = F(() => import("./chunks/Toolbar-C_5HfUQq.js").then((e) => e.t)), a = F(() => import("./chunks/TemplateSettings-rZiHmq24.js")), s = F(() => import("./chunks/IssuesPanel-C1Lv2y_O.js")), l = n, u = r, { t: d } = Q(), f = c("content"), p = t(Ze, null), g = v(() => p !== null && !p.unavailable.value), x = v(() => p?.issues.value.length ?? 0), S = t(ft, new Set(_t)), C = v(() => S.size > 0);
1225
+ let i = I(() => import("./chunks/Toolbar-C_x2TfFk.js").then((e) => e.t)), a = I(() => import("./chunks/TemplateSettings-BkkWTDHD.js")), s = I(() => import("./chunks/IssuesPanel-cXf9ywA4.js")), l = n, u = r, { t: d } = Q(), f = c("content"), p = t(nt, null), g = v(() => p !== null && !p.unavailable.value), x = v(() => p?.issues.value.length ?? 0), S = t(_t, new Set(Ct)), C = v(() => S.size > 0);
1220
1226
  function E(e) {
1221
1227
  return f.value === e ? "tpl:flex-1 tpl:text-[var(--tpl-primary)]" : "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)] tpl:hover:text-[var(--tpl-text)]";
1222
1228
  }
@@ -1232,9 +1238,9 @@ var Qn = ["aria-label"], $n = {
1232
1238
  !e && f.value === "issues" && (f.value = "content");
1233
1239
  }), (e, t) => (o(), y("aside", {
1234
1240
  "aria-label": m(d).landmarks.rightSidebar,
1235
- class: _(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", n.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
1241
+ class: _(["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)]", n.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
1236
1242
  }, [
1237
- O("div", cr, [
1243
+ O("div", pr, [
1238
1244
  O("button", {
1239
1245
  id: "tpl-tab-content",
1240
1246
  role: "tab",
@@ -1245,10 +1251,10 @@ var Qn = ["aria-label"], $n = {
1245
1251
  class: _(["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)]", E("content")]),
1246
1252
  style: w(D("content")),
1247
1253
  onClick: t[0] ||= (e) => f.value = "content"
1248
- }, [h(m(Ct), {
1254
+ }, [h(m(At), {
1249
1255
  size: 14,
1250
1256
  "stroke-width": 2
1251
- }), f.value === "content" ? (o(), y("span", ur, N(m(d).sidebar.content), 1)) : b("", !0)], 14, lr),
1257
+ }), f.value === "content" ? (o(), y("span", hr, N(m(d).sidebar.content), 1)) : b("", !0)], 14, mr),
1252
1258
  C.value ? (o(), y("button", {
1253
1259
  key: 0,
1254
1260
  id: "tpl-tab-settings",
@@ -1260,10 +1266,10 @@ var Qn = ["aria-label"], $n = {
1260
1266
  class: _(["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)]", E("settings")]),
1261
1267
  style: w(D("settings")),
1262
1268
  onClick: t[1] ||= (e) => f.value = "settings"
1263
- }, [h(m(Et), {
1269
+ }, [h(m(Mt), {
1264
1270
  size: 14,
1265
1271
  "stroke-width": 1.5
1266
- }), f.value === "settings" ? (o(), y("span", fr, N(m(d).sidebar.settings), 1)) : b("", !0)], 14, dr)) : b("", !0),
1272
+ }), f.value === "settings" ? (o(), y("span", _r, N(m(d).sidebar.settings), 1)) : b("", !0)], 14, gr)) : b("", !0),
1267
1273
  g.value ? (o(), y("button", {
1268
1274
  key: 1,
1269
1275
  id: "tpl-tab-issues",
@@ -1276,72 +1282,72 @@ var Qn = ["aria-label"], $n = {
1276
1282
  style: w(D("issues")),
1277
1283
  onClick: t[2] ||= (e) => f.value = "issues"
1278
1284
  }, [
1279
- h(m(Pt), {
1285
+ h(m(Vt), {
1280
1286
  size: 14,
1281
1287
  "stroke-width": 1.5
1282
1288
  }),
1283
- f.value === "issues" ? (o(), y("span", mr, N(m(d).issues.panelTabLabel), 1)) : b("", !0),
1284
- x.value > 0 ? (o(), y("span", hr, N(x.value), 1)) : b("", !0)
1285
- ], 14, pr)) : b("", !0)
1289
+ f.value === "issues" ? (o(), y("span", yr, N(m(d).issues.panelTabLabel), 1)) : b("", !0),
1290
+ x.value > 0 ? (o(), y("span", br, N(x.value), 1)) : b("", !0)
1291
+ ], 14, vr)) : b("", !0)
1286
1292
  ]),
1287
- f.value === "content" ? (o(), y("div", gr, [n.selectedBlock ? (o(), T(m(i), {
1293
+ f.value === "content" ? (o(), y("div", xr, [n.selectedBlock ? (o(), T(m(i), {
1288
1294
  key: 0,
1289
1295
  block: n.selectedBlock,
1290
1296
  onUpdate: t[3] ||= (e) => u("update-block", e),
1291
1297
  onDelete: t[4] ||= (e) => u("delete-block"),
1292
1298
  onDuplicate: t[5] ||= (e) => u("duplicate-block")
1293
- }, null, 8, ["block"])) : (o(), y("div", _r, [
1294
- O("div", vr, [h(m(zt), {
1299
+ }, null, 8, ["block"])) : (o(), y("div", Sr, [
1300
+ O("div", Cr, [h(m(Wt), {
1295
1301
  size: 40,
1296
1302
  "stroke-width": 1.5
1297
1303
  })]),
1298
- O("h3", yr, N(m(d).sidebar.noSelection), 1),
1299
- O("p", br, N(m(d).sidebar.noSelectionHint), 1)
1304
+ O("h3", wr, N(m(d).sidebar.noSelection), 1),
1305
+ O("p", Tr, N(m(d).sidebar.noSelectionHint), 1)
1300
1306
  ]))])) : b("", !0),
1301
- f.value === "settings" && C.value ? (o(), y("div", xr, [h(m(a), {
1307
+ f.value === "settings" && C.value ? (o(), y("div", Er, [h(m(a), {
1302
1308
  settings: n.settings,
1303
1309
  onUpdate: t[6] ||= (e) => u("update-settings", e)
1304
1310
  }, null, 8, ["settings"])])) : b("", !0),
1305
- f.value === "issues" && g.value ? (o(), y("div", Sr, [h(m(s))])) : b("", !0)
1306
- ], 10, sr));
1311
+ f.value === "issues" && g.value ? (o(), y("div", Dr, [h(m(s))])) : b("", !0)
1312
+ ], 10, fr));
1307
1313
  }
1308
- }), wr = {
1314
+ }), kr = {
1309
1315
  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)]",
1310
1316
  style: { "z-index": "10001" },
1311
1317
  role: "status",
1312
1318
  "data-testid": "small-screen-notice"
1313
- }, Tr = { class: "tpl:text-[var(--tpl-text-dim)]" }, Er = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Dr = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Or = /* @__PURE__ */ u({
1319
+ }, Ar = { class: "tpl:text-[var(--tpl-text-dim)]" }, jr = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Mr = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Nr = /* @__PURE__ */ u({
1314
1320
  __name: "SmallScreenNotice",
1315
1321
  setup(e) {
1316
1322
  let { t } = Q();
1317
- return (e, n) => (o(), y("div", wr, [
1318
- O("div", Tr, [h(m(Ft), {
1323
+ return (e, n) => (o(), y("div", kr, [
1324
+ O("div", Ar, [h(m(zt), {
1319
1325
  size: 48,
1320
1326
  "stroke-width": 1.5
1321
1327
  })]),
1322
- O("h2", Er, N(m(t).smallScreen.title), 1),
1323
- O("p", Dr, N(m(t).smallScreen.message), 1)
1328
+ O("h2", jr, N(m(t).smallScreen.title), 1),
1329
+ O("p", Mr, N(m(t).smallScreen.message), 1)
1324
1330
  ]));
1325
1331
  }
1326
- }), kr = {
1332
+ }), Pr = {
1327
1333
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
1328
1334
  style: {
1329
1335
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
1330
1336
  "backdrop-filter": "blur(8px)",
1331
1337
  "-webkit-backdrop-filter": "blur(8px)"
1332
1338
  }
1333
- }, Ar = /* @__PURE__ */ u({
1339
+ }, Fr = /* @__PURE__ */ u({
1334
1340
  __name: "EditorFooter",
1335
1341
  props: { positionClass: {} },
1336
1342
  setup(e) {
1337
1343
  let { t } = Q();
1338
- return (n, r) => (o(), y("footer", { class: _(["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", kr, [O("span", null, N(m(t).footer.poweredBy), 1), r[0] ||= ee("<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));
1344
+ return (n, r) => (o(), y("footer", { class: _(["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", Pr, [O("span", null, N(m(t).footer.poweredBy), 1), r[0] ||= P("<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));
1339
1345
  }
1340
- }), jr = [
1346
+ }), Ir = [
1341
1347
  "aria-label",
1342
1348
  "title",
1343
1349
  "aria-pressed"
1344
- ], Mr = /*#__PURE__*/ Vt(/* @__PURE__ */ u({
1350
+ ], Lr = /*#__PURE__*/ qt(/* @__PURE__ */ u({
1345
1351
  __name: "DarkModeToggle",
1346
1352
  props: { darkMode: { type: Boolean } },
1347
1353
  emits: ["change"],
@@ -1364,23 +1370,23 @@ var Qn = ["aria-label"], $n = {
1364
1370
  "leave-to-class": "tpl-icon-leave-to",
1365
1371
  mode: "out-in"
1366
1372
  }, {
1367
- default: r(() => [e.darkMode ? (o(), T(m(vt), {
1373
+ default: r(() => [e.darkMode ? (o(), T(m(wt), {
1368
1374
  key: "moon",
1369
1375
  size: 18,
1370
1376
  "stroke-width": 1.5
1371
- })) : (o(), T(m(Bt), {
1377
+ })) : (o(), T(m(Gt), {
1372
1378
  key: "sun",
1373
1379
  size: 18,
1374
1380
  "stroke-width": 1.5
1375
1381
  }))]),
1376
1382
  _: 1
1377
- })], 12, jr));
1383
+ })], 12, Ir));
1378
1384
  }
1379
- }), [["__scopeId", "data-v-632aa74f"]]), Nr = [
1385
+ }), [["__scopeId", "data-v-632aa74f"]]), Rr = [
1380
1386
  "aria-label",
1381
1387
  "title",
1382
1388
  "aria-pressed"
1383
- ], Pr = /*#__PURE__*/ Vt(/* @__PURE__ */ u({
1389
+ ], zr = /*#__PURE__*/ qt(/* @__PURE__ */ u({
1384
1390
  __name: "PreviewToggle",
1385
1391
  props: { previewMode: { type: Boolean } },
1386
1392
  emits: ["change"],
@@ -1403,19 +1409,19 @@ var Qn = ["aria-label"], $n = {
1403
1409
  "leave-to-class": "tpl-icon-leave-to",
1404
1410
  mode: "out-in"
1405
1411
  }, {
1406
- default: r(() => [e.previewMode ? (o(), T(m(xt), {
1412
+ default: r(() => [e.previewMode ? (o(), T(m(Et), {
1407
1413
  key: "eye",
1408
1414
  size: 18,
1409
1415
  "stroke-width": 1.5
1410
- })) : (o(), T(m(jt), {
1416
+ })) : (o(), T(m(Ot), {
1411
1417
  key: "eye-off",
1412
1418
  size: 18,
1413
1419
  "stroke-width": 1.5
1414
1420
  }))]),
1415
1421
  _: 1
1416
- })], 12, Nr));
1422
+ })], 12, Rr));
1417
1423
  }
1418
- }), [["__scopeId", "data-v-eef7b2ca"]]), Fr = ["aria-label", "onKeydown"], Ir = ["title", "aria-label"], Lr = /* @__PURE__ */ u({
1424
+ }), [["__scopeId", "data-v-eef7b2ca"]]), Br = ["aria-label", "onKeydown"], Vr = ["title", "aria-label"], Hr = /* @__PURE__ */ u({
1419
1425
  __name: "TemplateNameField",
1420
1426
  props: {
1421
1427
  name: {},
@@ -1444,10 +1450,10 @@ var Qn = ["aria-label"], $n = {
1444
1450
  type: "text",
1445
1451
  "data-testid": "template-name-input",
1446
1452
  "aria-label": m(i).header.templateName,
1447
- class: _([m(Kt), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
1453
+ class: _([m(Qt), "tpl:h-8 tpl:max-w-[260px] tpl:text-sm tpl:font-medium"]),
1448
1454
  onKeydown: [g(C(f, ["prevent"]), ["enter"]), g(C(p, ["prevent"]), ["esc"])],
1449
1455
  onBlur: f
1450
- }, null, 42, Fr)), [[D, s.value]]) : e.editable ? (o(), y("button", {
1456
+ }, null, 42, Br)), [[D, s.value]]) : e.editable ? (o(), y("button", {
1451
1457
  key: 1,
1452
1458
  type: "button",
1453
1459
  "data-testid": "template-name",
@@ -1455,47 +1461,47 @@ var Qn = ["aria-label"], $n = {
1455
1461
  "aria-label": m(i).header.rename,
1456
1462
  class: _(["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 }]),
1457
1463
  onClick: u
1458
- }, N(e.name || m(i).header.untitled), 11, Ir)) : (o(), y("span", {
1464
+ }, N(e.name || m(i).header.untitled), 11, Vr)) : (o(), y("span", {
1459
1465
  key: 2,
1460
1466
  "data-testid": "template-name",
1461
1467
  class: _(["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 }])
1462
1468
  }, N(e.name || m(i).header.untitled), 3));
1463
1469
  }
1464
- }), Rr = ["title"], zr = /* @__PURE__ */ u({
1470
+ }), Ur = ["title"], Wr = /* @__PURE__ */ u({
1465
1471
  __name: "TemplateTimestamp",
1466
1472
  props: {
1467
1473
  iso: {},
1468
1474
  kind: {}
1469
1475
  },
1470
1476
  setup(e) {
1471
- let n = e, { t: r, format: i } = Q(), a = t(it, void 0), s = c(0);
1472
- ve(() => {
1477
+ let n = e, { t: r, format: i } = Q(), a = t(lt, void 0), s = c(0);
1478
+ xe(() => {
1473
1479
  s.value += 1;
1474
1480
  }, 6e4);
1475
1481
  let l = v(() => {
1476
- let e = nn(n.iso, r.time, i);
1482
+ let e = sn(n.iso, r.time, i);
1477
1483
  if (e === null) return "";
1478
1484
  let t = e === r.time.justNow;
1479
1485
  return n.kind === "updatedAt" ? t ? r.header.updatedJustNow : i(r.header.updatedAt, { time: e }) : t ? r.header.createdJustNow : i(r.header.createdAt, { time: e });
1480
- }), u = v(() => tn(n.iso, a));
1486
+ }), u = v(() => on(n.iso, a));
1481
1487
  return (e, t) => l.value ? (o(), y("span", {
1482
1488
  key: 0,
1483
1489
  "data-testid": "template-timestamp",
1484
1490
  title: u.value,
1485
1491
  class: "tpl:max-w-[260px] tpl:truncate tpl:px-2 tpl:text-xs tpl:leading-tight tpl:text-[var(--tpl-text-dim)]"
1486
- }, N(l.value), 9, Rr)) : b("", !0);
1492
+ }, N(l.value), 9, Ur)) : b("", !0);
1487
1493
  }
1488
- }), Br = ["data-tooltip"], Vr = {
1494
+ }), Gr = ["data-tooltip"], Kr = {
1489
1495
  key: 1,
1490
1496
  "aria-live": "polite",
1491
1497
  "data-testid": "save-status-saved",
1492
1498
  class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-success)]"
1493
- }, Hr = {
1499
+ }, qr = {
1494
1500
  key: 2,
1495
1501
  "aria-live": "polite",
1496
1502
  "data-testid": "save-status-unsaved",
1497
1503
  class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1498
- }, Ur = /* @__PURE__ */ u({
1504
+ }, Jr = /* @__PURE__ */ u({
1499
1505
  __name: "TemplateSaveStatus",
1500
1506
  props: {
1501
1507
  status: {},
@@ -1510,22 +1516,22 @@ var Qn = ["aria-label"], $n = {
1510
1516
  "data-testid": "save-status-error",
1511
1517
  class: "tpl-tooltip tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]",
1512
1518
  "data-tooltip": e.errorMessage
1513
- }, [h(m(Ot), {
1519
+ }, [h(m(Ft), {
1514
1520
  size: 12,
1515
1521
  "stroke-width": 2.5
1516
- }), I(" " + N(m(t).header.saveFailed), 1)], 8, Br)) : e.status === "saved" ? (o(), y("div", Vr, [h(m(At), {
1522
+ }), L(" " + N(m(t).header.saveFailed), 1)], 8, Gr)) : e.status === "saved" ? (o(), y("div", Kr, [h(m(Kt), {
1517
1523
  size: 12,
1518
1524
  "stroke-width": 2.5
1519
- }), I(" " + N(m(t).header.saved), 1)])) : e.isDirty ? (o(), y("div", Hr, [r[0] ||= O("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), I(" " + N(m(t).header.unsaved), 1)])) : b("", !0);
1525
+ }), L(" " + N(m(t).header.saved), 1)])) : e.isDirty ? (o(), y("div", qr, [r[0] ||= O("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), L(" " + N(m(t).header.unsaved), 1)])) : b("", !0);
1520
1526
  }
1521
- }), Wr = { class: "tpl-header tpl:absolute tpl:top-0 tpl:right-0 tpl:left-0 tpl:z-50 tpl:grid tpl:h-14 tpl:grid-cols-[1fr_auto_1fr] tpl:items-center tpl:px-4 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:border-b tpl:border-[var(--tpl-border)]" }, Gr = { class: "tpl-header-left tpl:flex tpl:min-w-[200px] tpl:items-center tpl:gap-2.5" }, Kr = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, qr = { class: "tpl-header-right tpl:flex tpl:min-w-[200px] tpl:items-center tpl:justify-end tpl:gap-3" }, Jr = ["aria-label", "aria-expanded"], Yr = {
1527
+ }), Yr = { class: "tpl-header tpl:absolute tpl:top-0 tpl:right-0 tpl:left-0 tpl:z-50 tpl:grid tpl:h-14 tpl:grid-cols-[1fr_auto_1fr] tpl:items-center tpl:px-4 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:border-b tpl:border-[var(--tpl-border)]" }, Xr = { class: "tpl-header-left tpl:flex tpl:min-w-[200px] tpl:items-center tpl:gap-2.5" }, Zr = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, Qr = { class: "tpl-header-right tpl:flex tpl:min-w-[200px] tpl:items-center tpl:justify-end tpl:gap-3" }, $r = ["aria-label", "aria-expanded"], ei = {
1522
1528
  key: 0,
1523
1529
  class: "tpl:inline-flex tpl:size-4.5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[10px] tpl:font-semibold tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]"
1524
- }, Xr = [
1530
+ }, ti = [
1525
1531
  "aria-label",
1526
1532
  "title",
1527
1533
  "disabled"
1528
- ], Zr = ["disabled", "title"], Qr = /* @__PURE__ */ u({
1534
+ ], ni = ["disabled", "title"], ri = /* @__PURE__ */ u({
1529
1535
  __name: "EditorHeader",
1530
1536
  props: {
1531
1537
  editor: {},
@@ -1537,13 +1543,13 @@ var Qn = ["aria-label"], $n = {
1537
1543
  comments: {}
1538
1544
  },
1539
1545
  setup(e) {
1540
- let t = F(() => import("./chunks/VersionHistoryMenu-DbxuJgDO.js"));
1541
- return (n, r) => (o(), y("header", Wr, [
1542
- O("div", Gr, [
1546
+ let t = I(() => import("./chunks/VersionHistoryMenu-DXnM5Df2.js"));
1547
+ return (n, r) => (o(), y("header", Yr, [
1548
+ O("div", Xr, [
1543
1549
  e.templates?.isAvailable.value && e.templates.hasTemplate.value && (e.showTemplateName || e.templates.timestamp.value) ? (o(), y("div", {
1544
1550
  key: 0,
1545
1551
  class: _(["tpl:flex tpl:min-w-0 tpl:flex-col tpl:items-start", { "tpl:pb-1.5": e.showTemplateName && e.templates.timestamp.value !== null }])
1546
- }, [e.showTemplateName ? (o(), T(Lr, {
1552
+ }, [e.showTemplateName ? (o(), T(Hr, {
1547
1553
  key: 0,
1548
1554
  name: e.templates.name.value,
1549
1555
  editable: e.templates.canSave.value,
@@ -1552,7 +1558,7 @@ var Qn = ["aria-label"], $n = {
1552
1558
  "name",
1553
1559
  "editable",
1554
1560
  "onCommit"
1555
- ])) : b("", !0), e.templates.timestamp.value ? (o(), T(zr, {
1561
+ ])) : b("", !0), e.templates.timestamp.value ? (o(), T(Wr, {
1556
1562
  key: 1,
1557
1563
  iso: e.templates.timestamp.value.iso,
1558
1564
  kind: e.templates.timestamp.value.kind
@@ -1573,22 +1579,22 @@ var Qn = ["aria-label"], $n = {
1573
1579
  ])) : b("", !0),
1574
1580
  i(n.$slots, "left-extras")
1575
1581
  ]),
1576
- O("div", Kr, [
1577
- h($t, {
1582
+ O("div", Zr, [
1583
+ h(rn, {
1578
1584
  viewport: e.editor.state.viewport,
1579
1585
  onChange: e.editor.setViewport
1580
1586
  }, null, 8, ["viewport", "onChange"]),
1581
- h(Mr, {
1587
+ h(Lr, {
1582
1588
  "dark-mode": e.editor.state.darkMode,
1583
1589
  onChange: e.editor.setDarkMode
1584
1590
  }, null, 8, ["dark-mode", "onChange"]),
1585
- h(Pr, {
1591
+ h(zr, {
1586
1592
  "preview-mode": e.editor.state.previewMode,
1587
1593
  onChange: e.editor.setPreviewMode
1588
1594
  }, null, 8, ["preview-mode", "onChange"])
1589
1595
  ]),
1590
- O("div", qr, [
1591
- e.templates?.isAvailable.value && e.templates.canSave.value ? (o(), T(Ur, {
1596
+ O("div", Qr, [
1597
+ e.templates?.isAvailable.value && e.templates.canSave.value ? (o(), T(Jr, {
1592
1598
  key: 0,
1593
1599
  status: e.templates.status.value,
1594
1600
  "error-message": e.templates.errorMessage.value,
@@ -1604,20 +1610,20 @@ var Qn = ["aria-label"], $n = {
1604
1610
  "data-testid": "comments-trigger",
1605
1611
  "aria-label": e.comments.unresolvedCount.value > 0 ? `${e.core.t.comments.button} (${e.comments.unresolvedCount.value})` : e.core.t.comments.button,
1606
1612
  "aria-expanded": e.comments.isOpen.value,
1607
- class: _(m(Gt)),
1613
+ class: _(m(Zt)),
1608
1614
  style: w(e.comments.isOpen.value ? {
1609
1615
  backgroundColor: "var(--tpl-primary-light)",
1610
1616
  borderColor: "var(--tpl-primary-light)"
1611
1617
  } : void 0),
1612
1618
  onClick: r[2] ||= (t) => e.comments.toggle()
1613
1619
  }, [
1614
- h(m(Rt), {
1620
+ h(m(Ut), {
1615
1621
  size: 16,
1616
1622
  "stroke-width": 2
1617
1623
  }),
1618
- I(" " + N(e.core.t.comments.button) + " ", 1),
1619
- e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (o(), y("span", Yr, N(e.comments.unresolvedCount.value), 1)) : b("", !0)
1620
- ], 14, Jr)) : b("", !0),
1624
+ L(" " + N(e.core.t.comments.button) + " ", 1),
1625
+ e.comments.unresolvedCount.value > 0 && !e.comments.isOpen.value ? (o(), y("span", ei, N(e.comments.unresolvedCount.value), 1)) : b("", !0)
1626
+ ], 14, $r)) : b("", !0),
1621
1627
  i(n.$slots, "right-extras"),
1622
1628
  e.testEmail?.isAvailable.value ? (o(), y("button", {
1623
1629
  key: 2,
@@ -1626,63 +1632,63 @@ var Qn = ["aria-label"], $n = {
1626
1632
  "aria-label": e.core.t.testEmail.title,
1627
1633
  title: e.core.t.testEmail.title,
1628
1634
  disabled: e.testEmail.isSending.value,
1629
- class: _(m(Gt)),
1635
+ class: _(m(Zt)),
1630
1636
  onClick: r[3] ||= (t) => e.testEmail.open()
1631
- }, [e.testEmail.isSending.value ? (o(), T(m(Nt), {
1637
+ }, [e.testEmail.isSending.value ? (o(), T(m(Rt), {
1632
1638
  key: 1,
1633
1639
  class: "tpl-spinner",
1634
1640
  size: 16,
1635
1641
  "stroke-width": 2
1636
- })) : (o(), T(m(Dt), {
1642
+ })) : (o(), T(m(Nt), {
1637
1643
  key: 0,
1638
1644
  size: 16,
1639
1645
  "stroke-width": 2
1640
- })), I(" " + N(e.core.t.testEmail.button), 1)], 10, Xr)) : b("", !0),
1646
+ })), L(" " + N(e.core.t.testEmail.button), 1)], 10, ti)) : b("", !0),
1641
1647
  e.templates?.isAvailable.value && e.templates.canSave.value ? (o(), y("button", {
1642
1648
  key: 3,
1643
1649
  type: "button",
1644
1650
  "data-testid": "template-save",
1645
- class: _(m(e.editor.state.isDirty && e.templates.hasTemplate.value ? qt : Gt)),
1651
+ class: _(m(e.editor.state.isDirty && e.templates.hasTemplate.value ? $t : Zt)),
1646
1652
  style: w(e.editor.state.isDirty && e.templates.hasTemplate.value ? { boxShadow: "var(--tpl-shadow-sm)" } : void 0),
1647
1653
  disabled: e.templates.isSaving.value || !e.templates.hasTemplate.value,
1648
1654
  title: e.templates.hasTemplate.value ? e.core.t.header.save : e.core.t.header.saveNoTemplate,
1649
1655
  onClick: r[4] ||= (t) => e.templates.requestSave()
1650
- }, [e.templates.isSaving.value ? (o(), T(m(Nt), {
1656
+ }, [e.templates.isSaving.value ? (o(), T(m(Rt), {
1651
1657
  key: 1,
1652
1658
  class: "tpl-spinner",
1653
1659
  size: 16,
1654
1660
  "stroke-width": 2
1655
- })) : (o(), T(m(St), {
1661
+ })) : (o(), T(m(kt), {
1656
1662
  key: 0,
1657
1663
  size: 16,
1658
1664
  "stroke-width": 2
1659
- })), I(" " + N(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, Zr)) : b("", !0)
1665
+ })), L(" " + N(e.templates.isSaving.value ? e.core.t.header.saving : e.core.t.header.save), 1)], 14, ni)) : b("", !0)
1660
1666
  ])
1661
1667
  ]));
1662
1668
  }
1663
- }), $r = ["aria-labelledby", "data-tpl-theme"], ei = { 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" }, ti = ["id"], ni = ["aria-label"], ri = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, ii = [
1669
+ }), ii = ["aria-labelledby", "data-tpl-theme"], ai = { 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" }, oi = ["id"], si = ["aria-label"], ci = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, li = [
1664
1670
  "id",
1665
1671
  "placeholder",
1666
1672
  "aria-label",
1667
1673
  "aria-activedescendant"
1668
- ], ai = {
1674
+ ], ui = {
1669
1675
  key: 0,
1670
1676
  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",
1671
1677
  "data-testid": "merge-tag-picker-group-pills"
1672
- }, oi = ["data-group-name", "onClick"], si = ["aria-label"], ci = {
1678
+ }, di = ["data-group-name", "onClick"], fi = ["aria-label"], pi = {
1673
1679
  key: 0,
1674
1680
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
1675
1681
  "data-testid": "merge-tag-picker-empty"
1676
- }, li = {
1682
+ }, mi = {
1677
1683
  key: 1,
1678
1684
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
1679
1685
  "data-testid": "merge-tag-picker-empty"
1680
- }, ui = [
1686
+ }, hi = [
1681
1687
  "aria-expanded",
1682
1688
  "data-group-name",
1683
1689
  "data-group-collapsed",
1684
1690
  "onClick"
1685
- ], di = { class: "tpl:ml-1 tpl:font-normal" }, fi = [
1691
+ ], gi = { class: "tpl:ml-1 tpl:font-normal" }, _i = [
1686
1692
  "id",
1687
1693
  "aria-selected",
1688
1694
  "data-selected",
@@ -1692,46 +1698,46 @@ var Qn = ["aria-label"], $n = {
1692
1698
  "title",
1693
1699
  "onMousemove",
1694
1700
  "onClick"
1695
- ], pi = { class: "tpl:text-sm tpl:font-medium" }, mi = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, hi = {
1701
+ ], vi = { class: "tpl:text-sm tpl:font-medium" }, yi = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, bi = {
1696
1702
  key: 0,
1697
1703
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
1698
- }, gi = {
1704
+ }, xi = {
1699
1705
  key: 1,
1700
1706
  "data-testid": "merge-tag-picker-sample",
1701
1707
  class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
1702
- }, $ = "tpl-merge-tag-picker-list", _i = /* @__PURE__ */ u({
1708
+ }, $ = "tpl-merge-tag-picker-list", Si = /* @__PURE__ */ u({
1703
1709
  __name: "MergeTagPickerModal",
1704
1710
  setup(i) {
1705
- let a = qe(Je, "MergeTagPickerModal"), { t: s, format: l } = Q(), u = t(Xe, null), f = t(at, null), p = t($e, !0), x = v(() => a.current.value !== null), E = v(() => x.value ? s.mergeTag.picker.changeTitle : s.mergeTag.picker.title);
1711
+ let a = Qe($e, "MergeTagPickerModal"), { t: s, format: l } = Q(), u = t(tt, null), f = t(ut, null), p = t(it, !0), x = v(() => a.current.value !== null), E = v(() => x.value ? s.mergeTag.picker.changeTitle : s.mergeTag.picker.title);
1706
1712
  function k(e) {
1707
1713
  return p ? e.description ? `${e.value} — ${e.description}` : e.value : e.description || void 0;
1708
1714
  }
1709
- let A = c(""), j = _e(A, 200), ee = c(null), P = v(() => j.value.trim().length > 0), F = c(0), I = v(() => a.tags.value.some((e) => !!e.group)), L = c(/* @__PURE__ */ new Set());
1710
- function R(e) {
1711
- return L.value.has(e);
1712
- }
1715
+ let A = c(""), j = be(A, 200), P = c(null), F = v(() => j.value.trim().length > 0), I = c(0), L = v(() => a.tags.value.some((e) => !!e.group)), R = c(/* @__PURE__ */ new Set());
1713
1716
  function z(e) {
1714
- let t = new Set(L.value);
1715
- t.has(e) ? t.delete(e) : t.add(e), L.value = t, F.value = 0;
1717
+ return R.value.has(e);
1716
1718
  }
1717
- let B = v(() => {
1719
+ function B(e) {
1720
+ let t = new Set(R.value);
1721
+ t.has(e) ? t.delete(e) : t.add(e), R.value = t, I.value = 0;
1722
+ }
1723
+ let V = v(() => {
1718
1724
  let e = j.value.trim().toLowerCase();
1719
1725
  return e ? a.tags.value.filter((t) => [
1720
1726
  t.label,
1721
1727
  t.value,
1722
1728
  t.description ?? ""
1723
1729
  ].join(" ").toLowerCase().includes(e)) : a.tags.value;
1724
- }), te = v(() => {
1725
- if (!I.value) return [];
1730
+ }), ee = v(() => {
1731
+ if (!L.value) return [];
1726
1732
  let e = s.mergeTag.picker.otherGroup, t = /* @__PURE__ */ new Set(), n = [];
1727
1733
  for (let r of a.tags.value) {
1728
1734
  let i = r.group ?? e;
1729
1735
  t.has(i) || (t.add(i), n.push(i));
1730
1736
  }
1731
1737
  return n;
1732
- }), V = v(() => {
1733
- let e = B.value;
1734
- if (!I.value || P.value) return e.map((e, t) => ({
1738
+ }), H = v(() => {
1739
+ let e = V.value;
1740
+ if (!L.value || F.value) return e.map((e, t) => ({
1735
1741
  kind: "tag",
1736
1742
  tag: e,
1737
1743
  index: t
@@ -1748,59 +1754,59 @@ var Qn = ["aria-label"], $n = {
1748
1754
  kind: "header",
1749
1755
  group: e,
1750
1756
  count: t.length
1751
- }), !L.value.has(e)) for (let e of t) i.push({
1757
+ }), !R.value.has(e)) for (let e of t) i.push({
1752
1758
  kind: "tag",
1753
1759
  tag: e,
1754
1760
  index: a
1755
1761
  }), a++;
1756
1762
  }
1757
1763
  return i;
1758
- }), H = v(() => V.value.flatMap((e) => e.kind === "tag" ? [e.tag] : [])), U = !1;
1759
- function W(e) {
1764
+ }), U = v(() => H.value.flatMap((e) => e.kind === "tag" ? [e.tag] : [])), W = !1;
1765
+ function G(e) {
1760
1766
  let t = a.current.value;
1761
1767
  if (!t) return !1;
1762
1768
  let n = e.findIndex((e) => e.value === t.value);
1763
- return n !== -1 && (F.value = n, !0);
1769
+ return n !== -1 && (I.value = n, !0);
1764
1770
  }
1765
- function G(e) {
1766
- U = !1, F.value = e;
1771
+ function K(e) {
1772
+ W = !1, I.value = e;
1767
1773
  }
1768
1774
  e(() => a.isOpen.value, (e) => {
1769
- e ? (A.value = "", F.value = 0, L.value = /* @__PURE__ */ new Set(), U = !W(H.value), S(() => {
1770
- ee.value?.focus();
1771
- })) : U = !1;
1772
- }), e(H, (e) => {
1773
- U && W(e) ? U = !1 : F.value >= e.length && (F.value = Math.max(0, e.length - 1));
1775
+ e ? (A.value = "", I.value = 0, R.value = /* @__PURE__ */ new Set(), W = !G(U.value), S(() => {
1776
+ P.value?.focus();
1777
+ })) : W = !1;
1778
+ }), e(U, (e) => {
1779
+ W && G(e) ? W = !1 : I.value >= e.length && (I.value = Math.max(0, e.length - 1));
1774
1780
  });
1775
- function K(e) {
1781
+ function q(e) {
1776
1782
  a.resolve(e);
1777
1783
  }
1778
- function q() {
1784
+ function J() {
1779
1785
  a.resolve(null);
1780
1786
  }
1781
- function J(e) {
1782
- if (H.value.length === 0) return;
1783
- U = !1;
1784
- let t = F.value + e;
1785
- F.value = Math.max(0, Math.min(H.value.length - 1, t)), Z();
1787
+ function Y(e) {
1788
+ if (U.value.length === 0) return;
1789
+ W = !1;
1790
+ let t = I.value + e;
1791
+ I.value = Math.max(0, Math.min(U.value.length - 1, t)), Z();
1786
1792
  }
1787
- let Y = c(null), ne = c({});
1788
- function X(e, t) {
1789
- ne.value[e] = t ?? null;
1793
+ let X = c(null), te = c({});
1794
+ function ne(e, t) {
1795
+ te.value[e] = t ?? null;
1790
1796
  }
1791
1797
  function Z() {
1792
1798
  S(() => {
1793
- let e = Y.value;
1794
- e && e.querySelector(`[data-merge-tag-index="${F.value}"]`)?.scrollIntoView({ block: "nearest" });
1799
+ let e = X.value;
1800
+ e && e.querySelector(`[data-merge-tag-index="${I.value}"]`)?.scrollIntoView({ block: "nearest" });
1795
1801
  });
1796
1802
  }
1797
1803
  function re(e) {
1798
- if (L.value.has(e)) {
1799
- let t = new Set(L.value);
1800
- t.delete(e), L.value = t;
1804
+ if (R.value.has(e)) {
1805
+ let t = new Set(R.value);
1806
+ t.delete(e), R.value = t;
1801
1807
  }
1802
1808
  S(() => {
1803
- let t = Y.value;
1809
+ let t = X.value;
1804
1810
  if (!t) return;
1805
1811
  let n = 0, r = !1;
1806
1812
  for (let i of Array.from(t.children)) {
@@ -1817,24 +1823,24 @@ var Qn = ["aria-label"], $n = {
1817
1823
  });
1818
1824
  }
1819
1825
  function ie(e) {
1820
- if (e.key === "ArrowDown") e.preventDefault(), J(1);
1821
- else if (e.key === "ArrowUp") e.preventDefault(), J(-1);
1826
+ if (e.key === "ArrowDown") e.preventDefault(), Y(1);
1827
+ else if (e.key === "ArrowUp") e.preventDefault(), Y(-1);
1822
1828
  else if (e.key === "Enter") {
1823
1829
  e.preventDefault();
1824
- let t = H.value[F.value];
1825
- t && K(t);
1830
+ let t = U.value[I.value];
1831
+ t && q(t);
1826
1832
  }
1827
1833
  }
1828
1834
  function ae() {
1829
- if (H.value.length !== 0) return `${$}-opt-${F.value}`;
1835
+ if (U.value.length !== 0) return `${$}-opt-${I.value}`;
1830
1836
  }
1831
1837
  function oe(e) {
1832
1838
  return `${$}-opt-${e}`;
1833
1839
  }
1834
- let se = v(() => a.tags.value.length === 0), ce = v(() => !se.value && B.value.length === 0), le = v(() => I.value && te.value.length > 1 && !P.value);
1835
- return (e, t) => (o(), T(rn, {
1840
+ let se = v(() => a.tags.value.length === 0), ce = v(() => !se.value && V.value.length === 0), le = v(() => L.value && ee.value.length > 1 && !F.value);
1841
+ return (e, t) => (o(), T(cn, {
1836
1842
  visible: m(a).isOpen.value,
1837
- onClose: q,
1843
+ onClose: J,
1838
1844
  onKeydown: ie
1839
1845
  }, {
1840
1846
  default: r(() => [O("div", {
@@ -1846,27 +1852,27 @@ var Qn = ["aria-label"], $n = {
1846
1852
  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)]",
1847
1853
  style: w(m(u))
1848
1854
  }, [
1849
- O("header", ei, [O("h2", {
1855
+ O("header", ai, [O("h2", {
1850
1856
  id: `${$}-title`,
1851
1857
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
1852
- }, N(E.value), 9, ti), O("button", {
1858
+ }, N(E.value), 9, oi), O("button", {
1853
1859
  type: "button",
1854
1860
  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)]",
1855
1861
  "aria-label": m(s).mergeTag.picker.close,
1856
1862
  "data-testid": "merge-tag-picker-close",
1857
- onClick: q
1858
- }, [h(m(Lt), {
1863
+ onClick: J
1864
+ }, [h(m(Ht), {
1859
1865
  size: 16,
1860
1866
  "stroke-width": 2
1861
- })], 8, ni)]),
1862
- O("div", ri, [h(m(kt), {
1867
+ })], 8, si)]),
1868
+ O("div", ci, [h(m(Pt), {
1863
1869
  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)]",
1864
1870
  size: 14,
1865
1871
  "stroke-width": 2
1866
1872
  }), d(O("input", {
1867
1873
  id: `${$}-search`,
1868
1874
  ref_key: "searchInputRef",
1869
- ref: ee,
1875
+ ref: P,
1870
1876
  "onUpdate:modelValue": t[0] ||= (e) => A.value = e,
1871
1877
  type: "text",
1872
1878
  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)]",
@@ -1876,76 +1882,76 @@ var Qn = ["aria-label"], $n = {
1876
1882
  "aria-activedescendant": ae(),
1877
1883
  "data-testid": "merge-tag-picker-search",
1878
1884
  onKeydown: t[1] ||= g(C(() => {}, ["prevent"]), ["enter"])
1879
- }, null, 40, ii), [[D, A.value]])]),
1880
- le.value ? (o(), y("div", ai, [(o(!0), y(M, null, n(te.value, (e) => (o(), y("button", {
1885
+ }, null, 40, li), [[D, A.value]])]),
1886
+ le.value ? (o(), y("div", ui, [(o(!0), y(M, null, n(ee.value, (e) => (o(), y("button", {
1881
1887
  key: e,
1882
1888
  type: "button",
1883
1889
  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)]",
1884
1890
  "data-testid": "merge-tag-picker-group-pill",
1885
1891
  "data-group-name": e,
1886
1892
  onClick: (t) => re(e)
1887
- }, N(e), 9, oi))), 128))])) : b("", !0),
1893
+ }, N(e), 9, di))), 128))])) : b("", !0),
1888
1894
  O("div", {
1889
1895
  id: $,
1890
1896
  ref_key: "listRef",
1891
- ref: Y,
1897
+ ref: X,
1892
1898
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
1893
1899
  role: "listbox",
1894
1900
  "aria-label": E.value,
1895
1901
  "data-testid": "merge-tag-picker-list"
1896
- }, [se.value ? (o(), y("div", ci, N(m(s).mergeTag.picker.empty), 1)) : ce.value ? (o(), y("div", li, N(m(s).mergeTag.picker.noResults), 1)) : (o(!0), y(M, { key: 2 }, n(V.value, (e, t) => (o(), y(M, { key: t }, [e.kind === "header" ? (o(), y("button", {
1902
+ }, [se.value ? (o(), y("div", pi, N(m(s).mergeTag.picker.empty), 1)) : ce.value ? (o(), y("div", mi, N(m(s).mergeTag.picker.noResults), 1)) : (o(!0), y(M, { key: 2 }, n(H.value, (e, t) => (o(), y(M, { key: t }, [e.kind === "header" ? (o(), y("button", {
1897
1903
  key: 0,
1898
1904
  ref_for: !0,
1899
- ref: (t) => X(e.group, t),
1905
+ ref: (t) => ne(e.group, t),
1900
1906
  type: "button",
1901
- "aria-expanded": !R(e.group),
1907
+ "aria-expanded": !z(e.group),
1902
1908
  "aria-controls": $,
1903
1909
  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)]",
1904
1910
  "data-testid": "merge-tag-picker-group-header",
1905
1911
  "data-group-name": e.group,
1906
- "data-group-collapsed": R(e.group) ? "true" : "false",
1907
- onClick: (t) => z(e.group)
1912
+ "data-group-collapsed": z(e.group) ? "true" : "false",
1913
+ onClick: (t) => B(e.group)
1908
1914
  }, [
1909
- h(m(Tt), {
1915
+ h(m(It), {
1910
1916
  size: 12,
1911
1917
  "stroke-width": 2,
1912
- class: _(["tpl:transition-transform", R(e.group) ? "tpl:-rotate-90" : ""])
1918
+ class: _(["tpl:transition-transform", z(e.group) ? "tpl:-rotate-90" : ""])
1913
1919
  }, null, 8, ["class"]),
1914
1920
  O("span", null, N(e.group), 1),
1915
- O("span", di, " (" + N(m(l)(m(s).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
1916
- ], 8, ui)) : (o(), y("button", {
1921
+ O("span", gi, " (" + N(m(l)(m(s).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
1922
+ ], 8, hi)) : (o(), y("button", {
1917
1923
  key: 1,
1918
1924
  id: oe(e.index),
1919
1925
  type: "button",
1920
1926
  role: "option",
1921
- "aria-selected": e.index === F.value,
1922
- "data-selected": e.index === F.value ? "true" : "false",
1927
+ "aria-selected": e.index === I.value,
1928
+ "data-selected": e.index === I.value ? "true" : "false",
1923
1929
  "data-merge-tag-index": e.index,
1924
1930
  "data-merge-tag-value": e.tag.value,
1925
1931
  "aria-current": e.tag.value === m(a).current.value?.value ? "true" : void 0,
1926
1932
  title: k(e.tag),
1927
- class: _(["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 === F.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)]"]),
1933
+ class: _(["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 === I.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)]"]),
1928
1934
  "data-testid": "merge-tag-picker-item",
1929
- onMousemove: (t) => G(e.index),
1930
- onClick: (t) => K(e.tag)
1935
+ onMousemove: (t) => K(e.index),
1936
+ onClick: (t) => q(e.tag)
1931
1937
  }, [
1932
- O("span", pi, N(e.tag.label), 1),
1933
- O("span", mi, N(e.tag.value), 1),
1934
- e.tag.description ? (o(), y("span", hi, N(e.tag.description), 1)) : b("", !0),
1935
- e.tag.sample === void 0 ? b("", !0) : (o(), y("span", gi, N(m(l)(m(s).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
1936
- ], 42, fi))], 64))), 128))], 8, si)
1937
- ], 12, $r)]),
1938
+ O("span", vi, N(e.tag.label), 1),
1939
+ O("span", yi, N(e.tag.value), 1),
1940
+ e.tag.description ? (o(), y("span", bi, N(e.tag.description), 1)) : b("", !0),
1941
+ e.tag.sample === void 0 ? b("", !0) : (o(), y("span", xi, N(m(l)(m(s).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
1942
+ ], 42, _i))], 64))), 128))], 8, fi)
1943
+ ], 12, ii)]),
1938
1944
  _: 1
1939
1945
  }, 8, ["visible"]));
1940
1946
  }
1941
- }), vi = ["data-logic-keyword"], yi = /* @__PURE__ */ u({
1947
+ }), Ci = ["data-logic-keyword"], wi = /* @__PURE__ */ u({
1942
1948
  __name: "LogicTagBadge",
1943
1949
  props: {
1944
1950
  value: {},
1945
1951
  syntax: {}
1946
1952
  },
1947
1953
  setup(e) {
1948
- let t = e, n = v(() => q(t.value, t.syntax)), r = v(() => K(t.value, t.syntax));
1954
+ let t = e, n = v(() => J(t.value, t.syntax)), r = v(() => q(t.value, t.syntax));
1949
1955
  return (e, t) => n.value ? (o(), y("span", {
1950
1956
  key: 0,
1951
1957
  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",
@@ -1955,22 +1961,22 @@ var Qn = ["aria-label"], $n = {
1955
1961
  },
1956
1962
  "data-testid": "merge-tag-logic-badge",
1957
1963
  "data-logic-keyword": r.value
1958
- }, N(r.value), 9, vi)) : b("", !0);
1964
+ }, N(r.value), 9, Ci)) : b("", !0);
1959
1965
  }
1960
- }), bi = ["aria-labelledby", "data-tpl-theme"], xi = { 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" }, Si = ["id"], Ci = ["aria-label"], wi = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Ti = [
1966
+ }), Ti = ["aria-labelledby", "data-tpl-theme"], Ei = { 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" }, Di = ["id"], Oi = ["aria-label"], ki = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Ai = [
1961
1967
  "id",
1962
1968
  "placeholder",
1963
1969
  "aria-label",
1964
1970
  "aria-activedescendant"
1965
- ], Ei = ["aria-label"], Di = {
1971
+ ], ji = ["aria-label"], Mi = {
1966
1972
  key: 0,
1967
1973
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
1968
1974
  "data-testid": "logic-picker-empty"
1969
- }, Oi = {
1975
+ }, Ni = {
1970
1976
  key: 1,
1971
1977
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
1972
1978
  "data-testid": "logic-picker-empty"
1973
- }, ki = ["data-group-name"], Ai = [
1979
+ }, Pi = ["data-group-name"], Fi = [
1974
1980
  "id",
1975
1981
  "aria-selected",
1976
1982
  "data-selected",
@@ -1978,42 +1984,42 @@ var Qn = ["aria-label"], $n = {
1978
1984
  "data-logic-kind",
1979
1985
  "onMousemove",
1980
1986
  "onClick"
1981
- ], ji = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Mi = { class: "tpl:text-sm tpl:font-medium" }, Ni = {
1987
+ ], Ii = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Li = { class: "tpl:text-sm tpl:font-medium" }, Ri = {
1982
1988
  key: 0,
1983
1989
  class: "tpl:flex tpl:items-center"
1984
- }, Pi = {
1990
+ }, zi = {
1985
1991
  key: 1,
1986
1992
  class: "tpl:flex tpl:items-center tpl:gap-1"
1987
- }, Fi = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Ii = {
1993
+ }, Bi = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Vi = {
1988
1994
  key: 0,
1989
1995
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
1990
- }, Li = "tpl-logic-picker-list", Ri = /* @__PURE__ */ u({
1996
+ }, Hi = "tpl-logic-picker-list", Ui = /* @__PURE__ */ u({
1991
1997
  __name: "LogicTagPickerModal",
1992
1998
  setup(i) {
1993
- let a = qe(Ye, "LogicTagPickerModal"), { t: s } = Q(), l = t(et, oe.liquid), u = t(Xe, null), f = t(at, null), p = c(""), x = _e(p, 200), E = c(null), k = v(() => x.value.trim().length > 0), A = c(0);
1999
+ let a = Qe(et, "LogicTagPickerModal"), { t: s } = Q(), l = t(at, oe.liquid), u = t(tt, null), f = t(ut, null), p = c(""), x = be(p, 200), E = c(null), k = v(() => x.value.trim().length > 0), A = c(0);
1994
2000
  function j(e) {
1995
2001
  let t = x.value.trim().toLowerCase();
1996
2002
  return !t || e.filter(Boolean).join(" ").toLowerCase().includes(t);
1997
2003
  }
1998
- let ee = v(() => a.tags.value.filter((e) => j([
2004
+ let P = v(() => a.tags.value.filter((e) => j([
1999
2005
  e.label,
2000
2006
  e.value,
2001
2007
  e.description
2002
- ]))), P = v(() => a.pairs.value.filter((e) => j([
2008
+ ]))), F = v(() => a.pairs.value.filter((e) => j([
2003
2009
  e.label,
2004
2010
  e.before,
2005
2011
  e.after,
2006
2012
  e.description
2007
- ]))), F = v(() => [...P.value.map((e) => ({
2013
+ ]))), I = v(() => [...F.value.map((e) => ({
2008
2014
  kind: "pair",
2009
2015
  pair: e,
2010
2016
  group: e.group
2011
- })), ...ee.value.map((e) => ({
2017
+ })), ...P.value.map((e) => ({
2012
2018
  kind: "tag",
2013
2019
  tag: e,
2014
2020
  group: e.group
2015
- }))]), I = v(() => a.tags.value.some((e) => !!e.group) || a.pairs.value.some((e) => !!e.group));
2016
- function L(e) {
2021
+ }))]), L = v(() => a.tags.value.some((e) => !!e.group) || a.pairs.value.some((e) => !!e.group));
2022
+ function R(e) {
2017
2023
  let t = s.logicTag.picker.otherGroup, n = /* @__PURE__ */ new Map(), r = [];
2018
2024
  for (let i of e) {
2019
2025
  let e = i.group ?? t;
@@ -2021,7 +2027,7 @@ var Qn = ["aria-label"], $n = {
2021
2027
  }
2022
2028
  return r.map((e) => [e, n.get(e)]);
2023
2029
  }
2024
- let R = v(() => {
2030
+ let z = v(() => {
2025
2031
  let e = [], t = [], n = 0, r = (r) => {
2026
2032
  r.kind === "tag" ? (e.push({
2027
2033
  kind: "tag",
@@ -2032,9 +2038,9 @@ var Qn = ["aria-label"], $n = {
2032
2038
  pair: r.pair,
2033
2039
  index: n
2034
2040
  }), t.push(r.pair)), n++;
2035
- }, i = F.value;
2036
- if (k.value || !I.value) for (let e of i) r(e);
2037
- else for (let [t, n] of L(i)) {
2041
+ }, i = I.value;
2042
+ if (k.value || !L.value) for (let e of i) r(e);
2043
+ else for (let [t, n] of R(i)) {
2038
2044
  e.push({
2039
2045
  kind: "header",
2040
2046
  label: t
@@ -2045,72 +2051,72 @@ var Qn = ["aria-label"], $n = {
2045
2051
  rows: e,
2046
2052
  items: t
2047
2053
  };
2048
- }), z = v(() => R.value.items), B = v(() => a.tags.value.length === 0 && a.pairs.value.length === 0), te = v(() => !B.value && z.value.length === 0);
2054
+ }), B = v(() => z.value.items), V = v(() => a.tags.value.length === 0 && a.pairs.value.length === 0), ee = v(() => !V.value && B.value.length === 0);
2049
2055
  e(() => a.isOpen.value, (e) => {
2050
2056
  e && (p.value = "", A.value = 0, S(() => E.value?.focus()));
2051
- }), e(z, (e) => {
2057
+ }), e(B, (e) => {
2052
2058
  A.value >= e.length && (A.value = Math.max(0, e.length - 1));
2053
2059
  });
2054
- let V = c(null);
2055
- function H(e) {
2060
+ let H = c(null);
2061
+ function U(e) {
2056
2062
  a.resolve(e);
2057
2063
  }
2058
- function U() {
2064
+ function W() {
2059
2065
  a.resolve(null);
2060
2066
  }
2061
- function W(e) {
2062
- z.value.length !== 0 && (A.value = Math.max(0, Math.min(z.value.length - 1, A.value + e)), S(() => {
2063
- V.value?.querySelector(`[data-logic-index="${A.value}"]`)?.scrollIntoView({ block: "nearest" });
2067
+ function G(e) {
2068
+ B.value.length !== 0 && (A.value = Math.max(0, Math.min(B.value.length - 1, A.value + e)), S(() => {
2069
+ H.value?.querySelector(`[data-logic-index="${A.value}"]`)?.scrollIntoView({ block: "nearest" });
2064
2070
  }));
2065
2071
  }
2066
- function G(e) {
2067
- if (e.key === "ArrowDown") e.preventDefault(), W(1);
2068
- else if (e.key === "ArrowUp") e.preventDefault(), W(-1);
2072
+ function K(e) {
2073
+ if (e.key === "ArrowDown") e.preventDefault(), G(1);
2074
+ else if (e.key === "ArrowUp") e.preventDefault(), G(-1);
2069
2075
  else if (e.key === "Enter") {
2070
2076
  e.preventDefault();
2071
- let t = z.value[A.value];
2072
- t && H(t);
2077
+ let t = B.value[A.value];
2078
+ t && U(t);
2073
2079
  }
2074
2080
  }
2075
- function K(e) {
2076
- return `${Li}-opt-${e}`;
2081
+ function q(e) {
2082
+ return `${Hi}-opt-${e}`;
2077
2083
  }
2078
- function q() {
2079
- return z.value.length === 0 ? void 0 : `${Li}-opt-${A.value}`;
2084
+ function J() {
2085
+ return B.value.length === 0 ? void 0 : `${Hi}-opt-${A.value}`;
2080
2086
  }
2081
- return (e, t) => (o(), T(rn, {
2087
+ return (e, t) => (o(), T(cn, {
2082
2088
  visible: m(a).isOpen.value,
2083
- onClose: U,
2084
- onKeydown: G
2089
+ onClose: W,
2090
+ onKeydown: K
2085
2091
  }, {
2086
2092
  default: r(() => [O("div", {
2087
2093
  role: "dialog",
2088
2094
  "aria-modal": "true",
2089
- "aria-labelledby": `${Li}-title`,
2095
+ "aria-labelledby": `${Hi}-title`,
2090
2096
  "data-tpl-theme": m(f),
2091
2097
  "data-testid": "logic-picker-modal",
2092
2098
  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)]",
2093
2099
  style: w(m(u))
2094
2100
  }, [
2095
- O("header", xi, [O("h2", {
2096
- id: `${Li}-title`,
2101
+ O("header", Ei, [O("h2", {
2102
+ id: `${Hi}-title`,
2097
2103
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
2098
- }, N(m(s).logicTag.picker.title), 9, Si), O("button", {
2104
+ }, N(m(s).logicTag.picker.title), 9, Di), O("button", {
2099
2105
  type: "button",
2100
2106
  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)]",
2101
2107
  "aria-label": m(s).logicTag.picker.close,
2102
2108
  "data-testid": "logic-picker-close",
2103
- onClick: U
2104
- }, [h(m(Lt), {
2109
+ onClick: W
2110
+ }, [h(m(Ht), {
2105
2111
  size: 16,
2106
2112
  "stroke-width": 2
2107
- })], 8, Ci)]),
2108
- O("div", wi, [h(m(kt), {
2113
+ })], 8, Oi)]),
2114
+ O("div", ki, [h(m(Pt), {
2109
2115
  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)]",
2110
2116
  size: 14,
2111
2117
  "stroke-width": 2
2112
2118
  }), d(O("input", {
2113
- id: `${Li}-search`,
2119
+ id: `${Hi}-search`,
2114
2120
  ref_key: "searchInputRef",
2115
2121
  ref: E,
2116
2122
  "onUpdate:modelValue": t[0] ||= (e) => p.value = e,
@@ -2118,27 +2124,27 @@ var Qn = ["aria-label"], $n = {
2118
2124
  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)]",
2119
2125
  placeholder: m(s).logicTag.picker.searchPlaceholder,
2120
2126
  "aria-label": m(s).logicTag.picker.searchAriaLabel,
2121
- "aria-controls": Li,
2122
- "aria-activedescendant": q(),
2127
+ "aria-controls": Hi,
2128
+ "aria-activedescendant": J(),
2123
2129
  "data-testid": "logic-picker-search",
2124
2130
  onKeydown: t[1] ||= g(C(() => {}, ["prevent"]), ["enter"])
2125
- }, null, 40, Ti), [[D, p.value]])]),
2131
+ }, null, 40, Ai), [[D, p.value]])]),
2126
2132
  O("div", {
2127
- id: Li,
2133
+ id: Hi,
2128
2134
  ref_key: "listRef",
2129
- ref: V,
2135
+ ref: H,
2130
2136
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
2131
2137
  role: "listbox",
2132
2138
  "aria-label": m(s).logicTag.picker.title,
2133
2139
  "data-testid": "logic-picker-list"
2134
- }, [B.value ? (o(), y("div", Di, N(m(s).logicTag.picker.empty), 1)) : te.value ? (o(), y("div", Oi, N(m(s).logicTag.picker.noResults), 1)) : (o(!0), y(M, { key: 2 }, n(R.value.rows, (e, n) => (o(), y(M, { key: n }, [e.kind === "header" ? (o(), y("div", {
2140
+ }, [V.value ? (o(), y("div", Mi, N(m(s).logicTag.picker.empty), 1)) : ee.value ? (o(), y("div", Ni, N(m(s).logicTag.picker.noResults), 1)) : (o(!0), y(M, { key: 2 }, n(z.value.rows, (e, n) => (o(), y(M, { key: n }, [e.kind === "header" ? (o(), y("div", {
2135
2141
  key: 0,
2136
2142
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
2137
2143
  "data-testid": "logic-picker-header",
2138
2144
  "data-group-name": e.label
2139
- }, N(e.label), 9, ki)) : (o(), y("button", {
2145
+ }, N(e.label), 9, Pi)) : (o(), y("button", {
2140
2146
  key: 1,
2141
- id: K(e.index),
2147
+ id: q(e.index),
2142
2148
  type: "button",
2143
2149
  role: "option",
2144
2150
  "aria-selected": e.index === A.value,
@@ -2148,34 +2154,34 @@ var Qn = ["aria-label"], $n = {
2148
2154
  class: _(["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)]"]),
2149
2155
  "data-testid": "logic-picker-item",
2150
2156
  onMousemove: (t) => A.value = e.index,
2151
- onClick: (t) => H(e.kind === "tag" ? e.tag : e.pair)
2157
+ onClick: (t) => U(e.kind === "tag" ? e.tag : e.pair)
2152
2158
  }, [
2153
- O("span", ji, [O("span", Mi, N(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (o(), y("span", Ni, [h(yi, {
2159
+ O("span", Ii, [O("span", Li, N(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (o(), y("span", Ri, [h(wi, {
2154
2160
  value: e.tag.value,
2155
2161
  syntax: m(l)
2156
- }, null, 8, ["value", "syntax"])])) : (o(), y("span", Pi, [
2157
- h(yi, {
2162
+ }, null, 8, ["value", "syntax"])])) : (o(), y("span", zi, [
2163
+ h(wi, {
2158
2164
  value: e.pair.before,
2159
2165
  syntax: m(l)
2160
2166
  }, null, 8, ["value", "syntax"]),
2161
2167
  t[2] ||= O("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
2162
- h(yi, {
2168
+ h(wi, {
2163
2169
  value: e.pair.after,
2164
2170
  syntax: m(l)
2165
2171
  }, null, 8, ["value", "syntax"])
2166
2172
  ]))]),
2167
- O("span", Fi, N(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
2168
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (o(), y("span", Ii, N(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : b("", !0)
2169
- ], 42, Ai))], 64))), 128))], 8, Ei)
2170
- ], 12, bi)]),
2173
+ O("span", Bi, N(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
2174
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (o(), y("span", Vi, N(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : b("", !0)
2175
+ ], 42, Fi))], 64))), 128))], 8, ji)
2176
+ ], 12, Ti)]),
2171
2177
  _: 1
2172
2178
  }, 8, ["visible"]));
2173
2179
  }
2174
- }), zi = ["data-tpl-theme"], Bi = { class: "tpl:absolute tpl:inset-0 tpl:overflow-hidden" }, Vi = { class: "tpl-preview-overlay tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Hi = { 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" }, Ui = {
2180
+ }), Wi = ["data-tpl-theme"], Gi = { class: "tpl:absolute tpl:inset-0 tpl:overflow-hidden" }, Ki = { class: "tpl-preview-overlay tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, qi = { 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" }, Ji = {
2175
2181
  key: 0,
2176
2182
  "data-testid": "merge-tag-mode-toggle-anchor",
2177
2183
  class: "tpl:rounded-[var(--tpl-radius-sm)] tpl:shadow-[var(--tpl-shadow-md)]"
2178
- }, Wi = { class: "tpl-main tpl:flex tpl:py-8" }, Gi = ["aria-label"], Ki = /*#__PURE__*/ Vt(/* @__PURE__ */ u({
2184
+ }, Yi = { class: "tpl-main tpl:flex tpl:py-8" }, Xi = ["aria-label"], Zi = /*#__PURE__*/ qt(/* @__PURE__ */ u({
2179
2185
  __name: "Editor",
2180
2186
  props: {
2181
2187
  config: {},
@@ -2187,38 +2193,38 @@ var Qn = ["aria-label"], $n = {
2187
2193
  usesLocalRenderer: { type: Function }
2188
2194
  },
2189
2195
  setup(t, { expose: n }) {
2190
- let i = t, s = i.config.templates ? Fn(i.config.templates, i.config.mergeTags) : void 0, l = he({
2196
+ let i = t, s = i.config.templates ? Bn(i.config.templates, i.config.mergeTags) : void 0, l = ue({
2191
2197
  content: i.config.content,
2192
2198
  defaultFontFamily: i.config.fonts?.defaultFont,
2193
- templateDefaults: sn(i.config),
2199
+ templateDefaults: dn(i.config),
2194
2200
  templates: s,
2195
2201
  onError: i.config.onError,
2196
2202
  lockedBlocks: i.cloud?.lockedBlocks
2197
- }), u = i.cloud ? i.cloud.attach({ editor: l }) : null, f = s ? mn({
2203
+ }), u = i.cloud ? i.cloud.attach({ editor: l }) : null, f = s ? yn({
2198
2204
  provider: s,
2199
2205
  editor: l,
2200
2206
  guardUnsavedChanges: i.config.templates?.unsavedChangesGuard,
2201
2207
  getSaveGate: i.cloud ? () => i.cloud.getSaveGate() : void 0
2202
2208
  }) : null;
2203
2209
  i.config.onDirtyChange && e(() => l.state.isDirty, (e) => i.config.onDirtyChange(e));
2204
- let g = c(null), S = i.config.savedBlocks ? fn({
2210
+ let g = c(null), S = i.config.savedBlocks ? _n({
2205
2211
  provider: i.config.savedBlocks,
2206
2212
  editor: l,
2207
2213
  onError: i.config.onError,
2208
2214
  isAvailable: i.cloud ? () => i.cloud.isSavedBlocksAvailable() : void 0
2209
- }) : null, D = F(() => import("./chunks/SavedBlocksPanels-Lu3tJ3QA.js")), k = i.config.media || i.config.onRequestMedia ? dn({
2215
+ }) : null, D = I(() => import("./chunks/SavedBlocksPanels-BhEOMzEQ.js")), k = i.config.media || i.config.onRequestMedia ? hn({
2210
2216
  provider: i.config.media,
2211
2217
  onRequestMedia: i.config.onRequestMedia,
2212
2218
  getTemplateId: () => l.state.template?.id,
2213
2219
  onError: i.config.onError
2214
- }) : null, j = F(() => import("./chunks/MediaPanels-B2AyUUcf.js")), M = i.config.testEmail ? yn({
2220
+ }) : null, j = I(() => import("./chunks/MediaPanels-Cp4XB_dH.js")), M = i.config.testEmail ? wn({
2215
2221
  provider: i.config.testEmail,
2216
2222
  getContent: () => l.content.value,
2217
2223
  renderMjml: i.renderMjml,
2218
2224
  usesLocalRenderer: i.usesLocalRenderer,
2219
2225
  onError: i.config.onError,
2220
2226
  isAvailable: i.cloud ? () => i.cloud.isTestEmailAvailable() : void 0
2221
- }) : null, ee = F(() => import("./chunks/TestEmailPanel-XXMD-Lnr.js")), P = i.config.comments ? cn({
2227
+ }) : null, P = I(() => import("./chunks/TestEmailPanel-DxrKuctP.js")), F = i.config.comments ? fn({
2222
2228
  provider: i.config.comments,
2223
2229
  editor: l,
2224
2230
  user: i.config.user,
@@ -2226,19 +2232,19 @@ var Qn = ["aria-label"], $n = {
2226
2232
  onError: i.config.onError,
2227
2233
  isAvailable: i.cloud ? () => i.cloud.isCommentsAvailable() : void 0,
2228
2234
  isBlockSaved: i.cloud ? (e) => i.cloud.isBlockSaved(e) : void 0
2229
- }) : null, R = F(() => import("./chunks/CommentsPanel-VH_NJ5HZ.js")), z = F(() => import("./chunks/CloudPanels-_irSdWbi.js")), B = F(() => import("./chunks/CloudHeaderExtras-5ONQ1RCa.js")), te = F(() => import("./chunks/VersionHistoryPanels-Dq12VsTX.js")), V = xn(i.config.templates?.autoSave, !1), H = V && f !== null;
2230
- V && f !== null && !f.canSave.value && gt.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 && f !== null && i.config.templates?.autoSave === void 0 && !i.config.onChange && gt.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.");
2231
- let U = i.config.onChange || H ? {
2235
+ }) : null, z = I(() => import("./chunks/CommentsPanel-CbzxwsyI.js")), B = I(() => import("./chunks/CloudPanels-awqHfJqC.js")), V = I(() => import("./chunks/CloudHeaderExtras-B4fhuwc_.js")), ee = I(() => import("./chunks/VersionHistoryPanels-DXSqmaLS.js")), H = En(i.config.templates?.autoSave, !1), U = H && f !== null;
2236
+ H && f !== null && !f.canSave.value && St.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 && f !== null && i.config.templates?.autoSave === void 0 && !i.config.onChange && St.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.");
2237
+ let W = i.config.onChange || U ? {
2232
2238
  onChange: () => {
2233
- i.config.onChange?.(JSON.parse(JSON.stringify(l.state.content))), H && f.requestAutoSave();
2239
+ i.config.onChange?.(JSON.parse(JSON.stringify(l.state.content))), U && f.requestAutoSave();
2234
2240
  },
2235
2241
  ...i.config.changeDebounce === void 0 ? {} : { debounce: i.config.changeDebounce }
2236
- } : null, W = {
2242
+ } : null, G = {
2237
2243
  ...S ? { savedBlocks: S.capability } : {},
2238
2244
  ...f ? { templates: f.capability } : {},
2239
2245
  ...M ? { testEmail: M.capability } : {},
2240
- ...P ? { comments: P.capability } : {}
2241
- }, G = He({
2246
+ ...F ? { comments: F.capability } : {}
2247
+ }, K = Ye({
2242
2248
  editor: l,
2243
2249
  containerEl: g,
2244
2250
  config: {
@@ -2260,88 +2266,88 @@ var Qn = ["aria-label"], $n = {
2260
2266
  canDropMedia: k?.canDrop ?? null,
2261
2267
  resolvePreview: i.config.resolvePreview,
2262
2268
  resolveImageUrl: i.config.resolveImageUrl,
2263
- lint: Sn(i.config),
2269
+ lint: Dn(i.config),
2264
2270
  locale: i.config.locale
2265
2271
  },
2266
2272
  translations: i.translations,
2267
2273
  fontsManager: i.fontsManager,
2268
- autoSaveOptions: U,
2269
- capabilities: W,
2274
+ autoSaveOptions: W,
2275
+ capabilities: G,
2270
2276
  editorRoot: i.shadowRoot,
2271
2277
  historyOptions: i.cloud ? { isRemoteOperation: () => i.cloud.isRemoteOperation() } : void 0,
2272
2278
  keyboardOptions: i.cloud ? { onBeforeUndo: () => i.cloud.onBeforeUndo() } : void 0
2273
- }), K = i.cloud && u ? i.cloud.ready({
2274
- core: G,
2275
- capabilities: W
2276
- }) : null, q = i.config.versionHistory ? bn({
2279
+ }), q = i.cloud && u ? i.cloud.ready({
2280
+ core: K,
2281
+ capabilities: G
2282
+ }) : null, J = i.config.versionHistory ? Tn({
2277
2283
  provider: i.config.versionHistory,
2278
- editor: Pn(l, i.config.mergeTags),
2279
- history: G.history,
2280
- conditionPreview: G.conditionPreview,
2281
- autoSave: G.autoSave,
2284
+ editor: zn(l, i.config.mergeTags),
2285
+ history: K.history,
2286
+ conditionPreview: K.conditionPreview,
2287
+ autoSave: K.autoSave,
2282
2288
  saveBeforeRestore: f ? {
2283
2289
  canSave: () => f.canSave.value && !(i.cloud?.getSaveGate()?.shouldBlock.value ?? !1),
2284
2290
  save: () => f.save("restore")
2285
2291
  } : null,
2286
2292
  onError: i.config.onError
2287
2293
  }) : null;
2288
- q && (W.versionHistory = q.capability);
2289
- let J = v(() => P?.isOpen.value === !0 || u?.panelState.rightPanelOpen.value === !0), Y = v(() => l.state.previewMode ? "tpl:left-0 tpl:right-0" : J.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]");
2290
- function ne(e) {
2294
+ J && (G.versionHistory = J.capability);
2295
+ let Y = v(() => F?.isOpen.value === !0 || u?.panelState.rightPanelOpen.value === !0), X = v(() => l.state.previewMode ? "tpl:left-0 tpl:right-0" : Y.value ? "tpl:left-12 tpl:right-[680px]" : "tpl:left-12 tpl:right-[320px]");
2296
+ function te(e) {
2291
2297
  u && (e === "ai-chat" ? u.panelState.aiChatOpen.value = !0 : u.panelState.designReferenceOpen.value = !0);
2292
2298
  }
2293
- let { showNotice: X } = je(() => i.config.smallScreenNotice);
2299
+ let { showNotice: ne } = Me(() => i.config.smallScreenNotice);
2294
2300
  x(async () => {
2295
2301
  await i.fontsManager.loadCustomFonts();
2296
2302
  }), a(() => {
2297
- i.fontsManager.cleanupFontLinks(), i.cloud?.destroy(), G.destroy();
2303
+ i.fontsManager.cleanupFontLinks(), i.cloud?.destroy(), K.destroy();
2298
2304
  });
2299
- let Z = f ?? l, re = Ut(G.editorRoot);
2305
+ let Z = f ?? l, re = Yt(K.editorRoot);
2300
2306
  return n({
2301
2307
  getContent: () => l.content.value,
2302
2308
  setContent: (e) => l.setContent(e),
2303
2309
  insertBlock: (e) => {
2304
- if (l.state.previewMode) return gt.warn("insertBlock() does nothing in preview mode."), null;
2305
- let t = L(e);
2306
- return wn(l, t) ? (re(t.id), t.id) : null;
2310
+ if (l.state.previewMode) return St.warn("insertBlock() does nothing in preview mode."), null;
2311
+ let t = R(e);
2312
+ return kn(l, t) ? (re(t.id), t.id) : null;
2307
2313
  },
2308
2314
  setTheme: (e) => l.setUiTheme(e),
2309
- setMergeTags: G.setMergeTags,
2315
+ setMergeTags: K.setMergeTags,
2310
2316
  isDirty: () => l.state.isDirty,
2311
2317
  create: Z.create,
2312
2318
  load: Z.load,
2313
2319
  save: Z.save,
2314
- renderCustomBlock: G.registry.renderCustomBlock,
2315
- getCustomBlockStylesheet: (e) => G.registry.getDefinition(e)?.stylesheet
2320
+ renderCustomBlock: K.registry.renderCustomBlock,
2321
+ getCustomBlockStylesheet: (e) => K.registry.getDefinition(e)?.stylesheet
2316
2322
  }), (e, n) => (o(), y("div", {
2317
2323
  ref_key: "rootEl",
2318
2324
  ref: g,
2319
2325
  class: _(["tpl tpl:relative tpl:h-full", { "tpl:dark": m(l).state.darkMode }]),
2320
- "data-tpl-theme": m(G).resolvedTheme.value,
2321
- style: w(m(G).themeStyles.value),
2326
+ "data-tpl-theme": m(K).resolvedTheme.value,
2327
+ style: w(m(K).themeStyles.value),
2322
2328
  onDragover: n[8] ||= C(() => {}, ["prevent"]),
2323
2329
  onDrop: n[9] ||= C(() => {}, ["prevent"])
2324
2330
  }, [
2325
- h(Xn),
2326
- O("div", Bi, [
2327
- h(Qr, {
2331
+ h(tr),
2332
+ O("div", Gi, [
2333
+ h(ri, {
2328
2334
  editor: m(l),
2329
- core: m(G),
2335
+ core: m(K),
2330
2336
  templates: m(f),
2331
2337
  "show-template-name": t.config.templates?.nameField !== !1,
2332
2338
  "test-email": m(M),
2333
- "version-history": m(q),
2334
- comments: m(P)
2339
+ "version-history": m(J),
2340
+ comments: m(F)
2335
2341
  }, p({ _: 2 }, [m(u) ? {
2336
2342
  name: "left-extras",
2337
- fn: r(() => [h(m(B), {
2343
+ fn: r(() => [h(m(V), {
2338
2344
  part: "left",
2339
2345
  cloud: m(u)
2340
2346
  }, null, 8, ["cloud"])]),
2341
2347
  key: "0"
2342
2348
  } : void 0, m(u) ? {
2343
2349
  name: "right-extras",
2344
- fn: r(() => [h(m(B), {
2350
+ fn: r(() => [h(m(V), {
2345
2351
  part: "right",
2346
2352
  cloud: m(u)
2347
2353
  }, null, 8, ["cloud"])]),
@@ -2355,38 +2361,38 @@ var Qn = ["aria-label"], $n = {
2355
2361
  "version-history",
2356
2362
  "comments"
2357
2363
  ]),
2358
- d(h(or, null, null, 512), [[A, !m(l).state.previewMode]]),
2364
+ d(h(dr, null, null, 512), [[A, !m(l).state.previewMode]]),
2359
2365
  O("div", {
2360
- class: _(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", [Y.value, m(q)?.isPreviewing.value ? "tpl:top-[104px]" : "tpl:top-14"]]),
2366
+ class: _(["tpl-body tpl:absolute tpl:bottom-0 tpl:overflow-auto tpl:bg-[var(--tpl-canvas-bg)]", [X.value, m(J)?.isPreviewing.value ? "tpl:top-[104px]" : "tpl:top-14"]]),
2361
2367
  style: { transition: "all 300ms cubic-bezier(0.34, 1.56, 0.64, 1)" }
2362
- }, [O("div", Vi, [O("div", Hi, [h(E, { name: "tpl-preview-pill" }, {
2363
- default: r(() => [m(l).state.previewMode && !m(G).previewResolution.supersedesSamples.value ? (o(), y("div", Ui, [h(en, {
2364
- "sample-mode": m(G).mergeTagSampleMode.value,
2365
- onChange: n[0] ||= (e) => m(G).mergeTagSampleMode.value = e
2368
+ }, [O("div", Ki, [O("div", qi, [h(E, { name: "tpl-preview-pill" }, {
2369
+ default: r(() => [m(l).state.previewMode && !m(K).previewResolution.supersedesSamples.value ? (o(), y("div", Ji, [h(an, {
2370
+ "sample-mode": m(K).mergeTagSampleMode.value,
2371
+ onChange: n[0] ||= (e) => m(K).mergeTagSampleMode.value = e
2366
2372
  }, null, 8, ["sample-mode"])])) : b("", !0)]),
2367
2373
  _: 1
2368
2374
  }), h(E, { name: "tpl-preview-pill" }, {
2369
- default: r(() => [m(G).conditionPreview.hasHiddenBlocks.value && m(G).appliesConditionFilter.value ? (o(), y("button", {
2375
+ default: r(() => [m(K).conditionPreview.hasHiddenBlocks.value && m(K).appliesConditionFilter.value ? (o(), y("button", {
2370
2376
  key: 0,
2371
2377
  type: "button",
2372
- class: _([m(Wt), "tpl:shadow-[var(--tpl-shadow-md)]"]),
2378
+ class: _([m(Xt), "tpl:shadow-[var(--tpl-shadow-md)]"]),
2373
2379
  "data-testid": "restore-hidden-blocks",
2374
- onClick: n[1] ||= (e) => m(G).conditionPreview.reset()
2375
- }, [h(m(wt), {
2380
+ onClick: n[1] ||= (e) => m(K).conditionPreview.reset()
2381
+ }, [h(m(jt), {
2376
2382
  size: 16,
2377
2383
  "stroke-width": 2
2378
- }), I(" " + N(m(G).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : b("", !0)]),
2384
+ }), L(" " + N(m(K).t.blockSettings.restoreHiddenBlocks), 1)], 2)) : b("", !0)]),
2379
2385
  _: 1
2380
- })])]), O("main", Wi, [h(Yn, {
2386
+ })])]), O("main", Yi, [h(er, {
2381
2387
  viewport: m(l).state.viewport,
2382
- content: m(G).previewResolution.content.value,
2388
+ content: m(K).previewResolution.content.value,
2383
2389
  "selected-block-id": m(l).state.selectedBlockId,
2384
2390
  "dark-mode": m(l).state.darkMode,
2385
2391
  "preview-mode": m(l).state.previewMode,
2386
2392
  "locked-blocks": m(u)?.collaboration?.lockedBlocks.value,
2387
2393
  onSelectBlock: m(l).selectBlock,
2388
- onOpenAiChat: n[2] ||= (e) => ne("ai-chat"),
2389
- onOpenDesignReference: n[3] ||= (e) => ne("design-reference")
2394
+ onOpenAiChat: n[2] ||= (e) => te("ai-chat"),
2395
+ onOpenDesignReference: n[3] ||= (e) => te("design-reference")
2390
2396
  }, null, 8, [
2391
2397
  "viewport",
2392
2398
  "content",
@@ -2396,27 +2402,27 @@ var Qn = ["aria-label"], $n = {
2396
2402
  "locked-blocks",
2397
2403
  "onSelectBlock"
2398
2404
  ])])], 2),
2399
- t.config.branding === !1 ? b("", !0) : (o(), T(Ar, {
2405
+ t.config.branding === !1 ? b("", !0) : (o(), T(Fr, {
2400
2406
  key: 0,
2401
- "position-class": [Y.value]
2407
+ "position-class": [X.value]
2402
2408
  }, null, 8, ["position-class"])),
2403
2409
  O("div", {
2404
2410
  class: "tpl-sr-only",
2405
2411
  role: "status",
2406
2412
  "aria-live": "polite",
2407
2413
  "aria-atomic": "true",
2408
- "aria-label": m(G).t.landmarks.reorderAnnouncements
2409
- }, N(m(G).keyboardReorder.announcement.value), 9, Gi),
2410
- d(h(Cr, {
2414
+ "aria-label": m(K).t.landmarks.reorderAnnouncements
2415
+ }, N(m(K).keyboardReorder.announcement.value), 9, Xi),
2416
+ d(h(Or, {
2411
2417
  "selected-block": m(l).selectedBlock.value,
2412
2418
  settings: m(l).content.value.settings,
2413
- "shifted-left": J.value,
2419
+ "shifted-left": Y.value,
2414
2420
  onUpdateBlock: n[4] ||= (e) => m(l).updateBlock(m(l).state.selectedBlockId, e),
2415
2421
  onDeleteBlock: n[5] ||= () => {
2416
- m(l).state.selectedBlockId && m(G).blockActions.deleteBlock(m(l).state.selectedBlockId);
2422
+ m(l).state.selectedBlockId && m(K).blockActions.deleteBlock(m(l).state.selectedBlockId);
2417
2423
  },
2418
2424
  onDuplicateBlock: n[6] ||= () => {
2419
- m(l).selectedBlock.value && m(G).blockActions.duplicateBlock(m(l).selectedBlock.value);
2425
+ m(l).selectedBlock.value && m(K).blockActions.duplicateBlock(m(l).selectedBlock.value);
2420
2426
  },
2421
2427
  onUpdateSettings: n[7] ||= (e) => m(l).updateSettings(e)
2422
2428
  }, null, 8, [
@@ -2426,11 +2432,11 @@ var Qn = ["aria-label"], $n = {
2426
2432
  ]), [[A, !m(l).state.previewMode]])
2427
2433
  ]),
2428
2434
  O("div", {
2429
- ref: (e) => m(G).popoverRoot.value = e,
2435
+ ref: (e) => m(K).popoverRoot.value = e,
2430
2436
  class: "tpl-popover-root"
2431
2437
  }, null, 512),
2432
- h(_i),
2433
- h(Ri),
2438
+ h(Si),
2439
+ h(Ui),
2434
2440
  m(S)?.isAvailable.value ? (o(), T(m(D), {
2435
2441
  key: 0,
2436
2442
  feature: m(S)
@@ -2440,8 +2446,8 @@ var Qn = ["aria-label"], $n = {
2440
2446
  feature: m(k),
2441
2447
  provider: t.config.media,
2442
2448
  locale: t.config.locale,
2443
- "ui-theme": m(G).resolvedTheme.value,
2444
- "popover-target": m(G).popoverRoot.value
2449
+ "ui-theme": m(K).resolvedTheme.value,
2450
+ "popover-target": m(K).popoverRoot.value
2445
2451
  }, null, 8, [
2446
2452
  "feature",
2447
2453
  "provider",
@@ -2449,25 +2455,25 @@ var Qn = ["aria-label"], $n = {
2449
2455
  "ui-theme",
2450
2456
  "popover-target"
2451
2457
  ])) : b("", !0),
2452
- m(M)?.isAvailable.value ? (o(), T(m(ee), {
2458
+ m(M)?.isAvailable.value ? (o(), T(m(P), {
2453
2459
  key: 2,
2454
2460
  feature: m(M)
2455
2461
  }, null, 8, ["feature"])) : b("", !0),
2456
- m(P)?.isAvailable.value ? (o(), T(m(R), {
2462
+ m(F)?.isAvailable.value ? (o(), T(m(z), {
2457
2463
  key: 3,
2458
- feature: m(P)
2464
+ feature: m(F)
2459
2465
  }, null, 8, ["feature"])) : b("", !0),
2460
- m(q)?.isAvailable.value ? (o(), T(m(te), {
2466
+ m(J)?.isAvailable.value ? (o(), T(m(ee), {
2461
2467
  key: 4,
2462
- feature: m(q)
2468
+ feature: m(J)
2463
2469
  }, null, 8, ["feature"])) : b("", !0),
2464
- t.cloud && m(u) && m(K) ? (o(), T(m(z), {
2470
+ t.cloud && m(u) && m(q) ? (o(), T(m(B), {
2465
2471
  key: 5,
2466
2472
  editor: m(l),
2467
- core: m(G),
2473
+ core: m(K),
2468
2474
  runtime: t.cloud,
2469
2475
  cloud: m(u),
2470
- ready: m(K)
2476
+ ready: m(q)
2471
2477
  }, null, 8, [
2472
2478
  "editor",
2473
2479
  "core",
@@ -2475,29 +2481,32 @@ var Qn = ["aria-label"], $n = {
2475
2481
  "cloud",
2476
2482
  "ready"
2477
2483
  ])) : b("", !0),
2478
- m(X) ? (o(), T(Or, { key: 6 })) : b("", !0)
2479
- ], 46, zi));
2484
+ m(ne) ? (o(), T(Nr, { key: 6 })) : b("", !0)
2485
+ ], 46, Wi));
2480
2486
  }
2481
- }), [["__scopeId", "data-v-e77200ef"]]), qi = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
2482
- function Ji(e) {
2483
- return e.replace(qi, "");
2487
+ }), [["__scopeId", "data-v-e77200ef"]]), Qi = /@import\s*(?:url\(\s*(?:"[^"]*"|'[^']*'|[^)]*)\s*\)|"[^"]*"|'[^']*')[^;]*;/g;
2488
+ function $i(e) {
2489
+ return e.replace(Qi, "");
2484
2490
  }
2485
2491
  //#endregion
2486
2492
  //#region src/utils/renderProvider.ts
2487
- function Yi(e) {
2493
+ function ea(e) {
2488
2494
  return {
2489
2495
  customFonts: e.customFonts.value,
2490
2496
  defaultFallback: e.defaultFallback.value
2491
2497
  };
2492
2498
  }
2493
- async function Xi(e) {
2494
- let t = W(e.getContent()), n = e.getLayout?.(), r = n ? V(n, t) : t;
2495
- return n || (z(r), R(r)), await an(r, { renderCustomBlock: e.renderCustomBlock }), {
2499
+ async function ta(e) {
2500
+ let t = G(e.getContent()), n = e.getLayout?.(), r = n ? H(n, t) : t;
2501
+ return n || (B(r), z(r)), await ln(r, {
2502
+ renderCustomBlock: e.renderCustomBlock,
2503
+ getCustomBlockStylesheet: e.getCustomBlockStylesheet
2504
+ }), {
2496
2505
  content: r,
2497
2506
  fonts: e.getFonts()
2498
2507
  };
2499
2508
  }
2500
- function Zi(e) {
2509
+ function na(e) {
2501
2510
  async function t() {
2502
2511
  let t = e.provider, n = t?.toMjml?.bind(t);
2503
2512
  return n ? n(await e.buildPayload()) : e.renderLocalMjml();
@@ -2520,65 +2529,65 @@ function Zi(e) {
2520
2529
  }
2521
2530
  //#endregion
2522
2531
  //#region \0virtual:editor-css
2523
- var Qi = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-e61f3b63]{height:3px;width:100%;border-radius:9999px;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 15%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 30%,var(--tpl-primary) 50%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 70%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 85%,transparent 100%);background-size:200% 100%;animation:tpl-loading-flow-e61f3b63 3s ease-in-out infinite}@keyframes tpl-loading-flow-e61f3b63{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track[data-v-e61f3b63]{animation:none;background-position:50% 0}}.tpl-block--idle[data-v-2c239048]{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-2c239048]: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-2c239048]{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-2c239048]{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-2c239048]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-2c239048]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-2c239048]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-2c239048]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-2c239048]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-2c239048]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-2c239048]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.tpl-table-editable[data-v-963ac422] th[contenteditable],.tpl-table-editable[data-v-963ac422] td[contenteditable]{outline:none;cursor:text;min-width:calc(2 * var(--tpl-base-size))}.tpl-table-editable[data-v-963ac422] th[contenteditable]:empty:before,.tpl-table-editable[data-v-963ac422] td[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--tpl-text-dim);pointer-events:none}.tpl-table-editable[data-v-963ac422] th[contenteditable]:focus,.tpl-table-editable[data-v-963ac422] td[contenteditable]:focus{outline:2px solid var(--tpl-primary);outline-offset:-2px;border-radius:1px}.tpl-canvas--dark-mode[data-v-04a5cab0] .tpl-block-content:not(.tpl-block-content *){filter:invert(1) hue-rotate(180deg)}[data-v-04a5cab0] .tpl-block-content{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-04a5cab0] .tpl-block-content img{filter:invert(1) hue-rotate(180deg)}.tpl-icon-enter-active[data-v-632aa74f],.tpl-icon-leave-active[data-v-632aa74f]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-632aa74f],.tpl-icon-leave-to[data-v-632aa74f]{opacity:0;transform:scale(.8)}.tpl-dark-mode-toggle[data-v-632aa74f]:hover{background-color:var(--tpl-bg-hover)}.tpl-dark-mode-toggle[data-v-632aa74f]:active{transform:scale(.92)}.tpl-icon-enter-active[data-v-eef7b2ca],.tpl-icon-leave-active[data-v-eef7b2ca]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-eef7b2ca],.tpl-icon-leave-to[data-v-eef7b2ca]{opacity:0;transform:scale(.8)}.tpl-preview-toggle[data-v-eef7b2ca]:hover{background-color:var(--tpl-bg-hover)}.tpl-preview-toggle[data-v-eef7b2ca]:active{transform:scale(.92)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tpl-comet-angle:0deg;--tpl-comet-start:100%}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:pointer-events-auto{pointer-events:auto}.tpl\\:pointer-events-none{pointer-events:none}.tpl\\:invisible{visibility:hidden}.tpl\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl\\:absolute{position:absolute}.tpl\\:fixed{position:fixed}.tpl\\:relative{position:relative}.tpl\\:sticky{position:sticky}.tpl\\:inset-0{inset:0}.tpl\\:inset-x-0{inset-inline:0}.tpl\\:inset-y-1{inset-block:calc(var(--tpl-base-size) / 4)}.tpl\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-\\[104px\\]{top:104px}.tpl\\:top-full{top:100%}.tpl\\:-right-1{right:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-right-2{right:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:z-10{z-index:10}.tpl\\:z-40{z-index:40}.tpl\\:z-50{z-index:50}.tpl\\:z-\\[4\\]{z-index:4}.tpl\\:z-\\[5\\]{z-index:5}.tpl\\:z-\\[60\\]{z-index:60}.tpl\\:z-\\[100\\]{z-index:100}.tpl\\:m-0{margin:0}.tpl\\:m-6{margin:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-0\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mx-1{margin-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:mx-1\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mx-3{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mx-4{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mx-6{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-auto{margin-inline:auto}.tpl\\:mt-0\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mt-1{margin-top:calc(var(--tpl-base-size) / 4)}.tpl\\:mt-1\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mt-2{margin-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-3{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mt-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:\\!mb-0{margin-bottom:0!important}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-48{margin-left:calc(calc(var(--tpl-base-size) / 4) * -48)}.tpl\\:ml-0{margin-left:0}.tpl\\:ml-0\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:ml-1{margin-left:calc(var(--tpl-base-size) / 4)}.tpl\\:ml-5{margin-left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:ml-auto{margin-left:auto}.tpl\\:line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.tpl\\:\\!flex{display:flex!important}.tpl\\:block{display:block}.tpl\\:flex{display:flex}.tpl\\:grid{display:grid}.tpl\\:hidden{display:none}.tpl\\:inline{display:inline}.tpl\\:inline-block{display:inline-block}.tpl\\:inline-flex{display:inline-flex}.tpl\\:aspect-square{aspect-ratio:1}.tpl\\:size-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5);height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:size-2{width:calc(calc(var(--tpl-base-size) / 4) * 2);height:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:size-3{width:calc(calc(var(--tpl-base-size) / 4) * 3);height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:size-4{width:calc(calc(var(--tpl-base-size) / 4) * 4);height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:size-4\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 4.5);height:calc(calc(var(--tpl-base-size) / 4) * 4.5)}.tpl\\:size-5{width:calc(calc(var(--tpl-base-size) / 4) * 5);height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:size-6{width:calc(calc(var(--tpl-base-size) / 4) * 6);height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:size-7{width:calc(calc(var(--tpl-base-size) / 4) * 7);height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:size-8{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:size-10{width:calc(calc(var(--tpl-base-size) / 4) * 10);height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:size-16{width:calc(calc(var(--tpl-base-size) / 4) * 16);height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:size-full{width:100%;height:100%}.tpl\\:h-0{height:0}.tpl\\:h-2\\.5{height:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:h-3{height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:h-4{height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:h-5{height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:h-6{height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:h-7{height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:h-8{height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:h-9{height:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:h-10{height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:h-12{height:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:h-14{height:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:h-16{height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:h-32{height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:h-44{height:calc(calc(var(--tpl-base-size) / 4) * 44)}.tpl\\:h-\\[32px\\]{height:32px}.tpl\\:h-auto{height:auto}.tpl\\:h-full{height:100%}.tpl\\:max-h-24{max-height:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:max-h-32{max-height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:max-h-48{max-height:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:max-h-56{max-height:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:max-h-64{max-height:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:max-h-\\[50vh\\]{max-height:50vh}.tpl\\:max-h-\\[60vh\\]{max-height:60vh}.tpl\\:max-h-\\[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-\\[1\\.5em\\]{min-height:1.5em}.tpl\\:min-h-\\[1em\\]{min-height:1em}.tpl\\:min-h-\\[34px\\]{min-height:34px}.tpl\\:min-h-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[64px\\]{min-height:64px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.tpl\\:min-h-\\[72px\\]{min-height:72px}.tpl\\:min-h-\\[80px\\]{min-height:80px}.tpl\\:min-h-\\[100px\\]{min-height:100px}.tpl\\:min-h-\\[120px\\]{min-height:120px}.tpl\\:min-h-\\[150px\\]{min-height:150px}.tpl\\:min-h-\\[400px\\]{min-height:400px}.tpl\\:w-1\\/2{width:50%}.tpl\\:w-1\\/3{width:33.3333%}.tpl\\:w-1\\/4{width:25%}.tpl\\:w-2\\/3{width:66.6667%}.tpl\\:w-3\\/4{width:75%}.tpl\\:w-5\\/6{width:83.3333%}.tpl\\:w-7{width:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:w-8{width:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:w-9{width:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:w-10{width:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:w-12{width:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:w-16{width:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:w-20{width:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:w-28{width:calc(calc(var(--tpl-base-size) / 4) * 28)}.tpl\\:w-32{width:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:w-36{width:calc(calc(var(--tpl-base-size) / 4) * 36)}.tpl\\:w-40{width:calc(calc(var(--tpl-base-size) / 4) * 40)}.tpl\\:w-48{width:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:w-52{width:calc(calc(var(--tpl-base-size) / 4) * 52)}.tpl\\:w-56{width:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-\\[280px\\]{width:280px}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.tpl\\:w-\\[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\\:origin-top-right{transform-origin:100% 0}.tpl\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-\\[-8px\\]{--tw-translate-y:-8px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:-rotate-90{rotate:-90deg}.tpl\\:rotate-0{rotate:0deg}.tpl\\:rotate-45{rotate:45deg}.tpl\\:rotate-90{rotate:90deg}.tpl\\:rotate-180{rotate:180deg}.tpl\\:animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.tpl\\:animate-spin{animation:1s linear infinite spin}.tpl\\:cursor-default{cursor:default}.tpl\\:cursor-grab{cursor:grab}.tpl\\:cursor-help{cursor:help}.tpl\\:cursor-not-allowed{cursor:not-allowed}.tpl\\:cursor-pointer{cursor:pointer}.tpl\\:resize-none{resize:none}.tpl\\:resize-y{resize:vertical}.tpl\\:list-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tpl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.tpl\\:grid-cols-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 1fr}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-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)))}.tpl\\:gap-x-1{column-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-x-3{column-gap:calc(calc(var(--tpl-base-size) / 4) * 3)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:3.40282e38px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:calc(.75 * var(--tpl-base-size))}.tpl\\:rounded-l-\\[var\\(--tpl-radius-sm\\)\\]{border-top-left-radius:var(--tpl-radius-sm);border-bottom-left-radius:var(--tpl-radius-sm)}.tpl\\:rounded-tl-lg{border-top-left-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-r-\\[var\\(--tpl-radius-sm\\)\\]{border-top-right-radius:var(--tpl-radius-sm);border-bottom-right-radius:var(--tpl-radius-sm)}.tpl\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.tpl\\:border{border-style:var(--tw-border-style);border-width:1px}.tpl\\:border-0{border-style:var(--tw-border-style);border-width:0}.tpl\\:border-2{border-style:var(--tw-border-style);border-width:2px}.tpl\\:border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.tpl\\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.tpl\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.tpl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.tpl\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.tpl\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tpl\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.tpl\\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.tpl\\:border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.tpl\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.tpl\\:border-none{--tw-border-style:none;border-style:none}.tpl\\:border-\\[var\\(--tpl-bg\\)\\]{border-color:var(--tpl-bg)}.tpl\\:border-\\[var\\(--tpl-border\\)\\]{border-color:var(--tpl-border)}.tpl\\:border-\\[var\\(--tpl-border-light\\)\\]{border-color:var(--tpl-border-light)}.tpl\\:border-\\[var\\(--tpl-danger\\)\\]{border-color:var(--tpl-danger)}.tpl\\:border-\\[var\\(--tpl-primary\\)\\]{border-color:var(--tpl-primary)}.tpl\\:border-\\[var\\(--tpl-primary-hover\\)\\]{border-color:var(--tpl-primary-hover)}.tpl\\:border-\\[var\\(--tpl-warning\\)\\]{border-color:var(--tpl-warning)}.tpl\\:border-transparent{border-color:#0000}.tpl\\:border-l-\\[var\\(--tpl-primary\\)\\]{border-left-color:var(--tpl-primary)}.tpl\\:border-l-transparent{border-left-color:#0000}.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:var(--tpl-bg)}@supports (color:color-mix(in lab,red,red)){.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:color-mix(in srgb,var(--tpl-bg) 90%,transparent)}}.tpl\\:bg-\\[var\\(--tpl-bg\\)\\]{background-color:var(--tpl-bg)}.tpl\\:bg-\\[var\\(--tpl-bg-active\\)\\]{background-color:var(--tpl-bg-active)}.tpl\\:bg-\\[var\\(--tpl-bg-elevated\\)\\]{background-color:var(--tpl-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-bg-hover\\)\\]{background-color:var(--tpl-bg-hover)}.tpl\\:bg-\\[var\\(--tpl-border\\)\\]{background-color:var(--tpl-border)}.tpl\\:bg-\\[var\\(--tpl-canvas-bg\\)\\]{background-color:var(--tpl-canvas-bg)}.tpl\\:bg-\\[var\\(--tpl-chrome-bg-elevated\\)\\]{background-color:var(--tpl-chrome-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-chrome-primary-light\\)\\]{background-color:var(--tpl-chrome-primary-light)}.tpl\\:bg-\\[var\\(--tpl-danger\\)\\]{background-color:var(--tpl-danger)}.tpl\\:bg-\\[var\\(--tpl-danger-light\\)\\]{background-color:var(--tpl-danger-light)}.tpl\\:bg-\\[var\\(--tpl-primary\\)\\]{background-color:var(--tpl-primary)}.tpl\\:bg-\\[var\\(--tpl-primary-light\\)\\]{background-color:var(--tpl-primary-light)}.tpl\\:bg-\\[var\\(--tpl-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-1{padding-top:calc(var(--tpl-base-size) / 4)}.tpl\\:pt-2{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pt-2\\.5{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pt-3{padding-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pt-4{padding-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-2{padding-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pr-3{padding-right:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pr-4{padding-right:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-7{padding-right:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:pr-8{padding-right:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pb-1{padding-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:pb-1\\.5{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:pb-2{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pb-3{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pb-4{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-2\\.5{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pl-3{padding-left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pl-4{padding-left:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-8{padding-left:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pl-9{padding-left:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:pl-\\[18px\\]{padding-left:18px}.tpl\\:text-center{text-align:center}.tpl\\:text-left{text-align:left}.tpl\\:font-\\[inherit\\]{font-family:inherit}.tpl\\:font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tpl\\:font-sans{font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tpl\\:text-4xl{font-size:calc(2.25 * var(--tpl-base-size));line-height:var(--tw-leading,calc(2.5 / 2.25))}.tpl\\:text-base{font-size:var(--tpl-base-size);line-height:var(--tw-leading, 1.5 )}.tpl\\:text-lg{font-size:calc(1.125 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.75 / 1.125))}.tpl\\: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-none{--tw-leading:1;line-height:1}.tpl\\:leading-normal{--tw-leading:1.5;line-height:1.5}.tpl\\:leading-relaxed{--tw-leading:1.625;line-height:1.625}.tpl\\:leading-snug{--tw-leading:1.375;line-height:1.375}.tpl\\:leading-tight{--tw-leading:1.25;line-height:1.25}.tpl\\:font-\\[var\\(--tpl-font-family\\)\\]{--tw-font-weight:var(--tpl-font-family);font-weight:var(--tpl-font-family)}.tpl\\:font-bold{--tw-font-weight:700;font-weight:700}.tpl\\:font-medium{--tw-font-weight:500;font-weight:500}.tpl\\:font-normal{--tw-font-weight:400;font-weight:400}.tpl\\:font-semibold{--tw-font-weight:600;font-weight:600}.tpl\\:tracking-wide{--tw-tracking:.025em;letter-spacing:.025em}.tpl\\:tracking-wider{--tw-tracking:.05em;letter-spacing:.05em}.tpl\\:break-words{overflow-wrap:break-word}.tpl\\:break-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-nowrap{white-space:nowrap}.tpl\\:whitespace-pre-wrap{white-space:pre-wrap}.tpl\\:text-\\[var\\(--tpl-bg\\)\\]{color:var(--tpl-bg)}.tpl\\:text-\\[var\\(--tpl-border-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text-dim\\)\\]{color:var(--tpl-chrome-text-dim)}.tpl\\:text-\\[var\\(--tpl-chrome-text-muted\\)\\]{color:var(--tpl-chrome-text-muted)}.tpl\\:text-\\[var\\(--tpl-danger\\)\\]{color:var(--tpl-danger)}.tpl\\:text-\\[var\\(--tpl-on-primary\\)\\]{color:var(--tpl-on-primary)}.tpl\\:text-\\[var\\(--tpl-primary\\)\\]{color:var(--tpl-primary)}.tpl\\:text-\\[var\\(--tpl-primary-hover\\)\\]{color:var(--tpl-primary-hover)}.tpl\\:text-\\[var\\(--tpl-success\\)\\]{color:var(--tpl-success)}.tpl\\:text-\\[var\\(--tpl-success\\,var\\(--tpl-primary\\)\\)\\]{color:var(--tpl-success,var(--tpl-primary))}.tpl\\:text-\\[var\\(--tpl-text\\)\\]{color:var(--tpl-text)}.tpl\\:text-\\[var\\(--tpl-text-dim\\)\\]{color:var(--tpl-text-dim)}.tpl\\:text-\\[var\\(--tpl-text-muted\\)\\]{color:var(--tpl-text-muted)}.tpl\\:text-\\[var\\(--tpl-warning\\)\\]{color:var(--tpl-warning)}.tpl\\:normal-case{text-transform:none}.tpl\\:uppercase{text-transform:uppercase}.tpl\\:italic{font-style:italic}.tpl\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tpl\\:no-underline{text-decoration-line:none}.tpl\\:underline{text-decoration-line:underline}.tpl\\:accent-\\[var\\(--tpl-primary\\)\\]{accent-color:var(--tpl-primary)}.tpl\\:opacity-0{opacity:0}.tpl\\:opacity-50{opacity:.5}.tpl\\:opacity-60{opacity:.6}.tpl\\:opacity-70{opacity:.7}.tpl\\:opacity-90{opacity:.9}.tpl\\:opacity-100{opacity:1}.tpl\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-ring\\)\\]{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow\\)\\]{--tw-shadow:var(--tpl-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-lg\\)\\]{--tw-shadow:var(--tpl-shadow-lg);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-\\[var\\(--tpl-border\\)\\]{--tw-ring-color:var(--tpl-border)}.tpl\\:ring-\\[var\\(--tpl-primary\\)\\]{--tw-ring-color:var(--tpl-primary)}.tpl\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.tpl\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.tpl\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.tpl\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.tpl\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.tpl\\:duration-\\[80ms\\]{--tw-duration:80ms;transition-duration:80ms}.tpl\\:duration-\\[120ms\\]{--tw-duration:.12s;transition-duration:.12s}.tpl\\:ease-\\[cubic-bezier\\(0\\.16\\,1\\,0\\.3\\,1\\)\\]{--tw-ease:cubic-bezier(.16,1,.3,1);transition-timing-function:cubic-bezier(.16,1,.3,1)}.tpl\\:ease-in{--tw-ease:cubic-bezier(.4, 0, 1, 1);transition-timing-function:cubic-bezier(.4,0,1,1)}.tpl\\:ease-out{--tw-ease:cubic-bezier(0, 0, .2, 1);transition-timing-function:cubic-bezier(0,0,.2,1)}.tpl\\:outline-none{--tw-outline-style:none;outline-style:none}.tpl\\:select-none{-webkit-user-select:none;user-select:none}.tpl\\:group-focus-within\\:opacity-100:is(:where(.tpl\\:group):focus-within *){opacity:1}@media(hover:hover){.tpl\\:group-hover\\:bg-black\\/40:is(:where(.tpl\\:group):hover *){background-color:oklab(0% none none/.4)}.tpl\\:group-hover\\:opacity-100:is(:where(.tpl\\:group):hover *){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\:first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.tpl\\:last\\:mb-0:last-child{margin-bottom:0}@media(hover:hover){.tpl\\:hover\\:z-10:hover{z-index:10}.tpl\\:hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:border-\\[var\\(--tpl-border\\)\\]:hover{border-color:var(--tpl-border)}.tpl\\:hover\\:border-\\[var\\(--tpl-danger\\)\\]:hover{border-color:var(--tpl-danger)}.tpl\\:hover\\:border-\\[var\\(--tpl-primary\\)\\]:hover{border-color:var(--tpl-primary)}.tpl\\:hover\\:border-\\[var\\(--tpl-text-dim\\)\\]:hover{border-color:var(--tpl-text-dim)}.tpl\\:hover\\:border-l-\\[var\\(--tpl-primary\\)\\]:hover{border-left-color:var(--tpl-primary)}.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:var(--tpl-text)}@supports (color:color-mix(in lab,red,red)){.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:color-mix(in srgb,var(--tpl-text) 8%,transparent)}}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-active\\)\\]:hover{background-color:var(--tpl-bg-active)}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-hover\\)\\]:hover{background-color:var(--tpl-bg-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-danger-light\\)\\]:hover{background-color:var(--tpl-danger-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-hover\\)\\]:hover{background-color:var(--tpl-primary-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-light\\)\\]:hover{background-color:var(--tpl-primary-light)}.tpl\\:hover\\: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-none:focus-visible{--tw-outline-style:none;outline-style:none}.tpl\\:active\\:cursor-grabbing:active{cursor:grabbing}.tpl\\:active\\:bg-\\[var\\(--tpl-bg-active\\)\\]:active{background-color:var(--tpl-bg-active)}.tpl\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.tpl\\:disabled\\:opacity-30:disabled{opacity:.3}.tpl\\:disabled\\:opacity-40:disabled{opacity:.4}.tpl\\:disabled\\:opacity-50:disabled{opacity:.5}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}.tpl\\:\\[\\&_p\\]\\:mb-2 p{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}@layer base,components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:var(--tpl-user-bg,oklch(99.5% .002 60));--tpl-bg-elevated:var(--tpl-user-bg-elevated,oklch(98% .004 60));--tpl-bg-hover:var(--tpl-user-bg-hover,oklch(96% .006 60));--tpl-bg-active:var(--tpl-user-bg-active,oklch(93.5% .008 60));--tpl-border:var(--tpl-user-border,oklch(92% .006 60));--tpl-border-light:var(--tpl-user-border-light,oklch(86% .01 60));--tpl-text:var(--tpl-user-text,oklch(18% .01 60));--tpl-text-muted:var(--tpl-user-text-muted,oklch(50% .015 60));--tpl-text-dim:var(--tpl-user-text-dim,oklch(68% .012 60));--tpl-primary:var(--tpl-user-primary,oklch(70% .16 55));--tpl-primary-hover:var(--tpl-user-primary-hover,oklch(63% .17 55));--tpl-primary-light:var(--tpl-user-primary-light,oklch(95% .04 55));--tpl-on-primary:var(--tpl-user-on-primary,var(--tpl-bg));--tpl-secondary:var(--tpl-user-secondary,oklch(60% .118 184.71));--tpl-secondary-hover:var(--tpl-user-secondary-hover,oklch(53.2% .105 186.39));--tpl-secondary-light:var(--tpl-user-secondary-light,oklch(93.8% .03 186.82));--tpl-success:var(--tpl-user-success,oklch(62.8% .194 155.1));--tpl-success-light:var(--tpl-user-success-light,oklch(93.6% .043 163.51));--tpl-warning:var(--tpl-user-warning,oklch(76.9% .168 70.08));--tpl-warning-light:var(--tpl-user-warning-light,oklch(95% .038 73.59));--tpl-danger:var(--tpl-user-danger,oklch(63.7% .237 25.33));--tpl-danger-light:var(--tpl-user-danger-light,oklch(93.6% .032 17.72));--tpl-canvas-bg:var(--tpl-user-canvas-bg,oklch(97.5% .003 60));--tpl-chrome-bg-elevated:var(--tpl-bg-elevated);--tpl-chrome-border-light:var(--tpl-border-light);--tpl-chrome-text:var(--tpl-text);--tpl-chrome-text-muted:var(--tpl-text-muted);--tpl-chrome-text-dim:var(--tpl-text-dim);--tpl-chrome-primary-light:var(--tpl-primary-light);--tpl-chrome-primary-hover:var(--tpl-primary-hover);--tpl-radius:var(--tpl-user-radius,10px);--tpl-radius-sm:var(--tpl-user-radius-sm,7px);--tpl-radius-lg:var(--tpl-user-radius-lg,14px);--tpl-font-family:var(--tpl-user-font-family,\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");--tpl-shadow-sm:var(--tpl-user-shadow-sm,0 1px 2px #00000008);--tpl-shadow:var(--tpl-user-shadow,0 1px 2px #0000000a, 0 1px 3px #00000008);--tpl-shadow-md:var(--tpl-user-shadow-md,0 2px 8px #0000000f, 0 1px 3px #0000000a);--tpl-shadow-lg:var(--tpl-user-shadow-lg,0 4px 16px #00000014, 0 2px 6px #0000000a);--tpl-shadow-xl:var(--tpl-user-shadow-xl,0 8px 32px #0000001a, 0 4px 12px #0000000f);--tpl-overlay:var(--tpl-user-overlay,#00000080);--tpl-ring:var(--tpl-user-ring,0 0 0 3px var(--tpl-primary-light));--tpl-transition:var(--tpl-user-transition,.12s cubic-bezier(.16, 1, .3, 1))}.tpl[data-tpl-theme=dark]{--tpl-bg:var(--tpl-user-dark-bg,oklch(16% .005 60));--tpl-bg-elevated:var(--tpl-user-dark-bg-elevated,oklch(21% .006 60));--tpl-bg-hover:var(--tpl-user-dark-bg-hover,oklch(26% .007 60));--tpl-bg-active:var(--tpl-user-dark-bg-active,oklch(30% .008 60));--tpl-border:var(--tpl-user-dark-border,oklch(30% .006 60));--tpl-border-light:var(--tpl-user-dark-border-light,oklch(38% .008 60));--tpl-text:var(--tpl-user-dark-text,oklch(93% .005 60));--tpl-text-muted:var(--tpl-user-dark-text-muted,oklch(65% .01 60));--tpl-text-dim:var(--tpl-user-dark-text-dim,oklch(50% .008 60));--tpl-primary:var(--tpl-user-dark-primary,oklch(73% .15 55));--tpl-primary-hover:var(--tpl-user-dark-primary-hover,oklch(78% .14 55));--tpl-primary-light:var(--tpl-user-dark-primary-light,oklch(28% .05 55));--tpl-secondary:var(--tpl-user-dark-secondary,oklch(63% .11 184.71));--tpl-secondary-hover:var(--tpl-user-dark-secondary-hover,oklch(68% .1 186.39));--tpl-secondary-light:var(--tpl-user-dark-secondary-light,oklch(25% .03 186.82));--tpl-success:var(--tpl-user-dark-success,oklch(65% .18 155.1));--tpl-success-light:var(--tpl-user-dark-success-light,oklch(25% .04 163.51));--tpl-warning:var(--tpl-user-dark-warning,oklch(78% .16 70.08));--tpl-warning-light:var(--tpl-user-dark-warning-light,oklch(28% .04 73.59));--tpl-danger:var(--tpl-user-dark-danger,oklch(65% .22 25.33));--tpl-danger-light:var(--tpl-user-dark-danger-light,oklch(25% .04 17.72));--tpl-canvas-bg:var(--tpl-user-dark-canvas-bg,oklch(10% .003 60));--tpl-shadow-sm:var(--tpl-user-dark-shadow-sm,0 1px 2px #0003);--tpl-shadow:var(--tpl-user-dark-shadow,0 1px 2px #0000004d, 0 1px 3px #0003);--tpl-shadow-md:var(--tpl-user-dark-shadow-md,0 2px 8px #00000059, 0 1px 3px #00000040);--tpl-shadow-lg:var(--tpl-user-dark-shadow-lg,0 4px 16px #0006, 0 2px 6px #0000004d);--tpl-shadow-xl:var(--tpl-user-dark-shadow-xl,0 8px 32px #00000080, 0 4px 12px #00000059);--tpl-overlay:var(--tpl-user-dark-overlay,#000000b3);--tpl-ring:var(--tpl-user-dark-ring,0 0 0 3px var(--tpl-primary-light))}.tpl[data-tpl-theme=dark] .tpl-block-content,.tpl[data-tpl-theme=dark] .tpl-canvas-empty{--tpl-bg-elevated:oklch(98% .004 60);--tpl-border-light:oklch(86% .01 60);--tpl-text:oklch(18% .01 60);--tpl-text-muted:oklch(50% .015 60);--tpl-text-dim:oklch(68% .012 60);--tpl-primary-light:oklch(95% .04 55);--tpl-primary-hover:oklch(60% .16 55);color:var(--tpl-text)}.tpl{height:100%;font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875));--tw-leading:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--tpl-bg);min-height:320px;color:var(--tpl-text);line-height:1.5;font-family:var(--tpl-font-family);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:normal;cursor:auto;font-variant-numeric:normal;text-shadow:none;flex-direction:column;font-style:normal;font-weight:400;list-style-type:disc;display:flex}:where(.tpl) button,:where(.tpl) input,:where(.tpl) select,:where(.tpl) textarea{box-sizing:border-box;font-family:inherit}:where(.tpl) button{cursor:pointer;background:0 0;border:none;margin:0;padding:0}:where(.tpl) button:focus-visible,:where(.tpl) input:focus-visible,:where(.tpl) select:focus-visible,:where(.tpl) textarea:focus-visible{box-shadow:var(--tpl-ring);outline:none}:where(.tpl) .tpl-focus-ring-host:focus-within :is(input,select,textarea):focus-visible{box-shadow:none}.tpl ::-webkit-scrollbar{width:6px;height:6px}.tpl ::-webkit-scrollbar-track{background:0 0}.tpl ::-webkit-scrollbar-thumb{background-color:var(--tpl-border-light)}@supports (color:color-mix(in lab,red,red)){.tpl ::-webkit-scrollbar-thumb{background-color:color-mix(in srgb,var(--tpl-border-light) 60%,transparent)}}.tpl ::-webkit-scrollbar-thumb{border-radius:calc(.25 * var(--tpl-base-size))}.tpl ::-webkit-scrollbar-thumb:hover{background-color:var(--tpl-border-light)}@keyframes tpl-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes tpl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tpl-popover-root{z-index:10000;position:relative}.tpl-merge-tag-label{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}@supports (color:color-mix(in lab,red,red)){.tpl-merge-tag-label{-webkit-text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)}}.tpl-merge-tag-label{unicode-bidi:isolate}.tpl-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes tpl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.tpl-fade-in{animation:.2s cubic-bezier(.16,1,.3,1) tpl-fade-in}.tpl-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-in}.tpl-shimmer{background:linear-gradient(90deg,var(--tpl-bg-hover) 25%,var(--tpl-bg-active) 50%,var(--tpl-bg-hover) 75%);background-size:200% 100%;animation:1.5s linear infinite tpl-shimmer}.tpl-preview-mode .tpl-block--idle,.tpl-preview-mode .tpl-block--idle:hover,.tpl-preview-mode .tpl-block--selected{box-shadow:none!important;outline:none!important}.tpl-preview-mode .tpl-block{cursor:default;pointer-events:none}.tpl-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));border-style:var(--tw-border-style);--tw-border-style:dashed;padding:calc(calc(var(--tpl-base-size) / 4) * 2);border-style:dashed;border-width:1px;border-color:var(--tpl-primary);min-height:1.5em}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0 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}@property --tpl-comet-angle{syntax:\"<angle>\";inherits:false;initial-value:0deg}@property --tpl-comet-start{syntax:\"<percentage>\";inherits:false;initial-value:100%}@keyframes tpl-ai-comet{0%{--tpl-comet-angle:0deg;--tpl-comet-start:100%}1%{--tpl-comet-angle:24deg;--tpl-comet-start:88%}5%{--tpl-comet-angle:120deg;--tpl-comet-start:60%}25%{--tpl-comet-angle:600deg;--tpl-comet-start:60%}33%{--tpl-comet-angle:720deg;--tpl-comet-start:100%}to{--tpl-comet-angle:720deg;--tpl-comet-start:100%}}.tpl-ai-btn--idle{background-color:var(--tpl-primary-light);color:var(--tpl-text);box-shadow:none;z-index:0;position:relative}.tpl-ai-btn--idle:before{content:\"\";border-radius:inherit;background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),var(--tpl-primary) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%);padding:2px;position:absolute;inset:-2px}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:before{background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),color-mix(in srgb,var(--tpl-primary) 40%,transparent) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%)}}.tpl-ai-btn--idle:before{z-index:-1;pointer-events:none;animation:20s linear 3s infinite tpl-ai-comet;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.tpl-ai-btn--idle:hover{background-color:var(--tpl-primary);color:var(--tpl-on-primary);transform:translateY(-1px);box-shadow:0 0 0 3px var(--tpl-primary),0 4px 16px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-primary) 20%,transparent),0 4px 16px color-mix(in srgb,var(--tpl-primary) 30%,transparent)!important}}.tpl-ai-btn--idle:hover:before{animation:none}.tpl-ai-btn--active{background-color:var(--tpl-primary-light);color:var(--tpl-primary-hover);border:1px solid var(--tpl-primary)}.tpl-ai-btn--active .tpl-ai-btn-icon{fill:var(--tpl-primary)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active .tpl-ai-btn-icon{fill:color-mix(in srgb,var(--tpl-primary) 25%,transparent)}}.tpl-ai-btn--active:hover{background-color:var(--tpl-primary-light)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active:hover{background-color:color-mix(in srgb,var(--tpl-primary-light) 80%,var(--tpl-primary))}}.tpl-merge-tag-delete:hover{color:var(--tpl-danger)!important}@media(prefers-reduced-motion:reduce){.tpl-pulse,.tpl-shimmer,.tpl-fade-in,.tpl-scale-in,.tpl-ai-btn--idle:before{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl-spinner{animation:1s linear infinite tpl-spin}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-preview-pill-enter-active[data-v-e77200ef]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-e77200ef]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-e77200ef],.tpl-preview-pill-leave-to[data-v-e77200ef]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-e77200ef],.tpl-preview-pill-leave-from[data-v-e77200ef]{opacity:1;transform:translateY(0) scale(1)}hex-color-picker{--hcp-width: 200px}hex-color-picker::part(hue){border-radius:var(--tpl-radius-sm, 7px)}hex-color-picker::part(saturation){border-radius:var(--tpl-radius-sm, 7px) var(--tpl-radius-sm, 7px) 0 0}.tpl-color-swatch-empty{background-color:var(--tpl-bg);background-image:linear-gradient(to top right,transparent calc(50% - .75px),var(--tpl-text-dim) calc(50% - .75px),var(--tpl-text-dim) calc(50% + .75px),transparent calc(50% + .75px))}.tpl-color-swatch-transparent{background-color:var(--tpl-bg);background-image:repeating-conic-gradient(var(--tpl-border) 0% 25%,var(--tpl-bg) 0% 50%);background-size:8px 8px}.tpl-pulse-fill[data-v-fca026e4]{animation:tpl-field-pulse-fca026e4 1s ease-out}@keyframes tpl-field-pulse-fca026e4{0%{box-shadow:0 0 color-mix(in srgb,var(--tpl-warning) 30%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 6%,transparent)}40%{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-warning) 15%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 5%,transparent)}to{box-shadow:0 0 0 0 transparent;background-color:transparent}}@media(prefers-reduced-motion:reduce){.tpl-pulse-fill[data-v-fca026e4]{animation:none}}input[type=number][data-v-69591c1e]::-webkit-outer-spin-button,input[type=number][data-v-69591c1e]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-69591c1e]{-moz-appearance:textfield}.tpl-collapsible[data-v-e2d2c22f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-e2d2c22f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-e2d2c22f]{overflow:hidden}.tpl-saved-block-skeleton{animation:tpl-saved-block-pulse 1.4s ease-in-out infinite}@keyframes tpl-saved-block-pulse{0%,to{opacity:1}50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.tpl-saved-block-skeleton{animation:none}}.tpl-saved-block-select:focus-visible{box-shadow:none}.tpl-saved-block-select:focus-visible:after{content:\"\";position:absolute;inset:-1px;border-radius:var(--tpl-radius-sm);box-shadow:var(--tpl-ring);pointer-events:none}.tpl-saved-block-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-media-item[data-v-57c35946]:not(.tpl-media-item--selected):hover{border-color:var(--tpl-border)!important}.tpl-media-list-item[data-v-57c35946]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-list-icon[data-v-57c35946]{transform:scale(.35);transform-origin:center}.tpl-preview-icon[data-v-50993988]{transform:scale(.45);transform-origin:center}.tpl-comments-slide-enter-active[data-v-32af5912]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-32af5912]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-32af5912]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-32af5912]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-32af5912]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-32af5912]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-32af5912]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-32af5912]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-32af5912]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-32af5912]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-32af5912],.tpl-comment-reply-card[data-v-32af5912]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-32af5912],.tpl-resolve-leave-active[data-v-32af5912]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-32af5912],.tpl-resolve-leave-to[data-v-32af5912]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-32af5912]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-32af5912]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-32af5912],.tpl-replies-leave-active[data-v-32af5912]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-32af5912],.tpl-replies-leave-to[data-v-32af5912]{opacity:0;transform:translateY(-4px)}.tpl-ai-slide-enter-active[data-v-0a3b048c]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-ai-slide-leave-active[data-v-0a3b048c]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-ai-input-wrapper[data-v-0a3b048c]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-0a3b048c]:not(:disabled):hover{transform:scale(1.05)}.tpl-suggestion-btn[data-v-0a3b048c]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-design-slide-enter-active[data-v-a5a76ec5]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-design-slide-leave-active[data-v-a5a76ec5]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-design-prompt-input[data-v-a5a76ec5]:focus{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-design-dropzone[data-v-a5a76ec5]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-scoring-slide-enter-active[data-v-165e948a]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-scoring-slide-leave-active[data-v-165e948a]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-scoring-fix-btn[data-v-165e948a]:not(:disabled):hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-ai-feature-menu-item[data-v-bf59b787]:hover{background-color:var(--tpl-bg-hover)!important}.vue-advanced-cropper{text-align:center;position:relative;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}[data-v-7d9a1872] .tpl-cropper-background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper{background-color:transparent!important}[data-v-7d9a1872] .vue-advanced-cropper__background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper__foreground{background-color:var(--tpl-overlay)!important}\n/*$vite$:1*/", $i = null;
2524
- function ea() {
2525
- if ($i === null) {
2532
+ var ra = "@import\"https://fonts.bunny.net/css?family=geist:400,500,600\";.tpl-loading-track[data-v-e61f3b63]{height:3px;width:100%;border-radius:9999px;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 15%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 30%,var(--tpl-primary) 50%,color-mix(in srgb,var(--tpl-primary) 30%,transparent) 70%,color-mix(in srgb,var(--tpl-primary) 10%,transparent) 85%,transparent 100%);background-size:200% 100%;animation:tpl-loading-flow-e61f3b63 3s ease-in-out infinite}@keyframes tpl-loading-flow-e61f3b63{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.tpl-loading-track[data-v-e61f3b63]{animation:none;background-position:50% 0}}.tpl-block--idle[data-v-254ef206]{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-254ef206]: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-254ef206]{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-254ef206]{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-254ef206]{color:var(--tpl-chrome-text-muted);background-color:transparent}.tpl-block-action-btn[data-v-254ef206]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-chrome-text)}.tpl-block-action-btn[data-v-254ef206]:active{transform:scale(.9)}.tpl-block-delete-btn[data-v-254ef206]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-condition-toggle[data-v-254ef206]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-condition-toggle[data-v-254ef206]:active{transform:scale(.9)}.tpl-block-hidden-overlay[data-v-254ef206]{background-color:color-mix(in srgb,var(--tpl-bg) 60%,transparent)}.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-a482020e] .tpl-email-surface:not(.tpl-email-surface *){filter:invert(1) hue-rotate(180deg)}[data-v-a482020e] .tpl-email-surface{transition:filter .3s ease}.tpl-canvas--dark-mode[data-v-a482020e] .tpl-email-surface img{filter:invert(1) hue-rotate(180deg)}.tpl-canvas--dark-mode[data-v-a482020e] .tpl-email-surface.tpl-has-bg-image,.tpl-canvas--dark-mode[data-v-a482020e] .tpl-email-surface .tpl-has-bg-image{position:relative;isolation:isolate;background-image:none!important}.tpl-canvas--dark-mode[data-v-a482020e] .tpl-email-surface.tpl-has-bg-image:before,.tpl-canvas--dark-mode[data-v-a482020e] .tpl-email-surface .tpl-has-bg-image:before{content:\"\";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:var(--tpl-block-bg-layer, none);filter:invert(1) hue-rotate(180deg)}.tpl-icon-enter-active[data-v-632aa74f],.tpl-icon-leave-active[data-v-632aa74f]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-632aa74f],.tpl-icon-leave-to[data-v-632aa74f]{opacity:0;transform:scale(.8)}.tpl-dark-mode-toggle[data-v-632aa74f]:hover{background-color:var(--tpl-bg-hover)}.tpl-dark-mode-toggle[data-v-632aa74f]:active{transform:scale(.92)}.tpl-icon-enter-active[data-v-eef7b2ca],.tpl-icon-leave-active[data-v-eef7b2ca]{transition:opacity .12s cubic-bezier(.16,1,.3,1),transform .12s cubic-bezier(.16,1,.3,1)}.tpl-icon-enter-from[data-v-eef7b2ca],.tpl-icon-leave-to[data-v-eef7b2ca]{opacity:0;transform:scale(.8)}.tpl-preview-toggle[data-v-eef7b2ca]:hover{background-color:var(--tpl-bg-hover)}.tpl-preview-toggle[data-v-eef7b2ca]:active{transform:scale(.92)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tpl-comet-angle:0deg;--tpl-comet-start:100%}}}@layer theme{:root,:host{--tpl-radius-sm:calc(.25 * var(--tpl-base-size));--tpl-radius-md:calc(.375 * var(--tpl-base-size));--tpl-radius-lg:calc(.5 * var(--tpl-base-size));--tpl-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tpl-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--tpl-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--tpl-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--tpl-radius:calc(.25 * var(--tpl-base-size))}}.tpl\\:pointer-events-auto{pointer-events:auto}.tpl\\:pointer-events-none{pointer-events:none}.tpl\\:invisible{visibility:hidden}.tpl\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl\\:absolute{position:absolute}.tpl\\:fixed{position:fixed}.tpl\\:relative{position:relative}.tpl\\:sticky{position:sticky}.tpl\\:inset-0{inset:0}.tpl\\:inset-x-0{inset-inline:0}.tpl\\:inset-y-1{inset-block:calc(var(--tpl-base-size) / 4)}.tpl\\:-top-0\\.5{top:calc(calc(var(--tpl-base-size) / 4) * -.5)}.tpl\\:-top-1{top:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:top-0{top:0}.tpl\\:top-1{top:calc(var(--tpl-base-size) / 4)}.tpl\\:top-1\\.5{top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:top-1\\/2{top:50%}.tpl\\:top-2{top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:top-14{top:calc(calc(var(--tpl-base-size) / 4) * 14)}.tpl\\:top-16{top:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:top-\\[104px\\]{top:104px}.tpl\\:top-full{top:100%}.tpl\\:-right-1{right:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:-right-2{right:calc(calc(var(--tpl-base-size) / 4) * -2)}.tpl\\:right-0{right:0}.tpl\\:right-1{right:calc(var(--tpl-base-size) / 4)}.tpl\\:right-1\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:right-2{right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:right-2\\.5{right:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:right-\\[320px\\]{right:320px}.tpl\\:right-\\[360px\\]{right:360px}.tpl\\:right-\\[680px\\]{right:680px}.tpl\\:bottom-0{bottom:0}.tpl\\:bottom-1{bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:bottom-10{bottom:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:bottom-full{bottom:100%}.tpl\\:-left-1{left:calc(calc(var(--tpl-base-size) / 4) * -1)}.tpl\\:left-0{left:0}.tpl\\:left-1\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:left-1\\/2{left:50%}.tpl\\:left-2\\.5{left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:left-3{left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:left-5{left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:left-12{left:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:z-10{z-index:10}.tpl\\:z-40{z-index:40}.tpl\\:z-50{z-index:50}.tpl\\:z-\\[4\\]{z-index:4}.tpl\\:z-\\[5\\]{z-index:5}.tpl\\:z-\\[60\\]{z-index:60}.tpl\\:z-\\[100\\]{z-index:100}.tpl\\:m-0{margin:0}.tpl\\:m-6{margin:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-0\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mx-1{margin-inline:calc(var(--tpl-base-size) / 4)}.tpl\\:mx-1\\.5{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mx-3{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mx-4{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mx-6{margin-inline:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:mx-auto{margin-inline:auto}.tpl\\:mt-0\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:mt-1{margin-top:calc(var(--tpl-base-size) / 4)}.tpl\\:mt-1\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mt-2{margin-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mt-3{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mt-3\\.5{margin-top:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mt-4{margin-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:\\!mb-0{margin-bottom:0!important}.tpl\\:mb-1{margin-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:mb-1\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:mb-2{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:mb-2\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:mb-3{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:mb-3\\.5{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:mb-4{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:mb-px{margin-bottom:1px}.tpl\\:-ml-48{margin-left:calc(calc(var(--tpl-base-size) / 4) * -48)}.tpl\\:ml-0{margin-left:0}.tpl\\:ml-0\\.5{margin-left:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:ml-1{margin-left:calc(var(--tpl-base-size) / 4)}.tpl\\:ml-5{margin-left:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:ml-auto{margin-left:auto}.tpl\\: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\\:flex{display:flex}.tpl\\:grid{display:grid}.tpl\\:hidden{display:none}.tpl\\:inline{display:inline}.tpl\\:inline-block{display:inline-block}.tpl\\:inline-flex{display:inline-flex}.tpl\\:aspect-square{aspect-ratio:1}.tpl\\:size-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5);height:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:size-2{width:calc(calc(var(--tpl-base-size) / 4) * 2);height:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:size-3{width:calc(calc(var(--tpl-base-size) / 4) * 3);height:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:size-4{width:calc(calc(var(--tpl-base-size) / 4) * 4);height:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:size-4\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 4.5);height:calc(calc(var(--tpl-base-size) / 4) * 4.5)}.tpl\\:size-5{width:calc(calc(var(--tpl-base-size) / 4) * 5);height:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:size-6{width:calc(calc(var(--tpl-base-size) / 4) * 6);height:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:size-7{width:calc(calc(var(--tpl-base-size) / 4) * 7);height:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:size-8{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:size-10{width:calc(calc(var(--tpl-base-size) / 4) * 10);height:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:size-16{width:calc(calc(var(--tpl-base-size) / 4) * 16);height:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:size-full{width:100%;height:100%}.tpl\\:h-0{height:0}.tpl\\:h-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-auto{height:auto}.tpl\\:h-full{height:100%}.tpl\\:max-h-24{max-height:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:max-h-32{max-height:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:max-h-48{max-height:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:max-h-56{max-height:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:max-h-64{max-height:calc(calc(var(--tpl-base-size) / 4) * 64)}.tpl\\:max-h-\\[50vh\\]{max-height:50vh}.tpl\\:max-h-\\[60vh\\]{max-height:60vh}.tpl\\:max-h-\\[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-\\[48px\\]{min-height:48px}.tpl\\:min-h-\\[60px\\]{min-height:60px}.tpl\\:min-h-\\[64px\\]{min-height:64px}.tpl\\:min-h-\\[68px\\]{min-height:68px}.tpl\\:min-h-\\[72px\\]{min-height:72px}.tpl\\:min-h-\\[80px\\]{min-height:80px}.tpl\\:min-h-\\[100px\\]{min-height:100px}.tpl\\:min-h-\\[120px\\]{min-height:120px}.tpl\\:min-h-\\[150px\\]{min-height:150px}.tpl\\:min-h-\\[400px\\]{min-height:400px}.tpl\\:w-1\\.5{width:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:w-1\\/2{width:50%}.tpl\\:w-1\\/3{width:33.3333%}.tpl\\:w-1\\/4{width:25%}.tpl\\:w-2\\/3{width:66.6667%}.tpl\\:w-3\\/4{width:75%}.tpl\\:w-5\\/6{width:83.3333%}.tpl\\:w-7{width:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:w-8{width:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:w-9{width:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:w-10{width:calc(calc(var(--tpl-base-size) / 4) * 10)}.tpl\\:w-12{width:calc(calc(var(--tpl-base-size) / 4) * 12)}.tpl\\:w-16{width:calc(calc(var(--tpl-base-size) / 4) * 16)}.tpl\\:w-20{width:calc(calc(var(--tpl-base-size) / 4) * 20)}.tpl\\:w-24{width:calc(calc(var(--tpl-base-size) / 4) * 24)}.tpl\\:w-28{width:calc(calc(var(--tpl-base-size) / 4) * 28)}.tpl\\:w-32{width:calc(calc(var(--tpl-base-size) / 4) * 32)}.tpl\\:w-36{width:calc(calc(var(--tpl-base-size) / 4) * 36)}.tpl\\:w-40{width:calc(calc(var(--tpl-base-size) / 4) * 40)}.tpl\\:w-48{width:calc(calc(var(--tpl-base-size) / 4) * 48)}.tpl\\:w-52{width:calc(calc(var(--tpl-base-size) / 4) * 52)}.tpl\\:w-56{width:calc(calc(var(--tpl-base-size) / 4) * 56)}.tpl\\:w-72{width:calc(calc(var(--tpl-base-size) / 4) * 72)}.tpl\\:w-\\[280px\\]{width:280px}.tpl\\:w-\\[300px\\]{width:300px}.tpl\\:w-\\[320px\\]{width:320px}.tpl\\:w-\\[360px\\]{width:360px}.tpl\\:w-\\[400px\\]{width:400px}.tpl\\:w-\\[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\\:origin-top-right{transform-origin:100% 0}.tpl\\:-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-4{--tw-translate-x:calc(calc(var(--tpl-base-size) / 4) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-2{--tw-translate-y:calc(calc(var(--tpl-base-size) / 4) * -2);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-1{--tw-translate-y:calc(var(--tpl-base-size) / 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:translate-y-\\[-8px\\]{--tw-translate-y:-8px;translate:var(--tw-translate-x) var(--tw-translate-y)}.tpl\\:scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:-rotate-90{rotate:-90deg}.tpl\\:rotate-0{rotate:0deg}.tpl\\:rotate-45{rotate:45deg}.tpl\\:rotate-90{rotate:90deg}.tpl\\:rotate-180{rotate:180deg}.tpl\\:animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.tpl\\:animate-spin{animation:1s linear infinite spin}.tpl\\:cursor-default{cursor:default}.tpl\\:cursor-grab{cursor:grab}.tpl\\:cursor-help{cursor:help}.tpl\\:cursor-not-allowed{cursor:not-allowed}.tpl\\:cursor-pointer{cursor:pointer}.tpl\\:resize-none{resize:none}.tpl\\:resize-y{resize:vertical}.tpl\\:list-disc{list-style-type:disc}.tpl\\:list-none{list-style-type:none}.tpl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tpl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tpl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tpl\\:grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.tpl\\:grid-cols-\\[1fr_auto_1fr\\]{grid-template-columns:1fr auto 1fr}.tpl\\:flex-col{flex-direction:column}.tpl\\:flex-row-reverse{flex-direction:row-reverse}.tpl\\:flex-wrap{flex-wrap:wrap}.tpl\\:items-center{align-items:center}.tpl\\:items-end{align-items:flex-end}.tpl\\:items-start{align-items:flex-start}.tpl\\:items-stretch{align-items:stretch}.tpl\\:justify-between{justify-content:space-between}.tpl\\:justify-center{justify-content:center}.tpl\\:justify-end{justify-content:flex-end}.tpl\\:gap-0{gap:0}.tpl\\:gap-0\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-1{gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-1\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:gap-2{gap:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:gap-2\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:gap-3{gap:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:gap-3\\.5{gap:calc(calc(var(--tpl-base-size) / 4) * 3.5)}.tpl\\:gap-4{gap:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:gap-5{gap:calc(calc(var(--tpl-base-size) / 4) * 5)}.tpl\\:gap-6{gap:calc(calc(var(--tpl-base-size) / 4) * 6)}.tpl\\:gap-10{gap:calc(calc(var(--tpl-base-size) / 4) * 10)}:where(.tpl\\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--tpl-base-size) / 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--tpl-base-size) / 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.tpl\\:space-y-3\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(calc(var(--tpl-base-size) / 4) * 3.5) * calc(1 - var(--tw-space-y-reverse)))}.tpl\\:gap-x-1{column-gap:calc(var(--tpl-base-size) / 4)}.tpl\\:gap-x-3{column-gap:calc(calc(var(--tpl-base-size) / 4) * 3)}:where(.tpl\\:-space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(calc(var(--tpl-base-size) / 4) * -1.5) * calc(1 - var(--tw-space-x-reverse)))}.tpl\\:gap-y-0\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * .5)}.tpl\\:gap-y-1\\.5{row-gap:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:self-end{align-self:flex-end}.tpl\\:self-start{align-self:flex-start}.tpl\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tpl\\:overflow-auto{overflow:auto}.tpl\\:overflow-hidden{overflow:hidden}.tpl\\:overflow-x-auto{overflow-x:auto}.tpl\\:overflow-y-auto{overflow-y:auto}.tpl\\:rounded{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-\\[calc\\(var\\(--tpl-radius-sm\\)-2px\\)\\]{border-radius:calc(var(--tpl-radius-sm) - 2px)}.tpl\\:rounded-\\[var\\(--tpl-radius\\)\\]{border-radius:var(--tpl-radius)}.tpl\\:rounded-\\[var\\(--tpl-radius-lg\\)\\]{border-radius:var(--tpl-radius-lg)}.tpl\\:rounded-\\[var\\(--tpl-radius-md\\)\\]{border-radius:var(--tpl-radius-md)}.tpl\\:rounded-\\[var\\(--tpl-radius-sm\\)\\]{border-radius:var(--tpl-radius-sm)}.tpl\\:rounded-full{border-radius:3.40282e38px}.tpl\\:rounded-lg{border-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-md{border-radius:calc(.375 * var(--tpl-base-size))}.tpl\\:rounded-sm{border-radius:calc(.25 * var(--tpl-base-size))}.tpl\\:rounded-xl{border-radius:calc(.75 * var(--tpl-base-size))}.tpl\\:rounded-l-\\[var\\(--tpl-radius-sm\\)\\]{border-top-left-radius:var(--tpl-radius-sm);border-bottom-left-radius:var(--tpl-radius-sm)}.tpl\\:rounded-tl-lg{border-top-left-radius:calc(.5 * var(--tpl-base-size))}.tpl\\:rounded-r-\\[var\\(--tpl-radius-sm\\)\\]{border-top-right-radius:var(--tpl-radius-sm);border-bottom-right-radius:var(--tpl-radius-sm)}.tpl\\:rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.tpl\\:border{border-style:var(--tw-border-style);border-width:1px}.tpl\\:border-0{border-style:var(--tw-border-style);border-width:0}.tpl\\:border-2{border-style:var(--tw-border-style);border-width:2px}.tpl\\:border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.tpl\\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.tpl\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.tpl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.tpl\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.tpl\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.tpl\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.tpl\\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.tpl\\:border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.tpl\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.tpl\\:border-none{--tw-border-style:none;border-style:none}.tpl\\:border-\\[var\\(--tpl-bg\\)\\]{border-color:var(--tpl-bg)}.tpl\\:border-\\[var\\(--tpl-border\\)\\]{border-color:var(--tpl-border)}.tpl\\:border-\\[var\\(--tpl-border-light\\)\\]{border-color:var(--tpl-border-light)}.tpl\\:border-\\[var\\(--tpl-danger\\)\\]{border-color:var(--tpl-danger)}.tpl\\:border-\\[var\\(--tpl-primary\\)\\]{border-color:var(--tpl-primary)}.tpl\\:border-\\[var\\(--tpl-primary-hover\\)\\]{border-color:var(--tpl-primary-hover)}.tpl\\:border-\\[var\\(--tpl-warning\\)\\]{border-color:var(--tpl-warning)}.tpl\\:border-transparent{border-color:#0000}.tpl\\:border-l-\\[var\\(--tpl-primary\\)\\]{border-left-color:var(--tpl-primary)}.tpl\\:border-l-transparent{border-left-color:#0000}.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:var(--tpl-bg)}@supports (color:color-mix(in lab,red,red)){.tpl\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-bg\\)_90\\%\\,transparent\\)\\]{background-color:color-mix(in srgb,var(--tpl-bg) 90%,transparent)}}.tpl\\:bg-\\[var\\(--tpl-bg\\)\\]{background-color:var(--tpl-bg)}.tpl\\:bg-\\[var\\(--tpl-bg-active\\)\\]{background-color:var(--tpl-bg-active)}.tpl\\:bg-\\[var\\(--tpl-bg-elevated\\)\\]{background-color:var(--tpl-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-bg-hover\\)\\]{background-color:var(--tpl-bg-hover)}.tpl\\:bg-\\[var\\(--tpl-border\\)\\]{background-color:var(--tpl-border)}.tpl\\:bg-\\[var\\(--tpl-canvas-bg\\)\\]{background-color:var(--tpl-canvas-bg)}.tpl\\:bg-\\[var\\(--tpl-chrome-bg-elevated\\)\\]{background-color:var(--tpl-chrome-bg-elevated)}.tpl\\:bg-\\[var\\(--tpl-chrome-primary-light\\)\\]{background-color:var(--tpl-chrome-primary-light)}.tpl\\:bg-\\[var\\(--tpl-danger\\)\\]{background-color:var(--tpl-danger)}.tpl\\:bg-\\[var\\(--tpl-danger-light\\)\\]{background-color:var(--tpl-danger-light)}.tpl\\:bg-\\[var\\(--tpl-primary\\)\\]{background-color:var(--tpl-primary)}.tpl\\:bg-\\[var\\(--tpl-primary-light\\)\\]{background-color:var(--tpl-primary-light)}.tpl\\:bg-\\[var\\(--tpl-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-1{padding-top:calc(var(--tpl-base-size) / 4)}.tpl\\:pt-2{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pt-2\\.5{padding-top:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pt-3{padding-top:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pt-4{padding-top:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-2{padding-right:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pr-3{padding-right:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pr-4{padding-right:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pr-7{padding-right:calc(calc(var(--tpl-base-size) / 4) * 7)}.tpl\\:pr-8{padding-right:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pb-1{padding-bottom:calc(var(--tpl-base-size) / 4)}.tpl\\:pb-1\\.5{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 1.5)}.tpl\\:pb-2{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}.tpl\\:pb-3{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pb-4{padding-bottom:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-2\\.5{padding-left:calc(calc(var(--tpl-base-size) / 4) * 2.5)}.tpl\\:pl-3{padding-left:calc(calc(var(--tpl-base-size) / 4) * 3)}.tpl\\:pl-4{padding-left:calc(calc(var(--tpl-base-size) / 4) * 4)}.tpl\\:pl-8{padding-left:calc(calc(var(--tpl-base-size) / 4) * 8)}.tpl\\:pl-9{padding-left:calc(calc(var(--tpl-base-size) / 4) * 9)}.tpl\\:pl-\\[18px\\]{padding-left:18px}.tpl\\:text-center{text-align:center}.tpl\\:text-left{text-align:left}.tpl\\:font-\\[inherit\\]{font-family:inherit}.tpl\\:font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tpl\\:font-sans{font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tpl\\:text-4xl{font-size:calc(2.25 * var(--tpl-base-size));line-height:var(--tw-leading,calc(2.5 / 2.25))}.tpl\\:text-base{font-size:var(--tpl-base-size);line-height:var(--tw-leading, 1.5 )}.tpl\\:text-lg{font-size:calc(1.125 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.75 / 1.125))}.tpl\\:text-sm{font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875))}.tpl\\:text-xs{font-size:calc(.75 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1 / .75))}.tpl\\:text-\\[0\\.8em\\]{font-size:.8em}.tpl\\:text-\\[0\\.9em\\]{font-size:.9em}.tpl\\:text-\\[1em\\]{font-size:1em}.tpl\\:text-\\[10px\\]{font-size:10px}.tpl\\:text-\\[12px\\]{font-size:12px}.tpl\\:text-\\[13px\\]{font-size:13px}.tpl\\:text-\\[length\\:inherit\\]{font-size:inherit}.tpl\\:leading-\\[inherit\\]{--tw-leading:inherit;line-height:inherit}.tpl\\:leading-none{--tw-leading:1;line-height:1}.tpl\\:leading-normal{--tw-leading:1.5;line-height:1.5}.tpl\\:leading-relaxed{--tw-leading:1.625;line-height:1.625}.tpl\\:leading-snug{--tw-leading:1.375;line-height:1.375}.tpl\\:leading-tight{--tw-leading:1.25;line-height:1.25}.tpl\\:font-\\[var\\(--tpl-font-family\\)\\]{--tw-font-weight:var(--tpl-font-family);font-weight:var(--tpl-font-family)}.tpl\\:font-bold{--tw-font-weight:700;font-weight:700}.tpl\\:font-medium{--tw-font-weight:500;font-weight:500}.tpl\\:font-normal{--tw-font-weight:400;font-weight:400}.tpl\\:font-semibold{--tw-font-weight:600;font-weight:600}.tpl\\:tracking-wide{--tw-tracking:.025em;letter-spacing:.025em}.tpl\\:tracking-wider{--tw-tracking:.05em;letter-spacing:.05em}.tpl\\:break-words{overflow-wrap:break-word}.tpl\\:break-all{word-break:break-all}.tpl\\:text-ellipsis{text-overflow:ellipsis}.tpl\\:whitespace-nowrap{white-space:nowrap}.tpl\\:whitespace-pre-wrap{white-space:pre-wrap}.tpl\\:text-\\[var\\(--tpl-bg\\)\\]{color:var(--tpl-bg)}.tpl\\:text-\\[var\\(--tpl-border-light\\)\\]{color:var(--tpl-border-light)}.tpl\\:text-\\[var\\(--tpl-chrome-text-dim\\)\\]{color:var(--tpl-chrome-text-dim)}.tpl\\:text-\\[var\\(--tpl-chrome-text-muted\\)\\]{color:var(--tpl-chrome-text-muted)}.tpl\\:text-\\[var\\(--tpl-danger\\)\\]{color:var(--tpl-danger)}.tpl\\:text-\\[var\\(--tpl-on-primary\\)\\]{color:var(--tpl-on-primary)}.tpl\\:text-\\[var\\(--tpl-primary\\)\\]{color:var(--tpl-primary)}.tpl\\:text-\\[var\\(--tpl-primary-hover\\)\\]{color:var(--tpl-primary-hover)}.tpl\\:text-\\[var\\(--tpl-success\\)\\]{color:var(--tpl-success)}.tpl\\:text-\\[var\\(--tpl-success\\,var\\(--tpl-primary\\)\\)\\]{color:var(--tpl-success,var(--tpl-primary))}.tpl\\:text-\\[var\\(--tpl-text\\)\\]{color:var(--tpl-text)}.tpl\\:text-\\[var\\(--tpl-text-dim\\)\\]{color:var(--tpl-text-dim)}.tpl\\:text-\\[var\\(--tpl-text-muted\\)\\]{color:var(--tpl-text-muted)}.tpl\\:text-\\[var\\(--tpl-warning\\)\\]{color:var(--tpl-warning)}.tpl\\:normal-case{text-transform:none}.tpl\\:uppercase{text-transform:uppercase}.tpl\\:italic{font-style:italic}.tpl\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tpl\\:no-underline{text-decoration-line:none}.tpl\\:underline{text-decoration-line:underline}.tpl\\:accent-\\[var\\(--tpl-primary\\)\\]{accent-color:var(--tpl-primary)}.tpl\\:opacity-0{opacity:0}.tpl\\:opacity-50{opacity:.5}.tpl\\:opacity-60{opacity:.6}.tpl\\:opacity-70{opacity:.7}.tpl\\:opacity-90{opacity:.9}.tpl\\:opacity-100{opacity:1}.tpl\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-ring\\)\\]{--tw-shadow:var(--tpl-ring);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow\\)\\]{--tw-shadow:var(--tpl-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-lg\\)\\]{--tw-shadow:var(--tpl-shadow-lg);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-md\\)\\]{--tw-shadow:var(--tpl-shadow-md);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-\\[var\\(--tpl-shadow-sm\\)\\]{--tw-shadow:var(--tpl-shadow-sm);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.tpl\\:ring-\\[var\\(--tpl-border\\)\\]{--tw-ring-color:var(--tpl-border)}.tpl\\:ring-\\[var\\(--tpl-primary\\)\\]{--tw-ring-color:var(--tpl-primary)}.tpl\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.tpl\\:ring-offset-\\[var\\(--tpl-bg-elevated\\)\\]{--tw-ring-offset-color:var(--tpl-bg-elevated)}.tpl\\:backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.tpl\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s)}.tpl\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.tpl\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.tpl\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.tpl\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.tpl\\:duration-\\[80ms\\]{--tw-duration:80ms;transition-duration:80ms}.tpl\\:duration-\\[120ms\\]{--tw-duration:.12s;transition-duration:.12s}.tpl\\:ease-\\[cubic-bezier\\(0\\.16\\,1\\,0\\.3\\,1\\)\\]{--tw-ease:cubic-bezier(.16,1,.3,1);transition-timing-function:cubic-bezier(.16,1,.3,1)}.tpl\\:ease-in{--tw-ease:cubic-bezier(.4, 0, 1, 1);transition-timing-function:cubic-bezier(.4,0,1,1)}.tpl\\:ease-out{--tw-ease:cubic-bezier(0, 0, .2, 1);transition-timing-function:cubic-bezier(0,0,.2,1)}.tpl\\:outline-none{--tw-outline-style:none;outline-style:none}.tpl\\:select-none{-webkit-user-select:none;user-select:none}.tpl\\:group-focus-within\\:opacity-100:is(:where(.tpl\\:group):focus-within *){opacity:1}@media(hover:hover){.tpl\\:group-hover\\:bg-black\\/40:is(:where(.tpl\\:group):hover *){background-color:oklab(0% none none/.4)}.tpl\\:group-hover\\:opacity-100:is(:where(.tpl\\:group):hover *){opacity:1}}.tpl\\:placeholder\\:text-\\[var\\(--tpl-text-dim\\)\\]::placeholder{color:var(--tpl-text-dim)}.tpl\\:first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.tpl\\:last\\:mb-0:last-child{margin-bottom:0}@media(hover:hover){.tpl\\:hover\\:z-10:hover{z-index:10}.tpl\\:hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.tpl\\:hover\\:border-\\[var\\(--tpl-border\\)\\]:hover{border-color:var(--tpl-border)}.tpl\\:hover\\:border-\\[var\\(--tpl-danger\\)\\]:hover{border-color:var(--tpl-danger)}.tpl\\:hover\\:border-\\[var\\(--tpl-primary\\)\\]:hover{border-color:var(--tpl-primary)}.tpl\\:hover\\:border-\\[var\\(--tpl-text-dim\\)\\]:hover{border-color:var(--tpl-text-dim)}.tpl\\:hover\\:border-l-\\[var\\(--tpl-primary\\)\\]:hover{border-left-color:var(--tpl-primary)}.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:var(--tpl-text)}@supports (color:color-mix(in lab,red,red)){.tpl\\:hover\\:bg-\\[color-mix\\(in_srgb\\,var\\(--tpl-text\\)_8\\%\\,transparent\\)\\]:hover{background-color:color-mix(in srgb,var(--tpl-text) 8%,transparent)}}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-active\\)\\]:hover{background-color:var(--tpl-bg-active)}.tpl\\:hover\\:bg-\\[var\\(--tpl-bg-hover\\)\\]:hover{background-color:var(--tpl-bg-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-danger-light\\)\\]:hover{background-color:var(--tpl-danger-light)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-hover\\)\\]:hover{background-color:var(--tpl-primary-hover)}.tpl\\:hover\\:bg-\\[var\\(--tpl-primary-light\\)\\]:hover{background-color:var(--tpl-primary-light)}.tpl\\:hover\\: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-none:focus-visible{--tw-outline-style:none;outline-style:none}.tpl\\:active\\:cursor-grabbing:active{cursor:grabbing}.tpl\\:active\\:bg-\\[var\\(--tpl-bg-active\\)\\]:active{background-color:var(--tpl-bg-active)}.tpl\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.tpl\\:disabled\\:opacity-30:disabled{opacity:.3}.tpl\\:disabled\\:opacity-40:disabled{opacity:.4}.tpl\\:disabled\\:opacity-50:disabled{opacity:.5}@media(hover:hover){.tpl\\:disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}.tpl\\:\\[\\&_p\\]\\:mb-2 p{margin-bottom:calc(calc(var(--tpl-base-size) / 4) * 2)}@layer base{:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):after,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *)):before,:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:where(.tpl) :where(hr):not(:where(.tpl-email-surface,.tpl-email-surface *)){height:0;color:inherit;border-top-width:1px}:where(.tpl) :where(abbr[title]):not(:where(.tpl-email-surface,.tpl-email-surface *)){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(.tpl) :where(h1):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h2):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h3):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h4):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h5):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(h6):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:inherit;font-weight:inherit}:where(.tpl) :where(a):not(:where(.tpl-email-surface,.tpl-email-surface *)){color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}:where(.tpl) :where(b):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(strong):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(code):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(kbd):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(samp):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(pre):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}:where(.tpl) :where(small):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-size:80%}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline;font-size:75%;line-height:0;position:relative}:where(.tpl) :where(sub):not(:where(.tpl-email-surface,.tpl-email-surface *)){bottom:-.25em}:where(.tpl) :where(sup):not(:where(.tpl-email-surface,.tpl-email-surface *)){top:-.5em}:where(.tpl) :where(table):not(:where(.tpl-email-surface,.tpl-email-surface *)){text-indent:0;border-color:inherit;border-collapse:collapse}:where(.tpl) :where(:-moz-focusring:not(iframe)):not(:where(.tpl-email-surface,.tpl-email-surface *)){outline:auto}:where(.tpl) :where(progress):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:baseline}:where(.tpl) :where(summary):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:list-item}:where(.tpl) :where(ol):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(ul):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(menu):not(:where(.tpl-email-surface,.tpl-email-surface *)){list-style:none}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(svg):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(canvas):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(audio):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(iframe):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(embed):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(object):not(:where(.tpl-email-surface,.tpl-email-surface *)){vertical-align:middle;display:block}:where(.tpl) :where(img):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(video):not(:where(.tpl-email-surface,.tpl-email-surface *)){max-width:100%;height:auto}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(select):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(.tpl) :where(select:is([multiple],[size]) optgroup):not(:where(.tpl-email-surface,.tpl-email-surface *)){font-weight:bolder}:where(.tpl) :where(select:is([multiple],[size]) optgroup option):not(:where(.tpl-email-surface,.tpl-email-surface *)){padding-inline-start:20px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{margin-inline-end:4px}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}:where(.tpl) :where(textarea):not(:where(.tpl-email-surface,.tpl-email-surface *)){resize:vertical}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-search-decoration{-webkit-appearance:none}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{display:inline-flex}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-fields-wrapper{padding:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-year-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-month-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-day-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-hour-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-minute-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-second-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-millisecond-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-datetime-edit-meridiem-field{padding-block:0}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-calendar-picker-indicator{line-height:1}:where(.tpl) :where(:-moz-ui-invalid):not(:where(.tpl-email-surface,.tpl-email-surface *)){box-shadow:none}:where(.tpl) :where(button):not(:where(.tpl-email-surface,.tpl-email-surface *)),:where(.tpl) :where(input:is([type=button],[type=reset],[type=submit])):not(:where(.tpl-email-surface,.tpl-email-surface *)){appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::file-selector-button{appearance:button}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-inner-spin-button{height:auto}:where(.tpl) :where(*):not(:where(.tpl-email-surface,.tpl-email-surface *))::-webkit-outer-spin-button{height:auto}:where(.tpl) :where([hidden]:not([hidden=until-found])):not(:where(.tpl-email-surface,.tpl-email-surface *)){display:none!important}}@layer components;.tpl{--tpl-base-size:var(--tpl-user-base-size,16px);--tpl-bg:var(--tpl-user-bg,oklch(99.5% .002 60));--tpl-bg-elevated:var(--tpl-user-bg-elevated,oklch(98% .004 60));--tpl-bg-hover:var(--tpl-user-bg-hover,oklch(96% .006 60));--tpl-bg-active:var(--tpl-user-bg-active,oklch(93.5% .008 60));--tpl-border:var(--tpl-user-border,oklch(92% .006 60));--tpl-border-light:var(--tpl-user-border-light,oklch(86% .01 60));--tpl-text:var(--tpl-user-text,oklch(18% .01 60));--tpl-text-muted:var(--tpl-user-text-muted,oklch(50% .015 60));--tpl-text-dim:var(--tpl-user-text-dim,oklch(68% .012 60));--tpl-primary:var(--tpl-user-primary,oklch(70% .16 55));--tpl-primary-hover:var(--tpl-user-primary-hover,oklch(63% .17 55));--tpl-primary-light:var(--tpl-user-primary-light,oklch(95% .04 55));--tpl-on-primary:var(--tpl-user-on-primary,var(--tpl-bg));--tpl-secondary:var(--tpl-user-secondary,oklch(60% .118 184.71));--tpl-secondary-hover:var(--tpl-user-secondary-hover,oklch(53.2% .105 186.39));--tpl-secondary-light:var(--tpl-user-secondary-light,oklch(93.8% .03 186.82));--tpl-success:var(--tpl-user-success,oklch(62.8% .194 155.1));--tpl-success-light:var(--tpl-user-success-light,oklch(93.6% .043 163.51));--tpl-warning:var(--tpl-user-warning,oklch(76.9% .168 70.08));--tpl-warning-light:var(--tpl-user-warning-light,oklch(95% .038 73.59));--tpl-danger:var(--tpl-user-danger,oklch(63.7% .237 25.33));--tpl-danger-light:var(--tpl-user-danger-light,oklch(93.6% .032 17.72));--tpl-canvas-bg:var(--tpl-user-canvas-bg,oklch(97.5% .003 60));--tpl-chrome-bg-elevated:var(--tpl-bg-elevated);--tpl-chrome-border-light:var(--tpl-border-light);--tpl-chrome-text:var(--tpl-text);--tpl-chrome-text-muted:var(--tpl-text-muted);--tpl-chrome-text-dim:var(--tpl-text-dim);--tpl-chrome-primary-light:var(--tpl-primary-light);--tpl-chrome-primary-hover:var(--tpl-primary-hover);--tpl-radius:var(--tpl-user-radius,10px);--tpl-radius-sm:var(--tpl-user-radius-sm,7px);--tpl-radius-lg:var(--tpl-user-radius-lg,14px);--tpl-font-family:var(--tpl-user-font-family,\"Geist\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");--tpl-shadow-sm:var(--tpl-user-shadow-sm,0 1px 2px #00000008);--tpl-shadow:var(--tpl-user-shadow,0 1px 2px #0000000a, 0 1px 3px #00000008);--tpl-shadow-md:var(--tpl-user-shadow-md,0 2px 8px #0000000f, 0 1px 3px #0000000a);--tpl-shadow-lg:var(--tpl-user-shadow-lg,0 4px 16px #00000014, 0 2px 6px #0000000a);--tpl-shadow-xl:var(--tpl-user-shadow-xl,0 8px 32px #0000001a, 0 4px 12px #0000000f);--tpl-overlay:var(--tpl-user-overlay,#00000080);--tpl-ring:var(--tpl-user-ring,0 0 0 3px var(--tpl-primary-light));--tpl-transition:var(--tpl-user-transition,.12s cubic-bezier(.16, 1, .3, 1))}.tpl[data-tpl-theme=dark]{--tpl-bg:var(--tpl-user-dark-bg,oklch(16% .005 60));--tpl-bg-elevated:var(--tpl-user-dark-bg-elevated,oklch(21% .006 60));--tpl-bg-hover:var(--tpl-user-dark-bg-hover,oklch(26% .007 60));--tpl-bg-active:var(--tpl-user-dark-bg-active,oklch(30% .008 60));--tpl-border:var(--tpl-user-dark-border,oklch(30% .006 60));--tpl-border-light:var(--tpl-user-dark-border-light,oklch(38% .008 60));--tpl-text:var(--tpl-user-dark-text,oklch(93% .005 60));--tpl-text-muted:var(--tpl-user-dark-text-muted,oklch(65% .01 60));--tpl-text-dim:var(--tpl-user-dark-text-dim,oklch(50% .008 60));--tpl-primary:var(--tpl-user-dark-primary,oklch(73% .15 55));--tpl-primary-hover:var(--tpl-user-dark-primary-hover,oklch(78% .14 55));--tpl-primary-light:var(--tpl-user-dark-primary-light,oklch(28% .05 55));--tpl-secondary:var(--tpl-user-dark-secondary,oklch(63% .11 184.71));--tpl-secondary-hover:var(--tpl-user-dark-secondary-hover,oklch(68% .1 186.39));--tpl-secondary-light:var(--tpl-user-dark-secondary-light,oklch(25% .03 186.82));--tpl-success:var(--tpl-user-dark-success,oklch(65% .18 155.1));--tpl-success-light:var(--tpl-user-dark-success-light,oklch(25% .04 163.51));--tpl-warning:var(--tpl-user-dark-warning,oklch(78% .16 70.08));--tpl-warning-light:var(--tpl-user-dark-warning-light,oklch(28% .04 73.59));--tpl-danger:var(--tpl-user-dark-danger,oklch(65% .22 25.33));--tpl-danger-light:var(--tpl-user-dark-danger-light,oklch(25% .04 17.72));--tpl-canvas-bg:var(--tpl-user-dark-canvas-bg,oklch(10% .003 60));--tpl-shadow-sm:var(--tpl-user-dark-shadow-sm,0 1px 2px #0003);--tpl-shadow:var(--tpl-user-dark-shadow,0 1px 2px #0000004d, 0 1px 3px #0003);--tpl-shadow-md:var(--tpl-user-dark-shadow-md,0 2px 8px #00000059, 0 1px 3px #00000040);--tpl-shadow-lg:var(--tpl-user-dark-shadow-lg,0 4px 16px #0006, 0 2px 6px #0000004d);--tpl-shadow-xl:var(--tpl-user-dark-shadow-xl,0 8px 32px #00000080, 0 4px 12px #00000059);--tpl-overlay:var(--tpl-user-dark-overlay,#000000b3);--tpl-ring:var(--tpl-user-dark-ring,0 0 0 3px var(--tpl-primary-light))}.tpl[data-tpl-theme=dark] .tpl-block-content,.tpl[data-tpl-theme=dark] .tpl-canvas-empty{--tpl-bg-elevated:oklch(98% .004 60);--tpl-border-light:oklch(86% .01 60);--tpl-text:oklch(18% .01 60);--tpl-text-muted:oklch(50% .015 60);--tpl-text-dim:oklch(68% .012 60);--tpl-primary-light:oklch(95% .04 55);--tpl-primary-hover:oklch(60% .16 55);color:var(--tpl-text)}.tpl{height:100%;font-family:Geist,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:calc(.875 * var(--tpl-base-size));line-height:var(--tw-leading,calc(1.25 / .875));--tw-leading:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--tpl-bg);min-height:320px;color:var(--tpl-text);line-height:1.5;font-family:var(--tpl-font-family);letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:start;white-space:normal;cursor:auto;font-variant-numeric:normal;text-shadow:none;flex-direction:column;font-style:normal;font-weight:400;list-style-type:disc;display:flex}:where(.tpl) button,:where(.tpl) input,:where(.tpl) select,:where(.tpl) textarea{box-sizing:border-box;font-family:inherit}:where(.tpl) button{cursor:pointer;background:0 0;border:none;margin:0;padding:0}:where(.tpl) button:focus-visible,:where(.tpl) input:focus-visible,:where(.tpl) select:focus-visible,:where(.tpl) textarea:focus-visible{box-shadow:var(--tpl-ring);outline:none}:where(.tpl) .tpl-focus-ring-host:focus-within :is(input,select,textarea):focus-visible{box-shadow:none}.tpl ::-webkit-scrollbar{width:6px;height:6px}.tpl ::-webkit-scrollbar-track{background:0 0}.tpl ::-webkit-scrollbar-thumb{background-color:var(--tpl-border-light)}@supports (color:color-mix(in lab,red,red)){.tpl ::-webkit-scrollbar-thumb{background-color:color-mix(in srgb,var(--tpl-border-light) 60%,transparent)}}.tpl ::-webkit-scrollbar-thumb{border-radius:calc(.25 * var(--tpl-base-size))}.tpl ::-webkit-scrollbar-thumb:hover{background-color:var(--tpl-border-light)}@keyframes tpl-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes tpl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tpl-popover-root{z-index:10000;position:relative}.tpl-merge-tag-label{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}@supports (color:color-mix(in lab,red,red)){.tpl-merge-tag-label{-webkit-text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)}}.tpl-merge-tag-label{unicode-bidi:isolate}.tpl-pulse{animation:2s infinite tpl-pulse}.tpl-spinner{animation:1s linear infinite tpl-spin}@keyframes tpl-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes tpl-scale-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes tpl-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.tpl-fade-in{animation:.2s cubic-bezier(.16,1,.3,1) tpl-fade-in}.tpl-scale-in{animation:.15s cubic-bezier(.16,1,.3,1) tpl-scale-in}.tpl-shimmer{background:linear-gradient(90deg,var(--tpl-bg-hover) 25%,var(--tpl-bg-active) 50%,var(--tpl-bg-hover) 75%);background-size:200% 100%;animation:1.5s linear infinite tpl-shimmer}.tpl-preview-mode .tpl-block--idle,.tpl-preview-mode .tpl-block--idle:hover,.tpl-preview-mode .tpl-block--selected{box-shadow:none!important;outline:none!important}.tpl-preview-mode .tpl-block{cursor:default;pointer-events:none}.tpl-preview-mode .tpl-block-actions,.tpl-preview-mode .tpl-block-hidden-overlay,.tpl-preview-mode .tpl-condition-toggle,.tpl-preview-mode .tpl-comment-indicator,.tpl-preview-mode .tpl-collab-lock{display:none}.tpl-ghost{border:none!important;border-top:2px dotted var(--tpl-primary)!important;background-color:#0000!important;justify-content:center!important;align-items:center!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;margin:12px 0!important;padding:0!important;display:flex!important;position:relative!important;overflow:visible!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost{border-top:2px dotted color-mix(in srgb,var(--tpl-primary) 50%,transparent)!important}}.tpl-ghost{box-shadow:none!important;border-radius:0!important}.tpl-ghost>*{display:none!important}.tpl-ghost:before{content:var(--tpl-drop-text,\"Drop here\");white-space:nowrap!important;color:var(--tpl-primary)!important;background-color:var(--tpl-primary)!important;padding:2px 8px!important;font-size:12px!important;font-weight:500!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ghost:before{background-color:color-mix(in srgb,var(--tpl-primary) 15%,var(--tpl-bg))!important}}.tpl-ghost:before{border-radius:var(--tpl-radius-sm)!important;box-shadow:none!important}.tpl-canvas-empty .tpl-ghost{display:none!important}.tpl-dragging{opacity:.8;box-shadow:var(--tpl-shadow-xl)}.sortable-fallback{transition:none!important;animation:none!important}.tpl-block--lifted{outline:2px dashed var(--tpl-primary)!important;outline-offset:2px!important;box-shadow:var(--tpl-shadow-xl),0 0 0 4px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-block--lifted{box-shadow:var(--tpl-shadow-xl),0 0 0 4px color-mix(in srgb,var(--tpl-primary) 20%,transparent)!important}}.tpl-block--lifted{transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s cubic-bezier(.16,1,.3,1);transform:scale(1.01)}.tpl-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tpl-text-toolbar-btn{width:calc(calc(var(--tpl-base-size) / 4) * 8);height:calc(calc(var(--tpl-base-size) / 4) * 8);cursor:pointer;border-radius:calc(.25 * var(--tpl-base-size));--tw-border-style:none;transition-property:all;transition-timing-function:var(--tw-ease,cubic-bezier(.16, 1, .3, 1));transition-duration:var(--tw-duration,.12s);color:var(--tpl-text);background-color:#0000;border-style:none;justify-content:center;align-items:center;padding:0;display:flex}.tpl-text-toolbar-btn:hover{background-color:var(--tpl-bg-active)}.tpl-text-toolbar-btn--active{box-shadow:inset 0 0 0 1.5px var(--tpl-primary-hover);background-color:var(--tpl-primary)!important;color:var(--tpl-bg)!important}.tpl-text-toolbar-btn--active svg{stroke-width:2.75px}.tpl-text-content,.tpl-text-editable .tiptap{--tw-outline-style:none;outline-style:none}.tpl-text-editable{border-radius:calc(.25 * var(--tpl-base-size));outline:1px dashed var(--tpl-primary);outline-offset:4px}.tpl-text-editable--error{outline-color:var(--tpl-danger)}.tpl-text-content p,.tpl-text-editable .tiptap p{margin:0 0 var(--tpl-doc-paragraph-spacing,8px)}.tpl-text-content p:last-child,.tpl-text-editable .tiptap p:last-child{margin-bottom:0}.tpl-text-content ul,.tpl-text-content ol,.tpl-text-editable .tiptap ul,.tpl-text-editable .tiptap ol{margin:8px 0;padding-inline-start:24px}.tpl-text-content li,.tpl-text-editable .tiptap li{margin:4px 0}.tpl-text-content s,.tpl-text-editable .tiptap s{text-decoration-line:line-through}.tpl-text-content sub,.tpl-text-editable .tiptap sub{vertical-align:sub;font-size:.75em}.tpl-text-content sup,.tpl-text-editable .tiptap sup{vertical-align:super;font-size:.75em}.tpl-text-content a,.tpl-text-editable a{color:var(--tpl-doc-link-color,inherit);-webkit-text-decoration:var(--tpl-doc-link-underline,none);text-decoration:var(--tpl-doc-link-underline,none)}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:500;background-color:var(--tpl-primary);align-items:center;font-size:.9em;font-weight:500;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{background-color:color-mix(in srgb,var(--tpl-primary) 20%,transparent)}}.tpl-text-content span[data-merge-tag],.tpl-text-editable span[data-merge-tag]{color:var(--tpl-primary);unicode-bidi:isolate}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{margin-inline:calc(calc(var(--tpl-base-size) / 4) * .5);border-radius:calc(.25 * var(--tpl-base-size));padding-inline:calc(calc(var(--tpl-base-size) / 4) * 1.5);padding-block:calc(calc(var(--tpl-base-size) / 4) * .5);--tw-font-weight:700;--tw-tracking:.025em;letter-spacing:.025em;text-transform:uppercase;border:1.5px solid var(--tpl-primary);unicode-bidi:isolate;background-color:#0000;align-items:center;font-size:.8em;font-weight:700;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{border:1.5px solid color-mix(in srgb,var(--tpl-primary) 50%,transparent)}}.tpl-text-content span[data-logic-merge-tag],.tpl-text-editable span[data-logic-merge-tag]{color:var(--tpl-primary)}.tpl-tooltip{position:relative}.tpl-tooltip:after{content:attr(data-tooltip);border-radius:var(--tpl-radius-sm);background-color:var(--tpl-chrome-text);color:var(--tpl-bg);white-space:normal;text-align:center;pointer-events:none;opacity:0;text-transform:none;z-index:50;width:max-content;max-width:min(320px,90vw);padding:4px 10px;font-size:12px;font-weight:500;line-height:1.4;transition:opacity .15s;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%)}.tpl-tooltip:before{content:\"\";border:4px solid #0000;border-bottom-color:var(--tpl-chrome-text);pointer-events:none;opacity:0;z-index:50;transition:opacity .15s;position:absolute;top:calc(100% + 2px);left:50%;transform:translate(-50%)}.tpl-tooltip:hover:after,.tpl-tooltip:hover:before{opacity:1}.tpl-media-overlay{background-color:var(--tpl-overlay);-webkit-backdrop-filter:blur(8px);height:100%;min-height:0;color:var(--tpl-text);flex-direction:row;justify-content:center;align-items:center;display:flex}.tpl.tpl-text-toolbar{flex-direction:row;height:auto;min-height:0;display:flex}.tpl.tpl-link-dialog{background-color:var(--tpl-overlay);flex-direction:row;justify-content:center;align-items:center;height:100%;min-height:0;display:flex}.tpl-upload-zone-active{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}@property --tpl-comet-angle{syntax:\"<angle>\";inherits:false;initial-value:0deg}@property --tpl-comet-start{syntax:\"<percentage>\";inherits:false;initial-value:100%}@keyframes tpl-ai-comet{0%{--tpl-comet-angle:0deg;--tpl-comet-start:100%}1%{--tpl-comet-angle:24deg;--tpl-comet-start:88%}5%{--tpl-comet-angle:120deg;--tpl-comet-start:60%}25%{--tpl-comet-angle:600deg;--tpl-comet-start:60%}33%{--tpl-comet-angle:720deg;--tpl-comet-start:100%}to{--tpl-comet-angle:720deg;--tpl-comet-start:100%}}.tpl-ai-btn--idle{background-color:var(--tpl-primary-light);color:var(--tpl-text);box-shadow:none;z-index:0;position:relative}.tpl-ai-btn--idle:before{content:\"\";border-radius:inherit;background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),var(--tpl-primary) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%);padding:2px;position:absolute;inset:-2px}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:before{background:conic-gradient(from var(--tpl-comet-angle),transparent 0%,transparent var(--tpl-comet-start),color-mix(in srgb,var(--tpl-primary) 40%,transparent) 80%,var(--tpl-primary) 90%,var(--tpl-primary) 97%,transparent 100%)}}.tpl-ai-btn--idle:before{z-index:-1;pointer-events:none;animation:20s linear 3s infinite tpl-ai-comet;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.tpl-ai-btn--idle:hover{background-color:var(--tpl-primary);color:var(--tpl-on-primary);transform:translateY(-1px);box-shadow:0 0 0 3px var(--tpl-primary),0 4px 16px var(--tpl-primary)!important}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--idle:hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-primary) 20%,transparent),0 4px 16px color-mix(in srgb,var(--tpl-primary) 30%,transparent)!important}}.tpl-ai-btn--idle:hover:before{animation:none}.tpl-ai-btn--active{background-color:var(--tpl-primary-light);color:var(--tpl-primary-hover);border:1px solid var(--tpl-primary)}.tpl-ai-btn--active .tpl-ai-btn-icon{fill:var(--tpl-primary)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active .tpl-ai-btn-icon{fill:color-mix(in srgb,var(--tpl-primary) 25%,transparent)}}.tpl-ai-btn--active:hover{background-color:var(--tpl-primary-light)}@supports (color:color-mix(in lab,red,red)){.tpl-ai-btn--active:hover{background-color:color-mix(in srgb,var(--tpl-primary-light) 80%,var(--tpl-primary))}}.tpl-merge-tag-delete:hover{color:var(--tpl-danger)!important}@media(prefers-reduced-motion:reduce){.tpl-pulse,.tpl-shimmer,.tpl-fade-in,.tpl-scale-in,.tpl-ai-btn--idle:before{animation:none}.tpl-shimmer{background:var(--tpl-bg-hover)}.tpl-spinner{animation:1s linear infinite tpl-spin}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}.tpl-preview-pill-enter-active[data-v-e77200ef]{transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .2s cubic-bezier(.16,1,.3,1)}.tpl-preview-pill-leave-active[data-v-e77200ef]{transition:opacity .15s ease-in,transform .15s ease-in}.tpl-preview-pill-enter-from[data-v-e77200ef],.tpl-preview-pill-leave-to[data-v-e77200ef]{opacity:0;transform:translateY(-8px) scale(.9)}.tpl-preview-pill-enter-to[data-v-e77200ef],.tpl-preview-pill-leave-from[data-v-e77200ef]{opacity:1;transform:translateY(0) scale(1)}hex-color-picker{--hcp-width: 200px}hex-color-picker::part(hue){border-radius:var(--tpl-radius-sm, 7px)}hex-color-picker::part(saturation){border-radius:var(--tpl-radius-sm, 7px) var(--tpl-radius-sm, 7px) 0 0}.tpl-color-swatch-empty{background-color:var(--tpl-bg);background-image:linear-gradient(to top right,transparent calc(50% - .75px),var(--tpl-text-dim) calc(50% - .75px),var(--tpl-text-dim) calc(50% + .75px),transparent calc(50% + .75px))}.tpl-color-swatch-transparent{background-color:var(--tpl-bg);background-image:repeating-conic-gradient(var(--tpl-border) 0% 25%,var(--tpl-bg) 0% 50%);background-size:8px 8px}.tpl-pulse-fill[data-v-fca026e4]{animation:tpl-field-pulse-fca026e4 1s ease-out}@keyframes tpl-field-pulse-fca026e4{0%{box-shadow:0 0 color-mix(in srgb,var(--tpl-warning) 30%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 6%,transparent)}40%{box-shadow:0 0 0 3px color-mix(in srgb,var(--tpl-warning) 15%,transparent);background-color:color-mix(in srgb,var(--tpl-warning) 5%,transparent)}to{box-shadow:0 0 0 0 transparent;background-color:transparent}}@media(prefers-reduced-motion:reduce){.tpl-pulse-fill[data-v-fca026e4]{animation:none}}input[type=number][data-v-69591c1e]::-webkit-outer-spin-button,input[type=number][data-v-69591c1e]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-69591c1e]{-moz-appearance:textfield}.tpl-collapsible[data-v-e2d2c22f]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s cubic-bezier(.16,1,.3,1)}.tpl-collapsible--open[data-v-e2d2c22f]{grid-template-rows:1fr}.tpl-collapsible>div[data-v-e2d2c22f]{overflow:hidden}.tpl-saved-block-skeleton{animation:tpl-saved-block-pulse 1.4s ease-in-out infinite}@keyframes tpl-saved-block-pulse{0%,to{opacity:1}50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.tpl-saved-block-skeleton{animation:none}}.tpl-saved-block-select:focus-visible{box-shadow:none}.tpl-saved-block-select:focus-visible:after{content:\"\";position:absolute;inset:-1px;border-radius:var(--tpl-radius-sm);box-shadow:var(--tpl-ring);pointer-events:none}.tpl-saved-block-delete-btn:hover{color:var(--tpl-danger)!important}.tpl-saved-block-rename-btn:hover{color:var(--tpl-primary)!important}.tpl-media-item[data-v-57c35946]:not(.tpl-media-item--selected):hover{border-color:var(--tpl-border)!important}.tpl-media-list-item[data-v-57c35946]:hover{background-color:var(--tpl-bg-hover)!important}.tpl-list-icon[data-v-57c35946]{transform:scale(.35);transform-origin:center}.tpl-preview-icon[data-v-50993988]{transform:scale(.45);transform-origin:center}.tpl-comments-slide-enter-active[data-v-32af5912]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-comments-slide-leave-active[data-v-32af5912]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-comments-input-wrapper[data-v-32af5912]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-comments-send-btn[data-v-32af5912]:not(:disabled):hover{transform:scale(1.05)}.tpl-comment-filter[data-v-32af5912]{color:var(--tpl-text-muted);background-color:transparent}.tpl-comment-filter[data-v-32af5912]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-filter--active[data-v-32af5912]{background-color:var(--tpl-primary-light);color:var(--tpl-primary)}.tpl-comment-action[data-v-32af5912]{color:var(--tpl-text-dim);background-color:transparent}.tpl-comment-action[data-v-32af5912]:hover{background-color:var(--tpl-bg-hover);color:var(--tpl-text)}.tpl-comment-delete[data-v-32af5912]:hover{background-color:var(--tpl-danger-light);color:var(--tpl-danger)}.tpl-comment-card[data-v-32af5912],.tpl-comment-reply-card[data-v-32af5912]{border-color:var(--tpl-border);background-color:var(--tpl-bg)}.tpl-resolve-enter-active[data-v-32af5912],.tpl-resolve-leave-active[data-v-32af5912]{transition:opacity .3s ease,transform .3s ease}.tpl-resolve-enter-from[data-v-32af5912],.tpl-resolve-leave-to[data-v-32af5912]{opacity:0;transform:translateY(-4px)}.tpl-resolve-icon[data-v-32af5912]{transition:color .3s ease,transform .2s ease}.tpl-resolve-icon[data-v-32af5912]:active{transform:scale(1.3)}.tpl-replies-enter-active[data-v-32af5912],.tpl-replies-leave-active[data-v-32af5912]{transition:opacity .25s ease,transform .25s ease}.tpl-replies-enter-from[data-v-32af5912],.tpl-replies-leave-to[data-v-32af5912]{opacity:0;transform:translateY(-4px)}.tpl-ai-slide-enter-active[data-v-0a3b048c]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-ai-slide-leave-active[data-v-0a3b048c]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-ai-input-wrapper[data-v-0a3b048c]:focus-within{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-ai-send-btn[data-v-0a3b048c]:not(:disabled):hover{transform:scale(1.05)}.tpl-suggestion-btn[data-v-0a3b048c]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-design-slide-enter-active[data-v-a5a76ec5]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-design-slide-leave-active[data-v-a5a76ec5]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-design-prompt-input[data-v-a5a76ec5]:focus{border-color:var(--tpl-primary);box-shadow:var(--tpl-ring)}.tpl-design-dropzone[data-v-a5a76ec5]:hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-scoring-slide-enter-active[data-v-165e948a]{transition:transform .28s cubic-bezier(.16,1,.3,1)}.tpl-scoring-slide-leave-active[data-v-165e948a]{transition:transform .2s cubic-bezier(.16,1,.3,1)}.tpl-scoring-fix-btn[data-v-165e948a]:not(:disabled):hover{border-color:var(--tpl-primary)!important;background-color:var(--tpl-primary-light)!important}.tpl-ai-feature-menu-item[data-v-bf59b787]:hover{background-color:var(--tpl-bg-hover)!important}.vue-advanced-cropper{text-align:center;position:relative;user-select:none;max-height:100%;max-width:100%;direction:ltr}.vue-advanced-cropper__stretcher{pointer-events:none;position:relative;max-width:100%;max-height:100%}.vue-advanced-cropper__image{user-select:none;position:absolute;transform-origin:center;max-width:none!important}.vue-advanced-cropper__background,.vue-advanced-cropper__foreground{opacity:1;background:#000;transform:translate(-50%,-50%);position:absolute;top:50%;left:50%}.vue-advanced-cropper__foreground{opacity:.5}.vue-advanced-cropper__boundaries{opacity:1;transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.vue-advanced-cropper__cropper-wrapper{width:100%;height:100%}.vue-advanced-cropper__image-wrapper{overflow:hidden;position:absolute;width:100%;height:100%}.vue-advanced-cropper__stencil-wrapper{position:absolute}.vue-simple-handler{display:block;background:#fff;height:10px;width:10px}.vue-handler-wrapper{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px}.vue-handler-wrapper__draggable{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.vue-handler-wrapper--west-north{cursor:nw-resize}.vue-handler-wrapper--north{cursor:n-resize}.vue-handler-wrapper--east-north{cursor:ne-resize}.vue-handler-wrapper--east{cursor:e-resize}.vue-handler-wrapper--east-south{cursor:se-resize}.vue-handler-wrapper--south{cursor:s-resize}.vue-handler-wrapper--west-south{cursor:sw-resize}.vue-handler-wrapper--west{cursor:w-resize}.vue-handler-wrapper--disabled{cursor:auto}.vue-line-wrapper{background:none;position:absolute;display:flex;align-items:center;justify-content:center}.vue-line-wrapper--north,.vue-line-wrapper--south{height:12px;width:100%;left:0;transform:translateY(-50%)}.vue-line-wrapper--north{top:0;cursor:n-resize}.vue-line-wrapper--south{top:100%;cursor:s-resize}.vue-line-wrapper--east,.vue-line-wrapper--west{width:12px;height:100%;transform:translate(-50%);top:0}.vue-line-wrapper--east{left:100%;cursor:e-resize}.vue-line-wrapper--west{left:0;cursor:w-resize}.vue-line-wrapper--disabled{cursor:auto}.vue-bounding-box{position:relative;height:100%;width:100%}.vue-bounding-box__handler{position:absolute}.vue-bounding-box__handler--west-north{left:0;top:0}.vue-bounding-box__handler--north{left:50%;top:0}.vue-bounding-box__handler--east-north{left:100%;top:0}.vue-bounding-box__handler--east{left:100%;top:50%}.vue-bounding-box__handler--east-south{left:100%;top:100%}.vue-bounding-box__handler--south{left:50%;top:100%}.vue-bounding-box__handler--west-south{left:0;top:100%}.vue-bounding-box__handler--west{left:0;top:50%}.vue-draggable-area{position:relative}.vue-preview-result{overflow:hidden;box-sizing:border-box;position:absolute;height:100%;width:100%}.vue-preview-result__wrapper{position:absolute}.vue-preview-result__image{pointer-events:none;position:relative;user-select:none;transform-origin:center;max-width:none!important}.vue-rectangle-stencil{position:absolute;height:100%;width:100%;box-sizing:border-box}.vue-rectangle-stencil__preview{position:absolute;width:100%;height:100%}.vue-rectangle-stencil--movable{cursor:move}.vue-circle-stencil{position:absolute;height:100%;width:100%;box-sizing:content-box;cursor:move}.vue-circle-stencil__preview{border-radius:50%;position:absolute;width:100%;height:100%}.vue-circle-stencil--movable{cursor:move}.vue-preview{overflow:hidden;box-sizing:border-box;position:relative}.vue-preview--fill{width:100%;height:100%;position:absolute}.vue-preview__wrapper{position:absolute;height:100%;width:100%}.vue-preview__image{pointer-events:none;position:absolute;user-select:none;transform-origin:center;max-width:none!important}.vue-simple-line{background:none;transition:border .5s;border-color:#ffffff4d;border-width:0;border-style:solid}.vue-simple-line--south,.vue-simple-line--north{height:0;width:100%}.vue-simple-line--east,.vue-simple-line--west{height:100%;width:0}.vue-simple-line--east{border-right-width:1px}.vue-simple-line--west{border-left-width:1px}.vue-simple-line--south{border-bottom-width:1px}.vue-simple-line--north{border-top-width:1px}.vue-simple-line--hover{opacity:1;border-color:#fff}[data-v-7d9a1872] .tpl-cropper-background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper{background-color:transparent!important}[data-v-7d9a1872] .vue-advanced-cropper__background{background-color:var(--tpl-bg)!important}[data-v-7d9a1872] .vue-advanced-cropper__foreground{background-color:var(--tpl-overlay)!important}\n/*$vite$:1*/", ia = null;
2533
+ function aa() {
2534
+ if (ia === null) {
2526
2535
  let e = new CSSStyleSheet();
2527
- e.replaceSync(Ji(Qi)), $i = e;
2536
+ e.replaceSync($i(ra)), ia = e;
2528
2537
  }
2529
- return $i;
2538
+ return ia;
2530
2539
  }
2531
- function ta(e) {
2540
+ function oa(e) {
2532
2541
  return () => {};
2533
2542
  }
2534
- function na(e, t) {
2543
+ function sa(e, t) {
2535
2544
  if (!t) return {
2536
2545
  target: e,
2537
2546
  shadowRoot: null,
2538
2547
  cleanup: () => {}
2539
2548
  };
2540
2549
  let n = e.shadowRoot ?? e.attachShadow({ mode: "open" });
2541
- for (n.adoptedStyleSheets = [ea()]; n.firstChild;) n.removeChild(n.firstChild);
2550
+ for (n.adoptedStyleSheets = [aa()]; n.firstChild;) n.removeChild(n.firstChild);
2542
2551
  let r = document.createElement("div");
2543
2552
  return r.className = "tpl-editor-host", r.style.cssText = "display:block;height:100%;width:100%;", n.appendChild(r), {
2544
2553
  target: r,
2545
2554
  shadowRoot: n,
2546
- cleanup: ta(n)
2555
+ cleanup: oa(n)
2547
2556
  };
2548
2557
  }
2549
- var ra = /* @__PURE__ */ new Map(), ia = null, aa = 0, oa = /* @__PURE__ */ new WeakMap();
2550
- function sa(e) {
2558
+ var ca = /* @__PURE__ */ new Map(), la = null, ua = 0, da = /* @__PURE__ */ new WeakMap();
2559
+ function fa(e) {
2551
2560
  let t = typeof e == "string" ? document.querySelector(e) : e;
2552
2561
  if (!t) throw Error(`[Templatical] Container element not found: ${e}`);
2553
- let n = ++aa;
2554
- return oa.set(t, n), {
2562
+ let n = ++ua;
2563
+ return da.set(t, n), {
2555
2564
  container: t,
2556
2565
  token: n
2557
2566
  };
2558
2567
  }
2559
- function ca(e, t) {
2560
- let n = ra.get(e);
2561
- n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), ra.delete(e), ia === e && (ia = null)));
2568
+ function pa(e, t) {
2569
+ let n = ca.get(e);
2570
+ n && (t && n.app !== t || (n.cleanup(), n.app.unmount(), ca.delete(e), la === e && (la = null)));
2562
2571
  }
2563
- function la(e) {
2564
- e.layout && (e.layout = jn(e.layout, e.mergeTags), Z(e.layout)), e.content && (e.content = jn(e.content, e.mergeTags), z(e.content), R(e.content));
2572
+ function ma(e) {
2573
+ e.layout && (e.layout = In(e.layout, e.mergeTags), Z(e.layout)), e.content && (e.content = In(e.content, e.mergeTags), B(e.content), z(e.content));
2565
2574
  }
2566
- async function ua(e) {
2575
+ async function ha(e) {
2567
2576
  let t = { ...e };
2568
- return la(t), da(t, sa(t.container));
2577
+ return ma(t), ga(t, fa(t.container));
2569
2578
  }
2570
- async function da(e, { container: t, token: n }, r) {
2571
- e.locale !== void 0 && !Ne(e.locale) && gt.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${Pe().sort().join(", ")}.`);
2572
- let i = await we(e.locale ?? "en"), a = We(e.fonts);
2573
- if (oa.get(t) !== n) return fa({
2579
+ async function ga(e, { container: t, token: n }, r) {
2580
+ e.locale !== void 0 && !Te(e.locale) && St.warn(`config.locale: "${e.locale}" has no translations — falling back to English. Supported: ${ke().sort().join(", ")}.`);
2581
+ let i = await De(e.locale ?? "en"), a = Pe(e.fonts);
2582
+ if (da.get(t) !== n) return _a({
2574
2583
  config: e,
2575
2584
  editorRef: c(null),
2576
2585
  fontsManager: a,
2577
2586
  unmount: () => {}
2578
2587
  }).instance;
2579
- ca(t);
2580
- let o = na(t, e.shadowDom ?? !0), s = c(null), l = k({ setup() {
2581
- return () => P(Ki, {
2588
+ pa(t);
2589
+ let o = sa(t, e.shadowDom ?? !0), s = c(null), l = k({ setup() {
2590
+ return () => F(Zi, {
2582
2591
  config: e,
2583
2592
  translations: i,
2584
2593
  fontsManager: a,
@@ -2589,31 +2598,31 @@ async function da(e, { container: t, token: n }, r) {
2589
2598
  ref: s
2590
2599
  });
2591
2600
  } });
2592
- l.mount(o.target), ra.set(t, {
2601
+ l.mount(o.target), ca.set(t, {
2593
2602
  app: l,
2594
2603
  editorRef: s,
2595
2604
  cleanup: o.cleanup
2596
- }), ia = t;
2597
- let { instance: u, render: d } = fa({
2605
+ }), la = t;
2606
+ let { instance: u, render: d } = _a({
2598
2607
  config: e,
2599
2608
  editorRef: s,
2600
2609
  fontsManager: a,
2601
- unmount: () => ca(t, l)
2610
+ unmount: () => pa(t, l)
2602
2611
  });
2603
2612
  return u;
2604
2613
  }
2605
- function fa({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
2614
+ function _a({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
2606
2615
  let i = {
2607
2616
  getContent() {
2608
- return W(t.value ? t.value.getContent() : e.content ?? G(e.fonts?.defaultFont, sn(e)));
2617
+ return G(t.value ? t.value.getContent() : e.content ?? K(e.fonts?.defaultFont, dn(e)));
2609
2618
  },
2610
2619
  setContent(n) {
2611
- let r = jn(n, e.mergeTags);
2620
+ let r = In(n, e.mergeTags);
2612
2621
  t.value && t.value.setContent(r), e.content = r;
2613
2622
  },
2614
2623
  insertBlock(n) {
2615
2624
  let r = { blocks: [n] };
2616
- return z(r), R(r), t.value ? t.value.insertBlock(Mn(n, e.mergeTags)) : null;
2625
+ return B(r), z(r), t.value ? t.value.insertBlock(Ln(n, e.mergeTags)) : null;
2617
2626
  },
2618
2627
  setTheme(e) {
2619
2628
  t.value && t.value.setTheme(e);
@@ -2628,7 +2637,7 @@ function fa({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
2628
2637
  create(n) {
2629
2638
  return t.value ? t.value.create(n?.content ? {
2630
2639
  ...n,
2631
- content: jn(n.content, e.mergeTags)
2640
+ content: In(n.content, e.mergeTags)
2632
2641
  } : n) : Promise.reject(/* @__PURE__ */ Error("[Templatical] Editor not ready"));
2633
2642
  },
2634
2643
  load(e) {
@@ -2648,19 +2657,20 @@ function fa({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
2648
2657
  },
2649
2658
  toMjml: () => a.toMjml(),
2650
2659
  toHtml: () => a.toHtml()
2651
- }, a = Zi({
2660
+ }, a = na({
2652
2661
  provider: e.render,
2653
- buildPayload: () => Xi({
2662
+ buildPayload: () => ta({
2654
2663
  getContent: () => i.getContent(),
2655
2664
  renderCustomBlock: (e) => i.renderCustomBlock(e),
2656
- getFonts: () => Yi(n),
2665
+ getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
2666
+ getFonts: () => ea(n),
2657
2667
  getLayout: () => e.layout
2658
2668
  }),
2659
- renderLocalMjml: () => gn({
2669
+ renderLocalMjml: () => xn({
2660
2670
  getContent: () => i.getContent(),
2661
2671
  renderCustomBlock: (e) => i.renderCustomBlock(e),
2662
2672
  getCustomBlockStylesheet: (e) => i.getCustomBlockStylesheet(e),
2663
- getFonts: () => Yi(n),
2673
+ getFonts: () => ea(n),
2664
2674
  socialIconsBaseUrl: e.socialIconsBaseUrl,
2665
2675
  getLayout: () => e.layout
2666
2676
  })
@@ -2670,18 +2680,18 @@ function fa({ config: e, editorRef: t, fontsManager: n, unmount: r }) {
2670
2680
  render: a
2671
2681
  };
2672
2682
  }
2673
- async function pa(e) {
2683
+ async function va(e) {
2674
2684
  let t = {
2675
2685
  layout: e.layout,
2676
2686
  content: e.content,
2677
2687
  mergeTags: e.mergeTags
2678
2688
  };
2679
- la(t);
2680
- let n = sa(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./chunks/createCloudRuntime-bJN9EM1H.js"), Ce(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
2689
+ ma(t);
2690
+ let n = fa(e.container), [{ bootstrapCloud: r }, i] = await Promise.all([import("./chunks/createCloudRuntime-Vd0N4elZ.js"), Ee(e.locale ?? "en")]), { runtime: a, providers: o, user: s } = await r({
2681
2691
  config: e,
2682
2692
  cloudTranslations: i
2683
2693
  });
2684
- return da({
2694
+ return ga({
2685
2695
  container: e.container,
2686
2696
  content: t.content,
2687
2697
  layout: t.layout,
@@ -2725,10 +2735,10 @@ async function pa(e) {
2725
2735
  user: s
2726
2736
  }, n, a);
2727
2737
  }
2728
- function ma() {
2729
- ia && ca(ia);
2738
+ function ya() {
2739
+ la && pa(la);
2730
2740
  }
2731
2741
  //#endregion
2732
- export { V as applyLayout, G as createDefaultTemplateContent, le as createLocalStorageMediaProvider, ue as createLocalStorageSavedBlocksProvider, se as createParagraphBlock, H as createSlotBlock, ae as createWrapperBlock, xe as getBaseLocale, Te as getSupportedCloudLocales, Pe as getSupportedLocales, ua as init, pa as initCloud, be as isCloudLocaleSupported, Ne as isLocaleSupported, re as isSlot, Y as isWrapper, B as layoutWrapsSlot, ma as unmount, Z as validateLayout };
2742
+ export { H as applyLayout, K as createDefaultTemplateContent, ce as createLocalStorageMediaProvider, de as createLocalStorageSavedBlocksProvider, se as createParagraphBlock, U as createSlotBlock, ae as createWrapperBlock, Ve as getBaseLocale, Oe as getSupportedCloudLocales, ke as getSupportedLocales, ha as init, va as initCloud, je as isCloudLocaleSupported, Te as isLocaleSupported, re as isSlot, X as isWrapper, V as layoutWrapsSlot, ya as unmount, Z as validateLayout };
2733
2743
 
2734
2744
  //# sourceMappingURL=editor.js.map