@ckeditor/ckeditor5-import-word 44.2.1 → 44.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +2 -2
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={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:()=>v,ImportWordUI:()=>a});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}}function o(t,r){const e=c();return(o=function(t,r){return e[t-=445]})(t,r)}const s=o;!function(t){const r=o,e=t();for(;;)try{if(233808===parseInt(r(485))/1*(-parseInt(r(482))/2)+-parseInt(r(465))/3*(-parseInt(r(489))/4)+parseInt(r(454))/5*(-parseInt(r(476))/6)+-parseInt(r(455))/7*(parseInt(r(462))/8)+-parseInt(r(461))/9*(-parseInt(r(480))/10)+parseInt(r(447))/11*(-parseInt(r(457))/12)+parseInt(r(466))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c);class a extends t.Plugin{static get[s(468)](){return s(481)}static get[s(445)](){return!0}static get[s(448)](){return!0}[s(451)](){const t=s,e=this[t(456)];e.ui[t(475)][t(452)](t(484),(()=>{const n=t,i=this[n(453)](r.FileDialogButtonView),o=e[n(467)][n(446)](n(484));return i[n(483)](n(463)).to(o,n(477)),i[n(479)]=!0,i})),e.ui[t(475)][t(452)](t(478),(()=>this[t(453)](r.MenuBarMenuListItemFileDialogButtonView)))}[s(453)](t){const e=s,n=this[e(456)],o=n[e(467)][e(446)](e(484)),a=new t(n[e(469)]),c=new r.SpinnerView;return a[e(449)]({acceptedType:e(450)}),a[e(449)]({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(483)](e(471)).to(o),a[e(483)](e(486)).to(o,e(477),(t=>i(n[e(469)],e(t?473:459)))),c[e(483)](e(470)).to(o,e(477)),a[e(460)][e(483)](e(470)).to(o,e(477),(t=>!t)),a[e(472)][e(452)](c),a.on(e(464),((t,r)=>{const i=e;n[i(487)](i(484),r[0],{}),n[i(488)][i(474)][i(458)]()})),a}}function c(){const t=["importWord","1074ywCmea","label","execute","editing","24uiiAAP","isOfficialPlugin","get","99xlirlL","isPremiumPlugin","set","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","init","add","_createButton","1894945EcAzrD","7rSlwUA","editor","46644wySdbC","focus","Import from Word","iconView","36ksJFRk","2696024JIJcCB","isOn","done","199761sMWNWX","9776091mHFxuC","commands","pluginName","locale","isVisible","isEnabled","children","Importing Word document","view","componentFactory","6lRoUpD","isBusy","menuBar:importWord","tooltip","713520osbvLJ","ImportWordUI","842aeWYUt","bind"];return(c=function(){return t})()}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-=204]})(t,r)}function f(){const t=["signal","1082008BDpFDc","bind","isEmpty","refresh","isAtEnd","_abortController","88652LDjHPu","createPositionBefore","MergeFields","setData","json","7mUFPjV","root","rootName","text/html","element","ImportWordEditing","editing","Authorization","timeZone","stringify","reject","fire","execute","import-word-plugin-import-cancelled","model","495315PBkprt","clipboardInput","checkChild","283619sJpkDN","importWord:","getSelectedBlocks","markers","split","setSelection","low","removeMarker","set","config","import-word-plugin-conversion-failed","then","get","An error occurred while importing the Word file.","deleteContent","stopListening","schema","_handleImportFailure","_importMarker","getFirstPosition","formatting","aborted","merge_fields","getRange","addMarker","DateTimeFormat","resolvedOptions","_handleImportResponse","2322128tmBRER","dataInsert","_prepareForImport","60wFUxjc","createPositionAfter","file","value","plugins","showWarning","POST","editor","isEnabled","14515CpZeRN","abort","_sendImportRequest","_checkEnabled","importWord","_undoStepBatch","getToken","selection","html","paragraph","isBusy","$graveyard","Notification","locale","mergeFields","isCollapsed","view","headers","3JzIuvB","isAtStart","document","resolve","enqueueChange","1950949tRacuK","has","converterUrl","finally","position","change:range","createBatch","366HnKmOz","parent","catch","_cleanUpAfterImport"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(204061===parseInt(r(287))/1+parseInt(r(264))/2+parseInt(r(241))/3*(parseInt(r(258))/4)+-parseInt(r(223))/5*(parseInt(r(253))/6)+-parseInt(r(269))/7*(-parseInt(r(211))/8)+parseInt(r(284))/9*(-parseInt(r(214))/10)+-parseInt(r(246))/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(295)](r(233),!1),this[r(305)]=null,this[r(228)]=null,this[r(263)]=null,this.on(r(212),((e,n)=>{const i=r,o=new DataTransfer;o[i(267)](i(272),n[i(231)]);const s=this[i(305)][i(206)]();this[i(221)][i(283)][i(245)](this[i(228)],(r=>{const e=i;this[e(305)][e(302)](),r[e(292)](s),t[e(275)][e(239)][e(243)][e(280)](e(285),{dataTransfer:o})}))}),{priority:r(293)})}[d(261)](){const t=d;this[t(222)]=this[t(226)]()}[d(281)](t,r={}){const e=d;if(this[e(233)])return Promise[e(244)]();const n=this[e(221)][e(296)][e(299)](e(227));if(this[e(221)][e(218)][e(247)](e(266))){const{prefix:t,suffix:n}=this[e(221)][e(296)][e(299)](e(237));r[e(205)]={prefix:t,suffix:n}}const i={url:n[e(248)],file:t,serviceConfig:{...r,formatting:n[e(307)],timezone:(new(Intl[e(208)]))[e(209)]()[e(277)]}};return this[e(213)](),this[e(225)](i)[e(298)](this[e(210)][e(259)](this))[e(255)](this[e(304)][e(259)](this))[e(249)](this[e(256)][e(259)](this))}[d(226)](){const t=d;if(this[t(233)])return!1;const r=this[t(221)][t(283)],e=r[t(303)],n=r[t(243)][t(230)],i=(0,l.first)(n[t(289)]());return!!i&&e[t(286)](i[t(254)],t(232))}[d(213)](){const t=d,r=this[t(221)],e=r[t(283)],n=e[t(243)][t(230)];this[t(263)]=new AbortController,this[t(228)]=r[t(283)][t(252)]({isUndoable:!0}),e[t(245)](this[t(228)],(r=>{const i=t;n[i(238)]||e[i(301)](n,{leaveUnmerged:!0});const o=n[i(306)](),s=(0,l.first)(n[i(289)]());let a;a=s.is(i(273),i(232))&&s[i(260)]?o:o[i(242)]?e[i(265)](s):o[i(262)]?e[i(215)](s):r[i(291)](o)[i(250)],this[i(305)]=r[i(207)](i(288)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(305)].on(i(251),(()=>{const t=i;t(234)===this[t(305)][t(206)]()[t(270)][t(271)]&&this[t(263)][t(224)]()}))})),this[t(233)]=!0,this[t(261)]()}[d(256)](){const t=d,r=this[t(221)][t(283)];r[t(290)][t(247)](this[t(305)])&&r[t(245)](this[t(228)],(r=>{const e=t;r[e(294)](this[e(305)])})),this[t(305)]=null,this[t(228)]=null,this[t(263)]=null,this[t(233)]=!1,this[t(261)]()}[d(225)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(221)][n(218)][n(299)](n(274))[n(229)](),o=new FormData;o[n(295)](n(296),JSON[n(278)](e)),o[n(295)](n(216),r);const s={method:n(220),headers:{},body:o,signal:this[n(263)][n(257)]};return i&&(s[n(240)][n(276)]=i[n(217)]),fetch(t,s)}[d(210)](t){const r=d;return t.ok?t[r(268)]()[r(298)]((t=>{const e=r;this[e(221)][e(283)][e(290)][e(247)](this[e(305)])&&e(234)!==this[e(305)][e(206)]()[e(270)][e(271)]&&this[e(280)](e(212),t)})):Promise[r(279)]()}[d(304)](){const t=d;if(this[t(263)][t(257)][t(204)])return void(0,l.logWarning)(t(282));const r=this[t(221)],e=i(r[t(236)],t(300));r[t(218)][t(299)](t(235))[t(219)](e),(0,l.logError)(t(297))}}const g=I;function I(t,r){const e=w();return(I=function(t,r){return e[t-=123]})(t,r)}!function(t){const r=I,e=t();for(;;)try{if(109332===parseInt(r(141))/1+-parseInt(r(127))/2+parseInt(r(135))/3+-parseInt(r(129))/4+parseInt(r(130))/5+parseInt(r(145))/6+-parseInt(r(124))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class v extends t.Plugin{static get[g(149)](){return g(139)}static get[g(125)](){return!0}static get[g(133)](){return!0}static get[g(126)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(136)]}constructor(t){const r=g;super(t),this[r(152)]=null}async[g(142)](){const t=g,r=this[t(151)];r[t(131)][t(150)](t(144),{converterUrl:t(147),tokenUrl:(r[t(131)][t(146)](t(153))||{})[t(148)],formatting:{resets:t(123),defaults:t(123),styles:t(140)}}),r[t(143)][t(137)](t(144),new m(r));const{tokenUrl:e}=r[t(131)][t(146)](t(144));if(e){const{tokenUrl:n}=r[t(131)][t(146)](t(153))||{};this[t(152)]=e===n?r[t(128)][t(146)](t(136))[t(132)]:await r[t(128)][t(146)](t(136))[t(134)](e)}}[g(138)](){return this[g(152)]}}function w(){const t=["https://docx-converter.cke-cs.com/v2/convert/docx-html","tokenUrl","pluginName","define","editor","_token","cloudServices","none","2406355hszpYN","isOfficialPlugin","requires","10484BSuDcp","plugins","420652QaFyPO","635300HnNwqp","config","token","isPremiumPlugin","registerTokenUrl","546090ALFbqE","CloudServices","add","getToken","ImportWordEditing","inline","117850EMYKBd","init","commands","importWord","819372KbzjiV","get"];return(w=function(){return t})()}var b=W;function y(){var t=["8vyexXA","requires","13101608hHCkft","8946819inTXly","ImportWord","497661zOMtkz","pluginName","4146zcYRJy","isPremiumPlugin","10uSBeBZ","5smuLBB","7070609WwIxrX","3998610BUDZrC","36437621ZahjMk","802qDeIQD","isOfficialPlugin"];return(y=function(){return t})()}function W(t,r){var e=y();return(W=function(t,r){return e[t-=110]})(t,r)}!function(t){for(var r=W,e=t();;)try{if(998517===-parseInt(r(116))/1*(-parseInt(r(125))/2)+parseInt(r(123))/3*(parseInt(r(118))/4)+-parseInt(r(112))/5*(parseInt(r(114))/6)+-parseInt(r(113))/7+-parseInt(r(120))/8+-parseInt(r(121))/9+-parseInt(r(111))/10*(-parseInt(r(115))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[b(124)](){return b(122)}static get[b(117)](){return!0}static get[b(110)](){return!0}static get[b(119)](){return[v,a]}}function k(){var t=["1188192gVXhKq","454082sZvdfu","6541695elZKVA","6gbwvbS","9808OYwqeU","2LDHqOX","22766604EUZdva","21XlYXEt","10mYxcFr","1028665qnkEFI","7035578JPSPOH","723jmrikw"];return(k=function(){return t})()}function P(t,r){var e=k();return(P=function(t,r){return e[t-=320]})(t,r)}!function(t){for(var r=P,e=t();;)try{if(427775===-parseInt(r(323))/1*(parseInt(r(327))/2)+-parseInt(r(321))/3*(-parseInt(r(326))/4)+parseInt(r(331))/5*(parseInt(r(325))/6)+parseInt(r(329))/7*(-parseInt(r(322))/8)+-parseInt(r(324))/9+-parseInt(r(330))/10*(parseInt(r(320))/11)+parseInt(r(328))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>a});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=c();return(s=function(t,e){return r[t-=118]})(t,e)}!function(t){const e=s,r=t();for(;;)try{if(153729===parseInt(e(143))/1*(-parseInt(e(160))/2)+parseInt(e(125))/3+parseInt(e(123))/4*(parseInt(e(156))/5)+-parseInt(e(119))/6*(parseInt(e(159))/7)+parseInt(e(141))/8+parseInt(e(118))/9*(-parseInt(e(146))/10)+parseInt(e(122))/11*(parseInt(e(131))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(c);class a extends t.Plugin{static get[o(144)](){return o(129)}static get[o(154)](){return!0}static get[o(120)](){return!0}[o(130)](){const t=o,r=this[t(124)];r.ui[t(137)][t(133)](t(127),(()=>{const n=t,i=this[n(157)](e.FileDialogButtonView),o=r[n(151)][n(128)](n(127));return i[n(134)](n(148)).to(o,n(161)),i[n(149)]=!0,i})),r.ui[t(137)][t(133)](t(136),(()=>this[t(157)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(157)](t){const r=o,n=this[r(124)],s=n[r(151)][r(128)](r(127)),a=new t(n[r(155)]),c=new e.SpinnerView;return a[r(126)]({acceptedType:r(158)}),a[r(126)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[r(134)](r(121)).to(s),a[r(134)](r(153)).to(s,r(161),(t=>i(n[r(155)],r(t?138:145)))),c[r(134)](r(139)).to(s,r(161)),a[r(135)][r(134)](r(139)).to(s,r(161),(t=>!t)),a[r(132)][r(133)](c),a.on(r(150),((t,e)=>{const i=r;n[i(152)](i(127),e[0],{}),n[i(140)][i(147)][i(142)]()})),a}}function c(){const t=["done","commands","execute","label","isOfficialPlugin","locale","105gFFjZx","_createButton","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","611107hMDFQO","4wJPsBw","isBusy","1179vDSYWJ","12IQKxba","isPremiumPlugin","isEnabled","726oSrJoH","29024qYiKgA","editor","460173otNxiE","set","importWord","get","ImportWordUI","init","49152ZgOrby","children","add","bind","iconView","menuBar:importWord","componentFactory","Importing Word document","isVisible","editing","1207624uLFkNA","focus","51136WOtzwT","pluginName","Import from Word","22630XnQycq","view","isOn","tooltip"];return(c=function(){return t})()}var u=r(331),p=r(783),l=r(584);function d(){const t=["POST","460844aXbAqY","mergeFields","file","Authorization","headers","enqueueChange","html","isAtEnd","_prepareForImport","then","json","208927WXAsMs","isEnabled","_importMarker","paragraph","stopListening","1278326SNWXfT","timeZone","view","2gRlNwY","132VvgfSN","setData","catch","editor","finally","_checkEnabled","value","fire","9KgOkvL","3296880fLflzm","aborted","element","30QbLiqK","formatting","importWord:","parent","isAtStart","216CFXTfH","_handleImportResponse","plugins","getRange","1125949pJhvDH","showWarning","model","resolvedOptions","_cleanUpAfterImport","139540tSJiEb","selection","merge_fields","import-word-plugin-import-cancelled","dataInsert","_undoStepBatch","createBatch","Notification","low","createPositionBefore","removeMarker","getSelectedBlocks","importWord","import-word-plugin-conversion-failed","editing","markers","setSelection","rootName","change:range","An error occurred while importing the Word file.","getToken","3569520IluRTY","execute","checkChild","addMarker","ImportWordEditing","locale","_handleImportFailure","refresh","clipboardInput","schema","bind","root","_sendImportRequest","reject","getFirstPosition","deleteContent","_abortController","isCollapsed","set","document","signal","isEmpty","MergeFields","stringify","DateTimeFormat","text/html","converterUrl","resolve","createPositionAfter","has","split","config","abort","position","$graveyard","isBusy","get"];return(d=function(){return t})()}function h(t,e){const r=d();return(h=function(t,e){return r[t-=126]})(t,e)}const f=h;!function(t){const e=h,r=t();for(;;)try{if(461871===parseInt(e(188))/1*(parseInt(e(196))/2)+parseInt(e(205))/3*(-parseInt(e(177))/4)+-parseInt(e(206))/5+parseInt(e(209))/6*(parseInt(e(193))/7)+-parseInt(e(139))/8+parseInt(e(214))/9*(-parseInt(e(223))/10)+-parseInt(e(218))/11*(-parseInt(e(197))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(d);class m extends t.Command{constructor(t){const e=h;super(t),this[e(157)](e(174),!1),this[e(190)]=null,this[e(228)]=null,this[e(155)]=null,this.on(e(227),((r,n)=>{const i=e,o=new DataTransfer;o[i(198)](i(164),n[i(183)]);const s=this[i(190)][i(217)]();this[i(200)][i(220)][i(182)](this[i(228)],(e=>{const r=i;this[r(190)][r(192)](),e[r(134)](s),t[r(132)][r(195)][r(158)][r(204)](r(147),{dataTransfer:o})}))}),{priority:e(126)})}[f(146)](){const t=f;this[t(189)]=this[t(202)]()}[f(140)](t,e={}){const r=f;if(this[r(174)])return Promise[r(166)]();const n=this[r(200)][r(170)][r(175)](r(130));if(this[r(200)][r(216)][r(168)](r(161))){const{prefix:t,suffix:n}=this[r(200)][r(170)][r(175)](r(178));e[r(225)]={prefix:t,suffix:n}}const i={url:n[r(165)],file:t,serviceConfig:{...e,formatting:n[r(210)],timezone:(new(Intl[r(163)]))[r(221)]()[r(194)]}};return this[r(185)](),this[r(151)](i)[r(186)](this[r(215)][r(149)](this))[r(199)](this[r(145)][r(149)](this))[r(201)](this[r(222)][r(149)](this))}[f(202)](){const t=f;if(this[t(174)])return!1;const e=this[t(200)][t(220)],r=e[t(148)],n=e[t(158)][t(224)],i=(0,l.first)(n[t(129)]());return!!i&&r[t(141)](i[t(212)],t(191))}[f(185)](){const t=f,e=this[t(200)],r=e[t(220)],n=r[t(158)][t(224)];this[t(155)]=new AbortController,this[t(228)]=e[t(220)][t(229)]({isUndoable:!0}),r[t(182)](this[t(228)],(e=>{const i=t;n[i(156)]||r[i(154)](n,{leaveUnmerged:!0});const o=n[i(153)](),s=(0,l.first)(n[i(129)]());let a;a=s.is(i(208),i(191))&&s[i(160)]?o:o[i(213)]?r[i(127)](s):o[i(184)]?r[i(167)](s):e[i(169)](o)[i(172)],this[i(190)]=e[i(142)](i(211)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(190)].on(i(136),(()=>{const t=i;t(173)===this[t(190)][t(217)]()[t(150)][t(135)]&&this[t(155)][t(171)]()}))})),this[t(174)]=!0,this[t(146)]()}[f(222)](){const t=f,e=this[t(200)][t(220)];e[t(133)][t(168)](this[t(190)])&&e[t(182)](this[t(228)],(e=>{const r=t;e[r(128)](this[r(190)])})),this[t(190)]=null,this[t(228)]=null,this[t(155)]=null,this[t(174)]=!1,this[t(146)]()}[f(151)]({url:t,file:e,serviceConfig:r}){const n=f,i=this[n(200)][n(216)][n(175)](n(143))[n(138)](),o=new FormData;o[n(157)](n(170),JSON[n(162)](r)),o[n(157)](n(179),e);const s={method:n(176),headers:{},body:o,signal:this[n(155)][n(159)]};return i&&(s[n(181)][n(180)]=i[n(203)]),fetch(t,s)}[f(215)](t){const e=f;return t.ok?t[e(187)]()[e(186)]((t=>{const r=e;this[r(200)][r(220)][r(133)][r(168)](this[r(190)])&&r(173)!==this[r(190)][r(217)]()[r(150)][r(135)]&&this[r(204)](r(227),t)})):Promise[e(152)]()}[f(145)](){const t=f;if(this[t(155)][t(159)][t(207)])return void(0,l.logWarning)(t(226));const e=this[t(200)],r=i(e[t(144)],t(137));e[t(216)][t(175)](t(230))[t(219)](r),(0,l.logError)(t(131))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=396]})(t,e)}function v(){const t=["8sGAExL","tokenUrl","plugins","requires","CloudServices","6793209WysDtA","4608eEDlww","editor","2640PHLniG","694144dxagqf","157000fmRqTT","getToken","commands","inline","importWord","isOfficialPlugin","129684fzGkjO","init","203MJeZbz","get","ImportWordEditing","cloudServices","registerTokenUrl","none","add","pluginName","isPremiumPlugin","_token","config","define","663985TiacdR","https://docx-converter.cke-cs.com/v2/convert/docx-html","705KgaBLn","token","3014425HEefJK"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(404547===-parseInt(e(402))/1+-parseInt(e(413))/2*(parseInt(e(404))/3)+-parseInt(e(416))/4+-parseInt(e(406))/5+-parseInt(e(423))/6*(parseInt(e(425))/7)+-parseInt(e(407))/8*(parseInt(e(412))/9)+-parseInt(e(417))/10*(-parseInt(e(415))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(397)](){return g(427)}static get[g(422)](){return!0}static get[g(398)](){return!0}static get[g(410)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(411)]}constructor(t){const e=g;super(t),this[e(399)]=null}async[g(424)](){const t=g,e=this[t(414)];e[t(400)][t(401)](t(421),{converterUrl:t(403),tokenUrl:(e[t(400)][t(426)](t(428))||{})[t(408)],formatting:{resets:t(430),defaults:t(430),styles:t(420)}}),e[t(419)][t(396)](t(421),new m(e));const{tokenUrl:r}=e[t(400)][t(426)](t(421));if(r){const{tokenUrl:n}=e[t(400)][t(426)](t(428))||{};this[t(399)]=r===n?e[t(409)][t(426)](t(411))[t(405)]:await e[t(409)][t(426)](t(411))[t(429)](r)}}[g(418)](){return this[g(399)]}}var b=x;function W(){var t=["408702RIWAaX","212krIxAT","ImportWord","2637wyBPvb","318975vMqXWc","16ShAFwz","433740xyqUBu","10NkOhbW","590470vHFgbA","requires","682434OWRPWD","isOfficialPlugin","188KOnvYa","22lIORst","pluginName","isPremiumPlugin"];return(W=function(){return t})()}function x(t,e){var r=W();return(x=function(t,e){return r[t-=161]})(t,e)}!function(t){for(var e=x,r=t();;)try{if(111656===parseInt(e(174))/1*(-parseInt(e(169))/2)+parseInt(e(165))/3*(parseInt(e(163))/4)+parseInt(e(166))/5+-parseInt(e(168))/6+parseInt(e(162))/7*(parseInt(e(167))/8)+parseInt(e(172))/9+parseInt(e(170))/10*(-parseInt(e(175))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class y extends t.Plugin{static get[b(176)](){return b(164)}static get[b(173)](){return!0}static get[b(161)](){return!0}static get[b(171)](){return[w,a]}}function k(t,e){var r=A();return(k=function(t,e){return r[t-=232]})(t,e)}function A(){var t=["3048690RkORJb","22tKBNML","6054240AdrnDU","5926885RNkjXv","6GAFeCW","1148296UXKYRR","2sFRCnb","1699628tuWDvu","63FqeRak","527533FoQdHI","3665610mUbDFU"];return(A=function(){return t})()}!function(t){for(var e=k,r=t();;)try{if(760048===parseInt(e(236))/1*(parseInt(e(233))/2)+-parseInt(e(238))/3+-parseInt(e(234))/4+-parseInt(e(241))/5*(-parseInt(e(242))/6)+-parseInt(e(235))/7*(-parseInt(e(232))/8)+parseInt(e(237))/9+-parseInt(e(240))/10*(parseInt(e(239))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(A)})(),(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 _0x51e200,Command as _0x149547}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x34ae94,MenuBarMenuListItemFileDialogButtonView as _0x388a99,SpinnerView as _0x46b06a,Notification as _0x50a5c6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x3a4100}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x22c41d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x65c8a0,uid as _0x5025bf,logWarning as _0x2ad13a,logError as _0x4dfd3c}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x2b1991,_0x38ed1f){const t=_0x2b1991['t'];switch(_0x38ed1f){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 _0x38ed1f;}}class i extends _0x51e200{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x194b0e=this['editor'];_0x194b0e['ui']['componentFactory']['add']('importWord',()=>{const _0x1d60e7=this['_createButton'](_0x34ae94),_0x4ce80d=_0x194b0e['commands']['get']('importWord');return _0x1d60e7['bind']('isOn')['to'](_0x4ce80d,'isBusy'),_0x1d60e7['tooltip']=!0x0,_0x1d60e7;}),_0x194b0e['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x388a99));}['_createButton'](_0x51e03f){const _0x4bc1c8=this['editor'],_0x24d46e=_0x4bc1c8['commands']['get']('importWord'),_0x50bb1d=new _0x51e03f(_0x4bc1c8['locale']),_0x2855cd=new _0x46b06a();return _0x50bb1d['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x50bb1d['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'}),_0x50bb1d['bind']('isEnabled')['to'](_0x24d46e),_0x50bb1d['bind']('label')['to'](_0x24d46e,'isBusy',_0x4ebbe9=>p(_0x4bc1c8['locale'],_0x4ebbe9?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x2855cd['bind']('isVisible')['to'](_0x24d46e,'isBusy'),_0x50bb1d['iconView']['bind']('isVisible')['to'](_0x24d46e,'isBusy',_0x15ce04=>!_0x15ce04),_0x50bb1d['children']['add'](_0x2855cd),_0x50bb1d['on']('done',(_0x47686e,_0x535fb0)=>{_0x4bc1c8['execute']('importWord',_0x535fb0[0x0],{}),_0x4bc1c8['editing']['view']['focus']();}),_0x50bb1d;}}class d extends _0x149547{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x2c0d01){super(_0x2c0d01),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x109841,_0x5515f9)=>{const _0x5e3461=new DataTransfer();_0x5e3461['setData']('text/html',_0x5515f9['html']);const _0xb16fd4=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x40f1ed=>{this['_importMarker']['stopListening'](),_0x40f1ed['setSelection'](_0xb16fd4),_0x2c0d01['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x5e3461});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x8cf510,_0x43ffca={}){if(this['isBusy'])return Promise['resolve']();const _0x2aa308=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x55c61f,suffix:_0x14056f}=this['editor']['config']['get']('mergeFields');_0x43ffca['merge_fields']={'prefix':_0x55c61f,'suffix':_0x14056f};}const _0x31b1b9={'url':_0x2aa308['converterUrl'],'file':_0x8cf510,'serviceConfig':{..._0x43ffca,'formatting':_0x2aa308['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x31b1b9)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x30dfce=this['editor']['model'],_0x26322f=_0x30dfce['schema'],_0x561d94=_0x30dfce['document']['selection'],_0x406868=_0x65c8a0(_0x561d94['getSelectedBlocks']());return!!_0x406868&&_0x26322f['checkChild'](_0x406868['parent'],'paragraph');}['_prepareForImport'](){const _0x1783be=this['editor'],_0x5e7649=_0x1783be['model'],_0x10df12=_0x5e7649['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x1783be['model']['createBatch']({'isUndoable':!0x0}),_0x5e7649['enqueueChange'](this['_undoStepBatch'],_0x232ae9=>{_0x10df12['isCollapsed']||_0x5e7649['deleteContent'](_0x10df12,{'leaveUnmerged':!0x0});const _0x55cbe8=_0x10df12['getFirstPosition'](),_0x4def5d=_0x65c8a0(_0x10df12['getSelectedBlocks']());let _0x38e35b;_0x38e35b=_0x4def5d['is']('element','paragraph')&&_0x4def5d['isEmpty']?_0x55cbe8:_0x55cbe8['isAtStart']?_0x5e7649['createPositionBefore'](_0x4def5d):_0x55cbe8['isAtEnd']?_0x5e7649['createPositionAfter'](_0x4def5d):_0x232ae9['split'](_0x55cbe8)['position'],this['_importMarker']=_0x232ae9['addMarker']('importWord:'+_0x5025bf(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x22c41d(_0x38e35b)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0xecd33=this['editor']['model'];_0xecd33['markers']['has'](this['_importMarker'])&&_0xecd33['enqueueChange'](this['_undoStepBatch'],_0x30930f=>{_0x30930f['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x3e9bc2,file:_0x14f66a,serviceConfig:_0x48fff0}){const _0xc54e15=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5d9bf5=new FormData();_0x5d9bf5['set']('config',JSON['stringify'](_0x48fff0)),_0x5d9bf5['set']('file',_0x14f66a);const _0x197e5f={'method':'POST','headers':{},'body':_0x5d9bf5,'signal':this['_abortController']['signal']};return _0xc54e15&&(_0x197e5f['headers']['Authorization']=_0xc54e15['value']),fetch(_0x3e9bc2,_0x197e5f);}['_handleImportResponse'](_0x4c4d03){return _0x4c4d03['ok']?_0x4c4d03['json']()['then'](_0x2bfbc5=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x2bfbc5);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2ad13a('import-word-plugin-import-cancelled');const _0x3fbc13=this['editor'],_0x318370=p(_0x3fbc13['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x3fbc13['plugins']['get']('Notification')['showWarning'](_0x318370),_0x4dfd3c('import-word-plugin-conversion-failed');}}class e extends _0x51e200{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x50a5c6,_0x3a4100,'CloudServices'];}constructor(_0x55101c){super(_0x55101c),this['_token']=null;}async['init'](){const _0x5f165e=this['editor'];_0x5f165e['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x5f165e['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x5f165e['commands']['add']('importWord',new d(_0x5f165e));const {tokenUrl:_0x1336a5}=_0x5f165e['config']['get']('importWord');if(_0x1336a5){const {tokenUrl:_0x2cd310}=_0x5f165e['config']['get']('cloudServices')||{};this['_token']=_0x1336a5===_0x2cd310?_0x5f165e['plugins']['get']('CloudServices')['token']:await _0x5f165e['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1336a5);}}['getToken'](){return this['_token'];}}class o extends _0x51e200{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':_0x355b5b=>0x1!=_0x355b5b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xff4233=>{const {af:{dictionary:_0x2c27bb,getPluralForm:_0x572122}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x193f0d=>0x1!=_0x193f0d}};_0xff4233['af']||={'dictionary':{},'getPluralForm':null},_0xff4233['af']['dictionary']=Object['assign'](_0xff4233['af']['dictionary'],_0x2c27bb),_0xff4233['af']['getPluralForm']=_0x572122;})(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':_0x4ff3dc=>0x0==_0x4ff3dc?0x0:0x1==_0x4ff3dc?0x1:0x2==_0x4ff3dc?0x2:_0x4ff3dc%0x64>=0x3&&_0x4ff3dc%0x64<=0xa?0x3:_0x4ff3dc%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x25fe8e=>{const {ar:{dictionary:_0x174c0c,getPluralForm:_0x3cd3df}}={'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':_0x36e3ed=>0x0==_0x36e3ed?0x0:0x1==_0x36e3ed?0x1:0x2==_0x36e3ed?0x2:_0x36e3ed%0x64>=0x3&&_0x36e3ed%0x64<=0xa?0x3:_0x36e3ed%0x64>=0xb?0x4:0x5}};_0x25fe8e['ar']||={'dictionary':{},'getPluralForm':null},_0x25fe8e['ar']['dictionary']=Object['assign'](_0x25fe8e['ar']['dictionary'],_0x174c0c),_0x25fe8e['ar']['getPluralForm']=_0x3cd3df;})(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':_0x10d107=>0x1!=_0x10d107}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5696b7=>{const {ast:{dictionary:_0x261e54,getPluralForm:_0x5c5c0e}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x558364=>0x1!=_0x558364}};_0x5696b7['ast']||={'dictionary':{},'getPluralForm':null},_0x5696b7['ast']['dictionary']=Object['assign'](_0x5696b7['ast']['dictionary'],_0x261e54),_0x5696b7['ast']['getPluralForm']=_0x5c5c0e;})(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':_0x37b484=>0x1!=_0x37b484}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a2171=>{const {az:{dictionary:_0x913a0d,getPluralForm:_0x490f66}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x351795=>0x1!=_0x351795}};_0x2a2171['az']||={'dictionary':{},'getPluralForm':null},_0x2a2171['az']['dictionary']=Object['assign'](_0x2a2171['az']['dictionary'],_0x913a0d),_0x2a2171['az']['getPluralForm']=_0x490f66;})(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':_0x2f62b4=>0x1!=_0x2f62b4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x363b23=>{const {bg:{dictionary:_0x4a7972,getPluralForm:_0x59d9dc}}={'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':_0x1a1f54=>0x1!=_0x1a1f54}};_0x363b23['bg']||={'dictionary':{},'getPluralForm':null},_0x363b23['bg']['dictionary']=Object['assign'](_0x363b23['bg']['dictionary'],_0x4a7972),_0x363b23['bg']['getPluralForm']=_0x59d9dc;})(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':_0x188075=>0x1!=_0x188075}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5776ca=>{const {bn:{dictionary:_0x40ef31,getPluralForm:_0x5c89e0}}={'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':_0x2573f3=>0x1!=_0x2573f3}};_0x5776ca['bn']||={'dictionary':{},'getPluralForm':null},_0x5776ca['bn']['dictionary']=Object['assign'](_0x5776ca['bn']['dictionary'],_0x40ef31),_0x5776ca['bn']['getPluralForm']=_0x5c89e0;})(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':_0x2a4472=>_0x2a4472%0xa==0x1&&_0x2a4472%0x64!=0xb?0x0:_0x2a4472%0xa>=0x2&&_0x2a4472%0xa<=0x4&&(_0x2a4472%0x64<0xa||_0x2a4472%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x23deea=>{const {bs:{dictionary:_0x1efc63,getPluralForm:_0x234de7}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1df3d=>_0x1df3d%0xa==0x1&&_0x1df3d%0x64!=0xb?0x0:_0x1df3d%0xa>=0x2&&_0x1df3d%0xa<=0x4&&(_0x1df3d%0x64<0xa||_0x1df3d%0x64>=0x14)?0x1:0x2}};_0x23deea['bs']||={'dictionary':{},'getPluralForm':null},_0x23deea['bs']['dictionary']=Object['assign'](_0x23deea['bs']['dictionary'],_0x1efc63),_0x23deea['bs']['getPluralForm']=_0x234de7;})(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':_0x393e71=>0x1!=_0x393e71}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5bbe08=>{const {ca:{dictionary:_0x44e288,getPluralForm:_0x1c534b}}={'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':_0x42a500=>0x1!=_0x42a500}};_0x5bbe08['ca']||={'dictionary':{},'getPluralForm':null},_0x5bbe08['ca']['dictionary']=Object['assign'](_0x5bbe08['ca']['dictionary'],_0x44e288),_0x5bbe08['ca']['getPluralForm']=_0x1c534b;})(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':_0x3d84ce=>0x1==_0x3d84ce?0x0:_0x3d84ce>=0x2&&_0x3d84ce<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19686c=>{const {cs:{dictionary:_0xbf8067,getPluralForm:_0x3f3529}}={'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':_0x10b051=>0x1==_0x10b051?0x0:_0x10b051>=0x2&&_0x10b051<=0x4?0x1:0x2}};_0x19686c['cs']||={'dictionary':{},'getPluralForm':null},_0x19686c['cs']['dictionary']=Object['assign'](_0x19686c['cs']['dictionary'],_0xbf8067),_0x19686c['cs']['getPluralForm']=_0x3f3529;})(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':_0x4b011f=>0x1!=_0x4b011f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x332e71=>{const {da:{dictionary:_0x91d6f9,getPluralForm:_0x3a8115}}={'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':_0x31284d=>0x1!=_0x31284d}};_0x332e71['da']||={'dictionary':{},'getPluralForm':null},_0x332e71['da']['dictionary']=Object['assign'](_0x332e71['da']['dictionary'],_0x91d6f9),_0x332e71['da']['getPluralForm']=_0x3a8115;})(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':_0x13df17=>0x1!=_0x13df17}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4379fd=>{const {'de-ch':{dictionary:_0x3069c6,getPluralForm:_0x4e71ae}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4afbff=>0x1!=_0x4afbff}};_0x4379fd['de-ch']||={'dictionary':{},'getPluralForm':null},_0x4379fd['de-ch']['dictionary']=Object['assign'](_0x4379fd['de-ch']['dictionary'],_0x3069c6),_0x4379fd['de-ch']['getPluralForm']=_0x4e71ae;})(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':_0x2245b3=>0x1!=_0x2245b3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ad82d=>{const {de:{dictionary:_0x47941c,getPluralForm:_0x6bc3c1}}={'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':_0x45ead6=>0x1!=_0x45ead6}};_0x3ad82d['de']||={'dictionary':{},'getPluralForm':null},_0x3ad82d['de']['dictionary']=Object['assign'](_0x3ad82d['de']['dictionary'],_0x47941c),_0x3ad82d['de']['getPluralForm']=_0x6bc3c1;})(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':_0x563312=>0x1!=_0x563312}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x21f32a=>{const {el:{dictionary:_0x2569a5,getPluralForm:_0x351bc3}}={'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':_0x4baa27=>0x1!=_0x4baa27}};_0x21f32a['el']||={'dictionary':{},'getPluralForm':null},_0x21f32a['el']['dictionary']=Object['assign'](_0x21f32a['el']['dictionary'],_0x2569a5),_0x21f32a['el']['getPluralForm']=_0x351bc3;})(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':_0x2774db=>0x1!=_0x2774db}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3da074=>{const {'en-au':{dictionary:_0x459cce,getPluralForm:_0x2a433d}}={'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':_0x27db19=>0x1!=_0x27db19}};_0x3da074['en-au']||={'dictionary':{},'getPluralForm':null},_0x3da074['en-au']['dictionary']=Object['assign'](_0x3da074['en-au']['dictionary'],_0x459cce),_0x3da074['en-au']['getPluralForm']=_0x2a433d;})(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':_0x2383a9=>0x1!=_0x2383a9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2508cc=>{const {'en-gb':{dictionary:_0x45a212,getPluralForm:_0xbd035c}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x452a5b=>0x1!=_0x452a5b}};_0x2508cc['en-gb']||={'dictionary':{},'getPluralForm':null},_0x2508cc['en-gb']['dictionary']=Object['assign'](_0x2508cc['en-gb']['dictionary'],_0x45a212),_0x2508cc['en-gb']['getPluralForm']=_0xbd035c;})(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':_0x1ae5a8=>0x1!=_0x1ae5a8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x302332=>{const {en:{dictionary:_0x17cfe9,getPluralForm:_0x2b074f}}={'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':_0x315f41=>0x1!=_0x315f41}};_0x302332['en']||={'dictionary':{},'getPluralForm':null},_0x302332['en']['dictionary']=Object['assign'](_0x302332['en']['dictionary'],_0x17cfe9),_0x302332['en']['getPluralForm']=_0x2b074f;})(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':_0x2cdb88=>0x1!=_0x2cdb88}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3435be=>{const {eo:{dictionary:_0x514acb,getPluralForm:_0xf54284}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xdf264c=>0x1!=_0xdf264c}};_0x3435be['eo']||={'dictionary':{},'getPluralForm':null},_0x3435be['eo']['dictionary']=Object['assign'](_0x3435be['eo']['dictionary'],_0x514acb),_0x3435be['eo']['getPluralForm']=_0xf54284;})(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':_0x1e2238=>0x1!=_0x1e2238}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x164de1=>{const {'es-co':{dictionary:_0x32e52d,getPluralForm:_0x559f8b}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x174e1f=>0x1!=_0x174e1f}};_0x164de1['es-co']||={'dictionary':{},'getPluralForm':null},_0x164de1['es-co']['dictionary']=Object['assign'](_0x164de1['es-co']['dictionary'],_0x32e52d),_0x164de1['es-co']['getPluralForm']=_0x559f8b;})(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':_0xf9a87d=>0x1!=_0xf9a87d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ac0c4=>{const {es:{dictionary:_0x684a01,getPluralForm:_0x3d08a6}}={'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':_0x67bdc4=>0x1!=_0x67bdc4}};_0x2ac0c4['es']||={'dictionary':{},'getPluralForm':null},_0x2ac0c4['es']['dictionary']=Object['assign'](_0x2ac0c4['es']['dictionary'],_0x684a01),_0x2ac0c4['es']['getPluralForm']=_0x3d08a6;})(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':_0x21a9f4=>0x1!=_0x21a9f4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1c8a4b=>{const {et:{dictionary:_0x41bad8,getPluralForm:_0x1d250a}}={'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':_0x545275=>0x1!=_0x545275}};_0x1c8a4b['et']||={'dictionary':{},'getPluralForm':null},_0x1c8a4b['et']['dictionary']=Object['assign'](_0x1c8a4b['et']['dictionary'],_0x41bad8),_0x1c8a4b['et']['getPluralForm']=_0x1d250a;})(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':_0x270f3e=>0x1!=_0x270f3e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x7be8ca=>{const {eu:{dictionary:_0xca2b9e,getPluralForm:_0x4a76a9}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xb41217=>0x1!=_0xb41217}};_0x7be8ca['eu']||={'dictionary':{},'getPluralForm':null},_0x7be8ca['eu']['dictionary']=Object['assign'](_0x7be8ca['eu']['dictionary'],_0xca2b9e),_0x7be8ca['eu']['getPluralForm']=_0x4a76a9;})(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':_0x4358e2=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x13b903=>{const {fa:{dictionary:_0x2c00cf,getPluralForm:_0x14b638}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4b2f02=>0x0}};_0x13b903['fa']||={'dictionary':{},'getPluralForm':null},_0x13b903['fa']['dictionary']=Object['assign'](_0x13b903['fa']['dictionary'],_0x2c00cf),_0x13b903['fa']['getPluralForm']=_0x14b638;})(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':_0x4bfe19=>0x1!=_0x4bfe19}};
|