UNPKG

@ckeditor/ckeditor5-export-word

Version:

Export to Word feature for CKEditor 5.

23 lines 3.52 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 _0x2c9131=_0x3e52;function _0x3b75(){const _0x2ca76e=['isPremiumPlugin','requires','registerTokenUrl','pluginName','add','4350930KaQTNK','then','ExportWord','CloudServices','config','token','1765648dwCXeU','get','3056164cwPtqW','4215533uAVyoE','210323uOdjnK','init','tokenUrl','exportWord','3634720rtgYAh','18RBxLCh','plugins','11501520rIlTfK','editor','commands','_token','isOfficialPlugin'];_0x3b75=function(){return _0x2ca76e;};return _0x3b75();}(function(_0x1f3f6a,_0xe81f53){const _0x30d989=_0x3e52,_0x43fbde=_0x1f3f6a();while(!![]){try{const _0x5ece44=parseInt(_0x30d989(0xe6))/0x1+-parseInt(_0x30d989(0xe4))/0x2+parseInt(_0x30d989(0xf7))/0x3+parseInt(_0x30d989(0xe2))/0x4+parseInt(_0x30d989(0xea))/0x5+parseInt(_0x30d989(0xeb))/0x6*(-parseInt(_0x30d989(0xe5))/0x7)+parseInt(_0x30d989(0xed))/0x8;if(_0x5ece44===_0xe81f53)break;else _0x43fbde['push'](_0x43fbde['shift']());}catch(_0x592850){_0x43fbde['push'](_0x43fbde['shift']());}}}(_0x3b75,0xe3864));import{Plugin as _0xbc0db5}from'ckeditor5/src/core.js';import{Notification as _0x2b512f}from'ckeditor5/src/ui.js';function _0x3e52(_0x59d84c,_0x3f3434){const _0x3b757a=_0x3b75();return _0x3e52=function(_0x3e52a4,_0x3b5f5f){_0x3e52a4=_0x3e52a4-0xdd;let _0x4faac5=_0x3b757a[_0x3e52a4];return _0x4faac5;},_0x3e52(_0x59d84c,_0x3f3434);}import{ExportWordCommand as _0x267d2c}from'./exportwordcommand.js';import{ExportWordUI as _0x12e209}from'./exportwordui.js';export class ExportWord extends _0xbc0db5{[_0x2c9131(0xf0)];static get[_0x2c9131(0xf5)](){const _0x330e9c=_0x2c9131;return _0x330e9c(0xde);}static get[_0x2c9131(0xf1)](){return!0x0;}static get[_0x2c9131(0xf2)](){return!0x0;}static get[_0x2c9131(0xf3)](){const _0x2231ea=_0x2c9131;return[_0x2231ea(0xdf),_0x2b512f,_0x12e209];}[_0x2c9131(0xe7)](){const _0x2df10d=_0x2c9131,_0x35cdfa=this[_0x2df10d(0xee)],_0x4a6633=_0x35cdfa[_0x2df10d(0xe0)][_0x2df10d(0xe3)](_0x2df10d(0xe9))||{};_0x35cdfa[_0x2df10d(0xef)][_0x2df10d(0xf6)](_0x2df10d(0xe9),new _0x267d2c(_0x35cdfa));const _0x3a5c8f=_0x35cdfa[_0x2df10d(0xec)][_0x2df10d(0xe3)](_0x2df10d(0xdf));!0x1===_0x4a6633[_0x2df10d(0xe8)]?this[_0x2df10d(0xf0)]=null:_0x4a6633[_0x2df10d(0xe8)]?_0x3a5c8f[_0x2df10d(0xf4)](_0x4a6633[_0x2df10d(0xe8)])[_0x2df10d(0xdd)](_0xe2bce1=>{const _0x3e1278=_0x2df10d;this[_0x3e1278(0xf0)]=_0xe2bce1;}):this[_0x2df10d(0xf0)]=_0x3a5c8f[_0x2df10d(0xe1)];}}