@ckeditor/ckeditor5-import-word 44.3.0-alpha.1 → 44.3.0-alpha.2
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.
- package/build/import-word.js +2 -2
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const r=t.en=t.en||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>a});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=c();return(s=function(t,e){return r[t-=118]})(t,e)}!function(t){const e=s,r=t();for(;;)try{if(153729===parseInt(e(143))/1*(-parseInt(e(160))/2)+parseInt(e(125))/3+parseInt(e(123))/4*(parseInt(e(156))/5)+-parseInt(e(119))/6*(parseInt(e(159))/7)+parseInt(e(141))/8+parseInt(e(118))/9*(-parseInt(e(146))/10)+parseInt(e(122))/11*(parseInt(e(131))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class a extends t.Plugin{static get[o(144)](){return o(129)}static get[o(154)](){return!0}static get[o(120)](){return!0}[o(130)](){const t=o,r=this[t(124)];r.ui[t(137)][t(133)](t(127),(()=>{const n=t,i=this[n(157)](e.FileDialogButtonView),o=r[n(151)][n(128)](n(127));return i[n(134)](n(148)).to(o,n(161)),i[n(149)]=!0,i})),r.ui[t(137)][t(133)](t(136),(()=>this[t(157)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(157)](t){const r=o,n=this[r(124)],s=n[r(151)][r(128)](r(127)),a=new t(n[r(155)]),c=new e.SpinnerView;return a[r(126)]({acceptedType:r(158)}),a[r(126)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[r(134)](r(121)).to(s),a[r(134)](r(153)).to(s,r(161),(t=>i(n[r(155)],r(t?138:145)))),c[r(134)](r(139)).to(s,r(161)),a[r(135)][r(134)](r(139)).to(s,r(161),(t=>!t)),a[r(132)][r(133)](c),a.on(r(150),((t,e)=>{const i=r;n[i(152)](i(127),e[0],{}),n[i(140)][i(147)][i(142)]()})),a}}function c(){const t=["done","commands","execute","label","isOfficialPlugin","locale","105gFFjZx","_createButton","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","611107hMDFQO","4wJPsBw","isBusy","1179vDSYWJ","12IQKxba","isPremiumPlugin","isEnabled","726oSrJoH","29024qYiKgA","editor","460173otNxiE","set","importWord","get","ImportWordUI","init","49152ZgOrby","children","add","bind","iconView","menuBar:importWord","componentFactory","Importing Word document","isVisible","editing","1207624uLFkNA","focus","51136WOtzwT","pluginName","Import from Word","22630XnQycq","view","isOn","tooltip"];return(c=function(){return t})()}var u=r(331),p=r(783),l=r(584);function d(){const t=["POST","460844aXbAqY","mergeFields","file","Authorization","headers","enqueueChange","html","isAtEnd","_prepareForImport","then","json","208927WXAsMs","isEnabled","_importMarker","paragraph","stopListening","1278326SNWXfT","timeZone","view","2gRlNwY","132VvgfSN","setData","catch","editor","finally","_checkEnabled","value","fire","9KgOkvL","3296880fLflzm","aborted","element","30QbLiqK","formatting","importWord:","parent","isAtStart","216CFXTfH","_handleImportResponse","plugins","getRange","1125949pJhvDH","showWarning","model","resolvedOptions","_cleanUpAfterImport","139540tSJiEb","selection","merge_fields","import-word-plugin-import-cancelled","dataInsert","_undoStepBatch","createBatch","Notification","low","createPositionBefore","removeMarker","getSelectedBlocks","importWord","import-word-plugin-conversion-failed","editing","markers","setSelection","rootName","change:range","An error occurred while importing the Word file.","getToken","3569520IluRTY","execute","checkChild","addMarker","ImportWordEditing","locale","_handleImportFailure","refresh","clipboardInput","schema","bind","root","_sendImportRequest","reject","getFirstPosition","deleteContent","_abortController","isCollapsed","set","document","signal","isEmpty","MergeFields","stringify","DateTimeFormat","text/html","converterUrl","resolve","createPositionAfter","has","split","config","abort","position","$graveyard","isBusy","get"];return(d=function(){return t})()}function h(t,e){const r=d();return(h=function(t,e){return r[t-=126]})(t,e)}const f=h;!function(t){const e=h,r=t();for(;;)try{if(461871===parseInt(e(188))/1*(parseInt(e(196))/2)+parseInt(e(205))/3*(-parseInt(e(177))/4)+-parseInt(e(206))/5+parseInt(e(209))/6*(parseInt(e(193))/7)+-parseInt(e(139))/8+parseInt(e(214))/9*(-parseInt(e(223))/10)+-parseInt(e(218))/11*(-parseInt(e(197))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(d);class m extends t.Command{constructor(t){const e=h;super(t),this[e(157)](e(174),!1),this[e(190)]=null,this[e(228)]=null,this[e(155)]=null,this.on(e(227),((r,n)=>{const i=e,o=new DataTransfer;o[i(198)](i(164),n[i(183)]);const s=this[i(190)][i(217)]();this[i(200)][i(220)][i(182)](this[i(228)],(e=>{const r=i;this[r(190)][r(192)](),e[r(134)](s),t[r(132)][r(195)][r(158)][r(204)](r(147),{dataTransfer:o})}))}),{priority:e(126)})}[f(146)](){const t=f;this[t(189)]=this[t(202)]()}[f(140)](t,e={}){const r=f;if(this[r(174)])return Promise[r(166)]();const n=this[r(200)][r(170)][r(175)](r(130));if(this[r(200)][r(216)][r(168)](r(161))){const{prefix:t,suffix:n}=this[r(200)][r(170)][r(175)](r(178));e[r(225)]={prefix:t,suffix:n}}const i={url:n[r(165)],file:t,serviceConfig:{...e,formatting:n[r(210)],timezone:(new(Intl[r(163)]))[r(221)]()[r(194)]}};return this[r(185)](),this[r(151)](i)[r(186)](this[r(215)][r(149)](this))[r(199)](this[r(145)][r(149)](this))[r(201)](this[r(222)][r(149)](this))}[f(202)](){const t=f;if(this[t(174)])return!1;const e=this[t(200)][t(220)],r=e[t(148)],n=e[t(158)][t(224)],i=(0,l.first)(n[t(129)]());return!!i&&r[t(141)](i[t(212)],t(191))}[f(185)](){const t=f,e=this[t(200)],r=e[t(220)],n=r[t(158)][t(224)];this[t(155)]=new AbortController,this[t(228)]=e[t(220)][t(229)]({isUndoable:!0}),r[t(182)](this[t(228)],(e=>{const i=t;n[i(156)]||r[i(154)](n,{leaveUnmerged:!0});const o=n[i(153)](),s=(0,l.first)(n[i(129)]());let a;a=s.is(i(208),i(191))&&s[i(160)]?o:o[i(213)]?r[i(127)](s):o[i(184)]?r[i(167)](s):e[i(169)](o)[i(172)],this[i(190)]=e[i(142)](i(211)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(190)].on(i(136),(()=>{const t=i;t(173)===this[t(190)][t(217)]()[t(150)][t(135)]&&this[t(155)][t(171)]()}))})),this[t(174)]=!0,this[t(146)]()}[f(222)](){const t=f,e=this[t(200)][t(220)];e[t(133)][t(168)](this[t(190)])&&e[t(182)](this[t(228)],(e=>{const r=t;e[r(128)](this[r(190)])})),this[t(190)]=null,this[t(228)]=null,this[t(155)]=null,this[t(174)]=!1,this[t(146)]()}[f(151)]({url:t,file:e,serviceConfig:r}){const n=f,i=this[n(200)][n(216)][n(175)](n(143))[n(138)](),o=new FormData;o[n(157)](n(170),JSON[n(162)](r)),o[n(157)](n(179),e);const s={method:n(176),headers:{},body:o,signal:this[n(155)][n(159)]};return i&&(s[n(181)][n(180)]=i[n(203)]),fetch(t,s)}[f(215)](t){const e=f;return t.ok?t[e(187)]()[e(186)]((t=>{const r=e;this[r(200)][r(220)][r(133)][r(168)](this[r(190)])&&r(173)!==this[r(190)][r(217)]()[r(150)][r(135)]&&this[r(204)](r(227),t)})):Promise[e(152)]()}[f(145)](){const t=f;if(this[t(155)][t(159)][t(207)])return void(0,l.logWarning)(t(226));const e=this[t(200)],r=i(e[t(144)],t(137));e[t(216)][t(175)](t(230))[t(219)](r),(0,l.logError)(t(131))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=396]})(t,e)}function v(){const t=["8sGAExL","tokenUrl","plugins","requires","CloudServices","6793209WysDtA","4608eEDlww","editor","2640PHLniG","694144dxagqf","157000fmRqTT","getToken","commands","inline","importWord","isOfficialPlugin","129684fzGkjO","init","203MJeZbz","get","ImportWordEditing","cloudServices","registerTokenUrl","none","add","pluginName","isPremiumPlugin","_token","config","define","663985TiacdR","https://docx-converter.cke-cs.com/v2/convert/docx-html","705KgaBLn","token","3014425HEefJK"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(404547===-parseInt(e(402))/1+-parseInt(e(413))/2*(parseInt(e(404))/3)+-parseInt(e(416))/4+-parseInt(e(406))/5+-parseInt(e(423))/6*(parseInt(e(425))/7)+-parseInt(e(407))/8*(parseInt(e(412))/9)+-parseInt(e(417))/10*(-parseInt(e(415))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(397)](){return g(427)}static get[g(422)](){return!0}static get[g(398)](){return!0}static get[g(410)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(411)]}constructor(t){const e=g;super(t),this[e(399)]=null}async[g(424)](){const t=g,e=this[t(414)];e[t(400)][t(401)](t(421),{converterUrl:t(403),tokenUrl:(e[t(400)][t(426)](t(428))||{})[t(408)],formatting:{resets:t(430),defaults:t(430),styles:t(420)}}),e[t(419)][t(396)](t(421),new m(e));const{tokenUrl:r}=e[t(400)][t(426)](t(421));if(r){const{tokenUrl:n}=e[t(400)][t(426)](t(428))||{};this[t(399)]=r===n?e[t(409)][t(426)](t(411))[t(405)]:await e[t(409)][t(426)](t(411))[t(429)](r)}}[g(418)](){return this[g(399)]}}var b=x;function W(){var t=["408702RIWAaX","212krIxAT","ImportWord","2637wyBPvb","318975vMqXWc","16ShAFwz","433740xyqUBu","10NkOhbW","590470vHFgbA","requires","682434OWRPWD","isOfficialPlugin","188KOnvYa","22lIORst","pluginName","isPremiumPlugin"];return(W=function(){return t})()}function x(t,e){var r=W();return(x=function(t,e){return r[t-=161]})(t,e)}!function(t){for(var e=x,r=t();;)try{if(111656===parseInt(e(174))/1*(-parseInt(e(169))/2)+parseInt(e(165))/3*(parseInt(e(163))/4)+parseInt(e(166))/5+-parseInt(e(168))/6+parseInt(e(162))/7*(parseInt(e(167))/8)+parseInt(e(172))/9+parseInt(e(170))/10*(-parseInt(e(175))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class y extends t.Plugin{static get[b(176)](){return b(164)}static get[b(173)](){return!0}static get[b(161)](){return!0}static get[b(171)](){return[w,a]}}function k(t,e){var r=A();return(k=function(t,e){return r[t-=232]})(t,e)}function A(){var t=["3048690RkORJb","22tKBNML","6054240AdrnDU","5926885RNkjXv","6GAFeCW","1148296UXKYRR","2sFRCnb","1699628tuWDvu","63FqeRak","527533FoQdHI","3665610mUbDFU"];return(A=function(){return t})()}!function(t){for(var e=k,r=t();;)try{if(760048===parseInt(e(236))/1*(parseInt(e(233))/2)+-parseInt(e(238))/3+-parseInt(e(234))/4+-parseInt(e(241))/5*(-parseInt(e(242))/6)+-parseInt(e(235))/7*(-parseInt(e(232))/8)+parseInt(e(237))/9+-parseInt(e(240))/10*(parseInt(e(239))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(A)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>x,ImportWordEditing:()=>v,ImportWordUI:()=>a});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=c();return(s=function(t,r){return e[t-=224]})(t,r)}!function(t){const r=s,e=t();for(;;)try{if(333465===-parseInt(r(261))/1*(parseInt(r(230))/2)+parseInt(r(243))/3+parseInt(r(256))/4*(-parseInt(r(253))/5)+parseInt(r(234))/6+-parseInt(r(242))/7+parseInt(r(262))/8*(-parseInt(r(233))/9)+-parseInt(r(245))/10*(-parseInt(r(225))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c);class a extends t.Plugin{static get[o(254)](){return o(240)}static get[o(259)](){return!0}static get[o(249)](){return!0}[o(236)](){const t=o,e=this[t(232)];e.ui[t(241)][t(235)](t(247),(()=>{const n=t,i=this[n(260)](r.FileDialogButtonView),o=e[n(244)][n(237)](n(247));return i[n(238)](n(228)).to(o,n(251)),i[n(266)]=!0,i})),e.ui[t(241)][t(235)](t(224),(()=>this[t(260)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(260)](t){const e=o,n=this[e(232)],s=n[e(244)][e(237)](e(247)),a=new t(n[e(255)]),c=new r.SpinnerView;return a[e(250)]({acceptedType:e(257)}),a[e(250)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[e(238)](e(229)).to(s),a[e(238)](e(264)).to(s,e(251),(t=>i(n[e(255)],e(t?258:239)))),c[e(238)](e(248)).to(s,e(251)),a[e(265)][e(238)](e(248)).to(s,e(251),(t=>!t)),a[e(246)][e(235)](c),a.on(e(263),((t,r)=>{const i=e;n[i(226)](i(247),r[0],{}),n[i(231)][i(227)][i(252)]()})),a}}function c(){const t=["110524AuQstK","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","Importing Word document","isOfficialPlugin","_createButton","1UDOsDf","16DSDbfX","done","label","iconView","tooltip","menuBar:importWord","6008651IpVDAz","execute","view","isOn","isEnabled","932390WKzByC","editing","editor","2464812eXzKMa","2044062ZNQAlm","add","init","get","bind","Import from Word","ImportWordUI","componentFactory","4171986bvwYAA","1715628QbMDaU","commands","30ntDQrz","children","importWord","isVisible","isPremiumPlugin","set","isBusy","focus","110WXDDGu","pluginName","locale"];return(c=function(){return t})()}var u=e(331),p=e(783),l=e(584);const h=d;function d(t,r){const e=f();return(d=function(t,r){return e[t-=207]})(t,r)}function f(){const t=["Notification","_undoStepBatch","paragraph","17696850BaMPpj","execute","document","set","mergeFields","parent","isCollapsed","getToken","_handleImportFailure","editing","POST","5704727kJMxHj","_handleImportResponse","config","isEnabled","has","_abortController","stringify","setSelection","deleteContent","view","fire","9kKdqbx","15ImokUU","MergeFields","_checkEnabled","An error occurred while importing the Word file.","markers","merge_fields","removeMarker","_prepareForImport","113052iEHVAZ","checkChild","html","then","import-word-plugin-conversion-failed","model","schema","createPositionAfter","_sendImportRequest","isAtStart","finally","dataInsert","1962428TlzbiX","split","bind","selection","setData","clipboardInput","change:range","signal","rootName","converterUrl","getSelectedBlocks","editor","json","root","importWord","getFirstPosition","resolve","get","addMarker","catch","DateTimeFormat","headers","timeZone","aborted","locale","refresh","298731Jwcarm","import-word-plugin-import-cancelled","resolvedOptions","8BOkgdD","501688uZhATC","isEmpty","text/html","reject","abort","formatting","element","showWarning","low","739026YCtDEf","importWord:","$graveyard","file","createPositionBefore","_importMarker","plugins","enqueueChange","isAtEnd","getRange","ImportWordEditing","position","value","createBatch","_cleanUpAfterImport","stopListening","isBusy","Authorization"];return(f=function(){return t})()}!function(t){const r=d,e=t();for(;;)try{if(862813===-parseInt(r(217))/1+parseInt(r(258))/2*(parseInt(r(255))/3)+-parseInt(r(229))/4*(-parseInt(r(209))/5)+parseInt(r(268))/6+parseInt(r(300))/7+-parseInt(r(259))/8+parseInt(r(208))/9*(-parseInt(r(289))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=d;super(t),this[r(292)](r(284),!1),this[r(273)]=null,this[r(287)]=null,this[r(305)]=null,this.on(r(228),((e,n)=>{const i=r,o=new DataTransfer;o[i(233)](i(261),n[i(219)]);const s=this[i(273)][i(277)]();this[i(240)][i(222)][i(275)](this[i(287)],(r=>{const e=i;this[e(273)][e(283)](),r[e(307)](s),t[e(298)][e(309)][e(291)][e(207)](e(234),{dataTransfer:o})}))}),{priority:r(267)})}[h(254)](){const t=h;this[t(303)]=this[t(211)]()}[h(290)](t,r={}){const e=h;if(this[e(284)])return Promise[e(245)]();const n=this[e(240)][e(302)][e(246)](e(243));if(this[e(240)][e(274)][e(304)](e(210))){const{prefix:t,suffix:n}=this[e(240)][e(302)][e(246)](e(293));r[e(214)]={prefix:t,suffix:n}}const i={url:n[e(238)],file:t,serviceConfig:{...r,formatting:n[e(264)],timezone:(new(Intl[e(249)]))[e(257)]()[e(251)]}};return this[e(216)](),this[e(225)](i)[e(220)](this[e(301)][e(231)](this))[e(248)](this[e(297)][e(231)](this))[e(227)](this[e(282)][e(231)](this))}[h(211)](){const t=h;if(this[t(284)])return!1;const r=this[t(240)][t(222)],e=r[t(223)],n=r[t(291)][t(232)],i=(0,l.first)(n[t(239)]());return!!i&&e[t(218)](i[t(294)],t(288))}[h(216)](){const t=h,r=this[t(240)],e=r[t(222)],n=e[t(291)][t(232)];this[t(305)]=new AbortController,this[t(287)]=r[t(222)][t(281)]({isUndoable:!0}),e[t(275)](this[t(287)],(r=>{const i=t;n[i(295)]||e[i(308)](n,{leaveUnmerged:!0});const o=n[i(244)](),s=(0,l.first)(n[i(239)]());let a;a=s.is(i(265),i(288))&&s[i(260)]?o:o[i(226)]?e[i(272)](s):o[i(276)]?e[i(224)](s):r[i(230)](o)[i(279)],this[i(273)]=r[i(247)](i(269)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(273)].on(i(235),(()=>{const t=i;t(270)===this[t(273)][t(277)]()[t(242)][t(237)]&&this[t(305)][t(263)]()}))})),this[t(284)]=!0,this[t(254)]()}[h(282)](){const t=h,r=this[t(240)][t(222)];r[t(213)][t(304)](this[t(273)])&&r[t(275)](this[t(287)],(r=>{const e=t;r[e(215)](this[e(273)])})),this[t(273)]=null,this[t(287)]=null,this[t(305)]=null,this[t(284)]=!1,this[t(254)]()}[h(225)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(240)][n(274)][n(246)](n(278))[n(296)](),o=new FormData;o[n(292)](n(302),JSON[n(306)](e)),o[n(292)](n(271),r);const s={method:n(299),headers:{},body:o,signal:this[n(305)][n(236)]};return i&&(s[n(250)][n(285)]=i[n(280)]),fetch(t,s)}[h(301)](t){const r=h;return t.ok?t[r(241)]()[r(220)]((t=>{const e=r;this[e(240)][e(222)][e(213)][e(304)](this[e(273)])&&e(270)!==this[e(273)][e(277)]()[e(242)][e(237)]&&this[e(207)](e(228),t)})):Promise[r(262)]()}[h(297)](){const t=h;if(this[t(305)][t(236)][t(252)])return void(0,l.logWarning)(t(256));const r=this[t(240)],e=i(r[t(253)],t(212));r[t(274)][t(246)](t(286))[t(266)](e),(0,l.logError)(t(221))}}const I=g;function g(t,r){const e=w();return(g=function(t,r){return e[t-=335]})(t,r)}!function(t){const r=g,e=t();for(;;)try{if(676321===-parseInt(r(341))/1+parseInt(r(357))/2+parseInt(r(363))/3*(parseInt(r(336))/4)+-parseInt(r(347))/5*(parseInt(r(353))/6)+parseInt(r(366))/7+parseInt(r(368))/8*(parseInt(r(345))/9)+parseInt(r(339))/10*(-parseInt(r(349))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class v extends t.Plugin{static get[I(337)](){return I(346)}static get[I(350)](){return!0}static get[I(343)](){return!0}static get[I(362)](){const t=I;return[r.Notification,u.ClipboardPipeline,t(356)]}constructor(t){const r=I;super(t),this[r(365)]=null}async[I(340)](){const t=I,r=this[t(367)];r[t(335)][t(360)](t(364),{converterUrl:t(344),tokenUrl:(r[t(335)][t(351)](t(342))||{})[t(359)],formatting:{resets:t(354),defaults:t(354),styles:t(352)}}),r[t(358)][t(361)](t(364),new m(r));const{tokenUrl:e}=r[t(335)][t(351)](t(364));if(e){const{tokenUrl:n}=r[t(335)][t(351)](t(342))||{};this[t(365)]=e===n?r[t(348)][t(351)](t(356))[t(369)]:await r[t(348)][t(351)](t(356))[t(338)](e)}}[I(355)](){return this[I(365)]}}function w(){const t=["https://docx-converter.cke-cs.com/v2/convert/docx-html","108027yCWGSA","ImportWordEditing","830IRxYwn","plugins","11ptVxhW","isOfficialPlugin","get","inline","11694vsTDYf","none","getToken","CloudServices","1244164ftMBpV","commands","tokenUrl","define","add","requires","129rhMBAE","importWord","_token","3620057NUhpMm","editor","808TIEaAt","token","config","109936cJNMfY","pluginName","registerTokenUrl","15218510hLzbvQ","init","1011642nFfUYs","cloudServices","isPremiumPlugin"];return(w=function(){return t})()}var b=W;function W(t,r){var e=y();return(W=function(t,r){return e[t-=462]})(t,r)}function y(){var t=["10bXVYku","5867778Spfapp","8792LpCIfV","1YvuIvj","3987CmEcBe","6958259IqFyAt","isPremiumPlugin","232756USbGKV","ImportWord","293842yYkhfI","pluginName","3311730imuyic","47487DeURrQ","requires","180dAdiov","isOfficialPlugin"];return(y=function(){return t})()}!function(t){for(var r=W,e=t();;)try{if(553816===-parseInt(r(476))/1*(-parseInt(r(466))/2)+parseInt(r(468))/3+parseInt(r(464))/4*(-parseInt(r(473))/5)+parseInt(r(474))/6+-parseInt(r(462))/7+parseInt(r(475))/8*(-parseInt(r(477))/9)+-parseInt(r(471))/10*(parseInt(r(469))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[b(467)](){return b(465)}static get[b(472)](){return!0}static get[b(463)](){return!0}static get[b(470)](){return[v,a]}}function k(){var t=["882VJrxKT","476464ZbJwUS","17472LENWAI","1244656IuKeNr","12WuuhNC","20rfDwvD","5IkYkXS","4551283MCRQee","1195326lYiSyP","438255wsvwuD","300797ILTRfh"];return(k=function(){return t})()}function A(t,r){var e=k();return(A=function(t,r){return e[t-=101]})(t,r)}!function(t){for(var r=A,e=t();;)try{if(240231===-parseInt(r(104))/1+parseInt(r(107))/2+-parseInt(r(103))/3+-parseInt(r(109))/4*(-parseInt(r(101))/5)+-parseInt(r(110))/6*(parseInt(r(105))/7)+parseInt(r(108))/8*(-parseInt(r(106))/9)+parseInt(r(111))/10*(parseInt(r(102))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5b7ac3,Command as _0xdc3930}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x3e2f8b,MenuBarMenuListItemFileDialogButtonView as _0x45df79,SpinnerView as _0x26dd78,Notification as _0x398af4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x43d8fb}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x1a1779}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5c2d53,uid as _0x5593ff,logWarning as _0x2e3490,logError as _0x252c9e}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x271220,_0x19d686){const t=_0x271220['t'];switch(_0x19d686){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0x19d686;}}class i extends _0x5b7ac3{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x52485b=this['editor'];_0x52485b['ui']['componentFactory']['add']('importWord',()=>{const _0x3cda58=this['_createButton'](_0x3e2f8b),_0x210754=_0x52485b['commands']['get']('importWord');return _0x3cda58['bind']('isOn')['to'](_0x210754,'isBusy'),_0x3cda58['tooltip']=!0x0,_0x3cda58;}),_0x52485b['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x45df79));}['_createButton'](_0x2ce119){const _0x2b8b56=this['editor'],_0x5047f2=_0x2b8b56['commands']['get']('importWord'),_0x314fef=new _0x2ce119(_0x2b8b56['locale']),_0xa6b804=new _0x26dd78();return _0x314fef['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x314fef['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'}),_0x314fef['bind']('isEnabled')['to'](_0x5047f2),_0x314fef['bind']('label')['to'](_0x5047f2,'isBusy',_0x132ce9=>p(_0x2b8b56['locale'],_0x132ce9?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0xa6b804['bind']('isVisible')['to'](_0x5047f2,'isBusy'),_0x314fef['iconView']['bind']('isVisible')['to'](_0x5047f2,'isBusy',_0x484801=>!_0x484801),_0x314fef['children']['add'](_0xa6b804),_0x314fef['on']('done',(_0x33cd3b,_0x3da98e)=>{_0x2b8b56['execute']('importWord',_0x3da98e[0x0],{}),_0x2b8b56['editing']['view']['focus']();}),_0x314fef;}}class d extends _0xdc3930{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x39b81d){super(_0x39b81d),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x3e2a98,_0x184f61)=>{const _0x47102f=new DataTransfer();_0x47102f['setData']('text/html',_0x184f61['html']);const _0x2c97ef=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x63cdd0=>{this['_importMarker']['stopListening'](),_0x63cdd0['setSelection'](_0x2c97ef),_0x39b81d['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x47102f});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x444cb8,_0x40148f={}){if(this['isBusy'])return Promise['resolve']();const _0x813b07=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x1287fd,suffix:_0x3f80b2}=this['editor']['config']['get']('mergeFields');_0x40148f['merge_fields']={'prefix':_0x1287fd,'suffix':_0x3f80b2};}const _0x4509ee={'url':_0x813b07['converterUrl'],'file':_0x444cb8,'serviceConfig':{..._0x40148f,'formatting':_0x813b07['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4509ee)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x40d979=this['editor']['model'],_0xdbe68f=_0x40d979['schema'],_0x337b66=_0x40d979['document']['selection'],_0x456d02=_0x5c2d53(_0x337b66['getSelectedBlocks']());return!!_0x456d02&&_0xdbe68f['checkChild'](_0x456d02['parent'],'paragraph');}['_prepareForImport'](){const _0x5d6131=this['editor'],_0x4a838a=_0x5d6131['model'],_0x4bf8c9=_0x4a838a['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x5d6131['model']['createBatch']({'isUndoable':!0x0}),_0x4a838a['enqueueChange'](this['_undoStepBatch'],_0x345e2c=>{_0x4bf8c9['isCollapsed']||_0x4a838a['deleteContent'](_0x4bf8c9,{'leaveUnmerged':!0x0});const _0x4a6b1f=_0x4bf8c9['getFirstPosition'](),_0x2fa3b2=_0x5c2d53(_0x4bf8c9['getSelectedBlocks']());let _0xb00f9e;_0xb00f9e=_0x2fa3b2['is']('element','paragraph')&&_0x2fa3b2['isEmpty']?_0x4a6b1f:_0x4a6b1f['isAtStart']?_0x4a838a['createPositionBefore'](_0x2fa3b2):_0x4a6b1f['isAtEnd']?_0x4a838a['createPositionAfter'](_0x2fa3b2):_0x345e2c['split'](_0x4a6b1f)['position'],this['_importMarker']=_0x345e2c['addMarker']('importWord:'+_0x5593ff(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x1a1779(_0xb00f9e)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x27b50f=this['editor']['model'];_0x27b50f['markers']['has'](this['_importMarker'])&&_0x27b50f['enqueueChange'](this['_undoStepBatch'],_0x4f8cb2=>{_0x4f8cb2['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x5ac52f,file:_0x402350,serviceConfig:_0x226b5a}){const _0x1f1e1a=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x2c90d8=new FormData();_0x2c90d8['set']('config',JSON['stringify'](_0x226b5a)),_0x2c90d8['set']('file',_0x402350);const _0x403d04={'method':'POST','headers':{},'body':_0x2c90d8,'signal':this['_abortController']['signal']};return _0x1f1e1a&&(_0x403d04['headers']['Authorization']=_0x1f1e1a['value']),fetch(_0x5ac52f,_0x403d04);}['_handleImportResponse'](_0x334994){return _0x334994['ok']?_0x334994['json']()['then'](_0x2f2185=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x2f2185);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2e3490('import-word-plugin-import-cancelled');const _0x4200b8=this['editor'],_0x1c03d8=p(_0x4200b8['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4200b8['plugins']['get']('Notification')['showWarning'](_0x1c03d8),_0x252c9e('import-word-plugin-conversion-failed');}}class e extends _0x5b7ac3{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x398af4,_0x43d8fb,'CloudServices'];}constructor(_0x447947){super(_0x447947),this['_token']=null;}async['init'](){const _0xa08ecf=this['editor'];_0xa08ecf['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0xa08ecf['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0xa08ecf['commands']['add']('importWord',new d(_0xa08ecf));const {tokenUrl:_0x21b711}=_0xa08ecf['config']['get']('importWord');if(_0x21b711){const {tokenUrl:_0x267a3f}=_0xa08ecf['config']['get']('cloudServices')||{};this['_token']=_0x21b711===_0x267a3f?_0xa08ecf['plugins']['get']('CloudServices')['token']:await _0xa08ecf['plugins']['get']('CloudServices')['registerTokenUrl'](_0x21b711);}}['getToken'](){return this['_token'];}}class o extends _0x5b7ac3{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[e,i];}}export{o as ImportWord,e as ImportWordEditing,i as ImportWordUI};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4fc8bb=>0x1!=_0x4fc8bb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24e749=>{const {af:{dictionary:_0x555e4c,getPluralForm:_0x921d}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x10372f=>0x1!=_0x10372f}};_0x24e749['af']||={'dictionary':{},'getPluralForm':null},_0x24e749['af']['dictionary']=Object['assign'](_0x24e749['af']['dictionary'],_0x555e4c),_0x24e749['af']['getPluralForm']=_0x921d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -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':
|
|
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':_0xf4128a=>0x0==_0xf4128a?0x0:0x1==_0xf4128a?0x1:0x2==_0xf4128a?0x2:_0xf4128a%0x64>=0x3&&_0xf4128a%0x64<=0xa?0x3:_0xf4128a%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x391e5a=>{const {ar:{dictionary:_0x35fe01,getPluralForm:_0x5d7187}}={'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':_0x29ace4=>0x0==_0x29ace4?0x0:0x1==_0x29ace4?0x1:0x2==_0x29ace4?0x2:_0x29ace4%0x64>=0x3&&_0x29ace4%0x64<=0xa?0x3:_0x29ace4%0x64>=0xb?0x4:0x5}};_0x391e5a['ar']||={'dictionary':{},'getPluralForm':null},_0x391e5a['ar']['dictionary']=Object['assign'](_0x391e5a['ar']['dictionary'],_0x35fe01),_0x391e5a['ar']['getPluralForm']=_0x5d7187;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xbed333=>0x1!=_0xbed333}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x580017=>{const {ast:{dictionary:_0xb68c35,getPluralForm:_0xd35edc}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2ef2f1=>0x1!=_0x2ef2f1}};_0x580017['ast']||={'dictionary':{},'getPluralForm':null},_0x580017['ast']['dictionary']=Object['assign'](_0x580017['ast']['dictionary'],_0xb68c35),_0x580017['ast']['getPluralForm']=_0xd35edc;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1db9ec=>0x1!=_0x1db9ec}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3becec=>{const {az:{dictionary:_0xce7e25,getPluralForm:_0x2f50d2}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4af756=>0x1!=_0x4af756}};_0x3becec['az']||={'dictionary':{},'getPluralForm':null},_0x3becec['az']['dictionary']=Object['assign'](_0x3becec['az']['dictionary'],_0xce7e25),_0x3becec['az']['getPluralForm']=_0x2f50d2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -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':
|
|
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':_0x2cd088=>0x1!=_0x2cd088}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4655c6=>{const {bg:{dictionary:_0x1a9e91,getPluralForm:_0xbf7a0f}}={'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':_0x3cea60=>0x1!=_0x3cea60}};_0x4655c6['bg']||={'dictionary':{},'getPluralForm':null},_0x4655c6['bg']['dictionary']=Object['assign'](_0x4655c6['bg']['dictionary'],_0x1a9e91),_0x4655c6['bg']['getPluralForm']=_0xbf7a0f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -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':
|
|
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':_0xcccf7f=>0x1!=_0xcccf7f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34be7e=>{const {bn:{dictionary:_0x58054a,getPluralForm:_0x31cdcd}}={'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':_0x1ff537=>0x1!=_0x1ff537}};_0x34be7e['bn']||={'dictionary':{},'getPluralForm':null},_0x34be7e['bn']['dictionary']=Object['assign'](_0x34be7e['bn']['dictionary'],_0x58054a),_0x34be7e['bn']['getPluralForm']=_0x31cdcd;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x463e39=>_0x463e39%0xa==0x1&&_0x463e39%0x64!=0xb?0x0:_0x463e39%0xa>=0x2&&_0x463e39%0xa<=0x4&&(_0x463e39%0x64<0xa||_0x463e39%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5ece3f=>{const {bs:{dictionary:_0x2b616e,getPluralForm:_0x49cf1b}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x13525b=>_0x13525b%0xa==0x1&&_0x13525b%0x64!=0xb?0x0:_0x13525b%0xa>=0x2&&_0x13525b%0xa<=0x4&&(_0x13525b%0x64<0xa||_0x13525b%0x64>=0x14)?0x1:0x2}};_0x5ece3f['bs']||={'dictionary':{},'getPluralForm':null},_0x5ece3f['bs']['dictionary']=Object['assign'](_0x5ece3f['bs']['dictionary'],_0x2b616e),_0x5ece3f['bs']['getPluralForm']=_0x49cf1b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -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':
|
|
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':_0x335542=>0x1!=_0x335542}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50ae62=>{const {ca:{dictionary:_0x5f2d51,getPluralForm:_0x4df8cc}}={'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':_0x4ba6c5=>0x1!=_0x4ba6c5}};_0x50ae62['ca']||={'dictionary':{},'getPluralForm':null},_0x50ae62['ca']['dictionary']=Object['assign'](_0x50ae62['ca']['dictionary'],_0x5f2d51),_0x50ae62['ca']['getPluralForm']=_0x4df8cc;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
|
@@ -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':
|
|
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':_0xbe5ef8=>0x1==_0xbe5ef8?0x0:_0xbe5ef8>=0x2&&_0xbe5ef8<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x135292=>{const {cs:{dictionary:_0x4b0214,getPluralForm:_0x57fae9}}={'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':_0x45994c=>0x1==_0x45994c?0x0:_0x45994c>=0x2&&_0x45994c<=0x4?0x1:0x2}};_0x135292['cs']||={'dictionary':{},'getPluralForm':null},_0x135292['cs']['dictionary']=Object['assign'](_0x135292['cs']['dictionary'],_0x4b0214),_0x135292['cs']['getPluralForm']=_0x57fae9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
|
@@ -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':
|
|
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':_0xb4debc=>0x1!=_0xb4debc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1008e9=>{const {da:{dictionary:_0x4fca5d,getPluralForm:_0x5a2dee}}={'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':_0x5599f3=>0x1!=_0x5599f3}};_0x1008e9['da']||={'dictionary':{},'getPluralForm':null},_0x1008e9['da']['dictionary']=Object['assign'](_0x1008e9['da']['dictionary'],_0x4fca5d),_0x1008e9['da']['getPluralForm']=_0x5a2dee;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2ad1fc=>0x1!=_0x2ad1fc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a0c2e=>{const {'de-ch':{dictionary:_0x11a225,getPluralForm:_0xede109}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x484e75=>0x1!=_0x484e75}};_0x2a0c2e['de-ch']||={'dictionary':{},'getPluralForm':null},_0x2a0c2e['de-ch']['dictionary']=Object['assign'](_0x2a0c2e['de-ch']['dictionary'],_0x11a225),_0x2a0c2e['de-ch']['getPluralForm']=_0xede109;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
|
@@ -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':
|
|
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':_0x1a320d=>0x1!=_0x1a320d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48bb12=>{const {de:{dictionary:_0x1fb3e0,getPluralForm:_0x5e6122}}={'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':_0x581926=>0x1!=_0x581926}};_0x48bb12['de']||={'dictionary':{},'getPluralForm':null},_0x48bb12['de']['dictionary']=Object['assign'](_0x48bb12['de']['dictionary'],_0x1fb3e0),_0x48bb12['de']['getPluralForm']=_0x5e6122;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
|
@@ -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':
|
|
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':_0x282a0a=>0x1!=_0x282a0a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10eccf=>{const {el:{dictionary:_0x313641,getPluralForm:_0x591e5e}}={'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':_0x485ee3=>0x1!=_0x485ee3}};_0x10eccf['el']||={'dictionary':{},'getPluralForm':null},_0x10eccf['el']['dictionary']=Object['assign'](_0x10eccf['el']['dictionary'],_0x313641),_0x10eccf['el']['getPluralForm']=_0x591e5e;})(window['CKEDITOR_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':
|
|
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':_0x5b74b4=>0x1!=_0x5b74b4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1a8f03=>{const {'en-au':{dictionary:_0x20a0c7,getPluralForm:_0x55f3bb}}={'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':_0x2a189d=>0x1!=_0x2a189d}};_0x1a8f03['en-au']||={'dictionary':{},'getPluralForm':null},_0x1a8f03['en-au']['dictionary']=Object['assign'](_0x1a8f03['en-au']['dictionary'],_0x20a0c7),_0x1a8f03['en-au']['getPluralForm']=_0x55f3bb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2f93cc=>0x1!=_0x2f93cc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31d5fb=>{const {'en-gb':{dictionary:_0x252297,getPluralForm:_0x3b9561}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x38c55=>0x1!=_0x38c55}};_0x31d5fb['en-gb']||={'dictionary':{},'getPluralForm':null},_0x31d5fb['en-gb']['dictionary']=Object['assign'](_0x31d5fb['en-gb']['dictionary'],_0x252297),_0x31d5fb['en-gb']['getPluralForm']=_0x3b9561;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/en.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
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.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':
|
|
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.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':_0xb7c3d5=>0x1!=_0xb7c3d5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x841fd1=>{const {en:{dictionary:_0x5443cb,getPluralForm:_0x1f1f48}}={'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':_0x3ab864=>0x1!=_0x3ab864}};_0x841fd1['en']||={'dictionary':{},'getPluralForm':null},_0x841fd1['en']['dictionary']=Object['assign'](_0x841fd1['en']['dictionary'],_0x5443cb),_0x841fd1['en']['getPluralForm']=_0x1f1f48;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/eo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x8ef69f=>0x1!=_0x8ef69f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4cdc33=>{const {eo:{dictionary:_0x5b0bca,getPluralForm:_0x1269c4}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2ad12c=>0x1!=_0x2ad12c}};_0x4cdc33['eo']||={'dictionary':{},'getPluralForm':null},_0x4cdc33['eo']['dictionary']=Object['assign'](_0x4cdc33['eo']['dictionary'],_0x5b0bca),_0x4cdc33['eo']['getPluralForm']=_0x1269c4;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x529aa3=>0x1!=_0x529aa3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b93f6=>{const {'es-co':{dictionary:_0x416122,getPluralForm:_0x4d8f03}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3ea1e6=>0x1!=_0x3ea1e6}};_0x4b93f6['es-co']||={'dictionary':{},'getPluralForm':null},_0x4b93f6['es-co']['dictionary']=Object['assign'](_0x4b93f6['es-co']['dictionary'],_0x416122),_0x4b93f6['es-co']['getPluralForm']=_0x4d8f03;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/es.js
CHANGED
|
@@ -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':
|
|
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':_0x302813=>0x1!=_0x302813}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd16f6e=>{const {es:{dictionary:_0x2d788f,getPluralForm:_0x3029e0}}={'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':_0x4033f4=>0x1!=_0x4033f4}};_0xd16f6e['es']||={'dictionary':{},'getPluralForm':null},_0xd16f6e['es']['dictionary']=Object['assign'](_0xd16f6e['es']['dictionary'],_0x2d788f),_0xd16f6e['es']['getPluralForm']=_0x3029e0;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/et.js
CHANGED
|
@@ -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':
|
|
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':_0x13e1a8=>0x1!=_0x13e1a8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29cce1=>{const {et:{dictionary:_0x5197bb,getPluralForm:_0x4db2be}}={'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':_0x157d11=>0x1!=_0x157d11}};_0x29cce1['et']||={'dictionary':{},'getPluralForm':null},_0x29cce1['et']['dictionary']=Object['assign'](_0x29cce1['et']['dictionary'],_0x5197bb),_0x29cce1['et']['getPluralForm']=_0x4db2be;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/eu.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x279b04=>0x1!=_0x279b04}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x189fa7=>{const {eu:{dictionary:_0x517c8e,getPluralForm:_0x4ee0a2}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3f8625=>0x1!=_0x3f8625}};_0x189fa7['eu']||={'dictionary':{},'getPluralForm':null},_0x189fa7['eu']['dictionary']=Object['assign'](_0x189fa7['eu']['dictionary'],_0x517c8e),_0x189fa7['eu']['getPluralForm']=_0x4ee0a2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fa.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x515cb2=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb871db=>{const {fa:{dictionary:_0x146ada,getPluralForm:_0x287e2f}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x41fd3c=>0x0}};_0xb871db['fa']||={'dictionary':{},'getPluralForm':null},_0xb871db['fa']['dictionary']=Object['assign'](_0xb871db['fa']['dictionary'],_0x146ada),_0xb871db['fa']['getPluralForm']=_0x287e2f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fi.js
CHANGED
|
@@ -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':
|
|
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':_0x5918ee=>0x1!=_0x5918ee}};
|