@ckeditor/ckeditor5-ai 47.6.1 → 47.6.2
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/LICENSE.md +0 -4
- package/build/ai.js +2 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +1 -0
- package/package.json +15 -16
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.d.ts +15 -156
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.d.ts +2 -0
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.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/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.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/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.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/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/build/966.ai.js +0 -5
- package/build/translations/en.js +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x376b93,_0x3fd962,_0x2ca371){const t=_0x376b93['t'];switch(_0x3fd962){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x2ca371);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2ca371);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x2ca371);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3fd962;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(
|
|
23
|
+
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x3fb2cb,_0x30325c){const _0x6ff8ec=(0x0,_0x30325c['t'])('Other');return _0x3fb2cb['length']?'groupId'in _0x3fb2cb[0x0]?_0x3fb2cb:[{'groupId':'_ungrouppedCommands','groupLabel':_0x6ff8ec,'order':0x1/0x0,'commands':_0x3fb2cb}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x6ff8ec,'order':0x1/0x0,'commands':[]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x144ded=_0x4664;(function(_0x5a9745,_0x140fbe){const _0x5aedf3=_0x4664,_0x6ea073=_0x5a9745();while(!![]){try{const _0x2b7b35=-parseInt(_0x5aedf3(0x106))/0x1*(-parseInt(_0x5aedf3(0xf6))/0x2)+-parseInt(_0x5aedf3(0xd4))/0x3+-parseInt(_0x5aedf3(0x107))/0x4+parseInt(_0x5aedf3(0xf9))/0x5*(-parseInt(_0x5aedf3(0xe2))/0x6)+parseInt(_0x5aedf3(0xbf))/0x7*(-parseInt(_0x5aedf3(0xeb))/0x8)+-parseInt(_0x5aedf3(0x10b))/0x9*(-parseInt(_0x5aedf3(0x100))/0xa)+-parseInt(_0x5aedf3(0xbe))/0xb*(-parseInt(_0x5aedf3(0xc8))/0xc);if(_0x2b7b35===_0x140fbe)break;else _0x6ea073['push'](_0x6ea073['shift']());}catch(_0x4f950b){_0x6ea073['push'](_0x6ea073['shift']());}}}(_0x4f30,0xcb6a5));import{ContextPlugin as _0x23f9cb}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0xa6514a,AIEditing as _0x2297ea}from'../aicore/aiediting.js';function _0x4f30(){const _0x3d2299=['getIntersection','mainView','ai-selection','context','944FJLRuF','_updateDialog','AIBalloon','document','ai-balloon-','map','isEqual','end','locale','top','_hideFakeVisualSelection','70478XpqhyK','_currentConfig','getBoundingRect','32975HGBlxM','ranges','_setupFakeVisualSelectionMarkerRemovalListener','plugins','view','requires','rootName','275020VUaeyl','_cleanupFakeVisualSelectionMarkerRemovalListener','_isUpdatingMarkers','length','AI_BALLOON_SELECTION_REMOVED_ERROR','_showDialog','43upvnmi','4634452gkimzF','$graveyard','hide','getMarkersGroup','90yyaCrp','startsWith','delegate','left','beforeDialogClosed','height','get','ai-balloon-selection','isOpen','_calculateDialogPosition','getChangedMarkers','show','_showFakeVisualSelection','_calculateOptimalTopPosition','headerView','isOfficialPlugin','high','fire','11sudOuf','57841xnXOhj','max','content','pluginName','stopListening','open','isPremiumPlugin','window','differ','18990888shmcuP','editing','once','Dialog','listenTo','width','ck-ai-balloon\x20','showBlockingError','hideError','dialogClosed','hideFakeVisualSelection','filter','842190DYuGlZ','index','getVisible','close','change','updatePosition','_getSelectionElements','label','round','bind','showFakeVisualSelection','start','root','iconView','114mAHzfX','bottom','markers','selectionRemoved','model'];_0x4f30=function(){return _0x3d2299;};return _0x4f30();}function _0x4664(_0x44a2e7,_0x6b996b){const _0x4f30da=_0x4f30();return _0x4664=function(_0x4664a9,_0x1242b2){_0x4664a9=_0x4664a9-0xbc;let _0x1e6372=_0x4f30da[_0x4664a9];return _0x1e6372;},_0x4664(_0x44a2e7,_0x6b996b);}import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x212b7d}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x260619,Rect as _0x1519fe,scrollViewportToShowTarget as _0x12f322}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x21b57f}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x4c8fec}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x4a9f8b}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x4a9f8b,_0x144ded(0xd1),_0x144ded(0xe5)];const $=0xa;export class AIBalloon extends _0x23f9cb{static get[_0x144ded(0xfe)](){return[_0x2297ea];}static get[_0x144ded(0xc2)](){const _0x3e5854=_0x144ded;return _0x3e5854(0xed);}static get[_0x144ded(0x11a)](){return!0x0;}static get[_0x144ded(0xc5)](){return!0x0;}[_0x144ded(0x113)]=!0x1;[_0x144ded(0xf7)];[_0x144ded(0x102)]=!0x1;[_0x144ded(0xc4)](_0x5efcbf){const _0x336fcc=_0x144ded,{id:_0x1ceffe}=this[_0x336fcc(0xf7)]??{};this[_0x336fcc(0xf7)]=_0x5efcbf;const {id:_0x930548}=this[_0x336fcc(0xf7)];this[_0x336fcc(0x113)]&&_0x1ceffe===_0x930548?this[_0x336fcc(0xec)]():this[_0x336fcc(0x105)]();}[_0x144ded(0xd7)](){const _0x1eb0d0=_0x144ded,_0x1e3d1f=_0x21b57f(this[_0x1eb0d0(0xea)])[_0x1eb0d0(0xfc)][_0x1eb0d0(0x111)](_0x1eb0d0(0xcb));_0x1e3d1f[_0x1eb0d0(0x113)]&&this[_0x1eb0d0(0xf7)]&&_0x1e3d1f['id']===this[_0x1eb0d0(0xf7)]['id']&&_0x1e3d1f[_0x1eb0d0(0x109)]();}[_0x144ded(0xec)](){const _0x1e1ce7=_0x144ded,_0x2d3719=_0x21b57f(this[_0x1e1ce7(0xea)])[_0x1e1ce7(0xfc)][_0x1e1ce7(0x111)](_0x1e1ce7(0xcb)),{icon:_0x5fea3d,title:_0x293875}=this[_0x1e1ce7(0xf7)];_0x2d3719[_0x1e1ce7(0xfd)]?.[_0x1e1ce7(0x119)]&&(_0x2d3719[_0x1e1ce7(0xfd)][_0x1e1ce7(0x119)][_0x1e1ce7(0xdb)]=_0x293875,_0x2d3719[_0x1e1ce7(0xfd)][_0x1e1ce7(0x119)][_0x1e1ce7(0xe1)]&&_0x5fea3d&&(_0x2d3719[_0x1e1ce7(0xfd)][_0x1e1ce7(0x119)][_0x1e1ce7(0xe1)][_0x1e1ce7(0xc1)]=_0x5fea3d)),this[_0x1e1ce7(0x102)]=!0x0,this[_0x1e1ce7(0x117)](),this[_0x1e1ce7(0x102)]=!0x1,_0x2d3719[_0x1e1ce7(0xfd)]?.[_0x1e1ce7(0xd9)]();}[_0x144ded(0x117)](){const _0x402a95=_0x144ded;this[_0x402a95(0xea)][_0x402a95(0xfc)][_0x402a95(0x111)](_0x2297ea)[_0x402a95(0xde)](this[_0x402a95(0xf7)][_0x402a95(0xfa)],_0x402a95(0xef)+this[_0x402a95(0xf7)][_0x402a95(0xd5)],!0x0,!0x0);}[_0x144ded(0xf5)](_0x38ffcd){const _0x541ca0=_0x144ded;this[_0x541ca0(0xea)][_0x541ca0(0xfc)][_0x541ca0(0x111)](_0x2297ea)[_0x541ca0(0xd2)](_0x541ca0(0xef)+_0x38ffcd);}[_0x144ded(0x105)](){const _0x4cfcd9=_0x144ded,_0x1a590d=_0x21b57f(this[_0x4cfcd9(0xea)])[_0x4cfcd9(0xfc)][_0x4cfcd9(0x111)](_0x4cfcd9(0xcb)),{id:_0x39fdf2,title:_0x942559,icon:_0x529cb2,class:_0xc4dfdd,mainView:_0x23cc4f}=this[_0x4cfcd9(0xf7)];_0x23cc4f[_0x4cfcd9(0x10d)](..._0x4a9f8b)['to'](this),_0x1a590d[_0x4cfcd9(0x116)]({'title':_0x942559,'icon':_0x529cb2,'hasCloseButton':!0x0,'id':_0x39fdf2,'position':this[_0x4cfcd9(0x114)][_0x4cfcd9(0xdd)](this),'className':_0x4cfcd9(0xce)+(_0xc4dfdd||''),'content':_0x23cc4f,'onShow':_0x1e63dd=>{const _0x2ee073=_0x4cfcd9;this[_0x2ee073(0x117)](),this[_0x2ee073(0xfb)]();const _0x2c3629=this[_0x2ee073(0xda)]();_0x2c3629&&_0x2c3629[0x0]&&_0x12f322({'target':_0x2c3629[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x2ee073(0x113)]=!0x0,_0x1e63dd[_0x2ee073(0xca)](_0x2ee073(0x109),()=>{const _0x43b093=_0x2ee073;this[_0x43b093(0xbd)](_0x43b093(0x10f),{'id':_0x39fdf2});},{'priority':_0x2ee073(0xbc)});},'onHide':()=>{const _0x8c406b=_0x4cfcd9;this[_0x8c406b(0xf5)](this[_0x8c406b(0xf7)][_0x8c406b(0xd5)]),this[_0x8c406b(0x101)](),this[_0x8c406b(0xbd)](_0x8c406b(0xd1),{'id':_0x39fdf2}),this[_0x8c406b(0x113)]=!0x1;}});}[_0x144ded(0x114)](_0x347e9f,_0x5b1fc4){const _0x154bf6=_0x144ded;if(!_0x5b1fc4)return null;const _0x289b03=this[_0x154bf6(0xda)]();if(!_0x289b03||0x0===_0x289b03[_0x154bf6(0x103)])return{'left':Math[_0x154bf6(0xdc)](_0x5b1fc4[_0x154bf6(0x10e)]+_0x5b1fc4[_0x154bf6(0xcd)]/0x2-_0x347e9f[_0x154bf6(0xcd)]/0x2),'top':Math[_0x154bf6(0xdc)](_0x5b1fc4[_0x154bf6(0xf4)]+_0x5b1fc4[_0x154bf6(0x110)]/0x2-_0x347e9f[_0x154bf6(0x110)]/0x2)};const _0x2e21c3=Math[_0x154bf6(0xdc)](_0x5b1fc4[_0x154bf6(0x10e)]+_0x5b1fc4[_0x154bf6(0xcd)]/0x2-_0x347e9f[_0x154bf6(0xcd)]/0x2),_0xe32c22=_0x289b03[_0x154bf6(0xf0)](_0x532628=>new _0x1519fe(_0x532628)),_0x2dd5d8=_0x347e9f[_0x154bf6(0x110)];return{'left':_0x2e21c3,'top':this[_0x154bf6(0x118)](_0xe32c22,_0x2dd5d8,_0x5b1fc4)};}[_0x144ded(0x118)](_0x294c06,_0x312202,_0x1792cc){const _0x2cb109=_0x144ded,_0x139852=new _0x1519fe(_0x260619[_0x2cb109(0xc6)]),_0x1907ea=_0x294c06[_0x2cb109(0xf0)](_0x2c40fa=>_0x2c40fa[_0x2cb109(0xd6)]())[_0x2cb109(0xd3)](_0x100002=>_0x100002),_0x2a07ff=_0x1519fe[_0x2cb109(0xf8)](_0x1907ea);if(!_0x2a07ff)return Math[_0x2cb109(0xdc)](_0x1792cc[_0x2cb109(0xf4)]+_0x1792cc[_0x2cb109(0x110)]/0x2);const _0x50a3a5=_0x139852[_0x2cb109(0xe7)](_0x2a07ff);if(!_0x50a3a5)return Math[_0x2cb109(0xdc)](_0x1792cc[_0x2cb109(0xf4)]+_0x1792cc[_0x2cb109(0x110)]/0x2);const _0x27e7d3=_0x1792cc[_0x2cb109(0xd6)](),_0x473883=_0x27e7d3&&_0x2a07ff[_0x2cb109(0x110)]>_0x27e7d3[_0x2cb109(0x110)],_0x11170e=_0x50a3a5[_0x2cb109(0xf4)],_0x1cb788=_0x50a3a5[_0x2cb109(0xe3)];if(_0x473883){const _0xdf0b41=(_0x27e7d3||_0x139852)[_0x2cb109(0x110)]/0x2-_0x312202/0x2,_0x4c6bbc=_0x11170e-$-_0x1792cc[_0x2cb109(0xf4)],_0x4c1ade=_0x1792cc[_0x2cb109(0xe3)]-_0x1cb788-$;return _0x4c6bbc>=_0x312202?Math[_0x2cb109(0xc0)]($,_0x11170e-_0x312202-$):_0x4c1ade>=_0x312202?_0x1cb788+$:Math[_0x2cb109(0xc0)]($,_0xdf0b41);}const _0x138d50=_0x11170e-_0x312202,_0x154526=_0x1792cc[_0x2cb109(0xe3)]-_0x1cb788-$,_0x204f41=_0x11170e-$-_0x1792cc[_0x2cb109(0xf4)];let _0x230372;if(_0x154526>=_0x312202)_0x230372=_0x1cb788+$;else{if(_0x204f41>=_0x312202)_0x230372=_0x138d50-$;else _0x230372=_0x11170e+_0x2a07ff[_0x2cb109(0x110)]/0x2-_0x312202/0x2;}return _0x230372;}[_0x144ded(0xfb)](){const _0x9e9234=_0x144ded,_0x406c0b=_0x21b57f(this[_0x9e9234(0xea)]);this[_0x9e9234(0xcc)](_0x406c0b[_0x9e9234(0xe6)][_0x9e9234(0xee)],_0x9e9234(0xd8),()=>{const _0x20a486=_0x9e9234;if(!this[_0x20a486(0x102)]){for(const {name:_0x22317c,data:{newRange:_0x24c39a}}of _0x406c0b[_0x20a486(0xe6)][_0x20a486(0xee)][_0x20a486(0xc7)][_0x20a486(0x115)]())if(_0x22317c[_0x20a486(0x10c)](_0xa6514a+':')&&(_0x24c39a&&(_0x24c39a[_0x20a486(0xdf)][_0x20a486(0xf1)](_0x24c39a[_0x20a486(0xf2)])||_0x20a486(0x108)==_0x24c39a[_0x20a486(0xe0)][_0x20a486(0xff)])||null==_0x24c39a)){const _0x22fdba=_0x4c8fec(this[_0x20a486(0xea)][_0x20a486(0xf3)],_0x20a486(0x104));this[_0x20a486(0xf7)][_0x20a486(0xe8)][_0x20a486(0xcf)](_0x22fdba),this[_0x20a486(0xbd)](_0x20a486(0xe5));}}});}[_0x144ded(0x101)](){const _0x55e431=_0x144ded,_0x367653=_0x21b57f(this[_0x55e431(0xea)]);this[_0x55e431(0xf7)][_0x55e431(0xe8)][_0x55e431(0xd0)](),this[_0x55e431(0xc3)](_0x367653[_0x55e431(0xe6)][_0x55e431(0xee)]);}[_0x144ded(0xda)](){const _0x4ed89d=_0x144ded,_0xc9d4f3=_0x21b57f(this[_0x4ed89d(0xea)]);return _0x212b7d(_0xc9d4f3[_0x4ed89d(0xc9)],[..._0xc9d4f3[_0x4ed89d(0xe6)][_0x4ed89d(0xe4)][_0x4ed89d(0x10a)](_0x4ed89d(0xe9)),..._0xc9d4f3[_0x4ed89d(0xe6)][_0x4ed89d(0xe4)][_0x4ed89d(0x10a)](_0x4ed89d(0x112))]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4820da=_0x1a83;(function(_0x3bd5c3,_0xbe874a){const _0x45f3dd=_0x1a83,_0x5eeebd=_0x3bd5c3();while(!![]){try{const _0xaf9a39=-parseInt(_0x45f3dd(0xc3))/0x1*(parseInt(_0x45f3dd(0xb1))/0x2)+parseInt(_0x45f3dd(0xc1))/0x3*(-parseInt(_0x45f3dd(0xbf))/0x4)+parseInt(_0x45f3dd(0xb8))/0x5+-parseInt(_0x45f3dd(0xae))/0x6+-parseInt(_0x45f3dd(0xac))/0x7+parseInt(_0x45f3dd(0xad))/0x8+parseInt(_0x45f3dd(0xc6))/0x9*(parseInt(_0x45f3dd(0xc2))/0xa);if(_0xaf9a39===_0xbe874a)break;else _0x5eeebd['push'](_0x5eeebd['shift']());}catch(_0x2507d2){_0x5eeebd['push'](_0x5eeebd['shift']());}}}(_0x458f,0xdec40));import{View as _0x3e4ecd}from'ckeditor5/src/ui.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x4820da(0xc9),_0x4820da(0xb2),_0x4820da(0xc5),_0x4820da(0xbb)];export class AIBalloonView extends _0x3e4ecd{[_0x4820da(0xc4)];constructor(_0x543030){const _0x3e05df=_0x4820da;super(_0x543030),this[_0x3e05df(0xb4)](_0x3e05df(0xaf),''),this[_0x3e05df(0xb4)](_0x3e05df(0xb5),!0x1);}[_0x4820da(0xc8)](_0x323db3){const _0x3d150b=_0x4820da;this[_0x3d150b(0xc0)](_0x323db3);}[_0x4820da(0xc0)](_0x48b692){const _0x27f448=_0x4820da;this[_0x27f448(0xc4)]||(this[_0x27f448(0xc4)]=this[_0x27f448(0xab)]()),this[_0x27f448(0xaf)]=_0x48b692,this[_0x27f448(0xb5)]=!0x0;}[_0x4820da(0xba)](){const _0x380e2d=_0x4820da;this[_0x380e2d(0xb5)]=!0x1;}[_0x4820da(0xab)](){const _0x1eee0c=_0x4820da,_0x2865d0=new _0x3e4ecd(this[_0x1eee0c(0xbc)]),_0x1162fa=new _0x3e4ecd(this[_0x1eee0c(0xbc)]);return _0x1162fa[_0x1eee0c(0xbe)]({'tag':_0x1eee0c(0xb9),'attributes':{'class':['ck',_0x1eee0c(0xb6)]},'children':[{'text':this[_0x1eee0c(0xb7)]['to'](_0x1eee0c(0xaf))}]}),_0x2865d0[_0x1eee0c(0xbe)]({'tag':_0x1eee0c(0xbd),'attributes':{'class':['ck',_0x1eee0c(0xc7),_0x1eee0c(0xb3),this[_0x1eee0c(0xb7)]['if'](_0x1eee0c(0xb5),_0x1eee0c(0xb0),_0x3b5aed=>!_0x3b5aed)]},'children':[_0x1162fa]}),_0x2865d0;}}function _0x1a83(_0x4e4d49,_0x36a429){const _0x458f12=_0x458f();return _0x1a83=function(_0x1a83cc,_0x51a8b2){_0x1a83cc=_0x1a83cc-0xab;let _0x628bc9=_0x458f12[_0x1a83cc];return _0x628bc9;},_0x1a83(_0x4e4d49,_0x36a429);}function _0x458f(){const _0xd67571=['hideError','showPrevious','locale','div','setTemplate','31196krIqYJ','showError','477ewfhbg','40JLSKyr','4PYAYbc','_errorView','showNext','7734816wBUzxd','ck-ai-suggestion__error','showBlockingError','applySuggestion','_createErrorView','4437524MkDQXi','1226224wqCBlQ','9222978reRWwO','_errorMessage','ck-hidden','23358fxQprK','insertSuggestion','ck-ai-balloon-error','set','_isErrorVisible','ck-ai-suggestion__error-text','bindTemplate','3896630QrsKqK','span'];_0x458f=function(){return _0xd67571;};return _0x458f();}
|
package/src/aichat/aichat.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4382ea=_0x2a44;(function(_0x2d373a,_0x41f75c){var _0x25929f=_0x2a44,_0x2a9e36=_0x2d373a();while(!![]){try{var _0x1e165f=-parseInt(_0x25929f(0x14a))/0x1+-parseInt(_0x25929f(0x14d))/0x2+parseInt(_0x25929f(0x144))/0x3+parseInt(_0x25929f(0x131))/0x4+parseInt(_0x25929f(0x137))/0x5*(-parseInt(_0x25929f(0x134))/0x6)+-parseInt(_0x25929f(0x136))/0x7*(parseInt(_0x25929f(0x14c))/0x8)+parseInt(_0x25929f(0x145))/0x9;if(_0x1e165f===_0x41f75c)break;else _0x2a9e36['push'](_0x2a9e36['shift']());}catch(_0x408619){_0x2a9e36['push'](_0x2a9e36['shift']());}}}(_0x297e,0xc2cd5));function _0x2a44(_0x2d05d9,_0x2c0b27){var _0x297eba=_0x297e();return _0x2a44=function(_0x2a4400,_0x50fcdc){_0x2a4400=_0x2a4400-0x131;var _0x535e9b=_0x297eba[_0x2a4400];return _0x535e9b;},_0x2a44(_0x2d05d9,_0x2c0b27);}import{ContextPlugin as _0x152c6e}from'ckeditor5/src/core.js';function _0x297e(){var _0x117853=['plugins','requires','200688pGYINN','config','1050UCpNML','155FITwAQ','sendMessage','registerToolDataCallback','isPremiumPlugin','removeSelectionFromChatContext','AIChat','define','_registerToolDataCallback','focusPromptInput','ai.chat.context','addSelectionToChatContext','new','pluginName','600303nGeFcQ','28976607KccoXI','context','get','startConversation','ai.chat.initialConversation','1082746zUERnK','isOfficialPlugin','54392SdJXBH','1781644gOOeZT','5633964QrXTub'];_0x297e=function(){return _0x117853;};return _0x297e();}import{AIChatController as _0x2b2cdc}from'./aichatcontroller.js';import{AIEditing as _0x253dd2}from'../aicore/aiediting.js';import{AIChatUI as _0x1c3c56}from'./aichatui.js';import{AIChatHistory as _0x432ce2}from'../aichathistory/aichathistory.js';export class AIChat extends _0x152c6e{static get[_0x4382ea(0x133)](){return[_0x2b2cdc,_0x253dd2,_0x1c3c56,_0x432ce2];}static get[_0x4382ea(0x143)](){var _0x5669d5=_0x4382ea;return _0x5669d5(0x13c);}static get[_0x4382ea(0x14b)](){return!0x0;}static get[_0x4382ea(0x13a)](){return!0x0;}constructor(_0x39c392){var _0xa47d45=_0x4382ea;super(_0x39c392),this[_0xa47d45(0x146)][_0xa47d45(0x135)][_0xa47d45(0x13d)](_0xa47d45(0x140),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0xa47d45(0x146)][_0xa47d45(0x135)][_0xa47d45(0x13d)](_0xa47d45(0x149),_0xa47d45(0x142));}async[_0x4382ea(0x141)](){var _0x203508=_0x4382ea;await this[_0x203508(0x146)][_0x203508(0x132)][_0x203508(0x147)](_0x2b2cdc)[_0x203508(0x141)]();}async[_0x4382ea(0x148)](){var _0x170005=_0x4382ea;await this[_0x170005(0x146)][_0x170005(0x132)][_0x170005(0x147)](_0x2b2cdc)[_0x170005(0x148)]();}async[_0x4382ea(0x138)]({message:_0x28eb54,attributes:_0x1d8240}){var _0x379d67=_0x4382ea;await this[_0x379d67(0x146)][_0x379d67(0x132)][_0x379d67(0x147)](_0x2b2cdc)[_0x379d67(0x138)]({'message':_0x28eb54,'attributes':_0x1d8240});}[_0x4382ea(0x13b)](){var _0x52b0ff=_0x4382ea;this[_0x52b0ff(0x146)][_0x52b0ff(0x132)][_0x52b0ff(0x147)](_0x2b2cdc)[_0x52b0ff(0x13b)]();}[_0x4382ea(0x13f)](){var _0x2bb2a3=_0x4382ea;this[_0x2bb2a3(0x146)][_0x2bb2a3(0x132)][_0x2bb2a3(0x147)](_0x2b2cdc)[_0x2bb2a3(0x13f)]();}[_0x4382ea(0x139)](_0x4437e2){var _0x278f34=_0x4382ea;this[_0x278f34(0x146)][_0x278f34(0x132)][_0x278f34(0x147)](_0x2b2cdc)[_0x278f34(0x13e)](_0x4437e2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb6a953=_0x2707;(function(_0x99ea79,_0x675acd){const _0x29d67b=_0x2707,_0x134469=_0x99ea79();while(!![]){try{const _0x27aef0=parseInt(_0x29d67b(0xdf))/0x1+-parseInt(_0x29d67b(0x102))/0x2*(parseInt(_0x29d67b(0xdb))/0x3)+-parseInt(_0x29d67b(0xeb))/0x4+-parseInt(_0x29d67b(0xec))/0x5*(parseInt(_0x29d67b(0xe1))/0x6)+parseInt(_0x29d67b(0x101))/0x7*(-parseInt(_0x29d67b(0xd7))/0x8)+-parseInt(_0x29d67b(0xf2))/0x9*(-parseInt(_0x29d67b(0xfe))/0xa)+-parseInt(_0x29d67b(0x10e))/0xb*(-parseInt(_0x29d67b(0xee))/0xc);if(_0x27aef0===_0x675acd)break;else _0x134469['push'](_0x134469['shift']());}catch(_0xc27539){_0x134469['push'](_0x134469['shift']());}}}(_0x54c0,0xca84d));function _0x2707(_0x474e4f,_0x42ad15){const _0x54c0fa=_0x54c0();return _0x2707=function(_0x270756,_0x19467b){_0x270756=_0x270756-0xd1;let _0xdc9eb1=_0x54c0fa[_0x270756];return _0xdc9eb1;},_0x2707(_0x474e4f,_0x42ad15);}import{Plugin as _0x51a0c7}from'ckeditor5/src/core.js';import{AIBalloon as _0x34c463}from'../aiballoon/aiballoon.js';import{AI_REPLY_ACTIONS as _0x230597}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIChatBalloonView as _0xfc38d5}from'./ui/aichatballoonview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x308287}from'../aicore/utils/eventnames.js';function _0x54c0(){const _0x4dafa7=['_toggleRotatorButtonsInDialogHeader','showPrevious','previousButtonView','7578TNGTDu','editor','_chatBalloonView','config','requires','AIBalloon','_restoreDefaultViewFocus','locale','isTrackChangesOn','headerView','applySuggestion','ai.availableReplyActions','14470sXOWWy','addMany','showNext','5607Zeufad','2oTEfnD','pluginName','delegate','ck-ai-chat-balloon','updateContent','dialogClosed','Dialog','rejectSuggestion','value','focus','_createChatBalloonView','isPremiumPlugin','1738kNePqF','open','close','view','remove','once','commands','togglePartToolbarEnabled','plugins','isOfficialPlugin','set','get','2792LCakAf','aiChatBalloon','AIChatBalloon','TrackChanges','773271wHQuiE','has','nextButtonView','beforeDialogClosed','1318292ZRAoVJ','areActionsDisabled','220926NhhUau','children','showDiff','showRotator','setState','render','trackChanges','bind','toggleRotatorButtonsVisibility','insertSuggestion','4334120MyxfZZ','145zoFBjB','filter','74544eoocmg'];_0x54c0=function(){return _0x4dafa7;};return _0x54c0();}import{Dialog as _0x1911f3}from'ckeditor5/src/ui.js';export class AIChatBalloon extends _0x51a0c7{static get[_0xb6a953(0xf6)](){return[_0x1911f3,_0x34c463];}static get[_0xb6a953(0x103)](){const _0x5bf395=_0xb6a953;return _0x5bf395(0xd9);}static get[_0xb6a953(0xd4)](){return!0x0;}static get[_0xb6a953(0x10d)](){return!0x0;}[_0xb6a953(0xf4)];constructor(_0x25dc7f){const _0x429e1a=_0xb6a953;super(_0x25dc7f),this[_0x429e1a(0xd5)](_0x429e1a(0xe3),!0x1);}[_0xb6a953(0x10f)](_0x32ef81){const _0x54ef74=_0xb6a953,_0x189c52=this[_0x54ef74(0xf3)];this[_0x54ef74(0xf4)]||(this[_0x54ef74(0xf4)]=this[_0x54ef74(0x10c)]()),_0x189c52[_0x54ef74(0xd3)][_0x54ef74(0xd6)](_0x54ef74(0xf7))[_0x54ef74(0x10f)]({..._0x32ef81,'id':_0x54ef74(0xd8),'class':_0x54ef74(0x105),'mainView':this[_0x54ef74(0xf4)]}),this[_0x54ef74(0xef)](_0x32ef81[_0x54ef74(0xe4)]),this[_0x54ef74(0xf4)][_0x54ef74(0xd2)](!_0x32ef81[_0x54ef74(0xe0)]),this[_0x54ef74(0xf8)]();}[_0xb6a953(0x110)](){const _0x51ea03=_0xb6a953;this[_0x51ea03(0xf3)][_0x51ea03(0xd3)][_0x51ea03(0xd6)](_0x51ea03(0xf7))[_0x51ea03(0x110)]();}[_0xb6a953(0x106)](_0x170520){const _0x67b50=_0xb6a953;return this[_0x67b50(0xf4)]||(this[_0x67b50(0xf4)]=this[_0x67b50(0x10c)]()),this[_0x67b50(0xf4)][_0x67b50(0x106)](_0x170520);}[_0xb6a953(0xe5)](_0x455de6){const _0x159766=_0xb6a953;this[_0x159766(0xf4)]&&this[_0x159766(0xf4)][_0x159766(0xe5)](_0x455de6);}[_0xb6a953(0x10c)](){const _0x104bdb=_0xb6a953,_0x18202f=this[_0x104bdb(0xf3)],_0x1fbd59=_0x18202f[_0x104bdb(0xd3)][_0x104bdb(0xd6)](_0x104bdb(0xf7)),_0x2a8e33=_0x18202f[_0x104bdb(0xd1)][_0x104bdb(0xd6)](_0x104bdb(0xe7));let _0x919c81=_0x18202f[_0x104bdb(0xf5)][_0x104bdb(0xd6)](_0x104bdb(0xfd))||[..._0x230597];_0x18202f[_0x104bdb(0xd3)][_0x104bdb(0xdc)](_0x104bdb(0xda))||(_0x919c81=_0x919c81[_0x104bdb(0xed)](_0x3b9bc5=>_0x104bdb(0xea)!=_0x3b9bc5));const _0x3d704c=new _0xfc38d5(_0x18202f[_0x104bdb(0xf9)],{'availableActions':_0x919c81,'showApplyButton':!0x0,'showSuggestButton':!!_0x2a8e33});return _0x3d704c[_0x104bdb(0xe8)](_0x104bdb(0xe3))['to'](this),_0x3d704c[_0x104bdb(0x104)](..._0x308287)['to'](this),_0x3d704c[_0x104bdb(0x104)](_0x104bdb(0xf0),_0x104bdb(0x100))['to'](this),_0x1fbd59[_0x104bdb(0x104)](_0x104bdb(0x107))['to'](this),_0x3d704c['on'](_0x104bdb(0xfc),this[_0x104bdb(0xf8)][_0x104bdb(0xe8)](this)),_0x3d704c['on'](_0x104bdb(0xea),this[_0x104bdb(0xf8)][_0x104bdb(0xe8)](this)),_0x3d704c['on'](_0x104bdb(0x109),this[_0x104bdb(0xf8)][_0x104bdb(0xe8)](this)),_0x2a8e33&&_0x3d704c[_0x104bdb(0xe8)](_0x104bdb(0xfa))['to'](_0x2a8e33,_0x104bdb(0x10a)),_0x3d704c[_0x104bdb(0xe6)](),_0x3d704c;}[_0xb6a953(0xef)](_0x24e614){const _0x33c026=_0xb6a953,_0x3f1f1e=this[_0x33c026(0xf3)],_0x267bb8=_0x3f1f1e[_0x33c026(0xd3)][_0x33c026(0xd6)](_0x33c026(0x108))[_0x33c026(0x111)][_0x33c026(0xfb)][_0x33c026(0xe2)];this[_0x33c026(0xf4)][_0x33c026(0xe9)](_0x24e614),_0x267bb8[_0x33c026(0xdc)](this[_0x33c026(0xf4)][_0x33c026(0xf1)])||(_0x267bb8[_0x33c026(0xff)]([this[_0x33c026(0xf4)][_0x33c026(0xf1)],this[_0x33c026(0xf4)][_0x33c026(0xdd)]],0x0),_0x3f1f1e[_0x33c026(0xd3)][_0x33c026(0xd6)](_0x33c026(0xf7))[_0x33c026(0x113)](_0x33c026(0xde),()=>{const _0x297230=_0x33c026;_0x267bb8[_0x297230(0x112)](this[_0x297230(0xf4)][_0x297230(0xf1)]),_0x267bb8[_0x297230(0x112)](this[_0x297230(0xf4)][_0x297230(0xdd)]);}));}[_0xb6a953(0xf8)](){const _0x46c8aa=_0xb6a953;this[_0x46c8aa(0xf4)][_0x46c8aa(0x10b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5445bf=_0x2146;(function(_0x1edd6d,_0x289f68){const _0x29ec1a=_0x2146,_0x24b769=_0x1edd6d();while(!![]){try{const _0x2515d8=-parseInt(_0x29ec1a(0x1e5))/0x1+-parseInt(_0x29ec1a(0x1d7))/0x2+-parseInt(_0x29ec1a(0x2b2))/0x3+-parseInt(_0x29ec1a(0x2ad))/0x4*(parseInt(_0x29ec1a(0x255))/0x5)+parseInt(_0x29ec1a(0x2ab))/0x6+parseInt(_0x29ec1a(0x1e8))/0x7+parseInt(_0x29ec1a(0x24c))/0x8;if(_0x2515d8===_0x289f68)break;else _0x24b769['push'](_0x24b769['shift']());}catch(_0x8fef1c){_0x24b769['push'](_0x24b769['shift']());}}}(_0x41bf,0x33bd9));import{ContextPlugin as _0x4c1f5f,Editor as _0xa6309}from'ckeditor5/src/core.js';import{BodyCollection as _0x1a2c57}from'ckeditor5/src/ui.js';import{CKEditorError as _0x37642f,logError as _0x32f4ac,scrollViewportToShowTarget as _0x2cdfe0,uid as _0xafb963}from'ckeditor5/src/utils.js';function _0x41bf(){const _0x285269=['ai-chat-context-form-data-size-limits-exceeded','removeSelectionFromChatContext','get','children','config','handleRemovedConversation','handleUserInteraction','ai.models.defaultModelId','clearConversationContextUI','indexes','AI_CHAT_CONTEXT_INVALID_DATA','showChangeInText','partIndex','conversationInitialized','_getPresentableSiblingContentPartIndex','setFeedItemRenderingStrategy','ai-chat-conversation-not-found','_bodyCollection','$graveyard','_aiChatUi','main','applySuggestion','rejected','prepareLoadingMessage','focusPromptInput','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','sourceResourcesLoaded','interactionDestroyed','_logError','setSelectedModel','applyOperation','addCurrentDocumentToContext','replyChangeGroupStateUpdated','change','stop','ai-chat-invalid-request','getConversation','removeSelectionFromContext','find','getPath','getTransformedByOperation','getChildAtOffset','batch','message','areActionsDisabled','updateFeedItemAIReplySources','collaboration.channelId','resetMessageInput','finishInteraction','_insertSuggestion','index','_rejectSuggestion','activeConversation','isPremiumPlugin','setModel','AI_CHAT_ABORTED_MESSAGE','ai-chat-conversation-start-failed','filter','contextItemAdded','mouseOverSuggestion','data','AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','_aiChatBalloon','rootName','ai-chat-context-file-too-large','getDiff','howMany','next','history','ai.chat.context','accepted','setIsUploadInProgress','domConverter','getGroupId','createRange','range','capabilitiesUpdated','_showConversationHistory','uid','ai-request-aborted','Undo','callback','AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','ai-chat-source-resources-load-failed','forEach','aiChatBalloon','closeSourceResourceBalloon','ai-chat-controller-mouse-over','type','delete','dislike','getInteractionAndReplyById','webSearchStarted','cloneNode','_stopLastInteraction','updateContent','static','contextItemRemoved','editors','_openBalloonFor','getInteraction','AIChatBalloon','populateSourceResourceBalloon','startsWith','log','version','like','getConversations','toggleReasoning','Showing\x20conversation\x20history...','getRanges','ai-chat-context-unsupported-type','sourceId','resourceStateChanged','createdAt','contextSent','addFeedItemUserMessage','query','root','_toggleReasoning','fetchConversation','createConversation','updateResourceState','createReply','loadConversation','context','node','modelSelected','addFeedItemStaticMessage','close','updateConversationTitle','AI_CHAT_UNABLE_TO_START_CONVERSATION','isOfficialPlugin','clearLoadingMessage','toggleWebSearch','ai-chat-resource-load-failed','_batchToChanges','ai-chat-context-invalid-data','addFeedItemAIReply','sendUserMessage','setContextItemLoading','model','updateCapabilities','reasoningFinished','_getAIChatInteractionAPI','length','getDocumentContext','isDisabled','changes','webSearchFinished','_aiChatModels','currentReply','sources','_registerToolDataCallback','AIChatUI','outdated','AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','addContextOptionsChanged','530446BqAMXK','removeFromContext','enableControls','source','addUrlToContext','updateFeedItemAIReplySuggestionPartState','load','_updateRatings','showPrevious','AI_BALLOON_HEADER_TITLE','getSelectionText','getAttribute','contextItemLoadingEnded','toggleSuggestionDisplayMode','339703SKLuiL','findIndex','detachFromDom','2481255JoeTWX','open','_flushLastInteractionUI','maxOffset','_getUserPresentableContentPartDocumentRange','editing','plugins','interactionStarted','sourcePosition','scrollFeedToSuggestion','done','toViewRange','toString','loadSourceResources','clearPendingContextUI','resizedTabs','showFakeVisualSelection','ai-chat-file-upload-failed','streaming','_startConversationSafely','stopInteraction','updateCurrentDocumentInContext','ai-chat-context-unsupported-file-type','contextItems','isLoading','setIsMaximized','remove','addOperation','ready','options','push','_handleStartConversation','isModelAvailable','isCurrentDocumentInConversation','AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','listenTo','revert','addCurrentDocumentToChatContext','new','Liked\x20response','resetConversationTitle','toolDataReceived','start','setConversationTitle','anchorId','dialogClosed','getReply','_updateReplyContent','slice','lastInteraction','modification','replies','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','disableControls','nextSibling','ai-no-track-changes','uiId','Disliked\x20response','addDocumentToContext','AIEditing','split','ai-chat-url-upload-failed','resource','AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','addSelectionToContext','destroy','parse','pending','isUploadInProgress','selection','insertSuggestion','redo','from','AI_CHAT_UNTITLED_CONVERSATION','getDocumentData','state','chat','_setIsMaximized','lastCreated','showNext','activateTab','addFeedItemCustomElement','AI_CHAT_INVALID_REQUEST','ai.models','fetchConversations','_getDocumentRangeForReplyChanges','afterInit','mapper','createPositionAt','rejectSuggestion','addFilesToContext','setConversationContext','AI_CHAT_RESOURCE_LOAD_FAILED','showDiff','_getLastCreatedConversationId','getAll','baseVersion','AITabs','resourceId','AI_CHAT_CONTEXT_FILE_TOO_LARGE','7740760FrmJCa','TrackChanges','uploadProgressChanged','removeFeedInteraction','isStarted','bind','startInteraction','has','updateFeedItemAIReplySuggestionContent','5uWzbeW','resources','ai-chat-controller-no-active-conversation','replyId','ai-chat-missing-channel-id','toggleLoadingSkeleton','changeGroups','selectModel','TrackChangesEditing','reasoningStarted','_currentPreviewedChangeGroup','setState','viewRangeToDom','abortPromptStream','includes','setFeedItemAIReplySuggestionPartActive','getOperations','undo','selectedModel','_aiConnector','set','setChangeGroupState','delegate','resize','resetWebSearchState','AIConnector','map','init','upsertAIChatRating','ai.chat.initialConversation','_aiEditing','DocumentCompare','contextItem','sendMessage','executeCustomItemCallback','hideFakeVisualSelection','AIChatController','removeContextItem','resetReasoningState','addResourceToContext','ai-conversation-','_applyOperationsAsSuggestions','end','path','ai-chat-context-file-too-many-pages','requires','error','attachToDom','startAutoScroll','setAddContextOptions','interactionFinished','ai-chat-conversation-init-failed','marker','hasChanges','locale','view','text','unshift','add','commands','isDocumentOperation','previous','AI_CHAT_GENERIC_ERROR','addFileToContext','interactionCreated','data-id','_scrollToSuggestionRange','messageId','addFeedItemAISuggestion','isInContext','_integrateEditor','_applySuggestion','addContextItem','alignToTop','_aiChatBalloonShowDiff','_handleUIUserMessage','getFirstRange','_toggleWebSearch','pluginName','resizeTabs','replyContentUpdated','interactionId','getChild','removed','createPositionFromPath','AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','535398iWICFo','content','1592356HxSftW','isCurrentDocumentInContext','addFeedItemError','addSelectionToChatContext','startConversation','589047zVzCfM','document','_createFromRanges','addFeedInteractionHeader','getChildren','getRoot','getContentParts','indexOf','sessionId','setLoadingMessage','current-document','_removeFromContext','documentContextContent','replyCreated','updateFeedItemAIReplyContent','mouseLeaveSuggestion'];_0x41bf=function(){return _0x285269;};return _0x41bf();}import{AIConnector as _0x134032}from'../aicore/aiconnector.js';import{AITabs as _0x3608de}from'../aitabs/aitabs.js';import{AIChatConversation as _0x5eeb0c}from'./model/aichatconversation.js';import{getTranslation as _0x130df6}from'../aicore/utils/common-translations.js';import{AIModels as _0x10fadd}from'../aicore/model/aimodels.js';import{getEditorFromContext as _0x1cd8a8}from'../aicore/utils/geteditorfromcontext.js';import{DocumentCompare as _0x2dafad,DATA_ID_MODEL_ATTRIBUTE as _0x4e7f6b}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x56c479,getOperationsFromReply as _0x2de689}from'../aicore/utils/getoperationsfromreply.js';import{expandSelectionWithContext as _0x4341ca,getMinimalSelection as _0x591691}from'../aicore/utils/getsuggestionpartsfromreply.js';function _0x2146(_0x152081,_0x85cccf){const _0x41bf5d=_0x41bf();return _0x2146=function(_0x2146c3,_0xd3aaaf){_0x2146c3=_0x2146c3-0x1d6;let _0x19f801=_0x41bf5d[_0x2146c3];return _0x19f801;},_0x2146(_0x152081,_0x85cccf);}import{ModelRange as _0x7d7dfd,_DetachOperation as _0x21ef70}from'ckeditor5/src/engine.js';import{findOne as _0x11fefc,getAttribute as _0x4280bc,serialize as _0x2b61cd,Document as _0x1d4d3c,findByAttribute as _0x183569}from'../aicore/utils/htmlparser.js';export class AIChatController extends _0x4c1f5f{[_0x5445bf(0x273)];[_0x5445bf(0x268)];[_0x5445bf(0x2d5)];[_0x5445bf(0x358)];[_0x5445bf(0x300)];[_0x5445bf(0x34a)]=new Map();[_0x5445bf(0x25f)]=null;[_0x5445bf(0x2d3)];static get[_0x5445bf(0x282)](){return[_0x134032,_0x2dafad];}static get[_0x5445bf(0x2a3)](){const _0x1bc913=_0x5445bf;return _0x1bc913(0x279);}static get[_0x5445bf(0x346)](){return!0x0;}static get[_0x5445bf(0x2f7)](){return!0x0;}[_0x5445bf(0x270)](){const _0x7a8a69=_0x5445bf;this[_0x7a8a69(0x2d3)]=new _0x1a2c57(this[_0x7a8a69(0x33f)][_0x7a8a69(0x28b)]),this[_0x7a8a69(0x2d3)][_0x7a8a69(0x284)](),this[_0x7a8a69(0x268)]=this[_0x7a8a69(0x33f)][_0x7a8a69(0x1ee)][_0x7a8a69(0x2c4)](_0x7a8a69(0x26e)),this[_0x7a8a69(0x2d5)]=this[_0x7a8a69(0x33f)][_0x7a8a69(0x1ee)][_0x7a8a69(0x2c4)](_0x7a8a69(0x35c)),this[_0x7a8a69(0x273)]=this[_0x7a8a69(0x33f)][_0x7a8a69(0x1ee)][_0x7a8a69(0x2c4)](_0x7a8a69(0x223)),this[_0x7a8a69(0x358)]=new _0x10fadd({'connector':this[_0x7a8a69(0x268)],'config':this[_0x7a8a69(0x33f)][_0x7a8a69(0x2c6)][_0x7a8a69(0x2c4)](_0x7a8a69(0x23b)),'locale':this[_0x7a8a69(0x33f)][_0x7a8a69(0x28b)]});const _0x446b1a=this[_0x7a8a69(0x33f)][_0x7a8a69(0x1ee)][_0x7a8a69(0x2c4)](_0x7a8a69(0x249));this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x2b1),()=>{const _0x3e2b68=_0x7a8a69;this[_0x3e2b68(0x1fb)]();}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x34d),(_0x6434cd,_0x549643)=>{const _0xdd29e7=_0x7a8a69;this[_0xdd29e7(0x2a0)]({'userMessage':_0x549643});}),this[_0x7a8a69(0x20b)](_0x446b1a,_0x7a8a69(0x1f7),(_0x5a82c5,_0x4799c2)=>{const _0x2fac8a=_0x7a8a69;this[_0x2fac8a(0x235)](_0x4799c2);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x2a4),()=>{const _0x9c1e24=_0x7a8a69;_0x446b1a[_0x9c1e24(0x26c)]();}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x262),async()=>{const _0x5f4478=_0x7a8a69;await this[_0x5f4478(0x320)](),await this[_0x5f4478(0x1ea)](),this[_0x5f4478(0x2c3)]();}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x222),()=>{const _0x2089b9=_0x7a8a69;this[_0x2089b9(0x20d)]();}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x294),(_0x547721,_0x2a2762)=>{const _0x14a781=_0x7a8a69;this[_0x14a781(0x2f6)]?.[_0x14a781(0x242)](Array[_0x14a781(0x230)](_0x2a2762));}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x1db),(_0x230acd,_0x27d9fe)=>{const _0x2995e7=_0x7a8a69;this[_0x2995e7(0x2f6)]?.[_0x2995e7(0x1db)](_0x27d9fe);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x277),(_0x30dedd,_0x59ec4a)=>{const _0x3a8cb4=_0x7a8a69;_0x59ec4a[_0x3a8cb4(0x313)](this[_0x3a8cb4(0x33f)]);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x27c),(_0x50b055,_0x3e3b93)=>{const _0x9422af=_0x7a8a69;this[_0x9422af(0x2f6)]?.[_0x9422af(0x27c)](_0x3e3b93[_0x9422af(0x1da)],_0x3e3b93[_0x9422af(0x226)]);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x27a),(_0x202090,_0xb5131b)=>{const _0xced8f8=_0x7a8a69;this[_0xced8f8(0x2bd)](_0xb5131b);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x1f5),(_0x582c75,_0x572e3c)=>{const _0xd66d66=_0x7a8a69;this[_0xd66d66(0x2f6)]?.[_0xd66d66(0x1f5)](_0x572e3c[_0xd66d66(0x332)],_0x572e3c[_0xd66d66(0x337)],_0x572e3c[_0xd66d66(0x310)]);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x348),()=>{const _0x5ad86f=_0x7a8a69;this[_0x5ad86f(0x2a2)]();}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x32e),()=>{const _0x20b5f9=_0x7a8a69;this[_0x20b5f9(0x339)]();}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x25c),(_0xfab047,_0x2714ae)=>{const _0x46c1a1=_0x7a8a69;this[_0x46c1a1(0x2f6)]?.[_0x46c1a1(0x2f8)](_0x2714ae);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x32c),(_0x35dfe6,{replyId:_0x492f2c})=>{const _0x17d017=_0x7a8a69;console[_0x17d017(0x32a)](_0x17d017(0x20f),_0x492f2c);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x31c),(_0x21815c,{replyId:_0xad8fd5})=>{const _0x543ab1=_0x7a8a69;console[_0x543ab1(0x32a)](_0x543ab1(0x221),_0xad8fd5);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x22e),(_0x35338c,_0x5a6ad5)=>{const _0x5e538f=_0x7a8a69;this[_0x5e538f(0x2f3)](_0x5a6ad5);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x2cd),(_0x5b7fe9,{replyId:_0x1d4593,partIndex:_0x4c0c78})=>{const _0x53bfb6=_0x7a8a69;this[_0x53bfb6(0x29f)]=this[_0x53bfb6(0x2d5)][_0x53bfb6(0x245)],this[_0x53bfb6(0x325)](_0x1d4593,_0x4c0c78);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x2fd),(_0x16108f,{replyId:_0x3504f4,partIndex:_0x393d44})=>{const _0x1c4285=_0x7a8a69,_0x5c151b=this[_0x1c4285(0x23d)](_0x3504f4,_0x393d44);_0x5c151b&&_0x1c4285(0x2d4)!=_0x5c151b[_0x1c4285(0x30d)][_0x1c4285(0x338)][_0x1c4285(0x301)]&&this[_0x1c4285(0x273)][_0x1c4285(0x1f8)]([_0x5c151b[_0x1c4285(0x30d)]],_0x1c4285(0x319));}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x2c1),()=>{const _0x456d69=_0x7a8a69;this[_0x456d69(0x273)][_0x456d69(0x278)](_0x456d69(0x319));}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x2d7),(_0x12d711,_0xff4fb6)=>{const _0x419441=_0x7a8a69;this[_0x419441(0x273)][_0x419441(0x278)](_0x419441(0x319)),this[_0x419441(0x29c)](_0xff4fb6);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x1e4),async(_0x128ecf,{replyId:_0x1f03c9,showDiff:_0x2453c1})=>{const _0x2d87b4=_0x7a8a69,{reply:_0x375286}=this[_0x2d87b4(0x31d)](_0x1f03c9),_0x5f2de7=_0x375286[_0x2d87b4(0x2b8)]({'showDiff':_0x2453c1});await this[_0x2d87b4(0x2d5)][_0x2d87b4(0x254)]({'id':_0x375286['id'],'parts':_0x5f2de7,'renderingStrategy':_0x2d87b4(0x322)});}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x2d5)],_0x7a8a69(0x241),(_0x55728c,{replyId:_0x4d850d,partIndex:_0x1487fa})=>{const _0x155821=_0x7a8a69;this[_0x155821(0x2f5)]({'replyId':_0x4d850d,'partIndex':_0x1487fa}),this[_0x155821(0x273)][_0x155821(0x278)](_0x155821(0x319));}),this[_0x7a8a69(0x33f)][_0x7a8a69(0x1ee)][_0x7a8a69(0x253)](_0x7a8a69(0x327))&&(this[_0x7a8a69(0x300)]=this[_0x7a8a69(0x33f)][_0x7a8a69(0x1ee)][_0x7a8a69(0x2c4)](_0x7a8a69(0x327)),this[_0x7a8a69(0x269)](_0x7a8a69(0x29f),!0x1),this[_0x7a8a69(0x300)][_0x7a8a69(0x251)](_0x7a8a69(0x245))['to'](this,_0x7a8a69(0x29f)),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x300)],_0x7a8a69(0x1e4),()=>{const _0x571499=_0x7a8a69,{replyId:_0x5ac10e,partIndex:_0x2f1ab1}=this[_0x571499(0x25f)];this[_0x571499(0x29f)]=!this[_0x571499(0x29f)];const {reply:_0x5a02c8}=this[_0x571499(0x31d)](_0x5ac10e),_0x3d665a=_0x5a02c8[_0x571499(0x2b8)]({'showDiff':this[_0x571499(0x29f)],'groupIndex':_0x2f1ab1});this[_0x571499(0x300)][_0x571499(0x321)]({'part':_0x3d665a[0x0],'renderingStrategy':_0x571499(0x322),'keepErrors':!0x0});}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x300)],_0x7a8a69(0x2d7),()=>{const _0x57f03b=_0x7a8a69,{replyId:_0x3121ce,partIndex:_0x253b06}=this[_0x57f03b(0x25f)];this[_0x57f03b(0x29c)]({'replyId':_0x3121ce,'partIndex':_0x253b06}),this[_0x57f03b(0x300)][_0x57f03b(0x260)](_0x57f03b(0x308));}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x300)],_0x7a8a69(0x22e),()=>{const _0x379185=_0x7a8a69,{replyId:_0x1338df,partIndex:_0x25d180}=this[_0x379185(0x25f)];this[_0x379185(0x2f3)]({'replyId':_0x1338df,'partIndex':_0x25d180}),this[_0x379185(0x300)][_0x379185(0x260)](_0x379185(0x308));}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x300)],_0x7a8a69(0x241),()=>{const _0x375f83=_0x7a8a69,{replyId:_0x298cd9,partIndex:_0x545de0}=this[_0x375f83(0x25f)];this[_0x375f83(0x2f5)]({'replyId':_0x298cd9,'partIndex':_0x545de0}),this[_0x375f83(0x300)][_0x375f83(0x260)](_0x375f83(0x2d8));}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x300)],_0x7a8a69(0x237),()=>{const _0x389a01=_0x7a8a69,{replyId:_0x94fe4c,partIndex:_0x182638}=this[_0x389a01(0x25f)],_0x2c93eb=this[_0x389a01(0x2d0)](_0x94fe4c,_0x182638,_0x389a01(0x305));null!==_0x2c93eb&&this[_0x389a01(0x325)](_0x94fe4c,_0x2c93eb);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x300)],_0x7a8a69(0x1df),()=>{const _0x2a3416=_0x7a8a69,{replyId:_0x428451,partIndex:_0x398890}=this[_0x2a3416(0x25f)],_0x18f096=this[_0x2a3416(0x2d0)](_0x428451,_0x398890,_0x2a3416(0x292));null!==_0x18f096&&this[_0x2a3416(0x325)](_0x428451,_0x18f096);}),this[_0x7a8a69(0x20b)](this[_0x7a8a69(0x300)],_0x7a8a69(0x215),(_0x27b690,{id:_0x3c1d3d})=>{const _0x2cd8c6=_0x7a8a69;if(_0x2cd8c6(0x317)!==_0x3c1d3d)return;const {replyId:_0x8459dd,partIndex:_0x3278d0}=this[_0x2cd8c6(0x25f)];this[_0x2cd8c6(0x25f)]=null,this[_0x2cd8c6(0x2d5)][_0x2cd8c6(0x264)]({'id':_0x8459dd,'index':_0x3278d0,'isActive':!0x1});}));}async[_0x5445bf(0x23e)](){const _0x5094da=_0x5445bf;this[_0x5094da(0x33f)]instanceof _0xa6309?this[_0x5094da(0x29b)](this[_0x5094da(0x33f)]):this[_0x5094da(0x20b)](this[_0x5094da(0x33f)][_0x5094da(0x324)],_0x5094da(0x28f),(_0x54a511,_0x19ae5b)=>{const _0x735f21=_0x5094da;_0x19ae5b['on'](_0x735f21(0x204),()=>{const _0x54d4d3=_0x735f21;this[_0x54d4d3(0x29b)](_0x19ae5b);});});const _0x33c4e2=this[_0x5094da(0x33f)][_0x5094da(0x2c6)][_0x5094da(0x2c4)](_0x5094da(0x272));let _0x20b4d6=_0x33c4e2;if(_0x5094da(0x236)!=_0x33c4e2||(_0x20b4d6=await this[_0x5094da(0x246)](),_0x20b4d6))return _0x5094da(0x20e)==_0x20b4d6?this[_0x5094da(0x1fb)]():this[_0x5094da(0x33e)](_0x20b4d6);}async[_0x5445bf(0x229)](){const _0x1288b8=_0x5445bf;return await this[_0x1288b8(0x320)](),this[_0x1288b8(0x2d3)][_0x1288b8(0x1e7)](),super[_0x1288b8(0x229)]();}[_0x5445bf(0x2f3)](_0x49f652){const _0xaa027b=_0x5445bf,_0xf23b17=_0x1cd8a8(this[_0xaa027b(0x33f)]);if(!_0xf23b17[_0xaa027b(0x1ee)][_0xaa027b(0x253)](_0xaa027b(0x24d)))throw new _0x37642f(_0xaa027b(0x21f),null);const _0x15de9e=this[_0xaa027b(0x33f)][_0xaa027b(0x1ee)][_0xaa027b(0x2c4)](_0xaa027b(0x274)),{reply:_0x2446fb,interaction:_0x267378}=this[_0xaa027b(0x31d)](_0x49f652[_0xaa027b(0x258)]),_0x4a3a1e=this[_0xaa027b(0x23d)](_0x49f652[_0xaa027b(0x258)],_0x49f652[_0xaa027b(0x2ce)]),_0x58e0c7=void 0x0!==_0x49f652[_0xaa027b(0x2ce)]?[_0x2446fb[_0xaa027b(0x25b)][_0x49f652[_0xaa027b(0x2ce)]]]:_0x2446fb[_0xaa027b(0x25b)][_0xaa027b(0x2fb)](_0x16c42c=>_0xaa027b(0x22b)==_0x16c42c[_0xaa027b(0x233)]),_0x2b0e2c=_0x58e0c7[_0xaa027b(0x26f)](_0x4a7430=>_0x2446fb[_0xaa027b(0x25b)][_0xaa027b(0x2b9)](_0x4a7430));if(!_0x4a3a1e||_0xaa027b(0x2d4)==_0x4a3a1e[_0xaa027b(0x30d)][_0xaa027b(0x338)][_0xaa027b(0x301)])return void _0x2b0e2c[_0xaa027b(0x316)](_0x59a1ef=>_0x2446fb[_0xaa027b(0x26a)](_0x59a1ef,_0xaa027b(0x35d)));_0x2b0e2c[_0xaa027b(0x316)](_0x121129=>_0x2446fb[_0xaa027b(0x26a)](_0x121129,_0xaa027b(0x308)));const _0x5ca64c=_0x2de689({'editor':_0xf23b17,'reply':_0x2446fb,'interaction':_0x267378,'groups':_0x58e0c7,'transform':!0x0,'documentCompare':_0x15de9e,'documentCompareOptions':{'anchor':_0xaa027b(0x2d6),'markDeletions':!0x0}});let _0x245057;_0x4a3a1e&&this[_0xaa027b(0x297)](_0x4a3a1e[_0xaa027b(0x30d)]),_0xf23b17[_0xaa027b(0x34f)][_0xaa027b(0x2e3)](_0x109217=>{const _0x4691ee=_0xaa027b;_0x245057=_0x109217[_0x4691ee(0x2ec)],_0xf23b17[_0x4691ee(0x1ee)][_0x4691ee(0x2c4)](_0x4691ee(0x25d))[_0x4691ee(0x27e)](_0x5ca64c),this[_0x4691ee(0x273)][_0x4691ee(0x278)](_0x4691ee(0x319));}),this[_0xaa027b(0x34a)][_0xaa027b(0x269)](_0x245057,{'interactionId':_0x267378['id'],'replyId':_0x2446fb['id'],'indexes':_0x2b0e2c[_0xaa027b(0x218)]()}),this[_0xaa027b(0x1de)](_0x2446fb);}[_0x5445bf(0x29c)](_0x509a45){const _0x192207=_0x5445bf,_0x47a044=_0x1cd8a8(this[_0x192207(0x33f)]),_0x1693f0=this[_0x192207(0x33f)][_0x192207(0x1ee)][_0x192207(0x2c4)](_0x2dafad),{reply:_0x357039,interaction:_0x38f5fa}=this[_0x192207(0x31d)](_0x509a45[_0x192207(0x258)]),_0x11bb40=this[_0x192207(0x23d)](_0x509a45[_0x192207(0x258)],_0x509a45[_0x192207(0x2ce)]),_0x18d0be=void 0x0!==_0x509a45[_0x192207(0x2ce)]?[_0x357039[_0x192207(0x25b)][_0x509a45[_0x192207(0x2ce)]]]:_0x357039[_0x192207(0x25b)][_0x192207(0x2fb)](_0x522777=>_0x192207(0x22b)==_0x522777[_0x192207(0x233)]),_0x331d70=_0x18d0be[_0x192207(0x26f)](_0x20f6fb=>_0x357039[_0x192207(0x25b)][_0x192207(0x2b9)](_0x20f6fb));if(!_0x11bb40||_0x192207(0x2d4)==_0x11bb40[_0x192207(0x30d)][_0x192207(0x338)][_0x192207(0x301)])return void _0x331d70[_0x192207(0x316)](_0x3a3027=>_0x357039[_0x192207(0x26a)](_0x3a3027,_0x192207(0x35d)));_0x331d70[_0x192207(0x316)](_0x7255ea=>_0x357039[_0x192207(0x26a)](_0x7255ea,_0x192207(0x308)));const _0x34dd2a=_0x2de689({'editor':_0x47a044,'reply':_0x357039,'interaction':_0x38f5fa,'groups':_0x18d0be,'transform':!0x0,'documentCompare':_0x1693f0,'documentCompareOptions':{'anchor':_0x192207(0x2d6),'markDeletions':!0x1}});let _0xb24e28;_0x11bb40&&this[_0x192207(0x297)](_0x11bb40[_0x192207(0x30d)]),_0x47a044[_0x192207(0x34f)][_0x192207(0x2e3)](_0x457ed0=>{const _0x498aa8=_0x192207;_0xb24e28=_0x457ed0[_0x498aa8(0x2ec)];for(const _0x1fa324 of _0x34dd2a)_0x1fa324[_0x498aa8(0x248)]=_0x47a044[_0x498aa8(0x34f)][_0x498aa8(0x2b3)][_0x498aa8(0x32b)],_0x56c479(_0x47a044,_0x1fa324),_0x457ed0[_0x498aa8(0x2ec)][_0x498aa8(0x203)](_0x1fa324),_0x47a044[_0x498aa8(0x34f)][_0x498aa8(0x2e0)](_0x1fa324);}),this[_0x192207(0x34a)][_0x192207(0x269)](_0xb24e28,{'interactionId':_0x38f5fa['id'],'replyId':_0x357039['id'],'indexes':_0x331d70[_0x192207(0x218)]()}),this[_0x192207(0x1de)](_0x357039);}[_0x5445bf(0x2f5)](_0x23738b){const _0x747454=_0x5445bf,{reply:_0x288e35}=this[_0x747454(0x31d)](_0x23738b[_0x747454(0x258)]);_0x288e35[_0x747454(0x26a)](_0x23738b[_0x747454(0x2ce)],_0x747454(0x2d8));}[_0x5445bf(0x325)](_0x39afd5,_0x48ce9b){const _0x10712f=_0x5445bf;if(!this[_0x10712f(0x300)])return;const {reply:_0x58e9c9}=this[_0x10712f(0x31d)](_0x39afd5),_0x552edb=_0x58e9c9[_0x10712f(0x2b8)]({'showDiff':this[_0x10712f(0x29f)]});let _0x4a999b,_0x2b7a68;if(void 0x0!==_0x48ce9b?(_0x2b7a68=_0x552edb[_0x10712f(0x2e8)](_0x33520c=>_0x33520c[_0x10712f(0x2f4)]==_0x48ce9b),_0x4a999b=_0x2b7a68?.[_0x10712f(0x2f4)]):(_0x2b7a68=_0x552edb[0x0],_0x4a999b=_0x2b7a68[_0x10712f(0x2f4)]),this[_0x10712f(0x25f)]?.[_0x10712f(0x258)]==_0x39afd5&&this[_0x10712f(0x25f)]?.[_0x10712f(0x2ce)]==_0x4a999b)return;const _0x23a9b9=this[_0x10712f(0x1ec)](_0x39afd5,_0x58e9c9,_0x2b7a68);if(!_0x23a9b9)return void this[_0x10712f(0x300)][_0x10712f(0x343)]();this[_0x10712f(0x25f)]={'replyId':_0x39afd5,'partIndex':_0x4a999b},this[_0x10712f(0x297)](_0x23a9b9,!0x0);const _0x36328c=this[_0x10712f(0x2d0)](_0x39afd5,_0x4a999b,_0x10712f(0x305));this[_0x10712f(0x300)][_0x10712f(0x321)]({'part':_0x2b7a68,'renderingStrategy':_0x10712f(0x322)}),this[_0x10712f(0x300)][_0x10712f(0x1e9)]({'index':_0x4a999b,'title':_0x130df6(this[_0x10712f(0x33f)][_0x10712f(0x28b)],_0x10712f(0x1e0),(_0x4a999b+0x1)[_0x10712f(0x1f4)]()),'showRotator':null!==_0x36328c,'ranges':[_0x23a9b9],'areActionsDisabled':_0x58e9c9[_0x10712f(0x2ee)]}),this[_0x10712f(0x300)][_0x10712f(0x260)](_0x10712f(0x22b)),this[_0x10712f(0x2d5)][_0x10712f(0x1f1)](_0x39afd5,_0x4a999b),this[_0x10712f(0x2d5)][_0x10712f(0x264)]({'id':_0x39afd5,'index':_0x4a999b,'isActive':!0x0});}[_0x5445bf(0x2d0)](_0x5dff48,_0x469bd2,_0x3948ff){const _0x318563=_0x5445bf,{reply:_0x324131}=this[_0x318563(0x31d)](_0x5dff48),_0x59db41=_0x324131[_0x318563(0x2b8)]({'showDiff':this[_0x318563(0x29f)]});if(0x1==_0x59db41[_0x318563(0x353)])return null;const _0x9dd389=_0x59db41[_0x318563(0x1e6)](_0x1728ce=>_0x1728ce[_0x318563(0x2f4)]==_0x469bd2),_0x1d7e85=_0x318563(0x305)==_0x3948ff?0x1:-0x1;let _0x58e3a2=_0x59db41['at']((_0x9dd389+_0x1d7e85)%_0x59db41[_0x318563(0x353)])[_0x318563(0x2f4)],_0x286fb9=_0x59db41[_0x58e3a2];for(;!this[_0x318563(0x1ec)](_0x5dff48,_0x324131,_0x286fb9);){if(_0x58e3a2=_0x59db41['at']((_0x58e3a2+_0x1d7e85)%_0x59db41[_0x318563(0x353)])[_0x318563(0x2f4)],_0x58e3a2===_0x9dd389)return null;_0x286fb9=_0x59db41[_0x58e3a2];}return _0x58e3a2;}[_0x5445bf(0x1ec)](_0x2489e2,_0x35fa81,_0x1d1a0f){const _0x475fbf=_0x5445bf,_0x3b769b=_0x35fa81[_0x475fbf(0x25b)];if(!_0x1d1a0f[_0x475fbf(0x28a)])return null;const _0x1e76d6=_0x3b769b[_0x475fbf(0x2e8)](_0x3a0de7=>_0x3a0de7[_0x475fbf(0x2f4)]==_0x1d1a0f[_0x475fbf(0x2f4)]);if(_0x475fbf(0x22b)!==_0x1e76d6?.[_0x475fbf(0x233)])return null;const _0x3004de=this[_0x475fbf(0x23d)](_0x2489e2,_0x1d1a0f[_0x475fbf(0x2f4)]);if(!_0x3004de)return null;const {range:_0x35f72a,currentIndex:_0x2c818c}=_0x3004de;return _0x475fbf(0x2d4)==_0x35f72a[_0x475fbf(0x338)][_0x475fbf(0x301)]?(_0x35fa81[_0x475fbf(0x26a)](_0x2c818c,_0x475fbf(0x35d)),null):_0x3004de[_0x475fbf(0x30d)];}[_0x5445bf(0x23d)](_0x4886d6,_0x4b9c8c){const _0x3544f7=_0x5445bf,_0x14cd2e=_0x1cd8a8(this[_0x3544f7(0x33f)]),{reply:_0x936479,interaction:_0x40ffc4}=this[_0x3544f7(0x31d)](_0x4886d6),_0x31e661=_0x936479[_0x3544f7(0x25b)][_0x3544f7(0x2fb)](_0x11d8b4=>_0x3544f7(0x22b)==_0x11d8b4[_0x3544f7(0x233)]),_0x37aa35=_0x31e661[_0x3544f7(0x26f)](_0x26dfaf=>_0x936479[_0x3544f7(0x25b)][_0x3544f7(0x2b9)](_0x26dfaf));void 0x0===_0x4b9c8c&&(_0x4b9c8c=_0x37aa35[0x0]);const _0x73b7ad=_0x37aa35[_0x3544f7(0x2b9)](_0x4b9c8c);if(-0x1==_0x73b7ad)return null;const _0x1650d2=_0x31e661[_0x73b7ad],_0x67dead=new _0x1d4d3c([]),_0x36b646=new _0x1d4d3c([]);for(const _0x2ac54c of _0x1650d2[_0x3544f7(0x356)])if(_0x3544f7(0x2a8)!=_0x2ac54c[_0x3544f7(0x31a)]&&_0x36b646[_0x3544f7(0x2c5)][_0x3544f7(0x206)](_0x2ac54c[_0x3544f7(0x340)][_0x3544f7(0x31f)](!0x0)),_0x3544f7(0x20e)!=_0x2ac54c[_0x3544f7(0x31a)]){const _0x483479=_0x11fefc(_0x449ad4=>_0x4280bc(_0x449ad4,_0x3544f7(0x296))==_0x2ac54c['id'],_0x936479[_0x3544f7(0x2be)],!0x0);_0x67dead[_0x3544f7(0x2c5)][_0x3544f7(0x206)](_0x483479[_0x3544f7(0x31f)](!0x0));}if(0x0==_0x67dead[_0x3544f7(0x2c5)][_0x3544f7(0x353)]){if(_0x1650d2[_0x3544f7(0x356)][0x0][_0x3544f7(0x214)]){const _0x1fb2e4=_0x183569(_0x3544f7(0x296),_0x1650d2[_0x3544f7(0x356)][0x0][_0x3544f7(0x214)],_0x936479[_0x3544f7(0x2be)]);_0x67dead[_0x3544f7(0x2c5)][_0x3544f7(0x28e)](_0x1fb2e4[_0x3544f7(0x31f)](!0x0)),_0x36b646[_0x3544f7(0x2c5)][_0x3544f7(0x28e)](_0x1fb2e4[_0x3544f7(0x31f)](!0x0)),_0x1fb2e4[_0x3544f7(0x21e)]&&(_0x67dead[_0x3544f7(0x2c5)][_0x3544f7(0x206)](_0x1fb2e4[_0x3544f7(0x21e)][_0x3544f7(0x31f)](!0x0)),_0x36b646[_0x3544f7(0x2c5)][_0x3544f7(0x206)](_0x1fb2e4[_0x3544f7(0x21e)][_0x3544f7(0x31f)](!0x0)));}else{const _0x4a818b=_0x936479[_0x3544f7(0x2be)][_0x3544f7(0x2c5)][0x0];if(!_0x4a818b)return null;_0x67dead[_0x3544f7(0x2c5)][_0x3544f7(0x206)](_0x4a818b[_0x3544f7(0x31f)](!0x0)),_0x36b646[_0x3544f7(0x2c5)][_0x3544f7(0x206)](_0x4a818b[_0x3544f7(0x31f)](!0x0));}}const _0x3c7bb5=_0x40ffc4[_0x3544f7(0x354)](),_0x26c5de=_0x14cd2e[_0x3544f7(0x2fe)][_0x3544f7(0x22a)](_0x3c7bb5[_0x3544f7(0x2ac)]),_0x52b672=_0x2b61cd(_0x67dead),_0x400b65=_0x14cd2e[_0x3544f7(0x2fe)][_0x3544f7(0x22a)](_0x52b672),_0xdf2cb8=_0x14cd2e[_0x3544f7(0x2fe)][_0x3544f7(0x22a)](_0x52b672),_0x22b1c3=_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x240)](_0x400b65,0x0),_0x22ac21=_0x2b61cd(_0x36b646),_0x301d02={'anchor':_0x22b1c3,'markDeletions':!0x1},_0x59995f=_0x14cd2e[_0x3544f7(0x1ee)][_0x3544f7(0x2c4)](_0x2dafad)[_0x3544f7(0x303)](_0x52b672,_0x22ac21,_0x301d02)[_0x3544f7(0x265)]();if(!_0x59995f[_0x3544f7(0x353)])return null;_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x2e3)](_0x4e9119=>{const _0x378f73=_0x3544f7;for(const _0x57771a of _0x59995f)if(_0x378f73(0x202)==_0x57771a[_0x378f73(0x31a)]){const _0x57a3c4=_0x57771a[_0x378f73(0x1f0)],_0x445997=_0x57771a[_0x378f73(0x304)],_0x58f936=new _0x21ef70(_0x57a3c4,_0x445997);_0x4e9119[_0x378f73(0x2ec)][_0x378f73(0x203)](_0x58f936),_0x14cd2e[_0x378f73(0x34f)][_0x378f73(0x2e0)](_0x58f936);}else _0x378f73(0x289)!==_0x57771a[_0x378f73(0x31a)]&&(_0x57771a[_0x378f73(0x248)]=null,_0x57771a[_0x378f73(0x291)]=!0x1,_0x4e9119[_0x378f73(0x2ec)][_0x378f73(0x203)](_0x57771a),_0x14cd2e[_0x378f73(0x34f)][_0x378f73(0x2e0)](_0x57771a));});const _0x4c130b=_0x591691(_0x14cd2e,_0x59995f,_0x400b65);_0x4341ca(_0x14cd2e[_0x3544f7(0x34f)],_0x4c130b);const _0x5db813=_0x4c130b[_0x3544f7(0x2a1)]()[_0x3544f7(0x212)][_0x3544f7(0x280)][_0x3544f7(0x218)](),_0x36ebd3=_0x4c130b[_0x3544f7(0x2a1)]()[_0x3544f7(0x27f)][_0x3544f7(0x280)][_0x3544f7(0x218)](),_0x11aa64=[];let _0x26ed0e=_0x400b65,_0x44fbfa=_0xdf2cb8;for(let _0x225939=0x0;_0x225939<_0x36ebd3[_0x3544f7(0x353)];_0x225939++){const _0x50b2e0=_0x26ed0e[_0x3544f7(0x1eb)]-_0x36ebd3[_0x225939];_0x11aa64[_0x225939]=_0x44fbfa[_0x3544f7(0x1eb)]-_0x50b2e0,_0x26ed0e=_0x26ed0e[_0x3544f7(0x2eb)](_0x36ebd3[_0x225939]),_0x44fbfa=_0x44fbfa[_0x3544f7(0x2eb)](_0x11aa64[_0x225939]);}const _0x34c615=_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x30c)](_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x2a9)](_0xdf2cb8,_0x5db813),_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x2a9)](_0xdf2cb8,_0x11aa64)),_0x1aaae9=_0xdf2cb8[_0x3544f7(0x2a7)](0x0)[_0x3544f7(0x1e2)](_0x4e7f6b),_0x1ff5fa=Array[_0x3544f7(0x230)](_0x26c5de[_0x3544f7(0x2b6)]())[_0x3544f7(0x2e8)](_0x1283de=>_0x1283de[_0x3544f7(0x1e2)](_0x4e7f6b)==_0x1aaae9)[_0x3544f7(0x2e9)](),_0x572f92=_0x34c615[_0x3544f7(0x212)][_0x3544f7(0x280)][_0x3544f7(0x218)](),_0x56003e=_0x34c615[_0x3544f7(0x27f)][_0x3544f7(0x280)][_0x3544f7(0x218)]();_0x572f92[0x0]=_0x1ff5fa[0x0]+_0x572f92[0x0],_0x56003e[0x0]=_0x1ff5fa[0x0]+_0x56003e[0x0];let _0x1a39d3=_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x30c)](_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x2a9)](_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x2b3)][_0x3544f7(0x2b7)](),_0x572f92),_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x2a9)](_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x2b3)][_0x3544f7(0x2b7)](),_0x56003e));const _0x571d74=_0x14cd2e[_0x3544f7(0x34f)][_0x3544f7(0x2b3)][_0x3544f7(0x306)][_0x3544f7(0x265)](_0x3c7bb5[_0x3544f7(0x32b)]);for(const _0x103298 of _0x571d74)_0x1a39d3=_0x7d7dfd[_0x3544f7(0x2b4)](_0x1a39d3[_0x3544f7(0x2ea)](_0x103298));return{'range':_0x1a39d3,'currentIndex':_0x4b9c8c};}[_0x5445bf(0x29b)](_0x43ab24){const _0x2f91b9=_0x5445bf;if(!_0x43ab24[_0x2f91b9(0x1ee)][_0x2f91b9(0x253)](_0x2f91b9(0x312)))return;const _0x4f9ca2=_0x43ab24[_0x2f91b9(0x290)][_0x2f91b9(0x2c4)](_0x2f91b9(0x266)),_0x4ae406=_0x43ab24[_0x2f91b9(0x290)][_0x2f91b9(0x2c4)](_0x2f91b9(0x22f));this[_0x2f91b9(0x20b)](_0x4f9ca2,_0x2f91b9(0x20c),(_0x32daf9,_0x7cec32,_0x2c0139)=>{const _0x371371=_0x2f91b9,_0x5724c1=this[_0x371371(0x34a)][_0x371371(0x2c4)](_0x7cec32);if(!_0x5724c1)return;const _0x2e3ef3=this[_0x371371(0x2f6)][_0x371371(0x326)](_0x5724c1[_0x371371(0x2a6)])[_0x371371(0x216)](_0x5724c1[_0x371371(0x258)]);_0x5724c1[_0x371371(0x2cb)][_0x371371(0x316)](_0x8e461d=>_0x2e3ef3[_0x371371(0x26a)](_0x8e461d,_0x371371(0x22b))),this[_0x371371(0x34a)][_0x371371(0x31b)](_0x7cec32),this[_0x371371(0x34a)][_0x371371(0x269)](_0x2c0139,_0x5724c1);}),this[_0x2f91b9(0x20b)](_0x4ae406,_0x2f91b9(0x20c),(_0x3a912c,_0x44c9ee,_0x27cec3)=>{const _0x20e71d=_0x2f91b9,_0x2fe3fa=this[_0x20e71d(0x34a)][_0x20e71d(0x2c4)](_0x44c9ee);if(!_0x2fe3fa)return;const _0x4d5441=this[_0x20e71d(0x2f6)][_0x20e71d(0x326)](_0x2fe3fa[_0x20e71d(0x2a6)])[_0x20e71d(0x216)](_0x2fe3fa[_0x20e71d(0x258)]);_0x2fe3fa[_0x20e71d(0x2cb)][_0x20e71d(0x316)](_0x105cec=>_0x4d5441[_0x20e71d(0x26a)](_0x105cec,_0x20e71d(0x308))),this[_0x20e71d(0x34a)][_0x20e71d(0x31b)](_0x44c9ee),this[_0x20e71d(0x34a)][_0x20e71d(0x269)](_0x27cec3,_0x2fe3fa);});}async[_0x5445bf(0x33e)](_0x5b7db5){const _0x623681=_0x5445bf;this[_0x623681(0x33f)][_0x623681(0x1ee)][_0x623681(0x253)](_0x623681(0x327))&&this[_0x623681(0x33f)][_0x623681(0x1ee)][_0x623681(0x2c4)](_0x623681(0x327))[_0x623681(0x343)](),(this[_0x623681(0x33f)][_0x623681(0x1ee)][_0x623681(0x2c4)](_0x3608de)[_0x623681(0x28c)][_0x623681(0x238)](_0x623681(0x234)),this[_0x623681(0x2d5)][_0x623681(0x2d1)](_0x623681(0x322)),this[_0x623681(0x2d5)][_0x623681(0x25a)](!0x0),await this[_0x623681(0x320)]());try{await this[_0x623681(0x268)][_0x623681(0x33a)](_0x5b7db5)[_0x623681(0x2e6)](),await this[_0x623681(0x1fb)](_0x5b7db5),this[_0x623681(0x344)]('\x20'),await this[_0x623681(0x2f6)][_0x623681(0x1dd)](_0x5b7db5,this[_0x623681(0x273)][_0x623681(0x2ba)]),this[_0x623681(0x2f6)][_0x623681(0x209)]()&&this[_0x623681(0x20d)]();}catch(_0x39343c){this[_0x623681(0x2d5)][_0x623681(0x2af)]({'errorMessage':_0x130df6(this[_0x623681(0x33f)][_0x623681(0x28b)],_0x623681(0x2ff)),'id':_0x5b7db5}),this[_0x623681(0x2de)](new _0x37642f(_0x623681(0x2d2),this,{'error':_0x39343c}));}finally{this[_0x623681(0x2d5)][_0x623681(0x285)](),this[_0x623681(0x2d5)][_0x623681(0x2d1)](_0x623681(0x1fa)),this[_0x623681(0x2d5)][_0x623681(0x25a)](!0x1);}}async[_0x5445bf(0x246)](){const _0x5e2803=_0x5445bf,_0x2c3fdf=this[_0x5e2803(0x268)][_0x5e2803(0x23c)](this[_0x5e2803(0x30b)](),{'limit':0x1,'sortBy':_0x5e2803(0x334)});try{const _0x23d801=await _0x2c3fdf[_0x5e2803(0x32d)]();return _0x23d801[_0x5e2803(0x353)]?_0x23d801[0x0]['id']:_0x5e2803(0x20e);}catch(_0x2f8b87){return this[_0x5e2803(0x2d5)][_0x5e2803(0x2af)]({'errorMessage':_0x130df6(this[_0x5e2803(0x33f)][_0x5e2803(0x28b)],_0x5e2803(0x2ff)),'id':_0xafb963()}),this[_0x5e2803(0x2de)](new _0x37642f(_0x5e2803(0x288),this,{'error':_0x2f8b87})),this[_0x5e2803(0x2d5)][_0x5e2803(0x25a)](!0x1),this[_0x5e2803(0x2d5)][_0x5e2803(0x21d)](),null;}}[_0x5445bf(0x2c7)](_0x38d607){const _0x14bb86=_0x5445bf;this[_0x14bb86(0x2f6)]['id']===_0x38d607&&this[_0x14bb86(0x1fb)]();}[_0x5445bf(0x20d)](){const _0x1b13e7=_0x5445bf;this[_0x1b13e7(0x2f6)]?.[_0x1b13e7(0x2e1)](_0x130df6(this[_0x1b13e7(0x33f)][_0x1b13e7(0x28b)],_0x1b13e7(0x35f)));}async[_0x5445bf(0x2b0)](){const _0x42c6ba=_0x5445bf,_0x1f14d8=this[_0x42c6ba(0x273)][_0x42c6ba(0x1e1)]();this[_0x42c6ba(0x2f6)]?.[_0x42c6ba(0x228)](_0x1f14d8),this[_0x42c6ba(0x20d)]();}[_0x5445bf(0x2c3)](){const _0x33f41e=_0x5445bf;this[_0x33f41e(0x2f6)]?.[_0x33f41e(0x2e7)]();}[_0x5445bf(0x2da)](){const _0x49ba28=_0x5445bf;this[_0x49ba28(0x2d5)][_0x49ba28(0x2da)]();}async[_0x5445bf(0x2b1)](){const _0x1cf49f=_0x5445bf;await this[_0x1cf49f(0x1fb)]();}async[_0x5445bf(0x276)]({message:_0x4b7182,attributes:_0x2c1132}){const _0x34f5b2=_0x5445bf;await this[_0x34f5b2(0x2a0)]({'userMessage':_0x4b7182,'attributes':_0x2c1132});}[_0x5445bf(0x30b)](){const _0x2d3fb0=_0x5445bf,_0x3a2904=this[_0x2d3fb0(0x33f)][_0x2d3fb0(0x2c6)][_0x2d3fb0(0x2c4)](_0x2d3fb0(0x2f0));if(!_0x3a2904)throw new _0x37642f(_0x2d3fb0(0x259),this);return _0x3a2904;}async[_0x5445bf(0x1fb)](_0x274eb8){const _0x48060b=_0x5445bf;try{this[_0x48060b(0x2d5)][_0x48060b(0x1d9)](),await this[_0x48060b(0x207)](_0x274eb8);}catch(_0xb08eda){this[_0x48060b(0x2d5)][_0x48060b(0x2af)]({'errorMessage':_0x130df6(this[_0x48060b(0x33f)][_0x48060b(0x28b)],_0x48060b(0x345)),'id':_0x274eb8||_0xafb963()}),console[_0x48060b(0x283)](_0xb08eda),this[_0x48060b(0x2f6)]=void 0x0,this[_0x48060b(0x2d5)][_0x48060b(0x21d)]();}}async[_0x5445bf(0x207)](_0x32852c){const _0x52ff67=_0x5445bf;let _0x802c71;this[_0x52ff67(0x33f)][_0x52ff67(0x1ee)][_0x52ff67(0x253)](_0x52ff67(0x327))&&this[_0x52ff67(0x33f)][_0x52ff67(0x1ee)][_0x52ff67(0x2c4)](_0x52ff67(0x327))[_0x52ff67(0x343)](),_0x32852c||!this[_0x52ff67(0x2f6)]?_0x802c71=this[_0x52ff67(0x33f)][_0x52ff67(0x2c6)][_0x52ff67(0x2c4)](_0x52ff67(0x2c9)):this[_0x52ff67(0x2d5)][_0x52ff67(0x208)]&&(_0x802c71=this[_0x52ff67(0x2f6)][_0x52ff67(0x267)]['id']),await this[_0x52ff67(0x320)]();const _0x150435=this[_0x52ff67(0x30b)](),_0x460c18=_0x32852c||_0xafb963();this[_0x52ff67(0x2f6)]=new _0x5eeb0c({'connector':this[_0x52ff67(0x268)],'chatModels':this[_0x52ff67(0x358)],'selectedModelId':_0x802c71,'conversationId':_0x460c18,'group':_0x150435,'getEditor':()=>_0x1cd8a8(this[_0x52ff67(0x33f)]),'isFromHistory':!!_0x32852c}),this[_0x52ff67(0x2f6)][_0x52ff67(0x26b)](_0x52ff67(0x211),_0x52ff67(0x1ef))['to'](this),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x2cf),(_0x1c0576,_0x4f1f2b)=>{const _0x2ba663=_0x52ff67;this[_0x2ba663(0x2d5)][_0x2ba663(0x33b)](_0x4f1f2b),this[_0x2ba663(0x2d5)][_0x2ba663(0x2f1)](),this[_0x2ba663(0x2d5)][_0x2ba663(0x1f6)](),this[_0x2ba663(0x2d5)][_0x2ba663(0x2ca)](),_0x32852c||(this[_0x2ba663(0x2d5)][_0x2ba663(0x210)](),this[_0x2ba663(0x20d)]());}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x24e),(_0x48d576,_0x2c50df)=>{const _0x3284ca=_0x52ff67;this[_0x3284ca(0x2d5)][_0x3284ca(0x309)](_0x2c50df[_0x3284ca(0x22c)]);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x295),(_0x16455d,_0x3567e4)=>{const _0x15e33f=_0x52ff67;this[_0x15e33f(0x2d5)][_0x15e33f(0x336)](_0x3567e4);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x31e),()=>{const _0x25ade6=_0x52ff67,_0x58cbc7=this[_0x25ade6(0x2d5)][_0x25ade6(0x2d9)]({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this[_0x25ade6(0x2d5)][_0x25ade6(0x2bb)](_0x58cbc7);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x25e),()=>{const _0x4c9eb3=_0x52ff67,_0x4f717d=this[_0x4c9eb3(0x2d5)][_0x4c9eb3(0x2d9)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this[_0x4c9eb3(0x2d5)][_0x4c9eb3(0x2bb)](_0x4f717d);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x357),(_0x24d8d6,_0x223ea9)=>{const _0x5ba58a=_0x52ff67;this[_0x5ba58a(0x2d5)][_0x5ba58a(0x2b5)](_0x223ea9,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x351),(_0x47b948,_0x20f066)=>{const _0x30fa33=_0x52ff67;this[_0x30fa33(0x2d5)][_0x30fa33(0x2b5)](_0x20f066,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x1ef),()=>{const _0x4e874e=_0x52ff67;this[_0x4e874e(0x2d5)][_0x4e874e(0x252)]();}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x287),async()=>{const _0x176cde=_0x52ff67;await this[_0x176cde(0x2d5)][_0x176cde(0x2f2)]();}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x2dd),(_0x35e3bc,_0x2dc0e8)=>{const _0x44841e=_0x52ff67;this[_0x44841e(0x2d5)][_0x44841e(0x24f)](_0x2dc0e8['id']);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x213),(_0x40055b,_0x1593bd,_0x1ce365)=>{const _0x481b05=_0x52ff67;this[_0x481b05(0x344)](_0x1593bd,_0x1ce365);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x2bf),(_0x3694bb,_0x57d008)=>{const _0x450b8c=_0x52ff67;_0x450b8c(0x28d)===_0x57d008[_0x450b8c(0x31a)]?this[_0x450b8c(0x2d5)][_0x450b8c(0x34c)](_0x57d008):this[_0x450b8c(0x2d5)][_0x450b8c(0x299)](_0x57d008);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x2a5),async(_0xb1f475,_0x3ae628)=>{const _0x5618ce=_0x52ff67;await this[_0x5618ce(0x217)]({'reply':_0x3ae628});}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x2e2),(_0x2692b9,{reply:_0x3bb131,index:_0x359d28,state:_0x5bfee9})=>{const _0x4f0bab=_0x52ff67;this[_0x4f0bab(0x2d5)][_0x4f0bab(0x1dc)]({'id':_0x3bb131['id'],'index':_0x359d28,'state':_0x5bfee9}),this[_0x4f0bab(0x25f)]?.[_0x4f0bab(0x258)][_0x4f0bab(0x263)](_0x3bb131['id'])&&this[_0x4f0bab(0x25f)]?.[_0x4f0bab(0x2ce)]==_0x359d28&&this[_0x4f0bab(0x300)]?.[_0x4f0bab(0x260)](_0x5bfee9);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x2fc),(_0xd54f8a,_0x3517ed)=>{const _0x47b122=_0x52ff67;if(this[_0x47b122(0x2d5)][_0x47b122(0x29d)](_0x3517ed[_0x47b122(0x275)],_0x3517ed[_0x47b122(0x200)]),_0x47b122(0x22d)===_0x3517ed[_0x47b122(0x275)][_0x47b122(0x31a)]){const _0x293909=[..._0x1cd8a8(this[_0x47b122(0x33f)])[_0x47b122(0x34f)][_0x47b122(0x2b3)][_0x47b122(0x22d)][_0x47b122(0x330)]()];this[_0x47b122(0x273)][_0x47b122(0x1f8)](_0x293909,_0x47b122(0x27d)+this[_0x47b122(0x2f6)]?.['id']);}}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x323),(_0x55c86b,_0x20ffc1)=>{const _0x125f40=_0x52ff67;this[_0x125f40(0x2d5)][_0x125f40(0x27a)](_0x20ffc1[_0x125f40(0x220)]),_0x125f40(0x2bc)==_0x20ffc1[_0x125f40(0x220)]&&this[_0x125f40(0x2c3)](),_0x125f40(0x22d)===_0x20ffc1[_0x125f40(0x31a)]&&this[_0x125f40(0x273)][_0x125f40(0x278)](_0x125f40(0x27d)+this[_0x125f40(0x2f6)]?.['id']);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x1e3),(_0x22583a,_0x4c7ff)=>{const _0x3435e1=_0x52ff67;this[_0x3435e1(0x2d5)][_0x3435e1(0x34e)](_0x4c7ff[_0x3435e1(0x275)][_0x3435e1(0x220)],_0x4c7ff[_0x3435e1(0x200)]);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x335),(_0xcf9b66,_0x12f119)=>{const _0x25ffe9=_0x52ff67;this[_0x25ffe9(0x2d5)][_0x25ffe9(0x243)](_0x12f119[_0x25ffe9(0x1ff)]);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x1d6),(_0x5dd0ce,_0x3f9a2d)=>{const _0x4e6054=_0x52ff67;this[_0x4e6054(0x2d5)][_0x4e6054(0x286)](_0x3f9a2d[_0x4e6054(0x205)]);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x2dc),(_0x23c67a,_0xddabe6)=>{const _0x68fba7=_0x52ff67;this[_0x68fba7(0x2d5)][_0x68fba7(0x328)](_0xddabe6[_0x68fba7(0x332)],_0xddabe6[_0x68fba7(0x1da)],_0xddabe6[_0x68fba7(0x256)],_0xddabe6[_0x68fba7(0x310)]);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x333),(_0x194f1b,_0xacdb15)=>{const _0x1d82aa=_0x52ff67;this[_0x1d82aa(0x2d5)][_0x1d82aa(0x33c)](_0xacdb15[_0x1d82aa(0x332)],_0xacdb15[_0x1d82aa(0x24a)],_0xacdb15[_0x1d82aa(0x29a)]);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x30e),(_0x595c4a,_0xfb731e)=>{const _0x25d49e=_0x52ff67;this[_0x25d49e(0x2d5)][_0x25d49e(0x350)](_0xfb731e);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x341),async(_0x37fa8d,_0x404b62)=>{const _0x452b71=_0x52ff67,_0x2fdf07=(await this[_0x452b71(0x358)][_0x452b71(0x247)]())[_0x452b71(0x2e8)](_0xa2e5e=>_0xa2e5e['id']===_0x404b62[_0x452b71(0x267)]?.['id'])||null;this[_0x452b71(0x2d5)][_0x452b71(0x2df)](_0x2fdf07,_0x404b62[_0x452b71(0x355)]);}),this[_0x52ff67(0x2f6)]['on'](_0x52ff67(0x283),(_0x139538,{error:_0x39c011,interactionId:_0x2c0600,fileName:_0x5c4aea,url:_0x29b41d,sourceId:_0x410d69,sourceLabel:_0x51d190})=>{const _0x3bdf1d=_0x52ff67,_0xaee724=_0x2c0600?_0x2c0600+':'+_0xafb963():_0xafb963();_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x311))?this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x342)]({'staticMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x2f9)),'id':_0xaee724}):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x288))||_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x2fa))?(this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x345)),'id':_0xaee724}),this[_0x3bdf1d(0x2de)](_0x39c011)):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x1f9))?this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x21c),_0x5c4aea),'id':_0xaee724}):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x225))?this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x2db),_0x29b41d),'id':_0xaee724}):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x34b))?this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x2cc)),'id':_0xaee724}):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x331))?this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x35e)),'id':_0xaee724}):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x315))?(_0x410d69&&this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x318)](_0x410d69),this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x314),_0x51d190||_0x3bdf1d(0x1da)),'id':_0xaee724}),this[_0x3bdf1d(0x2de)](_0x39c011)):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x349))?(this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x244)),'id':_0xaee724}),this[_0x3bdf1d(0x2de)](_0x39c011)):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x2e5))?(this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x23a)),'id':_0xaee724}),this[_0x3bdf1d(0x2de)](_0x39c011)):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x1fe))?(this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x20a)),'id':_0xaee724}),this[_0x3bdf1d(0x2de)](_0x39c011)):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x302))?(this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x24b)),'id':_0xaee724}),this[_0x3bdf1d(0x2de)](_0x39c011)):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x281))?(this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x2aa)),'id':_0xaee724}),this[_0x3bdf1d(0x2de)](_0x39c011)):_0x39c011[_0x3bdf1d(0x2ed)][_0x3bdf1d(0x329)](_0x3bdf1d(0x2c2))?(this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x227)),'id':_0xaee724}),this[_0x3bdf1d(0x2de)](_0x39c011)):(this[_0x3bdf1d(0x2d5)][_0x3bdf1d(0x2af)]({'errorMessage':_0x130df6(this[_0x3bdf1d(0x33f)][_0x3bdf1d(0x28b)],_0x3bdf1d(0x293)),'id':_0xaee724}),this[_0x3bdf1d(0x2de)](_0x39c011));}),await this[_0x52ff67(0x2f6)][_0x52ff67(0x270)](this[_0x52ff67(0x33f)][_0x52ff67(0x2c6)][_0x52ff67(0x2c4)](_0x52ff67(0x307))),_0x32852c||await this[_0x52ff67(0x2f6)][_0x52ff67(0x212)]();}async[_0x5445bf(0x2a0)]({userMessage:_0x5988f8,attributes:_0x3cbaef}){const _0x5ad005=_0x5445bf;if(!this[_0x5ad005(0x2f6)])throw new _0x37642f(_0x5ad005(0x257));if(this[_0x5ad005(0x2f6)][_0x5ad005(0x2ae)]()){const _0x368720=await this[_0x5ad005(0x273)][_0x5ad005(0x232)]();await this[_0x5ad005(0x2f6)][_0x5ad005(0x1fd)](_0x368720);}this[_0x5ad005(0x2f6)]['id']&&this[_0x5ad005(0x2f6)][_0x5ad005(0x250)]&&await this[_0x5ad005(0x2f6)][_0x5ad005(0x2c8)]({'userMessage':_0x5988f8,'attributes':_0x3cbaef});}[_0x5445bf(0x30f)](){const _0x5ada8b=_0x5445bf;console[_0x5ada8b(0x32a)](_0x5ada8b(0x32f));}[_0x5445bf(0x235)](_0xbbcbe){const _0x6bdb51=_0x5445bf;this[_0x6bdb51(0x2d5)][_0x6bdb51(0x201)](_0xbbcbe);}[_0x5445bf(0x2de)](_0x3b3c09){const _0x57c951=_0x5445bf;_0x32f4ac(_0x3b3c09[_0x57c951(0x2ed)]);}[_0x5445bf(0x2bd)](_0x3c6be9){const _0x32ebb5=_0x5445bf;this[_0x32ebb5(0x2f6)]?.[_0x32ebb5(0x1d8)](_0x3c6be9);}[_0x5445bf(0x2a2)](){const _0x49913e=_0x5445bf;this[_0x49913e(0x2f6)]?.[_0x49913e(0x348)]();}[_0x5445bf(0x339)](){const _0x29bfaf=_0x5445bf;this[_0x29bfaf(0x2f6)]?.[_0x29bfaf(0x32e)]();}[_0x5445bf(0x31d)](_0x5e32d5){const _0x51f207=_0x5445bf,[_0x5dc2fa,_0x174bfd]=_0x5e32d5[_0x51f207(0x224)](':'),_0x1dd281=this[_0x51f207(0x2f6)][_0x51f207(0x326)](_0x5dc2fa),_0x37bf47=_0x1dd281[_0x51f207(0x216)](_0x174bfd);return{'interaction':_0x1dd281,'reply':_0x37bf47};}[_0x5445bf(0x297)](_0x418ff7,_0xba7568=!0x1){const _0x134fe7=_0x5445bf,_0x1fc5df=_0x1cd8a8(this[_0x134fe7(0x33f)]),_0x1a2bf4={'target':_0x1fc5df[_0x134fe7(0x1ed)][_0x134fe7(0x28c)][_0x134fe7(0x30a)][_0x134fe7(0x261)](_0x1fc5df[_0x134fe7(0x1ed)][_0x134fe7(0x23f)][_0x134fe7(0x1f3)](_0x418ff7)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0xba7568};_0xba7568&&(_0x1a2bf4[_0x134fe7(0x29e)]=!0x0),_0x2cdfe0(_0x1a2bf4);}[_0x5445bf(0x344)](_0x5e8014,_0x5cfb55=!0x1){const _0xfd4766=_0x5445bf;this[_0xfd4766(0x2d5)][_0xfd4766(0x213)](_0x5e8014||_0x130df6(this[_0xfd4766(0x33f)][_0xfd4766(0x28b)],_0xfd4766(0x231)),_0x5cfb55);}async[_0x5445bf(0x217)]({reply:_0x31488a,renderingStrategy:_0x321bd8}){const _0x1190ba=_0x5445bf,{id:_0x1e4ccf,interactionId:_0x3f7284,isDone:_0x4cc20e,type:_0x33b7ba,parsedContent:_0xaee533}=_0x31488a,_0x4996e1=_0x3f7284+':'+_0x1e4ccf;if(_0x1190ba(0x21a)===_0x33b7ba){const _0x5f0f29=_0x31488a[_0x1190ba(0x2b8)]({'showDiff':this[_0x1190ba(0x2d5)][_0x1190ba(0x245)]});await this[_0x1190ba(0x2d5)][_0x1190ba(0x254)]({'id':_0x4996e1,'parts':_0x5f0f29,'renderingStrategy':_0x321bd8,'isDone':_0x4cc20e});}else _0x1190ba(0x28d)===_0x33b7ba&&await this[_0x1190ba(0x2d5)][_0x1190ba(0x2c0)]({'id':_0x4996e1,'parsedContent':_0xaee533,'renderingStrategy':_0x321bd8,'isDone':_0x4cc20e});_0x4cc20e&&_0x31488a[_0x1190ba(0x35a)][_0x1190ba(0x353)]>0x0&&this[_0x1190ba(0x2d5)][_0x1190ba(0x2ef)](_0x4996e1,_0x31488a[_0x1190ba(0x35a)]);}async[_0x5445bf(0x320)](){const _0x5c17a9=_0x5445bf,_0x57a9f6=this[_0x5c17a9(0x2f6)]?.[_0x5c17a9(0x219)];_0x57a9f6&&(_0x57a9f6[_0x5c17a9(0x2e4)](),this[_0x5c17a9(0x2d5)][_0x5c17a9(0x1fc)](_0x57a9f6));}async[_0x5445bf(0x1ea)](){const _0xb648e5=_0x5445bf,_0x4b70d4=this[_0xb648e5(0x2f6)]?.[_0xb648e5(0x219)];if(_0x4b70d4){for await(const _0x3c2e03 of _0x4b70d4[_0xb648e5(0x21b)])await this[_0xb648e5(0x217)]({'reply':_0x3c2e03,'renderingStrategy':_0xb648e5(0x322)});}}[_0x5445bf(0x1de)](_0x459059){const _0x5d0f8c=_0x5445bf,_0x123361={'positiveCount':_0x459059[_0x5d0f8c(0x25b)][_0x5d0f8c(0x2fb)](_0x11a6e1=>_0x5d0f8c(0x308)===_0x11a6e1[_0x5d0f8c(0x233)])[_0x5d0f8c(0x353)],'totalCount':_0x459059[_0x5d0f8c(0x25b)][_0x5d0f8c(0x353)],'modificationId':_0x459059['id']},_0x58f5d3=this[_0x5d0f8c(0x2f6)][_0x5d0f8c(0x326)](_0x459059[_0x5d0f8c(0x2a6)])[_0x5d0f8c(0x298)];_0x58f5d3&&this[_0x5d0f8c(0x268)][_0x5d0f8c(0x271)](this[_0x5d0f8c(0x2f6)]['id'],_0x58f5d3,_0x123361);}[_0x5445bf(0x35b)](_0x15e102){const _0x252c05=_0x5445bf;let _0x1e41a7=null,_0x352990=null;this['on'](_0x252c05(0x211),(_0x5c2eaf,_0x5b4627,_0x55cc76)=>{const _0x55fb83=_0x252c05;_0x55cc76['id']!==_0x1e41a7&&(_0x1e41a7=_0x55cc76['id'],_0x352990=this[_0x55fb83(0x352)](_0x55cc76)),_0x15e102(_0x5b4627,_0x352990);});}[_0x5445bf(0x352)](_0xe1385e){const _0x18df21=_0x5445bf,_0x51b94a=this[_0x18df21(0x2d5)],_0x40b1b6=()=>{const _0x18a0f1=_0x18df21;_0xe1385e[_0x18a0f1(0x26d)](),_0xe1385e[_0x18a0f1(0x27b)](),_0x51b94a[_0x18a0f1(0x347)]();},_0x4a9911=()=>{const _0x51c142=_0x18df21;_0xe1385e[_0x51c142(0x359)]&&(_0xe1385e[_0x51c142(0x359)][_0x51c142(0x1f2)](),_0xe1385e[_0x51c142(0x359)]=void 0x0);};return{'insertTextReply':(_0x54ec78,_0x1036b5)=>{const _0x182aa5=_0x18df21;_0x4a9911(),_0x40b1b6();const _0x58b1a0=_0xe1385e[_0x182aa5(0x359)]=_0xe1385e[_0x182aa5(0x33d)]({'type':_0x182aa5(0x28d),'interactionId':_0xe1385e['id'],'content':_0x54ec78,'id':_0x1036b5||_0xafb963()});return _0x4a9911(),_0x58b1a0;},'insertCustomElement':async(_0x489810,_0x566778)=>(_0x4a9911(),_0x40b1b6(),_0x51b94a[_0x18df21(0x239)](_0x489810,_0x566778||_0xafb963())),'setLoadingMessage':_0x5149c6=>{const _0x22cd4d=_0x18df21;_0x51b94a[_0x22cd4d(0x2bb)](_0x5149c6);},'clearLoadingMessage':()=>{const _0x166166=_0x18df21;_0x51b94a[_0x166166(0x347)]();}};}}
|
|
23
|
+
const _0x1858dd=_0x5731;(function(_0x5263d6,_0x3f7d21){const _0x542681=_0x5731,_0x46ffd5=_0x5263d6();while(!![]){try{const _0x426ff0=parseInt(_0x542681(0x182))/0x1+-parseInt(_0x542681(0x1cf))/0x2*(parseInt(_0x542681(0x154))/0x3)+-parseInt(_0x542681(0x244))/0x4*(-parseInt(_0x542681(0x258))/0x5)+-parseInt(_0x542681(0x120))/0x6+parseInt(_0x542681(0x164))/0x7+parseInt(_0x542681(0x247))/0x8+-parseInt(_0x542681(0x155))/0x9*(-parseInt(_0x542681(0x1e8))/0xa);if(_0x426ff0===_0x3f7d21)break;else _0x46ffd5['push'](_0x46ffd5['shift']());}catch(_0x4623b8){_0x46ffd5['push'](_0x46ffd5['shift']());}}}(_0x1602,0x49479));import{ContextPlugin as _0x2b2eed,Editor as _0x2e49f1}from'ckeditor5/src/core.js';import{BodyCollection as _0x391435}from'ckeditor5/src/ui.js';import{CKEditorError as _0x58385f,logError as _0x233dba,scrollViewportToShowTarget as _0x531395,uid as _0x989407}from'ckeditor5/src/utils.js';import{AIConnector as _0x5755ad}from'../aicore/aiconnector.js';import{AITabs as _0xbdfbbe}from'../aitabs/aitabs.js';import{AIChatConversation as _0x12c3c9}from'./model/aichatconversation.js';import{getTranslation as _0x3acc4b}from'../aicore/utils/common-translations.js';import{AIModels as _0x13b4c5}from'../aicore/model/aimodels.js';import{getEditorFromContext as _0x5efda0}from'../aicore/utils/geteditorfromcontext.js';function _0x5731(_0x387077,_0x5aaa9c){const _0x160269=_0x1602();return _0x5731=function(_0x573155,_0x4eb6d6){_0x573155=_0x573155-0xd0;let _0x4cc8d4=_0x160269[_0x573155];return _0x4cc8d4;},_0x5731(_0x387077,_0x5aaa9c);}import{DocumentCompare as _0x503be0,DATA_ID_MODEL_ATTRIBUTE as _0x543aba}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x61bb10,getOperationsFromReply as _0x165316}from'../aicore/utils/getoperationsfromreply.js';import{expandSelectionWithContext as _0x1646cf,getMinimalSelection as _0x44f6e2}from'../aicore/utils/getsuggestionpartsfromreply.js';import{ModelRange as _0x146edd,_DetachOperation as _0x5832fc}from'ckeditor5/src/engine.js';import{findOne as _0x28410a,getAttribute as _0x59e1d5,serialize as _0x448488,Document as _0x5573d5,findByAttribute as _0x27c6fa}from'../aicore/utils/htmlparser.js';function _0x1602(){const _0x5a35b2=['_removeFromContext','anchorId','editors','fetchConversations','$graveyard','marker','updateFeedItemAIReplySources','webSearchFinished','_batchToChanges','outdated','2254044laIJJs','error','ai.models','lastInteraction','getChildren','detachFromDom','type','TrackChanges','_aiChatModels','documentContextContent','TrackChangesEditing','start','reasoningStarted','addFeedItemAIReply','reasoningFinished','_logError','resetMessageInput','selection','sourceId','getChildAtOffset','next','addFeedItemError','addFeedItemStaticMessage','getInteractionAndReplyById','open','AIEditing','ai-chat-context-file-too-large','getRoot','streaming','contextItemAdded','isDisabled','createPositionAt','add','setConversationContext','Undo','upsertAIChatRating','uid','getDocumentContext','done','setContextItemLoading','startAutoScroll','removeSelectionFromChatContext','ai.models.defaultModelId','indexOf','previous','sendMessage','selectedModel','modification','ai-chat-file-upload-failed','context','attachToDom','DocumentCompare','3FpHPOq','280647uvIkis','revert','AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','callback','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','getConversation','log','load','addSelectionToChatContext','mapper','plugins','ai-chat-url-upload-failed','ai-no-track-changes','addFeedItemUserMessage','ai-chat-conversation-init-failed','526729MBrJdA','updateConversationTitle','setConversationTitle','from','nextSibling','updateCurrentDocumentInContext','showNext','removeFeedInteraction','createConversation','slice','undo','split','state','rejected','insertSuggestion','getChild','has','document','resize','toggleSuggestionDisplayMode','sourcePosition','_applyOperationsAsSuggestions','getAttribute','_updateReplyContent','_applySuggestion','populateSourceResourceBalloon','executeCustomItemCallback','_aiChatBalloon','setIsMaximized','ai-conversation-','157040ftdwfv','pending','addFeedItemCustomElement','resetWebSearchState','loadSourceResources','getRanges','pluginName','getSelectionText','scrollFeedToSuggestion','ai.chat.context','init','selectModel','_getUserPresentableContentPartDocumentRange','AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','ai-chat-conversation-start-failed','ai-chat-context-unsupported-type','interactionStarted','getGroupId','sourceResourcesLoaded','AI_BALLOON_HEADER_TITLE','disableControls','getOperations','findIndex','changeGroups','resources','_insertSuggestion','end','getDiff','ai-chat-controller-mouse-over','interactionCreated','config','enableControls','view','_stopLastInteraction','indexes','replyId','applySuggestion','getContentParts','getFirstRange','requires','_aiChatUi','Liked\x20response','setChangeGroupState','_startConversationSafely','updateContent','accepted','replies','interactionId','ai-chat-context-invalid-data','AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','isPremiumPlugin','startsWith','node','toolDataReceived','activateTab','ai-chat-context-form-data-size-limits-exceeded','addDocumentToContext','activeConversation','createReply','get','interactionFinished','range','getAll','close','setFeedItemAIReplySuggestionPartActive','uiId','commands','query','AIConnector','forEach','createRange','_updateRatings','ai-chat-resource-load-failed','path','addOperation','afterInit','updateResourceState','894670pqDCyI','alignToTop','_rejectSuggestion','focusPromptInput','static','collaboration.channelId','isStarted','rejectSuggestion','showFakeVisualSelection','replyChangeGroupStateUpdated','AI_CHAT_ABORTED_MESSAGE','abortPromptStream','ai.chat.initialConversation','clearLoadingMessage','push','_toggleReasoning','_getAIChatInteractionAPI','_showConversationHistory','version','_getPresentableSiblingContentPartIndex','addContextItem','delete','listenTo','capabilitiesUpdated','destroy','110CuxPaK','length','_handleStartConversation','setState','main','finishInteraction','hasChanges','addSelectionToContext','createPositionFromPath','_flushLastInteractionUI','viewRangeToDom','getTransformedByOperation','_createFromRanges','_registerToolDataCallback','AI_CHAT_INVALID_REQUEST','toString','cloneNode','data-id','AI_CHAT_CONTEXT_INVALID_DATA','root','toViewRange','modelSelected','addCurrentDocumentToContext','setSelectedModel','AITabs','dislike','history','redo','mouseOverSuggestion','resourceId','updateFeedItemAIReplyContent','getConversations','clearConversationContextUI','resetConversationTitle','_integrateEditor','AI_CHAT_GENERIC_ERROR','contextItemRemoved','new','sources','getDocumentData','isLoading','resource','contextSent','contextItem','_getDocumentRangeForReplyChanges','partIndex','closeSourceResourceBalloon','isModelAvailable','_getLastCreatedConversationId','startInteraction','updateCapabilities','_aiChatBalloonShowDiff','prepareLoadingMessage','dialogClosed','addResourceToContext','getPath','AI_CHAT_UNTITLED_CONVERSATION','index','lastCreated','chat','interactionDestroyed','AIChatUI','_aiConnector','addFeedItemAISuggestion','resourceStateChanged','map','updateFeedItemAIReplySuggestionContent','createdAt','resetReasoningState','hideFakeVisualSelection','aiChatBalloon','AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','getReply','_currentPreviewedChangeGroup','isOfficialPlugin','updateFeedItemAIReplySuggestionPartState','ai-chat-controller-no-active-conversation','contextItemLoadingEnded','clearPendingContextUI','ai-request-aborted','setLoadingMessage','remove','handleRemovedConversation','addCurrentDocumentToChatContext','resizedTabs','content','ai-chat-missing-channel-id','mouseLeaveSuggestion','ai-chat-context-unsupported-file-type','find','model','_scrollToSuggestionRange','10796LegjQI','startConversation','sendUserMessage','3368072JUDZTy','parse','showPrevious','set','setModel','_setIsMaximized','removeFromContext','removeContextItem','AI_CHAT_RESOURCE_LOAD_FAILED','current-document','setAddContextOptions','isCurrentDocumentInConversation','AI_CHAT_UNABLE_TO_START_CONVERSATION','rootName','addUrlToContext','stopInteraction','bind','235jiZhlG','baseVersion','message','change','_openBalloonFor','toggleLoadingSkeleton','resizeTabs','AI_CHAT_CONTEXT_FILE_TOO_LARGE','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','Disliked\x20response','changes','currentReply','webSearchStarted','filter','messageId','delegate','areActionsDisabled','sessionId','includes','_aiEditing','fetchConversation','ai-chat-source-resources-load-failed','ai-chat-invalid-request','showDiff','addFileToContext','howMany','toggleReasoning','like','_toggleWebSearch','domConverter','contextItems','AIChatBalloon','batch','addContextOptionsChanged','ai-chat-conversation-not-found','AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','replyCreated','isCurrentDocumentInContext','children','showChangeInText','locale','handleUserInteraction','_bodyCollection','AIChatController','ready','toggleWebSearch','stop','uploadProgressChanged','_handleUIUserMessage','AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','maxOffset','setFeedItemRenderingStrategy','replyContentUpdated','isInContext','text','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','removed','options','conversationInitialized','addFilesToContext','addFeedInteractionHeader','getInteraction','removeSelectionFromContext','isUploadInProgress','editing','isDocumentOperation','source','setIsUploadInProgress','loadConversation','data','ai-chat-context-file-too-many-pages','Showing\x20conversation\x20history...','unshift','applyOperation'];_0x1602=function(){return _0x5a35b2;};return _0x1602();}export class AIChatController extends _0x2b2eed{[_0x1858dd(0xdf)];[_0x1858dd(0x226)];[_0x1858dd(0x1aa)];[_0x1858dd(0x128)];[_0x1858dd(0x17f)];[_0x1858dd(0x11e)]=new Map();[_0x1858dd(0x231)]=null;[_0x1858dd(0xf6)];static get[_0x1858dd(0x1a9)](){return[_0x5755ad,_0x503be0];}static get[_0x1858dd(0x188)](){const _0x2a5ed3=_0x1858dd;return _0x2a5ed3(0xf7);}static get[_0x1858dd(0x232)](){return!0x0;}static get[_0x1858dd(0x1b4)](){return!0x0;}[_0x1858dd(0x18c)](){const _0x1e648c=_0x1858dd;this[_0x1e648c(0xf6)]=new _0x391435(this[_0x1e648c(0x151)][_0x1e648c(0xf4)]),this[_0x1e648c(0xf6)][_0x1e648c(0x152)](),this[_0x1e648c(0x226)]=this[_0x1e648c(0x151)][_0x1e648c(0x15f)][_0x1e648c(0x1bd)](_0x1e648c(0x1c6)),this[_0x1e648c(0x1aa)]=this[_0x1e648c(0x151)][_0x1e648c(0x15f)][_0x1e648c(0x1bd)](_0x1e648c(0x225)),this[_0x1e648c(0xdf)]=this[_0x1e648c(0x151)][_0x1e648c(0x15f)][_0x1e648c(0x1bd)](_0x1e648c(0x139)),this[_0x1e648c(0x128)]=new _0x13b4c5({'connector':this[_0x1e648c(0x226)],'config':this[_0x1e648c(0x151)][_0x1e648c(0x1a0)][_0x1e648c(0x1bd)](_0x1e648c(0x122)),'locale':this[_0x1e648c(0x151)][_0x1e648c(0xf4)]});const _0x29ee4=this[_0x1e648c(0x151)][_0x1e648c(0x15f)][_0x1e648c(0x1bd)](_0x1e648c(0x200));this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x245),()=>{const _0x5a6bb1=_0x1e648c;this[_0x5a6bb1(0x1ad)]();}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x246),(_0x1e6991,_0x15472d)=>{const _0x280bb5=_0x1e648c;this[_0x280bb5(0xfc)]({'userMessage':_0x15472d});}),this[_0x1e648c(0x1e5)](_0x29ee4,_0x1e648c(0x23c),(_0x48822f,_0x2ff7bf)=>{const _0x55f645=_0x1e648c;this[_0x55f645(0x24c)](_0x2ff7bf);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0xd2),()=>{const _0x29732f=_0x1e648c;_0x29ee4[_0x29732f(0x176)]();}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x1da),async()=>{const _0x47fc39=_0x1e648c;await this[_0x47fc39(0x1a3)](),await this[_0x47fc39(0x1f1)](),this[_0x47fc39(0x149)]();}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x1ba),()=>{const _0x542752=_0x1e648c;this[_0x542752(0x23b)]();}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0xe4),(_0x570e14,_0x3c041c)=>{const _0x1f1dc6=_0x1e648c;this[_0x1f1dc6(0x1bb)]?.[_0x1f1dc6(0x107)](Array[_0x1f1dc6(0x167)](_0x3c041c));}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x255),(_0x577369,_0x3c62cc)=>{const _0x3cc6c4=_0x1e648c;this[_0x3cc6c4(0x1bb)]?.[_0x3cc6c4(0x255)](_0x3c62cc);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x17e),(_0x5386be,_0x88827c)=>{const _0x26348c=_0x1e648c;_0x88827c[_0x26348c(0x158)](this[_0x26348c(0x151)]);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x21e),(_0x2df703,_0x2280ec)=>{const _0x40aabe=_0x1e648c;this[_0x40aabe(0x1bb)]?.[_0x40aabe(0x21e)](_0x2280ec[_0x40aabe(0x10e)],_0x2280ec[_0x40aabe(0x211)]);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x24e),(_0x4fe504,_0x597823)=>{const _0x1d2a5a=_0x1e648c;this[_0x1d2a5a(0x116)](_0x597823);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x186),(_0x4dde67,_0xc5b510)=>{const _0x5267c5=_0x1e648c;this[_0x5267c5(0x1bb)]?.[_0x5267c5(0x186)](_0xc5b510[_0x5267c5(0x132)],_0xc5b510[_0x5267c5(0x1c5)],_0xc5b510[_0x5267c5(0x144)]);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0xf9),()=>{const _0x31dcb8=_0x1e648c;this[_0x31dcb8(0xe8)]();}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0xe6),()=>{const _0x103223=_0x1e648c;this[_0x103223(0x1de)]();}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x18d),(_0x1e0ce2,_0x4daabe)=>{const _0x83ceca=_0x1e648c;this[_0x83ceca(0x1bb)]?.[_0x83ceca(0x24b)](_0x4daabe);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0xe7),(_0x51e573,{replyId:_0x37ea0b})=>{const _0x5a9e67=_0x1e648c;console[_0x5a9e67(0x15b)](_0x5a9e67(0x1ab),_0x37ea0b);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x201),(_0x4a4d95,{replyId:_0x1f738d})=>{const _0xd75351=_0x1e648c;console[_0xd75351(0x15b)](_0xd75351(0xd5),_0x1f738d);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x172),(_0x43780b,_0x1f54b7)=>{const _0x43a60c=_0x1e648c;this[_0x43a60c(0x19b)](_0x1f54b7);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0xf3),(_0x164bc6,{replyId:_0x299215,partIndex:_0x521f16})=>{const _0x31932c=_0x1e648c;this[_0x31932c(0x21b)]=this[_0x31932c(0x1aa)][_0x31932c(0xe3)],this[_0x31932c(0xd0)](_0x299215,_0x521f16);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x204),(_0x595cc4,{replyId:_0x2b7a00,partIndex:_0x225fec})=>{const _0x415ff3=_0x1e648c,_0x4b1131=this[_0x415ff3(0x214)](_0x2b7a00,_0x225fec);_0x4b1131&&_0x415ff3(0x11a)!=_0x4b1131[_0x415ff3(0x1bf)][_0x415ff3(0x1fb)][_0x415ff3(0x254)]&&this[_0x415ff3(0xdf)][_0x415ff3(0x1d7)]([_0x4b1131[_0x415ff3(0x1bf)]],_0x415ff3(0x19e));}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x23f),()=>{const _0x1717dd=_0x1e648c;this[_0x1717dd(0xdf)][_0x1717dd(0x22d)](_0x1717dd(0x19e));}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x1a6),(_0x29d36a,_0x3f0837)=>{const _0x359c18=_0x1e648c;this[_0x359c18(0xdf)][_0x359c18(0x22d)](_0x359c18(0x19e)),this[_0x359c18(0x17c)](_0x3f0837);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x177),async(_0xa41846,{replyId:_0x18152c,showDiff:_0x26f9f0})=>{const _0x2ea180=_0x1e648c,{reply:_0xc9f44a}=this[_0x2ea180(0x137)](_0x18152c),_0x168bdb=_0xc9f44a[_0x2ea180(0x1a7)]({'showDiff':_0x26f9f0});await this[_0x2ea180(0x1aa)][_0x2ea180(0x22a)]({'id':_0xc9f44a['id'],'parts':_0x168bdb,'renderingStrategy':_0x2ea180(0x1d3)});}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x1aa)],_0x1e648c(0x1d6),(_0x37ac6c,{replyId:_0x1a50c7,partIndex:_0x256720})=>{const _0x14a7d3=_0x1e648c;this[_0x14a7d3(0x1d1)]({'replyId':_0x1a50c7,'partIndex':_0x256720}),this[_0x14a7d3(0xdf)][_0x14a7d3(0x22d)](_0x14a7d3(0x19e));}),this[_0x1e648c(0x151)][_0x1e648c(0x15f)][_0x1e648c(0x174)](_0x1e648c(0xeb))&&(this[_0x1e648c(0x17f)]=this[_0x1e648c(0x151)][_0x1e648c(0x15f)][_0x1e648c(0x1bd)](_0x1e648c(0xeb)),this[_0x1e648c(0x24a)](_0x1e648c(0x21b),!0x1),this[_0x1e648c(0x17f)][_0x1e648c(0x257)](_0x1e648c(0xe3))['to'](this,_0x1e648c(0x21b)),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x17f)],_0x1e648c(0x177),()=>{const _0x9f3fb4=_0x1e648c,{replyId:_0x5cc5d1,partIndex:_0x1d2315}=this[_0x9f3fb4(0x231)];this[_0x9f3fb4(0x21b)]=!this[_0x9f3fb4(0x21b)];const {reply:_0x58f5fa}=this[_0x9f3fb4(0x137)](_0x5cc5d1),_0x27cde5=_0x58f5fa[_0x9f3fb4(0x1a7)]({'showDiff':this[_0x9f3fb4(0x21b)],'groupIndex':_0x1d2315});this[_0x9f3fb4(0x17f)][_0x9f3fb4(0x1ae)]({'part':_0x27cde5[0x0],'renderingStrategy':_0x9f3fb4(0x1d3),'keepErrors':!0x0});}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x17f)],_0x1e648c(0x1a6),()=>{const _0x1a7674=_0x1e648c,{replyId:_0x541cb2,partIndex:_0x52634e}=this[_0x1a7674(0x231)];this[_0x1a7674(0x17c)]({'replyId':_0x541cb2,'partIndex':_0x52634e}),this[_0x1a7674(0x17f)][_0x1a7674(0x1eb)](_0x1a7674(0x1af));}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x17f)],_0x1e648c(0x172),()=>{const _0x360928=_0x1e648c,{replyId:_0x44e272,partIndex:_0xd42d7d}=this[_0x360928(0x231)];this[_0x360928(0x19b)]({'replyId':_0x44e272,'partIndex':_0xd42d7d}),this[_0x360928(0x17f)][_0x360928(0x1eb)](_0x360928(0x1af));}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x17f)],_0x1e648c(0x1d6),()=>{const _0x3b99a4=_0x1e648c,{replyId:_0x1140f5,partIndex:_0x43c592}=this[_0x3b99a4(0x231)];this[_0x3b99a4(0x1d1)]({'replyId':_0x1140f5,'partIndex':_0x43c592}),this[_0x3b99a4(0x17f)][_0x3b99a4(0x1eb)](_0x3b99a4(0x171));}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x17f)],_0x1e648c(0x16a),()=>{const _0x4baec4=_0x1e648c,{replyId:_0x31e74f,partIndex:_0x402886}=this[_0x4baec4(0x231)],_0xced8d=this[_0x4baec4(0x1e2)](_0x31e74f,_0x402886,_0x4baec4(0x134));null!==_0xced8d&&this[_0x4baec4(0xd0)](_0x31e74f,_0xced8d);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x17f)],_0x1e648c(0x249),()=>{const _0xea9647=_0x1e648c,{replyId:_0x1170a2,partIndex:_0x405466}=this[_0xea9647(0x231)],_0x4f994b=this[_0xea9647(0x1e2)](_0x1170a2,_0x405466,_0xea9647(0x14c));null!==_0x4f994b&&this[_0xea9647(0xd0)](_0x1170a2,_0x4f994b);}),this[_0x1e648c(0x1e5)](this[_0x1e648c(0x17f)],_0x1e648c(0x21d),(_0x1cf533,{id:_0x3a55cb})=>{const _0xfc83a9=_0x1e648c;if(_0xfc83a9(0x22e)!==_0x3a55cb)return;const {replyId:_0x262aa0,partIndex:_0x469f8a}=this[_0xfc83a9(0x231)];this[_0xfc83a9(0x231)]=null,this[_0xfc83a9(0x1aa)][_0xfc83a9(0x1c2)]({'id':_0x262aa0,'index':_0x469f8a,'isActive':!0x1});}));}async[_0x1858dd(0x1cd)](){const _0x48b834=_0x1858dd;this[_0x48b834(0x151)]instanceof _0x2e49f1?this[_0x48b834(0x20a)](this[_0x48b834(0x151)]):this[_0x48b834(0x1e5)](this[_0x48b834(0x151)][_0x48b834(0x118)],_0x48b834(0x140),(_0x359609,_0x3f43c7)=>{const _0x5b3a9c=_0x48b834;_0x3f43c7['on'](_0x5b3a9c(0xf8),()=>{const _0x456b53=_0x5b3a9c;this[_0x456b53(0x20a)](_0x3f43c7);});});const _0x138cfe=this[_0x48b834(0x151)][_0x48b834(0x1a0)][_0x48b834(0x1bd)](_0x48b834(0x1db));let _0x87737c=_0x138cfe;if(_0x48b834(0x222)!=_0x138cfe||(_0x87737c=await this[_0x48b834(0x218)](),_0x87737c))return _0x48b834(0x20d)==_0x87737c?this[_0x48b834(0x1ad)]():this[_0x48b834(0x110)](_0x87737c);}async[_0x1858dd(0x1e7)](){const _0x2a1c04=_0x1858dd;return await this[_0x2a1c04(0x1a3)](),this[_0x2a1c04(0xf6)][_0x2a1c04(0x125)](),super[_0x2a1c04(0x1e7)]();}[_0x1858dd(0x19b)](_0xb6b143){const _0x4d8726=_0x1858dd,_0x47e281=_0x5efda0(this[_0x4d8726(0x151)]);if(!_0x47e281[_0x4d8726(0x15f)][_0x4d8726(0x174)](_0x4d8726(0x127)))throw new _0x58385f(_0x4d8726(0x161),null);const _0xecef08=this[_0x4d8726(0x151)][_0x4d8726(0x15f)][_0x4d8726(0x1bd)](_0x4d8726(0x153)),{reply:_0x5a77ad,interaction:_0x594cdd}=this[_0x4d8726(0x137)](_0xb6b143[_0x4d8726(0x1a5)]),_0x1be0f9=this[_0x4d8726(0x214)](_0xb6b143[_0x4d8726(0x1a5)],_0xb6b143[_0x4d8726(0x215)]),_0x2bda3c=void 0x0!==_0xb6b143[_0x4d8726(0x215)]?[_0x5a77ad[_0x4d8726(0x199)][_0xb6b143[_0x4d8726(0x215)]]]:_0x5a77ad[_0x4d8726(0x199)][_0x4d8726(0xd9)](_0x161239=>_0x4d8726(0x183)==_0x161239[_0x4d8726(0x170)]),_0x354372=_0x2bda3c[_0x4d8726(0x229)](_0x539061=>_0x5a77ad[_0x4d8726(0x199)][_0x4d8726(0x14b)](_0x539061));if(!_0x1be0f9||_0x4d8726(0x11a)==_0x1be0f9[_0x4d8726(0x1bf)][_0x4d8726(0x1fb)][_0x4d8726(0x254)])return void _0x354372[_0x4d8726(0x1c7)](_0x2eedd9=>_0x5a77ad[_0x4d8726(0x1ac)](_0x2eedd9,_0x4d8726(0x11f)));_0x354372[_0x4d8726(0x1c7)](_0x2ff93e=>_0x5a77ad[_0x4d8726(0x1ac)](_0x2ff93e,_0x4d8726(0x1af)));const _0xe4830f=_0x165316({'editor':_0x47e281,'reply':_0x5a77ad,'interaction':_0x594cdd,'groups':_0x2bda3c,'transform':!0x0,'documentCompare':_0xecef08,'documentCompareOptions':{'anchor':_0x4d8726(0x1ec),'markDeletions':!0x0}});let _0x50ded2;_0x1be0f9&&this[_0x4d8726(0x243)](_0x1be0f9[_0x4d8726(0x1bf)]),_0x47e281[_0x4d8726(0x242)][_0x4d8726(0x25b)](_0x19eb67=>{const _0x5dd9f7=_0x4d8726;_0x50ded2=_0x19eb67[_0x5dd9f7(0xec)],_0x47e281[_0x5dd9f7(0x15f)][_0x5dd9f7(0x1bd)](_0x5dd9f7(0x12a))[_0x5dd9f7(0x179)](_0xe4830f),this[_0x5dd9f7(0xdf)][_0x5dd9f7(0x22d)](_0x5dd9f7(0x19e));}),this[_0x4d8726(0x11e)][_0x4d8726(0x24a)](_0x50ded2,{'interactionId':_0x594cdd['id'],'replyId':_0x5a77ad['id'],'indexes':_0x354372[_0x4d8726(0x16d)]()}),this[_0x4d8726(0x1c9)](_0x5a77ad);}[_0x1858dd(0x17c)](_0x367c83){const _0x486837=_0x1858dd,_0x4920dd=_0x5efda0(this[_0x486837(0x151)]),_0xc1f704=this[_0x486837(0x151)][_0x486837(0x15f)][_0x486837(0x1bd)](_0x503be0),{reply:_0x288761,interaction:_0x2fdc25}=this[_0x486837(0x137)](_0x367c83[_0x486837(0x1a5)]),_0x35b43a=this[_0x486837(0x214)](_0x367c83[_0x486837(0x1a5)],_0x367c83[_0x486837(0x215)]),_0x32c3f0=void 0x0!==_0x367c83[_0x486837(0x215)]?[_0x288761[_0x486837(0x199)][_0x367c83[_0x486837(0x215)]]]:_0x288761[_0x486837(0x199)][_0x486837(0xd9)](_0xe6fe63=>_0x486837(0x183)==_0xe6fe63[_0x486837(0x170)]),_0xd508c4=_0x32c3f0[_0x486837(0x229)](_0x70983c=>_0x288761[_0x486837(0x199)][_0x486837(0x14b)](_0x70983c));if(!_0x35b43a||_0x486837(0x11a)==_0x35b43a[_0x486837(0x1bf)][_0x486837(0x1fb)][_0x486837(0x254)])return void _0xd508c4[_0x486837(0x1c7)](_0x1f7c14=>_0x288761[_0x486837(0x1ac)](_0x1f7c14,_0x486837(0x11f)));_0xd508c4[_0x486837(0x1c7)](_0x2946a3=>_0x288761[_0x486837(0x1ac)](_0x2946a3,_0x486837(0x1af)));const _0x44c0e2=_0x165316({'editor':_0x4920dd,'reply':_0x288761,'interaction':_0x2fdc25,'groups':_0x32c3f0,'transform':!0x0,'documentCompare':_0xc1f704,'documentCompareOptions':{'anchor':_0x486837(0x1ec),'markDeletions':!0x1}});let _0x12a61d;_0x35b43a&&this[_0x486837(0x243)](_0x35b43a[_0x486837(0x1bf)]),_0x4920dd[_0x486837(0x242)][_0x486837(0x25b)](_0x1a27c9=>{const _0x2e930a=_0x486837;_0x12a61d=_0x1a27c9[_0x2e930a(0xec)];for(const _0x1f6ded of _0x44c0e2)_0x1f6ded[_0x2e930a(0x259)]=_0x4920dd[_0x2e930a(0x242)][_0x2e930a(0x175)][_0x2e930a(0x1e1)],_0x61bb10(_0x4920dd,_0x1f6ded),_0x1a27c9[_0x2e930a(0xec)][_0x2e930a(0x1cc)](_0x1f6ded),_0x4920dd[_0x2e930a(0x242)][_0x2e930a(0x115)](_0x1f6ded);}),this[_0x486837(0x11e)][_0x486837(0x24a)](_0x12a61d,{'interactionId':_0x2fdc25['id'],'replyId':_0x288761['id'],'indexes':_0xd508c4[_0x486837(0x16d)]()}),this[_0x486837(0x1c9)](_0x288761);}[_0x1858dd(0x1d1)](_0x86cb16){const _0x43d2d3=_0x1858dd,{reply:_0x20e748}=this[_0x43d2d3(0x137)](_0x86cb16[_0x43d2d3(0x1a5)]);_0x20e748[_0x43d2d3(0x1ac)](_0x86cb16[_0x43d2d3(0x215)],_0x43d2d3(0x171));}[_0x1858dd(0xd0)](_0x161a4a,_0x3db9f4){const _0x35ccc6=_0x1858dd;if(!this[_0x35ccc6(0x17f)])return;const {reply:_0x341f81}=this[_0x35ccc6(0x137)](_0x161a4a),_0x10eeef=_0x341f81[_0x35ccc6(0x1a7)]({'showDiff':this[_0x35ccc6(0x21b)]});let _0x3ed7cc,_0x4b019e;if(void 0x0!==_0x3db9f4?(_0x4b019e=_0x10eeef[_0x35ccc6(0x241)](_0x423e6b=>_0x423e6b[_0x35ccc6(0x221)]==_0x3db9f4),_0x3ed7cc=_0x4b019e?.[_0x35ccc6(0x221)]):(_0x4b019e=_0x10eeef[0x0],_0x3ed7cc=_0x4b019e[_0x35ccc6(0x221)]),this[_0x35ccc6(0x231)]?.[_0x35ccc6(0x1a5)]==_0x161a4a&&this[_0x35ccc6(0x231)]?.[_0x35ccc6(0x215)]==_0x3ed7cc)return;const _0x8600f=this[_0x35ccc6(0x18e)](_0x161a4a,_0x341f81,_0x4b019e);if(!_0x8600f)return void this[_0x35ccc6(0x17f)][_0x35ccc6(0x1c1)]();this[_0x35ccc6(0x231)]={'replyId':_0x161a4a,'partIndex':_0x3ed7cc},this[_0x35ccc6(0x243)](_0x8600f,!0x0);const _0x4aa185=this[_0x35ccc6(0x1e2)](_0x161a4a,_0x3ed7cc,_0x35ccc6(0x134));this[_0x35ccc6(0x17f)][_0x35ccc6(0x1ae)]({'part':_0x4b019e,'renderingStrategy':_0x35ccc6(0x1d3)}),this[_0x35ccc6(0x17f)][_0x35ccc6(0x138)]({'index':_0x3ed7cc,'title':_0x3acc4b(this[_0x35ccc6(0x151)][_0x35ccc6(0xf4)],_0x35ccc6(0x195),(_0x3ed7cc+0x1)[_0x35ccc6(0x1f7)]()),'showRotator':null!==_0x4aa185,'ranges':[_0x8600f],'areActionsDisabled':_0x341f81[_0x35ccc6(0xdc)]}),this[_0x35ccc6(0x17f)][_0x35ccc6(0x1eb)](_0x35ccc6(0x183)),this[_0x35ccc6(0x1aa)][_0x35ccc6(0x18a)](_0x161a4a,_0x3ed7cc),this[_0x35ccc6(0x1aa)][_0x35ccc6(0x1c2)]({'id':_0x161a4a,'index':_0x3ed7cc,'isActive':!0x0});}[_0x1858dd(0x1e2)](_0x3f37c8,_0xc82857,_0x4fa1f4){const _0x2f83b6=_0x1858dd,{reply:_0x1c476b}=this[_0x2f83b6(0x137)](_0x3f37c8),_0x3488e3=_0x1c476b[_0x2f83b6(0x1a7)]({'showDiff':this[_0x2f83b6(0x21b)]});if(0x1==_0x3488e3[_0x2f83b6(0x1e9)])return null;const _0x359938=_0x3488e3[_0x2f83b6(0x198)](_0x5d8222=>_0x5d8222[_0x2f83b6(0x221)]==_0xc82857),_0x54ac0e=_0x2f83b6(0x134)==_0x4fa1f4?0x1:-0x1;let _0x1bb28c=_0x3488e3['at']((_0x359938+_0x54ac0e)%_0x3488e3[_0x2f83b6(0x1e9)])[_0x2f83b6(0x221)],_0x11b6f8=_0x3488e3[_0x1bb28c];for(;!this[_0x2f83b6(0x18e)](_0x3f37c8,_0x1c476b,_0x11b6f8);){if(_0x1bb28c=_0x3488e3['at']((_0x1bb28c+_0x54ac0e)%_0x3488e3[_0x2f83b6(0x1e9)])[_0x2f83b6(0x221)],_0x1bb28c===_0x359938)return null;_0x11b6f8=_0x3488e3[_0x1bb28c];}return _0x1bb28c;}[_0x1858dd(0x18e)](_0x33ec50,_0x46061c,_0x6d85df){const _0x13c3cc=_0x1858dd,_0x28e5f7=_0x46061c[_0x13c3cc(0x199)];if(!_0x6d85df[_0x13c3cc(0x1ee)])return null;const _0x5eed46=_0x28e5f7[_0x13c3cc(0x241)](_0x2aac05=>_0x2aac05[_0x13c3cc(0x221)]==_0x6d85df[_0x13c3cc(0x221)]);if(_0x13c3cc(0x183)!==_0x5eed46?.[_0x13c3cc(0x170)])return null;const _0x250e30=this[_0x13c3cc(0x214)](_0x33ec50,_0x6d85df[_0x13c3cc(0x221)]);if(!_0x250e30)return null;const {range:_0xd591b1,currentIndex:_0x4fdf1b}=_0x250e30;return _0x13c3cc(0x11a)==_0xd591b1[_0x13c3cc(0x1fb)][_0x13c3cc(0x254)]?(_0x46061c[_0x13c3cc(0x1ac)](_0x4fdf1b,_0x13c3cc(0x11f)),null):_0x250e30[_0x13c3cc(0x1bf)];}[_0x1858dd(0x214)](_0x190da6,_0x544673){const _0x32ac3c=_0x1858dd,_0x5decc9=_0x5efda0(this[_0x32ac3c(0x151)]),{reply:_0x129162,interaction:_0x1d0324}=this[_0x32ac3c(0x137)](_0x190da6),_0x374c77=_0x129162[_0x32ac3c(0x199)][_0x32ac3c(0xd9)](_0x17874=>_0x32ac3c(0x183)==_0x17874[_0x32ac3c(0x170)]),_0xb18853=_0x374c77[_0x32ac3c(0x229)](_0x3019aa=>_0x129162[_0x32ac3c(0x199)][_0x32ac3c(0x14b)](_0x3019aa));void 0x0===_0x544673&&(_0x544673=_0xb18853[0x0]);const _0x308354=_0xb18853[_0x32ac3c(0x14b)](_0x544673);if(-0x1==_0x308354)return null;const _0x26410e=_0x374c77[_0x308354],_0x27a03e=new _0x5573d5([]),_0x5b5481=new _0x5573d5([]);for(const _0x5833c9 of _0x26410e[_0x32ac3c(0xd6)])if(_0x32ac3c(0x104)!=_0x5833c9[_0x32ac3c(0x126)]&&_0x5b5481[_0x32ac3c(0xf2)][_0x32ac3c(0x1dd)](_0x5833c9[_0x32ac3c(0x1b6)][_0x32ac3c(0x1f8)](!0x0)),_0x32ac3c(0x20d)!=_0x5833c9[_0x32ac3c(0x126)]){const _0x38f192=_0x28410a(_0x2d47e6=>_0x59e1d5(_0x2d47e6,_0x32ac3c(0x1f9))==_0x5833c9['id'],_0x129162[_0x32ac3c(0x129)],!0x0);_0x27a03e[_0x32ac3c(0xf2)][_0x32ac3c(0x1dd)](_0x38f192[_0x32ac3c(0x1f8)](!0x0));}if(0x0==_0x27a03e[_0x32ac3c(0xf2)][_0x32ac3c(0x1e9)]){if(_0x26410e[_0x32ac3c(0xd6)][0x0][_0x32ac3c(0x117)]){const _0x33afce=_0x27c6fa(_0x32ac3c(0x1f9),_0x26410e[_0x32ac3c(0xd6)][0x0][_0x32ac3c(0x117)],_0x129162[_0x32ac3c(0x129)]);_0x27a03e[_0x32ac3c(0xf2)][_0x32ac3c(0x114)](_0x33afce[_0x32ac3c(0x1f8)](!0x0)),_0x5b5481[_0x32ac3c(0xf2)][_0x32ac3c(0x114)](_0x33afce[_0x32ac3c(0x1f8)](!0x0)),_0x33afce[_0x32ac3c(0x168)]&&(_0x27a03e[_0x32ac3c(0xf2)][_0x32ac3c(0x1dd)](_0x33afce[_0x32ac3c(0x168)][_0x32ac3c(0x1f8)](!0x0)),_0x5b5481[_0x32ac3c(0xf2)][_0x32ac3c(0x1dd)](_0x33afce[_0x32ac3c(0x168)][_0x32ac3c(0x1f8)](!0x0)));}else{const _0x4bcd6f=_0x129162[_0x32ac3c(0x129)][_0x32ac3c(0xf2)][0x0];if(!_0x4bcd6f)return null;_0x27a03e[_0x32ac3c(0xf2)][_0x32ac3c(0x1dd)](_0x4bcd6f[_0x32ac3c(0x1f8)](!0x0)),_0x5b5481[_0x32ac3c(0xf2)][_0x32ac3c(0x1dd)](_0x4bcd6f[_0x32ac3c(0x1f8)](!0x0));}}const _0x2cf6cb=_0x1d0324[_0x32ac3c(0x145)](),_0x328e74=_0x5decc9[_0x32ac3c(0x111)][_0x32ac3c(0x248)](_0x2cf6cb[_0x32ac3c(0x23d)]),_0xf309f3=_0x448488(_0x27a03e),_0x389259=_0x5decc9[_0x32ac3c(0x111)][_0x32ac3c(0x248)](_0xf309f3),_0x3db5a1=_0x5decc9[_0x32ac3c(0x111)][_0x32ac3c(0x248)](_0xf309f3),_0x415810=_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x13f)](_0x389259,0x0),_0x1e86c2=_0x448488(_0x5b5481),_0x12afe4={'anchor':_0x415810,'markDeletions':!0x1},_0x60566f=_0x5decc9[_0x32ac3c(0x15f)][_0x32ac3c(0x1bd)](_0x503be0)[_0x32ac3c(0x19d)](_0xf309f3,_0x1e86c2,_0x12afe4)[_0x32ac3c(0x197)]();if(!_0x60566f[_0x32ac3c(0x1e9)])return null;_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x25b)](_0x152de1=>{const _0x1bd9d3=_0x32ac3c;for(const _0x135a95 of _0x60566f)if(_0x1bd9d3(0x239)==_0x135a95[_0x1bd9d3(0x126)]){const _0x1cffe4=_0x135a95[_0x1bd9d3(0x178)],_0x50e405=_0x135a95[_0x1bd9d3(0xe5)],_0x45f27c=new _0x5832fc(_0x1cffe4,_0x50e405);_0x152de1[_0x1bd9d3(0xec)][_0x1bd9d3(0x1cc)](_0x45f27c),_0x5decc9[_0x1bd9d3(0x242)][_0x1bd9d3(0x115)](_0x45f27c);}else _0x1bd9d3(0x11b)!==_0x135a95[_0x1bd9d3(0x126)]&&(_0x135a95[_0x1bd9d3(0x259)]=null,_0x135a95[_0x1bd9d3(0x10d)]=!0x1,_0x152de1[_0x1bd9d3(0xec)][_0x1bd9d3(0x1cc)](_0x135a95),_0x5decc9[_0x1bd9d3(0x242)][_0x1bd9d3(0x115)](_0x135a95));});const _0x266993=_0x44f6e2(_0x5decc9,_0x60566f,_0x389259);_0x1646cf(_0x5decc9[_0x32ac3c(0x242)],_0x266993);const _0x4884cc=_0x266993[_0x32ac3c(0x1a8)]()[_0x32ac3c(0x12b)][_0x32ac3c(0x1cb)][_0x32ac3c(0x16d)](),_0x45c534=_0x266993[_0x32ac3c(0x1a8)]()[_0x32ac3c(0x19c)][_0x32ac3c(0x1cb)][_0x32ac3c(0x16d)](),_0x57c69d=[];let _0x422215=_0x389259,_0x33b0e6=_0x3db5a1;for(let _0x24c122=0x0;_0x24c122<_0x45c534[_0x32ac3c(0x1e9)];_0x24c122++){const _0x458e85=_0x422215[_0x32ac3c(0xfe)]-_0x45c534[_0x24c122];_0x57c69d[_0x24c122]=_0x33b0e6[_0x32ac3c(0xfe)]-_0x458e85,_0x422215=_0x422215[_0x32ac3c(0x133)](_0x45c534[_0x24c122]),_0x33b0e6=_0x33b0e6[_0x32ac3c(0x133)](_0x57c69d[_0x24c122]);}const _0x2799b7=_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x1c8)](_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x1f0)](_0x3db5a1,_0x4884cc),_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x1f0)](_0x3db5a1,_0x57c69d)),_0x36baa6=_0x3db5a1[_0x32ac3c(0x173)](0x0)[_0x32ac3c(0x17a)](_0x543aba),_0x388e62=Array[_0x32ac3c(0x167)](_0x328e74[_0x32ac3c(0x124)]())[_0x32ac3c(0x241)](_0x52ef7d=>_0x52ef7d[_0x32ac3c(0x17a)](_0x543aba)==_0x36baa6)[_0x32ac3c(0x21f)](),_0x2a7fa8=_0x2799b7[_0x32ac3c(0x12b)][_0x32ac3c(0x1cb)][_0x32ac3c(0x16d)](),_0x147663=_0x2799b7[_0x32ac3c(0x19c)][_0x32ac3c(0x1cb)][_0x32ac3c(0x16d)]();_0x2a7fa8[0x0]=_0x388e62[0x0]+_0x2a7fa8[0x0],_0x147663[0x0]=_0x388e62[0x0]+_0x147663[0x0];let _0x62f6a8=_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x1c8)](_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x1f0)](_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x175)][_0x32ac3c(0x13b)](),_0x2a7fa8),_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x1f0)](_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x175)][_0x32ac3c(0x13b)](),_0x147663));const _0x222413=_0x5decc9[_0x32ac3c(0x242)][_0x32ac3c(0x175)][_0x32ac3c(0x202)][_0x32ac3c(0x197)](_0x2cf6cb[_0x32ac3c(0x1e1)]);for(const _0x39f071 of _0x222413)_0x62f6a8=_0x146edd[_0x32ac3c(0x1f4)](_0x62f6a8[_0x32ac3c(0x1f3)](_0x39f071));return{'range':_0x62f6a8,'currentIndex':_0x544673};}[_0x1858dd(0x20a)](_0xe4be25){const _0x3be595=_0x1858dd;if(!_0xe4be25[_0x3be595(0x15f)][_0x3be595(0x174)](_0x3be595(0x142)))return;const _0x57466=_0xe4be25[_0x3be595(0x1c4)][_0x3be595(0x1bd)](_0x3be595(0x16e)),_0x3031ef=_0xe4be25[_0x3be595(0x1c4)][_0x3be595(0x1bd)](_0x3be595(0x203));this[_0x3be595(0x1e5)](_0x57466,_0x3be595(0x156),(_0x462f22,_0x33cb0c,_0x173b27)=>{const _0x106418=_0x3be595,_0xffbd7e=this[_0x106418(0x11e)][_0x106418(0x1bd)](_0x33cb0c);if(!_0xffbd7e)return;const _0x52f212=this[_0x106418(0x1bb)][_0x106418(0x109)](_0xffbd7e[_0x106418(0x1b1)])[_0x106418(0x230)](_0xffbd7e[_0x106418(0x1a5)]);_0xffbd7e[_0x106418(0x1a4)][_0x106418(0x1c7)](_0x2c4181=>_0x52f212[_0x106418(0x1ac)](_0x2c4181,_0x106418(0x183))),this[_0x106418(0x11e)][_0x106418(0x1e4)](_0x33cb0c),this[_0x106418(0x11e)][_0x106418(0x24a)](_0x173b27,_0xffbd7e);}),this[_0x3be595(0x1e5)](_0x3031ef,_0x3be595(0x156),(_0x3c5f80,_0x2028e3,_0x3929c7)=>{const _0x5d735f=_0x3be595,_0xc5d6e4=this[_0x5d735f(0x11e)][_0x5d735f(0x1bd)](_0x2028e3);if(!_0xc5d6e4)return;const _0xc0d2cd=this[_0x5d735f(0x1bb)][_0x5d735f(0x109)](_0xc5d6e4[_0x5d735f(0x1b1)])[_0x5d735f(0x230)](_0xc5d6e4[_0x5d735f(0x1a5)]);_0xc5d6e4[_0x5d735f(0x1a4)][_0x5d735f(0x1c7)](_0x1e795a=>_0xc0d2cd[_0x5d735f(0x1ac)](_0x1e795a,_0x5d735f(0x1af))),this[_0x5d735f(0x11e)][_0x5d735f(0x1e4)](_0x2028e3),this[_0x5d735f(0x11e)][_0x5d735f(0x24a)](_0x3929c7,_0xc5d6e4);});}async[_0x1858dd(0x110)](_0x1bf12f){const _0x17bfaf=_0x1858dd;this[_0x17bfaf(0x151)][_0x17bfaf(0x15f)][_0x17bfaf(0x174)](_0x17bfaf(0xeb))&&this[_0x17bfaf(0x151)][_0x17bfaf(0x15f)][_0x17bfaf(0x1bd)](_0x17bfaf(0xeb))[_0x17bfaf(0x1c1)](),(this[_0x17bfaf(0x151)][_0x17bfaf(0x15f)][_0x17bfaf(0x1bd)](_0xbdfbbe)[_0x17bfaf(0x1a2)][_0x17bfaf(0x1b8)](_0x17bfaf(0x223)),this[_0x17bfaf(0x1aa)][_0x17bfaf(0xff)](_0x17bfaf(0x1d3)),this[_0x17bfaf(0x1aa)][_0x17bfaf(0xd1)](!0x0),await this[_0x17bfaf(0x1a3)]());try{await this[_0x17bfaf(0x226)][_0x17bfaf(0xe0)](_0x1bf12f)[_0x17bfaf(0x15a)](),await this[_0x17bfaf(0x1ad)](_0x1bf12f),this[_0x17bfaf(0x165)]('\x20'),await this[_0x17bfaf(0x1bb)][_0x17bfaf(0x15c)](_0x1bf12f,this[_0x17bfaf(0xdf)][_0x17bfaf(0xdd)]),this[_0x17bfaf(0x1bb)][_0x17bfaf(0x252)]()&&this[_0x17bfaf(0x23b)]();}catch(_0x3194ff){this[_0x17bfaf(0x1aa)][_0x17bfaf(0x135)]({'errorMessage':_0x3acc4b(this[_0x17bfaf(0x151)][_0x17bfaf(0xf4)],_0x17bfaf(0x1b3)),'id':_0x1bf12f}),this[_0x17bfaf(0x12f)](new _0x58385f(_0x17bfaf(0xee),this,{'error':_0x3194ff}));}finally{this[_0x17bfaf(0x1aa)][_0x17bfaf(0x148)](),this[_0x17bfaf(0x1aa)][_0x17bfaf(0xff)](_0x17bfaf(0x13c)),this[_0x17bfaf(0x1aa)][_0x17bfaf(0xd1)](!0x1);}}async[_0x1858dd(0x218)](){const _0x16fa86=_0x1858dd,_0x4be18d=this[_0x16fa86(0x226)][_0x16fa86(0x119)](this[_0x16fa86(0x193)](),{'limit':0x1,'sortBy':_0x16fa86(0x22b)});try{const _0x2da99b=await _0x4be18d[_0x16fa86(0x207)]();return _0x2da99b[_0x16fa86(0x1e9)]?_0x2da99b[0x0]['id']:_0x16fa86(0x20d);}catch(_0x21b45c){return this[_0x16fa86(0x1aa)][_0x16fa86(0x135)]({'errorMessage':_0x3acc4b(this[_0x16fa86(0x151)][_0x16fa86(0xf4)],_0x16fa86(0x1b3)),'id':_0x989407()}),this[_0x16fa86(0x12f)](new _0x58385f(_0x16fa86(0x163),this,{'error':_0x21b45c})),this[_0x16fa86(0x1aa)][_0x16fa86(0xd1)](!0x1),this[_0x16fa86(0x1aa)][_0x16fa86(0x196)](),null;}}[_0x1858dd(0x23a)](_0x55f6d7){const _0x3ebac3=_0x1858dd;this[_0x3ebac3(0x1bb)]['id']===_0x55f6d7&&this[_0x3ebac3(0x1ad)]();}[_0x1858dd(0x23b)](){const _0x40c591=_0x1858dd;this[_0x40c591(0x1bb)]?.[_0x40c591(0x1fe)](_0x3acc4b(this[_0x40c591(0x151)][_0x40c591(0xf4)],_0x40c591(0x103)));}async[_0x1858dd(0x15d)](){const _0x2fbb62=_0x1858dd,_0x3446fb=this[_0x2fbb62(0xdf)][_0x2fbb62(0x189)]();this[_0x2fbb62(0x1bb)]?.[_0x2fbb62(0x1ef)](_0x3446fb),this[_0x2fbb62(0x23b)]();}[_0x1858dd(0x149)](){const _0x39af6f=_0x1858dd;this[_0x39af6f(0x1bb)]?.[_0x39af6f(0x10a)]();}[_0x1858dd(0x1d2)](){const _0x2e0a36=_0x1858dd;this[_0x2e0a36(0x1aa)][_0x2e0a36(0x1d2)]();}async[_0x1858dd(0x245)](){const _0x1113ce=_0x1858dd;await this[_0x1113ce(0x1ad)]();}async[_0x1858dd(0x14d)]({message:_0x27acf3,attributes:_0x452539}){const _0x12707e=_0x1858dd;await this[_0x12707e(0xfc)]({'userMessage':_0x27acf3,'attributes':_0x452539});}[_0x1858dd(0x193)](){const _0x458c65=_0x1858dd,_0x515b5d=this[_0x458c65(0x151)][_0x458c65(0x1a0)][_0x458c65(0x1bd)](_0x458c65(0x1d4));if(!_0x515b5d)throw new _0x58385f(_0x458c65(0x23e),this);return _0x515b5d;}async[_0x1858dd(0x1ad)](_0x5ab6a3){const _0x1ff9f6=_0x1858dd;try{this[_0x1ff9f6(0x1aa)][_0x1ff9f6(0x1a1)](),await this[_0x1ff9f6(0x1ea)](_0x5ab6a3);}catch(_0x242eff){this[_0x1ff9f6(0x1aa)][_0x1ff9f6(0x135)]({'errorMessage':_0x3acc4b(this[_0x1ff9f6(0x151)][_0x1ff9f6(0xf4)],_0x1ff9f6(0x253)),'id':_0x5ab6a3||_0x989407()}),console[_0x1ff9f6(0x121)](_0x242eff),this[_0x1ff9f6(0x1bb)]=void 0x0,this[_0x1ff9f6(0x1aa)][_0x1ff9f6(0x196)]();}}async[_0x1858dd(0x1ea)](_0x21d968){const _0x2ae7b6=_0x1858dd;let _0x293c1c;this[_0x2ae7b6(0x151)][_0x2ae7b6(0x15f)][_0x2ae7b6(0x174)](_0x2ae7b6(0xeb))&&this[_0x2ae7b6(0x151)][_0x2ae7b6(0x15f)][_0x2ae7b6(0x1bd)](_0x2ae7b6(0xeb))[_0x2ae7b6(0x1c1)](),_0x21d968||!this[_0x2ae7b6(0x1bb)]?_0x293c1c=this[_0x2ae7b6(0x151)][_0x2ae7b6(0x1a0)][_0x2ae7b6(0x1bd)](_0x2ae7b6(0x14a)):this[_0x2ae7b6(0x1aa)][_0x2ae7b6(0x217)]&&(_0x293c1c=this[_0x2ae7b6(0x1bb)][_0x2ae7b6(0x14e)]['id']),await this[_0x2ae7b6(0x1a3)]();const _0x6e2f31=this[_0x2ae7b6(0x193)](),_0xd14718=_0x21d968||_0x989407();this[_0x2ae7b6(0x1bb)]=new _0x12c3c9({'connector':this[_0x2ae7b6(0x226)],'chatModels':this[_0x2ae7b6(0x128)],'selectedModelId':_0x293c1c,'conversationId':_0xd14718,'group':_0x6e2f31,'getEditor':()=>_0x5efda0(this[_0x2ae7b6(0x151)]),'isFromHistory':!!_0x21d968}),this[_0x2ae7b6(0x1bb)][_0x2ae7b6(0xdb)](_0x2ae7b6(0x1b7),_0x2ae7b6(0x192))['to'](this),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x106),(_0x2e395b,_0x4b7d5d)=>{const _0x500a5d=_0x2ae7b6;this[_0x500a5d(0x1aa)][_0x500a5d(0x16c)](_0x4b7d5d),this[_0x500a5d(0x1aa)][_0x500a5d(0x130)](),this[_0x500a5d(0x1aa)][_0x500a5d(0x236)](),this[_0x500a5d(0x1aa)][_0x500a5d(0x208)](),_0x21d968||(this[_0x500a5d(0x1aa)][_0x500a5d(0x209)](),this[_0x500a5d(0x23b)]());}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0xfb),(_0x221a84,_0x253119)=>{const _0x383a6a=_0x2ae7b6;this[_0x383a6a(0x1aa)][_0x383a6a(0x10f)](_0x253119[_0x383a6a(0x10b)]);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x19f),(_0x2b913f,_0x14c5be)=>{const _0x33640d=_0x2ae7b6;this[_0x33640d(0x1aa)][_0x33640d(0x162)](_0x14c5be);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0xd8),()=>{const _0x10d617=_0x2ae7b6,_0x2ba57a=this[_0x10d617(0x1aa)][_0x10d617(0x21c)]({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this[_0x10d617(0x1aa)][_0x10d617(0x238)](_0x2ba57a);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x12c),()=>{const _0x26010d=_0x2ae7b6,_0x2fb50b=this[_0x26010d(0x1aa)][_0x26010d(0x21c)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this[_0x26010d(0x1aa)][_0x26010d(0x238)](_0x2fb50b);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x11d),(_0x2b364a,_0x149613)=>{const _0x3b96fb=_0x2ae7b6;this[_0x3b96fb(0x1aa)][_0x3b96fb(0x108)](_0x149613,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x12e),(_0x2802af,_0x3b54dc)=>{const _0x5b0560=_0x2ae7b6;this[_0x5b0560(0x1aa)][_0x5b0560(0x108)](_0x3b54dc,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x192),()=>{const _0x5b98fc=_0x2ae7b6;this[_0x5b98fc(0x1aa)][_0x5b98fc(0x219)]();}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x1be),async()=>{const _0x31f045=_0x2ae7b6;await this[_0x31f045(0x1aa)][_0x31f045(0x1ed)]();}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x224),(_0x4cc75a,_0x41c854)=>{const _0x105e8a=_0x2ae7b6;this[_0x105e8a(0x1aa)][_0x105e8a(0x16b)](_0x41c854['id']);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x166),(_0x22610c,_0xbab44,_0x379d20)=>{const _0x5976e7=_0x2ae7b6;this[_0x5976e7(0x165)](_0xbab44,_0x379d20);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0xf0),(_0x296e02,_0x2553ea)=>{const _0x327229=_0x2ae7b6;_0x327229(0x102)===_0x2553ea[_0x327229(0x126)]?this[_0x327229(0x1aa)][_0x327229(0x12d)](_0x2553ea):this[_0x327229(0x1aa)][_0x327229(0x227)](_0x2553ea);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x100),async(_0x23c900,_0x454d84)=>{const _0xa484c6=_0x2ae7b6;await this[_0xa484c6(0x17b)]({'reply':_0x454d84});}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x1d8),(_0x274607,{reply:_0xb99884,index:_0x23a55f,state:_0x23e432})=>{const _0x2a0903=_0x2ae7b6;this[_0x2a0903(0x1aa)][_0x2a0903(0x233)]({'id':_0xb99884['id'],'index':_0x23a55f,'state':_0x23e432}),this[_0x2a0903(0x231)]?.[_0x2a0903(0x1a5)][_0x2a0903(0xde)](_0xb99884['id'])&&this[_0x2a0903(0x231)]?.[_0x2a0903(0x215)]==_0x23a55f&&this[_0x2a0903(0x17f)]?.[_0x2a0903(0x1eb)](_0x23e432);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x13d),(_0x523a0b,_0x23b54d)=>{const _0x29d9df=_0x2ae7b6;if(this[_0x29d9df(0x1aa)][_0x29d9df(0x1e3)](_0x23b54d[_0x29d9df(0x213)],_0x23b54d[_0x29d9df(0x210)]),_0x29d9df(0x131)===_0x23b54d[_0x29d9df(0x213)][_0x29d9df(0x126)]){const _0x58d6d7=[..._0x5efda0(this[_0x29d9df(0x151)])[_0x29d9df(0x242)][_0x29d9df(0x175)][_0x29d9df(0x131)][_0x29d9df(0x187)]()];this[_0x29d9df(0xdf)][_0x29d9df(0x1d7)](_0x58d6d7,_0x29d9df(0x181)+this[_0x29d9df(0x1bb)]?.['id']);}}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x20c),(_0x2b6b94,_0x3636c6)=>{const _0x1f79d7=_0x2ae7b6;this[_0x1f79d7(0x1aa)][_0x1f79d7(0x24e)](_0x3636c6[_0x1f79d7(0x1c3)]),_0x1f79d7(0x250)==_0x3636c6[_0x1f79d7(0x1c3)]&&this[_0x1f79d7(0x149)](),_0x1f79d7(0x131)===_0x3636c6[_0x1f79d7(0x126)]&&this[_0x1f79d7(0xdf)][_0x1f79d7(0x22d)](_0x1f79d7(0x181)+this[_0x1f79d7(0x1bb)]?.['id']);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x235),(_0x59d8a4,_0x652774)=>{const _0x33a2a9=_0x2ae7b6;this[_0x33a2a9(0x1aa)][_0x33a2a9(0x147)](_0x652774[_0x33a2a9(0x213)][_0x33a2a9(0x1c3)],_0x652774[_0x33a2a9(0x210)]);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x212),(_0x96d36e,_0x25d4ec)=>{const _0x524a42=_0x2ae7b6;this[_0x524a42(0x1aa)][_0x524a42(0x141)](_0x25d4ec[_0x524a42(0xea)]);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0xed),(_0x210c24,_0xb64d3e)=>{const _0x4f5841=_0x2ae7b6;this[_0x4f5841(0x1aa)][_0x4f5841(0x251)](_0xb64d3e[_0x4f5841(0x105)]);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x194),(_0x1863c2,_0x4859e1)=>{const _0x243c18=_0x2ae7b6;this[_0x243c18(0x1aa)][_0x243c18(0x17d)](_0x4859e1[_0x243c18(0x132)],_0x4859e1[_0x243c18(0x10e)],_0x4859e1[_0x243c18(0x19a)],_0x4859e1[_0x243c18(0x144)]);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x228),(_0x31b3b6,_0x383330)=>{const _0x89c0c5=_0x2ae7b6;this[_0x89c0c5(0x1aa)][_0x89c0c5(0x1ce)](_0x383330[_0x89c0c5(0x132)],_0x383330[_0x89c0c5(0x205)],_0x383330[_0x89c0c5(0x101)]);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x1e6),(_0x31ea1f,_0x36df34)=>{const _0x3d97f4=_0x2ae7b6;this[_0x3d97f4(0x1aa)][_0x3d97f4(0x21a)](_0x36df34);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x1fd),async(_0x2a4144,_0x415bf0)=>{const _0x475367=_0x2ae7b6,_0x590c83=(await this[_0x475367(0x128)][_0x475367(0x1c0)]())[_0x475367(0x241)](_0x1731cc=>_0x1731cc['id']===_0x415bf0[_0x475367(0x14e)]?.['id'])||null;this[_0x475367(0x1aa)][_0x475367(0x1ff)](_0x590c83,_0x415bf0[_0x475367(0x13e)]);}),this[_0x2ae7b6(0x1bb)]['on'](_0x2ae7b6(0x121),(_0x54d22e,{error:_0x7bff33,interactionId:_0x437e96,fileName:_0x4c80ad,url:_0x501999,sourceId:_0x21e6e0,sourceLabel:_0x1a7c54})=>{const _0x34b04a=_0x2ae7b6,_0x11a3c6=_0x437e96?_0x437e96+':'+_0x989407():_0x989407();_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x237))?this[_0x34b04a(0x1aa)][_0x34b04a(0x136)]({'staticMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0x1d9)),'id':_0x11a3c6}):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x163))||_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x190))?(this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0x253)),'id':_0x11a3c6}),this[_0x34b04a(0x12f)](_0x7bff33)):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x150))?this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0x159),_0x4c80ad),'id':_0x11a3c6}):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x160))?this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0xd4),_0x501999),'id':_0x11a3c6}):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x1b2))?this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0x1fa)),'id':_0x11a3c6}):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x191))?this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0x18f)),'id':_0x11a3c6}):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0xe1))?(_0x21e6e0&&this[_0x34b04a(0x1aa)][_0x34b04a(0x216)](_0x21e6e0),this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0x22f),_0x1a7c54||_0x34b04a(0x10e)),'id':_0x11a3c6}),this[_0x34b04a(0x12f)](_0x7bff33)):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x1ca))?(this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0x24f)),'id':_0x11a3c6}),this[_0x34b04a(0x12f)](_0x7bff33)):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0xe2))?(this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0x1f6)),'id':_0x11a3c6}),this[_0x34b04a(0x12f)](_0x7bff33)):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x240))?(this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0xef)),'id':_0x11a3c6}),this[_0x34b04a(0x12f)](_0x7bff33)):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x13a))?(this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0xd3)),'id':_0x11a3c6}),this[_0x34b04a(0x12f)](_0x7bff33)):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x112))?(this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0x157)),'id':_0x11a3c6}),this[_0x34b04a(0x12f)](_0x7bff33)):_0x7bff33[_0x34b04a(0x25a)][_0x34b04a(0x1b5)](_0x34b04a(0x1b9))?(this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0xfd)),'id':_0x11a3c6}),this[_0x34b04a(0x12f)](_0x7bff33)):(this[_0x34b04a(0x1aa)][_0x34b04a(0x135)]({'errorMessage':_0x3acc4b(this[_0x34b04a(0x151)][_0x34b04a(0xf4)],_0x34b04a(0x20b)),'id':_0x11a3c6}),this[_0x34b04a(0x12f)](_0x7bff33));}),await this[_0x2ae7b6(0x1bb)][_0x2ae7b6(0x18c)](this[_0x2ae7b6(0x151)][_0x2ae7b6(0x1a0)][_0x2ae7b6(0x1bd)](_0x2ae7b6(0x18b))),_0x21d968||await this[_0x2ae7b6(0x1bb)][_0x2ae7b6(0x12b)]();}async[_0x1858dd(0xfc)]({userMessage:_0x1286a0,attributes:_0xa13516}){const _0x294604=_0x1858dd;if(!this[_0x294604(0x1bb)])throw new _0x58385f(_0x294604(0x234));if(this[_0x294604(0x1bb)][_0x294604(0xf1)]()){const _0x493df6=await this[_0x294604(0xdf)][_0x294604(0x20f)]();await this[_0x294604(0x1bb)][_0x294604(0x169)](_0x493df6);}this[_0x294604(0x1bb)]['id']&&this[_0x294604(0x1bb)][_0x294604(0x1d5)]&&await this[_0x294604(0x1bb)][_0x294604(0xf5)]({'userMessage':_0x1286a0,'attributes':_0xa13516});}[_0x1858dd(0x1e0)](){const _0x49aad4=_0x1858dd;console[_0x49aad4(0x15b)](_0x49aad4(0x113));}[_0x1858dd(0x24c)](_0x4837b8){const _0x552cf7=_0x1858dd;this[_0x552cf7(0x1aa)][_0x552cf7(0x180)](_0x4837b8);}[_0x1858dd(0x12f)](_0x1aca72){const _0xf34477=_0x1858dd;_0x233dba(_0x1aca72[_0xf34477(0x25a)]);}[_0x1858dd(0x116)](_0x49195c){const _0x2e80bb=_0x1858dd;this[_0x2e80bb(0x1bb)]?.[_0x2e80bb(0x24d)](_0x49195c);}[_0x1858dd(0xe8)](){const _0x5639f5=_0x1858dd;this[_0x5639f5(0x1bb)]?.[_0x5639f5(0xf9)]();}[_0x1858dd(0x1de)](){const _0x6caad7=_0x1858dd;this[_0x6caad7(0x1bb)]?.[_0x6caad7(0xe6)]();}[_0x1858dd(0x137)](_0x55f2e3){const _0x44a6bb=_0x1858dd,[_0x1b59e9,_0x5b4cba]=_0x55f2e3[_0x44a6bb(0x16f)](':'),_0x691df2=this[_0x44a6bb(0x1bb)][_0x44a6bb(0x109)](_0x1b59e9),_0x101889=_0x691df2[_0x44a6bb(0x230)](_0x5b4cba);return{'interaction':_0x691df2,'reply':_0x101889};}[_0x1858dd(0x243)](_0x29231a,_0x32b0e4=!0x1){const _0x5c548b=_0x1858dd,_0x1ef644=_0x5efda0(this[_0x5c548b(0x151)]),_0x4eca02={'target':_0x1ef644[_0x5c548b(0x10c)][_0x5c548b(0x1a2)][_0x5c548b(0xe9)][_0x5c548b(0x1f2)](_0x1ef644[_0x5c548b(0x10c)][_0x5c548b(0x15e)][_0x5c548b(0x1fc)](_0x29231a)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x32b0e4};_0x32b0e4&&(_0x4eca02[_0x5c548b(0x1d0)]=!0x0),_0x531395(_0x4eca02);}[_0x1858dd(0x165)](_0x9bfdb6,_0x4912dc=!0x1){const _0x3c0764=_0x1858dd;this[_0x3c0764(0x1aa)][_0x3c0764(0x166)](_0x9bfdb6||_0x3acc4b(this[_0x3c0764(0x151)][_0x3c0764(0xf4)],_0x3c0764(0x220)),_0x4912dc);}async[_0x1858dd(0x17b)]({reply:_0x466fbf,renderingStrategy:_0x1720d8}){const _0x5b1037=_0x1858dd,{id:_0x14bfca,interactionId:_0x33fa00,isDone:_0x21c8bb,type:_0x296a16,parsedContent:_0x5c70ae}=_0x466fbf,_0x55d7af=_0x33fa00+':'+_0x14bfca;if(_0x5b1037(0x14f)===_0x296a16){const _0xd92465=_0x466fbf[_0x5b1037(0x1a7)]({'showDiff':this[_0x5b1037(0x1aa)][_0x5b1037(0xe3)]});await this[_0x5b1037(0x1aa)][_0x5b1037(0x22a)]({'id':_0x55d7af,'parts':_0xd92465,'renderingStrategy':_0x1720d8,'isDone':_0x21c8bb});}else _0x5b1037(0x102)===_0x296a16&&await this[_0x5b1037(0x1aa)][_0x5b1037(0x206)]({'id':_0x55d7af,'parsedContent':_0x5c70ae,'renderingStrategy':_0x1720d8,'isDone':_0x21c8bb});_0x21c8bb&&_0x466fbf[_0x5b1037(0x20e)][_0x5b1037(0x1e9)]>0x0&&this[_0x5b1037(0x1aa)][_0x5b1037(0x11c)](_0x55d7af,_0x466fbf[_0x5b1037(0x20e)]);}async[_0x1858dd(0x1a3)](){const _0x94f95d=_0x1858dd,_0x1bdd07=this[_0x94f95d(0x1bb)]?.[_0x94f95d(0x123)];_0x1bdd07&&(_0x1bdd07[_0x94f95d(0xfa)](),this[_0x94f95d(0x1aa)][_0x94f95d(0x256)](_0x1bdd07));}async[_0x1858dd(0x1f1)](){const _0x652849=_0x1858dd,_0x3f4843=this[_0x652849(0x1bb)]?.[_0x652849(0x123)];if(_0x3f4843){for await(const _0x243d93 of _0x3f4843[_0x652849(0x1b0)])await this[_0x652849(0x17b)]({'reply':_0x243d93,'renderingStrategy':_0x652849(0x1d3)});}}[_0x1858dd(0x1c9)](_0x53a51e){const _0x2baeae=_0x1858dd,_0x4ba04f={'positiveCount':_0x53a51e[_0x2baeae(0x199)][_0x2baeae(0xd9)](_0x2bef01=>_0x2baeae(0x1af)===_0x2bef01[_0x2baeae(0x170)])[_0x2baeae(0x1e9)],'totalCount':_0x53a51e[_0x2baeae(0x199)][_0x2baeae(0x1e9)],'modificationId':_0x53a51e['id']},_0x4a5ee5=this[_0x2baeae(0x1bb)][_0x2baeae(0x109)](_0x53a51e[_0x2baeae(0x1b1)])[_0x2baeae(0xda)];_0x4a5ee5&&this[_0x2baeae(0x226)][_0x2baeae(0x143)](this[_0x2baeae(0x1bb)]['id'],_0x4a5ee5,_0x4ba04f);}[_0x1858dd(0x1f5)](_0x3bedf3){const _0x4d2791=_0x1858dd;let _0x1f1654=null,_0x3c1461=null;this['on'](_0x4d2791(0x1b7),(_0x5cdcf9,_0x40aa2d,_0x5c76a9)=>{const _0x215fad=_0x4d2791;_0x5c76a9['id']!==_0x1f1654&&(_0x1f1654=_0x5c76a9['id'],_0x3c1461=this[_0x215fad(0x1df)](_0x5c76a9)),_0x3bedf3(_0x40aa2d,_0x3c1461);});}[_0x1858dd(0x1df)](_0x338375){const _0x12ac07=_0x1858dd,_0x35ad65=this[_0x12ac07(0x1aa)],_0x441d23=()=>{const _0x9d267d=_0x12ac07;_0x338375[_0x9d267d(0x185)](),_0x338375[_0x9d267d(0x22c)](),_0x35ad65[_0x9d267d(0x1dc)]();},_0x495654=()=>{const _0x456aaf=_0x12ac07;_0x338375[_0x456aaf(0xd7)]&&(_0x338375[_0x456aaf(0xd7)][_0x456aaf(0x146)](),_0x338375[_0x456aaf(0xd7)]=void 0x0);};return{'insertTextReply':(_0x4a6c67,_0xcfdc37)=>{const _0x5536d5=_0x12ac07;_0x495654(),_0x441d23();const _0x37b947=_0x338375[_0x5536d5(0xd7)]=_0x338375[_0x5536d5(0x1bc)]({'type':_0x5536d5(0x102),'interactionId':_0x338375['id'],'content':_0x4a6c67,'id':_0xcfdc37||_0x989407()});return _0x495654(),_0x37b947;},'insertCustomElement':async(_0x1310e5,_0x40b391)=>(_0x495654(),_0x441d23(),_0x35ad65[_0x12ac07(0x184)](_0x1310e5,_0x40b391||_0x989407())),'setLoadingMessage':_0x3d3023=>{const _0x215d87=_0x12ac07;_0x35ad65[_0x215d87(0x238)](_0x3d3023);},'clearLoadingMessage':()=>{const _0x2182e3=_0x12ac07;_0x35ad65[_0x2182e3(0x1dc)]();}};}}
|