@ckeditor/ckeditor5-import-word 0.0.0-nightly-20241203.0 → 0.0.0-nightly-20241206.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +2 -2
- package/dist/augmentation.d.ts +1 -1
- package/dist/importword.d.ts +1 -1
- package/dist/importwordcommand.d.ts +1 -1
- package/dist/importwordediting.d.ts +1 -1
- package/dist/importwordui.d.ts +1 -1
- package/dist/index.d.ts +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/dist/utils/common-translations.d.ts +1 -1
- package/package.json +7 -7
- package/src/augmentation.d.ts +1 -1
- package/src/importword.d.ts +1 -1
- package/src/importword.js +1 -1
- package/src/importwordcommand.d.ts +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.d.ts +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.d.ts +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var 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:()=>y,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-=183]})(t,r)}function a(){const t=["2naWVlL","iconView","44HiRANu","focus","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","children","isBusy","isVisible","componentFactory","commands","Importing Word document","bind","1742328pVgTrf","add","label","view","get","Import from Word","13848UVtalr","5274qJJrCu","importWord","init","10cKNivE","isPremiumPlugin","isOn","set","pluginName","done","editing","menuBar:importWord","ImportWordUI","isOfficialPlugin","2498289JZbNnd","tooltip","isEnabled","4ZDVmeu","8530210uusxzn","execute","_createButton","locale","editor","5318082HjZdcr","3822444LAMJzQ","680045MaLCLO"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(619471===-parseInt(r(193))/1*(-parseInt(r(194))/2)+parseInt(r(226))/3*(-parseInt(r(185))/4)+parseInt(r(216))/5*(-parseInt(r(206))/6)+parseInt(r(191))/7+parseInt(r(212))/8*(parseInt(r(213))/9)+parseInt(r(186))/10+-parseInt(r(196))/11*(parseInt(r(192))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(220)](){return o(224)}static get[o(225)](){return!0}static get[o(217)](){return!0}[o(215)](){const t=o,e=this[t(190)];e.ui[t(202)][t(207)](t(214),(()=>{const n=t,i=this[n(188)](r.FileDialogButtonView),o=e[n(203)][n(210)](n(214));return i[n(205)](n(218)).to(o,n(200)),i[n(183)]=!0,i})),e.ui[t(202)][t(207)](t(223),(()=>this[t(188)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(188)](t){const e=o,n=this[e(190)],s=n[e(203)][e(210)](e(214)),a=new t(n[e(189)]),c=new r.SpinnerView;return a[e(219)]({acceptedType:e(198)}),a[e(219)]({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(205)](e(184)).to(s),a[e(205)](e(208)).to(s,e(200),(t=>i(n[e(189)],e(t?204:211)))),c[e(205)](e(201)).to(s,e(200)),a[e(195)][e(205)](e(201)).to(s,e(200),(t=>!t)),a[e(199)][e(207)](c),a.on(e(221),((t,r)=>{const i=e;n[i(187)](i(214),r[0],{}),n[i(222)][i(209)][i(197)]()})),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-=116]})(t,r)}!function(t){const r=h,e=t();for(;;)try{if(883643===parseInt(r(190))/1+parseInt(r(187))/2+parseInt(r(122))/3*(parseInt(r(213))/4)+parseInt(r(192))/5+-parseInt(r(171))/6+-parseInt(r(134))/7*(parseInt(r(195))/8)+-parseInt(r(180))/9)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(137)](r(151),!1),this[r(204)]=null,this[r(126)]=null,this[r(179)]=null,this.on(r(153),((e,n)=>{const i=r,o=new DataTransfer;o[i(217)](i(176),n[i(165)]);const s=this[i(204)][i(209)]();this[i(145)][i(161)][i(136)](this[i(126)],(r=>{const e=i;this[e(204)][e(166)](),r[e(132)](s),t[e(211)][e(172)][e(127)][e(139)](e(188),{dataTransfer:o})}))}),{priority:r(194)})}[d(160)](){const t=d;this[t(123)]=this[t(169)]()}[d(157)](t,r={}){const e=d;if(this[e(151)])return Promise[e(117)]();const n=this[e(145)][e(193)][e(197)](e(129));if(this[e(145)][e(147)][e(199)](e(154))){const{prefix:t,suffix:n}=this[e(145)][e(193)][e(197)](e(215));r[e(142)]={prefix:t,suffix:n}}const i={url:n[e(133)],file:t,serviceConfig:{...r,formatting:n[e(198)],timezone:(new(Intl[e(214)]))[e(189)]()[e(200)]}};return this[e(140)](),this[e(184)](i)[e(146)](this[e(138)][e(203)](this))[e(158)](this[e(207)][e(203)](this))[e(168)](this[e(186)][e(203)](this))}[d(169)](){const t=d;if(this[t(151)])return!1;const r=this[t(145)][t(161)],e=r[t(191)],n=r[t(127)][t(175)],i=(0,l.first)(n[t(202)]());return!!i&&e[t(120)](i[t(178)],t(205))}[d(140)](){const t=d,r=this[t(145)],e=r[t(161)],n=e[t(127)][t(175)];this[t(179)]=new AbortController,this[t(126)]=r[t(161)][t(167)]({isUndoable:!0}),e[t(136)](this[t(126)],(r=>{const i=t;n[i(159)]||e[i(201)](n,{leaveUnmerged:!0});const o=n[i(164)](),s=(0,l.first)(n[i(202)]());let a;a=s.is(i(143),i(205))&&s[i(185)]?o:o[i(130)]?e[i(181)](s):o[i(116)]?e[i(208)](s):r[i(135)](o)[i(196)],this[i(204)]=r[i(173)](i(210)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(204)].on(i(182),(()=>{const t=i;t(216)===this[t(204)][t(209)]()[t(206)][t(121)]&&this[t(179)][t(150)]()}))})),this[t(151)]=!0,this[t(160)]()}[d(186)](){const t=d,r=this[t(145)][t(161)];r[t(183)][t(199)](this[t(204)])&&r[t(136)](this[t(126)],(r=>{const e=t;r[e(141)](this[e(204)])})),this[t(204)]=null,this[t(126)]=null,this[t(179)]=null,this[t(151)]=!1,this[t(160)]()}[d(184)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(145)][n(147)][n(197)](n(163))[n(119)](),o=new FormData;o[n(137)](n(193),JSON[n(128)](e)),o[n(137)](n(118),r);const s={method:n(131),headers:{},body:o,signal:this[n(179)][n(156)]};return i&&(s[n(144)][n(148)]=i[n(155)]),fetch(t,s)}[d(138)](t){const r=d;return t.ok?t[r(124)]()[r(146)]((t=>{const e=r;this[e(145)][e(161)][e(183)][e(199)](this[e(204)])&&e(216)!==this[e(204)][e(209)]()[e(206)][e(121)]&&this[e(139)](e(153),t)})):Promise[r(152)]()}[d(207)](){const t=d;if(this[t(179)][t(156)][t(174)])return void(0,l.logWarning)(t(149));const r=this[t(145)],e=i(r[t(177)],t(162));r[t(147)][t(197)](t(212))[t(170)](e),(0,l.logError)(t(125))}}function m(){const t=["_cleanUpAfterImport","14150VdlYSY","clipboardInput","resolvedOptions","1622378GowrHc","schema","8218055YhFbUE","config","low","9471416vNNvDz","position","get","formatting","has","timeZone","deleteContent","getSelectedBlocks","bind","_importMarker","paragraph","root","_handleImportFailure","createPositionAfter","getRange","importWord:","editing","Notification","251248XezRjB","DateTimeFormat","mergeFields","$graveyard","setData","isAtEnd","resolve","file","getToken","checkChild","rootName","21arZMwN","isEnabled","json","import-word-plugin-conversion-failed","_undoStepBatch","document","stringify","importWord","isAtStart","POST","setSelection","converterUrl","7VuTjgY","split","enqueueChange","set","_handleImportResponse","fire","_prepareForImport","removeMarker","merge_fields","element","headers","editor","then","plugins","Authorization","import-word-plugin-import-cancelled","abort","isBusy","reject","dataInsert","MergeFields","value","signal","execute","catch","isCollapsed","refresh","model","An error occurred while importing the Word file.","ImportWordEditing","getFirstPosition","html","stopListening","createBatch","finally","_checkEnabled","showWarning","3861030QkfGzr","view","addMarker","aborted","selection","text/html","locale","parent","_abortController","9015057CaZnTp","createPositionBefore","change:range","markers","_sendImportRequest","isEmpty"];return(m=function(){return t})()}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=381]})(t,r)}function v(){const t=["tokenUrl","19612mjVClW","CloudServices","init","cloudServices","1199997OxRNfu","token","define","editor","requires","32759628EeTlsT","https://docx-converter.cke-cs.com/v2/convert/docx-html","pluginName","inline","16iKzxRW","add","468YdsEVb","8433456ZJUaRU","610UghkGt","plugins","187137melmlJ","5163403ExjBfq","none","commands","_token","importWord","registerTokenUrl","16eiBKXp","config","isOfficialPlugin","ImportWordEditing","1370ClHmmu","getToken","isPremiumPlugin","get"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(867251===-parseInt(r(385))/1+-parseInt(r(394))/2*(-parseInt(r(400))/3)+-parseInt(r(381))/4*(parseInt(r(411))/5)+parseInt(r(397))/6+-parseInt(r(401))/7*(parseInt(r(407))/8)+parseInt(r(396))/9*(parseInt(r(398))/10)+parseInt(r(390))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(392)](){return g(410)}static get[g(409)](){return!0}static get[g(413)](){return!0}static get[g(389)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(382)]}constructor(t){const r=g;super(t),this[r(404)]=null}async[g(383)](){const t=g,r=this[t(388)];r[t(408)][t(387)](t(405),{converterUrl:t(391),tokenUrl:(r[t(408)][t(414)](t(384))||{})[t(415)],formatting:{resets:t(402),defaults:t(402),styles:t(393)}}),r[t(403)][t(395)](t(405),new f(r));const{tokenUrl:e}=r[t(408)][t(414)](t(405));if(e){const{tokenUrl:n}=r[t(408)][t(414)](t(384))||{};this[t(404)]=e===n?r[t(399)][t(414)](t(382))[t(386)]:await r[t(399)][t(414)](t(382))[t(406)](e)}}[g(412)](){return this[g(404)]}}function b(){var t=["6813992uYJdtw","ImportWord","15102LGhIRd","1737694CSZynl","345800HbTUiQ","isOfficialPlugin","requires","1959450prrkbK","172gjJDKO","pluginName","2915750qXZLAv","isPremiumPlugin","1229050DybPfv"];return(b=function(){return t})()}var W=x;function x(t,r){var e=b();return(x=function(t,r){return e[t-=275]})(t,r)}!function(t){for(var r=x,e=t();;)try{if(336445===-parseInt(r(279))/1+-parseInt(r(287))/2+parseInt(r(277))/3*(-parseInt(r(283))/4)+parseInt(r(285))/5+parseInt(r(282))/6+-parseInt(r(278))/7+parseInt(r(275))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(b);class y extends t.Plugin{static get[W(284)](){return W(276)}static get[W(280)](){return!0}static get[W(286)](){return!0}static get[W(281)](){return[w,c]}}function k(t,r){var e=P();return(k=function(t,r){return e[t-=290]})(t,r)}function P(){var t=["542516mSkjWt","1160GyNKBB","5604828bzqsNs","1142710AyFQLs","195HJGbwb","88QlkZQb","47206665QPtvng","17282XQdYjF","589771hGRGTF","4OxzdUP","135873uiGDZQ"];return(P=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(927033===-parseInt(r(290))/1+parseInt(r(297))/2*(parseInt(r(294))/3)+-parseInt(r(299))/4*(-parseInt(r(293))/5)+-parseInt(r(292))/6+-parseInt(r(298))/7*(parseInt(r(295))/8)+parseInt(r(300))/9*(-parseInt(r(291))/10)+parseInt(r(296))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>x,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=a;function s(){const t=["Import from Word","Importing Word document","4219457swRyGB","add","isOn","40814MiHqkj","4utBCyM","10tlYKlM","tooltip","2480NEgnfN","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","focus","editing","1656CXaCrF","3684iNSnFX","5008290iSnPML","execute","init","_createButton","45TKlAFL","isPremiumPlugin","isVisible","done","ImportWordUI","menuBar:importWord","isBusy","358828SgGqlE","set","bind","pluginName","children","importWord","label","3sXfZzk","view","componentFactory","isOfficialPlugin","isEnabled","editor","locale","338384OnQmiB","iconView","commands","132015AnprPu","get"];return(s=function(){return t})()}function a(t,e){const r=s();return(a=function(t,e){return r[t-=464]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(403466===parseInt(e(489))/1*(-parseInt(e(488))/2)+parseInt(e(471))/3*(parseInt(e(464))/4)+parseInt(e(492))/5*(parseInt(e(497))/6)+-parseInt(e(498))/7+-parseInt(e(478))/8*(parseInt(e(502))/9)+parseInt(e(490))/10*(-parseInt(e(485))/11)+parseInt(e(496))/12*(parseInt(e(481))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class c extends t.Plugin{static get[o(467)](){return o(506)}static get[o(474)](){return!0}static get[o(503)](){return!0}[o(500)](){const t=o,r=this[t(476)];r.ui[t(473)][t(486)](t(469),(()=>{const n=t,i=this[n(501)](e.FileDialogButtonView),o=r[n(480)][n(482)](n(469));return i[n(466)](n(487)).to(o,n(508)),i[n(491)]=!0,i})),r.ui[t(473)][t(486)](t(507),(()=>this[t(501)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(501)](t){const r=o,n=this[r(476)],s=n[r(480)][r(482)](r(469)),a=new t(n[r(477)]),c=new e.SpinnerView;return a[r(465)]({acceptedType:r(493)}),a[r(465)]({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(466)](r(475)).to(s),a[r(466)](r(470)).to(s,r(508),(t=>i(n[r(477)],r(t?484:483)))),c[r(466)](r(504)).to(s,r(508)),a[r(479)][r(466)](r(504)).to(s,r(508),(t=>!t)),a[r(468)][r(486)](c),a.on(r(505),((t,e)=>{const i=r;n[i(499)](i(469),e[0],{}),n[i(495)][i(472)][i(494)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=h;function h(t,e){const r=f();return(h=function(t,e){return r[t-=188]})(t,e)}function f(){const t=["json","execute","_abortController","isAtEnd","catch","dataInsert","resolvedOptions","373428ueimCL","isBusy","finally","stopListening","import-word-plugin-conversion-failed","ImportWordEditing","text/html","getToken","merge_fields","change:range","config","_undoStepBatch","html","fire","showWarning","root","1998QTeKaL","editor","element","_prepareForImport","setData","7278PDYnCe","selection","has","schema","addMarker","287424aNfAbS","removeMarker","createPositionAfter","importWord:","getFirstPosition","An error occurred while importing the Word file.","view","_sendImportRequest","timeZone","isAtStart","rootName","aborted","createPositionBefore","locale","isCollapsed","plugins","_checkEnabled","document","model","_importMarker","markers","getRange","clipboardInput","get","paragraph","1561shhzgS","isEnabled","2879910gcZDbo","file","POST","stringify","formatting","signal","createBatch","headers","set","position","122865xwtaVF","deleteContent","converterUrl","low","refresh","2376MWiwyM","DateTimeFormat","Authorization","MergeFields","then","checkChild","mergeFields","6788Bcgvmi","getSelectedBlocks","bind","split","import-word-plugin-import-cancelled","_handleImportResponse","editing","parent","enqueueChange","resolve","abort","importWord","_cleanUpAfterImport","_handleImportFailure","value","reject","Notification","isEmpty","setSelection","$graveyard","103uyPJwE"];return(f=function(){return t})()}!function(t){const e=h,r=t();for(;;)try{if(261249===parseInt(e(283))/1*(parseInt(e(263))/2)+-parseInt(e(188))/3+-parseInt(e(214))/4+parseInt(e(251))/5+parseInt(e(209))/6*(-parseInt(e(239))/7)+-parseInt(e(256))/8*(-parseInt(e(204))/9)+parseInt(e(241))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f);class m extends t.Command{constructor(t){const e=h;super(t),this[e(249)](e(189),!1),this[e(233)]=null,this[e(199)]=null,this[e(286)]=null,this.on(e(289),((r,n)=>{const i=e,o=new DataTransfer;o[i(208)](i(194),n[i(200)]);const s=this[i(233)][i(235)]();this[i(205)][i(232)][i(271)](this[i(199)],(e=>{const r=i;this[r(233)][r(191)](),e[r(281)](s),t[r(269)][r(220)][r(231)][r(201)](r(236),{dataTransfer:o})}))}),{priority:e(254)})}[d(255)](){const t=d;this[t(240)]=this[t(230)]()}[d(285)](t,e={}){const r=d;if(this[r(189)])return Promise[r(272)]();const n=this[r(205)][r(198)][r(237)](r(274));if(this[r(205)][r(229)][r(211)](r(259))){const{prefix:t,suffix:n}=this[r(205)][r(198)][r(237)](r(262));e[r(196)]={prefix:t,suffix:n}}const i={url:n[r(253)],file:t,serviceConfig:{...e,formatting:n[r(245)],timezone:(new(Intl[r(257)]))[r(290)]()[r(222)]}};return this[r(207)](),this[r(221)](i)[r(260)](this[r(268)][r(265)](this))[r(288)](this[r(276)][r(265)](this))[r(190)](this[r(275)][r(265)](this))}[d(230)](){const t=d;if(this[t(189)])return!1;const e=this[t(205)][t(232)],r=e[t(212)],n=e[t(231)][t(210)],i=(0,l.first)(n[t(264)]());return!!i&&r[t(261)](i[t(270)],t(238))}[d(207)](){const t=d,e=this[t(205)],r=e[t(232)],n=r[t(231)][t(210)];this[t(286)]=new AbortController,this[t(199)]=e[t(232)][t(247)]({isUndoable:!0}),r[t(271)](this[t(199)],(e=>{const i=t;n[i(228)]||r[i(252)](n,{leaveUnmerged:!0});const o=n[i(218)](),s=(0,l.first)(n[i(264)]());let a;a=s.is(i(206),i(238))&&s[i(280)]?o:o[i(223)]?r[i(226)](s):o[i(287)]?r[i(216)](s):e[i(266)](o)[i(250)],this[i(233)]=e[i(213)](i(217)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(233)].on(i(197),(()=>{const t=i;t(282)===this[t(233)][t(235)]()[t(203)][t(224)]&&this[t(286)][t(273)]()}))})),this[t(189)]=!0,this[t(255)]()}[d(275)](){const t=d,e=this[t(205)][t(232)];e[t(234)][t(211)](this[t(233)])&&e[t(271)](this[t(199)],(e=>{const r=t;e[r(215)](this[r(233)])})),this[t(233)]=null,this[t(199)]=null,this[t(286)]=null,this[t(189)]=!1,this[t(255)]()}[d(221)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(205)][n(229)][n(237)](n(193))[n(195)](),o=new FormData;o[n(249)](n(198),JSON[n(244)](r)),o[n(249)](n(242),e);const s={method:n(243),headers:{},body:o,signal:this[n(286)][n(246)]};return i&&(s[n(248)][n(258)]=i[n(277)]),fetch(t,s)}[d(268)](t){const e=d;return t.ok?t[e(284)]()[e(260)]((t=>{const r=e;this[r(205)][r(232)][r(234)][r(211)](this[r(233)])&&r(282)!==this[r(233)][r(235)]()[r(203)][r(224)]&&this[r(201)](r(289),t)})):Promise[e(278)]()}[d(276)](){const t=d;if(this[t(286)][t(246)][t(225)])return void(0,l.logWarning)(t(267));const e=this[t(205)],r=i(e[t(227)],t(219));e[t(229)][t(237)](t(279))[t(202)](r),(0,l.logError)(t(192))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=133]})(t,e)}function v(){const t=["https://docx-converter.cke-cs.com/v2/convert/docx-html","inline","33FrmHKN","199652udswBA","tokenUrl","ImportWordEditing","config","none","pluginName","add","279729GJhJem","get","importWord","isPremiumPlugin","editor","92100RLjkEm","1162456ulcNKc","init","cloudServices","registerTokenUrl","define","12294UTeVqq","isOfficialPlugin","10419830ywDqIZ","requires","plugins","CloudServices","token","14MATtgX","commands","45piTwoE","1463592EewdOY","getToken","_token"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(370253===parseInt(e(149))/1+-parseInt(e(161))/2*(-parseInt(e(148))/3)+parseInt(e(143))/4+-parseInt(e(142))/5*(-parseInt(e(133))/6)+-parseInt(e(140))/7*(-parseInt(e(162))/8)+parseInt(e(156))/9+-parseInt(e(135))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(154)](){return g(151)}static get[g(134)](){return!0}static get[g(159)](){return!0}static get[g(136)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(138)]}constructor(t){const e=g;super(t),this[e(145)]=null}async[g(163)](){const t=g,e=this[t(160)];e[t(152)][t(166)](t(158),{converterUrl:t(146),tokenUrl:(e[t(152)][t(157)](t(164))||{})[t(150)],formatting:{resets:t(153),defaults:t(153),styles:t(147)}}),e[t(141)][t(155)](t(158),new m(e));const{tokenUrl:r}=e[t(152)][t(157)](t(158));if(r){const{tokenUrl:n}=e[t(152)][t(157)](t(164))||{};this[t(145)]=r===n?e[t(137)][t(157)](t(138))[t(139)]:await e[t(137)][t(157)](t(138))[t(165)](r)}}[g(144)](){return this[g(145)]}}var y=b;function W(){var t=["8PzfrJY","2836504DtxNgc","12khggQR","30RvERcr","pluginName","ImportWord","isOfficialPlugin","268512GqANRx","2291886xAfqhJ","1008210IaIOOU","requires","429172fsuHdd","isPremiumPlugin","5HwRZxR","465876dMaXGk","2884378HVktHF"];return(W=function(){return t})()}function b(t,e){var r=W();return(b=function(t,e){return r[t-=282]})(t,e)}!function(t){for(var e=b,r=t();;)try{if(264425===-parseInt(e(286))/1+parseInt(e(283))/2+parseInt(e(295))/3*(-parseInt(e(290))/4)+-parseInt(e(285))/5*(-parseInt(e(297))/6)+-parseInt(e(287))/7+parseInt(e(288))/8*(parseInt(e(296))/9)+-parseInt(e(291))/10*(-parseInt(e(289))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class x extends t.Plugin{static get[y(292)](){return y(293)}static get[y(294)](){return!0}static get[y(284)](){return!0}static get[y(282)](){return[w,c]}}function k(t,e){var r=P();return(k=function(t,e){return r[t-=448]})(t,e)}function P(){var t=["14280822FAGhWZ","1365201DfFjpC","6gqHJWD","22ICYLLM","1084865kyhwyl","1369544HTffnd","6068426dfuytV","29810RSXzEI","2025824uWiLZV"];return(P=function(){return t})()}!function(t){for(var e=k,r=t();;)try{if(474393===-parseInt(e(448))/1*(-parseInt(e(453))/2)+-parseInt(e(451))/3+-parseInt(e(449))/4+parseInt(e(454))/5+-parseInt(e(452))/6*(parseInt(e(456))/7)+parseInt(e(455))/8+parseInt(e(450))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
package/dist/augmentation.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
import type { ImportWordConfig, ImportWord, ImportWordEditing, ImportWordUI, ImportWordCommand } from './index.js';
|
|
10
10
|
declare module '@ckeditor/ckeditor5-core' {
|
package/dist/importword.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* @module import-word/importword
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* @module import-word/importwordcommand
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* @module import-word/importwordediting
|
package/dist/importwordui.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* @module import-word/importwordui
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* @module import-word
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x1fcdc6,Command as _0x4d3b35}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x3075a4,MenuBarMenuListItemFileDialogButtonView as _0x36b4be,SpinnerView as _0x527c1a,Notification as _0xc393ed}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x27ea70}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x261952}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x21e0d8,uid as _0x36857b,logWarning as _0x5a6fda,logError as _0x2ed212}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x18bd62,_0x662cb9){const t=_0x18bd62['t'];switch(_0x662cb9){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 _0x662cb9;}}class i extends _0x1fcdc6{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5a7902=this['editor'];_0x5a7902['ui']['componentFactory']['add']('importWord',()=>{const _0x44d071=this['_createButton'](_0x3075a4),_0x7b63e3=_0x5a7902['commands']['get']('importWord');return _0x44d071['bind']('isOn')['to'](_0x7b63e3,'isBusy'),_0x44d071['tooltip']=!0x0,_0x44d071;}),_0x5a7902['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x36b4be));}['_createButton'](_0x5f1d9d){const _0x551f85=this['editor'],_0x6940a5=_0x551f85['commands']['get']('importWord'),_0x1b6b9a=new _0x5f1d9d(_0x551f85['locale']),_0x327eaa=new _0x527c1a();return _0x1b6b9a['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x1b6b9a['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'}),_0x1b6b9a['bind']('isEnabled')['to'](_0x6940a5),_0x1b6b9a['bind']('label')['to'](_0x6940a5,'isBusy',_0x3e644c=>p(_0x551f85['locale'],_0x3e644c?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x327eaa['bind']('isVisible')['to'](_0x6940a5,'isBusy'),_0x1b6b9a['iconView']['bind']('isVisible')['to'](_0x6940a5,'isBusy',_0x166290=>!_0x166290),_0x1b6b9a['children']['add'](_0x327eaa),_0x1b6b9a['on']('done',(_0x374b2f,_0x30e5c4)=>{_0x551f85['execute']('importWord',_0x30e5c4[0x0],{}),_0x551f85['editing']['view']['focus']();}),_0x1b6b9a;}}class d extends _0x4d3b35{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x36f2ce){super(_0x36f2ce),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4d548b,_0x69f76d)=>{const _0x14b371=new DataTransfer();_0x14b371['setData']('text/html',_0x69f76d['html']);const _0x27dc1c=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x3b5f1f=>{this['_importMarker']['stopListening'](),_0x3b5f1f['setSelection'](_0x27dc1c),_0x36f2ce['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x14b371});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xece6c1,_0x2c0afe={}){if(this['isBusy'])return Promise['resolve']();const _0x5bb587=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x2f75d6,suffix:_0x5938ab}=this['editor']['config']['get']('mergeFields');_0x2c0afe['merge_fields']={'prefix':_0x2f75d6,'suffix':_0x5938ab};}const _0x4e7e0c={'url':_0x5bb587['converterUrl'],'file':_0xece6c1,'serviceConfig':{..._0x2c0afe,'formatting':_0x5bb587['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4e7e0c)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x9f11ee=this['editor']['model'],_0x28bea2=_0x9f11ee['schema'],_0x43c035=_0x9f11ee['document']['selection'],_0x429e4b=_0x21e0d8(_0x43c035['getSelectedBlocks']());return!!_0x429e4b&&_0x28bea2['checkChild'](_0x429e4b['parent'],'paragraph');}['_prepareForImport'](){const _0x5c48df=this['editor'],_0x3f3993=_0x5c48df['model'],_0x3dccc3=_0x3f3993['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x5c48df['model']['createBatch']({'isUndoable':!0x0}),_0x3f3993['enqueueChange'](this['_undoStepBatch'],_0x136f44=>{_0x3dccc3['isCollapsed']||_0x3f3993['deleteContent'](_0x3dccc3,{'leaveUnmerged':!0x0});const _0x4c543f=_0x3dccc3['getFirstPosition'](),_0x5f200b=_0x21e0d8(_0x3dccc3['getSelectedBlocks']());let _0xc73f57;_0xc73f57=_0x5f200b['is']('element','paragraph')&&_0x5f200b['isEmpty']?_0x4c543f:_0x4c543f['isAtStart']?_0x3f3993['createPositionBefore'](_0x5f200b):_0x4c543f['isAtEnd']?_0x3f3993['createPositionAfter'](_0x5f200b):_0x136f44['split'](_0x4c543f)['position'],this['_importMarker']=_0x136f44['addMarker']('importWord:'+_0x36857b(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x261952(_0xc73f57)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x88e635=this['editor']['model'];_0x88e635['markers']['has'](this['_importMarker'])&&_0x88e635['enqueueChange'](this['_undoStepBatch'],_0x406735=>{_0x406735['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x5eeb8f,file:_0x5ab0b6,serviceConfig:_0x1203e8}){const _0x185327=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x16b9c6=new FormData();_0x16b9c6['set']('config',JSON['stringify'](_0x1203e8)),_0x16b9c6['set']('file',_0x5ab0b6);const _0x31cbd3={'method':'POST','headers':{},'body':_0x16b9c6,'signal':this['_abortController']['signal']};return _0x185327&&(_0x31cbd3['headers']['Authorization']=_0x185327['value']),fetch(_0x5eeb8f,_0x31cbd3);}['_handleImportResponse'](_0x52aa63){return _0x52aa63['ok']?_0x52aa63['json']()['then'](_0x671f40=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x671f40);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x5a6fda('import-word-plugin-import-cancelled');const _0x748be2=this['editor'],_0x161132=p(_0x748be2['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x748be2['plugins']['get']('Notification')['showWarning'](_0x161132),_0x2ed212('import-word-plugin-conversion-failed');}}class e extends _0x1fcdc6{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xc393ed,_0x27ea70,'CloudServices'];}constructor(_0x5c9012){super(_0x5c9012),this['_token']=null;}async['init'](){const _0x132bd5=this['editor'];_0x132bd5['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x132bd5['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x132bd5['commands']['add']('importWord',new d(_0x132bd5));const {tokenUrl:_0x228ac8}=_0x132bd5['config']['get']('importWord');if(_0x228ac8){const {tokenUrl:_0x32d2cf}=_0x132bd5['config']['get']('cloudServices')||{};this['_token']=_0x228ac8===_0x32d2cf?_0x132bd5['plugins']['get']('CloudServices')['token']:await _0x132bd5['plugins']['get']('CloudServices')['registerTokenUrl'](_0x228ac8);}}['getToken'](){return this['_token'];}}class o extends _0x1fcdc6{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':_0xd19c62=>0x1!=_0xd19c62}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x555918=>{const {af:{dictionary:_0x4f3949,getPluralForm:_0x4b2dc6}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x259cf7=>0x1!=_0x259cf7}};_0x555918['af']||={'dictionary':{},'getPluralForm':null},_0x555918['af']['dictionary']=Object['assign'](_0x555918['af']['dictionary'],_0x4f3949),_0x555918['af']['getPluralForm']=_0x4b2dc6;})(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':_0x2fb64d=>0x0==_0x2fb64d?0x0:0x1==_0x2fb64d?0x1:0x2==_0x2fb64d?0x2:_0x2fb64d%0x64>=0x3&&_0x2fb64d%0x64<=0xa?0x3:_0x2fb64d%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf6cb9d=>{const {ar:{dictionary:_0x3961f9,getPluralForm:_0x12ddd8}}={'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':_0x36466f=>0x0==_0x36466f?0x0:0x1==_0x36466f?0x1:0x2==_0x36466f?0x2:_0x36466f%0x64>=0x3&&_0x36466f%0x64<=0xa?0x3:_0x36466f%0x64>=0xb?0x4:0x5}};_0xf6cb9d['ar']||={'dictionary':{},'getPluralForm':null},_0xf6cb9d['ar']['dictionary']=Object['assign'](_0xf6cb9d['ar']['dictionary'],_0x3961f9),_0xf6cb9d['ar']['getPluralForm']=_0x12ddd8;})(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':_0x316bef=>0x1!=_0x316bef}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e1c70=>{const {ast:{dictionary:_0x135ac4,getPluralForm:_0x577016}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3fe433=>0x1!=_0x3fe433}};_0x3e1c70['ast']||={'dictionary':{},'getPluralForm':null},_0x3e1c70['ast']['dictionary']=Object['assign'](_0x3e1c70['ast']['dictionary'],_0x135ac4),_0x3e1c70['ast']['getPluralForm']=_0x577016;})(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':_0x5ac310=>0x1!=_0x5ac310}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xdea80=>{const {az:{dictionary:_0x6fb13,getPluralForm:_0xdf1c67}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3279b0=>0x1!=_0x3279b0}};_0xdea80['az']||={'dictionary':{},'getPluralForm':null},_0xdea80['az']['dictionary']=Object['assign'](_0xdea80['az']['dictionary'],_0x6fb13),_0xdea80['az']['getPluralForm']=_0xdf1c67;})(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':_0x487224=>0x1!=_0x487224}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x529785=>{const {bg:{dictionary:_0x44b359,getPluralForm:_0x193f38}}={'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':_0x14d753=>0x1!=_0x14d753}};_0x529785['bg']||={'dictionary':{},'getPluralForm':null},_0x529785['bg']['dictionary']=Object['assign'](_0x529785['bg']['dictionary'],_0x44b359),_0x529785['bg']['getPluralForm']=_0x193f38;})(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':_0xf5e01=>0x1!=_0xf5e01}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x30efaa=>{const {bn:{dictionary:_0x585a50,getPluralForm:_0x17406c}}={'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':_0x181cd6=>0x1!=_0x181cd6}};_0x30efaa['bn']||={'dictionary':{},'getPluralForm':null},_0x30efaa['bn']['dictionary']=Object['assign'](_0x30efaa['bn']['dictionary'],_0x585a50),_0x30efaa['bn']['getPluralForm']=_0x17406c;})(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':_0x49c42f=>_0x49c42f%0xa==0x1&&_0x49c42f%0x64!=0xb?0x0:_0x49c42f%0xa>=0x2&&_0x49c42f%0xa<=0x4&&(_0x49c42f%0x64<0xa||_0x49c42f%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a0a2e=>{const {bs:{dictionary:_0x455a1a,getPluralForm:_0x8d290e}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5a18fe=>_0x5a18fe%0xa==0x1&&_0x5a18fe%0x64!=0xb?0x0:_0x5a18fe%0xa>=0x2&&_0x5a18fe%0xa<=0x4&&(_0x5a18fe%0x64<0xa||_0x5a18fe%0x64>=0x14)?0x1:0x2}};_0x3a0a2e['bs']||={'dictionary':{},'getPluralForm':null},_0x3a0a2e['bs']['dictionary']=Object['assign'](_0x3a0a2e['bs']['dictionary'],_0x455a1a),_0x3a0a2e['bs']['getPluralForm']=_0x8d290e;})(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':_0x577d97=>0x1!=_0x577d97}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x13479e=>{const {ca:{dictionary:_0x18596c,getPluralForm:_0x3a0450}}={'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':_0x1984a6=>0x1!=_0x1984a6}};_0x13479e['ca']||={'dictionary':{},'getPluralForm':null},_0x13479e['ca']['dictionary']=Object['assign'](_0x13479e['ca']['dictionary'],_0x18596c),_0x13479e['ca']['getPluralForm']=_0x3a0450;})(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':_0x13e950=>0x1==_0x13e950?0x0:_0x13e950>=0x2&&_0x13e950<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x18bdcd=>{const {cs:{dictionary:_0x190bda,getPluralForm:_0x59d7ae}}={'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':_0x94352f=>0x1==_0x94352f?0x0:_0x94352f>=0x2&&_0x94352f<=0x4?0x1:0x2}};_0x18bdcd['cs']||={'dictionary':{},'getPluralForm':null},_0x18bdcd['cs']['dictionary']=Object['assign'](_0x18bdcd['cs']['dictionary'],_0x190bda),_0x18bdcd['cs']['getPluralForm']=_0x59d7ae;})(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':_0x1e474e=>0x1!=_0x1e474e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1025db=>{const {da:{dictionary:_0x189b15,getPluralForm:_0x1adc33}}={'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':_0x42f03b=>0x1!=_0x42f03b}};_0x1025db['da']||={'dictionary':{},'getPluralForm':null},_0x1025db['da']['dictionary']=Object['assign'](_0x1025db['da']['dictionary'],_0x189b15),_0x1025db['da']['getPluralForm']=_0x1adc33;})(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':_0x29b092=>0x1!=_0x29b092}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14b83d=>{const {'de-ch':{dictionary:_0x4bb3d8,getPluralForm:_0x257ac3}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xcd69b8=>0x1!=_0xcd69b8}};_0x14b83d['de-ch']||={'dictionary':{},'getPluralForm':null},_0x14b83d['de-ch']['dictionary']=Object['assign'](_0x14b83d['de-ch']['dictionary'],_0x4bb3d8),_0x14b83d['de-ch']['getPluralForm']=_0x257ac3;})(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':_0x12f137=>0x1!=_0x12f137}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa59cf2=>{const {de:{dictionary:_0x53bd18,getPluralForm:_0x43ebe5}}={'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':_0x3581df=>0x1!=_0x3581df}};_0xa59cf2['de']||={'dictionary':{},'getPluralForm':null},_0xa59cf2['de']['dictionary']=Object['assign'](_0xa59cf2['de']['dictionary'],_0x53bd18),_0xa59cf2['de']['getPluralForm']=_0x43ebe5;})(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':_0x582461=>0x1!=_0x582461}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x152e29=>{const {el:{dictionary:_0x5c3100,getPluralForm:_0x3b9fc3}}={'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':_0x4f4bfc=>0x1!=_0x4f4bfc}};_0x152e29['el']||={'dictionary':{},'getPluralForm':null},_0x152e29['el']['dictionary']=Object['assign'](_0x152e29['el']['dictionary'],_0x5c3100),_0x152e29['el']['getPluralForm']=_0x3b9fc3;})(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':_0x5fbf36=>0x1!=_0x5fbf36}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x220916=>{const {'en-au':{dictionary:_0x16bf44,getPluralForm:_0x523d02}}={'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':_0x2202fd=>0x1!=_0x2202fd}};_0x220916['en-au']||={'dictionary':{},'getPluralForm':null},_0x220916['en-au']['dictionary']=Object['assign'](_0x220916['en-au']['dictionary'],_0x16bf44),_0x220916['en-au']['getPluralForm']=_0x523d02;})(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':_0x2c1262=>0x1!=_0x2c1262}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5d1018=>{const {'en-gb':{dictionary:_0x5446f8,getPluralForm:_0x2a87b3}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x8013df=>0x1!=_0x8013df}};_0x5d1018['en-gb']||={'dictionary':{},'getPluralForm':null},_0x5d1018['en-gb']['dictionary']=Object['assign'](_0x5d1018['en-gb']['dictionary'],_0x5446f8),_0x5d1018['en-gb']['getPluralForm']=_0x2a87b3;})(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':_0x27a811=>0x1!=_0x27a811}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c9510=>{const {en:{dictionary:_0x1e9464,getPluralForm:_0xe2aa30}}={'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':_0x33afad=>0x1!=_0x33afad}};_0x5c9510['en']||={'dictionary':{},'getPluralForm':null},_0x5c9510['en']['dictionary']=Object['assign'](_0x5c9510['en']['dictionary'],_0x1e9464),_0x5c9510['en']['getPluralForm']=_0xe2aa30;})(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':_0x20f10d=>0x1!=_0x20f10d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x193cbe=>{const {eo:{dictionary:_0x33db78,getPluralForm:_0x386a2e}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x265175=>0x1!=_0x265175}};_0x193cbe['eo']||={'dictionary':{},'getPluralForm':null},_0x193cbe['eo']['dictionary']=Object['assign'](_0x193cbe['eo']['dictionary'],_0x33db78),_0x193cbe['eo']['getPluralForm']=_0x386a2e;})(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':_0x954328=>0x1!=_0x954328}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x363ec7=>{const {'es-co':{dictionary:_0x473dea,getPluralForm:_0x2b7738}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x24a7f8=>0x1!=_0x24a7f8}};_0x363ec7['es-co']||={'dictionary':{},'getPluralForm':null},_0x363ec7['es-co']['dictionary']=Object['assign'](_0x363ec7['es-co']['dictionary'],_0x473dea),_0x363ec7['es-co']['getPluralForm']=_0x2b7738;})(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':_0xd1e265=>0x1!=_0xd1e265}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x530ba4=>{const {es:{dictionary:_0x25fc7f,getPluralForm:_0x2d0de5}}={'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':_0x737658=>0x1!=_0x737658}};_0x530ba4['es']||={'dictionary':{},'getPluralForm':null},_0x530ba4['es']['dictionary']=Object['assign'](_0x530ba4['es']['dictionary'],_0x25fc7f),_0x530ba4['es']['getPluralForm']=_0x2d0de5;})(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':_0x4c13f3=>0x1!=_0x4c13f3}};
|