@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
23 lines • 2.87 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 _0x421d5c=_0x2a63;function _0x1e2a(){const _0x4f021f=['591195LARMla','2359aswFeJ','6980CaTJHc','enabled','11946dAakjz','filter','6273NoVVkB','373584wURnPF','4MhJGxP','1930930Bfptrr','sort','capabilities','2300125MdFtOd','length','values','3620656LKEXXu','getAll'];_0x1e2a=function(){return _0x4f021f;};return _0x1e2a();}(function(_0x3848a7,_0x51209c){const _0x4fb2ec=_0x2a63,_0x2a597a=_0x3848a7();while(!![]){try{const _0x33a918=-parseInt(_0x4fb2ec(0x172))/0x1+parseInt(_0x4fb2ec(0x174))/0x2+parseInt(_0x4fb2ec(0x16b))/0x3*(-parseInt(_0x4fb2ec(0x173))/0x4)+-parseInt(_0x4fb2ec(0x166))/0x5+-parseInt(_0x4fb2ec(0x16f))/0x6*(-parseInt(_0x4fb2ec(0x16c))/0x7)+-parseInt(_0x4fb2ec(0x169))/0x8+-parseInt(_0x4fb2ec(0x171))/0x9*(-parseInt(_0x4fb2ec(0x16d))/0xa);if(_0x33a918===_0x51209c)break;else _0x2a597a['push'](_0x2a597a['shift']());}catch(_0x24acfc){_0x2a597a['push'](_0x2a597a['shift']());}}}(_0x1e2a,0x9c2c2));function _0x2a63(_0x4e0605,_0x5d8b54){const _0x1e2a96=_0x1e2a();return _0x2a63=function(_0x2a6356,_0x579e32){_0x2a6356=_0x2a6356-0x166;let _0x593a31=_0x1e2a96[_0x2a6356];return _0x593a31;},_0x2a63(_0x4e0605,_0x5d8b54);}import{AIModels as _0x31d9c2}from'../../aicore/model/aimodels.js';export class AIChatModels extends _0x31d9c2{async[_0x421d5c(0x16a)](){const _0x2a4b20=_0x421d5c;return(await super[_0x2a4b20(0x16a)]())[_0x2a4b20(0x175)]((_0x53e545,_0x119afe)=>{const _0x58e714=_0x2a4b20,_0xc97cb7=Object[_0x58e714(0x168)](_0x53e545[_0x58e714(0x176)])[_0x58e714(0x170)](_0x48dc92=>_0x48dc92[_0x58e714(0x16e)])[_0x58e714(0x167)];return Object[_0x58e714(0x168)](_0x119afe[_0x58e714(0x176)])[_0x58e714(0x170)](_0x4c330a=>_0x4c330a[_0x58e714(0x16e)])[_0x58e714(0x167)]-_0xc97cb7;});}}