@ckeditor/ckeditor5-ai 47.6.0-alpha.9 → 47.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/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/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.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/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.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/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.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/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/ui/aidisclaimerview.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/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/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.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/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/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.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/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.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/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ai",
|
|
3
|
-
"version": "47.6.0
|
|
3
|
+
"version": "47.6.0",
|
|
4
4
|
"description": "AI features for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@aws-sdk/client-bedrock-runtime": "3.994.0",
|
|
32
|
-
"@ckeditor/ckeditor5-clipboard": "47.6.0
|
|
33
|
-
"@ckeditor/ckeditor5-cloud-services": "47.6.0
|
|
34
|
-
"@ckeditor/ckeditor5-collaboration-core": "47.6.0
|
|
35
|
-
"@ckeditor/ckeditor5-core": "47.6.0
|
|
36
|
-
"@ckeditor/ckeditor5-engine": "47.6.0
|
|
37
|
-
"@ckeditor/ckeditor5-icons": "47.6.0
|
|
38
|
-
"@ckeditor/ckeditor5-markdown-gfm": "47.6.0
|
|
39
|
-
"@ckeditor/ckeditor5-real-time-collaboration": "47.6.0
|
|
40
|
-
"@ckeditor/ckeditor5-table": "47.6.0
|
|
41
|
-
"@ckeditor/ckeditor5-theme-lark": "47.6.0
|
|
42
|
-
"@ckeditor/ckeditor5-ui": "47.6.0
|
|
43
|
-
"@ckeditor/ckeditor5-utils": "47.6.0
|
|
44
|
-
"ckeditor5": "47.6.0
|
|
45
|
-
"ckeditor5-collaboration": "47.6.0
|
|
32
|
+
"@ckeditor/ckeditor5-clipboard": "47.6.0",
|
|
33
|
+
"@ckeditor/ckeditor5-cloud-services": "47.6.0",
|
|
34
|
+
"@ckeditor/ckeditor5-collaboration-core": "47.6.0",
|
|
35
|
+
"@ckeditor/ckeditor5-core": "47.6.0",
|
|
36
|
+
"@ckeditor/ckeditor5-engine": "47.6.0",
|
|
37
|
+
"@ckeditor/ckeditor5-icons": "47.6.0",
|
|
38
|
+
"@ckeditor/ckeditor5-markdown-gfm": "47.6.0",
|
|
39
|
+
"@ckeditor/ckeditor5-real-time-collaboration": "47.6.0",
|
|
40
|
+
"@ckeditor/ckeditor5-table": "47.6.0",
|
|
41
|
+
"@ckeditor/ckeditor5-theme-lark": "47.6.0",
|
|
42
|
+
"@ckeditor/ckeditor5-ui": "47.6.0",
|
|
43
|
+
"@ckeditor/ckeditor5-utils": "47.6.0",
|
|
44
|
+
"ckeditor5": "47.6.0",
|
|
45
|
+
"ckeditor5-collaboration": "47.6.0",
|
|
46
46
|
"diff": "8.0.3",
|
|
47
47
|
"dom-serializer": "2.0.0",
|
|
48
48
|
"domhandler": "5.0.3",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5cfc26=_0x392d;(function(_0x45f8da,_0x4baa7d){const _0xc2115e=_0x392d,_0x34085e=_0x45f8da();while(!![]){try{const _0xee007f=parseInt(_0xc2115e(0x1eb))/0x1*(-parseInt(_0xc2115e(0x299))/0x2)+-parseInt(_0xc2115e(0x23e))/0x3*(parseInt(_0xc2115e(0x224))/0x4)+-parseInt(_0xc2115e(0x2b5))/0x5*(-parseInt(_0xc2115e(0x258))/0x6)+-parseInt(_0xc2115e(0x233))/0x7+-parseInt(_0xc2115e(0x287))/0x8+parseInt(_0xc2115e(0x235))/0x9+-parseInt(_0xc2115e(0x250))/0xa*(-parseInt(_0xc2115e(0x22f))/0xb);if(_0xee007f===_0x4baa7d)break;else _0x34085e['push'](_0x34085e['shift']());}catch(_0x269907){_0x34085e['push'](_0x34085e['shift']());}}}(_0x10f6,0x9ec21));import{Plugin as _0x5e7972}from'ckeditor5/src/core.js';import{AIConnector as _0x3d5607}from'../aicore/aiconnector.js';import{Dialog as _0x25ee3d,BodyCollection as _0x2eb232}from'ckeditor5/src/ui.js';import{AIEditing as _0x483e06,AI_VISUAL_SELECTION_MARKER_NAME as _0x5c0b98}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x503b92}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x1945f5,first as _0x5332f7}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x3e29ac}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x454f09}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x205df3}from'../aichat/utils/promisequeue.js';function _0x392d(_0x1ce09e,_0x4f505e){const _0x10f6d0=_0x10f6();return _0x392d=function(_0x392d81,_0x5b7ec9){_0x392d81=_0x392d81-0x1dc;let _0x60a775=_0x10f6d0[_0x392d81];return _0x60a775;},_0x392d(_0x1ce09e,_0x4f505e);}import{getTranslation as _0x5bf298}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x46948e}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x5a13d1}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x2713bb,getOperationsFromReply as _0x346ae8}from'../aicore/utils/getoperationsfromreply.js';function _0x10f6(){const _0x4717d9=['icon','insert','_setErrorState','containsRange','set','_balloonShowDiff','queueEmptyPromise','length','_appendChild','locale','stopListening','_execute','_getExecuteDataInTable','catch','merge','sourcePosition','replies','editor','getSelectionAsFragment','get','start','getFirstRange','showError','clone','open','395BSlHlF','document','move','_clearInteractionHistory','_navigateToPrevious','stop','AIBalloon','close','enqueue','abort','startAutoScroll','documentFragment','interactionFinished','showLoader','getRange','Error\x20updating\x20content\x20during\x20navigation:','max','message','_promiseQueue','3017hYbTfO','range','AIConnector','showPrevious','destroy','_clearErrorState','actionCallId','AI_ACTIONS_GENERIC_ERROR','parent','replyCreated','attachToDom','operationsA','isPremiumPlugin','stickiness','isBusy','_createActionsBalloonView','getChild','upsertCustomAIActionRating','Attribute','reinsert','plugins','modelToDataWithIds','Error\x20updating\x20content\x20in\x20replyContentUpdated:','changeGroups','streaming','documentContextContent','isDocumentOperation','createPositionBefore','tryAgain','startsWith','history','from','replyChangeGroupStateUpdated','_currentInteractionIndex','_displayInteractionAtIndex','disableMiniToolbarButtons','TrackChanges','_executeAction','rename','value','error','isEqual','setIsLoading','_actionsBalloonView','executeAction','commands','state','getAncestors','_anchorOperation','_clone','type','showNext','getSelectedBlocks','_refreshInteraction','detachFromDom','_setLoadingState','_interactionParams','1749484EhRHcU','listenTo','signal','ai-no-track-changes','nodeAfter','pending','root','remove','resetShowChangesButton','createPositionFromPath','actionName','828993PTAQKi','path','_getExecuteDataRegular','requires','6436619beXWOe','split','10093563uHcpIO','setErrorState','_aiConnector','version','pluginName','bind','rootName','config','_createInteraction','3XsIaKg','getSelectedContent','indexOf','getSelectedTableCells','updateMiniToolbarButtons','getLimitElement','createRange','nextSibling','_clearLoadingState','isTableSelection','upsertAIActionRating','setChangeGroupState','includes','name','toggleSuggestionDisplayMode','getCommonAncestor','markers','Error\x20updating\x20content\x20in\x20replyCreated:','220UTteiT','_isAbortError','hasError','isTrackChangesOn','map','isOfficialPlugin','toggleIsLoading','has','5358MCBXnj','end','selectionRemoved','addOperation','baseVersion','selection','some','TableSelection','_applyChanges','_interaction','_stopInteraction','updateContent','ai-request-aborted','change','getRanges','AIActions','stopInteraction','slice','insertSuggestion','filter','_navigateToNext','getRoot','_wrapWithCommonAncestors','hideError','ai.availableReplyActions','applyOperation','random','dialogClosed','trackChanges','rejected','createPositionAfter','focus','getOperations','static','position','schema','push','isCollapsed','getChildAtOffset','setSelection','stopAutoScroll','_filterOperationsOutsideRange','_applyOperationsAsSuggestions','hideLoader','model','_copyMarkersToFragment','affectsData','1553792SBMrMB','_regularCalculateMarkerPath','getDocumentContext','Error\x20refreshing\x20interaction:','aiActionsBalloon','_setupApplyListeners','applySuggestion','createPositionAt','batch','accepted','howMany','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','_interactions','$graveyard','clearContent','replyContentUpdated','ck-ai-actions-balloon','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','430cASpiQ','TrackChangesEditing','_bodyCollection'];_0x10f6=function(){return _0x4717d9;};return _0x10f6();}import{ModelDocumentFragment as _0x336ce9,ModelRange as _0x5543ae,ModelPosition as _0x5b60d5,_DetachOperation as _0x143084,transformOperationSets as _0x580695}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x23369f}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIActionsBalloonView as _0x6e6e77}from'../aiquickactions/ui/balloon/aiactionsballoonview.js';export class AIActions extends _0x5e7972{static get[_0x5cfc26(0x232)](){return[_0x3d5607,_0x25ee3d,_0x483e06,_0x454f09,_0x5a13d1];}static get[_0x5cfc26(0x239)](){const _0x296edf=_0x5cfc26;return _0x296edf(0x267);}static get[_0x5cfc26(0x255)](){return!0x0;}static get[_0x5cfc26(0x1f7)](){return!0x0;}[_0x5cfc26(0x237)];[_0x5cfc26(0x293)]=[];[_0x5cfc26(0x20c)]=0x0;[_0x5cfc26(0x223)];[_0x5cfc26(0x2a1)]=!0x1;[_0x5cfc26(0x1ea)];[_0x5cfc26(0x29b)];get[_0x5cfc26(0x261)](){const _0x5070fc=_0x5cfc26;return this[_0x5070fc(0x293)][this[_0x5070fc(0x293)][_0x5070fc(0x2a3)]-0x1];}[_0x5cfc26(0x216)];constructor(_0x14fb6e){const _0x9d16d0=_0x5cfc26;super(_0x14fb6e),this[_0x9d16d0(0x29b)]=new _0x2eb232(this[_0x9d16d0(0x2ad)][_0x9d16d0(0x2a5)]),this[_0x9d16d0(0x29b)][_0x9d16d0(0x1f5)](),this[_0x9d16d0(0x237)]=this[_0x9d16d0(0x2ad)][_0x9d16d0(0x1ff)][_0x9d16d0(0x2af)](_0x9d16d0(0x1ed)),this[_0x9d16d0(0x2a0)](_0x9d16d0(0x1f9),!0x1),this[_0x9d16d0(0x1ea)]=new _0x205df3();}[_0x5cfc26(0x268)](){const _0x4b8352=_0x5cfc26;this[_0x4b8352(0x262)]();}async[_0x5cfc26(0x217)](_0x85abaf,_0x135811,_0xb05143){const _0x54cc97=_0x5cfc26;if(this[_0x54cc97(0x262)](),this[_0x54cc97(0x2ad)][_0x54cc97(0x1ff)][_0x54cc97(0x257)](_0x54cc97(0x25f))){if(this[_0x54cc97(0x2ad)][_0x54cc97(0x1ff)][_0x54cc97(0x2af)](_0x54cc97(0x25f))[_0x54cc97(0x241)]()){const {modelFragment:_0x2b0a05,anchorData:_0x328076}=this[_0x54cc97(0x2a8)]();return this[_0x54cc97(0x210)](_0x85abaf,_0x2b0a05,_0x328076,_0x135811,_0xb05143);}}const {modelFragment:_0x2e6add,anchorData:_0x5a420b}=this[_0x54cc97(0x231)]();return this[_0x54cc97(0x210)](_0x85abaf,_0x2e6add,_0x5a420b,_0x135811,_0xb05143);}async[_0x5cfc26(0x1ef)](){const _0x5825ec=_0x5cfc26;return this[_0x5825ec(0x262)](),this[_0x5825ec(0x29b)][_0x5825ec(0x221)](),super[_0x5825ec(0x1ef)]();}[_0x5cfc26(0x1fa)](){const _0x489df6=_0x5cfc26,_0x593809=this[_0x489df6(0x2ad)][_0x489df6(0x1ff)][_0x489df6(0x257)](_0x489df6(0x20f));let _0xd0d37d=this[_0x489df6(0x2ad)][_0x489df6(0x23c)][_0x489df6(0x2af)](_0x489df6(0x270))||[..._0x23369f];_0x593809||(_0xd0d37d=_0xd0d37d[_0x489df6(0x26b)](_0x157341=>_0x489df6(0x26a)!=_0x157341));const _0x2158c7=this[_0x489df6(0x2ad)][_0x489df6(0x218)][_0x489df6(0x2af)](_0x489df6(0x274)),_0x142403=new _0x6e6e77(this[_0x489df6(0x2ad)][_0x489df6(0x2a5)],{'showApplyButton':!0x0,'showSuggestButton':_0x593809,'miniToolbarConfig':{'showChanges':_0x489df6(0x29c)},'availableActions':_0xd0d37d});return _0x142403[_0x489df6(0x23a)](_0x489df6(0x1f9))['to'](this),_0x2158c7&&_0x142403[_0x489df6(0x23a)](_0x489df6(0x253))['to'](_0x2158c7,_0x489df6(0x212)),_0x142403['on'](_0x489df6(0x207),()=>{const _0xd551d4=_0x489df6;this[_0xd551d4(0x220)]();}),_0x142403['on'](_0x489df6(0x1ee),()=>{const _0x48abe5=_0x489df6;this[_0x48abe5(0x1dc)]();}),_0x142403['on'](_0x489df6(0x21e),()=>{const _0x3737ed=_0x489df6;this[_0x3737ed(0x26c)]();}),_0x142403;}[_0x5cfc26(0x231)](){const _0x4c3055=_0x5cfc26,_0x3c34d8=this[_0x4c3055(0x2ad)][_0x4c3055(0x284)][_0x4c3055(0x2b6)][_0x4c3055(0x25d)];if(_0x3c34d8[_0x4c3055(0x27d)]){const _0x48417f=_0x5332f7(_0x3c34d8[_0x4c3055(0x21f)]())||this[_0x4c3055(0x2ad)][_0x4c3055(0x284)][_0x4c3055(0x27b)][_0x4c3055(0x243)](_0x3c34d8);this[_0x4c3055(0x2ad)][_0x4c3055(0x284)][_0x4c3055(0x265)](_0x20b829=>{const _0x416bd6=_0x4c3055;_0x20b829[_0x416bd6(0x27f)](_0x48417f,'in');});}const _0x3bcd25=_0x3c34d8[_0x4c3055(0x2b1)](),_0x29bdaf=this[_0x4c3055(0x26e)](this[_0x4c3055(0x2ad)][_0x4c3055(0x284)][_0x4c3055(0x23f)](_0x3c34d8),_0x3bcd25[_0x4c3055(0x2b0)],_0x3bcd25[_0x4c3055(0x259)]);this[_0x4c3055(0x285)](_0x29bdaf,_0x3c34d8,{'isTableSelection':!0x1});const _0x4db3e5=_0x3c34d8[_0x4c3055(0x2b1)]()[_0x4c3055(0x2b0)],_0x547d39=new Map();let _0x481038=_0x29bdaf;for(let _0x4dc9f0=0x0;_0x4dc9f0<_0x4db3e5[_0x4c3055(0x230)][_0x4c3055(0x2a3)];_0x4dc9f0++)_0x547d39[_0x4c3055(0x2a0)](_0x481038,_0x4db3e5[_0x4c3055(0x230)][_0x4dc9f0]),_0x481038=_0x481038[_0x4c3055(0x1fb)](0x0);return{'modelFragment':_0x29bdaf,'anchorData':_0x547d39};}[_0x5cfc26(0x2a8)](){const _0x2e6701=_0x5cfc26,_0x16d83e=this[_0x2e6701(0x2ad)][_0x2e6701(0x284)][_0x2e6701(0x2b6)][_0x2e6701(0x25d)],_0x1cfc47=this[_0x2e6701(0x2ad)][_0x2e6701(0x1ff)][_0x2e6701(0x2af)](_0x2e6701(0x25f))[_0x2e6701(0x2ae)](),_0x2ba10f=_0x16d83e[_0x2e6701(0x2b1)]()[_0x2e6701(0x2b0)][_0x2e6701(0x1f3)][_0x2e6701(0x1f3)],_0x1bd74f=this[_0x2e6701(0x2ad)][_0x2e6701(0x284)][_0x2e6701(0x244)](this[_0x2e6701(0x2ad)][_0x2e6701(0x284)][_0x2e6701(0x206)](_0x2ba10f),this[_0x2e6701(0x2ad)][_0x2e6701(0x284)][_0x2e6701(0x276)](_0x2ba10f)),_0x15c948=this[_0x2e6701(0x26e)](_0x1cfc47,_0x1bd74f[_0x2e6701(0x2b0)],_0x1bd74f[_0x2e6701(0x259)]);this[_0x2e6701(0x285)](_0x15c948,_0x16d83e,{'isTableSelection':!0x0});const _0x875c47=_0x16d83e[_0x2e6701(0x2b1)]()[_0x2e6701(0x2b0)],_0x1d5651=new Map();let _0x527df8=_0x15c948;for(let _0x27e57d=0x0;_0x27e57d<_0x875c47[_0x2e6701(0x230)][_0x2e6701(0x2a3)];_0x27e57d++)if(_0x1d5651[_0x2e6701(0x2a0)](_0x527df8,_0x875c47[_0x2e6701(0x230)][_0x27e57d]),_0x27e57d<_0x875c47[_0x2e6701(0x230)][_0x2e6701(0x2a3)]-0x1)_0x527df8=_0x527df8[_0x2e6701(0x1fb)](0x0);else{let _0x29f2d2=_0x527df8[_0x2e6701(0x245)];for(;_0x29f2d2;)_0x1d5651[_0x2e6701(0x2a0)](_0x29f2d2,_0x875c47[_0x2e6701(0x230)][_0x27e57d]),_0x29f2d2=_0x29f2d2[_0x2e6701(0x245)];}return{'modelFragment':_0x15c948,'anchorData':_0x1d5651};}async[_0x5cfc26(0x210)](_0xeaf517,_0x21f310,_0x5f543c,_0x591fd2,_0x515e8b){const _0x4cf02d=_0x5cfc26,_0x2a7066=this[_0x4cf02d(0x2ad)][_0x4cf02d(0x1ff)][_0x4cf02d(0x2af)](_0x483e06),_0x14f62d=this[_0x4cf02d(0x2ad)][_0x4cf02d(0x1ff)][_0x4cf02d(0x2af)](_0x454f09),_0x3ce179=this[_0x4cf02d(0x2ad)][_0x4cf02d(0x284)][_0x4cf02d(0x2b6)][_0x4cf02d(0x25d)],_0x131d8a=await _0x2a7066[_0x4cf02d(0x200)](_0x21f310),_0x32f6de=this[_0x4cf02d(0x2ad)][_0x4cf02d(0x284)][_0x4cf02d(0x2b6)][_0x4cf02d(0x238)],_0x5d1a67=[..._0x3ce179[_0x4cf02d(0x266)]()];return this[_0x4cf02d(0x216)]||(this[_0x4cf02d(0x216)]=this[_0x4cf02d(0x1fa)]()),this[_0x4cf02d(0x2b8)](),this[_0x4cf02d(0x1f0)](),this[_0x4cf02d(0x216)][_0x4cf02d(0x295)](),_0x14f62d[_0x4cf02d(0x2b4)]({'index':0x3e8*Math[_0x4cf02d(0x272)]()%0x3e8,'title':_0x591fd2,'icon':_0x515e8b||_0x3e29ac,'mainView':this[_0x4cf02d(0x216)],'class':_0x4cf02d(0x297),'ranges':_0x5d1a67,'id':_0x4cf02d(0x28b)}),this[_0x4cf02d(0x222)](),this[_0x4cf02d(0x2a6)](this[_0x4cf02d(0x216)]),this[_0x4cf02d(0x2a6)](_0x14f62d),this[_0x4cf02d(0x223)]={'action':_0xeaf517,'content':_0x131d8a,'version':_0x32f6de,'aiBalloon':_0x14f62d,'modelFragment':_0x21f310,'anchorData':_0x5f543c},this[_0x4cf02d(0x28c)](),this[_0x4cf02d(0x225)](_0x14f62d,_0x4cf02d(0x25a),()=>{const _0x2727e4=_0x4cf02d;this[_0x2727e4(0x262)](),this[_0x2727e4(0x216)][_0x2727e4(0x20e)]();}),this[_0x4cf02d(0x225)](_0x14f62d,_0x4cf02d(0x273),(_0x4669d1,{id:_0x23c35a})=>{const _0x3070f4=_0x4cf02d;if(_0x3070f4(0x28b)===_0x23c35a){if(this[_0x3070f4(0x261)]&&this[_0x3070f4(0x261)][_0x3070f4(0x2ac)][_0x3070f4(0x2a3)]>0x0){const _0xfe72cf=this[_0x3070f4(0x261)][_0x3070f4(0x2ac)][this[_0x3070f4(0x261)][_0x3070f4(0x2ac)][_0x3070f4(0x2a3)]-0x1],_0x3f20c1=_0xfe72cf[_0x3070f4(0x202)][0x0];_0x3f20c1&&_0x3070f4(0x229)===_0x3f20c1[_0x3070f4(0x219)]&&_0xfe72cf[_0x3070f4(0x249)](0x0,_0x3070f4(0x275));}this[_0x3070f4(0x262)](),this[_0x3070f4(0x2b8)](),this[_0x3070f4(0x2a6)](this[_0x3070f4(0x216)]),this[_0x3070f4(0x2a6)](_0x14f62d);}}),this[_0x4cf02d(0x23d)](_0x131d8a,_0x32f6de,_0x14f62d,_0xeaf517);}[_0x5cfc26(0x28c)](){const _0x18b1ec=_0x5cfc26;if(!this[_0x18b1ec(0x223)])return;const {modelFragment:_0x16076b,anchorData:_0x142940}=this[_0x18b1ec(0x223)];this[_0x18b1ec(0x225)](this[_0x18b1ec(0x216)],_0x18b1ec(0x28d),()=>{const _0x174387=_0x18b1ec;this[_0x174387(0x260)](_0x16076b,_0x142940,!0x1);}),this[_0x18b1ec(0x225)](this[_0x18b1ec(0x216)],_0x18b1ec(0x26a),()=>{const _0x570dec=_0x18b1ec;this[_0x570dec(0x260)](_0x16076b,_0x142940,!0x0);});}[_0x5cfc26(0x26e)](_0x5349ca,_0x2c400f,_0x910a08){const _0x3c608f=_0x5cfc26,_0x342894=this[_0x3c608f(0x2ad)][_0x3c608f(0x284)][_0x3c608f(0x244)](_0x2c400f,_0x910a08)[_0x3c608f(0x24d)](),_0x183e74=_0x342894['is'](_0x3c608f(0x1e3))?[]:_0x342894[_0x3c608f(0x21a)]({'includeSelf':!0x0})[_0x3c608f(0x269)](0x1);if(_0x183e74[_0x3c608f(0x2a3)]){const _0x2db872=_0x183e74[_0x3c608f(0x254)](_0x15b775=>_0x15b775[_0x3c608f(0x21c)](!0x1));for(let _0x247ea5=0x1;_0x247ea5<_0x2db872[_0x3c608f(0x2a3)];_0x247ea5++)_0x2db872[_0x247ea5-0x1][_0x3c608f(0x2a4)](_0x2db872[_0x247ea5]);return _0x2db872[_0x2db872[_0x3c608f(0x2a3)]-0x1][_0x3c608f(0x2a4)](_0x5349ca),new _0x336ce9(_0x2db872[0x0]);}return _0x5349ca;}[_0x5cfc26(0x285)](_0x9ad8af,_0x4f5a74,_0x2d74e0={'isTableSelection':!0x1}){const _0x5d4d9a=_0x5cfc26,_0x3ebefe=this[_0x5d4d9a(0x2ad)][_0x5d4d9a(0x284)],_0x33d47d=Array[_0x5d4d9a(0x20a)](_0x4f5a74[_0x5d4d9a(0x266)]()),_0x511449=_0x4f5a74[_0x5d4d9a(0x2b1)]()[_0x5d4d9a(0x2b0)];for(const _0xdadcbd of _0x3ebefe[_0x5d4d9a(0x24e)]){if(_0xdadcbd[_0x5d4d9a(0x24b)][_0x5d4d9a(0x208)](_0x5c0b98)||!_0xdadcbd[_0x5d4d9a(0x286)])continue;const _0xa98e68=_0xdadcbd[_0x5d4d9a(0x1e6)]();if(!_0x33d47d[_0x5d4d9a(0x25e)](_0x2b8fe6=>_0x2b8fe6[_0x5d4d9a(0x29f)](_0xa98e68,!0x0)))continue;const _0x459b2c=this[_0x5d4d9a(0x288)](_0xa98e68[_0x5d4d9a(0x2b0)],_0x511449,_0x2d74e0[_0x5d4d9a(0x247)]),_0x3f3227=this[_0x5d4d9a(0x288)](_0xa98e68[_0x5d4d9a(0x259)],_0x511449,_0x2d74e0[_0x5d4d9a(0x247)]),_0x26ed0=_0x3ebefe[_0x5d4d9a(0x22d)](_0x9ad8af,_0x459b2c),_0x725d33=_0x3ebefe[_0x5d4d9a(0x22d)](_0x9ad8af,_0x3f3227);if(!_0x26ed0[_0x5d4d9a(0x214)](_0x725d33)){const _0x58add2=_0x3ebefe[_0x5d4d9a(0x244)](_0x26ed0,_0x725d33);_0x9ad8af[_0x5d4d9a(0x24e)][_0x5d4d9a(0x2a0)](_0xdadcbd[_0x5d4d9a(0x24b)],_0x58add2);}}}[_0x5cfc26(0x288)](_0x1eeba1,_0x1a94bc,_0xaa94b8=!0x1){const _0x3a72db=_0x5cfc26,_0x496031=[..._0x1eeba1[_0x3a72db(0x230)][_0x3a72db(0x269)]()];for(let _0x1a4589=0x0;_0x1a4589<Math[_0x3a72db(0x1e8)](_0x1a94bc[_0x3a72db(0x230)][_0x3a72db(0x2a3)],_0x1eeba1[_0x3a72db(0x230)][_0x3a72db(0x2a3)]);_0x1a4589++){const _0x2cbb8a=_0x1a94bc[_0x3a72db(0x230)][_0x1a4589]||0x0,_0x55976e=(_0x1eeba1[_0x3a72db(0x230)][_0x1a4589]||0x0)-_0x2cbb8a;if(_0x496031[_0x1a4589]=_0x55976e,0x0!==_0x55976e&&!_0xaa94b8)break;}return _0x496031;}async[_0x5cfc26(0x23d)](_0x2a10a8,_0x2e5a4b,_0x460559,_0x2e255a){const _0x40b989=_0x5cfc26,_0x260b45=this[_0x40b989(0x2ad)];this[_0x40b989(0x223)]||(this[_0x40b989(0x223)]={'action':_0x2e255a,'content':_0x2a10a8,'version':_0x2e5a4b,'aiBalloon':_0x460559,'modelFragment':this[_0x40b989(0x2ad)][_0x40b989(0x284)][_0x40b989(0x23f)](this[_0x40b989(0x2ad)][_0x40b989(0x284)][_0x40b989(0x2b6)][_0x40b989(0x25d)]),'anchorData':new Map()});const _0x4f129c=new _0x503b92({'connector':this[_0x40b989(0x237)],'editor':_0x260b45,'content':_0x2a10a8,'version':_0x2e5a4b,..._0x2e255a});this[_0x40b989(0x293)][_0x40b989(0x27c)](_0x4f129c);const _0x38c9c0=(_0x479afb,_0x2147b6=!0x1,_0x162b70=_0x40b989(0x203))=>this[_0x40b989(0x1ea)][_0x40b989(0x1e0)](async _0xa76af2=>{const _0x2d1878=_0x40b989;try{const _0x11b964=_0x46948e({'editor':_0x260b45,'changeGroups':_0x479afb[_0x2d1878(0x202)],'documentContextContent':_0x479afb[_0x2d1878(0x204)],'showDiff':_0x2147b6,'trimUnchanged':!0x1});_0x11b964[_0x2d1878(0x2a3)]&&await this[_0x2d1878(0x216)][_0x2d1878(0x263)]({'part':_0x11b964[0x0],'renderingStrategy':_0x162b70,'abortSignal':_0xa76af2});}catch(_0x2f58c){if(this[_0x2d1878(0x251)](_0x2f58c))return;throw _0x2f58c;}});this[_0x40b989(0x261)]['on'](_0x40b989(0x1f4),(_0x4e74d1,_0x56f90a)=>{const _0x3cd29a=_0x40b989;this[_0x3cd29a(0x216)][_0x3cd29a(0x283)](),this[_0x3cd29a(0x216)][_0x3cd29a(0x1e2)](),_0x38c9c0(_0x56f90a)[_0x3cd29a(0x2a9)](_0x200d67=>{const _0xa99061=_0x3cd29a;this[_0xa99061(0x251)](_0x200d67)||(console[_0xa99061(0x213)](_0xa99061(0x24f),_0x200d67),this[_0xa99061(0x29e)](_0x4f129c));});}),this[_0x40b989(0x261)]['on'](_0x40b989(0x296),(_0xd4bbb1,_0x6630b1)=>{const _0x2ba67b=_0x40b989;_0x38c9c0(_0x6630b1)[_0x2ba67b(0x2a9)](_0x5d89aa=>{const _0x1ab9a9=_0x2ba67b;this[_0x1ab9a9(0x251)](_0x5d89aa)||(console[_0x1ab9a9(0x213)](_0x1ab9a9(0x201),_0x5d89aa),this[_0x1ab9a9(0x29e)](_0x4f129c));});}),this[_0x40b989(0x261)]['on'](_0x40b989(0x1e4),async()=>{const _0x10b3ef=_0x40b989;try{await this[_0x10b3ef(0x246)](),this[_0x10b3ef(0x216)][_0x10b3ef(0x242)](this[_0x10b3ef(0x293)][_0x10b3ef(0x2a3)],this[_0x10b3ef(0x20c)]),await this[_0x10b3ef(0x1ea)][_0x10b3ef(0x2a2)];}catch(_0x484e6d){this[_0x10b3ef(0x251)](_0x484e6d)||(console[_0x10b3ef(0x213)](_0x10b3ef(0x298),_0x484e6d),this[_0x10b3ef(0x29e)](_0x4f129c));}finally{this[_0x10b3ef(0x216)][_0x10b3ef(0x280)]();}}),this[_0x40b989(0x225)](this[_0x40b989(0x216)],_0x40b989(0x24c),async(_0x269803,{showDiff:_0xc18c08})=>{const _0xa6e5af=_0x40b989;try{this[_0xa6e5af(0x2a1)]=_0xc18c08;const _0x4b037d=this[_0xa6e5af(0x261)][_0xa6e5af(0x2ac)][this[_0xa6e5af(0x261)][_0xa6e5af(0x2ac)][_0xa6e5af(0x2a3)]-0x1];_0x4b037d&&await _0x38c9c0(_0x4b037d,_0xc18c08,_0xa6e5af(0x279));}catch(_0x494c12){this[_0xa6e5af(0x251)](_0x494c12)||(console[_0xa6e5af(0x213)](_0xa6e5af(0x292),_0x494c12),this[_0xa6e5af(0x29e)](_0x4f129c));}}),this[_0x40b989(0x261)]['on'](_0x40b989(0x20b),(_0x39ace8,{reply:_0x18fdc1})=>{const _0xef8c41=_0x40b989,_0x228f6e={'positiveCount':_0x18fdc1[_0xef8c41(0x202)][_0xef8c41(0x26b)](_0x2db0c6=>_0xef8c41(0x290)===_0x2db0c6[_0xef8c41(0x219)])[_0xef8c41(0x2a3)],'totalCount':_0x18fdc1[_0xef8c41(0x202)][_0xef8c41(0x2a3)]},_0x4144be=this[_0xef8c41(0x261)][_0xef8c41(0x1f1)],_0x142769=this[_0xef8c41(0x261)][_0xef8c41(0x22e)];_0x142769?this[_0xef8c41(0x237)][_0xef8c41(0x248)](_0x142769,_0x4144be,_0x228f6e):this[_0xef8c41(0x237)][_0xef8c41(0x1fc)](_0x4144be,_0x228f6e);}),this[_0x40b989(0x222)]();try{const _0x5172fa=await this[_0x40b989(0x261)][_0x40b989(0x2b0)]();return this[_0x40b989(0x216)][_0x40b989(0x242)](this[_0x40b989(0x293)][_0x40b989(0x2a3)],this[_0x40b989(0x20c)]),_0x5172fa;}catch(_0x510034){if(this[_0x40b989(0x251)](_0x510034))return;this[_0x40b989(0x216)][_0x40b989(0x283)](),this[_0x40b989(0x29e)](_0x4f129c);}}[_0x5cfc26(0x260)](_0x11a5fd,_0x3db485,_0x46b580){const _0xadd9ff=_0x5cfc26,_0x5bfe10=this[_0xadd9ff(0x2ad)];if(_0x46b580&&!_0x5bfe10[_0xadd9ff(0x1ff)][_0xadd9ff(0x257)](_0xadd9ff(0x20f)))throw new _0x1945f5(_0xadd9ff(0x227),null);const _0x536642=this[_0xadd9ff(0x2ad)][_0xadd9ff(0x1ff)][_0xadd9ff(0x2af)](_0x5a13d1),_0x580ce3=this[_0xadd9ff(0x293)][this[_0xadd9ff(0x293)][_0xadd9ff(0x2a3)]-0x1-this[_0xadd9ff(0x20c)]];if(!_0x580ce3||!_0x580ce3[_0xadd9ff(0x2ac)][_0xadd9ff(0x2a3)])return;const _0x3aa4b3=_0x580ce3[_0xadd9ff(0x2ac)][_0x580ce3[_0xadd9ff(0x2ac)][_0xadd9ff(0x2a3)]-0x1],_0x573c51=_0x3aa4b3[_0xadd9ff(0x202)];_0x3aa4b3[_0xadd9ff(0x249)](0x0,_0xadd9ff(0x290));let _0x2a501b=_0x346ae8({'editor':_0x5bfe10,'reply':_0x3aa4b3,'interaction':_0x580ce3,'groups':_0x573c51,'transform':!0x1,'documentCompare':_0x536642,'documentCompareOptions':{'anchor':_0x5bfe10[_0xadd9ff(0x284)][_0xadd9ff(0x28e)](_0x11a5fd,0x0),'markDeletions':_0x46b580}});_0x2a501b=this[_0xadd9ff(0x281)](_0x2a501b,_0x3db485);for(const _0x370532 of _0x2a501b)this[_0xadd9ff(0x21b)](_0x3db485,_0x370532,_0x5bfe10[_0xadd9ff(0x284)][_0xadd9ff(0x2b6)][_0xadd9ff(0x26d)]());const _0x28535f=_0x580ce3[_0xadd9ff(0x289)]()[_0xadd9ff(0x238)],_0x3723ff=_0x5bfe10[_0xadd9ff(0x284)][_0xadd9ff(0x2b6)][_0xadd9ff(0x209)][_0xadd9ff(0x278)](_0x28535f),_0x489b71={'document':_0x5bfe10[_0xadd9ff(0x284)][_0xadd9ff(0x2b6)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5c63ed=_0x580695(_0x2a501b,_0x3723ff,_0x489b71)[_0xadd9ff(0x1f6)];_0x5bfe10[_0xadd9ff(0x284)][_0xadd9ff(0x265)](_0x429655=>{const _0x36216c=_0xadd9ff;if(_0x429655[_0x36216c(0x27f)](_0x5bfe10[_0x36216c(0x284)][_0x36216c(0x2b6)][_0x36216c(0x25d)][_0x36216c(0x277)]),_0x46b580)_0x5bfe10[_0x36216c(0x1ff)][_0x36216c(0x2af)](_0x36216c(0x29a))[_0x36216c(0x282)](_0x5c63ed);else{for(const _0x58216d of _0x5c63ed)_0x58216d[_0x36216c(0x25c)]=_0x5bfe10[_0x36216c(0x284)][_0x36216c(0x2b6)][_0x36216c(0x238)],_0x2713bb(_0x5bfe10,_0x58216d),_0x429655[_0x36216c(0x28f)][_0x36216c(0x25b)](_0x58216d),_0x5bfe10[_0x36216c(0x284)][_0x36216c(0x271)](_0x58216d);}}),this[_0xadd9ff(0x2ad)][_0xadd9ff(0x1ff)][_0xadd9ff(0x2af)](_0xadd9ff(0x1de))[_0xadd9ff(0x1df)]();}[_0x5cfc26(0x281)](_0x54f7bd,_0x2c752a){const _0x38d831=_0x5cfc26;return _0x54f7bd[_0x38d831(0x26b)](_0x5b2e1a=>{const _0x246459=_0x38d831;if(_0x246459(0x211)==_0x5b2e1a[_0x246459(0x21d)]){const _0x1205c4=_0x5b2e1a[_0x246459(0x27a)][_0x246459(0x228)];return!_0x2c752a[_0x246459(0x257)](_0x1205c4);}if(_0x5b2e1a[_0x246459(0x21d)][_0x246459(0x240)](_0x246459(0x1fd))>-0x1){const _0x284844=_0x5b2e1a[_0x246459(0x1ec)][_0x246459(0x2b0)][_0x246459(0x228)];return!_0x2c752a[_0x246459(0x257)](_0x284844);}return!0x0;});}[_0x5cfc26(0x21b)](_0x3659e4,_0x2edbc0,_0xe36f7a){const _0x390d93=_0x5cfc26,_0x21693b=_0x2edbc0[_0x390d93(0x2b3)]();for(const _0x59e6eb in _0x2edbc0){const _0x491f70=_0x2edbc0[_0x59e6eb];_0x491f70 instanceof _0x5543ae?_0x2edbc0[_0x59e6eb]=new _0x5543ae(_0x469638(_0x491f70[_0x390d93(0x2b0)]),_0x469638(_0x491f70[_0x390d93(0x259)])):_0x491f70 instanceof _0x5b60d5&&(_0x2edbc0[_0x59e6eb]=_0x469638(_0x491f70));}if([_0x390d93(0x29d),_0x390d93(0x2b7),_0x390d93(0x22b),_0x390d93(0x1fe),_0x390d93(0x234),_0x390d93(0x2aa)][_0x390d93(0x24a)](_0x21693b[_0x390d93(0x21d)])){if(_0x21693b[_0x390d93(0x205)]=!0x1,_0x21693b[_0x390d93(0x25c)]=null,_0x390d93(0x22b)==_0x21693b[_0x390d93(0x21d)]){const _0x127ced=_0x21693b[_0x390d93(0x2ab)],_0x367278=_0x21693b[_0x390d93(0x291)];new _0x143084(_0x127ced,_0x367278)[_0x390d93(0x2a7)]();}else _0x21693b[_0x390d93(0x2a7)]();}function _0x469638(_0x19d4e3){const _0x1fcc3b=_0x390d93;if(_0x1fcc3b(0x294)==_0x19d4e3[_0x1fcc3b(0x22a)][_0x1fcc3b(0x23b)])return _0x19d4e3;const _0x416bc5=[];let _0x5c2ebc=_0x19d4e3[_0x1fcc3b(0x22a)];for(let _0x499729=0x0;_0x499729<_0x19d4e3[_0x1fcc3b(0x230)][_0x1fcc3b(0x2a3)];_0x499729++){const _0xd0946e=_0x3659e4[_0x1fcc3b(0x2af)](_0x5c2ebc)||0x0;_0x416bc5[_0x499729]=_0x19d4e3[_0x1fcc3b(0x230)][_0x499729]+_0xd0946e,_0x5c2ebc=_0x5c2ebc[_0x1fcc3b(0x27e)](_0x19d4e3[_0x1fcc3b(0x230)][_0x499729]);}return new _0x5b60d5(_0xe36f7a,_0x416bc5,_0x19d4e3[_0x1fcc3b(0x1f8)]);}}[_0x5cfc26(0x220)](){const _0x353cd3=_0x5cfc26;if(!this[_0x353cd3(0x223)])return;this[_0x353cd3(0x293)][_0x353cd3(0x2a3)]>0x0&&this[_0x353cd3(0x262)](),this[_0x353cd3(0x20c)]=0x0,this[_0x353cd3(0x2a1)]=!0x1;const {action:_0x176e51,content:_0x1249c2,version:_0x3ffd81,aiBalloon:_0x189fd7}=this[_0x353cd3(0x223)];this[_0x353cd3(0x1f0)](),this[_0x353cd3(0x216)][_0x353cd3(0x295)](),this[_0x353cd3(0x216)][_0x353cd3(0x1e5)](),this[_0x353cd3(0x216)][_0x353cd3(0x22c)](),this[_0x353cd3(0x216)][_0x353cd3(0x242)](this[_0x353cd3(0x293)][_0x353cd3(0x2a3)],this[_0x353cd3(0x20c)]),this[_0x353cd3(0x2a6)](this[_0x353cd3(0x216)]),this[_0x353cd3(0x28c)](),this[_0x353cd3(0x23d)](_0x1249c2,_0x3ffd81,_0x189fd7,_0x176e51)[_0x353cd3(0x2a9)](_0x3c3bc8=>{const _0x25e094=_0x353cd3;this[_0x25e094(0x251)](_0x3c3bc8)||console[_0x25e094(0x213)](_0x25e094(0x28a),_0x3c3bc8);});}[_0x5cfc26(0x251)](_0x35b77c){const _0x39b68a=_0x5cfc26;return!!_0x35b77c[_0x39b68a(0x1e9)]&&_0x35b77c[_0x39b68a(0x1e9)][_0x39b68a(0x208)](_0x39b68a(0x264));}[_0x5cfc26(0x2b8)](){const _0x1b7ff5=_0x5cfc26;this[_0x1b7ff5(0x293)]=[],this[_0x1b7ff5(0x223)]=void 0x0,this[_0x1b7ff5(0x20c)]=0x0,this[_0x1b7ff5(0x216)][_0x1b7ff5(0x242)](this[_0x1b7ff5(0x293)][_0x1b7ff5(0x2a3)],this[_0x1b7ff5(0x20c)]);}[_0x5cfc26(0x262)](){const _0x289c91=_0x5cfc26;this[_0x289c91(0x261)]&&this[_0x289c91(0x261)][_0x289c91(0x1dd)](),this[_0x289c91(0x1ea)][_0x289c91(0x1e1)](),this[_0x289c91(0x1f9)]=!0x1,this[_0x289c91(0x223)]&&this[_0x289c91(0x216)][_0x289c91(0x280)]();}[_0x5cfc26(0x1dc)](){const _0x28847b=_0x5cfc26,_0x22ec14=this[_0x28847b(0x293)][_0x28847b(0x2a3)];this[_0x28847b(0x20c)]<_0x22ec14-0x1&&this[_0x28847b(0x20d)](this[_0x28847b(0x20c)]+0x1);}[_0x5cfc26(0x26c)](){const _0x55e9bc=_0x5cfc26;this[_0x55e9bc(0x20c)]>0x0&&this[_0x55e9bc(0x20d)](this[_0x55e9bc(0x20c)]-0x1);}async[_0x5cfc26(0x20d)](_0x11e078){const _0x320d2f=_0x5cfc26;if(!this[_0x320d2f(0x223)])return;this[_0x320d2f(0x20c)]=_0x11e078;const _0x54130f=this[_0x320d2f(0x293)][this[_0x320d2f(0x293)][_0x320d2f(0x2a3)]-0x1-this[_0x320d2f(0x20c)]];if(!_0x54130f)return;if(_0x54130f[_0x320d2f(0x252)])return this[_0x320d2f(0x29e)](_0x54130f),void this[_0x320d2f(0x216)][_0x320d2f(0x242)](this[_0x320d2f(0x293)][_0x320d2f(0x2a3)],this[_0x320d2f(0x20c)]);if(!_0x54130f[_0x320d2f(0x2ac)][_0x320d2f(0x2a3)])return;this[_0x320d2f(0x216)][_0x320d2f(0x26f)](),this[_0x320d2f(0x223)]&&this[_0x320d2f(0x1f0)]();const _0x44dc36=_0x54130f[_0x320d2f(0x2ac)][_0x54130f[_0x320d2f(0x2ac)][_0x320d2f(0x2a3)]-0x1];if(_0x44dc36){const _0x4e409e=this[_0x320d2f(0x2ad)];try{const _0x35e6b9=_0x46948e({'editor':_0x4e409e,'changeGroups':_0x44dc36[_0x320d2f(0x202)],'documentContextContent':_0x44dc36[_0x320d2f(0x204)],'showDiff':this[_0x320d2f(0x2a1)],'trimUnchanged':!0x1});await new Promise(_0x3d846e=>setTimeout(_0x3d846e,0x32)),await this[_0x320d2f(0x216)][_0x320d2f(0x263)]({'part':_0x35e6b9[0x0],'renderingStrategy':_0x320d2f(0x279),'abortSignal':new AbortController()[_0x320d2f(0x226)]});}catch(_0x3c673f){this[_0x320d2f(0x251)](_0x3c673f)||console[_0x320d2f(0x213)](_0x320d2f(0x1e7),_0x3c673f);}}this[_0x320d2f(0x216)][_0x320d2f(0x242)](this[_0x320d2f(0x293)][_0x320d2f(0x2a3)],this[_0x320d2f(0x20c)]);}[_0x5cfc26(0x222)](){const _0x10caeb=_0x5cfc26;this[_0x10caeb(0x216)][_0x10caeb(0x215)](!0x0),this[_0x10caeb(0x1f9)]=!0x0;}async[_0x5cfc26(0x29e)](_0x2b8a8c){const _0x3881f2=_0x5cfc26,_0x261416=_0x5bf298(this[_0x3881f2(0x2ad)][_0x3881f2(0x2a5)],_0x3881f2(0x1f2));this[_0x3881f2(0x216)][_0x3881f2(0x2b2)](_0x261416),_0x2b8a8c[_0x3881f2(0x252)]=!0x0,await this[_0x3881f2(0x1ea)][_0x3881f2(0x2a2)],this[_0x3881f2(0x216)][_0x3881f2(0x236)](),this[_0x3881f2(0x216)][_0x3881f2(0x256)](!0x0);}[_0x5cfc26(0x1f0)](){const _0x177b46=_0x5cfc26;this[_0x177b46(0x216)][_0x177b46(0x26f)](),this[_0x177b46(0x216)][_0x177b46(0x256)](!0x1);}async[_0x5cfc26(0x246)](){const _0x805d2c=_0x5cfc26;await this[_0x805d2c(0x1ea)][_0x805d2c(0x2a2)],this[_0x805d2c(0x1f9)]=!0x1,this[_0x805d2c(0x216)][_0x805d2c(0x215)](!0x1);}}
|
|
23
|
+
const _0x59a3a4=_0x1f6e;(function(_0x53c508,_0x554a72){const _0x4fe6db=_0x1f6e,_0x4ac924=_0x53c508();while(!![]){try{const _0x47ebe7=parseInt(_0x4fe6db(0x28d))/0x1*(parseInt(_0x4fe6db(0x2ae))/0x2)+-parseInt(_0x4fe6db(0x21d))/0x3*(-parseInt(_0x4fe6db(0x2b6))/0x4)+parseInt(_0x4fe6db(0x1f5))/0x5*(parseInt(_0x4fe6db(0x270))/0x6)+parseInt(_0x4fe6db(0x22e))/0x7*(parseInt(_0x4fe6db(0x235))/0x8)+-parseInt(_0x4fe6db(0x2a3))/0x9*(parseInt(_0x4fe6db(0x2c6))/0xa)+-parseInt(_0x4fe6db(0x288))/0xb+-parseInt(_0x4fe6db(0x2c4))/0xc;if(_0x47ebe7===_0x554a72)break;else _0x4ac924['push'](_0x4ac924['shift']());}catch(_0x1800fa){_0x4ac924['push'](_0x4ac924['shift']());}}}(_0x1f58,0xd81c4));import{Plugin as _0x5e7529}from'ckeditor5/src/core.js';import{AIConnector as _0x35bd51}from'../aicore/aiconnector.js';import{Dialog as _0x374bef,BodyCollection as _0x47b23e}from'ckeditor5/src/ui.js';import{AIEditing as _0x2f613d,AI_VISUAL_SELECTION_MARKER_NAME as _0xc1265e}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x3b85ba}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x48a733,first as _0x57fb3c}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x51e2b5}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x59e78e}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x399f6d}from'../aichat/utils/promisequeue.js';function _0x1f58(){const _0x36b296=['AI_ACTIONS_GENERIC_ERROR','static','TableSelection','setChangeGroupState','createPositionAfter','getSelectedContent','_balloonShowDiff','showNext','showError','commands','2WclEFm','updateMiniToolbarButtons','getOperations','_copyMarkersToFragment','_interactionParams','Error\x20refreshing\x20interaction:','_navigateToPrevious','_applyOperationsAsSuggestions','4cxbhQv','executeAction','random','_executeAction','pluginName','isTrackChangesOn','max','upsertCustomAIActionRating','path','_actionsBalloonView','_isAbortError','start','operationsA','startsWith','7201176mUmaTw','position','10HCqwKo','push','get','attachToDom','queueEmptyPromise','isTableSelection','isPremiumPlugin','error','_execute','toggleSuggestionDisplayMode','hideError','getSelectionAsFragment','isBusy','55ZuxQgn','setSelection','getFirstRange','detachFromDom','getAncestors','stop','icon','version','set','focus','changeGroups','isOfficialPlugin','interactionFinished','getChild','dialogClosed','Error\x20updating\x20content\x20in\x20replyCreated:','pending','_stopInteraction','enqueue','_setLoadingState','disableMiniToolbarButtons','tryAgain','slice','batch','_displayInteractionAtIndex','Error\x20updating\x20content\x20during\x20navigation:','from','documentContextContent','name','_aiConnector','message','documentFragment','_setErrorState','Error\x20updating\x20content\x20in\x20replyContentUpdated:','merge','replyChangeGroupStateUpdated','plugins','selection','updateContent','_getExecuteDataRegular','2763135QNNSKx','stopInteraction','parent','_appendChild','getSelectedTableCells','showPrevious','stopAutoScroll','_bodyCollection','some','createPositionFromPath','_clearLoadingState','modelToDataWithIds','aiActionsBalloon','stopListening','_interaction','getDocumentContext','history','2206981DymMzD','accepted','howMany','end','close','baseVersion','TrackChanges','16AOdPjR','isEqual','trackChanges','hideLoader','rename','AIConnector','insertSuggestion','schema','indexOf','addOperation','resetShowChangesButton','AIActions','nodeAfter','change','ai.availableReplyActions','getChildAtOffset','getSelectedBlocks','affectsData','catch','length','_clearErrorState','ai-no-track-changes','move','markers','ck-ai-actions-balloon','containsRange','stickiness','AIBalloon','createRange','isDocumentOperation','value','editor','$graveyard','createPositionBefore','_regularCalculateMarkerPath','state','sourcePosition','streaming','nextSibling','_navigateToNext','reinsert','selectionRemoved','_promiseQueue','Attribute','_refreshInteraction','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','getLimitElement','replyCreated','ai-request-aborted','replies','showLoader','has','applyOperation','_setupApplyListeners','_filterOperationsOutsideRange','split','isCollapsed','rootName','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','580098zkqHhi','filter','_getExecuteDataInTable','range','_interactions','TrackChangesEditing','clearContent','remove','_anchorOperation','map','clone','getRange','open','_clone','upsertAIActionRating','includes','model','_wrapWithCommonAncestors','setIsLoading','hasError','_createActionsBalloonView','listenTo','_createInteraction','applySuggestion','3173104nGKszm','getCommonAncestor','actionName','rejected','insert','327867SyWjpz','destroy','type','locale','document','requires','getRanges','bind','abort','getRoot','_clearInteractionHistory','actionCallId','root','setErrorState','config','replyContentUpdated','toggleIsLoading','signal','startAutoScroll','_currentInteractionIndex','createPositionAt','_applyChanges','10523169ccQAmE'];_0x1f58=function(){return _0x36b296;};return _0x1f58();}import{getTranslation as _0xdb97bd}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x1e82e1}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x31f6da}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x4ccf13,getOperationsFromReply as _0x111e58}from'../aicore/utils/getoperationsfromreply.js';function _0x1f6e(_0x531605,_0x27897c){const _0x1f586f=_0x1f58();return _0x1f6e=function(_0x1f6e76,_0x4e69f9){_0x1f6e76=_0x1f6e76-0x1ea;let _0x39d977=_0x1f586f[_0x1f6e76];return _0x39d977;},_0x1f6e(_0x531605,_0x27897c);}import{ModelDocumentFragment as _0x40677c,ModelRange as _0x10d1c5,ModelPosition as _0x1e5e9f,_DetachOperation as _0x30569f,transformOperationSets as _0xe67dfb}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x5f150a}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIActionsBalloonView as _0x5569ea}from'../aiquickactions/ui/balloon/aiactionsballoonview.js';export class AIActions extends _0x5e7529{static get[_0x59a3a4(0x292)](){return[_0x35bd51,_0x374bef,_0x2f613d,_0x59e78e,_0x31f6da];}static get[_0x59a3a4(0x2ba)](){const _0x547869=_0x59a3a4;return _0x547869(0x240);}static get[_0x59a3a4(0x200)](){return!0x0;}static get[_0x59a3a4(0x1ee)](){return!0x0;}[_0x59a3a4(0x212)];[_0x59a3a4(0x274)]=[];[_0x59a3a4(0x2a0)]=0x0;[_0x59a3a4(0x2b2)];[_0x59a3a4(0x2aa)]=!0x1;[_0x59a3a4(0x25f)];[_0x59a3a4(0x224)];get[_0x59a3a4(0x22b)](){const _0x2d671c=_0x59a3a4;return this[_0x2d671c(0x274)][this[_0x2d671c(0x274)][_0x2d671c(0x248)]-0x1];}[_0x59a3a4(0x2bf)];constructor(_0x1cf6c2){const _0x52c6f2=_0x59a3a4;super(_0x1cf6c2),this[_0x52c6f2(0x224)]=new _0x47b23e(this[_0x52c6f2(0x254)][_0x52c6f2(0x290)]),this[_0x52c6f2(0x224)][_0x52c6f2(0x1eb)](),this[_0x52c6f2(0x212)]=this[_0x52c6f2(0x254)][_0x52c6f2(0x219)][_0x52c6f2(0x1ea)](_0x52c6f2(0x23a)),this[_0x52c6f2(0x1fd)](_0x52c6f2(0x1f4),!0x1),this[_0x52c6f2(0x25f)]=new _0x399f6d();}[_0x59a3a4(0x21e)](){const _0x36027c=_0x59a3a4;this[_0x36027c(0x206)]();}async[_0x59a3a4(0x2b7)](_0x2c09f1,_0x5a7441,_0x2e430c){const _0x1adc9c=_0x59a3a4;if(this[_0x1adc9c(0x206)](),this[_0x1adc9c(0x254)][_0x1adc9c(0x219)][_0x1adc9c(0x268)](_0x1adc9c(0x2a6))){if(this[_0x1adc9c(0x254)][_0x1adc9c(0x219)][_0x1adc9c(0x1ea)](_0x1adc9c(0x2a6))[_0x1adc9c(0x221)]()){const {modelFragment:_0x4cf43a,anchorData:_0x2f08e3}=this[_0x1adc9c(0x272)]();return this[_0x1adc9c(0x2b9)](_0x2c09f1,_0x4cf43a,_0x2f08e3,_0x5a7441,_0x2e430c);}}const {modelFragment:_0x2a9e05,anchorData:_0x3a4a7b}=this[_0x1adc9c(0x21c)]();return this[_0x1adc9c(0x2b9)](_0x2c09f1,_0x2a9e05,_0x3a4a7b,_0x5a7441,_0x2e430c);}async[_0x59a3a4(0x28e)](){const _0x4c84a8=_0x59a3a4;return this[_0x4c84a8(0x206)](),this[_0x4c84a8(0x224)][_0x4c84a8(0x1f8)](),super[_0x4c84a8(0x28e)]();}[_0x59a3a4(0x284)](){const _0x4217ef=_0x59a3a4,_0x31244d=this[_0x4217ef(0x254)][_0x4217ef(0x219)][_0x4217ef(0x268)](_0x4217ef(0x234));let _0x1d4362=this[_0x4217ef(0x254)][_0x4217ef(0x29b)][_0x4217ef(0x1ea)](_0x4217ef(0x243))||[..._0x5f150a];_0x31244d||(_0x1d4362=_0x1d4362[_0x4217ef(0x271)](_0x11eb85=>_0x4217ef(0x23b)!=_0x11eb85));const _0x27b70a=this[_0x4217ef(0x254)][_0x4217ef(0x2ad)][_0x4217ef(0x1ea)](_0x4217ef(0x237)),_0x5642f9=new _0x5569ea(this[_0x4217ef(0x254)][_0x4217ef(0x290)],{'showApplyButton':!0x0,'showSuggestButton':_0x31244d,'miniToolbarConfig':{'showChanges':_0x4217ef(0x1fb)},'availableActions':_0x1d4362});return _0x5642f9[_0x4217ef(0x294)](_0x4217ef(0x1f4))['to'](this),_0x27b70a&&_0x5642f9[_0x4217ef(0x294)](_0x4217ef(0x2bb))['to'](_0x27b70a,_0x4217ef(0x253)),_0x5642f9['on'](_0x4217ef(0x20a),()=>{const _0xe685a=_0x4217ef;this[_0xe685a(0x261)]();}),_0x5642f9['on'](_0x4217ef(0x222),()=>{const _0x1b41e2=_0x4217ef;this[_0x1b41e2(0x2b4)]();}),_0x5642f9['on'](_0x4217ef(0x2ab),()=>{const _0x1ebe73=_0x4217ef;this[_0x1ebe73(0x25c)]();}),_0x5642f9;}[_0x59a3a4(0x21c)](){const _0xb7f5b9=_0x59a3a4,_0x45b30b=this[_0xb7f5b9(0x254)][_0xb7f5b9(0x280)][_0xb7f5b9(0x291)][_0xb7f5b9(0x21a)];if(_0x45b30b[_0xb7f5b9(0x26d)]){const _0x43eaec=_0x57fb3c(_0x45b30b[_0xb7f5b9(0x245)]())||this[_0xb7f5b9(0x254)][_0xb7f5b9(0x280)][_0xb7f5b9(0x23c)][_0xb7f5b9(0x263)](_0x45b30b);this[_0xb7f5b9(0x254)][_0xb7f5b9(0x280)][_0xb7f5b9(0x242)](_0x5bd999=>{const _0x5ccdc1=_0xb7f5b9;_0x5bd999[_0x5ccdc1(0x1f6)](_0x43eaec,'in');});}const _0x2760aa=_0x45b30b[_0xb7f5b9(0x1f7)](),_0x4d5175=this[_0xb7f5b9(0x281)](this[_0xb7f5b9(0x254)][_0xb7f5b9(0x280)][_0xb7f5b9(0x2a9)](_0x45b30b),_0x2760aa[_0xb7f5b9(0x2c1)],_0x2760aa[_0xb7f5b9(0x231)]);this[_0xb7f5b9(0x2b1)](_0x4d5175,_0x45b30b,{'isTableSelection':!0x1});const _0x41e827=_0x45b30b[_0xb7f5b9(0x1f7)]()[_0xb7f5b9(0x2c1)],_0x1eb94a=new Map();let _0xff155f=_0x4d5175;for(let _0x39e697=0x0;_0x39e697<_0x41e827[_0xb7f5b9(0x2be)][_0xb7f5b9(0x248)];_0x39e697++)_0x1eb94a[_0xb7f5b9(0x1fd)](_0xff155f,_0x41e827[_0xb7f5b9(0x2be)][_0x39e697]),_0xff155f=_0xff155f[_0xb7f5b9(0x202)](0x0);return{'modelFragment':_0x4d5175,'anchorData':_0x1eb94a};}[_0x59a3a4(0x272)](){const _0x24accf=_0x59a3a4,_0x4b90ab=this[_0x24accf(0x254)][_0x24accf(0x280)][_0x24accf(0x291)][_0x24accf(0x21a)],_0x252620=this[_0x24accf(0x254)][_0x24accf(0x219)][_0x24accf(0x1ea)](_0x24accf(0x2a6))[_0x24accf(0x1f3)](),_0x2dd111=_0x4b90ab[_0x24accf(0x1f7)]()[_0x24accf(0x2c1)][_0x24accf(0x21f)][_0x24accf(0x21f)],_0x57572d=this[_0x24accf(0x254)][_0x24accf(0x280)][_0x24accf(0x251)](this[_0x24accf(0x254)][_0x24accf(0x280)][_0x24accf(0x256)](_0x2dd111),this[_0x24accf(0x254)][_0x24accf(0x280)][_0x24accf(0x2a8)](_0x2dd111)),_0x172201=this[_0x24accf(0x281)](_0x252620,_0x57572d[_0x24accf(0x2c1)],_0x57572d[_0x24accf(0x231)]);this[_0x24accf(0x2b1)](_0x172201,_0x4b90ab,{'isTableSelection':!0x0});const _0x516eb5=_0x4b90ab[_0x24accf(0x1f7)]()[_0x24accf(0x2c1)],_0x1d30c9=new Map();let _0x3c44e4=_0x172201;for(let _0x2eb75d=0x0;_0x2eb75d<_0x516eb5[_0x24accf(0x2be)][_0x24accf(0x248)];_0x2eb75d++)if(_0x1d30c9[_0x24accf(0x1fd)](_0x3c44e4,_0x516eb5[_0x24accf(0x2be)][_0x2eb75d]),_0x2eb75d<_0x516eb5[_0x24accf(0x2be)][_0x24accf(0x248)]-0x1)_0x3c44e4=_0x3c44e4[_0x24accf(0x202)](0x0);else{let _0x480125=_0x3c44e4[_0x24accf(0x25b)];for(;_0x480125;)_0x1d30c9[_0x24accf(0x1fd)](_0x480125,_0x516eb5[_0x24accf(0x2be)][_0x2eb75d]),_0x480125=_0x480125[_0x24accf(0x25b)];}return{'modelFragment':_0x172201,'anchorData':_0x1d30c9};}async[_0x59a3a4(0x2b9)](_0xb27424,_0x331414,_0x3d0764,_0x7ffdd3,_0x3f3332){const _0x161de9=_0x59a3a4,_0x3bda87=this[_0x161de9(0x254)][_0x161de9(0x219)][_0x161de9(0x1ea)](_0x2f613d),_0xf72e03=this[_0x161de9(0x254)][_0x161de9(0x219)][_0x161de9(0x1ea)](_0x59e78e),_0x28a407=this[_0x161de9(0x254)][_0x161de9(0x280)][_0x161de9(0x291)][_0x161de9(0x21a)],_0x519b52=await _0x3bda87[_0x161de9(0x228)](_0x331414),_0x151396=this[_0x161de9(0x254)][_0x161de9(0x280)][_0x161de9(0x291)][_0x161de9(0x1fc)],_0xa68a5a=[..._0x28a407[_0x161de9(0x293)]()];return this[_0x161de9(0x2bf)]||(this[_0x161de9(0x2bf)]=this[_0x161de9(0x284)]()),this[_0x161de9(0x297)](),this[_0x161de9(0x249)](),this[_0x161de9(0x2bf)][_0x161de9(0x276)](),_0xf72e03[_0x161de9(0x27c)]({'index':0x3e8*Math[_0x161de9(0x2b8)]()%0x3e8,'title':_0x7ffdd3,'icon':_0x3f3332||_0x51e2b5,'mainView':this[_0x161de9(0x2bf)],'class':_0x161de9(0x24d),'ranges':_0xa68a5a,'id':_0x161de9(0x229)}),this[_0x161de9(0x208)](),this[_0x161de9(0x22a)](this[_0x161de9(0x2bf)]),this[_0x161de9(0x22a)](_0xf72e03),this[_0x161de9(0x2b2)]={'action':_0xb27424,'content':_0x519b52,'version':_0x151396,'aiBalloon':_0xf72e03,'modelFragment':_0x331414,'anchorData':_0x3d0764},this[_0x161de9(0x26a)](),this[_0x161de9(0x285)](_0xf72e03,_0x161de9(0x25e),()=>{const _0x4f35bb=_0x161de9;this[_0x4f35bb(0x206)](),this[_0x4f35bb(0x2bf)][_0x4f35bb(0x209)]();}),this[_0x161de9(0x285)](_0xf72e03,_0x161de9(0x203),(_0x53dd38,{id:_0x461602})=>{const _0x57852a=_0x161de9;if(_0x57852a(0x229)===_0x461602){if(this[_0x57852a(0x22b)]&&this[_0x57852a(0x22b)][_0x57852a(0x266)][_0x57852a(0x248)]>0x0){const _0x3025bc=this[_0x57852a(0x22b)][_0x57852a(0x266)][this[_0x57852a(0x22b)][_0x57852a(0x266)][_0x57852a(0x248)]-0x1],_0x19e00f=_0x3025bc[_0x57852a(0x1ff)][0x0];_0x19e00f&&_0x57852a(0x205)===_0x19e00f[_0x57852a(0x258)]&&_0x3025bc[_0x57852a(0x2a7)](0x0,_0x57852a(0x28b));}this[_0x57852a(0x206)](),this[_0x57852a(0x297)](),this[_0x57852a(0x22a)](this[_0x57852a(0x2bf)]),this[_0x57852a(0x22a)](_0xf72e03);}}),this[_0x161de9(0x286)](_0x519b52,_0x151396,_0xf72e03,_0xb27424);}[_0x59a3a4(0x26a)](){const _0x17f25a=_0x59a3a4;if(!this[_0x17f25a(0x2b2)])return;const {modelFragment:_0x52fc6f,anchorData:_0xcb331b}=this[_0x17f25a(0x2b2)];this[_0x17f25a(0x285)](this[_0x17f25a(0x2bf)],_0x17f25a(0x287),()=>{const _0x149af3=_0x17f25a;this[_0x149af3(0x2a2)](_0x52fc6f,_0xcb331b,!0x1);}),this[_0x17f25a(0x285)](this[_0x17f25a(0x2bf)],_0x17f25a(0x23b),()=>{const _0x4fe3d8=_0x17f25a;this[_0x4fe3d8(0x2a2)](_0x52fc6f,_0xcb331b,!0x0);});}[_0x59a3a4(0x281)](_0x10da3d,_0x429325,_0xdde132){const _0x425be6=_0x59a3a4,_0x49cfed=this[_0x425be6(0x254)][_0x425be6(0x280)][_0x425be6(0x251)](_0x429325,_0xdde132)[_0x425be6(0x289)](),_0x2411a6=_0x49cfed['is'](_0x425be6(0x214))?[]:_0x49cfed[_0x425be6(0x1f9)]({'includeSelf':!0x0})[_0x425be6(0x20b)](0x1);if(_0x2411a6[_0x425be6(0x248)]){const _0x52c03a=_0x2411a6[_0x425be6(0x279)](_0x3d2514=>_0x3d2514[_0x425be6(0x27d)](!0x1));for(let _0x5503b7=0x1;_0x5503b7<_0x52c03a[_0x425be6(0x248)];_0x5503b7++)_0x52c03a[_0x5503b7-0x1][_0x425be6(0x220)](_0x52c03a[_0x5503b7]);return _0x52c03a[_0x52c03a[_0x425be6(0x248)]-0x1][_0x425be6(0x220)](_0x10da3d),new _0x40677c(_0x52c03a[0x0]);}return _0x10da3d;}[_0x59a3a4(0x2b1)](_0x321385,_0x2a9749,_0x5daf30={'isTableSelection':!0x1}){const _0xeb9ca4=_0x59a3a4,_0x197d82=this[_0xeb9ca4(0x254)][_0xeb9ca4(0x280)],_0x4df483=Array[_0xeb9ca4(0x20f)](_0x2a9749[_0xeb9ca4(0x293)]()),_0x29e726=_0x2a9749[_0xeb9ca4(0x1f7)]()[_0xeb9ca4(0x2c1)];for(const _0x1e8a73 of _0x197d82[_0xeb9ca4(0x24c)]){if(_0x1e8a73[_0xeb9ca4(0x211)][_0xeb9ca4(0x2c3)](_0xc1265e)||!_0x1e8a73[_0xeb9ca4(0x246)])continue;const _0x240711=_0x1e8a73[_0xeb9ca4(0x27b)]();if(!_0x4df483[_0xeb9ca4(0x225)](_0x410241=>_0x410241[_0xeb9ca4(0x24e)](_0x240711,!0x0)))continue;const _0x3983b3=this[_0xeb9ca4(0x257)](_0x240711[_0xeb9ca4(0x2c1)],_0x29e726,_0x5daf30[_0xeb9ca4(0x1ed)]),_0x59ba37=this[_0xeb9ca4(0x257)](_0x240711[_0xeb9ca4(0x231)],_0x29e726,_0x5daf30[_0xeb9ca4(0x1ed)]),_0x1f8b5f=_0x197d82[_0xeb9ca4(0x226)](_0x321385,_0x3983b3),_0xd7089e=_0x197d82[_0xeb9ca4(0x226)](_0x321385,_0x59ba37);if(!_0x1f8b5f[_0xeb9ca4(0x236)](_0xd7089e)){const _0x57fb84=_0x197d82[_0xeb9ca4(0x251)](_0x1f8b5f,_0xd7089e);_0x321385[_0xeb9ca4(0x24c)][_0xeb9ca4(0x1fd)](_0x1e8a73[_0xeb9ca4(0x211)],_0x57fb84);}}}[_0x59a3a4(0x257)](_0x4ad68a,_0x4af4cf,_0x5aba3c=!0x1){const _0x593321=_0x59a3a4,_0x86031a=[..._0x4ad68a[_0x593321(0x2be)][_0x593321(0x20b)]()];for(let _0x30e22e=0x0;_0x30e22e<Math[_0x593321(0x2bc)](_0x4af4cf[_0x593321(0x2be)][_0x593321(0x248)],_0x4ad68a[_0x593321(0x2be)][_0x593321(0x248)]);_0x30e22e++){const _0x186f80=_0x4af4cf[_0x593321(0x2be)][_0x30e22e]||0x0,_0x972bbe=(_0x4ad68a[_0x593321(0x2be)][_0x30e22e]||0x0)-_0x186f80;if(_0x86031a[_0x30e22e]=_0x972bbe,0x0!==_0x972bbe&&!_0x5aba3c)break;}return _0x86031a;}async[_0x59a3a4(0x286)](_0x5448e5,_0x19f472,_0x58d843,_0xffac24){const _0x4ac5c2=_0x59a3a4,_0x283b1b=this[_0x4ac5c2(0x254)];this[_0x4ac5c2(0x2b2)]||(this[_0x4ac5c2(0x2b2)]={'action':_0xffac24,'content':_0x5448e5,'version':_0x19f472,'aiBalloon':_0x58d843,'modelFragment':this[_0x4ac5c2(0x254)][_0x4ac5c2(0x280)][_0x4ac5c2(0x2a9)](this[_0x4ac5c2(0x254)][_0x4ac5c2(0x280)][_0x4ac5c2(0x291)][_0x4ac5c2(0x21a)]),'anchorData':new Map()});const _0x25cc02=new _0x3b85ba({'connector':this[_0x4ac5c2(0x212)],'editor':_0x283b1b,'content':_0x5448e5,'version':_0x19f472,..._0xffac24});this[_0x4ac5c2(0x274)][_0x4ac5c2(0x2c7)](_0x25cc02);const _0x3cc051=(_0xd7ae9f,_0x52d678=!0x1,_0x1d5d0a=_0x4ac5c2(0x25a))=>this[_0x4ac5c2(0x25f)][_0x4ac5c2(0x207)](async _0x2af2d8=>{const _0x66e2d=_0x4ac5c2;try{const _0x46a735=_0x1e82e1({'editor':_0x283b1b,'changeGroups':_0xd7ae9f[_0x66e2d(0x1ff)],'documentContextContent':_0xd7ae9f[_0x66e2d(0x210)],'showDiff':_0x52d678,'trimUnchanged':!0x1});_0x46a735[_0x66e2d(0x248)]&&await this[_0x66e2d(0x2bf)][_0x66e2d(0x21b)]({'part':_0x46a735[0x0],'renderingStrategy':_0x1d5d0a,'abortSignal':_0x2af2d8});}catch(_0x322509){if(this[_0x66e2d(0x2c0)](_0x322509))return;throw _0x322509;}});this[_0x4ac5c2(0x22b)]['on'](_0x4ac5c2(0x264),(_0xc0fdbc,_0x47b5e4)=>{const _0x2ba4ed=_0x4ac5c2;this[_0x2ba4ed(0x2bf)][_0x2ba4ed(0x238)](),this[_0x2ba4ed(0x2bf)][_0x2ba4ed(0x29f)](),_0x3cc051(_0x47b5e4)[_0x2ba4ed(0x247)](_0x260618=>{const _0x2219c1=_0x2ba4ed;this[_0x2219c1(0x2c0)](_0x260618)||(console[_0x2219c1(0x1ef)](_0x2219c1(0x204),_0x260618),this[_0x2219c1(0x215)](_0x25cc02));});}),this[_0x4ac5c2(0x22b)]['on'](_0x4ac5c2(0x29c),(_0x12534c,_0x38ce9a)=>{const _0x26ae48=_0x4ac5c2;_0x3cc051(_0x38ce9a)[_0x26ae48(0x247)](_0x243b38=>{const _0x260171=_0x26ae48;this[_0x260171(0x2c0)](_0x243b38)||(console[_0x260171(0x1ef)](_0x260171(0x216),_0x243b38),this[_0x260171(0x215)](_0x25cc02));});}),this[_0x4ac5c2(0x22b)]['on'](_0x4ac5c2(0x201),async()=>{const _0xcdc22b=_0x4ac5c2;try{await this[_0xcdc22b(0x227)](),this[_0xcdc22b(0x2bf)][_0xcdc22b(0x2af)](this[_0xcdc22b(0x274)][_0xcdc22b(0x248)],this[_0xcdc22b(0x2a0)]),await this[_0xcdc22b(0x25f)][_0xcdc22b(0x1ec)];}catch(_0x458352){this[_0xcdc22b(0x2c0)](_0x458352)||(console[_0xcdc22b(0x1ef)](_0xcdc22b(0x26f),_0x458352),this[_0xcdc22b(0x215)](_0x25cc02));}finally{this[_0xcdc22b(0x2bf)][_0xcdc22b(0x223)]();}}),this[_0x4ac5c2(0x285)](this[_0x4ac5c2(0x2bf)],_0x4ac5c2(0x1f1),async(_0x35107c,{showDiff:_0x51ced6})=>{const _0x5d2333=_0x4ac5c2;try{this[_0x5d2333(0x2aa)]=_0x51ced6;const _0x2da1f9=this[_0x5d2333(0x22b)][_0x5d2333(0x266)][this[_0x5d2333(0x22b)][_0x5d2333(0x266)][_0x5d2333(0x248)]-0x1];_0x2da1f9&&await _0x3cc051(_0x2da1f9,_0x51ced6,_0x5d2333(0x2a5));}catch(_0x3b8931){this[_0x5d2333(0x2c0)](_0x3b8931)||(console[_0x5d2333(0x1ef)](_0x5d2333(0x262),_0x3b8931),this[_0x5d2333(0x215)](_0x25cc02));}}),this[_0x4ac5c2(0x22b)]['on'](_0x4ac5c2(0x218),(_0x4a580e,{reply:_0x5c904f})=>{const _0x415e43=_0x4ac5c2,_0x2f8ed0={'positiveCount':_0x5c904f[_0x415e43(0x1ff)][_0x415e43(0x271)](_0x46c302=>_0x415e43(0x22f)===_0x46c302[_0x415e43(0x258)])[_0x415e43(0x248)],'totalCount':_0x5c904f[_0x415e43(0x1ff)][_0x415e43(0x248)]},_0x2319a4=this[_0x415e43(0x22b)][_0x415e43(0x298)],_0x573e1c=this[_0x415e43(0x22b)][_0x415e43(0x28a)];_0x573e1c?this[_0x415e43(0x212)][_0x415e43(0x27e)](_0x573e1c,_0x2319a4,_0x2f8ed0):this[_0x415e43(0x212)][_0x415e43(0x2bd)](_0x2319a4,_0x2f8ed0);}),this[_0x4ac5c2(0x208)]();try{const _0x404296=await this[_0x4ac5c2(0x22b)][_0x4ac5c2(0x2c1)]();return this[_0x4ac5c2(0x2bf)][_0x4ac5c2(0x2af)](this[_0x4ac5c2(0x274)][_0x4ac5c2(0x248)],this[_0x4ac5c2(0x2a0)]),_0x404296;}catch(_0xb8f92a){if(this[_0x4ac5c2(0x2c0)](_0xb8f92a))return;this[_0x4ac5c2(0x2bf)][_0x4ac5c2(0x238)](),this[_0x4ac5c2(0x215)](_0x25cc02);}}[_0x59a3a4(0x2a2)](_0x16908a,_0x58e443,_0x52d59f){const _0x20938b=_0x59a3a4,_0x421ab7=this[_0x20938b(0x254)];if(_0x52d59f&&!_0x421ab7[_0x20938b(0x219)][_0x20938b(0x268)](_0x20938b(0x234)))throw new _0x48a733(_0x20938b(0x24a),null);const _0x35796d=this[_0x20938b(0x254)][_0x20938b(0x219)][_0x20938b(0x1ea)](_0x31f6da),_0x3710ad=this[_0x20938b(0x274)][this[_0x20938b(0x274)][_0x20938b(0x248)]-0x1-this[_0x20938b(0x2a0)]];if(!_0x3710ad||!_0x3710ad[_0x20938b(0x266)][_0x20938b(0x248)])return;const _0x4c22c7=_0x3710ad[_0x20938b(0x266)][_0x3710ad[_0x20938b(0x266)][_0x20938b(0x248)]-0x1],_0x807590=_0x4c22c7[_0x20938b(0x1ff)];_0x4c22c7[_0x20938b(0x2a7)](0x0,_0x20938b(0x22f));let _0x34070b=_0x111e58({'editor':_0x421ab7,'reply':_0x4c22c7,'interaction':_0x3710ad,'groups':_0x807590,'transform':!0x1,'documentCompare':_0x35796d,'documentCompareOptions':{'anchor':_0x421ab7[_0x20938b(0x280)][_0x20938b(0x2a1)](_0x16908a,0x0),'markDeletions':_0x52d59f}});_0x34070b=this[_0x20938b(0x26b)](_0x34070b,_0x58e443);for(const _0x4224fb of _0x34070b)this[_0x20938b(0x278)](_0x58e443,_0x4224fb,_0x421ab7[_0x20938b(0x280)][_0x20938b(0x291)][_0x20938b(0x296)]());const _0x1bd1ec=_0x3710ad[_0x20938b(0x22c)]()[_0x20938b(0x1fc)],_0x5b01b7=_0x421ab7[_0x20938b(0x280)][_0x20938b(0x291)][_0x20938b(0x22d)][_0x20938b(0x2b0)](_0x1bd1ec),_0x501418={'document':_0x421ab7[_0x20938b(0x280)][_0x20938b(0x291)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x14a52d=_0xe67dfb(_0x34070b,_0x5b01b7,_0x501418)[_0x20938b(0x2c2)];_0x421ab7[_0x20938b(0x280)][_0x20938b(0x242)](_0x1adf9f=>{const _0x57f8a6=_0x20938b;if(_0x1adf9f[_0x57f8a6(0x1f6)](_0x421ab7[_0x57f8a6(0x280)][_0x57f8a6(0x291)][_0x57f8a6(0x21a)][_0x57f8a6(0x1fe)]),_0x52d59f)_0x421ab7[_0x57f8a6(0x219)][_0x57f8a6(0x1ea)](_0x57f8a6(0x275))[_0x57f8a6(0x2b5)](_0x14a52d);else{for(const _0x305a8c of _0x14a52d)_0x305a8c[_0x57f8a6(0x233)]=_0x421ab7[_0x57f8a6(0x280)][_0x57f8a6(0x291)][_0x57f8a6(0x1fc)],_0x4ccf13(_0x421ab7,_0x305a8c),_0x1adf9f[_0x57f8a6(0x20c)][_0x57f8a6(0x23e)](_0x305a8c),_0x421ab7[_0x57f8a6(0x280)][_0x57f8a6(0x269)](_0x305a8c);}}),this[_0x20938b(0x254)][_0x20938b(0x219)][_0x20938b(0x1ea)](_0x20938b(0x250))[_0x20938b(0x232)]();}[_0x59a3a4(0x26b)](_0x2615ac,_0x28ba07){const _0x28566b=_0x59a3a4;return _0x2615ac[_0x28566b(0x271)](_0x336045=>{const _0x1c36af=_0x28566b;if(_0x1c36af(0x239)==_0x336045[_0x1c36af(0x28f)]){const _0x2b22d9=_0x336045[_0x1c36af(0x2c5)][_0x1c36af(0x241)];return!_0x28ba07[_0x1c36af(0x268)](_0x2b22d9);}if(_0x336045[_0x1c36af(0x28f)][_0x1c36af(0x23d)](_0x1c36af(0x260))>-0x1){const _0x28cc48=_0x336045[_0x1c36af(0x273)][_0x1c36af(0x2c1)][_0x1c36af(0x241)];return!_0x28ba07[_0x1c36af(0x268)](_0x28cc48);}return!0x0;});}[_0x59a3a4(0x278)](_0x58ac38,_0xdb1752,_0x4bf09c){const _0x1c0da6=_0x59a3a4,_0x203489=_0xdb1752[_0x1c0da6(0x27a)]();for(const _0x26b1c3 in _0xdb1752){const _0x482af3=_0xdb1752[_0x26b1c3];_0x482af3 instanceof _0x10d1c5?_0xdb1752[_0x26b1c3]=new _0x10d1c5(_0x26f01d(_0x482af3[_0x1c0da6(0x2c1)]),_0x26f01d(_0x482af3[_0x1c0da6(0x231)])):_0x482af3 instanceof _0x1e5e9f&&(_0xdb1752[_0x26b1c3]=_0x26f01d(_0x482af3));}if([_0x1c0da6(0x28c),_0x1c0da6(0x24b),_0x1c0da6(0x277),_0x1c0da6(0x25d),_0x1c0da6(0x26c),_0x1c0da6(0x217)][_0x1c0da6(0x27f)](_0x203489[_0x1c0da6(0x28f)])){if(_0x203489[_0x1c0da6(0x252)]=!0x1,_0x203489[_0x1c0da6(0x233)]=null,_0x1c0da6(0x277)==_0x203489[_0x1c0da6(0x28f)]){const _0x29d086=_0x203489[_0x1c0da6(0x259)],_0x568019=_0x203489[_0x1c0da6(0x230)];new _0x30569f(_0x29d086,_0x568019)[_0x1c0da6(0x1f0)]();}else _0x203489[_0x1c0da6(0x1f0)]();}function _0x26f01d(_0x2cd402){const _0x1989d1=_0x1c0da6;if(_0x1989d1(0x255)==_0x2cd402[_0x1989d1(0x299)][_0x1989d1(0x26e)])return _0x2cd402;const _0x53b069=[];let _0x33d3ff=_0x2cd402[_0x1989d1(0x299)];for(let _0x4a6170=0x0;_0x4a6170<_0x2cd402[_0x1989d1(0x2be)][_0x1989d1(0x248)];_0x4a6170++){const _0x599504=_0x58ac38[_0x1989d1(0x1ea)](_0x33d3ff)||0x0;_0x53b069[_0x4a6170]=_0x2cd402[_0x1989d1(0x2be)][_0x4a6170]+_0x599504,_0x33d3ff=_0x33d3ff[_0x1989d1(0x244)](_0x2cd402[_0x1989d1(0x2be)][_0x4a6170]);}return new _0x1e5e9f(_0x4bf09c,_0x53b069,_0x2cd402[_0x1989d1(0x24f)]);}}[_0x59a3a4(0x261)](){const _0x1fa241=_0x59a3a4;if(!this[_0x1fa241(0x2b2)])return;this[_0x1fa241(0x274)][_0x1fa241(0x248)]>0x0&&this[_0x1fa241(0x206)](),this[_0x1fa241(0x2a0)]=0x0,this[_0x1fa241(0x2aa)]=!0x1;const {action:_0x4535d3,content:_0x50d355,version:_0x4d3f56,aiBalloon:_0x4f19bb}=this[_0x1fa241(0x2b2)];this[_0x1fa241(0x249)](),this[_0x1fa241(0x2bf)][_0x1fa241(0x276)](),this[_0x1fa241(0x2bf)][_0x1fa241(0x267)](),this[_0x1fa241(0x2bf)][_0x1fa241(0x23f)](),this[_0x1fa241(0x2bf)][_0x1fa241(0x2af)](this[_0x1fa241(0x274)][_0x1fa241(0x248)],this[_0x1fa241(0x2a0)]),this[_0x1fa241(0x22a)](this[_0x1fa241(0x2bf)]),this[_0x1fa241(0x26a)](),this[_0x1fa241(0x286)](_0x50d355,_0x4d3f56,_0x4f19bb,_0x4535d3)[_0x1fa241(0x247)](_0x2d3cd7=>{const _0x286a72=_0x1fa241;this[_0x286a72(0x2c0)](_0x2d3cd7)||console[_0x286a72(0x1ef)](_0x286a72(0x2b3),_0x2d3cd7);});}[_0x59a3a4(0x2c0)](_0x32773c){const _0x411c85=_0x59a3a4;return!!_0x32773c[_0x411c85(0x213)]&&_0x32773c[_0x411c85(0x213)][_0x411c85(0x2c3)](_0x411c85(0x265));}[_0x59a3a4(0x297)](){const _0x288626=_0x59a3a4;this[_0x288626(0x274)]=[],this[_0x288626(0x2b2)]=void 0x0,this[_0x288626(0x2a0)]=0x0,this[_0x288626(0x2bf)][_0x288626(0x2af)](this[_0x288626(0x274)][_0x288626(0x248)],this[_0x288626(0x2a0)]);}[_0x59a3a4(0x206)](){const _0x462396=_0x59a3a4;this[_0x462396(0x22b)]&&this[_0x462396(0x22b)][_0x462396(0x1fa)](),this[_0x462396(0x25f)][_0x462396(0x295)](),this[_0x462396(0x1f4)]=!0x1,this[_0x462396(0x2b2)]&&this[_0x462396(0x2bf)][_0x462396(0x223)]();}[_0x59a3a4(0x2b4)](){const _0x213eec=_0x59a3a4,_0x456cdd=this[_0x213eec(0x274)][_0x213eec(0x248)];this[_0x213eec(0x2a0)]<_0x456cdd-0x1&&this[_0x213eec(0x20d)](this[_0x213eec(0x2a0)]+0x1);}[_0x59a3a4(0x25c)](){const _0x3e3379=_0x59a3a4;this[_0x3e3379(0x2a0)]>0x0&&this[_0x3e3379(0x20d)](this[_0x3e3379(0x2a0)]-0x1);}async[_0x59a3a4(0x20d)](_0x3d045d){const _0x244c13=_0x59a3a4;if(!this[_0x244c13(0x2b2)])return;this[_0x244c13(0x2a0)]=_0x3d045d;const _0x25a8bb=this[_0x244c13(0x274)][this[_0x244c13(0x274)][_0x244c13(0x248)]-0x1-this[_0x244c13(0x2a0)]];if(!_0x25a8bb)return;if(_0x25a8bb[_0x244c13(0x283)])return this[_0x244c13(0x215)](_0x25a8bb),void this[_0x244c13(0x2bf)][_0x244c13(0x2af)](this[_0x244c13(0x274)][_0x244c13(0x248)],this[_0x244c13(0x2a0)]);if(!_0x25a8bb[_0x244c13(0x266)][_0x244c13(0x248)])return;this[_0x244c13(0x2bf)][_0x244c13(0x1f2)](),this[_0x244c13(0x2b2)]&&this[_0x244c13(0x249)]();const _0x395e77=_0x25a8bb[_0x244c13(0x266)][_0x25a8bb[_0x244c13(0x266)][_0x244c13(0x248)]-0x1];if(_0x395e77){const _0x220abf=this[_0x244c13(0x254)];try{const _0x21b46f=_0x1e82e1({'editor':_0x220abf,'changeGroups':_0x395e77[_0x244c13(0x1ff)],'documentContextContent':_0x395e77[_0x244c13(0x210)],'showDiff':this[_0x244c13(0x2aa)],'trimUnchanged':!0x1});await new Promise(_0x5b057a=>setTimeout(_0x5b057a,0x32)),await this[_0x244c13(0x2bf)][_0x244c13(0x21b)]({'part':_0x21b46f[0x0],'renderingStrategy':_0x244c13(0x2a5),'abortSignal':new AbortController()[_0x244c13(0x29e)]});}catch(_0x37fe61){this[_0x244c13(0x2c0)](_0x37fe61)||console[_0x244c13(0x1ef)](_0x244c13(0x20e),_0x37fe61);}}this[_0x244c13(0x2bf)][_0x244c13(0x2af)](this[_0x244c13(0x274)][_0x244c13(0x248)],this[_0x244c13(0x2a0)]);}[_0x59a3a4(0x208)](){const _0x16154b=_0x59a3a4;this[_0x16154b(0x2bf)][_0x16154b(0x282)](!0x0),this[_0x16154b(0x1f4)]=!0x0;}async[_0x59a3a4(0x215)](_0x5b54d2){const _0x59b0ae=_0x59a3a4,_0x437a9e=_0xdb97bd(this[_0x59b0ae(0x254)][_0x59b0ae(0x290)],_0x59b0ae(0x2a4));this[_0x59b0ae(0x2bf)][_0x59b0ae(0x2ac)](_0x437a9e),_0x5b54d2[_0x59b0ae(0x283)]=!0x0,await this[_0x59b0ae(0x25f)][_0x59b0ae(0x1ec)],this[_0x59b0ae(0x2bf)][_0x59b0ae(0x29a)](),this[_0x59b0ae(0x2bf)][_0x59b0ae(0x29d)](!0x0);}[_0x59a3a4(0x249)](){const _0x260254=_0x59a3a4;this[_0x260254(0x2bf)][_0x260254(0x1f2)](),this[_0x260254(0x2bf)][_0x260254(0x29d)](!0x1);}async[_0x59a3a4(0x227)](){const _0x3c1c38=_0x59a3a4;await this[_0x3c1c38(0x25f)][_0x3c1c38(0x1ec)],this[_0x3c1c38(0x1f4)]=!0x1,this[_0x3c1c38(0x2bf)][_0x3c1c38(0x282)](!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x399d13=_0x33b7;(function(_0x28f9e2,_0x57b204){const _0x4624a9=_0x33b7,_0xe6ff1b=_0x28f9e2();while(!![]){try{const _0x167618=parseInt(_0x4624a9(0xb4))/0x1*(parseInt(_0x4624a9(0xaf))/0x2)+parseInt(_0x4624a9(0xbf))/0x3*(-parseInt(_0x4624a9(0xac))/0x4)+-parseInt(_0x4624a9(0xc3))/0x5+-parseInt(_0x4624a9(0xbd))/0x6+parseInt(_0x4624a9(0xc5))/0x7*(parseInt(_0x4624a9(0xad))/0x8)+parseInt(_0x4624a9(0xaa))/0x9+-parseInt(_0x4624a9(0xb8))/0xa*(-parseInt(_0x4624a9(0xc6))/0xb);if(_0x167618===_0x57b204)break;else _0xe6ff1b['push'](_0xe6ff1b['shift']());}catch(_0x26abb1){_0xe6ff1b['push'](_0xe6ff1b['shift']());}}}(_0x5431,0xc21ec));import{AIReply as _0x254f7f}from'../../aicore/model/aireply.js';import{getAttribute as _0x22a7a0}from'../../aicore/utils/htmlparser.js';import{uid as _0x580231}from'ckeditor5/src/utils.js';function _0x33b7(_0x35d5a6,_0x48a13c){const _0x54318e=_0x5431();return _0x33b7=function(_0x33b726,_0x3a8f4f){_0x33b726=_0x33b726-0xa7;let _0x3bd81c=_0x54318e[_0x33b726];return _0x3bd81c;},_0x33b7(_0x35d5a6,_0x48a13c);}import{diffArrays as _0xaf6a51}from'diff';export class AIActionsReply extends _0x254f7f{[_0x399d13(0xba)](){const _0x180610=_0x399d13;if(this[_0x180610(0xb3)]=this[_0x180610(0xc0)][_0x180610(0xb6)](!0x0),0x0==this[_0x180610(0xb3)][_0x180610(0xbb)][_0x180610(0xa7)])return void(this[_0x180610(0xbc)]=[]);const _0x294d0b=this[_0x180610(0xb0)][_0x180610(0xb5)][_0x180610(0xae)](_0x145959=>({'node':_0x145959,'id':_0x22a7a0(_0x145959,_0x180610(0xb2))})),_0x465846=this[_0x180610(0xb3)][_0x180610(0xb5)][_0x180610(0xae)](_0x2dc7c2=>({'node':_0x2dc7c2,'id':_0x22a7a0(_0x2dc7c2,_0x180610(0xb2))||_0x580231()})),_0x139d80=_0xaf6a51(_0x294d0b,_0x465846,{'comparator':(_0x4f0dda,_0x216c73)=>_0x4f0dda['id']==_0x216c73['id'],'oneChangePerToken':!0x0});if(!this[_0x180610(0xc2)]){for(;_0x139d80[_0x180610(0xa7)]&&_0x139d80[_0x139d80[_0x180610(0xa7)]-0x1][_0x180610(0xc1)];)_0x139d80[_0x180610(0xa8)]();}const _0x2b13bd=_0x139d80[_0x180610(0xae)](_0x341222=>{const _0x345628=_0x180610,_0x37342e=_0x341222[_0x345628(0xab)]?_0x345628(0xc4):_0x341222[_0x345628(0xc1)]?_0x345628(0xc1):_0x345628(0xb9);return{'node':_0x341222[_0x345628(0xa9)][0x0][_0x345628(0xb7)],'type':_0x37342e,'id':_0x341222[_0x345628(0xa9)][0x0]['id']};});this[_0x180610(0xbc)]=[{'changes':_0x2b13bd,'state':_0x180610(0xbe),'index':0x0}];}[_0x399d13(0xb1)](_0x479efb,_0x55ca81){return _0x55ca81;}}function _0x5431(){const _0x285809=['208061AxpXcz','385bnujQr','length','pop','value','3905856JYFJWu','added','3120hEHDGT','392kdvlwu','map','587734syfiTz','documentContextContent','_getDifferentChangeGroups','data-id','parsedMergedContent','2aUBlPM','children','cloneNode','node','491430yPdDzU','modified','updateChangeGroups','childNodes','changeGroups','9482286slEzoP','pending','2781RHCuhw','parsedContent','removed','isDone','5497965tRYrpo','new'];_0x5431=function(){return _0x285809;};return _0x5431();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5cb4(){var _0x58052b=['15069610HcCnWr','isPremiumPlugin','isOfficialPlugin','aiadapter-text-adapter-not-set','7oNcMHK','afterInit','textAdapter','5404064oAPHEe','2419860MJStrd','167209wCUkZB','pluginName','6CNrJkc','3554604dMtqnK','4548eLdSzu','AIRequestError','name','AIAdapter','2116feTsmn','7816716qcXcsI'];_0x5cb4=function(){return _0x58052b;};return _0x5cb4();}function _0x48e4(_0x16bddd,_0x3aab9a){var _0x5cb4ad=_0x5cb4();return _0x48e4=function(_0x48e478,_0x3093e2){_0x48e478=_0x48e478-0x1b1;var _0x2b80a8=_0x5cb4ad[_0x48e478];return _0x2b80a8;},_0x48e4(_0x16bddd,_0x3aab9a);}var _0x1013e8=_0x48e4;(function(_0x338965,_0x1278f4){var _0x58d32f=_0x48e4,_0x1bbcc3=_0x338965();while(!![]){try{var _0x3d4f27=parseInt(_0x58d32f(0x1bd))/0x1*(-parseInt(_0x58d32f(0x1bf))/0x2)+-parseInt(_0x58d32f(0x1c1))/0x3*(-parseInt(_0x58d32f(0x1b2))/0x4)+-parseInt(_0x58d32f(0x1bc))/0x5+parseInt(_0x58d32f(0x1c0))/0x6+parseInt(_0x58d32f(0x1b8))/0x7*(parseInt(_0x58d32f(0x1bb))/0x8)+parseInt(_0x58d32f(0x1b3))/0x9+-parseInt(_0x58d32f(0x1b4))/0xa;if(_0x3d4f27===_0x1278f4)break;else _0x1bbcc3['push'](_0x1bbcc3['shift']());}catch(_0x2bd210){_0x1bbcc3['push'](_0x1bbcc3['shift']());}}}(_0x5cb4,0x6cdae));import{Plugin as _0x31fbeb}from'ckeditor5/src/core.js';import{CKEditorError as _0x5cf47c}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x31fbeb{static get[_0x1013e8(0x1be)](){var _0x32869f=_0x1013e8;return _0x32869f(0x1b1);}static get[_0x1013e8(0x1b6)](){return!0x0;}static get[_0x1013e8(0x1b5)](){return!0x0;}[_0x1013e8(0x1b9)](){var _0x51d571=_0x1013e8;if(!this[_0x51d571(0x1ba)])throw new _0x5cf47c(_0x51d571(0x1b7),null);}}export class AIRequestError extends Error{constructor(_0x4dcbe0){var _0x2bcd5c=_0x1013e8;super(_0x4dcbe0),this[_0x2bcd5c(0x1c3)]=_0x2bcd5c(0x1c2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x35db(){const _0x55cd75=['aitextadapter-send-request-failed','_prepareRequestParameters','aborted','requires','abortController','object','1234852QmvDMf','AbortError','5552028QomTUn','assign','30EcMPIx','AI_ERROR_GET_HEADERS','8JlzJAI','editor','abort','sendRequest','1992770JXJxdP','name','textAdapter','2172636ZXugZW','locale','234699djWVPU','application/json','reject','init','129912tipBNi','resolve','AI_ERROR_GET_PARAMETERS','get','539rilJqo','makeRequest','216334ODgeOg','error','signal','plugins','catch','_prepareRequestHeaders'];_0x35db=function(){return _0x55cd75;};return _0x35db();}const _0x1b79f6=_0x5ac4;(function(_0x4f3fb2,_0x5cdb42){const _0x4d273e=_0x5ac4,_0x3bf912=_0x4f3fb2();while(!![]){try{const _0x10dc4b=-parseInt(_0x4d273e(0xab))/0x1*(parseInt(_0x4d273e(0xbd))/0x2)+parseInt(_0x4d273e(0xc6))/0x3+-parseInt(_0x4d273e(0xb7))/0x4+parseInt(_0x4d273e(0xc1))/0x5+parseInt(_0x4d273e(0xb9))/0x6+-parseInt(_0x4d273e(0xa9))/0x7*(-parseInt(_0x4d273e(0xa5))/0x8)+-parseInt(_0x4d273e(0xc4))/0x9*(parseInt(_0x4d273e(0xbb))/0xa);if(_0x10dc4b===_0x5cdb42)break;else _0x3bf912['push'](_0x3bf912['shift']());}catch(_0x48de8b){_0x3bf912['push'](_0x3bf912['shift']());}}}(_0x35db,0xb825b));function _0x5ac4(_0x57211b,_0x486b66){const _0x35dbd5=_0x35db();return _0x5ac4=function(_0x5ac4b4,_0x189dca){_0x5ac4b4=_0x5ac4b4-0xa4;let _0x5d09ed=_0x35dbd5[_0x5ac4b4];return _0x5d09ed;},_0x5ac4(_0x57211b,_0x486b66);}import{Plugin as _0x146f04}from'ckeditor5/src/core.js';import{CKEditorError as _0x1df7f7}from'ckeditor5/src/utils.js';import{AIAdapter as _0x37c3c0,AIRequestError as _0x3342de}from'./aiadapter.js';import{getTranslation as _0x483c7b}from'../utils/common-translations.js';export class AITextAdapter extends _0x146f04{[_0x1b79f6(0xb5)];static get[_0x1b79f6(0xb4)](){return[_0x37c3c0];}constructor(_0x423b1f){const _0x4201b4=_0x1b79f6;super(_0x423b1f),this[_0x4201b4(0xb5)]=new AbortController();}[_0x1b79f6(0xa4)](){const _0x1c0b51=_0x1b79f6;this[_0x1c0b51(0xbe)][_0x1c0b51(0xae)][_0x1c0b51(0xa8)](_0x37c3c0)[_0x1c0b51(0xc3)]=this;}[_0x1b79f6(0xbf)](){const _0x25cfe5=_0x1b79f6;this[_0x25cfe5(0xb5)][_0x25cfe5(0xad)][_0x25cfe5(0xb3)]||(this[_0x25cfe5(0xb5)][_0x25cfe5(0xbf)](),this[_0x25cfe5(0xb5)]=new AbortController());}async[_0x1b79f6(0xaa)](_0x353af8){const _0xf037d0=_0x1b79f6;return this[_0xf037d0(0xc0)](_0x353af8)[_0xf037d0(0xaf)](_0x52c02c=>{const _0x2cd043=_0xf037d0;if(_0x52c02c instanceof _0x3342de)return Promise[_0x2cd043(0xc8)](_0x52c02c);if(_0x2cd043(0xb8)==_0x52c02c[_0x2cd043(0xc2)])return Promise[_0x2cd043(0xa6)]();throw console[_0x2cd043(0xac)](_0x52c02c),new _0x1df7f7(_0x2cd043(0xb1),null);});}async[_0x1b79f6(0xb0)](_0x25cd46,_0x1e4946){const _0x4ae6c8=_0x1b79f6,_0x430d8a=this[_0x4ae6c8(0xbe)][_0x4ae6c8(0xc5)],_0x5f2167={'Content-Type':_0x4ae6c8(0xc7)};if(_0x4ae6c8(0xb6)==typeof _0x25cd46)Object[_0x4ae6c8(0xba)](_0x5f2167,_0x25cd46);else{if(_0x25cd46)try{const _0x179c8e=await _0x25cd46(_0x1e4946);Object[_0x4ae6c8(0xba)](_0x5f2167,_0x179c8e);}catch{return Promise[_0x4ae6c8(0xc8)](new _0x3342de(_0x483c7b(_0x430d8a,_0x4ae6c8(0xbc))));}}return _0x5f2167;}async[_0x1b79f6(0xb2)](_0x3e26b8,_0x504a3e){const _0x50ebd8=_0x1b79f6,_0x393dbe=this[_0x50ebd8(0xbe)][_0x50ebd8(0xc5)];if(_0x50ebd8(0xb6)==typeof _0x3e26b8)return _0x3e26b8;try{return await _0x3e26b8(_0x504a3e);}catch{return Promise[_0x50ebd8(0xc8)](new _0x3342de(_0x483c7b(_0x393dbe,_0x50ebd8(0xa7))));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4709(_0x1b9b8d,_0x26e6e4){const _0x4c5931=_0x4c59();return _0x4709=function(_0x4709c9,_0x143ef3){_0x4709c9=_0x4709c9-0x106;let _0x5aa122=_0x4c5931[_0x4709c9];return _0x5aa122;},_0x4709(_0x1b9b8d,_0x26e6e4);}const _0x4430c0=_0x4709;(function(_0x2474f5,_0x33adf7){const _0x2146c3=_0x4709,_0x4cf140=_0x2474f5();while(!![]){try{const _0x52aae0=parseInt(_0x2146c3(0x134))/0x1*(-parseInt(_0x2146c3(0x148))/0x2)+-parseInt(_0x2146c3(0x129))/0x3*(-parseInt(_0x2146c3(0x106))/0x4)+parseInt(_0x2146c3(0x10a))/0x5+-parseInt(_0x2146c3(0x126))/0x6*(parseInt(_0x2146c3(0x13c))/0x7)+-parseInt(_0x2146c3(0x128))/0x8*(parseInt(_0x2146c3(0x11a))/0x9)+-parseInt(_0x2146c3(0x150))/0xa*(parseInt(_0x2146c3(0x149))/0xb)+-parseInt(_0x2146c3(0x12e))/0xc*(-parseInt(_0x2146c3(0x11d))/0xd);if(_0x52aae0===_0x33adf7)break;else _0x4cf140['push'](_0x4cf140['shift']());}catch(_0x807777){_0x4cf140['push'](_0x4cf140['shift']());}}}(_0x4c59,0x7e543));function _0x4c59(){const _0x129fcd=['ai21.j2','generation','resolve','POST','getReader','filter','16OfaEeN','pluginName','_readAsyncIterableResponse','test','1285500yYRnum','_prepareRequestParameters','_readStreamableResponse','preparePrompt','chunk','send','get','locale','editor','completion','application/json','ai.assistant.adapter.aws.requestParameters','ai.assistant.adapter.aws.bedrockClientConfig','abortController','Instruction:\x0a','completions','207RRSKOy','generations','\x0a[/INST]','12017252jEAAnv','utf-8','_processProxyRequest','\x0a\x0aAssistant:','sendRequest','split','define','data','parse','4212102boRiVD','_getGeneratedText','175928uLJDGV','707367qxNhmr','read','anthropic.claude-v2','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','AI_ERROR_UNSUPPORTED_MODEL','24zqDnyR','bytes','ai.assistant.adapter.aws.apiUrl','ai.assistant.adapter.aws.requestHeaders','decode','json','6ijpqxa','<<SYS>>\x0a','cohere.command','_apiUrl','Human:\x0a','text','_prepareRequestHeaders','\x0a<</SYS>>\x0a[INST]\x0a','7uGCilr','join','AWSTextAdapter','getModelFamily','config','_bedrockClientConfig','stringify','length','_processAWSRequest','anthropic.claude','_requestParameters','bedrock-2023-05-31','230662OuhaVr','278003ThpvEf','_requestHeaders','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','map','_readStaticResponse','body','meta.llama','250iiudaf','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','signal'];_0x4c59=function(){return _0x129fcd;};return _0x4c59();}import{AITextAdapter as _0x26a6c5}from'./aitextadapter.js';import{AIRequestError as _0x45be77}from'./aiadapter.js';import{BedrockRuntimeClient as _0x196fd6,InvokeModelCommand as _0x8db204,InvokeModelWithResponseStreamCommand as _0x184775}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x470101}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x26a6c5{[_0x4430c0(0x137)];[_0x4430c0(0x14a)];[_0x4430c0(0x141)];[_0x4430c0(0x146)];static get[_0x4430c0(0x107)](){const _0x4b54a3=_0x4430c0;return _0x4b54a3(0x13e);}constructor(_0x28c15e){const _0x39e3a8=_0x4430c0;super(_0x28c15e),_0x28c15e[_0x39e3a8(0x140)][_0x39e3a8(0x110)](_0x39e3a8(0x115))||_0x28c15e[_0x39e3a8(0x140)][_0x39e3a8(0x123)](_0x39e3a8(0x115),{'model':_0x39e3a8(0x12b),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x39e3a8(0x147),'stream':!0x0}),this[_0x39e3a8(0x137)]=_0x28c15e[_0x39e3a8(0x140)][_0x39e3a8(0x110)](_0x39e3a8(0x130)),this[_0x39e3a8(0x141)]=_0x28c15e[_0x39e3a8(0x140)][_0x39e3a8(0x110)](_0x39e3a8(0x116)),this[_0x39e3a8(0x14a)]=_0x28c15e[_0x39e3a8(0x140)][_0x39e3a8(0x110)](_0x39e3a8(0x131)),this[_0x39e3a8(0x146)]=_0x28c15e[_0x39e3a8(0x140)][_0x39e3a8(0x110)](_0x39e3a8(0x115));}async[_0x4430c0(0x121)]({query:_0x13995f,context:_0x55a0fc,onData:_0x4bb00d,actionId:_0x4851e8}){const _0x350a79=_0x4430c0,{model:_0x536ba5,stream:_0x50ce1b,..._0x3de595}=await this[_0x350a79(0x10b)](this[_0x350a79(0x146)],_0x4851e8),_0x5adfcb={'prompt':await this[_0x350a79(0x10d)](_0x13995f,_0x55a0fc,_0x536ba5,_0x4851e8),..._0x3de595};this[_0x350a79(0x137)]?await this[_0x350a79(0x11f)](_0x5adfcb,_0x536ba5,_0x50ce1b,_0x4bb00d,_0x4851e8):await this[_0x350a79(0x144)](_0x5adfcb,_0x536ba5,_0x50ce1b,_0x4bb00d);}async[_0x4430c0(0x10d)](_0x2d279b,_0x4cd486,_0x353796,_0x31c1b0){const _0x3631f6=_0x4430c0;let _0x284eb1,_0x52c314;return _0x4cd486?(_0x284eb1=_0x3631f6(0x14b),_0x52c314=_0x3631f6(0x118)+_0x2d279b+_0x3631f6(0x151)+_0x4cd486):(_0x284eb1=_0x3631f6(0x12c),_0x52c314=_0x2d279b),_0x3631f6(0x14f)==this[_0x3631f6(0x13f)](_0x353796)?_0x3631f6(0x135)+_0x284eb1+_0x3631f6(0x13b)+_0x52c314+_0x3631f6(0x11c):_0x3631f6(0x138)+_0x284eb1+'\x0a'+_0x52c314+_0x3631f6(0x120);}[_0x4430c0(0x13f)](_0x142c59){const _0x377a95=_0x4430c0;if(/^anthropic\.claude/[_0x377a95(0x109)](_0x142c59))return _0x377a95(0x145);if(/^ai21\.j2/[_0x377a95(0x109)](_0x142c59))return _0x377a95(0x153);if(/^cohere\.command/[_0x377a95(0x109)](_0x142c59))return _0x377a95(0x136);if(/^meta\.llama/[_0x377a95(0x109)](_0x142c59))return _0x377a95(0x14f);throw new _0x45be77(_0x470101(this[_0x377a95(0x112)][_0x377a95(0x111)],_0x377a95(0x12d),_0x142c59));}async[_0x4430c0(0x11f)](_0x53a337,_0xbba6b4,_0x3779b2,_0x35d4a7,_0x36826c){const _0x792c6c=_0x4430c0,_0x4732ea={'method':_0x792c6c(0x156),'headers':await this[_0x792c6c(0x13a)](this[_0x792c6c(0x14a)],_0x36826c),'body':JSON[_0x792c6c(0x142)]({..._0x53a337,'model':_0xbba6b4,'stream':_0x3779b2}),'signal':this[_0x792c6c(0x117)][_0x792c6c(0x152)]},_0x9b50ab=await fetch(this[_0x792c6c(0x137)],_0x4732ea);_0x3779b2?await this[_0x792c6c(0x10c)](_0x9b50ab,_0xbba6b4,_0x35d4a7):await this[_0x792c6c(0x14d)](_0x9b50ab,_0xbba6b4,_0x35d4a7);}async[_0x4430c0(0x144)](_0x14a487,_0x5a673f,_0x461c2c,_0x214f55){const _0x1b489f=_0x4430c0,_0x3714a8=new _0x196fd6(this[_0x1b489f(0x141)]),_0x3b3493={'body':JSON[_0x1b489f(0x142)](_0x14a487),'contentType':_0x1b489f(0x114),'accept':_0x1b489f(0x114),'modelId':_0x5a673f};let _0x5bda98;if(_0x461c2c){const _0x44bac0=new _0x184775(_0x3b3493);_0x5bda98=await _0x3714a8[_0x1b489f(0x10f)](_0x44bac0,{'abortSignal':this[_0x1b489f(0x117)][_0x1b489f(0x152)]}),await this[_0x1b489f(0x108)](_0x5bda98,_0x5a673f,_0x214f55);}else{const _0x41e8f2=new _0x8db204(_0x3b3493);_0x5bda98=await _0x3714a8[_0x1b489f(0x10f)](_0x41e8f2,{'abortSignal':this[_0x1b489f(0x117)][_0x1b489f(0x152)]}),await this[_0x1b489f(0x14d)](_0x5bda98,_0x5a673f,_0x214f55);}}async[_0x4430c0(0x108)](_0x5f5b1a,_0x241e36,_0x1151fc){const _0x6838f8=_0x4430c0,_0x2ce003=_0x5f5b1a[_0x6838f8(0x14e)],_0x49f360=new TextDecoder(_0x6838f8(0x11e));let _0x59b2df='';for await(const _0x23c2e9 of _0x2ce003)if(_0x23c2e9[_0x6838f8(0x10e)]){const _0x3a7b24=_0x49f360[_0x6838f8(0x132)](_0x23c2e9[_0x6838f8(0x10e)][_0x6838f8(0x12f)]),_0x590df6=JSON[_0x6838f8(0x125)](_0x3a7b24);_0x59b2df+=this[_0x6838f8(0x127)](_0x590df6,_0x241e36),_0x1151fc(_0x59b2df);}return Promise[_0x6838f8(0x155)]();}async[_0x4430c0(0x10c)](_0x21f2ea,_0x1594db,_0x456d91){const _0x19654b=_0x4430c0,_0x5159d7=_0x21f2ea[_0x19654b(0x14e)],_0x23d6b5=new TextDecoder(_0x19654b(0x11e)),_0x6e6f24=_0x5159d7[_0x19654b(0x157)]();let _0x3254d9='',_0x597b5f='',_0x142cb9=!0x1;for(;!_0x142cb9;){const {done:_0x1c550a,value:_0x5208ff}=await _0x6e6f24[_0x19654b(0x12a)]();if(_0x142cb9=_0x1c550a,_0x142cb9)break;const _0x4621da=(_0x3254d9+_0x23d6b5[_0x19654b(0x132)](_0x5208ff))[_0x19654b(0x122)]('\x0a')[_0x19654b(0x14c)](_0x2e1557=>{const _0x554dd6=_0x19654b;try{return _0x3254d9='',JSON[_0x554dd6(0x125)](_0x2e1557);}catch{return _0x3254d9=_0x2e1557,null;}})[_0x19654b(0x158)](_0x1b770d=>null!==_0x1b770d);_0x4621da[_0x19654b(0x143)]&&(_0x597b5f+=_0x4621da[_0x19654b(0x14c)](_0x1ac2a5=>this[_0x19654b(0x127)](_0x1ac2a5,_0x1594db))[_0x19654b(0x13d)](''),_0x456d91(_0x597b5f));}return Promise[_0x19654b(0x155)]();}async[_0x4430c0(0x14d)](_0x1a5d41,_0x4ec9d4,_0x5eaa40){const _0x14a3a8=_0x4430c0;let _0x4fe350;return _0x4fe350=_0x1a5d41 instanceof Response?await _0x1a5d41[_0x14a3a8(0x133)]():JSON[_0x14a3a8(0x125)](new TextDecoder(_0x14a3a8(0x11e))[_0x14a3a8(0x132)](_0x1a5d41[_0x14a3a8(0x14e)])),(_0x5eaa40(this[_0x14a3a8(0x127)](_0x4fe350,_0x4ec9d4)),Promise[_0x14a3a8(0x155)]());}[_0x4430c0(0x127)](_0x22c720,_0x741f53){const _0xb1e53a=_0x4430c0;switch(this[_0xb1e53a(0x13f)](_0x741f53)){case _0xb1e53a(0x145):return _0x22c720[_0xb1e53a(0x113)];case _0xb1e53a(0x153):return _0x22c720[_0xb1e53a(0x119)][0x0][_0xb1e53a(0x124)][_0xb1e53a(0x139)];case _0xb1e53a(0x136):return _0x22c720[_0xb1e53a(0x11b)][0x0][_0xb1e53a(0x139)];case _0xb1e53a(0x14f):return _0x22c720[_0xb1e53a(0x154)];}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa3e6f2=_0x5af7;function _0x5af7(_0x2dfaa3,_0x3fe823){const _0xa272a1=_0xa272();return _0x5af7=function(_0x5af712,_0x2829dc){_0x5af712=_0x5af712-0x124;let _0x21549d=_0xa272a1[_0x5af712];return _0x21549d;},_0x5af7(_0x2dfaa3,_0x3fe823);}(function(_0x1a93fe,_0x4dd47c){const _0x323f32=_0x5af7,_0x5e650f=_0x1a93fe();while(!![]){try{const _0x42d4f0=parseInt(_0x323f32(0x15e))/0x1+-parseInt(_0x323f32(0x16a))/0x2+parseInt(_0x323f32(0x147))/0x3*(-parseInt(_0x323f32(0x156))/0x4)+parseInt(_0x323f32(0x131))/0x5*(-parseInt(_0x323f32(0x145))/0x6)+-parseInt(_0x323f32(0x154))/0x7*(-parseInt(_0x323f32(0x152))/0x8)+parseInt(_0x323f32(0x163))/0x9*(parseInt(_0x323f32(0x12f))/0xa)+-parseInt(_0x323f32(0x140))/0xb*(-parseInt(_0x323f32(0x162))/0xc);if(_0x42d4f0===_0x4dd47c)break;else _0x5e650f['push'](_0x5e650f['shift']());}catch(_0x5f084c){_0x5e650f['push'](_0x5e650f['shift']());}}}(_0xa272,0x780c3));import{AITextAdapter as _0x2ad2c9}from'./aitextadapter.js';import{AIRequestError as _0xa0ab8d}from'./aiadapter.js';function _0xa272(){const _0x22e746=['_requestHeaders','filter','Instruction:\x0a','delta','reject','33CjjRcN','choices','split','parse','locale','19254nThEnY','resolve','3IfGnoy','_cleanUpData','ai.assistant.adapter.openAI.requestHeaders','_readStaticResponse','ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions','system','OpenAITextAdapter','data:\x20','POST','getReader','75080MDCJKU','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','553QEnPWo','content','3353264MqyAnu','abortController','message','_prepareRequestParameters','join','read','_requestParameters','_readStreamableResponse','116878ZmPaco','_prepareRequestHeaders','stringify','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','4832556QRxQZp','9873trRXBM','text','get','signal','context_length_exceeded','editor','decode','1450260nSHVez','_apiUrl','AI_ERROR_MODERATION','user','length','config','replace','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','map','sendRequest','stream','pluginName','AI_ERROR_CONTEXT_LENGTH','5660oPSvAB','prepareMessages','985NeYzQp','define','[DONE]','_isBufferIncomplete','Moderation','ai.assistant.adapter.openAI.requestParameters','body','json','includes','gpt-4o'];_0xa272=function(){return _0x22e746;};return _0xa272();}import{getTranslation as _0x58d3fe}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x2ad2c9{[_0xa3e6f2(0x16b)];[_0xa3e6f2(0x13b)];[_0xa3e6f2(0x15c)];static get[_0xa3e6f2(0x12d)](){const _0x579f15=_0xa3e6f2;return _0x579f15(0x14e);}constructor(_0x3bd11f){const _0x5cdd0f=_0xa3e6f2;super(_0x3bd11f),_0x3bd11f[_0x5cdd0f(0x127)][_0x5cdd0f(0x132)](_0x5cdd0f(0x14b),_0x5cdd0f(0x14c)),_0x3bd11f[_0x5cdd0f(0x127)][_0x5cdd0f(0x165)](_0x5cdd0f(0x136))||_0x3bd11f[_0x5cdd0f(0x127)][_0x5cdd0f(0x132)](_0x5cdd0f(0x136),{'model':_0x5cdd0f(0x13a),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x5cdd0f(0x16b)]=_0x3bd11f[_0x5cdd0f(0x127)][_0x5cdd0f(0x165)](_0x5cdd0f(0x14b)),this[_0x5cdd0f(0x13b)]=_0x3bd11f[_0x5cdd0f(0x127)][_0x5cdd0f(0x165)](_0x5cdd0f(0x149))||{},this[_0x5cdd0f(0x15c)]=_0x3bd11f[_0x5cdd0f(0x127)][_0x5cdd0f(0x165)](_0x5cdd0f(0x136));}async[_0xa3e6f2(0x12b)]({query:_0x3741b9,context:_0x15d9ad,onData:_0x173f50,actionId:_0x2d76c2}){const _0x25eb8f=_0xa3e6f2,_0x479cbd=this[_0x25eb8f(0x168)][_0x25eb8f(0x144)],_0x3d0dd0=await this[_0x25eb8f(0x130)](_0x3741b9,_0x15d9ad,_0x2d76c2),_0x53b885=await this[_0x25eb8f(0x15f)](this[_0x25eb8f(0x13b)],_0x2d76c2),_0x5a2bbc=await this[_0x25eb8f(0x159)](this[_0x25eb8f(0x15c)],_0x2d76c2),_0x11b859={'messages':_0x3d0dd0,..._0x5a2bbc},_0x42740d={'method':_0x25eb8f(0x150),'headers':_0x53b885,'body':JSON[_0x25eb8f(0x160)](_0x11b859),'signal':this[_0x25eb8f(0x157)][_0x25eb8f(0x166)]},_0x5a7e53=await fetch(this[_0x25eb8f(0x16b)],_0x42740d);if(_0x5a7e53['ok'])return _0x5a2bbc[_0x25eb8f(0x12c)]?await this[_0x25eb8f(0x15d)](_0x5a7e53,_0x173f50):await this[_0x25eb8f(0x14a)](_0x5a7e53,_0x173f50),Promise[_0x25eb8f(0x146)]();{const _0x5b2e38=await _0x5a7e53[_0x25eb8f(0x164)]();return _0x5b2e38[_0x25eb8f(0x139)](_0x25eb8f(0x167))?Promise[_0x25eb8f(0x13f)](new _0xa0ab8d(_0x58d3fe(_0x479cbd,_0x25eb8f(0x12e)))):_0x5b2e38[_0x25eb8f(0x139)](_0x25eb8f(0x135))?Promise[_0x25eb8f(0x13f)](new _0xa0ab8d(_0x58d3fe(_0x479cbd,_0x25eb8f(0x124)))):Promise[_0x25eb8f(0x13f)](new Error(_0x5b2e38));}}async[_0xa3e6f2(0x130)](_0x4c8c63,_0x3103a3,_0x27f9b6){const _0x1e09e4=_0xa3e6f2;let _0xd33df0,_0x40daeb;return _0x3103a3?(_0xd33df0=_0x1e09e4(0x161),_0x40daeb=_0x1e09e4(0x13d)+_0x4c8c63+_0x1e09e4(0x153)+_0x3103a3):(_0xd33df0=_0x1e09e4(0x129),_0x40daeb=_0x4c8c63),[{'role':_0x1e09e4(0x14d),'content':_0xd33df0},{'role':_0x1e09e4(0x125),'content':_0x40daeb}];}async[_0xa3e6f2(0x15d)](_0x176e36,_0x402da6){const _0x324c48=_0xa3e6f2,_0x1b769a=_0x176e36[_0x324c48(0x137)][_0x324c48(0x151)](),_0x5464e6=new TextDecoder();let _0x4f41db='',_0x19da45='',_0x454714='',_0x43a0d4=!0x1;for(;!_0x43a0d4;){const {done:_0x3aa70c,value:_0x5525ee}=await _0x1b769a[_0x324c48(0x15b)](),_0x353cff=_0x4f41db+_0x5464e6[_0x324c48(0x169)](_0x5525ee);let _0x45a290='';_0x43a0d4=_0x3aa70c;try{_0x45a290=this[_0x324c48(0x148)](_0x353cff),_0x4f41db='';}catch{_0x4f41db=_0x353cff;continue;}_0x19da45+=_0x45a290,!_0x43a0d4&&this[_0x324c48(0x134)](_0x19da45)||_0x19da45&&(_0x454714+=_0x19da45,_0x19da45='',_0x402da6(_0x454714));}return Promise[_0x324c48(0x146)]();}async[_0xa3e6f2(0x14a)](_0x17c505,_0x1502c3){const _0x448783=_0xa3e6f2;return _0x1502c3((await _0x17c505[_0x448783(0x138)]())[_0x448783(0x141)][0x0][_0x448783(0x158)][_0x448783(0x155)]),Promise[_0x448783(0x146)]();}[_0xa3e6f2(0x134)](_0x5ce4e3){const _0x3472cd=_0xa3e6f2,_0x435fd3=_0x5ce4e3[_0x3472cd(0x142)]('<')[_0x3472cd(0x126)]!==_0x5ce4e3[_0x3472cd(0x142)]('>')[_0x3472cd(0x126)],_0x4e5a53=_0x5ce4e3[_0x3472cd(0x126)]<0x1e;return _0x435fd3&&_0x4e5a53;}[_0xa3e6f2(0x148)](_0xf13ff6){const _0xc17b9b=_0xa3e6f2;return _0xf13ff6[_0xc17b9b(0x142)](/\n(?![^{]*\})/g)[_0xc17b9b(0x12a)](_0x3a7c44=>_0x3a7c44[_0xc17b9b(0x128)](_0xc17b9b(0x14f),''))[_0xc17b9b(0x13c)](_0x1e996d=>_0x1e996d&&_0x1e996d[_0xc17b9b(0x126)]>0x0&&_0xc17b9b(0x133)!==_0x1e996d)[_0xc17b9b(0x12a)](_0x3eff3b=>{const _0x3c9ca1=_0xc17b9b,{choices:_0x6dc88f}=JSON[_0x3c9ca1(0x143)](_0x3eff3b);if(_0x6dc88f[0x0]?.[_0x3c9ca1(0x13e)]?.[_0x3c9ca1(0x155)])return _0x6dc88f[0x0][_0x3c9ca1(0x13e)][_0x3c9ca1(0x155)];})[_0xc17b9b(0x13c)](_0x514844=>_0x514844)[_0xc17b9b(0x15a)]('');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e9a80=_0x2007;(function(_0x1f839e,_0x22c2e0){const _0x4d5b29=_0x2007,_0x3a709e=_0x1f839e();while(!![]){try{const _0x3c903d=-parseInt(_0x4d5b29(0x24c))/0x1+-parseInt(_0x4d5b29(0x1f8))/0x2*(-parseInt(_0x4d5b29(0x23b))/0x3)+parseInt(_0x4d5b29(0x217))/0x4+-parseInt(_0x4d5b29(0x234))/0x5+-parseInt(_0x4d5b29(0x255))/0x6*(-parseInt(_0x4d5b29(0x254))/0x7)+parseInt(_0x4d5b29(0x1ee))/0x8*(parseInt(_0x4d5b29(0x213))/0x9)+-parseInt(_0x4d5b29(0x21b))/0xa;if(_0x3c903d===_0x22c2e0)break;else _0x3a709e['push'](_0x3a709e['shift']());}catch(_0x459d47){_0x3a709e['push'](_0x3a709e['shift']());}}}(_0x5a1f,0xbaddd));function _0x5a1f(){const _0xa7d30f=['simplifyLanguage','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','translate','ai.assistant.commands','continue','requires','Arabic','set','forEach','54365ourAyk','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','includes','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateHindi','confident','Casual','ai.assistant.extraCommandGroups','63BvrIVT','820464JaEcJk','Continue','translateSpanish','Friendly','Portuguese','makeLonger','ai.assistant.preserveComments','changeTone','13840Tqrxur','groupId','locale','push','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','pluginName','generate','Poetic','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','6fjNvrs','editOrReview','friendly','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Spanish','Translate\x20the\x20content\x20to\x20German\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Journalism','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Legal','isPremiumPlugin','French','casual','define','changeStyle','get','AIAssistant','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Hindi','isOfficialPlugin','ai.assistant.removeCommands','Translate\x20the\x20content\x20to\x20Hindi\x20language.','professional','Make\x20longer','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20English\x20language.','Improve\x20writing','1035gDynNv','Translate','Simplified\x20Chinese','English','3212208FwTuPg','makeShorter','Translate\x20the\x20content\x20to\x20French\x20language.','Edit\x20or\x20review','19655370wyaxFF','filter','translateArabic','Change\x20style','journalism','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Generate\x20from\x20selection','summarize','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','improveWriting','Confident','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateFrench','translateGerman','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Make\x20shorter','Direct','translatePortuguese','translateChinese','concat','Summarize','config','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','find','4141800nWZeqr','legal','Professional','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','German','commands','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','1380969vpoKon','business','Business','Change\x20tone','poetic','direct','translateEnglish','Simplify\x20language'];_0x5a1f=function(){return _0xa7d30f;};return _0x5a1f();}import{Plugin as _0x121a26}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3d8a64}from'./aiassistantui.js';function _0x2007(_0x25e3e0,_0x53321d){const _0x5a1fd4=_0x5a1f();return _0x2007=function(_0x2007d4,_0x4555a8){_0x2007d4=_0x2007d4-0x1ed;let _0x5b2e62=_0x5a1fd4[_0x2007d4];return _0x5b2e62;},_0x2007(_0x25e3e0,_0x53321d);}import{AIAssistantEditing as _0x29ed2e}from'./aiassistantediting.js';import{getTranslation as _0x4b6f1e}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x5b6aaa}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x121a26{static get[_0x5e9a80(0x248)](){return[_0x3d8a64,_0x29ed2e];}static get[_0x5e9a80(0x1f3)](){const _0x29613c=_0x5e9a80;return _0x29613c(0x208);}static get[_0x5e9a80(0x20b)](){return!0x0;}static get[_0x5e9a80(0x202)](){return!0x0;}constructor(_0x540c28){const _0x3a8d0c=_0x5e9a80;super(_0x540c28);const _0x4d4f4a=_0x540c28[_0x3a8d0c(0x231)],_0x48b6a9=_0x540c28[_0x3a8d0c(0x1f0)];_0x4d4f4a[_0x3a8d0c(0x205)](_0x3a8d0c(0x25b),!0x0),_0x4d4f4a[_0x3a8d0c(0x205)](_0x3a8d0c(0x246),getDefaultAICommands(_0x48b6a9)),_0x4d4f4a[_0x3a8d0c(0x205)](_0x3a8d0c(0x253),[]),_0x4d4f4a[_0x3a8d0c(0x205)](_0x3a8d0c(0x20c),[]);let _0x507795=_0x5b6aaa(_0x4d4f4a[_0x3a8d0c(0x207)](_0x3a8d0c(0x246)),_0x48b6a9);const _0x385dab=_0x4d4f4a[_0x3a8d0c(0x207)](_0x3a8d0c(0x253)),_0xaaf62e=_0x4d4f4a[_0x3a8d0c(0x207)](_0x3a8d0c(0x20c));_0x385dab[_0x3a8d0c(0x24b)](_0x45d017=>{const _0x3d402a=_0x3a8d0c,_0x2d21ea=_0x507795[_0x3d402a(0x233)](_0xc42acf=>_0xc42acf[_0x3d402a(0x1ef)]===_0x45d017[_0x3d402a(0x1ef)]);_0x2d21ea?_0x2d21ea[_0x3d402a(0x239)]=_0x2d21ea[_0x3d402a(0x239)][_0x3d402a(0x22f)](_0x45d017[_0x3d402a(0x239)]):_0x507795[_0x3d402a(0x1f1)](_0x45d017);}),_0x507795=_0x507795[_0x3a8d0c(0x21c)](_0x491c42=>!_0xaaf62e[_0x3a8d0c(0x24e)](_0x491c42[_0x3a8d0c(0x1ef)])),_0x507795[_0x3a8d0c(0x24b)](_0x2fa0b1=>{const _0x38167b=_0x3a8d0c;_0x2fa0b1[_0x38167b(0x239)]=_0x2fa0b1[_0x38167b(0x239)][_0x38167b(0x21c)](_0x163ac9=>!_0xaaf62e[_0x38167b(0x24e)](_0x163ac9['id']));}),_0x4d4f4a[_0x3a8d0c(0x24a)](_0x3a8d0c(0x246),_0x507795);}}export function getDefaultAICommands(_0x39993e){const _0x42a500=_0x5e9a80;return[{'groupId':_0x42a500(0x1f9),'groupLabel':_0x4b6f1e(_0x39993e,_0x42a500(0x21a)),'commands':[{'id':_0x42a500(0x224),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x212)),'prompt':_0x42a500(0x200)},{'id':_0x42a500(0x218),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x22b)),'prompt':_0x42a500(0x1fe)},{'id':_0x42a500(0x25a),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x20f)),'prompt':_0x42a500(0x232)},{'id':_0x42a500(0x243),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x242)),'prompt':_0x42a500(0x244)}]},{'groupId':_0x42a500(0x1f4),'groupLabel':_0x4b6f1e(_0x39993e,_0x42a500(0x221)),'commands':[{'id':_0x42a500(0x222),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x230)),'prompt':_0x42a500(0x1f6)},{'id':_0x42a500(0x247),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x256)),'prompt':_0x42a500(0x210)}]},{'groupId':_0x42a500(0x1ed),'groupLabel':_0x4b6f1e(_0x39993e,_0x42a500(0x23e)),'commands':[{'id':_0x42a500(0x20e),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x236)),'prompt':_0x42a500(0x209)},{'id':_0x42a500(0x204),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x252)),'prompt':_0x42a500(0x237)},{'id':_0x42a500(0x240),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x22c)),'prompt':_0x42a500(0x23a)},{'id':_0x42a500(0x251),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x225)),'prompt':_0x42a500(0x226)},{'id':_0x42a500(0x1fa),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x258)),'prompt':_0x42a500(0x22a)}]},{'groupId':_0x42a500(0x206),'groupLabel':_0x4b6f1e(_0x39993e,_0x42a500(0x21e)),'commands':[{'id':_0x42a500(0x23c),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x23d)),'prompt':_0x42a500(0x24d)},{'id':_0x42a500(0x235),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x201)),'prompt':_0x42a500(0x220)},{'id':_0x42a500(0x21f),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x1ff)),'prompt':_0x42a500(0x24f)},{'id':_0x42a500(0x23f),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x1f5)),'prompt':_0x42a500(0x1fb)}]},{'groupId':_0x42a500(0x245),'groupLabel':_0x4b6f1e(_0x39993e,_0x42a500(0x214)),'commands':[{'id':_0x42a500(0x241),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x216)),'prompt':_0x42a500(0x211)},{'id':_0x42a500(0x257),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x1fc)),'prompt':_0x42a500(0x229)},{'id':_0x42a500(0x22d),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x259)),'prompt':_0x42a500(0x223)},{'id':_0x42a500(0x228),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x238)),'prompt':_0x42a500(0x1fd)},{'id':_0x42a500(0x227),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x203)),'prompt':_0x42a500(0x219)},{'id':_0x42a500(0x22e),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x215)),'prompt':_0x42a500(0x1f2)},{'id':_0x42a500(0x250),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x20a)),'prompt':_0x42a500(0x20d)},{'id':_0x42a500(0x21d),'label':_0x4b6f1e(_0x39993e,_0x42a500(0x249)),'prompt':_0x42a500(0x1f7)}]}];}
|