@ckeditor/ckeditor5-import-word 0.0.0-nightly-20241030.0 → 0.0.0-nightly-20241101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +2 -2
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const r=t.en=t.en||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=a();return(s=function(t,e){return r[t-=200]})(t,e)}function a(){const t=["ImportWordUI","5423kmIzdg","label","isEnabled","commands","isOn","isBusy","89510MvTHeS","75FRFnVh","8642180tPjMJw","menuBar:importWord","componentFactory","40390uIEwhr","done","_createButton","children","set","get","Importing Word document","init","view","pluginName","645416cATwWY","27ZcgltC","90314shXviR","editing","96350PYlzYF","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","bind","isPremiumPlugin","Import from Word","focus","isOfficialPlugin","iconView","importWord","tooltip","5972860ginvrR","locale","editor","558VjAUgl","isVisible","execute","add"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(979796===parseInt(e(226))/1+-parseInt(e(202))/2*(-parseInt(e(227))/3)+-parseInt(e(212))/4+parseInt(e(228))/5+-parseInt(e(215))/6*(-parseInt(e(200))/7)+parseInt(e(241))/8*(parseInt(e(242))/9)+-parseInt(e(231))/10*(parseInt(e(220))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(240)](){return o(219)}static get[o(208)](){return!0}static get[o(205)](){return!0}[o(238)](){const t=o,r=this[t(214)];r.ui[t(230)][t(218)](t(210),(()=>{const n=t,i=this[n(233)](e.FileDialogButtonView),o=r[n(223)][n(236)](n(210));return i[n(204)](n(224)).to(o,n(225)),i[n(211)]=!0,i})),r.ui[t(230)][t(218)](t(229),(()=>this[t(233)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(233)](t){const r=o,n=this[r(214)],s=n[r(223)][r(236)](r(210)),a=new t(n[r(213)]),c=new e.SpinnerView;return a[r(235)]({acceptedType:r(203)}),a[r(235)]({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(204)](r(222)).to(s),a[r(204)](r(221)).to(s,r(225),(t=>i(n[r(213)],r(t?237:206)))),c[r(204)](r(216)).to(s,r(225)),a[r(209)][r(204)](r(216)).to(s,r(225),(t=>!t)),a[r(234)][r(218)](c),a.on(r(232),((t,e)=>{const i=r;n[i(217)](i(210),e[0],{}),n[i(201)][i(239)][i(207)]()})),a}}var u=r(331),l=r(783),p=r(584);function d(t,e){const r=f();return(d=function(t,e){return r[t-=409]})(t,e)}const h=d;function f(){const t=["rootName","file","showWarning","ImportWordEditing","_abortController","low","has","fire","value","set","_handleImportFailure","import-word-plugin-conversion-failed","enqueueChange","get","importWord","254eCudxw","stringify","then","resolve","754776RNJTxG","plugins","schema","json","1175JbUYhw","catch","$graveyard","view","html","text/html","merge_fields","createPositionAfter","root","_cleanUpAfterImport","markers","importWord:","createBatch","isEmpty","editing","isCollapsed","converterUrl","model","DateTimeFormat","1324284MtgyOH","abort","bind","_undoStepBatch","_checkEnabled","isBusy","resolvedOptions","Notification","paragraph","mergeFields","position","checkChild","element","isAtStart","_prepareForImport","An error occurred while importing the Word file.","getRange","isAtEnd","timeZone","reject","MergeFields","selection","parent","_importMarker","POST","finally","editor","deleteContent","change:range","addMarker","stopListening","headers","signal","1191932PzvBDz","refresh","isEnabled","formatting","getSelectedBlocks","split","setSelection","137200hfDVml","aborted","removeMarker","setData","clipboardInput","Authorization","_handleImportResponse","execute","getFirstPosition","document","dataInsert","getToken","1041350cgdUAK","_sendImportRequest","149610LcwURM","import-word-plugin-import-cancelled","locale","createPositionBefore","config"];return(f=function(){return t})()}!function(t){const e=d,r=t();for(;;)try{if(119660===-parseInt(e(462))/1*(parseInt(e(454))/2)+-parseInt(e(434))/3+-parseInt(e(420))/4+parseInt(e(432))/5+parseInt(e(481))/6+-parseInt(e(413))/7+parseInt(e(458))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f);class m extends t.Command{constructor(t){const e=d;super(t),this[e(448)](e(486),!1),this[e(504)]=null,this[e(484)]=null,this[e(443)]=null,this.on(e(430),((r,n)=>{const i=e,o=new DataTransfer;o[i(423)](i(467),n[i(466)]);const s=this[i(504)][i(497)]();this[i(507)][i(479)][i(451)](this[i(484)],(e=>{const r=i;this[r(504)][r(410)](),e[r(419)](s),t[r(476)][r(465)][r(429)][r(446)](r(424),{dataTransfer:o})}))}),{priority:e(444)})}[h(414)](){const t=h;this[t(415)]=this[t(485)]()}[h(427)](t,e={}){const r=h;if(this[r(486)])return Promise[r(457)]();const n=this[r(507)][r(438)][r(452)](r(453));if(this[r(507)][r(459)][r(445)](r(501))){const{prefix:t,suffix:n}=this[r(507)][r(438)][r(452)](r(490));e[r(468)]={prefix:t,suffix:n}}const i={url:n[r(478)],file:t,serviceConfig:{...e,formatting:n[r(416)],timezone:(new(Intl[r(480)]))[r(487)]()[r(499)]}};return this[r(495)](),this[r(433)](i)[r(456)](this[r(426)][r(483)](this))[r(463)](this[r(449)][r(483)](this))[r(506)](this[r(471)][r(483)](this))}[h(485)](){const t=h;if(this[t(486)])return!1;const e=this[t(507)][t(479)],r=e[t(460)],n=e[t(429)][t(502)],i=(0,p.first)(n[t(417)]());return!!i&&r[t(492)](i[t(503)],t(489))}[h(495)](){const t=h,e=this[t(507)],r=e[t(479)],n=r[t(429)][t(502)];this[t(443)]=new AbortController,this[t(484)]=e[t(479)][t(474)]({isUndoable:!0}),r[t(451)](this[t(484)],(e=>{const i=t;n[i(477)]||r[i(508)](n,{leaveUnmerged:!0});const o=n[i(428)](),s=(0,p.first)(n[i(417)]());let a;a=s.is(i(493),i(489))&&s[i(475)]?o:o[i(494)]?r[i(437)](s):o[i(498)]?r[i(469)](s):e[i(418)](o)[i(491)],this[i(504)]=e[i(409)](i(473)+(0,p.uid)(),{usingOperation:!1,affectsData:!1,range:new l.Range(a)}),this[i(504)].on(i(509),(()=>{const t=i;t(464)===this[t(504)][t(497)]()[t(470)][t(439)]&&this[t(443)][t(482)]()}))})),this[t(486)]=!0,this[t(414)]()}[h(471)](){const t=h,e=this[t(507)][t(479)];e[t(472)][t(445)](this[t(504)])&&e[t(451)](this[t(484)],(e=>{const r=t;e[r(422)](this[r(504)])})),this[t(504)]=null,this[t(484)]=null,this[t(443)]=null,this[t(486)]=!1,this[t(414)]()}[h(433)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(507)][n(459)][n(452)](n(442))[n(431)](),o=new FormData;o[n(448)](n(438),JSON[n(455)](r)),o[n(448)](n(440),e);const s={method:n(505),headers:{},body:o,signal:this[n(443)][n(412)]};return i&&(s[n(411)][n(425)]=i[n(447)]),fetch(t,s)}[h(426)](t){const e=h;return t.ok?t[e(461)]()[e(456)]((t=>{const r=e;this[r(507)][r(479)][r(472)][r(445)](this[r(504)])&&r(464)!==this[r(504)][r(497)]()[r(470)][r(439)]&&this[r(446)](r(430),t)})):Promise[e(500)]()}[h(449)](){const t=h;if(this[t(443)][t(412)][t(421)])return void(0,p.logWarning)(t(435));const e=this[t(507)],r=i(e[t(436)],t(496));e[t(459)][t(452)](t(488))[t(441)](r),(0,p.logError)(t(450))}}const g=v;function I(){const t=["registerTokenUrl","3Rrcjwe","none","requires","cloudServices","isOfficialPlugin","commands","2152348bVneuD","2631jxCfOd","1736xcStdq","define","tokenUrl","pluginName","1310QZmLgw","isPremiumPlugin","10eIFmce","523135abbUCO","add","config","20581110uWLeFw","_token","token","importWord","4216LQBUOx","getToken","2238201dYauDG","2687088nEdHTZ","init","ImportWordEditing","get","CloudServices","editor","inline","https://docx-converter.cke-cs.com/v2/convert/docx-html","plugins"];return(I=function(){return t})()}function v(t,e){const r=I();return(v=function(t,e){return r[t-=130]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(911020===parseInt(e(164))/1*(-parseInt(e(134))/2)+-parseInt(e(157))/3*(-parseInt(e(163))/4)+-parseInt(e(137))/5+parseInt(e(147))/6+-parseInt(e(130))/7*(-parseInt(e(144))/8)+-parseInt(e(146))/9*(parseInt(e(136))/10)+parseInt(e(140))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(I);class w extends t.Plugin{static get[g(133)](){return g(149)}static get[g(161)](){return!0}static get[g(135)](){return!0}static get[g(159)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(151)]}constructor(t){const e=g;super(t),this[e(141)]=null}async[g(148)](){const t=g,e=this[t(152)];e[t(139)][t(131)](t(143),{converterUrl:t(154),tokenUrl:(e[t(139)][t(150)](t(160))||{})[t(132)],formatting:{resets:t(158),defaults:t(158),styles:t(153)}}),e[t(162)][t(138)](t(143),new m(e));const{tokenUrl:r}=e[t(139)][t(150)](t(143));if(r){const{tokenUrl:n}=e[t(139)][t(150)](t(160))||{};this[t(141)]=r===n?e[t(155)][t(150)](t(151))[t(142)]:await e[t(155)][t(150)](t(151))[t(156)](r)}}[g(145)](){return this[g(141)]}}var x=b;function b(t,e){var r=W();return(b=function(t,e){return r[t-=304]})(t,e)}function W(){var t=["1322783TFZRXJ","1071112FYXoJj","242OGoxMf","ImportWord","isOfficialPlugin","pluginName","6042jTLUGm","5KDyXGi","isPremiumPlugin","requires","10203480IXuiBx","3668400XSfnwU","4002184qYlzSw","955044mjOnLO","9CPqQvH"];return(W=function(){return t})()}!function(t){for(var e=b,r=t();;)try{if(749550===parseInt(e(316))/1+-parseInt(e(318))/2*(parseInt(e(307))/3)+-parseInt(e(313))/4*(-parseInt(e(308))/5)+parseInt(e(314))/6+parseInt(e(317))/7+parseInt(e(311))/8*(-parseInt(e(315))/9)+-parseInt(e(312))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class y extends t.Plugin{static get[x(306)](){return x(304)}static get[x(305)](){return!0}static get[x(309)](){return!0}static get[x(310)](){return[w,c]}}function P(t,e){var r=O();return(P=function(t,e){return r[t-=185]})(t,e)}function O(){var t=["3217260AIRlRb","14UxKgiT","3463576MeaArs","711314lxpatn","795256FEWagX","748989lhRYIP","2epBQzI","2563548EdlSnU","1862220BirPNa"];return(O=function(){return t})()}!function(t){for(var e=P,r=t();;)try{if(580991===-parseInt(e(193))/1*(-parseInt(e(190))/2)+parseInt(e(187))/3+-parseInt(e(191))/4+parseInt(e(186))/5+-parseInt(e(185))/6+-parseInt(e(188))/7*(parseInt(e(189))/8)+-parseInt(e(192))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(O)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>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-=123]})(t,r)}function a(){const t=["3553011MMVdHP","isOfficialPlugin","init","label","1242444uZDSVC","iconView","editor","3gAUTXQ","Importing Word document","importWord","6004278euOhBH","componentFactory","344269NjBBWn","bind","pluginName","_createButton","isOn","menuBar:importWord","get","execute","21yDEvWC","set","locale","editing","248135alSDVj","commands","isVisible","Import from Word","focus","children","tooltip","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","8aIuXRH","add","63490MnrbdL","view","isPremiumPlugin","isEnabled","isBusy","ImportWordUI","done","2655016ORMVbE"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(668699===parseInt(r(164))/1+-parseInt(r(156))/2*(-parseInt(r(159))/3)+-parseInt(r(142))/4*(-parseInt(r(134))/5)+parseInt(r(162))/6+-parseInt(r(130))/7*(parseInt(r(151))/8)+-parseInt(r(152))/9+-parseInt(r(144))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(124)](){return o(149)}static get[o(153)](){return!0}static get[o(146)](){return!0}[o(154)](){const t=o,e=this[t(158)];e.ui[t(163)][t(143)](t(161),(()=>{const n=t,i=this[n(125)](r.FileDialogButtonView),o=e[n(135)][n(128)](n(161));return i[n(123)](n(126)).to(o,n(148)),i[n(140)]=!0,i})),e.ui[t(163)][t(143)](t(127),(()=>this[t(125)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(125)](t){const e=o,n=this[e(158)],s=n[e(135)][e(128)](e(161)),a=new t(n[e(132)]),c=new r.SpinnerView;return a[e(131)]({acceptedType:e(141)}),a[e(131)]({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(123)](e(147)).to(s),a[e(123)](e(155)).to(s,e(148),(t=>i(n[e(132)],e(t?160:137)))),c[e(123)](e(136)).to(s,e(148)),a[e(157)][e(123)](e(136)).to(s,e(148),(t=>!t)),a[e(139)][e(143)](c),a.on(e(150),((t,r)=>{const i=e;n[i(129)](i(161),r[0],{}),n[i(133)][i(145)][i(138)]()})),a}}var u=e(331),p=e(783),l=e(584);function d(t,r){const e=f();return(d=function(t,r){return e[t-=137]})(t,r)}const h=d;function f(){const t=["addMarker","isBusy","8535570QLazkb","execute","editing","file","reject","POST","_checkEnabled","finally","locale","2124978iMfINI","import-word-plugin-conversion-failed","plugins","isCollapsed","stringify","headers","config","low","enqueueChange","markers","document","getFirstPosition","createPositionBefore","getRange","MergeFields","refresh","isAtStart","_handleImportResponse","Authorization","formatting","paragraph","catch","630yddfuq","value","3496HBLMZe","stopListening","resolve","setSelection","createBatch","bind","162WTSgQb","isEnabled","getSelectedBlocks","_handleImportFailure","clipboardInput","deleteContent","merge_fields","import-word-plugin-import-cancelled","492306wQUMbx","resolvedOptions","getToken","timeZone","_cleanUpAfterImport","dataInsert","2ukkyXl","root","position","removeMarker","aborted","element","importWord","ImportWordEditing","rootName","Notification","checkChild","createPositionAfter","parent","_prepareForImport","_importMarker","selection","2288432bdrmpg","setData","_undoStepBatch","_sendImportRequest","text/html","split","set","99815fkLywj","abort","signal","json","An error occurred while importing the Word file.","isEmpty","208838Pjdoha","editor","view","_abortController","has","mergeFields","isAtEnd","change:range","get","converterUrl","showWarning","$graveyard","fire","DateTimeFormat","model","html","schema","importWord:","then"];return(f=function(){return t})()}!function(t){const r=d,e=t();for(;;)try{if(529932===parseInt(r(230))/1+-parseInt(r(236))/2*(-parseInt(r(192))/3)+-parseInt(r(149))/4+-parseInt(r(156))/5+-parseInt(r(222))/6*(-parseInt(r(162))/7)+parseInt(r(216))/8*(-parseInt(r(214))/9)+-parseInt(r(183))/10)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(155)](r(182),!1),this[r(147)]=null,this[r(151)]=null,this[r(165)]=null,this.on(r(235),((e,n)=>{const i=r,o=new DataTransfer;o[i(150)](i(153),n[i(177)]);const s=this[i(147)][i(205)]();this[i(163)][i(176)][i(200)](this[i(151)],(r=>{const e=i;this[e(147)][e(217)](),r[e(219)](s),t[e(185)][e(164)][e(202)][e(174)](e(226),{dataTransfer:o})}))}),{priority:r(199)})}[h(207)](){const t=h;this[t(223)]=this[t(189)]()}[h(184)](t,r={}){const e=h;if(this[e(182)])return Promise[e(218)]();const n=this[e(163)][e(198)][e(170)](e(139));if(this[e(163)][e(194)][e(166)](e(206))){const{prefix:t,suffix:n}=this[e(163)][e(198)][e(170)](e(167));r[e(228)]={prefix:t,suffix:n}}const i={url:n[e(171)],file:t,serviceConfig:{...r,formatting:n[e(211)],timezone:(new(Intl[e(175)]))[e(231)]()[e(233)]}};return this[e(146)](),this[e(152)](i)[e(180)](this[e(209)][e(221)](this))[e(213)](this[e(225)][e(221)](this))[e(190)](this[e(234)][e(221)](this))}[h(189)](){const t=h;if(this[t(182)])return!1;const r=this[t(163)][t(176)],e=r[t(178)],n=r[t(202)][t(148)],i=(0,l.first)(n[t(224)]());return!!i&&e[t(143)](i[t(145)],t(212))}[h(146)](){const t=h,r=this[t(163)],e=r[t(176)],n=e[t(202)][t(148)];this[t(165)]=new AbortController,this[t(151)]=r[t(176)][t(220)]({isUndoable:!0}),e[t(200)](this[t(151)],(r=>{const i=t;n[i(195)]||e[i(227)](n,{leaveUnmerged:!0});const o=n[i(203)](),s=(0,l.first)(n[i(224)]());let a;a=s.is(i(138),i(212))&&s[i(161)]?o:o[i(208)]?e[i(204)](s):o[i(168)]?e[i(144)](s):r[i(154)](o)[i(238)],this[i(147)]=r[i(181)](i(179)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(147)].on(i(169),(()=>{const t=i;t(173)===this[t(147)][t(205)]()[t(237)][t(141)]&&this[t(165)][t(157)]()}))})),this[t(182)]=!0,this[t(207)]()}[h(234)](){const t=h,r=this[t(163)][t(176)];r[t(201)][t(166)](this[t(147)])&&r[t(200)](this[t(151)],(r=>{const e=t;r[e(239)](this[e(147)])})),this[t(147)]=null,this[t(151)]=null,this[t(165)]=null,this[t(182)]=!1,this[t(207)]()}[h(152)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(163)][n(194)][n(170)](n(140))[n(232)](),o=new FormData;o[n(155)](n(198),JSON[n(196)](e)),o[n(155)](n(186),r);const s={method:n(188),headers:{},body:o,signal:this[n(165)][n(158)]};return i&&(s[n(197)][n(210)]=i[n(215)]),fetch(t,s)}[h(209)](t){const r=h;return t.ok?t[r(159)]()[r(180)]((t=>{const e=r;this[e(163)][e(176)][e(201)][e(166)](this[e(147)])&&e(173)!==this[e(147)][e(205)]()[e(237)][e(141)]&&this[e(174)](e(235),t)})):Promise[r(187)]()}[h(225)](){const t=h;if(this[t(165)][t(158)][t(137)])return void(0,l.logWarning)(t(229));const r=this[t(163)],e=i(r[t(191)],t(160));r[t(194)][t(170)](t(142))[t(172)](e),(0,l.logError)(t(193))}}function g(t,r){const e=v();return(g=function(t,r){return e[t-=156]})(t,r)}const I=g;function v(){const t=["CloudServices","pluginName","3848764DCUeTw","registerTokenUrl","define","2831130zJpkwq","config","get","isOfficialPlugin","_token","none","6898806rLDSVK","246060ZzjmUp","ImportWordEditing","4940424mLHdKh","commands","550627sNVnEh","init","token","inline","cloudServices","getToken","add","editor","isPremiumPlugin","https://docx-converter.cke-cs.com/v2/convert/docx-html","plugins","119VywZFV","506OWLnBw","tokenUrl","requires","importWord","3360SxuFcR","40FZKXaG"];return(v=function(){return t})()}!function(t){const r=g,e=t();for(;;)try{if(521461===-parseInt(r(178))/1+-parseInt(r(156))/2*(parseInt(r(160))/3)+-parseInt(r(164))/4+parseInt(r(167))/5+-parseInt(r(174))/6*(parseInt(r(189))/7)+-parseInt(r(176))/8+-parseInt(r(173))/9*(-parseInt(r(161))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[I(163)](){return I(175)}static get[I(170)](){return!0}static get[I(186)](){return!0}static get[I(158)](){const t=I;return[r.Notification,u.ClipboardPipeline,t(162)]}constructor(t){const r=I;super(t),this[r(171)]=null}async[I(179)](){const t=I,r=this[t(185)];r[t(168)][t(166)](t(159),{converterUrl:t(187),tokenUrl:(r[t(168)][t(169)](t(182))||{})[t(157)],formatting:{resets:t(172),defaults:t(172),styles:t(181)}}),r[t(177)][t(184)](t(159),new m(r));const{tokenUrl:e}=r[t(168)][t(169)](t(159));if(e){const{tokenUrl:n}=r[t(168)][t(169)](t(182))||{};this[t(171)]=e===n?r[t(188)][t(169)](t(162))[t(180)]:await r[t(188)][t(169)](t(162))[t(165)](e)}}[I(183)](){return this[I(171)]}}function b(t,r){var e=y();return(b=function(t,r){return e[t-=311]})(t,r)}var W=b;function y(){var t=["2560620EXUTQq","210057VdZtOD","3896004BcgIWV","requires","68TreaXL","22dRzwHU","9gbMQFC","isPremiumPlugin","2zFqTfo","182EOylqi","ImportWord","60LAASwz","96YAmAsr","14626760rVcwxx","233255dumSOi","isOfficialPlugin","366191XPtQrx","pluginName","1708249kZPIQE"];return(y=function(){return t})()}!function(t){for(var r=b,e=t();;)try{if(939072===parseInt(r(311))/1*(-parseInt(r(320))/2)+-parseInt(r(313))/3*(parseInt(r(316))/4)+-parseInt(r(326))/5*(parseInt(r(323))/6)+-parseInt(r(328))/7*(parseInt(r(324))/8)+parseInt(r(318))/9*(parseInt(r(325))/10)+-parseInt(r(317))/11*(parseInt(r(312))/12)+-parseInt(r(321))/13*(-parseInt(r(314))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[W(329)](){return W(322)}static get[W(327)](){return!0}static get[W(319)](){return!0}static get[W(315)](){return[w,c]}}function k(t,r){var e=O();return(k=function(t,r){return e[t-=461]})(t,r)}function O(){var t=["5568354LsQXKZ","34308sRawEY","2coZVdR","885KKScNU","4023397xcWOVJ","44292501jRyZMX","6459648puZOkE","1489309uMnMZm","7369740vZihgO"];return(O=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(937772===parseInt(r(464))/1*(parseInt(r(468))/2)+parseInt(r(466))/3+-parseInt(r(467))/4*(-parseInt(r(469))/5)+parseInt(r(465))/6+parseInt(r(461))/7+-parseInt(r(463))/8+-parseInt(r(462))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(O)})(),(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 _0x58d8e7,Command as _0x128c28}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x215e95,MenuBarMenuListItemFileDialogButtonView as _0x2d64da,SpinnerView as _0x56d716,Notification as _0x57caa9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x1ff770}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x2c24a0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x2c1775,uid as _0x3100fa,logWarning as _0x5cb0ed,logError as _0x125539}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x50b550,_0x366ece){const t=_0x50b550['t'];switch(_0x366ece){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 _0x366ece;}}class i extends _0x58d8e7{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e20cf=this['editor'];_0x2e20cf['ui']['componentFactory']['add']('importWord',()=>{const _0x4d7680=this['_createButton'](_0x215e95),_0x54d272=_0x2e20cf['commands']['get']('importWord');return _0x4d7680['bind']('isOn')['to'](_0x54d272,'isBusy'),_0x4d7680['tooltip']=!0x0,_0x4d7680;}),_0x2e20cf['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x2d64da));}['_createButton'](_0x30f274){const _0x3dbc09=this['editor'],_0x398c27=_0x3dbc09['commands']['get']('importWord'),_0x1e2e83=new _0x30f274(_0x3dbc09['locale']),_0xbd5ac2=new _0x56d716();return _0x1e2e83['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x1e2e83['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'}),_0x1e2e83['bind']('isEnabled')['to'](_0x398c27),_0x1e2e83['bind']('label')['to'](_0x398c27,'isBusy',_0x2b2286=>p(_0x3dbc09['locale'],_0x2b2286?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0xbd5ac2['bind']('isVisible')['to'](_0x398c27,'isBusy'),_0x1e2e83['iconView']['bind']('isVisible')['to'](_0x398c27,'isBusy',_0x175191=>!_0x175191),_0x1e2e83['children']['add'](_0xbd5ac2),_0x1e2e83['on']('done',(_0x244e2e,_0x3ee9ee)=>{_0x3dbc09['execute']('importWord',_0x3ee9ee[0x0],{}),_0x3dbc09['editing']['view']['focus']();}),_0x1e2e83;}}class d extends _0x128c28{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x513883){super(_0x513883),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4aee28,_0x37f494)=>{const _0x37dd0d=new DataTransfer();_0x37dd0d['setData']('text/html',_0x37f494['html']);const _0x5bc2d4=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x583773=>{this['_importMarker']['stopListening'](),_0x583773['setSelection'](_0x5bc2d4),_0x513883['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x37dd0d});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2ad3d2,_0x22f774={}){if(this['isBusy'])return Promise['resolve']();const _0x481b49=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0xc8cce1,suffix:_0x2de7c5}=this['editor']['config']['get']('mergeFields');_0x22f774['merge_fields']={'prefix':_0xc8cce1,'suffix':_0x2de7c5};}const _0x4eb819={'url':_0x481b49['converterUrl'],'file':_0x2ad3d2,'serviceConfig':{..._0x22f774,'formatting':_0x481b49['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4eb819)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x5e3f38=this['editor']['model'],_0x3a242b=_0x5e3f38['schema'],_0x3f02f6=_0x5e3f38['document']['selection'],_0x5a4cc1=_0x2c1775(_0x3f02f6['getSelectedBlocks']());return!!_0x5a4cc1&&_0x3a242b['checkChild'](_0x5a4cc1['parent'],'paragraph');}['_prepareForImport'](){const _0x5942f8=this['editor'],_0x8a8a5e=_0x5942f8['model'],_0xcdad41=_0x8a8a5e['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x5942f8['model']['createBatch']({'isUndoable':!0x0}),_0x8a8a5e['enqueueChange'](this['_undoStepBatch'],_0x5b1b62=>{_0xcdad41['isCollapsed']||_0x8a8a5e['deleteContent'](_0xcdad41,{'leaveUnmerged':!0x0});const _0x525548=_0xcdad41['getFirstPosition'](),_0x233e2f=_0x2c1775(_0xcdad41['getSelectedBlocks']());let _0x3000bd;_0x3000bd=_0x233e2f['is']('element','paragraph')&&_0x233e2f['isEmpty']?_0x525548:_0x525548['isAtStart']?_0x8a8a5e['createPositionBefore'](_0x233e2f):_0x525548['isAtEnd']?_0x8a8a5e['createPositionAfter'](_0x233e2f):_0x5b1b62['split'](_0x525548)['position'],this['_importMarker']=_0x5b1b62['addMarker']('importWord:'+_0x3100fa(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x2c24a0(_0x3000bd)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x3e9524=this['editor']['model'];_0x3e9524['markers']['has'](this['_importMarker'])&&_0x3e9524['enqueueChange'](this['_undoStepBatch'],_0x162c04=>{_0x162c04['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x3421fe,file:_0x1f20c3,serviceConfig:_0x140d2a}){const _0x37dc81=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x17d728=new FormData();_0x17d728['set']('config',JSON['stringify'](_0x140d2a)),_0x17d728['set']('file',_0x1f20c3);const _0x17da28={'method':'POST','headers':{},'body':_0x17d728,'signal':this['_abortController']['signal']};return _0x37dc81&&(_0x17da28['headers']['Authorization']=_0x37dc81['value']),fetch(_0x3421fe,_0x17da28);}['_handleImportResponse'](_0x3b27dc){return _0x3b27dc['ok']?_0x3b27dc['json']()['then'](_0x4a777e=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x4a777e);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x5cb0ed('import-word-plugin-import-cancelled');const _0x458f19=this['editor'],_0x169579=p(_0x458f19['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x458f19['plugins']['get']('Notification')['showWarning'](_0x169579),_0x125539('import-word-plugin-conversion-failed');}}class e extends _0x58d8e7{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x57caa9,_0x1ff770,'CloudServices'];}constructor(_0x3f91e0){super(_0x3f91e0),this['_token']=null;}async['init'](){const _0xb365d6=this['editor'];_0xb365d6['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0xb365d6['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0xb365d6['commands']['add']('importWord',new d(_0xb365d6));const {tokenUrl:_0x1d16af}=_0xb365d6['config']['get']('importWord');if(_0x1d16af){const {tokenUrl:_0x11b835}=_0xb365d6['config']['get']('cloudServices')||{};this['_token']=_0x1d16af===_0x11b835?_0xb365d6['plugins']['get']('CloudServices')['token']:await _0xb365d6['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1d16af);}}['getToken'](){return this['_token'];}}class o extends _0x58d8e7{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':_0x41d69b=>0x1!=_0x41d69b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x434b3e=>{const {af:{dictionary:_0x566723,getPluralForm:_0x26deb7}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x20a78e=>0x1!=_0x20a78e}};_0x434b3e['af']||={'dictionary':{},'getPluralForm':null},_0x434b3e['af']['dictionary']=Object['assign'](_0x434b3e['af']['dictionary'],_0x566723),_0x434b3e['af']['getPluralForm']=_0x26deb7;})(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':_0x1710f9=>0x0==_0x1710f9?0x0:0x1==_0x1710f9?0x1:0x2==_0x1710f9?0x2:_0x1710f9%0x64>=0x3&&_0x1710f9%0x64<=0xa?0x3:_0x1710f9%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x592953=>{const {ar:{dictionary:_0x132aef,getPluralForm:_0x55b556}}={'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':_0x1fde8a=>0x0==_0x1fde8a?0x0:0x1==_0x1fde8a?0x1:0x2==_0x1fde8a?0x2:_0x1fde8a%0x64>=0x3&&_0x1fde8a%0x64<=0xa?0x3:_0x1fde8a%0x64>=0xb?0x4:0x5}};_0x592953['ar']||={'dictionary':{},'getPluralForm':null},_0x592953['ar']['dictionary']=Object['assign'](_0x592953['ar']['dictionary'],_0x132aef),_0x592953['ar']['getPluralForm']=_0x55b556;})(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':_0x27cbd6=>0x1!=_0x27cbd6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x282151=>{const {ast:{dictionary:_0x4de40d,getPluralForm:_0xe8ee7a}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3a9b58=>0x1!=_0x3a9b58}};_0x282151['ast']||={'dictionary':{},'getPluralForm':null},_0x282151['ast']['dictionary']=Object['assign'](_0x282151['ast']['dictionary'],_0x4de40d),_0x282151['ast']['getPluralForm']=_0xe8ee7a;})(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':_0x13774c=>0x1!=_0x13774c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x18530b=>{const {az:{dictionary:_0x2ebd72,getPluralForm:_0x1e759f}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2a3f36=>0x1!=_0x2a3f36}};_0x18530b['az']||={'dictionary':{},'getPluralForm':null},_0x18530b['az']['dictionary']=Object['assign'](_0x18530b['az']['dictionary'],_0x2ebd72),_0x18530b['az']['getPluralForm']=_0x1e759f;})(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':_0x36c9e7=>0x1!=_0x36c9e7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ba7f7=>{const {bg:{dictionary:_0x34d1a8,getPluralForm:_0x12de28}}={'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':_0x3135ff=>0x1!=_0x3135ff}};_0x4ba7f7['bg']||={'dictionary':{},'getPluralForm':null},_0x4ba7f7['bg']['dictionary']=Object['assign'](_0x4ba7f7['bg']['dictionary'],_0x34d1a8),_0x4ba7f7['bg']['getPluralForm']=_0x12de28;})(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':_0x47810a=>0x1!=_0x47810a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x768abc=>{const {bn:{dictionary:_0x41d9f6,getPluralForm:_0x242ed6}}={'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':_0x391eeb=>0x1!=_0x391eeb}};_0x768abc['bn']||={'dictionary':{},'getPluralForm':null},_0x768abc['bn']['dictionary']=Object['assign'](_0x768abc['bn']['dictionary'],_0x41d9f6),_0x768abc['bn']['getPluralForm']=_0x242ed6;})(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':_0x3a2048=>_0x3a2048%0xa==0x1&&_0x3a2048%0x64!=0xb?0x0:_0x3a2048%0xa>=0x2&&_0x3a2048%0xa<=0x4&&(_0x3a2048%0x64<0xa||_0x3a2048%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xdfe8d1=>{const {bs:{dictionary:_0x3db84d,getPluralForm:_0x1f8a30}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x342c53=>_0x342c53%0xa==0x1&&_0x342c53%0x64!=0xb?0x0:_0x342c53%0xa>=0x2&&_0x342c53%0xa<=0x4&&(_0x342c53%0x64<0xa||_0x342c53%0x64>=0x14)?0x1:0x2}};_0xdfe8d1['bs']||={'dictionary':{},'getPluralForm':null},_0xdfe8d1['bs']['dictionary']=Object['assign'](_0xdfe8d1['bs']['dictionary'],_0x3db84d),_0xdfe8d1['bs']['getPluralForm']=_0x1f8a30;})(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':_0x4b8cca=>0x1!=_0x4b8cca}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4782d1=>{const {ca:{dictionary:_0x4ef1ab,getPluralForm:_0x3b507d}}={'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':_0x4c163e=>0x1!=_0x4c163e}};_0x4782d1['ca']||={'dictionary':{},'getPluralForm':null},_0x4782d1['ca']['dictionary']=Object['assign'](_0x4782d1['ca']['dictionary'],_0x4ef1ab),_0x4782d1['ca']['getPluralForm']=_0x3b507d;})(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':_0x4f04d8=>0x1==_0x4f04d8?0x0:_0x4f04d8>=0x2&&_0x4f04d8<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2da045=>{const {cs:{dictionary:_0x56afec,getPluralForm:_0x214057}}={'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':_0x3ce5ef=>0x1==_0x3ce5ef?0x0:_0x3ce5ef>=0x2&&_0x3ce5ef<=0x4?0x1:0x2}};_0x2da045['cs']||={'dictionary':{},'getPluralForm':null},_0x2da045['cs']['dictionary']=Object['assign'](_0x2da045['cs']['dictionary'],_0x56afec),_0x2da045['cs']['getPluralForm']=_0x214057;})(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':_0x2ce17a=>0x1!=_0x2ce17a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15a15f=>{const {da:{dictionary:_0x56016d,getPluralForm:_0x2fde71}}={'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':_0x35737c=>0x1!=_0x35737c}};_0x15a15f['da']||={'dictionary':{},'getPluralForm':null},_0x15a15f['da']['dictionary']=Object['assign'](_0x15a15f['da']['dictionary'],_0x56016d),_0x15a15f['da']['getPluralForm']=_0x2fde71;})(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':_0x47d7d3=>0x1!=_0x47d7d3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5dfe01=>{const {'de-ch':{dictionary:_0x3f93d8,getPluralForm:_0x26cd6a}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x58d5a7=>0x1!=_0x58d5a7}};_0x5dfe01['de-ch']||={'dictionary':{},'getPluralForm':null},_0x5dfe01['de-ch']['dictionary']=Object['assign'](_0x5dfe01['de-ch']['dictionary'],_0x3f93d8),_0x5dfe01['de-ch']['getPluralForm']=_0x26cd6a;})(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':_0x209762=>0x1!=_0x209762}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2275a1=>{const {de:{dictionary:_0x29372c,getPluralForm:_0x1fc00c}}={'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':_0x4785d8=>0x1!=_0x4785d8}};_0x2275a1['de']||={'dictionary':{},'getPluralForm':null},_0x2275a1['de']['dictionary']=Object['assign'](_0x2275a1['de']['dictionary'],_0x29372c),_0x2275a1['de']['getPluralForm']=_0x1fc00c;})(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':_0x501939=>0x1!=_0x501939}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e58fd=>{const {el:{dictionary:_0x3f7d99,getPluralForm:_0x2648db}}={'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':_0x468f73=>0x1!=_0x468f73}};_0x2e58fd['el']||={'dictionary':{},'getPluralForm':null},_0x2e58fd['el']['dictionary']=Object['assign'](_0x2e58fd['el']['dictionary'],_0x3f7d99),_0x2e58fd['el']['getPluralForm']=_0x2648db;})(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':_0x2624df=>0x1!=_0x2624df}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24e2c8=>{const {'en-au':{dictionary:_0x1e1f54,getPluralForm:_0x133285}}={'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':_0x3548fb=>0x1!=_0x3548fb}};_0x24e2c8['en-au']||={'dictionary':{},'getPluralForm':null},_0x24e2c8['en-au']['dictionary']=Object['assign'](_0x24e2c8['en-au']['dictionary'],_0x1e1f54),_0x24e2c8['en-au']['getPluralForm']=_0x133285;})(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':_0x5e724e=>0x1!=_0x5e724e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe62f37=>{const {'en-gb':{dictionary:_0xadf45e,getPluralForm:_0xa60dd9}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x145681=>0x1!=_0x145681}};_0xe62f37['en-gb']||={'dictionary':{},'getPluralForm':null},_0xe62f37['en-gb']['dictionary']=Object['assign'](_0xe62f37['en-gb']['dictionary'],_0xadf45e),_0xe62f37['en-gb']['getPluralForm']=_0xa60dd9;})(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':_0x23e867=>0x1!=_0x23e867}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5710d3=>{const {en:{dictionary:_0x48d2ab,getPluralForm:_0x5d517b}}={'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':_0x45eb5e=>0x1!=_0x45eb5e}};_0x5710d3['en']||={'dictionary':{},'getPluralForm':null},_0x5710d3['en']['dictionary']=Object['assign'](_0x5710d3['en']['dictionary'],_0x48d2ab),_0x5710d3['en']['getPluralForm']=_0x5d517b;})(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':_0x24ee58=>0x1!=_0x24ee58}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x21e1bf=>{const {eo:{dictionary:_0x8ae347,getPluralForm:_0x2a928f}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5f2a88=>0x1!=_0x5f2a88}};_0x21e1bf['eo']||={'dictionary':{},'getPluralForm':null},_0x21e1bf['eo']['dictionary']=Object['assign'](_0x21e1bf['eo']['dictionary'],_0x8ae347),_0x21e1bf['eo']['getPluralForm']=_0x2a928f;})(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':_0x45cc64=>0x1!=_0x45cc64}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x137259=>{const {'es-co':{dictionary:_0x171d4e,getPluralForm:_0x22e1ec}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x8b9bd3=>0x1!=_0x8b9bd3}};_0x137259['es-co']||={'dictionary':{},'getPluralForm':null},_0x137259['es-co']['dictionary']=Object['assign'](_0x137259['es-co']['dictionary'],_0x171d4e),_0x137259['es-co']['getPluralForm']=_0x22e1ec;})(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':_0x54d59c=>0x1!=_0x54d59c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x251d73=>{const {es:{dictionary:_0x33d7c0,getPluralForm:_0x3b3259}}={'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':_0x694b48=>0x1!=_0x694b48}};_0x251d73['es']||={'dictionary':{},'getPluralForm':null},_0x251d73['es']['dictionary']=Object['assign'](_0x251d73['es']['dictionary'],_0x33d7c0),_0x251d73['es']['getPluralForm']=_0x3b3259;})(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':_0x1f8eee=>0x1!=_0x1f8eee}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2eca69=>{const {et:{dictionary:_0x130ac6,getPluralForm:_0x546734}}={'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':_0x35a619=>0x1!=_0x35a619}};_0x2eca69['et']||={'dictionary':{},'getPluralForm':null},_0x2eca69['et']['dictionary']=Object['assign'](_0x2eca69['et']['dictionary'],_0x130ac6),_0x2eca69['et']['getPluralForm']=_0x546734;})(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':_0x53c0a1=>0x1!=_0x53c0a1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x331bc8=>{const {eu:{dictionary:_0x34717a,getPluralForm:_0x593b9f}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x21622e=>0x1!=_0x21622e}};_0x331bc8['eu']||={'dictionary':{},'getPluralForm':null},_0x331bc8['eu']['dictionary']=Object['assign'](_0x331bc8['eu']['dictionary'],_0x34717a),_0x331bc8['eu']['getPluralForm']=_0x593b9f;})(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':_0x4d9754=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1e1ee5=>{const {fa:{dictionary:_0x1d7838,getPluralForm:_0x4abd85}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x34e827=>0x0}};_0x1e1ee5['fa']||={'dictionary':{},'getPluralForm':null},_0x1e1ee5['fa']['dictionary']=Object['assign'](_0x1e1ee5['fa']['dictionary'],_0x1d7838),_0x1e1ee5['fa']['getPluralForm']=_0x4abd85;})(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':_0x12f4fe=>0x1!=_0x12f4fe}};
|