@ckeditor/ckeditor5-import-word 0.0.0-nightly-20250206.0 → 0.0.0-nightly-20250207.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 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=a;function s(){const t=["24NzYVXA","view","isVisible","label","execute","isPremiumPlugin","init","_createButton","set","locale","5apetaA","focus","children","4493137kCjSVR","done","2qAtiqj","menuBar:importWord","4204251BwiVsg","commands","211749AFdEJI","ImportWordUI","Import from Word","editor","isOfficialPlugin","tooltip","iconView","isOn","pluginName","isEnabled","bind","isBusy","20jyDFXE","5202YtTBBT","2352909tZONOs","564qDpsop","93352zzDeoq","editing","2708088qCtBZU","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","11392tfCeTn","componentFactory","importWord","Importing Word document","get","add"];return(s=function(){return t})()}function a(t,r){const e=s();return(a=function(t,r){return e[t-=426]})(t,r)}!function(t){const r=a,e=t();for(;;)try{if(968954===-parseInt(r(469))/1+-parseInt(r(465))/2*(-parseInt(r(467))/3)+parseInt(r(442))/4*(parseInt(r(460))/5)+parseInt(r(439))/6*(-parseInt(r(440))/7)+parseInt(r(444))/8*(-parseInt(r(437))/9)+-parseInt(r(436))/10*(-parseInt(r(463))/11)+parseInt(r(450))/12*(parseInt(r(438))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[o(432)](){return o(470)}static get[o(428)](){return!0}static get[o(455)](){return!0}[o(456)](){const t=o,e=this[t(427)];e.ui[t(445)][t(449)](t(446),(()=>{const n=t,i=this[n(457)](r.FileDialogButtonView),o=e[n(468)][n(448)](n(446));return i[n(434)](n(431)).to(o,n(435)),i[n(429)]=!0,i})),e.ui[t(445)][t(449)](t(466),(()=>this[t(457)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(457)](t){const e=o,n=this[e(427)],s=n[e(468)][e(448)](e(446)),a=new t(n[e(459)]),c=new r.SpinnerView;return a[e(458)]({acceptedType:e(443)}),a[e(458)]({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(434)](e(433)).to(s),a[e(434)](e(453)).to(s,e(435),(t=>i(n[e(459)],e(t?447:426)))),c[e(434)](e(452)).to(s,e(435)),a[e(430)][e(434)](e(452)).to(s,e(435),(t=>!t)),a[e(462)][e(449)](c),a.on(e(464),((t,r)=>{const i=e;n[i(454)](i(446),r[0],{}),n[i(441)][i(451)][i(461)]()})),a}}var p=e(331),u=e(783),l=e(584);const d=h;function h(t,r){const e=m();return(h=function(t,r){return e[t-=374]})(t,r)}!function(t){const r=h,e=t();for(;;)try{if(860929===-parseInt(r(475))/1*(-parseInt(r(384))/2)+-parseInt(r(461))/3+parseInt(r(415))/4*(parseInt(r(394))/5)+-parseInt(r(470))/6+parseInt(r(380))/7*(parseInt(r(425))/8)+-parseInt(r(411))/9+parseInt(r(435))/10*(-parseInt(r(450))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(m);class f extends t.Command{constructor(t){const r=h;super(t),this[r(379)](r(474),!1),this[r(477)]=null,this[r(472)]=null,this[r(443)]=null,this.on(r(388),((e,n)=>{const i=r,o=new DataTransfer;o[i(386)](i(468),n[i(469)]);const s=this[i(477)][i(471)]();this[i(422)][i(419)][i(464)](this[i(472)],(r=>{const e=i;this[e(477)][e(375)](),r[e(447)](s),t[e(421)][e(451)][e(391)][e(432)](e(438),{dataTransfer:o})}))}),{priority:r(396)})}[d(374)](){const t=d;this[t(400)]=this[t(397)]()}[d(458)](t,r={}){const e=d;if(this[e(474)])return Promise[e(403)]();const n=this[e(422)][e(476)][e(382)](e(441));if(this[e(422)][e(440)][e(460)](e(393))){const{prefix:t,suffix:n}=this[e(422)][e(476)][e(382)](e(456));r[e(430)]={prefix:t,suffix:n}}const i={url:n[e(437)],file:t,serviceConfig:{...r,formatting:n[e(408)],timezone:(new(Intl[e(390)]))[e(389)]()[e(420)]}};return this[e(428)](),this[e(424)](i)[e(423)](this[e(417)][e(377)](this))[e(404)](this[e(401)][e(377)](this))[e(448)](this[e(465)][e(377)](this))}[d(397)](){const t=d;if(this[t(474)])return!1;const r=this[t(422)][t(419)],e=r[t(409)],n=r[t(391)][t(413)],i=(0,l.first)(n[t(427)]());return!!i&&e[t(407)](i[t(385)],t(445))}[d(428)](){const t=d,r=this[t(422)],e=r[t(419)],n=e[t(391)][t(413)];this[t(443)]=new AbortController,this[t(472)]=r[t(419)][t(462)]({isUndoable:!0}),e[t(464)](this[t(472)],(r=>{const i=t;n[i(398)]||e[i(378)](n,{leaveUnmerged:!0});const o=n[i(402)](),s=(0,l.first)(n[i(427)]());let a;a=s.is(i(463),i(445))&&s[i(414)]?o:o[i(416)]?e[i(446)](s):o[i(442)]?e[i(426)](s):r[i(395)](o)[i(453)],this[i(477)]=r[i(381)](i(376)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(477)].on(i(452),(()=>{const t=i;t(467)===this[t(477)][t(471)]()[t(431)][t(473)]&&this[t(443)][t(439)]()}))})),this[t(474)]=!0,this[t(374)]()}[d(465)](){const t=d,r=this[t(422)][t(419)];r[t(406)][t(460)](this[t(477)])&&r[t(464)](this[t(472)],(r=>{const e=t;r[e(434)](this[e(477)])})),this[t(477)]=null,this[t(472)]=null,this[t(443)]=null,this[t(474)]=!1,this[t(374)]()}[d(424)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(422)][n(440)][n(382)](n(383))[n(399)](),o=new FormData;o[n(379)](n(476),JSON[n(410)](e)),o[n(379)](n(429),r);const s={method:n(455),headers:{},body:o,signal:this[n(443)][n(454)]};return i&&(s[n(433)][n(387)]=i[n(418)]),fetch(t,s)}[d(417)](t){const r=d;return t.ok?t[r(405)]()[r(423)]((t=>{const e=r;this[e(422)][e(419)][e(406)][e(460)](this[e(477)])&&e(467)!==this[e(477)][e(471)]()[e(431)][e(473)]&&this[e(432)](e(388),t)})):Promise[r(392)]()}[d(401)](){const t=d;if(this[t(443)][t(454)][t(449)])return void(0,l.logWarning)(t(412));const r=this[t(422)],e=i(r[t(459)],t(436));r[t(440)][t(382)](t(444))[t(466)](e),(0,l.logError)(t(457))}}function m(){const t=["aborted","11020614gkJxrC","view","change:range","position","signal","POST","mergeFields","import-word-plugin-conversion-failed","execute","locale","has","2975787ZKIpKZ","createBatch","element","enqueueChange","_cleanUpAfterImport","showWarning","$graveyard","text/html","html","6578508pRAPDs","getRange","_undoStepBatch","rootName","isBusy","13lXsbvN","config","_importMarker","refresh","stopListening","importWord:","bind","deleteContent","set","10747478llKWtK","addMarker","get","ImportWordEditing","202924vHkDUp","parent","setData","Authorization","dataInsert","resolvedOptions","DateTimeFormat","document","reject","MergeFields","334895IMJtsR","split","low","_checkEnabled","isCollapsed","getToken","isEnabled","_handleImportFailure","getFirstPosition","resolve","catch","json","markers","checkChild","formatting","schema","stringify","5199165hXogKn","import-word-plugin-import-cancelled","selection","isEmpty","100OOOvoY","isAtStart","_handleImportResponse","value","model","timeZone","editing","editor","then","_sendImportRequest","8mpmpdB","createPositionAfter","getSelectedBlocks","_prepareForImport","file","merge_fields","root","fire","headers","removeMarker","10YYtMpZ","An error occurred while importing the Word file.","converterUrl","clipboardInput","abort","plugins","importWord","isAtEnd","_abortController","Notification","paragraph","createPositionBefore","setSelection","finally"];return(m=function(){return t})()}function g(t,r){const e=v();return(g=function(t,r){return e[t-=339]})(t,r)}const I=g;function v(){const t=["requires","1386195papOsc","inline","editor","config","_token","token","ImportWordEditing","15916PxdFau","importWord","init","cloudServices","getToken","registerTokenUrl","19wvrxZZ","plugins","8sQThXr","https://docx-converter.cke-cs.com/v2/convert/docx-html","define","517602DPnjOi","16888ecxSAL","isOfficialPlugin","add","tokenUrl","pluginName","none","CloudServices","get","6628070EewqWo","1446012mDuNMo","isPremiumPlugin","1469223VSafES","commands","2610RVbJBK"];return(v=function(){return t})()}!function(t){const r=g,e=t();for(;;)try{if(427896===parseInt(r(358))/1*(-parseInt(r(352))/2)+-parseInt(r(363))/3+parseInt(r(360))/4*(-parseInt(r(345))/5)+parseInt(r(339))/6+-parseInt(r(341))/7+-parseInt(r(364))/8*(-parseInt(r(343))/9)+parseInt(r(372))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[I(368)](){return I(351)}static get[I(365)](){return!0}static get[I(340)](){return!0}static get[I(344)](){const t=I;return[r.Notification,p.ClipboardPipeline,t(370)]}constructor(t){const r=I;super(t),this[r(349)]=null}async[I(354)](){const t=I,r=this[t(347)];r[t(348)][t(362)](t(353),{converterUrl:t(361),tokenUrl:(r[t(348)][t(371)](t(355))||{})[t(367)],formatting:{resets:t(369),defaults:t(369),styles:t(346)}}),r[t(342)][t(366)](t(353),new f(r));const{tokenUrl:e}=r[t(348)][t(371)](t(353));if(e){const{tokenUrl:n}=r[t(348)][t(371)](t(355))||{};this[t(349)]=e===n?r[t(359)][t(371)](t(370))[t(350)]:await r[t(359)][t(371)](t(370))[t(357)](e)}}[I(356)](){return this[I(349)]}}function x(t,r){var e=W();return(x=function(t,r){return e[t-=446]})(t,r)}var b=x;function W(){var t=["952552WQJPBr","1166145wXxPRc","requires","2kslSxC","290248LRxyqn","isOfficialPlugin","pluginName","6yIjpoN","51560sbvmLv","7935880dqLOwS","isPremiumPlugin","7nkDDGt","2525004vxHbiE","322152nPMnhn","ImportWord"];return(W=function(){return t})()}!function(t){for(var r=x,e=t();;)try{if(164328===parseInt(r(460))/1*(parseInt(r(455))/2)+parseInt(r(450))/3+-parseInt(r(452))/4+parseInt(r(453))/5*(-parseInt(r(459))/6)+parseInt(r(448))/7*(-parseInt(r(456))/8)+-parseInt(r(449))/9+parseInt(r(446))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W);class y extends t.Plugin{static get[b(458)](){return b(451)}static get[b(457)](){return!0}static get[b(447)](){return!0}static get[b(454)](){return[w,c]}}function P(t,r){var e=k();return(P=function(t,r){return e[t-=379]})(t,r)}function k(){var t=["4076toDrZV","781459JujANQ","228060SZKszL","20304333vcXlYm","47538RXCilo","2795ZhGZoA","2azZiqs","5301667DMKfDj","2757960HJhPdy"];return(k=function(){return t})()}!function(t){for(var r=P,e=t();;)try{if(438465===parseInt(r(383))/1*(-parseInt(r(379))/2)+-parseInt(r(386))/3+parseInt(r(382))/4*(-parseInt(r(387))/5)+-parseInt(r(384))/6+-parseInt(r(380))/7+parseInt(r(381))/8+parseInt(r(385))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(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 o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.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 o(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 i=a;function s(){const t=["ImportWordUI","222ASjKFN","isVisible","Import from Word","1467NwhIjW","35LhxjZg","bind","get","64211CMRXwg","componentFactory","locale","1648680HxeTXh","24264oYAoPa","editing","add","iconView","isEnabled","execute","tooltip","importWord","menuBar:importWord","done","init","717252KMiWyB","set","isOfficialPlugin","isPremiumPlugin","editor","1767204LfcUXd","9010wcsMNe","2244635FXoeaM","_createButton","commands","isBusy","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","pluginName","focus","view","children","label","isOn","Importing Word document"];return(s=function(){return t})()}function a(t,e){const r=s();return(a=function(t,e){return r[t-=148]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(472065===parseInt(e(181))/1*(-parseInt(e(163))/2)+parseInt(e(162))/3+-parseInt(e(157))/4+-parseInt(e(164))/5+parseInt(e(177))/6*(parseInt(e(184))/7)+-parseInt(e(188))/8*(-parseInt(e(180))/9)+-parseInt(e(187))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class c extends t.Plugin{static get[i(169)](){return i(176)}static get[i(159)](){return!0}static get[i(160)](){return!0}[i(156)](){const t=i,r=this[t(161)];r.ui[t(185)][t(148)](t(153),(()=>{const n=t,o=this[n(165)](e.FileDialogButtonView),i=r[n(166)][n(183)](n(153));return o[n(182)](n(174)).to(i,n(167)),o[n(152)]=!0,o})),r.ui[t(185)][t(148)](t(154),(()=>this[t(165)](e.MenuBarMenuListItemFileDialogButtonView)))}[i(165)](t){const r=i,n=this[r(161)],s=n[r(166)][r(183)](r(153)),a=new t(n[r(186)]),c=new e.SpinnerView;return a[r(158)]({acceptedType:r(168)}),a[r(158)]({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(182)](r(150)).to(s),a[r(182)](r(173)).to(s,r(167),(t=>o(n[r(186)],r(t?175:179)))),c[r(182)](r(178)).to(s,r(167)),a[r(149)][r(182)](r(178)).to(s,r(167),(t=>!t)),a[r(172)][r(148)](c),a.on(r(155),((t,e)=>{const o=r;n[o(151)](o(153),e[0],{}),n[o(189)][o(171)][o(170)]()})),a}}var p=r(331),u=r(783),l=r(584);const d=f;function h(){const t=["_handleImportFailure","isAtStart","createPositionAfter","reject","locale","catch","mergeFields","fire","getToken","stringify","2446976TjyLrl","$graveyard","8316819VCYovj","view","_undoStepBatch","clipboardInput","isAtEnd","setData","checkChild","isEnabled","then","resolve","set","split","_cleanUpAfterImport","_handleImportResponse","setSelection","get","deleteContent","selection","resolvedOptions","merge_fields","parent","getSelectedBlocks","_checkEnabled","signal","has","isCollapsed","root","import-word-plugin-import-cancelled","14765iNSMnk","position","model","addMarker","markers","config","html","Authorization","formatting","10408SWURPY","importWord","headers","removeMarker","element","plugins","rootName","editing","bind","value","getRange","document","2767498lkrRhK","_importMarker","createPositionBefore","json","192JcXzvv","import-word-plugin-conversion-failed","enqueueChange","low","text/html","timeZone","showWarning","converterUrl","paragraph","change:range","file","abort","_sendImportRequest","execute","schema","MergeFields","isBusy","13320mQGyET","Notification","An error occurred while importing the Word file.","_abortController","709933RqjjGv","refresh","POST","finally","createBatch","importWord:","463734ZvLPOL","stopListening","isEmpty","dataInsert","_prepareForImport","editor","getFirstPosition","ImportWordEditing","aborted","DateTimeFormat"];return(h=function(){return t})()}function f(t,e){const r=h();return(f=function(t,e){return r[t-=116]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(859517===-parseInt(e(165))/1+parseInt(e(140))/2+parseInt(e(171))/3+-parseInt(e(191))/4+-parseInt(e(119))/5*(parseInt(e(144))/6)+-parseInt(e(193))/7+parseInt(e(128))/8*(parseInt(e(161))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(h);class m extends t.Command{constructor(t){const e=f;super(t),this[e(203)](e(160),!1),this[e(141)]=null,this[e(195)]=null,this[e(164)]=null,this.on(e(174),((r,n)=>{const o=e,i=new DataTransfer;i[o(198)](o(148),n[o(125)]);const s=this[o(141)][o(138)]();this[o(176)][o(121)][o(146)](this[o(195)],(e=>{const r=o;this[r(141)][r(172)](),e[r(207)](s),t[r(135)][r(194)][r(139)][r(188)](r(196),{dataTransfer:i})}))}),{priority:e(147)})}[d(166)](){const t=d;this[t(200)]=this[t(215)]()}[d(157)](t,e={}){const r=d;if(this[r(160)])return Promise[r(202)]();const n=this[r(176)][r(124)][r(208)](r(129));if(this[r(176)][r(133)][r(217)](r(159))){const{prefix:t,suffix:n}=this[r(176)][r(124)][r(208)](r(187));e[r(212)]={prefix:t,suffix:n}}const o={url:n[r(151)],file:t,serviceConfig:{...e,formatting:n[r(127)],timezone:(new(Intl[r(180)]))[r(211)]()[r(149)]}};return this[r(175)](),this[r(156)](o)[r(201)](this[r(206)][r(136)](this))[r(186)](this[r(181)][r(136)](this))[r(168)](this[r(205)][r(136)](this))}[d(215)](){const t=d;if(this[t(160)])return!1;const e=this[t(176)][t(121)],r=e[t(158)],n=e[t(139)][t(210)],o=(0,l.first)(n[t(214)]());return!!o&&r[t(199)](o[t(213)],t(152))}[d(175)](){const t=d,e=this[t(176)],r=e[t(121)],n=r[t(139)][t(210)];this[t(164)]=new AbortController,this[t(195)]=e[t(121)][t(169)]({isUndoable:!0}),r[t(146)](this[t(195)],(e=>{const o=t;n[o(116)]||r[o(209)](n,{leaveUnmerged:!0});const i=n[o(177)](),s=(0,l.first)(n[o(214)]());let a;a=s.is(o(132),o(152))&&s[o(173)]?i:i[o(182)]?r[o(142)](s):i[o(197)]?r[o(183)](s):e[o(204)](i)[o(120)],this[o(141)]=e[o(122)](o(170)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[o(141)].on(o(153),(()=>{const t=o;t(192)===this[t(141)][t(138)]()[t(117)][t(134)]&&this[t(164)][t(155)]()}))})),this[t(160)]=!0,this[t(166)]()}[d(205)](){const t=d,e=this[t(176)][t(121)];e[t(123)][t(217)](this[t(141)])&&e[t(146)](this[t(195)],(e=>{const r=t;e[r(131)](this[r(141)])})),this[t(141)]=null,this[t(195)]=null,this[t(164)]=null,this[t(160)]=!1,this[t(166)]()}[d(156)]({url:t,file:e,serviceConfig:r}){const n=d,o=this[n(176)][n(133)][n(208)](n(178))[n(189)](),i=new FormData;i[n(203)](n(124),JSON[n(190)](r)),i[n(203)](n(154),e);const s={method:n(167),headers:{},body:i,signal:this[n(164)][n(216)]};return o&&(s[n(130)][n(126)]=o[n(137)]),fetch(t,s)}[d(206)](t){const e=d;return t.ok?t[e(143)]()[e(201)]((t=>{const r=e;this[r(176)][r(121)][r(123)][r(217)](this[r(141)])&&r(192)!==this[r(141)][r(138)]()[r(117)][r(134)]&&this[r(188)](r(174),t)})):Promise[e(184)]()}[d(181)](){const t=d;if(this[t(164)][t(216)][t(179)])return void(0,l.logWarning)(t(118));const e=this[t(176)],r=o(e[t(185)],t(163));e[t(133)][t(208)](t(162))[t(150)](r),(0,l.logError)(t(145))}}const g=v;function I(){const t=["ImportWordEditing","https://docx-converter.cke-cs.com/v2/convert/docx-html","importWord","registerTokenUrl","none","3JRBLqB","token","455tpLgHW","requires","tokenUrl","define","editor","_token","663vfKohg","isPremiumPlugin","9275352nlBqbu","17742FbHpDH","getToken","CloudServices","454OPalgG","get","plugins","223092llHuyz","410GyOoLa","add","2231036hFqpcK","isOfficialPlugin","commands","config","cloudServices","27860107kSQscQ","inline","pluginName","7891611cMSeQo","init"];return(I=function(){return t})()}function v(t,e){const r=I();return(v=function(t,e){return r[t-=408]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(808038===-parseInt(e(440))/1*(-parseInt(e(411))/2)+-parseInt(e(432))/3*(parseInt(e(417))/4)+-parseInt(e(434))/5*(parseInt(e(408))/6)+parseInt(e(425))/7+-parseInt(e(442))/8+-parseInt(e(414))/9*(parseInt(e(415))/10)+parseInt(e(422))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(I);class w extends t.Plugin{static get[g(424)](){return g(427)}static get[g(418)](){return!0}static get[g(441)](){return!0}static get[g(435)](){const t=g;return[e.Notification,p.ClipboardPipeline,t(410)]}constructor(t){const e=g;super(t),this[e(439)]=null}async[g(426)](){const t=g,e=this[t(438)];e[t(420)][t(437)](t(429),{converterUrl:t(428),tokenUrl:(e[t(420)][t(412)](t(421))||{})[t(436)],formatting:{resets:t(431),defaults:t(431),styles:t(423)}}),e[t(419)][t(416)](t(429),new m(e));const{tokenUrl:r}=e[t(420)][t(412)](t(429));if(r){const{tokenUrl:n}=e[t(420)][t(412)](t(421))||{};this[t(439)]=r===n?e[t(413)][t(412)](t(410))[t(433)]:await e[t(413)][t(412)](t(410))[t(430)](r)}}[g(409)](){return this[g(439)]}}var y=b;function W(){var t=["ImportWord","5840fMeCtj","requires","isPremiumPlugin","1200878CmBxmq","5709GwfpKG","36IyEUxQ","21FbOJnJ","12VTrIxz","157184GXyQPf","1547350ucCjXW","pluginName","1504841oLvdQF","isOfficialPlugin","76040vUaPot","37233vALYjp","18HycAqp","228STdAjU"];return(W=function(){return t})()}function b(t,e){var r=W();return(b=function(t,e){return r[t-=344]})(t,e)}!function(t){for(var e=b,r=t();;)try{if(467208===parseInt(e(348))/1*(-parseInt(e(355))/2)+parseInt(e(356))/3*(parseInt(e(358))/4)+parseInt(e(351))/5+parseInt(e(357))/6*(parseInt(e(345))/7)+-parseInt(e(350))/8*(parseInt(e(347))/9)+-parseInt(e(360))/10*(parseInt(e(346))/11)+parseInt(e(349))/12*(parseInt(e(353))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class x extends t.Plugin{static get[y(352)](){return y(359)}static get[y(354)](){return!0}static get[y(344)](){return!0}static get[y(361)](){return[w,c]}}function P(){var t=["370552HrxKOy","90430CtOZoc","17526vIezFb","42IEEUDd","420pBscXU","2673676DhsGqb","711202mzbxXf","7411190ZakMzW","70NyftHp","1743408FvqyFW"];return(P=function(){return t})()}function k(t,e){var r=P();return(k=function(t,e){return r[t-=185]})(t,e)}!function(t){for(var e=k,r=t();;)try{if(429080===-parseInt(e(193))/1+parseInt(e(188))/2*(parseInt(e(190))/3)+parseInt(e(192))/4+-parseInt(e(191))/5*(parseInt(e(189))/6)+-parseInt(e(185))/7*(parseInt(e(187))/8)+-parseInt(e(186))/9+parseInt(e(194))/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 _0x55a869,Command as _0x57c2da}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x5c7ee0,MenuBarMenuListItemFileDialogButtonView as _0x38f402,SpinnerView as _0x8e9e16,Notification as _0x6cb8ed}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x5beb35}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x1614c1}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0xdc0c2c,uid as _0x546e8d,logWarning as _0x364ba0,logError as _0xc0cbc6}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x274547,_0x3ce5e8){const t=_0x274547['t'];switch(_0x3ce5e8){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 _0x3ce5e8;}}class i extends _0x55a869{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x46d0c9=this['editor'];_0x46d0c9['ui']['componentFactory']['add']('importWord',()=>{const _0x33ced0=this['_createButton'](_0x5c7ee0),_0x2f5eeb=_0x46d0c9['commands']['get']('importWord');return _0x33ced0['bind']('isOn')['to'](_0x2f5eeb,'isBusy'),_0x33ced0['tooltip']=!0x0,_0x33ced0;}),_0x46d0c9['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x38f402));}['_createButton'](_0x1f8560){const _0x40b46f=this['editor'],_0x4de83f=_0x40b46f['commands']['get']('importWord'),_0x259197=new _0x1f8560(_0x40b46f['locale']),_0x59e508=new _0x8e9e16();return _0x259197['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x259197['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'}),_0x259197['bind']('isEnabled')['to'](_0x4de83f),_0x259197['bind']('label')['to'](_0x4de83f,'isBusy',_0x144db6=>p(_0x40b46f['locale'],_0x144db6?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x59e508['bind']('isVisible')['to'](_0x4de83f,'isBusy'),_0x259197['iconView']['bind']('isVisible')['to'](_0x4de83f,'isBusy',_0x40e73f=>!_0x40e73f),_0x259197['children']['add'](_0x59e508),_0x259197['on']('done',(_0x486424,_0x476e6)=>{_0x40b46f['execute']('importWord',_0x476e6[0x0],{}),_0x40b46f['editing']['view']['focus']();}),_0x259197;}}class d extends _0x57c2da{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x3d440a){super(_0x3d440a),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x587746,_0x445d96)=>{const _0x5c74d3=new DataTransfer();_0x5c74d3['setData']('text/html',_0x445d96['html']);const _0x7c5791=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x3f0092=>{this['_importMarker']['stopListening'](),_0x3f0092['setSelection'](_0x7c5791),_0x3d440a['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x5c74d3});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x306e9d,_0x46f6ec={}){if(this['isBusy'])return Promise['resolve']();const _0x552a0d=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x5046bf,suffix:_0x29cb37}=this['editor']['config']['get']('mergeFields');_0x46f6ec['merge_fields']={'prefix':_0x5046bf,'suffix':_0x29cb37};}const _0x357c13={'url':_0x552a0d['converterUrl'],'file':_0x306e9d,'serviceConfig':{..._0x46f6ec,'formatting':_0x552a0d['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x357c13)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x4a06bc=this['editor']['model'],_0x479321=_0x4a06bc['schema'],_0x2efdb7=_0x4a06bc['document']['selection'],_0x3e49f1=_0xdc0c2c(_0x2efdb7['getSelectedBlocks']());return!!_0x3e49f1&&_0x479321['checkChild'](_0x3e49f1['parent'],'paragraph');}['_prepareForImport'](){const _0x3de1a8=this['editor'],_0x1ef986=_0x3de1a8['model'],_0x3a8238=_0x1ef986['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x3de1a8['model']['createBatch']({'isUndoable':!0x0}),_0x1ef986['enqueueChange'](this['_undoStepBatch'],_0x2f39a6=>{_0x3a8238['isCollapsed']||_0x1ef986['deleteContent'](_0x3a8238,{'leaveUnmerged':!0x0});const _0x51aa73=_0x3a8238['getFirstPosition'](),_0xa5f735=_0xdc0c2c(_0x3a8238['getSelectedBlocks']());let _0x11e3ad;_0x11e3ad=_0xa5f735['is']('element','paragraph')&&_0xa5f735['isEmpty']?_0x51aa73:_0x51aa73['isAtStart']?_0x1ef986['createPositionBefore'](_0xa5f735):_0x51aa73['isAtEnd']?_0x1ef986['createPositionAfter'](_0xa5f735):_0x2f39a6['split'](_0x51aa73)['position'],this['_importMarker']=_0x2f39a6['addMarker']('importWord:'+_0x546e8d(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x1614c1(_0x11e3ad)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x519bbb=this['editor']['model'];_0x519bbb['markers']['has'](this['_importMarker'])&&_0x519bbb['enqueueChange'](this['_undoStepBatch'],_0x3a0758=>{_0x3a0758['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x3ebc12,file:_0xff4b10,serviceConfig:_0x1c43a7}){const _0x20c39a=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x895bbf=new FormData();_0x895bbf['set']('config',JSON['stringify'](_0x1c43a7)),_0x895bbf['set']('file',_0xff4b10);const _0x5782f9={'method':'POST','headers':{},'body':_0x895bbf,'signal':this['_abortController']['signal']};return _0x20c39a&&(_0x5782f9['headers']['Authorization']=_0x20c39a['value']),fetch(_0x3ebc12,_0x5782f9);}['_handleImportResponse'](_0x404546){return _0x404546['ok']?_0x404546['json']()['then'](_0x5cfba3=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x5cfba3);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x364ba0('import-word-plugin-import-cancelled');const _0x15f8d0=this['editor'],_0x4679b7=p(_0x15f8d0['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x15f8d0['plugins']['get']('Notification')['showWarning'](_0x4679b7),_0xc0cbc6('import-word-plugin-conversion-failed');}}class e extends _0x55a869{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x6cb8ed,_0x5beb35,'CloudServices'];}constructor(_0x2260c5){super(_0x2260c5),this['_token']=null;}async['init'](){const _0x3af7fe=this['editor'];_0x3af7fe['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x3af7fe['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x3af7fe['commands']['add']('importWord',new d(_0x3af7fe));const {tokenUrl:_0x483668}=_0x3af7fe['config']['get']('importWord');if(_0x483668){const {tokenUrl:_0x5d69bc}=_0x3af7fe['config']['get']('cloudServices')||{};this['_token']=_0x483668===_0x5d69bc?_0x3af7fe['plugins']['get']('CloudServices')['token']:await _0x3af7fe['plugins']['get']('CloudServices')['registerTokenUrl'](_0x483668);}}['getToken'](){return this['_token'];}}class o extends _0x55a869{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':_0x31d501=>0x1!=_0x31d501}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b45f3=>{const {af:{dictionary:_0x82285c,getPluralForm:_0x493083}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x576505=>0x1!=_0x576505}};_0x2b45f3['af']||={'dictionary':{},'getPluralForm':null},_0x2b45f3['af']['dictionary']=Object['assign'](_0x2b45f3['af']['dictionary'],_0x82285c),_0x2b45f3['af']['getPluralForm']=_0x493083;})(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':_0x24864b=>0x0==_0x24864b?0x0:0x1==_0x24864b?0x1:0x2==_0x24864b?0x2:_0x24864b%0x64>=0x3&&_0x24864b%0x64<=0xa?0x3:_0x24864b%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x22ac0a=>{const {ar:{dictionary:_0x1fbd97,getPluralForm:_0x105c93}}={'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':_0x25fcd3=>0x0==_0x25fcd3?0x0:0x1==_0x25fcd3?0x1:0x2==_0x25fcd3?0x2:_0x25fcd3%0x64>=0x3&&_0x25fcd3%0x64<=0xa?0x3:_0x25fcd3%0x64>=0xb?0x4:0x5}};_0x22ac0a['ar']||={'dictionary':{},'getPluralForm':null},_0x22ac0a['ar']['dictionary']=Object['assign'](_0x22ac0a['ar']['dictionary'],_0x1fbd97),_0x22ac0a['ar']['getPluralForm']=_0x105c93;})(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':_0x4caebd=>0x1!=_0x4caebd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5adbec=>{const {ast:{dictionary:_0x5b6c12,getPluralForm:_0x75e898}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x38f178=>0x1!=_0x38f178}};_0x5adbec['ast']||={'dictionary':{},'getPluralForm':null},_0x5adbec['ast']['dictionary']=Object['assign'](_0x5adbec['ast']['dictionary'],_0x5b6c12),_0x5adbec['ast']['getPluralForm']=_0x75e898;})(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':_0x528a4d=>0x1!=_0x528a4d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28d0a2=>{const {az:{dictionary:_0x2667a5,getPluralForm:_0x15303e}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x111e52=>0x1!=_0x111e52}};_0x28d0a2['az']||={'dictionary':{},'getPluralForm':null},_0x28d0a2['az']['dictionary']=Object['assign'](_0x28d0a2['az']['dictionary'],_0x2667a5),_0x28d0a2['az']['getPluralForm']=_0x15303e;})(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':_0x360ca5=>0x1!=_0x360ca5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2de0bf=>{const {bg:{dictionary:_0x58764a,getPluralForm:_0x304c0d}}={'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':_0x4a3d10=>0x1!=_0x4a3d10}};_0x2de0bf['bg']||={'dictionary':{},'getPluralForm':null},_0x2de0bf['bg']['dictionary']=Object['assign'](_0x2de0bf['bg']['dictionary'],_0x58764a),_0x2de0bf['bg']['getPluralForm']=_0x304c0d;})(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':_0x4b1a56=>0x1!=_0x4b1a56}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x482a6e=>{const {bn:{dictionary:_0x2047f5,getPluralForm:_0x24c865}}={'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':_0x228ff6=>0x1!=_0x228ff6}};_0x482a6e['bn']||={'dictionary':{},'getPluralForm':null},_0x482a6e['bn']['dictionary']=Object['assign'](_0x482a6e['bn']['dictionary'],_0x2047f5),_0x482a6e['bn']['getPluralForm']=_0x24c865;})(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':_0x72acb0=>_0x72acb0%0xa==0x1&&_0x72acb0%0x64!=0xb?0x0:_0x72acb0%0xa>=0x2&&_0x72acb0%0xa<=0x4&&(_0x72acb0%0x64<0xa||_0x72acb0%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x54e92d=>{const {bs:{dictionary:_0x28c2a2,getPluralForm:_0x55cde0}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2b7c9f=>_0x2b7c9f%0xa==0x1&&_0x2b7c9f%0x64!=0xb?0x0:_0x2b7c9f%0xa>=0x2&&_0x2b7c9f%0xa<=0x4&&(_0x2b7c9f%0x64<0xa||_0x2b7c9f%0x64>=0x14)?0x1:0x2}};_0x54e92d['bs']||={'dictionary':{},'getPluralForm':null},_0x54e92d['bs']['dictionary']=Object['assign'](_0x54e92d['bs']['dictionary'],_0x28c2a2),_0x54e92d['bs']['getPluralForm']=_0x55cde0;})(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':_0x2633b6=>0x1!=_0x2633b6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x479302=>{const {ca:{dictionary:_0x4b3a55,getPluralForm:_0x4c2959}}={'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':_0x20d73a=>0x1!=_0x20d73a}};_0x479302['ca']||={'dictionary':{},'getPluralForm':null},_0x479302['ca']['dictionary']=Object['assign'](_0x479302['ca']['dictionary'],_0x4b3a55),_0x479302['ca']['getPluralForm']=_0x4c2959;})(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':_0x17fac3=>0x1==_0x17fac3?0x0:_0x17fac3>=0x2&&_0x17fac3<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2cb386=>{const {cs:{dictionary:_0x1a281b,getPluralForm:_0x1eef8d}}={'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':_0x2e6405=>0x1==_0x2e6405?0x0:_0x2e6405>=0x2&&_0x2e6405<=0x4?0x1:0x2}};_0x2cb386['cs']||={'dictionary':{},'getPluralForm':null},_0x2cb386['cs']['dictionary']=Object['assign'](_0x2cb386['cs']['dictionary'],_0x1a281b),_0x2cb386['cs']['getPluralForm']=_0x1eef8d;})(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':_0x30133c=>0x1!=_0x30133c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x248def=>{const {da:{dictionary:_0x20ffef,getPluralForm:_0x1d9618}}={'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':_0x11372d=>0x1!=_0x11372d}};_0x248def['da']||={'dictionary':{},'getPluralForm':null},_0x248def['da']['dictionary']=Object['assign'](_0x248def['da']['dictionary'],_0x20ffef),_0x248def['da']['getPluralForm']=_0x1d9618;})(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':_0x2f8275=>0x1!=_0x2f8275}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x427ac0=>{const {'de-ch':{dictionary:_0x448862,getPluralForm:_0xddf45f}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x345519=>0x1!=_0x345519}};_0x427ac0['de-ch']||={'dictionary':{},'getPluralForm':null},_0x427ac0['de-ch']['dictionary']=Object['assign'](_0x427ac0['de-ch']['dictionary'],_0x448862),_0x427ac0['de-ch']['getPluralForm']=_0xddf45f;})(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':_0x6edbb3=>0x1!=_0x6edbb3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1af3aa=>{const {de:{dictionary:_0xed1efa,getPluralForm:_0x324245}}={'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':_0x49c931=>0x1!=_0x49c931}};_0x1af3aa['de']||={'dictionary':{},'getPluralForm':null},_0x1af3aa['de']['dictionary']=Object['assign'](_0x1af3aa['de']['dictionary'],_0xed1efa),_0x1af3aa['de']['getPluralForm']=_0x324245;})(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':_0x51b6b2=>0x1!=_0x51b6b2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x44aabf=>{const {el:{dictionary:_0x106b7d,getPluralForm:_0x542b75}}={'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':_0x44ff89=>0x1!=_0x44ff89}};_0x44aabf['el']||={'dictionary':{},'getPluralForm':null},_0x44aabf['el']['dictionary']=Object['assign'](_0x44aabf['el']['dictionary'],_0x106b7d),_0x44aabf['el']['getPluralForm']=_0x542b75;})(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':_0xcfce7c=>0x1!=_0xcfce7c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4923ec=>{const {'en-au':{dictionary:_0x1cea13,getPluralForm:_0xd1f968}}={'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':_0x5b1bae=>0x1!=_0x5b1bae}};_0x4923ec['en-au']||={'dictionary':{},'getPluralForm':null},_0x4923ec['en-au']['dictionary']=Object['assign'](_0x4923ec['en-au']['dictionary'],_0x1cea13),_0x4923ec['en-au']['getPluralForm']=_0xd1f968;})(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':_0x45b718=>0x1!=_0x45b718}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ec155=>{const {'en-gb':{dictionary:_0x31379e,getPluralForm:_0x2735f7}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2f44c6=>0x1!=_0x2f44c6}};_0x4ec155['en-gb']||={'dictionary':{},'getPluralForm':null},_0x4ec155['en-gb']['dictionary']=Object['assign'](_0x4ec155['en-gb']['dictionary'],_0x31379e),_0x4ec155['en-gb']['getPluralForm']=_0x2735f7;})(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':_0x2d5712=>0x1!=_0x2d5712}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x566916=>{const {en:{dictionary:_0x586f22,getPluralForm:_0xb62b0}}={'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':_0x52e478=>0x1!=_0x52e478}};_0x566916['en']||={'dictionary':{},'getPluralForm':null},_0x566916['en']['dictionary']=Object['assign'](_0x566916['en']['dictionary'],_0x586f22),_0x566916['en']['getPluralForm']=_0xb62b0;})(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':_0x4d557b=>0x1!=_0x4d557b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d2bde=>{const {eo:{dictionary:_0x54d3c6,getPluralForm:_0x194677}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x33e07c=>0x1!=_0x33e07c}};_0x2d2bde['eo']||={'dictionary':{},'getPluralForm':null},_0x2d2bde['eo']['dictionary']=Object['assign'](_0x2d2bde['eo']['dictionary'],_0x54d3c6),_0x2d2bde['eo']['getPluralForm']=_0x194677;})(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':_0x2f19e4=>0x1!=_0x2f19e4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x276c97=>{const {'es-co':{dictionary:_0x26132c,getPluralForm:_0x5c5ec7}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x8701dc=>0x1!=_0x8701dc}};_0x276c97['es-co']||={'dictionary':{},'getPluralForm':null},_0x276c97['es-co']['dictionary']=Object['assign'](_0x276c97['es-co']['dictionary'],_0x26132c),_0x276c97['es-co']['getPluralForm']=_0x5c5ec7;})(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':_0x2753f4=>0x1!=_0x2753f4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x422064=>{const {es:{dictionary:_0x5c8fcb,getPluralForm:_0x46c616}}={'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':_0x4adda3=>0x1!=_0x4adda3}};_0x422064['es']||={'dictionary':{},'getPluralForm':null},_0x422064['es']['dictionary']=Object['assign'](_0x422064['es']['dictionary'],_0x5c8fcb),_0x422064['es']['getPluralForm']=_0x46c616;})(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':_0x36e914=>0x1!=_0x36e914}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d8dda=>{const {et:{dictionary:_0x2f15b8,getPluralForm:_0x58a4bb}}={'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':_0x4f1aba=>0x1!=_0x4f1aba}};_0x3d8dda['et']||={'dictionary':{},'getPluralForm':null},_0x3d8dda['et']['dictionary']=Object['assign'](_0x3d8dda['et']['dictionary'],_0x2f15b8),_0x3d8dda['et']['getPluralForm']=_0x58a4bb;})(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':_0x938fa3=>0x1!=_0x938fa3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x179a71=>{const {eu:{dictionary:_0x41f19,getPluralForm:_0x3c511c}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x29828f=>0x1!=_0x29828f}};_0x179a71['eu']||={'dictionary':{},'getPluralForm':null},_0x179a71['eu']['dictionary']=Object['assign'](_0x179a71['eu']['dictionary'],_0x41f19),_0x179a71['eu']['getPluralForm']=_0x3c511c;})(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':_0x10acae=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x8863e4=>{const {fa:{dictionary:_0x8b2ba5,getPluralForm:_0x275ceb}}={'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2193c4=>0x0}};_0x8863e4['fa']||={'dictionary':{},'getPluralForm':null},_0x8863e4['fa']['dictionary']=Object['assign'](_0x8863e4['fa']['dictionary'],_0x8b2ba5),_0x8863e4['fa']['getPluralForm']=_0x275ceb;})(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':_0x2a53f0=>0x1!=_0x2a53f0}};
|