@ckeditor/ckeditor5-import-word 43.3.0-alpha.0 → 43.3.0-alpha.3
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 i=r[n];if(void 0!==i)return i.exports;var s=r[n]={exports:{}};return t[n](s,s.exports,e),s.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}}const s=a;function o(){const t=["label","ImportWordUI","200oqQBTv","importWord","isOfficialPlugin","componentFactory","Import from Word","4494573JiuilH","iconView","isEnabled","execute","view","595980JLwmFz","get","1465240xQdGsL","editing","add","689DRcTGm","tooltip","_createButton","children","editor","Importing Word document","done","commands","locale","88qprgvd","pluginName","4SywICI","init","1590558EfKXNS","isPremiumPlugin","isOn","isVisible","set","isBusy","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","menuBar:importWord","bind","focus","2462pdATPp","2178895MLKmpu","443340sUQoTs","8uzZjId","6znLBsT"];return(o=function(){return t})()}function a(t,r){const e=o();return(a=function(t,r){return e[t-=125]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(471459===-parseInt(r(128))/1*(-parseInt(r(166))/2)+-parseInt(r(156))/3*(parseInt(r(154))/4)+-parseInt(r(167))/5*(parseInt(r(125))/6)+parseInt(r(140))/7+parseInt(r(169))/8*(-parseInt(r(133))/9)+-parseInt(r(138))/10*(parseInt(r(152))/11)+parseInt(r(168))/12*(parseInt(r(143))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(o);class c extends t.Plugin{static get[s(153)](){return s(127)}static get[s(130)](){return!0}static get[s(157)](){return!0}[s(155)](){const t=s,e=this[t(147)];e.ui[t(131)][t(142)](t(129),(()=>{const n=t,i=this[n(145)](r.FileDialogButtonView),s=e[n(150)][n(139)](n(129));return i[n(164)](n(158)).to(s,n(161)),i[n(144)]=!0,i})),e.ui[t(131)][t(142)](t(163),(()=>this[t(145)](r.MenuBarMenuListItemFileDialogButtonView)))}[s(145)](t){const e=s,n=this[e(147)],o=n[e(150)][e(139)](e(129)),a=new t(n[e(151)]),c=new r.SpinnerView;return a[e(160)]({acceptedType:e(162)}),a[e(160)]({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(164)](e(135)).to(o),a[e(164)](e(126)).to(o,e(161),(t=>i(n[e(151)],e(t?148:132)))),c[e(164)](e(159)).to(o,e(161)),a[e(134)][e(164)](e(159)).to(o,e(161),(t=>!t)),a[e(146)][e(142)](c),a.on(e(149),((t,r)=>{const i=e;n[i(136)](i(129),r[0],{}),n[i(141)][i(137)][i(165)]()})),a}}var p=e(331),u=e(783),l=e(584);const d=f;function h(){const t=["parent","selection","_cleanUpAfterImport","rootName","createBatch","50MsrEyv","isAtEnd","clipboardInput","isEmpty","enqueueChange","_prepareForImport","has","checkChild","split","1935882wSjYiA","_checkEnabled","then","schema","position","element","refresh","createPositionBefore","config","bind","showWarning","catch","text/html","Authorization","_handleImportFailure","_handleImportResponse","markers","document","headers","_abortController","getRange","getToken","2wsrmLA","resolve","createPositionAfter","_importMarker","editing","An error occurred while importing the Word file.","1185403rCOZSk","isBusy","_undoStepBatch","removeMarker","76KZUnjo","381549lKKLIZ","setData","file","import-word-plugin-conversion-failed","ImportWordEditing","$graveyard","isCollapsed","Notification","merge_fields","120Tdfhji","dataInsert","DateTimeFormat","198FQqnAL","MergeFields","execute","plugins","1362504IKoVdT","getSelectedBlocks","aborted","json","importWord","paragraph","reject","timeZone","view","resolvedOptions","isEnabled","mergeFields","low","POST","_sendImportRequest","editor","get","setSelection","addMarker","set","import-word-plugin-import-cancelled","stringify","abort","2733RPMSIW","locale","change:range","getFirstPosition","finally","root","deleteContent","importWord:","value","formatting","122856CNwDqT","converterUrl","stopListening","signal","model","303900SCcpzE","isAtStart","html","fire"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=197]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(707021===parseInt(r(238))/1*(-parseInt(r(232))/2)+parseInt(r(282))/3*(parseInt(r(242))/4)+-parseInt(r(297))/5+parseInt(r(259))/6+-parseInt(r(243))/7*(-parseInt(r(252))/8)+parseInt(r(210))/9*(parseInt(r(201))/10)+-parseInt(r(255))/11*(parseInt(r(292))/12))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(278)](r(239),!1),this[r(235)]=null,this[r(240)]=null,this[r(229)]=null,this.on(r(253),((e,n)=>{const i=r,s=new DataTransfer;s[i(244)](i(222),n[i(299)]);const o=this[i(235)][i(230)]();this[i(274)][i(296)][i(205)](this[i(240)],(r=>{const e=i;this[e(235)][e(294)](),r[e(276)](o),t[e(236)][e(267)][e(227)][e(300)](e(203),{dataTransfer:s})}))}),{priority:r(271)})}[d(216)](){const t=d;this[t(269)]=this[t(211)]()}[d(257)](t,r={}){const e=d;if(this[e(239)])return Promise[e(233)]();const n=this[e(274)][e(218)][e(275)](e(263));if(this[e(274)][e(258)][e(207)](e(256))){const{prefix:t,suffix:n}=this[e(274)][e(218)][e(275)](e(270));r[e(251)]={prefix:t,suffix:n}}const i={url:n[e(293)],file:t,serviceConfig:{...r,formatting:n[e(291)],timezone:(new(Intl[e(254)]))[e(268)]()[e(266)]}};return this[e(206)](),this[e(273)](i)[e(212)](this[e(225)][e(219)](this))[e(221)](this[e(224)][e(219)](this))[e(286)](this[e(198)][e(219)](this))}[d(211)](){const t=d;if(this[t(239)])return!1;const r=this[t(274)][t(296)],e=r[t(213)],n=r[t(227)][t(197)],i=(0,l.first)(n[t(260)]());return!!i&&e[t(208)](i[t(301)],t(264))}[d(206)](){const t=d,r=this[t(274)],e=r[t(296)],n=e[t(227)][t(197)];this[t(229)]=new AbortController,this[t(240)]=r[t(296)][t(200)]({isUndoable:!0}),e[t(205)](this[t(240)],(r=>{const i=t;n[i(249)]||e[i(288)](n,{leaveUnmerged:!0});const s=n[i(285)](),o=(0,l.first)(n[i(260)]());let a;a=o.is(i(215),i(264))&&o[i(204)]?s:s[i(298)]?e[i(217)](o):s[i(202)]?e[i(234)](o):r[i(209)](s)[i(214)],this[i(235)]=r[i(277)](i(289)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(235)].on(i(284),(()=>{const t=i;t(248)===this[t(235)][t(230)]()[t(287)][t(199)]&&this[t(229)][t(281)]()}))})),this[t(239)]=!0,this[t(216)]()}[d(198)](){const t=d,r=this[t(274)][t(296)];r[t(226)][t(207)](this[t(235)])&&r[t(205)](this[t(240)],(r=>{const e=t;r[e(241)](this[e(235)])})),this[t(235)]=null,this[t(240)]=null,this[t(229)]=null,this[t(239)]=!1,this[t(216)]()}[d(273)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(274)][n(258)][n(275)](n(247))[n(231)](),s=new FormData;s[n(278)](n(218),JSON[n(280)](e)),s[n(278)](n(245),r);const o={method:n(272),headers:{},body:s,signal:this[n(229)][n(295)]};return i&&(o[n(228)][n(223)]=i[n(290)]),fetch(t,o)}[d(225)](t){const r=d;return t.ok?t[r(262)]()[r(212)]((t=>{const e=r;this[e(274)][e(296)][e(226)][e(207)](this[e(235)])&&e(248)!==this[e(235)][e(230)]()[e(287)][e(199)]&&this[e(300)](e(253),t)})):Promise[r(265)]()}[d(224)](){const t=d;if(this[t(229)][t(295)][t(261)])return void(0,l.logWarning)(t(279));const r=this[t(274)],e=i(r[t(283)],t(237));r[t(258)][t(275)](t(250))[t(220)](e),(0,l.logError)(t(246))}}function g(){const t=["7983GlyGOO","config","init","ImportWordEditing","isOfficialPlugin","5373bEYBmV","isPremiumPlugin","970PkvGUq","tokenUrl","470ObjOsx","define","CloudServices","get","9875310yqDPfG","commands","_token","190afhaeL","getToken","https://docx-converter.cke-cs.com/v2/convert/docx-html","none","2413096pcBLuI","importWord","48724511tcqQoi","cloudServices","21jysuLv","1111469lcvMyR","registerTokenUrl","requires","add","73704JAxFPk","inline","token","plugins","editor","pluginName"];return(g=function(){return t})()}const I=v;function v(t,r){const e=g();return(v=function(t,r){return e[t-=286]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(893994===-parseInt(r(311))/1+parseInt(r(293))/2*(parseInt(r(291))/3)+parseInt(r(315))/4*(-parseInt(r(302))/5)+-parseInt(r(299))/6+parseInt(r(310))/7*(-parseInt(r(306))/8)+-parseInt(r(286))/9*(parseInt(r(295))/10)+parseInt(r(308))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(g);class w extends t.Plugin{static get[I(320)](){return I(289)}static get[I(290)](){return!0}static get[I(292)](){return!0}static get[I(313)](){const t=I;return[r.Notification,p.ClipboardPipeline,t(297)]}constructor(t){const r=I;super(t),this[r(301)]=null}async[I(288)](){const t=I,r=this[t(319)];r[t(287)][t(296)](t(307),{converterUrl:t(304),tokenUrl:(r[t(287)][t(298)](t(309))||{})[t(294)],formatting:{resets:t(305),defaults:t(305),styles:t(316)}}),r[t(300)][t(314)](t(307),new m(r));const{tokenUrl:e}=r[t(287)][t(298)](t(307));if(e){const{tokenUrl:n}=r[t(287)][t(298)](t(309))||{};this[t(301)]=e===n?r[t(318)][t(298)](t(297))[t(317)]:await r[t(318)][t(298)](t(297))[t(312)](e)}}[I(303)](){return this[I(301)]}}var y=b;function b(t,r){var e=x();return(b=function(t,r){return e[t-=373]})(t,r)}!function(t){for(var r=b,e=t();;)try{if(898709===parseInt(r(384))/1*(-parseInt(r(381))/2)+parseInt(r(382))/3+parseInt(r(374))/4*(parseInt(r(379))/5)+parseInt(r(383))/6+parseInt(r(373))/7*(parseInt(r(387))/8)+-parseInt(r(385))/9+-parseInt(r(388))/10*(parseInt(r(386))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class W extends t.Plugin{static get[y(377)](){return y(378)}static get[y(376)](){return!0}static get[y(380)](){return!0}static get[y(375)](){return[w,c]}}function x(){var t=["4152666CdtgbV","5754252cKyXSN","1nbrHLW","7483842sbQBLT","22784322gvTntR","792NBTFAl","10yCCcBn","78099lQKXJv","455944pjLRtg","requires","isOfficialPlugin","pluginName","ImportWord","20gUPvNl","isPremiumPlugin","204404kJVJTH"];return(x=function(){return t})()}function P(){var t=["254271xeiEGj","1477352prZJfH","1700410NFGSqU","4iPMyWZ","140090QNDrUV","291846FlhLod","4298370PsZRFY","673437EJcQZi","14svVNYk","693RRsIYT"];return(P=function(){return t})()}function T(t,r){var e=P();return(T=function(t,r){return e[t-=374]})(t,r)}!function(t){for(var r=T,e=t();;)try{if(387481===parseInt(r(380))/1+parseInt(r(378))/2+-parseInt(r(383))/3+-parseInt(r(376))/4*(parseInt(r(375))/5)+-parseInt(r(379))/6+parseInt(r(381))/7*(-parseInt(r(374))/8)+-parseInt(r(382))/9*(-parseInt(r(377))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(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:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=a();return(s=function(t,e){return r[t-=106]})(t,e)}function a(){const t=["46881onVTOt","pluginName","set","_createButton","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","7456QtgpsK","857046ecgZTZ","focus","tooltip","ImportWordUI","isOfficialPlugin","view","isEnabled","isBusy","label","get","children","isOn","isVisible","locale","4165fsFVpZ","execute","commands","632654KMdtti","Importing Word document","componentFactory","add","5914575GduBgE","Import from Word","init","editing","259660ddciLT","isPremiumPlugin","106229hayRdr","menuBar:importWord","20ezsvSN","done","iconView","importWord","bind","editor"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(298337===-parseInt(e(117))/1+-parseInt(e(107))/2+parseInt(e(125))/3+parseInt(e(115))/4+parseInt(e(119))/5*(-parseInt(e(131))/6)+parseInt(e(145))/7*(parseInt(e(130))/8)+parseInt(e(111))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(126)](){return o(134)}static get[o(135)](){return!0}static get[o(116)](){return!0}[o(113)](){const t=o,r=this[t(124)];r.ui[t(109)][t(110)](t(122),(()=>{const n=t,i=this[n(128)](e.FileDialogButtonView),o=r[n(106)][n(140)](n(122));return i[n(123)](n(142)).to(o,n(138)),i[n(133)]=!0,i})),r.ui[t(109)][t(110)](t(118),(()=>this[t(128)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(128)](t){const r=o,n=this[r(124)],s=n[r(106)][r(140)](r(122)),a=new t(n[r(144)]),c=new e.SpinnerView;return a[r(127)]({acceptedType:r(129)}),a[r(127)]({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(123)](r(137)).to(s),a[r(123)](r(139)).to(s,r(138),(t=>i(n[r(144)],r(t?108:112)))),c[r(123)](r(143)).to(s,r(138)),a[r(121)][r(123)](r(143)).to(s,r(138),(t=>!t)),a[r(141)][r(110)](c),a.on(r(120),((t,e)=>{const i=r;n[i(146)](i(122),e[0],{}),n[i(114)][i(136)][i(132)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=f;function h(){const t=["paragraph","get","mergeFields","file","set","merge_fields","value","root","resolve","aborted","stringify","selection","addMarker","setData","execute","MergeFields","41145OvhgTx","schema","6293824pVrzop","importWord:","document","getToken","createBatch","model","view","html","stopListening","signal","low","36oZMEVr","change:range","createPositionAfter","import-word-plugin-import-cancelled","finally","isBusy","resolvedOptions","editing","4dXNNeU","bind","plugins","text/html","POST","_cleanUpAfterImport","ImportWordEditing","then","refresh","_handleImportResponse","getFirstPosition","An error occurred while importing the Word file.","dataInsert","2vQmtlb","markers","headers","json","rootName","showWarning","catch","setSelection","element","3011323Hebzlw","isCollapsed","_abortController","reject","10crySfY","removeMarker","importWord","clipboardInput","has","locale","_prepareForImport","formatting","Notification","deleteContent","parent","getRange","createPositionBefore","timeZone","isEnabled","split","editor","checkChild","enqueueChange","$graveyard","abort","Authorization","DateTimeFormat","isAtStart","4939bMnukz","isEmpty","isAtEnd","_checkEnabled","_undoStepBatch","import-word-plugin-conversion-failed","868143NWEzRV","position","_handleImportFailure","getSelectedBlocks","_sendImportRequest","6708ggQHPg","_importMarker","fire","6286509uloenK","config","converterUrl","1076063OJBwSh"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=158]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(568631===parseInt(e(202))/1*(parseInt(e(253))/2)+parseInt(e(191))/3*(-parseInt(e(240))/4)+parseInt(e(219))/5*(parseInt(e(232))/6)+-parseInt(e(262))/7+-parseInt(e(221))/8+parseInt(e(199))/9*(parseInt(e(161))/10)+-parseInt(e(185))/11*(-parseInt(e(196))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(h);class m extends t.Command{constructor(t){const e=f;super(t),this[e(207)](e(237),!1),this[e(197)]=null,this[e(189)]=null,this[e(159)]=null,this.on(e(252),((r,n)=>{const i=e,o=new DataTransfer;o[i(216)](i(243),n[i(228)]);const s=this[i(197)][i(172)]();this[i(177)][i(226)][i(179)](this[i(189)],(e=>{const r=i;this[r(197)][r(229)](),e[r(260)](s),t[r(239)][r(227)][r(223)][r(198)](r(164),{dataTransfer:o})}))}),{priority:e(231)})}[d(248)](){const t=d;this[t(175)]=this[t(188)]()}[d(217)](t,e={}){const r=d;if(this[r(237)])return Promise[r(211)]();const n=this[r(177)][r(200)][r(204)](r(163));if(this[r(177)][r(242)][r(165)](r(218))){const{prefix:t,suffix:n}=this[r(177)][r(200)][r(204)](r(205));e[r(208)]={prefix:t,suffix:n}}const i={url:n[r(201)],file:t,serviceConfig:{...e,formatting:n[r(168)],timezone:(new(Intl[r(183)]))[r(238)]()[r(174)]}};return this[r(167)](),this[r(195)](i)[r(247)](this[r(249)][r(241)](this))[r(259)](this[r(193)][r(241)](this))[r(236)](this[r(245)][r(241)](this))}[d(188)](){const t=d;if(this[t(237)])return!1;const e=this[t(177)][t(226)],r=e[t(220)],n=e[t(223)][t(214)],i=(0,l.first)(n[t(194)]());return!!i&&r[t(178)](i[t(171)],t(203))}[d(167)](){const t=d,e=this[t(177)],r=e[t(226)],n=r[t(223)][t(214)];this[t(159)]=new AbortController,this[t(189)]=e[t(226)][t(225)]({isUndoable:!0}),r[t(179)](this[t(189)],(e=>{const i=t;n[i(158)]||r[i(170)](n,{leaveUnmerged:!0});const o=n[i(250)](),s=(0,l.first)(n[i(194)]());let a;a=s.is(i(261),i(203))&&s[i(186)]?o:o[i(184)]?r[i(173)](s):o[i(187)]?r[i(234)](s):e[i(176)](o)[i(192)],this[i(197)]=e[i(215)](i(222)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(197)].on(i(233),(()=>{const t=i;t(180)===this[t(197)][t(172)]()[t(210)][t(257)]&&this[t(159)][t(181)]()}))})),this[t(237)]=!0,this[t(248)]()}[d(245)](){const t=d,e=this[t(177)][t(226)];e[t(254)][t(165)](this[t(197)])&&e[t(179)](this[t(189)],(e=>{const r=t;e[r(162)](this[r(197)])})),this[t(197)]=null,this[t(189)]=null,this[t(159)]=null,this[t(237)]=!1,this[t(248)]()}[d(195)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(177)][n(242)][n(204)](n(246))[n(224)](),o=new FormData;o[n(207)](n(200),JSON[n(213)](r)),o[n(207)](n(206),e);const s={method:n(244),headers:{},body:o,signal:this[n(159)][n(230)]};return i&&(s[n(255)][n(182)]=i[n(209)]),fetch(t,s)}[d(249)](t){const e=d;return t.ok?t[e(256)]()[e(247)]((t=>{const r=e;this[r(177)][r(226)][r(254)][r(165)](this[r(197)])&&r(180)!==this[r(197)][r(172)]()[r(210)][r(257)]&&this[r(198)](r(252),t)})):Promise[e(160)]()}[d(193)](){const t=d;if(this[t(159)][t(230)][t(212)])return void(0,l.logWarning)(t(235));const e=this[t(177)],r=i(e[t(166)],t(251));e[t(242)][t(204)](t(169))[t(258)](r),(0,l.logError)(t(190))}}const g=v;function I(){const t=["define","pluginName","2872460JxTqTF","importWord","https://docx-converter.cke-cs.com/v2/convert/docx-html","495756pannYC","isOfficialPlugin","plugins","editor","tokenUrl","CloudServices","init","2hAfEWZ","857707DejMEI","commands","inline","1567902fdWlUx","669681iufuMB","68KqHsSc","get","token","cloudServices","108490dcLPEM","ImportWordEditing","add","27UtYIHt","config","_token","isPremiumPlugin","requires","getToken","6956768Ixtppm","registerTokenUrl","none"];return(I=function(){return t})()}function v(t,e){const r=I();return(v=function(t,e){return r[t-=273]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(562850===parseInt(e(290))/1*(parseInt(e(289))/2)+parseInt(e(294))/3+-parseInt(e(295))/4*(parseInt(e(299))/5)+parseInt(e(282))/6+-parseInt(e(293))/7+-parseInt(e(274))/8+parseInt(e(302))/9*(parseInt(e(279))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(I);class w extends t.Plugin{static get[g(278)](){return g(300)}static get[g(283)](){return!0}static get[g(305)](){return!0}static get[g(306)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(287)]}constructor(t){const e=g;super(t),this[e(304)]=null}async[g(288)](){const t=g,e=this[t(285)];e[t(303)][t(277)](t(280),{converterUrl:t(281),tokenUrl:(e[t(303)][t(296)](t(298))||{})[t(286)],formatting:{resets:t(276),defaults:t(276),styles:t(292)}}),e[t(291)][t(301)](t(280),new m(e));const{tokenUrl:r}=e[t(303)][t(296)](t(280));if(r){const{tokenUrl:n}=e[t(303)][t(296)](t(298))||{};this[t(304)]=r===n?e[t(284)][t(296)](t(287))[t(297)]:await e[t(284)][t(296)](t(287))[t(275)](r)}}[g(273)](){return this[g(304)]}}var b=x;function W(){var t=["isOfficialPlugin","695250ruAHHV","isPremiumPlugin","4850209aCBlEs","pluginName","2280102jmHCaP","434439XYgevw","ImportWord","requires","16GkDeOu","514114EvXvnO","544532PYlLqm","562550KduaMs","5xhVNKI"];return(W=function(){return t})()}function x(t,e){var r=W();return(x=function(t,e){return r[t-=458]})(t,e)}!function(t){for(var e=x,r=t();;)try{if(393812===parseInt(e(462))/1+-parseInt(e(460))/2+-parseInt(e(469))/3+-parseInt(e(461))/4*(-parseInt(e(463))/5)+parseInt(e(465))/6+parseInt(e(467))/7+parseInt(e(459))/8*(-parseInt(e(470))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class y extends t.Plugin{static get[b(468)](){return b(471)}static get[b(464)](){return!0}static get[b(466)](){return!0}static get[b(458)](){return[w,c]}}function P(t,e){var r=k();return(P=function(t,e){return r[t-=135]})(t,e)}function k(){var t=["320gsEDax","1624713gQrvQP","191688PhIvGf","40aGXFCp","917774XqgDHh","1648422ePfAbf","2802792uuVBRl","669218BnKgQj","2833425yBOGDg","20mTqqVh","2qkbKWK"];return(k=function(){return t})()}!function(t){for(var e=P,r=t();;)try{if(486692===-parseInt(e(145))/1*(parseInt(e(140))/2)+parseInt(e(142))/3+-parseInt(e(136))/4+parseInt(e(139))/5*(parseInt(e(143))/6)+parseInt(e(138))/7+parseInt(e(144))/8*(-parseInt(e(135))/9)+parseInt(e(141))/10*(parseInt(e(137))/11))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 _0x370633,Command as _0x4e1b0a}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x368e5a,MenuBarMenuListItemFileDialogButtonView as _0x18ebab,SpinnerView as _0x46ff48,Notification as _0x2c87ee}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0xf8e817}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x39c9b1}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x935f5b,uid as _0x18cb2d,logWarning as _0x33eefc,logError as _0x1e2d2c}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x521322,_0xab0c34){const t=_0x521322['t'];switch(_0xab0c34){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 _0xab0c34;}}class i extends _0x370633{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x323e90=this['editor'];_0x323e90['ui']['componentFactory']['add']('importWord',()=>{const _0x4da5eb=this['_createButton'](_0x368e5a),_0x43e5d8=_0x323e90['commands']['get']('importWord');return _0x4da5eb['bind']('isOn')['to'](_0x43e5d8,'isBusy'),_0x4da5eb['tooltip']=!0x0,_0x4da5eb;}),_0x323e90['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x18ebab));}['_createButton'](_0xc4dde8){const _0x148a74=this['editor'],_0x5dc783=_0x148a74['commands']['get']('importWord'),_0x591174=new _0xc4dde8(_0x148a74['locale']),_0x4d748f=new _0x46ff48();return _0x591174['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x591174['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'}),_0x591174['bind']('isEnabled')['to'](_0x5dc783),_0x591174['bind']('label')['to'](_0x5dc783,'isBusy',_0x150c02=>p(_0x148a74['locale'],_0x150c02?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x4d748f['bind']('isVisible')['to'](_0x5dc783,'isBusy'),_0x591174['iconView']['bind']('isVisible')['to'](_0x5dc783,'isBusy',_0x27e457=>!_0x27e457),_0x591174['children']['add'](_0x4d748f),_0x591174['on']('done',(_0x716aa3,_0x3829e0)=>{_0x148a74['execute']('importWord',_0x3829e0[0x0],{}),_0x148a74['editing']['view']['focus']();}),_0x591174;}}class d extends _0x4e1b0a{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x4c3d62){super(_0x4c3d62),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x41d1af,_0x26f0e7)=>{const _0x4d986b=new DataTransfer();_0x4d986b['setData']('text/html',_0x26f0e7['html']);const _0x13d80a=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0xae9d4b=>{this['_importMarker']['stopListening'](),_0xae9d4b['setSelection'](_0x13d80a),_0x4c3d62['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x4d986b});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xf58989,_0x2a0117={}){if(this['isBusy'])return Promise['resolve']();const _0x29eecd=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x13520c,suffix:_0x704596}=this['editor']['config']['get']('mergeFields');_0x2a0117['merge_fields']={'prefix':_0x13520c,'suffix':_0x704596};}const _0x299e58={'url':_0x29eecd['converterUrl'],'file':_0xf58989,'serviceConfig':{..._0x2a0117,'formatting':_0x29eecd['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x299e58)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x5cd6e7=this['editor']['model'],_0x125559=_0x5cd6e7['schema'],_0x46e21c=_0x5cd6e7['document']['selection'],_0x39c527=_0x935f5b(_0x46e21c['getSelectedBlocks']());return!!_0x39c527&&_0x125559['checkChild'](_0x39c527['parent'],'paragraph');}['_prepareForImport'](){const _0x961158=this['editor'],_0x307a9c=_0x961158['model'],_0x566732=_0x307a9c['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x961158['model']['createBatch']({'isUndoable':!0x0}),_0x307a9c['enqueueChange'](this['_undoStepBatch'],_0x5dfc83=>{_0x566732['isCollapsed']||_0x307a9c['deleteContent'](_0x566732,{'leaveUnmerged':!0x0});const _0x423734=_0x566732['getFirstPosition'](),_0x5ab1ab=_0x935f5b(_0x566732['getSelectedBlocks']());let _0x523736;_0x523736=_0x5ab1ab['is']('element','paragraph')&&_0x5ab1ab['isEmpty']?_0x423734:_0x423734['isAtStart']?_0x307a9c['createPositionBefore'](_0x5ab1ab):_0x423734['isAtEnd']?_0x307a9c['createPositionAfter'](_0x5ab1ab):_0x5dfc83['split'](_0x423734)['position'],this['_importMarker']=_0x5dfc83['addMarker']('importWord:'+_0x18cb2d(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x39c9b1(_0x523736)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x38f833=this['editor']['model'];_0x38f833['markers']['has'](this['_importMarker'])&&_0x38f833['enqueueChange'](this['_undoStepBatch'],_0xa3aadb=>{_0xa3aadb['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x5b2581,file:_0x97852e,serviceConfig:_0x1142e1}){const _0x586d18=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x51fe97=new FormData();_0x51fe97['set']('config',JSON['stringify'](_0x1142e1)),_0x51fe97['set']('file',_0x97852e);const _0x5686ce={'method':'POST','headers':{},'body':_0x51fe97,'signal':this['_abortController']['signal']};return _0x586d18&&(_0x5686ce['headers']['Authorization']=_0x586d18['value']),fetch(_0x5b2581,_0x5686ce);}['_handleImportResponse'](_0x349367){return _0x349367['ok']?_0x349367['json']()['then'](_0x598f45=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x598f45);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x33eefc('import-word-plugin-import-cancelled');const _0x2acdc6=this['editor'],_0x15cef1=p(_0x2acdc6['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x2acdc6['plugins']['get']('Notification')['showWarning'](_0x15cef1),_0x1e2d2c('import-word-plugin-conversion-failed');}}class e extends _0x370633{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2c87ee,_0xf8e817,'CloudServices'];}constructor(_0x4eaba8){super(_0x4eaba8),this['_token']=null;}async['init'](){const _0x39163b=this['editor'];_0x39163b['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x39163b['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x39163b['commands']['add']('importWord',new d(_0x39163b));const {tokenUrl:_0x28aa9c}=_0x39163b['config']['get']('importWord');if(_0x28aa9c){const {tokenUrl:_0x28bf8c}=_0x39163b['config']['get']('cloudServices')||{};this['_token']=_0x28aa9c===_0x28bf8c?_0x39163b['plugins']['get']('CloudServices')['token']:await _0x39163b['plugins']['get']('CloudServices')['registerTokenUrl'](_0x28aa9c);}}['getToken'](){return this['_token'];}}class o extends _0x370633{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':_0x395e75=>0x1!=_0x395e75}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3208b9=>{const {af:{dictionary:_0x32920e,getPluralForm:_0x8ceaeb}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x15d02a=>0x1!=_0x15d02a}};_0x3208b9['af']||={'dictionary':{},'getPluralForm':null},_0x3208b9['af']['dictionary']=Object['assign'](_0x3208b9['af']['dictionary'],_0x32920e),_0x3208b9['af']['getPluralForm']=_0x8ceaeb;})(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':_0x4a1bc9=>0x0==_0x4a1bc9?0x0:0x1==_0x4a1bc9?0x1:0x2==_0x4a1bc9?0x2:_0x4a1bc9%0x64>=0x3&&_0x4a1bc9%0x64<=0xa?0x3:_0x4a1bc9%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x374f11=>{const {ar:{dictionary:_0x324ccd,getPluralForm:_0x23602d}}={'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':_0x5e473f=>0x0==_0x5e473f?0x0:0x1==_0x5e473f?0x1:0x2==_0x5e473f?0x2:_0x5e473f%0x64>=0x3&&_0x5e473f%0x64<=0xa?0x3:_0x5e473f%0x64>=0xb?0x4:0x5}};_0x374f11['ar']||={'dictionary':{},'getPluralForm':null},_0x374f11['ar']['dictionary']=Object['assign'](_0x374f11['ar']['dictionary'],_0x324ccd),_0x374f11['ar']['getPluralForm']=_0x23602d;})(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':_0x3bbd62=>0x1!=_0x3bbd62}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4abd49=>{const {ast:{dictionary:_0x9b6c01,getPluralForm:_0x18bb5b}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x33b959=>0x1!=_0x33b959}};_0x4abd49['ast']||={'dictionary':{},'getPluralForm':null},_0x4abd49['ast']['dictionary']=Object['assign'](_0x4abd49['ast']['dictionary'],_0x9b6c01),_0x4abd49['ast']['getPluralForm']=_0x18bb5b;})(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':_0x2642a8=>0x1!=_0x2642a8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x55e463=>{const {az:{dictionary:_0x527166,getPluralForm:_0x189bac}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2d80db=>0x1!=_0x2d80db}};_0x55e463['az']||={'dictionary':{},'getPluralForm':null},_0x55e463['az']['dictionary']=Object['assign'](_0x55e463['az']['dictionary'],_0x527166),_0x55e463['az']['getPluralForm']=_0x189bac;})(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':_0x141d6b=>0x1!=_0x141d6b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4998b7=>{const {bg:{dictionary:_0xbb85f9,getPluralForm:_0x553298}}={'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':_0x223628=>0x1!=_0x223628}};_0x4998b7['bg']||={'dictionary':{},'getPluralForm':null},_0x4998b7['bg']['dictionary']=Object['assign'](_0x4998b7['bg']['dictionary'],_0xbb85f9),_0x4998b7['bg']['getPluralForm']=_0x553298;})(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':_0x16e473=>0x1!=_0x16e473}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x246b04=>{const {bn:{dictionary:_0x545ad6,getPluralForm:_0xce293d}}={'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':_0x51a560=>0x1!=_0x51a560}};_0x246b04['bn']||={'dictionary':{},'getPluralForm':null},_0x246b04['bn']['dictionary']=Object['assign'](_0x246b04['bn']['dictionary'],_0x545ad6),_0x246b04['bn']['getPluralForm']=_0xce293d;})(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':_0x5e65a9=>_0x5e65a9%0xa==0x1&&_0x5e65a9%0x64!=0xb?0x0:_0x5e65a9%0xa>=0x2&&_0x5e65a9%0xa<=0x4&&(_0x5e65a9%0x64<0xa||_0x5e65a9%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x426b77=>{const {bs:{dictionary:_0x34fa34,getPluralForm:_0x3408f0}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x152f82=>_0x152f82%0xa==0x1&&_0x152f82%0x64!=0xb?0x0:_0x152f82%0xa>=0x2&&_0x152f82%0xa<=0x4&&(_0x152f82%0x64<0xa||_0x152f82%0x64>=0x14)?0x1:0x2}};_0x426b77['bs']||={'dictionary':{},'getPluralForm':null},_0x426b77['bs']['dictionary']=Object['assign'](_0x426b77['bs']['dictionary'],_0x34fa34),_0x426b77['bs']['getPluralForm']=_0x3408f0;})(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':_0x2c5ca4=>0x1!=_0x2c5ca4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x445f18=>{const {ca:{dictionary:_0x5fcb33,getPluralForm:_0x1f83b6}}={'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':_0x318489=>0x1!=_0x318489}};_0x445f18['ca']||={'dictionary':{},'getPluralForm':null},_0x445f18['ca']['dictionary']=Object['assign'](_0x445f18['ca']['dictionary'],_0x5fcb33),_0x445f18['ca']['getPluralForm']=_0x1f83b6;})(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':_0x38698f=>0x1==_0x38698f?0x0:_0x38698f>=0x2&&_0x38698f<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b8ff7=>{const {cs:{dictionary:_0x1bce2b,getPluralForm:_0x1ed1f0}}={'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':_0x4bd274=>0x1==_0x4bd274?0x0:_0x4bd274>=0x2&&_0x4bd274<=0x4?0x1:0x2}};_0x4b8ff7['cs']||={'dictionary':{},'getPluralForm':null},_0x4b8ff7['cs']['dictionary']=Object['assign'](_0x4b8ff7['cs']['dictionary'],_0x1bce2b),_0x4b8ff7['cs']['getPluralForm']=_0x1ed1f0;})(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':_0x376cbc=>0x1!=_0x376cbc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51bf4e=>{const {da:{dictionary:_0xe99da9,getPluralForm:_0x334ca2}}={'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':_0x2e5e92=>0x1!=_0x2e5e92}};_0x51bf4e['da']||={'dictionary':{},'getPluralForm':null},_0x51bf4e['da']['dictionary']=Object['assign'](_0x51bf4e['da']['dictionary'],_0xe99da9),_0x51bf4e['da']['getPluralForm']=_0x334ca2;})(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':_0x307e26=>0x1!=_0x307e26}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x510ee8=>{const {'de-ch':{dictionary:_0x579667,getPluralForm:_0x4fb895}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xbb3990=>0x1!=_0xbb3990}};_0x510ee8['de-ch']||={'dictionary':{},'getPluralForm':null},_0x510ee8['de-ch']['dictionary']=Object['assign'](_0x510ee8['de-ch']['dictionary'],_0x579667),_0x510ee8['de-ch']['getPluralForm']=_0x4fb895;})(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':_0x71411=>0x1!=_0x71411}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d2bc5=>{const {de:{dictionary:_0x3400b9,getPluralForm:_0xfd9e38}}={'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':_0x5d9932=>0x1!=_0x5d9932}};_0x4d2bc5['de']||={'dictionary':{},'getPluralForm':null},_0x4d2bc5['de']['dictionary']=Object['assign'](_0x4d2bc5['de']['dictionary'],_0x3400b9),_0x4d2bc5['de']['getPluralForm']=_0xfd9e38;})(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':_0x48a5fd=>0x1!=_0x48a5fd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x477a2b=>{const {el:{dictionary:_0x270e1f,getPluralForm:_0x5563f7}}={'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':_0x2d2450=>0x1!=_0x2d2450}};_0x477a2b['el']||={'dictionary':{},'getPluralForm':null},_0x477a2b['el']['dictionary']=Object['assign'](_0x477a2b['el']['dictionary'],_0x270e1f),_0x477a2b['el']['getPluralForm']=_0x5563f7;})(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':_0x18c1d1=>0x1!=_0x18c1d1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x593ef0=>{const {'en-au':{dictionary:_0x12f278,getPluralForm:_0x2ef574}}={'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':_0x21d822=>0x1!=_0x21d822}};_0x593ef0['en-au']||={'dictionary':{},'getPluralForm':null},_0x593ef0['en-au']['dictionary']=Object['assign'](_0x593ef0['en-au']['dictionary'],_0x12f278),_0x593ef0['en-au']['getPluralForm']=_0x2ef574;})(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':_0x5e0455=>0x1!=_0x5e0455}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x321b96=>{const {'en-gb':{dictionary:_0x1750c2,getPluralForm:_0x38220a}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1a83e4=>0x1!=_0x1a83e4}};_0x321b96['en-gb']||={'dictionary':{},'getPluralForm':null},_0x321b96['en-gb']['dictionary']=Object['assign'](_0x321b96['en-gb']['dictionary'],_0x1750c2),_0x321b96['en-gb']['getPluralForm']=_0x38220a;})(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':_0x35770e=>0x1!=_0x35770e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x202a2f=>{const {en:{dictionary:_0x32efaa,getPluralForm:_0x40d15d}}={'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':_0x216dac=>0x1!=_0x216dac}};_0x202a2f['en']||={'dictionary':{},'getPluralForm':null},_0x202a2f['en']['dictionary']=Object['assign'](_0x202a2f['en']['dictionary'],_0x32efaa),_0x202a2f['en']['getPluralForm']=_0x40d15d;})(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':_0xa46a1=>0x1!=_0xa46a1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xef7d0a=>{const {eo:{dictionary:_0x46faf1,getPluralForm:_0xb6fed4}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xff3379=>0x1!=_0xff3379}};_0xef7d0a['eo']||={'dictionary':{},'getPluralForm':null},_0xef7d0a['eo']['dictionary']=Object['assign'](_0xef7d0a['eo']['dictionary'],_0x46faf1),_0xef7d0a['eo']['getPluralForm']=_0xb6fed4;})(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':_0x44940a=>0x1!=_0x44940a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59cb4e=>{const {'es-co':{dictionary:_0x18f5d4,getPluralForm:_0x3c0c13}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3be718=>0x1!=_0x3be718}};_0x59cb4e['es-co']||={'dictionary':{},'getPluralForm':null},_0x59cb4e['es-co']['dictionary']=Object['assign'](_0x59cb4e['es-co']['dictionary'],_0x18f5d4),_0x59cb4e['es-co']['getPluralForm']=_0x3c0c13;})(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':_0x12953a=>0x1!=_0x12953a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e1681=>{const {es:{dictionary:_0x4685d2,getPluralForm:_0x4f698a}}={'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':_0x55874d=>0x1!=_0x55874d}};_0x3e1681['es']||={'dictionary':{},'getPluralForm':null},_0x3e1681['es']['dictionary']=Object['assign'](_0x3e1681['es']['dictionary'],_0x4685d2),_0x3e1681['es']['getPluralForm']=_0x4f698a;})(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':_0x11f63c=>0x1!=_0x11f63c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b4aec=>{const {et:{dictionary:_0x5cdfc1,getPluralForm:_0xa0fe97}}={'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':_0x122fe7=>0x1!=_0x122fe7}};_0x2b4aec['et']||={'dictionary':{},'getPluralForm':null},_0x2b4aec['et']['dictionary']=Object['assign'](_0x2b4aec['et']['dictionary'],_0x5cdfc1),_0x2b4aec['et']['getPluralForm']=_0xa0fe97;})(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':_0x4e6126=>0x1!=_0x4e6126}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x303ce4=>{const {eu:{dictionary:_0x38d802,getPluralForm:_0xbc6152}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xc7aa3f=>0x1!=_0xc7aa3f}};_0x303ce4['eu']||={'dictionary':{},'getPluralForm':null},_0x303ce4['eu']['dictionary']=Object['assign'](_0x303ce4['eu']['dictionary'],_0x38d802),_0x303ce4['eu']['getPluralForm']=_0xbc6152;})(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':_0x270f38=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ee91a=>{const {fa:{dictionary:_0x51554a,getPluralForm:_0x346a78}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x35a76a=>0x0}};_0x1ee91a['fa']||={'dictionary':{},'getPluralForm':null},_0x1ee91a['fa']['dictionary']=Object['assign'](_0x1ee91a['fa']['dictionary'],_0x51554a),_0x1ee91a['fa']['getPluralForm']=_0x346a78;})(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':_0x5cadf6=>0x1!=_0x5cadf6}};
|