@ckeditor/ckeditor5-import-word 44.0.0-alpha.6 → 44.0.0-alpha.8
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/LICENSE.md +6 -6
- package/README.md +7 -8
- package/build/import-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/LICENSE.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Software License Agreement
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
|
-
**CKEditor 5
|
|
4
|
+
**CKEditor 5 Import from Word feature** (https://ckeditor.com/ckeditor-5/)<br>
|
|
5
5
|
Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
6
6
|
|
|
7
|
-
CKEditor 5
|
|
8
|
-
For more
|
|
7
|
+
CKEditor 5 Import from Word feature is licensed under a commercial license and is protected by copyright law.
|
|
8
|
+
For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
|
|
9
9
|
|
|
10
|
-
Sources of Intellectual Property Included in CKEditor 5
|
|
11
|
-
|
|
10
|
+
Sources of Intellectual Property Included in CKEditor 5 Import from Word feature
|
|
11
|
+
-------------------------------------------------------------------------------------
|
|
12
12
|
|
|
13
|
-
Where not otherwise indicated, all CKEditor 5
|
|
13
|
+
Where not otherwise indicated, all CKEditor 5 Import from Word feature content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
14
14
|
|
|
15
15
|
Trademarks
|
|
16
16
|
----------
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
CKEditor 5
|
|
2
|
-
|
|
1
|
+
CKEditor 5 Import from Word feature
|
|
2
|
+
========================================
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-import-word)
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ This package contains the import from Word feature for CKEditor 5. It allow
|
|
|
7
7
|
|
|
8
8
|
When enabled, this feature sends the selected Word file to the CKEditor Cloud Services Word to HTML converter service. The service then generates the HTML document that is inserted into the editor.
|
|
9
9
|
|
|
10
|
-
This is a premium feature.
|
|
10
|
+
This is a premium feature. Sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/signup), or see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing) for more information.
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
@@ -31,18 +31,17 @@ See the [`@ckeditor/ckeditor5-import-word` package](https://ckeditor.com/docs/ck
|
|
|
31
31
|
|
|
32
32
|
## Getting support
|
|
33
33
|
|
|
34
|
-
CKEditor 5
|
|
34
|
+
CKEditor 5 Import from Word feature comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 Import from Word feature with your application.
|
|
35
35
|
|
|
36
|
-
As a licensed CKEditor 5
|
|
36
|
+
As a licensed CKEditor 5 Import from Word feature user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
## License
|
|
40
40
|
|
|
41
|
-
**CKEditor 5
|
|
41
|
+
**CKEditor 5 Import from Word feature** (https://ckeditor.com/ckeditor-5/)<br>
|
|
42
42
|
Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
43
43
|
|
|
44
|
-
CKEditor 5
|
|
45
|
-
For more details about available licensing options please contact us at sales@cksource.com.
|
|
44
|
+
CKEditor 5 Import from Word feature is licensed under a commercial license and is protected by copyright law. For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
|
|
46
45
|
|
|
47
46
|
### Trademarks
|
|
48
47
|
|
package/build/import-word.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>y,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=a();return(s=function(t,e){return r[t-=492]})(t,e)}function a(){const t=["menuBar:importWord","Import from Word","get","2QNRfQa","36654dgThGu","locale","isBusy","1089032fYKYdk","done","isPremiumPlugin","iconView","label","Importing Word document","3449600cmpjVS","set","tooltip","pluginName","add","commands","bind","_createButton","26053300qQRcKj","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","componentFactory","isVisible","editing","isOfficialPlugin","isOn","editor","40XMjhVw","isEnabled","children","view","focus","init","424611XPOvLe","2205210gNlINt","execute","importWord","302459QCUFSp","120CtRKSH","ImportWordUI"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(420232===-parseInt(e(522))/1*(parseInt(e(528))/2)+-parseInt(e(519))/3+-parseInt(e(532))/4+parseInt(e(523))/5*(-parseInt(e(529))/6)+-parseInt(e(496))/7+parseInt(e(512))/8*(-parseInt(e(518))/9)+parseInt(e(504))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(499)](){return o(524)}static get[o(509)](){return!0}static get[o(492)](){return!0}[o(517)](){const t=o,r=this[t(511)];r.ui[t(506)][t(500)](t(521),(()=>{const n=t,i=this[n(503)](e.FileDialogButtonView),o=r[n(501)][n(527)](n(521));return i[n(502)](n(510)).to(o,n(531)),i[n(498)]=!0,i})),r.ui[t(506)][t(500)](t(525),(()=>this[t(503)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(503)](t){const r=o,n=this[r(511)],s=n[r(501)][r(527)](r(521)),a=new t(n[r(530)]),c=new e.SpinnerView;return a[r(497)]({acceptedType:r(505)}),a[r(497)]({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(502)](r(513)).to(s),a[r(502)](r(494)).to(s,r(531),(t=>i(n[r(530)],r(t?495:526)))),c[r(502)](r(507)).to(s,r(531)),a[r(493)][r(502)](r(507)).to(s,r(531),(t=>!t)),a[r(514)][r(500)](c),a.on(r(533),((t,e)=>{const i=r;n[i(520)](i(521),e[0],{}),n[i(508)][i(515)][i(516)]()})),a}}var u=r(331),p=r(783),l=r(584);function d(){const t=["import-word-plugin-import-cancelled","document","has","isCollapsed","split","change:range","stringify","refresh","mergeFields","checkChild","headers","bind","_cleanUpAfterImport","enqueueChange","locale","_checkEnabled","fire","isEmpty","stopListening","2kBvFuX","addMarker","rootName","MergeFields","setSelection","editor","_handleImportFailure","config","parent","47849098zKmupy","_undoStepBatch","then","position","clipboardInput","json","_handleImportResponse","showWarning","html","20718AHMWWA","aborted","getRange","8drbezK","createPositionAfter","Notification","merge_fields","_prepareForImport","importWord","catch","1048097qpEAPe","_importMarker","file","3804897egTuyj","signal","markers","set","reject","DateTimeFormat","createBatch","getSelectedBlocks","element","getToken","2365084aMYEdT","resolvedOptions","An error occurred while importing the Word file.","low","execute","formatting","setData","dataInsert","deleteContent","ImportWordEditing","$graveyard","getFirstPosition","schema","isAtEnd","13104117InlNbL","Authorization","text/html","importWord:","609kJrIiR","resolve","selection","editing","converterUrl","model","createPositionBefore","get","paragraph","abort","plugins","timeZone","view","isBusy","5FFCfTq","5104980ZjvPTU","_sendImportRequest","import-word-plugin-conversion-failed","_abortController","value","isEnabled","POST","finally","isAtStart","root","removeMarker"];return(d=function(){return t})()}const h=f;function f(t,e){const r=d();return(f=function(t,e){return r[t-=310]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(824671===parseInt(e(386))/1+-parseInt(e(358))/2*(-parseInt(e(389))/3)+parseInt(e(399))/4*(parseInt(e(327))/5)+parseInt(e(376))/6*(parseInt(e(313))/7)+parseInt(e(379))/8*(parseInt(e(413))/9)+parseInt(e(328))/10+-parseInt(e(367))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(d);class m extends t.Command{constructor(t){const e=f;super(t),this[e(392)](e(326),!1),this[e(387)]=null,this[e(368)]=null,this[e(331)]=null,this.on(e(406),((r,n)=>{const i=e,o=new DataTransfer;o[i(405)](i(311),n[i(375)]);const s=this[i(387)][i(378)]();this[i(363)][i(318)][i(352)](this[i(368)],(e=>{const r=i;this[r(387)][r(357)](),e[r(362)](s),t[r(316)][r(325)][r(340)][r(355)](r(371),{dataTransfer:o})}))}),{priority:e(402)})}[h(346)](){const t=h;this[t(333)]=this[t(354)]()}[h(403)](t,e={}){const r=h;if(this[r(326)])return Promise[r(314)]();const n=this[r(363)][r(365)][r(320)](r(384));if(this[r(363)][r(323)][r(341)](r(361))){const{prefix:t,suffix:n}=this[r(363)][r(365)][r(320)](r(347));e[r(382)]={prefix:t,suffix:n}}const i={url:n[r(317)],file:t,serviceConfig:{...e,formatting:n[r(404)],timezone:(new(Intl[r(394)]))[r(400)]()[r(324)]}};return this[r(383)](),this[r(329)](i)[r(369)](this[r(373)][r(350)](this))[r(385)](this[r(364)][r(350)](this))[r(335)](this[r(351)][r(350)](this))}[h(354)](){const t=h;if(this[t(326)])return!1;const e=this[t(363)][t(318)],r=e[t(411)],n=e[t(340)][t(315)],i=(0,l.first)(n[t(396)]());return!!i&&r[t(348)](i[t(366)],t(321))}[h(383)](){const t=h,e=this[t(363)],r=e[t(318)],n=r[t(340)][t(315)];this[t(331)]=new AbortController,this[t(368)]=e[t(318)][t(395)]({isUndoable:!0}),r[t(352)](this[t(368)],(e=>{const i=t;n[i(342)]||r[i(407)](n,{leaveUnmerged:!0});const o=n[i(410)](),s=(0,l.first)(n[i(396)]());let a;a=s.is(i(397),i(321))&&s[i(356)]?o:o[i(336)]?r[i(319)](s):o[i(412)]?r[i(380)](s):e[i(343)](o)[i(370)],this[i(387)]=e[i(359)](i(312)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(387)].on(i(344),(()=>{const t=i;t(409)===this[t(387)][t(378)]()[t(337)][t(360)]&&this[t(331)][t(322)]()}))})),this[t(326)]=!0,this[t(346)]()}[h(351)](){const t=h,e=this[t(363)][t(318)];e[t(391)][t(341)](this[t(387)])&&e[t(352)](this[t(368)],(e=>{const r=t;e[r(338)](this[r(387)])})),this[t(387)]=null,this[t(368)]=null,this[t(331)]=null,this[t(326)]=!1,this[t(346)]()}[h(329)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(363)][n(323)][n(320)](n(408))[n(398)](),o=new FormData;o[n(392)](n(365),JSON[n(345)](r)),o[n(392)](n(388),e);const s={method:n(334),headers:{},body:o,signal:this[n(331)][n(390)]};return i&&(s[n(349)][n(310)]=i[n(332)]),fetch(t,s)}[h(373)](t){const e=h;return t.ok?t[e(372)]()[e(369)]((t=>{const r=e;this[r(363)][r(318)][r(391)][r(341)](this[r(387)])&&r(409)!==this[r(387)][r(378)]()[r(337)][r(360)]&&this[r(355)](r(406),t)})):Promise[e(393)]()}[h(364)](){const t=h;if(this[t(331)][t(390)][t(377)])return void(0,l.logWarning)(t(339));const e=this[t(363)],r=i(e[t(353)],t(401));e[t(323)][t(320)](t(381))[t(374)](r),(0,l.logError)(t(330))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=188]})(t,e)}function v(){const t=["get","none","https://docx-converter.cke-cs.com/v2/convert/docx-html","importWord","commands","init","token","48bCJNhV","cloudServices","3085864wkqRDt","1313516iKJcWd","plugins","add","requires","inline","getToken","_token","630276YRSZtX","852775vmeYqk","isOfficialPlugin","27ymakun","434002uveOWL","17717dqepHu","editor","CloudServices","tokenUrl","registerTokenUrl","pluginName","config","isPremiumPlugin","ImportWordEditing","define","881334eqNgZg"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(265871===-parseInt(e(219))/1+parseInt(e(215))/2+-parseInt(e(197))/3+-parseInt(e(208))/4+-parseInt(e(216))/5+parseInt(e(205))/6*(parseInt(e(220))/7)+parseInt(e(207))/8*(parseInt(e(218))/9))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(192)](){return g(195)}static get[g(217)](){return!0}static get[g(194)](){return!0}static get[g(211)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(189)]}constructor(t){const e=g;super(t),this[e(214)]=null}async[g(203)](){const t=g,e=this[t(188)];e[t(193)][t(196)](t(201),{converterUrl:t(200),tokenUrl:(e[t(193)][t(198)](t(206))||{})[t(190)],formatting:{resets:t(199),defaults:t(199),styles:t(212)}}),e[t(202)][t(210)](t(201),new m(e));const{tokenUrl:r}=e[t(193)][t(198)](t(201));if(r){const{tokenUrl:n}=e[t(193)][t(198)](t(206))||{};this[t(214)]=r===n?e[t(209)][t(198)](t(189))[t(204)]:await e[t(209)][t(198)](t(189))[t(191)](r)}}[g(213)](){return this[g(214)]}}function b(t,e){var r=k();return(b=function(t,e){return r[t-=380]})(t,e)}var W=b;!function(t){for(var e=b,r=t();;)try{if(875059===-parseInt(e(384))/1*(parseInt(e(380))/2)+-parseInt(e(391))/3*(parseInt(e(393))/4)+parseInt(e(386))/5+parseInt(e(389))/6*(parseInt(e(390))/7)+parseInt(e(383))/8+parseInt(e(395))/9*(parseInt(e(387))/10)+-parseInt(e(388))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(k);class y extends t.Plugin{static get[W(385)](){return W(381)}static get[W(392)](){return!0}static get[W(394)](){return!0}static get[W(382)](){return[w,c]}}function k(){var t=["requires","13881408grByGq","25GZSPAN","pluginName","5739220vwucLh","110TXyJsv","30920868oiFjTg","48SRLjBE","348929ApFPJn","543jkTira","isOfficialPlugin","24852FLLzmk","isPremiumPlugin","1421001CzShSS","16638TdaWPI","ImportWord"];return(k=function(){return t})()}function P(t,e){var r=x();return(P=function(t,e){return r[t-=103]})(t,e)}function x(){var t=["2bcfNnx","191570wishAa","1526KuzQui","1660mDpial","16026RwqycD","5864508kXCwLc","48080fOCuQC","7147197psUZXG","151053IbvKAD","21916030iBeBmD"];return(x=function(){return t})()}!function(t){for(var e=P,r=t();;)try{if(818562===parseInt(e(105))/1+parseInt(e(104))/2*(-parseInt(e(112))/3)+parseInt(e(109))/4+parseInt(e(107))/5*(parseInt(e(108))/6)+parseInt(e(106))/7*(parseInt(e(110))/8)+-parseInt(e(111))/9+-parseInt(e(103))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(x)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>k,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-=344]})(t,e)}function a(){const t=["isOn","init","isEnabled","commands","isPremiumPlugin","913ZqmnwR","done","view","editing","iconView","Importing Word document","set","584CfAmfH","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","children","1444636ZwPSBW","isOfficialPlugin","bind","pluginName","editor","importWord","add","isBusy","tooltip","label","6zhmtQc","2375645KdlEFU","7977FUrcjN","locale","_createButton","componentFactory","447690hSYJIG","get","2740626boMprt","175834QiUJhh","ImportWordUI","menuBar:importWord","464PpOgbY","focus","Import from Word","execute","188064QXKLNL","isVisible"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(842537===-parseInt(e(361))/1+parseInt(e(380))/2+-parseInt(e(373))/3*(parseInt(e(358))/4)+parseInt(e(372))/5*(parseInt(e(371))/6)+-parseInt(e(379))/7+-parseInt(e(383))/8*(parseInt(e(344))/9)+-parseInt(e(377))/10*(-parseInt(e(351))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(364)](){return o(381)}static get[o(362)](){return!0}static get[o(350)](){return!0}[o(347)](){const t=o,r=this[t(365)];r.ui[t(376)][t(367)](t(366),(()=>{const n=t,i=this[n(375)](e.FileDialogButtonView),o=r[n(349)][n(378)](n(366));return i[n(363)](n(346)).to(o,n(368)),i[n(369)]=!0,i})),r.ui[t(376)][t(367)](t(382),(()=>this[t(375)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(375)](t){const r=o,n=this[r(365)],s=n[r(349)][r(378)](r(366)),a=new t(n[r(374)]),c=new e.SpinnerView;return a[r(357)]({acceptedType:r(359)}),a[r(357)]({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(363)](r(348)).to(s),a[r(363)](r(370)).to(s,r(368),(t=>i(n[r(374)],r(t?356:385)))),c[r(363)](r(345)).to(s,r(368)),a[r(355)][r(363)](r(345)).to(s,r(368),(t=>!t)),a[r(360)][r(367)](c),a.on(r(352),((t,e)=>{const i=r;n[i(386)](i(366),e[0],{}),n[i(354)][i(353)][i(384)]()})),a}}var p=r(331),u=r(783),l=r(584);const h=f;function d(){const t=["schema","bind","config","root","$graveyard","model","json","merge_fields","fire","MergeFields","text/html","_prepareForImport","deleteContent","resolve","6462988WiHKZh","refresh","editor","isBusy","headers","15799619bgbwMd","reject","ImportWordEditing","signal","parent","position","set","execute","locale","markers","file","10ApaXdc","createPositionAfter","import-word-plugin-import-cancelled","Authorization","dataInsert","resolvedOptions","low","import-word-plugin-conversion-failed","value","14613003LmWLLt","editing","getFirstPosition","isEmpty","html","7615288ZekqAh","isAtEnd","mergeFields","then","36093pqucjL","Notification","_abortController","_importMarker","converterUrl","view","_handleImportResponse","_sendImportRequest","80jJTouW","POST","split","plugins","removeMarker","_handleImportFailure","importWord:","checkChild","isEnabled","paragraph","setSelection","_undoStepBatch","document","getToken","showWarning","isAtStart","importWord","timeZone","12vGpZHk","change:range","getSelectedBlocks","An error occurred while importing the Word file.","clipboardInput","createBatch","2MMjLJr","formatting","enqueueChange","element","1679914Bbmexw","selection","createPositionBefore","setData","281922pqKhoU","finally","getRange","rootName","abort","aborted","has","isCollapsed","stringify","DateTimeFormat","_checkEnabled","stopListening","addMarker","get","_cleanUpAfterImport","115sbeUsy","catch"];return(d=function(){return t})()}function f(t,e){const r=d();return(f=function(t,e){return r[t-=106]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(998544===parseInt(e(187))/1*(parseInt(e(191))/2)+parseInt(e(155))/3*(parseInt(e(163))/4)+parseInt(e(210))/5*(-parseInt(e(195))/6)+parseInt(e(121))/7+-parseInt(e(151))/8+-parseInt(e(146))/9*(-parseInt(e(137))/10)+parseInt(e(126))/11*(-parseInt(e(181))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(d);class m extends t.Command{constructor(t){const e=f;super(t),this[e(132)](e(124),!1),this[e(158)]=null,this[e(174)]=null,this[e(157)]=null,this.on(e(141),((r,n)=>{const i=e,o=new DataTransfer;o[i(194)](i(117),n[i(150)]);const s=this[i(158)][i(197)]();this[i(123)][i(112)][i(189)](this[i(174)],(e=>{const r=i;this[r(158)][r(206)](),e[r(173)](s),t[r(147)][r(160)][r(175)][r(115)](r(185),{dataTransfer:o})}))}),{priority:e(143)})}[h(122)](){const t=h;this[t(171)]=this[t(205)]()}[h(133)](t,e={}){const r=h;if(this[r(124)])return Promise[r(120)]();const n=this[r(123)][r(109)][r(208)](r(179));if(this[r(123)][r(166)][r(201)](r(116))){const{prefix:t,suffix:n}=this[r(123)][r(109)][r(208)](r(153));e[r(114)]={prefix:t,suffix:n}}const i={url:n[r(159)],file:t,serviceConfig:{...e,formatting:n[r(188)],timezone:(new(Intl[r(204)]))[r(142)]()[r(180)]}};return this[r(118)](),this[r(162)](i)[r(154)](this[r(161)][r(108)](this))[r(106)](this[r(168)][r(108)](this))[r(196)](this[r(209)][r(108)](this))}[h(205)](){const t=h;if(this[t(124)])return!1;const e=this[t(123)][t(112)],r=e[t(107)],n=e[t(175)][t(192)],i=(0,l.first)(n[t(183)]());return!!i&&r[t(170)](i[t(130)],t(172))}[h(118)](){const t=h,e=this[t(123)],r=e[t(112)],n=r[t(175)][t(192)];this[t(157)]=new AbortController,this[t(174)]=e[t(112)][t(186)]({isUndoable:!0}),r[t(189)](this[t(174)],(e=>{const i=t;n[i(202)]||r[i(119)](n,{leaveUnmerged:!0});const o=n[i(148)](),s=(0,l.first)(n[i(183)]());let a;a=s.is(i(190),i(172))&&s[i(149)]?o:o[i(178)]?r[i(193)](s):o[i(152)]?r[i(138)](s):e[i(165)](o)[i(131)],this[i(158)]=e[i(207)](i(169)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(158)].on(i(182),(()=>{const t=i;t(111)===this[t(158)][t(197)]()[t(110)][t(198)]&&this[t(157)][t(199)]()}))})),this[t(124)]=!0,this[t(122)]()}[h(209)](){const t=h,e=this[t(123)][t(112)];e[t(135)][t(201)](this[t(158)])&&e[t(189)](this[t(174)],(e=>{const r=t;e[r(167)](this[r(158)])})),this[t(158)]=null,this[t(174)]=null,this[t(157)]=null,this[t(124)]=!1,this[t(122)]()}[h(162)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(123)][n(166)][n(208)](n(128))[n(176)](),o=new FormData;o[n(132)](n(109),JSON[n(203)](r)),o[n(132)](n(136),e);const s={method:n(164),headers:{},body:o,signal:this[n(157)][n(129)]};return i&&(s[n(125)][n(140)]=i[n(145)]),fetch(t,s)}[h(161)](t){const e=h;return t.ok?t[e(113)]()[e(154)]((t=>{const r=e;this[r(123)][r(112)][r(135)][r(201)](this[r(158)])&&r(111)!==this[r(158)][r(197)]()[r(110)][r(198)]&&this[r(115)](r(141),t)})):Promise[e(127)]()}[h(168)](){const t=h;if(this[t(157)][t(129)][t(200)])return void(0,l.logWarning)(t(139));const e=this[t(123)],r=i(e[t(134)],t(184));e[t(166)][t(208)](t(156))[t(177)](r),(0,l.logError)(t(144))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=477]})(t,e)}function v(){const t=["isOfficialPlugin","3083046SFlJHJ","requires","9OCbOmY","429018cvJnVQ","isPremiumPlugin","134992UUhnAh","plugins","add","config","https://docx-converter.cke-cs.com/v2/convert/docx-html","commands","getToken","_token","token","1535ggSIhv","4704992ysZmuV","3419510GNmooq","7hyNETW","ImportWordEditing","826884TOrEMj","importWord","628ubJoiN","get","registerTokenUrl","tokenUrl","init","CloudServices","inline","pluginName","cloudServices","none","editor","define"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(375573===parseInt(e(509))/1+parseInt(e(489))/2+parseInt(e(507))/3+-parseInt(e(491))/4*(parseInt(e(484))/5)+-parseInt(e(504))/6*(parseInt(e(487))/7)+parseInt(e(485))/8*(parseInt(e(506))/9)+-parseInt(e(486))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(498)](){return g(488)}static get[g(503)](){return!0}static get[g(508)](){return!0}static get[g(505)](){const t=g;return[e.Notification,p.ClipboardPipeline,t(496)]}constructor(t){const e=g;super(t),this[e(482)]=null}async[g(495)](){const t=g,e=this[t(501)];e[t(478)][t(502)](t(490),{converterUrl:t(479),tokenUrl:(e[t(478)][t(492)](t(499))||{})[t(494)],formatting:{resets:t(500),defaults:t(500),styles:t(497)}}),e[t(480)][t(477)](t(490),new m(e));const{tokenUrl:r}=e[t(478)][t(492)](t(490));if(r){const{tokenUrl:n}=e[t(478)][t(492)](t(499))||{};this[t(482)]=r===n?e[t(510)][t(492)](t(496))[t(483)]:await e[t(510)][t(492)](t(496))[t(493)](r)}}[g(481)](){return this[g(482)]}}function b(t,e){var r=x();return(b=function(t,e){return r[t-=477]})(t,e)}var W=b;function x(){var t=["pluginName","1261341mIMhYC","24ngInDA","4553339fczXqe","isOfficialPlugin","24lcyinS","1625642xwYkep","80CaSwup","6amPXvT","24508666RzJiTs","isPremiumPlugin","7572cGArRL","requires","37323PDmkRx","ImportWord","2890WmTxQE","3uTnCUg","1008128LVgqtY"];return(x=function(){return t})()}!function(t){for(var e=b,r=t();;)try{if(937698===parseInt(e(481))/1+parseInt(e(492))/2*(-parseInt(e(484))/3)+-parseInt(e(479))/4*(parseInt(e(483))/5)+parseInt(e(494))/6*(-parseInt(e(489))/7)+parseInt(e(488))/8*(parseInt(e(487))/9)+-parseInt(e(493))/10*(parseInt(e(485))/11)+parseInt(e(491))/12*(parseInt(e(477))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(x);class k extends t.Plugin{static get[W(486)](){return W(482)}static get[W(490)](){return!0}static get[W(478)](){return!0}static get[W(480)](){return[w,c]}}function y(){var t=["36dsvZSd","2WjwZgL","254074zJLsEs","23202XMMkNq","7jmbJkb","4124312iexBkT","4275MTwHkD","12iSYHom","172005ZxeuOU","18650424LVkYBb","1020iMkIVL","5894856PeCxgF","1878sfAnWD"];return(y=function(){return t})()}function P(t,e){var r=y();return(P=function(t,e){return r[t-=311]})(t,e)}!function(t){for(var e=P,r=t();;)try{if(382217===-parseInt(e(312))/1*(-parseInt(e(313))/2)+parseInt(e(319))/3*(parseInt(e(311))/4)+-parseInt(e(317))/5*(parseInt(e(323))/6)+parseInt(e(315))/7*(parseInt(e(316))/8)+-parseInt(e(314))/9*(-parseInt(e(321))/10)+parseInt(e(322))/11+-parseInt(e(318))/12*(parseInt(e(320))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(y)})(),(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 _0x1fdf06,Command as _0x5c99fc}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x3a853e,MenuBarMenuListItemFileDialogButtonView as _0x5edf5f,SpinnerView as _0x214769,Notification as _0x331ac8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x3c05a7}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x2af44b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x2f86f2,uid as _0x5265c5,logWarning as _0x12f0b2,logError as _0x4e5c90}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x726225,_0x2c3d0d){const t=_0x726225['t'];switch(_0x2c3d0d){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 _0x2c3d0d;}}class i extends _0x1fdf06{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4031f9=this['editor'];_0x4031f9['ui']['componentFactory']['add']('importWord',()=>{const _0xb98421=this['_createButton'](_0x3a853e),_0x213356=_0x4031f9['commands']['get']('importWord');return _0xb98421['bind']('isOn')['to'](_0x213356,'isBusy'),_0xb98421['tooltip']=!0x0,_0xb98421;}),_0x4031f9['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x5edf5f));}['_createButton'](_0x1c55da){const _0x16a560=this['editor'],_0x387a88=_0x16a560['commands']['get']('importWord'),_0x531992=new _0x1c55da(_0x16a560['locale']),_0x44bcfc=new _0x214769();return _0x531992['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x531992['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'}),_0x531992['bind']('isEnabled')['to'](_0x387a88),_0x531992['bind']('label')['to'](_0x387a88,'isBusy',_0x4cdbea=>p(_0x16a560['locale'],_0x4cdbea?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x44bcfc['bind']('isVisible')['to'](_0x387a88,'isBusy'),_0x531992['iconView']['bind']('isVisible')['to'](_0x387a88,'isBusy',_0xd5cf3c=>!_0xd5cf3c),_0x531992['children']['add'](_0x44bcfc),_0x531992['on']('done',(_0x29969d,_0x3309cc)=>{_0x16a560['execute']('importWord',_0x3309cc[0x0],{}),_0x16a560['editing']['view']['focus']();}),_0x531992;}}class d extends _0x5c99fc{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x454d4f){super(_0x454d4f),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x181267,_0x1a790d)=>{const _0x2c28d0=new DataTransfer();_0x2c28d0['setData']('text/html',_0x1a790d['html']);const _0x36833c=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x2dfbac=>{this['_importMarker']['stopListening'](),_0x2dfbac['setSelection'](_0x36833c),_0x454d4f['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x2c28d0});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5e3081,_0x5ce888={}){if(this['isBusy'])return Promise['resolve']();const _0x5f4699=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x4a6e9a,suffix:_0x46d66b}=this['editor']['config']['get']('mergeFields');_0x5ce888['merge_fields']={'prefix':_0x4a6e9a,'suffix':_0x46d66b};}const _0x237758={'url':_0x5f4699['converterUrl'],'file':_0x5e3081,'serviceConfig':{..._0x5ce888,'formatting':_0x5f4699['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x237758)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x3c594a=this['editor']['model'],_0x36275b=_0x3c594a['schema'],_0x501fc3=_0x3c594a['document']['selection'],_0x2ae2cd=_0x2f86f2(_0x501fc3['getSelectedBlocks']());return!!_0x2ae2cd&&_0x36275b['checkChild'](_0x2ae2cd['parent'],'paragraph');}['_prepareForImport'](){const _0x1a370f=this['editor'],_0x119043=_0x1a370f['model'],_0x7e5388=_0x119043['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x1a370f['model']['createBatch']({'isUndoable':!0x0}),_0x119043['enqueueChange'](this['_undoStepBatch'],_0x595c49=>{_0x7e5388['isCollapsed']||_0x119043['deleteContent'](_0x7e5388,{'leaveUnmerged':!0x0});const _0x402d6e=_0x7e5388['getFirstPosition'](),_0x2c9a02=_0x2f86f2(_0x7e5388['getSelectedBlocks']());let _0x528370;_0x528370=_0x2c9a02['is']('element','paragraph')&&_0x2c9a02['isEmpty']?_0x402d6e:_0x402d6e['isAtStart']?_0x119043['createPositionBefore'](_0x2c9a02):_0x402d6e['isAtEnd']?_0x119043['createPositionAfter'](_0x2c9a02):_0x595c49['split'](_0x402d6e)['position'],this['_importMarker']=_0x595c49['addMarker']('importWord:'+_0x5265c5(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x2af44b(_0x528370)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x1eb7f2=this['editor']['model'];_0x1eb7f2['markers']['has'](this['_importMarker'])&&_0x1eb7f2['enqueueChange'](this['_undoStepBatch'],_0x2edeb6=>{_0x2edeb6['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x4f76d2,file:_0x966b33,serviceConfig:_0xecff4b}){const _0x59fb8c=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0xc4a4f0=new FormData();_0xc4a4f0['set']('config',JSON['stringify'](_0xecff4b)),_0xc4a4f0['set']('file',_0x966b33);const _0x9b1aa1={'method':'POST','headers':{},'body':_0xc4a4f0,'signal':this['_abortController']['signal']};return _0x59fb8c&&(_0x9b1aa1['headers']['Authorization']=_0x59fb8c['value']),fetch(_0x4f76d2,_0x9b1aa1);}['_handleImportResponse'](_0x27d5c6){return _0x27d5c6['ok']?_0x27d5c6['json']()['then'](_0x5528e5=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x5528e5);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x12f0b2('import-word-plugin-import-cancelled');const _0x4170d5=this['editor'],_0x5085b2=p(_0x4170d5['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4170d5['plugins']['get']('Notification')['showWarning'](_0x5085b2),_0x4e5c90('import-word-plugin-conversion-failed');}}class e extends _0x1fdf06{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x331ac8,_0x3c05a7,'CloudServices'];}constructor(_0xaac047){super(_0xaac047),this['_token']=null;}async['init'](){const _0x34fff4=this['editor'];_0x34fff4['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x34fff4['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x34fff4['commands']['add']('importWord',new d(_0x34fff4));const {tokenUrl:_0x3be2c9}=_0x34fff4['config']['get']('importWord');if(_0x3be2c9){const {tokenUrl:_0x5c5e15}=_0x34fff4['config']['get']('cloudServices')||{};this['_token']=_0x3be2c9===_0x5c5e15?_0x34fff4['plugins']['get']('CloudServices')['token']:await _0x34fff4['plugins']['get']('CloudServices')['registerTokenUrl'](_0x3be2c9);}}['getToken'](){return this['_token'];}}class o extends _0x1fdf06{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':_0x53987b=>0x1!=_0x53987b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d585d=>{const {af:{dictionary:_0x37f016,getPluralForm:_0x540e3d}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x139432=>0x1!=_0x139432}};_0x3d585d['af']||={'dictionary':{},'getPluralForm':null},_0x3d585d['af']['dictionary']=Object['assign'](_0x3d585d['af']['dictionary'],_0x37f016),_0x3d585d['af']['getPluralForm']=_0x540e3d;})(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':_0x1058a9=>0x0==_0x1058a9?0x0:0x1==_0x1058a9?0x1:0x2==_0x1058a9?0x2:_0x1058a9%0x64>=0x3&&_0x1058a9%0x64<=0xa?0x3:_0x1058a9%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xacfe04=>{const {ar:{dictionary:_0x4d3db5,getPluralForm:_0x36d9c3}}={'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':_0x151e0c=>0x0==_0x151e0c?0x0:0x1==_0x151e0c?0x1:0x2==_0x151e0c?0x2:_0x151e0c%0x64>=0x3&&_0x151e0c%0x64<=0xa?0x3:_0x151e0c%0x64>=0xb?0x4:0x5}};_0xacfe04['ar']||={'dictionary':{},'getPluralForm':null},_0xacfe04['ar']['dictionary']=Object['assign'](_0xacfe04['ar']['dictionary'],_0x4d3db5),_0xacfe04['ar']['getPluralForm']=_0x36d9c3;})(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':_0x46f8ee=>0x1!=_0x46f8ee}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x56733f=>{const {ast:{dictionary:_0x57540f,getPluralForm:_0x3a8ef1}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5a6fff=>0x1!=_0x5a6fff}};_0x56733f['ast']||={'dictionary':{},'getPluralForm':null},_0x56733f['ast']['dictionary']=Object['assign'](_0x56733f['ast']['dictionary'],_0x57540f),_0x56733f['ast']['getPluralForm']=_0x3a8ef1;})(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':_0x4224a4=>0x1!=_0x4224a4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38b039=>{const {az:{dictionary:_0x1a29b3,getPluralForm:_0x5c361c}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5d992b=>0x1!=_0x5d992b}};_0x38b039['az']||={'dictionary':{},'getPluralForm':null},_0x38b039['az']['dictionary']=Object['assign'](_0x38b039['az']['dictionary'],_0x1a29b3),_0x38b039['az']['getPluralForm']=_0x5c361c;})(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':_0x5281a6=>0x1!=_0x5281a6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x585b1b=>{const {bg:{dictionary:_0x2d207b,getPluralForm:_0x3ec05d}}={'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':_0x228c70=>0x1!=_0x228c70}};_0x585b1b['bg']||={'dictionary':{},'getPluralForm':null},_0x585b1b['bg']['dictionary']=Object['assign'](_0x585b1b['bg']['dictionary'],_0x2d207b),_0x585b1b['bg']['getPluralForm']=_0x3ec05d;})(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':_0x3c6e2e=>0x1!=_0x3c6e2e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x74e20d=>{const {bn:{dictionary:_0x405dc9,getPluralForm:_0x53d22a}}={'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':_0x513159=>0x1!=_0x513159}};_0x74e20d['bn']||={'dictionary':{},'getPluralForm':null},_0x74e20d['bn']['dictionary']=Object['assign'](_0x74e20d['bn']['dictionary'],_0x405dc9),_0x74e20d['bn']['getPluralForm']=_0x53d22a;})(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':_0x1e06f4=>_0x1e06f4%0xa==0x1&&_0x1e06f4%0x64!=0xb?0x0:_0x1e06f4%0xa>=0x2&&_0x1e06f4%0xa<=0x4&&(_0x1e06f4%0x64<0xa||_0x1e06f4%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e6ebc=>{const {bs:{dictionary:_0x4ff4e2,getPluralForm:_0x5b8c26}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4390f9=>_0x4390f9%0xa==0x1&&_0x4390f9%0x64!=0xb?0x0:_0x4390f9%0xa>=0x2&&_0x4390f9%0xa<=0x4&&(_0x4390f9%0x64<0xa||_0x4390f9%0x64>=0x14)?0x1:0x2}};_0x5e6ebc['bs']||={'dictionary':{},'getPluralForm':null},_0x5e6ebc['bs']['dictionary']=Object['assign'](_0x5e6ebc['bs']['dictionary'],_0x4ff4e2),_0x5e6ebc['bs']['getPluralForm']=_0x5b8c26;})(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':_0x543fe4=>0x1!=_0x543fe4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x388ba5=>{const {ca:{dictionary:_0xf2454d,getPluralForm:_0x3c7246}}={'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':_0x4be6e1=>0x1!=_0x4be6e1}};_0x388ba5['ca']||={'dictionary':{},'getPluralForm':null},_0x388ba5['ca']['dictionary']=Object['assign'](_0x388ba5['ca']['dictionary'],_0xf2454d),_0x388ba5['ca']['getPluralForm']=_0x3c7246;})(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':_0x1aba7a=>0x1==_0x1aba7a?0x0:_0x1aba7a>=0x2&&_0x1aba7a<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1a6be4=>{const {cs:{dictionary:_0x3b2861,getPluralForm:_0x137599}}={'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':_0x34c997=>0x1==_0x34c997?0x0:_0x34c997>=0x2&&_0x34c997<=0x4?0x1:0x2}};_0x1a6be4['cs']||={'dictionary':{},'getPluralForm':null},_0x1a6be4['cs']['dictionary']=Object['assign'](_0x1a6be4['cs']['dictionary'],_0x3b2861),_0x1a6be4['cs']['getPluralForm']=_0x137599;})(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':_0x1e052d=>0x1!=_0x1e052d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5557ea=>{const {da:{dictionary:_0x3109f8,getPluralForm:_0x5555eb}}={'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':_0x25280f=>0x1!=_0x25280f}};_0x5557ea['da']||={'dictionary':{},'getPluralForm':null},_0x5557ea['da']['dictionary']=Object['assign'](_0x5557ea['da']['dictionary'],_0x3109f8),_0x5557ea['da']['getPluralForm']=_0x5555eb;})(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':_0x129215=>0x1!=_0x129215}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e8df2=>{const {'de-ch':{dictionary:_0x376a5c,getPluralForm:_0x167031}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x38a3a8=>0x1!=_0x38a3a8}};_0x5e8df2['de-ch']||={'dictionary':{},'getPluralForm':null},_0x5e8df2['de-ch']['dictionary']=Object['assign'](_0x5e8df2['de-ch']['dictionary'],_0x376a5c),_0x5e8df2['de-ch']['getPluralForm']=_0x167031;})(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':_0x5424c9=>0x1!=_0x5424c9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x120a66=>{const {de:{dictionary:_0x25ed07,getPluralForm:_0x3c6d03}}={'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':_0x1159b9=>0x1!=_0x1159b9}};_0x120a66['de']||={'dictionary':{},'getPluralForm':null},_0x120a66['de']['dictionary']=Object['assign'](_0x120a66['de']['dictionary'],_0x25ed07),_0x120a66['de']['getPluralForm']=_0x3c6d03;})(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':_0x5b41b=>0x1!=_0x5b41b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x16921d=>{const {el:{dictionary:_0x5ad34f,getPluralForm:_0x146b07}}={'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':_0xbc0839=>0x1!=_0xbc0839}};_0x16921d['el']||={'dictionary':{},'getPluralForm':null},_0x16921d['el']['dictionary']=Object['assign'](_0x16921d['el']['dictionary'],_0x5ad34f),_0x16921d['el']['getPluralForm']=_0x146b07;})(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':_0x1057cb=>0x1!=_0x1057cb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34cd9f=>{const {'en-au':{dictionary:_0x2290f3,getPluralForm:_0x2d057e}}={'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':_0x3f05f9=>0x1!=_0x3f05f9}};_0x34cd9f['en-au']||={'dictionary':{},'getPluralForm':null},_0x34cd9f['en-au']['dictionary']=Object['assign'](_0x34cd9f['en-au']['dictionary'],_0x2290f3),_0x34cd9f['en-au']['getPluralForm']=_0x2d057e;})(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':_0x64dc1d=>0x1!=_0x64dc1d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1769ba=>{const {'en-gb':{dictionary:_0x190848,getPluralForm:_0x9c4eca}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1f4fc3=>0x1!=_0x1f4fc3}};_0x1769ba['en-gb']||={'dictionary':{},'getPluralForm':null},_0x1769ba['en-gb']['dictionary']=Object['assign'](_0x1769ba['en-gb']['dictionary'],_0x190848),_0x1769ba['en-gb']['getPluralForm']=_0x9c4eca;})(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':_0xc73a45=>0x1!=_0xc73a45}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36444e=>{const {en:{dictionary:_0xc6a380,getPluralForm:_0x410ce9}}={'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':_0x57100f=>0x1!=_0x57100f}};_0x36444e['en']||={'dictionary':{},'getPluralForm':null},_0x36444e['en']['dictionary']=Object['assign'](_0x36444e['en']['dictionary'],_0xc6a380),_0x36444e['en']['getPluralForm']=_0x410ce9;})(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':_0x5af0a6=>0x1!=_0x5af0a6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51d3f0=>{const {eo:{dictionary:_0x174663,getPluralForm:_0x3fe404}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x305781=>0x1!=_0x305781}};_0x51d3f0['eo']||={'dictionary':{},'getPluralForm':null},_0x51d3f0['eo']['dictionary']=Object['assign'](_0x51d3f0['eo']['dictionary'],_0x174663),_0x51d3f0['eo']['getPluralForm']=_0x3fe404;})(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':_0xc4f4ab=>0x1!=_0xc4f4ab}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x9108c6=>{const {'es-co':{dictionary:_0x2a798a,getPluralForm:_0x43fca6}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xcd3086=>0x1!=_0xcd3086}};_0x9108c6['es-co']||={'dictionary':{},'getPluralForm':null},_0x9108c6['es-co']['dictionary']=Object['assign'](_0x9108c6['es-co']['dictionary'],_0x2a798a),_0x9108c6['es-co']['getPluralForm']=_0x43fca6;})(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':_0x4fe654=>0x1!=_0x4fe654}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14cc61=>{const {es:{dictionary:_0x2cb5db,getPluralForm:_0x47c3ea}}={'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':_0x39d34f=>0x1!=_0x39d34f}};_0x14cc61['es']||={'dictionary':{},'getPluralForm':null},_0x14cc61['es']['dictionary']=Object['assign'](_0x14cc61['es']['dictionary'],_0x2cb5db),_0x14cc61['es']['getPluralForm']=_0x47c3ea;})(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':_0x3f4617=>0x1!=_0x3f4617}};
|