@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250103.0 → 0.0.0-nightly-20250105.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 +1 -1
- 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
|
@@ -2,4 +2,4 @@
|
|
|
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}}function o(t,e){const r=a();return(o=function(t,e){return r[t-=389]})(t,e)}const s=o;function a(){const t=["componentFactory","iconView","1505MNPGSe","114fIdDHy","isOfficialPlugin","pluginName","isVisible","1317807gxNikT","isBusy","get","locale","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","label","264844sdbdIG","_createButton","init","Importing Word document","isEnabled","ImportWordUI","tooltip","editor","add","commands","focus","set","importWord","Import from Word","196mIUueS","done","execute","bind","children","isPremiumPlugin","32LAjemH","isOn","254145LwuItw","1864890KGPSHn","16208oAiTEZ","view","16696klcGau","menuBar:importWord","editing"];return(a=function(){return t})()}!function(t){const e=o,r=t();for(;;)try{if(144805===parseInt(e(393))/1*(-parseInt(e(389))/2)+parseInt(e(391))/3+-parseInt(e(411))/4+-parseInt(e(400))/5*(parseInt(e(401))/6)+parseInt(e(425))/7*(parseInt(e(395))/8)+parseInt(e(405))/9+parseInt(e(392))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[s(403)](){return s(416)}static get[s(402)](){return!0}static get[s(430)](){return!0}[s(413)](){const t=s,r=this[t(418)];r.ui[t(398)][t(419)](t(423),(()=>{const n=t,i=this[n(412)](e.FileDialogButtonView),o=r[n(420)][n(407)](n(423));return i[n(428)](n(390)).to(o,n(406)),i[n(417)]=!0,i})),r.ui[t(398)][t(419)](t(396),(()=>this[t(412)](e.MenuBarMenuListItemFileDialogButtonView)))}[s(412)](t){const r=s,n=this[r(418)],o=n[r(420)][r(407)](r(423)),a=new t(n[r(408)]),c=new e.SpinnerView;return a[r(422)]({acceptedType:r(409)}),a[r(422)]({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(428)](r(415)).to(o),a[r(428)](r(410)).to(o,r(406),(t=>i(n[r(408)],r(t?414:424)))),c[r(428)](r(404)).to(o,r(406)),a[r(399)][r(428)](r(404)).to(o,r(406),(t=>!t)),a[r(429)][r(419)](c),a.on(r(426),((t,e)=>{const i=r;n[i(427)](i(423),e[0],{}),n[i(397)][i(394)][i(421)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=h;function h(t,e){const r=f();return(h=function(t,e){return r[t-=293]})(t,e)}function f(){const t=["POST","root","createPositionBefore","schema","file","getFirstPosition","signal","_importMarker","timeZone","editor","plugins","position","setSelection","isAtStart","getToken","3416Noukky","An error occurred while importing the Word file.","resolvedOptions","get","addMarker","html","abort","checkChild","rootName","169018RQjflm","getRange","createPositionAfter","deleteContent","270136FjaNLZ","125811TQqKou","change:range","element","setData","createBatch","isBusy","selection","parent","Authorization","_undoStepBatch","bind","mergeFields","MergeFields","value","dataInsert","Notification","resolve","_handleImportFailure","model","split","isEmpty","json","DateTimeFormat","has","importWord:","document","_handleImportResponse","5873rCZYrl","set","catch","stringify","text/html","view","isEnabled","config","locale","importWord","formatting","reject","636520KEZNRi","_sendImportRequest","low","converterUrl","_cleanUpAfterImport","showWarning","editing","_checkEnabled","merge_fields","_prepareForImport","removeMarker","execute","stopListening","markers","enqueueChange","isCollapsed","refresh","clipboardInput","import-word-plugin-import-cancelled","then","$graveyard","headers","fire","aborted","import-word-plugin-conversion-failed","isAtEnd","ImportWordEditing","finally","319485wlNsHV","paragraph","665568SUqwFz","_abortController","getSelectedBlocks"];return(f=function(){return t})()}!function(t){const e=h,r=t();for(;;)try{if(100185===parseInt(e(352))/1+-parseInt(e(356))/2+parseInt(e(357))/3+-parseInt(e(295))/4+-parseInt(e(323))/5+-parseInt(e(325))/6+parseInt(e(384))/7*(parseInt(e(343))/8))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f);class m extends t.Command{constructor(t){const e=h;super(t),this[e(385)](e(362),!1),this[e(335)]=null,this[e(366)]=null,this[e(326)]=null,this.on(e(371),((r,n)=>{const i=e,o=new DataTransfer;o[i(360)](i(388),n[i(348)]);const s=this[i(335)][i(353)]();this[i(337)][i(375)][i(309)](this[i(366)],(e=>{const r=i;this[r(335)][r(307)](),e[r(340)](s),t[r(301)][r(389)][r(382)][r(317)](r(312),{dataTransfer:o})}))}),{priority:e(297)})}[d(311)](){const t=d;this[t(390)]=this[t(302)]()}[d(306)](t,e={}){const r=d;if(this[r(362)])return Promise[r(373)]();const n=this[r(337)][r(391)][r(346)](r(393));if(this[r(337)][r(338)][r(380)](r(369))){const{prefix:t,suffix:n}=this[r(337)][r(391)][r(346)](r(368));e[r(303)]={prefix:t,suffix:n}}const i={url:n[r(298)],file:t,serviceConfig:{...e,formatting:n[r(293)],timezone:(new(Intl[r(379)]))[r(345)]()[r(336)]}};return this[r(304)](),this[r(296)](i)[r(314)](this[r(383)][r(367)](this))[r(386)](this[r(374)][r(367)](this))[r(322)](this[r(299)][r(367)](this))}[d(302)](){const t=d;if(this[t(362)])return!1;const e=this[t(337)][t(375)],r=e[t(331)],n=e[t(382)][t(363)],i=(0,l.first)(n[t(327)]());return!!i&&r[t(350)](i[t(364)],t(324))}[d(304)](){const t=d,e=this[t(337)],r=e[t(375)],n=r[t(382)][t(363)];this[t(326)]=new AbortController,this[t(366)]=e[t(375)][t(361)]({isUndoable:!0}),r[t(309)](this[t(366)],(e=>{const i=t;n[i(310)]||r[i(355)](n,{leaveUnmerged:!0});const o=n[i(333)](),s=(0,l.first)(n[i(327)]());let a;a=s.is(i(359),i(324))&&s[i(377)]?o:o[i(341)]?r[i(330)](s):o[i(320)]?r[i(354)](s):e[i(376)](o)[i(339)],this[i(335)]=e[i(347)](i(381)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(335)].on(i(358),(()=>{const t=i;t(315)===this[t(335)][t(353)]()[t(329)][t(351)]&&this[t(326)][t(349)]()}))})),this[t(362)]=!0,this[t(311)]()}[d(299)](){const t=d,e=this[t(337)][t(375)];e[t(308)][t(380)](this[t(335)])&&e[t(309)](this[t(366)],(e=>{const r=t;e[r(305)](this[r(335)])})),this[t(335)]=null,this[t(366)]=null,this[t(326)]=null,this[t(362)]=!1,this[t(311)]()}[d(296)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(337)][n(338)][n(346)](n(321))[n(342)](),o=new FormData;o[n(385)](n(391),JSON[n(387)](r)),o[n(385)](n(332),e);const s={method:n(328),headers:{},body:o,signal:this[n(326)][n(334)]};return i&&(s[n(316)][n(365)]=i[n(370)]),fetch(t,s)}[d(383)](t){const e=d;return t.ok?t[e(378)]()[e(314)]((t=>{const r=e;this[r(337)][r(375)][r(308)][r(380)](this[r(335)])&&r(315)!==this[r(335)][r(353)]()[r(329)][r(351)]&&this[r(317)](r(371),t)})):Promise[e(294)]()}[d(374)](){const t=d;if(this[t(326)][t(334)][t(318)])return void(0,l.logWarning)(t(313));const e=this[t(337)],r=i(e[t(392)],t(344));e[t(338)][t(346)](t(372))[t(300)](r),(0,l.logError)(t(319))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=240]})(t,e)}function v(){const t=["token","https://docx-converter.cke-cs.com/v2/convert/docx-html","define","11sKONtG","27plPEBJ","config","625329qcSWcb","commands","get","isPremiumPlugin","CloudServices","inline","115SDYNWT","editor","registerTokenUrl","tokenUrl","init","importWord","requires","25764HAJQxJ","isOfficialPlugin","7cuAVSg","129omGcZy","1749512JJkuRG","_token","6686AwEleU","630230CoEdJu","pluginName","51812cLLJSa","ImportWordEditing","add","none","cloudServices","plugins","15217536mNbkhQ","getToken"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(469629===parseInt(e(242))/1*(parseInt(e(245))/2)+-parseInt(e(262))/3+parseInt(e(248))/4*(-parseInt(e(268))/5)+-parseInt(e(275))/6*(parseInt(e(241))/7)+parseInt(e(243))/8*(-parseInt(e(260))/9)+parseInt(e(246))/10*(-parseInt(e(259))/11)+parseInt(e(254))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(247)](){return g(249)}static get[g(240)](){return!0}static get[g(265)](){return!0}static get[g(274)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(266)]}constructor(t){const e=g;super(t),this[e(244)]=null}async[g(272)](){const t=g,e=this[t(269)];e[t(261)][t(258)](t(273),{converterUrl:t(257),tokenUrl:(e[t(261)][t(264)](t(252))||{})[t(271)],formatting:{resets:t(251),defaults:t(251),styles:t(267)}}),e[t(263)][t(250)](t(273),new m(e));const{tokenUrl:r}=e[t(261)][t(264)](t(273));if(r){const{tokenUrl:n}=e[t(261)][t(264)](t(252))||{};this[t(244)]=r===n?e[t(253)][t(264)](t(266))[t(256)]:await e[t(253)][t(264)](t(266))[t(270)](r)}}[g(255)](){return this[g(244)]}}var W=k;function b(){var t=["2742904VHvqVm","3015894JVDTkS","isOfficialPlugin","2507285uYmDmm","isPremiumPlugin","ImportWord","7hdQepL","1YEkQhO","5254494HutFwx","pluginName","1361904KVjNgq","70zEsIhf","23562VKjLvO","3614070JpjcgV","requires","2784wByadF"];return(b=function(){return t})()}function k(t,e){var r=b();return(k=function(t,e){return r[t-=489]})(t,e)}!function(t){for(var e=k,r=t();;)try{if(546666===parseInt(e(495))/1*(-parseInt(e(498))/2)+parseInt(e(489))/3+-parseInt(e(504))/4+-parseInt(e(501))/5+-parseInt(e(496))/6*(parseInt(e(494))/7)+parseInt(e(503))/8*(parseInt(e(500))/9)+-parseInt(e(499))/10*(-parseInt(e(491))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(b);class y extends t.Plugin{static get[W(497)](){return W(493)}static get[W(490)](){return!0}static get[W(492)](){return!0}static get[W(502)](){return[w,c]}}function x(t,e){var r=S();return(x=function(t,e){return r[t-=100]})(t,e)}function S(){var t=["7244672gpskrj","180055mLNRYI","10gaekVi","3655253oEOEFg","6lqETPw","71094YVeMSZ","9847881rWxLqn","335KJaFec","16dSWIgV","264nvFRDn","248163hBXtQn","2080128FNfOSS"];return(S=function(){return t})()}!function(t){for(var e=x,r=t();;)try{if(635120===parseInt(e(108))/1*(-parseInt(e(111))/2)+parseInt(e(105))/3*(parseInt(e(103))/4)+-parseInt(e(102))/5*(parseInt(e(100))/6)+-parseInt(e(110))/7+-parseInt(e(107))/8+parseInt(e(101))/9*(-parseInt(e(109))/10)+parseInt(e(104))/11*(parseInt(e(106))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(S)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
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:()=>x,ImportWordEditing:()=>w,ImportWordUI:()=>s});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(t){const e=a,r=t();for(;;)try{if(951415===parseInt(e(302))/1*(-parseInt(e(310))/2)+-parseInt(e(299))/3+parseInt(e(295))/4*(-parseInt(e(281))/5)+-parseInt(e(287))/6*(parseInt(e(293))/7)+parseInt(e(303))/8+parseInt(e(285))/9*(-parseInt(e(292))/10)+parseInt(e(309))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class s extends t.Plugin{static get[o(289)](){return o(313)}static get[o(316)](){return!0}static get[o(288)](){return!0}[o(274)](){const t=o,r=this[t(314)];r.ui[t(300)][t(311)](t(315),(()=>{const n=t,i=this[n(278)](e.FileDialogButtonView),o=r[n(312)][n(304)](n(315));return i[n(298)](n(290)).to(o,n(307)),i[n(283)]=!0,i})),r.ui[t(300)][t(311)](t(296),(()=>this[t(278)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(278)](t){const r=o,n=this[r(314)],s=n[r(312)][r(304)](r(315)),a=new t(n[r(277)]),c=new e.SpinnerView;return a[r(282)]({acceptedType:r(275)}),a[r(282)]({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(298)](r(294)).to(s),a[r(298)](r(301)).to(s,r(307),(t=>i(n[r(277)],r(t?291:308)))),c[r(298)](r(279)).to(s,r(307)),a[r(306)][r(298)](r(279)).to(s,r(307),(t=>!t)),a[r(276)][r(311)](c),a.on(r(284),((t,e)=>{const i=r;n[i(286)](i(315),e[0],{}),n[i(305)][i(280)][i(297)]()})),a}}function a(t,e){const r=c();return(a=function(t,e){return r[t-=274]})(t,e)}function c(){const t=["editor","importWord","isOfficialPlugin","init","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","children","locale","_createButton","isVisible","view","2391790UokbEc","set","tooltip","done","428427SZABJF","execute","18bdFaxQ","isPremiumPlugin","pluginName","isOn","Importing Word document","190BiFIyI","1508017KMBNFY","isEnabled","8ysIbxC","menuBar:importWord","focus","bind","290742vHfnce","componentFactory","label","1365609PaGvmN","10218800SeOLTR","get","editing","iconView","isBusy","Import from Word","40084594myWSyN","2khVjdD","add","commands","ImportWordUI"];return(c=function(){return t})()}var u=r(331),p=r(783),l=r(584);const d=f;function h(){const t=["setSelection","mergeFields","addMarker","dataInsert","finally","isCollapsed","schema","Notification","ImportWordEditing","removeMarker","enqueueChange","Authorization","stringify","rootName","POST","then","html","8vVqMDA","stopListening","isAtEnd","18054YmUCcu","getToken","_importMarker","signal","plugins","isEnabled","_handleImportFailure","_checkEnabled","text/html","showWarning","timeZone","1850cICFYm","DateTimeFormat","markers","createBatch","import-word-plugin-conversion-failed","isAtStart","5rjcAJC","checkChild","split","formatting","get","resolvedOptions","4426122plKTOe","set","_abortController","createPositionBefore","element","getSelectedBlocks","deleteContent","position","bind","4957183QbDJrQ","_sendImportRequest","21452JYOdPW","selection","abort","converterUrl","editing","catch","model","low","aborted","locale","paragraph","json","$graveyard","isEmpty","value","_handleImportResponse","createPositionAfter","refresh","_undoStepBatch","merge_fields","getRange","file","An error occurred while importing the Word file.","MergeFields","fire","isBusy","config","setData","getFirstPosition","resolve","clipboardInput","_prepareForImport","635678ybcLnr","551616bNSkNr","importWord","_cleanUpAfterImport","document","import-word-plugin-import-cancelled","change:range","execute","headers","has","importWord:","editor","parent","view","886560DqJuAN","root","reject"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=422]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(499821===parseInt(e(491))/1+parseInt(e(505))/2+-parseInt(e(492))/3+parseInt(e(459))/4+-parseInt(e(442))/5*(parseInt(e(448))/6)+parseInt(e(457))/7*(parseInt(e(422))/8)+-parseInt(e(425))/9*(parseInt(e(436))/10))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(449)](e(484),!1),this[e(427)]=null,this[e(477)]=null,this[e(450)]=null,this.on(e(511),((r,n)=>{const i=e,o=new DataTransfer;o[i(486)](i(433),n[i(524)]);const s=this[i(427)][i(479)]();this[i(502)][i(465)][i(518)](this[i(477)],(e=>{const r=i;this[r(427)][r(423)](),e[r(508)](s),t[r(463)][r(504)][r(495)][r(483)](r(489),{dataTransfer:o})}))}),{priority:e(466)})}[d(476)](){const t=d;this[t(430)]=this[t(432)]()}[d(498)](t,e={}){const r=d;if(this[r(484)])return Promise[r(488)]();const n=this[r(502)][r(485)][r(446)](r(493));if(this[r(502)][r(429)][r(500)](r(482))){const{prefix:t,suffix:n}=this[r(502)][r(485)][r(446)](r(509));e[r(478)]={prefix:t,suffix:n}}const i={url:n[r(462)],file:t,serviceConfig:{...e,formatting:n[r(445)],timezone:(new(Intl[r(437)]))[r(447)]()[r(435)]}};return this[r(490)](),this[r(458)](i)[r(523)](this[r(474)][r(456)](this))[r(464)](this[r(431)][r(456)](this))[r(512)](this[r(494)][r(456)](this))}[d(432)](){const t=d;if(this[t(484)])return!1;const e=this[t(502)][t(465)],r=e[t(514)],n=e[t(495)][t(460)],i=(0,l.first)(n[t(453)]());return!!i&&r[t(443)](i[t(503)],t(469))}[d(490)](){const t=d,e=this[t(502)],r=e[t(465)],n=r[t(495)][t(460)];this[t(450)]=new AbortController,this[t(477)]=e[t(465)][t(439)]({isUndoable:!0}),r[t(518)](this[t(477)],(e=>{const i=t;n[i(513)]||r[i(454)](n,{leaveUnmerged:!0});const o=n[i(487)](),s=(0,l.first)(n[i(453)]());let a;a=s.is(i(452),i(469))&&s[i(472)]?o:o[i(441)]?r[i(451)](s):o[i(424)]?r[i(475)](s):e[i(444)](o)[i(455)],this[i(427)]=e[i(510)](i(501)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(427)].on(i(497),(()=>{const t=i;t(471)===this[t(427)][t(479)]()[t(506)][t(521)]&&this[t(450)][t(461)]()}))})),this[t(484)]=!0,this[t(476)]()}[d(494)](){const t=d,e=this[t(502)][t(465)];e[t(438)][t(500)](this[t(427)])&&e[t(518)](this[t(477)],(e=>{const r=t;e[r(517)](this[r(427)])})),this[t(427)]=null,this[t(477)]=null,this[t(450)]=null,this[t(484)]=!1,this[t(476)]()}[d(458)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(502)][n(429)][n(446)](n(516))[n(426)](),o=new FormData;o[n(449)](n(485),JSON[n(520)](r)),o[n(449)](n(480),e);const s={method:n(522),headers:{},body:o,signal:this[n(450)][n(428)]};return i&&(s[n(499)][n(519)]=i[n(473)]),fetch(t,s)}[d(474)](t){const e=d;return t.ok?t[e(470)]()[e(523)]((t=>{const r=e;this[r(502)][r(465)][r(438)][r(500)](this[r(427)])&&r(471)!==this[r(427)][r(479)]()[r(506)][r(521)]&&this[r(483)](r(511),t)})):Promise[e(507)]()}[d(431)](){const t=d;if(this[t(450)][t(428)][t(467)])return void(0,l.logWarning)(t(496));const e=this[t(502)],r=i(e[t(468)],t(481));e[t(429)][t(446)](t(515))[t(434)](r),(0,l.logError)(t(440))}}function g(t,e){const r=v();return(g=function(t,e){return r[t-=169]})(t,e)}const I=g;function v(){const t=["importWord","421821BYLpfd","editor","1132338UsQbAe","11YkrkvJ","420366fZfNiu","isPremiumPlugin","plugins","tokenUrl","pluginName","config","1iDjyeB","242010XFkRvO","_token","add","inline","2346995TiLimu","getToken","token","registerTokenUrl","requires","CloudServices","14yVqmEa","ImportWordEditing","10935590Ydbsxw","1152888dHgfou","https://docx-converter.cke-cs.com/v2/convert/docx-html","none","define","get","4dxJIWY","cloudServices","init","isOfficialPlugin","commands"];return(v=function(){return t})()}!function(t){const e=g,r=t();for(;;)try{if(235119===-parseInt(e(187))/1*(-parseInt(e(181))/2)+parseInt(e(188))/3+-parseInt(e(171))/4*(-parseInt(e(192))/5)+-parseInt(e(179))/6*(-parseInt(e(198))/7)+parseInt(e(201))/8+parseInt(e(177))/9+parseInt(e(200))/10*(-parseInt(e(180))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[I(185)](){return I(199)}static get[I(174)](){return!0}static get[I(182)](){return!0}static get[I(196)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(197)]}constructor(t){const e=I;super(t),this[e(189)]=null}async[I(173)](){const t=I,e=this[t(178)];e[t(186)][t(169)](t(176),{converterUrl:t(202),tokenUrl:(e[t(186)][t(170)](t(172))||{})[t(184)],formatting:{resets:t(203),defaults:t(203),styles:t(191)}}),e[t(175)][t(190)](t(176),new m(e));const{tokenUrl:r}=e[t(186)][t(170)](t(176));if(r){const{tokenUrl:n}=e[t(186)][t(170)](t(172))||{};this[t(189)]=r===n?e[t(183)][t(170)](t(197))[t(194)]:await e[t(183)][t(170)](t(197))[t(195)](r)}}[I(193)](){return this[I(189)]}}var b=W;function W(t,e){var r=y();return(W=function(t,e){return r[t-=359]})(t,e)}!function(t){for(var e=W,r=t();;)try{if(184378===parseInt(e(360))/1+parseInt(e(375))/2*(-parseInt(e(371))/3)+-parseInt(e(364))/4*(parseInt(e(370))/5)+parseInt(e(368))/6*(-parseInt(e(365))/7)+parseInt(e(362))/8*(-parseInt(e(363))/9)+parseInt(e(367))/10*(-parseInt(e(374))/11)+parseInt(e(361))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(y);class x extends t.Plugin{static get[b(359)](){return b(369)}static get[b(373)](){return!0}static get[b(372)](){return!0}static get[b(366)](){return[w,s]}}function y(){var t=["594zIRTdE","ImportWord","55SgShsf","315174SLumlu","isPremiumPlugin","isOfficialPlugin","11SWfgeY","2OxGRnR","pluginName","211531NtQPBG","8272668Rgkpnt","24nkisiV","388683IEqXUH","31604tYFcXc","19831ROWYXk","requires","1145450CnQoaS"];return(y=function(){return t})()}function k(t,e){var r=P();return(k=function(t,e){return r[t-=366]})(t,e)}function P(){var t=["11YfGgtz","8179AqVHxz","3946794FiBvSi","447643BbxtDj","232ggAqVO","23230XFNRjn","14605659DjVHnP","57297630RpWWwt","836cFAYxO","9614220jepVKX","12BqIPiz"];return(P=function(){return t})()}!function(t){for(var e=k,r=t();;)try{if(945531===-parseInt(e(369))/1*(parseInt(e(367))/2)+parseInt(e(370))/3+parseInt(e(376))/4*(-parseInt(e(373))/5)+-parseInt(e(366))/6+parseInt(e(371))/7*(-parseInt(e(372))/8)+-parseInt(e(374))/9+parseInt(e(375))/10*(parseInt(e(368))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(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 _0x47618a,Command as _0x58a0fb}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x3949ec,MenuBarMenuListItemFileDialogButtonView as _0x14bcf1,SpinnerView as _0x347ac5,Notification as _0x2d3473}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x1d80d5}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x4ced21}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5afdfb,uid as _0x436803,logWarning as _0xfa073e,logError as _0x3add9d}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x4c33c2,_0x5de364){const t=_0x4c33c2['t'];switch(_0x5de364){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 _0x5de364;}}class i extends _0x47618a{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1c9c3=this['editor'];_0x1c9c3['ui']['componentFactory']['add']('importWord',()=>{const _0xf91d1f=this['_createButton'](_0x3949ec),_0x580175=_0x1c9c3['commands']['get']('importWord');return _0xf91d1f['bind']('isOn')['to'](_0x580175,'isBusy'),_0xf91d1f['tooltip']=!0x0,_0xf91d1f;}),_0x1c9c3['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x14bcf1));}['_createButton'](_0xda5cfd){const _0x206f8d=this['editor'],_0x5e22c8=_0x206f8d['commands']['get']('importWord'),_0x1395f0=new _0xda5cfd(_0x206f8d['locale']),_0x19d34f=new _0x347ac5();return _0x1395f0['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x1395f0['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'}),_0x1395f0['bind']('isEnabled')['to'](_0x5e22c8),_0x1395f0['bind']('label')['to'](_0x5e22c8,'isBusy',_0xb7c06=>p(_0x206f8d['locale'],_0xb7c06?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x19d34f['bind']('isVisible')['to'](_0x5e22c8,'isBusy'),_0x1395f0['iconView']['bind']('isVisible')['to'](_0x5e22c8,'isBusy',_0x3fa0e2=>!_0x3fa0e2),_0x1395f0['children']['add'](_0x19d34f),_0x1395f0['on']('done',(_0x1202e8,_0x39fee9)=>{_0x206f8d['execute']('importWord',_0x39fee9[0x0],{}),_0x206f8d['editing']['view']['focus']();}),_0x1395f0;}}class d extends _0x58a0fb{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x41fc58){super(_0x41fc58),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x833f8d,_0x2bf90b)=>{const _0x3837ba=new DataTransfer();_0x3837ba['setData']('text/html',_0x2bf90b['html']);const _0x24bdd2=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x4e2504=>{this['_importMarker']['stopListening'](),_0x4e2504['setSelection'](_0x24bdd2),_0x41fc58['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x3837ba});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x48e76d,_0x195239={}){if(this['isBusy'])return Promise['resolve']();const _0xc018b9=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x317c4d,suffix:_0x286db8}=this['editor']['config']['get']('mergeFields');_0x195239['merge_fields']={'prefix':_0x317c4d,'suffix':_0x286db8};}const _0x3eee56={'url':_0xc018b9['converterUrl'],'file':_0x48e76d,'serviceConfig':{..._0x195239,'formatting':_0xc018b9['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x3eee56)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x4c1d9b=this['editor']['model'],_0x2d2355=_0x4c1d9b['schema'],_0x3bd93f=_0x4c1d9b['document']['selection'],_0x590a56=_0x5afdfb(_0x3bd93f['getSelectedBlocks']());return!!_0x590a56&&_0x2d2355['checkChild'](_0x590a56['parent'],'paragraph');}['_prepareForImport'](){const _0x3820d9=this['editor'],_0x4e6859=_0x3820d9['model'],_0x2d7768=_0x4e6859['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x3820d9['model']['createBatch']({'isUndoable':!0x0}),_0x4e6859['enqueueChange'](this['_undoStepBatch'],_0x45325e=>{_0x2d7768['isCollapsed']||_0x4e6859['deleteContent'](_0x2d7768,{'leaveUnmerged':!0x0});const _0x178e59=_0x2d7768['getFirstPosition'](),_0x29c37e=_0x5afdfb(_0x2d7768['getSelectedBlocks']());let _0x5e6a98;_0x5e6a98=_0x29c37e['is']('element','paragraph')&&_0x29c37e['isEmpty']?_0x178e59:_0x178e59['isAtStart']?_0x4e6859['createPositionBefore'](_0x29c37e):_0x178e59['isAtEnd']?_0x4e6859['createPositionAfter'](_0x29c37e):_0x45325e['split'](_0x178e59)['position'],this['_importMarker']=_0x45325e['addMarker']('importWord:'+_0x436803(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x4ced21(_0x5e6a98)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x5e42f5=this['editor']['model'];_0x5e42f5['markers']['has'](this['_importMarker'])&&_0x5e42f5['enqueueChange'](this['_undoStepBatch'],_0x4a3b21=>{_0x4a3b21['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x58a707,file:_0x536766,serviceConfig:_0x49bea9}){const _0x309bf3=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x1c0fa7=new FormData();_0x1c0fa7['set']('config',JSON['stringify'](_0x49bea9)),_0x1c0fa7['set']('file',_0x536766);const _0x75487e={'method':'POST','headers':{},'body':_0x1c0fa7,'signal':this['_abortController']['signal']};return _0x309bf3&&(_0x75487e['headers']['Authorization']=_0x309bf3['value']),fetch(_0x58a707,_0x75487e);}['_handleImportResponse'](_0x39e07f){return _0x39e07f['ok']?_0x39e07f['json']()['then'](_0x9bb1e1=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x9bb1e1);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0xfa073e('import-word-plugin-import-cancelled');const _0x5d2940=this['editor'],_0x3bc5de=p(_0x5d2940['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x5d2940['plugins']['get']('Notification')['showWarning'](_0x3bc5de),_0x3add9d('import-word-plugin-conversion-failed');}}class e extends _0x47618a{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2d3473,_0x1d80d5,'CloudServices'];}constructor(_0x45e2d9){super(_0x45e2d9),this['_token']=null;}async['init'](){const _0x4a34fc=this['editor'];_0x4a34fc['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x4a34fc['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x4a34fc['commands']['add']('importWord',new d(_0x4a34fc));const {tokenUrl:_0x381f3d}=_0x4a34fc['config']['get']('importWord');if(_0x381f3d){const {tokenUrl:_0x987236}=_0x4a34fc['config']['get']('cloudServices')||{};this['_token']=_0x381f3d===_0x987236?_0x4a34fc['plugins']['get']('CloudServices')['token']:await _0x4a34fc['plugins']['get']('CloudServices')['registerTokenUrl'](_0x381f3d);}}['getToken'](){return this['_token'];}}class o extends _0x47618a{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':_0xfa0f8=>0x1!=_0xfa0f8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x449781=>{const {af:{dictionary:_0x4dd861,getPluralForm:_0x459e2f}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xd70904=>0x1!=_0xd70904}};_0x449781['af']||={'dictionary':{},'getPluralForm':null},_0x449781['af']['dictionary']=Object['assign'](_0x449781['af']['dictionary'],_0x4dd861),_0x449781['af']['getPluralForm']=_0x459e2f;})(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':_0x494795=>0x0==_0x494795?0x0:0x1==_0x494795?0x1:0x2==_0x494795?0x2:_0x494795%0x64>=0x3&&_0x494795%0x64<=0xa?0x3:_0x494795%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57660f=>{const {ar:{dictionary:_0x1b6268,getPluralForm:_0x587116}}={'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':_0x35d71e=>0x0==_0x35d71e?0x0:0x1==_0x35d71e?0x1:0x2==_0x35d71e?0x2:_0x35d71e%0x64>=0x3&&_0x35d71e%0x64<=0xa?0x3:_0x35d71e%0x64>=0xb?0x4:0x5}};_0x57660f['ar']||={'dictionary':{},'getPluralForm':null},_0x57660f['ar']['dictionary']=Object['assign'](_0x57660f['ar']['dictionary'],_0x1b6268),_0x57660f['ar']['getPluralForm']=_0x587116;})(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':_0x4ac154=>0x1!=_0x4ac154}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5845c3=>{const {ast:{dictionary:_0x445c7d,getPluralForm:_0x374790}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4d1709=>0x1!=_0x4d1709}};_0x5845c3['ast']||={'dictionary':{},'getPluralForm':null},_0x5845c3['ast']['dictionary']=Object['assign'](_0x5845c3['ast']['dictionary'],_0x445c7d),_0x5845c3['ast']['getPluralForm']=_0x374790;})(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':_0x4609c2=>0x1!=_0x4609c2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2821ba=>{const {az:{dictionary:_0x50805d,getPluralForm:_0x1f3933}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x22eedb=>0x1!=_0x22eedb}};_0x2821ba['az']||={'dictionary':{},'getPluralForm':null},_0x2821ba['az']['dictionary']=Object['assign'](_0x2821ba['az']['dictionary'],_0x50805d),_0x2821ba['az']['getPluralForm']=_0x1f3933;})(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':_0x29f1ee=>0x1!=_0x29f1ee}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x722231=>{const {bg:{dictionary:_0xc1e4d2,getPluralForm:_0xb5bad7}}={'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':_0x4378af=>0x1!=_0x4378af}};_0x722231['bg']||={'dictionary':{},'getPluralForm':null},_0x722231['bg']['dictionary']=Object['assign'](_0x722231['bg']['dictionary'],_0xc1e4d2),_0x722231['bg']['getPluralForm']=_0xb5bad7;})(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':_0x544a19=>0x1!=_0x544a19}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4daacf=>{const {bn:{dictionary:_0x145604,getPluralForm:_0x594ea0}}={'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':_0xee69ea=>0x1!=_0xee69ea}};_0x4daacf['bn']||={'dictionary':{},'getPluralForm':null},_0x4daacf['bn']['dictionary']=Object['assign'](_0x4daacf['bn']['dictionary'],_0x145604),_0x4daacf['bn']['getPluralForm']=_0x594ea0;})(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':_0x2da247=>_0x2da247%0xa==0x1&&_0x2da247%0x64!=0xb?0x0:_0x2da247%0xa>=0x2&&_0x2da247%0xa<=0x4&&(_0x2da247%0x64<0xa||_0x2da247%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5cf518=>{const {bs:{dictionary:_0xe19dab,getPluralForm:_0x3774ed}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5e7086=>_0x5e7086%0xa==0x1&&_0x5e7086%0x64!=0xb?0x0:_0x5e7086%0xa>=0x2&&_0x5e7086%0xa<=0x4&&(_0x5e7086%0x64<0xa||_0x5e7086%0x64>=0x14)?0x1:0x2}};_0x5cf518['bs']||={'dictionary':{},'getPluralForm':null},_0x5cf518['bs']['dictionary']=Object['assign'](_0x5cf518['bs']['dictionary'],_0xe19dab),_0x5cf518['bs']['getPluralForm']=_0x3774ed;})(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':_0x4273e=>0x1!=_0x4273e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10b4ce=>{const {ca:{dictionary:_0x1f075a,getPluralForm:_0x3c840c}}={'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':_0x20273e=>0x1!=_0x20273e}};_0x10b4ce['ca']||={'dictionary':{},'getPluralForm':null},_0x10b4ce['ca']['dictionary']=Object['assign'](_0x10b4ce['ca']['dictionary'],_0x1f075a),_0x10b4ce['ca']['getPluralForm']=_0x3c840c;})(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':_0x1a45af=>0x1==_0x1a45af?0x0:_0x1a45af>=0x2&&_0x1a45af<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x93dadc=>{const {cs:{dictionary:_0x240c04,getPluralForm:_0x1d1c3e}}={'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':_0x510483=>0x1==_0x510483?0x0:_0x510483>=0x2&&_0x510483<=0x4?0x1:0x2}};_0x93dadc['cs']||={'dictionary':{},'getPluralForm':null},_0x93dadc['cs']['dictionary']=Object['assign'](_0x93dadc['cs']['dictionary'],_0x240c04),_0x93dadc['cs']['getPluralForm']=_0x1d1c3e;})(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':_0x34b3ee=>0x1!=_0x34b3ee}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51c335=>{const {da:{dictionary:_0x23c4b4,getPluralForm:_0x24323d}}={'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':_0x36bfb8=>0x1!=_0x36bfb8}};_0x51c335['da']||={'dictionary':{},'getPluralForm':null},_0x51c335['da']['dictionary']=Object['assign'](_0x51c335['da']['dictionary'],_0x23c4b4),_0x51c335['da']['getPluralForm']=_0x24323d;})(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':_0x295e7f=>0x1!=_0x295e7f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x13081a=>{const {'de-ch':{dictionary:_0x5d6062,getPluralForm:_0x135325}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x52a6d3=>0x1!=_0x52a6d3}};_0x13081a['de-ch']||={'dictionary':{},'getPluralForm':null},_0x13081a['de-ch']['dictionary']=Object['assign'](_0x13081a['de-ch']['dictionary'],_0x5d6062),_0x13081a['de-ch']['getPluralForm']=_0x135325;})(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':_0x1b5204=>0x1!=_0x1b5204}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x33fea6=>{const {de:{dictionary:_0x53b25b,getPluralForm:_0x22d735}}={'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':_0x351efe=>0x1!=_0x351efe}};_0x33fea6['de']||={'dictionary':{},'getPluralForm':null},_0x33fea6['de']['dictionary']=Object['assign'](_0x33fea6['de']['dictionary'],_0x53b25b),_0x33fea6['de']['getPluralForm']=_0x22d735;})(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':_0x43664c=>0x1!=_0x43664c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1abb32=>{const {el:{dictionary:_0x29d526,getPluralForm:_0x500db6}}={'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':_0x5ed76e=>0x1!=_0x5ed76e}};_0x1abb32['el']||={'dictionary':{},'getPluralForm':null},_0x1abb32['el']['dictionary']=Object['assign'](_0x1abb32['el']['dictionary'],_0x29d526),_0x1abb32['el']['getPluralForm']=_0x500db6;})(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':_0x400ab=>0x1!=_0x400ab}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe9eacc=>{const {'en-au':{dictionary:_0x18897a,getPluralForm:_0x5881ac}}={'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':_0x496841=>0x1!=_0x496841}};_0xe9eacc['en-au']||={'dictionary':{},'getPluralForm':null},_0xe9eacc['en-au']['dictionary']=Object['assign'](_0xe9eacc['en-au']['dictionary'],_0x18897a),_0xe9eacc['en-au']['getPluralForm']=_0x5881ac;})(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':_0x1c0165=>0x1!=_0x1c0165}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xfdfa0=>{const {'en-gb':{dictionary:_0x34f98d,getPluralForm:_0x31c671}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x14784c=>0x1!=_0x14784c}};_0xfdfa0['en-gb']||={'dictionary':{},'getPluralForm':null},_0xfdfa0['en-gb']['dictionary']=Object['assign'](_0xfdfa0['en-gb']['dictionary'],_0x34f98d),_0xfdfa0['en-gb']['getPluralForm']=_0x31c671;})(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':_0x37530f=>0x1!=_0x37530f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x567226=>{const {en:{dictionary:_0x396023,getPluralForm:_0x2a4aa1}}={'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':_0x3b4775=>0x1!=_0x3b4775}};_0x567226['en']||={'dictionary':{},'getPluralForm':null},_0x567226['en']['dictionary']=Object['assign'](_0x567226['en']['dictionary'],_0x396023),_0x567226['en']['getPluralForm']=_0x2a4aa1;})(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':_0x55a4a7=>0x1!=_0x55a4a7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x531990=>{const {eo:{dictionary:_0x1199de,getPluralForm:_0x2e2469}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1912b8=>0x1!=_0x1912b8}};_0x531990['eo']||={'dictionary':{},'getPluralForm':null},_0x531990['eo']['dictionary']=Object['assign'](_0x531990['eo']['dictionary'],_0x1199de),_0x531990['eo']['getPluralForm']=_0x2e2469;})(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':_0x9d88c0=>0x1!=_0x9d88c0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e43ca=>{const {'es-co':{dictionary:_0x326a7f,getPluralForm:_0x1093c}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x58e238=>0x1!=_0x58e238}};_0x4e43ca['es-co']||={'dictionary':{},'getPluralForm':null},_0x4e43ca['es-co']['dictionary']=Object['assign'](_0x4e43ca['es-co']['dictionary'],_0x326a7f),_0x4e43ca['es-co']['getPluralForm']=_0x1093c;})(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':_0xb85ce8=>0x1!=_0xb85ce8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x98b086=>{const {es:{dictionary:_0x5bbec4,getPluralForm:_0x4d55ab}}={'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':_0x5a2bbe=>0x1!=_0x5a2bbe}};_0x98b086['es']||={'dictionary':{},'getPluralForm':null},_0x98b086['es']['dictionary']=Object['assign'](_0x98b086['es']['dictionary'],_0x5bbec4),_0x98b086['es']['getPluralForm']=_0x4d55ab;})(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':_0x19251f=>0x1!=_0x19251f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x525234=>{const {et:{dictionary:_0x126fe0,getPluralForm:_0x52292e}}={'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':_0x2d4a2b=>0x1!=_0x2d4a2b}};_0x525234['et']||={'dictionary':{},'getPluralForm':null},_0x525234['et']['dictionary']=Object['assign'](_0x525234['et']['dictionary'],_0x126fe0),_0x525234['et']['getPluralForm']=_0x52292e;})(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':_0x2749f0=>0x1!=_0x2749f0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3587fd=>{const {eu:{dictionary:_0x29c870,getPluralForm:_0x966fd6}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xddd82d=>0x1!=_0xddd82d}};_0x3587fd['eu']||={'dictionary':{},'getPluralForm':null},_0x3587fd['eu']['dictionary']=Object['assign'](_0x3587fd['eu']['dictionary'],_0x29c870),_0x3587fd['eu']['getPluralForm']=_0x966fd6;})(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':_0x48792e=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d40e7=>{const {fa:{dictionary:_0x317d57,getPluralForm:_0x59ef0c}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x56dd5d=>0x0}};_0x2d40e7['fa']||={'dictionary':{},'getPluralForm':null},_0x2d40e7['fa']['dictionary']=Object['assign'](_0x2d40e7['fa']['dictionary'],_0x317d57),_0x2d40e7['fa']['getPluralForm']=_0x59ef0c;})(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':_0x517920=>0x1!=_0x517920}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x285759=>{const {fi:{dictionary:_0xf40ebe,getPluralForm:_0x1a5cc0}}={'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':_0x481eae=>0x1!=_0x481eae}};_0x285759['fi']||={'dictionary':{},'getPluralForm':null},_0x285759['fi']['dictionary']=Object['assign'](_0x285759['fi']['dictionary'],_0xf40ebe),_0x285759['fi']['getPluralForm']=_0x1a5cc0;})(window['CKEDITOR_TRANSLATIONS']||={});
|