@ckeditor/ckeditor5-import-word 44.2.0-alpha.13 → 44.2.0-alpha.15
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 +9 -9
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -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,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 o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.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:()=>b,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function o(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}}function i(t,r){const e=a();return(i=function(t,r){return e[t-=219]})(t,r)}const s=i;function a(){const t=["79331XGyFKp","init","423SCtdEY","Import from Word","_createButton","isPremiumPlugin","pluginName","Importing Word document","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","menuBar:importWord","editor","importWord","get","594KNSQID","commands","11xrrIWy","label","set","8964XdNKoK","39136nFsAeM","componentFactory","16856760yrztoD","isOfficialPlugin","1331915neIofv","isEnabled","isVisible","iconView","isOn","tooltip","6918175UQfbdK","view","children","focus","isBusy","bind","add","locale","ImportWordUI","done","2431128UESTqj","2790kkmMYC","editing","execute"];return(a=function(){return t})()}!function(t){const r=i,e=t();for(;;)try{if(788765===parseInt(r(259))/1+-parseInt(r(254))/2*(parseInt(r(238))/3)+-parseInt(r(232))/4+-parseInt(r(222))/5+-parseInt(r(249))/6*(parseInt(r(236))/7)+-parseInt(r(255))/8*(-parseInt(r(233))/9)+parseInt(r(257))/10*(parseInt(r(251))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[s(242)](){return s(230)}static get[s(258)](){return!0}static get[s(241)](){return!0}[s(237)](){const t=s,e=this[t(246)];e.ui[t(256)][t(228)](t(247),(()=>{const n=t,o=this[n(240)](r.FileDialogButtonView),i=e[n(250)][n(248)](n(247));return o[n(227)](n(220)).to(i,n(226)),o[n(221)]=!0,o})),e.ui[t(256)][t(228)](t(245),(()=>this[t(240)](r.MenuBarMenuListItemFileDialogButtonView)))}[s(240)](t){const e=s,n=this[e(246)],i=n[e(250)][e(248)](e(247)),a=new t(n[e(229)]),c=new r.SpinnerView;return a[e(253)]({acceptedType:e(244)}),a[e(253)]({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(227)](e(260)).to(i),a[e(227)](e(252)).to(i,e(226),(t=>o(n[e(229)],e(t?243:239)))),c[e(227)](e(261)).to(i,e(226)),a[e(219)][e(227)](e(261)).to(i,e(226),(t=>!t)),a[e(224)][e(228)](c),a.on(e(231),((t,r)=>{const o=e;n[o(235)](o(247),r[0],{}),n[o(234)][o(223)][o(225)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=h;function h(t,r){const e=f();return(h=function(t,r){return e[t-=116]})(t,r)}function f(){const t=["22728SEeqLY","headers","159010CgLyyo","10qQhUxe","rootName","isCollapsed","296048pNBdcZ","signal","html","removeMarker","editor","fire","stopListening","reject","resolve","115608yhJyxY","document","view","json","stringify","isBusy","_sendImportRequest","deleteContent","showWarning","dataInsert","import-word-plugin-import-cancelled","resolvedOptions","locale","aborted","root","isAtStart","getRange","createBatch","abort","DateTimeFormat","merge_fields","setSelection","catch","file","importWord","_handleImportResponse","33EVzArM","change:range","importWord:","3QECsYI","MergeFields","value","model","_abortController","mergeFields","text/html","isAtEnd","_cleanUpAfterImport","An error occurred while importing the Word file.","Notification","plugins","_prepareForImport","paragraph","refresh","split","140222FDFSIi","parent","createPositionBefore","ImportWordEditing","_checkEnabled","finally","$graveyard","setData","get","createPositionAfter","243708bUYQth","Authorization","enqueueChange","markers","getToken","import-word-plugin-conversion-failed","schema","editing","addMarker","isEnabled","position","getFirstPosition","clipboardInput","_handleImportFailure","553320rUdBPp","selection","checkChild","set","formatting","_undoStepBatch","getSelectedBlocks","_importMarker","converterUrl","has","isEmpty","execute","timeZone","then","element","config","bind","77NBbrJe","POST","low"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(104385===-parseInt(r(215))/1+parseInt(r(171))/2*(parseInt(r(155))/3)+-parseInt(r(117))/4+-parseInt(r(218))/5*(-parseInt(r(181))/6)+parseInt(r(212))/7*(parseInt(r(126))/8)+-parseInt(r(195))/9+parseInt(r(217))/10*(-parseInt(r(152))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=h;super(t),this[r(198)](r(131),!1),this[r(202)]=null,this[r(200)]=null,this[r(159)]=null,this.on(r(135),((e,n)=>{const o=r,i=new DataTransfer;i[o(178)](o(161),n[o(119)]);const s=this[o(202)][o(142)]();this[o(121)][o(158)][o(183)](this[o(200)],(r=>{const e=o;this[e(202)][e(123)](),r[e(147)](s),t[e(188)][e(128)][e(127)][e(122)](e(193),{dataTransfer:i})}))}),{priority:r(214)})}[d(169)](){const t=d;this[t(190)]=this[t(175)]()}[d(206)](t,r={}){const e=d;if(this[e(131)])return Promise[e(125)]();const n=this[e(121)][e(210)][e(179)](e(150));if(this[e(121)][e(166)][e(204)](e(156))){const{prefix:t,suffix:n}=this[e(121)][e(210)][e(179)](e(160));r[e(146)]={prefix:t,suffix:n}}const o={url:n[e(203)],file:t,serviceConfig:{...r,formatting:n[e(199)],timezone:(new(Intl[e(145)]))[e(137)]()[e(207)]}};return this[e(167)](),this[e(132)](o)[e(208)](this[e(151)][e(211)](this))[e(148)](this[e(194)][e(211)](this))[e(176)](this[e(163)][e(211)](this))}[d(175)](){const t=d;if(this[t(131)])return!1;const r=this[t(121)][t(158)],e=r[t(187)],n=r[t(127)][t(196)],o=(0,l.first)(n[t(201)]());return!!o&&e[t(197)](o[t(172)],t(168))}[d(167)](){const t=d,r=this[t(121)],e=r[t(158)],n=e[t(127)][t(196)];this[t(159)]=new AbortController,this[t(200)]=r[t(158)][t(143)]({isUndoable:!0}),e[t(183)](this[t(200)],(r=>{const o=t;n[o(116)]||e[o(133)](n,{leaveUnmerged:!0});const i=n[o(192)](),s=(0,l.first)(n[o(201)]());let a;a=s.is(o(209),o(168))&&s[o(205)]?i:i[o(141)]?e[o(173)](s):i[o(162)]?e[o(180)](s):r[o(170)](i)[o(191)],this[o(202)]=r[o(189)](o(154)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[o(202)].on(o(153),(()=>{const t=o;t(177)===this[t(202)][t(142)]()[t(140)][t(219)]&&this[t(159)][t(144)]()}))})),this[t(131)]=!0,this[t(169)]()}[d(163)](){const t=d,r=this[t(121)][t(158)];r[t(184)][t(204)](this[t(202)])&&r[t(183)](this[t(200)],(r=>{const e=t;r[e(120)](this[e(202)])})),this[t(202)]=null,this[t(200)]=null,this[t(159)]=null,this[t(131)]=!1,this[t(169)]()}[d(132)]({url:t,file:r,serviceConfig:e}){const n=d,o=this[n(121)][n(166)][n(179)](n(174))[n(185)](),i=new FormData;i[n(198)](n(210),JSON[n(130)](e)),i[n(198)](n(149),r);const s={method:n(213),headers:{},body:i,signal:this[n(159)][n(118)]};return o&&(s[n(216)][n(182)]=o[n(157)]),fetch(t,s)}[d(151)](t){const r=d;return t.ok?t[r(129)]()[r(208)]((t=>{const e=r;this[e(121)][e(158)][e(184)][e(204)](this[e(202)])&&e(177)!==this[e(202)][e(142)]()[e(140)][e(219)]&&this[e(122)](e(135),t)})):Promise[r(124)]()}[d(194)](){const t=d;if(this[t(159)][t(118)][t(139)])return void(0,l.logWarning)(t(136));const r=this[t(121)],e=o(r[t(138)],t(164));r[t(166)][t(179)](t(165))[t(134)](e),(0,l.logError)(t(186))}}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=293]})(t,r)}function v(){const t=["889IWoPBR","2481664VnGCGl","117vXdpRg","19194KJzvfi","_token","init","config","getToken","54DAWmOi","https://docx-converter.cke-cs.com/v2/convert/docx-html","isPremiumPlugin","requires","cloudServices","commands","add","pluginName","inline","get","tokenUrl","none","define","plugins","801020KpOCIo","81208xARLGy","ImportWordEditing","token","270199ZLoEpB","registerTokenUrl","editor","1810260NcCBhg","importWord","CloudServices","isOfficialPlugin","407182otAyqL"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(256017===parseInt(r(309))/1+parseInt(r(316))/2+-parseInt(r(325))/3*(-parseInt(r(306))/4)+parseInt(r(312))/5+-parseInt(r(320))/6*(-parseInt(r(317))/7)+-parseInt(r(318))/8+parseInt(r(319))/9*(-parseInt(r(305))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(298)](){return g(307)}static get[g(315)](){return!0}static get[g(293)](){return!0}static get[g(294)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(314)]}constructor(t){const r=g;super(t),this[r(321)]=null}async[g(322)](){const t=g,r=this[t(311)];r[t(323)][t(303)](t(313),{converterUrl:t(326),tokenUrl:(r[t(323)][t(300)](t(295))||{})[t(301)],formatting:{resets:t(302),defaults:t(302),styles:t(299)}}),r[t(296)][t(297)](t(313),new m(r));const{tokenUrl:e}=r[t(323)][t(300)](t(313));if(e){const{tokenUrl:n}=r[t(323)][t(300)](t(295))||{};this[t(321)]=e===n?r[t(304)][t(300)](t(314))[t(308)]:await r[t(304)][t(300)](t(314))[t(310)](e)}}[g(324)](){return this[g(321)]}}function y(t,r){var e=x();return(y=function(t,r){return e[t-=271]})(t,r)}function x(){var t=["isOfficialPlugin","pluginName","requires","isPremiumPlugin","8090096jxPqYR","ImportWord","2898795HpxVfJ","12hIZbAi","2860xTzEMZ","6340456CzIumE","2427057saLycr","3nchYCQ","694995umncwo","1947908mWQyAo"];return(x=function(){return t})()}var W=y;!function(t){for(var r=y,e=t();;)try{if(611820===-parseInt(r(277))/1+parseInt(r(273))/2*(parseInt(r(276))/3)+-parseInt(r(278))/4+-parseInt(r(271))/5*(-parseInt(r(272))/6)+parseInt(r(283))/7+-parseInt(r(274))/8+parseInt(r(275))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class b extends t.Plugin{static get[W(280)](){return W(284)}static get[W(279)](){return!0}static get[W(282)](){return!0}static get[W(281)](){return[w,c]}}function C(){var t=["6yNcnGJ","118012WRAZyv","4YZOBGR","90730nJltlQ","565014xCtwlw","371137QmqDeM","833368hPICkq","848480xHqUYw","9jElrso","1130633fohmrY"];return(C=function(){return t})()}function P(t,r){var e=C();return(P=function(t,r){return e[t-=217]})(t,r)}!function(t){for(var r=P,e=t();;)try{if(192168===parseInt(r(222))/1+parseInt(r(218))/2+parseInt(r(221))/3*(parseInt(r(219))/4)+-parseInt(r(224))/5*(parseInt(r(217))/6)+-parseInt(r(226))/7+-parseInt(r(223))/8+-parseInt(r(225))/9*(-parseInt(r(220))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(C)})(),(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:()=>y,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-=115]})(t,r)}function a(){const t=["editing","470056crGhgL","1203789rwcdrU","editor","done","ImportWordUI","452blGPPY","view","isEnabled","1086450duHZHy","init","pluginName","get","set","label","tooltip","commands","importWord","6184008hTrArw","Import from Word","3122VcchqJ","add","isOn","_createButton","14KqXIcJ","3554016PcKaZz","isPremiumPlugin","bind","componentFactory","iconView","execute","locale","isVisible","children","menuBar:importWord","Importing Word document","focus","5wsIrfm","isOfficialPlugin","isBusy","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","5424420NPhAYS"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(359255===parseInt(r(150))/1*(parseInt(r(136))/2)+-parseInt(r(132))/3+-parseInt(r(131))/4*(-parseInt(r(125))/5)+-parseInt(r(139))/6*(parseInt(r(154))/7)+parseInt(r(155))/8+-parseInt(r(148))/9+parseInt(r(129))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(141)](){return o(135)}static get[o(126)](){return!0}static get[o(156)](){return!0}[o(140)](){const t=o,e=this[t(133)];e.ui[t(116)][t(151)](t(147),(()=>{const n=t,i=this[n(153)](r.FileDialogButtonView),o=e[n(146)][n(142)](n(147));return i[n(115)](n(152)).to(o,n(127)),i[n(145)]=!0,i})),e.ui[t(116)][t(151)](t(122),(()=>this[t(153)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(153)](t){const e=o,n=this[e(133)],s=n[e(146)][e(142)](e(147)),a=new t(n[e(119)]),c=new r.SpinnerView;return a[e(143)]({acceptedType:e(128)}),a[e(143)]({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(115)](e(138)).to(s),a[e(115)](e(144)).to(s,e(127),(t=>i(n[e(119)],e(t?123:149)))),c[e(115)](e(120)).to(s,e(127)),a[e(117)][e(115)](e(120)).to(s,e(127),(t=>!t)),a[e(121)][e(151)](c),a.on(e(134),((t,r)=>{const i=e;n[i(118)](i(147),r[0],{}),n[i(130)][i(137)][i(124)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=f;function h(){const t=["3530lHrGDk","147akSXKV","refresh","config","parent","addMarker","import-word-plugin-import-cancelled","_handleImportResponse","execute","headers","mergeFields","818800McXjwZ","setSelection","createBatch","Notification","28146aMguzz","element","showWarning","fire","resolve","26235TbfSJu","clipboardInput","createPositionAfter","get","editing","isAtStart","isEnabled","getRange","isBusy","formatting","createPositionBefore","getFirstPosition","json","value","bind","An error occurred while importing the Word file.","_handleImportFailure","abort","enqueueChange","document","_sendImportRequest","1747372jZOnsE","merge_fields","finally","has","aborted","paragraph","model","importWord","491859TaioPp","split","view","markers","_prepareForImport","change:range","root","_cleanUpAfterImport","reject","position","editor","_abortController","low","ImportWordEditing","signal","isEmpty","Authorization","getSelectedBlocks","24Adpqod","removeMarker","402oppVgR","_checkEnabled","isCollapsed","catch","resolvedOptions","$graveyard","set","locale","dataInsert","MergeFields","_importMarker","then","getToken","DateTimeFormat","stringify","plugins","text/html","isAtEnd","file","rootName","timeZone","schema","25860afutFi","stopListening","selection","converterUrl","import-word-plugin-conversion-failed","1122821YuBHyV","POST","importWord:","checkChild","deleteContent","setData","html","_undoStepBatch"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=111]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(478645===-parseInt(r(160))/1+-parseInt(r(164))/2*(-parseInt(r(150))/3)+parseInt(r(190))/4+-parseInt(r(136))/5*(parseInt(r(114))/6)+-parseInt(r(141))/7+-parseInt(r(112))/8*(parseInt(r(198))/9)+parseInt(r(149))/10*(parseInt(r(169))/11))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(120)](r(177),!1),this[r(124)]=null,this[r(148)]=null,this[r(209)]=null,this.on(r(122),((e,n)=>{const i=r,o=new DataTransfer;o[i(146)](i(130),n[i(147)]);const s=this[i(124)][i(176)]();this[i(208)][i(196)][i(187)](this[i(148)],(r=>{const e=i;this[e(124)][e(137)](),r[e(161)](s),t[e(173)][e(200)][e(188)][e(167)](e(170),{dataTransfer:o})}))}),{priority:r(210)})}[d(151)](){const t=d;this[t(175)]=this[t(115)]()}[d(157)](t,r={}){const e=d;if(this[e(177)])return Promise[e(168)]();const n=this[e(208)][e(152)][e(172)](e(197));if(this[e(208)][e(129)][e(193)](e(123))){const{prefix:t,suffix:n}=this[e(208)][e(152)][e(172)](e(159));r[e(191)]={prefix:t,suffix:n}}const i={url:n[e(139)],file:t,serviceConfig:{...r,formatting:n[e(178)],timezone:(new(Intl[e(127)]))[e(118)]()[e(134)]}};return this[e(202)](),this[e(189)](i)[e(125)](this[e(156)][e(183)](this))[e(117)](this[e(185)][e(183)](this))[e(192)](this[e(205)][e(183)](this))}[d(115)](){const t=d;if(this[t(177)])return!1;const r=this[t(208)][t(196)],e=r[t(135)],n=r[t(188)][t(138)],i=(0,l.first)(n[t(111)]());return!!i&&e[t(144)](i[t(153)],t(195))}[d(202)](){const t=d,r=this[t(208)],e=r[t(196)],n=e[t(188)][t(138)];this[t(209)]=new AbortController,this[t(148)]=r[t(196)][t(162)]({isUndoable:!0}),e[t(187)](this[t(148)],(r=>{const i=t;n[i(116)]||e[i(145)](n,{leaveUnmerged:!0});const o=n[i(180)](),s=(0,l.first)(n[i(111)]());let a;a=s.is(i(165),i(195))&&s[i(213)]?o:o[i(174)]?e[i(179)](s):o[i(131)]?e[i(171)](s):r[i(199)](o)[i(207)],this[i(124)]=r[i(154)](i(143)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(124)].on(i(203),(()=>{const t=i;t(119)===this[t(124)][t(176)]()[t(204)][t(133)]&&this[t(209)][t(186)]()}))})),this[t(177)]=!0,this[t(151)]()}[d(205)](){const t=d,r=this[t(208)][t(196)];r[t(201)][t(193)](this[t(124)])&&r[t(187)](this[t(148)],(r=>{const e=t;r[e(113)](this[e(124)])})),this[t(124)]=null,this[t(148)]=null,this[t(209)]=null,this[t(177)]=!1,this[t(151)]()}[d(189)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(208)][n(129)][n(172)](n(211))[n(126)](),o=new FormData;o[n(120)](n(152),JSON[n(128)](e)),o[n(120)](n(132),r);const s={method:n(142),headers:{},body:o,signal:this[n(209)][n(212)]};return i&&(s[n(158)][n(214)]=i[n(182)]),fetch(t,s)}[d(156)](t){const r=d;return t.ok?t[r(181)]()[r(125)]((t=>{const e=r;this[e(208)][e(196)][e(201)][e(193)](this[e(124)])&&e(119)!==this[e(124)][e(176)]()[e(204)][e(133)]&&this[e(167)](e(122),t)})):Promise[r(206)]()}[d(185)](){const t=d;if(this[t(209)][t(212)][t(194)])return void(0,l.logWarning)(t(155));const r=this[t(208)],e=i(r[t(121)],t(184));r[t(129)][t(172)](t(163))[t(166)](e),(0,l.logError)(t(140))}}const g=v;function I(){const t=["_token","6781545kKAMlS","add","inline","3925962sdhZZh","none","167932EeIiwS","8xfVJzm","4qSMMod","5697270txeQRp","https://docx-converter.cke-cs.com/v2/convert/docx-html","getToken","6nvpkuG","11637227zDonaL","CloudServices","plugins","define","647320jWAWSQ","get","tokenUrl","config","commands","isOfficialPlugin","isPremiumPlugin","editor","cloudServices","ImportWordEditing","token","registerTokenUrl","pluginName","7363815KTblgP","importWord","init","requires"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=293]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(863248===parseInt(r(296))/1*(-parseInt(r(302))/2)+parseInt(r(294))/3+-parseInt(r(298))/4*(parseInt(r(320))/5)+-parseInt(r(299))/6+parseInt(r(303))/7*(parseInt(r(297))/8)+parseInt(r(325))/9+parseInt(r(307))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(319)](){return g(316)}static get[g(312)](){return!0}static get[g(313)](){return!0}static get[g(323)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(304)]}constructor(t){const r=g;super(t),this[r(324)]=null}async[g(322)](){const t=g,r=this[t(314)];r[t(310)][t(306)](t(321),{converterUrl:t(300),tokenUrl:(r[t(310)][t(308)](t(315))||{})[t(309)],formatting:{resets:t(295),defaults:t(295),styles:t(293)}}),r[t(311)][t(326)](t(321),new m(r));const{tokenUrl:e}=r[t(310)][t(308)](t(321));if(e){const{tokenUrl:n}=r[t(310)][t(308)](t(315))||{};this[t(324)]=e===n?r[t(305)][t(308)](t(304))[t(317)]:await r[t(305)][t(308)](t(304))[t(318)](e)}}[g(301)](){return this[g(324)]}}var b=W;!function(t){for(var r=W,e=t();;)try{if(919541===parseInt(r(291))/1*(-parseInt(r(298))/2)+-parseInt(r(300))/3*(-parseInt(r(301))/4)+parseInt(r(293))/5+-parseInt(r(296))/6*(parseInt(r(294))/7)+parseInt(r(304))/8+parseInt(r(292))/9+parseInt(r(290))/10*(-parseInt(r(302))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P);class y extends t.Plugin{static get[b(303)](){return b(299)}static get[b(295)](){return!0}static get[b(289)](){return!0}static get[b(297)](){return[w,c]}}function W(t,r){var e=P();return(W=function(t,r){return e[t-=289]})(t,r)}function P(){var t=["7mYmgah","isOfficialPlugin","4065366UkmXUj","requires","1930nHdTRZ","ImportWord","3zUypdE","3204896RGWoea","11DDReQy","pluginName","13542984gndYhf","isPremiumPlugin","22388310TDiXRC","1794PhODni","12949695prJyCu","8170955AwjPfc"];return(P=function(){return t})()}function k(t,r){var e=x();return(k=function(t,r){return e[t-=319]})(t,r)}function x(){var t=["3879560abjiPz","11958525zwOpZN","2272960TSfJHi","7DLvHDz","2ILeFXx","12ZtRvXe","2555229prMyjw","4348854yZGhbw","1197260cOskyi","59059540VWkObQ"];return(x=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(924586===-parseInt(r(322))/1+-parseInt(r(328))/2*(parseInt(r(320))/3)+parseInt(r(319))/4*(-parseInt(r(326))/5)+-parseInt(r(321))/6+-parseInt(r(327))/7*(-parseInt(r(324))/8)+-parseInt(r(325))/9+parseInt(r(323))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x)})(),(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 _0x3dab3c,Command as _0x951383}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x87c727,MenuBarMenuListItemFileDialogButtonView as _0x3911c3,SpinnerView as _0x546d8a,Notification as _0x13a249}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x4262e6}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x788f8d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0xbe8aa2,uid as _0x46d9c4,logWarning as _0x2768ab,logError as _0x582e51}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0xacd991,_0x3f93a1){const t=_0xacd991['t'];switch(_0x3f93a1){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 _0x3f93a1;}}class i extends _0x3dab3c{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x205f48=this['editor'];_0x205f48['ui']['componentFactory']['add']('importWord',()=>{const _0x36d4b3=this['_createButton'](_0x87c727),_0x27e6a6=_0x205f48['commands']['get']('importWord');return _0x36d4b3['bind']('isOn')['to'](_0x27e6a6,'isBusy'),_0x36d4b3['tooltip']=!0x0,_0x36d4b3;}),_0x205f48['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x3911c3));}['_createButton'](_0x7e687b){const _0x45938b=this['editor'],_0x198944=_0x45938b['commands']['get']('importWord'),_0x2c5ab0=new _0x7e687b(_0x45938b['locale']),_0x350e92=new _0x546d8a();return _0x2c5ab0['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x2c5ab0['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'}),_0x2c5ab0['bind']('isEnabled')['to'](_0x198944),_0x2c5ab0['bind']('label')['to'](_0x198944,'isBusy',_0x1a70ac=>p(_0x45938b['locale'],_0x1a70ac?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x350e92['bind']('isVisible')['to'](_0x198944,'isBusy'),_0x2c5ab0['iconView']['bind']('isVisible')['to'](_0x198944,'isBusy',_0x3770f1=>!_0x3770f1),_0x2c5ab0['children']['add'](_0x350e92),_0x2c5ab0['on']('done',(_0x178e95,_0x1547c0)=>{_0x45938b['execute']('importWord',_0x1547c0[0x0],{}),_0x45938b['editing']['view']['focus']();}),_0x2c5ab0;}}class d extends _0x951383{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x14dd8e){super(_0x14dd8e),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x5782e9,_0x130d16)=>{const _0x2e831a=new DataTransfer();_0x2e831a['setData']('text/html',_0x130d16['html']);const _0x1d3353=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x5e39cd=>{this['_importMarker']['stopListening'](),_0x5e39cd['setSelection'](_0x1d3353),_0x14dd8e['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x2e831a});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1c9c66,_0x2bdda8={}){if(this['isBusy'])return Promise['resolve']();const _0x4f42cf=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x40d6b0,suffix:_0x4c193f}=this['editor']['config']['get']('mergeFields');_0x2bdda8['merge_fields']={'prefix':_0x40d6b0,'suffix':_0x4c193f};}const _0x536d0a={'url':_0x4f42cf['converterUrl'],'file':_0x1c9c66,'serviceConfig':{..._0x2bdda8,'formatting':_0x4f42cf['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x536d0a)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x556e3d=this['editor']['model'],_0xc5c9a3=_0x556e3d['schema'],_0x585cb2=_0x556e3d['document']['selection'],_0x4e4b82=_0xbe8aa2(_0x585cb2['getSelectedBlocks']());return!!_0x4e4b82&&_0xc5c9a3['checkChild'](_0x4e4b82['parent'],'paragraph');}['_prepareForImport'](){const _0x2d82be=this['editor'],_0x2fbaee=_0x2d82be['model'],_0x21e03c=_0x2fbaee['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x2d82be['model']['createBatch']({'isUndoable':!0x0}),_0x2fbaee['enqueueChange'](this['_undoStepBatch'],_0x3cb959=>{_0x21e03c['isCollapsed']||_0x2fbaee['deleteContent'](_0x21e03c,{'leaveUnmerged':!0x0});const _0x193a7c=_0x21e03c['getFirstPosition'](),_0x1e2bc9=_0xbe8aa2(_0x21e03c['getSelectedBlocks']());let _0x42c396;_0x42c396=_0x1e2bc9['is']('element','paragraph')&&_0x1e2bc9['isEmpty']?_0x193a7c:_0x193a7c['isAtStart']?_0x2fbaee['createPositionBefore'](_0x1e2bc9):_0x193a7c['isAtEnd']?_0x2fbaee['createPositionAfter'](_0x1e2bc9):_0x3cb959['split'](_0x193a7c)['position'],this['_importMarker']=_0x3cb959['addMarker']('importWord:'+_0x46d9c4(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x788f8d(_0x42c396)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x54f302=this['editor']['model'];_0x54f302['markers']['has'](this['_importMarker'])&&_0x54f302['enqueueChange'](this['_undoStepBatch'],_0x57f4af=>{_0x57f4af['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x35e4ff,file:_0x58bf20,serviceConfig:_0xdea724}){const _0x3d8170=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x12bebd=new FormData();_0x12bebd['set']('config',JSON['stringify'](_0xdea724)),_0x12bebd['set']('file',_0x58bf20);const _0x5ccc60={'method':'POST','headers':{},'body':_0x12bebd,'signal':this['_abortController']['signal']};return _0x3d8170&&(_0x5ccc60['headers']['Authorization']=_0x3d8170['value']),fetch(_0x35e4ff,_0x5ccc60);}['_handleImportResponse'](_0xabf334){return _0xabf334['ok']?_0xabf334['json']()['then'](_0x51e421=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x51e421);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2768ab('import-word-plugin-import-cancelled');const _0x2768aa=this['editor'],_0x15aafe=p(_0x2768aa['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x2768aa['plugins']['get']('Notification')['showWarning'](_0x15aafe),_0x582e51('import-word-plugin-conversion-failed');}}class e extends _0x3dab3c{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x13a249,_0x4262e6,'CloudServices'];}constructor(_0x2e55f7){super(_0x2e55f7),this['_token']=null;}async['init'](){const _0x2d0d94=this['editor'];_0x2d0d94['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x2d0d94['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x2d0d94['commands']['add']('importWord',new d(_0x2d0d94));const {tokenUrl:_0x5b1859}=_0x2d0d94['config']['get']('importWord');if(_0x5b1859){const {tokenUrl:_0x5af2f4}=_0x2d0d94['config']['get']('cloudServices')||{};this['_token']=_0x5b1859===_0x5af2f4?_0x2d0d94['plugins']['get']('CloudServices')['token']:await _0x2d0d94['plugins']['get']('CloudServices')['registerTokenUrl'](_0x5b1859);}}['getToken'](){return this['_token'];}}class o extends _0x3dab3c{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':_0x4e1b57=>0x1!=_0x4e1b57}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xac5434=>{const {af:{dictionary:_0x16a58b,getPluralForm:_0x4c165f}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2c3caf=>0x1!=_0x2c3caf}};_0xac5434['af']||={'dictionary':{},'getPluralForm':null},_0xac5434['af']['dictionary']=Object['assign'](_0xac5434['af']['dictionary'],_0x16a58b),_0xac5434['af']['getPluralForm']=_0x4c165f;})(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':_0x403998=>0x0==_0x403998?0x0:0x1==_0x403998?0x1:0x2==_0x403998?0x2:_0x403998%0x64>=0x3&&_0x403998%0x64<=0xa?0x3:_0x403998%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f998c=>{const {ar:{dictionary:_0x11a469,getPluralForm:_0xf9f536}}={'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':_0x406da3=>0x0==_0x406da3?0x0:0x1==_0x406da3?0x1:0x2==_0x406da3?0x2:_0x406da3%0x64>=0x3&&_0x406da3%0x64<=0xa?0x3:_0x406da3%0x64>=0xb?0x4:0x5}};_0x3f998c['ar']||={'dictionary':{},'getPluralForm':null},_0x3f998c['ar']['dictionary']=Object['assign'](_0x3f998c['ar']['dictionary'],_0x11a469),_0x3f998c['ar']['getPluralForm']=_0xf9f536;})(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':_0x2de618=>0x1!=_0x2de618}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x91bc56=>{const {ast:{dictionary:_0xdbdc97,getPluralForm:_0x2a77c5}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2a89ef=>0x1!=_0x2a89ef}};_0x91bc56['ast']||={'dictionary':{},'getPluralForm':null},_0x91bc56['ast']['dictionary']=Object['assign'](_0x91bc56['ast']['dictionary'],_0xdbdc97),_0x91bc56['ast']['getPluralForm']=_0x2a77c5;})(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':_0x210dff=>0x1!=_0x210dff}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x454178=>{const {az:{dictionary:_0x359a72,getPluralForm:_0x92d11f}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4244c4=>0x1!=_0x4244c4}};_0x454178['az']||={'dictionary':{},'getPluralForm':null},_0x454178['az']['dictionary']=Object['assign'](_0x454178['az']['dictionary'],_0x359a72),_0x454178['az']['getPluralForm']=_0x92d11f;})(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':_0x2bf9d9=>0x1!=_0x2bf9d9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36b9b2=>{const {bg:{dictionary:_0xa3717c,getPluralForm:_0x5c5a87}}={'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':_0x4049f3=>0x1!=_0x4049f3}};_0x36b9b2['bg']||={'dictionary':{},'getPluralForm':null},_0x36b9b2['bg']['dictionary']=Object['assign'](_0x36b9b2['bg']['dictionary'],_0xa3717c),_0x36b9b2['bg']['getPluralForm']=_0x5c5a87;})(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':_0x43faad=>0x1!=_0x43faad}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f512c=>{const {bn:{dictionary:_0x533359,getPluralForm:_0x56c008}}={'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':_0x4177f0=>0x1!=_0x4177f0}};_0x1f512c['bn']||={'dictionary':{},'getPluralForm':null},_0x1f512c['bn']['dictionary']=Object['assign'](_0x1f512c['bn']['dictionary'],_0x533359),_0x1f512c['bn']['getPluralForm']=_0x56c008;})(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':_0x41fbd6=>_0x41fbd6%0xa==0x1&&_0x41fbd6%0x64!=0xb?0x0:_0x41fbd6%0xa>=0x2&&_0x41fbd6%0xa<=0x4&&(_0x41fbd6%0x64<0xa||_0x41fbd6%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d1f29=>{const {bs:{dictionary:_0x357685,getPluralForm:_0x5a61b3}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x20871d=>_0x20871d%0xa==0x1&&_0x20871d%0x64!=0xb?0x0:_0x20871d%0xa>=0x2&&_0x20871d%0xa<=0x4&&(_0x20871d%0x64<0xa||_0x20871d%0x64>=0x14)?0x1:0x2}};_0x3d1f29['bs']||={'dictionary':{},'getPluralForm':null},_0x3d1f29['bs']['dictionary']=Object['assign'](_0x3d1f29['bs']['dictionary'],_0x357685),_0x3d1f29['bs']['getPluralForm']=_0x5a61b3;})(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':_0x12d09=>0x1!=_0x12d09}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f8a7f=>{const {ca:{dictionary:_0xed5155,getPluralForm:_0x5a55f8}}={'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':_0x23dc61=>0x1!=_0x23dc61}};_0x4f8a7f['ca']||={'dictionary':{},'getPluralForm':null},_0x4f8a7f['ca']['dictionary']=Object['assign'](_0x4f8a7f['ca']['dictionary'],_0xed5155),_0x4f8a7f['ca']['getPluralForm']=_0x5a55f8;})(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':_0x22289e=>0x1==_0x22289e?0x0:_0x22289e>=0x2&&_0x22289e<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f5273=>{const {cs:{dictionary:_0x90f886,getPluralForm:_0x48a271}}={'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':_0x4da7f5=>0x1==_0x4da7f5?0x0:_0x4da7f5>=0x2&&_0x4da7f5<=0x4?0x1:0x2}};_0x4f5273['cs']||={'dictionary':{},'getPluralForm':null},_0x4f5273['cs']['dictionary']=Object['assign'](_0x4f5273['cs']['dictionary'],_0x90f886),_0x4f5273['cs']['getPluralForm']=_0x48a271;})(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':_0x5e84f6=>0x1!=_0x5e84f6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f2259=>{const {da:{dictionary:_0x53240d,getPluralForm:_0x32ca65}}={'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':_0x1bf9e4=>0x1!=_0x1bf9e4}};_0x1f2259['da']||={'dictionary':{},'getPluralForm':null},_0x1f2259['da']['dictionary']=Object['assign'](_0x1f2259['da']['dictionary'],_0x53240d),_0x1f2259['da']['getPluralForm']=_0x32ca65;})(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':_0x43838c=>0x1!=_0x43838c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36bd6a=>{const {'de-ch':{dictionary:_0x230a65,getPluralForm:_0x39ae5c}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x58eea1=>0x1!=_0x58eea1}};_0x36bd6a['de-ch']||={'dictionary':{},'getPluralForm':null},_0x36bd6a['de-ch']['dictionary']=Object['assign'](_0x36bd6a['de-ch']['dictionary'],_0x230a65),_0x36bd6a['de-ch']['getPluralForm']=_0x39ae5c;})(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':_0x50b00f=>0x1!=_0x50b00f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3aeda6=>{const {de:{dictionary:_0x1630ba,getPluralForm:_0x5a28d7}}={'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':_0x414c4d=>0x1!=_0x414c4d}};_0x3aeda6['de']||={'dictionary':{},'getPluralForm':null},_0x3aeda6['de']['dictionary']=Object['assign'](_0x3aeda6['de']['dictionary'],_0x1630ba),_0x3aeda6['de']['getPluralForm']=_0x5a28d7;})(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':_0x62ed11=>0x1!=_0x62ed11}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1643d2=>{const {el:{dictionary:_0x43a65f,getPluralForm:_0x2e2b88}}={'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':_0x45b086=>0x1!=_0x45b086}};_0x1643d2['el']||={'dictionary':{},'getPluralForm':null},_0x1643d2['el']['dictionary']=Object['assign'](_0x1643d2['el']['dictionary'],_0x43a65f),_0x1643d2['el']['getPluralForm']=_0x2e2b88;})(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':_0x5db39a=>0x1!=_0x5db39a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51144c=>{const {'en-au':{dictionary:_0x1ddbd6,getPluralForm:_0x161993}}={'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':_0x23a280=>0x1!=_0x23a280}};_0x51144c['en-au']||={'dictionary':{},'getPluralForm':null},_0x51144c['en-au']['dictionary']=Object['assign'](_0x51144c['en-au']['dictionary'],_0x1ddbd6),_0x51144c['en-au']['getPluralForm']=_0x161993;})(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':_0x31eaaf=>0x1!=_0x31eaaf}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x368c7e=>{const {'en-gb':{dictionary:_0x531e19,getPluralForm:_0x18f6f6}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4d534a=>0x1!=_0x4d534a}};_0x368c7e['en-gb']||={'dictionary':{},'getPluralForm':null},_0x368c7e['en-gb']['dictionary']=Object['assign'](_0x368c7e['en-gb']['dictionary'],_0x531e19),_0x368c7e['en-gb']['getPluralForm']=_0x18f6f6;})(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':_0x41717e=>0x1!=_0x41717e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1148a2=>{const {en:{dictionary:_0x222f7e,getPluralForm:_0x3ef6d8}}={'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':_0x5e0b90=>0x1!=_0x5e0b90}};_0x1148a2['en']||={'dictionary':{},'getPluralForm':null},_0x1148a2['en']['dictionary']=Object['assign'](_0x1148a2['en']['dictionary'],_0x222f7e),_0x1148a2['en']['getPluralForm']=_0x3ef6d8;})(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':_0x43f493=>0x1!=_0x43f493}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c52a6=>{const {eo:{dictionary:_0x228b76,getPluralForm:_0x40934d}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xe36116=>0x1!=_0xe36116}};_0x2c52a6['eo']||={'dictionary':{},'getPluralForm':null},_0x2c52a6['eo']['dictionary']=Object['assign'](_0x2c52a6['eo']['dictionary'],_0x228b76),_0x2c52a6['eo']['getPluralForm']=_0x40934d;})(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':_0x129548=>0x1!=_0x129548}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27ec8f=>{const {'es-co':{dictionary:_0x375db2,getPluralForm:_0x4e7d46}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x240ccb=>0x1!=_0x240ccb}};_0x27ec8f['es-co']||={'dictionary':{},'getPluralForm':null},_0x27ec8f['es-co']['dictionary']=Object['assign'](_0x27ec8f['es-co']['dictionary'],_0x375db2),_0x27ec8f['es-co']['getPluralForm']=_0x4e7d46;})(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':_0x8645f8=>0x1!=_0x8645f8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe258e1=>{const {es:{dictionary:_0xda67e6,getPluralForm:_0x212c3d}}={'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':_0x504372=>0x1!=_0x504372}};_0xe258e1['es']||={'dictionary':{},'getPluralForm':null},_0xe258e1['es']['dictionary']=Object['assign'](_0xe258e1['es']['dictionary'],_0xda67e6),_0xe258e1['es']['getPluralForm']=_0x212c3d;})(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':_0x16612e=>0x1!=_0x16612e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5aa274=>{const {et:{dictionary:_0x4e69ef,getPluralForm:_0x3b2481}}={'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':_0x2ba892=>0x1!=_0x2ba892}};_0x5aa274['et']||={'dictionary':{},'getPluralForm':null},_0x5aa274['et']['dictionary']=Object['assign'](_0x5aa274['et']['dictionary'],_0x4e69ef),_0x5aa274['et']['getPluralForm']=_0x3b2481;})(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':_0x335ad5=>0x1!=_0x335ad5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x497784=>{const {eu:{dictionary:_0x5202bc,getPluralForm:_0x44a09b}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x427680=>0x1!=_0x427680}};_0x497784['eu']||={'dictionary':{},'getPluralForm':null},_0x497784['eu']['dictionary']=Object['assign'](_0x497784['eu']['dictionary'],_0x5202bc),_0x497784['eu']['getPluralForm']=_0x44a09b;})(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':_0xc57a36=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2076c9=>{const {fa:{dictionary:_0x47471d,getPluralForm:_0x349ffa}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1f9426=>0x0}};_0x2076c9['fa']||={'dictionary':{},'getPluralForm':null},_0x2076c9['fa']['dictionary']=Object['assign'](_0x2076c9['fa']['dictionary'],_0x47471d),_0x2076c9['fa']['getPluralForm']=_0x349ffa;})(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':_0x332e09=>0x1!=_0x332e09}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5025f8=>{const {fi:{dictionary:_0x14a684,getPluralForm:_0x3fa99d}}={'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':_0x493cf5=>0x1!=_0x493cf5}};_0x5025f8['fi']||={'dictionary':{},'getPluralForm':null},_0x5025f8['fi']['dictionary']=Object['assign'](_0x5025f8['fi']['dictionary'],_0x14a684),_0x5025f8['fi']['getPluralForm']=_0x3fa99d;})(window['CKEDITOR_TRANSLATIONS']||={});
|