@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250225.0 → 0.0.0-nightly-20250226.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 +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={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>x,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=a();return(s=function(t,e){return r[t-=200]})(t,e)}function a(){const t=["isPremiumPlugin","iconView","7UFwpCS","commands","init","children","importWord","2349102SYwwyG","2uoSZcw","locale","focus","label","isVisible","editing","3960800sppcki","set","6063300HMREZt","menuBar:importWord","get","_createButton","Importing Word document","tooltip","isBusy","993745BPhOQH","done","isOn","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","pluginName","4988296Krhjel","view","execute","bind","217533yOtgAO","editor","isEnabled","ImportWordUI","add","componentFactory","isOfficialPlugin","Import from Word","4432722mXojkI"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(600568===parseInt(e(208))/1*(parseInt(e(225))/2)+parseInt(e(224))/3+-parseInt(e(231))/4+-parseInt(e(240))/5+parseInt(e(216))/6+-parseInt(e(219))/7*(parseInt(e(204))/8)+parseInt(e(233))/9)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(203)](){return o(211)}static get[o(214)](){return!0}static get[o(217)](){return!0}[o(221)](){const t=o,r=this[t(209)];r.ui[t(213)][t(212)](t(223),(()=>{const n=t,i=this[n(236)](e.FileDialogButtonView),o=r[n(220)][n(235)](n(223));return i[n(207)](n(201)).to(o,n(239)),i[n(238)]=!0,i})),r.ui[t(213)][t(212)](t(234),(()=>this[t(236)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(236)](t){const r=o,n=this[r(209)],s=n[r(220)][r(235)](r(223)),a=new t(n[r(226)]),c=new e.SpinnerView;return a[r(232)]({acceptedType:r(202)}),a[r(232)]({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(207)](r(210)).to(s),a[r(207)](r(228)).to(s,r(239),(t=>i(n[r(226)],r(t?237:215)))),c[r(207)](r(229)).to(s,r(239)),a[r(218)][r(207)](r(229)).to(s,r(239),(t=>!t)),a[r(222)][r(212)](c),a.on(r(200),((t,e)=>{const i=r;n[i(206)](i(223),e[0],{}),n[i(230)][i(205)][i(227)]()})),a}}var u=r(331),p=r(783),l=r(584);const h=d;function d(t,e){const r=m();return(d=function(t,e){return r[t-=498]})(t,e)}!function(t){const e=d,r=t();for(;;)try{if(233422===-parseInt(e(565))/1+parseInt(e(544))/2*(-parseInt(e(498))/3)+parseInt(e(584))/4+parseInt(e(512))/5+-parseInt(e(508))/6*(parseInt(e(532))/7)+parseInt(e(517))/8*(parseInt(e(502))/9)+-parseInt(e(596))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(m);class f extends t.Command{constructor(t){const e=d;super(t),this[e(558)](e(569),!1),this[e(522)]=null,this[e(542)]=null,this[e(529)]=null,this.on(e(521),((r,n)=>{const i=e,o=new DataTransfer;o[i(590)](i(501),n[i(540)]);const s=this[i(522)][i(568)]();this[i(520)][i(526)][i(510)](this[i(542)],(e=>{const r=i;this[r(522)][r(573)](),e[r(560)](s),t[r(513)][r(545)][r(552)][r(509)](r(557),{dataTransfer:o})}))}),{priority:e(564)})}[h(499)](){const t=h;this[t(577)]=this[t(585)]()}[h(593)](t,e={}){const r=h;if(this[r(569)])return Promise[r(537)]();const n=this[r(520)][r(516)][r(546)](r(515));if(this[r(520)][r(578)][r(507)](r(567))){const{prefix:t,suffix:n}=this[r(520)][r(516)][r(546)](r(589));e[r(536)]={prefix:t,suffix:n}}const i={url:n[r(580)],file:t,serviceConfig:{...e,formatting:n[r(539)],timezone:(new(Intl[r(555)]))[r(556)]()[r(598)]}};return this[r(592)](),this[r(570)](i)[r(575)](this[r(561)][r(571)](this))[r(600)](this[r(504)][r(571)](this))[r(548)](this[r(554)][r(571)](this))}[h(585)](){const t=h;if(this[t(569)])return!1;const e=this[t(520)][t(526)],r=e[t(591)],n=e[t(552)][t(595)],i=(0,l.first)(n[t(562)]());return!!i&&r[t(533)](i[t(597)],t(574))}[h(592)](){const t=h,e=this[t(520)],r=e[t(526)],n=r[t(552)][t(595)];this[t(529)]=new AbortController,this[t(542)]=e[t(526)][t(581)]({isUndoable:!0}),r[t(510)](this[t(542)],(e=>{const i=t;n[i(551)]||r[i(586)](n,{leaveUnmerged:!0});const o=n[i(524)](),s=(0,l.first)(n[i(562)]());let a;a=s.is(i(582),i(574))&&s[i(530)]?o:o[i(518)]?r[i(503)](s):o[i(572)]?r[i(506)](s):e[i(549)](o)[i(514)],this[i(522)]=e[i(531)](i(505)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(522)].on(i(525),(()=>{const t=i;t(541)===this[t(522)][t(568)]()[t(599)][t(587)]&&this[t(529)][t(563)]()}))})),this[t(569)]=!0,this[t(499)]()}[h(554)](){const t=h,e=this[t(520)][t(526)];e[t(550)][t(507)](this[t(522)])&&e[t(510)](this[t(542)],(e=>{const r=t;e[r(535)](this[r(522)])})),this[t(522)]=null,this[t(542)]=null,this[t(529)]=null,this[t(569)]=!1,this[t(499)]()}[h(570)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(520)][n(578)][n(546)](n(559))[n(547)](),o=new FormData;o[n(558)](n(516),JSON[n(534)](r)),o[n(558)](n(594),e);const s={method:n(527),headers:{},body:o,signal:this[n(529)][n(543)]};return i&&(s[n(579)][n(511)]=i[n(528)]),fetch(t,s)}[h(561)](t){const e=h;return t.ok?t[e(538)]()[e(575)]((t=>{const r=e;this[r(520)][r(526)][r(550)][r(507)](this[r(522)])&&r(541)!==this[r(522)][r(568)]()[r(599)][r(587)]&&this[r(509)](r(521),t)})):Promise[e(588)]()}[h(504)](){const t=h;if(this[t(529)][t(543)][t(576)])return void(0,l.logWarning)(t(523));const e=this[t(520)],r=i(e[t(583)],t(566));e[t(578)][t(546)](t(519))[t(553)](r),(0,l.logError)(t(500))}}function m(){const t=["2gNfCyf","view","get","getToken","finally","split","markers","isCollapsed","document","showWarning","_cleanUpAfterImport","DateTimeFormat","resolvedOptions","clipboardInput","set","ImportWordEditing","setSelection","_handleImportResponse","getSelectedBlocks","abort","low","30323ANesZT","An error occurred while importing the Word file.","MergeFields","getRange","isBusy","_sendImportRequest","bind","isAtEnd","stopListening","paragraph","then","aborted","isEnabled","plugins","headers","converterUrl","createBatch","element","locale","608532aIejQT","_checkEnabled","deleteContent","rootName","reject","mergeFields","setData","schema","_prepareForImport","execute","file","selection","1352680BZnUGC","parent","timeZone","root","catch","40797urUBjW","refresh","import-word-plugin-conversion-failed","text/html","2233827GGuahT","createPositionBefore","_handleImportFailure","importWord:","createPositionAfter","has","222HmiUlB","fire","enqueueChange","Authorization","211045yYOZqs","editing","position","importWord","config","8QeMVoc","isAtStart","Notification","editor","dataInsert","_importMarker","import-word-plugin-import-cancelled","getFirstPosition","change:range","model","POST","value","_abortController","isEmpty","addMarker","5663eJkLJY","checkChild","stringify","removeMarker","merge_fields","resolve","json","formatting","html","$graveyard","_undoStepBatch","signal"];return(m=function(){return t})()}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=304]})(t,e)}function v(){const t=["CloudServices","init","_token","editor","5245299TZmUtj","add","plugins","7747730VCZlGf","token","40WCjWph","commands","define","isPremiumPlugin","registerTokenUrl","importWord","396218KeaOPp","get","pluginName","ImportWordEditing","828376fLbeIX","6TmIfwA","1676190wVnywm","inline","requires","none","3tfqYrS","tokenUrl","https://docx-converter.cke-cs.com/v2/convert/docx-html","config","getToken","cloudServices","3682820ZFFahc","871360UVJaSj","isOfficialPlugin"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(480550===parseInt(e(330))/1+parseInt(e(326))/2*(-parseInt(e(336))/3)+parseInt(e(308))/4+-parseInt(e(332))/5*(parseInt(e(331))/6)+-parseInt(e(309))/7*(-parseInt(e(320))/8)+-parseInt(e(315))/9+-parseInt(e(318))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(328)](){return g(329)}static get[g(310)](){return!0}static get[g(323)](){return!0}static get[g(334)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(311)]}constructor(t){const e=g;super(t),this[e(313)]=null}async[g(312)](){const t=g,e=this[t(314)];e[t(305)][t(322)](t(325),{converterUrl:t(304),tokenUrl:(e[t(305)][t(327)](t(307))||{})[t(337)],formatting:{resets:t(335),defaults:t(335),styles:t(333)}}),e[t(321)][t(316)](t(325),new f(e));const{tokenUrl:r}=e[t(305)][t(327)](t(325));if(r){const{tokenUrl:n}=e[t(305)][t(327)](t(307))||{};this[t(313)]=r===n?e[t(317)][t(327)](t(311))[t(319)]:await e[t(317)][t(327)](t(311))[t(324)](r)}}[g(306)](){return this[g(313)]}}var W=b;function y(){var t=["4451322IDHtHz","8880138otZXBr","isPremiumPlugin","isOfficialPlugin","3607762incFwR","324WyXyfQ","36840TojwEQ","pluginName","3275744mJKnAq","1109050rFlSLF","49625tDODeZ","7vyLWxE","requires","ImportWord","6417bCAZon"];return(y=function(){return t})()}function b(t,e){var r=y();return(b=function(t,e){return r[t-=295]})(t,e)}!function(t){for(var e=b,r=t();;)try{if(923403===-parseInt(e(300))/1+-parseInt(e(295))/2+-parseInt(e(306))/3+parseInt(e(296))/4*(parseInt(e(301))/5)+parseInt(e(307))/6+parseInt(e(302))/7*(parseInt(e(299))/8)+parseInt(e(305))/9*(parseInt(e(297))/10))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(y);class x extends t.Plugin{static get[W(298)](){return W(304)}static get[W(309)](){return!0}static get[W(308)](){return!0}static get[W(303)](){return[w,c]}}function k(){var t=["1498635VuxIie","4566FQvlQd","8UReKbV","16220GWhGjd","396anYJqE","25122648hBqHGr","694948WtjmiO","287735qvQpCl","12zvbiIL","506193vshJzm","3385TVSRfu","1oBdMnF"];return(k=function(){return t})()}function O(t,e){var r=k();return(O=function(t,e){return r[t-=276]})(t,e)}!function(t){for(var e=O,r=t();;)try{if(458678===parseInt(e(282))/1*(-parseInt(e(277))/2)+-parseInt(e(280))/3*(parseInt(e(279))/4)+-parseInt(e(281))/5*(parseInt(e(284))/6)+-parseInt(e(278))/7*(parseInt(e(285))/8)+-parseInt(e(283))/9+-parseInt(e(286))/10*(parseInt(e(287))/11)+parseInt(e(276))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>b,ImportWordEditing:()=>v,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-=466]})(t,r)}function a(){const t=["isPremiumPlugin","isOfficialPlugin","label","8414844eEXicF","iconView","init","editing","editor","add","tooltip","locale","Importing Word document","15427368JaIgVo","set","470IIxWLi","126WCewra","isVisible","Import from Word","201112dNYFxJ","2347350xabUvc","isBusy","execute","focus","isEnabled","53978uTSmbU","menuBar:importWord","ImportWordUI","44wURqMG","_createButton","componentFactory","49mesjZS","33093EtpxAR","pluginName","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","isOn","done","commands","importWord","get","144132aBkHaz","view","children","bind"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(792200===-parseInt(r(497))/1*(parseInt(r(500))/2)+-parseInt(r(488))/3*(-parseInt(r(469))/4)+parseInt(r(492))/5+-parseInt(r(476))/6+parseInt(r(503))/7*(-parseInt(r(491))/8)+parseInt(r(504))/9*(parseInt(r(487))/10)+parseInt(r(485))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(505)](){return o(499)}static get[o(474)](){return!0}static get[o(473)](){return!0}[o(478)](){const t=o,e=this[t(480)];e.ui[t(502)][t(481)](t(467),(()=>{const n=t,i=this[n(501)](r.FileDialogButtonView),o=e[n(466)][n(468)](n(467));return i[n(472)](n(507)).to(o,n(493)),i[n(482)]=!0,i})),e.ui[t(502)][t(481)](t(498),(()=>this[t(501)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(501)](t){const e=o,n=this[e(480)],s=n[e(466)][e(468)](e(467)),a=new t(n[e(483)]),c=new r.SpinnerView;return a[e(486)]({acceptedType:e(506)}),a[e(486)]({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(472)](e(496)).to(s),a[e(472)](e(475)).to(s,e(493),(t=>i(n[e(483)],e(t?484:490)))),c[e(472)](e(489)).to(s,e(493)),a[e(477)][e(472)](e(489)).to(s,e(493),(t=>!t)),a[e(471)][e(481)](c),a.on(e(508),((t,r)=>{const i=e;n[i(494)](i(467),r[0],{}),n[i(479)][i(470)][i(495)]()})),a}}var p=e(331),u=e(783),l=e(584);const d=h;function h(t,r){const e=f();return(h=function(t,r){return e[t-=463]})(t,r)}function f(){const t=["low","selection","7HGomJM","element","2366268vrFxvq","change:range","paragraph","getToken","execute","parent","refresh","fire","312495sxeHrh","model","isEmpty","isBusy","finally","schema","bind","importWord:","removeMarker","then","3524910fZWPDo","editing","view","plugins","has","dataInsert","stopListening","editor","45pfhMLJ","createPositionBefore","config","_checkEnabled","import-word-plugin-conversion-failed","An error occurred while importing the Word file.","_undoStepBatch","ImportWordEditing","import-word-plugin-import-cancelled","showWarning","checkChild","catch","_abortController","locale","rootName","_handleImportResponse","isCollapsed","MergeFields","getFirstPosition","createBatch","formatting","file","_prepareForImport","$graveyard","position","converterUrl","resolve","_sendImportRequest","json","resolvedOptions","stringify","importWord","getRange","addMarker","set","headers","isAtStart","78542XqHVtY","abort","mergeFields","1785448VrHAwk","markers","timeZone","document","split","_cleanUpAfterImport","1181674AyXDKx","signal","Notification","4BNJEdk","isEnabled","root","DateTimeFormat","value","isAtEnd","_handleImportFailure","Authorization","941496OpKjvp","createPositionAfter","_importMarker","enqueueChange","get","merge_fields","POST","clipboardInput","text/html","setData","html","aborted","reject","deleteContent","setSelection","getSelectedBlocks"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(381268===parseInt(r(471))/1+-parseInt(r(480))/2+-parseInt(r(491))/3+parseInt(r(483))/4*(parseInt(r(519))/5)+parseInt(r(511))/6*(-parseInt(r(509))/7)+-parseInt(r(474))/8+-parseInt(r(537))/9*(-parseInt(r(529))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=h;super(t),this[r(468)](r(522),!1),this[r(493)]=null,this[r(543)]=null,this[r(549)]=null,this.on(r(534),((e,n)=>{const i=r,o=new DataTransfer;o[i(500)](i(499),n[i(501)]);const s=this[i(493)][i(466)]();this[i(536)][i(520)][i(494)](this[i(543)],(r=>{const e=i;this[e(493)][e(535)](),r[e(505)](s),t[e(530)][e(531)][e(477)][e(518)](e(498),{dataTransfer:o})}))}),{priority:r(507)})}[d(517)](){const t=d;this[t(484)]=this[t(540)]()}[d(515)](t,r={}){const e=d;if(this[e(522)])return Promise[e(563)]();const n=this[e(536)][e(539)][e(495)](e(465));if(this[e(536)][e(532)][e(533)](e(554))){const{prefix:t,suffix:n}=this[e(536)][e(539)][e(495)](e(473));r[e(496)]={prefix:t,suffix:n}}const i={url:n[e(562)],file:t,serviceConfig:{...r,formatting:n[e(557)],timezone:(new(Intl[e(486)]))[e(463)]()[e(476)]}};return this[e(559)](),this[e(564)](i)[e(528)](this[e(552)][e(525)](this))[e(548)](this[e(489)][e(525)](this))[e(523)](this[e(479)][e(525)](this))}[d(540)](){const t=d;if(this[t(522)])return!1;const r=this[t(536)][t(520)],e=r[t(524)],n=r[t(477)][t(508)],i=(0,l.first)(n[t(506)]());return!!i&&e[t(547)](i[t(516)],t(513))}[d(559)](){const t=d,r=this[t(536)],e=r[t(520)],n=e[t(477)][t(508)];this[t(549)]=new AbortController,this[t(543)]=r[t(520)][t(556)]({isUndoable:!0}),e[t(494)](this[t(543)],(r=>{const i=t;n[i(553)]||e[i(504)](n,{leaveUnmerged:!0});const o=n[i(555)](),s=(0,l.first)(n[i(506)]());let a;a=s.is(i(510),i(513))&&s[i(521)]?o:o[i(470)]?e[i(538)](s):o[i(488)]?e[i(492)](s):r[i(478)](o)[i(561)],this[i(493)]=r[i(467)](i(526)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(493)].on(i(512),(()=>{const t=i;t(560)===this[t(493)][t(466)]()[t(485)][t(551)]&&this[t(549)][t(472)]()}))})),this[t(522)]=!0,this[t(517)]()}[d(479)](){const t=d,r=this[t(536)][t(520)];r[t(475)][t(533)](this[t(493)])&&r[t(494)](this[t(543)],(r=>{const e=t;r[e(527)](this[e(493)])})),this[t(493)]=null,this[t(543)]=null,this[t(549)]=null,this[t(522)]=!1,this[t(517)]()}[d(564)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(536)][n(532)][n(495)](n(544))[n(514)](),o=new FormData;o[n(468)](n(539),JSON[n(464)](e)),o[n(468)](n(558),r);const s={method:n(497),headers:{},body:o,signal:this[n(549)][n(481)]};return i&&(s[n(469)][n(490)]=i[n(487)]),fetch(t,s)}[d(552)](t){const r=d;return t.ok?t[r(565)]()[r(528)]((t=>{const e=r;this[e(536)][e(520)][e(475)][e(533)](this[e(493)])&&e(560)!==this[e(493)][e(466)]()[e(485)][e(551)]&&this[e(518)](e(534),t)})):Promise[r(503)]()}[d(489)](){const t=d;if(this[t(549)][t(481)][t(502)])return void(0,l.logWarning)(t(545));const r=this[t(536)],e=i(r[t(550)],t(542));r[t(532)][t(495)](t(482))[t(546)](e),(0,l.logError)(t(541))}}const g=I;function I(t,r){const e=w();return(I=function(t,r){return e[t-=178]})(t,r)}!function(t){const r=I,e=t();for(;;)try{if(764052===-parseInt(r(199))/1+parseInt(r(207))/2*(-parseInt(r(188))/3)+parseInt(r(203))/4*(parseInt(r(180))/5)+parseInt(r(189))/6+parseInt(r(194))/7*(parseInt(r(182))/8)+-parseInt(r(196))/9+-parseInt(r(193))/10*(parseInt(r(200))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w);class v extends t.Plugin{static get[g(185)](){return g(211)}static get[g(204)](){return!0}static get[g(192)](){return!0}static get[g(209)](){const t=g;return[r.Notification,p.ClipboardPipeline,t(179)]}constructor(t){const r=g;super(t),this[r(210)]=null}async[g(205)](){const t=g,r=this[t(206)];r[t(195)][t(186)](t(187),{converterUrl:t(191),tokenUrl:(r[t(195)][t(184)](t(183))||{})[t(181)],formatting:{resets:t(178),defaults:t(178),styles:t(212)}}),r[t(201)][t(197)](t(187),new m(r));const{tokenUrl:e}=r[t(195)][t(184)](t(187));if(e){const{tokenUrl:n}=r[t(195)][t(184)](t(183))||{};this[t(210)]=e===n?r[t(208)][t(184)](t(179))[t(190)]:await r[t(208)][t(184)](t(179))[t(202)](e)}}[g(198)](){return this[g(210)]}}function w(){const t=["isPremiumPlugin","110aqkXNe","35nPDWlO","config","1602171DRjSAA","add","getToken","569989WVmolj","1735844hsMVvz","commands","registerTokenUrl","43996GmdggM","isOfficialPlugin","init","editor","13572xQMlxW","plugins","requires","_token","ImportWordEditing","inline","none","CloudServices","685oDTMvS","tokenUrl","972976Nggixa","cloudServices","get","pluginName","define","importWord","72dlMGxI","7774770ipBHLA","token","https://docx-converter.cke-cs.com/v2/convert/docx-html"];return(w=function(){return t})()}var x=W;function W(t,r){var e=k();return(W=function(t,r){return e[t-=313]})(t,r)}!function(t){for(var r=W,e=t();;)try{if(306604===parseInt(r(322))/1*(parseInt(r(326))/2)+-parseInt(r(329))/3*(parseInt(r(314))/4)+-parseInt(r(313))/5*(parseInt(r(327))/6)+-parseInt(r(316))/7*(-parseInt(r(323))/8)+parseInt(r(318))/9*(-parseInt(r(319))/10)+-parseInt(r(328))/11+parseInt(r(317))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k);class b extends t.Plugin{static get[x(320)](){return x(321)}static get[x(324)](){return!0}static get[x(325)](){return!0}static get[x(315)](){return[v,c]}}function k(){var t=["79204CCChiE","6JNJaFs","2529296cdmsiL","9pwJQnc","565715vVwcjQ","360988BfnSTL","requires","217jEQVns","7517940UjrGhA","666RmKlHZ","5860YRlnMR","pluginName","ImportWord","5QGdzjF","35944xJsiNf","isOfficialPlugin","isPremiumPlugin"];return(k=function(){return t})()}function y(t,r){var e=A();return(y=function(t,r){return e[t-=293]})(t,r)}function A(){var t=["102612QtakAk","291417WdBNDN","4OZpTtC","20XUQAGf","18149494LVXBUO","85BfbLla","1839425gRpfms","2925664zXaFmW","333468AUjMtF","2IALcBs","3247146UfCQlU"];return(A=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(595344===parseInt(r(299))/1*(parseInt(r(296))/2)+-parseInt(r(297))/3*(parseInt(r(300))/4)+parseInt(r(303))/5*(parseInt(r(298))/6)+-parseInt(r(293))/7+-parseInt(r(294))/8+-parseInt(r(295))/9*(-parseInt(r(301))/10)+parseInt(r(302))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(A)})(),(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 _0x4bee43,Command as _0x1e73b8}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x207578,MenuBarMenuListItemFileDialogButtonView as _0x3a97a3,SpinnerView as _0x190cb7,Notification as _0x730691}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x56a429}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x32ea78}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5561f7,uid as _0x417c5c,logWarning as _0x22735d,logError as _0x5d98c3}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x2f5596,_0x59b334){const t=_0x2f5596['t'];switch(_0x59b334){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 _0x59b334;}}class i extends _0x4bee43{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4565d9=this['editor'];_0x4565d9['ui']['componentFactory']['add']('importWord',()=>{const _0x3d9c5f=this['_createButton'](_0x207578),_0xda63c1=_0x4565d9['commands']['get']('importWord');return _0x3d9c5f['bind']('isOn')['to'](_0xda63c1,'isBusy'),_0x3d9c5f['tooltip']=!0x0,_0x3d9c5f;}),_0x4565d9['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x3a97a3));}['_createButton'](_0x47724c){const _0x1c1f08=this['editor'],_0x1b2777=_0x1c1f08['commands']['get']('importWord'),_0x4108a0=new _0x47724c(_0x1c1f08['locale']),_0x35324e=new _0x190cb7();return _0x4108a0['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x4108a0['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'}),_0x4108a0['bind']('isEnabled')['to'](_0x1b2777),_0x4108a0['bind']('label')['to'](_0x1b2777,'isBusy',_0x379a2f=>p(_0x1c1f08['locale'],_0x379a2f?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x35324e['bind']('isVisible')['to'](_0x1b2777,'isBusy'),_0x4108a0['iconView']['bind']('isVisible')['to'](_0x1b2777,'isBusy',_0x33a78f=>!_0x33a78f),_0x4108a0['children']['add'](_0x35324e),_0x4108a0['on']('done',(_0x1dfcdc,_0x1d292f)=>{_0x1c1f08['execute']('importWord',_0x1d292f[0x0],{}),_0x1c1f08['editing']['view']['focus']();}),_0x4108a0;}}class d extends _0x1e73b8{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x40bf12){super(_0x40bf12),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x1dc104,_0x4bc7d6)=>{const _0xb7cbda=new DataTransfer();_0xb7cbda['setData']('text/html',_0x4bc7d6['html']);const _0x43d7a8=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x47d3ef=>{this['_importMarker']['stopListening'](),_0x47d3ef['setSelection'](_0x43d7a8),_0x40bf12['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0xb7cbda});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1bfae3,_0x5efae0={}){if(this['isBusy'])return Promise['resolve']();const _0x189b6c=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x1c4b42,suffix:_0x31d89e}=this['editor']['config']['get']('mergeFields');_0x5efae0['merge_fields']={'prefix':_0x1c4b42,'suffix':_0x31d89e};}const _0x551c04={'url':_0x189b6c['converterUrl'],'file':_0x1bfae3,'serviceConfig':{..._0x5efae0,'formatting':_0x189b6c['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x551c04)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x2065e9=this['editor']['model'],_0x1895b0=_0x2065e9['schema'],_0x148def=_0x2065e9['document']['selection'],_0x4e574a=_0x5561f7(_0x148def['getSelectedBlocks']());return!!_0x4e574a&&_0x1895b0['checkChild'](_0x4e574a['parent'],'paragraph');}['_prepareForImport'](){const _0x4e0351=this['editor'],_0x151bf8=_0x4e0351['model'],_0x1eed96=_0x151bf8['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x4e0351['model']['createBatch']({'isUndoable':!0x0}),_0x151bf8['enqueueChange'](this['_undoStepBatch'],_0x424124=>{_0x1eed96['isCollapsed']||_0x151bf8['deleteContent'](_0x1eed96,{'leaveUnmerged':!0x0});const _0x4f1eb7=_0x1eed96['getFirstPosition'](),_0x18b40e=_0x5561f7(_0x1eed96['getSelectedBlocks']());let _0x5915b9;_0x5915b9=_0x18b40e['is']('element','paragraph')&&_0x18b40e['isEmpty']?_0x4f1eb7:_0x4f1eb7['isAtStart']?_0x151bf8['createPositionBefore'](_0x18b40e):_0x4f1eb7['isAtEnd']?_0x151bf8['createPositionAfter'](_0x18b40e):_0x424124['split'](_0x4f1eb7)['position'],this['_importMarker']=_0x424124['addMarker']('importWord:'+_0x417c5c(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x32ea78(_0x5915b9)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x1daceb=this['editor']['model'];_0x1daceb['markers']['has'](this['_importMarker'])&&_0x1daceb['enqueueChange'](this['_undoStepBatch'],_0x512440=>{_0x512440['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x519e71,file:_0x4b6054,serviceConfig:_0x40a86b}){const _0x5c7e94=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x17fdbd=new FormData();_0x17fdbd['set']('config',JSON['stringify'](_0x40a86b)),_0x17fdbd['set']('file',_0x4b6054);const _0x4ff372={'method':'POST','headers':{},'body':_0x17fdbd,'signal':this['_abortController']['signal']};return _0x5c7e94&&(_0x4ff372['headers']['Authorization']=_0x5c7e94['value']),fetch(_0x519e71,_0x4ff372);}['_handleImportResponse'](_0x344899){return _0x344899['ok']?_0x344899['json']()['then'](_0x56ef63=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x56ef63);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x22735d('import-word-plugin-import-cancelled');const _0x40aa13=this['editor'],_0x4afa89=p(_0x40aa13['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x40aa13['plugins']['get']('Notification')['showWarning'](_0x4afa89),_0x5d98c3('import-word-plugin-conversion-failed');}}class e extends _0x4bee43{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x730691,_0x56a429,'CloudServices'];}constructor(_0x56fc2c){super(_0x56fc2c),this['_token']=null;}async['init'](){const _0xce7ab=this['editor'];_0xce7ab['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0xce7ab['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0xce7ab['commands']['add']('importWord',new d(_0xce7ab));const {tokenUrl:_0x342b2d}=_0xce7ab['config']['get']('importWord');if(_0x342b2d){const {tokenUrl:_0x32c4bb}=_0xce7ab['config']['get']('cloudServices')||{};this['_token']=_0x342b2d===_0x32c4bb?_0xce7ab['plugins']['get']('CloudServices')['token']:await _0xce7ab['plugins']['get']('CloudServices')['registerTokenUrl'](_0x342b2d);}}['getToken'](){return this['_token'];}}class o extends _0x4bee43{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':_0x2a993b=>0x1!=_0x2a993b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e780f=>{const {af:{dictionary:_0x1568b8,getPluralForm:_0x178a5e}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x463f59=>0x1!=_0x463f59}};_0x3e780f['af']||={'dictionary':{},'getPluralForm':null},_0x3e780f['af']['dictionary']=Object['assign'](_0x3e780f['af']['dictionary'],_0x1568b8),_0x3e780f['af']['getPluralForm']=_0x178a5e;})(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':_0x24f02e=>0x0==_0x24f02e?0x0:0x1==_0x24f02e?0x1:0x2==_0x24f02e?0x2:_0x24f02e%0x64>=0x3&&_0x24f02e%0x64<=0xa?0x3:_0x24f02e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15c4a7=>{const {ar:{dictionary:_0x433dec,getPluralForm:_0x5efafb}}={'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':_0x1e01f8=>0x0==_0x1e01f8?0x0:0x1==_0x1e01f8?0x1:0x2==_0x1e01f8?0x2:_0x1e01f8%0x64>=0x3&&_0x1e01f8%0x64<=0xa?0x3:_0x1e01f8%0x64>=0xb?0x4:0x5}};_0x15c4a7['ar']||={'dictionary':{},'getPluralForm':null},_0x15c4a7['ar']['dictionary']=Object['assign'](_0x15c4a7['ar']['dictionary'],_0x433dec),_0x15c4a7['ar']['getPluralForm']=_0x5efafb;})(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':_0x4c609c=>0x1!=_0x4c609c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1e02ed=>{const {ast:{dictionary:_0x505cb2,getPluralForm:_0x21e33e}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x573522=>0x1!=_0x573522}};_0x1e02ed['ast']||={'dictionary':{},'getPluralForm':null},_0x1e02ed['ast']['dictionary']=Object['assign'](_0x1e02ed['ast']['dictionary'],_0x505cb2),_0x1e02ed['ast']['getPluralForm']=_0x21e33e;})(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':_0x2adc32=>0x1!=_0x2adc32}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x53b449=>{const {az:{dictionary:_0x45cd08,getPluralForm:_0x1f93ef}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x476d50=>0x1!=_0x476d50}};_0x53b449['az']||={'dictionary':{},'getPluralForm':null},_0x53b449['az']['dictionary']=Object['assign'](_0x53b449['az']['dictionary'],_0x45cd08),_0x53b449['az']['getPluralForm']=_0x1f93ef;})(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':_0x1c1889=>0x1!=_0x1c1889}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x207516=>{const {bg:{dictionary:_0x8e353d,getPluralForm:_0x27face}}={'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':_0xd3367=>0x1!=_0xd3367}};_0x207516['bg']||={'dictionary':{},'getPluralForm':null},_0x207516['bg']['dictionary']=Object['assign'](_0x207516['bg']['dictionary'],_0x8e353d),_0x207516['bg']['getPluralForm']=_0x27face;})(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':_0x389cec=>0x1!=_0x389cec}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c0aed=>{const {bn:{dictionary:_0x38b4b5,getPluralForm:_0x4a962e}}={'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':_0x4340fa=>0x1!=_0x4340fa}};_0x2c0aed['bn']||={'dictionary':{},'getPluralForm':null},_0x2c0aed['bn']['dictionary']=Object['assign'](_0x2c0aed['bn']['dictionary'],_0x38b4b5),_0x2c0aed['bn']['getPluralForm']=_0x4a962e;})(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':_0x5cca36=>_0x5cca36%0xa==0x1&&_0x5cca36%0x64!=0xb?0x0:_0x5cca36%0xa>=0x2&&_0x5cca36%0xa<=0x4&&(_0x5cca36%0x64<0xa||_0x5cca36%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34622e=>{const {bs:{dictionary:_0x40d48a,getPluralForm:_0x5a6e00}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x21c7bb=>_0x21c7bb%0xa==0x1&&_0x21c7bb%0x64!=0xb?0x0:_0x21c7bb%0xa>=0x2&&_0x21c7bb%0xa<=0x4&&(_0x21c7bb%0x64<0xa||_0x21c7bb%0x64>=0x14)?0x1:0x2}};_0x34622e['bs']||={'dictionary':{},'getPluralForm':null},_0x34622e['bs']['dictionary']=Object['assign'](_0x34622e['bs']['dictionary'],_0x40d48a),_0x34622e['bs']['getPluralForm']=_0x5a6e00;})(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':_0x30b64f=>0x1!=_0x30b64f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x21149d=>{const {ca:{dictionary:_0x53499d,getPluralForm:_0x1305a0}}={'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':_0x114ce6=>0x1!=_0x114ce6}};_0x21149d['ca']||={'dictionary':{},'getPluralForm':null},_0x21149d['ca']['dictionary']=Object['assign'](_0x21149d['ca']['dictionary'],_0x53499d),_0x21149d['ca']['getPluralForm']=_0x1305a0;})(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':_0x40d635=>0x1==_0x40d635?0x0:_0x40d635>=0x2&&_0x40d635<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1121d=>{const {cs:{dictionary:_0xc4fb9f,getPluralForm:_0x6f75a3}}={'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':_0x4cc6be=>0x1==_0x4cc6be?0x0:_0x4cc6be>=0x2&&_0x4cc6be<=0x4?0x1:0x2}};_0x1121d['cs']||={'dictionary':{},'getPluralForm':null},_0x1121d['cs']['dictionary']=Object['assign'](_0x1121d['cs']['dictionary'],_0xc4fb9f),_0x1121d['cs']['getPluralForm']=_0x6f75a3;})(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':_0x7c1810=>0x1!=_0x7c1810}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48fbad=>{const {da:{dictionary:_0x10c2e9,getPluralForm:_0x50207c}}={'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':_0x400066=>0x1!=_0x400066}};_0x48fbad['da']||={'dictionary':{},'getPluralForm':null},_0x48fbad['da']['dictionary']=Object['assign'](_0x48fbad['da']['dictionary'],_0x10c2e9),_0x48fbad['da']['getPluralForm']=_0x50207c;})(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':_0x231882=>0x1!=_0x231882}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x37160f=>{const {'de-ch':{dictionary:_0x336e6f,getPluralForm:_0x364115}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2bb12f=>0x1!=_0x2bb12f}};_0x37160f['de-ch']||={'dictionary':{},'getPluralForm':null},_0x37160f['de-ch']['dictionary']=Object['assign'](_0x37160f['de-ch']['dictionary'],_0x336e6f),_0x37160f['de-ch']['getPluralForm']=_0x364115;})(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':_0x509e06=>0x1!=_0x509e06}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x312de3=>{const {de:{dictionary:_0x3d3578,getPluralForm:_0x36d83b}}={'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':_0x2b5cd4=>0x1!=_0x2b5cd4}};_0x312de3['de']||={'dictionary':{},'getPluralForm':null},_0x312de3['de']['dictionary']=Object['assign'](_0x312de3['de']['dictionary'],_0x3d3578),_0x312de3['de']['getPluralForm']=_0x36d83b;})(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':_0x3f711d=>0x1!=_0x3f711d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x21d8af=>{const {el:{dictionary:_0x2fb4c4,getPluralForm:_0x2621af}}={'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':_0x401436=>0x1!=_0x401436}};_0x21d8af['el']||={'dictionary':{},'getPluralForm':null},_0x21d8af['el']['dictionary']=Object['assign'](_0x21d8af['el']['dictionary'],_0x2fb4c4),_0x21d8af['el']['getPluralForm']=_0x2621af;})(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':_0x394c5a=>0x1!=_0x394c5a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10e380=>{const {'en-au':{dictionary:_0x4cc346,getPluralForm:_0x153cdb}}={'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':_0x46ec46=>0x1!=_0x46ec46}};_0x10e380['en-au']||={'dictionary':{},'getPluralForm':null},_0x10e380['en-au']['dictionary']=Object['assign'](_0x10e380['en-au']['dictionary'],_0x4cc346),_0x10e380['en-au']['getPluralForm']=_0x153cdb;})(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':_0x3d030f=>0x1!=_0x3d030f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x518ea7=>{const {'en-gb':{dictionary:_0x694938,getPluralForm:_0x26c980}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x14f105=>0x1!=_0x14f105}};_0x518ea7['en-gb']||={'dictionary':{},'getPluralForm':null},_0x518ea7['en-gb']['dictionary']=Object['assign'](_0x518ea7['en-gb']['dictionary'],_0x694938),_0x518ea7['en-gb']['getPluralForm']=_0x26c980;})(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':_0xd918d5=>0x1!=_0xd918d5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1bfd20=>{const {en:{dictionary:_0x27cfad,getPluralForm:_0x37a773}}={'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':_0x3b7701=>0x1!=_0x3b7701}};_0x1bfd20['en']||={'dictionary':{},'getPluralForm':null},_0x1bfd20['en']['dictionary']=Object['assign'](_0x1bfd20['en']['dictionary'],_0x27cfad),_0x1bfd20['en']['getPluralForm']=_0x37a773;})(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':_0x34020e=>0x1!=_0x34020e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x133962=>{const {eo:{dictionary:_0x182061,getPluralForm:_0x226d13}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x55437d=>0x1!=_0x55437d}};_0x133962['eo']||={'dictionary':{},'getPluralForm':null},_0x133962['eo']['dictionary']=Object['assign'](_0x133962['eo']['dictionary'],_0x182061),_0x133962['eo']['getPluralForm']=_0x226d13;})(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':_0x2d2884=>0x1!=_0x2d2884}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x448247=>{const {'es-co':{dictionary:_0x2934d9,getPluralForm:_0xb20ba}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x172d97=>0x1!=_0x172d97}};_0x448247['es-co']||={'dictionary':{},'getPluralForm':null},_0x448247['es-co']['dictionary']=Object['assign'](_0x448247['es-co']['dictionary'],_0x2934d9),_0x448247['es-co']['getPluralForm']=_0xb20ba;})(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':_0x101403=>0x1!=_0x101403}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x21cfbe=>{const {es:{dictionary:_0x56e1c,getPluralForm:_0x17f8d6}}={'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':_0x5f4d09=>0x1!=_0x5f4d09}};_0x21cfbe['es']||={'dictionary':{},'getPluralForm':null},_0x21cfbe['es']['dictionary']=Object['assign'](_0x21cfbe['es']['dictionary'],_0x56e1c),_0x21cfbe['es']['getPluralForm']=_0x17f8d6;})(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':_0x12fc64=>0x1!=_0x12fc64}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x43970c=>{const {et:{dictionary:_0x55d8ea,getPluralForm:_0x5a16a0}}={'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':_0x4a0386=>0x1!=_0x4a0386}};_0x43970c['et']||={'dictionary':{},'getPluralForm':null},_0x43970c['et']['dictionary']=Object['assign'](_0x43970c['et']['dictionary'],_0x55d8ea),_0x43970c['et']['getPluralForm']=_0x5a16a0;})(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':_0x5d51f7=>0x1!=_0x5d51f7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x44e86f=>{const {eu:{dictionary:_0x4e3472,getPluralForm:_0x1eb217}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x15aec5=>0x1!=_0x15aec5}};_0x44e86f['eu']||={'dictionary':{},'getPluralForm':null},_0x44e86f['eu']['dictionary']=Object['assign'](_0x44e86f['eu']['dictionary'],_0x4e3472),_0x44e86f['eu']['getPluralForm']=_0x1eb217;})(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':_0x1e8304=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ef541=>{const {fa:{dictionary:_0x57e507,getPluralForm:_0x1585df}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4f224a=>0x0}};_0x1ef541['fa']||={'dictionary':{},'getPluralForm':null},_0x1ef541['fa']['dictionary']=Object['assign'](_0x1ef541['fa']['dictionary'],_0x57e507),_0x1ef541['fa']['getPluralForm']=_0x1585df;})(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':_0x3b5a40=>0x1!=_0x3b5a40}};
|