@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250214.0 → 0.0.0-nightly-20250215.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 +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={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")}},r={};function e(n){var 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:()=>y,ImportWordEditing:()=>v,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(){const t=["init","editor","isOfficialPlugin","isPremiumPlugin","338157QRJGED","done","importWord","set","iconView","isOn","commands","focus","64GSJuxY","componentFactory","Import from Word","pluginName","label","6JGwcdK","2YwsNqM","get","add","view","bind","Importing Word document","4zbOzOa","tooltip","children","_createButton","locale","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","ImportWordUI","265892gJXjKp","2386060KZmdEs","646902NEtaQK","menuBar:importWord","946SdzEoK","editing","isBusy","isVisible","731945hTukPv","isEnabled","execute","1477427ZBOcnp","30204bnjUQt"];return(i=function(){return t})()}const s=a;function a(t,r){const e=i();return(a=function(t,r){return e[t-=247]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(154364===-parseInt(r(271))/1*(parseInt(r(284))/2)+-parseInt(r(286))/3*(parseInt(r(277))/4)+parseInt(r(248))/5*(parseInt(r(270))/6)+parseInt(r(251))/7+-parseInt(r(265))/8*(-parseInt(r(257))/9)+-parseInt(r(285))/10+parseInt(r(288))/11*(parseInt(r(252))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(i);class c extends t.Plugin{static get[s(268)](){return s(283)}static get[s(255)](){return!0}static get[s(256)](){return!0}[s(253)](){const t=s,e=this[t(254)];e.ui[t(266)][t(273)](t(259),(()=>{const n=t,o=this[n(280)](r.FileDialogButtonView),i=e[n(263)][n(272)](n(259));return o[n(275)](n(262)).to(i,n(290)),o[n(278)]=!0,o})),e.ui[t(266)][t(273)](t(287),(()=>this[t(280)](r.MenuBarMenuListItemFileDialogButtonView)))}[s(280)](t){const e=s,n=this[e(254)],i=n[e(263)][e(272)](e(259)),a=new t(n[e(281)]),c=new r.SpinnerView;return a[e(260)]({acceptedType:e(282)}),a[e(260)]({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(275)](e(249)).to(i),a[e(275)](e(269)).to(i,e(290),(t=>o(n[e(281)],e(t?276:267)))),c[e(275)](e(247)).to(i,e(290)),a[e(261)][e(275)](e(247)).to(i,e(290),(t=>!t)),a[e(279)][e(273)](c),a.on(e(258),((t,r)=>{const o=e;n[o(250)](o(259),r[0],{}),n[o(289)][o(274)][o(264)]()})),a}}var p=e(331),u=e(783),l=e(584);const d=f;function h(){const t=["enqueueChange","setData","isEnabled","_handleImportFailure","split","rootName","1357572pxqkiR","POST","isCollapsed","2192365XbqvbT","Notification","low","32PXktUI","createBatch","text/html","1078776cLfcQZ","element","refresh","root","importWord","getToken","finally","isBusy","_importMarker","json","_abortController","timeZone","34430lfnLMd","get","151651vdnFYb","439225OApwAc","isEmpty","getRange","view","setSelection","checkChild","has","createPositionAfter","locale","stopListening","An error occurred while importing the Word file.","resolvedOptions","bind","_cleanUpAfterImport","execute","formatting","headers","aborted","set","2CWQwDN","file","signal","catch","importWord:","change:range","deleteContent","showWarning","MergeFields","then","removeMarker","stringify","$graveyard","fire","_prepareForImport","_undoStepBatch","reject","resolve","clipboardInput","_handleImportResponse","_checkEnabled","import-word-plugin-conversion-failed","getFirstPosition","265272kRNWkg","paragraph","plugins","isAtStart","config","converterUrl","DateTimeFormat","ImportWordEditing","document","parent","4LcCnBk","editing","position","selection","schema","html","import-word-plugin-import-cancelled","getSelectedBlocks","abort","value","createPositionBefore","dataInsert","isAtEnd","mergeFields","1177VdLCrJ","markers","addMarker","editor","model","Authorization","merge_fields","_sendImportRequest"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=119]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(277422===parseInt(r(152))/1*(parseInt(r(172))/2)+parseInt(r(129))/3*(-parseInt(r(205))/4)+parseInt(r(153))/5+-parseInt(r(195))/6+-parseInt(r(132))/7+-parseInt(r(135))/8*(-parseInt(r(138))/9)+-parseInt(r(150))/10*(-parseInt(r(219))/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(171)](r(145),!1),this[r(146)]=null,this[r(187)]=null,this[r(148)]=null,this.on(r(216),((e,n)=>{const o=r,i=new DataTransfer;i[o(124)](o(137),n[o(210)]);const s=this[o(146)][o(155)]();this[o(222)][o(119)][o(123)](this[o(187)],(r=>{const e=o;this[e(146)][e(162)](),r[e(157)](s),t[e(206)][e(156)][e(203)][e(185)](e(190),{dataTransfer:i})}))}),{priority:r(134)})}[d(140)](){const t=d;this[t(125)]=this[t(192)]()}[d(167)](t,r={}){const e=d;if(this[e(145)])return Promise[e(189)]();const n=this[e(222)][e(199)][e(151)](e(142));if(this[e(222)][e(197)][e(159)](e(180))){const{prefix:t,suffix:n}=this[e(222)][e(199)][e(151)](e(218));r[e(121)]={prefix:t,suffix:n}}const o={url:n[e(200)],file:t,serviceConfig:{...r,formatting:n[e(168)],timezone:(new(Intl[e(201)]))[e(164)]()[e(149)]}};return this[e(186)](),this[e(122)](o)[e(181)](this[e(191)][e(165)](this))[e(175)](this[e(126)][e(165)](this))[e(144)](this[e(166)][e(165)](this))}[d(192)](){const t=d;if(this[t(145)])return!1;const r=this[t(222)][t(119)],e=r[t(209)],n=r[t(203)][t(208)],o=(0,l.first)(n[t(212)]());return!!o&&e[t(158)](o[t(204)],t(196))}[d(186)](){const t=d,r=this[t(222)],e=r[t(119)],n=e[t(203)][t(208)];this[t(148)]=new AbortController,this[t(187)]=r[t(119)][t(136)]({isUndoable:!0}),e[t(123)](this[t(187)],(r=>{const o=t;n[o(131)]||e[o(178)](n,{leaveUnmerged:!0});const i=n[o(194)](),s=(0,l.first)(n[o(212)]());let a;a=s.is(o(139),o(196))&&s[o(154)]?i:i[o(198)]?e[o(215)](s):i[o(217)]?e[o(160)](s):r[o(127)](i)[o(207)],this[o(146)]=r[o(221)](o(176)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[o(146)].on(o(177),(()=>{const t=o;t(184)===this[t(146)][t(155)]()[t(141)][t(128)]&&this[t(148)][t(213)]()}))})),this[t(145)]=!0,this[t(140)]()}[d(166)](){const t=d,r=this[t(222)][t(119)];r[t(220)][t(159)](this[t(146)])&&r[t(123)](this[t(187)],(r=>{const e=t;r[e(182)](this[e(146)])})),this[t(146)]=null,this[t(187)]=null,this[t(148)]=null,this[t(145)]=!1,this[t(140)]()}[d(122)]({url:t,file:r,serviceConfig:e}){const n=d,o=this[n(222)][n(197)][n(151)](n(202))[n(143)](),i=new FormData;i[n(171)](n(199),JSON[n(183)](e)),i[n(171)](n(173),r);const s={method:n(130),headers:{},body:i,signal:this[n(148)][n(174)]};return o&&(s[n(169)][n(120)]=o[n(214)]),fetch(t,s)}[d(191)](t){const r=d;return t.ok?t[r(147)]()[r(181)]((t=>{const e=r;this[e(222)][e(119)][e(220)][e(159)](this[e(146)])&&e(184)!==this[e(146)][e(155)]()[e(141)][e(128)]&&this[e(185)](e(216),t)})):Promise[r(188)]()}[d(126)](){const t=d;if(this[t(148)][t(174)][t(170)])return void(0,l.logWarning)(t(211));const r=this[t(222)],e=o(r[t(161)],t(163));r[t(197)][t(151)](t(133))[t(179)](e),(0,l.logError)(t(193))}}const g=I;function I(t,r){const e=w();return(I=function(t,r){return e[t-=280]})(t,r)}!function(t){const r=I,e=t();for(;;)try{if(572965===parseInt(r(290))/1+parseInt(r(284))/2*(parseInt(r(281))/3)+-parseInt(r(285))/4*(-parseInt(r(298))/5)+-parseInt(r(295))/6*(-parseInt(r(308))/7)+-parseInt(r(283))/8+parseInt(r(294))/9*(-parseInt(r(307))/10)+parseInt(r(296))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class v extends t.Plugin{static get[g(282)](){return g(314)}static get[g(312)](){return!0}static get[g(299)](){return!0}static get[g(301)](){const t=g;return[r.Notification,p.ClipboardPipeline,t(280)]}constructor(t){const r=g;super(t),this[r(291)]=null}async[g(293)](){const t=g,r=this[t(311)];r[t(304)][t(286)](t(309),{converterUrl:t(313),tokenUrl:(r[t(304)][t(297)](t(305))||{})[t(302)],formatting:{resets:t(289),defaults:t(289),styles:t(306)}}),r[t(292)][t(300)](t(309),new m(r));const{tokenUrl:e}=r[t(304)][t(297)](t(309));if(e){const{tokenUrl:n}=r[t(304)][t(297)](t(305))||{};this[t(291)]=e===n?r[t(288)][t(297)](t(280))[t(303)]:await r[t(288)][t(297)](t(280))[t(310)](e)}}[g(287)](){return this[g(291)]}}function w(){const t=["define","getToken","plugins","none","319118fotrHU","_token","commands","init","7853373VkgzZP","6jOTfDI","11630421TsZCuE","get","5hpcEfl","isPremiumPlugin","add","requires","tokenUrl","token","config","cloudServices","inline","10bgropp","4277497mlRWHF","importWord","registerTokenUrl","editor","isOfficialPlugin","https://docx-converter.cke-cs.com/v2/convert/docx-html","ImportWordEditing","CloudServices","1317TuNyJS","pluginName","7515784JzeSVt","634vADGpX","1033488miCelm"];return(w=function(){return t})()}var b=W;function W(t,r){var e=P();return(W=function(t,r){return e[t-=171]})(t,r)}!function(t){for(var r=W,e=t();;)try{if(880242===parseInt(r(171))/1+parseInt(r(183))/2*(parseInt(r(184))/3)+parseInt(r(176))/4*(-parseInt(r(174))/5)+parseInt(r(173))/6*(parseInt(r(181))/7)+-parseInt(r(182))/8*(-parseInt(r(178))/9)+parseInt(r(186))/10+parseInt(r(180))/11*(-parseInt(r(175))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P);class y extends t.Plugin{static get[b(179)](){return b(177)}static get[b(172)](){return!0}static get[b(187)](){return!0}static get[b(185)](){return[v,c]}}function P(){var t=["isPremiumPlugin","1571638oPHevm","isOfficialPlugin","59718JHzTHH","535WnRMrd","12maoJLG","27044bxYdVe","ImportWord","9MrhwGd","pluginName","39676043YOlWLd","1008PlRrtA","6542904bZMvpC","2ThYwrM","1314021OmtPjM","requires","9498420dmTMER"];return(P=function(){return t})()}function k(t,r){var e=x();return(k=function(t,r){return e[t-=431]})(t,r)}function x(){var t=["1596595yVyylw","108928rlgych","22nsojez","57177jYZfmQ","4nITDQd","413634PPgadZ","2744352GcWHhJ","564032ombhbf","882605omDEjS"];return(x=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(154208===parseInt(r(439))/1+-parseInt(r(431))/2*(parseInt(r(432))/3)+-parseInt(r(433))/4*(-parseInt(r(437))/5)+-parseInt(r(434))/6+-parseInt(r(438))/7+parseInt(r(436))/8+parseInt(r(435))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>x,ImportWordEditing:()=>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-=182]})(t,r)}function a(){const t=["focus","isVisible","set","2xtubuU","editing","3248356mCpShH","children","label","8203743mmYdyh","_createButton","890760scwLOO","componentFactory","editor","2519409YEBCus","153191xslQCJ","commands","8SmPTJg","3004666zGVQSC","2172070uaciQg","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","bind","add","Importing Word document","locale","ImportWordUI","pluginName","get","isPremiumPlugin","isBusy","isEnabled","isOn","iconView","execute","view","done","isOfficialPlugin","init","tooltip","Import from Word","importWord","menuBar:importWord"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(433538===-parseInt(r(188))/1*(parseInt(r(218))/2)+parseInt(r(187))/3+parseInt(r(220))/4+-parseInt(r(192))/5+-parseInt(r(184))/6+parseInt(r(191))/7*(parseInt(r(190))/8)+-parseInt(r(182))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(199)](){return o(198)}static get[o(209)](){return!0}static get[o(201)](){return!0}[o(210)](){const t=o,e=this[t(186)];e.ui[t(185)][t(195)](t(213),(()=>{const n=t,i=this[n(183)](r.FileDialogButtonView),o=e[n(189)][n(200)](n(213));return i[n(194)](n(204)).to(o,n(202)),i[n(211)]=!0,i})),e.ui[t(185)][t(195)](t(214),(()=>this[t(183)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(183)](t){const e=o,n=this[e(186)],s=n[e(189)][e(200)](e(213)),a=new t(n[e(197)]),c=new r.SpinnerView;return a[e(217)]({acceptedType:e(193)}),a[e(217)]({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(194)](e(203)).to(s),a[e(194)](e(222)).to(s,e(202),(t=>i(n[e(197)],e(t?196:212)))),c[e(194)](e(216)).to(s,e(202)),a[e(205)][e(194)](e(216)).to(s,e(202),(t=>!t)),a[e(221)][e(195)](c),a.on(e(208),((t,r)=>{const i=e;n[i(206)](i(213),r[0],{}),n[i(219)][i(207)][i(215)]()})),a}}var u=e(331),p=e(783),l=e(584);const h=d;function d(t,r){const e=f();return(d=function(t,r){return e[t-=213]})(t,r)}function f(){const t=["isBusy","getRange","dataInsert","showWarning","deleteContent","element","6236972CCcDDe","merge_fields","editing","resolve","getToken","low","setData","_prepareForImport","get","_sendImportRequest","_handleImportResponse","view","isEmpty","_importMarker","catch","rootName","POST","config","resolvedOptions","_handleImportFailure","importWord:","converterUrl","json","markers","change:range","1121934dIhWVh","schema","checkChild","setSelection","editor","abort","refresh","isCollapsed","parent","split","$graveyard","MergeFields","removeMarker","7472iygNXX","value","isAtEnd","2760543WHLtfx","getSelectedBlocks","410NlgLgO","createBatch","headers","file","timeZone","getFirstPosition","DateTimeFormat","importWord","1119352kEyluo","createPositionBefore","has","import-word-plugin-conversion-failed","_cleanUpAfterImport","mergeFields","_abortController","isEnabled","signal","An error occurred while importing the Word file.","1075585UyyNjC","40RrTEod","document","isAtStart","bind","execute","Notification","plugins","_undoStepBatch","stopListening","Authorization","createPositionAfter","ImportWordEditing","html","_checkEnabled","selection","locale","model","clipboardInput","552390TasEDJ","formatting","addMarker","aborted","enqueueChange","text/html","finally","import-word-plugin-import-cancelled","set","stringify","then","root","reject","paragraph","position","fire"];return(f=function(){return t})()}!function(t){const r=d,e=t();for(;;)try{if(639053===-parseInt(r(310))/1+-parseInt(r(300))/2+-parseInt(r(227))/3+parseInt(r(287))/4*(-parseInt(r(292))/5)+parseInt(r(274))/6+parseInt(r(249))/7+-parseInt(r(311))/8*(-parseInt(r(290))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=d;super(t),this[r(235)](r(243),!1),this[r(262)]=null,this[r(216)]=null,this[r(306)]=null,this.on(r(245),((e,n)=>{const i=r,o=new DataTransfer;o[i(255)](i(232),n[i(221)]);const s=this[i(262)][i(244)]();this[i(278)][i(225)][i(231)](this[i(216)],(r=>{const e=i;this[e(262)][e(217)](),r[e(277)](s),t[e(251)][e(260)][e(312)][e(242)](e(226),{dataTransfer:o})}))}),{priority:r(254)})}[h(280)](){const t=h;this[t(307)]=this[t(222)]()}[h(213)](t,r={}){const e=h;if(this[e(243)])return Promise[e(252)]();const n=this[e(278)][e(266)][e(257)](e(299));if(this[e(278)][e(215)][e(302)](e(285))){const{prefix:t,suffix:n}=this[e(278)][e(266)][e(257)](e(305));r[e(250)]={prefix:t,suffix:n}}const i={url:n[e(270)],file:t,serviceConfig:{...r,formatting:n[e(228)],timezone:(new(Intl[e(298)]))[e(267)]()[e(296)]}};return this[e(256)](),this[e(258)](i)[e(237)](this[e(259)][e(314)](this))[e(263)](this[e(268)][e(314)](this))[e(233)](this[e(304)][e(314)](this))}[h(222)](){const t=h;if(this[t(243)])return!1;const r=this[t(278)][t(225)],e=r[t(275)],n=r[t(312)][t(223)],i=(0,l.first)(n[t(291)]());return!!i&&e[t(276)](i[t(282)],t(240))}[h(256)](){const t=h,r=this[t(278)],e=r[t(225)],n=e[t(312)][t(223)];this[t(306)]=new AbortController,this[t(216)]=r[t(225)][t(293)]({isUndoable:!0}),e[t(231)](this[t(216)],(r=>{const i=t;n[i(281)]||e[i(247)](n,{leaveUnmerged:!0});const o=n[i(297)](),s=(0,l.first)(n[i(291)]());let a;a=s.is(i(248),i(240))&&s[i(261)]?o:o[i(313)]?e[i(301)](s):o[i(289)]?e[i(219)](s):r[i(283)](o)[i(241)],this[i(262)]=r[i(229)](i(269)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(262)].on(i(273),(()=>{const t=i;t(284)===this[t(262)][t(244)]()[t(238)][t(264)]&&this[t(306)][t(279)]()}))})),this[t(243)]=!0,this[t(280)]()}[h(304)](){const t=h,r=this[t(278)][t(225)];r[t(272)][t(302)](this[t(262)])&&r[t(231)](this[t(216)],(r=>{const e=t;r[e(286)](this[e(262)])})),this[t(262)]=null,this[t(216)]=null,this[t(306)]=null,this[t(243)]=!1,this[t(280)]()}[h(258)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(278)][n(215)][n(257)](n(220))[n(253)](),o=new FormData;o[n(235)](n(266),JSON[n(236)](e)),o[n(235)](n(295),r);const s={method:n(265),headers:{},body:o,signal:this[n(306)][n(308)]};return i&&(s[n(294)][n(218)]=i[n(288)]),fetch(t,s)}[h(259)](t){const r=h;return t.ok?t[r(271)]()[r(237)]((t=>{const e=r;this[e(278)][e(225)][e(272)][e(302)](this[e(262)])&&e(284)!==this[e(262)][e(244)]()[e(238)][e(264)]&&this[e(242)](e(245),t)})):Promise[r(239)]()}[h(268)](){const t=h;if(this[t(306)][t(308)][t(230)])return void(0,l.logWarning)(t(234));const r=this[t(278)],e=i(r[t(224)],t(309));r[t(215)][t(257)](t(214))[t(246)](e),(0,l.logError)(t(303))}}const g=v;function I(){const t=["cloudServices","3808134XyQQxb","232619ialHlC","_token","inline","importWord","get","define","https://docx-converter.cke-cs.com/v2/convert/docx-html","token","registerTokenUrl","init","isPremiumPlugin","28820qZUsIO","pluginName","tokenUrl","ImportWordEditing","editor","4741807UYfoaZ","add","4oWqsJe","63464258Ydnlel","isOfficialPlugin","requires","plugins","commands","getToken","2418vJlYaG","2934DhQzcg","11980080TIJohf","none","2NGbjVR","CloudServices","config","4595WQOYnJ"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=475]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(782681===-parseInt(r(492))/1*(parseInt(r(486))/2)+parseInt(r(491))/3*(-parseInt(r(475))/4)+-parseInt(r(489))/5*(parseInt(r(482))/6)+-parseInt(r(508))/7+-parseInt(r(484))/8+-parseInt(r(483))/9*(parseInt(r(503))/10)+parseInt(r(476))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(504)](){return g(506)}static get[g(477)](){return!0}static get[g(502)](){return!0}static get[g(478)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(487)]}constructor(t){const r=g;super(t),this[r(493)]=null}async[g(501)](){const t=g,r=this[t(507)];r[t(488)][t(497)](t(495),{converterUrl:t(498),tokenUrl:(r[t(488)][t(496)](t(490))||{})[t(505)],formatting:{resets:t(485),defaults:t(485),styles:t(494)}}),r[t(480)][t(509)](t(495),new m(r));const{tokenUrl:e}=r[t(488)][t(496)](t(495));if(e){const{tokenUrl:n}=r[t(488)][t(496)](t(490))||{};this[t(493)]=e===n?r[t(479)][t(496)](t(487))[t(499)]:await r[t(479)][t(496)](t(487))[t(500)](e)}}[g(481)](){return this[g(493)]}}var b=y;function y(t,r){var e=W();return(y=function(t,r){return e[t-=303]})(t,r)}function W(){var t=["491673xJPRyX","145453NqrsKb","48FjWbFF","isPremiumPlugin","1643265qoyhyb","1UhJaKE","78895rNYRbG","requires","39832vmMVZB","isOfficialPlugin","432ZJRbvm","421518ayTyJt","12wHlQQF","20aosWng","40rfbLEX","1509400fhTtmc","pluginName","ImportWord","13426kSxHRa"];return(W=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(667187===-parseInt(r(320))/1*(parseInt(r(311))/2)+parseInt(r(307))/3*(-parseInt(r(309))/4)+-parseInt(r(321))/5*(parseInt(r(306))/6)+parseInt(r(315))/7*(-parseInt(r(317))/8)+parseInt(r(319))/9*(parseInt(r(310))/10)+-parseInt(r(316))/11*(-parseInt(r(308))/12)+parseInt(r(304))/13*(parseInt(r(314))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class x extends t.Plugin{static get[b(312)](){return b(313)}static get[b(305)](){return!0}static get[b(318)](){return!0}static get[b(303)](){return[w,c]}}function k(t,r){var e=P();return(k=function(t,r){return e[t-=443]})(t,r)}function P(){var t=["52848zVcflW","84978xDiCcr","670zUJLWd","2897725VNVxUH","84086jMbQxb","1643537vutOlY","6079152OVkzkI","12aUsTAP","9evvZjS","2820352LWJzwS"];return(P=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(491962===-parseInt(r(448))/1+-parseInt(r(445))/2*(-parseInt(r(452))/3)+parseInt(r(443))/4+parseInt(r(447))/5+-parseInt(r(451))/6*(parseInt(r(449))/7)+-parseInt(r(450))/8+-parseInt(r(444))/9*(-parseInt(r(446))/10))break;e.push(e.shift())}catch(t){e.push(e.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 _0x2277a4,Command as _0x37b855}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x67a3e7,MenuBarMenuListItemFileDialogButtonView as _0x34c5c8,SpinnerView as _0x3334fc,Notification as _0x1cadcc}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x3110d4}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x483214}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x1b991d,uid as _0x88074e,logWarning as _0x4afbb2,logError as _0x3f3ffb}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x3208eb,_0x16b973){const t=_0x3208eb['t'];switch(_0x16b973){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 _0x16b973;}}class i extends _0x2277a4{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2c2953=this['editor'];_0x2c2953['ui']['componentFactory']['add']('importWord',()=>{const _0x1884e3=this['_createButton'](_0x67a3e7),_0x1209e2=_0x2c2953['commands']['get']('importWord');return _0x1884e3['bind']('isOn')['to'](_0x1209e2,'isBusy'),_0x1884e3['tooltip']=!0x0,_0x1884e3;}),_0x2c2953['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x34c5c8));}['_createButton'](_0x1f01ce){const _0x52773c=this['editor'],_0x26574e=_0x52773c['commands']['get']('importWord'),_0x342b3d=new _0x1f01ce(_0x52773c['locale']),_0x497754=new _0x3334fc();return _0x342b3d['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x342b3d['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'}),_0x342b3d['bind']('isEnabled')['to'](_0x26574e),_0x342b3d['bind']('label')['to'](_0x26574e,'isBusy',_0x43f247=>p(_0x52773c['locale'],_0x43f247?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x497754['bind']('isVisible')['to'](_0x26574e,'isBusy'),_0x342b3d['iconView']['bind']('isVisible')['to'](_0x26574e,'isBusy',_0xc45fa5=>!_0xc45fa5),_0x342b3d['children']['add'](_0x497754),_0x342b3d['on']('done',(_0x5d0164,_0x5865cf)=>{_0x52773c['execute']('importWord',_0x5865cf[0x0],{}),_0x52773c['editing']['view']['focus']();}),_0x342b3d;}}class d extends _0x37b855{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x29f0ea){super(_0x29f0ea),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x5180a7,_0x5dca62)=>{const _0x24c37d=new DataTransfer();_0x24c37d['setData']('text/html',_0x5dca62['html']);const _0x132927=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x4d88ad=>{this['_importMarker']['stopListening'](),_0x4d88ad['setSelection'](_0x132927),_0x29f0ea['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x24c37d});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x56067c,_0x3b4b37={}){if(this['isBusy'])return Promise['resolve']();const _0x4a9fd5=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x422768,suffix:_0x39fe58}=this['editor']['config']['get']('mergeFields');_0x3b4b37['merge_fields']={'prefix':_0x422768,'suffix':_0x39fe58};}const _0x513599={'url':_0x4a9fd5['converterUrl'],'file':_0x56067c,'serviceConfig':{..._0x3b4b37,'formatting':_0x4a9fd5['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x513599)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x5ad44d=this['editor']['model'],_0x71417c=_0x5ad44d['schema'],_0x181b60=_0x5ad44d['document']['selection'],_0x256d6a=_0x1b991d(_0x181b60['getSelectedBlocks']());return!!_0x256d6a&&_0x71417c['checkChild'](_0x256d6a['parent'],'paragraph');}['_prepareForImport'](){const _0x5c2684=this['editor'],_0x460705=_0x5c2684['model'],_0xea50e8=_0x460705['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x5c2684['model']['createBatch']({'isUndoable':!0x0}),_0x460705['enqueueChange'](this['_undoStepBatch'],_0x53d619=>{_0xea50e8['isCollapsed']||_0x460705['deleteContent'](_0xea50e8,{'leaveUnmerged':!0x0});const _0x22bc35=_0xea50e8['getFirstPosition'](),_0x3845b8=_0x1b991d(_0xea50e8['getSelectedBlocks']());let _0x29790c;_0x29790c=_0x3845b8['is']('element','paragraph')&&_0x3845b8['isEmpty']?_0x22bc35:_0x22bc35['isAtStart']?_0x460705['createPositionBefore'](_0x3845b8):_0x22bc35['isAtEnd']?_0x460705['createPositionAfter'](_0x3845b8):_0x53d619['split'](_0x22bc35)['position'],this['_importMarker']=_0x53d619['addMarker']('importWord:'+_0x88074e(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x483214(_0x29790c)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x59ea33=this['editor']['model'];_0x59ea33['markers']['has'](this['_importMarker'])&&_0x59ea33['enqueueChange'](this['_undoStepBatch'],_0x4da320=>{_0x4da320['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x4c14e7,file:_0x50ac4b,serviceConfig:_0x228387}){const _0x248745=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x2c7dd9=new FormData();_0x2c7dd9['set']('config',JSON['stringify'](_0x228387)),_0x2c7dd9['set']('file',_0x50ac4b);const _0x4a9485={'method':'POST','headers':{},'body':_0x2c7dd9,'signal':this['_abortController']['signal']};return _0x248745&&(_0x4a9485['headers']['Authorization']=_0x248745['value']),fetch(_0x4c14e7,_0x4a9485);}['_handleImportResponse'](_0x34e335){return _0x34e335['ok']?_0x34e335['json']()['then'](_0xead16c=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0xead16c);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x4afbb2('import-word-plugin-import-cancelled');const _0x5b4445=this['editor'],_0x1fb904=p(_0x5b4445['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x5b4445['plugins']['get']('Notification')['showWarning'](_0x1fb904),_0x3f3ffb('import-word-plugin-conversion-failed');}}class e extends _0x2277a4{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1cadcc,_0x3110d4,'CloudServices'];}constructor(_0x40a8ca){super(_0x40a8ca),this['_token']=null;}async['init'](){const _0x498814=this['editor'];_0x498814['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x498814['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x498814['commands']['add']('importWord',new d(_0x498814));const {tokenUrl:_0x58c46a}=_0x498814['config']['get']('importWord');if(_0x58c46a){const {tokenUrl:_0x1b7767}=_0x498814['config']['get']('cloudServices')||{};this['_token']=_0x58c46a===_0x1b7767?_0x498814['plugins']['get']('CloudServices')['token']:await _0x498814['plugins']['get']('CloudServices')['registerTokenUrl'](_0x58c46a);}}['getToken'](){return this['_token'];}}class o extends _0x2277a4{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':_0x3c6189=>0x1!=_0x3c6189}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x7cf1af=>{const {af:{dictionary:_0x288d5d,getPluralForm:_0x405497}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3b1f56=>0x1!=_0x3b1f56}};_0x7cf1af['af']||={'dictionary':{},'getPluralForm':null},_0x7cf1af['af']['dictionary']=Object['assign'](_0x7cf1af['af']['dictionary'],_0x288d5d),_0x7cf1af['af']['getPluralForm']=_0x405497;})(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':_0x213aa0=>0x0==_0x213aa0?0x0:0x1==_0x213aa0?0x1:0x2==_0x213aa0?0x2:_0x213aa0%0x64>=0x3&&_0x213aa0%0x64<=0xa?0x3:_0x213aa0%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x349808=>{const {ar:{dictionary:_0x5b078c,getPluralForm:_0x372fc9}}={'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':_0x13c05e=>0x0==_0x13c05e?0x0:0x1==_0x13c05e?0x1:0x2==_0x13c05e?0x2:_0x13c05e%0x64>=0x3&&_0x13c05e%0x64<=0xa?0x3:_0x13c05e%0x64>=0xb?0x4:0x5}};_0x349808['ar']||={'dictionary':{},'getPluralForm':null},_0x349808['ar']['dictionary']=Object['assign'](_0x349808['ar']['dictionary'],_0x5b078c),_0x349808['ar']['getPluralForm']=_0x372fc9;})(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':_0x1dc21f=>0x1!=_0x1dc21f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x329bda=>{const {ast:{dictionary:_0x44e424,getPluralForm:_0x409335}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x49370e=>0x1!=_0x49370e}};_0x329bda['ast']||={'dictionary':{},'getPluralForm':null},_0x329bda['ast']['dictionary']=Object['assign'](_0x329bda['ast']['dictionary'],_0x44e424),_0x329bda['ast']['getPluralForm']=_0x409335;})(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':_0x190b7b=>0x1!=_0x190b7b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b8d31=>{const {az:{dictionary:_0x2cb2cc,getPluralForm:_0x1ef0f8}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x490ca3=>0x1!=_0x490ca3}};_0x2b8d31['az']||={'dictionary':{},'getPluralForm':null},_0x2b8d31['az']['dictionary']=Object['assign'](_0x2b8d31['az']['dictionary'],_0x2cb2cc),_0x2b8d31['az']['getPluralForm']=_0x1ef0f8;})(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':_0x39a5fa=>0x1!=_0x39a5fa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x378bef=>{const {bg:{dictionary:_0x47cdcb,getPluralForm:_0x47e36f}}={'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':_0x5583aa=>0x1!=_0x5583aa}};_0x378bef['bg']||={'dictionary':{},'getPluralForm':null},_0x378bef['bg']['dictionary']=Object['assign'](_0x378bef['bg']['dictionary'],_0x47cdcb),_0x378bef['bg']['getPluralForm']=_0x47e36f;})(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':_0x49e5ae=>0x1!=_0x49e5ae}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x474cb3=>{const {bn:{dictionary:_0x24ef47,getPluralForm:_0xaaf894}}={'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':_0x22ccea=>0x1!=_0x22ccea}};_0x474cb3['bn']||={'dictionary':{},'getPluralForm':null},_0x474cb3['bn']['dictionary']=Object['assign'](_0x474cb3['bn']['dictionary'],_0x24ef47),_0x474cb3['bn']['getPluralForm']=_0xaaf894;})(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':_0x31bb0e=>_0x31bb0e%0xa==0x1&&_0x31bb0e%0x64!=0xb?0x0:_0x31bb0e%0xa>=0x2&&_0x31bb0e%0xa<=0x4&&(_0x31bb0e%0x64<0xa||_0x31bb0e%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a86bd=>{const {bs:{dictionary:_0x2beb7b,getPluralForm:_0x4c03ed}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x318c4c=>_0x318c4c%0xa==0x1&&_0x318c4c%0x64!=0xb?0x0:_0x318c4c%0xa>=0x2&&_0x318c4c%0xa<=0x4&&(_0x318c4c%0x64<0xa||_0x318c4c%0x64>=0x14)?0x1:0x2}};_0x3a86bd['bs']||={'dictionary':{},'getPluralForm':null},_0x3a86bd['bs']['dictionary']=Object['assign'](_0x3a86bd['bs']['dictionary'],_0x2beb7b),_0x3a86bd['bs']['getPluralForm']=_0x4c03ed;})(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':_0x1aba54=>0x1!=_0x1aba54}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xde9489=>{const {ca:{dictionary:_0x4ed745,getPluralForm:_0x367a95}}={'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':_0x4a7093=>0x1!=_0x4a7093}};_0xde9489['ca']||={'dictionary':{},'getPluralForm':null},_0xde9489['ca']['dictionary']=Object['assign'](_0xde9489['ca']['dictionary'],_0x4ed745),_0xde9489['ca']['getPluralForm']=_0x367a95;})(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':_0x47eeed=>0x1==_0x47eeed?0x0:_0x47eeed>=0x2&&_0x47eeed<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ea986=>{const {cs:{dictionary:_0x4f8ac9,getPluralForm:_0x2b5186}}={'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':_0x5c9c37=>0x1==_0x5c9c37?0x0:_0x5c9c37>=0x2&&_0x5c9c37<=0x4?0x1:0x2}};_0x3ea986['cs']||={'dictionary':{},'getPluralForm':null},_0x3ea986['cs']['dictionary']=Object['assign'](_0x3ea986['cs']['dictionary'],_0x4f8ac9),_0x3ea986['cs']['getPluralForm']=_0x2b5186;})(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':_0x49f1aa=>0x1!=_0x49f1aa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5ab570=>{const {da:{dictionary:_0x319735,getPluralForm:_0x41dd40}}={'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':_0x2b9fc1=>0x1!=_0x2b9fc1}};_0x5ab570['da']||={'dictionary':{},'getPluralForm':null},_0x5ab570['da']['dictionary']=Object['assign'](_0x5ab570['da']['dictionary'],_0x319735),_0x5ab570['da']['getPluralForm']=_0x41dd40;})(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':_0x3ba185=>0x1!=_0x3ba185}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1559af=>{const {'de-ch':{dictionary:_0xf0a4fc,getPluralForm:_0x108294}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1ef4ea=>0x1!=_0x1ef4ea}};_0x1559af['de-ch']||={'dictionary':{},'getPluralForm':null},_0x1559af['de-ch']['dictionary']=Object['assign'](_0x1559af['de-ch']['dictionary'],_0xf0a4fc),_0x1559af['de-ch']['getPluralForm']=_0x108294;})(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':_0x2adac4=>0x1!=_0x2adac4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x254797=>{const {de:{dictionary:_0x516974,getPluralForm:_0x146469}}={'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':_0xe9da22=>0x1!=_0xe9da22}};_0x254797['de']||={'dictionary':{},'getPluralForm':null},_0x254797['de']['dictionary']=Object['assign'](_0x254797['de']['dictionary'],_0x516974),_0x254797['de']['getPluralForm']=_0x146469;})(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':_0x221c9f=>0x1!=_0x221c9f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59c3ad=>{const {el:{dictionary:_0xa245d2,getPluralForm:_0x4ecf68}}={'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':_0x6ebba3=>0x1!=_0x6ebba3}};_0x59c3ad['el']||={'dictionary':{},'getPluralForm':null},_0x59c3ad['el']['dictionary']=Object['assign'](_0x59c3ad['el']['dictionary'],_0xa245d2),_0x59c3ad['el']['getPluralForm']=_0x4ecf68;})(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':_0x35993a=>0x1!=_0x35993a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5ae0eb=>{const {'en-au':{dictionary:_0x5a3910,getPluralForm:_0xea0202}}={'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':_0x586dfd=>0x1!=_0x586dfd}};_0x5ae0eb['en-au']||={'dictionary':{},'getPluralForm':null},_0x5ae0eb['en-au']['dictionary']=Object['assign'](_0x5ae0eb['en-au']['dictionary'],_0x5a3910),_0x5ae0eb['en-au']['getPluralForm']=_0xea0202;})(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':_0x495249=>0x1!=_0x495249}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5d5fd3=>{const {'en-gb':{dictionary:_0xd49fe7,getPluralForm:_0x4e2978}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x536333=>0x1!=_0x536333}};_0x5d5fd3['en-gb']||={'dictionary':{},'getPluralForm':null},_0x5d5fd3['en-gb']['dictionary']=Object['assign'](_0x5d5fd3['en-gb']['dictionary'],_0xd49fe7),_0x5d5fd3['en-gb']['getPluralForm']=_0x4e2978;})(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':_0x365624=>0x1!=_0x365624}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38c499=>{const {en:{dictionary:_0x4d381d,getPluralForm:_0x26120e}}={'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':_0x170027=>0x1!=_0x170027}};_0x38c499['en']||={'dictionary':{},'getPluralForm':null},_0x38c499['en']['dictionary']=Object['assign'](_0x38c499['en']['dictionary'],_0x4d381d),_0x38c499['en']['getPluralForm']=_0x26120e;})(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':_0x242a50=>0x1!=_0x242a50}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4132ad=>{const {eo:{dictionary:_0x4352f0,getPluralForm:_0x56f38c}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x72fa5f=>0x1!=_0x72fa5f}};_0x4132ad['eo']||={'dictionary':{},'getPluralForm':null},_0x4132ad['eo']['dictionary']=Object['assign'](_0x4132ad['eo']['dictionary'],_0x4352f0),_0x4132ad['eo']['getPluralForm']=_0x56f38c;})(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':_0x5c74db=>0x1!=_0x5c74db}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x39fc4e=>{const {'es-co':{dictionary:_0x43321b,getPluralForm:_0xcfa77}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4898d3=>0x1!=_0x4898d3}};_0x39fc4e['es-co']||={'dictionary':{},'getPluralForm':null},_0x39fc4e['es-co']['dictionary']=Object['assign'](_0x39fc4e['es-co']['dictionary'],_0x43321b),_0x39fc4e['es-co']['getPluralForm']=_0xcfa77;})(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':_0x3715f9=>0x1!=_0x3715f9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d3478=>{const {es:{dictionary:_0x3096de,getPluralForm:_0x29cf1d}}={'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':_0x398794=>0x1!=_0x398794}};_0x1d3478['es']||={'dictionary':{},'getPluralForm':null},_0x1d3478['es']['dictionary']=Object['assign'](_0x1d3478['es']['dictionary'],_0x3096de),_0x1d3478['es']['getPluralForm']=_0x29cf1d;})(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':_0x47319b=>0x1!=_0x47319b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x464189=>{const {et:{dictionary:_0x52bc83,getPluralForm:_0x5a613e}}={'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':_0x4c2cff=>0x1!=_0x4c2cff}};_0x464189['et']||={'dictionary':{},'getPluralForm':null},_0x464189['et']['dictionary']=Object['assign'](_0x464189['et']['dictionary'],_0x52bc83),_0x464189['et']['getPluralForm']=_0x5a613e;})(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':_0x4832b6=>0x1!=_0x4832b6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x56633a=>{const {eu:{dictionary:_0x486877,getPluralForm:_0x1d2ad8}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1d1721=>0x1!=_0x1d1721}};_0x56633a['eu']||={'dictionary':{},'getPluralForm':null},_0x56633a['eu']['dictionary']=Object['assign'](_0x56633a['eu']['dictionary'],_0x486877),_0x56633a['eu']['getPluralForm']=_0x1d2ad8;})(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':_0x370142=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5b8254=>{const {fa:{dictionary:_0x2ca87b,getPluralForm:_0x914476}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3f4e12=>0x0}};_0x5b8254['fa']||={'dictionary':{},'getPluralForm':null},_0x5b8254['fa']['dictionary']=Object['assign'](_0x5b8254['fa']['dictionary'],_0x2ca87b),_0x5b8254['fa']['getPluralForm']=_0x914476;})(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':_0x4e9302=>0x1!=_0x4e9302}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x35d006=>{const {fi:{dictionary:_0x5c2b9c,getPluralForm:_0x235f06}}={'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':_0x720137=>0x1!=_0x720137}};_0x35d006['fi']||={'dictionary':{},'getPluralForm':null},_0x35d006['fi']['dictionary']=Object['assign'](_0x35d006['fi']['dictionary'],_0x5c2b9c),_0x35d006['fi']['getPluralForm']=_0x235f06;})(window['CKEDITOR_TRANSLATIONS']||={});
|