@ckeditor/ckeditor5-export-pdf
Version:
Export to PDF feature for CKEditor 5.
23 lines • 3.6 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x340b3d=_0x312a;(function(_0xae6f02,_0x4ca83b){const _0x3ba559=_0x312a,_0x343317=_0xae6f02();while(!![]){try{const _0x104a0b=parseInt(_0x3ba559(0x1aa))/0x1+parseInt(_0x3ba559(0x1b0))/0x2+parseInt(_0x3ba559(0x1b1))/0x3*(parseInt(_0x3ba559(0x1bb))/0x4)+-parseInt(_0x3ba559(0x1bf))/0x5+parseInt(_0x3ba559(0x1b7))/0x6*(-parseInt(_0x3ba559(0x1b8))/0x7)+-parseInt(_0x3ba559(0x1a5))/0x8+parseInt(_0x3ba559(0x1bd))/0x9*(parseInt(_0x3ba559(0x1ab))/0xa);if(_0x104a0b===_0x4ca83b)break;else _0x343317['push'](_0x343317['shift']());}catch(_0xf3be12){_0x343317['push'](_0x343317['shift']());}}}(_0x1810,0x29493));import{Plugin as _0x33b58b}from'ckeditor5/src/core.js';import{Notification as _0x5c551e}from'ckeditor5/src/ui.js';import _0x5807b7 from'./exportpdfcommand.js';function _0x1810(){const _0x2a47ee=['requires','1308432jriDYr','get','token','editor','pluginName','99638NAduqI','1302850ECYbVW','ExportPdf','commands','CloudServices','then','432768ZfUZFG','15vxPtnR','_token','config','isPremiumPlugin','add','init','102axdkYS','86863xTnZoi','tokenUrl','exportPdf','83188pGZoLt','registerTokenUrl','27IznVRK','plugins','1336240IFzzBb','isOfficialPlugin'];_0x1810=function(){return _0x2a47ee;};return _0x1810();}function _0x312a(_0x5f588a,_0x5ccc5f){const _0x1810d8=_0x1810();return _0x312a=function(_0x312ad4,_0x53e806){_0x312ad4=_0x312ad4-0x1a3;let _0x23fa81=_0x1810d8[_0x312ad4];return _0x23fa81;},_0x312a(_0x5f588a,_0x5ccc5f);}import _0x65e6e8 from'./exportpdfui.js';export default class o extends _0x33b58b{[_0x340b3d(0x1b2)];static get[_0x340b3d(0x1a9)](){const _0x315663=_0x340b3d;return _0x315663(0x1ac);}static get[_0x340b3d(0x1a3)](){return!0x0;}static get[_0x340b3d(0x1b4)](){return!0x0;}static get[_0x340b3d(0x1a4)](){const _0x1bbae9=_0x340b3d;return[_0x1bbae9(0x1ae),_0x5c551e,_0x65e6e8];}[_0x340b3d(0x1b6)](){const _0x1a72a4=_0x340b3d,_0x40480c=this[_0x1a72a4(0x1a8)],_0x2d7c87=_0x40480c[_0x1a72a4(0x1b3)][_0x1a72a4(0x1a6)](_0x1a72a4(0x1ba))||{};_0x40480c[_0x1a72a4(0x1ad)][_0x1a72a4(0x1b5)](_0x1a72a4(0x1ba),new _0x5807b7(_0x40480c));const _0x58bf50=_0x40480c[_0x1a72a4(0x1be)][_0x1a72a4(0x1a6)](_0x1a72a4(0x1ae));!0x1===_0x2d7c87[_0x1a72a4(0x1b9)]?this[_0x1a72a4(0x1b2)]=null:_0x2d7c87[_0x1a72a4(0x1b9)]?_0x58bf50[_0x1a72a4(0x1bc)](_0x2d7c87[_0x1a72a4(0x1b9)])[_0x1a72a4(0x1af)](_0x448cf8=>{const _0x16b876=_0x1a72a4;this[_0x16b876(0x1b2)]=_0x448cf8;}):this[_0x1a72a4(0x1b2)]=_0x58bf50[_0x1a72a4(0x1a7)];}}