@qualityunit/liveagent-components-editor 0.0.70 → 0.0.72

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 (290) hide show
  1. package/dist/af-D5gaD6dV.js +10 -0
  2. package/dist/af.umd-CoCIUNiI.js +39 -0
  3. package/dist/ar-Duc90WBQ.js +11 -0
  4. package/dist/ar.umd-BKx-W0tr.js +40 -0
  5. package/dist/ast-B4SjHl2m.js +10 -0
  6. package/dist/ast.umd-Dt9er55p.js +39 -0
  7. package/dist/az-BQV6fh7D.js +10 -0
  8. package/dist/az.umd-D5TIDqPL.js +39 -0
  9. package/dist/be-QDIVTAH4.js +10 -0
  10. package/dist/be.umd-BV_DlxOB.js +39 -0
  11. package/dist/bg-Da5GTM08.js +12 -0
  12. package/dist/{bg.umd-CUIzFYOO.js → bg.umd-Dt3Zv_g2.js} +7 -7
  13. package/dist/bn-BxUFA2IM.js +12 -0
  14. package/dist/bn.umd-BTUSGy11.js +41 -0
  15. package/dist/bs-CCoGGfDv.js +10 -0
  16. package/dist/bs.umd-Ka00MoQM.js +39 -0
  17. package/dist/ca-COoS88xr.js +10 -0
  18. package/dist/ca.umd-suYFPD88.js +39 -0
  19. package/dist/ckeditor.js +1 -1
  20. package/dist/{ckeditor5-bgmzTgom.js → ckeditor5-D2QErzM6.js} +13779 -13700
  21. package/dist/cs-REnlMT4Z.js +10 -0
  22. package/dist/cs.umd-x7slclOK.js +39 -0
  23. package/dist/da-Bj_YNGam.js +10 -0
  24. package/dist/da.umd-UsYuB24Y.js +39 -0
  25. package/dist/de-D4PAF07G.js +10 -0
  26. package/dist/de-ch-B29rPGLD.js +10 -0
  27. package/dist/de-ch.umd-EKfs1Qnx.js +39 -0
  28. package/dist/de.umd-CB9AMlqs.js +39 -0
  29. package/dist/editor-lib.js +222 -222
  30. package/dist/el-bBI_7ecr.js +10 -0
  31. package/dist/el.umd-tuvbUJo4.js +39 -0
  32. package/dist/en-CamKpIpi.js +10 -0
  33. package/dist/en-au-DZB2MHYQ.js +10 -0
  34. package/dist/en-au.umd-BcG6sfUm.js +39 -0
  35. package/dist/en-gb-C2ofF-g0.js +10 -0
  36. package/dist/en-gb.umd-NSV9Qdlu.js +39 -0
  37. package/dist/en.umd-BKxN81KV.js +39 -0
  38. package/dist/eo-Bz3iidGR.js +10 -0
  39. package/dist/eo.umd-Dqvg4nzj.js +39 -0
  40. package/dist/es-DAtHaT6w.js +10 -0
  41. package/dist/es-co-BP-P9i1g.js +10 -0
  42. package/dist/es-co.umd-61MYjHwi.js +39 -0
  43. package/dist/es.umd-DdqyA64B.js +39 -0
  44. package/dist/et-BG-9vBh4.js +10 -0
  45. package/dist/et.umd-BV3UW_tC.js +39 -0
  46. package/dist/eu-CW-AP7Me.js +10 -0
  47. package/dist/eu.umd-BAN8wIOf.js +39 -0
  48. package/dist/fa-_kbqJEM_.js +10 -0
  49. package/dist/fa.umd-ATBwAkw5.js +39 -0
  50. package/dist/fi-SBDlkQVj.js +10 -0
  51. package/dist/fi.umd-BHrlTHK0.js +39 -0
  52. package/dist/fr-c3NQjTtN.js +10 -0
  53. package/dist/fr.umd-Jw9Zons_.js +39 -0
  54. package/dist/gl-DrS6PE22.js +10 -0
  55. package/dist/gl.umd-CNkmhwB4.js +39 -0
  56. package/dist/gu-D_XFqGOb.js +10 -0
  57. package/dist/gu.umd-00lFmXPO.js +39 -0
  58. package/dist/he-B9Tcq9Mk.js +10 -0
  59. package/dist/he.umd-7YYyY1iF.js +39 -0
  60. package/dist/hi-XNs8BK2I.js +10 -0
  61. package/dist/hi.umd-DYoMi-MS.js +39 -0
  62. package/dist/hr-CCbhDBjR.js +10 -0
  63. package/dist/hr.umd-67glZ3-Q.js +39 -0
  64. package/dist/hu-B7jOInH1.js +10 -0
  65. package/dist/hu.umd-Dq4gl_n0.js +39 -0
  66. package/dist/hy-Ct_ukUje.js +10 -0
  67. package/dist/hy.umd-Cs-lvRRD.js +39 -0
  68. package/dist/id-BsPu5NvU.js +10 -0
  69. package/dist/id.umd-Dhql4Jm5.js +39 -0
  70. package/dist/it-BZyHroHN.js +10 -0
  71. package/dist/it.umd-CQdOmHYU.js +39 -0
  72. package/dist/ja-D3eFJ12N.js +10 -0
  73. package/dist/ja.umd-BwE_47st.js +39 -0
  74. package/dist/jv-B6uO4gpy.js +10 -0
  75. package/dist/jv.umd-BIoAsCDY.js +39 -0
  76. package/dist/kk-B5skNwOC.js +10 -0
  77. package/dist/kk.umd-z81sMhlB.js +39 -0
  78. package/dist/km-DgclFq1k.js +10 -0
  79. package/dist/km.umd-B7T5YUVJ.js +39 -0
  80. package/dist/kn-BPjNEK4L.js +10 -0
  81. package/dist/kn.umd-CunVn2tZ.js +39 -0
  82. package/dist/ko-PPAEOQIa.js +10 -0
  83. package/dist/ko.umd-Dp3ihOvr.js +39 -0
  84. package/dist/ku-S9OCPa0M.js +10 -0
  85. package/dist/ku.umd-hQ62LNgB.js +39 -0
  86. package/dist/liveagent-components-editor.css +1 -1
  87. package/dist/lt-nV_E82wu.js +10 -0
  88. package/dist/lt.umd-B_O-6dkw.js +39 -0
  89. package/dist/lv-CApSRjhU.js +10 -0
  90. package/dist/lv.umd-DKo5KqYE.js +39 -0
  91. package/dist/ms-PywTuTms.js +10 -0
  92. package/dist/ms.umd-Co4PwjLY.js +39 -0
  93. package/dist/nb-An2iqY2p.js +10 -0
  94. package/dist/nb.umd-DkOROyFr.js +39 -0
  95. package/dist/ne-BXJoeMS7.js +10 -0
  96. package/dist/ne.umd-B86qIxZm.js +39 -0
  97. package/dist/nl-CfwHHD4P.js +11 -0
  98. package/dist/nl.umd-B_FlZ4io.js +40 -0
  99. package/dist/{no-Br9RevjM.js → no-t7XFPNqE.js} +2 -2
  100. package/dist/{no.umd-CRv57RU3.js → no.umd-BXUKz3dx.js} +7 -7
  101. package/dist/oc-Cew2Itz6.js +10 -0
  102. package/dist/oc.umd-B0GCzXuk.js +39 -0
  103. package/dist/pl-BXVHIUlK.js +10 -0
  104. package/dist/pl.umd-IQ03Dkz8.js +39 -0
  105. package/dist/pt-Dv9tfe3q.js +10 -0
  106. package/dist/pt-br-BvR_kkEo.js +10 -0
  107. package/dist/pt-br.umd-CogbWFGo.js +39 -0
  108. package/dist/pt.umd-CN26Y3Tb.js +39 -0
  109. package/dist/ro-DOWVzO-A.js +10 -0
  110. package/dist/ro.umd-D-o1WWDP.js +39 -0
  111. package/dist/ru-DHF6RXB5.js +10 -0
  112. package/dist/ru.umd-BVY44pSM.js +39 -0
  113. package/dist/si--cbQS_bZ.js +10 -0
  114. package/dist/si.umd-Nd1OSre8.js +39 -0
  115. package/dist/sk--WNTOseI.js +10 -0
  116. package/dist/sk.umd-MtWhWNcQ.js +39 -0
  117. package/dist/sl-DaUnOL11.js +10 -0
  118. package/dist/sl.umd-BAr8B6P7.js +39 -0
  119. package/dist/sq-BFmmRG3C.js +10 -0
  120. package/dist/sq.umd-BDeZUk1u.js +39 -0
  121. package/dist/sr-latn-iIip6wGE.js +10 -0
  122. package/dist/sr-latn.umd-CuzERsIu.js +39 -0
  123. package/dist/sr-pQclX2n3.js +10 -0
  124. package/dist/sr.umd-CF2Z4YM1.js +39 -0
  125. package/dist/sv-CcGb9t81.js +10 -0
  126. package/dist/sv.umd-Be99Ob3H.js +39 -0
  127. package/dist/{th-DG7MJz8i.js → th-CbSYU2YL.js} +1 -1
  128. package/dist/{th.umd-Dq0En6X4.js → th.umd-buZ_rnbW.js} +10 -10
  129. package/dist/ti-Ds82dOA3.js +10 -0
  130. package/dist/ti.umd-C2t_ph17.js +39 -0
  131. package/dist/tk-Bokg8smS.js +10 -0
  132. package/dist/tk.umd-Dy1Ej7GY.js +39 -0
  133. package/dist/tr-kczJRBrH.js +10 -0
  134. package/dist/tr.umd-B9uBlAvT.js +39 -0
  135. package/dist/tt-CHBZ9vXT.js +10 -0
  136. package/dist/tt.umd-Brl4B-au.js +39 -0
  137. package/dist/ug-rBtH-v-Q.js +10 -0
  138. package/dist/ug.umd-NH5UBnrj.js +39 -0
  139. package/dist/uk-DawCIxWD.js +10 -0
  140. package/dist/uk.umd-yZf57C7C.js +39 -0
  141. package/dist/ur-rg47HiD9.js +10 -0
  142. package/dist/ur.umd-DKpS0nAJ.js +39 -0
  143. package/dist/uz-C57YwW61.js +10 -0
  144. package/dist/uz.umd-82L3dSKq.js +39 -0
  145. package/dist/vi-BPK3sEjf.js +10 -0
  146. package/dist/vi.umd-CKevk75k.js +39 -0
  147. package/dist/zh-BNS15k0z.js +10 -0
  148. package/dist/zh-cn-C0KCdEMY.js +10 -0
  149. package/dist/zh-cn.umd-5e8Uudpb.js +39 -0
  150. package/dist/zh.umd-D1EKfpud.js +39 -0
  151. package/package.json +5 -5
  152. package/dist/af-D9iy9Trq.js +0 -10
  153. package/dist/af.umd-BTv2Mtv2.js +0 -39
  154. package/dist/ar-BKhab0xh.js +0 -11
  155. package/dist/ar.umd-CPgigxKQ.js +0 -40
  156. package/dist/ast-n_TMDS7U.js +0 -10
  157. package/dist/ast.umd-C1YRnHuW.js +0 -39
  158. package/dist/az-Dh7vDxMr.js +0 -10
  159. package/dist/az.umd-BPtdu5L-.js +0 -39
  160. package/dist/bg-DMZ6f9WZ.js +0 -12
  161. package/dist/bn-B-S77Zsa.js +0 -12
  162. package/dist/bn.umd-huHrMtAK.js +0 -41
  163. package/dist/bs-CLP23HTb.js +0 -10
  164. package/dist/bs.umd-Cn1FNsxV.js +0 -39
  165. package/dist/ca-BOzo87c6.js +0 -10
  166. package/dist/ca.umd-CKag7yFI.js +0 -39
  167. package/dist/cs-DocHE2jw.js +0 -10
  168. package/dist/cs.umd-BV10ztyR.js +0 -39
  169. package/dist/da-DIDd7atq.js +0 -10
  170. package/dist/da.umd-BCYRblhK.js +0 -39
  171. package/dist/de-Bip6e7Px.js +0 -10
  172. package/dist/de-ch-CbKDFbAQ.js +0 -10
  173. package/dist/de-ch.umd-5MwDb2gC.js +0 -39
  174. package/dist/de.umd-DDGczQO4.js +0 -39
  175. package/dist/el-DVchT-ah.js +0 -10
  176. package/dist/el.umd-qIGLR6DI.js +0 -39
  177. package/dist/en-DdUbswXt.js +0 -10
  178. package/dist/en-au-DhaWlYaL.js +0 -10
  179. package/dist/en-au.umd-C7lLrm4U.js +0 -39
  180. package/dist/en-gb-B-YD4rrZ.js +0 -10
  181. package/dist/en-gb.umd-CkX9MHAi.js +0 -39
  182. package/dist/en.umd-CsP-5PWS.js +0 -39
  183. package/dist/eo-DVaUzb33.js +0 -10
  184. package/dist/eo.umd-oUHhtKWE.js +0 -39
  185. package/dist/es-co-JcGqDxvM.js +0 -10
  186. package/dist/es-co.umd-i0K6ToTN.js +0 -39
  187. package/dist/es-nnuRT4u0.js +0 -10
  188. package/dist/es.umd-D8Fgl9Jm.js +0 -39
  189. package/dist/et-CQ9qOMgh.js +0 -10
  190. package/dist/et.umd-Csdfdv1j.js +0 -39
  191. package/dist/eu-CffwdRQn.js +0 -10
  192. package/dist/eu.umd-CL0Jadn8.js +0 -39
  193. package/dist/fa-BEQ0Lgbx.js +0 -10
  194. package/dist/fa.umd-nwjK4Mwy.js +0 -39
  195. package/dist/fi-q2B3WODs.js +0 -10
  196. package/dist/fi.umd-DJDUqO6W.js +0 -39
  197. package/dist/fr-DQgg9Cnf.js +0 -10
  198. package/dist/fr.umd-wcL6qDdI.js +0 -39
  199. package/dist/gl-7JhMRgp6.js +0 -10
  200. package/dist/gl.umd-BRfj2jhi.js +0 -39
  201. package/dist/gu-C4cIWw-L.js +0 -10
  202. package/dist/gu.umd-8OJJAZl4.js +0 -39
  203. package/dist/he-D8fESlR0.js +0 -10
  204. package/dist/he.umd-DWTITzvb.js +0 -39
  205. package/dist/hi-BC_Ekbrq.js +0 -10
  206. package/dist/hi.umd-o430rual.js +0 -39
  207. package/dist/hr-CZ0iJCzh.js +0 -10
  208. package/dist/hr.umd-DrZWQ8gA.js +0 -39
  209. package/dist/hu-WYkHgEQb.js +0 -10
  210. package/dist/hu.umd-g2XacLpi.js +0 -39
  211. package/dist/hy-BJEtQZ_o.js +0 -10
  212. package/dist/hy.umd-KMETJwvb.js +0 -39
  213. package/dist/id-BcOKSd9_.js +0 -10
  214. package/dist/id.umd-D9qyIhae.js +0 -39
  215. package/dist/it-CR8Q2FGK.js +0 -10
  216. package/dist/it.umd-RdXlY4in.js +0 -39
  217. package/dist/ja-CsLnt5wE.js +0 -10
  218. package/dist/ja.umd-BtZtMFYb.js +0 -39
  219. package/dist/jv-C7gpKmrf.js +0 -10
  220. package/dist/jv.umd-DIKucD7R.js +0 -39
  221. package/dist/kk-B0SsP2xy.js +0 -10
  222. package/dist/kk.umd-C2PqwAWG.js +0 -39
  223. package/dist/km-n9pdTCAX.js +0 -10
  224. package/dist/km.umd-DbiCa_OO.js +0 -39
  225. package/dist/kn-DAcYnnqf.js +0 -10
  226. package/dist/kn.umd-Dt6Ags1s.js +0 -39
  227. package/dist/ko-DDoL4zSZ.js +0 -10
  228. package/dist/ko.umd-BrLxVrvU.js +0 -39
  229. package/dist/ku-DVDD8yCJ.js +0 -10
  230. package/dist/ku.umd-BgsAWBI-.js +0 -39
  231. package/dist/lt-CFgNL2mH.js +0 -10
  232. package/dist/lt.umd-bEHDTkqd.js +0 -39
  233. package/dist/lv-Cb12ezVs.js +0 -10
  234. package/dist/lv.umd-D4qwtSk2.js +0 -39
  235. package/dist/ms-BExoNisn.js +0 -10
  236. package/dist/ms.umd-LE8Oq1Vi.js +0 -39
  237. package/dist/nb-e3mpMMIe.js +0 -10
  238. package/dist/nb.umd-C5U8NSX9.js +0 -39
  239. package/dist/ne-CMWzKlQY.js +0 -10
  240. package/dist/ne.umd-G_Z4rYYk.js +0 -39
  241. package/dist/nl-odzV5l54.js +0 -11
  242. package/dist/nl.umd-C_bdcQir.js +0 -40
  243. package/dist/oc-CQeRyzFl.js +0 -10
  244. package/dist/oc.umd-CtlQfGoz.js +0 -39
  245. package/dist/pl-C830XLqJ.js +0 -10
  246. package/dist/pl.umd-av1i44Bs.js +0 -39
  247. package/dist/pt-CYApiKrx.js +0 -10
  248. package/dist/pt-br-BWNn7bt0.js +0 -10
  249. package/dist/pt-br.umd-7pk45FPj.js +0 -39
  250. package/dist/pt.umd-CMJun4LU.js +0 -39
  251. package/dist/ro-Dg5h-Qp_.js +0 -10
  252. package/dist/ro.umd-DzLjDPjj.js +0 -39
  253. package/dist/ru-Cta053-m.js +0 -10
  254. package/dist/ru.umd-BhHebYX1.js +0 -39
  255. package/dist/si-CWWceCBv.js +0 -10
  256. package/dist/si.umd-D8QKp4mE.js +0 -39
  257. package/dist/sk-v7iV_Zd-.js +0 -10
  258. package/dist/sk.umd-CFdGnxkw.js +0 -39
  259. package/dist/sl-DCt_Vcsh.js +0 -10
  260. package/dist/sl.umd-D_z38Em4.js +0 -39
  261. package/dist/sq-d6FdIP1k.js +0 -10
  262. package/dist/sq.umd-aFeq6Plw.js +0 -39
  263. package/dist/sr-BAOdkH75.js +0 -10
  264. package/dist/sr-latn-DazZHo4G.js +0 -10
  265. package/dist/sr-latn.umd-Dzr3YerO.js +0 -39
  266. package/dist/sr.umd-CtWe6OQ7.js +0 -39
  267. package/dist/sv-DKNA3ojV.js +0 -10
  268. package/dist/sv.umd-BvdimYxT.js +0 -39
  269. package/dist/ti-CsFom50z.js +0 -10
  270. package/dist/ti.umd-Cgwq8ouU.js +0 -39
  271. package/dist/tk-CGyohOEl.js +0 -10
  272. package/dist/tk.umd-BOKzjenw.js +0 -39
  273. package/dist/tr-CW9yc2xy.js +0 -10
  274. package/dist/tr.umd-C3Rn--SN.js +0 -39
  275. package/dist/tt-BMP0SraD.js +0 -10
  276. package/dist/tt.umd-DsOhIJQ8.js +0 -39
  277. package/dist/ug-DtJNLTzg.js +0 -10
  278. package/dist/ug.umd-DIE1tiNB.js +0 -39
  279. package/dist/uk-ByOaOdvP.js +0 -10
  280. package/dist/uk.umd-CnVS_30m.js +0 -39
  281. package/dist/ur-_XEztS0n.js +0 -10
  282. package/dist/ur.umd-BebpaDKu.js +0 -39
  283. package/dist/uz-gOHY0ENQ.js +0 -10
  284. package/dist/uz.umd-C8Ox4j-7.js +0 -39
  285. package/dist/vi-leygrz-k.js +0 -10
  286. package/dist/vi.umd-DYJY6kXX.js +0 -39
  287. package/dist/zh-cn-6E_LuBO1.js +0 -10
  288. package/dist/zh-cn.umd-CqeBMaaK.js +0 -39
  289. package/dist/zh-wH-ajcst.js +0 -10
  290. package/dist/zh.umd-D7Qfmafa.js +0 -39
@@ -1,369 +1,369 @@
1
- import { b as Q, E as oe, r as k, a as w, p as q, U as ve, h as g, c as W, d as $, H as ce, e as j, f as B, s as F, i as I, j as y, k as A, l as _e, I as U, m as ee, n as Z, o as he, q as de, t as z, u as be, v as ge, w as me, x as Ee, y as pe, z as Te, A as ye, B as Ae, C as Ie, D as Ne, N as Se, F as Me, G as He, J as ke, K as we, L as Re, M as Ce, O as te, P as ae, Q as Le, R as M, S as re, T as D, V, W as R, X as ne, Y as H, Z as C, _ as K, $ as L, a0 as De, a1 as Pe, a2 as Oe, a3 as Ue } from "./ckeditor5-bgmzTgom.js";
2
- function Ve(e, t, [a, r] = [0, 0]) {
3
- g && a === 0 && W();
4
- var n = e, l = null, f = null, o = ve, _ = a > 0 ? oe : 0, d = !1;
5
- const i = (u, s = !0) => {
6
- d = !0, c(s, u);
7
- }, c = (u, s) => {
8
- if (o === (o = u)) return;
9
- let v = !1;
1
+ import { b as W, E as oe, r as w, a as C, p as B, U as ce, h as g, c as $, d as j, H as _e, e as ee, f as F, s as K, i as N, j as A, k as p, l as he, I as V, m as ae, n as z, o as de, q as be, t as G, u as ge, v as Ee, w as me, x as pe, y as Te, z as ye, A as Ae, B as Ne, C as Ie, D as Me, F as Se, N as He, G as ke, J as we, K as Ce, L as Re, M as S, O as De, P as te, Q as re, R as Le, S as H, T as se, V as O, W as x, X as R, Y as ne, Z as k, _ as D, $ as X, a0 as L, a1 as Oe, a2 as Pe, a3 as Ue, a4 as Ve } from "./ckeditor5-D2QErzM6.js";
2
+ function xe(e, a, [t, r] = [0, 0]) {
3
+ g && t === 0 && $();
4
+ var s = e, l = null, u = null, o = ce, _ = t > 0 ? oe : 0, d = !1;
5
+ const i = (f, n = !0) => {
6
+ d = !0, v(n, f);
7
+ }, v = (f, n) => {
8
+ if (o === (o = f)) return;
9
+ let c = !1;
10
10
  if (g && r !== -1) {
11
- if (a === 0) {
12
- const b = $(n);
13
- b === ce ? r = 0 : b === j ? r = 1 / 0 : (r = parseInt(b.substring(1)), r !== r && (r = o ? 1 / 0 : -1));
11
+ if (t === 0) {
12
+ const b = j(s);
13
+ b === _e ? r = 0 : b === ee ? r = 1 / 0 : (r = parseInt(b.substring(1)), r !== r && (r = o ? 1 / 0 : -1));
14
14
  }
15
- const m = r > a;
16
- !!o === m && (n = B(), F(n), I(!1), v = !0, r = -1);
15
+ const E = r > t;
16
+ !!o === E && (s = F(), K(s), N(!1), c = !0, r = -1);
17
17
  }
18
- o ? (l ? k(l) : s && (l = w(() => s(n))), f && q(f, () => {
19
- f = null;
20
- })) : (f ? k(f) : s && (f = w(() => s(n, [a + 1, r]))), l && q(l, () => {
18
+ o ? (l ? w(l) : n && (l = C(() => n(s))), u && B(u, () => {
19
+ u = null;
20
+ })) : (u ? w(u) : n && (u = C(() => n(s, [t + 1, r]))), l && B(l, () => {
21
21
  l = null;
22
- })), v && I(!0);
22
+ })), c && N(!0);
23
23
  };
24
- Q(() => {
25
- d = !1, t(i), d || c(null, null);
26
- }, _), g && (n = y);
24
+ W(() => {
25
+ d = !1, a(i), d || v(null, null);
26
+ }, _), g && (s = A);
27
27
  }
28
- function xe(e, t) {
29
- return t;
28
+ function Ye(e, a) {
29
+ return a;
30
30
  }
31
- function Ye(e, t, a, r) {
32
- for (var n = [], l = t.length, f = 0; f < l; f++)
33
- me(t[f].e, n, !0);
34
- var o = l > 0 && n.length === 0 && a !== null;
31
+ function qe(e, a, t, r) {
32
+ for (var s = [], l = a.length, u = 0; u < l; u++)
33
+ me(a[u].e, s, !0);
34
+ var o = l > 0 && s.length === 0 && t !== null;
35
35
  if (o) {
36
36
  var _ = (
37
37
  /** @type {Element} */
38
38
  /** @type {Element} */
39
- a.parentNode
39
+ t.parentNode
40
40
  );
41
- Ee(_), _.append(
41
+ pe(_), _.append(
42
42
  /** @type {Element} */
43
- a
44
- ), r.clear(), T(e, t[0].prev, t[l - 1].next);
43
+ t
44
+ ), r.clear(), y(e, a[0].prev, a[l - 1].next);
45
45
  }
46
- pe(n, () => {
46
+ Te(s, () => {
47
47
  for (var d = 0; d < l; d++) {
48
- var i = t[d];
49
- o || (r.delete(i.k), T(e, i.prev, i.next)), Te(i.e, !o);
48
+ var i = a[d];
49
+ o || (r.delete(i.k), y(e, i.prev, i.next)), ye(i.e, !o);
50
50
  }
51
51
  });
52
52
  }
53
- function qe(e, t, a, r, n, l = null) {
54
- var f = e, o = { flags: t, items: /* @__PURE__ */ new Map(), first: null };
55
- g && W();
56
- var _ = null, d = !1, i = _e(() => {
57
- var c = a();
58
- return be(c) ? c : c == null ? [] : ee(c);
53
+ function Be(e, a, t, r, s, l = null) {
54
+ var u = e, o = { flags: a, items: /* @__PURE__ */ new Map(), first: null };
55
+ g && $();
56
+ var _ = null, d = !1, i = he(() => {
57
+ var v = t();
58
+ return ge(v) ? v : v == null ? [] : ae(v);
59
59
  });
60
- Q(() => {
61
- var c = A(i), u = c.length;
62
- if (d && u === 0)
60
+ W(() => {
61
+ var v = p(i), f = v.length;
62
+ if (d && f === 0)
63
63
  return;
64
- d = u === 0;
65
- let s = !1;
64
+ d = f === 0;
65
+ let n = !1;
66
66
  if (g) {
67
- var v = $(f) === j;
68
- v !== (u === 0) && (f = B(), F(f), I(!1), s = !0);
67
+ var c = j(u) === ee;
68
+ c !== (f === 0) && (u = F(), K(u), N(!1), n = !0);
69
69
  }
70
70
  if (g) {
71
- for (var m = null, b, h = 0; h < u; h++) {
72
- if (y.nodeType === 8 && /** @type {Comment} */
73
- y.data === Ne) {
74
- f = /** @type {Comment} */
75
- y, s = !0, I(!1);
71
+ for (var E = null, b, h = 0; h < f; h++) {
72
+ if (A.nodeType === Me && /** @type {Comment} */
73
+ A.data === Se) {
74
+ u = /** @type {Comment} */
75
+ A, n = !0, N(!1);
76
76
  break;
77
77
  }
78
- var E = c[h], N = r(E, h);
79
- b = se(
80
- y,
78
+ var m = v[h], I = r(m, h);
79
+ b = le(
80
+ A,
81
81
  o,
82
- m,
83
- null,
84
82
  E,
85
- N,
83
+ null,
84
+ m,
85
+ I,
86
86
  h,
87
- n,
88
- t,
89
- a
90
- ), o.items.set(N, b), m = b;
87
+ s,
88
+ a,
89
+ t
90
+ ), o.items.set(I, b), E = b;
91
91
  }
92
- u > 0 && F(B());
92
+ f > 0 && K(F());
93
93
  }
94
- g || Be(c, o, f, n, t, r, a), l !== null && (u === 0 ? _ ? k(_) : _ = w(() => l(f)) : _ !== null && q(_, () => {
94
+ g || Fe(v, o, u, s, a, r, t), l !== null && (f === 0 ? _ ? w(_) : _ = C(() => l(u)) : _ !== null && B(_, () => {
95
95
  _ = null;
96
- })), s && I(!0), A(i);
97
- }), g && (f = y);
96
+ })), n && N(!0), p(i);
97
+ }), g && (u = A);
98
98
  }
99
- function Be(e, t, a, r, n, l, f) {
100
- var o = e.length, _ = t.items, d = t.first, i = d, c, u = null, s = [], v = [], m, b, h, E;
101
- for (E = 0; E < o; E += 1) {
102
- if (m = e[E], b = l(m, E), h = _.get(b), h === void 0) {
103
- var N = i ? (
99
+ function Fe(e, a, t, r, s, l, u) {
100
+ var o = e.length, _ = a.items, d = a.first, i = d, v, f = null, n = [], c = [], E, b, h, m;
101
+ for (m = 0; m < o; m += 1) {
102
+ if (E = e[m], b = l(E, m), h = _.get(b), h === void 0) {
103
+ var I = i ? (
104
104
  /** @type {TemplateNode} */
105
105
  i.e.nodes_start
106
- ) : a;
107
- u = se(
108
- N,
109
- t,
110
- u,
111
- u === null ? t.first : u.next,
112
- m,
113
- b,
106
+ ) : t;
107
+ f = le(
108
+ I,
109
+ a,
110
+ f,
111
+ f === null ? a.first : f.next,
114
112
  E,
113
+ b,
114
+ m,
115
115
  r,
116
- n,
117
- f
118
- ), _.set(b, u), s = [], v = [], i = u.next;
116
+ s,
117
+ u
118
+ ), _.set(b, f), n = [], c = [], i = f.next;
119
119
  continue;
120
120
  }
121
- if (Fe(h, m, E), (h.e.f & U) !== 0 && k(h.e), h !== i) {
122
- if (c !== void 0 && c.has(h)) {
123
- if (s.length < v.length) {
124
- var S = v[0], p;
125
- u = S.prev;
126
- var X = s[0], P = s[s.length - 1];
127
- for (p = 0; p < s.length; p += 1)
128
- G(s[p], S, a);
129
- for (p = 0; p < v.length; p += 1)
130
- c.delete(v[p]);
131
- T(t, X.prev, P.next), T(t, u, X), T(t, P, S), i = S, u = P, E -= 1, s = [], v = [];
121
+ if (Ke(h, E, m), (h.e.f & V) !== 0 && w(h.e), h !== i) {
122
+ if (v !== void 0 && v.has(h)) {
123
+ if (n.length < c.length) {
124
+ var M = c[0], T;
125
+ f = M.prev;
126
+ var Z = n[0], P = n[n.length - 1];
127
+ for (T = 0; T < n.length; T += 1)
128
+ J(n[T], M, t);
129
+ for (T = 0; T < c.length; T += 1)
130
+ v.delete(c[T]);
131
+ y(a, Z.prev, P.next), y(a, f, Z), y(a, P, M), i = M, f = P, m -= 1, n = [], c = [];
132
132
  } else
133
- c.delete(h), G(h, i, a), T(t, h.prev, h.next), T(t, h, u === null ? t.first : u.next), T(t, u, h), u = h;
133
+ v.delete(h), J(h, i, t), y(a, h.prev, h.next), y(a, h, f === null ? a.first : f.next), y(a, f, h), f = h;
134
134
  continue;
135
135
  }
136
- for (s = [], v = []; i !== null && i.k !== b; )
137
- (i.e.f & U) === 0 && (c ?? (c = /* @__PURE__ */ new Set())).add(i), v.push(i), i = i.next;
136
+ for (n = [], c = []; i !== null && i.k !== b; )
137
+ (i.e.f & V) === 0 && (v ?? (v = /* @__PURE__ */ new Set())).add(i), c.push(i), i = i.next;
138
138
  if (i === null)
139
139
  continue;
140
140
  h = i;
141
141
  }
142
- s.push(h), u = h, i = h.next;
142
+ n.push(h), f = h, i = h.next;
143
143
  }
144
- if (i !== null || c !== void 0) {
145
- for (var O = c === void 0 ? [] : ee(c); i !== null; )
146
- (i.e.f & U) === 0 && O.push(i), i = i.next;
147
- var ue = O.length;
144
+ if (i !== null || v !== void 0) {
145
+ for (var U = v === void 0 ? [] : ae(v); i !== null; )
146
+ (i.e.f & V) === 0 && U.push(i), i = i.next;
147
+ var ue = U.length;
148
148
  if (ue > 0) {
149
- var fe = null;
150
- Ye(t, O, fe, _);
149
+ var ve = null;
150
+ qe(a, U, ve, _);
151
151
  }
152
152
  }
153
- Z.first = t.first && t.first.e, Z.last = u && u.e;
153
+ z.first = a.first && a.first.e, z.last = f && f.e;
154
154
  }
155
- function Fe(e, t, a, r) {
156
- he(e.v, t), e.i = a;
155
+ function Ke(e, a, t, r) {
156
+ de(e.v, a), e.i = t;
157
157
  }
158
- function se(e, t, a, r, n, l, f, o, _, d) {
159
- var i = (_ & Ae) !== 0, c = (_ & Ie) === 0, u = i ? c ? de(n) : z(n) : n, s = (_ & ge) === 0 ? f : z(f), v = {
160
- i: s,
161
- v: u,
158
+ function le(e, a, t, r, s, l, u, o, _, d) {
159
+ var i = (_ & Ne) !== 0, v = (_ & Ie) === 0, f = i ? v ? be(s, !1, !1) : G(s) : s, n = (_ & Ee) === 0 ? u : G(u), c = {
160
+ i: n,
161
+ v: f,
162
162
  k: l,
163
163
  a: null,
164
164
  // @ts-expect-error
165
165
  e: null,
166
- prev: a,
166
+ prev: t,
167
167
  next: r
168
168
  };
169
169
  try {
170
- return v.e = w(() => o(e, u, s, d), g), v.e.prev = a && a.e, v.e.next = r && r.e, a === null ? t.first = v : (a.next = v, a.e.next = v.e), r !== null && (r.prev = v, r.e.prev = v.e), v;
170
+ return c.e = C(() => o(e, f, n, d), g), c.e.prev = t && t.e, c.e.next = r && r.e, t === null ? a.first = c : (t.next = c, t.e.next = c.e), r !== null && (r.prev = c, r.e.prev = c.e), c;
171
171
  } finally {
172
172
  }
173
173
  }
174
- function G(e, t, a) {
174
+ function J(e, a, t) {
175
175
  for (var r = e.next ? (
176
176
  /** @type {TemplateNode} */
177
177
  e.next.e.nodes_start
178
- ) : a, n = t ? (
178
+ ) : t, s = a ? (
179
179
  /** @type {TemplateNode} */
180
- t.e.nodes_start
181
- ) : a, l = (
180
+ a.e.nodes_start
181
+ ) : t, l = (
182
182
  /** @type {TemplateNode} */
183
183
  e.e.nodes_start
184
184
  ); l !== r; ) {
185
- var f = (
185
+ var u = (
186
186
  /** @type {TemplateNode} */
187
- ye(l)
187
+ Ae(l)
188
188
  );
189
- n.before(l), l = f;
189
+ s.before(l), l = u;
190
190
  }
191
191
  }
192
- function T(e, t, a) {
193
- t === null ? e.first = a : (t.next = a, t.e.next = a && a.e), a !== null && (a.prev = t, a.e.prev = t && t.e);
192
+ function y(e, a, t) {
193
+ a === null ? e.first = t : (a.next = t, a.e.next = t && t.e), t !== null && (t.prev = a, t.e.prev = a && a.e);
194
194
  }
195
- function le(e) {
196
- var t, a, r = "";
195
+ function ie(e) {
196
+ var a, t, r = "";
197
197
  if (typeof e == "string" || typeof e == "number") r += e;
198
198
  else if (typeof e == "object") if (Array.isArray(e)) {
199
- var n = e.length;
200
- for (t = 0; t < n; t++) e[t] && (a = le(e[t])) && (r && (r += " "), r += a);
201
- } else for (a in e) e[a] && (r && (r += " "), r += a);
199
+ var s = e.length;
200
+ for (a = 0; a < s; a++) e[a] && (t = ie(e[a])) && (r && (r += " "), r += t);
201
+ } else for (t in e) e[t] && (r && (r += " "), r += t);
202
202
  return r;
203
203
  }
204
- function Ke() {
205
- for (var e, t, a = 0, r = "", n = arguments.length; a < n; a++) (e = arguments[a]) && (t = le(e)) && (r && (r += " "), r += t);
204
+ function Xe() {
205
+ for (var e, a, t = 0, r = "", s = arguments.length; t < s; t++) (e = arguments[t]) && (a = ie(e)) && (r && (r += " "), r += a);
206
206
  return r;
207
207
  }
208
- function Xe(e) {
209
- return typeof e == "object" ? Ke(e) : e ?? "";
208
+ function Ze(e) {
209
+ return typeof e == "object" ? Xe(e) : e ?? "";
210
210
  }
211
- function Ze(e, t, a) {
211
+ function ze(e, a, t) {
212
212
  var r = e == null ? "" : "" + e;
213
213
  return r === "" ? null : r;
214
214
  }
215
- function ze(e, t, a, r, n, l) {
216
- var f = e.__className;
217
- if (g || f !== a || f === void 0) {
218
- var o = Ze(a);
219
- (!g || o !== e.getAttribute("class")) && (o == null ? e.removeAttribute("class") : e.className = o), e.__className = a;
215
+ function Ge(e, a, t, r, s, l) {
216
+ var u = e.__className;
217
+ if (g || u !== t || u === void 0) {
218
+ var o = ze(t);
219
+ (!g || o !== e.getAttribute("class")) && (o == null ? e.removeAttribute("class") : e.className = o), e.__className = t;
220
220
  }
221
221
  return l;
222
222
  }
223
- const Ge = Symbol("is custom element"), Je = Symbol("is html");
224
- function Qe(e, t, a, r) {
225
- var n = We(e);
226
- g && (n[t] = e.getAttribute(t)), n[t] !== (n[t] = a) && (a == null ? e.removeAttribute(t) : typeof a != "string" && $e(e).includes(t) ? e[t] = a : e.setAttribute(t, a));
223
+ const Je = Symbol("is custom element"), Qe = Symbol("is html");
224
+ function We(e, a, t, r) {
225
+ var s = $e(e);
226
+ g && (s[a] = e.getAttribute(a)), s[a] !== (s[a] = t) && (t == null ? e.removeAttribute(a) : typeof t != "string" && je(e).includes(a) ? e[a] = t : e.setAttribute(a, t));
227
227
  }
228
- function We(e) {
228
+ function $e(e) {
229
229
  return (
230
230
  /** @type {Record<string | symbol, unknown>} **/
231
231
  // @ts-expect-error
232
232
  e.__attributes ?? (e.__attributes = {
233
- [Ge]: e.nodeName.includes("-"),
234
- [Je]: e.namespaceURI === Se
233
+ [Je]: e.nodeName.includes("-"),
234
+ [Qe]: e.namespaceURI === He
235
235
  })
236
236
  );
237
237
  }
238
- var J = /* @__PURE__ */ new Map();
239
- function $e(e) {
240
- var t = J.get(e.nodeName);
241
- if (t) return t;
242
- J.set(e.nodeName, t = []);
243
- for (var a, r = e, n = Element.prototype; n !== r; ) {
244
- a = He(r);
245
- for (var l in a)
246
- a[l].set && t.push(l);
247
- r = Me(r);
238
+ var Q = /* @__PURE__ */ new Map();
239
+ function je(e) {
240
+ var a = Q.get(e.nodeName);
241
+ if (a) return a;
242
+ Q.set(e.nodeName, a = []);
243
+ for (var t, r = e, s = Element.prototype; s !== r; ) {
244
+ t = we(r);
245
+ for (var l in t)
246
+ t[l].set && a.push(l);
247
+ r = ke(r);
248
248
  }
249
- return t;
249
+ return a;
250
250
  }
251
- function je(e, t, a = t) {
252
- var r = ke();
253
- we(e, "input", (n) => {
254
- var l = n ? e.defaultValue : e.value;
255
- if (l = x(e) ? Y(l) : l, a(l), r && l !== (l = t())) {
256
- var f = e.selectionStart, o = e.selectionEnd;
257
- e.value = l ?? "", o !== null && (e.selectionStart = f, e.selectionEnd = Math.min(o, e.value.length));
251
+ function ea(e, a, t = a) {
252
+ var r = Ce();
253
+ Re(e, "input", (s) => {
254
+ var l = s ? e.defaultValue : e.value;
255
+ if (l = Y(e) ? q(l) : l, t(l), r && l !== (l = a())) {
256
+ var u = e.selectionStart, o = e.selectionEnd;
257
+ e.value = l ?? "", o !== null && (e.selectionStart = u, e.selectionEnd = Math.min(o, e.value.length));
258
258
  }
259
259
  }), // If we are hydrating and the value has since changed,
260
260
  // then use the updated value from the input instead.
261
261
  (g && e.defaultValue !== e.value || // If defaultValue is set, then value == defaultValue
262
262
  // TODO Svelte 6: remove input.value check and set to empty string?
263
- Re(t) == null && e.value) && a(x(e) ? Y(e.value) : e.value), Ce(() => {
264
- var n = t();
265
- x(e) && n === Y(e.value) || e.type === "date" && !n && !e.value || n !== e.value && (e.value = n ?? "");
263
+ S(a) == null && e.value) && t(Y(e) ? q(e.value) : e.value), De(() => {
264
+ var s = a();
265
+ Y(e) && s === q(e.value) || e.type === "date" && !s && !e.value || s !== e.value && (e.value = s ?? "");
266
266
  });
267
267
  }
268
- function x(e) {
269
- var t = e.type;
270
- return t === "number" || t === "range";
271
- }
272
268
  function Y(e) {
269
+ var a = e.type;
270
+ return a === "number" || a === "range";
271
+ }
272
+ function q(e) {
273
273
  return e === "" ? null : +e;
274
274
  }
275
- var et = D("<button> </button>"), tt = D('<div><button class="HTMLEditor">HTML</button> <button class="PlainEditor">Plain</button> <!></div>');
276
- function ie(e, t) {
277
- ae(t, !1);
278
- const a = Le();
279
- let r = M(t, "buttons", 28, () => []);
280
- function n() {
281
- a("html", {});
275
+ var aa = O("<button> </button>"), ta = O('<div><button class="HTMLEditor">HTML</button> <button class="PlainEditor">Plain</button> <!></div>');
276
+ function fe(e, a) {
277
+ re(a, !1);
278
+ const t = Le();
279
+ let r = H(a, "buttons", 28, () => []);
280
+ function s() {
281
+ t("html", {});
282
282
  }
283
283
  function l() {
284
- a("plain", {});
284
+ t("plain", {});
285
285
  }
286
- re();
287
- var f = tt(), o = C(f), _ = K(o, 2), d = K(_, 2);
288
- return qe(d, 1, r, xe, (i, c) => {
289
- var u = et(), s = C(u, !0);
290
- L(u), De(() => {
291
- ze(u, 1, Xe(A(c).style)), Qe(u, "title", A(c).text), Pe(s, A(c).text);
292
- }), V("click", u, function(...v) {
293
- var m;
294
- (m = A(c).handler) == null || m.apply(this, v);
295
- }), R(i, u);
296
- }), L(f), V("click", o, n), V("click", _, l), R(e, f), ne({
286
+ se();
287
+ var u = ta(), o = D(u), _ = X(o, 2), d = X(_, 2);
288
+ return Be(d, 1, r, Ye, (i, v) => {
289
+ var f = aa(), n = D(f, !0);
290
+ L(f), Oe(() => {
291
+ Ge(f, 1, Ze((p(v), S(() => p(v).style)))), We(f, "title", (p(v), S(() => p(v).text))), Pe(n, (p(v), S(() => p(v).text)));
292
+ }), x("click", f, function(...c) {
293
+ var E;
294
+ (E = p(v).handler) == null || E.apply(this, c);
295
+ }), R(i, f);
296
+ }), L(u), x("click", o, s), x("click", _, l), R(e, u), ne({
297
297
  get buttons() {
298
298
  return r();
299
299
  },
300
300
  set buttons(i) {
301
- r(i), H();
301
+ r(i), k();
302
302
  }
303
303
  });
304
304
  }
305
- te(ie, { buttons: {} }, [], [], !0);
306
- var at = D("<textarea></textarea>"), rt = D('<main><div class="Editor"><!></div> <!></main>');
307
- function nt(e, t) {
308
- ae(t, !1);
309
- let a = M(t, "value", 12, ""), r = M(t, "buttons", 28, () => []), n = M(t, "html", 12, !0);
305
+ te(fe, { buttons: {} }, [], [], !0);
306
+ var ra = O("<textarea></textarea>"), sa = O('<main><div class="Editor"><!></div> <!></main>');
307
+ function na(e, a) {
308
+ re(a, !1);
309
+ let t = H(a, "value", 12, ""), r = H(a, "buttons", 28, () => []), s = H(a, "html", 12, !0);
310
310
  function l() {
311
- n() || n(!0);
311
+ s() || s(!0);
312
312
  }
313
- function f() {
314
- n() && (a(a().replace(/<[^>]*>?/gm, "")), n(!1));
313
+ function u() {
314
+ s() && (t(t().replace(/<[^>]*>?/gm, "")), s(!1));
315
315
  }
316
- re();
317
- var o = rt(), _ = C(o), d = C(_);
316
+ se();
317
+ var o = sa(), _ = D(o), d = D(_);
318
318
  {
319
- var i = (s) => {
320
- Oe(s, {
319
+ var i = (n) => {
320
+ Ue(n, {
321
321
  get value() {
322
- return a();
322
+ return t();
323
323
  },
324
- set value(v) {
325
- a(v);
324
+ set value(c) {
325
+ t(c);
326
326
  },
327
327
  $$legacy: !0
328
328
  });
329
- }, c = (s) => {
330
- var v = at();
331
- Ue(v), je(v, a), R(s, v);
329
+ }, v = (n) => {
330
+ var c = ra();
331
+ Ve(c), ea(c, t), R(n, c);
332
332
  };
333
- Ve(d, (s) => {
334
- n() ? s(i) : s(c, !1);
333
+ xe(d, (n) => {
334
+ s() ? n(i) : n(v, !1);
335
335
  });
336
336
  }
337
337
  L(_);
338
- var u = K(_, 2);
339
- return ie(u, {
338
+ var f = X(_, 2);
339
+ return fe(f, {
340
340
  get buttons() {
341
341
  return r();
342
342
  },
343
- set buttons(s) {
344
- r(s);
343
+ set buttons(n) {
344
+ r(n);
345
345
  },
346
- $$events: { html: l, plain: f },
346
+ $$events: { html: l, plain: u },
347
347
  $$legacy: !0
348
348
  }), L(o), R(e, o), ne({
349
349
  get value() {
350
- return a();
350
+ return t();
351
351
  },
352
- set value(s) {
353
- a(s), H();
352
+ set value(n) {
353
+ t(n), k();
354
354
  },
355
355
  get buttons() {
356
356
  return r();
357
357
  },
358
- set buttons(s) {
359
- r(s), H();
358
+ set buttons(n) {
359
+ r(n), k();
360
360
  },
361
361
  get html() {
362
- return n();
362
+ return s();
363
363
  },
364
- set html(s) {
365
- n(s), H();
364
+ set html(n) {
365
+ s(n), k();
366
366
  }
367
367
  });
368
368
  }
369
- customElements.define("switchable-editor", te(nt, { value: {}, buttons: {}, html: {} }, [], [], !1));
369
+ customElements.define("switchable-editor", te(na, { value: {}, buttons: {}, html: {} }, [], [], !1));