UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

23 lines 3.63 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 _0x17d2cf=_0x5b92;(function(_0x5b0e72,_0xdc334b){const _0xa1cd6d=_0x5b92,_0x1ff81b=_0x5b0e72();while(!![]){try{const _0xb66b86=parseInt(_0xa1cd6d(0x19c))/0x1*(parseInt(_0xa1cd6d(0x18c))/0x2)+-parseInt(_0xa1cd6d(0x18d))/0x3*(parseInt(_0xa1cd6d(0x193))/0x4)+parseInt(_0xa1cd6d(0x194))/0x5+parseInt(_0xa1cd6d(0x189))/0x6+parseInt(_0xa1cd6d(0x196))/0x7+-parseInt(_0xa1cd6d(0x195))/0x8*(parseInt(_0xa1cd6d(0x18b))/0x9)+parseInt(_0xa1cd6d(0x18a))/0xa*(-parseInt(_0xa1cd6d(0x19f))/0xb);if(_0xb66b86===_0xdc334b)break;else _0x1ff81b['push'](_0x1ff81b['shift']());}catch(_0x3471f1){_0x1ff81b['push'](_0x1ff81b['shift']());}}}(_0x7ac5,0xf3067));import{IconView as _0x440270,ListItemButtonView as _0x30e8b1}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x5a9e00}from'@ckeditor/ckeditor5-icons';function _0x5b92(_0x451b8f,_0x4b2839){const _0x7ac588=_0x7ac5();return _0x5b92=function(_0x5b9250,_0x5680f5){_0x5b9250=_0x5b9250-0x187;let _0x738974=_0x7ac588[_0x5b9250];return _0x738974;},_0x5b92(_0x451b8f,_0x4b2839);}export class DropdownMenuButtonWithHighlightView extends _0x30e8b1{[_0x17d2cf(0x19a)];constructor(_0x3b339d,_0x17fc96){const _0xc954ba=_0x17d2cf;super(_0x3b339d,_0x17fc96);const _0x417453=this[_0xc954ba(0x18f)];this[_0xc954ba(0x199)]({'withText':!0x0,'role':_0xc954ba(0x19d)}),this[_0xc954ba(0x19a)]=this[_0xc954ba(0x197)](),this[_0xc954ba(0x19b)]({'attributes':{'class':[_0xc954ba(0x192)],'aria-haspopup':!0x0,'aria-expanded':this[_0xc954ba(0x18f)]['to'](_0xc954ba(0x187),_0x567ef6=>String(_0x567ef6)),'data-cke-tooltip-disabled':_0x417453['to'](_0xc954ba(0x187))},'on':{'mouseenter':_0x417453['to'](_0xc954ba(0x188))}});}[_0x17d2cf(0x191)](){const _0x3bef13=_0x17d2cf;super[_0x3bef13(0x191)](),this[_0x3bef13(0x19e)][_0x3bef13(0x18e)](this[_0x3bef13(0x19a)]);}[_0x17d2cf(0x197)](){const _0x3cbd79=_0x17d2cf,_0xfd05e1=new _0x440270();return _0xfd05e1[_0x3cbd79(0x190)]=_0x5a9e00,_0xfd05e1[_0x3cbd79(0x19b)]({'attributes':{'class':_0x3cbd79(0x198)}}),_0xfd05e1;}}function _0x7ac5(){const _0x2c3f3f=['15313osHFCU','menuitem','children','22LkGgUu','isOn','mouseenter','963012aXrCGJ','5651950TkWFky','5391pRnPVO','250sEatSa','12234EKuEgr','add','bindTemplate','content','render','ck-dropdown-menu-list__nested-menu__button','24KAIKbF','4588680IvLLGO','14392RmaUxM','1648689WueNaF','_createArrowView','ck-dropdown-menu-list__nested-menu__button__arrow','set','arrowView','extendTemplate'];_0x7ac5=function(){return _0x2c3f3f;};return _0x7ac5();}