@ckeditor/ckeditor5-import-word 44.1.0 → 44.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/import-word.js +3 -3
  4. package/dist/index-content.css +2 -2
  5. package/dist/index-editor.css +2 -2
  6. package/dist/index.css +2 -2
  7. package/dist/index.js +2 -2
  8. package/dist/translations/af.d.ts +2 -2
  9. package/dist/translations/af.js +2 -2
  10. package/dist/translations/af.umd.js +2 -2
  11. package/dist/translations/ar.d.ts +2 -2
  12. package/dist/translations/ar.js +2 -2
  13. package/dist/translations/ar.umd.js +2 -2
  14. package/dist/translations/ast.d.ts +2 -2
  15. package/dist/translations/ast.js +2 -2
  16. package/dist/translations/ast.umd.js +2 -2
  17. package/dist/translations/az.d.ts +2 -2
  18. package/dist/translations/az.js +2 -2
  19. package/dist/translations/az.umd.js +2 -2
  20. package/dist/translations/bg.d.ts +2 -2
  21. package/dist/translations/bg.js +2 -2
  22. package/dist/translations/bg.umd.js +2 -2
  23. package/dist/translations/bn.d.ts +2 -2
  24. package/dist/translations/bn.js +2 -2
  25. package/dist/translations/bn.umd.js +2 -2
  26. package/dist/translations/bs.d.ts +2 -2
  27. package/dist/translations/bs.js +2 -2
  28. package/dist/translations/bs.umd.js +2 -2
  29. package/dist/translations/ca.d.ts +2 -2
  30. package/dist/translations/ca.js +2 -2
  31. package/dist/translations/ca.umd.js +2 -2
  32. package/dist/translations/cs.d.ts +2 -2
  33. package/dist/translations/cs.js +2 -2
  34. package/dist/translations/cs.umd.js +2 -2
  35. package/dist/translations/da.d.ts +2 -2
  36. package/dist/translations/da.js +2 -2
  37. package/dist/translations/da.umd.js +2 -2
  38. package/dist/translations/de-ch.d.ts +2 -2
  39. package/dist/translations/de-ch.js +2 -2
  40. package/dist/translations/de-ch.umd.js +2 -2
  41. package/dist/translations/de.d.ts +2 -2
  42. package/dist/translations/de.js +2 -2
  43. package/dist/translations/de.umd.js +2 -2
  44. package/dist/translations/el.d.ts +2 -2
  45. package/dist/translations/el.js +2 -2
  46. package/dist/translations/el.umd.js +2 -2
  47. package/dist/translations/en-au.d.ts +2 -2
  48. package/dist/translations/en-au.js +2 -2
  49. package/dist/translations/en-au.umd.js +2 -2
  50. package/dist/translations/en-gb.d.ts +2 -2
  51. package/dist/translations/en-gb.js +2 -2
  52. package/dist/translations/en-gb.umd.js +2 -2
  53. package/dist/translations/en.d.ts +2 -2
  54. package/dist/translations/en.js +2 -2
  55. package/dist/translations/en.umd.js +2 -2
  56. package/dist/translations/eo.d.ts +2 -2
  57. package/dist/translations/eo.js +2 -2
  58. package/dist/translations/eo.umd.js +2 -2
  59. package/dist/translations/es-co.d.ts +2 -2
  60. package/dist/translations/es-co.js +2 -2
  61. package/dist/translations/es-co.umd.js +2 -2
  62. package/dist/translations/es.d.ts +2 -2
  63. package/dist/translations/es.js +2 -2
  64. package/dist/translations/es.umd.js +2 -2
  65. package/dist/translations/et.d.ts +2 -2
  66. package/dist/translations/et.js +2 -2
  67. package/dist/translations/et.umd.js +2 -2
  68. package/dist/translations/eu.d.ts +2 -2
  69. package/dist/translations/eu.js +2 -2
  70. package/dist/translations/eu.umd.js +2 -2
  71. package/dist/translations/fa.d.ts +2 -2
  72. package/dist/translations/fa.js +2 -2
  73. package/dist/translations/fa.umd.js +2 -2
  74. package/dist/translations/fi.d.ts +2 -2
  75. package/dist/translations/fi.js +2 -2
  76. package/dist/translations/fi.umd.js +2 -2
  77. package/dist/translations/fr.d.ts +2 -2
  78. package/dist/translations/fr.js +2 -2
  79. package/dist/translations/fr.umd.js +2 -2
  80. package/dist/translations/gl.d.ts +2 -2
  81. package/dist/translations/gl.js +2 -2
  82. package/dist/translations/gl.umd.js +2 -2
  83. package/dist/translations/gu.d.ts +2 -2
  84. package/dist/translations/gu.js +2 -2
  85. package/dist/translations/gu.umd.js +2 -2
  86. package/dist/translations/he.d.ts +2 -2
  87. package/dist/translations/he.js +2 -2
  88. package/dist/translations/he.umd.js +2 -2
  89. package/dist/translations/hi.d.ts +2 -2
  90. package/dist/translations/hi.js +2 -2
  91. package/dist/translations/hi.umd.js +2 -2
  92. package/dist/translations/hr.d.ts +2 -2
  93. package/dist/translations/hr.js +2 -2
  94. package/dist/translations/hr.umd.js +2 -2
  95. package/dist/translations/hu.d.ts +2 -2
  96. package/dist/translations/hu.js +2 -2
  97. package/dist/translations/hu.umd.js +2 -2
  98. package/dist/translations/hy.d.ts +2 -2
  99. package/dist/translations/hy.js +2 -2
  100. package/dist/translations/hy.umd.js +2 -2
  101. package/dist/translations/id.d.ts +2 -2
  102. package/dist/translations/id.js +2 -2
  103. package/dist/translations/id.umd.js +2 -2
  104. package/dist/translations/it.d.ts +2 -2
  105. package/dist/translations/it.js +2 -2
  106. package/dist/translations/it.umd.js +2 -2
  107. package/dist/translations/ja.d.ts +2 -2
  108. package/dist/translations/ja.js +2 -2
  109. package/dist/translations/ja.umd.js +2 -2
  110. package/dist/translations/jv.d.ts +2 -2
  111. package/dist/translations/jv.js +2 -2
  112. package/dist/translations/jv.umd.js +2 -2
  113. package/dist/translations/kk.d.ts +2 -2
  114. package/dist/translations/kk.js +2 -2
  115. package/dist/translations/kk.umd.js +2 -2
  116. package/dist/translations/km.d.ts +2 -2
  117. package/dist/translations/km.js +2 -2
  118. package/dist/translations/km.umd.js +2 -2
  119. package/dist/translations/kn.d.ts +2 -2
  120. package/dist/translations/kn.js +2 -2
  121. package/dist/translations/kn.umd.js +2 -2
  122. package/dist/translations/ko.d.ts +2 -2
  123. package/dist/translations/ko.js +2 -2
  124. package/dist/translations/ko.umd.js +2 -2
  125. package/dist/translations/ku.d.ts +2 -2
  126. package/dist/translations/ku.js +2 -2
  127. package/dist/translations/ku.umd.js +2 -2
  128. package/dist/translations/lt.d.ts +2 -2
  129. package/dist/translations/lt.js +2 -2
  130. package/dist/translations/lt.umd.js +2 -2
  131. package/dist/translations/lv.d.ts +2 -2
  132. package/dist/translations/lv.js +2 -2
  133. package/dist/translations/lv.umd.js +2 -2
  134. package/dist/translations/ms.d.ts +2 -2
  135. package/dist/translations/ms.js +2 -2
  136. package/dist/translations/ms.umd.js +2 -2
  137. package/dist/translations/nb.d.ts +2 -2
  138. package/dist/translations/nb.js +2 -2
  139. package/dist/translations/nb.umd.js +2 -2
  140. package/dist/translations/ne.d.ts +2 -2
  141. package/dist/translations/ne.js +2 -2
  142. package/dist/translations/ne.umd.js +2 -2
  143. package/dist/translations/nl.d.ts +2 -2
  144. package/dist/translations/nl.js +2 -2
  145. package/dist/translations/nl.umd.js +2 -2
  146. package/dist/translations/no.d.ts +2 -2
  147. package/dist/translations/no.js +2 -2
  148. package/dist/translations/no.umd.js +2 -2
  149. package/dist/translations/oc.d.ts +2 -2
  150. package/dist/translations/oc.js +2 -2
  151. package/dist/translations/oc.umd.js +2 -2
  152. package/dist/translations/pl.d.ts +2 -2
  153. package/dist/translations/pl.js +2 -2
  154. package/dist/translations/pl.umd.js +2 -2
  155. package/dist/translations/pt-br.d.ts +2 -2
  156. package/dist/translations/pt-br.js +2 -2
  157. package/dist/translations/pt-br.umd.js +2 -2
  158. package/dist/translations/pt.d.ts +2 -2
  159. package/dist/translations/pt.js +2 -2
  160. package/dist/translations/pt.umd.js +2 -2
  161. package/dist/translations/ro.d.ts +2 -2
  162. package/dist/translations/ro.js +2 -2
  163. package/dist/translations/ro.umd.js +2 -2
  164. package/dist/translations/ru.d.ts +2 -2
  165. package/dist/translations/ru.js +2 -2
  166. package/dist/translations/ru.umd.js +2 -2
  167. package/dist/translations/si.d.ts +2 -2
  168. package/dist/translations/si.js +2 -2
  169. package/dist/translations/si.umd.js +2 -2
  170. package/dist/translations/sk.d.ts +2 -2
  171. package/dist/translations/sk.js +2 -2
  172. package/dist/translations/sk.umd.js +2 -2
  173. package/dist/translations/sl.d.ts +2 -2
  174. package/dist/translations/sl.js +2 -2
  175. package/dist/translations/sl.umd.js +2 -2
  176. package/dist/translations/sq.d.ts +2 -2
  177. package/dist/translations/sq.js +2 -2
  178. package/dist/translations/sq.umd.js +2 -2
  179. package/dist/translations/sr-latn.d.ts +2 -2
  180. package/dist/translations/sr-latn.js +2 -2
  181. package/dist/translations/sr-latn.umd.js +2 -2
  182. package/dist/translations/sr.d.ts +2 -2
  183. package/dist/translations/sr.js +2 -2
  184. package/dist/translations/sr.umd.js +2 -2
  185. package/dist/translations/sv.d.ts +2 -2
  186. package/dist/translations/sv.js +2 -2
  187. package/dist/translations/sv.umd.js +2 -2
  188. package/dist/translations/th.d.ts +2 -2
  189. package/dist/translations/th.js +2 -2
  190. package/dist/translations/th.umd.js +2 -2
  191. package/dist/translations/ti.d.ts +2 -2
  192. package/dist/translations/ti.js +2 -2
  193. package/dist/translations/ti.umd.js +2 -2
  194. package/dist/translations/tk.d.ts +2 -2
  195. package/dist/translations/tk.js +2 -2
  196. package/dist/translations/tk.umd.js +2 -2
  197. package/dist/translations/tr.d.ts +2 -2
  198. package/dist/translations/tr.js +2 -2
  199. package/dist/translations/tr.umd.js +2 -2
  200. package/dist/translations/tt.d.ts +2 -2
  201. package/dist/translations/tt.js +2 -2
  202. package/dist/translations/tt.umd.js +2 -2
  203. package/dist/translations/ug.d.ts +2 -2
  204. package/dist/translations/ug.js +2 -2
  205. package/dist/translations/ug.umd.js +2 -2
  206. package/dist/translations/uk.d.ts +2 -2
  207. package/dist/translations/uk.js +2 -2
  208. package/dist/translations/uk.umd.js +2 -2
  209. package/dist/translations/ur.d.ts +2 -2
  210. package/dist/translations/ur.js +2 -2
  211. package/dist/translations/ur.umd.js +2 -2
  212. package/dist/translations/uz.d.ts +2 -2
  213. package/dist/translations/uz.js +2 -2
  214. package/dist/translations/uz.umd.js +2 -2
  215. package/dist/translations/vi.d.ts +2 -2
  216. package/dist/translations/vi.js +2 -2
  217. package/dist/translations/vi.umd.js +2 -2
  218. package/dist/translations/zh-cn.d.ts +2 -2
  219. package/dist/translations/zh-cn.js +2 -2
  220. package/dist/translations/zh-cn.umd.js +2 -2
  221. package/dist/translations/zh.d.ts +2 -2
  222. package/dist/translations/zh.js +2 -2
  223. package/dist/translations/zh.umd.js +2 -2
  224. package/lang/translations/af.po +1 -1
  225. package/lang/translations/ar.po +1 -1
  226. package/lang/translations/ast.po +1 -1
  227. package/lang/translations/az.po +1 -1
  228. package/lang/translations/bg.po +1 -1
  229. package/lang/translations/bn.po +1 -1
  230. package/lang/translations/bs.po +1 -1
  231. package/lang/translations/ca.po +1 -1
  232. package/lang/translations/cs.po +1 -1
  233. package/lang/translations/da.po +1 -1
  234. package/lang/translations/de-ch.po +1 -1
  235. package/lang/translations/de.po +1 -1
  236. package/lang/translations/el.po +1 -1
  237. package/lang/translations/en-au.po +1 -1
  238. package/lang/translations/en-gb.po +1 -1
  239. package/lang/translations/en.po +1 -1
  240. package/lang/translations/eo.po +1 -1
  241. package/lang/translations/es-co.po +1 -1
  242. package/lang/translations/es.po +1 -1
  243. package/lang/translations/et.po +1 -1
  244. package/lang/translations/eu.po +1 -1
  245. package/lang/translations/fa.po +1 -1
  246. package/lang/translations/fi.po +1 -1
  247. package/lang/translations/fr.po +1 -1
  248. package/lang/translations/gl.po +1 -1
  249. package/lang/translations/gu.po +1 -1
  250. package/lang/translations/he.po +1 -1
  251. package/lang/translations/hi.po +1 -1
  252. package/lang/translations/hr.po +1 -1
  253. package/lang/translations/hu.po +1 -1
  254. package/lang/translations/hy.po +1 -1
  255. package/lang/translations/id.po +1 -1
  256. package/lang/translations/it.po +1 -1
  257. package/lang/translations/ja.po +1 -1
  258. package/lang/translations/jv.po +1 -1
  259. package/lang/translations/kk.po +1 -1
  260. package/lang/translations/km.po +1 -1
  261. package/lang/translations/kn.po +1 -1
  262. package/lang/translations/ko.po +1 -1
  263. package/lang/translations/ku.po +1 -1
  264. package/lang/translations/lt.po +1 -1
  265. package/lang/translations/lv.po +1 -1
  266. package/lang/translations/ms.po +1 -1
  267. package/lang/translations/nb.po +1 -1
  268. package/lang/translations/ne.po +1 -1
  269. package/lang/translations/nl.po +1 -1
  270. package/lang/translations/no.po +1 -1
  271. package/lang/translations/oc.po +1 -1
  272. package/lang/translations/pl.po +1 -1
  273. package/lang/translations/pt-br.po +1 -1
  274. package/lang/translations/pt.po +1 -1
  275. package/lang/translations/ro.po +1 -1
  276. package/lang/translations/ru.po +1 -1
  277. package/lang/translations/si.po +1 -1
  278. package/lang/translations/sk.po +1 -1
  279. package/lang/translations/sl.po +1 -1
  280. package/lang/translations/sq.po +1 -1
  281. package/lang/translations/sr-latn.po +1 -1
  282. package/lang/translations/sr.po +1 -1
  283. package/lang/translations/sv.po +1 -1
  284. package/lang/translations/th.po +1 -1
  285. package/lang/translations/ti.po +1 -1
  286. package/lang/translations/tk.po +1 -1
  287. package/lang/translations/tr.po +1 -1
  288. package/lang/translations/tt.po +1 -1
  289. package/lang/translations/ug.po +1 -1
  290. package/lang/translations/uk.po +1 -1
  291. package/lang/translations/ur.po +1 -1
  292. package/lang/translations/uz.po +1 -1
  293. package/lang/translations/vi.po +1 -1
  294. package/lang/translations/zh-cn.po +1 -1
  295. package/lang/translations/zh.po +1 -1
  296. package/package.json +31 -7
  297. package/src/augmentation.d.ts +1 -1
  298. package/src/augmentation.js +1 -1
  299. package/src/importword.d.ts +1 -1
  300. package/src/importword.js +2 -2
  301. package/src/importwordcommand.d.ts +1 -1
  302. package/src/importwordcommand.js +2 -2
  303. package/src/importwordediting.d.ts +1 -1
  304. package/src/importwordediting.js +2 -2
  305. package/src/importwordui.d.ts +1 -1
  306. package/src/importwordui.js +2 -2
  307. package/src/index.d.ts +1 -1
  308. package/src/index.js +2 -2
  309. package/src/utils/common-translations.d.ts +1 -1
  310. package/src/utils/common-translations.js +2 -2
  311. package/dist/augmentation.d.ts +0 -27
  312. package/dist/importword.d.ts +0 -136
  313. package/dist/importwordcommand.d.ts +0 -58
  314. package/dist/importwordediting.d.ts +0 -51
  315. package/dist/importwordui.d.ts +0 -34
  316. package/dist/index.d.ts +0 -16
  317. package/dist/utils/common-translations.d.ts +0 -13
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-import-word",
3
- "version": "44.1.0",
3
+ "version": "44.2.0-alpha.0",
4
4
  "description": "Import from Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,12 +30,14 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-clipboard": "44.1.0",
34
- "@ckeditor/ckeditor5-core": "44.1.0",
35
- "@ckeditor/ckeditor5-engine": "44.1.0",
36
- "@ckeditor/ckeditor5-ui": "44.1.0",
37
- "@ckeditor/ckeditor5-utils": "44.1.0",
38
- "ckeditor5": "44.1.0"
33
+ "@ckeditor/ckeditor5-clipboard": "44.2.0-alpha.0",
34
+ "@ckeditor/ckeditor5-cloud-services": "44.2.0-alpha.0",
35
+ "@ckeditor/ckeditor5-core": "44.2.0-alpha.0",
36
+ "@ckeditor/ckeditor5-engine": "44.2.0-alpha.0",
37
+ "@ckeditor/ckeditor5-merge-fields": "44.2.0-alpha.0",
38
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.0",
39
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.0",
40
+ "ckeditor5": "44.2.0-alpha.0"
39
41
  },
40
42
  "license": "SEE LICENSE IN LICENSE.md",
41
43
  "author": "CKSource (https://cksource.com/)",
@@ -52,5 +54,27 @@
52
54
  "CHANGELOG.md"
53
55
  ],
54
56
  "types": "src/index.d.ts",
57
+ "exports": {
58
+ ".": {
59
+ "types": "./src/index.d.ts",
60
+ "import": "./src/index.js",
61
+ "default": "./src/index.js"
62
+ },
63
+ "./dist/*": {
64
+ "types": "./src/index.d.ts",
65
+ "import": "./dist/*",
66
+ "default": "./dist/*"
67
+ },
68
+ "./src/*": {
69
+ "types": "./src/*.d.ts",
70
+ "import": "./src/*",
71
+ "default": "./src/*"
72
+ },
73
+ "./build/*": "./build/*",
74
+ "./lang/*": "./lang/*",
75
+ "./theme/*": "./theme/*",
76
+ "./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
77
+ "./package.json": "./package.json"
78
+ },
55
79
  "obfuscated": true
56
80
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import type { ImportWordConfig, ImportWord, ImportWordEditing, ImportWordUI, ImportWordCommand } from './index.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
package/src/importword.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x518a(_0x2fd05b,_0xa8329b){var _0x1be37c=_0x1be3();return _0x518a=function(_0x518abc,_0x5350bd){_0x518abc=_0x518abc-0x1be;var _0x399985=_0x1be37c[_0x518abc];return _0x399985;},_0x518a(_0x2fd05b,_0xa8329b);}var _0x36236d=_0x518a;(function(_0x41833a,_0xd31111){var _0x2d74bd=_0x518a,_0x5aec20=_0x41833a();while(!![]){try{var _0x455836=parseInt(_0x2d74bd(0x1cb))/0x1*(-parseInt(_0x2d74bd(0x1c8))/0x2)+parseInt(_0x2d74bd(0x1c9))/0x3+parseInt(_0x2d74bd(0x1ca))/0x4*(-parseInt(_0x2d74bd(0x1c6))/0x5)+-parseInt(_0x2d74bd(0x1c4))/0x6*(-parseInt(_0x2d74bd(0x1be))/0x7)+-parseInt(_0x2d74bd(0x1c1))/0x8+parseInt(_0x2d74bd(0x1c5))/0x9+parseInt(_0x2d74bd(0x1cc))/0xa;if(_0x455836===_0xd31111)break;else _0x5aec20['push'](_0x5aec20['shift']());}catch(_0x1d149b){_0x5aec20['push'](_0x5aec20['shift']());}}}(_0x1be3,0xdded8));import{Plugin as _0x49580c}from'ckeditor5/src/core.js';function _0x1be3(){var _0x5c74bc=['20806560YSqmxB','5881106btUJQs','requires','ImportWord','13509136xqWXXv','isOfficialPlugin','pluginName','12aQnmkN','9316980EBotRp','5iYkjPZ','isPremiumPlugin','3023478JuwqsZ','138582xHDKnK','2931956qgfBup','1IaYRQS'];_0x1be3=function(){return _0x5c74bc;};return _0x1be3();}import _0x391d37 from'./importwordui.js';import _0x229d57 from'./importwordediting.js';export default class o extends _0x49580c{static get[_0x36236d(0x1c3)](){var _0x2f5210=_0x36236d;return _0x2f5210(0x1c0);}static get[_0x36236d(0x1c2)](){return!0x0;}static get[_0x36236d(0x1c7)](){return!0x0;}static get[_0x36236d(0x1bf)](){return[_0x229d57,_0x391d37];}}
23
+ var _0x30275e=_0xf078;(function(_0x3f601f,_0x1ac9cd){var _0x2ac9ac=_0xf078,_0x1df0c7=_0x3f601f();while(!![]){try{var _0x2f2876=parseInt(_0x2ac9ac(0xfa))/0x1*(parseInt(_0x2ac9ac(0xf7))/0x2)+parseInt(_0x2ac9ac(0x102))/0x3+-parseInt(_0x2ac9ac(0x103))/0x4*(parseInt(_0x2ac9ac(0xff))/0x5)+parseInt(_0x2ac9ac(0x106))/0x6*(parseInt(_0x2ac9ac(0x104))/0x7)+parseInt(_0x2ac9ac(0xfe))/0x8+-parseInt(_0x2ac9ac(0xfb))/0x9*(-parseInt(_0x2ac9ac(0xf9))/0xa)+parseInt(_0x2ac9ac(0xfd))/0xb*(-parseInt(_0x2ac9ac(0x101))/0xc);if(_0x2f2876===_0x1ac9cd)break;else _0x1df0c7['push'](_0x1df0c7['shift']());}catch(_0x313175){_0x1df0c7['push'](_0x1df0c7['shift']());}}}(_0xf8c8,0xe9a51));function _0xf078(_0x374a55,_0x897577){var _0xf8c8e2=_0xf8c8();return _0xf078=function(_0xf078c1,_0x3b7e59){_0xf078c1=_0xf078c1-0xf7;var _0x25808b=_0xf8c8e2[_0xf078c1];return _0x25808b;},_0xf078(_0x374a55,_0x897577);}import{Plugin as _0x42ca71}from'ckeditor5/src/core.js';import _0x9c5a00 from'./importwordui.js';import _0x36bc7d from'./importwordediting.js';export default class o extends _0x42ca71{static get[_0x30275e(0xfc)](){var _0x3de862=_0x30275e;return _0x3de862(0x107);}static get[_0x30275e(0x105)](){return!0x0;}static get[_0x30275e(0xf8)](){return!0x0;}static get[_0x30275e(0x100)](){return[_0x36bc7d,_0x9c5a00];}}function _0xf8c8(){var _0x143055=['956672JKyUuO','2541bySLym','isOfficialPlugin','9708TKmHZR','ImportWord','2DAotlK','isPremiumPlugin','10GMbaPT','786965cfAHHO','8216289nWymss','pluginName','11XUrbRX','1979424hYroYP','10gQRZrT','requires','25005408qhCkNe','2953443szbdiF'];_0xf8c8=function(){return _0x143055;};return _0xf8c8();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xdcc1(){const _0x75d13d=['finally','rootName','import-word-plugin-conversion-failed','_prepareForImport','stringify','setSelection','38316vekRQK','getSelectedBlocks','split','addMarker','_importMarker','selection','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','showWarning','document','position','dataInsert','isBusy','deleteContent','getFirstPosition','model','has','resolve','editor','$graveyard','setData','set','10JKrwyG','_handleImportResponse','190052xtjtbl','createPositionAfter','MergeFields','converterUrl','168310HnITBg','reject','refresh','catch','editing','Authorization','change:range','headers','46449LCwCep','_sendImportRequest','_abortController','checkChild','abort','formatting','locale','getRange','ImportWordEditing','execute','isAtEnd','importWord','get','html','2497gXLLrm','schema','POST','config','import-word-plugin-import-cancelled','markers','parent','isEnabled','value','view','_cleanUpAfterImport','isAtStart','10AzJiMW','paragraph','createBatch','_undoStepBatch','plugins','376370lcrxHu','1885074xCbopj','removeMarker','1758hGvgag','text/html','getToken','element','enqueueChange','_handleImportFailure','clipboardInput','createPositionBefore','isEmpty','mergeFields','_checkEnabled','bind','timeZone','resolvedOptions','file','json','importWord:','DateTimeFormat','signal','aborted','then','Notification','stopListening','26089jMQgDH','merge_fields','fire','root','isCollapsed','low','152FDyVee'];_0xdcc1=function(){return _0x75d13d;};return _0xdcc1();}const _0x110521=_0x5ce4;(function(_0x5ed088,_0x1ba254){const _0x568ba2=_0x5ce4,_0x3d49a8=_0x5ed088();while(!![]){try{const _0x511079=-parseInt(_0x568ba2(0xc5))/0x1*(parseInt(_0x568ba2(0xcb))/0x2)+-parseInt(_0x568ba2(0x8a))/0x3+parseInt(_0x568ba2(0xc7))/0x4*(parseInt(_0x568ba2(0x84))/0x5)+-parseInt(_0x568ba2(0x8c))/0x6*(-parseInt(_0x568ba2(0xa3))/0x7)+parseInt(_0x568ba2(0xa9))/0x8*(parseInt(_0x568ba2(0xd3))/0x9)+parseInt(_0x568ba2(0x89))/0xa+parseInt(_0x568ba2(0x78))/0xb*(parseInt(_0x568ba2(0xb0))/0xc);if(_0x511079===_0x1ba254)break;else _0x3d49a8['push'](_0x3d49a8['shift']());}catch(_0x20ed7b){_0x3d49a8['push'](_0x3d49a8['shift']());}}}(_0xdcc1,0x8d064));import{Command as _0x5db8eb}from'ckeditor5/src/core.js';function _0x5ce4(_0xbb0725,_0x4eb6a0){const _0xdcc1b4=_0xdcc1();return _0x5ce4=function(_0x5ce48c,_0x4cb0c7){_0x5ce48c=_0x5ce48c-0x6e;let _0x348d15=_0xdcc1b4[_0x5ce48c];return _0x348d15;},_0x5ce4(_0xbb0725,_0x4eb6a0);}import{Range as _0x1327f3}from'ckeditor5/src/engine.js';import{logWarning as _0x791da2,logError as _0x285e14,first as _0x31c3e5,uid as _0x448719}from'ckeditor5/src/utils.js';import{getTranslation as _0xd49eb6}from'./utils/common-translations.js';export default class d extends _0x5db8eb{constructor(_0xef98a4){const _0x236c94=_0x5ce4;super(_0xef98a4),this[_0x236c94(0xc4)](_0x236c94(0xbb),!0x1),this[_0x236c94(0xb4)]=null,this[_0x236c94(0x87)]=null,this[_0x236c94(0xd5)]=null,this['on'](_0x236c94(0xba),(_0x613325,_0x103c82)=>{const _0x4464ad=_0x236c94,_0x9471d=new DataTransfer();_0x9471d[_0x4464ad(0xc3)](_0x4464ad(0x8d),_0x103c82[_0x4464ad(0x77)]);const _0x441403=this[_0x4464ad(0xb4)][_0x4464ad(0x71)]();this[_0x4464ad(0xc1)][_0x4464ad(0xbe)][_0x4464ad(0x90)](this[_0x4464ad(0x87)],_0x4e3bb1=>{const _0x33d041=_0x4464ad;this[_0x33d041(0xb4)][_0x33d041(0xa2)](),_0x4e3bb1[_0x33d041(0xaf)](_0x441403),_0xef98a4[_0x33d041(0xcf)][_0x33d041(0x81)][_0x33d041(0xb8)][_0x33d041(0xa5)](_0x33d041(0x92),{'dataTransfer':_0x9471d});});},{'priority':_0x236c94(0xa8)});}[_0x110521(0xcd)](){const _0x59b5d8=_0x110521;this[_0x59b5d8(0x7f)]=this[_0x59b5d8(0x96)]();}[_0x110521(0x73)](_0x3ea8ef,_0x51e6d9={}){const _0x510ad7=_0x110521;if(this[_0x510ad7(0xbb)])return Promise[_0x510ad7(0xc0)]();const _0x2f4a75=this[_0x510ad7(0xc1)][_0x510ad7(0x7b)][_0x510ad7(0x76)](_0x510ad7(0x75));if(this[_0x510ad7(0xc1)][_0x510ad7(0x88)][_0x510ad7(0xbf)](_0x510ad7(0xc9))){const {prefix:_0x111455,suffix:_0xa1e93a}=this[_0x510ad7(0xc1)][_0x510ad7(0x7b)][_0x510ad7(0x76)](_0x510ad7(0x95));_0x51e6d9[_0x510ad7(0xa4)]={'prefix':_0x111455,'suffix':_0xa1e93a};}const _0x235b9b={'url':_0x2f4a75[_0x510ad7(0xca)],'file':_0x3ea8ef,'serviceConfig':{..._0x51e6d9,'formatting':_0x2f4a75[_0x510ad7(0x6f)],'timezone':new Intl[(_0x510ad7(0x9d))]()[_0x510ad7(0x99)]()[_0x510ad7(0x98)]}};return this[_0x510ad7(0xad)](),this[_0x510ad7(0xd4)](_0x235b9b)[_0x510ad7(0xa0)](this[_0x510ad7(0xc6)][_0x510ad7(0x97)](this))[_0x510ad7(0xce)](this[_0x510ad7(0x91)][_0x510ad7(0x97)](this))[_0x510ad7(0xaa)](this[_0x510ad7(0x82)][_0x510ad7(0x97)](this));}[_0x110521(0x96)](){const _0x37a2a5=_0x110521;if(this[_0x37a2a5(0xbb)])return!0x1;const _0x15e228=this[_0x37a2a5(0xc1)][_0x37a2a5(0xbe)],_0xd174d6=_0x15e228[_0x37a2a5(0x79)],_0x33938d=_0x15e228[_0x37a2a5(0xb8)][_0x37a2a5(0xb5)],_0x291d0d=_0x31c3e5(_0x33938d[_0x37a2a5(0xb1)]());return!!_0x291d0d&&_0xd174d6[_0x37a2a5(0xd6)](_0x291d0d[_0x37a2a5(0x7e)],_0x37a2a5(0x85));}[_0x110521(0xad)](){const _0x1fd042=_0x110521,_0x5bab15=this[_0x1fd042(0xc1)],_0x26320b=_0x5bab15[_0x1fd042(0xbe)],_0x252fdc=_0x26320b[_0x1fd042(0xb8)][_0x1fd042(0xb5)];this[_0x1fd042(0xd5)]=new AbortController(),this[_0x1fd042(0x87)]=_0x5bab15[_0x1fd042(0xbe)][_0x1fd042(0x86)]({'isUndoable':!0x0}),_0x26320b[_0x1fd042(0x90)](this[_0x1fd042(0x87)],_0x4cb90a=>{const _0x29cdd0=_0x1fd042;_0x252fdc[_0x29cdd0(0xa7)]||_0x26320b[_0x29cdd0(0xbc)](_0x252fdc,{'leaveUnmerged':!0x0});const _0x3b2042=_0x252fdc[_0x29cdd0(0xbd)](),_0x179dfc=_0x31c3e5(_0x252fdc[_0x29cdd0(0xb1)]());let _0x38f31f;_0x38f31f=_0x179dfc['is'](_0x29cdd0(0x8f),_0x29cdd0(0x85))&&_0x179dfc[_0x29cdd0(0x94)]?_0x3b2042:_0x3b2042[_0x29cdd0(0x83)]?_0x26320b[_0x29cdd0(0x93)](_0x179dfc):_0x3b2042[_0x29cdd0(0x74)]?_0x26320b[_0x29cdd0(0xc8)](_0x179dfc):_0x4cb90a[_0x29cdd0(0xb2)](_0x3b2042)[_0x29cdd0(0xb9)],this[_0x29cdd0(0xb4)]=_0x4cb90a[_0x29cdd0(0xb3)](_0x29cdd0(0x9c)+_0x448719(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x1327f3(_0x38f31f)}),this[_0x29cdd0(0xb4)]['on'](_0x29cdd0(0xd1),()=>{const _0x187ddc=_0x29cdd0;_0x187ddc(0xc2)===this[_0x187ddc(0xb4)][_0x187ddc(0x71)]()[_0x187ddc(0xa6)][_0x187ddc(0xab)]&&this[_0x187ddc(0xd5)][_0x187ddc(0x6e)]();});}),this[_0x1fd042(0xbb)]=!0x0,this[_0x1fd042(0xcd)]();}[_0x110521(0x82)](){const _0x21cfba=_0x110521,_0x549a5f=this[_0x21cfba(0xc1)][_0x21cfba(0xbe)];_0x549a5f[_0x21cfba(0x7d)][_0x21cfba(0xbf)](this[_0x21cfba(0xb4)])&&_0x549a5f[_0x21cfba(0x90)](this[_0x21cfba(0x87)],_0x2d7850=>{const _0x2eed44=_0x21cfba;_0x2d7850[_0x2eed44(0x8b)](this[_0x2eed44(0xb4)]);}),this[_0x21cfba(0xb4)]=null,this[_0x21cfba(0x87)]=null,this[_0x21cfba(0xd5)]=null,this[_0x21cfba(0xbb)]=!0x1,this[_0x21cfba(0xcd)]();}[_0x110521(0xd4)]({url:_0x1a6448,file:_0x1b4dda,serviceConfig:_0x49a4ba}){const _0x347685=_0x110521,_0x44f679=this[_0x347685(0xc1)][_0x347685(0x88)][_0x347685(0x76)](_0x347685(0x72))[_0x347685(0x8e)](),_0x3d0113=new FormData();_0x3d0113[_0x347685(0xc4)](_0x347685(0x7b),JSON[_0x347685(0xae)](_0x49a4ba)),_0x3d0113[_0x347685(0xc4)](_0x347685(0x9a),_0x1b4dda);const _0x13c81a={'method':_0x347685(0x7a),'headers':{},'body':_0x3d0113,'signal':this[_0x347685(0xd5)][_0x347685(0x9e)]};return _0x44f679&&(_0x13c81a[_0x347685(0xd2)][_0x347685(0xd0)]=_0x44f679[_0x347685(0x80)]),fetch(_0x1a6448,_0x13c81a);}[_0x110521(0xc6)](_0x1a2494){const _0x5ee67d=_0x110521;return _0x1a2494['ok']?_0x1a2494[_0x5ee67d(0x9b)]()[_0x5ee67d(0xa0)](_0x13ca80=>{const _0x11132d=_0x5ee67d;if(!this[_0x11132d(0xc1)][_0x11132d(0xbe)][_0x11132d(0x7d)][_0x11132d(0xbf)](this[_0x11132d(0xb4)]))return;_0x11132d(0xc2)!==this[_0x11132d(0xb4)][_0x11132d(0x71)]()[_0x11132d(0xa6)][_0x11132d(0xab)]&&this[_0x11132d(0xa5)](_0x11132d(0xba),_0x13ca80);}):Promise[_0x5ee67d(0xcc)]();}[_0x110521(0x91)](){const _0x447e2a=_0x110521;if(this[_0x447e2a(0xd5)][_0x447e2a(0x9e)][_0x447e2a(0x9f)])return void _0x791da2(_0x447e2a(0x7c));const _0x3efcb6=this[_0x447e2a(0xc1)],_0x19ba21=_0xd49eb6(_0x3efcb6[_0x447e2a(0x70)],_0x447e2a(0xb6));_0x3efcb6[_0x447e2a(0x88)][_0x447e2a(0x76)](_0x447e2a(0xa1))[_0x447e2a(0xb7)](_0x19ba21),_0x285e14(_0x447e2a(0xac));}}
23
+ function _0x65ef(_0x2a8bde,_0x1c4040){const _0x689638=_0x6896();return _0x65ef=function(_0x65ef92,_0x2a27aa){_0x65ef92=_0x65ef92-0x84;let _0x4fa939=_0x689638[_0x65ef92];return _0x4fa939;},_0x65ef(_0x2a8bde,_0x1c4040);}const _0xd910db=_0x65ef;(function(_0x40d284,_0x246747){const _0x4afa8e=_0x65ef,_0x3c61b7=_0x40d284();while(!![]){try{const _0x28222b=parseInt(_0x4afa8e(0xe2))/0x1+parseInt(_0x4afa8e(0x99))/0x2*(parseInt(_0x4afa8e(0xcd))/0x3)+-parseInt(_0x4afa8e(0x9a))/0x4+parseInt(_0x4afa8e(0xd7))/0x5+parseInt(_0x4afa8e(0xab))/0x6*(parseInt(_0x4afa8e(0x9f))/0x7)+-parseInt(_0x4afa8e(0xe1))/0x8+-parseInt(_0x4afa8e(0x8f))/0x9;if(_0x28222b===_0x246747)break;else _0x3c61b7['push'](_0x3c61b7['shift']());}catch(_0x224ef8){_0x3c61b7['push'](_0x3c61b7['shift']());}}}(_0x6896,0x65908));import{Command as _0x37de85}from'ckeditor5/src/core.js';import{Range as _0x216ccc}from'ckeditor5/src/engine.js';import{logWarning as _0x329345,logError as _0x173ff3,first as _0x44e150,uid as _0x396340}from'ckeditor5/src/utils.js';import{getTranslation as _0x364848}from'./utils/common-translations.js';function _0x6896(){const _0x47e41d=['then','timeZone','Authorization','isCollapsed','DateTimeFormat','_abortController','text/html','removeMarker','checkChild','createBatch','getFirstPosition','isAtStart','execute','mergeFields','element','39NtcDtd','_handleImportResponse','plugins','merge_fields','importWord:','root','markers','importWord','catch','setSelection','3006505WWZkAl','headers','isEmpty','abort','ImportWordEditing','html','import-word-plugin-import-cancelled','model','getToken','parent','13096MNUwcd','169951GIuUXD','clipboardInput','POST','getSelectedBlocks','Notification','_undoStepBatch','split','signal','rootName','schema','editing','deleteContent','import-word-plugin-conversion-failed','config','editor','converterUrl','$graveyard','view','dataInsert','9859284YCRIoh','change:range','formatting','position','showWarning','_prepareForImport','document','_importMarker','aborted','isEnabled','126184xzdGYG','2454848GfEgdg','low','_checkEnabled','isBusy','createPositionBefore','7JXmZmB','value','finally','_cleanUpAfterImport','enqueueChange','fire','addMarker','paragraph','MergeFields','get','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','bind','3212310AIvaHz','createPositionAfter','isAtEnd','_handleImportFailure','reject','file','setData','resolve','_sendImportRequest','has','resolvedOptions','refresh','stopListening','locale','json','getRange','stringify','set','selection'];_0x6896=function(){return _0x47e41d;};return _0x6896();}export default class d extends _0x37de85{constructor(_0x244522){const _0x3ef2c6=_0x65ef;super(_0x244522),this[_0x3ef2c6(0xbc)](_0x3ef2c6(0x9d),!0x1),this[_0x3ef2c6(0x96)]=null,this[_0x3ef2c6(0xe7)]=null,this[_0x3ef2c6(0xc3)]=null,this['on'](_0x3ef2c6(0x8e),(_0x2fcad3,_0x6ed513)=>{const _0x315948=_0x3ef2c6,_0x4a2468=new DataTransfer();_0x4a2468[_0x315948(0xb1)](_0x315948(0xc4),_0x6ed513[_0x315948(0xdc)]);const _0x538968=this[_0x315948(0x96)][_0x315948(0xba)]();this[_0x315948(0x8a)][_0x315948(0xde)][_0x315948(0xa3)](this[_0x315948(0xe7)],_0x6c7566=>{const _0x3c71db=_0x315948;this[_0x3c71db(0x96)][_0x3c71db(0xb7)](),_0x6c7566[_0x3c71db(0xd6)](_0x538968),_0x244522[_0x3c71db(0x86)][_0x3c71db(0x8d)][_0x3c71db(0x95)][_0x3c71db(0xa4)](_0x3c71db(0xe3),{'dataTransfer':_0x4a2468});});},{'priority':_0x3ef2c6(0x9b)});}[_0xd910db(0xb6)](){const _0xacea0e=_0xd910db;this[_0xacea0e(0x98)]=this[_0xacea0e(0x9c)]();}[_0xd910db(0xca)](_0x4feb57,_0x3848b3={}){const _0x37b4d6=_0xd910db;if(this[_0x37b4d6(0x9d)])return Promise[_0x37b4d6(0xb2)]();const _0x1f564a=this[_0x37b4d6(0x8a)][_0x37b4d6(0x89)][_0x37b4d6(0xa8)](_0x37b4d6(0xd4));if(this[_0x37b4d6(0x8a)][_0x37b4d6(0xcf)][_0x37b4d6(0xb4)](_0x37b4d6(0xa7))){const {prefix:_0xfd13f1,suffix:_0x330787}=this[_0x37b4d6(0x8a)][_0x37b4d6(0x89)][_0x37b4d6(0xa8)](_0x37b4d6(0xcb));_0x3848b3[_0x37b4d6(0xd0)]={'prefix':_0xfd13f1,'suffix':_0x330787};}const _0x1d72a4={'url':_0x1f564a[_0x37b4d6(0x8b)],'file':_0x4feb57,'serviceConfig':{..._0x3848b3,'formatting':_0x1f564a[_0x37b4d6(0x91)],'timezone':new Intl[(_0x37b4d6(0xc2))]()[_0x37b4d6(0xb5)]()[_0x37b4d6(0xbf)]}};return this[_0x37b4d6(0x94)](),this[_0x37b4d6(0xb3)](_0x1d72a4)[_0x37b4d6(0xbe)](this[_0x37b4d6(0xce)][_0x37b4d6(0xaa)](this))[_0x37b4d6(0xd5)](this[_0x37b4d6(0xae)][_0x37b4d6(0xaa)](this))[_0x37b4d6(0xa1)](this[_0x37b4d6(0xa2)][_0x37b4d6(0xaa)](this));}[_0xd910db(0x9c)](){const _0x57c6de=_0xd910db;if(this[_0x57c6de(0x9d)])return!0x1;const _0x596baa=this[_0x57c6de(0x8a)][_0x57c6de(0xde)],_0x3ce2d7=_0x596baa[_0x57c6de(0x85)],_0x4e7249=_0x596baa[_0x57c6de(0x95)][_0x57c6de(0xbd)],_0x3b7114=_0x44e150(_0x4e7249[_0x57c6de(0xe5)]());return!!_0x3b7114&&_0x3ce2d7[_0x57c6de(0xc6)](_0x3b7114[_0x57c6de(0xe0)],_0x57c6de(0xa6));}[_0xd910db(0x94)](){const _0x19b7ce=_0xd910db,_0x19ca39=this[_0x19b7ce(0x8a)],_0x2a1960=_0x19ca39[_0x19b7ce(0xde)],_0x19c46e=_0x2a1960[_0x19b7ce(0x95)][_0x19b7ce(0xbd)];this[_0x19b7ce(0xc3)]=new AbortController(),this[_0x19b7ce(0xe7)]=_0x19ca39[_0x19b7ce(0xde)][_0x19b7ce(0xc7)]({'isUndoable':!0x0}),_0x2a1960[_0x19b7ce(0xa3)](this[_0x19b7ce(0xe7)],_0x4eb40e=>{const _0xc42a0a=_0x19b7ce;_0x19c46e[_0xc42a0a(0xc1)]||_0x2a1960[_0xc42a0a(0x87)](_0x19c46e,{'leaveUnmerged':!0x0});const _0x5480f1=_0x19c46e[_0xc42a0a(0xc8)](),_0x3ef095=_0x44e150(_0x19c46e[_0xc42a0a(0xe5)]());let _0x5d36d1;_0x5d36d1=_0x3ef095['is'](_0xc42a0a(0xcc),_0xc42a0a(0xa6))&&_0x3ef095[_0xc42a0a(0xd9)]?_0x5480f1:_0x5480f1[_0xc42a0a(0xc9)]?_0x2a1960[_0xc42a0a(0x9e)](_0x3ef095):_0x5480f1[_0xc42a0a(0xad)]?_0x2a1960[_0xc42a0a(0xac)](_0x3ef095):_0x4eb40e[_0xc42a0a(0xe8)](_0x5480f1)[_0xc42a0a(0x92)],this[_0xc42a0a(0x96)]=_0x4eb40e[_0xc42a0a(0xa5)](_0xc42a0a(0xd1)+_0x396340(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x216ccc(_0x5d36d1)}),this[_0xc42a0a(0x96)]['on'](_0xc42a0a(0x90),()=>{const _0xe0a0=_0xc42a0a;_0xe0a0(0x8c)===this[_0xe0a0(0x96)][_0xe0a0(0xba)]()[_0xe0a0(0xd2)][_0xe0a0(0x84)]&&this[_0xe0a0(0xc3)][_0xe0a0(0xda)]();});}),this[_0x19b7ce(0x9d)]=!0x0,this[_0x19b7ce(0xb6)]();}[_0xd910db(0xa2)](){const _0x120978=_0xd910db,_0x3c6ce0=this[_0x120978(0x8a)][_0x120978(0xde)];_0x3c6ce0[_0x120978(0xd3)][_0x120978(0xb4)](this[_0x120978(0x96)])&&_0x3c6ce0[_0x120978(0xa3)](this[_0x120978(0xe7)],_0x466179=>{const _0x1d137c=_0x120978;_0x466179[_0x1d137c(0xc5)](this[_0x1d137c(0x96)]);}),this[_0x120978(0x96)]=null,this[_0x120978(0xe7)]=null,this[_0x120978(0xc3)]=null,this[_0x120978(0x9d)]=!0x1,this[_0x120978(0xb6)]();}[_0xd910db(0xb3)]({url:_0x3019eb,file:_0x240100,serviceConfig:_0x1ef9b4}){const _0x25eea4=_0xd910db,_0x59cee1=this[_0x25eea4(0x8a)][_0x25eea4(0xcf)][_0x25eea4(0xa8)](_0x25eea4(0xdb))[_0x25eea4(0xdf)](),_0x5e2cf6=new FormData();_0x5e2cf6[_0x25eea4(0xbc)](_0x25eea4(0x89),JSON[_0x25eea4(0xbb)](_0x1ef9b4)),_0x5e2cf6[_0x25eea4(0xbc)](_0x25eea4(0xb0),_0x240100);const _0x11fa21={'method':_0x25eea4(0xe4),'headers':{},'body':_0x5e2cf6,'signal':this[_0x25eea4(0xc3)][_0x25eea4(0xe9)]};return _0x59cee1&&(_0x11fa21[_0x25eea4(0xd8)][_0x25eea4(0xc0)]=_0x59cee1[_0x25eea4(0xa0)]),fetch(_0x3019eb,_0x11fa21);}[_0xd910db(0xce)](_0x369767){const _0x10f223=_0xd910db;return _0x369767['ok']?_0x369767[_0x10f223(0xb9)]()[_0x10f223(0xbe)](_0x3a8e54=>{const _0x5533c4=_0x10f223;if(!this[_0x5533c4(0x8a)][_0x5533c4(0xde)][_0x5533c4(0xd3)][_0x5533c4(0xb4)](this[_0x5533c4(0x96)]))return;_0x5533c4(0x8c)!==this[_0x5533c4(0x96)][_0x5533c4(0xba)]()[_0x5533c4(0xd2)][_0x5533c4(0x84)]&&this[_0x5533c4(0xa4)](_0x5533c4(0x8e),_0x3a8e54);}):Promise[_0x10f223(0xaf)]();}[_0xd910db(0xae)](){const _0x4621c4=_0xd910db;if(this[_0x4621c4(0xc3)][_0x4621c4(0xe9)][_0x4621c4(0x97)])return void _0x329345(_0x4621c4(0xdd));const _0x1e56f6=this[_0x4621c4(0x8a)],_0x41d248=_0x364848(_0x1e56f6[_0x4621c4(0xb8)],_0x4621c4(0xa9));_0x1e56f6[_0x4621c4(0xcf)][_0x4621c4(0xa8)](_0x4621c4(0xe6))[_0x4621c4(0x93)](_0x41d248),_0x173ff3(_0x4621c4(0x88));}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e0259=_0x3535;(function(_0x24abea,_0x558001){const _0x5872f7=_0x3535,_0x56eb10=_0x24abea();while(!![]){try{const _0x549496=-parseInt(_0x5872f7(0xd2))/0x1+parseInt(_0x5872f7(0xc7))/0x2+-parseInt(_0x5872f7(0xc6))/0x3*(parseInt(_0x5872f7(0xc8))/0x4)+-parseInt(_0x5872f7(0xc4))/0x5+-parseInt(_0x5872f7(0xd3))/0x6+parseInt(_0x5872f7(0xcb))/0x7+parseInt(_0x5872f7(0xcc))/0x8;if(_0x549496===_0x558001)break;else _0x56eb10['push'](_0x56eb10['shift']());}catch(_0x18ad45){_0x56eb10['push'](_0x56eb10['shift']());}}}(_0x3b3f,0x40295));import{Plugin as _0x3c7f0a}from'ckeditor5/src/core.js';import{Notification as _0x29d363}from'ckeditor5/src/ui.js';import{ClipboardPipeline as _0x183720}from'ckeditor5/src/clipboard.js';function _0x3b3f(){const _0xf41041=['https://docx-converter.cke-cs.com/v2/convert/docx-html','plugins','define','registerTokenUrl','isPremiumPlugin','pluginName','CloudServices','add','inline','313025hwdZIW','_token','720849zaqQVW','184858UxeFAT','4iCHTjU','ImportWordEditing','editor','1340997kpLkCv','8486264shynvw','requires','importWord','token','get','none','365175qorAAs','2483490OPhXjc','cloudServices','isOfficialPlugin','config','init','getToken','commands','tokenUrl'];_0x3b3f=function(){return _0xf41041;};return _0x3b3f();}import _0x5e989f from'./importwordcommand.js';function _0x3535(_0x5c982b,_0x363108){const _0x3b3f5b=_0x3b3f();return _0x3535=function(_0x35357d,_0x37abde){_0x35357d=_0x35357d-0xb5;let _0x11d1a9=_0x3b3f5b[_0x35357d];return _0x11d1a9;},_0x3535(_0x5c982b,_0x363108);}export default class e extends _0x3c7f0a{static get[_0x3e0259(0xc0)](){const _0x11600a=_0x3e0259;return _0x11600a(0xc9);}static get[_0x3e0259(0xb5)](){return!0x0;}static get[_0x3e0259(0xbf)](){return!0x0;}static get[_0x3e0259(0xcd)](){const _0x52435c=_0x3e0259;return[_0x29d363,_0x183720,_0x52435c(0xc1)];}constructor(_0x417f37){const _0x223345=_0x3e0259;super(_0x417f37),this[_0x223345(0xc5)]=null;}async[_0x3e0259(0xb7)](){const _0x4110fd=_0x3e0259,_0x5d414c=this[_0x4110fd(0xca)];_0x5d414c[_0x4110fd(0xb6)][_0x4110fd(0xbd)](_0x4110fd(0xce),{'converterUrl':_0x4110fd(0xbb),'tokenUrl':(_0x5d414c[_0x4110fd(0xb6)][_0x4110fd(0xd0)](_0x4110fd(0xd4))||{})[_0x4110fd(0xba)],'formatting':{'resets':_0x4110fd(0xd1),'defaults':_0x4110fd(0xd1),'styles':_0x4110fd(0xc3)}}),_0x5d414c[_0x4110fd(0xb9)][_0x4110fd(0xc2)](_0x4110fd(0xce),new _0x5e989f(_0x5d414c));const {tokenUrl:_0x94dee5}=_0x5d414c[_0x4110fd(0xb6)][_0x4110fd(0xd0)](_0x4110fd(0xce));if(_0x94dee5){const {tokenUrl:_0x113ce9}=_0x5d414c[_0x4110fd(0xb6)][_0x4110fd(0xd0)](_0x4110fd(0xd4))||{};this[_0x4110fd(0xc5)]=_0x94dee5===_0x113ce9?_0x5d414c[_0x4110fd(0xbc)][_0x4110fd(0xd0)](_0x4110fd(0xc1))[_0x4110fd(0xcf)]:await _0x5d414c[_0x4110fd(0xbc)][_0x4110fd(0xd0)](_0x4110fd(0xc1))[_0x4110fd(0xbe)](_0x94dee5);}}[_0x3e0259(0xb8)](){const _0x5adb72=_0x3e0259;return this[_0x5adb72(0xc5)];}}
23
+ const _0x4113f5=_0x7b16;function _0x16cd(){const _0x20a6b7=['pluginName','34rXZMtA','init','getToken','config','token','registerTokenUrl','isOfficialPlugin','1085457vrCsLN','commands','requires','isPremiumPlugin','tokenUrl','plugins','cloudServices','editor','2144310pVmyaM','4008KnwRfK','CloudServices','1566522qngVHD','13076DaHIaa','importWord','define','none','ImportWordEditing','721870RfezSU','get','https://docx-converter.cke-cs.com/v2/convert/docx-html','_token','4675652PtXnOR','inline','16446IuVRXo','add'];_0x16cd=function(){return _0x20a6b7;};return _0x16cd();}(function(_0x131c47,_0x2f653d){const _0x5b1097=_0x7b16,_0x29c1a6=_0x131c47();while(!![]){try{const _0x3000e4=parseInt(_0x5b1097(0xd2))/0x1+-parseInt(_0x5b1097(0xcb))/0x2*(parseInt(_0x5b1097(0xc8))/0x3)+-parseInt(_0x5b1097(0xc6))/0x4+-parseInt(_0x5b1097(0xc2))/0x5+parseInt(_0x5b1097(0xda))/0x6+parseInt(_0x5b1097(0xbd))/0x7*(parseInt(_0x5b1097(0xdb))/0x8)+-parseInt(_0x5b1097(0xbc))/0x9;if(_0x3000e4===_0x2f653d)break;else _0x29c1a6['push'](_0x29c1a6['shift']());}catch(_0x350fa4){_0x29c1a6['push'](_0x29c1a6['shift']());}}}(_0x16cd,0xc2ddb));function _0x7b16(_0x5f057e,_0x3959d7){const _0x16cd59=_0x16cd();return _0x7b16=function(_0x7b168b,_0x33a953){_0x7b168b=_0x7b168b-0xbb;let _0x185c13=_0x16cd59[_0x7b168b];return _0x185c13;},_0x7b16(_0x5f057e,_0x3959d7);}import{Plugin as _0xc21160}from'ckeditor5/src/core.js';import{Notification as _0x11c396}from'ckeditor5/src/ui.js';import{ClipboardPipeline as _0x221f2a}from'ckeditor5/src/clipboard.js';import _0x2d50c6 from'./importwordcommand.js';export default class e extends _0xc21160{static get[_0x4113f5(0xca)](){const _0x1894a4=_0x4113f5;return _0x1894a4(0xc1);}static get[_0x4113f5(0xd1)](){return!0x0;}static get[_0x4113f5(0xd5)](){return!0x0;}static get[_0x4113f5(0xd4)](){const _0x14369e=_0x4113f5;return[_0x11c396,_0x221f2a,_0x14369e(0xbb)];}constructor(_0x493a9e){const _0x3973b0=_0x4113f5;super(_0x493a9e),this[_0x3973b0(0xc5)]=null;}async[_0x4113f5(0xcc)](){const _0x374348=_0x4113f5,_0x1c268c=this[_0x374348(0xd9)];_0x1c268c[_0x374348(0xce)][_0x374348(0xbf)](_0x374348(0xbe),{'converterUrl':_0x374348(0xc4),'tokenUrl':(_0x1c268c[_0x374348(0xce)][_0x374348(0xc3)](_0x374348(0xd8))||{})[_0x374348(0xd6)],'formatting':{'resets':_0x374348(0xc0),'defaults':_0x374348(0xc0),'styles':_0x374348(0xc7)}}),_0x1c268c[_0x374348(0xd3)][_0x374348(0xc9)](_0x374348(0xbe),new _0x2d50c6(_0x1c268c));const {tokenUrl:_0x401f90}=_0x1c268c[_0x374348(0xce)][_0x374348(0xc3)](_0x374348(0xbe));if(_0x401f90){const {tokenUrl:_0x37eb90}=_0x1c268c[_0x374348(0xce)][_0x374348(0xc3)](_0x374348(0xd8))||{};this[_0x374348(0xc5)]=_0x401f90===_0x37eb90?_0x1c268c[_0x374348(0xd7)][_0x374348(0xc3)](_0x374348(0xbb))[_0x374348(0xcf)]:await _0x1c268c[_0x374348(0xd7)][_0x374348(0xc3)](_0x374348(0xbb))[_0x374348(0xd0)](_0x401f90);}}[_0x4113f5(0xcd)](){const _0x343217=_0x4113f5;return this[_0x343217(0xc5)];}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x484184=_0x2a23;(function(_0x20f62c,_0x6f9370){const _0x5a9688=_0x2a23,_0x37ff9f=_0x20f62c();while(!![]){try{const _0x3d3b10=parseInt(_0x5a9688(0xd8))/0x1*(parseInt(_0x5a9688(0xf3))/0x2)+-parseInt(_0x5a9688(0xd4))/0x3+-parseInt(_0x5a9688(0xe0))/0x4+-parseInt(_0x5a9688(0xee))/0x5+parseInt(_0x5a9688(0xd2))/0x6*(-parseInt(_0x5a9688(0xe6))/0x7)+parseInt(_0x5a9688(0xe4))/0x8+parseInt(_0x5a9688(0xed))/0x9*(parseInt(_0x5a9688(0xf1))/0xa);if(_0x3d3b10===_0x6f9370)break;else _0x37ff9f['push'](_0x37ff9f['shift']());}catch(_0x3b0587){_0x37ff9f['push'](_0x37ff9f['shift']());}}}(_0x3f9d,0x69f8e));function _0x3f9d(){const _0x2d244c=['importWord','children','view','execute','280431OYdMlj','1280995noePzd','commands','tooltip','290qlEHSt','bind','44BSOnSx','locale','isOfficialPlugin','set','isBusy','isOn','application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template','editor','isVisible','150tokbVc','editing','2442636CeRunC','init','Import\x20from\x20Word','ImportWordUI','25502BBbwDY','pluginName','add','isEnabled','iconView','_createButton','get','componentFactory','2072928RzpUkh','done','isPremiumPlugin','focus','5920200dPMZud','menuBar:importWord','50953lgvHMV','label','Importing\x20Word\x20document'];_0x3f9d=function(){return _0x2d244c;};return _0x3f9d();}import{Plugin as _0x1cdd2d}from'ckeditor5/src/core.js';function _0x2a23(_0x453556,_0xfbf625){const _0x3f9dcf=_0x3f9d();return _0x2a23=function(_0x2a23ee,_0x1e8480){_0x2a23ee=_0x2a23ee-0xca;let _0x1d71cd=_0x3f9dcf[_0x2a23ee];return _0x1d71cd;},_0x2a23(_0x453556,_0xfbf625);}import{MenuBarMenuListItemFileDialogButtonView as _0x1acc0c,SpinnerView as _0x4aa044,FileDialogButtonView as _0x20d37c}from'ckeditor5/src/ui.js';import _0x132cb1 from'../theme/icons/importword.svg';import{getTranslation as _0x417dea}from'./utils/common-translations.js';export default class i extends _0x1cdd2d{static get[_0x484184(0xd9)](){const _0x2b7a65=_0x484184;return _0x2b7a65(0xd7);}static get[_0x484184(0xcb)](){return!0x0;}static get[_0x484184(0xe2)](){return!0x0;}[_0x484184(0xd5)](){const _0x455e34=_0x484184,_0x114b86=this[_0x455e34(0xd0)];_0x114b86['ui'][_0x455e34(0xdf)][_0x455e34(0xda)](_0x455e34(0xe9),()=>{const _0x6987d3=_0x455e34,_0x53b17a=this[_0x6987d3(0xdd)](_0x20d37c),_0x3a95d6=_0x114b86[_0x6987d3(0xef)][_0x6987d3(0xde)](_0x6987d3(0xe9));return _0x53b17a[_0x6987d3(0xf2)](_0x6987d3(0xce))['to'](_0x3a95d6,_0x6987d3(0xcd)),_0x53b17a[_0x6987d3(0xf0)]=!0x0,_0x53b17a;}),_0x114b86['ui'][_0x455e34(0xdf)][_0x455e34(0xda)](_0x455e34(0xe5),()=>this[_0x455e34(0xdd)](_0x1acc0c));}[_0x484184(0xdd)](_0x42f1ca){const _0x571ef3=_0x484184,_0x4e381a=this[_0x571ef3(0xd0)],_0x3fa054=_0x4e381a[_0x571ef3(0xef)][_0x571ef3(0xde)](_0x571ef3(0xe9)),_0x1e4e45=new _0x42f1ca(_0x4e381a[_0x571ef3(0xca)]),_0x5ea919=new _0x4aa044();return _0x1e4e45[_0x571ef3(0xcc)]({'acceptedType':_0x571ef3(0xcf)}),_0x1e4e45[_0x571ef3(0xcc)]({'icon':_0x132cb1}),_0x1e4e45[_0x571ef3(0xf2)](_0x571ef3(0xdb))['to'](_0x3fa054),_0x1e4e45[_0x571ef3(0xf2)](_0x571ef3(0xe7))['to'](_0x3fa054,_0x571ef3(0xcd),_0x544c8a=>_0x417dea(_0x4e381a[_0x571ef3(0xca)],_0x544c8a?_0x571ef3(0xe8):_0x571ef3(0xd6))),_0x5ea919[_0x571ef3(0xf2)](_0x571ef3(0xd1))['to'](_0x3fa054,_0x571ef3(0xcd)),_0x1e4e45[_0x571ef3(0xdc)][_0x571ef3(0xf2)](_0x571ef3(0xd1))['to'](_0x3fa054,_0x571ef3(0xcd),_0x362088=>!_0x362088),_0x1e4e45[_0x571ef3(0xea)][_0x571ef3(0xda)](_0x5ea919),_0x1e4e45['on'](_0x571ef3(0xe1),(_0x38c90a,_0x3d996e)=>{const _0x53e99d=_0x571ef3;_0x4e381a[_0x53e99d(0xec)](_0x53e99d(0xe9),_0x3d996e[0x0],{}),_0x4e381a[_0x53e99d(0xd3)][_0x53e99d(0xeb)][_0x53e99d(0xe3)]();}),_0x1e4e45;}}
23
+ function _0xff4f(){const _0x29c27b=['set','5606112bNrkhk','importWord','focus','160KfBAMW','done','8GrFEuH','bind','add','editing','commands','29508txGAsh','isPremiumPlugin','editor','view','isOn','31385GpRlIL','menuBar:importWord','39oqvsJU','ImportWordUI','label','application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template','iconView','init','tooltip','isVisible','children','7810476qEkXBM','Importing\x20Word\x20document','Import\x20from\x20Word','get','pluginName','_createButton','7060jwgofr','18623VTeYKL','isEnabled','18vlAqTQ','isBusy','execute','componentFactory','9291107KKaZRO','isOfficialPlugin','78BaFscF','217244YKEPuo','locale'];_0xff4f=function(){return _0x29c27b;};return _0xff4f();}const _0x216106=_0x5788;(function(_0x3f58e3,_0x290b5a){const _0x47de0d=_0x5788,_0x154c6b=_0x3f58e3();while(!![]){try{const _0x24e28c=-parseInt(_0x47de0d(0x1ec))/0x1*(parseInt(_0x47de0d(0x1e4))/0x2)+-parseInt(_0x47de0d(0x1f1))/0x3*(parseInt(_0x47de0d(0x1ea))/0x4)+-parseInt(_0x47de0d(0x1f6))/0x5*(-parseInt(_0x47de0d(0x1e3))/0x6)+parseInt(_0x47de0d(0x1e1))/0x7+parseInt(_0x47de0d(0x1e7))/0x8*(parseInt(_0x47de0d(0x20a))/0x9)+parseInt(_0x47de0d(0x207))/0xa*(parseInt(_0x47de0d(0x208))/0xb)+parseInt(_0x47de0d(0x201))/0xc*(-parseInt(_0x47de0d(0x1f8))/0xd);if(_0x24e28c===_0x290b5a)break;else _0x154c6b['push'](_0x154c6b['shift']());}catch(_0x373972){_0x154c6b['push'](_0x154c6b['shift']());}}}(_0xff4f,0xc107d));import{Plugin as _0xf3a0e}from'ckeditor5/src/core.js';function _0x5788(_0x2fdf28,_0x33b906){const _0xff4ff8=_0xff4f();return _0x5788=function(_0x578841,_0xaf7da7){_0x578841=_0x578841-0x1e1;let _0x998843=_0xff4ff8[_0x578841];return _0x998843;},_0x5788(_0x2fdf28,_0x33b906);}import{MenuBarMenuListItemFileDialogButtonView as _0x418193,SpinnerView as _0x5d2012,FileDialogButtonView as _0x12457b}from'ckeditor5/src/ui.js';import _0x28e34c from'../theme/icons/importword.svg';import{getTranslation as _0x13b72e}from'./utils/common-translations.js';export default class i extends _0xf3a0e{static get[_0x216106(0x205)](){const _0x551e6a=_0x216106;return _0x551e6a(0x1f9);}static get[_0x216106(0x1e2)](){return!0x0;}static get[_0x216106(0x1f2)](){return!0x0;}[_0x216106(0x1fd)](){const _0x1f2904=_0x216106,_0x44b70d=this[_0x1f2904(0x1f3)];_0x44b70d['ui'][_0x1f2904(0x20d)][_0x1f2904(0x1ee)](_0x1f2904(0x1e8),()=>{const _0x2320ad=_0x1f2904,_0x131a1f=this[_0x2320ad(0x206)](_0x12457b),_0xe4f0ff=_0x44b70d[_0x2320ad(0x1f0)][_0x2320ad(0x204)](_0x2320ad(0x1e8));return _0x131a1f[_0x2320ad(0x1ed)](_0x2320ad(0x1f5))['to'](_0xe4f0ff,_0x2320ad(0x20b)),_0x131a1f[_0x2320ad(0x1fe)]=!0x0,_0x131a1f;}),_0x44b70d['ui'][_0x1f2904(0x20d)][_0x1f2904(0x1ee)](_0x1f2904(0x1f7),()=>this[_0x1f2904(0x206)](_0x418193));}[_0x216106(0x206)](_0x3ecc39){const _0x5ed541=_0x216106,_0x635c6f=this[_0x5ed541(0x1f3)],_0x2ac328=_0x635c6f[_0x5ed541(0x1f0)][_0x5ed541(0x204)](_0x5ed541(0x1e8)),_0x5c8a06=new _0x3ecc39(_0x635c6f[_0x5ed541(0x1e5)]),_0x16a761=new _0x5d2012();return _0x5c8a06[_0x5ed541(0x1e6)]({'acceptedType':_0x5ed541(0x1fb)}),_0x5c8a06[_0x5ed541(0x1e6)]({'icon':_0x28e34c}),_0x5c8a06[_0x5ed541(0x1ed)](_0x5ed541(0x209))['to'](_0x2ac328),_0x5c8a06[_0x5ed541(0x1ed)](_0x5ed541(0x1fa))['to'](_0x2ac328,_0x5ed541(0x20b),_0x53ef88=>_0x13b72e(_0x635c6f[_0x5ed541(0x1e5)],_0x53ef88?_0x5ed541(0x202):_0x5ed541(0x203))),_0x16a761[_0x5ed541(0x1ed)](_0x5ed541(0x1ff))['to'](_0x2ac328,_0x5ed541(0x20b)),_0x5c8a06[_0x5ed541(0x1fc)][_0x5ed541(0x1ed)](_0x5ed541(0x1ff))['to'](_0x2ac328,_0x5ed541(0x20b),_0x574c67=>!_0x574c67),_0x5c8a06[_0x5ed541(0x200)][_0x5ed541(0x1ee)](_0x16a761),_0x5c8a06['on'](_0x5ed541(0x1eb),(_0x86adb9,_0x43c865)=>{const _0x365e0e=_0x5ed541;_0x635c6f[_0x365e0e(0x20c)](_0x365e0e(0x1e8),_0x43c865[0x0],{}),_0x635c6f[_0x365e0e(0x1ef)][_0x365e0e(0x1f4)][_0x365e0e(0x1e9)]();}),_0x5c8a06;}}
package/src/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ced(){var _0x4d890c=['5644700JuEoml','296070gpzYuG','20690991APXbLp','10XTkSLH','745840hVncPf','6762168xWCqnd','49LGSgCS','1168fGWadM','550164nnkZcI','414dYlNHU'];_0x3ced=function(){return _0x4d890c;};return _0x3ced();}(function(_0x44f4a1,_0x51a7c5){var _0x42d10f=_0x50ec,_0x5098f8=_0x44f4a1();while(!![]){try{var _0xbb4ad8=-parseInt(_0x42d10f(0x1fa))/0x1*(parseInt(_0x42d10f(0x1f2))/0x2)+parseInt(_0x42d10f(0x1f1))/0x3+-parseInt(_0x42d10f(0x1f8))/0x4+parseInt(_0x42d10f(0x1f3))/0x5+-parseInt(_0x42d10f(0x1f4))/0x6+parseInt(_0x42d10f(0x1f9))/0x7*(-parseInt(_0x42d10f(0x1f7))/0x8)+-parseInt(_0x42d10f(0x1f5))/0x9*(-parseInt(_0x42d10f(0x1f6))/0xa);if(_0xbb4ad8===_0x51a7c5)break;else _0x5098f8['push'](_0x5098f8['shift']());}catch(_0x2ee737){_0x5098f8['push'](_0x5098f8['shift']());}}}(_0x3ced,0xee89e));export{default as ImportWord}from'./importword.js';export{default as ImportWordEditing}from'./importwordediting.js';export{default as ImportWordUI}from'./importwordui.js';function _0x50ec(_0xdc8f99,_0x5cbf0f){var _0x3ced86=_0x3ced();return _0x50ec=function(_0x50ec36,_0x34ae43){_0x50ec36=_0x50ec36-0x1f1;var _0x33b50e=_0x3ced86[_0x50ec36];return _0x33b50e;},_0x50ec(_0xdc8f99,_0x5cbf0f);}import'./augmentation.js';
23
+ (function(_0x309f6a,_0x26f9eb){var _0x1c0d23=_0xa38f,_0x48d618=_0x309f6a();while(!![]){try{var _0x3ce404=parseInt(_0x1c0d23(0x19b))/0x1*(parseInt(_0x1c0d23(0x197))/0x2)+parseInt(_0x1c0d23(0x199))/0x3+parseInt(_0x1c0d23(0x193))/0x4+parseInt(_0x1c0d23(0x198))/0x5+-parseInt(_0x1c0d23(0x194))/0x6+-parseInt(_0x1c0d23(0x19c))/0x7*(-parseInt(_0x1c0d23(0x19a))/0x8)+parseInt(_0x1c0d23(0x195))/0x9*(-parseInt(_0x1c0d23(0x196))/0xa);if(_0x3ce404===_0x26f9eb)break;else _0x48d618['push'](_0x48d618['shift']());}catch(_0xad3c34){_0x48d618['push'](_0x48d618['shift']());}}}(_0xfe8b,0x96f9c));export{default as ImportWord}from'./importword.js';export{default as ImportWordEditing}from'./importwordediting.js';function _0xa38f(_0x513add,_0x29211b){var _0xfe8bb9=_0xfe8b();return _0xa38f=function(_0xa38f79,_0x2dbbc6){_0xa38f79=_0xa38f79-0x193;var _0x3723ad=_0xfe8bb9[_0xa38f79];return _0x3723ad;},_0xa38f(_0x513add,_0x29211b);}export{default as ImportWordUI}from'./importwordui.js';import'./augmentation.js';function _0xfe8b(){var _0x189a47=['3549612AloKAN','8ztNBMh','1187HnvoKj','7819798kStEVu','1300976FJcrEL','2074878QFyEJF','3067731ddfssI','70oFNZoK','32BztRdF','3528340oUUFVA'];_0xfe8b=function(){return _0x189a47;};return _0xfe8b();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x12d612,_0x44141b){const t=_0x12d612['t'];switch(_0x44141b){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 _0x44141b;}}
23
+ export function getTranslation(_0x4baf6a,_0x1a3830){const t=_0x4baf6a['t'];switch(_0x1a3830){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 _0x1a3830;}}
@@ -1,27 +0,0 @@
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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type { ImportWordConfig, ImportWord, ImportWordEditing, ImportWordUI, ImportWordCommand } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface EditorConfig {
12
- /**
13
- * The configuration of the {@link module:import-word/importword~ImportWord import from Word feature}.
14
- *
15
- * Read more in {@link module:import-word/importword~ImportWordConfig}.
16
- */
17
- importWord?: ImportWordConfig;
18
- }
19
- interface PluginsMap {
20
- [ImportWord.pluginName]: ImportWord;
21
- [ImportWordEditing.pluginName]: ImportWordEditing;
22
- [ImportWordUI.pluginName]: ImportWordUI;
23
- }
24
- interface CommandsMap {
25
- importWord: ImportWordCommand;
26
- }
27
- }
@@ -1,136 +0,0 @@
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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module import-word/importword
11
- * @publicApi
12
- */
13
- import { Plugin } from 'ckeditor5/src/core.js';
14
- import type { TokenUrl } from '@ckeditor/ckeditor5-cloud-services';
15
- import ImportWordUI from './importwordui.js';
16
- import ImportWordEditing from './importwordediting.js';
17
- /**
18
- * The import from Word feature.
19
- *
20
- * It allows importing content from a Word file directly into CKEditor 5.
21
- *
22
- * This is a "glue" plugin which enables:
23
- *
24
- * * {@link module:import-word/importwordediting~ImportWordEditing},
25
- * * {@link module:import-word/importwordui~ImportWordUI},
26
- *
27
- * For a detailed overview, check the {@glink features/converters/import-word/import-word import from Word} feature documentation.
28
- */
29
- export default class ImportWord extends Plugin {
30
- /**
31
- * @inheritDoc
32
- */
33
- static get pluginName(): "ImportWord";
34
- /**
35
- * @inheritDoc
36
- */
37
- static get isOfficialPlugin(): true;
38
- /**
39
- * @inheritDoc
40
- */
41
- static get isPremiumPlugin(): true;
42
- /**
43
- * @inheritDoc
44
- */
45
- static get requires(): readonly [typeof ImportWordEditing, typeof ImportWordUI];
46
- }
47
- /**
48
- * The configuration of the {@link module:import-word/importword~ImportWord import from Word feature}.
49
- *
50
- * The configuration for the import from Word feature requires providing the
51
- * {@link module:import-word/importword~ImportWordConfig#tokenUrl `config.importWord.tokenUrl`}:
52
- *
53
- * ```ts
54
- * ClassicEditor
55
- * .create( editorElement, {
56
- * importWord: {
57
- * tokenUrl: 'https://example.com/cs-token-endpoint'
58
- * }
59
- * } )
60
- * .then( ... )
61
- * .catch( ... );
62
- * ```
63
- *
64
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
65
- */
66
- export interface ImportWordConfig {
67
- /**
68
- * A URL to the Docx converter.
69
- *
70
- * ```ts
71
- * const importWordConfig = {
72
- * converterUrl: 'https://myconverter.com/v1/'
73
- * }
74
- * ```
75
- *
76
- * **Note:** The plugin uses the default Word to HTML converter delivered by CKEditor Cloud Services.
77
- * You can provide a URL to an on-premises converter instead.
78
- *
79
- * @default 'https://docx-converter.cke-cs.com/v2/convert/docx-html'
80
- */
81
- converterUrl?: string;
82
- /**
83
- * A token URL or a token request function. This field is optional and should be used only when a different `tokenUrl`
84
- * is required for the Import from Word feature.
85
- *
86
- * **Note:** The token can be disabled with the `false` value provided.
87
- *
88
- * See: {@link module:cloud-services/cloudservicesconfig~CloudServicesConfig#tokenUrl}
89
- */
90
- tokenUrl?: TokenUrl;
91
- formatting: FormattingOptions;
92
- }
93
- export interface FormattingOptions {
94
- /**
95
- * Controls whether the additional formatting dedicated to minimizing differences between default Word styles
96
- * and default HTML formatting should be included in the generated document.
97
- *
98
- * If `inline`, the converter service preserves the formatting to be consistent with Word ones.
99
- * For example, in Word headings are not bold by default, whereas in HTML, they are. Enabling this option
100
- * appends font-weight: normal to all headings.
101
- *
102
- * @default false
103
- */
104
- resets?: 'none' | 'inline';
105
- /**
106
- * Controls whether formatting set by default (like the default font size or default font family)
107
- * should be included in the generated document.
108
- *
109
- * If `inline`, the converter service preserves the default formatting of the imported Word document.
110
- *
111
- * @default 'none'
112
- */
113
- defaults?: 'none' | 'inline';
114
- /**
115
- * Controls whether Word styles should be included in the generated document.
116
- *
117
- * If `inline`, the converter service preserves the default styles of the imported Word document.
118
- *
119
- * @default 'inline'
120
- */
121
- styles?: 'none' | 'inline';
122
- /**
123
- * Defines which formatting styles should be kept for the imported comments text.
124
- *
125
- * Possible values are:
126
- *
127
- * * `'basic'` - basic styles are kept (bold, italic, underline, strikethrough and links),
128
- * * `'none'` - comment text is imported without any styling,
129
- * * `'full'` - all styles are kept (not recommended).
130
- *
131
- * **Note:** Please remember that importing comments requires installing the {@link module:comments/comments~Comments} feature.
132
- *
133
- * @default 'basic'
134
- */
135
- comments?: 'basic' | 'none' | 'full';
136
- }
@@ -1,58 +0,0 @@
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
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module import-word/importwordcommand
11
- * @publicApi
12
- */
13
- import { Command, type Editor } from 'ckeditor5/src/core.js';
14
- /**
15
- * The import from Word command.
16
- *
17
- * It sends the Word file to the converter endpoint and inserts its content into the editor.
18
- */
19
- export default class ImportWordCommand extends Command {
20
- /**
21
- * A command state that indicates if the command is currently executing.
22
- *
23
- * @observable
24
- */
25
- isBusy: boolean;
26
- /**
27
- * @inheritDoc
28
- */
29
- constructor(editor: Editor);
30
- /**
31
- * @inheritDoc
32
- */
33
- refresh(): void;
34
- /**
35
- * Executes the command. Sends the provided file instance to the converter service endpoint and inserts the result into the model.
36
- *
37
- * @fires execute
38
- * @param file The Word file instance to be uploaded for conversion.
39
- * @param [serviceConfig] Additional options to pass to the converter service.
40
- */
41
- execute(file: File, serviceConfig?: Record<string, unknown>): Promise<unknown>;
42
- }
43
- /**
44
- * Fired when the converter service returned the HTML content that will be inserted into the editor.
45
- *
46
- * @eventName ~ImportWordCommand#dataInsert
47
- */
48
- export type DataInsertEvent = {
49
- name: 'dataInsert';
50
- args: [data: DataInsertEventData];
51
- };
52
- interface DataInsertEventData {
53
- /**
54
- * The HTML content to insertion.
55
- */
56
- html: string;
57
- }
58
- export {};