@ckeditor/ckeditor5-ai 47.3.0-alpha.3 → 47.3.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/aiassistantediting.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/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.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/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/resources/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/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.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/aichathistoryview.js +1 -1
- package/src/aicore/aiediting.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/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/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.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/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/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ef3c6=_0x5109;(function(_0x22dc78,_0x69c0a){const _0x2d247b=_0x5109,_0x2e846d=_0x22dc78();while(!![]){try{const _0x2e2169=-parseInt(_0x2d247b(0x140))/0x1+parseInt(_0x2d247b(0x100))/0x2+-parseInt(_0x2d247b(0xf7))/0x3+parseInt(_0x2d247b(0x137))/0x4+parseInt(_0x2d247b(0x138))/0x5*(parseInt(_0x2d247b(0x124))/0x6)+parseInt(_0x2d247b(0x146))/0x7*(-parseInt(_0x2d247b(0x10d))/0x8)+-parseInt(_0x2d247b(0x142))/0x9;if(_0x2e2169===_0x69c0a)break;else _0x2e846d['push'](_0x2e846d['shift']());}catch(_0x286e62){_0x2e846d['push'](_0x2e846d['shift']());}}}(_0x11ca,0x2d148));function _0x11ca(){const _0x4de4ef=['historyGroupView','focusLast','finishProcessing','532520KWgcHD','Ask\x20AI\x20to\x20improve\x20generated\x20text','_createHistoryView','handleError','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','AI_ERROR_FAILED','value','contentArea','mainAction','toolbar','startProcessing','insertButton','focus','Ask\x20AI\x20to\x20edit\x20or\x20generate','setTemplate','submit','ck-hidden','search','items','isError','queryView','locale','_createPromptView','201660njVYuI','isProcessing','tryAgainButton','set','render','listenTo','isEnabled','high','trim','replaceContent','focusFirst','_promptHistory','tab','reset','execute','stopButton','chain','ck-ai-form','errorView','1222048IGSFeZ','30WTItqE','text','prompt','_focusables','focusTracker','ck-ai-form-content','bindTemplate','_createToolbar','46012oxpgUG','shift\x20+\x20tab','3048372hsllVm','REPLACE','keystrokes','replaceButton','7qECkiY','promptView','add','clear','tryAgainEvent','546240TdNxHr','insertContentBelow','isVisible','element','fire','label','clearHistory','delegate','Empty\x20history','621682XBhnbc','createCollection','bindTo','bind','focusCycler','stopProcessing','submitPrompt','div','fieldView','copyButtonView'];_0x11ca=function(){return _0x4de4ef;};return _0x11ca();}import{FocusTracker as _0x87e628,KeystrokeHandler as _0x41a9f4}from'ckeditor5/src/utils.js';import{View as _0x2a2d2c,FocusCycler as _0x3af8b7,createLabeledTextarea as _0x3fa986}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x18e4db,AIFormToolbarViewMainActionLabel as _0x8ee614}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x358aae}from'./aiformcontentarea.js';function _0x5109(_0x598c51,_0x4bb1a6){const _0x11ca99=_0x11ca();return _0x5109=function(_0x51090c,_0x2296ca){_0x51090c=_0x51090c-0xf4;let _0x28da8c=_0x11ca99[_0x51090c];return _0x28da8c;},_0x5109(_0x598c51,_0x4bb1a6);}import{AIFormErrorView as _0x1a2a52}from'./aiformerrorview.js';import{AIFormPromptView as _0x3595ca}from'./aiformpromptview.js';import{AIHistoryListView as _0x5c504c}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x38248d}from'./aihistorylistitemview.js';import{PromptHistory as _0x19224b}from'./prompthistory.js';import{getTranslation as _0x6de8f4}from'../../utils/common-translations.js';import{escape as _0x2dcb6d}from'es-toolkit/compat';export class AIFormView extends _0x2a2d2c{[_0x2ef3c6(0x13c)];[_0x2ef3c6(0x144)];[_0x2ef3c6(0x114)];[_0x2ef3c6(0x116)];[_0x2ef3c6(0x147)];[_0x2ef3c6(0x136)];[_0x2ef3c6(0x13b)];[_0x2ef3c6(0x104)];[_0x2ef3c6(0x12f)];constructor(_0x32cf56,_0x5ceedf,_0x1c673a=''){const _0x3b6e86=_0x2ef3c6;super(_0x32cf56),this[_0x3b6e86(0x127)](_0x3b6e86(0x12a),!0x0),this[_0x3b6e86(0x127)](_0x3b6e86(0x125),!0x1),this[_0x3b6e86(0x127)](_0x3b6e86(0x13a),''),this[_0x3b6e86(0x127)](_0x3b6e86(0x113),''),this[_0x3b6e86(0x127)](_0x3b6e86(0x120),!0x1),this[_0x3b6e86(0x127)](_0x3b6e86(0x115),_0x8ee614[_0x3b6e86(0x143)]),this[_0x3b6e86(0x12f)]=new _0x19224b(),this[_0x3b6e86(0x136)]=new _0x1a2a52(_0x32cf56),this[_0x3b6e86(0x114)]=new _0x358aae(_0x32cf56,_0x1c673a),this[_0x3b6e86(0x114)][_0x3b6e86(0x103)](_0x3b6e86(0x125))['to'](this),this[_0x3b6e86(0x114)][_0x3b6e86(0x103)](_0x3b6e86(0x113))['to'](this),this[_0x3b6e86(0x116)]=this[_0x3b6e86(0x13f)](),this[_0x3b6e86(0x116)][_0x3b6e86(0x103)](_0x3b6e86(0x115))['to'](this),this[_0x3b6e86(0x147)]=this[_0x3b6e86(0x123)](),this[_0x3b6e86(0x13c)]=new _0x87e628(),this[_0x3b6e86(0x144)]=new _0x41a9f4(),this[_0x3b6e86(0x13b)]=this[_0x3b6e86(0x101)]([this[_0x3b6e86(0x114)],this[_0x3b6e86(0x114)][_0x3b6e86(0x109)],this[_0x3b6e86(0x116)],this[_0x3b6e86(0x147)]]),this[_0x3b6e86(0x104)]=new _0x3af8b7({'focusables':this[_0x3b6e86(0x13b)],'focusTracker':this[_0x3b6e86(0x13c)],'keystrokeHandler':this[_0x3b6e86(0x144)],'actions':{'focusPrevious':_0x3b6e86(0x141),'focusNext':_0x3b6e86(0x130)}}),this[_0x3b6e86(0x104)][_0x3b6e86(0x134)](this[_0x3b6e86(0x147)][_0x3b6e86(0x104)]),this[_0x3b6e86(0x147)][_0x3b6e86(0x121)][_0x3b6e86(0x108)][_0x3b6e86(0x103)](_0x3b6e86(0x113))['to'](this,_0x3b6e86(0x13a));const _0x3e628e=this[_0x3b6e86(0x13e)];this[_0x3b6e86(0x11b)]({'tag':_0x3b6e86(0x107),'attributes':{'class':['ck',_0x3b6e86(0x135),_0x5ceedf],'tabindex':'-1'},'children':[{'tag':_0x3b6e86(0x107),'attributes':{'class':['ck',_0x3b6e86(0x13d)]},'children':[{'tag':_0x3b6e86(0x107),'attributes':{'class':[_0x3e628e['if'](_0x3b6e86(0x120),_0x3b6e86(0x11d),_0xd3d1e0=>!_0xd3d1e0)]},'children':[this[_0x3b6e86(0x136)]]},this[_0x3b6e86(0x114)],this[_0x3b6e86(0x116)],this[_0x3b6e86(0x147)]]}]});}[_0x2ef3c6(0x128)](){const _0x497d64=_0x2ef3c6;super[_0x497d64(0x128)](),this[_0x497d64(0x13c)][_0x497d64(0xf4)](this[_0x497d64(0x114)][_0x497d64(0xfa)]),this[_0x497d64(0x13c)][_0x497d64(0xf4)](this[_0x497d64(0x114)][_0x497d64(0x109)][_0x497d64(0xfa)]),this[_0x497d64(0x13c)][_0x497d64(0xf4)](this[_0x497d64(0x116)][_0x497d64(0xfa)]),this[_0x497d64(0x13c)][_0x497d64(0xf4)](this[_0x497d64(0x147)][_0x497d64(0xfa)]),this[_0x497d64(0x144)][_0x497d64(0x129)](this[_0x497d64(0xfa)]);}[_0x2ef3c6(0x119)](_0x51867c=0x1){const _0x1c6c64=_0x2ef3c6;-0x1===_0x51867c?this[_0x1c6c64(0x104)][_0x1c6c64(0x10b)]():this[_0x1c6c64(0x104)][_0x1c6c64(0x12e)]();}[_0x2ef3c6(0x131)](){const _0x33be70=_0x2ef3c6;this[_0x33be70(0x13a)]='',this[_0x33be70(0x113)]='',this[_0x33be70(0x120)]=!0x1,this[_0x33be70(0x147)][_0x33be70(0x131)](),this[_0x33be70(0x114)][_0x33be70(0xf9)]=!0x1,this[_0x33be70(0x116)][_0x33be70(0xf9)]=!0x1;}[_0x2ef3c6(0x123)](){const _0x48603d=_0x2ef3c6,_0x2922c3=this[_0x48603d(0x122)],_0x31cbf4=new _0x3595ca(_0x2922c3,{'queryView':{'label':_0x6de8f4(_0x2922c3,_0x48603d(0x11a)),'creator':_0x3fa986,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x6de8f4(_0x2922c3,_0x48603d(0xff)),'secondary':_0x6de8f4(_0x2922c3,_0x48603d(0x111))}}},'filteredView':this[_0x48603d(0x10f)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x31cbf4[_0x48603d(0x103)](_0x48603d(0x12a))['to'](this,_0x48603d(0x12a),this,_0x48603d(0x125),(_0x467c8e,_0x1089a6)=>_0x467c8e&&!_0x1089a6),this[_0x48603d(0x129)](_0x31cbf4,_0x48603d(0x11c),(_0x5c87a0,_0xea8268)=>{const _0x538395=_0x48603d;this[_0x538395(0x13a)]=_0xea8268;const _0x3ac6d6=_0x2dcb6d(_0xea8268);this[_0x538395(0xfb)](_0x538395(0x106),_0x3ac6d6),_0xea8268[_0x538395(0x12c)]()&&this[_0x538395(0x12f)][_0x538395(0xf4)]({'prompt':_0x3ac6d6},0x0);},{'priority':_0x48603d(0x12b)}),_0x31cbf4;}[_0x2ef3c6(0x10f)](){const _0x26723d=_0x2ef3c6,_0x5e6055=new _0x5c504c(this[_0x26723d(0x122)]);return _0x5e6055[_0x26723d(0x10a)][_0x26723d(0x11f)][_0x26723d(0x102)](this[_0x26723d(0x12f)])['as'](_0x38248d),_0x5e6055['on'](_0x26723d(0xfd),()=>{const _0x4850a0=_0x26723d;this[_0x4850a0(0x12f)][_0x4850a0(0xf5)](),this[_0x4850a0(0x147)][_0x4850a0(0x11e)](''),this[_0x4850a0(0x147)][_0x4850a0(0x119)]();}),_0x5e6055;}[_0x2ef3c6(0x13f)](){const _0x58fe0e=_0x2ef3c6,_0x5686a2=new _0x18e4db(this[_0x58fe0e(0x122)]);return _0x5686a2[_0x58fe0e(0x145)][_0x58fe0e(0x103)](_0x58fe0e(0x12a))['to'](this,_0x58fe0e(0x12a),this,_0x58fe0e(0x125),this,_0x58fe0e(0x113),(_0x3fc690,_0x4bb1c3,_0x1444e7)=>_0x3fc690&&!_0x4bb1c3&&!!_0x1444e7),_0x5686a2[_0x58fe0e(0x145)][_0x58fe0e(0xfe)](_0x58fe0e(0x132))['to'](this,_0x58fe0e(0x12d)),_0x5686a2[_0x58fe0e(0x118)][_0x58fe0e(0x103)](_0x58fe0e(0x12a))['to'](this,_0x58fe0e(0x12a),this,_0x58fe0e(0x125),this,_0x58fe0e(0x113),(_0xf69a3f,_0x15eddd,_0x3efa0a)=>_0xf69a3f&&!_0x15eddd&&!!_0x3efa0a),_0x5686a2[_0x58fe0e(0x118)][_0x58fe0e(0xfe)](_0x58fe0e(0x132))['to'](this,_0x58fe0e(0xf8)),_0x5686a2[_0x58fe0e(0x126)][_0x58fe0e(0x103)](_0x58fe0e(0x12a))['to'](this,_0x58fe0e(0x12a),this,_0x58fe0e(0x125),(_0xe99dc4,_0x96389d)=>_0xe99dc4&&!_0x96389d),_0x5686a2[_0x58fe0e(0x126)][_0x58fe0e(0xfe)](_0x58fe0e(0x132))['to'](this,_0x58fe0e(0xf6)),_0x5686a2[_0x58fe0e(0x133)][_0x58fe0e(0x103)](_0x58fe0e(0x12a))['to'](this,_0x58fe0e(0x125)),_0x5686a2[_0x58fe0e(0x133)][_0x58fe0e(0xfe)](_0x58fe0e(0x132))['to'](this,_0x58fe0e(0x105)),_0x5686a2;}[_0x2ef3c6(0x117)](){const _0x2382cb=_0x2ef3c6;this[_0x2382cb(0x113)]='',this[_0x2382cb(0x120)]=!0x1,this[_0x2382cb(0x125)]=!0x0,this[_0x2382cb(0x114)][_0x2382cb(0xf9)]=!0x0,this[_0x2382cb(0x116)][_0x2382cb(0xf9)]=!0x0,this[_0x2382cb(0x114)][_0x2382cb(0x119)]();}[_0x2ef3c6(0x10c)](){const _0x1a2be9=_0x2ef3c6,_0x565b1c=this[_0x1a2be9(0x122)];this[_0x1a2be9(0x125)]=!0x1,this[_0x1a2be9(0x13a)]='',this[_0x1a2be9(0x147)][_0x1a2be9(0x131)](),this[_0x1a2be9(0x113)]&&(this[_0x1a2be9(0x147)][_0x1a2be9(0x121)][_0x1a2be9(0xfc)]=_0x6de8f4(_0x565b1c,_0x1a2be9(0x10e)));}[_0x2ef3c6(0x110)](_0x2ff56a){const _0x3bdabf=_0x2ef3c6,_0x10e5ec=this[_0x3bdabf(0x122)];this[_0x3bdabf(0x10c)](),this[_0x3bdabf(0x120)]=!0x0,this[_0x3bdabf(0x136)][_0x3bdabf(0x139)]=_0x2ff56a||_0x6de8f4(_0x10e5ec,_0x3bdabf(0x112)),this[_0x3bdabf(0x113)]||(this[_0x3bdabf(0x114)][_0x3bdabf(0xf9)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1ca971,_0x55468f){const _0x564fa6=_0x112e,_0x1d243b=_0x1ca971();while(!![]){try{const _0x1355c0=parseInt(_0x564fa6(0xb8))/0x1*(parseInt(_0x564fa6(0xb9))/0x2)+-parseInt(_0x564fa6(0xbc))/0x3*(-parseInt(_0x564fa6(0xba))/0x4)+parseInt(_0x564fa6(0xb3))/0x5+-parseInt(_0x564fa6(0xb2))/0x6+-parseInt(_0x564fa6(0xb1))/0x7+-parseInt(_0x564fa6(0xaf))/0x8+parseInt(_0x564fa6(0xb5))/0x9;if(_0x1355c0===_0x55468f)break;else _0x1d243b['push'](_0x1d243b['shift']());}catch(_0x5ed608){_0x1d243b['push'](_0x1d243b['shift']());}}}(_0x3d54,0x2933f));import{ListItemView as _0x4b2146,ButtonView as _0x527981,ButtonLabelView as _0x4f2278}from'ckeditor5/src/ui.js';import{unescape as _0x4b6194}from'es-toolkit/compat';function _0x3d54(){const _0x2af919=['set','1439158oQvnQN','771480UXaKak','327645EYNypR','execute','49725QotNMz','prompt','add','293760cldlEk','2YVTZaV','662740eMYryt','children','3pAUVuu','locale','fire','220464qmtcHR'];_0x3d54=function(){return _0x2af919;};return _0x3d54();}function _0x112e(_0x1867d7,_0x5e0d18){const _0x3d5481=_0x3d54();return _0x112e=function(_0x112ef2,_0x2ff992){_0x112ef2=_0x112ef2-0xae;let _0xc9b2d2=_0x3d5481[_0x112ef2];return _0xc9b2d2;},_0x112e(_0x1867d7,_0x5e0d18);}export class AIHistoryListItemView extends _0x4b2146{constructor(_0x2c1856){const _0x4c2614=_0x112e;super();const _0xdf48bc=new _0x4f2278(),_0x1ea483=new _0x527981(this[_0x4c2614(0xbd)],_0xdf48bc);this[_0x4c2614(0xbb)][_0x4c2614(0xb7)](_0x1ea483),_0x1ea483[_0x4c2614(0xb0)]({'label':_0x2c1856[_0x4c2614(0xb6)],'withText':!0x0}),_0x1ea483['on'](_0x4c2614(0xb4),()=>{const _0x5457ad=_0x4c2614;this[_0x5457ad(0xae)](_0x5457ad(0xb4),{'value':_0x4b6194(_0x2c1856[_0x5457ad(0xb6)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1922(){const _0x2296c9=['51528433aGrVAv','map','3OrAsjE','568362mSJYeG','530rKbKXG','121833jQfVXn','prompt','add','_saveToSessionStorage','1656277FTQaSl','parse','28Wyuicw','remove','addMany','56445SBRvGe','30rZderf','_loadFromSessionStorage','CKEditor/AIFormView/PromptHistory','length','stringify','getItem','trim','915935NVPBVn','setItem','10984984LwIKGX','last','toLowerCase'];_0x1922=function(){return _0x2296c9;};return _0x1922();}const _0xc743cf=_0x13b3;(function(_0x3216ad,_0x328a9c){const _0x62cfa1=_0x13b3,_0x4f2ab7=_0x3216ad();while(!![]){try{const _0x2b8a59=-parseInt(_0x62cfa1(0x175))/0x1*(-parseInt(_0x62cfa1(0x15b))/0x2)+-parseInt(_0x62cfa1(0x166))/0x3+parseInt(_0x62cfa1(0x163))/0x4*(parseInt(_0x62cfa1(0x16e))/0x5)+parseInt(_0x62cfa1(0x167))/0x6*(parseInt(_0x62cfa1(0x161))/0x7)+parseInt(_0x62cfa1(0x170))/0x8+parseInt(_0x62cfa1(0x15d))/0x9*(parseInt(_0x62cfa1(0x15c))/0xa)+-parseInt(_0x62cfa1(0x173))/0xb;if(_0x2b8a59===_0x328a9c)break;else _0x4f2ab7['push'](_0x4f2ab7['shift']());}catch(_0x249e6c){_0x4f2ab7['push'](_0x4f2ab7['shift']());}}}(_0x1922,0xac2f9));import{Collection as _0x414bb0}from'ckeditor5/src/utils.js';const So=_0xc743cf(0x169);function _0x13b3(_0x9a6d9,_0x57e283){const _0x1922a0=_0x1922();return _0x13b3=function(_0x13b3d0,_0x5bb223){_0x13b3d0=_0x13b3d0-0x15b;let _0x2c1123=_0x1922a0[_0x13b3d0];return _0x2c1123;},_0x13b3(_0x9a6d9,_0x57e283);}export class PromptHistory extends _0x414bb0{constructor(){const _0x2b0cfa=_0xc743cf;super(),this[_0x2b0cfa(0x168)](),this['on'](_0x2b0cfa(0x15f),(_0x2b9144,_0x2eada0)=>{const _0x33528d=_0x2b0cfa,_0x360a39=fo(_0x2eada0[_0x33528d(0x15e)]);for(const _0x2d2d30 of this)if(_0x2d2d30!=_0x2eada0&&fo(_0x2d2d30[_0x33528d(0x15e)])===_0x360a39){this[_0x33528d(0x164)](_0x2d2d30);break;}this[_0x33528d(0x16a)]>0x14&&this[_0x33528d(0x164)](this[_0x33528d(0x171)]),this[_0x33528d(0x160)]();}),this['on'](_0x2b0cfa(0x164),()=>{const _0x4eb538=_0x2b0cfa;this[_0x4eb538(0x160)]();});}[_0xc743cf(0x168)](){const _0x5e2b98=_0xc743cf,_0x47e183=sessionStorage[_0x5e2b98(0x16c)](So)||'[]';this[_0x5e2b98(0x165)](JSON[_0x5e2b98(0x162)](_0x47e183));}[_0xc743cf(0x160)](){const _0x104dbb=_0xc743cf;sessionStorage[_0x104dbb(0x16f)](So,JSON[_0x104dbb(0x16b)](this[_0x104dbb(0x174)](_0x180a4c=>_0x180a4c)));}}function fo(_0x132436){const _0x54a1d9=_0xc743cf;return _0x132436[_0x54a1d9(0x172)]()[_0x54a1d9(0x16d)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x242e7b,_0x4dfecc){var _0x2660f9=_0x2bb4,_0x1f891e=_0x242e7b();while(!![]){try{var _0xbe1856=parseInt(_0x2660f9(0x187))/0x1+parseInt(_0x2660f9(0x181))/0x2*(-parseInt(_0x2660f9(0x183))/0x3)+parseInt(_0x2660f9(0x18f))/0x4+-parseInt(_0x2660f9(0x18b))/0x5*(parseInt(_0x2660f9(0x184))/0x6)+parseInt(_0x2660f9(0x18e))/0x7+parseInt(_0x2660f9(0x18c))/0x8+parseInt(_0x2660f9(0x18d))/0x9*(parseInt(_0x2660f9(0x182))/0xa);if(_0xbe1856===_0x4dfecc)break;else _0x1f891e['push'](_0x1f891e['shift']());}catch(_0x410c45){_0x1f891e['push'](_0x1f891e['shift']());}}}(_0x5ce6,0x7f89b));function _0x2bb4(_0x5cb2c5,_0x111243){var _0x5ce6b9=_0x5ce6();return _0x2bb4=function(_0x2bb494,_0xfe7f30){_0x2bb494=_0x2bb494-0x181;var _0x2434ba=_0x5ce6b9[_0x2bb494];return _0x2434ba;},_0x2bb4(_0x5cb2c5,_0x111243);}import{View as _0x3a2f43}from'ckeditor5/src/ui.js';import{getTranslation as _0xaf657}from'../../aicore/utils/common-translations.js';function _0x5ce6(){var _0x23e733=['104496nrbbxI','10wChzKr','2021530jwTnJF','76809asvMMe','24wVaMbg','setTemplate','div','187286QbcsSd','ck-ai-balloon__disclaimer-content','ck-ai-balloon__disclaimer','AI_DISCLAIMER_TEXT','786425xDEasD','1378896OwMTmK','9EnHCNm','4841375RCRajf'];_0x5ce6=function(){return _0x23e733;};return _0x5ce6();}export class AIBalloonDisclaimerView extends _0x3a2f43{constructor(_0x321901){var _0x396692=_0x2bb4;super(_0x321901),this[_0x396692(0x185)]({'tag':_0x396692(0x186),'attributes':{'class':['ck',_0x396692(0x189)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x396692(0x188)]},'children':[{'text':_0xaf657(_0x321901,_0x396692(0x18a))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3b71aa=_0x27c6;(function(_0x1d4084,_0x3ae809){const _0x546ef7=_0x27c6,_0x348c03=_0x1d4084();while(!![]){try{const _0x52413d=parseInt(_0x546ef7(0xf9))/0x1*(-parseInt(_0x546ef7(0x10f))/0x2)+parseInt(_0x546ef7(0x10b))/0x3+parseInt(_0x546ef7(0xf5))/0x4+parseInt(_0x546ef7(0x100))/0x5+parseInt(_0x546ef7(0x115))/0x6*(-parseInt(_0x546ef7(0xea))/0x7)+-parseInt(_0x546ef7(0x10c))/0x8+parseInt(_0x546ef7(0xec))/0x9*(parseInt(_0x546ef7(0xf1))/0xa);if(_0x52413d===_0x3ae809)break;else _0x348c03['push'](_0x348c03['shift']());}catch(_0x5ce454){_0x348c03['push'](_0x348c03['shift']());}}}(_0x86eb,0x80dd1));import{ButtonView as _0x30e194,View as _0x191885,ViewCollection as _0x139797,FocusCycler as _0xa4d9f5}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4da971,KeystrokeHandler as _0x8ab13}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x295739,IconPreviousArrow as _0x2b0f7c}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x13eebb}from'./aiballoontoolbarview.js';function _0x86eb(){const _0x447eaa=['set','setLoading','startAutoScroll','isLoading','_dialogContent','updateContent','applySuggestion','clear','focusLast','span','scrollManager','_mainView','hideError','showRecoverableError','setTemplate','_addDisclaimerView','_createNextButtonView','getIndex','children','_errorView','disclaimerView','applyButton','focus','focusTracker','bind','keystrokes','shift\x20+\x20tab','add','ck-ai-suggestion__error-text','execute','isErrorVisible','AI_BALLOON_PREVIOUS_TOOLTIP','showError','focusFirst','element','AI_BALLOON_NEXT_TOOLTIP','tab','bodyView','2009931lbwILy','ai-balloon-content','4622166SleEPJ','headerView','includes','_initializeScrollManager','showSuggestButton','10aDYoTp','toolbar','ck-ai-suggestion__error','ck-hidden','696896pOrufz','_addContentView','_createPreviousButtonView','insertSuggestion','1Qlufov','stop','start','addMany','createCollection','showPrevious','isEnabled','2217020OxAEaP','stopAutoScroll','suggestButton','div','_focusables','_availableActions','destroy','change:isTrackChangesOn','showApplyButton','showNext','ai-balloon-error','1993767zMbeqO','4990656ecKaNQ','mainView','errorMessage','139736HqRoCB','listenTo','_getScrollableElement','_createErrorView','remove','view','12jBPygO','render','showBlockingError','fire','bindTemplate','locale','isTrackChangesOn','clearLoading','focusCycler','setupRotator','_addToolbar'];_0x86eb=function(){return _0x447eaa;};return _0x86eb();}function _0x27c6(_0x3ba1f9,_0x1e370d){const _0x86eb0=_0x86eb();return _0x27c6=function(_0x27c666,_0x15c5e3){_0x27c666=_0x27c666-0xe7;let _0x4f0d70=_0x86eb0[_0x27c666];return _0x4f0d70;},_0x27c6(_0x3ba1f9,_0x1e370d);}import{AIBalloonDisclaimerView as _0x3a4423}from'./aiballoondisclaimerview.js';import{getTranslation as _0x43e2a5}from'../../aicore/utils/common-translations.js';import{ScrollManager as _0x173229}from'../../aicore/utils/scrollmanager.js';import{AISuggestionContainerView as _0x555a48}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x3b71aa(0x126),_0x3b71aa(0xf8),_0x3b71aa(0x109),_0x3b71aa(0xfe)];export class AIBalloonView extends _0x191885{[_0x3b71aa(0x137)];[_0x3b71aa(0x139)];[_0x3b71aa(0x11d)];[_0x3b71aa(0x105)];[_0x3b71aa(0x104)];[_0x3b71aa(0x133)];[_0x3b71aa(0x12a)];constructor(_0x14e86e,_0x1c1696,_0x12ce97,_0x40d57d){const _0x459953=_0x3b71aa;super(_0x14e86e),this[_0x459953(0x105)]=_0x12ce97,this[_0x459953(0x120)](_0x459953(0x123),!0x1),this[_0x459953(0x120)](_0x459953(0x11b),_0x40d57d),this[_0x459953(0x120)](_0x459953(0x13e),!0x1),this[_0x459953(0x120)](_0x459953(0x10e),''),this[_0x459953(0x137)]=new _0x4da971(),this[_0x459953(0x139)]=new _0x8ab13(),this[_0x459953(0x104)]=this[_0x459953(0xfd)](),this[_0x459953(0x11d)]=new _0xa4d9f5({'focusables':this[_0x459953(0x104)],'focusTracker':this[_0x459953(0x137)],'keystrokeHandler':this[_0x459953(0x139)],'actions':{'focusPrevious':_0x459953(0x13a),'focusNext':_0x459953(0xe8)}}),this[_0x459953(0x124)]=new _0x139797(),this[_0x459953(0xf6)](_0x1c1696[_0x459953(0x10d)]),this[_0x459953(0x12f)](),this[_0x459953(0x11f)](_0x1c1696[_0x459953(0x108)],_0x1c1696[_0x459953(0xf0)]),this[_0x459953(0xf2)][_0x459953(0x138)](_0x459953(0x123))['to'](this),this[_0x459953(0x104)][_0x459953(0x127)](),this[_0x459953(0x104)][_0x459953(0xfc)]([this[_0x459953(0xf2)]]),this[_0x459953(0x12e)]({'tag':_0x459953(0x103),'attributes':{'class':_0x459953(0xeb)},'children':this[_0x459953(0x124)]}),this['on'](_0x459953(0x107),()=>{const _0x53fa20=_0x459953;this[_0x53fa20(0x124)][_0x53fa20(0x113)](this[_0x53fa20(0xf2)]),this[_0x53fa20(0x11f)](_0x1c1696[_0x53fa20(0x108)],_0x1c1696[_0x53fa20(0xf0)]);});}[_0x3b71aa(0x116)](){const _0x2476f7=_0x3b71aa;super[_0x2476f7(0x116)]();for(const _0x5d91ee of this[_0x2476f7(0x104)])this[_0x2476f7(0x137)][_0x2476f7(0x13b)](_0x5d91ee[_0x2476f7(0x142)]);this[_0x2476f7(0x139)][_0x2476f7(0x110)](this[_0x2476f7(0x142)]),this[_0x2476f7(0xef)]();}[_0x3b71aa(0x106)](){const _0x2ac29a=_0x3b71aa;super[_0x2ac29a(0x106)](),this[_0x2ac29a(0x12a)]&&this[_0x2ac29a(0x12a)][_0x2ac29a(0x106)]();}[_0x3b71aa(0x136)](_0x24dd70){const _0x4ed0cc=_0x3b71aa;-0x1===_0x24dd70?this[_0x4ed0cc(0x11d)][_0x4ed0cc(0x128)]():this[_0x4ed0cc(0x11d)][_0x4ed0cc(0x141)]();}[_0x3b71aa(0x121)](){const _0xf69994=_0x3b71aa;this[_0xf69994(0x123)]=!0x0;}[_0x3b71aa(0x11c)](){const _0x1a08b3=_0x3b71aa;this[_0x1a08b3(0x123)]=!0x1;}[_0x3b71aa(0x140)](_0x5193bb){const _0x45b34a=_0x3b71aa;this[_0x45b34a(0x133)]||(this[_0x45b34a(0x133)]=this[_0x45b34a(0x112)](),this[_0x45b34a(0x124)][_0x45b34a(0xfc)]([this[_0x45b34a(0x133)]],0x0)),this[_0x45b34a(0x10e)]=_0x5193bb,this[_0x45b34a(0x13e)]=!0x0;}[_0x3b71aa(0x12c)](){const _0x29f3d6=_0x3b71aa;this[_0x29f3d6(0x13e)]=!0x1;}[_0x3b71aa(0x12d)](_0x22387a){const _0x43a90b=_0x3b71aa;this[_0x43a90b(0x140)](_0x22387a);}[_0x3b71aa(0x117)](_0x2e3207){const _0x2f690c=_0x3b71aa;this[_0x2f690c(0x140)](_0x2e3207),this[_0x2f690c(0xf2)]&&(this[_0x2f690c(0xf2)][_0x2f690c(0x135)]&&(this[_0x2f690c(0xf2)][_0x2f690c(0x135)][_0x2f690c(0xff)]=!0x1),this[_0x2f690c(0xf2)][_0x2f690c(0x102)]&&(this[_0x2f690c(0xf2)][_0x2f690c(0x102)][_0x2f690c(0xff)]=!0x1));}[_0x3b71aa(0x11e)](_0x3666ca){const _0x19063c=_0x3b71aa,_0x2f91b0=this[_0x19063c(0x130)](),_0x4cab8f=this[_0x19063c(0xf7)]();_0x3666ca[_0x19063c(0x114)][_0x19063c(0xed)][_0x19063c(0x132)][_0x19063c(0x13b)](_0x2f91b0,0x2),_0x3666ca[_0x19063c(0x114)][_0x19063c(0xed)][_0x19063c(0x132)][_0x19063c(0x13b)](_0x4cab8f,0x0),this[_0x19063c(0x104)][_0x19063c(0xfc)]([_0x2f91b0,_0x4cab8f]),this[_0x19063c(0x137)][_0x19063c(0x13b)](_0x2f91b0[_0x19063c(0x142)]),this[_0x19063c(0x137)][_0x19063c(0x13b)](_0x4cab8f[_0x19063c(0x142)]);}[_0x3b71aa(0xf6)](_0x32725c){const _0x163377=_0x3b71aa;this[_0x163377(0x12b)]=_0x32725c,this[_0x163377(0x124)][_0x163377(0x13b)](this[_0x163377(0x12b)]);}[_0x3b71aa(0x125)](_0x363b0b){const _0xf7b880=_0x3b71aa,_0x3b519c=this[_0xf7b880(0x124)][_0xf7b880(0x131)](this[_0xf7b880(0x12b)]);this[_0xf7b880(0x124)][_0xf7b880(0x113)](this[_0xf7b880(0x12b)]),this[_0xf7b880(0x12b)]=_0x363b0b,this[_0xf7b880(0x124)][_0xf7b880(0x13b)](this[_0xf7b880(0x12b)],_0x3b519c),this[_0xf7b880(0x12c)](),this[_0xf7b880(0x12a)]&&this[_0xf7b880(0x12a)][_0xf7b880(0x106)](),this[_0xf7b880(0xef)]();}[_0x3b71aa(0x12f)](){const _0x48227d=_0x3b71aa;this[_0x48227d(0x134)]=new _0x3a4423(this[_0x48227d(0x11a)]),this[_0x48227d(0x124)][_0x48227d(0x13b)](this[_0x48227d(0x134)]);}[_0x3b71aa(0x11f)](_0x34c5ef=!0x0,_0x30c07a=!0x0){const _0x305a9a=_0x3b71aa;_0x34c5ef=_0x34c5ef&&!this[_0x305a9a(0x11b)]&&this[_0x305a9a(0x105)][_0x305a9a(0xee)](_0x305a9a(0x126)),_0x30c07a=_0x30c07a&&this[_0x305a9a(0x105)][_0x305a9a(0xee)](_0x305a9a(0xf8)),this[_0x305a9a(0xf2)]=new _0x13eebb(this[_0x305a9a(0x11a)],_0x34c5ef,_0x30c07a),this[_0x305a9a(0xf2)][_0x305a9a(0x135)]?.['on'](_0x305a9a(0x13d),()=>{const _0x3531f2=_0x305a9a;this[_0x3531f2(0x118)](_0x3531f2(0x126));}),this[_0x305a9a(0xf2)][_0x305a9a(0x102)]?.['on'](_0x305a9a(0x13d),()=>{const _0x1e3698=_0x305a9a;this[_0x1e3698(0x118)](_0x1e3698(0xf8));}),this[_0x305a9a(0x124)][_0x305a9a(0x13b)](this[_0x305a9a(0xf2)]);}[_0x3b71aa(0x130)](){const _0xad2097=_0x3b71aa,_0x7df90f=new _0x30e194(this[_0xad2097(0x11a)]);return _0x7df90f[_0xad2097(0x120)]({'icon':_0x295739,'tooltip':_0x43e2a5(this[_0xad2097(0x11a)],_0xad2097(0xe7))}),_0x7df90f['on'](_0xad2097(0x13d),()=>{const _0x515ea9=_0xad2097;this[_0x515ea9(0x118)](_0x515ea9(0x109));}),_0x7df90f;}[_0x3b71aa(0xf7)](){const _0x195621=_0x3b71aa,_0x244142=new _0x30e194(this[_0x195621(0x11a)]);return _0x244142[_0x195621(0x120)]({'icon':_0x2b0f7c,'tooltip':_0x43e2a5(this[_0x195621(0x11a)],_0x195621(0x13f))}),_0x244142['on'](_0x195621(0x13d),()=>{const _0x4eb73f=_0x195621;this[_0x4eb73f(0x118)](_0x4eb73f(0xfe));}),_0x244142;}[_0x3b71aa(0x112)](){const _0x487405=_0x3b71aa,_0x3d026c=new _0x191885(this[_0x487405(0x11a)]),_0x4a07ea=new _0x191885(this[_0x487405(0x11a)]);return _0x4a07ea[_0x487405(0x12e)]({'tag':_0x487405(0x129),'attributes':{'class':['ck',_0x487405(0x13c)]},'children':[{'text':this[_0x487405(0x119)]['to'](_0x487405(0x10e))}]}),_0x3d026c[_0x487405(0x12e)]({'tag':_0x487405(0x103),'attributes':{'class':['ck',_0x487405(0xf3),_0x487405(0x10a),this[_0x487405(0x119)]['if'](_0x487405(0x13e),_0x487405(0xf4),_0x598ea4=>!_0x598ea4)]},'children':[_0x4a07ea]}),_0x3d026c;}[_0x3b71aa(0x122)](){const _0x3a2239=_0x3b71aa;this[_0x3a2239(0xef)](),this[_0x3a2239(0x12a)]&&this[_0x3a2239(0x12a)][_0x3a2239(0xfb)]();}[_0x3b71aa(0x101)](){const _0x438934=_0x3b71aa;this[_0x438934(0x12a)]&&this[_0x438934(0x12a)][_0x438934(0xfa)]();}[_0x3b71aa(0xef)](){const _0x12aff5=_0x3b71aa,_0x3c62ce=this[_0x12aff5(0x111)]();_0x3c62ce&&!this[_0x12aff5(0x12a)]&&(this[_0x12aff5(0x12a)]=new _0x173229(_0x3c62ce));}[_0x3b71aa(0x111)](){const _0x51ca08=_0x3b71aa;return this[_0x51ca08(0x12b)]instanceof _0x555a48&&this[_0x51ca08(0x12b)][_0x51ca08(0xe9)][_0x51ca08(0x142)]?this[_0x51ca08(0x12b)][_0x51ca08(0xe9)][_0x51ca08(0x142)]:null;}}
|
package/src/aichat/aichat.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x255331=_0x3e68;(function(_0x1e2cd9,_0x10c12c){var _0x263784=_0x3e68,_0x278e30=_0x1e2cd9();while(!![]){try{var _0x523df8=-parseInt(_0x263784(0x194))/0x1*(-parseInt(_0x263784(0x1a1))/0x2)+parseInt(_0x263784(0x18d))/0x3*(-parseInt(_0x263784(0x19a))/0x4)+parseInt(_0x263784(0x191))/0x5+parseInt(_0x263784(0x199))/0x6+parseInt(_0x263784(0x18b))/0x7+-parseInt(_0x263784(0x198))/0x8+-parseInt(_0x263784(0x1a3))/0x9;if(_0x523df8===_0x10c12c)break;else _0x278e30['push'](_0x278e30['shift']());}catch(_0x2a8fdd){_0x278e30['push'](_0x278e30['shift']());}}}(_0x5164,0xe8e46));import{ContextPlugin as _0x468473}from'ckeditor5/src/core.js';import{AIChatController as _0x5c5683}from'./aichatcontroller.js';import{AIEditing as _0x3c40ff}from'../aicore/aiediting.js';function _0x3e68(_0x49c0db,_0x339021){var _0x51647e=_0x5164();return _0x3e68=function(_0x3e6894,_0x18f171){_0x3e6894=_0x3e6894-0x18a;var _0x2d2c06=_0x51647e[_0x3e6894];return _0x2d2c06;},_0x3e68(_0x49c0db,_0x339021);}import{AIChatUI as _0x95e868}from'./aichatui.js';function _0x5164(){var _0x1273a5=['focusPromptInput','removeSelectionFromChatContext','6658BZxKJP','requires','pluginName','startConversation','8855840ufgdha','10240086Kqgejh','628356AGBNNJ','isOfficialPlugin','context','addSelectionToChatContext','define','plugins','ai.chat.models','446pPBlHW','get','14879340DDJCOG','sendMessage','12920208juyTgo','isPremiumPlugin','33OkXtsb','config','ai.chat.context','AIChat','2024930kyNyPP'];_0x5164=function(){return _0x1273a5;};return _0x5164();}import{AIChatHistory as _0x1dab1d}from'../aichathistory/aichathistory.js';export class AIChat extends _0x468473{static get[_0x255331(0x195)](){return[_0x5c5683,_0x3c40ff,_0x95e868,_0x1dab1d];}static get[_0x255331(0x196)](){var _0x3a091b=_0x255331;return _0x3a091b(0x190);}static get[_0x255331(0x19b)](){return!0x0;}static get[_0x255331(0x18c)](){return!0x0;}constructor(_0x102929){var _0x24afb4=_0x255331;super(_0x102929),this[_0x24afb4(0x19c)][_0x24afb4(0x18e)][_0x24afb4(0x19e)](_0x24afb4(0x18f),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x24afb4(0x19c)][_0x24afb4(0x18e)][_0x24afb4(0x19e)](_0x24afb4(0x1a0),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x255331(0x19d)](){var _0x315093=_0x255331;await this[_0x315093(0x19c)][_0x315093(0x19f)][_0x315093(0x1a2)](_0x5c5683)[_0x315093(0x19d)]();}async[_0x255331(0x197)](){var _0x55752e=_0x255331;await this[_0x55752e(0x19c)][_0x55752e(0x19f)][_0x55752e(0x1a2)](_0x5c5683)[_0x55752e(0x197)]();}async[_0x255331(0x18a)]({message:_0x7d0cc8,quickActionData:_0xfd1148}){var _0x8b8ced=_0x255331;await this[_0x8b8ced(0x19c)][_0x8b8ced(0x19f)][_0x8b8ced(0x1a2)](_0x5c5683)[_0x8b8ced(0x18a)]({'message':_0x7d0cc8,'quickActionData':_0xfd1148});}[_0x255331(0x193)](){var _0x57d99d=_0x255331;this[_0x57d99d(0x19c)][_0x57d99d(0x19f)][_0x57d99d(0x1a2)](_0x5c5683)[_0x57d99d(0x193)]();}[_0x255331(0x192)](){var _0x3f830f=_0x255331;this[_0x3f830f(0x19c)][_0x3f830f(0x19f)][_0x3f830f(0x1a2)](_0x5c5683)[_0x3f830f(0x192)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1908(){const _0x427e6f=['AI_CHAT_CONTEXT_FILE_TOO_LARGE','getInteractionAndReplyById','_balloonShowDiff','like','filter','remove','uid','getTransformedByOperation','mouseOverSuggestion','setConversationContext','resource','updateResourceState','setIsMaximized','updateCurrentDocumentInContext','toViewRange','requires','insertSuggestion','toString','ai-chat-invalid-request','resizedTabs','getRanges','slice','activeConversation','showChangeInText','getOperations','sendUserMessage','_stopLastInteraction','contextItemRemoved','ai-chat-controller-mouse-over','ai-chat-controller-no-active-conversation','editors','_getDocumentRangeForReplyChanges','updateContent','setContextItemLoading','contextItem','getDocumentContext','getConversation','ai-chat-conversation-init-failed','uiId','interactionStarted','addFeedItemStaticMessage','modelSelected','mapper','sources','source','howMany','setFeedItemRenderingStrategy','TrackChangesEditing','has','rootName','addFeedItemUserMessage','chat','populateSourceResourceBalloon','isPremiumPlugin','1491992NmcCMA','isLoading','getRoot','setLoadingMessage','AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','clearPendingContextUI','_integrateEditor','set','addOperation','_handleStartConversation','_batchToChanges','getInteraction','error','ai-chat-missing-channel-id','mouseLeaveSuggestion','fetchConversation','modification-delta','static','domConverter','delete','collaboration.channelId','showFakeVisualSelection','ai.chat.context','isInContext','viewRangeToDom','getChildren','range','_openBalloonFor','_removeAISelectionMarkers','toggleLoadingSkeleton','state','reasoningFinished','_setIsMaximized','_startConversationSafely','isDocumentOperation','interactionDestroyed','batch','hasChanges','setAddContextOptions','conversationInitialized','selectedModel','$graveyard','_toggleReasoning','full','indexOf','ai-chat-context-unsupported-file-type','replyChangeGroupStateUpdated','getContentParts','removed','changeGroups','get','_aiChatUi','model','changes','stopInteraction','getDocumentData','_aiConnector','_updateRatings','createConversation','path','isOpen','isCurrentDocumentInContext','addFeedItemAISuggestion','unshift','getChild','AI_BALLOON_HEADER_TITLE','selectModel','resources','nextSibling','activateTab','toggleReasoning','toggleWebSearch','lastInteraction','AI_CHAT_CONTEXT_INVALID_DATA','ai-chat-context-file-too-many-pages','map','7yNBZCT','applyOperation','uploadProgressChanged','message','messageId','startConversation','from','baseVersion','config','setModel','createRange','309830eZdOkj','interactionFinished','disableControls','setSelectedModel','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','listenTo','addFeedInteractionHeader','closeSourceResourceBalloon','_createFromRanges','index','ai-chat-context-unsupported-type','addDocumentToContext','stop','contextSent','applySuggestion','new','startAutoScroll','isOfficialPlugin','isStarted','end','234Bxmqrx','contextItems','sourceId','getMarkersGroup','pluginName','AITabs','sourcePosition','length','split','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','addSelectionToChatContext','query','abortPromptStream','AI_CHAT_GENERIC_ERROR','showNext','AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','reasoningStarted','clearConversationContextUI','upsertAIChatRating','AI_CHAT_UNABLE_TO_START_CONVERSATION','_flushLastInteractionUI','_insertSuggestion','ai-chat-context-file-too-large','locale','AIConnector','replyCreated','_handleUIUserMessage','startsWith','add','toggleSuggestionDisplayMode','maxOffset','node','removeSelectionFromContext','selection','AIChatUI','getSelectionText','getPath','focusPromptInput','loadSourceResources','3624996EiGtmL','ai-chat-source-resources-load-failed','Liked\x20response','init','getDiff','ai-chat-context-form-data-size-limits-exceeded','AI_CHAT_ABORTED_MESSAGE','text-delta','removeContextItem','alignToTop','indexes','AIChatController','isUploadInProgress','marker','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','rejected','ai-chat-context-invalid-data','parse','updateFeedItemAIReplySuggestionContent','replyId','enableControls','setConversationTitle','_applyOperationsAsSuggestions','replies','ai-chat-file-upload-failed','updateFeedItemAIReplySuggestionPartState','resourceStateChanged','load','webSearchStarted','ai-chat-conversation-start-failed','undo','updateConversationTitle','close','ai-no-track-changes','getFirstRange','cloneNode','addUrlToContext','addSelectionToContext','webSearchFinished','stopListening','_toggleWebSearch','anchorId','createPositionFromPath','documentContextContent','Undo','open','resourceId','showDiff','data-id','_applySuggestion','updateCapabilities','showPrevious','resizeTabs','resetMessageInput','removeFromContext','handleUserInteraction','ai-conversation-','945750NfZYRm','AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','addContextOptionsChanged','push','_aiChatModels','loadConversation','getGroupId','children','_removeFromContext','TrackChanges','resetConversationTitle','contextItemLoadingEnded','sendMessage','ai.availableReplyActions','createPositionAt','dialogClosed','startInteraction','find','commands','AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','sourceResourcesLoaded','AI_CHAT_INVALID_REQUEST','afterInit','ai-chat-resource-load-failed','revert','_scrollToSuggestionRange','accepted','Disliked\x20response','ai-chat-conversation-not-found','content','getReply','log','handleRemovedConversation','contextItemAdded','capabilitiesUpdated','view','AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','addFilesToContext','updateFeedItemAIReplyContent','findIndex','current-document','setIsUploadInProgress','streaming','getAttribute','removeSelectionFromChatContext','resize','ai.chat.models.displayedModels','history','updateFeedItemAIReplySources','385992pjeWEO','isModelAvailable','replyContentUpdated','interactionId','ready','ai.chat.models.defaultModelId','AI_CHAT_RESOURCE_LOAD_FAILED','addFeedItemAIReply','AI_CHAT_UNTITLED_CONVERSATION','finishInteraction','_showConversationHistory','redo','document','_aiEditing','removeFeedInteraction','interactionCreated','ai-chat-url-upload-failed','root','data','outdated','addResourceToContext','addFileToContext','change','_previewedChangeGroup','markers','type','Showing\x20conversation\x20history...','getChildAtOffset','ai-request-aborted','addCurrentDocumentToContext','scrollFeedToSuggestion','context','hideFakeVisualSelection','_updateReplyContent','removeMarker','version','addContextItem','DocumentCompare','_logError','plugins','main','rejectSuggestion','isCurrentDocumentInConversation','start','options','AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','setChangeGroupState','pending','642672MPOqBH','addFeedItemError','editing','dislike','partIndex','10TEABbM','forEach','7643208qFuTRU','AIEditing','isDisabled'];_0x1908=function(){return _0x427e6f;};return _0x1908();}const _0x5f5dc3=_0x3a43;(function(_0x2c2bf1,_0x41fb56){const _0x2d229d=_0x3a43,_0x5a1e97=_0x2c2bf1();while(!![]){try{const _0x9c583=-parseInt(_0x2d229d(0x1b7))/0x1+-parseInt(_0x2d229d(0x1e8))/0x2+-parseInt(_0x2d229d(0x218))/0x3+parseInt(_0x2d229d(0x258))/0x4*(parseInt(_0x2d229d(0x21d))/0x5)+-parseInt(_0x2d229d(0x17e))/0x6+parseInt(_0x2d229d(0x138))/0x7*(parseInt(_0x2d229d(0x21f))/0x8)+-parseInt(_0x2d229d(0x157))/0x9*(-parseInt(_0x2d229d(0x143))/0xa);if(_0x9c583===_0x41fb56)break;else _0x5a1e97['push'](_0x5a1e97['shift']());}catch(_0x242c0f){_0x5a1e97['push'](_0x5a1e97['shift']());}}}(_0x1908,0x863bb));import{ContextPlugin as _0x1a3210,Editor as _0x23b274}from'ckeditor5/src/core.js';import{CKEditorError as _0x5cc404,logError as _0x2cf3bc,scrollViewportToShowTarget as _0x5dae96,uid as _0x1582f1}from'ckeditor5/src/utils.js';import{AIConnector as _0x4bdd2d}from'../aicore/aiconnector.js';function _0x3a43(_0x50c20a,_0x4a2ed0){const _0x1908cd=_0x1908();return _0x3a43=function(_0x3a43e3,_0x58b995){_0x3a43e3=_0x3a43e3-0x123;let _0x4624df=_0x1908cd[_0x3a43e3];return _0x4624df;},_0x3a43(_0x50c20a,_0x4a2ed0);}import{AITabs as _0x33adb1}from'../aitabs/aitabs.js';import{AIChatConversation as _0x47f28f}from'./model/aichatconversation.js';import{getTranslation as _0x28fa95}from'../aicore/utils/common-translations.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0xedcbfe}from'../aicore/aiediting.js';import{AI_REPLY_ACTIONS as _0x555b82}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIChatModels as _0x3a135d}from'./model/aichatmodels.js';import{getEditorFromContext as _0x518d08}from'../aicore/utils/geteditorfromcontext.js';import{DocumentCompare as _0x11862a,DATA_ID_MODEL_ATTRIBUTE as _0x3d2679}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0xbff3df,getOperationsFromReply as _0x2a6de2}from'../aicore/utils/getoperationsfromreply.js';import{expandSelectionWithContext as _0x18a23d,getMinimalSelection as _0x349bed}from'../aicore/utils/getsuggestionpartsfromreply.js';import{ModelRange as _0x33df60,_DetachOperation as _0x414068}from'ckeditor5/src/engine.js';import{findOne as _0x3aab3c,getAttribute as _0x1abf36,serialize as _0x3e6850,Document as _0x533c8a,findByAttribute as _0x3c99c5}from'../aicore/utils/htmlparser.js';import{IconAI as _0x97a899}from'@ckeditor/ckeditor5-icons';import{AISuggestionContainerView as _0x307d7c}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIBalloon as _0x864511}from'../aiballoon/aiballoon.js';export class AIChatController extends _0x1a3210{[_0x5f5dc3(0x1f5)];[_0x5f5dc3(0x124)];[_0x5f5dc3(0x28b)];[_0x5f5dc3(0x1bb)];[_0x5f5dc3(0x262)]=new Map();[_0x5f5dc3(0x1ff)]=null;[_0x5f5dc3(0x224)]=!0x1;static get[_0x5f5dc3(0x231)](){return[_0x4bdd2d,_0x864511,_0x11862a];}static get[_0x5f5dc3(0x15b)](){const _0xdadb60=_0x5f5dc3;return _0xdadb60(0x189);}static get[_0x5f5dc3(0x154)](){return!0x0;}static get[_0x5f5dc3(0x257)](){return!0x0;}[_0x5f5dc3(0x181)](){const _0xeccc70=_0x5f5dc3;this[_0xeccc70(0x124)]=this[_0xeccc70(0x207)][_0xeccc70(0x20f)][_0xeccc70(0x28a)](_0xeccc70(0x16f)),this[_0xeccc70(0x28b)]=this[_0xeccc70(0x207)][_0xeccc70(0x20f)][_0xeccc70(0x28a)](_0xeccc70(0x179)),this[_0xeccc70(0x1f5)]=this[_0xeccc70(0x207)][_0xeccc70(0x20f)][_0xeccc70(0x28a)](_0xeccc70(0x220)),this[_0xeccc70(0x1bb)]=new _0x3a135d({'connector':this[_0xeccc70(0x124)],'availableModels':this[_0xeccc70(0x207)][_0xeccc70(0x140)][_0xeccc70(0x28a)](_0xeccc70(0x1e5)),'defaultModelId':this[_0xeccc70(0x207)][_0xeccc70(0x140)][_0xeccc70(0x28a)](_0xeccc70(0x1ed))});const _0x3cd514=this[_0xeccc70(0x207)][_0xeccc70(0x20f)][_0xeccc70(0x28a)](_0xeccc70(0x15c));this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x13d),()=>{const _0x4f49b9=_0xeccc70;this[_0x4f49b9(0x279)]();}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x23b),(_0x467adc,_0x18f9bc)=>{const _0x95bc83=_0xeccc70;this[_0x95bc83(0x171)]({'userMessage':_0x18f9bc});}),this[_0xeccc70(0x148)](_0x3cd514,_0xeccc70(0x235),(_0x2e1ec0,_0x55b743)=>{const _0x110a09=_0xeccc70;this[_0x110a09(0x278)](_0x55b743);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x1b2),()=>{const _0x42f17e=_0xeccc70;_0x3cd514[_0x42f17e(0x1e4)]();}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x163),async()=>{const _0xe88b60=_0xeccc70;await this[_0xe88b60(0x23c)](),await this[_0xe88b60(0x16b)](),this[_0xe88b60(0x1e3)]();}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x14e),()=>{const _0x3dafff=_0xeccc70;this[_0x3dafff(0x238)]?.[_0x3dafff(0x205)](_0x28fa95(this[_0x3dafff(0x207)][_0x3dafff(0x16e)],_0x3dafff(0x18c)));}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x1fd),(_0x2be2d4,_0x4aab71)=>{const _0x5d7d1c=_0xeccc70;this[_0x5d7d1c(0x238)]?.[_0x5d7d1c(0x1dc)](Array[_0x5d7d1c(0x13e)](_0x4aab71));}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x1a2),(_0x1741a7,_0x5482e1)=>{const _0x11fbf3=_0xeccc70;this[_0x11fbf3(0x238)]?.[_0x11fbf3(0x1a2)](_0x5482e1);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x1fc),(_0x27212c,_0x34428b)=>{const _0x2d565d=_0xeccc70;this[_0x2d565d(0x238)]?.[_0x2d565d(0x1fc)](_0x34428b[_0x2d565d(0x24e)],_0x34428b[_0x2d565d(0x22c)]);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x186),(_0x878422,_0x118515)=>{const _0x5c079c=_0xeccc70;this[_0x5c079c(0x1bf)](_0x118515);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x17d),(_0x33e7ef,_0x43e743)=>{const _0x244466=_0xeccc70;this[_0x244466(0x238)]?.[_0x244466(0x17d)](_0x43e743[_0x244466(0x159)],_0x43e743[_0x244466(0x162)],_0x43e743[_0x244466(0x228)]);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x133),()=>{const _0x4602f6=_0xeccc70;this[_0x4602f6(0x1a6)]();}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x132),()=>{const _0x497d59=_0xeccc70;this[_0x497d59(0x282)]();}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x12e),(_0x2a2106,_0x2dd130)=>{const _0x2ba8ec=_0xeccc70;this[_0x2ba8ec(0x238)]?.[_0x2ba8ec(0x141)](_0x2dd130);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x225),(_0x5e5384,{replyId:_0xfdee5f})=>{const _0x308384=_0xeccc70;console[_0x308384(0x1d6)](_0x308384(0x180),_0xfdee5f);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x21b),(_0xa5e570,{replyId:_0x17b647})=>{const _0x4dfaf5=_0xeccc70;console[_0x4dfaf5(0x1d6)](_0x4dfaf5(0x1d2),_0x17b647);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x232),(_0x31803f,_0x4d1d1a)=>{const _0x1093c4=_0xeccc70;this[_0x1093c4(0x207)][_0x1093c4(0x20f)][_0x1093c4(0x28a)](_0x864511)[_0x1093c4(0x19e)](),this[_0x1093c4(0x16c)](_0x4d1d1a);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x239),(_0x504f7c,{replyId:_0x2f6cfd,partIndex:_0x2dc5ae})=>{const _0x19597e=_0xeccc70;this[_0x19597e(0x224)]=this[_0x19597e(0x28b)][_0x19597e(0x1ad)],this[_0x19597e(0x273)](_0x2f6cfd,_0x2dc5ae);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x22a),(_0x57ba59,{replyId:_0x14b156,partIndex:_0x50a00f})=>{const _0x96f021=_0xeccc70,_0x449c8b=this[_0x96f021(0x241)](_0x14b156,_0x50a00f);_0x449c8b&&_0x96f021(0x281)!=_0x449c8b[_0x96f021(0x272)][_0x96f021(0x1f9)][_0x96f021(0x253)]&&this[_0x96f021(0x1f5)][_0x96f021(0x26d)]([_0x449c8b[_0x96f021(0x272)]],_0x96f021(0x23e));}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x266),()=>{const _0x13bec6=_0xeccc70;this[_0x13bec6(0x1f5)][_0x13bec6(0x208)](_0x13bec6(0x23e));}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x151),(_0x45b2e5,_0x3e8857)=>{const _0x57f43d=_0xeccc70;this[_0x57f43d(0x207)][_0x57f43d(0x20f)][_0x57f43d(0x28a)](_0x864511)[_0x57f43d(0x19e)](),this[_0x57f43d(0x1af)](_0x3e8857);}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x174),async(_0x320b27,{replyId:_0x4a0638,showDiff:_0x72755c})=>{const _0x576b60=_0xeccc70,{reply:_0x2221d7}=this[_0x576b60(0x223)](_0x4a0638),_0xc9d9b4=_0x2221d7[_0x576b60(0x287)]({'showDiff':_0x72755c});await this[_0x576b60(0x28b)][_0x576b60(0x190)]({'id':_0x2221d7['id'],'parts':_0xc9d9b4,'renderingStrategy':_0x576b60(0x269)});}),this[_0xeccc70(0x148)](this[_0xeccc70(0x28b)],_0xeccc70(0x211),(_0x311f2f,{replyId:_0x30b04d,partIndex:_0x196ee8})=>{const _0x1deb5b=_0xeccc70;this[_0x1deb5b(0x1ff)]?.[_0x1deb5b(0x191)]==_0x30b04d&&this[_0x1deb5b(0x1ff)]?.[_0x1deb5b(0x21c)]==_0x196ee8&&this[_0x1deb5b(0x207)][_0x1deb5b(0x20f)][_0x1deb5b(0x28a)](_0x864511)[_0x1deb5b(0x19e)]();const {reply:_0x5900ee}=this[_0x1deb5b(0x223)](_0x30b04d);_0x5900ee[_0x1deb5b(0x216)](_0x196ee8,_0x1deb5b(0x18d)),this[_0x1deb5b(0x1f5)][_0x1deb5b(0x208)](_0x1deb5b(0x23e));});}async[_0x5f5dc3(0x1cd)](){const _0x1e2452=_0x5f5dc3;this[_0x1e2452(0x207)]instanceof _0x23b274?this[_0x1e2452(0x25e)](this[_0x1e2452(0x207)]):this[_0x1e2452(0x148)](this[_0x1e2452(0x207)][_0x1e2452(0x240)],_0x1e2452(0x173),(_0xbafef9,_0x3f8c51)=>{const _0x5b8096=_0x1e2452;_0x3f8c51['on'](_0x5b8096(0x1ec),()=>{const _0x4c2a48=_0x5b8096;this[_0x4c2a48(0x25e)](_0x3f8c51);});}),await this[_0x1e2452(0x279)]();}[_0x5f5dc3(0x16c)](_0x30a0eb){const _0x326426=_0x5f5dc3,_0xc7554c=_0x518d08(this[_0x326426(0x207)]);if(!_0xc7554c[_0x326426(0x20f)][_0x326426(0x252)](_0x326426(0x1c0)))throw new _0x5cc404(_0x326426(0x19f),null);const _0x2d21c6=this[_0x326426(0x207)][_0x326426(0x20f)][_0x326426(0x28a)](_0x326426(0x20d)),{reply:_0x37a585,interaction:_0x56fb7e}=this[_0x326426(0x223)](_0x30a0eb[_0x326426(0x191)]),_0x2875f1=this[_0x326426(0x241)](_0x30a0eb[_0x326426(0x191)],_0x30a0eb[_0x326426(0x21c)]),_0xc1787a=void 0x0!==_0x30a0eb[_0x326426(0x21c)]?[_0x37a585[_0x326426(0x289)][_0x30a0eb[_0x326426(0x21c)]]]:_0x37a585[_0x326426(0x289)][_0x326426(0x226)](_0x41f7c6=>_0x326426(0x217)==_0x41f7c6[_0x326426(0x276)]),_0x4b22b6=_0xc1787a[_0x326426(0x137)](_0xc42df3=>_0x37a585[_0x326426(0x289)][_0x326426(0x284)](_0xc42df3));if(!_0x2875f1||_0x326426(0x281)==_0x2875f1[_0x326426(0x272)][_0x326426(0x1f9)][_0x326426(0x253)])return void _0x4b22b6[_0x326426(0x21e)](_0x3bec23=>_0x37a585[_0x326426(0x216)](_0x3bec23,_0x326426(0x1fb)));_0x4b22b6[_0x326426(0x21e)](_0x296bd1=>_0x37a585[_0x326426(0x216)](_0x296bd1,_0x326426(0x1d1)));const _0x32f6b2=_0x2a6de2({'editor':_0xc7554c,'reply':_0x37a585,'interaction':_0x56fb7e,'groups':_0xc1787a,'transform':!0x0,'documentCompare':_0x2d21c6,'documentCompareOptions':{'anchor':_0x326426(0x210),'markDeletions':!0x0}});let _0x5e9924;_0x2875f1&&this[_0x326426(0x1d0)](_0x2875f1[_0x326426(0x272)]),_0xc7554c[_0x326426(0x28c)][_0x326426(0x1fe)](_0x4acf07=>{const _0xd9c60=_0x326426;_0x5e9924=_0x4acf07[_0xd9c60(0x27c)],_0xc7554c[_0xd9c60(0x20f)][_0xd9c60(0x28a)](_0xd9c60(0x251))[_0xd9c60(0x194)](_0x32f6b2),this[_0xd9c60(0x1f5)][_0xd9c60(0x208)](_0xd9c60(0x23e));}),this[_0x326426(0x262)][_0x326426(0x25f)](_0x5e9924,{'interactionId':_0x56fb7e['id'],'replyId':_0x37a585['id'],'indexes':_0x4b22b6[_0x326426(0x237)]()}),this[_0x326426(0x125)](_0x37a585);}[_0x5f5dc3(0x1af)](_0x23029a){const _0x9f4120=_0x5f5dc3,_0x201bfd=_0x518d08(this[_0x9f4120(0x207)]),_0x3e750f=this[_0x9f4120(0x207)][_0x9f4120(0x20f)][_0x9f4120(0x28a)](_0x11862a),{reply:_0x5f5e8d,interaction:_0x4e0577}=this[_0x9f4120(0x223)](_0x23029a[_0x9f4120(0x191)]),_0x2b260d=this[_0x9f4120(0x241)](_0x23029a[_0x9f4120(0x191)],_0x23029a[_0x9f4120(0x21c)]),_0x229225=void 0x0!==_0x23029a[_0x9f4120(0x21c)]?[_0x5f5e8d[_0x9f4120(0x289)][_0x23029a[_0x9f4120(0x21c)]]]:_0x5f5e8d[_0x9f4120(0x289)][_0x9f4120(0x226)](_0x5e90bf=>_0x9f4120(0x217)==_0x5e90bf[_0x9f4120(0x276)]),_0x32d5a5=_0x229225[_0x9f4120(0x137)](_0x15b419=>_0x5f5e8d[_0x9f4120(0x289)][_0x9f4120(0x284)](_0x15b419));if(!_0x2b260d||_0x9f4120(0x281)==_0x2b260d[_0x9f4120(0x272)][_0x9f4120(0x1f9)][_0x9f4120(0x253)])return void _0x32d5a5[_0x9f4120(0x21e)](_0x1a330d=>_0x5f5e8d[_0x9f4120(0x216)](_0x1a330d,_0x9f4120(0x1fb)));_0x32d5a5[_0x9f4120(0x21e)](_0x4d434c=>_0x5f5e8d[_0x9f4120(0x216)](_0x4d434c,_0x9f4120(0x1d1)));const _0x40a36f=_0x2a6de2({'editor':_0x201bfd,'reply':_0x5f5e8d,'interaction':_0x4e0577,'groups':_0x229225,'transform':!0x0,'documentCompare':_0x3e750f,'documentCompareOptions':{'anchor':_0x9f4120(0x210),'markDeletions':!0x1}});let _0xf1e8b3;_0x2b260d&&this[_0x9f4120(0x1d0)](_0x2b260d[_0x9f4120(0x272)]),_0x201bfd[_0x9f4120(0x28c)][_0x9f4120(0x1fe)](_0xbf8d08=>{const _0x1ed228=_0x9f4120;_0xf1e8b3=_0xbf8d08[_0x1ed228(0x27c)];for(const _0xcf412a of _0x40a36f)_0xcf412a[_0x1ed228(0x13f)]=_0x201bfd[_0x1ed228(0x28c)][_0x1ed228(0x1f4)][_0x1ed228(0x20b)],_0xbff3df(_0x201bfd,_0xcf412a),_0xbf8d08[_0x1ed228(0x27c)][_0x1ed228(0x260)](_0xcf412a),_0x201bfd[_0x1ed228(0x28c)][_0x1ed228(0x139)](_0xcf412a);}),this[_0x9f4120(0x262)][_0x9f4120(0x25f)](_0xf1e8b3,{'interactionId':_0x4e0577['id'],'replyId':_0x5f5e8d['id'],'indexes':_0x32d5a5[_0x9f4120(0x237)]()}),this[_0x9f4120(0x125)](_0x5f5e8d);}[_0x5f5dc3(0x273)](_0x35c524,_0x1e9c8a){const _0x35f1d3=_0x5f5dc3,_0x1dd813=_0x518d08(this[_0x35f1d3(0x207)]),_0x1d2fbc=this[_0x35f1d3(0x241)](_0x35c524,_0x1e9c8a),_0x506934=this[_0x35f1d3(0x207)][_0x35f1d3(0x20f)][_0x35f1d3(0x28a)](_0x864511);if(!_0x1d2fbc)return void _0x506934[_0x35f1d3(0x19e)]();const {range:_0x464a71,currentIndex:_0x22206e}=_0x1d2fbc;if(_0x35f1d3(0x281)==_0x464a71[_0x35f1d3(0x1f9)][_0x35f1d3(0x253)]){const {reply:_0x2623ca}=this[_0x35f1d3(0x223)](_0x35c524);return _0x2623ca[_0x35f1d3(0x216)](_0x22206e,_0x35f1d3(0x1fb)),void _0x506934[_0x35f1d3(0x19e)]();}if(this[_0x35f1d3(0x1ff)]?.[_0x35f1d3(0x191)]==_0x35c524&&this[_0x35f1d3(0x1ff)]?.[_0x35f1d3(0x21c)]==_0x22206e)return;this[_0x35f1d3(0x1a5)](_0x506934),this[_0x35f1d3(0x1ff)]={'replyId':_0x35c524,'partIndex':_0x22206e};let _0x342c2f=_0x1dd813[_0x35f1d3(0x140)][_0x35f1d3(0x28a)](_0x35f1d3(0x1c4))||[..._0x555b82];_0x1dd813[_0x35f1d3(0x20f)][_0x35f1d3(0x252)](_0x35f1d3(0x1c0))||(_0x342c2f=_0x342c2f[_0x35f1d3(0x226)](_0x342440=>_0x35f1d3(0x232)!=_0x342440));const _0x54c5c1=new _0x307d7c(_0x1dd813[_0x35f1d3(0x16e)],{'showDiff':this[_0x35f1d3(0x224)],'areActionsDisabled':!0x1,'miniToolbarConfig':{'showChanges':_0x35f1d3(0x283)},'hideHeader':!0x0,'availableActions':_0x342c2f});this[_0x35f1d3(0x1a5)](_0x54c5c1);const {reply:_0x2e77c0}=this[_0x35f1d3(0x223)](_0x35c524),_0x3d4eda=_0x2e77c0[_0x35f1d3(0x287)]({'showDiff':this[_0x35f1d3(0x224)]})[_0x35f1d3(0x226)](_0x5040ec=>_0x5040ec[_0x35f1d3(0x27d)]),_0xde1add=_0x3d4eda[_0x35f1d3(0x1de)](_0x50ed56=>_0x50ed56[_0x35f1d3(0x14c)]==_0x22206e);if(-0x1==_0xde1add)return;const _0x685e72=_0x3d4eda[_0xde1add],_0x2b4d4a=_0x3d4eda['at']((_0xde1add-0x1)%_0x3d4eda[_0x35f1d3(0x15e)])?.[_0x35f1d3(0x14c)],_0x1f4ee9=_0x3d4eda['at']((_0xde1add+0x1)%_0x3d4eda[_0x35f1d3(0x15e)])?.[_0x35f1d3(0x14c)];_0x54c5c1[_0x35f1d3(0x242)]({'parts':[_0x685e72],'renderingStrategy':_0x35f1d3(0x269)});const _0x455e52=_0x22206e!==_0x2b4d4a;this[_0x35f1d3(0x1d0)](_0x464a71,!0x0),_0x506934[_0x35f1d3(0x1ab)]({'index':_0x22206e,'title':_0x28fa95(this[_0x35f1d3(0x207)][_0x35f1d3(0x16e)],_0x35f1d3(0x12d),(_0xde1add+0x1)[_0x35f1d3(0x233)]()),'icon':_0x97a899,'mainView':_0x54c5c1,'showRotator':_0x455e52,'showApplyButton':!0x0,'showSuggestButton':_0x1dd813[_0x35f1d3(0x20f)][_0x35f1d3(0x252)](_0x35f1d3(0x1c0)),'ranges':[_0x464a71]}),this[_0x35f1d3(0x28b)][_0x35f1d3(0x206)](_0x35c524,_0x22206e),this[_0x35f1d3(0x148)](_0x54c5c1,_0x35f1d3(0x174),(_0x4c69a2,{showDiff:_0x27da96})=>{const _0x7ed794=_0x35f1d3;this[_0x7ed794(0x224)]=_0x27da96;const {reply:_0x4332b4}=this[_0x7ed794(0x223)](_0x35c524),_0x5ad99c=_0x4332b4[_0x7ed794(0x287)]({'showDiff':_0x27da96,'groupIndex':_0x22206e});_0x54c5c1[_0x7ed794(0x242)]({'parts':_0x5ad99c,'renderingStrategy':_0x7ed794(0x269)});}),this[_0x35f1d3(0x148)](_0x506934,_0x35f1d3(0x151),()=>{const _0x1138d8=_0x35f1d3;this[_0x1138d8(0x1af)]({'replyId':_0x35c524,'partIndex':_0x22206e}),_0x455e52?this[_0x1138d8(0x273)](_0x35c524,_0x1f4ee9):_0x506934[_0x1138d8(0x19e)]();}),this[_0x35f1d3(0x148)](_0x506934,_0x35f1d3(0x232),()=>{const _0xed8ae3=_0x35f1d3;this[_0xed8ae3(0x16c)]({'replyId':_0x35c524,'partIndex':_0x22206e}),_0x455e52?this[_0xed8ae3(0x273)](_0x35c524,_0x1f4ee9):_0x506934[_0xed8ae3(0x19e)]();}),_0x455e52&&(this[_0x35f1d3(0x148)](_0x506934,_0x35f1d3(0x165),()=>{const _0x374cd2=_0x35f1d3;this[_0x374cd2(0x273)](_0x35c524,_0x1f4ee9);}),this[_0x35f1d3(0x148)](_0x506934,_0x35f1d3(0x1b1),()=>{const _0x33c673=_0x35f1d3;this[_0x33c673(0x273)](_0x35c524,_0x2b4d4a);})),this[_0x35f1d3(0x148)](_0x506934,_0x35f1d3(0x1c6),()=>{const _0x3a9da3=_0x35f1d3;this[_0x3a9da3(0x1a5)](_0x506934),this[_0x3a9da3(0x1a5)](_0x54c5c1),this[_0x3a9da3(0x1ff)]=null;});}[_0x5f5dc3(0x241)](_0x5479f1,_0xed0c20){const _0x5927d4=_0x5f5dc3,_0x156008=_0x518d08(this[_0x5927d4(0x207)]),{reply:_0x4109b4,interaction:_0x4e914a}=this[_0x5927d4(0x223)](_0x5479f1),_0x57a8a5=_0x4109b4[_0x5927d4(0x289)][_0x5927d4(0x226)](_0x4d3ff9=>_0x5927d4(0x217)==_0x4d3ff9[_0x5927d4(0x276)]),_0x311890=_0x57a8a5[_0x5927d4(0x137)](_0x63d5dc=>_0x4109b4[_0x5927d4(0x289)][_0x5927d4(0x284)](_0x63d5dc));void 0x0===_0xed0c20&&(_0xed0c20=_0x311890[0x0]);const _0x18423c=_0x311890[_0x5927d4(0x284)](_0xed0c20);if(-0x1==_0x18423c)return null;const _0x9250fb=_0x57a8a5[_0x18423c],_0x655395=new _0x533c8a([]),_0x3d19f5=new _0x533c8a([]);for(const _0x107863 of _0x9250fb[_0x5927d4(0x28d)])if(_0x5927d4(0x288)!=_0x107863[_0x5927d4(0x201)]&&_0x3d19f5[_0x5927d4(0x1be)][_0x5927d4(0x1ba)](_0x107863[_0x5927d4(0x176)][_0x5927d4(0x1a1)](!0x0)),_0x5927d4(0x152)!=_0x107863[_0x5927d4(0x201)]){const _0x2ed3f0=_0x3aab3c(_0x446206=>_0x1abf36(_0x446206,_0x5927d4(0x1ae))==_0x107863['id'],_0x4109b4[_0x5927d4(0x1a9)],!0x0);_0x655395[_0x5927d4(0x1be)][_0x5927d4(0x1ba)](_0x2ed3f0[_0x5927d4(0x1a1)](!0x0));}if(0x0==_0x655395[_0x5927d4(0x1be)][_0x5927d4(0x15e)]){if(_0x9250fb[_0x5927d4(0x28d)][0x0][_0x5927d4(0x1a7)]){const _0x2b75d9=_0x3c99c5(_0x5927d4(0x1ae),_0x9250fb[_0x5927d4(0x28d)][0x0][_0x5927d4(0x1a7)],_0x4109b4[_0x5927d4(0x1a9)]);_0x655395[_0x5927d4(0x1be)][_0x5927d4(0x12b)](_0x2b75d9[_0x5927d4(0x1a1)](!0x0)),_0x3d19f5[_0x5927d4(0x1be)][_0x5927d4(0x12b)](_0x2b75d9[_0x5927d4(0x1a1)](!0x0)),_0x2b75d9[_0x5927d4(0x130)]&&(_0x655395[_0x5927d4(0x1be)][_0x5927d4(0x1ba)](_0x2b75d9[_0x5927d4(0x130)][_0x5927d4(0x1a1)](!0x0)),_0x3d19f5[_0x5927d4(0x1be)][_0x5927d4(0x1ba)](_0x2b75d9[_0x5927d4(0x130)][_0x5927d4(0x1a1)](!0x0)));}else{const _0x22bf8f=_0x4109b4[_0x5927d4(0x1a9)][_0x5927d4(0x1be)][0x0];if(!_0x22bf8f)return null;_0x655395[_0x5927d4(0x1be)][_0x5927d4(0x1ba)](_0x22bf8f[_0x5927d4(0x1a1)](!0x0)),_0x3d19f5[_0x5927d4(0x1be)][_0x5927d4(0x1ba)](_0x22bf8f[_0x5927d4(0x1a1)](!0x0));}}const _0x2c4a7c=_0x4e914a[_0x5927d4(0x245)](),_0x58d48b=_0x156008[_0x5927d4(0x1fa)][_0x5927d4(0x18f)](_0x2c4a7c[_0x5927d4(0x1d4)]),_0x1f725d=_0x3e6850(_0x655395),_0x2aa9e1=_0x156008[_0x5927d4(0x1fa)][_0x5927d4(0x18f)](_0x1f725d),_0x22a2cb=_0x156008[_0x5927d4(0x1fa)][_0x5927d4(0x18f)](_0x1f725d),_0xbc0f6=_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x1c5)](_0x2aa9e1,0x0),_0x39be8a=_0x3e6850(_0x3d19f5),_0x5985f0={'anchor':_0xbc0f6,'markDeletions':!0x1},_0x1260ce=_0x156008[_0x5927d4(0x20f)][_0x5927d4(0x28a)](_0x11862a)[_0x5927d4(0x182)](_0x1f725d,_0x39be8a,_0x5985f0)[_0x5927d4(0x23a)]();if(!_0x1260ce[_0x5927d4(0x15e)])return null;_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x1fe)](_0x35470e=>{const _0x2a1adc=_0x5927d4;for(const _0x13b649 of _0x1260ce)if(_0x2a1adc(0x227)==_0x13b649[_0x2a1adc(0x201)]){const _0x4b582d=_0x13b649[_0x2a1adc(0x15d)],_0x50722a=_0x13b649[_0x2a1adc(0x24f)],_0x4130e9=new _0x414068(_0x4b582d,_0x50722a);_0x35470e[_0x2a1adc(0x27c)][_0x2a1adc(0x260)](_0x4130e9),_0x156008[_0x2a1adc(0x28c)][_0x2a1adc(0x139)](_0x4130e9);}else _0x2a1adc(0x18b)!==_0x13b649[_0x2a1adc(0x201)]&&(_0x13b649[_0x2a1adc(0x13f)]=null,_0x13b649[_0x2a1adc(0x27a)]=!0x1,_0x35470e[_0x2a1adc(0x27c)][_0x2a1adc(0x260)](_0x13b649),_0x156008[_0x2a1adc(0x28c)][_0x2a1adc(0x139)](_0x13b649));});const _0x1888b8=_0x349bed(_0x156008,_0x1260ce,_0x2aa9e1);_0x18a23d(_0x156008[_0x5927d4(0x28c)],_0x1888b8);const _0x19586d=_0x1888b8[_0x5927d4(0x1a0)]()[_0x5927d4(0x213)][_0x5927d4(0x127)][_0x5927d4(0x237)](),_0xe4fbf5=_0x1888b8[_0x5927d4(0x1a0)]()[_0x5927d4(0x156)][_0x5927d4(0x127)][_0x5927d4(0x237)](),_0x5eebba=[];let _0x1b5a1c=_0x2aa9e1,_0x40cc12=_0x22a2cb;for(let _0x1215a0=0x0;_0x1215a0<_0xe4fbf5[_0x5927d4(0x15e)];_0x1215a0++){const _0x34c875=_0x1b5a1c[_0x5927d4(0x175)]-_0xe4fbf5[_0x1215a0];_0x5eebba[_0x1215a0]=_0x40cc12[_0x5927d4(0x175)]-_0x34c875,_0x1b5a1c=_0x1b5a1c[_0x5927d4(0x203)](_0xe4fbf5[_0x1215a0]),_0x40cc12=_0x40cc12[_0x5927d4(0x203)](_0x5eebba[_0x1215a0]);}const _0x5c0639=_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x142)](_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x1a8)](_0x22a2cb,_0x19586d),_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x1a8)](_0x22a2cb,_0x5eebba)),_0x3cc179=_0x22a2cb[_0x5927d4(0x12c)](0x0)[_0x5927d4(0x1e2)](_0x3d2679),_0x433edc=Array[_0x5927d4(0x13e)](_0x58d48b[_0x5927d4(0x271)]())[_0x5927d4(0x1c8)](_0x275fbf=>_0x275fbf[_0x5927d4(0x1e2)](_0x3d2679)==_0x3cc179)[_0x5927d4(0x17b)](),_0x4c78c5=_0x5c0639[_0x5927d4(0x213)][_0x5927d4(0x127)][_0x5927d4(0x237)](),_0x3feb0c=_0x5c0639[_0x5927d4(0x156)][_0x5927d4(0x127)][_0x5927d4(0x237)]();_0x4c78c5[0x0]=_0x433edc[0x0]+_0x4c78c5[0x0],_0x3feb0c[0x0]=_0x433edc[0x0]+_0x3feb0c[0x0];let _0x560b16=_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x142)](_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x1a8)](_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x1f4)][_0x5927d4(0x25a)](),_0x4c78c5),_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x1a8)](_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x1f4)][_0x5927d4(0x25a)](),_0x3feb0c));const _0x2c4899=_0x156008[_0x5927d4(0x28c)][_0x5927d4(0x1f4)][_0x5927d4(0x1e6)][_0x5927d4(0x23a)](_0x2c4a7c[_0x5927d4(0x20b)]);for(const _0x11a38f of _0x2c4899)_0x560b16=_0x33df60[_0x5927d4(0x14b)](_0x560b16[_0x5927d4(0x229)](_0x11a38f));return{'range':_0x560b16,'currentIndex':_0xed0c20};}[_0x5f5dc3(0x25e)](_0x88a4cc){const _0x49222d=_0x5f5dc3;if(!_0x88a4cc[_0x49222d(0x20f)][_0x49222d(0x252)](_0x49222d(0x1aa)))return;const _0x4064e5=_0x88a4cc[_0x49222d(0x1c9)][_0x49222d(0x28a)](_0x49222d(0x19c)),_0x4ea497=_0x88a4cc[_0x49222d(0x1c9)][_0x49222d(0x28a)](_0x49222d(0x1f3));this[_0x49222d(0x148)](_0x4064e5,_0x49222d(0x1cf),(_0x502a61,_0x195732,_0x19cc31)=>{const _0x343d8c=_0x49222d,_0xb6e53d=this[_0x343d8c(0x262)][_0x343d8c(0x28a)](_0x195732);if(!_0xb6e53d)return;const _0x470ce5=this[_0x343d8c(0x238)][_0x343d8c(0x263)](_0xb6e53d[_0x343d8c(0x1eb)])[_0x343d8c(0x1d5)](_0xb6e53d[_0x343d8c(0x191)]);_0xb6e53d[_0x343d8c(0x188)][_0x343d8c(0x21e)](_0x5c5a7e=>_0x470ce5[_0x343d8c(0x216)](_0x5c5a7e,_0x343d8c(0x217))),this[_0x343d8c(0x262)][_0x343d8c(0x26b)](_0x195732),this[_0x343d8c(0x262)][_0x343d8c(0x25f)](_0x19cc31,_0xb6e53d);}),this[_0x49222d(0x148)](_0x4ea497,_0x49222d(0x1cf),(_0x31e405,_0x4abfd5,_0x2e396b)=>{const _0x407d1c=_0x49222d,_0x4b21bc=this[_0x407d1c(0x262)][_0x407d1c(0x28a)](_0x4abfd5);if(!_0x4b21bc)return;const _0x5c0437=this[_0x407d1c(0x238)][_0x407d1c(0x263)](_0x4b21bc[_0x407d1c(0x1eb)])[_0x407d1c(0x1d5)](_0x4b21bc[_0x407d1c(0x191)]);_0x4b21bc[_0x407d1c(0x188)][_0x407d1c(0x21e)](_0xdb6df1=>_0x5c0437[_0x407d1c(0x216)](_0xdb6df1,_0x407d1c(0x1d1))),this[_0x407d1c(0x262)][_0x407d1c(0x26b)](_0x4abfd5),this[_0x407d1c(0x262)][_0x407d1c(0x25f)](_0x2e396b,_0x4b21bc);});}async[_0x5f5dc3(0x1bc)](_0x42ea83){const _0x4b1144=_0x5f5dc3;this[_0x4b1144(0x207)][_0x4b1144(0x20f)][_0x4b1144(0x28a)](_0x864511)[_0x4b1144(0x19e)](),this[_0x4b1144(0x28b)][_0x4b1144(0x250)](_0x4b1144(0x269)),this[_0x4b1144(0x28b)][_0x4b1144(0x275)](!0x0),await this[_0x4b1144(0x23c)]();try{await this[_0x4b1144(0x124)][_0x4b1144(0x267)](_0x42ea83)[_0x4b1144(0x246)](),await this[_0x4b1144(0x279)](_0x42ea83),this[_0x4b1144(0x19d)]('\x20');const {sessionId:_0x4a097b}=this[_0x4b1144(0x1f5)][_0x4b1144(0x123)]();await this[_0x4b1144(0x238)][_0x4b1144(0x199)](_0x42ea83,_0x4a097b),this[_0x4b1144(0x238)][_0x4b1144(0x212)]()&&this[_0x4b1144(0x238)][_0x4b1144(0x205)](_0x28fa95(this[_0x4b1144(0x207)][_0x4b1144(0x16e)],_0x4b1144(0x18c)));}catch(_0x36839c){this[_0x4b1144(0x28b)][_0x4b1144(0x219)]({'errorMessage':_0x28fa95(this[_0x4b1144(0x207)][_0x4b1144(0x16e)],_0x4b1144(0x215)),'id':_0x42ea83}),this[_0x4b1144(0x20e)](new _0x5cc404(_0x4b1144(0x1d3),this,{'error':_0x36839c}));}finally{this[_0x4b1144(0x207)][_0x4b1144(0x20f)][_0x4b1144(0x28a)](_0x33adb1)[_0x4b1144(0x1da)][_0x4b1144(0x131)](_0x4b1144(0x255)),this[_0x4b1144(0x28b)][_0x4b1144(0x153)](),this[_0x4b1144(0x28b)][_0x4b1144(0x250)](_0x4b1144(0x1e1)),this[_0x4b1144(0x28b)][_0x4b1144(0x275)](!0x1);}}[_0x5f5dc3(0x1d7)](_0x10db5a){const _0x5d0d8a=_0x5f5dc3;this[_0x5d0d8a(0x238)]['id']===_0x10db5a&&this[_0x5d0d8a(0x279)]();}async[_0x5f5dc3(0x161)](){const _0x48162a=_0x5f5dc3,_0x2a34e9=this[_0x48162a(0x1f5)][_0x48162a(0x17a)]();this[_0x48162a(0x238)]?.[_0x48162a(0x1a3)](_0x2a34e9),this[_0x48162a(0x238)]?.[_0x48162a(0x205)](_0x28fa95(this[_0x48162a(0x207)][_0x48162a(0x16e)],_0x48162a(0x18c)));}[_0x5f5dc3(0x1e3)](){const _0x28f2b1=_0x5f5dc3;this[_0x28f2b1(0x238)]?.[_0x28f2b1(0x177)]();}[_0x5f5dc3(0x17c)](){const _0x2340df=_0x5f5dc3;this[_0x2340df(0x28b)][_0x2340df(0x17c)]();}async[_0x5f5dc3(0x13d)](){const _0x51f97d=_0x5f5dc3;await this[_0x51f97d(0x279)]();}async[_0x5f5dc3(0x1c3)]({message:_0x19017a,quickActionData:_0x4dd3e6}){const _0x4a6644=_0x5f5dc3;await this[_0x4a6644(0x171)]({'userMessage':_0x19017a,'quickActionData':_0x4dd3e6});}[_0x5f5dc3(0x1bd)](){const _0x58ecea=_0x5f5dc3,_0x39f6c9=this[_0x58ecea(0x207)][_0x58ecea(0x140)][_0x58ecea(0x28a)](_0x58ecea(0x26c));if(!_0x39f6c9)throw new _0x5cc404(_0x58ecea(0x265),this);return _0x39f6c9;}async[_0x5f5dc3(0x279)](_0x515afb){const _0x25f59d=_0x5f5dc3;try{this[_0x25f59d(0x28b)][_0x25f59d(0x192)](),await this[_0x25f59d(0x261)](_0x515afb);}catch(_0x13e8e6){this[_0x25f59d(0x28b)][_0x25f59d(0x219)]({'errorMessage':_0x28fa95(this[_0x25f59d(0x207)][_0x25f59d(0x16e)],_0x25f59d(0x16a)),'id':_0x515afb||_0x1582f1()}),console[_0x25f59d(0x264)](_0x13e8e6),this[_0x25f59d(0x238)]=void 0x0,this[_0x25f59d(0x28b)][_0x25f59d(0x145)]();}}async[_0x5f5dc3(0x261)](_0x1a9fda){const _0x56e441=_0x5f5dc3,_0x1dca9a=this[_0x56e441(0x207)][_0x56e441(0x20f)][_0x56e441(0x28a)](_0x864511);let _0x1e3e71;_0x1dca9a[_0x56e441(0x128)]&&_0x1dca9a[_0x56e441(0x19e)](),_0x1a9fda||!this[_0x56e441(0x238)]?_0x1e3e71=this[_0x56e441(0x207)][_0x56e441(0x140)][_0x56e441(0x28a)](_0x56e441(0x1ed)):this[_0x56e441(0x28b)][_0x56e441(0x1e9)]&&(_0x1e3e71=this[_0x56e441(0x238)][_0x56e441(0x280)]['id']),await this[_0x56e441(0x23c)]();const _0x57ead3=this[_0x56e441(0x1bd)](),_0x269667=_0x1a9fda||_0x1582f1();this[_0x56e441(0x238)]=new _0x47f28f({'connector':this[_0x56e441(0x124)],'chatModels':this[_0x56e441(0x1bb)],'selectedModelId':_0x1e3e71,'conversationId':_0x269667,'group':_0x57ead3,'getEditor':()=>_0x518d08(this[_0x56e441(0x207)])}),this[_0x56e441(0x238)]['on'](_0x56e441(0x27f),(_0x2664eb,_0x1b37e5)=>{const _0x28cefc=_0x56e441;this[_0x28cefc(0x28b)][_0x28cefc(0x126)](_0x1b37e5),this[_0x28cefc(0x28b)][_0x28cefc(0x1b3)](),this[_0x28cefc(0x28b)][_0x28cefc(0x25d)](),this[_0x28cefc(0x28b)][_0x28cefc(0x168)](),_0x1a9fda||(this[_0x28cefc(0x28b)][_0x28cefc(0x1c1)](),this[_0x28cefc(0x238)]?.[_0x28cefc(0x205)](_0x28fa95(this[_0x28cefc(0x207)][_0x28cefc(0x16e)],_0x28cefc(0x18c))));}),this[_0x56e441(0x238)]['on'](_0x56e441(0x13a),(_0x3b0255,_0x34790b)=>{const _0x38d76d=_0x56e441;this[_0x38d76d(0x28b)][_0x38d76d(0x1e0)](_0x34790b[_0x38d76d(0x18a)]);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x1f7),(_0x37bf91,_0x8e7ceb)=>{const _0x448f7d=_0x56e441;this[_0x448f7d(0x28b)][_0x448f7d(0x254)](_0x8e7ceb);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x19a),()=>{const _0x557aa0=_0x56e441;this[_0x557aa0(0x28b)][_0x557aa0(0x25b)]({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x56e441(0x238)]['on'](_0x56e441(0x167),()=>{const _0x5b0764=_0x56e441;this[_0x5b0764(0x28b)][_0x5b0764(0x25b)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x56e441(0x238)]['on'](_0x56e441(0x1a4),(_0x239ed2,_0x4a7850)=>{const _0x901069=_0x56e441;this[_0x901069(0x28b)][_0x901069(0x149)](_0x4a7850,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x56e441(0x238)]['on'](_0x56e441(0x277),(_0x22701a,_0x4c3add)=>{const _0x3f4f08=_0x56e441;this[_0x3f4f08(0x28b)][_0x3f4f08(0x149)](_0x4c3add,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x56e441(0x238)]['on'](_0x56e441(0x249),()=>{const _0x4e2d61=_0x56e441;this[_0x4e2d61(0x28b)][_0x4e2d61(0x1c7)]();}),this[_0x56e441(0x238)]['on'](_0x56e441(0x144),async()=>{const _0x538ef4=_0x56e441;await this[_0x538ef4(0x28b)][_0x538ef4(0x1f1)]();}),this[_0x56e441(0x238)]['on'](_0x56e441(0x27b),(_0x538f7c,_0x25116f)=>{const _0x277258=_0x56e441;this[_0x277258(0x28b)][_0x277258(0x1f6)](_0x25116f['id']);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x193),(_0x2b9c3b,_0x37fc97,_0x4e0f85)=>{const _0x3c64d5=_0x56e441;this[_0x3c64d5(0x19d)](_0x37fc97,_0x4e0f85);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x170),(_0x2e2975,_0x853569)=>{const _0x31266a=_0x56e441;_0x31266a(0x185)===_0x853569[_0x31266a(0x201)]?this[_0x31266a(0x28b)][_0x31266a(0x1ef)](_0x853569):this[_0x31266a(0x28b)][_0x31266a(0x12a)](_0x853569);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x1ea),async(_0x477adf,_0x583571)=>{const _0x4d0c02=_0x56e441;await this[_0x4d0c02(0x209)]({'reply':_0x583571});}),this[_0x56e441(0x238)]['on'](_0x56e441(0x286),(_0x1939ee,{reply:_0x27acf6,index:_0x4f5803,state:_0x1913e2})=>{const _0x52980e=_0x56e441;this[_0x52980e(0x28b)][_0x52980e(0x197)]({'id':_0x27acf6['id'],'index':_0x4f5803,'state':_0x1913e2});}),this[_0x56e441(0x238)]['on'](_0x56e441(0x1d8),(_0x3a269f,_0x4d5295)=>{const _0x3c0b68=_0x56e441;if(this[_0x3c0b68(0x28b)][_0x3c0b68(0x20c)](_0x4d5295[_0x3c0b68(0x244)],_0x4d5295[_0x3c0b68(0x259)]),_0x3c0b68(0x178)===_0x4d5295[_0x3c0b68(0x244)][_0x3c0b68(0x201)]){const _0x4af833=[..._0x518d08(this[_0x3c0b68(0x207)])[_0x3c0b68(0x28c)][_0x3c0b68(0x1f4)][_0x3c0b68(0x178)][_0x3c0b68(0x236)]()];this[_0x3c0b68(0x1f5)][_0x3c0b68(0x26d)](_0x4af833,_0x3c0b68(0x1b6)+this[_0x3c0b68(0x238)]?.['id']);}}),this[_0x56e441(0x238)]['on'](_0x56e441(0x23d),(_0x8e20e0,_0x288892)=>{const _0x2c85a7=_0x56e441;this[_0x2c85a7(0x28b)][_0x2c85a7(0x186)](_0x288892[_0x2c85a7(0x248)]),_0x2c85a7(0x1df)==_0x288892[_0x2c85a7(0x248)]&&this[_0x2c85a7(0x1e3)](),_0x2c85a7(0x178)===_0x288892[_0x2c85a7(0x201)]&&this[_0x2c85a7(0x1f5)][_0x2c85a7(0x208)](_0x2c85a7(0x1b6)+this[_0x2c85a7(0x238)]?.['id']);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x1c2),(_0x24e15d,_0x2ed11b)=>{const _0x1b097f=_0x56e441;this[_0x1b097f(0x28b)][_0x1b097f(0x243)](_0x2ed11b[_0x1b097f(0x244)][_0x1b097f(0x248)],_0x2ed11b[_0x1b097f(0x259)]);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x150),(_0x35963e,_0x439e91)=>{const _0x106a4e=_0x56e441;this[_0x106a4e(0x28b)][_0x106a4e(0x22b)](_0x439e91[_0x106a4e(0x158)]);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x1b9),(_0x2879ba,_0x11ab69)=>{const _0x1b7c7b=_0x56e441;this[_0x1b7c7b(0x28b)][_0x1b7c7b(0x27e)](_0x11ab69[_0x1b7c7b(0x214)]);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x1cb),(_0x1485e6,_0x17d2c2)=>{const _0x2f1f1a=_0x56e441;this[_0x2f1f1a(0x28b)][_0x2f1f1a(0x256)](_0x17d2c2[_0x2f1f1a(0x159)],_0x17d2c2[_0x2f1f1a(0x24e)],_0x17d2c2[_0x2f1f1a(0x12f)],_0x17d2c2[_0x2f1f1a(0x228)]);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x198),(_0x408234,_0x459d0a)=>{const _0x2a1f33=_0x56e441;this[_0x2a1f33(0x28b)][_0x2a1f33(0x22d)](_0x459d0a[_0x2a1f33(0x159)],_0x459d0a[_0x2a1f33(0x1ac)],_0x459d0a[_0x2a1f33(0x26f)]);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x1d9),(_0x421cf0,_0x58b59c)=>{const _0x30bfa6=_0x56e441;this[_0x30bfa6(0x28b)][_0x30bfa6(0x1b0)](_0x58b59c);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x24b),(_0x373162,_0x1919c1)=>{const _0x1ac0af=_0x56e441;this[_0x1ac0af(0x28b)][_0x1ac0af(0x146)](_0x1919c1[_0x1ac0af(0x280)],_0x1919c1[_0x1ac0af(0x221)]);}),this[_0x56e441(0x238)]['on'](_0x56e441(0x264),(_0x3df867,{error:_0x786ff4,interactionId:_0x514022,fileName:_0x54a74a,url:_0x3fc5f0,sourceId:_0xdd3d97,sourceLabel:_0x8cfd4d})=>{const _0x5b0181=_0x56e441,_0x4141a0=_0x514022?_0x514022+':'+_0x1582f1():_0x1582f1();_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x204))?this[_0x5b0181(0x28b)][_0x5b0181(0x24a)]({'staticMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x184)),'id':_0x4141a0}):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x247))||_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x19b))?(this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x16a)),'id':_0x4141a0}),this[_0x5b0181(0x20e)](_0x786ff4)):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x196))?this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x147),_0x54a74a),'id':_0x4141a0}):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x1f8))?this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x160),_0x3fc5f0),'id':_0x4141a0}):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x18e))?this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x135)),'id':_0x4141a0}):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x14d))?this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x1b8)),'id':_0x4141a0}):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x17f))?(_0xdd3d97&&this[_0x5b0181(0x28b)][_0x5b0181(0x14a)](_0xdd3d97),this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x1ca),_0x8cfd4d||_0x5b0181(0x24e)),'id':_0x4141a0}),this[_0x5b0181(0x20e)](_0x786ff4)):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x1ce))?(this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x1ee)),'id':_0x4141a0}),this[_0x5b0181(0x20e)](_0x786ff4)):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x234))?(this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x1cc)),'id':_0x4141a0}),this[_0x5b0181(0x20e)](_0x786ff4)):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x285))?(this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x166)),'id':_0x4141a0}),this[_0x5b0181(0x20e)](_0x786ff4)):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x16d))?(this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x222)),'id':_0x4141a0}),this[_0x5b0181(0x20e)](_0x786ff4)):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x136))?(this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x25c)),'id':_0x4141a0}),this[_0x5b0181(0x20e)](_0x786ff4)):_0x786ff4[_0x5b0181(0x13b)][_0x5b0181(0x172)](_0x5b0181(0x183))?(this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x1db)),'id':_0x4141a0}),this[_0x5b0181(0x20e)](_0x786ff4)):(this[_0x5b0181(0x28b)][_0x5b0181(0x219)]({'errorMessage':_0x28fa95(this[_0x5b0181(0x207)][_0x5b0181(0x16e)],_0x5b0181(0x164)),'id':_0x4141a0}),this[_0x5b0181(0x20e)](_0x786ff4));}),await this[_0x56e441(0x238)][_0x56e441(0x181)](this[_0x56e441(0x207)][_0x56e441(0x140)][_0x56e441(0x28a)](_0x56e441(0x26e))),_0x1a9fda||await this[_0x56e441(0x238)][_0x56e441(0x213)]();}async[_0x5f5dc3(0x171)]({userMessage:_0x10d91f,quickActionData:_0x1d0580}){const _0x254dde=_0x5f5dc3;if(!this[_0x254dde(0x238)])throw new _0x5cc404(_0x254dde(0x23f));this[_0x254dde(0x238)][_0x254dde(0x129)]()&&await this[_0x254dde(0x238)][_0x254dde(0x22f)](this[_0x254dde(0x1f5)][_0x254dde(0x123)]()),this[_0x254dde(0x238)]['id']&&this[_0x254dde(0x238)][_0x254dde(0x155)]&&await this[_0x254dde(0x238)][_0x254dde(0x1b5)]({'userMessage':_0x10d91f,'quickActionData':_0x1d0580}),this[_0x254dde(0x274)]();}[_0x5f5dc3(0x274)](){const _0x34db0c=_0x5f5dc3,_0x19cb51=_0x518d08(this[_0x34db0c(0x207)])[_0x34db0c(0x28c)],_0xb0f49=Array[_0x34db0c(0x13e)](_0x19cb51[_0x34db0c(0x200)][_0x34db0c(0x15a)](_0xedcbfe));_0x19cb51[_0x34db0c(0x1fe)](_0x1da632=>{const _0x2d04f5=_0x34db0c;_0xb0f49[_0x2d04f5(0x21e)](_0x3089c5=>_0x1da632[_0x2d04f5(0x20a)](_0x3089c5));});}[_0x5f5dc3(0x1f2)](){const _0x5856dc=_0x5f5dc3;console[_0x5856dc(0x1d6)](_0x5856dc(0x202));}[_0x5f5dc3(0x278)](_0x20a4c0){const _0x50102a=_0x5f5dc3;this[_0x50102a(0x28b)][_0x50102a(0x22e)](_0x20a4c0);}[_0x5f5dc3(0x20e)](_0x328852){const _0x25c97b=_0x5f5dc3;_0x2cf3bc(_0x328852[_0x25c97b(0x13b)]);}[_0x5f5dc3(0x1bf)](_0x5077b8){const _0x3b5589=_0x5f5dc3;this[_0x3b5589(0x238)]?.[_0x3b5589(0x1b4)](_0x5077b8);}[_0x5f5dc3(0x1a6)](){const _0x1468a9=_0x5f5dc3;this[_0x1468a9(0x238)]?.[_0x1468a9(0x133)]();}[_0x5f5dc3(0x282)](){const _0x3ad51b=_0x5f5dc3;this[_0x3ad51b(0x238)]?.[_0x3ad51b(0x132)]();}[_0x5f5dc3(0x223)](_0x3bb4bb){const _0x5d33e1=_0x5f5dc3,[_0x523c1f,_0x329568]=_0x3bb4bb[_0x5d33e1(0x15f)](':'),_0x117d67=this[_0x5d33e1(0x238)][_0x5d33e1(0x263)](_0x523c1f),_0x23d603=_0x117d67[_0x5d33e1(0x1d5)](_0x329568);return{'interaction':_0x117d67,'reply':_0x23d603};}[_0x5f5dc3(0x1d0)](_0x45250c,_0x54750a=!0x1){const _0x588e5d=_0x5f5dc3,_0x23f127=_0x518d08(this[_0x588e5d(0x207)]),_0xfdda5c={'target':_0x23f127[_0x588e5d(0x21a)][_0x588e5d(0x1da)][_0x588e5d(0x26a)][_0x588e5d(0x270)](_0x23f127[_0x588e5d(0x21a)][_0x588e5d(0x24c)][_0x588e5d(0x230)](_0x45250c)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x54750a};_0x54750a&&(_0xfdda5c[_0x588e5d(0x187)]=!0x0),_0x5dae96(_0xfdda5c);}[_0x5f5dc3(0x19d)](_0xfb1de8,_0x1d4cac=!0x1){const _0x27fe5e=_0x5f5dc3;this[_0x27fe5e(0x28b)][_0x27fe5e(0x193)](_0xfb1de8||_0x28fa95(this[_0x27fe5e(0x207)][_0x27fe5e(0x16e)],_0x27fe5e(0x1f0)),_0x1d4cac);}async[_0x5f5dc3(0x209)]({reply:_0x564250,renderingStrategy:_0x339655}){const _0x382e17=_0x5f5dc3,{id:_0x21c1cc,isDone:_0xdae6ea,type:_0x17e8ea,parsedContent:_0x201dd8}=_0x564250;if(_0x382e17(0x268)===_0x17e8ea){const _0x1fd552=_0x564250[_0x382e17(0x287)]({'showDiff':this[_0x382e17(0x28b)][_0x382e17(0x1ad)]});await this[_0x382e17(0x28b)][_0x382e17(0x190)]({'id':_0x21c1cc,'parts':_0x1fd552,'renderingStrategy':_0x339655,'isDone':_0xdae6ea});}else _0x382e17(0x185)===_0x17e8ea&&await this[_0x382e17(0x28b)][_0x382e17(0x1dd)]({'id':_0x21c1cc,'parsedContent':_0x201dd8,'renderingStrategy':_0x339655,'isDone':_0xdae6ea});_0xdae6ea&&_0x564250[_0x382e17(0x24d)][_0x382e17(0x15e)]>0x0&&this[_0x382e17(0x28b)][_0x382e17(0x1e7)](_0x21c1cc,_0x564250[_0x382e17(0x24d)]);}async[_0x5f5dc3(0x23c)](){const _0x3987b8=_0x5f5dc3,_0x1bf50d=this[_0x3987b8(0x238)]?.[_0x3987b8(0x134)];_0x1bf50d&&(_0x1bf50d[_0x3987b8(0x14f)](),this[_0x3987b8(0x28b)][_0x3987b8(0x28e)](_0x1bf50d));}async[_0x5f5dc3(0x16b)](){const _0x593805=_0x5f5dc3,_0x3170b7=this[_0x593805(0x238)]?.[_0x593805(0x134)];if(_0x3170b7){for await(const _0x214d34 of _0x3170b7[_0x593805(0x195)])await this[_0x593805(0x209)]({'reply':_0x214d34,'renderingStrategy':_0x593805(0x269)});}}[_0x5f5dc3(0x125)](_0x43c5f9){const _0x472717=_0x5f5dc3,_0xc1bfe7={'positiveCount':_0x43c5f9[_0x472717(0x289)][_0x472717(0x226)](_0x52776e=>_0x472717(0x1d1)===_0x52776e[_0x472717(0x276)])[_0x472717(0x15e)],'totalCount':_0x43c5f9[_0x472717(0x289)][_0x472717(0x15e)],'modificationId':_0x43c5f9['id']},_0x431929=this[_0x472717(0x238)][_0x472717(0x263)](_0x43c5f9[_0x472717(0x1eb)])[_0x472717(0x13c)];this[_0x472717(0x124)][_0x472717(0x169)](this[_0x472717(0x238)]['id'],_0x431929,_0xc1bfe7);}}
|
|
23
|
+
const _0x25bc84=_0x2ea0;(function(_0x4b0665,_0x12eb8e){const _0x283110=_0x2ea0,_0xd418ee=_0x4b0665();while(!![]){try{const _0x2615a0=parseInt(_0x283110(0x152))/0x1*(-parseInt(_0x283110(0xf3))/0x2)+parseInt(_0x283110(0x1d8))/0x3+parseInt(_0x283110(0xc5))/0x4*(parseInt(_0x283110(0x9f))/0x5)+-parseInt(_0x283110(0x85))/0x6*(-parseInt(_0x283110(0x76))/0x7)+parseInt(_0x283110(0xc4))/0x8+parseInt(_0x283110(0x16d))/0x9*(-parseInt(_0x283110(0x94))/0xa)+-parseInt(_0x283110(0x148))/0xb;if(_0x2615a0===_0x12eb8e)break;else _0xd418ee['push'](_0xd418ee['shift']());}catch(_0x188a81){_0xd418ee['push'](_0xd418ee['shift']());}}}(_0x5463,0x9829d));import{ContextPlugin as _0x218971,Editor as _0x58403b}from'ckeditor5/src/core.js';import{CKEditorError as _0x2aea12,logError as _0x37699d,scrollViewportToShowTarget as _0x1084ad,uid as _0x2df6a6}from'ckeditor5/src/utils.js';import{AIConnector as _0x43fe7d}from'../aicore/aiconnector.js';import{AITabs as _0x406009}from'../aitabs/aitabs.js';import{AIChatConversation as _0x83be58}from'./model/aichatconversation.js';import{getTranslation as _0x20a620}from'../aicore/utils/common-translations.js';function _0x5463(){const _0x3777e0=['activeConversation','isInContext','length','isPremiumPlugin','rootName','node','setModel','createConversation','ai-request-aborted','content','_updateRatings','reasoningStarted','editing','removeFeedInteraction','_integrateEditor','setIsUploadInProgress','AI_CHAT_GENERIC_ERROR','contextItemAdded','redo','AI_CHAT_RESOURCE_LOAD_FAILED','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','getDiff','createPositionAt','interactionDestroyed','capabilitiesUpdated','ai-chat-invalid-request','showFakeVisualSelection','addFilesToContext','documentContextContent','has','ai-chat-controller-mouse-over','ai-chat-context-unsupported-file-type','$graveyard','removeMarker','_insertSuggestion','root','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','from','marker','applySuggestion','children','cloneNode','handleRemovedConversation','applyOperation','setAddContextOptions','getPath','_aiChatModels','getChildAtOffset','sourceResourcesLoaded','AI_CHAT_ABORTED_MESSAGE','contextItems','source','closeSourceResourceBalloon','change','undo','_openBalloonFor','AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','_getDocumentRangeForReplyChanges','activateTab','_aiConnector','updateFeedItemAIReplySuggestionPartState','setContextItemLoading','data-id','fetchConversation','domConverter','ai-conversation-','outdated','createRange','state','rejected','sourcePosition','selectModel','updateCurrentDocumentInContext','11249612hbXMLB','getInteractionAndReplyById','removeSelectionFromChatContext','collaboration.channelId','main','isUploadInProgress','updateContent','ai-chat-context-unsupported-type','sendUserMessage','Showing\x20conversation\x20history...','316DnwLEL','_batchToChanges','_toggleReasoning','ai-chat-conversation-start-failed','revert','uploadProgressChanged','_logError','delete','isCurrentDocumentInConversation','addContextItem','listenTo','model','batch','ai-chat-resource-load-failed','replyCreated','like','_handleUIUserMessage','disableControls','error','AIConnector','addFeedItemError','AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','new','showPrevious','config','addResourceToContext','split','586422oybWqV','ai.chat.context','setIsMaximized','_aiEditing','accepted','stopInteraction','contextItemRemoved','_aiChatUi','_showConversationHistory','ai-chat-file-upload-failed','interactionCreated','mouseLeaveSuggestion','abortPromptStream','message','_setIsMaximized','_startConversationSafely','conversationInitialized','pending','stop','startInteraction','updateCapabilities','_updateReplyContent','_balloonShowDiff','sendMessage','indexOf','ai-chat-url-upload-failed','plugins','addOperation','addFeedItemStaticMessage','AI_CHAT_UNTITLED_CONVERSATION','uiId','end','ai-chat-context-file-too-many-pages','addDocumentToContext','sourceId','range','webSearchFinished','streaming','setSelectedModel','_flushLastInteractionUI','query','resizedTabs','startsWith','anchorId','view','init','replies','_handleStartConversation','get','getRoot','contextItemLoadingEnded','updateConversationTitle','getAttribute','getSelectionText','populateSourceResourceBalloon','indexes','finishInteraction','resourceId','resource','document','clearConversationContextUI','isModelAvailable','replyId','AI_CHAT_CONTEXT_FILE_TOO_LARGE','ai-chat-context-form-data-size-limits-exceeded','AI_BALLOON_HEADER_TITLE','editors','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','ai.availableReplyActions','nextSibling','updateFeedItemAIReplyContent','_createFromRanges','isStarted','toViewRange','interactionFinished','mapper','loadConversation','scrollFeedToSuggestion','Liked\x20response','ai-chat-missing-channel-id','commands','enableControls','_removeFromContext','howMany','maxOffset','contextItem','ai-no-track-changes','viewRangeToDom','Disliked\x20response','getMarkersGroup','find','webSearchStarted','toggleSuggestionDisplayMode','addUrlToContext','getReply','insertSuggestion','AI_CHAT_UNABLE_TO_START_CONVERSATION','createPositionFromPath','dislike','stopListening','toString','resources','type','ai.chat.models.defaultModelId','_applySuggestion','replyChangeGroupStateUpdated','getDocumentContext','2334717sEShlS','ai-chat-source-resources-load-failed','toggleLoadingSkeleton','forEach','getDocumentData','rejectSuggestion','setConversationContext','replyContentUpdated','options','_applyOperationsAsSuggestions','uid','7GouqiC','addFeedItemUserMessage','AIChatController','getGroupId','clearPendingContextUI','modification-delta','toggleWebSearch','_scrollToSuggestionRange','addFeedInteractionHeader','slice','AI_CHAT_CONTEXT_INVALID_DATA','setFeedItemRenderingStrategy','ai-chat-controller-no-active-conversation','dialogClosed','ai-chat-context-invalid-data','4425978hgObUG','addSelectionToContext','hideFakeVisualSelection','parse','hasChanges','setChangeGroupState','removeSelectionFromContext','_toggleWebSearch','showDiff','getContentParts','getOperations','AITabs','AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','changes','partIndex','10DDlIBZ','map','addFeedItemAISuggestion','reasoningFinished','open','selectedModel','ai.chat.models.displayedModels','messageId','removed','interactionId','text-delta','15CgbQLz','version','AIEditing','path','sources','getTransformedByOperation','interactionStarted','TrackChangesEditing','modelSelected','showChangeInText','chat','data','getRanges','baseVersion','current-document','ai-chat-conversation-init-failed','isDisabled','lastInteraction','findIndex','addFileToContext','log','setLoadingMessage','start','unshift','startConversation','markers','resetMessageInput','_removeAISelectionMarkers','focusPromptInput','isDocumentOperation','_stopLastInteraction','context','filter','getFirstRange','push','ai-chat-conversation-not-found','Undo','4509456NlcHHu','457124HKELBH','alignToTop','mouseOverSuggestion','updateFeedItemAIReplySuggestionContent','TrackChanges','pluginName','index','full','removeFromContext','resizeTabs','getConversation','AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','updateFeedItemAIReplySources','toggleReasoning','locale','ai-chat-context-file-too-large','resetConversationTitle','updateResourceState','changeGroups','AIChatUI','getInteraction','handleUserInteraction','addCurrentDocumentToContext','static','loadSourceResources','ready','isCurrentDocumentInContext','startAutoScroll','getChildren','upsertAIChatRating','afterInit','load','add','AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','addContextOptionsChanged','requires','getChild','contextSent','isOfficialPlugin','_previewedChangeGroup','removeContextItem','addSelectionToChatContext','AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','isOpen','selection','set','4502adZtAb','history','isLoading','resourceStateChanged','AI_CHAT_INVALID_REQUEST','resize','remove','DocumentCompare','close','setConversationTitle','addFeedItemAIReply','showNext'];_0x5463=function(){return _0x3777e0;};return _0x5463();}import{AI_VISUAL_SELECTION_MARKER_NAME as _0x332dfc}from'../aicore/aiediting.js';import{AI_REPLY_ACTIONS as _0x1eae55}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIChatModels as _0x40dce3}from'./model/aichatmodels.js';import{getEditorFromContext as _0x27a01b}from'../aicore/utils/geteditorfromcontext.js';import{DocumentCompare as _0x1f9bda,DATA_ID_MODEL_ATTRIBUTE as _0x30bdda}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2ea0(_0x200a2a,_0x51cf3d){const _0x54631e=_0x5463();return _0x2ea0=function(_0x2ea0a0,_0x490dfc){_0x2ea0a0=_0x2ea0a0-0x75;let _0x37d695=_0x54631e[_0x2ea0a0];return _0x37d695;},_0x2ea0(_0x200a2a,_0x51cf3d);}import{fixMarkerOperationOldRange as _0xa5e704,getOperationsFromReply as _0x27437e}from'../aicore/utils/getoperationsfromreply.js';import{expandSelectionWithContext as _0xec16d,getMinimalSelection as _0x39d438}from'../aicore/utils/getsuggestionpartsfromreply.js';import{ModelRange as _0x29e4f1,_DetachOperation as _0x46c604}from'ckeditor5/src/engine.js';import{findOne as _0x5b796f,getAttribute as _0x868855,serialize as _0xa90766,Document as _0x3f8498,findByAttribute as _0x542dd7}from'../aicore/utils/htmlparser.js';import{IconAI as _0x181f7c}from'@ckeditor/ckeditor5-icons';import{AISuggestionContainerView as _0x12d899}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIBalloon as _0x1baf23}from'../aiballoon/aiballoon.js';export class AIChatController extends _0x218971{[_0x25bc84(0x170)];[_0x25bc84(0x13a)];[_0x25bc84(0x174)];[_0x25bc84(0x12d)];[_0x25bc84(0x153)]=new Map();[_0x25bc84(0xec)]=null;[_0x25bc84(0x183)]=!0x1;static get[_0x25bc84(0xe8)](){return[_0x43fe7d,_0x1baf23,_0x1f9bda];}static get[_0x25bc84(0xca)](){const _0x2fc0d9=_0x25bc84;return _0x2fc0d9(0x78);}static get[_0x25bc84(0xeb)](){return!0x0;}static get[_0x25bc84(0x102)](){return!0x0;}[_0x25bc84(0x19a)](){const _0x5af906=_0x25bc84;this[_0x5af906(0x13a)]=this[_0x5af906(0xbe)][_0x5af906(0x187)][_0x5af906(0x19d)](_0x5af906(0x165)),this[_0x5af906(0x174)]=this[_0x5af906(0xbe)][_0x5af906(0x187)][_0x5af906(0x19d)](_0x5af906(0xd8)),this[_0x5af906(0x170)]=this[_0x5af906(0xbe)][_0x5af906(0x187)][_0x5af906(0x19d)](_0x5af906(0xa1)),this[_0x5af906(0x12d)]=new _0x40dce3({'connector':this[_0x5af906(0x13a)],'availableModels':this[_0x5af906(0xbe)][_0x5af906(0x16a)][_0x5af906(0x19d)](_0x5af906(0x9a)),'defaultModelId':this[_0x5af906(0xbe)][_0x5af906(0x16a)][_0x5af906(0x19d)](_0x5af906(0x1d4))});const _0x253332=this[_0x5af906(0xbe)][_0x5af906(0x187)][_0x5af906(0x19d)](_0x5af906(0x90));this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0xb7),()=>{const _0x286708=_0x5af906;this[_0x286708(0x17c)]();}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x150),(_0x2d20b5,_0x4e6a32)=>{const _0x58a6ca=_0x5af906;this[_0x58a6ca(0x162)]({'userMessage':_0x4e6a32});}),this[_0x5af906(0x15c)](_0x253332,_0x5af906(0x196),(_0x3c7f8e,_0x5d264b)=>{const _0x3fe629=_0x5af906;this[_0x3fe629(0x17b)](_0x5d264b);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0xce),()=>{const _0x5b395b=_0x5af906;_0x253332[_0x5b395b(0xf8)]();}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x179),async()=>{const _0x113b4e=_0x5af906;await this[_0x113b4e(0xbd)](),await this[_0x113b4e(0x194)](),this[_0x113b4e(0x14a)]();}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x18e),()=>{const _0x12b402=_0x5af906;this[_0x12b402(0xff)]?.[_0x12b402(0xdb)](_0x20a620(this[_0x12b402(0xbe)][_0x12b402(0xd3)],_0x12b402(0x123)));}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0xb2),(_0x2cff56,_0x180925)=>{const _0x514e40=_0x5af906;this[_0x514e40(0xff)]?.[_0x514e40(0x11a)](Array[_0x514e40(0x124)](_0x180925));}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x1ca),(_0xa91acd,_0x277fc2)=>{const _0x50a61f=_0x5af906;this[_0x50a61f(0xff)]?.[_0x50a61f(0x1ca)](_0x277fc2);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x16b),(_0x5208cb,_0x4b91da)=>{const _0x5f3a5c=_0x5af906;this[_0x5f3a5c(0xff)]?.[_0x5f3a5c(0x16b)](_0x4b91da[_0x5f3a5c(0x132)],_0x4b91da[_0x5f3a5c(0x1a7)]);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0xed),(_0x32310e,_0x2e0444)=>{const _0x10b421=_0x5af906;this[_0x10b421(0x1bf)](_0x2e0444);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0xdd),(_0x164364,_0x5e3c3d)=>{const _0x4bef5d=_0x5af906;this[_0x4bef5d(0xff)]?.[_0x4bef5d(0xdd)](_0x5e3c3d[_0x4bef5d(0x18f)],_0x5e3c3d[_0x4bef5d(0x195)],_0x5e3c3d[_0x4bef5d(0x75)]);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x7c),()=>{const _0x1640b1=_0x5af906;this[_0x1640b1(0x8c)]();}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0xd2),()=>{const _0x209632=_0x5af906;this[_0x209632(0x154)]();}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x146),(_0x173c33,_0x47d0f1)=>{const _0x3c3737=_0x5af906;this[_0x3c3737(0xff)]?.[_0x3c3737(0x105)](_0x47d0f1);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x161),(_0x2cceed,{replyId:_0x2c2199})=>{const _0x111c35=_0x5af906;console[_0x111c35(0xb3)](_0x111c35(0x1bb),_0x2c2199);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x1cf),(_0x2480ba,{replyId:_0x840381})=>{const _0x9e3d0c=_0x5af906;console[_0x9e3d0c(0xb3)](_0x9e3d0c(0x1c5),_0x840381);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x1cc),(_0x571a59,_0x34b3ca)=>{const _0x312c09=_0x5af906;this[_0x312c09(0xbe)][_0x312c09(0x187)][_0x312c09(0x19d)](_0x1baf23)[_0x312c09(0xfb)](),this[_0x312c09(0x121)](_0x34b3ca);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0xa8),(_0x2ac7e2,{replyId:_0xc8a541,partIndex:_0x193d29})=>{const _0x21c64d=_0x5af906;this[_0x21c64d(0x183)]=this[_0x21c64d(0x174)][_0x21c64d(0x8d)],this[_0x21c64d(0x136)](_0xc8a541,_0x193d29);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0xc7),(_0x198149,{replyId:_0x2a3c8e,partIndex:_0x3e8695})=>{const _0x2beb79=_0x5af906,_0x387ca3=this[_0x2beb79(0x138)](_0x2a3c8e,_0x3e8695);_0x387ca3&&_0x2beb79(0x11f)!=_0x387ca3[_0x2beb79(0x190)][_0x2beb79(0x122)][_0x2beb79(0x103)]&&this[_0x2beb79(0x170)][_0x2beb79(0x119)]([_0x387ca3[_0x2beb79(0x190)]],_0x2beb79(0x11d));}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x178),()=>{const _0x399d9f=_0x5af906;this[_0x399d9f(0x170)][_0x399d9f(0x87)](_0x399d9f(0x11d));}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x126),(_0x42a711,_0x323621)=>{const _0x105e01=_0x5af906;this[_0x105e01(0xbe)][_0x105e01(0x187)][_0x105e01(0x19d)](_0x1baf23)[_0x105e01(0xfb)](),this[_0x105e01(0x1d5)](_0x323621);}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x1c9),async(_0x12e1f7,{replyId:_0x2433cb,showDiff:_0x29aac1})=>{const _0x538df4=_0x5af906,{reply:_0x9fbb6}=this[_0x538df4(0x149)](_0x2433cb),_0x2c80a8=_0x9fbb6[_0x538df4(0x8e)]({'showDiff':_0x29aac1});await this[_0x538df4(0x174)][_0x538df4(0xc8)]({'id':_0x9fbb6['id'],'parts':_0x2c80a8,'renderingStrategy':_0x538df4(0xdc)});}),this[_0x5af906(0x15c)](this[_0x5af906(0x174)],_0x5af906(0x1dd),(_0x50bc27,{replyId:_0x11ca43,partIndex:_0xeecb4f})=>{const _0x574f1d=_0x5af906;this[_0x574f1d(0xec)]?.[_0x574f1d(0x1ab)]==_0x11ca43&&this[_0x574f1d(0xec)]?.[_0x574f1d(0x93)]==_0xeecb4f&&this[_0x574f1d(0xbe)][_0x574f1d(0x187)][_0x574f1d(0x19d)](_0x1baf23)[_0x574f1d(0xfb)]();const {reply:_0xca9e4c}=this[_0x574f1d(0x149)](_0x11ca43);_0xca9e4c[_0x574f1d(0x8a)](_0xeecb4f,_0x574f1d(0x144)),this[_0x574f1d(0x170)][_0x574f1d(0x87)](_0x574f1d(0x11d));});}async[_0x25bc84(0xe3)](){const _0x315ba7=_0x25bc84;this[_0x315ba7(0xbe)]instanceof _0x58403b?this[_0x315ba7(0x10d)](this[_0x315ba7(0xbe)]):this[_0x315ba7(0x15c)](this[_0x315ba7(0xbe)][_0x315ba7(0x1af)],_0x315ba7(0xe5),(_0xc5eeaa,_0x3b38b3)=>{const _0x3291d5=_0x315ba7;_0x3b38b3['on'](_0x3291d5(0xde),()=>{const _0x383df7=_0x3291d5;this[_0x383df7(0x10d)](_0x3b38b3);});}),await this[_0x315ba7(0x17c)]();}[_0x25bc84(0x121)](_0x1401c3){const _0x250e2e=_0x25bc84,_0x42be6a=_0x27a01b(this[_0x250e2e(0xbe)]);if(!_0x42be6a[_0x250e2e(0x187)][_0x250e2e(0x11c)](_0x250e2e(0xc9)))throw new _0x2aea12(_0x250e2e(0x1c3),null);const _0x17c70c=this[_0x250e2e(0xbe)][_0x250e2e(0x187)][_0x250e2e(0x19d)](_0x250e2e(0xfa)),{reply:_0x2a9d06,interaction:_0x2e039f}=this[_0x250e2e(0x149)](_0x1401c3[_0x250e2e(0x1ab)]),_0x532d09=this[_0x250e2e(0x138)](_0x1401c3[_0x250e2e(0x1ab)],_0x1401c3[_0x250e2e(0x93)]),_0x3d5271=void 0x0!==_0x1401c3[_0x250e2e(0x93)]?[_0x2a9d06[_0x250e2e(0xd7)][_0x1401c3[_0x250e2e(0x93)]]]:_0x2a9d06[_0x250e2e(0xd7)][_0x250e2e(0xbf)](_0x3bcc77=>_0x250e2e(0x17e)==_0x3bcc77[_0x250e2e(0x143)]),_0x4bf331=_0x3d5271[_0x250e2e(0x95)](_0x14adde=>_0x2a9d06[_0x250e2e(0xd7)][_0x250e2e(0x185)](_0x14adde));if(!_0x532d09||_0x250e2e(0x11f)==_0x532d09[_0x250e2e(0x190)][_0x250e2e(0x122)][_0x250e2e(0x103)])return void _0x4bf331[_0x250e2e(0x1db)](_0x1b649a=>_0x2a9d06[_0x250e2e(0x8a)](_0x1b649a,_0x250e2e(0x141)));_0x4bf331[_0x250e2e(0x1db)](_0x189dd5=>_0x2a9d06[_0x250e2e(0x8a)](_0x189dd5,_0x250e2e(0x171)));const _0x10a655=_0x27437e({'editor':_0x42be6a,'reply':_0x2a9d06,'interaction':_0x2e039f,'groups':_0x3d5271,'transform':!0x0,'documentCompare':_0x17c70c,'documentCompareOptions':{'anchor':_0x250e2e(0x14c),'markDeletions':!0x0}});let _0x5a1a1a;_0x532d09&&this[_0x250e2e(0x7d)](_0x532d09[_0x250e2e(0x190)]),_0x42be6a[_0x250e2e(0x15d)][_0x250e2e(0x134)](_0x23ab21=>{const _0x3252df=_0x250e2e;_0x5a1a1a=_0x23ab21[_0x3252df(0x15e)],_0x42be6a[_0x3252df(0x187)][_0x3252df(0x19d)](_0x3252df(0xa6))[_0x3252df(0x1e1)](_0x10a655),this[_0x3252df(0x170)][_0x3252df(0x87)](_0x3252df(0x11d));}),this[_0x250e2e(0x153)][_0x250e2e(0xf2)](_0x5a1a1a,{'interactionId':_0x2e039f['id'],'replyId':_0x2a9d06['id'],'indexes':_0x4bf331[_0x250e2e(0x7f)]()}),this[_0x250e2e(0x109)](_0x2a9d06);}[_0x25bc84(0x1d5)](_0x146cf8){const _0x3c0bbe=_0x25bc84,_0x7566b8=_0x27a01b(this[_0x3c0bbe(0xbe)]),_0x370d50=this[_0x3c0bbe(0xbe)][_0x3c0bbe(0x187)][_0x3c0bbe(0x19d)](_0x1f9bda),{reply:_0x5d52e5,interaction:_0x53995d}=this[_0x3c0bbe(0x149)](_0x146cf8[_0x3c0bbe(0x1ab)]),_0x33e385=this[_0x3c0bbe(0x138)](_0x146cf8[_0x3c0bbe(0x1ab)],_0x146cf8[_0x3c0bbe(0x93)]),_0x226ec0=void 0x0!==_0x146cf8[_0x3c0bbe(0x93)]?[_0x5d52e5[_0x3c0bbe(0xd7)][_0x146cf8[_0x3c0bbe(0x93)]]]:_0x5d52e5[_0x3c0bbe(0xd7)][_0x3c0bbe(0xbf)](_0x33f119=>_0x3c0bbe(0x17e)==_0x33f119[_0x3c0bbe(0x143)]),_0x2b3e92=_0x226ec0[_0x3c0bbe(0x95)](_0x16a606=>_0x5d52e5[_0x3c0bbe(0xd7)][_0x3c0bbe(0x185)](_0x16a606));if(!_0x33e385||_0x3c0bbe(0x11f)==_0x33e385[_0x3c0bbe(0x190)][_0x3c0bbe(0x122)][_0x3c0bbe(0x103)])return void _0x2b3e92[_0x3c0bbe(0x1db)](_0x4d4c0a=>_0x5d52e5[_0x3c0bbe(0x8a)](_0x4d4c0a,_0x3c0bbe(0x141)));_0x2b3e92[_0x3c0bbe(0x1db)](_0x9254e7=>_0x5d52e5[_0x3c0bbe(0x8a)](_0x9254e7,_0x3c0bbe(0x171)));const _0x48c5a0=_0x27437e({'editor':_0x7566b8,'reply':_0x5d52e5,'interaction':_0x53995d,'groups':_0x226ec0,'transform':!0x0,'documentCompare':_0x370d50,'documentCompareOptions':{'anchor':_0x3c0bbe(0x14c),'markDeletions':!0x1}});let _0x3ae138;_0x33e385&&this[_0x3c0bbe(0x7d)](_0x33e385[_0x3c0bbe(0x190)]),_0x7566b8[_0x3c0bbe(0x15d)][_0x3c0bbe(0x134)](_0x1f484d=>{const _0x5db405=_0x3c0bbe;_0x3ae138=_0x1f484d[_0x5db405(0x15e)];for(const _0xd87cd of _0x48c5a0)_0xd87cd[_0x5db405(0xac)]=_0x7566b8[_0x5db405(0x15d)][_0x5db405(0x1a8)][_0x5db405(0xa0)],_0xa5e704(_0x7566b8,_0xd87cd),_0x1f484d[_0x5db405(0x15e)][_0x5db405(0x188)](_0xd87cd),_0x7566b8[_0x5db405(0x15d)][_0x5db405(0x12a)](_0xd87cd);}),this[_0x3c0bbe(0x153)][_0x3c0bbe(0xf2)](_0x3ae138,{'interactionId':_0x53995d['id'],'replyId':_0x5d52e5['id'],'indexes':_0x2b3e92[_0x3c0bbe(0x7f)]()}),this[_0x3c0bbe(0x109)](_0x5d52e5);}[_0x25bc84(0x136)](_0x74fd63,_0x14301e){const _0x5c7792=_0x25bc84,_0x434134=_0x27a01b(this[_0x5c7792(0xbe)]),_0x3e26a5=this[_0x5c7792(0x138)](_0x74fd63,_0x14301e),_0x2bf5dd=this[_0x5c7792(0xbe)][_0x5c7792(0x187)][_0x5c7792(0x19d)](_0x1baf23);if(!_0x3e26a5)return void _0x2bf5dd[_0x5c7792(0xfb)]();const {range:_0x26a6bc,currentIndex:_0x4bd827}=_0x3e26a5;if(_0x5c7792(0x11f)==_0x26a6bc[_0x5c7792(0x122)][_0x5c7792(0x103)]){const {reply:_0x2b3c13}=this[_0x5c7792(0x149)](_0x74fd63);return _0x2b3c13[_0x5c7792(0x8a)](_0x4bd827,_0x5c7792(0x141)),void _0x2bf5dd[_0x5c7792(0xfb)]();}if(this[_0x5c7792(0xec)]?.[_0x5c7792(0x1ab)]==_0x74fd63&&this[_0x5c7792(0xec)]?.[_0x5c7792(0x93)]==_0x4bd827)return;this[_0x5c7792(0x1d0)](_0x2bf5dd),this[_0x5c7792(0xec)]={'replyId':_0x74fd63,'partIndex':_0x4bd827};let _0x4efc1c=_0x434134[_0x5c7792(0x16a)][_0x5c7792(0x19d)](_0x5c7792(0x1b1))||[..._0x1eae55];_0x434134[_0x5c7792(0x187)][_0x5c7792(0x11c)](_0x5c7792(0xc9))||(_0x4efc1c=_0x4efc1c[_0x5c7792(0xbf)](_0x44723f=>_0x5c7792(0x1cc)!=_0x44723f));const _0x400e02=new _0x12d899(_0x434134[_0x5c7792(0xd3)],{'showDiff':this[_0x5c7792(0x183)],'areActionsDisabled':!0x1,'miniToolbarConfig':{'showChanges':_0x5c7792(0xcc)},'hideHeader':!0x0,'availableActions':_0x4efc1c});this[_0x5c7792(0x1d0)](_0x400e02);const {reply:_0x25b3ad}=this[_0x5c7792(0x149)](_0x74fd63),_0x51d15a=_0x25b3ad[_0x5c7792(0x8e)]({'showDiff':this[_0x5c7792(0x183)]})[_0x5c7792(0xbf)](_0x4e7758=>_0x4e7758[_0x5c7792(0x89)]),_0x394167=_0x51d15a[_0x5c7792(0xb1)](_0x9f0254=>_0x9f0254[_0x5c7792(0xcb)]==_0x4bd827);if(-0x1==_0x394167)return;const _0x203139=_0x51d15a[_0x394167],_0x54fea3=_0x51d15a['at']((_0x394167-0x1)%_0x51d15a[_0x5c7792(0x101)])?.[_0x5c7792(0xcb)],_0x161b16=_0x51d15a['at']((_0x394167+0x1)%_0x51d15a[_0x5c7792(0x101)])?.[_0x5c7792(0xcb)];_0x400e02[_0x5c7792(0x14e)]({'parts':[_0x203139],'renderingStrategy':_0x5c7792(0xdc)});const _0x455d40=_0x4bd827!==_0x54fea3;this[_0x5c7792(0x7d)](_0x26a6bc,!0x0),_0x2bf5dd[_0x5c7792(0x98)]({'index':_0x4bd827,'title':_0x20a620(this[_0x5c7792(0xbe)][_0x5c7792(0xd3)],_0x5c7792(0x1ae),(_0x394167+0x1)[_0x5c7792(0x1d1)]()),'icon':_0x181f7c,'mainView':_0x400e02,'showRotator':_0x455d40,'showApplyButton':!0x0,'showSuggestButton':_0x434134[_0x5c7792(0x187)][_0x5c7792(0x11c)](_0x5c7792(0xc9)),'ranges':[_0x26a6bc]}),this[_0x5c7792(0x174)][_0x5c7792(0x1ba)](_0x74fd63,_0x4bd827),this[_0x5c7792(0x15c)](_0x400e02,_0x5c7792(0x1c9),(_0xa27e86,{showDiff:_0x168d45})=>{const _0x227413=_0x5c7792;this[_0x227413(0x183)]=_0x168d45;const {reply:_0x4c3743}=this[_0x227413(0x149)](_0x74fd63),_0xc24f65=_0x4c3743[_0x227413(0x8e)]({'showDiff':_0x168d45,'groupIndex':_0x4bd827});_0x400e02[_0x227413(0x14e)]({'parts':_0xc24f65,'renderingStrategy':_0x227413(0xdc)});}),this[_0x5c7792(0x15c)](_0x2bf5dd,_0x5c7792(0x126),()=>{const _0x3da679=_0x5c7792;this[_0x3da679(0x1d5)]({'replyId':_0x74fd63,'partIndex':_0x4bd827}),_0x455d40?this[_0x3da679(0x136)](_0x74fd63,_0x161b16):_0x2bf5dd[_0x3da679(0xfb)]();}),this[_0x5c7792(0x15c)](_0x2bf5dd,_0x5c7792(0x1cc),()=>{const _0x241768=_0x5c7792;this[_0x241768(0x121)]({'replyId':_0x74fd63,'partIndex':_0x4bd827}),_0x455d40?this[_0x241768(0x136)](_0x74fd63,_0x161b16):_0x2bf5dd[_0x241768(0xfb)]();}),_0x455d40&&(this[_0x5c7792(0x15c)](_0x2bf5dd,_0x5c7792(0xfe),()=>{const _0x28915d=_0x5c7792;this[_0x28915d(0x136)](_0x74fd63,_0x161b16);}),this[_0x5c7792(0x15c)](_0x2bf5dd,_0x5c7792(0x169),()=>{const _0x24817c=_0x5c7792;this[_0x24817c(0x136)](_0x74fd63,_0x54fea3);})),this[_0x5c7792(0x15c)](_0x2bf5dd,_0x5c7792(0x83),()=>{const _0x4aa580=_0x5c7792;this[_0x4aa580(0x1d0)](_0x2bf5dd),this[_0x4aa580(0x1d0)](_0x400e02),this[_0x4aa580(0xec)]=null;});}[_0x25bc84(0x138)](_0x55dff0,_0x5ccc58){const _0x536d62=_0x25bc84,_0x58d5ea=_0x27a01b(this[_0x536d62(0xbe)]),{reply:_0x21fd48,interaction:_0x48aeb6}=this[_0x536d62(0x149)](_0x55dff0),_0x445668=_0x21fd48[_0x536d62(0xd7)][_0x536d62(0xbf)](_0x4f1b6c=>_0x536d62(0x17e)==_0x4f1b6c[_0x536d62(0x143)]),_0x5ec2ae=_0x445668[_0x536d62(0x95)](_0x59c894=>_0x21fd48[_0x536d62(0xd7)][_0x536d62(0x185)](_0x59c894));void 0x0===_0x5ccc58&&(_0x5ccc58=_0x5ec2ae[0x0]);const _0x2f8834=_0x5ec2ae[_0x536d62(0x185)](_0x5ccc58);if(-0x1==_0x2f8834)return null;const _0x44dd17=_0x445668[_0x2f8834],_0xef59db=new _0x3f8498([]),_0x22f40d=new _0x3f8498([]);for(const _0x41ea86 of _0x44dd17[_0x536d62(0x92)])if(_0x536d62(0x9c)!=_0x41ea86[_0x536d62(0x1d3)]&&_0x22f40d[_0x536d62(0x127)][_0x536d62(0xc1)](_0x41ea86[_0x536d62(0x104)][_0x536d62(0x128)](!0x0)),_0x536d62(0x168)!=_0x41ea86[_0x536d62(0x1d3)]){const _0x51e317=_0x5b796f(_0x1892e4=>_0x868855(_0x1892e4,_0x536d62(0x13d))==_0x41ea86['id'],_0x21fd48[_0x536d62(0x11b)],!0x0);_0xef59db[_0x536d62(0x127)][_0x536d62(0xc1)](_0x51e317[_0x536d62(0x128)](!0x0));}if(0x0==_0xef59db[_0x536d62(0x127)][_0x536d62(0x101)]){if(_0x44dd17[_0x536d62(0x92)][0x0][_0x536d62(0x198)]){const _0x231dc0=_0x542dd7(_0x536d62(0x13d),_0x44dd17[_0x536d62(0x92)][0x0][_0x536d62(0x198)],_0x21fd48[_0x536d62(0x11b)]);_0xef59db[_0x536d62(0x127)][_0x536d62(0xb6)](_0x231dc0[_0x536d62(0x128)](!0x0)),_0x22f40d[_0x536d62(0x127)][_0x536d62(0xb6)](_0x231dc0[_0x536d62(0x128)](!0x0)),_0x231dc0[_0x536d62(0x1b2)]&&(_0xef59db[_0x536d62(0x127)][_0x536d62(0xc1)](_0x231dc0[_0x536d62(0x1b2)][_0x536d62(0x128)](!0x0)),_0x22f40d[_0x536d62(0x127)][_0x536d62(0xc1)](_0x231dc0[_0x536d62(0x1b2)][_0x536d62(0x128)](!0x0)));}else{const _0x25f3f3=_0x21fd48[_0x536d62(0x11b)][_0x536d62(0x127)][0x0];if(!_0x25f3f3)return null;_0xef59db[_0x536d62(0x127)][_0x536d62(0xc1)](_0x25f3f3[_0x536d62(0x128)](!0x0)),_0x22f40d[_0x536d62(0x127)][_0x536d62(0xc1)](_0x25f3f3[_0x536d62(0x128)](!0x0));}}const _0x1fd7c7=_0x48aeb6[_0x536d62(0x1d7)](),_0x4873a8=_0x58d5ea[_0x536d62(0xaa)][_0x536d62(0x88)](_0x1fd7c7[_0x536d62(0x108)]),_0x44c283=_0xa90766(_0xef59db),_0x495131=_0x58d5ea[_0x536d62(0xaa)][_0x536d62(0x88)](_0x44c283),_0x124a29=_0x58d5ea[_0x536d62(0xaa)][_0x536d62(0x88)](_0x44c283),_0x13cd28=_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x115)](_0x495131,0x0),_0x1767a9=_0xa90766(_0x22f40d),_0x1e4bb6={'anchor':_0x13cd28,'markDeletions':!0x1},_0x5f0b97=_0x58d5ea[_0x536d62(0x187)][_0x536d62(0x19d)](_0x1f9bda)[_0x536d62(0x114)](_0x44c283,_0x1767a9,_0x1e4bb6)[_0x536d62(0x8f)]();if(!_0x5f0b97[_0x536d62(0x101)])return null;_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x134)](_0x3f902e=>{const _0x3cbf7c=_0x536d62;for(const _0x2d805b of _0x5f0b97)if(_0x3cbf7c(0xf9)==_0x2d805b[_0x3cbf7c(0x1d3)]){const _0x113222=_0x2d805b[_0x3cbf7c(0x145)],_0x43a6d0=_0x2d805b[_0x3cbf7c(0x1c0)],_0x47687e=new _0x46c604(_0x113222,_0x43a6d0);_0x3f902e[_0x3cbf7c(0x15e)][_0x3cbf7c(0x188)](_0x47687e),_0x58d5ea[_0x3cbf7c(0x15d)][_0x3cbf7c(0x12a)](_0x47687e);}else _0x3cbf7c(0x125)!==_0x2d805b[_0x3cbf7c(0x1d3)]&&(_0x2d805b[_0x3cbf7c(0xac)]=null,_0x2d805b[_0x3cbf7c(0xbc)]=!0x1,_0x3f902e[_0x3cbf7c(0x15e)][_0x3cbf7c(0x188)](_0x2d805b),_0x58d5ea[_0x3cbf7c(0x15d)][_0x3cbf7c(0x12a)](_0x2d805b));});const _0x2bc14e=_0x39d438(_0x58d5ea,_0x5f0b97,_0x495131);_0xec16d(_0x58d5ea[_0x536d62(0x15d)],_0x2bc14e);const _0x109d12=_0x2bc14e[_0x536d62(0xc0)]()[_0x536d62(0xb5)][_0x536d62(0xa2)][_0x536d62(0x7f)](),_0x1bc702=_0x2bc14e[_0x536d62(0xc0)]()[_0x536d62(0x18c)][_0x536d62(0xa2)][_0x536d62(0x7f)](),_0x279377=[];let _0x232d33=_0x495131,_0x1a114e=_0x124a29;for(let _0xaa03d1=0x0;_0xaa03d1<_0x1bc702[_0x536d62(0x101)];_0xaa03d1++){const _0x4584b5=_0x232d33[_0x536d62(0x1c1)]-_0x1bc702[_0xaa03d1];_0x279377[_0xaa03d1]=_0x1a114e[_0x536d62(0x1c1)]-_0x4584b5,_0x232d33=_0x232d33[_0x536d62(0x12e)](_0x1bc702[_0xaa03d1]),_0x1a114e=_0x1a114e[_0x536d62(0x12e)](_0x279377[_0xaa03d1]);}const _0x2cfc28=_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x142)](_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x1ce)](_0x124a29,_0x109d12),_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x1ce)](_0x124a29,_0x279377)),_0x20fca9=_0x124a29[_0x536d62(0xe9)](0x0)[_0x536d62(0x1a1)](_0x30bdda),_0x4c4d03=Array[_0x536d62(0x124)](_0x4873a8[_0x536d62(0xe1)]())[_0x536d62(0x1c7)](_0x1ed986=>_0x1ed986[_0x536d62(0x1a1)](_0x30bdda)==_0x20fca9)[_0x536d62(0x12c)](),_0x4dbb98=_0x2cfc28[_0x536d62(0xb5)][_0x536d62(0xa2)][_0x536d62(0x7f)](),_0x1d053d=_0x2cfc28[_0x536d62(0x18c)][_0x536d62(0xa2)][_0x536d62(0x7f)]();_0x4dbb98[0x0]=_0x4c4d03[0x0]+_0x4dbb98[0x0],_0x1d053d[0x0]=_0x4c4d03[0x0]+_0x1d053d[0x0];let _0x34546c=_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x142)](_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x1ce)](_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x1a8)][_0x536d62(0x19e)](),_0x4dbb98),_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x1ce)](_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x1a8)][_0x536d62(0x19e)](),_0x1d053d));const _0x183339=_0x58d5ea[_0x536d62(0x15d)][_0x536d62(0x1a8)][_0x536d62(0xf4)][_0x536d62(0x8f)](_0x1fd7c7[_0x536d62(0xa0)]);for(const _0x1eadf6 of _0x183339)_0x34546c=_0x29e4f1[_0x536d62(0x1b4)](_0x34546c[_0x536d62(0xa4)](_0x1eadf6));return{'range':_0x34546c,'currentIndex':_0x5ccc58};}[_0x25bc84(0x10d)](_0x2a6b38){const _0x36572f=_0x25bc84;if(!_0x2a6b38[_0x36572f(0x187)][_0x36572f(0x11c)](_0x36572f(0xc3)))return;const _0x117779=_0x2a6b38[_0x36572f(0x1bd)][_0x36572f(0x19d)](_0x36572f(0x135)),_0x24280e=_0x2a6b38[_0x36572f(0x1bd)][_0x36572f(0x19d)](_0x36572f(0x111));this[_0x36572f(0x15c)](_0x117779,_0x36572f(0x156),(_0x1c7eb9,_0x4e86b6,_0x1f698f)=>{const _0x5a7928=_0x36572f,_0x5e4f10=this[_0x5a7928(0x153)][_0x5a7928(0x19d)](_0x4e86b6);if(!_0x5e4f10)return;const _0x5bc39d=this[_0x5a7928(0xff)][_0x5a7928(0xd9)](_0x5e4f10[_0x5a7928(0x9d)])[_0x5a7928(0x1cb)](_0x5e4f10[_0x5a7928(0x1ab)]);_0x5e4f10[_0x5a7928(0x1a4)][_0x5a7928(0x1db)](_0x57ad96=>_0x5bc39d[_0x5a7928(0x8a)](_0x57ad96,_0x5a7928(0x17e))),this[_0x5a7928(0x153)][_0x5a7928(0x159)](_0x4e86b6),this[_0x5a7928(0x153)][_0x5a7928(0xf2)](_0x1f698f,_0x5e4f10);}),this[_0x36572f(0x15c)](_0x24280e,_0x36572f(0x156),(_0x1f8345,_0x92ca81,_0x291150)=>{const _0x4f584f=_0x36572f,_0x4c7030=this[_0x4f584f(0x153)][_0x4f584f(0x19d)](_0x92ca81);if(!_0x4c7030)return;const _0x1b2eb2=this[_0x4f584f(0xff)][_0x4f584f(0xd9)](_0x4c7030[_0x4f584f(0x9d)])[_0x4f584f(0x1cb)](_0x4c7030[_0x4f584f(0x1ab)]);_0x4c7030[_0x4f584f(0x1a4)][_0x4f584f(0x1db)](_0x22f893=>_0x1b2eb2[_0x4f584f(0x8a)](_0x22f893,_0x4f584f(0x171))),this[_0x4f584f(0x153)][_0x4f584f(0x159)](_0x92ca81),this[_0x4f584f(0x153)][_0x4f584f(0xf2)](_0x291150,_0x4c7030);});}async[_0x25bc84(0x1b9)](_0x2c2f03){const _0x471ae4=_0x25bc84;this[_0x471ae4(0xbe)][_0x471ae4(0x187)][_0x471ae4(0x19d)](_0x1baf23)[_0x471ae4(0xfb)](),this[_0x471ae4(0x174)][_0x471ae4(0x81)](_0x471ae4(0xdc)),this[_0x471ae4(0x174)][_0x471ae4(0x1da)](!0x0),await this[_0x471ae4(0xbd)]();try{await this[_0x471ae4(0x13a)][_0x471ae4(0x13e)](_0x2c2f03)[_0x471ae4(0xcf)](),await this[_0x471ae4(0x17c)](_0x2c2f03),this[_0x471ae4(0x1a0)]('\x20');const {sessionId:_0x248fbb}=this[_0x471ae4(0x170)][_0x471ae4(0x1dc)]();await this[_0x471ae4(0xff)][_0x471ae4(0xe4)](_0x2c2f03,_0x248fbb),this[_0x471ae4(0xff)][_0x471ae4(0x15a)]()&&this[_0x471ae4(0xff)][_0x471ae4(0xdb)](_0x20a620(this[_0x471ae4(0xbe)][_0x471ae4(0xd3)],_0x471ae4(0x123)));}catch(_0x3fa17e){this[_0x471ae4(0x174)][_0x471ae4(0x166)]({'errorMessage':_0x20a620(this[_0x471ae4(0xbe)][_0x471ae4(0xd3)],_0x471ae4(0x167)),'id':_0x2c2f03}),this[_0x471ae4(0x158)](new _0x2aea12(_0x471ae4(0xc2),this,{'error':_0x3fa17e}));}finally{this[_0x471ae4(0xbe)][_0x471ae4(0x187)][_0x471ae4(0x19d)](_0x406009)[_0x471ae4(0x199)][_0x471ae4(0x139)](_0x471ae4(0xa9)),this[_0x471ae4(0x174)][_0x471ae4(0xe0)](),this[_0x471ae4(0x174)][_0x471ae4(0x81)](_0x471ae4(0x192)),this[_0x471ae4(0x174)][_0x471ae4(0x1da)](!0x1);}}[_0x25bc84(0x129)](_0x1d3648){const _0x26e877=_0x25bc84;this[_0x26e877(0xff)]['id']===_0x1d3648&&this[_0x26e877(0x17c)]();}async[_0x25bc84(0xee)](){const _0x2a2215=_0x25bc84,_0xda6861=this[_0x2a2215(0x170)][_0x2a2215(0x1a2)]();this[_0x2a2215(0xff)]?.[_0x2a2215(0x86)](_0xda6861),this[_0x2a2215(0xff)]?.[_0x2a2215(0xdb)](_0x20a620(this[_0x2a2215(0xbe)][_0x2a2215(0xd3)],_0x2a2215(0x123)));}[_0x25bc84(0x14a)](){const _0xfffd41=_0x25bc84;this[_0xfffd41(0xff)]?.[_0xfffd41(0x8b)]();}[_0x25bc84(0xbb)](){const _0x4c12e4=_0x25bc84;this[_0x4c12e4(0x174)][_0x4c12e4(0xbb)]();}async[_0x25bc84(0xb7)](){const _0x220e74=_0x25bc84;await this[_0x220e74(0x17c)]();}async[_0x25bc84(0x184)]({message:_0x4ce81c,quickActionData:_0x401ba3}){const _0x5788c8=_0x25bc84;await this[_0x5788c8(0x162)]({'userMessage':_0x4ce81c,'quickActionData':_0x401ba3});}[_0x25bc84(0x79)](){const _0x33d2ae=_0x25bc84,_0x226d6b=this[_0x33d2ae(0xbe)][_0x33d2ae(0x16a)][_0x33d2ae(0x19d)](_0x33d2ae(0x14b));if(!_0x226d6b)throw new _0x2aea12(_0x33d2ae(0x1bc),this);return _0x226d6b;}async[_0x25bc84(0x17c)](_0x2763fd){const _0x281b72=_0x25bc84;try{this[_0x281b72(0x174)][_0x281b72(0x1be)](),await this[_0x281b72(0x19c)](_0x2763fd);}catch(_0x39076e){this[_0x281b72(0x174)][_0x281b72(0x166)]({'errorMessage':_0x20a620(this[_0x281b72(0xbe)][_0x281b72(0xd3)],_0x281b72(0x1cd)),'id':_0x2763fd||_0x2df6a6()}),console[_0x281b72(0x164)](_0x39076e),this[_0x281b72(0xff)]=void 0x0,this[_0x281b72(0x174)][_0x281b72(0x163)]();}}async[_0x25bc84(0x19c)](_0x1cec4e){const _0x4aba08=_0x25bc84,_0x1feec1=this[_0x4aba08(0xbe)][_0x4aba08(0x187)][_0x4aba08(0x19d)](_0x1baf23);let _0xeda8d0;_0x1feec1[_0x4aba08(0xf0)]&&_0x1feec1[_0x4aba08(0xfb)](),_0x1cec4e||!this[_0x4aba08(0xff)]?_0xeda8d0=this[_0x4aba08(0xbe)][_0x4aba08(0x16a)][_0x4aba08(0x19d)](_0x4aba08(0x1d4)):this[_0x4aba08(0x174)][_0x4aba08(0x1aa)]&&(_0xeda8d0=this[_0x4aba08(0xff)][_0x4aba08(0x99)]['id']),await this[_0x4aba08(0xbd)]();const _0x292df8=this[_0x4aba08(0x79)](),_0xa332ba=_0x1cec4e||_0x2df6a6();this[_0x4aba08(0xff)]=new _0x83be58({'connector':this[_0x4aba08(0x13a)],'chatModels':this[_0x4aba08(0x12d)],'selectedModelId':_0xeda8d0,'conversationId':_0xa332ba,'group':_0x292df8,'getEditor':()=>_0x27a01b(this[_0x4aba08(0xbe)])}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x17d),(_0x2b3941,_0x1fb410)=>{const _0x4fc44f=_0x4aba08;this[_0x4fc44f(0x174)][_0x4fc44f(0x106)](_0x1fb410),this[_0x4fc44f(0x174)][_0x4fc44f(0xb9)](),this[_0x4fc44f(0x174)][_0x4fc44f(0x7a)](),this[_0x4fc44f(0x174)][_0x4fc44f(0x1a9)](),_0x1cec4e||(this[_0x4fc44f(0x174)][_0x4fc44f(0xd5)](),this[_0x4fc44f(0xff)]?.[_0x4fc44f(0xdb)](_0x20a620(this[_0x4fc44f(0xbe)][_0x4fc44f(0xd3)],_0x4fc44f(0x123))));}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x157),(_0x5bec91,_0x126f0c)=>{const _0x4f99d0=_0x4aba08;this[_0x4f99d0(0x174)][_0x4f99d0(0x10e)](_0x126f0c[_0x4f99d0(0x14d)]);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x177),(_0x324607,_0xb1a284)=>{const _0x942005=_0x4aba08;this[_0x942005(0x174)][_0x942005(0x77)](_0xb1a284);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x1c8),()=>{const _0xf9f7b5=_0x4aba08;this[_0xf9f7b5(0x174)][_0xf9f7b5(0xb4)]({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x10a),()=>{const _0x24d33c=_0x4aba08;this[_0x24d33c(0x174)][_0x24d33c(0xb4)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x191),(_0x23f801,_0x11206c)=>{const _0x1a613e=_0x4aba08;this[_0x1a613e(0x174)][_0x1a613e(0x7e)](_0x11206c,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x97),(_0x5ef2d7,_0x1efd5a)=>{const _0x121001=_0x4aba08;this[_0x121001(0x174)][_0x121001(0x7e)](_0x1efd5a,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0xa5),()=>{const _0x322acf=_0x4aba08;this[_0x322acf(0x174)][_0x322acf(0x180)]();}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x1b7),async()=>{const _0x471db4=_0x4aba08;await this[_0x471db4(0x174)][_0x471db4(0x1a5)]();}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x116),(_0x23beb1,_0x26e623)=>{const _0x15984d=_0x4aba08;this[_0x15984d(0x174)][_0x15984d(0x10c)](_0x26e623['id']);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0xfc),(_0x236ab3,_0x469a9b,_0x3f7817)=>{const _0x242624=_0x4aba08;this[_0x242624(0x1a0)](_0x469a9b,_0x3f7817);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x160),(_0x40397f,_0x519e26)=>{const _0x21a175=_0x4aba08;_0x21a175(0x9e)===_0x519e26[_0x21a175(0x1d3)]?this[_0x21a175(0x174)][_0x21a175(0xfd)](_0x519e26):this[_0x21a175(0x174)][_0x21a175(0x96)](_0x519e26);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x1df),async(_0x46c5bd,_0xd4c057)=>{const _0xf1850c=_0x4aba08;await this[_0xf1850c(0x182)]({'reply':_0xd4c057});}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x1d6),(_0x2f682b,{reply:_0x2ce137,index:_0x2a539d,state:_0x1cf88e})=>{const _0x7c524d=_0x4aba08;this[_0x7c524d(0x174)][_0x7c524d(0x13b)]({'id':_0x2ce137['id'],'index':_0x2a539d,'state':_0x1cf88e});}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x110),(_0x24af29,_0x4f7c4a)=>{const _0x1aef33=_0x4aba08;if(this[_0x1aef33(0x174)][_0x1aef33(0x15b)](_0x4f7c4a[_0x1aef33(0x1c2)],_0x4f7c4a[_0x1aef33(0xf5)]),_0x1aef33(0xf1)===_0x4f7c4a[_0x1aef33(0x1c2)][_0x1aef33(0x1d3)]){const _0x100886=[..._0x27a01b(this[_0x1aef33(0xbe)])[_0x1aef33(0x15d)][_0x1aef33(0x1a8)][_0x1aef33(0xf1)][_0x1aef33(0xab)]()];this[_0x1aef33(0x170)][_0x1aef33(0x119)](_0x100886,_0x1aef33(0x140)+this[_0x1aef33(0xff)]?.['id']);}}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x173),(_0x5232ba,_0x49995f)=>{const _0x515039=_0x4aba08;this[_0x515039(0x174)][_0x515039(0xed)](_0x49995f[_0x515039(0x18b)]),_0x515039(0xad)==_0x49995f[_0x515039(0x18b)]&&this[_0x515039(0x14a)](),_0x515039(0xf1)===_0x49995f[_0x515039(0x1d3)]&&this[_0x515039(0x170)][_0x515039(0x87)](_0x515039(0x140)+this[_0x515039(0xff)]?.['id']);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x19f),(_0x29ea62,_0x52f3ef)=>{const _0x3ab787=_0x4aba08;this[_0x3ab787(0x174)][_0x3ab787(0x13c)](_0x52f3ef[_0x3ab787(0x1c2)][_0x3ab787(0x18b)],_0x52f3ef[_0x3ab787(0xf5)]);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0xea),(_0x514603,_0x287450)=>{const _0x2c93d8=_0x4aba08;this[_0x2c93d8(0x174)][_0x2c93d8(0x1de)](_0x287450[_0x2c93d8(0x131)]);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0xe7),(_0x4f36a7,_0x3e4d4d)=>{const _0x3b286b=_0x4aba08;this[_0x3b286b(0x174)][_0x3b286b(0x12b)](_0x3e4d4d[_0x3b286b(0x1e0)]);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x12f),(_0x8343cd,_0x1a5bb4)=>{const _0x5e74f7=_0x4aba08;this[_0x5e74f7(0x174)][_0x5e74f7(0x1a3)](_0x1a5bb4[_0x5e74f7(0x18f)],_0x1a5bb4[_0x5e74f7(0x132)],_0x1a5bb4[_0x5e74f7(0x1d2)],_0x1a5bb4[_0x5e74f7(0x75)]);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0xf6),(_0x23b7f7,_0x2fe49c)=>{const _0x5c57af=_0x4aba08;this[_0x5c57af(0x174)][_0x5c57af(0xd6)](_0x2fe49c[_0x5c57af(0x18f)],_0x2fe49c[_0x5c57af(0x1a6)],_0x2fe49c[_0x5c57af(0x100)]);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x117),(_0x1864f7,_0x437437)=>{const _0x1074ee=_0x4aba08;this[_0x1074ee(0x174)][_0x1074ee(0x181)](_0x437437);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0xa7),(_0xb67dc5,_0x317c5e)=>{const _0x258f2f=_0x4aba08;this[_0x258f2f(0x174)][_0x258f2f(0x193)](_0x317c5e[_0x258f2f(0x99)],_0x317c5e[_0x258f2f(0xaf)]);}),this[_0x4aba08(0xff)]['on'](_0x4aba08(0x164),(_0x4e311f,{error:_0x222c11,interactionId:_0x120d3f,fileName:_0x1a7e4f,url:_0x4b0722,sourceId:_0x27e404,sourceLabel:_0x44f432})=>{const _0xf06c14=_0x4aba08,_0x2062aa=_0x120d3f?_0x120d3f+':'+_0x2df6a6():_0x2df6a6();_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x107))?this[_0xf06c14(0x174)][_0xf06c14(0x189)]({'staticMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0x130)),'id':_0x2062aa}):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0xae))||_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x155))?(this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0x1cd)),'id':_0x2062aa}),this[_0xf06c14(0x158)](_0x222c11)):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x176))?this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0x1b0),_0x1a7e4f),'id':_0x2062aa}):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x186))?this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0x113),_0x4b0722),'id':_0x2062aa}):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x84))?this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0x80)),'id':_0x2062aa}):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x14f))?this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0x137)),'id':_0x2062aa}):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x1d9))?(_0x27e404&&this[_0xf06c14(0x174)][_0xf06c14(0x133)](_0x27e404),this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0xef),_0x44f432||_0xf06c14(0x132)),'id':_0x2062aa}),this[_0xf06c14(0x158)](_0x222c11)):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x15f))?(this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0x112)),'id':_0x2062aa}),this[_0xf06c14(0x158)](_0x222c11)):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x118))?(this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0xf7)),'id':_0x2062aa}),this[_0xf06c14(0x158)](_0x222c11)):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x11e))?(this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0x91)),'id':_0x2062aa}),this[_0xf06c14(0x158)](_0x222c11)):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0xd4))?(this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0x1ac)),'id':_0x2062aa}),this[_0xf06c14(0x158)](_0x222c11)):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x18d))?(this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0xd0)),'id':_0x2062aa}),this[_0xf06c14(0x158)](_0x222c11)):_0x222c11[_0xf06c14(0x17a)][_0xf06c14(0x197)](_0xf06c14(0x1ad))?(this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0xe6)),'id':_0x2062aa}),this[_0xf06c14(0x158)](_0x222c11)):(this[_0xf06c14(0x174)][_0xf06c14(0x166)]({'errorMessage':_0x20a620(this[_0xf06c14(0xbe)][_0xf06c14(0xd3)],_0xf06c14(0x10f)),'id':_0x2062aa}),this[_0xf06c14(0x158)](_0x222c11));}),await this[_0x4aba08(0xff)][_0x4aba08(0x19a)](this[_0x4aba08(0xbe)][_0x4aba08(0x16a)][_0x4aba08(0x19d)](_0x4aba08(0x16e))),_0x1cec4e||await this[_0x4aba08(0xff)][_0x4aba08(0xb5)]();}async[_0x25bc84(0x162)]({userMessage:_0x53ea46,quickActionData:_0x5114e0}){const _0x44099d=_0x25bc84;if(!this[_0x44099d(0xff)])throw new _0x2aea12(_0x44099d(0x82));this[_0x44099d(0xff)][_0x44099d(0xdf)]()&&await this[_0x44099d(0xff)][_0x44099d(0x147)](this[_0x44099d(0x170)][_0x44099d(0x1dc)]()),this[_0x44099d(0xff)]['id']&&this[_0x44099d(0xff)][_0x44099d(0x1b5)]&&await this[_0x44099d(0xff)][_0x44099d(0xda)]({'userMessage':_0x53ea46,'quickActionData':_0x5114e0}),this[_0x44099d(0xba)]();}[_0x25bc84(0xba)](){const _0x4553e3=_0x25bc84,_0x4573f6=_0x27a01b(this[_0x4553e3(0xbe)])[_0x4553e3(0x15d)],_0x3ecdd6=Array[_0x4553e3(0x124)](_0x4573f6[_0x4553e3(0xb8)][_0x4553e3(0x1c6)](_0x332dfc));_0x4573f6[_0x4553e3(0x134)](_0x16ecf1=>{const _0x4d17e5=_0x4553e3;_0x3ecdd6[_0x4d17e5(0x1db)](_0x4077b6=>_0x16ecf1[_0x4d17e5(0x120)](_0x4077b6));});}[_0x25bc84(0x175)](){const _0x1ba488=_0x25bc84;console[_0x1ba488(0xb3)](_0x1ba488(0x151));}[_0x25bc84(0x17b)](_0x561610){const _0x1286f3=_0x25bc84;this[_0x1286f3(0x174)][_0x1286f3(0x16f)](_0x561610);}[_0x25bc84(0x158)](_0x104186){const _0x17b556=_0x25bc84;_0x37699d(_0x104186[_0x17b556(0x17a)]);}[_0x25bc84(0x1bf)](_0xb5ae36){const _0x45fbea=_0x25bc84;this[_0x45fbea(0xff)]?.[_0x45fbea(0xcd)](_0xb5ae36);}[_0x25bc84(0x8c)](){const _0x37fd74=_0x25bc84;this[_0x37fd74(0xff)]?.[_0x37fd74(0x7c)]();}[_0x25bc84(0x154)](){const _0x4456c4=_0x25bc84;this[_0x4456c4(0xff)]?.[_0x4456c4(0xd2)]();}[_0x25bc84(0x149)](_0x109cad){const _0x3f1d37=_0x25bc84,[_0x3d2742,_0x3cb073]=_0x109cad[_0x3f1d37(0x16c)](':'),_0x4810e9=this[_0x3f1d37(0xff)][_0x3f1d37(0xd9)](_0x3d2742),_0x2cb25=_0x4810e9[_0x3f1d37(0x1cb)](_0x3cb073);return{'interaction':_0x4810e9,'reply':_0x2cb25};}[_0x25bc84(0x7d)](_0x7d3e8e,_0x13ba45=!0x1){const _0x3346fb=_0x25bc84,_0x16ac3a=_0x27a01b(this[_0x3346fb(0xbe)]),_0x297230={'target':_0x16ac3a[_0x3346fb(0x10b)][_0x3346fb(0x199)][_0x3346fb(0x13f)][_0x3346fb(0x1c4)](_0x16ac3a[_0x3346fb(0x10b)][_0x3346fb(0x1b8)][_0x3346fb(0x1b6)](_0x7d3e8e)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x13ba45};_0x13ba45&&(_0x297230[_0x3346fb(0xc6)]=!0x0),_0x1084ad(_0x297230);}[_0x25bc84(0x1a0)](_0x414f2a,_0x2ca332=!0x1){const _0x4c1114=_0x25bc84;this[_0x4c1114(0x174)][_0x4c1114(0xfc)](_0x414f2a||_0x20a620(this[_0x4c1114(0xbe)][_0x4c1114(0xd3)],_0x4c1114(0x18a)),_0x2ca332);}async[_0x25bc84(0x182)]({reply:_0x56841f,renderingStrategy:_0x3cf403}){const _0x5dd8f2=_0x25bc84,{id:_0x25f494,isDone:_0x463693,type:_0x1cd38d,parsedContent:_0x3eba38}=_0x56841f;if(_0x5dd8f2(0x7b)===_0x1cd38d){const _0x3421ba=_0x56841f[_0x5dd8f2(0x8e)]({'showDiff':this[_0x5dd8f2(0x174)][_0x5dd8f2(0x8d)]});await this[_0x5dd8f2(0x174)][_0x5dd8f2(0xc8)]({'id':_0x25f494,'parts':_0x3421ba,'renderingStrategy':_0x3cf403,'isDone':_0x463693});}else _0x5dd8f2(0x9e)===_0x1cd38d&&await this[_0x5dd8f2(0x174)][_0x5dd8f2(0x1b3)]({'id':_0x25f494,'parsedContent':_0x3eba38,'renderingStrategy':_0x3cf403,'isDone':_0x463693});_0x463693&&_0x56841f[_0x5dd8f2(0xa3)][_0x5dd8f2(0x101)]>0x0&&this[_0x5dd8f2(0x174)][_0x5dd8f2(0xd1)](_0x25f494,_0x56841f[_0x5dd8f2(0xa3)]);}async[_0x25bc84(0xbd)](){const _0x4ba9db=_0x25bc84,_0x29cba1=this[_0x4ba9db(0xff)]?.[_0x4ba9db(0xb0)];_0x29cba1&&(_0x29cba1[_0x4ba9db(0x17f)](),this[_0x4ba9db(0x174)][_0x4ba9db(0x172)](_0x29cba1));}async[_0x25bc84(0x194)](){const _0x459f1d=_0x25bc84,_0x1caf60=this[_0x459f1d(0xff)]?.[_0x459f1d(0xb0)];if(_0x1caf60){for await(const _0xd70ba6 of _0x1caf60[_0x459f1d(0x19b)])await this[_0x459f1d(0x182)]({'reply':_0xd70ba6,'renderingStrategy':_0x459f1d(0xdc)});}}[_0x25bc84(0x109)](_0x251841){const _0x2bdf55=_0x25bc84,_0x1f1b51={'positiveCount':_0x251841[_0x2bdf55(0xd7)][_0x2bdf55(0xbf)](_0x370e4b=>_0x2bdf55(0x171)===_0x370e4b[_0x2bdf55(0x143)])[_0x2bdf55(0x101)],'totalCount':_0x251841[_0x2bdf55(0xd7)][_0x2bdf55(0x101)],'modificationId':_0x251841['id']},_0x23eeb3=this[_0x2bdf55(0xff)][_0x2bdf55(0xd9)](_0x251841[_0x2bdf55(0x9d)])[_0x2bdf55(0x9b)];this[_0x2bdf55(0x13a)][_0x2bdf55(0xe2)](this[_0x2bdf55(0xff)]['id'],_0x23eeb3,_0x1f1b51);}}
|