@ckeditor/ckeditor5-import-word 43.2.0 → 43.3.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 (287) hide show
  1. package/build/import-word.js +1 -1
  2. package/build/translations/af.js +1 -0
  3. package/build/translations/ast.js +1 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/bs.js +1 -0
  6. package/build/translations/de-ch.js +1 -0
  7. package/build/translations/en-gb.js +1 -0
  8. package/build/translations/eo.js +1 -0
  9. package/build/translations/es-co.js +1 -0
  10. package/build/translations/eu.js +1 -0
  11. package/build/translations/fa.js +1 -0
  12. package/build/translations/gu.js +1 -0
  13. package/build/translations/hy.js +1 -0
  14. package/build/translations/jv.js +1 -0
  15. package/build/translations/kk.js +1 -0
  16. package/build/translations/km.js +1 -0
  17. package/build/translations/kn.js +1 -0
  18. package/build/translations/ku.js +1 -0
  19. package/build/translations/nb.js +1 -0
  20. package/build/translations/ne.js +1 -0
  21. package/build/translations/oc.js +1 -0
  22. package/build/translations/si.js +1 -0
  23. package/build/translations/sl.js +1 -0
  24. package/build/translations/sq.js +1 -0
  25. package/build/translations/ti.js +1 -0
  26. package/build/translations/tk.js +1 -0
  27. package/build/translations/tt.js +1 -0
  28. package/build/translations/ur.js +1 -0
  29. package/build/translations/uz.js +1 -0
  30. package/dist/importword.d.ts +8 -0
  31. package/dist/importwordediting.d.ts +8 -0
  32. package/dist/importwordui.d.ts +8 -0
  33. package/dist/index.js +1 -1
  34. package/dist/translations/af.d.ts +8 -0
  35. package/dist/translations/af.js +23 -0
  36. package/dist/translations/af.umd.js +23 -0
  37. package/dist/translations/ar.js +1 -1
  38. package/dist/translations/ar.umd.js +1 -1
  39. package/dist/translations/ast.d.ts +8 -0
  40. package/dist/translations/ast.js +23 -0
  41. package/dist/translations/ast.umd.js +23 -0
  42. package/dist/translations/az.d.ts +8 -0
  43. package/dist/translations/az.js +23 -0
  44. package/dist/translations/az.umd.js +23 -0
  45. package/dist/translations/bg.js +1 -1
  46. package/dist/translations/bg.umd.js +1 -1
  47. package/dist/translations/bn.js +1 -1
  48. package/dist/translations/bn.umd.js +1 -1
  49. package/dist/translations/bs.d.ts +8 -0
  50. package/dist/translations/bs.js +23 -0
  51. package/dist/translations/bs.umd.js +23 -0
  52. package/dist/translations/ca.js +1 -1
  53. package/dist/translations/ca.umd.js +1 -1
  54. package/dist/translations/cs.js +1 -1
  55. package/dist/translations/cs.umd.js +1 -1
  56. package/dist/translations/da.js +1 -1
  57. package/dist/translations/da.umd.js +1 -1
  58. package/dist/translations/de-ch.d.ts +8 -0
  59. package/dist/translations/de-ch.js +23 -0
  60. package/dist/translations/de-ch.umd.js +23 -0
  61. package/dist/translations/de.js +1 -1
  62. package/dist/translations/de.umd.js +1 -1
  63. package/dist/translations/el.js +1 -1
  64. package/dist/translations/el.umd.js +1 -1
  65. package/dist/translations/en-au.js +1 -1
  66. package/dist/translations/en-au.umd.js +1 -1
  67. package/dist/translations/en-gb.d.ts +8 -0
  68. package/dist/translations/en-gb.js +23 -0
  69. package/dist/translations/en-gb.umd.js +23 -0
  70. package/dist/translations/en.js +1 -1
  71. package/dist/translations/en.umd.js +1 -1
  72. package/dist/translations/eo.d.ts +8 -0
  73. package/dist/translations/eo.js +23 -0
  74. package/dist/translations/eo.umd.js +23 -0
  75. package/dist/translations/es-co.d.ts +8 -0
  76. package/dist/translations/es-co.js +23 -0
  77. package/dist/translations/es-co.umd.js +23 -0
  78. package/dist/translations/es.js +1 -1
  79. package/dist/translations/es.umd.js +1 -1
  80. package/dist/translations/et.js +1 -1
  81. package/dist/translations/et.umd.js +1 -1
  82. package/dist/translations/eu.d.ts +8 -0
  83. package/dist/translations/eu.js +23 -0
  84. package/dist/translations/eu.umd.js +23 -0
  85. package/dist/translations/fa.d.ts +8 -0
  86. package/dist/translations/fa.js +23 -0
  87. package/dist/translations/fa.umd.js +23 -0
  88. package/dist/translations/fi.js +1 -1
  89. package/dist/translations/fi.umd.js +1 -1
  90. package/dist/translations/fr.js +1 -1
  91. package/dist/translations/fr.umd.js +1 -1
  92. package/dist/translations/gl.js +1 -1
  93. package/dist/translations/gl.umd.js +1 -1
  94. package/dist/translations/gu.d.ts +8 -0
  95. package/dist/translations/gu.js +23 -0
  96. package/dist/translations/gu.umd.js +23 -0
  97. package/dist/translations/he.js +1 -1
  98. package/dist/translations/he.umd.js +1 -1
  99. package/dist/translations/hi.js +1 -1
  100. package/dist/translations/hi.umd.js +1 -1
  101. package/dist/translations/hr.js +1 -1
  102. package/dist/translations/hr.umd.js +1 -1
  103. package/dist/translations/hu.js +1 -1
  104. package/dist/translations/hu.umd.js +1 -1
  105. package/dist/translations/hy.d.ts +8 -0
  106. package/dist/translations/hy.js +23 -0
  107. package/dist/translations/hy.umd.js +23 -0
  108. package/dist/translations/id.js +1 -1
  109. package/dist/translations/id.umd.js +1 -1
  110. package/dist/translations/it.js +1 -1
  111. package/dist/translations/it.umd.js +1 -1
  112. package/dist/translations/ja.js +1 -1
  113. package/dist/translations/ja.umd.js +1 -1
  114. package/dist/translations/jv.d.ts +8 -0
  115. package/dist/translations/jv.js +23 -0
  116. package/dist/translations/jv.umd.js +23 -0
  117. package/dist/translations/kk.d.ts +8 -0
  118. package/dist/translations/kk.js +23 -0
  119. package/dist/translations/kk.umd.js +23 -0
  120. package/dist/translations/km.d.ts +8 -0
  121. package/dist/translations/km.js +23 -0
  122. package/dist/translations/km.umd.js +23 -0
  123. package/dist/translations/kn.d.ts +8 -0
  124. package/dist/translations/kn.js +23 -0
  125. package/dist/translations/kn.umd.js +23 -0
  126. package/dist/translations/ko.js +1 -1
  127. package/dist/translations/ko.umd.js +1 -1
  128. package/dist/translations/ku.d.ts +8 -0
  129. package/dist/translations/ku.js +23 -0
  130. package/dist/translations/ku.umd.js +23 -0
  131. package/dist/translations/lt.js +1 -1
  132. package/dist/translations/lt.umd.js +1 -1
  133. package/dist/translations/lv.js +1 -1
  134. package/dist/translations/lv.umd.js +1 -1
  135. package/dist/translations/ms.js +1 -1
  136. package/dist/translations/ms.umd.js +1 -1
  137. package/dist/translations/nb.d.ts +8 -0
  138. package/dist/translations/nb.js +23 -0
  139. package/dist/translations/nb.umd.js +23 -0
  140. package/dist/translations/ne.d.ts +8 -0
  141. package/dist/translations/ne.js +23 -0
  142. package/dist/translations/ne.umd.js +23 -0
  143. package/dist/translations/nl.js +1 -1
  144. package/dist/translations/nl.umd.js +1 -1
  145. package/dist/translations/no.js +1 -1
  146. package/dist/translations/no.umd.js +1 -1
  147. package/dist/translations/oc.d.ts +8 -0
  148. package/dist/translations/oc.js +23 -0
  149. package/dist/translations/oc.umd.js +23 -0
  150. package/dist/translations/pl.js +1 -1
  151. package/dist/translations/pl.umd.js +1 -1
  152. package/dist/translations/pt-br.js +1 -1
  153. package/dist/translations/pt-br.umd.js +1 -1
  154. package/dist/translations/pt.js +1 -1
  155. package/dist/translations/pt.umd.js +1 -1
  156. package/dist/translations/ro.js +1 -1
  157. package/dist/translations/ro.umd.js +1 -1
  158. package/dist/translations/ru.js +1 -1
  159. package/dist/translations/ru.umd.js +1 -1
  160. package/dist/translations/si.d.ts +8 -0
  161. package/dist/translations/si.js +23 -0
  162. package/dist/translations/si.umd.js +23 -0
  163. package/dist/translations/sk.js +1 -1
  164. package/dist/translations/sk.umd.js +1 -1
  165. package/dist/translations/sl.d.ts +8 -0
  166. package/dist/translations/sl.js +23 -0
  167. package/dist/translations/sl.umd.js +23 -0
  168. package/dist/translations/sq.d.ts +8 -0
  169. package/dist/translations/sq.js +23 -0
  170. package/dist/translations/sq.umd.js +23 -0
  171. package/dist/translations/sr-latn.js +1 -1
  172. package/dist/translations/sr-latn.umd.js +1 -1
  173. package/dist/translations/sr.js +1 -1
  174. package/dist/translations/sr.umd.js +1 -1
  175. package/dist/translations/sv.js +1 -1
  176. package/dist/translations/sv.umd.js +1 -1
  177. package/dist/translations/th.js +1 -1
  178. package/dist/translations/th.umd.js +1 -1
  179. package/dist/translations/ti.d.ts +8 -0
  180. package/dist/translations/ti.js +23 -0
  181. package/dist/translations/ti.umd.js +23 -0
  182. package/dist/translations/tk.d.ts +8 -0
  183. package/dist/translations/tk.js +23 -0
  184. package/dist/translations/tk.umd.js +23 -0
  185. package/dist/translations/tr.js +1 -1
  186. package/dist/translations/tr.umd.js +1 -1
  187. package/dist/translations/tt.d.ts +8 -0
  188. package/dist/translations/tt.js +23 -0
  189. package/dist/translations/tt.umd.js +23 -0
  190. package/dist/translations/ug.js +1 -1
  191. package/dist/translations/ug.umd.js +1 -1
  192. package/dist/translations/uk.js +1 -1
  193. package/dist/translations/uk.umd.js +1 -1
  194. package/dist/translations/ur.d.ts +8 -0
  195. package/dist/translations/ur.js +23 -0
  196. package/dist/translations/ur.umd.js +23 -0
  197. package/dist/translations/uz.d.ts +8 -0
  198. package/dist/translations/uz.js +23 -0
  199. package/dist/translations/uz.umd.js +23 -0
  200. package/dist/translations/vi.js +1 -1
  201. package/dist/translations/vi.umd.js +1 -1
  202. package/dist/translations/zh-cn.js +1 -1
  203. package/dist/translations/zh-cn.umd.js +1 -1
  204. package/dist/translations/zh.js +1 -1
  205. package/dist/translations/zh.umd.js +1 -1
  206. package/lang/translations/af.po +24 -0
  207. package/lang/translations/ar.po +4 -10
  208. package/lang/translations/ast.po +24 -0
  209. package/lang/translations/az.po +24 -0
  210. package/lang/translations/bg.po +3 -9
  211. package/lang/translations/bn.po +3 -9
  212. package/lang/translations/bs.po +24 -0
  213. package/lang/translations/ca.po +3 -9
  214. package/lang/translations/cs.po +4 -10
  215. package/lang/translations/da.po +3 -9
  216. package/lang/translations/de-ch.po +24 -0
  217. package/lang/translations/de.po +3 -9
  218. package/lang/translations/el.po +3 -9
  219. package/lang/translations/en-au.po +3 -9
  220. package/lang/translations/en-gb.po +24 -0
  221. package/lang/translations/en.po +5 -11
  222. package/lang/translations/eo.po +24 -0
  223. package/lang/translations/es-co.po +24 -0
  224. package/lang/translations/es.po +4 -10
  225. package/lang/translations/et.po +3 -9
  226. package/lang/translations/eu.po +24 -0
  227. package/lang/translations/fa.po +24 -0
  228. package/lang/translations/fi.po +3 -9
  229. package/lang/translations/fr.po +4 -10
  230. package/lang/translations/gl.po +3 -9
  231. package/lang/translations/gu.po +24 -0
  232. package/lang/translations/he.po +4 -10
  233. package/lang/translations/hi.po +3 -9
  234. package/lang/translations/hr.po +4 -10
  235. package/lang/translations/hu.po +3 -9
  236. package/lang/translations/hy.po +24 -0
  237. package/lang/translations/id.po +3 -9
  238. package/lang/translations/it.po +4 -10
  239. package/lang/translations/ja.po +3 -9
  240. package/lang/translations/jv.po +24 -0
  241. package/lang/translations/kk.po +24 -0
  242. package/lang/translations/km.po +24 -0
  243. package/lang/translations/kn.po +24 -0
  244. package/lang/translations/ko.po +3 -9
  245. package/lang/translations/ku.po +24 -0
  246. package/lang/translations/lt.po +4 -10
  247. package/lang/translations/lv.po +4 -10
  248. package/lang/translations/ms.po +3 -9
  249. package/lang/translations/nb.po +24 -0
  250. package/lang/translations/ne.po +24 -0
  251. package/lang/translations/nl.po +3 -9
  252. package/lang/translations/no.po +3 -9
  253. package/lang/translations/oc.po +24 -0
  254. package/lang/translations/pl.po +4 -10
  255. package/lang/translations/pt-br.po +4 -10
  256. package/lang/translations/pt.po +4 -10
  257. package/lang/translations/ro.po +4 -10
  258. package/lang/translations/ru.po +4 -10
  259. package/lang/translations/si.po +24 -0
  260. package/lang/translations/sk.po +4 -10
  261. package/lang/translations/sl.po +24 -0
  262. package/lang/translations/sq.po +24 -0
  263. package/lang/translations/sr-latn.po +4 -10
  264. package/lang/translations/sr.po +4 -10
  265. package/lang/translations/sv.po +3 -9
  266. package/lang/translations/th.po +3 -9
  267. package/lang/translations/ti.po +24 -0
  268. package/lang/translations/tk.po +24 -0
  269. package/lang/translations/tr.po +3 -9
  270. package/lang/translations/tt.po +24 -0
  271. package/lang/translations/ug.po +4 -10
  272. package/lang/translations/uk.po +4 -10
  273. package/lang/translations/ur.po +24 -0
  274. package/lang/translations/uz.po +24 -0
  275. package/lang/translations/vi.po +3 -9
  276. package/lang/translations/zh-cn.po +3 -9
  277. package/lang/translations/zh.po +3 -9
  278. package/package.json +7 -7
  279. package/src/importword.d.ts +8 -0
  280. package/src/importword.js +1 -1
  281. package/src/importwordcommand.js +1 -1
  282. package/src/importwordediting.d.ts +8 -0
  283. package/src/importwordediting.js +1 -1
  284. package/src/importwordui.d.ts +8 -0
  285. package/src/importwordui.js +1 -1
  286. package/src/index.js +1 -1
  287. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function o(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}function i(){const t=["children","add","importWord","iconView","113xrdpqA","commands","editor","1662mjnRdN","bind","set","init","focus","view","3856QyPwnC","editing","ImportWordUI","32lUrQDc","8141QzrpcB","menuBar:importWord","145098ZizXkG","isVisible","1624430mLluLL","label","isOn","isEnabled","101485DTXfxD","227187CozsjD","_createButton","componentFactory","get","isBusy","Importing Word document","pluginName","locale","32qdqYFU","55DBwFtx","1493892wJJaoP","Import from Word","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","execute","done","tooltip"];return(i=function(){return t})()}function s(t,r){const e=i();return(s=function(t,r){return e[t-=325]})(t,r)}const a=s;!function(t){const r=s,e=t();for(;;)try{if(226250===parseInt(r(332))/1*(-parseInt(r(341))/2)+parseInt(r(347))/3*(parseInt(r(344))/4)+parseInt(r(353))/5+parseInt(r(335))/6*(-parseInt(r(345))/7)+parseInt(r(362))/8*(-parseInt(r(354))/9)+-parseInt(r(349))/10+parseInt(r(363))/11*(parseInt(r(364))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(i);class c extends t.Plugin{static get[a(360)](){return a(343)}[a(338)](){const t=a,e=this[t(334)];e.ui[t(356)][t(329)](t(330),(()=>{const n=t,o=this[n(355)](r.FileDialogButtonView),i=e[n(333)][n(357)](n(330));return o[n(336)](n(351)).to(i,n(358)),o[n(327)]=!0,o})),e.ui[t(356)][t(329)](t(346),(()=>this[t(355)](r.MenuBarMenuListItemFileDialogButtonView)))}[a(355)](t){const e=a,n=this[e(334)],i=n[e(333)][e(357)](e(330)),s=new t(n[e(361)]),c=new r.SpinnerView;return s[e(337)]({acceptedType:e(366)}),s[e(337)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),s[e(336)](e(352)).to(i),s[e(336)](e(350)).to(i,e(358),(t=>o(n[e(361)],e(t?359:365)))),c[e(336)](e(348)).to(i,e(358)),s[e(331)][e(336)](e(348)).to(i,e(358),(t=>!t)),s[e(328)][e(329)](c),s.on(e(326),((t,r)=>{const o=e;n[o(325)](o(330),r[0],{}),n[o(342)][o(340)][o(339)]()})),s}}var p=e(331),u=e(783),l=e(584);const d=h;function h(t,r){const e=f();return(h=function(t,r){return e[t-=170]})(t,r)}function f(){const t=["locale","document","get","setData","623950BTfDFX","showWarning","text/html","headers","Authorization","checkChild","mergeFields","change:range","getRange","_cleanUpAfterImport","_abortController","markers","2071864siOpyC","_sendImportRequest","MergeFields","clipboardInput","importWord:","addMarker","getSelectedBlocks","position","finally","ImportWordEditing","reject","68wzfoeU","abort","signal","stringify","createPositionBefore","model","_prepareForImport","merge_fields","html","formatting","isAtEnd","_undoStepBatch","json","root","import-word-plugin-import-cancelled","46761djjUhW","$graveyard","fire","_checkEnabled","Notification","converterUrl","isEnabled","then","bind","schema","getToken","setSelection","1mTUPrq","isAtStart","parent","4548vuHHNW","resolve","set","POST","createBatch","102965SeJJlg","getFirstPosition","isEmpty","isBusy","_importMarker","editor","file","deleteContent","removeMarker","resolvedOptions","refresh","createPositionAfter","config","enqueueChange","low","execute","catch","split","editing","has","timeZone","plugins","isCollapsed","importWord","paragraph","dataInsert","stopListening","DateTimeFormat","import-word-plugin-conversion-failed","6lGsiMQ","view","5128221JGXHDl","_handleImportFailure","3736670IoJwpG","452949riofSN","aborted","rootName","_handleImportResponse","selection","An error occurred while importing the Word file.","element","value","9pKQYdO"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(482137===parseInt(r(183))/1*(-parseInt(r(238))/2)+parseInt(r(225))/3+parseInt(r(261))/4*(-parseInt(r(191))/5)+parseInt(r(220))/6*(-parseInt(r(222))/7)+parseInt(r(250))/8*(-parseInt(r(233))/9)+parseInt(r(224))/10+parseInt(r(171))/11*(parseInt(r(186))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=h;super(t),this[r(188)](r(194),!1),this[r(195)]=null,this[r(272)]=null,this[r(248)]=null,this.on(r(216),((e,n)=>{const o=r,i=new DataTransfer;i[o(237)](o(240),n[o(269)]);const s=this[o(195)][o(246)]();this[o(196)][o(266)][o(204)](this[o(272)],(r=>{const e=o;this[e(195)][e(217)](),r[e(182)](s),t[e(209)][e(221)][e(235)][e(173)](e(253),{dataTransfer:i})}))}),{priority:r(205)})}[d(201)](){const t=d;this[t(177)]=this[t(174)]()}[d(206)](t,r={}){const e=d;if(this[e(194)])return Promise[e(187)]();const n=this[e(196)][e(203)][e(236)](e(214));if(this[e(196)][e(212)][e(210)](e(252))){const{prefix:t,suffix:n}=this[e(196)][e(203)][e(236)](e(244));r[e(268)]={prefix:t,suffix:n}}const o={url:n[e(176)],file:t,serviceConfig:{...r,formatting:n[e(270)],timezone:(new(Intl[e(218)]))[e(200)]()[e(211)]}};return this[e(267)](),this[e(251)](o)[e(178)](this[e(228)][e(179)](this))[e(207)](this[e(223)][e(179)](this))[e(258)](this[e(247)][e(179)](this))}[d(174)](){const t=d;if(this[t(194)])return!1;const r=this[t(196)][t(266)],e=r[t(180)],n=r[t(235)][t(229)],o=(0,l.first)(n[t(256)]());return!!o&&e[t(243)](o[t(185)],t(215))}[d(267)](){const t=d,r=this[t(196)],e=r[t(266)],n=e[t(235)][t(229)];this[t(248)]=new AbortController,this[t(272)]=r[t(266)][t(190)]({isUndoable:!0}),e[t(204)](this[t(272)],(r=>{const o=t;n[o(213)]||e[o(198)](n,{leaveUnmerged:!0});const i=n[o(192)](),s=(0,l.first)(n[o(256)]());let a;a=s.is(o(231),o(215))&&s[o(193)]?i:i[o(184)]?e[o(265)](s):i[o(271)]?e[o(202)](s):r[o(208)](i)[o(257)],this[o(195)]=r[o(255)](o(254)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[o(195)].on(o(245),(()=>{const t=o;t(172)===this[t(195)][t(246)]()[t(274)][t(227)]&&this[t(248)][t(262)]()}))})),this[t(194)]=!0,this[t(201)]()}[d(247)](){const t=d,r=this[t(196)][t(266)];r[t(249)][t(210)](this[t(195)])&&r[t(204)](this[t(272)],(r=>{const e=t;r[e(199)](this[e(195)])})),this[t(195)]=null,this[t(272)]=null,this[t(248)]=null,this[t(194)]=!1,this[t(201)]()}[d(251)]({url:t,file:r,serviceConfig:e}){const n=d,o=this[n(196)][n(212)][n(236)](n(259))[n(181)](),i=new FormData;i[n(188)](n(203),JSON[n(264)](e)),i[n(188)](n(197),r);const s={method:n(189),headers:{},body:i,signal:this[n(248)][n(263)]};return o&&(s[n(241)][n(242)]=o[n(232)]),fetch(t,s)}[d(228)](t){const r=d;return t.ok?t[r(273)]()[r(178)]((t=>{const e=r;this[e(196)][e(266)][e(249)][e(210)](this[e(195)])&&e(172)!==this[e(195)][e(246)]()[e(274)][e(227)]&&this[e(173)](e(216),t)})):Promise[r(260)]()}[d(223)](){const t=d;if(this[t(248)][t(263)][t(226)])return void(0,l.logWarning)(t(170));const r=this[t(196)],e=o(r[t(234)],t(230));r[t(212)][t(236)](t(175))[t(239)](e),(0,l.logError)(t(219))}}function I(t,r){const e=v();return(I=function(t,r){return e[t-=209]})(t,r)}const g=I;function v(){const t=["607934qEekhM","112rOYVZz","none","3771020JPxGmz","44922EGQeLm","ImportWordEditing","https://docx-converter.cke-cs.com/v2/convert/docx-html","define","147164kcYqma","requires","init","tokenUrl","16724AcWCvS","getToken","2127144vLMiHn","cloudServices","plugins","inline","43128coabWc","get","CloudServices","importWord","345BzXCbA","token","pluginName","commands","config","_token","272gNNMQF","editor","registerTokenUrl","add"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(355339===parseInt(r(240))/1+parseInt(r(216))/2+-parseInt(r(222))/3+-parseInt(r(220))/4*(-parseInt(r(230))/5)+-parseInt(r(212))/6*(parseInt(r(209))/7)+-parseInt(r(236))/8*(parseInt(r(226))/9)+parseInt(r(211))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(232)](){return g(213)}static get[g(217)](){const t=g;return[r.Notification,p.ClipboardPipeline,t(228)]}constructor(t){const r=g;super(t),this[r(235)]=null}async[g(218)](){const t=g,r=this[t(237)];r[t(234)][t(215)](t(229),{converterUrl:t(214),tokenUrl:(r[t(234)][t(227)](t(223))||{})[t(219)],formatting:{resets:t(210),defaults:t(210),styles:t(225)}}),r[t(233)][t(239)](t(229),new m(r));const{tokenUrl:e}=r[t(234)][t(227)](t(229));if(e){const{tokenUrl:n}=r[t(234)][t(227)](t(223))||{};this[t(235)]=e===n?r[t(224)][t(227)](t(228))[t(231)]:await r[t(224)][t(227)](t(228))[t(238)](e)}}[g(221)](){return this[g(235)]}}var b=x;function x(t,r){var e=W();return(x=function(t,r){return e[t-=481]})(t,r)}function W(){var t=["14385852MYxbyb","12420272DNHCGE","4653115pNpODc","6VtKOCJ","412SSHHEP","7422AwUFPH","1860075OEwSlh","21767160WbpxmB","pluginName","requires","6687iUfKoi","ImportWord","47coEEUN"];return(W=function(){return t})()}!function(t){for(var r=x,e=t();;)try{if(879304===parseInt(r(481))/1*(parseInt(r(487))/2)+-parseInt(r(492))/3*(parseInt(r(486))/4)+-parseInt(r(484))/5*(parseInt(r(485))/6)+-parseInt(r(488))/7+parseInt(r(483))/8+-parseInt(r(482))/9+parseInt(r(489))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class y extends t.Plugin{static get[b(490)](){return b(493)}static get[b(491)](){return[w,c]}}function k(t,r){var e=C();return(k=function(t,r){return e[t-=378]})(t,r)}function C(){var t=["11YJyXnv","6930657VCbvZl","5UXCFEc","6667950shxghz","2524796DpElgb","1656852SZdKrq","16496jbkifn","230998AHVQic","553NFoKxs","974988XYoBzY"];return(C=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(676572===parseInt(r(380))/1*(parseInt(r(387))/2)+parseInt(r(379))/3+parseInt(r(384))/4+parseInt(r(382))/5*(-parseInt(r(385))/6)+-parseInt(r(378))/7*(-parseInt(r(386))/8)+-parseInt(r(381))/9+-parseInt(r(383))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(C)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
5
+ */(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var s=r[n]={exports:{}};return t[n](s,s.exports,e),s.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>W,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const s=a;function o(){const t=["label","ImportWordUI","200oqQBTv","importWord","isOfficialPlugin","componentFactory","Import from Word","4494573JiuilH","iconView","isEnabled","execute","view","595980JLwmFz","get","1465240xQdGsL","editing","add","689DRcTGm","tooltip","_createButton","children","editor","Importing Word document","done","commands","locale","88qprgvd","pluginName","4SywICI","init","1590558EfKXNS","isPremiumPlugin","isOn","isVisible","set","isBusy","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","menuBar:importWord","bind","focus","2462pdATPp","2178895MLKmpu","443340sUQoTs","8uzZjId","6znLBsT"];return(o=function(){return t})()}function a(t,r){const e=o();return(a=function(t,r){return e[t-=125]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(471459===-parseInt(r(128))/1*(-parseInt(r(166))/2)+-parseInt(r(156))/3*(parseInt(r(154))/4)+-parseInt(r(167))/5*(parseInt(r(125))/6)+parseInt(r(140))/7+parseInt(r(169))/8*(-parseInt(r(133))/9)+-parseInt(r(138))/10*(parseInt(r(152))/11)+parseInt(r(168))/12*(parseInt(r(143))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(o);class c extends t.Plugin{static get[s(153)](){return s(127)}static get[s(130)](){return!0}static get[s(157)](){return!0}[s(155)](){const t=s,e=this[t(147)];e.ui[t(131)][t(142)](t(129),(()=>{const n=t,i=this[n(145)](r.FileDialogButtonView),s=e[n(150)][n(139)](n(129));return i[n(164)](n(158)).to(s,n(161)),i[n(144)]=!0,i})),e.ui[t(131)][t(142)](t(163),(()=>this[t(145)](r.MenuBarMenuListItemFileDialogButtonView)))}[s(145)](t){const e=s,n=this[e(147)],o=n[e(150)][e(139)](e(129)),a=new t(n[e(151)]),c=new r.SpinnerView;return a[e(160)]({acceptedType:e(162)}),a[e(160)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[e(164)](e(135)).to(o),a[e(164)](e(126)).to(o,e(161),(t=>i(n[e(151)],e(t?148:132)))),c[e(164)](e(159)).to(o,e(161)),a[e(134)][e(164)](e(159)).to(o,e(161),(t=>!t)),a[e(146)][e(142)](c),a.on(e(149),((t,r)=>{const i=e;n[i(136)](i(129),r[0],{}),n[i(141)][i(137)][i(165)]()})),a}}var p=e(331),u=e(783),l=e(584);const d=f;function h(){const t=["parent","selection","_cleanUpAfterImport","rootName","createBatch","50MsrEyv","isAtEnd","clipboardInput","isEmpty","enqueueChange","_prepareForImport","has","checkChild","split","1935882wSjYiA","_checkEnabled","then","schema","position","element","refresh","createPositionBefore","config","bind","showWarning","catch","text/html","Authorization","_handleImportFailure","_handleImportResponse","markers","document","headers","_abortController","getRange","getToken","2wsrmLA","resolve","createPositionAfter","_importMarker","editing","An error occurred while importing the Word file.","1185403rCOZSk","isBusy","_undoStepBatch","removeMarker","76KZUnjo","381549lKKLIZ","setData","file","import-word-plugin-conversion-failed","ImportWordEditing","$graveyard","isCollapsed","Notification","merge_fields","120Tdfhji","dataInsert","DateTimeFormat","198FQqnAL","MergeFields","execute","plugins","1362504IKoVdT","getSelectedBlocks","aborted","json","importWord","paragraph","reject","timeZone","view","resolvedOptions","isEnabled","mergeFields","low","POST","_sendImportRequest","editor","get","setSelection","addMarker","set","import-word-plugin-import-cancelled","stringify","abort","2733RPMSIW","locale","change:range","getFirstPosition","finally","root","deleteContent","importWord:","value","formatting","122856CNwDqT","converterUrl","stopListening","signal","model","303900SCcpzE","isAtStart","html","fire"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=197]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(707021===parseInt(r(238))/1*(-parseInt(r(232))/2)+parseInt(r(282))/3*(parseInt(r(242))/4)+-parseInt(r(297))/5+parseInt(r(259))/6+-parseInt(r(243))/7*(-parseInt(r(252))/8)+parseInt(r(210))/9*(parseInt(r(201))/10)+-parseInt(r(255))/11*(parseInt(r(292))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class m extends t.Command{constructor(t){const r=f;super(t),this[r(278)](r(239),!1),this[r(235)]=null,this[r(240)]=null,this[r(229)]=null,this.on(r(253),((e,n)=>{const i=r,s=new DataTransfer;s[i(244)](i(222),n[i(299)]);const o=this[i(235)][i(230)]();this[i(274)][i(296)][i(205)](this[i(240)],(r=>{const e=i;this[e(235)][e(294)](),r[e(276)](o),t[e(236)][e(267)][e(227)][e(300)](e(203),{dataTransfer:s})}))}),{priority:r(271)})}[d(216)](){const t=d;this[t(269)]=this[t(211)]()}[d(257)](t,r={}){const e=d;if(this[e(239)])return Promise[e(233)]();const n=this[e(274)][e(218)][e(275)](e(263));if(this[e(274)][e(258)][e(207)](e(256))){const{prefix:t,suffix:n}=this[e(274)][e(218)][e(275)](e(270));r[e(251)]={prefix:t,suffix:n}}const i={url:n[e(293)],file:t,serviceConfig:{...r,formatting:n[e(291)],timezone:(new(Intl[e(254)]))[e(268)]()[e(266)]}};return this[e(206)](),this[e(273)](i)[e(212)](this[e(225)][e(219)](this))[e(221)](this[e(224)][e(219)](this))[e(286)](this[e(198)][e(219)](this))}[d(211)](){const t=d;if(this[t(239)])return!1;const r=this[t(274)][t(296)],e=r[t(213)],n=r[t(227)][t(197)],i=(0,l.first)(n[t(260)]());return!!i&&e[t(208)](i[t(301)],t(264))}[d(206)](){const t=d,r=this[t(274)],e=r[t(296)],n=e[t(227)][t(197)];this[t(229)]=new AbortController,this[t(240)]=r[t(296)][t(200)]({isUndoable:!0}),e[t(205)](this[t(240)],(r=>{const i=t;n[i(249)]||e[i(288)](n,{leaveUnmerged:!0});const s=n[i(285)](),o=(0,l.first)(n[i(260)]());let a;a=o.is(i(215),i(264))&&o[i(204)]?s:s[i(298)]?e[i(217)](o):s[i(202)]?e[i(234)](o):r[i(209)](s)[i(214)],this[i(235)]=r[i(277)](i(289)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(235)].on(i(284),(()=>{const t=i;t(248)===this[t(235)][t(230)]()[t(287)][t(199)]&&this[t(229)][t(281)]()}))})),this[t(239)]=!0,this[t(216)]()}[d(198)](){const t=d,r=this[t(274)][t(296)];r[t(226)][t(207)](this[t(235)])&&r[t(205)](this[t(240)],(r=>{const e=t;r[e(241)](this[e(235)])})),this[t(235)]=null,this[t(240)]=null,this[t(229)]=null,this[t(239)]=!1,this[t(216)]()}[d(273)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(274)][n(258)][n(275)](n(247))[n(231)](),s=new FormData;s[n(278)](n(218),JSON[n(280)](e)),s[n(278)](n(245),r);const o={method:n(272),headers:{},body:s,signal:this[n(229)][n(295)]};return i&&(o[n(228)][n(223)]=i[n(290)]),fetch(t,o)}[d(225)](t){const r=d;return t.ok?t[r(262)]()[r(212)]((t=>{const e=r;this[e(274)][e(296)][e(226)][e(207)](this[e(235)])&&e(248)!==this[e(235)][e(230)]()[e(287)][e(199)]&&this[e(300)](e(253),t)})):Promise[r(265)]()}[d(224)](){const t=d;if(this[t(229)][t(295)][t(261)])return void(0,l.logWarning)(t(279));const r=this[t(274)],e=i(r[t(283)],t(237));r[t(258)][t(275)](t(250))[t(220)](e),(0,l.logError)(t(246))}}function g(){const t=["7983GlyGOO","config","init","ImportWordEditing","isOfficialPlugin","5373bEYBmV","isPremiumPlugin","970PkvGUq","tokenUrl","470ObjOsx","define","CloudServices","get","9875310yqDPfG","commands","_token","190afhaeL","getToken","https://docx-converter.cke-cs.com/v2/convert/docx-html","none","2413096pcBLuI","importWord","48724511tcqQoi","cloudServices","21jysuLv","1111469lcvMyR","registerTokenUrl","requires","add","73704JAxFPk","inline","token","plugins","editor","pluginName"];return(g=function(){return t})()}const I=v;function v(t,r){const e=g();return(v=function(t,r){return e[t-=286]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(893994===-parseInt(r(311))/1+parseInt(r(293))/2*(parseInt(r(291))/3)+parseInt(r(315))/4*(-parseInt(r(302))/5)+-parseInt(r(299))/6+parseInt(r(310))/7*(-parseInt(r(306))/8)+-parseInt(r(286))/9*(parseInt(r(295))/10)+parseInt(r(308))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(g);class w extends t.Plugin{static get[I(320)](){return I(289)}static get[I(290)](){return!0}static get[I(292)](){return!0}static get[I(313)](){const t=I;return[r.Notification,p.ClipboardPipeline,t(297)]}constructor(t){const r=I;super(t),this[r(301)]=null}async[I(288)](){const t=I,r=this[t(319)];r[t(287)][t(296)](t(307),{converterUrl:t(304),tokenUrl:(r[t(287)][t(298)](t(309))||{})[t(294)],formatting:{resets:t(305),defaults:t(305),styles:t(316)}}),r[t(300)][t(314)](t(307),new m(r));const{tokenUrl:e}=r[t(287)][t(298)](t(307));if(e){const{tokenUrl:n}=r[t(287)][t(298)](t(309))||{};this[t(301)]=e===n?r[t(318)][t(298)](t(297))[t(317)]:await r[t(318)][t(298)](t(297))[t(312)](e)}}[I(303)](){return this[I(301)]}}var y=b;function b(t,r){var e=x();return(b=function(t,r){return e[t-=373]})(t,r)}!function(t){for(var r=b,e=t();;)try{if(898709===parseInt(r(384))/1*(-parseInt(r(381))/2)+parseInt(r(382))/3+parseInt(r(374))/4*(parseInt(r(379))/5)+parseInt(r(383))/6+parseInt(r(373))/7*(parseInt(r(387))/8)+-parseInt(r(385))/9+-parseInt(r(388))/10*(parseInt(r(386))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class W extends t.Plugin{static get[y(377)](){return y(378)}static get[y(376)](){return!0}static get[y(380)](){return!0}static get[y(375)](){return[w,c]}}function x(){var t=["4152666CdtgbV","5754252cKyXSN","1nbrHLW","7483842sbQBLT","22784322gvTntR","792NBTFAl","10yCCcBn","78099lQKXJv","455944pjLRtg","requires","isOfficialPlugin","pluginName","ImportWord","20gUPvNl","isPremiumPlugin","204404kJVJTH"];return(x=function(){return t})()}function P(){var t=["254271xeiEGj","1477352prZJfH","1700410NFGSqU","4iPMyWZ","140090QNDrUV","291846FlhLod","4298370PsZRFY","673437EJcQZi","14svVNYk","693RRsIYT"];return(P=function(){return t})()}function T(t,r){var e=P();return(T=function(t,r){return e[t-=374]})(t,r)}!function(t){for(var r=T,e=t();;)try{if(387481===parseInt(r(380))/1+parseInt(r(378))/2+-parseInt(r(383))/3+-parseInt(r(376))/4*(parseInt(r(375))/5)+-parseInt(r(379))/6+parseInt(r(381))/7*(-parseInt(r(374))/8)+-parseInt(r(382))/9*(-parseInt(r(377))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
@@ -0,0 +1 @@
1
+ !function(o){const r=o.af=o.af||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.ast=o.ast||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.az=o.az||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.bs=o.bs||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o["de-ch"]=o["de-ch"]||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const n=o["en-gb"]=o["en-gb"]||{};n.dictionary=Object.assign(n.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.eo=o.eo||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o["es-co"]=o["es-co"]||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.eu=o.eu||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.fa=o.fa||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.gu=o.gu||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.hy=o.hy||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.jv=o.jv||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.kk=o.kk||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.km=o.km||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const n=o.kn=o.kn||{};n.dictionary=Object.assign(n.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.ku=o.ku||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const n=o.nb=o.nb||{};n.dictionary=Object.assign(n.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const n=o.ne=o.ne||{};n.dictionary=Object.assign(n.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.oc=o.oc||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const i=o.si=o.si||{};i.dictionary=Object.assign(i.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.sl=o.sl||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.sq=o.sq||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const i=o.ti=o.ti||{};i.dictionary=Object.assign(i.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.tk=o.tk||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.tt=o.tt||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.ur=o.ur||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(o){const r=o.uz=o.uz||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"","Import from Word":"","Importing Word document":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -31,6 +31,14 @@ export default class ImportWord extends Plugin {
31
31
  * @inheritDoc
32
32
  */
33
33
  static get pluginName(): "ImportWord";
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ static get isOfficialPlugin(): true;
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ static get isPremiumPlugin(): true;
34
42
  /**
35
43
  * @inheritDoc
36
44
  */
@@ -24,6 +24,14 @@ export default class ImportWordEditing extends Plugin {
24
24
  * @inheritDoc
25
25
  */
26
26
  static get pluginName(): "ImportWordEditing";
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isOfficialPlugin(): true;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ static get isPremiumPlugin(): true;
27
35
  /**
28
36
  * @inheritDoc
29
37
  */
@@ -19,6 +19,14 @@ export default class ImportWordUI extends Plugin {
19
19
  * @inheritDoc
20
20
  */
21
21
  static get pluginName(): "ImportWordUI";
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get isOfficialPlugin(): true;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get isPremiumPlugin(): true;
22
30
  /**
23
31
  * @inheritDoc
24
32
  */
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x55bb4e,Command as _0x395cc4}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x1b9c30,MenuBarMenuListItemFileDialogButtonView as _0x4c085e,SpinnerView as _0x3fc52c,Notification as _0x3434b7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0xc52c6b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0xa0d9e0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x38d8ae,uid as _0x1c960a,logWarning as _0x52b4b2,logError as _0x2bea33}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x2cafbd,_0x560a13){const t=_0x2cafbd['t'];switch(_0x560a13){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 _0x560a13;}}class o extends _0x55bb4e{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x2e991a=this['editor'];_0x2e991a['ui']['componentFactory']['add']('importWord',()=>{const _0x49cf31=this['_createButton'](_0x1b9c30),_0x65f000=_0x2e991a['commands']['get']('importWord');return _0x49cf31['bind']('isOn')['to'](_0x65f000,'isBusy'),_0x49cf31['tooltip']=!0x0,_0x49cf31;}),_0x2e991a['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x4c085e));}['_createButton'](_0x54e3be){const _0x44573e=this['editor'],_0x4630ba=_0x44573e['commands']['get']('importWord'),_0x3ec688=new _0x54e3be(_0x44573e['locale']),_0x31e856=new _0x3fc52c();return _0x3ec688['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x3ec688['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m14\x200\x205\x204.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M10.74\x2018a2.76\x202.76\x200\x200\x201-.469-.5H3V19h9.25v-.374A2.737\x202.737\x200\x200\x201\x2010.74\x2018Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.602.602\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001ZM11.674\x2015.407a.75.75\x200\x201\x200\x201.152.96L14\x2014.96V20h1.5v-5.04l1.174\x201.408a.75.75\x200\x201\x200\x201.152-.96l-2.346-2.816a.95.95\x200\x200\x200-1.46\x200l-2.346\x202.815Z\x22/></svg>\x0a'}),_0x3ec688['bind']('isEnabled')['to'](_0x4630ba),_0x3ec688['bind']('label')['to'](_0x4630ba,'isBusy',_0xa2be96=>p(_0x44573e['locale'],_0xa2be96?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x31e856['bind']('isVisible')['to'](_0x4630ba,'isBusy'),_0x3ec688['iconView']['bind']('isVisible')['to'](_0x4630ba,'isBusy',_0x2449c8=>!_0x2449c8),_0x3ec688['children']['add'](_0x31e856),_0x3ec688['on']('done',(_0x133036,_0x263430)=>{_0x44573e['execute']('importWord',_0x263430[0x0],{}),_0x44573e['editing']['view']['focus']();}),_0x3ec688;}}class d extends _0x395cc4{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x1fed45){super(_0x1fed45),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x394bfd,_0x4a1c5e)=>{const _0x33c66d=new DataTransfer();_0x33c66d['setData']('text/html',_0x4a1c5e['html']);const _0x5991c8=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x3c18d5=>{this['_importMarker']['stopListening'](),_0x3c18d5['setSelection'](_0x5991c8),_0x1fed45['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x33c66d});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x576285,_0x1702a8={}){if(this['isBusy'])return Promise['resolve']();const _0x2fe9b3=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0xae4f04,suffix:_0x197888}=this['editor']['config']['get']('mergeFields');_0x1702a8['merge_fields']={'prefix':_0xae4f04,'suffix':_0x197888};}const _0xdc135={'url':_0x2fe9b3['converterUrl'],'file':_0x576285,'serviceConfig':{..._0x1702a8,'formatting':_0x2fe9b3['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0xdc135)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x3d2df2=this['editor']['model'],_0x247d77=_0x3d2df2['schema'],_0x42ee45=_0x3d2df2['document']['selection'],_0x3a785f=_0x38d8ae(_0x42ee45['getSelectedBlocks']());return!!_0x3a785f&&_0x247d77['checkChild'](_0x3a785f['parent'],'paragraph');}['_prepareForImport'](){const _0x2b5730=this['editor'],_0x383a4a=_0x2b5730['model'],_0x58e459=_0x383a4a['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x2b5730['model']['createBatch']({'isUndoable':!0x0}),_0x383a4a['enqueueChange'](this['_undoStepBatch'],_0x174db6=>{_0x58e459['isCollapsed']||_0x383a4a['deleteContent'](_0x58e459,{'leaveUnmerged':!0x0});const _0xa87a9=_0x58e459['getFirstPosition'](),_0x24974f=_0x38d8ae(_0x58e459['getSelectedBlocks']());let _0x501436;_0x501436=_0x24974f['is']('element','paragraph')&&_0x24974f['isEmpty']?_0xa87a9:_0xa87a9['isAtStart']?_0x383a4a['createPositionBefore'](_0x24974f):_0xa87a9['isAtEnd']?_0x383a4a['createPositionAfter'](_0x24974f):_0x174db6['split'](_0xa87a9)['position'],this['_importMarker']=_0x174db6['addMarker']('importWord:'+_0x1c960a(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0xa0d9e0(_0x501436)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x53fdbf=this['editor']['model'];_0x53fdbf['markers']['has'](this['_importMarker'])&&_0x53fdbf['enqueueChange'](this['_undoStepBatch'],_0x1ff942=>{_0x1ff942['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x436a66,file:_0x80fb63,serviceConfig:_0x7d564b}){const _0x18b85e=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5e6104=new FormData();_0x5e6104['set']('config',JSON['stringify'](_0x7d564b)),_0x5e6104['set']('file',_0x80fb63);const _0x5b4f35={'method':'POST','headers':{},'body':_0x5e6104,'signal':this['_abortController']['signal']};return _0x18b85e&&(_0x5b4f35['headers']['Authorization']=_0x18b85e['value']),fetch(_0x436a66,_0x5b4f35);}['_handleImportResponse'](_0x5ac28e){return _0x5ac28e['ok']?_0x5ac28e['json']()['then'](_0x3e9d59=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x3e9d59);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x52b4b2('import-word-plugin-import-cancelled');const _0x10a549=this['editor'],_0x534dcc=p(_0x10a549['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x10a549['plugins']['get']('Notification')['showWarning'](_0x534dcc),_0x2bea33('import-word-plugin-conversion-failed');}}class e extends _0x55bb4e{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['requires'](){return[_0x3434b7,_0xc52c6b,'CloudServices'];}constructor(_0x3718ab){super(_0x3718ab),this['_token']=null;}async['init'](){const _0x4c2e3c=this['editor'];_0x4c2e3c['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x4c2e3c['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x4c2e3c['commands']['add']('importWord',new d(_0x4c2e3c));const {tokenUrl:_0x380518}=_0x4c2e3c['config']['get']('importWord');if(_0x380518){const {tokenUrl:_0x142586}=_0x4c2e3c['config']['get']('cloudServices')||{};this['_token']=_0x380518===_0x142586?_0x4c2e3c['plugins']['get']('CloudServices')['token']:await _0x4c2e3c['plugins']['get']('CloudServices')['registerTokenUrl'](_0x380518);}}['getToken'](){return this['_token'];}}class i extends _0x55bb4e{static get['pluginName'](){return'ImportWord';}static get['requires'](){return[e,o];}}export{i as ImportWord,e as ImportWordEditing,o as ImportWordUI};
23
+ import{Plugin as _0x56581b,Command as _0x3a9265}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x14c370,MenuBarMenuListItemFileDialogButtonView as _0x5d2447,SpinnerView as _0x17c7a5,Notification as _0x1798d8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x4eb0da}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x176931}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x164d70,uid as _0x429122,logWarning as _0xb7f5a7,logError as _0x32acea}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x40412,_0x4660c3){const t=_0x40412['t'];switch(_0x4660c3){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 _0x4660c3;}}class i extends _0x56581b{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x37f9f4=this['editor'];_0x37f9f4['ui']['componentFactory']['add']('importWord',()=>{const _0x2783b4=this['_createButton'](_0x14c370),_0x2dc92e=_0x37f9f4['commands']['get']('importWord');return _0x2783b4['bind']('isOn')['to'](_0x2dc92e,'isBusy'),_0x2783b4['tooltip']=!0x0,_0x2783b4;}),_0x37f9f4['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x5d2447));}['_createButton'](_0x2f5b18){const _0x1a239a=this['editor'],_0x1b4b28=_0x1a239a['commands']['get']('importWord'),_0xceb6e7=new _0x2f5b18(_0x1a239a['locale']),_0x373058=new _0x17c7a5();return _0xceb6e7['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0xceb6e7['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m14\x200\x205\x204.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M10.74\x2018a2.76\x202.76\x200\x200\x201-.469-.5H3V19h9.25v-.374A2.737\x202.737\x200\x200\x201\x2010.74\x2018Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.602.602\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001ZM11.674\x2015.407a.75.75\x200\x201\x200\x201.152.96L14\x2014.96V20h1.5v-5.04l1.174\x201.408a.75.75\x200\x201\x200\x201.152-.96l-2.346-2.816a.95.95\x200\x200\x200-1.46\x200l-2.346\x202.815Z\x22/></svg>\x0a'}),_0xceb6e7['bind']('isEnabled')['to'](_0x1b4b28),_0xceb6e7['bind']('label')['to'](_0x1b4b28,'isBusy',_0x306c26=>p(_0x1a239a['locale'],_0x306c26?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x373058['bind']('isVisible')['to'](_0x1b4b28,'isBusy'),_0xceb6e7['iconView']['bind']('isVisible')['to'](_0x1b4b28,'isBusy',_0x52c1ee=>!_0x52c1ee),_0xceb6e7['children']['add'](_0x373058),_0xceb6e7['on']('done',(_0x57a9c8,_0x27fd09)=>{_0x1a239a['execute']('importWord',_0x27fd09[0x0],{}),_0x1a239a['editing']['view']['focus']();}),_0xceb6e7;}}class d extends _0x3a9265{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x37f7e1){super(_0x37f7e1),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x18d7d0,_0x5d3097)=>{const _0x4170ec=new DataTransfer();_0x4170ec['setData']('text/html',_0x5d3097['html']);const _0x24c410=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x5a37ce=>{this['_importMarker']['stopListening'](),_0x5a37ce['setSelection'](_0x24c410),_0x37f7e1['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x4170ec});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3023b3,_0x4eaf8a={}){if(this['isBusy'])return Promise['resolve']();const _0x2c548b=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x8c2dcc,suffix:_0x33f00e}=this['editor']['config']['get']('mergeFields');_0x4eaf8a['merge_fields']={'prefix':_0x8c2dcc,'suffix':_0x33f00e};}const _0x1735e1={'url':_0x2c548b['converterUrl'],'file':_0x3023b3,'serviceConfig':{..._0x4eaf8a,'formatting':_0x2c548b['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x1735e1)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x4f1724=this['editor']['model'],_0x45acd9=_0x4f1724['schema'],_0x1e09bb=_0x4f1724['document']['selection'],_0x2f97a3=_0x164d70(_0x1e09bb['getSelectedBlocks']());return!!_0x2f97a3&&_0x45acd9['checkChild'](_0x2f97a3['parent'],'paragraph');}['_prepareForImport'](){const _0x205612=this['editor'],_0x352129=_0x205612['model'],_0x4ad327=_0x352129['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x205612['model']['createBatch']({'isUndoable':!0x0}),_0x352129['enqueueChange'](this['_undoStepBatch'],_0x19aad4=>{_0x4ad327['isCollapsed']||_0x352129['deleteContent'](_0x4ad327,{'leaveUnmerged':!0x0});const _0x3d16b0=_0x4ad327['getFirstPosition'](),_0x7b6b96=_0x164d70(_0x4ad327['getSelectedBlocks']());let _0x1a3331;_0x1a3331=_0x7b6b96['is']('element','paragraph')&&_0x7b6b96['isEmpty']?_0x3d16b0:_0x3d16b0['isAtStart']?_0x352129['createPositionBefore'](_0x7b6b96):_0x3d16b0['isAtEnd']?_0x352129['createPositionAfter'](_0x7b6b96):_0x19aad4['split'](_0x3d16b0)['position'],this['_importMarker']=_0x19aad4['addMarker']('importWord:'+_0x429122(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x176931(_0x1a3331)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x6d216f=this['editor']['model'];_0x6d216f['markers']['has'](this['_importMarker'])&&_0x6d216f['enqueueChange'](this['_undoStepBatch'],_0x3001d0=>{_0x3001d0['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x502f00,file:_0x5df181,serviceConfig:_0x4e063a}){const _0x4e4c95=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x58f56f=new FormData();_0x58f56f['set']('config',JSON['stringify'](_0x4e063a)),_0x58f56f['set']('file',_0x5df181);const _0x5cfb8d={'method':'POST','headers':{},'body':_0x58f56f,'signal':this['_abortController']['signal']};return _0x4e4c95&&(_0x5cfb8d['headers']['Authorization']=_0x4e4c95['value']),fetch(_0x502f00,_0x5cfb8d);}['_handleImportResponse'](_0x244a78){return _0x244a78['ok']?_0x244a78['json']()['then'](_0x50da95=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x50da95);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0xb7f5a7('import-word-plugin-import-cancelled');const _0x161939=this['editor'],_0x2fc037=p(_0x161939['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x161939['plugins']['get']('Notification')['showWarning'](_0x2fc037),_0x32acea('import-word-plugin-conversion-failed');}}class e extends _0x56581b{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1798d8,_0x4eb0da,'CloudServices'];}constructor(_0x51bdcc){super(_0x51bdcc),this['_token']=null;}async['init'](){const _0x50f97a=this['editor'];_0x50f97a['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x50f97a['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x50f97a['commands']['add']('importWord',new d(_0x50f97a));const {tokenUrl:_0x4e2d6e}=_0x50f97a['config']['get']('importWord');if(_0x4e2d6e){const {tokenUrl:_0x106af4}=_0x50f97a['config']['get']('cloudServices')||{};this['_token']=_0x4e2d6e===_0x106af4?_0x50f97a['plugins']['get']('CloudServices')['token']:await _0x50f97a['plugins']['get']('CloudServices')['registerTokenUrl'](_0x4e2d6e);}}['getToken'](){return this['_token'];}}class o extends _0x56581b{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[e,i];}}export{o as ImportWord,e as ImportWordEditing,i as ImportWordUI};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x67bc69=>0x1!=_0x67bc69}};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (_0x40f8ae=>{const {af:{dictionary:_0x3852f4,getPluralForm:_0x4246e3}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x31a3b6=>0x1!=_0x31a3b6}};_0x40f8ae['af']||={'dictionary':{},'getPluralForm':null},_0x40f8ae['af']['dictionary']=Object['assign'](_0x40f8ae['af']['dictionary'],_0x3852f4),_0x40f8ae['af']['getPluralForm']=_0x4246e3;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x59db72=>0x0==_0x59db72?0x0:0x1==_0x59db72?0x1:0x2==_0x59db72?0x2:_0x59db72%0x64>=0x3&&_0x59db72%0x64<=0xa?0x3:_0x59db72%0x64>=0xb&&_0x59db72%0x64<=0x63?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x1a8cfa=>0x0==_0x1a8cfa?0x0:0x1==_0x1a8cfa?0x1:0x2==_0x1a8cfa?0x2:_0x1a8cfa%0x64>=0x3&&_0x1a8cfa%0x64<=0xa?0x3:_0x1a8cfa%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xb91f49=>{const {ar:{dictionary:_0x56dffb,getPluralForm:_0x9bcfcb}}={'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0xccfa55=>0x0==_0xccfa55?0x0:0x1==_0xccfa55?0x1:0x2==_0xccfa55?0x2:_0xccfa55%0x64>=0x3&&_0xccfa55%0x64<=0xa?0x3:_0xccfa55%0x64>=0xb&&_0xccfa55%0x64<=0x63?0x4:0x5}};_0xb91f49['ar']||={'dictionary':{},'getPluralForm':null},_0xb91f49['ar']['dictionary']=Object['assign'](_0xb91f49['ar']['dictionary'],_0x56dffb),_0xb91f49['ar']['getPluralForm']=_0x9bcfcb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x317c0b=>{const {ar:{dictionary:_0x52287f,getPluralForm:_0x224a3f}}={'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x443fff=>0x0==_0x443fff?0x0:0x1==_0x443fff?0x1:0x2==_0x443fff?0x2:_0x443fff%0x64>=0x3&&_0x443fff%0x64<=0xa?0x3:_0x443fff%0x64>=0xb?0x4:0x5}};_0x317c0b['ar']||={'dictionary':{},'getPluralForm':null},_0x317c0b['ar']['dictionary']=Object['assign'](_0x317c0b['ar']['dictionary'],_0x52287f),_0x317c0b['ar']['getPluralForm']=_0x224a3f;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4e2c5c=>0x1!=_0x4e2c5c}};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (_0x4370b5=>{const {ast:{dictionary:_0x38bc14,getPluralForm:_0x3a8ace}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xd5cfc=>0x1!=_0xd5cfc}};_0x4370b5['ast']||={'dictionary':{},'getPluralForm':null},_0x4370b5['ast']['dictionary']=Object['assign'](_0x4370b5['ast']['dictionary'],_0x38bc14),_0x4370b5['ast']['getPluralForm']=_0x3a8ace;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x55120f=>0x1!=_0x55120f}};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (_0x33aa87=>{const {az:{dictionary:_0xfab277,getPluralForm:_0x477b17}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5d5be8=>0x1!=_0x5d5be8}};_0x33aa87['az']||={'dictionary':{},'getPluralForm':null},_0x33aa87['az']['dictionary']=Object['assign'](_0x33aa87['az']['dictionary'],_0xfab277),_0x33aa87['az']['getPluralForm']=_0x477b17;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x3d3b27=>0x1!=_0x3d3b27}};
23
+ export default{'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x2ea59d=>0x1!=_0x2ea59d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1c15d6=>{const {bg:{dictionary:_0x711324,getPluralForm:_0x23e782}}={'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x492319=>0x1!=_0x492319}};_0x1c15d6['bg']||={'dictionary':{},'getPluralForm':null},_0x1c15d6['bg']['dictionary']=Object['assign'](_0x1c15d6['bg']['dictionary'],_0x711324),_0x1c15d6['bg']['getPluralForm']=_0x23e782;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa8e277=>{const {bg:{dictionary:_0x5092fd,getPluralForm:_0x18a9a6}}={'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x5bc146=>0x1!=_0x5bc146}};_0xa8e277['bg']||={'dictionary':{},'getPluralForm':null},_0xa8e277['bg']['dictionary']=Object['assign'](_0xa8e277['bg']['dictionary'],_0x5092fd),_0xa8e277['bg']['getPluralForm']=_0x18a9a6;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x4d7dbe=>0x1!=_0x4d7dbe}};
23
+ export default{'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x134673=>0x1!=_0x134673}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x25dafb=>{const {bn:{dictionary:_0x43f3c5,getPluralForm:_0x109dfd}}={'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x5ce4ec=>0x1!=_0x5ce4ec}};_0x25dafb['bn']||={'dictionary':{},'getPluralForm':null},_0x25dafb['bn']['dictionary']=Object['assign'](_0x25dafb['bn']['dictionary'],_0x43f3c5),_0x25dafb['bn']['getPluralForm']=_0x109dfd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3a29bf=>{const {bn:{dictionary:_0x234edb,getPluralForm:_0x820058}}={'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x2c46cb=>0x1!=_0x2c46cb}};_0x3a29bf['bn']||={'dictionary':{},'getPluralForm':null},_0x3a29bf['bn']['dictionary']=Object['assign'](_0x3a29bf['bn']['dictionary'],_0x234edb),_0x3a29bf['bn']['getPluralForm']=_0x820058;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x535c02=>_0x535c02%0xa==0x1&&_0x535c02%0x64!=0xb?0x0:_0x535c02%0xa>=0x2&&_0x535c02%0xa<=0x4&&(_0x535c02%0x64<0xa||_0x535c02%0x64>=0x14)?0x1:0x2}};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (_0x459965=>{const {bs:{dictionary:_0x2e3985,getPluralForm:_0x2e03a0}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5c78d7=>_0x5c78d7%0xa==0x1&&_0x5c78d7%0x64!=0xb?0x0:_0x5c78d7%0xa>=0x2&&_0x5c78d7%0xa<=0x4&&(_0x5c78d7%0x64<0xa||_0x5c78d7%0x64>=0x14)?0x1:0x2}};_0x459965['bs']||={'dictionary':{},'getPluralForm':null},_0x459965['bs']['dictionary']=Object['assign'](_0x459965['bs']['dictionary'],_0x2e3985),_0x459965['bs']['getPluralForm']=_0x2e03a0;})(window['CKEDITOR_TRANSLATIONS']||={});