@qualityunit/liveagent-components-editor 0.0.87 → 0.0.89

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 (396) hide show
  1. package/dist/CKEditor5Classic-WEkDhFyI.js +42816 -0
  2. package/dist/af-BCvDzxSx.js +727 -0
  3. package/dist/af.umd-CG9olyxo.js +732 -0
  4. package/dist/ar-CifCuj25.js +727 -0
  5. package/dist/ar-SA-DXBHEcM0.js +8 -0
  6. package/dist/ar.umd-A5pvt9lo.js +732 -0
  7. package/dist/ast-DPL8VhyZ.js +727 -0
  8. package/dist/ast.umd-B4x5O6n4.js +732 -0
  9. package/dist/az-SswKA-lD.js +727 -0
  10. package/dist/az.umd-BbgVfMaX.js +732 -0
  11. package/dist/be-DnNJB7RW.js +727 -0
  12. package/dist/be.umd-3toxWiI1.js +732 -0
  13. package/dist/bg-BG-0-EA6Zfd.js +7 -0
  14. package/dist/bg-DCxrZDhR.js +727 -0
  15. package/dist/bg.umd-Bw4Kuzqa.js +732 -0
  16. package/dist/bn-08Ql88Ga.js +727 -0
  17. package/dist/bn.umd-yVwaGUnQ.js +732 -0
  18. package/dist/bs-BA-BZu7PlUX.js +4 -0
  19. package/dist/bs-URu2perD.js +727 -0
  20. package/dist/bs.umd-CSRtpBtj.js +732 -0
  21. package/dist/ca-B6ZtW7Ip.js +727 -0
  22. package/dist/ca-ES-zoCFoV-f.js +4 -0
  23. package/dist/ca.umd-Dhu2CgVk.js +732 -0
  24. package/dist/ckb-IR-CnZzWgtu.js +8 -0
  25. package/dist/ckeditor.js +1 -1
  26. package/dist/cs-BsbRjjRm.js +727 -0
  27. package/dist/cs-CZ-C7ay5yp9.js +8 -0
  28. package/dist/cs.umd-BvNKh_98.js +732 -0
  29. package/dist/da-CrWhqCvV.js +727 -0
  30. package/dist/da-DK-h07X-MCH.js +8 -0
  31. package/dist/da.umd-aDHHcuzc.js +732 -0
  32. package/dist/de-BqwjEC3_.js +727 -0
  33. package/dist/de-DE-BhscFiOE.js +8 -0
  34. package/dist/de-ch-DmUkY9HL.js +727 -0
  35. package/dist/de-ch.umd-C2yiseL2.js +732 -0
  36. package/dist/de.umd-DNnxTDJ5.js +732 -0
  37. package/dist/editor-lib.js +101 -539
  38. package/dist/el-BqkGZlm7.js +727 -0
  39. package/dist/el-GR-xmABCUa1.js +8 -0
  40. package/dist/el.umd-CsENnuwZ.js +732 -0
  41. package/dist/en-DZoocYL7.js +8 -0
  42. package/dist/en-DnbPjOgK.js +727 -0
  43. package/dist/en-US-DqT9wtGa.js +4 -0
  44. package/dist/en-au-D_DGShmH.js +727 -0
  45. package/dist/en-au.umd-j78GvOQp.js +732 -0
  46. package/dist/en-gb-BUhO8ylf.js +727 -0
  47. package/dist/en-gb.umd-CtkiL7UB.js +732 -0
  48. package/dist/en.umd-BHXJ5YKG.js +732 -0
  49. package/dist/eo-BHTm_C_J.js +727 -0
  50. package/dist/eo.umd-BsJEDOUH.js +732 -0
  51. package/dist/es-DPbmE3nD.js +727 -0
  52. package/dist/es-ES-i2sd1m_v.js +8 -0
  53. package/dist/es-co-BRyvLnSI.js +727 -0
  54. package/dist/es-co.umd-C-hV8HMP.js +732 -0
  55. package/dist/es.umd-BJcR0oG1.js +732 -0
  56. package/dist/et-D3e-2EnN.js +727 -0
  57. package/dist/et-EE-X8wp3aQC.js +8 -0
  58. package/dist/et.umd-D-q9nJ8j.js +732 -0
  59. package/dist/eu-CtAn_EvU.js +727 -0
  60. package/dist/eu.umd-Dz46VFwA.js +732 -0
  61. package/dist/fa-IR-BtpeD76x.js +4 -0
  62. package/dist/fa-RoJgl_gY.js +727 -0
  63. package/dist/fa.umd-cfBcDCnr.js +732 -0
  64. package/dist/fi-BAzdMLVs.js +727 -0
  65. package/dist/fi-FI-KV3jyWrl.js +4 -0
  66. package/dist/fi.umd-TwWGl7l6.js +732 -0
  67. package/dist/fil-PH-BMzWiVZY.js +4 -0
  68. package/dist/fr-CT3jEiDB.js +727 -0
  69. package/dist/fr-FR-bLYiEFN4.js +4 -0
  70. package/dist/fr.umd-DP9LErE5.js +732 -0
  71. package/dist/gl-C2aUnngF.js +727 -0
  72. package/dist/gl-ES-mieO4ZL0.js +8 -0
  73. package/dist/gl.umd-BdlhhOoR.js +732 -0
  74. package/dist/gu-Ci9C76WK.js +727 -0
  75. package/dist/gu.umd-DyGD0o69.js +732 -0
  76. package/dist/he-IL-iixUu0Qb.js +4 -0
  77. package/dist/he-a36NL_7F.js +727 -0
  78. package/dist/he.umd-ConO3W-S.js +732 -0
  79. package/dist/hi-BynbAjQG.js +727 -0
  80. package/dist/hi.umd-D0BaORqk.js +732 -0
  81. package/dist/hr-BmNb_gCD.js +727 -0
  82. package/dist/hr-HR-irXTVRf9.js +8 -0
  83. package/dist/hr.umd-Cxb5Jz1f.js +732 -0
  84. package/dist/hu-D993vs5I.js +727 -0
  85. package/dist/hu-HU-vuqHASaq.js +8 -0
  86. package/dist/hu.umd-BPWBBo-D.js +732 -0
  87. package/dist/hy-AM-RU5_hSmW.js +4 -0
  88. package/dist/hy-CeRBEHxc.js +727 -0
  89. package/dist/hy.umd-YTWSRGoR.js +732 -0
  90. package/dist/id-C3vL95IT.js +727 -0
  91. package/dist/id-ID-Xm3ECH2C.js +4 -0
  92. package/dist/id.umd-DfrZfDn1.js +732 -0
  93. package/dist/it-IT-P6RzbTqG.js +8 -0
  94. package/dist/it-lN9jcI2F.js +727 -0
  95. package/dist/it.umd-COITdZse.js +732 -0
  96. package/dist/ja-JP-CwHrfluq.js +4 -0
  97. package/dist/ja-NcEK5Z1i.js +727 -0
  98. package/dist/ja.umd-DKRwi93t.js +732 -0
  99. package/dist/jv-Dtpko3dF.js +727 -0
  100. package/dist/jv.umd-DandZD8L.js +732 -0
  101. package/dist/kk-8-fxzsjg.js +727 -0
  102. package/dist/kk.umd-CSMrLWZ3.js +732 -0
  103. package/dist/km-ugC0EoNA.js +727 -0
  104. package/dist/km.umd-DpmwaIaY.js +732 -0
  105. package/dist/kn-DT-57tl9.js +727 -0
  106. package/dist/kn.umd-2YwOLcZi.js +732 -0
  107. package/dist/ko-HEpcRtAw.js +727 -0
  108. package/dist/ko-KR-OS2C7_JL.js +4 -0
  109. package/dist/ko.umd-DpOO6oC3.js +732 -0
  110. package/dist/ku-ExAWha4w.js +727 -0
  111. package/dist/ku.umd-CxUvZY7A.js +732 -0
  112. package/dist/liveagent-components-editor.css +2 -1
  113. package/dist/lt-LT-D0wDaaWU.js +4 -0
  114. package/dist/lt-yiK5P99a.js +727 -0
  115. package/dist/lt.umd-B6AuA7_c.js +732 -0
  116. package/dist/lv-CUBj23gV.js +727 -0
  117. package/dist/lv-LV-BktgTO26.js +8 -0
  118. package/dist/lv.umd-CEf8APQ9.js +732 -0
  119. package/dist/me-ME-CtFicILx.js +4 -0
  120. package/dist/mk-MK-w-7m3EXN.js +4 -0
  121. package/dist/ms-CJUWhiHf.js +727 -0
  122. package/dist/ms-MY-DuxV3zgu.js +4 -0
  123. package/dist/ms.umd-Ch2bCuLi.js +732 -0
  124. package/dist/nb-CRaive4P.js +727 -0
  125. package/dist/nb.umd-BQ7PpxjT.js +732 -0
  126. package/dist/ne-C0dhEjns.js +727 -0
  127. package/dist/ne.umd-BQ5Pm8wP.js +732 -0
  128. package/dist/nl-NL-XbDo1S9h.js +8 -0
  129. package/dist/nl-cz4SeIXg.js +727 -0
  130. package/dist/nl.umd-Bui7IXPU.js +732 -0
  131. package/dist/no-D7m3Y5Wt.js +727 -0
  132. package/dist/no-NO-jySJq0NU.js +4 -0
  133. package/dist/no.umd-cEtIVIDa.js +732 -0
  134. package/dist/oc-B2aSohUQ.js +727 -0
  135. package/dist/oc.umd-C3oWGUpk.js +732 -0
  136. package/dist/pl-BBaaq5a7.js +727 -0
  137. package/dist/pl-PL-D07ioCnX.js +8 -0
  138. package/dist/pl.umd-DNIJhXNI.js +732 -0
  139. package/dist/pt-BR-C-xEIazt.js +8 -0
  140. package/dist/pt-br-CciasssY.js +727 -0
  141. package/dist/pt-br.umd-BzR_9MeI.js +732 -0
  142. package/dist/pt-io9urIOM.js +727 -0
  143. package/dist/pt.umd-CDhnlxgW.js +732 -0
  144. package/dist/ro-KAGfNB0Q.js +727 -0
  145. package/dist/ro-RO-JSfo0wgu.js +8 -0
  146. package/dist/ro.umd-CFTpH7WS.js +732 -0
  147. package/dist/ru-CGJe4c1x.js +727 -0
  148. package/dist/ru-RU-Co6QvUZa.js +4 -0
  149. package/dist/ru.umd-CdouXwBu.js +732 -0
  150. package/dist/si-CjHTdFyw.js +727 -0
  151. package/dist/si.umd-DBkCKHNG.js +732 -0
  152. package/dist/sk-SK-Db0lhN3V.js +4 -0
  153. package/dist/sk-gcCtihnx.js +727 -0
  154. package/dist/sk.umd-YeQShHfa.js +732 -0
  155. package/dist/sl-D6wpyC_Z.js +727 -0
  156. package/dist/sl-SI-xlgP4Zm7.js +8 -0
  157. package/dist/sl.umd-7N3DpMLP.js +732 -0
  158. package/dist/sq-Dk-XIK5A.js +727 -0
  159. package/dist/sq.umd-Cn815VbZ.js +732 -0
  160. package/dist/sr-CS-CoRAt16r.js +4 -0
  161. package/dist/sr-CjdArxlD.js +727 -0
  162. package/dist/sr-latn-nMPFIkTj.js +727 -0
  163. package/dist/sr-latn.umd-_HtFPgX5.js +732 -0
  164. package/dist/sr.umd-CRizaf-6.js +732 -0
  165. package/dist/sv-CmPGsOmt.js +727 -0
  166. package/dist/sv-SE-a2CJeBgC.js +4 -0
  167. package/dist/sv.umd-CGnvpgIx.js +732 -0
  168. package/dist/th-DsQfMBf7.js +727 -0
  169. package/dist/th-TH-DRhC7fKR.js +4 -0
  170. package/dist/th.umd-p_kds6Vx.js +732 -0
  171. package/dist/ti-DKde5uiE.js +727 -0
  172. package/dist/ti.umd-QyttQljX.js +732 -0
  173. package/dist/tk-DAx6UV29.js +727 -0
  174. package/dist/tk.umd-CGB0YxER.js +732 -0
  175. package/dist/tl-PH-DqsD8GRW.js +8 -0
  176. package/dist/tr-Ba15Jpkq.js +727 -0
  177. package/dist/tr-TR-BzBJKJf-.js +4 -0
  178. package/dist/tr.umd-zUpu3K2b.js +732 -0
  179. package/dist/tt-7er7tcpn.js +727 -0
  180. package/dist/tt.umd-CTxvQ5YV.js +732 -0
  181. package/dist/ug-fHv-b5yF.js +727 -0
  182. package/dist/ug.umd-t1sSCEGc.js +732 -0
  183. package/dist/uk-UA-BM3LHIBu.js +8 -0
  184. package/dist/uk-pTa6QAHV.js +727 -0
  185. package/dist/uk.umd-_g-j5cAC.js +732 -0
  186. package/dist/ur-DpNmKpQU.js +727 -0
  187. package/dist/ur.umd-C2AuVg4V.js +732 -0
  188. package/dist/uz-CpykHGdA.js +727 -0
  189. package/dist/uz.umd-CELSj2bE.js +732 -0
  190. package/dist/vi-BfiZ8z0K.js +727 -0
  191. package/dist/vi-VN-DVItHEBL.js +8 -0
  192. package/dist/vi.umd-B0N7yVBP.js +732 -0
  193. package/dist/vls-BE-DOhtP1bI.js +4 -0
  194. package/dist/zh-BCTUDQtU.js +727 -0
  195. package/dist/zh-CN-BL4UEzK0.js +4 -0
  196. package/dist/zh-TW-rAS3M-cP.js +4 -0
  197. package/dist/zh-cn-C2b_oOnk.js +727 -0
  198. package/dist/zh-cn.umd-6KL8Zf8z.js +732 -0
  199. package/dist/zh.umd-UMynlO9s.js +732 -0
  200. package/package.json +12 -8
  201. package/dist/af-BhxJwhJA.js +0 -6
  202. package/dist/af.umd-BoC60sWE.js +0 -35
  203. package/dist/ar-BfJcVRnS.js +0 -7
  204. package/dist/ar-SA-ByRLgUAa.js +0 -8
  205. package/dist/ar.umd-D4WEHXyn.js +0 -36
  206. package/dist/ast-DXHM_OXE.js +0 -6
  207. package/dist/ast.umd-B1hxBB1o.js +0 -35
  208. package/dist/az-C8nFLnz3.js +0 -6
  209. package/dist/az.umd-DVfdg_mR.js +0 -35
  210. package/dist/be-BTwAj_W-.js +0 -6
  211. package/dist/be.umd-B8MUrWOG.js +0 -35
  212. package/dist/bg-BG-BXSrk_lu.js +0 -7
  213. package/dist/bg-DxR4pQwC.js +0 -8
  214. package/dist/bg.umd-BarS075M.js +0 -37
  215. package/dist/bn-BV91aXxa.js +0 -8
  216. package/dist/bn.umd-7-i-vu2l.js +0 -37
  217. package/dist/bs-BA-CMYq8l3H.js +0 -4
  218. package/dist/bs-Bhj2I1ZU.js +0 -6
  219. package/dist/bs.umd-saCWhGT7.js +0 -35
  220. package/dist/ca-BW0ATDzW.js +0 -6
  221. package/dist/ca-ES-DjWw6Iqb.js +0 -4
  222. package/dist/ca.umd-CLRMKHVp.js +0 -35
  223. package/dist/ckb-IR-HeACCo9e.js +0 -8
  224. package/dist/ckeditor5-BDnJIzzy.js +0 -77304
  225. package/dist/cs-BIlK51cn.js +0 -6
  226. package/dist/cs-CZ-CvhZVz7v.js +0 -8
  227. package/dist/cs.umd-Dz7wiHkH.js +0 -35
  228. package/dist/da-CtM7xBsl.js +0 -6
  229. package/dist/da-DK-CBTclgpd.js +0 -8
  230. package/dist/da.umd-DQZLeWYH.js +0 -35
  231. package/dist/de-BdFXawwc.js +0 -6
  232. package/dist/de-DE-B90pWJeV.js +0 -8
  233. package/dist/de-ch-10IhlWoH.js +0 -6
  234. package/dist/de-ch.umd-DBYUpJTt.js +0 -35
  235. package/dist/de.umd-_b1qvkYn.js +0 -35
  236. package/dist/el-CKafeHXp.js +0 -6
  237. package/dist/el-GR-BpqXiD6v.js +0 -8
  238. package/dist/el.umd-CBckz4Xs.js +0 -35
  239. package/dist/en-BHpyQdXh.js +0 -6
  240. package/dist/en-CL3ZKpIK.js +0 -8
  241. package/dist/en-US-BOXL7nIM.js +0 -6
  242. package/dist/en-au-DgNe2lao.js +0 -6
  243. package/dist/en-au.umd-HNc8-50X.js +0 -35
  244. package/dist/en-gb-Dn7C8TOx.js +0 -6
  245. package/dist/en-gb.umd-_kOX0sG0.js +0 -35
  246. package/dist/en.umd-DDcjGH3f.js +0 -35
  247. package/dist/eo-C99PDlsn.js +0 -6
  248. package/dist/eo.umd-BuuSb0Wt.js +0 -35
  249. package/dist/es-DMf7OAVd.js +0 -6
  250. package/dist/es-ES-DZPT37jA.js +0 -8
  251. package/dist/es-co-Dqu5FzyH.js +0 -6
  252. package/dist/es-co.umd-BmC_SoVy.js +0 -35
  253. package/dist/es.umd-CBBXu7ZW.js +0 -35
  254. package/dist/et-B6wmLspW.js +0 -6
  255. package/dist/et-EE-rsGIMLI0.js +0 -8
  256. package/dist/et.umd-CwKjDKJN.js +0 -35
  257. package/dist/eu-WYcijesC.js +0 -6
  258. package/dist/eu.umd-x7XYToCZ.js +0 -35
  259. package/dist/fa-IR-DjWw6Iqb.js +0 -4
  260. package/dist/fa-auKY0RtW.js +0 -6
  261. package/dist/fa.umd-B0ldrV6B.js +0 -35
  262. package/dist/fi-FI-CEWfjKtf.js +0 -6
  263. package/dist/fi-cqcyZZgN.js +0 -6
  264. package/dist/fi.umd-CG5rHVfe.js +0 -35
  265. package/dist/fil-PH-BDMct_Gn.js +0 -4
  266. package/dist/fr-DMz0zPMI.js +0 -6
  267. package/dist/fr-FR-DLjHZ74y.js +0 -6
  268. package/dist/fr.umd-BpdSYRm4.js +0 -35
  269. package/dist/gl-DQg3XjMi.js +0 -6
  270. package/dist/gl-ES-CwA4hQYt.js +0 -8
  271. package/dist/gl.umd-tqdzdwbF.js +0 -35
  272. package/dist/gu-8NvwWzo_.js +0 -6
  273. package/dist/gu.umd-Dm9g9NFB.js +0 -35
  274. package/dist/he-BD55bDFm.js +0 -6
  275. package/dist/he-IL-DYxpcVy9.js +0 -4
  276. package/dist/he.umd-BKh9WcVf.js +0 -35
  277. package/dist/hi-C_4ya7IJ.js +0 -6
  278. package/dist/hi.umd-BeyeECxk.js +0 -35
  279. package/dist/hr-CJ7ws79G.js +0 -6
  280. package/dist/hr-HR-BBJKBRZw.js +0 -6
  281. package/dist/hr.umd-Sda_79sX.js +0 -35
  282. package/dist/hu-C5TdugR-.js +0 -6
  283. package/dist/hu-HU-BwO1zWGI.js +0 -8
  284. package/dist/hu.umd-mSBbYXQ_.js +0 -35
  285. package/dist/hy-AM-BDMct_Gn.js +0 -4
  286. package/dist/hy-BpNKJKFl.js +0 -6
  287. package/dist/hy.umd--LvkY5A4.js +0 -35
  288. package/dist/id-BLUi5KYI.js +0 -6
  289. package/dist/id-ID-BDMct_Gn.js +0 -4
  290. package/dist/id.umd-CTczcPLZ.js +0 -35
  291. package/dist/it-B2Cg0fw5.js +0 -6
  292. package/dist/it-IT-Bz3Mds64.js +0 -8
  293. package/dist/it.umd-DS-o4_6p.js +0 -35
  294. package/dist/ja-D31zfcEj.js +0 -6
  295. package/dist/ja-JP-vevc0RnD.js +0 -6
  296. package/dist/ja.umd-B-zzoV8W.js +0 -35
  297. package/dist/jv-BDlx7iOb.js +0 -6
  298. package/dist/jv.umd-DoGTL8JI.js +0 -35
  299. package/dist/kk-C83iZbT1.js +0 -6
  300. package/dist/kk.umd-C-wJlPBY.js +0 -35
  301. package/dist/km-TfkcQFd3.js +0 -6
  302. package/dist/km.umd-c1gfze2q.js +0 -35
  303. package/dist/kn-C-yYlzv1.js +0 -6
  304. package/dist/kn.umd-CKw8tCB-.js +0 -35
  305. package/dist/ko-B4z3wkNf.js +0 -6
  306. package/dist/ko-KR-CWtDSj7T.js +0 -4
  307. package/dist/ko.umd-DMUIiRKO.js +0 -35
  308. package/dist/ku-BWVhlq1H.js +0 -6
  309. package/dist/ku.umd-DgGbFOIw.js +0 -35
  310. package/dist/lt-B3BKsFNn.js +0 -6
  311. package/dist/lt-LT-ev-_8vky.js +0 -6
  312. package/dist/lt.umd-BIQ6-TOb.js +0 -35
  313. package/dist/lv-LV-DZOu8V5J.js +0 -8
  314. package/dist/lv-YIXI0TEq.js +0 -6
  315. package/dist/lv.umd-BAWyQSsQ.js +0 -35
  316. package/dist/me-ME-DYxpcVy9.js +0 -4
  317. package/dist/mk-MK-BDMct_Gn.js +0 -4
  318. package/dist/ms-3dN-7-68.js +0 -6
  319. package/dist/ms-MY-CMYq8l3H.js +0 -4
  320. package/dist/ms.umd-C5TaH6qZ.js +0 -35
  321. package/dist/nb-Dd9nZq3B.js +0 -6
  322. package/dist/nb.umd-Cb9Dzy9R.js +0 -35
  323. package/dist/ne-BIsnJOxL.js +0 -6
  324. package/dist/ne.umd-D6VBkiG4.js +0 -35
  325. package/dist/nl-DeI1f_Ej.js +0 -7
  326. package/dist/nl-NL-B3e_GwNW.js +0 -8
  327. package/dist/nl.umd-Rmqhj1m5.js +0 -36
  328. package/dist/no-DpCvn5fl.js +0 -7
  329. package/dist/no-NO-CWtDSj7T.js +0 -4
  330. package/dist/no.umd-DasA4IPM.js +0 -36
  331. package/dist/oc-Cj34IF6H.js +0 -6
  332. package/dist/oc.umd-7LuphYCW.js +0 -35
  333. package/dist/pl-DeOHbAKv.js +0 -6
  334. package/dist/pl-PL-DRguhjBs.js +0 -8
  335. package/dist/pl.umd-DJFK6iXB.js +0 -35
  336. package/dist/pt-BR-CVeZPH6Z.js +0 -8
  337. package/dist/pt-BWOjjxZr.js +0 -6
  338. package/dist/pt-br-Bpf_MGnD.js +0 -6
  339. package/dist/pt-br.umd-CCTnuxPK.js +0 -35
  340. package/dist/pt.umd-B3ow0Upd.js +0 -35
  341. package/dist/ro-D8xo5bLQ.js +0 -6
  342. package/dist/ro-RO-o5kJVw_9.js +0 -8
  343. package/dist/ro.umd-BNPENH99.js +0 -35
  344. package/dist/ru-By1ab7iY.js +0 -6
  345. package/dist/ru-RU-BDMct_Gn.js +0 -4
  346. package/dist/ru.umd-jOHFOul4.js +0 -35
  347. package/dist/si-H0AanpcB.js +0 -6
  348. package/dist/si.umd-CNDQd7OP.js +0 -35
  349. package/dist/sk-BGyrRN4j.js +0 -6
  350. package/dist/sk-SK-DVwFxicR.js +0 -6
  351. package/dist/sk.umd-Dup_eoB0.js +0 -35
  352. package/dist/sl-BbQHHESo.js +0 -6
  353. package/dist/sl-SI-DayIDCow.js +0 -8
  354. package/dist/sl.umd-BfgRa7rL.js +0 -35
  355. package/dist/sq-EZ1aGFyX.js +0 -6
  356. package/dist/sq.umd-DMvjoIzE.js +0 -35
  357. package/dist/sr-BPcBTyjW.js +0 -6
  358. package/dist/sr-CS-C3PlAsDw.js +0 -6
  359. package/dist/sr-latn-BbtVJPvx.js +0 -6
  360. package/dist/sr-latn.umd-CYepnlS-.js +0 -35
  361. package/dist/sr.umd-pZK89DVv.js +0 -35
  362. package/dist/sv-2Z2iEXqO.js +0 -6
  363. package/dist/sv-SE-CMYq8l3H.js +0 -4
  364. package/dist/sv.umd-gxUmbW8z.js +0 -35
  365. package/dist/th-BVQWLvUV.js +0 -6
  366. package/dist/th-TH-BDMct_Gn.js +0 -4
  367. package/dist/th.umd-DVd2-XlT.js +0 -35
  368. package/dist/ti-BmhtvdJ3.js +0 -6
  369. package/dist/ti.umd-BPS9qb4l.js +0 -35
  370. package/dist/tk-BbYuFyfK.js +0 -6
  371. package/dist/tk.umd-CKLrsldm.js +0 -35
  372. package/dist/tl-PH-CL3ZKpIK.js +0 -8
  373. package/dist/tr-TR-CGuuOck7.js +0 -6
  374. package/dist/tr-rYfshdEe.js +0 -6
  375. package/dist/tr.umd-C1OqdzbV.js +0 -35
  376. package/dist/tt-CSZRdhAd.js +0 -6
  377. package/dist/tt.umd-BFzXDykE.js +0 -35
  378. package/dist/ug-DmPGSPR7.js +0 -6
  379. package/dist/ug.umd-DpjnPVo6.js +0 -35
  380. package/dist/uk-Cb3f2yEJ.js +0 -6
  381. package/dist/uk-UA-UakO9QW5.js +0 -6
  382. package/dist/uk.umd-DKMbtnd0.js +0 -35
  383. package/dist/ur-XrI1oCNo.js +0 -6
  384. package/dist/ur.umd-CQnFI-zO.js +0 -35
  385. package/dist/uz-BtkWfLCy.js +0 -6
  386. package/dist/uz.umd-Cc0XuEE7.js +0 -35
  387. package/dist/vi-VN-C5-gBKpr.js +0 -8
  388. package/dist/vi-efQIVmk-.js +0 -6
  389. package/dist/vi.umd-DJKU_BE6.js +0 -35
  390. package/dist/vls-BE-CMYq8l3H.js +0 -4
  391. package/dist/zh-CN-B3mLXymR.js +0 -6
  392. package/dist/zh-COO8u8wX.js +0 -6
  393. package/dist/zh-TW-BDMct_Gn.js +0 -4
  394. package/dist/zh-cn-C-Q2Lq2R.js +0 -6
  395. package/dist/zh-cn.umd-CDeIicV3.js +0 -35
  396. package/dist/zh.umd-DkmzBHN9.js +0 -35
@@ -1,539 +1,101 @@
1
- import { r as ee, I as H, d as z, p as te, c as U, b as D, a as N, m as fe, s as le, h as m, e as x, f as oe, E as Ee, i as ue, j as ce, k as J, l as Q, n as R, o as y, q as ae, t as A, u as ke, v as ye, w as Ae, x as re, y as Se, z as Te, A as we, B as ne, C as Me, D as Ne, F as xe, G as Ce, H as Ie, J as He, K as Re, L as De, N as Fe, M as Le, O as Oe, P as ze, Q as Pe, R as P, S as Be, T as Ve, U as ve, V as Ue, W as B, X as he, Y as W, Z as Y, _ as de, $ as K, a0 as _e, a1 as $, a2 as Z, a3 as V, a4 as q, a5 as Ye, a6 as $e, a7 as qe, a8 as Ke } from "./ckeditor5-BDnJIzzy.js";
2
- class We {
3
- /** @type {TemplateNode} */
4
- anchor;
5
- /** @type {Map<Batch, Key>} */
6
- #t = /* @__PURE__ */ new Map();
7
- /**
8
- * Map of keys to effects that are currently rendered in the DOM.
9
- * These effects are visible and actively part of the document tree.
10
- * Example:
11
- * ```
12
- * {#if condition}
13
- * foo
14
- * {:else}
15
- * bar
16
- * {/if}
17
- * ```
18
- * Can result in the entries `true->Effect` and `false->Effect`
19
- * @type {Map<Key, Effect>}
20
- */
21
- #r = /* @__PURE__ */ new Map();
22
- /**
23
- * Similar to #onscreen with respect to the keys, but contains branches that are not yet
24
- * in the DOM, because their insertion is deferred.
25
- * @type {Map<Key, Branch>}
26
- */
27
- #e = /* @__PURE__ */ new Map();
28
- /**
29
- * Keys of effects that are currently outroing
30
- * @type {Set<Key>}
31
- */
32
- #a = /* @__PURE__ */ new Set();
33
- /**
34
- * Whether to pause (i.e. outro) on change, or destroy immediately.
35
- * This is necessary for `<svelte:element>`
36
- */
37
- #n = !0;
38
- /**
39
- * @param {TemplateNode} anchor
40
- * @param {boolean} transition
41
- */
42
- constructor(t, r = !0) {
43
- this.anchor = t, this.#n = r;
44
- }
45
- /**
46
- * @param {Batch} batch
47
- */
48
- #s = (t) => {
49
- if (this.#t.has(t)) {
50
- var r = (
51
- /** @type {Key} */
52
- this.#t.get(t)
53
- ), a = this.#r.get(r);
54
- if (a)
55
- ee(a), this.#a.delete(r);
56
- else {
57
- var s = this.#e.get(r);
58
- s && (s.effect.f & H) === 0 && (this.#r.set(r, s.effect), this.#e.delete(r), s.fragment.lastChild.remove(), this.anchor.before(s.fragment), a = s.effect);
59
- }
60
- for (const [f, l] of this.#t) {
61
- if (this.#t.delete(f), f === t)
62
- break;
63
- const n = this.#e.get(l);
64
- n && (z(n.effect), this.#e.delete(l));
65
- }
66
- for (const [f, l] of this.#r) {
67
- if (f === r || this.#a.has(f) || (l.f & H) !== 0) continue;
68
- const n = () => {
69
- if (Array.from(this.#t.values()).includes(f)) {
70
- var u = document.createDocumentFragment();
71
- fe(l, u), u.append(U()), this.#e.set(f, { effect: l, fragment: u });
72
- } else
73
- z(l);
74
- this.#a.delete(f), this.#r.delete(f);
75
- };
76
- this.#n || !a ? (this.#a.add(f), te(l, n, !1)) : n();
77
- }
78
- }
79
- };
80
- /**
81
- * @param {Batch} batch
82
- */
83
- #i = (t) => {
84
- this.#t.delete(t);
85
- const r = Array.from(this.#t.values());
86
- for (const [a, s] of this.#e)
87
- r.includes(a) || (z(s.effect), this.#e.delete(a));
88
- };
89
- /**
90
- *
91
- * @param {any} key
92
- * @param {null | ((target: TemplateNode) => void)} fn
93
- */
94
- ensure(t, r) {
95
- var a = (
96
- /** @type {Batch} */
97
- N
98
- ), s = le();
99
- if (r && !this.#r.has(t) && !this.#e.has(t))
100
- if (s) {
101
- var f = document.createDocumentFragment(), l = U();
102
- f.append(l), this.#e.set(t, {
103
- effect: D(() => r(l)),
104
- fragment: f
105
- });
106
- } else
107
- this.#r.set(
108
- t,
109
- D(() => r(this.anchor))
110
- );
111
- if (this.#t.set(a, t), s) {
112
- for (const [n, o] of this.#r)
113
- n === t ? a.unskip_effect(o) : a.skip_effect(o);
114
- for (const [n, o] of this.#e)
115
- n === t ? a.unskip_effect(o.effect) : a.skip_effect(o.effect);
116
- a.oncommit(this.#s), a.ondiscard(this.#i);
117
- } else
118
- m && (this.anchor = x), this.#s(a);
119
- }
120
- }
121
- function Xe(e, t, r = !1) {
122
- var a;
123
- m && (a = x, ue());
124
- var s = new We(e), f = r ? Ee : 0;
125
- function l(n, o) {
126
- if (m) {
127
- var u = ce(
128
- /** @type {TemplateNode} */
129
- a
130
- );
131
- if (n !== parseInt(u.substring(1))) {
132
- var c = J();
133
- Q(c), s.anchor = c, R(!1), s.ensure(n, o), R(!0);
134
- return;
135
- }
136
- }
137
- s.ensure(n, o);
138
- }
139
- oe(() => {
140
- var n = !1;
141
- t((o, u = 0) => {
142
- n = !0, l(u, o);
143
- }), n || l(-1, null);
144
- }, f);
145
- }
146
- function Ge(e, t) {
147
- return t;
148
- }
149
- function Je(e, t, r) {
150
- for (var a = [], s = t.length, f, l = t.length, n = 0; n < s; n++) {
151
- let h = t[n];
152
- te(
153
- h,
154
- () => {
155
- if (f) {
156
- if (f.pending.delete(h), f.done.add(h), f.pending.size === 0) {
157
- var v = (
158
- /** @type {Set<EachOutroGroup>} */
159
- e.outrogroups
160
- );
161
- j(e, re(f.done)), v.delete(f), v.size === 0 && (e.outrogroups = null);
162
- }
163
- } else
164
- l -= 1;
165
- },
166
- !1
167
- );
168
- }
169
- if (l === 0) {
170
- var o = a.length === 0 && r !== null;
171
- if (o) {
172
- var u = (
173
- /** @type {Element} */
174
- r
175
- ), c = (
176
- /** @type {Element} */
177
- u.parentNode
178
- );
179
- Ce(c), c.append(u), e.items.clear();
180
- }
181
- j(e, t, !o);
182
- } else
183
- f = {
184
- pending: new Set(t),
185
- done: /* @__PURE__ */ new Set()
186
- }, (e.outrogroups ??= /* @__PURE__ */ new Set()).add(f);
187
- }
188
- function j(e, t, r = !0) {
189
- var a;
190
- if (e.pending.size > 0) {
191
- a = /* @__PURE__ */ new Set();
192
- for (const l of e.pending.values())
193
- for (const n of l)
194
- a.add(
195
- /** @type {EachItem} */
196
- e.items.get(n).e
197
- );
198
- }
199
- for (var s = 0; s < t.length; s++) {
200
- var f = t[s];
201
- if (a?.has(f)) {
202
- f.f |= A;
203
- const l = document.createDocumentFragment();
204
- fe(f, l);
205
- } else
206
- z(t[s], r);
207
- }
208
- }
209
- var se;
210
- function Qe(e, t, r, a, s, f = null) {
211
- var l = e, n = /* @__PURE__ */ new Map();
212
- m && ue();
213
- var o = null, u = ye(() => {
214
- var d = r();
215
- return Ae(d) ? d : d == null ? [] : re(d);
216
- }), c, h = /* @__PURE__ */ new Map(), v = !0;
217
- function g(d) {
218
- (S.effect.f & Ne) === 0 && (S.pending.delete(d), S.fallback = o, Ze(S, c, l, t, a), o !== null && (c.length === 0 ? (o.f & A) === 0 ? ee(o) : (o.f ^= A, I(o, null, l)) : te(o, () => {
219
- o = null;
220
- })));
221
- }
222
- function i(d) {
223
- S.pending.delete(d);
224
- }
225
- var _ = oe(() => {
226
- c = /** @type {V[]} */
227
- y(u);
228
- var d = c.length;
229
- let p = !1;
230
- if (m) {
231
- var F = ce(l) === Ie;
232
- F !== (d === 0) && (l = J(), Q(l), R(!1), p = !0);
233
- }
234
- for (var T = /* @__PURE__ */ new Set(), b = (
235
- /** @type {Batch} */
236
- N
237
- ), L = le(), w = 0; w < d; w += 1) {
238
- m && x.nodeType === He && /** @type {Comment} */
239
- x.data === Re && (l = /** @type {Comment} */
240
- x, p = !0, R(!1));
241
- var E = c[w], O = a(E, w), k = v ? null : n.get(O);
242
- k ? (k.v && ae(k.v, E), k.i && ae(k.i, w), L && b.unskip_effect(k.e)) : (k = je(
243
- n,
244
- v ? l : se ??= U(),
245
- E,
246
- O,
247
- w,
248
- s,
249
- t,
250
- r
251
- ), v || (k.e.f |= A), n.set(O, k)), T.add(O);
252
- }
253
- if (d === 0 && f && !o && (v ? o = D(() => f(l)) : (o = D(() => f(se ??= U())), o.f |= A)), d > T.size && ke(), m && d > 0 && Q(J()), !v)
254
- if (h.set(b, T), L) {
255
- for (const [me, be] of n)
256
- T.has(me) || b.skip_effect(be.e);
257
- b.oncommit(g), b.ondiscard(i);
258
- } else
259
- g(b);
260
- p && R(!0), y(u);
261
- }), S = { effect: _, items: n, pending: h, outrogroups: null, fallback: o };
262
- v = !1, m && (l = x);
263
- }
264
- function C(e) {
265
- for (; e !== null && (e.f & xe) === 0; )
266
- e = e.next;
267
- return e;
268
- }
269
- function Ze(e, t, r, a, s) {
270
- var f = t.length, l = e.items, n = C(e.effect.first), o, u = null, c = [], h = [], v, g, i, _;
271
- for (_ = 0; _ < f; _ += 1) {
272
- if (v = t[_], g = s(v, _), i = /** @type {EachItem} */
273
- l.get(g).e, e.outrogroups !== null)
274
- for (const E of e.outrogroups)
275
- E.pending.delete(i), E.done.delete(i);
276
- if ((i.f & A) !== 0)
277
- if (i.f ^= A, i === n)
278
- I(i, null, r);
279
- else {
280
- var S = u ? u.next : n;
281
- i === e.effect.last && (e.effect.last = i.prev), i.prev && (i.prev.next = i.next), i.next && (i.next.prev = i.prev), M(e, u, i), M(e, i, S), I(i, S, r), u = i, c = [], h = [], n = C(u.next);
282
- continue;
283
- }
284
- if ((i.f & H) !== 0 && ee(i), i !== n) {
285
- if (o !== void 0 && o.has(i)) {
286
- if (c.length < h.length) {
287
- var d = h[0], p;
288
- u = d.prev;
289
- var F = c[0], T = c[c.length - 1];
290
- for (p = 0; p < c.length; p += 1)
291
- I(c[p], d, r);
292
- for (p = 0; p < h.length; p += 1)
293
- o.delete(h[p]);
294
- M(e, F.prev, T.next), M(e, u, F), M(e, T, d), n = d, u = T, _ -= 1, c = [], h = [];
295
- } else
296
- o.delete(i), I(i, n, r), M(e, i.prev, i.next), M(e, i, u === null ? e.effect.first : u.next), M(e, u, i), u = i;
297
- continue;
298
- }
299
- for (c = [], h = []; n !== null && n !== i; )
300
- (o ??= /* @__PURE__ */ new Set()).add(n), h.push(n), n = C(n.next);
301
- if (n === null)
302
- continue;
303
- }
304
- (i.f & A) === 0 && c.push(i), u = i, n = C(i.next);
305
- }
306
- if (e.outrogroups !== null) {
307
- for (const E of e.outrogroups)
308
- E.pending.size === 0 && (j(e, re(E.done)), e.outrogroups?.delete(E));
309
- e.outrogroups.size === 0 && (e.outrogroups = null);
310
- }
311
- if (n !== null || o !== void 0) {
312
- var b = [];
313
- if (o !== void 0)
314
- for (i of o)
315
- (i.f & H) === 0 && b.push(i);
316
- for (; n !== null; )
317
- (n.f & H) === 0 && n !== e.fallback && b.push(n), n = C(n.next);
318
- var L = b.length;
319
- if (L > 0) {
320
- var w = null;
321
- Je(e, b, w);
322
- }
323
- }
324
- }
325
- function je(e, t, r, a, s, f, l, n) {
326
- var o = (l & Se) !== 0 ? (l & Te) === 0 ? we(r, !1, !1) : ne(r) : null, u = (l & Me) !== 0 ? ne(s) : null;
327
- return {
328
- v: o,
329
- i: u,
330
- e: D(() => (f(t, o ?? r, u ?? s, n), () => {
331
- e.delete(a);
332
- }))
333
- };
334
- }
335
- function I(e, t, r) {
336
- if (e.nodes)
337
- for (var a = e.nodes.start, s = e.nodes.end, f = t && (t.f & A) === 0 ? (
338
- /** @type {EffectNodes} */
339
- t.nodes.start
340
- ) : r; a !== null; ) {
341
- var l = (
342
- /** @type {TemplateNode} */
343
- De(a)
344
- );
345
- if (f.before(a), a === s)
346
- return;
347
- a = l;
348
- }
349
- }
350
- function M(e, t, r) {
351
- t === null ? e.effect.first = r : t.next = r, r === null ? e.effect.last = t : r.prev = t;
352
- }
353
- function ge(e) {
354
- var t, r, a = "";
355
- if (typeof e == "string" || typeof e == "number") a += e;
356
- else if (typeof e == "object") if (Array.isArray(e)) {
357
- var s = e.length;
358
- for (t = 0; t < s; t++) e[t] && (r = ge(e[t])) && (a && (a += " "), a += r);
359
- } else for (r in e) e[r] && (a && (a += " "), a += r);
360
- return a;
361
- }
362
- function et() {
363
- for (var e, t, r = 0, a = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (t = ge(e)) && (a && (a += " "), a += t);
364
- return a;
365
- }
366
- function tt(e) {
367
- return typeof e == "object" ? et(e) : e ?? "";
368
- }
369
- function rt(e, t, r) {
370
- var a = e == null ? "" : "" + e;
371
- return a === "" ? null : a;
372
- }
373
- function at(e, t, r, a, s, f) {
374
- var l = e.__className;
375
- if (m || l !== r || l === void 0) {
376
- var n = rt(r);
377
- (!m || n !== e.getAttribute("class")) && (n == null ? e.removeAttribute("class") : e.className = n), e.__className = r;
378
- }
379
- return f;
380
- }
381
- const nt = /* @__PURE__ */ Symbol("is custom element"), st = /* @__PURE__ */ Symbol("is html");
382
- function it(e, t, r, a) {
383
- var s = ft(e);
384
- m && (s[t] = e.getAttribute(t)), s[t] !== (s[t] = r) && (r == null ? e.removeAttribute(t) : typeof r != "string" && lt(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
385
- }
386
- function ft(e) {
387
- return (
388
- /** @type {Record<string | symbol, unknown>} **/
389
- // @ts-expect-error
390
- e.__attributes ??= {
391
- [nt]: e.nodeName.includes("-"),
392
- [st]: e.namespaceURI === Fe
393
- }
394
- );
395
- }
396
- var ie = /* @__PURE__ */ new Map();
397
- function lt(e) {
398
- var t = e.getAttribute("is") || e.nodeName, r = ie.get(t);
399
- if (r) return r;
400
- ie.set(t, r = []);
401
- for (var a, s = e, f = Element.prototype; f !== s; ) {
402
- a = Oe(s);
403
- for (var l in a)
404
- a[l].set && r.push(l);
405
- s = Le(s);
406
- }
407
- return r;
408
- }
409
- function ot(e, t, r = t) {
410
- var a = /* @__PURE__ */ new WeakSet();
411
- ze(e, "input", async (s) => {
412
- var f = s ? e.defaultValue : e.value;
413
- if (f = X(e) ? G(f) : f, r(f), N !== null && a.add(N), await Pe(), f !== (f = t())) {
414
- var l = e.selectionStart, n = e.selectionEnd, o = e.value.length;
415
- if (e.value = f ?? "", n !== null) {
416
- var u = e.value.length;
417
- l === n && n === o && u > o ? (e.selectionStart = u, e.selectionEnd = u) : (e.selectionStart = l, e.selectionEnd = Math.min(n, u));
418
- }
419
- }
420
- }), // If we are hydrating and the value has since changed,
421
- // then use the updated value from the input instead.
422
- (m && e.defaultValue !== e.value || // If defaultValue is set, then value == defaultValue
423
- // TODO Svelte 6: remove input.value check and set to empty string?
424
- P(t) == null && e.value) && (r(X(e) ? G(e.value) : e.value), N !== null && a.add(N)), Be(() => {
425
- var s = t();
426
- if (e === document.activeElement) {
427
- var f = (
428
- /** @type {Batch} */
429
- Ve ?? N
430
- );
431
- if (a.has(f))
432
- return;
433
- }
434
- X(e) && s === G(e.value) || e.type === "date" && !s && !e.value || s !== e.value && (e.value = s ?? "");
435
- });
436
- }
437
- function X(e) {
438
- var t = e.type;
439
- return t === "number" || t === "range";
440
- }
441
- function G(e) {
442
- return e === "" ? null : +e;
443
- }
444
- var ut = K("<button> </button>"), ct = K('<div><button class="HTMLEditor">HTML</button> <button class="PlainEditor">Plain</button> <!></div>');
445
- function pe(e, t) {
446
- _e(t, !1);
447
- const r = Ue();
448
- let a = B(t, "buttons", 28, () => []);
449
- function s() {
450
- r("html", {});
451
- }
452
- function f() {
453
- r("plain", {});
454
- }
455
- var l = {
456
- get buttons() {
457
- return a();
458
- },
459
- set buttons(h) {
460
- a(h), V();
461
- }
462
- };
463
- he();
464
- var n = ct(), o = $(n), u = Z(o, 2), c = Z(u, 2);
465
- return Qe(c, 1, a, Ge, (h, v) => {
466
- var g = ut(), i = $(g, !0);
467
- q(g), Ye(() => {
468
- at(g, 1, tt((y(v), P(() => y(v).style)))), it(g, "title", (y(v), P(() => y(v).text))), $e(i, (y(v), P(() => y(v).text)));
469
- }), W("click", g, function(..._) {
470
- y(v).handler?.apply(this, _);
471
- }), Y(h, g);
472
- }), q(n), W("click", o, s), W("click", u, f), Y(e, n), de(l);
473
- }
474
- ve(pe, { buttons: {} }, [], [], { mode: "open" });
475
- var vt = K("<textarea></textarea>"), ht = K('<main><div class="Editor"><!></div> <!></main>');
476
- function dt(e, t) {
477
- _e(t, !1);
478
- let r = B(t, "value", 12, ""), a = B(t, "buttons", 28, () => []), s = B(t, "html", 12, !0);
479
- function f() {
480
- s() || s(!0);
481
- }
482
- function l() {
483
- s() && (r(r().replace(/<[^>]*>?/gm, "")), s(!1));
484
- }
485
- var n = {
486
- get value() {
487
- return r();
488
- },
489
- set value(i) {
490
- r(i), V();
491
- },
492
- get buttons() {
493
- return a();
494
- },
495
- set buttons(i) {
496
- a(i), V();
497
- },
498
- get html() {
499
- return s();
500
- },
501
- set html(i) {
502
- s(i), V();
503
- }
504
- };
505
- he();
506
- var o = ht(), u = $(o), c = $(u);
507
- {
508
- var h = (i) => {
509
- qe(i, {
510
- get value() {
511
- return r();
512
- },
513
- set value(_) {
514
- r(_);
515
- },
516
- $$legacy: !0
517
- });
518
- }, v = (i) => {
519
- var _ = vt();
520
- Ke(_), ot(_, r), Y(i, _);
521
- };
522
- Xe(c, (i) => {
523
- s() ? i(h) : i(v, -1);
524
- });
525
- }
526
- q(u);
527
- var g = Z(u, 2);
528
- return pe(g, {
529
- get buttons() {
530
- return a();
531
- },
532
- set buttons(i) {
533
- a(i);
534
- },
535
- $$events: { html: f, plain: l },
536
- $$legacy: !0
537
- }), q(o), Y(e, o), de(n);
538
- }
539
- customElements.define("switchable-editor", ve(dt, { value: {}, buttons: {}, html: {} }, [], []));
1
+ import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "./CKEditor5Classic-WEkDhFyI.js";
2
+ //#region src/lib/SwitchableEditor/Buttons.svelte
3
+ var E = d("<button> </button>"), D = d("<div><button class=\"HTMLEditor\">HTML</button> <button class=\"PlainEditor\">Plain</button> <!></div>");
4
+ function O(a, o) {
5
+ r(o, !1);
6
+ let c = l(), d = v(o, "buttons", 28, () => []);
7
+ function h() {
8
+ c("html", {});
9
+ }
10
+ function b() {
11
+ c("plain", {});
12
+ }
13
+ var O = {
14
+ get buttons() {
15
+ return d();
16
+ },
17
+ set buttons(t) {
18
+ d(t), e();
19
+ }
20
+ };
21
+ f();
22
+ var k = D(), A = w(k), j = n(A, 2);
23
+ return p(n(j, 2), 1, d, x, (e, n) => {
24
+ var r = E(), a = w(r, !0);
25
+ t(r), T(() => {
26
+ y(r, 1, s((i(n), S(() => i(n).style)))), g(r, "title", (i(n), S(() => i(n).text))), _(a, (i(n), S(() => i(n).text)));
27
+ }), u("click", r, function(...e) {
28
+ i(n).handler?.apply(this, e);
29
+ }), m(e, r);
30
+ }), t(k), u("click", A, h), u("click", j, b), m(a, k), C(O);
31
+ }
32
+ h(O, { buttons: {} }, [], [], { mode: "open" });
33
+ //#endregion
34
+ //#region src/lib/SwitchableEditor/SwitchableEditor.svelte
35
+ var k = d("<textarea></textarea>"), A = d("<main><div class=\"Editor\"><!></div> <!></main>");
36
+ function j(i, s) {
37
+ r(s, !1);
38
+ let l = v(s, "value", 12, ""), u = v(s, "buttons", 28, () => []), d = v(s, "html", 12, !0);
39
+ function p() {
40
+ d() || d(!0);
41
+ }
42
+ function h() {
43
+ d() && (l(l().replace(/<[^>]*>?/gm, "")), d(!1));
44
+ }
45
+ var g = {
46
+ get value() {
47
+ return l();
48
+ },
49
+ set value(t) {
50
+ l(t), e();
51
+ },
52
+ get buttons() {
53
+ return u();
54
+ },
55
+ set buttons(t) {
56
+ u(t), e();
57
+ },
58
+ get html() {
59
+ return d();
60
+ },
61
+ set html(t) {
62
+ d(t), e();
63
+ }
64
+ };
65
+ f();
66
+ var _ = A(), y = w(_), x = w(y), S = (e) => {
67
+ b(e, {
68
+ get value() {
69
+ return l();
70
+ },
71
+ set value(e) {
72
+ l(e);
73
+ },
74
+ $$legacy: !0
75
+ });
76
+ }, T = (e) => {
77
+ var t = k();
78
+ o(t), a(t, l), m(e, t);
79
+ };
80
+ return c(x, (e) => {
81
+ d() ? e(S) : e(T, -1);
82
+ }), t(y), O(n(y, 2), {
83
+ get buttons() {
84
+ return u();
85
+ },
86
+ set buttons(e) {
87
+ u(e);
88
+ },
89
+ $$events: {
90
+ html: p,
91
+ plain: h
92
+ },
93
+ $$legacy: !0
94
+ }), t(_), m(i, _), C(g);
95
+ }
96
+ customElements.define("switchable-editor", h(j, {
97
+ value: {},
98
+ buttons: {},
99
+ html: {}
100
+ }, [], []));
101
+ //#endregion