@ckeditor/ckeditor5-ai
Version:
AI Assistant feature for CKEditor 5.
23 lines • 3 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
var _0x3d53fb=_0x188e;(function(_0x5a41f3,_0x5aa937){var _0x3c1510=_0x188e,_0x54e3aa=_0x5a41f3();while(!![]){try{var _0x33e8b8=parseInt(_0x3c1510(0x102))/0x1*(parseInt(_0x3c1510(0x105))/0x2)+parseInt(_0x3c1510(0x103))/0x3*(parseInt(_0x3c1510(0xf7))/0x4)+parseInt(_0x3c1510(0xfa))/0x5*(parseInt(_0x3c1510(0xf6))/0x6)+parseInt(_0x3c1510(0xf8))/0x7+-parseInt(_0x3c1510(0xfe))/0x8*(-parseInt(_0x3c1510(0x106))/0x9)+-parseInt(_0x3c1510(0xfb))/0xa+-parseInt(_0x3c1510(0xfd))/0xb;if(_0x33e8b8===_0x5aa937)break;else _0x54e3aa['push'](_0x54e3aa['shift']());}catch(_0x15da84){_0x54e3aa['push'](_0x54e3aa['shift']());}}}(_0x18f4,0xd7f22));import{Plugin as _0x36edf3}from'ckeditor5/src/core.js';import{CKEditorError as _0x30f60d}from'ckeditor5/src/utils.js';export default class E extends _0x36edf3{static get[_0x3d53fb(0x109)](){var _0x4f74cd=_0x3d53fb;return _0x4f74cd(0x104);}static get[_0x3d53fb(0x101)](){return!0x0;}static get[_0x3d53fb(0xff)](){return!0x0;}[_0x3d53fb(0x107)](){var _0xd82258=_0x3d53fb;if(!this[_0xd82258(0x108)])throw new _0x30f60d(_0xd82258(0xfc),null);}}function _0x188e(_0xdcaf24,_0x2dacb1){var _0x18f4b3=_0x18f4();return _0x188e=function(_0x188e2c,_0x15eb40){_0x188e2c=_0x188e2c-0xf6;var _0x505327=_0x18f4b3[_0x188e2c];return _0x505327;},_0x188e(_0xdcaf24,_0x2dacb1);}function _0x18f4(){var _0x314a61=['24105334qpsVRo','1936LGtFoD','isPremiumPlugin','AIRequestError','isOfficialPlugin','6UMEmTh','2825178YGsvXQ','AIAdapter','74132TkdoFk','1071rQbcBy','afterInit','textAdapter','pluginName','2240202LXclZQ','4GiUNQp','6053271hIZjfq','name','20TbpcSk','4752330GxdEGg','aiadapter-text-adapter-not-set'];_0x18f4=function(){return _0x314a61;};return _0x18f4();}export class AIRequestError extends Error{constructor(_0x45e44a){var _0x1ca667=_0x3d53fb;super(_0x45e44a),this[_0x1ca667(0xf9)]=_0x1ca667(0x100);}}