@ckeditor/ckeditor5-import-word 44.2.0-alpha.2 → 44.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +2 -2
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const r=t.en=t.en||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=a();return(s=function(t,e){return r[t-=184]})(t,e)}function a(){const t=["ImportWordUI","2648784hJJDQY","focus","locale","importWord","editing","commands","done","init","Importing Word document","children","get","2280360ZGmfLN","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","tooltip","6542oLkOUU","isBusy","216624eWGiOj","isPremiumPlugin","122hKHGxU","3907269vJJxAh","49UOglgG","view","componentFactory","editor","iconView","isOfficialPlugin","isEnabled","add","menuBar:importWord","bind","_createButton","label","isVisible","Import from Word","set","1008468AgyzLe","pluginName","isOn","execute","1504374etpRPJ"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(298428===-parseInt(e(193))/1*(-parseInt(e(189))/2)+-parseInt(e(214))/3+-parseInt(e(210))/4+parseInt(e(186))/5+parseInt(e(216))/6+parseInt(e(195))/7*(parseInt(e(191))/8)+-parseInt(e(194))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(211)](){return o(215)}static get[o(200)](){return!0}static get[o(192)](){return!0}[o(223)](){const t=o,r=this[t(198)];r.ui[t(197)][t(202)](t(219),(()=>{const n=t,i=this[n(205)](e.FileDialogButtonView),o=r[n(221)][n(185)](n(219));return i[n(204)](n(212)).to(o,n(190)),i[n(188)]=!0,i})),r.ui[t(197)][t(202)](t(203),(()=>this[t(205)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(205)](t){const r=o,n=this[r(198)],s=n[r(221)][r(185)](r(219)),a=new t(n[r(218)]),c=new e.SpinnerView;return a[r(209)]({acceptedType:r(187)}),a[r(209)]({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(204)](r(201)).to(s),a[r(204)](r(206)).to(s,r(190),(t=>i(n[r(218)],r(t?224:208)))),c[r(204)](r(207)).to(s,r(190)),a[r(199)][r(204)](r(207)).to(s,r(190),(t=>!t)),a[r(184)][r(202)](c),a.on(r(222),((t,e)=>{const i=r;n[i(213)](i(219),e[0],{}),n[i(220)][i(196)][i(217)]()})),a}}var u=r(331),p=r(783),l=r(584);const d=f;function h(){const t=["set","text/html","get","_handleImportResponse","merge_fields","html","dataInsert","getToken","execute","stopListening","importWord:","change:range","isBusy","has","value","_cleanUpAfterImport","setData","getRange","resolve","DateTimeFormat","removeMarker","isAtEnd","_undoStepBatch","setSelection","isEnabled","289500YARFQh","signal","_abortController","timeZone","then","addMarker","Notification","formatting","mergeFields","import-word-plugin-import-cancelled","schema","split","low","_prepareForImport","import-word-plugin-conversion-failed","file","88TFFnJX","ImportWordEditing","isCollapsed","model","json","showWarning","view","refresh","8430777fdymFa","Authorization","editor","bind","6sGsnLk","2703966rzBFhz","paragraph","$graveyard","deleteContent","parent","_handleImportFailure","abort","_sendImportRequest","rootName","importWord","fire","converterUrl","clipboardInput","locale","getSelectedBlocks","131908nblCiZ","209CcowWl","POST","aborted","isAtStart","document","resolvedOptions","8suCDnk","222490jYiTol","root","catch","An error occurred while importing the Word file.","plugins","finally","createPositionBefore","MergeFields","_checkEnabled","editing","53223nQWFPO","checkChild","9955090DIXcIz","enqueueChange","createPositionAfter","156YeXVHd","headers","_importMarker","markers","position","config","element","selection","createBatch","stringify","reject","isEmpty","getFirstPosition"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=395]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(746640===parseInt(e(470))/1*(-parseInt(e(436))/2)+parseInt(e(437))/3+-parseInt(e(424))/4*(parseInt(e(460))/5)+-parseInt(e(475))/6*(parseInt(e(452))/7)+parseInt(e(459))/8*(parseInt(e(432))/9)+parseInt(e(472))/10+parseInt(e(453))/11*(-parseInt(e(408))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(h);class m extends t.Command{constructor(t){const e=f;super(t),this[e(488)](e(395),!1),this[e(477)]=null,this[e(405)]=null,this[e(410)]=null,this.on(e(494),((r,n)=>{const i=e,o=new DataTransfer;o[i(399)](i(489),n[i(493)]);const s=this[i(477)][i(400)]();this[i(434)][i(427)][i(473)](this[i(405)],(e=>{const r=i;this[r(477)][r(497)](),e[r(406)](s),t[r(469)][r(430)][r(457)][r(447)](r(449),{dataTransfer:o})}))}),{priority:e(420)})}[d(431)](){const t=d;this[t(407)]=this[t(468)]()}[d(496)](t,e={}){const r=d;if(this[r(395)])return Promise[r(401)]();const n=this[r(434)][r(480)][r(490)](r(446));if(this[r(434)][r(464)][r(396)](r(467))){const{prefix:t,suffix:n}=this[r(434)][r(480)][r(490)](r(416));e[r(492)]={prefix:t,suffix:n}}const i={url:n[r(448)],file:t,serviceConfig:{...e,formatting:n[r(415)],timezone:(new(Intl[r(402)]))[r(458)]()[r(411)]}};return this[r(421)](),this[r(444)](i)[r(412)](this[r(491)][r(435)](this))[r(462)](this[r(442)][r(435)](this))[r(465)](this[r(398)][r(435)](this))}[d(468)](){const t=d;if(this[t(395)])return!1;const e=this[t(434)][t(427)],r=e[t(418)],n=e[t(457)][t(482)],i=(0,l.first)(n[t(451)]());return!!i&&r[t(471)](i[t(441)],t(438))}[d(421)](){const t=d,e=this[t(434)],r=e[t(427)],n=r[t(457)][t(482)];this[t(410)]=new AbortController,this[t(405)]=e[t(427)][t(483)]({isUndoable:!0}),r[t(473)](this[t(405)],(e=>{const i=t;n[i(426)]||r[i(440)](n,{leaveUnmerged:!0});const o=n[i(487)](),s=(0,l.first)(n[i(451)]());let a;a=s.is(i(481),i(438))&&s[i(486)]?o:o[i(456)]?r[i(466)](s):o[i(404)]?r[i(474)](s):e[i(419)](o)[i(479)],this[i(477)]=e[i(413)](i(498)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(477)].on(i(499),(()=>{const t=i;t(439)===this[t(477)][t(400)]()[t(461)][t(445)]&&this[t(410)][t(443)]()}))})),this[t(395)]=!0,this[t(431)]()}[d(398)](){const t=d,e=this[t(434)][t(427)];e[t(478)][t(396)](this[t(477)])&&e[t(473)](this[t(405)],(e=>{const r=t;e[r(403)](this[r(477)])})),this[t(477)]=null,this[t(405)]=null,this[t(410)]=null,this[t(395)]=!1,this[t(431)]()}[d(444)]({url:t,file:e,serviceConfig:r}){const n=d,i=this[n(434)][n(464)][n(490)](n(425))[n(495)](),o=new FormData;o[n(488)](n(480),JSON[n(484)](r)),o[n(488)](n(423),e);const s={method:n(454),headers:{},body:o,signal:this[n(410)][n(409)]};return i&&(s[n(476)][n(433)]=i[n(397)]),fetch(t,s)}[d(491)](t){const e=d;return t.ok?t[e(428)]()[e(412)]((t=>{const r=e;this[r(434)][r(427)][r(478)][r(396)](this[r(477)])&&r(439)!==this[r(477)][r(400)]()[r(461)][r(445)]&&this[r(447)](r(494),t)})):Promise[e(485)]()}[d(442)](){const t=d;if(this[t(410)][t(409)][t(455)])return void(0,l.logWarning)(t(417));const e=this[t(434)],r=i(e[t(450)],t(463));e[t(464)][t(490)](t(414))[t(429)](r),(0,l.logError)(t(422))}}function g(){const t=["plugins","1311742sMjBRU","pluginName","getToken","tokenUrl","7160705OvTTRq","cloudServices","none","4zCqzjs","_token","867930ILheCd","https://docx-converter.cke-cs.com/v2/convert/docx-html","registerTokenUrl","CloudServices","isPremiumPlugin","3219936HSmEPa","393393jrpwfu","inline","33417693lpdLLy","init","editor","requires","get","config","define","commands","24fXohsA","token","add","isOfficialPlugin","importWord","492051OkYiLn","ImportWordEditing"];return(g=function(){return t})()}const I=v;function v(t,e){const r=g();return(v=function(t,e){return r[t-=322]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(773447===-parseInt(e(342))/1+-parseInt(e(327))/2+parseInt(e(336))/3*(parseInt(e(334))/4)+-parseInt(e(331))/5+-parseInt(e(341))/6+-parseInt(e(324))/7*(parseInt(e(352))/8)+parseInt(e(344))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(g);class w extends t.Plugin{static get[I(328)](){return I(325)}static get[I(322)](){return!0}static get[I(340)](){return!0}static get[I(347)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(339)]}constructor(t){const e=I;super(t),this[e(335)]=null}async[I(345)](){const t=I,e=this[t(346)];e[t(349)][t(350)](t(323),{converterUrl:t(337),tokenUrl:(e[t(349)][t(348)](t(332))||{})[t(330)],formatting:{resets:t(333),defaults:t(333),styles:t(343)}}),e[t(351)][t(354)](t(323),new m(e));const{tokenUrl:r}=e[t(349)][t(348)](t(323));if(r){const{tokenUrl:n}=e[t(349)][t(348)](t(332))||{};this[t(335)]=r===n?e[t(326)][t(348)](t(339))[t(353)]:await e[t(326)][t(348)](t(339))[t(338)](r)}}[I(329)](){return this[I(335)]}}var W=x;function b(){var t=["7PBCvez","requires","106NrOwdw","2290WhwUHC","70588kZfkxS","211605WIsTIy","21651spdYbr","15435NrYDvr","18dWIePP","pluginName","2880732bPzmlD","ImportWord","4129912aZDopG","2034967kKXgdu","isPremiumPlugin","isOfficialPlugin"];return(b=function(){return t})()}function x(t,e){var r=b();return(x=function(t,e){return r[t-=171]})(t,e)}!function(t){for(var e=x,r=t();;)try{if(850558===-parseInt(e(180))/1+-parseInt(e(178))/2*(-parseInt(e(182))/3)+parseInt(e(186))/4+parseInt(e(181))/5*(parseInt(e(184))/6)+-parseInt(e(176))/7*(parseInt(e(172))/8)+-parseInt(e(183))/9*(-parseInt(e(179))/10)+-parseInt(e(173))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(b);class y extends t.Plugin{static get[W(185)](){return W(171)}static get[W(175)](){return!0}static get[W(174)](){return!0}static get[W(177)](){return[w,c]}}function k(t,e){var r=P();return(k=function(t,e){return r[t-=304]})(t,e)}function P(){var t=["19181888QVoSzF","2bbSYzG","580968fLTxWU","5751151RhhMOZ","5263464BZqATx","5461448VCQKOk","6681240SUIflZ","794917NlfAMh","18DaiNSW"];return(P=function(){return t})()}!function(t){for(var e=k,r=t();;)try{if(996286===parseInt(e(310))/1+parseInt(e(304))/2*(-parseInt(e(305))/3)+-parseInt(e(308))/4+-parseInt(e(309))/5+-parseInt(e(307))/6+-parseInt(e(306))/7+parseInt(e(312))/8*(parseInt(e(311))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>W,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=a;function s(){const t=["6Fmgnni","isVisible","842tSzUez","6LPNuTW","menuBar:importWord","664059AkNKRN","2886490wSZDys","init","iconView","children","done","isEnabled","isPremiumPlugin","bind","editing","Import from Word","add","Importing Word document","componentFactory","set","commands","7642572bsGfix","view","2968072ZDpzfk","get","127971bmPYMA","1296448aDfzZy","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","pluginName","importWord","execute","14aLujDQ","isOn","isBusy","130oVWGYQ","label","tooltip","locale","_createButton","isOfficialPlugin","focus","editor","ImportWordUI","1033GRrRdP"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=113]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(489062===-parseInt(r(124))/1*(parseInt(r(127))/2)+parseInt(r(125))/3*(-parseInt(r(151))/4)+-parseInt(r(131))/5*(parseInt(r(128))/6)+parseInt(r(156))/7*(parseInt(r(148))/8)+-parseInt(r(150))/9+parseInt(r(115))/10*(parseInt(r(130))/11)+parseInt(r(146))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[o(153)](){return o(123)}static get[o(120)](){return!0}static get[o(137)](){return!0}[o(132)](){const t=o,e=this[t(122)];e.ui[t(143)][t(141)](t(154),(()=>{const n=t,i=this[n(119)](r.FileDialogButtonView),o=e[n(145)][n(149)](n(154));return i[n(138)](n(113)).to(o,n(114)),i[n(117)]=!0,i})),e.ui[t(143)][t(141)](t(129),(()=>this[t(119)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(119)](t){const e=o,n=this[e(122)],s=n[e(145)][e(149)](e(154)),a=new t(n[e(118)]),c=new r.SpinnerView;return a[e(144)]({acceptedType:e(152)}),a[e(144)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[e(138)](e(136)).to(s),a[e(138)](e(116)).to(s,e(114),(t=>i(n[e(118)],e(t?142:140)))),c[e(138)](e(126)).to(s,e(114)),a[e(133)][e(138)](e(126)).to(s,e(114),(t=>!t)),a[e(134)][e(141)](c),a.on(e(135),((t,r)=>{const i=e;n[i(155)](i(154),r[0],{}),n[i(139)][i(147)][i(121)]()})),a}}var u=e(331),p=e(783),l=e(584);function d(){const t=["aborted","signal","checkChild","then","$graveyard","413443HeJWrz","createBatch","MergeFields","finally","html","has","_importMarker","file","paragraph","isAtStart","isBusy","8pnBDPq","model","rootName","refresh","DateTimeFormat","2ZIYRJQ","isCollapsed","import-word-plugin-import-cancelled","336093ZDoeua","showWarning","importWord","parent","getToken","editor","root","converterUrl","mergeFields","clipboardInput","dataInsert","getFirstPosition","ImportWordEditing","import-word-plugin-conversion-failed","locale","_prepareForImport","headers","18977849nKMLKA","get","3095880gAlCdb","set","1812335zqYKcx","bind","Notification","POST","importWord:","12KlIRRH","schema","resolve","json","reject","timeZone","isEnabled","addMarker","_handleImportFailure","config","getRange","isEmpty","markers","execute","isAtEnd","_checkEnabled","document","deleteContent","split","catch","selection","text/html","low","stringify","An error occurred while importing the Word file.","merge_fields","stopListening","setData","resolvedOptions","enqueueChange","value","change:range","2654309IMRcux","editing","fire","Authorization","plugins","element","position","_undoStepBatch","view","3466570FpePRE","12KNBIcF","removeMarker","abort","createPositionAfter","_sendImportRequest","createPositionBefore","formatting","setSelection","_handleImportResponse","getSelectedBlocks","9CsNyvj","_abortController","_cleanUpAfterImport"];return(d=function(){return t})()}const h=f;function f(t,r){const e=d();return(f=function(t,r){return e[t-=108]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(406329===parseInt(r(185))/1*(-parseInt(r(201))/2)+-parseInt(r(204))/3*(-parseInt(r(196))/4)+parseInt(r(120))/5+-parseInt(r(167))/6*(parseInt(r(157))/7)+-parseInt(r(118))/8+parseInt(r(177))/9*(-parseInt(r(166))/10)+parseInt(r(116))/11*(parseInt(r(125))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(d);class m extends t.Command{constructor(t){const r=f;super(t),this[r(119)](r(195),!1),this[r(191)]=null,this[r(164)]=null,this[r(178)]=null,this.on(r(109),((e,n)=>{const i=r,o=new DataTransfer;o[i(152)](i(146),n[i(189)]);const s=this[i(191)][i(135)]();this[i(209)][i(197)][i(154)](this[i(164)],(r=>{const e=i;this[e(191)][e(151)](),r[e(174)](s),t[e(158)][e(165)][e(141)][e(159)](e(108),{dataTransfer:o})}))}),{priority:r(147)})}[h(199)](){const t=h;this[t(131)]=this[t(140)]()}[h(138)](t,r={}){const e=h;if(this[e(195)])return Promise[e(127)]();const n=this[e(209)][e(134)][e(117)](e(206));if(this[e(209)][e(161)][e(190)](e(187))){const{prefix:t,suffix:n}=this[e(209)][e(134)][e(117)](e(212));r[e(150)]={prefix:t,suffix:n}}const i={url:n[e(211)],file:t,serviceConfig:{...r,formatting:n[e(173)],timezone:(new(Intl[e(200)]))[e(153)]()[e(130)]}};return this[e(114)](),this[e(171)](i)[e(183)](this[e(175)][e(121)](this))[e(144)](this[e(133)][e(121)](this))[e(188)](this[e(179)][e(121)](this))}[h(140)](){const t=h;if(this[t(195)])return!1;const r=this[t(209)][t(197)],e=r[t(126)],n=r[t(141)][t(145)],i=(0,l.first)(n[t(176)]());return!!i&&e[t(182)](i[t(207)],t(193))}[h(114)](){const t=h,r=this[t(209)],e=r[t(197)],n=e[t(141)][t(145)];this[t(178)]=new AbortController,this[t(164)]=r[t(197)][t(186)]({isUndoable:!0}),e[t(154)](this[t(164)],(r=>{const i=t;n[i(202)]||e[i(142)](n,{leaveUnmerged:!0});const o=n[i(110)](),s=(0,l.first)(n[i(176)]());let a;a=s.is(i(162),i(193))&&s[i(136)]?o:o[i(194)]?e[i(172)](s):o[i(139)]?e[i(170)](s):r[i(143)](o)[i(163)],this[i(191)]=r[i(132)](i(124)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(191)].on(i(156),(()=>{const t=i;t(184)===this[t(191)][t(135)]()[t(210)][t(198)]&&this[t(178)][t(169)]()}))})),this[t(195)]=!0,this[t(199)]()}[h(179)](){const t=h,r=this[t(209)][t(197)];r[t(137)][t(190)](this[t(191)])&&r[t(154)](this[t(164)],(r=>{const e=t;r[e(168)](this[e(191)])})),this[t(191)]=null,this[t(164)]=null,this[t(178)]=null,this[t(195)]=!1,this[t(199)]()}[h(171)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(209)][n(161)][n(117)](n(111))[n(208)](),o=new FormData;o[n(119)](n(134),JSON[n(148)](e)),o[n(119)](n(192),r);const s={method:n(123),headers:{},body:o,signal:this[n(178)][n(181)]};return i&&(s[n(115)][n(160)]=i[n(155)]),fetch(t,s)}[h(175)](t){const r=h;return t.ok?t[r(128)]()[r(183)]((t=>{const e=r;this[e(209)][e(197)][e(137)][e(190)](this[e(191)])&&e(184)!==this[e(191)][e(135)]()[e(210)][e(198)]&&this[e(159)](e(109),t)})):Promise[r(129)]()}[h(133)](){const t=h;if(this[t(178)][t(181)][t(180)])return void(0,l.logWarning)(t(203));const r=this[t(209)],e=i(r[t(113)],t(149));r[t(161)][t(117)](t(122))[t(205)](e),(0,l.logError)(t(112))}}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=112]})(t,r)}function v(){const t=["pluginName","init","1116975gzMJvb","2430306dtHOgh","cloudServices","1ORuwCV","requires","4ylaDJG","https://docx-converter.cke-cs.com/v2/convert/docx-html","commands","isOfficialPlugin","define","token","tokenUrl","1647706UbLSST","add","plugins","5174080FJbrVJ","editor","CloudServices","get","config","registerTokenUrl","getToken","none","inline","24132rhxtyM","1344mWTtLV","importWord","isPremiumPlugin","ImportWordEditing","_token","25641720PYmQDq","171120sQytsi"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(457850===-parseInt(r(134))/1*(parseInt(r(143))/2)+-parseInt(r(131))/3*(-parseInt(r(136))/4)+parseInt(r(128))/5+-parseInt(r(121))/6*(parseInt(r(122))/7)+-parseInt(r(112))/8+-parseInt(r(132))/9+parseInt(r(127))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(129)](){return g(125)}static get[g(139)](){return!0}static get[g(124)](){return!0}static get[g(135)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(114)]}constructor(t){const r=g;super(t),this[r(126)]=null}async[g(130)](){const t=g,r=this[t(113)];r[t(116)][t(140)](t(123),{converterUrl:t(137),tokenUrl:(r[t(116)][t(115)](t(133))||{})[t(142)],formatting:{resets:t(119),defaults:t(119),styles:t(120)}}),r[t(138)][t(144)](t(123),new m(r));const{tokenUrl:e}=r[t(116)][t(115)](t(123));if(e){const{tokenUrl:n}=r[t(116)][t(115)](t(133))||{};this[t(126)]=e===n?r[t(145)][t(115)](t(114))[t(141)]:await r[t(145)][t(115)](t(114))[t(117)](e)}}[g(118)](){return this[g(126)]}}var b=y;!function(t){for(var r=y,e=t();;)try{if(104243===-parseInt(r(372))/1+-parseInt(r(373))/2*(-parseInt(r(384))/3)+-parseInt(r(377))/4*(parseInt(r(379))/5)+-parseInt(r(375))/6*(-parseInt(r(381))/7)+-parseInt(r(374))/8+-parseInt(r(378))/9+parseInt(r(376))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class W extends t.Plugin{static get[b(380)](){return b(385)}static get[b(382)](){return!0}static get[b(386)](){return!0}static get[b(383)](){return[w,c]}}function y(t,r){var e=x();return(y=function(t,r){return e[t-=372]})(t,r)}function x(){var t=["16452cSrGAc","39608RDQHFt","885104grMUcL","2478AKiSRp","5178280ebEOPa","956CPgYXH","1773072ZRSkRh","4135XFajED","pluginName","1162jQEtNL","isOfficialPlugin","requires","6hPjIiV","ImportWord","isPremiumPlugin"];return(x=function(){return t})()}function P(t,r){var e=k();return(P=function(t,r){return e[t-=137]})(t,r)}function k(){var t=["208798EehuAA","10FqVojH","735QMsvYR","785196zqkfUG","18064Mubxrw","2717262KjfLvc","249489IgIJJV","206262zMTWBf","233536yfMWCc"];return(k=function(){return t})()}!function(t){for(var r=P,e=t();;)try{if(146614===parseInt(r(140))/1+parseInt(r(143))/2+-parseInt(r(137))/3+parseInt(r(142))/4+-parseInt(r(144))/5*(parseInt(r(141))/6)+-parseInt(r(145))/7*(parseInt(r(138))/8)+parseInt(r(139))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x310555,Command as _0x375436}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x3dd1d8,MenuBarMenuListItemFileDialogButtonView as _0x16e043,SpinnerView as _0x1bc613,Notification as _0x2669b5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x2e190b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x32eaaa}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x76fb3b,uid as _0x26d7fd,logWarning as _0x4f0835,logError as _0x23051c}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x33544c,_0x2511e7){const t=_0x33544c['t'];switch(_0x2511e7){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 _0x2511e7;}}class i extends _0x310555{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xffbcdb=this['editor'];_0xffbcdb['ui']['componentFactory']['add']('importWord',()=>{const _0x1c809f=this['_createButton'](_0x3dd1d8),_0x22894f=_0xffbcdb['commands']['get']('importWord');return _0x1c809f['bind']('isOn')['to'](_0x22894f,'isBusy'),_0x1c809f['tooltip']=!0x0,_0x1c809f;}),_0xffbcdb['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x16e043));}['_createButton'](_0x46cf8b){const _0x41117d=this['editor'],_0x42440a=_0x41117d['commands']['get']('importWord'),_0x48469b=new _0x46cf8b(_0x41117d['locale']),_0x390f1a=new _0x1bc613();return _0x48469b['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x48469b['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'}),_0x48469b['bind']('isEnabled')['to'](_0x42440a),_0x48469b['bind']('label')['to'](_0x42440a,'isBusy',_0x1880bf=>p(_0x41117d['locale'],_0x1880bf?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x390f1a['bind']('isVisible')['to'](_0x42440a,'isBusy'),_0x48469b['iconView']['bind']('isVisible')['to'](_0x42440a,'isBusy',_0x309673=>!_0x309673),_0x48469b['children']['add'](_0x390f1a),_0x48469b['on']('done',(_0x5d4d34,_0x2aa235)=>{_0x41117d['execute']('importWord',_0x2aa235[0x0],{}),_0x41117d['editing']['view']['focus']();}),_0x48469b;}}class d extends _0x375436{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x2e0d8b){super(_0x2e0d8b),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4f59b0,_0x90ae92)=>{const _0x42428e=new DataTransfer();_0x42428e['setData']('text/html',_0x90ae92['html']);const _0x231c97=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x368a25=>{this['_importMarker']['stopListening'](),_0x368a25['setSelection'](_0x231c97),_0x2e0d8b['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x42428e});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4d8950,_0x50bed2={}){if(this['isBusy'])return Promise['resolve']();const _0xd11440=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x5e8e49,suffix:_0x14a319}=this['editor']['config']['get']('mergeFields');_0x50bed2['merge_fields']={'prefix':_0x5e8e49,'suffix':_0x14a319};}const _0x303a16={'url':_0xd11440['converterUrl'],'file':_0x4d8950,'serviceConfig':{..._0x50bed2,'formatting':_0xd11440['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x303a16)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x6c902f=this['editor']['model'],_0xbcc23a=_0x6c902f['schema'],_0x3c1a7e=_0x6c902f['document']['selection'],_0x2c6ef2=_0x76fb3b(_0x3c1a7e['getSelectedBlocks']());return!!_0x2c6ef2&&_0xbcc23a['checkChild'](_0x2c6ef2['parent'],'paragraph');}['_prepareForImport'](){const _0x124dce=this['editor'],_0x5b514e=_0x124dce['model'],_0x3c5961=_0x5b514e['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x124dce['model']['createBatch']({'isUndoable':!0x0}),_0x5b514e['enqueueChange'](this['_undoStepBatch'],_0x3ca11e=>{_0x3c5961['isCollapsed']||_0x5b514e['deleteContent'](_0x3c5961,{'leaveUnmerged':!0x0});const _0x499de5=_0x3c5961['getFirstPosition'](),_0x104db9=_0x76fb3b(_0x3c5961['getSelectedBlocks']());let _0x26a40a;_0x26a40a=_0x104db9['is']('element','paragraph')&&_0x104db9['isEmpty']?_0x499de5:_0x499de5['isAtStart']?_0x5b514e['createPositionBefore'](_0x104db9):_0x499de5['isAtEnd']?_0x5b514e['createPositionAfter'](_0x104db9):_0x3ca11e['split'](_0x499de5)['position'],this['_importMarker']=_0x3ca11e['addMarker']('importWord:'+_0x26d7fd(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x32eaaa(_0x26a40a)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0xdb5798=this['editor']['model'];_0xdb5798['markers']['has'](this['_importMarker'])&&_0xdb5798['enqueueChange'](this['_undoStepBatch'],_0x1c9adc=>{_0x1c9adc['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x5bf627,file:_0xdb1023,serviceConfig:_0xb2417b}){const _0x48c99f=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x4e25cb=new FormData();_0x4e25cb['set']('config',JSON['stringify'](_0xb2417b)),_0x4e25cb['set']('file',_0xdb1023);const _0x1a71ea={'method':'POST','headers':{},'body':_0x4e25cb,'signal':this['_abortController']['signal']};return _0x48c99f&&(_0x1a71ea['headers']['Authorization']=_0x48c99f['value']),fetch(_0x5bf627,_0x1a71ea);}['_handleImportResponse'](_0x3e0557){return _0x3e0557['ok']?_0x3e0557['json']()['then'](_0x1eef04=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x1eef04);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x4f0835('import-word-plugin-import-cancelled');const _0x4ca4b1=this['editor'],_0x1e4c18=p(_0x4ca4b1['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4ca4b1['plugins']['get']('Notification')['showWarning'](_0x1e4c18),_0x23051c('import-word-plugin-conversion-failed');}}class e extends _0x310555{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2669b5,_0x2e190b,'CloudServices'];}constructor(_0x45daec){super(_0x45daec),this['_token']=null;}async['init'](){const _0x59878f=this['editor'];_0x59878f['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x59878f['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x59878f['commands']['add']('importWord',new d(_0x59878f));const {tokenUrl:_0x21b197}=_0x59878f['config']['get']('importWord');if(_0x21b197){const {tokenUrl:_0x26233b}=_0x59878f['config']['get']('cloudServices')||{};this['_token']=_0x21b197===_0x26233b?_0x59878f['plugins']['get']('CloudServices')['token']:await _0x59878f['plugins']['get']('CloudServices')['registerTokenUrl'](_0x21b197);}}['getToken'](){return this['_token'];}}class o extends _0x310555{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':_0x7f1fba=>0x1!=_0x7f1fba}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x435282=>{const {af:{dictionary:_0x547cf1,getPluralForm:_0x44f6bb}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1f508d=>0x1!=_0x1f508d}};_0x435282['af']||={'dictionary':{},'getPluralForm':null},_0x435282['af']['dictionary']=Object['assign'](_0x435282['af']['dictionary'],_0x547cf1),_0x435282['af']['getPluralForm']=_0x44f6bb;})(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':_0x5129d6=>0x0==_0x5129d6?0x0:0x1==_0x5129d6?0x1:0x2==_0x5129d6?0x2:_0x5129d6%0x64>=0x3&&_0x5129d6%0x64<=0xa?0x3:_0x5129d6%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ce71b=>{const {ar:{dictionary:_0x3ed53b,getPluralForm:_0x49e6b1}}={'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':_0x31a977=>0x0==_0x31a977?0x0:0x1==_0x31a977?0x1:0x2==_0x31a977?0x2:_0x31a977%0x64>=0x3&&_0x31a977%0x64<=0xa?0x3:_0x31a977%0x64>=0xb?0x4:0x5}};_0x3ce71b['ar']||={'dictionary':{},'getPluralForm':null},_0x3ce71b['ar']['dictionary']=Object['assign'](_0x3ce71b['ar']['dictionary'],_0x3ed53b),_0x3ce71b['ar']['getPluralForm']=_0x49e6b1;})(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':_0x4458f4=>0x1!=_0x4458f4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc32eb6=>{const {ast:{dictionary:_0x3aa1da,getPluralForm:_0x32e421}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x41aad8=>0x1!=_0x41aad8}};_0xc32eb6['ast']||={'dictionary':{},'getPluralForm':null},_0xc32eb6['ast']['dictionary']=Object['assign'](_0xc32eb6['ast']['dictionary'],_0x3aa1da),_0xc32eb6['ast']['getPluralForm']=_0x32e421;})(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':_0x31da71=>0x1!=_0x31da71}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1c0ff1=>{const {az:{dictionary:_0xd7a316,getPluralForm:_0x42e35b}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x10e253=>0x1!=_0x10e253}};_0x1c0ff1['az']||={'dictionary':{},'getPluralForm':null},_0x1c0ff1['az']['dictionary']=Object['assign'](_0x1c0ff1['az']['dictionary'],_0xd7a316),_0x1c0ff1['az']['getPluralForm']=_0x42e35b;})(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':_0x45f1ab=>0x1!=_0x45f1ab}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57686a=>{const {bg:{dictionary:_0x31ed10,getPluralForm:_0x85f7c8}}={'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':_0x292f17=>0x1!=_0x292f17}};_0x57686a['bg']||={'dictionary':{},'getPluralForm':null},_0x57686a['bg']['dictionary']=Object['assign'](_0x57686a['bg']['dictionary'],_0x31ed10),_0x57686a['bg']['getPluralForm']=_0x85f7c8;})(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':_0x1654ab=>0x1!=_0x1654ab}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x93000b=>{const {bn:{dictionary:_0x1a50bf,getPluralForm:_0x70dfe8}}={'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':_0x2b605b=>0x1!=_0x2b605b}};_0x93000b['bn']||={'dictionary':{},'getPluralForm':null},_0x93000b['bn']['dictionary']=Object['assign'](_0x93000b['bn']['dictionary'],_0x1a50bf),_0x93000b['bn']['getPluralForm']=_0x70dfe8;})(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':_0x3154a=>_0x3154a%0xa==0x1&&_0x3154a%0x64!=0xb?0x0:_0x3154a%0xa>=0x2&&_0x3154a%0xa<=0x4&&(_0x3154a%0x64<0xa||_0x3154a%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5891c0=>{const {bs:{dictionary:_0x936557,getPluralForm:_0x347f19}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x29723f=>_0x29723f%0xa==0x1&&_0x29723f%0x64!=0xb?0x0:_0x29723f%0xa>=0x2&&_0x29723f%0xa<=0x4&&(_0x29723f%0x64<0xa||_0x29723f%0x64>=0x14)?0x1:0x2}};_0x5891c0['bs']||={'dictionary':{},'getPluralForm':null},_0x5891c0['bs']['dictionary']=Object['assign'](_0x5891c0['bs']['dictionary'],_0x936557),_0x5891c0['bs']['getPluralForm']=_0x347f19;})(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':_0x5bc9c2=>0x1!=_0x5bc9c2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x193505=>{const {ca:{dictionary:_0x297144,getPluralForm:_0x500909}}={'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':_0x6f16bd=>0x1!=_0x6f16bd}};_0x193505['ca']||={'dictionary':{},'getPluralForm':null},_0x193505['ca']['dictionary']=Object['assign'](_0x193505['ca']['dictionary'],_0x297144),_0x193505['ca']['getPluralForm']=_0x500909;})(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':_0x2dc10a=>0x1==_0x2dc10a?0x0:_0x2dc10a>=0x2&&_0x2dc10a<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10b0c5=>{const {cs:{dictionary:_0xfbd937,getPluralForm:_0x4a3d3c}}={'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':_0x51d4fa=>0x1==_0x51d4fa?0x0:_0x51d4fa>=0x2&&_0x51d4fa<=0x4?0x1:0x2}};_0x10b0c5['cs']||={'dictionary':{},'getPluralForm':null},_0x10b0c5['cs']['dictionary']=Object['assign'](_0x10b0c5['cs']['dictionary'],_0xfbd937),_0x10b0c5['cs']['getPluralForm']=_0x4a3d3c;})(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':_0xe1d942=>0x1!=_0xe1d942}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1088ab=>{const {da:{dictionary:_0x4b12b1,getPluralForm:_0x23ed81}}={'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':_0x597a2f=>0x1!=_0x597a2f}};_0x1088ab['da']||={'dictionary':{},'getPluralForm':null},_0x1088ab['da']['dictionary']=Object['assign'](_0x1088ab['da']['dictionary'],_0x4b12b1),_0x1088ab['da']['getPluralForm']=_0x23ed81;})(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':_0x5af47b=>0x1!=_0x5af47b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c493c=>{const {'de-ch':{dictionary:_0x1ec9d5,getPluralForm:_0x19f31}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x233c34=>0x1!=_0x233c34}};_0x5c493c['de-ch']||={'dictionary':{},'getPluralForm':null},_0x5c493c['de-ch']['dictionary']=Object['assign'](_0x5c493c['de-ch']['dictionary'],_0x1ec9d5),_0x5c493c['de-ch']['getPluralForm']=_0x19f31;})(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':_0x2396eb=>0x1!=_0x2396eb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ed20b=>{const {de:{dictionary:_0x23519a,getPluralForm:_0x124d91}}={'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':_0x5060e4=>0x1!=_0x5060e4}};_0x3ed20b['de']||={'dictionary':{},'getPluralForm':null},_0x3ed20b['de']['dictionary']=Object['assign'](_0x3ed20b['de']['dictionary'],_0x23519a),_0x3ed20b['de']['getPluralForm']=_0x124d91;})(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':_0x22f8e9=>0x1!=_0x22f8e9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51abb4=>{const {el:{dictionary:_0x49861d,getPluralForm:_0x3f2607}}={'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':_0x38f115=>0x1!=_0x38f115}};_0x51abb4['el']||={'dictionary':{},'getPluralForm':null},_0x51abb4['el']['dictionary']=Object['assign'](_0x51abb4['el']['dictionary'],_0x49861d),_0x51abb4['el']['getPluralForm']=_0x3f2607;})(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':_0x5afb0c=>0x1!=_0x5afb0c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c8391=>{const {'en-au':{dictionary:_0x28a682,getPluralForm:_0x2c5163}}={'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':_0x38e522=>0x1!=_0x38e522}};_0x2c8391['en-au']||={'dictionary':{},'getPluralForm':null},_0x2c8391['en-au']['dictionary']=Object['assign'](_0x2c8391['en-au']['dictionary'],_0x28a682),_0x2c8391['en-au']['getPluralForm']=_0x2c5163;})(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':_0x2b9a56=>0x1!=_0x2b9a56}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc4045a=>{const {'en-gb':{dictionary:_0x29fbc6,getPluralForm:_0x50e16c}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2f3ab5=>0x1!=_0x2f3ab5}};_0xc4045a['en-gb']||={'dictionary':{},'getPluralForm':null},_0xc4045a['en-gb']['dictionary']=Object['assign'](_0xc4045a['en-gb']['dictionary'],_0x29fbc6),_0xc4045a['en-gb']['getPluralForm']=_0x50e16c;})(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':_0x2e069d=>0x1!=_0x2e069d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b7d52=>{const {en:{dictionary:_0x1f0351,getPluralForm:_0x205ee1}}={'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':_0x4bba13=>0x1!=_0x4bba13}};_0x2b7d52['en']||={'dictionary':{},'getPluralForm':null},_0x2b7d52['en']['dictionary']=Object['assign'](_0x2b7d52['en']['dictionary'],_0x1f0351),_0x2b7d52['en']['getPluralForm']=_0x205ee1;})(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':_0x5f2a11=>0x1!=_0x5f2a11}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15e382=>{const {eo:{dictionary:_0x3ac697,getPluralForm:_0x2fe86d}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x638877=>0x1!=_0x638877}};_0x15e382['eo']||={'dictionary':{},'getPluralForm':null},_0x15e382['eo']['dictionary']=Object['assign'](_0x15e382['eo']['dictionary'],_0x3ac697),_0x15e382['eo']['getPluralForm']=_0x2fe86d;})(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':_0x5f4d63=>0x1!=_0x5f4d63}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x151260=>{const {'es-co':{dictionary:_0x5f53a8,getPluralForm:_0x398292}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5d9d1b=>0x1!=_0x5d9d1b}};_0x151260['es-co']||={'dictionary':{},'getPluralForm':null},_0x151260['es-co']['dictionary']=Object['assign'](_0x151260['es-co']['dictionary'],_0x5f53a8),_0x151260['es-co']['getPluralForm']=_0x398292;})(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':_0x5f53b3=>0x1!=_0x5f53b3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb984ef=>{const {es:{dictionary:_0x16658e,getPluralForm:_0x53d068}}={'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':_0x45b1e9=>0x1!=_0x45b1e9}};_0xb984ef['es']||={'dictionary':{},'getPluralForm':null},_0xb984ef['es']['dictionary']=Object['assign'](_0xb984ef['es']['dictionary'],_0x16658e),_0xb984ef['es']['getPluralForm']=_0x53d068;})(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':_0x5a64a1=>0x1!=_0x5a64a1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31fbdf=>{const {et:{dictionary:_0xf66d7b,getPluralForm:_0x22415f}}={'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':_0x234b65=>0x1!=_0x234b65}};_0x31fbdf['et']||={'dictionary':{},'getPluralForm':null},_0x31fbdf['et']['dictionary']=Object['assign'](_0x31fbdf['et']['dictionary'],_0xf66d7b),_0x31fbdf['et']['getPluralForm']=_0x22415f;})(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':_0x2d37be=>0x1!=_0x2d37be}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2a63c5=>{const {eu:{dictionary:_0x3a08ec,getPluralForm:_0x39a22f}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5e7bb9=>0x1!=_0x5e7bb9}};_0x2a63c5['eu']||={'dictionary':{},'getPluralForm':null},_0x2a63c5['eu']['dictionary']=Object['assign'](_0x2a63c5['eu']['dictionary'],_0x3a08ec),_0x2a63c5['eu']['getPluralForm']=_0x39a22f;})(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':_0x40fdd4=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x39a357=>{const {fa:{dictionary:_0x2f421e,getPluralForm:_0x466aca}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1758fd=>0x0}};_0x39a357['fa']||={'dictionary':{},'getPluralForm':null},_0x39a357['fa']['dictionary']=Object['assign'](_0x39a357['fa']['dictionary'],_0x2f421e),_0x39a357['fa']['getPluralForm']=_0x466aca;})(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':_0x1ba2de=>0x1!=_0x1ba2de}};
|