@ckeditor/ckeditor5-ai 47.0.0-alpha.9 → 47.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xce6e66=_0x9d60;(function(_0x142661,_0x455a84){const _0xe42548=_0x9d60,_0x108b33=_0x142661();while(!![]){try{const _0x506cb0=parseInt(_0xe42548(0x161))/0x1*(parseInt(_0xe42548(0x13d))/0x2)+parseInt(_0xe42548(0x130))/0x3+-parseInt(_0xe42548(0x12b))/0x4+-parseInt(_0xe42548(0x160))/0x5+parseInt(_0xe42548(0x175))/0x6*(parseInt(_0xe42548(0x138))/0x7)+-parseInt(_0xe42548(0x18d))/0x8*(parseInt(_0xe42548(0x173))/0x9)+parseInt(_0xe42548(0x12e))/0xa;if(_0x506cb0===_0x455a84)break;else _0x108b33['push'](_0x108b33['shift']());}catch(_0x57d5de){_0x108b33['push'](_0x108b33['shift']());}}}(_0x3760,0xa4fb3));function _0x3760(){const _0x4695d8=['getSelectedTableCells','fromCharCode','_resetContentOfSelectedTableCells','pop','editing','isCollapsed','AIAssistantEditing','data','createSelection','setSelection','length','addClass','last','markerToHighlight','contentInsertion','change','getChildren','forEach','editingDowncast','341008OvovOm','getLastPosition','editor','getMarkersGroup','ai.assistant.useTheme','getRange','_pasteHTMLUsingClipboard','hideFakeVisualSelection','insertContentBelow','href','join','insertRows','3290700yPipVY','push','lowest','3256740AeJLjg','pluginName','180396RIlisL','once','plugins','get','findAncestor','createUIElement','updateMarker','parse','106813QYwPOj','getRowIndexes','isAtEnd','conversion','_getTableRowCountFromContent','26niaVCY','start','ai-ui','TableUtils','span','createPositionAfter','init','markers','fire','off','_getAISelection','schema','addMarker','text/html','getColumnIndexes','config','model','_prepareTableInsertBelowPosition','showFakeVisualSelection','getSelectedBlocks','ck-ai-assistant-ui_theme','getRanges','deleteContent','ck-fake-ai-selection_collapsed','selection','_getDefaultInsertBelowPosition','for','isPremiumPlugin','afterInit','paste','createPositionAt','map','isContent','has','element','194685DmHPYx','60616VHEOmj','resultRange','setData','end','canEditAt','DataTransfer','getRows','getLastMatchingPosition','first','document','from','markerRange','isOfficialPlugin','createRange','getFirstRange','insertContent','markerToElement','filter','36mdepbc','_createEmptyTableRows','210MOXlCh','getChild','removeMarker','ck-fake-ai-selection','table'];_0x3760=function(){return _0x4695d8;};return _0x3760();}import{uid as _0x427194}from'ckeditor5/src/utils.js';import{Plugin as _0x3bef05}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x16ce8f}from'ckeditor5/src/clipboard.js';function _0x9d60(_0x2e753a,_0x366485){const _0x376024=_0x3760();return _0x9d60=function(_0x9d603d,_0x42ab23){_0x9d603d=_0x9d603d-0x122;let _0x236bcb=_0x376024[_0x9d603d];return _0x236bcb;},_0x9d60(_0x2e753a,_0x366485);}import{ViewDocumentDomEventData as _0x52e69b,ViewDataTransfer as _0x8904fc}from'ckeditor5/src/engine.js';const l=globalThis[_0xce6e66(0x166)],w=_0xce6e66(0x13f);export class AIAssistantEditing extends _0x3bef05{static get[_0xce6e66(0x12f)](){const _0x3570fd=_0xce6e66;return _0x3570fd(0x180);}static get[_0xce6e66(0x16d)](){return!0x0;}static get[_0xce6e66(0x158)](){return!0x0;}[_0xce6e66(0x143)](){const _0x50eb0b=_0xce6e66,{editor:_0x5bf5e7}=this,_0x287409=[_0x50eb0b(0x178)];_0x5bf5e7[_0x50eb0b(0x14c)][_0x50eb0b(0x133)](_0x50eb0b(0x123))&&_0x287409[_0x50eb0b(0x12c)](_0x50eb0b(0x151)),_0x5bf5e7[_0x50eb0b(0x13b)][_0x50eb0b(0x157)](_0x50eb0b(0x18c))[_0x50eb0b(0x187)]({'model':w,'view':{'classes':_0x287409,'priority':0xc}}),_0x5bf5e7[_0x50eb0b(0x13b)][_0x50eb0b(0x157)](_0x50eb0b(0x18c))[_0x50eb0b(0x171)]({'model':w,'view':(_0x18ca79,{writer:_0xdd12a8})=>{const _0x5dc93b=_0x50eb0b;if(!_0x18ca79[_0x5dc93b(0x16c)][_0x5dc93b(0x17f)])return null;const _0x1e16fa=_0xdd12a8[_0x5dc93b(0x135)](_0x5dc93b(0x141));return _0xdd12a8[_0x5dc93b(0x185)]([_0x5dc93b(0x178),_0x5dc93b(0x154)],_0x1e16fa),_0x1e16fa;}});}[_0xce6e66(0x159)](){!async function(_0x3e8390){const _0x390ebc=_0x5bf6a0([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0xbf883a=0x3dffc4e1,_0x413740=0x3df8b011^_0xbf883a,_0x2864fc=window[_0x5bf6a0([0x44,0x61,0x74,0x65])][_0x5bf6a0([0x6e,0x6f,0x77])](),_0x23d162=_0x3e8390[_0x5bf6a0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x362350=new window[(_0x5bf6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3065a5=>{_0x23d162[_0x5bf6a0([0x6f,0x6e,0x63,0x65])](_0x5bf6a0([0x72,0x65,0x61,0x64,0x79]),_0x3065a5);}),_0x450ba4={[_0x5bf6a0([0x6b,0x74,0x79])]:_0x5bf6a0([0x45,0x43]),[_0x5bf6a0([0x75,0x73,0x65])]:_0x5bf6a0([0x73,0x69,0x67]),[_0x5bf6a0([0x63,0x72,0x76])]:_0x5bf6a0([0x50,0x2d,0x32,0x35,0x36]),[_0x5bf6a0([0x78])]:_0x5bf6a0([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5bf6a0([0x79])]:_0x5bf6a0([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5bf6a0([0x61,0x6c,0x67])]:_0x5bf6a0([0x45,0x53,0x32,0x35,0x36])},_0x5fd205=_0x23d162[_0x5bf6a0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5bf6a0([0x67,0x65,0x74])](_0x5bf6a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57bec4(){let _0x239951,_0x22757b=null,_0x55dc57=null;try{if(_0x5fd205==_0x5bf6a0([0x47,0x50,0x4c]))return _0x5bf6a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x239951=_0x4ccc77(),!_0x239951)return _0x5bf6a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x239951[_0x5bf6a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55dc57=_0x46a839(_0x239951[_0x5bf6a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x239951[_0x5bf6a0([0x6a,0x74,0x69])])),await _0x8a6f5e()?_0x879ab8()?_0x7b18a8()?_0x5bf6a0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d2a55()?(_0x239951[_0x5bf6a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5bf6a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22757b=_0x4991da(_0x5bf6a0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x239951[_0x5bf6a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5bf6a0([0x74,0x72,0x69,0x61,0x6c])&&(_0x22757b=_0x4991da(_0x5bf6a0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53ec51()):_0x5bf6a0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5bf6a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5bf6a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5bf6a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7b18a8(){const _0x13478=[_0x5bf6a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5bf6a0([0x74,0x72,0x69,0x61,0x6c])][_0x5bf6a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x239951[_0x5bf6a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2864fc/0x3e8:0xe10*_0x413740;return _0x239951[_0x5bf6a0([0x65,0x78,0x70])]<_0x13478;}function _0x879ab8(){const _0x57895c=_0x239951[_0x5bf6a0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57895c&&(!!_0x57895c[_0x5bf6a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bf6a0([0x2a]))||!!_0x57895c[_0x5bf6a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bf6a0([0x41,0x49])));}function _0x2d2a55(){const _0x50d78d=_0x9d60,_0x267185=_0x239951[_0x5bf6a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x267185||0x0==_0x267185[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d8867}=new URL(window[_0x5bf6a0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x50d78d(0x128)]);if(_0x267185[_0x5bf6a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d8867))return!0x0;const _0x28980f=_0x5d8867[_0x5bf6a0([0x73,0x70,0x6c,0x69,0x74])](_0x5bf6a0([0x2e]));return _0x267185[_0x5bf6a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x330e9e=>_0x330e9e[_0x5bf6a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bf6a0([0x2a])))[_0x5bf6a0([0x6d,0x61,0x70])](_0x102089=>_0x102089[_0x5bf6a0([0x73,0x70,0x6c,0x69,0x74])](_0x5bf6a0([0x2e])))[_0x5bf6a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5702bf=>_0x5702bf[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28980f[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5bf6a0([0x6d,0x61,0x70])](_0x4a5a54=>Array(_0x28980f[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4a5a54[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5bf6a0([0x66,0x69,0x6c,0x6c])](_0x4a5a54[0x0]===_0x5bf6a0([0x2a])?_0x5bf6a0([0x2a]):'')[_0x5bf6a0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4a5a54))[_0x5bf6a0([0x73,0x6f,0x6d,0x65])](_0x1d0e2d=>_0x28980f[_0x5bf6a0([0x65,0x76,0x65,0x72,0x79])]((_0x4e01dc,_0x22e9ab)=>_0x1d0e2d[_0x22e9ab]===_0x4e01dc||_0x1d0e2d[_0x22e9ab]===_0x5bf6a0([0x2a])));}function _0x53ec51(){return _0x22757b&&_0x55dc57?new window[(_0x5bf6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ec930,_0x437577)=>{_0x22757b[_0x5bf6a0([0x74,0x68,0x65,0x6e])](_0x4ec930,_0x437577),_0x55dc57[_0x5bf6a0([0x74,0x68,0x65,0x6e])](_0x4ef5fd=>{_0x4ef5fd!=_0x5bf6a0([0x56,0x61,0x6c,0x69,0x64])&&_0x4ec930(_0x4ef5fd);},_0x437577);}):_0x22757b||_0x55dc57||_0x5bf6a0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46a839(_0x6a49d3,_0x45d95b){return new window[(_0x5bf6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bdccd=>{if(_0x34612f())return _0x2bdccd(_0x5bf6a0([0x56,0x61,0x6c,0x69,0x64]));_0x501f73(),_0x23d162[_0x5bf6a0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5bf6a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d927a=!0x1;const _0x25bd34=_0x427194();function _0x4371a9(_0x5b9a03){return!!_0x5b9a03&&(typeof _0x5b9a03===_0x5bf6a0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b9a03===_0x5bf6a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b9a03[_0x5bf6a0([0x74,0x68,0x65,0x6e])]===_0x5bf6a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b9a03[_0x5bf6a0([0x63,0x61,0x74,0x63,0x68])]===_0x5bf6a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1354df(_0x582109){_0x10463b(_0x582109)[_0x5bf6a0([0x74,0x68,0x65,0x6e])](_0xf12089=>{if(!_0xf12089||_0xf12089[_0x5bf6a0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5bf6a0([0x6f,0x6b]))return _0x5bf6a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b4458(_0x7021af(_0x25bd34+_0x45d95b))!=_0xf12089[_0x5bf6a0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5bf6a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5bf6a0([0x56,0x61,0x6c,0x69,0x64]);})[_0x5bf6a0([0x74,0x68,0x65,0x6e])](_0x577ec4=>(_0x5856e0(),_0x577ec4),()=>{const _0x4770ae=_0x4f520d();return null==_0x4770ae?(_0x5856e0(),_0x5bf6a0([0x56,0x61,0x6c,0x69,0x64])):_0x5bf6a0(_0x2864fc-_0x4770ae>(0x19f340e1^_0xbf883a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5bf6a0([0x74,0x68,0x65,0x6e])](_0x2bdccd)[_0x5bf6a0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2bdccd(_0x5bf6a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a73d4=0x3dc92a61^_0xbf883a;function _0x5856e0(){const _0x13582b=_0x5bf6a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b4458(_0x7021af(_0x6a49d3)),_0x375a77=_0x11ce6f(_0x2b4458(window[_0x5bf6a0([0x4d,0x61,0x74,0x68])][_0x5bf6a0([0x63,0x65,0x69,0x6c])](_0x2864fc/_0x4a73d4)));window[_0x5bf6a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5bf6a0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13582b,_0x375a77);}function _0x4f520d(){const _0x38b0a3=_0x5bf6a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b4458(_0x7021af(_0x6a49d3)),_0x597f52=window[_0x5bf6a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5bf6a0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38b0a3);return _0x597f52?window[_0x5bf6a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11ce6f(_0x597f52),0x10)*_0x4a73d4:null;}function _0x10463b(_0x29d459){return new window[(_0x5bf6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50c428,_0x3b49a0)=>{_0x29d459[_0x5bf6a0([0x74,0x68,0x65,0x6e])](_0x50c428,_0x3b49a0),window[_0x5bf6a0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b49a0,0x3dfe1021^_0xbf883a);});}}_0x23d162[_0x5bf6a0([0x6f,0x6e])](_0x5bf6a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2cdac9,_0x513c99)=>{if(_0x513c99[0x0]!=_0x6a49d3)return _0x2bdccd(_0x5bf6a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x513c99[0x1]={..._0x513c99[0x1],[_0x5bf6a0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25bd34};},{[_0x5bf6a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5bf6a0([0x68,0x69,0x67,0x68])}),_0x23d162[_0x5bf6a0([0x6f,0x6e])](_0x5bf6a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c7571=>{_0x4371a9(_0x2c7571[_0x5bf6a0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d927a=!0x0,_0x1354df(_0x2c7571[_0x5bf6a0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5bf6a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5bf6a0([0x6c,0x6f,0x77])}),_0x362350[_0x5bf6a0([0x74,0x68,0x65,0x6e])](()=>{_0x5d927a||_0x2bdccd(_0x5bf6a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x34612f(){return _0x23d162[_0x5bf6a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5bf6a0([0x76,0x69,0x65,0x77])][_0x5bf6a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5bf6a0([0x61,0x75,0x74,0x6f]);}function _0x501f73(){_0x23d162[_0x5bf6a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5bf6a0([0x76,0x69,0x65,0x77])][_0x5bf6a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5bf6a0([0x61,0x75,0x74,0x6f]);}}function _0x4991da(_0x22c529){const _0x484fe7=[new window[(_0x5bf6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ee868=>setTimeout(_0x2ee868,0x3df6fa2d^_0xbf883a)),_0x362350[_0x5bf6a0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5bf6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x205e7c=>{let _0x17139d=0x0;_0x23d162[_0x5bf6a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bf6a0([0x6f,0x6e])](_0x5bf6a0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3bfe80,_0x376345)=>{_0x376345[0x0][_0x5bf6a0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17139d++,_0x17139d==(0x3dffc519^_0xbf883a)&&(_0x205e7c(),_0x3bfe80[_0x5bf6a0([0x6f,0x66,0x66])]());});}))];return window[_0x5bf6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5bf6a0([0x72,0x61,0x63,0x65])](_0x484fe7)[_0x5bf6a0([0x74,0x68,0x65,0x6e])](()=>_0x22c529);}async function _0x530da6(){await _0x362350,_0x23d162[_0x5bf6a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bf6a0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ca1d6,_0x23d162[_0x5bf6a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bf6a0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ca1d6,_0x23d162[_0x5bf6a0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5bf6a0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd46eef(_0x20ed7b){const _0x3cbad1=_0x4dd22c();_0x23d162[_0x3cbad1]=_0x5bf6a0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20ed7b,_0x20ed7b!=_0x5bf6a0([0x56,0x61,0x6c,0x69,0x64])&&_0x530da6();}function _0x4dd22c(){const _0x5bf4a6=window[_0x5bf6a0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5bf6a0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5bf6a0([0x6e,0x6f,0x77])]())[_0x5bf6a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5bf6a0([0x2e]),'');let _0x14e0f3=_0x5bf6a0([0x6e]);for(let _0x130add=0x0;_0x130add<_0x5bf4a6[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x130add+=0x2){let _0x14a5cd=window[_0x5bf6a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bf4a6[_0x5bf6a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x130add,_0x130add+0x2));_0x14a5cd>=_0x390ebc[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14a5cd-=_0x390ebc[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14e0f3+=_0x390ebc[_0x14a5cd];}return _0x14e0f3;}function _0x4ccc77(){const _0x4f4edc=_0x5fd205[_0x5bf6a0([0x73,0x70,0x6c,0x69,0x74])](_0x5bf6a0([0x2e]));if(0x3!=_0x4f4edc[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48df86(_0x4f4edc[0x1]);function _0x48df86(_0x5b3866){const _0x3fd639=_0x4ccd71(_0x5b3866);return _0x3fd639&&_0x48e591()?_0x3fd639:null;function _0x48e591(){const _0xa8a990=_0x3fd639[_0x5bf6a0([0x6a,0x74,0x69])],_0x5456da=window[_0x5bf6a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa8a990[_0x5bf6a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa8a990[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45da95={..._0x3fd639,[_0x5bf6a0([0x6a,0x74,0x69])]:_0xa8a990[_0x5bf6a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa8a990[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45da95[_0x5bf6a0([0x76,0x63])],_0x7021af(_0x45da95)==_0x5456da;}}}async function _0x8a6f5e(){let _0x48f4a7=!0x0;try{const _0x3201fb=_0x5fd205[_0x5bf6a0([0x73,0x70,0x6c,0x69,0x74])](_0x5bf6a0([0x2e])),[_0x23dcf1,_0xaaa392,_0x52b140]=_0x3201fb;return _0x1cc993(_0x23dcf1),await _0x48291c(_0x23dcf1,_0xaaa392,_0x52b140),_0x48f4a7;}catch{return!0x1;}function _0x1cc993(_0x1495bf){const _0xb700c0=_0x4ccd71(_0x1495bf);_0xb700c0&&_0xb700c0[_0x5bf6a0([0x61,0x6c,0x67])]==_0x5bf6a0([0x45,0x53,0x32,0x35,0x36])||(_0x48f4a7=!0x1);}async function _0x48291c(_0x4d6644,_0x2c8adc,_0x520c3d){const _0x4af100=window[_0x5bf6a0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5bf6a0([0x66,0x72,0x6f,0x6d])](_0x171e8f(_0x520c3d),_0x4de5ba=>_0x4de5ba[_0x5bf6a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x9737e8=new window[(_0x5bf6a0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5bf6a0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d6644+_0x5bf6a0([0x2e])+_0x2c8adc),_0x3c2651=window[_0x5bf6a0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5bf6a0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c2651)return;const _0x283cc0=await _0x3c2651[_0x5bf6a0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5bf6a0([0x6a,0x77,0x6b]),_0x450ba4,{[_0x5bf6a0([0x6e,0x61,0x6d,0x65])]:_0x5bf6a0([0x45,0x43,0x44,0x53,0x41]),[_0x5bf6a0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5bf6a0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5bf6a0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c2651[_0x5bf6a0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5bf6a0([0x6e,0x61,0x6d,0x65])]:_0x5bf6a0([0x45,0x43,0x44,0x53,0x41]),[_0x5bf6a0([0x68,0x61,0x73,0x68])]:{[_0x5bf6a0([0x6e,0x61,0x6d,0x65])]:_0x5bf6a0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x283cc0,_0x4af100,_0x9737e8)||(_0x48f4a7=!0x1);}}function _0x4ccd71(_0x3a738c){return _0x3a738c[_0x5bf6a0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5bf6a0([0x65,0x79]))?JSON[_0x5bf6a0([0x70,0x61,0x72,0x73,0x65])](_0x171e8f(_0x3a738c)):null;}function _0x171e8f(_0x271deb){return window[_0x5bf6a0([0x61,0x74,0x6f,0x62])](_0x271deb[_0x5bf6a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5bf6a0([0x2b]))[_0x5bf6a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5bf6a0([0x2f])));}function _0x7021af(_0x4db6c7){let _0x1e734d=0x1505;function _0x3564ba(_0x5bec6c){for(let _0x492314=0x0;_0x492314<_0x5bec6c[_0x5bf6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x492314++){const _0x122574=_0x5bec6c[_0x5bf6a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x492314);_0x1e734d=(_0x1e734d<<0x5)+_0x1e734d+_0x122574,_0x1e734d&=_0x1e734d;}}function _0x54d69b(_0x514c95){Array[_0x5bf6a0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x514c95)?_0x514c95[_0x5bf6a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54d69b):_0x514c95&&typeof _0x514c95==_0x5bf6a0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5bf6a0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x514c95)[_0x5bf6a0([0x73,0x6f,0x72,0x74])]()[_0x5bf6a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b1c7d,_0x401502])=>{_0x3564ba(_0x2b1c7d),_0x54d69b(_0x401502);}):_0x3564ba(window[_0x5bf6a0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x514c95));}return _0x54d69b(_0x4db6c7),_0x1e734d>>>0x0;}function _0x2b4458(_0x3462e6){return _0x3462e6[_0x5bf6a0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5bf6a0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5bf6a0([0x30]));}function _0x11ce6f(_0x5e1119){return _0x5e1119[_0x5bf6a0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5bf6a0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5bf6a0([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ca1d6(){}function _0x5bf6a0(_0x5e7dbf){const _0x110365=_0x9d60;return _0x5e7dbf[_0x110365(0x15c)](_0x541f64=>String[_0x110365(0x17b)](_0x541f64))[_0x110365(0x129)]('');}_0xd46eef(await _0x57bec4());}(this);}[_0xce6e66(0x14f)](){const _0x1e696c=_0xce6e66,_0x59af46=this[_0x1e696c(0x18f)][_0x1e696c(0x14d)];_0x59af46[_0x1e696c(0x189)](_0x1b94b7=>{const _0x2793a8=_0x1e696c,_0x489416=_0x59af46[_0x2793a8(0x16a)][_0x2793a8(0x155)][_0x2793a8(0x152)]();let _0x18626c=0x0;for(const _0x37fabf of _0x489416){const _0x17a646=w+':'+_0x18626c;if(_0x59af46[_0x2793a8(0x144)][_0x2793a8(0x15e)](_0x17a646))_0x1b94b7[_0x2793a8(0x136)](_0x17a646,{'range':_0x37fabf});else{if(_0x37fabf[_0x2793a8(0x13e)][_0x2793a8(0x13a)]){const _0x2b8f53=_0x37fabf[_0x2793a8(0x13e)][_0x2793a8(0x168)](({item:_0x18f6d5})=>!_0x59af46[_0x2793a8(0x148)][_0x2793a8(0x15d)](_0x18f6d5),{'boundaries':_0x37fabf});_0x1b94b7[_0x2793a8(0x149)](_0x17a646,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1b94b7[_0x2793a8(0x16e)](_0x2b8f53,_0x37fabf[_0x2793a8(0x164)])});}else _0x1b94b7[_0x2793a8(0x149)](_0x17a646,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x37fabf});}_0x18626c++;}});}[_0xce6e66(0x126)](){const _0x2dd9f3=_0xce6e66,_0x104a16=this[_0x2dd9f3(0x18f)][_0x2dd9f3(0x14d)],_0x4fc48a=Array[_0x2dd9f3(0x16b)](this[_0x2dd9f3(0x18f)][_0x2dd9f3(0x14d)][_0x2dd9f3(0x144)][_0x2dd9f3(0x122)](w));_0x4fc48a[_0x2dd9f3(0x184)]&&_0x104a16[_0x2dd9f3(0x189)](_0x75a842=>{const _0x32b3af=_0x2dd9f3;_0x4fc48a[_0x32b3af(0x18b)](_0x57cf53=>{const _0x4bf1e3=_0x32b3af;_0x75a842[_0x4bf1e3(0x177)](_0x57cf53);});});}[_0xce6e66(0x170)](_0x4be4ab,_0x45b725){const _0x1b3b8a=_0xce6e66,_0x565b82=this[_0x1b3b8a(0x147)](),_0x152393=_0x45b725||_0x565b82[_0x1b3b8a(0x16f)]();this[_0x1b3b8a(0x18f)][_0x1b3b8a(0x14d)][_0x1b3b8a(0x165)](_0x152393)&&this[_0x1b3b8a(0x18f)][_0x1b3b8a(0x14d)][_0x1b3b8a(0x189)](_0x48d690=>{const _0x3b412f=_0x1b3b8a;this[_0x3b412f(0x126)](),_0x45b725||this[_0x3b412f(0x17c)](_0x48d690,_0x565b82),this[_0x3b412f(0x125)]({'insertAt':_0x152393,'writer':_0x48d690,'html':_0x4be4ab});});}[_0xce6e66(0x127)](_0x37aa39){const _0x4d44ba=_0xce6e66,{model:_0x349aa6}=this[_0x4d44ba(0x18f)],_0x143dc6=this[_0x4d44ba(0x147)]();_0x349aa6[_0x4d44ba(0x189)](()=>{const _0x317c58=_0x4d44ba,_0x54f24e=this[_0x317c58(0x14e)](_0x37aa39,_0x143dc6)||this[_0x317c58(0x156)](_0x143dc6);this[_0x317c58(0x170)](_0x37aa39,_0x54f24e);});}[_0xce6e66(0x147)](){const _0x40909c=_0xce6e66,_0x2bfc82=this[_0x40909c(0x18f)][_0x40909c(0x14d)],_0x59c827=Array[_0x40909c(0x16b)](_0x2bfc82[_0x40909c(0x144)][_0x40909c(0x122)](w))[_0x40909c(0x15c)](_0x2f0ef6=>_0x2f0ef6[_0x40909c(0x124)]());return _0x2bfc82[_0x40909c(0x182)](_0x59c827);}[_0xce6e66(0x125)]({writer:_0x7d7ef4,html:_0x47bd68,insertAt:_0x2e48ef}){const _0x54abb8=_0xce6e66,{view:_0x53391c}=this[_0x54abb8(0x18f)][_0x54abb8(0x17e)],_0x5a12e=this[_0x54abb8(0x18f)][_0x54abb8(0x132)][_0x54abb8(0x133)](_0x16ce8f),_0x3a1085=new l();_0x3a1085[_0x54abb8(0x163)](_0x54abb8(0x14a),_0x47bd68);const _0x5d2082=new ClipboardEvent(_0x54abb8(0x15a),{'clipboardData':_0x3a1085}),_0x402444=new _0x52e69b(_0x53391c,_0x5d2082,{'dataTransfer':new _0x8904fc(_0x3a1085)});_0x7d7ef4[_0x54abb8(0x183)](_0x2e48ef);const _0x398136=(_0x344d65,_0x34d48c)=>{const _0x357c9b=_0x54abb8;_0x34d48c[_0x357c9b(0x162)]&&_0x7d7ef4[_0x357c9b(0x183)](_0x34d48c[_0x357c9b(0x162)]);};_0x5a12e[_0x54abb8(0x131)](_0x54abb8(0x188),_0x398136,{'priority':_0x54abb8(0x12d)}),_0x53391c[_0x54abb8(0x16a)][_0x54abb8(0x145)](_0x54abb8(0x15a),_0x402444),_0x5a12e[_0x54abb8(0x146)](_0x54abb8(0x188),_0x398136);}[_0xce6e66(0x156)](_0x15e22c){const _0x53f7bc=_0xce6e66,{model:_0x3c0176}=this[_0x53f7bc(0x18f)],_0x439762=Array[_0x53f7bc(0x16b)](_0x15e22c[_0x53f7bc(0x150)]());return _0x439762[_0x53f7bc(0x184)]?_0x3c0176[_0x53f7bc(0x142)](_0x439762[_0x53f7bc(0x17d)]()):_0x15e22c[_0x53f7bc(0x18e)]();}[_0xce6e66(0x14e)](_0x3f5681,_0xdf9611){const _0x10af83=_0xce6e66,{model:_0x50b562,plugins:_0x470ee7}=this[_0x10af83(0x18f)];if(_0x470ee7[_0x10af83(0x15e)](_0x10af83(0x140))){const _0x42a084=_0x470ee7[_0x10af83(0x133)](_0x10af83(0x140))[_0x10af83(0x17a)](_0xdf9611);if(_0x42a084[_0x10af83(0x184)]){const _0xaa9e5=this[_0x10af83(0x13c)](_0x3f5681),_0x3ea1fa=this[_0x10af83(0x174)](_0x42a084,_0xaa9e5);return _0x50b562[_0x10af83(0x15b)](_0x3ea1fa,0x0);}}return null;}[_0xce6e66(0x13c)](_0x2f0376){const _0x581fc5=_0xce6e66,_0x4d3626=this[_0x581fc5(0x18f)][_0x581fc5(0x132)][_0x581fc5(0x133)](_0x581fc5(0x140)),_0x1f4973=this[_0x581fc5(0x18f)][_0x581fc5(0x181)][_0x581fc5(0x137)](_0x2f0376),_0x398b51=Array[_0x581fc5(0x16b)](_0x1f4973[_0x581fc5(0x18a)]())[_0x581fc5(0x172)](_0x23d1da=>_0x23d1da['is'](_0x581fc5(0x15f),_0x581fc5(0x179)));let _0xbc11d3=0x0;return _0x398b51[_0x581fc5(0x18b)](_0x1e3e80=>{const _0xf658b7=_0x581fc5;_0xbc11d3+=_0x4d3626[_0xf658b7(0x167)](_0x1e3e80);}),_0xbc11d3;}[_0xce6e66(0x174)](_0x487a0c,_0x5db792){const _0x4e7990=_0xce6e66,_0x2a9525=this[_0x4e7990(0x18f)][_0x4e7990(0x132)][_0x4e7990(0x133)](_0x4e7990(0x140)),_0x2f8350=_0x2a9525[_0x4e7990(0x139)](_0x487a0c),_0x1ad266=_0x2a9525[_0x4e7990(0x14b)](_0x487a0c),_0xc887f7=_0x2f8350[_0x4e7990(0x186)]+0x1,_0x8788ca=_0x1ad266[_0x4e7990(0x169)],_0x123bde=_0x487a0c[0x0][_0x4e7990(0x134)](_0x4e7990(0x179));for(let _0x4d56bc=0x0;_0x4d56bc<_0x5db792;_0x4d56bc++)_0x2a9525[_0x4e7990(0x12a)](_0x123bde,{'at':_0xc887f7});return _0x123bde[_0x4e7990(0x176)](_0xc887f7)[_0x4e7990(0x176)](_0x8788ca);}[_0xce6e66(0x17c)](_0x5f4d18,_0x98dc1d){const _0x315784=_0xce6e66,{plugins:_0x2902a2}=this[_0x315784(0x18f)],{model:_0x481bf4}=_0x5f4d18;if(!_0x2902a2[_0x315784(0x15e)](_0x315784(0x140)))return;_0x2902a2[_0x315784(0x133)](_0x315784(0x140))[_0x315784(0x17a)](_0x98dc1d)[_0x315784(0x184)]&&_0x481bf4[_0x315784(0x153)](_0x98dc1d);}}
|
|
23
|
+
function _0x37d0(_0x396a39,_0x53912b){const _0x355d7d=_0x355d();return _0x37d0=function(_0x37d0ce,_0x1117d9){_0x37d0ce=_0x37d0ce-0x112;let _0x171c69=_0x355d7d[_0x37d0ce];return _0x171c69;},_0x37d0(_0x396a39,_0x53912b);}function _0x355d(){const _0x3af993=['conversion','getSelectedTableCells','hideFakeVisualSelection','editingDowncast','pop','off','join','has','createSelection','257150FUpTyR','markerRange','createPositionAt','ck-fake-ai-selection_collapsed','markerToHighlight','data','once','map','3201318axQSnW','table','getChild','element','updateMarker','fire','isPremiumPlugin','from','153wZLKmO','addClass','AIAssistantEditing','getChildren','_getAISelection','getMarkersGroup','editing','markerToElement','span','resultRange','change','_pasteHTMLUsingClipboard','config','plugins','ck-fake-ai-selection','pluginName','insertRows','ai-ui','4hbZMpR','href','last','filter','selection','lowest','init','text/html','getLastPosition','setData','ai.assistant.useTheme','setSelection','forEach','1768109hdfqdB','getRange','getFirstRange','_createEmptyTableRows','getSelectedBlocks','3199992DEnpZz','editor','createUIElement','push','contentInsertion','afterInit','paste','removeMarker','isOfficialPlugin','isAtEnd','canEditAt','insertContentBelow','DataTransfer','model','insertContent','markers','_prepareTableInsertBelowPosition','getRanges','897435SizgZI','findAncestor','_getTableRowCountFromContent','getLastMatchingPosition','ck-ai-assistant-ui_theme','_resetContentOfSelectedTableCells','_getDefaultInsertBelowPosition','deleteContent','for','isCollapsed','first','28916GTSHcp','1788357ghHLHF','getRowIndexes','schema','start','document','getColumnIndexes','getRows','addMarker','showFakeVisualSelection','length','TableUtils','createRange','isContent','createPositionAfter','fromCharCode','get','end','parse','37jpBuqR'];_0x355d=function(){return _0x3af993;};return _0x355d();}const _0x231f8c=_0x37d0;(function(_0x583997,_0x415c67){const _0x1fd32f=_0x37d0,_0x26a9ed=_0x583997();while(!![]){try{const _0xc30699=parseInt(_0x1fd32f(0x14b))/0x1*(parseInt(_0x1fd32f(0x138))/0x2)+-parseInt(_0x1fd32f(0x139))/0x3*(parseInt(_0x1fd32f(0x177))/0x4)+-parseInt(_0x1fd32f(0x12d))/0x5+-parseInt(_0x1fd32f(0x15d))/0x6+parseInt(_0x1fd32f(0x116))/0x7+parseInt(_0x1fd32f(0x11b))/0x8+parseInt(_0x1fd32f(0x165))/0x9*(parseInt(_0x1fd32f(0x155))/0xa);if(_0xc30699===_0x415c67)break;else _0x26a9ed['push'](_0x26a9ed['shift']());}catch(_0x306988){_0x26a9ed['push'](_0x26a9ed['shift']());}}}(_0x355d,0x4d088));import{uid as _0x333fbb}from'ckeditor5/src/utils.js';import{Plugin as _0xf1aa99}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x38dd16}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x566b33,ViewDataTransfer as _0x1ccf42}from'ckeditor5/src/engine.js';const y=globalThis[_0x231f8c(0x127)],b=_0x231f8c(0x176);export class AIAssistantEditing extends _0xf1aa99{static get[_0x231f8c(0x174)](){const _0x2f8912=_0x231f8c;return _0x2f8912(0x167);}static get[_0x231f8c(0x123)](){return!0x0;}static get[_0x231f8c(0x163)](){return!0x0;}[_0x231f8c(0x17d)](){const _0x3ca373=_0x231f8c,{editor:_0x4fd646}=this,_0x58ee2b=[_0x3ca373(0x173)];_0x4fd646[_0x3ca373(0x171)][_0x3ca373(0x148)](_0x3ca373(0x113))&&_0x58ee2b[_0x3ca373(0x11e)](_0x3ca373(0x131)),_0x4fd646[_0x3ca373(0x14c)][_0x3ca373(0x135)](_0x3ca373(0x14f))[_0x3ca373(0x159)]({'model':b,'view':{'classes':_0x58ee2b,'priority':0xc}}),_0x4fd646[_0x3ca373(0x14c)][_0x3ca373(0x135)](_0x3ca373(0x14f))[_0x3ca373(0x16c)]({'model':b,'view':(_0x1a5de8,{writer:_0x25d1f1})=>{const _0x2e5f36=_0x3ca373;if(!_0x1a5de8[_0x2e5f36(0x156)][_0x2e5f36(0x136)])return null;const _0x21b8f9=_0x25d1f1[_0x2e5f36(0x11d)](_0x2e5f36(0x16d));return _0x25d1f1[_0x2e5f36(0x166)]([_0x2e5f36(0x173),_0x2e5f36(0x158)],_0x21b8f9),_0x21b8f9;}});}[_0x231f8c(0x120)](){!async function(_0x58d37c){const _0xd35074=_0x347d27([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x5fffbd=0x3dffc4e1,_0x53a2c2=0x3df8b011^_0x5fffbd,_0x5c3e99=window[_0x347d27([0x44,0x61,0x74,0x65])][_0x347d27([0x6e,0x6f,0x77])](),_0x38a2e4=_0x58d37c[_0x347d27([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59669c=new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31b607=>{_0x38a2e4[_0x347d27([0x6f,0x6e,0x63,0x65])](_0x347d27([0x72,0x65,0x61,0x64,0x79]),_0x31b607);}),_0x13c23a={[_0x347d27([0x6b,0x74,0x79])]:_0x347d27([0x45,0x43]),[_0x347d27([0x75,0x73,0x65])]:_0x347d27([0x73,0x69,0x67]),[_0x347d27([0x63,0x72,0x76])]:_0x347d27([0x50,0x2d,0x32,0x35,0x36]),[_0x347d27([0x78])]:_0x347d27([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x347d27([0x79])]:_0x347d27([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x347d27([0x61,0x6c,0x67])]:_0x347d27([0x45,0x53,0x32,0x35,0x36])},_0x12736d=_0x38a2e4[_0x347d27([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x347d27([0x67,0x65,0x74])](_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x305276(){let _0x6c39e7,_0x567d48=null,_0x1a9189=null;try{if(_0x12736d==_0x347d27([0x47,0x50,0x4c]))return _0x347d27([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6c39e7=_0x1a447a(),!_0x6c39e7)return _0x347d27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6c39e7[_0x347d27([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a9189=_0x19dfad(_0x6c39e7[_0x347d27([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6c39e7[_0x347d27([0x6a,0x74,0x69])])),await _0x27472d()?_0x13d0a5()?_0x2c67bb()?_0x347d27([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x246493()?(_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x347d27([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x567d48=_0x4ef2a9(_0x347d27([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x347d27([0x74,0x72,0x69,0x61,0x6c])&&(_0x567d48=_0x4ef2a9(_0x347d27([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e4199()):_0x347d27([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x347d27([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x347d27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x347d27([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c67bb(){const _0x2b3043=[_0x347d27([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x347d27([0x74,0x72,0x69,0x61,0x6c])][_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c3e99/0x3e8:0xe10*_0x53a2c2;return _0x6c39e7[_0x347d27([0x65,0x78,0x70])]<_0x2b3043;}function _0x13d0a5(){const _0x4d9b9e=_0x6c39e7[_0x347d27([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d9b9e&&(!!_0x4d9b9e[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x347d27([0x2a]))||!!_0x4d9b9e[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x347d27([0x41,0x49])));}function _0x246493(){const _0x59606e=_0x37d0,_0x3beb7e=_0x6c39e7[_0x347d27([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3beb7e||0x0==_0x3beb7e[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35b247}=new URL(window[_0x347d27([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x59606e(0x178)]);if(_0x3beb7e[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b247))return!0x0;const _0x247a44=_0x35b247[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e]));return _0x3beb7e[_0x347d27([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e8fa=>_0x47e8fa[_0x347d27([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x347d27([0x2a])))[_0x347d27([0x6d,0x61,0x70])](_0x334765=>_0x334765[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e])))[_0x347d27([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7e81ce=>_0x7e81ce[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x247a44[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x347d27([0x6d,0x61,0x70])](_0x439933=>Array(_0x247a44[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x439933[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x347d27([0x66,0x69,0x6c,0x6c])](_0x439933[0x0]===_0x347d27([0x2a])?_0x347d27([0x2a]):'')[_0x347d27([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x439933))[_0x347d27([0x73,0x6f,0x6d,0x65])](_0x473e3e=>_0x247a44[_0x347d27([0x65,0x76,0x65,0x72,0x79])]((_0x30627c,_0x23957b)=>_0x473e3e[_0x23957b]===_0x30627c||_0x473e3e[_0x23957b]===_0x347d27([0x2a])));}function _0x5e4199(){return _0x567d48&&_0x1a9189?new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x433687,_0x4d92a6)=>{_0x567d48[_0x347d27([0x74,0x68,0x65,0x6e])](_0x433687,_0x4d92a6),_0x1a9189[_0x347d27([0x74,0x68,0x65,0x6e])](_0x44d9d2=>{_0x44d9d2!=_0x347d27([0x56,0x61,0x6c,0x69,0x64])&&_0x433687(_0x44d9d2);},_0x4d92a6);}):_0x567d48||_0x1a9189||_0x347d27([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19dfad(_0x7630ac,_0x2ec91c){return new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49d52e=>{if(_0x16eac0())return _0x49d52e(_0x347d27([0x56,0x61,0x6c,0x69,0x64]));_0x36029f(),_0x38a2e4[_0x347d27([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x347d27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x485294=!0x1;const _0x41d016=_0x333fbb();function _0x3436b9(_0x3ec449){return!!_0x3ec449&&(typeof _0x3ec449===_0x347d27([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ec449===_0x347d27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ec449[_0x347d27([0x74,0x68,0x65,0x6e])]===_0x347d27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ec449[_0x347d27([0x63,0x61,0x74,0x63,0x68])]===_0x347d27([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d0eb4(_0x1f4c7d){_0x23e222(_0x1f4c7d)[_0x347d27([0x74,0x68,0x65,0x6e])](_0x3768dd=>{if(!_0x3768dd||_0x3768dd[_0x347d27([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x347d27([0x6f,0x6b]))return _0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1166ca(_0x527e58(_0x41d016+_0x2ec91c))!=_0x3768dd[_0x347d27([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x347d27([0x56,0x61,0x6c,0x69,0x64]);})[_0x347d27([0x74,0x68,0x65,0x6e])](_0x1f5af9=>(_0x1144ed(),_0x1f5af9),()=>{const _0x198773=_0x51bc2b();return null==_0x198773?(_0x1144ed(),_0x347d27([0x56,0x61,0x6c,0x69,0x64])):_0x347d27(_0x5c3e99-_0x198773>(0x19f340e1^_0x5fffbd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x347d27([0x74,0x68,0x65,0x6e])](_0x49d52e)[_0x347d27([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49d52e(_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b856d=0x3dc92a61^_0x5fffbd;function _0x1144ed(){const _0x399dd4=_0x347d27([0x6c,0x6c,0x63,0x74,0x2d])+_0x1166ca(_0x527e58(_0x7630ac)),_0x3c57e1=_0x2b17a9(_0x1166ca(window[_0x347d27([0x4d,0x61,0x74,0x68])][_0x347d27([0x63,0x65,0x69,0x6c])](_0x5c3e99/_0x2b856d)));window[_0x347d27([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x347d27([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x399dd4,_0x3c57e1);}function _0x51bc2b(){const _0x2f39e6=_0x347d27([0x6c,0x6c,0x63,0x74,0x2d])+_0x1166ca(_0x527e58(_0x7630ac)),_0x2c2535=window[_0x347d27([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x347d27([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f39e6);return _0x2c2535?window[_0x347d27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b17a9(_0x2c2535),0x10)*_0x2b856d:null;}function _0x23e222(_0x18b535){return new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23b588,_0x179c25)=>{_0x18b535[_0x347d27([0x74,0x68,0x65,0x6e])](_0x23b588,_0x179c25),window[_0x347d27([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x179c25,0x3dfe1021^_0x5fffbd);});}}_0x38a2e4[_0x347d27([0x6f,0x6e])](_0x347d27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3de7b6,_0x11deac)=>{if(_0x11deac[0x0]!=_0x7630ac)return _0x49d52e(_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11deac[0x1]={..._0x11deac[0x1],[_0x347d27([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41d016};},{[_0x347d27([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x347d27([0x68,0x69,0x67,0x68])}),_0x38a2e4[_0x347d27([0x6f,0x6e])](_0x347d27([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x49deb7=>{_0x3436b9(_0x49deb7[_0x347d27([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x485294=!0x0,_0x2d0eb4(_0x49deb7[_0x347d27([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x347d27([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x347d27([0x6c,0x6f,0x77])}),_0x59669c[_0x347d27([0x74,0x68,0x65,0x6e])](()=>{_0x485294||_0x49d52e(_0x347d27([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16eac0(){return _0x38a2e4[_0x347d27([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x347d27([0x76,0x69,0x65,0x77])][_0x347d27([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x347d27([0x61,0x75,0x74,0x6f]);}function _0x36029f(){_0x38a2e4[_0x347d27([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x347d27([0x76,0x69,0x65,0x77])][_0x347d27([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x347d27([0x61,0x75,0x74,0x6f]);}}function _0x4ef2a9(_0x3fac77){const _0x2d786f=[new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbd96bc=>setTimeout(_0xbd96bc,0x3df6fa2d^_0x5fffbd)),_0x59669c[_0x347d27([0x74,0x68,0x65,0x6e])](()=>new window[(_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4624a8=>{let _0x49a707=0x0;_0x38a2e4[_0x347d27([0x6d,0x6f,0x64,0x65,0x6c])][_0x347d27([0x6f,0x6e])](_0x347d27([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x148756,_0x4dd12d)=>{_0x4dd12d[0x0][_0x347d27([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49a707++,_0x49a707==(0x3dffc519^_0x5fffbd)&&(_0x4624a8(),_0x148756[_0x347d27([0x6f,0x66,0x66])]());});}))];return window[_0x347d27([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x347d27([0x72,0x61,0x63,0x65])](_0x2d786f)[_0x347d27([0x74,0x68,0x65,0x6e])](()=>_0x3fac77);}async function _0x4005d2(){await _0x59669c,_0x38a2e4[_0x347d27([0x6d,0x6f,0x64,0x65,0x6c])][_0x347d27([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54f682,_0x38a2e4[_0x347d27([0x6d,0x6f,0x64,0x65,0x6c])][_0x347d27([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54f682,_0x38a2e4[_0x347d27([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x347d27([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58a8cb(_0x1bee6c){const _0xf4bb68=_0x23f400();_0x38a2e4[_0xf4bb68]=_0x347d27([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bee6c,_0x1bee6c!=_0x347d27([0x56,0x61,0x6c,0x69,0x64])&&_0x4005d2();}function _0x23f400(){const _0x3f6195=window[_0x347d27([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x347d27([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x347d27([0x6e,0x6f,0x77])]())[_0x347d27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x347d27([0x2e]),'');let _0x47d7f6=_0x347d27([0x6e]);for(let _0x409e1c=0x0;_0x409e1c<_0x3f6195[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x409e1c+=0x2){let _0x4369ff=window[_0x347d27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f6195[_0x347d27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x409e1c,_0x409e1c+0x2));_0x4369ff>=_0xd35074[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4369ff-=_0xd35074[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47d7f6+=_0xd35074[_0x4369ff];}return _0x47d7f6;}function _0x1a447a(){const _0x359c93=_0x12736d[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e]));if(0x3!=_0x359c93[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c6075(_0x359c93[0x1]);function _0x1c6075(_0x2ef557){const _0x55094a=_0x546430(_0x2ef557);return _0x55094a&&_0x14f246()?_0x55094a:null;function _0x14f246(){const _0x14c05f=_0x55094a[_0x347d27([0x6a,0x74,0x69])],_0x1bfdf5=window[_0x347d27([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14c05f[_0x347d27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14c05f[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12abbb={..._0x55094a,[_0x347d27([0x6a,0x74,0x69])]:_0x14c05f[_0x347d27([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14c05f[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12abbb[_0x347d27([0x76,0x63])],_0x527e58(_0x12abbb)==_0x1bfdf5;}}}async function _0x27472d(){let _0x4fee71=!0x0;try{const _0x491d42=_0x12736d[_0x347d27([0x73,0x70,0x6c,0x69,0x74])](_0x347d27([0x2e])),[_0x2ff257,_0x478518,_0x226616]=_0x491d42;return _0x18c9b8(_0x2ff257),await _0x31a8df(_0x2ff257,_0x478518,_0x226616),_0x4fee71;}catch{return!0x1;}function _0x18c9b8(_0x2e39da){const _0x262c1a=_0x546430(_0x2e39da);_0x262c1a&&_0x262c1a[_0x347d27([0x61,0x6c,0x67])]==_0x347d27([0x45,0x53,0x32,0x35,0x36])||(_0x4fee71=!0x1);}async function _0x31a8df(_0x502c84,_0x55be71,_0x5650f5){const _0x504633=window[_0x347d27([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x347d27([0x66,0x72,0x6f,0x6d])](_0x265b41(_0x5650f5),_0x126731=>_0x126731[_0x347d27([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x480111=new window[(_0x347d27([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x347d27([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x502c84+_0x347d27([0x2e])+_0x55be71),_0x3295ea=window[_0x347d27([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x347d27([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3295ea)return;const _0x206b27=await _0x3295ea[_0x347d27([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x347d27([0x6a,0x77,0x6b]),_0x13c23a,{[_0x347d27([0x6e,0x61,0x6d,0x65])]:_0x347d27([0x45,0x43,0x44,0x53,0x41]),[_0x347d27([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x347d27([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x347d27([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3295ea[_0x347d27([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x347d27([0x6e,0x61,0x6d,0x65])]:_0x347d27([0x45,0x43,0x44,0x53,0x41]),[_0x347d27([0x68,0x61,0x73,0x68])]:{[_0x347d27([0x6e,0x61,0x6d,0x65])]:_0x347d27([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x206b27,_0x504633,_0x480111)||(_0x4fee71=!0x1);}}function _0x546430(_0x3e8083){return _0x3e8083[_0x347d27([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x347d27([0x65,0x79]))?JSON[_0x347d27([0x70,0x61,0x72,0x73,0x65])](_0x265b41(_0x3e8083)):null;}function _0x265b41(_0x4e10ae){return window[_0x347d27([0x61,0x74,0x6f,0x62])](_0x4e10ae[_0x347d27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x347d27([0x2b]))[_0x347d27([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x347d27([0x2f])));}function _0x527e58(_0x433e6c){let _0x136fe8=0x1505;function _0x59b911(_0x5d620b){for(let _0x168a32=0x0;_0x168a32<_0x5d620b[_0x347d27([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x168a32++){const _0x31af52=_0x5d620b[_0x347d27([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x168a32);_0x136fe8=(_0x136fe8<<0x5)+_0x136fe8+_0x31af52,_0x136fe8&=_0x136fe8;}}function _0x5b1679(_0x5c653f){Array[_0x347d27([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c653f)?_0x5c653f[_0x347d27([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b1679):_0x5c653f&&typeof _0x5c653f==_0x347d27([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x347d27([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c653f)[_0x347d27([0x73,0x6f,0x72,0x74])]()[_0x347d27([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xca1c46,_0x279845])=>{_0x59b911(_0xca1c46),_0x5b1679(_0x279845);}):_0x59b911(window[_0x347d27([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c653f));}return _0x5b1679(_0x433e6c),_0x136fe8>>>0x0;}function _0x1166ca(_0x51fe64){return _0x51fe64[_0x347d27([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x347d27([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x347d27([0x30]));}function _0x2b17a9(_0x2ffbb1){return _0x2ffbb1[_0x347d27([0x73,0x70,0x6c,0x69,0x74])]('')[_0x347d27([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x347d27([0x6a,0x6f,0x69,0x6e])]('');}function _0x54f682(){}function _0x347d27(_0x35a95f){const _0x37ee45=_0x37d0;return _0x35a95f[_0x37ee45(0x15c)](_0x379b09=>String[_0x37ee45(0x147)](_0x379b09))[_0x37ee45(0x152)]('');}_0x58a8cb(await _0x305276());}(this);}[_0x231f8c(0x141)](){const _0x11049d=_0x231f8c,_0xadeb96=this[_0x11049d(0x11c)][_0x11049d(0x128)];_0xadeb96[_0x11049d(0x16f)](_0x4ec796=>{const _0x14d404=_0x11049d,_0x4ee9c4=_0xadeb96[_0x14d404(0x13d)][_0x14d404(0x17b)][_0x14d404(0x12c)]();let _0x26bbb=0x0;for(const _0x4b5fb8 of _0x4ee9c4){const _0x5974ff=b+':'+_0x26bbb;if(_0xadeb96[_0x14d404(0x12a)][_0x14d404(0x153)](_0x5974ff))_0x4ec796[_0x14d404(0x161)](_0x5974ff,{'range':_0x4b5fb8});else{if(_0x4b5fb8[_0x14d404(0x13c)][_0x14d404(0x124)]){const _0x4faab5=_0x4b5fb8[_0x14d404(0x13c)][_0x14d404(0x130)](({item:_0x43f728})=>!_0xadeb96[_0x14d404(0x13b)][_0x14d404(0x145)](_0x43f728),{'boundaries':_0x4b5fb8});_0x4ec796[_0x14d404(0x140)](_0x5974ff,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4ec796[_0x14d404(0x144)](_0x4faab5,_0x4b5fb8[_0x14d404(0x149)])});}else _0x4ec796[_0x14d404(0x140)](_0x5974ff,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4b5fb8});}_0x26bbb++;}});}[_0x231f8c(0x14e)](){const _0x1fb442=_0x231f8c,_0x12ef9a=this[_0x1fb442(0x11c)][_0x1fb442(0x128)],_0x57719f=Array[_0x1fb442(0x164)](this[_0x1fb442(0x11c)][_0x1fb442(0x128)][_0x1fb442(0x12a)][_0x1fb442(0x16a)](b));_0x57719f[_0x1fb442(0x142)]&&_0x12ef9a[_0x1fb442(0x16f)](_0x3b8e8a=>{const _0x1a6c01=_0x1fb442;_0x57719f[_0x1a6c01(0x115)](_0x2ac5=>{const _0x590292=_0x1a6c01;_0x3b8e8a[_0x590292(0x122)](_0x2ac5);});});}[_0x231f8c(0x129)](_0x9251ea,_0x42cb42){const _0x24afb7=_0x231f8c,_0x54e1ee=this[_0x24afb7(0x169)](),_0x575b88=_0x42cb42||_0x54e1ee[_0x24afb7(0x118)]();this[_0x24afb7(0x11c)][_0x24afb7(0x128)][_0x24afb7(0x125)](_0x575b88)&&this[_0x24afb7(0x11c)][_0x24afb7(0x128)][_0x24afb7(0x16f)](_0x5beaad=>{const _0x535306=_0x24afb7;this[_0x535306(0x14e)](),_0x42cb42||this[_0x535306(0x132)](_0x5beaad,_0x54e1ee),this[_0x535306(0x170)]({'insertAt':_0x575b88,'writer':_0x5beaad,'html':_0x9251ea});});}[_0x231f8c(0x126)](_0x142913){const _0x5ac3eb=_0x231f8c,{model:_0x59f28c}=this[_0x5ac3eb(0x11c)],_0x17099a=this[_0x5ac3eb(0x169)]();_0x59f28c[_0x5ac3eb(0x16f)](()=>{const _0x990374=_0x5ac3eb,_0x34e465=this[_0x990374(0x12b)](_0x142913,_0x17099a)||this[_0x990374(0x133)](_0x17099a);this[_0x990374(0x129)](_0x142913,_0x34e465);});}[_0x231f8c(0x169)](){const _0x4027a2=_0x231f8c,_0x24bf02=this[_0x4027a2(0x11c)][_0x4027a2(0x128)],_0x10c139=Array[_0x4027a2(0x164)](_0x24bf02[_0x4027a2(0x12a)][_0x4027a2(0x16a)](b))[_0x4027a2(0x15c)](_0x424bb8=>_0x424bb8[_0x4027a2(0x117)]());return _0x24bf02[_0x4027a2(0x154)](_0x10c139);}[_0x231f8c(0x170)]({writer:_0x4b188f,html:_0x2e35cb,insertAt:_0x65ccd3}){const _0x5ca30c=_0x231f8c,{view:_0x4fc07a}=this[_0x5ca30c(0x11c)][_0x5ca30c(0x16b)],_0x50fb8c=this[_0x5ca30c(0x11c)][_0x5ca30c(0x172)][_0x5ca30c(0x148)](_0x38dd16),_0x8dad65=new y();_0x8dad65[_0x5ca30c(0x112)](_0x5ca30c(0x17e),_0x2e35cb);const _0x442e57=new ClipboardEvent(_0x5ca30c(0x121),{'clipboardData':_0x8dad65}),_0x40c6b1=new _0x566b33(_0x4fc07a,_0x442e57,{'dataTransfer':new _0x1ccf42(_0x8dad65)});_0x4b188f[_0x5ca30c(0x114)](_0x65ccd3);const _0x3736cc=(_0x4fa554,_0x105954)=>{const _0x2a8ab2=_0x5ca30c;_0x105954[_0x2a8ab2(0x16e)]&&_0x4b188f[_0x2a8ab2(0x114)](_0x105954[_0x2a8ab2(0x16e)]);};_0x50fb8c[_0x5ca30c(0x15b)](_0x5ca30c(0x11f),_0x3736cc,{'priority':_0x5ca30c(0x17c)}),_0x4fc07a[_0x5ca30c(0x13d)][_0x5ca30c(0x162)](_0x5ca30c(0x121),_0x40c6b1),_0x50fb8c[_0x5ca30c(0x151)](_0x5ca30c(0x11f),_0x3736cc);}[_0x231f8c(0x133)](_0x228b7b){const _0x3efdd1=_0x231f8c,{model:_0x1f1ec7}=this[_0x3efdd1(0x11c)],_0x38f943=Array[_0x3efdd1(0x164)](_0x228b7b[_0x3efdd1(0x11a)]());return _0x38f943[_0x3efdd1(0x142)]?_0x1f1ec7[_0x3efdd1(0x146)](_0x38f943[_0x3efdd1(0x150)]()):_0x228b7b[_0x3efdd1(0x17f)]();}[_0x231f8c(0x12b)](_0x5e48a5,_0x293adc){const _0x4f197c=_0x231f8c,{model:_0x14e86e,plugins:_0x3506a4}=this[_0x4f197c(0x11c)];if(_0x3506a4[_0x4f197c(0x153)](_0x4f197c(0x143))){const _0x8d75b9=_0x3506a4[_0x4f197c(0x148)](_0x4f197c(0x143))[_0x4f197c(0x14d)](_0x293adc);if(_0x8d75b9[_0x4f197c(0x142)]){const _0x5d67fc=this[_0x4f197c(0x12f)](_0x5e48a5),_0x4bf809=this[_0x4f197c(0x119)](_0x8d75b9,_0x5d67fc);return _0x14e86e[_0x4f197c(0x157)](_0x4bf809,0x0);}}return null;}[_0x231f8c(0x12f)](_0x5bc71e){const _0x4700c1=_0x231f8c,_0x5a4006=this[_0x4700c1(0x11c)][_0x4700c1(0x172)][_0x4700c1(0x148)](_0x4700c1(0x143)),_0x15df8d=this[_0x4700c1(0x11c)][_0x4700c1(0x15a)][_0x4700c1(0x14a)](_0x5bc71e),_0x3216bd=Array[_0x4700c1(0x164)](_0x15df8d[_0x4700c1(0x168)]())[_0x4700c1(0x17a)](_0x2a3359=>_0x2a3359['is'](_0x4700c1(0x160),_0x4700c1(0x15e)));let _0x2cb80e=0x0;return _0x3216bd[_0x4700c1(0x115)](_0x2aae4b=>{const _0x516c13=_0x4700c1;_0x2cb80e+=_0x5a4006[_0x516c13(0x13f)](_0x2aae4b);}),_0x2cb80e;}[_0x231f8c(0x119)](_0x396142,_0x3475f3){const _0x17aa91=_0x231f8c,_0x39751b=this[_0x17aa91(0x11c)][_0x17aa91(0x172)][_0x17aa91(0x148)](_0x17aa91(0x143)),_0x210c16=_0x39751b[_0x17aa91(0x13a)](_0x396142),_0x1219e6=_0x39751b[_0x17aa91(0x13e)](_0x396142),_0x4e3f61=_0x210c16[_0x17aa91(0x179)]+0x1,_0x375026=_0x1219e6[_0x17aa91(0x137)],_0x2f0648=_0x396142[0x0][_0x17aa91(0x12e)](_0x17aa91(0x15e));for(let _0x525193=0x0;_0x525193<_0x3475f3;_0x525193++)_0x39751b[_0x17aa91(0x175)](_0x2f0648,{'at':_0x4e3f61});return _0x2f0648[_0x17aa91(0x15f)](_0x4e3f61)[_0x17aa91(0x15f)](_0x375026);}[_0x231f8c(0x132)](_0x1cef33,_0xd7949f){const _0x583193=_0x231f8c,{plugins:_0x2826bf}=this[_0x583193(0x11c)],{model:_0x4986cd}=_0x1cef33;if(!_0x2826bf[_0x583193(0x153)](_0x583193(0x143)))return;_0x2826bf[_0x583193(0x148)](_0x583193(0x143))[_0x583193(0x14d)](_0xd7949f)[_0x583193(0x142)]&&_0x4986cd[_0x583193(0x134)](_0xd7949f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x235b76=_0x1e2d;(function(_0xf9fbf9,_0x2f249a){const _0x386adb=_0x1e2d,_0x2861a7=_0xf9fbf9();while(!![]){try{const _0x1883d8=-parseInt(_0x386adb(0x18f))/0x1*(-parseInt(_0x386adb(0x120))/0x2)+-parseInt(_0x386adb(0x141))/0x3*(-parseInt(_0x386adb(0x173))/0x4)+-parseInt(_0x386adb(0x1a0))/0x5+-parseInt(_0x386adb(0x156))/0x6*(-parseInt(_0x386adb(0x146))/0x7)+parseInt(_0x386adb(0x185))/0x8+parseInt(_0x386adb(0x174))/0x9*(parseInt(_0x386adb(0x163))/0xa)+-parseInt(_0x386adb(0x13c))/0xb;if(_0x1883d8===_0x2f249a)break;else _0x2861a7['push'](_0x2861a7['shift']());}catch(_0x3c33e6){_0x2861a7['push'](_0x2861a7['shift']());}}}(_0x2c15,0x19bcd));import{Plugin as _0x57dd6e}from'ckeditor5/src/core.js';function _0x2c15(){const _0x596c00=['announce','destroy','AI\x20is\x20writing','change:isProcessing','render','setSelection','_initView','insertContentBelow','copy','_dialog','aiLicenseKeyDomainLimit','contentArea','aiAssistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','label','1062AkDlOb','from','tableOfContents','aiLicenseKeyValid','trim','wasMoved','licenseKey','REPLACE','usageLimit','menuPanelClass','change:isError','showAIAssistant','editor','10cewgJg','hide','view','_licenseKeyCheckInterval','includes','ck-ai-commands-dropdown\x20','showFakeVisualSelection','getSelectedElement','queryView','_getMenuBarGroupButtons','_createAIAssistantUIButton','config','_uiCssClasses','fieldView','AI\x20Commands','currentContext','68kTtsLh','886437vvBfvM','push','INSERT','custom','aiLicenseKeyInvalid','promptView','bind','change:enabledCommandsIds','\x20ck-ai-assistant-ui_theme','text','change','map','listenTo','insertContent','aiCommands','locale','Generated\x20content:\x20%0','340792SAtJBS','isEnabled','_aiAdapter','AI\x20Assistant','addMany','ai.assistant.disabledElements','textAdapter','order','show','isCollapsed','281EcaUtV','AIAssistantUI','menuBar:aiCommands','buttons','init','add','evaluationLimit','DataTransfer','menuView','reset','_formView','_forceMarkersCopy','groupId','expired','get','getData','body','480380srimZo','getLimitElement','document','fire','hideFakeVisualSelection','update','prompt','focus','_getResolvedCommandsDefinitions','invalid','AIAssistant','comment','isPremiumPlugin','media','menuitemcheckbox','_showLicenseError','editing','ai.assistant.commands','ai.assistant.contentAreaCssClass','ck-ai-assistant-ui','_populateMenuBarMenu','isOn','domainLimit','length','panelView','rawHtml','source','polite','aiLicenseKeyUsageLimit','model','EDITOR_TOP_SIDE','_commandDefinitions','pluginName','children','hideUI','replaceContent','define','getRanges','menuBar:aiAssistant','once','change:value','buttonView','isFlat','ck-ai-assistant-button\x20','errorView','componentFactory','forEach','_initAriaAiStatusChangeAnnouncements','splice','830odxoBw','replace','filter','_aiAssistantController','updateView','sort','delegate','aiLicenseKeyExpired','showUI','updatePosition','featureNotAllowed','set','</p>','text/html','execute','command:','_onExecute','selection','values','plugins','ai.assistant.useTheme','aiLicenseKeyTrialLimit','requiresContent','aiLicenseKeyEvaluationLimit','groupLabel','schema','aiLicenseKeyNotAllowed','isOfficialPlugin','1536150ehsnvU','items','commands','ai-commands-config-order-collision','enabledCommandsIds','8259jSScUf','getSelectedBlocks','requires','trialLimit','<p>','1449skepTw'];_0x2c15=function(){return _0x596c00;};return _0x2c15();}import{IconMagicWand as _0x1633eb,IconRobotPencil as _0x3b4bfa}from'ckeditor5/src/icons.js';import{first as _0x318b1e,CKEditorError as _0x4477dc}from'ckeditor5/src/utils.js';import{createDropdown as _0x44468e,addMenuToDropdown as _0x21dcd4,ButtonView as _0x300678,MenuBarMenuListItemButtonView as _0x28e8b6,Dialog as _0x238947,DialogViewPosition as _0x493b67,MenuBarMenuView as _0x5945ba,MenuBarMenuListView as _0x23710c,MenuBarMenuListItemView as _0x1687c0}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x34a7f2,UNGROUPED_COMMANDS_GROUP_ID as _0xc4944}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x54eb0a}from'./aiassistantediting.js';import{AIAdapter as _0x302b9a}from'./adapters/aiadapter.js';import{getTranslation as _0x5851c9}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x2939a8}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x3aa008}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x56a4cc}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x45301b}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const l=globalThis[_0x235b76(0x196)];import{ClipboardMarkersUtils as _0xa8bcd2}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2e1147,ViewDataTransfer as _0xd0796b}from'ckeditor5/src/engine.js';function _0x1e2d(_0x1505c2,_0x222fff){const _0x2c15e2=_0x2c15();return _0x1e2d=function(_0x1e2d4c,_0x25e991){_0x1e2d4c=_0x1e2d4c-0x11f;let _0x26331f=_0x2c15e2[_0x1e2d4c];return _0x26331f;},_0x1e2d(_0x1505c2,_0x222fff);}export class AIAssistantUI extends _0x57dd6e{[_0x235b76(0x15c)];[_0x235b76(0x166)];[_0x235b76(0x150)];[_0x235b76(0x199)];[_0x235b76(0x187)];[_0x235b76(0x123)];[_0x235b76(0x16f)]='';static get[_0x235b76(0x1c0)](){const _0x129ae1=_0x235b76;return _0x129ae1(0x190);}static get[_0x235b76(0x13b)](){return!0x0;}static get[_0x235b76(0x1ac)](){return!0x0;}static get[_0x235b76(0x143)](){return[_0xa8bcd2,_0x54eb0a,_0x302b9a,_0x238947];}constructor(_0x1a37fe){const _0x36e032=_0x235b76;super(_0x1a37fe),_0x1a37fe[_0x36e032(0x16e)][_0x36e032(0x1c4)](_0x36e032(0x18a),[_0x36e032(0x1ad),_0x36e032(0x1b9),_0x36e032(0x158)]),_0x1a37fe[_0x36e032(0x16e)][_0x36e032(0x1c4)](_0x36e032(0x1b2),''),_0x1a37fe[_0x36e032(0x16e)][_0x36e032(0x1c4)](_0x36e032(0x134),!0x0),this[_0x36e032(0x16f)]=_0x36e032(0x1b3)+(_0x1a37fe[_0x36e032(0x16e)][_0x36e032(0x19d)](_0x36e032(0x134))?_0x36e032(0x17c):'');}[_0x235b76(0x193)](){const _0x31c418=_0x235b76,{editor:_0x3e278e}=this;this[_0x31c418(0x187)]=_0x3e278e[_0x31c418(0x133)][_0x31c418(0x19d)](_0x302b9a),this[_0x31c418(0x150)]=_0x3e278e[_0x31c418(0x133)][_0x31c418(0x19d)](_0x238947),this[_0x31c418(0x199)]=null,this[_0x31c418(0x1bf)]=this[_0x31c418(0x1a8)]();const _0x3c8eb9=new _0x2939a8(_0x3e278e,Array[_0x31c418(0x157)](this[_0x31c418(0x1bf)][_0x31c418(0x132)]()));_0x3e278e[_0x31c418(0x13e)][_0x31c418(0x194)](_0x31c418(0x161),_0x3c8eb9),_0x3e278e['ui'][_0x31c418(0x1cd)][_0x31c418(0x194)](_0x31c418(0x182),_0x9afb2=>{const _0xf551df=_0x31c418,_0x519b79=_0x44468e(_0x9afb2);return _0x519b79[_0xf551df(0x12b)]({'class':_0xf551df(0x168)+this[_0xf551df(0x16f)]}),_0x519b79[_0xf551df(0x1c9)][_0xf551df(0x12b)]({'label':_0x5851c9(_0x9afb2,_0xf551df(0x171)),'icon':_0x1633eb,'tooltip':!0x0}),_0x519b79['on'](_0xf551df(0x12e),_0x8c1097=>this[_0xf551df(0x130)](_0x8c1097[_0xf551df(0x1ba)]['id'])),_0x21dcd4(_0x519b79,_0x3e278e['ui'][_0xf551df(0x165)][_0xf551df(0x19f)],function(_0x8ecc0){const _0x2616bb=_0xf551df,_0x5a3eb1=_0x34a7f2(_0x8ecc0[_0x2616bb(0x16e)][_0x2616bb(0x19d)](_0x2616bb(0x1b1)),_0x8ecc0[_0x2616bb(0x183)]),_0x90b84a=U(_0x8ecc0,_0x5a3eb1)[_0x2616bb(0x122)](_0x830cc0=>_0x830cc0[_0x2616bb(0x13e)][_0x2616bb(0x1b7)]);if(0x1===_0x90b84a[_0x2616bb(0x1b7)])return U(_0x8ecc0,_0x90b84a[0x0][_0x2616bb(0x13e)])[_0x2616bb(0x17f)](_0x12f916=>({'id':_0x12f916['id'],'label':_0x12f916[_0x2616bb(0x155)]}));return _0x90b84a[_0x2616bb(0x17f)](_0x4b28fe=>{const _0x1b1f8c=_0x2616bb,{groupId:_0x412a16,groupLabel:_0x3ac855,commands:_0x45c3d5}=_0x4b28fe,_0x340ddb=U(_0x8ecc0,_0x45c3d5)[_0x1b1f8c(0x17f)](_0x4dd023=>({'id':_0x4dd023['id'],'label':_0x4dd023[_0x1b1f8c(0x155)]}));return{'id':_0x412a16,'menu':_0x3ac855||_0x412a16,'children':_0x340ddb};});}(_0x3e278e),{'ariaLabel':_0x5851c9(_0x9afb2,_0xf551df(0x171))}),_0x519b79[_0xf551df(0x197)][_0xf551df(0x15f)]=_0xf551df(0x168)+this[_0xf551df(0x16f)],_0x3c8eb9['on'](_0xf551df(0x17b),_0x619052),_0x519b79[_0xf551df(0x197)][_0xf551df(0x1c7)](_0xf551df(0x14b),_0x619052),_0x519b79;function _0x619052(){const _0x40e385=_0xf551df;_0x519b79[_0x40e385(0x186)]=_0x3c8eb9[_0x40e385(0x140)][_0x40e385(0x1b7)]>0x0;for(const _0x20845a of _0x519b79[_0x40e385(0x197)][_0x40e385(0x192)])_0x20845a[_0x40e385(0x186)]=_0x3c8eb9[_0x40e385(0x140)][_0x40e385(0x167)](_0x20845a['id']);}}),_0x3e278e['ui'][_0x31c418(0x1cd)][_0x31c418(0x194)](_0x31c418(0x191),_0x1718be=>{const _0x3d48d2=_0x31c418,_0x495c7e=new _0x5945ba(_0x1718be);_0x495c7e[_0x3d48d2(0x1c9)][_0x3d48d2(0x12b)]({'label':_0x5851c9(_0x1718be,_0x3d48d2(0x171)),'icon':_0x1633eb}),_0x495c7e[_0x3d48d2(0x17a)](_0x3d48d2(0x186))['to'](_0x3c8eb9,_0x3d48d2(0x140),_0x53f810=>_0x53f810[_0x3d48d2(0x1b7)]>0x0);const _0x4b4aa9=_0x34a7f2(_0x3e278e[_0x3d48d2(0x16e)][_0x3d48d2(0x19d)](_0x3d48d2(0x1b1)),_0x1718be);return this[_0x3d48d2(0x1b4)](_0x3c8eb9,_0x495c7e,_0x4b4aa9,_0x3f4bee=>this[_0x3d48d2(0x130)](_0x3f4bee)),_0x495c7e;}),_0x3e278e['ui'][_0x31c418(0x1cd)][_0x31c418(0x194)](_0x31c418(0x153),()=>{const _0x178363=_0x31c418,_0x330a23=this[_0x178363(0x16d)](_0x300678);return _0x330a23[_0x178363(0x12b)]({'tooltip':!0x0,'class':_0x178363(0x1cb)+this[_0x178363(0x16f)]}),_0x330a23;}),_0x3e278e['ui'][_0x31c418(0x1cd)][_0x31c418(0x194)](_0x31c418(0x1c6),()=>{const _0x36bfc4=_0x31c418,_0x4c01b3=this[_0x36bfc4(0x16d)](_0x28e8b6);return _0x4c01b3[_0x36bfc4(0x12b)]({'role':_0x36bfc4(0x1ae)}),_0x4c01b3;}),this[_0x31c418(0x15c)]=this[_0x31c418(0x162)][_0x31c418(0x16e)][_0x31c418(0x19d)](_0x31c418(0x15c));const _0x366862=this[_0x31c418(0x162)];this[_0x31c418(0x166)]=setInterval(()=>{const _0x17552d=_0x31c418;let _0x45e1af;for(const _0x24d9db in _0x366862){const _0x5ed996=_0x24d9db,_0x201984=_0x366862[_0x5ed996];if(_0x17552d(0x159)==_0x201984||_0x17552d(0x178)==_0x201984||_0x17552d(0x127)==_0x201984||_0x17552d(0x151)==_0x201984||_0x17552d(0x13a)==_0x201984||_0x17552d(0x137)==_0x201984||_0x17552d(0x135)==_0x201984||_0x17552d(0x1bc)==_0x201984){delete _0x366862[_0x5ed996],_0x45e1af=_0x201984,clearInterval(this[_0x17552d(0x166)]),this[_0x17552d(0x166)]=void 0x0;break;}}_0x17552d(0x178)==_0x45e1af&&_0x366862[_0x17552d(0x1af)](_0x17552d(0x1a9)),_0x17552d(0x127)==_0x45e1af&&_0x366862[_0x17552d(0x1af)](_0x17552d(0x19c)),_0x17552d(0x151)==_0x45e1af&&_0x366862[_0x17552d(0x1af)](_0x17552d(0x1b6)),_0x17552d(0x13a)==_0x45e1af&&_0x366862[_0x17552d(0x1af)](_0x17552d(0x12a),_0x17552d(0x1aa)),_0x17552d(0x137)==_0x45e1af&&_0x366862[_0x17552d(0x1af)](_0x17552d(0x195)),_0x17552d(0x135)==_0x45e1af&&_0x366862[_0x17552d(0x1af)](_0x17552d(0x144)),_0x17552d(0x1bc)==_0x45e1af&&_0x366862[_0x17552d(0x1af)](_0x17552d(0x15e));},0x3e8);}[_0x235b76(0x148)](){const _0xbc244c=_0x235b76;super[_0xbc244c(0x148)](),this[_0xbc244c(0x166)]&&clearInterval(this[_0xbc244c(0x166)]);}[_0x235b76(0x128)](_0x3c021d='',_0x2d840f='',_0x16bee1=_0x235b76(0x177)){const _0x2ecd1c=_0x235b76,_0x5e4803=this[_0x2ecd1c(0x162)],_0x577204=_0x5e4803[_0x2ecd1c(0x1b0)][_0x2ecd1c(0x165)],_0x34fc82=_0x5e4803[_0x2ecd1c(0x133)][_0x2ecd1c(0x19d)](_0x54eb0a),_0x26d46d=_0x5e4803[_0x2ecd1c(0x133)][_0x2ecd1c(0x19d)](_0xa8bcd2);_0x34fc82[_0x2ecd1c(0x169)]();const _0x403d12=new l(),_0x2874e2=new ClipboardEvent(_0x2ecd1c(0x14f),{'clipboardData':_0x403d12}),_0x4a954a=new _0xd0796b(_0x403d12),_0x5384e3=new _0x2e1147(_0x577204,_0x2874e2,{'dataTransfer':_0x4a954a});_0x26d46d[_0x2ecd1c(0x19a)](_0x2ecd1c(0x1ab),()=>{const _0x429d3d=_0x2ecd1c;_0x577204[_0x429d3d(0x1a2)][_0x429d3d(0x1a3)](_0x429d3d(0x14f),_0x5384e3);}),this[_0x2ecd1c(0x199)]||(this[_0x2ecd1c(0x14d)](),this[_0x2ecd1c(0x123)]=new _0x3aa008(_0x5e4803,this[_0x2ecd1c(0x187)][_0x2ecd1c(0x18b)],this[_0x2ecd1c(0x199)]));let _0x81c58f=_0x4a954a[_0x2ecd1c(0x19e)](_0x2ecd1c(0x12d));const _0x599b7f=_0x5e4803[_0x2ecd1c(0x1bd)][_0x2ecd1c(0x1a2)][_0x2ecd1c(0x131)],_0x1ea9ab=Array[_0x2ecd1c(0x157)](_0x599b7f[_0x2ecd1c(0x1c5)]());0x1===_0x1ea9ab[_0x2ecd1c(0x1b7)]&&_0x1ea9ab[0x0][_0x2ecd1c(0x1ca)]&&!_0x599b7f[_0x2ecd1c(0x16a)]()&&''!==_0x81c58f[_0x2ecd1c(0x121)](/ /g,'')[_0x2ecd1c(0x15a)]()&&(_0x81c58f=_0x2ecd1c(0x145)+_0x81c58f+_0x2ecd1c(0x12c)),this[_0x2ecd1c(0x123)][_0x2ecd1c(0x124)]({'actionId':_0x16bee1,'query':_0x3c021d,'htmlContent':_0x81c58f,'label':_0x2d840f,'mainActionLabel':_0x45301b[_0x5e4803[_0x2ecd1c(0x1bd)][_0x2ecd1c(0x1a2)][_0x2ecd1c(0x131)][_0x2ecd1c(0x18e)]?_0x2ecd1c(0x176):_0x2ecd1c(0x15d)]}),_0x2ecd1c(0x153)!==this[_0x2ecd1c(0x150)]['id']?this[_0x2ecd1c(0x150)][_0x2ecd1c(0x18d)]({'id':_0x2ecd1c(0x153),'icon':_0x3b4bfa,'title':_0x5851c9(this[_0x2ecd1c(0x162)][_0x2ecd1c(0x183)],_0x2ecd1c(0x188)),'content':this[_0x2ecd1c(0x199)],'position':_0x493b67[_0x2ecd1c(0x1be)],'onShow':()=>{const _0x4053ce=_0x2ecd1c;this[_0x4053ce(0x199)][_0x4053ce(0x1a7)]();},'onHide':()=>{const _0x7eb523=_0x2ecd1c;this[_0x7eb523(0x123)][_0x7eb523(0x198)](),_0x34fc82[_0x7eb523(0x1a4)]();}}):this[_0x2ecd1c(0x150)][_0x2ecd1c(0x165)][_0x2ecd1c(0x15b)]||this[_0x2ecd1c(0x150)][_0x2ecd1c(0x165)][_0x2ecd1c(0x129)]();}[_0x235b76(0x1c2)](){const _0x334f04=_0x235b76;this[_0x334f04(0x150)][_0x334f04(0x164)]();}[_0x235b76(0x1a8)](){const _0x4c5e1d=_0x235b76,_0x262d0d=new Map(),_0xbc70d7=_0x34a7f2(this[_0x4c5e1d(0x162)][_0x4c5e1d(0x16e)][_0x4c5e1d(0x19d)](_0x4c5e1d(0x1b1)),this[_0x4c5e1d(0x162)][_0x4c5e1d(0x183)]);for(const _0x441362 of _0xbc70d7)for(const _0x58576b of _0x441362[_0x4c5e1d(0x13e)])_0x262d0d[_0x4c5e1d(0x12b)](_0x58576b['id'],{..._0x58576b,'groupId':_0x441362[_0x4c5e1d(0x19b)],'groupLabel':_0x441362[_0x4c5e1d(0x138)]||_0x441362[_0x4c5e1d(0x19b)]});return _0x262d0d;}[_0x235b76(0x16d)](_0x39870f){const _0x2719e5=_0x235b76,_0x5ac9a0=this[_0x2719e5(0x162)],_0x47e5d3=_0x5ac9a0[_0x2719e5(0x13e)][_0x2719e5(0x19d)](_0x2719e5(0x161)),_0x350445=new _0x39870f(_0x5ac9a0[_0x2719e5(0x183)]);return _0x350445[_0x2719e5(0x12b)]({'label':_0x5851c9(_0x5ac9a0[_0x2719e5(0x183)],_0x2719e5(0x188)),'icon':_0x3b4bfa,'isToggleable':!0x0}),_0x350445[_0x2719e5(0x17a)](_0x2719e5(0x186))['to'](_0x47e5d3),_0x350445[_0x2719e5(0x17a)](_0x2719e5(0x1b5))['to'](this[_0x2719e5(0x150)],'id',_0xed0273=>_0x2719e5(0x153)===_0xed0273),this[_0x2719e5(0x180)](_0x350445,_0x2719e5(0x12e),()=>{const _0x181b4d=_0x2719e5;_0x350445[_0x181b4d(0x1b5)]?this[_0x181b4d(0x1c2)]():_0x47e5d3[_0x181b4d(0x12e)]();}),_0x350445;}[_0x235b76(0x14d)](){const _0x3ab44f=_0x235b76,_0x429a44=this[_0x3ab44f(0x162)][_0x3ab44f(0x133)][_0x3ab44f(0x19d)](_0x54eb0a);this[_0x3ab44f(0x199)]=new _0x56a4cc(this[_0x3ab44f(0x162)][_0x3ab44f(0x183)],this[_0x3ab44f(0x16f)],this[_0x3ab44f(0x162)][_0x3ab44f(0x16e)][_0x3ab44f(0x19d)](_0x3ab44f(0x1b2))),this[_0x3ab44f(0x199)]['on'](_0x3ab44f(0x1c8),()=>{const _0x4dcaba=_0x3ab44f;this[_0x4dcaba(0x150)][_0x4dcaba(0x165)][_0x4dcaba(0x15b)]||this[_0x4dcaba(0x150)][_0x4dcaba(0x165)][_0x4dcaba(0x129)]();}),this[_0x3ab44f(0x199)][_0x3ab44f(0x179)][_0x3ab44f(0x16b)][_0x3ab44f(0x170)]['on'](_0x3ab44f(0x1a5),()=>{const _0x1acfea=_0x3ab44f;this[_0x1acfea(0x150)][_0x1acfea(0x165)][_0x1acfea(0x15b)]||this[_0x1acfea(0x150)][_0x1acfea(0x165)][_0x1acfea(0x129)]();}),this[_0x3ab44f(0x180)](this[_0x3ab44f(0x199)],_0x3ab44f(0x1c3),()=>{const _0x5d0ad1=_0x3ab44f;_0x429a44[_0x5d0ad1(0x181)](this[_0x5d0ad1(0x123)][_0x5d0ad1(0x172)]),this[_0x5d0ad1(0x1c2)]();}),this[_0x3ab44f(0x180)](this[_0x3ab44f(0x199)],_0x3ab44f(0x14e),()=>{const _0x3cec09=_0x3ab44f;_0x429a44[_0x3cec09(0x14e)](this[_0x3cec09(0x123)][_0x3cec09(0x172)]),this[_0x3cec09(0x1c2)]();}),this[_0x3ab44f(0x1cf)]();}[_0x235b76(0x1cf)](){const _0x3cb29e=_0x235b76,{locale:_0x66ec7e,ui:{ariaLiveAnnouncer:_0x254788}}=this[_0x3cb29e(0x162)];this[_0x3cb29e(0x199)][_0x3cb29e(0x152)]['on'](_0x3cb29e(0x14a),(_0x3d919f,_0x105afe,_0x1c44a8)=>{const _0x26fb95=_0x3cb29e,_0xbd9211=this[_0x26fb95(0x123)][_0x26fb95(0x172)];_0x1c44a8?_0x254788[_0x26fb95(0x147)](_0x5851c9(_0x66ec7e,_0x26fb95(0x149))):_0xbd9211&&_0x254788[_0x26fb95(0x147)](_0x5851c9(_0x66ec7e,_0x26fb95(0x184),_0xbd9211),{'politeness':_0x26fb95(0x1bb),'isUnsafeHTML':!0x0});}),this[_0x3cb29e(0x199)]['on'](_0x3cb29e(0x160),(_0x174db9,_0x5f3636,_0xb96cf0)=>{const _0x34e047=_0x3cb29e;if(_0xb96cf0){const _0x3ab078=this[_0x34e047(0x199)][_0x34e047(0x1cc)][_0x34e047(0x17d)];_0x254788[_0x34e047(0x147)](_0x5851c9(_0x66ec7e,_0x34e047(0x154),_0x3ab078));}});}[_0x235b76(0x130)](_0x13a8a2){const _0x69acca=_0x235b76,_0x196676=this[_0x69acca(0x1bf)][_0x69acca(0x19d)](_0x13a8a2),_0x136ce0=this[_0x69acca(0x162)],_0x352af0=_0x136ce0[_0x69acca(0x1bd)][_0x69acca(0x1a2)][_0x69acca(0x131)],_0x3cba90=_0x136ce0[_0x69acca(0x13e)][_0x69acca(0x19d)](_0x69acca(0x161)),_0x3ef162=_0x136ce0[_0x69acca(0x133)][_0x69acca(0x19d)](_0x54eb0a),_0x2670ae=''+(_0x196676[_0x69acca(0x19b)]!==_0xc4944?_0x196676[_0x69acca(0x138)]+':\x20':'')+_0x196676[_0x69acca(0x155)];if(!0x1!==_0x196676[_0x69acca(0x136)]&&_0x352af0[_0x69acca(0x18e)]){const _0x4d203f=_0x318b1e(_0x352af0[_0x69acca(0x142)]())||_0x136ce0[_0x69acca(0x1bd)][_0x69acca(0x139)][_0x69acca(0x1a1)](_0x352af0);_0x136ce0[_0x69acca(0x1bd)][_0x69acca(0x17e)](_0x28a6bd=>{const _0x2f2a7b=_0x69acca;_0x28a6bd[_0x2f2a7b(0x14c)](_0x4d203f,'in');});}_0x3ef162[_0x69acca(0x169)](),_0x3cba90[_0x69acca(0x12e)](_0x196676[_0x69acca(0x1a6)],_0x2670ae,_0x69acca(0x12f)+_0x13a8a2);}[_0x235b76(0x1b4)](_0x3a0d01,_0x4e1b27,_0x138e10,_0xc52969){const _0x545187=_0x235b76,_0x5a3c44=this[_0x545187(0x162)],_0x790c46=_0x5a3c44[_0x545187(0x183)],_0x3d14c7=new _0x23710c(_0x790c46),_0x20c85d=U(_0x5a3c44,_0x138e10)[_0x545187(0x122)](_0x533e3c=>_0x533e3c[_0x545187(0x13e)][_0x545187(0x1b7)]);0x1===_0x20c85d[_0x545187(0x1b7)]?this[_0x545187(0x16c)]({'command':_0x3a0d01,'commands':_0x20c85d[0x0][_0x545187(0x13e)],'parentMenuView':_0x4e1b27,'onExecute':_0xc52969})[_0x545187(0x1ce)](_0x8461d4=>_0x3d14c7[_0x545187(0x13d)][_0x545187(0x194)](_0x8461d4)):_0x20c85d[_0x545187(0x1ce)](({groupId:_0x57df2e,groupLabel:_0x503a96,commands:_0xd4a98c})=>{const _0x1cf106=_0x545187,_0xed7022=new _0x1687c0(_0x790c46,_0x4e1b27),_0x2ef1fe=new _0x5945ba(_0x790c46),_0x22ab71=new _0x23710c(_0x790c46),_0x187282=this[_0x1cf106(0x16c)]({'command':_0x3a0d01,'commands':_0xd4a98c,'parentMenuView':_0x2ef1fe,'onExecute':_0xc52969});_0x2ef1fe[_0x1cf106(0x1c9)][_0x1cf106(0x12b)]({'label':_0x503a96||_0x57df2e}),_0x2ef1fe[_0x1cf106(0x126)](_0x1cf106(0x12e))['to'](_0x4e1b27),_0x22ab71[_0x1cf106(0x13d)][_0x1cf106(0x189)](_0x187282),_0x2ef1fe[_0x1cf106(0x1b8)][_0x1cf106(0x1c1)][_0x1cf106(0x194)](_0x22ab71),_0xed7022[_0x1cf106(0x1c1)][_0x1cf106(0x194)](_0x2ef1fe),_0x3d14c7[_0x1cf106(0x13d)][_0x1cf106(0x194)](_0xed7022);}),_0x4e1b27[_0x545187(0x1b8)][_0x545187(0x1c1)][_0x545187(0x194)](_0x3d14c7);}[_0x235b76(0x16c)]({command:_0x38ab84,commands:_0x4ee805,parentMenuView:_0x239b76,onExecute:_0x4fcced}){const _0x30dd10=_0x235b76,_0x26e73f=this[_0x30dd10(0x162)],_0x3adff3=_0x26e73f[_0x30dd10(0x183)];return U(_0x26e73f,_0x4ee805)[_0x30dd10(0x17f)](_0x238ba6=>{const _0x20ab04=_0x30dd10,_0x5887a3=new _0x1687c0(_0x3adff3,_0x239b76),_0x537a68=new _0x28e8b6(_0x3adff3);return _0x537a68[_0x20ab04(0x12b)]({'label':_0x238ba6[_0x20ab04(0x155)]}),_0x537a68[_0x20ab04(0x126)](_0x20ab04(0x12e))['to'](_0x239b76),_0x537a68['on'](_0x20ab04(0x12e),()=>_0x4fcced(_0x238ba6['id'])),_0x537a68[_0x20ab04(0x17a)](_0x20ab04(0x186))['to'](_0x38ab84,_0x20ab04(0x140),_0x15197=>_0x15197[_0x20ab04(0x167)](_0x238ba6['id'])),_0x5887a3[_0x20ab04(0x1c1)][_0x20ab04(0x194)](_0x537a68),_0x5887a3;});}}function T(_0x5d2476,_0xf2a4d){const _0x3c368f=_0x235b76;return void 0x0!==_0x5d2476[_0x3c368f(0x18c)]&&void 0x0===_0xf2a4d[_0x3c368f(0x18c)]?0x1:void 0x0===_0x5d2476[_0x3c368f(0x18c)]&&void 0x0!==_0xf2a4d[_0x3c368f(0x18c)]?-0x1:void 0x0!==_0x5d2476[_0x3c368f(0x18c)]&&void 0x0!==_0xf2a4d[_0x3c368f(0x18c)]?_0x5d2476[_0x3c368f(0x18c)]-_0xf2a4d[_0x3c368f(0x18c)]:0x0;}function U(_0x58c130,_0x3674de){const _0x1852f8=_0x235b76;_0x3674de[_0x1852f8(0x125)](T);const _0x12fe9a={},_0x31e991=[];for(const _0x4bc2a0 of _0x3674de)if(void 0x0!==_0x4bc2a0[_0x1852f8(0x18c)]){if(_0x4bc2a0[_0x1852f8(0x18c)]in _0x12fe9a)throw new _0x4477dc(_0x1852f8(0x13f),_0x58c130,{'conflictingDefinitions':[_0x4bc2a0,_0x12fe9a[_0x4bc2a0[_0x1852f8(0x18c)]]]});_0x12fe9a[_0x4bc2a0[_0x1852f8(0x18c)]]=_0x4bc2a0,_0x31e991[_0x1852f8(0x11f)](_0x4bc2a0[_0x1852f8(0x18c)],0x0,_0x4bc2a0);}else _0x31e991[_0x1852f8(0x175)](_0x4bc2a0);return _0x31e991;}
|
|
23
|
+
const _0x4fc260=_0x554b;(function(_0x2fa468,_0x5272dd){const _0x2bb5e7=_0x554b,_0x4a0376=_0x2fa468();while(!![]){try{const _0x15d98a=-parseInt(_0x2bb5e7(0xe1))/0x1*(parseInt(_0x2bb5e7(0x10b))/0x2)+parseInt(_0x2bb5e7(0xee))/0x3+parseInt(_0x2bb5e7(0xb6))/0x4+parseInt(_0x2bb5e7(0xbd))/0x5+parseInt(_0x2bb5e7(0xb7))/0x6+parseInt(_0x2bb5e7(0xac))/0x7*(-parseInt(_0x2bb5e7(0xd0))/0x8)+-parseInt(_0x2bb5e7(0x120))/0x9*(parseInt(_0x2bb5e7(0xbb))/0xa);if(_0x15d98a===_0x5272dd)break;else _0x4a0376['push'](_0x4a0376['shift']());}catch(_0x1e5ef0){_0x4a0376['push'](_0x4a0376['shift']());}}}(_0x3c24,0xbce02));function _0x3c24(){const _0x27336b=['wasMoved','set','AI\x20is\x20writing','includes','ai.assistant.useTheme','aiLicenseKeyExpired','updatePosition','replace','_createAIAssistantUIButton','599HIdYPG','_aiAdapter','<p>','filter','change:isProcessing','groupLabel','buttons','componentFactory','aiLicenseKeyTrialLimit','insertContent','command:','media','ck-ai-commands-dropdown\x20','465969FIZHzZ','groupId','ai.assistant.contentAreaCssClass','evaluationLimit','</p>','requires','from','values','requiresContent','_onExecute','aiLicenseKeyEvaluationLimit','focus','render','rawHtml','change:enabledCommandsIds','execute','isOn','ai.assistant.disabledElements','AIAssistantUI','_dialog','_showLicenseError','isFlat','addMany','AI\x20Commands','usageLimit','destroy','AIAssistant','getSelectedBlocks','_populateMenuBarMenu','502spIvcr','items','DataTransfer','\x20ck-ai-assistant-ui_theme','length','isEnabled','delegate','_getMenuBarGroupButtons','listenTo','aiCommands','prompt','Error\x20during\x20AI\x20content\x20generation:\x20%0','expired','selection','_getResolvedCommandsDefinitions','queryView','text','invalid','add','menuBar:aiCommands','getSelectedElement','27NiIQmQ','isOfficialPlugin','config','_uiCssClasses','isPremiumPlugin','once','currentContext','Generated\x20content:\x20%0','domainLimit','label','view','updateView','announce','promptView','update','change:value','textAdapter','contentArea','ck-ai-assistant-ui','document','editing','showAIAssistant','show','licenseKey','errorView','menuPanelClass','aiAssistant','children','forEach','menuView','_aiAssistantController','comment','model','INSERT','ai-commands-config-order-collision','featureNotAllowed','bind','getRanges','ck-ai-assistant-button\x20','editor','aiLicenseKeyInvalid','_forceMarkersCopy','trim','tableOfContents','hideUI','push','setSelection','commands','copy','define','_initView','init','custom','schema','menuBar:aiAssistant','getLimitElement','pluginName','source','EDITOR_TOP_SIDE','REPLACE','7703171WYAFHl','change:isError','body','aiLicenseKeyUsageLimit','aiLicenseKeyValid','panelView','sort','locale','_formView','polite','3688696iclzgX','5569800xpqHSf','buttonView','order','_commandDefinitions','155970Lxgsco','plugins','327150tdIFYn','isCollapsed','reset','_initAriaAiStatusChangeAnnouncements','getData','showFakeVisualSelection','aiLicenseKeyDomainLimit','text/html','replaceContent','insertContentBelow','AI\x20Assistant','fieldView','trialLimit','hideFakeVisualSelection','map','_licenseKeyCheckInterval','change','hide','showUI','8sxOwcy','menuitemcheckbox','aiLicenseKeyNotAllowed','ai.assistant.commands','splice','fire','get','enabledCommandsIds'];_0x3c24=function(){return _0x27336b;};return _0x3c24();}import{Plugin as _0x215bb6}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3b6e5f,IconRobotPencil as _0x330c00}from'ckeditor5/src/icons.js';import{first as _0x268d70,CKEditorError as _0x43ac4a}from'ckeditor5/src/utils.js';import{createDropdown as _0x2d6c3b,addMenuToDropdown as _0xcb81fb,ButtonView as _0x1b95e6,MenuBarMenuListItemButtonView as _0x50462a,Dialog as _0x516c3e,DialogViewPosition as _0x28a7c7,MenuBarMenuView as _0x37c10b,MenuBarMenuListView as _0x27ccfd,MenuBarMenuListItemView as _0x39dd39}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x33c588,UNGROUPED_COMMANDS_GROUP_ID as _0x261017}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x571b40}from'./aiassistantediting.js';import{AIAdapter as _0x4b1a3a}from'./adapters/aiadapter.js';import{getTranslation as _0x5dda3e}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0xfab1a0}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x963771}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x23ca95}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2e6075}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const y=globalThis[_0x4fc260(0x10d)];import{ClipboardMarkersUtils as _0x260b1f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x15da48,ViewDataTransfer as _0x138208}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x215bb6{[_0x4fc260(0x137)];[_0x4fc260(0xcc)];[_0x4fc260(0x101)];[_0x4fc260(0xb4)];[_0x4fc260(0xe2)];[_0x4fc260(0x13e)];[_0x4fc260(0x123)]='';static get[_0x4fc260(0xa8)](){const _0x52a049=_0x4fc260;return _0x52a049(0x100);}static get[_0x4fc260(0x121)](){return!0x0;}static get[_0x4fc260(0x124)](){return!0x0;}static get[_0x4fc260(0xf3)](){return[_0x260b1f,_0x571b40,_0x4b1a3a,_0x516c3e];}constructor(_0x442624){const _0x2059a6=_0x4fc260;super(_0x442624),_0x442624[_0x2059a6(0x122)][_0x2059a6(0xa1)](_0x2059a6(0xff),[_0x2059a6(0xec),_0x2059a6(0xfb),_0x2059a6(0x9b)]),_0x442624[_0x2059a6(0x122)][_0x2059a6(0xa1)](_0x2059a6(0xf0),''),_0x442624[_0x2059a6(0x122)][_0x2059a6(0xa1)](_0x2059a6(0xdc),!0x0),this[_0x2059a6(0x123)]=_0x2059a6(0x132)+(_0x442624[_0x2059a6(0x122)][_0x2059a6(0xd6)](_0x2059a6(0xdc))?_0x2059a6(0x10e):'');}[_0x4fc260(0xa3)](){const _0x230b3a=_0x4fc260,{editor:_0x54719d}=this;this[_0x230b3a(0xe2)]=_0x54719d[_0x230b3a(0xbc)][_0x230b3a(0xd6)](_0x4b1a3a),this[_0x230b3a(0x101)]=_0x54719d[_0x230b3a(0xbc)][_0x230b3a(0xd6)](_0x516c3e),this[_0x230b3a(0xb4)]=null,this[_0x230b3a(0xba)]=this[_0x230b3a(0x119)]();const _0x24f887=new _0xfab1a0(_0x54719d,Array[_0x230b3a(0xf4)](this[_0x230b3a(0xba)][_0x230b3a(0xf5)]()));_0x54719d[_0x230b3a(0x9f)][_0x230b3a(0x11d)](_0x230b3a(0x135),_0x24f887),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0x114),_0x37349e=>{const _0x46ea8d=_0x230b3a,_0x563a9a=_0x2d6c3b(_0x37349e);return _0x563a9a[_0x46ea8d(0xd9)]({'class':_0x46ea8d(0xed)+this[_0x46ea8d(0x123)]}),_0x563a9a[_0x46ea8d(0xb8)][_0x46ea8d(0xd9)]({'label':_0x5dda3e(_0x37349e,_0x46ea8d(0x105)),'icon':_0x3b6e5f,'tooltip':!0x0}),_0x563a9a['on'](_0x46ea8d(0xfd),_0x1d5a79=>this[_0x46ea8d(0xf7)](_0x1d5a79[_0x46ea8d(0xa9)]['id'])),_0xcb81fb(_0x563a9a,_0x54719d['ui'][_0x46ea8d(0x12a)][_0x46ea8d(0xae)],function(_0x575b75){const _0x36ba2a=_0x46ea8d,_0x51e6da=_0x33c588(_0x575b75[_0x36ba2a(0x122)][_0x36ba2a(0xd6)](_0x36ba2a(0xd3)),_0x575b75[_0x36ba2a(0xb3)]),_0x478506=O(_0x575b75,_0x51e6da)[_0x36ba2a(0xe4)](_0x4b80f4=>_0x4b80f4[_0x36ba2a(0x9f)][_0x36ba2a(0x10f)]);if(0x1===_0x478506[_0x36ba2a(0x10f)])return O(_0x575b75,_0x478506[0x0][_0x36ba2a(0x9f)])[_0x36ba2a(0xcb)](_0x3a3d73=>({'id':_0x3a3d73['id'],'label':_0x3a3d73[_0x36ba2a(0x129)]}));return _0x478506[_0x36ba2a(0xcb)](_0x1721a0=>{const _0x2f47ce=_0x36ba2a,{groupId:_0x1cf5ac,groupLabel:_0xe7525c,commands:_0xe9344d}=_0x1721a0,_0x42c96=O(_0x575b75,_0xe9344d)[_0x2f47ce(0xcb)](_0x2b8f68=>({'id':_0x2b8f68['id'],'label':_0x2b8f68[_0x2f47ce(0x129)]}));return{'id':_0x1cf5ac,'menu':_0xe7525c||_0x1cf5ac,'children':_0x42c96};});}(_0x54719d),{'ariaLabel':_0x5dda3e(_0x37349e,_0x46ea8d(0x105))}),_0x563a9a[_0x46ea8d(0x13d)][_0x46ea8d(0x139)]=_0x46ea8d(0xed)+this[_0x46ea8d(0x123)],_0x24f887['on'](_0x46ea8d(0xfc),_0x43d04d),_0x563a9a[_0x46ea8d(0x13d)][_0x46ea8d(0x125)](_0x46ea8d(0xfa),_0x43d04d),_0x563a9a;function _0x43d04d(){const _0x148943=_0x46ea8d;_0x563a9a[_0x148943(0x110)]=_0x24f887[_0x148943(0xd7)][_0x148943(0x10f)]>0x0;for(const _0x5f53ba of _0x563a9a[_0x148943(0x13d)][_0x148943(0xe7)])_0x5f53ba[_0x148943(0x110)]=_0x24f887[_0x148943(0xd7)][_0x148943(0xdb)](_0x5f53ba['id']);}}),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0x11e),_0x56082b=>{const _0x71aff2=_0x230b3a,_0x4e86ca=new _0x37c10b(_0x56082b);_0x4e86ca[_0x71aff2(0xb8)][_0x71aff2(0xd9)]({'label':_0x5dda3e(_0x56082b,_0x71aff2(0x105)),'icon':_0x3b6e5f}),_0x4e86ca[_0x71aff2(0x144)](_0x71aff2(0x110))['to'](_0x24f887,_0x71aff2(0xd7),_0x50ae56=>_0x50ae56[_0x71aff2(0x10f)]>0x0);const _0x2333fd=_0x33c588(_0x54719d[_0x71aff2(0x122)][_0x71aff2(0xd6)](_0x71aff2(0xd3)),_0x56082b);return this[_0x71aff2(0x10a)](_0x24f887,_0x4e86ca,_0x2333fd,_0x97f9e2=>this[_0x71aff2(0xf7)](_0x97f9e2)),_0x4e86ca;}),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0x13a),()=>{const _0x2174c9=_0x230b3a,_0xa89a33=this[_0x2174c9(0xe0)](_0x1b95e6);return _0xa89a33[_0x2174c9(0xd9)]({'tooltip':!0x0,'class':_0x2174c9(0x146)+this[_0x2174c9(0x123)]}),_0xa89a33;}),_0x54719d['ui'][_0x230b3a(0xe8)][_0x230b3a(0x11d)](_0x230b3a(0xa6),()=>{const _0x657b10=_0x230b3a,_0x146c8f=this[_0x657b10(0xe0)](_0x50462a);return _0x146c8f[_0x657b10(0xd9)]({'role':_0x657b10(0xd1)}),_0x146c8f;}),this[_0x230b3a(0x137)]=this[_0x230b3a(0x97)][_0x230b3a(0x122)][_0x230b3a(0xd6)](_0x230b3a(0x137));const _0x5e0cca=this[_0x230b3a(0x97)];this[_0x230b3a(0xcc)]=setInterval(()=>{const _0x33f550=_0x230b3a;let _0x5f5b5e;for(const _0x5593be in _0x5e0cca){const _0x17d1ca=_0x5593be,_0x7bbc5c=_0x5e0cca[_0x17d1ca];if(_0x33f550(0xb0)==_0x7bbc5c||_0x33f550(0x98)==_0x7bbc5c||_0x33f550(0xdd)==_0x7bbc5c||_0x33f550(0xc3)==_0x7bbc5c||_0x33f550(0xd2)==_0x7bbc5c||_0x33f550(0xf8)==_0x7bbc5c||_0x33f550(0xe9)==_0x7bbc5c||_0x33f550(0xaf)==_0x7bbc5c){delete _0x5e0cca[_0x17d1ca],_0x5f5b5e=_0x7bbc5c,clearInterval(this[_0x33f550(0xcc)]),this[_0x33f550(0xcc)]=void 0x0;break;}}_0x33f550(0x98)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x11c)),_0x33f550(0xdd)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x117)),_0x33f550(0xc3)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x128)),_0x33f550(0xd2)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x143),_0x33f550(0x108)),_0x33f550(0xf8)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0xf1)),_0x33f550(0xe9)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0xc9)),_0x33f550(0xaf)==_0x5f5b5e&&_0x5e0cca[_0x33f550(0x102)](_0x33f550(0x106));},0x3e8);}[_0x4fc260(0x107)](){const _0x478363=_0x4fc260;super[_0x478363(0x107)](),this[_0x478363(0xcc)]&&clearInterval(this[_0x478363(0xcc)]);}[_0x4fc260(0xcf)](_0x4ace33='',_0x28ee91='',_0x505dc8=_0x4fc260(0xa4)){const _0x4a13f9=_0x4fc260,_0x19fd3a=this[_0x4a13f9(0x97)],_0x579a41=_0x19fd3a[_0x4a13f9(0x134)][_0x4a13f9(0x12a)],_0x31edff=_0x19fd3a[_0x4a13f9(0xbc)][_0x4a13f9(0xd6)](_0x571b40),_0x30a70d=_0x19fd3a[_0x4a13f9(0xbc)][_0x4a13f9(0xd6)](_0x260b1f);_0x31edff[_0x4a13f9(0xc2)]();const _0x4b28f7=new y(),_0x584164=new ClipboardEvent(_0x4a13f9(0xa0),{'clipboardData':_0x4b28f7}),_0x302f6e=new _0x138208(_0x4b28f7),_0xa59ea7=new _0x15da48(_0x579a41,_0x584164,{'dataTransfer':_0x302f6e});_0x30a70d[_0x4a13f9(0x99)](_0x4a13f9(0x13f),()=>{const _0xf2fa3d=_0x4a13f9;_0x579a41[_0xf2fa3d(0x133)][_0xf2fa3d(0xd5)](_0xf2fa3d(0xa0),_0xa59ea7);}),this[_0x4a13f9(0xb4)]||(this[_0x4a13f9(0xa2)](),this[_0x4a13f9(0x13e)]=new _0x963771(_0x19fd3a,this[_0x4a13f9(0xe2)][_0x4a13f9(0x130)],this[_0x4a13f9(0xb4)]));let _0x4cb01f=_0x302f6e[_0x4a13f9(0xc1)](_0x4a13f9(0xc4));const _0x825789=_0x19fd3a[_0x4a13f9(0x140)][_0x4a13f9(0x133)][_0x4a13f9(0x118)],_0x505962=Array[_0x4a13f9(0xf4)](_0x825789[_0x4a13f9(0x145)]());0x1===_0x505962[_0x4a13f9(0x10f)]&&_0x505962[0x0][_0x4a13f9(0x103)]&&!_0x825789[_0x4a13f9(0x11f)]()&&''!==_0x4cb01f[_0x4a13f9(0xdf)](/ /g,'')[_0x4a13f9(0x9a)]()&&(_0x4cb01f=_0x4a13f9(0xe3)+_0x4cb01f+_0x4a13f9(0xf2)),this[_0x4a13f9(0x13e)][_0x4a13f9(0x12b)]({'actionId':_0x505dc8,'query':_0x4ace33,'htmlContent':_0x4cb01f,'label':_0x28ee91,'mainActionLabel':_0x2e6075[_0x19fd3a[_0x4a13f9(0x140)][_0x4a13f9(0x133)][_0x4a13f9(0x118)][_0x4a13f9(0xbe)]?_0x4a13f9(0x141):_0x4a13f9(0xab)]}),_0x4a13f9(0x13a)!==this[_0x4a13f9(0x101)]['id']?this[_0x4a13f9(0x101)][_0x4a13f9(0x136)]({'id':_0x4a13f9(0x13a),'icon':_0x330c00,'title':_0x5dda3e(this[_0x4a13f9(0x97)][_0x4a13f9(0xb3)],_0x4a13f9(0xc7)),'content':this[_0x4a13f9(0xb4)],'position':_0x28a7c7[_0x4a13f9(0xaa)],'onShow':()=>{const _0x46da7a=_0x4a13f9;this[_0x46da7a(0xb4)][_0x46da7a(0xf9)]();},'onHide':()=>{const _0x596fc8=_0x4a13f9;this[_0x596fc8(0x13e)][_0x596fc8(0xbf)](),_0x31edff[_0x596fc8(0xca)]();}}):this[_0x4a13f9(0x101)][_0x4a13f9(0x12a)][_0x4a13f9(0xd8)]||this[_0x4a13f9(0x101)][_0x4a13f9(0x12a)][_0x4a13f9(0xde)]();}[_0x4fc260(0x9c)](){const _0x298f8d=_0x4fc260;this[_0x298f8d(0x101)][_0x298f8d(0xce)]();}[_0x4fc260(0x119)](){const _0x2b8d00=_0x4fc260,_0xb6ee35=new Map(),_0x4c6812=_0x33c588(this[_0x2b8d00(0x97)][_0x2b8d00(0x122)][_0x2b8d00(0xd6)](_0x2b8d00(0xd3)),this[_0x2b8d00(0x97)][_0x2b8d00(0xb3)]);for(const _0x2a2054 of _0x4c6812)for(const _0x8fa8ad of _0x2a2054[_0x2b8d00(0x9f)])_0xb6ee35[_0x2b8d00(0xd9)](_0x8fa8ad['id'],{..._0x8fa8ad,'groupId':_0x2a2054[_0x2b8d00(0xef)],'groupLabel':_0x2a2054[_0x2b8d00(0xe6)]||_0x2a2054[_0x2b8d00(0xef)]});return _0xb6ee35;}[_0x4fc260(0xe0)](_0x404500){const _0x30565c=_0x4fc260,_0x414f5f=this[_0x30565c(0x97)],_0x877fde=_0x414f5f[_0x30565c(0x9f)][_0x30565c(0xd6)](_0x30565c(0x135)),_0x1c1aba=new _0x404500(_0x414f5f[_0x30565c(0xb3)]);return _0x1c1aba[_0x30565c(0xd9)]({'label':_0x5dda3e(_0x414f5f[_0x30565c(0xb3)],_0x30565c(0xc7)),'icon':_0x330c00,'isToggleable':!0x0}),_0x1c1aba[_0x30565c(0x144)](_0x30565c(0x110))['to'](_0x877fde),_0x1c1aba[_0x30565c(0x144)](_0x30565c(0xfe))['to'](this[_0x30565c(0x101)],'id',_0x9ddb52=>_0x30565c(0x13a)===_0x9ddb52),this[_0x30565c(0x113)](_0x1c1aba,_0x30565c(0xfd),()=>{const _0x51ea83=_0x30565c;_0x1c1aba[_0x51ea83(0xfe)]?this[_0x51ea83(0x9c)]():_0x877fde[_0x51ea83(0xfd)]();}),_0x1c1aba;}[_0x4fc260(0xa2)](){const _0x1c5fa3=_0x4fc260,_0x1cf978=this[_0x1c5fa3(0x97)][_0x1c5fa3(0xbc)][_0x1c5fa3(0xd6)](_0x571b40);this[_0x1c5fa3(0xb4)]=new _0x23ca95(this[_0x1c5fa3(0x97)][_0x1c5fa3(0xb3)],this[_0x1c5fa3(0x123)],this[_0x1c5fa3(0x97)][_0x1c5fa3(0x122)][_0x1c5fa3(0xd6)](_0x1c5fa3(0xf0))),this[_0x1c5fa3(0xb4)]['on'](_0x1c5fa3(0x12f),()=>{const _0x1cd9d8=_0x1c5fa3;this[_0x1cd9d8(0x101)][_0x1cd9d8(0x12a)][_0x1cd9d8(0xd8)]||this[_0x1cd9d8(0x101)][_0x1cd9d8(0x12a)][_0x1cd9d8(0xde)]();}),this[_0x1c5fa3(0xb4)][_0x1c5fa3(0x12d)][_0x1c5fa3(0x11a)][_0x1c5fa3(0xc8)]['on'](_0x1c5fa3(0x12e),()=>{const _0x80fe11=_0x1c5fa3;this[_0x80fe11(0x101)][_0x80fe11(0x12a)][_0x80fe11(0xd8)]||this[_0x80fe11(0x101)][_0x80fe11(0x12a)][_0x80fe11(0xde)]();}),this[_0x1c5fa3(0x113)](this[_0x1c5fa3(0xb4)],_0x1c5fa3(0xc5),()=>{const _0x460262=_0x1c5fa3;_0x1cf978[_0x460262(0xea)](this[_0x460262(0x13e)][_0x460262(0x126)]),this[_0x460262(0x9c)]();}),this[_0x1c5fa3(0x113)](this[_0x1c5fa3(0xb4)],_0x1c5fa3(0xc6),()=>{const _0x88e985=_0x1c5fa3;_0x1cf978[_0x88e985(0xc6)](this[_0x88e985(0x13e)][_0x88e985(0x126)]),this[_0x88e985(0x9c)]();}),this[_0x1c5fa3(0xc0)]();}[_0x4fc260(0xc0)](){const _0x3ec4f7=_0x4fc260,{locale:_0x3c6a5a,ui:{ariaLiveAnnouncer:_0x273fc0}}=this[_0x3ec4f7(0x97)];this[_0x3ec4f7(0xb4)][_0x3ec4f7(0x131)]['on'](_0x3ec4f7(0xe5),(_0x4787e7,_0x2e0e29,_0x350e4b)=>{const _0x27d997=_0x3ec4f7,_0x4da6af=this[_0x27d997(0x13e)][_0x27d997(0x126)];_0x350e4b?_0x273fc0[_0x27d997(0x12c)](_0x5dda3e(_0x3c6a5a,_0x27d997(0xda))):_0x4da6af&&_0x273fc0[_0x27d997(0x12c)](_0x5dda3e(_0x3c6a5a,_0x27d997(0x127),_0x4da6af),{'politeness':_0x27d997(0xb5),'isUnsafeHTML':!0x0});}),this[_0x3ec4f7(0xb4)]['on'](_0x3ec4f7(0xad),(_0xf44d61,_0x44c169,_0x3e3e6f)=>{const _0x305109=_0x3ec4f7;if(_0x3e3e6f){const _0x2102fd=this[_0x305109(0xb4)][_0x305109(0x138)][_0x305109(0x11b)];_0x273fc0[_0x305109(0x12c)](_0x5dda3e(_0x3c6a5a,_0x305109(0x116),_0x2102fd));}});}[_0x4fc260(0xf7)](_0x95ce35){const _0x3c7351=_0x4fc260,_0x31090e=this[_0x3c7351(0xba)][_0x3c7351(0xd6)](_0x95ce35),_0x31121e=this[_0x3c7351(0x97)],_0xccd785=_0x31121e[_0x3c7351(0x140)][_0x3c7351(0x133)][_0x3c7351(0x118)],_0x15dcc5=_0x31121e[_0x3c7351(0x9f)][_0x3c7351(0xd6)](_0x3c7351(0x135)),_0x149074=_0x31121e[_0x3c7351(0xbc)][_0x3c7351(0xd6)](_0x571b40),_0x41ae15=''+(_0x31090e[_0x3c7351(0xef)]!==_0x261017?_0x31090e[_0x3c7351(0xe6)]+':\x20':'')+_0x31090e[_0x3c7351(0x129)];if(!0x1!==_0x31090e[_0x3c7351(0xf6)]&&_0xccd785[_0x3c7351(0xbe)]){const _0x2caf86=_0x268d70(_0xccd785[_0x3c7351(0x109)]())||_0x31121e[_0x3c7351(0x140)][_0x3c7351(0xa5)][_0x3c7351(0xa7)](_0xccd785);_0x31121e[_0x3c7351(0x140)][_0x3c7351(0xcd)](_0xd4f00b=>{const _0x30c072=_0x3c7351;_0xd4f00b[_0x30c072(0x9e)](_0x2caf86,'in');});}_0x149074[_0x3c7351(0xc2)](),_0x15dcc5[_0x3c7351(0xfd)](_0x31090e[_0x3c7351(0x115)],_0x41ae15,_0x3c7351(0xeb)+_0x95ce35);}[_0x4fc260(0x10a)](_0x4439b0,_0x7df29c,_0x13855d,_0x5611a2){const _0x356d9f=_0x4fc260,_0x5d3e30=this[_0x356d9f(0x97)],_0x2eb4d4=_0x5d3e30[_0x356d9f(0xb3)],_0x562b94=new _0x27ccfd(_0x2eb4d4),_0x3a722e=O(_0x5d3e30,_0x13855d)[_0x356d9f(0xe4)](_0x5eb42d=>_0x5eb42d[_0x356d9f(0x9f)][_0x356d9f(0x10f)]);0x1===_0x3a722e[_0x356d9f(0x10f)]?this[_0x356d9f(0x112)]({'command':_0x4439b0,'commands':_0x3a722e[0x0][_0x356d9f(0x9f)],'parentMenuView':_0x7df29c,'onExecute':_0x5611a2})[_0x356d9f(0x13c)](_0x322162=>_0x562b94[_0x356d9f(0x10c)][_0x356d9f(0x11d)](_0x322162)):_0x3a722e[_0x356d9f(0x13c)](({groupId:_0x1d473f,groupLabel:_0x261bc2,commands:_0x52a091})=>{const _0x219358=_0x356d9f,_0x13c1be=new _0x39dd39(_0x2eb4d4,_0x7df29c),_0x4e9b27=new _0x37c10b(_0x2eb4d4),_0x56d765=new _0x27ccfd(_0x2eb4d4),_0xd5880d=this[_0x219358(0x112)]({'command':_0x4439b0,'commands':_0x52a091,'parentMenuView':_0x4e9b27,'onExecute':_0x5611a2});_0x4e9b27[_0x219358(0xb8)][_0x219358(0xd9)]({'label':_0x261bc2||_0x1d473f}),_0x4e9b27[_0x219358(0x111)](_0x219358(0xfd))['to'](_0x7df29c),_0x56d765[_0x219358(0x10c)][_0x219358(0x104)](_0xd5880d),_0x4e9b27[_0x219358(0xb1)][_0x219358(0x13b)][_0x219358(0x11d)](_0x56d765),_0x13c1be[_0x219358(0x13b)][_0x219358(0x11d)](_0x4e9b27),_0x562b94[_0x219358(0x10c)][_0x219358(0x11d)](_0x13c1be);}),_0x7df29c[_0x356d9f(0xb1)][_0x356d9f(0x13b)][_0x356d9f(0x11d)](_0x562b94);}[_0x4fc260(0x112)]({command:_0x1beacb,commands:_0x477021,parentMenuView:_0x5d0811,onExecute:_0x2d702c}){const _0xd450de=_0x4fc260,_0x4a7a75=this[_0xd450de(0x97)],_0x21ad99=_0x4a7a75[_0xd450de(0xb3)];return O(_0x4a7a75,_0x477021)[_0xd450de(0xcb)](_0x5ec005=>{const _0x5ee373=_0xd450de,_0x56ed7e=new _0x39dd39(_0x21ad99,_0x5d0811),_0x1fb777=new _0x50462a(_0x21ad99);return _0x1fb777[_0x5ee373(0xd9)]({'label':_0x5ec005[_0x5ee373(0x129)]}),_0x1fb777[_0x5ee373(0x111)](_0x5ee373(0xfd))['to'](_0x5d0811),_0x1fb777['on'](_0x5ee373(0xfd),()=>_0x2d702c(_0x5ec005['id'])),_0x1fb777[_0x5ee373(0x144)](_0x5ee373(0x110))['to'](_0x1beacb,_0x5ee373(0xd7),_0x31358c=>_0x31358c[_0x5ee373(0xdb)](_0x5ec005['id'])),_0x56ed7e[_0x5ee373(0x13b)][_0x5ee373(0x11d)](_0x1fb777),_0x56ed7e;});}}function _0x554b(_0x45268b,_0xbf99c8){const _0x3c2464=_0x3c24();return _0x554b=function(_0x554bd2,_0x20aee1){_0x554bd2=_0x554bd2-0x97;let _0x2f3157=_0x3c2464[_0x554bd2];return _0x2f3157;},_0x554b(_0x45268b,_0xbf99c8);}function H(_0x118f22,_0x2093d0){const _0x2a1bfe=_0x4fc260;return void 0x0!==_0x118f22[_0x2a1bfe(0xb9)]&&void 0x0===_0x2093d0[_0x2a1bfe(0xb9)]?0x1:void 0x0===_0x118f22[_0x2a1bfe(0xb9)]&&void 0x0!==_0x2093d0[_0x2a1bfe(0xb9)]?-0x1:void 0x0!==_0x118f22[_0x2a1bfe(0xb9)]&&void 0x0!==_0x2093d0[_0x2a1bfe(0xb9)]?_0x118f22[_0x2a1bfe(0xb9)]-_0x2093d0[_0x2a1bfe(0xb9)]:0x0;}function O(_0x593a0c,_0x2ef2c6){const _0x32092a=_0x4fc260;_0x2ef2c6[_0x32092a(0xb2)](H);const _0xd9484e={},_0x3ea6c0=[];for(const _0x4d0e89 of _0x2ef2c6)if(void 0x0!==_0x4d0e89[_0x32092a(0xb9)]){if(_0x4d0e89[_0x32092a(0xb9)]in _0xd9484e)throw new _0x43ac4a(_0x32092a(0x142),_0x593a0c,{'conflictingDefinitions':[_0x4d0e89,_0xd9484e[_0x4d0e89[_0x32092a(0xb9)]]]});_0xd9484e[_0x4d0e89[_0x32092a(0xb9)]]=_0x4d0e89,_0x3ea6c0[_0x32092a(0xd4)](_0x4d0e89[_0x32092a(0xb9)],0x0,_0x4d0e89);}else _0x3ea6c0[_0x32092a(0x9d)](_0x4d0e89);return _0x3ea6c0;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4c89(_0x37d947,_0x4ed5fb){var _0x558894=_0x5588();return _0x4c89=function(_0x4c89ff,_0x48efb3){_0x4c89ff=_0x4c89ff-0x10d;var _0x4c4b4e=_0x558894[_0x4c89ff];return _0x4c4b4e;},_0x4c89(_0x37d947,_0x4ed5fb);}(function(_0x3709ae,_0x25874b){var _0x1fe061=_0x4c89,_0x11e032=_0x3709ae();while(!![]){try{var _0x23eee9=parseInt(_0x1fe061(0x113))/0x1*(-parseInt(_0x1fe061(0x114))/0x2)+-parseInt(_0x1fe061(0x112))/0x3+-parseInt(_0x1fe061(0x10d))/0x4*(-parseInt(_0x1fe061(0x10f))/0x5)+parseInt(_0x1fe061(0x115))/0x6*(parseInt(_0x1fe061(0x10e))/0x7)+-parseInt(_0x1fe061(0x111))/0x8+parseInt(_0x1fe061(0x110))/0x9+parseInt(_0x1fe061(0x116))/0xa;if(_0x23eee9===_0x25874b)break;else _0x11e032['push'](_0x11e032['shift']());}catch(_0x56ca65){_0x11e032['push'](_0x11e032['shift']());}}}(_0x5588,0x1f3b3));import{CKEditorError as _0x386ce6}from'ckeditor5/src/utils.js';function _0x5588(){var _0x3ef473=['394300dAlJKa','995804xOGCdt','21VutLwp','5KcWdiA','883107nfyRIW','1235560HBMhtx','113898JbAAcK','84839MtXLaW','2RaMIpt','37338wzkoFw'];_0x5588=function(){return _0x3ef473;};return _0x5588();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x38de57=_0x74cc;(function(_0x3277f0,_0x4da916){const _0x5c6bec=_0x74cc,_0x570e55=_0x3277f0();while(!![]){try{const _0x37d14c=parseInt(_0x5c6bec(0x141))/0x1*(parseInt(_0x5c6bec(0x118))/0x2)+-parseInt(_0x5c6bec(0x115))/0x3*(parseInt(_0x5c6bec(0x163))/0x4)+parseInt(_0x5c6bec(0x13d))/0x5*(parseInt(_0x5c6bec(0x151))/0x6)+-parseInt(_0x5c6bec(0x143))/0x7*(-parseInt(_0x5c6bec(0x164))/0x8)+-parseInt(_0x5c6bec(0x12e))/0x9+-parseInt(_0x5c6bec(0x159))/0xa+-parseInt(_0x5c6bec(0x168))/0xb;if(_0x37d14c===_0x4da916)break;else _0x570e55['push'](_0x570e55['shift']());}catch(_0x356eda){_0x570e55['push'](_0x570e55['shift']());}}}(_0x3bfb,0x3a902));import{ObservableMixin as _0x171dfe}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1844c3}from'../adapters/aiadapter.js';import{Matcher as _0x16f284,ViewUpcastWriter as _0x985ee1}from'ckeditor5/src/engine.js';function _0x3bfb(){const _0x555834=['stopListening','exec','isRendered','textAdapter','length','35181DWpjJw','ai.assistant.preserveComments','render','prompt','previousLabel','get','tryAgainEvent','view','toModel','abort','createElement','parseFromString','childNodes','_isH1TagSupportEnabled','```html','310ntUODp','div','previousActionId','domConverter','1203oMgbCq','htmlProcessor','21gQuXut','stringify','reset','endsWith','_sanitizeHTML','config','markers','name','catch','then','custom','handleError','once','document','28206efODAC','value','ELEMENT_NODE','<h1></h1>','nodeType','_domParser','element','innerHTML','1483710QppVBQ','previousContext','destroy','trim','_handleQuery','set','_xmlSerializer','toView','mainAction','viewToDom','28kriZxQ','578456QHnfKk','_normalizeResponseHeadings','text/html','listenTo','581713sRAhhE','setContentOf','editor','stopProcessing','finally','makeRequest','submitPrompt','finishProcessing','remove','initialContext','updateView','set:currentContext','```','currentResponse','_stripMarkdownSyntax','message','isProcessing','serializeToString','180273VBPvrX','querySelector','startProcessing','594qOsJdg','data','currentContext','substring','processor','_sanitizationContainer','clear','_parseAndNormalizeContent','push','rename','from','editing','body','previousQuery','startsWith','reverse','match'];_0x3bfb=function(){return _0x555834;};return _0x3bfb();}function _0x74cc(_0x5aa9f3,_0x261420){const _0x3bfbad=_0x3bfb();return _0x74cc=function(_0x74cc1d,_0x57b5b1){_0x74cc1d=_0x74cc1d-0x10d;let _0x525228=_0x3bfbad[_0x74cc1d];return _0x525228;},_0x74cc(_0x5aa9f3,_0x261420);}const cs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x171dfe(){[_0x38de57(0x16a)];[_0x38de57(0x12c)];[_0x38de57(0x135)];[_0x38de57(0x11d)];[_0x38de57(0x156)];[_0x38de57(0x15f)];constructor(_0x4d47d1,_0x7f7ba7,_0x3c23ea){const _0x5b16cb=_0x38de57;super(),this[_0x5b16cb(0x16a)]=_0x4d47d1,this[_0x5b16cb(0x12c)]=_0x7f7ba7,this[_0x5b16cb(0x11d)]=document[_0x5b16cb(0x138)](_0x5b16cb(0x13e)),this[_0x5b16cb(0x156)]=new DOMParser(),this[_0x5b16cb(0x15f)]=new XMLSerializer(),this[_0x5b16cb(0x135)]=_0x3c23ea,this[_0x5b16cb(0x15e)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x5b16cb(0x10e),(_0x55bfa6,_0xa8926e,_0x4acf0f)=>{const _0x16d77d=_0x5b16cb;this[_0x16d77d(0x135)][_0x16d77d(0x152)]=this[_0x16d77d(0x147)](_0x4acf0f);}),this[_0x5b16cb(0x167)](this[_0x5b16cb(0x135)],_0x5b16cb(0x16e),(_0x52efaa,_0x2e4769)=>{const _0x2cff0a=_0x5b16cb,_0x122bd4=this[_0x2cff0a(0x11a)]||this[_0x2cff0a(0x171)];this[_0x2cff0a(0x15d)](_0x2e4769,_0x122bd4,_0x2cff0a(0x14d));}),this[_0x5b16cb(0x167)](this[_0x5b16cb(0x135)],_0x5b16cb(0x134),()=>{const _0xc9b467=_0x5b16cb;this[_0xc9b467(0x135)][_0xc9b467(0x131)]=this[_0xc9b467(0x132)],this[_0xc9b467(0x15d)](this[_0xc9b467(0x125)],this[_0xc9b467(0x15a)],this[_0xc9b467(0x13f)],this[_0xc9b467(0x132)]);}),this[_0x5b16cb(0x167)](this[_0x5b16cb(0x135)],_0x5b16cb(0x16b),()=>{const _0x1f431e=_0x5b16cb;this[_0x1f431e(0x16b)]();});}[_0x38de57(0x15b)](){const _0x48561e=_0x38de57;this[_0x48561e(0x129)]();}async[_0x38de57(0x10d)]({actionId:_0x1850d2,query:_0x477038,htmlContent:_0x1d909e,label:_0xa9d7b2,mainActionLabel:_0xb37277}){const _0x290d30=_0x38de57;this[_0x290d30(0x135)][_0x290d30(0x131)]=_0xa9d7b2,this[_0x290d30(0x135)][_0x290d30(0x161)]=_0xb37277,this[_0x290d30(0x171)]=_0x1d909e,_0x477038&&(this[_0x290d30(0x135)][_0x290d30(0x12b)]?this[_0x290d30(0x15d)](_0x477038,_0x1d909e,_0x1850d2,_0xa9d7b2):this[_0x290d30(0x135)][_0x290d30(0x14f)](_0x290d30(0x130),()=>{const _0x343c07=_0x290d30;this[_0x343c07(0x15d)](_0x477038,_0x1d909e,_0x1850d2,_0xa9d7b2);}));}[_0x38de57(0x16b)](){const _0x7c4b71=_0x38de57;this[_0x7c4b71(0x113)]&&(this[_0x7c4b71(0x113)]=!0x1,this[_0x7c4b71(0x135)][_0x7c4b71(0x16f)](),this[_0x7c4b71(0x12c)][_0x7c4b71(0x137)]());}[_0x38de57(0x145)](){const _0x28c0e6=_0x38de57;this[_0x28c0e6(0x171)]='',this[_0x28c0e6(0x11a)]='',this[_0x28c0e6(0x110)]='',this[_0x28c0e6(0x15a)]='',this[_0x28c0e6(0x125)]='',this[_0x28c0e6(0x132)]='',this[_0x28c0e6(0x13f)]=void 0x0,this[_0x28c0e6(0x135)][_0x28c0e6(0x145)](),this[_0x28c0e6(0x16b)]();}async[_0x38de57(0x15d)](_0x2b585f,_0x260500,_0x3f6a8f,_0x11ebf7){const _0x27b3a2=_0x38de57;return this[_0x27b3a2(0x113)]=!0x0,this[_0x27b3a2(0x135)][_0x27b3a2(0x117)](),this[_0x27b3a2(0x15a)]=_0x260500,this[_0x27b3a2(0x125)]=_0x2b585f,this[_0x27b3a2(0x132)]=_0x11ebf7||_0x2b585f,this[_0x27b3a2(0x13f)]=_0x3f6a8f,new Promise(_0x3296f7=>{const _0x40c678=_0x27b3a2;this[_0x40c678(0x12c)][_0x40c678(0x16d)]({'query':_0x2b585f,'context':_0x260500,'onData':_0x4b8612=>{const _0x3e9d56=_0x40c678;this[_0x3e9d56(0x110)]=_0x4b8612,this[_0x3e9d56(0x11a)]=this[_0x3e9d56(0x11f)](this[_0x3e9d56(0x110)]);},'actionId':_0x3f6a8f})[_0x40c678(0x14c)](()=>{const _0x275396=_0x40c678;!this[_0x275396(0x11a)]&&this[_0x275396(0x110)]&&(this[_0x275396(0x11a)]=this[_0x275396(0x11f)](this[_0x275396(0x110)],!0x0));})[_0x40c678(0x14b)](_0x47100d=>{const _0x34fdac=_0x40c678;_0x47100d instanceof _0x1844c3?this[_0x34fdac(0x135)][_0x34fdac(0x14e)](_0x47100d[_0x34fdac(0x112)]):this[_0x34fdac(0x135)][_0x34fdac(0x14e)](),_0x3296f7();})[_0x40c678(0x16c)](()=>{const _0x49cc49=_0x40c678;this[_0x49cc49(0x16b)](),_0x3296f7();});});}[_0x38de57(0x11f)](_0x4c5cce,_0x430caf=!0x1){const _0x2fd141=_0x38de57,_0x2c937c=cs[_0x2fd141(0x12a)](_0x4c5cce);_0x4c5cce=_0x2c937c?_0x4c5cce[_0x2fd141(0x11b)](_0x2c937c[0x1][_0x2fd141(0x12d)]):_0x4c5cce[_0x2fd141(0x12d)]<0x64&&!_0x430caf?'':this[_0x2fd141(0x111)](_0x4c5cce);const _0x4ef5eb=this[_0x2fd141(0x156)][_0x2fd141(0x139)](_0x4c5cce,_0x2fd141(0x166));if(_0x2c937c){const _0x619065=Array[_0x2fd141(0x122)](_0x4ef5eb[_0x2fd141(0x124)][_0x2fd141(0x13a)]);_0x619065[_0x2fd141(0x127)]();for(const _0x581540 of _0x619065){if(_0x581540[_0x2fd141(0x155)]==Node[_0x2fd141(0x153)])break;_0x581540[_0x2fd141(0x170)]();}}const _0x10357d=this[_0x2fd141(0x16a)][_0x2fd141(0x119)][_0x2fd141(0x11c)][_0x2fd141(0x160)](this[_0x2fd141(0x15f)][_0x2fd141(0x114)](_0x4ef5eb[_0x2fd141(0x124)]));this[_0x2fd141(0x13b)]()||this[_0x2fd141(0x165)](_0x10357d);const _0x147cf6=this[_0x2fd141(0x16a)][_0x2fd141(0x148)][_0x2fd141(0x133)](_0x2fd141(0x12f)),_0x125329=this[_0x2fd141(0x16a)][_0x2fd141(0x119)][_0x2fd141(0x136)](_0x10357d);return _0x147cf6||_0x125329[_0x2fd141(0x149)][_0x2fd141(0x11e)](),this[_0x2fd141(0x16a)][_0x2fd141(0x119)][_0x2fd141(0x144)](_0x125329);}[_0x38de57(0x165)](_0x1611d0){const _0x1c3c34=_0x38de57,_0x227e8b=new _0x985ee1(this[_0x1c3c34(0x16a)][_0x1c3c34(0x123)][_0x1c3c34(0x135)][_0x1c3c34(0x150)]),_0x484447=new _0x16f284({'name':/^h[1-5]$/}),_0x1684b0=[];let _0x2d88a6=!0x1;for(const _0x4b48aa of _0x1611d0)_0x4b48aa['is'](_0x1c3c34(0x157))&&_0x484447[_0x1c3c34(0x128)](_0x4b48aa)&&(_0x1684b0[_0x1c3c34(0x120)](_0x4b48aa),'h1'==_0x4b48aa[_0x1c3c34(0x14a)]&&(_0x2d88a6=!0x0));if(_0x2d88a6){for(const _0x39d407 of _0x1684b0)_0x227e8b[_0x1c3c34(0x121)]('h'+(parseInt(_0x39d407[_0x1c3c34(0x14a)][0x1])+0x1),_0x39d407);}}[_0x38de57(0x13b)](){const _0x1839c2=_0x38de57,{data:_0x5c3bc7,editing:_0xdf8e8}=this[_0x1839c2(0x16a)],_0x38a652=_0x5c3bc7[_0x1839c2(0x142)][_0x1839c2(0x160)](_0x1839c2(0x154)),_0x119b68=_0x5c3bc7[_0x1839c2(0x160)](_0x5c3bc7[_0x1839c2(0x136)](_0x38a652));return!!_0xdf8e8[_0x1839c2(0x135)][_0x1839c2(0x140)][_0x1839c2(0x162)](_0x119b68)[_0x1839c2(0x116)]('h1');}[_0x38de57(0x147)](_0x487257){const _0x30bbb1=_0x38de57;return this[_0x30bbb1(0x16a)][_0x30bbb1(0x123)][_0x30bbb1(0x135)][_0x30bbb1(0x140)][_0x30bbb1(0x169)](this[_0x30bbb1(0x11d)],_0x487257),this[_0x30bbb1(0x11d)][_0x30bbb1(0x158)];}[_0x38de57(0x111)](_0x9d7b6f){const _0x196a16=_0x38de57,_0x596861=_0x9d7b6f[_0x196a16(0x15c)]();return _0x596861[_0x196a16(0x126)](_0x196a16(0x13c))?_0x596861[_0x196a16(0x146)](_0x196a16(0x10f))?_0x596861[_0x196a16(0x11b)](0x7,_0x596861[_0x196a16(0x12d)]-0x3):_0x596861[_0x196a16(0x11b)](0x7):_0x9d7b6f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5def(){const _0x855e69=['body','isProcessing','_createCopyButton','<span>]</span>','setContent','859194cczcjI','ck-hidden','scrollTo','value','isVisible','text/html','execCommand','setEndBefore','change:value','absolute','position','5059732uPwtrJ','364678BwCCuV','execute','remove','icon','class','firstElementChild','ck-ai-form__content-area','text/plain','ck-reset_all-excluded','querySelector','copyButtonView','setTemplate','bindTemplate','focus','ck-ai-form__loader','change:isProcessing','<span>[</span>','style','createRange','listenTo','element','appendLoader','clipboard','5duSuPI','locale','7319268ZLOrfj','getSelection','AI\x20is\x20writing...','7943117mfRZcb','_copyHTMLToClipboard','addRange','set','ck-ai-form__content-field','lastElementChild','div','6833724sQsKAV','mousedown','ClipboardItem','1UNUdfv','render','copy','smooth','removeAllRanges','ck-content','ck-ai-form__copy-button-wrapper','appendChild','innerHTML','write','ck-ai-form__content-area--processing','ck-ai-form__copy-button','scrollHeight','-9999px','bind','isEnabled','.ck-ai-form__loader','491080vcCPxc','left','createElement','Copy','_createLoader','wheel','\x20ck-ai-form__copy-button--copied','ck-ai-form__content-area-wrapper','loaderView','setStartAfter','contentFieldView','textContent'];_0x5def=function(){return _0x855e69;};return _0x5def();}const _0x2fec05=_0x4e55;(function(_0x46c533,_0x56970a){const _0x4a6a6a=_0x4e55,_0x26697a=_0x46c533();while(!![]){try{const _0x498c8a=parseInt(_0x4a6a6a(0x13f))/0x1*(parseInt(_0x4a6a6a(0x119))/0x2)+parseInt(_0x4a6a6a(0x10d))/0x3+-parseInt(_0x4a6a6a(0x118))/0x4+parseInt(_0x4a6a6a(0x130))/0x5*(parseInt(_0x4a6a6a(0x13c))/0x6)+parseInt(_0x4a6a6a(0x135))/0x7+parseInt(_0x4a6a6a(0x150))/0x8+-parseInt(_0x4a6a6a(0x132))/0x9;if(_0x498c8a===_0x56970a)break;else _0x26697a['push'](_0x26697a['shift']());}catch(_0x214dd6){_0x26697a['push'](_0x26697a['shift']());}}}(_0x5def,0xb1276));function _0x4e55(_0x5c78eb,_0x30e667){const _0x5def6b=_0x5def();return _0x4e55=function(_0x4e5531,_0x35b3b0){_0x4e5531=_0x4e5531-0xfe;let _0x4545f5=_0x5def6b[_0x4e5531];return _0x4545f5;},_0x4e55(_0x5c78eb,_0x30e667);}import{global as _0x4db825}from'ckeditor5/src/utils.js';import{View as _0x1ac020,ButtonView as _0x57790b,SpinnerView as _0x16676b}from'ckeditor5/src/ui.js';import{IconCheck as _0x7e0751,IconCopy as _0x39fbd7}from'ckeditor5/src/icons.js';import{getTranslation as _0x2b85d3}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x1ac020{[_0x2fec05(0x106)];[_0x2fec05(0x123)];constructor(_0x52d179,_0x303f73=''){const _0x257d8b=_0x2fec05;super(_0x52d179),this[_0x257d8b(0x138)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x14af02=this[_0x257d8b(0x125)];this[_0x257d8b(0x106)]=new ContentFieldView(_0x52d179,_0x303f73),this[_0x257d8b(0x123)]=this[_0x257d8b(0x10a)](),this[_0x257d8b(0x124)]({'tag':_0x257d8b(0x13b),'attributes':{'class':['ck',_0x257d8b(0x103),_0x14af02['if'](_0x257d8b(0x111),_0x257d8b(0x10e),_0xef95e7=>!_0xef95e7)],'tabindex':'-1'},'children':[{'tag':_0x257d8b(0x13b),'attributes':{'class':['ck',_0x257d8b(0x11f),_0x14af02['if'](_0x257d8b(0x109),_0x257d8b(0x149))]},'children':[this[_0x257d8b(0x106)],{'tag':_0x257d8b(0x13b),'attributes':{'class':['ck',_0x257d8b(0x145)]},'children':[this[_0x257d8b(0x123)]]}]}]});}[_0x2fec05(0x140)](){const _0x4cbf05=_0x2fec05;super[_0x4cbf05(0x140)](),this[_0x4cbf05(0x110)]&&this[_0x4cbf05(0x106)][_0x4cbf05(0x10c)](this[_0x4cbf05(0x110)]);let _0x45ab1e=!0x1;this['on'](_0x4cbf05(0x115),(_0x52acbe,_0x239288,_0x543e33)=>{const _0x518b54=_0x4cbf05,_0x33de4f=!this[_0x518b54(0x106)][_0x518b54(0x12d)][_0x518b54(0x122)](_0x518b54(0x14f));this[_0x518b54(0x106)][_0x518b54(0x10c)](_0x543e33),this[_0x518b54(0x109)]&&_0x33de4f&&!_0x45ab1e&&this[_0x518b54(0x12d)][_0x518b54(0x10f)]({'top':this[_0x518b54(0x12d)][_0x518b54(0x14b)],'behavior':_0x518b54(0x142)});}),this['on'](_0x4cbf05(0x128),(_0x57d929,_0x1461c4,_0x1f58c7)=>{const _0x1b150c=_0x4cbf05;_0x45ab1e=!0x1,_0x1f58c7?(this[_0x1b150c(0x110)]=null,this[_0x1b150c(0x106)][_0x1b150c(0x12e)]()):this[_0x1b150c(0x110)]||this[_0x1b150c(0x106)][_0x1b150c(0x10c)]('');}),this[_0x4cbf05(0x12c)](this[_0x4cbf05(0x12d)],_0x4cbf05(0x101),()=>{_0x45ab1e=!0x0;}),this[_0x4cbf05(0x12c)](this[_0x4cbf05(0x12d)],_0x4cbf05(0x13d),()=>{_0x45ab1e=!0x0;});}[_0x2fec05(0x126)](){const _0x35b418=_0x2fec05;this[_0x35b418(0x12d)][_0x35b418(0x126)]();}[_0x2fec05(0x10a)](){const _0x2cc75a=_0x2fec05,_0x10e5fe=this[_0x2cc75a(0x131)],_0x119bdf=new _0x57790b(this[_0x2cc75a(0x131)]),_0xbcecb8=_0x2cc75a(0x14a);return _0x119bdf[_0x2cc75a(0x138)]({'label':_0x2b85d3(_0x10e5fe,_0x2cc75a(0xff)),'icon':_0x39fbd7,'class':_0xbcecb8,'tooltip':!0x0}),_0x119bdf[_0x2cc75a(0x14d)](_0x2cc75a(0x111))['to'](this,_0x2cc75a(0x110),_0x86a21=>!!_0x86a21),_0x119bdf[_0x2cc75a(0x14d)](_0x2cc75a(0x14e))['to'](this,_0x2cc75a(0x109),_0x302236=>!_0x302236),_0x119bdf['on'](_0x2cc75a(0x11a),()=>{const _0x3d42f8=_0x2cc75a;this[_0x3d42f8(0x136)](this[_0x3d42f8(0x106)][_0x3d42f8(0x12d)]),_0x119bdf[_0x3d42f8(0x11c)]=_0x7e0751,_0x119bdf[_0x3d42f8(0x11d)]=_0xbcecb8+_0x3d42f8(0x102),this[_0x3d42f8(0x126)](),setTimeout(()=>{const _0x1b1bf4=_0x3d42f8;_0x119bdf[_0x1b1bf4(0x11c)]=_0x39fbd7,_0x119bdf[_0x1b1bf4(0x11d)]=_0xbcecb8;},0x3e8);}),_0x119bdf;}[_0x2fec05(0x136)](_0xda6f9d){const _0x295eeb=_0x2fec05,{window:_0x429848,document:_0x1c2fe5}=_0x4db825;if(_0x429848[_0x295eeb(0x13e)]){const {Blob:_0x178a21,ClipboardItem:_0x3b992d}=_0x429848,_0x1b0eb2=[new _0x3b992d({'text/html':new _0x178a21([_0xda6f9d[_0x295eeb(0x147)]],{'type':_0x295eeb(0x112)}),'text/plain':new _0x178a21([_0xda6f9d[_0x295eeb(0x107)]||''],{'type':_0x295eeb(0x120)})})];navigator[_0x295eeb(0x12f)][_0x295eeb(0x148)](_0x1b0eb2);}else{const _0x530768=_0x1c2fe5[_0x295eeb(0xfe)](_0x295eeb(0x13b));_0x530768[_0x295eeb(0x12a)][_0x295eeb(0x117)]=_0x295eeb(0x116),_0x530768[_0x295eeb(0x12a)][_0x295eeb(0x151)]=_0x295eeb(0x14c),_0x530768[_0x295eeb(0x147)]=_0x295eeb(0x129)+_0xda6f9d[_0x295eeb(0x147)]+_0x295eeb(0x10b),_0x1c2fe5[_0x295eeb(0x108)][_0x295eeb(0x146)](_0x530768);const _0x598143=_0x1c2fe5[_0x295eeb(0x12b)]();_0x598143[_0x295eeb(0x105)](_0x530768[_0x295eeb(0x11e)]),_0x598143[_0x295eeb(0x114)](_0x530768[_0x295eeb(0x13a)]);const _0x1b88a2=_0x429848[_0x295eeb(0x133)]();_0x1b88a2[_0x295eeb(0x143)](),_0x1b88a2[_0x295eeb(0x137)](_0x598143),_0x1c2fe5[_0x295eeb(0x113)](_0x295eeb(0x141)),_0x530768[_0x295eeb(0x11b)]();}}}export class ContentFieldView extends _0x1ac020{constructor(_0x434814,_0x3b6fc1=''){const _0x1ddecc=_0x2fec05;super(_0x434814),this[_0x1ddecc(0x104)]=this[_0x1ddecc(0x100)](),this[_0x1ddecc(0x124)]({'tag':_0x1ddecc(0x13b),'attributes':{'class':['ck',_0x1ddecc(0x144),_0x3b6fc1,_0x1ddecc(0x121),_0x1ddecc(0x139)]}});}[_0x2fec05(0x10c)](_0x169be0){const _0x4ef712=_0x2fec05;this[_0x4ef712(0x12d)][_0x4ef712(0x147)]=_0x169be0;}[_0x2fec05(0x12e)](){const _0x1913a6=_0x2fec05;this[_0x1913a6(0x12d)][_0x1913a6(0x146)](this[_0x1913a6(0x104)][_0x1913a6(0x12d)]);}[_0x2fec05(0x100)](){const _0x2cfa11=_0x2fec05,_0x2f8ab9=new _0x1ac020(),_0x5a812b=this[_0x2cfa11(0x131)],_0x364e45=new _0x16676b();return _0x364e45[_0x2cfa11(0x111)]=!0x0,_0x2f8ab9[_0x2cfa11(0x124)]({'tag':_0x2cfa11(0x13b),'attributes':{'class':['ck',_0x2cfa11(0x127)]},'children':[_0x364e45,{'text':_0x2b85d3(_0x5a812b,_0x2cfa11(0x134))}]}),_0x2f8ab9[_0x2cfa11(0x140)](),_0x2f8ab9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2fb99d,_0x1e1790){const _0x11382d=_0x33bb,_0x4710dc=_0x2fb99d();while(!![]){try{const _0x3f0785=-parseInt(_0x11382d(0x95))/0x1*(-parseInt(_0x11382d(0x98))/0x2)+-parseInt(_0x11382d(0x94))/0x3*(-parseInt(_0x11382d(0x96))/0x4)+-parseInt(_0x11382d(0x99))/0x5*(-parseInt(_0x11382d(0x8a))/0x6)+-parseInt(_0x11382d(0x8d))/0x7+-parseInt(_0x11382d(0x93))/0x8+parseInt(_0x11382d(0x8b))/0x9+parseInt(_0x11382d(0x89))/0xa*(-parseInt(_0x11382d(0x9a))/0xb);if(_0x3f0785===_0x1e1790)break;else _0x4710dc['push'](_0x4710dc['shift']());}catch(_0x40ff16){_0x4710dc['push'](_0x4710dc['shift']());}}}(_0x3c39,0x6ed08));function _0x33bb(_0x299025,_0x48e351){const _0x3c39f1=_0x3c39();return _0x33bb=function(_0x33bb83,_0x38772d){_0x33bb83=_0x33bb83-0x89;let _0x2a7c06=_0x3c39f1[_0x33bb83];return _0x2a7c06;},_0x33bb(_0x299025,_0x48e351);}function _0x3c39(){const _0x401c6f=['bindTemplate','564160tKReEw','3CnavKi','244276MrEokE','2686484VYccFr','div','4fOSNic','313895PLOmhh','44buCUnv','5195420fxOinS','66QWhbbf','6953337ABhwAm','text','145257xysauA','setTemplate','ck-ai-form__error','set','content'];_0x3c39=function(){return _0x401c6f;};return _0x3c39();}import{IconError as _0x27f0f0}from'ckeditor5/src/icons.js';import{View as _0x1c78e3,IconView as _0xde27c4}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x1c78e3{constructor(_0x1a5e24,_0x2a8f64=''){const _0x23377e=_0x33bb;super(_0x1a5e24);const _0x350b93=new _0xde27c4(),_0x300cd9=this[_0x23377e(0x92)];this[_0x23377e(0x90)](_0x23377e(0x8c),_0x2a8f64),_0x350b93[_0x23377e(0x91)]=_0x27f0f0,this[_0x23377e(0x8e)]({'tag':_0x23377e(0x97),'attributes':{'class':['ck',_0x23377e(0x8f)]},'children':[_0x350b93,{'text':_0x300cd9['to'](_0x23377e(0x8c))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45fc1c=_0x2554;(function(_0x1fc060,_0x3332e9){const _0x33a379=_0x2554,_0x7f51b2=_0x1fc060();while(!![]){try{const _0x19f7ea=-parseInt(_0x33a379(0x224))/0x1*(-parseInt(_0x33a379(0x20f))/0x2)+parseInt(_0x33a379(0x201))/0x3+-parseInt(_0x33a379(0x226))/0x4*(parseInt(_0x33a379(0x222))/0x5)+-parseInt(_0x33a379(0x206))/0x6+-parseInt(_0x33a379(0x1f2))/0x7+-parseInt(_0x33a379(0x21e))/0x8*(-parseInt(_0x33a379(0x1fe))/0x9)+-parseInt(_0x33a379(0x1fa))/0xa;if(_0x19f7ea===_0x3332e9)break;else _0x7f51b2['push'](_0x7f51b2['shift']());}catch(_0xf646f3){_0x7f51b2['push'](_0x7f51b2['shift']());}}}(_0x3f4a,0x45d84));import{Rect as _0x3710f1,global as _0x449daa,isVisible as _0x3a58a1}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x3488cc,IconSubmit as _0x35881d}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x124244,ButtonView as _0x2ad00c}from'ckeditor5/src/ui.js';function _0x2554(_0x360be1,_0x5bc480){const _0x3f4ae5=_0x3f4a();return _0x2554=function(_0x2554bd,_0x51cfe8){_0x2554bd=_0x2554bd-0x1ed;let _0xc16734=_0x3f4ae5[_0x2554bd];return _0xc16734;},_0x2554(_0x360be1,_0x5bc480);}function _0x3f4a(){const _0x4914b0=['fire','ck-ai-form__submit','resultsView','width','304dhcMul','enter','uiLanguageDirection','Submit','27970ZEtUaK','style','593YqzMYX','focusFirst','260NKXZJy','focus','minRows','isVisible','focusCycler','render','47712iXvUdv','window','target','isEnabled','queryView','showHistoryButtonView','fieldWrapperChildren','element','5026300UXWyWo','isEmpty','execute','excludeScrollbarsAndBorders','107703NTGmxQ','focusableChildren','submitButtonView','976377hPPzom','_createShowHistoryButton','isOn','add','right','313056CVbTld','History','focusLast','_createSubmitButton','submit','children','left','bind','ck-ai-form__toggle-history','1454zNsQzU','maxRows','set','fieldView','keystrokes','locale','rtl','requestAnimationFrame','filteredView','update','value'];_0x3f4a=function(){return _0x4914b0;};return _0x3f4a();}import{getTranslation as _0x537edb}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x124244{[_0x45fc1c(0x200)];[_0x45fc1c(0x1f7)];constructor(_0x5e14f6,_0x1d7a32){const _0x4b59e0=_0x45fc1c;super(_0x5e14f6,_0x1d7a32),this[_0x4b59e0(0x1f6)][_0x4b59e0(0x212)][_0x4b59e0(0x1ee)]=0x1,this[_0x4b59e0(0x1f6)][_0x4b59e0(0x212)][_0x4b59e0(0x210)]=0x3,this[_0x4b59e0(0x200)]=this[_0x4b59e0(0x209)](),this[_0x4b59e0(0x1f7)]=this[_0x4b59e0(0x202)](),this[_0x4b59e0(0x1ff)][_0x4b59e0(0x204)](this[_0x4b59e0(0x1f7)],0x1),this[_0x4b59e0(0x1ff)][_0x4b59e0(0x204)](this[_0x4b59e0(0x200)]);}[_0x45fc1c(0x1f1)](){const _0x15e230=_0x45fc1c;super[_0x15e230(0x1f1)](),this[_0x15e230(0x1f6)][_0x15e230(0x1f8)][_0x15e230(0x204)](this[_0x15e230(0x1f7)]),this[_0x15e230(0x20b)][_0x15e230(0x204)](this[_0x15e230(0x200)]),this[_0x15e230(0x213)][_0x15e230(0x211)](_0x15e230(0x21f),(_0x2938f9,_0x3ef16d)=>{const _0x333855=_0x15e230;_0x2938f9[_0x333855(0x1f4)]==this[_0x333855(0x1f6)][_0x333855(0x212)][_0x333855(0x1f9)]&&(this[_0x333855(0x20a)](),_0x3ef16d());});}[_0x45fc1c(0x209)](){const _0x29f3bc=_0x45fc1c,_0x4f595b=new _0x2ad00c(this[_0x29f3bc(0x214)]),_0xfb8643=this[_0x29f3bc(0x214)];return _0x4f595b[_0x29f3bc(0x211)]({'icon':_0x35881d,'label':_0x537edb(_0xfb8643,_0x29f3bc(0x221)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x29f3bc(0x21b)}),_0x4f595b['on'](_0x29f3bc(0x1fc),()=>{const _0x517a97=_0x29f3bc;this[_0x517a97(0x20a)]();}),_0x4f595b[_0x29f3bc(0x20d)](_0x29f3bc(0x1f5))['to'](this[_0x29f3bc(0x1f6)][_0x29f3bc(0x212)],_0x29f3bc(0x1fb),this,_0x29f3bc(0x1f5),(_0x41ac49,_0x3b0eb2)=>!_0x41ac49&&_0x3b0eb2),_0x4f595b;}[_0x45fc1c(0x202)](){const _0x172ac1=_0x45fc1c,_0x3c34f4=new _0x2ad00c(this[_0x172ac1(0x214)]),_0x56af34=this[_0x172ac1(0x21c)],_0x4d995e=this[_0x172ac1(0x214)];_0x3c34f4[_0x172ac1(0x211)]({'label':_0x537edb(_0x4d995e,_0x172ac1(0x207)),'withText':!0x1,'icon':_0x3488cc,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x172ac1(0x20e)}),_0x3c34f4[_0x172ac1(0x20d)](_0x172ac1(0x203))['to'](_0x56af34,_0x172ac1(0x1ef)),_0x3c34f4[_0x172ac1(0x20d)](_0x172ac1(0x1f5))['to'](this,_0x172ac1(0x1f5)),_0x3c34f4['on'](_0x172ac1(0x1fc),()=>{const _0x576526=_0x172ac1;_0x56af34[_0x576526(0x1ef)]=!_0x56af34[_0x576526(0x1ef)],_0x56af34[_0x576526(0x1ef)]?this[_0x576526(0x217)][_0x576526(0x1ed)]():this[_0x576526(0x1ed)]();});const _0x624975=()=>{const _0x178168=_0x172ac1;_0x449daa[_0x178168(0x1f3)][_0x178168(0x216)](()=>{const _0x27608b=_0x178168;if(_0x3a58a1(this[_0x27608b(0x1f9)])){const _0x1f8e91=new _0x3710f1(this[_0x27608b(0x1f6)][_0x27608b(0x212)][_0x27608b(0x1f9)]),_0x4beb2e=_0x1f8e91[_0x27608b(0x21d)],_0x4fad02=_0x27608b(0x215)===_0x4d995e[_0x27608b(0x220)]?_0x27608b(0x20c):_0x27608b(0x205);_0x1f8e91[_0x27608b(0x1fd)](),_0x3c34f4[_0x27608b(0x1f9)][_0x27608b(0x223)][_0x4fad02]=_0x4beb2e-_0x1f8e91[_0x27608b(0x21d)]+0x1+'px';}});};return this[_0x172ac1(0x1f6)][_0x172ac1(0x212)]['on'](_0x172ac1(0x218),_0x624975),this['on'](_0x172ac1(0x1f1),_0x624975),_0x3c34f4;}[_0x45fc1c(0x20a)](){const _0x56d7cb=_0x45fc1c,_0x1acdff=this[_0x56d7cb(0x1f6)][_0x56d7cb(0x212)][_0x56d7cb(0x1f9)][_0x56d7cb(0x219)];this[_0x56d7cb(0x21a)](_0x56d7cb(0x20a),_0x1acdff);}[_0x45fc1c(0x1ed)](_0x376a95){const _0x37bd8f=_0x45fc1c;-0x1===_0x376a95?this[_0x37bd8f(0x1f0)][_0x37bd8f(0x208)]():this[_0x37bd8f(0x1f0)][_0x37bd8f(0x225)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2be7(){const _0x1948c8=['set','405acVAQO','extendTemplate','994405ihFYEa','mainAction','tryAgainButton','1EFpFkT','6mxHIhw','ck-hidden','bindTemplate','ck-button-action','140GiBKBt','Stop','ck-ai-form__toolbar','1578367EtpOQa','locale','AI_','2925800ylESMY','addMany','REPLACE','_CONTENT','bind','1604wqsBNc','insert','Try\x20again','835285GeKEbq','602884QxJHlk','isVisible','insertButton','replaceButton','replace','_createButton','items','toUpperCase','Insert\x20below','stopButton','3374298aBzyZs','label'];_0x2be7=function(){return _0x1948c8;};return _0x2be7();}const _0x560bc8=_0x93d7;function _0x93d7(_0xff6c5f,_0x5b29a4){const _0x2be7b2=_0x2be7();return _0x93d7=function(_0x93d76c,_0x42da5f){_0x93d76c=_0x93d76c-0x150;let _0x20b324=_0x2be7b2[_0x93d76c];return _0x20b324;},_0x93d7(_0xff6c5f,_0x5b29a4);}(function(_0x4e19f5,_0x1e9dac){const _0xf6ef9f=_0x93d7,_0x20457b=_0x4e19f5();while(!![]){try{const _0x4c1fd9=parseInt(_0xf6ef9f(0x157))/0x1*(parseInt(_0xf6ef9f(0x16b))/0x2)+parseInt(_0xf6ef9f(0x152))/0x3*(parseInt(_0xf6ef9f(0x167))/0x4)+-parseInt(_0xf6ef9f(0x154))/0x5+-parseInt(_0xf6ef9f(0x158))/0x6*(parseInt(_0xf6ef9f(0x15f))/0x7)+-parseInt(_0xf6ef9f(0x162))/0x8+-parseInt(_0xf6ef9f(0x175))/0x9+parseInt(_0xf6ef9f(0x15c))/0xa*(parseInt(_0xf6ef9f(0x16a))/0xb);if(_0x4c1fd9===_0x1e9dac)break;else _0x20457b['push'](_0x20457b['shift']());}catch(_0xdfcf9b){_0x20457b['push'](_0x20457b['shift']());}}}(_0x2be7,0x3deda));import{ToolbarView as _0x464ec4,ButtonView as _0x223f95}from'ckeditor5/src/ui.js';import{getTranslation as _0xfd7d15}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x560bc8(0x16f),'INSERT':_0x560bc8(0x168)};export class AIFormToolbarView extends _0x464ec4{constructor(_0x2876eb){const _0x287084=_0x560bc8;super(_0x2876eb),this[_0x287084(0x151)](_0x287084(0x16c),!0x1),this[_0x287084(0x151)](_0x287084(0x155),AIFormToolbarViewMainActionLabel[_0x287084(0x164)]),this[_0x287084(0x16e)]=this[_0x287084(0x170)]('',_0x287084(0x15b)),this[_0x287084(0x16e)][_0x287084(0x166)](_0x287084(0x150))['to'](this,_0x287084(0x155),_0x392f8d=>_0xfd7d15(_0x2876eb,_0x287084(0x161)+_0x392f8d[_0x287084(0x172)]()+_0x287084(0x165))),this[_0x287084(0x16d)]=this[_0x287084(0x170)](_0xfd7d15(_0x2876eb,_0x287084(0x173))),this[_0x287084(0x156)]=this[_0x287084(0x170)](_0xfd7d15(_0x2876eb,_0x287084(0x169))),this[_0x287084(0x174)]=this[_0x287084(0x170)](_0xfd7d15(_0x2876eb,_0x287084(0x15d)));const _0x2ba102=this[_0x287084(0x15a)];this[_0x287084(0x153)]({'attributes':{'class':[_0x287084(0x15e),_0x2ba102['if'](_0x287084(0x16c),_0x287084(0x159),_0x71a0f9=>!_0x71a0f9)]}}),this[_0x287084(0x171)][_0x287084(0x163)]([this[_0x287084(0x16e)],this[_0x287084(0x16d)],this[_0x287084(0x156)],this[_0x287084(0x174)]]);}[_0x560bc8(0x170)](_0x4cd574,_0x218fe1){const _0x2125ba=_0x560bc8,_0x52228c=new _0x223f95(this[_0x2125ba(0x160)]);return _0x52228c[_0x2125ba(0x151)]({'label':_0x4cd574,'class':_0x218fe1||'','isVisible':!0x0,'withText':!0x0}),_0x52228c;}}
|