@ckeditor/ckeditor5-ai 47.7.0-alpha.0 → 47.7.0-alpha.1
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/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.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/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x577cfb=_0x5ee3;(function(_0x55db15,_0x1b2ef6){const _0x165a46=_0x5ee3,_0x2cc610=_0x55db15();while(!![]){try{const _0x76d8f4=parseInt(_0x165a46(0x11c))/0x1+-parseInt(_0x165a46(0x10f))/0x2+parseInt(_0x165a46(0x11e))/0x3+-parseInt(_0x165a46(0x120))/0x4*(parseInt(_0x165a46(0x115))/0x5)+parseInt(_0x165a46(0x125))/0x6*(-parseInt(_0x165a46(0x112))/0x7)+parseInt(_0x165a46(0x127))/0x8+-parseInt(_0x165a46(0x128))/0x9*(-parseInt(_0x165a46(0x10d))/0xa);if(_0x76d8f4===_0x1b2ef6)break;else _0x2cc610['push'](_0x2cc610['shift']());}catch(_0x1d6018){_0x2cc610['push'](_0x2cc610['shift']());}}}(_0x150b,0xd2892));import{ListView as _0x290d94}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x32332b}from'es-toolkit/compat';function _0x5ee3(_0x1c77e5,_0x406236){const _0x150b20=_0x150b();return _0x5ee3=function(_0x5ee311,_0x2209a9){_0x5ee311=_0x5ee311-0x10b;let _0x4c763a=_0x150b20[_0x5ee311];return _0x4c763a;},_0x5ee3(_0x1c77e5,_0x406236);}export class AIQuickActionsFilteredListView extends _0x290d94{[_0x577cfb(0x11a)];[_0x577cfb(0x121)];constructor(_0x253ca4,_0x237e94,_0x4ba14f){const _0x471747=_0x577cfb;super(_0x253ca4),this[_0x471747(0x11a)]=_0x237e94,this[_0x471747(0x121)]=_0x4ba14f;}[_0x577cfb(0x122)](_0x2bd435){const _0x39612c=_0x577cfb;if(!_0x2bd435)return this[_0x39612c(0x10e)][_0x39612c(0x110)](),this[_0x39612c(0x10e)][_0x39612c(0x10b)](this[_0x39612c(0x11a)]),this[_0x39612c(0x117)](),{'resultsCount':this[_0x39612c(0x11a)][_0x39612c(0x11b)],'totalItemsCount':this[_0x39612c(0x11a)][_0x39612c(0x11b)]};const _0x25e95c=_0x2bd435[_0x39612c(0x111)][_0x39612c(0x129)]()[_0x39612c(0x114)](),_0x56b078=this[_0x39612c(0x121)][_0x39612c(0x122)](_0x128f81=>(_0x128f81[_0x39612c(0x116)]?_0x128f81[_0x39612c(0x118)]+'\x20('+_0x128f81[_0x39612c(0x116)]+')':_0x128f81[_0x39612c(0x118)])[_0x39612c(0x129)]()[_0x39612c(0x124)](_0x25e95c));return this[_0x39612c(0x10e)][_0x39612c(0x110)](),this[_0x39612c(0x10e)][_0x39612c(0x10b)](_0x56b078[_0x39612c(0x12a)]((_0x16188a,_0x33aa37)=>{const _0x4f7ef3=_0x39612c,_0x1a1921=_0x16188a[_0x4f7ef3(0x116)],_0x31ebbb=_0x33aa37[_0x4f7ef3(0x116)];return _0x1a1921||_0x31ebbb?_0x1a1921?0x1:-0x1:0x0;})[_0x39612c(0x113)](_0x177a48=>_0x177a48[_0x39612c(0x126)])),this[_0x39612c(0x10c)](_0x25e95c,_0x56b078),{'resultsCount':_0x56b078[_0x39612c(0x11b)],'totalItemsCount':this[_0x39612c(0x121)][_0x39612c(0x11b)]};}[_0x577cfb(0x10c)](_0x5cc092,_0x128f79){const _0x593776=_0x577cfb;if(!_0x5cc092)return;const _0x513c33=new RegExp(_0x32332b(_0x5cc092),'gi');_0x128f79[_0x593776(0x123)](_0x4285f7=>{const _0x1e8e9d=_0x593776;_0x4285f7[_0x1e8e9d(0x119)]&&_0x4285f7[_0x1e8e9d(0x119)][_0x1e8e9d(0x123)](_0x27bb9e=>{const _0x43b40e=_0x1e8e9d;_0x43b40e(0x11f)==typeof _0x27bb9e[_0x43b40e(0x11d)]&&_0x27bb9e[_0x43b40e(0x11d)](_0x513c33);});});}[_0x577cfb(0x117)](){const _0x22c30b=_0x577cfb;this[_0x22c30b(0x121)][_0x22c30b(0x123)](_0x51bcb0=>{const _0x311865=_0x22c30b;_0x51bcb0[_0x311865(0x119)]&&_0x51bcb0[_0x311865(0x119)][_0x311865(0x123)](_0x44f424=>{const _0x3b565d=_0x311865;_0x3b565d(0x11f)==typeof _0x44f424[_0x3b565d(0x11d)]&&_0x44f424[_0x3b565d(0x11d)](null);});});}}function _0x150b(){const _0x5c6f5c=['source','35Qdtkxt','map','trim','15ukfkOO','groupLabel','_clearHighlight','label','highlightViews','_allListItems','length','1705765XtQZUH','highlightText','2075757LKVBkA','function','1237236PbsWUV','_allSearchableItems','filter','forEach','includes','1090434ddRXxs','item','6234848AyaLTk','9MbgwUL','toLowerCase','sort','addMany','_highlightQuery','10435450wtaCpu','items','3043218UslqEc','clear'];_0x150b=function(){return _0x5c6f5c;};return _0x150b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4e2e3e,_0x3aaaca){var _0x24a53a=_0x55fd,_0x8f02c4=_0x4e2e3e();while(!![]){try{var _0x2116ee=parseInt(_0x24a53a(0x17e))/0x1*(parseInt(_0x24a53a(0x17a))/0x2)+-parseInt(_0x24a53a(0x17c))/0x3+parseInt(_0x24a53a(0x178))/0x4+parseInt(_0x24a53a(0x179))/0x5+-parseInt(_0x24a53a(0x182))/0x6*(-parseInt(_0x24a53a(0x176))/0x7)+-parseInt(_0x24a53a(0x181))/0x8+parseInt(_0x24a53a(0x177))/0x9*(-parseInt(_0x24a53a(0x17f))/0xa);if(_0x2116ee===_0x3aaaca)break;else _0x8f02c4['push'](_0x8f02c4['shift']());}catch(_0x1897e3){_0x8f02c4['push'](_0x8f02c4['shift']());}}}(_0x51af,0x2a22a));import{View as _0x41aa43}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e7b6b}from'../../../aicore/utils/common-translations.js';function _0x55fd(_0x64826b,_0xdd6daa){var _0x51af9c=_0x51af();return _0x55fd=function(_0x55fdfc,_0x439265){_0x55fdfc=_0x55fdfc-0x175;var _0x2e98d5=_0x51af9c[_0x55fdfc];return _0x2e98d5;},_0x55fd(_0x64826b,_0xdd6daa);}export class AIActionsBalloonDisclaimerView extends _0x41aa43{constructor(_0x4e97cd){var _0xdcf9d3=_0x55fd;super(_0x4e97cd),this[_0xdcf9d3(0x183)]({'tag':_0xdcf9d3(0x17d),'attributes':{'class':['ck',_0xdcf9d3(0x180)]},'children':[{'tag':'p','attributes':{'class':['ck',_0xdcf9d3(0x175)]},'children':[{'text':_0x2e7b6b(_0x4e97cd,_0xdcf9d3(0x17b))}]}]});}}function _0x51af(){var _0x13d379=['ck-ai-balloon__disclaimer','2406656EvLlMv','129156dmaXGb','setTemplate','ck-ai-balloon__disclaimer-content','28PZWJYj','9PUXsEb','156796HtGGwW','291105EOnmqb','2IrDFwz','AI_DISCLAIMER_TEXT','5100SmscKA','div','323545AbjHqt','319510ApfqwO'];_0x51af=function(){return _0x13d379;};return _0x51af();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e12b1=_0x2a00;function _0x2a00(_0x4d487a,_0x4bdbc0){const _0x43f16e=_0x43f1();return _0x2a00=function(_0x2a0056,_0x2e3584){_0x2a0056=_0x2a0056-0x1b4;let _0x2d8b41=_0x43f16e[_0x2a0056];return _0x2d8b41;},_0x2a00(_0x4d487a,_0x4bdbc0);}(function(_0x3c5f4e,_0x6518b3){const _0x4fb321=_0x2a00,_0x2abbf2=_0x3c5f4e();while(!![]){try{const _0x4bf2e6=parseInt(_0x4fb321(0x1c9))/0x1+parseInt(_0x4fb321(0x1b7))/0x2*(-parseInt(_0x4fb321(0x1c5))/0x3)+-parseInt(_0x4fb321(0x1cb))/0x4+parseInt(_0x4fb321(0x1bd))/0x5+parseInt(_0x4fb321(0x1cd))/0x6*(-parseInt(_0x4fb321(0x1c7))/0x7)+parseInt(_0x4fb321(0x1cc))/0x8+parseInt(_0x4fb321(0x1c2))/0x9;if(_0x4bf2e6===_0x6518b3)break;else _0x2abbf2['push'](_0x2abbf2['shift']());}catch(_0x44664f){_0x2abbf2['push'](_0x2abbf2['shift']());}}}(_0x43f1,0x277b7));import{ToolbarView as _0xabcc2e,ButtonView as _0x965e7}from'ckeditor5/src/ui.js';function _0x43f1(){const _0x4d37c8=['items','639816ZBwKIx','2060768rSqlHz','486rlpjpo','AI_BALLOON_APPLY_BUTTON','ck-ai-button-primary','extendTemplate','4rWFpym','ck-ai-button-secondary','add','AI_BALLOON_SUGGEST_BUTTON','suggestButton','isEnabled','515450sqXMaf','applyButton','locale','bind','ck-ai-balloon__toolbar','1194264KgdZzU','isVisible','_createButton','275991Fbefot','set','5901fpbOiK','setButtonsVisibility','80568czLuzU'];_0x43f1=function(){return _0x4d37c8;};return _0x43f1();}import{getTranslation as _0x19e58d}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0xabcc2e{constructor(_0x3a5d6f,_0x1a765a=!0x0,_0x16b275=!0x0){const _0x4ddc67=_0x2a00;super(_0x3a5d6f),this[_0x4ddc67(0x1c6)](_0x4ddc67(0x1bc),!0x1),_0x1a765a&&(this[_0x4ddc67(0x1be)]=this[_0x4ddc67(0x1c4)](_0x19e58d(_0x3a5d6f,_0x4ddc67(0x1b4)),_0x4ddc67(0x1b5)),this[_0x4ddc67(0x1be)][_0x4ddc67(0x1c0)](_0x4ddc67(0x1bc))['to'](this),this[_0x4ddc67(0x1ca)][_0x4ddc67(0x1b9)](this[_0x4ddc67(0x1be)])),_0x16b275&&(this[_0x4ddc67(0x1bb)]=this[_0x4ddc67(0x1c4)](_0x19e58d(_0x3a5d6f,_0x4ddc67(0x1ba)),_0x1a765a?_0x4ddc67(0x1b8):_0x4ddc67(0x1b5)),this[_0x4ddc67(0x1bb)][_0x4ddc67(0x1c0)](_0x4ddc67(0x1bc))['to'](this),this[_0x4ddc67(0x1ca)][_0x4ddc67(0x1b9)](this[_0x4ddc67(0x1bb)])),this[_0x4ddc67(0x1c8)]({'showApplyButton':_0x1a765a,'showSuggestButton':_0x16b275}),this[_0x4ddc67(0x1b6)]({'attributes':{'class':[_0x4ddc67(0x1c1)]}});}[_0x5e12b1(0x1c8)]({showApplyButton:_0x3fef9f,showSuggestButton:_0xfce4e7}){const _0x3145ff=_0x5e12b1;this[_0x3145ff(0x1be)]&&(this[_0x3145ff(0x1be)][_0x3145ff(0x1c3)]=_0x3fef9f),this[_0x3145ff(0x1bb)]&&(this[_0x3145ff(0x1bb)][_0x3145ff(0x1c3)]=_0xfce4e7);}[_0x5e12b1(0x1c4)](_0x3e75f2,_0x103f3b){const _0x39eec7=_0x5e12b1,_0x3f4c3e=new _0x965e7(this[_0x39eec7(0x1bf)]);return _0x3f4c3e[_0x39eec7(0x1c6)]({'label':_0x3e75f2,'class':_0x103f3b,'isVisible':!0x0,'withText':!0x0}),_0x3f4c3e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x40fc(_0x111b7d,_0x583447){const _0x583e56=_0x583e();return _0x40fc=function(_0x40fc0c,_0x514382){_0x40fc0c=_0x40fc0c-0x1da;let _0x2dc610=_0x583e56[_0x40fc0c];return _0x2dc610;},_0x40fc(_0x111b7d,_0x583447);}const _0x1438ab=_0x40fc;(function(_0x221bc5,_0x1b9983){const _0x2a53a0=_0x40fc,_0x56ec77=_0x221bc5();while(!![]){try{const _0x1ffa85=parseInt(_0x2a53a0(0x227))/0x1*(-parseInt(_0x2a53a0(0x250))/0x2)+parseInt(_0x2a53a0(0x212))/0x3+-parseInt(_0x2a53a0(0x238))/0x4*(-parseInt(_0x2a53a0(0x20e))/0x5)+-parseInt(_0x2a53a0(0x224))/0x6+parseInt(_0x2a53a0(0x1ec))/0x7*(-parseInt(_0x2a53a0(0x241))/0x8)+parseInt(_0x2a53a0(0x1e4))/0x9+-parseInt(_0x2a53a0(0x23b))/0xa*(-parseInt(_0x2a53a0(0x1e1))/0xb);if(_0x1ffa85===_0x1b9983)break;else _0x56ec77['push'](_0x56ec77['shift']());}catch(_0x1a4e71){_0x56ec77['push'](_0x56ec77['shift']());}}}(_0x583e,0xac0e6));import{ViewCollection as _0x217c87,FocusCycler as _0xf4749d,ButtonView as _0x22fb9d,View as _0x1a85d5}from'ckeditor5/src/ui.js';import{FocusTracker as _0x24976f,KeystrokeHandler as _0x2c4386}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x50779c}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x568937}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x885928}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x4e852f}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1cc4f7}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x370a04}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x1bdb05}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x57922b,IconPreviousArrow as _0x5c9c48,IconRefresh as _0x577dfa}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x9217e8}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x4f4673}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x1438ab(0x23a),_0x1438ab(0x23f)];function _0x583e(){const _0x1fd4bc=['delegate','isTrackChangesOn','isVisible','suggestButton','clearErrorState','listenTo','1379PwOsnq','focusLast','remove','AI_ACTIONS_PREVIOUS_INTERACTION','focusCycler','_focusables','add','clear','ck-ai-actions-balloon-content-wrapper','_hasError','_navigationCounter','_focusTracker','isBusy','availableActions','stopAutoScroll','setIsLoading','isShowChangesOn','_streamableContentView','includes','setErrorState','clearContent','bind','showPrevious','interactionCount','_dialogContent','hideError','_initializeScrollManager','tab','_setupMiniToolbarButtons','_keystrokes','shift\x20+\x20tab','_toolbarView','_addDisclaimerView','_getScrollableElement','715cmBljr','_createMiniToolbar','_miniToolbarView','updateMiniToolbarButtons','1267701spFryG','toggleSuggestionDisplayMode','_addContentWrapper','bindTemplate','_addToolbar','showError','showBlockingError','tryAgain','span','focusFirst','_toggleToolbarButtonsVisibility','set','createCollection','_navigationPreviousButton','updateContent','_isLoading','toggleShowChangesEnabled','AI_ACTIONS_TRY_AGAIN','4347894iyEtOI','addMany','setButtonsVisibility','359iKHCXr','resetShowChangesButton','miniToolbarConfig','showNext','hideLoader','disableMiniToolbarButtons','stop','change:isTrackChangesOn','_errorView','ck-ai-actions-balloon-main','div','_navigationTryAgainButton','startAutoScroll','focus','_createStreamableContentView','_scrollManager','removeMiniToolbarItem','24216TaJcJQ','fire','applySuggestion','2643890rDjfiN','_navigationNextButton','addMiniToolbarItem','_loaderView','insertSuggestion','setTemplate','17736RYoVNH','element','has','_createLoaderView','update','ck-ai-custom-action-button','applyButton','locale','ck-ai-actions-balloon-content','destroy','ck-ai-navigation-button\x20ck-ai-next-button','start','ck-ai-interaction-counter','1/1','execute','2060YaZfmb','AI_ACTIONS_NEXT_INTERACTION','_config','_contentWrapper','render','setInteractionCount','showLoader','items','toggleIsLoading','_disclaimerView','22yHQvVK','toggleShowChanges','isEnabled','3769587PqseHE','ck-ai-navigation-button\x20ck-ai-previous-button'];_0x583e=function(){return _0x1fd4bc;};return _0x583e();}export class AIActionsBalloonView extends _0x4f4673{[_0x1438ab(0x1f0)];[_0x1438ab(0x252)];[_0x1438ab(0x1da)];[_0x1438ab(0x1fd)];[_0x1438ab(0x20b)];[_0x1438ab(0x210)];[_0x1438ab(0x23e)];[_0x1438ab(0x1e0)];[_0x1438ab(0x1f7)];[_0x1438ab(0x209)];[_0x1438ab(0x204)];[_0x1438ab(0x1f1)];[_0x1438ab(0x236)];[_0x1438ab(0x21f)];[_0x1438ab(0x23c)];[_0x1438ab(0x232)];[_0x1438ab(0x1f6)];constructor(_0x163516,_0x5ca650){const _0x2cbe37=_0x1438ab;super(_0x163516),this[_0x2cbe37(0x21d)](_0x2cbe37(0x1f8),!0x1),this[_0x2cbe37(0x21d)](_0x2cbe37(0x1e7),!0x1),this[_0x2cbe37(0x21d)](_0x2cbe37(0x221),!0x1),this[_0x2cbe37(0x21d)](_0x2cbe37(0x1f5),!0x1),this[_0x2cbe37(0x252)]=_0x5ca650,this[_0x2cbe37(0x1f7)]=new _0x24976f(),this[_0x2cbe37(0x209)]=new _0x2c4386(),this[_0x2cbe37(0x1f1)]=this[_0x2cbe37(0x21e)](),this[_0x2cbe37(0x1f0)]=new _0xf4749d({'focusables':this[_0x2cbe37(0x1f1)],'focusTracker':this[_0x2cbe37(0x1f7)],'keystrokeHandler':this[_0x2cbe37(0x209)],'actions':{'focusPrevious':_0x2cbe37(0x20a),'focusNext':_0x2cbe37(0x207)}}),this[_0x2cbe37(0x204)]=new _0x217c87(),this[_0x2cbe37(0x214)](_0x5ca650),this[_0x2cbe37(0x20c)](),this[_0x2cbe37(0x216)](_0x5ca650),this[_0x2cbe37(0x1f1)][_0x2cbe37(0x1f3)](),this[_0x2cbe37(0x1f1)][_0x2cbe37(0x225)]([this[_0x2cbe37(0x20b)]]),this[_0x2cbe37(0x240)]({'tag':_0x2cbe37(0x231),'attributes':{'class':[_0x2cbe37(0x230)]},'children':this[_0x2cbe37(0x204)]}),this['on'](_0x2cbe37(0x22e),()=>{const _0x5c36fe=_0x2cbe37;this[_0x5c36fe(0x21c)](_0x5ca650);});}[_0x1438ab(0x1db)](){const _0x5eb337=_0x1438ab;super[_0x5eb337(0x1db)]();for(const _0x4c8ac3 of this[_0x5eb337(0x1f1)])this[_0x5eb337(0x1f7)][_0x5eb337(0x1f2)](_0x4c8ac3[_0x5eb337(0x242)]);this[_0x5eb337(0x209)][_0x5eb337(0x1eb)](this[_0x5eb337(0x242)]),this[_0x5eb337(0x206)]();}[_0x1438ab(0x24a)](){const _0x4ab473=_0x1438ab;super[_0x4ab473(0x24a)](),this[_0x4ab473(0x236)]&&this[_0x4ab473(0x236)][_0x4ab473(0x24a)]();}[_0x1438ab(0x234)](_0x3bcb17){const _0x124e0a=_0x1438ab;-0x1===_0x3bcb17?this[_0x124e0a(0x1f0)][_0x124e0a(0x1ed)]():this[_0x124e0a(0x1f0)][_0x124e0a(0x21b)]();}[_0x1438ab(0x1fb)](_0x3e5a73){const _0x5d4778=_0x1438ab;this[_0x5d4778(0x221)]=_0x3e5a73;}[_0x1438ab(0x1ff)](){const _0x2e8319=_0x1438ab;this[_0x2e8319(0x1f5)]=!0x0,this[_0x2e8319(0x210)][_0x2e8319(0x222)](!0x1);}[_0x1438ab(0x1ea)](){const _0x3f10fd=_0x1438ab;this[_0x3f10fd(0x1f5)]=!0x1,this[_0x3f10fd(0x210)][_0x3f10fd(0x222)](!0x0);}[_0x1438ab(0x217)](_0x48c339){const _0x48fb96=_0x1438ab;super[_0x48fb96(0x217)](_0x48c339),this[_0x48fb96(0x204)][_0x48fb96(0x243)](this[_0x48fb96(0x22f)])||this[_0x48fb96(0x204)][_0x48fb96(0x1f2)](this[_0x48fb96(0x22f)],0x0);}[_0x1438ab(0x205)](){const _0x1ebba3=_0x1438ab;super[_0x1ebba3(0x205)](),this[_0x1ebba3(0x1ea)]();}[_0x1438ab(0x218)](_0x797e96){const _0x5e1f19=_0x1438ab;super[_0x5e1f19(0x218)](_0x797e96),this[_0x5e1f19(0x1ff)]();}[_0x1438ab(0x23d)](_0x5c3392){const _0xd39f20=_0x1438ab;this[_0xd39f20(0x210)][_0xd39f20(0x1de)][_0xd39f20(0x243)](_0x5c3392)||this[_0xd39f20(0x210)][_0xd39f20(0x1de)][_0xd39f20(0x1f2)](_0x5c3392);}[_0x1438ab(0x237)](_0x4cec75){const _0x4d59dd=_0x1438ab;this[_0x4d59dd(0x210)][_0x4d59dd(0x1de)][_0x4d59dd(0x243)](_0x4cec75)&&this[_0x4d59dd(0x210)][_0x4d59dd(0x1de)][_0x4d59dd(0x1ee)](_0x4cec75);}[_0x1438ab(0x1dd)](){const _0x4c38c9=_0x1438ab;this[_0x4c38c9(0x23e)]&&(this[_0x4c38c9(0x221)]=!0x0);}[_0x1438ab(0x22b)](){const _0x113034=_0x1438ab;this[_0x113034(0x23e)]&&(this[_0x113034(0x221)]=!0x1);}[_0x1438ab(0x21c)]({showApplyButton:_0x4e3338,showSuggestButton:_0x2d6514}){const _0x272ce1=_0x1438ab;_0x4e3338=_0x4e3338&&!this[_0x272ce1(0x1e7)]&&this[_0x272ce1(0x252)][_0x272ce1(0x1f9)][_0x272ce1(0x1fe)](_0x272ce1(0x23a)),_0x2d6514=_0x2d6514&&this[_0x272ce1(0x252)][_0x272ce1(0x1f9)][_0x272ce1(0x1fe)](_0x272ce1(0x23f)),this[_0x272ce1(0x20b)][_0x272ce1(0x226)]({'showApplyButton':_0x4e3338,'showSuggestButton':_0x2d6514});}async[_0x1438ab(0x220)](_0xf5579d){const _0x3f5a3d=_0x1438ab;await this[_0x3f5a3d(0x1fd)][_0x3f5a3d(0x245)](_0xf5579d);}[_0x1438ab(0x200)](){const _0x5fd59a=_0x1438ab;this[_0x5fd59a(0x1fd)][_0x5fd59a(0x1f3)]();}[_0x1438ab(0x214)](_0x752ce){const _0x39b05b=_0x1438ab;this[_0x39b05b(0x1da)]=new _0x1a85d5(this[_0x39b05b(0x248)]),this[_0x39b05b(0x1da)][_0x39b05b(0x240)]({'tag':_0x39b05b(0x231),'attributes':{'class':[_0x39b05b(0x249)]},'children':[{'tag':_0x39b05b(0x231),'attributes':{'class':[_0x39b05b(0x1f4)]},'children':[this[_0x39b05b(0x244)](),this[_0x39b05b(0x235)]()]},this[_0x39b05b(0x20f)](_0x752ce[_0x39b05b(0x229)])]}),this[_0x39b05b(0x204)][_0x39b05b(0x1f2)](this[_0x39b05b(0x1da)]);}[_0x1438ab(0x20c)](){const _0x5477b3=_0x1438ab;this[_0x5477b3(0x1e0)]=new _0x568937(this[_0x5477b3(0x248)]),this[_0x5477b3(0x204)][_0x5477b3(0x1f2)](this[_0x5477b3(0x1e0)]);}[_0x1438ab(0x216)]({showApplyButton:_0x2a84cd,showSuggestButton:_0x246101}){const _0x1aaee6=_0x1438ab;this[_0x1aaee6(0x20b)]=new _0x50779c(this[_0x1aaee6(0x248)],_0x2a84cd,_0x246101),this[_0x1aaee6(0x20b)][_0x1aaee6(0x247)]?.['on'](_0x1aaee6(0x24f),()=>{const _0x358ce1=_0x1aaee6;this[_0x358ce1(0x239)](_0x358ce1(0x23a));}),this[_0x1aaee6(0x20b)][_0x1aaee6(0x1e9)]?.['on'](_0x1aaee6(0x24f),()=>{const _0x38ba9e=_0x1aaee6;this[_0x38ba9e(0x239)](_0x38ba9e(0x23f));}),this[_0x1aaee6(0x20b)][_0x1aaee6(0x201)](_0x1aaee6(0x1e3))['to'](this,_0x1aaee6(0x1f8),this,_0x1aaee6(0x221),this,_0x1aaee6(0x1f5),(_0x1dc9c4,_0x323c6c,_0x374b93)=>!(_0x1dc9c4||_0x323c6c||_0x374b93)),this[_0x1aaee6(0x21c)]({'showApplyButton':_0x2a84cd,'showSuggestButton':_0x246101}),this[_0x1aaee6(0x204)][_0x1aaee6(0x1f2)](this[_0x1aaee6(0x20b)]);}[_0x1438ab(0x20f)](_0x1db41d){const _0x3df13d=_0x1438ab;return this[_0x3df13d(0x210)]=new _0x4e852f(this[_0x3df13d(0x248)],_0x1db41d),this[_0x3df13d(0x210)][_0x3df13d(0x1e6)](..._0x1cc4f7)['to'](this),this[_0x3df13d(0x210)]['on'](_0x3df13d(0x1e2),()=>{const _0x41a7bf=_0x3df13d;this[_0x41a7bf(0x210)][_0x41a7bf(0x1fc)]=!this[_0x41a7bf(0x210)][_0x41a7bf(0x1fc)],this[_0x41a7bf(0x239)](_0x41a7bf(0x213),{'showDiff':this[_0x41a7bf(0x210)][_0x41a7bf(0x1fc)]});}),this[_0x3df13d(0x210)][_0x3df13d(0x201)](_0x3df13d(0x1e3))['to'](this,_0x3df13d(0x1f8),this,_0x3df13d(0x221),(_0x3b4680,_0x3673ad)=>!(_0x3b4680||_0x3673ad)),this[_0x3df13d(0x210)];}[_0x1438ab(0x244)](){const _0x50852e=_0x1438ab;return this[_0x50852e(0x23e)]=new _0x370a04(this[_0x50852e(0x248)]),this[_0x50852e(0x23e)][_0x50852e(0x201)](_0x50852e(0x1e8))['to'](this,_0x50852e(0x221)),this[_0x50852e(0x23e)];}[_0x1438ab(0x235)](){const _0x57a591=_0x1438ab;return this[_0x57a591(0x1fd)]=new _0x1bdb05(this[_0x57a591(0x248)]),this[_0x57a591(0x1fd)];}[_0x1438ab(0x208)](){const _0x13c668=_0x1438ab,_0x5513e7=new _0x22fb9d(this[_0x13c668(0x248)]),_0x4f90bb=new _0x22fb9d(this[_0x13c668(0x248)]),_0x2d146b=new On(this[_0x13c668(0x248)]),_0x3db039=new _0x22fb9d(this[_0x13c668(0x248)]);_0x5513e7[_0x13c668(0x21d)]({'icon':_0x577dfa,'label':_0x9217e8(this[_0x13c668(0x248)],_0x13c668(0x223)),'tooltip':!0x0,'class':_0x13c668(0x246)}),_0x4f90bb[_0x13c668(0x21d)]({'icon':_0x5c9c48,'tooltip':_0x9217e8(this[_0x13c668(0x248)],_0x13c668(0x1ef)),'class':_0x13c668(0x1e5)}),_0x3db039[_0x13c668(0x21d)]({'icon':_0x57922b,'tooltip':_0x9217e8(this[_0x13c668(0x248)],_0x13c668(0x251)),'class':_0x13c668(0x24b)}),_0x5513e7[_0x13c668(0x201)](_0x13c668(0x1e3))['to'](this,_0x13c668(0x1f8),_0x32e206=>!_0x32e206),_0x5513e7['on'](_0x13c668(0x24f),()=>{const _0x226ed2=_0x13c668;this[_0x226ed2(0x239)](_0x226ed2(0x219));}),_0x4f90bb[_0x13c668(0x201)](_0x13c668(0x1e3))['to'](this,_0x13c668(0x1f8),_0x3ee987=>!_0x3ee987),_0x4f90bb['on'](_0x13c668(0x24f),()=>{const _0x3a3ab9=_0x13c668;this[_0x3a3ab9(0x239)](_0x3a3ab9(0x202));}),_0x3db039[_0x13c668(0x201)](_0x13c668(0x1e3))['to'](this,_0x13c668(0x1f8),_0x3bfdc1=>!_0x3bfdc1),_0x3db039['on'](_0x13c668(0x24f),()=>{const _0x390ff7=_0x13c668;this[_0x390ff7(0x239)](_0x390ff7(0x22a));}),this[_0x13c668(0x21f)]=_0x4f90bb,this[_0x13c668(0x1f6)]=_0x2d146b,this[_0x13c668(0x23c)]=_0x3db039,this[_0x13c668(0x232)]=_0x5513e7;}[_0x1438ab(0x211)](_0xe9e2f5,_0x249b35){const _0x236802=_0x1438ab;this[_0x236802(0x21f)]||this[_0x236802(0x208)]();const _0x1c4aaa=_0xe9e2f5>0x1;if(this[_0x236802(0x23d)](this[_0x236802(0x232)]),_0x1c4aaa){this[_0x236802(0x23d)](this[_0x236802(0x21f)]),this[_0x236802(0x23d)](this[_0x236802(0x1f6)]),this[_0x236802(0x23d)](this[_0x236802(0x23c)]);const _0x289ec3=_0xe9e2f5-_0x249b35;this[_0x236802(0x1f6)][_0x236802(0x1dc)](_0x289ec3+'/'+_0xe9e2f5),this[_0x236802(0x21f)][_0x236802(0x1e3)]=_0x249b35<_0xe9e2f5-0x1,this[_0x236802(0x23c)][_0x236802(0x1e3)]=_0x249b35>0x0;}else this[_0x236802(0x237)](this[_0x236802(0x21f)]),this[_0x236802(0x237)](this[_0x236802(0x1f6)]),this[_0x236802(0x237)](this[_0x236802(0x23c)]);}[_0x1438ab(0x22c)](){const _0x2404c8=_0x1438ab;this[_0x2404c8(0x232)][_0x2404c8(0x1e3)]=!0x1,this[_0x2404c8(0x21f)][_0x2404c8(0x1e3)]=!0x1,this[_0x2404c8(0x23c)][_0x2404c8(0x1e3)]=!0x1;}[_0x1438ab(0x233)](){const _0x225dab=_0x1438ab;this[_0x225dab(0x206)](),this[_0x225dab(0x236)]&&this[_0x225dab(0x236)][_0x225dab(0x24c)]();}[_0x1438ab(0x1fa)](){const _0x2de0e9=_0x1438ab;this[_0x2de0e9(0x236)]&&this[_0x2de0e9(0x236)][_0x2de0e9(0x22d)]();}[_0x1438ab(0x1df)](_0xfa0cee){const _0x71901a=_0x1438ab;this[_0x71901a(0x221)]=_0xfa0cee;}[_0x1438ab(0x228)](){const _0x53ea9d=_0x1438ab;this[_0x53ea9d(0x210)][_0x53ea9d(0x1fc)]=!0x1;}[_0x1438ab(0x206)](){const _0x56eb56=_0x1438ab,_0x425172=this[_0x56eb56(0x20d)]();_0x425172&&!this[_0x56eb56(0x236)]&&(this[_0x56eb56(0x236)]=new _0x885928(_0x425172));}[_0x1438ab(0x20d)](){const _0x527853=_0x1438ab;return this[_0x527853(0x1fd)][_0x527853(0x242)];}}class On extends _0x1a85d5{constructor(_0x24df71){const _0x2e80f2=_0x1438ab;super(_0x24df71);const _0x37e5b6=this[_0x2e80f2(0x215)];this[_0x2e80f2(0x21d)](_0x2e80f2(0x203),_0x2e80f2(0x24e)),this[_0x2e80f2(0x240)]({'tag':_0x2e80f2(0x21a),'attributes':{'class':[_0x2e80f2(0x24d)]},'children':[{'text':_0x37e5b6['to'](_0x2e80f2(0x203))}]});}[_0x1438ab(0x1dc)](_0x7647c8){const _0x2e0572=_0x1438ab;this[_0x2e0572(0x21d)](_0x2e0572(0x203),_0x7647c8);}}
|
|
23
|
+
const _0x432b2b=_0x4173;(function(_0xb1dda7,_0x13172a){const _0x2e4f8b=_0x4173,_0x4a6991=_0xb1dda7();while(!![]){try{const _0x16a859=-parseInt(_0x2e4f8b(0x206))/0x1+parseInt(_0x2e4f8b(0x1f4))/0x2*(parseInt(_0x2e4f8b(0x1d4))/0x3)+-parseInt(_0x2e4f8b(0x22b))/0x4*(parseInt(_0x2e4f8b(0x224))/0x5)+parseInt(_0x2e4f8b(0x219))/0x6+parseInt(_0x2e4f8b(0x1db))/0x7*(parseInt(_0x2e4f8b(0x1cb))/0x8)+-parseInt(_0x2e4f8b(0x1e2))/0x9*(-parseInt(_0x2e4f8b(0x200))/0xa)+parseInt(_0x2e4f8b(0x1ed))/0xb*(-parseInt(_0x2e4f8b(0x1c3))/0xc);if(_0x16a859===_0x13172a)break;else _0x4a6991['push'](_0x4a6991['shift']());}catch(_0x4a4761){_0x4a6991['push'](_0x4a6991['shift']());}}}(_0x3c8d,0x92b6e));import{ViewCollection as _0x184884,FocusCycler as _0x30a0f5,ButtonView as _0x3217ff,View as _0xaef4e}from'ckeditor5/src/ui.js';import{FocusTracker as _0x54276a,KeystrokeHandler as _0x45ad2e}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x22220b}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x442afb}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x493974}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x4caeb8}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x51ef34}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x504772}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';function _0x3c8d(){const _0x505a90=['createCollection','interactionCount','render','updateContent','_getScrollableElement','8183710uoVcva','isEnabled','_streamableContentView','_dialogContent','availableActions','setErrorState','334949gHlKrp','showNext','clearContent','toggleShowChanges','showLoader','_addDisclaimerView','ck-ai-actions-balloon-main','_miniToolbarView','shift\x20+\x20tab','_initializeScrollManager','toggleShowChangesEnabled','isTrackChangesOn','destroy','span','clearErrorState','insertSuggestion','fire','add','focusLast','2096862uRNjad','focusFirst','_hasError','_config','isVisible','bindTemplate','_errorView','_contentWrapper','bind','_addToolbar','applySuggestion','970BvDgbP','execute','_focusTracker','_keystrokes','hideLoader','miniToolbarConfig','clear','14492RKalKo','addMany','remove','tab','_disclaimerView','_addContentWrapper','ck-ai-actions-balloon-content','locale','listenTo','tryAgain','ck-ai-navigation-button\x20ck-ai-previous-button','_scrollManager','showPrevious','_createLoaderView','suggestButton','element','_loaderView','1/1','5710464zleLIJ','showBlockingError','focusCycler','setButtonsVisibility','_isLoading','items','addMiniToolbarItem','disableMiniToolbarButtons','16CtvNEF','stopAutoScroll','startAutoScroll','set','_navigationTryAgainButton','ck-ai-actions-balloon-content-wrapper','setInteractionCount','hideError','ck-ai-navigation-button\x20ck-ai-next-button','3LjBJyJ','ck-ai-custom-action-button','_toolbarView','_navigationPreviousButton','_createMiniToolbar','isBusy','setTemplate','4127620cNZjCJ','_focusables','toggleIsLoading','_createStreamableContentView','isShowChangesOn','setIsLoading','updateMiniToolbarButtons','9kQIreK','_toggleToolbarButtonsVisibility','_setupMiniToolbarButtons','start','stop','has','toggleSuggestionDisplayMode','showError','change:isTrackChangesOn','ck-ai-interaction-counter','_navigationCounter','33SpmBwV','delegate','update','AI_ACTIONS_NEXT_INTERACTION','AI_ACTIONS_TRY_AGAIN','_navigationNextButton','AI_ACTIONS_PREVIOUS_INTERACTION','1438402OtKvlt','removeMiniToolbarItem','resetShowChangesButton','applyButton','includes','div','focus'];_0x3c8d=function(){return _0x505a90;};return _0x3c8d();}import{AISuggestionStreamableContentView as _0x13c7d8}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x5155ac,IconPreviousArrow as _0x1e410e,IconRefresh as _0x46faec}from'@ckeditor/ckeditor5-icons';function _0x4173(_0x2a8abd,_0x12f316){const _0x3c8d87=_0x3c8d();return _0x4173=function(_0x4173fd,_0x195991){_0x4173fd=_0x4173fd-0x1bb;let _0x5228da=_0x3c8d87[_0x4173fd];return _0x5228da;},_0x4173(_0x2a8abd,_0x12f316);}import{getTranslation as _0x1db848}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x5a7856}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x432b2b(0x223),_0x432b2b(0x215)];export class AIActionsBalloonView extends _0x5a7856{[_0x432b2b(0x1c5)];[_0x432b2b(0x21c)];[_0x432b2b(0x220)];[_0x432b2b(0x202)];[_0x432b2b(0x1d6)];[_0x432b2b(0x20d)];[_0x432b2b(0x1c1)];[_0x432b2b(0x22f)];[_0x432b2b(0x226)];[_0x432b2b(0x227)];[_0x432b2b(0x203)];[_0x432b2b(0x1dc)];[_0x432b2b(0x1bc)];[_0x432b2b(0x1d7)];[_0x432b2b(0x1f2)];[_0x432b2b(0x1cf)];[_0x432b2b(0x1ec)];constructor(_0xce4e91,_0x5de41e){const _0x9c0ebe=_0x432b2b;super(_0xce4e91),this[_0x9c0ebe(0x1ce)](_0x9c0ebe(0x1d9),!0x1),this[_0x9c0ebe(0x1ce)](_0x9c0ebe(0x211),!0x1),this[_0x9c0ebe(0x1ce)](_0x9c0ebe(0x1c7),!0x1),this[_0x9c0ebe(0x1ce)](_0x9c0ebe(0x21b),!0x1),this[_0x9c0ebe(0x21c)]=_0x5de41e,this[_0x9c0ebe(0x226)]=new _0x54276a(),this[_0x9c0ebe(0x227)]=new _0x45ad2e(),this[_0x9c0ebe(0x1dc)]=this[_0x9c0ebe(0x1fb)](),this[_0x9c0ebe(0x1c5)]=new _0x30a0f5({'focusables':this[_0x9c0ebe(0x1dc)],'focusTracker':this[_0x9c0ebe(0x226)],'keystrokeHandler':this[_0x9c0ebe(0x227)],'actions':{'focusPrevious':_0x9c0ebe(0x20e),'focusNext':_0x9c0ebe(0x22e)}}),this[_0x9c0ebe(0x203)]=new _0x184884(),this[_0x9c0ebe(0x230)](_0x5de41e),this[_0x9c0ebe(0x20b)](),this[_0x9c0ebe(0x222)](_0x5de41e),this[_0x9c0ebe(0x1dc)][_0x9c0ebe(0x22a)](),this[_0x9c0ebe(0x1dc)][_0x9c0ebe(0x22c)]([this[_0x9c0ebe(0x1d6)]]),this[_0x9c0ebe(0x1da)]({'tag':_0x9c0ebe(0x1f9),'attributes':{'class':[_0x9c0ebe(0x20c)]},'children':this[_0x9c0ebe(0x203)]}),this['on'](_0x9c0ebe(0x1ea),()=>{const _0x46a013=_0x9c0ebe;this[_0x46a013(0x1e3)](_0x5de41e);});}[_0x432b2b(0x1fd)](){const _0x1a4e4c=_0x432b2b;super[_0x1a4e4c(0x1fd)]();for(const _0x22a6b9 of this[_0x1a4e4c(0x1dc)])this[_0x1a4e4c(0x226)][_0x1a4e4c(0x217)](_0x22a6b9[_0x1a4e4c(0x1c0)]);this[_0x1a4e4c(0x227)][_0x1a4e4c(0x233)](this[_0x1a4e4c(0x1c0)]),this[_0x1a4e4c(0x20f)]();}[_0x432b2b(0x212)](){const _0xb829a4=_0x432b2b;super[_0xb829a4(0x212)](),this[_0xb829a4(0x1bc)]&&this[_0xb829a4(0x1bc)][_0xb829a4(0x212)]();}[_0x432b2b(0x1fa)](_0x546314){const _0x1f127b=_0x432b2b;-0x1===_0x546314?this[_0x1f127b(0x1c5)][_0x1f127b(0x218)]():this[_0x1f127b(0x1c5)][_0x1f127b(0x21a)]();}[_0x432b2b(0x1e0)](_0x2e43b1){const _0x453625=_0x432b2b;this[_0x453625(0x1c7)]=_0x2e43b1;}[_0x432b2b(0x205)](){const _0x57e037=_0x432b2b;this[_0x57e037(0x21b)]=!0x0,this[_0x57e037(0x20d)][_0x57e037(0x210)](!0x1);}[_0x432b2b(0x214)](){const _0x5ba7e5=_0x432b2b;this[_0x5ba7e5(0x21b)]=!0x1,this[_0x5ba7e5(0x20d)][_0x5ba7e5(0x210)](!0x0);}[_0x432b2b(0x1e9)](_0x27c6e8){const _0x7b3b06=_0x432b2b;super[_0x7b3b06(0x1e9)](_0x27c6e8),this[_0x7b3b06(0x203)][_0x7b3b06(0x1e7)](this[_0x7b3b06(0x21f)])||this[_0x7b3b06(0x203)][_0x7b3b06(0x217)](this[_0x7b3b06(0x21f)],0x0);}[_0x432b2b(0x1d2)](){const _0x1195af=_0x432b2b;super[_0x1195af(0x1d2)](),this[_0x1195af(0x214)]();}[_0x432b2b(0x1c4)](_0x47ff18){const _0x41d0cd=_0x432b2b;super[_0x41d0cd(0x1c4)](_0x47ff18),this[_0x41d0cd(0x205)]();}[_0x432b2b(0x1c9)](_0x434321){const _0xab7e7b=_0x432b2b;this[_0xab7e7b(0x20d)][_0xab7e7b(0x1c8)][_0xab7e7b(0x1e7)](_0x434321)||this[_0xab7e7b(0x20d)][_0xab7e7b(0x1c8)][_0xab7e7b(0x217)](_0x434321);}[_0x432b2b(0x1f5)](_0xdc4f8c){const _0x40b3f9=_0x432b2b;this[_0x40b3f9(0x20d)][_0x40b3f9(0x1c8)][_0x40b3f9(0x1e7)](_0xdc4f8c)&&this[_0x40b3f9(0x20d)][_0x40b3f9(0x1c8)][_0x40b3f9(0x22d)](_0xdc4f8c);}[_0x432b2b(0x20a)](){const _0x351b8c=_0x432b2b;this[_0x351b8c(0x1c1)]&&(this[_0x351b8c(0x1c7)]=!0x0);}[_0x432b2b(0x228)](){const _0x520d5b=_0x432b2b;this[_0x520d5b(0x1c1)]&&(this[_0x520d5b(0x1c7)]=!0x1);}[_0x432b2b(0x1e3)]({showApplyButton:_0x539b63,showSuggestButton:_0x37cf41}){const _0x2f224c=_0x432b2b;_0x539b63=_0x539b63&&!this[_0x2f224c(0x211)]&&this[_0x2f224c(0x21c)][_0x2f224c(0x204)][_0x2f224c(0x1f8)](_0x2f224c(0x223)),_0x37cf41=_0x37cf41&&this[_0x2f224c(0x21c)][_0x2f224c(0x204)][_0x2f224c(0x1f8)](_0x2f224c(0x215)),this[_0x2f224c(0x1d6)][_0x2f224c(0x1c6)]({'showApplyButton':_0x539b63,'showSuggestButton':_0x37cf41});}async[_0x432b2b(0x1fe)](_0x5d1625){const _0x12d524=_0x432b2b;await this[_0x12d524(0x202)][_0x12d524(0x1ef)](_0x5d1625);}[_0x432b2b(0x208)](){const _0x7ef5d0=_0x432b2b;this[_0x7ef5d0(0x202)][_0x7ef5d0(0x22a)]();}[_0x432b2b(0x230)](_0x302cea){const _0x72116c=_0x432b2b;this[_0x72116c(0x220)]=new _0xaef4e(this[_0x72116c(0x232)]),this[_0x72116c(0x220)][_0x72116c(0x1da)]({'tag':_0x72116c(0x1f9),'attributes':{'class':[_0x72116c(0x231)]},'children':[{'tag':_0x72116c(0x1f9),'attributes':{'class':[_0x72116c(0x1d0)]},'children':[this[_0x72116c(0x1be)](),this[_0x72116c(0x1de)]()]},this[_0x72116c(0x1d8)](_0x302cea[_0x72116c(0x229)])]}),this[_0x72116c(0x203)][_0x72116c(0x217)](this[_0x72116c(0x220)]);}[_0x432b2b(0x20b)](){const _0x28c65c=_0x432b2b;this[_0x28c65c(0x22f)]=new _0x442afb(this[_0x28c65c(0x232)]),this[_0x28c65c(0x203)][_0x28c65c(0x217)](this[_0x28c65c(0x22f)]);}[_0x432b2b(0x222)]({showApplyButton:_0x18c1e4,showSuggestButton:_0x5b3ce0}){const _0x492227=_0x432b2b;this[_0x492227(0x1d6)]=new _0x22220b(this[_0x492227(0x232)],_0x18c1e4,_0x5b3ce0),this[_0x492227(0x1d6)][_0x492227(0x1f7)]?.['on'](_0x492227(0x225),()=>{const _0x121bf0=_0x492227;this[_0x121bf0(0x216)](_0x121bf0(0x223));}),this[_0x492227(0x1d6)][_0x492227(0x1bf)]?.['on'](_0x492227(0x225),()=>{const _0x365861=_0x492227;this[_0x365861(0x216)](_0x365861(0x215));}),this[_0x492227(0x1d6)][_0x492227(0x221)](_0x492227(0x201))['to'](this,_0x492227(0x1d9),this,_0x492227(0x1c7),this,_0x492227(0x21b),(_0xb4dd2e,_0x1b1419,_0x4c479a)=>!(_0xb4dd2e||_0x1b1419||_0x4c479a)),this[_0x492227(0x1e3)]({'showApplyButton':_0x18c1e4,'showSuggestButton':_0x5b3ce0}),this[_0x492227(0x203)][_0x492227(0x217)](this[_0x492227(0x1d6)]);}[_0x432b2b(0x1d8)](_0x55cd60){const _0x145cfc=_0x432b2b;return this[_0x145cfc(0x20d)]=new _0x4caeb8(this[_0x145cfc(0x232)],_0x55cd60),this[_0x145cfc(0x20d)][_0x145cfc(0x1ee)](..._0x51ef34)['to'](this),this[_0x145cfc(0x20d)]['on'](_0x145cfc(0x209),()=>{const _0x3f4f73=_0x145cfc;this[_0x3f4f73(0x20d)][_0x3f4f73(0x1df)]=!this[_0x3f4f73(0x20d)][_0x3f4f73(0x1df)],this[_0x3f4f73(0x216)](_0x3f4f73(0x1e8),{'showDiff':this[_0x3f4f73(0x20d)][_0x3f4f73(0x1df)]});}),this[_0x145cfc(0x20d)][_0x145cfc(0x221)](_0x145cfc(0x201))['to'](this,_0x145cfc(0x1d9),this,_0x145cfc(0x1c7),(_0x544b8f,_0x4f3f9d)=>!(_0x544b8f||_0x4f3f9d)),this[_0x145cfc(0x20d)];}[_0x432b2b(0x1be)](){const _0x51d286=_0x432b2b;return this[_0x51d286(0x1c1)]=new _0x504772(this[_0x51d286(0x232)]),this[_0x51d286(0x1c1)][_0x51d286(0x221)](_0x51d286(0x21d))['to'](this,_0x51d286(0x1c7)),this[_0x51d286(0x1c1)];}[_0x432b2b(0x1de)](){const _0x171b17=_0x432b2b;return this[_0x171b17(0x202)]=new _0x13c7d8(this[_0x171b17(0x232)]),this[_0x171b17(0x202)];}[_0x432b2b(0x1e4)](){const _0x473ff3=_0x432b2b,_0x129481=new _0x3217ff(this[_0x473ff3(0x232)]),_0x1f607f=new _0x3217ff(this[_0x473ff3(0x232)]),_0x47fe3e=new Ln(this[_0x473ff3(0x232)]),_0x4f8601=new _0x3217ff(this[_0x473ff3(0x232)]);_0x129481[_0x473ff3(0x1ce)]({'icon':_0x46faec,'label':_0x1db848(this[_0x473ff3(0x232)],_0x473ff3(0x1f1)),'tooltip':!0x0,'class':_0x473ff3(0x1d5)}),_0x1f607f[_0x473ff3(0x1ce)]({'icon':_0x1e410e,'tooltip':_0x1db848(this[_0x473ff3(0x232)],_0x473ff3(0x1f3)),'class':_0x473ff3(0x1bb)}),_0x4f8601[_0x473ff3(0x1ce)]({'icon':_0x5155ac,'tooltip':_0x1db848(this[_0x473ff3(0x232)],_0x473ff3(0x1f0)),'class':_0x473ff3(0x1d3)}),_0x129481[_0x473ff3(0x221)](_0x473ff3(0x201))['to'](this,_0x473ff3(0x1d9),_0x11ce69=>!_0x11ce69),_0x129481['on'](_0x473ff3(0x225),()=>{const _0x4b0eec=_0x473ff3;this[_0x4b0eec(0x216)](_0x4b0eec(0x234));}),_0x1f607f[_0x473ff3(0x221)](_0x473ff3(0x201))['to'](this,_0x473ff3(0x1d9),_0x1fa00d=>!_0x1fa00d),_0x1f607f['on'](_0x473ff3(0x225),()=>{const _0x1f2cc1=_0x473ff3;this[_0x1f2cc1(0x216)](_0x1f2cc1(0x1bd));}),_0x4f8601[_0x473ff3(0x221)](_0x473ff3(0x201))['to'](this,_0x473ff3(0x1d9),_0x44f784=>!_0x44f784),_0x4f8601['on'](_0x473ff3(0x225),()=>{const _0xbb52f0=_0x473ff3;this[_0xbb52f0(0x216)](_0xbb52f0(0x207));}),this[_0x473ff3(0x1d7)]=_0x1f607f,this[_0x473ff3(0x1ec)]=_0x47fe3e,this[_0x473ff3(0x1f2)]=_0x4f8601,this[_0x473ff3(0x1cf)]=_0x129481;}[_0x432b2b(0x1e1)](_0x4437ec,_0x26b879){const _0x341d7c=_0x432b2b;this[_0x341d7c(0x1d7)]||this[_0x341d7c(0x1e4)]();const _0x4a1407=_0x4437ec>0x1;if(this[_0x341d7c(0x1c9)](this[_0x341d7c(0x1cf)]),_0x4a1407){this[_0x341d7c(0x1c9)](this[_0x341d7c(0x1d7)]),this[_0x341d7c(0x1c9)](this[_0x341d7c(0x1ec)]),this[_0x341d7c(0x1c9)](this[_0x341d7c(0x1f2)]);const _0x235b60=_0x4437ec-_0x26b879;this[_0x341d7c(0x1ec)][_0x341d7c(0x1d1)](_0x235b60+'/'+_0x4437ec),this[_0x341d7c(0x1d7)][_0x341d7c(0x201)]=_0x26b879<_0x4437ec-0x1,this[_0x341d7c(0x1f2)][_0x341d7c(0x201)]=_0x26b879>0x0;}else this[_0x341d7c(0x1f5)](this[_0x341d7c(0x1d7)]),this[_0x341d7c(0x1f5)](this[_0x341d7c(0x1ec)]),this[_0x341d7c(0x1f5)](this[_0x341d7c(0x1f2)]);}[_0x432b2b(0x1ca)](){const _0xf1e57a=_0x432b2b;this[_0xf1e57a(0x1cf)][_0xf1e57a(0x201)]=!0x1,this[_0xf1e57a(0x1d7)][_0xf1e57a(0x201)]=!0x1,this[_0xf1e57a(0x1f2)][_0xf1e57a(0x201)]=!0x1;}[_0x432b2b(0x1cd)](){const _0x2395b4=_0x432b2b;this[_0x2395b4(0x20f)](),this[_0x2395b4(0x1bc)]&&this[_0x2395b4(0x1bc)][_0x2395b4(0x1e5)]();}[_0x432b2b(0x1cc)](){const _0x3e4765=_0x432b2b;this[_0x3e4765(0x1bc)]&&this[_0x3e4765(0x1bc)][_0x3e4765(0x1e6)]();}[_0x432b2b(0x1dd)](_0x45f098){const _0x1888fa=_0x432b2b;this[_0x1888fa(0x1c7)]=_0x45f098;}[_0x432b2b(0x1f6)](){const _0x5a1d8c=_0x432b2b;this[_0x5a1d8c(0x20d)][_0x5a1d8c(0x1df)]=!0x1;}[_0x432b2b(0x20f)](){const _0x4b03c3=_0x432b2b,_0x3f2c68=this[_0x4b03c3(0x1ff)]();_0x3f2c68&&!this[_0x4b03c3(0x1bc)]&&(this[_0x4b03c3(0x1bc)]=new _0x493974(_0x3f2c68));}[_0x432b2b(0x1ff)](){const _0x1eb7bf=_0x432b2b;return this[_0x1eb7bf(0x202)][_0x1eb7bf(0x1c0)];}}class Ln extends _0xaef4e{constructor(_0x25fa62){const _0xdc25b3=_0x432b2b;super(_0x25fa62);const _0x42d2df=this[_0xdc25b3(0x21e)];this[_0xdc25b3(0x1ce)](_0xdc25b3(0x1fc),_0xdc25b3(0x1c2)),this[_0xdc25b3(0x1da)]({'tag':_0xdc25b3(0x213),'attributes':{'class':[_0xdc25b3(0x1eb)]},'children':[{'text':_0x42d2df['to'](_0xdc25b3(0x1fc))}]});}[_0x432b2b(0x1d1)](_0x221231){const _0xbfe555=_0x432b2b;this[_0xbfe555(0x1ce)](_0xbfe555(0x1fc),_0x221231);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x259395=_0x5a7f;(function(_0x3f7a32,_0x19e681){const _0xb17045=_0x5a7f,_0x4134bf=_0x3f7a32();while(!![]){try{const _0x29addb=parseInt(_0xb17045(0x9b))/0x1+-parseInt(_0xb17045(0xa3))/0x2*(-parseInt(_0xb17045(0xae))/0x3)+-parseInt(_0xb17045(0xb1))/0x4+parseInt(_0xb17045(0xb2))/0x5*(parseInt(_0xb17045(0xad))/0x6)+-parseInt(_0xb17045(0xab))/0x7*(-parseInt(_0xb17045(0xa9))/0x8)+parseInt(_0xb17045(0x9e))/0x9*(-parseInt(_0xb17045(0xb4))/0xa)+-parseInt(_0xb17045(0xa0))/0xb*(parseInt(_0xb17045(0xb3))/0xc);if(_0x29addb===_0x19e681)break;else _0x4134bf['push'](_0x4134bf['shift']());}catch(_0x473bb6){_0x4134bf['push'](_0x4134bf['shift']());}}}(_0x1bfc,0x55416));import{IconView as _0x23ca8e,ListItemButtonView as _0x1de1c8}from'ckeditor5/src/ui.js';function _0x5a7f(_0x13b6ae,_0x3411c4){const _0x1bfcd6=_0x1bfc();return _0x5a7f=function(_0x5a7f07,_0x358f00){_0x5a7f07=_0x5a7f07-0x9b;let _0x3b01d0=_0x1bfcd6[_0x5a7f07];return _0x3b01d0;},_0x5a7f(_0x13b6ae,_0x3411c4);}function _0x1bfc(){const _0x3c2a68=['extendTemplate','73608rHCtXI','498245FuyKJW','24KzJUSj','202610qGANbl','601855NWeSQi','children','menuitem','54vquZDO','ck-dropdown-menu-list__nested-menu__button','7206287hkdVxZ','set','add','4zMrgOs','mouseenter','content','bindTemplate','ck-dropdown-menu-list__nested-menu__button__arrow','isOn','2864EPhrRK','arrowView','10339fqzyJR','_createArrowView','6dMZHzS','853707HHACDK','render'];_0x1bfc=function(){return _0x3c2a68;};return _0x1bfc();}import{IconDropdownArrow as _0x3abaf1}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x1de1c8{[_0x259395(0xaa)];constructor(_0x2e9add,_0x1d0dc3){const _0x11514b=_0x259395;super(_0x2e9add,_0x1d0dc3);const _0x2ad471=this[_0x11514b(0xa6)];this[_0x11514b(0xa1)]({'withText':!0x0,'role':_0x11514b(0x9d)}),this[_0x11514b(0xaa)]=this[_0x11514b(0xac)](),this[_0x11514b(0xb0)]({'attributes':{'class':[_0x11514b(0x9f)],'aria-haspopup':!0x0,'aria-expanded':this[_0x11514b(0xa6)]['to'](_0x11514b(0xa8),_0x2f4051=>String(_0x2f4051)),'data-cke-tooltip-disabled':_0x2ad471['to'](_0x11514b(0xa8))},'on':{'mouseenter':_0x2ad471['to'](_0x11514b(0xa4))}});}[_0x259395(0xaf)](){const _0x66ea72=_0x259395;super[_0x66ea72(0xaf)](),this[_0x66ea72(0x9c)][_0x66ea72(0xa2)](this[_0x66ea72(0xaa)]);}[_0x259395(0xac)](){const _0x20304f=_0x259395,_0x52cbcb=new _0x23ca8e();return _0x52cbcb[_0x20304f(0xa5)]=_0x3abaf1,_0x52cbcb[_0x20304f(0xb0)]({'attributes':{'class':_0x20304f(0xa7)}}),_0x52cbcb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4914(){const _0x589796=['changeMarkerHovered','updateChangeState','showCheckRunResult','_onChangeMarkerRemoved','unmodified','addResultChanges','change','reviewCheckResultActivated','isOfficialPlugin','_onCheckRunFinished','showReviewCompletedView','leaveReviewCoreResultList','locale','8LaPIgp','ai-review-mode-source-check-not-found','changeId','listenTo','.ck-ai_review__check-run-result','_onActivateChange','length','ai-review-mode-check-run-chunk-error','_onReviewCheckResultActivated','_aiReviewCheckList','map','changeMarkerBlurred','restart','result','2073924qHEmwT','markAllChangesAsAccepted','subTitle','applyChange','getDocumentData','_onReviewCheckRun','_aiReviewCoreUi','reviewCheckResultAdded','params','aborted','processedResultsCount','finished','source','dismissChange','reviewCheckResultDeactivated','switchToEdit','ai-review-mode-models-unable-to-retrieve','_currentReviewCheckRun','231vnsXbX','abortReviewStream','stopListening','error-chunk','sendRating','showNoChangesView','args','contentInitial','_initRequiredPlugins','activateChange','requires','startsWith','data','includes','get','_markChangePositionInEditorContent','acceptChange','showGeneralResultsErrorView','document','setAvailableChecks','deactivateChange','checks','view','markChangeAsRejected','hideChangeBalloon','status','2HcTukH','_onReviewCheckResultDeactivated','markChangeAsPending','abort','AIConnector','leaveReview','8303568uSckxc','emitter','119449cUbnak','init','currentError','updateDocumentData','_onDeactivateChange','2950443StAxtp','ready','closest','ck-ai_review-diff','switchToReadOnly','getCheckById','documentData','hasModifications','_onChangeMarkerBlurred','markChangeAsAccepted','runReviewCheck','showGeneralReviewCoreErrorView','_getTranslationWithDefault','_aiConnector','showReviewCheckList','718418pawjKH','_createReviewCheckRun','getReviewCheckList','context','clearAllMarkers','_onChangeMarkerClicked','870rHoWiE','finishReview','error-general','reviewCheckResultReady','getEditor','editing','ai-review-mode-check-run-failed','ck-ai_review-highlights','changeMarkerRemoved','_onChangeMarkerRestored','8024AmEIDc','contentNew','removeClass','isChangeActive','title','showChunkErrorView','panel','plugins','retryReview','ai-review-mode-no-current-check-run','5859185NgKyKq','_onChangeMarkerHovered','getRoot','ai-request-aborted','_logError','ai-review-mode-check-run-general-error','_getChangeContentElement','acceptAllChanges','ck-ai-translate-mode-content','_diffContent','loading','showActionsWhenResultIsReady','message','markChangeAsOutdated','_scrollToChange','start','changeMarkerRestored','changes','showCheckRunResults','_changeActivationSource','_aiReviewCoreEditing','getChangeElement','forceReadyState','isPremiumPlugin','rejectChange','content','reviewCheckRunUpdated','setCheckResultTitle','_onReviewRunLeave','changeMarkerClicked','getActiveChanges','reviewCheckResultChangeStatusUpdated','_getChecksList'];_0x4914=function(){return _0x589796;};return _0x4914();}const _0x4af0c9=_0x2d07;(function(_0x2361df,_0x262986){const _0x54f3e3=_0x2d07,_0x4aa59c=_0x2361df();while(!![]){try{const _0x50829b=parseInt(_0x54f3e3(0x104))/0x1*(-parseInt(_0x54f3e3(0x120))/0x2)+parseInt(_0x54f3e3(0xea))/0x3*(-parseInt(_0x54f3e3(0x92))/0x4)+-parseInt(_0x54f3e3(0x9c))/0x5+parseInt(_0x54f3e3(0xd8))/0x6+parseInt(_0x54f3e3(0x10a))/0x7+-parseInt(_0x54f3e3(0xca))/0x8*(-parseInt(_0x54f3e3(0x111))/0x9)+-parseInt(_0x54f3e3(0x126))/0xa*(-parseInt(_0x54f3e3(0x10c))/0xb);if(_0x50829b===_0x262986)break;else _0x4aa59c['push'](_0x4aa59c['shift']());}catch(_0x2229d7){_0x4aa59c['push'](_0x4aa59c['shift']());}}}(_0x4914,0xb97a9));import{ContextPlugin as _0x455177}from'ckeditor5/src/core.js';import{CKEditorError as _0x49d710,logError as _0x1584fa,scrollAncestorsToShowTarget as _0x1f3d2e,scrollViewportToShowTarget as _0xa4a57a}from'ckeditor5/src/utils.js';function _0x2d07(_0x2aca4a,_0x37e212){const _0x49146e=_0x4914();return _0x2d07=function(_0x2d07c3,_0x4a7368){_0x2d07c3=_0x2d07c3-0x91;let _0x123a8d=_0x49146e[_0x2d07c3];return _0x123a8d;},_0x2d07(_0x2aca4a,_0x37e212);}import{AIReviewSystemCheckRun as _0x3986c3}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x4613bc}from'../aicore/utils/common-translations.js';import{AIConnector as _0x163540}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x455177{[_0x4af0c9(0x11e)];[_0x4af0c9(0xde)];[_0x4af0c9(0xb0)];[_0x4af0c9(0xd3)];[_0x4af0c9(0xe9)];[_0x4af0c9(0xaf)]=null;static get[_0x4af0c9(0xf4)](){return[_0x163540];}static get[_0x4af0c9(0xc5)](){return!0x0;}static get[_0x4af0c9(0xb3)](){return!0x0;}async[_0x4af0c9(0x10d)](){const _0x9240c=_0x4af0c9;this[_0x9240c(0xf2)](),this[_0x9240c(0xd3)]=await this[_0x9240c(0xbc)](),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0x122),()=>{const _0x28e43a=_0x9240c;this[_0x28e43a(0xde)][_0x28e43a(0xfd)](this[_0x28e43a(0xd3)][_0x28e43a(0xff)]);}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0x11b),async(_0x278b45,_0x18f27c)=>{const _0x20736e=_0x9240c,_0x4fc69c=this[_0x20736e(0xd3)][_0x20736e(0x116)](_0x18f27c['id']);if(_0x4fc69c){this[_0x20736e(0xdd)](_0x18f27c),this[_0x20736e(0xb0)][_0x20736e(0x115)](),this[_0x20736e(0xe9)]=this[_0x20736e(0x121)](_0x18f27c,_0x4fc69c),this[_0x20736e(0xde)][_0x20736e(0xb7)](this[_0x20736e(0xe9)][_0x20736e(0x96)],this[_0x20736e(0xe9)][_0x20736e(0xda)]),this[_0x20736e(0xe9)]['on'](_0x20736e(0xb6),(_0x1ec99e,_0x1b0621)=>{const _0x2ed4a8=_0x20736e;switch(_0x1b0621[_0x2ed4a8(0x103)]){case _0x2ed4a8(0xf6):case _0x2ed4a8(0xa6):this[_0x2ed4a8(0xde)][_0x2ed4a8(0xae)](_0x1b0621);break;case _0x2ed4a8(0xe3):this[_0x2ed4a8(0xc6)]();break;case _0x2ed4a8(0x112):this[_0x2ed4a8(0xde)][_0x2ed4a8(0xa7)]();break;case _0x2ed4a8(0xc1):this[_0x2ed4a8(0xde)][_0x2ed4a8(0xef)]();break;case _0x2ed4a8(0x128):this[_0x2ed4a8(0xde)][_0x2ed4a8(0xfb)](),this[_0x2ed4a8(0xa0)](new _0x49d710(_0x2ed4a8(0xa1),this,void 0x0,this[_0x2ed4a8(0xe9)]?.[_0x2ed4a8(0x10e)]));break;case _0x2ed4a8(0xed):this[_0x2ed4a8(0xde)][_0x2ed4a8(0x97)](),this[_0x2ed4a8(0xa0)](new _0x49d710(_0x2ed4a8(0xd1),this,void 0x0,this[_0x2ed4a8(0xe9)]?.[_0x2ed4a8(0x10e)]));break;case _0x2ed4a8(0xe1):this[_0x2ed4a8(0xe9)]&&this[_0x2ed4a8(0xe9)][_0x2ed4a8(0xe2)]>0x0?setTimeout(()=>{const _0x206ede=_0x2ed4a8;this[_0x206ede(0xe9)]?.[_0x206ede(0xb2)]();},0x0):this[_0x2ed4a8(0xb8)](!0x0);}_0x2ed4a8(0x112)!==_0x1b0621[_0x2ed4a8(0x103)]&&_0x2ed4a8(0xed)!==_0x1b0621[_0x2ed4a8(0x103)]&&_0x2ed4a8(0x128)!==_0x1b0621[_0x2ed4a8(0x103)]||this[_0x2ed4a8(0xe9)]?.[_0x2ed4a8(0xee)]();}),this[_0x20736e(0xe9)]['on'](_0x20736e(0xdf),(_0xf6519d,_0x55bd4b)=>{const _0x400aeb=_0x20736e;if(!this[_0x400aeb(0xe9)])throw new _0x49d710(_0x400aeb(0x9b),this);const _0xfb21c7=this[_0x400aeb(0xa5)](_0x55bd4b[_0x400aeb(0xd7)][_0x400aeb(0xf1)],_0x55bd4b[_0x400aeb(0xd7)][_0x400aeb(0x93)]);_0x55bd4b[_0x400aeb(0xe4)][_0x400aeb(0xc2)](_0x55bd4b[_0x400aeb(0xd7)]['id'],_0xfb21c7);}),this[_0x20736e(0xe9)]['on'](_0x20736e(0x129),(_0x53ca53,_0x1d34d2)=>{const _0x326265=_0x20736e;for(const _0x448938 of _0x1d34d2[_0x326265(0xad)])this[_0x326265(0xde)][_0x326265(0xbf)](_0x448938);this[_0x326265(0xf9)](_0x1d34d2[_0x326265(0xad)],_0x1d34d2[_0x326265(0xe4)][_0x326265(0x117)]);}),this[_0x20736e(0xe9)]['on'](_0x20736e(0xbb),(_0x18a7ce,_0x9521ee)=>{const _0x439ab3=_0x20736e;this[_0x439ab3(0xde)][_0x439ab3(0xbe)](_0x9521ee[_0x439ab3(0xc3)]['id'],_0x9521ee[_0x439ab3(0x103)]);}),this[_0x20736e(0xe9)]['on'](_0x20736e(0xc4),(_0x4e9f46,_0x2fd43a)=>{const _0x2b7da8=_0x20736e;this[_0x2b7da8(0xd2)](_0x2fd43a);}),this[_0x20736e(0xe9)]['on'](_0x20736e(0xe6),()=>{const _0x23fd2e=_0x20736e;this[_0x23fd2e(0x105)]();});try{await this[_0x20736e(0xe9)][_0x20736e(0xab)]();}catch(_0x502f4f){_0x502f4f instanceof Error&&_0x502f4f[_0x20736e(0xa8)][_0x20736e(0xf7)](_0x20736e(0x9f))||(_0x502f4f instanceof _0x49d710?this[_0x20736e(0xa0)](_0x502f4f):this[_0x20736e(0xa0)](new _0x49d710(_0x20736e(0x12c),this,void 0x0,_0x502f4f)));}}else this[_0x20736e(0xa0)](new _0x49d710(_0x20736e(0xcb),this,{'checkId':_0x18f27c['id']}));}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0x109),()=>{const _0x315d25=_0x9240c;this[_0x315d25(0xb8)]();}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0xc8),()=>{const _0x584420=_0x9240c;this[_0x584420(0xb8)](!0x0);}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0xeb),()=>{const _0x375178=_0x9240c;this[_0x375178(0xe9)]&&this[_0x375178(0xe9)][_0x375178(0x107)]();}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0x127),()=>{const _0x11d72b=_0x9240c;this[_0x11d72b(0xb8)](!0x0);}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0xa3),()=>{const _0xdeb20c=_0x9240c;if(!this[_0xdeb20c(0xe9)])return;const _0xa799a4=this[_0xdeb20c(0xe9)][_0xdeb20c(0xba)]();if(!_0xa799a4[_0xdeb20c(0xd0)])return;this[_0xdeb20c(0xb0)][_0xdeb20c(0xdb)](_0xa799a4[_0xdeb20c(0xd4)](_0x5ab44e=>_0x5ab44e['id']));const _0x38891c=this[_0xdeb20c(0xe9)];_0x38891c[_0xdeb20c(0xd9)](),_0x38891c[_0xdeb20c(0xee)]();}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0xfa),(_0x3db15a,_0x17299f)=>{const _0x381d4e=_0x9240c;this[_0x381d4e(0xe9)]&&this[_0x381d4e(0xe9)][_0x381d4e(0x95)](_0x17299f['id'])&&(this[_0x381d4e(0xb0)][_0x381d4e(0xdb)]([_0x17299f['id']]),this[_0x381d4e(0xe9)][_0x381d4e(0x11a)](_0x17299f['id']),this[_0x381d4e(0xde)][_0x381d4e(0x102)](),this[_0x381d4e(0xe9)][_0x381d4e(0xee)](_0x17299f['id']));}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0xe5),(_0x417ab2,_0x321989)=>{const _0x1eac71=_0x9240c;this[_0x1eac71(0xe9)]&&this[_0x1eac71(0xe9)][_0x1eac71(0x95)](_0x321989['id'])&&(this[_0x1eac71(0xb0)][_0x1eac71(0xb4)](_0x321989['id']),this[_0x1eac71(0xe9)][_0x1eac71(0x101)](_0x321989['id']),this[_0x1eac71(0xde)][_0x1eac71(0x102)](),this[_0x1eac71(0xe9)][_0x1eac71(0xee)](_0x321989['id']));}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0x9a),async()=>{const _0x3bba91=_0x9240c;this[_0x3bba91(0xe9)]&&(this[_0x3bba91(0xb0)][_0x3bba91(0x124)](),this[_0x3bba91(0xe9)][_0x3bba91(0x10f)](this[_0x3bba91(0xb0)][_0x3bba91(0xdc)]()),await this[_0x3bba91(0xe9)][_0x3bba91(0xd6)]());}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0xf3),(_0x3cc9fe,_0x56e1e7)=>{const _0x8d9390=_0x9240c;this[_0x8d9390(0xcf)](_0x56e1e7);}),this[_0x9240c(0xcd)](this[_0x9240c(0xde)],_0x9240c(0xfe),(_0xc02938,_0x1866b4)=>{const _0x2e4dbc=_0x9240c;this[_0x2e4dbc(0x110)](_0x1866b4);}),this[_0x9240c(0xcd)](this[_0x9240c(0xb0)][_0x9240c(0x10b)],_0x9240c(0xb9),(_0x5ff35b,_0x57e085)=>{const _0x1d146e=_0x9240c;this[_0x1d146e(0x125)](_0x5ff35b,_0x57e085);}),this[_0x9240c(0xcd)](this[_0x9240c(0xb0)][_0x9240c(0x10b)],_0x9240c(0xbd),(_0x2d6518,_0x40bd70)=>{const _0x357f34=_0x9240c;this[_0x357f34(0x9d)](_0x2d6518,_0x40bd70);}),this[_0x9240c(0xcd)](this[_0x9240c(0xb0)][_0x9240c(0x10b)],_0x9240c(0xd5),()=>{const _0x567437=_0x9240c;this[_0x567437(0x119)]();}),this[_0x9240c(0xcd)](this[_0x9240c(0xb0)][_0x9240c(0x10b)],_0x9240c(0x12e),(_0xf4e4fe,_0x1089e3)=>{const _0x1462ed=_0x9240c;this[_0x1462ed(0xc0)](_0xf4e4fe,_0x1089e3);}),this[_0x9240c(0xcd)](this[_0x9240c(0xb0)][_0x9240c(0x10b)],_0x9240c(0xac),(_0x4dfbf0,_0x5599e2)=>{const _0x15de9c=_0x9240c;this[_0x15de9c(0x91)](_0x4dfbf0,_0x5599e2);});}[_0x4af0c9(0x121)](_0xa48e0,_0x387e46){const _0x1ff1ad=_0x4af0c9;return new _0x3986c3(this[_0x1ff1ad(0xb0)][_0x1ff1ad(0xdc)](),_0x387e46,this[_0x1ff1ad(0x11e)],_0xa48e0[_0x1ff1ad(0xe0)],_0xa48e0[_0x1ff1ad(0xf0)]);}[_0x4af0c9(0xc0)](_0x122312,_0x42b3dc){const _0x4ce4c3=_0x4af0c9;this[_0x4ce4c3(0xe9)]&&this[_0x4ce4c3(0xe9)][_0x4ce4c3(0xa9)](_0x42b3dc[_0x4ce4c3(0xcc)]);}[_0x4af0c9(0x91)](_0xa3d88b,_0x494648){const _0x32a009=_0x4af0c9;this[_0x32a009(0xe9)]&&this[_0x32a009(0xe9)][_0x32a009(0x106)](_0x494648[_0x32a009(0xcc)]);}[_0x4af0c9(0xc6)](){const _0x1370f6=_0x4af0c9;this[_0x1370f6(0xde)][_0x1370f6(0xc7)]();}[_0x4af0c9(0xf2)](){const _0x295421=_0x4af0c9;this[_0x295421(0x11e)]=this[_0x295421(0x123)][_0x295421(0x99)][_0x295421(0xf8)](_0x295421(0x108));}[_0x4af0c9(0xb8)](_0x4e5ebf=!0x1){const _0x422fe2=_0x4af0c9;this[_0x422fe2(0xe9)]&&(this[_0x422fe2(0xe9)][_0x422fe2(0x118)]||this[_0x422fe2(0xe9)][_0x422fe2(0xee)](),this[_0x422fe2(0xe9)][_0x422fe2(0xec)](),this[_0x422fe2(0xe9)][_0x422fe2(0x107)](),this[_0x422fe2(0xe9)]=void 0x0),_0x4e5ebf&&this[_0x422fe2(0xde)][_0x422fe2(0x11f)](),this[_0x422fe2(0xb0)][_0x422fe2(0x124)](),this[_0x422fe2(0xb0)][_0x422fe2(0xe7)](),this[_0x422fe2(0xaf)]=null;const _0x15d58f=this[_0x422fe2(0xb0)][_0x422fe2(0x12a)]();_0x15d58f&&_0x15d58f[_0x422fe2(0x12b)][_0x422fe2(0x100)][_0x422fe2(0xc3)](_0x2a1505=>{const _0x2397da=_0x422fe2,_0x1a6b75=_0x15d58f[_0x2397da(0x12b)][_0x2397da(0x100)][_0x2397da(0xfc)][_0x2397da(0x9e)]();_0x2a1505[_0x2397da(0x94)](_0x2397da(0x114),_0x1a6b75),_0x2a1505[_0x2397da(0x94)](_0x2397da(0x12d),_0x1a6b75),_0x2a1505[_0x2397da(0x94)](_0x2397da(0xa4),_0x1a6b75);});}[_0x4af0c9(0x11d)](_0x3cabde,_0x4d229f){const _0x98e7e4=_0x4af0c9,_0x500c35=this[_0x98e7e4(0x123)][_0x98e7e4(0xc9)],_0x4243ae=_0x4613bc(_0x500c35,_0x3cabde);return _0x4243ae===_0x3cabde?_0x4d229f:_0x4243ae;}[_0x4af0c9(0xa0)](_0x521c94,_0x1237be=!0x1){const _0xba1928=_0x4af0c9;_0x1584fa(_0x521c94[_0xba1928(0xa8)]),_0x1237be||(_0x521c94[_0xba1928(0xa8)][_0xba1928(0xf5)](_0xba1928(0xe8))?this[_0xba1928(0xde)][_0xba1928(0x11c)]():this[_0xba1928(0xde)][_0xba1928(0xfb)]());}[_0x4af0c9(0xaa)](_0x532e95){const _0xe7fb7a=_0x4af0c9;if(_0xe7fb7a(0xb5)===this[_0xe7fb7a(0xaf)]){const _0x420ea9=this[_0xe7fb7a(0xde)][_0xe7fb7a(0xb1)](_0x532e95);_0x420ea9&&_0x1f3d2e(_0x420ea9[_0xe7fb7a(0x113)](_0xe7fb7a(0xce))||_0x420ea9);}else{if(_0xe7fb7a(0x98)===this[_0xe7fb7a(0xaf)]){const _0x14a5ff=this[_0xe7fb7a(0xa2)](_0x532e95);if(!_0x14a5ff)return;_0xa4a57a({'target':_0x14a5ff,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
23
|
+
const _0x14b87a=_0x9dd7;(function(_0x593fe7,_0x1b1eea){const _0xa7e57b=_0x9dd7,_0x2dcc90=_0x593fe7();while(!![]){try{const _0x297666=parseInt(_0xa7e57b(0x141))/0x1*(parseInt(_0xa7e57b(0x147))/0x2)+-parseInt(_0xa7e57b(0x10d))/0x3*(parseInt(_0xa7e57b(0xb5))/0x4)+parseInt(_0xa7e57b(0x140))/0x5*(-parseInt(_0xa7e57b(0xe7))/0x6)+-parseInt(_0xa7e57b(0x107))/0x7+parseInt(_0xa7e57b(0xbd))/0x8*(-parseInt(_0xa7e57b(0x114))/0x9)+parseInt(_0xa7e57b(0x145))/0xa*(parseInt(_0xa7e57b(0x101))/0xb)+parseInt(_0xa7e57b(0xeb))/0xc;if(_0x297666===_0x1b1eea)break;else _0x2dcc90['push'](_0x2dcc90['shift']());}catch(_0x1ac950){_0x2dcc90['push'](_0x2dcc90['shift']());}}}(_0x5896,0x7ddc5));import{ContextPlugin as _0x93ccc1}from'ckeditor5/src/core.js';import{CKEditorError as _0x57635f,logError as _0x533e64,scrollAncestorsToShowTarget as _0x45b623,scrollViewportToShowTarget as _0x800517}from'ckeditor5/src/utils.js';function _0x5896(){const _0x154971=['data','11500erQEPH','1PPQDXu','processedResultsCount','hasModifications','getReviewCheckList','22730SnMzoe','_aiReviewCoreUi','968272rWkncn','status','error-chunk','source','markAllChangesAsAccepted','markChangeAsPending','message','clearAllMarkers','switchToEdit','_onChangeMarkerRemoved','panel','ck-ai-translate-mode-content','AIConnector','4pJRCCK','args','_aiReviewCheckList','changeMarkerBlurred','contentNew','_changeActivationSource','setCheckResultTitle','closest','8HAjjKl','showCheckRunResults','start','deactivateChange','_getChecksList','showGeneralReviewCoreErrorView','changeMarkerRemoved','emitter','includes','setAvailableChecks','_aiConnector','_onChangeMarkerBlurred','ai-review-mode-models-unable-to-retrieve','changeMarkerClicked','acceptAllChanges','activateChange','showGeneralResultsErrorView','_markChangePositionInEditorContent','_onChangeMarkerRestored','finishReview','_onReviewCheckRun','contentInitial','_aiReviewCoreEditing','changeId','ai-review-mode-check-run-failed','ready','updateDocumentData','map','params','changeMarkerHovered','requires','isPremiumPlugin','getRoot','title','getCheckById','leaveReviewCoreResultList','addResultChanges','sendRating','runReviewCheck','leaveReview','ck-ai_review-diff','acceptChange','1128CvOvLk','subTitle','_diffContent','init','16854900rcMCzm','get','aborted','stopListening','_onCheckRunFinished','_onChangeMarkerClicked','checks','result','abortReviewStream','showReviewCheckList','reviewCheckRunUpdated','rejectChange','_onReviewCheckResultDeactivated','document','showActionsWhenResultIsReady','isOfficialPlugin','dismissChange','_onReviewRunLeave','ck-ai_review-highlights','forceReadyState','showChunkErrorView','content','2013HcltNI','ai-request-aborted','startsWith','_currentReviewCheckRun','_initRequiredPlugins','reviewCheckResultChangeStatusUpdated','4814404qNtSQy','_onActivateChange','_createReviewCheckRun','ai-review-mode-check-run-general-error','documentData','changeMarkerRestored','339744uBwQlA','listenTo','hideChangeBalloon','markChangeAsAccepted','removeClass','_onReviewCheckResultActivated','view','5001525SzCisf','_scrollToChange','context','showReviewCompletedView','restart','showNoChangesView','unmodified','_onDeactivateChange','ai-review-mode-check-run-chunk-error','getEditor','changes','locale','abort','isChangeActive','getChangeElement','reviewCheckResultDeactivated','loading','_getTranslationWithDefault','updateChangeState','.ck-ai_review__check-run-result','finished','change','error-general','getDocumentData','applyChange','_logError','reviewCheckResultAdded','reviewCheckResultActivated','_onChangeMarkerHovered','_getChangeContentElement','length','switchToReadOnly','ai-review-mode-no-current-check-run','markChangeAsRejected','plugins','editing','markChangeAsOutdated','showCheckRunResult','getActiveChanges','reviewCheckResultReady','retryReview','ai-review-mode-source-check-not-found','currentError'];_0x5896=function(){return _0x154971;};return _0x5896();}function _0x9dd7(_0xb1ba33,_0x1fe01b){const _0x58961c=_0x5896();return _0x9dd7=function(_0x9dd71e,_0x517072){_0x9dd71e=_0x9dd71e-0xac;let _0x28a4b2=_0x58961c[_0x9dd71e];return _0x28a4b2;},_0x9dd7(_0xb1ba33,_0x1fe01b);}import{AIReviewSystemCheckRun as _0x3bcd3f}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x140c57}from'../aicore/utils/common-translations.js';import{AIConnector as _0x20126e}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x93ccc1{[_0x14b87a(0xc7)];[_0x14b87a(0x146)];[_0x14b87a(0xd3)];[_0x14b87a(0xb7)];[_0x14b87a(0x104)];[_0x14b87a(0xba)]=null;static get[_0x14b87a(0xdb)](){return[_0x20126e];}static get[_0x14b87a(0xfa)](){return!0x0;}static get[_0x14b87a(0xdc)](){return!0x0;}async[_0x14b87a(0xea)](){const _0x319d95=_0x14b87a;this[_0x319d95(0x105)](),this[_0x319d95(0xb7)]=await this[_0x319d95(0xc1)](),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0x144),()=>{const _0x96fa19=_0x319d95;this[_0x96fa19(0x146)][_0x96fa19(0xc6)](this[_0x96fa19(0xb7)][_0x96fa19(0xf1)]);}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0xe3),async(_0x221b84,_0x47b888)=>{const _0x5e0158=_0x319d95,_0x22fb9f=this[_0x5e0158(0xb7)][_0x5e0158(0xdf)](_0x47b888['id']);if(_0x22fb9f){this[_0x5e0158(0xd1)](_0x47b888),this[_0x5e0158(0xd3)][_0x5e0158(0x133)](),this[_0x5e0158(0x104)]=this[_0x5e0158(0x109)](_0x47b888,_0x22fb9f),this[_0x5e0158(0x146)][_0x5e0158(0xbb)](this[_0x5e0158(0x104)][_0x5e0158(0xde)],this[_0x5e0158(0x104)][_0x5e0158(0xe8)]),this[_0x5e0158(0x104)]['on'](_0x5e0158(0xf5),(_0x2b89b9,_0x39214f)=>{const _0x5cf83a=_0x5e0158;switch(_0x39214f[_0x5cf83a(0x148)]){case _0x5cf83a(0x13f):case _0x5cf83a(0x124):this[_0x5cf83a(0x146)][_0x5cf83a(0xbe)](_0x39214f);break;case _0x5cf83a(0x128):this[_0x5cf83a(0xef)]();break;case _0x5cf83a(0xd6):this[_0x5cf83a(0x146)][_0x5cf83a(0xf9)]();break;case _0x5cf83a(0x11a):this[_0x5cf83a(0x146)][_0x5cf83a(0x119)]();break;case _0x5cf83a(0x12a):this[_0x5cf83a(0x146)][_0x5cf83a(0xcd)](),this[_0x5cf83a(0x12d)](new _0x57635f(_0x5cf83a(0x10a),this,void 0x0,this[_0x5cf83a(0x104)]?.[_0x5cf83a(0x13e)]));break;case _0x5cf83a(0x149):this[_0x5cf83a(0x146)][_0x5cf83a(0xff)](),this[_0x5cf83a(0x12d)](new _0x57635f(_0x5cf83a(0x11c),this,void 0x0,this[_0x5cf83a(0x104)]?.[_0x5cf83a(0x13e)]));break;case _0x5cf83a(0xed):this[_0x5cf83a(0x104)]&&this[_0x5cf83a(0x104)][_0x5cf83a(0x142)]>0x0?setTimeout(()=>{const _0x187cbe=_0x5cf83a;this[_0x187cbe(0x104)]?.[_0x187cbe(0xfe)]();},0x0):this[_0x5cf83a(0xfc)](!0x0);}_0x5cf83a(0xd6)!==_0x39214f[_0x5cf83a(0x148)]&&_0x5cf83a(0x149)!==_0x39214f[_0x5cf83a(0x148)]&&_0x5cf83a(0x12a)!==_0x39214f[_0x5cf83a(0x148)]||this[_0x5cf83a(0x104)]?.[_0x5cf83a(0xe2)]();}),this[_0x5e0158(0x104)]['on'](_0x5e0158(0x12e),(_0x4fc4a4,_0x383c0b)=>{const _0x326977=_0x5e0158;if(!this[_0x326977(0x104)])throw new _0x57635f(_0x326977(0x134),this);const _0x219753=this[_0x326977(0xe9)](_0x383c0b[_0x326977(0xf2)][_0x326977(0xd2)],_0x383c0b[_0x326977(0xf2)][_0x326977(0xb9)]);_0x383c0b[_0x326977(0x14a)][_0x326977(0xe1)](_0x383c0b[_0x326977(0xf2)]['id'],_0x219753);}),this[_0x5e0158(0x104)]['on'](_0x5e0158(0x13b),(_0x505786,_0x18c6c0)=>{const _0x74f801=_0x5e0158;for(const _0xb1c601 of _0x18c6c0[_0x74f801(0x11e)])this[_0x74f801(0x146)][_0x74f801(0x139)](_0xb1c601);this[_0x74f801(0xce)](_0x18c6c0[_0x74f801(0x11e)],_0x18c6c0[_0x74f801(0x14a)][_0x74f801(0x10b)]);}),this[_0x5e0158(0x104)]['on'](_0x5e0158(0x106),(_0xaacec1,_0xbc2e83)=>{const _0x48450d=_0x5e0158;this[_0x48450d(0x146)][_0x48450d(0x126)](_0xbc2e83[_0x48450d(0x129)]['id'],_0xbc2e83[_0x48450d(0x148)]);}),this[_0x5e0158(0x104)]['on'](_0x5e0158(0x12f),(_0x20e108,_0x3055c5)=>{const _0x9f0694=_0x5e0158;this[_0x9f0694(0x112)](_0x3055c5);}),this[_0x5e0158(0x104)]['on'](_0x5e0158(0x123),()=>{const _0x71c095=_0x5e0158;this[_0x71c095(0xf7)]();});try{await this[_0x5e0158(0x104)][_0x5e0158(0xbf)]();}catch(_0x3b0ba0){_0x3b0ba0 instanceof Error&&_0x3b0ba0[_0x5e0158(0xae)][_0x5e0158(0xc5)](_0x5e0158(0x102))||(_0x3b0ba0 instanceof _0x57635f?this[_0x5e0158(0x12d)](_0x3b0ba0):this[_0x5e0158(0x12d)](new _0x57635f(_0x5e0158(0xd5),this,void 0x0,_0x3b0ba0)));}}else this[_0x5e0158(0x12d)](new _0x57635f(_0x5e0158(0x13d),this,{'checkId':_0x47b888['id']}));}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0xe4),()=>{const _0x1865df=_0x319d95;this[_0x1865df(0xfc)]();}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0xe0),()=>{const _0x4df273=_0x319d95;this[_0x4df273(0xfc)](!0x0);}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0xf3),()=>{const _0x5c70b8=_0x319d95;this[_0x5c70b8(0x104)]&&this[_0x5c70b8(0x104)][_0x5c70b8(0x120)]();}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0xd0),()=>{const _0x48a3da=_0x319d95;this[_0x48a3da(0xfc)](!0x0);}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0xcb),()=>{const _0x54fb79=_0x319d95;if(!this[_0x54fb79(0x104)])return;const _0x5559de=this[_0x54fb79(0x104)][_0x54fb79(0x13a)]();if(!_0x5559de[_0x54fb79(0x132)])return;this[_0x54fb79(0xd3)][_0x54fb79(0x12c)](_0x5559de[_0x54fb79(0xd8)](_0x24c164=>_0x24c164['id']));const _0x406dac=this[_0x54fb79(0x104)];_0x406dac[_0x54fb79(0xac)](),_0x406dac[_0x54fb79(0xe2)]();}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0xe6),(_0x337c64,_0x3592fe)=>{const _0x3340a1=_0x319d95;this[_0x3340a1(0x104)]&&this[_0x3340a1(0x104)][_0x3340a1(0x121)](_0x3592fe['id'])&&(this[_0x3340a1(0xd3)][_0x3340a1(0x12c)]([_0x3592fe['id']]),this[_0x3340a1(0x104)][_0x3340a1(0x110)](_0x3592fe['id']),this[_0x3340a1(0x146)][_0x3340a1(0x10f)](),this[_0x3340a1(0x104)][_0x3340a1(0xe2)](_0x3592fe['id']));}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0xfb),(_0x2bd908,_0x36e536)=>{const _0x21a485=_0x319d95;this[_0x21a485(0x104)]&&this[_0x21a485(0x104)][_0x21a485(0x121)](_0x36e536['id'])&&(this[_0x21a485(0xd3)][_0x21a485(0xf6)](_0x36e536['id']),this[_0x21a485(0x104)][_0x21a485(0x135)](_0x36e536['id']),this[_0x21a485(0x146)][_0x21a485(0x10f)](),this[_0x21a485(0x104)][_0x21a485(0xe2)](_0x36e536['id']));}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0x13c),async()=>{const _0x147390=_0x319d95;this[_0x147390(0x104)]&&(this[_0x147390(0xd3)][_0x147390(0xaf)](),this[_0x147390(0x104)][_0x147390(0xd7)](this[_0x147390(0xd3)][_0x147390(0x12b)]()),await this[_0x147390(0x104)][_0x147390(0x118)]());}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0xcc),(_0x2781b7,_0x3ddcb6)=>{const _0x4a32aa=_0x319d95;this[_0x4a32aa(0x108)](_0x3ddcb6);}),this[_0x319d95(0x10e)](this[_0x319d95(0x146)],_0x319d95(0xc0),(_0x1db370,_0x1a23d0)=>{const _0x3d499b=_0x319d95;this[_0x3d499b(0x11b)](_0x1a23d0);}),this[_0x319d95(0x10e)](this[_0x319d95(0xd3)][_0x319d95(0xc4)],_0x319d95(0xca),(_0xc7b42c,_0x29ab31)=>{const _0xed6c97=_0x319d95;this[_0xed6c97(0xf0)](_0xc7b42c,_0x29ab31);}),this[_0x319d95(0x10e)](this[_0x319d95(0xd3)][_0x319d95(0xc4)],_0x319d95(0xda),(_0x591b7d,_0x26e0ed)=>{const _0x116c7f=_0x319d95;this[_0x116c7f(0x130)](_0x591b7d,_0x26e0ed);}),this[_0x319d95(0x10e)](this[_0x319d95(0xd3)][_0x319d95(0xc4)],_0x319d95(0xb8),()=>{const _0x388f6d=_0x319d95;this[_0x388f6d(0xc8)]();}),this[_0x319d95(0x10e)](this[_0x319d95(0xd3)][_0x319d95(0xc4)],_0x319d95(0xc3),(_0x494cb8,_0x378456)=>{const _0x24d74d=_0x319d95;this[_0x24d74d(0xb1)](_0x494cb8,_0x378456);}),this[_0x319d95(0x10e)](this[_0x319d95(0xd3)][_0x319d95(0xc4)],_0x319d95(0x10c),(_0x31bb2a,_0x2b3813)=>{const _0x4dd976=_0x319d95;this[_0x4dd976(0xcf)](_0x31bb2a,_0x2b3813);});}[_0x14b87a(0x109)](_0x58cf92,_0x4efc73){const _0x2af0a5=_0x14b87a;return new _0x3bcd3f(this[_0x2af0a5(0xd3)][_0x2af0a5(0x12b)](),_0x4efc73,this[_0x2af0a5(0xc7)],_0x58cf92[_0x2af0a5(0xd9)],_0x58cf92[_0x2af0a5(0xb6)]);}[_0x14b87a(0xb1)](_0x1838b2,_0x523bff){const _0x3e994a=_0x14b87a;this[_0x3e994a(0x104)]&&this[_0x3e994a(0x104)][_0x3e994a(0x138)](_0x523bff[_0x3e994a(0xd4)]);}[_0x14b87a(0xcf)](_0x29b9e8,_0x453ac0){const _0x4565b3=_0x14b87a;this[_0x4565b3(0x104)]&&this[_0x4565b3(0x104)][_0x4565b3(0xad)](_0x453ac0[_0x4565b3(0xd4)]);}[_0x14b87a(0xef)](){const _0x4d4152=_0x14b87a;this[_0x4d4152(0x146)][_0x4d4152(0x117)]();}[_0x14b87a(0x105)](){const _0x45e58b=_0x14b87a;this[_0x45e58b(0xc7)]=this[_0x45e58b(0x116)][_0x45e58b(0x136)][_0x45e58b(0xec)](_0x45e58b(0xb4));}[_0x14b87a(0xfc)](_0x4254d6=!0x1){const _0x420757=_0x14b87a;this[_0x420757(0x104)]&&(this[_0x420757(0x104)][_0x420757(0x143)]||this[_0x420757(0x104)][_0x420757(0xe2)](),this[_0x420757(0x104)][_0x420757(0xee)](),this[_0x420757(0x104)][_0x420757(0x120)](),this[_0x420757(0x104)]=void 0x0),_0x4254d6&&this[_0x420757(0x146)][_0x420757(0xf4)](),this[_0x420757(0xd3)][_0x420757(0xaf)](),this[_0x420757(0xd3)][_0x420757(0xb0)](),this[_0x420757(0xba)]=null;const _0x5b0264=this[_0x420757(0xd3)][_0x420757(0x11d)]();_0x5b0264&&_0x5b0264[_0x420757(0x137)][_0x420757(0x113)][_0x420757(0x129)](_0x2f1775=>{const _0xedec0c=_0x420757,_0x486e30=_0x5b0264[_0xedec0c(0x137)][_0xedec0c(0x113)][_0xedec0c(0xf8)][_0xedec0c(0xdd)]();_0x2f1775[_0xedec0c(0x111)](_0xedec0c(0xe5),_0x486e30),_0x2f1775[_0xedec0c(0x111)](_0xedec0c(0xfd),_0x486e30),_0x2f1775[_0xedec0c(0x111)](_0xedec0c(0xb3),_0x486e30);});}[_0x14b87a(0x125)](_0x2cd278,_0x4c59a2){const _0x387202=_0x14b87a,_0x487543=this[_0x387202(0x116)][_0x387202(0x11f)],_0x3dfb08=_0x140c57(_0x487543,_0x2cd278);return _0x3dfb08===_0x2cd278?_0x4c59a2:_0x3dfb08;}[_0x14b87a(0x12d)](_0x4731ea,_0x5bdd7a=!0x1){const _0x26d123=_0x14b87a;_0x533e64(_0x4731ea[_0x26d123(0xae)]),_0x5bdd7a||(_0x4731ea[_0x26d123(0xae)][_0x26d123(0x103)](_0x26d123(0xc9))?this[_0x26d123(0x146)][_0x26d123(0xc2)]():this[_0x26d123(0x146)][_0x26d123(0xcd)]());}[_0x14b87a(0x115)](_0x313499){const _0x4870ac=_0x14b87a;if(_0x4870ac(0x100)===this[_0x4870ac(0xba)]){const _0x393b5c=this[_0x4870ac(0x146)][_0x4870ac(0x122)](_0x313499);_0x393b5c&&_0x45b623(_0x393b5c[_0x4870ac(0xbc)](_0x4870ac(0x127))||_0x393b5c);}else{if(_0x4870ac(0xb2)===this[_0x4870ac(0xba)]){const _0x314dcd=this[_0x4870ac(0x131)](_0x313499);if(!_0x314dcd)return;_0x800517({'target':_0x314dcd,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b80cf=_0x2c91;(function(_0x48aa74,_0x265dca){const _0x4a8b77=_0x2c91,_0x959d7f=_0x48aa74();while(!![]){try{const _0x50ade4=parseInt(_0x4a8b77(0x1d7))/0x1+-parseInt(_0x4a8b77(0x176))/0x2*(-parseInt(_0x4a8b77(0x1f8))/0x3)+-parseInt(_0x4a8b77(0x16b))/0x4*(parseInt(_0x4a8b77(0x135))/0x5)+parseInt(_0x4a8b77(0x1e7))/0x6*(-parseInt(_0x4a8b77(0x201))/0x7)+parseInt(_0x4a8b77(0x19b))/0x8*(-parseInt(_0x4a8b77(0x13c))/0x9)+parseInt(_0x4a8b77(0x226))/0xa*(parseInt(_0x4a8b77(0x180))/0xb)+parseInt(_0x4a8b77(0x166))/0xc;if(_0x50ade4===_0x265dca)break;else _0x959d7f['push'](_0x959d7f['shift']());}catch(_0x237a41){_0x959d7f['push'](_0x959d7f['shift']());}}}(_0x4c1c,0x37bdf));function _0x4c1c(){const _0x434ba7=['data','isPremiumPlugin','has','getChildren','isTouching','change','insert','changeMarkerRestored','_createGetContentFn','_getChangeContext','_eventEmitter','5860740chdfOE','emitter','isIntersecting','size','getEditableElement','14828YTCmbW','body','root','closest','_removeChildren','enableReadOnlyMode','type','_haveSingleTopLevelElement','_domEmitter','reconvertMarker','insertContent','2GMcKsf','for','index','removeMarker','processor','operationsA','createRangeIn','parent','howMany','createUIElement','11ZqKZgg','_validateMarkers','$graveyard','ck-ai_review-marker_context-start','containerElement','setMarkersInElementAsActive','_handleMarkerChanges','innerHTML','getStart','baseVersion','suggestion-context','add','remove','set','concat','addOperation','No\x20element\x20found\x20for\x20ID:\x20','document','changeMarkerBlurred','ck-ai_review-marker_underline','_shiftOperation','_changeRange','warn','clear','newRange','createPositionAt','changeMarkerClicked','20216Fuqdjg','pop','isDocumentOperation','elements','requires','jumpTo','_appendChild','\x20ck-ai_review__change_active','markChangePositionInEditorContent','_haveOnlyInlineContent','getChangedMarkers','_changeRangeOwnerDocument','_upsertDataId','length','remove-context','isLimit','markerToHighlight','startsWith','$textProxy','changeMarkerRemoved','createRawElement','ck-ai_review__change_active','flat','className','domConverter','$markedRemove','toData','map','attributeToAttribute','ck-ai_review-marker_strikethrough','_markers','nodes','offset','switchToEdit','content','getDiff','differ','changeMarkerHovered','editing','exec','DocumentCompare','setAllMarkersAsInactive','disableReadOnlyMode','getRoot','filter','markerToElement','_getMarkersDataForGroup','outside','ellipsisBefore','dataDowncast','start','_findAdjacentContextDistance','viewToDom','_getPositionLimitingRange','includes','containsRange','conversion','relatedTarget','version','childCount','204654ivkhwe','keys','from','ellipsisAfter','_hasSameTopLevelElement','getRange','_parseMarkerName','fire','ck-ai_review-marker_context-','data-marker-id','highest','$root','push','every','createRange','span','96pjMhWt','htmlProcessor','join','_changePositionOwnerDocument','suggestion:insertion:id:authorId:','isOfficialPlugin','_getOperationStart','$markedRemove:synthetic','htmlWriter','split','marker','rootName','toDomElement','forward','registerPostFixer','review-','operationsIsolated','1331139MNbOXq','ck-ai_review-marker_hide','_sortMarkers','_findMarkerElement','isInline','_groupAdjacentOperations','values','path','append','170954sIoBXB','affectsData','toView','asFragment','model','clearAllMarkers','clone','_activeMarkers','isOpening','createDocumentFragment','getMarkerElementForChange','createRangeOn','_createGetContextFn','stringify','rejectChange','oldRange','isAtStart','inside','_clone','listenTo','reactivateMarkers','.ck-reset.ck-ai_review-balloon-panel-suggestion','$documentFragment','name','position','_translateOperationToEditorContent','editingDowncast','ck-ai_review-marker_context-end','suggestion:deletion:id:authorId:','operations','hasClass','getEditor','hasAttribute','createPositionAfter','getAttribute','getChanges','get','3088930yrYZKk','schema','outerHTML','[data-marker-id=\x22','hasContentBefore','[data-id=\x22','getShiftedBy','backward','element','afterInit','_removeAttribute','mouseup','deleteContent','parse','getDocumentData','ai-review','isBlock','_changePosition','getOperations','downcast','_insertMarkers','getRoots','target','markerName','switchToReadOnly','getHtml','applyOperation','getPath','ck-ai_review-marker_','_setAttribute','parentElement','590IQstcE','pluginName','markers','ck-ai_review-marker_add','remove-text','mouseover','remove-only','1386bjmoIb','hasContentAfter','_findMarkerElementById','plugins','_changeOperationOwnerDocument','offsetSize','AIEditing','groupId','documentFragment','AIReviewCoreEditing','applyChange','view','_getOperationEnd','querySelector','getContentElementForChange','_createGetContentUsingDataIdFn','addMarker','forEach','isAtEnd','sort','asString','context','diffContent','end','history','getDomRoot','_nextDataId','batch','createSelection','getChild','delete'];_0x4c1c=function(){return _0x434ba7;};return _0x4c1c();}import{InsertOperation as _0x2e6f74,MarkerOperation as _0x485bcf,ModelDocumentFragment as _0x45e517,ModelPosition as _0x13f269,ModelRange as _0x381b78,ModelTreeWalker as _0x118fed,transformOperationSets as _0x72b7}from'ckeditor5/src/engine.js';function _0x2c91(_0x54f66a,_0xb2057d){const _0x4c1cb4=_0x4c1c();return _0x2c91=function(_0x2c916e,_0x3be4df){_0x2c916e=_0x2c916e-0x135;let _0x3cfd30=_0x4c1cb4[_0x2c916e];return _0x3cfd30;},_0x2c91(_0x54f66a,_0xb2057d);}import{DomEmitterMixin as _0x1c4bbb,EmitterMixin as _0x16b894,uid as _0x4e836f}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x4f2a6f}from'ckeditor5/src/core.js';import{DocumentCompare as _0x168c46,DATA_ID_MODEL_ATTRIBUTE as _0x4bf084,DATA_ID_VIEW_ATTRIBUTE as _0x47e0b6,getMarkerDomElement as _0x172742}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0xbcf86}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xdba407}from'../aicore/aiediting.js';import{debounce as _0x408cfc}from'es-toolkit/compat';const Ht=_0x1b80cf(0x1f6);export class AIReviewCoreEditing extends _0x4f2a6f{static get[_0x1b80cf(0x19f)](){return[_0x168c46,_0xdba407];}static get[_0x1b80cf(0x136)](){const _0x1ba4f5=_0x1b80cf;return _0x1ba4f5(0x145);}static get[_0x1b80cf(0x1ec)](){return!0x0;}static get[_0x1b80cf(0x15c)](){return!0x0;}[_0x1b80cf(0x1b9)]=new Map();[_0x1b80cf(0x208)]=new Set();[_0x1b80cf(0x173)];[_0x1b80cf(0x165)];constructor(_0x3f999f){const _0x1abf46=_0x1b80cf;super(_0x3f999f),this[_0x1abf46(0x173)]=new(_0x1c4bbb())(),this[_0x1abf46(0x165)]=new(_0x16b894())();}get[_0x1b80cf(0x167)](){const _0x58452e=_0x1b80cf;return this[_0x58452e(0x165)];}[_0x1b80cf(0x22f)](){const _0x38283c=_0x1b80cf,_0x270416=_0xbcf86(this[_0x38283c(0x151)]);_0x270416[_0x38283c(0x1d3)][_0x38283c(0x177)](_0x38283c(0x21b))[_0x38283c(0x1c8)]({'model':Ht+_0x38283c(0x161),'view':(_0x10eacd,{writer:_0x6a69d3})=>{const _0x42278b=_0x38283c,_0x3bf7df=this[_0x42278b(0x1b9)][_0x42278b(0x225)](_0x10eacd[_0x42278b(0x23d)]),_0x352ffe={'class':_0x42278b(0x138)+(this[_0x42278b(0x208)][_0x42278b(0x15d)](_0x3bf7df?.['id']||'')?_0x42278b(0x1a2):''),'data-marker-id':_0x10eacd[_0x42278b(0x23d)]};return _0x6a69d3[_0x42278b(0x17f)](_0x42278b(0x1e6),_0x352ffe,function(_0x455c4d){const _0x994d22=_0x42278b,_0x323413=this[_0x994d22(0x1f3)](_0x455c4d);return _0x323413[_0x994d22(0x187)]=_0x3bf7df?.[_0x994d22(0x1bd)]?.[_0x994d22(0x150)]||'',_0x323413;});}}),_0x270416[_0x38283c(0x1d3)][_0x38283c(0x177)](_0x38283c(0x21b))[_0x38283c(0x1ab)]({'model':Ht+_0x38283c(0x13b),'view':_0x4ad2c1=>{const _0x5135e8=_0x38283c,_0x40923d=this[_0x5135e8(0x1b9)][_0x5135e8(0x225)](_0x4ad2c1[_0x5135e8(0x23d)]),_0x42ec0e=[_0x5135e8(0x1b8)];return this[_0x5135e8(0x208)][_0x5135e8(0x15d)](_0x40923d?.['id']||'')&&_0x42ec0e[_0x5135e8(0x1e3)](_0x5135e8(0x1b0)),{'classes':_0x42ec0e,'attributes':{'data-marker-id':_0x4ad2c1[_0x5135e8(0x23d)]}};}}),_0x270416[_0x38283c(0x1d3)][_0x38283c(0x177)](_0x38283c(0x21b))[_0x38283c(0x1ab)]({'model':Ht+_0x38283c(0x1a9),'view':_0x3d201d=>{const _0x38db59=_0x38283c,_0x49965a=this[_0x38db59(0x1b9)][_0x38db59(0x225)](_0x3d201d[_0x38db59(0x23d)]),_0x1c0a03=[_0x38db59(0x193)];return this[_0x38db59(0x208)][_0x38db59(0x15d)](_0x49965a?.['id']||'')&&_0x1c0a03[_0x38db59(0x1e3)](_0x38db59(0x1b0)),{'classes':_0x1c0a03,'attributes':{'data-marker-id':_0x3d201d[_0x38db59(0x23d)]}};}}),_0x270416[_0x38283c(0x1d3)][_0x38283c(0x177)](_0x38283c(0x21b))[_0x38283c(0x1ab)]({'model':Ht+_0x38283c(0x139),'view':_0x1058d3=>{const _0x459e00=_0x38283c,_0x323f18=this[_0x459e00(0x1b9)][_0x459e00(0x225)](_0x1058d3[_0x459e00(0x23d)]),_0x489221=[_0x459e00(0x1f9)];return this[_0x459e00(0x208)][_0x459e00(0x15d)](_0x323f18?.['id']||'')&&_0x489221[_0x459e00(0x1e3)](_0x459e00(0x1b0)),{'classes':_0x489221,'attributes':{'data-marker-id':_0x1058d3[_0x459e00(0x23d)]}};}}),_0x270416[_0x38283c(0x1d3)][_0x38283c(0x177)](_0x38283c(0x1cc))[_0x38283c(0x1c8)]({'model':Ht+_0x38283c(0x18a),'view':(_0x2ec6be,{writer:_0x916213})=>_0x916213[_0x38283c(0x1af)](_0x38283c(0x1e6),{'class':_0x38283c(0x1df)+(_0x2ec6be[_0x38283c(0x209)]?_0x38283c(0x1cd):_0x38283c(0x153))})}),_0x270416[_0x38283c(0x1d3)][_0x38283c(0x177)](_0x38283c(0x239))[_0x38283c(0x1b7)]({'model':_0x4bf084,'view':_0x47e0b6});const _0x391833=_0x270416['ui'][_0x38283c(0x16a)]()||document[_0x38283c(0x16c)];this[_0x38283c(0x173)][_0x38283c(0x214)](_0x391833,_0x38283c(0x231),(_0x1d9be8,_0x5c461c)=>{const _0x8faeed=_0x38283c,_0x3506d3=_0x5c461c[_0x8faeed(0x23c)],_0x3a85b4=this[_0x8faeed(0x1fb)](_0x3506d3);if(!_0x3a85b4)return;const _0x53e55f=_0x3a85b4[_0x8faeed(0x223)](_0x8faeed(0x1e0)),_0xd3e68c=_0x53e55f[_0x8faeed(0x1f0)](':')[_0x8faeed(0x19c)]()?.[_0x8faeed(0x1f0)]('_')[0x0];this[_0x8faeed(0x165)][_0x8faeed(0x1de)](_0x8faeed(0x19a),{'markerId':_0x53e55f,'changeId':_0xd3e68c,'markerElement':()=>this[_0x8faeed(0x13e)](_0x53e55f),'domEvent':_0x5c461c});},{'usePassive':!0x0,'priority':_0x38283c(0x1e1)}),this[_0x38283c(0x173)][_0x38283c(0x214)](_0x391833,_0x38283c(0x13a),(_0x2f7b2d,_0x50876e)=>{const _0x1f9090=_0x38283c,_0x39d852=_0x50876e[_0x1f9090(0x23c)],_0x216001=_0x50876e[_0x1f9090(0x1d4)];let _0x3e0fd7=this[_0x1f9090(0x1fb)](_0x39d852);if(!_0x3e0fd7&&_0x216001&&(_0x3e0fd7=this[_0x1f9090(0x1fb)](_0x216001)),!_0x3e0fd7)return;const _0xf5f087=_0x3e0fd7[_0x1f9090(0x223)](_0x1f9090(0x1e0)),_0x4b7ace=_0xf5f087[_0x1f9090(0x1f0)](':')[_0x1f9090(0x19c)]()?.[_0x1f9090(0x1f0)]('_')[0x0];this[_0x1f9090(0x165)][_0x1f9090(0x1de)](_0x1f9090(0x1c0),{'changeId':_0x4b7ace,'markerElement':()=>this[_0x1f9090(0x13e)](_0xf5f087),'domEvent':_0x50876e});}),this[_0x38283c(0x173)][_0x38283c(0x214)](document,_0x38283c(0x13a),_0x408cfc((_0x37e6e5,_0x516cf9)=>{const _0x283b79=_0x38283c,_0x3b9605=_0x516cf9[_0x283b79(0x23c)];if(this[_0x283b79(0x1fb)](_0x3b9605))return;_0x3b9605[_0x283b79(0x16e)](_0x283b79(0x216))||this[_0x283b79(0x165)][_0x283b79(0x1de)](_0x283b79(0x192));},0xc8)),_0x270416[_0x38283c(0x205)][_0x38283c(0x191)][_0x38283c(0x1f5)](_0x27ab67=>this[_0x38283c(0x181)](_0x270416,_0x27ab67)),_0x270416[_0x38283c(0x205)][_0x38283c(0x191)]['on'](_0x38283c(0x160),()=>this[_0x38283c(0x186)](_0x270416));}[_0x1b80cf(0x234)](){const _0xcec77d=_0x1b80cf,_0x5a18e1=this[_0xcec77d(0x151)][_0xcec77d(0x13f)][_0xcec77d(0x225)](_0xcec77d(0x142)),_0x238c29=_0xbcf86(this[_0xcec77d(0x151)]),_0x31c2ab=_0x238c29[_0xcec77d(0x205)],_0x52b09c=new _0x45e517();for(const _0x212aba of _0x31c2ab[_0xcec77d(0x191)][_0xcec77d(0x1c6)]()[_0xcec77d(0x15e)]()){const _0x36f007=_0x212aba[_0xcec77d(0x213)](!0x0);_0x52b09c[_0xcec77d(0x1a1)](_0x36f007);}for(const _0x194a1d of _0x31c2ab[_0xcec77d(0x137)])_0x52b09c[_0xcec77d(0x137)][_0xcec77d(0x18d)](_0x194a1d[_0xcec77d(0x218)],this[_0xcec77d(0x1a6)](_0x194a1d[_0xcec77d(0x1dc)]()[_0xcec77d(0x207)](),_0x52b09c));const _0x18861d=new _0x118fed({'ignoreElementEnd':!0x0,'startPosition':_0x31c2ab[_0xcec77d(0x199)](_0x52b09c,0x0)}),_0x438f64=new Set(),_0x457e21=new Map();for(const {item:_0x20a4f6}of _0x18861d){if(!_0x20a4f6['is'](_0xcec77d(0x1ad)))continue;const _0x3535f6=_0x20a4f6[_0xcec77d(0x17d)];if(_0x3535f6&&_0x3535f6['is'](_0xcec77d(0x22e))){const _0x2c6e54=this[_0xcec77d(0x1a7)](_0x3535f6,()=>_0x5a18e1[_0xcec77d(0x156)](_0x438f64));_0x438f64[_0xcec77d(0x18b)](_0x2c6e54);for(const _0x19d7d4 of _0x3535f6[_0xcec77d(0x15e)]())_0x19d7d4['is'](_0xcec77d(0x22e))&&_0x438f64[_0xcec77d(0x18b)](this[_0xcec77d(0x1a7)](_0x19d7d4,()=>_0x5a18e1[_0xcec77d(0x156)](_0x438f64)));let _0x21a49d=_0x3535f6;for(;_0x21a49d[_0xcec77d(0x17d)]&&!_0x21a49d[_0xcec77d(0x17d)]['is'](_0xcec77d(0x144));)_0x21a49d=_0x21a49d[_0xcec77d(0x17d)],_0x21a49d[_0xcec77d(0x221)](_0x4bf084)&&_0x21a49d[_0xcec77d(0x230)](_0x4bf084);_0x457e21[_0xcec77d(0x18d)](_0x2c6e54,{'path':_0x3535f6[_0xcec77d(0x241)](),'getContent':this[_0xcec77d(0x14b)](_0x21a49d[_0xcec77d(0x213)](!0x0),_0x2c6e54,_0x238c29[_0xcec77d(0x15b)])}),_0x18861d[_0xcec77d(0x1a0)](_0x31c2ab[_0xcec77d(0x222)](_0x3535f6));}}return{'content':_0x238c29[_0xcec77d(0x15b)][_0xcec77d(0x17a)][_0xcec77d(0x1b5)](_0x238c29[_0xcec77d(0x15b)][_0xcec77d(0x203)](_0x52b09c)),'version':_0x238c29[_0xcec77d(0x205)][_0xcec77d(0x191)][_0xcec77d(0x1d5)],'elements':_0x457e21};}[_0x1b80cf(0x152)](_0x33ad28,_0x904894,_0x2b338f=!0x1){const _0x59c68b=_0x1b80cf,_0x831c57=[],_0x418675=_0xbcf86(this[_0x59c68b(0x151)]),_0x43f5be=_0x418675[_0x59c68b(0x15b)][_0x59c68b(0x233)](_0x904894,_0x59c68b(0x217)),_0x1b1903=_0x418675[_0x59c68b(0x15b)][_0x59c68b(0x233)](_0x33ad28,_0x59c68b(0x217)),_0xa92505=_0x418675[_0x59c68b(0x205)][_0x59c68b(0x199)](_0x1b1903,0x0);if(this[_0x59c68b(0x172)](_0x43f5be)){if(!this[_0x59c68b(0x1db)](_0x1b1903,_0x43f5be))return _0x831c57;}else{const _0x48733c=_0x418675[_0x59c68b(0x205)][_0x59c68b(0x227)];if(!this[_0x59c68b(0x1a4)](_0x1b1903,_0x48733c)||!this[_0x59c68b(0x1a4)](_0x43f5be,_0x48733c))return _0x831c57;}const _0xf7fbc7=this[_0x59c68b(0x151)][_0x59c68b(0x13f)][_0x59c68b(0x225)](_0x59c68b(0x1c3))[_0x59c68b(0x1be)](_0x33ad28,_0x904894,{'anchor':_0xa92505,'markDeletions':!0x0})[_0x59c68b(0x238)]()[_0x59c68b(0x1c7)](_0x25aa7f=>_0x59c68b(0x161)===_0x25aa7f[_0x59c68b(0x171)]||_0x59c68b(0x1f1)===_0x25aa7f[_0x59c68b(0x171)]&&_0x25aa7f[_0x59c68b(0x218)][_0x59c68b(0x1ac)](_0x59c68b(0x1b4))),_0x87d46d=this[_0x59c68b(0x1fd)](_0xf7fbc7),_0x229fec=[];if(_0x2b338f){if(_0x87d46d[_0x59c68b(0x1a8)]){const _0x5b2443=_0x87d46d[0x0][_0x59c68b(0x21e)][0x0],_0x32c0be=_0x59c68b(0x161)===_0x5b2443[_0x59c68b(0x171)]?_0x5b2443[_0x59c68b(0x219)]:_0x5b2443[_0x59c68b(0x198)][_0x59c68b(0x1cd)],_0x4a2e5f=this[_0x59c68b(0x1d0)](_0x32c0be,_0x418675,_0x59c68b(0x212)),_0x7b04d6=_0x4a2e5f?_0x43f5be[_0x59c68b(0x159)](0x0)[_0x59c68b(0x15e)]():_0x43f5be[_0x59c68b(0x15e)](),_0x28353a=_0x4a2e5f||_0x418675[_0x59c68b(0x205)][_0x59c68b(0x17c)](_0x1b1903),_0x56cd41=[new _0x485bcf(_0x59c68b(0x1ee)+_0x4e836f(),null,_0x28353a,_0x418675[_0x59c68b(0x205)][_0x59c68b(0x191)][_0x59c68b(0x205)][_0x59c68b(0x137)],!0x0,_0x418675[_0x59c68b(0x205)][_0x59c68b(0x191)][_0x59c68b(0x1d5)]+0x1),new _0x2e6f74(_0x28353a[_0x59c68b(0x153)],_0x7b04d6,_0x418675[_0x59c68b(0x205)][_0x59c68b(0x191)][_0x59c68b(0x1d5)]+0x2)];_0x229fec[_0x59c68b(0x1e3)]({'operations':_0x56cd41,'operationsIsolated':_0x56cd41,'groupOffset':0x0});}}else _0x229fec[_0x59c68b(0x1e3)](..._0x87d46d);let _0x1c323a=0x0;return _0x418675[_0x59c68b(0x205)][_0x59c68b(0x160)](_0x13ed7d=>{const _0x2f5878=_0x59c68b;for(let _0xec6a9c=0x0;_0xec6a9c<_0x229fec[_0x2f5878(0x1a8)];_0xec6a9c++){const _0x58377b=_0x229fec[_0xec6a9c],_0x5b642e=_0x13ed7d[_0x2f5878(0x20a)]();for(const _0x35285b of _0x1b1903[_0x2f5878(0x15e)]())_0x13ed7d[_0x2f5878(0x200)](_0x35285b[_0x2f5878(0x213)](!0x0),_0x5b642e);for(const _0x228e3d of _0x58377b[_0x2f5878(0x1f7)])if(_0x2f5878(0x161)===_0x228e3d[_0x2f5878(0x171)]){const _0x252eee=_0x228e3d;_0x252eee[_0x2f5878(0x189)]=null,_0x252eee[_0x2f5878(0x19d)]=!0x1,this[_0x2f5878(0x140)](_0x252eee,_0x5b642e),_0x13ed7d[_0x2f5878(0x157)][_0x2f5878(0x18f)](_0x228e3d),_0x418675[_0x2f5878(0x205)][_0x2f5878(0x240)](_0x228e3d);const _0xef3cfd=_0x2f5878(0x1eb)+_0x1c323a++,_0x1990fb=_0x418675[_0x2f5878(0x205)][_0x2f5878(0x1e5)](_0x252eee[_0x2f5878(0x219)],_0x252eee[_0x2f5878(0x219)][_0x2f5878(0x22c)](_0x252eee[_0x2f5878(0x17e)]));_0x5b642e[_0x2f5878(0x137)][_0x2f5878(0x18d)](_0xef3cfd,_0x1990fb);}else{if(_0x2f5878(0x1f1)===_0x228e3d[_0x2f5878(0x171)]&&_0x228e3d[_0x2f5878(0x218)][_0x2f5878(0x1ac)](_0x2f5878(0x1b4))){const _0x4a00d5=_0x228e3d,_0x4082ac=_0x2f5878(0x21d)+_0x1c323a++;this[_0x2f5878(0x140)](_0x4a00d5,_0x5b642e),_0x5b642e[_0x2f5878(0x137)][_0x2f5878(0x18d)](_0x4082ac,_0x4a00d5[_0x2f5878(0x198)]);}}if(_0x2b338f)_0x831c57[_0x2f5878(0x1e3)]({..._0x58377b,'context':this[_0x2f5878(0x163)](_0x1b1903,_0x418675[_0x2f5878(0x15b)]),'content':this[_0x2f5878(0x163)](_0x1b1903,_0x418675[_0x2f5878(0x15b)])});else{const _0x2e5389=this[_0x2f5878(0x164)](this[_0x2f5878(0x1ea)](this[_0x2f5878(0x1ed)](_0x58377b[_0x2f5878(0x1f7)][0x0]),_0x5b642e),this[_0x2f5878(0x1ea)](this[_0x2f5878(0x148)](_0x58377b[_0x2f5878(0x1f7)][_0x58377b[_0x2f5878(0x1f7)][_0x2f5878(0x1a8)]-0x1]),_0x5b642e));_0x5b642e[_0x2f5878(0x137)][_0x2f5878(0x18d)](Ht+_0x2f5878(0x18a),new _0x381b78(_0x2e5389[_0x2f5878(0x1cd)],_0x2e5389[_0x2f5878(0x153)])),_0x831c57[_0x2f5878(0x1e3)]({..._0x58377b,'context':this[_0x2f5878(0x20d)](_0x5b642e,_0x418675[_0x2f5878(0x15b)],{'ellipsisBefore':_0x2e5389[_0x2f5878(0x22a)],'ellipsisAfter':_0x2e5389[_0x2f5878(0x13d)]}),'content':this[_0x2f5878(0x163)](_0x5b642e,_0x418675[_0x2f5878(0x15b)])});}}}),_0x831c57;}[_0x1b80cf(0x1a3)](_0x756ed9,_0x136eb0){const _0x5d619a=_0x1b80cf;if(!_0x756ed9[_0x5d619a(0x1a8)])return;const _0x36c703=_0x756ed9[0x0][_0x5d619a(0x17d)]['id'],_0x2fd268=_0x136eb0[_0x5d619a(0x19e)][_0x5d619a(0x225)](_0x36c703);if(!_0x2fd268)return void console[_0x5d619a(0x196)](_0x5d619a(0x190)+_0x36c703);const _0x14ad49=_0x2fd268[_0x5d619a(0x1ff)],_0x35471f=_0xbcf86(this[_0x5d619a(0x151)]),_0x9a8ea2=_0x35471f[_0x5d619a(0x205)][_0x5d619a(0x191)][_0x5d619a(0x154)][_0x5d619a(0x238)](_0x136eb0[_0x5d619a(0x1d5)]),_0x568513=[];for(const _0xf96f3f of _0x756ed9){const _0x23e616=_0xf96f3f[_0x5d619a(0x1f7)][_0x5d619a(0x1b6)](_0x20251b=>this[_0x5d619a(0x21a)](_0x20251b,_0x14ad49,_0x35471f[_0x5d619a(0x205)][_0x5d619a(0x191)][_0x5d619a(0x23b)]()[0x0]));if(!_0x23e616||!_0x23e616[_0x5d619a(0x1a8)])continue;const _0xf0f9f3=_0x23e616[_0x5d619a(0x1e4)](_0x510c80=>_0x5d619a(0x1f1)===_0x510c80[_0x5d619a(0x171)]&&_0x510c80[_0x5d619a(0x218)][_0x5d619a(0x1ac)](_0x5d619a(0x1b4))),_0x3a56b0={'document':_0x35471f[_0x5d619a(0x205)][_0x5d619a(0x191)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2c7321=_0x72b7(_0x23e616,_0x9a8ea2,_0x3a56b0)[_0x5d619a(0x17b)];for(const _0x431c0c of _0x2c7321)if(_0x5d619a(0x161)===_0x431c0c[_0x5d619a(0x171)]){const _0x4af6e8=_0x431c0c,_0x3ba3cb=_0x4af6e8[_0x5d619a(0x1ba)];_0x35471f[_0x5d619a(0x205)][_0x5d619a(0x160)](_0x524a32=>{const _0x2025c6=_0x5d619a,_0x38820f=_0x524a32[_0x2025c6(0x20a)]();for(const _0xad05fc of _0x3ba3cb)_0x524a32[_0x2025c6(0x200)](_0xad05fc[_0x2025c6(0x213)](!0x0),_0x38820f);_0x568513[_0x2025c6(0x1e3)]({'start':_0x4af6e8[_0x2025c6(0x219)],'end':_0x4af6e8[_0x2025c6(0x219)],'type':_0x2025c6(0x161),'groupId':_0xf96f3f['id'],'content':{'asString':this[_0x2025c6(0x163)](_0x38820f,_0x35471f[_0x2025c6(0x15b)])(),'asFragment':_0x38820f}});});}else{if(_0x5d619a(0x1f1)===_0x431c0c[_0x5d619a(0x171)]&&_0x431c0c[_0x5d619a(0x218)][_0x5d619a(0x1ac)](_0x5d619a(0x1b4))){const _0x2f24ae=_0x431c0c;let _0x252666=_0x5d619a(0x139);if(_0xf0f9f3){const _0x215b9a=this[_0x5d619a(0x1ce)](_0x2f24ae[_0x5d619a(0x198)][_0x5d619a(0x1cd)],_0x5d619a(0x22d),_0x35471f[_0x5d619a(0x205)][_0x5d619a(0x227)]),_0xd7858a=this[_0x5d619a(0x1ce)](_0x2f24ae[_0x5d619a(0x198)][_0x5d619a(0x153)],_0x5d619a(0x1f4),_0x35471f[_0x5d619a(0x205)][_0x5d619a(0x227)]);if(_0x215b9a||_0xd7858a){const _0x386c3b=_0x2f24ae[_0x5d619a(0x198)][_0x5d619a(0x1cd)][_0x5d619a(0x22c)](-_0x215b9a),_0x1b221e=_0x2f24ae[_0x5d619a(0x198)][_0x5d619a(0x153)][_0x5d619a(0x22c)](_0xd7858a);_0x568513[_0x5d619a(0x1e3)]({'start':_0x386c3b,'end':_0x1b221e,'groupId':_0xf96f3f['id'],'type':_0x5d619a(0x1a9)});}else _0x252666=_0x5d619a(0x13b);}_0x568513[_0x5d619a(0x1e3)]({'start':_0x2f24ae[_0x5d619a(0x198)][_0x5d619a(0x1cd)],'end':_0x2f24ae[_0x5d619a(0x198)][_0x5d619a(0x153)],'groupId':_0xf96f3f['id'],'type':_0x252666});}}}this[_0x5d619a(0x23a)](_0x568513);}[_0x1b80cf(0x206)](){const _0x4aa5b6=_0x1b80cf,_0x1c8153=_0xbcf86(this[_0x4aa5b6(0x151)]);_0x1c8153[_0x4aa5b6(0x205)][_0x4aa5b6(0x160)](_0x2ce44e=>{const _0x32f7da=_0x4aa5b6;for(const _0x84e449 of this[_0x32f7da(0x1b9)][_0x32f7da(0x1d8)]())_0x1c8153[_0x32f7da(0x205)][_0x32f7da(0x137)][_0x32f7da(0x225)](_0x84e449)&&_0x2ce44e[_0x32f7da(0x179)](_0x84e449);}),this[_0x4aa5b6(0x1b9)][_0x4aa5b6(0x197)](),this[_0x4aa5b6(0x208)][_0x4aa5b6(0x197)]();}[_0x1b80cf(0x23e)](){const _0x572d07=_0x1b80cf;_0xbcf86(this[_0x572d07(0x151)])[_0x572d07(0x170)](_0x572d07(0x235));}[_0x1b80cf(0x1bc)](){const _0x159380=_0x1b80cf;_0xbcf86(this[_0x159380(0x151)])[_0x159380(0x1c5)](_0x159380(0x235));}[_0x1b80cf(0x146)](_0x545e24){const _0x35e27e=_0x1b80cf,_0x136dae=_0xbcf86(this[_0x35e27e(0x151)]),_0xde076f=_0x136dae[_0x35e27e(0x205)],_0x5510c2=_0x545e24[_0x35e27e(0x1b6)](_0x2b1333=>this[_0x35e27e(0x1c9)](_0x2b1333))[_0x35e27e(0x1b1)]();_0xde076f[_0x35e27e(0x160)](_0x456454=>{const _0x11d0ea=_0x35e27e;for(const _0x1080cc of _0x5510c2){const _0x3cba10=_0x136dae[_0x11d0ea(0x205)][_0x11d0ea(0x137)][_0x11d0ea(0x225)](_0x1080cc['id']);if(_0x3cba10){if(_0x11d0ea(0x161)===_0x1080cc[_0x11d0ea(0x171)]){if(!_0x1080cc[_0x11d0ea(0x1bd)])continue;_0xde076f[_0x11d0ea(0x175)](_0x1080cc[_0x11d0ea(0x1bd)][_0x11d0ea(0x204)]||null,_0x3cba10[_0x11d0ea(0x1dc)]()[_0x11d0ea(0x1cd)]);}else _0x11d0ea(0x139)!==_0x1080cc[_0x11d0ea(0x171)]&&_0x11d0ea(0x13b)!==_0x1080cc[_0x11d0ea(0x171)]||_0xde076f[_0x11d0ea(0x232)](_0xde076f[_0x11d0ea(0x158)](_0x3cba10[_0x11d0ea(0x1dc)]()));_0x456454[_0x11d0ea(0x179)](_0x1080cc['id']),this[_0x11d0ea(0x1b9)][_0x11d0ea(0x15a)](_0x1080cc['id']);}}});}[_0x1b80cf(0x20f)](_0x356bfd){const _0x164735=_0x1b80cf,_0x170024=_0xbcf86(this[_0x164735(0x151)]),_0x310a74=this[_0x164735(0x1c9)](_0x356bfd);_0x170024[_0x164735(0x205)][_0x164735(0x160)](_0x5b34b5=>{const _0x7547bd=_0x164735;for(const _0x561189 of _0x310a74)_0x5b34b5[_0x7547bd(0x179)](_0x561189['id']),this[_0x7547bd(0x1b9)][_0x7547bd(0x15a)](_0x561189['id']);});}[_0x1b80cf(0x220)](){const _0x5a0a9b=_0x1b80cf;return _0xbcf86(this[_0x5a0a9b(0x151)]);}[_0x1b80cf(0x20b)](_0x550475){const _0x28e95d=_0x1b80cf,_0x17f89f=Array[_0x28e95d(0x1d9)](this[_0x28e95d(0x1b9)][_0x28e95d(0x1fe)]())[_0x28e95d(0x1c7)](_0x3e4830=>_0x3e4830[_0x28e95d(0x143)]===_0x550475);if(!_0x17f89f[_0x28e95d(0x1a8)])return null;const _0x11f48a=0x1===_0x17f89f[_0x28e95d(0x1a8)]?_0x17f89f[0x0]:this[_0x28e95d(0x1fa)](_0x17f89f)[0x0],_0xedd7db=_0xbcf86(this[_0x28e95d(0x151)])[_0x28e95d(0x205)][_0x28e95d(0x137)][_0x28e95d(0x225)](_0x11f48a['id']);if(!_0xedd7db)return null;return{'modelRange':_0xedd7db[_0x28e95d(0x1dc)](),'getElement':()=>this[_0x28e95d(0x13e)](_0x11f48a['id'])};}[_0x1b80cf(0x14a)](_0x29819e){const _0x2f6bb4=_0x1b80cf,_0x208516=Array[_0x2f6bb4(0x1d9)](this[_0x2f6bb4(0x1b9)][_0x2f6bb4(0x1fe)]())[_0x2f6bb4(0x1c7)](_0x2ff1d9=>_0x2ff1d9[_0x2f6bb4(0x143)]===_0x29819e);if(!_0x208516[_0x2f6bb4(0x1a8)])return null;const _0x2b2803=0x1===_0x208516[_0x2f6bb4(0x1a8)]?_0x208516[0x0]:this[_0x2f6bb4(0x1fa)](_0x208516)[0x0],_0x3bf08d=_0xbcf86(this[_0x2f6bb4(0x151)]),_0x429cf6=_0x3bf08d[_0x2f6bb4(0x205)][_0x2f6bb4(0x137)][_0x2f6bb4(0x225)](_0x2b2803['id']);if(!_0x429cf6)return null;const _0x577315=_0x429cf6[_0x2f6bb4(0x1dc)](),_0x292a2d=_0x3bf08d[_0x2f6bb4(0x1c1)][_0x2f6bb4(0x147)][_0x2f6bb4(0x155)]();if(!_0x292a2d||!_0x577315)return null;let _0x5c07bb=_0x577315[_0x2f6bb4(0x1cd)][_0x2f6bb4(0x17d)];for(;_0x5c07bb[_0x2f6bb4(0x17d)]&&_0x2f6bb4(0x1e2)!==_0x5c07bb[_0x2f6bb4(0x17d)][_0x2f6bb4(0x218)];)_0x5c07bb=_0x5c07bb[_0x2f6bb4(0x17d)];if(!_0x5c07bb||!_0x5c07bb[_0x2f6bb4(0x218)])return null;const _0x124b54=_0x292a2d[_0x2f6bb4(0x149)](_0x2f6bb4(0x229)+_0x2b2803['id']+'\x22]');if(!_0x124b54)return null;let _0x85585a=null;_0x3bf08d[_0x2f6bb4(0x205)][_0x2f6bb4(0x160)](_0x499ae2=>{const _0x4a1167=_0x2f6bb4;_0x85585a=_0x499ae2[_0x4a1167(0x20a)](),_0x499ae2[_0x4a1167(0x200)](_0x5c07bb[_0x4a1167(0x213)](!0x0),_0x85585a);});const _0x569231=_0x3bf08d[_0x2f6bb4(0x15b)][_0x2f6bb4(0x203)](_0x85585a)[_0x2f6bb4(0x159)](0x0);return _0x124b54[_0x2f6bb4(0x16e)](_0x569231[_0x2f6bb4(0x218)]);}[_0x1b80cf(0x215)](_0x155177){const _0x45287b=_0x1b80cf,_0x264d68=this[_0x45287b(0x1c9)](_0x155177);if(!_0x264d68[_0x45287b(0x1a8)])return;const _0xf57561=Array[_0x45287b(0x1d9)](this[_0x45287b(0x208)])[_0x45287b(0x14f)](),_0x5681d6=Array[_0x45287b(0x1d9)](new Set(_0x264d68[_0x45287b(0x1b6)](_0x379abe=>_0x379abe['id'])))[_0x45287b(0x14f)]();_0xf57561[_0x45287b(0x1e9)]('|')!==_0x5681d6[_0x45287b(0x1e9)]('|')&&(this[_0x45287b(0x1c4)](),this[_0x45287b(0x185)](_0x155177));}[_0x1b80cf(0x185)](_0x4b57c6){const _0x9e08af=_0x1b80cf,_0x288b0b=this[_0x9e08af(0x1c9)](_0x4b57c6);if(!_0x288b0b[_0x9e08af(0x1a8)])return;const _0x104628=_0xbcf86(this[_0x9e08af(0x151)]),_0x23987e=new Set(_0x288b0b[_0x9e08af(0x1b6)](_0x5c58d3=>_0x5c58d3['id'])),_0x457510=Array[_0x9e08af(0x1d9)](_0x23987e[_0x9e08af(0x1fe)]())[_0x9e08af(0x1b6)](_0x2f4aa6=>_0x104628[_0x9e08af(0x205)][_0x9e08af(0x137)][_0x9e08af(0x225)](_0x2f4aa6))[_0x9e08af(0x1c7)](_0x551fb4=>!!_0x551fb4);_0x23987e[_0x9e08af(0x14d)](_0x6ca6ac=>{const _0x1b1496=_0x9e08af;this[_0x1b1496(0x208)][_0x1b1496(0x18b)](_0x6ca6ac);}),_0x104628[_0x9e08af(0x205)][_0x9e08af(0x160)](()=>{const _0x2a4a6c=_0x9e08af;_0x457510[_0x2a4a6c(0x14d)](_0x43dacc=>{const _0x355d33=_0x2a4a6c;_0x104628[_0x355d33(0x1c1)][_0x355d33(0x174)](_0x43dacc);});});}[_0x1b80cf(0x1c4)](){const _0x4707a8=_0x1b80cf,_0x3cc59f=Array[_0x4707a8(0x1d9)](this[_0x4707a8(0x208)]);if(!_0x3cc59f[_0x4707a8(0x1a8)])return;this[_0x4707a8(0x208)][_0x4707a8(0x197)]();const _0x1d5b1f=_0xbcf86(this[_0x4707a8(0x151)]),_0x6cb27f=_0x3cc59f[_0x4707a8(0x1b6)](_0x28764c=>_0x1d5b1f[_0x4707a8(0x205)][_0x4707a8(0x137)][_0x4707a8(0x225)](_0x28764c))[_0x4707a8(0x1c7)](_0x4a6287=>!!_0x4a6287);_0x1d5b1f[_0x4707a8(0x205)][_0x4707a8(0x160)](()=>{const _0x4863a6=_0x4707a8;_0x6cb27f[_0x4863a6(0x14d)](_0x368229=>{const _0x3bb846=_0x4863a6;_0x1d5b1f[_0x3bb846(0x1c1)][_0x3bb846(0x174)](_0x368229);});});}[_0x1b80cf(0x1d0)](_0x2f6e12,_0x5aaabc,_0xa91533=_0x1b80cf(0x1ca)){const _0x1b6f97=_0x1b80cf;if(!_0x2f6e12)return null;let _0x21170d=_0x2f6e12[_0x1b6f97(0x17d)];for(;_0x21170d&&_0x21170d[_0x1b6f97(0x17d)]&&_0x1b6f97(0x1e2)!==_0x21170d[_0x1b6f97(0x17d)][_0x1b6f97(0x218)]&&!_0x5aaabc[_0x1b6f97(0x205)][_0x1b6f97(0x227)][_0x1b6f97(0x1aa)](_0x21170d)&&!_0x5aaabc[_0x1b6f97(0x205)][_0x1b6f97(0x227)][_0x1b6f97(0x236)](_0x21170d);)_0x21170d=_0x21170d[_0x1b6f97(0x17d)];if(!_0x21170d||!_0x21170d[_0x1b6f97(0x218)]||_0x1b6f97(0x1e2)===_0x21170d[_0x1b6f97(0x218)])return null;let _0x2435e4=null;return _0x5aaabc[_0x1b6f97(0x205)][_0x1b6f97(0x160)](_0x20ca77=>{const _0x186faf=_0x1b6f97;_0x2435e4=_0x186faf(0x212)===_0xa91533?_0x20ca77[_0x186faf(0x17c)](_0x21170d):_0x20ca77[_0x186faf(0x20c)](_0x21170d);}),_0x2435e4;}[_0x1b80cf(0x181)](_0x25cd3a,_0x39ee76){const _0x48f655=_0x1b80cf,_0x146fbf=Array[_0x48f655(0x1d9)](this[_0x48f655(0x1b9)][_0x48f655(0x1d8)]()),_0x3211f6=new Map();for(const _0x4afe01 of _0x146fbf){const _0x7721d9=_0x25cd3a[_0x48f655(0x205)][_0x48f655(0x137)][_0x48f655(0x225)](_0x4afe01);if(!_0x7721d9)continue;const _0x413739=_0x7721d9[_0x48f655(0x188)]()[_0x48f655(0x1ff)][0x0];_0x3211f6[_0x48f655(0x15d)](_0x413739)||_0x3211f6[_0x48f655(0x18d)](_0x413739,[]),_0x3211f6[_0x48f655(0x225)](_0x413739)[_0x48f655(0x1e3)](_0x7721d9);}const _0x3948a8=new Set();for(const _0x1ca0c3 of _0x25cd3a[_0x48f655(0x205)][_0x48f655(0x191)][_0x48f655(0x1bf)][_0x48f655(0x224)]()){let _0x982448=-0x1,_0x1742a2=null;if(_0x48f655(0x161)===_0x1ca0c3[_0x48f655(0x171)])_0x1742a2=new _0x381b78(_0x1ca0c3[_0x48f655(0x219)],_0x1ca0c3[_0x48f655(0x219)][_0x48f655(0x22c)](_0x1ca0c3[_0x48f655(0x1a8)])),_0x982448=_0x1ca0c3[_0x48f655(0x219)][_0x48f655(0x1ff)][0x0];else{if(_0x48f655(0x18c)!==_0x1ca0c3[_0x48f655(0x171)])continue;_0x1742a2=new _0x381b78(_0x1ca0c3[_0x48f655(0x219)]),_0x982448=_0x1ca0c3[_0x48f655(0x219)][_0x48f655(0x1ff)][0x0];}const _0x288967=_0x3211f6[_0x48f655(0x225)](_0x982448)||[];if(_0x288967[_0x48f655(0x1a8)]){for(const _0x284b9f of _0x288967)if(_0x1742a2[_0x48f655(0x16d)][_0x48f655(0x1f2)]===_0x284b9f[_0x48f655(0x1dc)]()[_0x48f655(0x16d)][_0x48f655(0x1f2)]&&(_0x48f655(0x161)!==_0x1ca0c3[_0x48f655(0x171)]||!_0x1742a2[_0x48f655(0x1d2)](_0x284b9f[_0x48f655(0x1dc)]()))&&(_0x1742a2[_0x48f655(0x168)](_0x284b9f[_0x48f655(0x1dc)]())||_0x1742a2[_0x48f655(0x1cd)][_0x48f655(0x15f)](_0x284b9f[_0x48f655(0x1dc)]()[_0x48f655(0x153)])||_0x1742a2[_0x48f655(0x153)][_0x48f655(0x15f)](_0x284b9f[_0x48f655(0x1dc)]()[_0x48f655(0x1cd)]))){const _0x319f44=this[_0x48f655(0x1dd)](_0x284b9f[_0x48f655(0x218)]);Array[_0x48f655(0x1d9)](this[_0x48f655(0x1b9)][_0x48f655(0x1fe)]())[_0x48f655(0x1c7)](_0x55bb16=>_0x55bb16[_0x48f655(0x143)]===_0x319f44[_0x48f655(0x143)])[_0x48f655(0x14d)](_0x244cf1=>_0x3948a8[_0x48f655(0x18b)](_0x244cf1['id']));}}}if(_0x3948a8[_0x48f655(0x169)]){for(const _0x4369f2 of _0x3948a8)_0x39ee76[_0x48f655(0x179)](_0x4369f2);return!0x0;}return!0x1;}[_0x1b80cf(0x186)](_0x12f5b7){const _0x53658b=_0x1b80cf;for(const {name:_0x390dd9,data:_0x50c21a}of _0x12f5b7[_0x53658b(0x205)][_0x53658b(0x191)][_0x53658b(0x1bf)][_0x53658b(0x1a5)]()){if(!_0x390dd9[_0x53658b(0x1ac)](Ht))continue;const _0x43da9e=_0x50c21a[_0x53658b(0x210)],_0xe4290=_0x50c21a[_0x53658b(0x198)],_0x1a4830=_0x43da9e&&_0x53658b(0x182)===_0x43da9e[_0x53658b(0x16d)][_0x53658b(0x1f2)],_0x2bfb5a=_0xe4290&&_0x53658b(0x182)===_0xe4290[_0x53658b(0x16d)][_0x53658b(0x1f2)];if(_0x1a4830&&_0x2bfb5a)continue;const _0x81b276=this[_0x53658b(0x1dd)](_0x390dd9);this[_0x53658b(0x1b9)][_0x53658b(0x225)](_0x390dd9)&&(_0x2bfb5a||!_0xe4290?this[_0x53658b(0x165)][_0x53658b(0x1de)](_0x53658b(0x1ae),{'markerId':_0x390dd9,'changeId':_0x81b276[_0x53658b(0x143)]}):_0x1a4830&&_0xe4290&&this[_0x53658b(0x165)][_0x53658b(0x1de)](_0x53658b(0x162),{'markerId':_0x390dd9,'changeId':_0x81b276[_0x53658b(0x143)]}));}}[_0x1b80cf(0x1dd)](_0x5967b6){const _0x14cfce=_0x1b80cf,_0x13aeef=_0x5967b6[_0x14cfce(0x1f0)](':'),_0x13fee4=(_0x13aeef[0x1]||'')[_0x14cfce(0x1f0)]('_');return{'prefix':_0x13aeef[0x0],'groupId':_0x13fee4[0x0],'suffix':_0x13fee4[0x1]};}[_0x1b80cf(0x21a)](_0x4134ae,_0x28a553,_0x2da66d){const _0x5c58ab=_0x1b80cf;if(_0x5c58ab(0x161)===_0x4134ae[_0x5c58ab(0x171)]){const _0x501bfc=_0x4134ae;return new _0x2e6f74(this[_0x5c58ab(0x237)](_0x28a553[_0x5c58ab(0x18e)](_0x501bfc[_0x5c58ab(0x219)][_0x5c58ab(0x1bb)]),_0x2da66d),_0x501bfc[_0x5c58ab(0x1ba)],_0x501bfc[_0x5c58ab(0x189)]);}if(_0x5c58ab(0x1f1)===_0x4134ae[_0x5c58ab(0x171)]&&_0x4134ae[_0x5c58ab(0x218)][_0x5c58ab(0x1ac)](_0x5c58ab(0x1b4))){const _0x466096=_0x4134ae;return new _0x485bcf(_0x466096[_0x5c58ab(0x218)],_0x466096[_0x5c58ab(0x210)],this[_0x5c58ab(0x195)](_0x466096[_0x5c58ab(0x198)],_0x28a553[_0x5c58ab(0x18e)](_0x466096[_0x5c58ab(0x198)][_0x5c58ab(0x1cd)][_0x5c58ab(0x1bb)]),_0x28a553[_0x5c58ab(0x18e)](_0x466096[_0x5c58ab(0x198)][_0x5c58ab(0x153)][_0x5c58ab(0x1bb)]),_0x2da66d),_0x466096[_0x5c58ab(0x1b9)],_0x466096[_0x5c58ab(0x202)],_0x466096[_0x5c58ab(0x189)]);}return _0x4134ae;}[_0x1b80cf(0x1fd)](_0x432c63){const _0x4b3131=_0x1b80cf;if(!_0x432c63[_0x4b3131(0x1a8)])return[];const _0x239f26=[];let _0x39f2d9=0x0,_0x1e34c3=0x0,_0x4a373b=[];for(let _0x52ce2c=0x0;_0x52ce2c<=_0x432c63[_0x4b3131(0x1a8)];_0x52ce2c++){const _0x2f95e9=_0x432c63[_0x52ce2c],_0x35e38a=_0x432c63[_0x52ce2c-0x1];!_0x2f95e9||_0x35e38a&&!this[_0x4b3131(0x148)](_0x35e38a)[_0x4b3131(0x15f)](this[_0x4b3131(0x1ed)](_0x2f95e9))?(_0x239f26[_0x4b3131(0x1e3)]({'operations':_0x4a373b,'operationsIsolated':_0x4a373b[_0x4b3131(0x1b6)](_0x3f187e=>this[_0x4b3131(0x194)](_0x3f187e[_0x4b3131(0x207)](),-_0x1e34c3)),'groupOffset':_0x39f2d9}),_0x4a373b=_0x2f95e9?[_0x2f95e9]:[],_0x1e34c3+=_0x39f2d9,_0x39f2d9=0x0):_0x4a373b[_0x4b3131(0x1e3)](_0x2f95e9),_0x2f95e9&&_0x4b3131(0x161)===_0x2f95e9[_0x4b3131(0x171)]&&(_0x39f2d9+=_0x2f95e9[_0x4b3131(0x17e)]);}return _0x239f26;}[_0x1b80cf(0x1ce)](_0x12bbce,_0x57437a,_0x4c3dff,_0x1b2264=0x1){const _0x1c2e0d=_0x1b80cf,_0x45c1cd=new _0x118fed({'startPosition':_0x12bbce,'direction':_0x57437a});let _0x25eab4=0x0;for(let _0x41a895=0x0;_0x41a895<_0x1b2264;_0x41a895++){let _0x2afe8c=0x0,_0x11ddd6=!0x1,_0x33df4b=_0x1c2e0d(0x1f4)===_0x57437a?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x55caa3}of _0x45c1cd)if(_0x55caa3['is'](_0x1c2e0d(0x1ad))){const _0x5564af=_0x33df4b[_0x1c2e0d(0x1c2)](_0x55caa3[_0x1c2e0d(0x15b)]);if(_0x5564af&&_0x5564af[_0x1c2e0d(0x1a8)]){if(_0x2afe8c+=_0x1c2e0d(0x1f4)===_0x57437a?_0x5564af[_0x1c2e0d(0x178)]+_0x5564af[0x0][_0x1c2e0d(0x1a8)]:_0x55caa3[_0x1c2e0d(0x15b)][_0x1c2e0d(0x1a8)]-_0x5564af[_0x1c2e0d(0x178)],_0x5564af[0x0][_0x1c2e0d(0x1a8)]!==_0x55caa3[_0x1c2e0d(0x15b)][_0x1c2e0d(0x1a8)])break;_0x11ddd6=!0x0,_0x33df4b=_0x1c2e0d(0x1f4)===_0x57437a?/^\w+/:/\w+$/;}else{if(_0x11ddd6)break;_0x2afe8c+=_0x55caa3[_0x1c2e0d(0x141)];}}else{if(_0x55caa3['is'](_0x1c2e0d(0x22e))){_0x4c3dff[_0x1c2e0d(0x1fc)](_0x55caa3)&&!_0x11ddd6&&(_0x2afe8c+=0x1);break;}}_0x25eab4+=_0x2afe8c,_0x45c1cd[_0x1c2e0d(0x1a0)](_0x12bbce[_0x1c2e0d(0x22c)](_0x1c2e0d(0x1f4)===_0x57437a?_0x25eab4:-_0x25eab4));}return _0x25eab4;}[_0x1b80cf(0x164)](_0x49b8e6,_0xce87f7){const _0x1b1257=_0x1b80cf,_0xaa19eb=_0xbcf86(this[_0x1b1257(0x151)])[_0x1b1257(0x205)][_0x1b1257(0x227)],_0x5359aa=this[_0x1b1257(0x1ce)](_0x49b8e6,_0x1b1257(0x22d),_0xaa19eb,0x6),_0x250530=this[_0x1b1257(0x1ce)](_0xce87f7,_0x1b1257(0x1f4),_0xaa19eb,0x6),_0x10c11c=_0x49b8e6[_0x1b1257(0x22c)](-_0x5359aa),_0x431d9b=_0xce87f7[_0x1b1257(0x22c)](_0x250530);return{'start':_0x10c11c,'end':_0x431d9b,'hasContentBefore':!_0x10c11c[_0x1b1257(0x211)],'hasContentAfter':!_0x431d9b[_0x1b1257(0x14e)]};}[_0x1b80cf(0x23a)](_0x139c36){const _0xe34387=_0x1b80cf,_0x75d82d=this[_0xe34387(0x151)][_0xe34387(0x13f)][_0xe34387(0x225)](_0xe34387(0x142)),_0x1f6f62=new Set();_0xbcf86(this[_0xe34387(0x151)])[_0xe34387(0x205)][_0xe34387(0x160)](_0xe854f6=>{const _0x533b88=_0xe34387;for(const _0x28d759 of _0x139c36){const _0x5012fa=''+Ht+_0x28d759[_0x533b88(0x171)]+':'+_0x28d759[_0x533b88(0x143)]+'_'+_0x75d82d[_0x533b88(0x156)](_0x1f6f62);this[_0x533b88(0x1b9)][_0x533b88(0x18d)](_0x5012fa,{'id':_0x5012fa,'groupId':_0x28d759[_0x533b88(0x143)],'type':_0x28d759[_0x533b88(0x171)],'content':_0x28d759[_0x533b88(0x1bd)]}),_0xe854f6[_0x533b88(0x14c)](_0x5012fa,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xe854f6[_0x533b88(0x1e5)](_0x28d759[_0x533b88(0x1cd)],_0x28d759[_0x533b88(0x153)])});}});}[_0x1b80cf(0x20d)](_0x23e284,_0x16c8b9,_0x4ac629){let _0x690867='';return()=>{const _0x36c610=_0x2c91;if(!_0x690867){const _0x3e91e4=_0x16c8b9[_0x36c610(0x203)](_0x23e284,{'showSuggestionHighlights':!0x0});let _0x5981ca=_0x3e91e4[_0x36c610(0x159)](0x0);if(_0x5981ca['is'](_0x36c610(0x184))||(_0x5981ca=_0x3e91e4),!_0x5981ca)return'';let _0x113672=!0x1;const _0x419bf8=[];for(const _0x5f33f6 of _0x5981ca[_0x36c610(0x15e)]())_0x5f33f6['is'](_0x36c610(0x22e),_0x36c610(0x1e6))&&_0x5f33f6[_0x36c610(0x21f)](_0x36c610(0x21c))&&(_0x113672=!0x1),_0x113672&&_0x419bf8[_0x36c610(0x1e3)](_0x5f33f6),_0x5f33f6['is'](_0x36c610(0x22e),_0x36c610(0x1e6))&&_0x5f33f6[_0x36c610(0x21f)](_0x36c610(0x183))&&(_0x113672=!0x0);_0x5981ca[_0x36c610(0x16f)](0x0,_0x5981ca[_0x36c610(0x1d6)]),_0x4ac629?.[_0x36c610(0x1cb)]&&_0x5981ca[_0x36c610(0x1a1)]('…'),_0x5981ca[_0x36c610(0x1a1)](_0x419bf8),_0x4ac629?.[_0x36c610(0x1da)]&&_0x5981ca[_0x36c610(0x1a1)]('…');const _0xa9059b=_0x16c8b9[_0x36c610(0x1e8)][_0x36c610(0x1b3)][_0x36c610(0x1cf)](_0x3e91e4),_0x2260a2=_0x16c8b9[_0x36c610(0x1e8)][_0x36c610(0x1ef)][_0x36c610(0x23f)](_0xa9059b);_0x690867=_0x2260a2;}return _0x690867;};}[_0x1b80cf(0x163)](_0x1ec6d0,_0x4bcfad){const _0x2c36bc=_0x1b80cf;let _0x4d639a='';return()=>(_0x4d639a||(_0x4d639a=_0x4bcfad[_0x2c36bc(0x20e)](_0x1ec6d0,{'showSuggestionHighlights':!0x0})),_0x4d639a);}[_0x1b80cf(0x14b)](_0xa364be,_0x5c423c,_0x48e0bb){let _0x186923='';return()=>{const _0x36f487=_0x2c91;if(!_0x186923){const _0x1a550e=_0x48e0bb[_0x36f487(0x203)](new _0x45e517(_0xa364be)),_0x49f384=_0x48e0bb[_0x36f487(0x1e8)][_0x36f487(0x1b3)][_0x36f487(0x1cf)](_0x1a550e)[_0x36f487(0x149)](_0x36f487(0x22b)+_0x5c423c+'\x22]');_0x186923=_0x49f384?.[_0x36f487(0x228)]||'';}return _0x186923;};}[_0x1b80cf(0x1fb)](_0x1e10a4,_0x5720f6=0x5){const _0x245f7a=_0x1b80cf;let _0x7e1fc7=_0x1e10a4,_0x1255ee=null;for(let _0x565d0f=0x0;_0x565d0f<_0x5720f6&&_0x7e1fc7;_0x565d0f++){if(!_0x7e1fc7[_0x245f7a(0x1b2)]){_0x7e1fc7=_0x7e1fc7[_0x245f7a(0x244)];continue;}if(!(''+_0x7e1fc7[_0x245f7a(0x1b2)])[_0x245f7a(0x1d1)](_0x245f7a(0x242))){_0x7e1fc7=_0x7e1fc7[_0x245f7a(0x244)];continue;}if(!_0x7e1fc7[_0x245f7a(0x223)](_0x245f7a(0x1e0)))break;_0x1255ee=_0x7e1fc7;break;}return _0x1255ee;}[_0x1b80cf(0x13e)](_0x52c691){const _0x3226dc=_0x1b80cf,_0x46ff86=_0xbcf86(this[_0x3226dc(0x151)]),_0x38e7da=_0x46ff86[_0x3226dc(0x205)][_0x3226dc(0x137)][_0x3226dc(0x225)](_0x52c691);return _0x38e7da?_0x172742(_0x46ff86[_0x3226dc(0x1c1)],_0x38e7da):null;}[_0x1b80cf(0x1c9)](_0x5dac6f){const _0x149ad4=_0x1b80cf;return Array[_0x149ad4(0x1d9)](this[_0x149ad4(0x1b9)][_0x149ad4(0x1fe)]())[_0x149ad4(0x1c7)](_0xf0e68c=>_0xf0e68c[_0x149ad4(0x143)]===_0x5dac6f);}[_0x1b80cf(0x1ed)](_0x337090){const _0x56d42b=_0x1b80cf;return _0x56d42b(0x161)===_0x337090[_0x56d42b(0x171)]?_0x337090[_0x56d42b(0x219)]:_0x337090[_0x56d42b(0x198)][_0x56d42b(0x1cd)];}[_0x1b80cf(0x148)](_0x2a86eb,_0x1af559=!0x1){const _0x5c1204=_0x1b80cf;return _0x5c1204(0x161)===_0x2a86eb[_0x5c1204(0x171)]?_0x1af559?_0x2a86eb[_0x5c1204(0x219)]:_0x2a86eb[_0x5c1204(0x219)][_0x5c1204(0x22c)](_0x2a86eb[_0x5c1204(0x17e)]):_0x2a86eb[_0x5c1204(0x198)][_0x5c1204(0x153)];}[_0x1b80cf(0x194)](_0x43872f,_0x200b3e){const _0x1421ba=_0x1b80cf;return _0x1421ba(0x161)===_0x43872f[_0x1421ba(0x171)]?_0x43872f[_0x1421ba(0x219)]=_0x43872f[_0x1421ba(0x219)][_0x1421ba(0x22c)](_0x200b3e):_0x1421ba(0x1f1)===_0x43872f[_0x1421ba(0x171)]&&_0x43872f[_0x1421ba(0x198)]&&(_0x43872f[_0x1421ba(0x198)]=new _0x381b78(_0x43872f[_0x1421ba(0x198)][_0x1421ba(0x1cd)][_0x1421ba(0x22c)](_0x200b3e),_0x43872f[_0x1421ba(0x198)][_0x1421ba(0x153)][_0x1421ba(0x22c)](_0x200b3e))),_0x43872f;}[_0x1b80cf(0x140)](_0x3518f4,_0x38b199){const _0x11bbbd=_0x1b80cf;_0x11bbbd(0x161)===_0x3518f4[_0x11bbbd(0x171)]?_0x3518f4[_0x11bbbd(0x219)]=this[_0x11bbbd(0x1ea)](_0x3518f4[_0x11bbbd(0x219)],_0x38b199):_0x11bbbd(0x1f1)===_0x3518f4[_0x11bbbd(0x171)]&&_0x3518f4[_0x11bbbd(0x198)]&&(_0x3518f4[_0x11bbbd(0x198)]=this[_0x11bbbd(0x1a6)](_0x3518f4[_0x11bbbd(0x198)],_0x38b199));}[_0x1b80cf(0x1ea)](_0x4a7443,_0x45fdeb){const _0x2e7a29=_0x1b80cf;return new _0x13f269(_0x45fdeb,_0x4a7443[_0x2e7a29(0x1ff)]);}[_0x1b80cf(0x1a6)](_0x26560a,_0x464920){const _0xcc6063=_0x1b80cf;return new _0x381b78(this[_0xcc6063(0x1ea)](_0x26560a[_0xcc6063(0x1cd)],_0x464920),this[_0xcc6063(0x1ea)](_0x26560a[_0xcc6063(0x153)],_0x464920));}[_0x1b80cf(0x237)](_0xd8d4ac,_0x285c96){return new _0x13f269(_0x285c96,[..._0xd8d4ac]);}[_0x1b80cf(0x195)](_0x5d6b14,_0x30c5f0,_0x212c44,_0x5036f2){const _0x118bc6=_0x1b80cf;return new _0x381b78(this[_0x118bc6(0x237)](_0x30c5f0,_0x5036f2),this[_0x118bc6(0x237)](_0x212c44,_0x5036f2));}[_0x1b80cf(0x1fa)](_0x1c9396){const _0x2f1e1d=_0x1b80cf,_0x73525b=_0x103da8=>{const _0x386899=_0x2c91;switch(_0x103da8){case _0x386899(0x161):return 0x0;case _0x386899(0x1a9):return 0x1;case _0x386899(0x13b):return 0x2;case _0x386899(0x139):return 0x3;}};return _0x1c9396[_0x2f1e1d(0x14f)]((_0x8140c8,_0x52774e)=>_0x73525b(_0x8140c8[_0x2f1e1d(0x171)])-_0x73525b(_0x52774e[_0x2f1e1d(0x171)]));}[_0x1b80cf(0x1db)](_0x12a627,_0x535aff){const _0x273611=_0x1b80cf,_0x5d12cc=_0x12a627[_0x273611(0x159)](0x0),_0x3e2a7b=_0x535aff[_0x273611(0x159)](0x0);return!(!_0x5d12cc||!_0x3e2a7b)&&((!_0x5d12cc['is'](_0x273611(0x22e))||!_0x3e2a7b['is'](_0x273611(0x22e))||_0x5d12cc[_0x273611(0x218)]===_0x3e2a7b[_0x273611(0x218)])&&!(_0x5d12cc['is'](_0x273611(0x22e))&&!_0x3e2a7b['is'](_0x273611(0x22e))||!_0x5d12cc['is'](_0x273611(0x22e))&&_0x3e2a7b['is'](_0x273611(0x22e))));}[_0x1b80cf(0x172)](_0x294f80){const _0xed0129=_0x1b80cf;return 0x1===_0x294f80[_0xed0129(0x1d6)];}[_0x1b80cf(0x1a4)](_0x2a6357,_0x557aeb){const _0x3cbb95=_0x1b80cf;for(const _0x38616c of _0x2a6357[_0x3cbb95(0x15e)]())if(_0x38616c['is'](_0x3cbb95(0x22e))&&!_0x557aeb[_0x3cbb95(0x1fc)](_0x38616c))return!0x1;return!0x0;}[_0x1b80cf(0x1a7)](_0x4d4cc4,_0x570d00){const _0x5ed14b=_0x1b80cf;let _0x1d2b65=_0x4d4cc4[_0x5ed14b(0x223)](_0x4bf084);return _0x1d2b65||(_0x1d2b65=_0x570d00(),_0x4d4cc4[_0x5ed14b(0x243)](_0x4bf084,_0x1d2b65)),_0x1d2b65;}}
|
|
23
|
+
const _0x53445d=_0x3ac5;(function(_0xc84c89,_0x205853){const _0x141bc1=_0x3ac5,_0x56ef51=_0xc84c89();while(!![]){try{const _0x404a46=-parseInt(_0x141bc1(0x10e))/0x1*(parseInt(_0x141bc1(0x165))/0x2)+parseInt(_0x141bc1(0x124))/0x3+-parseInt(_0x141bc1(0x15e))/0x4+-parseInt(_0x141bc1(0xf9))/0x5+-parseInt(_0x141bc1(0x140))/0x6+parseInt(_0x141bc1(0x168))/0x7*(parseInt(_0x141bc1(0x13a))/0x8)+-parseInt(_0x141bc1(0x102))/0x9*(-parseInt(_0x141bc1(0x15a))/0xa);if(_0x404a46===_0x205853)break;else _0x56ef51['push'](_0x56ef51['shift']());}catch(_0x40148e){_0x56ef51['push'](_0x56ef51['shift']());}}}(_0x54d8,0x33f14));function _0x54d8(){const _0x44c925=['end','for','reconvertMarker','backward','isLimit','newRange','values','remove-text','isOfficialPlugin','listenTo','_getPositionLimitingRange','isDocumentOperation','length','_handleMarkerChanges','enableReadOnlyMode','from','ellipsisAfter','getEditor','ck-ai_review-marker_context-end','_changeRangeOwnerDocument','suggestion:deletion:id:authorId:','createRange','$documentFragment','_createGetContentUsingDataIdFn','history','containerElement','_shiftOperation','hasContentBefore','_findAdjacentContextDistance','_groupAdjacentOperations','parentElement','parent','isAtStart','getChanges','suggestion-context','target','_haveSingleTopLevelElement','querySelector','ck-ai_review-marker_add','pop','closest','batch','viewToDom','_sortMarkers','ck-ai_review-marker_','_eventEmitter','startsWith','body','className','documentFragment','differ','isInline','ck-ai_review-marker_context-start','rootName','attributeToAttribute','$markedRemove','forEach','fire','editingDowncast','setAllMarkersAsInactive','changeMarkerClicked','No\x20element\x20found\x20for\x20ID:\x20','emitter','_createGetContentFn','toData','_hasSameTopLevelElement','push','isIntersecting','_upsertDataId','offset','relatedTarget','getPath','get','AIEditing','position','add','_findMarkerElementById','.ck-reset.ck-ai_review-balloon-panel-suggestion','_findMarkerElement','createPositionAt','getRoot','isAtEnd','diffContent','type','ck-ai_review-marker_context-','rejectChange','ai-review','_insertMarkers','getEditableElement','deleteContent','_setAttribute','_changePositionOwnerDocument','AIReviewCoreEditing','1252725VorCTD','hasContentAfter','switchToReadOnly','operationsIsolated','innerHTML','processor','context','getChangedMarkers','_markers','1841967gVrRUE','htmlProcessor','[data-marker-id=\x22','$markedRemove:synthetic','ck-ai_review-marker_underline','filter','plugins','review-','join','exec','getMarkerElementForChange','changeMarkerBlurred','1511lgkSdC','$root','getRange','remove','_clone','containsRange','isPremiumPlugin','keys','createRangeOn','$graveyard','applyOperation','isTouching','getDomRoot','DocumentCompare','nodes','groupId','insert','_parseMarkerName','highest','affectsData','_appendChild','outside','366528DBaxQl','isOpening','pluginName','isBlock','[data-id=\x22','getShiftedBy','has','clone','getHtml','flat','suggestion:insertion:id:authorId:','addOperation','parse','dataDowncast','data-marker-id','element','includes','getStart','_changeOperationOwnerDocument','markerToElement','start','getChildren','2712izKreT','requires','markers','_nextDataId','hasAttribute','size','598380dpSdRz','getOperations','root','_removeAttribute','reactivateMarkers','_translateOperationToEditorContent','changeMarkerHovered','schema','downcast','forward','afterInit','_validateMarkers','sort','asFragment','changeMarkerRestored','elements','ck-ai_review-marker_hide','_createGetContextFn','markerToHighlight','outerHTML','document','remove-only','oldRange','domConverter','_haveOnlyInlineContent','_getChangeContext','30tiNwsM','createDocumentFragment','inside','baseVersion','1093756NCOCux','editing','set','map','getAttribute','_getOperationEnd','getContentElementForChange','18tEwVWS','createSelection','disableReadOnlyMode','2352pJOjpg','ck-ai_review-marker_strikethrough','getRoots','mouseup','marker','conversion','jumpTo','switchToEdit','changeMarkerRemoved','model','createUIElement','path','ck-ai_review__change_active','applyChange','toDomElement','toView','split','content','offsetSize','childCount','createRangeIn','markerName','clearAllMarkers','concat','data','version','stringify','getChild','insertContent','index','\x20ck-ai_review__change_active','view','_removeChildren','_changePosition','registerPostFixer','_activeMarkers','htmlWriter','setMarkersInElementAsActive','append','change','warn','mouseover','howMany','clear','hasClass','createRawElement','ellipsisBefore','addMarker','span','asString','removeMarker','delete','remove-context','getDiff','createPositionAfter','_domEmitter','name','_getOperationStart','operations','operationsA','getDocumentData','$textProxy','_getMarkersDataForGroup','_changeRange','markChangePositionInEditorContent','every'];_0x54d8=function(){return _0x44c925;};return _0x54d8();}import{InsertOperation as _0x268244,MarkerOperation as _0xa5b4c3,ModelDocumentFragment as _0x5784eb,ModelPosition as _0x254181,ModelRange as _0x2bfc82,ModelTreeWalker as _0x23c84f,transformOperationSets as _0x39a4a1}from'ckeditor5/src/engine.js';function _0x3ac5(_0x1a11d6,_0x5e5071){const _0x54d84f=_0x54d8();return _0x3ac5=function(_0x3ac516,_0xad1a42){_0x3ac516=_0x3ac516-0xce;let _0x12e1ef=_0x54d84f[_0x3ac516];return _0x12e1ef;},_0x3ac5(_0x1a11d6,_0x5e5071);}import{DomEmitterMixin as _0xbb1030,EmitterMixin as _0x1253e2,uid as _0x24d03e}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x527ec6}from'ckeditor5/src/core.js';import{DocumentCompare as _0x569bd2,DATA_ID_MODEL_ATTRIBUTE as _0x51c04a,DATA_ID_VIEW_ATTRIBUTE as _0x5b6cca,getMarkerDomElement as _0x23001f}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x13db65}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x155712}from'../aicore/aiediting.js';import{debounce as _0x388476}from'es-toolkit/compat';const fe=_0x53445d(0x109);export class AIReviewCoreEditing extends _0x527ec6{static get[_0x53445d(0x13b)](){return[_0x569bd2,_0x155712];}static get[_0x53445d(0x126)](){const _0x267b63=_0x53445d;return _0x267b63(0xf8);}static get[_0x53445d(0x1b2)](){return!0x0;}static get[_0x53445d(0x114)](){return!0x0;}[_0x53445d(0x101)]=new Map();[_0x53445d(0x18b)]=new Set();[_0x53445d(0x19f)];[_0x53445d(0x1d7)];constructor(_0xc9440e){const _0x636219=_0x53445d;super(_0xc9440e),this[_0x636219(0x19f)]=new(_0xbb1030())(),this[_0x636219(0x1d7)]=new(_0x1253e2())();}get[_0x53445d(0xda)](){const _0x31530e=_0x53445d;return this[_0x31530e(0x1d7)];}[_0x53445d(0x14a)](){const _0x176b2c=_0x53445d,_0x32c9b6=_0x13db65(this[_0x176b2c(0xff)]);_0x32c9b6[_0x176b2c(0x16d)][_0x176b2c(0x1ab)](_0x176b2c(0xd6))[_0x176b2c(0x137)]({'model':fe+_0x176b2c(0x11e),'view':(_0x47a781,{writer:_0x24e1bb})=>{const _0x4cf70c=_0x176b2c,_0x6a6c59=this[_0x4cf70c(0x101)][_0x4cf70c(0xe4)](_0x47a781[_0x4cf70c(0x17d)]),_0x571d7c={'class':_0x4cf70c(0x1d0)+(this[_0x4cf70c(0x18b)][_0x4cf70c(0x12a)](_0x6a6c59?.['id']||'')?_0x4cf70c(0x186):''),'data-marker-id':_0x47a781[_0x4cf70c(0x17d)]};return _0x24e1bb[_0x4cf70c(0x172)](_0x4cf70c(0x198),_0x571d7c,function(_0x656d64){const _0x482230=_0x4cf70c,_0x497608=this[_0x482230(0x176)](_0x656d64);return _0x497608[_0x482230(0xfd)]=_0x6a6c59?.[_0x482230(0x179)]?.[_0x482230(0x199)]||'',_0x497608;});}}),_0x32c9b6[_0x176b2c(0x16d)][_0x176b2c(0x1ab)](_0x176b2c(0xd6))[_0x176b2c(0x152)]({'model':fe+_0x176b2c(0x155),'view':_0x4e6e7b=>{const _0x55138b=_0x176b2c,_0x966c40=this[_0x55138b(0x101)][_0x55138b(0xe4)](_0x4e6e7b[_0x55138b(0x17d)]),_0x61c545=[_0x55138b(0x169)];return this[_0x55138b(0x18b)][_0x55138b(0x12a)](_0x966c40?.['id']||'')&&_0x61c545[_0x55138b(0xde)](_0x55138b(0x174)),{'classes':_0x61c545,'attributes':{'data-marker-id':_0x4e6e7b[_0x55138b(0x17d)]}};}}),_0x32c9b6[_0x176b2c(0x16d)][_0x176b2c(0x1ab)](_0x176b2c(0xd6))[_0x176b2c(0x152)]({'model':fe+_0x176b2c(0x19c),'view':_0x3b0e95=>{const _0xdc8709=_0x176b2c,_0x226546=this[_0xdc8709(0x101)][_0xdc8709(0xe4)](_0x3b0e95[_0xdc8709(0x17d)]),_0x4473bb=[_0xdc8709(0x106)];return this[_0xdc8709(0x18b)][_0xdc8709(0x12a)](_0x226546?.['id']||'')&&_0x4473bb[_0xdc8709(0xde)](_0xdc8709(0x174)),{'classes':_0x4473bb,'attributes':{'data-marker-id':_0x3b0e95[_0xdc8709(0x17d)]}};}}),_0x32c9b6[_0x176b2c(0x16d)][_0x176b2c(0x1ab)](_0x176b2c(0xd6))[_0x176b2c(0x152)]({'model':fe+_0x176b2c(0x1b1),'view':_0x1b92e5=>{const _0xc0422c=_0x176b2c,_0x18c1af=this[_0xc0422c(0x101)][_0xc0422c(0xe4)](_0x1b92e5[_0xc0422c(0x17d)]),_0x53d6f6=[_0xc0422c(0x150)];return this[_0xc0422c(0x18b)][_0xc0422c(0x12a)](_0x18c1af?.['id']||'')&&_0x53d6f6[_0xc0422c(0xde)](_0xc0422c(0x174)),{'classes':_0x53d6f6,'attributes':{'data-marker-id':_0x1b92e5[_0xc0422c(0x17d)]}};}}),_0x32c9b6[_0x176b2c(0x16d)][_0x176b2c(0x1ab)](_0x176b2c(0x131))[_0x176b2c(0x137)]({'model':fe+_0x176b2c(0x1cc),'view':(_0x13e2aa,{writer:_0x25244f})=>_0x25244f[_0x176b2c(0x195)](_0x176b2c(0x198),{'class':_0x176b2c(0xf0)+(_0x13e2aa[_0x176b2c(0x125)]?_0x176b2c(0x138):_0x176b2c(0x1aa))})}),_0x32c9b6[_0x176b2c(0x16d)][_0x176b2c(0x1ab)](_0x176b2c(0x148))[_0x176b2c(0xd2)]({'model':_0x51c04a,'view':_0x5b6cca});const _0xc919c4=_0x32c9b6['ui'][_0x176b2c(0xf4)]()||document[_0x176b2c(0x1d9)];this[_0x176b2c(0x19f)][_0x176b2c(0x1b3)](_0xc919c4,_0x176b2c(0x16b),(_0xf205b3,_0x34954a)=>{const _0x4fb8ff=_0x176b2c,_0x24956d=_0x34954a[_0x4fb8ff(0x1cd)],_0x5132e5=this[_0x4fb8ff(0xea)](_0x24956d);if(!_0x5132e5)return;const _0x1441a6=_0x5132e5[_0x4fb8ff(0x162)](_0x4fb8ff(0x132)),_0x5c317e=_0x1441a6[_0x4fb8ff(0x178)](':')[_0x4fb8ff(0x1d1)]()?.[_0x4fb8ff(0x178)]('_')[0x0];this[_0x4fb8ff(0x1d7)][_0x4fb8ff(0xd5)](_0x4fb8ff(0xd8),{'markerId':_0x1441a6,'changeId':_0x5c317e,'markerElement':()=>this[_0x4fb8ff(0xe8)](_0x1441a6),'domEvent':_0x34954a});},{'usePassive':!0x0,'priority':_0x176b2c(0x120)}),this[_0x176b2c(0x19f)][_0x176b2c(0x1b3)](_0xc919c4,_0x176b2c(0x191),(_0x31acec,_0x465c47)=>{const _0x44bbe7=_0x176b2c,_0x44ef27=_0x465c47[_0x44bbe7(0x1cd)],_0x4c6ae3=_0x465c47[_0x44bbe7(0xe2)];let _0x37d32b=this[_0x44bbe7(0xea)](_0x44ef27);if(!_0x37d32b&&_0x4c6ae3&&(_0x37d32b=this[_0x44bbe7(0xea)](_0x4c6ae3)),!_0x37d32b)return;const _0xd55230=_0x37d32b[_0x44bbe7(0x162)](_0x44bbe7(0x132)),_0x4f0497=_0xd55230[_0x44bbe7(0x178)](':')[_0x44bbe7(0x1d1)]()?.[_0x44bbe7(0x178)]('_')[0x0];this[_0x44bbe7(0x1d7)][_0x44bbe7(0xd5)](_0x44bbe7(0x146),{'changeId':_0x4f0497,'markerElement':()=>this[_0x44bbe7(0xe8)](_0xd55230),'domEvent':_0x465c47});}),this[_0x176b2c(0x19f)][_0x176b2c(0x1b3)](document,_0x176b2c(0x191),_0x388476((_0x1b6f42,_0x4fd708)=>{const _0x312891=_0x176b2c,_0xea5a58=_0x4fd708[_0x312891(0x1cd)];if(this[_0x312891(0xea)](_0xea5a58))return;_0xea5a58[_0x312891(0x1d2)](_0x312891(0xe9))||this[_0x312891(0x1d7)][_0x312891(0xd5)](_0x312891(0x10d));},0xc8)),_0x32c9b6[_0x176b2c(0x171)][_0x176b2c(0x154)][_0x176b2c(0x18a)](_0x44a08a=>this[_0x176b2c(0x14b)](_0x32c9b6,_0x44a08a)),_0x32c9b6[_0x176b2c(0x171)][_0x176b2c(0x154)]['on'](_0x176b2c(0x18f),()=>this[_0x176b2c(0x1b7)](_0x32c9b6));}[_0x53445d(0x1a4)](){const _0x569e1c=_0x53445d,_0x174539=this[_0x569e1c(0xff)][_0x569e1c(0x108)][_0x569e1c(0xe4)](_0x569e1c(0xe5)),_0x39e395=_0x13db65(this[_0x569e1c(0xff)]),_0x43759f=_0x39e395[_0x569e1c(0x171)],_0x2e7cdf=new _0x5784eb();for(const _0x5555ff of _0x43759f[_0x569e1c(0x154)][_0x569e1c(0xec)]()[_0x569e1c(0x139)]()){const _0x105726=_0x5555ff[_0x569e1c(0x112)](!0x0);_0x2e7cdf[_0x569e1c(0x122)](_0x105726);}for(const _0x3bbf7f of _0x43759f[_0x569e1c(0x13c)])_0x2e7cdf[_0x569e1c(0x13c)][_0x569e1c(0x160)](_0x3bbf7f[_0x569e1c(0x1a0)],this[_0x569e1c(0x1bd)](_0x3bbf7f[_0x569e1c(0x110)]()[_0x569e1c(0x12b)](),_0x2e7cdf));const _0x4d1b7e=new _0x23c84f({'ignoreElementEnd':!0x0,'startPosition':_0x43759f[_0x569e1c(0xeb)](_0x2e7cdf,0x0)}),_0x5d7732=new Set(),_0x331a57=new Map();for(const {item:_0x2b9f29}of _0x4d1b7e){if(!_0x2b9f29['is'](_0x569e1c(0x1a5)))continue;const _0x9626c7=_0x2b9f29[_0x569e1c(0x1c9)];if(_0x9626c7&&_0x9626c7['is'](_0x569e1c(0x133))){const _0x94fd59=this[_0x569e1c(0xe0)](_0x9626c7,()=>_0x174539[_0x569e1c(0x13d)](_0x5d7732));_0x5d7732[_0x569e1c(0xe7)](_0x94fd59);for(const _0x35050b of _0x9626c7[_0x569e1c(0x139)]())_0x35050b['is'](_0x569e1c(0x133))&&_0x5d7732[_0x569e1c(0xe7)](this[_0x569e1c(0xe0)](_0x35050b,()=>_0x174539[_0x569e1c(0x13d)](_0x5d7732)));let _0x405b73=_0x9626c7;for(;_0x405b73[_0x569e1c(0x1c9)]&&!_0x405b73[_0x569e1c(0x1c9)]['is'](_0x569e1c(0x1db));)_0x405b73=_0x405b73[_0x569e1c(0x1c9)],_0x405b73[_0x569e1c(0x13e)](_0x51c04a)&&_0x405b73[_0x569e1c(0x143)](_0x51c04a);_0x331a57[_0x569e1c(0x160)](_0x94fd59,{'path':_0x9626c7[_0x569e1c(0xe3)](),'getContent':this[_0x569e1c(0x1c1)](_0x405b73[_0x569e1c(0x112)](!0x0),_0x94fd59,_0x39e395[_0x569e1c(0x180)])}),_0x4d1b7e[_0x569e1c(0x16e)](_0x43759f[_0x569e1c(0x19e)](_0x9626c7));}}return{'content':_0x39e395[_0x569e1c(0x180)][_0x569e1c(0xfe)][_0x569e1c(0xdc)](_0x39e395[_0x569e1c(0x180)][_0x569e1c(0x177)](_0x2e7cdf)),'version':_0x39e395[_0x569e1c(0x171)][_0x569e1c(0x154)][_0x569e1c(0x181)],'elements':_0x331a57};}[_0x53445d(0xee)](_0x1ccc52,_0x14285b,_0x5e249b=!0x1){const _0x4efefb=_0x53445d,_0xa08799=[],_0x353f20=_0x13db65(this[_0x4efefb(0xff)]),_0x43f0db=_0x353f20[_0x4efefb(0x180)][_0x4efefb(0x130)](_0x14285b,_0x4efefb(0x1c0)),_0x548550=_0x353f20[_0x4efefb(0x180)][_0x4efefb(0x130)](_0x1ccc52,_0x4efefb(0x1c0)),_0x4adb56=_0x353f20[_0x4efefb(0x171)][_0x4efefb(0xeb)](_0x548550,0x0);if(this[_0x4efefb(0x1ce)](_0x43f0db)){if(!this[_0x4efefb(0xdd)](_0x548550,_0x43f0db))return _0xa08799;}else{const _0x5533c4=_0x353f20[_0x4efefb(0x171)][_0x4efefb(0x147)];if(!this[_0x4efefb(0x158)](_0x548550,_0x5533c4)||!this[_0x4efefb(0x158)](_0x43f0db,_0x5533c4))return _0xa08799;}const _0x5109fc=this[_0x4efefb(0xff)][_0x4efefb(0x108)][_0x4efefb(0xe4)](_0x4efefb(0x11b))[_0x4efefb(0x19d)](_0x1ccc52,_0x14285b,{'anchor':_0x4adb56,'markDeletions':!0x0})[_0x4efefb(0x141)]()[_0x4efefb(0x107)](_0x399a33=>_0x4efefb(0x11e)===_0x399a33[_0x4efefb(0xef)]||_0x4efefb(0x16c)===_0x399a33[_0x4efefb(0xef)]&&_0x399a33[_0x4efefb(0x1a0)][_0x4efefb(0x1d8)](_0x4efefb(0xd3))),_0x38864d=this[_0x4efefb(0x1c7)](_0x5109fc),_0x26542f=[];if(_0x5e249b){if(_0x38864d[_0x4efefb(0x1b6)]){const _0x57aeca=_0x38864d[0x0][_0x4efefb(0x1a2)][0x0],_0x3b49af=_0x4efefb(0x11e)===_0x57aeca[_0x4efefb(0xef)]?_0x57aeca[_0x4efefb(0xe6)]:_0x57aeca[_0x4efefb(0x1af)][_0x4efefb(0x138)],_0x25744f=this[_0x4efefb(0x1b4)](_0x3b49af,_0x353f20,_0x4efefb(0x15c)),_0x256b86=_0x25744f?_0x43f0db[_0x4efefb(0x183)](0x0)[_0x4efefb(0x139)]():_0x43f0db[_0x4efefb(0x139)](),_0x2d7fe4=_0x25744f||_0x353f20[_0x4efefb(0x171)][_0x4efefb(0x17c)](_0x548550),_0x1dc75e=[new _0xa5b4c3(_0x4efefb(0x105)+_0x24d03e(),null,_0x2d7fe4,_0x353f20[_0x4efefb(0x171)][_0x4efefb(0x154)][_0x4efefb(0x171)][_0x4efefb(0x13c)],!0x0,_0x353f20[_0x4efefb(0x171)][_0x4efefb(0x154)][_0x4efefb(0x181)]+0x1),new _0x268244(_0x2d7fe4[_0x4efefb(0x1aa)],_0x256b86,_0x353f20[_0x4efefb(0x171)][_0x4efefb(0x154)][_0x4efefb(0x181)]+0x2)];_0x26542f[_0x4efefb(0xde)]({'operations':_0x1dc75e,'operationsIsolated':_0x1dc75e,'groupOffset':0x0});}}else _0x26542f[_0x4efefb(0xde)](..._0x38864d);let _0x50e038=0x0;return _0x353f20[_0x4efefb(0x171)][_0x4efefb(0x18f)](_0x209287=>{const _0x1f9a01=_0x4efefb;for(let _0x1c90fa=0x0;_0x1c90fa<_0x26542f[_0x1f9a01(0x1b6)];_0x1c90fa++){const _0x1fd382=_0x26542f[_0x1c90fa],_0x430f06=_0x209287[_0x1f9a01(0x15b)]();for(const _0x47e3d5 of _0x548550[_0x1f9a01(0x139)]())_0x209287[_0x1f9a01(0x18e)](_0x47e3d5[_0x1f9a01(0x112)](!0x0),_0x430f06);for(const _0x2cd674 of _0x1fd382[_0x1f9a01(0xfc)])if(_0x1f9a01(0x11e)===_0x2cd674[_0x1f9a01(0xef)]){const _0x250416=_0x2cd674;_0x250416[_0x1f9a01(0x15d)]=null,_0x250416[_0x1f9a01(0x1b5)]=!0x1,this[_0x1f9a01(0x136)](_0x250416,_0x430f06),_0x209287[_0x1f9a01(0x1d3)][_0x1f9a01(0x12f)](_0x2cd674),_0x353f20[_0x1f9a01(0x171)][_0x1f9a01(0x118)](_0x2cd674);const _0x25e42b=_0x1f9a01(0x12e)+_0x50e038++,_0x201d16=_0x353f20[_0x1f9a01(0x171)][_0x1f9a01(0x1bf)](_0x250416[_0x1f9a01(0xe6)],_0x250416[_0x1f9a01(0xe6)][_0x1f9a01(0x129)](_0x250416[_0x1f9a01(0x192)]));_0x430f06[_0x1f9a01(0x13c)][_0x1f9a01(0x160)](_0x25e42b,_0x201d16);}else{if(_0x1f9a01(0x16c)===_0x2cd674[_0x1f9a01(0xef)]&&_0x2cd674[_0x1f9a01(0x1a0)][_0x1f9a01(0x1d8)](_0x1f9a01(0xd3))){const _0x1c0f41=_0x2cd674,_0x3a5359=_0x1f9a01(0x1be)+_0x50e038++;this[_0x1f9a01(0x136)](_0x1c0f41,_0x430f06),_0x430f06[_0x1f9a01(0x13c)][_0x1f9a01(0x160)](_0x3a5359,_0x1c0f41[_0x1f9a01(0x1af)]);}}if(_0x5e249b)_0xa08799[_0x1f9a01(0xde)]({..._0x1fd382,'context':this[_0x1f9a01(0xdb)](_0x548550,_0x353f20[_0x1f9a01(0x180)]),'content':this[_0x1f9a01(0xdb)](_0x548550,_0x353f20[_0x1f9a01(0x180)])});else{const _0x38c829=this[_0x1f9a01(0x159)](this[_0x1f9a01(0xf7)](this[_0x1f9a01(0x1a1)](_0x1fd382[_0x1f9a01(0xfc)][0x0]),_0x430f06),this[_0x1f9a01(0xf7)](this[_0x1f9a01(0x163)](_0x1fd382[_0x1f9a01(0xfc)][_0x1fd382[_0x1f9a01(0xfc)][_0x1f9a01(0x1b6)]-0x1]),_0x430f06));_0x430f06[_0x1f9a01(0x13c)][_0x1f9a01(0x160)](fe+_0x1f9a01(0x1cc),new _0x2bfc82(_0x38c829[_0x1f9a01(0x138)],_0x38c829[_0x1f9a01(0x1aa)])),_0xa08799[_0x1f9a01(0xde)]({..._0x1fd382,'context':this[_0x1f9a01(0x151)](_0x430f06,_0x353f20[_0x1f9a01(0x180)],{'ellipsisBefore':_0x38c829[_0x1f9a01(0x1c5)],'ellipsisAfter':_0x38c829[_0x1f9a01(0xfa)]}),'content':this[_0x1f9a01(0xdb)](_0x430f06,_0x353f20[_0x1f9a01(0x180)])});}}}),_0xa08799;}[_0x53445d(0x1a8)](_0x4ee749,_0x2dc821){const _0x517e32=_0x53445d;if(!_0x4ee749[_0x517e32(0x1b6)])return;const _0x1c096d=_0x4ee749[0x0][_0x517e32(0x1c9)]['id'],_0x4b685c=_0x2dc821[_0x517e32(0x14f)][_0x517e32(0xe4)](_0x1c096d);if(!_0x4b685c)return void console[_0x517e32(0x190)](_0x517e32(0xd9)+_0x1c096d);const _0x3ef33b=_0x4b685c[_0x517e32(0x173)],_0x48b28b=_0x13db65(this[_0x517e32(0xff)]),_0x1144c2=_0x48b28b[_0x517e32(0x171)][_0x517e32(0x154)][_0x517e32(0x1c2)][_0x517e32(0x141)](_0x2dc821[_0x517e32(0x181)]),_0x4a20b2=[];for(const _0x509b4a of _0x4ee749){const _0x4b9fe6=_0x509b4a[_0x517e32(0xfc)][_0x517e32(0x161)](_0x876b19=>this[_0x517e32(0x145)](_0x876b19,_0x3ef33b,_0x48b28b[_0x517e32(0x171)][_0x517e32(0x154)][_0x517e32(0x16a)]()[0x0]));if(!_0x4b9fe6||!_0x4b9fe6[_0x517e32(0x1b6)])continue;const _0x1191ff=_0x4b9fe6[_0x517e32(0x1a9)](_0x145cb4=>_0x517e32(0x16c)===_0x145cb4[_0x517e32(0xef)]&&_0x145cb4[_0x517e32(0x1a0)][_0x517e32(0x1d8)](_0x517e32(0xd3))),_0x3a569c={'document':_0x48b28b[_0x517e32(0x171)][_0x517e32(0x154)],'useRelations':!0x1,'padWithNoOps':!0x1},_0xc162b9=_0x39a4a1(_0x4b9fe6,_0x1144c2,_0x3a569c)[_0x517e32(0x1a3)];for(const _0x3a0db7 of _0xc162b9)if(_0x517e32(0x11e)===_0x3a0db7[_0x517e32(0xef)]){const _0x31ff9d=_0x3a0db7,_0x3b74a6=_0x31ff9d[_0x517e32(0x11c)];_0x48b28b[_0x517e32(0x171)][_0x517e32(0x18f)](_0x154a08=>{const _0x430468=_0x517e32,_0x4cae75=_0x154a08[_0x430468(0x15b)]();for(const _0x2d66ce of _0x3b74a6)_0x154a08[_0x430468(0x18e)](_0x2d66ce[_0x430468(0x112)](!0x0),_0x4cae75);_0x4a20b2[_0x430468(0xde)]({'start':_0x31ff9d[_0x430468(0xe6)],'end':_0x31ff9d[_0x430468(0xe6)],'type':_0x430468(0x11e),'groupId':_0x509b4a['id'],'content':{'asString':this[_0x430468(0xdb)](_0x4cae75,_0x48b28b[_0x430468(0x180)])(),'asFragment':_0x4cae75}});});}else{if(_0x517e32(0x16c)===_0x3a0db7[_0x517e32(0xef)]&&_0x3a0db7[_0x517e32(0x1a0)][_0x517e32(0x1d8)](_0x517e32(0xd3))){const _0x493e57=_0x3a0db7;let _0x1f2b26=_0x517e32(0x1b1);if(_0x1191ff){const _0x5dfbd4=this[_0x517e32(0x1c6)](_0x493e57[_0x517e32(0x1af)][_0x517e32(0x138)],_0x517e32(0x1ad),_0x48b28b[_0x517e32(0x171)][_0x517e32(0x147)]),_0xa669a=this[_0x517e32(0x1c6)](_0x493e57[_0x517e32(0x1af)][_0x517e32(0x1aa)],_0x517e32(0x149),_0x48b28b[_0x517e32(0x171)][_0x517e32(0x147)]);if(_0x5dfbd4||_0xa669a){const _0x5bc17d=_0x493e57[_0x517e32(0x1af)][_0x517e32(0x138)][_0x517e32(0x129)](-_0x5dfbd4),_0x2c2d71=_0x493e57[_0x517e32(0x1af)][_0x517e32(0x1aa)][_0x517e32(0x129)](_0xa669a);_0x4a20b2[_0x517e32(0xde)]({'start':_0x5bc17d,'end':_0x2c2d71,'groupId':_0x509b4a['id'],'type':_0x517e32(0x19c)});}else _0x1f2b26=_0x517e32(0x155);}_0x4a20b2[_0x517e32(0xde)]({'start':_0x493e57[_0x517e32(0x1af)][_0x517e32(0x138)],'end':_0x493e57[_0x517e32(0x1af)][_0x517e32(0x1aa)],'groupId':_0x509b4a['id'],'type':_0x1f2b26});}}}this[_0x517e32(0xf3)](_0x4a20b2);}[_0x53445d(0x17e)](){const _0x3d549a=_0x53445d,_0x2e4f37=_0x13db65(this[_0x3d549a(0xff)]);_0x2e4f37[_0x3d549a(0x171)][_0x3d549a(0x18f)](_0x5c9cf4=>{const _0x49be3f=_0x3d549a;for(const _0x4e2315 of this[_0x49be3f(0x101)][_0x49be3f(0x115)]())_0x2e4f37[_0x49be3f(0x171)][_0x49be3f(0x13c)][_0x49be3f(0xe4)](_0x4e2315)&&_0x5c9cf4[_0x49be3f(0x19a)](_0x4e2315);}),this[_0x3d549a(0x101)][_0x3d549a(0x193)](),this[_0x3d549a(0x18b)][_0x3d549a(0x193)]();}[_0x53445d(0xfb)](){const _0x545c1f=_0x53445d;_0x13db65(this[_0x545c1f(0xff)])[_0x545c1f(0x1b8)](_0x545c1f(0xf2));}[_0x53445d(0x16f)](){const _0x3cb8a7=_0x53445d;_0x13db65(this[_0x3cb8a7(0xff)])[_0x3cb8a7(0x167)](_0x3cb8a7(0xf2));}[_0x53445d(0x175)](_0x27d237){const _0x442d67=_0x53445d,_0x4410e0=_0x13db65(this[_0x442d67(0xff)]),_0xdc51a7=_0x4410e0[_0x442d67(0x171)],_0x18bb1e=_0x27d237[_0x442d67(0x161)](_0x5edb58=>this[_0x442d67(0x1a6)](_0x5edb58))[_0x442d67(0x12d)]();_0xdc51a7[_0x442d67(0x18f)](_0x5f4f81=>{const _0x590e09=_0x442d67;for(const _0x10b945 of _0x18bb1e){const _0x4400a3=_0x4410e0[_0x590e09(0x171)][_0x590e09(0x13c)][_0x590e09(0xe4)](_0x10b945['id']);if(_0x4400a3){if(_0x590e09(0x11e)===_0x10b945[_0x590e09(0xef)]){if(!_0x10b945[_0x590e09(0x179)])continue;_0xdc51a7[_0x590e09(0x184)](_0x10b945[_0x590e09(0x179)][_0x590e09(0x14d)]||null,_0x4400a3[_0x590e09(0x110)]()[_0x590e09(0x138)]);}else _0x590e09(0x1b1)!==_0x10b945[_0x590e09(0xef)]&&_0x590e09(0x155)!==_0x10b945[_0x590e09(0xef)]||_0xdc51a7[_0x590e09(0xf5)](_0xdc51a7[_0x590e09(0x166)](_0x4400a3[_0x590e09(0x110)]()));_0x5f4f81[_0x590e09(0x19a)](_0x10b945['id']),this[_0x590e09(0x101)][_0x590e09(0x19b)](_0x10b945['id']);}}});}[_0x53445d(0xf1)](_0x17eb80){const _0x28ed9e=_0x53445d,_0x3979ef=_0x13db65(this[_0x28ed9e(0xff)]),_0xdba2cf=this[_0x28ed9e(0x1a6)](_0x17eb80);_0x3979ef[_0x28ed9e(0x171)][_0x28ed9e(0x18f)](_0x2d3a48=>{const _0x36cca6=_0x28ed9e;for(const _0xe90157 of _0xdba2cf)_0x2d3a48[_0x36cca6(0x19a)](_0xe90157['id']),this[_0x36cca6(0x101)][_0x36cca6(0x19b)](_0xe90157['id']);});}[_0x53445d(0x1bb)](){const _0x13d911=_0x53445d;return _0x13db65(this[_0x13d911(0xff)]);}[_0x53445d(0x10c)](_0x2bf027){const _0x375fa2=_0x53445d,_0x5ba5eb=Array[_0x375fa2(0x1b9)](this[_0x375fa2(0x101)][_0x375fa2(0x1b0)]())[_0x375fa2(0x107)](_0x217a80=>_0x217a80[_0x375fa2(0x11d)]===_0x2bf027);if(!_0x5ba5eb[_0x375fa2(0x1b6)])return null;const _0x794e12=0x1===_0x5ba5eb[_0x375fa2(0x1b6)]?_0x5ba5eb[0x0]:this[_0x375fa2(0x1d5)](_0x5ba5eb)[0x0],_0x47243d=_0x13db65(this[_0x375fa2(0xff)])[_0x375fa2(0x171)][_0x375fa2(0x13c)][_0x375fa2(0xe4)](_0x794e12['id']);if(!_0x47243d)return null;return{'modelRange':_0x47243d[_0x375fa2(0x110)](),'getElement':()=>this[_0x375fa2(0xe8)](_0x794e12['id'])};}[_0x53445d(0x164)](_0x16262d){const _0x5ec371=_0x53445d,_0x4bd186=Array[_0x5ec371(0x1b9)](this[_0x5ec371(0x101)][_0x5ec371(0x1b0)]())[_0x5ec371(0x107)](_0x59d529=>_0x59d529[_0x5ec371(0x11d)]===_0x16262d);if(!_0x4bd186[_0x5ec371(0x1b6)])return null;const _0x446131=0x1===_0x4bd186[_0x5ec371(0x1b6)]?_0x4bd186[0x0]:this[_0x5ec371(0x1d5)](_0x4bd186)[0x0],_0x4917b0=_0x13db65(this[_0x5ec371(0xff)]),_0x442f32=_0x4917b0[_0x5ec371(0x171)][_0x5ec371(0x13c)][_0x5ec371(0xe4)](_0x446131['id']);if(!_0x442f32)return null;const _0x349e9a=_0x442f32[_0x5ec371(0x110)](),_0x23b31b=_0x4917b0[_0x5ec371(0x15f)][_0x5ec371(0x187)][_0x5ec371(0x11a)]();if(!_0x23b31b||!_0x349e9a)return null;let _0x1fc89e=_0x349e9a[_0x5ec371(0x138)][_0x5ec371(0x1c9)];for(;_0x1fc89e[_0x5ec371(0x1c9)]&&_0x5ec371(0x10f)!==_0x1fc89e[_0x5ec371(0x1c9)][_0x5ec371(0x1a0)];)_0x1fc89e=_0x1fc89e[_0x5ec371(0x1c9)];if(!_0x1fc89e||!_0x1fc89e[_0x5ec371(0x1a0)])return null;const _0x6c21c7=_0x23b31b[_0x5ec371(0x1cf)](_0x5ec371(0x104)+_0x446131['id']+'\x22]');if(!_0x6c21c7)return null;let _0x54c1f3=null;_0x4917b0[_0x5ec371(0x171)][_0x5ec371(0x18f)](_0x1794f4=>{const _0x398a3a=_0x5ec371;_0x54c1f3=_0x1794f4[_0x398a3a(0x15b)](),_0x1794f4[_0x398a3a(0x18e)](_0x1fc89e[_0x398a3a(0x112)](!0x0),_0x54c1f3);});const _0x55d228=_0x4917b0[_0x5ec371(0x180)][_0x5ec371(0x177)](_0x54c1f3)[_0x5ec371(0x183)](0x0);return _0x6c21c7[_0x5ec371(0x1d2)](_0x55d228[_0x5ec371(0x1a0)]);}[_0x53445d(0x144)](_0x3addbe){const _0x1747e3=_0x53445d,_0x37e95b=this[_0x1747e3(0x1a6)](_0x3addbe);if(!_0x37e95b[_0x1747e3(0x1b6)])return;const _0x2eebea=Array[_0x1747e3(0x1b9)](this[_0x1747e3(0x18b)])[_0x1747e3(0x14c)](),_0x41a541=Array[_0x1747e3(0x1b9)](new Set(_0x37e95b[_0x1747e3(0x161)](_0x3b3218=>_0x3b3218['id'])))[_0x1747e3(0x14c)]();_0x2eebea[_0x1747e3(0x10a)]('|')!==_0x41a541[_0x1747e3(0x10a)]('|')&&(this[_0x1747e3(0xd7)](),this[_0x1747e3(0x18d)](_0x3addbe));}[_0x53445d(0x18d)](_0x1de275){const _0x3267d7=_0x53445d,_0x9c7815=this[_0x3267d7(0x1a6)](_0x1de275);if(!_0x9c7815[_0x3267d7(0x1b6)])return;const _0x5ca22f=_0x13db65(this[_0x3267d7(0xff)]),_0x3ff7c7=new Set(_0x9c7815[_0x3267d7(0x161)](_0x2a16c2=>_0x2a16c2['id'])),_0x2fec60=Array[_0x3267d7(0x1b9)](_0x3ff7c7[_0x3267d7(0x1b0)]())[_0x3267d7(0x161)](_0x12dd29=>_0x5ca22f[_0x3267d7(0x171)][_0x3267d7(0x13c)][_0x3267d7(0xe4)](_0x12dd29))[_0x3267d7(0x107)](_0x33e1f6=>!!_0x33e1f6);_0x3ff7c7[_0x3267d7(0xd4)](_0x43e5d5=>{const _0x1fa0aa=_0x3267d7;this[_0x1fa0aa(0x18b)][_0x1fa0aa(0xe7)](_0x43e5d5);}),_0x5ca22f[_0x3267d7(0x171)][_0x3267d7(0x18f)](()=>{const _0x1a6270=_0x3267d7;_0x2fec60[_0x1a6270(0xd4)](_0x69f903=>{const _0x2da63d=_0x1a6270;_0x5ca22f[_0x2da63d(0x15f)][_0x2da63d(0x1ac)](_0x69f903);});});}[_0x53445d(0xd7)](){const _0x35e16e=_0x53445d,_0x4bed9b=Array[_0x35e16e(0x1b9)](this[_0x35e16e(0x18b)]);if(!_0x4bed9b[_0x35e16e(0x1b6)])return;this[_0x35e16e(0x18b)][_0x35e16e(0x193)]();const _0xa3bb1e=_0x13db65(this[_0x35e16e(0xff)]),_0x273fce=_0x4bed9b[_0x35e16e(0x161)](_0x13a083=>_0xa3bb1e[_0x35e16e(0x171)][_0x35e16e(0x13c)][_0x35e16e(0xe4)](_0x13a083))[_0x35e16e(0x107)](_0x120c34=>!!_0x120c34);_0xa3bb1e[_0x35e16e(0x171)][_0x35e16e(0x18f)](()=>{const _0x5b80f0=_0x35e16e;_0x273fce[_0x5b80f0(0xd4)](_0xa85017=>{const _0x463526=_0x5b80f0;_0xa3bb1e[_0x463526(0x15f)][_0x463526(0x1ac)](_0xa85017);});});}[_0x53445d(0x1b4)](_0x58af15,_0x1042d2,_0x51fc40=_0x53445d(0x123)){const _0x2c2c74=_0x53445d;if(!_0x58af15)return null;let _0x11739f=_0x58af15[_0x2c2c74(0x1c9)];for(;_0x11739f&&_0x11739f[_0x2c2c74(0x1c9)]&&_0x2c2c74(0x10f)!==_0x11739f[_0x2c2c74(0x1c9)][_0x2c2c74(0x1a0)]&&!_0x1042d2[_0x2c2c74(0x171)][_0x2c2c74(0x147)][_0x2c2c74(0x1ae)](_0x11739f)&&!_0x1042d2[_0x2c2c74(0x171)][_0x2c2c74(0x147)][_0x2c2c74(0x127)](_0x11739f);)_0x11739f=_0x11739f[_0x2c2c74(0x1c9)];if(!_0x11739f||!_0x11739f[_0x2c2c74(0x1a0)]||_0x2c2c74(0x10f)===_0x11739f[_0x2c2c74(0x1a0)])return null;let _0x1b6594=null;return _0x1042d2[_0x2c2c74(0x171)][_0x2c2c74(0x18f)](_0x2838a0=>{const _0x3dc71a=_0x2c2c74;_0x1b6594=_0x3dc71a(0x15c)===_0x51fc40?_0x2838a0[_0x3dc71a(0x17c)](_0x11739f):_0x2838a0[_0x3dc71a(0x116)](_0x11739f);}),_0x1b6594;}[_0x53445d(0x14b)](_0x49d602,_0x4d3caf){const _0x34a826=_0x53445d,_0x16d537=Array[_0x34a826(0x1b9)](this[_0x34a826(0x101)][_0x34a826(0x115)]()),_0x1cde7e=new Map();for(const _0x183af1 of _0x16d537){const _0xc2b562=_0x49d602[_0x34a826(0x171)][_0x34a826(0x13c)][_0x34a826(0xe4)](_0x183af1);if(!_0xc2b562)continue;const _0x1d4935=_0xc2b562[_0x34a826(0x135)]()[_0x34a826(0x173)][0x0];_0x1cde7e[_0x34a826(0x12a)](_0x1d4935)||_0x1cde7e[_0x34a826(0x160)](_0x1d4935,[]),_0x1cde7e[_0x34a826(0xe4)](_0x1d4935)[_0x34a826(0xde)](_0xc2b562);}const _0x35b0f6=new Set();for(const _0x20a87e of _0x49d602[_0x34a826(0x171)][_0x34a826(0x154)][_0x34a826(0xce)][_0x34a826(0x1cb)]()){let _0x19c038=-0x1,_0x2bb429=null;if(_0x34a826(0x11e)===_0x20a87e[_0x34a826(0xef)])_0x2bb429=new _0x2bfc82(_0x20a87e[_0x34a826(0xe6)],_0x20a87e[_0x34a826(0xe6)][_0x34a826(0x129)](_0x20a87e[_0x34a826(0x1b6)])),_0x19c038=_0x20a87e[_0x34a826(0xe6)][_0x34a826(0x173)][0x0];else{if(_0x34a826(0x111)!==_0x20a87e[_0x34a826(0xef)])continue;_0x2bb429=new _0x2bfc82(_0x20a87e[_0x34a826(0xe6)]),_0x19c038=_0x20a87e[_0x34a826(0xe6)][_0x34a826(0x173)][0x0];}const _0x5e702e=_0x1cde7e[_0x34a826(0xe4)](_0x19c038)||[];if(_0x5e702e[_0x34a826(0x1b6)]){for(const _0x375b67 of _0x5e702e)if(_0x2bb429[_0x34a826(0x142)][_0x34a826(0xd1)]===_0x375b67[_0x34a826(0x110)]()[_0x34a826(0x142)][_0x34a826(0xd1)]&&(_0x34a826(0x11e)!==_0x20a87e[_0x34a826(0xef)]||!_0x2bb429[_0x34a826(0x113)](_0x375b67[_0x34a826(0x110)]()))&&(_0x2bb429[_0x34a826(0xdf)](_0x375b67[_0x34a826(0x110)]())||_0x2bb429[_0x34a826(0x138)][_0x34a826(0x119)](_0x375b67[_0x34a826(0x110)]()[_0x34a826(0x1aa)])||_0x2bb429[_0x34a826(0x1aa)][_0x34a826(0x119)](_0x375b67[_0x34a826(0x110)]()[_0x34a826(0x138)]))){const _0x3cf003=this[_0x34a826(0x11f)](_0x375b67[_0x34a826(0x1a0)]);Array[_0x34a826(0x1b9)](this[_0x34a826(0x101)][_0x34a826(0x1b0)]())[_0x34a826(0x107)](_0x1699d6=>_0x1699d6[_0x34a826(0x11d)]===_0x3cf003[_0x34a826(0x11d)])[_0x34a826(0xd4)](_0x4e8fa4=>_0x35b0f6[_0x34a826(0xe7)](_0x4e8fa4['id']));}}}if(_0x35b0f6[_0x34a826(0x13f)]){for(const _0x5b9bba of _0x35b0f6)_0x4d3caf[_0x34a826(0x19a)](_0x5b9bba);return!0x0;}return!0x1;}[_0x53445d(0x1b7)](_0x362bcf){const _0x103f94=_0x53445d;for(const {name:_0x4fafb8,data:_0x4e7d29}of _0x362bcf[_0x103f94(0x171)][_0x103f94(0x154)][_0x103f94(0xce)][_0x103f94(0x100)]()){if(!_0x4fafb8[_0x103f94(0x1d8)](fe))continue;const _0x38d1ce=_0x4e7d29[_0x103f94(0x156)],_0x5a96cd=_0x4e7d29[_0x103f94(0x1af)],_0x25998e=_0x38d1ce&&_0x103f94(0x117)===_0x38d1ce[_0x103f94(0x142)][_0x103f94(0xd1)],_0x182d93=_0x5a96cd&&_0x103f94(0x117)===_0x5a96cd[_0x103f94(0x142)][_0x103f94(0xd1)];if(_0x25998e&&_0x182d93)continue;const _0x474224=this[_0x103f94(0x11f)](_0x4fafb8);this[_0x103f94(0x101)][_0x103f94(0xe4)](_0x4fafb8)&&(_0x182d93||!_0x5a96cd?this[_0x103f94(0x1d7)][_0x103f94(0xd5)](_0x103f94(0x170),{'markerId':_0x4fafb8,'changeId':_0x474224[_0x103f94(0x11d)]}):_0x25998e&&_0x5a96cd&&this[_0x103f94(0x1d7)][_0x103f94(0xd5)](_0x103f94(0x14e),{'markerId':_0x4fafb8,'changeId':_0x474224[_0x103f94(0x11d)]}));}}[_0x53445d(0x11f)](_0xfca9a3){const _0x1a616b=_0x53445d,_0xd15b2f=_0xfca9a3[_0x1a616b(0x178)](':'),_0x10b460=(_0xd15b2f[0x1]||'')[_0x1a616b(0x178)]('_');return{'prefix':_0xd15b2f[0x0],'groupId':_0x10b460[0x0],'suffix':_0x10b460[0x1]};}[_0x53445d(0x145)](_0x44d6dd,_0x21aff1,_0x3c764b){const _0x2cf9ef=_0x53445d;if(_0x2cf9ef(0x11e)===_0x44d6dd[_0x2cf9ef(0xef)]){const _0x50c714=_0x44d6dd;return new _0x268244(this[_0x2cf9ef(0x189)](_0x21aff1[_0x2cf9ef(0x17f)](_0x50c714[_0x2cf9ef(0xe6)][_0x2cf9ef(0xe1)]),_0x3c764b),_0x50c714[_0x2cf9ef(0x11c)],_0x50c714[_0x2cf9ef(0x15d)]);}if(_0x2cf9ef(0x16c)===_0x44d6dd[_0x2cf9ef(0xef)]&&_0x44d6dd[_0x2cf9ef(0x1a0)][_0x2cf9ef(0x1d8)](_0x2cf9ef(0xd3))){const _0x2013e1=_0x44d6dd;return new _0xa5b4c3(_0x2013e1[_0x2cf9ef(0x1a0)],_0x2013e1[_0x2cf9ef(0x156)],this[_0x2cf9ef(0x1a7)](_0x2013e1[_0x2cf9ef(0x1af)],_0x21aff1[_0x2cf9ef(0x17f)](_0x2013e1[_0x2cf9ef(0x1af)][_0x2cf9ef(0x138)][_0x2cf9ef(0xe1)]),_0x21aff1[_0x2cf9ef(0x17f)](_0x2013e1[_0x2cf9ef(0x1af)][_0x2cf9ef(0x1aa)][_0x2cf9ef(0xe1)]),_0x3c764b),_0x2013e1[_0x2cf9ef(0x101)],_0x2013e1[_0x2cf9ef(0x121)],_0x2013e1[_0x2cf9ef(0x15d)]);}return _0x44d6dd;}[_0x53445d(0x1c7)](_0x162ce5){const _0x909d5c=_0x53445d;if(!_0x162ce5[_0x909d5c(0x1b6)])return[];const _0x3a102b=[];let _0x3bea00=0x0,_0x53c18e=0x0,_0x52723c=[];for(let _0x2f9020=0x0;_0x2f9020<=_0x162ce5[_0x909d5c(0x1b6)];_0x2f9020++){const _0x16e6c2=_0x162ce5[_0x2f9020],_0x314c8a=_0x162ce5[_0x2f9020-0x1];!_0x16e6c2||_0x314c8a&&!this[_0x909d5c(0x163)](_0x314c8a)[_0x909d5c(0x119)](this[_0x909d5c(0x1a1)](_0x16e6c2))?(_0x3a102b[_0x909d5c(0xde)]({'operations':_0x52723c,'operationsIsolated':_0x52723c[_0x909d5c(0x161)](_0x2b56d0=>this[_0x909d5c(0x1c4)](_0x2b56d0[_0x909d5c(0x12b)](),-_0x53c18e)),'groupOffset':_0x3bea00}),_0x52723c=_0x16e6c2?[_0x16e6c2]:[],_0x53c18e+=_0x3bea00,_0x3bea00=0x0):_0x52723c[_0x909d5c(0xde)](_0x16e6c2),_0x16e6c2&&_0x909d5c(0x11e)===_0x16e6c2[_0x909d5c(0xef)]&&(_0x3bea00+=_0x16e6c2[_0x909d5c(0x192)]);}return _0x3a102b;}[_0x53445d(0x1c6)](_0x180992,_0x11ffed,_0x35a166,_0xb31dde=0x1){const _0x446599=_0x53445d,_0x1f0568=new _0x23c84f({'startPosition':_0x180992,'direction':_0x11ffed});let _0x4b753a=0x0;for(let _0x2d3256=0x0;_0x2d3256<_0xb31dde;_0x2d3256++){let _0x263d6a=0x0,_0x94b678=!0x1,_0x21e1fe=_0x446599(0x149)===_0x11ffed?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x485079}of _0x1f0568)if(_0x485079['is'](_0x446599(0x1a5))){const _0x3bac89=_0x21e1fe[_0x446599(0x10b)](_0x485079[_0x446599(0x180)]);if(_0x3bac89&&_0x3bac89[_0x446599(0x1b6)]){if(_0x263d6a+=_0x446599(0x149)===_0x11ffed?_0x3bac89[_0x446599(0x185)]+_0x3bac89[0x0][_0x446599(0x1b6)]:_0x485079[_0x446599(0x180)][_0x446599(0x1b6)]-_0x3bac89[_0x446599(0x185)],_0x3bac89[0x0][_0x446599(0x1b6)]!==_0x485079[_0x446599(0x180)][_0x446599(0x1b6)])break;_0x94b678=!0x0,_0x21e1fe=_0x446599(0x149)===_0x11ffed?/^\w+/:/\w+$/;}else{if(_0x94b678)break;_0x263d6a+=_0x485079[_0x446599(0x17a)];}}else{if(_0x485079['is'](_0x446599(0x133))){_0x35a166[_0x446599(0xcf)](_0x485079)&&!_0x94b678&&(_0x263d6a+=0x1);break;}}_0x4b753a+=_0x263d6a,_0x1f0568[_0x446599(0x16e)](_0x180992[_0x446599(0x129)](_0x446599(0x149)===_0x11ffed?_0x4b753a:-_0x4b753a));}return _0x4b753a;}[_0x53445d(0x159)](_0x3b7726,_0x59d8ab){const _0xbcdbfa=_0x53445d,_0xc10379=_0x13db65(this[_0xbcdbfa(0xff)])[_0xbcdbfa(0x171)][_0xbcdbfa(0x147)],_0x4bc456=this[_0xbcdbfa(0x1c6)](_0x3b7726,_0xbcdbfa(0x1ad),_0xc10379,0x6),_0x45ab9e=this[_0xbcdbfa(0x1c6)](_0x59d8ab,_0xbcdbfa(0x149),_0xc10379,0x6),_0x394d3e=_0x3b7726[_0xbcdbfa(0x129)](-_0x4bc456),_0x19848d=_0x59d8ab[_0xbcdbfa(0x129)](_0x45ab9e);return{'start':_0x394d3e,'end':_0x19848d,'hasContentBefore':!_0x394d3e[_0xbcdbfa(0x1ca)],'hasContentAfter':!_0x19848d[_0xbcdbfa(0xed)]};}[_0x53445d(0xf3)](_0x1594b9){const _0x23c108=_0x53445d,_0x252894=this[_0x23c108(0xff)][_0x23c108(0x108)][_0x23c108(0xe4)](_0x23c108(0xe5)),_0x3c9307=new Set();_0x13db65(this[_0x23c108(0xff)])[_0x23c108(0x171)][_0x23c108(0x18f)](_0xc126d9=>{const _0x584d04=_0x23c108;for(const _0xfe2d37 of _0x1594b9){const _0x32ea6a=''+fe+_0xfe2d37[_0x584d04(0xef)]+':'+_0xfe2d37[_0x584d04(0x11d)]+'_'+_0x252894[_0x584d04(0x13d)](_0x3c9307);this[_0x584d04(0x101)][_0x584d04(0x160)](_0x32ea6a,{'id':_0x32ea6a,'groupId':_0xfe2d37[_0x584d04(0x11d)],'type':_0xfe2d37[_0x584d04(0xef)],'content':_0xfe2d37[_0x584d04(0x179)]}),_0xc126d9[_0x584d04(0x197)](_0x32ea6a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xc126d9[_0x584d04(0x1bf)](_0xfe2d37[_0x584d04(0x138)],_0xfe2d37[_0x584d04(0x1aa)])});}});}[_0x53445d(0x151)](_0x9fab3b,_0x3fdd0e,_0x3f27e1){let _0x4d315f='';return()=>{const _0x206626=_0x3ac5;if(!_0x4d315f){const _0x44bcbc=_0x3fdd0e[_0x206626(0x177)](_0x9fab3b,{'showSuggestionHighlights':!0x0});let _0x137dbc=_0x44bcbc[_0x206626(0x183)](0x0);if(_0x137dbc['is'](_0x206626(0x1c3))||(_0x137dbc=_0x44bcbc),!_0x137dbc)return'';let _0x355e71=!0x1;const _0x231880=[];for(const _0x197b64 of _0x137dbc[_0x206626(0x139)]())_0x197b64['is'](_0x206626(0x133),_0x206626(0x198))&&_0x197b64[_0x206626(0x194)](_0x206626(0x1bc))&&(_0x355e71=!0x1),_0x355e71&&_0x231880[_0x206626(0xde)](_0x197b64),_0x197b64['is'](_0x206626(0x133),_0x206626(0x198))&&_0x197b64[_0x206626(0x194)](_0x206626(0xd0))&&(_0x355e71=!0x0);_0x137dbc[_0x206626(0x188)](0x0,_0x137dbc[_0x206626(0x17b)]),_0x3f27e1?.[_0x206626(0x196)]&&_0x137dbc[_0x206626(0x122)]('…'),_0x137dbc[_0x206626(0x122)](_0x231880),_0x3f27e1?.[_0x206626(0x1ba)]&&_0x137dbc[_0x206626(0x122)]('…');const _0x44d77a=_0x3fdd0e[_0x206626(0x103)][_0x206626(0x157)][_0x206626(0x1d4)](_0x44bcbc),_0x502a95=_0x3fdd0e[_0x206626(0x103)][_0x206626(0x18c)][_0x206626(0x12c)](_0x44d77a);_0x4d315f=_0x502a95;}return _0x4d315f;};}[_0x53445d(0xdb)](_0x1cf941,_0xfe6c60){const _0x3cd513=_0x53445d;let _0x28ec34='';return()=>(_0x28ec34||(_0x28ec34=_0xfe6c60[_0x3cd513(0x182)](_0x1cf941,{'showSuggestionHighlights':!0x0})),_0x28ec34);}[_0x53445d(0x1c1)](_0x9b87c7,_0x2d8bef,_0x29e44b){let _0x414586='';return()=>{const _0x327b11=_0x3ac5;if(!_0x414586){const _0x4266d7=_0x29e44b[_0x327b11(0x177)](new _0x5784eb(_0x9b87c7)),_0x2b6e3d=_0x29e44b[_0x327b11(0x103)][_0x327b11(0x157)][_0x327b11(0x1d4)](_0x4266d7)[_0x327b11(0x1cf)](_0x327b11(0x128)+_0x2d8bef+'\x22]');_0x414586=_0x2b6e3d?.[_0x327b11(0x153)]||'';}return _0x414586;};}[_0x53445d(0xea)](_0x11a48e,_0xcf46e=0x5){const _0x3f0d00=_0x53445d;let _0x595bd8=_0x11a48e,_0x39ba3a=null;for(let _0x19c619=0x0;_0x19c619<_0xcf46e&&_0x595bd8;_0x19c619++){if(!_0x595bd8[_0x3f0d00(0x1da)]){_0x595bd8=_0x595bd8[_0x3f0d00(0x1c8)];continue;}if(!(''+_0x595bd8[_0x3f0d00(0x1da)])[_0x3f0d00(0x134)](_0x3f0d00(0x1d6))){_0x595bd8=_0x595bd8[_0x3f0d00(0x1c8)];continue;}if(!_0x595bd8[_0x3f0d00(0x162)](_0x3f0d00(0x132)))break;_0x39ba3a=_0x595bd8;break;}return _0x39ba3a;}[_0x53445d(0xe8)](_0x2c17be){const _0x2aa3df=_0x53445d,_0xb9b7a4=_0x13db65(this[_0x2aa3df(0xff)]),_0x301f1d=_0xb9b7a4[_0x2aa3df(0x171)][_0x2aa3df(0x13c)][_0x2aa3df(0xe4)](_0x2c17be);return _0x301f1d?_0x23001f(_0xb9b7a4[_0x2aa3df(0x15f)],_0x301f1d):null;}[_0x53445d(0x1a6)](_0x497c96){const _0x552287=_0x53445d;return Array[_0x552287(0x1b9)](this[_0x552287(0x101)][_0x552287(0x1b0)]())[_0x552287(0x107)](_0x1faf34=>_0x1faf34[_0x552287(0x11d)]===_0x497c96);}[_0x53445d(0x1a1)](_0xebb9b3){const _0x4b0e2f=_0x53445d;return _0x4b0e2f(0x11e)===_0xebb9b3[_0x4b0e2f(0xef)]?_0xebb9b3[_0x4b0e2f(0xe6)]:_0xebb9b3[_0x4b0e2f(0x1af)][_0x4b0e2f(0x138)];}[_0x53445d(0x163)](_0x1213f7,_0x2da8bf=!0x1){const _0x642c90=_0x53445d;return _0x642c90(0x11e)===_0x1213f7[_0x642c90(0xef)]?_0x2da8bf?_0x1213f7[_0x642c90(0xe6)]:_0x1213f7[_0x642c90(0xe6)][_0x642c90(0x129)](_0x1213f7[_0x642c90(0x192)]):_0x1213f7[_0x642c90(0x1af)][_0x642c90(0x1aa)];}[_0x53445d(0x1c4)](_0x52b660,_0x42c667){const _0x222e82=_0x53445d;return _0x222e82(0x11e)===_0x52b660[_0x222e82(0xef)]?_0x52b660[_0x222e82(0xe6)]=_0x52b660[_0x222e82(0xe6)][_0x222e82(0x129)](_0x42c667):_0x222e82(0x16c)===_0x52b660[_0x222e82(0xef)]&&_0x52b660[_0x222e82(0x1af)]&&(_0x52b660[_0x222e82(0x1af)]=new _0x2bfc82(_0x52b660[_0x222e82(0x1af)][_0x222e82(0x138)][_0x222e82(0x129)](_0x42c667),_0x52b660[_0x222e82(0x1af)][_0x222e82(0x1aa)][_0x222e82(0x129)](_0x42c667))),_0x52b660;}[_0x53445d(0x136)](_0x2a33f5,_0x4dd21d){const _0x5b2a68=_0x53445d;_0x5b2a68(0x11e)===_0x2a33f5[_0x5b2a68(0xef)]?_0x2a33f5[_0x5b2a68(0xe6)]=this[_0x5b2a68(0xf7)](_0x2a33f5[_0x5b2a68(0xe6)],_0x4dd21d):_0x5b2a68(0x16c)===_0x2a33f5[_0x5b2a68(0xef)]&&_0x2a33f5[_0x5b2a68(0x1af)]&&(_0x2a33f5[_0x5b2a68(0x1af)]=this[_0x5b2a68(0x1bd)](_0x2a33f5[_0x5b2a68(0x1af)],_0x4dd21d));}[_0x53445d(0xf7)](_0x370d81,_0x4974af){const _0x583f25=_0x53445d;return new _0x254181(_0x4974af,_0x370d81[_0x583f25(0x173)]);}[_0x53445d(0x1bd)](_0x1b03ff,_0x352579){const _0x5f5d8f=_0x53445d;return new _0x2bfc82(this[_0x5f5d8f(0xf7)](_0x1b03ff[_0x5f5d8f(0x138)],_0x352579),this[_0x5f5d8f(0xf7)](_0x1b03ff[_0x5f5d8f(0x1aa)],_0x352579));}[_0x53445d(0x189)](_0x308cb1,_0x2d3186){return new _0x254181(_0x2d3186,[..._0x308cb1]);}[_0x53445d(0x1a7)](_0xde5616,_0x369a80,_0x51b407,_0x3bad04){const _0x1bd821=_0x53445d;return new _0x2bfc82(this[_0x1bd821(0x189)](_0x369a80,_0x3bad04),this[_0x1bd821(0x189)](_0x51b407,_0x3bad04));}[_0x53445d(0x1d5)](_0x50bf0d){const _0x86f7b6=_0x53445d,_0x500b45=_0x1ab36b=>{const _0x4d5cb5=_0x3ac5;switch(_0x1ab36b){case _0x4d5cb5(0x11e):return 0x0;case _0x4d5cb5(0x19c):return 0x1;case _0x4d5cb5(0x155):return 0x2;case _0x4d5cb5(0x1b1):return 0x3;}};return _0x50bf0d[_0x86f7b6(0x14c)]((_0x56073b,_0x38c31f)=>_0x500b45(_0x56073b[_0x86f7b6(0xef)])-_0x500b45(_0x38c31f[_0x86f7b6(0xef)]));}[_0x53445d(0xdd)](_0x2e270d,_0x20591b){const _0x30d449=_0x53445d,_0x4beeab=_0x2e270d[_0x30d449(0x183)](0x0),_0x1b2e65=_0x20591b[_0x30d449(0x183)](0x0);return!(!_0x4beeab||!_0x1b2e65)&&((!_0x4beeab['is'](_0x30d449(0x133))||!_0x1b2e65['is'](_0x30d449(0x133))||_0x4beeab[_0x30d449(0x1a0)]===_0x1b2e65[_0x30d449(0x1a0)])&&!(_0x4beeab['is'](_0x30d449(0x133))&&!_0x1b2e65['is'](_0x30d449(0x133))||!_0x4beeab['is'](_0x30d449(0x133))&&_0x1b2e65['is'](_0x30d449(0x133))));}[_0x53445d(0x1ce)](_0x306608){const _0x29575d=_0x53445d;return 0x1===_0x306608[_0x29575d(0x17b)];}[_0x53445d(0x158)](_0xc4ef2d,_0x49ee78){const _0x2ac545=_0x53445d;for(const _0x3b060f of _0xc4ef2d[_0x2ac545(0x139)]())if(_0x3b060f['is'](_0x2ac545(0x133))&&!_0x49ee78[_0x2ac545(0xcf)](_0x3b060f))return!0x1;return!0x0;}[_0x53445d(0xe0)](_0x39e315,_0x1770fa){const _0x3852dd=_0x53445d;let _0x1d9554=_0x39e315[_0x3852dd(0x162)](_0x51c04a);return _0x1d9554||(_0x1d9554=_0x1770fa(),_0x39e315[_0x3852dd(0xf6)](_0x51c04a,_0x1d9554)),_0x1d9554;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4d3a(){const _0x590d45=['error-general','showChunkErrorView','isPremiumPlugin','outdated','setTitle','deactivateChange','setActiveStateInResults','context','getReviewCheckList','forEach','showReviewCheckResultsView','isOfficialPlugin','showGeneralResultsErrorView','setItemAsActive','showReviewCheckList','reviewCheckListView','hideChangeBalloon','resetActiveStateInResults','updateChangeState','createMainView','config','showResult','rejected','668832bldDtM','409387fgTqsO','80ZaGEsQ','reviewCheckResultsView','hideActionsWhenResultIsReady','72HEgRpf','872684pOrWkG','3xgMikH','detachFromDom','learnMore','_bodyCollection','hideResult','_mainView','hasChecks','runReviewCheck','locale','showActionsWhenResultIsReady','addCheckRunResult','accepted','registerTab','dismissChange','showReviewCheckListView','3963393sgIMBS','element','abortReviewStream','retryReview','activateChange','destroy','hideBalloon','setAvailableChecks','showDiffInBalloon','3866676SdyZSP','AITabs','showChangeBalloon','setCheckResultTitle','fire','showGeneralReviewCoreErrorView','requires','toggleDiff','attachToDom','init','getChangeElement','delegate','get','hideDiffInBalloon','acceptChange','setItemAsInactive','find','ai.models.showModelSelector','showCheckRunResult','acceptAllChanges','showCheckRunResults','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','leaveReviewCoreResultList','plugins','331023OXMnKl','841678TbAVFy','finishReview','showBalloon','setChecks','status','_balloonSuggestionView','showNoChangesView','10Utmbck','getResults','error-chunk','showReviewCompletedView'];_0x4d3a=function(){return _0x590d45;};return _0x4d3a();}const _0x5bf68d=_0x4a2f;(function(_0x3e76a0,_0x3913f3){const _0x3cd6ec=_0x4a2f,_0x180dfb=_0x3e76a0();while(!![]){try{const _0x45e953=parseInt(_0x3cd6ec(0x16e))/0x1+parseInt(_0x3cd6ec(0x14b))/0x2*(-parseInt(_0x3cd6ec(0x11a))/0x3)+parseInt(_0x3cd6ec(0x119))/0x4*(-parseInt(_0x3cd6ec(0x152))/0x5)+parseInt(_0x3cd6ec(0x132))/0x6+parseInt(_0x3cd6ec(0x129))/0x7+parseInt(_0x3cd6ec(0x16d))/0x8*(-parseInt(_0x3cd6ec(0x118))/0x9)+parseInt(_0x3cd6ec(0x16f))/0xa*(parseInt(_0x3cd6ec(0x14a))/0xb);if(_0x45e953===_0x3913f3)break;else _0x180dfb['push'](_0x180dfb['shift']());}catch(_0x359c54){_0x180dfb['push'](_0x180dfb['shift']());}}}(_0x4d3a,0x51bab));import{ContextPlugin as _0x2f6005}from'ckeditor5/src/core.js';import{BodyCollection as _0x2def97}from'ckeditor5/src/ui.js';import{getTranslation as _0x4a0e06}from'../aicore/utils/common-translations.js';import{AITabs as _0x4894fb}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x353da7}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x5bf68d(0x15e),_0x5bf68d(0x121),_0x5bf68d(0x12b),_0x5bf68d(0x139),_0x5bf68d(0x145),_0x5bf68d(0x148),_0x5bf68d(0x12d),_0x5bf68d(0x15b),_0x5bf68d(0x140),_0x5bf68d(0x127),_0x5bf68d(0x11c),_0x5bf68d(0x14c),_0x5bf68d(0x12c)];import'../../theme/common/aiheader.css';import'../../theme/common/ainotification.css';import'../../theme/common/aibutton.css';function _0x4a2f(_0x1bf65c,_0x52dab0){const _0x4d3a85=_0x4d3a();return _0x4a2f=function(_0x4a2f99,_0x37d98d){_0x4a2f99=_0x4a2f99-0x116;let _0x56379c=_0x4d3a85[_0x4a2f99];return _0x56379c;},_0x4a2f(_0x1bf65c,_0x52dab0);}import'../../theme/common/aitrackchanges.css';import'../../theme/aireviewcore/aireviewcore.css';export class AIReviewCoreUI extends _0x2f6005{[_0x5bf68d(0x11f)];[_0x5bf68d(0x150)];[_0x5bf68d(0x11d)];static get[_0x5bf68d(0x138)](){return[_0x4894fb];}static get[_0x5bf68d(0x161)](){return!0x0;}static get[_0x5bf68d(0x158)](){return!0x0;}constructor(_0x1f35e9){const _0x59c161=_0x5bf68d;super(_0x1f35e9),this[_0x59c161(0x11d)]=new _0x2def97(this[_0x59c161(0x15d)][_0x59c161(0x122)]),this[_0x59c161(0x11d)][_0x59c161(0x13a)](),this[_0x59c161(0x11f)]=this[_0x59c161(0x169)](),this[_0x59c161(0x11f)][_0x59c161(0x13d)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x59c161(0x150)]=new _0x353da7(this[_0x59c161(0x15d)][_0x59c161(0x122)],this[_0x59c161(0x11d)]),this[_0x59c161(0x150)][_0x59c161(0x13d)](_0x59c161(0x140),_0x59c161(0x127),_0x59c161(0x15b))['to'](this);}[_0x5bf68d(0x13b)](){const _0x422d9f=_0x5bf68d,_0x3fde92=this[_0x422d9f(0x15d)][_0x422d9f(0x149)][_0x422d9f(0x13e)](_0x422d9f(0x133));this[_0x422d9f(0x126)](_0x3fde92);}[_0x5bf68d(0x12e)](){const _0x1faa49=_0x5bf68d;this[_0x1faa49(0x11d)][_0x1faa49(0x11b)](),super[_0x1faa49(0x12e)]();}[_0x5bf68d(0x130)](_0x53dc57){const _0x3dd50c=_0x5bf68d;if(!this[_0x3dd50c(0x11f)][_0x3dd50c(0x165)][_0x3dd50c(0x120)]()){const _0x3985d8=!this[_0x3dd50c(0x15d)][_0x3dd50c(0x16a)][_0x3dd50c(0x13e)](_0x3dd50c(0x143));this[_0x3dd50c(0x11f)][_0x3dd50c(0x165)][_0x3dd50c(0x14e)](_0x53dc57,_0x3985d8);}this[_0x3dd50c(0x11f)][_0x3dd50c(0x128)]();}[_0x5bf68d(0x164)](){const _0xe46653=_0x5bf68d;this[_0xe46653(0x136)](_0xe46653(0x15e));}[_0x5bf68d(0x146)](_0x2fc36b){const _0x114136=_0x5bf68d;_0x2fc36b&&(_0x114136(0x156)!==_0x2fc36b[_0x114136(0x14f)]?_0x114136(0x154)!==_0x2fc36b[_0x114136(0x14f)]?this[_0x114136(0x11f)][_0x114136(0x160)]():this[_0x114136(0x157)]():this[_0x114136(0x162)]());}[_0x5bf68d(0x144)](_0x2f8bea){const _0x2e019f=_0x5bf68d;this[_0x2e019f(0x11f)][_0x2e019f(0x124)](_0x2f8bea);}[_0x5bf68d(0x162)](){const _0x18f54=_0x5bf68d;this[_0x18f54(0x11f)][_0x18f54(0x162)]();}[_0x5bf68d(0x137)](_0xa8b1a1){const _0x122495=_0x5bf68d;this[_0x122495(0x11f)][_0x122495(0x137)](_0xa8b1a1??_0x4a0e06(this[_0x122495(0x15d)][_0x122495(0x122)],_0x122495(0x147)));}[_0x5bf68d(0x157)](){const _0x50ed67=_0x5bf68d;this[_0x50ed67(0x11f)][_0x50ed67(0x157)]();}[_0x5bf68d(0x135)](_0x15cb49,_0x40ef15){const _0x2eacfb=_0x5bf68d;this[_0x2eacfb(0x11f)][_0x2eacfb(0x116)][_0x2eacfb(0x15a)](_0x15cb49,_0x40ef15);}[_0x5bf68d(0x15c)](_0x3bc2dd){const _0x4f3ccf=_0x5bf68d;this[_0x4f3ccf(0x11f)][_0x4f3ccf(0x116)][_0x4f3ccf(0x153)]()[_0x4f3ccf(0x15f)](_0x511a56=>{const _0x111617=_0x4f3ccf;_0x511a56['id']===_0x3bc2dd&&_0x511a56[_0x111617(0x163)]();});}[_0x5bf68d(0x167)](){const _0x25d78c=_0x5bf68d;this[_0x25d78c(0x11f)][_0x25d78c(0x116)][_0x25d78c(0x153)]()[_0x25d78c(0x15f)](_0x2bb06b=>_0x2bb06b[_0x25d78c(0x141)]());}[_0x5bf68d(0x168)](_0x3af389,_0x2c6566){const _0x44933b=_0x5bf68d;_0x44933b(0x125)===_0x2c6566||_0x44933b(0x16c)===_0x2c6566||_0x44933b(0x159)===_0x2c6566?this[_0x44933b(0x11f)][_0x44933b(0x116)][_0x44933b(0x11e)](_0x3af389,_0x2c6566):this[_0x44933b(0x11f)][_0x44933b(0x116)][_0x44933b(0x16b)](_0x3af389,_0x2c6566);}[_0x5bf68d(0x155)](){const _0x2ace14=_0x5bf68d;this[_0x2ace14(0x11f)][_0x2ace14(0x155)]();}[_0x5bf68d(0x123)](){const _0x22f461=_0x5bf68d;this[_0x22f461(0x11f)][_0x22f461(0x123)]();}[_0x5bf68d(0x151)](){const _0x524d1e=_0x5bf68d;this[_0x524d1e(0x11f)][_0x524d1e(0x151)]();}[_0x5bf68d(0x117)](){const _0x445076=_0x5bf68d;this[_0x445076(0x11f)][_0x445076(0x117)]();}[_0x5bf68d(0x134)](_0x5d3f56,_0xd352b8,_0x562a95,_0x445c0c,_0x352513,_0xe2bad1){const _0x3c8c19=_0x5bf68d;this[_0x3c8c19(0x150)][_0x3c8c19(0x14d)](_0x5d3f56,_0xd352b8,_0x562a95,_0x445c0c,_0x352513,_0xe2bad1);}[_0x5bf68d(0x166)](){const _0x338b61=_0x5bf68d;this[_0x338b61(0x150)][_0x338b61(0x12f)]();}[_0x5bf68d(0x13f)](){const _0x867493=_0x5bf68d;this[_0x867493(0x150)][_0x867493(0x13f)]();}[_0x5bf68d(0x131)](){const _0x25d6f9=_0x5bf68d;this[_0x25d6f9(0x150)][_0x25d6f9(0x131)]();}[_0x5bf68d(0x13c)](_0x1c9d06){const _0x462492=_0x5bf68d,_0x112ec8=this[_0x462492(0x11f)][_0x462492(0x116)][_0x462492(0x153)]()[_0x462492(0x142)](_0x3e21d7=>_0x3e21d7['id']===_0x1c9d06);return _0x112ec8?_0x112ec8[_0x462492(0x12a)]:null;}[_0x5bf68d(0x15b)](){const _0xdf0e71=_0x5bf68d;this[_0xdf0e71(0x150)][_0xdf0e71(0x15b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1af601=_0x45cf;(function(_0x4a58c3,_0x397119){var _0x50f5f0=_0x45cf,_0x27b99f=_0x4a58c3();while(!![]){try{var _0x25c688=-parseInt(_0x50f5f0(0x161))/0x1+parseInt(_0x50f5f0(0x15c))/0x2+parseInt(_0x50f5f0(0x15e))/0x3*(parseInt(_0x50f5f0(0x158))/0x4)+-parseInt(_0x50f5f0(0x164))/0x5*(-parseInt(_0x50f5f0(0x159))/0x6)+parseInt(_0x50f5f0(0x15f))/0x7*(-parseInt(_0x50f5f0(0x163))/0x8)+parseInt(_0x50f5f0(0x157))/0x9+-parseInt(_0x50f5f0(0x15b))/0xa;if(_0x25c688===_0x397119)break;else _0x27b99f['push'](_0x27b99f['shift']());}catch(_0x383d6f){_0x27b99f['push'](_0x27b99f['shift']());}}}(_0x386d,0xec372));import{ObservableMixin as _0x524e9f}from'ckeditor5/src/utils.js';function _0x386d(){var _0x5e1822=['10483740wTGpqH','3807700iNIixI','find','117chhbEc','427RJnPfP','getCheckById','1468301dAOYkj','setupChecks','132752SdvtHo','86350WTwkhS','removeCheckById','_checks','filter','checks','9678870FrGXHB','24532LkeBvV','444MVKTRm','map'];_0x386d=function(){return _0x5e1822;};return _0x386d();}import{AIReviewCheck as _0xf59c9c}from'./aireviewcheck.js';function _0x45cf(_0x47bd7a,_0x571014){var _0x386dd7=_0x386d();return _0x45cf=function(_0x45cfd3,_0x5364b6){_0x45cfd3=_0x45cfd3-0x154;var _0x449d75=_0x386dd7[_0x45cfd3];return _0x449d75;},_0x45cf(_0x47bd7a,_0x571014);}export class AIReviewCheckList extends _0x524e9f(){[_0x1af601(0x154)]=[];[_0x1af601(0x162)](_0x6c61a8){var _0x27b1c8=_0x1af601;this[_0x27b1c8(0x154)]=_0x6c61a8[_0x27b1c8(0x15a)](_0x195320=>new _0xf59c9c(_0x195320));}get[_0x1af601(0x156)](){var _0x5dff50=_0x1af601;return this[_0x5dff50(0x154)];}[_0x1af601(0x160)](_0x58942e){var _0x356f1f=_0x1af601;return this[_0x356f1f(0x156)][_0x356f1f(0x15d)](_0xaf4aaf=>_0xaf4aaf['id']===_0x58942e);}[_0x1af601(0x165)](_0x473e48){var _0x17764d=_0x1af601;this[_0x17764d(0x154)]=this[_0x17764d(0x154)][_0x17764d(0x155)](_0x5143bf=>_0x5143bf['id']!==_0x473e48);}}
|