@ckeditor/ckeditor5-import-word 0.0.0-internal-20241017.0 → 0.0.0-internal-20241206.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/LICENSE.md +6 -6
  2. package/README.md +19 -14
  3. package/build/import-word.js +1 -1
  4. package/build/translations/af.js +1 -0
  5. package/build/translations/ast.js +1 -0
  6. package/build/translations/az.js +1 -0
  7. package/build/translations/bs.js +1 -0
  8. package/build/translations/de-ch.js +1 -0
  9. package/build/translations/en-gb.js +1 -0
  10. package/build/translations/eo.js +1 -0
  11. package/build/translations/es-co.js +1 -0
  12. package/build/translations/eu.js +1 -0
  13. package/build/translations/fa.js +1 -0
  14. package/build/translations/gu.js +1 -0
  15. package/build/translations/hy.js +1 -0
  16. package/build/translations/jv.js +1 -0
  17. package/build/translations/kk.js +1 -0
  18. package/build/translations/km.js +1 -0
  19. package/build/translations/kn.js +1 -0
  20. package/build/translations/ku.js +1 -0
  21. package/build/translations/nb.js +1 -0
  22. package/build/translations/ne.js +1 -0
  23. package/build/translations/oc.js +1 -0
  24. package/build/translations/si.js +1 -0
  25. package/build/translations/sl.js +1 -0
  26. package/build/translations/sq.js +1 -0
  27. package/build/translations/ti.js +1 -0
  28. package/build/translations/tk.js +1 -0
  29. package/build/translations/tt.js +1 -0
  30. package/build/translations/ur.js +1 -0
  31. package/build/translations/uz.js +1 -0
  32. package/dist/index.js +1 -1
  33. package/dist/translations/af.d.ts +8 -0
  34. package/dist/translations/af.js +23 -0
  35. package/dist/translations/af.umd.js +23 -0
  36. package/dist/translations/ar.js +1 -1
  37. package/dist/translations/ar.umd.js +1 -1
  38. package/dist/translations/ast.d.ts +8 -0
  39. package/dist/translations/ast.js +23 -0
  40. package/dist/translations/ast.umd.js +23 -0
  41. package/dist/translations/az.d.ts +8 -0
  42. package/dist/translations/az.js +23 -0
  43. package/dist/translations/az.umd.js +23 -0
  44. package/dist/translations/bg.js +1 -1
  45. package/dist/translations/bg.umd.js +1 -1
  46. package/dist/translations/bn.js +1 -1
  47. package/dist/translations/bn.umd.js +1 -1
  48. package/dist/translations/bs.d.ts +8 -0
  49. package/dist/translations/bs.js +23 -0
  50. package/dist/translations/bs.umd.js +23 -0
  51. package/dist/translations/ca.js +1 -1
  52. package/dist/translations/ca.umd.js +1 -1
  53. package/dist/translations/cs.js +1 -1
  54. package/dist/translations/cs.umd.js +1 -1
  55. package/dist/translations/da.js +1 -1
  56. package/dist/translations/da.umd.js +1 -1
  57. package/dist/translations/de-ch.d.ts +8 -0
  58. package/dist/translations/de-ch.js +23 -0
  59. package/dist/translations/de-ch.umd.js +23 -0
  60. package/dist/translations/de.js +1 -1
  61. package/dist/translations/de.umd.js +1 -1
  62. package/dist/translations/el.js +1 -1
  63. package/dist/translations/el.umd.js +1 -1
  64. package/dist/translations/en-au.js +1 -1
  65. package/dist/translations/en-au.umd.js +1 -1
  66. package/dist/translations/en-gb.d.ts +8 -0
  67. package/dist/translations/en-gb.js +23 -0
  68. package/dist/translations/en-gb.umd.js +23 -0
  69. package/dist/translations/en.js +1 -1
  70. package/dist/translations/en.umd.js +1 -1
  71. package/dist/translations/eo.d.ts +8 -0
  72. package/dist/translations/eo.js +23 -0
  73. package/dist/translations/eo.umd.js +23 -0
  74. package/dist/translations/es-co.d.ts +8 -0
  75. package/dist/translations/es-co.js +23 -0
  76. package/dist/translations/es-co.umd.js +23 -0
  77. package/dist/translations/es.js +1 -1
  78. package/dist/translations/es.umd.js +1 -1
  79. package/dist/translations/et.js +1 -1
  80. package/dist/translations/et.umd.js +1 -1
  81. package/dist/translations/eu.d.ts +8 -0
  82. package/dist/translations/eu.js +23 -0
  83. package/dist/translations/eu.umd.js +23 -0
  84. package/dist/translations/fa.d.ts +8 -0
  85. package/dist/translations/fa.js +23 -0
  86. package/dist/translations/fa.umd.js +23 -0
  87. package/dist/translations/fi.js +1 -1
  88. package/dist/translations/fi.umd.js +1 -1
  89. package/dist/translations/fr.js +1 -1
  90. package/dist/translations/fr.umd.js +1 -1
  91. package/dist/translations/gl.js +1 -1
  92. package/dist/translations/gl.umd.js +1 -1
  93. package/dist/translations/gu.d.ts +8 -0
  94. package/dist/translations/gu.js +23 -0
  95. package/dist/translations/gu.umd.js +23 -0
  96. package/dist/translations/he.js +1 -1
  97. package/dist/translations/he.umd.js +1 -1
  98. package/dist/translations/hi.js +1 -1
  99. package/dist/translations/hi.umd.js +1 -1
  100. package/dist/translations/hr.js +1 -1
  101. package/dist/translations/hr.umd.js +1 -1
  102. package/dist/translations/hu.js +1 -1
  103. package/dist/translations/hu.umd.js +1 -1
  104. package/dist/translations/hy.d.ts +8 -0
  105. package/dist/translations/hy.js +23 -0
  106. package/dist/translations/hy.umd.js +23 -0
  107. package/dist/translations/id.js +1 -1
  108. package/dist/translations/id.umd.js +1 -1
  109. package/dist/translations/it.js +1 -1
  110. package/dist/translations/it.umd.js +1 -1
  111. package/dist/translations/ja.js +1 -1
  112. package/dist/translations/ja.umd.js +1 -1
  113. package/dist/translations/jv.d.ts +8 -0
  114. package/dist/translations/jv.js +23 -0
  115. package/dist/translations/jv.umd.js +23 -0
  116. package/dist/translations/kk.d.ts +8 -0
  117. package/dist/translations/kk.js +23 -0
  118. package/dist/translations/kk.umd.js +23 -0
  119. package/dist/translations/km.d.ts +8 -0
  120. package/dist/translations/km.js +23 -0
  121. package/dist/translations/km.umd.js +23 -0
  122. package/dist/translations/kn.d.ts +8 -0
  123. package/dist/translations/kn.js +23 -0
  124. package/dist/translations/kn.umd.js +23 -0
  125. package/dist/translations/ko.js +1 -1
  126. package/dist/translations/ko.umd.js +1 -1
  127. package/dist/translations/ku.d.ts +8 -0
  128. package/dist/translations/ku.js +23 -0
  129. package/dist/translations/ku.umd.js +23 -0
  130. package/dist/translations/lt.js +1 -1
  131. package/dist/translations/lt.umd.js +1 -1
  132. package/dist/translations/lv.js +1 -1
  133. package/dist/translations/lv.umd.js +1 -1
  134. package/dist/translations/ms.js +1 -1
  135. package/dist/translations/ms.umd.js +1 -1
  136. package/dist/translations/nb.d.ts +8 -0
  137. package/dist/translations/nb.js +23 -0
  138. package/dist/translations/nb.umd.js +23 -0
  139. package/dist/translations/ne.d.ts +8 -0
  140. package/dist/translations/ne.js +23 -0
  141. package/dist/translations/ne.umd.js +23 -0
  142. package/dist/translations/nl.js +1 -1
  143. package/dist/translations/nl.umd.js +1 -1
  144. package/dist/translations/no.js +1 -1
  145. package/dist/translations/no.umd.js +1 -1
  146. package/dist/translations/oc.d.ts +8 -0
  147. package/dist/translations/oc.js +23 -0
  148. package/dist/translations/oc.umd.js +23 -0
  149. package/dist/translations/pl.js +1 -1
  150. package/dist/translations/pl.umd.js +1 -1
  151. package/dist/translations/pt-br.js +1 -1
  152. package/dist/translations/pt-br.umd.js +1 -1
  153. package/dist/translations/pt.js +1 -1
  154. package/dist/translations/pt.umd.js +1 -1
  155. package/dist/translations/ro.js +1 -1
  156. package/dist/translations/ro.umd.js +1 -1
  157. package/dist/translations/ru.js +1 -1
  158. package/dist/translations/ru.umd.js +1 -1
  159. package/dist/translations/si.d.ts +8 -0
  160. package/dist/translations/si.js +23 -0
  161. package/dist/translations/si.umd.js +23 -0
  162. package/dist/translations/sk.js +1 -1
  163. package/dist/translations/sk.umd.js +1 -1
  164. package/dist/translations/sl.d.ts +8 -0
  165. package/dist/translations/sl.js +23 -0
  166. package/dist/translations/sl.umd.js +23 -0
  167. package/dist/translations/sq.d.ts +8 -0
  168. package/dist/translations/sq.js +23 -0
  169. package/dist/translations/sq.umd.js +23 -0
  170. package/dist/translations/sr-latn.js +1 -1
  171. package/dist/translations/sr-latn.umd.js +1 -1
  172. package/dist/translations/sr.js +1 -1
  173. package/dist/translations/sr.umd.js +1 -1
  174. package/dist/translations/sv.js +1 -1
  175. package/dist/translations/sv.umd.js +1 -1
  176. package/dist/translations/th.js +1 -1
  177. package/dist/translations/th.umd.js +1 -1
  178. package/dist/translations/ti.d.ts +8 -0
  179. package/dist/translations/ti.js +23 -0
  180. package/dist/translations/ti.umd.js +23 -0
  181. package/dist/translations/tk.d.ts +8 -0
  182. package/dist/translations/tk.js +23 -0
  183. package/dist/translations/tk.umd.js +23 -0
  184. package/dist/translations/tr.js +1 -1
  185. package/dist/translations/tr.umd.js +1 -1
  186. package/dist/translations/tt.d.ts +8 -0
  187. package/dist/translations/tt.js +23 -0
  188. package/dist/translations/tt.umd.js +23 -0
  189. package/dist/translations/ug.js +1 -1
  190. package/dist/translations/ug.umd.js +1 -1
  191. package/dist/translations/uk.js +1 -1
  192. package/dist/translations/uk.umd.js +1 -1
  193. package/dist/translations/ur.d.ts +8 -0
  194. package/dist/translations/ur.js +23 -0
  195. package/dist/translations/ur.umd.js +23 -0
  196. package/dist/translations/uz.d.ts +8 -0
  197. package/dist/translations/uz.js +23 -0
  198. package/dist/translations/uz.umd.js +23 -0
  199. package/dist/translations/vi.js +1 -1
  200. package/dist/translations/vi.umd.js +1 -1
  201. package/dist/translations/zh-cn.js +1 -1
  202. package/dist/translations/zh-cn.umd.js +1 -1
  203. package/dist/translations/zh.js +1 -1
  204. package/dist/translations/zh.umd.js +1 -1
  205. package/lang/translations/af.po +24 -0
  206. package/lang/translations/ar.po +4 -10
  207. package/lang/translations/ast.po +24 -0
  208. package/lang/translations/az.po +24 -0
  209. package/lang/translations/bg.po +3 -9
  210. package/lang/translations/bn.po +3 -9
  211. package/lang/translations/bs.po +24 -0
  212. package/lang/translations/ca.po +3 -9
  213. package/lang/translations/cs.po +4 -10
  214. package/lang/translations/da.po +3 -9
  215. package/lang/translations/de-ch.po +24 -0
  216. package/lang/translations/de.po +3 -9
  217. package/lang/translations/el.po +3 -9
  218. package/lang/translations/en-au.po +3 -9
  219. package/lang/translations/en-gb.po +24 -0
  220. package/lang/translations/en.po +5 -11
  221. package/lang/translations/eo.po +24 -0
  222. package/lang/translations/es-co.po +24 -0
  223. package/lang/translations/es.po +4 -10
  224. package/lang/translations/et.po +3 -9
  225. package/lang/translations/eu.po +24 -0
  226. package/lang/translations/fa.po +24 -0
  227. package/lang/translations/fi.po +3 -9
  228. package/lang/translations/fr.po +4 -10
  229. package/lang/translations/gl.po +3 -9
  230. package/lang/translations/gu.po +24 -0
  231. package/lang/translations/he.po +4 -10
  232. package/lang/translations/hi.po +3 -9
  233. package/lang/translations/hr.po +4 -10
  234. package/lang/translations/hu.po +3 -9
  235. package/lang/translations/hy.po +24 -0
  236. package/lang/translations/id.po +3 -9
  237. package/lang/translations/it.po +4 -10
  238. package/lang/translations/ja.po +3 -9
  239. package/lang/translations/jv.po +24 -0
  240. package/lang/translations/kk.po +24 -0
  241. package/lang/translations/km.po +24 -0
  242. package/lang/translations/kn.po +24 -0
  243. package/lang/translations/ko.po +3 -9
  244. package/lang/translations/ku.po +24 -0
  245. package/lang/translations/lt.po +4 -10
  246. package/lang/translations/lv.po +4 -10
  247. package/lang/translations/ms.po +3 -9
  248. package/lang/translations/nb.po +24 -0
  249. package/lang/translations/ne.po +24 -0
  250. package/lang/translations/nl.po +3 -9
  251. package/lang/translations/no.po +3 -9
  252. package/lang/translations/oc.po +24 -0
  253. package/lang/translations/pl.po +4 -10
  254. package/lang/translations/pt-br.po +4 -10
  255. package/lang/translations/pt.po +4 -10
  256. package/lang/translations/ro.po +4 -10
  257. package/lang/translations/ru.po +4 -10
  258. package/lang/translations/si.po +24 -0
  259. package/lang/translations/sk.po +4 -10
  260. package/lang/translations/sl.po +24 -0
  261. package/lang/translations/sq.po +24 -0
  262. package/lang/translations/sr-latn.po +4 -10
  263. package/lang/translations/sr.po +4 -10
  264. package/lang/translations/sv.po +3 -9
  265. package/lang/translations/th.po +3 -9
  266. package/lang/translations/ti.po +24 -0
  267. package/lang/translations/tk.po +24 -0
  268. package/lang/translations/tr.po +3 -9
  269. package/lang/translations/tt.po +24 -0
  270. package/lang/translations/ug.po +4 -10
  271. package/lang/translations/uk.po +4 -10
  272. package/lang/translations/ur.po +24 -0
  273. package/lang/translations/uz.po +24 -0
  274. package/lang/translations/vi.po +3 -9
  275. package/lang/translations/zh-cn.po +3 -9
  276. package/lang/translations/zh.po +3 -9
  277. package/package.json +26 -7
  278. package/src/augmentation.d.ts +1 -1
  279. package/src/importword.d.ts +1 -1
  280. package/src/importword.js +1 -1
  281. package/src/importwordcommand.d.ts +1 -1
  282. package/src/importwordcommand.js +1 -1
  283. package/src/importwordediting.d.ts +1 -1
  284. package/src/importwordediting.js +1 -1
  285. package/src/importwordui.d.ts +1 -1
  286. package/src/importwordui.js +1 -1
  287. package/src/index.d.ts +1 -1
  288. package/src/index.js +1 -1
  289. package/src/utils/common-translations.d.ts +1 -1
  290. package/src/utils/common-translations.js +1 -1
  291. package/dist/augmentation.d.ts +0 -27
  292. package/dist/importword.d.ts +0 -136
  293. package/dist/importwordcommand.d.ts +0 -58
  294. package/dist/importwordediting.d.ts +0 -51
  295. package/dist/importwordui.d.ts +0 -34
  296. package/dist/index.d.ts +0 -16
  297. package/dist/utils/common-translations.d.ts +0 -13
package/LICENSE.md CHANGED
@@ -1,16 +1,16 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor&nbsp;5 import from Word feature** (https://ckeditor.com/ckeditor-5/)<br>
4
+ **CKEditor&nbsp;5 Import from Word feature** (https://ckeditor.com/ckeditor-5/)<br>
5
5
  Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
- CKEditor&nbsp;5 import from Word feature is licensed under a commercial license and is protected by copyright law.
8
- For more details about available licensing options please contact us at sales@cksource.com.
7
+ CKEditor&nbsp;5 Import from Word feature is licensed under a commercial license and is protected by copyright law.
8
+ For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
9
9
 
10
- Sources of Intellectual Property Included in CKEditor&nbsp;5 import from Word
11
- -----------------------------------------------------------------------------
10
+ Sources of Intellectual Property Included in CKEditor&nbsp;5 Import from Word feature
11
+ -------------------------------------------------------------------------------------
12
12
 
13
- Where not otherwise indicated, all CKEditor&nbsp;5 import from Word feature content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
13
+ Where not otherwise indicated, all CKEditor&nbsp;5 Import from Word feature content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
14
14
 
15
15
  Trademarks
16
16
  ----------
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
- CKEditor&nbsp;5 import from Word feature
2
- ===================================
1
+ CKEditor&nbsp;5 Import from Word feature
2
+ ========================================
3
3
 
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-import-word.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-import-word)
5
5
 
@@ -7,7 +7,19 @@ This package contains the import from Word feature for CKEditor&nbsp;5. It allow
7
7
 
8
8
  When enabled, this feature sends the selected Word file to the CKEditor Cloud Services Word to HTML converter service. The service then generates the HTML document that is inserted into the editor.
9
9
 
10
- This is a premium feature. Please [contact us](https://ckeditor.com/contact/) if you would like to purchase a license. Let us know if you have any feedback or questions!
10
+ This is a premium feature. Sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free), or see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing) for more information.
11
+
12
+ ## Installation
13
+
14
+ This plugin is part of the `ckeditor5-premium-features` package. Install the whole package to use it.
15
+
16
+ ```bash
17
+ npm install ckeditor5-premium-features
18
+ ```
19
+
20
+ ## Create free account
21
+
22
+ If you want to check full CKEditor&nbsp;5 capabilities, sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free).
11
23
 
12
24
  ## Demo
13
25
 
@@ -17,26 +29,19 @@ Check out the [demo in the import from Word feature](https://ckeditor.com/docs/c
17
29
 
18
30
  See the [`@ckeditor/ckeditor5-import-word` package](https://ckeditor.com/docs/ckeditor5/latest/api/import-word.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/) as well as the [import from Word](https://ckeditor.com/docs/ckeditor5/latest/features/converters/import-word/import-word/import-word.html) feature guide.
19
31
 
20
- ## Installation
21
-
22
- ```bash
23
- npm install ckeditor5-premium-features
24
- ```
25
-
26
32
  ## Getting support
27
33
 
28
- CKEditor&nbsp;5 import from Word feature comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor&nbsp;5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor&nbsp;5 import from Word feature with your application.
34
+ CKEditor&nbsp;5 Import from Word feature comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor&nbsp;5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor&nbsp;5 Import from Word feature with your application.
29
35
 
30
- As a licensed CKEditor&nbsp;5 import from Word feature user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
36
+ As a licensed CKEditor&nbsp;5 Import from Word feature user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
31
37
 
32
38
 
33
39
  ## License
34
40
 
35
- **CKEditor&nbsp;5 import from Word** (https://ckeditor.com/ckeditor-5/)<br>
41
+ **CKEditor&nbsp;5 Import from Word feature** (https://ckeditor.com/ckeditor-5/)<br>
36
42
  Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
37
43
 
38
- CKEditor&nbsp;5 import from Word feature is licensed under a commercial license and is protected by copyright law.
39
- For more details about available licensing options please contact us at sales@cksource.com.
44
+ CKEditor&nbsp;5 Import from Word feature is licensed under a commercial license and is protected by copyright law. For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
40
45
 
41
46
  ### Trademarks
42
47
 
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>W,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}function o(){const t=["focus","ImportWordUI","1775250DnLKlj","get","3171708aCRISj","isOn","children","isOfficialPlugin","view","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","iconView","bind","add","isBusy","isEnabled","1421100AgZUBL","editor","done","44ErVmWq","tooltip","7QGcqZx","_createButton","pluginName","27xmQaqR","set","importWord","editing","346221geXdmH","init","locale","componentFactory","isVisible","Import from Word","4sWjseL","1353702eDysie","execute","label","1354040fbJYmU","Importing Word document","menuBar:importWord","40380GapbNi","commands","isPremiumPlugin"];return(o=function(){return t})()}const s=a;function a(t,e){const r=o();return(a=function(t,e){return r[t-=431]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(406203===-parseInt(e(440))/1*(-parseInt(e(446))/2)+parseInt(e(436))/3*(-parseInt(e(453))/4)+-parseInt(e(458))/5+-parseInt(e(447))/6+-parseInt(e(433))/7*(-parseInt(e(450))/8)+-parseInt(e(460))/9+parseInt(e(471))/10*(parseInt(e(431))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(o);class c extends t.Plugin{static get[s(435)](){return s(457)}static get[s(463)](){return!0}static get[s(455)](){return!0}[s(441)](){const t=s,r=this[t(472)];r.ui[t(443)][t(468)](t(438),(()=>{const n=t,i=this[n(434)](e.FileDialogButtonView),o=r[n(454)][n(459)](n(438));return i[n(467)](n(461)).to(o,n(469)),i[n(432)]=!0,i})),r.ui[t(443)][t(468)](t(452),(()=>this[t(434)](e.MenuBarMenuListItemFileDialogButtonView)))}[s(434)](t){const r=s,n=this[r(472)],o=n[r(454)][r(459)](r(438)),a=new t(n[r(442)]),c=new e.SpinnerView;return a[r(437)]({acceptedType:r(465)}),a[r(437)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[r(467)](r(470)).to(o),a[r(467)](r(449)).to(o,r(469),(t=>i(n[r(442)],r(t?451:445)))),c[r(467)](r(444)).to(o,r(469)),a[r(466)][r(467)](r(444)).to(o,r(469),(t=>!t)),a[r(462)][r(468)](c),a.on(r(473),((t,e)=>{const i=r;n[i(448)](i(438),e[0],{}),n[i(439)][i(464)][i(456)]()})),a}}var u=r(331),p=r(783),l=r(584);const h=d;function d(t,e){const r=m();return(d=function(t,e){return r[t-=372]})(t,e)}!function(t){const e=d,r=t();for(;;)try{if(545785===-parseInt(e(407))/1+parseInt(e(458))/2+parseInt(e(381))/3+-parseInt(e(416))/4*(parseInt(e(474))/5)+-parseInt(e(471))/6*(parseInt(e(378))/7)+-parseInt(e(459))/8+-parseInt(e(426))/9*(-parseInt(e(435))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(m);class f extends t.Command{constructor(t){const e=d;super(t),this[e(469)](e(447),!1),this[e(468)]=null,this[e(403)]=null,this[e(427)]=null,this.on(e(455),((r,n)=>{const i=e,o=new DataTransfer;o[i(466)](i(412),n[i(451)]);const s=this[i(468)][i(424)]();this[i(460)][i(389)][i(438)](this[i(403)],(e=>{const r=i;this[r(468)][r(393)](),e[r(406)](s),t[r(383)][r(437)][r(400)][r(386)](r(439),{dataTransfer:o})}))}),{priority:e(387)})}[h(409)](){const t=h;this[t(396)]=this[t(457)]()}[h(418)](t,e={}){const r=h;if(this[r(447)])return Promise[r(436)]();const n=this[r(460)][r(419)][r(443)](r(398));if(this[r(460)][r(405)][r(452)](r(373))){const{prefix:t,suffix:n}=this[r(460)][r(419)][r(443)](r(448));e[r(441)]={prefix:t,suffix:n}}const i={url:n[r(464)],file:t,serviceConfig:{...e,formatting:n[r(377)],timezone:(new(Intl[r(422)]))[r(376)]()[r(399)]}};return this[r(456)](),this[r(391)](i)[r(432)](this[r(402)][r(428)](this))[r(390)](this[r(415)][r(428)](this))[r(453)](this[r(450)][r(428)](this))}[h(457)](){const t=h;if(this[t(447)])return!1;const e=this[t(460)][t(389)],r=e[t(392)],n=e[t(400)][t(417)],i=(0,l.first)(n[t(413)]());return!!i&&r[t(411)](i[t(429)],t(380))}[h(456)](){const t=h,e=this[t(460)],r=e[t(389)],n=r[t(400)][t(417)];this[t(427)]=new AbortController,this[t(403)]=e[t(389)][t(433)]({isUndoable:!0}),r[t(438)](this[t(403)],(e=>{const i=t;n[i(442)]||r[i(397)](n,{leaveUnmerged:!0});const o=n[i(465)](),s=(0,l.first)(n[i(413)]());let a;a=s.is(i(425),i(380))&&s[i(384)]?o:o[i(454)]?r[i(374)](s):o[i(385)]?r[i(449)](s):e[i(434)](o)[i(462)],this[i(468)]=e[i(472)](i(394)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(468)].on(i(420),(()=>{const t=i;t(445)===this[t(468)][t(424)]()[t(382)][t(410)]&&this[t(427)][t(372)]()}))})),this[t(447)]=!0,this[t(409)]()}[h(450)](){const t=h,e=this[t(460)][t(389)];e[t(388)][t(452)](this[t(468)])&&e[t(438)](this[t(403)],(e=>{const r=t;e[r(421)](this[r(468)])})),this[t(468)]=null,this[t(403)]=null,this[t(427)]=null,this[t(447)]=!1,this[t(409)]()}[h(391)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(460)][n(405)][n(443)](n(395))[n(463)](),o=new FormData;o[n(469)](n(419),JSON[n(446)](r)),o[n(469)](n(440),e);const s={method:n(470),headers:{},body:o,signal:this[n(427)][n(461)]};return i&&(s[n(430)][n(414)]=i[n(444)]),fetch(t,s)}[h(402)](t){const e=h;return t.ok?t[e(473)]()[e(432)]((t=>{const r=e;this[r(460)][r(389)][r(388)][r(452)](this[r(468)])&&r(445)!==this[r(468)][r(424)]()[r(382)][r(410)]&&this[r(386)](r(455),t)})):Promise[e(431)]()}[h(415)](){const t=h;if(this[t(427)][t(461)][t(467)])return void(0,l.logWarning)(t(375));const e=this[t(460)],r=i(e[t(401)],t(379));e[t(405)][t(443)](t(408))[t(404)](r),(0,l.logError)(t(423))}}function m(){const t=["createPositionBefore","import-word-plugin-import-cancelled","resolvedOptions","formatting","21akOsUt","An error occurred while importing the Word file.","paragraph","353214YewOdr","root","editing","isEmpty","isAtEnd","fire","low","markers","model","catch","_sendImportRequest","schema","stopListening","importWord:","ImportWordEditing","isEnabled","deleteContent","importWord","timeZone","document","locale","_handleImportResponse","_undoStepBatch","showWarning","plugins","setSelection","431526zBeLTl","Notification","refresh","rootName","checkChild","text/html","getSelectedBlocks","Authorization","_handleImportFailure","5380mrNMmM","selection","execute","config","change:range","removeMarker","DateTimeFormat","import-word-plugin-conversion-failed","getRange","element","77967YLHQgy","_abortController","bind","parent","headers","reject","then","createBatch","split","2410tDfMGm","resolve","view","enqueueChange","clipboardInput","file","merge_fields","isCollapsed","get","value","$graveyard","stringify","isBusy","mergeFields","createPositionAfter","_cleanUpAfterImport","html","has","finally","isAtStart","dataInsert","_prepareForImport","_checkEnabled","1642570jNLWyF","1212664itXchJ","editor","signal","position","getToken","converterUrl","getFirstPosition","setData","aborted","_importMarker","set","POST","1807914eTmyLs","addMarker","json","3695yqZEPC","abort","MergeFields"];return(m=function(){return t})()}function g(){const t=["https://docx-converter.cke-cs.com/v2/convert/docx-html","tokenUrl","cloudServices","747897ZVAvOx","_token","registerTokenUrl","get","define","init","4iIxMqn","ImportWordEditing","1451548epXsHn","64254yIZerr","plugins","getToken","pluginName","1715784HmtHot","isPremiumPlugin","inline","CloudServices","663612XmUOYB","token","none","config","isOfficialPlugin","editor","54996GpKYQR","522765RPXOWn","add","importWord","commands","requires"];return(g=function(){return t})()}const I=v;function v(t,e){const r=g();return(v=function(t,e){return r[t-=110]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(128376===parseInt(e(138))/1+parseInt(e(124))/2+-parseInt(e(115))/3*(-parseInt(e(121))/4)+-parseInt(e(139))/5+-parseInt(e(132))/6+-parseInt(e(123))/7+parseInt(e(128))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(g);class w extends t.Plugin{static get[I(127)](){return I(122)}static get[I(136)](){return!0}static get[I(129)](){return!0}static get[I(111)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(131)]}constructor(t){const e=I;super(t),this[e(116)]=null}async[I(120)](){const t=I,e=this[t(137)];e[t(135)][t(119)](t(141),{converterUrl:t(112),tokenUrl:(e[t(135)][t(118)](t(114))||{})[t(113)],formatting:{resets:t(134),defaults:t(134),styles:t(130)}}),e[t(110)][t(140)](t(141),new f(e));const{tokenUrl:r}=e[t(135)][t(118)](t(141));if(r){const{tokenUrl:n}=e[t(135)][t(118)](t(114))||{};this[t(116)]=r===n?e[t(125)][t(118)](t(131))[t(133)]:await e[t(125)][t(118)](t(131))[t(117)](r)}}[I(126)](){return this[I(116)]}}var y=b;!function(t){for(var e=b,r=t();;)try{if(330911===parseInt(e(425))/1*(-parseInt(e(434))/2)+-parseInt(e(423))/3+parseInt(e(421))/4+-parseInt(e(426))/5+parseInt(e(433))/6*(parseInt(e(424))/7)+-parseInt(e(435))/8*(-parseInt(e(429))/9)+parseInt(e(431))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(x);class W extends t.Plugin{static get[y(422)](){return y(427)}static get[y(428)](){return!0}static get[y(430)](){return!0}static get[y(432)](){return[w,c]}}function b(t,e){var r=x();return(b=function(t,e){return r[t-=421]})(t,e)}function x(){var t=["isPremiumPlugin","1043320zeieaO","requires","1253022mneQAt","9938hdqCKa","6568omxynh","1691848eXivXd","pluginName","1116624LPHcTV","7CXhFUb","33PLnidE","2001110oXcQhf","ImportWord","isOfficialPlugin","5823hAnvXY"];return(x=function(){return t})()}function P(){var t=["18259681PCyfIp","9237683JgJzSW","17703qrzAhq","884zughoH","1733090hWetqj","532124uzUeQc","7628464SBAGDY","20VjKcHv","9AbxahJ","6HzSpBU","1295614XsbPaw"];return(P=function(){return t})()}function k(t,e){var r=P();return(k=function(t,e){return r[t-=209]})(t,e)}!function(t){for(var e=k,r=t();;)try{if(719707===-parseInt(e(214))/1+parseInt(e(219))/2+parseInt(e(211))/3*(parseInt(e(212))/4)+-parseInt(e(213))/5*(-parseInt(e(218))/6)+parseInt(e(210))/7+parseInt(e(215))/8*(parseInt(e(217))/9)+-parseInt(e(216))/10*(parseInt(e(209))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
5
+ */(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>b,ImportWordEditing:()=>v,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=a();return(s=function(t,e){return r[t-=376]})(t,e)}function a(){const t=["13913030ZnNNlH","children","isEnabled","43166atVFdv","isOn","157576pTywhu","bind","iconView","componentFactory","180aQAZKa","ImportWordUI","editing","commands","focus","isPremiumPlugin","label","554289MdEQyf","Importing Word document","isOfficialPlugin","editor","Import from Word","17ITakZc","isVisible","importWord","add","init","done","menuBar:importWord","isBusy","7pGsuHO","set","locale","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","tooltip","execute","view","_createButton","2917878BtMWFu","pluginName","1464855yQvMLd","get","2241236KTNakR"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(479918===-parseInt(e(384))/1*(parseInt(e(408))/2)+-parseInt(e(379))/3+-parseInt(e(404))/4+parseInt(e(402))/5+parseInt(e(400))/6*(-parseInt(e(392))/7)+-parseInt(e(410))/8*(-parseInt(e(414))/9)+parseInt(e(405))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(401)](){return o(415)}static get[o(381)](){return!0}static get[o(377)](){return!0}[o(388)](){const t=o,r=this[t(382)];r.ui[t(413)][t(387)](t(386),(()=>{const n=t,i=this[n(399)](e.FileDialogButtonView),o=r[n(417)][n(403)](n(386));return i[n(411)](n(409)).to(o,n(391)),i[n(396)]=!0,i})),r.ui[t(413)][t(387)](t(390),(()=>this[t(399)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(399)](t){const r=o,n=this[r(382)],s=n[r(417)][r(403)](r(386)),a=new t(n[r(394)]),c=new e.SpinnerView;return a[r(393)]({acceptedType:r(395)}),a[r(393)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[r(411)](r(407)).to(s),a[r(411)](r(378)).to(s,r(391),(t=>i(n[r(394)],r(t?380:383)))),c[r(411)](r(385)).to(s,r(391)),a[r(412)][r(411)](r(385)).to(s,r(391),(t=>!t)),a[r(406)][r(387)](c),a.on(r(389),((t,e)=>{const i=r;n[i(397)](i(386),e[0],{}),n[i(416)][i(398)][i(376)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=f;function h(){const t=["mergeFields","schema","deleteContent","file","POST","finally","headers","showWarning","6ePWajc","_importMarker","clipboardInput","low","converterUrl","aborted","signal","setSelection","createPositionAfter","$graveyard","4154117hclKlg","position","set","16vPsMOf","getSelectedBlocks","1340795ADwjVT","2305490xdXVBX","isCollapsed","bind","editing","model","removeMarker","timeZone","config","MergeFields","reject","isEnabled","fire","has","createBatch","formatting","getToken","then","catch","merge_fields","createPositionBefore","isAtStart","568545UBZbqv","root","checkChild","11333yzXlta","isBusy","importWord","resolvedOptions","9PAieSA","_checkEnabled","36194wgrSRh","get","execute","_cleanUpAfterImport","ImportWordEditing","rootName","_abortController","An error occurred while importing the Word file.","_undoStepBatch","_handleImportFailure","document","isEmpty","value","abort","html","addMarker","4SePviY","DateTimeFormat","_prepareForImport","isAtEnd","_handleImportResponse","selection","element","parent","stringify","getFirstPosition","refresh","import-word-plugin-import-cancelled","stopListening","getRange","enqueueChange","change:range","locale","markers","Authorization","json","resolve","plugins","1237208BrHGSi","setData","import-word-plugin-conversion-failed","split","_sendImportRequest","importWord:","editor","view","paragraph","dataInsert","Notification","text/html"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=438]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(174056===parseInt(e(487))/1*(-parseInt(e(454))/2)+parseInt(e(478))/3+parseInt(e(503))/4*(parseInt(e(456))/5)+parseInt(e(441))/6*(-parseInt(e(481))/7)+parseInt(e(525))/8*(parseInt(e(485))/9)+parseInt(e(457))/10+-parseInt(e(451))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(h);class m extends t.Command{constructor(t){const e=f;super(t),this[e(453)](e(482),!1),this[e(442)]=null,this[e(495)]=null,this[e(493)]=null,this.on(e(534),((r,n)=>{const i=e,o=new DataTransfer;o[i(526)](i(536),n[i(501)]);const s=this[i(442)][i(516)]();this[i(531)][i(461)][i(517)](this[i(495)],(e=>{const r=i;this[r(442)][r(515)](),e[r(448)](s),t[r(460)][r(532)][r(497)][r(468)](r(443),{dataTransfer:o})}))}),{priority:e(444)})}[d(513)](){const t=d;this[t(467)]=this[t(486)]()}[d(489)](t,e={}){const r=d;if(this[r(482)])return Promise[r(523)]();const n=this[r(531)][r(464)][r(488)](r(483));if(this[r(531)][r(524)][r(469)](r(465))){const{prefix:t,suffix:n}=this[r(531)][r(464)][r(488)](r(537));e[r(475)]={prefix:t,suffix:n}}const i={url:n[r(445)],file:t,serviceConfig:{...e,formatting:n[r(471)],timezone:(new(Intl[r(504)]))[r(484)]()[r(463)]}};return this[r(505)](),this[r(529)](i)[r(473)](this[r(507)][r(459)](this))[r(474)](this[r(496)][r(459)](this))[r(438)](this[r(490)][r(459)](this))}[d(486)](){const t=d;if(this[t(482)])return!1;const e=this[t(531)][t(461)],r=e[t(538)],n=e[t(497)][t(508)],i=(0,l.first)(n[t(455)]());return!!i&&r[t(480)](i[t(510)],t(533))}[d(505)](){const t=d,e=this[t(531)],r=e[t(461)],n=r[t(497)][t(508)];this[t(493)]=new AbortController,this[t(495)]=e[t(461)][t(470)]({isUndoable:!0}),r[t(517)](this[t(495)],(e=>{const i=t;n[i(458)]||r[i(539)](n,{leaveUnmerged:!0});const o=n[i(512)](),s=(0,l.first)(n[i(455)]());let a;a=s.is(i(509),i(533))&&s[i(498)]?o:o[i(477)]?r[i(476)](s):o[i(506)]?r[i(449)](s):e[i(528)](o)[i(452)],this[i(442)]=e[i(502)](i(530)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(442)].on(i(518),(()=>{const t=i;t(450)===this[t(442)][t(516)]()[t(479)][t(492)]&&this[t(493)][t(500)]()}))})),this[t(482)]=!0,this[t(513)]()}[d(490)](){const t=d,e=this[t(531)][t(461)];e[t(520)][t(469)](this[t(442)])&&e[t(517)](this[t(495)],(e=>{const r=t;e[r(462)](this[r(442)])})),this[t(442)]=null,this[t(495)]=null,this[t(493)]=null,this[t(482)]=!1,this[t(513)]()}[d(529)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(531)][n(524)][n(488)](n(491))[n(472)](),o=new FormData;o[n(453)](n(464),JSON[n(511)](r)),o[n(453)](n(540),e);const s={method:n(541),headers:{},body:o,signal:this[n(493)][n(447)]};return i&&(s[n(439)][n(521)]=i[n(499)]),fetch(t,s)}[d(507)](t){const e=d;return t.ok?t[e(522)]()[e(473)]((t=>{const r=e;this[r(531)][r(461)][r(520)][r(469)](this[r(442)])&&r(450)!==this[r(442)][r(516)]()[r(479)][r(492)]&&this[r(468)](r(534),t)})):Promise[e(466)]()}[d(496)](){const t=d;if(this[t(493)][t(447)][t(446)])return void(0,l.logWarning)(t(514));const e=this[t(531)],r=i(e[t(519)],t(494));e[t(524)][t(488)](t(535))[t(440)](r),(0,l.logError)(t(527))}}function g(t,e){const r=w();return(g=function(t,e){return r[t-=368]})(t,e)}const I=g;!function(t){const e=g,r=t();for(;;)try{if(915698===parseInt(e(393))/1*(-parseInt(e(380))/2)+parseInt(e(382))/3*(parseInt(e(373))/4)+parseInt(e(383))/5+-parseInt(e(388))/6*(-parseInt(e(386))/7)+parseInt(e(391))/8+parseInt(e(370))/9*(-parseInt(e(395))/10)+parseInt(e(402))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(w);class v extends t.Plugin{static get[I(387)](){return I(371)}static get[I(392)](){return!0}static get[I(401)](){return!0}static get[I(400)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(376)]}constructor(t){const e=I;super(t),this[e(378)]=null}async[I(375)](){const t=I,e=this[t(397)];e[t(390)][t(381)](t(384),{converterUrl:t(379),tokenUrl:(e[t(390)][t(377)](t(399))||{})[t(372)],formatting:{resets:t(374),defaults:t(374),styles:t(389)}}),e[t(369)][t(385)](t(384),new m(e));const{tokenUrl:r}=e[t(390)][t(377)](t(384));if(r){const{tokenUrl:n}=e[t(390)][t(377)](t(399))||{};this[t(378)]=r===n?e[t(398)][t(377)](t(376))[t(368)]:await e[t(398)][t(377)](t(376))[t(394)](r)}}[I(396)](){return this[I(378)]}}function w(){const t=["128900KMImEO","getToken","editor","plugins","cloudServices","requires","isPremiumPlugin","1849100MSxisN","token","commands","495JfDClU","ImportWordEditing","tokenUrl","1994764wHGaOk","none","init","CloudServices","get","_token","https://docx-converter.cke-cs.com/v2/convert/docx-html","23918DBjcom","define","6kTrtYi","6568750YAycCn","importWord","add","7yWfgqR","pluginName","3468462PzNxed","inline","config","115024lAoAWz","isOfficialPlugin","121yUYGgy","registerTokenUrl"];return(w=function(){return t})()}function y(){var t=["isOfficialPlugin","1133390ykwkCD","9SzidZB","98380NmSkhv","6wgWvai","845176feEgGt","requires","ImportWord","1260888UhIfQV","isPremiumPlugin","265836ZqiGtB","15347376SFqLeE","173351XaMZqT","7YngGJi","306ajIwdB","pluginName"];return(y=function(){return t})()}var W=k;function k(t,e){var r=y();return(k=function(t,e){return r[t-=223]})(t,e)}!function(t){for(var e=k,r=t();;)try{if(208258===-parseInt(e(230))/1+-parseInt(e(228))/2*(parseInt(e(236))/3)+-parseInt(e(223))/4+parseInt(e(235))/5*(-parseInt(e(238))/6)+-parseInt(e(231))/7*(-parseInt(e(226))/8)+parseInt(e(232))/9*(-parseInt(e(237))/10)+parseInt(e(229))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(y);class b extends t.Plugin{static get[W(233)](){return W(225)}static get[W(234)](){return!0}static get[W(227)](){return!0}static get[W(224)](){return[v,c]}}function x(t,e){var r=P();return(x=function(t,e){return r[t-=357]})(t,e)}function P(){var t=["6eACNbr","56kBHgDK","391938BmPfRO","100GIHUKU","1378719piWJqD","19038778Bjnygv","12690460hjDSlI","1808572cQkbND","1015084kzTUqV","8905FikeLC","12OfnmaG"];return(P=function(){return t})()}!function(t){for(var e=x,r=t();;)try{if(957872===parseInt(e(365))/1+-parseInt(e(357))/2*(-parseInt(e(360))/3)+parseInt(e(361))/4*(parseInt(e(367))/5)+parseInt(e(358))/6*(-parseInt(e(366))/7)+-parseInt(e(359))/8*(parseInt(e(362))/9)+parseInt(e(364))/10+-parseInt(e(363))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
@@ -0,0 +1 @@
1
+ !function(o){const r=o.af=o.af||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.ast=o.ast||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.az=o.az||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.bs=o.bs||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o["de-ch"]=o["de-ch"]||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const n=o["en-gb"]=o["en-gb"]||{};n.dictionary=Object.assign(n.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.eo=o.eo||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o["es-co"]=o["es-co"]||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.eu=o.eu||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.fa=o.fa||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.gu=o.gu||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.hy=o.hy||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.jv=o.jv||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.kk=o.kk||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.km=o.km||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const n=o.kn=o.kn||{};n.dictionary=Object.assign(n.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.ku=o.ku||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const n=o.nb=o.nb||{};n.dictionary=Object.assign(n.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const n=o.ne=o.ne||{};n.dictionary=Object.assign(n.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.oc=o.oc||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const i=o.si=o.si||{};i.dictionary=Object.assign(i.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.sl=o.sl||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.sq=o.sq||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const i=o.ti=o.ti||{};i.dictionary=Object.assign(i.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.tk=o.tk||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.tt=o.tt||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.ur=o.ur||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.uz=o.uz||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x32ad3a,Command as _0x2b5b3d}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x46fcf4,MenuBarMenuListItemFileDialogButtonView as _0x439474,SpinnerView as _0x4ec499,Notification as _0x17e113}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x36c2c1}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x2af614}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x3a8cc7,uid as _0x1ddc11,logWarning as _0x186fad,logError as _0x48251c}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x48a313,_0x20f5f8){const t=_0x48a313['t'];switch(_0x20f5f8){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0x20f5f8;}}class i extends _0x32ad3a{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49e037=this['editor'];_0x49e037['ui']['componentFactory']['add']('importWord',()=>{const _0x2731a2=this['_createButton'](_0x46fcf4),_0x1b5366=_0x49e037['commands']['get']('importWord');return _0x2731a2['bind']('isOn')['to'](_0x1b5366,'isBusy'),_0x2731a2['tooltip']=!0x0,_0x2731a2;}),_0x49e037['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x439474));}['_createButton'](_0x3e9e03){const _0x566f50=this['editor'],_0x20dc7c=_0x566f50['commands']['get']('importWord'),_0x785027=new _0x3e9e03(_0x566f50['locale']),_0x326db0=new _0x4ec499();return _0x785027['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x785027['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m14\x200\x205\x204.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M10.74\x2018a2.76\x202.76\x200\x200\x201-.469-.5H3V19h9.25v-.374A2.737\x202.737\x200\x200\x201\x2010.74\x2018Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.602.602\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001ZM11.674\x2015.407a.75.75\x200\x201\x200\x201.152.96L14\x2014.96V20h1.5v-5.04l1.174\x201.408a.75.75\x200\x201\x200\x201.152-.96l-2.346-2.816a.95.95\x200\x200\x200-1.46\x200l-2.346\x202.815Z\x22/></svg>\x0a'}),_0x785027['bind']('isEnabled')['to'](_0x20dc7c),_0x785027['bind']('label')['to'](_0x20dc7c,'isBusy',_0x1a2ca3=>p(_0x566f50['locale'],_0x1a2ca3?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x326db0['bind']('isVisible')['to'](_0x20dc7c,'isBusy'),_0x785027['iconView']['bind']('isVisible')['to'](_0x20dc7c,'isBusy',_0x560f6c=>!_0x560f6c),_0x785027['children']['add'](_0x326db0),_0x785027['on']('done',(_0xed98c1,_0xe186ed)=>{_0x566f50['execute']('importWord',_0xe186ed[0x0],{}),_0x566f50['editing']['view']['focus']();}),_0x785027;}}class d extends _0x2b5b3d{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x555a7e){super(_0x555a7e),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x3bc411,_0x511b6f)=>{const _0xc4793a=new DataTransfer();_0xc4793a['setData']('text/html',_0x511b6f['html']);const _0x53e526=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x4b12b8=>{this['_importMarker']['stopListening'](),_0x4b12b8['setSelection'](_0x53e526),_0x555a7e['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0xc4793a});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xc1df2c,_0x21d125={}){if(this['isBusy'])return Promise['resolve']();const _0x43d344=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x235ac1,suffix:_0x4dabaa}=this['editor']['config']['get']('mergeFields');_0x21d125['merge_fields']={'prefix':_0x235ac1,'suffix':_0x4dabaa};}const _0x397444={'url':_0x43d344['converterUrl'],'file':_0xc1df2c,'serviceConfig':{..._0x21d125,'formatting':_0x43d344['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x397444)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0xb6b013=this['editor']['model'],_0x14851d=_0xb6b013['schema'],_0x2c1c89=_0xb6b013['document']['selection'],_0x3c8497=_0x3a8cc7(_0x2c1c89['getSelectedBlocks']());return!!_0x3c8497&&_0x14851d['checkChild'](_0x3c8497['parent'],'paragraph');}['_prepareForImport'](){const _0xd1227c=this['editor'],_0x1f5e71=_0xd1227c['model'],_0x43b81f=_0x1f5e71['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0xd1227c['model']['createBatch']({'isUndoable':!0x0}),_0x1f5e71['enqueueChange'](this['_undoStepBatch'],_0x2c2457=>{_0x43b81f['isCollapsed']||_0x1f5e71['deleteContent'](_0x43b81f,{'leaveUnmerged':!0x0});const _0x171815=_0x43b81f['getFirstPosition'](),_0xe509b8=_0x3a8cc7(_0x43b81f['getSelectedBlocks']());let _0x48bd6d;_0x48bd6d=_0xe509b8['is']('element','paragraph')&&_0xe509b8['isEmpty']?_0x171815:_0x171815['isAtStart']?_0x1f5e71['createPositionBefore'](_0xe509b8):_0x171815['isAtEnd']?_0x1f5e71['createPositionAfter'](_0xe509b8):_0x2c2457['split'](_0x171815)['position'],this['_importMarker']=_0x2c2457['addMarker']('importWord:'+_0x1ddc11(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x2af614(_0x48bd6d)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x3b9324=this['editor']['model'];_0x3b9324['markers']['has'](this['_importMarker'])&&_0x3b9324['enqueueChange'](this['_undoStepBatch'],_0xcbf0a9=>{_0xcbf0a9['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x32539d,file:_0x398fa9,serviceConfig:_0x3a182f}){const _0x5b228d=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x30af8a=new FormData();_0x30af8a['set']('config',JSON['stringify'](_0x3a182f)),_0x30af8a['set']('file',_0x398fa9);const _0x37fede={'method':'POST','headers':{},'body':_0x30af8a,'signal':this['_abortController']['signal']};return _0x5b228d&&(_0x37fede['headers']['Authorization']=_0x5b228d['value']),fetch(_0x32539d,_0x37fede);}['_handleImportResponse'](_0xf476e6){return _0xf476e6['ok']?_0xf476e6['json']()['then'](_0x269b03=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x269b03);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x186fad('import-word-plugin-import-cancelled');const _0x4bd027=this['editor'],_0x9618bc=p(_0x4bd027['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4bd027['plugins']['get']('Notification')['showWarning'](_0x9618bc),_0x48251c('import-word-plugin-conversion-failed');}}class e extends _0x32ad3a{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x17e113,_0x36c2c1,'CloudServices'];}constructor(_0x3d77fd){super(_0x3d77fd),this['_token']=null;}async['init'](){const _0x166255=this['editor'];_0x166255['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x166255['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x166255['commands']['add']('importWord',new d(_0x166255));const {tokenUrl:_0x55ca39}=_0x166255['config']['get']('importWord');if(_0x55ca39){const {tokenUrl:_0x11678d}=_0x166255['config']['get']('cloudServices')||{};this['_token']=_0x55ca39===_0x11678d?_0x166255['plugins']['get']('CloudServices')['token']:await _0x166255['plugins']['get']('CloudServices')['registerTokenUrl'](_0x55ca39);}}['getToken'](){return this['_token'];}}class o extends _0x32ad3a{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[e,i];}}export{o as ImportWord,e as ImportWordEditing,i as ImportWordUI};
23
+ import{Plugin as _0x6e55bd,Command as _0x2542dc}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0xf2df50,MenuBarMenuListItemFileDialogButtonView as _0x524e5e,SpinnerView as _0x543145,Notification as _0x5a244e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x20f626}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x4ca4ad}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5846eb,uid as _0x4d265f,logWarning as _0x265ca5,logError as _0x105812}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x3154f6,_0x1071df){const t=_0x3154f6['t'];switch(_0x1071df){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0x1071df;}}class i extends _0x6e55bd{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x33255f=this['editor'];_0x33255f['ui']['componentFactory']['add']('importWord',()=>{const _0x6730bc=this['_createButton'](_0xf2df50),_0x25b037=_0x33255f['commands']['get']('importWord');return _0x6730bc['bind']('isOn')['to'](_0x25b037,'isBusy'),_0x6730bc['tooltip']=!0x0,_0x6730bc;}),_0x33255f['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x524e5e));}['_createButton'](_0x8f5e4b){const _0x54bcf1=this['editor'],_0x3d390d=_0x54bcf1['commands']['get']('importWord'),_0x2dd590=new _0x8f5e4b(_0x54bcf1['locale']),_0x57d287=new _0x543145();return _0x2dd590['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x2dd590['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m14\x200\x205\x204.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M10.74\x2018a2.76\x202.76\x200\x200\x201-.469-.5H3V19h9.25v-.374A2.737\x202.737\x200\x200\x201\x2010.74\x2018Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.602.602\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001ZM11.674\x2015.407a.75.75\x200\x201\x200\x201.152.96L14\x2014.96V20h1.5v-5.04l1.174\x201.408a.75.75\x200\x201\x200\x201.152-.96l-2.346-2.816a.95.95\x200\x200\x200-1.46\x200l-2.346\x202.815Z\x22/></svg>\x0a'}),_0x2dd590['bind']('isEnabled')['to'](_0x3d390d),_0x2dd590['bind']('label')['to'](_0x3d390d,'isBusy',_0x22afe5=>p(_0x54bcf1['locale'],_0x22afe5?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x57d287['bind']('isVisible')['to'](_0x3d390d,'isBusy'),_0x2dd590['iconView']['bind']('isVisible')['to'](_0x3d390d,'isBusy',_0x543777=>!_0x543777),_0x2dd590['children']['add'](_0x57d287),_0x2dd590['on']('done',(_0x5c3b8b,_0x584955)=>{_0x54bcf1['execute']('importWord',_0x584955[0x0],{}),_0x54bcf1['editing']['view']['focus']();}),_0x2dd590;}}class d extends _0x2542dc{constructor(_0x462d84){super(_0x462d84),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x10302a,_0x419bc0)=>{const _0x4d16c0=new DataTransfer();_0x4d16c0['setData']('text/html',_0x419bc0['html']);const _0xfab01b=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x419e0f=>{this['_importMarker']['stopListening'](),_0x419e0f['setSelection'](_0xfab01b),_0x462d84['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x4d16c0});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3cdc57,_0x56ec8a={}){if(this['isBusy'])return Promise['resolve']();const _0x3ac1eb=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x45c4fb,suffix:_0x44e6b8}=this['editor']['config']['get']('mergeFields');_0x56ec8a['merge_fields']={'prefix':_0x45c4fb,'suffix':_0x44e6b8};}const _0x205ede={'url':_0x3ac1eb['converterUrl'],'file':_0x3cdc57,'serviceConfig':{..._0x56ec8a,'formatting':_0x3ac1eb['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x205ede)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x37d8a7=this['editor']['model'],_0x25255d=_0x37d8a7['schema'],_0x21e24e=_0x37d8a7['document']['selection'],_0x191c14=_0x5846eb(_0x21e24e['getSelectedBlocks']());return!!_0x191c14&&_0x25255d['checkChild'](_0x191c14['parent'],'paragraph');}['_prepareForImport'](){const _0x131c82=this['editor'],_0x4d4188=_0x131c82['model'],_0x5ef57d=_0x4d4188['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x131c82['model']['createBatch']({'isUndoable':!0x0}),_0x4d4188['enqueueChange'](this['_undoStepBatch'],_0x2e16db=>{_0x5ef57d['isCollapsed']||_0x4d4188['deleteContent'](_0x5ef57d,{'leaveUnmerged':!0x0});const _0xe40226=_0x5ef57d['getFirstPosition'](),_0x1a0d6a=_0x5846eb(_0x5ef57d['getSelectedBlocks']());let _0x41bbc3;_0x41bbc3=_0x1a0d6a['is']('element','paragraph')&&_0x1a0d6a['isEmpty']?_0xe40226:_0xe40226['isAtStart']?_0x4d4188['createPositionBefore'](_0x1a0d6a):_0xe40226['isAtEnd']?_0x4d4188['createPositionAfter'](_0x1a0d6a):_0x2e16db['split'](_0xe40226)['position'],this['_importMarker']=_0x2e16db['addMarker']('importWord:'+_0x4d265f(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x4ca4ad(_0x41bbc3)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x182f6e=this['editor']['model'];_0x182f6e['markers']['has'](this['_importMarker'])&&_0x182f6e['enqueueChange'](this['_undoStepBatch'],_0x201816=>{_0x201816['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x1a1b62,file:_0x238533,serviceConfig:_0x2e62b1}){const _0x49ace7=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x4a4fb1=new FormData();_0x4a4fb1['set']('config',JSON['stringify'](_0x2e62b1)),_0x4a4fb1['set']('file',_0x238533);const _0x57e68b={'method':'POST','headers':{},'body':_0x4a4fb1,'signal':this['_abortController']['signal']};return _0x49ace7&&(_0x57e68b['headers']['Authorization']=_0x49ace7['value']),fetch(_0x1a1b62,_0x57e68b);}['_handleImportResponse'](_0x28521f){return _0x28521f['ok']?_0x28521f['json']()['then'](_0x7e6f91=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x7e6f91);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x265ca5('import-word-plugin-import-cancelled');const _0x420c45=this['editor'],_0x5ada6a=p(_0x420c45['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x420c45['plugins']['get']('Notification')['showWarning'](_0x5ada6a),_0x105812('import-word-plugin-conversion-failed');}}class e extends _0x6e55bd{static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5a244e,_0x20f626,'CloudServices'];}constructor(_0x1deca5){super(_0x1deca5),this['_token']=null;}async['init'](){const _0x46b5f5=this['editor'];_0x46b5f5['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x46b5f5['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x46b5f5['commands']['add']('importWord',new d(_0x46b5f5));const {tokenUrl:_0x46da63}=_0x46b5f5['config']['get']('importWord');if(_0x46da63){const {tokenUrl:_0x100ca1}=_0x46b5f5['config']['get']('cloudServices')||{};this['_token']=_0x46da63===_0x100ca1?_0x46b5f5['plugins']['get']('CloudServices')['token']:await _0x46b5f5['plugins']['get']('CloudServices')['registerTokenUrl'](_0x46da63);}}['getToken'](){return this['_token'];}}class o extends _0x6e55bd{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[e,i];}}export{o as ImportWord,e as ImportWordEditing,i as ImportWordUI};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4cbfbd=>0x1!=_0x4cbfbd}};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (_0x128478=>{const {af:{dictionary:_0x58bdf4,getPluralForm:_0x23c911}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1dce7d=>0x1!=_0x1dce7d}};_0x128478['af']||={'dictionary':{},'getPluralForm':null},_0x128478['af']['dictionary']=Object['assign'](_0x128478['af']['dictionary'],_0x58bdf4),_0x128478['af']['getPluralForm']=_0x23c911;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x32c09d=>0x0==_0x32c09d?0x0:0x1==_0x32c09d?0x1:0x2==_0x32c09d?0x2:_0x32c09d%0x64>=0x3&&_0x32c09d%0x64<=0xa?0x3:_0x32c09d%0x64>=0xb&&_0x32c09d%0x64<=0x63?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x220be9=>0x0==_0x220be9?0x0:0x1==_0x220be9?0x1:0x2==_0x220be9?0x2:_0x220be9%0x64>=0x3&&_0x220be9%0x64<=0xa?0x3:_0x220be9%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5d43af=>{const {ar:{dictionary:_0x4de464,getPluralForm:_0x20b969}}={'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x1f898f=>0x0==_0x1f898f?0x0:0x1==_0x1f898f?0x1:0x2==_0x1f898f?0x2:_0x1f898f%0x64>=0x3&&_0x1f898f%0x64<=0xa?0x3:_0x1f898f%0x64>=0xb&&_0x1f898f%0x64<=0x63?0x4:0x5}};_0x5d43af['ar']||={'dictionary':{},'getPluralForm':null},_0x5d43af['ar']['dictionary']=Object['assign'](_0x5d43af['ar']['dictionary'],_0x4de464),_0x5d43af['ar']['getPluralForm']=_0x20b969;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37ab2a=>{const {ar:{dictionary:_0x4c2116,getPluralForm:_0x28e418}}={'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x47bb4e=>0x0==_0x47bb4e?0x0:0x1==_0x47bb4e?0x1:0x2==_0x47bb4e?0x2:_0x47bb4e%0x64>=0x3&&_0x47bb4e%0x64<=0xa?0x3:_0x47bb4e%0x64>=0xb?0x4:0x5}};_0x37ab2a['ar']||={'dictionary':{},'getPluralForm':null},_0x37ab2a['ar']['dictionary']=Object['assign'](_0x37ab2a['ar']['dictionary'],_0x4c2116),_0x37ab2a['ar']['getPluralForm']=_0x28e418;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4f1ca9=>0x1!=_0x4f1ca9}};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (_0x359c3d=>{const {ast:{dictionary:_0x2a41ab,getPluralForm:_0x1d59ca}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x147d98=>0x1!=_0x147d98}};_0x359c3d['ast']||={'dictionary':{},'getPluralForm':null},_0x359c3d['ast']['dictionary']=Object['assign'](_0x359c3d['ast']['dictionary'],_0x2a41ab),_0x359c3d['ast']['getPluralForm']=_0x1d59ca;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4e3438=>0x1!=_0x4e3438}};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (_0x529009=>{const {az:{dictionary:_0x58e593,getPluralForm:_0x528d80}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x391bb7=>0x1!=_0x391bb7}};_0x529009['az']||={'dictionary':{},'getPluralForm':null},_0x529009['az']['dictionary']=Object['assign'](_0x529009['az']['dictionary'],_0x58e593),_0x529009['az']['getPluralForm']=_0x528d80;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x1b577e=>0x1!=_0x1b577e}};
23
+ export default{'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x962ddd=>0x1!=_0x962ddd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3a5736=>{const {bg:{dictionary:_0x3e03a0,getPluralForm:_0x290180}}={'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x13011d=>0x1!=_0x13011d}};_0x3a5736['bg']||={'dictionary':{},'getPluralForm':null},_0x3a5736['bg']['dictionary']=Object['assign'](_0x3a5736['bg']['dictionary'],_0x3e03a0),_0x3a5736['bg']['getPluralForm']=_0x290180;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5da72a=>{const {bg:{dictionary:_0x509548,getPluralForm:_0x538481}}={'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x1b7d26=>0x1!=_0x1b7d26}};_0x5da72a['bg']||={'dictionary':{},'getPluralForm':null},_0x5da72a['bg']['dictionary']=Object['assign'](_0x5da72a['bg']['dictionary'],_0x509548),_0x5da72a['bg']['getPluralForm']=_0x538481;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x148908=>0x1!=_0x148908}};
23
+ export default{'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0xbc86d5=>0x1!=_0xbc86d5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2ac654=>{const {bn:{dictionary:_0x4128df,getPluralForm:_0x5a9739}}={'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x52707f=>0x1!=_0x52707f}};_0x2ac654['bn']||={'dictionary':{},'getPluralForm':null},_0x2ac654['bn']['dictionary']=Object['assign'](_0x2ac654['bn']['dictionary'],_0x4128df),_0x2ac654['bn']['getPluralForm']=_0x5a9739;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x10dae4=>{const {bn:{dictionary:_0x19ffa2,getPluralForm:_0x3b3741}}={'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x4eae21=>0x1!=_0x4eae21}};_0x10dae4['bn']||={'dictionary':{},'getPluralForm':null},_0x10dae4['bn']['dictionary']=Object['assign'](_0x10dae4['bn']['dictionary'],_0x19ffa2),_0x10dae4['bn']['getPluralForm']=_0x3b3741;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;