@aswin.dev/editor 0.7.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/LICENSE +56 -0
  2. package/README.md +3 -3
  3. package/dist/{AccessibilityPanel-CvQGLdu6.js → AccessibilityPanel-EmQ19wiS.js} +37 -37
  4. package/dist/{AiChatSidebar-B3SJIKG_.js → AiChatSidebar-DeB0w_32.js} +67 -81
  5. package/dist/{AiFeatureMenu-BLLKoOos.js → AiFeatureMenu-DoLD5Cde.js} +22 -22
  6. package/dist/{BlockA11yBadge-CXDLqkcJ.js → BlockA11yBadge-DkNbDvJA.js} +12 -12
  7. package/dist/CloudEditor-zo9PjjvY.js +1214 -0
  8. package/dist/{CollaboratorBar-DuPYW5iF.js → CollaboratorBar-BsXMY-8e.js} +21 -21
  9. package/dist/CommentsSidebar-DIWIa4rS.js +436 -0
  10. package/dist/CountdownBlock-BCi7-DAM.js +92 -0
  11. package/dist/CountdownToolbar-BuS8p5ju.js +210 -0
  12. package/dist/{DesignReferenceSidebar-B8V_F2yF.js → DesignReferenceSidebar-RDlnhL-6.js} +58 -58
  13. package/dist/{LoadingTrack-B0CWFHXQ.js → LoadingTrack-BJ59h9ok.js} +2 -2
  14. package/dist/ModuleBrowserModal-b7HbpByz.js +206 -0
  15. package/dist/ModulePreviewCanvas-D__YlOLS.js +108 -0
  16. package/dist/{NumberWithSuffix-DkXUez9t.js → NumberWithSuffix-Ca3vNY84.js} +87 -87
  17. package/dist/{ParagraphEditor-D75wl3BX.js → ParagraphEditor-B1aYPO-6.js} +182 -182
  18. package/dist/{RichTextEditorContent-DYkIauIk.js → RichTextEditorContent-BmEVMrkJ.js} +38 -38
  19. package/dist/{SaveModuleDialog-FZ9lxY7_.js → SaveModuleDialog-ClovqI6h.js} +28 -28
  20. package/dist/{SnapshotHistory-BR3eV120.js → SnapshotHistory-DoqtH0cw.js} +45 -50
  21. package/dist/{TemplateScoringPanel-4GTNHej5.js → TemplateScoringPanel-DQv2ZAiL.js} +75 -75
  22. package/dist/{TestEmailModal--ue5w9fT.js → TestEmailModal-iIeYJYsj.js} +28 -28
  23. package/dist/{TitleEditor-fStSADI-.js → TitleEditor-CTDIwRF_.js} +68 -68
  24. package/dist/{TplModal-BwSfxIHf.js → TplModal-CBq1J1pG.js} +14 -14
  25. package/dist/{accessibility-e8JYu_zd.js → accessibility-BU09xZrQ.js} +1 -1
  26. package/dist/{blockTypeIcons-BcTrDjmH.js → blockTypeIcons-QkC6f5UE.js} +19 -5
  27. package/dist/bundle-stats.json +7 -7
  28. package/dist/cdn/chunks/{AccessibilityPanel-B6DOjojm.js → AccessibilityPanel-BeU8nz7A.js} +28 -28
  29. package/dist/cdn/chunks/{AccessibilityPanel-B6DOjojm.js.map → AccessibilityPanel-BeU8nz7A.js.map} +1 -1
  30. package/dist/cdn/chunks/{AiFeatureMenu-qEdB2fZJ.js → AiFeatureMenu-B2mhscyP.js} +21 -21
  31. package/dist/cdn/chunks/AiFeatureMenu-B2mhscyP.js.map +1 -0
  32. package/dist/cdn/chunks/{BlockA11yBadge-DcEZftf6.js → BlockA11yBadge-C4g77gF0.js} +11 -11
  33. package/dist/cdn/chunks/{BlockA11yBadge-DcEZftf6.js.map → BlockA11yBadge-C4g77gF0.js.map} +1 -1
  34. package/dist/{CloudEditor-BCz1ZTYC.js → cdn/chunks/CloudEditor-Btyr0b0_.js} +486 -475
  35. package/dist/cdn/chunks/CloudEditor-Btyr0b0_.js.map +1 -0
  36. package/dist/cdn/chunks/{CollaboratorBar--nO7TX6b.js → CollaboratorBar-YBiIjiRh.js} +15 -15
  37. package/dist/cdn/chunks/CollaboratorBar-YBiIjiRh.js.map +1 -0
  38. package/dist/cdn/chunks/CountdownBlock-B06UZoWe.js +93 -0
  39. package/dist/cdn/chunks/CountdownBlock-B06UZoWe.js.map +1 -0
  40. package/dist/cdn/chunks/CountdownToolbar-C9XZr33O.js +212 -0
  41. package/dist/cdn/chunks/CountdownToolbar-C9XZr33O.js.map +1 -0
  42. package/dist/{ModuleBrowserModal-DrUFMTDx.js → cdn/chunks/ModuleBrowserModal-C2CDWKW6.js} +51 -62
  43. package/dist/cdn/chunks/ModuleBrowserModal-C2CDWKW6.js.map +1 -0
  44. package/dist/cdn/chunks/ModulePreviewCanvas-Drt8Evai.js +109 -0
  45. package/dist/cdn/chunks/ModulePreviewCanvas-Drt8Evai.js.map +1 -0
  46. package/dist/cdn/chunks/{NumberWithSuffix-CE3NrZhH.js → NumberWithSuffix-Ty1bp9vB.js} +64 -64
  47. package/dist/cdn/chunks/{NumberWithSuffix-CE3NrZhH.js.map → NumberWithSuffix-Ty1bp9vB.js.map} +1 -1
  48. package/dist/cdn/chunks/{ParagraphEditor-B6Ygu-Mq.js → ParagraphEditor-BA1WbHI7.js} +188 -188
  49. package/dist/cdn/chunks/{ParagraphEditor-B6Ygu-Mq.js.map → ParagraphEditor-BA1WbHI7.js.map} +1 -1
  50. package/dist/cdn/chunks/{RichTextEditorContent-DL_y2SrR.js → RichTextEditorContent-BtWCA_Oc.js} +30 -30
  51. package/dist/cdn/chunks/{RichTextEditorContent-DL_y2SrR.js.map → RichTextEditorContent-BtWCA_Oc.js.map} +1 -1
  52. package/dist/cdn/chunks/{SaveModuleDialog-B0TnO_o9.js → SaveModuleDialog-AwL0tkCV.js} +21 -21
  53. package/dist/cdn/chunks/SaveModuleDialog-AwL0tkCV.js.map +1 -0
  54. package/dist/cdn/chunks/{TitleEditor-BHpfxvwy.js → TitleEditor-DbSyeixS.js} +65 -65
  55. package/dist/cdn/chunks/TitleEditor-DbSyeixS.js.map +1 -0
  56. package/dist/cdn/chunks/blockTypeIcons-pQIkxJzc.js +23 -0
  57. package/dist/cdn/chunks/blockTypeIcons-pQIkxJzc.js.map +1 -0
  58. package/dist/cdn/chunks/{de-D8CnZxV9.js → de-_tooy3Q8.js} +250 -2
  59. package/dist/cdn/chunks/de-_tooy3Q8.js.map +1 -0
  60. package/dist/cdn/chunks/{draggable-Bcb86AsV.js → draggable-C-1_gch3.js} +2 -2
  61. package/dist/cdn/chunks/{draggable-Bcb86AsV.js.map → draggable-C-1_gch3.js.map} +1 -1
  62. package/dist/cdn/chunks/{en-8FHaQv4V.js → en-CNqLoIm9.js} +250 -2
  63. package/dist/cdn/chunks/en-CNqLoIm9.js.map +1 -0
  64. package/dist/cdn/chunks/{extensions-DIxF31tA.js → extensions-BVKQw_sp.js} +107 -107
  65. package/dist/cdn/chunks/extensions-BVKQw_sp.js.map +1 -0
  66. package/dist/cdn/chunks/{features-DEMb13KS.js → features-DIBEo4xl.js} +3388 -2289
  67. package/dist/cdn/chunks/features-DIBEo4xl.js.map +1 -0
  68. package/dist/cdn/chunks/{icons-CsLTcirh.js → icons-C1Gg-ov-.js} +346 -54
  69. package/dist/cdn/chunks/icons-C1Gg-ov-.js.map +1 -0
  70. package/dist/cdn/chunks/{media-library-CVaNvhpM.js → media-library-BTF_Ko70.js} +985 -985
  71. package/dist/cdn/chunks/media-library-BTF_Ko70.js.map +1 -0
  72. package/dist/cdn/chunks/{quality-BaBfc54_.js → quality-C5AmotmP.js} +312 -312
  73. package/dist/cdn/chunks/quality-C5AmotmP.js.map +1 -0
  74. package/dist/cdn/chunks/{renderer-CUxvx7ro.js → renderer-D0L44Vlp.js} +236 -142
  75. package/dist/cdn/chunks/renderer-D0L44Vlp.js.map +1 -0
  76. package/dist/cdn/chunks/{src-CRaqN-p8.js → src-RKexlYjA.js} +161 -161
  77. package/dist/cdn/chunks/src-RKexlYjA.js.map +1 -0
  78. package/dist/cdn/chunks/styleConstants-PgmvNBzQ.js +57 -0
  79. package/dist/cdn/chunks/styleConstants-PgmvNBzQ.js.map +1 -0
  80. package/dist/cdn/chunks/styles-CQR6ed13.js +4976 -0
  81. package/dist/cdn/chunks/styles-CQR6ed13.js.map +1 -0
  82. package/dist/cdn/chunks/{tiptap-ZhwKyFp7.js → tiptap-CDzAbF2j.js} +43 -43
  83. package/dist/cdn/chunks/{tiptap-ZhwKyFp7.js.map → tiptap-CDzAbF2j.js.map} +1 -1
  84. package/dist/cdn/editor.css +1 -1
  85. package/dist/cdn/editor.js +211 -123
  86. package/dist/cdn/editor.js.map +1 -1
  87. package/dist/{check-Da05j8yl.js → check-DJrpDKO_.js} +1 -1
  88. package/dist/{chevron-down-R2uY34iD.js → chevron-down-C5oBUhT8.js} +1 -1
  89. package/dist/chevron-right-BqCptpdp.js +10 -0
  90. package/dist/{circle-alert-DZuGWPX-.js → circle-alert-ZQQc98HC.js} +1 -1
  91. package/dist/{clock-CRp2sIub.js → clock-ik2pRJKG.js} +1 -1
  92. package/dist/{cloud-DEk_b4CR.js → cloud-DJG4tb4_.js} +485 -427
  93. package/dist/{createLucideIcon-C3pa2siy.js → createLucideIcon-ClREiSx3.js} +6 -6
  94. package/dist/{de-Brqvgr43.js → de-2LEvILeZ.js} +249 -1
  95. package/dist/{dist-Cp0zXPAD.js → dist-BHAeXaUY.js} +1 -1
  96. package/dist/{dist-BaQIYPsn.js → dist-BSJvAvH3.js} +1 -1
  97. package/dist/{dist-wzMIGj-D.js → dist-BeFnymxK.js} +1 -1
  98. package/dist/dist-Bmir0gYb.js +1167 -0
  99. package/dist/{dist-DDJIWTRY.js → dist-BvPgo-UK.js} +1 -1
  100. package/dist/{dist-BFawx6IS.js → dist-CPVBKMmd.js} +51 -51
  101. package/dist/dist-CivF9P8b.js +382 -0
  102. package/dist/{dist-D6uC2xhi.js → dist-Df4ie7vZ.js} +1 -1
  103. package/dist/{dist-us-RpCWN.js → dist-DxOoemkW.js} +1 -1
  104. package/dist/{dist-KoBJjK1G.js → dist-HEQ52gTJ.js} +1 -1
  105. package/dist/{dist-DjviJBCi.js → dist-b-XUqAoF.js} +1 -1
  106. package/dist/{dist-D90y8dvT.js → dist-kZfaVUpW.js} +3 -3
  107. package/dist/{dist-aRzjfSRN.js → dist-wfAedlzi.js} +1 -1
  108. package/dist/{en-WDVp87TE.js → en-D2RU2Poj.js} +249 -1
  109. package/dist/{extensions-CUcl9Ok4.js → extensions-BQ1xXx3d.js} +103 -103
  110. package/dist/{image-up-MBZKKg9p.js → image-up-DT7gcJLN.js} +1 -1
  111. package/dist/index.d.ts +102 -14
  112. package/dist/{info-CJEC7piy.js → info-BSPGcsSM.js} +1 -1
  113. package/dist/keys-CvX8D-8C.js +10 -0
  114. package/dist/{loader-circle-DsY5Yg33.js → loader-circle-Balo8p3d.js} +1 -1
  115. package/dist/{message-circle-yElBbR2C.js → message-circle-B39qAHxs.js} +1 -1
  116. package/dist/pencil-BZJPNYWR.js +10 -0
  117. package/dist/{refresh-cw-CE_AGtn8.js → refresh-cw-DwDqGUM0.js} +1 -1
  118. package/dist/{scan-line-D0vcUekt.js → scan-line-DlghmhNf.js} +1 -1
  119. package/dist/{send-DH4oDQqC.js → send-DDdhIRj8.js} +1 -1
  120. package/dist/{shield-check-CfJgs2Hd.js → shield-check-OSQ-JVTX.js} +1 -1
  121. package/dist/{sparkles-CvRXGqFs.js → sparkles-BN4a-CoF.js} +1 -1
  122. package/dist/style.css +1 -1
  123. package/dist/styleConstants-wWRbcuEK.js +55 -0
  124. package/dist/styles-CavWjvol.js +5487 -0
  125. package/dist/templatical-editor.js +211 -119
  126. package/dist/{text-align-start-BT9VUDxK.js → text-align-start-D1weisjS.js} +1 -1
  127. package/dist/{trash-2-DbP2Y6t2.js → trash-2-CMWvQ5KX.js} +1 -1
  128. package/dist/{triangle-alert-aOXceTSe.js → triangle-alert-DyidRNX_.js} +1 -1
  129. package/dist/undo-2-Cg8I7obC.js +16 -0
  130. package/dist/{useCloudI18n-BuIwR6OE.js → useCloudI18n-BTTNBk5i.js} +2 -2
  131. package/dist/{useEditorCore-C6ost42Q.js → useEditorCore-BGnzcT7p.js} +2424 -2249
  132. package/dist/{useI18n-lb2DHDiu.js → useI18n-C2xQZ6K9.js} +2 -2
  133. package/dist/{useMergeTag-CBwKnnNB.js → useMergeTag-CfuZq2fF.js} +4 -4
  134. package/dist/{vue.runtime.esm-bundler-DpvJL-nX.js → vue.runtime.esm-bundler-CjauPXjj.js} +1 -1
  135. package/dist/{x-u2oVmjN_.js → x-CgIhNcT9.js} +1 -1
  136. package/package.json +15 -15
  137. package/dist/CommentsSidebar-B1pvJdqF.js +0 -441
  138. package/dist/CountdownBlock-BNSj1jvJ.js +0 -92
  139. package/dist/CountdownToolbar-ClJr2GzL.js +0 -210
  140. package/dist/ModulePreviewCanvas-CHdOwV_4.js +0 -106
  141. package/dist/cdn/chunks/AiFeatureMenu-qEdB2fZJ.js.map +0 -1
  142. package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js +0 -1143
  143. package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js.map +0 -1
  144. package/dist/cdn/chunks/CollaboratorBar--nO7TX6b.js.map +0 -1
  145. package/dist/cdn/chunks/CountdownBlock-5YdT1uUu.js +0 -93
  146. package/dist/cdn/chunks/CountdownBlock-5YdT1uUu.js.map +0 -1
  147. package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js +0 -212
  148. package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js.map +0 -1
  149. package/dist/cdn/chunks/ModuleBrowserModal-DxoPp81s.js +0 -195
  150. package/dist/cdn/chunks/ModuleBrowserModal-DxoPp81s.js.map +0 -1
  151. package/dist/cdn/chunks/ModulePreviewCanvas-CoLdb4ar.js +0 -107
  152. package/dist/cdn/chunks/ModulePreviewCanvas-CoLdb4ar.js.map +0 -1
  153. package/dist/cdn/chunks/SaveModuleDialog-B0TnO_o9.js.map +0 -1
  154. package/dist/cdn/chunks/TitleEditor-BHpfxvwy.js.map +0 -1
  155. package/dist/cdn/chunks/blockTypeIcons-BzzY9_kA.js +0 -22
  156. package/dist/cdn/chunks/blockTypeIcons-BzzY9_kA.js.map +0 -1
  157. package/dist/cdn/chunks/de-D8CnZxV9.js.map +0 -1
  158. package/dist/cdn/chunks/en-8FHaQv4V.js.map +0 -1
  159. package/dist/cdn/chunks/extensions-DIxF31tA.js.map +0 -1
  160. package/dist/cdn/chunks/features-DEMb13KS.js.map +0 -1
  161. package/dist/cdn/chunks/icons-CsLTcirh.js.map +0 -1
  162. package/dist/cdn/chunks/media-library-CVaNvhpM.js.map +0 -1
  163. package/dist/cdn/chunks/quality-BaBfc54_.js.map +0 -1
  164. package/dist/cdn/chunks/renderer-CUxvx7ro.js.map +0 -1
  165. package/dist/cdn/chunks/src-CRaqN-p8.js.map +0 -1
  166. package/dist/cdn/chunks/styleConstants-DP1VOca8.js +0 -57
  167. package/dist/cdn/chunks/styleConstants-DP1VOca8.js.map +0 -1
  168. package/dist/cdn/chunks/styles-BHJULjNR.js +0 -2947
  169. package/dist/cdn/chunks/styles-BHJULjNR.js.map +0 -1
  170. package/dist/dist-B1IR0bpH.js +0 -326
  171. package/dist/dist-DJmnUmW9.js +0 -362
  172. package/dist/keys-ciNfSSGj.js +0 -10
  173. package/dist/styleConstants-fWzlIIwN.js +0 -55
  174. package/dist/styles-DEXEkBvg.js +0 -3176
  175. /package/dist/{_plugin-vue_export-helper-B0hnzhyu.js → _plugin-vue_export-helper-Bwh4ceeO.js} +0 -0
  176. /package/dist/{de-DCaaCE5s.js → de-D2npYjrZ.js} +0 -0
  177. /package/dist/{dist-iLBdeBDR.js → dist-DvHLtWVP.js} +0 -0
  178. /package/dist/{emojiData-PQyVa4bU.js → emojiData-DvQBBzmO.js} +0 -0
  179. /package/dist/{en-DXCyK4-X.js → en-ib-4h3_o.js} +0 -0
  180. /package/dist/{formatRelativeTime-BOEf47hq.js → formatRelativeTime-CFDZnEIs.js} +0 -0
  181. /package/dist/{liquid.browser-CdMv1BTn.js → liquid.browser-7Rv0QDiO.js} +0 -0
  182. /package/dist/{readableTextColor-CY3SiRnt.js → readableTextColor-C_9OpzBw.js} +0 -0
@@ -0,0 +1,382 @@
1
+ import { $ as e, D as t, E as n, H as r, K as i, V as a, Y as o, Z as s, at as c, et as l, it as u, j as d, k as f, m as p, nt as m, q as h, st as g, tt as _, w as v } from "./vue.runtime.esm-bundler-CjauPXjj.js";
2
+ //#region ../../node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.33_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
3
+ function y(e, t) {
4
+ return h() ? (s(e, t), !0) : !1;
5
+ }
6
+ var b = /* @__PURE__ */ new WeakMap(), x = (...e) => {
7
+ let r = e[0], i = v()?.proxy ?? h();
8
+ if (i == null && !n()) throw Error("injectLocal must be called in setup");
9
+ return i && b.has(i) && r in b.get(i) ? b.get(i)[r] : t(...e);
10
+ }, S = typeof window < "u" && typeof document < "u";
11
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
12
+ var ee = (e) => e != null, C = Object.prototype.toString, w = (e) => C.call(e) === "[object Object]", T = () => {}, E = /* @__PURE__ */ D();
13
+ function D() {
14
+ var e, t;
15
+ return S && !!(!((e = window) == null || (e = e.navigator) == null) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
16
+ }
17
+ function O(...t) {
18
+ if (t.length !== 1) return u(...t);
19
+ let n = t[0];
20
+ return typeof n == "function" ? e(i(() => ({
21
+ get: n,
22
+ set: T
23
+ }))) : l(n);
24
+ }
25
+ function k(e, t) {
26
+ function n(...n) {
27
+ return new Promise((r, i) => {
28
+ Promise.resolve(e(() => t.apply(this, n), {
29
+ fn: t,
30
+ thisArg: this,
31
+ args: n
32
+ })).then(r).catch(i);
33
+ });
34
+ }
35
+ return n;
36
+ }
37
+ var A = (e) => e();
38
+ function j(e, t = {}) {
39
+ let n, r, i = T, a = (e) => {
40
+ clearTimeout(e), i(), i = T;
41
+ }, o;
42
+ return (s) => {
43
+ let l = c(e), u = c(t.maxWait);
44
+ return n && a(n), l <= 0 || u !== void 0 && u <= 0 ? (r &&= (a(r), void 0), Promise.resolve(s())) : new Promise((e, c) => {
45
+ i = t.rejectOnCancel ? c : e, o = s, u && !r && (r = setTimeout(() => {
46
+ n && a(n), r = void 0, e(o());
47
+ }, u)), n = setTimeout(() => {
48
+ r && a(r), r = void 0, e(s());
49
+ }, l);
50
+ });
51
+ };
52
+ }
53
+ function M(e) {
54
+ return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
55
+ }
56
+ function N(e) {
57
+ return Array.isArray(e) ? e : [e];
58
+ }
59
+ function te(e) {
60
+ return e || v();
61
+ }
62
+ function ne(e, t = 200, n = {}) {
63
+ return k(j(t, n), e);
64
+ }
65
+ function re(e, t, n = {}) {
66
+ let { eventFilter: r = A, ...i } = n;
67
+ return a(e, k(r, t), i);
68
+ }
69
+ function P(e, t = !0, n) {
70
+ te(n) ? d(e, n) : t ? e() : f(e);
71
+ }
72
+ function F(e, t = 1e3, n = {}) {
73
+ let { immediate: r = !0, immediateCallback: i = !1 } = n, s = null, l = m(!1);
74
+ function u() {
75
+ s &&= (clearInterval(s), null);
76
+ }
77
+ function d() {
78
+ l.value = !1, u();
79
+ }
80
+ function f() {
81
+ let n = c(t);
82
+ n <= 0 || (l.value = !0, i && e(), u(), l.value && (s = setInterval(e, n)));
83
+ }
84
+ return r && S && f(), (o(t) || typeof t == "function") && y(a(t, () => {
85
+ l.value && S && f();
86
+ })), y(d), {
87
+ isActive: _(l),
88
+ pause: d,
89
+ resume: f
90
+ };
91
+ }
92
+ function I(e, t, n = {}) {
93
+ let { immediate: r = !0, immediateCallback: i = !1 } = n, a = m(!1), o;
94
+ function s() {
95
+ o &&= (clearTimeout(o), void 0);
96
+ }
97
+ function l() {
98
+ a.value = !1, s();
99
+ }
100
+ function u(...n) {
101
+ i && e(), s(), a.value = !0, o = setTimeout(() => {
102
+ a.value = !1, o = void 0, e(...n);
103
+ }, c(t));
104
+ }
105
+ return r && (a.value = !0, S && u()), y(l), {
106
+ isPending: _(a),
107
+ start: u,
108
+ stop: l
109
+ };
110
+ }
111
+ function L(e = !1, t = {}) {
112
+ let { truthyValue: n = !0, falsyValue: r = !1 } = t, i = o(e), a = m(e);
113
+ function s(e) {
114
+ if (arguments.length) return a.value = e, a.value;
115
+ {
116
+ let e = c(n);
117
+ return a.value = a.value === e ? c(r) : e, a.value;
118
+ }
119
+ }
120
+ return i ? s : [a, s];
121
+ }
122
+ function R(e, t, n = {}) {
123
+ let { debounce: r = 0, maxWait: i = void 0, ...a } = n;
124
+ return re(e, t, {
125
+ ...a,
126
+ eventFilter: j(r, { maxWait: i })
127
+ });
128
+ }
129
+ function z(e, t, n) {
130
+ return a(e, t, {
131
+ ...n,
132
+ immediate: !0
133
+ });
134
+ }
135
+ //#endregion
136
+ //#region ../../node_modules/.pnpm/@vueuse+core@14.2.1_vue@3.5.33_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
137
+ var B = S ? window : void 0;
138
+ S && window.document, S && window.navigator, S && window.location;
139
+ function V(e) {
140
+ let t = c(e);
141
+ return t?.$el ?? t;
142
+ }
143
+ function H(...e) {
144
+ let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = p(() => {
145
+ let t = N(c(e[0])).filter((e) => e != null);
146
+ return t.every((e) => typeof e != "string") ? t : void 0;
147
+ });
148
+ return z(() => [
149
+ n.value?.map((e) => V(e)) ?? [B].filter((e) => e != null),
150
+ N(c(n.value ? e[1] : e[0])),
151
+ N(g(n.value ? e[2] : e[1])),
152
+ c(n.value ? e[3] : e[2])
153
+ ], ([e, n, r, i], a, o) => {
154
+ if (!e?.length || !n?.length || !r?.length) return;
155
+ let s = w(i) ? { ...i } : i, c = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, s))));
156
+ o(() => {
157
+ c.forEach((e) => e());
158
+ });
159
+ }, { flush: "post" });
160
+ }
161
+ var U = !1;
162
+ function W(e, t, n = {}) {
163
+ let { window: r = B, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
164
+ if (!r) return s ? {
165
+ stop: T,
166
+ cancel: T,
167
+ trigger: T
168
+ } : T;
169
+ if (E && !U) {
170
+ U = !0;
171
+ let e = { passive: !0 };
172
+ Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", T, e)), r.document.documentElement.addEventListener("click", T, e);
173
+ }
174
+ let l = !0, u = (e) => c(i).some((t) => {
175
+ if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
176
+ {
177
+ let n = V(t);
178
+ return n && (e.target === n || e.composedPath().includes(n));
179
+ }
180
+ });
181
+ function d(e) {
182
+ let t = c(e);
183
+ return t && t.$.subTree.shapeFlag === 16;
184
+ }
185
+ function f(e, t) {
186
+ let n = c(e), r = n.$.subTree && n.$.subTree.children;
187
+ return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
188
+ }
189
+ let p = (n) => {
190
+ let r = V(e);
191
+ if (n.target != null && !(!(r instanceof Element) && d(e) && f(e, n)) && !(!r || r === n.target || n.composedPath().includes(r))) {
192
+ if ("detail" in n && n.detail === 0 && (l = !u(n)), !l) {
193
+ l = !0;
194
+ return;
195
+ }
196
+ t(n);
197
+ }
198
+ }, m = !1, h = [
199
+ H(r, "click", (e) => {
200
+ m || (m = !0, setTimeout(() => {
201
+ m = !1;
202
+ }, 0), p(e));
203
+ }, {
204
+ passive: !0,
205
+ capture: a
206
+ }),
207
+ H(r, "pointerdown", (t) => {
208
+ let n = V(e);
209
+ l = !u(t) && !!(n && !t.composedPath().includes(n));
210
+ }, { passive: !0 }),
211
+ o && H(r, "blur", (n) => {
212
+ setTimeout(() => {
213
+ let i = V(e);
214
+ r.document.activeElement?.tagName === "IFRAME" && !i?.contains(r.document.activeElement) && t(n);
215
+ }, 0);
216
+ }, { passive: !0 })
217
+ ].filter(Boolean), g = () => h.forEach((e) => e());
218
+ return s ? {
219
+ stop: g,
220
+ cancel: () => {
221
+ l = !1;
222
+ },
223
+ trigger: (e) => {
224
+ l = !0, p(e), l = !1;
225
+ }
226
+ } : g;
227
+ }
228
+ function G() {
229
+ let e = m(!1), t = v();
230
+ return t && d(() => {
231
+ e.value = !0;
232
+ }, t), e;
233
+ }
234
+ /* @__NO_SIDE_EFFECTS__ */
235
+ function K(e) {
236
+ let t = G();
237
+ return p(() => (t.value, !!e()));
238
+ }
239
+ function q(e, t, n = {}) {
240
+ let { window: r = B, ...i } = n, o, s = /* @__PURE__ */ K(() => r && "MutationObserver" in r), l = () => {
241
+ o &&= (o.disconnect(), void 0);
242
+ }, u = a(p(() => {
243
+ let t = N(c(e)).map(V).filter(ee);
244
+ return new Set(t);
245
+ }), (e) => {
246
+ l(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, i)));
247
+ }, {
248
+ immediate: !0,
249
+ flush: "post"
250
+ }), d = () => o?.takeRecords(), f = () => {
251
+ u(), l();
252
+ };
253
+ return y(f), {
254
+ isSupported: s,
255
+ stop: f,
256
+ takeRecords: d
257
+ };
258
+ }
259
+ var J = Symbol("vueuse-ssr-width");
260
+ /* @__NO_SIDE_EFFECTS__ */
261
+ function Y() {
262
+ let e = n() ? x(J, null) : null;
263
+ return typeof e == "number" ? e : void 0;
264
+ }
265
+ function X(e, t = {}) {
266
+ let { window: n = B, ssrWidth: i = /* @__PURE__ */ Y() } = t, a = /* @__PURE__ */ K(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = m(typeof i == "number"), s = m(), l = m(!1);
267
+ return r(() => {
268
+ if (o.value) {
269
+ o.value = !a.value, l.value = c(e).split(",").some((e) => {
270
+ let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), r = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || r);
271
+ return n && a && (a = i >= M(n[1])), r && a && (a = i <= M(r[1])), t ? !a : a;
272
+ });
273
+ return;
274
+ }
275
+ a.value && (s.value = n.matchMedia(c(e)), l.value = s.value.matches);
276
+ }), H(s, "change", (e) => {
277
+ l.value = e.matches;
278
+ }, { passive: !0 }), p(() => l.value);
279
+ }
280
+ function ie(e, t, n = {}) {
281
+ let { window: r = B, ...i } = n, o, s = /* @__PURE__ */ K(() => r && "ResizeObserver" in r), l = () => {
282
+ o &&= (o.disconnect(), void 0);
283
+ }, u = a(p(() => {
284
+ let t = c(e);
285
+ return Array.isArray(t) ? t.map((e) => V(e)) : [V(t)];
286
+ }), (e) => {
287
+ if (l(), s.value && r) {
288
+ o = new ResizeObserver(t);
289
+ for (let t of e) t && o.observe(t, i);
290
+ }
291
+ }, {
292
+ immediate: !0,
293
+ flush: "post"
294
+ }), d = () => {
295
+ l(), u();
296
+ };
297
+ return y(d), {
298
+ isSupported: s,
299
+ stop: d
300
+ };
301
+ }
302
+ function ae(e, t = {}) {
303
+ let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: o = !0, updateTiming: s = "sync" } = t, c = m(0), l = m(0), u = m(0), d = m(0), f = m(0), p = m(0), h = m(0), g = m(0);
304
+ function _() {
305
+ let t = V(e);
306
+ if (!t) {
307
+ n && (c.value = 0, l.value = 0, u.value = 0, d.value = 0, f.value = 0, p.value = 0, h.value = 0, g.value = 0);
308
+ return;
309
+ }
310
+ let r = t.getBoundingClientRect();
311
+ c.value = r.height, l.value = r.bottom, u.value = r.left, d.value = r.right, f.value = r.top, p.value = r.width, h.value = r.x, g.value = r.y;
312
+ }
313
+ function v() {
314
+ s === "sync" ? _() : s === "next-frame" && requestAnimationFrame(() => _());
315
+ }
316
+ return ie(e, v), a(() => V(e), (e) => !e && v()), q(e, v, { attributeFilter: ["style", "class"] }), i && H("scroll", v, {
317
+ capture: !0,
318
+ passive: !0
319
+ }), r && H("resize", v, { passive: !0 }), P(() => {
320
+ o && v();
321
+ }), {
322
+ height: c,
323
+ bottom: l,
324
+ left: u,
325
+ right: d,
326
+ top: f,
327
+ width: p,
328
+ x: h,
329
+ y: g,
330
+ update: v
331
+ };
332
+ }
333
+ function Z(e) {
334
+ return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
335
+ }
336
+ function oe(e) {
337
+ let t = X("(prefers-reduced-motion: reduce)", e);
338
+ return p(() => t.value ? "reduce" : "no-preference");
339
+ }
340
+ function Q(e) {
341
+ let t = window.getComputedStyle(e);
342
+ if (t.overflowX === "scroll" || t.overflowY === "scroll" || t.overflowX === "auto" && e.clientWidth < e.scrollWidth || t.overflowY === "auto" && e.clientHeight < e.scrollHeight) return !0;
343
+ {
344
+ let t = e.parentNode;
345
+ return !t || t.tagName === "BODY" ? !1 : Q(t);
346
+ }
347
+ }
348
+ function se(e) {
349
+ let t = e || window.event, n = t.target;
350
+ return Q(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
351
+ }
352
+ var $ = /* @__PURE__ */ new WeakMap();
353
+ function ce(e, t = !1) {
354
+ let n = m(t), r = null, i = "";
355
+ a(O(e), (e) => {
356
+ let t = Z(c(e));
357
+ if (t) {
358
+ let e = t;
359
+ if ($.get(e) || $.set(e, e.style.overflow), e.style.overflow !== "hidden" && (i = e.style.overflow), e.style.overflow === "hidden") return n.value = !0;
360
+ if (n.value) return e.style.overflow = "hidden";
361
+ }
362
+ }, { immediate: !0 });
363
+ let o = () => {
364
+ let t = Z(c(e));
365
+ !t || n.value || (E && (r = H(t, "touchmove", (e) => {
366
+ se(e);
367
+ }, { passive: !1 })), t.style.overflow = "hidden", n.value = !0);
368
+ }, s = () => {
369
+ let t = Z(c(e));
370
+ !t || !n.value || (E && r?.(), t.style.overflow = i, $.delete(t), n.value = !1);
371
+ };
372
+ return y(s), p({
373
+ get() {
374
+ return n.value;
375
+ },
376
+ set(e) {
377
+ e ? o() : s();
378
+ }
379
+ });
380
+ }
381
+ //#endregion
382
+ export { oe as a, F as c, R as d, X as i, I as l, ae as n, ce as o, H as r, ne as s, W as t, L as u };
@@ -1,4 +1,4 @@
1
- import { Color as e } from "./dist-Cp0zXPAD.js";
1
+ import { Color as e } from "./dist-BHAeXaUY.js";
2
2
  //#region ../../node_modules/.pnpm/@tiptap+extension-color@3.22.5_@tiptap+extension-text-style@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5__/node_modules/@tiptap/extension-color/dist/index.js
3
3
  var t = e;
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { i as e } from "./dist-iLBdeBDR.js";
1
+ import { i as e } from "./dist-DvHLtWVP.js";
2
2
  //#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-text-align/dist/index.js
3
3
  var t = e.create({
4
4
  name: "textAlign",
@@ -1,4 +1,4 @@
1
- import { Gt as e, c as t } from "./dist-iLBdeBDR.js";
1
+ import { Gt as e, c as t } from "./dist-DvHLtWVP.js";
2
2
  //#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-underline/dist/index.js
3
3
  var n = t.create({
4
4
  name: "underline",
@@ -1,4 +1,4 @@
1
- import { Gt as e, Ht as t, Ut as n, c as r } from "./dist-iLBdeBDR.js";
1
+ import { Gt as e, Ht as t, Ut as n, c as r } from "./dist-DvHLtWVP.js";
2
2
  //#region ../../node_modules/.pnpm/@tiptap+extension-highlight@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-highlight/dist/index.js
3
3
  var i = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, a = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, o = r.create({
4
4
  name: "highlight",
@@ -1,6 +1,6 @@
1
- import { Cn as e, Ct as t, Dn as n, En as r, Gt as i, Ht as a, Jt as o, Mt as s, Nt as c, Qt as l, Sn as u, St as d, Tn as f, Ut as p, Z as m, _ as ee, _n as h, at as g, bn as _, c as v, gn as te, hn as y, i as b, jt as x, nn as ne, ot as re, pn as S, rt as ie, u as C, v as ae, vn as w, wn as oe, xn as T, yn as E } from "./dist-iLBdeBDR.js";
2
- import { Link as se } from "./dist-DDJIWTRY.js";
3
- import { Underline as ce } from "./dist-KoBJjK1G.js";
1
+ import { Cn as e, Ct as t, Dn as n, En as r, Gt as i, Ht as a, Jt as o, Mt as s, Nt as c, Qt as l, Sn as u, St as d, Tn as f, Ut as p, Z as m, _ as ee, _n as h, at as g, bn as _, c as v, gn as te, hn as y, i as b, jt as x, nn as ne, ot as re, pn as S, rt as ie, u as C, v as ae, vn as w, wn as oe, xn as T, yn as E } from "./dist-DvHLtWVP.js";
2
+ import { Link as se } from "./dist-BvPgo-UK.js";
3
+ import { Underline as ce } from "./dist-HEQ52gTJ.js";
4
4
  //#region ../../node_modules/.pnpm/@tiptap+core@3.22.5_@tiptap+pm@3.22.5/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js
5
5
  var D = (e, t) => {
6
6
  if (e === "slot") return 0;
@@ -1,4 +1,4 @@
1
- import { Gt as e, c as t } from "./dist-iLBdeBDR.js";
1
+ import { Gt as e, c as t } from "./dist-DvHLtWVP.js";
2
2
  //#region ../../node_modules/.pnpm/@tiptap+extension-superscript@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5__@tiptap+pm@3.22.5/node_modules/@tiptap/extension-superscript/dist/index.js
3
3
  var n = t.create({
4
4
  name: "superscript",