UNPKG

@ckeditor/ckeditor5-export-word

Version:

Export to Word feature for CKEditor 5.

23 lines 3.7 kB
/* * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * * * * * +---------------------------------------------------------------------------------+ * | | * | Hello stranger! | * | | * | | * | What you're currently looking at is the source code of a legally protected, | * | proprietary software. Any attempts to deobfuscate / disassemble this code | * | are forbidden and will result in legal consequences. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ const _0x53ec7d=_0x118e;(function(_0x5a32f9,_0x583c99){const _0x3a574c=_0x118e,_0x240cff=_0x5a32f9();while(!![]){try{const _0x210414=parseInt(_0x3a574c(0x1f7))/0x1+-parseInt(_0x3a574c(0x205))/0x2*(-parseInt(_0x3a574c(0x20c))/0x3)+parseInt(_0x3a574c(0x1f1))/0x4*(parseInt(_0x3a574c(0x1f4))/0x5)+-parseInt(_0x3a574c(0x1fe))/0x6*(-parseInt(_0x3a574c(0x1fd))/0x7)+-parseInt(_0x3a574c(0x207))/0x8*(-parseInt(_0x3a574c(0x202))/0x9)+parseInt(_0x3a574c(0x20a))/0xa*(-parseInt(_0x3a574c(0x1f6))/0xb)+-parseInt(_0x3a574c(0x1f5))/0xc;if(_0x210414===_0x583c99)break;else _0x240cff['push'](_0x240cff['shift']());}catch(_0x1a6e1d){_0x240cff['push'](_0x240cff['shift']());}}}(_0x4d82,0x834f1));function _0x118e(_0x3a0215,_0x1a83cd){const _0x4d82a2=_0x4d82();return _0x118e=function(_0x118e9e,_0x1c5fa2){_0x118e9e=_0x118e9e-0x1ee;let _0x273995=_0x4d82a2[_0x118e9e];return _0x273995;},_0x118e(_0x3a0215,_0x1a83cd);}function _0x4d82(){const _0x457062=['391020LdovJY','isOfficialPlugin','token','exportWord','commands','tokenUrl','1085qRAlpI','25446unqMom','config','requires','_token','18eqvduv','isPremiumPlugin','plugins','2460axcsJs','get','506872exdMcw','CloudServices','then','10uzDVAV','editor','2604MsiwKZ','add','pluginName','ExportWord','4isCiEs','registerTokenUrl','init','2073235hLRUPM','20462376YfoZAs','4557751GcosKy'];_0x4d82=function(){return _0x457062;};return _0x4d82();}import{Plugin as _0x434281}from'ckeditor5/src/core.js';import{Notification as _0x2ff26d}from'ckeditor5/src/ui.js';import _0x1ed3bf from'./exportwordcommand.js';import _0x217c01 from'./exportwordui.js';export default class s extends _0x434281{[_0x53ec7d(0x201)];static get[_0x53ec7d(0x1ef)](){const _0x5d1467=_0x53ec7d;return _0x5d1467(0x1f0);}static get[_0x53ec7d(0x1f8)](){return!0x0;}static get[_0x53ec7d(0x203)](){return!0x0;}static get[_0x53ec7d(0x200)](){const _0x55e769=_0x53ec7d;return[_0x55e769(0x208),_0x2ff26d,_0x217c01];}[_0x53ec7d(0x1f3)](){const _0x4c0bf1=_0x53ec7d,_0x587233=this[_0x4c0bf1(0x20b)],_0x348d76=_0x587233[_0x4c0bf1(0x1ff)][_0x4c0bf1(0x206)](_0x4c0bf1(0x1fa))||{};_0x587233[_0x4c0bf1(0x1fb)][_0x4c0bf1(0x1ee)](_0x4c0bf1(0x1fa),new _0x1ed3bf(_0x587233));const _0x5662be=_0x587233[_0x4c0bf1(0x204)][_0x4c0bf1(0x206)](_0x4c0bf1(0x208));!0x1===_0x348d76[_0x4c0bf1(0x1fc)]?this[_0x4c0bf1(0x201)]=null:_0x348d76[_0x4c0bf1(0x1fc)]?_0x5662be[_0x4c0bf1(0x1f2)](_0x348d76[_0x4c0bf1(0x1fc)])[_0x4c0bf1(0x209)](_0x1b136e=>{const _0x1957aa=_0x4c0bf1;this[_0x1957aa(0x201)]=_0x1b136e;}):this[_0x4c0bf1(0x201)]=_0x5662be[_0x4c0bf1(0x1f9)];}}