@ckeditor/ckeditor5-import-word 44.2.0-alpha.3 → 44.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +2 -2
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- 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-2025, 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=a;function s(){const t=["6Fmgnni","isVisible","842tSzUez","6LPNuTW","menuBar:importWord","664059AkNKRN","2886490wSZDys","init","iconView","children","done","isEnabled","isPremiumPlugin","bind","editing","Import from Word","add","Importing Word document","componentFactory","set","commands","7642572bsGfix","view","2968072ZDpzfk","get","127971bmPYMA","1296448aDfzZy","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","pluginName","importWord","execute","14aLujDQ","isOn","isBusy","130oVWGYQ","label","tooltip","locale","_createButton","isOfficialPlugin","focus","editor","ImportWordUI","1033GRrRdP"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=113]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(489062===-parseInt(r(124))/1*(parseInt(r(127))/2)+parseInt(r(125))/3*(-parseInt(r(151))/4)+-parseInt(r(131))/5*(parseInt(r(128))/6)+parseInt(r(156))/7*(parseInt(r(148))/8)+-parseInt(r(150))/9+parseInt(r(115))/10*(parseInt(r(130))/11)+parseInt(r(146))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[o(153)](){return o(123)}static get[o(120)](){return!0}static get[o(137)](){return!0}[o(132)](){const t=o,e=this[t(122)];e.ui[t(143)][t(141)](t(154),(()=>{const n=t,i=this[n(119)](r.FileDialogButtonView),o=e[n(145)][n(149)](n(154));return i[n(138)](n(113)).to(o,n(114)),i[n(117)]=!0,i})),e.ui[t(143)][t(141)](t(129),(()=>this[t(119)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(119)](t){const e=o,n=this[e(122)],s=n[e(145)][e(149)](e(154)),a=new t(n[e(118)]),c=new r.SpinnerView;return a[e(144)]({acceptedType:e(152)}),a[e(144)]({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(138)](e(136)).to(s),a[e(138)](e(116)).to(s,e(114),(t=>i(n[e(118)],e(t?142:140)))),c[e(138)](e(126)).to(s,e(114)),a[e(133)][e(138)](e(126)).to(s,e(114),(t=>!t)),a[e(134)][e(141)](c),a.on(e(135),((t,r)=>{const i=e;n[i(155)](i(154),r[0],{}),n[i(139)][i(147)][i(121)]()})),a}}var u=e(331),p=e(783),l=e(584);function d(){const t=["aborted","signal","checkChild","then","$graveyard","413443HeJWrz","createBatch","MergeFields","finally","html","has","_importMarker","file","paragraph","isAtStart","isBusy","8pnBDPq","model","rootName","refresh","DateTimeFormat","2ZIYRJQ","isCollapsed","import-word-plugin-import-cancelled","336093ZDoeua","showWarning","importWord","parent","getToken","editor","root","converterUrl","mergeFields","clipboardInput","dataInsert","getFirstPosition","ImportWordEditing","import-word-plugin-conversion-failed","locale","_prepareForImport","headers","18977849nKMLKA","get","3095880gAlCdb","set","1812335zqYKcx","bind","Notification","POST","importWord:","12KlIRRH","schema","resolve","json","reject","timeZone","isEnabled","addMarker","_handleImportFailure","config","getRange","isEmpty","markers","execute","isAtEnd","_checkEnabled","document","deleteContent","split","catch","selection","text/html","low","stringify","An error occurred while importing the Word file.","merge_fields","stopListening","setData","resolvedOptions","enqueueChange","value","change:range","2654309IMRcux","editing","fire","Authorization","plugins","element","position","_undoStepBatch","view","3466570FpePRE","12KNBIcF","removeMarker","abort","createPositionAfter","_sendImportRequest","createPositionBefore","formatting","setSelection","_handleImportResponse","getSelectedBlocks","9CsNyvj","_abortController","_cleanUpAfterImport"];return(d=function(){return t})()}const h=f;function f(t,r){const e=d();return(f=function(t,r){return e[t-=108]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(406329===parseInt(r(185))/1*(-parseInt(r(201))/2)+-parseInt(r(204))/3*(-parseInt(r(196))/4)+parseInt(r(120))/5+-parseInt(r(167))/6*(parseInt(r(157))/7)+-parseInt(r(118))/8+parseInt(r(177))/9*(-parseInt(r(166))/10)+parseInt(r(116))/11*(parseInt(r(125))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(d);class m extends t.Command{constructor(t){const r=f;super(t),this[r(119)](r(195),!1),this[r(191)]=null,this[r(164)]=null,this[r(178)]=null,this.on(r(109),((e,n)=>{const i=r,o=new DataTransfer;o[i(152)](i(146),n[i(189)]);const s=this[i(191)][i(135)]();this[i(209)][i(197)][i(154)](this[i(164)],(r=>{const e=i;this[e(191)][e(151)](),r[e(174)](s),t[e(158)][e(165)][e(141)][e(159)](e(108),{dataTransfer:o})}))}),{priority:r(147)})}[h(199)](){const t=h;this[t(131)]=this[t(140)]()}[h(138)](t,r={}){const e=h;if(this[e(195)])return Promise[e(127)]();const n=this[e(209)][e(134)][e(117)](e(206));if(this[e(209)][e(161)][e(190)](e(187))){const{prefix:t,suffix:n}=this[e(209)][e(134)][e(117)](e(212));r[e(150)]={prefix:t,suffix:n}}const i={url:n[e(211)],file:t,serviceConfig:{...r,formatting:n[e(173)],timezone:(new(Intl[e(200)]))[e(153)]()[e(130)]}};return this[e(114)](),this[e(171)](i)[e(183)](this[e(175)][e(121)](this))[e(144)](this[e(133)][e(121)](this))[e(188)](this[e(179)][e(121)](this))}[h(140)](){const t=h;if(this[t(195)])return!1;const r=this[t(209)][t(197)],e=r[t(126)],n=r[t(141)][t(145)],i=(0,l.first)(n[t(176)]());return!!i&&e[t(182)](i[t(207)],t(193))}[h(114)](){const t=h,r=this[t(209)],e=r[t(197)],n=e[t(141)][t(145)];this[t(178)]=new AbortController,this[t(164)]=r[t(197)][t(186)]({isUndoable:!0}),e[t(154)](this[t(164)],(r=>{const i=t;n[i(202)]||e[i(142)](n,{leaveUnmerged:!0});const o=n[i(110)](),s=(0,l.first)(n[i(176)]());let a;a=s.is(i(162),i(193))&&s[i(136)]?o:o[i(194)]?e[i(172)](s):o[i(139)]?e[i(170)](s):r[i(143)](o)[i(163)],this[i(191)]=r[i(132)](i(124)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(191)].on(i(156),(()=>{const t=i;t(184)===this[t(191)][t(135)]()[t(210)][t(198)]&&this[t(178)][t(169)]()}))})),this[t(195)]=!0,this[t(199)]()}[h(179)](){const t=h,r=this[t(209)][t(197)];r[t(137)][t(190)](this[t(191)])&&r[t(154)](this[t(164)],(r=>{const e=t;r[e(168)](this[e(191)])})),this[t(191)]=null,this[t(164)]=null,this[t(178)]=null,this[t(195)]=!1,this[t(199)]()}[h(171)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(209)][n(161)][n(117)](n(111))[n(208)](),o=new FormData;o[n(119)](n(134),JSON[n(148)](e)),o[n(119)](n(192),r);const s={method:n(123),headers:{},body:o,signal:this[n(178)][n(181)]};return i&&(s[n(115)][n(160)]=i[n(155)]),fetch(t,s)}[h(175)](t){const r=h;return t.ok?t[r(128)]()[r(183)]((t=>{const e=r;this[e(209)][e(197)][e(137)][e(190)](this[e(191)])&&e(184)!==this[e(191)][e(135)]()[e(210)][e(198)]&&this[e(159)](e(109),t)})):Promise[r(129)]()}[h(133)](){const t=h;if(this[t(178)][t(181)][t(180)])return void(0,l.logWarning)(t(203));const r=this[t(209)],e=i(r[t(113)],t(149));r[t(161)][t(117)](t(122))[t(205)](e),(0,l.logError)(t(112))}}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=112]})(t,r)}function v(){const t=["pluginName","init","1116975gzMJvb","2430306dtHOgh","cloudServices","1ORuwCV","requires","4ylaDJG","https://docx-converter.cke-cs.com/v2/convert/docx-html","commands","isOfficialPlugin","define","token","tokenUrl","1647706UbLSST","add","plugins","5174080FJbrVJ","editor","CloudServices","get","config","registerTokenUrl","getToken","none","inline","24132rhxtyM","1344mWTtLV","importWord","isPremiumPlugin","ImportWordEditing","_token","25641720PYmQDq","171120sQytsi"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(457850===-parseInt(r(134))/1*(parseInt(r(143))/2)+-parseInt(r(131))/3*(-parseInt(r(136))/4)+parseInt(r(128))/5+-parseInt(r(121))/6*(parseInt(r(122))/7)+-parseInt(r(112))/8+-parseInt(r(132))/9+parseInt(r(127))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(129)](){return g(125)}static get[g(139)](){return!0}static get[g(124)](){return!0}static get[g(135)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(114)]}constructor(t){const r=g;super(t),this[r(126)]=null}async[g(130)](){const t=g,r=this[t(113)];r[t(116)][t(140)](t(123),{converterUrl:t(137),tokenUrl:(r[t(116)][t(115)](t(133))||{})[t(142)],formatting:{resets:t(119),defaults:t(119),styles:t(120)}}),r[t(138)][t(144)](t(123),new m(r));const{tokenUrl:e}=r[t(116)][t(115)](t(123));if(e){const{tokenUrl:n}=r[t(116)][t(115)](t(133))||{};this[t(126)]=e===n?r[t(145)][t(115)](t(114))[t(141)]:await r[t(145)][t(115)](t(114))[t(117)](e)}}[g(118)](){return this[g(126)]}}var b=y;!function(t){for(var r=y,e=t();;)try{if(104243===-parseInt(r(372))/1+-parseInt(r(373))/2*(-parseInt(r(384))/3)+-parseInt(r(377))/4*(parseInt(r(379))/5)+-parseInt(r(375))/6*(-parseInt(r(381))/7)+-parseInt(r(374))/8+-parseInt(r(378))/9+parseInt(r(376))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class W extends t.Plugin{static get[b(380)](){return b(385)}static get[b(382)](){return!0}static get[b(386)](){return!0}static get[b(383)](){return[w,c]}}function y(t,r){var e=x();return(y=function(t,r){return e[t-=372]})(t,r)}function x(){var t=["16452cSrGAc","39608RDQHFt","885104grMUcL","2478AKiSRp","5178280ebEOPa","956CPgYXH","1773072ZRSkRh","4135XFajED","pluginName","1162jQEtNL","isOfficialPlugin","requires","6hPjIiV","ImportWord","isPremiumPlugin"];return(x=function(){return t})()}function P(t,r){var e=k();return(P=function(t,r){return e[t-=137]})(t,r)}function k(){var t=["208798EehuAA","10FqVojH","735QMsvYR","785196zqkfUG","18064Mubxrw","2717262KjfLvc","249489IgIJJV","206262zMTWBf","233536yfMWCc"];return(k=function(){return t})()}!function(t){for(var r=P,e=t();;)try{if(146614===parseInt(r(140))/1+parseInt(r(143))/2+-parseInt(r(137))/3+parseInt(r(142))/4+-parseInt(r(144))/5*(parseInt(r(141))/6)+-parseInt(r(145))/7*(parseInt(r(138))/8)+parseInt(r(139))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>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=a;function s(){const t=["isPremiumPlugin","429510PeAxuE","pluginName","iconView","focus","643361SYYHZW","Import from Word","6AiLijJ","4zcSjfv","menuBar:importWord","isBusy","add","3976302ipxEQQ","init","done","8365273lXzXbC","importWord","tooltip","4LZPEjN","label","set","2078235NEOMeO","view","isOn","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","176bjRgnW","children","commands","Importing Word document","isVisible","3225295nzsvVp","_createButton","ImportWordUI","get","editor","componentFactory","editing","locale","32gEHiWC","bind","isOfficialPlugin","918252JDxsIf","isEnabled","execute"];return(s=function(){return t})()}function a(t,e){const r=s();return(a=function(t,e){return r[t-=440]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(846417===parseInt(e(454))/1*(-parseInt(e(457))/2)+parseInt(e(461))/3+parseInt(e(467))/4*(-parseInt(e(479))/5)+-parseInt(e(456))/6*(-parseInt(e(464))/7)+-parseInt(e(443))/8*(parseInt(e(470))/9)+-parseInt(e(450))/10+parseInt(e(474))/11*(parseInt(e(446))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class c extends t.Plugin{static get[o(451)](){return o(481)}static get[o(445)](){return!0}static get[o(449)](){return!0}[o(462)](){const t=o,r=this[t(483)];r.ui[t(440)][t(460)](t(465),(()=>{const n=t,i=this[n(480)](e.FileDialogButtonView),o=r[n(476)][n(482)](n(465));return i[n(444)](n(472)).to(o,n(459)),i[n(466)]=!0,i})),r.ui[t(440)][t(460)](t(458),(()=>this[t(480)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(480)](t){const r=o,n=this[r(483)],s=n[r(476)][r(482)](r(465)),a=new t(n[r(442)]),c=new e.SpinnerView;return a[r(469)]({acceptedType:r(473)}),a[r(469)]({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(444)](r(447)).to(s),a[r(444)](r(468)).to(s,r(459),(t=>i(n[r(442)],r(t?477:455)))),c[r(444)](r(478)).to(s,r(459)),a[r(452)][r(444)](r(478)).to(s,r(459),(t=>!t)),a[r(475)][r(460)](c),a.on(r(463),((t,e)=>{const i=r;n[i(448)](i(465),e[0],{}),n[i(441)][i(471)][i(453)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=f;function h(){const t=["parent","config","9huvcuu","checkChild","locale","dataInsert","657wzlSKe","plugins","editor","DateTimeFormat","_handleImportFailure","createPositionBefore","49439YszfcW","importWord:","getRange","element","clipboardInput","fire","finally","isAtStart","stopListening","4628336WXSEeE","root","aborted","reject","html","createPositionAfter","createBatch","execute","mergeFields","_importMarker","json","1392Gtdocj","isEmpty","headers","_cleanUpAfterImport","position","value","POST","resolvedOptions","deleteContent","4478133DHIsCU","catch","setData","30Mebjam","has","MergeFields","change:range","isBusy","removeMarker","showWarning","_handleImportResponse","enqueueChange","_undoStepBatch","getToken","view","setSelection","importWord","3079595sUvaYr","import-word-plugin-conversion-failed","ImportWordEditing","5996200rwKWCr","bind","file","_prepareForImport","import-word-plugin-import-cancelled","refresh","getFirstPosition","stringify","timeZone","set","paragraph","split","document","20340grdupu","markers","_checkEnabled","3804PtmhNb","resolve","get","abort","editing","selection","Notification","model","Authorization","6xRNPEd","isAtEnd","$graveyard","formatting","merge_fields","low","isCollapsed","converterUrl","rootName","then","text/html","_abortController","addMarker","64uVHJwP","_sendImportRequest","An error occurred while importing the Word file.","isEnabled","schema","getSelectedBlocks","signal"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=418]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(715452===parseInt(e(446))/1*(-parseInt(e(513))/2)+parseInt(e(420))/3*(parseInt(e(488))/4)+parseInt(e(472))/5*(-parseInt(e(500))/6)+parseInt(e(475))/7+parseInt(e(435))/8*(-parseInt(e(522))/9)+-parseInt(e(458))/10*(parseInt(e(455))/11)+parseInt(e(491))/12*(parseInt(e(426))/13))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(484)](e(462),!1),this[e(444)]=null,this[e(467)]=null,this[e(511)]=null,this.on(e(419),((r,n)=>{const i=e,o=new DataTransfer;o[i(457)](i(510),n[i(439)]);const s=this[i(444)][i(428)]();this[i(422)][i(498)][i(466)](this[i(467)],(e=>{const r=i;this[r(444)][r(434)](),e[r(470)](s),t[r(495)][r(469)][r(487)][r(431)](r(430),{dataTransfer:o})}))}),{priority:e(505)})}[d(480)](){const t=d;this[t(516)]=this[t(490)]()}[d(442)](t,e={}){const r=d;if(this[r(462)])return Promise[r(492)]();const n=this[r(422)][r(521)][r(493)](r(471));if(this[r(422)][r(421)][r(459)](r(460))){const{prefix:t,suffix:n}=this[r(422)][r(521)][r(493)](r(443));e[r(504)]={prefix:t,suffix:n}}const i={url:n[r(507)],file:t,serviceConfig:{...e,formatting:n[r(503)],timezone:(new(Intl[r(423)]))[r(453)]()[r(483)]}};return this[r(478)](),this[r(514)](i)[r(509)](this[r(465)][r(476)](this))[r(456)](this[r(424)][r(476)](this))[r(432)](this[r(449)][r(476)](this))}[d(490)](){const t=d;if(this[t(462)])return!1;const e=this[t(422)][t(498)],r=e[t(517)],n=e[t(487)][t(496)],i=(0,l.first)(n[t(518)]());return!!i&&r[t(523)](i[t(520)],t(485))}[d(478)](){const t=d,e=this[t(422)],r=e[t(498)],n=r[t(487)][t(496)];this[t(511)]=new AbortController,this[t(467)]=e[t(498)][t(441)]({isUndoable:!0}),r[t(466)](this[t(467)],(e=>{const i=t;n[i(506)]||r[i(454)](n,{leaveUnmerged:!0});const o=n[i(481)](),s=(0,l.first)(n[i(518)]());let a;a=s.is(i(429),i(485))&&s[i(447)]?o:o[i(433)]?r[i(425)](s):o[i(501)]?r[i(440)](s):e[i(486)](o)[i(450)],this[i(444)]=e[i(512)](i(427)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(444)].on(i(461),(()=>{const t=i;t(502)===this[t(444)][t(428)]()[t(436)][t(508)]&&this[t(511)][t(494)]()}))})),this[t(462)]=!0,this[t(480)]()}[d(449)](){const t=d,e=this[t(422)][t(498)];e[t(489)][t(459)](this[t(444)])&&e[t(466)](this[t(467)],(e=>{const r=t;e[r(463)](this[r(444)])})),this[t(444)]=null,this[t(467)]=null,this[t(511)]=null,this[t(462)]=!1,this[t(480)]()}[d(514)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(422)][n(421)][n(493)](n(474))[n(468)](),o=new FormData;o[n(484)](n(521),JSON[n(482)](r)),o[n(484)](n(477),e);const s={method:n(452),headers:{},body:o,signal:this[n(511)][n(519)]};return i&&(s[n(448)][n(499)]=i[n(451)]),fetch(t,s)}[d(465)](t){const e=d;return t.ok?t[e(445)]()[e(509)]((t=>{const r=e;this[r(422)][r(498)][r(489)][r(459)](this[r(444)])&&r(502)!==this[r(444)][r(428)]()[r(436)][r(508)]&&this[r(431)](r(419),t)})):Promise[e(438)]()}[d(424)](){const t=d;if(this[t(511)][t(519)][t(437)])return void(0,l.logWarning)(t(479));const e=this[t(422)],r=i(e[t(418)],t(515));e[t(421)][t(493)](t(497))[t(464)](r),(0,l.logError)(t(473))}}function g(){const t=["3gmYeMB","none","tokenUrl","config","importWord","registerTokenUrl","1938376ufcWYI","CloudServices","getToken","997546dLAXhZ","init","528637aICzfS","606ZHcXwl","requires","cloudServices","329841DnYQSY","isOfficialPlugin","ImportWordEditing","813610QHwpKe","commands","730gfbajg","get","https://docx-converter.cke-cs.com/v2/convert/docx-html","5239080xgYTkF","_token","plugins","43337XxeYVR","inline","add","pluginName","isPremiumPlugin","define","token","editor"];return(g=function(){return t})()}const I=v;function v(t,e){const r=g();return(v=function(t,e){return r[t-=194]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(690605===parseInt(e(215))/1+parseInt(e(213))/2*(-parseInt(e(204))/3)+-parseInt(e(227))/4+parseInt(e(222))/5+-parseInt(e(216))/6*(parseInt(e(196))/7)+-parseInt(e(210))/8+-parseInt(e(219))/9*(-parseInt(e(224))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(g);class w extends t.Plugin{static get[I(199)](){return I(221)}static get[I(220)](){return!0}static get[I(200)](){return!0}static get[I(217)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(211)]}constructor(t){const e=I;super(t),this[e(194)]=null}async[I(214)](){const t=I,e=this[t(203)];e[t(207)][t(201)](t(208),{converterUrl:t(226),tokenUrl:(e[t(207)][t(225)](t(218))||{})[t(206)],formatting:{resets:t(205),defaults:t(205),styles:t(197)}}),e[t(223)][t(198)](t(208),new m(e));const{tokenUrl:r}=e[t(207)][t(225)](t(208));if(r){const{tokenUrl:n}=e[t(207)][t(225)](t(218))||{};this[t(194)]=r===n?e[t(195)][t(225)](t(211))[t(202)]:await e[t(195)][t(225)](t(211))[t(209)](r)}}[I(212)](){return this[I(194)]}}var W=b;function b(t,e){var r=x();return(b=function(t,e){return r[t-=337]})(t,e)}function x(){var t=["requires","813776gddVyR","1058795VcJOUS","isOfficialPlugin","1133426pkTVwf","isPremiumPlugin","pluginName","8367608ewXHsA","ImportWord","28158uOWALX","93sSwDUl","967638oYRkHX","356596mlaIaF"];return(x=function(){return t})()}!function(t){for(var e=b,r=t();;)try{if(243946===-parseInt(e(344))/1+-parseInt(e(341))/2*(parseInt(e(342))/3)+parseInt(e(346))/4+-parseInt(e(347))/5+parseInt(e(343))/6+-parseInt(e(349))/7+parseInt(e(339))/8)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(x);class y extends t.Plugin{static get[W(338)](){return W(340)}static get[W(348)](){return!0}static get[W(337)](){return!0}static get[W(345)](){return[w,c]}}function P(t,e){var r=S();return(P=function(t,e){return r[t-=413]})(t,e)}function S(){var t=["13908RpJwwm","664DbhnaV","2LVjbqt","1687851XMsSBh","11828710qMaSOX","169497pdwrkr","12wIYJrh","3966herWsC","5422221TAVmRU","552OWbcpI","92001opTgiD","9865UBPFbH"];return(S=function(){return t})()}!function(t){for(var e=P,r=t();;)try{if(844986===parseInt(e(422))/1*(-parseInt(e(419))/2)+-parseInt(e(417))/3*(parseInt(e(418))/4)+-parseInt(e(416))/5*(-parseInt(e(424))/6)+parseInt(e(415))/7*(parseInt(e(414))/8)+parseInt(e(413))/9+-parseInt(e(421))/10+-parseInt(e(420))/11*(-parseInt(e(423))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(S)})(),(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 _0x2d88d7,Command as _0x2f03e5}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x5d9779,MenuBarMenuListItemFileDialogButtonView as _0x187234,SpinnerView as _0x5cd26e,Notification as _0x556e5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x2e0e16}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x2a49e3}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x33551a,uid as _0x263ccc,logWarning as _0x1f91a,logError as _0x3936ed}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x15ec29,_0x1af10f){const t=_0x15ec29['t'];switch(_0x1af10f){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 _0x1af10f;}}class i extends _0x2d88d7{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2f5c75=this['editor'];_0x2f5c75['ui']['componentFactory']['add']('importWord',()=>{const _0x22f906=this['_createButton'](_0x5d9779),_0x2119dc=_0x2f5c75['commands']['get']('importWord');return _0x22f906['bind']('isOn')['to'](_0x2119dc,'isBusy'),_0x22f906['tooltip']=!0x0,_0x22f906;}),_0x2f5c75['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x187234));}['_createButton'](_0xbae745){const _0x3f8c6a=this['editor'],_0x462948=_0x3f8c6a['commands']['get']('importWord'),_0xc5be43=new _0xbae745(_0x3f8c6a['locale']),_0x3f9137=new _0x5cd26e();return _0xc5be43['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0xc5be43['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'}),_0xc5be43['bind']('isEnabled')['to'](_0x462948),_0xc5be43['bind']('label')['to'](_0x462948,'isBusy',_0x4ccae0=>p(_0x3f8c6a['locale'],_0x4ccae0?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x3f9137['bind']('isVisible')['to'](_0x462948,'isBusy'),_0xc5be43['iconView']['bind']('isVisible')['to'](_0x462948,'isBusy',_0x3a0083=>!_0x3a0083),_0xc5be43['children']['add'](_0x3f9137),_0xc5be43['on']('done',(_0x2cc6a5,_0x1cd755)=>{_0x3f8c6a['execute']('importWord',_0x1cd755[0x0],{}),_0x3f8c6a['editing']['view']['focus']();}),_0xc5be43;}}class d extends _0x2f03e5{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x4f07b4){super(_0x4f07b4),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x1cfc59,_0x582bc0)=>{const _0x103cfe=new DataTransfer();_0x103cfe['setData']('text/html',_0x582bc0['html']);const _0x2e01c8=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x136821=>{this['_importMarker']['stopListening'](),_0x136821['setSelection'](_0x2e01c8),_0x4f07b4['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x103cfe});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x17eae6,_0x200373={}){if(this['isBusy'])return Promise['resolve']();const _0x5699a8=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x2ae0d9,suffix:_0x314edb}=this['editor']['config']['get']('mergeFields');_0x200373['merge_fields']={'prefix':_0x2ae0d9,'suffix':_0x314edb};}const _0x3a4629={'url':_0x5699a8['converterUrl'],'file':_0x17eae6,'serviceConfig':{..._0x200373,'formatting':_0x5699a8['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x3a4629)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x31a52f=this['editor']['model'],_0x5898d3=_0x31a52f['schema'],_0x2c494b=_0x31a52f['document']['selection'],_0x3e9994=_0x33551a(_0x2c494b['getSelectedBlocks']());return!!_0x3e9994&&_0x5898d3['checkChild'](_0x3e9994['parent'],'paragraph');}['_prepareForImport'](){const _0x3b16c9=this['editor'],_0x343a21=_0x3b16c9['model'],_0x489ba7=_0x343a21['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x3b16c9['model']['createBatch']({'isUndoable':!0x0}),_0x343a21['enqueueChange'](this['_undoStepBatch'],_0x5391d0=>{_0x489ba7['isCollapsed']||_0x343a21['deleteContent'](_0x489ba7,{'leaveUnmerged':!0x0});const _0x455688=_0x489ba7['getFirstPosition'](),_0x545b1a=_0x33551a(_0x489ba7['getSelectedBlocks']());let _0x38a5e9;_0x38a5e9=_0x545b1a['is']('element','paragraph')&&_0x545b1a['isEmpty']?_0x455688:_0x455688['isAtStart']?_0x343a21['createPositionBefore'](_0x545b1a):_0x455688['isAtEnd']?_0x343a21['createPositionAfter'](_0x545b1a):_0x5391d0['split'](_0x455688)['position'],this['_importMarker']=_0x5391d0['addMarker']('importWord:'+_0x263ccc(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x2a49e3(_0x38a5e9)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x44f4de=this['editor']['model'];_0x44f4de['markers']['has'](this['_importMarker'])&&_0x44f4de['enqueueChange'](this['_undoStepBatch'],_0xa6f13=>{_0xa6f13['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x42736d,file:_0xad8598,serviceConfig:_0x13729c}){const _0x227028=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x30f80f=new FormData();_0x30f80f['set']('config',JSON['stringify'](_0x13729c)),_0x30f80f['set']('file',_0xad8598);const _0x11cfc0={'method':'POST','headers':{},'body':_0x30f80f,'signal':this['_abortController']['signal']};return _0x227028&&(_0x11cfc0['headers']['Authorization']=_0x227028['value']),fetch(_0x42736d,_0x11cfc0);}['_handleImportResponse'](_0x4c4b67){return _0x4c4b67['ok']?_0x4c4b67['json']()['then'](_0x12d11a=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x12d11a);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x1f91a('import-word-plugin-import-cancelled');const _0x4c41a6=this['editor'],_0x4844ed=p(_0x4c41a6['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4c41a6['plugins']['get']('Notification')['showWarning'](_0x4844ed),_0x3936ed('import-word-plugin-conversion-failed');}}class e extends _0x2d88d7{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x556e5,_0x2e0e16,'CloudServices'];}constructor(_0x1ef22e){super(_0x1ef22e),this['_token']=null;}async['init'](){const _0x53d52c=this['editor'];_0x53d52c['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x53d52c['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x53d52c['commands']['add']('importWord',new d(_0x53d52c));const {tokenUrl:_0x413012}=_0x53d52c['config']['get']('importWord');if(_0x413012){const {tokenUrl:_0xdf607e}=_0x53d52c['config']['get']('cloudServices')||{};this['_token']=_0x413012===_0xdf607e?_0x53d52c['plugins']['get']('CloudServices')['token']:await _0x53d52c['plugins']['get']('CloudServices')['registerTokenUrl'](_0x413012);}}['getToken'](){return this['_token'];}}class o extends _0x2d88d7{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':_0x2cc5bb=>0x1!=_0x2cc5bb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x16d590=>{const {af:{dictionary:_0x5377f7,getPluralForm:_0x463e5d}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5d0909=>0x1!=_0x5d0909}};_0x16d590['af']||={'dictionary':{},'getPluralForm':null},_0x16d590['af']['dictionary']=Object['assign'](_0x16d590['af']['dictionary'],_0x5377f7),_0x16d590['af']['getPluralForm']=_0x463e5d;})(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':_0xa33876=>0x0==_0xa33876?0x0:0x1==_0xa33876?0x1:0x2==_0xa33876?0x2:_0xa33876%0x64>=0x3&&_0xa33876%0x64<=0xa?0x3:_0xa33876%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3eba45=>{const {ar:{dictionary:_0x1fee02,getPluralForm:_0x524b6b}}={'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':_0x422984=>0x0==_0x422984?0x0:0x1==_0x422984?0x1:0x2==_0x422984?0x2:_0x422984%0x64>=0x3&&_0x422984%0x64<=0xa?0x3:_0x422984%0x64>=0xb?0x4:0x5}};_0x3eba45['ar']||={'dictionary':{},'getPluralForm':null},_0x3eba45['ar']['dictionary']=Object['assign'](_0x3eba45['ar']['dictionary'],_0x1fee02),_0x3eba45['ar']['getPluralForm']=_0x524b6b;})(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':_0x2affa7=>0x1!=_0x2affa7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x16faa6=>{const {ast:{dictionary:_0x165cbf,getPluralForm:_0x3750f4}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x174f40=>0x1!=_0x174f40}};_0x16faa6['ast']||={'dictionary':{},'getPluralForm':null},_0x16faa6['ast']['dictionary']=Object['assign'](_0x16faa6['ast']['dictionary'],_0x165cbf),_0x16faa6['ast']['getPluralForm']=_0x3750f4;})(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':_0x476856=>0x1!=_0x476856}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x426e92=>{const {az:{dictionary:_0x1fd1d1,getPluralForm:_0x1684ba}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1ec6a5=>0x1!=_0x1ec6a5}};_0x426e92['az']||={'dictionary':{},'getPluralForm':null},_0x426e92['az']['dictionary']=Object['assign'](_0x426e92['az']['dictionary'],_0x1fd1d1),_0x426e92['az']['getPluralForm']=_0x1684ba;})(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':_0x1dc457=>0x1!=_0x1dc457}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e6b26=>{const {bg:{dictionary:_0x335dbd,getPluralForm:_0x340df3}}={'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':_0x549ae9=>0x1!=_0x549ae9}};_0x4e6b26['bg']||={'dictionary':{},'getPluralForm':null},_0x4e6b26['bg']['dictionary']=Object['assign'](_0x4e6b26['bg']['dictionary'],_0x335dbd),_0x4e6b26['bg']['getPluralForm']=_0x340df3;})(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':_0x14bf5c=>0x1!=_0x14bf5c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4c254f=>{const {bn:{dictionary:_0xe3d8ad,getPluralForm:_0x5a572f}}={'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':_0xac412d=>0x1!=_0xac412d}};_0x4c254f['bn']||={'dictionary':{},'getPluralForm':null},_0x4c254f['bn']['dictionary']=Object['assign'](_0x4c254f['bn']['dictionary'],_0xe3d8ad),_0x4c254f['bn']['getPluralForm']=_0x5a572f;})(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':_0x304923=>_0x304923%0xa==0x1&&_0x304923%0x64!=0xb?0x0:_0x304923%0xa>=0x2&&_0x304923%0xa<=0x4&&(_0x304923%0x64<0xa||_0x304923%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d2945=>{const {bs:{dictionary:_0x1bd475,getPluralForm:_0x477801}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xa9599=>_0xa9599%0xa==0x1&&_0xa9599%0x64!=0xb?0x0:_0xa9599%0xa>=0x2&&_0xa9599%0xa<=0x4&&(_0xa9599%0x64<0xa||_0xa9599%0x64>=0x14)?0x1:0x2}};_0x3d2945['bs']||={'dictionary':{},'getPluralForm':null},_0x3d2945['bs']['dictionary']=Object['assign'](_0x3d2945['bs']['dictionary'],_0x1bd475),_0x3d2945['bs']['getPluralForm']=_0x477801;})(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':_0x4492f1=>0x1!=_0x4492f1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x592f0a=>{const {ca:{dictionary:_0x146fb0,getPluralForm:_0x367bb9}}={'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':_0x18f010=>0x1!=_0x18f010}};_0x592f0a['ca']||={'dictionary':{},'getPluralForm':null},_0x592f0a['ca']['dictionary']=Object['assign'](_0x592f0a['ca']['dictionary'],_0x146fb0),_0x592f0a['ca']['getPluralForm']=_0x367bb9;})(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':_0x46b45f=>0x1==_0x46b45f?0x0:_0x46b45f>=0x2&&_0x46b45f<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5910d7=>{const {cs:{dictionary:_0x261e0e,getPluralForm:_0x4f0e2e}}={'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':_0x195f3a=>0x1==_0x195f3a?0x0:_0x195f3a>=0x2&&_0x195f3a<=0x4?0x1:0x2}};_0x5910d7['cs']||={'dictionary':{},'getPluralForm':null},_0x5910d7['cs']['dictionary']=Object['assign'](_0x5910d7['cs']['dictionary'],_0x261e0e),_0x5910d7['cs']['getPluralForm']=_0x4f0e2e;})(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':_0x81b491=>0x1!=_0x81b491}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d235e=>{const {da:{dictionary:_0x22051b,getPluralForm:_0x38dc39}}={'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':_0x558a01=>0x1!=_0x558a01}};_0x1d235e['da']||={'dictionary':{},'getPluralForm':null},_0x1d235e['da']['dictionary']=Object['assign'](_0x1d235e['da']['dictionary'],_0x22051b),_0x1d235e['da']['getPluralForm']=_0x38dc39;})(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':_0x3c6127=>0x1!=_0x3c6127}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32fa4e=>{const {'de-ch':{dictionary:_0x378083,getPluralForm:_0x8a3d40}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x462037=>0x1!=_0x462037}};_0x32fa4e['de-ch']||={'dictionary':{},'getPluralForm':null},_0x32fa4e['de-ch']['dictionary']=Object['assign'](_0x32fa4e['de-ch']['dictionary'],_0x378083),_0x32fa4e['de-ch']['getPluralForm']=_0x8a3d40;})(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':_0xaf3bfa=>0x1!=_0xaf3bfa}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x596f36=>{const {de:{dictionary:_0x2bbe14,getPluralForm:_0x2dbbd9}}={'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':_0x35d435=>0x1!=_0x35d435}};_0x596f36['de']||={'dictionary':{},'getPluralForm':null},_0x596f36['de']['dictionary']=Object['assign'](_0x596f36['de']['dictionary'],_0x2bbe14),_0x596f36['de']['getPluralForm']=_0x2dbbd9;})(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':_0x35f4a3=>0x1!=_0x35f4a3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe3c3f0=>{const {el:{dictionary:_0x509c01,getPluralForm:_0x67585}}={'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':_0x4ed2da=>0x1!=_0x4ed2da}};_0xe3c3f0['el']||={'dictionary':{},'getPluralForm':null},_0xe3c3f0['el']['dictionary']=Object['assign'](_0xe3c3f0['el']['dictionary'],_0x509c01),_0xe3c3f0['el']['getPluralForm']=_0x67585;})(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':_0x59f8c6=>0x1!=_0x59f8c6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e0fe8=>{const {'en-au':{dictionary:_0x3b920d,getPluralForm:_0x26df97}}={'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':_0x25d9a3=>0x1!=_0x25d9a3}};_0x4e0fe8['en-au']||={'dictionary':{},'getPluralForm':null},_0x4e0fe8['en-au']['dictionary']=Object['assign'](_0x4e0fe8['en-au']['dictionary'],_0x3b920d),_0x4e0fe8['en-au']['getPluralForm']=_0x26df97;})(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':_0x4f1a38=>0x1!=_0x4f1a38}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1341ac=>{const {'en-gb':{dictionary:_0x10e39e,getPluralForm:_0x3d7901}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1b57fa=>0x1!=_0x1b57fa}};_0x1341ac['en-gb']||={'dictionary':{},'getPluralForm':null},_0x1341ac['en-gb']['dictionary']=Object['assign'](_0x1341ac['en-gb']['dictionary'],_0x10e39e),_0x1341ac['en-gb']['getPluralForm']=_0x3d7901;})(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':_0x19546a=>0x1!=_0x19546a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2fd7b2=>{const {en:{dictionary:_0x3ba892,getPluralForm:_0x99b21e}}={'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':_0x3bf340=>0x1!=_0x3bf340}};_0x2fd7b2['en']||={'dictionary':{},'getPluralForm':null},_0x2fd7b2['en']['dictionary']=Object['assign'](_0x2fd7b2['en']['dictionary'],_0x3ba892),_0x2fd7b2['en']['getPluralForm']=_0x99b21e;})(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':_0x1fb633=>0x1!=_0x1fb633}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d7c67=>{const {eo:{dictionary:_0x4ffa41,getPluralForm:_0x411a7c}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x417454=>0x1!=_0x417454}};_0x4d7c67['eo']||={'dictionary':{},'getPluralForm':null},_0x4d7c67['eo']['dictionary']=Object['assign'](_0x4d7c67['eo']['dictionary'],_0x4ffa41),_0x4d7c67['eo']['getPluralForm']=_0x411a7c;})(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':_0x160a0c=>0x1!=_0x160a0c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5a6183=>{const {'es-co':{dictionary:_0x8546f8,getPluralForm:_0x59b17d}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x387a5f=>0x1!=_0x387a5f}};_0x5a6183['es-co']||={'dictionary':{},'getPluralForm':null},_0x5a6183['es-co']['dictionary']=Object['assign'](_0x5a6183['es-co']['dictionary'],_0x8546f8),_0x5a6183['es-co']['getPluralForm']=_0x59b17d;})(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':_0x23fd5d=>0x1!=_0x23fd5d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1e3031=>{const {es:{dictionary:_0x9fed0c,getPluralForm:_0x5d2a14}}={'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':_0x5743d2=>0x1!=_0x5743d2}};_0x1e3031['es']||={'dictionary':{},'getPluralForm':null},_0x1e3031['es']['dictionary']=Object['assign'](_0x1e3031['es']['dictionary'],_0x9fed0c),_0x1e3031['es']['getPluralForm']=_0x5d2a14;})(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':_0x3a3941=>0x1!=_0x3a3941}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x386f28=>{const {et:{dictionary:_0x128cfc,getPluralForm:_0x537de5}}={'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':_0x530287=>0x1!=_0x530287}};_0x386f28['et']||={'dictionary':{},'getPluralForm':null},_0x386f28['et']['dictionary']=Object['assign'](_0x386f28['et']['dictionary'],_0x128cfc),_0x386f28['et']['getPluralForm']=_0x537de5;})(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':_0x1205c8=>0x1!=_0x1205c8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x273e73=>{const {eu:{dictionary:_0x5c1fa4,getPluralForm:_0x4f394b}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3bcc9b=>0x1!=_0x3bcc9b}};_0x273e73['eu']||={'dictionary':{},'getPluralForm':null},_0x273e73['eu']['dictionary']=Object['assign'](_0x273e73['eu']['dictionary'],_0x5c1fa4),_0x273e73['eu']['getPluralForm']=_0x4f394b;})(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':_0x341b86=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a5c35=>{const {fa:{dictionary:_0x2d1793,getPluralForm:_0x4b03b3}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x36e8c5=>0x0}};_0x4a5c35['fa']||={'dictionary':{},'getPluralForm':null},_0x4a5c35['fa']['dictionary']=Object['assign'](_0x4a5c35['fa']['dictionary'],_0x2d1793),_0x4a5c35['fa']['getPluralForm']=_0x4b03b3;})(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':_0x1eae57=>0x1!=_0x1eae57}};
|