@ckeditor/ckeditor5-import-word 44.0.0-alpha.0 → 44.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>W,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=188]})(t,r)}function a(){const t=["isEnabled","editing","pluginName","label","set","13sTaxFF","locale","add","168QNMxmc","_createButton","editor","view","647916WMTFhX","isBusy","done","commands","168252KKtwvB","focus","2020OLrWIs","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","iconView","Import from Word","children","bind","285538LWFLvd","3eVQinO","init","isOfficialPlugin","Importing Word document","componentFactory","execute","695ubkMFv","menuBar:importWord","13977uCPFAr","ImportWordUI","isVisible","147496SwsePn","importWord","isOn","4kHsAZw","tooltip","get","isPremiumPlugin","15094308qfwDlk","5586IEKAJx"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(223689===-parseInt(r(212))/1*(parseInt(r(190))/2)+parseInt(r(221))/3*(parseInt(r(208))/4)+parseInt(r(227))/5*(-parseInt(r(195))/6)+parseInt(r(204))/7*(-parseInt(r(232))/8)+-parseInt(r(229))/9*(parseInt(r(214))/10)+parseInt(r(220))/11+-parseInt(r(194))/12*(-parseInt(r(201))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(198)](){return o(230)}static get[o(223)](){return!0}static get[o(193)](){return!0}[o(222)](){const t=o,e=this[t(206)];e.ui[t(225)][t(203)](t(188),(()=>{const n=t,i=this[n(205)](r.FileDialogButtonView),o=e[n(211)][n(192)](n(188));return i[n(219)](n(189)).to(o,n(209)),i[n(191)]=!0,i})),e.ui[t(225)][t(203)](t(228),(()=>this[t(205)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(205)](t){const e=o,n=this[e(206)],s=n[e(211)][e(192)](e(188)),a=new t(n[e(202)]),c=new r.SpinnerView;return a[e(200)]({acceptedType:e(215)}),a[e(200)]({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(219)](e(196)).to(s),a[e(219)](e(199)).to(s,e(209),(t=>i(n[e(202)],e(t?224:217)))),c[e(219)](e(231)).to(s,e(209)),a[e(216)][e(219)](e(231)).to(s,e(209),(t=>!t)),a[e(218)][e(203)](c),a.on(e(210),((t,r)=>{const i=e;n[i(226)](i(188),r[0],{}),n[i(197)][i(207)][i(213)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=h;function h(t,r){const e=m();return(h=function(t,r){return e[t-=106]})(t,r)}!function(t){const r=h,e=t();for(;;)try{if(713591===-parseInt(r(182))/1+parseInt(r(124))/2+-parseInt(r(197))/3+-parseInt(r(113))/4*(-parseInt(r(155))/5)+parseInt(r(195))/6*(parseInt(r(208))/7)+parseInt(r(173))/8+-parseInt(r(152))/9*(parseInt(r(115))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(m);class f extends t.Command{constructor(t){const r=h;super(t),this[r(116)](r(185),!1),this[r(202)]=null,this[r(201)]=null,this[r(172)]=null,this.on(r(141),((e,n)=>{const i=r,o=new DataTransfer;o[i(118)](i(200),n[i(170)]);const s=this[i(202)][i(119)]();this[i(203)][i(106)][i(193)](this[i(201)],(r=>{const e=i;this[e(202)][e(175)](),r[e(168)](s),t[e(177)][e(112)][e(207)][e(121)](e(154),{dataTransfer:o})}))}),{priority:r(157)})}[d(161)](){const t=d;this[t(187)]=this[t(142)]()}[d(180)](t,r={}){const e=d;if(this[e(185)])return Promise[e(190)]();const n=this[e(203)][e(146)][e(131)](e(126));if(this[e(203)][e(204)][e(166)](e(125))){const{prefix:t,suffix:n}=this[e(203)][e(146)][e(131)](e(148));r[e(109)]={prefix:t,suffix:n}}const i={url:n[e(147)],file:t,serviceConfig:{...r,formatting:n[e(139)],timezone:(new(Intl[e(135)]))[e(127)]()[e(198)]}};return this[e(179)](),this[e(151)](i)[e(156)](this[e(184)][e(178)](this))[e(129)](this[e(194)][e(178)](this))[e(130)](this[e(171)][e(178)](this))}[d(142)](){const t=d;if(this[t(185)])return!1;const r=this[t(203)][t(106)],e=r[t(114)],n=r[t(207)][t(117)],i=(0,l.first)(n[t(133)]());return!!i&&e[t(176)](i[t(122)],t(128))}[d(179)](){const t=d,r=this[t(203)],e=r[t(106)],n=e[t(207)][t(117)];this[t(172)]=new AbortController,this[t(201)]=r[t(106)][t(143)]({isUndoable:!0}),e[t(193)](this[t(201)],(r=>{const i=t;n[i(189)]||e[i(107)](n,{leaveUnmerged:!0});const o=n[i(167)](),s=(0,l.first)(n[i(133)]());let a;a=s.is(i(158),i(128))&&s[i(199)]?o:o[i(183)]?e[i(159)](s):o[i(206)]?e[i(164)](s):r[i(191)](o)[i(138)],this[i(202)]=r[i(153)](i(145)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(202)].on(i(186),(()=>{const t=i;t(188)===this[t(202)][t(119)]()[t(160)][t(174)]&&this[t(172)][t(136)]()}))})),this[t(185)]=!0,this[t(161)]()}[d(171)](){const t=d,r=this[t(203)][t(106)];r[t(110)][t(166)](this[t(202)])&&r[t(193)](this[t(201)],(r=>{const e=t;r[e(132)](this[e(202)])})),this[t(202)]=null,this[t(201)]=null,this[t(172)]=null,this[t(185)]=!1,this[t(161)]()}[d(151)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(203)][n(204)][n(131)](n(111))[n(192)](),o=new FormData;o[n(116)](n(146),JSON[n(150)](e)),o[n(116)](n(205),r);const s={method:n(123),headers:{},body:o,signal:this[n(172)][n(140)]};return i&&(s[n(137)][n(108)]=i[n(165)]),fetch(t,s)}[d(184)](t){const r=d;return t.ok?t[r(120)]()[r(156)]((t=>{const e=r;this[e(203)][e(106)][e(110)][e(166)](this[e(202)])&&e(188)!==this[e(202)][e(119)]()[e(160)][e(174)]&&this[e(121)](e(141),t)})):Promise[r(163)]()}[d(194)](){const t=d;if(this[t(172)][t(140)][t(169)])return void(0,l.logWarning)(t(196));const r=this[t(203)],e=i(r[t(181)],t(162));r[t(204)][t(131)](t(144))[t(134)](e),(0,l.logError)(t(149))}}function m(){const t=["config","converterUrl","mergeFields","import-word-plugin-conversion-failed","stringify","_sendImportRequest","12704463LwyRsK","addMarker","clipboardInput","5KRkCNr","then","low","element","createPositionBefore","root","refresh","An error occurred while importing the Word file.","reject","createPositionAfter","value","has","getFirstPosition","setSelection","aborted","html","_cleanUpAfterImport","_abortController","9102528yrHnVY","rootName","stopListening","checkChild","editing","bind","_prepareForImport","execute","locale","487572QvFFlv","isAtStart","_handleImportResponse","isBusy","change:range","isEnabled","$graveyard","isCollapsed","resolve","split","getToken","enqueueChange","_handleImportFailure","6zFxzyf","import-word-plugin-import-cancelled","753981EhsHpI","timeZone","isEmpty","text/html","_undoStepBatch","_importMarker","editor","plugins","file","isAtEnd","document","8610406IjBkFN","model","deleteContent","Authorization","merge_fields","markers","ImportWordEditing","view","358548Ohjymw","schema","10xZmAAm","set","selection","setData","getRange","json","fire","parent","POST","813172ifliCz","MergeFields","importWord","resolvedOptions","paragraph","catch","finally","get","removeMarker","getSelectedBlocks","showWarning","DateTimeFormat","abort","headers","position","formatting","signal","dataInsert","_checkEnabled","createBatch","Notification","importWord:"];return(m=function(){return t})()}const g=v;function I(){const t=["_token","cloudServices","getToken","config","isOfficialPlugin","CloudServices","508jCLUrG","token","init","registerTokenUrl","requires","tokenUrl","7xABEEi","1278427GCiKor","2994285xRHntu","2205344zmpVPJ","37175OdBGpv","commands","ImportWordEditing","4762650FdJume","596820SRseTX","pluginName","https://docx-converter.cke-cs.com/v2/convert/docx-html","add","plugins","get","inline","isPremiumPlugin","6000471IhIUAI","define","importWord","none","editor"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=144]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(702295===-parseInt(r(163))/1+parseInt(r(170))/2+-parseInt(r(164))/3+parseInt(r(156))/4*(parseInt(r(166))/5)+parseInt(r(169))/6+-parseInt(r(162))/7*(-parseInt(r(165))/8)+parseInt(r(145))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(171)](){return g(168)}static get[g(154)](){return!0}static get[g(144)](){return!0}static get[g(160)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(155)]}constructor(t){const r=g;super(t),this[r(150)]=null}async[g(158)](){const t=g,r=this[t(149)];r[t(153)][t(146)](t(147),{converterUrl:t(172),tokenUrl:(r[t(153)][t(175)](t(151))||{})[t(161)],formatting:{resets:t(148),defaults:t(148),styles:t(176)}}),r[t(167)][t(173)](t(147),new f(r));const{tokenUrl:e}=r[t(153)][t(175)](t(147));if(e){const{tokenUrl:n}=r[t(153)][t(175)](t(151))||{};this[t(150)]=e===n?r[t(174)][t(175)](t(155))[t(157)]:await r[t(174)][t(175)](t(155))[t(159)](e)}}[g(152)](){return this[g(150)]}}function y(t,r){var e=b();return(y=function(t,r){return e[t-=244]})(t,r)}var x=y;function b(){var t=["pluginName","ImportWord","isPremiumPlugin","23235xUkfsR","requires","143532AXKAKe","157746lShwoj","419740zOZRDN","1852662XBzPUy","246DnSCUI","186672KOFocQ","2260408shgFru","isOfficialPlugin"];return(b=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(160380===parseInt(r(244))/1+parseInt(r(245))/2+parseInt(r(256))/3+-parseInt(r(248))/4+parseInt(r(254))/5*(-parseInt(r(247))/6)+parseInt(r(246))/7+-parseInt(r(249))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(b);class W extends t.Plugin{static get[x(251)](){return x(252)}static get[x(250)](){return!0}static get[x(253)](){return!0}static get[x(255)](){return[w,c]}}function k(t,r){var e=P();return(k=function(t,r){return e[t-=220]})(t,r)}function P(){var t=["7866657VyiKII","3wvHhLM","266420fLHZiP","6gtibRs","2985725MMFdDH","10619847quIzfQ","1917060MZsivq","490yEpbJs","8uYXnqm","1190020SQOsDb","538540yKszDD"];return(P=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(774752===-parseInt(r(225))/1+parseInt(r(222))/2+-parseInt(r(228))/3*(parseInt(r(226))/4)+parseInt(r(220))/5*(parseInt(r(230))/6)+-parseInt(r(221))/7+-parseInt(r(224))/8*(-parseInt(r(227))/9)+-parseInt(r(223))/10*(-parseInt(r(229))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>b,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=281]})(t,r)}function a(){const t=["_createButton","iconView","773606gzVQZe","get","editor","ImportWordUI","focus","isVisible","pluginName","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","componentFactory","isPremiumPlugin","Import from Word","execute","7442192yGDJlR","done","32327064hIsPlO","isEnabled","isBusy","init","isOfficialPlugin","editing","1284QMdljy","316RaGTMq","add","children","importWord","tooltip","2390913pZOOfd","menuBar:importWord","Importing Word document","bind","locale","label","commands","set","view","29487BBpyxK","24330bcrhpC","isOn","883921YEWJzC"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(768476===parseInt(r(290))/1+parseInt(r(293))/2+-parseInt(r(287))/3*(-parseInt(r(314))/4)+-parseInt(r(288))/5*(-parseInt(r(313))/6)+parseInt(r(319))/7+parseInt(r(305))/8+-parseInt(r(307))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(299)](){return o(296)}static get[o(311)](){return!0}static get[o(302)](){return!0}[o(310)](){const t=o,e=this[t(295)];e.ui[t(301)][t(315)](t(317),(()=>{const n=t,i=this[n(291)](r.FileDialogButtonView),o=e[n(284)][n(294)](n(317));return i[n(281)](n(289)).to(o,n(309)),i[n(318)]=!0,i})),e.ui[t(301)][t(315)](t(320),(()=>this[t(291)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(291)](t){const e=o,n=this[e(295)],s=n[e(284)][e(294)](e(317)),a=new t(n[e(282)]),c=new r.SpinnerView;return a[e(285)]({acceptedType:e(300)}),a[e(285)]({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(281)](e(308)).to(s),a[e(281)](e(283)).to(s,e(309),(t=>i(n[e(282)],e(t?321:303)))),c[e(281)](e(298)).to(s,e(309)),a[e(292)][e(281)](e(298)).to(s,e(309),(t=>!t)),a[e(316)][e(315)](c),a.on(e(306),((t,r)=>{const i=e;n[i(304)](i(317),r[0],{}),n[i(312)][i(286)][i(297)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=h;function h(t,r){const e=f();return(h=function(t,r){return e[t-=126]})(t,r)}function f(){const t=["merge_fields","aborted","has","editor","formatting","347LTwhyX","getToken","showWarning","converterUrl","_prepareForImport","getFirstPosition","dataInsert","ImportWordEditing","setData","document","finally","plugins","createPositionBefore","setSelection","clipboardInput","html","14264HCTEco","isEnabled","model","headers","isAtEnd","rootName","removeMarker","stopListening","createBatch","getRange","markers","enqueueChange","getSelectedBlocks","_abortController","import-word-plugin-conversion-failed","timeZone","MergeFields","_importMarker","editing","config","importWord","root","split","locale","Authorization","json","import-word-plugin-import-cancelled","then","value","change:range","deleteContent","fire","An error occurred while importing the Word file.","6495948ybxYQT","set","get","view","1150KFqvDQ","addMarker","_undoStepBatch","low","988816ESKzFr","isEmpty","reject","resolve","text/html","schema","_checkEnabled","stringify","refresh","3060064uSWArJ","createPositionAfter","element","1754619RQdjZb","_cleanUpAfterImport","bind","file","$graveyard","resolvedOptions","isBusy","parent","position","importWord:","paragraph","POST","DateTimeFormat","isAtStart","selection","catch","abort","isCollapsed","signal","execute","2802sFToEO","_handleImportResponse","970884QkMGKP","_sendImportRequest","Notification","mergeFields","checkChild","_handleImportFailure"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(497248===-parseInt(r(130))/1*(-parseInt(r(219))/2)+parseInt(r(199))/3+-parseInt(r(146))/4*(parseInt(r(183))/5)+-parseInt(r(221))/6+-parseInt(r(196))/7+parseInt(r(187))/8+parseInt(r(179))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=h;super(t),this[r(180)](r(205),!1),this[r(163)]=null,this[r(185)]=null,this[r(159)]=null,this.on(r(136),((e,n)=>{const i=r,o=new DataTransfer;o[i(138)](i(191),n[i(145)]);const s=this[i(163)][i(155)]();this[i(128)][i(148)][i(157)](this[i(185)],(r=>{const e=i;this[e(163)][e(153)](),r[e(143)](s),t[e(164)][e(182)][e(139)][e(177)](e(144),{dataTransfer:o})}))}),{priority:r(186)})}[d(195)](){const t=d;this[t(147)]=this[t(193)]()}[d(218)](t,r={}){const e=d;if(this[e(205)])return Promise[e(190)]();const n=this[e(128)][e(165)][e(181)](e(166));if(this[e(128)][e(141)][e(127)](e(162))){const{prefix:t,suffix:n}=this[e(128)][e(165)][e(181)](e(224));r[e(227)]={prefix:t,suffix:n}}const i={url:n[e(133)],file:t,serviceConfig:{...r,formatting:n[e(129)],timezone:(new(Intl[e(211)]))[e(204)]()[e(161)]}};return this[e(134)](),this[e(222)](i)[e(173)](this[e(220)][e(201)](this))[e(214)](this[e(226)][e(201)](this))[e(140)](this[e(200)][e(201)](this))}[d(193)](){const t=d;if(this[t(205)])return!1;const r=this[t(128)][t(148)],e=r[t(192)],n=r[t(139)][t(213)],i=(0,l.first)(n[t(158)]());return!!i&&e[t(225)](i[t(206)],t(209))}[d(134)](){const t=d,r=this[t(128)],e=r[t(148)],n=e[t(139)][t(213)];this[t(159)]=new AbortController,this[t(185)]=r[t(148)][t(154)]({isUndoable:!0}),e[t(157)](this[t(185)],(r=>{const i=t;n[i(216)]||e[i(176)](n,{leaveUnmerged:!0});const o=n[i(135)](),s=(0,l.first)(n[i(158)]());let a;a=s.is(i(198),i(209))&&s[i(188)]?o:o[i(212)]?e[i(142)](s):o[i(150)]?e[i(197)](s):r[i(168)](o)[i(207)],this[i(163)]=r[i(184)](i(208)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(163)].on(i(175),(()=>{const t=i;t(203)===this[t(163)][t(155)]()[t(167)][t(151)]&&this[t(159)][t(215)]()}))})),this[t(205)]=!0,this[t(195)]()}[d(200)](){const t=d,r=this[t(128)][t(148)];r[t(156)][t(127)](this[t(163)])&&r[t(157)](this[t(185)],(r=>{const e=t;r[e(152)](this[e(163)])})),this[t(163)]=null,this[t(185)]=null,this[t(159)]=null,this[t(205)]=!1,this[t(195)]()}[d(222)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(128)][n(141)][n(181)](n(137))[n(131)](),o=new FormData;o[n(180)](n(165),JSON[n(194)](e)),o[n(180)](n(202),r);const s={method:n(210),headers:{},body:o,signal:this[n(159)][n(217)]};return i&&(s[n(149)][n(170)]=i[n(174)]),fetch(t,s)}[d(220)](t){const r=d;return t.ok?t[r(171)]()[r(173)]((t=>{const e=r;this[e(128)][e(148)][e(156)][e(127)](this[e(163)])&&e(203)!==this[e(163)][e(155)]()[e(167)][e(151)]&&this[e(177)](e(136),t)})):Promise[r(189)]()}[d(226)](){const t=d;if(this[t(159)][t(217)][t(126)])return void(0,l.logWarning)(t(172));const r=this[t(128)],e=i(r[t(169)],t(178));r[t(141)][t(181)](t(223))[t(132)](e),(0,l.logError)(t(160))}}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=253]})(t,r)}function v(){const t=["tokenUrl","add","https://docx-converter.cke-cs.com/v2/convert/docx-html","commands","_token","pluginName","editor","1727340xouJxI","888zGYyWQ","getToken","3456208MDxIdz","config","token","29900Wiyghj","isPremiumPlugin","36YaiOUl","isOfficialPlugin","80WmLQIq","32779241TFJdzN","12cGAstI","registerTokenUrl","ImportWordEditing","cloudServices","inline","get","requires","define","1102048gpSTnL","3961708xPrJIa","12115Gmdiyn","init","3hUuZmB","importWord","plugins","none","CloudServices"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(664914===-parseInt(r(279))/1*(parseInt(r(275))/2)+-parseInt(r(257))/3*(parseInt(r(254))/4)+parseInt(r(255))/5*(-parseInt(r(270))/6)+-parseInt(r(272))/7+parseInt(r(253))/8*(parseInt(r(277))/9)+parseInt(r(269))/10+-parseInt(r(280))/11*(-parseInt(r(281))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(267)](){return g(283)}static get[g(278)](){return!0}static get[g(276)](){return!0}static get[g(287)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(261)]}constructor(t){const r=g;super(t),this[r(266)]=null}async[g(256)](){const t=g,r=this[t(268)];r[t(273)][t(288)](t(258),{converterUrl:t(264),tokenUrl:(r[t(273)][t(286)](t(284))||{})[t(262)],formatting:{resets:t(260),defaults:t(260),styles:t(285)}}),r[t(265)][t(263)](t(258),new m(r));const{tokenUrl:e}=r[t(273)][t(286)](t(258));if(e){const{tokenUrl:n}=r[t(273)][t(286)](t(284))||{};this[t(266)]=e===n?r[t(259)][t(286)](t(261))[t(274)]:await r[t(259)][t(286)](t(261))[t(282)](e)}}[g(271)](){return this[g(266)]}}function y(){var t=["pluginName","ImportWord","394992eqEhXv","79992kxtYQi","isPremiumPlugin","5dOtZTH","957762VOoQZy","isOfficialPlugin","100709RhjDUN","392432TiTdhE","requires","4ucxRdz","40DWgykF","174453UEbqqg","405734FzWwmE"];return(y=function(){return t})()}var W=x;function x(t,r){var e=y();return(x=function(t,r){return e[t-=299]})(t,r)}!function(t){for(var r=x,e=t();;)try{if(132473===-parseInt(r(303))/1+parseInt(r(306))/2*(-parseInt(r(308))/3)+-parseInt(r(304))/4*(parseInt(r(300))/5)+parseInt(r(313))/6+parseInt(r(309))/7+-parseInt(r(312))/8+-parseInt(r(301))/9*(-parseInt(r(307))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class b extends t.Plugin{static get[W(310)](){return W(311)}static get[W(302)](){return!0}static get[W(299)](){return!0}static get[W(305)](){return[w,c]}}function T(){var t=["10TqygyD","460kmDDSB","448904tgTdWq","765320WvfVDK","9529806RYrHXC","21aLxtTn","358Qadyha","2504vsMBdJ","5103834SrgWOl","3453ioWlqV","6463188HSRwxC"];return(T=function(){return t})()}function k(t,r){var e=T();return(k=function(t,r){return e[t-=456]})(t,r)}!function(t){for(var r=k,e=t();;)try{if(433547===parseInt(r(465))/1*(-parseInt(r(466))/2)+-parseInt(r(457))/3*(parseInt(r(460))/4)+-parseInt(r(462))/5+parseInt(r(456))/6+parseInt(r(464))/7*(parseInt(r(461))/8)+-parseInt(r(458))/9*(parseInt(r(459))/10)+parseInt(r(463))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(T)})(),(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 _0x5901b7,Command as _0x32892e}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x2edd47,MenuBarMenuListItemFileDialogButtonView as _0x3ef57b,SpinnerView as _0x596832,Notification as _0x1dc3f9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x61fcd1}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x1e91f0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x3f4aa9,uid as _0x11731a,logWarning as _0x22fa94,logError as _0x141e27}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x5af96d,_0xf1dc6e){const t=_0x5af96d['t'];switch(_0xf1dc6e){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 _0xf1dc6e;}}class i extends _0x5901b7{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2a02e4=this['editor'];_0x2a02e4['ui']['componentFactory']['add']('importWord',()=>{const _0x650d7b=this['_createButton'](_0x2edd47),_0x3225d9=_0x2a02e4['commands']['get']('importWord');return _0x650d7b['bind']('isOn')['to'](_0x3225d9,'isBusy'),_0x650d7b['tooltip']=!0x0,_0x650d7b;}),_0x2a02e4['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x3ef57b));}['_createButton'](_0x1b6138){const _0x250070=this['editor'],_0x4b0918=_0x250070['commands']['get']('importWord'),_0x3c37a2=new _0x1b6138(_0x250070['locale']),_0x534416=new _0x596832();return _0x3c37a2['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x3c37a2['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'}),_0x3c37a2['bind']('isEnabled')['to'](_0x4b0918),_0x3c37a2['bind']('label')['to'](_0x4b0918,'isBusy',_0x37460a=>p(_0x250070['locale'],_0x37460a?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x534416['bind']('isVisible')['to'](_0x4b0918,'isBusy'),_0x3c37a2['iconView']['bind']('isVisible')['to'](_0x4b0918,'isBusy',_0x22fc64=>!_0x22fc64),_0x3c37a2['children']['add'](_0x534416),_0x3c37a2['on']('done',(_0x116d3b,_0x519ad9)=>{_0x250070['execute']('importWord',_0x519ad9[0x0],{}),_0x250070['editing']['view']['focus']();}),_0x3c37a2;}}class d extends _0x32892e{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x2878d0){super(_0x2878d0),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4ccdaa,_0x297cd6)=>{const _0x24eac5=new DataTransfer();_0x24eac5['setData']('text/html',_0x297cd6['html']);const _0x2079c3=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x1e3bf1=>{this['_importMarker']['stopListening'](),_0x1e3bf1['setSelection'](_0x2079c3),_0x2878d0['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x24eac5});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x390f0e,_0x56f049={}){if(this['isBusy'])return Promise['resolve']();const _0x2ceef5=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x56c3ae,suffix:_0x3b1687}=this['editor']['config']['get']('mergeFields');_0x56f049['merge_fields']={'prefix':_0x56c3ae,'suffix':_0x3b1687};}const _0x362d5a={'url':_0x2ceef5['converterUrl'],'file':_0x390f0e,'serviceConfig':{..._0x56f049,'formatting':_0x2ceef5['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x362d5a)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x2bd541=this['editor']['model'],_0x1826ed=_0x2bd541['schema'],_0x5b44c3=_0x2bd541['document']['selection'],_0x3be9ba=_0x3f4aa9(_0x5b44c3['getSelectedBlocks']());return!!_0x3be9ba&&_0x1826ed['checkChild'](_0x3be9ba['parent'],'paragraph');}['_prepareForImport'](){const _0xd98b15=this['editor'],_0x4488e9=_0xd98b15['model'],_0x47d123=_0x4488e9['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0xd98b15['model']['createBatch']({'isUndoable':!0x0}),_0x4488e9['enqueueChange'](this['_undoStepBatch'],_0x196ab6=>{_0x47d123['isCollapsed']||_0x4488e9['deleteContent'](_0x47d123,{'leaveUnmerged':!0x0});const _0x29c1e2=_0x47d123['getFirstPosition'](),_0x2bcf3e=_0x3f4aa9(_0x47d123['getSelectedBlocks']());let _0x2df2b5;_0x2df2b5=_0x2bcf3e['is']('element','paragraph')&&_0x2bcf3e['isEmpty']?_0x29c1e2:_0x29c1e2['isAtStart']?_0x4488e9['createPositionBefore'](_0x2bcf3e):_0x29c1e2['isAtEnd']?_0x4488e9['createPositionAfter'](_0x2bcf3e):_0x196ab6['split'](_0x29c1e2)['position'],this['_importMarker']=_0x196ab6['addMarker']('importWord:'+_0x11731a(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x1e91f0(_0x2df2b5)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x154cce=this['editor']['model'];_0x154cce['markers']['has'](this['_importMarker'])&&_0x154cce['enqueueChange'](this['_undoStepBatch'],_0x3164d7=>{_0x3164d7['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x104c18,file:_0x31d621,serviceConfig:_0x25bb1d}){const _0x2c98d7=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x54e7e2=new FormData();_0x54e7e2['set']('config',JSON['stringify'](_0x25bb1d)),_0x54e7e2['set']('file',_0x31d621);const _0x3d6e65={'method':'POST','headers':{},'body':_0x54e7e2,'signal':this['_abortController']['signal']};return _0x2c98d7&&(_0x3d6e65['headers']['Authorization']=_0x2c98d7['value']),fetch(_0x104c18,_0x3d6e65);}['_handleImportResponse'](_0x326091){return _0x326091['ok']?_0x326091['json']()['then'](_0x607dc7=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x607dc7);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x22fa94('import-word-plugin-import-cancelled');const _0xde0387=this['editor'],_0x44f5f5=p(_0xde0387['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0xde0387['plugins']['get']('Notification')['showWarning'](_0x44f5f5),_0x141e27('import-word-plugin-conversion-failed');}}class e extends _0x5901b7{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1dc3f9,_0x61fcd1,'CloudServices'];}constructor(_0x3b346c){super(_0x3b346c),this['_token']=null;}async['init'](){const _0x97d5d1=this['editor'];_0x97d5d1['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x97d5d1['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x97d5d1['commands']['add']('importWord',new d(_0x97d5d1));const {tokenUrl:_0x5015f2}=_0x97d5d1['config']['get']('importWord');if(_0x5015f2){const {tokenUrl:_0x51426c}=_0x97d5d1['config']['get']('cloudServices')||{};this['_token']=_0x5015f2===_0x51426c?_0x97d5d1['plugins']['get']('CloudServices')['token']:await _0x97d5d1['plugins']['get']('CloudServices')['registerTokenUrl'](_0x5015f2);}}['getToken'](){return this['_token'];}}class o extends _0x5901b7{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':_0x48c037=>0x1!=_0x48c037}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ab099=>{const {af:{dictionary:_0x2173e8,getPluralForm:_0x2631a0}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x22a69b=>0x1!=_0x22a69b}};_0x2ab099['af']||={'dictionary':{},'getPluralForm':null},_0x2ab099['af']['dictionary']=Object['assign'](_0x2ab099['af']['dictionary'],_0x2173e8),_0x2ab099['af']['getPluralForm']=_0x2631a0;})(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':_0x383aa2=>0x0==_0x383aa2?0x0:0x1==_0x383aa2?0x1:0x2==_0x383aa2?0x2:_0x383aa2%0x64>=0x3&&_0x383aa2%0x64<=0xa?0x3:_0x383aa2%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x22fb71=>{const {ar:{dictionary:_0xc3b490,getPluralForm:_0x3738c7}}={'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':_0x3d2efd=>0x0==_0x3d2efd?0x0:0x1==_0x3d2efd?0x1:0x2==_0x3d2efd?0x2:_0x3d2efd%0x64>=0x3&&_0x3d2efd%0x64<=0xa?0x3:_0x3d2efd%0x64>=0xb?0x4:0x5}};_0x22fb71['ar']||={'dictionary':{},'getPluralForm':null},_0x22fb71['ar']['dictionary']=Object['assign'](_0x22fb71['ar']['dictionary'],_0xc3b490),_0x22fb71['ar']['getPluralForm']=_0x3738c7;})(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':_0x462616=>0x1!=_0x462616}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x329ca1=>{const {ast:{dictionary:_0x1760a8,getPluralForm:_0x349342}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x8cc5be=>0x1!=_0x8cc5be}};_0x329ca1['ast']||={'dictionary':{},'getPluralForm':null},_0x329ca1['ast']['dictionary']=Object['assign'](_0x329ca1['ast']['dictionary'],_0x1760a8),_0x329ca1['ast']['getPluralForm']=_0x349342;})(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':_0x29a6b6=>0x1!=_0x29a6b6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x49e0cc=>{const {az:{dictionary:_0x508749,getPluralForm:_0x3d1784}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x21cdcb=>0x1!=_0x21cdcb}};_0x49e0cc['az']||={'dictionary':{},'getPluralForm':null},_0x49e0cc['az']['dictionary']=Object['assign'](_0x49e0cc['az']['dictionary'],_0x508749),_0x49e0cc['az']['getPluralForm']=_0x3d1784;})(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':_0x5d4db9=>0x1!=_0x5d4db9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10448f=>{const {bg:{dictionary:_0x3b7095,getPluralForm:_0x5acb38}}={'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':_0x3f4ac8=>0x1!=_0x3f4ac8}};_0x10448f['bg']||={'dictionary':{},'getPluralForm':null},_0x10448f['bg']['dictionary']=Object['assign'](_0x10448f['bg']['dictionary'],_0x3b7095),_0x10448f['bg']['getPluralForm']=_0x5acb38;})(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':_0x248ae3=>0x1!=_0x248ae3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e55b4=>{const {bn:{dictionary:_0x54bc26,getPluralForm:_0x36639a}}={'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':_0x45fd30=>0x1!=_0x45fd30}};_0x4e55b4['bn']||={'dictionary':{},'getPluralForm':null},_0x4e55b4['bn']['dictionary']=Object['assign'](_0x4e55b4['bn']['dictionary'],_0x54bc26),_0x4e55b4['bn']['getPluralForm']=_0x36639a;})(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':_0x2da1fe=>_0x2da1fe%0xa==0x1&&_0x2da1fe%0x64!=0xb?0x0:_0x2da1fe%0xa>=0x2&&_0x2da1fe%0xa<=0x4&&(_0x2da1fe%0x64<0xa||_0x2da1fe%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x201615=>{const {bs:{dictionary:_0x141ecd,getPluralForm:_0x3eab20}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5f237e=>_0x5f237e%0xa==0x1&&_0x5f237e%0x64!=0xb?0x0:_0x5f237e%0xa>=0x2&&_0x5f237e%0xa<=0x4&&(_0x5f237e%0x64<0xa||_0x5f237e%0x64>=0x14)?0x1:0x2}};_0x201615['bs']||={'dictionary':{},'getPluralForm':null},_0x201615['bs']['dictionary']=Object['assign'](_0x201615['bs']['dictionary'],_0x141ecd),_0x201615['bs']['getPluralForm']=_0x3eab20;})(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':_0x267e0e=>0x1!=_0x267e0e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x9c3871=>{const {ca:{dictionary:_0x591a63,getPluralForm:_0x169843}}={'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':_0x362dc1=>0x1!=_0x362dc1}};_0x9c3871['ca']||={'dictionary':{},'getPluralForm':null},_0x9c3871['ca']['dictionary']=Object['assign'](_0x9c3871['ca']['dictionary'],_0x591a63),_0x9c3871['ca']['getPluralForm']=_0x169843;})(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':_0x37eda3=>0x1==_0x37eda3?0x0:_0x37eda3>=0x2&&_0x37eda3<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x365468=>{const {cs:{dictionary:_0x48c9fe,getPluralForm:_0x2b3b3a}}={'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':_0x55cf7a=>0x1==_0x55cf7a?0x0:_0x55cf7a>=0x2&&_0x55cf7a<=0x4?0x1:0x2}};_0x365468['cs']||={'dictionary':{},'getPluralForm':null},_0x365468['cs']['dictionary']=Object['assign'](_0x365468['cs']['dictionary'],_0x48c9fe),_0x365468['cs']['getPluralForm']=_0x2b3b3a;})(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':_0x3c054d=>0x1!=_0x3c054d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x58e142=>{const {da:{dictionary:_0x12a047,getPluralForm:_0x467b82}}={'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':_0x4a5dd7=>0x1!=_0x4a5dd7}};_0x58e142['da']||={'dictionary':{},'getPluralForm':null},_0x58e142['da']['dictionary']=Object['assign'](_0x58e142['da']['dictionary'],_0x12a047),_0x58e142['da']['getPluralForm']=_0x467b82;})(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':_0x28a402=>0x1!=_0x28a402}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2221da=>{const {'de-ch':{dictionary:_0x304893,getPluralForm:_0x92fb32}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2c2b6a=>0x1!=_0x2c2b6a}};_0x2221da['de-ch']||={'dictionary':{},'getPluralForm':null},_0x2221da['de-ch']['dictionary']=Object['assign'](_0x2221da['de-ch']['dictionary'],_0x304893),_0x2221da['de-ch']['getPluralForm']=_0x92fb32;})(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':_0x51e354=>0x1!=_0x51e354}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x508db1=>{const {de:{dictionary:_0x337c7c,getPluralForm:_0x1f2d15}}={'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':_0x11cf82=>0x1!=_0x11cf82}};_0x508db1['de']||={'dictionary':{},'getPluralForm':null},_0x508db1['de']['dictionary']=Object['assign'](_0x508db1['de']['dictionary'],_0x337c7c),_0x508db1['de']['getPluralForm']=_0x1f2d15;})(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':_0x1d8771=>0x1!=_0x1d8771}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e010d=>{const {el:{dictionary:_0x89ed69,getPluralForm:_0x25cb11}}={'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':_0x4a4317=>0x1!=_0x4a4317}};_0x4e010d['el']||={'dictionary':{},'getPluralForm':null},_0x4e010d['el']['dictionary']=Object['assign'](_0x4e010d['el']['dictionary'],_0x89ed69),_0x4e010d['el']['getPluralForm']=_0x25cb11;})(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':_0x2e3a62=>0x1!=_0x2e3a62}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b63ef=>{const {'en-au':{dictionary:_0x3434ee,getPluralForm:_0x31f35e}}={'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':_0x2258d1=>0x1!=_0x2258d1}};_0x4b63ef['en-au']||={'dictionary':{},'getPluralForm':null},_0x4b63ef['en-au']['dictionary']=Object['assign'](_0x4b63ef['en-au']['dictionary'],_0x3434ee),_0x4b63ef['en-au']['getPluralForm']=_0x31f35e;})(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':_0x4737e5=>0x1!=_0x4737e5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x226956=>{const {'en-gb':{dictionary:_0x1534ac,getPluralForm:_0x2675a8}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x11d4df=>0x1!=_0x11d4df}};_0x226956['en-gb']||={'dictionary':{},'getPluralForm':null},_0x226956['en-gb']['dictionary']=Object['assign'](_0x226956['en-gb']['dictionary'],_0x1534ac),_0x226956['en-gb']['getPluralForm']=_0x2675a8;})(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':_0x30a721=>0x1!=_0x30a721}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf36249=>{const {en:{dictionary:_0x2f89ca,getPluralForm:_0x3325e4}}={'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':_0x3a8be3=>0x1!=_0x3a8be3}};_0xf36249['en']||={'dictionary':{},'getPluralForm':null},_0xf36249['en']['dictionary']=Object['assign'](_0xf36249['en']['dictionary'],_0x2f89ca),_0xf36249['en']['getPluralForm']=_0x3325e4;})(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':_0x248f42=>0x1!=_0x248f42}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d8f83=>{const {eo:{dictionary:_0x231391,getPluralForm:_0xc82955}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2face3=>0x1!=_0x2face3}};_0x1d8f83['eo']||={'dictionary':{},'getPluralForm':null},_0x1d8f83['eo']['dictionary']=Object['assign'](_0x1d8f83['eo']['dictionary'],_0x231391),_0x1d8f83['eo']['getPluralForm']=_0xc82955;})(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':_0x4987be=>0x1!=_0x4987be}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x42da2c=>{const {'es-co':{dictionary:_0x4577e4,getPluralForm:_0x7610ba}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xe2c3f1=>0x1!=_0xe2c3f1}};_0x42da2c['es-co']||={'dictionary':{},'getPluralForm':null},_0x42da2c['es-co']['dictionary']=Object['assign'](_0x42da2c['es-co']['dictionary'],_0x4577e4),_0x42da2c['es-co']['getPluralForm']=_0x7610ba;})(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':_0x3efd26=>0x1!=_0x3efd26}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27265f=>{const {es:{dictionary:_0x2a834e,getPluralForm:_0x17fdfd}}={'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':_0x16f0dd=>0x1!=_0x16f0dd}};_0x27265f['es']||={'dictionary':{},'getPluralForm':null},_0x27265f['es']['dictionary']=Object['assign'](_0x27265f['es']['dictionary'],_0x2a834e),_0x27265f['es']['getPluralForm']=_0x17fdfd;})(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':_0x5f3fd5=>0x1!=_0x5f3fd5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x312700=>{const {et:{dictionary:_0x3e80ff,getPluralForm:_0x2e7e46}}={'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':_0xf06ae6=>0x1!=_0xf06ae6}};_0x312700['et']||={'dictionary':{},'getPluralForm':null},_0x312700['et']['dictionary']=Object['assign'](_0x312700['et']['dictionary'],_0x3e80ff),_0x312700['et']['getPluralForm']=_0x2e7e46;})(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':_0x48b07b=>0x1!=_0x48b07b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e74=>{const {eu:{dictionary:_0x56f507,getPluralForm:_0x1fa4a6}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5ad21c=>0x1!=_0x5ad21c}};_0x3e74['eu']||={'dictionary':{},'getPluralForm':null},_0x3e74['eu']['dictionary']=Object['assign'](_0x3e74['eu']['dictionary'],_0x56f507),_0x3e74['eu']['getPluralForm']=_0x1fa4a6;})(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':_0x210847=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2cbdf5=>{const {fa:{dictionary:_0x3fa665,getPluralForm:_0x474dc4}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1cbc2d=>0x0}};_0x2cbdf5['fa']||={'dictionary':{},'getPluralForm':null},_0x2cbdf5['fa']['dictionary']=Object['assign'](_0x2cbdf5['fa']['dictionary'],_0x3fa665),_0x2cbdf5['fa']['getPluralForm']=_0x474dc4;})(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':_0x13e0ba=>0x1!=_0x13e0ba}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10bca3=>{const {fi:{dictionary:_0x23d292,getPluralForm:_0x36f79f}}={'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':_0xb378b4=>0x1!=_0xb378b4}};_0x10bca3['fi']||={'dictionary':{},'getPluralForm':null},_0x10bca3['fi']['dictionary']=Object['assign'](_0x10bca3['fi']['dictionary'],_0x23d292),_0x10bca3['fi']['getPluralForm']=_0x36f79f;})(window['CKEDITOR_TRANSLATIONS']||={});
|