@ckeditor/ckeditor5-import-word 44.0.0-alpha.9 → 44.0.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 o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.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:()=>k,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function o(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}}function i(){const t=["add","execute","8YtMhHl","get","pluginName","Importing Word document","editing","13487550roXWvJ","94576tdkweA","importWord","locale","1802910SQJumG","iconView","menuBar:importWord","isBusy","isVisible","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","editor","focus","Import from Word","isOn","_createButton","view","bind","done","360VKeMdZ","tooltip","children","460658jeZcbF","isEnabled","label","init","isOfficialPlugin","1369989fATMzh","commands","1112478igxayJ","ImportWordUI","isPremiumPlugin","14fopBgR","set","componentFactory","370994yXDZDD"];return(i=function(){return t})()}const s=a;function a(t,e){const r=i();return(a=function(t,e){return r[t-=251]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(413311===-parseInt(e(282))/1+-parseInt(e(269))/2+-parseInt(e(274))/3+-parseInt(e(285))/4*(parseInt(e(252))/5)+parseInt(e(276))/6*(parseInt(e(279))/7)+-parseInt(e(291))/8*(-parseInt(e(266))/9)+parseInt(e(290))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(i);class c extends t.Plugin{static get[s(287)](){return s(277)}static get[s(273)](){return!0}static get[s(278)](){return!0}[s(272)](){const t=s,r=this[t(258)];r.ui[t(281)][t(283)](t(292),(()=>{const n=t,o=this[n(262)](e.FileDialogButtonView),i=r[n(275)][n(286)](n(292));return o[n(264)](n(261)).to(i,n(255)),o[n(267)]=!0,o})),r.ui[t(281)][t(283)](t(254),(()=>this[t(262)](e.MenuBarMenuListItemFileDialogButtonView)))}[s(262)](t){const r=s,n=this[r(258)],i=n[r(275)][r(286)](r(292)),a=new t(n[r(251)]),c=new e.SpinnerView;return a[r(280)]({acceptedType:r(257)}),a[r(280)]({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(264)](r(270)).to(i),a[r(264)](r(271)).to(i,r(255),(t=>o(n[r(251)],r(t?288:260)))),c[r(264)](r(256)).to(i,r(255)),a[r(253)][r(264)](r(256)).to(i,r(255),(t=>!t)),a[r(268)][r(283)](c),a.on(r(265),((t,e)=>{const o=r;n[o(284)](o(292),e[0],{}),n[o(289)][o(263)][o(259)]()})),a}}var u=r(331),p=r(783),l=r(584);function d(t,e){const r=f();return(d=function(t,e){return r[t-=401]})(t,e)}const h=d;function f(){const t=["isAtStart","1985640AaOSaD","POST","Notification","123377BcqYVj","createPositionBefore","aborted","bind","plugins","setSelection","_importMarker","merge_fields","low","ImportWordEditing","getRange","then","89090zAWscW","_abortController","importWord:","split","checkChild","_handleImportFailure","execute","resolvedOptions","importWord","removeMarker","deleteContent","stopListening","42apXcSU","locale","$graveyard","getFirstPosition","abort","showWarning","isAtEnd","_prepareForImport","text/html","get","signal","_cleanUpAfterImport","finally","refresh","4gphcnI","fire","html","getToken","isBusy","isCollapsed","Authorization","reject","catch","isEmpty","9slOIGF","enqueueChange","_undoStepBatch","rootName","document","mergeFields","formatting","dataInsert","editing","change:range","232lVolYI","json","set","setData","55951yazQAV","value","parent","element","converterUrl","stringify","MergeFields","view","addMarker","DateTimeFormat","import-word-plugin-import-cancelled","timeZone","createBatch","has","isEnabled","markers","522172Joioss","createPositionAfter","_sendImportRequest","file","473394nDbxpj","schema","clipboardInput","position","_handleImportResponse","_checkEnabled","import-word-plugin-conversion-failed","headers","79376NEGKxG","editor","resolve","getSelectedBlocks","config","paragraph","model","root","selection","An error occurred while importing the Word file."];return(f=function(){return t})()}!function(t){const e=d,r=t();for(;;)try{if(243842===parseInt(e(468))/1+parseInt(e(442))/2+parseInt(e(446))/3*(parseInt(e(402))/4)+-parseInt(e(480))/5*(-parseInt(e(492))/6)+-parseInt(e(426))/7*(parseInt(e(422))/8)+-parseInt(e(412))/9*(parseInt(e(465))/10)+parseInt(e(454))/11)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(424)](e(406),!1),this[e(474)]=null,this[e(414)]=null,this[e(481)]=null,this.on(e(419),((r,n)=>{const o=e,i=new DataTransfer;i[o(425)](o(500),n[o(404)]);const s=this[o(474)][o(478)]();this[o(455)][o(460)][o(413)](this[o(414)],(e=>{const r=o;this[r(474)][r(491)](),e[r(473)](s),t[r(420)][r(433)][r(416)][r(403)](r(448),{dataTransfer:i})}))}),{priority:e(476)})}[h(401)](){const t=h;this[t(440)]=this[t(451)]()}[h(486)](t,e={}){const r=h;if(this[r(406)])return Promise[r(456)]();const n=this[r(455)][r(458)][r(501)](r(488));if(this[r(455)][r(472)][r(439)](r(432))){const{prefix:t,suffix:n}=this[r(455)][r(458)][r(501)](r(417));e[r(475)]={prefix:t,suffix:n}}const o={url:n[r(430)],file:t,serviceConfig:{...e,formatting:n[r(418)],timezone:(new(Intl[r(435)]))[r(487)]()[r(437)]}};return this[r(499)](),this[r(444)](o)[r(479)](this[r(450)][r(471)](this))[r(410)](this[r(485)][r(471)](this))[r(504)](this[r(503)][r(471)](this))}[h(451)](){const t=h;if(this[t(406)])return!1;const e=this[t(455)][t(460)],r=e[t(447)],n=e[t(416)][t(462)],o=(0,l.first)(n[t(457)]());return!!o&&r[t(484)](o[t(428)],t(459))}[h(499)](){const t=h,e=this[t(455)],r=e[t(460)],n=r[t(416)][t(462)];this[t(481)]=new AbortController,this[t(414)]=e[t(460)][t(438)]({isUndoable:!0}),r[t(413)](this[t(414)],(e=>{const o=t;n[o(407)]||r[o(490)](n,{leaveUnmerged:!0});const i=n[o(495)](),s=(0,l.first)(n[o(457)]());let a;a=s.is(o(429),o(459))&&s[o(411)]?i:i[o(464)]?r[o(469)](s):i[o(498)]?r[o(443)](s):e[o(483)](i)[o(449)],this[o(474)]=e[o(434)](o(482)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[o(474)].on(o(421),(()=>{const t=o;t(494)===this[t(474)][t(478)]()[t(461)][t(415)]&&this[t(481)][t(496)]()}))})),this[t(406)]=!0,this[t(401)]()}[h(503)](){const t=h,e=this[t(455)][t(460)];e[t(441)][t(439)](this[t(474)])&&e[t(413)](this[t(414)],(e=>{const r=t;e[r(489)](this[r(474)])})),this[t(474)]=null,this[t(414)]=null,this[t(481)]=null,this[t(406)]=!1,this[t(401)]()}[h(444)]({url:t,file:e,serviceConfig:r}){const n=h,o=this[n(455)][n(472)][n(501)](n(477))[n(405)](),i=new FormData;i[n(424)](n(458),JSON[n(431)](r)),i[n(424)](n(445),e);const s={method:n(466),headers:{},body:i,signal:this[n(481)][n(502)]};return o&&(s[n(453)][n(408)]=o[n(427)]),fetch(t,s)}[h(450)](t){const e=h;return t.ok?t[e(423)]()[e(479)]((t=>{const r=e;this[r(455)][r(460)][r(441)][r(439)](this[r(474)])&&r(494)!==this[r(474)][r(478)]()[r(461)][r(415)]&&this[r(403)](r(419),t)})):Promise[e(409)]()}[h(485)](){const t=h;if(this[t(481)][t(502)][t(470)])return void(0,l.logWarning)(t(436));const e=this[t(455)],r=o(e[t(493)],t(463));e[t(472)][t(501)](t(467))[t(497)](r),(0,l.logError)(t(452))}}const g=v;function I(){const t=["getToken","init","tokenUrl","token","1379WzLjmj","editor","config","add","importWord","define","isOfficialPlugin","1575PjicJb","_token","52SnrNkg","cloudServices","1542vmtzDy","23163690UToJhl","1245214tPHKkj","requires","commands","327159OYPiWB","ImportWordEditing","isPremiumPlugin","pluginName","53168SVsPMn","266115Ipbnwe","registerTokenUrl","2703426klusRV","none","plugins","inline","CloudServices","get","https://docx-converter.cke-cs.com/v2/convert/docx-html"];return(I=function(){return t})()}function v(t,e){const r=I();return(v=function(t,e){return r[t-=329]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(699257===parseInt(e(339))/1+-parseInt(e(336))/2+-parseInt(e(346))/3+-parseInt(e(332))/4*(-parseInt(e(344))/5)+-parseInt(e(334))/6*(-parseInt(e(357))/7)+-parseInt(e(343))/8*(parseInt(e(330))/9)+parseInt(e(335))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(I);class w extends t.Plugin{static get[g(342)](){return g(340)}static get[g(329)](){return!0}static get[g(341)](){return!0}static get[g(337)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(350)]}constructor(t){const e=g;super(t),this[e(331)]=null}async[g(354)](){const t=g,e=this[t(358)];e[t(359)][t(362)](t(361),{converterUrl:t(352),tokenUrl:(e[t(359)][t(351)](t(333))||{})[t(355)],formatting:{resets:t(347),defaults:t(347),styles:t(349)}}),e[t(338)][t(360)](t(361),new m(e));const{tokenUrl:r}=e[t(359)][t(351)](t(361));if(r){const{tokenUrl:n}=e[t(359)][t(351)](t(333))||{};this[t(331)]=r===n?e[t(348)][t(351)](t(350))[t(356)]:await e[t(348)][t(351)](t(350))[t(345)](r)}}[g(353)](){return this[g(331)]}}function W(){var t=["1587705cXWaCU","isOfficialPlugin","616fXbWvO","isPremiumPlugin","87WoKoMt","7WBVACQ","15458050rUKboJ","pluginName","34011MGXXQo","ImportWord","requires","1125888VwEWCo","104436kwKFLA","80220kilnbG","3590356phEQWQ"];return(W=function(){return t})()}function b(t,e){var r=W();return(b=function(t,e){return r[t-=121]})(t,e)}var y=b;!function(t){for(var e=b,r=t();;)try{if(425910===-parseInt(e(134))/1*(-parseInt(e(127))/2)+-parseInt(e(133))/3*(-parseInt(e(126))/4)+parseInt(e(129))/5+-parseInt(e(125))/6+parseInt(e(128))/7+parseInt(e(131))/8*(parseInt(e(122))/9)+-parseInt(e(135))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class k extends t.Plugin{static get[y(121)](){return y(123)}static get[y(130)](){return!0}static get[y(132)](){return!0}static get[y(124)](){return[w,c]}}function x(t,e){var r=P();return(x=function(t,e){return r[t-=422]})(t,e)}function P(){var t=["2001425ejQFoR","1253184KYcwfo","13034888yHRBkG","5781788anXmGS","1374674BPVVAp","3706MIZkWA","1866TVQEuE","2779770qHnvQy"];return(P=function(){return t})()}!function(t){for(var e=x,r=t();;)try{if(750494===-parseInt(e(429))/1+-parseInt(e(425))/2*(-parseInt(e(426))/3)+-parseInt(e(423))/4+parseInt(e(428))/5+parseInt(e(427))/6+-parseInt(e(424))/7+parseInt(e(422))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(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:()=>W,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}}function o(){const t=["Importing Word document","iconView","1570uESsPh","done","758YsqvCc","isVisible","importWord","1101609ftGLUZ","isEnabled","isBusy","init","1515375BFzmaU","Import from Word","add","1417850DZuXGi","bind","componentFactory","focus","set","tooltip","get","children","label","733491UkNvgY","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","295UoyXsD","editing","_createButton","isOn","8OIJunz","ImportWordUI","130596HuJyTq","pluginName","33044QzRgvf","menuBar:importWord","execute","view","editor","isOfficialPlugin","commands","50HdPYlb","isPremiumPlugin","locale"];return(o=function(){return t})()}function s(t,r){const e=o();return(s=function(t,r){return e[t-=372]})(t,r)}const a=s;!function(t){const r=s,e=t();for(;;)try{if(328614===parseInt(r(399))/1*(parseInt(r(401))/2)+-parseInt(r(408))/3+-parseInt(r(387))/4*(parseInt(r(379))/5)+-parseInt(r(385))/6+-parseInt(r(411))/7*(-parseInt(r(383))/8)+-parseInt(r(404))/9*(-parseInt(r(394))/10)+-parseInt(r(377))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(o);class c extends t.Plugin{static get[a(386)](){return a(384)}static get[a(392)](){return!0}static get[a(395)](){return!0}[a(407)](){const t=a,e=this[t(391)];e.ui[t(413)][t(410)](t(403),(()=>{const n=t,i=this[n(381)](r.FileDialogButtonView),o=e[n(393)][n(374)](n(403));return i[n(412)](n(382)).to(o,n(406)),i[n(373)]=!0,i})),e.ui[t(413)][t(410)](t(388),(()=>this[t(381)](r.MenuBarMenuListItemFileDialogButtonView)))}[a(381)](t){const e=a,n=this[e(391)],o=n[e(393)][e(374)](e(403)),s=new t(n[e(396)]),c=new r.SpinnerView;return s[e(372)]({acceptedType:e(378)}),s[e(372)]({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'}),s[e(412)](e(405)).to(o),s[e(412)](e(376)).to(o,e(406),(t=>i(n[e(396)],e(t?397:409)))),c[e(412)](e(402)).to(o,e(406)),s[e(398)][e(412)](e(402)).to(o,e(406),(t=>!t)),s[e(375)][e(410)](c),s.on(e(400),((t,r)=>{const i=e;n[i(389)](i(403),r[0],{}),n[i(380)][i(390)][i(414)]()})),s}}var u=e(331),p=e(783),l=e(584);const d=f;function h(){const t=["10sVPLLx","isCollapsed","rootName","value","import-word-plugin-import-cancelled","low","650995MmvVRH","_handleImportResponse","then","editing","clipboardInput","createPositionAfter","split","signal","paragraph","schema","getFirstPosition","436809eTQhJc","formatting","MergeFields","markers","timeZone","mergeFields","createBatch","POST","document","catch","dataInsert","bind","deleteContent","getRange","merge_fields","4ECwcST","removeMarker","change:range","set","_sendImportRequest","html","enqueueChange","converterUrl","getToken","stopListening","resolvedOptions","resolve","_abortController","locale","An error occurred while importing the Word file.","reject","get","_cleanUpAfterImport","element","$graveyard","abort","843931wrbsob","addMarker","importWord","isBusy","execute","editor","createPositionBefore","_importMarker","showWarning","plugins","finally","root","importWord:","319014NyKKyv","50grmTkZ","isEnabled","config","parent","text/html","selection","view","2133080wEhCBE","_undoStepBatch","refresh","checkChild","isAtStart","ImportWordEditing","has","position","headers","fire","model","import-word-plugin-conversion-failed","Notification","DateTimeFormat","_handleImportFailure","16871XZcgAF","file","json","setData","_checkEnabled","7GFDANv","stringify","Authorization","aborted","getSelectedBlocks","setSelection","isEmpty","_prepareForImport","isAtEnd","117189zOQkwY"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=122]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(163845===-parseInt(r(142))/1*(-parseInt(r(157))/2)+-parseInt(r(174))/3*(parseInt(r(189))/4)+-parseInt(r(163))/5+parseInt(r(223))/6*(-parseInt(r(147))/7)+parseInt(r(127))/8+parseInt(r(156))/9*(parseInt(r(224))/10)+parseInt(r(210))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class m extends t.Command{constructor(t){const r=f;super(t),this[r(192)](r(213),!1),this[r(217)]=null,this[r(128)]=null,this[r(201)]=null,this.on(r(184),((e,n)=>{const i=r,o=new DataTransfer;o[i(145)](i(124),n[i(194)]);const s=this[i(217)][i(187)]();this[i(215)][i(137)][i(195)](this[i(128)],(r=>{const e=i;this[e(217)][e(198)](),r[e(152)](s),t[e(166)][e(126)][e(182)][e(136)](e(167),{dataTransfer:o})}))}),{priority:r(162)})}[d(129)](){const t=d;this[t(225)]=this[t(146)]()}[d(214)](t,r={}){const e=d;if(this[e(213)])return Promise[e(200)]();const n=this[e(215)][e(122)][e(205)](e(212));if(this[e(215)][e(219)][e(133)](e(176))){const{prefix:t,suffix:n}=this[e(215)][e(122)][e(205)](e(179));r[e(188)]={prefix:t,suffix:n}}const i={url:n[e(196)],file:t,serviceConfig:{...r,formatting:n[e(175)],timezone:(new(Intl[e(140)]))[e(199)]()[e(178)]}};return this[e(154)](),this[e(193)](i)[e(165)](this[e(164)][e(185)](this))[e(183)](this[e(141)][e(185)](this))[e(220)](this[e(206)][e(185)](this))}[d(146)](){const t=d;if(this[t(213)])return!1;const r=this[t(215)][t(137)],e=r[t(172)],n=r[t(182)][t(125)],i=(0,l.first)(n[t(151)]());return!!i&&e[t(130)](i[t(123)],t(171))}[d(154)](){const t=d,r=this[t(215)],e=r[t(137)],n=e[t(182)][t(125)];this[t(201)]=new AbortController,this[t(128)]=r[t(137)][t(180)]({isUndoable:!0}),e[t(195)](this[t(128)],(r=>{const i=t;n[i(158)]||e[i(186)](n,{leaveUnmerged:!0});const o=n[i(173)](),s=(0,l.first)(n[i(151)]());let a;a=s.is(i(207),i(171))&&s[i(153)]?o:o[i(131)]?e[i(216)](s):o[i(155)]?e[i(168)](s):r[i(169)](o)[i(134)],this[i(217)]=r[i(211)](i(222)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(217)].on(i(191),(()=>{const t=i;t(208)===this[t(217)][t(187)]()[t(221)][t(159)]&&this[t(201)][t(209)]()}))})),this[t(213)]=!0,this[t(129)]()}[d(206)](){const t=d,r=this[t(215)][t(137)];r[t(177)][t(133)](this[t(217)])&&r[t(195)](this[t(128)],(r=>{const e=t;r[e(190)](this[e(217)])})),this[t(217)]=null,this[t(128)]=null,this[t(201)]=null,this[t(213)]=!1,this[t(129)]()}[d(193)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(215)][n(219)][n(205)](n(132))[n(197)](),o=new FormData;o[n(192)](n(122),JSON[n(148)](e)),o[n(192)](n(143),r);const s={method:n(181),headers:{},body:o,signal:this[n(201)][n(170)]};return i&&(s[n(135)][n(149)]=i[n(160)]),fetch(t,s)}[d(164)](t){const r=d;return t.ok?t[r(144)]()[r(165)]((t=>{const e=r;this[e(215)][e(137)][e(177)][e(133)](this[e(217)])&&e(208)!==this[e(217)][e(187)]()[e(221)][e(159)]&&this[e(136)](e(184),t)})):Promise[r(204)]()}[d(141)](){const t=d;if(this[t(201)][t(170)][t(150)])return void(0,l.logWarning)(t(161));const r=this[t(215)],e=i(r[t(202)],t(203));r[t(219)][t(205)](t(139))[t(218)](e),(0,l.logError)(t(138))}}const g=v;function I(){const t=["356024RbrPph","_token","https://docx-converter.cke-cs.com/v2/convert/docx-html","2308548whkJrM","isPremiumPlugin","1946160DxEjXI","793521vVDEok","190NuZllJ","config","get","inline","editor","CloudServices","2612400MLvooO","4TvdlpN","4687736lNDuBY","define","isOfficialPlugin","pluginName","registerTokenUrl","importWord","getToken","tokenUrl","commands","plugins","token","requires","10bAxHcN","1004654BYsZOX","none","add","init","cloudServices","ImportWordEditing"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=500]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(565543===-parseInt(r(528))/1*(-parseInt(r(508))/2)+-parseInt(r(533))/3+parseInt(r(531))/4+parseInt(r(521))/5*(parseInt(r(507))/6)+parseInt(r(522))/7+parseInt(r(509))/8+-parseInt(r(500))/9*(parseInt(r(501))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(512)](){return g(527)}static get[g(511)](){return!0}static get[g(532)](){return!0}static get[g(520)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(506)]}constructor(t){const r=g;super(t),this[r(529)]=null}async[g(525)](){const t=g,r=this[t(505)];r[t(502)][t(510)](t(514),{converterUrl:t(530),tokenUrl:(r[t(502)][t(503)](t(526))||{})[t(516)],formatting:{resets:t(523),defaults:t(523),styles:t(504)}}),r[t(517)][t(524)](t(514),new m(r));const{tokenUrl:e}=r[t(502)][t(503)](t(514));if(e){const{tokenUrl:n}=r[t(502)][t(503)](t(526))||{};this[t(529)]=e===n?r[t(518)][t(503)](t(506))[t(519)]:await r[t(518)][t(503)](t(506))[t(513)](e)}}[g(515)](){return this[g(529)]}}var b=y;function y(t,r){var e=x();return(y=function(t,r){return e[t-=302]})(t,r)}function x(){var t=["4jyKfKv","597696iFtcjb","3096myfTbR","isPremiumPlugin","pluginName","2114hJovpn","995300UdbwJP","435642CZFwAH","848215LyGgav","isOfficialPlugin","ImportWord","205078YGqqGa","requires","2586GVTqJQ","4216zFDofJ","2DcBsna"];return(x=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(126767===-parseInt(r(306))/1*(-parseInt(r(302))/2)+parseInt(r(314))/3*(-parseInt(r(307))/4)+parseInt(r(315))/5+-parseInt(r(304))/6*(parseInt(r(312))/7)+-parseInt(r(305))/8*(-parseInt(r(309))/9)+-parseInt(r(313))/10+-parseInt(r(308))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class W extends t.Plugin{static get[b(311)](){return b(317)}static get[b(316)](){return!0}static get[b(310)](){return!0}static get[b(303)](){return[w,c]}}function k(){var t=["30bhbBwH","35lOVifu","12nhrQUK","424496dcaCtQ","23000iNmjGY","332664NlEIYa","2210897qfDLxq","13962wdKkwt","11805jqviYp","53jisMPa","2563839lconow","1199bRzNuy","4MaAUzv"];return(k=function(){return t})()}function P(t,r){var e=k();return(P=function(t,r){return e[t-=288]})(t,r)}!function(t){for(var r=P,e=t();;)try{if(209840===-parseInt(r(299))/1*(-parseInt(r(297))/2)+-parseInt(r(295))/3*(parseInt(r(289))/4)+parseInt(r(298))/5*(parseInt(r(290))/6)+-parseInt(r(291))/7*(parseInt(r(293))/8)+parseInt(r(300))/9+parseInt(r(294))/10*(-parseInt(r(288))/11)+-parseInt(r(292))/12*(-parseInt(r(296))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(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 _0x149d4a,Command as _0x3f7d75}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x401009,MenuBarMenuListItemFileDialogButtonView as _0x5346b1,SpinnerView as _0x5cdb5a,Notification as _0x3ccf20}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x17efab}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x5c3eb0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x112616,uid as _0x2b74b0,logWarning as _0x2fe54e,logError as _0x174b43}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x49ee79,_0x40ef59){const t=_0x49ee79['t'];switch(_0x40ef59){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 _0x40ef59;}}class i extends _0x149d4a{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x250df9=this['editor'];_0x250df9['ui']['componentFactory']['add']('importWord',()=>{const _0x151b89=this['_createButton'](_0x401009),_0x3d03b1=_0x250df9['commands']['get']('importWord');return _0x151b89['bind']('isOn')['to'](_0x3d03b1,'isBusy'),_0x151b89['tooltip']=!0x0,_0x151b89;}),_0x250df9['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x5346b1));}['_createButton'](_0xa84420){const _0x5b5062=this['editor'],_0x57539d=_0x5b5062['commands']['get']('importWord'),_0x37e22b=new _0xa84420(_0x5b5062['locale']),_0x5d726d=new _0x5cdb5a();return _0x37e22b['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x37e22b['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'}),_0x37e22b['bind']('isEnabled')['to'](_0x57539d),_0x37e22b['bind']('label')['to'](_0x57539d,'isBusy',_0x59e7f2=>p(_0x5b5062['locale'],_0x59e7f2?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x5d726d['bind']('isVisible')['to'](_0x57539d,'isBusy'),_0x37e22b['iconView']['bind']('isVisible')['to'](_0x57539d,'isBusy',_0x131ecf=>!_0x131ecf),_0x37e22b['children']['add'](_0x5d726d),_0x37e22b['on']('done',(_0x382571,_0xbed97e)=>{_0x5b5062['execute']('importWord',_0xbed97e[0x0],{}),_0x5b5062['editing']['view']['focus']();}),_0x37e22b;}}class d extends _0x3f7d75{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x3880e9){super(_0x3880e9),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x3d5482,_0x3975c0)=>{const _0x3caee4=new DataTransfer();_0x3caee4['setData']('text/html',_0x3975c0['html']);const _0x14a4ee=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x55c892=>{this['_importMarker']['stopListening'](),_0x55c892['setSelection'](_0x14a4ee),_0x3880e9['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x3caee4});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3d002a,_0x1bd011={}){if(this['isBusy'])return Promise['resolve']();const _0x1dfb77=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x345e89,suffix:_0x266114}=this['editor']['config']['get']('mergeFields');_0x1bd011['merge_fields']={'prefix':_0x345e89,'suffix':_0x266114};}const _0x3f2131={'url':_0x1dfb77['converterUrl'],'file':_0x3d002a,'serviceConfig':{..._0x1bd011,'formatting':_0x1dfb77['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x3f2131)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x3e1a12=this['editor']['model'],_0x57b1b2=_0x3e1a12['schema'],_0x500386=_0x3e1a12['document']['selection'],_0x355aa9=_0x112616(_0x500386['getSelectedBlocks']());return!!_0x355aa9&&_0x57b1b2['checkChild'](_0x355aa9['parent'],'paragraph');}['_prepareForImport'](){const _0x394fcb=this['editor'],_0x13c657=_0x394fcb['model'],_0x24c48d=_0x13c657['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x394fcb['model']['createBatch']({'isUndoable':!0x0}),_0x13c657['enqueueChange'](this['_undoStepBatch'],_0x45a4b8=>{_0x24c48d['isCollapsed']||_0x13c657['deleteContent'](_0x24c48d,{'leaveUnmerged':!0x0});const _0x2b1d06=_0x24c48d['getFirstPosition'](),_0x4c184e=_0x112616(_0x24c48d['getSelectedBlocks']());let _0xc2b5ed;_0xc2b5ed=_0x4c184e['is']('element','paragraph')&&_0x4c184e['isEmpty']?_0x2b1d06:_0x2b1d06['isAtStart']?_0x13c657['createPositionBefore'](_0x4c184e):_0x2b1d06['isAtEnd']?_0x13c657['createPositionAfter'](_0x4c184e):_0x45a4b8['split'](_0x2b1d06)['position'],this['_importMarker']=_0x45a4b8['addMarker']('importWord:'+_0x2b74b0(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5c3eb0(_0xc2b5ed)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x4bf8d7=this['editor']['model'];_0x4bf8d7['markers']['has'](this['_importMarker'])&&_0x4bf8d7['enqueueChange'](this['_undoStepBatch'],_0x57366c=>{_0x57366c['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x228aa4,file:_0x42e20a,serviceConfig:_0x3dc7ba}){const _0x3d492f=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x47c0e0=new FormData();_0x47c0e0['set']('config',JSON['stringify'](_0x3dc7ba)),_0x47c0e0['set']('file',_0x42e20a);const _0x29d45e={'method':'POST','headers':{},'body':_0x47c0e0,'signal':this['_abortController']['signal']};return _0x3d492f&&(_0x29d45e['headers']['Authorization']=_0x3d492f['value']),fetch(_0x228aa4,_0x29d45e);}['_handleImportResponse'](_0x1419ad){return _0x1419ad['ok']?_0x1419ad['json']()['then'](_0x4dc1ee=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x4dc1ee);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2fe54e('import-word-plugin-import-cancelled');const _0x39057b=this['editor'],_0x14e986=p(_0x39057b['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x39057b['plugins']['get']('Notification')['showWarning'](_0x14e986),_0x174b43('import-word-plugin-conversion-failed');}}class e extends _0x149d4a{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3ccf20,_0x17efab,'CloudServices'];}constructor(_0x7fd15c){super(_0x7fd15c),this['_token']=null;}async['init'](){const _0x5e93df=this['editor'];_0x5e93df['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x5e93df['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x5e93df['commands']['add']('importWord',new d(_0x5e93df));const {tokenUrl:_0x3bb74b}=_0x5e93df['config']['get']('importWord');if(_0x3bb74b){const {tokenUrl:_0x439d78}=_0x5e93df['config']['get']('cloudServices')||{};this['_token']=_0x3bb74b===_0x439d78?_0x5e93df['plugins']['get']('CloudServices')['token']:await _0x5e93df['plugins']['get']('CloudServices')['registerTokenUrl'](_0x3bb74b);}}['getToken'](){return this['_token'];}}class o extends _0x149d4a{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':_0x58a935=>0x1!=_0x58a935}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xde74b0=>{const {af:{dictionary:_0x17ae18,getPluralForm:_0x41c8f8}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2f6f9d=>0x1!=_0x2f6f9d}};_0xde74b0['af']||={'dictionary':{},'getPluralForm':null},_0xde74b0['af']['dictionary']=Object['assign'](_0xde74b0['af']['dictionary'],_0x17ae18),_0xde74b0['af']['getPluralForm']=_0x41c8f8;})(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':_0x4607fa=>0x0==_0x4607fa?0x0:0x1==_0x4607fa?0x1:0x2==_0x4607fa?0x2:_0x4607fa%0x64>=0x3&&_0x4607fa%0x64<=0xa?0x3:_0x4607fa%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4414c3=>{const {ar:{dictionary:_0x3a5857,getPluralForm:_0xc10afe}}={'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':_0x5a05ea=>0x0==_0x5a05ea?0x0:0x1==_0x5a05ea?0x1:0x2==_0x5a05ea?0x2:_0x5a05ea%0x64>=0x3&&_0x5a05ea%0x64<=0xa?0x3:_0x5a05ea%0x64>=0xb?0x4:0x5}};_0x4414c3['ar']||={'dictionary':{},'getPluralForm':null},_0x4414c3['ar']['dictionary']=Object['assign'](_0x4414c3['ar']['dictionary'],_0x3a5857),_0x4414c3['ar']['getPluralForm']=_0xc10afe;})(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':_0x347469=>0x1!=_0x347469}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x107b99=>{const {ast:{dictionary:_0x5cf6cd,getPluralForm:_0x3af303}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1156a6=>0x1!=_0x1156a6}};_0x107b99['ast']||={'dictionary':{},'getPluralForm':null},_0x107b99['ast']['dictionary']=Object['assign'](_0x107b99['ast']['dictionary'],_0x5cf6cd),_0x107b99['ast']['getPluralForm']=_0x3af303;})(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':_0x121200=>0x1!=_0x121200}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f1f94=>{const {az:{dictionary:_0x67917a,getPluralForm:_0x23fc55}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x316559=>0x1!=_0x316559}};_0x1f1f94['az']||={'dictionary':{},'getPluralForm':null},_0x1f1f94['az']['dictionary']=Object['assign'](_0x1f1f94['az']['dictionary'],_0x67917a),_0x1f1f94['az']['getPluralForm']=_0x23fc55;})(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':_0x78d20e=>0x1!=_0x78d20e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e6a27=>{const {bg:{dictionary:_0x344d51,getPluralForm:_0x394d4e}}={'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':_0x879e55=>0x1!=_0x879e55}};_0x2e6a27['bg']||={'dictionary':{},'getPluralForm':null},_0x2e6a27['bg']['dictionary']=Object['assign'](_0x2e6a27['bg']['dictionary'],_0x344d51),_0x2e6a27['bg']['getPluralForm']=_0x394d4e;})(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':_0x316472=>0x1!=_0x316472}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x43a42e=>{const {bn:{dictionary:_0xc62faa,getPluralForm:_0x278a99}}={'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':_0x5b8f8e=>0x1!=_0x5b8f8e}};_0x43a42e['bn']||={'dictionary':{},'getPluralForm':null},_0x43a42e['bn']['dictionary']=Object['assign'](_0x43a42e['bn']['dictionary'],_0xc62faa),_0x43a42e['bn']['getPluralForm']=_0x278a99;})(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':_0x14a9ce=>_0x14a9ce%0xa==0x1&&_0x14a9ce%0x64!=0xb?0x0:_0x14a9ce%0xa>=0x2&&_0x14a9ce%0xa<=0x4&&(_0x14a9ce%0x64<0xa||_0x14a9ce%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x39d5aa=>{const {bs:{dictionary:_0x4c350d,getPluralForm:_0x362fe9}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4dda8d=>_0x4dda8d%0xa==0x1&&_0x4dda8d%0x64!=0xb?0x0:_0x4dda8d%0xa>=0x2&&_0x4dda8d%0xa<=0x4&&(_0x4dda8d%0x64<0xa||_0x4dda8d%0x64>=0x14)?0x1:0x2}};_0x39d5aa['bs']||={'dictionary':{},'getPluralForm':null},_0x39d5aa['bs']['dictionary']=Object['assign'](_0x39d5aa['bs']['dictionary'],_0x4c350d),_0x39d5aa['bs']['getPluralForm']=_0x362fe9;})(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':_0x1a94f4=>0x1!=_0x1a94f4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x438496=>{const {ca:{dictionary:_0x4b5c13,getPluralForm:_0x59b184}}={'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':_0x5ce815=>0x1!=_0x5ce815}};_0x438496['ca']||={'dictionary':{},'getPluralForm':null},_0x438496['ca']['dictionary']=Object['assign'](_0x438496['ca']['dictionary'],_0x4b5c13),_0x438496['ca']['getPluralForm']=_0x59b184;})(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':_0x521a91=>0x1==_0x521a91?0x0:_0x521a91>=0x2&&_0x521a91<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x565d07=>{const {cs:{dictionary:_0x2c6b5e,getPluralForm:_0xd94864}}={'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':_0x269294=>0x1==_0x269294?0x0:_0x269294>=0x2&&_0x269294<=0x4?0x1:0x2}};_0x565d07['cs']||={'dictionary':{},'getPluralForm':null},_0x565d07['cs']['dictionary']=Object['assign'](_0x565d07['cs']['dictionary'],_0x2c6b5e),_0x565d07['cs']['getPluralForm']=_0xd94864;})(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':_0x70b231=>0x1!=_0x70b231}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5cfb5d=>{const {da:{dictionary:_0x28e210,getPluralForm:_0x194b05}}={'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':_0x3272c7=>0x1!=_0x3272c7}};_0x5cfb5d['da']||={'dictionary':{},'getPluralForm':null},_0x5cfb5d['da']['dictionary']=Object['assign'](_0x5cfb5d['da']['dictionary'],_0x28e210),_0x5cfb5d['da']['getPluralForm']=_0x194b05;})(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':_0x2614bc=>0x1!=_0x2614bc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41c363=>{const {'de-ch':{dictionary:_0x5ac2db,getPluralForm:_0x1d2633}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2f4454=>0x1!=_0x2f4454}};_0x41c363['de-ch']||={'dictionary':{},'getPluralForm':null},_0x41c363['de-ch']['dictionary']=Object['assign'](_0x41c363['de-ch']['dictionary'],_0x5ac2db),_0x41c363['de-ch']['getPluralForm']=_0x1d2633;})(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':_0x5bd2ca=>0x1!=_0x5bd2ca}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e0bd3=>{const {de:{dictionary:_0x3b970c,getPluralForm:_0xd53b42}}={'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':_0x1743c1=>0x1!=_0x1743c1}};_0x2e0bd3['de']||={'dictionary':{},'getPluralForm':null},_0x2e0bd3['de']['dictionary']=Object['assign'](_0x2e0bd3['de']['dictionary'],_0x3b970c),_0x2e0bd3['de']['getPluralForm']=_0xd53b42;})(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':_0x17e989=>0x1!=_0x17e989}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x301ab2=>{const {el:{dictionary:_0x47d0b1,getPluralForm:_0x35a9ba}}={'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':_0x10414b=>0x1!=_0x10414b}};_0x301ab2['el']||={'dictionary':{},'getPluralForm':null},_0x301ab2['el']['dictionary']=Object['assign'](_0x301ab2['el']['dictionary'],_0x47d0b1),_0x301ab2['el']['getPluralForm']=_0x35a9ba;})(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':_0x2476a2=>0x1!=_0x2476a2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12f66d=>{const {'en-au':{dictionary:_0x3a765a,getPluralForm:_0x126bd0}}={'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':_0x20c651=>0x1!=_0x20c651}};_0x12f66d['en-au']||={'dictionary':{},'getPluralForm':null},_0x12f66d['en-au']['dictionary']=Object['assign'](_0x12f66d['en-au']['dictionary'],_0x3a765a),_0x12f66d['en-au']['getPluralForm']=_0x126bd0;})(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':_0x40bedb=>0x1!=_0x40bedb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d4f99=>{const {'en-gb':{dictionary:_0x3fda18,getPluralForm:_0x1aba64}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x39965d=>0x1!=_0x39965d}};_0x1d4f99['en-gb']||={'dictionary':{},'getPluralForm':null},_0x1d4f99['en-gb']['dictionary']=Object['assign'](_0x1d4f99['en-gb']['dictionary'],_0x3fda18),_0x1d4f99['en-gb']['getPluralForm']=_0x1aba64;})(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':_0x1d6ea5=>0x1!=_0x1d6ea5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d9f2a=>{const {en:{dictionary:_0x2f1666,getPluralForm:_0x4e3451}}={'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':_0x1a536b=>0x1!=_0x1a536b}};_0x2d9f2a['en']||={'dictionary':{},'getPluralForm':null},_0x2d9f2a['en']['dictionary']=Object['assign'](_0x2d9f2a['en']['dictionary'],_0x2f1666),_0x2d9f2a['en']['getPluralForm']=_0x4e3451;})(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':_0x56272e=>0x1!=_0x56272e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5179e7=>{const {eo:{dictionary:_0xe88720,getPluralForm:_0x21bcc0}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x97a19d=>0x1!=_0x97a19d}};_0x5179e7['eo']||={'dictionary':{},'getPluralForm':null},_0x5179e7['eo']['dictionary']=Object['assign'](_0x5179e7['eo']['dictionary'],_0xe88720),_0x5179e7['eo']['getPluralForm']=_0x21bcc0;})(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':_0x208704=>0x1!=_0x208704}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x204692=>{const {'es-co':{dictionary:_0x29a420,getPluralForm:_0x828bfc}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x386c1d=>0x1!=_0x386c1d}};_0x204692['es-co']||={'dictionary':{},'getPluralForm':null},_0x204692['es-co']['dictionary']=Object['assign'](_0x204692['es-co']['dictionary'],_0x29a420),_0x204692['es-co']['getPluralForm']=_0x828bfc;})(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':_0x653ba=>0x1!=_0x653ba}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3fd00a=>{const {es:{dictionary:_0x33a0b2,getPluralForm:_0x55196f}}={'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':_0x2ead2e=>0x1!=_0x2ead2e}};_0x3fd00a['es']||={'dictionary':{},'getPluralForm':null},_0x3fd00a['es']['dictionary']=Object['assign'](_0x3fd00a['es']['dictionary'],_0x33a0b2),_0x3fd00a['es']['getPluralForm']=_0x55196f;})(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':_0x9a42df=>0x1!=_0x9a42df}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28827a=>{const {et:{dictionary:_0x39ae2e,getPluralForm:_0x5b1971}}={'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':_0x284d85=>0x1!=_0x284d85}};_0x28827a['et']||={'dictionary':{},'getPluralForm':null},_0x28827a['et']['dictionary']=Object['assign'](_0x28827a['et']['dictionary'],_0x39ae2e),_0x28827a['et']['getPluralForm']=_0x5b1971;})(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':_0x3eac03=>0x1!=_0x3eac03}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c44b3=>{const {eu:{dictionary:_0x34a55a,getPluralForm:_0x4a92c6}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5ce912=>0x1!=_0x5ce912}};_0x5c44b3['eu']||={'dictionary':{},'getPluralForm':null},_0x5c44b3['eu']['dictionary']=Object['assign'](_0x5c44b3['eu']['dictionary'],_0x34a55a),_0x5c44b3['eu']['getPluralForm']=_0x4a92c6;})(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':_0x292eec=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5945b9=>{const {fa:{dictionary:_0x3f59f4,getPluralForm:_0x4e9995}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x274cf6=>0x0}};_0x5945b9['fa']||={'dictionary':{},'getPluralForm':null},_0x5945b9['fa']['dictionary']=Object['assign'](_0x5945b9['fa']['dictionary'],_0x3f59f4),_0x5945b9['fa']['getPluralForm']=_0x4e9995;})(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':_0x42f95f=>0x1!=_0x42f95f}};
|