UNPKG

@ckeditor/ckeditor5-template

Version:

Template feature for CKEditor 5.

23 lines 4.64 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 _0x340dad=_0x5456;(function(_0x495dac,_0x355c40){const _0x1e9426=_0x5456,_0x2b3293=_0x495dac();while(!![]){try{const _0x322d0f=parseInt(_0x1e9426(0x18c))/0x1*(parseInt(_0x1e9426(0x188))/0x2)+-parseInt(_0x1e9426(0x17f))/0x3+parseInt(_0x1e9426(0x17d))/0x4+-parseInt(_0x1e9426(0x175))/0x5+-parseInt(_0x1e9426(0x18b))/0x6+parseInt(_0x1e9426(0x180))/0x7*(-parseInt(_0x1e9426(0x16b))/0x8)+parseInt(_0x1e9426(0x186))/0x9;if(_0x322d0f===_0x355c40)break;else _0x2b3293['push'](_0x2b3293['shift']());}catch(_0x39b919){_0x2b3293['push'](_0x2b3293['shift']());}}}(_0x441a,0xa549b));function _0x441a(){const _0x35b39e=['TemplateEditing','expired','templateLicenseKeyEvaluationLimit','_licenseKeyCheckInterval','templateLicenseKeyUsageLimit','1026865nzYkvb','templateLicenseKeyExpired','Template','trialLimit','get','templateLicenseKeyNotAllowed','evaluationLimit','insertTemplate','4323688aJFubn','destroy','1458348EPfJGS','318899HRDpvk','pluginName','templateLicenseKeyDomainLimit','_showLicenseError','licenseKey','commands','7100910XiTUpO','templateLicenseKeyTrialLimit','179838WeaZZr','domainLimit','isPremiumPlugin','5116290gHatda','11JJNYgk','templateLicenseKeyInvalid','templateLicenseKeyValid','config','usageLimit','editor','invalid','112OjxlXe','init','isOfficialPlugin','add','featureNotAllowed'];_0x441a=function(){return _0x35b39e;};return _0x441a();}import{Plugin as _0x3de118}from'ckeditor5/src/core.js';function _0x5456(_0x24c73e,_0x3cf7b9){const _0x441a54=_0x441a();return _0x5456=function(_0x5456dd,_0x8f2711){_0x5456dd=_0x5456dd-0x169;let _0x4384b5=_0x441a54[_0x5456dd];return _0x4384b5;},_0x5456(_0x24c73e,_0x3cf7b9);}import{TemplateCommand as _0x18b9c9}from'./templatecommand.js';export class TemplateEditing extends _0x3de118{[_0x340dad(0x184)];[_0x340dad(0x173)];static get[_0x340dad(0x181)](){const _0x10c375=_0x340dad;return _0x10c375(0x170);}static get[_0x340dad(0x16d)](){return!0x0;}static get[_0x340dad(0x18a)](){return!0x0;}[_0x340dad(0x16c)](){const _0x5971c0=_0x340dad,{editor:_0x29f7f7}=this;_0x29f7f7[_0x5971c0(0x185)][_0x5971c0(0x16e)](_0x5971c0(0x17c),new _0x18b9c9(_0x29f7f7)),this[_0x5971c0(0x184)]=this[_0x5971c0(0x169)][_0x5971c0(0x18f)][_0x5971c0(0x179)](_0x5971c0(0x184));const _0x1cc789=this[_0x5971c0(0x169)];this[_0x5971c0(0x173)]=setInterval(()=>{const _0x3f6eb7=_0x5971c0;let _0x46a29a;for(const _0x5c1d9b in _0x1cc789){const _0xc856a7=_0x5c1d9b,_0x4c4f41=_0x1cc789[_0xc856a7];if(_0x3f6eb7(0x18e)==_0x4c4f41||_0x3f6eb7(0x18d)==_0x4c4f41||_0x3f6eb7(0x176)==_0x4c4f41||_0x3f6eb7(0x182)==_0x4c4f41||_0x3f6eb7(0x17a)==_0x4c4f41||_0x3f6eb7(0x172)==_0x4c4f41||_0x3f6eb7(0x187)==_0x4c4f41||_0x3f6eb7(0x174)==_0x4c4f41){delete _0x1cc789[_0xc856a7],_0x46a29a=_0x4c4f41,clearInterval(this[_0x3f6eb7(0x173)]),this[_0x3f6eb7(0x173)]=void 0x0;break;}}_0x3f6eb7(0x18d)==_0x46a29a&&_0x1cc789[_0x3f6eb7(0x183)](_0x3f6eb7(0x16a)),_0x3f6eb7(0x176)==_0x46a29a&&_0x1cc789[_0x3f6eb7(0x183)](_0x3f6eb7(0x171)),_0x3f6eb7(0x182)==_0x46a29a&&_0x1cc789[_0x3f6eb7(0x183)](_0x3f6eb7(0x189)),_0x3f6eb7(0x17a)==_0x46a29a&&_0x1cc789[_0x3f6eb7(0x183)](_0x3f6eb7(0x16f),_0x3f6eb7(0x177)),_0x3f6eb7(0x172)==_0x46a29a&&_0x1cc789[_0x3f6eb7(0x183)](_0x3f6eb7(0x17b)),_0x3f6eb7(0x187)==_0x46a29a&&_0x1cc789[_0x3f6eb7(0x183)](_0x3f6eb7(0x178)),_0x3f6eb7(0x174)==_0x46a29a&&_0x1cc789[_0x3f6eb7(0x183)](_0x3f6eb7(0x190));},0x3e8);}[_0x340dad(0x17e)](){const _0x99cc3b=_0x340dad;super[_0x99cc3b(0x17e)](),this[_0x99cc3b(0x173)]&&clearInterval(this[_0x99cc3b(0x173)]);}}