@ckeditor/ckeditor5-import-word 0.0.0-nightly-20241217.0 → 0.0.0-nightly-20241218.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +7 -7
- 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-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(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:()=>v,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}}function o(){const t=["execute","editing","41591330RkhVpW","init","commands","isVisible","pluginName","isOn","3828095wdoCIs","_createButton","bind","isPremiumPlugin","46808UvvQPg","componentFactory","label","focus","ImportWordUI","set","locale","view","1477LvodPf","isEnabled","8HDhSDQ","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","460118lCLnem","4rLaijg","done","Importing Word document","editor","8523258JIEHKn","4188873drwXmf","menuBar:importWord","tooltip","importWord","get","Import from Word","8075142vUFGgP","children","isBusy","iconView","add","isOfficialPlugin"];return(o=function(){return t})()}const s=a;function a(t,e){const r=o();return(a=function(t,e){return r[t-=390]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(771852===parseInt(e(427))/1*(parseInt(e(428))/2)+parseInt(e(391))/3+parseInt(e(425))/4*(parseInt(e(411))/5)+parseInt(e(390))/6+-parseInt(e(423))/7*(parseInt(e(415))/8)+parseInt(e(397))/9+-parseInt(e(405))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(o);class c extends t.Plugin{static get[s(409)](){return s(419)}static get[s(402)](){return!0}static get[s(414)](){return!0}[s(406)](){const t=s,r=this[t(431)];r.ui[t(416)][t(401)](t(394),(()=>{const n=t,i=this[n(412)](e.FileDialogButtonView),o=r[n(407)][n(395)](n(394));return i[n(413)](n(410)).to(o,n(399)),i[n(393)]=!0,i})),r.ui[t(416)][t(401)](t(392),(()=>this[t(412)](e.MenuBarMenuListItemFileDialogButtonView)))}[s(412)](t){const r=s,n=this[r(431)],o=n[r(407)][r(395)](r(394)),a=new t(n[r(421)]),c=new e.SpinnerView;return a[r(420)]({acceptedType:r(426)}),a[r(420)]({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(413)](r(424)).to(o),a[r(413)](r(417)).to(o,r(399),(t=>i(n[r(421)],r(t?430:396)))),c[r(413)](r(408)).to(o,r(399)),a[r(400)][r(413)](r(408)).to(o,r(399),(t=>!t)),a[r(398)][r(401)](c),a.on(r(429),((t,e)=>{const i=r;n[i(403)](i(394),e[0],{}),n[i(404)][i(422)][i(418)]()})),a}}var u=r(331),p=r(783),l=r(584);function d(){const t=["signal","schema","headers","json","2741028OURJYm","element","getRange","isEmpty","html","setData","file","enqueueChange","isAtStart","editor","1341iGekga","createPositionAfter","import-word-plugin-import-cancelled","865585MDVvqi","execute","createBatch","view","51670EvevOG","getSelectedBlocks","_prepareForImport","model","isBusy","locale","rootName","set","refresh","then","low","root","checkChild","1242752CakUpx","fire","setSelection","selection","has","text/html","_cleanUpAfterImport","MergeFields","position","_sendImportRequest","3IlGwNd","stopListening","getFirstPosition","addMarker","document","isAtEnd","merge_fields","5508188qdbGKa","importWord","bind","change:range","deleteContent","Authorization","clipboardInput","_importMarker","stringify","_handleImportFailure","finally","config","markers","editing","dataInsert","135MsvcxX","catch","formatting","An error occurred while importing the Word file.","_undoStepBatch","split","$graveyard","resolve","plugins","showWarning","Notification","getToken","importWord:","3179794TEYYUa","resolvedOptions","_abortController","abort","isCollapsed","parent","DateTimeFormat","ImportWordEditing","import-word-plugin-conversion-failed","aborted","converterUrl","POST","get","_checkEnabled","_handleImportResponse","reject","isEnabled","createPositionBefore","timeZone","mergeFields","value","removeMarker","paragraph","153492iqpEVx"];return(d=function(){return t})()}const h=f;function f(t,e){const r=d();return(f=function(t,e){return r[t-=137]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(815798===-parseInt(e(140))/1+-parseInt(e(202))/2*(-parseInt(e(167))/3)+parseInt(e(225))/4*(parseInt(e(189))/5)+parseInt(e(230))/6+-parseInt(e(174))/7+parseInt(e(157))/8+-parseInt(e(137))/9*(parseInt(e(144))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(d);class m extends t.Command{constructor(t){const e=f;super(t),this[e(151)](e(148),!1),this[e(181)]=null,this[e(193)]=null,this[e(204)]=null,this.on(e(188),((r,n)=>{const i=e,o=new DataTransfer;o[i(235)](i(162),n[i(234)]);const s=this[i(181)][i(232)]();this[i(239)][i(147)][i(237)](this[i(193)],(e=>{const r=i;this[r(181)][r(168)](),e[r(159)](s),t[r(187)][r(143)][r(171)][r(158)](r(180),{dataTransfer:o})}))}),{priority:e(154)})}[h(152)](){const t=h;this[t(218)]=this[t(215)]()}[h(141)](t,e={}){const r=h;if(this[r(148)])return Promise[r(196)]();const n=this[r(239)][r(185)][r(214)](r(175));if(this[r(239)][r(197)][r(161)](r(164))){const{prefix:t,suffix:n}=this[r(239)][r(185)][r(214)](r(221));e[r(173)]={prefix:t,suffix:n}}const i={url:n[r(212)],file:t,serviceConfig:{...e,formatting:n[r(191)],timezone:(new(Intl[r(208)]))[r(203)]()[r(220)]}};return this[r(146)](),this[r(166)](i)[r(153)](this[r(216)][r(176)](this))[r(190)](this[r(183)][r(176)](this))[r(184)](this[r(163)][r(176)](this))}[h(215)](){const t=h;if(this[t(148)])return!1;const e=this[t(239)][t(147)],r=e[t(227)],n=e[t(171)][t(160)],i=(0,l.first)(n[t(145)]());return!!i&&r[t(156)](i[t(207)],t(224))}[h(146)](){const t=h,e=this[t(239)],r=e[t(147)],n=r[t(171)][t(160)];this[t(204)]=new AbortController,this[t(193)]=e[t(147)][t(142)]({isUndoable:!0}),r[t(237)](this[t(193)],(e=>{const i=t;n[i(206)]||r[i(178)](n,{leaveUnmerged:!0});const o=n[i(169)](),s=(0,l.first)(n[i(145)]());let a;a=s.is(i(231),i(224))&&s[i(233)]?o:o[i(238)]?r[i(219)](s):o[i(172)]?r[i(138)](s):e[i(194)](o)[i(165)],this[i(181)]=e[i(170)](i(201)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(181)].on(i(177),(()=>{const t=i;t(195)===this[t(181)][t(232)]()[t(155)][t(150)]&&this[t(204)][t(205)]()}))})),this[t(148)]=!0,this[t(152)]()}[h(163)](){const t=h,e=this[t(239)][t(147)];e[t(186)][t(161)](this[t(181)])&&e[t(237)](this[t(193)],(e=>{const r=t;e[r(223)](this[r(181)])})),this[t(181)]=null,this[t(193)]=null,this[t(204)]=null,this[t(148)]=!1,this[t(152)]()}[h(166)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(239)][n(197)][n(214)](n(209))[n(200)](),o=new FormData;o[n(151)](n(185),JSON[n(182)](r)),o[n(151)](n(236),e);const s={method:n(213),headers:{},body:o,signal:this[n(204)][n(226)]};return i&&(s[n(228)][n(179)]=i[n(222)]),fetch(t,s)}[h(216)](t){const e=h;return t.ok?t[e(229)]()[e(153)]((t=>{const r=e;this[r(239)][r(147)][r(186)][r(161)](this[r(181)])&&r(195)!==this[r(181)][r(232)]()[r(155)][r(150)]&&this[r(158)](r(188),t)})):Promise[e(217)]()}[h(183)](){const t=h;if(this[t(204)][t(226)][t(211)])return void(0,l.logWarning)(t(139));const e=this[t(239)],r=i(e[t(149)],t(192));e[t(197)][t(214)](t(199))[t(198)](r),(0,l.logError)(t(210))}}function g(t,e){const r=w();return(g=function(t,e){return r[t-=120]})(t,e)}const I=g;!function(t){const e=g,r=t();for(;;)try{if(443879===parseInt(e(121))/1*(parseInt(e(149))/2)+-parseInt(e(146))/3+-parseInt(e(125))/4+-parseInt(e(140))/5+-parseInt(e(138))/6+parseInt(e(151))/7*(parseInt(e(142))/8)+parseInt(e(145))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(w);class v extends t.Plugin{static get[I(148)](){return I(130)}static get[I(120)](){return!0}static get[I(144)](){return!0}static get[I(132)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(143)]}constructor(t){const e=I;super(t),this[e(127)]=null}async[I(135)](){const t=I,e=this[t(147)];e[t(129)][t(124)](t(152),{converterUrl:t(131),tokenUrl:(e[t(129)][t(139)](t(136))||{})[t(122)],formatting:{resets:t(137),defaults:t(137),styles:t(128)}}),e[t(123)][t(133)](t(152),new m(e));const{tokenUrl:r}=e[t(129)][t(139)](t(152));if(r){const{tokenUrl:n}=e[t(129)][t(139)](t(136))||{};this[t(127)]=r===n?e[t(134)][t(139)](t(143))[t(150)]:await e[t(134)][t(139)](t(143))[t(126)](r)}}[I(141)](){return this[I(127)]}}function w(){const t=["inline","config","ImportWordEditing","https://docx-converter.cke-cs.com/v2/convert/docx-html","requires","add","plugins","init","cloudServices","none","3171384afZnTP","get","4249030Ehlsul","getToken","41168CHOKQM","CloudServices","isPremiumPlugin","17576505GYCdvM","1666821Pclkgm","editor","pluginName","4yJYgNO","token","938bGZUZz","importWord","isOfficialPlugin","281045eYDZcy","tokenUrl","commands","define","3306972hRJLPG","registerTokenUrl","_token"];return(w=function(){return t})()}function W(){var t=["isPremiumPlugin","17691npJkSL","20XzxoOb","isOfficialPlugin","requires","497VHyMwW","417339uhzxqW","pluginName","62616OQXYYD","484614Hbqfcw","33924180RVvCTQ","1262RaJzoo","926hEZajA","6520120svWawJ","ImportWord"];return(W=function(){return t})()}var b=x;function x(t,e){var r=W();return(x=function(t,e){return r[t-=184]})(t,e)}!function(t){for(var e=x,r=t();;)try{if(943458===parseInt(e(193))/1*(-parseInt(e(194))/2)+parseInt(e(198))/3*(parseInt(e(184))/4)+-parseInt(e(195))/5+-parseInt(e(191))/6+-parseInt(e(187))/7*(parseInt(e(190))/8)+parseInt(e(188))/9+parseInt(e(192))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class y extends t.Plugin{static get[b(189)](){return b(196)}static get[b(185)](){return!0}static get[b(197)](){return!0}static get[b(186)](){return[v,c]}}function P(){var t=["4093047bQvhtE","11qpRfZo","14865592HlPRVy","6tXGWlr","62011WUVLGQ","3617460QUmBPY","2neoDtM","1022613HvutsL","1051176vAfcwg","43014340ujvVlD","9ovqpEl"];return(P=function(){return t})()}function k(t,e){var r=P();return(k=function(t,e){return r[t-=281]})(t,e)}!function(t){for(var e=k,r=t();;)try{if(994934===-parseInt(e(281))/1+parseInt(e(283))/2*(-parseInt(e(284))/3)+parseInt(e(285))/4+-parseInt(e(282))/5+-parseInt(e(291))/6*(parseInt(e(288))/7)+parseInt(e(290))/8*(-parseInt(e(287))/9)+-parseInt(e(286))/10*(-parseInt(e(289))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(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:()=>P,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=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=360]})(t,r)}function a(){const t=["9vhcIHZ","done","5294436zUSntp","children","locale","isBusy","54405lMMgFX","isOn","importWord","focus","Import from Word","menuBar:importWord","1275874IQPMwp","ImportWordUI","1130549DnlfSW","48sgcqUl","isPremiumPlugin","pluginName","commands","editor","view","isOfficialPlugin","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","52OQyQbE","_createButton","add","isVisible","label","tooltip","isEnabled","get","432822mugXNL","set","init","execute","editing","11514170blKVbG","bind","Importing Word document","componentFactory","2IPbgAm","13447720QxIDXR","iconView"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(790198===parseInt(r(362))/1*(-parseInt(r(377))/2)+parseInt(r(396))/3+-parseInt(r(388))/4*(-parseInt(r(371))/5)+parseInt(r(367))/6+-parseInt(r(379))/7*(-parseInt(r(380))/8)+-parseInt(r(365))/9*(-parseInt(r(401))/10)+-parseInt(r(363))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(382)](){return o(378)}static get[o(386)](){return!0}static get[o(381)](){return!0}[o(398)](){const t=o,e=this[t(384)];e.ui[t(361)][t(390)](t(373),(()=>{const n=t,i=this[n(389)](r.FileDialogButtonView),o=e[n(383)][n(395)](n(373));return i[n(402)](n(372)).to(o,n(370)),i[n(393)]=!0,i})),e.ui[t(361)][t(390)](t(376),(()=>this[t(389)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(389)](t){const e=o,n=this[e(384)],s=n[e(383)][e(395)](e(373)),a=new t(n[e(369)]),c=new r.SpinnerView;return a[e(397)]({acceptedType:e(387)}),a[e(397)]({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(402)](e(394)).to(s),a[e(402)](e(392)).to(s,e(370),(t=>i(n[e(369)],e(t?360:375)))),c[e(402)](e(391)).to(s,e(370)),a[e(364)][e(402)](e(391)).to(s,e(370),(t=>!t)),a[e(368)][e(390)](c),a.on(e(366),((t,r)=>{const i=e;n[i(399)](i(373),r[0],{}),n[i(400)][i(385)][i(374)]()})),a}}var p=e(331),u=e(783),l=e(584);const d=f;function h(){const t=["then","getFirstPosition","refresh","showWarning","rootName","createPositionBefore","low","finally","isCollapsed","stopListening","_cleanUpAfterImport","setData","dataInsert","addMarker","execute","selection","reject","resolvedOptions","timeZone","parent","_abortController","699210EOPDtC","isEnabled","Notification","4136319xdJPSX","model","getRange","view","ImportWordEditing","Authorization","bind","headers","change:range","4NAdxwL","resolve","$graveyard","abort","DateTimeFormat","218847ICHlaz","isAtStart","1831340JhsyMt","set","paragraph","html","catch","_handleImportResponse","value","2tPacJc","MergeFields","config","root","importWord:","import-word-plugin-conversion-failed","file","_checkEnabled","createBatch","editor","aborted","signal","getToken","schema","1291602GLJCIo","POST","has","151496IIJWeo","split","markers","editing","stringify","plugins","element","createPositionAfter","text/html","_undoStepBatch","importWord","removeMarker","isAtEnd","converterUrl","clipboardInput","json","isBusy","formatting","deleteContent","setSelection","getSelectedBlocks","get","isEmpty","fire","merge_fields","document","_handleImportFailure","mergeFields","checkChild","position","enqueueChange","_sendImportRequest","_prepareForImport","import-word-plugin-import-cancelled","582423QomomW","An error occurred while importing the Word file.","locale","_importMarker"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=428]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(151369===-parseInt(r(483))/1*(parseInt(r(492))/2)+parseInt(r(441))/3*(parseInt(r(478))/4)+parseInt(r(466))/5+parseInt(r(506))/6+parseInt(r(485))/7+parseInt(r(509))/8+-parseInt(r(469))/9)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(486)](r(525),!1),this[r(444)]=null,this[r(518)]=null,this[r(465)]=null,this.on(r(457),((e,n)=>{const i=r,o=new DataTransfer;o[i(456)](i(517),n[i(488)]);const s=this[i(444)][i(471)]();this[i(501)][i(470)][i(437)](this[i(518)],(r=>{const e=i;this[e(444)][e(454)](),r[e(528)](s),t[e(512)][e(472)][e(432)][e(430)](e(523),{dataTransfer:o})}))}),{priority:r(451)})}[d(447)](){const t=d;this[t(467)]=this[t(499)]()}[d(459)](t,r={}){const e=d;if(this[e(525)])return Promise[e(479)]();const n=this[e(501)][e(494)][e(428)](e(519));if(this[e(501)][e(514)][e(508)](e(493))){const{prefix:t,suffix:n}=this[e(501)][e(494)][e(428)](e(434));r[e(431)]={prefix:t,suffix:n}}const i={url:n[e(522)],file:t,serviceConfig:{...r,formatting:n[e(526)],timezone:(new(Intl[e(482)]))[e(462)]()[e(463)]}};return this[e(439)](),this[e(438)](i)[e(445)](this[e(490)][e(475)](this))[e(489)](this[e(433)][e(475)](this))[e(452)](this[e(455)][e(475)](this))}[d(499)](){const t=d;if(this[t(525)])return!1;const r=this[t(501)][t(470)],e=r[t(505)],n=r[t(432)][t(460)],i=(0,l.first)(n[t(529)]());return!!i&&e[t(435)](i[t(464)],t(487))}[d(439)](){const t=d,r=this[t(501)],e=r[t(470)],n=e[t(432)][t(460)];this[t(465)]=new AbortController,this[t(518)]=r[t(470)][t(500)]({isUndoable:!0}),e[t(437)](this[t(518)],(r=>{const i=t;n[i(453)]||e[i(527)](n,{leaveUnmerged:!0});const o=n[i(446)](),s=(0,l.first)(n[i(529)]());let a;a=s.is(i(515),i(487))&&s[i(429)]?o:o[i(484)]?e[i(450)](s):o[i(521)]?e[i(516)](s):r[i(510)](o)[i(436)],this[i(444)]=r[i(458)](i(496)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(444)].on(i(477),(()=>{const t=i;t(480)===this[t(444)][t(471)]()[t(495)][t(449)]&&this[t(465)][t(481)]()}))})),this[t(525)]=!0,this[t(447)]()}[d(455)](){const t=d,r=this[t(501)][t(470)];r[t(511)][t(508)](this[t(444)])&&r[t(437)](this[t(518)],(r=>{const e=t;r[e(520)](this[e(444)])})),this[t(444)]=null,this[t(518)]=null,this[t(465)]=null,this[t(525)]=!1,this[t(447)]()}[d(438)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(501)][n(514)][n(428)](n(473))[n(504)](),o=new FormData;o[n(486)](n(494),JSON[n(513)](e)),o[n(486)](n(498),r);const s={method:n(507),headers:{},body:o,signal:this[n(465)][n(503)]};return i&&(s[n(476)][n(474)]=i[n(491)]),fetch(t,s)}[d(490)](t){const r=d;return t.ok?t[r(524)]()[r(445)]((t=>{const e=r;this[e(501)][e(470)][e(511)][e(508)](this[e(444)])&&e(480)!==this[e(444)][e(471)]()[e(495)][e(449)]&&this[e(430)](e(457),t)})):Promise[r(461)]()}[d(433)](){const t=d;if(this[t(465)][t(503)][t(502)])return void(0,l.logWarning)(t(440));const r=this[t(501)],e=i(r[t(443)],t(442));r[t(514)][t(428)](t(468))[t(448)](e),(0,l.logError)(t(497))}}function g(t,r){const e=v();return(g=function(t,r){return e[t-=169]})(t,r)}const I=g;function v(){const t=["162RkbJpG","getToken","get","commands","pluginName","923504pYdTDS","11xIpBTA","token","156746bKJVxx","2DzRLuv","cloudServices","_token","config","plugins","https://docx-converter.cke-cs.com/v2/convert/docx-html","isOfficialPlugin","33795ROOLci","981837PFoddE","ImportWordEditing","602679MhzupS","CloudServices","define","72970saHSYj","1652301xqQDNe","inline","registerTokenUrl","init","editor","add","8mSjiNb","requires","tokenUrl","none","importWord","isPremiumPlugin"];return(v=function(){return t})()}!function(t){const r=g,e=t();for(;;)try{if(130011===parseInt(r(192))/1*(-parseInt(r(191))/2)+parseInt(r(202))/3+-parseInt(r(188))/4+-parseInt(r(199))/5*(-parseInt(r(183))/6)+-parseInt(r(171))/7*(-parseInt(r(177))/8)+-parseInt(r(200))/9+parseInt(r(170))/10*(parseInt(r(189))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[I(187)](){return I(201)}static get[I(198)](){return!0}static get[I(182)](){return!0}static get[I(178)](){const t=I;return[r.Notification,p.ClipboardPipeline,t(203)]}constructor(t){const r=I;super(t),this[r(194)]=null}async[I(174)](){const t=I,r=this[t(175)];r[t(195)][t(169)](t(181),{converterUrl:t(197),tokenUrl:(r[t(195)][t(185)](t(193))||{})[t(179)],formatting:{resets:t(180),defaults:t(180),styles:t(172)}}),r[t(186)][t(176)](t(181),new m(r));const{tokenUrl:e}=r[t(195)][t(185)](t(181));if(e){const{tokenUrl:n}=r[t(195)][t(185)](t(193))||{};this[t(194)]=e===n?r[t(196)][t(185)](t(203))[t(190)]:await r[t(196)][t(185)](t(203))[t(173)](e)}}[I(184)](){return this[I(194)]}}var b=x;function x(t,r){var e=W();return(x=function(t,r){return e[t-=422]})(t,r)}function W(){var t=["316380izzvJX","14KOIbAi","isPremiumPlugin","2BISAyV","2149848dQsuLn","48LEkNYo","2529GEwWGM","pluginName","isOfficialPlugin","3190759hbUdVj","501442rZqMrO","requires","1964Zuskvf","1280072PFAfcl","36emDnCW","ImportWord","3312340LfGYwc"];return(W=function(){return t})()}!function(t){for(var r=x,e=t();;)try{if(301268===parseInt(r(428))/1*(parseInt(r(435))/2)+-parseInt(r(431))/3*(-parseInt(r(437))/4)+parseInt(r(425))/5*(parseInt(r(430))/6)+parseInt(r(426))/7*(parseInt(r(438))/8)+-parseInt(r(429))/9+-parseInt(r(424))/10+parseInt(r(434))/11*(-parseInt(r(422))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class P extends t.Plugin{static get[b(432)](){return b(423)}static get[b(433)](){return!0}static get[b(427)](){return!0}static get[b(436)](){return[w,c]}}function y(){var t=["8nrNYqx","6105204lZbmxo","1636610Izlrvb","650938PpmafL","1188558NXQcWD","6cBbnKE","1255205tEiKbj","5150880oEshCR","2605658kpapnv","81PIzXfa"];return(y=function(){return t})()}function k(t,r){var e=y();return(k=function(t,r){return e[t-=270]})(t,r)}!function(t){for(var r=k,e=t();;)try{if(751221===parseInt(r(270))/1+parseInt(r(275))/2+-parseInt(r(271))/3+parseInt(r(274))/4+parseInt(r(273))/5*(parseInt(r(272))/6)+-parseInt(r(278))/7*(parseInt(r(277))/8)+-parseInt(r(276))/9*(parseInt(r(279))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y)})(),(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 _0x5d7a7b,Command as _0x553e20}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x3779fb,MenuBarMenuListItemFileDialogButtonView as _0x1ccb91,SpinnerView as _0x16a9b0,Notification as _0x3962db}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x33dfdf}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x46051e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5d95f8,uid as _0x355341,logWarning as _0x1269a9,logError as _0x8ce68}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x1f13a3,_0x47a9bd){const t=_0x1f13a3['t'];switch(_0x47a9bd){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 _0x47a9bd;}}class i extends _0x5d7a7b{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e38ba=this['editor'];_0x2e38ba['ui']['componentFactory']['add']('importWord',()=>{const _0x237c11=this['_createButton'](_0x3779fb),_0x56956a=_0x2e38ba['commands']['get']('importWord');return _0x237c11['bind']('isOn')['to'](_0x56956a,'isBusy'),_0x237c11['tooltip']=!0x0,_0x237c11;}),_0x2e38ba['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x1ccb91));}['_createButton'](_0x1a5887){const _0x2e63cc=this['editor'],_0x44045d=_0x2e63cc['commands']['get']('importWord'),_0xf5383c=new _0x1a5887(_0x2e63cc['locale']),_0x2707c8=new _0x16a9b0();return _0xf5383c['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0xf5383c['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'}),_0xf5383c['bind']('isEnabled')['to'](_0x44045d),_0xf5383c['bind']('label')['to'](_0x44045d,'isBusy',_0x24043=>p(_0x2e63cc['locale'],_0x24043?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x2707c8['bind']('isVisible')['to'](_0x44045d,'isBusy'),_0xf5383c['iconView']['bind']('isVisible')['to'](_0x44045d,'isBusy',_0x51d9d6=>!_0x51d9d6),_0xf5383c['children']['add'](_0x2707c8),_0xf5383c['on']('done',(_0x5819f8,_0x303a0e)=>{_0x2e63cc['execute']('importWord',_0x303a0e[0x0],{}),_0x2e63cc['editing']['view']['focus']();}),_0xf5383c;}}class d extends _0x553e20{constructor(_0x17e27f){super(_0x17e27f),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x1a78d4,_0x35ffa3)=>{const _0x408357=new DataTransfer();_0x408357['setData']('text/html',_0x35ffa3['html']);const _0x11e798=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x506739=>{this['_importMarker']['stopListening'](),_0x506739['setSelection'](_0x11e798),_0x17e27f['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x408357});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3c5730,_0x9bae8={}){if(this['isBusy'])return Promise['resolve']();const _0x193ba0=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x2814a8,suffix:_0x15c3fc}=this['editor']['config']['get']('mergeFields');_0x9bae8['merge_fields']={'prefix':_0x2814a8,'suffix':_0x15c3fc};}const _0x4c1afa={'url':_0x193ba0['converterUrl'],'file':_0x3c5730,'serviceConfig':{..._0x9bae8,'formatting':_0x193ba0['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4c1afa)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x37d821=this['editor']['model'],_0x57f5c7=_0x37d821['schema'],_0x31b77a=_0x37d821['document']['selection'],_0x487d03=_0x5d95f8(_0x31b77a['getSelectedBlocks']());return!!_0x487d03&&_0x57f5c7['checkChild'](_0x487d03['parent'],'paragraph');}['_prepareForImport'](){const _0x481f58=this['editor'],_0x5a40b8=_0x481f58['model'],_0x20ad61=_0x5a40b8['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x481f58['model']['createBatch']({'isUndoable':!0x0}),_0x5a40b8['enqueueChange'](this['_undoStepBatch'],_0x3b0bac=>{_0x20ad61['isCollapsed']||_0x5a40b8['deleteContent'](_0x20ad61,{'leaveUnmerged':!0x0});const _0x24ad30=_0x20ad61['getFirstPosition'](),_0x1e86d4=_0x5d95f8(_0x20ad61['getSelectedBlocks']());let _0x2424c6;_0x2424c6=_0x1e86d4['is']('element','paragraph')&&_0x1e86d4['isEmpty']?_0x24ad30:_0x24ad30['isAtStart']?_0x5a40b8['createPositionBefore'](_0x1e86d4):_0x24ad30['isAtEnd']?_0x5a40b8['createPositionAfter'](_0x1e86d4):_0x3b0bac['split'](_0x24ad30)['position'],this['_importMarker']=_0x3b0bac['addMarker']('importWord:'+_0x355341(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x46051e(_0x2424c6)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x39ece8=this['editor']['model'];_0x39ece8['markers']['has'](this['_importMarker'])&&_0x39ece8['enqueueChange'](this['_undoStepBatch'],_0x55c741=>{_0x55c741['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0xb7596e,file:_0x4bf93f,serviceConfig:_0x4b8c76}){const _0x469f28=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x24fd4e=new FormData();_0x24fd4e['set']('config',JSON['stringify'](_0x4b8c76)),_0x24fd4e['set']('file',_0x4bf93f);const _0x1fbd8c={'method':'POST','headers':{},'body':_0x24fd4e,'signal':this['_abortController']['signal']};return _0x469f28&&(_0x1fbd8c['headers']['Authorization']=_0x469f28['value']),fetch(_0xb7596e,_0x1fbd8c);}['_handleImportResponse'](_0x58bf1a){return _0x58bf1a['ok']?_0x58bf1a['json']()['then'](_0x168a1c=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x168a1c);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x1269a9('import-word-plugin-import-cancelled');const _0x14cb31=this['editor'],_0x3a0918=p(_0x14cb31['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x14cb31['plugins']['get']('Notification')['showWarning'](_0x3a0918),_0x8ce68('import-word-plugin-conversion-failed');}}class e extends _0x5d7a7b{static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3962db,_0x33dfdf,'CloudServices'];}constructor(_0x10f57d){super(_0x10f57d),this['_token']=null;}async['init'](){const _0x17a41c=this['editor'];_0x17a41c['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x17a41c['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x17a41c['commands']['add']('importWord',new d(_0x17a41c));const {tokenUrl:_0x579c15}=_0x17a41c['config']['get']('importWord');if(_0x579c15){const {tokenUrl:_0x579f28}=_0x17a41c['config']['get']('cloudServices')||{};this['_token']=_0x579c15===_0x579f28?_0x17a41c['plugins']['get']('CloudServices')['token']:await _0x17a41c['plugins']['get']('CloudServices')['registerTokenUrl'](_0x579c15);}}['getToken'](){return this['_token'];}}class o extends _0x5d7a7b{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':_0x2ae90e=>0x1!=_0x2ae90e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1fdc57=>{const {af:{dictionary:_0x294562,getPluralForm:_0x344456}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x497438=>0x1!=_0x497438}};_0x1fdc57['af']||={'dictionary':{},'getPluralForm':null},_0x1fdc57['af']['dictionary']=Object['assign'](_0x1fdc57['af']['dictionary'],_0x294562),_0x1fdc57['af']['getPluralForm']=_0x344456;})(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':_0x3a1618=>0x0==_0x3a1618?0x0:0x1==_0x3a1618?0x1:0x2==_0x3a1618?0x2:_0x3a1618%0x64>=0x3&&_0x3a1618%0x64<=0xa?0x3:_0x3a1618%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x537aa9=>{const {ar:{dictionary:_0x282a23,getPluralForm:_0x3125bb}}={'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':_0x1834d8=>0x0==_0x1834d8?0x0:0x1==_0x1834d8?0x1:0x2==_0x1834d8?0x2:_0x1834d8%0x64>=0x3&&_0x1834d8%0x64<=0xa?0x3:_0x1834d8%0x64>=0xb?0x4:0x5}};_0x537aa9['ar']||={'dictionary':{},'getPluralForm':null},_0x537aa9['ar']['dictionary']=Object['assign'](_0x537aa9['ar']['dictionary'],_0x282a23),_0x537aa9['ar']['getPluralForm']=_0x3125bb;})(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':_0x3dee8b=>0x1!=_0x3dee8b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59ba7f=>{const {ast:{dictionary:_0x419d0b,getPluralForm:_0x40ae06}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4c7c55=>0x1!=_0x4c7c55}};_0x59ba7f['ast']||={'dictionary':{},'getPluralForm':null},_0x59ba7f['ast']['dictionary']=Object['assign'](_0x59ba7f['ast']['dictionary'],_0x419d0b),_0x59ba7f['ast']['getPluralForm']=_0x40ae06;})(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':_0x492895=>0x1!=_0x492895}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54f2f4=>{const {az:{dictionary:_0x3e8281,getPluralForm:_0x1dd927}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x26244c=>0x1!=_0x26244c}};_0x54f2f4['az']||={'dictionary':{},'getPluralForm':null},_0x54f2f4['az']['dictionary']=Object['assign'](_0x54f2f4['az']['dictionary'],_0x3e8281),_0x54f2f4['az']['getPluralForm']=_0x1dd927;})(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':_0x9e5c0a=>0x1!=_0x9e5c0a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5f2991=>{const {bg:{dictionary:_0x46163f,getPluralForm:_0x144daa}}={'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':_0x57f7fa=>0x1!=_0x57f7fa}};_0x5f2991['bg']||={'dictionary':{},'getPluralForm':null},_0x5f2991['bg']['dictionary']=Object['assign'](_0x5f2991['bg']['dictionary'],_0x46163f),_0x5f2991['bg']['getPluralForm']=_0x144daa;})(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':_0x5d75fe=>0x1!=_0x5d75fe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50ba8b=>{const {bn:{dictionary:_0x4f047a,getPluralForm:_0x2dfa23}}={'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':_0x44a1e5=>0x1!=_0x44a1e5}};_0x50ba8b['bn']||={'dictionary':{},'getPluralForm':null},_0x50ba8b['bn']['dictionary']=Object['assign'](_0x50ba8b['bn']['dictionary'],_0x4f047a),_0x50ba8b['bn']['getPluralForm']=_0x2dfa23;})(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':_0x5d398d=>_0x5d398d%0xa==0x1&&_0x5d398d%0x64!=0xb?0x0:_0x5d398d%0xa>=0x2&&_0x5d398d%0xa<=0x4&&(_0x5d398d%0x64<0xa||_0x5d398d%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2dfcba=>{const {bs:{dictionary:_0x396c8e,getPluralForm:_0x283a99}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2f409b=>_0x2f409b%0xa==0x1&&_0x2f409b%0x64!=0xb?0x0:_0x2f409b%0xa>=0x2&&_0x2f409b%0xa<=0x4&&(_0x2f409b%0x64<0xa||_0x2f409b%0x64>=0x14)?0x1:0x2}};_0x2dfcba['bs']||={'dictionary':{},'getPluralForm':null},_0x2dfcba['bs']['dictionary']=Object['assign'](_0x2dfcba['bs']['dictionary'],_0x396c8e),_0x2dfcba['bs']['getPluralForm']=_0x283a99;})(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':_0x170efe=>0x1!=_0x170efe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x30e0e8=>{const {ca:{dictionary:_0x2c880e,getPluralForm:_0x3b8b65}}={'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':_0x13bd96=>0x1!=_0x13bd96}};_0x30e0e8['ca']||={'dictionary':{},'getPluralForm':null},_0x30e0e8['ca']['dictionary']=Object['assign'](_0x30e0e8['ca']['dictionary'],_0x2c880e),_0x30e0e8['ca']['getPluralForm']=_0x3b8b65;})(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':_0x16c08=>0x1==_0x16c08?0x0:_0x16c08>=0x2&&_0x16c08<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x306883=>{const {cs:{dictionary:_0x3e6479,getPluralForm:_0x31973a}}={'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':_0x4b6bda=>0x1==_0x4b6bda?0x0:_0x4b6bda>=0x2&&_0x4b6bda<=0x4?0x1:0x2}};_0x306883['cs']||={'dictionary':{},'getPluralForm':null},_0x306883['cs']['dictionary']=Object['assign'](_0x306883['cs']['dictionary'],_0x3e6479),_0x306883['cs']['getPluralForm']=_0x31973a;})(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':_0x307ee6=>0x1!=_0x307ee6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41bac0=>{const {da:{dictionary:_0x3e9e4d,getPluralForm:_0x179fb7}}={'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':_0x1a13ff=>0x1!=_0x1a13ff}};_0x41bac0['da']||={'dictionary':{},'getPluralForm':null},_0x41bac0['da']['dictionary']=Object['assign'](_0x41bac0['da']['dictionary'],_0x3e9e4d),_0x41bac0['da']['getPluralForm']=_0x179fb7;})(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':_0x4513e7=>0x1!=_0x4513e7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f0dda=>{const {'de-ch':{dictionary:_0x56d08b,getPluralForm:_0x3c0879}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x41bb72=>0x1!=_0x41bb72}};_0x4f0dda['de-ch']||={'dictionary':{},'getPluralForm':null},_0x4f0dda['de-ch']['dictionary']=Object['assign'](_0x4f0dda['de-ch']['dictionary'],_0x56d08b),_0x4f0dda['de-ch']['getPluralForm']=_0x3c0879;})(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':_0x44258f=>0x1!=_0x44258f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x56b604=>{const {de:{dictionary:_0x2d1cd2,getPluralForm:_0x500e9c}}={'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':_0x4a4ecd=>0x1!=_0x4a4ecd}};_0x56b604['de']||={'dictionary':{},'getPluralForm':null},_0x56b604['de']['dictionary']=Object['assign'](_0x56b604['de']['dictionary'],_0x2d1cd2),_0x56b604['de']['getPluralForm']=_0x500e9c;})(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':_0x3e13aa=>0x1!=_0x3e13aa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xecfd9e=>{const {el:{dictionary:_0x3d4a9a,getPluralForm:_0x570ab0}}={'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':_0x33b019=>0x1!=_0x33b019}};_0xecfd9e['el']||={'dictionary':{},'getPluralForm':null},_0xecfd9e['el']['dictionary']=Object['assign'](_0xecfd9e['el']['dictionary'],_0x3d4a9a),_0xecfd9e['el']['getPluralForm']=_0x570ab0;})(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':_0x5d12fc=>0x1!=_0x5d12fc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e2453=>{const {'en-au':{dictionary:_0x270132,getPluralForm:_0x207a4f}}={'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':_0x51845c=>0x1!=_0x51845c}};_0x2e2453['en-au']||={'dictionary':{},'getPluralForm':null},_0x2e2453['en-au']['dictionary']=Object['assign'](_0x2e2453['en-au']['dictionary'],_0x270132),_0x2e2453['en-au']['getPluralForm']=_0x207a4f;})(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':_0x551952=>0x1!=_0x551952}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x202e27=>{const {'en-gb':{dictionary:_0x3ce6bc,getPluralForm:_0x1b807b}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5d4f01=>0x1!=_0x5d4f01}};_0x202e27['en-gb']||={'dictionary':{},'getPluralForm':null},_0x202e27['en-gb']['dictionary']=Object['assign'](_0x202e27['en-gb']['dictionary'],_0x3ce6bc),_0x202e27['en-gb']['getPluralForm']=_0x1b807b;})(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':_0x766e8=>0x1!=_0x766e8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57311b=>{const {en:{dictionary:_0x4adf72,getPluralForm:_0x4cba53}}={'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':_0x117d69=>0x1!=_0x117d69}};_0x57311b['en']||={'dictionary':{},'getPluralForm':null},_0x57311b['en']['dictionary']=Object['assign'](_0x57311b['en']['dictionary'],_0x4adf72),_0x57311b['en']['getPluralForm']=_0x4cba53;})(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':_0x718f72=>0x1!=_0x718f72}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x66824c=>{const {eo:{dictionary:_0x5154a6,getPluralForm:_0x38fa3e}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3a0260=>0x1!=_0x3a0260}};_0x66824c['eo']||={'dictionary':{},'getPluralForm':null},_0x66824c['eo']['dictionary']=Object['assign'](_0x66824c['eo']['dictionary'],_0x5154a6),_0x66824c['eo']['getPluralForm']=_0x38fa3e;})(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':_0x199d5b=>0x1!=_0x199d5b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f9ace=>{const {'es-co':{dictionary:_0x4beaa5,getPluralForm:_0x1f90d0}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x341a44=>0x1!=_0x341a44}};_0x4f9ace['es-co']||={'dictionary':{},'getPluralForm':null},_0x4f9ace['es-co']['dictionary']=Object['assign'](_0x4f9ace['es-co']['dictionary'],_0x4beaa5),_0x4f9ace['es-co']['getPluralForm']=_0x1f90d0;})(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':_0x232cf6=>0x1!=_0x232cf6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d9200=>{const {es:{dictionary:_0x38cd8a,getPluralForm:_0x5aeb1f}}={'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':_0x1727b8=>0x1!=_0x1727b8}};_0x4d9200['es']||={'dictionary':{},'getPluralForm':null},_0x4d9200['es']['dictionary']=Object['assign'](_0x4d9200['es']['dictionary'],_0x38cd8a),_0x4d9200['es']['getPluralForm']=_0x5aeb1f;})(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':_0x35d5df=>0x1!=_0x35d5df}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x56af08=>{const {et:{dictionary:_0x249e0e,getPluralForm:_0xa5a261}}={'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':_0x1443b0=>0x1!=_0x1443b0}};_0x56af08['et']||={'dictionary':{},'getPluralForm':null},_0x56af08['et']['dictionary']=Object['assign'](_0x56af08['et']['dictionary'],_0x249e0e),_0x56af08['et']['getPluralForm']=_0xa5a261;})(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':_0x121649=>0x1!=_0x121649}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2459fc=>{const {eu:{dictionary:_0x2f0e7d,getPluralForm:_0x3e71c0}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2c355f=>0x1!=_0x2c355f}};_0x2459fc['eu']||={'dictionary':{},'getPluralForm':null},_0x2459fc['eu']['dictionary']=Object['assign'](_0x2459fc['eu']['dictionary'],_0x2f0e7d),_0x2459fc['eu']['getPluralForm']=_0x3e71c0;})(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':_0x7319e1=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5a34d6=>{const {fa:{dictionary:_0x285142,getPluralForm:_0x3c0aa0}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x65edf0=>0x0}};_0x5a34d6['fa']||={'dictionary':{},'getPluralForm':null},_0x5a34d6['fa']['dictionary']=Object['assign'](_0x5a34d6['fa']['dictionary'],_0x285142),_0x5a34d6['fa']['getPluralForm']=_0x3c0aa0;})(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':_0x4c1459=>0x1!=_0x4c1459}};
|