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

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.1",
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.1",
34
+ "@ckeditor/ckeditor5-cloud-services": "44.2.0-alpha.1",
35
+ "@ckeditor/ckeditor5-core": "44.2.0-alpha.1",
36
+ "@ckeditor/ckeditor5-engine": "44.2.0-alpha.1",
37
+ "@ckeditor/ckeditor5-merge-fields": "44.2.0-alpha.1",
38
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.1",
39
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.1",
40
+ "ckeditor5": "44.2.0-alpha.1"
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 _0x5d52b3=_0x3bc0;(function(_0x3e36e5,_0x39ca28){var _0x21a26b=_0x3bc0,_0x18e67f=_0x3e36e5();while(!![]){try{var _0x4ac5e7=-parseInt(_0x21a26b(0x18a))/0x1*(-parseInt(_0x21a26b(0x183))/0x2)+-parseInt(_0x21a26b(0x18b))/0x3+parseInt(_0x21a26b(0x180))/0x4*(parseInt(_0x21a26b(0x181))/0x5)+parseInt(_0x21a26b(0x189))/0x6*(parseInt(_0x21a26b(0x187))/0x7)+-parseInt(_0x21a26b(0x182))/0x8*(-parseInt(_0x21a26b(0x18c))/0x9)+-parseInt(_0x21a26b(0x17e))/0xa+-parseInt(_0x21a26b(0x185))/0xb;if(_0x4ac5e7===_0x39ca28)break;else _0x18e67f['push'](_0x18e67f['shift']());}catch(_0x2dd1c2){_0x18e67f['push'](_0x18e67f['shift']());}}}(_0x2383,0x19218));import{Plugin as _0x53a550}from'ckeditor5/src/core.js';function _0x3bc0(_0x3184b7,_0x1dfdef){var _0x23836a=_0x2383();return _0x3bc0=function(_0x3bc0ee,_0x19ad04){_0x3bc0ee=_0x3bc0ee-0x17d;var _0x5346ac=_0x23836a[_0x3bc0ee];return _0x5346ac;},_0x3bc0(_0x3184b7,_0x1dfdef);}import _0x1b4387 from'./importwordui.js';function _0x2383(){var _0x51b076=['808tKASmb','332caYrjA','requires','207372kYJbpF','isOfficialPlugin','1139999LTOKaS','pluginName','6uWApHv','192kpTCRh','548880vEfroQ','4581KwwkIA','ImportWord','639450tXxYMI','isPremiumPlugin','508qHGvNZ','4825FwHrBB'];_0x2383=function(){return _0x51b076;};return _0x2383();}import _0x5302e2 from'./importwordediting.js';export default class o extends _0x53a550{static get[_0x5d52b3(0x188)](){var _0x235266=_0x5d52b3;return _0x235266(0x17d);}static get[_0x5d52b3(0x186)](){return!0x0;}static get[_0x5d52b3(0x17f)](){return!0x0;}static get[_0x5d52b3(0x184)](){return[_0x5302e2,_0x1b4387];}}
@@ -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
+ const _0x60992c=_0x3d47;function _0x2ef4(){const _0x4f68c1=['147404fPWepe','_abortController','ImportWordEditing','_undoStepBatch','removeMarker','change:range','markers','resolvedOptions','setSelection','refresh','enqueueChange','selection','plugins','showWarning','clipboardInput','locale','import-word-plugin-import-cancelled','25240sneqnj','finally','html','fire','importWord','has','6201744ryKChj','position','getToken','_checkEnabled','_prepareForImport','138xNrSsj','isAtStart','importWord:','_cleanUpAfterImport','isEmpty','view','POST','resolve','DateTimeFormat','value','bind','12010oDeGZj','get','catch','_handleImportResponse','execute','rootName','2645988cvPYie','model','_importMarker','mergeFields','root','converterUrl','config','createBatch','Notification','formatting','checkChild','Authorization','editor','file','getRange','import-word-plugin-conversion-failed','split','1204TGAsTw','createPositionBefore','then','document','aborted','editing','signal','dataInsert','_sendImportRequest','deleteContent','createPositionAfter','isBusy','getFirstPosition','addMarker','_handleImportFailure','$graveyard','json','setData','isEnabled','getSelectedBlocks','MergeFields','18549351xwcENI','reject','paragraph','text/html','element','stopListening','isCollapsed','headers','3057369MbLlvU','set','merge_fields','stringify','abort','timeZone','schema','parent','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','low','isAtEnd'];_0x2ef4=function(){return _0x4f68c1;};return _0x2ef4();}(function(_0x5d58d9,_0x599298){const _0x223bc0=_0x3d47,_0x1b05a1=_0x5d58d9();while(!![]){try{const _0x3447b5=parseInt(_0x223bc0(0x202))/0x1+-parseInt(_0x223bc0(0x1c9))/0x2+-parseInt(_0x223bc0(0x1f7))/0x3+parseInt(_0x223bc0(0x1b3))/0x4+parseInt(_0x223bc0(0x1c3))/0x5*(parseInt(_0x223bc0(0x1b8))/0x6)+-parseInt(_0x223bc0(0x1da))/0x7*(parseInt(_0x223bc0(0x1ad))/0x8)+parseInt(_0x223bc0(0x1ef))/0x9;if(_0x3447b5===_0x599298)break;else _0x1b05a1['push'](_0x1b05a1['shift']());}catch(_0x3682c8){_0x1b05a1['push'](_0x1b05a1['shift']());}}}(_0x2ef4,0xe2e44));function _0x3d47(_0x32c9b3,_0x3c11dd){const _0x2ef4f8=_0x2ef4();return _0x3d47=function(_0x3d47f5,_0x1be888){_0x3d47f5=_0x3d47f5-0x1a7;let _0x2b3f49=_0x2ef4f8[_0x3d47f5];return _0x2b3f49;},_0x3d47(_0x32c9b3,_0x3c11dd);}import{Command as _0x35c288}from'ckeditor5/src/core.js';import{Range as _0x32e1e1}from'ckeditor5/src/engine.js';import{logWarning as _0x28e2fe,logError as _0x2eae51,first as _0x199efb,uid as _0x3f36b6}from'ckeditor5/src/utils.js';import{getTranslation as _0x3df6d0}from'./utils/common-translations.js';export default class d extends _0x35c288{constructor(_0x391fde){const _0x161b89=_0x3d47;super(_0x391fde),this[_0x161b89(0x1f8)](_0x161b89(0x1e5),!0x1),this[_0x161b89(0x1cb)]=null,this[_0x161b89(0x205)]=null,this[_0x161b89(0x203)]=null,this['on'](_0x161b89(0x1e1),(_0x4dc39a,_0x4d4be6)=>{const _0x5e37cd=_0x161b89,_0x41920e=new DataTransfer();_0x41920e[_0x5e37cd(0x1eb)](_0x5e37cd(0x1f2),_0x4d4be6[_0x5e37cd(0x1af)]);const _0x4ced62=this[_0x5e37cd(0x1cb)][_0x5e37cd(0x1d7)]();this[_0x5e37cd(0x1d5)][_0x5e37cd(0x1ca)][_0x5e37cd(0x20c)](this[_0x5e37cd(0x205)],_0xb79d56=>{const _0x1a49de=_0x5e37cd;this[_0x1a49de(0x1cb)][_0x1a49de(0x1f4)](),_0xb79d56[_0x1a49de(0x20a)](_0x4ced62),_0x391fde[_0x1a49de(0x1df)][_0x1a49de(0x1bd)][_0x1a49de(0x1dd)][_0x1a49de(0x1b0)](_0x1a49de(0x1aa),{'dataTransfer':_0x41920e});});},{'priority':_0x161b89(0x200)});}[_0x60992c(0x20b)](){const _0x370a38=_0x60992c;this[_0x370a38(0x1ec)]=this[_0x370a38(0x1b6)]();}[_0x60992c(0x1c7)](_0x4403d0,_0x649ee1={}){const _0x3600db=_0x60992c;if(this[_0x3600db(0x1e5)])return Promise[_0x3600db(0x1bf)]();const _0x10792c=this[_0x3600db(0x1d5)][_0x3600db(0x1cf)][_0x3600db(0x1c4)](_0x3600db(0x1b1));if(this[_0x3600db(0x1d5)][_0x3600db(0x1a8)][_0x3600db(0x1b2)](_0x3600db(0x1ee))){const {prefix:_0x3dc083,suffix:_0x57fd13}=this[_0x3600db(0x1d5)][_0x3600db(0x1cf)][_0x3600db(0x1c4)](_0x3600db(0x1cc));_0x649ee1[_0x3600db(0x1f9)]={'prefix':_0x3dc083,'suffix':_0x57fd13};}const _0xd228ca={'url':_0x10792c[_0x3600db(0x1ce)],'file':_0x4403d0,'serviceConfig':{..._0x649ee1,'formatting':_0x10792c[_0x3600db(0x1d2)],'timezone':new Intl[(_0x3600db(0x1c0))]()[_0x3600db(0x209)]()[_0x3600db(0x1fc)]}};return this[_0x3600db(0x1b7)](),this[_0x3600db(0x1e2)](_0xd228ca)[_0x3600db(0x1dc)](this[_0x3600db(0x1c6)][_0x3600db(0x1c2)](this))[_0x3600db(0x1c5)](this[_0x3600db(0x1e8)][_0x3600db(0x1c2)](this))[_0x3600db(0x1ae)](this[_0x3600db(0x1bb)][_0x3600db(0x1c2)](this));}[_0x60992c(0x1b6)](){const _0x32f425=_0x60992c;if(this[_0x32f425(0x1e5)])return!0x1;const _0x21281b=this[_0x32f425(0x1d5)][_0x32f425(0x1ca)],_0xa63d47=_0x21281b[_0x32f425(0x1fd)],_0x46efb2=_0x21281b[_0x32f425(0x1dd)][_0x32f425(0x1a7)],_0x426d6d=_0x199efb(_0x46efb2[_0x32f425(0x1ed)]());return!!_0x426d6d&&_0xa63d47[_0x32f425(0x1d3)](_0x426d6d[_0x32f425(0x1fe)],_0x32f425(0x1f1));}[_0x60992c(0x1b7)](){const _0x14b4bd=_0x60992c,_0x149e95=this[_0x14b4bd(0x1d5)],_0x3c0e03=_0x149e95[_0x14b4bd(0x1ca)],_0x5f2e0e=_0x3c0e03[_0x14b4bd(0x1dd)][_0x14b4bd(0x1a7)];this[_0x14b4bd(0x203)]=new AbortController(),this[_0x14b4bd(0x205)]=_0x149e95[_0x14b4bd(0x1ca)][_0x14b4bd(0x1d0)]({'isUndoable':!0x0}),_0x3c0e03[_0x14b4bd(0x20c)](this[_0x14b4bd(0x205)],_0x2f982d=>{const _0x36937d=_0x14b4bd;_0x5f2e0e[_0x36937d(0x1f5)]||_0x3c0e03[_0x36937d(0x1e3)](_0x5f2e0e,{'leaveUnmerged':!0x0});const _0xdf7ee0=_0x5f2e0e[_0x36937d(0x1e6)](),_0x5e17a6=_0x199efb(_0x5f2e0e[_0x36937d(0x1ed)]());let _0x599283;_0x599283=_0x5e17a6['is'](_0x36937d(0x1f3),_0x36937d(0x1f1))&&_0x5e17a6[_0x36937d(0x1bc)]?_0xdf7ee0:_0xdf7ee0[_0x36937d(0x1b9)]?_0x3c0e03[_0x36937d(0x1db)](_0x5e17a6):_0xdf7ee0[_0x36937d(0x201)]?_0x3c0e03[_0x36937d(0x1e4)](_0x5e17a6):_0x2f982d[_0x36937d(0x1d9)](_0xdf7ee0)[_0x36937d(0x1b4)],this[_0x36937d(0x1cb)]=_0x2f982d[_0x36937d(0x1e7)](_0x36937d(0x1ba)+_0x3f36b6(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x32e1e1(_0x599283)}),this[_0x36937d(0x1cb)]['on'](_0x36937d(0x207),()=>{const _0x3f06c5=_0x36937d;_0x3f06c5(0x1e9)===this[_0x3f06c5(0x1cb)][_0x3f06c5(0x1d7)]()[_0x3f06c5(0x1cd)][_0x3f06c5(0x1c8)]&&this[_0x3f06c5(0x203)][_0x3f06c5(0x1fb)]();});}),this[_0x14b4bd(0x1e5)]=!0x0,this[_0x14b4bd(0x20b)]();}[_0x60992c(0x1bb)](){const _0x6f54e0=_0x60992c,_0x1950b9=this[_0x6f54e0(0x1d5)][_0x6f54e0(0x1ca)];_0x1950b9[_0x6f54e0(0x208)][_0x6f54e0(0x1b2)](this[_0x6f54e0(0x1cb)])&&_0x1950b9[_0x6f54e0(0x20c)](this[_0x6f54e0(0x205)],_0x105ae3=>{const _0x35b0d5=_0x6f54e0;_0x105ae3[_0x35b0d5(0x206)](this[_0x35b0d5(0x1cb)]);}),this[_0x6f54e0(0x1cb)]=null,this[_0x6f54e0(0x205)]=null,this[_0x6f54e0(0x203)]=null,this[_0x6f54e0(0x1e5)]=!0x1,this[_0x6f54e0(0x20b)]();}[_0x60992c(0x1e2)]({url:_0xc11900,file:_0xba8ff8,serviceConfig:_0x1b8dea}){const _0x3928d3=_0x60992c,_0x3f21bd=this[_0x3928d3(0x1d5)][_0x3928d3(0x1a8)][_0x3928d3(0x1c4)](_0x3928d3(0x204))[_0x3928d3(0x1b5)](),_0x510c18=new FormData();_0x510c18[_0x3928d3(0x1f8)](_0x3928d3(0x1cf),JSON[_0x3928d3(0x1fa)](_0x1b8dea)),_0x510c18[_0x3928d3(0x1f8)](_0x3928d3(0x1d6),_0xba8ff8);const _0x3a5ce1={'method':_0x3928d3(0x1be),'headers':{},'body':_0x510c18,'signal':this[_0x3928d3(0x203)][_0x3928d3(0x1e0)]};return _0x3f21bd&&(_0x3a5ce1[_0x3928d3(0x1f6)][_0x3928d3(0x1d4)]=_0x3f21bd[_0x3928d3(0x1c1)]),fetch(_0xc11900,_0x3a5ce1);}[_0x60992c(0x1c6)](_0x55a77b){const _0x4d9901=_0x60992c;return _0x55a77b['ok']?_0x55a77b[_0x4d9901(0x1ea)]()[_0x4d9901(0x1dc)](_0x3ae655=>{const _0x258cd1=_0x4d9901;if(!this[_0x258cd1(0x1d5)][_0x258cd1(0x1ca)][_0x258cd1(0x208)][_0x258cd1(0x1b2)](this[_0x258cd1(0x1cb)]))return;_0x258cd1(0x1e9)!==this[_0x258cd1(0x1cb)][_0x258cd1(0x1d7)]()[_0x258cd1(0x1cd)][_0x258cd1(0x1c8)]&&this[_0x258cd1(0x1b0)](_0x258cd1(0x1e1),_0x3ae655);}):Promise[_0x4d9901(0x1f0)]();}[_0x60992c(0x1e8)](){const _0x3d6e80=_0x60992c;if(this[_0x3d6e80(0x203)][_0x3d6e80(0x1e0)][_0x3d6e80(0x1de)])return void _0x28e2fe(_0x3d6e80(0x1ac));const _0x386533=this[_0x3d6e80(0x1d5)],_0x402305=_0x3df6d0(_0x386533[_0x3d6e80(0x1ab)],_0x3d6e80(0x1ff));_0x386533[_0x3d6e80(0x1a8)][_0x3d6e80(0x1c4)](_0x3d6e80(0x1d1))[_0x3d6e80(0x1a9)](_0x402305),_0x2eae51(_0x3d6e80(0x1d8));}}
@@ -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 _0x41d655=_0xc13e;(function(_0x2ff248,_0x2e0703){const _0x4df0c7=_0xc13e,_0x14cc9a=_0x2ff248();while(!![]){try{const _0xb4dc4c=parseInt(_0x4df0c7(0xf6))/0x1*(-parseInt(_0x4df0c7(0xfa))/0x2)+parseInt(_0x4df0c7(0xe4))/0x3*(-parseInt(_0x4df0c7(0xff))/0x4)+parseInt(_0x4df0c7(0xf9))/0x5*(-parseInt(_0x4df0c7(0xfe))/0x6)+parseInt(_0x4df0c7(0xf0))/0x7*(parseInt(_0x4df0c7(0xfb))/0x8)+-parseInt(_0x4df0c7(0xf5))/0x9+-parseInt(_0x4df0c7(0x102))/0xa*(-parseInt(_0x4df0c7(0xf8))/0xb)+parseInt(_0x4df0c7(0xf4))/0xc;if(_0xb4dc4c===_0x2e0703)break;else _0x14cc9a['push'](_0x14cc9a['shift']());}catch(_0x4752b8){_0x14cc9a['push'](_0x14cc9a['shift']());}}}(_0xd930,0x7e095));import{Plugin as _0x4b2a6a}from'ckeditor5/src/core.js';import{Notification as _0x427d0a}from'ckeditor5/src/ui.js';import{ClipboardPipeline as _0x372899}from'ckeditor5/src/clipboard.js';function _0xc13e(_0xc320e3,_0x7eb26d){const _0xd9309c=_0xd930();return _0xc13e=function(_0xe4c1a5,_0x654474){_0xe4c1a5=_0xe4c1a5-0xe2;let _0x129995=_0xd9309c[_0xe4c1a5];return _0x129995;},_0xc13e(_0xc320e3,_0x7eb26d);}import _0x1c9d93 from'./importwordcommand.js';export default class e extends _0x4b2a6a{static get[_0x41d655(0x101)](){const _0x59190a=_0x41d655;return _0x59190a(0xec);}static get[_0x41d655(0xfc)](){return!0x0;}static get[_0x41d655(0xeb)](){return!0x0;}static get[_0x41d655(0xf7)](){const _0x5843d2=_0x41d655;return[_0x427d0a,_0x372899,_0x5843d2(0x100)];}constructor(_0x4ef2cc){const _0x15af3d=_0x41d655;super(_0x4ef2cc),this[_0x15af3d(0xea)]=null;}async[_0x41d655(0xe9)](){const _0xc31b9=_0x41d655,_0x559244=this[_0xc31b9(0xe2)];_0x559244[_0xc31b9(0xf2)][_0xc31b9(0x103)](_0xc31b9(0xf1),{'converterUrl':_0xc31b9(0xe5),'tokenUrl':(_0x559244[_0xc31b9(0xf2)][_0xc31b9(0xf3)](_0xc31b9(0x105))||{})[_0xc31b9(0xe3)],'formatting':{'resets':_0xc31b9(0xef),'defaults':_0xc31b9(0xef),'styles':_0xc31b9(0xe8)}}),_0x559244[_0xc31b9(0xe7)][_0xc31b9(0x104)](_0xc31b9(0xf1),new _0x1c9d93(_0x559244));const {tokenUrl:_0x520a8e}=_0x559244[_0xc31b9(0xf2)][_0xc31b9(0xf3)](_0xc31b9(0xf1));if(_0x520a8e){const {tokenUrl:_0x21117a}=_0x559244[_0xc31b9(0xf2)][_0xc31b9(0xf3)](_0xc31b9(0x105))||{};this[_0xc31b9(0xea)]=_0x520a8e===_0x21117a?_0x559244[_0xc31b9(0xe6)][_0xc31b9(0xf3)](_0xc31b9(0x100))[_0xc31b9(0xee)]:await _0x559244[_0xc31b9(0xe6)][_0xc31b9(0xf3)](_0xc31b9(0x100))[_0xc31b9(0xfd)](_0x520a8e);}}[_0x41d655(0xed)](){const _0x31ce1c=_0x41d655;return this[_0x31ce1c(0xea)];}}function _0xd930(){const _0x38499a=['ImportWordEditing','getToken','token','none','21028bSWWrU','importWord','config','get','8691768egURxc','74268pQDAGZ','168023xkIIqC','requires','33mraDXH','20bRAzJV','8MajJUV','1864snTxEN','isOfficialPlugin','registerTokenUrl','81372kTNwFL','16rxUqFF','CloudServices','pluginName','1471090CmoWuy','define','add','cloudServices','editor','tokenUrl','461052Ejlwll','https://docx-converter.cke-cs.com/v2/convert/docx-html','plugins','commands','inline','init','_token','isPremiumPlugin'];_0xd930=function(){return _0x38499a;};return _0xd930();}
@@ -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
+ const _0x4c1ab0=_0x4df5;function _0x4df5(_0x4de92d,_0x26f362){const _0x456997=_0x4569();return _0x4df5=function(_0x4df512,_0x236f9b){_0x4df512=_0x4df512-0x178;let _0x42ac4d=_0x456997[_0x4df512];return _0x42ac4d;},_0x4df5(_0x4de92d,_0x26f362);}(function(_0x241607,_0x37f649){const _0x1c1ac7=_0x4df5,_0x318004=_0x241607();while(!![]){try{const _0x508a6b=parseInt(_0x1c1ac7(0x18a))/0x1+-parseInt(_0x1c1ac7(0x195))/0x2+-parseInt(_0x1c1ac7(0x189))/0x3+parseInt(_0x1c1ac7(0x18c))/0x4*(-parseInt(_0x1c1ac7(0x191))/0x5)+-parseInt(_0x1c1ac7(0x17c))/0x6+-parseInt(_0x1c1ac7(0x188))/0x7+parseInt(_0x1c1ac7(0x192))/0x8*(parseInt(_0x1c1ac7(0x186))/0x9);if(_0x508a6b===_0x37f649)break;else _0x318004['push'](_0x318004['shift']());}catch(_0x333f13){_0x318004['push'](_0x318004['shift']());}}}(_0x4569,0xc8797));import{Plugin as _0x34ca91}from'ckeditor5/src/core.js';import{MenuBarMenuListItemFileDialogButtonView as _0x227d12,SpinnerView as _0x59f919,FileDialogButtonView as _0x43948d}from'ckeditor5/src/ui.js';import _0x3b7cf8 from'../theme/icons/importword.svg';import{getTranslation as _0xd3f3db}from'./utils/common-translations.js';function _0x4569(){const _0x2cd574=['1198083btxtIk','148603atLNAd','locale','232508hpLHhf','pluginName','editing','get','isPremiumPlugin','125LqDhcj','27592oVcsII','add','ImportWordUI','2308382WWuEoQ','editor','menuBar:importWord','Import\x20from\x20Word','importWord','_createButton','application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template','init','componentFactory','done','isBusy','iconView','isVisible','bind','isEnabled','label','4275834BMIYZM','Importing\x20Word\x20document','focus','execute','tooltip','isOn','view','commands','set','isOfficialPlugin','13554dKtOZW','children','5616016XKNkhA'];_0x4569=function(){return _0x2cd574;};return _0x4569();}export default class i extends _0x34ca91{static get[_0x4c1ab0(0x18d)](){const _0x5d9295=_0x4c1ab0;return _0x5d9295(0x194);}static get[_0x4c1ab0(0x185)](){return!0x0;}static get[_0x4c1ab0(0x190)](){return!0x0;}[_0x4c1ab0(0x19c)](){const _0x1f329f=_0x4c1ab0,_0x221a44=this[_0x1f329f(0x196)];_0x221a44['ui'][_0x1f329f(0x19d)][_0x1f329f(0x193)](_0x1f329f(0x199),()=>{const _0xf3f54d=_0x1f329f,_0x3552be=this[_0xf3f54d(0x19a)](_0x43948d),_0x18d4f2=_0x221a44[_0xf3f54d(0x183)][_0xf3f54d(0x18f)](_0xf3f54d(0x199));return _0x3552be[_0xf3f54d(0x179)](_0xf3f54d(0x181))['to'](_0x18d4f2,_0xf3f54d(0x19f)),_0x3552be[_0xf3f54d(0x180)]=!0x0,_0x3552be;}),_0x221a44['ui'][_0x1f329f(0x19d)][_0x1f329f(0x193)](_0x1f329f(0x197),()=>this[_0x1f329f(0x19a)](_0x227d12));}[_0x4c1ab0(0x19a)](_0xae43b9){const _0x5f26ee=_0x4c1ab0,_0x1846f4=this[_0x5f26ee(0x196)],_0x1bb783=_0x1846f4[_0x5f26ee(0x183)][_0x5f26ee(0x18f)](_0x5f26ee(0x199)),_0x15c2b3=new _0xae43b9(_0x1846f4[_0x5f26ee(0x18b)]),_0x37a19d=new _0x59f919();return _0x15c2b3[_0x5f26ee(0x184)]({'acceptedType':_0x5f26ee(0x19b)}),_0x15c2b3[_0x5f26ee(0x184)]({'icon':_0x3b7cf8}),_0x15c2b3[_0x5f26ee(0x179)](_0x5f26ee(0x17a))['to'](_0x1bb783),_0x15c2b3[_0x5f26ee(0x179)](_0x5f26ee(0x17b))['to'](_0x1bb783,_0x5f26ee(0x19f),_0x92f8c6=>_0xd3f3db(_0x1846f4[_0x5f26ee(0x18b)],_0x92f8c6?_0x5f26ee(0x17d):_0x5f26ee(0x198))),_0x37a19d[_0x5f26ee(0x179)](_0x5f26ee(0x178))['to'](_0x1bb783,_0x5f26ee(0x19f)),_0x15c2b3[_0x5f26ee(0x1a0)][_0x5f26ee(0x179)](_0x5f26ee(0x178))['to'](_0x1bb783,_0x5f26ee(0x19f),_0x4161eb=>!_0x4161eb),_0x15c2b3[_0x5f26ee(0x187)][_0x5f26ee(0x193)](_0x37a19d),_0x15c2b3['on'](_0x5f26ee(0x19e),(_0x2fa39e,_0x1e0df7)=>{const _0x3491e3=_0x5f26ee;_0x1846f4[_0x3491e3(0x17f)](_0x3491e3(0x199),_0x1e0df7[0x0],{}),_0x1846f4[_0x3491e3(0x18e)][_0x3491e3(0x182)][_0x3491e3(0x17e)]();}),_0x15c2b3;}}
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 _0x38ac(_0x5b293e,_0x385482){var _0x15b8f1=_0x15b8();return _0x38ac=function(_0x38acce,_0x351aeb){_0x38acce=_0x38acce-0x1c4;var _0x78bb4b=_0x15b8f1[_0x38acce];return _0x78bb4b;},_0x38ac(_0x5b293e,_0x385482);}function _0x15b8(){var _0x228224=['11646SWGkfX','102751qqASYG','1010xtUocA','2604tHJvim','31626goYZtm','568JcMuCQ','2EcDZVs','1513572dfhAsY','2399535DAoKzs','245210KcQuaM','983613VfmSQp'];_0x15b8=function(){return _0x228224;};return _0x15b8();}(function(_0x5291e7,_0x3ceb43){var _0x1bb854=_0x38ac,_0x3e6de8=_0x5291e7();while(!![]){try{var _0x20a5f8=parseInt(_0x1bb854(0x1c5))/0x1+-parseInt(_0x1bb854(0x1cd))/0x2*(parseInt(_0x1bb854(0x1c6))/0x3)+-parseInt(_0x1bb854(0x1ce))/0x4+parseInt(_0x1bb854(0x1c4))/0x5+parseInt(_0x1bb854(0x1c7))/0x6*(-parseInt(_0x1bb854(0x1ca))/0x7)+parseInt(_0x1bb854(0x1cc))/0x8*(parseInt(_0x1bb854(0x1cb))/0x9)+-parseInt(_0x1bb854(0x1c9))/0xa*(-parseInt(_0x1bb854(0x1c8))/0xb);if(_0x20a5f8===_0x3ceb43)break;else _0x3e6de8['push'](_0x3e6de8['shift']());}catch(_0x3da97d){_0x3e6de8['push'](_0x3e6de8['shift']());}}}(_0x15b8,0x77908));export{default as ImportWord}from'./importword.js';export{default as ImportWordEditing}from'./importwordediting.js';export{default as ImportWordUI}from'./importwordui.js';import'./augmentation.js';
@@ -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(_0x466f86,_0x3b6e75){const t=_0x466f86['t'];switch(_0x3b6e75){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 _0x3b6e75;}}
@@ -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
- }