@ckeditor/ckeditor5-export-word
Version:
Export to Word feature for CKEditor 5.
23 lines • 3.77 kB
JavaScript
/*
* 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
function _0x443c(_0x160f8e,_0x2f0714){const _0x595103=_0x5951();return _0x443c=function(_0x443cd8,_0x230cef){_0x443cd8=_0x443cd8-0x147;let _0x229908=_0x595103[_0x443cd8];return _0x229908;},_0x443c(_0x160f8e,_0x2f0714);}const _0xca4da4=_0x443c;(function(_0x13fc7b,_0x3144b2){const _0x589354=_0x443c,_0x4b8688=_0x13fc7b();while(!![]){try{const _0x1dc0e1=parseInt(_0x589354(0x15f))/0x1*(-parseInt(_0x589354(0x15c))/0x2)+parseInt(_0x589354(0x15e))/0x3*(-parseInt(_0x589354(0x147))/0x4)+-parseInt(_0x589354(0x152))/0x5*(-parseInt(_0x589354(0x157))/0x6)+-parseInt(_0x589354(0x14b))/0x7*(-parseInt(_0x589354(0x150))/0x8)+-parseInt(_0x589354(0x153))/0x9*(-parseInt(_0x589354(0x148))/0xa)+-parseInt(_0x589354(0x149))/0xb*(-parseInt(_0x589354(0x166))/0xc)+parseInt(_0x589354(0x14e))/0xd*(-parseInt(_0x589354(0x159))/0xe);if(_0x1dc0e1===_0x3144b2)break;else _0x4b8688['push'](_0x4b8688['shift']());}catch(_0x73b361){_0x4b8688['push'](_0x4b8688['shift']());}}}(_0x5951,0x8c9e1));import{Plugin as _0x56f65f}from'ckeditor5/src/core.js';import{Notification as _0x152722}from'ckeditor5/src/ui.js';import _0x1c6e36 from'./exportwordcommand.js';function _0x5951(){const _0x1fead0=['_token','config','get','tokenUrl','init','108qjETif','pluginName','184ygYxFu','10973300bSozRH','1161391bBjMny','editor','7PVFRSC','isPremiumPlugin','isOfficialPlugin','173771rfZrcg','plugins','7430216oLjIYS','requires','1079410cnXkCL','9tQulqZ','then','ExportWord','commands','6igqnxX','exportWord','1008jsGmag','CloudServices','token','1420914oQpfFb','add','61524MPebiO','1TUXJHe','registerTokenUrl'];_0x5951=function(){return _0x1fead0;};return _0x5951();}import _0x4c973a from'./exportwordui.js';export default class s extends _0x56f65f{static get[_0xca4da4(0x167)](){const _0x390730=_0xca4da4;return _0x390730(0x155);}static get[_0xca4da4(0x14d)](){return!0x0;}static get[_0xca4da4(0x14c)](){return!0x0;}static get[_0xca4da4(0x151)](){const _0x58fc3c=_0xca4da4;return[_0x58fc3c(0x15a),_0x152722,_0x4c973a];}[_0xca4da4(0x165)](){const _0x3b4cb6=_0xca4da4,_0x1e7f3b=this[_0x3b4cb6(0x14a)],_0x4f1822=_0x1e7f3b[_0x3b4cb6(0x162)][_0x3b4cb6(0x163)](_0x3b4cb6(0x158))||{};_0x1e7f3b[_0x3b4cb6(0x156)][_0x3b4cb6(0x15d)](_0x3b4cb6(0x158),new _0x1c6e36(_0x1e7f3b));const _0x5104d3=_0x1e7f3b[_0x3b4cb6(0x14f)][_0x3b4cb6(0x163)](_0x3b4cb6(0x15a));!0x1===_0x4f1822[_0x3b4cb6(0x164)]?this[_0x3b4cb6(0x161)]=null:_0x4f1822[_0x3b4cb6(0x164)]?_0x5104d3[_0x3b4cb6(0x160)](_0x4f1822[_0x3b4cb6(0x164)])[_0x3b4cb6(0x154)](_0x3bc387=>{const _0x4dbf65=_0x3b4cb6;this[_0x4dbf65(0x161)]=_0x3bc387;}):this[_0x3b4cb6(0x161)]=_0x5104d3[_0x3b4cb6(0x15b)];}}