@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250115.0 → 0.0.0-nightly-20250116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +2 -2
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}const o=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=481]})(t,r)}function a(){const t=["1482335aWzzbg","isEnabled","isVisible","isOfficialPlugin","1869844AZdDab","commands","3hHAqLn","editing","ImportWordUI","1730414qkmmsa","isPremiumPlugin","6004670TGLcBs","execute","30jhBpad","Import from Word","isOn","get","menuBar:importWord","2722312WdolSn","add","1476888xUrfBa","set","bind","tooltip","27wdazPr","done","iconView","_createButton","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","Importing Word document","init","children","view","importWord","locale","componentFactory","label","25394680WwWQfy","isBusy","pluginName","focus","editor"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(891432===parseInt(r(499))/1+-parseInt(r(494))/2*(-parseInt(r(496))/3)+parseInt(r(510))/4+parseInt(r(490))/5*(-parseInt(r(503))/6)+parseInt(r(501))/7+-parseInt(r(508))/8*(-parseInt(r(514))/9)+-parseInt(r(485))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(487)](){return o(498)}static get[o(493)](){return!0}static get[o(500)](){return!0}[o(520)](){const t=o,e=this[t(489)];e.ui[t(483)][t(509)](t(481),(()=>{const n=t,i=this[n(517)](r.FileDialogButtonView),o=e[n(495)][n(506)](n(481));return i[n(512)](n(505)).to(o,n(486)),i[n(513)]=!0,i})),e.ui[t(483)][t(509)](t(507),(()=>this[t(517)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(517)](t){const e=o,n=this[e(489)],s=n[e(495)][e(506)](e(481)),a=new t(n[e(482)]),c=new r.SpinnerView;return a[e(511)]({acceptedType:e(518)}),a[e(511)]({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(512)](e(491)).to(s),a[e(512)](e(484)).to(s,e(486),(t=>i(n[e(482)],e(t?519:504)))),c[e(512)](e(492)).to(s,e(486)),a[e(516)][e(512)](e(492)).to(s,e(486),(t=>!t)),a[e(521)][e(509)](c),a.on(e(515),((t,r)=>{const i=e;n[i(502)](i(481),r[0],{}),n[i(497)][i(522)][i(488)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=f;function h(){const t=["refresh","position","_importMarker","isAtEnd","_sendImportRequest","createPositionBefore","plugins","get","176GnVrta","Authorization","catch","showWarning","704804UeoDUl","json","markers","editing","118EnkTeT","html","paragraph","getSelectedBlocks","$graveyard","_handleImportFailure","resolvedOptions","text/html","selection","model","stopListening","bind","DateTimeFormat","isEnabled","headers","_checkEnabled","resolve","import-word-plugin-conversion-failed","createPositionAfter","config","importWord","aborted","7789806LftaTn","Notification","mergeFields","set","locale","finally","_cleanUpAfterImport","MergeFields","getRange","abort","3hCxwwE","merge_fields","document","_abortController","value","POST","parent","signal","importWord:","ImportWordEditing","then","setSelection","180agtijN","deleteContent","isAtStart","_handleImportResponse","view","removeMarker","clipboardInput","formatting","low","getToken","schema","setData","file","isCollapsed","converterUrl","isEmpty","dataInsert","checkChild","change:range","timeZone","execute","enqueueChange","isBusy","fire","has","editor","addMarker","An error occurred while importing the Word file.","getFirstPosition","615294EFCwGP","import-word-plugin-import-cancelled","_prepareForImport","28113613YQKxfc","split","createBatch","4639kIulmp","115297ERPQwc","stringify","reject","4142025nxeAcr","_undoStepBatch","element","rootName","root"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=303]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(767759===-parseInt(r(396))/1*(parseInt(r(317))/2)+-parseInt(r(349))/3*(parseInt(r(313))/4)+parseInt(r(400))/5+-parseInt(r(339))/6+parseInt(r(397))/7*(parseInt(r(309))/8)+-parseInt(r(390))/9*(parseInt(r(361))/10)+parseInt(r(393))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class m extends t.Command{constructor(t){const r=f;super(t),this[r(342)](r(383),!1),this[r(303)]=null,this[r(401)]=null,this[r(352)]=null,this.on(r(377),((e,n)=>{const i=r,o=new DataTransfer;o[i(372)](i(324),n[i(318)]);const s=this[i(303)][i(347)]();this[i(386)][i(326)][i(382)](this[i(401)],(r=>{const e=i;this[e(303)][e(327)](),r[e(360)](s),t[e(316)][e(365)][e(351)][e(384)](e(367),{dataTransfer:o})}))}),{priority:r(369)})}[d(405)](){const t=d;this[t(330)]=this[t(332)]()}[d(381)](t,r={}){const e=d;if(this[e(383)])return Promise[e(333)]();const n=this[e(386)][e(336)][e(308)](e(337));if(this[e(386)][e(307)][e(385)](e(346))){const{prefix:t,suffix:n}=this[e(386)][e(336)][e(308)](e(341));r[e(350)]={prefix:t,suffix:n}}const i={url:n[e(375)],file:t,serviceConfig:{...r,formatting:n[e(368)],timezone:(new(Intl[e(329)]))[e(323)]()[e(380)]}};return this[e(392)](),this[e(305)](i)[e(359)](this[e(364)][e(328)](this))[e(311)](this[e(322)][e(328)](this))[e(344)](this[e(345)][e(328)](this))}[d(332)](){const t=d;if(this[t(383)])return!1;const r=this[t(386)][t(326)],e=r[t(371)],n=r[t(351)][t(325)],i=(0,l.first)(n[t(320)]());return!!i&&e[t(378)](i[t(355)],t(319))}[d(392)](){const t=d,r=this[t(386)],e=r[t(326)],n=e[t(351)][t(325)];this[t(352)]=new AbortController,this[t(401)]=r[t(326)][t(395)]({isUndoable:!0}),e[t(382)](this[t(401)],(r=>{const i=t;n[i(374)]||e[i(362)](n,{leaveUnmerged:!0});const o=n[i(389)](),s=(0,l.first)(n[i(320)]());let a;a=s.is(i(402),i(319))&&s[i(376)]?o:o[i(363)]?e[i(306)](s):o[i(304)]?e[i(335)](s):r[i(394)](o)[i(406)],this[i(303)]=r[i(387)](i(357)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(303)].on(i(379),(()=>{const t=i;t(321)===this[t(303)][t(347)]()[t(404)][t(403)]&&this[t(352)][t(348)]()}))})),this[t(383)]=!0,this[t(405)]()}[d(345)](){const t=d,r=this[t(386)][t(326)];r[t(315)][t(385)](this[t(303)])&&r[t(382)](this[t(401)],(r=>{const e=t;r[e(366)](this[e(303)])})),this[t(303)]=null,this[t(401)]=null,this[t(352)]=null,this[t(383)]=!1,this[t(405)]()}[d(305)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(386)][n(307)][n(308)](n(358))[n(370)](),o=new FormData;o[n(342)](n(336),JSON[n(398)](e)),o[n(342)](n(373),r);const s={method:n(354),headers:{},body:o,signal:this[n(352)][n(356)]};return i&&(s[n(331)][n(310)]=i[n(353)]),fetch(t,s)}[d(364)](t){const r=d;return t.ok?t[r(314)]()[r(359)]((t=>{const e=r;this[e(386)][e(326)][e(315)][e(385)](this[e(303)])&&e(321)!==this[e(303)][e(347)]()[e(404)][e(403)]&&this[e(384)](e(377),t)})):Promise[r(399)]()}[d(322)](){const t=d;if(this[t(352)][t(356)][t(338)])return void(0,l.logWarning)(t(391));const r=this[t(386)],e=i(r[t(343)],t(388));r[t(307)][t(308)](t(340))[t(312)](e),(0,l.logError)(t(334))}}const g=v;function I(){const t=["2640786BLrWbj","define","_token","1502752gSXBiT","80giLOzc","9ucqpvq","get","1035731inFxAn","205HaliJK","commands","inline","plugins","registerTokenUrl","editor","isOfficialPlugin","getToken","ImportWordEditing","token","pluginName","tokenUrl","add","requires","36508TwpgQA","https://docx-converter.cke-cs.com/v2/convert/docx-html","config","1783092eOBKxq","CloudServices","init","cloudServices","importWord","isPremiumPlugin","none","1174838zTzxcq","12777710ffFTnN"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=184]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(919451===-parseInt(r(216))/1+parseInt(r(212))/2+parseInt(r(209))/3+parseInt(r(197))/4*(-parseInt(r(217))/5)+parseInt(r(200))/6+parseInt(r(207))/7*(parseInt(r(213))/8)+parseInt(r(214))/9*(-parseInt(r(208))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(193)](){return g(191)}static get[g(189)](){return!0}static get[g(205)](){return!0}static get[g(196)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(201)]}constructor(t){const r=g;super(t),this[r(211)]=null}async[g(202)](){const t=g,r=this[t(188)];r[t(199)][t(210)](t(204),{converterUrl:t(198),tokenUrl:(r[t(199)][t(215)](t(203))||{})[t(194)],formatting:{resets:t(206),defaults:t(206),styles:t(185)}}),r[t(184)][t(195)](t(204),new m(r));const{tokenUrl:e}=r[t(199)][t(215)](t(204));if(e){const{tokenUrl:n}=r[t(199)][t(215)](t(203))||{};this[t(211)]=e===n?r[t(186)][t(215)](t(201))[t(192)]:await r[t(186)][t(215)](t(201))[t(187)](e)}}[g(190)](){return this[g(211)]}}var x=W;function b(){var t=["2697310IicjVm","746756koRvJC","1896699ZuxqMb","1503341lckJrH","ImportWord","1726302iMncIX","4eSJLwP","isPremiumPlugin","5577620pRqqSc","8CLejLd","6sMzaKI","3876516axnLtd","isOfficialPlugin","requires","pluginName"];return(b=function(){return t})()}function W(t,r){var e=b();return(W=function(t,r){return e[t-=169]})(t,r)}!function(t){for(var r=W,e=t();;)try{if(514367===-parseInt(r(171))/1+parseInt(r(175))/2+-parseInt(r(172))/3*(-parseInt(r(176))/4)+parseInt(r(170))/5+parseInt(r(180))/6*(parseInt(r(173))/7)+-parseInt(r(179))/8*(parseInt(r(181))/9)+-parseInt(r(178))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(b);class y extends t.Plugin{static get[x(169)](){return x(174)}static get[x(182)](){return!0}static get[x(177)](){return!0}static get[x(183)](){return[w,c]}}function k(t,r){var e=P();return(k=function(t,r){return e[t-=347]})(t,r)}function P(){var t=["2599902tnEbZM","2141272TCkEUZ","1212pFrNSA","225ZdHJuj","217874vbXosT","879868tqryOU","7InPagh","2LTRcRk","5aXhtpZ","168790RiocxC","12256596ZyZVXc","3816jKMvFe"];return(P=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(219080===parseInt(r(358))/1*(-parseInt(r(349))/2)+-parseInt(r(353))/3*(parseInt(r(356))/4)+parseInt(r(350))/5*(-parseInt(r(354))/6)+parseInt(r(348))/7*(-parseInt(r(355))/8)+parseInt(r(357))/9*(parseInt(r(351))/10)+parseInt(r(347))/11+parseInt(r(352))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=a;function s(){const t=["2236960TkFYYi","add","label","4EQfNle","editor","tooltip","Import from Word","isEnabled","menuBar:importWord","iconView","ImportWordUI","88240UftzJy","set","900gWleGJ","_createButton","7567630JZtuhn","Importing Word document","done","locale","commands","editing","pluginName","get","isOfficialPlugin","componentFactory","5vnWbOD","1550460tCitDP","children","focus","isOn","view","bind","isPremiumPlugin","init","isVisible","execute","2494800zPYFcL","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","isBusy","importWord","21292190BlXcKE","195674sYpLFg"];return(s=function(){return t})()}function a(t,e){const r=s();return(a=function(t,e){return r[t-=382]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(583531===parseInt(e(417))/1*(-parseInt(e(413))/2)+-parseInt(e(408))/3+-parseInt(e(414))/4+-parseInt(e(397))/5*(-parseInt(e(398))/6)+parseInt(e(387))/7+parseInt(e(383))/8*(-parseInt(e(385))/9)+parseInt(e(412))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class c extends t.Plugin{static get[o(393)](){return o(382)}static get[o(395)](){return!0}static get[o(404)](){return!0}[o(405)](){const t=o,r=this[t(418)];r.ui[t(396)][t(415)](t(411),(()=>{const n=t,i=this[n(386)](e.FileDialogButtonView),o=r[n(391)][n(394)](n(411));return i[n(403)](n(401)).to(o,n(410)),i[n(419)]=!0,i})),r.ui[t(396)][t(415)](t(422),(()=>this[t(386)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(386)](t){const r=o,n=this[r(418)],s=n[r(391)][r(394)](r(411)),a=new t(n[r(390)]),c=new e.SpinnerView;return a[r(384)]({acceptedType:r(409)}),a[r(384)]({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(403)](r(421)).to(s),a[r(403)](r(416)).to(s,r(410),(t=>i(n[r(390)],r(t?388:420)))),c[r(403)](r(406)).to(s,r(410)),a[r(423)][r(403)](r(406)).to(s,r(410),(t=>!t)),a[r(399)][r(415)](c),a.on(r(389),((t,e)=>{const i=r;n[i(407)](i(411),e[0],{}),n[i(392)][i(402)][i(400)]()})),a}}var u=r(331),p=r(783),l=r(584);const h=f;function d(){const t=["POST","$graveyard","MergeFields","change:range","value","_abortController","686208cwuops","position","timeZone","execute","checkChild","view","json","_cleanUpAfterImport","clipboardInput","deleteContent","createBatch","headers","get","import-word-plugin-conversion-failed","_prepareForImport","removeMarker","rootName","setSelection","formatting","document","stopListening","setData","markers","_handleImportResponse","html","stringify","getSelectedBlocks","reject","file","converterUrl","Notification","_checkEnabled","1605150RCHsZN","getRange","has","then","9528TyiCbf","model","low","isAtStart","showWarning","isEmpty","addMarker","createPositionBefore","isAtEnd","locale","root","fire","dataInsert","16eYDBJM","getFirstPosition","parent","_handleImportFailure","isBusy","signal","resolvedOptions","schema","importWord:","ImportWordEditing","catch","finally","5252210iQnFQn","selection","_undoStepBatch","_importMarker","bind","element","_sendImportRequest","refresh","aborted","DateTimeFormat","import-word-plugin-import-cancelled","An error occurred while importing the Word file.","isEnabled","text/html","1399829iLUxMe","split","isCollapsed","createPositionAfter","set","abort","merge_fields","getToken","Authorization","paragraph","enqueueChange","importWord","2414764FybTqS","13059fLHUIa","editing","plugins","resolve","mergeFields","editor","config","8723834gbnRxw"];return(d=function(){return t})()}function f(t,e){const r=d();return(f=function(t,e){return r[t-=338]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(806353===parseInt(e(353))/1+-parseInt(e(365))/2+parseInt(e(380))/3*(parseInt(e(429))/4)+-parseInt(e(339))/5+parseInt(e(412))/6+-parseInt(e(373))/7+parseInt(e(416))/8*(parseInt(e(366))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(d);class m extends t.Command{constructor(t){const e=f;super(t),this[e(357)](e(433),!1),this[e(342)]=null,this[e(341)]=null,this[e(379)]=null,this.on(e(428),((r,n)=>{const i=e,o=new DataTransfer;o[i(401)](i(352),n[i(404)]);const s=this[i(342)][i(413)]();this[i(371)][i(417)][i(363)](this[i(341)],(e=>{const r=i;this[r(342)][r(400)](),e[r(397)](s),t[r(367)][r(385)][r(399)][r(427)](r(388),{dataTransfer:o})}))}),{priority:e(418)})}[h(346)](){const t=h;this[t(351)]=this[t(411)]()}[h(383)](t,e={}){const r=h;if(this[r(433)])return Promise[r(369)]();const n=this[r(371)][r(372)][r(392)](r(364));if(this[r(371)][r(368)][r(414)](r(376))){const{prefix:t,suffix:n}=this[r(371)][r(372)][r(392)](r(370));e[r(359)]={prefix:t,suffix:n}}const i={url:n[r(409)],file:t,serviceConfig:{...e,formatting:n[r(398)],timezone:(new(Intl[r(348)]))[r(435)]()[r(382)]}};return this[r(394)](),this[r(345)](i)[r(415)](this[r(403)][r(343)](this))[r(439)](this[r(432)][r(343)](this))[r(338)](this[r(387)][r(343)](this))}[h(411)](){const t=h;if(this[t(433)])return!1;const e=this[t(371)][t(417)],r=e[t(436)],n=e[t(399)][t(340)],i=(0,l.first)(n[t(406)]());return!!i&&r[t(384)](i[t(431)],t(362))}[h(394)](){const t=h,e=this[t(371)],r=e[t(417)],n=r[t(399)][t(340)];this[t(379)]=new AbortController,this[t(341)]=e[t(417)][t(390)]({isUndoable:!0}),r[t(363)](this[t(341)],(e=>{const i=t;n[i(355)]||r[i(389)](n,{leaveUnmerged:!0});const o=n[i(430)](),s=(0,l.first)(n[i(406)]());let a;a=s.is(i(344),i(362))&&s[i(421)]?o:o[i(419)]?r[i(423)](s):o[i(424)]?r[i(356)](s):e[i(354)](o)[i(381)],this[i(342)]=e[i(422)](i(437)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(342)].on(i(377),(()=>{const t=i;t(375)===this[t(342)][t(413)]()[t(426)][t(396)]&&this[t(379)][t(358)]()}))})),this[t(433)]=!0,this[t(346)]()}[h(387)](){const t=h,e=this[t(371)][t(417)];e[t(402)][t(414)](this[t(342)])&&e[t(363)](this[t(341)],(e=>{const r=t;e[r(395)](this[r(342)])})),this[t(342)]=null,this[t(341)]=null,this[t(379)]=null,this[t(433)]=!1,this[t(346)]()}[h(345)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(371)][n(368)][n(392)](n(438))[n(360)](),o=new FormData;o[n(357)](n(372),JSON[n(405)](r)),o[n(357)](n(408),e);const s={method:n(374),headers:{},body:o,signal:this[n(379)][n(434)]};return i&&(s[n(391)][n(361)]=i[n(378)]),fetch(t,s)}[h(403)](t){const e=h;return t.ok?t[e(386)]()[e(415)]((t=>{const r=e;this[r(371)][r(417)][r(402)][r(414)](this[r(342)])&&r(375)!==this[r(342)][r(413)]()[r(426)][r(396)]&&this[r(427)](r(428),t)})):Promise[e(407)]()}[h(432)](){const t=h;if(this[t(379)][t(434)][t(347)])return void(0,l.logWarning)(t(349));const e=this[t(371)],r=i(e[t(425)],t(350));e[t(368)][t(392)](t(410))[t(420)](r),(0,l.logError)(t(393))}}function g(t,e){const r=v();return(g=function(t,e){return r[t-=135]})(t,e)}const I=g;function v(){const t=["inline","get","requires","none","editor","6fcgVCC","plugins","CloudServices","init","3SadTss","getToken","ImportWordEditing","tokenUrl","333238xMdLih","commands","45YSFIhp","importWord","token","add","_token","config","isOfficialPlugin","10893358vmAckf","define","1000uRVICo","162027mwdbex","isPremiumPlugin","pluginName","231187mfSqdP","772662jDRsuW","492908SZvblI","193616aLzgvG","https://docx-converter.cke-cs.com/v2/convert/docx-html","registerTokenUrl","cloudServices"];return(v=function(){return t})()}!function(t){const e=g,r=t();for(;;)try{if(941179===-parseInt(e(150))/1+parseInt(e(166))/2*(-parseInt(e(146))/3)+parseInt(e(167))/4*(parseInt(e(152))/5)+-parseInt(e(142))/6*(parseInt(e(159))/7)+parseInt(e(168))/8+-parseInt(e(162))/9+-parseInt(e(161))/10*(-parseInt(e(165))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[I(164)](){return I(148)}static get[I(158)](){return!0}static get[I(163)](){return!0}static get[I(139)](){const t=I;return[e.Notification,u.ClipboardPipeline,t(144)]}constructor(t){const e=I;super(t),this[e(156)]=null}async[I(145)](){const t=I,e=this[t(141)];e[t(157)][t(160)](t(153),{converterUrl:t(169),tokenUrl:(e[t(157)][t(138)](t(136))||{})[t(149)],formatting:{resets:t(140),defaults:t(140),styles:t(137)}}),e[t(151)][t(155)](t(153),new m(e));const{tokenUrl:r}=e[t(157)][t(138)](t(153));if(r){const{tokenUrl:n}=e[t(157)][t(138)](t(136))||{};this[t(156)]=r===n?e[t(143)][t(138)](t(144))[t(154)]:await e[t(143)][t(138)](t(144))[t(135)](r)}}[I(147)](){return this[I(156)]}}var b=W;function W(t,e){var r=x();return(W=function(t,e){return r[t-=131]})(t,e)}function x(){var t=["32UGsKXD","pluginName","3340685Rdgajh","ImportWord","isOfficialPlugin","isPremiumPlugin","20397640MHnQfP","3212622WSQhpB","requires","101089OiwTAD","14200fmQZhC","77lWvFoo","5490078ciriVE","4BwfhxO","4512153fmBfKj"];return(x=function(){return t})()}!function(t){for(var e=W,r=t();;)try{if(952104===parseInt(e(144))/1*(parseInt(e(135))/2)+parseInt(e(134))/3*(parseInt(e(133))/4)+-parseInt(e(137))/5+parseInt(e(132))/6+parseInt(e(131))/7*(-parseInt(e(145))/8)+-parseInt(e(142))/9+-parseInt(e(141))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(x);class y extends t.Plugin{static get[b(136)](){return b(138)}static get[b(139)](){return!0}static get[b(140)](){return!0}static get[b(143)](){return[w,c]}}function P(){var t=["173SJWcJh","158652SbeDOj","19086oFuzUm","2288864tpKtev","10799541DzhCEo","4873305qBRbjo","371qLzvkB","5105400XhMohy","980170QIFXGg","10QkPbtg"];return(P=function(){return t})()}function k(t,e){var r=P();return(k=function(t,e){return r[t-=240]})(t,e)}!function(t){for(var e=k,r=t();;)try{if(869387===parseInt(e(241))/1*(parseInt(e(243))/2)+-parseInt(e(246))/3+-parseInt(e(248))/4+-parseInt(e(249))/5+-parseInt(e(242))/6*(-parseInt(e(247))/7)+-parseInt(e(244))/8+-parseInt(e(245))/9*(-parseInt(e(240))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(P)})(),(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 _0x1c0cfa,Command as _0x53d5d8}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0xb8c28e,MenuBarMenuListItemFileDialogButtonView as _0x59c28a,SpinnerView as _0x50f5b4,Notification as _0x3dab04}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x149c50}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x50536e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x225fb2,uid as _0x25a279,logWarning as _0x27c9be,logError as _0x4cdcdb}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x4067cc,_0x5bdc20){const t=_0x4067cc['t'];switch(_0x5bdc20){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 _0x5bdc20;}}class i extends _0x1c0cfa{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3061b1=this['editor'];_0x3061b1['ui']['componentFactory']['add']('importWord',()=>{const _0x503f73=this['_createButton'](_0xb8c28e),_0x39814f=_0x3061b1['commands']['get']('importWord');return _0x503f73['bind']('isOn')['to'](_0x39814f,'isBusy'),_0x503f73['tooltip']=!0x0,_0x503f73;}),_0x3061b1['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x59c28a));}['_createButton'](_0x2db0fe){const _0x4b6e7a=this['editor'],_0x4239a5=_0x4b6e7a['commands']['get']('importWord'),_0x143e09=new _0x2db0fe(_0x4b6e7a['locale']),_0x5bfee4=new _0x50f5b4();return _0x143e09['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x143e09['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'}),_0x143e09['bind']('isEnabled')['to'](_0x4239a5),_0x143e09['bind']('label')['to'](_0x4239a5,'isBusy',_0xbf250b=>p(_0x4b6e7a['locale'],_0xbf250b?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x5bfee4['bind']('isVisible')['to'](_0x4239a5,'isBusy'),_0x143e09['iconView']['bind']('isVisible')['to'](_0x4239a5,'isBusy',_0x2167ae=>!_0x2167ae),_0x143e09['children']['add'](_0x5bfee4),_0x143e09['on']('done',(_0x20be78,_0x53ea2c)=>{_0x4b6e7a['execute']('importWord',_0x53ea2c[0x0],{}),_0x4b6e7a['editing']['view']['focus']();}),_0x143e09;}}class d extends _0x53d5d8{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x2a298a){super(_0x2a298a),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x476be5,_0x2f9ae8)=>{const _0x4c9121=new DataTransfer();_0x4c9121['setData']('text/html',_0x2f9ae8['html']);const _0x49d06e=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x1b5126=>{this['_importMarker']['stopListening'](),_0x1b5126['setSelection'](_0x49d06e),_0x2a298a['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x4c9121});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x50c964,_0x375418={}){if(this['isBusy'])return Promise['resolve']();const _0x8fc870=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x2e2a57,suffix:_0x427238}=this['editor']['config']['get']('mergeFields');_0x375418['merge_fields']={'prefix':_0x2e2a57,'suffix':_0x427238};}const _0x4c9c2c={'url':_0x8fc870['converterUrl'],'file':_0x50c964,'serviceConfig':{..._0x375418,'formatting':_0x8fc870['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4c9c2c)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x5f54c3=this['editor']['model'],_0x5d9e2d=_0x5f54c3['schema'],_0x23c975=_0x5f54c3['document']['selection'],_0x1709e1=_0x225fb2(_0x23c975['getSelectedBlocks']());return!!_0x1709e1&&_0x5d9e2d['checkChild'](_0x1709e1['parent'],'paragraph');}['_prepareForImport'](){const _0x583963=this['editor'],_0x3b24b7=_0x583963['model'],_0x5739e0=_0x3b24b7['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x583963['model']['createBatch']({'isUndoable':!0x0}),_0x3b24b7['enqueueChange'](this['_undoStepBatch'],_0x556182=>{_0x5739e0['isCollapsed']||_0x3b24b7['deleteContent'](_0x5739e0,{'leaveUnmerged':!0x0});const _0x589b0a=_0x5739e0['getFirstPosition'](),_0x222f35=_0x225fb2(_0x5739e0['getSelectedBlocks']());let _0x30f94e;_0x30f94e=_0x222f35['is']('element','paragraph')&&_0x222f35['isEmpty']?_0x589b0a:_0x589b0a['isAtStart']?_0x3b24b7['createPositionBefore'](_0x222f35):_0x589b0a['isAtEnd']?_0x3b24b7['createPositionAfter'](_0x222f35):_0x556182['split'](_0x589b0a)['position'],this['_importMarker']=_0x556182['addMarker']('importWord:'+_0x25a279(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x50536e(_0x30f94e)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x1b0140=this['editor']['model'];_0x1b0140['markers']['has'](this['_importMarker'])&&_0x1b0140['enqueueChange'](this['_undoStepBatch'],_0x342490=>{_0x342490['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x82e96a,file:_0x1dca7e,serviceConfig:_0xde3abc}){const _0x567739=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5e4217=new FormData();_0x5e4217['set']('config',JSON['stringify'](_0xde3abc)),_0x5e4217['set']('file',_0x1dca7e);const _0x4fa1e5={'method':'POST','headers':{},'body':_0x5e4217,'signal':this['_abortController']['signal']};return _0x567739&&(_0x4fa1e5['headers']['Authorization']=_0x567739['value']),fetch(_0x82e96a,_0x4fa1e5);}['_handleImportResponse'](_0x2ce558){return _0x2ce558['ok']?_0x2ce558['json']()['then'](_0x9ea444=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x9ea444);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x27c9be('import-word-plugin-import-cancelled');const _0x435b99=this['editor'],_0x2a33e7=p(_0x435b99['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x435b99['plugins']['get']('Notification')['showWarning'](_0x2a33e7),_0x4cdcdb('import-word-plugin-conversion-failed');}}class e extends _0x1c0cfa{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3dab04,_0x149c50,'CloudServices'];}constructor(_0x45aa2e){super(_0x45aa2e),this['_token']=null;}async['init'](){const _0x5cab0d=this['editor'];_0x5cab0d['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x5cab0d['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x5cab0d['commands']['add']('importWord',new d(_0x5cab0d));const {tokenUrl:_0x1b553d}=_0x5cab0d['config']['get']('importWord');if(_0x1b553d){const {tokenUrl:_0x397a3c}=_0x5cab0d['config']['get']('cloudServices')||{};this['_token']=_0x1b553d===_0x397a3c?_0x5cab0d['plugins']['get']('CloudServices')['token']:await _0x5cab0d['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1b553d);}}['getToken'](){return this['_token'];}}class o extends _0x1c0cfa{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':_0x39db63=>0x1!=_0x39db63}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x46b2c3=>{const {af:{dictionary:_0x33924f,getPluralForm:_0x44a2be}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xddff64=>0x1!=_0xddff64}};_0x46b2c3['af']||={'dictionary':{},'getPluralForm':null},_0x46b2c3['af']['dictionary']=Object['assign'](_0x46b2c3['af']['dictionary'],_0x33924f),_0x46b2c3['af']['getPluralForm']=_0x44a2be;})(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':_0x2aaf3e=>0x0==_0x2aaf3e?0x0:0x1==_0x2aaf3e?0x1:0x2==_0x2aaf3e?0x2:_0x2aaf3e%0x64>=0x3&&_0x2aaf3e%0x64<=0xa?0x3:_0x2aaf3e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x184e0a=>{const {ar:{dictionary:_0x1c111d,getPluralForm:_0x4585c2}}={'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':_0xc9839b=>0x0==_0xc9839b?0x0:0x1==_0xc9839b?0x1:0x2==_0xc9839b?0x2:_0xc9839b%0x64>=0x3&&_0xc9839b%0x64<=0xa?0x3:_0xc9839b%0x64>=0xb?0x4:0x5}};_0x184e0a['ar']||={'dictionary':{},'getPluralForm':null},_0x184e0a['ar']['dictionary']=Object['assign'](_0x184e0a['ar']['dictionary'],_0x1c111d),_0x184e0a['ar']['getPluralForm']=_0x4585c2;})(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':_0x4c81e9=>0x1!=_0x4c81e9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a07e8=>{const {ast:{dictionary:_0xf256ee,getPluralForm:_0x8b37d4}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3671c2=>0x1!=_0x3671c2}};_0x3a07e8['ast']||={'dictionary':{},'getPluralForm':null},_0x3a07e8['ast']['dictionary']=Object['assign'](_0x3a07e8['ast']['dictionary'],_0xf256ee),_0x3a07e8['ast']['getPluralForm']=_0x8b37d4;})(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':_0x41ab86=>0x1!=_0x41ab86}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32f0b6=>{const {az:{dictionary:_0x5b60ac,getPluralForm:_0x2a604c}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3afbff=>0x1!=_0x3afbff}};_0x32f0b6['az']||={'dictionary':{},'getPluralForm':null},_0x32f0b6['az']['dictionary']=Object['assign'](_0x32f0b6['az']['dictionary'],_0x5b60ac),_0x32f0b6['az']['getPluralForm']=_0x2a604c;})(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':_0x1db449=>0x1!=_0x1db449}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36aaba=>{const {bg:{dictionary:_0x1becc9,getPluralForm:_0xcafbe5}}={'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':_0x159d5b=>0x1!=_0x159d5b}};_0x36aaba['bg']||={'dictionary':{},'getPluralForm':null},_0x36aaba['bg']['dictionary']=Object['assign'](_0x36aaba['bg']['dictionary'],_0x1becc9),_0x36aaba['bg']['getPluralForm']=_0xcafbe5;})(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':_0x3cde8c=>0x1!=_0x3cde8c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ffc57=>{const {bn:{dictionary:_0x4f35db,getPluralForm:_0x62c2df}}={'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':_0x3c1c14=>0x1!=_0x3c1c14}};_0x4ffc57['bn']||={'dictionary':{},'getPluralForm':null},_0x4ffc57['bn']['dictionary']=Object['assign'](_0x4ffc57['bn']['dictionary'],_0x4f35db),_0x4ffc57['bn']['getPluralForm']=_0x62c2df;})(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':_0x27d469=>_0x27d469%0xa==0x1&&_0x27d469%0x64!=0xb?0x0:_0x27d469%0xa>=0x2&&_0x27d469%0xa<=0x4&&(_0x27d469%0x64<0xa||_0x27d469%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x136de8=>{const {bs:{dictionary:_0x1b45de,getPluralForm:_0x5b1ae6}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1a8038=>_0x1a8038%0xa==0x1&&_0x1a8038%0x64!=0xb?0x0:_0x1a8038%0xa>=0x2&&_0x1a8038%0xa<=0x4&&(_0x1a8038%0x64<0xa||_0x1a8038%0x64>=0x14)?0x1:0x2}};_0x136de8['bs']||={'dictionary':{},'getPluralForm':null},_0x136de8['bs']['dictionary']=Object['assign'](_0x136de8['bs']['dictionary'],_0x1b45de),_0x136de8['bs']['getPluralForm']=_0x5b1ae6;})(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':_0x34aa97=>0x1!=_0x34aa97}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38a8e3=>{const {ca:{dictionary:_0x19c1de,getPluralForm:_0x2cdd4c}}={'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':_0xd2e4=>0x1!=_0xd2e4}};_0x38a8e3['ca']||={'dictionary':{},'getPluralForm':null},_0x38a8e3['ca']['dictionary']=Object['assign'](_0x38a8e3['ca']['dictionary'],_0x19c1de),_0x38a8e3['ca']['getPluralForm']=_0x2cdd4c;})(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':_0xd192b2=>0x1==_0xd192b2?0x0:_0xd192b2>=0x2&&_0xd192b2<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1388aa=>{const {cs:{dictionary:_0x3fa3f7,getPluralForm:_0x174fb5}}={'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':_0xcc4053=>0x1==_0xcc4053?0x0:_0xcc4053>=0x2&&_0xcc4053<=0x4?0x1:0x2}};_0x1388aa['cs']||={'dictionary':{},'getPluralForm':null},_0x1388aa['cs']['dictionary']=Object['assign'](_0x1388aa['cs']['dictionary'],_0x3fa3f7),_0x1388aa['cs']['getPluralForm']=_0x174fb5;})(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':_0x24da5f=>0x1!=_0x24da5f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5bf0bf=>{const {da:{dictionary:_0x22a15a,getPluralForm:_0x57ad33}}={'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':_0x5d073d=>0x1!=_0x5d073d}};_0x5bf0bf['da']||={'dictionary':{},'getPluralForm':null},_0x5bf0bf['da']['dictionary']=Object['assign'](_0x5bf0bf['da']['dictionary'],_0x22a15a),_0x5bf0bf['da']['getPluralForm']=_0x57ad33;})(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':_0x1f8be9=>0x1!=_0x1f8be9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb48a2b=>{const {'de-ch':{dictionary:_0x595519,getPluralForm:_0xe7f79f}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xf3ceaf=>0x1!=_0xf3ceaf}};_0xb48a2b['de-ch']||={'dictionary':{},'getPluralForm':null},_0xb48a2b['de-ch']['dictionary']=Object['assign'](_0xb48a2b['de-ch']['dictionary'],_0x595519),_0xb48a2b['de-ch']['getPluralForm']=_0xe7f79f;})(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':_0x58d94f=>0x1!=_0x58d94f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19b335=>{const {de:{dictionary:_0x77f169,getPluralForm:_0x7d7e24}}={'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':_0x66ae85=>0x1!=_0x66ae85}};_0x19b335['de']||={'dictionary':{},'getPluralForm':null},_0x19b335['de']['dictionary']=Object['assign'](_0x19b335['de']['dictionary'],_0x77f169),_0x19b335['de']['getPluralForm']=_0x7d7e24;})(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':_0x47b9e1=>0x1!=_0x47b9e1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3c3c42=>{const {el:{dictionary:_0x3cf526,getPluralForm:_0x550924}}={'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':_0x1bb191=>0x1!=_0x1bb191}};_0x3c3c42['el']||={'dictionary':{},'getPluralForm':null},_0x3c3c42['el']['dictionary']=Object['assign'](_0x3c3c42['el']['dictionary'],_0x3cf526),_0x3c3c42['el']['getPluralForm']=_0x550924;})(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':_0x2caa48=>0x1!=_0x2caa48}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14d078=>{const {'en-au':{dictionary:_0x45970a,getPluralForm:_0x385010}}={'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':_0x2952c4=>0x1!=_0x2952c4}};_0x14d078['en-au']||={'dictionary':{},'getPluralForm':null},_0x14d078['en-au']['dictionary']=Object['assign'](_0x14d078['en-au']['dictionary'],_0x45970a),_0x14d078['en-au']['getPluralForm']=_0x385010;})(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':_0x3aa782=>0x1!=_0x3aa782}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd5673b=>{const {'en-gb':{dictionary:_0x15126f,getPluralForm:_0x444f56}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x18b9f9=>0x1!=_0x18b9f9}};_0xd5673b['en-gb']||={'dictionary':{},'getPluralForm':null},_0xd5673b['en-gb']['dictionary']=Object['assign'](_0xd5673b['en-gb']['dictionary'],_0x15126f),_0xd5673b['en-gb']['getPluralForm']=_0x444f56;})(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':_0x8603c1=>0x1!=_0x8603c1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x16aa18=>{const {en:{dictionary:_0x48abc3,getPluralForm:_0x1ab08f}}={'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':_0x35f73a=>0x1!=_0x35f73a}};_0x16aa18['en']||={'dictionary':{},'getPluralForm':null},_0x16aa18['en']['dictionary']=Object['assign'](_0x16aa18['en']['dictionary'],_0x48abc3),_0x16aa18['en']['getPluralForm']=_0x1ab08f;})(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':_0x4a15e0=>0x1!=_0x4a15e0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5964ce=>{const {eo:{dictionary:_0x15a8aa,getPluralForm:_0x542c01}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x32ca79=>0x1!=_0x32ca79}};_0x5964ce['eo']||={'dictionary':{},'getPluralForm':null},_0x5964ce['eo']['dictionary']=Object['assign'](_0x5964ce['eo']['dictionary'],_0x15a8aa),_0x5964ce['eo']['getPluralForm']=_0x542c01;})(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':_0x5f1475=>0x1!=_0x5f1475}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1616ff=>{const {'es-co':{dictionary:_0x39895d,getPluralForm:_0x6232bb}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2ba4ed=>0x1!=_0x2ba4ed}};_0x1616ff['es-co']||={'dictionary':{},'getPluralForm':null},_0x1616ff['es-co']['dictionary']=Object['assign'](_0x1616ff['es-co']['dictionary'],_0x39895d),_0x1616ff['es-co']['getPluralForm']=_0x6232bb;})(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':_0x55ce17=>0x1!=_0x55ce17}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x139dfc=>{const {es:{dictionary:_0x4271be,getPluralForm:_0x41608c}}={'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':_0x32b45c=>0x1!=_0x32b45c}};_0x139dfc['es']||={'dictionary':{},'getPluralForm':null},_0x139dfc['es']['dictionary']=Object['assign'](_0x139dfc['es']['dictionary'],_0x4271be),_0x139dfc['es']['getPluralForm']=_0x41608c;})(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':_0x46f436=>0x1!=_0x46f436}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb9c1c7=>{const {et:{dictionary:_0x5d5031,getPluralForm:_0x161012}}={'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':_0x373533=>0x1!=_0x373533}};_0xb9c1c7['et']||={'dictionary':{},'getPluralForm':null},_0xb9c1c7['et']['dictionary']=Object['assign'](_0xb9c1c7['et']['dictionary'],_0x5d5031),_0xb9c1c7['et']['getPluralForm']=_0x161012;})(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':_0xc6d675=>0x1!=_0xc6d675}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37b74d=>{const {eu:{dictionary:_0x52a685,getPluralForm:_0x7a19bf}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x34d4f3=>0x1!=_0x34d4f3}};_0x37b74d['eu']||={'dictionary':{},'getPluralForm':null},_0x37b74d['eu']['dictionary']=Object['assign'](_0x37b74d['eu']['dictionary'],_0x52a685),_0x37b74d['eu']['getPluralForm']=_0x7a19bf;})(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':_0x4dd4be=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x320ef6=>{const {fa:{dictionary:_0x18fcc3,getPluralForm:_0x29579d}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x354cbd=>0x0}};_0x320ef6['fa']||={'dictionary':{},'getPluralForm':null},_0x320ef6['fa']['dictionary']=Object['assign'](_0x320ef6['fa']['dictionary'],_0x18fcc3),_0x320ef6['fa']['getPluralForm']=_0x29579d;})(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':_0x3c6f74=>0x1!=_0x3c6f74}};
|