@ckeditor/ckeditor5-import-word 44.1.0-alpha.2 → 44.1.0-alpha.4
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 e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-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:()=>y,ImportWordEditing:()=>w,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=a;function s(){const t=["view","263837eTZfxX","iconView","isOfficialPlugin","children","add","init","editor","pluginName","componentFactory","menuBar:importWord","ImportWordUI","617676nbxMzQ","bind","locale","set","isOn","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","isEnabled","3ACmVmF","1888316VRaxBI","Import from Word","756916ooHEsQ","2397310lNFFJt","104VSJMIB","isBusy","_createButton","execute","importWord","isVisible","20YzFcmt","editing","commands","get","tooltip","390928ZfOVSs","focus","done","isPremiumPlugin","label","2298618qbxajO","Importing Word document"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=117]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(426487===parseInt(r(127))/1+-parseInt(r(156))/2+-parseInt(r(153))/3*(parseInt(r(154))/4)+-parseInt(r(122))/5*(-parseInt(r(146))/6)+parseInt(r(135))/7*(parseInt(r(158))/8)+-parseInt(r(132))/9+parseInt(r(157))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[i(142)](){return i(145)}static get[i(137)](){return!0}static get[i(130)](){return!0}[i(140)](){const t=i,e=this[t(141)];e.ui[t(143)][t(139)](t(120),(()=>{const n=t,o=this[n(118)](r.FileDialogButtonView),i=e[n(124)][n(125)](n(120));return o[n(147)](n(150)).to(i,n(117)),o[n(126)]=!0,o})),e.ui[t(143)][t(139)](t(144),(()=>this[t(118)](r.MenuBarMenuListItemFileDialogButtonView)))}[i(118)](t){const e=i,n=this[e(141)],s=n[e(124)][e(125)](e(120)),a=new t(n[e(148)]),c=new r.SpinnerView;return a[e(149)]({acceptedType:e(151)}),a[e(149)]({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(147)](e(152)).to(s),a[e(147)](e(131)).to(s,e(117),(t=>o(n[e(148)],e(t?133:155)))),c[e(147)](e(121)).to(s,e(117)),a[e(136)][e(147)](e(121)).to(s,e(117),(t=>!t)),a[e(138)][e(139)](c),a.on(e(129),((t,r)=>{const o=e;n[o(119)](o(120),r[0],{}),n[o(123)][o(134)][o(128)]()})),a}}var u=e(331),p=e(783),l=e(584);function d(){const t=["fire","stopListening","isEnabled","showWarning","864xycuWn","catch","getSelectedBlocks","finally","stringify","clipboardInput","aborted","Notification","checkChild","text/html","setData","selection","editing","reject","split","850473gtTLwO","An error occurred while importing the Word file.","file","isAtStart","_undoStepBatch","model","isEmpty","getRange","root","getToken","markers","document","_handleImportFailure","POST","createBatch","DateTimeFormat","setSelection","signal","addMarker","enqueueChange","_prepareForImport","set","538456EqvCko","168jonkHC","merge_fields","_checkEnabled","_cleanUpAfterImport","html","_abortController","10fpwWXL","_importMarker","4476485tOeZyg","locale","low","isCollapsed","then","$graveyard","paragraph","refresh","_handleImportResponse","MergeFields","createPositionAfter","_sendImportRequest","timeZone","isBusy","Authorization","editor","ImportWordEditing","dataInsert","parent","value","json","6RZrtAr","resolvedOptions","execute","config","11354SrxcIC","converterUrl","plugins","getFirstPosition","resolve","abort","mergeFields","has","deleteContent","importWord:","isAtEnd","rootName","get","change:range","importWord","6051411UQCvQF","position","headers","createPositionBefore","import-word-plugin-conversion-failed","view","import-word-plugin-import-cancelled","6630532kbnEFT","formatting","removeMarker","36883231uqKedL","schema","element","bind"];return(d=function(){return t})()}function h(t,r){const e=d();return(h=function(t,r){return e[t-=337]})(t,r)}const f=h;!function(t){const r=h,e=t();for(;;)try{if(837753===parseInt(r(380))/1+parseInt(r(436))/2*(parseInt(r(365))/3)+parseInt(r(354))/4+parseInt(r(411))/5*(-parseInt(r(432))/6)+-parseInt(r(403))/7*(-parseInt(r(402))/8)+-parseInt(r(347))/9*(parseInt(r(409))/10)+-parseInt(r(357))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(d);class m extends t.Command{constructor(t){const r=h;super(t),this[r(401)](r(424),!1),this[r(410)]=null,this[r(384)]=null,this[r(408)]=null,this.on(r(428),((e,n)=>{const o=r,i=new DataTransfer;i[o(375)](o(374),n[o(407)]);const s=this[o(410)][o(387)]();this[o(426)][o(385)][o(399)](this[o(384)],(r=>{const e=o;this[e(410)][e(362)](),r[e(396)](s),t[e(377)][e(352)][e(391)][e(361)](e(370),{dataTransfer:i})}))}),{priority:r(413)})}[f(418)](){const t=f;this[t(363)]=this[t(405)]()}[f(434)](t,r={}){const e=f;if(this[e(424)])return Promise[e(440)]();const n=this[e(426)][e(435)][e(344)](e(346));if(this[e(426)][e(438)][e(339)](e(420))){const{prefix:t,suffix:n}=this[e(426)][e(435)][e(344)](e(338));r[e(404)]={prefix:t,suffix:n}}const o={url:n[e(437)],file:t,serviceConfig:{...r,formatting:n[e(355)],timezone:(new(Intl[e(395)]))[e(433)]()[e(423)]}};return this[e(400)](),this[e(422)](o)[e(415)](this[e(419)][e(360)](this))[e(366)](this[e(392)][e(360)](this))[e(368)](this[e(406)][e(360)](this))}[f(405)](){const t=f;if(this[t(424)])return!1;const r=this[t(426)][t(385)],e=r[t(358)],n=r[t(391)][t(376)],o=(0,l.first)(n[t(367)]());return!!o&&e[t(373)](o[t(429)],t(417))}[f(400)](){const t=f,r=this[t(426)],e=r[t(385)],n=e[t(391)][t(376)];this[t(408)]=new AbortController,this[t(384)]=r[t(385)][t(394)]({isUndoable:!0}),e[t(399)](this[t(384)],(r=>{const o=t;n[o(414)]||e[o(340)](n,{leaveUnmerged:!0});const i=n[o(439)](),s=(0,l.first)(n[o(367)]());let a;a=s.is(o(359),o(417))&&s[o(386)]?i:i[o(383)]?e[o(350)](s):i[o(342)]?e[o(421)](s):r[o(379)](i)[o(348)],this[o(410)]=r[o(398)](o(341)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[o(410)].on(o(345),(()=>{const t=o;t(416)===this[t(410)][t(387)]()[t(388)][t(343)]&&this[t(408)][t(337)]()}))})),this[t(424)]=!0,this[t(418)]()}[f(406)](){const t=f,r=this[t(426)][t(385)];r[t(390)][t(339)](this[t(410)])&&r[t(399)](this[t(384)],(r=>{const e=t;r[e(356)](this[e(410)])})),this[t(410)]=null,this[t(384)]=null,this[t(408)]=null,this[t(424)]=!1,this[t(418)]()}[f(422)]({url:t,file:r,serviceConfig:e}){const n=f,o=this[n(426)][n(438)][n(344)](n(427))[n(389)](),i=new FormData;i[n(401)](n(435),JSON[n(369)](e)),i[n(401)](n(382),r);const s={method:n(393),headers:{},body:i,signal:this[n(408)][n(397)]};return o&&(s[n(349)][n(425)]=o[n(430)]),fetch(t,s)}[f(419)](t){const r=f;return t.ok?t[r(431)]()[r(415)]((t=>{const e=r;this[e(426)][e(385)][e(390)][e(339)](this[e(410)])&&e(416)!==this[e(410)][e(387)]()[e(388)][e(343)]&&this[e(361)](e(428),t)})):Promise[r(378)]()}[f(392)](){const t=f;if(this[t(408)][t(397)][t(371)])return void(0,l.logWarning)(t(353));const r=this[t(426)],e=o(r[t(412)],t(381));r[t(438)][t(344)](t(372))[t(364)](e),(0,l.logError)(t(351))}}const g=v;function I(){const t=["inline","43641MDjWtW","8fTHAKa","token","_token","tokenUrl","22794981lRVLUn","730InvPpf","304302PcxAFC","6mFMpkA","CloudServices","config","getToken","importWord","5032559tWihgm","commands","isPremiumPlugin","get","define","pluginName","cloudServices","init","registerTokenUrl","ImportWordEditing","isOfficialPlugin","2071824AjaoHM","plugins","requires","1911022zzZncd","editor","1ygDZlx","none","5096270rdAePo","https://docx-converter.cke-cs.com/v2/convert/docx-html","add"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=233]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(683976===parseInt(r(264))/1*(parseInt(r(262))/2)+-parseInt(r(242))/3+parseInt(r(259))/4+-parseInt(r(266))/5*(-parseInt(r(243))/6)+parseInt(r(248))/7*(parseInt(r(236))/8)+-parseInt(r(235))/9*(parseInt(r(241))/10)+-parseInt(r(240))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(253)](){return g(257)}static get[g(258)](){return!0}static get[g(250)](){return!0}static get[g(261)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(244)]}constructor(t){const r=g;super(t),this[r(238)]=null}async[g(255)](){const t=g,r=this[t(263)];r[t(245)][t(252)](t(247),{converterUrl:t(267),tokenUrl:(r[t(245)][t(251)](t(254))||{})[t(239)],formatting:{resets:t(265),defaults:t(265),styles:t(234)}}),r[t(249)][t(233)](t(247),new m(r));const{tokenUrl:e}=r[t(245)][t(251)](t(247));if(e){const{tokenUrl:n}=r[t(245)][t(251)](t(254))||{};this[t(238)]=e===n?r[t(260)][t(251)](t(244))[t(237)]:await r[t(260)][t(251)](t(244))[t(256)](e)}}[g(246)](){return this[g(238)]}}var W=b;function b(t,r){var e=x();return(b=function(t,r){return e[t-=237]})(t,r)}function x(){var t=["isOfficialPlugin","pluginName","40PauaHg","requires","1528541ZgqOkZ","1573192WdXkbt","29538963lrwSXW","ImportWord","3GAtowF","isPremiumPlugin","4253580CLhHFH","1426404vAQOgz","700566tTlItr","228188YZVjBL"];return(x=function(){return t})()}!function(t){for(var r=b,e=t();;)try{if(564632===-parseInt(r(243))/1+-parseInt(r(249))/2*(parseInt(r(238))/3)+parseInt(r(241))/4+-parseInt(r(240))/5+-parseInt(r(242))/6+-parseInt(r(248))/7*(parseInt(r(246))/8)+parseInt(r(250))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class y extends t.Plugin{static get[W(245)](){return W(237)}static get[W(244)](){return!0}static get[W(239)](){return!0}static get[W(247)](){return[w,c]}}function k(){var t=["11652cgFMhO","4858cuNUKO","785346TseDYs","12883644ZtvQrA","1281mbnagA","1315935ZgzQrw","5889856eQBIMo","17968WAZSZI","1842646eamFBk"];return(k=function(){return t})()}function A(t,r){var e=k();return(A=function(t,r){return e[t-=161]})(t,r)}!function(t){for(var r=A,e=t();;)try{if(970874===-parseInt(r(167))/1+parseInt(r(164))/2+parseInt(r(169))/3*(parseInt(r(163))/4)+-parseInt(r(161))/5+parseInt(r(165))/6*(parseInt(r(166))/7)+-parseInt(r(162))/8+-parseInt(r(168))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>x,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=a();return(s=function(t,e){return r[t-=348]})(t,e)}function a(){const t=["editing","684jFsoGS","commands","children","12KqjfmH","label","bind","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","3230104yXjkYs","editor","_createButton","3377OePBYC","5743670tNlRAR","Importing Word document","execute","6027980zenKjU","isPremiumPlugin","iconView","init","pluginName","Import from Word","isOn","menuBar:importWord","add","14972276bELdOl","done","isOfficialPlugin","3BNMuOX","locale","isEnabled","ImportWordUI","634shnhyQ","isVisible","4020zJrQKL","isBusy","componentFactory","9rtRozp","2872972fxsLwt","tooltip","view","focus","set","importWord","get"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(636282===-parseInt(e(351))/1*(-parseInt(e(371))/2)+parseInt(e(367))/3*(parseInt(e(377))/4)+-parseInt(e(373))/5*(-parseInt(e(385))/6)+-parseInt(e(355))/7+parseInt(e(348))/8+-parseInt(e(376))/9*(-parseInt(e(352))/10)+parseInt(e(364))/11*(-parseInt(e(388))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(359)](){return o(370)}static get[o(366)](){return!0}static get[o(356)](){return!0}[o(358)](){const t=o,r=this[t(349)];r.ui[t(375)][t(363)](t(382),(()=>{const n=t,i=this[n(350)](e.FileDialogButtonView),o=r[n(386)][n(383)](n(382));return i[n(390)](n(361)).to(o,n(374)),i[n(378)]=!0,i})),r.ui[t(375)][t(363)](t(362),(()=>this[t(350)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(350)](t){const r=o,n=this[r(349)],s=n[r(386)][r(383)](r(382)),a=new t(n[r(368)]),c=new e.SpinnerView;return a[r(381)]({acceptedType:r(391)}),a[r(381)]({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(390)](r(369)).to(s),a[r(390)](r(389)).to(s,r(374),(t=>i(n[r(368)],r(t?353:360)))),c[r(390)](r(372)).to(s,r(374)),a[r(357)][r(390)](r(372)).to(s,r(374),(t=>!t)),a[r(387)][r(363)](c),a.on(r(365),((t,e)=>{const i=r;n[i(354)](i(382),e[0],{}),n[i(384)][i(379)][i(380)]()})),a}}var p=r(331),u=r(783),l=r(584);const h=d;function d(t,e){const r=m();return(d=function(t,e){return r[t-=442]})(t,e)}!function(t){const e=d,r=t();for(;;)try{if(574218===-parseInt(e(464))/1+-parseInt(e(489))/2+parseInt(e(524))/3*(parseInt(e(540))/4)+-parseInt(e(455))/5*(parseInt(e(484))/6)+-parseInt(e(508))/7*(parseInt(e(545))/8)+-parseInt(e(488))/9*(-parseInt(e(511))/10)+-parseInt(e(476))/11*(-parseInt(e(490))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(m);class f extends t.Command{constructor(t){const e=d;super(t),this[e(505)](e(529),!1),this[e(453)]=null,this[e(534)]=null,this[e(504)]=null,this.on(e(502),((r,n)=>{const i=e,o=new DataTransfer;o[i(482)](i(457),n[i(480)]);const s=this[i(453)][i(443)]();this[i(463)][i(458)][i(526)](this[i(534)],(e=>{const r=i;this[r(453)][r(486)](),e[r(454)](s),t[r(445)][r(496)][r(536)][r(530)](r(459),{dataTransfer:o})}))}),{priority:e(517)})}[h(522)](){const t=h;this[t(492)]=this[t(468)]()}[h(460)](t,e={}){const r=h;if(this[r(529)])return Promise[r(509)]();const n=this[r(463)][r(528)][r(506)](r(461));if(this[r(463)][r(497)][r(503)](r(499))){const{prefix:t,suffix:n}=this[r(463)][r(528)][r(506)](r(525));e[r(531)]={prefix:t,suffix:n}}const i={url:n[r(542)],file:t,serviceConfig:{...e,formatting:n[r(481)],timezone:(new(Intl[r(493)]))[r(521)]()[r(447)]}};return this[r(527)](),this[r(449)](i)[r(469)](this[r(546)][r(470)](this))[r(514)](this[r(462)][r(470)](this))[r(465)](this[r(487)][r(470)](this))}[h(468)](){const t=h;if(this[t(529)])return!1;const e=this[t(463)][t(458)],r=e[t(538)],n=e[t(536)][t(479)],i=(0,l.first)(n[t(498)]());return!!i&&r[t(537)](i[t(466)],t(456))}[h(527)](){const t=h,e=this[t(463)],r=e[t(458)],n=r[t(536)][t(479)];this[t(504)]=new AbortController,this[t(534)]=e[t(458)][t(510)]({isUndoable:!0}),r[t(526)](this[t(534)],(e=>{const i=t;n[i(494)]||r[i(467)](n,{leaveUnmerged:!0});const o=n[i(518)](),s=(0,l.first)(n[i(498)]());let a;a=s.is(i(448),i(456))&&s[i(507)]?o:o[i(532)]?r[i(471)](s):o[i(500)]?r[i(541)](s):e[i(474)](o)[i(477)],this[i(453)]=e[i(539)](i(451)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(453)].on(i(495),(()=>{const t=i;t(515)===this[t(453)][t(443)]()[t(446)][t(478)]&&this[t(504)][t(452)]()}))})),this[t(529)]=!0,this[t(522)]()}[h(487)](){const t=h,e=this[t(463)][t(458)];e[t(475)][t(503)](this[t(453)])&&e[t(526)](this[t(534)],(e=>{const r=t;e[r(473)](this[r(453)])})),this[t(453)]=null,this[t(534)]=null,this[t(504)]=null,this[t(529)]=!1,this[t(522)]()}[h(449)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(463)][n(497)][n(506)](n(485))[n(501)](),o=new FormData;o[n(505)](n(528),JSON[n(512)](r)),o[n(505)](n(535),e);const s={method:n(533),headers:{},body:o,signal:this[n(504)][n(483)]};return i&&(s[n(513)][n(450)]=i[n(523)]),fetch(t,s)}[h(546)](t){const e=h;return t.ok?t[e(543)]()[e(469)]((t=>{const r=e;this[r(463)][r(458)][r(475)][r(503)](this[r(453)])&&r(515)!==this[r(453)][r(443)]()[r(446)][r(478)]&&this[r(530)](r(502),t)})):Promise[e(544)]()}[h(462)](){const t=h;if(this[t(504)][t(483)][t(444)])return void(0,l.logWarning)(t(442));const e=this[t(463)],r=i(e[t(519)],t(520));e[t(497)][t(506)](t(472))[t(516)](r),(0,l.logError)(t(491))}}function m(){const t=["finally","parent","deleteContent","_checkEnabled","then","bind","createPositionBefore","Notification","removeMarker","split","markers","361757zwFJae","position","rootName","selection","html","formatting","setData","signal","17046KEIopC","ImportWordEditing","stopListening","_cleanUpAfterImport","30942KLfOqZ","912142dMZQsK","396eDhoAH","import-word-plugin-conversion-failed","isEnabled","DateTimeFormat","isCollapsed","change:range","view","plugins","getSelectedBlocks","MergeFields","isAtEnd","getToken","dataInsert","has","_abortController","set","get","isEmpty","56TsFhss","resolve","createBatch","3050dpQJJW","stringify","headers","catch","$graveyard","showWarning","low","getFirstPosition","locale","An error occurred while importing the Word file.","resolvedOptions","refresh","value","1504683iOJMCO","mergeFields","enqueueChange","_prepareForImport","config","isBusy","fire","merge_fields","isAtStart","POST","_undoStepBatch","file","document","checkChild","schema","addMarker","4ASTMYf","createPositionAfter","converterUrl","json","reject","415984smRrBh","_handleImportResponse","import-word-plugin-import-cancelled","getRange","aborted","editing","root","timeZone","element","_sendImportRequest","Authorization","importWord:","abort","_importMarker","setSelection","120uZQnfn","paragraph","text/html","model","clipboardInput","execute","importWord","_handleImportFailure","editor","1120965wVDVpM"];return(m=function(){return t})()}function g(t,e){const r=v();return(g=function(t,e){return r[t-=358]})(t,e)}const I=g;function v(){const t=["getToken","config","editor","isOfficialPlugin","cloudServices","importWord","125lWwzZS","registerTokenUrl","_token","init","29368176jEihpR","515196sIvRBq","inline","define","ImportWordEditing","add","1497878BJiRkp","https://docx-converter.cke-cs.com/v2/convert/docx-html","token","get","commands","pluginName","plugins","none","isPremiumPlugin","7815402NwwpYy","tokenUrl","125960flOyVI","1906177yajvnF","requires","CloudServices","151192GISrxs"];return(v=function(){return t})()}!function(t){const e=g,r=t();for(;;)try{if(699947===parseInt(e(372))/1+-parseInt(e(361))/2+parseInt(e(388))/3+-parseInt(e(376))/4*(parseInt(e(383))/5)+-parseInt(e(370))/6+-parseInt(e(373))/7+parseInt(e(387))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[I(366)](){return I(359)}static get[I(380)](){return!0}static get[I(369)](){return!0}static get[I(374)](){const t=I;return[e.Notification,p.ClipboardPipeline,t(375)]}constructor(t){const e=I;super(t),this[e(385)]=null}async[I(386)](){const t=I,e=this[t(379)];e[t(378)][t(358)](t(382),{converterUrl:t(362),tokenUrl:(e[t(378)][t(364)](t(381))||{})[t(371)],formatting:{resets:t(368),defaults:t(368),styles:t(389)}}),e[t(365)][t(360)](t(382),new f(e));const{tokenUrl:r}=e[t(378)][t(364)](t(382));if(r){const{tokenUrl:n}=e[t(378)][t(364)](t(381))||{};this[t(385)]=r===n?e[t(367)][t(364)](t(375))[t(363)]:await e[t(367)][t(364)](t(375))[t(384)](r)}}[I(377)](){return this[I(385)]}}var y=b;function b(t,e){var r=W();return(b=function(t,e){return r[t-=244]})(t,e)}function W(){var t=["6617963weHAJT","3BhJeko","5CZveTP","7Nuhhsm","isOfficialPlugin","68668DtAjaC","2960472MRTiwI","902040HDuUFa","isPremiumPlugin","pluginName","1502196MokNxf","14193LziLgt","370fpaugm","12lofnNj","requires","844682vfOUjq","ImportWord"];return(W=function(){return t})()}!function(t){for(var e=b,r=t();;)try{if(282893===-parseInt(e(256))/1+-parseInt(e(249))/2*(parseInt(e(252))/3)+-parseInt(e(244))/4+-parseInt(e(253))/5*(-parseInt(e(257))/6)+parseInt(e(254))/7*(parseInt(e(258))/8)+-parseInt(e(245))/9*(parseInt(e(246))/10)+parseInt(e(251))/11*(parseInt(e(247))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class x extends t.Plugin{static get[y(260)](){return y(250)}static get[y(255)](){return!0}static get[y(259)](){return!0}static get[y(248)](){return[w,c]}}function k(){var t=["4SPQwok","2073756RjCUEn","477713MRNeSd","4051608SpqYGX","690873QsJGgg","8912295gNKMph","2LLecQD","5393030xblihK","11827017lisQED"];return(k=function(){return t})()}function O(t,e){var r=k();return(O=function(t,e){return r[t-=479]})(t,e)}!function(t){for(var e=O,r=t();;)try{if(639863===-parseInt(e(487))/1*(parseInt(e(482))/2)+parseInt(e(480))/3*(-parseInt(e(485))/4)+-parseInt(e(483))/5+parseInt(e(486))/6+parseInt(e(481))/7+-parseInt(e(479))/8+parseInt(e(484))/9)break;r.push(r.shift())}catch(t){r.push(r.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 _0x56a5e3,Command as _0x262920}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x6313d4,MenuBarMenuListItemFileDialogButtonView as _0x35496b,SpinnerView as _0x54993f,Notification as _0x5b04be}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x3fe088}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x5c3217}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x3342ac,uid as _0x31f4c7,logWarning as _0x5f23c7,logError as _0x8de426}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x58ae27,_0x322d1e){const t=_0x58ae27['t'];switch(_0x322d1e){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 _0x322d1e;}}class i extends _0x56a5e3{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x433410=this['editor'];_0x433410['ui']['componentFactory']['add']('importWord',()=>{const _0x387ec1=this['_createButton'](_0x6313d4),_0x31f51c=_0x433410['commands']['get']('importWord');return _0x387ec1['bind']('isOn')['to'](_0x31f51c,'isBusy'),_0x387ec1['tooltip']=!0x0,_0x387ec1;}),_0x433410['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x35496b));}['_createButton'](_0x2f8227){const _0x3dfa93=this['editor'],_0x483a1b=_0x3dfa93['commands']['get']('importWord'),_0x241bcb=new _0x2f8227(_0x3dfa93['locale']),_0x36b251=new _0x54993f();return _0x241bcb['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x241bcb['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'}),_0x241bcb['bind']('isEnabled')['to'](_0x483a1b),_0x241bcb['bind']('label')['to'](_0x483a1b,'isBusy',_0x1cd16b=>p(_0x3dfa93['locale'],_0x1cd16b?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x36b251['bind']('isVisible')['to'](_0x483a1b,'isBusy'),_0x241bcb['iconView']['bind']('isVisible')['to'](_0x483a1b,'isBusy',_0x59637f=>!_0x59637f),_0x241bcb['children']['add'](_0x36b251),_0x241bcb['on']('done',(_0x117795,_0x2e77d4)=>{_0x3dfa93['execute']('importWord',_0x2e77d4[0x0],{}),_0x3dfa93['editing']['view']['focus']();}),_0x241bcb;}}class d extends _0x262920{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x166dbb){super(_0x166dbb),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0xf794b5,_0xa91abe)=>{const _0x37c3d1=new DataTransfer();_0x37c3d1['setData']('text/html',_0xa91abe['html']);const _0x561ab9=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x33836a=>{this['_importMarker']['stopListening'](),_0x33836a['setSelection'](_0x561ab9),_0x166dbb['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x37c3d1});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x779e96,_0x282e4a={}){if(this['isBusy'])return Promise['resolve']();const _0x5cf07b=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x594144,suffix:_0x31a8de}=this['editor']['config']['get']('mergeFields');_0x282e4a['merge_fields']={'prefix':_0x594144,'suffix':_0x31a8de};}const _0x53b52a={'url':_0x5cf07b['converterUrl'],'file':_0x779e96,'serviceConfig':{..._0x282e4a,'formatting':_0x5cf07b['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x53b52a)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0xccf0ad=this['editor']['model'],_0x3a502f=_0xccf0ad['schema'],_0x2992b2=_0xccf0ad['document']['selection'],_0x27f472=_0x3342ac(_0x2992b2['getSelectedBlocks']());return!!_0x27f472&&_0x3a502f['checkChild'](_0x27f472['parent'],'paragraph');}['_prepareForImport'](){const _0x1280ab=this['editor'],_0x4e6d5a=_0x1280ab['model'],_0xd65121=_0x4e6d5a['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x1280ab['model']['createBatch']({'isUndoable':!0x0}),_0x4e6d5a['enqueueChange'](this['_undoStepBatch'],_0x1c44f9=>{_0xd65121['isCollapsed']||_0x4e6d5a['deleteContent'](_0xd65121,{'leaveUnmerged':!0x0});const _0x1bd1bb=_0xd65121['getFirstPosition'](),_0x539bac=_0x3342ac(_0xd65121['getSelectedBlocks']());let _0x5b117b;_0x5b117b=_0x539bac['is']('element','paragraph')&&_0x539bac['isEmpty']?_0x1bd1bb:_0x1bd1bb['isAtStart']?_0x4e6d5a['createPositionBefore'](_0x539bac):_0x1bd1bb['isAtEnd']?_0x4e6d5a['createPositionAfter'](_0x539bac):_0x1c44f9['split'](_0x1bd1bb)['position'],this['_importMarker']=_0x1c44f9['addMarker']('importWord:'+_0x31f4c7(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5c3217(_0x5b117b)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x14791c=this['editor']['model'];_0x14791c['markers']['has'](this['_importMarker'])&&_0x14791c['enqueueChange'](this['_undoStepBatch'],_0x5f4592=>{_0x5f4592['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x35c872,file:_0x35d59a,serviceConfig:_0x44c6f9}){const _0x90c0d9=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x24d9c8=new FormData();_0x24d9c8['set']('config',JSON['stringify'](_0x44c6f9)),_0x24d9c8['set']('file',_0x35d59a);const _0x3ec98e={'method':'POST','headers':{},'body':_0x24d9c8,'signal':this['_abortController']['signal']};return _0x90c0d9&&(_0x3ec98e['headers']['Authorization']=_0x90c0d9['value']),fetch(_0x35c872,_0x3ec98e);}['_handleImportResponse'](_0x111966){return _0x111966['ok']?_0x111966['json']()['then'](_0x3b2222=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x3b2222);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x5f23c7('import-word-plugin-import-cancelled');const _0x5e6ed4=this['editor'],_0x3ddbed=p(_0x5e6ed4['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x5e6ed4['plugins']['get']('Notification')['showWarning'](_0x3ddbed),_0x8de426('import-word-plugin-conversion-failed');}}class e extends _0x56a5e3{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5b04be,_0x3fe088,'CloudServices'];}constructor(_0x4fce4f){super(_0x4fce4f),this['_token']=null;}async['init'](){const _0x1cf527=this['editor'];_0x1cf527['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x1cf527['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x1cf527['commands']['add']('importWord',new d(_0x1cf527));const {tokenUrl:_0x2e1f86}=_0x1cf527['config']['get']('importWord');if(_0x2e1f86){const {tokenUrl:_0x204da4}=_0x1cf527['config']['get']('cloudServices')||{};this['_token']=_0x2e1f86===_0x204da4?_0x1cf527['plugins']['get']('CloudServices')['token']:await _0x1cf527['plugins']['get']('CloudServices')['registerTokenUrl'](_0x2e1f86);}}['getToken'](){return this['_token'];}}class o extends _0x56a5e3{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':_0x1fe2dd=>0x1!=_0x1fe2dd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x18492d=>{const {af:{dictionary:_0x5ca843,getPluralForm:_0x42ea8e}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x327ba8=>0x1!=_0x327ba8}};_0x18492d['af']||={'dictionary':{},'getPluralForm':null},_0x18492d['af']['dictionary']=Object['assign'](_0x18492d['af']['dictionary'],_0x5ca843),_0x18492d['af']['getPluralForm']=_0x42ea8e;})(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':_0x446f37=>0x0==_0x446f37?0x0:0x1==_0x446f37?0x1:0x2==_0x446f37?0x2:_0x446f37%0x64>=0x3&&_0x446f37%0x64<=0xa?0x3:_0x446f37%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1511d1=>{const {ar:{dictionary:_0x110542,getPluralForm:_0xc181a9}}={'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':_0xccf8c3=>0x0==_0xccf8c3?0x0:0x1==_0xccf8c3?0x1:0x2==_0xccf8c3?0x2:_0xccf8c3%0x64>=0x3&&_0xccf8c3%0x64<=0xa?0x3:_0xccf8c3%0x64>=0xb?0x4:0x5}};_0x1511d1['ar']||={'dictionary':{},'getPluralForm':null},_0x1511d1['ar']['dictionary']=Object['assign'](_0x1511d1['ar']['dictionary'],_0x110542),_0x1511d1['ar']['getPluralForm']=_0xc181a9;})(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':_0x2a43af=>0x1!=_0x2a43af}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e4b77=>{const {ast:{dictionary:_0x57101,getPluralForm:_0x25aea1}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xeca40f=>0x1!=_0xeca40f}};_0x4e4b77['ast']||={'dictionary':{},'getPluralForm':null},_0x4e4b77['ast']['dictionary']=Object['assign'](_0x4e4b77['ast']['dictionary'],_0x57101),_0x4e4b77['ast']['getPluralForm']=_0x25aea1;})(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':_0x1fa3aa=>0x1!=_0x1fa3aa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x265ade=>{const {az:{dictionary:_0x1f98ea,getPluralForm:_0x55ad3a}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x18bbdf=>0x1!=_0x18bbdf}};_0x265ade['az']||={'dictionary':{},'getPluralForm':null},_0x265ade['az']['dictionary']=Object['assign'](_0x265ade['az']['dictionary'],_0x1f98ea),_0x265ade['az']['getPluralForm']=_0x55ad3a;})(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':_0x28551e=>0x1!=_0x28551e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x58ae8a=>{const {bg:{dictionary:_0x357c37,getPluralForm:_0x5c7754}}={'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':_0x54ae63=>0x1!=_0x54ae63}};_0x58ae8a['bg']||={'dictionary':{},'getPluralForm':null},_0x58ae8a['bg']['dictionary']=Object['assign'](_0x58ae8a['bg']['dictionary'],_0x357c37),_0x58ae8a['bg']['getPluralForm']=_0x5c7754;})(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':_0x3655e8=>0x1!=_0x3655e8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf96488=>{const {bn:{dictionary:_0x21baf1,getPluralForm:_0xce500}}={'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':_0x149058=>0x1!=_0x149058}};_0xf96488['bn']||={'dictionary':{},'getPluralForm':null},_0xf96488['bn']['dictionary']=Object['assign'](_0xf96488['bn']['dictionary'],_0x21baf1),_0xf96488['bn']['getPluralForm']=_0xce500;})(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':_0x766f0f=>_0x766f0f%0xa==0x1&&_0x766f0f%0x64!=0xb?0x0:_0x766f0f%0xa>=0x2&&_0x766f0f%0xa<=0x4&&(_0x766f0f%0x64<0xa||_0x766f0f%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37d745=>{const {bs:{dictionary:_0x5a2240,getPluralForm:_0x52a5ea}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x909fe8=>_0x909fe8%0xa==0x1&&_0x909fe8%0x64!=0xb?0x0:_0x909fe8%0xa>=0x2&&_0x909fe8%0xa<=0x4&&(_0x909fe8%0x64<0xa||_0x909fe8%0x64>=0x14)?0x1:0x2}};_0x37d745['bs']||={'dictionary':{},'getPluralForm':null},_0x37d745['bs']['dictionary']=Object['assign'](_0x37d745['bs']['dictionary'],_0x5a2240),_0x37d745['bs']['getPluralForm']=_0x52a5ea;})(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':_0x459563=>0x1!=_0x459563}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x7b46d6=>{const {ca:{dictionary:_0x29e226,getPluralForm:_0x55c781}}={'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':_0x4467a8=>0x1!=_0x4467a8}};_0x7b46d6['ca']||={'dictionary':{},'getPluralForm':null},_0x7b46d6['ca']['dictionary']=Object['assign'](_0x7b46d6['ca']['dictionary'],_0x29e226),_0x7b46d6['ca']['getPluralForm']=_0x55c781;})(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':_0x5ec2b8=>0x1==_0x5ec2b8?0x0:_0x5ec2b8>=0x2&&_0x5ec2b8<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b8608=>{const {cs:{dictionary:_0x5d714b,getPluralForm:_0x1a9078}}={'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':_0xfa0a16=>0x1==_0xfa0a16?0x0:_0xfa0a16>=0x2&&_0xfa0a16<=0x4?0x1:0x2}};_0x4b8608['cs']||={'dictionary':{},'getPluralForm':null},_0x4b8608['cs']['dictionary']=Object['assign'](_0x4b8608['cs']['dictionary'],_0x5d714b),_0x4b8608['cs']['getPluralForm']=_0x1a9078;})(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':_0x41c83b=>0x1!=_0x41c83b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b11fc=>{const {da:{dictionary:_0x5ff46e,getPluralForm:_0x293a87}}={'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':_0x3b7575=>0x1!=_0x3b7575}};_0x2b11fc['da']||={'dictionary':{},'getPluralForm':null},_0x2b11fc['da']['dictionary']=Object['assign'](_0x2b11fc['da']['dictionary'],_0x5ff46e),_0x2b11fc['da']['getPluralForm']=_0x293a87;})(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':_0x203e69=>0x1!=_0x203e69}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e8fb2=>{const {'de-ch':{dictionary:_0x5a07fc,getPluralForm:_0x3bb7da}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x7b9f2b=>0x1!=_0x7b9f2b}};_0x3e8fb2['de-ch']||={'dictionary':{},'getPluralForm':null},_0x3e8fb2['de-ch']['dictionary']=Object['assign'](_0x3e8fb2['de-ch']['dictionary'],_0x5a07fc),_0x3e8fb2['de-ch']['getPluralForm']=_0x3bb7da;})(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':_0x241f64=>0x1!=_0x241f64}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3fd324=>{const {de:{dictionary:_0x1c5c5e,getPluralForm:_0x2256f9}}={'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':_0x4d8589=>0x1!=_0x4d8589}};_0x3fd324['de']||={'dictionary':{},'getPluralForm':null},_0x3fd324['de']['dictionary']=Object['assign'](_0x3fd324['de']['dictionary'],_0x1c5c5e),_0x3fd324['de']['getPluralForm']=_0x2256f9;})(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':_0x17ceb7=>0x1!=_0x17ceb7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x46221f=>{const {el:{dictionary:_0x49b3b5,getPluralForm:_0xb13057}}={'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':_0x515285=>0x1!=_0x515285}};_0x46221f['el']||={'dictionary':{},'getPluralForm':null},_0x46221f['el']['dictionary']=Object['assign'](_0x46221f['el']['dictionary'],_0x49b3b5),_0x46221f['el']['getPluralForm']=_0xb13057;})(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':_0x306f0a=>0x1!=_0x306f0a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b5b24=>{const {'en-au':{dictionary:_0x40b715,getPluralForm:_0x15a3ae}}={'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':_0x28180e=>0x1!=_0x28180e}};_0x4b5b24['en-au']||={'dictionary':{},'getPluralForm':null},_0x4b5b24['en-au']['dictionary']=Object['assign'](_0x4b5b24['en-au']['dictionary'],_0x40b715),_0x4b5b24['en-au']['getPluralForm']=_0x15a3ae;})(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':_0x477435=>0x1!=_0x477435}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x449502=>{const {'en-gb':{dictionary:_0x4d79f9,getPluralForm:_0x242a67}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x57395b=>0x1!=_0x57395b}};_0x449502['en-gb']||={'dictionary':{},'getPluralForm':null},_0x449502['en-gb']['dictionary']=Object['assign'](_0x449502['en-gb']['dictionary'],_0x4d79f9),_0x449502['en-gb']['getPluralForm']=_0x242a67;})(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':_0x36ca27=>0x1!=_0x36ca27}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x20814f=>{const {en:{dictionary:_0x3720b8,getPluralForm:_0x39b5db}}={'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':_0x1e22c7=>0x1!=_0x1e22c7}};_0x20814f['en']||={'dictionary':{},'getPluralForm':null},_0x20814f['en']['dictionary']=Object['assign'](_0x20814f['en']['dictionary'],_0x3720b8),_0x20814f['en']['getPluralForm']=_0x39b5db;})(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':_0x760df8=>0x1!=_0x760df8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x239e43=>{const {eo:{dictionary:_0x325d7f,getPluralForm:_0x445b84}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x170433=>0x1!=_0x170433}};_0x239e43['eo']||={'dictionary':{},'getPluralForm':null},_0x239e43['eo']['dictionary']=Object['assign'](_0x239e43['eo']['dictionary'],_0x325d7f),_0x239e43['eo']['getPluralForm']=_0x445b84;})(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':_0x4d2554=>0x1!=_0x4d2554}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb1c950=>{const {'es-co':{dictionary:_0x592529,getPluralForm:_0x4551bb}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x27c37e=>0x1!=_0x27c37e}};_0xb1c950['es-co']||={'dictionary':{},'getPluralForm':null},_0xb1c950['es-co']['dictionary']=Object['assign'](_0xb1c950['es-co']['dictionary'],_0x592529),_0xb1c950['es-co']['getPluralForm']=_0x4551bb;})(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':_0x54e2ed=>0x1!=_0x54e2ed}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x174273=>{const {es:{dictionary:_0x5a7cdb,getPluralForm:_0x14677a}}={'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':_0xf960ad=>0x1!=_0xf960ad}};_0x174273['es']||={'dictionary':{},'getPluralForm':null},_0x174273['es']['dictionary']=Object['assign'](_0x174273['es']['dictionary'],_0x5a7cdb),_0x174273['es']['getPluralForm']=_0x14677a;})(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':_0x4e74e1=>0x1!=_0x4e74e1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa8ad08=>{const {et:{dictionary:_0x50052c,getPluralForm:_0x1a42d0}}={'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':_0x1de103=>0x1!=_0x1de103}};_0xa8ad08['et']||={'dictionary':{},'getPluralForm':null},_0xa8ad08['et']['dictionary']=Object['assign'](_0xa8ad08['et']['dictionary'],_0x50052c),_0xa8ad08['et']['getPluralForm']=_0x1a42d0;})(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':_0x30f227=>0x1!=_0x30f227}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4af105=>{const {eu:{dictionary:_0x2b5f74,getPluralForm:_0xb962e}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x456e07=>0x1!=_0x456e07}};_0x4af105['eu']||={'dictionary':{},'getPluralForm':null},_0x4af105['eu']['dictionary']=Object['assign'](_0x4af105['eu']['dictionary'],_0x2b5f74),_0x4af105['eu']['getPluralForm']=_0xb962e;})(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':_0xe7e16c=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3cfb97=>{const {fa:{dictionary:_0x3356f9,getPluralForm:_0x10a20a}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x42d0c6=>0x0}};_0x3cfb97['fa']||={'dictionary':{},'getPluralForm':null},_0x3cfb97['fa']['dictionary']=Object['assign'](_0x3cfb97['fa']['dictionary'],_0x3356f9),_0x3cfb97['fa']['getPluralForm']=_0x10a20a;})(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':_0x848a7=>0x1!=_0x848a7}};
|