@ckeditor/ckeditor5-ai 47.7.0-alpha.3 → 47.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/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/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x328711=_0x111d;(function(_0x42192b,_0x3ec528){const _0x381947=_0x111d,_0x3e3bf7=_0x42192b();while(!![]){try{const _0x1d6202=parseInt(_0x381947(0x126))/0x1*(-parseInt(_0x381947(0x11d))/0x2)+parseInt(_0x381947(0x125))/0x3+-parseInt(_0x381947(0x112))/0x4+-parseInt(_0x381947(0x114))/0x5+parseInt(_0x381947(0x113))/0x6*(parseInt(_0x381947(0x117))/0x7)+-parseInt(_0x381947(0x10b))/0x8*(-parseInt(_0x381947(0x10d))/0x9)+parseInt(_0x381947(0x11a))/0xa*(parseInt(_0x381947(0x118))/0xb);if(_0x1d6202===_0x3ec528)break;else _0x3e3bf7['push'](_0x3e3bf7['shift']());}catch(_0x830a40){_0x3e3bf7['push'](_0x3e3bf7['shift']());}}}(_0x13b3,0xe3d4a));import{CKEditorError as _0x9e90f4,compareArrays as _0x495ebd}from'ckeditor5/src/utils.js';function _0x111d(_0x6b7fdf,_0x45225b){const _0x13b311=_0x13b3();return _0x111d=function(_0x111d6c,_0x287fdd){_0x111d6c=_0x111d6c-0x106;let _0x2aff4f=_0x13b311[_0x111d6c];return _0x2aff4f;},_0x111d(_0x6b7fdf,_0x45225b);}import{getNodePath as _0x5b2fa3,isText as _0x264c0f,getChildren as _0x452daf,isDocument as _0x7d8034,getParent as _0xf37495,textContent as _0x2460f5,hasChildren as _0x43d887}from'./htmlparser.js';export class DocumentPosition{[_0x328711(0x107)];[_0x328711(0x108)];[_0x328711(0x11e)];constructor(_0x4b1836,_0x912ec3,_0x448a75){const _0x29be4b=_0x328711;if(_0x264c0f(_0x912ec3)&&_0x448a75>_0x912ec3[_0x29be4b(0x115)][_0x29be4b(0x10e)])throw new _0x9e90f4(_0x29be4b(0x123),null,{'index':_0x448a75,'parent':_0x912ec3});if(_0x43d887(_0x912ec3)&&_0x448a75>_0x452daf(_0x912ec3)[_0x29be4b(0x10e)])throw new _0x9e90f4(_0x29be4b(0x123),null,{'index':_0x448a75,'parent':_0x912ec3});if(_0x448a75<0x0)throw new _0x9e90f4(_0x29be4b(0x123),null,{'index':_0x448a75,'parent':_0x912ec3});this[_0x29be4b(0x107)]=_0x912ec3,this[_0x29be4b(0x108)]=_0x448a75,this[_0x29be4b(0x11e)]=_0x4b1836;}get[_0x328711(0x110)](){const _0x50aa66=_0x328711;return[..._0x5b2fa3(this[_0x50aa66(0x107)]),this[_0x50aa66(0x108)]];}[_0x328711(0x11c)](_0x3bacad){const _0x54f632=_0x328711;return this[_0x54f632(0x11e)]==_0x3bacad[_0x54f632(0x11e)]&&_0x54f632(0x119)===_0x495ebd(this[_0x54f632(0x110)],_0x3bacad[_0x54f632(0x110)]);}get[_0x328711(0x109)](){const _0x18bba9=_0x328711;if(_0x43d887(this[_0x18bba9(0x107)])){const _0x34da7c=_0x452daf(this[_0x18bba9(0x107)])[this[_0x18bba9(0x108)]];if(_0x34da7c)return _0x34da7c;{const _0x2da402=DocumentPosition[_0x18bba9(0x106)](this[_0x18bba9(0x11e)],this[_0x18bba9(0x107)]);if(_0x2da402)return _0x2da402[_0x18bba9(0x109)];}}return null;}get[_0x328711(0x10f)](){const _0x51202b=_0x328711;if(_0x43d887(this[_0x51202b(0x107)])){const _0x56f738=_0x452daf(this[_0x51202b(0x107)])[this[_0x51202b(0x108)]-0x1];if(_0x56f738)return _0x56f738;{const _0x59e472=DocumentPosition[_0x51202b(0x10c)](this[_0x51202b(0x11e)],this[_0x51202b(0x107)]);if(_0x59e472)return _0x59e472[_0x51202b(0x10f)];}}return null;}[_0x328711(0x120)](_0x310494=_0x328711(0x127)){const _0x3f830f=_0x328711;if(!_0x264c0f(this[_0x3f830f(0x107)]))return this;const _0x172507=this[_0x3f830f(0x110)][this[_0x3f830f(0x110)][_0x3f830f(0x10e)]-0x1],_0x15a399=_0x2460f5(this[_0x3f830f(0x107)])[_0x3f830f(0x10a)](/(?:\s*\S+\s*)/g);let _0x3e0144=0x0,_0xfe205=_0x172507;for(const _0x4f2538 of _0x15a399){if(_0x3e0144+_0x4f2538[_0x3f830f(0x10e)]===_0x172507)return this;if(_0x3e0144+_0x4f2538[_0x3f830f(0x10e)]>_0x172507){_0xfe205=_0x3f830f(0x127)===_0x310494?_0x3e0144:_0x3e0144+_0x4f2538[_0x3f830f(0x10e)];break;}_0x3e0144+=_0x4f2538[_0x3f830f(0x10e)];}return DocumentPosition[_0x3f830f(0x122)](this[_0x3f830f(0x11e)],this[_0x3f830f(0x107)],_0xfe205);}static[_0x328711(0x106)](_0x352d16,_0xc0d276){const _0x403eb0=_0x328711;if(_0x7d8034(_0xc0d276))return null;const _0x57fbe4=_0xf37495(_0xc0d276);return DocumentPosition[_0x403eb0(0x122)](_0x352d16,_0x57fbe4,_0x452daf(_0x57fbe4)[_0x403eb0(0x11f)](_0xc0d276)+0x1);}static[_0x328711(0x10c)](_0x183a47,_0x59e163){const _0x49a77f=_0x328711;if(_0x7d8034(_0x59e163))return null;const _0x5aa8d4=_0xf37495(_0x59e163);return DocumentPosition[_0x49a77f(0x122)](_0x183a47,_0x5aa8d4,_0x452daf(_0x5aa8d4)[_0x49a77f(0x11f)](_0x59e163));}static[_0x328711(0x122)](_0x2867ce,_0x5c21e3,_0x1847fe=_0x328711(0x127)){const _0x5c5ebb=_0x328711;return new DocumentPosition(_0x2867ce,_0x5c21e3,_0x5c5ebb(0x127)===_0x1847fe?0x0:_0x5c5ebb(0x116)===_0x1847fe?_0x264c0f(_0x5c21e3)?_0x5c21e3[_0x5c5ebb(0x115)][_0x5c5ebb(0x10e)]:_0x452daf(_0x5c21e3)[_0x5c5ebb(0x10e)]:_0x1847fe);}static[_0x328711(0x121)](_0x1096ec,_0x2a7d25){const _0x3aeeff=_0x328711;if(!_0x2a7d25[_0x3aeeff(0x10e)])throw new _0x9e90f4(_0x3aeeff(0x111),null,{'path':_0x2a7d25});const _0x167874=_0x2a7d25[_0x3aeeff(0x11b)](0x0,-0x1)[_0x3aeeff(0x124)]((_0xf673f8,_0x559bf0)=>_0x264c0f(_0xf673f8)?_0xf673f8:_0x452daf(_0xf673f8)[_0x559bf0],_0x1096ec);return DocumentPosition[_0x3aeeff(0x122)](_0x1096ec,_0x167874,_0x2a7d25[_0x2a7d25[_0x3aeeff(0x10e)]-0x1]);}}function _0x13b3(){const _0x5b6faf=['length','previousNode','path','ai-documentposition-createfrompath-path-cannot-be-empty','6230820UVQeVw','101826ZxcWJB','2100615WTyBvV','data','end','371BTTXYt','27511FZHYRG','same','20hhXFGY','slice','isEqual','2kjfhKS','document','indexOf','getNudgedToWordBoundary','createFromPath','createAt','ai-documentposition-index-out-of-bounds','reduce','3509694exJwii','615679MzgAsk','start','createAfter','parent','index','nextNode','match','8SFyAXV','createBefore','13071042IBwgZn'];_0x13b3=function(){return _0x5b6faf;};return _0x13b3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1928(){const _0x5b4e22=['43wzsUiL','2588019bjcfMA','372955erZMHq','length','push','3822099iLjNEV','1975990lfAdPB','start','createAfter','parent','createAt','8TvqADA','previousNode','createFromPath','slice','1654398BAWhFo','document','data','getNudgedToWordBoundary','path','end','4714240Ifqlll','reverse','forEach','6hCqESr','12ezCoWe','780NWrfOf','createBefore','nextNode','firstChild','includes','isEqual','28714gQneyV','lastChild','getContent'];_0x1928=function(){return _0x5b4e22;};return _0x1928();}const _0x2b2937=_0x33d5;function _0x33d5(_0x3fd41d,_0x5a7ef4){const _0x192819=_0x1928();return _0x33d5=function(_0x33d568,_0x30f263){_0x33d568=_0x33d568-0xff;let _0x41e536=_0x192819[_0x33d568];return _0x41e536;},_0x33d5(_0x3fd41d,_0x5a7ef4);}(function(_0x4343c8,_0x203828){const _0x1791b0=_0x33d5,_0x666dab=_0x4343c8();while(!![]){try{const _0xb100dd=parseInt(_0x1791b0(0x100))/0x1*(parseInt(_0x1791b0(0x120))/0x2)+-parseInt(_0x1791b0(0x105))/0x3+parseInt(_0x1791b0(0x119))/0x4*(-parseInt(_0x1791b0(0x106))/0x5)+-parseInt(_0x1791b0(0x118))/0x6*(parseInt(_0x1791b0(0x101))/0x7)+-parseInt(_0x1791b0(0x10b))/0x8*(-parseInt(_0x1791b0(0x10f))/0x9)+parseInt(_0x1791b0(0x115))/0xa+-parseInt(_0x1791b0(0x102))/0xb*(-parseInt(_0x1791b0(0x11a))/0xc);if(_0xb100dd===_0x203828)break;else _0x666dab['push'](_0x666dab['shift']());}catch(_0x3da476){_0x666dab['push'](_0x666dab['shift']());}}}(_0x1928,0x9dfa6));import{DocumentPosition as _0x2b1df2}from'./documentposition.js';import{clone as _0xa6975d,getParents as _0x435de5,Document as _0x45ea26,Text as _0x1a6e20,isTag as _0x173fda,isText as _0x467633,replaceElement as _0x1df403,removeElement as _0x59a184}from'./htmlparser.js';export class DocumentRange{[_0x2b2937(0x107)];[_0x2b2937(0x114)];constructor(_0x118513,_0x463c6b){const _0x2c96e5=_0x2b2937;this[_0x2c96e5(0x107)]=_0x118513,this[_0x2c96e5(0x114)]=_0x463c6b;}[_0x2b2937(0x11f)](_0x1e9751){const _0x598632=_0x2b2937;return this==_0x1e9751||this[_0x598632(0x107)][_0x598632(0x11f)](_0x1e9751[_0x598632(0x107)])&&this[_0x598632(0x114)][_0x598632(0x11f)](_0x1e9751[_0x598632(0x114)]);}[_0x2b2937(0x112)](){const _0x36c74f=_0x2b2937;return new DocumentRange(this[_0x36c74f(0x107)][_0x36c74f(0x112)](_0x36c74f(0x107)),this[_0x36c74f(0x114)][_0x36c74f(0x112)](_0x36c74f(0x114)));}[_0x2b2937(0xff)](){const _0xb28a2=_0x2b2937,_0x851803=_0xa6975d(this[_0xb28a2(0x107)][_0xb28a2(0x110)]),_0xafda7b=_0x2b1df2[_0xb28a2(0x10d)](_0x851803,this[_0xb28a2(0x107)][_0xb28a2(0x113)]),_0x328c16=_0x2b1df2[_0xb28a2(0x10d)](_0x851803,this[_0xb28a2(0x114)][_0xb28a2(0x113)]);let _0x50b0d5,_0xf437a5;if(_0x467633(_0xafda7b[_0xb28a2(0x109)])){const _0x4e7a06=_0xafda7b[_0xb28a2(0x113)][_0xafda7b[_0xb28a2(0x113)][_0xb28a2(0x103)]-0x1],_0x31f154=new _0x1a6e20(_0xafda7b[_0xb28a2(0x109)][_0xb28a2(0x111)][_0xb28a2(0x10e)](_0x4e7a06));_0x1df403(_0xafda7b[_0xb28a2(0x109)],_0x31f154),_0x50b0d5=_0x31f154;}else _0x50b0d5=_0xafda7b[_0xb28a2(0x11c)];if(_0x467633(_0x328c16[_0xb28a2(0x109)])){const _0x4c626a=_0x328c16[_0xb28a2(0x113)][_0x328c16[_0xb28a2(0x113)][_0xb28a2(0x103)]-0x1],_0x2e9243=new _0x1a6e20(_0x328c16[_0xb28a2(0x109)][_0xb28a2(0x111)][_0xb28a2(0x10e)](0x0,_0x4c626a));_0x1df403(_0x328c16[_0xb28a2(0x109)],_0x2e9243),_0xf437a5=_0x2e9243;}else _0xf437a5=_0x328c16[_0xb28a2(0x10c)];if(!(_0x50b0d5&&_0xf437a5&&_0x851803[_0xb28a2(0x11d)]&&_0x851803[_0xb28a2(0x121)]))return new _0x45ea26([]);const _0x18d2bd=_0x435de5(_0x50b0d5),_0x44aea0=_0x435de5(_0xf437a5),_0x1c828f=[],_0x380782=[];let _0x480e5c=_0x851803[_0xb28a2(0x11d)];for(;_0x480e5c&&_0x480e5c!==_0x50b0d5;){let _0x2dadb3;_0x18d2bd[_0xb28a2(0x11e)](_0x480e5c)||_0x1c828f[_0xb28a2(0x104)](_0x480e5c),_0x2dadb3=_0x173fda(_0x480e5c)?_0x2b1df2[_0xb28a2(0x10a)](_0x851803,_0x480e5c,_0xb28a2(0x107)):_0x2b1df2[_0xb28a2(0x108)](_0x851803,_0x480e5c),_0x480e5c=_0x2dadb3?_0x2dadb3[_0xb28a2(0x11c)]:null;}for(_0x480e5c=_0x851803[_0xb28a2(0x121)];_0x480e5c&&_0x480e5c!==_0xf437a5;){let _0x481d5e;_0x44aea0[_0xb28a2(0x11e)](_0x480e5c)||_0x380782[_0xb28a2(0x104)](_0x480e5c),_0x481d5e=_0x173fda(_0x480e5c)?_0x2b1df2[_0xb28a2(0x10a)](_0x851803,_0x480e5c,_0xb28a2(0x114)):_0x2b1df2[_0xb28a2(0x11b)](_0x851803,_0x480e5c),_0x480e5c=_0x481d5e?_0x481d5e[_0xb28a2(0x10c)]:null;}return _0x1c828f[_0xb28a2(0x117)](_0x2e8c27=>{_0x59a184(_0x2e8c27);}),_0x380782[_0xb28a2(0x116)]()[_0xb28a2(0x117)](_0x17ca18=>{_0x59a184(_0x17ca18);}),_0x851803;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x41b382=_0xa975;function _0xa975(_0x4f42d4,_0x2c9a05){const _0x1d0a12=_0x1d0a();return _0xa975=function(_0xa97531,_0x1f7dc5){_0xa97531=_0xa97531-0x70;let _0x395f63=_0x1d0a12[_0xa97531];return _0x395f63;},_0xa975(_0x4f42d4,_0x2c9a05);}function _0x1d0a(){const _0x1ddfac=['insertSuggestion','showChangeInText','dislike','1766484mZNRkS','mouseLeaveSuggestion','360ZNuDBl','1183890muKNuM','rejectSuggestion','904690fChYzy','mouseOverSuggestion','27dqraKp','370TjkODt','applySuggestion','148016MQQPGP','like','24206NNpLpP','142004ZiFakr','55mNiYDs','754mxdbKT','toggleSuggestionDisplayMode'];_0x1d0a=function(){return _0x1ddfac;};return _0x1d0a();}(function(_0x35ded4,_0x46fedd){const _0x1cae7e=_0xa975,_0x5e31ff=_0x35ded4();while(!![]){try{const _0x319f65=parseInt(_0x1cae7e(0x7a))/0x1*(parseInt(_0x1cae7e(0x7b))/0x2)+-parseInt(_0x1cae7e(0x73))/0x3*(-parseInt(_0x1cae7e(0x79))/0x4)+-parseInt(_0x1cae7e(0x71))/0x5+parseInt(_0x1cae7e(0x83))/0x6+-parseInt(_0x1cae7e(0x78))/0x7*(-parseInt(_0x1cae7e(0x82))/0x8)+parseInt(_0x1cae7e(0x80))/0x9+parseInt(_0x1cae7e(0x74))/0xa*(-parseInt(_0x1cae7e(0x76))/0xb);if(_0x319f65===_0x46fedd)break;else _0x5e31ff['push'](_0x5e31ff['shift']());}catch(_0x5b24ce){_0x5e31ff['push'](_0x5e31ff['shift']());}}}(_0x1d0a,0x336cb));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x41b382(0x7e),_0x41b382(0x7d),_0x41b382(0x75),_0x41b382(0x70),_0x41b382(0x72),_0x41b382(0x81),_0x41b382(0x7c),_0x41b382(0x77),_0x41b382(0x7f)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4258a2,_0x2c67b6){var _0x4b2605=_0x5d7f,_0xef389c=_0x4258a2();while(!![]){try{var _0x23b8b2=parseInt(_0x4b2605(0x142))/0x1+parseInt(_0x4b2605(0x147))/0x2+parseInt(_0x4b2605(0x139))/0x3+parseInt(_0x4b2605(0x148))/0x4*(-parseInt(_0x4b2605(0x13a))/0x5)+parseInt(_0x4b2605(0x140))/0x6*(-parseInt(_0x4b2605(0x13d))/0x7)+parseInt(_0x4b2605(0x144))/0x8+-parseInt(_0x4b2605(0x13c))/0x9*(-parseInt(_0x4b2605(0x13e))/0xa);if(_0x23b8b2===_0x2c67b6)break;else _0xef389c['push'](_0xef389c['shift']());}catch(_0x28dad3){_0xef389c['push'](_0xef389c['shift']());}}}(_0x21db,0x8b788));import{CKEditorError as _0x1f9d7d}from'ckeditor5/src/utils.js';function _0x5d7f(_0x3f1ade,_0xbfd6e3){var _0x21dbc3=_0x21db();return _0x5d7f=function(_0x5d7f01,_0x1ae451){_0x5d7f01=_0x5d7f01-0x139;var _0x1806d0=_0x21dbc3[_0x5d7f01];return _0x1806d0;},_0x5d7f(_0x3f1ade,_0xbfd6e3);}function _0x21db(){var _0x529fe0=['15323ynzcbg','10BQbjKL','get','2634gIMDOy','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','425237RltUdY','ai-get-editor-from-context-no-editor','7464216nvVksh','warn','editors','1262676WfRPLW','4dtFtTi','759597JZfZEM','3860675kZCNZS','length','554193ulODbo'];_0x21db=function(){return _0x529fe0;};return _0x21db();}import{Editor as _0x8c482}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x191d7b){var _0x15a460=_0x5d7f;if(_0x191d7b instanceof _0x8c482)return _0x191d7b;if(_0x191d7b?.[_0x15a460(0x146)]&&_0x191d7b[_0x15a460(0x146)][_0x15a460(0x13f)](0x0))return _0x191d7b[_0x15a460(0x146)][_0x15a460(0x13b)]>0x1&&console[_0x15a460(0x145)](_0x15a460(0x141)),_0x191d7b[_0x15a460(0x146)][_0x15a460(0x13f)](0x0);throw new _0x1f9d7d(_0x15a460(0x143));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x49b864,_0x503984){const _0x3abd33=_0xb889,_0x11af4b=_0x49b864();while(!![]){try{const _0x3970da=parseInt(_0x3abd33(0x1d0))/0x1+-parseInt(_0x3abd33(0x1de))/0x2*(-parseInt(_0x3abd33(0x1e7))/0x3)+parseInt(_0x3abd33(0x1c6))/0x4+-parseInt(_0x3abd33(0x1e5))/0x5+parseInt(_0x3abd33(0x1e2))/0x6*(parseInt(_0x3abd33(0x1e3))/0x7)+parseInt(_0x3abd33(0x1cf))/0x8*(-parseInt(_0x3abd33(0x1e6))/0x9)+parseInt(_0x3abd33(0x1e4))/0xa*(parseInt(_0x3abd33(0x1c9))/0xb);if(_0x3970da===_0x503984)break;else _0x11af4b['push'](_0x11af4b['shift']());}catch(_0x2165c9){_0x11af4b['push'](_0x11af4b['shift']());}}}(_0x8070,0x8bf2a));function _0xb889(_0x40b1b7,_0xa0ec22){const _0x807028=_0x8070();return _0xb889=function(_0xb889b4,_0x5d5632){_0xb889b4=_0xb889b4-0x1c3;let _0x15bfe7=_0x807028[_0xb889b4];return _0x15bfe7;},_0xb889(_0x40b1b7,_0xa0ec22);}function _0x8070(){const _0x540b87=['6CQlDuR','1419243Tdyjvc','810JwpGkh','2464730YNgUqV','1629PgbALL','1137lpetwb','model','document','filter','version','history','689196uihlzg','marker','new','25982DvThQH','getDiff','cloneNode','documentContextContent','operationsA','shift','31128KORstM','729565yyKTmg','get','previousSibling','content','node','getDocumentContext','name','markers','removed','getRange','getOperations','map','oldRange','data-id','2504rJgUpW','type','length','anchorId'];_0x8070=function(){return _0x540b87;};return _0x8070();}import{transformOperationSets as _0x1a8387}from'ckeditor5/src/engine.js';import{append as _0x277922,findByAttribute as _0x37dea1,prependChild as _0x4adf12,removeElement as _0x1242be,serialize as _0x4a3796}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x129f5c,interaction:_0x3bf6a6,reply:_0x226e0e,groups:_0x5ef4f9,transform:_0x4efee9,documentCompare:_0x525212,documentCompareOptions:_0x34840b}){const _0x26c771=_0xb889,_0x405eca=_0x3bf6a6[_0x26c771(0x1d5)]();if(!_0x405eca)return[];const _0x55549f=_0x405eca[_0x26c771(0x1d3)],_0x1f79cf=_0x405eca[_0x26c771(0x1c4)],_0x4b063f=_0x226e0e[_0x26c771(0x1cc)][_0x26c771(0x1cb)](!0x0);for(const {changes:_0x866aba}of _0x5ef4f9){const _0x52db5f=_0x866aba[_0x26c771(0x1c3)](_0x39f9e5=>_0x26c771(0x1c8)!=_0x39f9e5[_0x26c771(0x1df)])[_0x26c771(0x1db)](_0x5bb28d=>_0x37dea1(_0x26c771(0x1dd),_0x5bb28d['id'],_0x4b063f)),_0x3873ac=_0x866aba[_0x26c771(0x1c3)](_0x2b897b=>_0x26c771(0x1d8)!=_0x2b897b[_0x26c771(0x1df)])[_0x26c771(0x1db)](_0x4c9d2=>_0x4c9d2[_0x26c771(0x1d4)][_0x26c771(0x1cb)](!0x0));let _0x27d79c=null;if(_0x52db5f[_0x26c771(0x1e0)]){_0x27d79c=_0x52db5f[0x0][_0x26c771(0x1d2)];for(let _0x5d2abd=0x0;_0x5d2abd<_0x52db5f[_0x26c771(0x1e0)];_0x5d2abd++)_0x1242be(_0x52db5f[_0x5d2abd]);}if(_0x3873ac[_0x26c771(0x1e0)]){_0x27d79c||(_0x866aba[0x0][_0x26c771(0x1e1)]?_0x27d79c=_0x37dea1(_0x26c771(0x1dd),_0x866aba[0x0][_0x26c771(0x1e1)],_0x4b063f):(_0x27d79c=_0x3873ac[_0x26c771(0x1ce)](),_0x4adf12(_0x4b063f,_0x27d79c)));for(let _0x171a30=0x0;_0x171a30<_0x3873ac[_0x26c771(0x1e0)];_0x171a30++)_0x277922(_0x27d79c,_0x3873ac[_0x171a30]),_0x27d79c=_0x3873ac[_0x171a30];}}const _0x2f0461=_0x4a3796(_0x4b063f),_0x156738=_0x525212[_0x26c771(0x1ca)](_0x55549f,_0x2f0461,_0x34840b)[_0x26c771(0x1da)]();if(_0x4efee9){const _0x3f4330=_0x129f5c[_0x26c771(0x1e8)][_0x26c771(0x1e9)][_0x26c771(0x1c5)][_0x26c771(0x1da)](_0x1f79cf),_0x2b512c={'document':_0x129f5c[_0x26c771(0x1e8)][_0x26c771(0x1e9)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x1a8387(_0x156738,_0x3f4330,_0x2b512c)[_0x26c771(0x1cd)];}return _0x156738;}export function fixMarkerOperationOldRange(_0x41151d,_0x279589){const _0x51b24b=_0xb889;if(_0x51b24b(0x1c7)!=_0x279589[_0x51b24b(0x1df)])return;const _0x2323ea=_0x41151d[_0x51b24b(0x1e8)][_0x51b24b(0x1d7)][_0x51b24b(0x1d1)](_0x279589[_0x51b24b(0x1d6)]);_0x2323ea&&(_0x279589[_0x51b24b(0x1dc)]=_0x2323ea[_0x51b24b(0x1d9)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0xac5bac,_0x2a1e86){const _0xcaae2e=_0xf5fe,_0x40dde6=_0xac5bac();while(!![]){try{const _0x3c55ed=parseInt(_0xcaae2e(0x179))/0x1+parseInt(_0xcaae2e(0x193))/0x2+parseInt(_0xcaae2e(0x17e))/0x3*(-parseInt(_0xcaae2e(0x148))/0x4)+parseInt(_0xcaae2e(0x185))/0x5*(parseInt(_0xcaae2e(0x14f))/0x6)+parseInt(_0xcaae2e(0x16e))/0x7*(parseInt(_0xcaae2e(0x17a))/0x8)+-parseInt(_0xcaae2e(0x1a6))/0x9+parseInt(_0xcaae2e(0x165))/0xa*(-parseInt(_0xcaae2e(0x162))/0xb);if(_0x3c55ed===_0x2a1e86)break;else _0x40dde6['push'](_0x40dde6['shift']());}catch(_0x3d333c){_0x40dde6['push'](_0x40dde6['shift']());}}}(_0x4246,0x19020));import{findOne as _0x2adb6c,getAttribute as _0x2f835a,Document as _0x3e9c6d,serialize as _0x2419bb,parse as _0x2640e3}from'./htmlparser.js';import{fixElementSuggestionRange as _0x579242}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x2e88fb,_DetachOperation as _0x4401bf,_removeFromModelNodeList as _0x47bd94,_insertIntoModelNodeList as _0x3427bc}from'ckeditor5/src/engine.js';import{uid as _0x330f94}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x1f8597,changeGroups:_0x5bef54,documentContextContent:_0x4f5ab0,showDiff:_0x40a577,trimUnchanged:_0x139f8a=!0x0}){const _0x28d6f7=_0xf5fe;return _0x5bef54[_0x28d6f7(0x1ac)](_0x411909=>{const _0x2ef7e8=_0x28d6f7,_0x27a2e4=new _0x3e9c6d([]),_0x2107df=new _0x3e9c6d([]);for(const _0x169bc4 of _0x411909[_0x2ef7e8(0x156)])if(_0x40a577&&_0x2ef7e8(0x166)==_0x169bc4[_0x2ef7e8(0x16f)]||_0x2107df[_0x2ef7e8(0x1b0)][_0x2ef7e8(0x1b5)](_0x169bc4[_0x2ef7e8(0x16d)][_0x2ef7e8(0x194)](!0x0)),_0x2ef7e8(0x182)!=_0x169bc4[_0x2ef7e8(0x16f)]&&(_0x40a577||_0x2ef7e8(0x166)!=_0x169bc4[_0x2ef7e8(0x16f)])){const _0x5ee25c=_0x2adb6c(_0x234f1d=>_0x2f835a(_0x234f1d,_0x2ef7e8(0x17b))==_0x169bc4['id'],_0x4f5ab0,!0x0);_0x5ee25c&&_0x27a2e4[_0x2ef7e8(0x1b0)][_0x2ef7e8(0x1b5)](_0x5ee25c[_0x2ef7e8(0x194)](!0x0));}const {content:_0x30168c,hasChanges:_0x28615a}=function(_0xc8241b,_0x5ac26b,_0x1a76f1,_0x3cfe48,_0x4e5266=!0x0){const _0x22e339=_0x2ef7e8,_0x497b7e=_0xc8241b[_0x22e339(0x17c)][_0x22e339(0x1a3)](_0x22e339(0x159)),_0x4c0124=_0x2419bb(_0x5ac26b),_0x58bd49=_0x2419bb(_0x1a76f1),_0x55b23d=_0xc8241b[_0x22e339(0x14a)][_0x22e339(0x176)](_0x4c0124,_0x22e339(0x15e)),_0x1d5a84=_0xc8241b[_0x22e339(0x19b)][_0x22e339(0x158)](_0x55b23d,0x0),_0x111a80=_0x497b7e[_0x22e339(0x1ab)](_0x4c0124,_0x58bd49,{'anchor':_0x1d5a84,'markDeletions':_0x3cfe48}),_0x593ecd=_0x111a80[_0x22e339(0x187)]();if(0x0==_0x593ecd[_0x22e339(0x16b)])return{'content':_0x5ac26b[_0x22e339(0x194)](!0x0),'hasChanges':!0x1};_0x3cfe48?function(_0x454e5a,_0xa64540,_0x24a1f9){const _0x431d90=_0x22e339;if(0x0==_0x454e5a[_0x431d90(0x16b)])return;const _0x153459=_0x24a1f9[_0x431d90(0x17c)][_0x431d90(0x1a3)](_0x431d90(0x159)),_0x3515b2=_0x24a1f9[_0x431d90(0x17c)][_0x431d90(0x1a3)](_0x431d90(0x184));_0x24a1f9[_0x431d90(0x19b)][_0x431d90(0x144)](_0x259bc2=>{const _0x191695=_0x431d90,_0x322328=new Set();for(let _0x1e5cd0=0x0;_0x1e5cd0<_0x454e5a[_0x191695(0x16b)];_0x1e5cd0++){const _0x4487ed=_0x454e5a[_0x1e5cd0];if(_0x4487ed[_0x191695(0x195)]=null,_0x4487ed[_0x191695(0x19a)]=!0x1,_0x153459[_0x191695(0x1a0)](_0x4487ed)){const _0x2712a6=_0x579242(_0x4487ed[_0x191695(0x18a)],_0x24a1f9[_0x191695(0x19b)]),_0x1e0f49=_0x191695(0x17d)+_0x330f94()+_0x191695(0x1b4);_0xa64540[_0x191695(0x1a8)][_0x191695(0x168)](_0x1e0f49,_0x2712a6);}else switch(_0x4487ed[_0x191695(0x16f)]){case _0x191695(0x155):{if(_0x4487ed[_0x191695(0x1aa)]==_0x4487ed[_0x191695(0x154)])break;_0x259bc2[_0x191695(0x149)][_0x191695(0x171)](_0x4487ed),_0x24a1f9[_0x191695(0x19b)][_0x191695(0x1b1)](_0x4487ed);const _0xbb873a=_0x191695(0x18d),_0x14d95c=_0x4487ed[_0x191695(0x1b6)],_0x4312b9=_0x24a1f9[_0x191695(0x19b)][_0x191695(0x14e)](_0x14d95c,_0x24a1f9[_0x191695(0x19b)][_0x191695(0x158)](_0x14d95c[_0x191695(0x15c)],_0x191695(0x191))),_0x24edb7=_0x191695(0x1a2)+_0xbb873a+':'+_0x330f94()+_0x191695(0x1b4);_0xa64540[_0x191695(0x1a8)][_0x191695(0x168)](_0x24edb7,_0x4312b9);break;}case _0x191695(0x150):case _0x191695(0x1a4):case _0x191695(0x15a):{if(_0x4487ed[_0x191695(0x190)]==_0x4487ed[_0x191695(0x151)])break;_0x259bc2[_0x191695(0x149)][_0x191695(0x171)](_0x4487ed),_0x24a1f9[_0x191695(0x19b)][_0x191695(0x1b1)](_0x4487ed);const _0x2a0ab8=_0x4487ed[_0x191695(0x16c)];if(!_0x3515b2[_0x191695(0x186)](_0x2a0ab8))break;const _0xe7707f=_0x579242(_0x4487ed[_0x191695(0x1a7)],_0x24a1f9[_0x191695(0x19b)]),_0x35e77d=_0x191695(0x1a2)+_0x2a0ab8+':'+_0x330f94()+_0x191695(0x1b4);_0xa64540[_0x191695(0x1a8)][_0x191695(0x168)](_0x35e77d,_0xe7707f);break;}case _0x191695(0x1a9):{_0x259bc2[_0x191695(0x149)][_0x191695(0x171)](_0x4487ed),_0x24a1f9[_0x191695(0x19b)][_0x191695(0x1b1)](_0x4487ed);if(_0x454e5a[_0x1e5cd0+0x1]&&_0x191695(0x169)==_0x454e5a[_0x1e5cd0+0x1][_0x191695(0x16f)]){no(_0xa64540,_0x4487ed);break;}const _0x533cf6=_0x4487ed[_0x191695(0x1b6)],_0x4a5409=_0x4487ed[_0x191695(0x197)],_0x4305e0=_0x579242(_0x24a1f9[_0x191695(0x19b)][_0x191695(0x14e)](_0x533cf6,_0x533cf6[_0x191695(0x192)](_0x4a5409)),_0x24a1f9[_0x191695(0x19b)]),_0x2a6408=_0x191695(0x14b)+_0x330f94()+_0x191695(0x1b4);_0xa64540[_0x191695(0x1a8)][_0x191695(0x168)](_0x2a6408,_0x4305e0);break;}case _0x191695(0x1b3):{_0x259bc2[_0x191695(0x149)][_0x191695(0x171)](_0x4487ed),_0x24a1f9[_0x191695(0x19b)][_0x191695(0x1b1)](_0x4487ed);const _0x1c2b0b=_0x4487ed[_0x191695(0x1a5)],_0x562db4=_0x4487ed[_0x191695(0x16a)],_0x1fd3f3=_0x24a1f9[_0x191695(0x19b)][_0x191695(0x14e)](_0x1c2b0b,_0x562db4),_0x3606c4=_0x191695(0x14b)+_0x330f94()+_0x191695(0x1b4);_0xa64540[_0x191695(0x1a8)][_0x191695(0x168)](_0x3606c4,_0x1fd3f3);break;}case _0x191695(0x169):{_0x259bc2[_0x191695(0x149)][_0x191695(0x171)](_0x4487ed),_0x24a1f9[_0x191695(0x19b)][_0x191695(0x1b1)](_0x4487ed),_0x454e5a[_0x1e5cd0-0x1]&&_0x191695(0x1a9)==_0x454e5a[_0x1e5cd0-0x1][_0x191695(0x16f)]&&no(_0xa64540,_0x4487ed);const _0x6bc3e=_0x4487ed[_0x191695(0x143)](),_0x17cfbd=_0x4487ed[_0x191695(0x197)];for(let _0x58ac3c=0x0;_0x58ac3c<_0x17cfbd;_0x58ac3c++){const _0xc9da3a=_0x6bc3e[_0x191695(0x192)](_0x58ac3c)[_0x191695(0x15c)];_0x322328[_0x191695(0x17f)](_0xc9da3a);}break;}case _0x191695(0x175):{const _0x496193=_0x4487ed[_0x191695(0x14c)],_0x3d53b2=_0x4487ed[_0x191695(0x197)],_0x1cecf5=new _0x4401bf(_0x496193,_0x3d53b2);_0x259bc2[_0x191695(0x149)][_0x191695(0x171)](_0x1cecf5),_0x24a1f9[_0x191695(0x19b)][_0x191695(0x1b1)](_0x1cecf5);break;}}}for(const _0x140a85 of _0x322328){const _0x23d942=_0x24a1f9[_0x191695(0x19b)][_0x191695(0x18f)](_0x140a85),_0x3b29a6=_0x191695(0x145)+_0x330f94()+_0x191695(0x1b4);_0xa64540[_0x191695(0x1a8)][_0x191695(0x168)](_0x3b29a6,_0x579242(_0x23d942,_0x24a1f9[_0x191695(0x19b)]));}});}(_0x593ecd,_0x55b23d,_0xc8241b):_0xc8241b[_0x22e339(0x19b)][_0x22e339(0x144)](_0x457a94=>{const _0x1a1f54=_0x22e339;for(const _0x8391a1 of _0x593ecd)if(_0x1a1f54(0x175)==_0x8391a1[_0x1a1f54(0x16f)]){const _0x108803=_0x8391a1[_0x1a1f54(0x14c)],_0x159512=_0x8391a1[_0x1a1f54(0x197)],_0x59814d=new _0x4401bf(_0x108803,_0x159512);_0x457a94[_0x1a1f54(0x149)][_0x1a1f54(0x171)](_0x59814d),_0xc8241b[_0x1a1f54(0x19b)][_0x1a1f54(0x1b1)](_0x59814d);}else{if(_0x1a1f54(0x15f)==_0x8391a1[_0x1a1f54(0x16f)]){const _0x44d86b=_0x8391a1[_0x1a1f54(0x163)],_0x487d02=_0x8391a1[_0x1a1f54(0x18a)];null!==_0x487d02?_0x55b23d[_0x1a1f54(0x1a8)][_0x1a1f54(0x168)](_0x44d86b,_0x487d02):_0x55b23d[_0x1a1f54(0x1a8)][_0x1a1f54(0x167)](_0x44d86b);}else _0x8391a1[_0x1a1f54(0x195)]=null,_0x8391a1[_0x1a1f54(0x19a)]=!0x1,_0x457a94[_0x1a1f54(0x149)][_0x1a1f54(0x171)](_0x8391a1),_0xc8241b[_0x1a1f54(0x19b)][_0x1a1f54(0x1b1)](_0x8391a1);}});if(_0x4e5266){const _0x396d3f=getMinimalSelection(_0xc8241b,_0x593ecd,_0x55b23d);expandSelectionWithContext(_0xc8241b[_0x22e339(0x19b)],_0x396d3f),function(_0x40408d,_0x579c50){const _0x5e0797=_0x22e339,_0x46a35b=_0x579c50[_0x5e0797(0x153)]()[_0x5e0797(0x19c)];let _0x27b49b=_0x579c50[_0x5e0797(0x153)]()[_0x5e0797(0x191)];const _0x422c07=_0x46a35b[_0x5e0797(0x173)];(_0x27b49b[_0x5e0797(0x189)]||_0x27b49b[_0x5e0797(0x15c)]&&_0x27b49b[_0x5e0797(0x15c)]['is'](_0x5e0797(0x19f)))&&(_0x3427bc(_0x27b49b,_0x5e0797(0x157)),_0x27b49b=_0x27b49b[_0x5e0797(0x192)](0x3)),(_0x46a35b[_0x5e0797(0x189)]||_0x46a35b[_0x5e0797(0x142)]&&_0x46a35b[_0x5e0797(0x142)]['is'](_0x5e0797(0x19f)))&&(_0x3427bc(_0x46a35b,_0x5e0797(0x157)),function(_0x2dd07d,_0x531600,_0x43ec18){const _0x3df165=_0x5e0797;for(let [_0x25e445,_0x23ef70]of _0x2dd07d[_0x3df165(0x1a8)]){const _0x419ff6=_0x23ef70[_0x3df165(0x172)](_0x531600,_0x43ec18,!0x1);_0x23ef70=_0x419ff6[0x0],_0x2dd07d[_0x3df165(0x1a8)][_0x3df165(0x168)](_0x25e445,_0x23ef70);}}(_0x422c07,_0x46a35b,0x3),_0x46a35b[_0x5e0797(0x164)]==_0x27b49b[_0x5e0797(0x164)]&&(_0x27b49b=_0x27b49b[_0x5e0797(0x192)](0x3)));const _0x4cf6ff=_0x40408d[_0x5e0797(0x14e)](_0x40408d[_0x5e0797(0x158)](_0x422c07,0x0),_0x46a35b),_0x4dd3f4=_0x40408d[_0x5e0797(0x14e)](_0x27b49b,_0x40408d[_0x5e0797(0x158)](_0x422c07,_0x5e0797(0x191))),_0x6bce77=[..._0x4cf6ff[_0x5e0797(0x1b7)](),..._0x4dd3f4[_0x5e0797(0x1b7)]()];_0x6bce77[_0x5e0797(0x199)]();for(const _0x3696c1 of _0x6bce77)_0x47bd94(_0x3696c1),_transformMarkersByDeletion(_0x422c07,_0x3696c1);}(_0xc8241b[_0x22e339(0x19b)],_0x396d3f);}const _0x3d8ad7=_0xc8241b[_0x22e339(0x14a)][_0x22e339(0x15b)](_0x55b23d,{'showSuggestionHighlights':!0x0});return{'content':_0x2640e3(_0x3d8ad7),'hasChanges':!0x0};}(_0x1f8597,_0x27a2e4,_0x2107df,_0x40a577,_0x139f8a);return{'type':_0x411909[_0x2ef7e8(0x156)][0x0][_0x2ef7e8(0x16f)],'index':_0x411909[_0x2ef7e8(0x1b2)],'content':_0x30168c,'hasChanges':_0x28615a};});}function _0xf5fe(_0x178df9,_0x3be45b){const _0x424699=_0x4246();return _0xf5fe=function(_0xf5feaa,_0x4d1d26){_0xf5feaa=_0xf5feaa-0x142;let _0x19c94b=_0x424699[_0xf5feaa];return _0x19c94b;},_0xf5fe(_0x178df9,_0x3be45b);}function no(_0x5875b1,_0x131be2){const _0x3b6489=_0xf5fe;for(const [_0x5ac125,_0x1f4a82]of _0x5875b1[_0x3b6489(0x1a8)]){const _0x5403ed=_0x2e88fb[_0x3b6489(0x178)](_0x1f4a82[_0x3b6489(0x14d)](_0x131be2));_0x5875b1[_0x3b6489(0x1a8)][_0x3b6489(0x168)](_0x5ac125,_0x5403ed);}}export function getMinimalSelection(_0x132bba,_0x185e52,_0x4c1ea9){const _0x8d7f89=_0xf5fe,_0x28c47a=_0x132bba[_0x8d7f89(0x17c)][_0x8d7f89(0x1a3)](_0x8d7f89(0x159));let _0x2897e4=_0x132bba[_0x8d7f89(0x19b)][_0x8d7f89(0x158)](_0x4c1ea9,Number[_0x8d7f89(0x174)]),_0x517e67=_0x132bba[_0x8d7f89(0x19b)][_0x8d7f89(0x158)](_0x4c1ea9,0x0);for(const _0x108995 of _0x185e52){let _0x166d8a,_0x5d3743;if(_0x28c47a[_0x8d7f89(0x1a0)](_0x108995))_0x166d8a=_0x108995[_0x8d7f89(0x18a)][_0x8d7f89(0x19c)],_0x5d3743=_0x108995[_0x8d7f89(0x18a)][_0x8d7f89(0x191)];else switch(_0x2897e4=_0x2897e4[_0x8d7f89(0x14d)](_0x108995),_0x517e67=_0x517e67[_0x8d7f89(0x14d)](_0x108995),_0x108995[_0x8d7f89(0x16f)]){case _0x8d7f89(0x155):_0x166d8a=_0x108995[_0x8d7f89(0x1b6)],_0x5d3743=_0x166d8a[_0x8d7f89(0x192)](0x1);break;case _0x8d7f89(0x150):case _0x8d7f89(0x1a4):case _0x8d7f89(0x15a):_0x166d8a=_0x108995[_0x8d7f89(0x1a7)][_0x8d7f89(0x19c)],_0x5d3743=_0x108995[_0x8d7f89(0x1a7)][_0x8d7f89(0x191)];break;case _0x8d7f89(0x1a9):_0x166d8a=_0x108995[_0x8d7f89(0x1b6)],_0x5d3743=_0x166d8a[_0x8d7f89(0x192)](_0x108995[_0x8d7f89(0x197)]);break;case _0x8d7f89(0x1b3):_0x166d8a=_0x108995[_0x8d7f89(0x1a5)],_0x5d3743=_0x108995[_0x8d7f89(0x16a)];break;case _0x8d7f89(0x1ad):{const _0x40b29c=_0x108995[_0x8d7f89(0x18e)][_0x8d7f89(0x1ae)][_0x8d7f89(0x198)](0x0,-0x1);_0x166d8a=_0x132bba[_0x8d7f89(0x19b)][_0x8d7f89(0x18c)](_0x4c1ea9,_0x40b29c),_0x5d3743=_0x166d8a[_0x8d7f89(0x192)](0x1);break;}case _0x8d7f89(0x175):{const _0x5be32e=_0x108995[_0x8d7f89(0x197)],_0x695a1e=_0x108995[_0x8d7f89(0x14c)][_0x8d7f89(0x172)](_0x108995[_0x8d7f89(0x18e)],_0x5be32e),_0x357649=_0x108995[_0x8d7f89(0x143)]();_0x8d7f89(0x175)==_0x108995[_0x8d7f89(0x16f)]?(_0x166d8a=_0x695a1e,_0x5d3743=_0x695a1e):(_0x166d8a=_0x357649,_0x5d3743=_0x357649[_0x8d7f89(0x192)](_0x5be32e));break;}}_0x166d8a&&_0x166d8a[_0x8d7f89(0x18b)](_0x2897e4)&&(_0x2897e4=_0x166d8a[_0x8d7f89(0x19e)](),_0x2897e4[_0x8d7f89(0x15d)]=_0x8d7f89(0x146)),_0x5d3743&&_0x5d3743[_0x8d7f89(0x183)](_0x517e67)&&(_0x517e67=_0x5d3743[_0x8d7f89(0x19e)](),_0x517e67[_0x8d7f89(0x15d)]=_0x8d7f89(0x146));}return _0x132bba[_0x8d7f89(0x19b)][_0x8d7f89(0x180)](_0x132bba[_0x8d7f89(0x19b)][_0x8d7f89(0x14e)](_0x2897e4,_0x517e67));}export function expandSelectionWithContext(_0x14fbf4,_0x21e28b){const _0x282f68=_0xf5fe;ro(_0x14fbf4,_0x21e28b,_0x282f68(0x147));const _0x4db6b3=_0x21e28b[_0x282f68(0x153)]();_0x21e28b[_0x282f68(0x152)]([]),_0x21e28b[_0x282f68(0x152)](_0x4db6b3,{'backward':!0x0}),ro(_0x14fbf4,_0x21e28b,_0x282f68(0x160));}function ro(_0x34c9e7,_0x5158d7,_0x57765a){const _0x1ec79a=_0xf5fe;let _0x4739c6=0x14;for(;_0x4739c6;){_0x34c9e7[_0x1ec79a(0x188)](_0x5158d7,{'unit':_0x1ec79a(0x1a1),'direction':_0x57765a}),_0x4739c6--;const _0x224385=_0x5158d7[_0x1ec79a(0x196)][_0x1ec79a(0x147)==_0x57765a?_0x1ec79a(0x142):_0x1ec79a(0x15c)];if(_0x224385&&_0x224385['is'](_0x1ec79a(0x181))&&_0x34c9e7[_0x1ec79a(0x1af)][_0x1ec79a(0x19d)](_0x224385)&&_0x34c9e7[_0x1ec79a(0x1af)][_0x1ec79a(0x161)](_0x224385))break;}}function _0x4246(){const _0x4cbc5e=['108133oHNJvw','8cJDdYV','data-id','plugins','suggestion:deletion:','981XpdqLL','add','createSelection','element','new','isAfter','SuggestionsConversion','4935xhIayJ','isRegisteredAttribute','getOperations','modifySelection','textNode','newRange','isBefore','createPositionFromPath','$elementName','targetPosition','createRangeOn','oldValue','end','getShiftedBy','214038RiHXmp','cloneNode','baseVersion','focus','howMany','slice','reverse','isDocumentOperation','model','start','isBlock','clone','$text','isMarkedRemoveOperation','word','suggestion:attribute:','get','removeAttribute','splitPosition','562725SJhQuD','range','markers','insert','oldName','getDiff','map','merge','path','schema','children','applyOperation','index','split',':$aiSuggestion','push','position','getMinimalFlatRanges','nodeBefore','getMovedRangeStart','change','suggestion:formatBlock:$fakeWrap:','toNone','forward','1248cLFUNV','batch','data','suggestion:insertion:','sourcePosition','getTransformedByOperation','createRange','486kzKQcT','addAttribute','newValue','setTo','getFirstRange','newName','rename','changes','...','createPositionAt','DocumentCompare','changeAttribute','stringify','nodeAfter','stickiness','$root','marker','backward','isObject','407033rYPnnh','name','parent','20mTARiD','removed','delete','set','move','moveTargetPosition','length','key','node','321216OhXAZK','type','offset','addOperation','_getTransformedByInsertion','root','POSITIVE_INFINITY','remove','parse','_getTransformedByDeletion','_createFromRanges'];_0x4246=function(){return _0x4cbc5e;};return _0x4246();}export function _transformMarkersByDeletion(_0xec40b9,_0x68099){const _0xd06390=_0xf5fe;for(const [_0x33744d,_0x43b03d]of _0xec40b9[_0xd06390(0x1a8)]){const _0x5a357a=_0x43b03d[_0xd06390(0x177)](_0x68099[_0xd06390(0x19c)],_0x68099[_0xd06390(0x191)][_0xd06390(0x170)]-_0x68099[_0xd06390(0x19c)][_0xd06390(0x170)]);null!=_0x5a357a?_0xec40b9[_0xd06390(0x1a8)][_0xd06390(0x168)](_0x33744d,_0x5a357a):_0xec40b9[_0xd06390(0x1a8)][_0xd06390(0x167)](_0x33744d);}}
|
|
23
|
+
(function(_0x4e7d85,_0x465def){const _0x4eb958=_0x708b,_0x2a3828=_0x4e7d85();while(!![]){try{const _0x4b289b=parseInt(_0x4eb958(0x1fb))/0x1*(parseInt(_0x4eb958(0x205))/0x2)+-parseInt(_0x4eb958(0x1f4))/0x3*(-parseInt(_0x4eb958(0x22a))/0x4)+-parseInt(_0x4eb958(0x235))/0x5*(-parseInt(_0x4eb958(0x249))/0x6)+-parseInt(_0x4eb958(0x210))/0x7+-parseInt(_0x4eb958(0x213))/0x8*(-parseInt(_0x4eb958(0x25d))/0x9)+parseInt(_0x4eb958(0x20c))/0xa+-parseInt(_0x4eb958(0x207))/0xb*(parseInt(_0x4eb958(0x1f3))/0xc);if(_0x4b289b===_0x465def)break;else _0x2a3828['push'](_0x2a3828['shift']());}catch(_0x3e824a){_0x2a3828['push'](_0x2a3828['shift']());}}}(_0x5754,0x72ea4));import{findOne as _0x55bb0c,getAttribute as _0x272648,Document as _0x4e0315,serialize as _0x2614c7,parse as _0x8c35c6}from'./htmlparser.js';import{fixElementSuggestionRange as _0x3b0718}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x2b1de9,_DetachOperation as _0x2f7019,_removeFromModelNodeList as _0x30bdc5,_insertIntoModelNodeList as _0x1fad71}from'ckeditor5/src/engine.js';import{uid as _0x3800ef}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x24099c,changeGroups:_0x1638fd,documentContextContent:_0x5e3ac9,showDiff:_0x287b28,trimUnchanged:_0x594f9b=!0x0}){const _0x2d5242=_0x708b;return _0x1638fd[_0x2d5242(0x24d)](_0x43f1b9=>{const _0x118831=_0x2d5242,_0x4d1860=new _0x4e0315([]),_0xf4a8ce=new _0x4e0315([]);for(const _0x12626e of _0x43f1b9[_0x118831(0x224)])if(_0x287b28&&_0x118831(0x260)==_0x12626e[_0x118831(0x22e)]||_0xf4a8ce[_0x118831(0x1fa)][_0x118831(0x1fc)](_0x12626e[_0x118831(0x20e)][_0x118831(0x208)](!0x0)),_0x118831(0x251)!=_0x12626e[_0x118831(0x22e)]&&(_0x287b28||_0x118831(0x260)!=_0x12626e[_0x118831(0x22e)])){const _0x21aa8c=_0x55bb0c(_0x40a6bd=>_0x272648(_0x40a6bd,_0x118831(0x252))==_0x12626e['id'],_0x5e3ac9,!0x0);_0x21aa8c&&_0x4d1860[_0x118831(0x1fa)][_0x118831(0x1fc)](_0x21aa8c[_0x118831(0x208)](!0x0));}const {content:_0x3ce536,hasChanges:_0x493bbe}=function(_0x2756f1,_0x4512e5,_0x24f99e,_0x53036a,_0x150a00=!0x0){const _0x4a456f=_0x118831,_0x53f2ca=_0x2756f1[_0x4a456f(0x261)][_0x4a456f(0x23a)](_0x4a456f(0x214)),_0x2b5873=_0x2614c7(_0x4512e5),_0x402cd4=_0x2614c7(_0x24f99e),_0x28ac68=_0x2756f1[_0x4a456f(0x233)][_0x4a456f(0x1ff)](_0x2b5873,_0x4a456f(0x209)),_0x106a3c=_0x2756f1[_0x4a456f(0x241)][_0x4a456f(0x221)](_0x28ac68,0x0),_0x469282=_0x53f2ca[_0x4a456f(0x1f9)](_0x2b5873,_0x402cd4,{'anchor':_0x106a3c,'markDeletions':_0x53036a}),_0x4604cd=_0x469282[_0x4a456f(0x1f8)]();if(0x0==_0x4604cd[_0x4a456f(0x23f)])return{'content':_0x4512e5[_0x4a456f(0x208)](!0x0),'hasChanges':!0x1};_0x53036a?function(_0x234367,_0x313ddb,_0x143a75){const _0x3e082b=_0x4a456f;if(0x0==_0x234367[_0x3e082b(0x23f)])return;const _0x59bcdc=_0x143a75[_0x3e082b(0x261)][_0x3e082b(0x23a)](_0x3e082b(0x214)),_0x3d6990=_0x143a75[_0x3e082b(0x261)][_0x3e082b(0x23a)](_0x3e082b(0x1ec));_0x143a75[_0x3e082b(0x241)][_0x3e082b(0x24a)](_0x379df9=>{const _0x68e0d4=_0x3e082b,_0x522f21=new Set();for(let _0xc380bb=0x0;_0xc380bb<_0x234367[_0x68e0d4(0x23f)];_0xc380bb++){const _0xfaf47f=_0x234367[_0xc380bb];if(_0xfaf47f[_0x68e0d4(0x203)]=null,_0xfaf47f[_0x68e0d4(0x234)]=!0x1,_0x59bcdc[_0x68e0d4(0x215)](_0xfaf47f)){const _0xbd5d16=_0x3b0718(_0xfaf47f[_0x68e0d4(0x248)],_0x143a75[_0x68e0d4(0x241)]),_0x1551a6=_0x68e0d4(0x20f)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x1551a6,_0xbd5d16);}else switch(_0xfaf47f[_0x68e0d4(0x22e)]){case _0x68e0d4(0x202):{if(_0xfaf47f[_0x68e0d4(0x230)]==_0xfaf47f[_0x68e0d4(0x245)])break;_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);const _0x515e82=_0x68e0d4(0x200),_0x5c256a=_0xfaf47f[_0x68e0d4(0x217)],_0x52b696=_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x25f)](_0x5c256a,_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x221)](_0x5c256a[_0x68e0d4(0x243)],_0x68e0d4(0x23b))),_0x31dea6=_0x68e0d4(0x250)+_0x515e82+':'+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x31dea6,_0x52b696);break;}case _0x68e0d4(0x1f0):case _0x68e0d4(0x1f5):case _0x68e0d4(0x201):{if(_0xfaf47f[_0x68e0d4(0x222)]==_0xfaf47f[_0x68e0d4(0x218)])break;_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);const _0x1bcebc=_0xfaf47f[_0x68e0d4(0x255)];if(!_0x3d6990[_0x68e0d4(0x211)](_0x1bcebc))break;const _0x15f3d3=_0x3b0718(_0xfaf47f[_0x68e0d4(0x21e)],_0x143a75[_0x68e0d4(0x241)]),_0x5d957e=_0x68e0d4(0x250)+_0x1bcebc+':'+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x5d957e,_0x15f3d3);break;}case _0x68e0d4(0x22d):{_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);if(_0x234367[_0xc380bb+0x1]&&_0x68e0d4(0x1fd)==_0x234367[_0xc380bb+0x1][_0x68e0d4(0x22e)]){no(_0x313ddb,_0xfaf47f);break;}const _0x314edd=_0xfaf47f[_0x68e0d4(0x217)],_0x2568d6=_0xfaf47f[_0x68e0d4(0x206)],_0x184b1d=_0x3b0718(_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x25f)](_0x314edd,_0x314edd[_0x68e0d4(0x1ef)](_0x2568d6)),_0x143a75[_0x68e0d4(0x241)]),_0x390ad=_0x68e0d4(0x22b)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x390ad,_0x184b1d);break;}case _0x68e0d4(0x1f7):{_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);const _0x455766=_0xfaf47f[_0x68e0d4(0x231)],_0x450551=_0xfaf47f[_0x68e0d4(0x23d)],_0x5f9c22=_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x25f)](_0x455766,_0x450551),_0x567fbd=_0x68e0d4(0x22b)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x567fbd,_0x5f9c22);break;}case _0x68e0d4(0x1fd):{_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f),_0x234367[_0xc380bb-0x1]&&_0x68e0d4(0x22d)==_0x234367[_0xc380bb-0x1][_0x68e0d4(0x22e)]&&no(_0x313ddb,_0xfaf47f);const _0xec5b8f=_0xfaf47f[_0x68e0d4(0x204)](),_0xab12d0=_0xfaf47f[_0x68e0d4(0x206)];for(let _0x9b6d1=0x0;_0x9b6d1<_0xab12d0;_0x9b6d1++){const _0x228f16=_0xec5b8f[_0x68e0d4(0x1ef)](_0x9b6d1)[_0x68e0d4(0x243)];_0x522f21[_0x68e0d4(0x226)](_0x228f16);}break;}case _0x68e0d4(0x20d):{const _0x50bf84=_0xfaf47f[_0x68e0d4(0x1f2)],_0x3da0a7=_0xfaf47f[_0x68e0d4(0x206)],_0x57cfdf=new _0x2f7019(_0x50bf84,_0x3da0a7);_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0x57cfdf),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0x57cfdf);break;}}}for(const _0x2a84d6 of _0x522f21){const _0x45bf7a=_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x259)](_0x2a84d6),_0x490c57=_0x68e0d4(0x21a)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x490c57,_0x3b0718(_0x45bf7a,_0x143a75[_0x68e0d4(0x241)]));}});}(_0x4604cd,_0x28ac68,_0x2756f1):_0x2756f1[_0x4a456f(0x241)][_0x4a456f(0x24a)](_0x57f113=>{const _0x953bfd=_0x4a456f;for(const _0x43da4d of _0x4604cd)if(_0x953bfd(0x20d)==_0x43da4d[_0x953bfd(0x22e)]){const _0x22a479=_0x43da4d[_0x953bfd(0x1f2)],_0x191353=_0x43da4d[_0x953bfd(0x206)],_0x33096c=new _0x2f7019(_0x22a479,_0x191353);_0x57f113[_0x953bfd(0x238)][_0x953bfd(0x262)](_0x33096c),_0x2756f1[_0x953bfd(0x241)][_0x953bfd(0x240)](_0x33096c);}else{if(_0x953bfd(0x24b)==_0x43da4d[_0x953bfd(0x22e)]){const _0xecf39b=_0x43da4d[_0x953bfd(0x22f)],_0x48ec7d=_0x43da4d[_0x953bfd(0x248)];null!==_0x48ec7d?_0x28ac68[_0x953bfd(0x216)][_0x953bfd(0x1ee)](_0xecf39b,_0x48ec7d):_0x28ac68[_0x953bfd(0x216)][_0x953bfd(0x212)](_0xecf39b);}else _0x43da4d[_0x953bfd(0x203)]=null,_0x43da4d[_0x953bfd(0x234)]=!0x1,_0x57f113[_0x953bfd(0x238)][_0x953bfd(0x262)](_0x43da4d),_0x2756f1[_0x953bfd(0x241)][_0x953bfd(0x240)](_0x43da4d);}});if(_0x150a00){const _0x19a0a1=getMinimalSelection(_0x2756f1,_0x4604cd,_0x28ac68);expandSelectionWithContext(_0x2756f1[_0x4a456f(0x241)],_0x19a0a1),function(_0x9164bc,_0x50e3c6){const _0x35fd7f=_0x4a456f,_0x20f112=_0x50e3c6[_0x35fd7f(0x219)]()[_0x35fd7f(0x21c)];let _0x14eea8=_0x50e3c6[_0x35fd7f(0x219)]()[_0x35fd7f(0x23b)];const _0x32c7db=_0x20f112[_0x35fd7f(0x25e)];(_0x14eea8[_0x35fd7f(0x23e)]||_0x14eea8[_0x35fd7f(0x243)]&&_0x14eea8[_0x35fd7f(0x243)]['is'](_0x35fd7f(0x24e)))&&(_0x1fad71(_0x14eea8,_0x35fd7f(0x1f1)),_0x14eea8=_0x14eea8[_0x35fd7f(0x1ef)](0x3)),(_0x20f112[_0x35fd7f(0x23e)]||_0x20f112[_0x35fd7f(0x21f)]&&_0x20f112[_0x35fd7f(0x21f)]['is'](_0x35fd7f(0x24e)))&&(_0x1fad71(_0x20f112,_0x35fd7f(0x1f1)),function(_0xb9cb5,_0x3870a,_0x1fda58){const _0x1ffbd1=_0x35fd7f;for(let [_0xfa5c96,_0x305ff5]of _0xb9cb5[_0x1ffbd1(0x216)]){const _0xd0195=_0x305ff5[_0x1ffbd1(0x21b)](_0x3870a,_0x1fda58,!0x1);_0x305ff5=_0xd0195[0x0],_0xb9cb5[_0x1ffbd1(0x216)][_0x1ffbd1(0x1ee)](_0xfa5c96,_0x305ff5);}}(_0x32c7db,_0x20f112,0x3),_0x20f112[_0x35fd7f(0x256)]==_0x14eea8[_0x35fd7f(0x256)]&&(_0x14eea8=_0x14eea8[_0x35fd7f(0x1ef)](0x3)));const _0x1c1905=_0x9164bc[_0x35fd7f(0x25f)](_0x9164bc[_0x35fd7f(0x221)](_0x32c7db,0x0),_0x20f112),_0x5f48d5=_0x9164bc[_0x35fd7f(0x25f)](_0x14eea8,_0x9164bc[_0x35fd7f(0x221)](_0x32c7db,_0x35fd7f(0x23b))),_0x4539d2=[..._0x1c1905[_0x35fd7f(0x237)](),..._0x5f48d5[_0x35fd7f(0x237)]()];_0x4539d2[_0x35fd7f(0x21d)]();for(const _0x5d53c4 of _0x4539d2)_0x30bdc5(_0x5d53c4),_transformMarkersByDeletion(_0x32c7db,_0x5d53c4);}(_0x2756f1[_0x4a456f(0x241)],_0x19a0a1);}const _0x4357d9=_0x2756f1[_0x4a456f(0x233)][_0x4a456f(0x229)](_0x28ac68,{'showSuggestionHighlights':!0x0});return{'content':_0x8c35c6(_0x4357d9),'hasChanges':!0x0};}(_0x24099c,_0x4d1860,_0xf4a8ce,_0x287b28,_0x594f9b);return{'type':_0x43f1b9[_0x118831(0x224)][0x0][_0x118831(0x22e)],'index':_0x43f1b9[_0x118831(0x1fe)],'content':_0x3ce536,'hasChanges':_0x493bbe};});}function no(_0xdc21ce,_0xe42e49){const _0x348e65=_0x708b;for(const [_0x452f86,_0x57fb42]of _0xdc21ce[_0x348e65(0x216)]){const _0x45becc=_0x2b1de9[_0x348e65(0x246)](_0x57fb42[_0x348e65(0x25c)](_0xe42e49));_0xdc21ce[_0x348e65(0x216)][_0x348e65(0x1ee)](_0x452f86,_0x45becc);}}function _0x5754(){const _0x160562=['isRegisteredAttribute','delete','6471184EXlCaU','DocumentCompare','isMarkedRemoveOperation','markers','position','newValue','getFirstRange','suggestion:formatBlock:$fakeWrap:','_getTransformedByInsertion','start','reverse','range','nodeBefore','stickiness','createPositionAt','oldValue','_getTransformedByDeletion','changes','toNone','add','path','merge','stringify','4ZAIQnH','suggestion:insertion:','focus','insert','type','name','oldName','splitPosition','targetPosition','data','isDocumentOperation','30335FuGGZO',':$aiSuggestion','getMinimalFlatRanges','batch','backward','get','end','slice','moveTargetPosition','textNode','length','applyOperation','model','word','nodeAfter','createSelection','newName','_createFromRanges','element','newRange','618unSAbQ','change','marker','offset','map','$text','modifySelection','suggestion:attribute:','new','data-id','schema','isBefore','key','parent','clone','POSITIVE_INFINITY','createRangeOn','isBlock','setTo','getTransformedByOperation','9BvDJLl','root','createRange','removed','plugins','addOperation','SuggestionsConversion','isAfter','set','getShiftedBy','addAttribute','...','sourcePosition','8340lphEgl','1340799aRGXaP','removeAttribute','createPositionFromPath','split','getOperations','getDiff','children','47309gQptWL','push','move','index','parse','$elementName','changeAttribute','rename','baseVersion','getMovedRangeStart','6YMiPID','howMany','30041VcAgBi','cloneNode','$root','isObject','forward','8925250aAATvq','remove','node','suggestion:deletion:','3825129KTeeIf'];_0x5754=function(){return _0x160562;};return _0x5754();}export function getMinimalSelection(_0x19a56,_0x32fef3,_0x53fc8a){const _0x199be7=_0x708b,_0x52b09a=_0x19a56[_0x199be7(0x261)][_0x199be7(0x23a)](_0x199be7(0x214));let _0xfab513=_0x19a56[_0x199be7(0x241)][_0x199be7(0x221)](_0x53fc8a,Number[_0x199be7(0x258)]),_0x19e74b=_0x19a56[_0x199be7(0x241)][_0x199be7(0x221)](_0x53fc8a,0x0);for(const _0x5d24b6 of _0x32fef3){let _0x24956a,_0x638c9f;if(_0x52b09a[_0x199be7(0x215)](_0x5d24b6))_0x24956a=_0x5d24b6[_0x199be7(0x248)][_0x199be7(0x21c)],_0x638c9f=_0x5d24b6[_0x199be7(0x248)][_0x199be7(0x23b)];else switch(_0xfab513=_0xfab513[_0x199be7(0x25c)](_0x5d24b6),_0x19e74b=_0x19e74b[_0x199be7(0x25c)](_0x5d24b6),_0x5d24b6[_0x199be7(0x22e)]){case _0x199be7(0x202):_0x24956a=_0x5d24b6[_0x199be7(0x217)],_0x638c9f=_0x24956a[_0x199be7(0x1ef)](0x1);break;case _0x199be7(0x1f0):case _0x199be7(0x1f5):case _0x199be7(0x201):_0x24956a=_0x5d24b6[_0x199be7(0x21e)][_0x199be7(0x21c)],_0x638c9f=_0x5d24b6[_0x199be7(0x21e)][_0x199be7(0x23b)];break;case _0x199be7(0x22d):_0x24956a=_0x5d24b6[_0x199be7(0x217)],_0x638c9f=_0x24956a[_0x199be7(0x1ef)](_0x5d24b6[_0x199be7(0x206)]);break;case _0x199be7(0x1f7):_0x24956a=_0x5d24b6[_0x199be7(0x231)],_0x638c9f=_0x5d24b6[_0x199be7(0x23d)];break;case _0x199be7(0x228):{const _0xe9ff3f=_0x5d24b6[_0x199be7(0x232)][_0x199be7(0x227)][_0x199be7(0x23c)](0x0,-0x1);_0x24956a=_0x19a56[_0x199be7(0x241)][_0x199be7(0x1f6)](_0x53fc8a,_0xe9ff3f),_0x638c9f=_0x24956a[_0x199be7(0x1ef)](0x1);break;}case _0x199be7(0x20d):{const _0x2f6b6b=_0x5d24b6[_0x199be7(0x206)],_0x137c9a=_0x5d24b6[_0x199be7(0x1f2)][_0x199be7(0x21b)](_0x5d24b6[_0x199be7(0x232)],_0x2f6b6b),_0x2f13e6=_0x5d24b6[_0x199be7(0x204)]();_0x199be7(0x20d)==_0x5d24b6[_0x199be7(0x22e)]?(_0x24956a=_0x137c9a,_0x638c9f=_0x137c9a):(_0x24956a=_0x2f13e6,_0x638c9f=_0x2f13e6[_0x199be7(0x1ef)](_0x2f6b6b));break;}}_0x24956a&&_0x24956a[_0x199be7(0x254)](_0xfab513)&&(_0xfab513=_0x24956a[_0x199be7(0x257)](),_0xfab513[_0x199be7(0x220)]=_0x199be7(0x225)),_0x638c9f&&_0x638c9f[_0x199be7(0x1ed)](_0x19e74b)&&(_0x19e74b=_0x638c9f[_0x199be7(0x257)](),_0x19e74b[_0x199be7(0x220)]=_0x199be7(0x225));}return _0x19a56[_0x199be7(0x241)][_0x199be7(0x244)](_0x19a56[_0x199be7(0x241)][_0x199be7(0x25f)](_0xfab513,_0x19e74b));}export function expandSelectionWithContext(_0x14de0b,_0x31cb65){const _0x2d4c05=_0x708b;ro(_0x14de0b,_0x31cb65,_0x2d4c05(0x20b));const _0x1dd4fb=_0x31cb65[_0x2d4c05(0x219)]();_0x31cb65[_0x2d4c05(0x25b)]([]),_0x31cb65[_0x2d4c05(0x25b)](_0x1dd4fb,{'backward':!0x0}),ro(_0x14de0b,_0x31cb65,_0x2d4c05(0x239));}function _0x708b(_0x464a36,_0x4a6712){const _0x5754f8=_0x5754();return _0x708b=function(_0x708b6,_0x44391c){_0x708b6=_0x708b6-0x1ec;let _0x33b423=_0x5754f8[_0x708b6];return _0x33b423;},_0x708b(_0x464a36,_0x4a6712);}function ro(_0x511b41,_0x5f0584,_0x908a55){const _0x123514=_0x708b;let _0x5490fa=0x14;for(;_0x5490fa;){_0x511b41[_0x123514(0x24f)](_0x5f0584,{'unit':_0x123514(0x242),'direction':_0x908a55}),_0x5490fa--;const _0x5ba716=_0x5f0584[_0x123514(0x22c)][_0x123514(0x20b)==_0x908a55?_0x123514(0x21f):_0x123514(0x243)];if(_0x5ba716&&_0x5ba716['is'](_0x123514(0x247))&&_0x511b41[_0x123514(0x253)][_0x123514(0x25a)](_0x5ba716)&&_0x511b41[_0x123514(0x253)][_0x123514(0x20a)](_0x5ba716))break;}}export function _transformMarkersByDeletion(_0x3bb087,_0x31e1cc){const _0xc7cc7a=_0x708b;for(const [_0x361614,_0xdb0d67]of _0x3bb087[_0xc7cc7a(0x216)]){const _0x5b1ea1=_0xdb0d67[_0xc7cc7a(0x223)](_0x31e1cc[_0xc7cc7a(0x21c)],_0x31e1cc[_0xc7cc7a(0x23b)][_0xc7cc7a(0x24c)]-_0x31e1cc[_0xc7cc7a(0x21c)][_0xc7cc7a(0x24c)]);null!=_0x5b1ea1?_0x3bb087[_0xc7cc7a(0x216)][_0xc7cc7a(0x1ee)](_0x361614,_0x5b1ea1):_0x3bb087[_0xc7cc7a(0x216)][_0xc7cc7a(0x212)](_0x361614);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3e34ea,_0x3d6937){const _0x45c9f6=_0x4e6a,_0x1d72fe=_0x3e34ea();while(!![]){try{const _0x3f1428=parseInt(_0x45c9f6(0xfe))/0x1*(-parseInt(_0x45c9f6(0x105))/0x2)+parseInt(_0x45c9f6(0xef))/0x3+parseInt(_0x45c9f6(0xf7))/0x4+parseInt(_0x45c9f6(0xf1))/0x5*(parseInt(_0x45c9f6(0xf4))/0x6)+parseInt(_0x45c9f6(0x106))/0x7*(parseInt(_0x45c9f6(0xfd))/0x8)+parseInt(_0x45c9f6(0xfa))/0x9*(-parseInt(_0x45c9f6(0xf3))/0xa)+parseInt(_0x45c9f6(0xf8))/0xb*(parseInt(_0x45c9f6(0xf6))/0xc);if(_0x3f1428===_0x3d6937)break;else _0x1d72fe['push'](_0x1d72fe['shift']());}catch(_0x173b9d){_0x1d72fe['push'](_0x1d72fe['shift']());}}}(_0x434a,0x26356));import{parseDocument as _0x3e0d10}from'htmlparser2';import{append as _0x1f7203,appendChild as _0x3a958a,find as _0x32145c,findAll as _0x2c5580,findOne as _0x43b9ba,getChildren as _0x307c98,isComment as _0x17a0cd,isTag as _0x7be9e2,prepend as _0x19d1ac,prependChild as _0x3921e1,removeElement as _0x27d557,replaceElement as _0x21f799,textContent as _0xbbffb2,getParent as _0x538a85,hasChildren as _0x1821f5}from'domutils';import _0x18f6a9 from'dom-serializer';import{cloneNode as _0x40a90e,isDocument as _0x57eb8e,isText as _0x1808f2,Element as _0x41157a,Text as _0x3353e5,Document as _0x177868,NodeWithChildren as _0x3b8a9a}from'domhandler';function _0x434a(){const _0x583f63=['slice','72nTBhhv','beforeend','nextSibling','16TSyyhQ','9GZXKiM','cloneNode','replace','indexOf','forEach','push','reverse','2104JYzvld','126987hTUCLk','beforebegin','afterbegin','attribs','85596YvbQuV','afterend','485hvaogg','parentNode','269910UcpSsn','1668huFQfi','map','4308bUVtvO','642076EzFmrK','3971TguaFX'];_0x434a=function(){return _0x583f63;};return _0x434a();}export{_0x40a90e as cloneNode,_0x32145c as find,_0x43b9ba as findOne,_0x2c5580 as findAll,_0x307c98 as getChildren,_0x538a85 as getParent,_0x17a0cd as isComment,_0x57eb8e as isDocument,_0x7be9e2 as isTag,_0x1808f2 as isText,_0x1f7203 as append,_0x3a958a as appendChild,_0x19d1ac as prepend,_0x3921e1 as prependChild,_0x18f6a9 as render,_0x27d557 as removeElement,_0x21f799 as replaceElement,_0xbbffb2 as textContent,_0x1821f5 as hasChildren,_0x41157a as Element,_0x177868 as Document,_0x3b8a9a as NodeWithChildren,_0x3353e5 as Text};export function parse(_0x477fec){return _0x3e0d10(_0x477fec);}export function serialize(_0x9cd988){return _0x18f6a9(_0x9cd988);}function _0x4e6a(_0x5c32ed,_0x3c7184){const _0x434af5=_0x434a();return _0x4e6a=function(_0x4e6aa7,_0x3c5379){_0x4e6aa7=_0x4e6aa7-0xef;let _0xddb60e=_0x434af5[_0x4e6aa7];return _0xddb60e;},_0x4e6a(_0x5c32ed,_0x3c7184);}export function findByAttribute(_0x318f2b,_0x40c264,_0x370f86){const _0x3df32f=_0x4e6a,_0x5226d0=null!==_0x40c264?_0x3162cb=>_0x3162cb[_0x3df32f(0x109)][_0x318f2b]===_0x40c264:_0x1af836=>Boolean(_0x1af836[_0x3df32f(0x109)][_0x318f2b]);return _0x43b9ba(_0xf21431=>_0x7be9e2(_0xf21431)&&_0x5226d0(_0xf21431),_0x370f86);}export function findAllByAttribute(_0x28a884,_0xb26c6,_0x229ae0){const _0x259925=_0x4e6a,_0x30ea65=null!==_0xb26c6?_0x49c6b6=>_0x49c6b6[_0x259925(0x109)][_0x28a884]===_0xb26c6:_0x39b26f=>Boolean(_0x39b26f[_0x259925(0x109)][_0x28a884]);return _0x2c5580(_0x50f60f=>_0x7be9e2(_0x50f60f)&&_0x30ea65(_0x50f60f),_0x229ae0);}export function findAllComments(_0x52fc46){return _0x32145c(_0x5668b1=>_0x17a0cd(_0x5668b1),_0x52fc46,!0x0,0x1/0x0);}export function getAttribute(_0x58d84,_0x2fe25a){const _0x36679f=_0x4e6a;return _0x58d84&&_0x7be9e2(_0x58d84)?_0x58d84[_0x36679f(0x109)][_0x2fe25a]:null;}export function setAttribute(_0x2a7c98,_0x6d7c61,_0x5efe53){const _0xd596ed=_0x4e6a;_0x7be9e2(_0x2a7c98)&&(null===_0x5efe53?delete _0x2a7c98[_0xd596ed(0x109)][_0x6d7c61]:_0x2a7c98[_0xd596ed(0x109)][_0x6d7c61]=_0x5efe53);}export function insertElement(_0x414b81,_0x45fde9,_0x4e37c7){const _0x6e1bbb=_0x4e6a,_0x150ae5=_0x45fde9[_0x6e1bbb(0xff)](!0x0);_0x6e1bbb(0x107)===_0x4e37c7?_0x19d1ac(_0x414b81,_0x150ae5):_0x6e1bbb(0x108)===_0x4e37c7?_0x3921e1(_0x414b81,_0x150ae5):_0x6e1bbb(0xfb)===_0x4e37c7?_0x3a958a(_0x414b81,_0x150ae5):_0x6e1bbb(0xf0)===_0x4e37c7&&_0x1f7203(_0x414b81,_0x150ae5);}export function moveElement(_0x1ec4b9,_0x468b90){_0x27d557(_0x1ec4b9),_0x21f799(_0x468b90,_0x1ec4b9);}export function clone(_0x4ee644){const _0x50133f=_0x4e6a;return _0x4ee644[_0x50133f(0xff)](!0x0);}export function getParents(_0x3b10fe){const _0x14c146=_0x4e6a,_0x5c7c93=[];let _0x195235=_0x3b10fe;for(;_0x195235;)_0x195235=_0x538a85(_0x195235),_0x195235&&_0x5c7c93[_0x14c146(0x103)](_0x195235);return _0x5c7c93;}export function normalizeHTML(_0x1306c3){const _0x1a41f5=_0x4e6a;return _0x1306c3[_0x1a41f5(0x100)](/^\s+/gm,'')[_0x1a41f5(0x100)](/\s+$/gm,'')[_0x1a41f5(0x100)](/\n*/g,'')[_0x1a41f5(0x100)](/\s+/g,'\x20')[_0x1a41f5(0x100)](/>\s*</g,'><');}export function areNodesSame(_0xfa274,_0x41e8cd){return normalizeHTML(serialize(_0xfa274))===normalizeHTML(serialize(_0x41e8cd));}export function getNodeNestingLevel(_0x341fca){const _0x38e8d0=_0x4e6a;let _0x2d0a80=0x0;for(;_0x341fca[_0x38e8d0(0xf2)];)_0x341fca=_0x341fca[_0x38e8d0(0xf2)],_0x2d0a80++;return _0x2d0a80;}export function removeElementsAfter(_0x3158a5){const _0x557104=_0x4e6a,_0xd80b5d=[];let _0x48760d=_0x3158a5[_0x557104(0xfc)];for(;_0x48760d;)_0xd80b5d[_0x557104(0x103)](_0x48760d),_0x48760d=_0x48760d[_0x557104(0xfc)];_0xd80b5d[_0x557104(0x102)](_0x1f3256=>{_0x27d557(_0x1f3256);});}export function getNodePath(_0xc20957){const _0x23d414=_0x4e6a;return[_0xc20957,...getParents(_0xc20957)][_0x23d414(0xf9)](0x0,-0x1)[_0x23d414(0xf5)](_0x1497d7=>{const _0x2628ca=_0x23d414,_0x3a81b2=_0x538a85(_0x1497d7);return _0x307c98(_0x3a81b2)[_0x2628ca(0x101)](_0x1497d7);})[_0x23d414(0x104)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3553df=_0x181a;(function(_0xbe372a,_0x3d5dbe){const _0x50c506=_0x181a,_0x3352b2=_0xbe372a();while(!![]){try{const _0x2c4586=-parseInt(_0x50c506(0x1a9))/0x1+-parseInt(_0x50c506(0x1d5))/0x2+-parseInt(_0x50c506(0x1ca))/0x3*(parseInt(_0x50c506(0x1b4))/0x4)+-parseInt(_0x50c506(0x1b7))/0x5+-parseInt(_0x50c506(0x1de))/0x6*(parseInt(_0x50c506(0x1b3))/0x7)+-parseInt(_0x50c506(0x1d6))/0x8+parseInt(_0x50c506(0x1b9))/0x9*(parseInt(_0x50c506(0x1bb))/0xa);if(_0x2c4586===_0x3d5dbe)break;else _0x3352b2['push'](_0x3352b2['shift']());}catch(_0x1228b2){_0x3352b2['push'](_0x3352b2['shift']());}}}(_0x2ac3,0x47ec4));import _0x43a99b from'morphdom';import{NodeWithChildren as _0x509c65,Text as _0x4ad02d,Element as _0x5e6e1b,isText as _0x6e6f8,isDocument as _0x36195a,isTag as _0x21c7ac,cloneNode as _0x5712c4,getChildren as _0x5cbf04,prepend as _0x2615b2,removeElement as _0x3d8417,textContent as _0x3af72d,render as _0x37e2e3}from'./htmlparser.js';export class HTMLStreamer{[_0x3553df(0x1bc)];[_0x3553df(0x1c0)]=!0x1;[_0x3553df(0x1af)]=null;[_0x3553df(0x1a4)]=[];[_0x3553df(0x1ce)]=0x0;[_0x3553df(0x1c4)]=null;[_0x3553df(0x1c1)]=0x0;constructor(_0x379ed5){const _0x39131e=_0x3553df;this[_0x39131e(0x1bc)]={'delay':_0x379ed5[_0x39131e(0x1ba)]??0x14,'textNodeStyle':_0x379ed5[_0x39131e(0x1a2)],'onStreamUpdate':_0x379ed5[_0x39131e(0x1c6)]||(()=>{})};}async[_0x3553df(0x1ac)]({document:_0x12296d,targetElement:_0x14d6d2,abortSignal:_0xdc0951}){const _0x4cc13d=_0x3553df;this[_0x4cc13d(0x1c0)]&&this[_0x4cc13d(0x1d0)](),_0xdc0951?.[_0x4cc13d(0x1ab)](_0x4cc13d(0x1b2),this[_0x4cc13d(0x1d0)][_0x4cc13d(0x1d2)](this)),this[_0x4cc13d(0x1af)]=_0x5712c4(_0x12296d,!0x0),this[_0x4cc13d(0x1a4)]=this[_0x4cc13d(0x1d4)](),this[_0x4cc13d(0x1c0)]=!0x0,this[_0x4cc13d(0x1ce)]>this[_0x4cc13d(0x1a4)][_0x4cc13d(0x1c5)]&&(this[_0x4cc13d(0x1ce)]=this[_0x4cc13d(0x1a4)][_0x4cc13d(0x1c5)]);for(let _0x4fcddf=0x0;_0x4fcddf<this[_0x4cc13d(0x1ce)];_0x4fcddf++)this[_0x4cc13d(0x1a4)][_0x4fcddf][_0x4cc13d(0x1d3)]=!0x0;do{const _0x3e8150=Date[_0x4cc13d(0x1df)](),_0x3aae89=this[_0x4cc13d(0x1a4)][this[_0x4cc13d(0x1ce)]],_0x421576=_0x3e8150-this[_0x4cc13d(0x1c1)];if(_0x3aae89){_0x3aae89[_0x4cc13d(0x1d3)]=!0x0;let _0x405bac=_0x3aae89[_0x4cc13d(0x1cf)];for(;_0x405bac;)_0x405bac[_0x4cc13d(0x1d3)]=!0x0,_0x405bac=_0x405bac[_0x4cc13d(0x1cf)];}if(_0x421576<this[_0x4cc13d(0x1bc)][_0x4cc13d(0x1ba)])try{const {promise:_0x1b9a2f,abortController:_0x3c4ae9}=Ts(this[_0x4cc13d(0x1bc)][_0x4cc13d(0x1ba)]-_0x421576);this[_0x4cc13d(0x1c4)]=_0x3c4ae9,await _0x1b9a2f;}catch(_0x456f5a){return;}_0x43a99b(_0x14d6d2,'<'+_0x14d6d2[_0x4cc13d(0x1cb)]+'>'+this[_0x4cc13d(0x1a6)](this[_0x4cc13d(0x1af)])+'</'+_0x14d6d2[_0x4cc13d(0x1cb)]+'>',{'childrenOnly':!0x0}),this[_0x4cc13d(0x1bc)][_0x4cc13d(0x1c6)]&&this[_0x4cc13d(0x1bc)][_0x4cc13d(0x1c6)](),this[_0x4cc13d(0x1ce)]++,this[_0x4cc13d(0x1c1)]=Date[_0x4cc13d(0x1df)]();}while(this[_0x4cc13d(0x1ce)]<this[_0x4cc13d(0x1a4)][_0x4cc13d(0x1c5)]);this[_0x4cc13d(0x1ce)]=this[_0x4cc13d(0x1a4)][_0x4cc13d(0x1c5)],this[_0x4cc13d(0x1c0)]=!0x1;}[_0x3553df(0x1d8)](){const _0x5a1d20=_0x3553df;this[_0x5a1d20(0x1c0)]=!0x1,this[_0x5a1d20(0x1af)]=null,this[_0x5a1d20(0x1a4)]=[],this[_0x5a1d20(0x1ce)]=0x0,this[_0x5a1d20(0x1c4)]=null;}[_0x3553df(0x1a3)]({targetElement:_0x39ca96}){const _0x1af782=_0x3553df;Array[_0x1af782(0x1c9)](_0x39ca96[_0x1af782(0x1cc)](_0x1af782(0x1da)))[_0x1af782(0x1be)]()[_0x1af782(0x1a8)](_0x20f354=>{const _0xd7bce6=_0x1af782;_0x20f354[_0xd7bce6(0x1d7)](_0x20f354[_0xd7bce6(0x1a5)][0x0]);});}[_0x3553df(0x1d0)](){const _0x38ee56=_0x3553df;this[_0x38ee56(0x1c0)]=!0x1,this[_0x38ee56(0x1c4)]&&(this[_0x38ee56(0x1c4)][_0x38ee56(0x1b2)](),this[_0x38ee56(0x1c4)]=null);}[_0x3553df(0x1a6)](_0x1eaa90){const _0x47a200=_0x3553df;let _0x142359='';if(function(_0x2e04a7){return _0x36195a(_0x2e04a7);}(_0x1eaa90)){for(const _0x41dff5 of _0x1eaa90[_0x47a200(0x1b8)])_0x142359+=this[_0x47a200(0x1a6)](_0x41dff5);}else{if(Ns(_0x1eaa90)){if(!_0x1eaa90[_0x47a200(0x1d3)])return'';const _0x574d93=_0x1eaa90,_0x54b281=Object[_0x47a200(0x1bf)](_0x574d93[_0x47a200(0x1a7)])[_0x47a200(0x1ae)](([_0x5db596,_0x36fec7])=>_0x5db596+'=\x22'+_0x36fec7+'\x22')[_0x47a200(0x1ad)]('\x20');_0x142359+='<'+_0x574d93[_0x47a200(0x1cb)]+(_0x54b281?'\x20'+_0x54b281:'')+'>';for(const _0x2b2c0b of _0x5cbf04(_0x574d93))_0x142359+=this[_0x47a200(0x1a6)](_0x2b2c0b);_0x142359+='</'+_0x574d93[_0x47a200(0x1cb)]+'>';}else{if(!Ss(_0x1eaa90))return'';if(!_0x1eaa90[_0x47a200(0x1d3)])return'';!function(_0x1248b6){const _0x1758c2=_0x47a200;if(!_0x1248b6[_0x1758c2(0x1cf)]||!Ns(_0x1248b6[_0x1758c2(0x1cf)]))return!0x1;if(!ys[_0x1758c2(0x1cd)](_0x1248b6[_0x1758c2(0x1cf)][_0x1758c2(0x1cb)]))return!0x1;return!_0x3af72d(_0x1248b6)[_0x1758c2(0x1c7)](/^\s*[<>]\s*$/);}(_0x1eaa90)?_0x142359+=_0x37e2e3(_0x1eaa90):_0x142359+=_0x37e2e3(new _0x5e6e1b(_0x47a200(0x1c8),{'data-ck-html-streamer-word-chunk':'','style':this[_0x47a200(0x1bc)][_0x47a200(0x1a2)]},[_0x1eaa90]));}}return _0x142359;}[_0x3553df(0x1d4)](){const _0x1e9ef6=_0x3553df,_0x42798e=[];return function(_0x271872,_0x379c26){const _0x583b17=_0x181a,_0x1daefb=_0x52befc=>{const _0x36078b=_0x181a;if(_0x379c26(_0x52befc),_0x52befc instanceof _0x509c65)for(let _0xe60fc9=0x0;_0xe60fc9<_0x52befc[_0x36078b(0x1b8)][_0x36078b(0x1c5)];_0xe60fc9++){const _0x3ac885=_0x52befc[_0x36078b(0x1b8)][_0xe60fc9];_0x1daefb(_0x3ac885);}};for(let _0x20fd62=0x0;_0x20fd62<_0x271872[_0x583b17(0x1b8)][_0x583b17(0x1c5)];_0x20fd62++)_0x1daefb(_0x271872[_0x583b17(0x1b8)][_0x20fd62]);}(this[_0x1e9ef6(0x1af)],_0x38454e=>{const _0x44e2ff=_0x1e9ef6;if(Ss(_0x38454e)){const _0x2096a8=this[_0x44e2ff(0x1b1)](_0x38454e);_0x2096a8[_0x44e2ff(0x1c5)]&&_0x42798e[_0x44e2ff(0x1b5)](..._0x2096a8);}_0x38454e[_0x44e2ff(0x1d1)]||_0x38454e[_0x44e2ff(0x1dc)]||_0x42798e[_0x44e2ff(0x1b5)](_0x38454e);}),_0x42798e;}[_0x3553df(0x1b1)](_0x596023){const _0x4743b9=_0x3553df;if(_0x596023[_0x4743b9(0x1d1)]||_0x596023[_0x4743b9(0x1dc)])return[];const _0x4a745a=_0x3af72d(_0x596023)[_0x4743b9(0x1c7)](/(?:\s*\S+\s*)/g),_0x2ad803=[];if(_0x4a745a&&_0x4a745a[_0x4743b9(0x1c5)]>0x1){for(const _0x2e4383 of _0x4a745a){const _0x4a68b1=new _0x4ad02d(_0x2e4383);_0x4a68b1[_0x4743b9(0x1dc)]=!0x0,_0x2615b2(_0x596023,_0x4a68b1),_0x2ad803[_0x4743b9(0x1b5)](_0x4a68b1);}_0x596023[_0x4743b9(0x1d1)]=!0x0,_0x3d8417(_0x596023);}return _0x2ad803;}}function _0x2ac3(){const _0xbe4ffe=['reset','ins','span[data-ck-html-streamer-word-chunk]','signal','isWordSplitResult','del','6Yanjwo','now','textNodeStyle','cleanUpAnimations','nodesList','childNodes','renderNode','attribs','forEach','287256bazKka','sup','addEventListener','stream','join','map','document','strong','splitTextNodeIntoWordNodes','abort','2584645aLzYij','837380fXJpCO','push','sub','1415445MHPqrx','children','9MGJBcK','delay','21616750zXqkWh','options','code','reverse','entries','isStreaming','lastUpdateTime','div','mark','timeoutAbortController','length','onStreamUpdate','match','span','from','3nhlSLh','tagName','querySelectorAll','includes','currentIndex','parent','stop','isWordSplitSource','bind','shouldBeStreamed','getParsedDocumentNodeList','283946zBGTEt','4609448jRpeDp','replaceWith'];_0x2ac3=function(){return _0xbe4ffe;};return _0x2ac3();}const ys=['p','li','td','th',_0x3553df(0x1c8),'h1','h2','h3','h4','h5','h6','b',_0x3553df(0x1b0),'i','em',_0x3553df(0x1c3),_0x3553df(0x1dd),_0x3553df(0x1d9),_0x3553df(0x1aa),_0x3553df(0x1b6),'a',_0x3553df(0x1bd),_0x3553df(0x1c2)];function _0x181a(_0x976603,_0x4f9757){const _0x2ac354=_0x2ac3();return _0x181a=function(_0x181a0c,_0x4817f8){_0x181a0c=_0x181a0c-0x1a2;let _0x41f5de=_0x2ac354[_0x181a0c];return _0x41f5de;},_0x181a(_0x976603,_0x4f9757);}function Ss(_0x5a4435){return _0x6e6f8(_0x5a4435);}function Ns(_0x15f3b3){return _0x21c7ac(_0x15f3b3);}function Ts(_0x516e3f){const _0x9cb3d4=new AbortController();return{'promise':new Promise((_0x3794ec,_0x4960b3)=>{const _0x207803=_0x181a,_0xfcedcf=setTimeout(_0x3794ec,_0x516e3f);_0x9cb3d4[_0x207803(0x1db)][_0x207803(0x1ab)](_0x207803(0x1b2),()=>{clearTimeout(_0xfcedcf),_0x4960b3();});}),'abortController':_0x9cb3d4};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x325b(_0x59965f,_0x278503){const _0x22e5d0=_0x22e5();return _0x325b=function(_0x325b89,_0x21c89c){_0x325b89=_0x325b89-0xe4;let _0xabb193=_0x22e5d0[_0x325b89];return _0xabb193;},_0x325b(_0x59965f,_0x278503);}const _0x117afe=_0x325b;(function(_0x1e341e,_0x2d1445){const _0x401929=_0x325b,_0x80934c=_0x1e341e();while(!![]){try{const _0x2a0c16=-parseInt(_0x401929(0xfd))/0x1+parseInt(_0x401929(0x106))/0x2+parseInt(_0x401929(0xe7))/0x3+-parseInt(_0x401929(0xf9))/0x4+-parseInt(_0x401929(0xeb))/0x5+-parseInt(_0x401929(0xf6))/0x6+parseInt(_0x401929(0xe8))/0x7*(parseInt(_0x401929(0x108))/0x8);if(_0x2a0c16===_0x2d1445)break;else _0x80934c['push'](_0x80934c['shift']());}catch(_0x55f292){_0x80934c['push'](_0x80934c['shift']());}}}(_0x22e5,0x74f8c));const Fs=[_0x117afe(0xe4),_0x117afe(0xf5),_0x117afe(0x10c),_0x117afe(0xec)],Us=[_0x117afe(0xf3),_0x117afe(0xf4),_0x117afe(0xfb),_0x117afe(0x109),_0x117afe(0xed),_0x117afe(0x100),'\x20'];function _0x22e5(){const _0x21a570=['ArrowUp','ArrowDown','touchstart','3492480nfkyxV','scrollHeight','includes','3500944rnDqdE','isUserPaused','PageUp','scrollTo','72033ozuvdI','deltaY','abortController','End','type','_rafUpdate','abort','_stop','auto','1684822BTtpYw','isRunning','8168PXbRFy','PageDown','start','_onUserEvent','pointerdown','wheel','_isAtBottom','stop','1875261lOuexg','4879jkicJs','signal','animationFrameId','853350xIHlfN','keydown','Home','key','destroy','bind','addEventListener','element'];_0x22e5=function(){return _0x21a570;};return _0x22e5();}export class ScrollManager{[_0x117afe(0xf2)];[_0x117afe(0xea)];[_0x117afe(0x107)];[_0x117afe(0xff)];[_0x117afe(0xfa)];constructor(_0x339525){const _0x2372a6=_0x117afe;this[_0x2372a6(0xf2)]=_0x339525,this[_0x2372a6(0xea)]=null,this[_0x2372a6(0x107)]=!0x1,this[_0x2372a6(0xff)]=new AbortController(),this[_0x2372a6(0xfa)]=!0x1;for(const _0x216656 of Fs){const _0x40104e=_0x2372a6(0xec)!==_0x216656;this[_0x2372a6(0xf2)][_0x2372a6(0xf1)](_0x216656,this[_0x2372a6(0x10b)][_0x2372a6(0xf0)](this),{'passive':_0x40104e,'signal':this[_0x2372a6(0xff)][_0x2372a6(0xe9)]});}}[_0x117afe(0x10a)](){const _0x1a5105=_0x117afe;this[_0x1a5105(0x107)]||(this[_0x1a5105(0x107)]=!0x0,this[_0x1a5105(0xfa)]=!0x1,this[_0x1a5105(0xea)]=requestAnimationFrame(this[_0x1a5105(0x102)][_0x1a5105(0xf0)](this)));}[_0x117afe(0xe6)](){requestAnimationFrame(()=>{const _0x2f6d97=_0x325b;this[_0x2f6d97(0x104)]();});}[_0x117afe(0xef)](){const _0x3c3a6b=_0x117afe;this[_0x3c3a6b(0x104)](),this[_0x3c3a6b(0xff)][_0x3c3a6b(0x103)]();}[_0x117afe(0x104)](){const _0x262dc4=_0x117afe;null!==this[_0x262dc4(0xea)]&&(cancelAnimationFrame(this[_0x262dc4(0xea)]),this[_0x262dc4(0xea)]=null),this[_0x262dc4(0x107)]&&(this[_0x262dc4(0x107)]=!0x1),this[_0x262dc4(0xfa)]=!0x1;}[_0x117afe(0x10b)](_0x21fdda){const _0x26fbd3=_0x117afe;if(this[_0x26fbd3(0x107)]){if(_0x26fbd3(0xec)===_0x21fdda[_0x26fbd3(0x101)]){const _0x17ba80=_0x21fdda[_0x26fbd3(0xee)];if(!Us[_0x26fbd3(0xf8)](_0x17ba80))return;}_0x21fdda instanceof WheelEvent?_0x21fdda[_0x26fbd3(0xfe)]<0x0?this[_0x26fbd3(0xfa)]=!0x0:this[_0x26fbd3(0xfa)]=!this[_0x26fbd3(0xe5)]():this[_0x26fbd3(0xfa)]=!0x0;}}[_0x117afe(0xe5)](){const _0x4d7cef=_0x117afe,{scrollTop:_0x128dd2,scrollHeight:_0x50b95a,clientHeight:_0x578d3e}=this[_0x4d7cef(0xf2)];return _0x50b95a-_0x128dd2-_0x578d3e<=0x5;}[_0x117afe(0x102)](){const _0x1d51ad=_0x117afe;this[_0x1d51ad(0x107)]&&(this[_0x1d51ad(0xfa)]||this[_0x1d51ad(0xf2)][_0x1d51ad(0xfc)]({'top':this[_0x1d51ad(0xf2)][_0x1d51ad(0xf7)],'behavior':_0x1d51ad(0x105)}),this[_0x1d51ad(0xea)]=requestAnimationFrame(this[_0x1d51ad(0x102)][_0x1d51ad(0xf0)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x269b5c=_0x419c;function _0x419c(_0x49a18f,_0x44ab6c){var _0x18499c=_0x1849();return _0x419c=function(_0x419c8b,_0x551df5){_0x419c8b=_0x419c8b-0x108;var _0x481d55=_0x18499c[_0x419c8b];return _0x481d55;},_0x419c(_0x49a18f,_0x44ab6c);}(function(_0x435273,_0x3b8ca4){var _0x41e6c7=_0x419c,_0x22419d=_0x435273();while(!![]){try{var _0x1c7139=-parseInt(_0x41e6c7(0x116))/0x1+parseInt(_0x41e6c7(0x108))/0x2*(parseInt(_0x41e6c7(0x114))/0x3)+-parseInt(_0x41e6c7(0x10f))/0x4*(parseInt(_0x41e6c7(0x113))/0x5)+parseInt(_0x41e6c7(0x109))/0x6*(parseInt(_0x41e6c7(0x118))/0x7)+parseInt(_0x41e6c7(0x10b))/0x8*(parseInt(_0x41e6c7(0x111))/0x9)+-parseInt(_0x41e6c7(0x10a))/0xa+-parseInt(_0x41e6c7(0x110))/0xb*(-parseInt(_0x41e6c7(0x10d))/0xc);if(_0x1c7139===_0x3b8ca4)break;else _0x22419d['push'](_0x22419d['shift']());}catch(_0x425fc3){_0x22419d['push'](_0x22419d['shift']());}}}(_0x1849,0xaa396));import{Plugin as _0x4c506c}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x413086}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x3be4b9}from'../aichat/aichatballoon.js';function _0x1849(){var _0x137ad2=['58928cpmgpY','requires','6161136VkXNyC','pluginName','334132TUAipt','33sFFJqN','1638hvFgNb','isOfficialPlugin','55Mbqppv','429zqRQMY','AIEditorIntegration','1255119NZkZzC','isPremiumPlugin','290171yCkIYW','164mjTqGR','6jnGHSS','628550pSENAW'];_0x1849=function(){return _0x137ad2;};return _0x1849();}import{SuggestionsConversion as _0x50fe3a}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x4c506c{static get[_0x269b5c(0x10c)](){return[_0x413086,_0x3be4b9,_0x50fe3a];}static get[_0x269b5c(0x10e)](){var _0x39d898=_0x269b5c;return _0x39d898(0x115);}static get[_0x269b5c(0x112)](){return!0x0;}static get[_0x269b5c(0x117)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3280(_0x275e50,_0x17705d){const _0x48b40a=_0x48b4();return _0x3280=function(_0x3280ad,_0x188deb){_0x3280ad=_0x3280ad-0x18c;let _0xdac8b3=_0x48b40a[_0x3280ad];return _0xdac8b3;},_0x3280(_0x275e50,_0x17705d);}const _0x589756=_0x3280;(function(_0x320d4a,_0x2e8aa9){const _0xc873=_0x3280,_0x38db26=_0x320d4a();while(!![]){try{const _0x588717=parseInt(_0xc873(0x18c))/0x1*(-parseInt(_0xc873(0x18f))/0x2)+parseInt(_0xc873(0x18e))/0x3*(-parseInt(_0xc873(0x198))/0x4)+-parseInt(_0xc873(0x19f))/0x5*(-parseInt(_0xc873(0x1ac))/0x6)+parseInt(_0xc873(0x192))/0x7+parseInt(_0xc873(0x18d))/0x8*(parseInt(_0xc873(0x1a6))/0x9)+-parseInt(_0xc873(0x1aa))/0xa+-parseInt(_0xc873(0x1a4))/0xb;if(_0x588717===_0x2e8aa9)break;else _0x38db26['push'](_0x38db26['shift']());}catch(_0x4e505c){_0x38db26['push'](_0x38db26['shift']());}}}(_0x48b4,0x5c758));import{Plugin as _0x3e2d73}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x5d6542}from'./toggleaicommand.js';import{ButtonView as _0x4d21a0,MenuBarMenuListItemButtonView as _0x104f34}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x2372db}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1164f6}from'../../aicore/utils/common-translations.js';import{AITabs as _0xaf9058}from'../../aitabs/aitabs.js';function _0x48b4(){const _0x4fe373=['get','isPremiumPlugin','menuBar:toggleAi','1lMuvTI','309328wDvflU','3TmlhpR','777220vPsjGE','requires','toggleAi','2056593kfALYK','editor','componentFactory','add','menuitemcheckbox','value','407620MTJYSc','set','bind','commands','execute','isOfficialPlugin','init','1089895OpFmfq','locale','isOn','AI_TOGGLE_BUTTON_LABEL','isEnabled','2312541aYzMDH','listenTo','72kaKhRc','AIToggleButtonUI','pluginName','ck-ai-toggle-button','1776060qrXDiC','_createAIUIButton','18ppFsZA'];_0x48b4=function(){return _0x4fe373;};return _0x48b4();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3e2d73{static get[_0x589756(0x190)](){return[_0xaf9058];}static get[_0x589756(0x1a8)](){const _0x2ff656=_0x589756;return _0x2ff656(0x1a7);}static get[_0x589756(0x19d)](){return!0x0;}static get[_0x589756(0x1ae)](){return!0x0;}[_0x589756(0x19e)](){const _0x2793d7=_0x589756,_0x1379c1=this[_0x2793d7(0x193)];_0x1379c1[_0x2793d7(0x19b)][_0x2793d7(0x195)](_0x2793d7(0x191),new _0x5d6542(_0x1379c1)),_0x1379c1['ui'][_0x2793d7(0x194)][_0x2793d7(0x195)](_0x2793d7(0x191),()=>{const _0x566d39=_0x2793d7,_0xce6f7c=this[_0x566d39(0x1ab)](_0x4d21a0);return _0xce6f7c[_0x566d39(0x199)]({'tooltip':!0x0,'class':_0x566d39(0x1a9)}),_0xce6f7c;}),_0x1379c1['ui'][_0x2793d7(0x194)][_0x2793d7(0x195)](_0x2793d7(0x1af),()=>{const _0x42488b=_0x2793d7,_0x57948d=this[_0x42488b(0x1ab)](_0x104f34);return _0x57948d[_0x42488b(0x199)]({'role':_0x42488b(0x196)}),_0x57948d;});}[_0x589756(0x1ab)](_0x4cbd9b){const _0x5a656e=_0x589756,_0x3b2b4f=this[_0x5a656e(0x193)],_0x1a9324=_0x3b2b4f[_0x5a656e(0x19b)][_0x5a656e(0x1ad)](_0x5a656e(0x191)),_0x4e94f6=new _0x4cbd9b(_0x3b2b4f[_0x5a656e(0x1a0)]);return _0x4e94f6[_0x5a656e(0x199)]({'label':_0x1164f6(_0x3b2b4f[_0x5a656e(0x1a0)],_0x5a656e(0x1a2)),'icon':_0x2372db,'isToggleable':!0x0}),_0x4e94f6[_0x5a656e(0x19a)](_0x5a656e(0x1a3))['to'](_0x1a9324),_0x4e94f6[_0x5a656e(0x19a)](_0x5a656e(0x1a1))['to'](_0x1a9324,_0x5a656e(0x197),_0x4241ec=>!!_0x4241ec),this[_0x5a656e(0x1a5)](_0x4e94f6,_0x5a656e(0x19c),()=>{const _0x23cf73=_0x5a656e;_0x1a9324[_0x23cf73(0x19c)]();}),_0x4e94f6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7ef11a=_0x35e0;function _0x2d04(){const _0x26c42c=['execute','2905972wFSIIt','9710nOfbCi','bind','150cVzAqp','22zBHkTE','1bLQCYu','view','AITabs','editor','5910032vTYDHd','isVisible','8636TRsjJR','3850sHiEGH','get','8884488BJJmJl','11763MsnnWF','1496061XzwBzq','320173CpXWov','isEnabled','value','plugins'];_0x2d04=function(){return _0x26c42c;};return _0x2d04();}(function(_0x23cdc6,_0xead655){const _0x16a6d9=_0x35e0,_0x459d26=_0x23cdc6();while(!![]){try{const _0x27f558=parseInt(_0x16a6d9(0x176))/0x1*(parseInt(_0x16a6d9(0x187))/0x2)+parseInt(_0x16a6d9(0x181))/0x3+-parseInt(_0x16a6d9(0x17c))/0x4*(parseInt(_0x16a6d9(0x17d))/0x5)+-parseInt(_0x16a6d9(0x174))/0x6*(-parseInt(_0x16a6d9(0x182))/0x7)+-parseInt(_0x16a6d9(0x17a))/0x8+parseInt(_0x16a6d9(0x180))/0x9*(-parseInt(_0x16a6d9(0x188))/0xa)+parseInt(_0x16a6d9(0x175))/0xb*(parseInt(_0x16a6d9(0x17f))/0xc);if(_0x27f558===_0xead655)break;else _0x459d26['push'](_0x459d26['shift']());}catch(_0x392df1){_0x459d26['push'](_0x459d26['shift']());}}}(_0x2d04,0xdd18f));function _0x35e0(_0x46e217,_0x3d79de){const _0x2d04ca=_0x2d04();return _0x35e0=function(_0x35e0cd,_0x31e541){_0x35e0cd=_0x35e0cd-0x174;let _0x4fe6ca=_0x2d04ca[_0x35e0cd];return _0x4fe6ca;},_0x35e0(_0x46e217,_0x3d79de);}import{Command as _0x212f39}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x212f39{constructor(_0x5d248e){const _0x21b8c0=_0x35e0;super(_0x5d248e);const _0x1594ec=_0x5d248e[_0x21b8c0(0x185)][_0x21b8c0(0x17e)](_0x21b8c0(0x178))[_0x21b8c0(0x177)];this[_0x21b8c0(0x189)](_0x21b8c0(0x184))['to'](_0x1594ec,_0x21b8c0(0x17b)),this[_0x21b8c0(0x183)]=!0x0;}[_0x7ef11a(0x186)](){const _0x5b99e3=_0x7ef11a,_0x96b826=this[_0x5b99e3(0x179)][_0x5b99e3(0x185)][_0x5b99e3(0x17e)](_0x5b99e3(0x178))[_0x5b99e3(0x177)];_0x96b826[_0x5b99e3(0x17b)]=!_0x96b826[_0x5b99e3(0x17b)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3fc99a=_0x1b15;function _0x5441(){var _0x2a6f09=['6nwgLtv','701776iosRdz','define','528bKlRPN','requires','66239MvURus','2waScpA','3BgnKgy','1743770EDPGKa','AIQuickActions','126LCSDCs','692895oWCqTC','isPremiumPlugin','config','ai.quickActions','148312UCZsrt','pluginName','93863zMBpRo','359051oVtZAT','isOfficialPlugin'];_0x5441=function(){return _0x2a6f09;};return _0x5441();}(function(_0x3bff3f,_0x1621fd){var _0x41dadd=_0x1b15,_0x5296c5=_0x3bff3f();while(!![]){try{var _0x4b283d=-parseInt(_0x41dadd(0x67))/0x1*(parseInt(_0x41dadd(0x68))/0x2)+-parseInt(_0x41dadd(0x69))/0x3*(parseInt(_0x41dadd(0x77))/0x4)+parseInt(_0x41dadd(0x6d))/0x5*(-parseInt(_0x41dadd(0x76))/0x6)+parseInt(_0x41dadd(0x74))/0x7+-parseInt(_0x41dadd(0x71))/0x8*(-parseInt(_0x41dadd(0x6c))/0x9)+-parseInt(_0x41dadd(0x6a))/0xa+parseInt(_0x41dadd(0x73))/0xb*(parseInt(_0x41dadd(0x65))/0xc);if(_0x4b283d===_0x1621fd)break;else _0x5296c5['push'](_0x5296c5['shift']());}catch(_0x162892){_0x5296c5['push'](_0x5296c5['shift']());}}}(_0x5441,0x20244));import{Plugin as _0x3230c9}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x2b7529}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x194553}from'./aiquickactionsediting.js';import{AIActions as _0x2cdc55}from'../aiactions/aiactions.js';function _0x1b15(_0x594f77,_0x123370){var _0x5441b8=_0x5441();return _0x1b15=function(_0x1b1590,_0x2f78f8){_0x1b1590=_0x1b1590-0x65;var _0x32a14f=_0x5441b8[_0x1b1590];return _0x32a14f;},_0x1b15(_0x594f77,_0x123370);}export class AIQuickActions extends _0x3230c9{static get[_0x3fc99a(0x66)](){return[_0x2b7529,_0x194553,_0x2cdc55];}static get[_0x3fc99a(0x72)](){var _0x4db152=_0x3fc99a;return _0x4db152(0x6b);}static get[_0x3fc99a(0x75)](){return!0x0;}static get[_0x3fc99a(0x6e)](){return!0x0;}constructor(_0x57de4e){var _0x4b9ae4=_0x3fc99a;super(_0x57de4e),_0x57de4e[_0x4b9ae4(0x6f)][_0x4b9ae4(0x78)](_0x4b9ae4(0x70),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x12b6(_0x1f01b1,_0x4305ff){const _0x2a1f2b=_0x2a1f();return _0x12b6=function(_0x12b623,_0x25f3b3){_0x12b623=_0x12b623-0xf6;let _0x5a5212=_0x2a1f2b[_0x12b623];return _0x5a5212;},_0x12b6(_0x1f01b1,_0x4305ff);}const _0xcb39dc=_0x12b6;function _0x2a1f(){const _0x4764cb=['get','view','AITabs','setSelection','startConversation','107391UnCFPB','removeSelectionFromChatContext','1172176TEeTlU','change','schema','plugins','addSelectionToChatContext','args','executeAction','424676lOKNER','ask-ai','execute','_handleAIChatAction','isVisible','_handleAIActionsActionLabel','chat','25pqSdKC','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','getLimitElement','317562HbuLrg','AIReviewMode','activateTab','icon','CHAT','parent','_handleAIReviewAction','AIChat','displayedPrompt','label','ai-quick-actions-plugin-not-found','handleAIReviewAction','6MUsGep','type','locale','171132WzwKwh','REVIEW','sendMessage','isCollapsed','focusPromptInput','activeTab','_expandSelectionIfCollapsed','selection','other','AIChatController','has','AIActions','model','log','editor','prompt','actionName','1001896FTMDvX','_handleAIActionsAction','document','getSelectedBlocks','6311304SWTPdl','ACTION'];_0x2a1f=function(){return _0x4764cb;};return _0x2a1f();}(function(_0x3c5fa3,_0x34b26c){const _0x4ea097=_0x12b6,_0x50b25e=_0x3c5fa3();while(!![]){try{const _0x5ece43=parseInt(_0x4ea097(0x111))/0x1+-parseInt(_0x4ea097(0x10e))/0x2*(parseInt(_0x4ea097(0x12d))/0x3)+-parseInt(_0x4ea097(0x122))/0x4+parseInt(_0x4ea097(0xff))/0x5*(-parseInt(_0x4ea097(0x102))/0x6)+parseInt(_0x4ea097(0xf8))/0x7+-parseInt(_0x4ea097(0x12f))/0x8+parseInt(_0x4ea097(0x126))/0x9;if(_0x5ece43===_0x34b26c)break;else _0x50b25e['push'](_0x50b25e['shift']());}catch(_0x349e2b){_0x50b25e['push'](_0x50b25e['shift']());}}}(_0x2a1f,0x280c2));import{Command as _0x322b72}from'ckeditor5/src/core.js';import{CKEditorError as _0x526958,first as _0xdbba8b}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x47fe19}from'./aiquickactionsui.js';import{getTranslation as _0x560a7f}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x322b72{[_0xcb39dc(0xfa)](_0x3334a9){const _0x3345db=_0xcb39dc;switch(this[_0x3345db(0x117)](),_0x3334a9[_0x3345db(0x10f)]){case _0x47fe19[_0x3345db(0x106)]:if(!this[_0x3345db(0x11f)][_0x3345db(0x132)][_0x3345db(0x11b)](_0x3345db(0x109))){const _0x4e732b=_0x560a7f(this[_0x3345db(0x11f)][_0x3345db(0x110)],_0x3345db(0x100),_0x3345db(0x109));throw new _0x526958(_0x3345db(0x10c),this[_0x3345db(0x11f)],{'errorMessage':_0x4e732b});}this[_0x3345db(0xfb)](_0x3334a9);break;case _0x47fe19[_0x3345db(0x127)]:if(!this[_0x3345db(0x11f)][_0x3345db(0x132)][_0x3345db(0x11b)](_0x3345db(0x11c))){const _0x4c4a5c=_0x560a7f(this[_0x3345db(0x11f)][_0x3345db(0x110)],_0x3345db(0x100),_0x3345db(0x11c));throw new _0x526958(_0x3345db(0x10c),this[_0x3345db(0x11f)],{'errorMessage':_0x4c4a5c});}this[_0x3345db(0x123)](_0x3334a9);break;case _0x47fe19[_0x3345db(0x112)]:if(!this[_0x3345db(0x11f)][_0x3345db(0x132)][_0x3345db(0x11b)](_0x3345db(0x103))){const _0x12012d=_0x560a7f(this[_0x3345db(0x11f)][_0x3345db(0x110)],_0x3345db(0x100),_0x3345db(0x103));throw new _0x526958(_0x3345db(0x10c),this[_0x3345db(0x11f)],{'errorMessage':_0x12012d});}this[_0x3345db(0x108)](_0x3334a9);}}async[_0xcb39dc(0xfb)](_0x5ba66d){const _0x4bd93a=_0xcb39dc,_0x23bc4b=this[_0x4bd93a(0x11f)][_0x4bd93a(0x132)][_0x4bd93a(0x128)](_0x4bd93a(0x109)),_0x24ec03=this[_0x4bd93a(0x11f)][_0x4bd93a(0x132)][_0x4bd93a(0x128)](_0x4bd93a(0x11a)),_0x3d5003=this[_0x4bd93a(0x11f)][_0x4bd93a(0x132)][_0x4bd93a(0x128)](_0x4bd93a(0x12a))[_0x4bd93a(0x129)];if(_0x3d5003[_0x4bd93a(0xfc)]||(_0x3d5003[_0x4bd93a(0xfc)]=!0x0),_0x4bd93a(0xfe)!==_0x3d5003[_0x4bd93a(0x116)]&&_0x3d5003[_0x4bd93a(0x104)](_0x4bd93a(0xfe)),_0x4bd93a(0xf9)===_0x5ba66d['id'])_0x24ec03[_0x4bd93a(0x12e)](),await _0x23bc4b[_0x4bd93a(0x133)](),_0x23bc4b[_0x4bd93a(0x115)]();else await _0x23bc4b[_0x4bd93a(0x12c)](),_0x24ec03[_0x4bd93a(0x12e)](),await _0x23bc4b[_0x4bd93a(0x133)](),_0x23bc4b[_0x4bd93a(0x115)](),await _0x23bc4b[_0x4bd93a(0x113)]({'message':_0x5ba66d[_0x4bd93a(0x120)]||_0x5ba66d[_0x4bd93a(0x10a)],'attributes':{'quickActionData':{'id':_0x5ba66d['id']},'displayedPrompt':_0x5ba66d[_0x4bd93a(0x10a)]}});}[_0xcb39dc(0x117)](){const _0xa8fee1=_0xcb39dc,_0x49c6ec=this[_0xa8fee1(0x11f)],_0x497106=_0x49c6ec[_0xa8fee1(0x11d)][_0xa8fee1(0x124)][_0xa8fee1(0x118)];if(!_0x497106[_0xa8fee1(0x114)])return;const _0xeba63b=_0xdbba8b(_0x497106[_0xa8fee1(0x125)]())||_0x49c6ec[_0xa8fee1(0x11d)][_0xa8fee1(0x131)][_0xa8fee1(0x101)](_0x497106);_0x49c6ec[_0xa8fee1(0x11d)][_0xa8fee1(0x130)](_0x571af4=>{const _0x4cb72f=_0xa8fee1;_0x571af4[_0x4cb72f(0x12b)](_0xeba63b,'in');});}[_0xcb39dc(0xfd)](_0x54a959){const _0x4ffce4=_0xcb39dc;return _0x54a959[_0x4ffce4(0x107)]?.[_0x4ffce4(0x10b)]&&_0x4ffce4(0x119)!==_0x54a959[_0x4ffce4(0x107)]?.['id']?_0x54a959[_0x4ffce4(0x107)][_0x4ffce4(0x10b)]+':\x20'+_0x54a959[_0x4ffce4(0x10a)]:_0x54a959[_0x4ffce4(0x10a)];}async[_0xcb39dc(0x123)](_0x3a1e7c){const _0x4b98d7=_0xcb39dc,_0x367f1d=this[_0x4b98d7(0x11f)][_0x4b98d7(0x132)][_0x4b98d7(0x128)](_0x4b98d7(0x11c)),_0x5b7520=_0x3a1e7c[_0x4b98d7(0x120)]?{'userMessage':_0x3a1e7c[_0x4b98d7(0x120)],'model':_0x3a1e7c[_0x4b98d7(0x11d)]}:{'actionName':_0x3a1e7c[_0x4b98d7(0x121)]||_0x3a1e7c['id'],'args':_0x3a1e7c[_0x4b98d7(0xf6)]},_0x5dd97c=this[_0x4b98d7(0xfd)](_0x3a1e7c);await _0x367f1d[_0x4b98d7(0xf7)](_0x5b7520,_0x5dd97c,_0x3a1e7c[_0x4b98d7(0x105)]);}async[_0xcb39dc(0x108)](_0x3a1eaf){const _0x5e2abd=_0xcb39dc;console[_0x5e2abd(0x11e)](_0x5e2abd(0x10d),_0x3a1eaf);}}
|