@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 47.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +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/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/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/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/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/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.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/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.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/aireviewmodegeneralerrorview.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
|
-
const _0x244545=_0x5adf;(function(_0x481d45,_0x16a58c){const _0x38ab95=_0x5adf,_0x3988f5=_0x481d45();while(!![]){try{const _0x3e717c=-parseInt(_0x38ab95(0x1ae))/0x1+-parseInt(_0x38ab95(0x16f))/0x2*(parseInt(_0x38ab95(0x15a))/0x3)+-parseInt(_0x38ab95(0x161))/0x4*(-parseInt(_0x38ab95(0x173))/0x5)+-parseInt(_0x38ab95(0x165))/0x6+-parseInt(_0x38ab95(0x19f))/0x7*(parseInt(_0x38ab95(0x15b))/0x8)+parseInt(_0x38ab95(0x1a8))/0x9+parseInt(_0x38ab95(0x1b2))/0xa;if(_0x3e717c===_0x16a58c)break;else _0x3988f5['push'](_0x3988f5['shift']());}catch(_0x356d23){_0x3988f5['push'](_0x3988f5['shift']());}}}(_0x512b,0xaba29));function _0x5adf(_0x5ba1d5,_0xdf6827){const _0x512bed=_0x512b();return _0x5adf=function(_0x5adf57,_0x17f4b4){_0x5adf57=_0x5adf57-0x14c;let _0x425eaa=_0x512bed[_0x5adf57];return _0x425eaa;},_0x5adf(_0x5ba1d5,_0xdf6827);}import{uid as _0x4b285b}from'ckeditor5/src/utils.js';import{Plugin as _0x4e3627}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x592c91}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3784c6,ViewDataTransfer as _0x247e4a}from'ckeditor5/src/engine.js';function _0x512b(){const _0xbdf792=['span','afterInit','getRowIndexes','hideFakeVisualSelection','fire','isAtEnd','AIAssistantEditing','createSelection','_getDefaultInsertBelowPosition','ck-fake-ai-selection','init','pluginName','setSelection','createRange','join','getColumnIndexes','getChildren','table','off','_getTableRowCountFromContent','config','getMarkersGroup','first','ck-ai-assistant-ui_theme','getRange','isCollapsed','get','forEach','isContent','lowest','showFakeVisualSelection','getSelectedTableCells','canEditAt','data','selection','9541faWZmE','isOfficialPlugin','from','ai.assistant.useTheme','getChild','markers','isPremiumPlugin','getSelectedBlocks','markerRange','9710838ySzFOx','setData','start','insertContent','deleteContent','once','1092790QWMFWV','createPositionAfter','last','getRanges','19550750LUWVps','fromCharCode','end','createUIElement','resultRange','pop','has','insertRows','removeMarker','insertContentBelow','markerToElement','parse','for','_resetContentOfSelectedTableCells','DataTransfer','ai-ui','getRows','length','schema','push','getFirstRange','findAncestor','21426jehwum','112LOOLHf','contentInsertion','getLastMatchingPosition','addMarker','_pasteHTMLUsingClipboard','editor','236VxsNMf','filter','updateMarker','ck-fake-ai-selection_collapsed','4441554gXcTsW','getLastPosition','plugins','addClass','editing','conversion','TableUtils','editingDowncast','paste','element','358GJGGOY','_prepareTableInsertBelowPosition','document','model','67755HtaLPr','_createEmptyTableRows','markerToHighlight','text/html','createPositionAt','_getAISelection','map','change','href'];_0x512b=function(){return _0xbdf792;};return _0x512b();}const J=globalThis[_0x244545(0x152)],q=_0x244545(0x153);export class AIAssistantEditing extends _0x4e3627{static get[_0x244545(0x187)](){const _0x5c840b=_0x244545;return _0x5c840b(0x182);}static get[_0x244545(0x1a0)](){return!0x0;}static get[_0x244545(0x1a5)](){return!0x0;}[_0x244545(0x186)](){const _0x47a793=_0x244545,{editor:_0x145150}=this,_0xa6b240=[_0x47a793(0x185)];_0x145150[_0x47a793(0x190)][_0x47a793(0x196)](_0x47a793(0x1a2))&&_0xa6b240[_0x47a793(0x157)](_0x47a793(0x193)),_0x145150[_0x47a793(0x16a)][_0x47a793(0x150)](_0x47a793(0x16c))[_0x47a793(0x175)]({'model':q,'view':{'classes':_0xa6b240,'priority':0xc}}),_0x145150[_0x47a793(0x16a)][_0x47a793(0x150)](_0x47a793(0x16c))[_0x47a793(0x14e)]({'model':q,'view':(_0x1bdda4,{writer:_0x177a7c})=>{const _0x301c34=_0x47a793;if(!_0x1bdda4[_0x301c34(0x1a7)][_0x301c34(0x195)])return null;const _0x307f41=_0x177a7c[_0x301c34(0x1b5)](_0x301c34(0x17c));return _0x177a7c[_0x301c34(0x168)]([_0x301c34(0x185),_0x301c34(0x164)],_0x307f41),_0x307f41;}});}[_0x244545(0x17d)](){!async function(_0x390a12){const _0x38ecc9=_0x44bd3e([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]),_0x2a50a2=0x3dffc4e1,_0x1989bb=0x3df8be39^_0x2a50a2,_0x3dce74=window[_0x44bd3e([0x44,0x61,0x74,0x65])][_0x44bd3e([0x6e,0x6f,0x77])](),_0x31ed22=_0x390a12[_0x44bd3e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d4ca4=new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x372ea8=>{_0x31ed22[_0x44bd3e([0x6f,0x6e,0x63,0x65])](_0x44bd3e([0x72,0x65,0x61,0x64,0x79]),_0x372ea8);}),_0x4f0815={[_0x44bd3e([0x6b,0x74,0x79])]:_0x44bd3e([0x45,0x43]),[_0x44bd3e([0x75,0x73,0x65])]:_0x44bd3e([0x73,0x69,0x67]),[_0x44bd3e([0x63,0x72,0x76])]:_0x44bd3e([0x50,0x2d,0x32,0x35,0x36]),[_0x44bd3e([0x78])]:_0x44bd3e([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]),[_0x44bd3e([0x79])]:_0x44bd3e([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]),[_0x44bd3e([0x61,0x6c,0x67])]:_0x44bd3e([0x45,0x53,0x32,0x35,0x36])},_0x349153=_0x31ed22[_0x44bd3e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x44bd3e([0x67,0x65,0x74])](_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xeadc1a(){let _0x55abd2,_0x1e261a=null,_0x27417a=null;try{if(_0x349153==_0x44bd3e([0x47,0x50,0x4c]))return _0x44bd3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55abd2=_0x40318e(),!_0x55abd2)return _0x44bd3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55abd2[_0x44bd3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27417a=_0x3eb1de(_0x55abd2[_0x44bd3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55abd2[_0x44bd3e([0x6a,0x74,0x69])])),await _0x561e9d()?_0x16759f()?_0x529a22()?_0x44bd3e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x9ceaa9()?(_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44bd3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e261a=_0x19a5b2(_0x44bd3e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x44bd3e([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e261a=_0x19a5b2(_0x44bd3e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x497102()):_0x44bd3e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x44bd3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x44bd3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x44bd3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x529a22(){const _0x2f9c79=[_0x44bd3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x44bd3e([0x74,0x72,0x69,0x61,0x6c])][_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dce74/0x3e8:0xe10*_0x1989bb;return _0x55abd2[_0x44bd3e([0x65,0x78,0x70])]<_0x2f9c79;}function _0x16759f(){const _0xa2107f=_0x55abd2[_0x44bd3e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa2107f&&(!!_0xa2107f[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bd3e([0x2a]))||!!_0xa2107f[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bd3e([0x41,0x49])));}function _0x9ceaa9(){const _0x4b1204=_0x5adf,_0xddc725=_0x55abd2[_0x44bd3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xddc725||0x0==_0xddc725[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x212c7b}=new URL(window[_0x44bd3e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b1204(0x17b)]);if(_0xddc725[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x212c7b))return!0x0;const _0x2cfaba=_0x212c7b[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e]));return _0xddc725[_0x44bd3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ba1bf=>_0x3ba1bf[_0x44bd3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bd3e([0x2a])))[_0x44bd3e([0x6d,0x61,0x70])](_0x4b2391=>_0x4b2391[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e])))[_0x44bd3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e9893=>_0x4e9893[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2cfaba[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44bd3e([0x6d,0x61,0x70])](_0x502626=>Array(_0x2cfaba[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x502626[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x44bd3e([0x66,0x69,0x6c,0x6c])](_0x502626[0x0]===_0x44bd3e([0x2a])?_0x44bd3e([0x2a]):'')[_0x44bd3e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x502626))[_0x44bd3e([0x73,0x6f,0x6d,0x65])](_0x4920ac=>_0x2cfaba[_0x44bd3e([0x65,0x76,0x65,0x72,0x79])]((_0x3a825c,_0x119640)=>_0x4920ac[_0x119640]===_0x3a825c||_0x4920ac[_0x119640]===_0x44bd3e([0x2a])));}function _0x497102(){return _0x1e261a&&_0x27417a?new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36a1a8,_0x45bfc0)=>{_0x1e261a[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x36a1a8,_0x45bfc0),_0x27417a[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x35d6be=>{_0x35d6be!=_0x44bd3e([0x56,0x61,0x6c,0x69,0x64])&&_0x36a1a8(_0x35d6be);},_0x45bfc0);}):_0x1e261a||_0x27417a||_0x44bd3e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3eb1de(_0xd5b41d,_0x16e814){return new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x445c28=>{if(_0x5db046())return _0x445c28(_0x44bd3e([0x56,0x61,0x6c,0x69,0x64]));_0x54cae6(),_0x31ed22[_0x44bd3e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x44bd3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x263b5e=!0x1;const _0x294939=_0x4b285b();function _0x2adb85(_0x6e1ddb){return!!_0x6e1ddb&&(typeof _0x6e1ddb===_0x44bd3e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6e1ddb===_0x44bd3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6e1ddb[_0x44bd3e([0x74,0x68,0x65,0x6e])]===_0x44bd3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6e1ddb[_0x44bd3e([0x63,0x61,0x74,0x63,0x68])]===_0x44bd3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5dcf76(_0x3f02bb){_0x2a718b(_0x3f02bb)[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x1fdedb=>{if(!_0x1fdedb||_0x1fdedb[_0x44bd3e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x44bd3e([0x6f,0x6b]))return _0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b6a14(_0x48eb41(_0x294939+_0x16e814))!=_0x1fdedb[_0x44bd3e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x44bd3e([0x56,0x61,0x6c,0x69,0x64]);})[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x54aa10=>(_0x534821(),_0x54aa10),()=>{const _0x2fd2dc=_0x1f8985();return null==_0x2fd2dc?(_0x534821(),_0x44bd3e([0x56,0x61,0x6c,0x69,0x64])):_0x44bd3e(_0x3dce74-_0x2fd2dc>(0x19f340e1^_0x2a50a2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x445c28)[_0x44bd3e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x445c28(_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1412ee=0x3dc92a61^_0x2a50a2;function _0x534821(){const _0x1e79f8=_0x44bd3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b6a14(_0x48eb41(_0xd5b41d)),_0xb8b3f=_0x45a6a4(_0x3b6a14(window[_0x44bd3e([0x4d,0x61,0x74,0x68])][_0x44bd3e([0x63,0x65,0x69,0x6c])](_0x3dce74/_0x1412ee)));window[_0x44bd3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44bd3e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e79f8,_0xb8b3f);}function _0x1f8985(){const _0x4f1ec0=_0x44bd3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b6a14(_0x48eb41(_0xd5b41d)),_0x4a1bbc=window[_0x44bd3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x44bd3e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f1ec0);return _0x4a1bbc?window[_0x44bd3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45a6a4(_0x4a1bbc),0x10)*_0x1412ee:null;}function _0x2a718b(_0x32294a){return new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5db0fe,_0x1e5473)=>{_0x32294a[_0x44bd3e([0x74,0x68,0x65,0x6e])](_0x5db0fe,_0x1e5473),window[_0x44bd3e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e5473,0x3dfe1021^_0x2a50a2);});}}_0x31ed22[_0x44bd3e([0x6f,0x6e])](_0x44bd3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e2cd0,_0x102763)=>{if(_0x102763[0x0]!=_0xd5b41d)return _0x445c28(_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x102763[0x1]={..._0x102763[0x1],[_0x44bd3e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x294939};},{[_0x44bd3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44bd3e([0x68,0x69,0x67,0x68])}),_0x31ed22[_0x44bd3e([0x6f,0x6e])](_0x44bd3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d03f2=>{_0x2adb85(_0x5d03f2[_0x44bd3e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x263b5e=!0x0,_0x5dcf76(_0x5d03f2[_0x44bd3e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x44bd3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x44bd3e([0x6c,0x6f,0x77])}),_0x5d4ca4[_0x44bd3e([0x74,0x68,0x65,0x6e])](()=>{_0x263b5e||_0x445c28(_0x44bd3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5db046(){return _0x31ed22[_0x44bd3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44bd3e([0x76,0x69,0x65,0x77])][_0x44bd3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x44bd3e([0x61,0x75,0x74,0x6f]);}function _0x54cae6(){_0x31ed22[_0x44bd3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x44bd3e([0x76,0x69,0x65,0x77])][_0x44bd3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x44bd3e([0x61,0x75,0x74,0x6f]);}}function _0x19a5b2(_0x3203a5){const _0x399ca3=[new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x435dff=>setTimeout(_0x435dff,0x3df6fa2d^_0x2a50a2)),_0x5d4ca4[_0x44bd3e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d434e=>{let _0x2c183e=0x0;_0x31ed22[_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x44bd3e([0x6f,0x6e])](_0x44bd3e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d00ea,_0x469edd)=>{_0x469edd[0x0][_0x44bd3e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c183e++,_0x2c183e==(0x3dffc519^_0x2a50a2)&&(_0x3d434e(),_0x1d00ea[_0x44bd3e([0x6f,0x66,0x66])]());});}))];return window[_0x44bd3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x44bd3e([0x72,0x61,0x63,0x65])](_0x399ca3)[_0x44bd3e([0x74,0x68,0x65,0x6e])](()=>_0x3203a5);}async function _0x535ab6(){await _0x5d4ca4,_0x31ed22[_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x44bd3e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf8ed4f,_0x31ed22[_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c])][_0x44bd3e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf8ed4f,_0x31ed22[_0x44bd3e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x44bd3e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c66ef(_0x5f50a1){const _0x5d23c6=_0x3f1146();_0x31ed22[_0x5d23c6]=_0x44bd3e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5f50a1,_0x5f50a1!=_0x44bd3e([0x56,0x61,0x6c,0x69,0x64])&&_0x535ab6();}function _0x3f1146(){const _0x5c6f60=window[_0x44bd3e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x44bd3e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x44bd3e([0x6e,0x6f,0x77])]())[_0x44bd3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x44bd3e([0x2e]),'');let _0x5f082b=_0x44bd3e([0x6e]);for(let _0x264fba=0x0;_0x264fba<_0x5c6f60[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x264fba+=0x2){let _0x357679=window[_0x44bd3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c6f60[_0x44bd3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x264fba,_0x264fba+0x2));_0x357679>=_0x38ecc9[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x357679-=_0x38ecc9[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f082b+=_0x38ecc9[_0x357679];}return _0x5f082b;}function _0x40318e(){const _0x45101d=_0x349153[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e]));if(0x3!=_0x45101d[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3915db(_0x45101d[0x1]);function _0x3915db(_0x3e7ec2){const _0x5ad06d=_0x39c4a7(_0x3e7ec2);return _0x5ad06d&&_0x569bc0()?_0x5ad06d:null;function _0x569bc0(){const _0x21e578=_0x5ad06d[_0x44bd3e([0x6a,0x74,0x69])],_0x51b028=window[_0x44bd3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21e578[_0x44bd3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21e578[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x239add={..._0x5ad06d,[_0x44bd3e([0x6a,0x74,0x69])]:_0x21e578[_0x44bd3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21e578[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x239add[_0x44bd3e([0x76,0x63])],_0x48eb41(_0x239add)==_0x51b028;}}}async function _0x561e9d(){let _0x2342a8=!0x0;try{const _0x26c0da=_0x349153[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])](_0x44bd3e([0x2e])),[_0x5a48d4,_0x58a711,_0x2f4e2d]=_0x26c0da;return _0x48565f(_0x5a48d4),await _0x4f0892(_0x5a48d4,_0x58a711,_0x2f4e2d),_0x2342a8;}catch{return!0x1;}function _0x48565f(_0x2e07c5){const _0x2d1a77=_0x39c4a7(_0x2e07c5);_0x2d1a77&&_0x2d1a77[_0x44bd3e([0x61,0x6c,0x67])]==_0x44bd3e([0x45,0x53,0x32,0x35,0x36])||(_0x2342a8=!0x1);}async function _0x4f0892(_0x4aae1b,_0xba633c,_0x9e83bc){const _0x4bf886=window[_0x44bd3e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x44bd3e([0x66,0x72,0x6f,0x6d])](_0xb18b55(_0x9e83bc),_0x4d735d=>_0x4d735d[_0x44bd3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x417daa=new window[(_0x44bd3e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x44bd3e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4aae1b+_0x44bd3e([0x2e])+_0xba633c),_0x45228f=window[_0x44bd3e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x44bd3e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45228f)return;const _0x266a8a=await _0x45228f[_0x44bd3e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x44bd3e([0x6a,0x77,0x6b]),_0x4f0815,{[_0x44bd3e([0x6e,0x61,0x6d,0x65])]:_0x44bd3e([0x45,0x43,0x44,0x53,0x41]),[_0x44bd3e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x44bd3e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x44bd3e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45228f[_0x44bd3e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x44bd3e([0x6e,0x61,0x6d,0x65])]:_0x44bd3e([0x45,0x43,0x44,0x53,0x41]),[_0x44bd3e([0x68,0x61,0x73,0x68])]:{[_0x44bd3e([0x6e,0x61,0x6d,0x65])]:_0x44bd3e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x266a8a,_0x4bf886,_0x417daa)||(_0x2342a8=!0x1);}}function _0x39c4a7(_0x3f4fce){return _0x3f4fce[_0x44bd3e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x44bd3e([0x65,0x79]))?JSON[_0x44bd3e([0x70,0x61,0x72,0x73,0x65])](_0xb18b55(_0x3f4fce)):null;}function _0xb18b55(_0x20d32f){return window[_0x44bd3e([0x61,0x74,0x6f,0x62])](_0x20d32f[_0x44bd3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x44bd3e([0x2b]))[_0x44bd3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x44bd3e([0x2f])));}function _0x48eb41(_0x1dee96){let _0x47ce17=0x1505;function _0x108d1e(_0x4d7449){for(let _0x2762f9=0x0;_0x2762f9<_0x4d7449[_0x44bd3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2762f9++){const _0x230448=_0x4d7449[_0x44bd3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2762f9);_0x47ce17=(_0x47ce17<<0x5)+_0x47ce17+_0x230448,_0x47ce17&=_0x47ce17;}}function _0x91d7ba(_0x40bd50){Array[_0x44bd3e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40bd50)?_0x40bd50[_0x44bd3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x91d7ba):_0x40bd50&&typeof _0x40bd50==_0x44bd3e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x44bd3e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40bd50)[_0x44bd3e([0x73,0x6f,0x72,0x74])]()[_0x44bd3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4136f5,_0x1fe9d7])=>{_0x108d1e(_0x4136f5),_0x91d7ba(_0x1fe9d7);}):_0x108d1e(window[_0x44bd3e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40bd50));}return _0x91d7ba(_0x1dee96),_0x47ce17>>>0x0;}function _0x3b6a14(_0x36a9bd){return _0x36a9bd[_0x44bd3e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x44bd3e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x44bd3e([0x30]));}function _0x45a6a4(_0x2f4693){return _0x2f4693[_0x44bd3e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x44bd3e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x44bd3e([0x6a,0x6f,0x69,0x6e])]('');}function _0xf8ed4f(){}function _0x44bd3e(_0x14690e){const _0x9156d4=_0x5adf;return _0x14690e[_0x9156d4(0x179)](_0x4332e7=>String[_0x9156d4(0x1b3)](_0x4332e7))[_0x9156d4(0x18a)]('');}_0x4c66ef(await _0xeadc1a());}(this);}[_0x244545(0x19a)](){const _0x534983=_0x244545,_0x9c9b35=this[_0x534983(0x160)][_0x534983(0x172)];_0x9c9b35[_0x534983(0x17a)](_0x2d504a=>{const _0x2979a6=_0x534983,_0x4dde1f=_0x9c9b35[_0x2979a6(0x171)][_0x2979a6(0x19e)][_0x2979a6(0x1b1)]();let _0x45d07a=0x0;for(const _0x227a42 of _0x4dde1f){const _0x2930cc=q+':'+_0x45d07a;if(_0x9c9b35[_0x2979a6(0x1a4)][_0x2979a6(0x1b8)](_0x2930cc))_0x2d504a[_0x2979a6(0x163)](_0x2930cc,{'range':_0x227a42});else{if(_0x227a42[_0x2979a6(0x1aa)][_0x2979a6(0x181)]){const _0x23bb26=_0x227a42[_0x2979a6(0x1aa)][_0x2979a6(0x15d)](({item:_0x5307c3})=>!_0x9c9b35[_0x2979a6(0x156)][_0x2979a6(0x198)](_0x5307c3),{'boundaries':_0x227a42});_0x2d504a[_0x2979a6(0x15e)](_0x2930cc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2d504a[_0x2979a6(0x189)](_0x23bb26,_0x227a42[_0x2979a6(0x1b4)])});}else _0x2d504a[_0x2979a6(0x15e)](_0x2930cc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x227a42});}_0x45d07a++;}});}[_0x244545(0x17f)](){const _0x1fc837=_0x244545,_0x13fa70=this[_0x1fc837(0x160)][_0x1fc837(0x172)],_0xa4b05b=Array[_0x1fc837(0x1a1)](this[_0x1fc837(0x160)][_0x1fc837(0x172)][_0x1fc837(0x1a4)][_0x1fc837(0x191)](q));_0xa4b05b[_0x1fc837(0x155)]&&_0x13fa70[_0x1fc837(0x17a)](_0x5abf48=>{const _0x38d43a=_0x1fc837;_0xa4b05b[_0x38d43a(0x197)](_0x425a8f=>{const _0x265afe=_0x38d43a;_0x5abf48[_0x265afe(0x14c)](_0x425a8f);});});}[_0x244545(0x1ab)](_0x41b641,_0x44f57e){const _0x3e336d=_0x244545,_0x585c96=this[_0x3e336d(0x178)](),_0x4ab48d=_0x44f57e||_0x585c96[_0x3e336d(0x158)]();this[_0x3e336d(0x160)][_0x3e336d(0x172)][_0x3e336d(0x19c)](_0x4ab48d)&&this[_0x3e336d(0x160)][_0x3e336d(0x172)][_0x3e336d(0x17a)](_0x3605e4=>{const _0x50a9dc=_0x3e336d;this[_0x50a9dc(0x17f)](),_0x44f57e||this[_0x50a9dc(0x151)](_0x3605e4,_0x585c96),this[_0x50a9dc(0x15f)]({'insertAt':_0x4ab48d,'writer':_0x3605e4,'html':_0x41b641});});}[_0x244545(0x14d)](_0x488764){const _0x58d7bb=_0x244545,{model:_0x5eb975}=this[_0x58d7bb(0x160)],_0x1d24f7=this[_0x58d7bb(0x178)]();_0x5eb975[_0x58d7bb(0x17a)](()=>{const _0x313612=_0x58d7bb,_0x32da93=this[_0x313612(0x170)](_0x488764,_0x1d24f7)||this[_0x313612(0x184)](_0x1d24f7);this[_0x313612(0x1ab)](_0x488764,_0x32da93);});}[_0x244545(0x178)](){const _0x55870b=_0x244545,_0x365055=this[_0x55870b(0x160)][_0x55870b(0x172)],_0x5f3825=Array[_0x55870b(0x1a1)](_0x365055[_0x55870b(0x1a4)][_0x55870b(0x191)](q))[_0x55870b(0x179)](_0xafaaeb=>_0xafaaeb[_0x55870b(0x194)]());return _0x365055[_0x55870b(0x183)](_0x5f3825);}[_0x244545(0x15f)]({writer:_0x3ab664,html:_0x673605,insertAt:_0x5614e2}){const _0x2eaf14=_0x244545,{view:_0x5edfaa}=this[_0x2eaf14(0x160)][_0x2eaf14(0x169)],_0x381d00=this[_0x2eaf14(0x160)][_0x2eaf14(0x167)][_0x2eaf14(0x196)](_0x592c91),_0x36afe8=new J();_0x36afe8[_0x2eaf14(0x1a9)](_0x2eaf14(0x176),_0x673605);const _0x47dfe3=new ClipboardEvent(_0x2eaf14(0x16d),{'clipboardData':_0x36afe8}),_0x1364eb=new _0x3784c6(_0x5edfaa,_0x47dfe3,{'dataTransfer':new _0x247e4a(_0x36afe8)});_0x3ab664[_0x2eaf14(0x188)](_0x5614e2);const _0x2aa84b=(_0x1cd588,_0x4dc104)=>{const _0x23b230=_0x2eaf14;_0x4dc104[_0x23b230(0x1b6)]&&_0x3ab664[_0x23b230(0x188)](_0x4dc104[_0x23b230(0x1b6)]);};_0x381d00[_0x2eaf14(0x1ad)](_0x2eaf14(0x15c),_0x2aa84b,{'priority':_0x2eaf14(0x199)}),_0x5edfaa[_0x2eaf14(0x171)][_0x2eaf14(0x180)](_0x2eaf14(0x16d),_0x1364eb),_0x381d00[_0x2eaf14(0x18e)](_0x2eaf14(0x15c),_0x2aa84b);}[_0x244545(0x184)](_0x49bda7){const _0x37d541=_0x244545,{model:_0xea8f8e}=this[_0x37d541(0x160)],_0x48ad73=Array[_0x37d541(0x1a1)](_0x49bda7[_0x37d541(0x1a6)]());return _0x48ad73[_0x37d541(0x155)]?_0xea8f8e[_0x37d541(0x1af)](_0x48ad73[_0x37d541(0x1b7)]()):_0x49bda7[_0x37d541(0x166)]();}[_0x244545(0x170)](_0x2f434c,_0x293db6){const _0x271c89=_0x244545,{model:_0x9e61b9,plugins:_0x51077c}=this[_0x271c89(0x160)];if(_0x51077c[_0x271c89(0x1b8)](_0x271c89(0x16b))){const _0x3c3569=_0x51077c[_0x271c89(0x196)](_0x271c89(0x16b))[_0x271c89(0x19b)](_0x293db6);if(_0x3c3569[_0x271c89(0x155)]){const _0x10bdf6=this[_0x271c89(0x18f)](_0x2f434c),_0x2c864d=this[_0x271c89(0x174)](_0x3c3569,_0x10bdf6);return _0x9e61b9[_0x271c89(0x177)](_0x2c864d,0x0);}}return null;}[_0x244545(0x18f)](_0x3a95a4){const _0x1b8496=_0x244545,_0x3ef1c9=this[_0x1b8496(0x160)][_0x1b8496(0x167)][_0x1b8496(0x196)](_0x1b8496(0x16b)),_0x3e61f5=this[_0x1b8496(0x160)][_0x1b8496(0x19d)][_0x1b8496(0x14f)](_0x3a95a4),_0x285257=Array[_0x1b8496(0x1a1)](_0x3e61f5[_0x1b8496(0x18c)]())[_0x1b8496(0x162)](_0x2b7a37=>_0x2b7a37['is'](_0x1b8496(0x16e),_0x1b8496(0x18d)));let _0x2fbc2b=0x0;return _0x285257[_0x1b8496(0x197)](_0x33019d=>{const _0x479b9b=_0x1b8496;_0x2fbc2b+=_0x3ef1c9[_0x479b9b(0x154)](_0x33019d);}),_0x2fbc2b;}[_0x244545(0x174)](_0x808bb3,_0x29044b){const _0x34e8d1=_0x244545,_0x407818=this[_0x34e8d1(0x160)][_0x34e8d1(0x167)][_0x34e8d1(0x196)](_0x34e8d1(0x16b)),_0xb4480=_0x407818[_0x34e8d1(0x17e)](_0x808bb3),_0x538bed=_0x407818[_0x34e8d1(0x18b)](_0x808bb3),_0xeea809=_0xb4480[_0x34e8d1(0x1b0)]+0x1,_0x4c92f1=_0x538bed[_0x34e8d1(0x192)],_0x177525=_0x808bb3[0x0][_0x34e8d1(0x159)](_0x34e8d1(0x18d));for(let _0x26e339=0x0;_0x26e339<_0x29044b;_0x26e339++)_0x407818[_0x34e8d1(0x1b9)](_0x177525,{'at':_0xeea809});return _0x177525[_0x34e8d1(0x1a3)](_0xeea809)[_0x34e8d1(0x1a3)](_0x4c92f1);}[_0x244545(0x151)](_0x5005f6,_0xe98bfd){const _0x8b686a=_0x244545,{plugins:_0x1ec096}=this[_0x8b686a(0x160)],{model:_0x2c2bda}=_0x5005f6;if(!_0x1ec096[_0x8b686a(0x1b8)](_0x8b686a(0x16b)))return;_0x1ec096[_0x8b686a(0x196)](_0x8b686a(0x16b))[_0x8b686a(0x19b)](_0xe98bfd)[_0x8b686a(0x155)]&&_0x2c2bda[_0x8b686a(0x1ac)](_0xe98bfd);}}
|
|
23
|
+
const _0x24a607=_0x1144;function _0x3b35(){const _0x35209f=['span','text/html','markerToElement','addMarker','getChildren','createSelection','1223801dLrEfb','length','join','getRange','getRanges','_prepareTableInsertBelowPosition','forEach','resultRange','canEditAt','from','getMarkersGroup','document','ck-fake-ai-selection','findAncestor','480232obEXWF','_getAISelection','get','pop','isAtEnd','plugins','17034220rauRPm','for','removeMarker','69VidfCU','_pasteHTMLUsingClipboard','updateMarker','afterInit','isCollapsed','getSelectedTableCells','filter','addClass','_resetContentOfSelectedTableCells','schema','end','markerRange','data','getLastPosition','insertRows','has','showFakeVisualSelection','isContent','getFirstRange','conversion','contentInsertion','isOfficialPlugin','isPremiumPlugin','change','_createEmptyTableRows','lowest','getChild','getSelectedBlocks','_getDefaultInsertBelowPosition','first','parse','markerToHighlight','77pPpmfD','510BabQZh','4897936QoHuxS','pluginName','href','6464UMwSLS','getLastMatchingPosition','model','11WXJBVW','setSelection','deleteContent','once','config','markers','insertContent','TableUtils','_getTableRowCountFromContent','ck-fake-ai-selection_collapsed','selection','fire','map','paste','getRowIndexes','9651447bSTeqD','setData','editingDowncast','editing','ck-ai-assistant-ui_theme','off','createPositionAt','push','fromCharCode','editor','AIAssistantEditing','createPositionAfter','init','hideFakeVisualSelection','DataTransfer','start','createUIElement','table','getColumnIndexes','ai.assistant.useTheme','ai-ui','43590sWqMZC','createRange','insertContentBelow','getRows','element','last'];_0x3b35=function(){return _0x35209f;};return _0x3b35();}(function(_0x41d086,_0x49b20b){const _0x4acb9b=_0x1144,_0x87b700=_0x41d086();while(!![]){try{const _0x5331cc=parseInt(_0x4acb9b(0x136))/0x1+parseInt(_0x4acb9b(0x103))/0x2*(-parseInt(_0x4acb9b(0xde))/0x3)+parseInt(_0x4acb9b(0x100))/0x4+-parseInt(_0x4acb9b(0x12a))/0x5*(-parseInt(_0x4acb9b(0xff))/0x6)+parseInt(_0x4acb9b(0xfe))/0x7*(parseInt(_0x4acb9b(0x144))/0x8)+-parseInt(_0x4acb9b(0x115))/0x9+-parseInt(_0x4acb9b(0xdb))/0xa*(parseInt(_0x4acb9b(0x106))/0xb);if(_0x5331cc===_0x49b20b)break;else _0x87b700['push'](_0x87b700['shift']());}catch(_0x10da40){_0x87b700['push'](_0x87b700['shift']());}}}(_0x3b35,0xf4045));import{uid as _0x22faeb}from'ckeditor5/src/utils.js';function _0x1144(_0x3f0c77,_0x3b042b){const _0x3b3573=_0x3b35();return _0x1144=function(_0x11446d,_0x11b784){_0x11446d=_0x11446d-0xd8;let _0x19e886=_0x3b3573[_0x11446d];return _0x19e886;},_0x1144(_0x3f0c77,_0x3b042b);}import{Plugin as _0x51a80b}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x49de12}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x10032b,ViewDataTransfer as _0x1acd43}from'ckeditor5/src/engine.js';const _=globalThis[_0x24a607(0x123)],C=_0x24a607(0x129);export class AIAssistantEditing extends _0x51a80b{static get[_0x24a607(0x101)](){const _0x204bf8=_0x24a607;return _0x204bf8(0x11f);}static get[_0x24a607(0xf3)](){return!0x0;}static get[_0x24a607(0xf4)](){return!0x0;}[_0x24a607(0x121)](){const _0x564f1d=_0x24a607,{editor:_0x2e017d}=this,_0x31f178=[_0x564f1d(0x142)];_0x2e017d[_0x564f1d(0x10a)][_0x564f1d(0x146)](_0x564f1d(0x128))&&_0x31f178[_0x564f1d(0x11c)](_0x564f1d(0x119)),_0x2e017d[_0x564f1d(0xf1)][_0x564f1d(0xdc)](_0x564f1d(0x117))[_0x564f1d(0xfd)]({'model':C,'view':{'classes':_0x31f178,'priority':0xc}}),_0x2e017d[_0x564f1d(0xf1)][_0x564f1d(0xdc)](_0x564f1d(0x117))[_0x564f1d(0x132)]({'model':C,'view':(_0x2e87e3,{writer:_0x12c1af})=>{const _0x10c8a3=_0x564f1d;if(!_0x2e87e3[_0x10c8a3(0xe9)][_0x10c8a3(0xe2)])return null;const _0x2f78e6=_0x12c1af[_0x10c8a3(0x125)](_0x10c8a3(0x130));return _0x12c1af[_0x10c8a3(0xe5)]([_0x10c8a3(0x142),_0x10c8a3(0x10f)],_0x2f78e6),_0x2f78e6;}});}[_0x24a607(0xe1)](){!async function(_0x4bc82d){const _0x47cc2e=_0xd3b711([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]),_0x59b93c=0x3dffc4e1,_0x59c071=0x3df8be39^_0x59b93c,_0x82646a=window[_0xd3b711([0x44,0x61,0x74,0x65])][_0xd3b711([0x6e,0x6f,0x77])](),_0x161553=_0x4bc82d[_0xd3b711([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x474d1d=new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11be56=>{_0x161553[_0xd3b711([0x6f,0x6e,0x63,0x65])](_0xd3b711([0x72,0x65,0x61,0x64,0x79]),_0x11be56);}),_0x4b87ea={[_0xd3b711([0x6b,0x74,0x79])]:_0xd3b711([0x45,0x43]),[_0xd3b711([0x75,0x73,0x65])]:_0xd3b711([0x73,0x69,0x67]),[_0xd3b711([0x63,0x72,0x76])]:_0xd3b711([0x50,0x2d,0x32,0x35,0x36]),[_0xd3b711([0x78])]:_0xd3b711([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]),[_0xd3b711([0x79])]:_0xd3b711([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]),[_0xd3b711([0x61,0x6c,0x67])]:_0xd3b711([0x45,0x53,0x32,0x35,0x36])},_0x33e078=_0x161553[_0xd3b711([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd3b711([0x67,0x65,0x74])](_0xd3b711([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x40a4b8(){let _0x26bd37,_0x565bc0=null,_0x2422a4=null;try{if(_0x33e078==_0xd3b711([0x47,0x50,0x4c]))return _0xd3b711([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26bd37=_0x432d14(),!_0x26bd37)return _0xd3b711([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26bd37[_0xd3b711([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2422a4=_0x43d5ec(_0x26bd37[_0xd3b711([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26bd37[_0xd3b711([0x6a,0x74,0x69])])),await _0x20ca32()?_0x1cd3b2()?_0x4ba77c()?_0xd3b711([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b8010()?(_0x26bd37[_0xd3b711([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd3b711([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x565bc0=_0xc6b9e4(_0xd3b711([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x26bd37[_0xd3b711([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd3b711([0x74,0x72,0x69,0x61,0x6c])&&(_0x565bc0=_0xc6b9e4(_0xd3b711([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b7ef8()):_0xd3b711([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd3b711([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd3b711([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd3b711([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ba77c(){const _0x5d80e1=[_0xd3b711([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd3b711([0x74,0x72,0x69,0x61,0x6c])][_0xd3b711([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26bd37[_0xd3b711([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x82646a/0x3e8:0xe10*_0x59c071;return _0x26bd37[_0xd3b711([0x65,0x78,0x70])]<_0x5d80e1;}function _0x1cd3b2(){const _0x3fc669=_0x26bd37[_0xd3b711([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3fc669&&(!!_0x3fc669[_0xd3b711([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd3b711([0x2a]))||!!_0x3fc669[_0xd3b711([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd3b711([0x41,0x49])));}function _0x3b8010(){const _0x1c6707=_0x1144,_0x3e83cf=_0x26bd37[_0xd3b711([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e83cf||0x0==_0x3e83cf[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x48eebc}=new URL(window[_0xd3b711([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1c6707(0x102)]);if(_0x3e83cf[_0xd3b711([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48eebc))return!0x0;const _0x59bdb5=_0x48eebc[_0xd3b711([0x73,0x70,0x6c,0x69,0x74])](_0xd3b711([0x2e]));return _0x3e83cf[_0xd3b711([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ad5f5=>_0x2ad5f5[_0xd3b711([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd3b711([0x2a])))[_0xd3b711([0x6d,0x61,0x70])](_0x20b2d5=>_0x20b2d5[_0xd3b711([0x73,0x70,0x6c,0x69,0x74])](_0xd3b711([0x2e])))[_0xd3b711([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f7a91=>_0x4f7a91[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59bdb5[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd3b711([0x6d,0x61,0x70])](_0x5a0c1a=>Array(_0x59bdb5[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a0c1a[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd3b711([0x66,0x69,0x6c,0x6c])](_0x5a0c1a[0x0]===_0xd3b711([0x2a])?_0xd3b711([0x2a]):'')[_0xd3b711([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a0c1a))[_0xd3b711([0x73,0x6f,0x6d,0x65])](_0x45dd0=>_0x59bdb5[_0xd3b711([0x65,0x76,0x65,0x72,0x79])]((_0x42b6d0,_0x2872dd)=>_0x45dd0[_0x2872dd]===_0x42b6d0||_0x45dd0[_0x2872dd]===_0xd3b711([0x2a])));}function _0x1b7ef8(){return _0x565bc0&&_0x2422a4?new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6afa36,_0xb9700)=>{_0x565bc0[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x6afa36,_0xb9700),_0x2422a4[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x46e815=>{_0x46e815!=_0xd3b711([0x56,0x61,0x6c,0x69,0x64])&&_0x6afa36(_0x46e815);},_0xb9700);}):_0x565bc0||_0x2422a4||_0xd3b711([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43d5ec(_0x227896,_0x322244){return new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x310b04=>{if(_0x556841())return _0x310b04(_0xd3b711([0x56,0x61,0x6c,0x69,0x64]));_0x5cf9e2(),_0x161553[_0xd3b711([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd3b711([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b2aa9=!0x1;const _0x34e195=_0x22faeb();function _0x4add1a(_0x50aca0){return!!_0x50aca0&&(typeof _0x50aca0===_0xd3b711([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50aca0===_0xd3b711([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50aca0[_0xd3b711([0x74,0x68,0x65,0x6e])]===_0xd3b711([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50aca0[_0xd3b711([0x63,0x61,0x74,0x63,0x68])]===_0xd3b711([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x291161(_0x128998){_0x2a67d3(_0x128998)[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x28ffa7=>{if(!_0x28ffa7||_0x28ffa7[_0xd3b711([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd3b711([0x6f,0x6b]))return _0xd3b711([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x298691(_0x3e318b(_0x34e195+_0x322244))!=_0x28ffa7[_0xd3b711([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd3b711([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd3b711([0x56,0x61,0x6c,0x69,0x64]);})[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x132101=>(_0x131bd4(),_0x132101),()=>{const _0x5a558f=_0x53f704();return null==_0x5a558f?(_0x131bd4(),_0xd3b711([0x56,0x61,0x6c,0x69,0x64])):_0xd3b711(_0x82646a-_0x5a558f>(0x19f340e1^_0x59b93c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x310b04)[_0xd3b711([0x63,0x61,0x74,0x63,0x68])](()=>{_0x310b04(_0xd3b711([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x131626=0x3dc92a61^_0x59b93c;function _0x131bd4(){const _0x1b4cc7=_0xd3b711([0x6c,0x6c,0x63,0x74,0x2d])+_0x298691(_0x3e318b(_0x227896)),_0x39d959=_0x2a0e7e(_0x298691(window[_0xd3b711([0x4d,0x61,0x74,0x68])][_0xd3b711([0x63,0x65,0x69,0x6c])](_0x82646a/_0x131626)));window[_0xd3b711([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd3b711([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b4cc7,_0x39d959);}function _0x53f704(){const _0x20cb8c=_0xd3b711([0x6c,0x6c,0x63,0x74,0x2d])+_0x298691(_0x3e318b(_0x227896)),_0x134ab7=window[_0xd3b711([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd3b711([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20cb8c);return _0x134ab7?window[_0xd3b711([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a0e7e(_0x134ab7),0x10)*_0x131626:null;}function _0x2a67d3(_0x5be901){return new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x307eba,_0x1f93d9)=>{_0x5be901[_0xd3b711([0x74,0x68,0x65,0x6e])](_0x307eba,_0x1f93d9),window[_0xd3b711([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f93d9,0x3dfe1021^_0x59b93c);});}}_0x161553[_0xd3b711([0x6f,0x6e])](_0xd3b711([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x928534,_0x5960d3)=>{if(_0x5960d3[0x0]!=_0x227896)return _0x310b04(_0xd3b711([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5960d3[0x1]={..._0x5960d3[0x1],[_0xd3b711([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34e195};},{[_0xd3b711([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd3b711([0x68,0x69,0x67,0x68])}),_0x161553[_0xd3b711([0x6f,0x6e])](_0xd3b711([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a54fd=>{_0x4add1a(_0x1a54fd[_0xd3b711([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b2aa9=!0x0,_0x291161(_0x1a54fd[_0xd3b711([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd3b711([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd3b711([0x6c,0x6f,0x77])}),_0x474d1d[_0xd3b711([0x74,0x68,0x65,0x6e])](()=>{_0x5b2aa9||_0x310b04(_0xd3b711([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x556841(){return _0x161553[_0xd3b711([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd3b711([0x76,0x69,0x65,0x77])][_0xd3b711([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd3b711([0x61,0x75,0x74,0x6f]);}function _0x5cf9e2(){_0x161553[_0xd3b711([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd3b711([0x76,0x69,0x65,0x77])][_0xd3b711([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd3b711([0x61,0x75,0x74,0x6f]);}}function _0xc6b9e4(_0x2c118e){const _0xd22583=[new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ff7af=>setTimeout(_0x3ff7af,0x3df6fa2d^_0x59b93c)),_0x474d1d[_0xd3b711([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x253889=>{let _0x56f62b=0x0;_0x161553[_0xd3b711([0x6d,0x6f,0x64,0x65,0x6c])][_0xd3b711([0x6f,0x6e])](_0xd3b711([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44cdbb,_0x5a3e01)=>{_0x5a3e01[0x0][_0xd3b711([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56f62b++,_0x56f62b==(0x3dffc519^_0x59b93c)&&(_0x253889(),_0x44cdbb[_0xd3b711([0x6f,0x66,0x66])]());});}))];return window[_0xd3b711([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd3b711([0x72,0x61,0x63,0x65])](_0xd22583)[_0xd3b711([0x74,0x68,0x65,0x6e])](()=>_0x2c118e);}async function _0x4ef863(){await _0x474d1d,_0x161553[_0xd3b711([0x6d,0x6f,0x64,0x65,0x6c])][_0xd3b711([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x498c17,_0x161553[_0xd3b711([0x6d,0x6f,0x64,0x65,0x6c])][_0xd3b711([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x498c17,_0x161553[_0xd3b711([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd3b711([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38a41a(_0x1d9459){const _0xc4bcbd=_0x4c8db6();_0x161553[_0xc4bcbd]=_0xd3b711([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d9459,_0x1d9459!=_0xd3b711([0x56,0x61,0x6c,0x69,0x64])&&_0x4ef863();}function _0x4c8db6(){const _0x11e275=window[_0xd3b711([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd3b711([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd3b711([0x6e,0x6f,0x77])]())[_0xd3b711([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd3b711([0x2e]),'');let _0x3f84ef=_0xd3b711([0x6e]);for(let _0x5125ce=0x0;_0x5125ce<_0x11e275[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5125ce+=0x2){let _0x22f161=window[_0xd3b711([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11e275[_0xd3b711([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5125ce,_0x5125ce+0x2));_0x22f161>=_0x47cc2e[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22f161-=_0x47cc2e[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f84ef+=_0x47cc2e[_0x22f161];}return _0x3f84ef;}function _0x432d14(){const _0x365f98=_0x33e078[_0xd3b711([0x73,0x70,0x6c,0x69,0x74])](_0xd3b711([0x2e]));if(0x3!=_0x365f98[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48485d(_0x365f98[0x1]);function _0x48485d(_0x3231c7){const _0x9d87d=_0xab4817(_0x3231c7);return _0x9d87d&&_0xfae5bc()?_0x9d87d:null;function _0xfae5bc(){const _0x33ff5b=_0x9d87d[_0xd3b711([0x6a,0x74,0x69])],_0x369364=window[_0xd3b711([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33ff5b[_0xd3b711([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33ff5b[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40fbb1={..._0x9d87d,[_0xd3b711([0x6a,0x74,0x69])]:_0x33ff5b[_0xd3b711([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33ff5b[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40fbb1[_0xd3b711([0x76,0x63])],_0x3e318b(_0x40fbb1)==_0x369364;}}}async function _0x20ca32(){let _0x15d3dc=!0x0;try{const _0xa20b34=_0x33e078[_0xd3b711([0x73,0x70,0x6c,0x69,0x74])](_0xd3b711([0x2e])),[_0xafb552,_0x159fb0,_0x34cff0]=_0xa20b34;return _0x3d59c1(_0xafb552),await _0x2737d6(_0xafb552,_0x159fb0,_0x34cff0),_0x15d3dc;}catch{return!0x1;}function _0x3d59c1(_0x448c0b){const _0x3315ee=_0xab4817(_0x448c0b);_0x3315ee&&_0x3315ee[_0xd3b711([0x61,0x6c,0x67])]==_0xd3b711([0x45,0x53,0x32,0x35,0x36])||(_0x15d3dc=!0x1);}async function _0x2737d6(_0x81d27d,_0x19b1da,_0x4499c9){const _0x58615b=window[_0xd3b711([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd3b711([0x66,0x72,0x6f,0x6d])](_0x195afa(_0x4499c9),_0x301ee3=>_0x301ee3[_0xd3b711([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f8a58=new window[(_0xd3b711([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd3b711([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x81d27d+_0xd3b711([0x2e])+_0x19b1da),_0x20c22f=window[_0xd3b711([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd3b711([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20c22f)return;const _0x10c638=await _0x20c22f[_0xd3b711([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd3b711([0x6a,0x77,0x6b]),_0x4b87ea,{[_0xd3b711([0x6e,0x61,0x6d,0x65])]:_0xd3b711([0x45,0x43,0x44,0x53,0x41]),[_0xd3b711([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd3b711([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd3b711([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20c22f[_0xd3b711([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd3b711([0x6e,0x61,0x6d,0x65])]:_0xd3b711([0x45,0x43,0x44,0x53,0x41]),[_0xd3b711([0x68,0x61,0x73,0x68])]:{[_0xd3b711([0x6e,0x61,0x6d,0x65])]:_0xd3b711([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10c638,_0x58615b,_0x2f8a58)||(_0x15d3dc=!0x1);}}function _0xab4817(_0x4a2135){return _0x4a2135[_0xd3b711([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd3b711([0x65,0x79]))?JSON[_0xd3b711([0x70,0x61,0x72,0x73,0x65])](_0x195afa(_0x4a2135)):null;}function _0x195afa(_0x3a0211){return window[_0xd3b711([0x61,0x74,0x6f,0x62])](_0x3a0211[_0xd3b711([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd3b711([0x2b]))[_0xd3b711([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd3b711([0x2f])));}function _0x3e318b(_0x3f9e75){let _0x7d8bc0=0x1505;function _0x5117f4(_0xa790f4){for(let _0x4c191d=0x0;_0x4c191d<_0xa790f4[_0xd3b711([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c191d++){const _0x2f98e1=_0xa790f4[_0xd3b711([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c191d);_0x7d8bc0=(_0x7d8bc0<<0x5)+_0x7d8bc0+_0x2f98e1,_0x7d8bc0&=_0x7d8bc0;}}function _0x3c47a2(_0x1ad1ab){Array[_0xd3b711([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ad1ab)?_0x1ad1ab[_0xd3b711([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c47a2):_0x1ad1ab&&typeof _0x1ad1ab==_0xd3b711([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd3b711([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ad1ab)[_0xd3b711([0x73,0x6f,0x72,0x74])]()[_0xd3b711([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x134710,_0x2693de])=>{_0x5117f4(_0x134710),_0x3c47a2(_0x2693de);}):_0x5117f4(window[_0xd3b711([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ad1ab));}return _0x3c47a2(_0x3f9e75),_0x7d8bc0>>>0x0;}function _0x298691(_0x55cdc5){return _0x55cdc5[_0xd3b711([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd3b711([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd3b711([0x30]));}function _0x2a0e7e(_0x1868ec){return _0x1868ec[_0xd3b711([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd3b711([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd3b711([0x6a,0x6f,0x69,0x6e])]('');}function _0x498c17(){}function _0xd3b711(_0x439235){const _0x40aa64=_0x1144;return _0x439235[_0x40aa64(0x112)](_0x2209aa=>String[_0x40aa64(0x11d)](_0x2209aa))[_0x40aa64(0x138)]('');}_0x38a41a(await _0x40a4b8());}(this);}[_0x24a607(0xee)](){const _0x5a5eb8=_0x24a607,_0x38ed58=this[_0x5a5eb8(0x11e)][_0x5a5eb8(0x105)];_0x38ed58[_0x5a5eb8(0xf5)](_0x420de0=>{const _0x440193=_0x5a5eb8,_0x51ae0b=_0x38ed58[_0x440193(0x141)][_0x440193(0x110)][_0x440193(0x13a)]();let _0x36bdcf=0x0;for(const _0x3a5d99 of _0x51ae0b){const _0x59c5ed=C+':'+_0x36bdcf;if(_0x38ed58[_0x440193(0x10b)][_0x440193(0xed)](_0x59c5ed))_0x420de0[_0x440193(0xe0)](_0x59c5ed,{'range':_0x3a5d99});else{if(_0x3a5d99[_0x440193(0x124)][_0x440193(0xd9)]){const _0x54cb3c=_0x3a5d99[_0x440193(0x124)][_0x440193(0x104)](({item:_0x2ff30e})=>!_0x38ed58[_0x440193(0xe7)][_0x440193(0xef)](_0x2ff30e),{'boundaries':_0x3a5d99});_0x420de0[_0x440193(0x133)](_0x59c5ed,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x420de0[_0x440193(0x12b)](_0x54cb3c,_0x3a5d99[_0x440193(0xe8)])});}else _0x420de0[_0x440193(0x133)](_0x59c5ed,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3a5d99});}_0x36bdcf++;}});}[_0x24a607(0x122)](){const _0x518ff9=_0x24a607,_0x1a3a88=this[_0x518ff9(0x11e)][_0x518ff9(0x105)],_0xeb3e17=Array[_0x518ff9(0x13f)](this[_0x518ff9(0x11e)][_0x518ff9(0x105)][_0x518ff9(0x10b)][_0x518ff9(0x140)](C));_0xeb3e17[_0x518ff9(0x137)]&&_0x1a3a88[_0x518ff9(0xf5)](_0x1edcfc=>{const _0x379777=_0x518ff9;_0xeb3e17[_0x379777(0x13c)](_0x569ef4=>{const _0x180652=_0x379777;_0x1edcfc[_0x180652(0xdd)](_0x569ef4);});});}[_0x24a607(0x10c)](_0xdb912f,_0x380ae2){const _0x48636f=_0x24a607,_0x30e222=this[_0x48636f(0x145)](),_0x2456b9=_0x380ae2||_0x30e222[_0x48636f(0xf0)]();this[_0x48636f(0x11e)][_0x48636f(0x105)][_0x48636f(0x13e)](_0x2456b9)&&this[_0x48636f(0x11e)][_0x48636f(0x105)][_0x48636f(0xf5)](_0x3b5662=>{const _0x16c166=_0x48636f;this[_0x16c166(0x122)](),_0x380ae2||this[_0x16c166(0xe6)](_0x3b5662,_0x30e222),this[_0x16c166(0xdf)]({'insertAt':_0x2456b9,'writer':_0x3b5662,'html':_0xdb912f});});}[_0x24a607(0x12c)](_0x413c8c){const _0x5df2ea=_0x24a607,{model:_0x15ced2}=this[_0x5df2ea(0x11e)],_0x291b9d=this[_0x5df2ea(0x145)]();_0x15ced2[_0x5df2ea(0xf5)](()=>{const _0x2588a7=_0x5df2ea,_0x111e3d=this[_0x2588a7(0x13b)](_0x413c8c,_0x291b9d)||this[_0x2588a7(0xfa)](_0x291b9d);this[_0x2588a7(0x10c)](_0x413c8c,_0x111e3d);});}[_0x24a607(0x145)](){const _0x29b036=_0x24a607,_0x36d401=this[_0x29b036(0x11e)][_0x29b036(0x105)],_0x445772=Array[_0x29b036(0x13f)](_0x36d401[_0x29b036(0x10b)][_0x29b036(0x140)](C))[_0x29b036(0x112)](_0x37bbde=>_0x37bbde[_0x29b036(0x139)]());return _0x36d401[_0x29b036(0x135)](_0x445772);}[_0x24a607(0xdf)]({writer:_0x2c9197,html:_0x4af59a,insertAt:_0x32a4f8}){const _0x1298c2=_0x24a607,{view:_0x3b7164}=this[_0x1298c2(0x11e)][_0x1298c2(0x118)],_0xd2525b=this[_0x1298c2(0x11e)][_0x1298c2(0xda)][_0x1298c2(0x146)](_0x49de12),_0x4c963d=new _();_0x4c963d[_0x1298c2(0x116)](_0x1298c2(0x131),_0x4af59a);const _0x4604d9=new ClipboardEvent(_0x1298c2(0x113),{'clipboardData':_0x4c963d}),_0x2b87fe=new _0x10032b(_0x3b7164,_0x4604d9,{'dataTransfer':new _0x1acd43(_0x4c963d)});_0x2c9197[_0x1298c2(0x107)](_0x32a4f8);const _0x16ac37=(_0x59653f,_0x664fb4)=>{const _0x3f9c81=_0x1298c2;_0x664fb4[_0x3f9c81(0x13d)]&&_0x2c9197[_0x3f9c81(0x107)](_0x664fb4[_0x3f9c81(0x13d)]);};_0xd2525b[_0x1298c2(0x109)](_0x1298c2(0xf2),_0x16ac37,{'priority':_0x1298c2(0xf7)}),_0x3b7164[_0x1298c2(0x141)][_0x1298c2(0x111)](_0x1298c2(0x113),_0x2b87fe),_0xd2525b[_0x1298c2(0x11a)](_0x1298c2(0xf2),_0x16ac37);}[_0x24a607(0xfa)](_0x446abf){const _0x508421=_0x24a607,{model:_0x4d4b53}=this[_0x508421(0x11e)],_0x17723e=Array[_0x508421(0x13f)](_0x446abf[_0x508421(0xf9)]());return _0x17723e[_0x508421(0x137)]?_0x4d4b53[_0x508421(0x120)](_0x17723e[_0x508421(0xd8)]()):_0x446abf[_0x508421(0xeb)]();}[_0x24a607(0x13b)](_0x4d98d7,_0x21624b){const _0x150bec=_0x24a607,{model:_0x2d5f75,plugins:_0x24225a}=this[_0x150bec(0x11e)];if(_0x24225a[_0x150bec(0xed)](_0x150bec(0x10d))){const _0x2ee093=_0x24225a[_0x150bec(0x146)](_0x150bec(0x10d))[_0x150bec(0xe3)](_0x21624b);if(_0x2ee093[_0x150bec(0x137)]){const _0x4de024=this[_0x150bec(0x10e)](_0x4d98d7),_0x3854f7=this[_0x150bec(0xf6)](_0x2ee093,_0x4de024);return _0x2d5f75[_0x150bec(0x11b)](_0x3854f7,0x0);}}return null;}[_0x24a607(0x10e)](_0x3646f6){const _0x123878=_0x24a607,_0x1c61ff=this[_0x123878(0x11e)][_0x123878(0xda)][_0x123878(0x146)](_0x123878(0x10d)),_0x6ccf92=this[_0x123878(0x11e)][_0x123878(0xea)][_0x123878(0xfc)](_0x3646f6),_0x4c816f=Array[_0x123878(0x13f)](_0x6ccf92[_0x123878(0x134)]())[_0x123878(0xe4)](_0x38a759=>_0x38a759['is'](_0x123878(0x12e),_0x123878(0x126)));let _0x4c9176=0x0;return _0x4c816f[_0x123878(0x13c)](_0x3ede5d=>{const _0x25f4cb=_0x123878;_0x4c9176+=_0x1c61ff[_0x25f4cb(0x12d)](_0x3ede5d);}),_0x4c9176;}[_0x24a607(0xf6)](_0x5b901d,_0x34f5c3){const _0x55d870=_0x24a607,_0x29d344=this[_0x55d870(0x11e)][_0x55d870(0xda)][_0x55d870(0x146)](_0x55d870(0x10d)),_0x5f236b=_0x29d344[_0x55d870(0x114)](_0x5b901d),_0x297b9c=_0x29d344[_0x55d870(0x127)](_0x5b901d),_0x134137=_0x5f236b[_0x55d870(0x12f)]+0x1,_0x275f5b=_0x297b9c[_0x55d870(0xfb)],_0x32fbf8=_0x5b901d[0x0][_0x55d870(0x143)](_0x55d870(0x126));for(let _0xcd259b=0x0;_0xcd259b<_0x34f5c3;_0xcd259b++)_0x29d344[_0x55d870(0xec)](_0x32fbf8,{'at':_0x134137});return _0x32fbf8[_0x55d870(0xf8)](_0x134137)[_0x55d870(0xf8)](_0x275f5b);}[_0x24a607(0xe6)](_0x36bb6e,_0x3e6f1f){const _0xd04fd0=_0x24a607,{plugins:_0xc25007}=this[_0xd04fd0(0x11e)],{model:_0x383a89}=_0x36bb6e;if(!_0xc25007[_0xd04fd0(0xed)](_0xd04fd0(0x10d)))return;_0xc25007[_0xd04fd0(0x146)](_0xd04fd0(0x10d))[_0xd04fd0(0xe3)](_0x3e6f1f)[_0xd04fd0(0x137)]&&_0x383a89[_0xd04fd0(0x108)](_0x3e6f1f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3497f2=_0xb48c;(function(_0x38a9ea,_0x3cbda4){const _0x1674d3=_0xb48c,_0x521676=_0x38a9ea();while(!![]){try{const _0x12dedc=parseInt(_0x1674d3(0x1e4))/0x1+parseInt(_0x1674d3(0x1da))/0x2*(-parseInt(_0x1674d3(0x1a7))/0x3)+parseInt(_0x1674d3(0x20e))/0x4*(parseInt(_0x1674d3(0x18b))/0x5)+parseInt(_0x1674d3(0x225))/0x6+-parseInt(_0x1674d3(0x202))/0x7*(-parseInt(_0x1674d3(0x19c))/0x8)+-parseInt(_0x1674d3(0x1b1))/0x9*(-parseInt(_0x1674d3(0x1ff))/0xa)+parseInt(_0x1674d3(0x1a3))/0xb*(-parseInt(_0x1674d3(0x186))/0xc);if(_0x12dedc===_0x3cbda4)break;else _0x521676['push'](_0x521676['shift']());}catch(_0x3c0f3c){_0x521676['push'](_0x521676['shift']());}}}(_0x3919,0xb591e));import{Plugin as _0x4c1aaa}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4d51ad,IconRobotPencil as _0x753514}from'ckeditor5/src/icons.js';import{first as _0x512ca3,CKEditorError as _0x24b643}from'ckeditor5/src/utils.js';import{createDropdown as _0x2ceb7b,addMenuToDropdown as _0x56663b,ButtonView as _0x2c8711,MenuBarMenuListItemButtonView as _0x32e2c8,Dialog as _0x472188,DialogViewPosition as _0x1c7782,MenuBarMenuView as _0x1a83af,MenuBarMenuListView as _0x4f32fd,MenuBarMenuListItemView as _0x42848f}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3bb942,UNGROUPED_COMMANDS_GROUP_ID as _0x52b2bf}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x180ac4}from'./aiassistantediting.js';import{AIAdapter as _0x2a6857}from'./adapters/aiadapter.js';import{getTranslation as _0x53e2af}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0xc9838a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0xdea816}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x20e13d}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x11e731}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x3497f2(0x189)];function _0xb48c(_0x5db2d9,_0x2f322b){const _0x39197f=_0x3919();return _0xb48c=function(_0xb48c38,_0x320740){_0xb48c38=_0xb48c38-0x174;let _0x3c9bd5=_0x39197f[_0xb48c38];return _0x3c9bd5;},_0xb48c(_0x5db2d9,_0x2f322b);}import{ClipboardMarkersUtils as _0x3a94f0}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x562385,ViewDataTransfer as _0x10e4e6}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4c1aaa{[_0x3497f2(0x17d)];[_0x3497f2(0x191)];[_0x3497f2(0x215)];[_0x3497f2(0x21d)];[_0x3497f2(0x19d)];[_0x3497f2(0x1d9)];[_0x3497f2(0x20c)]='';static get[_0x3497f2(0x17f)](){const _0xcd712c=_0x3497f2;return _0xcd712c(0x1ae);}static get[_0x3497f2(0x220)](){return!0x0;}static get[_0x3497f2(0x205)](){return!0x0;}static get[_0x3497f2(0x1ed)](){return[_0x3a94f0,_0x180ac4,_0x2a6857,_0x472188];}constructor(_0x51ba86){const _0x310c41=_0x3497f2;super(_0x51ba86),_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x187)](_0x310c41(0x193),[_0x310c41(0x1de),_0x310c41(0x195),_0x310c41(0x176)]),_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x187)](_0x310c41(0x1a9),''),_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x187)](_0x310c41(0x183),!0x0),this[_0x310c41(0x20c)]=_0x310c41(0x1a6)+(_0x51ba86[_0x310c41(0x1d0)][_0x310c41(0x1fd)](_0x310c41(0x183))?_0x310c41(0x179):'');}[_0x3497f2(0x1c8)](){const _0x5cb9b6=_0x3497f2,{editor:_0x2cfe33}=this;this[_0x5cb9b6(0x19d)]=_0x2cfe33[_0x5cb9b6(0x1e1)][_0x5cb9b6(0x1fd)](_0x2a6857),this[_0x5cb9b6(0x215)]=_0x2cfe33[_0x5cb9b6(0x1e1)][_0x5cb9b6(0x1fd)](_0x472188),this[_0x5cb9b6(0x21d)]=null,this[_0x5cb9b6(0x1b7)]=this[_0x5cb9b6(0x1cc)]();const _0x5e10be=new _0xc9838a(_0x2cfe33,Array[_0x5cb9b6(0x1e5)](this[_0x5cb9b6(0x1b7)][_0x5cb9b6(0x17b)]()));_0x2cfe33[_0x5cb9b6(0x1c6)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1fc),_0x5e10be),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1d3),_0x11766f=>{const _0x259c4e=_0x5cb9b6,_0x482452=_0x2ceb7b(_0x11766f);return _0x482452[_0x259c4e(0x212)]({'class':_0x259c4e(0x1d2)+this[_0x259c4e(0x20c)]}),_0x482452[_0x259c4e(0x1f9)][_0x259c4e(0x212)]({'label':_0x53e2af(_0x11766f,_0x259c4e(0x221)),'icon':_0x4d51ad,'tooltip':!0x0}),_0x482452['on'](_0x259c4e(0x1e3),_0xcce690=>this[_0x259c4e(0x1d7)](_0xcce690[_0x259c4e(0x182)]['id'])),_0x56663b(_0x482452,_0x2cfe33['ui'][_0x259c4e(0x1fa)][_0x259c4e(0x1bc)],function(_0x548031){const _0x372007=_0x259c4e,_0x3e0368=_0x3bb942(_0x548031[_0x372007(0x1d0)][_0x372007(0x1fd)](_0x372007(0x1e0)),_0x548031[_0x372007(0x21c)]),_0x5b7845=hi(_0x548031,_0x3e0368)[_0x372007(0x1ee)](_0x5c99dc=>_0x5c99dc[_0x372007(0x1c6)][_0x372007(0x194)]);if(0x1===_0x5b7845[_0x372007(0x194)])return hi(_0x548031,_0x5b7845[0x0][_0x372007(0x1c6)])[_0x372007(0x18d)](_0x39727b=>({'id':_0x39727b['id'],'label':_0x39727b[_0x372007(0x1e9)]}));return _0x5b7845[_0x372007(0x18d)](_0x34df51=>{const _0x3d9afb=_0x372007,{groupId:_0x5021d0,groupLabel:_0x5425c9,commands:_0x31d7b6}=_0x34df51,_0x51b90a=hi(_0x548031,_0x31d7b6)[_0x3d9afb(0x18d)](_0x5d9579=>({'id':_0x5d9579['id'],'label':_0x5d9579[_0x3d9afb(0x1e9)]}));return{'id':_0x5021d0,'menu':_0x5425c9||_0x5021d0,'children':_0x51b90a};});}(_0x2cfe33),{'ariaLabel':_0x53e2af(_0x11766f,_0x259c4e(0x221))}),_0x482452[_0x259c4e(0x206)][_0x259c4e(0x1f8)]=_0x259c4e(0x1d2)+this[_0x259c4e(0x20c)],_0x5e10be['on'](_0x259c4e(0x188),_0x2b44a5),_0x482452[_0x259c4e(0x206)][_0x259c4e(0x213)](_0x259c4e(0x207),_0x2b44a5),_0x482452;function _0x2b44a5(){const _0x1725f6=_0x259c4e;_0x482452[_0x1725f6(0x19f)]=_0x5e10be[_0x1725f6(0x192)][_0x1725f6(0x194)]>0x0;for(const _0x445878 of _0x482452[_0x1725f6(0x206)][_0x1725f6(0x178)])_0x445878[_0x1725f6(0x19f)]=_0x5e10be[_0x1725f6(0x192)][_0x1725f6(0x18f)](_0x445878['id']);}}),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1ef),_0x54f841=>{const _0x2b09e1=_0x5cb9b6,_0x3f5dc9=new _0x1a83af(_0x54f841);_0x3f5dc9[_0x2b09e1(0x1f9)][_0x2b09e1(0x212)]({'label':_0x53e2af(_0x54f841,_0x2b09e1(0x221)),'icon':_0x4d51ad}),_0x3f5dc9[_0x2b09e1(0x1db)](_0x2b09e1(0x19f))['to'](_0x5e10be,_0x2b09e1(0x192),_0x25f5c9=>_0x25f5c9[_0x2b09e1(0x194)]>0x0);const _0x4ed602=_0x3bb942(_0x2cfe33[_0x2b09e1(0x1d0)][_0x2b09e1(0x1fd)](_0x2b09e1(0x1e0)),_0x54f841);return this[_0x2b09e1(0x1b5)](_0x5e10be,_0x3f5dc9,_0x4ed602,_0x20635d=>this[_0x2b09e1(0x1d7)](_0x20635d)),_0x3f5dc9;}),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x21a),()=>{const _0x3c702c=_0x5cb9b6,_0x4b5e94=this[_0x3c702c(0x1f1)](_0x2c8711);return _0x4b5e94[_0x3c702c(0x212)]({'tooltip':!0x0,'class':_0x3c702c(0x1f2)+this[_0x3c702c(0x20c)]}),_0x4b5e94;}),_0x2cfe33['ui'][_0x5cb9b6(0x1af)][_0x5cb9b6(0x208)](_0x5cb9b6(0x1a5),()=>{const _0x54eda0=_0x5cb9b6,_0x62a42f=this[_0x54eda0(0x1f1)](_0x32e2c8);return _0x62a42f[_0x54eda0(0x212)]({'role':_0x54eda0(0x1df)}),_0x62a42f;}),this[_0x5cb9b6(0x17d)]=this[_0x5cb9b6(0x214)][_0x5cb9b6(0x1d0)][_0x5cb9b6(0x1fd)](_0x5cb9b6(0x17d));const _0x493989=this[_0x5cb9b6(0x214)];this[_0x5cb9b6(0x191)]=setInterval(()=>{const _0x45c249=_0x5cb9b6;let _0x19e43e;for(const _0x294343 in _0x493989){const _0x23d0ea=_0x294343,_0x44e908=_0x493989[_0x23d0ea];if(_0x45c249(0x20a)==_0x44e908||_0x45c249(0x1e6)==_0x44e908||_0x45c249(0x201)==_0x44e908||_0x45c249(0x198)==_0x44e908||_0x45c249(0x1f3)==_0x44e908||_0x45c249(0x222)==_0x44e908||_0x45c249(0x1c5)==_0x44e908||_0x45c249(0x1bb)==_0x44e908){delete _0x493989[_0x23d0ea],_0x19e43e=_0x44e908,clearInterval(this[_0x45c249(0x191)]),this[_0x45c249(0x191)]=void 0x0;break;}}_0x45c249(0x1e6)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1d1)),_0x45c249(0x201)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1a8)),_0x45c249(0x198)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1eb)),_0x45c249(0x1f3)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x204),_0x45c249(0x1e8)),_0x45c249(0x222)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x223)),_0x45c249(0x1c5)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x19a)),_0x45c249(0x1bb)==_0x19e43e&&_0x493989[_0x45c249(0x18e)](_0x45c249(0x1a4));},0x3e8);}[_0x3497f2(0x1be)](){const _0x40f93c=_0x3497f2;super[_0x40f93c(0x1be)](),this[_0x40f93c(0x191)]&&clearInterval(this[_0x40f93c(0x191)]);}[_0x3497f2(0x20f)](_0x3ee2d0='',_0x2fed9c='',_0x2c4af1=_0x3497f2(0x18c)){const _0x4a640d=_0x3497f2,_0x5c9fdb=this[_0x4a640d(0x214)],_0xb6716e=_0x5c9fdb[_0x4a640d(0x1b6)][_0x4a640d(0x1fa)],_0x2b1242=_0x5c9fdb[_0x4a640d(0x1e1)][_0x4a640d(0x1fd)](_0x180ac4),_0x3226dc=_0x5c9fdb[_0x4a640d(0x1e1)][_0x4a640d(0x1fd)](_0x3a94f0);_0x2b1242[_0x4a640d(0x1cb)]();const _0x1d56b1=new J(),_0x2e5aef=new ClipboardEvent(_0x4a640d(0x197),{'clipboardData':_0x1d56b1}),_0x5354b1=new _0x10e4e6(_0x1d56b1),_0x22fe85=new _0x562385(_0xb6716e,_0x2e5aef,{'dataTransfer':_0x5354b1});_0x3226dc[_0x4a640d(0x174)](_0x4a640d(0x1c7),()=>{const _0x33ee51=_0x4a640d;_0xb6716e[_0x33ee51(0x1c1)][_0x33ee51(0x1fb)](_0x33ee51(0x197),_0x22fe85);}),this[_0x4a640d(0x21d)]||(this[_0x4a640d(0x1d8)](),this[_0x4a640d(0x1d9)]=new _0xdea816(_0x5c9fdb,this[_0x4a640d(0x19d)][_0x4a640d(0x19b)],this[_0x4a640d(0x21d)]));let _0x563a8e=_0x5354b1[_0x4a640d(0x1f6)](_0x4a640d(0x17c));const _0x316f6f=_0x5c9fdb[_0x4a640d(0x181)][_0x4a640d(0x1c1)][_0x4a640d(0x1aa)],_0x29397c=Array[_0x4a640d(0x1e5)](_0x316f6f[_0x4a640d(0x1ec)]());0x1===_0x29397c[_0x4a640d(0x194)]&&_0x29397c[0x0][_0x4a640d(0x1b9)]&&!_0x316f6f[_0x4a640d(0x184)]()&&''!==_0x563a8e[_0x4a640d(0x1a2)](/ /g,'')[_0x4a640d(0x1bf)]()&&(_0x563a8e=_0x4a640d(0x1f0)+_0x563a8e+_0x4a640d(0x1ac)),this[_0x4a640d(0x1d9)][_0x4a640d(0x1b4)]({'actionId':_0x2c4af1,'query':_0x3ee2d0,'htmlContent':_0x563a8e,'label':_0x2fed9c,'mainActionLabel':_0x11e731[_0x5c9fdb[_0x4a640d(0x181)][_0x4a640d(0x1c1)][_0x4a640d(0x1aa)][_0x4a640d(0x1f5)]?_0x4a640d(0x20d):_0x4a640d(0x1e7)]}),_0x4a640d(0x21a)!==this[_0x4a640d(0x215)]['id']?this[_0x4a640d(0x215)][_0x4a640d(0x1c0)]({'id':_0x4a640d(0x21a),'icon':_0x753514,'title':_0x53e2af(this[_0x4a640d(0x214)][_0x4a640d(0x21c)],_0x4a640d(0x196)),'content':this[_0x4a640d(0x21d)],'position':_0x1c7782[_0x4a640d(0x1a0)],'onShow':()=>{const _0x533f23=_0x4a640d;this[_0x533f23(0x21d)][_0x533f23(0x200)]();},'onHide':()=>{const _0x58b161=_0x4a640d;this[_0x58b161(0x1d9)][_0x58b161(0x180)](),_0x2b1242[_0x58b161(0x1ba)]();}}):this[_0x4a640d(0x215)][_0x4a640d(0x1fa)][_0x4a640d(0x18a)]||this[_0x4a640d(0x215)][_0x4a640d(0x1fa)][_0x4a640d(0x1cd)]();}[_0x3497f2(0x219)](){const _0x293fcf=_0x3497f2;this[_0x293fcf(0x215)][_0x293fcf(0x209)]();}[_0x3497f2(0x1cc)](){const _0x3685a2=_0x3497f2,_0x81877b=new Map(),_0x5208f0=_0x3bb942(this[_0x3685a2(0x214)][_0x3685a2(0x1d0)][_0x3685a2(0x1fd)](_0x3685a2(0x1e0)),this[_0x3685a2(0x214)][_0x3685a2(0x21c)]);for(const _0xfeaaf7 of _0x5208f0)for(const _0x1a2588 of _0xfeaaf7[_0x3685a2(0x1c6)])_0x81877b[_0x3685a2(0x212)](_0x1a2588['id'],{..._0x1a2588,'groupId':_0xfeaaf7[_0x3685a2(0x21f)],'groupLabel':_0xfeaaf7[_0x3685a2(0x1a1)]||_0xfeaaf7[_0x3685a2(0x21f)]});return _0x81877b;}[_0x3497f2(0x1f1)](_0x302af2){const _0x5c2296=_0x3497f2,_0x3ba6d6=this[_0x5c2296(0x214)],_0x37a296=_0x3ba6d6[_0x5c2296(0x1c6)][_0x5c2296(0x1fd)](_0x5c2296(0x1fc)),_0x33b848=new _0x302af2(_0x3ba6d6[_0x5c2296(0x21c)]);return _0x33b848[_0x5c2296(0x212)]({'label':_0x53e2af(_0x3ba6d6[_0x5c2296(0x21c)],_0x5c2296(0x196)),'icon':_0x753514,'isToggleable':!0x0}),_0x33b848[_0x5c2296(0x1db)](_0x5c2296(0x19f))['to'](_0x37a296),_0x33b848[_0x5c2296(0x1db)](_0x5c2296(0x224))['to'](this[_0x5c2296(0x215)],'id',_0x2512e3=>_0x5c2296(0x21a)===_0x2512e3),this[_0x5c2296(0x21b)](_0x33b848,_0x5c2296(0x1e3),()=>{const _0x8ed4c0=_0x5c2296;_0x33b848[_0x8ed4c0(0x224)]?this[_0x8ed4c0(0x219)]():_0x37a296[_0x8ed4c0(0x1e3)]();}),_0x33b848;}[_0x3497f2(0x1d8)](){const _0x506ba9=_0x3497f2,_0x415aff=this[_0x506ba9(0x214)][_0x506ba9(0x1e1)][_0x506ba9(0x1fd)](_0x180ac4);this[_0x506ba9(0x21d)]=new _0x20e13d(this[_0x506ba9(0x214)][_0x506ba9(0x21c)],this[_0x506ba9(0x20c)],this[_0x506ba9(0x214)][_0x506ba9(0x1d0)][_0x506ba9(0x1fd)](_0x506ba9(0x1a9))),this[_0x506ba9(0x21d)]['on'](_0x506ba9(0x217),()=>{const _0x1efd40=_0x506ba9;this[_0x1efd40(0x215)][_0x1efd40(0x1fa)][_0x1efd40(0x18a)]||this[_0x1efd40(0x215)][_0x1efd40(0x1fa)][_0x1efd40(0x1cd)]();}),this[_0x506ba9(0x21d)][_0x506ba9(0x17e)][_0x506ba9(0x1d5)][_0x506ba9(0x1cf)]['on'](_0x506ba9(0x175),()=>{const _0x52b900=_0x506ba9;this[_0x52b900(0x215)][_0x52b900(0x1fa)][_0x52b900(0x18a)]||this[_0x52b900(0x215)][_0x52b900(0x1fa)][_0x52b900(0x1cd)]();}),this[_0x506ba9(0x21b)](this[_0x506ba9(0x21d)],_0x506ba9(0x1b8),()=>{const _0x513595=_0x506ba9;_0x415aff[_0x513595(0x1ea)](this[_0x513595(0x1d9)][_0x513595(0x20b)]),this[_0x513595(0x219)]();}),this[_0x506ba9(0x21b)](this[_0x506ba9(0x21d)],_0x506ba9(0x1b3),()=>{const _0x2c5170=_0x506ba9;_0x415aff[_0x2c5170(0x1b3)](this[_0x2c5170(0x1d9)][_0x2c5170(0x20b)]),this[_0x2c5170(0x219)]();}),this[_0x506ba9(0x1e2)]();}[_0x3497f2(0x1e2)](){const _0x226dcc=_0x3497f2,{locale:_0x29b2ff,ui:{ariaLiveAnnouncer:_0x6f955e}}=this[_0x226dcc(0x214)];this[_0x226dcc(0x21d)][_0x226dcc(0x1f7)]['on'](_0x226dcc(0x1d6),(_0x202600,_0x43d62c,_0x547bdb)=>{const _0x1c9203=_0x226dcc,_0x4bc20a=this[_0x1c9203(0x1d9)][_0x1c9203(0x20b)];_0x547bdb?_0x6f955e[_0x1c9203(0x199)](_0x53e2af(_0x29b2ff,_0x1c9203(0x1dd))):_0x4bc20a&&_0x6f955e[_0x1c9203(0x199)](_0x53e2af(_0x29b2ff,_0x1c9203(0x1fe),_0x4bc20a),{'politeness':_0x1c9203(0x1d4),'isUnsafeHTML':!0x0});}),this[_0x226dcc(0x21d)]['on'](_0x226dcc(0x211),(_0x161d8f,_0x1890c3,_0x52f517)=>{const _0x59061d=_0x226dcc;if(_0x52f517){const _0x1f1204=this[_0x59061d(0x21d)][_0x59061d(0x1c2)][_0x59061d(0x218)];_0x6f955e[_0x59061d(0x199)](_0x53e2af(_0x29b2ff,_0x59061d(0x210),_0x1f1204));}});}[_0x3497f2(0x1d7)](_0x2f364f){const _0x14c532=_0x3497f2,_0x4e350f=this[_0x14c532(0x1b7)][_0x14c532(0x1fd)](_0x2f364f),_0xc1b451=this[_0x14c532(0x214)],_0x18af16=_0xc1b451[_0x14c532(0x181)][_0x14c532(0x1c1)][_0x14c532(0x1aa)],_0x33c630=_0xc1b451[_0x14c532(0x1c6)][_0x14c532(0x1fd)](_0x14c532(0x1fc)),_0x3cbe05=_0xc1b451[_0x14c532(0x1e1)][_0x14c532(0x1fd)](_0x180ac4),_0x1ce0b7=''+(_0x4e350f[_0x14c532(0x21f)]!==_0x52b2bf?_0x4e350f[_0x14c532(0x1a1)]+':\x20':'')+_0x4e350f[_0x14c532(0x1e9)];if(!0x1!==_0x4e350f[_0x14c532(0x17a)]&&_0x18af16[_0x14c532(0x1f5)]){const _0x1f53ef=_0x512ca3(_0x18af16[_0x14c532(0x1f4)]())||_0xc1b451[_0x14c532(0x181)][_0x14c532(0x1ce)][_0x14c532(0x21e)](_0x18af16);_0xc1b451[_0x14c532(0x181)][_0x14c532(0x1c4)](_0x5a42b1=>{const _0x19f3c4=_0x14c532;_0x5a42b1[_0x19f3c4(0x177)](_0x1f53ef,'in');});}_0x3cbe05[_0x14c532(0x1cb)](),_0x33c630[_0x14c532(0x1e3)](_0x4e350f[_0x14c532(0x1bd)],_0x1ce0b7,_0x14c532(0x1b0)+_0x2f364f);}[_0x3497f2(0x1b5)](_0xbc9ba4,_0xc68c24,_0x2cb49f,_0x38945b){const _0x528487=_0x3497f2,_0x462a55=this[_0x528487(0x214)],_0x4de096=_0x462a55[_0x528487(0x21c)],_0x3750d3=new _0x4f32fd(_0x4de096),_0x47cdcb=hi(_0x462a55,_0x2cb49f)[_0x528487(0x1ee)](_0x4fbf0f=>_0x4fbf0f[_0x528487(0x1c6)][_0x528487(0x194)]);0x1===_0x47cdcb[_0x528487(0x194)]?this[_0x528487(0x1c9)]({'command':_0xbc9ba4,'commands':_0x47cdcb[0x0][_0x528487(0x1c6)],'parentMenuView':_0xc68c24,'onExecute':_0x38945b})[_0x528487(0x216)](_0xe25861=>_0x3750d3[_0x528487(0x19e)][_0x528487(0x208)](_0xe25861)):_0x47cdcb[_0x528487(0x216)](({groupId:_0x454e03,groupLabel:_0x4f1be7,commands:_0x4f0df1})=>{const _0x4bff2e=_0x528487,_0x3c948c=new _0x42848f(_0x4de096,_0xc68c24),_0x4ac5d4=new _0x1a83af(_0x4de096),_0x57433d=new _0x4f32fd(_0x4de096),_0x24c06a=this[_0x4bff2e(0x1c9)]({'command':_0xbc9ba4,'commands':_0x4f0df1,'parentMenuView':_0x4ac5d4,'onExecute':_0x38945b});_0x4ac5d4[_0x4bff2e(0x1f9)][_0x4bff2e(0x212)]({'label':_0x4f1be7||_0x454e03}),_0x4ac5d4[_0x4bff2e(0x1ad)](_0x4bff2e(0x1e3))['to'](_0xc68c24),_0x57433d[_0x4bff2e(0x19e)][_0x4bff2e(0x1c3)](_0x24c06a),_0x4ac5d4[_0x4bff2e(0x185)][_0x4bff2e(0x1b2)][_0x4bff2e(0x208)](_0x57433d),_0x3c948c[_0x4bff2e(0x1b2)][_0x4bff2e(0x208)](_0x4ac5d4),_0x3750d3[_0x4bff2e(0x19e)][_0x4bff2e(0x208)](_0x3c948c);}),_0xc68c24[_0x528487(0x185)][_0x528487(0x1b2)][_0x528487(0x208)](_0x3750d3);}[_0x3497f2(0x1c9)]({command:_0x368966,commands:_0x156062,parentMenuView:_0x37c284,onExecute:_0x13acaf}){const _0x210a3a=_0x3497f2,_0x34176d=this[_0x210a3a(0x214)],_0x2164c7=_0x34176d[_0x210a3a(0x21c)];return hi(_0x34176d,_0x156062)[_0x210a3a(0x18d)](_0x6e67e4=>{const _0x15c299=_0x210a3a,_0x5a663c=new _0x42848f(_0x2164c7,_0x37c284),_0x5a1b49=new _0x32e2c8(_0x2164c7);return _0x5a1b49[_0x15c299(0x212)]({'label':_0x6e67e4[_0x15c299(0x1e9)]}),_0x5a1b49[_0x15c299(0x1ad)](_0x15c299(0x1e3))['to'](_0x37c284),_0x5a1b49['on'](_0x15c299(0x1e3),()=>_0x13acaf(_0x6e67e4['id'])),_0x5a1b49[_0x15c299(0x1db)](_0x15c299(0x19f))['to'](_0x368966,_0x15c299(0x192),_0x2addcc=>_0x2addcc[_0x15c299(0x18f)](_0x6e67e4['id'])),_0x5a663c[_0x15c299(0x1b2)][_0x15c299(0x208)](_0x5a1b49),_0x5a663c;});}}function _0x3919(){const _0x7841e0=['execute','613675vSIGKl','from','aiLicenseKeyInvalid','REPLACE','AIAssistant','label','insertContent','domainLimit','getRanges','requires','filter','menuBar:aiCommands','<p>','_createAIAssistantUIButton','ck-ai-assistant-button\x20','aiLicenseKeyNotAllowed','getSelectedBlocks','isCollapsed','getData','contentArea','menuPanelClass','buttonView','view','fire','showAIAssistant','get','Generated\x20content:\x20%0','10892610vTmJdK','focus','aiLicenseKeyExpired','644rVCoiw','order','featureNotAllowed','isPremiumPlugin','menuView','render','add','hide','aiLicenseKeyValid','currentContext','_uiCssClasses','INSERT','1493428TQKdaj','showUI','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:isError','set','once','editor','_dialog','forEach','change:value','text','hideUI','aiAssistant','listenTo','locale','_formView','getLimitElement','groupId','isOfficialPlugin','AI\x20Commands','aiLicenseKeyEvaluationLimit','evaluationLimit','isOn','7785990uAvuOe','_forceMarkersCopy','update','tableOfContents','setSelection','buttons','\x20ck-ai-assistant-ui_theme','requiresContent','values','text/html','licenseKey','promptView','pluginName','reset','model','source','ai.assistant.useTheme','getSelectedElement','panelView','107652mLXNum','define','change:enabledCommandsIds','DataTransfer','wasMoved','10EupJCr','custom','map','_showLicenseError','includes','sort','_licenseKeyCheckInterval','enabledCommandsIds','ai.assistant.disabledElements','length','rawHtml','AI\x20Assistant','copy','aiLicenseKeyDomainLimit','announce','trialLimit','textAdapter','38816idwJgd','_aiAdapter','items','isEnabled','EDITOR_TOP_SIDE','groupLabel','replace','2849bQeyod','usageLimit','menuBar:aiAssistant','ck-ai-assistant-ui','337950WkjXmk','expired','ai.assistant.contentAreaCssClass','selection','push','</p>','delegate','AIAssistantUI','componentFactory','command:','9SNuneu','children','insertContentBelow','updateView','_populateMenuBarMenu','editing','_commandDefinitions','replaceContent','isFlat','hideFakeVisualSelection','aiLicenseKeyUsageLimit','body','prompt','destroy','trim','show','document','errorView','addMany','change','aiLicenseKeyTrialLimit','commands','comment','init','_getMenuBarGroupButtons','splice','showFakeVisualSelection','_getResolvedCommandsDefinitions','updatePosition','schema','fieldView','config','invalid','ck-ai-commands-dropdown\x20','aiCommands','polite','queryView','change:isProcessing','_onExecute','_initView','_aiAssistantController','20NlEqhm','bind','ai-commands-config-order-collision','AI\x20is\x20writing','media','menuitemcheckbox','ai.assistant.commands','plugins','_initAriaAiStatusChangeAnnouncements'];_0x3919=function(){return _0x7841e0;};return _0x3919();}function li(_0x23e409,_0x2f6716){const _0x52dba2=_0x3497f2;return void 0x0!==_0x23e409[_0x52dba2(0x203)]&&void 0x0===_0x2f6716[_0x52dba2(0x203)]?0x1:void 0x0===_0x23e409[_0x52dba2(0x203)]&&void 0x0!==_0x2f6716[_0x52dba2(0x203)]?-0x1:void 0x0!==_0x23e409[_0x52dba2(0x203)]&&void 0x0!==_0x2f6716[_0x52dba2(0x203)]?_0x23e409[_0x52dba2(0x203)]-_0x2f6716[_0x52dba2(0x203)]:0x0;}function hi(_0x12be83,_0x5cdada){const _0x1f0524=_0x3497f2;_0x5cdada[_0x1f0524(0x190)](li);const _0x35b36c={},_0x5a5dff=[];for(const _0x1fca95 of _0x5cdada)if(void 0x0!==_0x1fca95[_0x1f0524(0x203)]){if(_0x1fca95[_0x1f0524(0x203)]in _0x35b36c)throw new _0x24b643(_0x1f0524(0x1dc),_0x12be83,{'conflictingDefinitions':[_0x1fca95,_0x35b36c[_0x1fca95[_0x1f0524(0x203)]]]});_0x35b36c[_0x1fca95[_0x1f0524(0x203)]]=_0x1fca95,_0x5a5dff[_0x1f0524(0x1ca)](_0x1fca95[_0x1f0524(0x203)],0x0,_0x1fca95);}else _0x5a5dff[_0x1f0524(0x1ab)](_0x1fca95);return _0x5a5dff;}
|
|
23
|
+
const _0x4b97ba=_0x4b20;(function(_0x17c269,_0x2bb78c){const _0x10d670=_0x4b20,_0x4260ce=_0x17c269();while(!![]){try{const _0x798630=-parseInt(_0x10d670(0x18b))/0x1+parseInt(_0x10d670(0x1fd))/0x2*(-parseInt(_0x10d670(0x1ee))/0x3)+parseInt(_0x10d670(0x1c5))/0x4*(parseInt(_0x10d670(0x1b8))/0x5)+-parseInt(_0x10d670(0x225))/0x6*(-parseInt(_0x10d670(0x201))/0x7)+parseInt(_0x10d670(0x1b5))/0x8+parseInt(_0x10d670(0x200))/0x9+parseInt(_0x10d670(0x19e))/0xa;if(_0x798630===_0x2bb78c)break;else _0x4260ce['push'](_0x4260ce['shift']());}catch(_0x285bd2){_0x4260ce['push'](_0x4260ce['shift']());}}}(_0x575f,0xa949d));import{Plugin as _0x442809}from'ckeditor5/src/core.js';import{IconMagicWand as _0x33d565,IconRobotPencil as _0x205a62}from'ckeditor5/src/icons.js';function _0x4b20(_0x1fa894,_0x5d6834){const _0x575f3=_0x575f();return _0x4b20=function(_0x4b20ea,_0x21958f){_0x4b20ea=_0x4b20ea-0x17e;let _0x15ec6b=_0x575f3[_0x4b20ea];return _0x15ec6b;},_0x4b20(_0x1fa894,_0x5d6834);}import{first as _0x2b13bf,CKEditorError as _0x246df4}from'ckeditor5/src/utils.js';import{createDropdown as _0x4d307a,addMenuToDropdown as _0x372374,ButtonView as _0x1d2136,MenuBarMenuListItemButtonView as _0x39e850,Dialog as _0x155bd,DialogViewPosition as _0x34ef35,MenuBarMenuView as _0x4c2601,MenuBarMenuListView as _0x53aa04,MenuBarMenuListItemView as _0x9cfcc1}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4b06b9,UNGROUPED_COMMANDS_GROUP_ID as _0x2c767b}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x4a5483}from'./aiassistantediting.js';import{AIAdapter as _0x5cf08e}from'./adapters/aiadapter.js';import{getTranslation as _0x249702}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x578147}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0xb34b78}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x571077}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xa8f898}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const _=globalThis[_0x4b97ba(0x220)];import{ClipboardMarkersUtils as _0x5cc1fe}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2e376c,ViewDataTransfer as _0x16dbf5}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x442809{[_0x4b97ba(0x194)];[_0x4b97ba(0x1c3)];[_0x4b97ba(0x218)];[_0x4b97ba(0x224)];[_0x4b97ba(0x19a)];[_0x4b97ba(0x1a8)];[_0x4b97ba(0x1d4)]='';static get[_0x4b97ba(0x1bb)](){const _0x18acbe=_0x4b97ba;return _0x18acbe(0x226);}static get[_0x4b97ba(0x228)](){return!0x0;}static get[_0x4b97ba(0x1c1)](){return!0x0;}static get[_0x4b97ba(0x1ad)](){return[_0x5cc1fe,_0x4a5483,_0x5cf08e,_0x155bd];}constructor(_0x152ce9){const _0x2bff9c=_0x4b97ba;super(_0x152ce9),_0x152ce9[_0x2bff9c(0x1c2)][_0x2bff9c(0x21c)](_0x2bff9c(0x1ec),[_0x2bff9c(0x1ba),_0x2bff9c(0x1c0),_0x2bff9c(0x204)]),_0x152ce9[_0x2bff9c(0x1c2)][_0x2bff9c(0x21c)](_0x2bff9c(0x1fb),''),_0x152ce9[_0x2bff9c(0x1c2)][_0x2bff9c(0x21c)](_0x2bff9c(0x215),!0x0),this[_0x2bff9c(0x1d4)]=_0x2bff9c(0x1b6)+(_0x152ce9[_0x2bff9c(0x1c2)][_0x2bff9c(0x205)](_0x2bff9c(0x215))?_0x2bff9c(0x19b):'');}[_0x4b97ba(0x1b3)](){const _0x3dfa3b=_0x4b97ba,{editor:_0x4fbd12}=this;this[_0x3dfa3b(0x19a)]=_0x4fbd12[_0x3dfa3b(0x1e5)][_0x3dfa3b(0x205)](_0x5cf08e),this[_0x3dfa3b(0x218)]=_0x4fbd12[_0x3dfa3b(0x1e5)][_0x3dfa3b(0x205)](_0x155bd),this[_0x3dfa3b(0x224)]=null,this[_0x3dfa3b(0x1bd)]=this[_0x3dfa3b(0x17f)]();const _0x5d5a21=new _0x578147(_0x4fbd12,Array[_0x3dfa3b(0x216)](this[_0x3dfa3b(0x1bd)][_0x3dfa3b(0x1be)]()));_0x4fbd12[_0x3dfa3b(0x1ce)][_0x3dfa3b(0x1fe)](_0x3dfa3b(0x1c7),_0x5d5a21),_0x4fbd12['ui'][_0x3dfa3b(0x22d)][_0x3dfa3b(0x1fe)](_0x3dfa3b(0x21b),_0x1bd65c=>{const _0x134012=_0x3dfa3b,_0xdf2d6e=_0x4d307a(_0x1bd65c);return _0xdf2d6e[_0x134012(0x210)]({'class':_0x134012(0x22b)+this[_0x134012(0x1d4)]}),_0xdf2d6e[_0x134012(0x1b0)][_0x134012(0x210)]({'label':_0x249702(_0x1bd65c,_0x134012(0x186)),'icon':_0x33d565,'tooltip':!0x0}),_0xdf2d6e['on'](_0x134012(0x1f1),_0x585bac=>this[_0x134012(0x1b9)](_0x585bac[_0x134012(0x214)]['id'])),_0x372374(_0xdf2d6e,_0x4fbd12['ui'][_0x134012(0x1a5)][_0x134012(0x1df)],function(_0x250406){const _0x49f9c8=_0x134012,_0x27231d=_0x4b06b9(_0x250406[_0x49f9c8(0x1c2)][_0x49f9c8(0x205)](_0x49f9c8(0x22c)),_0x250406[_0x49f9c8(0x1f0)]),_0x1435a5=z(_0x250406,_0x27231d)[_0x49f9c8(0x1a6)](_0x5597eb=>_0x5597eb[_0x49f9c8(0x1ce)][_0x49f9c8(0x207)]);if(0x1===_0x1435a5[_0x49f9c8(0x207)])return z(_0x250406,_0x1435a5[0x0][_0x49f9c8(0x1ce)])[_0x49f9c8(0x1cc)](_0x20f604=>({'id':_0x20f604['id'],'label':_0x20f604[_0x49f9c8(0x21d)]}));return _0x1435a5[_0x49f9c8(0x1cc)](_0x481b5c=>{const _0x325d69=_0x49f9c8,{groupId:_0x30fd88,groupLabel:_0x4012df,commands:_0x54edfa}=_0x481b5c,_0x75914=z(_0x250406,_0x54edfa)[_0x325d69(0x1cc)](_0x38f92d=>({'id':_0x38f92d['id'],'label':_0x38f92d[_0x325d69(0x21d)]}));return{'id':_0x30fd88,'menu':_0x4012df||_0x30fd88,'children':_0x75914};});}(_0x4fbd12),{'ariaLabel':_0x249702(_0x1bd65c,_0x134012(0x186))}),_0xdf2d6e[_0x134012(0x1d5)][_0x134012(0x222)]=_0x134012(0x22b)+this[_0x134012(0x1d4)],_0x5d5a21['on'](_0x134012(0x1f9),_0x6caaf8),_0xdf2d6e[_0x134012(0x1d5)][_0x134012(0x20b)](_0x134012(0x206),_0x6caaf8),_0xdf2d6e;function _0x6caaf8(){const _0x1579eb=_0x134012;_0xdf2d6e[_0x1579eb(0x1d8)]=_0x5d5a21[_0x1579eb(0x208)][_0x1579eb(0x207)]>0x0;for(const _0x5471f2 of _0xdf2d6e[_0x1579eb(0x1d5)][_0x1579eb(0x1a2)])_0x5471f2[_0x1579eb(0x1d8)]=_0x5d5a21[_0x1579eb(0x208)][_0x1579eb(0x1cd)](_0x5471f2['id']);}}),_0x4fbd12['ui'][_0x3dfa3b(0x22d)][_0x3dfa3b(0x1fe)](_0x3dfa3b(0x1a1),_0x56ab61=>{const _0x508caa=_0x3dfa3b,_0xa09f32=new _0x4c2601(_0x56ab61);_0xa09f32[_0x508caa(0x1b0)][_0x508caa(0x210)]({'label':_0x249702(_0x56ab61,_0x508caa(0x186)),'icon':_0x33d565}),_0xa09f32[_0x508caa(0x1b2)](_0x508caa(0x1d8))['to'](_0x5d5a21,_0x508caa(0x208),_0x5842ed=>_0x5842ed[_0x508caa(0x207)]>0x0);const _0x2a66df=_0x4b06b9(_0x4fbd12[_0x508caa(0x1c2)][_0x508caa(0x205)](_0x508caa(0x22c)),_0x56ab61);return this[_0x508caa(0x1ed)](_0x5d5a21,_0xa09f32,_0x2a66df,_0x308a03=>this[_0x508caa(0x1b9)](_0x308a03)),_0xa09f32;}),_0x4fbd12['ui'][_0x3dfa3b(0x22d)][_0x3dfa3b(0x1fe)](_0x3dfa3b(0x1f6),()=>{const _0x5d339b=_0x3dfa3b,_0x1db76b=this[_0x5d339b(0x1f7)](_0x1d2136);return _0x1db76b[_0x5d339b(0x210)]({'tooltip':!0x0,'class':_0x5d339b(0x185)+this[_0x5d339b(0x1d4)]}),_0x1db76b;}),_0x4fbd12['ui'][_0x3dfa3b(0x22d)][_0x3dfa3b(0x1fe)](_0x3dfa3b(0x1d1),()=>{const _0x4ec845=_0x3dfa3b,_0x5d8b22=this[_0x4ec845(0x1f7)](_0x39e850);return _0x5d8b22[_0x4ec845(0x210)]({'role':_0x4ec845(0x181)}),_0x5d8b22;}),this[_0x3dfa3b(0x194)]=this[_0x3dfa3b(0x1e1)][_0x3dfa3b(0x1c2)][_0x3dfa3b(0x205)](_0x3dfa3b(0x194));const _0x6d190=this[_0x3dfa3b(0x1e1)];this[_0x3dfa3b(0x1c3)]=setInterval(()=>{const _0x2d7987=_0x3dfa3b;let _0x3c4a19;for(const _0xd93e2e in _0x6d190){const _0x1631fc=_0xd93e2e,_0x58c154=_0x6d190[_0x1631fc];if(_0x2d7987(0x1bf)==_0x58c154||_0x2d7987(0x1f3)==_0x58c154||_0x2d7987(0x180)==_0x58c154||_0x2d7987(0x209)==_0x58c154||_0x2d7987(0x1d3)==_0x58c154||_0x2d7987(0x1f2)==_0x58c154||_0x2d7987(0x1dd)==_0x58c154||_0x2d7987(0x17e)==_0x58c154){delete _0x6d190[_0x1631fc],_0x3c4a19=_0x58c154,clearInterval(this[_0x2d7987(0x1c3)]),this[_0x2d7987(0x1c3)]=void 0x0;break;}}_0x2d7987(0x1f3)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x182)),_0x2d7987(0x180)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x19d)),_0x2d7987(0x209)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x1cb)),_0x2d7987(0x1d3)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x227),_0x2d7987(0x1e9)),_0x2d7987(0x1f2)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x1c4)),_0x2d7987(0x1dd)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x1b7)),_0x2d7987(0x17e)==_0x3c4a19&&_0x6d190[_0x2d7987(0x1ea)](_0x2d7987(0x1b4));},0x3e8);}[_0x4b97ba(0x21e)](){const _0x500c33=_0x4b97ba;super[_0x500c33(0x21e)](),this[_0x500c33(0x1c3)]&&clearInterval(this[_0x500c33(0x1c3)]);}[_0x4b97ba(0x190)](_0x1d36ed='',_0x520237='',_0x198550=_0x4b97ba(0x1ab)){const _0x497eb3=_0x4b97ba,_0x49b426=this[_0x497eb3(0x1e1)],_0x5e1db0=_0x49b426[_0x497eb3(0x1d0)][_0x497eb3(0x1a5)],_0x8b74c7=_0x49b426[_0x497eb3(0x1e5)][_0x497eb3(0x205)](_0x4a5483),_0x415af2=_0x49b426[_0x497eb3(0x1e5)][_0x497eb3(0x205)](_0x5cc1fe);_0x8b74c7[_0x497eb3(0x19c)]();const _0x520e76=new _(),_0x3d5965=new ClipboardEvent(_0x497eb3(0x20e),{'clipboardData':_0x520e76}),_0x3089f0=new _0x16dbf5(_0x520e76),_0x32d3f8=new _0x2e376c(_0x5e1db0,_0x3d5965,{'dataTransfer':_0x3089f0});_0x415af2[_0x497eb3(0x1f8)](_0x497eb3(0x221),()=>{const _0x365469=_0x497eb3;_0x5e1db0[_0x365469(0x1da)][_0x365469(0x189)](_0x365469(0x20e),_0x32d3f8);}),this[_0x497eb3(0x224)]||(this[_0x497eb3(0x18a)](),this[_0x497eb3(0x1a8)]=new _0xb34b78(_0x49b426,this[_0x497eb3(0x19a)][_0x497eb3(0x192)],this[_0x497eb3(0x224)]));let _0x4dfa44=_0x3089f0[_0x497eb3(0x198)](_0x497eb3(0x1eb));const _0x55a9c4=_0x49b426[_0x497eb3(0x1f5)][_0x497eb3(0x1da)][_0x497eb3(0x22a)],_0x2984d5=Array[_0x497eb3(0x216)](_0x55a9c4[_0x497eb3(0x193)]());0x1===_0x2984d5[_0x497eb3(0x207)]&&_0x2984d5[0x0][_0x497eb3(0x1db)]&&!_0x55a9c4[_0x497eb3(0x187)]()&&''!==_0x4dfa44[_0x497eb3(0x1a4)](/ /g,'')[_0x497eb3(0x1dc)]()&&(_0x4dfa44=_0x497eb3(0x1ac)+_0x4dfa44+_0x497eb3(0x1bc)),this[_0x497eb3(0x1a8)][_0x497eb3(0x1cf)]({'actionId':_0x198550,'query':_0x1d36ed,'htmlContent':_0x4dfa44,'label':_0x520237,'mainActionLabel':_0xa8f898[_0x49b426[_0x497eb3(0x1f5)][_0x497eb3(0x1da)][_0x497eb3(0x22a)][_0x497eb3(0x223)]?_0x497eb3(0x1ff):_0x497eb3(0x1e2)]}),_0x497eb3(0x1f6)!==this[_0x497eb3(0x218)]['id']?this[_0x497eb3(0x218)][_0x497eb3(0x20d)]({'id':_0x497eb3(0x1f6),'icon':_0x205a62,'title':_0x249702(this[_0x497eb3(0x1e1)][_0x497eb3(0x1f0)],_0x497eb3(0x19f)),'content':this[_0x497eb3(0x224)],'position':_0x34ef35[_0x497eb3(0x1d7)],'onShow':()=>{const _0x322c22=_0x497eb3;this[_0x322c22(0x224)][_0x322c22(0x1fc)]();},'onHide':()=>{const _0x22588a=_0x497eb3;this[_0x22588a(0x1a8)][_0x22588a(0x1ca)](),_0x8b74c7[_0x22588a(0x1e7)]();}}):this[_0x497eb3(0x218)][_0x497eb3(0x1a5)][_0x497eb3(0x21a)]||this[_0x497eb3(0x218)][_0x497eb3(0x1a5)][_0x497eb3(0x1e4)]();}[_0x4b97ba(0x195)](){const _0x44fd07=_0x4b97ba;this[_0x44fd07(0x218)][_0x44fd07(0x1de)]();}[_0x4b97ba(0x17f)](){const _0x596169=_0x4b97ba,_0x4913b9=new Map(),_0x15d832=_0x4b06b9(this[_0x596169(0x1e1)][_0x596169(0x1c2)][_0x596169(0x205)](_0x596169(0x22c)),this[_0x596169(0x1e1)][_0x596169(0x1f0)]);for(const _0x53c63a of _0x15d832)for(const _0x46fc2f of _0x53c63a[_0x596169(0x1ce)])_0x4913b9[_0x596169(0x210)](_0x46fc2f['id'],{..._0x46fc2f,'groupId':_0x53c63a[_0x596169(0x1ae)],'groupLabel':_0x53c63a[_0x596169(0x197)]||_0x53c63a[_0x596169(0x1ae)]});return _0x4913b9;}[_0x4b97ba(0x1f7)](_0x2ed368){const _0x52dd74=_0x4b97ba,_0x4a0934=this[_0x52dd74(0x1e1)],_0x52d9fa=_0x4a0934[_0x52dd74(0x1ce)][_0x52dd74(0x205)](_0x52dd74(0x1c7)),_0x134ee3=new _0x2ed368(_0x4a0934[_0x52dd74(0x1f0)]);return _0x134ee3[_0x52dd74(0x210)]({'label':_0x249702(_0x4a0934[_0x52dd74(0x1f0)],_0x52dd74(0x19f)),'icon':_0x205a62,'isToggleable':!0x0}),_0x134ee3[_0x52dd74(0x1b2)](_0x52dd74(0x1d8))['to'](_0x52d9fa),_0x134ee3[_0x52dd74(0x1b2)](_0x52dd74(0x18d))['to'](this[_0x52dd74(0x218)],'id',_0x1592ba=>_0x52dd74(0x1f6)===_0x1592ba),this[_0x52dd74(0x188)](_0x134ee3,_0x52dd74(0x1f1),()=>{const _0x1f201b=_0x52dd74;_0x134ee3[_0x1f201b(0x18d)]?this[_0x1f201b(0x195)]():_0x52d9fa[_0x1f201b(0x1f1)]();}),_0x134ee3;}[_0x4b97ba(0x18a)](){const _0x20872e=_0x4b97ba,_0x40e450=this[_0x20872e(0x1e1)][_0x20872e(0x1e5)][_0x20872e(0x205)](_0x4a5483);this[_0x20872e(0x224)]=new _0x571077(this[_0x20872e(0x1e1)][_0x20872e(0x1f0)],this[_0x20872e(0x1d4)],this[_0x20872e(0x1e1)][_0x20872e(0x1c2)][_0x20872e(0x205)](_0x20872e(0x1fb))),this[_0x20872e(0x224)]['on'](_0x20872e(0x1fa),()=>{const _0x5c08a6=_0x20872e;this[_0x5c08a6(0x218)][_0x5c08a6(0x1a5)][_0x5c08a6(0x21a)]||this[_0x5c08a6(0x218)][_0x5c08a6(0x1a5)][_0x5c08a6(0x1e4)]();}),this[_0x20872e(0x224)][_0x20872e(0x199)][_0x20872e(0x1aa)][_0x20872e(0x1f4)]['on'](_0x20872e(0x212),()=>{const _0x211500=_0x20872e;this[_0x211500(0x218)][_0x211500(0x1a5)][_0x211500(0x21a)]||this[_0x211500(0x218)][_0x211500(0x1a5)][_0x211500(0x1e4)]();}),this[_0x20872e(0x188)](this[_0x20872e(0x224)],_0x20872e(0x203),()=>{const _0xcdd04d=_0x20872e;_0x40e450[_0xcdd04d(0x229)](this[_0xcdd04d(0x1a8)][_0xcdd04d(0x20c)]),this[_0xcdd04d(0x195)]();}),this[_0x20872e(0x188)](this[_0x20872e(0x224)],_0x20872e(0x1e0),()=>{const _0x3d2d9a=_0x20872e;_0x40e450[_0x3d2d9a(0x1e0)](this[_0x3d2d9a(0x1a8)][_0x3d2d9a(0x20c)]),this[_0x3d2d9a(0x195)]();}),this[_0x20872e(0x1ef)]();}[_0x4b97ba(0x1ef)](){const _0x151679=_0x4b97ba,{locale:_0x257ead,ui:{ariaLiveAnnouncer:_0x465a41}}=this[_0x151679(0x1e1)];this[_0x151679(0x224)][_0x151679(0x1b1)]['on'](_0x151679(0x1af),(_0x1e07d2,_0x395874,_0x38742d)=>{const _0x2891f7=_0x151679,_0x10c434=this[_0x2891f7(0x1a8)][_0x2891f7(0x20c)];_0x38742d?_0x465a41[_0x2891f7(0x1c9)](_0x249702(_0x257ead,_0x2891f7(0x1d2))):_0x10c434&&_0x465a41[_0x2891f7(0x1c9)](_0x249702(_0x257ead,_0x2891f7(0x213),_0x10c434),{'politeness':_0x2891f7(0x202),'isUnsafeHTML':!0x0});}),this[_0x151679(0x224)]['on'](_0x151679(0x211),(_0x374110,_0x281b73,_0x54bdf9)=>{const _0x10d039=_0x151679;if(_0x54bdf9){const _0x53462b=this[_0x10d039(0x224)][_0x10d039(0x1d9)][_0x10d039(0x183)];_0x465a41[_0x10d039(0x1c9)](_0x249702(_0x257ead,_0x10d039(0x1a9),_0x53462b));}});}[_0x4b97ba(0x1b9)](_0x335636){const _0x4600f9=_0x4b97ba,_0x33e9eb=this[_0x4600f9(0x1bd)][_0x4600f9(0x205)](_0x335636),_0x13ba59=this[_0x4600f9(0x1e1)],_0x2a9ef3=_0x13ba59[_0x4600f9(0x1f5)][_0x4600f9(0x1da)][_0x4600f9(0x22a)],_0x139fe5=_0x13ba59[_0x4600f9(0x1ce)][_0x4600f9(0x205)](_0x4600f9(0x1c7)),_0x418064=_0x13ba59[_0x4600f9(0x1e5)][_0x4600f9(0x205)](_0x4a5483),_0x5da8bb=''+(_0x33e9eb[_0x4600f9(0x1ae)]!==_0x2c767b?_0x33e9eb[_0x4600f9(0x197)]+':\x20':'')+_0x33e9eb[_0x4600f9(0x21d)];if(!0x1!==_0x33e9eb[_0x4600f9(0x20a)]&&_0x2a9ef3[_0x4600f9(0x223)]){const _0x619026=_0x2b13bf(_0x2a9ef3[_0x4600f9(0x1e3)]())||_0x13ba59[_0x4600f9(0x1f5)][_0x4600f9(0x217)][_0x4600f9(0x21f)](_0x2a9ef3);_0x13ba59[_0x4600f9(0x1f5)][_0x4600f9(0x1c8)](_0x35f95a=>{const _0x1d2516=_0x4600f9;_0x35f95a[_0x1d2516(0x20f)](_0x619026,'in');});}_0x418064[_0x4600f9(0x19c)](),_0x139fe5[_0x4600f9(0x1f1)](_0x33e9eb[_0x4600f9(0x1e8)],_0x5da8bb,_0x4600f9(0x1d6)+_0x335636);}[_0x4b97ba(0x1ed)](_0x1d5c07,_0x55865c,_0xe169e,_0x19856f){const _0x4c8c06=_0x4b97ba,_0x1754b3=this[_0x4c8c06(0x1e1)],_0x273863=_0x1754b3[_0x4c8c06(0x1f0)],_0x3040af=new _0x53aa04(_0x273863),_0x26633b=z(_0x1754b3,_0xe169e)[_0x4c8c06(0x1a6)](_0x5244c3=>_0x5244c3[_0x4c8c06(0x1ce)][_0x4c8c06(0x207)]);0x1===_0x26633b[_0x4c8c06(0x207)]?this[_0x4c8c06(0x1e6)]({'command':_0x1d5c07,'commands':_0x26633b[0x0][_0x4c8c06(0x1ce)],'parentMenuView':_0x55865c,'onExecute':_0x19856f})[_0x4c8c06(0x1a0)](_0x22f398=>_0x3040af[_0x4c8c06(0x1a3)][_0x4c8c06(0x1fe)](_0x22f398)):_0x26633b[_0x4c8c06(0x1a0)](({groupId:_0x299f66,groupLabel:_0x151bce,commands:_0x2a43f7})=>{const _0x5722c5=_0x4c8c06,_0x110fd5=new _0x9cfcc1(_0x273863,_0x55865c),_0x175480=new _0x4c2601(_0x273863),_0x164341=new _0x53aa04(_0x273863),_0x41cf25=this[_0x5722c5(0x1e6)]({'command':_0x1d5c07,'commands':_0x2a43f7,'parentMenuView':_0x175480,'onExecute':_0x19856f});_0x175480[_0x5722c5(0x1b0)][_0x5722c5(0x210)]({'label':_0x151bce||_0x299f66}),_0x175480[_0x5722c5(0x219)](_0x5722c5(0x1f1))['to'](_0x55865c),_0x164341[_0x5722c5(0x1a3)][_0x5722c5(0x184)](_0x41cf25),_0x175480[_0x5722c5(0x18e)][_0x5722c5(0x1a7)][_0x5722c5(0x1fe)](_0x164341),_0x110fd5[_0x5722c5(0x1a7)][_0x5722c5(0x1fe)](_0x175480),_0x3040af[_0x5722c5(0x1a3)][_0x5722c5(0x1fe)](_0x110fd5);}),_0x55865c[_0x4c8c06(0x18e)][_0x4c8c06(0x1a7)][_0x4c8c06(0x1fe)](_0x3040af);}[_0x4b97ba(0x1e6)]({command:_0x19f607,commands:_0x5d9fac,parentMenuView:_0x435c4a,onExecute:_0x4f759c}){const _0x266e91=_0x4b97ba,_0x20cd1e=this[_0x266e91(0x1e1)],_0x1790d2=_0x20cd1e[_0x266e91(0x1f0)];return z(_0x20cd1e,_0x5d9fac)[_0x266e91(0x1cc)](_0x5c0387=>{const _0x96cfef=_0x266e91,_0x4d86c=new _0x9cfcc1(_0x1790d2,_0x435c4a),_0x4f581c=new _0x39e850(_0x1790d2);return _0x4f581c[_0x96cfef(0x210)]({'label':_0x5c0387[_0x96cfef(0x21d)]}),_0x4f581c[_0x96cfef(0x219)](_0x96cfef(0x1f1))['to'](_0x435c4a),_0x4f581c['on'](_0x96cfef(0x1f1),()=>_0x4f759c(_0x5c0387['id'])),_0x4f581c[_0x96cfef(0x1b2)](_0x96cfef(0x1d8))['to'](_0x19f607,_0x96cfef(0x208),_0x7b6f9e=>_0x7b6f9e[_0x96cfef(0x1cd)](_0x5c0387['id'])),_0x4d86c[_0x96cfef(0x1a7)][_0x96cfef(0x1fe)](_0x4f581c),_0x4d86c;});}}function S(_0x5e93cb,_0xd114ec){const _0x419d09=_0x4b97ba;return void 0x0!==_0x5e93cb[_0x419d09(0x1c6)]&&void 0x0===_0xd114ec[_0x419d09(0x1c6)]?0x1:void 0x0===_0x5e93cb[_0x419d09(0x1c6)]&&void 0x0!==_0xd114ec[_0x419d09(0x1c6)]?-0x1:void 0x0!==_0x5e93cb[_0x419d09(0x1c6)]&&void 0x0!==_0xd114ec[_0x419d09(0x1c6)]?_0x5e93cb[_0x419d09(0x1c6)]-_0xd114ec[_0x419d09(0x1c6)]:0x0;}function _0x575f(){const _0x16b540=['_licenseKeyCheckInterval','evaluationLimit','488cAMrud','order','showAIAssistant','change','announce','reset','domainLimit','map','includes','commands','updateView','editing','menuBar:aiAssistant','AI\x20is\x20writing','aiLicenseKeyNotAllowed','_uiCssClasses','menuView','command:','EDITOR_TOP_SIDE','isEnabled','errorView','document','isFlat','trim','aiLicenseKeyTrialLimit','hide','body','insertContentBelow','editor','REPLACE','getSelectedBlocks','updatePosition','plugins','_getMenuBarGroupButtons','hideFakeVisualSelection','prompt','AIAssistant','_showLicenseError','text/html','ai.assistant.disabledElements','_populateMenuBarMenu','55167OxXtsl','_initAriaAiStatusChangeAnnouncements','locale','execute','aiLicenseKeyEvaluationLimit','aiLicenseKeyInvalid','fieldView','model','aiAssistant','_createAIAssistantUIButton','_forceMarkersCopy','change:enabledCommandsIds','change:value','ai.assistant.contentAreaCssClass','focus','84RViYIm','add','INSERT','9602910ZvFnla','56GWYSzD','polite','replaceContent','tableOfContents','get','render','length','enabledCommandsIds','aiLicenseKeyDomainLimit','requiresContent','once','currentContext','show','copy','setSelection','set','change:isError','update','Generated\x20content:\x20%0','source','ai.assistant.useTheme','from','schema','_dialog','delegate','wasMoved','aiCommands','define','label','destroy','getLimitElement','DataTransfer','comment','menuPanelClass','isCollapsed','_formView','149658rcSSON','AIAssistantUI','featureNotAllowed','isOfficialPlugin','insertContent','selection','ck-ai-commands-dropdown\x20','ai.assistant.commands','componentFactory','aiLicenseKeyUsageLimit','_getResolvedCommandsDefinitions','aiLicenseKeyExpired','menuitemcheckbox','invalid','text','addMany','ck-ai-assistant-button\x20','AI\x20Commands','getSelectedElement','listenTo','fire','_initView','1129576FfFeun','splice','isOn','panelView','push','showUI','sort','textAdapter','getRanges','licenseKey','hideUI','ai-commands-config-order-collision','groupLabel','getData','promptView','_aiAdapter','\x20ck-ai-assistant-ui_theme','showFakeVisualSelection','expired','7176960bpThEL','AI\x20Assistant','forEach','menuBar:aiCommands','buttons','items','replace','view','filter','children','_aiAssistantController','Error\x20during\x20AI\x20content\x20generation:\x20%0','queryView','custom','<p>','requires','groupId','change:isProcessing','buttonView','contentArea','bind','init','usageLimit','1955832MgBfRo','ck-ai-assistant-ui','trialLimit','15025aYYGCM','_onExecute','media','pluginName','</p>','_commandDefinitions','values','aiLicenseKeyValid','rawHtml','isPremiumPlugin','config'];_0x575f=function(){return _0x16b540;};return _0x575f();}function z(_0x28dc46,_0x27251e){const _0xe381fa=_0x4b97ba;_0x27251e[_0xe381fa(0x191)](S);const _0x525661={},_0x389547=[];for(const _0x56bf2c of _0x27251e)if(void 0x0!==_0x56bf2c[_0xe381fa(0x1c6)]){if(_0x56bf2c[_0xe381fa(0x1c6)]in _0x525661)throw new _0x246df4(_0xe381fa(0x196),_0x28dc46,{'conflictingDefinitions':[_0x56bf2c,_0x525661[_0x56bf2c[_0xe381fa(0x1c6)]]]});_0x525661[_0x56bf2c[_0xe381fa(0x1c6)]]=_0x56bf2c,_0x389547[_0xe381fa(0x18c)](_0x56bf2c[_0xe381fa(0x1c6)],0x0,_0x56bf2c);}else _0x389547[_0xe381fa(0x18f)](_0x56bf2c);return _0x389547;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4557(_0x4c1ad8,_0x336809){const _0x330316=_0x3303();return _0x4557=function(_0x4557cf,_0x4c5385){_0x4557cf=_0x4557cf-0x18e;let _0x1703d4=_0x330316[_0x4557cf];return _0x1703d4;},_0x4557(_0x4c1ad8,_0x336809);}function _0x3303(){const _0x598e85=['1456uhmzVd','loaderView','text/plain','setTemplate','scrollTo','createRange','class','style','text/html','856385knfXGD','bindTemplate','listenTo','ck-ai-form__content-field','textContent','querySelector','setEndBefore','focus','ck-ai-form__content-area-wrapper','<span>]</span>','ck-ai-form__copy-button-wrapper','<span>[</span>','452wfoLWE','appendChild','setStartAfter','-9999px','absolute','lastElementChild','smooth','AI\x20is\x20writing...','ck-reset_all-excluded','execute','getSelection','contentFieldView','ck-ai-form__content-area--processing','element','_createLoader','remove','innerHTML','128872MIYdew','871frXCfz','\x20ck-ai-form__copy-button--copied','isEnabled','ClipboardItem','render','_createCopyButton','isVisible','body','8116720ToaoOq','isProcessing','scrollHeight','change:value','setContent','locale','change:isProcessing','182928pBYJQr','8YJvnUj','copyButtonView','.ck-ai-form__loader','copy','removeAllRanges','set','addRange','ck-ai-form__content-area','bind','clipboard','firstElementChild','icon','ck-ai-form__loader','_copyHTMLToClipboard','ck-hidden','position','createElement','166536xSVQnM','Copy','4926ekZEDP','left','appendLoader','execCommand','mousedown','value','div','ck-content','wheel','write','ck-ai-form__copy-button'];_0x3303=function(){return _0x598e85;};return _0x3303();}const _0x55a6bd=_0x4557;(function(_0x588996,_0x501ef5){const _0x3c5e01=_0x4557,_0xc44ae2=_0x588996();while(!![]){try{const _0x204ce9=parseInt(_0x3c5e01(0x1d5))/0x1*(-parseInt(_0x3c5e01(0x1c3))/0x2)+-parseInt(_0x3c5e01(0x18f))/0x3+-parseInt(_0x3c5e01(0x1d4))/0x4+-parseInt(_0x3c5e01(0x1b7))/0x5+-parseInt(_0x3c5e01(0x1a3))/0x6*(parseInt(_0x3c5e01(0x1ae))/0x7)+-parseInt(_0x3c5e01(0x190))/0x8*(-parseInt(_0x3c5e01(0x1a1))/0x9)+parseInt(_0x3c5e01(0x1dd))/0xa;if(_0x204ce9===_0x501ef5)break;else _0xc44ae2['push'](_0xc44ae2['shift']());}catch(_0x4322d2){_0xc44ae2['push'](_0xc44ae2['shift']());}}}(_0x3303,0x305cb));import{global as _0x4cbe54}from'ckeditor5/src/utils.js';import{View as _0x44c23a,ButtonView as _0x718155,SpinnerView as _0x565775}from'ckeditor5/src/ui.js';import{IconCheck as _0x1ca887,IconCopy as _0x959c1}from'ckeditor5/src/icons.js';import{getTranslation as _0x2cc465}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x44c23a{[_0x55a6bd(0x1ce)];[_0x55a6bd(0x191)];constructor(_0x20f598,_0x8e926c=''){const _0x3c386a=_0x55a6bd;super(_0x20f598),this[_0x3c386a(0x195)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x59ebeb=this[_0x3c386a(0x1b8)];this[_0x3c386a(0x1ce)]=new ContentFieldView(_0x20f598,_0x8e926c),this[_0x3c386a(0x191)]=this[_0x3c386a(0x1da)](),this[_0x3c386a(0x1b1)]({'tag':_0x3c386a(0x1a9),'attributes':{'class':['ck',_0x3c386a(0x1bf),_0x59ebeb['if'](_0x3c386a(0x1db),_0x3c386a(0x19e),_0x8b7afa=>!_0x8b7afa)],'tabindex':'-1'},'children':[{'tag':_0x3c386a(0x1a9),'attributes':{'class':['ck',_0x3c386a(0x197),_0x59ebeb['if'](_0x3c386a(0x1de),_0x3c386a(0x1cf))]},'children':[this[_0x3c386a(0x1ce)],{'tag':_0x3c386a(0x1a9),'attributes':{'class':['ck',_0x3c386a(0x1c1)]},'children':[this[_0x3c386a(0x191)]]}]}]});}[_0x55a6bd(0x1d9)](){const _0x1a5dd8=_0x55a6bd;super[_0x1a5dd8(0x1d9)](),this[_0x1a5dd8(0x1a8)]&&this[_0x1a5dd8(0x1ce)][_0x1a5dd8(0x1e1)](this[_0x1a5dd8(0x1a8)]);let _0x5b724b=!0x1;this['on'](_0x1a5dd8(0x1e0),(_0x539d5a,_0x48a678,_0x51b688)=>{const _0x58ed25=_0x1a5dd8,_0x3286ec=!this[_0x58ed25(0x1ce)][_0x58ed25(0x1d0)][_0x58ed25(0x1bc)](_0x58ed25(0x192));this[_0x58ed25(0x1ce)][_0x58ed25(0x1e1)](_0x51b688),this[_0x58ed25(0x1de)]&&_0x3286ec&&!_0x5b724b&&this[_0x58ed25(0x1d0)][_0x58ed25(0x1b2)]({'top':this[_0x58ed25(0x1d0)][_0x58ed25(0x1df)],'behavior':_0x58ed25(0x1c9)});}),this['on'](_0x1a5dd8(0x18e),(_0x177f33,_0xf3412c,_0xe1c2d2)=>{const _0x4b5521=_0x1a5dd8;_0x5b724b=!0x1,_0xe1c2d2?(this[_0x4b5521(0x1a8)]=null,this[_0x4b5521(0x1ce)][_0x4b5521(0x1a5)]()):this[_0x4b5521(0x1a8)]||this[_0x4b5521(0x1ce)][_0x4b5521(0x1e1)]('');}),this[_0x1a5dd8(0x1b9)](this[_0x1a5dd8(0x1d0)],_0x1a5dd8(0x1ab),()=>{_0x5b724b=!0x0;}),this[_0x1a5dd8(0x1b9)](this[_0x1a5dd8(0x1d0)],_0x1a5dd8(0x1a7),()=>{_0x5b724b=!0x0;});}[_0x55a6bd(0x1be)](){const _0x551e42=_0x55a6bd;this[_0x551e42(0x1d0)][_0x551e42(0x1be)]();}[_0x55a6bd(0x1da)](){const _0x6247=_0x55a6bd,_0x401ba9=this[_0x6247(0x1e2)],_0x7d81c=new _0x718155(this[_0x6247(0x1e2)]),_0x503528=_0x6247(0x1ad);return _0x7d81c[_0x6247(0x195)]({'label':_0x2cc465(_0x401ba9,_0x6247(0x1a2)),'icon':_0x959c1,'class':_0x503528,'tooltip':!0x0}),_0x7d81c[_0x6247(0x198)](_0x6247(0x1db))['to'](this,_0x6247(0x1a8),_0x3f232f=>!!_0x3f232f),_0x7d81c[_0x6247(0x198)](_0x6247(0x1d7))['to'](this,_0x6247(0x1de),_0x538045=>!_0x538045),_0x7d81c['on'](_0x6247(0x1cc),()=>{const _0xeeab0c=_0x6247;this[_0xeeab0c(0x19d)](this[_0xeeab0c(0x1ce)][_0xeeab0c(0x1d0)]),_0x7d81c[_0xeeab0c(0x19b)]=_0x1ca887,_0x7d81c[_0xeeab0c(0x1b4)]=_0x503528+_0xeeab0c(0x1d6),this[_0xeeab0c(0x1be)](),setTimeout(()=>{const _0x4063fa=_0xeeab0c;_0x7d81c[_0x4063fa(0x19b)]=_0x959c1,_0x7d81c[_0x4063fa(0x1b4)]=_0x503528;},0x3e8);}),_0x7d81c;}[_0x55a6bd(0x19d)](_0x212674){const _0x3a5762=_0x55a6bd,{window:_0x8b3968,document:_0x55d88c}=_0x4cbe54;if(_0x8b3968[_0x3a5762(0x1d8)]){const {Blob:_0x30c743,ClipboardItem:_0x29055e}=_0x8b3968,_0x4450a7=[new _0x29055e({'text/html':new _0x30c743([_0x212674[_0x3a5762(0x1d3)]],{'type':_0x3a5762(0x1b6)}),'text/plain':new _0x30c743([_0x212674[_0x3a5762(0x1bb)]||''],{'type':_0x3a5762(0x1b0)})})];navigator[_0x3a5762(0x199)][_0x3a5762(0x1ac)](_0x4450a7);}else{const _0x3fbe02=_0x55d88c[_0x3a5762(0x1a0)](_0x3a5762(0x1a9));_0x3fbe02[_0x3a5762(0x1b5)][_0x3a5762(0x19f)]=_0x3a5762(0x1c7),_0x3fbe02[_0x3a5762(0x1b5)][_0x3a5762(0x1a4)]=_0x3a5762(0x1c6),_0x3fbe02[_0x3a5762(0x1d3)]=_0x3a5762(0x1c2)+_0x212674[_0x3a5762(0x1d3)]+_0x3a5762(0x1c0),_0x55d88c[_0x3a5762(0x1dc)][_0x3a5762(0x1c4)](_0x3fbe02);const _0x535d58=_0x55d88c[_0x3a5762(0x1b3)]();_0x535d58[_0x3a5762(0x1c5)](_0x3fbe02[_0x3a5762(0x19a)]),_0x535d58[_0x3a5762(0x1bd)](_0x3fbe02[_0x3a5762(0x1c8)]);const _0x356af3=_0x8b3968[_0x3a5762(0x1cd)]();_0x356af3[_0x3a5762(0x194)](),_0x356af3[_0x3a5762(0x196)](_0x535d58),_0x55d88c[_0x3a5762(0x1a6)](_0x3a5762(0x193)),_0x3fbe02[_0x3a5762(0x1d2)]();}}}export class ContentFieldView extends _0x44c23a{constructor(_0x5255ac,_0x5ae690=''){const _0x171d91=_0x55a6bd;super(_0x5255ac),this[_0x171d91(0x1af)]=this[_0x171d91(0x1d1)](),this[_0x171d91(0x1b1)]({'tag':_0x171d91(0x1a9),'attributes':{'class':['ck',_0x171d91(0x1aa),_0x5ae690,_0x171d91(0x1cb),_0x171d91(0x1ba)]}});}[_0x55a6bd(0x1e1)](_0x57efa0){const _0x192b7b=_0x55a6bd;this[_0x192b7b(0x1d0)][_0x192b7b(0x1d3)]=_0x57efa0;}[_0x55a6bd(0x1a5)](){const _0x27328f=_0x55a6bd;this[_0x27328f(0x1d0)][_0x27328f(0x1c4)](this[_0x27328f(0x1af)][_0x27328f(0x1d0)]);}[_0x55a6bd(0x1d1)](){const _0x5772cf=_0x55a6bd,_0x3f2124=new _0x44c23a(),_0x24999c=this[_0x5772cf(0x1e2)],_0x4acdc6=new _0x565775();return _0x4acdc6[_0x5772cf(0x1db)]=!0x0,_0x3f2124[_0x5772cf(0x1b1)]({'tag':_0x5772cf(0x1a9),'attributes':{'class':['ck',_0x5772cf(0x19c)]},'children':[_0x4acdc6,{'text':_0x2cc465(_0x24999c,_0x5772cf(0x1ca))}]}),_0x3f2124[_0x5772cf(0x1d9)](),_0x3f2124;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x324ab8,_0x3a33ef){const _0x3289bd=_0x3dca,_0x18893d=_0x324ab8();while(!![]){try{const _0x3206c9=parseInt(_0x3289bd(0xbd))/0x1+-parseInt(_0x3289bd(0xc1))/0x2*(parseInt(_0x3289bd(0xcb))/0x3)+parseInt(_0x3289bd(0xc6))/0x4*(parseInt(_0x3289bd(0xbe))/0x5)+-parseInt(_0x3289bd(0xc3))/0x6+-parseInt(_0x3289bd(0xc0))/0x7+parseInt(_0x3289bd(0xbb))/0x8*(parseInt(_0x3289bd(0xcc))/0x9)+-parseInt(_0x3289bd(0xc8))/0xa*(-parseInt(_0x3289bd(0xca))/0xb);if(_0x3206c9===_0x3a33ef)break;else _0x18893d['push'](_0x18893d['shift']());}catch(_0x1d9e68){_0x18893d['push'](_0x18893d['shift']());}}}(_0xecde,0x514b3));function _0x3dca(_0x5232a8,_0x58228c){const _0xecde39=_0xecde();return _0x3dca=function(_0x3dcac2,_0x49fd81){_0x3dcac2=_0x3dcac2-0xbb;let _0x42f9a8=_0xecde39[_0x3dcac2];return _0x42f9a8;},_0x3dca(_0x5232a8,_0x58228c);}import{IconError as _0x5623d5}from'ckeditor5/src/icons.js';function _0xecde(){const _0x1606c1=['827499bSBiQg','3606165yyZsVf','8dVwLys','set','14233rwkWhg','1390820yQZMtK','div','3768044NNXpLN','4nNRAVx','bindTemplate','167442hNqfrh','ck-ai-form__error','setTemplate','4VBqtxP','text','184820nucxLZ','content','451QfLmcn'];_0xecde=function(){return _0x1606c1;};return _0xecde();}import{View as _0xc3ea4d,IconView as _0x256b73}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0xc3ea4d{constructor(_0x6ab91d,_0x38e21b=''){const _0x4794f2=_0x3dca;super(_0x6ab91d);const _0xcb1ea8=new _0x256b73(),_0x19411c=this[_0x4794f2(0xc2)];this[_0x4794f2(0xbc)](_0x4794f2(0xc7),_0x38e21b),_0xcb1ea8[_0x4794f2(0xc9)]=_0x5623d5,this[_0x4794f2(0xc5)]({'tag':_0x4794f2(0xbf),'attributes':{'class':['ck',_0x4794f2(0xc4)]},'children':[_0xcb1ea8,{'text':_0x19411c['to'](_0x4794f2(0xc7))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a43d7=_0x4db0;(function(_0x569ba9,_0x1aed3e){const _0x4bf173=_0x4db0,_0x47ccfd=_0x569ba9();while(!![]){try{const _0x532721=parseInt(_0x4bf173(0x10d))/0x1+-parseInt(_0x4bf173(0xe8))/0x2*(-parseInt(_0x4bf173(0x10a))/0x3)+parseInt(_0x4bf173(0xf1))/0x4*(parseInt(_0x4bf173(0x104))/0x5)+parseInt(_0x4bf173(0xe2))/0x6+parseInt(_0x4bf173(0xef))/0x7*(parseInt(_0x4bf173(0x10e))/0x8)+-parseInt(_0x4bf173(0xe9))/0x9*(-parseInt(_0x4bf173(0xe5))/0xa)+parseInt(_0x4bf173(0x117))/0xb*(-parseInt(_0x4bf173(0x10c))/0xc);if(_0x532721===_0x1aed3e)break;else _0x47ccfd['push'](_0x47ccfd['shift']());}catch(_0x40c4d8){_0x47ccfd['push'](_0x47ccfd['shift']());}}}(_0xdc51,0x485c2));import{Rect as _0xe4652d,global as _0xf8e012,isVisible as _0x51a20b}from'ckeditor5/src/utils.js';function _0x4db0(_0x54797b,_0x310481){const _0xdc518f=_0xdc51();return _0x4db0=function(_0x4db003,_0x296748){_0x4db003=_0x4db003-0xe1;let _0x809a1b=_0xdc518f[_0x4db003];return _0x809a1b;},_0x4db0(_0x54797b,_0x310481);}import{IconAIHistory as _0x114a94,IconSubmit as _0xe5a61a}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x4bce1d,ButtonView as _0x58f74a}from'ckeditor5/src/ui.js';import{getTranslation as _0x521b21}from'../../utils/common-translations.js';function _0xdc51(){const _0x5f1812=['submit','_createSubmitButton','width','focusFirst','update','locale','fieldWrapperChildren','11RfdfXB','filteredView','window','value','style','submitButtonView','ck-ai-form__toggle-history','1473600dVtUgn','focus','render','1910ENCLXl','focusableChildren','enter','64182orDqIU','7911zuELuM','isEnabled','keystrokes','maxRows','requestAnimationFrame','element','7loEfoQ','minRows','1238104BPrPFP','History','fieldView','isOn','Submit','_createShowHistoryButton','excludeScrollbarsAndBorders','focusCycler','isEmpty','target','fire','ck-ai-form__submit','focusLast','bind','children','rtl','set','add','isVisible','5ICTqYx','uiLanguageDirection','showHistoryButtonView','execute','left','right','12rteQLC','resultsView','12056676pmJpYi','184600MZnmlH','2121040xwHXUt','queryView'];_0xdc51=function(){return _0x5f1812;};return _0xdc51();}export class AIFormPromptView extends _0x4bce1d{[_0x5a43d7(0x11c)];[_0x5a43d7(0x106)];constructor(_0x2760e9,_0x47d661){const _0x8b82f7=_0x5a43d7;super(_0x2760e9,_0x47d661),this[_0x8b82f7(0x10f)][_0x8b82f7(0xf3)][_0x8b82f7(0xf0)]=0x1,this[_0x8b82f7(0x10f)][_0x8b82f7(0xf3)][_0x8b82f7(0xec)]=0x3,this[_0x8b82f7(0x11c)]=this[_0x8b82f7(0x111)](),this[_0x8b82f7(0x106)]=this[_0x8b82f7(0xf6)](),this[_0x8b82f7(0xe6)][_0x8b82f7(0x102)](this[_0x8b82f7(0x106)],0x1),this[_0x8b82f7(0xe6)][_0x8b82f7(0x102)](this[_0x8b82f7(0x11c)]);}[_0x5a43d7(0xe4)](){const _0x342f0e=_0x5a43d7;super[_0x342f0e(0xe4)](),this[_0x342f0e(0x10f)][_0x342f0e(0x116)][_0x342f0e(0x102)](this[_0x342f0e(0x106)]),this[_0x342f0e(0xff)][_0x342f0e(0x102)](this[_0x342f0e(0x11c)]),this[_0x342f0e(0xeb)][_0x342f0e(0x101)](_0x342f0e(0xe7),(_0x325c34,_0x23fb31)=>{const _0x3a1cd8=_0x342f0e;_0x325c34[_0x3a1cd8(0xfa)]==this[_0x3a1cd8(0x10f)][_0x3a1cd8(0xf3)][_0x3a1cd8(0xee)]&&(this[_0x3a1cd8(0x110)](),_0x23fb31());});}[_0x5a43d7(0x111)](){const _0x51ac70=_0x5a43d7,_0x2b98c6=new _0x58f74a(this[_0x51ac70(0x115)]),_0x6ca8a6=this[_0x51ac70(0x115)];return _0x2b98c6[_0x51ac70(0x101)]({'icon':_0xe5a61a,'label':_0x521b21(_0x6ca8a6,_0x51ac70(0xf5)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x51ac70(0xfc)}),_0x2b98c6['on'](_0x51ac70(0x107),()=>{const _0x1a21a7=_0x51ac70;this[_0x1a21a7(0x110)]();}),_0x2b98c6[_0x51ac70(0xfe)](_0x51ac70(0xea))['to'](this[_0x51ac70(0x10f)][_0x51ac70(0xf3)],_0x51ac70(0xf9),this,_0x51ac70(0xea),(_0x5f4f2b,_0xdfba16)=>!_0x5f4f2b&&_0xdfba16),_0x2b98c6;}[_0x5a43d7(0xf6)](){const _0x373a13=_0x5a43d7,_0x52a6bb=new _0x58f74a(this[_0x373a13(0x115)]),_0x2d1d8c=this[_0x373a13(0x10b)],_0x3c378f=this[_0x373a13(0x115)];_0x52a6bb[_0x373a13(0x101)]({'label':_0x521b21(_0x3c378f,_0x373a13(0xf2)),'withText':!0x1,'icon':_0x114a94,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x373a13(0xe1)}),_0x52a6bb[_0x373a13(0xfe)](_0x373a13(0xf4))['to'](_0x2d1d8c,_0x373a13(0x103)),_0x52a6bb[_0x373a13(0xfe)](_0x373a13(0xea))['to'](this,_0x373a13(0xea)),_0x52a6bb['on'](_0x373a13(0x107),()=>{const _0x494db5=_0x373a13;_0x2d1d8c[_0x494db5(0x103)]=!_0x2d1d8c[_0x494db5(0x103)],_0x2d1d8c[_0x494db5(0x103)]?this[_0x494db5(0x118)][_0x494db5(0xe3)]():this[_0x494db5(0xe3)]();});const _0x29025b=()=>{const _0x3c8aa1=_0x373a13;_0xf8e012[_0x3c8aa1(0x119)][_0x3c8aa1(0xed)](()=>{const _0x187074=_0x3c8aa1;if(_0x51a20b(this[_0x187074(0xee)])){const _0x5a537b=new _0xe4652d(this[_0x187074(0x10f)][_0x187074(0xf3)][_0x187074(0xee)]),_0x2464d7=_0x5a537b[_0x187074(0x112)],_0x106342=_0x187074(0x100)===_0x3c378f[_0x187074(0x105)]?_0x187074(0x108):_0x187074(0x109);_0x5a537b[_0x187074(0xf7)](),_0x52a6bb[_0x187074(0xee)][_0x187074(0x11b)][_0x106342]=_0x2464d7-_0x5a537b[_0x187074(0x112)]+0x1+'px';}});};return this[_0x373a13(0x10f)][_0x373a13(0xf3)]['on'](_0x373a13(0x114),_0x29025b),this['on'](_0x373a13(0xe4),_0x29025b),_0x52a6bb;}[_0x5a43d7(0x110)](){const _0x1846a1=_0x5a43d7,_0x241bdf=this[_0x1846a1(0x10f)][_0x1846a1(0xf3)][_0x1846a1(0xee)][_0x1846a1(0x11a)];this[_0x1846a1(0xfb)](_0x1846a1(0x110),_0x241bdf);}[_0x5a43d7(0xe3)](_0x22e6c2){const _0x142644=_0x5a43d7;-0x1===_0x22e6c2?this[_0x142644(0xf8)][_0x142644(0xfd)]():this[_0x142644(0xf8)][_0x142644(0x113)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x419300=_0x592d;(function(_0x419383,_0x1fa11a){const _0x588744=_0x592d,_0x31ae1f=_0x419383();while(!![]){try{const _0x28362=-parseInt(_0x588744(0x1da))/0x1*(parseInt(_0x588744(0x1d4))/0x2)+parseInt(_0x588744(0x1dc))/0x3*(parseInt(_0x588744(0x1be))/0x4)+-parseInt(_0x588744(0x1c8))/0x5*(parseInt(_0x588744(0x1c4))/0x6)+parseInt(_0x588744(0x1df))/0x7*(-parseInt(_0x588744(0x1d1))/0x8)+parseInt(_0x588744(0x1c7))/0x9*(parseInt(_0x588744(0x1cd))/0xa)+parseInt(_0x588744(0x1db))/0xb+-parseInt(_0x588744(0x1dd))/0xc;if(_0x28362===_0x1fa11a)break;else _0x31ae1f['push'](_0x31ae1f['shift']());}catch(_0x40fecb){_0x31ae1f['push'](_0x31ae1f['shift']());}}}(_0xd875,0xd4ccf));import{ToolbarView as _0x48da07,ButtonView as _0x1fb91a}from'ckeditor5/src/ui.js';function _0xd875(){const _0x12ba6f=['replaceButton','1352443NZsWlH','17198577ethVdf','2394822BrMGVq','6916428MEUQdf','isVisible','637DmJYPc','insert','replace','set','items','Try\x20again','4vOioHu','Stop','AI_','tryAgainButton','toUpperCase','ck-button-action','56466FHkeCc','bind','ck-hidden','9YVmiQu','45Tyjqtn','stopButton','ck-ai-form__toolbar','label','Insert\x20below','12472660VvnGdK','bindTemplate','_createButton','mainAction','63640vPnDpZ','_CONTENT','insertButton','2qHYKru','addMany','locale','REPLACE','extendTemplate'];_0xd875=function(){return _0x12ba6f;};return _0xd875();}import{getTranslation as _0x5cafe7}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x419300(0x1e1),'INSERT':_0x419300(0x1e0)};function _0x592d(_0x242fac,_0x84308){const _0xd8756c=_0xd875();return _0x592d=function(_0x592d08,_0x234217){_0x592d08=_0x592d08-0x1bc;let _0x100043=_0xd8756c[_0x592d08];return _0x100043;},_0x592d(_0x242fac,_0x84308);}export class AIFormToolbarView extends _0x48da07{constructor(_0x2b6eb1){const _0x55269a=_0x419300;super(_0x2b6eb1),this[_0x55269a(0x1e2)](_0x55269a(0x1de),!0x1),this[_0x55269a(0x1e2)](_0x55269a(0x1d0),AIFormToolbarViewMainActionLabel[_0x55269a(0x1d7)]),this[_0x55269a(0x1d9)]=this[_0x55269a(0x1cf)]('',_0x55269a(0x1c3)),this[_0x55269a(0x1d9)][_0x55269a(0x1c5)](_0x55269a(0x1cb))['to'](this,_0x55269a(0x1d0),_0xc5a7ae=>_0x5cafe7(_0x2b6eb1,_0x55269a(0x1c0)+_0xc5a7ae[_0x55269a(0x1c2)]()+_0x55269a(0x1d2))),this[_0x55269a(0x1d3)]=this[_0x55269a(0x1cf)](_0x5cafe7(_0x2b6eb1,_0x55269a(0x1cc))),this[_0x55269a(0x1c1)]=this[_0x55269a(0x1cf)](_0x5cafe7(_0x2b6eb1,_0x55269a(0x1bd))),this[_0x55269a(0x1c9)]=this[_0x55269a(0x1cf)](_0x5cafe7(_0x2b6eb1,_0x55269a(0x1bf)));const _0xcc1304=this[_0x55269a(0x1ce)];this[_0x55269a(0x1d8)]({'attributes':{'class':[_0x55269a(0x1ca),_0xcc1304['if'](_0x55269a(0x1de),_0x55269a(0x1c6),_0x2b6992=>!_0x2b6992)]}}),this[_0x55269a(0x1bc)][_0x55269a(0x1d5)]([this[_0x55269a(0x1d9)],this[_0x55269a(0x1d3)],this[_0x55269a(0x1c1)],this[_0x55269a(0x1c9)]]);}[_0x419300(0x1cf)](_0x48eb1a,_0x503cbd){const _0x23aa76=_0x419300,_0x198658=new _0x1fb91a(this[_0x23aa76(0x1d6)]);return _0x198658[_0x23aa76(0x1e2)]({'label':_0x48eb1a,'class':_0x503cbd||'','isVisible':!0x0,'withText':!0x0}),_0x198658;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1561e0=_0x3154;(function(_0x35d7fc,_0x15610d){const _0x25f1f5=_0x3154,_0x12316b=_0x35d7fc();while(!![]){try{const _0x1dd963=-parseInt(_0x25f1f5(0x192))/0x1+-parseInt(_0x25f1f5(0x1b9))/0x2+parseInt(_0x25f1f5(0x18b))/0x3*(parseInt(_0x25f1f5(0x19c))/0x4)+-parseInt(_0x25f1f5(0x1a5))/0x5+-parseInt(_0x25f1f5(0x186))/0x6+parseInt(_0x25f1f5(0x19d))/0x7*(-parseInt(_0x25f1f5(0x1a3))/0x8)+parseInt(_0x25f1f5(0x181))/0x9*(parseInt(_0x25f1f5(0x194))/0xa);if(_0x1dd963===_0x15610d)break;else _0x12316b['push'](_0x12316b['shift']());}catch(_0x515cc0){_0x12316b['push'](_0x12316b['shift']());}}}(_0x9174,0x7a1af));import{FocusTracker as _0x1dc8e8,KeystrokeHandler as _0x27f0da}from'ckeditor5/src/utils.js';import{View as _0x181003,FocusCycler as _0x1c0ca8,createLabeledTextarea as _0x359869}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x797313,AIFormToolbarViewMainActionLabel as _0x1b7f77}from'./aiformtoolbarview.js';function _0x3154(_0x590d74,_0x112b24){const _0x91745f=_0x9174();return _0x3154=function(_0x31541d,_0x3c727d){_0x31541d=_0x31541d-0x165;let _0x4bd7f=_0x91745f[_0x31541d];return _0x4bd7f;},_0x3154(_0x590d74,_0x112b24);}import{AIFormContentArea as _0x41fba6}from'./aiformcontentarea.js';import{AIFormErrorView as _0x5e907a}from'./aiformerrorview.js';import{AIFormPromptView as _0x51b192}from'./aiformpromptview.js';import{AIHistoryListView as _0x207b07}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x40d8c7}from'./aihistorylistitemview.js';function _0x9174(){const _0x9086b5=['listenTo','items','fire','focusTracker','1211234UJtLAp','trim','finishProcessing','handleError','tab','focus','bind','AI_ERROR_FAILED','promptView','tryAgainEvent','execute','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusFirst','tryAgainButton','ck-hidden','text','_focusables','focusCycler','Empty\x20history','isError','render','submit','insertContentBelow','_createHistoryView','value','toolbar','submitPrompt','clearHistory','label','10539SQITjb','locale','_createPromptView','replaceContent','errorView','4267386KAAbLN','shift\x20+\x20tab','search','focusLast','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','1314cjHCGf','ck-ai-form-content','copyButtonView','bindTo','add','REPLACE','Ask\x20AI\x20to\x20improve\x20generated\x20text','232895hXRxUh','_createToolbar','27730MiLLgp','queryView','isProcessing','high','clear','bindTemplate','mainAction','prompt','1596GqLChO','322469FqNaCt','replaceButton','stopProcessing','div','setTemplate','reset','112dqWLKr','element','3635605EVGcOV','ck-ai-form','isVisible','isEnabled','delegate','contentArea','startProcessing','keystrokes','_promptHistory','set','fieldView','createCollection','historyGroupView','chain','insertButton','stopButton'];_0x9174=function(){return _0x9086b5;};return _0x9174();}import{PromptHistory as _0xebe2e9}from'./prompthistory.js';import{getTranslation as _0xedf5d3}from'../../utils/common-translations.js';import{escape as _0x45c95b}from'es-toolkit/compat';export class AIFormView extends _0x181003{[_0x1561e0(0x1b8)];[_0x1561e0(0x1ac)];[_0x1561e0(0x1aa)];[_0x1561e0(0x17d)];[_0x1561e0(0x16c)];[_0x1561e0(0x185)];[_0x1561e0(0x174)];[_0x1561e0(0x175)];[_0x1561e0(0x1ad)];constructor(_0x103965,_0x458885,_0x9ec876=''){const _0x1c4891=_0x1561e0;super(_0x103965),this[_0x1c4891(0x1ae)](_0x1c4891(0x1a8),!0x0),this[_0x1c4891(0x1ae)](_0x1c4891(0x196),!0x1),this[_0x1c4891(0x1ae)](_0x1c4891(0x19b),''),this[_0x1c4891(0x1ae)](_0x1c4891(0x17c),''),this[_0x1c4891(0x1ae)](_0x1c4891(0x177),!0x1),this[_0x1c4891(0x1ae)](_0x1c4891(0x19a),_0x1b7f77[_0x1c4891(0x190)]),this[_0x1c4891(0x1ad)]=new _0xebe2e9(),this[_0x1c4891(0x185)]=new _0x5e907a(_0x103965),this[_0x1c4891(0x1aa)]=new _0x41fba6(_0x103965,_0x9ec876),this[_0x1c4891(0x1aa)][_0x1c4891(0x16a)](_0x1c4891(0x196))['to'](this),this[_0x1c4891(0x1aa)][_0x1c4891(0x16a)](_0x1c4891(0x17c))['to'](this),this[_0x1c4891(0x17d)]=this[_0x1c4891(0x193)](),this[_0x1c4891(0x17d)][_0x1c4891(0x16a)](_0x1c4891(0x19a))['to'](this),this[_0x1c4891(0x16c)]=this[_0x1c4891(0x183)](),this[_0x1c4891(0x1b8)]=new _0x1dc8e8(),this[_0x1c4891(0x1ac)]=new _0x27f0da(),this[_0x1c4891(0x174)]=this[_0x1c4891(0x1b0)]([this[_0x1c4891(0x1aa)],this[_0x1c4891(0x1aa)][_0x1c4891(0x18d)],this[_0x1c4891(0x17d)],this[_0x1c4891(0x16c)]]),this[_0x1c4891(0x175)]=new _0x1c0ca8({'focusables':this[_0x1c4891(0x174)],'focusTracker':this[_0x1c4891(0x1b8)],'keystrokeHandler':this[_0x1c4891(0x1ac)],'actions':{'focusPrevious':_0x1c4891(0x187),'focusNext':_0x1c4891(0x168)}}),this[_0x1c4891(0x175)][_0x1c4891(0x1b2)](this[_0x1c4891(0x16c)][_0x1c4891(0x175)]),this[_0x1c4891(0x16c)][_0x1c4891(0x195)][_0x1c4891(0x1af)][_0x1c4891(0x16a)](_0x1c4891(0x17c))['to'](this,_0x1c4891(0x19b));const _0x4791fd=this[_0x1c4891(0x199)];this[_0x1c4891(0x1a1)]({'tag':_0x1c4891(0x1a0),'attributes':{'class':['ck',_0x1c4891(0x1a6),_0x458885],'tabindex':'-1'},'children':[{'tag':_0x1c4891(0x1a0),'attributes':{'class':['ck',_0x1c4891(0x18c)]},'children':[{'tag':_0x1c4891(0x1a0),'attributes':{'class':[_0x4791fd['if'](_0x1c4891(0x177),_0x1c4891(0x172),_0x4ab5b0=>!_0x4ab5b0)]},'children':[this[_0x1c4891(0x185)]]},this[_0x1c4891(0x1aa)],this[_0x1c4891(0x17d)],this[_0x1c4891(0x16c)]]}]});}[_0x1561e0(0x178)](){const _0x44f238=_0x1561e0;super[_0x44f238(0x178)](),this[_0x44f238(0x1b8)][_0x44f238(0x18f)](this[_0x44f238(0x1aa)][_0x44f238(0x1a4)]),this[_0x44f238(0x1b8)][_0x44f238(0x18f)](this[_0x44f238(0x1aa)][_0x44f238(0x18d)][_0x44f238(0x1a4)]),this[_0x44f238(0x1b8)][_0x44f238(0x18f)](this[_0x44f238(0x17d)][_0x44f238(0x1a4)]),this[_0x44f238(0x1b8)][_0x44f238(0x18f)](this[_0x44f238(0x16c)][_0x44f238(0x1a4)]),this[_0x44f238(0x1ac)][_0x44f238(0x1b5)](this[_0x44f238(0x1a4)]);}[_0x1561e0(0x169)](_0x40686d=0x1){const _0x4f19bf=_0x1561e0;-0x1===_0x40686d?this[_0x4f19bf(0x175)][_0x4f19bf(0x189)]():this[_0x4f19bf(0x175)][_0x4f19bf(0x170)]();}[_0x1561e0(0x1a2)](){const _0x1291ef=_0x1561e0;this[_0x1291ef(0x19b)]='',this[_0x1291ef(0x17c)]='',this[_0x1291ef(0x177)]=!0x1,this[_0x1291ef(0x16c)][_0x1291ef(0x1a2)](),this[_0x1291ef(0x1aa)][_0x1291ef(0x1a7)]=!0x1,this[_0x1291ef(0x17d)][_0x1291ef(0x1a7)]=!0x1;}[_0x1561e0(0x183)](){const _0x561159=_0x1561e0,_0x470b8b=this[_0x561159(0x182)],_0x2ce924=new _0x51b192(_0x470b8b,{'queryView':{'label':_0xedf5d3(_0x470b8b,_0x561159(0x16f)),'creator':_0x359869,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xedf5d3(_0x470b8b,_0x561159(0x176)),'secondary':_0xedf5d3(_0x470b8b,_0x561159(0x18a))}}},'filteredView':this[_0x561159(0x17b)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2ce924[_0x561159(0x16a)](_0x561159(0x1a8))['to'](this,_0x561159(0x1a8),this,_0x561159(0x196),(_0x291a54,_0x16d10f)=>_0x291a54&&!_0x16d10f),this[_0x561159(0x1b5)](_0x2ce924,_0x561159(0x179),(_0x483c59,_0x24d3f7)=>{const _0x26cf2a=_0x561159;this[_0x26cf2a(0x19b)]=_0x24d3f7;const _0x419092=_0x45c95b(_0x24d3f7);this[_0x26cf2a(0x1b7)](_0x26cf2a(0x17e),_0x419092),_0x24d3f7[_0x26cf2a(0x165)]()&&this[_0x26cf2a(0x1ad)][_0x26cf2a(0x18f)]({'prompt':_0x419092},0x0);},{'priority':_0x561159(0x197)}),_0x2ce924;}[_0x1561e0(0x17b)](){const _0xf550b5=_0x1561e0,_0x11d405=new _0x207b07(this[_0xf550b5(0x182)]);return _0x11d405[_0xf550b5(0x1b1)][_0xf550b5(0x1b6)][_0xf550b5(0x18e)](this[_0xf550b5(0x1ad)])['as'](_0x40d8c7),_0x11d405['on'](_0xf550b5(0x17f),()=>{const _0x525366=_0xf550b5;this[_0x525366(0x1ad)][_0x525366(0x198)](),this[_0x525366(0x16c)][_0x525366(0x188)](''),this[_0x525366(0x16c)][_0x525366(0x169)]();}),_0x11d405;}[_0x1561e0(0x193)](){const _0x6a87d4=_0x1561e0,_0x30d90b=new _0x797313(this[_0x6a87d4(0x182)]);return _0x30d90b[_0x6a87d4(0x19e)][_0x6a87d4(0x16a)](_0x6a87d4(0x1a8))['to'](this,_0x6a87d4(0x1a8),this,_0x6a87d4(0x196),this,_0x6a87d4(0x17c),(_0xf1fe95,_0x315af6,_0x33d074)=>_0xf1fe95&&!_0x315af6&&!!_0x33d074),_0x30d90b[_0x6a87d4(0x19e)][_0x6a87d4(0x1a9)](_0x6a87d4(0x16e))['to'](this,_0x6a87d4(0x184)),_0x30d90b[_0x6a87d4(0x1b3)][_0x6a87d4(0x16a)](_0x6a87d4(0x1a8))['to'](this,_0x6a87d4(0x1a8),this,_0x6a87d4(0x196),this,_0x6a87d4(0x17c),(_0x16f80e,_0x2b41ec,_0x1034b6)=>_0x16f80e&&!_0x2b41ec&&!!_0x1034b6),_0x30d90b[_0x6a87d4(0x1b3)][_0x6a87d4(0x1a9)](_0x6a87d4(0x16e))['to'](this,_0x6a87d4(0x17a)),_0x30d90b[_0x6a87d4(0x171)][_0x6a87d4(0x16a)](_0x6a87d4(0x1a8))['to'](this,_0x6a87d4(0x1a8),this,_0x6a87d4(0x196),(_0x498383,_0x577b23)=>_0x498383&&!_0x577b23),_0x30d90b[_0x6a87d4(0x171)][_0x6a87d4(0x1a9)](_0x6a87d4(0x16e))['to'](this,_0x6a87d4(0x16d)),_0x30d90b[_0x6a87d4(0x1b4)][_0x6a87d4(0x16a)](_0x6a87d4(0x1a8))['to'](this,_0x6a87d4(0x196)),_0x30d90b[_0x6a87d4(0x1b4)][_0x6a87d4(0x1a9)](_0x6a87d4(0x16e))['to'](this,_0x6a87d4(0x19f)),_0x30d90b;}[_0x1561e0(0x1ab)](){const _0x4d7f85=_0x1561e0;this[_0x4d7f85(0x17c)]='',this[_0x4d7f85(0x177)]=!0x1,this[_0x4d7f85(0x196)]=!0x0,this[_0x4d7f85(0x1aa)][_0x4d7f85(0x1a7)]=!0x0,this[_0x4d7f85(0x17d)][_0x4d7f85(0x1a7)]=!0x0,this[_0x4d7f85(0x1aa)][_0x4d7f85(0x169)]();}[_0x1561e0(0x166)](){const _0x2364d9=_0x1561e0,_0x3cff3f=this[_0x2364d9(0x182)];this[_0x2364d9(0x196)]=!0x1,this[_0x2364d9(0x19b)]='',this[_0x2364d9(0x16c)][_0x2364d9(0x1a2)](),this[_0x2364d9(0x17c)]&&(this[_0x2364d9(0x16c)][_0x2364d9(0x195)][_0x2364d9(0x180)]=_0xedf5d3(_0x3cff3f,_0x2364d9(0x191)));}[_0x1561e0(0x167)](_0x1d23c4){const _0x18762d=_0x1561e0,_0x174339=this[_0x18762d(0x182)];this[_0x18762d(0x166)](),this[_0x18762d(0x177)]=!0x0,this[_0x18762d(0x185)][_0x18762d(0x173)]=_0x1d23c4||_0xedf5d3(_0x174339,_0x18762d(0x16b)),this[_0x18762d(0x17c)]||(this[_0x18762d(0x1aa)][_0x18762d(0x1a7)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1aee(){const _0x2e6d8d=['prompt','locale','set','10zrSkMI','541344YDWuRb','execute','2032482nEZuva','children','386468DgRfjb','64AemayM','fire','1353gKomis','128ClRUtt','115860YxnZXz','227983MazEZX','141042LdmDsx','add','6623154zjIhzY'];_0x1aee=function(){return _0x2e6d8d;};return _0x1aee();}(function(_0x5df661,_0x3212cd){const _0x16d6ee=_0xcdd5,_0x36a272=_0x5df661();while(!![]){try{const _0x38fd93=-parseInt(_0x16d6ee(0x14c))/0x1+-parseInt(_0x16d6ee(0x150))/0x2+-parseInt(_0x16d6ee(0x145))/0x3*(-parseInt(_0x16d6ee(0x13f))/0x4)+parseInt(_0x16d6ee(0x14b))/0x5*(-parseInt(_0x16d6ee(0x14e))/0x6)+parseInt(_0x16d6ee(0x144))/0x7*(parseInt(_0x16d6ee(0x142))/0x8)+-parseInt(_0x16d6ee(0x147))/0x9+-parseInt(_0x16d6ee(0x143))/0xa*(-parseInt(_0x16d6ee(0x141))/0xb);if(_0x38fd93===_0x3212cd)break;else _0x36a272['push'](_0x36a272['shift']());}catch(_0x3dd746){_0x36a272['push'](_0x36a272['shift']());}}}(_0x1aee,0x8661c));import{ListItemView as _0x3a3693,ButtonView as _0x2a13f8,ButtonLabelView as _0x4e6a80}from'ckeditor5/src/ui.js';import{unescape as _0x34cefc}from'es-toolkit/compat';function _0xcdd5(_0x92663a,_0x4e5ed2){const _0x1aee04=_0x1aee();return _0xcdd5=function(_0xcdd596,_0x7bb24){_0xcdd596=_0xcdd596-0x13f;let _0x956df6=_0x1aee04[_0xcdd596];return _0x956df6;},_0xcdd5(_0x92663a,_0x4e5ed2);}export class AIHistoryListItemView extends _0x3a3693{constructor(_0x505e26){const _0x235e0a=_0xcdd5;super();const _0x3b11d5=new _0x4e6a80(),_0x3ce8e5=new _0x2a13f8(this[_0x235e0a(0x149)],_0x3b11d5);this[_0x235e0a(0x14f)][_0x235e0a(0x146)](_0x3ce8e5),_0x3ce8e5[_0x235e0a(0x14a)]({'label':_0x505e26[_0x235e0a(0x148)],'withText':!0x0}),_0x3ce8e5['on'](_0x235e0a(0x14d),()=>{const _0x34e4db=_0x235e0a;this[_0x34e4db(0x140)](_0x34e4db(0x14d),{'value':_0x34cefc(_0x505e26[_0x34e4db(0x148)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x352d72=_0x4fb3;(function(_0x4658b1,_0x2e415a){const _0x430f85=_0x4fb3,_0x56c59f=_0x4658b1();while(!![]){try{const _0x41a396=-parseInt(_0x430f85(0x1d8))/0x1*(-parseInt(_0x430f85(0x1e0))/0x2)+parseInt(_0x430f85(0x1dc))/0x3+-parseInt(_0x430f85(0x1de))/0x4*(-parseInt(_0x430f85(0x1e6))/0x5)+parseInt(_0x430f85(0x1dd))/0x6*(parseInt(_0x430f85(0x1cb))/0x7)+parseInt(_0x430f85(0x1d3))/0x8*(-parseInt(_0x430f85(0x1ce))/0x9)+parseInt(_0x430f85(0x1d7))/0xa*(-parseInt(_0x430f85(0x1d6))/0xb)+-parseInt(_0x430f85(0x1db))/0xc;if(_0x41a396===_0x2e415a)break;else _0x56c59f['push'](_0x56c59f['shift']());}catch(_0x33f86c){_0x56c59f['push'](_0x56c59f['shift']());}}}(_0xb4ed,0x9f41c));import{ListView as _0x1a68b4,ListItemGroupView as _0x538d8f,ButtonView as _0x57f34c}from'ckeditor5/src/ui.js';import{getTranslation as _0x22f6de}from'../../utils/common-translations.js';function _0xb4ed(){const _0x58f269=['Clear','fire','703185HspIbf','delegate','709975NPdqfF','execute','length','1821708MkOsgi','set','items','children','Prompt\x20history','40NynJoT','add','_createClearHistoryButton','208241CxwBRF','250gCmYGo','3431sxMwFy','locale','clearHistory','5453832vUEKyC','1161978cZxYbg','18AzPssV','28SAoJvd','clearHistoryButton','534HHBmtQ','label','filter','historyGroupView'];_0xb4ed=function(){return _0x58f269;};return _0xb4ed();}function _0x4fb3(_0x1e8513,_0x11fd49){const _0xb4ed23=_0xb4ed();return _0x4fb3=function(_0x4fb37f,_0x22a0bd){_0x4fb37f=_0x4fb37f-0x1cb;let _0x1ea095=_0xb4ed23[_0x4fb37f];return _0x1ea095;},_0x4fb3(_0x1e8513,_0x11fd49);}export class AIHistoryListView extends _0x1a68b4{[_0x352d72(0x1e3)];[_0x352d72(0x1df)];constructor(_0x1fddcd){const _0x52978b=_0x352d72;super(_0x1fddcd),this[_0x52978b(0x1df)]=this[_0x52978b(0x1d5)](),this[_0x52978b(0x1e3)]=new _0x538d8f(),this[_0x52978b(0x1e3)][_0x52978b(0x1d1)][_0x52978b(0x1d4)](this[_0x52978b(0x1df)],0x1),this[_0x52978b(0x1e3)][_0x52978b(0x1e1)]=_0x22f6de(_0x1fddcd,_0x52978b(0x1d2)),this[_0x52978b(0x1e3)][_0x52978b(0x1d0)][_0x52978b(0x1e7)](_0x52978b(0x1cc))['to'](this),this[_0x52978b(0x1d0)][_0x52978b(0x1d4)](this[_0x52978b(0x1e3)]);}[_0x352d72(0x1e2)](){const _0x3938a9=_0x352d72;let _0x255cc9=0x0;for(const _0x1665bc of this[_0x3938a9(0x1d0)])_0x255cc9+=_0x1665bc[_0x3938a9(0x1d0)][_0x3938a9(0x1cd)];return{'resultsCount':_0x255cc9,'totalItemsCount':_0x255cc9};}[_0x352d72(0x1d5)](){const _0x488330=_0x352d72,_0x402175=this[_0x488330(0x1d9)],_0x1a1f1b=new _0x57f34c(this[_0x488330(0x1d9)]);return _0x1a1f1b[_0x488330(0x1cf)]({'label':'('+_0x22f6de(_0x402175,_0x488330(0x1e4))+')','withText':!0x0}),_0x1a1f1b['on'](_0x488330(0x1cc),()=>this[_0x488330(0x1e5)](_0x488330(0x1da))),_0x1a1f1b;}}
|