@ckeditor/ckeditor5-import-word 41.3.0 → 41.4.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 (105) hide show
  1. package/build/import-word.js +1 -1
  2. package/dist/index-content.css +4 -0
  3. package/dist/index-editor.css +4 -0
  4. package/dist/index.css +4 -0
  5. package/dist/index.js +23 -0
  6. package/dist/translations/ar.d.ts +8 -0
  7. package/dist/translations/ar.js +23 -0
  8. package/dist/translations/bg.d.ts +8 -0
  9. package/dist/translations/bg.js +23 -0
  10. package/dist/translations/bn.d.ts +8 -0
  11. package/dist/translations/bn.js +23 -0
  12. package/dist/translations/ca.d.ts +8 -0
  13. package/dist/translations/ca.js +23 -0
  14. package/dist/translations/cs.d.ts +8 -0
  15. package/dist/translations/cs.js +23 -0
  16. package/dist/translations/da.d.ts +8 -0
  17. package/dist/translations/da.js +23 -0
  18. package/dist/translations/de.d.ts +8 -0
  19. package/dist/translations/de.js +23 -0
  20. package/dist/translations/el.d.ts +8 -0
  21. package/dist/translations/el.js +23 -0
  22. package/dist/translations/en-au.d.ts +8 -0
  23. package/dist/translations/en-au.js +23 -0
  24. package/dist/translations/en.d.ts +8 -0
  25. package/dist/translations/en.js +23 -0
  26. package/dist/translations/es.d.ts +8 -0
  27. package/dist/translations/es.js +23 -0
  28. package/dist/translations/et.d.ts +8 -0
  29. package/dist/translations/et.js +23 -0
  30. package/dist/translations/fi.d.ts +8 -0
  31. package/dist/translations/fi.js +23 -0
  32. package/dist/translations/fr.d.ts +8 -0
  33. package/dist/translations/fr.js +23 -0
  34. package/dist/translations/gl.d.ts +8 -0
  35. package/dist/translations/gl.js +23 -0
  36. package/dist/translations/he.d.ts +8 -0
  37. package/dist/translations/he.js +23 -0
  38. package/dist/translations/hi.d.ts +8 -0
  39. package/dist/translations/hi.js +23 -0
  40. package/dist/translations/hr.d.ts +8 -0
  41. package/dist/translations/hr.js +23 -0
  42. package/dist/translations/hu.d.ts +8 -0
  43. package/dist/translations/hu.js +23 -0
  44. package/dist/translations/id.d.ts +8 -0
  45. package/dist/translations/id.js +23 -0
  46. package/dist/translations/it.d.ts +8 -0
  47. package/dist/translations/it.js +23 -0
  48. package/dist/translations/ja.d.ts +8 -0
  49. package/dist/translations/ja.js +23 -0
  50. package/dist/translations/ko.d.ts +8 -0
  51. package/dist/translations/ko.js +23 -0
  52. package/dist/translations/lt.d.ts +8 -0
  53. package/dist/translations/lt.js +23 -0
  54. package/dist/translations/lv.d.ts +8 -0
  55. package/dist/translations/lv.js +23 -0
  56. package/dist/translations/ms.d.ts +8 -0
  57. package/dist/translations/ms.js +23 -0
  58. package/dist/translations/nl.d.ts +8 -0
  59. package/dist/translations/nl.js +23 -0
  60. package/dist/translations/no.d.ts +8 -0
  61. package/dist/translations/no.js +23 -0
  62. package/dist/translations/pl.d.ts +8 -0
  63. package/dist/translations/pl.js +23 -0
  64. package/dist/translations/pt-br.d.ts +8 -0
  65. package/dist/translations/pt-br.js +23 -0
  66. package/dist/translations/pt.d.ts +8 -0
  67. package/dist/translations/pt.js +23 -0
  68. package/dist/translations/ro.d.ts +8 -0
  69. package/dist/translations/ro.js +23 -0
  70. package/dist/translations/ru.d.ts +8 -0
  71. package/dist/translations/ru.js +23 -0
  72. package/dist/translations/sk.d.ts +8 -0
  73. package/dist/translations/sk.js +23 -0
  74. package/dist/translations/sr-latn.d.ts +8 -0
  75. package/dist/translations/sr-latn.js +23 -0
  76. package/dist/translations/sr.d.ts +8 -0
  77. package/dist/translations/sr.js +23 -0
  78. package/dist/translations/sv.d.ts +8 -0
  79. package/dist/translations/sv.js +23 -0
  80. package/dist/translations/th.d.ts +8 -0
  81. package/dist/translations/th.js +23 -0
  82. package/dist/translations/tr.d.ts +8 -0
  83. package/dist/translations/tr.js +23 -0
  84. package/dist/translations/ug.d.ts +8 -0
  85. package/dist/translations/ug.js +23 -0
  86. package/dist/translations/uk.d.ts +8 -0
  87. package/dist/translations/uk.js +23 -0
  88. package/dist/translations/vi.d.ts +8 -0
  89. package/dist/translations/vi.js +23 -0
  90. package/dist/translations/zh-cn.d.ts +8 -0
  91. package/dist/translations/zh-cn.js +23 -0
  92. package/dist/translations/zh.d.ts +8 -0
  93. package/dist/translations/zh.js +23 -0
  94. package/dist/types/augmentation.d.ts +27 -0
  95. package/dist/types/importword.d.ts +128 -0
  96. package/dist/types/importwordcommand.d.ts +58 -0
  97. package/dist/types/importwordediting.d.ts +43 -0
  98. package/dist/types/importwordui.d.ts +26 -0
  99. package/dist/types/index.d.ts +16 -0
  100. package/package.json +3 -2
  101. package/src/importword.js +1 -1
  102. package/src/importwordcommand.js +1 -1
  103. package/src/importwordediting.js +1 -1
  104. package/src/importwordui.js +1 -1
  105. package/src/index.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,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({label:o("Import from Word"),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),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 p=d;function l(){const t=["7680726LcpoMS","pluginName","6mrvaKU","519187MGTAuZ","ImportWordEditing","5492100kVuzao","config","token","2PVwsnk","CloudServices","get","none","140776MwvWal","16819VIUWpy","add","inline","init","7630PFclZx","importWord","https://docx-converter.cke-cs.com/v2/convert/docx-html","commands","6947227ATdkbq","6TgLQEA","editor","_token","23737512UbFkAH","8jrTfWc","cloudServices","plugins","requires","registerTokenUrl","define","tokenUrl","getToken"];return(l=function(){return t})()}function d(t,e){const r=l();return(d=function(t,e){return r[t-=440]})(t,e)}!function(t,e){const r=d,o=t();for(;;)try{if(649257===-parseInt(r(460))/1*(-parseInt(r(465))/2)+parseInt(r(445))/3*(-parseInt(r(469))/4)+-parseInt(r(462))/5+parseInt(r(459))/6*(-parseInt(r(444))/7)+-parseInt(r(449))/8*(parseInt(r(457))/9)+-parseInt(r(440))/10*(-parseInt(r(470))/11)+parseInt(r(448))/12)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(l);class u extends t.Plugin{static get[p(458)](){return p(461)}static get[p(452)](){const t=p;return[e.Notification,i.ClipboardPipeline,t(466)]}constructor(t){const e=p;super(t),this[e(447)]=null}async[p(473)](){const t=p,e=this[t(446)];e[t(463)][t(454)](t(441),{converterUrl:t(442),tokenUrl:(e[t(463)][t(467)](t(450))||{})[t(455)],formatting:{resets:t(468),defaults:t(468),styles:t(472)}}),e[t(443)][t(471)](t(441),new c(e));const{tokenUrl:r}=e[t(463)][t(467)](t(441));if(r){const{tokenUrl:o}=e[t(463)][t(467)](t(450))||{};this[t(447)]=r===o?e[t(451)][t(467)](t(466))[t(464)]:await e[t(451)][t(467)](t(466))[t(453)](r)}}[p(456)](){return this[p(447)]}}function h(){var t=["1152422bePpQZ","357387wPmLxh","28563315tLCRPi","30DJoYeF","535105SDPGHk","pluginName","requires","1265661gTNwDx","44mApJVj","ImportWord","1043HcXCSB","2208912KticxT","4LIpsjB","8328yywpvD"];return(h=function(){return t})()}function m(t,e){var r=h();return(m=function(t,e){return r[t-=470]})(t,e)}var g=m;!function(t,e){for(var r=m,o=t();;)try{if(606176===parseInt(r(483))/1+-parseInt(r(481))/2*(-parseInt(r(470))/3)+parseInt(r(477))/4*(parseInt(r(473))/5)+parseInt(r(480))/6+-parseInt(r(479))/7*(parseInt(r(482))/8)+-parseInt(r(476))/9*(-parseInt(r(472))/10)+-parseInt(r(471))/11)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(h);class f extends t.Plugin{static get[g(474)](){return g(478)}static get[g(475)](){return[u,n]}}function I(){var t=["18506213qETZWP","150WGmhZh","984kBJIkb","10377CRLrET","3700BXhctK","24606vGGYlY","6308190hwiHpr","100675YbTarx","70PquJiE","3544TiBdEb","6456840PDzwEg"];return(I=function(){return t})()}function v(t,e){var r=I();return(v=function(t,e){return r[t-=130]})(t,e)}!function(t,e){for(var r=v,o=t();;)try{if(692774===parseInt(r(130))/1*(parseInt(r(134))/2)+parseInt(r(140))/3*(parseInt(r(139))/4)+parseInt(r(133))/5*(-parseInt(r(138))/6)+-parseInt(r(132))/7+-parseInt(r(135))/8*(parseInt(r(131))/9)+parseInt(r(136))/10+parseInt(r(137))/11)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(I)})(),(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({label:o("Import from Word"),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),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 l=p;function p(t,e){const r=d();return(p=function(t,e){return r[t-=420]})(t,e)}function d(){const t=["requires","4208939lvRkWP","1000359MAdceu","159414jwHdxl","6oDCuZt","cloudServices","2sEBIyZ","_token","importWord","22003980NOKWWE","init","none","16qrCHmR","registerTokenUrl","token","https://docx-converter.cke-cs.com/v2/convert/docx-html","tokenUrl","plugins","inline","add","commands","get","7619598yLgjzW","593995BEnPyU","define","editor","CloudServices","config","ImportWordEditing","10790376RKjFRS","getToken","pluginName"];return(d=function(){return t})()}!function(t,e){const r=p,o=t();for(;;)try{if(795789===-parseInt(r(428))/1+parseInt(r(431))/2*(parseInt(r(427))/3)+-parseInt(r(437))/4*(parseInt(r(448))/5)+parseInt(r(429))/6*(-parseInt(r(426))/7)+-parseInt(r(422))/8+parseInt(r(447))/9+parseInt(r(434))/10)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(d);class u extends t.Plugin{static get[l(424)](){return l(421)}static get[l(425)](){const t=l;return[e.Notification,i.ClipboardPipeline,t(451)]}constructor(t){const e=l;super(t),this[e(432)]=null}async[l(435)](){const t=l,e=this[t(450)];e[t(420)][t(449)](t(433),{converterUrl:t(440),tokenUrl:(e[t(420)][t(446)](t(430))||{})[t(441)],formatting:{resets:t(436),defaults:t(436),styles:t(443)}}),e[t(445)][t(444)](t(433),new c(e));const{tokenUrl:r}=e[t(420)][t(446)](t(433));if(r){const{tokenUrl:o}=e[t(420)][t(446)](t(430))||{};this[t(432)]=r===o?e[t(442)][t(446)](t(451))[t(439)]:await e[t(442)][t(446)](t(451))[t(438)](r)}}[l(423)](){return this[l(432)]}}function h(t,e){var r=g();return(h=function(t,e){return r[t-=453]})(t,e)}var m=h;function g(){var t=["pluginName","2854164dUKxbq","requires","822dgTLPl","187BEyZmt","200yXhdbb","3331790OscXjO","17932nxzGKJ","1687887kHrjSu","100JYrpqm","365751GaRSQI","ImportWord","32090WIiSKl","7171661uPVZrX"];return(g=function(){return t})()}!function(t,e){for(var r=h,o=t();;)try{if(571509===parseInt(r(461))/1*(-parseInt(r(459))/2)+-parseInt(r(460))/3+-parseInt(r(453))/4+parseInt(r(464))/5*(-parseInt(r(455))/6)+-parseInt(r(465))/7+-parseInt(r(457))/8*(parseInt(r(462))/9)+parseInt(r(458))/10*(parseInt(r(456))/11))break;o.push(o.shift())}catch(t){o.push(o.shift())}}(g);class f extends t.Plugin{static get[m(466)](){return m(463)}static get[m(454)](){return[u,n]}}function I(t,e){var r=v();return(I=function(t,e){return r[t-=175]})(t,e)}function v(){var t=["186SwYWsr","21avAzce","9505023DQVuAw","24TrBFIv","3104470Kakorq","3768565hyndmf","11792NtVtCH","699024OjSIdm","18GJhOXF","1622298RQtpAV","70646RjmTXZ"];return(v=function(){return t})()}!function(t,e){for(var r=I,o=t();;)try{if(424517===parseInt(r(181))/1*(-parseInt(r(177))/2)+parseInt(r(178))/3*(-parseInt(r(184))/4)+-parseInt(r(183))/5+parseInt(r(176))/6*(parseInt(r(179))/7)+-parseInt(r(185))/8+parseInt(r(175))/9*(parseInt(r(182))/10)+parseInt(r(180))/11)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(v)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=o})();
@@ -0,0 +1,4 @@
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
+ */
@@ -0,0 +1,4 @@
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
+ */
package/dist/index.css ADDED
@@ -0,0 +1,4 @@
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
+ */
package/dist/index.js ADDED
@@ -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
+ import{Plugin as _0xe87229,Command as _0x1e1490}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0xfc2d78,MenuBarMenuListItemFileDialogButtonView as _0x3eeb27,SpinnerView as _0x576fe7,Notification as _0x17d8fa}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x5f0fb9}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x276f22}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5c8a76,uid as _0x40f35f,logWarning as _0x2d0485,logError as _0x39500d}from'@ckeditor/ckeditor5-utils/dist/index.js';class o extends _0xe87229{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x42af2e=this['editor'];_0x42af2e['ui']['componentFactory']['add']('importWord',()=>{const _0x3280b6=this['_createButton'](_0xfc2d78),_0x3de43d=_0x42af2e['commands']['get']('importWord');return _0x3280b6['bind']('isOn')['to'](_0x3de43d,'isBusy'),_0x3280b6['tooltip']=!0x0,_0x3280b6;}),_0x42af2e['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x3eeb27));}['_createButton'](_0x542aa4){const _0x2e65b0=this['editor'],t=_0x2e65b0['locale']['t'],_0x104835=_0x2e65b0['commands']['get']('importWord'),_0x18d184=new _0x542aa4(_0x2e65b0['locale']),_0x35f2ce=new _0x576fe7();return _0x18d184['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x18d184['set']({'label':t('Import\x20from\x20Word'),'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'}),_0x18d184['bind']('isEnabled')['to'](_0x104835),_0x35f2ce['bind']('isVisible')['to'](_0x104835,'isBusy'),_0x18d184['iconView']['bind']('isVisible')['to'](_0x104835,'isBusy',_0x5a9723=>!_0x5a9723),_0x18d184['children']['add'](_0x35f2ce),_0x18d184['on']('done',(_0x38c7e0,_0x528d86)=>{_0x2e65b0['execute']('importWord',_0x528d86[0x0],{}),_0x2e65b0['editing']['view']['focus']();}),_0x18d184;}}class d extends _0x1e1490{['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x16cd2d,_0x3d216b={}){if(this['isBusy'])return Promise['resolve']();const _0x1fab2c=this['editor']['config']['get']('importWord'),_0x49ef3c={'url':_0x1fab2c['converterUrl'],'file':_0x16cd2d,'serviceConfig':{..._0x3d216b,'formatting':_0x1fab2c['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x49ef3c)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x5c05c0=this['editor']['model'],_0x44148b=_0x5c05c0['schema'],_0x2ba476=_0x5c05c0['document']['selection'],_0x2ef2c8=_0x5c8a76(_0x2ba476['getSelectedBlocks']());return!!_0x2ef2c8&&_0x44148b['checkChild'](_0x2ef2c8['parent'],'paragraph');}['_prepareForImport'](){const _0x1d38de=this['editor'],_0x749a8f=_0x1d38de['model'],_0x30bb53=_0x749a8f['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x1d38de['model']['createBatch']({'isUndoable':!0x0}),_0x749a8f['enqueueChange'](this['_undoStepBatch'],_0x174c05=>{_0x30bb53['isCollapsed']||_0x749a8f['deleteContent'](_0x30bb53,{'leaveUnmerged':!0x0});const _0x5b2295=_0x30bb53['getFirstPosition'](),_0x28481e=_0x5c8a76(_0x30bb53['getSelectedBlocks']());let _0x2d7174;_0x2d7174=_0x28481e['is']('element','paragraph')&&_0x28481e['isEmpty']?_0x5b2295:_0x5b2295['isAtStart']?_0x749a8f['createPositionBefore'](_0x28481e):_0x5b2295['isAtEnd']?_0x749a8f['createPositionAfter'](_0x28481e):_0x174c05['split'](_0x5b2295)['position'],this['_importMarker']=_0x174c05['addMarker']('importWord:'+_0x40f35f(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x276f22(_0x2d7174)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x1a6454=this['editor']['model'];_0x1a6454['markers']['has'](this['_importMarker'])&&_0x1a6454['enqueueChange'](this['_undoStepBatch'],_0x2275f3=>{_0x2275f3['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x48fe8f,file:_0x2929dc,serviceConfig:_0x4406ac}){const _0x146938=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5ccb7d=new FormData();_0x5ccb7d['set']('config',JSON['stringify'](_0x4406ac)),_0x5ccb7d['set']('file',_0x2929dc);const _0x2be917={'method':'POST','headers':{},'body':_0x5ccb7d,'signal':this['_abortController']['signal']};return _0x146938&&(_0x2be917['headers']['Authorization']=_0x146938['value']),fetch(_0x48fe8f,_0x2be917);}['_handleImportResponse'](_0x5eb777){return _0x5eb777['ok']?_0x5eb777['json']()['then'](_0x338262=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x338262);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2d0485('import-word-plugin-import-cancelled');const _0x2d39be=this['editor'],_0x5df09a=(0x0,_0x2d39be['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x2d39be['plugins']['get']('Notification')['showWarning'](_0x5df09a),_0x39500d('import-word-plugin-conversion-failed');}constructor(_0x45e2f3){super(_0x45e2f3),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x905138,_0x39cbc0)=>{const _0x3d0f19=new DataTransfer();_0x3d0f19['setData']('text/html',_0x39cbc0['html']);const _0x429c45=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x4476bc=>{this['_importMarker']['stopListening'](),_0x4476bc['setSelection'](_0x429c45),_0x45e2f3['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x3d0f19});});},{'priority':'low'});}}class e extends _0xe87229{static get['pluginName'](){return'ImportWordEditing';}static get['requires'](){return[_0x17d8fa,_0x5f0fb9,'CloudServices'];}async['init'](){const _0x2e8871=this['editor'];_0x2e8871['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x2e8871['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x2e8871['commands']['add']('importWord',new d(_0x2e8871));const {tokenUrl:_0x1d49bd}=_0x2e8871['config']['get']('importWord');if(_0x1d49bd){const {tokenUrl:_0x14d0a1}=_0x2e8871['config']['get']('cloudServices')||{};this['_token']=_0x1d49bd===_0x14d0a1?_0x2e8871['plugins']['get']('CloudServices')['token']:await _0x2e8871['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1d49bd);}}['getToken'](){return this['_token'];}constructor(_0x3a5640){super(_0x3a5640),this['_token']=null;}}class i extends _0xe87229{static get['pluginName'](){return'ImportWord';}static get['requires'](){return[e,o];}}export{i as ImportWord,e as ImportWordEditing,o 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 'ckeditor5';
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{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.'},'getPluralForm':_0x5bae99=>0x0==_0x5bae99?0x0:0x1==_0x5bae99?0x1:0x2==_0x5bae99?0x2:_0x5bae99%0x64>=0x3&&_0x5bae99%0x64<=0xa?0x3:_0x5bae99%0x64>=0xb&&_0x5bae99%0x64<=0x63?0x4:0x5}};
@@ -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 'ckeditor5';
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{'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.'},'getPluralForm':_0x575902=>0x1!=_0x575902}};
@@ -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 'ckeditor5';
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{'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।'},'getPluralForm':_0x1a4484=>0x1!=_0x1a4484}};
@@ -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 'ckeditor5';
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{'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.'},'getPluralForm':_0x34e5e5=>0x1!=_0x34e5e5}};
@@ -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 'ckeditor5';
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{'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ě.'},'getPluralForm':_0x2529a6=>0x1==_0x2529a6&&_0x2529a6%0x1==0x0?0x0:_0x2529a6>=0x2&&_0x2529a6<=0x4&&_0x2529a6%0x1==0x0?0x1:_0x2529a6%0x1!=0x0?0x2:0x3}};
@@ -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 'ckeditor5';
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{'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.'},'getPluralForm':_0xc1bec2=>0x1!=_0xc1bec2}};
@@ -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 'ckeditor5';
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{'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.'},'getPluralForm':_0x858ead=>0x1!=_0x858ead}};
@@ -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 'ckeditor5';
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{'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.'},'getPluralForm':_0x535a73=>0x1!=_0x535a73}};
@@ -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 'ckeditor5';
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{'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.'},'getPluralForm':_0x2ee748=>0x1!=_0x2ee748}};
@@ -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 'ckeditor5';
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{'en':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.'},'getPluralForm':null}};
@@ -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 'ckeditor5';
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{'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.'},'getPluralForm':_0x45ee2c=>0x1==_0x45ee2c?0x0:0x0!=_0x45ee2c&&_0x45ee2c%0xf4240==0x0?0x1:0x2}};
@@ -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 'ckeditor5';
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{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.'},'getPluralForm':_0x1b8c09=>0x1!=_0x1b8c09}};
@@ -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 'ckeditor5';
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{'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.'},'getPluralForm':_0x1712b1=>0x1!=_0x1712b1}};
@@ -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 'ckeditor5';
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{'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.'},'getPluralForm':_0x5b2496=>0x0==_0x5b2496||0x1==_0x5b2496?0x0:0x0!=_0x5b2496&&_0x5b2496%0xf4240==0x0?0x1:0x2}};
@@ -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 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;