@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
23 lines • 2.98 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 _0x1aee(){const _0x2e6d8d=['prompt','locale','set','10zrSkMI','541344YDWuRb','execute','2032482nEZuva','children','386468DgRfjb','64AemayM','fire','1353gKomis','128ClRUtt','115860YxnZXz','227983MazEZX','141042LdmDsx','add','6623154zjIhzY'];_0x1aee=function(){return _0x2e6d8d;};return _0x1aee();}(function(_0x5df661,_0x3212cd){const _0x16d6ee=_0xcdd5,_0x36a272=_0x5df661();while(!![]){try{const _0x38fd93=-parseInt(_0x16d6ee(0x14c))/0x1+-parseInt(_0x16d6ee(0x150))/0x2+-parseInt(_0x16d6ee(0x145))/0x3*(-parseInt(_0x16d6ee(0x13f))/0x4)+parseInt(_0x16d6ee(0x14b))/0x5*(-parseInt(_0x16d6ee(0x14e))/0x6)+parseInt(_0x16d6ee(0x144))/0x7*(parseInt(_0x16d6ee(0x142))/0x8)+-parseInt(_0x16d6ee(0x147))/0x9+-parseInt(_0x16d6ee(0x143))/0xa*(-parseInt(_0x16d6ee(0x141))/0xb);if(_0x38fd93===_0x3212cd)break;else _0x36a272['push'](_0x36a272['shift']());}catch(_0x3dd746){_0x36a272['push'](_0x36a272['shift']());}}}(_0x1aee,0x8661c));import{ListItemView as _0x3a3693,ButtonView as _0x2a13f8,ButtonLabelView as _0x4e6a80}from'ckeditor5/src/ui.js';import{unescape as _0x34cefc}from'es-toolkit/compat';function _0xcdd5(_0x92663a,_0x4e5ed2){const _0x1aee04=_0x1aee();return _0xcdd5=function(_0xcdd596,_0x7bb24){_0xcdd596=_0xcdd596-0x13f;let _0x956df6=_0x1aee04[_0xcdd596];return _0x956df6;},_0xcdd5(_0x92663a,_0x4e5ed2);}export class AIHistoryListItemView extends _0x3a3693{constructor(_0x505e26){const _0x235e0a=_0xcdd5;super();const _0x3b11d5=new _0x4e6a80(),_0x3ce8e5=new _0x2a13f8(this[_0x235e0a(0x149)],_0x3b11d5);this[_0x235e0a(0x14f)][_0x235e0a(0x146)](_0x3ce8e5),_0x3ce8e5[_0x235e0a(0x14a)]({'label':_0x505e26[_0x235e0a(0x148)],'withText':!0x0}),_0x3ce8e5['on'](_0x235e0a(0x14d),()=>{const _0x34e4db=_0x235e0a;this[_0x34e4db(0x140)](_0x34e4db(0x14d),{'value':_0x34cefc(_0x505e26[_0x34e4db(0x148)])});});}}