@ckeditor/ckeditor5-import-word 44.3.0-alpha.0 → 44.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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
|
@@ -2,4 +2,4 @@
|
|
|
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={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")}},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:()=>x,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-=494]})(t,r)}function a(){const t=["iconView","432935tEJlOs","Import from Word","label","378562uhKMEn","view","isEnabled","108189zOPyvd","Importing Word document","pluginName","tooltip","set","editing","add","editor","6JgRorr","40xUurcR","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","menuBar:importWord","isOn","done","1836555zccjEx","locale","children","commands","9775872HkxxVm","componentFactory","ImportWordUI","4xRDKVi","_createButton","isPremiumPlugin","bind","7331440NYSegK","3771000YYGaeS","importWord","init","execute","isOfficialPlugin","get","isBusy","isVisible","focus"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(698962===-parseInt(r(534))/1*(-parseInt(r(516))/2)+-parseInt(r(495))/3*(-parseInt(r(504))/4)+parseInt(r(531))/5*(-parseInt(r(503))/6)+-parseInt(r(509))/7+-parseInt(r(513))/8+parseInt(r(521))/9+parseInt(r(520))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(497)](){return o(515)}static get[o(525)](){return!0}static get[o(518)](){return!0}[o(523)](){const t=o,e=this[t(502)];e.ui[t(514)][t(501)](t(522),(()=>{const n=t,i=this[n(517)](r.FileDialogButtonView),o=e[n(512)][n(526)](n(522));return i[n(519)](n(507)).to(o,n(527)),i[n(498)]=!0,i})),e.ui[t(514)][t(501)](t(506),(()=>this[t(517)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(517)](t){const e=o,n=this[e(502)],s=n[e(512)][e(526)](e(522)),a=new t(n[e(510)]),c=new r.SpinnerView;return a[e(499)]({acceptedType:e(505)}),a[e(499)]({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(519)](e(494)).to(s),a[e(519)](e(533)).to(s,e(527),(t=>i(n[e(510)],e(t?496:532)))),c[e(519)](e(528)).to(s,e(527)),a[e(530)][e(519)](e(528)).to(s,e(527),(t=>!t)),a[e(511)][e(501)](c),a.on(e(508),((t,r)=>{const i=e;n[i(524)](i(522),r[0],{}),n[i(500)][i(535)][i(529)]()})),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-=187]})(t,r)}!function(t){const r=h,e=t();for(;;)try{if(955979===-parseInt(r(230))/1*(-parseInt(r(260))/2)+-parseInt(r(280))/3+parseInt(r(236))/4+parseInt(r(262))/5+-parseInt(r(245))/6+parseInt(r(247))/7+-parseInt(r(234))/8)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(255)](r(216),!1),this[r(249)]=null,this[r(188)]=null,this[r(282)]=null,this.on(r(272),((e,n)=>{const i=r,o=new DataTransfer;o[i(197)](i(207),n[i(214)]);const s=this[i(249)][i(241)]();this[i(277)][i(232)][i(192)](this[i(188)],(r=>{const e=i;this[e(249)][e(259)](),r[e(250)](s),t[e(276)][e(246)][e(203)][e(228)](e(202),{dataTransfer:o})}))}),{priority:r(200)})}[d(238)](){const t=d;this[t(286)]=this[t(270)]()}[d(210)](t,r={}){const e=d;if(this[e(216)])return Promise[e(223)]();const n=this[e(277)][e(222)][e(219)](e(254));if(this[e(277)][e(273)][e(233)](e(190))){const{prefix:t,suffix:n}=this[e(277)][e(222)][e(219)](e(218));r[e(278)]={prefix:t,suffix:n}}const i={url:n[e(275)],file:t,serviceConfig:{...r,formatting:n[e(279)],timezone:(new(Intl[e(189)]))[e(266)]()[e(229)]}};return this[e(240)](),this[e(261)](i)[e(251)](this[e(284)][e(244)](this))[e(268)](this[e(213)][e(244)](this))[e(193)](this[e(211)][e(244)](this))}[d(270)](){const t=d;if(this[t(216)])return!1;const r=this[t(277)][t(232)],e=r[t(209)],n=r[t(203)][t(220)],i=(0,l.first)(n[t(231)]());return!!i&&e[t(285)](i[t(271)],t(242))}[d(240)](){const t=d,r=this[t(277)],e=r[t(232)],n=e[t(203)][t(220)];this[t(282)]=new AbortController,this[t(188)]=r[t(232)][t(205)]({isUndoable:!0}),e[t(192)](this[t(188)],(r=>{const i=t;n[i(206)]||e[i(237)](n,{leaveUnmerged:!0});const o=n[i(217)](),s=(0,l.first)(n[i(231)]());let a;a=s.is(i(263),i(242))&&s[i(226)]?o:o[i(208)]?e[i(265)](s):o[i(194)]?e[i(187)](s):r[i(212)](o)[i(227)],this[i(249)]=r[i(258)](i(253)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(249)].on(i(221),(()=>{const t=i;t(191)===this[t(249)][t(241)]()[t(281)][t(225)]&&this[t(282)][t(287)]()}))})),this[t(216)]=!0,this[t(238)]()}[d(211)](){const t=d,r=this[t(277)][t(232)];r[t(239)][t(233)](this[t(249)])&&r[t(192)](this[t(188)],(r=>{const e=t;r[e(199)](this[e(249)])})),this[t(249)]=null,this[t(188)]=null,this[t(282)]=null,this[t(216)]=!1,this[t(238)]()}[d(261)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(277)][n(273)][n(219)](n(204))[n(235)](),o=new FormData;o[n(255)](n(222),JSON[n(257)](e)),o[n(255)](n(243),r);const s={method:n(256),headers:{},body:o,signal:this[n(282)][n(224)]};return i&&(s[n(269)][n(252)]=i[n(264)]),fetch(t,s)}[d(284)](t){const r=d;return t.ok?t[r(283)]()[r(251)]((t=>{const e=r;this[e(277)][e(232)][e(239)][e(233)](this[e(249)])&&e(191)!==this[e(249)][e(241)]()[e(281)][e(225)]&&this[e(228)](e(272),t)})):Promise[r(198)]()}[d(213)](){const t=d;if(this[t(282)][t(224)][t(196)])return void(0,l.logWarning)(t(215));const r=this[t(277)],e=i(r[t(201)],t(195));r[t(273)][t(219)](t(274))[t(248)](e),(0,l.logError)(t(267))}}function m(){const t=["isBusy","getFirstPosition","mergeFields","get","selection","change:range","config","resolve","signal","rootName","isEmpty","position","fire","timeZone","41493NeUrSY","getSelectedBlocks","model","has","14933216wifVbr","getToken","6463548WnnkMu","deleteContent","refresh","markers","_prepareForImport","getRange","paragraph","file","bind","391662fRYbXn","view","2787414mbWFrO","showWarning","_importMarker","setSelection","then","Authorization","importWord:","importWord","set","POST","stringify","addMarker","stopListening","18zwixty","_sendImportRequest","3343360ijATEn","element","value","createPositionBefore","resolvedOptions","import-word-plugin-conversion-failed","catch","headers","_checkEnabled","parent","dataInsert","plugins","Notification","converterUrl","editing","editor","merge_fields","formatting","504870krfeod","root","_abortController","json","_handleImportResponse","checkChild","isEnabled","abort","createPositionAfter","_undoStepBatch","DateTimeFormat","MergeFields","$graveyard","enqueueChange","finally","isAtEnd","An error occurred while importing the Word file.","aborted","setData","reject","removeMarker","low","locale","clipboardInput","document","ImportWordEditing","createBatch","isCollapsed","text/html","isAtStart","schema","execute","_cleanUpAfterImport","split","_handleImportFailure","html","import-word-plugin-import-cancelled"];return(m=function(){return t})()}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=120]})(t,r)}function v(){const t=["1800GzTkLu","plugins","_token","4zcgJvp","pluginName","24363zWPBuR","209149zAHlTr","2377113quCqKw","ImportWordEditing","4536350bBBBXx","getToken","none","2mhXPQq","get","2483274JcXNut","102311LTocGk","3324ufOQgn","CloudServices","requires","inline","isOfficialPlugin","tokenUrl","init","registerTokenUrl","editor","define","5oZpCZn","commands","config","isPremiumPlugin","https://docx-converter.cke-cs.com/v2/convert/docx-html","importWord","token","cloudServices","add","3843840kzmczP"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(456418===-parseInt(r(143))/1*(parseInt(r(149))/2)+parseInt(r(144))/3*(-parseInt(r(140))/4)+parseInt(r(127))/5*(-parseInt(r(151))/6)+-parseInt(r(136))/7+parseInt(r(137))/8*(-parseInt(r(142))/9)+parseInt(r(146))/10+parseInt(r(152))/11*(parseInt(r(153))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(141)](){return g(145)}static get[g(121)](){return!0}static get[g(130)](){return!0}static get[g(155)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(154)]}constructor(t){const r=g;super(t),this[r(139)]=null}async[g(123)](){const t=g,r=this[t(125)];r[t(129)][t(126)](t(132),{converterUrl:t(131),tokenUrl:(r[t(129)][t(150)](t(134))||{})[t(122)],formatting:{resets:t(148),defaults:t(148),styles:t(120)}}),r[t(128)][t(135)](t(132),new f(r));const{tokenUrl:e}=r[t(129)][t(150)](t(132));if(e){const{tokenUrl:n}=r[t(129)][t(150)](t(134))||{};this[t(139)]=e===n?r[t(138)][t(150)](t(154))[t(133)]:await r[t(138)][t(150)](t(154))[t(124)](e)}}[g(147)](){return this[g(139)]}}var b=W;function W(t,r){var e=y();return(W=function(t,r){return e[t-=458]})(t,r)}!function(t){for(var r=W,e=t();;)try{if(698008===parseInt(r(468))/1*(-parseInt(r(465))/2)+parseInt(r(460))/3*(parseInt(r(472))/4)+parseInt(r(461))/5+-parseInt(r(467))/6+-parseInt(r(469))/7*(-parseInt(r(464))/8)+-parseInt(r(470))/9+parseInt(r(462))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[b(458)](){return b(466)}static get[b(463)](){return!0}static get[b(471)](){return!0}static get[b(459)](){return[w,c]}}function y(){var t=["isPremiumPlugin","4ZsmRvF","pluginName","requires","62841sHpdeN","746720LlRRMt","13258860lNabzP","isOfficialPlugin","16qdZWXD","676qWIvnD","ImportWord","1000110XYcYBL","160wheGtY","957278oaBolO","7658208UGjRXX"];return(y=function(){return t})()}function P(t,r){var e=k();return(P=function(t,r){return e[t-=495]})(t,r)}function k(){var t=["32HPfsjn","390zRZNFp","8421110GBrTrO","155136AfSXAQ","635465Zjnzsc","954495PcPnXl","202692gGUyEK","45871lqVcJD","22uYGpeR","209751BLtScr","24MBRAZY"];return(k=function(){return t})()}!function(t){for(var r=P,e=t();;)try{if(233672===-parseInt(r(501))/1+parseInt(r(504))/2+-parseInt(r(496))/3*(parseInt(r(497))/4)+-parseInt(r(502))/5+-parseInt(r(499))/6*(parseInt(r(505))/7)+parseInt(r(498))/8*(-parseInt(r(503))/9)+parseInt(r(500))/10*(parseInt(r(495))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")}},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:()=>x,ImportWordEditing:()=>v,ImportWordUI:()=>a});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=c();return(s=function(t,r){return e[t-=224]})(t,r)}!function(t){const r=s,e=t();for(;;)try{if(333465===-parseInt(r(261))/1*(parseInt(r(230))/2)+parseInt(r(243))/3+parseInt(r(256))/4*(-parseInt(r(253))/5)+parseInt(r(234))/6+-parseInt(r(242))/7+parseInt(r(262))/8*(-parseInt(r(233))/9)+-parseInt(r(245))/10*(-parseInt(r(225))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c);class a extends t.Plugin{static get[o(254)](){return o(240)}static get[o(259)](){return!0}static get[o(249)](){return!0}[o(236)](){const t=o,e=this[t(232)];e.ui[t(241)][t(235)](t(247),(()=>{const n=t,i=this[n(260)](r.FileDialogButtonView),o=e[n(244)][n(237)](n(247));return i[n(238)](n(228)).to(o,n(251)),i[n(266)]=!0,i})),e.ui[t(241)][t(235)](t(224),(()=>this[t(260)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(260)](t){const e=o,n=this[e(232)],s=n[e(244)][e(237)](e(247)),a=new t(n[e(255)]),c=new r.SpinnerView;return a[e(250)]({acceptedType:e(257)}),a[e(250)]({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(238)](e(229)).to(s),a[e(238)](e(264)).to(s,e(251),(t=>i(n[e(255)],e(t?258:239)))),c[e(238)](e(248)).to(s,e(251)),a[e(265)][e(238)](e(248)).to(s,e(251),(t=>!t)),a[e(246)][e(235)](c),a.on(e(263),((t,r)=>{const i=e;n[i(226)](i(247),r[0],{}),n[i(231)][i(227)][i(252)]()})),a}}function c(){const t=["110524AuQstK","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","Importing Word document","isOfficialPlugin","_createButton","1UDOsDf","16DSDbfX","done","label","iconView","tooltip","menuBar:importWord","6008651IpVDAz","execute","view","isOn","isEnabled","932390WKzByC","editing","editor","2464812eXzKMa","2044062ZNQAlm","add","init","get","bind","Import from Word","ImportWordUI","componentFactory","4171986bvwYAA","1715628QbMDaU","commands","30ntDQrz","children","importWord","isVisible","isPremiumPlugin","set","isBusy","focus","110WXDDGu","pluginName","locale"];return(c=function(){return t})()}var u=e(331),p=e(783),l=e(584);const h=d;function d(t,r){const e=f();return(d=function(t,r){return e[t-=207]})(t,r)}function f(){const t=["Notification","_undoStepBatch","paragraph","17696850BaMPpj","execute","document","set","mergeFields","parent","isCollapsed","getToken","_handleImportFailure","editing","POST","5704727kJMxHj","_handleImportResponse","config","isEnabled","has","_abortController","stringify","setSelection","deleteContent","view","fire","9kKdqbx","15ImokUU","MergeFields","_checkEnabled","An error occurred while importing the Word file.","markers","merge_fields","removeMarker","_prepareForImport","113052iEHVAZ","checkChild","html","then","import-word-plugin-conversion-failed","model","schema","createPositionAfter","_sendImportRequest","isAtStart","finally","dataInsert","1962428TlzbiX","split","bind","selection","setData","clipboardInput","change:range","signal","rootName","converterUrl","getSelectedBlocks","editor","json","root","importWord","getFirstPosition","resolve","get","addMarker","catch","DateTimeFormat","headers","timeZone","aborted","locale","refresh","298731Jwcarm","import-word-plugin-import-cancelled","resolvedOptions","8BOkgdD","501688uZhATC","isEmpty","text/html","reject","abort","formatting","element","showWarning","low","739026YCtDEf","importWord:","$graveyard","file","createPositionBefore","_importMarker","plugins","enqueueChange","isAtEnd","getRange","ImportWordEditing","position","value","createBatch","_cleanUpAfterImport","stopListening","isBusy","Authorization"];return(f=function(){return t})()}!function(t){const r=d,e=t();for(;;)try{if(862813===-parseInt(r(217))/1+parseInt(r(258))/2*(parseInt(r(255))/3)+-parseInt(r(229))/4*(-parseInt(r(209))/5)+parseInt(r(268))/6+parseInt(r(300))/7+-parseInt(r(259))/8+parseInt(r(208))/9*(-parseInt(r(289))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=d;super(t),this[r(292)](r(284),!1),this[r(273)]=null,this[r(287)]=null,this[r(305)]=null,this.on(r(228),((e,n)=>{const i=r,o=new DataTransfer;o[i(233)](i(261),n[i(219)]);const s=this[i(273)][i(277)]();this[i(240)][i(222)][i(275)](this[i(287)],(r=>{const e=i;this[e(273)][e(283)](),r[e(307)](s),t[e(298)][e(309)][e(291)][e(207)](e(234),{dataTransfer:o})}))}),{priority:r(267)})}[h(254)](){const t=h;this[t(303)]=this[t(211)]()}[h(290)](t,r={}){const e=h;if(this[e(284)])return Promise[e(245)]();const n=this[e(240)][e(302)][e(246)](e(243));if(this[e(240)][e(274)][e(304)](e(210))){const{prefix:t,suffix:n}=this[e(240)][e(302)][e(246)](e(293));r[e(214)]={prefix:t,suffix:n}}const i={url:n[e(238)],file:t,serviceConfig:{...r,formatting:n[e(264)],timezone:(new(Intl[e(249)]))[e(257)]()[e(251)]}};return this[e(216)](),this[e(225)](i)[e(220)](this[e(301)][e(231)](this))[e(248)](this[e(297)][e(231)](this))[e(227)](this[e(282)][e(231)](this))}[h(211)](){const t=h;if(this[t(284)])return!1;const r=this[t(240)][t(222)],e=r[t(223)],n=r[t(291)][t(232)],i=(0,l.first)(n[t(239)]());return!!i&&e[t(218)](i[t(294)],t(288))}[h(216)](){const t=h,r=this[t(240)],e=r[t(222)],n=e[t(291)][t(232)];this[t(305)]=new AbortController,this[t(287)]=r[t(222)][t(281)]({isUndoable:!0}),e[t(275)](this[t(287)],(r=>{const i=t;n[i(295)]||e[i(308)](n,{leaveUnmerged:!0});const o=n[i(244)](),s=(0,l.first)(n[i(239)]());let a;a=s.is(i(265),i(288))&&s[i(260)]?o:o[i(226)]?e[i(272)](s):o[i(276)]?e[i(224)](s):r[i(230)](o)[i(279)],this[i(273)]=r[i(247)](i(269)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(273)].on(i(235),(()=>{const t=i;t(270)===this[t(273)][t(277)]()[t(242)][t(237)]&&this[t(305)][t(263)]()}))})),this[t(284)]=!0,this[t(254)]()}[h(282)](){const t=h,r=this[t(240)][t(222)];r[t(213)][t(304)](this[t(273)])&&r[t(275)](this[t(287)],(r=>{const e=t;r[e(215)](this[e(273)])})),this[t(273)]=null,this[t(287)]=null,this[t(305)]=null,this[t(284)]=!1,this[t(254)]()}[h(225)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(240)][n(274)][n(246)](n(278))[n(296)](),o=new FormData;o[n(292)](n(302),JSON[n(306)](e)),o[n(292)](n(271),r);const s={method:n(299),headers:{},body:o,signal:this[n(305)][n(236)]};return i&&(s[n(250)][n(285)]=i[n(280)]),fetch(t,s)}[h(301)](t){const r=h;return t.ok?t[r(241)]()[r(220)]((t=>{const e=r;this[e(240)][e(222)][e(213)][e(304)](this[e(273)])&&e(270)!==this[e(273)][e(277)]()[e(242)][e(237)]&&this[e(207)](e(228),t)})):Promise[r(262)]()}[h(297)](){const t=h;if(this[t(305)][t(236)][t(252)])return void(0,l.logWarning)(t(256));const r=this[t(240)],e=i(r[t(253)],t(212));r[t(274)][t(246)](t(286))[t(266)](e),(0,l.logError)(t(221))}}const I=g;function g(t,r){const e=w();return(g=function(t,r){return e[t-=335]})(t,r)}!function(t){const r=g,e=t();for(;;)try{if(676321===-parseInt(r(341))/1+parseInt(r(357))/2+parseInt(r(363))/3*(parseInt(r(336))/4)+-parseInt(r(347))/5*(parseInt(r(353))/6)+parseInt(r(366))/7+parseInt(r(368))/8*(parseInt(r(345))/9)+parseInt(r(339))/10*(-parseInt(r(349))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class v extends t.Plugin{static get[I(337)](){return I(346)}static get[I(350)](){return!0}static get[I(343)](){return!0}static get[I(362)](){const t=I;return[r.Notification,u.ClipboardPipeline,t(356)]}constructor(t){const r=I;super(t),this[r(365)]=null}async[I(340)](){const t=I,r=this[t(367)];r[t(335)][t(360)](t(364),{converterUrl:t(344),tokenUrl:(r[t(335)][t(351)](t(342))||{})[t(359)],formatting:{resets:t(354),defaults:t(354),styles:t(352)}}),r[t(358)][t(361)](t(364),new m(r));const{tokenUrl:e}=r[t(335)][t(351)](t(364));if(e){const{tokenUrl:n}=r[t(335)][t(351)](t(342))||{};this[t(365)]=e===n?r[t(348)][t(351)](t(356))[t(369)]:await r[t(348)][t(351)](t(356))[t(338)](e)}}[I(355)](){return this[I(365)]}}function w(){const t=["https://docx-converter.cke-cs.com/v2/convert/docx-html","108027yCWGSA","ImportWordEditing","830IRxYwn","plugins","11ptVxhW","isOfficialPlugin","get","inline","11694vsTDYf","none","getToken","CloudServices","1244164ftMBpV","commands","tokenUrl","define","add","requires","129rhMBAE","importWord","_token","3620057NUhpMm","editor","808TIEaAt","token","config","109936cJNMfY","pluginName","registerTokenUrl","15218510hLzbvQ","init","1011642nFfUYs","cloudServices","isPremiumPlugin"];return(w=function(){return t})()}var b=W;function W(t,r){var e=y();return(W=function(t,r){return e[t-=462]})(t,r)}function y(){var t=["10bXVYku","5867778Spfapp","8792LpCIfV","1YvuIvj","3987CmEcBe","6958259IqFyAt","isPremiumPlugin","232756USbGKV","ImportWord","293842yYkhfI","pluginName","3311730imuyic","47487DeURrQ","requires","180dAdiov","isOfficialPlugin"];return(y=function(){return t})()}!function(t){for(var r=W,e=t();;)try{if(553816===-parseInt(r(476))/1*(-parseInt(r(466))/2)+parseInt(r(468))/3+parseInt(r(464))/4*(-parseInt(r(473))/5)+parseInt(r(474))/6+-parseInt(r(462))/7+parseInt(r(475))/8*(-parseInt(r(477))/9)+-parseInt(r(471))/10*(parseInt(r(469))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[b(467)](){return b(465)}static get[b(472)](){return!0}static get[b(463)](){return!0}static get[b(470)](){return[v,a]}}function k(){var t=["882VJrxKT","476464ZbJwUS","17472LENWAI","1244656IuKeNr","12WuuhNC","20rfDwvD","5IkYkXS","4551283MCRQee","1195326lYiSyP","438255wsvwuD","300797ILTRfh"];return(k=function(){return t})()}function A(t,r){var e=k();return(A=function(t,r){return e[t-=101]})(t,r)}!function(t){for(var r=A,e=t();;)try{if(240231===-parseInt(r(104))/1+parseInt(r(107))/2+-parseInt(r(103))/3+-parseInt(r(109))/4*(-parseInt(r(101))/5)+-parseInt(r(110))/6*(parseInt(r(105))/7)+parseInt(r(108))/8*(-parseInt(r(106))/9)+parseInt(r(111))/10*(parseInt(r(102))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x5b7ac3,Command as _0xdc3930}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x3e2f8b,MenuBarMenuListItemFileDialogButtonView as _0x45df79,SpinnerView as _0x26dd78,Notification as _0x398af4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x43d8fb}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x1a1779}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5c2d53,uid as _0x5593ff,logWarning as _0x2e3490,logError as _0x252c9e}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x271220,_0x19d686){const t=_0x271220['t'];switch(_0x19d686){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 _0x19d686;}}class i extends _0x5b7ac3{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x52485b=this['editor'];_0x52485b['ui']['componentFactory']['add']('importWord',()=>{const _0x3cda58=this['_createButton'](_0x3e2f8b),_0x210754=_0x52485b['commands']['get']('importWord');return _0x3cda58['bind']('isOn')['to'](_0x210754,'isBusy'),_0x3cda58['tooltip']=!0x0,_0x3cda58;}),_0x52485b['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x45df79));}['_createButton'](_0x2ce119){const _0x2b8b56=this['editor'],_0x5047f2=_0x2b8b56['commands']['get']('importWord'),_0x314fef=new _0x2ce119(_0x2b8b56['locale']),_0xa6b804=new _0x26dd78();return _0x314fef['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x314fef['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'}),_0x314fef['bind']('isEnabled')['to'](_0x5047f2),_0x314fef['bind']('label')['to'](_0x5047f2,'isBusy',_0x132ce9=>p(_0x2b8b56['locale'],_0x132ce9?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0xa6b804['bind']('isVisible')['to'](_0x5047f2,'isBusy'),_0x314fef['iconView']['bind']('isVisible')['to'](_0x5047f2,'isBusy',_0x484801=>!_0x484801),_0x314fef['children']['add'](_0xa6b804),_0x314fef['on']('done',(_0x33cd3b,_0x3da98e)=>{_0x2b8b56['execute']('importWord',_0x3da98e[0x0],{}),_0x2b8b56['editing']['view']['focus']();}),_0x314fef;}}class d extends _0xdc3930{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x39b81d){super(_0x39b81d),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x3e2a98,_0x184f61)=>{const _0x47102f=new DataTransfer();_0x47102f['setData']('text/html',_0x184f61['html']);const _0x2c97ef=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x63cdd0=>{this['_importMarker']['stopListening'](),_0x63cdd0['setSelection'](_0x2c97ef),_0x39b81d['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x47102f});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x444cb8,_0x40148f={}){if(this['isBusy'])return Promise['resolve']();const _0x813b07=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x1287fd,suffix:_0x3f80b2}=this['editor']['config']['get']('mergeFields');_0x40148f['merge_fields']={'prefix':_0x1287fd,'suffix':_0x3f80b2};}const _0x4509ee={'url':_0x813b07['converterUrl'],'file':_0x444cb8,'serviceConfig':{..._0x40148f,'formatting':_0x813b07['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4509ee)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x40d979=this['editor']['model'],_0xdbe68f=_0x40d979['schema'],_0x337b66=_0x40d979['document']['selection'],_0x456d02=_0x5c2d53(_0x337b66['getSelectedBlocks']());return!!_0x456d02&&_0xdbe68f['checkChild'](_0x456d02['parent'],'paragraph');}['_prepareForImport'](){const _0x5d6131=this['editor'],_0x4a838a=_0x5d6131['model'],_0x4bf8c9=_0x4a838a['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x5d6131['model']['createBatch']({'isUndoable':!0x0}),_0x4a838a['enqueueChange'](this['_undoStepBatch'],_0x345e2c=>{_0x4bf8c9['isCollapsed']||_0x4a838a['deleteContent'](_0x4bf8c9,{'leaveUnmerged':!0x0});const _0x4a6b1f=_0x4bf8c9['getFirstPosition'](),_0x2fa3b2=_0x5c2d53(_0x4bf8c9['getSelectedBlocks']());let _0xb00f9e;_0xb00f9e=_0x2fa3b2['is']('element','paragraph')&&_0x2fa3b2['isEmpty']?_0x4a6b1f:_0x4a6b1f['isAtStart']?_0x4a838a['createPositionBefore'](_0x2fa3b2):_0x4a6b1f['isAtEnd']?_0x4a838a['createPositionAfter'](_0x2fa3b2):_0x345e2c['split'](_0x4a6b1f)['position'],this['_importMarker']=_0x345e2c['addMarker']('importWord:'+_0x5593ff(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x1a1779(_0xb00f9e)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x27b50f=this['editor']['model'];_0x27b50f['markers']['has'](this['_importMarker'])&&_0x27b50f['enqueueChange'](this['_undoStepBatch'],_0x4f8cb2=>{_0x4f8cb2['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x5ac52f,file:_0x402350,serviceConfig:_0x226b5a}){const _0x1f1e1a=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x2c90d8=new FormData();_0x2c90d8['set']('config',JSON['stringify'](_0x226b5a)),_0x2c90d8['set']('file',_0x402350);const _0x403d04={'method':'POST','headers':{},'body':_0x2c90d8,'signal':this['_abortController']['signal']};return _0x1f1e1a&&(_0x403d04['headers']['Authorization']=_0x1f1e1a['value']),fetch(_0x5ac52f,_0x403d04);}['_handleImportResponse'](_0x334994){return _0x334994['ok']?_0x334994['json']()['then'](_0x2f2185=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x2f2185);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2e3490('import-word-plugin-import-cancelled');const _0x4200b8=this['editor'],_0x1c03d8=p(_0x4200b8['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4200b8['plugins']['get']('Notification')['showWarning'](_0x1c03d8),_0x252c9e('import-word-plugin-conversion-failed');}}class e extends _0x5b7ac3{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x398af4,_0x43d8fb,'CloudServices'];}constructor(_0x447947){super(_0x447947),this['_token']=null;}async['init'](){const _0xa08ecf=this['editor'];_0xa08ecf['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0xa08ecf['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0xa08ecf['commands']['add']('importWord',new d(_0xa08ecf));const {tokenUrl:_0x21b711}=_0xa08ecf['config']['get']('importWord');if(_0x21b711){const {tokenUrl:_0x267a3f}=_0xa08ecf['config']['get']('cloudServices')||{};this['_token']=_0x21b711===_0x267a3f?_0xa08ecf['plugins']['get']('CloudServices')['token']:await _0xa08ecf['plugins']['get']('CloudServices')['registerTokenUrl'](_0x21b711);}}['getToken'](){return this['_token'];}}class o extends _0x5b7ac3{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':_0x4fc8bb=>0x1!=_0x4fc8bb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x24e749=>{const {af:{dictionary:_0x555e4c,getPluralForm:_0x921d}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x10372f=>0x1!=_0x10372f}};_0x24e749['af']||={'dictionary':{},'getPluralForm':null},_0x24e749['af']['dictionary']=Object['assign'](_0x24e749['af']['dictionary'],_0x555e4c),_0x24e749['af']['getPluralForm']=_0x921d;})(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':_0xf4128a=>0x0==_0xf4128a?0x0:0x1==_0xf4128a?0x1:0x2==_0xf4128a?0x2:_0xf4128a%0x64>=0x3&&_0xf4128a%0x64<=0xa?0x3:_0xf4128a%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x391e5a=>{const {ar:{dictionary:_0x35fe01,getPluralForm:_0x5d7187}}={'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':_0x29ace4=>0x0==_0x29ace4?0x0:0x1==_0x29ace4?0x1:0x2==_0x29ace4?0x2:_0x29ace4%0x64>=0x3&&_0x29ace4%0x64<=0xa?0x3:_0x29ace4%0x64>=0xb?0x4:0x5}};_0x391e5a['ar']||={'dictionary':{},'getPluralForm':null},_0x391e5a['ar']['dictionary']=Object['assign'](_0x391e5a['ar']['dictionary'],_0x35fe01),_0x391e5a['ar']['getPluralForm']=_0x5d7187;})(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':_0xbed333=>0x1!=_0xbed333}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x580017=>{const {ast:{dictionary:_0xb68c35,getPluralForm:_0xd35edc}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2ef2f1=>0x1!=_0x2ef2f1}};_0x580017['ast']||={'dictionary':{},'getPluralForm':null},_0x580017['ast']['dictionary']=Object['assign'](_0x580017['ast']['dictionary'],_0xb68c35),_0x580017['ast']['getPluralForm']=_0xd35edc;})(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':_0x1db9ec=>0x1!=_0x1db9ec}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3becec=>{const {az:{dictionary:_0xce7e25,getPluralForm:_0x2f50d2}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4af756=>0x1!=_0x4af756}};_0x3becec['az']||={'dictionary':{},'getPluralForm':null},_0x3becec['az']['dictionary']=Object['assign'](_0x3becec['az']['dictionary'],_0xce7e25),_0x3becec['az']['getPluralForm']=_0x2f50d2;})(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':_0x2cd088=>0x1!=_0x2cd088}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4655c6=>{const {bg:{dictionary:_0x1a9e91,getPluralForm:_0xbf7a0f}}={'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':_0x3cea60=>0x1!=_0x3cea60}};_0x4655c6['bg']||={'dictionary':{},'getPluralForm':null},_0x4655c6['bg']['dictionary']=Object['assign'](_0x4655c6['bg']['dictionary'],_0x1a9e91),_0x4655c6['bg']['getPluralForm']=_0xbf7a0f;})(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':_0xcccf7f=>0x1!=_0xcccf7f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34be7e=>{const {bn:{dictionary:_0x58054a,getPluralForm:_0x31cdcd}}={'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':_0x1ff537=>0x1!=_0x1ff537}};_0x34be7e['bn']||={'dictionary':{},'getPluralForm':null},_0x34be7e['bn']['dictionary']=Object['assign'](_0x34be7e['bn']['dictionary'],_0x58054a),_0x34be7e['bn']['getPluralForm']=_0x31cdcd;})(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':_0x463e39=>_0x463e39%0xa==0x1&&_0x463e39%0x64!=0xb?0x0:_0x463e39%0xa>=0x2&&_0x463e39%0xa<=0x4&&(_0x463e39%0x64<0xa||_0x463e39%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5ece3f=>{const {bs:{dictionary:_0x2b616e,getPluralForm:_0x49cf1b}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x13525b=>_0x13525b%0xa==0x1&&_0x13525b%0x64!=0xb?0x0:_0x13525b%0xa>=0x2&&_0x13525b%0xa<=0x4&&(_0x13525b%0x64<0xa||_0x13525b%0x64>=0x14)?0x1:0x2}};_0x5ece3f['bs']||={'dictionary':{},'getPluralForm':null},_0x5ece3f['bs']['dictionary']=Object['assign'](_0x5ece3f['bs']['dictionary'],_0x2b616e),_0x5ece3f['bs']['getPluralForm']=_0x49cf1b;})(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':_0x335542=>0x1!=_0x335542}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50ae62=>{const {ca:{dictionary:_0x5f2d51,getPluralForm:_0x4df8cc}}={'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':_0x4ba6c5=>0x1!=_0x4ba6c5}};_0x50ae62['ca']||={'dictionary':{},'getPluralForm':null},_0x50ae62['ca']['dictionary']=Object['assign'](_0x50ae62['ca']['dictionary'],_0x5f2d51),_0x50ae62['ca']['getPluralForm']=_0x4df8cc;})(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':_0xbe5ef8=>0x1==_0xbe5ef8?0x0:_0xbe5ef8>=0x2&&_0xbe5ef8<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x135292=>{const {cs:{dictionary:_0x4b0214,getPluralForm:_0x57fae9}}={'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':_0x45994c=>0x1==_0x45994c?0x0:_0x45994c>=0x2&&_0x45994c<=0x4?0x1:0x2}};_0x135292['cs']||={'dictionary':{},'getPluralForm':null},_0x135292['cs']['dictionary']=Object['assign'](_0x135292['cs']['dictionary'],_0x4b0214),_0x135292['cs']['getPluralForm']=_0x57fae9;})(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':_0xb4debc=>0x1!=_0xb4debc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1008e9=>{const {da:{dictionary:_0x4fca5d,getPluralForm:_0x5a2dee}}={'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':_0x5599f3=>0x1!=_0x5599f3}};_0x1008e9['da']||={'dictionary':{},'getPluralForm':null},_0x1008e9['da']['dictionary']=Object['assign'](_0x1008e9['da']['dictionary'],_0x4fca5d),_0x1008e9['da']['getPluralForm']=_0x5a2dee;})(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':_0x2ad1fc=>0x1!=_0x2ad1fc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a0c2e=>{const {'de-ch':{dictionary:_0x11a225,getPluralForm:_0xede109}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x484e75=>0x1!=_0x484e75}};_0x2a0c2e['de-ch']||={'dictionary':{},'getPluralForm':null},_0x2a0c2e['de-ch']['dictionary']=Object['assign'](_0x2a0c2e['de-ch']['dictionary'],_0x11a225),_0x2a0c2e['de-ch']['getPluralForm']=_0xede109;})(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':_0x1a320d=>0x1!=_0x1a320d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48bb12=>{const {de:{dictionary:_0x1fb3e0,getPluralForm:_0x5e6122}}={'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':_0x581926=>0x1!=_0x581926}};_0x48bb12['de']||={'dictionary':{},'getPluralForm':null},_0x48bb12['de']['dictionary']=Object['assign'](_0x48bb12['de']['dictionary'],_0x1fb3e0),_0x48bb12['de']['getPluralForm']=_0x5e6122;})(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':_0x282a0a=>0x1!=_0x282a0a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10eccf=>{const {el:{dictionary:_0x313641,getPluralForm:_0x591e5e}}={'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':_0x485ee3=>0x1!=_0x485ee3}};_0x10eccf['el']||={'dictionary':{},'getPluralForm':null},_0x10eccf['el']['dictionary']=Object['assign'](_0x10eccf['el']['dictionary'],_0x313641),_0x10eccf['el']['getPluralForm']=_0x591e5e;})(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':_0x5b74b4=>0x1!=_0x5b74b4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1a8f03=>{const {'en-au':{dictionary:_0x20a0c7,getPluralForm:_0x55f3bb}}={'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':_0x2a189d=>0x1!=_0x2a189d}};_0x1a8f03['en-au']||={'dictionary':{},'getPluralForm':null},_0x1a8f03['en-au']['dictionary']=Object['assign'](_0x1a8f03['en-au']['dictionary'],_0x20a0c7),_0x1a8f03['en-au']['getPluralForm']=_0x55f3bb;})(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':_0x2f93cc=>0x1!=_0x2f93cc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31d5fb=>{const {'en-gb':{dictionary:_0x252297,getPluralForm:_0x3b9561}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x38c55=>0x1!=_0x38c55}};_0x31d5fb['en-gb']||={'dictionary':{},'getPluralForm':null},_0x31d5fb['en-gb']['dictionary']=Object['assign'](_0x31d5fb['en-gb']['dictionary'],_0x252297),_0x31d5fb['en-gb']['getPluralForm']=_0x3b9561;})(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':_0xb7c3d5=>0x1!=_0xb7c3d5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x841fd1=>{const {en:{dictionary:_0x5443cb,getPluralForm:_0x1f1f48}}={'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':_0x3ab864=>0x1!=_0x3ab864}};_0x841fd1['en']||={'dictionary':{},'getPluralForm':null},_0x841fd1['en']['dictionary']=Object['assign'](_0x841fd1['en']['dictionary'],_0x5443cb),_0x841fd1['en']['getPluralForm']=_0x1f1f48;})(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':_0x8ef69f=>0x1!=_0x8ef69f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4cdc33=>{const {eo:{dictionary:_0x5b0bca,getPluralForm:_0x1269c4}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2ad12c=>0x1!=_0x2ad12c}};_0x4cdc33['eo']||={'dictionary':{},'getPluralForm':null},_0x4cdc33['eo']['dictionary']=Object['assign'](_0x4cdc33['eo']['dictionary'],_0x5b0bca),_0x4cdc33['eo']['getPluralForm']=_0x1269c4;})(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':_0x529aa3=>0x1!=_0x529aa3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b93f6=>{const {'es-co':{dictionary:_0x416122,getPluralForm:_0x4d8f03}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3ea1e6=>0x1!=_0x3ea1e6}};_0x4b93f6['es-co']||={'dictionary':{},'getPluralForm':null},_0x4b93f6['es-co']['dictionary']=Object['assign'](_0x4b93f6['es-co']['dictionary'],_0x416122),_0x4b93f6['es-co']['getPluralForm']=_0x4d8f03;})(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':_0x302813=>0x1!=_0x302813}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd16f6e=>{const {es:{dictionary:_0x2d788f,getPluralForm:_0x3029e0}}={'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':_0x4033f4=>0x1!=_0x4033f4}};_0xd16f6e['es']||={'dictionary':{},'getPluralForm':null},_0xd16f6e['es']['dictionary']=Object['assign'](_0xd16f6e['es']['dictionary'],_0x2d788f),_0xd16f6e['es']['getPluralForm']=_0x3029e0;})(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':_0x13e1a8=>0x1!=_0x13e1a8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29cce1=>{const {et:{dictionary:_0x5197bb,getPluralForm:_0x4db2be}}={'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':_0x157d11=>0x1!=_0x157d11}};_0x29cce1['et']||={'dictionary':{},'getPluralForm':null},_0x29cce1['et']['dictionary']=Object['assign'](_0x29cce1['et']['dictionary'],_0x5197bb),_0x29cce1['et']['getPluralForm']=_0x4db2be;})(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':_0x279b04=>0x1!=_0x279b04}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x189fa7=>{const {eu:{dictionary:_0x517c8e,getPluralForm:_0x4ee0a2}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3f8625=>0x1!=_0x3f8625}};_0x189fa7['eu']||={'dictionary':{},'getPluralForm':null},_0x189fa7['eu']['dictionary']=Object['assign'](_0x189fa7['eu']['dictionary'],_0x517c8e),_0x189fa7['eu']['getPluralForm']=_0x4ee0a2;})(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':_0x515cb2=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb871db=>{const {fa:{dictionary:_0x146ada,getPluralForm:_0x287e2f}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x41fd3c=>0x0}};_0xb871db['fa']||={'dictionary':{},'getPluralForm':null},_0xb871db['fa']['dictionary']=Object['assign'](_0xb871db['fa']['dictionary'],_0x146ada),_0xb871db['fa']['getPluralForm']=_0x287e2f;})(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':_0x5918ee=>0x1!=_0x5918ee}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb5b6ce=>{const {fi:{dictionary:_0x5d6c47,getPluralForm:_0x26c299}}={'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':_0xe20631=>0x1!=_0xe20631}};_0xb5b6ce['fi']||={'dictionary':{},'getPluralForm':null},_0xb5b6ce['fi']['dictionary']=Object['assign'](_0xb5b6ce['fi']['dictionary'],_0x5d6c47),_0xb5b6ce['fi']['getPluralForm']=_0x26c299;})(window['CKEDITOR_TRANSLATIONS']||={});
|