@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 47.2.0-alpha.4
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 +5 -5
- 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/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/form/prompthistory.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/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.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/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.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 +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.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/aimodels.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/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/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/aireviewcheckcustom.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/ui/aireviemodepromptinputview.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/aireviewmodefinishreviewbuttonview.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/aireviewmode/ui/form/aireviewmodeformmanager.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
|
-
function _0x20a5(){const _0x2a326e=['editing','_getDefaultInsertBelowPosition','162407FewnuM','init','isAtEnd','markers','getChild','15073353mCrGqa','ai-ui','getMarkersGroup','addMarker','_resetContentOfSelectedTableCells','getFirstRange','change','first','has','getLastMatchingPosition','114dZcyEB','plugins','ck-fake-ai-selection','insertContent','insertRows','text/html','getLastPosition','afterInit','_getAISelection','ai.assistant.useTheme','editingDowncast','hideFakeVisualSelection','showFakeVisualSelection','fromCharCode','869955BROtYl','getColumnIndexes','off','paste','selection','ck-ai-assistant-ui_theme','element','getRows','createRange','data','from','2768995FRmxTH','schema','end','isOfficialPlugin','createUIElement','4562cUNLeD','isCollapsed','insertContentBelow','pop','forEach','AIAssistantEditing','conversion','length','_prepareTableInsertBelowPosition','table','markerToHighlight','filter','updateMarker','get','6jPQCSR','_pasteHTMLUsingClipboard','config','start','editor','getRange','contentInsertion','setSelection','markerRange','getRowIndexes','createPositionAfter','ck-fake-ai-selection_collapsed','pluginName','DataTransfer','createPositionAt','_getTableRowCountFromContent','map','addClass','deleteContent','resultRange','removeMarker','setData','for','last','lowest','markerToElement','canEditAt','2047096zyNTPj','TableUtils','createSelection','10sADJqd','findAncestor','getRanges','href','isPremiumPlugin','span','parse','getSelectedTableCells','_createEmptyTableRows','once','isContent','push','getChildren','2016328CBJsou','join','document','getSelectedBlocks','model','fire'];_0x20a5=function(){return _0x2a326e;};return _0x20a5();}const _0xb5118a=_0x22b0;(function(_0x45f0fb,_0x25457b){const _0x196182=_0x22b0,_0x4c9b9f=_0x45f0fb();while(!![]){try{const _0x19d47a=parseInt(_0x196182(0x120))/0x1*(-parseInt(_0x196182(0x170))/0x2)+-parseInt(_0x196182(0x110))/0x3+-parseInt(_0x196182(0x159))/0x4+-parseInt(_0x196182(0x11b))/0x5+parseInt(_0x196182(0x12e))/0x6*(parseInt(_0x196182(0x161))/0x7)+parseInt(_0x196182(0x149))/0x8+parseInt(_0x196182(0x166))/0x9*(parseInt(_0x196182(0x14c))/0xa);if(_0x19d47a===_0x25457b)break;else _0x4c9b9f['push'](_0x4c9b9f['shift']());}catch(_0x3f0969){_0x4c9b9f['push'](_0x4c9b9f['shift']());}}}(_0x20a5,0x54795));import{uid as _0x4de190}from'ckeditor5/src/utils.js';import{Plugin as _0x36669a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2a1f9b}from'ckeditor5/src/clipboard.js';function _0x22b0(_0x7726c,_0x28c949){const _0x20a564=_0x20a5();return _0x22b0=function(_0x22b0fd,_0x405a12){_0x22b0fd=_0x22b0fd-0x10a;let _0x2c933e=_0x20a564[_0x22b0fd];return _0x2c933e;},_0x22b0(_0x7726c,_0x28c949);}import{ViewDocumentDomEventData as _0x148eb5,ViewDataTransfer as _0x3f5ba9}from'ckeditor5/src/engine.js';const J=globalThis[_0xb5118a(0x13b)],q=_0xb5118a(0x167);export class AIAssistantEditing extends _0x36669a{static get[_0xb5118a(0x13a)](){const _0x141404=_0xb5118a;return _0x141404(0x125);}static get[_0xb5118a(0x11e)](){return!0x0;}static get[_0xb5118a(0x150)](){return!0x0;}[_0xb5118a(0x162)](){const _0x3b3036=_0xb5118a,{editor:_0x24411b}=this,_0xb929fa=[_0x3b3036(0x172)];_0x24411b[_0x3b3036(0x130)][_0x3b3036(0x12d)](_0x3b3036(0x10b))&&_0xb929fa[_0x3b3036(0x157)](_0x3b3036(0x115)),_0x24411b[_0x3b3036(0x126)][_0x3b3036(0x144)](_0x3b3036(0x10c))[_0x3b3036(0x12a)]({'model':q,'view':{'classes':_0xb929fa,'priority':0xc}}),_0x24411b[_0x3b3036(0x126)][_0x3b3036(0x144)](_0x3b3036(0x10c))[_0x3b3036(0x147)]({'model':q,'view':(_0x7b348,{writer:_0x10aa95})=>{const _0x140dc6=_0x3b3036;if(!_0x7b348[_0x140dc6(0x136)][_0x140dc6(0x121)])return null;const _0x515cad=_0x10aa95[_0x140dc6(0x11f)](_0x140dc6(0x151));return _0x10aa95[_0x140dc6(0x13f)]([_0x140dc6(0x172),_0x140dc6(0x139)],_0x515cad),_0x515cad;}});}[_0xb5118a(0x177)](){!async function(_0x2153fa){const _0x28404f=_0x2fc2f1([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]),_0x4901b0=0x3dffc4e1,_0xbfea6b=0x3df8b339^_0x4901b0,_0x15722b=window[_0x2fc2f1([0x44,0x61,0x74,0x65])][_0x2fc2f1([0x6e,0x6f,0x77])](),_0x396621=_0x2153fa[_0x2fc2f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f456a=new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2343dd=>{_0x396621[_0x2fc2f1([0x6f,0x6e,0x63,0x65])](_0x2fc2f1([0x72,0x65,0x61,0x64,0x79]),_0x2343dd);}),_0x5c5920={[_0x2fc2f1([0x6b,0x74,0x79])]:_0x2fc2f1([0x45,0x43]),[_0x2fc2f1([0x75,0x73,0x65])]:_0x2fc2f1([0x73,0x69,0x67]),[_0x2fc2f1([0x63,0x72,0x76])]:_0x2fc2f1([0x50,0x2d,0x32,0x35,0x36]),[_0x2fc2f1([0x78])]:_0x2fc2f1([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]),[_0x2fc2f1([0x79])]:_0x2fc2f1([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]),[_0x2fc2f1([0x61,0x6c,0x67])]:_0x2fc2f1([0x45,0x53,0x32,0x35,0x36])},_0x40d04b=_0x396621[_0x2fc2f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fc2f1([0x67,0x65,0x74])](_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d82bf(){let _0x4abf9f,_0x3ce11c=null,_0x2ed424=null;try{if(_0x40d04b==_0x2fc2f1([0x47,0x50,0x4c]))return _0x2fc2f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4abf9f=_0x118ad1(),!_0x4abf9f)return _0x2fc2f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4abf9f[_0x2fc2f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ed424=_0x297ab5(_0x4abf9f[_0x2fc2f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4abf9f[_0x2fc2f1([0x6a,0x74,0x69])])),await _0x819495()?_0x692ef0()?_0x47cdc7()?_0x2fc2f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x91c583()?(_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fc2f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ce11c=_0x4295c7(_0x2fc2f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fc2f1([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ce11c=_0x4295c7(_0x2fc2f1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46f2d8()):_0x2fc2f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fc2f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fc2f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fc2f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47cdc7(){const _0x251acb=[_0x2fc2f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fc2f1([0x74,0x72,0x69,0x61,0x6c])][_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15722b/0x3e8:0xe10*_0xbfea6b;return _0x4abf9f[_0x2fc2f1([0x65,0x78,0x70])]<_0x251acb;}function _0x692ef0(){const _0x115e43=_0x4abf9f[_0x2fc2f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x115e43&&(!!_0x115e43[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc2f1([0x2a]))||!!_0x115e43[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc2f1([0x41,0x49])));}function _0x91c583(){const _0x2b88ca=_0x22b0,_0x2e6953=_0x4abf9f[_0x2fc2f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e6953||0x0==_0x2e6953[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9e8c52}=new URL(window[_0x2fc2f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b88ca(0x14f)]);if(_0x2e6953[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9e8c52))return!0x0;const _0x18006a=_0x9e8c52[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e]));return _0x2e6953[_0x2fc2f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c5f87=>_0x2c5f87[_0x2fc2f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fc2f1([0x2a])))[_0x2fc2f1([0x6d,0x61,0x70])](_0x531965=>_0x531965[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e])))[_0x2fc2f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d1998=>_0x5d1998[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18006a[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fc2f1([0x6d,0x61,0x70])](_0x5c7419=>Array(_0x18006a[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c7419[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fc2f1([0x66,0x69,0x6c,0x6c])](_0x5c7419[0x0]===_0x2fc2f1([0x2a])?_0x2fc2f1([0x2a]):'')[_0x2fc2f1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c7419))[_0x2fc2f1([0x73,0x6f,0x6d,0x65])](_0x2e422d=>_0x18006a[_0x2fc2f1([0x65,0x76,0x65,0x72,0x79])]((_0x209927,_0x22874f)=>_0x2e422d[_0x22874f]===_0x209927||_0x2e422d[_0x22874f]===_0x2fc2f1([0x2a])));}function _0x46f2d8(){return _0x3ce11c&&_0x2ed424?new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x362293,_0x18131a)=>{_0x3ce11c[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x362293,_0x18131a),_0x2ed424[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x1b9024=>{_0x1b9024!=_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64])&&_0x362293(_0x1b9024);},_0x18131a);}):_0x3ce11c||_0x2ed424||_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x297ab5(_0x2821b3,_0x3f7ba2){return new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17a8df=>{if(_0x53bf06())return _0x17a8df(_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64]));_0xb287a7(),_0x396621[_0x2fc2f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fc2f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ed976=!0x1;const _0x4bcd02=_0x4de190();function _0x416058(_0x24bcb9){return!!_0x24bcb9&&(typeof _0x24bcb9===_0x2fc2f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24bcb9===_0x2fc2f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24bcb9[_0x2fc2f1([0x74,0x68,0x65,0x6e])]===_0x2fc2f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24bcb9[_0x2fc2f1([0x63,0x61,0x74,0x63,0x68])]===_0x2fc2f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52c2c7(_0x535900){_0x2f23ee(_0x535900)[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x29cf99=>{if(!_0x29cf99||_0x29cf99[_0x2fc2f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fc2f1([0x6f,0x6b]))return _0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31f55e(_0x33e4e2(_0x4bcd02+_0x3f7ba2))!=_0x29cf99[_0x2fc2f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x2260ff=>(_0x1fd1c0(),_0x2260ff),()=>{const _0x30edf2=_0x5887b3();return null==_0x30edf2?(_0x1fd1c0(),_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64])):_0x2fc2f1(_0x15722b-_0x30edf2>(0x19f340e1^_0x4901b0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x17a8df)[_0x2fc2f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17a8df(_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29f0cb=0x3dc92a61^_0x4901b0;function _0x1fd1c0(){const _0x150149=_0x2fc2f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x31f55e(_0x33e4e2(_0x2821b3)),_0x3d870f=_0x1de110(_0x31f55e(window[_0x2fc2f1([0x4d,0x61,0x74,0x68])][_0x2fc2f1([0x63,0x65,0x69,0x6c])](_0x15722b/_0x29f0cb)));window[_0x2fc2f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fc2f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x150149,_0x3d870f);}function _0x5887b3(){const _0x2271d0=_0x2fc2f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x31f55e(_0x33e4e2(_0x2821b3)),_0x235c57=window[_0x2fc2f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fc2f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2271d0);return _0x235c57?window[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1de110(_0x235c57),0x10)*_0x29f0cb:null;}function _0x2f23ee(_0x14d7d1){return new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cb9c0,_0xb05a8b)=>{_0x14d7d1[_0x2fc2f1([0x74,0x68,0x65,0x6e])](_0x5cb9c0,_0xb05a8b),window[_0x2fc2f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb05a8b,0x3dfe1021^_0x4901b0);});}}_0x396621[_0x2fc2f1([0x6f,0x6e])](_0x2fc2f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f1f43,_0x2a40bd)=>{if(_0x2a40bd[0x0]!=_0x2821b3)return _0x17a8df(_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a40bd[0x1]={..._0x2a40bd[0x1],[_0x2fc2f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4bcd02};},{[_0x2fc2f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fc2f1([0x68,0x69,0x67,0x68])}),_0x396621[_0x2fc2f1([0x6f,0x6e])](_0x2fc2f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2387e2=>{_0x416058(_0x2387e2[_0x2fc2f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ed976=!0x0,_0x52c2c7(_0x2387e2[_0x2fc2f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fc2f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fc2f1([0x6c,0x6f,0x77])}),_0x1f456a[_0x2fc2f1([0x74,0x68,0x65,0x6e])](()=>{_0x2ed976||_0x17a8df(_0x2fc2f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53bf06(){return _0x396621[_0x2fc2f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fc2f1([0x76,0x69,0x65,0x77])][_0x2fc2f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fc2f1([0x61,0x75,0x74,0x6f]);}function _0xb287a7(){_0x396621[_0x2fc2f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fc2f1([0x76,0x69,0x65,0x77])][_0x2fc2f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fc2f1([0x61,0x75,0x74,0x6f]);}}function _0x4295c7(_0x5d941c){const _0xb051ae=[new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dd837=>setTimeout(_0x3dd837,0x3df6fa2d^_0x4901b0)),_0x1f456a[_0x2fc2f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xce765b=>{let _0x4f9df5=0x0;_0x396621[_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc2f1([0x6f,0x6e])](_0x2fc2f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d31f5,_0x48853c)=>{_0x48853c[0x0][_0x2fc2f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f9df5++,_0x4f9df5==(0x3dffc519^_0x4901b0)&&(_0xce765b(),_0x1d31f5[_0x2fc2f1([0x6f,0x66,0x66])]());});}))];return window[_0x2fc2f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fc2f1([0x72,0x61,0x63,0x65])](_0xb051ae)[_0x2fc2f1([0x74,0x68,0x65,0x6e])](()=>_0x5d941c);}async function _0x27b257(){await _0x1f456a,_0x396621[_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc2f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43428d,_0x396621[_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fc2f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43428d,_0x396621[_0x2fc2f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fc2f1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2db20b(_0x4e2309){const _0x423fe4=_0xbd47dd();_0x396621[_0x423fe4]=_0x2fc2f1([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e2309,_0x4e2309!=_0x2fc2f1([0x56,0x61,0x6c,0x69,0x64])&&_0x27b257();}function _0xbd47dd(){const _0x401997=window[_0x2fc2f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fc2f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fc2f1([0x6e,0x6f,0x77])]())[_0x2fc2f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fc2f1([0x2e]),'');let _0x98ab8f=_0x2fc2f1([0x6e]);for(let _0xf4b061=0x0;_0xf4b061<_0x401997[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf4b061+=0x2){let _0x2877e2=window[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x401997[_0x2fc2f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf4b061,_0xf4b061+0x2));_0x2877e2>=_0x28404f[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2877e2-=_0x28404f[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x98ab8f+=_0x28404f[_0x2877e2];}return _0x98ab8f;}function _0x118ad1(){const _0x31ec9d=_0x40d04b[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e]));if(0x3!=_0x31ec9d[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a873e(_0x31ec9d[0x1]);function _0x3a873e(_0x14a931){const _0x3cfeb8=_0x1a65e9(_0x14a931);return _0x3cfeb8&&_0x191324()?_0x3cfeb8:null;function _0x191324(){const _0x17dff5=_0x3cfeb8[_0x2fc2f1([0x6a,0x74,0x69])],_0x4c8361=window[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17dff5[_0x2fc2f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17dff5[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f6f78={..._0x3cfeb8,[_0x2fc2f1([0x6a,0x74,0x69])]:_0x17dff5[_0x2fc2f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17dff5[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f6f78[_0x2fc2f1([0x76,0x63])],_0x33e4e2(_0x1f6f78)==_0x4c8361;}}}async function _0x819495(){let _0xdc8233=!0x0;try{const _0x4aa886=_0x40d04b[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])](_0x2fc2f1([0x2e])),[_0x22a28b,_0x2d67e5,_0x2c648e]=_0x4aa886;return _0x2fb365(_0x22a28b),await _0x4be88f(_0x22a28b,_0x2d67e5,_0x2c648e),_0xdc8233;}catch{return!0x1;}function _0x2fb365(_0x2ba7a1){const _0x395652=_0x1a65e9(_0x2ba7a1);_0x395652&&_0x395652[_0x2fc2f1([0x61,0x6c,0x67])]==_0x2fc2f1([0x45,0x53,0x32,0x35,0x36])||(_0xdc8233=!0x1);}async function _0x4be88f(_0x58d37e,_0x3d094a,_0x1434c4){const _0x24070e=window[_0x2fc2f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fc2f1([0x66,0x72,0x6f,0x6d])](_0x595061(_0x1434c4),_0x59ce29=>_0x59ce29[_0x2fc2f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a44c9=new window[(_0x2fc2f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fc2f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58d37e+_0x2fc2f1([0x2e])+_0x3d094a),_0x3a3a8a=window[_0x2fc2f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fc2f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a3a8a)return;const _0x11ed8b=await _0x3a3a8a[_0x2fc2f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fc2f1([0x6a,0x77,0x6b]),_0x5c5920,{[_0x2fc2f1([0x6e,0x61,0x6d,0x65])]:_0x2fc2f1([0x45,0x43,0x44,0x53,0x41]),[_0x2fc2f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fc2f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fc2f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a3a8a[_0x2fc2f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fc2f1([0x6e,0x61,0x6d,0x65])]:_0x2fc2f1([0x45,0x43,0x44,0x53,0x41]),[_0x2fc2f1([0x68,0x61,0x73,0x68])]:{[_0x2fc2f1([0x6e,0x61,0x6d,0x65])]:_0x2fc2f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11ed8b,_0x24070e,_0x4a44c9)||(_0xdc8233=!0x1);}}function _0x1a65e9(_0x3c5ded){return _0x3c5ded[_0x2fc2f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fc2f1([0x65,0x79]))?JSON[_0x2fc2f1([0x70,0x61,0x72,0x73,0x65])](_0x595061(_0x3c5ded)):null;}function _0x595061(_0x425d35){return window[_0x2fc2f1([0x61,0x74,0x6f,0x62])](_0x425d35[_0x2fc2f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fc2f1([0x2b]))[_0x2fc2f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fc2f1([0x2f])));}function _0x33e4e2(_0x3c14a5){let _0x3a3d02=0x1505;function _0x43b8b9(_0x4ea6d8){for(let _0x5e1e95=0x0;_0x5e1e95<_0x4ea6d8[_0x2fc2f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1e95++){const _0x21ad88=_0x4ea6d8[_0x2fc2f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e1e95);_0x3a3d02=(_0x3a3d02<<0x5)+_0x3a3d02+_0x21ad88,_0x3a3d02&=_0x3a3d02;}}function _0x472673(_0x115e2){Array[_0x2fc2f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x115e2)?_0x115e2[_0x2fc2f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x472673):_0x115e2&&typeof _0x115e2==_0x2fc2f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fc2f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x115e2)[_0x2fc2f1([0x73,0x6f,0x72,0x74])]()[_0x2fc2f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37af04,_0x441e1b])=>{_0x43b8b9(_0x37af04),_0x472673(_0x441e1b);}):_0x43b8b9(window[_0x2fc2f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x115e2));}return _0x472673(_0x3c14a5),_0x3a3d02>>>0x0;}function _0x31f55e(_0x318c15){return _0x318c15[_0x2fc2f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fc2f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fc2f1([0x30]));}function _0x1de110(_0x220ce4){return _0x220ce4[_0x2fc2f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fc2f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fc2f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x43428d(){}function _0x2fc2f1(_0x2f0d8b){const _0x32291d=_0x22b0;return _0x2f0d8b[_0x32291d(0x13e)](_0x2ecc43=>String[_0x32291d(0x10f)](_0x2ecc43))[_0x32291d(0x15a)]('');}_0x2db20b(await _0x2d82bf());}(this);}[_0xb5118a(0x10e)](){const _0x8b82e7=_0xb5118a,_0x5ead74=this[_0x8b82e7(0x132)][_0x8b82e7(0x15d)];_0x5ead74[_0x8b82e7(0x16c)](_0x2767d6=>{const _0x3ba5e2=_0x8b82e7,_0x1110e7=_0x5ead74[_0x3ba5e2(0x15b)][_0x3ba5e2(0x114)][_0x3ba5e2(0x14e)]();let _0x21f805=0x0;for(const _0x315b27 of _0x1110e7){const _0x10f741=q+':'+_0x21f805;if(_0x5ead74[_0x3ba5e2(0x164)][_0x3ba5e2(0x16e)](_0x10f741))_0x2767d6[_0x3ba5e2(0x12c)](_0x10f741,{'range':_0x315b27});else{if(_0x315b27[_0x3ba5e2(0x131)][_0x3ba5e2(0x163)]){const _0xd5e260=_0x315b27[_0x3ba5e2(0x131)][_0x3ba5e2(0x16f)](({item:_0x5e1ff1})=>!_0x5ead74[_0x3ba5e2(0x11c)][_0x3ba5e2(0x156)](_0x5e1ff1),{'boundaries':_0x315b27});_0x2767d6[_0x3ba5e2(0x169)](_0x10f741,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2767d6[_0x3ba5e2(0x118)](_0xd5e260,_0x315b27[_0x3ba5e2(0x11d)])});}else _0x2767d6[_0x3ba5e2(0x169)](_0x10f741,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x315b27});}_0x21f805++;}});}[_0xb5118a(0x10d)](){const _0xb6e37=_0xb5118a,_0x55b593=this[_0xb6e37(0x132)][_0xb6e37(0x15d)],_0x5a02d0=Array[_0xb6e37(0x11a)](this[_0xb6e37(0x132)][_0xb6e37(0x15d)][_0xb6e37(0x164)][_0xb6e37(0x168)](q));_0x5a02d0[_0xb6e37(0x127)]&&_0x55b593[_0xb6e37(0x16c)](_0x44d963=>{const _0x2f9f9a=_0xb6e37;_0x5a02d0[_0x2f9f9a(0x124)](_0x216726=>{const _0x4f7d07=_0x2f9f9a;_0x44d963[_0x4f7d07(0x142)](_0x216726);});});}[_0xb5118a(0x173)](_0x5dd32f,_0x5492a2){const _0x5e7935=_0xb5118a,_0x555ce5=this[_0x5e7935(0x10a)](),_0x494822=_0x5492a2||_0x555ce5[_0x5e7935(0x16b)]();this[_0x5e7935(0x132)][_0x5e7935(0x15d)][_0x5e7935(0x148)](_0x494822)&&this[_0x5e7935(0x132)][_0x5e7935(0x15d)][_0x5e7935(0x16c)](_0x5abaa3=>{const _0x441ebb=_0x5e7935;this[_0x441ebb(0x10d)](),_0x5492a2||this[_0x441ebb(0x16a)](_0x5abaa3,_0x555ce5),this[_0x441ebb(0x12f)]({'insertAt':_0x494822,'writer':_0x5abaa3,'html':_0x5dd32f});});}[_0xb5118a(0x122)](_0x269d2c){const _0x205322=_0xb5118a,{model:_0x3d5dd7}=this[_0x205322(0x132)],_0x2fce49=this[_0x205322(0x10a)]();_0x3d5dd7[_0x205322(0x16c)](()=>{const _0x2f92c1=_0x205322,_0x2c01ea=this[_0x2f92c1(0x128)](_0x269d2c,_0x2fce49)||this[_0x2f92c1(0x160)](_0x2fce49);this[_0x2f92c1(0x173)](_0x269d2c,_0x2c01ea);});}[_0xb5118a(0x10a)](){const _0x28b3f4=_0xb5118a,_0x2c5ce2=this[_0x28b3f4(0x132)][_0x28b3f4(0x15d)],_0x57ea70=Array[_0x28b3f4(0x11a)](_0x2c5ce2[_0x28b3f4(0x164)][_0x28b3f4(0x168)](q))[_0x28b3f4(0x13e)](_0x58c2b9=>_0x58c2b9[_0x28b3f4(0x133)]());return _0x2c5ce2[_0x28b3f4(0x14b)](_0x57ea70);}[_0xb5118a(0x12f)]({writer:_0x5d6b8e,html:_0x26a7a6,insertAt:_0x1630ea}){const _0x166bdb=_0xb5118a,{view:_0x511863}=this[_0x166bdb(0x132)][_0x166bdb(0x15f)],_0x2e2cda=this[_0x166bdb(0x132)][_0x166bdb(0x171)][_0x166bdb(0x12d)](_0x2a1f9b),_0x390d8f=new J();_0x390d8f[_0x166bdb(0x143)](_0x166bdb(0x175),_0x26a7a6);const _0x3fe2bd=new ClipboardEvent(_0x166bdb(0x113),{'clipboardData':_0x390d8f}),_0x5ecb1d=new _0x148eb5(_0x511863,_0x3fe2bd,{'dataTransfer':new _0x3f5ba9(_0x390d8f)});_0x5d6b8e[_0x166bdb(0x135)](_0x1630ea);const _0x31d60a=(_0x1d6aea,_0x3233fb)=>{const _0x34a73e=_0x166bdb;_0x3233fb[_0x34a73e(0x141)]&&_0x5d6b8e[_0x34a73e(0x135)](_0x3233fb[_0x34a73e(0x141)]);};_0x2e2cda[_0x166bdb(0x155)](_0x166bdb(0x134),_0x31d60a,{'priority':_0x166bdb(0x146)}),_0x511863[_0x166bdb(0x15b)][_0x166bdb(0x15e)](_0x166bdb(0x113),_0x5ecb1d),_0x2e2cda[_0x166bdb(0x112)](_0x166bdb(0x134),_0x31d60a);}[_0xb5118a(0x160)](_0x29ebdc){const _0x39c155=_0xb5118a,{model:_0x128bea}=this[_0x39c155(0x132)],_0x47e826=Array[_0x39c155(0x11a)](_0x29ebdc[_0x39c155(0x15c)]());return _0x47e826[_0x39c155(0x127)]?_0x128bea[_0x39c155(0x138)](_0x47e826[_0x39c155(0x123)]()):_0x29ebdc[_0x39c155(0x176)]();}[_0xb5118a(0x128)](_0x3921e3,_0x2f9605){const _0x1b9d51=_0xb5118a,{model:_0x80f0bf,plugins:_0x49e0ac}=this[_0x1b9d51(0x132)];if(_0x49e0ac[_0x1b9d51(0x16e)](_0x1b9d51(0x14a))){const _0x5d8e78=_0x49e0ac[_0x1b9d51(0x12d)](_0x1b9d51(0x14a))[_0x1b9d51(0x153)](_0x2f9605);if(_0x5d8e78[_0x1b9d51(0x127)]){const _0x3a2238=this[_0x1b9d51(0x13d)](_0x3921e3),_0x205950=this[_0x1b9d51(0x154)](_0x5d8e78,_0x3a2238);return _0x80f0bf[_0x1b9d51(0x13c)](_0x205950,0x0);}}return null;}[_0xb5118a(0x13d)](_0x380684){const _0x1bde44=_0xb5118a,_0x36d57d=this[_0x1bde44(0x132)][_0x1bde44(0x171)][_0x1bde44(0x12d)](_0x1bde44(0x14a)),_0x23eb53=this[_0x1bde44(0x132)][_0x1bde44(0x119)][_0x1bde44(0x152)](_0x380684),_0x4f6353=Array[_0x1bde44(0x11a)](_0x23eb53[_0x1bde44(0x158)]())[_0x1bde44(0x12b)](_0x1d169c=>_0x1d169c['is'](_0x1bde44(0x116),_0x1bde44(0x129)));let _0xa7c584=0x0;return _0x4f6353[_0x1bde44(0x124)](_0x26afb7=>{const _0x29a678=_0x1bde44;_0xa7c584+=_0x36d57d[_0x29a678(0x117)](_0x26afb7);}),_0xa7c584;}[_0xb5118a(0x154)](_0xabfddd,_0x2bfbf4){const _0x5028cb=_0xb5118a,_0x9ec706=this[_0x5028cb(0x132)][_0x5028cb(0x171)][_0x5028cb(0x12d)](_0x5028cb(0x14a)),_0x427cc5=_0x9ec706[_0x5028cb(0x137)](_0xabfddd),_0x2e40ee=_0x9ec706[_0x5028cb(0x111)](_0xabfddd),_0x1164f9=_0x427cc5[_0x5028cb(0x145)]+0x1,_0xfda24=_0x2e40ee[_0x5028cb(0x16d)],_0x22b9f4=_0xabfddd[0x0][_0x5028cb(0x14d)](_0x5028cb(0x129));for(let _0x1dad03=0x0;_0x1dad03<_0x2bfbf4;_0x1dad03++)_0x9ec706[_0x5028cb(0x174)](_0x22b9f4,{'at':_0x1164f9});return _0x22b9f4[_0x5028cb(0x165)](_0x1164f9)[_0x5028cb(0x165)](_0xfda24);}[_0xb5118a(0x16a)](_0x4db917,_0x3c7902){const _0x3dbfad=_0xb5118a,{plugins:_0x3092de}=this[_0x3dbfad(0x132)],{model:_0x1e912a}=_0x4db917;if(!_0x3092de[_0x3dbfad(0x16e)](_0x3dbfad(0x14a)))return;_0x3092de[_0x3dbfad(0x12d)](_0x3dbfad(0x14a))[_0x3dbfad(0x153)](_0x3c7902)[_0x3dbfad(0x127)]&&_0x1e912a[_0x3dbfad(0x140)](_0x3c7902);}}
|
|
23
|
+
function _0x40c1(_0x10cc15,_0x341ecf){const _0x1d2d87=_0x1d2d();return _0x40c1=function(_0x40c105,_0x1eebc4){_0x40c105=_0x40c105-0x197;let _0x17ca4c=_0x1d2d87[_0x40c105];return _0x17ca4c;},_0x40c1(_0x10cc15,_0x341ecf);}const _0xf90718=_0x40c1;(function(_0x457cdd,_0x2f5dde){const _0x1cca1a=_0x40c1,_0x194ee1=_0x457cdd();while(!![]){try{const _0x4212eb=parseInt(_0x1cca1a(0x1c0))/0x1+parseInt(_0x1cca1a(0x1f3))/0x2+-parseInt(_0x1cca1a(0x202))/0x3*(parseInt(_0x1cca1a(0x1ed))/0x4)+-parseInt(_0x1cca1a(0x1b8))/0x5+-parseInt(_0x1cca1a(0x1fc))/0x6+parseInt(_0x1cca1a(0x1a3))/0x7+parseInt(_0x1cca1a(0x1a2))/0x8*(parseInt(_0x1cca1a(0x1cd))/0x9);if(_0x4212eb===_0x2f5dde)break;else _0x194ee1['push'](_0x194ee1['shift']());}catch(_0x81b746){_0x194ee1['push'](_0x194ee1['shift']());}}}(_0x1d2d,0x9c9db));import{uid as _0x46b583}from'ckeditor5/src/utils.js';function _0x1d2d(){const _0xb475d8=['getColumnIndexes','4PpyzmX','href','removeMarker','_pasteHTMLUsingClipboard','ai.assistant.useTheme','addClass','2307104XXRZBK','_getTableRowCountFromContent','afterInit','createPositionAt','paste','start','fire','ck-fake-ai-selection_collapsed','editor','4933782ECPBTv','off','change','getRanges','join','_getDefaultInsertBelowPosition','457035DRXvDq','schema','insertContentBelow','insertRows','DataTransfer','map','getLastPosition','ck-ai-assistant-ui_theme','editing','_createEmptyTableRows','selection','pluginName','end','1739960WuZhWP','1735552ZbGmSc','getSelectedTableCells','createSelection','setData','forEach','isPremiumPlugin','markerRange','resultRange','editingDowncast','getChildren','lowest','getRange','createUIElement','filter','first','plugins','length','model','element','TableUtils','getRowIndexes','2254775GemIpI','pop','getRows','findAncestor','fromCharCode','last','setSelection','document','448113cYcRjo','getChild','isCollapsed','isAtEnd','getLastMatchingPosition','contentInsertion','config','canEditAt','_prepareTableInsertBelowPosition','push','markers','addMarker','table','9IYpOjl','span','for','_getAISelection','AIAssistantEditing','ai-ui','createPositionAfter','getSelectedBlocks','isContent','markerToHighlight','get','_resetContentOfSelectedTableCells','init','getFirstRange','hideFakeVisualSelection','text/html','ck-fake-ai-selection','updateMarker','from','showFakeVisualSelection','data','markerToElement','getMarkersGroup','deleteContent','has','createRange','insertContent','once','parse','isOfficialPlugin','conversion'];_0x1d2d=function(){return _0xb475d8;};return _0x1d2d();}import{Plugin as _0x19d530}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x27f224}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x26e663,ViewDataTransfer as _0x5d96c3}from'ckeditor5/src/engine.js';const dt=globalThis[_0xf90718(0x199)],pt=_0xf90718(0x1d2);export class AIAssistantEditing extends _0x19d530{static get[_0xf90718(0x1a0)](){const _0x205459=_0xf90718;return _0x205459(0x1d1);}static get[_0xf90718(0x1ea)](){return!0x0;}static get[_0xf90718(0x1a8)](){return!0x0;}[_0xf90718(0x1d9)](){const _0x181175=_0xf90718,{editor:_0x4a7e0d}=this,_0x21198f=[_0x181175(0x1dd)];_0x4a7e0d[_0x181175(0x1c6)][_0x181175(0x1d7)](_0x181175(0x1f1))&&_0x21198f[_0x181175(0x1c9)](_0x181175(0x19c)),_0x4a7e0d[_0x181175(0x1eb)][_0x181175(0x1cf)](_0x181175(0x1ab))[_0x181175(0x1d6)]({'model':pt,'view':{'classes':_0x21198f,'priority':0xc}}),_0x4a7e0d[_0x181175(0x1eb)][_0x181175(0x1cf)](_0x181175(0x1ab))[_0x181175(0x1e2)]({'model':pt,'view':(_0x2aed9e,{writer:_0x5d40da})=>{const _0x4ff385=_0x181175;if(!_0x2aed9e[_0x4ff385(0x1a9)][_0x4ff385(0x1c2)])return null;const _0x1121d6=_0x5d40da[_0x4ff385(0x1af)](_0x4ff385(0x1ce));return _0x5d40da[_0x4ff385(0x1f2)]([_0x4ff385(0x1dd),_0x4ff385(0x1fa)],_0x1121d6),_0x1121d6;}});}[_0xf90718(0x1f5)](){!async function(_0x4ff03d){const _0x5b6485=_0x3bd442([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]),_0x25105b=0x3dffc4e1,_0x59ab80=0x3df8b311^_0x25105b,_0x2d93f9=window[_0x3bd442([0x44,0x61,0x74,0x65])][_0x3bd442([0x6e,0x6f,0x77])](),_0x199578=_0x4ff03d[_0x3bd442([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2dffc7=new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x327584=>{_0x199578[_0x3bd442([0x6f,0x6e,0x63,0x65])](_0x3bd442([0x72,0x65,0x61,0x64,0x79]),_0x327584);}),_0x59e8c2={[_0x3bd442([0x6b,0x74,0x79])]:_0x3bd442([0x45,0x43]),[_0x3bd442([0x75,0x73,0x65])]:_0x3bd442([0x73,0x69,0x67]),[_0x3bd442([0x63,0x72,0x76])]:_0x3bd442([0x50,0x2d,0x32,0x35,0x36]),[_0x3bd442([0x78])]:_0x3bd442([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]),[_0x3bd442([0x79])]:_0x3bd442([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]),[_0x3bd442([0x61,0x6c,0x67])]:_0x3bd442([0x45,0x53,0x32,0x35,0x36])},_0x2b3d77=_0x199578[_0x3bd442([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bd442([0x67,0x65,0x74])](_0x3bd442([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fe5b4(){let _0x355b01,_0x5c2e00=null,_0x130ad0=null;try{if(_0x2b3d77==_0x3bd442([0x47,0x50,0x4c]))return _0x3bd442([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x355b01=_0x479f4b(),!_0x355b01)return _0x3bd442([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x355b01[_0x3bd442([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x130ad0=_0x1f777a(_0x355b01[_0x3bd442([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x355b01[_0x3bd442([0x6a,0x74,0x69])])),await _0x351969()?_0x24aa6b()?_0xb0b102()?_0x3bd442([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d5180()?(_0x355b01[_0x3bd442([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bd442([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c2e00=_0x488432(_0x3bd442([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x355b01[_0x3bd442([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bd442([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c2e00=_0x488432(_0x3bd442([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x130373()):_0x3bd442([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bd442([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bd442([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bd442([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb0b102(){const _0x47aa8b=[_0x3bd442([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bd442([0x74,0x72,0x69,0x61,0x6c])][_0x3bd442([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355b01[_0x3bd442([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d93f9/0x3e8:0xe10*_0x59ab80;return _0x355b01[_0x3bd442([0x65,0x78,0x70])]<_0x47aa8b;}function _0x24aa6b(){const _0x5ee1b7=_0x355b01[_0x3bd442([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ee1b7&&(!!_0x5ee1b7[_0x3bd442([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd442([0x2a]))||!!_0x5ee1b7[_0x3bd442([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd442([0x41,0x49])));}function _0x4d5180(){const _0x5add3f=_0x40c1,_0x21266a=_0x355b01[_0x3bd442([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21266a||0x0==_0x21266a[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x378f85}=new URL(window[_0x3bd442([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5add3f(0x1ee)]);if(_0x21266a[_0x3bd442([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378f85))return!0x0;const _0x4ff0c6=_0x378f85[_0x3bd442([0x73,0x70,0x6c,0x69,0x74])](_0x3bd442([0x2e]));return _0x21266a[_0x3bd442([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4330e0=>_0x4330e0[_0x3bd442([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd442([0x2a])))[_0x3bd442([0x6d,0x61,0x70])](_0xf341a5=>_0xf341a5[_0x3bd442([0x73,0x70,0x6c,0x69,0x74])](_0x3bd442([0x2e])))[_0x3bd442([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a7ffe=>_0x5a7ffe[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4ff0c6[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bd442([0x6d,0x61,0x70])](_0xba1d71=>Array(_0x4ff0c6[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xba1d71[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bd442([0x66,0x69,0x6c,0x6c])](_0xba1d71[0x0]===_0x3bd442([0x2a])?_0x3bd442([0x2a]):'')[_0x3bd442([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xba1d71))[_0x3bd442([0x73,0x6f,0x6d,0x65])](_0x1cd493=>_0x4ff0c6[_0x3bd442([0x65,0x76,0x65,0x72,0x79])]((_0x1a31be,_0x5c6986)=>_0x1cd493[_0x5c6986]===_0x1a31be||_0x1cd493[_0x5c6986]===_0x3bd442([0x2a])));}function _0x130373(){return _0x5c2e00&&_0x130ad0?new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21c3d1,_0x2d8cdc)=>{_0x5c2e00[_0x3bd442([0x74,0x68,0x65,0x6e])](_0x21c3d1,_0x2d8cdc),_0x130ad0[_0x3bd442([0x74,0x68,0x65,0x6e])](_0xe9c6d9=>{_0xe9c6d9!=_0x3bd442([0x56,0x61,0x6c,0x69,0x64])&&_0x21c3d1(_0xe9c6d9);},_0x2d8cdc);}):_0x5c2e00||_0x130ad0||_0x3bd442([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f777a(_0x3ec1b8,_0x328966){return new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fbf56=>{if(_0xcd0de())return _0x3fbf56(_0x3bd442([0x56,0x61,0x6c,0x69,0x64]));_0x496207(),_0x199578[_0x3bd442([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bd442([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36513f=!0x1;const _0x2cd210=_0x46b583();function _0x4f7a86(_0x5d21f0){return!!_0x5d21f0&&(typeof _0x5d21f0===_0x3bd442([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d21f0===_0x3bd442([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d21f0[_0x3bd442([0x74,0x68,0x65,0x6e])]===_0x3bd442([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d21f0[_0x3bd442([0x63,0x61,0x74,0x63,0x68])]===_0x3bd442([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f0867(_0x1a4776){_0x251d7a(_0x1a4776)[_0x3bd442([0x74,0x68,0x65,0x6e])](_0x44baa9=>{if(!_0x44baa9||_0x44baa9[_0x3bd442([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bd442([0x6f,0x6b]))return _0x3bd442([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d65c9(_0x255255(_0x2cd210+_0x328966))!=_0x44baa9[_0x3bd442([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bd442([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bd442([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bd442([0x74,0x68,0x65,0x6e])](_0x3c0c86=>(_0x19e6ab(),_0x3c0c86),()=>{const _0x5d3b74=_0x1112d1();return null==_0x5d3b74?(_0x19e6ab(),_0x3bd442([0x56,0x61,0x6c,0x69,0x64])):_0x3bd442(_0x2d93f9-_0x5d3b74>(0x19f340e1^_0x25105b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bd442([0x74,0x68,0x65,0x6e])](_0x3fbf56)[_0x3bd442([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fbf56(_0x3bd442([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15094f=0x3dc92a61^_0x25105b;function _0x19e6ab(){const _0x36711a=_0x3bd442([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d65c9(_0x255255(_0x3ec1b8)),_0xf7b7fd=_0x58d903(_0x3d65c9(window[_0x3bd442([0x4d,0x61,0x74,0x68])][_0x3bd442([0x63,0x65,0x69,0x6c])](_0x2d93f9/_0x15094f)));window[_0x3bd442([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bd442([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36711a,_0xf7b7fd);}function _0x1112d1(){const _0x126309=_0x3bd442([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d65c9(_0x255255(_0x3ec1b8)),_0x3c03b2=window[_0x3bd442([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bd442([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x126309);return _0x3c03b2?window[_0x3bd442([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58d903(_0x3c03b2),0x10)*_0x15094f:null;}function _0x251d7a(_0x442111){return new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ef3a0,_0x1482ff)=>{_0x442111[_0x3bd442([0x74,0x68,0x65,0x6e])](_0x1ef3a0,_0x1482ff),window[_0x3bd442([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1482ff,0x3dfe1021^_0x25105b);});}}_0x199578[_0x3bd442([0x6f,0x6e])](_0x3bd442([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52820a,_0x32a399)=>{if(_0x32a399[0x0]!=_0x3ec1b8)return _0x3fbf56(_0x3bd442([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x32a399[0x1]={..._0x32a399[0x1],[_0x3bd442([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cd210};},{[_0x3bd442([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bd442([0x68,0x69,0x67,0x68])}),_0x199578[_0x3bd442([0x6f,0x6e])](_0x3bd442([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x82dc6c=>{_0x4f7a86(_0x82dc6c[_0x3bd442([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36513f=!0x0,_0x5f0867(_0x82dc6c[_0x3bd442([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bd442([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bd442([0x6c,0x6f,0x77])}),_0x2dffc7[_0x3bd442([0x74,0x68,0x65,0x6e])](()=>{_0x36513f||_0x3fbf56(_0x3bd442([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xcd0de(){return _0x199578[_0x3bd442([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bd442([0x76,0x69,0x65,0x77])][_0x3bd442([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bd442([0x61,0x75,0x74,0x6f]);}function _0x496207(){_0x199578[_0x3bd442([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bd442([0x76,0x69,0x65,0x77])][_0x3bd442([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bd442([0x61,0x75,0x74,0x6f]);}}function _0x488432(_0x2799b0){const _0x325ca1=[new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369032=>setTimeout(_0x369032,0x3df6fa2d^_0x25105b)),_0x2dffc7[_0x3bd442([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27e137=>{let _0x2a4eed=0x0;_0x199578[_0x3bd442([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd442([0x6f,0x6e])](_0x3bd442([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1facde,_0x4550eb)=>{_0x4550eb[0x0][_0x3bd442([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a4eed++,_0x2a4eed==(0x3dffc519^_0x25105b)&&(_0x27e137(),_0x1facde[_0x3bd442([0x6f,0x66,0x66])]());});}))];return window[_0x3bd442([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bd442([0x72,0x61,0x63,0x65])](_0x325ca1)[_0x3bd442([0x74,0x68,0x65,0x6e])](()=>_0x2799b0);}async function _0x1dd186(){await _0x2dffc7,_0x199578[_0x3bd442([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd442([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3564dd,_0x199578[_0x3bd442([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd442([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3564dd,_0x199578[_0x3bd442([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bd442([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x598934(_0x2a9c36){const _0x41d850=_0x376826();_0x199578[_0x41d850]=_0x3bd442([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a9c36,_0x2a9c36!=_0x3bd442([0x56,0x61,0x6c,0x69,0x64])&&_0x1dd186();}function _0x376826(){const _0x20d3b8=window[_0x3bd442([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bd442([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bd442([0x6e,0x6f,0x77])]())[_0x3bd442([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bd442([0x2e]),'');let _0x1869c3=_0x3bd442([0x6e]);for(let _0x220304=0x0;_0x220304<_0x20d3b8[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x220304+=0x2){let _0x29e53b=window[_0x3bd442([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20d3b8[_0x3bd442([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x220304,_0x220304+0x2));_0x29e53b>=_0x5b6485[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29e53b-=_0x5b6485[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1869c3+=_0x5b6485[_0x29e53b];}return _0x1869c3;}function _0x479f4b(){const _0x176620=_0x2b3d77[_0x3bd442([0x73,0x70,0x6c,0x69,0x74])](_0x3bd442([0x2e]));if(0x3!=_0x176620[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59416e(_0x176620[0x1]);function _0x59416e(_0x4b4cd7){const _0x454fc9=_0x34f408(_0x4b4cd7);return _0x454fc9&&_0x3790da()?_0x454fc9:null;function _0x3790da(){const _0x36366a=_0x454fc9[_0x3bd442([0x6a,0x74,0x69])],_0x3fa7c9=window[_0x3bd442([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36366a[_0x3bd442([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36366a[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44336f={..._0x454fc9,[_0x3bd442([0x6a,0x74,0x69])]:_0x36366a[_0x3bd442([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x36366a[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44336f[_0x3bd442([0x76,0x63])],_0x255255(_0x44336f)==_0x3fa7c9;}}}async function _0x351969(){let _0x58152a=!0x0;try{const _0x55b5a3=_0x2b3d77[_0x3bd442([0x73,0x70,0x6c,0x69,0x74])](_0x3bd442([0x2e])),[_0x501049,_0x53236b,_0x3c8743]=_0x55b5a3;return _0xfb9be4(_0x501049),await _0x5d7fb1(_0x501049,_0x53236b,_0x3c8743),_0x58152a;}catch{return!0x1;}function _0xfb9be4(_0x591e17){const _0x542524=_0x34f408(_0x591e17);_0x542524&&_0x542524[_0x3bd442([0x61,0x6c,0x67])]==_0x3bd442([0x45,0x53,0x32,0x35,0x36])||(_0x58152a=!0x1);}async function _0x5d7fb1(_0x17c6f9,_0x13e2e1,_0x4dadcb){const _0xc404c0=window[_0x3bd442([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bd442([0x66,0x72,0x6f,0x6d])](_0x32946a(_0x4dadcb),_0x8f4b=>_0x8f4b[_0x3bd442([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53f5b9=new window[(_0x3bd442([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bd442([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17c6f9+_0x3bd442([0x2e])+_0x13e2e1),_0xfa005e=window[_0x3bd442([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bd442([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xfa005e)return;const _0xf1757e=await _0xfa005e[_0x3bd442([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bd442([0x6a,0x77,0x6b]),_0x59e8c2,{[_0x3bd442([0x6e,0x61,0x6d,0x65])]:_0x3bd442([0x45,0x43,0x44,0x53,0x41]),[_0x3bd442([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bd442([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bd442([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xfa005e[_0x3bd442([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bd442([0x6e,0x61,0x6d,0x65])]:_0x3bd442([0x45,0x43,0x44,0x53,0x41]),[_0x3bd442([0x68,0x61,0x73,0x68])]:{[_0x3bd442([0x6e,0x61,0x6d,0x65])]:_0x3bd442([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf1757e,_0xc404c0,_0x53f5b9)||(_0x58152a=!0x1);}}function _0x34f408(_0x3a223f){return _0x3a223f[_0x3bd442([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bd442([0x65,0x79]))?JSON[_0x3bd442([0x70,0x61,0x72,0x73,0x65])](_0x32946a(_0x3a223f)):null;}function _0x32946a(_0x2efd22){return window[_0x3bd442([0x61,0x74,0x6f,0x62])](_0x2efd22[_0x3bd442([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bd442([0x2b]))[_0x3bd442([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bd442([0x2f])));}function _0x255255(_0x5ce31d){let _0xca182a=0x1505;function _0x3a34b7(_0x186ef2){for(let _0x3cef3a=0x0;_0x3cef3a<_0x186ef2[_0x3bd442([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cef3a++){const _0x1f2b30=_0x186ef2[_0x3bd442([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3cef3a);_0xca182a=(_0xca182a<<0x5)+_0xca182a+_0x1f2b30,_0xca182a&=_0xca182a;}}function _0x169742(_0x2cc5cf){Array[_0x3bd442([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2cc5cf)?_0x2cc5cf[_0x3bd442([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x169742):_0x2cc5cf&&typeof _0x2cc5cf==_0x3bd442([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bd442([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2cc5cf)[_0x3bd442([0x73,0x6f,0x72,0x74])]()[_0x3bd442([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2cf675,_0x7fc0b2])=>{_0x3a34b7(_0x2cf675),_0x169742(_0x7fc0b2);}):_0x3a34b7(window[_0x3bd442([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2cc5cf));}return _0x169742(_0x5ce31d),_0xca182a>>>0x0;}function _0x3d65c9(_0x3746f9){return _0x3746f9[_0x3bd442([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bd442([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bd442([0x30]));}function _0x58d903(_0x232d90){return _0x232d90[_0x3bd442([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bd442([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bd442([0x6a,0x6f,0x69,0x6e])]('');}function _0x3564dd(){}function _0x3bd442(_0x5acbaf){const _0x40aadb=_0x40c1;return _0x5acbaf[_0x40aadb(0x19a)](_0x2e0f7b=>String[_0x40aadb(0x1bc)](_0x2e0f7b))[_0x40aadb(0x200)]('');}_0x598934(await _0x3fe5b4());}(this);}[_0xf90718(0x1e0)](){const _0x3dedb0=_0xf90718,_0x340123=this[_0x3dedb0(0x1fb)][_0x3dedb0(0x1b4)];_0x340123[_0x3dedb0(0x1fe)](_0x49adc7=>{const _0x3e1a3d=_0x3dedb0,_0x361a92=_0x340123[_0x3e1a3d(0x1bf)][_0x3e1a3d(0x19f)][_0x3e1a3d(0x1ff)]();let _0xc2ac8d=0x0;for(const _0x1470b6 of _0x361a92){const _0x32f3bf=pt+':'+_0xc2ac8d;if(_0x340123[_0x3e1a3d(0x1ca)][_0x3e1a3d(0x1e5)](_0x32f3bf))_0x49adc7[_0x3e1a3d(0x1de)](_0x32f3bf,{'range':_0x1470b6});else{if(_0x1470b6[_0x3e1a3d(0x1f8)][_0x3e1a3d(0x1c3)]){const _0x1b4756=_0x1470b6[_0x3e1a3d(0x1f8)][_0x3e1a3d(0x1c4)](({item:_0x6b99e7})=>!_0x340123[_0x3e1a3d(0x203)][_0x3e1a3d(0x1d5)](_0x6b99e7),{'boundaries':_0x1470b6});_0x49adc7[_0x3e1a3d(0x1cb)](_0x32f3bf,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x49adc7[_0x3e1a3d(0x1e6)](_0x1b4756,_0x1470b6[_0x3e1a3d(0x1a1)])});}else _0x49adc7[_0x3e1a3d(0x1cb)](_0x32f3bf,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1470b6});}_0xc2ac8d++;}});}[_0xf90718(0x1db)](){const _0xdc6e44=_0xf90718,_0x453148=this[_0xdc6e44(0x1fb)][_0xdc6e44(0x1b4)],_0x8a8a34=Array[_0xdc6e44(0x1df)](this[_0xdc6e44(0x1fb)][_0xdc6e44(0x1b4)][_0xdc6e44(0x1ca)][_0xdc6e44(0x1e3)](pt));_0x8a8a34[_0xdc6e44(0x1b3)]&&_0x453148[_0xdc6e44(0x1fe)](_0x108d0b=>{const _0x4e4a61=_0xdc6e44;_0x8a8a34[_0x4e4a61(0x1a7)](_0x145245=>{const _0x34bb56=_0x4e4a61;_0x108d0b[_0x34bb56(0x1ef)](_0x145245);});});}[_0xf90718(0x1e7)](_0x16ef12,_0x21dba4){const _0x35964a=_0xf90718,_0x584170=this[_0x35964a(0x1d0)](),_0xdf25d0=_0x21dba4||_0x584170[_0x35964a(0x1da)]();this[_0x35964a(0x1fb)][_0x35964a(0x1b4)][_0x35964a(0x1c7)](_0xdf25d0)&&this[_0x35964a(0x1fb)][_0x35964a(0x1b4)][_0x35964a(0x1fe)](_0x2700b7=>{const _0x83a606=_0x35964a;this[_0x83a606(0x1db)](),_0x21dba4||this[_0x83a606(0x1d8)](_0x2700b7,_0x584170),this[_0x83a606(0x1f0)]({'insertAt':_0xdf25d0,'writer':_0x2700b7,'html':_0x16ef12});});}[_0xf90718(0x197)](_0x1afe18){const _0x2a587f=_0xf90718,{model:_0x476eee}=this[_0x2a587f(0x1fb)],_0xcc0481=this[_0x2a587f(0x1d0)]();_0x476eee[_0x2a587f(0x1fe)](()=>{const _0x202792=_0x2a587f,_0x1cdcaa=this[_0x202792(0x1c8)](_0x1afe18,_0xcc0481)||this[_0x202792(0x201)](_0xcc0481);this[_0x202792(0x1e7)](_0x1afe18,_0x1cdcaa);});}[_0xf90718(0x1d0)](){const _0x4e14e6=_0xf90718,_0x1c8f22=this[_0x4e14e6(0x1fb)][_0x4e14e6(0x1b4)],_0x242345=Array[_0x4e14e6(0x1df)](_0x1c8f22[_0x4e14e6(0x1ca)][_0x4e14e6(0x1e3)](pt))[_0x4e14e6(0x19a)](_0x4ff008=>_0x4ff008[_0x4e14e6(0x1ae)]());return _0x1c8f22[_0x4e14e6(0x1a5)](_0x242345);}[_0xf90718(0x1f0)]({writer:_0xb07e86,html:_0xcefc74,insertAt:_0x45362d}){const _0x43f0b2=_0xf90718,{view:_0x54ec84}=this[_0x43f0b2(0x1fb)][_0x43f0b2(0x19d)],_0x1b878d=this[_0x43f0b2(0x1fb)][_0x43f0b2(0x1b2)][_0x43f0b2(0x1d7)](_0x27f224),_0x5703bd=new dt();_0x5703bd[_0x43f0b2(0x1a6)](_0x43f0b2(0x1dc),_0xcefc74);const _0x33a93b=new ClipboardEvent(_0x43f0b2(0x1f7),{'clipboardData':_0x5703bd}),_0x5667d3=new _0x26e663(_0x54ec84,_0x33a93b,{'dataTransfer':new _0x5d96c3(_0x5703bd)});_0xb07e86[_0x43f0b2(0x1be)](_0x45362d);const _0x2aec71=(_0x4aec76,_0x19a828)=>{const _0x52954=_0x43f0b2;_0x19a828[_0x52954(0x1aa)]&&_0xb07e86[_0x52954(0x1be)](_0x19a828[_0x52954(0x1aa)]);};_0x1b878d[_0x43f0b2(0x1e8)](_0x43f0b2(0x1c5),_0x2aec71,{'priority':_0x43f0b2(0x1ad)}),_0x54ec84[_0x43f0b2(0x1bf)][_0x43f0b2(0x1f9)](_0x43f0b2(0x1f7),_0x5667d3),_0x1b878d[_0x43f0b2(0x1fd)](_0x43f0b2(0x1c5),_0x2aec71);}[_0xf90718(0x201)](_0x368316){const _0x18f4c2=_0xf90718,{model:_0x290a57}=this[_0x18f4c2(0x1fb)],_0x40584f=Array[_0x18f4c2(0x1df)](_0x368316[_0x18f4c2(0x1d4)]());return _0x40584f[_0x18f4c2(0x1b3)]?_0x290a57[_0x18f4c2(0x1d3)](_0x40584f[_0x18f4c2(0x1b9)]()):_0x368316[_0x18f4c2(0x19b)]();}[_0xf90718(0x1c8)](_0x1bd3fa,_0x5d190f){const _0x393b92=_0xf90718,{model:_0x2fea64,plugins:_0xe3f84d}=this[_0x393b92(0x1fb)];if(_0xe3f84d[_0x393b92(0x1e5)](_0x393b92(0x1b6))){const _0x76b0d9=_0xe3f84d[_0x393b92(0x1d7)](_0x393b92(0x1b6))[_0x393b92(0x1a4)](_0x5d190f);if(_0x76b0d9[_0x393b92(0x1b3)]){const _0x3df1ba=this[_0x393b92(0x1f4)](_0x1bd3fa),_0x21655a=this[_0x393b92(0x19e)](_0x76b0d9,_0x3df1ba);return _0x2fea64[_0x393b92(0x1f6)](_0x21655a,0x0);}}return null;}[_0xf90718(0x1f4)](_0x42b55f){const _0x2a55e5=_0xf90718,_0x55d87a=this[_0x2a55e5(0x1fb)][_0x2a55e5(0x1b2)][_0x2a55e5(0x1d7)](_0x2a55e5(0x1b6)),_0x213b1b=this[_0x2a55e5(0x1fb)][_0x2a55e5(0x1e1)][_0x2a55e5(0x1e9)](_0x42b55f),_0x1689de=Array[_0x2a55e5(0x1df)](_0x213b1b[_0x2a55e5(0x1ac)]())[_0x2a55e5(0x1b0)](_0x120a5d=>_0x120a5d['is'](_0x2a55e5(0x1b5),_0x2a55e5(0x1cc)));let _0x2458a3=0x0;return _0x1689de[_0x2a55e5(0x1a7)](_0xce8ce1=>{const _0x33affc=_0x2a55e5;_0x2458a3+=_0x55d87a[_0x33affc(0x1ba)](_0xce8ce1);}),_0x2458a3;}[_0xf90718(0x19e)](_0x197a67,_0x40ede2){const _0x2ff5c0=_0xf90718,_0x5644d2=this[_0x2ff5c0(0x1fb)][_0x2ff5c0(0x1b2)][_0x2ff5c0(0x1d7)](_0x2ff5c0(0x1b6)),_0x39abe2=_0x5644d2[_0x2ff5c0(0x1b7)](_0x197a67),_0x57901a=_0x5644d2[_0x2ff5c0(0x1ec)](_0x197a67),_0x1cd36c=_0x39abe2[_0x2ff5c0(0x1bd)]+0x1,_0x55c723=_0x57901a[_0x2ff5c0(0x1b1)],_0x391eb0=_0x197a67[0x0][_0x2ff5c0(0x1bb)](_0x2ff5c0(0x1cc));for(let _0x2abef0=0x0;_0x2abef0<_0x40ede2;_0x2abef0++)_0x5644d2[_0x2ff5c0(0x198)](_0x391eb0,{'at':_0x1cd36c});return _0x391eb0[_0x2ff5c0(0x1c1)](_0x1cd36c)[_0x2ff5c0(0x1c1)](_0x55c723);}[_0xf90718(0x1d8)](_0x5bdaaa,_0x3ecdec){const _0x40b5f8=_0xf90718,{plugins:_0x103041}=this[_0x40b5f8(0x1fb)],{model:_0x3ee111}=_0x5bdaaa;if(!_0x103041[_0x40b5f8(0x1e5)](_0x40b5f8(0x1b6)))return;_0x103041[_0x40b5f8(0x1d7)](_0x40b5f8(0x1b6))[_0x40b5f8(0x1a4)](_0x3ecdec)[_0x40b5f8(0x1b3)]&&_0x3ee111[_0x40b5f8(0x1e4)](_0x3ecdec);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x36d938=_0x20d8;(function(_0x3058d1,_0x4c735b){const _0x24097c=_0x20d8,_0x45e48a=_0x3058d1();while(!![]){try{const _0x126293=-parseInt(_0x24097c(0xf2))/0x1+parseInt(_0x24097c(0xe6))/0x2*(parseInt(_0x24097c(0x100))/0x3)+parseInt(_0x24097c(0xda))/0x4*(parseInt(_0x24097c(0xb1))/0x5)+-parseInt(_0x24097c(0x10f))/0x6+-parseInt(_0x24097c(0xa6))/0x7+-parseInt(_0x24097c(0xa4))/0x8*(-parseInt(_0x24097c(0x124))/0x9)+parseInt(_0x24097c(0x11a))/0xa*(parseInt(_0x24097c(0x113))/0xb);if(_0x126293===_0x4c735b)break;else _0x45e48a['push'](_0x45e48a['shift']());}catch(_0x50cf63){_0x45e48a['push'](_0x45e48a['shift']());}}}(_0x1a62,0xe9cd6));import{Plugin as _0x3d0d0e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x127416,IconRobotPencil as _0x261280}from'ckeditor5/src/icons.js';import{first as _0x1c1351,CKEditorError as _0x31baf1}from'ckeditor5/src/utils.js';import{createDropdown as _0x9df615,addMenuToDropdown as _0x15c4b3,ButtonView as _0x338c95,MenuBarMenuListItemButtonView as _0x2f4414,Dialog as _0x35fef8,DialogViewPosition as _0x2f19e2,MenuBarMenuView as _0x566b54,MenuBarMenuListView as _0x349b3c,MenuBarMenuListItemView as _0x5a1f7a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4644cf,UNGROUPED_COMMANDS_GROUP_ID as _0x116a91}from'./utils/normalizecommandsconfig.js';function _0x20d8(_0x14730b,_0x38ce2b){const _0x1a62d3=_0x1a62();return _0x20d8=function(_0x20d856,_0x9d93ef){_0x20d856=_0x20d856-0x86;let _0x544e1e=_0x1a62d3[_0x20d856];return _0x544e1e;},_0x20d8(_0x14730b,_0x38ce2b);}import{AIAssistantEditing as _0x19c546}from'./aiassistantediting.js';import{AIAdapter as _0x5d4c7c}from'./adapters/aiadapter.js';import{getTranslation as _0x601d06}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x59df15}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x57727b}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3f1cce}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5a78d0}from'./ui/form/aiformtoolbarview.js';function _0x1a62(){const _0x21fcf2=['map','tableOfContents','buttonView','comment','componentFactory','addMany','hideUI','config','showFakeVisualSelection','3567KgdyBn','init','ai-commands-config-order-collision','_onExecute','featureNotAllowed','show','length','replaceContent','menuView','panelView','order','updateView','DataTransfer','isOfficialPlugin','showUI','8528790pQfnaS','splice','children','AIAssistantUI','407oEikgf','setSelection','ai.assistant.disabledElements','menuBar:aiAssistant','replace','push','hideFakeVisualSelection','768310VAtUko','AI\x20is\x20writing','INSERT','_commandDefinitions','editing','includes','ck-ai-assistant-ui','_getMenuBarGroupButtons','evaluationLimit','_populateMenuBarMenu','35793uhPmWG','_showLicenseError','items','define','delegate','getData','aiLicenseKeyUsageLimit','expired','getSelectedElement','menuBar:aiCommands','fire','change:isError','buttons','aiLicenseKeyInvalid','_licenseKeyCheckInterval','schema','Generated\x20content:\x20%0','aiCommands','usageLimit','aiLicenseKeyExpired','text/html','requiresContent','aiLicenseKeyNotAllowed','ai.assistant.useTheme','trim','isOn','_dialog','REPLACE','from','execute','_uiCssClasses','EDITOR_TOP_SIDE','enabledCommandsIds','label','aiLicenseKeyValid','change:enabledCommandsIds','requires','getLimitElement','\x20ck-ai-assistant-ui_theme','update','once','_getResolvedCommandsDefinitions','aiLicenseKeyDomainLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','menuPanelClass','selection','set','polite','pluginName','808ePJEEj','source','8736847jPhzws','reset','aiLicenseKeyEvaluationLimit','AI\x20Assistant','licenseKey','_initAriaAiStatusChangeAnnouncements','plugins','editor','_forceMarkersCopy','queryView','aiLicenseKeyTrialLimit','5540995KFrAEW','announce','ck-ai-commands-dropdown\x20','AI\x20Commands','wasMoved','focus','copy','aiAssistant','bind','</p>','forEach','destroy','menuitemcheckbox','add','isFlat','isEnabled','change:value','_formView','_createAIAssistantUIButton','hide','isPremiumPlugin','custom','domainLimit','currentContext','prompt','model','ai.assistant.commands','ai.assistant.contentAreaCssClass','values','groupLabel','getRanges','get','invalid','promptView','commands','contentArea','media','insertContentBelow','render','AIAssistant','rawHtml','4WyfAEG','listenTo','updatePosition','document','insertContent','filter','_aiAssistantController','view','<p>','_aiAdapter','text','change:isProcessing','892WPKsAo','body','locale','showAIAssistant','command:','sort','trialLimit','textAdapter','ck-ai-assistant-button\x20','isCollapsed','errorView','getSelectedBlocks','1255677bXSgHY','groupId','change','fieldView','_initView'];_0x1a62=function(){return _0x21fcf2;};return _0x1a62();}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x36d938(0x10c)];import{ClipboardMarkersUtils as _0x46538f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x382f19,ViewDataTransfer as _0x497304}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3d0d0e{[_0x36d938(0xaa)];[_0x36d938(0x132)];[_0x36d938(0x8d)];[_0x36d938(0xc2)];[_0x36d938(0xe3)];[_0x36d938(0xe0)];[_0x36d938(0x91)]='';static get[_0x36d938(0xa3)](){const _0x2d8367=_0x36d938;return _0x2d8367(0x112);}static get[_0x36d938(0x10d)](){return!0x0;}static get[_0x36d938(0xc5)](){return!0x0;}static get[_0x36d938(0x97)](){return[_0x46538f,_0x19c546,_0x5d4c7c,_0x35fef8];}constructor(_0x39723e){const _0x55cad=_0x36d938;super(_0x39723e),_0x39723e[_0x55cad(0xfe)][_0x55cad(0x127)](_0x55cad(0x115),[_0x55cad(0xd5),_0x55cad(0xd9),_0x55cad(0xf8)]),_0x39723e[_0x55cad(0xfe)][_0x55cad(0x127)](_0x55cad(0xcc),''),_0x39723e[_0x55cad(0xfe)][_0x55cad(0x127)](_0x55cad(0x8a),!0x0),this[_0x55cad(0x91)]=_0x55cad(0x120)+(_0x39723e[_0x55cad(0xfe)][_0x55cad(0xd0)](_0x55cad(0x8a))?_0x55cad(0x99):'');}[_0x36d938(0x101)](){const _0x1f399b=_0x36d938,{editor:_0x2bcf71}=this;this[_0x1f399b(0xe3)]=_0x2bcf71[_0x1f399b(0xac)][_0x1f399b(0xd0)](_0x5d4c7c),this[_0x1f399b(0x8d)]=_0x2bcf71[_0x1f399b(0xac)][_0x1f399b(0xd0)](_0x35fef8),this[_0x1f399b(0xc2)]=null,this[_0x1f399b(0x11d)]=this[_0x1f399b(0x9c)]();const _0x2d0365=new _0x59df15(_0x2bcf71,Array[_0x1f399b(0x8f)](this[_0x1f399b(0x11d)][_0x1f399b(0xcd)]()));_0x2bcf71[_0x1f399b(0xd3)][_0x1f399b(0xbe)](_0x1f399b(0xe9),_0x2d0365),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0x135),_0x3fd3cf=>{const _0x4ff2f4=_0x1f399b,_0x59c7b5=_0x9df615(_0x3fd3cf);return _0x59c7b5[_0x4ff2f4(0xa1)]({'class':_0x4ff2f4(0xb3)+this[_0x4ff2f4(0x91)]}),_0x59c7b5[_0x4ff2f4(0xf9)][_0x4ff2f4(0xa1)]({'label':_0x601d06(_0x3fd3cf,_0x4ff2f4(0xb4)),'icon':_0x127416,'tooltip':!0x0}),_0x59c7b5['on'](_0x4ff2f4(0x90),_0x260a47=>this[_0x4ff2f4(0x103)](_0x260a47[_0x4ff2f4(0xa5)]['id'])),_0x15c4b3(_0x59c7b5,_0x2bcf71['ui'][_0x4ff2f4(0xe1)][_0x4ff2f4(0xe7)],function(_0x2953a4){const _0x3822b0=_0x4ff2f4,_0x1ecdea=_0x4644cf(_0x2953a4[_0x3822b0(0xfe)][_0x3822b0(0xd0)](_0x3822b0(0xcb)),_0x2953a4[_0x3822b0(0xe8)]),_0x4a14c3=hi(_0x2953a4,_0x1ecdea)[_0x3822b0(0xdf)](_0x4b039a=>_0x4b039a[_0x3822b0(0xd3)][_0x3822b0(0x106)]);if(0x1===_0x4a14c3[_0x3822b0(0x106)])return hi(_0x2953a4,_0x4a14c3[0x0][_0x3822b0(0xd3)])[_0x3822b0(0xf7)](_0x25ddf7=>({'id':_0x25ddf7['id'],'label':_0x25ddf7[_0x3822b0(0x94)]}));return _0x4a14c3[_0x3822b0(0xf7)](_0x9ba0c5=>{const _0x1c2efc=_0x3822b0,{groupId:_0x4dceb0,groupLabel:_0x40e58f,commands:_0x2b4c0f}=_0x9ba0c5,_0x5e469b=hi(_0x2953a4,_0x2b4c0f)[_0x1c2efc(0xf7)](_0x454653=>({'id':_0x454653['id'],'label':_0x454653[_0x1c2efc(0x94)]}));return{'id':_0x4dceb0,'menu':_0x40e58f||_0x4dceb0,'children':_0x5e469b};});}(_0x2bcf71),{'ariaLabel':_0x601d06(_0x3fd3cf,_0x4ff2f4(0xb4))}),_0x59c7b5[_0x4ff2f4(0x108)][_0x4ff2f4(0x9f)]=_0x4ff2f4(0xb3)+this[_0x4ff2f4(0x91)],_0x2d0365['on'](_0x4ff2f4(0x96),_0x35f35d),_0x59c7b5[_0x4ff2f4(0x108)][_0x4ff2f4(0x9b)](_0x4ff2f4(0xd7),_0x35f35d),_0x59c7b5;function _0x35f35d(){const _0x1551be=_0x4ff2f4;_0x59c7b5[_0x1551be(0xc0)]=_0x2d0365[_0x1551be(0x93)][_0x1551be(0x106)]>0x0;for(const _0x520425 of _0x59c7b5[_0x1551be(0x108)][_0x1551be(0x130)])_0x520425[_0x1551be(0xc0)]=_0x2d0365[_0x1551be(0x93)][_0x1551be(0x11f)](_0x520425['id']);}}),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0x12d),_0x52e1ae=>{const _0x2df61a=_0x1f399b,_0x3982f3=new _0x566b54(_0x52e1ae);_0x3982f3[_0x2df61a(0xf9)][_0x2df61a(0xa1)]({'label':_0x601d06(_0x52e1ae,_0x2df61a(0xb4)),'icon':_0x127416}),_0x3982f3[_0x2df61a(0xb9)](_0x2df61a(0xc0))['to'](_0x2d0365,_0x2df61a(0x93),_0x52624b=>_0x52624b[_0x2df61a(0x106)]>0x0);const _0x2e16ee=_0x4644cf(_0x2bcf71[_0x2df61a(0xfe)][_0x2df61a(0xd0)](_0x2df61a(0xcb)),_0x52e1ae);return this[_0x2df61a(0x123)](_0x2d0365,_0x3982f3,_0x2e16ee,_0x50e9fc=>this[_0x2df61a(0x103)](_0x50e9fc)),_0x3982f3;}),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0xb8),()=>{const _0x11a190=_0x1f399b,_0x25b719=this[_0x11a190(0xc3)](_0x338c95);return _0x25b719[_0x11a190(0xa1)]({'tooltip':!0x0,'class':_0x11a190(0xee)+this[_0x11a190(0x91)]}),_0x25b719;}),_0x2bcf71['ui'][_0x1f399b(0xfb)][_0x1f399b(0xbe)](_0x1f399b(0x116),()=>{const _0xf3affa=_0x1f399b,_0x4dea08=this[_0xf3affa(0xc3)](_0x2f4414);return _0x4dea08[_0xf3affa(0xa1)]({'role':_0xf3affa(0xbd)}),_0x4dea08;}),this[_0x1f399b(0xaa)]=this[_0x1f399b(0xad)][_0x1f399b(0xfe)][_0x1f399b(0xd0)](_0x1f399b(0xaa));const _0x1e2073=this[_0x1f399b(0xad)];this[_0x1f399b(0x132)]=setInterval(()=>{const _0x30ff9e=_0x1f399b;let _0x43533c;for(const _0x5e3e69 in _0x1e2073){const _0x4b733b=_0x5e3e69,_0x5de648=_0x1e2073[_0x4b733b];if(_0x30ff9e(0x95)==_0x5de648||_0x30ff9e(0x131)==_0x5de648||_0x30ff9e(0x86)==_0x5de648||_0x30ff9e(0x9d)==_0x5de648||_0x30ff9e(0x89)==_0x5de648||_0x30ff9e(0xa8)==_0x5de648||_0x30ff9e(0xb0)==_0x5de648||_0x30ff9e(0x12a)==_0x5de648){delete _0x1e2073[_0x4b733b],_0x43533c=_0x5de648,clearInterval(this[_0x30ff9e(0x132)]),this[_0x30ff9e(0x132)]=void 0x0;break;}}_0x30ff9e(0x131)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0xd1)),_0x30ff9e(0x86)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x12b)),_0x30ff9e(0x9d)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0xc7)),_0x30ff9e(0x89)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x104),_0x30ff9e(0xd8)),_0x30ff9e(0xa8)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x122)),_0x30ff9e(0xb0)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0xec)),_0x30ff9e(0x12a)==_0x43533c&&_0x1e2073[_0x30ff9e(0x125)](_0x30ff9e(0x136));},0x3e8);}[_0x36d938(0xbc)](){const _0x1d76a3=_0x36d938;super[_0x1d76a3(0xbc)](),this[_0x1d76a3(0x132)]&&clearInterval(this[_0x1d76a3(0x132)]);}[_0x36d938(0x10e)](_0x428ba1='',_0x31a2e9='',_0xcffd5e=_0x36d938(0xc6)){const _0x6d90a5=_0x36d938,_0x2587e1=this[_0x6d90a5(0xad)],_0x5d5fd1=_0x2587e1[_0x6d90a5(0x11e)][_0x6d90a5(0xe1)],_0x1afd39=_0x2587e1[_0x6d90a5(0xac)][_0x6d90a5(0xd0)](_0x19c546),_0xc62363=_0x2587e1[_0x6d90a5(0xac)][_0x6d90a5(0xd0)](_0x46538f);_0x1afd39[_0x6d90a5(0xff)]();const _0x4c446b=new J(),_0x5655f9=new ClipboardEvent(_0x6d90a5(0xb7),{'clipboardData':_0x4c446b}),_0x28f5f6=new _0x497304(_0x4c446b),_0x573759=new _0x382f19(_0x5d5fd1,_0x5655f9,{'dataTransfer':_0x28f5f6});_0xc62363[_0x6d90a5(0xae)](_0x6d90a5(0xfa),()=>{const _0x255d64=_0x6d90a5;_0x5d5fd1[_0x255d64(0xdd)][_0x255d64(0x12e)](_0x255d64(0xb7),_0x573759);}),this[_0x6d90a5(0xc2)]||(this[_0x6d90a5(0xf6)](),this[_0x6d90a5(0xe0)]=new _0x57727b(_0x2587e1,this[_0x6d90a5(0xe3)][_0x6d90a5(0xed)],this[_0x6d90a5(0xc2)]));let _0xf5e22f=_0x28f5f6[_0x6d90a5(0x129)](_0x6d90a5(0x87));const _0x15cd51=_0x2587e1[_0x6d90a5(0xca)][_0x6d90a5(0xdd)][_0x6d90a5(0xa0)],_0x538a7a=Array[_0x6d90a5(0x8f)](_0x15cd51[_0x6d90a5(0xcf)]());0x1===_0x538a7a[_0x6d90a5(0x106)]&&_0x538a7a[0x0][_0x6d90a5(0xbf)]&&!_0x15cd51[_0x6d90a5(0x12c)]()&&''!==_0xf5e22f[_0x6d90a5(0x117)](/ /g,'')[_0x6d90a5(0x8b)]()&&(_0xf5e22f=_0x6d90a5(0xe2)+_0xf5e22f+_0x6d90a5(0xba)),this[_0x6d90a5(0xe0)][_0x6d90a5(0x10b)]({'actionId':_0xcffd5e,'query':_0x428ba1,'htmlContent':_0xf5e22f,'label':_0x31a2e9,'mainActionLabel':_0x5a78d0[_0x2587e1[_0x6d90a5(0xca)][_0x6d90a5(0xdd)][_0x6d90a5(0xa0)][_0x6d90a5(0xef)]?_0x6d90a5(0x11c):_0x6d90a5(0x8e)]}),_0x6d90a5(0xb8)!==this[_0x6d90a5(0x8d)]['id']?this[_0x6d90a5(0x8d)][_0x6d90a5(0x105)]({'id':_0x6d90a5(0xb8),'icon':_0x261280,'title':_0x601d06(this[_0x6d90a5(0xad)][_0x6d90a5(0xe8)],_0x6d90a5(0xa9)),'content':this[_0x6d90a5(0xc2)],'position':_0x2f19e2[_0x6d90a5(0x92)],'onShow':()=>{const _0x15c68e=_0x6d90a5;this[_0x15c68e(0xc2)][_0x15c68e(0xb6)]();},'onHide':()=>{const _0x3e82d9=_0x6d90a5;this[_0x3e82d9(0xe0)][_0x3e82d9(0xa7)](),_0x1afd39[_0x3e82d9(0x119)]();}}):this[_0x6d90a5(0x8d)][_0x6d90a5(0xe1)][_0x6d90a5(0xb5)]||this[_0x6d90a5(0x8d)][_0x6d90a5(0xe1)][_0x6d90a5(0xdc)]();}[_0x36d938(0xfd)](){const _0x5cfa11=_0x36d938;this[_0x5cfa11(0x8d)][_0x5cfa11(0xc4)]();}[_0x36d938(0x9c)](){const _0x23e740=_0x36d938,_0x33dc6e=new Map(),_0x8da120=_0x4644cf(this[_0x23e740(0xad)][_0x23e740(0xfe)][_0x23e740(0xd0)](_0x23e740(0xcb)),this[_0x23e740(0xad)][_0x23e740(0xe8)]);for(const _0xa7015e of _0x8da120)for(const _0x400283 of _0xa7015e[_0x23e740(0xd3)])_0x33dc6e[_0x23e740(0xa1)](_0x400283['id'],{..._0x400283,'groupId':_0xa7015e[_0x23e740(0xf3)],'groupLabel':_0xa7015e[_0x23e740(0xce)]||_0xa7015e[_0x23e740(0xf3)]});return _0x33dc6e;}[_0x36d938(0xc3)](_0x356320){const _0x442853=_0x36d938,_0x375524=this[_0x442853(0xad)],_0x7cbac5=_0x375524[_0x442853(0xd3)][_0x442853(0xd0)](_0x442853(0xe9)),_0x268948=new _0x356320(_0x375524[_0x442853(0xe8)]);return _0x268948[_0x442853(0xa1)]({'label':_0x601d06(_0x375524[_0x442853(0xe8)],_0x442853(0xa9)),'icon':_0x261280,'isToggleable':!0x0}),_0x268948[_0x442853(0xb9)](_0x442853(0xc0))['to'](_0x7cbac5),_0x268948[_0x442853(0xb9)](_0x442853(0x8c))['to'](this[_0x442853(0x8d)],'id',_0x90d988=>_0x442853(0xb8)===_0x90d988),this[_0x442853(0xdb)](_0x268948,_0x442853(0x90),()=>{const _0x3d6c68=_0x442853;_0x268948[_0x3d6c68(0x8c)]?this[_0x3d6c68(0xfd)]():_0x7cbac5[_0x3d6c68(0x90)]();}),_0x268948;}[_0x36d938(0xf6)](){const _0x52e4e5=_0x36d938,_0x37334b=this[_0x52e4e5(0xad)][_0x52e4e5(0xac)][_0x52e4e5(0xd0)](_0x19c546);this[_0x52e4e5(0xc2)]=new _0x3f1cce(this[_0x52e4e5(0xad)][_0x52e4e5(0xe8)],this[_0x52e4e5(0x91)],this[_0x52e4e5(0xad)][_0x52e4e5(0xfe)][_0x52e4e5(0xd0)](_0x52e4e5(0xcc))),this[_0x52e4e5(0xc2)]['on'](_0x52e4e5(0xc1),()=>{const _0x49c67e=_0x52e4e5;this[_0x49c67e(0x8d)][_0x49c67e(0xe1)][_0x49c67e(0xb5)]||this[_0x49c67e(0x8d)][_0x49c67e(0xe1)][_0x49c67e(0xdc)]();}),this[_0x52e4e5(0xc2)][_0x52e4e5(0xd2)][_0x52e4e5(0xaf)][_0x52e4e5(0xf5)]['on'](_0x52e4e5(0x9a),()=>{const _0x5a21a7=_0x52e4e5;this[_0x5a21a7(0x8d)][_0x5a21a7(0xe1)][_0x5a21a7(0xb5)]||this[_0x5a21a7(0x8d)][_0x5a21a7(0xe1)][_0x5a21a7(0xdc)]();}),this[_0x52e4e5(0xdb)](this[_0x52e4e5(0xc2)],_0x52e4e5(0x107),()=>{const _0x329a3e=_0x52e4e5;_0x37334b[_0x329a3e(0xde)](this[_0x329a3e(0xe0)][_0x329a3e(0xc8)]),this[_0x329a3e(0xfd)]();}),this[_0x52e4e5(0xdb)](this[_0x52e4e5(0xc2)],_0x52e4e5(0xd6),()=>{const _0x430e92=_0x52e4e5;_0x37334b[_0x430e92(0xd6)](this[_0x430e92(0xe0)][_0x430e92(0xc8)]),this[_0x430e92(0xfd)]();}),this[_0x52e4e5(0xab)]();}[_0x36d938(0xab)](){const _0x24d5da=_0x36d938,{locale:_0x40b4a2,ui:{ariaLiveAnnouncer:_0x396984}}=this[_0x24d5da(0xad)];this[_0x24d5da(0xc2)][_0x24d5da(0xd4)]['on'](_0x24d5da(0xe5),(_0x2ee8dc,_0x2b01a7,_0x173b4d)=>{const _0x52259f=_0x24d5da,_0x24ea45=this[_0x52259f(0xe0)][_0x52259f(0xc8)];_0x173b4d?_0x396984[_0x52259f(0xb2)](_0x601d06(_0x40b4a2,_0x52259f(0x11b))):_0x24ea45&&_0x396984[_0x52259f(0xb2)](_0x601d06(_0x40b4a2,_0x52259f(0x134),_0x24ea45),{'politeness':_0x52259f(0xa2),'isUnsafeHTML':!0x0});}),this[_0x24d5da(0xc2)]['on'](_0x24d5da(0x12f),(_0x211825,_0x3ccaa1,_0x575ea9)=>{const _0x10ce60=_0x24d5da;if(_0x575ea9){const _0x1f393a=this[_0x10ce60(0xc2)][_0x10ce60(0xf0)][_0x10ce60(0xe4)];_0x396984[_0x10ce60(0xb2)](_0x601d06(_0x40b4a2,_0x10ce60(0x9e),_0x1f393a));}});}[_0x36d938(0x103)](_0x4db283){const _0x28fb2f=_0x36d938,_0x6cdea3=this[_0x28fb2f(0x11d)][_0x28fb2f(0xd0)](_0x4db283),_0x4d4825=this[_0x28fb2f(0xad)],_0x2cc886=_0x4d4825[_0x28fb2f(0xca)][_0x28fb2f(0xdd)][_0x28fb2f(0xa0)],_0x35e3da=_0x4d4825[_0x28fb2f(0xd3)][_0x28fb2f(0xd0)](_0x28fb2f(0xe9)),_0x453854=_0x4d4825[_0x28fb2f(0xac)][_0x28fb2f(0xd0)](_0x19c546),_0x1b7e7c=''+(_0x6cdea3[_0x28fb2f(0xf3)]!==_0x116a91?_0x6cdea3[_0x28fb2f(0xce)]+':\x20':'')+_0x6cdea3[_0x28fb2f(0x94)];if(!0x1!==_0x6cdea3[_0x28fb2f(0x88)]&&_0x2cc886[_0x28fb2f(0xef)]){const _0x2f266e=_0x1c1351(_0x2cc886[_0x28fb2f(0xf1)]())||_0x4d4825[_0x28fb2f(0xca)][_0x28fb2f(0x133)][_0x28fb2f(0x98)](_0x2cc886);_0x4d4825[_0x28fb2f(0xca)][_0x28fb2f(0xf4)](_0x8c7f1e=>{const _0x1085af=_0x28fb2f;_0x8c7f1e[_0x1085af(0x114)](_0x2f266e,'in');});}_0x453854[_0x28fb2f(0xff)](),_0x35e3da[_0x28fb2f(0x90)](_0x6cdea3[_0x28fb2f(0xc9)],_0x1b7e7c,_0x28fb2f(0xea)+_0x4db283);}[_0x36d938(0x123)](_0x5afda9,_0x4e09cb,_0x267480,_0x1e52e8){const _0x2b1a0b=_0x36d938,_0x423e93=this[_0x2b1a0b(0xad)],_0x40ed3f=_0x423e93[_0x2b1a0b(0xe8)],_0x53ba60=new _0x349b3c(_0x40ed3f),_0x596504=hi(_0x423e93,_0x267480)[_0x2b1a0b(0xdf)](_0x1f60cd=>_0x1f60cd[_0x2b1a0b(0xd3)][_0x2b1a0b(0x106)]);0x1===_0x596504[_0x2b1a0b(0x106)]?this[_0x2b1a0b(0x121)]({'command':_0x5afda9,'commands':_0x596504[0x0][_0x2b1a0b(0xd3)],'parentMenuView':_0x4e09cb,'onExecute':_0x1e52e8})[_0x2b1a0b(0xbb)](_0x1f9f76=>_0x53ba60[_0x2b1a0b(0x126)][_0x2b1a0b(0xbe)](_0x1f9f76)):_0x596504[_0x2b1a0b(0xbb)](({groupId:_0x744ec8,groupLabel:_0x3b32b6,commands:_0x467aa8})=>{const _0x55fc4d=_0x2b1a0b,_0x1816df=new _0x5a1f7a(_0x40ed3f,_0x4e09cb),_0x97899=new _0x566b54(_0x40ed3f),_0x552e91=new _0x349b3c(_0x40ed3f),_0x41dfba=this[_0x55fc4d(0x121)]({'command':_0x5afda9,'commands':_0x467aa8,'parentMenuView':_0x97899,'onExecute':_0x1e52e8});_0x97899[_0x55fc4d(0xf9)][_0x55fc4d(0xa1)]({'label':_0x3b32b6||_0x744ec8}),_0x97899[_0x55fc4d(0x128)](_0x55fc4d(0x90))['to'](_0x4e09cb),_0x552e91[_0x55fc4d(0x126)][_0x55fc4d(0xfc)](_0x41dfba),_0x97899[_0x55fc4d(0x109)][_0x55fc4d(0x111)][_0x55fc4d(0xbe)](_0x552e91),_0x1816df[_0x55fc4d(0x111)][_0x55fc4d(0xbe)](_0x97899),_0x53ba60[_0x55fc4d(0x126)][_0x55fc4d(0xbe)](_0x1816df);}),_0x4e09cb[_0x2b1a0b(0x109)][_0x2b1a0b(0x111)][_0x2b1a0b(0xbe)](_0x53ba60);}[_0x36d938(0x121)]({command:_0xbfb595,commands:_0x2aac1e,parentMenuView:_0x2b618e,onExecute:_0x56591}){const _0x528739=_0x36d938,_0x184287=this[_0x528739(0xad)],_0x57a0e7=_0x184287[_0x528739(0xe8)];return hi(_0x184287,_0x2aac1e)[_0x528739(0xf7)](_0x27c973=>{const _0x2907bb=_0x528739,_0xcf81ab=new _0x5a1f7a(_0x57a0e7,_0x2b618e),_0x14d258=new _0x2f4414(_0x57a0e7);return _0x14d258[_0x2907bb(0xa1)]({'label':_0x27c973[_0x2907bb(0x94)]}),_0x14d258[_0x2907bb(0x128)](_0x2907bb(0x90))['to'](_0x2b618e),_0x14d258['on'](_0x2907bb(0x90),()=>_0x56591(_0x27c973['id'])),_0x14d258[_0x2907bb(0xb9)](_0x2907bb(0xc0))['to'](_0xbfb595,_0x2907bb(0x93),_0x4b4d01=>_0x4b4d01[_0x2907bb(0x11f)](_0x27c973['id'])),_0xcf81ab[_0x2907bb(0x111)][_0x2907bb(0xbe)](_0x14d258),_0xcf81ab;});}}function li(_0x341c7d,_0x261ab3){const _0x190d92=_0x36d938;return void 0x0!==_0x341c7d[_0x190d92(0x10a)]&&void 0x0===_0x261ab3[_0x190d92(0x10a)]?0x1:void 0x0===_0x341c7d[_0x190d92(0x10a)]&&void 0x0!==_0x261ab3[_0x190d92(0x10a)]?-0x1:void 0x0!==_0x341c7d[_0x190d92(0x10a)]&&void 0x0!==_0x261ab3[_0x190d92(0x10a)]?_0x341c7d[_0x190d92(0x10a)]-_0x261ab3[_0x190d92(0x10a)]:0x0;}function hi(_0x5455c3,_0x5a2002){const _0x2c968c=_0x36d938;_0x5a2002[_0x2c968c(0xeb)](li);const _0x465121={},_0x3ccc78=[];for(const _0x207290 of _0x5a2002)if(void 0x0!==_0x207290[_0x2c968c(0x10a)]){if(_0x207290[_0x2c968c(0x10a)]in _0x465121)throw new _0x31baf1(_0x2c968c(0x102),_0x5455c3,{'conflictingDefinitions':[_0x207290,_0x465121[_0x207290[_0x2c968c(0x10a)]]]});_0x465121[_0x207290[_0x2c968c(0x10a)]]=_0x207290,_0x3ccc78[_0x2c968c(0x110)](_0x207290[_0x2c968c(0x10a)],0x0,_0x207290);}else _0x3ccc78[_0x2c968c(0x118)](_0x207290);return _0x3ccc78;}
|
|
23
|
+
const _0x1533c9=_0x3a54;(function(_0x3ef7f2,_0x34f1be){const _0x566601=_0x3a54,_0x15cc90=_0x3ef7f2();while(!![]){try{const _0x30c39f=parseInt(_0x566601(0xb1))/0x1+parseInt(_0x566601(0xf7))/0x2+-parseInt(_0x566601(0x11f))/0x3*(-parseInt(_0x566601(0x9b))/0x4)+-parseInt(_0x566601(0xcf))/0x5*(parseInt(_0x566601(0x110))/0x6)+-parseInt(_0x566601(0x93))/0x7+-parseInt(_0x566601(0xde))/0x8*(-parseInt(_0x566601(0xe0))/0x9)+parseInt(_0x566601(0xa9))/0xa;if(_0x30c39f===_0x34f1be)break;else _0x15cc90['push'](_0x15cc90['shift']());}catch(_0x5d520d){_0x15cc90['push'](_0x15cc90['shift']());}}}(_0x4819,0xb7d66));import{Plugin as _0x44d3db}from'ckeditor5/src/core.js';import{IconMagicWand as _0xdfc3fb,IconRobotPencil as _0x475697}from'ckeditor5/src/icons.js';import{first as _0x31c0b7,CKEditorError as _0x2c17c9}from'ckeditor5/src/utils.js';import{createDropdown as _0x211f57,addMenuToDropdown as _0x34f181,ButtonView as _0x1fd6bd,MenuBarMenuListItemButtonView as _0x33c6f8,Dialog as _0xa4faf5,DialogViewPosition as _0x36e89b,MenuBarMenuView as _0xe7f99d,MenuBarMenuListView as _0x42ae4f,MenuBarMenuListItemView as _0x5041df}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x432a7b,UNGROUPED_COMMANDS_GROUP_ID as _0x17c029}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2bef2f}from'./aiassistantediting.js';import{AIAdapter as _0x46fd2e}from'./adapters/aiadapter.js';import{getTranslation as _0x5d78bc}from'./utils/common-translations.js';function _0x4819(){const _0x192786=['children','model','config','update','destroy','editor','plugins','once','aiLicenseKeyNotAllowed','2170950wWzFWy','commands','AI\x20Commands','editing','buttonView','contentArea','aiLicenseKeyTrialLimit','text/html','23842EByHRc','push','map','queryView','selection','isOn','licenseKey','wasMoved','aiLicenseKeyInvalid','insertContentBelow','body','init','getSelectedElement','_aiAssistantController','order','panelView','ck-ai-assistant-ui','_getMenuBarGroupButtons','DataTransfer','hideFakeVisualSelection','hide','promptView','expired','fire','from','delegate','schema','_forceMarkersCopy','requires','polite','300525HqtRQQ','menuitemcheckbox','isCollapsed','showAIAssistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','ck-ai-commands-dropdown\x20','_onExecute','INSERT','copy','_initAriaAiStatusChangeAnnouncements','\x20ck-ai-assistant-ui_theme','errorView','menuPanelClass','show','AI\x20Assistant','3971872doZIfv','requiresContent','18SZWwMF','_aiAdapter','get','values','isPremiumPlugin','menuBar:aiCommands','text','aiLicenseKeyDomainLimit','AIAssistantUI','aiLicenseKeyEvaluationLimit','rawHtml','REPLACE','getData','trialLimit','_licenseKeyCheckInterval','componentFactory','reset','sort','source','trim','enabledCommandsIds','prompt','menuView','1266720vrCdMw','</p>','add','isFlat','isOfficialPlugin','hideUI','splice','showUI','define','usageLimit','_formView','domainLimit','_populateMenuBarMenu','AI\x20is\x20writing','includes','pluginName','_uiCssClasses','updatePosition','groupId','invalid','_commandDefinitions','_initView','bind','buttons','ai-commands-config-order-collision','102LpsPJy','label','updateView','getRanges','tableOfContents','insertContent','execute','EDITOR_TOP_SIDE','comment','replaceContent','showFakeVisualSelection','announce','length','aiLicenseKeyUsageLimit','aiCommands','308565fmWWWS','media','ck-ai-assistant-button\x20','forEach','evaluationLimit','document','change:value','getSelectedBlocks','currentContext','ai.assistant.commands','_getResolvedCommandsDefinitions','replace','ai.assistant.disabledElements','textAdapter','_dialog','ai.assistant.useTheme','<p>','_createAIAssistantUIButton','change:enabledCommandsIds','setSelection','Generated\x20content:\x20%0','change','AIAssistant','aiLicenseKeyExpired','_showLicenseError','set','aiAssistant','addMany','fieldView','command:','view','filter','getLimitElement','ai.assistant.contentAreaCssClass','render','focus','10007179wIzOmM','change:isError','locale','groupLabel','menuBar:aiAssistant','custom','featureNotAllowed','change:isProcessing','52RINkeG','aiLicenseKeyValid','listenTo','isEnabled','items'];_0x4819=function(){return _0x192786;};return _0x4819();}import{ShowAIAssistantCommand as _0xf47d1e}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4e3be7}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x44f31f}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x13fa0b}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x3a54(_0x2e9db4,_0x25f07c){const _0x481937=_0x4819();return _0x3a54=function(_0x3a5434,_0x5ea2d3){_0x3a5434=_0x3a5434-0x7b;let _0x129a5c=_0x481937[_0x3a5434];return _0x129a5c;},_0x3a54(_0x2e9db4,_0x25f07c);}const dt=globalThis[_0x1533c9(0xc3)];import{ClipboardMarkersUtils as _0x6cb3}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x256c3c,ViewDataTransfer as _0x197819}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x44d3db{[_0x1533c9(0xb7)];[_0x1533c9(0xee)];[_0x1533c9(0x7d)];[_0x1533c9(0x101)];[_0x1533c9(0xe1)];[_0x1533c9(0xbe)];[_0x1533c9(0x107)]='';static get[_0x1533c9(0x106)](){const _0x158218=_0x1533c9;return _0x158218(0xe8);}static get[_0x1533c9(0xfb)](){return!0x0;}static get[_0x1533c9(0xe4)](){return!0x0;}static get[_0x1533c9(0xcd)](){return[_0x6cb3,_0x2bef2f,_0x46fd2e,_0xa4faf5];}constructor(_0xf4277c){const _0x54b321=_0x1533c9;super(_0xf4277c),_0xf4277c[_0x54b321(0xa2)][_0x54b321(0xff)](_0x54b321(0x7b),[_0x54b321(0x120),_0x54b321(0xea),_0x54b321(0x114)]),_0xf4277c[_0x54b321(0xa2)][_0x54b321(0xff)](_0x54b321(0x90),''),_0xf4277c[_0x54b321(0xa2)][_0x54b321(0xff)](_0x54b321(0x7e),!0x0),this[_0x54b321(0x107)]=_0x54b321(0xc1)+(_0xf4277c[_0x54b321(0xa2)][_0x54b321(0xe2)](_0x54b321(0x7e))?_0x54b321(0xd9):'');}[_0x1533c9(0xbc)](){const _0x581993=_0x1533c9,{editor:_0x45dd4c}=this;this[_0x581993(0xe1)]=_0x45dd4c[_0x581993(0xa6)][_0x581993(0xe2)](_0x46fd2e),this[_0x581993(0x7d)]=_0x45dd4c[_0x581993(0xa6)][_0x581993(0xe2)](_0xa4faf5),this[_0x581993(0x101)]=null,this[_0x581993(0x10b)]=this[_0x581993(0x129)]();const _0x993b6d=new _0xf47d1e(_0x45dd4c,Array[_0x581993(0xc9)](this[_0x581993(0x10b)][_0x581993(0xe3)]()));_0x45dd4c[_0x581993(0xaa)][_0x581993(0xf9)](_0x581993(0xd2),_0x993b6d),_0x45dd4c['ui'][_0x581993(0xef)][_0x581993(0xf9)](_0x581993(0x11e),_0x511b80=>{const _0x2c2aa6=_0x581993,_0x3a88db=_0x211f57(_0x511b80);return _0x3a88db[_0x2c2aa6(0x88)]({'class':_0x2c2aa6(0xd4)+this[_0x2c2aa6(0x107)]}),_0x3a88db[_0x2c2aa6(0xad)][_0x2c2aa6(0x88)]({'label':_0x5d78bc(_0x511b80,_0x2c2aa6(0xab)),'icon':_0xdfc3fb,'tooltip':!0x0}),_0x3a88db['on'](_0x2c2aa6(0x116),_0x5453eb=>this[_0x2c2aa6(0xd5)](_0x5453eb[_0x2c2aa6(0xf2)]['id'])),_0x34f181(_0x3a88db,_0x45dd4c['ui'][_0x2c2aa6(0x8d)][_0x2c2aa6(0xbb)],function(_0xebdbaa){const _0x1ac730=_0x2c2aa6,_0x94d652=_0x432a7b(_0xebdbaa[_0x1ac730(0xa2)][_0x1ac730(0xe2)](_0x1ac730(0x128)),_0xebdbaa[_0x1ac730(0x95)]),_0x4cd785=wi(_0xebdbaa,_0x94d652)[_0x1ac730(0x8e)](_0x4bd6c1=>_0x4bd6c1[_0x1ac730(0xaa)][_0x1ac730(0x11c)]);if(0x1===_0x4cd785[_0x1ac730(0x11c)])return wi(_0xebdbaa,_0x4cd785[0x0][_0x1ac730(0xaa)])[_0x1ac730(0xb3)](_0xe5b293=>({'id':_0xe5b293['id'],'label':_0xe5b293[_0x1ac730(0x111)]}));return _0x4cd785[_0x1ac730(0xb3)](_0x2a3d53=>{const _0x43f5fa=_0x1ac730,{groupId:_0x9daf7b,groupLabel:_0x1450b4,commands:_0x209642}=_0x2a3d53,_0xcb39ae=wi(_0xebdbaa,_0x209642)[_0x43f5fa(0xb3)](_0x3e2bb3=>({'id':_0x3e2bb3['id'],'label':_0x3e2bb3[_0x43f5fa(0x111)]}));return{'id':_0x9daf7b,'menu':_0x1450b4||_0x9daf7b,'children':_0xcb39ae};});}(_0x45dd4c),{'ariaLabel':_0x5d78bc(_0x511b80,_0x2c2aa6(0xab))}),_0x3a88db[_0x2c2aa6(0xf6)][_0x2c2aa6(0xdb)]=_0x2c2aa6(0xd4)+this[_0x2c2aa6(0x107)],_0x993b6d['on'](_0x2c2aa6(0x81),_0x550db8),_0x3a88db[_0x2c2aa6(0xf6)][_0x2c2aa6(0xa7)](_0x2c2aa6(0x91),_0x550db8),_0x3a88db;function _0x550db8(){const _0x4d0ef4=_0x2c2aa6;_0x3a88db[_0x4d0ef4(0x9e)]=_0x993b6d[_0x4d0ef4(0xf4)][_0x4d0ef4(0x11c)]>0x0;for(const _0xdad47e of _0x3a88db[_0x4d0ef4(0xf6)][_0x4d0ef4(0x10e)])_0xdad47e[_0x4d0ef4(0x9e)]=_0x993b6d[_0x4d0ef4(0xf4)][_0x4d0ef4(0x105)](_0xdad47e['id']);}}),_0x45dd4c['ui'][_0x581993(0xef)][_0x581993(0xf9)](_0x581993(0xe5),_0x15a090=>{const _0x35b494=_0x581993,_0x5dd0de=new _0xe7f99d(_0x15a090);_0x5dd0de[_0x35b494(0xad)][_0x35b494(0x88)]({'label':_0x5d78bc(_0x15a090,_0x35b494(0xab)),'icon':_0xdfc3fb}),_0x5dd0de[_0x35b494(0x10d)](_0x35b494(0x9e))['to'](_0x993b6d,_0x35b494(0xf4),_0x37282e=>_0x37282e[_0x35b494(0x11c)]>0x0);const _0x2d1c27=_0x432a7b(_0x45dd4c[_0x35b494(0xa2)][_0x35b494(0xe2)](_0x35b494(0x128)),_0x15a090);return this[_0x35b494(0x103)](_0x993b6d,_0x5dd0de,_0x2d1c27,_0x138f26=>this[_0x35b494(0xd5)](_0x138f26)),_0x5dd0de;}),_0x45dd4c['ui'][_0x581993(0xef)][_0x581993(0xf9)](_0x581993(0x89),()=>{const _0x29dae3=_0x581993,_0x3de3fc=this[_0x29dae3(0x80)](_0x1fd6bd);return _0x3de3fc[_0x29dae3(0x88)]({'tooltip':!0x0,'class':_0x29dae3(0x121)+this[_0x29dae3(0x107)]}),_0x3de3fc;}),_0x45dd4c['ui'][_0x581993(0xef)][_0x581993(0xf9)](_0x581993(0x97),()=>{const _0x18fbee=_0x581993,_0x2ed655=this[_0x18fbee(0x80)](_0x33c6f8);return _0x2ed655[_0x18fbee(0x88)]({'role':_0x18fbee(0xd0)}),_0x2ed655;}),this[_0x581993(0xb7)]=this[_0x581993(0xa5)][_0x581993(0xa2)][_0x581993(0xe2)](_0x581993(0xb7));const _0x342966=this[_0x581993(0xa5)];this[_0x581993(0xee)]=setInterval(()=>{const _0x4febb1=_0x581993;let _0x395b8f;for(const _0x3699f9 in _0x342966){const _0x1e0cbc=_0x3699f9,_0x3e006b=_0x342966[_0x1e0cbc];if(_0x4febb1(0x9c)==_0x3e006b||_0x4febb1(0xb9)==_0x3e006b||_0x4febb1(0x86)==_0x3e006b||_0x4febb1(0xe7)==_0x3e006b||_0x4febb1(0xa8)==_0x3e006b||_0x4febb1(0xe9)==_0x3e006b||_0x4febb1(0xaf)==_0x3e006b||_0x4febb1(0x11d)==_0x3e006b){delete _0x342966[_0x1e0cbc],_0x395b8f=_0x3e006b,clearInterval(this[_0x4febb1(0xee)]),this[_0x4febb1(0xee)]=void 0x0;break;}}_0x4febb1(0xb9)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0x10a)),_0x4febb1(0x86)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0xc7)),_0x4febb1(0xe7)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0x102)),_0x4febb1(0xa8)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0x99),_0x4febb1(0x85)),_0x4febb1(0xe9)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0x123)),_0x4febb1(0xaf)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0xed)),_0x4febb1(0x11d)==_0x395b8f&&_0x342966[_0x4febb1(0x87)](_0x4febb1(0x100));},0x3e8);}[_0x1533c9(0xa4)](){const _0x3c4606=_0x1533c9;super[_0x3c4606(0xa4)](),this[_0x3c4606(0xee)]&&clearInterval(this[_0x3c4606(0xee)]);}[_0x1533c9(0xfe)](_0x277768='',_0x36999e='',_0x3cbc7b=_0x1533c9(0x98)){const _0x1ffdde=_0x1533c9,_0x74f69=this[_0x1ffdde(0xa5)],_0xdc99fd=_0x74f69[_0x1ffdde(0xac)][_0x1ffdde(0x8d)],_0x3c034d=_0x74f69[_0x1ffdde(0xa6)][_0x1ffdde(0xe2)](_0x2bef2f),_0x43bdd1=_0x74f69[_0x1ffdde(0xa6)][_0x1ffdde(0xe2)](_0x6cb3);_0x3c034d[_0x1ffdde(0x11a)]();const _0x3e9db5=new dt(),_0x1c1796=new ClipboardEvent(_0x1ffdde(0xd7),{'clipboardData':_0x3e9db5}),_0x27c7c7=new _0x197819(_0x3e9db5),_0x101e50=new _0x256c3c(_0xdc99fd,_0x1c1796,{'dataTransfer':_0x27c7c7});_0x43bdd1[_0x1ffdde(0xcc)](_0x1ffdde(0x118),()=>{const _0x2f380e=_0x1ffdde;_0xdc99fd[_0x2f380e(0x124)][_0x2f380e(0xc8)](_0x2f380e(0xd7),_0x101e50);}),this[_0x1ffdde(0x101)]||(this[_0x1ffdde(0x10c)](),this[_0x1ffdde(0xbe)]=new _0x4e3be7(_0x74f69,this[_0x1ffdde(0xe1)][_0x1ffdde(0x7c)],this[_0x1ffdde(0x101)]));let _0x561925=_0x27c7c7[_0x1ffdde(0xec)](_0x1ffdde(0xb0));const _0x3c0984=_0x74f69[_0x1ffdde(0xa1)][_0x1ffdde(0x124)][_0x1ffdde(0xb5)],_0xc4e637=Array[_0x1ffdde(0xc9)](_0x3c0984[_0x1ffdde(0x113)]());0x1===_0xc4e637[_0x1ffdde(0x11c)]&&_0xc4e637[0x0][_0x1ffdde(0xfa)]&&!_0x3c0984[_0x1ffdde(0xbd)]()&&''!==_0x561925[_0x1ffdde(0x12a)](/ /g,'')[_0x1ffdde(0xf3)]()&&(_0x561925=_0x1ffdde(0x7f)+_0x561925+_0x1ffdde(0xf8)),this[_0x1ffdde(0xbe)][_0x1ffdde(0x112)]({'actionId':_0x3cbc7b,'query':_0x277768,'htmlContent':_0x561925,'label':_0x36999e,'mainActionLabel':_0x13fa0b[_0x74f69[_0x1ffdde(0xa1)][_0x1ffdde(0x124)][_0x1ffdde(0xb5)][_0x1ffdde(0xd1)]?_0x1ffdde(0xd6):_0x1ffdde(0xeb)]}),_0x1ffdde(0x89)!==this[_0x1ffdde(0x7d)]['id']?this[_0x1ffdde(0x7d)][_0x1ffdde(0xdc)]({'id':_0x1ffdde(0x89),'icon':_0x475697,'title':_0x5d78bc(this[_0x1ffdde(0xa5)][_0x1ffdde(0x95)],_0x1ffdde(0xdd)),'content':this[_0x1ffdde(0x101)],'position':_0x36e89b[_0x1ffdde(0x117)],'onShow':()=>{const _0x4dcef7=_0x1ffdde;this[_0x4dcef7(0x101)][_0x4dcef7(0x92)]();},'onHide':()=>{const _0x35f0ea=_0x1ffdde;this[_0x35f0ea(0xbe)][_0x35f0ea(0xf0)](),_0x3c034d[_0x35f0ea(0xc4)]();}}):this[_0x1ffdde(0x7d)][_0x1ffdde(0x8d)][_0x1ffdde(0xb8)]||this[_0x1ffdde(0x7d)][_0x1ffdde(0x8d)][_0x1ffdde(0x108)]();}[_0x1533c9(0xfc)](){const _0x2dec09=_0x1533c9;this[_0x2dec09(0x7d)][_0x2dec09(0xc5)]();}[_0x1533c9(0x129)](){const _0x1a39a9=_0x1533c9,_0x466b6a=new Map(),_0x203962=_0x432a7b(this[_0x1a39a9(0xa5)][_0x1a39a9(0xa2)][_0x1a39a9(0xe2)](_0x1a39a9(0x128)),this[_0x1a39a9(0xa5)][_0x1a39a9(0x95)]);for(const _0x41a399 of _0x203962)for(const _0xdbe5ce of _0x41a399[_0x1a39a9(0xaa)])_0x466b6a[_0x1a39a9(0x88)](_0xdbe5ce['id'],{..._0xdbe5ce,'groupId':_0x41a399[_0x1a39a9(0x109)],'groupLabel':_0x41a399[_0x1a39a9(0x96)]||_0x41a399[_0x1a39a9(0x109)]});return _0x466b6a;}[_0x1533c9(0x80)](_0x2f1268){const _0x23b9de=_0x1533c9,_0x293a38=this[_0x23b9de(0xa5)],_0x406d50=_0x293a38[_0x23b9de(0xaa)][_0x23b9de(0xe2)](_0x23b9de(0xd2)),_0x1727f6=new _0x2f1268(_0x293a38[_0x23b9de(0x95)]);return _0x1727f6[_0x23b9de(0x88)]({'label':_0x5d78bc(_0x293a38[_0x23b9de(0x95)],_0x23b9de(0xdd)),'icon':_0x475697,'isToggleable':!0x0}),_0x1727f6[_0x23b9de(0x10d)](_0x23b9de(0x9e))['to'](_0x406d50),_0x1727f6[_0x23b9de(0x10d)](_0x23b9de(0xb6))['to'](this[_0x23b9de(0x7d)],'id',_0x13e278=>_0x23b9de(0x89)===_0x13e278),this[_0x23b9de(0x9d)](_0x1727f6,_0x23b9de(0x116),()=>{const _0x509021=_0x23b9de;_0x1727f6[_0x509021(0xb6)]?this[_0x509021(0xfc)]():_0x406d50[_0x509021(0x116)]();}),_0x1727f6;}[_0x1533c9(0x10c)](){const _0x52007e=_0x1533c9,_0x37f10d=this[_0x52007e(0xa5)][_0x52007e(0xa6)][_0x52007e(0xe2)](_0x2bef2f);this[_0x52007e(0x101)]=new _0x44f31f(this[_0x52007e(0xa5)][_0x52007e(0x95)],this[_0x52007e(0x107)],this[_0x52007e(0xa5)][_0x52007e(0xa2)][_0x52007e(0xe2)](_0x52007e(0x90))),this[_0x52007e(0x101)]['on'](_0x52007e(0x125),()=>{const _0x3c9da4=_0x52007e;this[_0x3c9da4(0x7d)][_0x3c9da4(0x8d)][_0x3c9da4(0xb8)]||this[_0x3c9da4(0x7d)][_0x3c9da4(0x8d)][_0x3c9da4(0x108)]();}),this[_0x52007e(0x101)][_0x52007e(0xc6)][_0x52007e(0xb4)][_0x52007e(0x8b)]['on'](_0x52007e(0xa3),()=>{const _0x386c77=_0x52007e;this[_0x386c77(0x7d)][_0x386c77(0x8d)][_0x386c77(0xb8)]||this[_0x386c77(0x7d)][_0x386c77(0x8d)][_0x386c77(0x108)]();}),this[_0x52007e(0x9d)](this[_0x52007e(0x101)],_0x52007e(0x119),()=>{const _0xf05df7=_0x52007e;_0x37f10d[_0xf05df7(0x115)](this[_0xf05df7(0xbe)][_0xf05df7(0x127)]),this[_0xf05df7(0xfc)]();}),this[_0x52007e(0x9d)](this[_0x52007e(0x101)],_0x52007e(0xba),()=>{const _0x236ad3=_0x52007e;_0x37f10d[_0x236ad3(0xba)](this[_0x236ad3(0xbe)][_0x236ad3(0x127)]),this[_0x236ad3(0xfc)]();}),this[_0x52007e(0xd8)]();}[_0x1533c9(0xd8)](){const _0x10d702=_0x1533c9,{locale:_0x1bcf9d,ui:{ariaLiveAnnouncer:_0x4786f8}}=this[_0x10d702(0xa5)];this[_0x10d702(0x101)][_0x10d702(0xae)]['on'](_0x10d702(0x9a),(_0x3eaad9,_0x1ab83d,_0x5e2420)=>{const _0xfc2e78=_0x10d702,_0x3cac35=this[_0xfc2e78(0xbe)][_0xfc2e78(0x127)];_0x5e2420?_0x4786f8[_0xfc2e78(0x11b)](_0x5d78bc(_0x1bcf9d,_0xfc2e78(0x104))):_0x3cac35&&_0x4786f8[_0xfc2e78(0x11b)](_0x5d78bc(_0x1bcf9d,_0xfc2e78(0x83),_0x3cac35),{'politeness':_0xfc2e78(0xce),'isUnsafeHTML':!0x0});}),this[_0x10d702(0x101)]['on'](_0x10d702(0x94),(_0x8c243c,_0x1fe61b,_0x105922)=>{const _0x581121=_0x10d702;if(_0x105922){const _0xa30a44=this[_0x581121(0x101)][_0x581121(0xda)][_0x581121(0xe6)];_0x4786f8[_0x581121(0x11b)](_0x5d78bc(_0x1bcf9d,_0x581121(0xd3),_0xa30a44));}});}[_0x1533c9(0xd5)](_0x1aab7c){const _0x16bbc0=_0x1533c9,_0xbcdd92=this[_0x16bbc0(0x10b)][_0x16bbc0(0xe2)](_0x1aab7c),_0x217cb0=this[_0x16bbc0(0xa5)],_0x4696ce=_0x217cb0[_0x16bbc0(0xa1)][_0x16bbc0(0x124)][_0x16bbc0(0xb5)],_0x466770=_0x217cb0[_0x16bbc0(0xaa)][_0x16bbc0(0xe2)](_0x16bbc0(0xd2)),_0x949fe1=_0x217cb0[_0x16bbc0(0xa6)][_0x16bbc0(0xe2)](_0x2bef2f),_0xc792fd=''+(_0xbcdd92[_0x16bbc0(0x109)]!==_0x17c029?_0xbcdd92[_0x16bbc0(0x96)]+':\x20':'')+_0xbcdd92[_0x16bbc0(0x111)];if(!0x1!==_0xbcdd92[_0x16bbc0(0xdf)]&&_0x4696ce[_0x16bbc0(0xd1)]){const _0x81b630=_0x31c0b7(_0x4696ce[_0x16bbc0(0x126)]())||_0x217cb0[_0x16bbc0(0xa1)][_0x16bbc0(0xcb)][_0x16bbc0(0x8f)](_0x4696ce);_0x217cb0[_0x16bbc0(0xa1)][_0x16bbc0(0x84)](_0x9f53e=>{const _0x33ca53=_0x16bbc0;_0x9f53e[_0x33ca53(0x82)](_0x81b630,'in');});}_0x949fe1[_0x16bbc0(0x11a)](),_0x466770[_0x16bbc0(0x116)](_0xbcdd92[_0x16bbc0(0xf5)],_0xc792fd,_0x16bbc0(0x8c)+_0x1aab7c);}[_0x1533c9(0x103)](_0x45f25d,_0x2b51e6,_0x36dadc,_0x1b5a15){const _0x42f363=_0x1533c9,_0x481ae1=this[_0x42f363(0xa5)],_0x26eb30=_0x481ae1[_0x42f363(0x95)],_0x5dd0ef=new _0x42ae4f(_0x26eb30),_0x428a30=wi(_0x481ae1,_0x36dadc)[_0x42f363(0x8e)](_0x35241c=>_0x35241c[_0x42f363(0xaa)][_0x42f363(0x11c)]);0x1===_0x428a30[_0x42f363(0x11c)]?this[_0x42f363(0xc2)]({'command':_0x45f25d,'commands':_0x428a30[0x0][_0x42f363(0xaa)],'parentMenuView':_0x2b51e6,'onExecute':_0x1b5a15})[_0x42f363(0x122)](_0x5caf18=>_0x5dd0ef[_0x42f363(0x9f)][_0x42f363(0xf9)](_0x5caf18)):_0x428a30[_0x42f363(0x122)](({groupId:_0x2d2c11,groupLabel:_0x128b4c,commands:_0x2d5c02})=>{const _0x3e4fa3=_0x42f363,_0x4b021b=new _0x5041df(_0x26eb30,_0x2b51e6),_0x531746=new _0xe7f99d(_0x26eb30),_0x2050f8=new _0x42ae4f(_0x26eb30),_0x4f4bd4=this[_0x3e4fa3(0xc2)]({'command':_0x45f25d,'commands':_0x2d5c02,'parentMenuView':_0x531746,'onExecute':_0x1b5a15});_0x531746[_0x3e4fa3(0xad)][_0x3e4fa3(0x88)]({'label':_0x128b4c||_0x2d2c11}),_0x531746[_0x3e4fa3(0xca)](_0x3e4fa3(0x116))['to'](_0x2b51e6),_0x2050f8[_0x3e4fa3(0x9f)][_0x3e4fa3(0x8a)](_0x4f4bd4),_0x531746[_0x3e4fa3(0xc0)][_0x3e4fa3(0xa0)][_0x3e4fa3(0xf9)](_0x2050f8),_0x4b021b[_0x3e4fa3(0xa0)][_0x3e4fa3(0xf9)](_0x531746),_0x5dd0ef[_0x3e4fa3(0x9f)][_0x3e4fa3(0xf9)](_0x4b021b);}),_0x2b51e6[_0x42f363(0xc0)][_0x42f363(0xa0)][_0x42f363(0xf9)](_0x5dd0ef);}[_0x1533c9(0xc2)]({command:_0x9d6aff,commands:_0x312ef0,parentMenuView:_0x4b3f47,onExecute:_0x228dd3}){const _0x29c982=_0x1533c9,_0x3c9d78=this[_0x29c982(0xa5)],_0x5ed9db=_0x3c9d78[_0x29c982(0x95)];return wi(_0x3c9d78,_0x312ef0)[_0x29c982(0xb3)](_0x3d304a=>{const _0x3992ec=_0x29c982,_0x5c7404=new _0x5041df(_0x5ed9db,_0x4b3f47),_0x326198=new _0x33c6f8(_0x5ed9db);return _0x326198[_0x3992ec(0x88)]({'label':_0x3d304a[_0x3992ec(0x111)]}),_0x326198[_0x3992ec(0xca)](_0x3992ec(0x116))['to'](_0x4b3f47),_0x326198['on'](_0x3992ec(0x116),()=>_0x228dd3(_0x3d304a['id'])),_0x326198[_0x3992ec(0x10d)](_0x3992ec(0x9e))['to'](_0x9d6aff,_0x3992ec(0xf4),_0xf45d68=>_0xf45d68[_0x3992ec(0x105)](_0x3d304a['id'])),_0x5c7404[_0x3992ec(0xa0)][_0x3992ec(0xf9)](_0x326198),_0x5c7404;});}}function Ai(_0x4b07b4,_0x28e4ba){const _0x2c2075=_0x1533c9;return void 0x0!==_0x4b07b4[_0x2c2075(0xbf)]&&void 0x0===_0x28e4ba[_0x2c2075(0xbf)]?0x1:void 0x0===_0x4b07b4[_0x2c2075(0xbf)]&&void 0x0!==_0x28e4ba[_0x2c2075(0xbf)]?-0x1:void 0x0!==_0x4b07b4[_0x2c2075(0xbf)]&&void 0x0!==_0x28e4ba[_0x2c2075(0xbf)]?_0x4b07b4[_0x2c2075(0xbf)]-_0x28e4ba[_0x2c2075(0xbf)]:0x0;}function wi(_0x466e2a,_0x4988f8){const _0x507a13=_0x1533c9;_0x4988f8[_0x507a13(0xf1)](Ai);const _0x5b963c={},_0x19e7c3=[];for(const _0x1b802b of _0x4988f8)if(void 0x0!==_0x1b802b[_0x507a13(0xbf)]){if(_0x1b802b[_0x507a13(0xbf)]in _0x5b963c)throw new _0x2c17c9(_0x507a13(0x10f),_0x466e2a,{'conflictingDefinitions':[_0x1b802b,_0x5b963c[_0x1b802b[_0x507a13(0xbf)]]]});_0x5b963c[_0x1b802b[_0x507a13(0xbf)]]=_0x1b802b,_0x19e7c3[_0x507a13(0xfd)](_0x1b802b[_0x507a13(0xbf)],0x0,_0x1b802b);}else _0x19e7c3[_0x507a13(0xb2)](_0x1b802b);return _0x19e7c3;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x5b852b=_0x1ede;function _0x1ede(_0x4fa6be,_0x474acc){const _0x36ea76=_0x36ea();return _0x1ede=function(_0x1ede5e,_0x180451){_0x1ede5e=_0x1ede5e-0xb0;let _0x4aa6fb=_0x36ea76[_0x1ede5e];return _0x4aa6fb;},_0x1ede(_0x4fa6be,_0x474acc);}(function(_0x8b128f,_0x25c199){const _0x123134=_0x1ede,_0x2b585c=_0x8b128f();while(!![]){try{const _0x115cde=-parseInt(_0x123134(0xf6))/0x1*(-parseInt(_0x123134(0xe4))/0x2)+-parseInt(_0x123134(0xc8))/0x3*(parseInt(_0x123134(0x102))/0x4)+-parseInt(_0x123134(0xd7))/0x5+parseInt(_0x123134(0xe5))/0x6*(parseInt(_0x123134(0xef))/0x7)+-parseInt(_0x123134(0xb1))/0x8+parseInt(_0x123134(0xd4))/0x9+parseInt(_0x123134(0xb0))/0xa;if(_0x115cde===_0x25c199)break;else _0x2b585c['push'](_0x2b585c['shift']());}catch(_0x73e0da){_0x2b585c['push'](_0x2b585c['shift']());}}}(_0x36ea,0xb19d0));import{ObservableMixin as _0x40419b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x130c77}from'../adapters/aiadapter.js';import{Matcher as _0x1e2f93,ViewUpcastWriter as _0x5097b6}from'ckeditor5/src/engine.js';const xs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x40419b(){[_0x5b852b(0x101)];[_0x5b852b(0xdb)];[_0x5b852b(0xf4)];[_0x5b852b(0xee)];[_0x5b852b(0x111)];[_0x5b852b(0xc3)];constructor(_0x5bfdc2,_0x1d13f5,_0x24fc50){const _0x364046=_0x5b852b;super(),this[_0x364046(0x101)]=_0x5bfdc2,this[_0x364046(0xdb)]=_0x1d13f5,this[_0x364046(0xee)]=document[_0x364046(0xb8)](_0x364046(0x10c)),this[_0x364046(0x111)]=new DOMParser(),this[_0x364046(0xc3)]=new XMLSerializer(),this[_0x364046(0xf4)]=_0x24fc50,this[_0x364046(0x10b)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x364046(0xe0),(_0x8dd15e,_0x1c0795,_0x51a4e2)=>{const _0x4d6096=_0x364046;this[_0x4d6096(0xf4)][_0x4d6096(0x10f)]=this[_0x4d6096(0xdd)](_0x51a4e2);}),this[_0x364046(0xb6)](this[_0x364046(0xf4)],_0x364046(0xf1),(_0x118258,_0x46869c)=>{const _0x515654=_0x364046,_0x2d6882=this[_0x515654(0x100)]||this[_0x515654(0xb2)];this[_0x515654(0xcc)](_0x46869c,_0x2d6882,_0x515654(0xe8));}),this[_0x364046(0xb6)](this[_0x364046(0xf4)],_0x364046(0xbe),()=>{const _0x4d0d80=_0x364046;this[_0x4d0d80(0xf4)][_0x4d0d80(0xb4)]=this[_0x4d0d80(0xed)],this[_0x4d0d80(0xcc)](this[_0x4d0d80(0xd1)],this[_0x4d0d80(0x113)],this[_0x4d0d80(0xe2)],this[_0x4d0d80(0xed)]);}),this[_0x364046(0xb6)](this[_0x364046(0xf4)],_0x364046(0xca),()=>{const _0x3ce973=_0x364046;this[_0x3ce973(0xca)]();});}[_0x5b852b(0xc2)](){const _0xbc99d1=_0x5b852b;this[_0xbc99d1(0xcb)]();}async[_0x5b852b(0xd8)]({actionId:_0x3f1571,query:_0xe160db,htmlContent:_0x4e81c3,label:_0x5549d2,mainActionLabel:_0xdf4a77}){const _0x204347=_0x5b852b;this[_0x204347(0xf4)][_0x204347(0xb4)]=_0x5549d2,this[_0x204347(0xf4)][_0x204347(0xd0)]=_0xdf4a77,this[_0x204347(0xb2)]=_0x4e81c3,_0xe160db&&(this[_0x204347(0xf4)][_0x204347(0xcf)]?this[_0x204347(0xcc)](_0xe160db,_0x4e81c3,_0x3f1571,_0x5549d2):this[_0x204347(0xf4)][_0x204347(0xdf)](_0x204347(0xd2),()=>{const _0x5a5c10=_0x204347;this[_0x5a5c10(0xcc)](_0xe160db,_0x4e81c3,_0x3f1571,_0x5549d2);}));}[_0x5b852b(0xca)](){const _0xf0b401=_0x5b852b;this[_0xf0b401(0xce)]&&(this[_0xf0b401(0xce)]=!0x1,this[_0xf0b401(0xf4)][_0xf0b401(0xf7)](),this[_0xf0b401(0xdb)][_0xf0b401(0xea)]());}[_0x5b852b(0xfb)](){const _0x416288=_0x5b852b;this[_0x416288(0xb2)]='',this[_0x416288(0x100)]='',this[_0x416288(0xe9)]='',this[_0x416288(0x113)]='',this[_0x416288(0xd1)]='',this[_0x416288(0xed)]='',this[_0x416288(0xe2)]=void 0x0,this[_0x416288(0xf4)][_0x416288(0xfb)](),this[_0x416288(0xca)]();}async[_0x5b852b(0xcc)](_0x1bf8ec,_0x438c4e,_0x35ac3a,_0x299164){const _0x16f5e0=_0x5b852b;return this[_0x16f5e0(0xce)]=!0x0,this[_0x16f5e0(0xf4)][_0x16f5e0(0xc0)](),this[_0x16f5e0(0x113)]=_0x438c4e,this[_0x16f5e0(0xd1)]=_0x1bf8ec,this[_0x16f5e0(0xed)]=_0x299164||_0x1bf8ec,this[_0x16f5e0(0xe2)]=_0x35ac3a,new Promise(_0x4e3644=>{const _0x48bb9d=_0x16f5e0;this[_0x48bb9d(0xdb)][_0x48bb9d(0xfa)]({'query':_0x1bf8ec,'context':_0x438c4e,'onData':_0x271c43=>{const _0xb3688e=_0x48bb9d;this[_0xb3688e(0xe9)]=_0x271c43,this[_0xb3688e(0x100)]=this[_0xb3688e(0x110)](this[_0xb3688e(0xe9)]);},'actionId':_0x35ac3a})[_0x48bb9d(0xf2)](()=>{const _0x131867=_0x48bb9d;!this[_0x131867(0x100)]&&this[_0x131867(0xe9)]&&(this[_0x131867(0x100)]=this[_0x131867(0x110)](this[_0x131867(0xe9)],!0x0));})[_0x48bb9d(0xf8)](_0x1cdc39=>{const _0x4eb264=_0x48bb9d;_0x1cdc39 instanceof _0x130c77?this[_0x4eb264(0xf4)][_0x4eb264(0x112)](_0x1cdc39[_0x4eb264(0xff)]):this[_0x4eb264(0xf4)][_0x4eb264(0x112)](),_0x4e3644();})[_0x48bb9d(0xde)](()=>{const _0x30df2b=_0x48bb9d;this[_0x30df2b(0xca)](),_0x4e3644();});});}[_0x5b852b(0x110)](_0x27e6e4,_0x3a3372=!0x1){const _0x514b8b=_0x5b852b,_0xa2506b=xs[_0x514b8b(0x10e)](_0x27e6e4);_0x27e6e4=_0xa2506b?_0x27e6e4[_0x514b8b(0xc7)](_0xa2506b[0x1][_0x514b8b(0xd3)]):_0x27e6e4[_0x514b8b(0xd3)]<0x64&&!_0x3a3372?'':this[_0x514b8b(0xc4)](_0x27e6e4);const _0x48fa73=this[_0x514b8b(0x111)][_0x514b8b(0xe7)](_0x27e6e4,_0x514b8b(0x105));if(_0xa2506b){const _0x2d7a8a=Array[_0x514b8b(0x103)](_0x48fa73[_0x514b8b(0x106)][_0x514b8b(0xc5)]);_0x2d7a8a[_0x514b8b(0xf3)]();for(const _0x3d0001 of _0x2d7a8a){if(_0x3d0001[_0x514b8b(0xdc)]==Node[_0x514b8b(0xbb)])break;_0x3d0001[_0x514b8b(0xda)]();}}const _0x13f70b=this[_0x514b8b(0x101)][_0x514b8b(0xb5)][_0x514b8b(0x107)][_0x514b8b(0xec)](this[_0x514b8b(0xc3)][_0x514b8b(0xeb)](_0x48fa73[_0x514b8b(0x106)]));this[_0x514b8b(0xf0)]()||this[_0x514b8b(0xe1)](_0x13f70b);const _0x3d923b=this[_0x514b8b(0x101)][_0x514b8b(0x10d)][_0x514b8b(0xcd)](_0x514b8b(0xbd)),_0x58300d=this[_0x514b8b(0x101)][_0x514b8b(0xb5)][_0x514b8b(0x104)](_0x13f70b);return _0x3d923b||_0x58300d[_0x514b8b(0xfd)][_0x514b8b(0xba)](),this[_0x514b8b(0x101)][_0x514b8b(0xb5)][_0x514b8b(0xd9)](_0x58300d);}[_0x5b852b(0xe1)](_0x22e2a5){const _0x7cdacc=_0x5b852b,_0x48fdc5=new _0x5097b6(this[_0x7cdacc(0x101)][_0x7cdacc(0xb7)][_0x7cdacc(0xf4)][_0x7cdacc(0xc9)]),_0x581ae2=new _0x1e2f93({'name':/^h[1-5]$/}),_0x602751=[];let _0x4d5389=!0x1;for(const _0x2f51d9 of _0x22e2a5)_0x2f51d9['is'](_0x7cdacc(0xf5))&&_0x581ae2[_0x7cdacc(0xf9)](_0x2f51d9)&&(_0x602751[_0x7cdacc(0x10a)](_0x2f51d9),'h1'==_0x2f51d9[_0x7cdacc(0xbc)]&&(_0x4d5389=!0x0));if(_0x4d5389){for(const _0x21a787 of _0x602751)_0x48fdc5[_0x7cdacc(0xb9)]('h'+(parseInt(_0x21a787[_0x7cdacc(0xbc)][0x1])+0x1),_0x21a787);}}[_0x5b852b(0xf0)](){const _0x2777d9=_0x5b852b,{data:_0x94aa0a,editing:_0x5ea49e}=this[_0x2777d9(0x101)],_0x42110e=_0x94aa0a[_0x2777d9(0xd6)][_0x2777d9(0xec)](_0x2777d9(0xfe)),_0x229cb5=_0x94aa0a[_0x2777d9(0xec)](_0x94aa0a[_0x2777d9(0x104)](_0x42110e));return!!_0x5ea49e[_0x2777d9(0xf4)][_0x2777d9(0xbf)][_0x2777d9(0x109)](_0x229cb5)[_0x2777d9(0xd5)]('h1');}[_0x5b852b(0xdd)](_0x1a88d3){const _0x2f3c35=_0x5b852b;return this[_0x2f3c35(0x101)][_0x2f3c35(0xb7)][_0x2f3c35(0xf4)][_0x2f3c35(0xbf)][_0x2f3c35(0xb3)](this[_0x2f3c35(0xee)],_0x1a88d3),this[_0x2f3c35(0xee)][_0x2f3c35(0xc1)];}[_0x5b852b(0xc4)](_0x4c0c7e){const _0x3448e3=_0x5b852b,_0x1e8ce3=_0x4c0c7e[_0x3448e3(0x108)]();return _0x1e8ce3[_0x3448e3(0xc6)](_0x3448e3(0xfc))?_0x1e8ce3[_0x3448e3(0xe6)](_0x3448e3(0xe3))?_0x1e8ce3[_0x3448e3(0xc7)](0x7,_0x1e8ce3[_0x3448e3(0xd3)]-0x3):_0x1e8ce3[_0x3448e3(0xc7)](0x7):_0x4c0c7e;}}function _0x36ea(){const _0x33ad4b=['config','exec','value','_parseAndNormalizeContent','_domParser','handleError','previousContext','631820TprgVU','585536EXhXzH','initialContext','setContentOf','prompt','data','listenTo','editing','createElement','rename','clear','ELEMENT_NODE','name','ai.assistant.preserveComments','tryAgainEvent','domConverter','startProcessing','innerHTML','destroy','_xmlSerializer','_stripMarkdownSyntax','childNodes','startsWith','substring','3pMJHvi','document','stopProcessing','stopListening','_handleQuery','get','isProcessing','isRendered','mainAction','previousQuery','render','length','12072195SNesap','querySelector','htmlProcessor','6043640JkiMxP','updateView','stringify','remove','textAdapter','nodeType','_sanitizeHTML','finally','once','set:currentContext','_normalizeResponseHeadings','previousActionId','```','28VbzJLj','251148Salpkh','endsWith','parseFromString','custom','currentResponse','abort','serializeToString','toView','previousLabel','_sanitizationContainer','161emFerS','_isH1TagSupportEnabled','submitPrompt','then','reverse','view','element','3797zcRINX','finishProcessing','catch','match','makeRequest','reset','```html','markers','<h1></h1>','message','currentContext','editor','1644020WKKcIg','from','toModel','text/html','body','processor','trim','viewToDom','push','set','div'];_0x36ea=function(){return _0x33ad4b;};return _0x36ea();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcbe57a=_0x5ddb;function _0x5ddb(_0x473786,_0x2407ca){const _0x3e6f61=_0x3e6f();return _0x5ddb=function(_0x5ddbf7,_0x228337){_0x5ddbf7=_0x5ddbf7-0x172;let _0xfbad3=_0x3e6f61[_0x5ddbf7];return _0xfbad3;},_0x5ddb(_0x473786,_0x2407ca);}function _0x3e6f(){const _0xf927e4=['firstElementChild','div','render','execute','smooth','createElement','24XXUwbA','ck-ai-form__content-field','querySelector','31603bZdtpV','addRange','mousedown','AI\x20is\x20writing...','body','wheel','3113176mVQpzc','<span>]</span>','icon','ClipboardItem','_copyHTMLToClipboard','isProcessing','appendLoader','value','scrollHeight','ck-hidden','getSelection','ck-ai-form__content-area-wrapper','textContent','3180XRArNP','-9999px','innerHTML','ck-ai-form__content-area--processing','focus','execCommand','ck-ai-form__loader','lastElementChild','ck-ai-form__copy-button','locale','change:isProcessing','setContent','write','\x20ck-ai-form__copy-button--copied','_createCopyButton','contentFieldView','166189mjRRjf','style','bind','change:value','1086ZcAnrQ','6591767JgZFDk','removeAllRanges','left','copyButtonView','Copy','appendChild','setStartAfter','ck-content','element','ck-ai-form__copy-button-wrapper','4bVGGPl','9hzydeH','.ck-ai-form__loader','18605HaipIH','<span>[</span>','415635gEyZhq','ck-ai-form__content-area','46964364ipUdrS','setEndBefore','position','class','_createLoader','scrollTo','createRange','ck-reset_all-excluded','setTemplate','loaderView','absolute','bindTemplate','text/html','copy','set','text/plain','isVisible','clipboard','isEnabled','remove','listenTo'];_0x3e6f=function(){return _0xf927e4;};return _0x3e6f();}(function(_0x3cb779,_0x3a47e0){const _0x174158=_0x5ddb,_0xe30077=_0x3cb779();while(!![]){try{const _0x37dcbb=-parseInt(_0x174158(0x1c2))/0x1*(-parseInt(_0x174158(0x17a))/0x2)+-parseInt(_0x174158(0x17f))/0x3*(parseInt(_0x174158(0x19c))/0x4)+parseInt(_0x174158(0x17d))/0x5*(-parseInt(_0x174158(0x1c6))/0x6)+-parseInt(_0x174158(0x1c7))/0x7+parseInt(_0x174158(0x1a5))/0x8*(-parseInt(_0x174158(0x17b))/0x9)+-parseInt(_0x174158(0x1b2))/0xa*(parseInt(_0x174158(0x19f))/0xb)+parseInt(_0x174158(0x181))/0xc;if(_0x37dcbb===_0x3a47e0)break;else _0xe30077['push'](_0xe30077['shift']());}catch(_0x20d75b){_0xe30077['push'](_0xe30077['shift']());}}}(_0x3e6f,0x794de));import{global as _0x55c7c9}from'ckeditor5/src/utils.js';import{View as _0x1f225f,ButtonView as _0x22a39b,SpinnerView as _0x133e10}from'ckeditor5/src/ui.js';import{IconCheck as _0x163bdb,IconCopy as _0x40b15c}from'ckeditor5/src/icons.js';import{getTranslation as _0xe4d565}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x1f225f{[_0xcbe57a(0x1c1)];[_0xcbe57a(0x173)];constructor(_0x34077b,_0x54b433=''){const _0x389d14=_0xcbe57a;super(_0x34077b),this[_0x389d14(0x18f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xe8a672=this[_0x389d14(0x18c)];this[_0x389d14(0x1c1)]=new ContentFieldView(_0x34077b,_0x54b433),this[_0x389d14(0x173)]=this[_0x389d14(0x1c0)](),this[_0x389d14(0x189)]({'tag':_0x389d14(0x197),'attributes':{'class':['ck',_0x389d14(0x1b0),_0xe8a672['if'](_0x389d14(0x191),_0x389d14(0x1ae),_0x1cd32c=>!_0x1cd32c)],'tabindex':'-1'},'children':[{'tag':_0x389d14(0x197),'attributes':{'class':['ck',_0x389d14(0x180),_0xe8a672['if'](_0x389d14(0x1aa),_0x389d14(0x1b5))]},'children':[this[_0x389d14(0x1c1)],{'tag':_0x389d14(0x197),'attributes':{'class':['ck',_0x389d14(0x179)]},'children':[this[_0x389d14(0x173)]]}]}]});}[_0xcbe57a(0x198)](){const _0x46bc5d=_0xcbe57a;super[_0x46bc5d(0x198)](),this[_0x46bc5d(0x1ac)]&&this[_0x46bc5d(0x1c1)][_0x46bc5d(0x1bd)](this[_0x46bc5d(0x1ac)]);let _0x875524=!0x1;this['on'](_0x46bc5d(0x1c5),(_0x380d65,_0x203778,_0x20027a)=>{const _0xddce64=_0x46bc5d,_0x373815=!this[_0xddce64(0x1c1)][_0xddce64(0x178)][_0xddce64(0x19e)](_0xddce64(0x17c));this[_0xddce64(0x1c1)][_0xddce64(0x1bd)](_0x20027a),this[_0xddce64(0x1aa)]&&_0x373815&&!_0x875524&&this[_0xddce64(0x178)][_0xddce64(0x186)]({'top':this[_0xddce64(0x178)][_0xddce64(0x1ad)],'behavior':_0xddce64(0x19a)});}),this['on'](_0x46bc5d(0x1bc),(_0x527c44,_0x5d7846,_0x35e831)=>{const _0x142726=_0x46bc5d;_0x875524=!0x1,_0x35e831?(this[_0x142726(0x1ac)]=null,this[_0x142726(0x1c1)][_0x142726(0x1ab)]()):this[_0x142726(0x1ac)]||this[_0x142726(0x1c1)][_0x142726(0x1bd)]('');}),this[_0x46bc5d(0x195)](this[_0x46bc5d(0x178)],_0x46bc5d(0x1a4),()=>{_0x875524=!0x0;}),this[_0x46bc5d(0x195)](this[_0x46bc5d(0x178)],_0x46bc5d(0x1a1),()=>{_0x875524=!0x0;});}[_0xcbe57a(0x1b6)](){const _0xcb150f=_0xcbe57a;this[_0xcb150f(0x178)][_0xcb150f(0x1b6)]();}[_0xcbe57a(0x1c0)](){const _0x449aa1=_0xcbe57a,_0x1b6faf=this[_0x449aa1(0x1bb)],_0x234a15=new _0x22a39b(this[_0x449aa1(0x1bb)]),_0x349baf=_0x449aa1(0x1ba);return _0x234a15[_0x449aa1(0x18f)]({'label':_0xe4d565(_0x1b6faf,_0x449aa1(0x174)),'icon':_0x40b15c,'class':_0x349baf,'tooltip':!0x0}),_0x234a15[_0x449aa1(0x1c4)](_0x449aa1(0x191))['to'](this,_0x449aa1(0x1ac),_0x2da136=>!!_0x2da136),_0x234a15[_0x449aa1(0x1c4)](_0x449aa1(0x193))['to'](this,_0x449aa1(0x1aa),_0x34eff4=>!_0x34eff4),_0x234a15['on'](_0x449aa1(0x199),()=>{const _0xca22d6=_0x449aa1;this[_0xca22d6(0x1a9)](this[_0xca22d6(0x1c1)][_0xca22d6(0x178)]),_0x234a15[_0xca22d6(0x1a7)]=_0x163bdb,_0x234a15[_0xca22d6(0x184)]=_0x349baf+_0xca22d6(0x1bf),this[_0xca22d6(0x1b6)](),setTimeout(()=>{const _0x7c003=_0xca22d6;_0x234a15[_0x7c003(0x1a7)]=_0x40b15c,_0x234a15[_0x7c003(0x184)]=_0x349baf;},0x3e8);}),_0x234a15;}[_0xcbe57a(0x1a9)](_0x329ad6){const _0x30a62c=_0xcbe57a,{window:_0x2e4108,document:_0x3e7aad}=_0x55c7c9;if(_0x2e4108[_0x30a62c(0x1a8)]){const {Blob:_0x238c3b,ClipboardItem:_0x15326c}=_0x2e4108,_0x254201=[new _0x15326c({'text/html':new _0x238c3b([_0x329ad6[_0x30a62c(0x1b4)]],{'type':_0x30a62c(0x18d)}),'text/plain':new _0x238c3b([_0x329ad6[_0x30a62c(0x1b1)]||''],{'type':_0x30a62c(0x190)})})];navigator[_0x30a62c(0x192)][_0x30a62c(0x1be)](_0x254201);}else{const _0x368607=_0x3e7aad[_0x30a62c(0x19b)](_0x30a62c(0x197));_0x368607[_0x30a62c(0x1c3)][_0x30a62c(0x183)]=_0x30a62c(0x18b),_0x368607[_0x30a62c(0x1c3)][_0x30a62c(0x172)]=_0x30a62c(0x1b3),_0x368607[_0x30a62c(0x1b4)]=_0x30a62c(0x17e)+_0x329ad6[_0x30a62c(0x1b4)]+_0x30a62c(0x1a6),_0x3e7aad[_0x30a62c(0x1a3)][_0x30a62c(0x175)](_0x368607);const _0x93ca66=_0x3e7aad[_0x30a62c(0x187)]();_0x93ca66[_0x30a62c(0x176)](_0x368607[_0x30a62c(0x196)]),_0x93ca66[_0x30a62c(0x182)](_0x368607[_0x30a62c(0x1b9)]);const _0x18b0fe=_0x2e4108[_0x30a62c(0x1af)]();_0x18b0fe[_0x30a62c(0x1c8)](),_0x18b0fe[_0x30a62c(0x1a0)](_0x93ca66),_0x3e7aad[_0x30a62c(0x1b7)](_0x30a62c(0x18e)),_0x368607[_0x30a62c(0x194)]();}}}export class ContentFieldView extends _0x1f225f{constructor(_0x185f4b,_0x502452=''){const _0x16f594=_0xcbe57a;super(_0x185f4b),this[_0x16f594(0x18a)]=this[_0x16f594(0x185)](),this[_0x16f594(0x189)]({'tag':_0x16f594(0x197),'attributes':{'class':['ck',_0x16f594(0x177),_0x502452,_0x16f594(0x188),_0x16f594(0x19d)]}});}[_0xcbe57a(0x1bd)](_0x39e195){const _0x4d343a=_0xcbe57a;this[_0x4d343a(0x178)][_0x4d343a(0x1b4)]=_0x39e195;}[_0xcbe57a(0x1ab)](){const _0x1a9a2a=_0xcbe57a;this[_0x1a9a2a(0x178)][_0x1a9a2a(0x175)](this[_0x1a9a2a(0x18a)][_0x1a9a2a(0x178)]);}[_0xcbe57a(0x185)](){const _0x2f255d=_0xcbe57a,_0x498482=new _0x1f225f(),_0x30ce28=this[_0x2f255d(0x1bb)],_0x1a05f9=new _0x133e10();return _0x1a05f9[_0x2f255d(0x191)]=!0x0,_0x498482[_0x2f255d(0x189)]({'tag':_0x2f255d(0x197),'attributes':{'class':['ck',_0x2f255d(0x1b8)]},'children':[_0x1a05f9,{'text':_0xe4d565(_0x30ce28,_0x2f255d(0x1a2))}]}),_0x498482[_0x2f255d(0x198)](),_0x498482;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x23b0a4,_0xf9bc9d){const _0x4bc432=_0x18cf,_0x9b55f6=_0x23b0a4();while(!![]){try{const _0x2ee9a0=-parseInt(_0x4bc432(0x1d7))/0x1*(parseInt(_0x4bc432(0x1cc))/0x2)+parseInt(_0x4bc432(0x1cf))/0x3*(-parseInt(_0x4bc432(0x1d8))/0x4)+-parseInt(_0x4bc432(0x1d6))/0x5*(-parseInt(_0x4bc432(0x1d3))/0x6)+-parseInt(_0x4bc432(0x1d2))/0x7+-parseInt(_0x4bc432(0x1d5))/0x8*(parseInt(_0x4bc432(0x1d4))/0x9)+parseInt(_0x4bc432(0x1dd))/0xa+parseInt(_0x4bc432(0x1cb))/0xb*(parseInt(_0x4bc432(0x1da))/0xc);if(_0x2ee9a0===_0xf9bc9d)break;else _0x9b55f6['push'](_0x9b55f6['shift']());}catch(_0x277e14){_0x9b55f6['push'](_0x9b55f6['shift']());}}}(_0x1efb,0x2b91c));function _0x1efb(){const _0x17e6a4=['text','content','3420360lBiBAi','1771rHqMUL','964lGHKCl','bindTemplate','ck-ai-form__error','81rHYIdR','setTemplate','div','130634OwUcSf','6UiFgVO','9PTZBGX','1254664BDGWqn','932675EeKraH','138yyRsni','25484oMOGtU','set','4764ttYBjL'];_0x1efb=function(){return _0x17e6a4;};return _0x1efb();}import{IconError as _0x13a36d}from'ckeditor5/src/icons.js';import{View as _0x27876e,IconView as _0x1cc2ec}from'ckeditor5/src/ui.js';function _0x18cf(_0x1b2f3e,_0x2284ab){const _0x1efbe3=_0x1efb();return _0x18cf=function(_0x18cf40,_0x2aa06e){_0x18cf40=_0x18cf40-0x1cb;let _0x44a72e=_0x1efbe3[_0x18cf40];return _0x44a72e;},_0x18cf(_0x1b2f3e,_0x2284ab);}export class AIFormErrorView extends _0x27876e{constructor(_0x36c1ea,_0x326055=''){const _0x48992a=_0x18cf;super(_0x36c1ea);const _0x5d4edd=new _0x1cc2ec(),_0x412005=this[_0x48992a(0x1cd)];this[_0x48992a(0x1d9)](_0x48992a(0x1db),_0x326055),_0x5d4edd[_0x48992a(0x1dc)]=_0x13a36d,this[_0x48992a(0x1d0)]({'tag':_0x48992a(0x1d1),'attributes':{'class':['ck',_0x48992a(0x1ce)]},'children':[_0x5d4edd,{'text':_0x412005['to'](_0x48992a(0x1db))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26bdee=_0x4ed1;function _0x4ed1(_0x5665ba,_0x224f27){const _0x55d7de=_0x55d7();return _0x4ed1=function(_0x4ed1ea,_0x55377c){_0x4ed1ea=_0x4ed1ea-0x190;let _0x4dcb5a=_0x55d7de[_0x4ed1ea];return _0x4dcb5a;},_0x4ed1(_0x5665ba,_0x224f27);}(function(_0x4316c4,_0x3207de){const _0x4e1d41=_0x4ed1,_0x109e2b=_0x4316c4();while(!![]){try{const _0x4825f7=-parseInt(_0x4e1d41(0x1c1))/0x1*(-parseInt(_0x4e1d41(0x19f))/0x2)+-parseInt(_0x4e1d41(0x1be))/0x3+parseInt(_0x4e1d41(0x194))/0x4*(parseInt(_0x4e1d41(0x1ac))/0x5)+parseInt(_0x4e1d41(0x1b2))/0x6*(parseInt(_0x4e1d41(0x1bb))/0x7)+parseInt(_0x4e1d41(0x1a9))/0x8+-parseInt(_0x4e1d41(0x1a7))/0x9+-parseInt(_0x4e1d41(0x1ab))/0xa*(parseInt(_0x4e1d41(0x1b0))/0xb);if(_0x4825f7===_0x3207de)break;else _0x109e2b['push'](_0x109e2b['shift']());}catch(_0x4c73c9){_0x109e2b['push'](_0x109e2b['shift']());}}}(_0x55d7,0x4783a));import{Rect as _0x446e29,global as _0x25c779,isVisible as _0x4ad217}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x5cf8eb,IconSubmit as _0x1c25f7}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2605a6,ButtonView as _0x394bf3}from'ckeditor5/src/ui.js';import{getTranslation as _0x595919}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2605a6{[_0x26bdee(0x19b)];[_0x26bdee(0x1a6)];constructor(_0x2996b6,_0x299d8f){const _0x476fe1=_0x26bdee;super(_0x2996b6,_0x299d8f),this[_0x476fe1(0x1a3)][_0x476fe1(0x19e)][_0x476fe1(0x1a4)]=0x1,this[_0x476fe1(0x1a3)][_0x476fe1(0x19e)][_0x476fe1(0x1b6)]=0x3,this[_0x476fe1(0x19b)]=this[_0x476fe1(0x192)](),this[_0x476fe1(0x1a6)]=this[_0x476fe1(0x196)](),this[_0x476fe1(0x1a5)][_0x476fe1(0x1ba)](this[_0x476fe1(0x1a6)],0x1),this[_0x476fe1(0x1a5)][_0x476fe1(0x1ba)](this[_0x476fe1(0x19b)]);}[_0x26bdee(0x1b1)](){const _0x58853c=_0x26bdee;super[_0x58853c(0x1b1)](),this[_0x58853c(0x1a3)][_0x58853c(0x1b8)][_0x58853c(0x1ba)](this[_0x58853c(0x1a6)]),this[_0x58853c(0x195)][_0x58853c(0x1ba)](this[_0x58853c(0x19b)]),this[_0x58853c(0x197)][_0x58853c(0x1c5)](_0x58853c(0x1a8),(_0x1e844c,_0x2ee9d1)=>{const _0x1d08c2=_0x58853c;_0x1e844c[_0x1d08c2(0x1bf)]==this[_0x1d08c2(0x1a3)][_0x1d08c2(0x19e)][_0x1d08c2(0x198)]&&(this[_0x1d08c2(0x1c3)](),_0x2ee9d1());});}[_0x26bdee(0x192)](){const _0x50f61e=_0x26bdee,_0x455f86=new _0x394bf3(this[_0x50f61e(0x191)]),_0x544183=this[_0x50f61e(0x191)];return _0x455f86[_0x50f61e(0x1c5)]({'icon':_0x1c25f7,'label':_0x595919(_0x544183,_0x50f61e(0x1a1)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x50f61e(0x193)}),_0x455f86['on'](_0x50f61e(0x1c2),()=>{const _0x2d7531=_0x50f61e;this[_0x2d7531(0x1c3)]();}),_0x455f86[_0x50f61e(0x190)](_0x50f61e(0x19a))['to'](this[_0x50f61e(0x1a3)][_0x50f61e(0x19e)],_0x50f61e(0x1a2),this,_0x50f61e(0x19a),(_0x2d123a,_0x4c7215)=>!_0x2d123a&&_0x4c7215),_0x455f86;}[_0x26bdee(0x196)](){const _0x2456de=_0x26bdee,_0x102a6e=new _0x394bf3(this[_0x2456de(0x191)]),_0xdbb637=this[_0x2456de(0x1b5)],_0x29174f=this[_0x2456de(0x191)];_0x102a6e[_0x2456de(0x1c5)]({'label':_0x595919(_0x29174f,_0x2456de(0x1ca)),'withText':!0x1,'icon':_0x5cf8eb,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2456de(0x1b4)}),_0x102a6e[_0x2456de(0x190)](_0x2456de(0x1c9))['to'](_0xdbb637,_0x2456de(0x1ae)),_0x102a6e[_0x2456de(0x190)](_0x2456de(0x19a))['to'](this,_0x2456de(0x19a)),_0x102a6e['on'](_0x2456de(0x1c2),()=>{const _0x1b7f25=_0x2456de;_0xdbb637[_0x1b7f25(0x1ae)]=!_0xdbb637[_0x1b7f25(0x1ae)],_0xdbb637[_0x1b7f25(0x1ae)]?this[_0x1b7f25(0x1c0)][_0x1b7f25(0x1b9)]():this[_0x1b7f25(0x1b9)]();});const _0x283a49=()=>{const _0x171086=_0x2456de;_0x25c779[_0x171086(0x1ad)][_0x171086(0x1c6)](()=>{const _0x458b83=_0x171086;if(_0x4ad217(this[_0x458b83(0x198)])){const _0x1da12d=new _0x446e29(this[_0x458b83(0x1a3)][_0x458b83(0x19e)][_0x458b83(0x198)]),_0x1654b9=_0x1da12d[_0x458b83(0x1b7)],_0x4c921f=_0x458b83(0x199)===_0x29174f[_0x458b83(0x1af)]?_0x458b83(0x1bc):_0x458b83(0x1c7);_0x1da12d[_0x458b83(0x1bd)](),_0x102a6e[_0x458b83(0x198)][_0x458b83(0x1c4)][_0x4c921f]=_0x1654b9-_0x1da12d[_0x458b83(0x1b7)]+0x1+'px';}});};return this[_0x2456de(0x1a3)][_0x2456de(0x19e)]['on'](_0x2456de(0x1aa),_0x283a49),this['on'](_0x2456de(0x1b1),_0x283a49),_0x102a6e;}[_0x26bdee(0x1c3)](){const _0x49cfed=_0x26bdee,_0xb00212=this[_0x49cfed(0x1a3)][_0x49cfed(0x19e)][_0x49cfed(0x198)][_0x49cfed(0x19d)];this[_0x49cfed(0x1c8)](_0x49cfed(0x1c3),_0xb00212);}[_0x26bdee(0x1b9)](_0x449a0b){const _0x4a3fc6=_0x26bdee;-0x1===_0x449a0b?this[_0x4a3fc6(0x19c)][_0x4a3fc6(0x1b3)]():this[_0x4a3fc6(0x19c)][_0x4a3fc6(0x1a0)]();}}function _0x55d7(){const _0x4bfc2d=['_createSubmitButton','ck-ai-form__submit','1056052xgRxbJ','children','_createShowHistoryButton','keystrokes','element','rtl','isEnabled','submitButtonView','focusCycler','value','fieldView','80282KNcXSS','focusFirst','Submit','isEmpty','queryView','minRows','focusableChildren','showHistoryButtonView','3300831DadcQD','enter','2472912LqNhwO','update','1579530cjrIPi','5IfAqRV','window','isVisible','uiLanguageDirection','11dvPNXt','render','596454IZigEq','focusLast','ck-ai-form__toggle-history','resultsView','maxRows','width','fieldWrapperChildren','focus','add','21SbHUeW','left','excludeScrollbarsAndBorders','1004121rNPXHt','target','filteredView','7XZjZYA','execute','submit','style','set','requestAnimationFrame','right','fire','isOn','History','bind','locale'];_0x55d7=function(){return _0x4bfc2d;};return _0x55d7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22322a=_0x2200;function _0x2200(_0xaed6f6,_0xba9f1d){const _0x5e2506=_0x5e25();return _0x2200=function(_0x2200fd,_0x381085){_0x2200fd=_0x2200fd-0x16d;let _0x2474e5=_0x5e2506[_0x2200fd];return _0x2474e5;},_0x2200(_0xaed6f6,_0xba9f1d);}function _0x5e25(){const _0x2e1c4d=['bindTemplate','isVisible','bind','385865mhVPLL','locale','mainAction','720036KpaPty','6sRDxuU','set','extendTemplate','_createButton','ck-button-action','54406iPykDa','Insert\x20below','14vGCMzc','Try\x20again','items','tryAgainButton','label','1065496uiuviM','1HDqWNz','insert','250lxkmak','replace','_CONTENT','428577WAASTl','Stop','ck-hidden','AI_','ck-ai-form__toolbar','replaceButton','19784cOdXvX','addMany','toUpperCase','insertButton','REPLACE','1212426SRNeki','stopButton'];_0x5e25=function(){return _0x2e1c4d;};return _0x5e25();}(function(_0x185978,_0x1b6a2e){const _0x516d66=_0x2200,_0x234ff6=_0x185978();while(!![]){try{const _0x4f4ef6=parseInt(_0x516d66(0x173))/0x1*(parseInt(_0x516d66(0x17e))/0x2)+parseInt(_0x516d66(0x178))/0x3+parseInt(_0x516d66(0x18b))/0x4+parseInt(_0x516d66(0x188))/0x5*(parseInt(_0x516d66(0x18c))/0x6)+-parseInt(_0x516d66(0x16d))/0x7*(parseInt(_0x516d66(0x172))/0x8)+parseInt(_0x516d66(0x183))/0x9+-parseInt(_0x516d66(0x175))/0xa*(parseInt(_0x516d66(0x191))/0xb);if(_0x4f4ef6===_0x1b6a2e)break;else _0x234ff6['push'](_0x234ff6['shift']());}catch(_0x2dd4f5){_0x234ff6['push'](_0x234ff6['shift']());}}}(_0x5e25,0x25bff));import{ToolbarView as _0x211871,ButtonView as _0x3ae2bf}from'ckeditor5/src/ui.js';import{getTranslation as _0x45e026}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x22322a(0x176),'INSERT':_0x22322a(0x174)};export class AIFormToolbarView extends _0x211871{constructor(_0x24f1a5){const _0x33e374=_0x22322a;super(_0x24f1a5),this[_0x33e374(0x18d)](_0x33e374(0x186),!0x1),this[_0x33e374(0x18d)](_0x33e374(0x18a),AIFormToolbarViewMainActionLabel[_0x33e374(0x182)]),this[_0x33e374(0x17d)]=this[_0x33e374(0x18f)]('',_0x33e374(0x190)),this[_0x33e374(0x17d)][_0x33e374(0x187)](_0x33e374(0x171))['to'](this,_0x33e374(0x18a),_0x471f77=>_0x45e026(_0x24f1a5,_0x33e374(0x17b)+_0x471f77[_0x33e374(0x180)]()+_0x33e374(0x177))),this[_0x33e374(0x181)]=this[_0x33e374(0x18f)](_0x45e026(_0x24f1a5,_0x33e374(0x192))),this[_0x33e374(0x170)]=this[_0x33e374(0x18f)](_0x45e026(_0x24f1a5,_0x33e374(0x16e))),this[_0x33e374(0x184)]=this[_0x33e374(0x18f)](_0x45e026(_0x24f1a5,_0x33e374(0x179)));const _0x12a97e=this[_0x33e374(0x185)];this[_0x33e374(0x18e)]({'attributes':{'class':[_0x33e374(0x17c),_0x12a97e['if'](_0x33e374(0x186),_0x33e374(0x17a),_0x90b518=>!_0x90b518)]}}),this[_0x33e374(0x16f)][_0x33e374(0x17f)]([this[_0x33e374(0x17d)],this[_0x33e374(0x181)],this[_0x33e374(0x170)],this[_0x33e374(0x184)]]);}[_0x22322a(0x18f)](_0xad4840,_0x2073a1){const _0x515a13=_0x22322a,_0x1244e8=new _0x3ae2bf(this[_0x515a13(0x189)]);return _0x1244e8[_0x515a13(0x18d)]({'label':_0xad4840,'class':_0x2073a1||'','isVisible':!0x0,'withText':!0x0}),_0x1244e8;}}
|