@ckeditor/ckeditor5-import-word 42.0.1 → 42.0.2-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 (145) hide show
  1. package/build/import-word.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/ar.d.ts +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/bg.d.ts +1 -1
  7. package/dist/translations/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.d.ts +1 -1
  10. package/dist/translations/bn.js +1 -1
  11. package/dist/translations/bn.umd.js +1 -1
  12. package/dist/translations/ca.d.ts +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.d.ts +1 -1
  16. package/dist/translations/cs.js +1 -1
  17. package/dist/translations/cs.umd.js +1 -1
  18. package/dist/translations/da.d.ts +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de.d.ts +1 -1
  22. package/dist/translations/de.js +1 -1
  23. package/dist/translations/de.umd.js +1 -1
  24. package/dist/translations/el.d.ts +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.d.ts +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en.d.ts +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es.d.ts +1 -1
  33. package/dist/translations/es.js +1 -1
  34. package/dist/translations/es.umd.js +1 -1
  35. package/dist/translations/et.d.ts +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fi.d.ts +1 -1
  39. package/dist/translations/fi.js +1 -1
  40. package/dist/translations/fi.umd.js +1 -1
  41. package/dist/translations/fr.d.ts +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.d.ts +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.d.ts +1 -1
  48. package/dist/translations/he.js +1 -1
  49. package/dist/translations/he.umd.js +1 -1
  50. package/dist/translations/hi.d.ts +1 -1
  51. package/dist/translations/hi.js +1 -1
  52. package/dist/translations/hi.umd.js +1 -1
  53. package/dist/translations/hr.d.ts +1 -1
  54. package/dist/translations/hr.js +1 -1
  55. package/dist/translations/hr.umd.js +1 -1
  56. package/dist/translations/hu.d.ts +1 -1
  57. package/dist/translations/hu.js +1 -1
  58. package/dist/translations/hu.umd.js +1 -1
  59. package/dist/translations/id.d.ts +1 -1
  60. package/dist/translations/id.js +1 -1
  61. package/dist/translations/id.umd.js +1 -1
  62. package/dist/translations/it.d.ts +1 -1
  63. package/dist/translations/it.js +1 -1
  64. package/dist/translations/it.umd.js +1 -1
  65. package/dist/translations/ja.d.ts +1 -1
  66. package/dist/translations/ja.js +1 -1
  67. package/dist/translations/ja.umd.js +1 -1
  68. package/dist/translations/ko.d.ts +1 -1
  69. package/dist/translations/ko.js +1 -1
  70. package/dist/translations/ko.umd.js +1 -1
  71. package/dist/translations/lt.d.ts +1 -1
  72. package/dist/translations/lt.js +1 -1
  73. package/dist/translations/lt.umd.js +1 -1
  74. package/dist/translations/lv.d.ts +1 -1
  75. package/dist/translations/lv.js +1 -1
  76. package/dist/translations/lv.umd.js +1 -1
  77. package/dist/translations/ms.d.ts +1 -1
  78. package/dist/translations/ms.js +1 -1
  79. package/dist/translations/ms.umd.js +1 -1
  80. package/dist/translations/nl.d.ts +1 -1
  81. package/dist/translations/nl.js +1 -1
  82. package/dist/translations/nl.umd.js +1 -1
  83. package/dist/translations/no.d.ts +1 -1
  84. package/dist/translations/no.js +1 -1
  85. package/dist/translations/no.umd.js +1 -1
  86. package/dist/translations/pl.d.ts +1 -1
  87. package/dist/translations/pl.js +1 -1
  88. package/dist/translations/pl.umd.js +1 -1
  89. package/dist/translations/pt-br.d.ts +1 -1
  90. package/dist/translations/pt-br.js +1 -1
  91. package/dist/translations/pt-br.umd.js +1 -1
  92. package/dist/translations/pt.d.ts +1 -1
  93. package/dist/translations/pt.js +1 -1
  94. package/dist/translations/pt.umd.js +1 -1
  95. package/dist/translations/ro.d.ts +1 -1
  96. package/dist/translations/ro.js +1 -1
  97. package/dist/translations/ro.umd.js +1 -1
  98. package/dist/translations/ru.d.ts +1 -1
  99. package/dist/translations/ru.js +1 -1
  100. package/dist/translations/ru.umd.js +1 -1
  101. package/dist/translations/sk.d.ts +1 -1
  102. package/dist/translations/sk.js +1 -1
  103. package/dist/translations/sk.umd.js +1 -1
  104. package/dist/translations/sr-latn.d.ts +1 -1
  105. package/dist/translations/sr-latn.js +1 -1
  106. package/dist/translations/sr-latn.umd.js +1 -1
  107. package/dist/translations/sr.d.ts +1 -1
  108. package/dist/translations/sr.js +1 -1
  109. package/dist/translations/sr.umd.js +1 -1
  110. package/dist/translations/sv.d.ts +1 -1
  111. package/dist/translations/sv.js +1 -1
  112. package/dist/translations/sv.umd.js +1 -1
  113. package/dist/translations/th.d.ts +1 -1
  114. package/dist/translations/th.js +1 -1
  115. package/dist/translations/th.umd.js +1 -1
  116. package/dist/translations/tr.d.ts +1 -1
  117. package/dist/translations/tr.js +1 -1
  118. package/dist/translations/tr.umd.js +1 -1
  119. package/dist/translations/ug.d.ts +1 -1
  120. package/dist/translations/ug.js +1 -1
  121. package/dist/translations/ug.umd.js +1 -1
  122. package/dist/translations/uk.d.ts +1 -1
  123. package/dist/translations/uk.js +1 -1
  124. package/dist/translations/uk.umd.js +1 -1
  125. package/dist/translations/vi.d.ts +1 -1
  126. package/dist/translations/vi.js +1 -1
  127. package/dist/translations/vi.umd.js +1 -1
  128. package/dist/translations/zh-cn.d.ts +1 -1
  129. package/dist/translations/zh-cn.js +1 -1
  130. package/dist/translations/zh-cn.umd.js +1 -1
  131. package/dist/translations/zh.d.ts +1 -1
  132. package/dist/translations/zh.js +1 -1
  133. package/dist/translations/zh.umd.js +1 -1
  134. package/package.json +7 -2
  135. package/src/importword.js +1 -1
  136. package/src/importwordcommand.js +1 -1
  137. package/src/importwordediting.js +1 -1
  138. package/src/importwordui.js +1 -1
  139. package/src/index.js +1 -1
  140. /package/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
  141. /package/dist/{types/importword.d.ts → importword.d.ts} +0 -0
  142. /package/dist/{types/importwordcommand.d.ts → importwordcommand.d.ts} +0 -0
  143. /package/dist/{types/importwordediting.d.ts → importwordediting.d.ts} +0 -0
  144. /package/dist/{types/importwordui.d.ts → importwordui.d.ts} +0 -0
  145. /package/dist/{types/index.d.ts → index.d.ts} +0 -0
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{ImportWord:()=>g,ImportWordEditing:()=>u,ImportWordUI:()=>n});var t=r(782),e=r(311);class n extends t.Plugin{static get pluginName(){return"ImportWordUI"}init(){const t=this.editor;t.ui.componentFactory.add("importWord",(()=>{const r=this._createButton(e.FileDialogButtonView),o=t.commands.get("importWord");return r.bind("isOn").to(o,"isBusy"),r.tooltip=!0,r})),t.ui.componentFactory.add("menuBar:importWord",(()=>this._createButton(e.MenuBarMenuListItemFileDialogButtonView)))}_createButton(t){const r=this.editor,o=r.locale.t,n=r.commands.get("importWord"),i=new t(r.locale),s=new e.SpinnerView;return i.set({acceptedType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template"}),i.set({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'}),i.bind("isEnabled").to(n),i.bind("label").to(n,"isBusy",(t=>o(t?"Importing Word document":"Import from Word"))),s.bind("isVisible").to(n,"isBusy"),i.iconView.bind("isVisible").to(n,"isBusy",(t=>!t)),i.children.add(s),i.on("done",((t,e)=>{r.execute("importWord",e[0],{}),r.editing.view.focus()})),i}}var i=r(331),s=r(783),a=r(584);class c extends t.Command{constructor(t){super(t),this.set("isBusy",!1),this._importMarker=null,this._undoStepBatch=null,this._abortController=null,this.on("dataInsert",((e,r)=>{const o=new DataTransfer;o.setData("text/html",r.html);const n=this._importMarker.getRange();this.editor.model.enqueueChange(this._undoStepBatch,(e=>{this._importMarker.stopListening(),e.setSelection(n),t.editing.view.document.fire("clipboardInput",{dataTransfer:o})}))}),{priority:"low"})}refresh(){this.isEnabled=this._checkEnabled()}execute(t,e={}){if(this.isBusy)return Promise.resolve();const r=this.editor.config.get("importWord"),o={url:r.converterUrl,file:t,serviceConfig:{...e,formatting:r.formatting}};return this._prepareForImport(),this._sendImportRequest(o).then(this._handleImportResponse.bind(this)).catch(this._handleImportFailure.bind(this)).finally(this._cleanUpAfterImport.bind(this))}_checkEnabled(){if(this.isBusy)return!1;const t=this.editor.model,e=t.schema,r=t.document.selection,o=(0,a.first)(r.getSelectedBlocks());return!!o&&e.checkChild(o.parent,"paragraph")}_prepareForImport(){const t=this.editor,e=t.model,r=e.document.selection;this._abortController=new AbortController,this._undoStepBatch=t.model.createBatch({isUndoable:!0}),e.enqueueChange(this._undoStepBatch,(t=>{r.isCollapsed||e.deleteContent(r,{leaveUnmerged:!0});const o=r.getFirstPosition(),n=(0,a.first)(r.getSelectedBlocks());let i;i=n.is("element","paragraph")&&n.isEmpty?o:o.isAtStart?e.createPositionBefore(n):o.isAtEnd?e.createPositionAfter(n):t.split(o).position,this._importMarker=t.addMarker("importWord:"+(0,a.uid)(),{usingOperation:!1,affectsData:!1,range:new s.Range(i)}),this._importMarker.on("change:range",(()=>{"$graveyard"===this._importMarker.getRange().root.rootName&&this._abortController.abort()}))})),this.isBusy=!0,this.refresh()}_cleanUpAfterImport(){const t=this.editor.model;t.markers.has(this._importMarker)&&t.enqueueChange(this._undoStepBatch,(t=>{t.removeMarker(this._importMarker)})),this._importMarker=null,this._undoStepBatch=null,this._abortController=null,this.isBusy=!1,this.refresh()}_sendImportRequest({url:t,file:e,serviceConfig:r}){const o=this.editor.plugins.get("ImportWordEditing").getToken(),n=new FormData;n.set("config",JSON.stringify(r)),n.set("file",e);const i={method:"POST",headers:{},body:n,signal:this._abortController.signal};return o&&(i.headers.Authorization=o.value),fetch(t,i)}_handleImportResponse(t){return t.ok?t.json().then((t=>{this.editor.model.markers.has(this._importMarker)&&"$graveyard"!==this._importMarker.getRange().root.rootName&&this.fire("dataInsert",t)})):Promise.reject()}_handleImportFailure(){if(this._abortController.signal.aborted)return void(0,a.logWarning)("import-word-plugin-import-cancelled");const t=this.editor,e=(0,t.t)("An error occurred while importing the Word file.");t.plugins.get("Notification").showWarning(e),(0,a.logError)("import-word-plugin-conversion-failed")}}function p(t,e){const r=l();return(p=function(t,e){return r[t-=249]})(t,e)}const d=p;function l(){const t=["tokenUrl","commands","init","2461010aZEcfR","4445VeepiG","importWord","pluginName","get","36SuoWdH","inline","none","ImportWordEditing","plugins","registerTokenUrl","editor","add","66jCwjvx","7768QvzXCK","CloudServices","612xRTAmB","1324862IttSBe","define","requires","392224KjwJOj","160fLoTGR","getToken","4087DQoVhR","204MSkozr","_token","config","token","696732tHpizO","cloudServices","https://docx-converter.cke-cs.com/v2/convert/docx-html"];return(l=function(){return t})()}!function(t,e){const r=p,o=t();for(;;)try{if(232975===-parseInt(r(257))/1*(parseInt(r(255))/2)+parseInt(r(258))/3*(-parseInt(r(282))/4)+-parseInt(r(269))/5*(-parseInt(r(250))/6)+-parseInt(r(251))/7+-parseInt(r(254))/8*(-parseInt(r(273))/9)+parseInt(r(268))/10+-parseInt(r(281))/11*(-parseInt(r(262))/12))break;o.push(o.shift())}catch(t){o.push(o.shift())}}(l);class u extends t.Plugin{static get[d(271)](){return d(276)}static get[d(253)](){const t=d;return[e.Notification,i.ClipboardPipeline,t(249)]}constructor(t){const e=d;super(t),this[e(259)]=null}async[d(267)](){const t=d,e=this[t(279)];e[t(260)][t(252)](t(270),{converterUrl:t(264),tokenUrl:(e[t(260)][t(272)](t(263))||{})[t(265)],formatting:{resets:t(275),defaults:t(275),styles:t(274)}}),e[t(266)][t(280)](t(270),new c(e));const{tokenUrl:r}=e[t(260)][t(272)](t(270));if(r){const{tokenUrl:o}=e[t(260)][t(272)](t(263))||{};this[t(259)]=r===o?e[t(277)][t(272)](t(249))[t(261)]:await e[t(277)][t(272)](t(249))[t(278)](r)}}[d(256)](){return this[d(259)]}}var h=m;function m(t,e){var r=f();return(m=function(t,e){return r[t-=302]})(t,e)}!function(t,e){for(var r=m,o=t();;)try{if(986292===parseInt(r(307))/1+-parseInt(r(311))/2+-parseInt(r(308))/3*(parseInt(r(306))/4)+-parseInt(r(309))/5*(-parseInt(r(310))/6)+-parseInt(r(313))/7+parseInt(r(312))/8*(parseInt(r(314))/9)+parseInt(r(304))/10)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(f);class g extends t.Plugin{static get[h(303)](){return h(302)}static get[h(305)](){return[u,n]}}function f(){var t=["1657600OLaVmK","14037957TFOFYp","ImportWord","pluginName","9292720OaHAAm","requires","172pTpzLL","124188iQpaOA","115026RqTiff","356780mMyKdo","126PchFeG","2479822rKYAHn","8CQGZVM"];return(f=function(){return t})()}function I(t,e){var r=v();return(I=function(t,e){return r[t-=418]})(t,e)}function v(){var t=["9sIjtEy","1416drvvOE","1038gKXkCh","640528VhBQAL","2840852cHuOiN","66oNqEyh","74435GlBMET","1227832PJgKcS","239260XNxtyC","219570pdKqcV"];return(v=function(){return t})()}!function(t,e){for(var r=I,o=t();;)try{if(206289===parseInt(r(423))/1+-parseInt(r(427))/2*(-parseInt(r(426))/3)+parseInt(r(418))/4+-parseInt(r(421))/5*(parseInt(r(420))/6)+-parseInt(r(419))/7+parseInt(r(422))/8*(parseInt(r(425))/9)+-parseInt(r(424))/10)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(v)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=o})();
5
+ */(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{ImportWord:()=>f,ImportWordEditing:()=>u,ImportWordUI:()=>n});var t=r(782),e=r(311);class n extends t.Plugin{static get pluginName(){return"ImportWordUI"}init(){const t=this.editor;t.ui.componentFactory.add("importWord",(()=>{const r=this._createButton(e.FileDialogButtonView),o=t.commands.get("importWord");return r.bind("isOn").to(o,"isBusy"),r.tooltip=!0,r})),t.ui.componentFactory.add("menuBar:importWord",(()=>this._createButton(e.MenuBarMenuListItemFileDialogButtonView)))}_createButton(t){const r=this.editor,o=r.locale.t,n=r.commands.get("importWord"),i=new t(r.locale),s=new e.SpinnerView;return i.set({acceptedType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template"}),i.set({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'}),i.bind("isEnabled").to(n),i.bind("label").to(n,"isBusy",(t=>o(t?"Importing Word document":"Import from Word"))),s.bind("isVisible").to(n,"isBusy"),i.iconView.bind("isVisible").to(n,"isBusy",(t=>!t)),i.children.add(s),i.on("done",((t,e)=>{r.execute("importWord",e[0],{}),r.editing.view.focus()})),i}}var i=r(331),s=r(783),a=r(584);class c extends t.Command{constructor(t){super(t),this.set("isBusy",!1),this._importMarker=null,this._undoStepBatch=null,this._abortController=null,this.on("dataInsert",((e,r)=>{const o=new DataTransfer;o.setData("text/html",r.html);const n=this._importMarker.getRange();this.editor.model.enqueueChange(this._undoStepBatch,(e=>{this._importMarker.stopListening(),e.setSelection(n),t.editing.view.document.fire("clipboardInput",{dataTransfer:o})}))}),{priority:"low"})}refresh(){this.isEnabled=this._checkEnabled()}execute(t,e={}){if(this.isBusy)return Promise.resolve();const r=this.editor.config.get("importWord"),o={url:r.converterUrl,file:t,serviceConfig:{...e,formatting:r.formatting}};return this._prepareForImport(),this._sendImportRequest(o).then(this._handleImportResponse.bind(this)).catch(this._handleImportFailure.bind(this)).finally(this._cleanUpAfterImport.bind(this))}_checkEnabled(){if(this.isBusy)return!1;const t=this.editor.model,e=t.schema,r=t.document.selection,o=(0,a.first)(r.getSelectedBlocks());return!!o&&e.checkChild(o.parent,"paragraph")}_prepareForImport(){const t=this.editor,e=t.model,r=e.document.selection;this._abortController=new AbortController,this._undoStepBatch=t.model.createBatch({isUndoable:!0}),e.enqueueChange(this._undoStepBatch,(t=>{r.isCollapsed||e.deleteContent(r,{leaveUnmerged:!0});const o=r.getFirstPosition(),n=(0,a.first)(r.getSelectedBlocks());let i;i=n.is("element","paragraph")&&n.isEmpty?o:o.isAtStart?e.createPositionBefore(n):o.isAtEnd?e.createPositionAfter(n):t.split(o).position,this._importMarker=t.addMarker("importWord:"+(0,a.uid)(),{usingOperation:!1,affectsData:!1,range:new s.Range(i)}),this._importMarker.on("change:range",(()=>{"$graveyard"===this._importMarker.getRange().root.rootName&&this._abortController.abort()}))})),this.isBusy=!0,this.refresh()}_cleanUpAfterImport(){const t=this.editor.model;t.markers.has(this._importMarker)&&t.enqueueChange(this._undoStepBatch,(t=>{t.removeMarker(this._importMarker)})),this._importMarker=null,this._undoStepBatch=null,this._abortController=null,this.isBusy=!1,this.refresh()}_sendImportRequest({url:t,file:e,serviceConfig:r}){const o=this.editor.plugins.get("ImportWordEditing").getToken(),n=new FormData;n.set("config",JSON.stringify(r)),n.set("file",e);const i={method:"POST",headers:{},body:n,signal:this._abortController.signal};return o&&(i.headers.Authorization=o.value),fetch(t,i)}_handleImportResponse(t){return t.ok?t.json().then((t=>{this.editor.model.markers.has(this._importMarker)&&"$graveyard"!==this._importMarker.getRange().root.rootName&&this.fire("dataInsert",t)})):Promise.reject()}_handleImportFailure(){if(this._abortController.signal.aborted)return void(0,a.logWarning)("import-word-plugin-import-cancelled");const t=this.editor,e=(0,t.t)("An error occurred while importing the Word file.");t.plugins.get("Notification").showWarning(e),(0,a.logError)("import-word-plugin-conversion-failed")}}const d=l;function l(t,e){const r=p();return(l=function(t,e){return r[t-=211]})(t,e)}function p(){const t=["5831005uBTrKX","add","editor","plugins","2113191CGbKbJ","inline","337148HNoTdq","1058602YUvtbo","cloudServices","ImportWordEditing","requires","registerTokenUrl","pluginName","tokenUrl","132RVGhak","2548520RLiaTZ","importWord","_token","none","commands","176cPwwrX","get","https://docx-converter.cke-cs.com/v2/convert/docx-html","define","CloudServices","594568DnnMNj","9VezvXU","getToken","16gYibeV","init","config","token","684110piqltQ"];return(p=function(){return t})()}!function(t){const e=l,r=t();for(;;)try{if(796951===-parseInt(e(215))/1+-parseInt(e(233))/2*(-parseInt(e(234))/3)+-parseInt(e(223))/4+parseInt(e(241))/5+parseInt(e(222))/6*(parseInt(e(214))/7)+parseInt(e(236))/8*(parseInt(e(212))/9)+-parseInt(e(240))/10*(parseInt(e(228))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(p);class u extends t.Plugin{static get[d(220)](){return d(217)}static get[d(218)](){const t=d;return[e.Notification,i.ClipboardPipeline,t(232)]}constructor(t){const e=d;super(t),this[e(225)]=null}async[d(237)](){const t=d,e=this[t(243)];e[t(238)][t(231)](t(224),{converterUrl:t(230),tokenUrl:(e[t(238)][t(229)](t(216))||{})[t(221)],formatting:{resets:t(226),defaults:t(226),styles:t(213)}}),e[t(227)][t(242)](t(224),new c(e));const{tokenUrl:r}=e[t(238)][t(229)](t(224));if(r){const{tokenUrl:o}=e[t(238)][t(229)](t(216))||{};this[t(225)]=r===o?e[t(211)][t(229)](t(232))[t(239)]:await e[t(211)][t(229)](t(232))[t(219)](r)}}[d(235)](){return this[d(225)]}}var h=g;function m(){var t=["requires","563088LHvycW","124458oXpQDS","904dagqXF","42gxkIjA","517296mSEhfm","ImportWord","9237mlHgdV","29034126rfqbuN","8fzJbrX","16218jnYAhh","7440TWGKYI","6213190CMsJTC","pluginName"];return(m=function(){return t})()}function g(t,e){var r=m();return(g=function(t,e){return r[t-=235]})(t,e)}!function(t){for(var e=g,r=t();;)try{if(752588===parseInt(e(245))/1*(-parseInt(e(238))/2)+parseInt(e(236))/3*(parseInt(e(246))/4)+-parseInt(e(241))/5+-parseInt(e(244))/6*(-parseInt(e(247))/7)+-parseInt(e(248))/8+parseInt(e(239))/9*(-parseInt(e(240))/10)+parseInt(e(237))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(m);class f extends t.Plugin{static get[h(242)](){return h(235)}static get[h(243)](){return[u,n]}}function I(t,e){var r=v();return(I=function(t,e){return r[t-=238]})(t,e)}function v(){var t=["298965KHOQXn","117438WbBqNm","15TgEyUx","667996azTfUB","513044gutHYK","3917232tIrfSW","118781cSRJIQ","250748YlDcqx"];return(v=function(){return t})()}!function(t){for(var e=I,r=t();;)try{if(114184===-parseInt(e(242))/1+parseInt(e(243))/2+-parseInt(e(244))/3+-parseInt(e(240))/4+-parseInt(e(238))/5*(parseInt(e(245))/6)+-parseInt(e(239))/7+parseInt(e(241))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=o})();
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xd0e1d6,Command as _0x597675}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x2962a9,MenuBarMenuListItemFileDialogButtonView as _0x5beece,SpinnerView as _0x1f763a,Notification as _0x3036db}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x344e4a}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x2c1487}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x20736e,uid as _0x5ab67d,logWarning as _0x331145,logError as _0xfc6c34}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0xd0e1d6{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x558747=this['editor'];_0x558747['ui']['componentFactory']['add']('importWord',()=>{const _0x169e73=this['_createButton'](_0x2962a9),_0x25d212=_0x558747['commands']['get']('importWord');return _0x169e73['bind']('isOn')['to'](_0x25d212,'isBusy'),_0x169e73['tooltip']=!0x0,_0x169e73;}),_0x558747['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x5beece));}['_createButton'](_0x426b45){const _0x55584e=this['editor'],t=_0x55584e['locale']['t'],_0x1d568b=_0x55584e['commands']['get']('importWord'),_0x4772a7=new _0x426b45(_0x55584e['locale']),_0x30b4c1=new _0x1f763a();return _0x4772a7['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x4772a7['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'}),_0x4772a7['bind']('isEnabled')['to'](_0x1d568b),_0x4772a7['bind']('label')['to'](_0x1d568b,'isBusy',_0x10a7f0=>t(_0x10a7f0?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x30b4c1['bind']('isVisible')['to'](_0x1d568b,'isBusy'),_0x4772a7['iconView']['bind']('isVisible')['to'](_0x1d568b,'isBusy',_0x456e10=>!_0x456e10),_0x4772a7['children']['add'](_0x30b4c1),_0x4772a7['on']('done',(_0x2113e2,_0x311fe4)=>{_0x55584e['execute']('importWord',_0x311fe4[0x0],{}),_0x55584e['editing']['view']['focus']();}),_0x4772a7;}}class d extends _0x597675{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x1e7a36){super(_0x1e7a36),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x538c4a,_0x2de83f)=>{const _0x5d6c5f=new DataTransfer();_0x5d6c5f['setData']('text/html',_0x2de83f['html']);const _0x5dce02=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x23e122=>{this['_importMarker']['stopListening'](),_0x23e122['setSelection'](_0x5dce02),_0x1e7a36['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x5d6c5f});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x180a84,_0x488a02={}){if(this['isBusy'])return Promise['resolve']();const _0x4cf3f7=this['editor']['config']['get']('importWord'),_0x31ce67={'url':_0x4cf3f7['converterUrl'],'file':_0x180a84,'serviceConfig':{..._0x488a02,'formatting':_0x4cf3f7['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x31ce67)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x9ee1a5=this['editor']['model'],_0x3a0ca6=_0x9ee1a5['schema'],_0x28c00e=_0x9ee1a5['document']['selection'],_0x40dcb7=_0x20736e(_0x28c00e['getSelectedBlocks']());return!!_0x40dcb7&&_0x3a0ca6['checkChild'](_0x40dcb7['parent'],'paragraph');}['_prepareForImport'](){const _0x39a04a=this['editor'],_0x3176d5=_0x39a04a['model'],_0x35e33b=_0x3176d5['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x39a04a['model']['createBatch']({'isUndoable':!0x0}),_0x3176d5['enqueueChange'](this['_undoStepBatch'],_0x23103f=>{_0x35e33b['isCollapsed']||_0x3176d5['deleteContent'](_0x35e33b,{'leaveUnmerged':!0x0});const _0x34424c=_0x35e33b['getFirstPosition'](),_0x5cdef6=_0x20736e(_0x35e33b['getSelectedBlocks']());let _0x3589d8;_0x3589d8=_0x5cdef6['is']('element','paragraph')&&_0x5cdef6['isEmpty']?_0x34424c:_0x34424c['isAtStart']?_0x3176d5['createPositionBefore'](_0x5cdef6):_0x34424c['isAtEnd']?_0x3176d5['createPositionAfter'](_0x5cdef6):_0x23103f['split'](_0x34424c)['position'],this['_importMarker']=_0x23103f['addMarker']('importWord:'+_0x5ab67d(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x2c1487(_0x3589d8)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x1fac14=this['editor']['model'];_0x1fac14['markers']['has'](this['_importMarker'])&&_0x1fac14['enqueueChange'](this['_undoStepBatch'],_0xc893df=>{_0xc893df['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0xe0b96d,file:_0x390caa,serviceConfig:_0x231561}){const _0x8eb14c=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x50b30e=new FormData();_0x50b30e['set']('config',JSON['stringify'](_0x231561)),_0x50b30e['set']('file',_0x390caa);const _0x4ee896={'method':'POST','headers':{},'body':_0x50b30e,'signal':this['_abortController']['signal']};return _0x8eb14c&&(_0x4ee896['headers']['Authorization']=_0x8eb14c['value']),fetch(_0xe0b96d,_0x4ee896);}['_handleImportResponse'](_0x29d1fa){return _0x29d1fa['ok']?_0x29d1fa['json']()['then'](_0x137a9a=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x137a9a);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x331145('import-word-plugin-import-cancelled');const _0x2ce7c7=this['editor'],_0x1d2d72=(0x0,_0x2ce7c7['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x2ce7c7['plugins']['get']('Notification')['showWarning'](_0x1d2d72),_0xfc6c34('import-word-plugin-conversion-failed');}}class e extends _0xd0e1d6{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['requires'](){return[_0x3036db,_0x344e4a,'CloudServices'];}constructor(_0x2a41ca){super(_0x2a41ca),this['_token']=null;}async['init'](){const _0x5423ce=this['editor'];_0x5423ce['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x5423ce['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x5423ce['commands']['add']('importWord',new d(_0x5423ce));const {tokenUrl:_0x193e5c}=_0x5423ce['config']['get']('importWord');if(_0x193e5c){const {tokenUrl:_0x371c0e}=_0x5423ce['config']['get']('cloudServices')||{};this['_token']=_0x193e5c===_0x371c0e?_0x5423ce['plugins']['get']('CloudServices')['token']:await _0x5423ce['plugins']['get']('CloudServices')['registerTokenUrl'](_0x193e5c);}}['getToken'](){return this['_token'];}}class i extends _0xd0e1d6{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 _0x4f16fc,Command as _0x55fc23}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x21e195,MenuBarMenuListItemFileDialogButtonView as _0x26c4f9,SpinnerView as _0x22045c,Notification as _0x1f709e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x4b8a29}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x13dc59}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5f4aee,uid as _0x1befce,logWarning as _0x1fd27c,logError as _0x18531d}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0x4f16fc{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x1277dd=this['editor'];_0x1277dd['ui']['componentFactory']['add']('importWord',()=>{const _0x23bfe8=this['_createButton'](_0x21e195),_0x50e6c0=_0x1277dd['commands']['get']('importWord');return _0x23bfe8['bind']('isOn')['to'](_0x50e6c0,'isBusy'),_0x23bfe8['tooltip']=!0x0,_0x23bfe8;}),_0x1277dd['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x26c4f9));}['_createButton'](_0x2d84d5){const _0x32f6c5=this['editor'],t=_0x32f6c5['locale']['t'],_0x336e81=_0x32f6c5['commands']['get']('importWord'),_0x14d5f4=new _0x2d84d5(_0x32f6c5['locale']),_0x4d16cf=new _0x22045c();return _0x14d5f4['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x14d5f4['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'}),_0x14d5f4['bind']('isEnabled')['to'](_0x336e81),_0x14d5f4['bind']('label')['to'](_0x336e81,'isBusy',_0x50ad59=>t(_0x50ad59?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x4d16cf['bind']('isVisible')['to'](_0x336e81,'isBusy'),_0x14d5f4['iconView']['bind']('isVisible')['to'](_0x336e81,'isBusy',_0x38107d=>!_0x38107d),_0x14d5f4['children']['add'](_0x4d16cf),_0x14d5f4['on']('done',(_0x3bfae4,_0x1c5db1)=>{_0x32f6c5['execute']('importWord',_0x1c5db1[0x0],{}),_0x32f6c5['editing']['view']['focus']();}),_0x14d5f4;}}class d extends _0x55fc23{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x32c716){super(_0x32c716),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x3e37be,_0x52ff7c)=>{const _0x5d671f=new DataTransfer();_0x5d671f['setData']('text/html',_0x52ff7c['html']);const _0x4c8573=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x9a06dd=>{this['_importMarker']['stopListening'](),_0x9a06dd['setSelection'](_0x4c8573),_0x32c716['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x5d671f});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x22950f,_0x5f1177={}){if(this['isBusy'])return Promise['resolve']();const _0x1077fe=this['editor']['config']['get']('importWord'),_0x527b1d={'url':_0x1077fe['converterUrl'],'file':_0x22950f,'serviceConfig':{..._0x5f1177,'formatting':_0x1077fe['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x527b1d)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x32935e=this['editor']['model'],_0x23da3d=_0x32935e['schema'],_0x5599ef=_0x32935e['document']['selection'],_0x342b9a=_0x5f4aee(_0x5599ef['getSelectedBlocks']());return!!_0x342b9a&&_0x23da3d['checkChild'](_0x342b9a['parent'],'paragraph');}['_prepareForImport'](){const _0x224d93=this['editor'],_0x5a8b24=_0x224d93['model'],_0x1e6c67=_0x5a8b24['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x224d93['model']['createBatch']({'isUndoable':!0x0}),_0x5a8b24['enqueueChange'](this['_undoStepBatch'],_0xe0fdba=>{_0x1e6c67['isCollapsed']||_0x5a8b24['deleteContent'](_0x1e6c67,{'leaveUnmerged':!0x0});const _0x16960b=_0x1e6c67['getFirstPosition'](),_0x1cd07d=_0x5f4aee(_0x1e6c67['getSelectedBlocks']());let _0x190b79;_0x190b79=_0x1cd07d['is']('element','paragraph')&&_0x1cd07d['isEmpty']?_0x16960b:_0x16960b['isAtStart']?_0x5a8b24['createPositionBefore'](_0x1cd07d):_0x16960b['isAtEnd']?_0x5a8b24['createPositionAfter'](_0x1cd07d):_0xe0fdba['split'](_0x16960b)['position'],this['_importMarker']=_0xe0fdba['addMarker']('importWord:'+_0x1befce(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x13dc59(_0x190b79)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x4c2cf1=this['editor']['model'];_0x4c2cf1['markers']['has'](this['_importMarker'])&&_0x4c2cf1['enqueueChange'](this['_undoStepBatch'],_0x51d43f=>{_0x51d43f['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x87b339,file:_0x277648,serviceConfig:_0x211726}){const _0x2fc005=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5be4f1=new FormData();_0x5be4f1['set']('config',JSON['stringify'](_0x211726)),_0x5be4f1['set']('file',_0x277648);const _0x28ccc0={'method':'POST','headers':{},'body':_0x5be4f1,'signal':this['_abortController']['signal']};return _0x2fc005&&(_0x28ccc0['headers']['Authorization']=_0x2fc005['value']),fetch(_0x87b339,_0x28ccc0);}['_handleImportResponse'](_0x4bd63c){return _0x4bd63c['ok']?_0x4bd63c['json']()['then'](_0x3c1502=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x3c1502);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x1fd27c('import-word-plugin-import-cancelled');const _0x2160f6=this['editor'],_0x50d630=(0x0,_0x2160f6['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x2160f6['plugins']['get']('Notification')['showWarning'](_0x50d630),_0x18531d('import-word-plugin-conversion-failed');}}class e extends _0x4f16fc{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['requires'](){return[_0x1f709e,_0x4b8a29,'CloudServices'];}constructor(_0x100be0){super(_0x100be0),this['_token']=null;}async['init'](){const _0x2b8022=this['editor'];_0x2b8022['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x2b8022['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x2b8022['commands']['add']('importWord',new d(_0x2b8022));const {tokenUrl:_0x1a9ed1}=_0x2b8022['config']['get']('importWord');if(_0x1a9ed1){const {tokenUrl:_0x32ad30}=_0x2b8022['config']['get']('cloudServices')||{};this['_token']=_0x1a9ed1===_0x32ad30?_0x2b8022['plugins']['get']('CloudServices')['token']:await _0x2b8022['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1a9ed1);}}['getToken'](){return this['_token'];}}class i extends _0x4f16fc{static get['pluginName'](){return'ImportWord';}static get['requires'](){return[e,o];}}export{i as ImportWord,e as ImportWordEditing,o as ImportWordUI};
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default 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':_0x180992=>0x0==_0x180992?0x0:0x1==_0x180992?0x1:0x2==_0x180992?0x2:_0x180992%0x64>=0x3&&_0x180992%0x64<=0xa?0x3:_0x180992%0x64>=0xb&&_0x180992%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':_0x1ff409=>0x0==_0x1ff409?0x0:0x1==_0x1ff409?0x1:0x2==_0x1ff409?0x2:_0x1ff409%0x64>=0x3&&_0x1ff409%0x64<=0xa?0x3:_0x1ff409%0x64>=0xb&&_0x1ff409%0x64<=0x63?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x546bc0=>{const {ar:{dictionary:_0x4f44e3,getPluralForm:_0x3dda96}}={'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':_0x117f1c=>0x0==_0x117f1c?0x0:0x1==_0x117f1c?0x1:0x2==_0x117f1c?0x2:_0x117f1c%0x64>=0x3&&_0x117f1c%0x64<=0xa?0x3:_0x117f1c%0x64>=0xb&&_0x117f1c%0x64<=0x63?0x4:0x5}};_0x546bc0['ar']||={'dictionary':{},'getPluralForm':null},_0x546bc0['ar']['dictionary']=Object['assign'](_0x546bc0['ar']['dictionary'],_0x4f44e3),_0x546bc0['ar']['getPluralForm']=_0x3dda96;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x49dee6=>{const {ar:{dictionary:_0x3c2800,getPluralForm:_0x39ea6e}}={'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':_0x1312db=>0x0==_0x1312db?0x0:0x1==_0x1312db?0x1:0x2==_0x1312db?0x2:_0x1312db%0x64>=0x3&&_0x1312db%0x64<=0xa?0x3:_0x1312db%0x64>=0xb&&_0x1312db%0x64<=0x63?0x4:0x5}};_0x49dee6['ar']||={'dictionary':{},'getPluralForm':null},_0x49dee6['ar']['dictionary']=Object['assign'](_0x49dee6['ar']['dictionary'],_0x3c2800),_0x49dee6['ar']['getPluralForm']=_0x39ea6e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default 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':_0xbf692d=>0x1!=_0xbf692d}};
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':_0x1b2ee4=>0x1!=_0x1b2ee4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x314df9=>{const {bg:{dictionary:_0x54b8db,getPluralForm:_0x4ff7bc}}={'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':_0x55f43c=>0x1!=_0x55f43c}};_0x314df9['bg']||={'dictionary':{},'getPluralForm':null},_0x314df9['bg']['dictionary']=Object['assign'](_0x314df9['bg']['dictionary'],_0x54b8db),_0x314df9['bg']['getPluralForm']=_0x4ff7bc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f8a7c=>{const {bg:{dictionary:_0x21e1d5,getPluralForm:_0x3cfc70}}={'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':_0x384f26=>0x1!=_0x384f26}};_0x4f8a7c['bg']||={'dictionary':{},'getPluralForm':null},_0x4f8a7c['bg']['dictionary']=Object['assign'](_0x4f8a7c['bg']['dictionary'],_0x21e1d5),_0x4f8a7c['bg']['getPluralForm']=_0x3cfc70;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default 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':_0x3e25fe=>0x1!=_0x3e25fe}};
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':_0x30bd15=>0x1!=_0x30bd15}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x29a985=>{const {bn:{dictionary:_0x41d675,getPluralForm:_0x1e60ae}}={'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':_0x3608a1=>0x1!=_0x3608a1}};_0x29a985['bn']||={'dictionary':{},'getPluralForm':null},_0x29a985['bn']['dictionary']=Object['assign'](_0x29a985['bn']['dictionary'],_0x41d675),_0x29a985['bn']['getPluralForm']=_0x1e60ae;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19e91a=>{const {bn:{dictionary:_0xff34f1,getPluralForm:_0x41f8a2}}={'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':_0x4243c5=>0x1!=_0x4243c5}};_0x19e91a['bn']||={'dictionary':{},'getPluralForm':null},_0x19e91a['bn']['dictionary']=Object['assign'](_0x19e91a['bn']['dictionary'],_0xff34f1),_0x19e91a['bn']['getPluralForm']=_0x41f8a2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x409fc7=>0x1!=_0x409fc7}};
23
+ export default{'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x392a83=>0x1!=_0x392a83}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x8ce6bc=>{const {ca:{dictionary:_0xea406b,getPluralForm:_0x3232d7}}={'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x2e3f64=>0x1!=_0x2e3f64}};_0x8ce6bc['ca']||={'dictionary':{},'getPluralForm':null},_0x8ce6bc['ca']['dictionary']=Object['assign'](_0x8ce6bc['ca']['dictionary'],_0xea406b),_0x8ce6bc['ca']['getPluralForm']=_0x3232d7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f0460=>{const {ca:{dictionary:_0x3194f2,getPluralForm:_0x360378}}={'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x1e5468=>0x1!=_0x1e5468}};_0x4f0460['ca']||={'dictionary':{},'getPluralForm':null},_0x4f0460['ca']['dictionary']=Object['assign'](_0x4f0460['ca']['dictionary'],_0x3194f2),_0x4f0460['ca']['getPluralForm']=_0x360378;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x4c42ed=>0x1==_0x4c42ed&&_0x4c42ed%0x1==0x0?0x0:_0x4c42ed>=0x2&&_0x4c42ed<=0x4&&_0x4c42ed%0x1==0x0?0x1:_0x4c42ed%0x1!=0x0?0x2:0x3}};
23
+ export default{'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x42b364=>0x1==_0x42b364&&_0x42b364%0x1==0x0?0x0:_0x42b364>=0x2&&_0x42b364<=0x4&&_0x42b364%0x1==0x0?0x1:_0x42b364%0x1!=0x0?0x2:0x3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13da5b=>{const {cs:{dictionary:_0x512b55,getPluralForm:_0x2027af}}={'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x2f2852=>0x1==_0x2f2852&&_0x2f2852%0x1==0x0?0x0:_0x2f2852>=0x2&&_0x2f2852<=0x4&&_0x2f2852%0x1==0x0?0x1:_0x2f2852%0x1!=0x0?0x2:0x3}};_0x13da5b['cs']||={'dictionary':{},'getPluralForm':null},_0x13da5b['cs']['dictionary']=Object['assign'](_0x13da5b['cs']['dictionary'],_0x512b55),_0x13da5b['cs']['getPluralForm']=_0x2027af;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x25e96f=>{const {cs:{dictionary:_0x11f7ef,getPluralForm:_0x50849b}}={'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x490ad0=>0x1==_0x490ad0&&_0x490ad0%0x1==0x0?0x0:_0x490ad0>=0x2&&_0x490ad0<=0x4&&_0x490ad0%0x1==0x0?0x1:_0x490ad0%0x1!=0x0?0x2:0x3}};_0x25e96f['cs']||={'dictionary':{},'getPluralForm':null},_0x25e96f['cs']['dictionary']=Object['assign'](_0x25e96f['cs']['dictionary'],_0x11f7ef),_0x25e96f['cs']['getPluralForm']=_0x50849b;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x4cc12e=>0x1!=_0x4cc12e}};
23
+ export default{'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x5d783=>0x1!=_0x5d783}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x238db4=>{const {da:{dictionary:_0xab4a56,getPluralForm:_0x2d95dc}}={'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x3d013a=>0x1!=_0x3d013a}};_0x238db4['da']||={'dictionary':{},'getPluralForm':null},_0x238db4['da']['dictionary']=Object['assign'](_0x238db4['da']['dictionary'],_0xab4a56),_0x238db4['da']['getPluralForm']=_0x2d95dc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x513d52=>{const {da:{dictionary:_0x3245b5,getPluralForm:_0x50d5c2}}={'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x28b922=>0x1!=_0x28b922}};_0x513d52['da']||={'dictionary':{},'getPluralForm':null},_0x513d52['da']['dictionary']=Object['assign'](_0x513d52['da']['dictionary'],_0x3245b5),_0x513d52['da']['getPluralForm']=_0x50d5c2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x43f8c1=>0x1!=_0x43f8c1}};
23
+ export default{'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x562ee7=>0x1!=_0x562ee7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e91ad=>{const {de:{dictionary:_0x561a31,getPluralForm:_0x544453}}={'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x3a146e=>0x1!=_0x3a146e}};_0x5e91ad['de']||={'dictionary':{},'getPluralForm':null},_0x5e91ad['de']['dictionary']=Object['assign'](_0x5e91ad['de']['dictionary'],_0x561a31),_0x5e91ad['de']['getPluralForm']=_0x544453;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x54ba34=>{const {de:{dictionary:_0x520d70,getPluralForm:_0x28805a}}={'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x5b1528=>0x1!=_0x5b1528}};_0x54ba34['de']||={'dictionary':{},'getPluralForm':null},_0x54ba34['de']['dictionary']=Object['assign'](_0x54ba34['de']['dictionary'],_0x520d70),_0x54ba34['de']['getPluralForm']=_0x28805a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0x3abcf7=>0x1!=_0x3abcf7}};
23
+ export default{'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0x1ba550=>0x1!=_0x1ba550}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x418889=>{const {el:{dictionary:_0x5bed3a,getPluralForm:_0x38abfe}}={'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0x19180e=>0x1!=_0x19180e}};_0x418889['el']||={'dictionary':{},'getPluralForm':null},_0x418889['el']['dictionary']=Object['assign'](_0x418889['el']['dictionary'],_0x5bed3a),_0x418889['el']['getPluralForm']=_0x38abfe;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37523b=>{const {el:{dictionary:_0x481188,getPluralForm:_0x29e5f1}}={'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0x4aa1d7=>0x1!=_0x4aa1d7}};_0x37523b['el']||={'dictionary':{},'getPluralForm':null},_0x37523b['el']['dictionary']=Object['assign'](_0x37523b['el']['dictionary'],_0x481188),_0x37523b['el']['getPluralForm']=_0x29e5f1;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0x4d3322=>0x1!=_0x4d3322}};
23
+ export default{'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0x3d9a2e=>0x1!=_0x3d9a2e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x40c2b4=>{const {'en-au':{dictionary:_0x414787,getPluralForm:_0x2d62c0}}={'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0x3e9001=>0x1!=_0x3e9001}};_0x40c2b4['en-au']||={'dictionary':{},'getPluralForm':null},_0x40c2b4['en-au']['dictionary']=Object['assign'](_0x40c2b4['en-au']['dictionary'],_0x414787),_0x40c2b4['en-au']['getPluralForm']=_0x2d62c0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x396661=>{const {'en-au':{dictionary:_0x11bbbe,getPluralForm:_0xf84763}}={'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0xcf1e76=>0x1!=_0xcf1e76}};_0x396661['en-au']||={'dictionary':{},'getPluralForm':null},_0x396661['en-au']['dictionary']=Object['assign'](_0x396661['en-au']['dictionary'],_0x11bbbe),_0x396661['en-au']['getPluralForm']=_0xf84763;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13f80b=>{const {en:{dictionary:_0x20489f,getPluralForm:_0x452a99}}={'en':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':null}};_0x13f80b['en']||={'dictionary':{},'getPluralForm':null},_0x13f80b['en']['dictionary']=Object['assign'](_0x13f80b['en']['dictionary'],_0x20489f),_0x13f80b['en']['getPluralForm']=_0x452a99;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1caaa0=>{const {en:{dictionary:_0x55bbc7,getPluralForm:_0x50733c}}={'en':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':null}};_0x1caaa0['en']||={'dictionary':{},'getPluralForm':null},_0x1caaa0['en']['dictionary']=Object['assign'](_0x1caaa0['en']['dictionary'],_0x55bbc7),_0x1caaa0['en']['getPluralForm']=_0x50733c;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x5a4676=>0x1==_0x5a4676?0x0:0x0!=_0x5a4676&&_0x5a4676%0xf4240==0x0?0x1:0x2}};
23
+ export default{'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x369c60=>0x1==_0x369c60?0x0:0x0!=_0x369c60&&_0x369c60%0xf4240==0x0?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2440c4=>{const {es:{dictionary:_0x4242dc,getPluralForm:_0x25b137}}={'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x146001=>0x1==_0x146001?0x0:0x0!=_0x146001&&_0x146001%0xf4240==0x0?0x1:0x2}};_0x2440c4['es']||={'dictionary':{},'getPluralForm':null},_0x2440c4['es']['dictionary']=Object['assign'](_0x2440c4['es']['dictionary'],_0x4242dc),_0x2440c4['es']['getPluralForm']=_0x25b137;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1cc358=>{const {es:{dictionary:_0x5449a0,getPluralForm:_0x36960d}}={'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x1bc568=>0x1==_0x1bc568?0x0:0x0!=_0x1bc568&&_0x1bc568%0xf4240==0x0?0x1:0x2}};_0x1cc358['es']||={'dictionary':{},'getPluralForm':null},_0x1cc358['es']['dictionary']=Object['assign'](_0x1cc358['es']['dictionary'],_0x5449a0),_0x1cc358['es']['getPluralForm']=_0x36960d;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x19beb3=>0x1!=_0x19beb3}};
23
+ export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x1b89f0=>0x1!=_0x1b89f0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x955160=>{const {et:{dictionary:_0x306b14,getPluralForm:_0x287fbe}}={'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x4adb3b=>0x1!=_0x4adb3b}};_0x955160['et']||={'dictionary':{},'getPluralForm':null},_0x955160['et']['dictionary']=Object['assign'](_0x955160['et']['dictionary'],_0x306b14),_0x955160['et']['getPluralForm']=_0x287fbe;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x88c4a2=>{const {et:{dictionary:_0x26cee6,getPluralForm:_0x241db5}}={'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x130a3c=>0x1!=_0x130a3c}};_0x88c4a2['et']||={'dictionary':{},'getPluralForm':null},_0x88c4a2['et']['dictionary']=Object['assign'](_0x88c4a2['et']['dictionary'],_0x26cee6),_0x88c4a2['et']['getPluralForm']=_0x241db5;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':_0x1241fb=>0x1!=_0x1241fb}};
23
+ export default{'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':_0x5372fa=>0x1!=_0x5372fa}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13c37a=>{const {fi:{dictionary:_0x134681,getPluralForm:_0x3a54ce}}={'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':_0x3a532c=>0x1!=_0x3a532c}};_0x13c37a['fi']||={'dictionary':{},'getPluralForm':null},_0x13c37a['fi']['dictionary']=Object['assign'](_0x13c37a['fi']['dictionary'],_0x134681),_0x13c37a['fi']['getPluralForm']=_0x3a54ce;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x306b0b=>{const {fi:{dictionary:_0x1420de,getPluralForm:_0x3ae3be}}={'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.','Importing\x20Word\x20document':'Tuodaan\x20Word-asiakirja'},'getPluralForm':_0x16869a=>0x1!=_0x16869a}};_0x306b0b['fi']||={'dictionary':{},'getPluralForm':null},_0x306b0b['fi']['dictionary']=Object['assign'](_0x306b0b['fi']['dictionary'],_0x1420de),_0x306b0b['fi']['getPluralForm']=_0x3ae3be;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.','Importing\x20Word\x20document':'Importation\x20d\x27un\x20document\x20Word'},'getPluralForm':_0x3b567b=>0x0==_0x3b567b||0x1==_0x3b567b?0x0:0x0!=_0x3b567b&&_0x3b567b%0xf4240==0x0?0x1:0x2}};
23
+ export default{'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.','Importing\x20Word\x20document':'Importation\x20d\x27un\x20document\x20Word'},'getPluralForm':_0x5f1aec=>0x0==_0x5f1aec||0x1==_0x5f1aec?0x0:0x0!=_0x5f1aec&&_0x5f1aec%0xf4240==0x0?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x50003a=>{const {fr:{dictionary:_0x3966b3,getPluralForm:_0x387323}}={'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.','Importing\x20Word\x20document':'Importation\x20d\x27un\x20document\x20Word'},'getPluralForm':_0xed989b=>0x0==_0xed989b||0x1==_0xed989b?0x0:0x0!=_0xed989b&&_0xed989b%0xf4240==0x0?0x1:0x2}};_0x50003a['fr']||={'dictionary':{},'getPluralForm':null},_0x50003a['fr']['dictionary']=Object['assign'](_0x50003a['fr']['dictionary'],_0x3966b3),_0x50003a['fr']['getPluralForm']=_0x387323;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x54b6e3=>{const {fr:{dictionary:_0x259dba,getPluralForm:_0x17b953}}={'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.','Importing\x20Word\x20document':'Importation\x20d\x27un\x20document\x20Word'},'getPluralForm':_0x47c553=>0x0==_0x47c553||0x1==_0x47c553?0x0:0x0!=_0x47c553&&_0x47c553%0xf4240==0x0?0x1:0x2}};_0x54b6e3['fr']||={'dictionary':{},'getPluralForm':null},_0x54b6e3['fr']['dictionary']=Object['assign'](_0x54b6e3['fr']['dictionary'],_0x259dba),_0x54b6e3['fr']['getPluralForm']=_0x17b953;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'gl':{'dictionary':{'Import\x20from\x20Word':'Importar\x20dende\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Produciuse\x20un\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20de\x20Word.','Importing\x20Word\x20document':''},'getPluralForm':_0x3b5b36=>0x1!=_0x3b5b36}};
23
+ export default{'gl':{'dictionary':{'Import\x20from\x20Word':'Importar\x20dende\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Produciuse\x20un\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20de\x20Word.','Importing\x20Word\x20document':''},'getPluralForm':_0xfa2932=>0x1!=_0xfa2932}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x55ff7b=>{const {gl:{dictionary:_0xdf071d,getPluralForm:_0x1d7834}}={'gl':{'dictionary':{'Import\x20from\x20Word':'Importar\x20dende\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Produciuse\x20un\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20de\x20Word.','Importing\x20Word\x20document':''},'getPluralForm':_0xee74f1=>0x1!=_0xee74f1}};_0x55ff7b['gl']||={'dictionary':{},'getPluralForm':null},_0x55ff7b['gl']['dictionary']=Object['assign'](_0x55ff7b['gl']['dictionary'],_0xdf071d),_0x55ff7b['gl']['getPluralForm']=_0x1d7834;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3e8041=>{const {gl:{dictionary:_0x3c75d6,getPluralForm:_0x14edbf}}={'gl':{'dictionary':{'Import\x20from\x20Word':'Importar\x20dende\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Produciuse\x20un\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20de\x20Word.','Importing\x20Word\x20document':''},'getPluralForm':_0x156ea1=>0x1!=_0x156ea1}};_0x3e8041['gl']||={'dictionary':{},'getPluralForm':null},_0x3e8041['gl']['dictionary']=Object['assign'](_0x3e8041['gl']['dictionary'],_0x3c75d6),_0x3e8041['gl']['getPluralForm']=_0x14edbf;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'he':{'dictionary':{'Import\x20from\x20Word':'ייבוא\x20מ-Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'אירעה\x20שגיאה\x20בעת\x20ייבוא\x20קובץ\x20ה-Word.','Importing\x20Word\x20document':'מייבא\x20מסמך\x20וורד'},'getPluralForm':_0xe4f921=>0x1==_0xe4f921&&_0xe4f921%0x1==0x0?0x0:0x2==_0xe4f921&&_0xe4f921%0x1==0x0?0x1:0x2}};
23
+ export default{'he':{'dictionary':{'Import\x20from\x20Word':'ייבוא\x20מ-Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'אירעה\x20שגיאה\x20בעת\x20ייבוא\x20קובץ\x20ה-Word.','Importing\x20Word\x20document':'מייבא\x20מסמך\x20וורד'},'getPluralForm':_0x463bc2=>0x1==_0x463bc2&&_0x463bc2%0x1==0x0?0x0:0x2==_0x463bc2&&_0x463bc2%0x1==0x0?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x53f85f=>{const {he:{dictionary:_0x12a8eb,getPluralForm:_0xe121d5}}={'he':{'dictionary':{'Import\x20from\x20Word':'ייבוא\x20מ-Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'אירעה\x20שגיאה\x20בעת\x20ייבוא\x20קובץ\x20ה-Word.','Importing\x20Word\x20document':'מייבא\x20מסמך\x20וורד'},'getPluralForm':_0x7b05b4=>0x1==_0x7b05b4&&_0x7b05b4%0x1==0x0?0x0:0x2==_0x7b05b4&&_0x7b05b4%0x1==0x0?0x1:0x2}};_0x53f85f['he']||={'dictionary':{},'getPluralForm':null},_0x53f85f['he']['dictionary']=Object['assign'](_0x53f85f['he']['dictionary'],_0x12a8eb),_0x53f85f['he']['getPluralForm']=_0xe121d5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3d68e9=>{const {he:{dictionary:_0x24133b,getPluralForm:_0x270f41}}={'he':{'dictionary':{'Import\x20from\x20Word':'ייבוא\x20מ-Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'אירעה\x20שגיאה\x20בעת\x20ייבוא\x20קובץ\x20ה-Word.','Importing\x20Word\x20document':'מייבא\x20מסמך\x20וורד'},'getPluralForm':_0x3869de=>0x1==_0x3869de&&_0x3869de%0x1==0x0?0x0:0x2==_0x3869de&&_0x3869de%0x1==0x0?0x1:0x2}};_0x3d68e9['he']||={'dictionary':{},'getPluralForm':null},_0x3d68e9['he']['dictionary']=Object['assign'](_0x3d68e9['he']['dictionary'],_0x24133b),_0x3d68e9['he']['getPluralForm']=_0x270f41;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -3,6 +3,6 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
 
6
- import type { Translations } from 'ckeditor5';
6
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
7
  declare const translations: Translations;
8
8
  export default translations;