@ckeditor/ckeditor5-import-word 0.0.0-nightly-20241219.0 → 0.0.0-nightly-20241219.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 +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>b,ImportWordEditing:()=>v,ImportWordUI:()=>c});var t=e(782),r=e(311);function o(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const i=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=273]})(t,r)}function a(){const t=["editing","pluginName","232HwWwED","340eThkhx","15mMNvTf","execute","done","init","_createButton","isOn","100428QkapJS","commands","11fNqBwT","isPremiumPlugin","isBusy","locale","label","33606wNuaXd","menuBar:importWord","tooltip","isVisible","ImportWordUI","importWord","14513196FRKkSz","isOfficialPlugin","2151540oIFHOl","focus","8hjLjPO","set","editor","bind","add","view","Import from Word","583090SNkQVU","601465MSjTcr","componentFactory","Importing Word document","59101tumOtC","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","children","iconView","isEnabled","get"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(352819===parseInt(r(302))/1+parseInt(r(277))/2*(parseInt(r(315))/3)+-parseInt(r(294))/4*(-parseInt(r(301))/5)+parseInt(r(292))/6+-parseInt(r(305))/7*(-parseInt(r(313))/8)+parseInt(r(284))/9*(-parseInt(r(314))/10)+parseInt(r(279))/11*(-parseInt(r(290))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[i(312)](){return i(288)}static get[i(291)](){return!0}static get[i(280)](){return!0}[i(274)](){const t=i,e=this[t(296)];e.ui[t(303)][t(298)](t(289),(()=>{const n=t,o=this[n(275)](r.FileDialogButtonView),i=e[n(278)][n(310)](n(289));return o[n(297)](n(276)).to(i,n(281)),o[n(286)]=!0,o})),e.ui[t(303)][t(298)](t(285),(()=>this[t(275)](r.MenuBarMenuListItemFileDialogButtonView)))}[i(275)](t){const e=i,n=this[e(296)],s=n[e(278)][e(310)](e(289)),a=new t(n[e(282)]),c=new r.SpinnerView;return a[e(295)]({acceptedType:e(306)}),a[e(295)]({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(297)](e(309)).to(s),a[e(297)](e(283)).to(s,e(281),(t=>o(n[e(282)],e(t?304:300)))),c[e(297)](e(287)).to(s,e(281)),a[e(308)][e(297)](e(287)).to(s,e(281),(t=>!t)),a[e(307)][e(298)](c),a.on(e(273),((t,r)=>{const o=e;n[o(316)](o(289),r[0],{}),n[o(311)][o(299)][o(293)]()})),a}}var u=e(331),p=e(783),l=e(584);function h(){const t=["clipboardInput","headers","finally","document","abort","view","5120430oxykPN","setData","plugins","_sendImportRequest","72541fGpHOI","merge_fields","createBatch","checkChild","removeMarker","deleteContent","position","112410GOELEw","refresh","110Yuxkqa","dataInsert","getToken","low","change:range","_handleImportResponse","config","enqueueChange","converterUrl","paragraph","rootName","bind","import-word-plugin-conversion-failed","formatting","showWarning","Notification","287RsjLkh","has","html","1774719edRWau","value","importWord:","isEnabled","set","resolvedOptions","mergeFields","element","_checkEnabled","text/html","fire","execute","isBusy","resolve","16RlpOxr","selection","_importMarker","3547128gYDMYr","_prepareForImport","json","$graveyard","getSelectedBlocks","import-word-plugin-import-cancelled","isEmpty","createPositionAfter","catch","parent","stringify","getRange","ImportWordEditing","file","aborted","stopListening","_cleanUpAfterImport","get","reject","isAtStart","_handleImportFailure","addMarker","createPositionBefore","isAtEnd","_abortController","DateTimeFormat","editing","signal","importWord","locale","editor","then","_undoStepBatch","4176088yqgDGH","MergeFields","model","setSelection","POST","isCollapsed","Authorization","getFirstPosition","schema","markers","root","96282mARZCY","timeZone","split","An error occurred while importing the Word file."];return(h=function(){return t})()}const d=f;function f(t,r){const e=h();return(f=function(t,r){return e[t-=360]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(609948===-parseInt(r(362))/1+-parseInt(r(404))/2*(-parseInt(r(451))/3)+-parseInt(r(440))/4+-parseInt(r(461))/5+parseInt(r(369))/6*(parseInt(r(387))/7)+-parseInt(r(407))/8+-parseInt(r(390))/9*(-parseInt(r(371))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class m extends t.Command{constructor(t){const r=f;super(t),this[r(394)](r(402),!1),this[r(406)]=null,this[r(439)]=null,this[r(431)]=null,this.on(r(372),((e,n)=>{const o=r,i=new DataTransfer;i[o(462)](o(399),n[o(389)]);const s=this[o(406)][o(418)]();this[o(437)][o(442)][o(378)](this[o(439)],(r=>{const e=o;this[e(406)][e(422)](),r[e(443)](s),t[e(433)][e(460)][e(458)][e(400)](e(455),{dataTransfer:i})}))}),{priority:r(374)})}[d(370)](){const t=d;this[t(393)]=this[t(398)]()}[d(401)](t,r={}){const e=d;if(this[e(402)])return Promise[e(403)]();const n=this[e(437)][e(377)][e(424)](e(435));if(this[e(437)][e(360)][e(388)](e(441))){const{prefix:t,suffix:n}=this[e(437)][e(377)][e(424)](e(396));r[e(363)]={prefix:t,suffix:n}}const o={url:n[e(379)],file:t,serviceConfig:{...r,formatting:n[e(384)],timezone:(new(Intl[e(432)]))[e(395)]()[e(452)]}};return this[e(408)](),this[e(361)](o)[e(438)](this[e(376)][e(382)](this))[e(415)](this[e(427)][e(382)](this))[e(457)](this[e(423)][e(382)](this))}[d(398)](){const t=d;if(this[t(402)])return!1;const r=this[t(437)][t(442)],e=r[t(448)],n=r[t(458)][t(405)],o=(0,l.first)(n[t(411)]());return!!o&&e[t(365)](o[t(416)],t(380))}[d(408)](){const t=d,r=this[t(437)],e=r[t(442)],n=e[t(458)][t(405)];this[t(431)]=new AbortController,this[t(439)]=r[t(442)][t(364)]({isUndoable:!0}),e[t(378)](this[t(439)],(r=>{const o=t;n[o(445)]||e[o(367)](n,{leaveUnmerged:!0});const i=n[o(447)](),s=(0,l.first)(n[o(411)]());let a;a=s.is(o(397),o(380))&&s[o(413)]?i:i[o(426)]?e[o(429)](s):i[o(430)]?e[o(414)](s):r[o(453)](i)[o(368)],this[o(406)]=r[o(428)](o(392)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[o(406)].on(o(375),(()=>{const t=o;t(410)===this[t(406)][t(418)]()[t(450)][t(381)]&&this[t(431)][t(459)]()}))})),this[t(402)]=!0,this[t(370)]()}[d(423)](){const t=d,r=this[t(437)][t(442)];r[t(449)][t(388)](this[t(406)])&&r[t(378)](this[t(439)],(r=>{const e=t;r[e(366)](this[e(406)])})),this[t(406)]=null,this[t(439)]=null,this[t(431)]=null,this[t(402)]=!1,this[t(370)]()}[d(361)]({url:t,file:r,serviceConfig:e}){const n=d,o=this[n(437)][n(360)][n(424)](n(419))[n(373)](),i=new FormData;i[n(394)](n(377),JSON[n(417)](e)),i[n(394)](n(420),r);const s={method:n(444),headers:{},body:i,signal:this[n(431)][n(434)]};return o&&(s[n(456)][n(446)]=o[n(391)]),fetch(t,s)}[d(376)](t){const r=d;return t.ok?t[r(409)]()[r(438)]((t=>{const e=r;this[e(437)][e(442)][e(449)][e(388)](this[e(406)])&&e(410)!==this[e(406)][e(418)]()[e(450)][e(381)]&&this[e(400)](e(372),t)})):Promise[r(425)]()}[d(427)](){const t=d;if(this[t(431)][t(434)][t(421)])return void(0,l.logWarning)(t(412));const r=this[t(437)],e=o(r[t(436)],t(454));r[t(360)][t(424)](t(386))[t(385)](e),(0,l.logError)(t(383))}}const g=I;function I(t,r){const e=w();return(I=function(t,r){return e[t-=367]})(t,r)}!function(t){const r=I,e=t();for(;;)try{if(866122===-parseInt(r(373))/1+-parseInt(r(392))/2*(parseInt(r(378))/3)+-parseInt(r(381))/4+parseInt(r(370))/5*(parseInt(r(402))/6)+-parseInt(r(389))/7*(parseInt(r(390))/8)+-parseInt(r(382))/9*(-parseInt(r(386))/10)+parseInt(r(380))/11*(parseInt(r(401))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class v extends t.Plugin{static get[g(396)](){return g(374)}static get[g(387)](){return!0}static get[g(388)](){return!0}static get[g(376)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(379)]}constructor(t){const r=g;super(t),this[r(375)]=null}async[g(393)](){const t=g,r=this[t(368)];r[t(398)][t(385)](t(367),{converterUrl:t(369),tokenUrl:(r[t(398)][t(377)](t(395))||{})[t(372)],formatting:{resets:t(397),defaults:t(397),styles:t(391)}}),r[t(383)][t(394)](t(367),new m(r));const{tokenUrl:e}=r[t(398)][t(377)](t(367));if(e){const{tokenUrl:n}=r[t(398)][t(377)](t(395))||{};this[t(375)]=e===n?r[t(400)][t(377)](t(379))[t(384)]:await r[t(400)][t(377)](t(379))[t(371)](e)}}[g(399)](){return this[g(375)]}}function w(){const t=["isOfficialPlugin","isPremiumPlugin","11704MGmhpm","6168AmoLZT","inline","19448EuooNq","init","add","cloudServices","pluginName","none","config","getToken","plugins","36NhClOf","24492gAlxTz","importWord","editor","https://docx-converter.cke-cs.com/v2/convert/docx-html","300rVKzyK","registerTokenUrl","tokenUrl","105516NvRzfF","ImportWordEditing","_token","requires","get","156TtOHkL","CloudServices","5853771bRmCsk","2568140RnmbPh","9rXkHon","commands","token","define","15670300vCnQxD"];return(w=function(){return t})()}var x=k;function k(t,r){var e=W();return(k=function(t,r){return e[t-=270]})(t,r)}function W(){var t=["12158vxGJzW","4119912eoAhMl","6OqTlom","11sGbodr","5084370MBllSs","isOfficialPlugin","567MCjxKz","5310925LVHxJj","ImportWord","168BHcciQ","62720150GtzcTQ","requires","964616DszVFY","581616jJhHnk","pluginName","isPremiumPlugin"];return(W=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(886387===-parseInt(r(283))/1+parseInt(r(271))/2*(-parseInt(r(277))/3)+-parseInt(r(272))/4+parseInt(r(278))/5*(-parseInt(r(273))/6)+-parseInt(r(284))/7*(parseInt(r(280))/8)+parseInt(r(275))/9+parseInt(r(281))/10*(parseInt(r(274))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class b extends t.Plugin{static get[x(285)](){return x(279)}static get[x(276)](){return!0}static get[x(270)](){return!0}static get[x(282)](){return[v,c]}}function y(t,r){var e=O();return(y=function(t,r){return e[t-=177]})(t,r)}function O(){var t=["3033636uCsiya","10oEtWrA","4969816PvhCta","183367HXhzAe","7592718CJictH","3378186UNYGpZ","9HuYlEG","2738170rjnGur","560082afNxpy"];return(O=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(618950===-parseInt(r(184))/1*(-parseInt(r(182))/2)+-parseInt(r(180))/3+-parseInt(r(181))/4+parseInt(r(179))/5+parseInt(r(177))/6+-parseInt(r(185))/7+-parseInt(r(183))/8*(-parseInt(r(178))/9))break;e.push(e.shift())}catch(t){e.push(e.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:()=>k,ImportWordEditing:()=>w,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}}const o=s;function s(t,r){const e=c();return(s=function(t,r){return e[t-=288]})(t,r)}!function(t){const r=s,e=t();for(;;)try{if(133609===parseInt(r(322))/1+-parseInt(r(298))/2*(-parseInt(r(300))/3)+parseInt(r(296))/4*(parseInt(r(313))/5)+-parseInt(r(311))/6*(parseInt(r(299))/7)+-parseInt(r(330))/8+-parseInt(r(321))/9*(parseInt(r(326))/10)+parseInt(r(302))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c);class a extends t.Plugin{static get[o(288)](){return o(328)}static get[o(295)](){return!0}static get[o(294)](){return!0}[o(297)](){const t=o,e=this[t(327)];e.ui[t(290)][t(319)](t(309),(()=>{const n=t,i=this[n(303)](r.FileDialogButtonView),o=e[n(318)][n(292)](n(309));return i[n(306)](n(291)).to(o,n(307)),i[n(289)]=!0,i})),e.ui[t(290)][t(319)](t(323),(()=>this[t(303)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(303)](t){const e=o,n=this[e(327)],s=n[e(318)][e(292)](e(309)),a=new t(n[e(324)]),c=new r.SpinnerView;return a[e(314)]({acceptedType:e(305)}),a[e(314)]({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(306)](e(304)).to(s),a[e(306)](e(310)).to(s,e(307),(t=>i(n[e(324)],e(t?329:312)))),c[e(306)](e(301)).to(s,e(307)),a[e(320)][e(306)](e(301)).to(s,e(307),(t=>!t)),a[e(308)][e(319)](c),a.on(e(315),((t,r)=>{const i=e;n[i(293)](i(309),r[0],{}),n[i(325)][i(316)][i(317)]()})),a}}function c(){const t=["84qszOdJ","init","8nuUUzF","182329uOkcBf","83019QmwArr","isVisible","5525025EFWUZT","_createButton","isEnabled","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","bind","isBusy","children","importWord","label","60UGwRnl","Import from Word","9505XGhbQe","set","done","view","focus","commands","add","iconView","225468RSFdGr","127583KSZiai","menuBar:importWord","locale","editing","100FnTgzR","editor","ImportWordUI","Importing Word document","1086976ffzdpa","pluginName","tooltip","componentFactory","isOn","get","execute","isPremiumPlugin","isOfficialPlugin"];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-=456]})(t,r)}function f(){const t=["config","4397048bzDhDD","position","change:range","import-word-plugin-import-cancelled","resolve","importWord:","signal","locale","element","selection","addMarker","refresh","isAtStart","getFirstPosition","getRange","document","json","then","editing","deleteContent","text/html","reject","bind","checkChild","merge_fields","markers","setSelection","POST","abort","get","has","_sendImportRequest","setData","Notification","createBatch","An error occurred while importing the Word file.","9259327EfuOYb","_handleImportFailure","split","ImportWordEditing","headers","_handleImportResponse","MergeFields","stopListening","stringify","Authorization","getToken","createPositionBefore","import-word-plugin-conversion-failed","826UiwQDb","2587490AbGEey","$graveyard","1731390woOkAv","9znWMHU","isCollapsed","editor","createPositionAfter","importWord","set","model","clipboardInput","html","timeZone","_checkEnabled","aborted","root","721iQfBRa","enqueueChange","converterUrl","isEmpty","low","_prepareForImport","isAtEnd","577076kuJjBu","showWarning","dataInsert","removeMarker","2374giIEca","_abortController","DateTimeFormat","isEnabled","execute","_cleanUpAfterImport","parent","schema","_undoStepBatch","isBusy","paragraph","plugins","file","18wTGNxF","value","_importMarker","fire","view","formatting","catch","finally","rootName","mergeFields","getSelectedBlocks","resolvedOptions","25032wAKzdh"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(492331===-parseInt(r(494))/1*(-parseInt(r(466))/2)+-parseInt(r(507))/3*(parseInt(r(490))/4)+-parseInt(r(467))/5+parseInt(r(519))/6*(parseInt(r(483))/7)+parseInt(r(521))/8*(-parseInt(r(470))/9)+parseInt(r(469))/10+parseInt(r(557))/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(475)](r(503),!1),this[r(509)]=null,this[r(502)]=null,this[r(495)]=null,this.on(r(492),((e,n)=>{const i=r,o=new DataTransfer;o[i(553)](i(541),n[i(478)]);const s=this[i(509)][i(535)]();this[i(472)][i(476)][i(484)](this[i(502)],(r=>{const e=i;this[e(509)][e(460)](),r[e(547)](s),t[e(539)][e(511)][e(536)][e(510)](e(477),{dataTransfer:o})}))}),{priority:r(487)})}[d(532)](){const t=d;this[t(497)]=this[t(480)]()}[d(498)](t,r={}){const e=d;if(this[e(503)])return Promise[e(525)]();const n=this[e(472)][e(520)][e(550)](e(474));if(this[e(472)][e(505)][e(551)](e(459))){const{prefix:t,suffix:n}=this[e(472)][e(520)][e(550)](e(516));r[e(545)]={prefix:t,suffix:n}}const i={url:n[e(485)],file:t,serviceConfig:{...r,formatting:n[e(512)],timezone:(new(Intl[e(496)]))[e(518)]()[e(479)]}};return this[e(488)](),this[e(552)](i)[e(538)](this[e(458)][e(543)](this))[e(513)](this[e(558)][e(543)](this))[e(514)](this[e(499)][e(543)](this))}[d(480)](){const t=d;if(this[t(503)])return!1;const r=this[t(472)][t(476)],e=r[t(501)],n=r[t(536)][t(530)],i=(0,l.first)(n[t(517)]());return!!i&&e[t(544)](i[t(500)],t(504))}[d(488)](){const t=d,r=this[t(472)],e=r[t(476)],n=e[t(536)][t(530)];this[t(495)]=new AbortController,this[t(502)]=r[t(476)][t(555)]({isUndoable:!0}),e[t(484)](this[t(502)],(r=>{const i=t;n[i(471)]||e[i(540)](n,{leaveUnmerged:!0});const o=n[i(534)](),s=(0,l.first)(n[i(517)]());let a;a=s.is(i(529),i(504))&&s[i(486)]?o:o[i(533)]?e[i(464)](s):o[i(489)]?e[i(473)](s):r[i(559)](o)[i(522)],this[i(509)]=r[i(531)](i(526)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(509)].on(i(523),(()=>{const t=i;t(468)===this[t(509)][t(535)]()[t(482)][t(515)]&&this[t(495)][t(549)]()}))})),this[t(503)]=!0,this[t(532)]()}[d(499)](){const t=d,r=this[t(472)][t(476)];r[t(546)][t(551)](this[t(509)])&&r[t(484)](this[t(502)],(r=>{const e=t;r[e(493)](this[e(509)])})),this[t(509)]=null,this[t(502)]=null,this[t(495)]=null,this[t(503)]=!1,this[t(532)]()}[d(552)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(472)][n(505)][n(550)](n(456))[n(463)](),o=new FormData;o[n(475)](n(520),JSON[n(461)](e)),o[n(475)](n(506),r);const s={method:n(548),headers:{},body:o,signal:this[n(495)][n(527)]};return i&&(s[n(457)][n(462)]=i[n(508)]),fetch(t,s)}[d(458)](t){const r=d;return t.ok?t[r(537)]()[r(538)]((t=>{const e=r;this[e(472)][e(476)][e(546)][e(551)](this[e(509)])&&e(468)!==this[e(509)][e(535)]()[e(482)][e(515)]&&this[e(510)](e(492),t)})):Promise[r(542)]()}[d(558)](){const t=d;if(this[t(495)][t(527)][t(481)])return void(0,l.logWarning)(t(524));const r=this[t(472)],e=i(r[t(528)],t(556));r[t(505)][t(550)](t(554))[t(491)](e),(0,l.logError)(t(465))}}const g=v;function I(){const t=["isPremiumPlugin","commands","get","token","define","cloudServices","18078mvSdCx","20PRgkLo","8809029AlKqtf","getToken","8OCQWkF","pluginName","ImportWordEditing","5363260vjWlFu","590680kfZusX","requires","79923GBXCjD","registerTokenUrl","259ZRhsAY","4881320wRarEj","importWord","_token","https://docx-converter.cke-cs.com/v2/convert/docx-html","2336650PaBbrD","none","editor","init","tokenUrl","plugins","add","config","isOfficialPlugin","CloudServices","inline"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=306]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(658026===parseInt(r(323))/1+parseInt(r(316))/2*(parseInt(r(325))/3)+-parseInt(r(328))/4+parseInt(r(332))/5+-parseInt(r(315))/6*(-parseInt(r(327))/7)+-parseInt(r(319))/8*(-parseInt(r(317))/9)+-parseInt(r(322))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(320)](){return g(321)}static get[g(306)](){return!0}static get[g(309)](){return!0}static get[g(324)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(307)]}constructor(t){const r=g;super(t),this[r(330)]=null}async[g(335)](){const t=g,r=this[t(334)];r[t(339)][t(313)](t(329),{converterUrl:t(331),tokenUrl:(r[t(339)][t(311)](t(314))||{})[t(336)],formatting:{resets:t(333),defaults:t(333),styles:t(308)}}),r[t(310)][t(338)](t(329),new m(r));const{tokenUrl:e}=r[t(339)][t(311)](t(329));if(e){const{tokenUrl:n}=r[t(339)][t(311)](t(314))||{};this[t(330)]=e===n?r[t(337)][t(311)](t(307))[t(312)]:await r[t(337)][t(311)](t(307))[t(326)](e)}}[g(318)](){return this[g(330)]}}var b=y;function W(){var t=["304VlSxKn","2928rXCAhn","isOfficialPlugin","900911vupFwq","4791627vuvjgC","10UuIfCs","1504428ECfRDj","869YtJmll","4498146GeprAG","pluginName","requires","82299hFIpkD","isPremiumPlugin","5ogniqs","ImportWord","215844DeNqDS","198CbdzgN"];return(W=function(){return t})()}function y(t,r){var e=W();return(y=function(t,r){return e[t-=415]})(t,r)}!function(t){for(var r=y,e=t();;)try{if(651488===-parseInt(r(426))/1+-parseInt(r(429))/2+parseInt(r(422))/3*(parseInt(r(424))/4)+-parseInt(r(419))/5*(-parseInt(r(431))/6)+parseInt(r(417))/7*(-parseInt(r(423))/8)+-parseInt(r(427))/9*(-parseInt(r(428))/10)+parseInt(r(430))/11*(parseInt(r(421))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class k extends t.Plugin{static get[b(415)](){return b(420)}static get[b(425)](){return!0}static get[b(418)](){return!0}static get[b(416)](){return[w,a]}}function x(){var t=["2477525ysoUgz","3635456MbQRBo","1223316PfjmHh","140BMhtKH","9LJocgY","5514nFLXDv","105396TshIpQ","390aYVfcU","8652620CiaEIv","35391rQVLyl"];return(x=function(){return t})()}function P(t,r){var e=x();return(P=function(t,r){return e[t-=422]})(t,r)}!function(t){for(var r=P,e=t();;)try{if(362203===-parseInt(r(424))/1+parseInt(r(422))/2*(parseInt(r(430))/3)+parseInt(r(427))/4+parseInt(r(425))/5+parseInt(r(431))/6*(-parseInt(r(428))/7)+parseInt(r(426))/8+-parseInt(r(429))/9*(parseInt(r(423))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2d37f6,Command as _0x34917e}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0xab7398,MenuBarMenuListItemFileDialogButtonView as _0x2e7acd,SpinnerView as _0x2902bc,Notification as _0x8350f2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x527d49}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x5905d2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x3e0690,uid as _0x51ade1,logWarning as _0x58c69f,logError as _0x350ba4}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x2f6bb0,_0x2648f2){const t=_0x2f6bb0['t'];switch(_0x2648f2){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 _0x2648f2;}}class i extends _0x2d37f6{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x440251=this['editor'];_0x440251['ui']['componentFactory']['add']('importWord',()=>{const _0x33e83d=this['_createButton'](_0xab7398),_0x50ce0f=_0x440251['commands']['get']('importWord');return _0x33e83d['bind']('isOn')['to'](_0x50ce0f,'isBusy'),_0x33e83d['tooltip']=!0x0,_0x33e83d;}),_0x440251['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x2e7acd));}['_createButton'](_0x9700c3){const _0x23b011=this['editor'],_0x39e82c=_0x23b011['commands']['get']('importWord'),_0xba2beb=new _0x9700c3(_0x23b011['locale']),_0x98ac17=new _0x2902bc();return _0xba2beb['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0xba2beb['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'}),_0xba2beb['bind']('isEnabled')['to'](_0x39e82c),_0xba2beb['bind']('label')['to'](_0x39e82c,'isBusy',_0x150c39=>p(_0x23b011['locale'],_0x150c39?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x98ac17['bind']('isVisible')['to'](_0x39e82c,'isBusy'),_0xba2beb['iconView']['bind']('isVisible')['to'](_0x39e82c,'isBusy',_0x17579f=>!_0x17579f),_0xba2beb['children']['add'](_0x98ac17),_0xba2beb['on']('done',(_0x17daac,_0x151353)=>{_0x23b011['execute']('importWord',_0x151353[0x0],{}),_0x23b011['editing']['view']['focus']();}),_0xba2beb;}}class d extends _0x34917e{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x35803c){super(_0x35803c),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x12d829,_0x3586a4)=>{const _0xb4b032=new DataTransfer();_0xb4b032['setData']('text/html',_0x3586a4['html']);const _0x36462b=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0xee8b9f=>{this['_importMarker']['stopListening'](),_0xee8b9f['setSelection'](_0x36462b),_0x35803c['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0xb4b032});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x553676,_0x52d83b={}){if(this['isBusy'])return Promise['resolve']();const _0x4eb754=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x1db46c,suffix:_0x26f93b}=this['editor']['config']['get']('mergeFields');_0x52d83b['merge_fields']={'prefix':_0x1db46c,'suffix':_0x26f93b};}const _0x20aa21={'url':_0x4eb754['converterUrl'],'file':_0x553676,'serviceConfig':{..._0x52d83b,'formatting':_0x4eb754['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x20aa21)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x21647e=this['editor']['model'],_0x45c146=_0x21647e['schema'],_0x2e8c7b=_0x21647e['document']['selection'],_0x41e756=_0x3e0690(_0x2e8c7b['getSelectedBlocks']());return!!_0x41e756&&_0x45c146['checkChild'](_0x41e756['parent'],'paragraph');}['_prepareForImport'](){const _0x18e5ce=this['editor'],_0xf89d09=_0x18e5ce['model'],_0x27f512=_0xf89d09['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x18e5ce['model']['createBatch']({'isUndoable':!0x0}),_0xf89d09['enqueueChange'](this['_undoStepBatch'],_0x212c7e=>{_0x27f512['isCollapsed']||_0xf89d09['deleteContent'](_0x27f512,{'leaveUnmerged':!0x0});const _0x5009a4=_0x27f512['getFirstPosition'](),_0x30f37b=_0x3e0690(_0x27f512['getSelectedBlocks']());let _0xe5d4f;_0xe5d4f=_0x30f37b['is']('element','paragraph')&&_0x30f37b['isEmpty']?_0x5009a4:_0x5009a4['isAtStart']?_0xf89d09['createPositionBefore'](_0x30f37b):_0x5009a4['isAtEnd']?_0xf89d09['createPositionAfter'](_0x30f37b):_0x212c7e['split'](_0x5009a4)['position'],this['_importMarker']=_0x212c7e['addMarker']('importWord:'+_0x51ade1(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5905d2(_0xe5d4f)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0xca2621=this['editor']['model'];_0xca2621['markers']['has'](this['_importMarker'])&&_0xca2621['enqueueChange'](this['_undoStepBatch'],_0x46440e=>{_0x46440e['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x42a94c,file:_0x396f26,serviceConfig:_0xbf302c}){const _0x4dc9c1=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5010f1=new FormData();_0x5010f1['set']('config',JSON['stringify'](_0xbf302c)),_0x5010f1['set']('file',_0x396f26);const _0x456410={'method':'POST','headers':{},'body':_0x5010f1,'signal':this['_abortController']['signal']};return _0x4dc9c1&&(_0x456410['headers']['Authorization']=_0x4dc9c1['value']),fetch(_0x42a94c,_0x456410);}['_handleImportResponse'](_0x371cfa){return _0x371cfa['ok']?_0x371cfa['json']()['then'](_0x4142da=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x4142da);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x58c69f('import-word-plugin-import-cancelled');const _0x4934ee=this['editor'],_0x376bd7=p(_0x4934ee['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4934ee['plugins']['get']('Notification')['showWarning'](_0x376bd7),_0x350ba4('import-word-plugin-conversion-failed');}}class e extends _0x2d37f6{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x8350f2,_0x527d49,'CloudServices'];}constructor(_0x37601a){super(_0x37601a),this['_token']=null;}async['init'](){const _0x284561=this['editor'];_0x284561['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x284561['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x284561['commands']['add']('importWord',new d(_0x284561));const {tokenUrl:_0x1ca4ed}=_0x284561['config']['get']('importWord');if(_0x1ca4ed){const {tokenUrl:_0x322665}=_0x284561['config']['get']('cloudServices')||{};this['_token']=_0x1ca4ed===_0x322665?_0x284561['plugins']['get']('CloudServices')['token']:await _0x284561['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1ca4ed);}}['getToken'](){return this['_token'];}}class o extends _0x2d37f6{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':_0xbf8b59=>0x1!=_0xbf8b59}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x189f87=>{const {af:{dictionary:_0x501b8d,getPluralForm:_0x1f196d}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x40b1f2=>0x1!=_0x40b1f2}};_0x189f87['af']||={'dictionary':{},'getPluralForm':null},_0x189f87['af']['dictionary']=Object['assign'](_0x189f87['af']['dictionary'],_0x501b8d),_0x189f87['af']['getPluralForm']=_0x1f196d;})(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':_0x26df03=>0x0==_0x26df03?0x0:0x1==_0x26df03?0x1:0x2==_0x26df03?0x2:_0x26df03%0x64>=0x3&&_0x26df03%0x64<=0xa?0x3:_0x26df03%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5b6ee1=>{const {ar:{dictionary:_0x3377d7,getPluralForm:_0x1cde37}}={'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':_0x1feb1d=>0x0==_0x1feb1d?0x0:0x1==_0x1feb1d?0x1:0x2==_0x1feb1d?0x2:_0x1feb1d%0x64>=0x3&&_0x1feb1d%0x64<=0xa?0x3:_0x1feb1d%0x64>=0xb?0x4:0x5}};_0x5b6ee1['ar']||={'dictionary':{},'getPluralForm':null},_0x5b6ee1['ar']['dictionary']=Object['assign'](_0x5b6ee1['ar']['dictionary'],_0x3377d7),_0x5b6ee1['ar']['getPluralForm']=_0x1cde37;})(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':_0x3b145b=>0x1!=_0x3b145b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34cb4b=>{const {ast:{dictionary:_0x128129,getPluralForm:_0x157d1e}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4470bd=>0x1!=_0x4470bd}};_0x34cb4b['ast']||={'dictionary':{},'getPluralForm':null},_0x34cb4b['ast']['dictionary']=Object['assign'](_0x34cb4b['ast']['dictionary'],_0x128129),_0x34cb4b['ast']['getPluralForm']=_0x157d1e;})(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':_0x409e97=>0x1!=_0x409e97}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d8d6f=>{const {az:{dictionary:_0x427dfd,getPluralForm:_0x1e9996}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3877f9=>0x1!=_0x3877f9}};_0x4d8d6f['az']||={'dictionary':{},'getPluralForm':null},_0x4d8d6f['az']['dictionary']=Object['assign'](_0x4d8d6f['az']['dictionary'],_0x427dfd),_0x4d8d6f['az']['getPluralForm']=_0x1e9996;})(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':_0x5cb8ac=>0x1!=_0x5cb8ac}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x45e66e=>{const {bg:{dictionary:_0x3a0177,getPluralForm:_0x50f1db}}={'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':_0x5a43eb=>0x1!=_0x5a43eb}};_0x45e66e['bg']||={'dictionary':{},'getPluralForm':null},_0x45e66e['bg']['dictionary']=Object['assign'](_0x45e66e['bg']['dictionary'],_0x3a0177),_0x45e66e['bg']['getPluralForm']=_0x50f1db;})(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':_0x10c857=>0x1!=_0x10c857}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x338653=>{const {bn:{dictionary:_0x78070d,getPluralForm:_0x11944a}}={'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':_0x6e2d05=>0x1!=_0x6e2d05}};_0x338653['bn']||={'dictionary':{},'getPluralForm':null},_0x338653['bn']['dictionary']=Object['assign'](_0x338653['bn']['dictionary'],_0x78070d),_0x338653['bn']['getPluralForm']=_0x11944a;})(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':_0x1fccbc=>_0x1fccbc%0xa==0x1&&_0x1fccbc%0x64!=0xb?0x0:_0x1fccbc%0xa>=0x2&&_0x1fccbc%0xa<=0x4&&(_0x1fccbc%0x64<0xa||_0x1fccbc%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ca4cb=>{const {bs:{dictionary:_0x4246d4,getPluralForm:_0x178b57}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5a2861=>_0x5a2861%0xa==0x1&&_0x5a2861%0x64!=0xb?0x0:_0x5a2861%0xa>=0x2&&_0x5a2861%0xa<=0x4&&(_0x5a2861%0x64<0xa||_0x5a2861%0x64>=0x14)?0x1:0x2}};_0x2ca4cb['bs']||={'dictionary':{},'getPluralForm':null},_0x2ca4cb['bs']['dictionary']=Object['assign'](_0x2ca4cb['bs']['dictionary'],_0x4246d4),_0x2ca4cb['bs']['getPluralForm']=_0x178b57;})(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':_0x3c190f=>0x1!=_0x3c190f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f1f27=>{const {ca:{dictionary:_0x81ca40,getPluralForm:_0xe0a572}}={'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':_0x5bda0b=>0x1!=_0x5bda0b}};_0x3f1f27['ca']||={'dictionary':{},'getPluralForm':null},_0x3f1f27['ca']['dictionary']=Object['assign'](_0x3f1f27['ca']['dictionary'],_0x81ca40),_0x3f1f27['ca']['getPluralForm']=_0xe0a572;})(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':_0x248210=>0x1==_0x248210?0x0:_0x248210>=0x2&&_0x248210<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d4da5=>{const {cs:{dictionary:_0x57be0f,getPluralForm:_0x5839d0}}={'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':_0x47d42c=>0x1==_0x47d42c?0x0:_0x47d42c>=0x2&&_0x47d42c<=0x4?0x1:0x2}};_0x4d4da5['cs']||={'dictionary':{},'getPluralForm':null},_0x4d4da5['cs']['dictionary']=Object['assign'](_0x4d4da5['cs']['dictionary'],_0x57be0f),_0x4d4da5['cs']['getPluralForm']=_0x5839d0;})(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':_0xea17c=>0x1!=_0xea17c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17c7b2=>{const {da:{dictionary:_0x9bdddf,getPluralForm:_0x58c215}}={'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':_0x5279db=>0x1!=_0x5279db}};_0x17c7b2['da']||={'dictionary':{},'getPluralForm':null},_0x17c7b2['da']['dictionary']=Object['assign'](_0x17c7b2['da']['dictionary'],_0x9bdddf),_0x17c7b2['da']['getPluralForm']=_0x58c215;})(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':_0x309c32=>0x1!=_0x309c32}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x584bdd=>{const {'de-ch':{dictionary:_0x5b5a8c,getPluralForm:_0x1ae199}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x123a1f=>0x1!=_0x123a1f}};_0x584bdd['de-ch']||={'dictionary':{},'getPluralForm':null},_0x584bdd['de-ch']['dictionary']=Object['assign'](_0x584bdd['de-ch']['dictionary'],_0x5b5a8c),_0x584bdd['de-ch']['getPluralForm']=_0x1ae199;})(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':_0x13bfae=>0x1!=_0x13bfae}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15ae99=>{const {de:{dictionary:_0xbf5d92,getPluralForm:_0xc3cd3d}}={'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':_0x20e5ff=>0x1!=_0x20e5ff}};_0x15ae99['de']||={'dictionary':{},'getPluralForm':null},_0x15ae99['de']['dictionary']=Object['assign'](_0x15ae99['de']['dictionary'],_0xbf5d92),_0x15ae99['de']['getPluralForm']=_0xc3cd3d;})(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':_0x140c06=>0x1!=_0x140c06}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x53ccb4=>{const {el:{dictionary:_0x14d89e,getPluralForm:_0x244d29}}={'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':_0x3c6ef6=>0x1!=_0x3c6ef6}};_0x53ccb4['el']||={'dictionary':{},'getPluralForm':null},_0x53ccb4['el']['dictionary']=Object['assign'](_0x53ccb4['el']['dictionary'],_0x14d89e),_0x53ccb4['el']['getPluralForm']=_0x244d29;})(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':_0x540c55=>0x1!=_0x540c55}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5bd660=>{const {'en-au':{dictionary:_0x259e12,getPluralForm:_0x43e60e}}={'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':_0x434143=>0x1!=_0x434143}};_0x5bd660['en-au']||={'dictionary':{},'getPluralForm':null},_0x5bd660['en-au']['dictionary']=Object['assign'](_0x5bd660['en-au']['dictionary'],_0x259e12),_0x5bd660['en-au']['getPluralForm']=_0x43e60e;})(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':_0x457cb0=>0x1!=_0x457cb0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5365a7=>{const {'en-gb':{dictionary:_0x1885e6,getPluralForm:_0x11c303}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x56702a=>0x1!=_0x56702a}};_0x5365a7['en-gb']||={'dictionary':{},'getPluralForm':null},_0x5365a7['en-gb']['dictionary']=Object['assign'](_0x5365a7['en-gb']['dictionary'],_0x1885e6),_0x5365a7['en-gb']['getPluralForm']=_0x11c303;})(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':_0x43535f=>0x1!=_0x43535f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ae873=>{const {en:{dictionary:_0x5b62e3,getPluralForm:_0x4aaaa6}}={'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':_0x20cf30=>0x1!=_0x20cf30}};_0x3ae873['en']||={'dictionary':{},'getPluralForm':null},_0x3ae873['en']['dictionary']=Object['assign'](_0x3ae873['en']['dictionary'],_0x5b62e3),_0x3ae873['en']['getPluralForm']=_0x4aaaa6;})(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':_0x27c376=>0x1!=_0x27c376}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57fded=>{const {eo:{dictionary:_0x2367b2,getPluralForm:_0x549057}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5a221c=>0x1!=_0x5a221c}};_0x57fded['eo']||={'dictionary':{},'getPluralForm':null},_0x57fded['eo']['dictionary']=Object['assign'](_0x57fded['eo']['dictionary'],_0x2367b2),_0x57fded['eo']['getPluralForm']=_0x549057;})(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':_0x3dd316=>0x1!=_0x3dd316}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1c95ca=>{const {'es-co':{dictionary:_0x432c9a,getPluralForm:_0xce409f}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x581675=>0x1!=_0x581675}};_0x1c95ca['es-co']||={'dictionary':{},'getPluralForm':null},_0x1c95ca['es-co']['dictionary']=Object['assign'](_0x1c95ca['es-co']['dictionary'],_0x432c9a),_0x1c95ca['es-co']['getPluralForm']=_0xce409f;})(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':_0xfde52f=>0x1!=_0xfde52f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x108c2e=>{const {es:{dictionary:_0x28a63c,getPluralForm:_0x160bbe}}={'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':_0x58abcb=>0x1!=_0x58abcb}};_0x108c2e['es']||={'dictionary':{},'getPluralForm':null},_0x108c2e['es']['dictionary']=Object['assign'](_0x108c2e['es']['dictionary'],_0x28a63c),_0x108c2e['es']['getPluralForm']=_0x160bbe;})(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':_0x2c4aaa=>0x1!=_0x2c4aaa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x49a11e=>{const {et:{dictionary:_0x27f1b1,getPluralForm:_0x5caf92}}={'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':_0x50bea5=>0x1!=_0x50bea5}};_0x49a11e['et']||={'dictionary':{},'getPluralForm':null},_0x49a11e['et']['dictionary']=Object['assign'](_0x49a11e['et']['dictionary'],_0x27f1b1),_0x49a11e['et']['getPluralForm']=_0x5caf92;})(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':_0xf31767=>0x1!=_0xf31767}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e68ba=>{const {eu:{dictionary:_0x2fa752,getPluralForm:_0x34e707}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5d2da3=>0x1!=_0x5d2da3}};_0x3e68ba['eu']||={'dictionary':{},'getPluralForm':null},_0x3e68ba['eu']['dictionary']=Object['assign'](_0x3e68ba['eu']['dictionary'],_0x2fa752),_0x3e68ba['eu']['getPluralForm']=_0x34e707;})(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':_0x2732ec=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12eb38=>{const {fa:{dictionary:_0xb171b6,getPluralForm:_0x329f04}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2eb693=>0x0}};_0x12eb38['fa']||={'dictionary':{},'getPluralForm':null},_0x12eb38['fa']['dictionary']=Object['assign'](_0x12eb38['fa']['dictionary'],_0xb171b6),_0x12eb38['fa']['getPluralForm']=_0x329f04;})(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':_0x7b8df0=>0x1!=_0x7b8df0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48d4d0=>{const {fi:{dictionary:_0x5a8169,getPluralForm:_0x212f46}}={'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':_0x311f6c=>0x1!=_0x311f6c}};_0x48d4d0['fi']||={'dictionary':{},'getPluralForm':null},_0x48d4d0['fi']['dictionary']=Object['assign'](_0x48d4d0['fi']['dictionary'],_0x5a8169),_0x48d4d0['fi']['getPluralForm']=_0x212f46;})(window['CKEDITOR_TRANSLATIONS']||={});
|