@ckeditor/ckeditor5-import-word 44.2.0-alpha.5 → 44.2.0-alpha.7
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={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(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:()=>c});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=a;function s(){const t=["isPremiumPlugin","429510PeAxuE","pluginName","iconView","focus","643361SYYHZW","Import from Word","6AiLijJ","4zcSjfv","menuBar:importWord","isBusy","add","3976302ipxEQQ","init","done","8365273lXzXbC","importWord","tooltip","4LZPEjN","label","set","2078235NEOMeO","view","isOn","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","176bjRgnW","children","commands","Importing Word document","isVisible","3225295nzsvVp","_createButton","ImportWordUI","get","editor","componentFactory","editing","locale","32gEHiWC","bind","isOfficialPlugin","918252JDxsIf","isEnabled","execute"];return(s=function(){return t})()}function a(t,e){const r=s();return(a=function(t,e){return r[t-=440]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(846417===parseInt(e(454))/1*(-parseInt(e(457))/2)+parseInt(e(461))/3+parseInt(e(467))/4*(-parseInt(e(479))/5)+-parseInt(e(456))/6*(-parseInt(e(464))/7)+-parseInt(e(443))/8*(parseInt(e(470))/9)+-parseInt(e(450))/10+parseInt(e(474))/11*(parseInt(e(446))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class c extends t.Plugin{static get[o(451)](){return o(481)}static get[o(445)](){return!0}static get[o(449)](){return!0}[o(462)](){const t=o,r=this[t(483)];r.ui[t(440)][t(460)](t(465),(()=>{const n=t,i=this[n(480)](e.FileDialogButtonView),o=r[n(476)][n(482)](n(465));return i[n(444)](n(472)).to(o,n(459)),i[n(466)]=!0,i})),r.ui[t(440)][t(460)](t(458),(()=>this[t(480)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(480)](t){const r=o,n=this[r(483)],s=n[r(476)][r(482)](r(465)),a=new t(n[r(442)]),c=new e.SpinnerView;return a[r(469)]({acceptedType:r(473)}),a[r(469)]({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(444)](r(447)).to(s),a[r(444)](r(468)).to(s,r(459),(t=>i(n[r(442)],r(t?477:455)))),c[r(444)](r(478)).to(s,r(459)),a[r(452)][r(444)](r(478)).to(s,r(459),(t=>!t)),a[r(475)][r(460)](c),a.on(r(463),((t,e)=>{const i=r;n[i(448)](i(465),e[0],{}),n[i(441)][i(471)][i(453)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=f;function h(){const t=["parent","config","9huvcuu","checkChild","locale","dataInsert","657wzlSKe","plugins","editor","DateTimeFormat","_handleImportFailure","createPositionBefore","49439YszfcW","importWord:","getRange","element","clipboardInput","fire","finally","isAtStart","stopListening","4628336WXSEeE","root","aborted","reject","html","createPositionAfter","createBatch","execute","mergeFields","_importMarker","json","1392Gtdocj","isEmpty","headers","_cleanUpAfterImport","position","value","POST","resolvedOptions","deleteContent","4478133DHIsCU","catch","setData","30Mebjam","has","MergeFields","change:range","isBusy","removeMarker","showWarning","_handleImportResponse","enqueueChange","_undoStepBatch","getToken","view","setSelection","importWord","3079595sUvaYr","import-word-plugin-conversion-failed","ImportWordEditing","5996200rwKWCr","bind","file","_prepareForImport","import-word-plugin-import-cancelled","refresh","getFirstPosition","stringify","timeZone","set","paragraph","split","document","20340grdupu","markers","_checkEnabled","3804PtmhNb","resolve","get","abort","editing","selection","Notification","model","Authorization","6xRNPEd","isAtEnd","$graveyard","formatting","merge_fields","low","isCollapsed","converterUrl","rootName","then","text/html","_abortController","addMarker","64uVHJwP","_sendImportRequest","An error occurred while importing the Word file.","isEnabled","schema","getSelectedBlocks","signal"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=418]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(715452===parseInt(e(446))/1*(-parseInt(e(513))/2)+parseInt(e(420))/3*(parseInt(e(488))/4)+parseInt(e(472))/5*(-parseInt(e(500))/6)+parseInt(e(475))/7+parseInt(e(435))/8*(-parseInt(e(522))/9)+-parseInt(e(458))/10*(parseInt(e(455))/11)+parseInt(e(491))/12*(parseInt(e(426))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(h);class m extends t.Command{constructor(t){const e=f;super(t),this[e(484)](e(462),!1),this[e(444)]=null,this[e(467)]=null,this[e(511)]=null,this.on(e(419),((r,n)=>{const i=e,o=new DataTransfer;o[i(457)](i(510),n[i(439)]);const s=this[i(444)][i(428)]();this[i(422)][i(498)][i(466)](this[i(467)],(e=>{const r=i;this[r(444)][r(434)](),e[r(470)](s),t[r(495)][r(469)][r(487)][r(431)](r(430),{dataTransfer:o})}))}),{priority:e(505)})}[d(480)](){const t=d;this[t(516)]=this[t(490)]()}[d(442)](t,e={}){const r=d;if(this[r(462)])return Promise[r(492)]();const n=this[r(422)][r(521)][r(493)](r(471));if(this[r(422)][r(421)][r(459)](r(460))){const{prefix:t,suffix:n}=this[r(422)][r(521)][r(493)](r(443));e[r(504)]={prefix:t,suffix:n}}const i={url:n[r(507)],file:t,serviceConfig:{...e,formatting:n[r(503)],timezone:(new(Intl[r(423)]))[r(453)]()[r(483)]}};return this[r(478)](),this[r(514)](i)[r(509)](this[r(465)][r(476)](this))[r(456)](this[r(424)][r(476)](this))[r(432)](this[r(449)][r(476)](this))}[d(490)](){const t=d;if(this[t(462)])return!1;const e=this[t(422)][t(498)],r=e[t(517)],n=e[t(487)][t(496)],i=(0,l.first)(n[t(518)]());return!!i&&r[t(523)](i[t(520)],t(485))}[d(478)](){const t=d,e=this[t(422)],r=e[t(498)],n=r[t(487)][t(496)];this[t(511)]=new AbortController,this[t(467)]=e[t(498)][t(441)]({isUndoable:!0}),r[t(466)](this[t(467)],(e=>{const i=t;n[i(506)]||r[i(454)](n,{leaveUnmerged:!0});const o=n[i(481)](),s=(0,l.first)(n[i(518)]());let a;a=s.is(i(429),i(485))&&s[i(447)]?o:o[i(433)]?r[i(425)](s):o[i(501)]?r[i(440)](s):e[i(486)](o)[i(450)],this[i(444)]=e[i(512)](i(427)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(444)].on(i(461),(()=>{const t=i;t(502)===this[t(444)][t(428)]()[t(436)][t(508)]&&this[t(511)][t(494)]()}))})),this[t(462)]=!0,this[t(480)]()}[d(449)](){const t=d,e=this[t(422)][t(498)];e[t(489)][t(459)](this[t(444)])&&e[t(466)](this[t(467)],(e=>{const r=t;e[r(463)](this[r(444)])})),this[t(444)]=null,this[t(467)]=null,this[t(511)]=null,this[t(462)]=!1,this[t(480)]()}[d(514)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(422)][n(421)][n(493)](n(474))[n(468)](),o=new FormData;o[n(484)](n(521),JSON[n(482)](r)),o[n(484)](n(477),e);const s={method:n(452),headers:{},body:o,signal:this[n(511)][n(519)]};return i&&(s[n(448)][n(499)]=i[n(451)]),fetch(t,s)}[d(465)](t){const e=d;return t.ok?t[e(445)]()[e(509)]((t=>{const r=e;this[r(422)][r(498)][r(489)][r(459)](this[r(444)])&&r(502)!==this[r(444)][r(428)]()[r(436)][r(508)]&&this[r(431)](r(419),t)})):Promise[e(438)]()}[d(424)](){const t=d;if(this[t(511)][t(519)][t(437)])return void(0,l.logWarning)(t(479));const e=this[t(422)],r=i(e[t(418)],t(515));e[t(421)][t(493)](t(497))[t(464)](r),(0,l.logError)(t(473))}}function g(){const t=["3gmYeMB","none","tokenUrl","config","importWord","registerTokenUrl","1938376ufcWYI","CloudServices","getToken","997546dLAXhZ","init","528637aICzfS","606ZHcXwl","requires","cloudServices","329841DnYQSY","isOfficialPlugin","ImportWordEditing","813610QHwpKe","commands","730gfbajg","get","https://docx-converter.cke-cs.com/v2/convert/docx-html","5239080xgYTkF","_token","plugins","43337XxeYVR","inline","add","pluginName","isPremiumPlugin","define","token","editor"];return(g=function(){return t})()}const I=v;function v(t,e){const r=g();return(v=function(t,e){return r[t-=194]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(690605===parseInt(e(215))/1+parseInt(e(213))/2*(-parseInt(e(204))/3)+-parseInt(e(227))/4+parseInt(e(222))/5+-parseInt(e(216))/6*(parseInt(e(196))/7)+-parseInt(e(210))/8+-parseInt(e(219))/9*(-parseInt(e(224))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(g);class w extends t.Plugin{static get[I(199)](){return I(221)}static get[I(220)](){return!0}static get[I(200)](){return!0}static get[I(217)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(211)]}constructor(t){const e=I;super(t),this[e(194)]=null}async[I(214)](){const t=I,e=this[t(203)];e[t(207)][t(201)](t(208),{converterUrl:t(226),tokenUrl:(e[t(207)][t(225)](t(218))||{})[t(206)],formatting:{resets:t(205),defaults:t(205),styles:t(197)}}),e[t(223)][t(198)](t(208),new m(e));const{tokenUrl:r}=e[t(207)][t(225)](t(208));if(r){const{tokenUrl:n}=e[t(207)][t(225)](t(218))||{};this[t(194)]=r===n?e[t(195)][t(225)](t(211))[t(202)]:await e[t(195)][t(225)](t(211))[t(209)](r)}}[I(212)](){return this[I(194)]}}var W=b;function b(t,e){var r=x();return(b=function(t,e){return r[t-=337]})(t,e)}function x(){var t=["requires","813776gddVyR","1058795VcJOUS","isOfficialPlugin","1133426pkTVwf","isPremiumPlugin","pluginName","8367608ewXHsA","ImportWord","28158uOWALX","93sSwDUl","967638oYRkHX","356596mlaIaF"];return(x=function(){return t})()}!function(t){for(var e=b,r=t();;)try{if(243946===-parseInt(e(344))/1+-parseInt(e(341))/2*(parseInt(e(342))/3)+parseInt(e(346))/4+-parseInt(e(347))/5+parseInt(e(343))/6+-parseInt(e(349))/7+parseInt(e(339))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(x);class y extends t.Plugin{static get[W(338)](){return W(340)}static get[W(348)](){return!0}static get[W(337)](){return!0}static get[W(345)](){return[w,c]}}function P(t,e){var r=S();return(P=function(t,e){return r[t-=413]})(t,e)}function S(){var t=["13908RpJwwm","664DbhnaV","2LVjbqt","1687851XMsSBh","11828710qMaSOX","169497pdwrkr","12wIYJrh","3966herWsC","5422221TAVmRU","552OWbcpI","92001opTgiD","9865UBPFbH"];return(S=function(){return t})()}!function(t){for(var e=P,r=t();;)try{if(844986===parseInt(e(422))/1*(-parseInt(e(419))/2)+-parseInt(e(417))/3*(parseInt(e(418))/4)+-parseInt(e(416))/5*(-parseInt(e(424))/6)+parseInt(e(415))/7*(parseInt(e(414))/8)+parseInt(e(413))/9+-parseInt(e(421))/10+-parseInt(e(420))/11*(-parseInt(e(423))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(S)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var 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:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=a;function s(){const t=["editor","7305gwFIJz","isPremiumPlugin","focus","_createButton","isOn","view","componentFactory","33zdVved","commands","isBusy","1151016FhLlrA","321048VBKFrM","588NlJzoc","label","bind","449uwzfBz","init","importWord","isOfficialPlugin","2405750ItBUbe","11reaApk","Importing Word document","pluginName","4248NrHTBe","768kGaLla","execute","isVisible","locale","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","set","get","editing","menuBar:importWord","children","add","Import from Word","iconView","isEnabled","2562dNaFPK","ImportWordUI","done","28260sFqDLV","tooltip"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=173]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(120970===-parseInt(r(193))/1*(-parseInt(r(202))/2)+parseInt(r(185))/3*(parseInt(r(175))/4)+parseInt(r(178))/5*(-parseInt(r(190))/6)+parseInt(r(216))/7*(parseInt(r(201))/8)+-parseInt(r(189))/9+-parseInt(r(197))/10+-parseInt(r(198))/11*(-parseInt(r(188))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[o(200)](){return o(173)}static get[o(196)](){return!0}static get[o(179)](){return!0}[o(194)](){const t=o,e=this[t(177)];e.ui[t(184)][t(212)](t(195),(()=>{const n=t,i=this[n(181)](r.FileDialogButtonView),o=e[n(186)][n(208)](n(195));return i[n(192)](n(182)).to(o,n(187)),i[n(176)]=!0,i})),e.ui[t(184)][t(212)](t(210),(()=>this[t(181)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(181)](t){const e=o,n=this[e(177)],s=n[e(186)][e(208)](e(195)),a=new t(n[e(205)]),c=new r.SpinnerView;return a[e(207)]({acceptedType:e(206)}),a[e(207)]({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(192)](e(215)).to(s),a[e(192)](e(191)).to(s,e(187),(t=>i(n[e(205)],e(t?199:213)))),c[e(192)](e(204)).to(s,e(187)),a[e(214)][e(192)](e(204)).to(s,e(187),(t=>!t)),a[e(211)][e(212)](c),a.on(e(174),((t,r)=>{const i=e;n[i(203)](i(195),r[0],{}),n[i(209)][i(183)][i(180)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=f;function h(){const t=["1805190uzrwSP","clipboardInput","isBusy","locale","isCollapsed","ImportWordEditing","config","11ksqbXS","selection","dataInsert","catch","abort","_cleanUpAfterImport","isAtStart","json","MergeFields","text/html","createPositionBefore","_prepareForImport","1yWqhbd","document","deleteContent","value","mergeFields","import-word-plugin-conversion-failed","createBatch","isEnabled","rootName","editor","1410tANbas","2592528YNngmh","_undoStepBatch","_abortController","_importMarker","stopListening","editing","444036HKPfEV","fire","8riAxan","getSelectedBlocks","getToken","setSelection","Authorization","Notification","checkChild","setData","formatting","bind","markers","showWarning","POST","set","aborted","file","_sendImportRequest","converterUrl","has","headers","createPositionAfter","element","paragraph","schema","stringify","getRange","enqueueChange","importWord","476384bYMVvQ","resolve","$graveyard","removeMarker","_handleImportResponse","DateTimeFormat","54zPXVmp","321338QuMrNk","_handleImportFailure","root","html","getFirstPosition","finally","low","isAtEnd","resolvedOptions","parent","position","510845eKtGWy","then","merge_fields","view","56NrRHla","change:range","get","An error occurred while importing the Word file.","signal","split","import-word-plugin-import-cancelled","_checkEnabled","model","timeZone","plugins","reject","execute","isEmpty","importWord:","addMarker","refresh"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=247]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(238952===parseInt(r(340))/1*(-parseInt(r(289))/2)+-parseInt(r(252))/3+parseInt(r(254))/4*(-parseInt(r(300))/5)+parseInt(r(350))/6*(-parseInt(r(304))/7)+-parseInt(r(282))/8*(-parseInt(r(288))/9)+parseInt(r(321))/10*(parseInt(r(328))/11)+parseInt(r(351))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class m extends t.Command{constructor(t){const r=f;super(t),this[r(267)](r(323),!1),this[r(249)]=null,this[r(247)]=null,this[r(248)]=null,this.on(r(330),((e,n)=>{const i=r,o=new DataTransfer;o[i(261)](i(337),n[i(292)]);const s=this[i(249)][i(279)]();this[i(349)][i(312)][i(280)](this[i(247)],(r=>{const e=i;this[e(249)][e(250)](),r[e(257)](s),t[e(251)][e(303)][e(341)][e(253)](e(322),{dataTransfer:o})}))}),{priority:r(295)})}[d(320)](){const t=d;this[t(347)]=this[t(311)]()}[d(316)](t,r={}){const e=d;if(this[e(323)])return Promise[e(283)]();const n=this[e(349)][e(327)][e(306)](e(281));if(this[e(349)][e(314)][e(272)](e(336))){const{prefix:t,suffix:n}=this[e(349)][e(327)][e(306)](e(344));r[e(302)]={prefix:t,suffix:n}}const i={url:n[e(271)],file:t,serviceConfig:{...r,formatting:n[e(262)],timezone:(new(Intl[e(287)]))[e(297)]()[e(313)]}};return this[e(339)](),this[e(270)](i)[e(301)](this[e(286)][e(263)](this))[e(331)](this[e(290)][e(263)](this))[e(294)](this[e(333)][e(263)](this))}[d(311)](){const t=d;if(this[t(323)])return!1;const r=this[t(349)][t(312)],e=r[t(277)],n=r[t(341)][t(329)],i=(0,l.first)(n[t(255)]());return!!i&&e[t(260)](i[t(298)],t(276))}[d(339)](){const t=d,r=this[t(349)],e=r[t(312)],n=e[t(341)][t(329)];this[t(248)]=new AbortController,this[t(247)]=r[t(312)][t(346)]({isUndoable:!0}),e[t(280)](this[t(247)],(r=>{const i=t;n[i(325)]||e[i(342)](n,{leaveUnmerged:!0});const o=n[i(293)](),s=(0,l.first)(n[i(255)]());let a;a=s.is(i(275),i(276))&&s[i(317)]?o:o[i(334)]?e[i(338)](s):o[i(296)]?e[i(274)](s):r[i(309)](o)[i(299)],this[i(249)]=r[i(319)](i(318)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(249)].on(i(305),(()=>{const t=i;t(284)===this[t(249)][t(279)]()[t(291)][t(348)]&&this[t(248)][t(332)]()}))})),this[t(323)]=!0,this[t(320)]()}[d(333)](){const t=d,r=this[t(349)][t(312)];r[t(264)][t(272)](this[t(249)])&&r[t(280)](this[t(247)],(r=>{const e=t;r[e(285)](this[e(249)])})),this[t(249)]=null,this[t(247)]=null,this[t(248)]=null,this[t(323)]=!1,this[t(320)]()}[d(270)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(349)][n(314)][n(306)](n(326))[n(256)](),o=new FormData;o[n(267)](n(327),JSON[n(278)](e)),o[n(267)](n(269),r);const s={method:n(266),headers:{},body:o,signal:this[n(248)][n(308)]};return i&&(s[n(273)][n(258)]=i[n(343)]),fetch(t,s)}[d(286)](t){const r=d;return t.ok?t[r(335)]()[r(301)]((t=>{const e=r;this[e(349)][e(312)][e(264)][e(272)](this[e(249)])&&e(284)!==this[e(249)][e(279)]()[e(291)][e(348)]&&this[e(253)](e(330),t)})):Promise[r(315)]()}[d(290)](){const t=d;if(this[t(248)][t(308)][t(268)])return void(0,l.logWarning)(t(310));const r=this[t(349)],e=i(r[t(324)],t(307));r[t(314)][t(306)](t(259))[t(265)](e),(0,l.logError)(t(345))}}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=159]})(t,r)}function v(){const t=["_token","get","5028680DcqdEt","2804196mHvIzf","7267960JYqLcf","isOfficialPlugin","cloudServices","editor","registerTokenUrl","7MlzbDu","importWord","13069683wIqadz","3772220YrAvaN","isPremiumPlugin","requires","plugins","define","tokenUrl","commands","config","init","https://docx-converter.cke-cs.com/v2/convert/docx-html","getToken","none","pluginName","CloudServices","4McCDvo","token","297649BUkuyY","add","ImportWordEditing","inline","2504625aMLvHH"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(639680===parseInt(r(184))/1*(parseInt(r(182))/2)+-parseInt(r(188))/3+-parseInt(r(168))/4+-parseInt(r(191))/5+-parseInt(r(159))/6*(-parseInt(r(165))/7)+parseInt(r(160))/8+parseInt(r(167))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(180)](){return g(186)}static get[g(161)](){return!0}static get[g(169)](){return!0}static get[g(170)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(181)]}constructor(t){const r=g;super(t),this[r(189)]=null}async[g(176)](){const t=g,r=this[t(163)];r[t(175)][t(172)](t(166),{converterUrl:t(177),tokenUrl:(r[t(175)][t(190)](t(162))||{})[t(173)],formatting:{resets:t(179),defaults:t(179),styles:t(187)}}),r[t(174)][t(185)](t(166),new m(r));const{tokenUrl:e}=r[t(175)][t(190)](t(166));if(e){const{tokenUrl:n}=r[t(175)][t(190)](t(162))||{};this[t(189)]=e===n?r[t(171)][t(190)](t(181))[t(183)]:await r[t(171)][t(190)](t(181))[t(164)](e)}}[g(178)](){return this[g(189)]}}var b=W;function y(){var t=["requires","939336VdGXOv","3416216wmnTvO","27HCbLgL","2036380uVFdvD","7QRAcvD","pluginName","ImportWord","31348oLzgbK","1910133tLijzR","isOfficialPlugin","60zIiFYI","5945489FIFEOT","isPremiumPlugin","345304amXfrZ","685CFNHLa"];return(y=function(){return t})()}function W(t,r){var e=y();return(W=function(t,r){return e[t-=368]})(t,r)}!function(t){for(var r=W,e=t();;)try{if(767863===-parseInt(r(372))/1+parseInt(r(378))/2+-parseInt(r(383))/3+parseInt(r(382))/4*(-parseInt(r(373))/5)+parseInt(r(375))/6*(-parseInt(r(379))/7)+parseInt(r(376))/8*(-parseInt(r(377))/9)+-parseInt(r(369))/10*(-parseInt(r(370))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[b(380)](){return b(381)}static get[b(368)](){return!0}static get[b(371)](){return!0}static get[b(374)](){return[w,c]}}function k(){var t=["12640SrghMy","10SCYORl","771823znBZZM","12914913sRlEak","267146lWZeUh","3930nEexIr","2081826YpZoMk","7835HpjPGK","8waSdPF","6bJmQAc","510309XxyROe","912QOgQEK","3619xoQMfz"];return(k=function(){return t})()}function P(t,r){var e=k();return(P=function(t,r){return e[t-=406]})(t,r)}!function(t){for(var r=P,e=t();;)try{if(851721===parseInt(r(413))/1*(parseInt(r(408))/2)+parseInt(r(410))/3*(-parseInt(r(412))/4)+parseInt(r(411))/5*(-parseInt(r(409))/6)+-parseInt(r(416))/7*(parseInt(r(417))/8)+parseInt(r(414))/9*(-parseInt(r(418))/10)+-parseInt(r(407))/11+-parseInt(r(415))/12*(-parseInt(r(406))/13))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 _0x15d4bf,Command as _0x238631}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x24365d,MenuBarMenuListItemFileDialogButtonView as _0x337096,SpinnerView as _0x1a453f,Notification as _0x118786}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x5d2ebc}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x35bab4}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x21f37f,uid as _0x5d7a36,logWarning as _0x550e4d,logError as _0x14fb63}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x5dd081,_0x2bb6de){const t=_0x5dd081['t'];switch(_0x2bb6de){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 _0x2bb6de;}}class i extends _0x15d4bf{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2381ed=this['editor'];_0x2381ed['ui']['componentFactory']['add']('importWord',()=>{const _0x1bb5b3=this['_createButton'](_0x24365d),_0x305479=_0x2381ed['commands']['get']('importWord');return _0x1bb5b3['bind']('isOn')['to'](_0x305479,'isBusy'),_0x1bb5b3['tooltip']=!0x0,_0x1bb5b3;}),_0x2381ed['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x337096));}['_createButton'](_0x70eb0b){const _0x4a1044=this['editor'],_0x343acc=_0x4a1044['commands']['get']('importWord'),_0x58b108=new _0x70eb0b(_0x4a1044['locale']),_0x2cb182=new _0x1a453f();return _0x58b108['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x58b108['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'}),_0x58b108['bind']('isEnabled')['to'](_0x343acc),_0x58b108['bind']('label')['to'](_0x343acc,'isBusy',_0x1e666c=>p(_0x4a1044['locale'],_0x1e666c?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x2cb182['bind']('isVisible')['to'](_0x343acc,'isBusy'),_0x58b108['iconView']['bind']('isVisible')['to'](_0x343acc,'isBusy',_0x4954d4=>!_0x4954d4),_0x58b108['children']['add'](_0x2cb182),_0x58b108['on']('done',(_0x2d400c,_0x4a08e6)=>{_0x4a1044['execute']('importWord',_0x4a08e6[0x0],{}),_0x4a1044['editing']['view']['focus']();}),_0x58b108;}}class d extends _0x238631{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x56214a){super(_0x56214a),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x3c1556,_0x164f36)=>{const _0xa23017=new DataTransfer();_0xa23017['setData']('text/html',_0x164f36['html']);const _0x9def82=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x358950=>{this['_importMarker']['stopListening'](),_0x358950['setSelection'](_0x9def82),_0x56214a['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0xa23017});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x44737a,_0x144de3={}){if(this['isBusy'])return Promise['resolve']();const _0x407d14=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x516700,suffix:_0x37764d}=this['editor']['config']['get']('mergeFields');_0x144de3['merge_fields']={'prefix':_0x516700,'suffix':_0x37764d};}const _0x571e53={'url':_0x407d14['converterUrl'],'file':_0x44737a,'serviceConfig':{..._0x144de3,'formatting':_0x407d14['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x571e53)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x3f7aff=this['editor']['model'],_0x28dfc7=_0x3f7aff['schema'],_0x28dd2c=_0x3f7aff['document']['selection'],_0x4edc18=_0x21f37f(_0x28dd2c['getSelectedBlocks']());return!!_0x4edc18&&_0x28dfc7['checkChild'](_0x4edc18['parent'],'paragraph');}['_prepareForImport'](){const _0x3e43d7=this['editor'],_0x4c30b9=_0x3e43d7['model'],_0x19288f=_0x4c30b9['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x3e43d7['model']['createBatch']({'isUndoable':!0x0}),_0x4c30b9['enqueueChange'](this['_undoStepBatch'],_0x10dcaa=>{_0x19288f['isCollapsed']||_0x4c30b9['deleteContent'](_0x19288f,{'leaveUnmerged':!0x0});const _0x5069bf=_0x19288f['getFirstPosition'](),_0x15ef7d=_0x21f37f(_0x19288f['getSelectedBlocks']());let _0x150a96;_0x150a96=_0x15ef7d['is']('element','paragraph')&&_0x15ef7d['isEmpty']?_0x5069bf:_0x5069bf['isAtStart']?_0x4c30b9['createPositionBefore'](_0x15ef7d):_0x5069bf['isAtEnd']?_0x4c30b9['createPositionAfter'](_0x15ef7d):_0x10dcaa['split'](_0x5069bf)['position'],this['_importMarker']=_0x10dcaa['addMarker']('importWord:'+_0x5d7a36(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x35bab4(_0x150a96)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x1a5e93=this['editor']['model'];_0x1a5e93['markers']['has'](this['_importMarker'])&&_0x1a5e93['enqueueChange'](this['_undoStepBatch'],_0x46119b=>{_0x46119b['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x44437c,file:_0x1e8f9d,serviceConfig:_0x2f530d}){const _0x13c56a=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x262c4c=new FormData();_0x262c4c['set']('config',JSON['stringify'](_0x2f530d)),_0x262c4c['set']('file',_0x1e8f9d);const _0xa3f201={'method':'POST','headers':{},'body':_0x262c4c,'signal':this['_abortController']['signal']};return _0x13c56a&&(_0xa3f201['headers']['Authorization']=_0x13c56a['value']),fetch(_0x44437c,_0xa3f201);}['_handleImportResponse'](_0x4f6233){return _0x4f6233['ok']?_0x4f6233['json']()['then'](_0x311c73=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x311c73);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x550e4d('import-word-plugin-import-cancelled');const _0x1d78ca=this['editor'],_0x4e54c9=p(_0x1d78ca['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x1d78ca['plugins']['get']('Notification')['showWarning'](_0x4e54c9),_0x14fb63('import-word-plugin-conversion-failed');}}class e extends _0x15d4bf{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x118786,_0x5d2ebc,'CloudServices'];}constructor(_0x3394f7){super(_0x3394f7),this['_token']=null;}async['init'](){const _0x541af1=this['editor'];_0x541af1['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x541af1['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x541af1['commands']['add']('importWord',new d(_0x541af1));const {tokenUrl:_0x3234b5}=_0x541af1['config']['get']('importWord');if(_0x3234b5){const {tokenUrl:_0x12f82a}=_0x541af1['config']['get']('cloudServices')||{};this['_token']=_0x3234b5===_0x12f82a?_0x541af1['plugins']['get']('CloudServices')['token']:await _0x541af1['plugins']['get']('CloudServices')['registerTokenUrl'](_0x3234b5);}}['getToken'](){return this['_token'];}}class o extends _0x15d4bf{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':_0x284832=>0x1!=_0x284832}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x126b91=>{const {af:{dictionary:_0x37cd83,getPluralForm:_0x6f5a44}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2fbe8d=>0x1!=_0x2fbe8d}};_0x126b91['af']||={'dictionary':{},'getPluralForm':null},_0x126b91['af']['dictionary']=Object['assign'](_0x126b91['af']['dictionary'],_0x37cd83),_0x126b91['af']['getPluralForm']=_0x6f5a44;})(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':_0x1e4629=>0x0==_0x1e4629?0x0:0x1==_0x1e4629?0x1:0x2==_0x1e4629?0x2:_0x1e4629%0x64>=0x3&&_0x1e4629%0x64<=0xa?0x3:_0x1e4629%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x35963e=>{const {ar:{dictionary:_0x2f2007,getPluralForm:_0x452631}}={'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':_0x2798fc=>0x0==_0x2798fc?0x0:0x1==_0x2798fc?0x1:0x2==_0x2798fc?0x2:_0x2798fc%0x64>=0x3&&_0x2798fc%0x64<=0xa?0x3:_0x2798fc%0x64>=0xb?0x4:0x5}};_0x35963e['ar']||={'dictionary':{},'getPluralForm':null},_0x35963e['ar']['dictionary']=Object['assign'](_0x35963e['ar']['dictionary'],_0x2f2007),_0x35963e['ar']['getPluralForm']=_0x452631;})(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':_0x251b98=>0x1!=_0x251b98}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2494a6=>{const {ast:{dictionary:_0x10395a,getPluralForm:_0x31e325}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x39e884=>0x1!=_0x39e884}};_0x2494a6['ast']||={'dictionary':{},'getPluralForm':null},_0x2494a6['ast']['dictionary']=Object['assign'](_0x2494a6['ast']['dictionary'],_0x10395a),_0x2494a6['ast']['getPluralForm']=_0x31e325;})(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':_0x267b65=>0x1!=_0x267b65}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x149b7f=>{const {az:{dictionary:_0x5a5895,getPluralForm:_0x5f098b}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3112b9=>0x1!=_0x3112b9}};_0x149b7f['az']||={'dictionary':{},'getPluralForm':null},_0x149b7f['az']['dictionary']=Object['assign'](_0x149b7f['az']['dictionary'],_0x5a5895),_0x149b7f['az']['getPluralForm']=_0x5f098b;})(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':_0x1d5dfa=>0x1!=_0x1d5dfa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32d3ab=>{const {bg:{dictionary:_0x1e2eb2,getPluralForm:_0x3b680a}}={'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':_0x565a88=>0x1!=_0x565a88}};_0x32d3ab['bg']||={'dictionary':{},'getPluralForm':null},_0x32d3ab['bg']['dictionary']=Object['assign'](_0x32d3ab['bg']['dictionary'],_0x1e2eb2),_0x32d3ab['bg']['getPluralForm']=_0x3b680a;})(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':_0x10bfeb=>0x1!=_0x10bfeb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x328bfe=>{const {bn:{dictionary:_0x59f79f,getPluralForm:_0x381d08}}={'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':_0x4e80dc=>0x1!=_0x4e80dc}};_0x328bfe['bn']||={'dictionary':{},'getPluralForm':null},_0x328bfe['bn']['dictionary']=Object['assign'](_0x328bfe['bn']['dictionary'],_0x59f79f),_0x328bfe['bn']['getPluralForm']=_0x381d08;})(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':_0x114c20=>_0x114c20%0xa==0x1&&_0x114c20%0x64!=0xb?0x0:_0x114c20%0xa>=0x2&&_0x114c20%0xa<=0x4&&(_0x114c20%0x64<0xa||_0x114c20%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2fb733=>{const {bs:{dictionary:_0x5af628,getPluralForm:_0x48ea9d}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3753da=>_0x3753da%0xa==0x1&&_0x3753da%0x64!=0xb?0x0:_0x3753da%0xa>=0x2&&_0x3753da%0xa<=0x4&&(_0x3753da%0x64<0xa||_0x3753da%0x64>=0x14)?0x1:0x2}};_0x2fb733['bs']||={'dictionary':{},'getPluralForm':null},_0x2fb733['bs']['dictionary']=Object['assign'](_0x2fb733['bs']['dictionary'],_0x5af628),_0x2fb733['bs']['getPluralForm']=_0x48ea9d;})(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':_0x7a9f47=>0x1!=_0x7a9f47}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x93b982=>{const {ca:{dictionary:_0x5e4883,getPluralForm:_0x59def9}}={'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':_0x46e818=>0x1!=_0x46e818}};_0x93b982['ca']||={'dictionary':{},'getPluralForm':null},_0x93b982['ca']['dictionary']=Object['assign'](_0x93b982['ca']['dictionary'],_0x5e4883),_0x93b982['ca']['getPluralForm']=_0x59def9;})(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':_0xe4b38e=>0x1==_0xe4b38e?0x0:_0xe4b38e>=0x2&&_0xe4b38e<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17889e=>{const {cs:{dictionary:_0x437138,getPluralForm:_0x404eff}}={'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':_0x10a72e=>0x1==_0x10a72e?0x0:_0x10a72e>=0x2&&_0x10a72e<=0x4?0x1:0x2}};_0x17889e['cs']||={'dictionary':{},'getPluralForm':null},_0x17889e['cs']['dictionary']=Object['assign'](_0x17889e['cs']['dictionary'],_0x437138),_0x17889e['cs']['getPluralForm']=_0x404eff;})(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':_0x7df8fd=>0x1!=_0x7df8fd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x401d9d=>{const {da:{dictionary:_0x318952,getPluralForm:_0xb553e8}}={'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':_0x127f27=>0x1!=_0x127f27}};_0x401d9d['da']||={'dictionary':{},'getPluralForm':null},_0x401d9d['da']['dictionary']=Object['assign'](_0x401d9d['da']['dictionary'],_0x318952),_0x401d9d['da']['getPluralForm']=_0xb553e8;})(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':_0x5052f4=>0x1!=_0x5052f4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c8c5a=>{const {'de-ch':{dictionary:_0x1a7f8c,getPluralForm:_0x230f5d}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4c7dac=>0x1!=_0x4c7dac}};_0x2c8c5a['de-ch']||={'dictionary':{},'getPluralForm':null},_0x2c8c5a['de-ch']['dictionary']=Object['assign'](_0x2c8c5a['de-ch']['dictionary'],_0x1a7f8c),_0x2c8c5a['de-ch']['getPluralForm']=_0x230f5d;})(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':_0x49e210=>0x1!=_0x49e210}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x369acf=>{const {de:{dictionary:_0x56ab2b,getPluralForm:_0x341dc8}}={'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':_0x12d26e=>0x1!=_0x12d26e}};_0x369acf['de']||={'dictionary':{},'getPluralForm':null},_0x369acf['de']['dictionary']=Object['assign'](_0x369acf['de']['dictionary'],_0x56ab2b),_0x369acf['de']['getPluralForm']=_0x341dc8;})(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':_0x40e1d1=>0x1!=_0x40e1d1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a2735=>{const {el:{dictionary:_0x150e2d,getPluralForm:_0x29a730}}={'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':_0x2e5830=>0x1!=_0x2e5830}};_0x3a2735['el']||={'dictionary':{},'getPluralForm':null},_0x3a2735['el']['dictionary']=Object['assign'](_0x3a2735['el']['dictionary'],_0x150e2d),_0x3a2735['el']['getPluralForm']=_0x29a730;})(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':_0x194743=>0x1!=_0x194743}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e36ed=>{const {'en-au':{dictionary:_0x559a3d,getPluralForm:_0x1577cc}}={'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':_0x1e6f90=>0x1!=_0x1e6f90}};_0x3e36ed['en-au']||={'dictionary':{},'getPluralForm':null},_0x3e36ed['en-au']['dictionary']=Object['assign'](_0x3e36ed['en-au']['dictionary'],_0x559a3d),_0x3e36ed['en-au']['getPluralForm']=_0x1577cc;})(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':_0x568a87=>0x1!=_0x568a87}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x429aa6=>{const {'en-gb':{dictionary:_0xa0b8b5,getPluralForm:_0x5a8c78}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5f5908=>0x1!=_0x5f5908}};_0x429aa6['en-gb']||={'dictionary':{},'getPluralForm':null},_0x429aa6['en-gb']['dictionary']=Object['assign'](_0x429aa6['en-gb']['dictionary'],_0xa0b8b5),_0x429aa6['en-gb']['getPluralForm']=_0x5a8c78;})(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':_0x2dcf05=>0x1!=_0x2dcf05}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4769b5=>{const {en:{dictionary:_0x3c79a8,getPluralForm:_0x1190b9}}={'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':_0xd2f69=>0x1!=_0xd2f69}};_0x4769b5['en']||={'dictionary':{},'getPluralForm':null},_0x4769b5['en']['dictionary']=Object['assign'](_0x4769b5['en']['dictionary'],_0x3c79a8),_0x4769b5['en']['getPluralForm']=_0x1190b9;})(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':_0x122627=>0x1!=_0x122627}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x43399f=>{const {eo:{dictionary:_0x5e6b0f,getPluralForm:_0x1fd804}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5e8738=>0x1!=_0x5e8738}};_0x43399f['eo']||={'dictionary':{},'getPluralForm':null},_0x43399f['eo']['dictionary']=Object['assign'](_0x43399f['eo']['dictionary'],_0x5e6b0f),_0x43399f['eo']['getPluralForm']=_0x1fd804;})(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':_0x553046=>0x1!=_0x553046}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d80e3=>{const {'es-co':{dictionary:_0xb1fb12,getPluralForm:_0x4c8048}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3ab6df=>0x1!=_0x3ab6df}};_0x4d80e3['es-co']||={'dictionary':{},'getPluralForm':null},_0x4d80e3['es-co']['dictionary']=Object['assign'](_0x4d80e3['es-co']['dictionary'],_0xb1fb12),_0x4d80e3['es-co']['getPluralForm']=_0x4c8048;})(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':_0x402750=>0x1!=_0x402750}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd1816b=>{const {es:{dictionary:_0x17d525,getPluralForm:_0x1782eb}}={'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':_0x3f701a=>0x1!=_0x3f701a}};_0xd1816b['es']||={'dictionary':{},'getPluralForm':null},_0xd1816b['es']['dictionary']=Object['assign'](_0xd1816b['es']['dictionary'],_0x17d525),_0xd1816b['es']['getPluralForm']=_0x1782eb;})(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':_0x3c985b=>0x1!=_0x3c985b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1381fd=>{const {et:{dictionary:_0x306d1f,getPluralForm:_0x3794a5}}={'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':_0x340e6b=>0x1!=_0x340e6b}};_0x1381fd['et']||={'dictionary':{},'getPluralForm':null},_0x1381fd['et']['dictionary']=Object['assign'](_0x1381fd['et']['dictionary'],_0x306d1f),_0x1381fd['et']['getPluralForm']=_0x3794a5;})(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':_0x573a62=>0x1!=_0x573a62}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x538d1f=>{const {eu:{dictionary:_0x17aaa1,getPluralForm:_0x1ed199}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x423203=>0x1!=_0x423203}};_0x538d1f['eu']||={'dictionary':{},'getPluralForm':null},_0x538d1f['eu']['dictionary']=Object['assign'](_0x538d1f['eu']['dictionary'],_0x17aaa1),_0x538d1f['eu']['getPluralForm']=_0x1ed199;})(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':_0x3c2470=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2178a1=>{const {fa:{dictionary:_0x2bfd23,getPluralForm:_0x4674c1}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x474330=>0x0}};_0x2178a1['fa']||={'dictionary':{},'getPluralForm':null},_0x2178a1['fa']['dictionary']=Object['assign'](_0x2178a1['fa']['dictionary'],_0x2bfd23),_0x2178a1['fa']['getPluralForm']=_0x4674c1;})(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':_0x2bbc19=>0x1!=_0x2bbc19}};
|