@ckeditor/ckeditor5-ai 47.3.0-alpha.3 → 47.3.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.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/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x234920,_0x5e516a){const _0x572a57=_0x2015,_0x2e994e=_0x234920();while(!![]){try{const _0x1066bb=parseInt(_0x572a57(0x1f8))/0x1+parseInt(_0x572a57(0x1e6))/0x2*(-parseInt(_0x572a57(0x1f1))/0x3)+-parseInt(_0x572a57(0x1e7))/0x4*(-parseInt(_0x572a57(0x1e8))/0x5)+parseInt(_0x572a57(0x1ef))/0x6+-parseInt(_0x572a57(0x1e4))/0x7+-parseInt(_0x572a57(0x1e5))/0x8+-parseInt(_0x572a57(0x1ed))/0x9;if(_0x1066bb===_0x5e516a)break;else _0x2e994e['push'](_0x2e994e['shift']());}catch(_0x284067){_0x2e994e['push'](_0x2e994e['shift']());}}}(_0x8776,0x66d35));import{createDropdown as _0x549513}from'ckeditor5/src/ui.js';function _0x8776(){const _0x13e170=['length','set','AIEditing','ai-quick-actions-dropdown-selection','add','children','4122587Yxhqpz','5097160TlbfnG','2QLxXpR','4FsYUZy','4143775tssquw','plugins','hideFakeVisualSelection','label','ck-ai-quick-actions-dropdown','5617566IYNsIq','buttonView','4337556GkfIDh','icon','99627EtRqST','locale','getRanges','resetSearch','document','change:isOpen','get','752961MVGopQ','selection','showFakeVisualSelection','model','has','from','panelView'];_0x8776=function(){return _0x13e170;};return _0x8776();}import{IconAIQuickActions as _0x921f2d}from'@ckeditor/ckeditor5-icons';function _0x2015(_0x1321c8,_0x6e4add){const _0x87763f=_0x8776();return _0x2015=function(_0x20159d,_0x18db6e){_0x20159d=_0x20159d-0x1df;let _0x11c875=_0x87763f[_0x20159d];return _0x11c875;},_0x2015(_0x1321c8,_0x6e4add);}import{AIQuickActionsDropdownContentView as _0x5c0317}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x582973}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x4ca2d7){const {editor:_0x1ad028,content:_0xaa3cf4,buttonDefinition:_0x3dbbeb,bodyCollection:_0xebe3d2,hasSearch:_0x3a9205=!0x1}=_0x4ca2d7;return()=>{const _0x20c863=_0x2015,_0x16de13=_0x1ad028[_0x20c863(0x1f2)],_0x2b33bb=_0x549513(_0x16de13);_0x2b33bb[_0x20c863(0x1ee)][_0x20c863(0x1df)]({'icon':_0x3dbbeb[_0x20c863(0x1f0)]??_0x921f2d,'label':_0x3dbbeb[_0x20c863(0x1eb)],'tooltip':!0x0}),_0x2b33bb[_0x20c863(0x1df)]({'class':_0x20c863(0x1ec)});const _0x13cfdd=new _0x5c0317(_0x1ad028,_0xaa3cf4,_0x2b33bb,_0xebe3d2,_0x3a9205);if(_0x2b33bb[_0x20c863(0x1fe)][_0x20c863(0x1e3)][_0x20c863(0x1e2)](_0x13cfdd),_0x3a9205){const _0x4634e9=_0x20c863(0x1e1);_0x2b33bb['on'](_0x20c863(0x1f6),(_0x2b62b4,_0x161708,_0x4b3076)=>{const _0x1d60ef=_0x20c863;if(_0x4b3076){if(_0x1ad028[_0x1d60ef(0x1e9)][_0x1d60ef(0x1fc)](_0x1d60ef(0x1e0))){const _0x417f7c=_0x1ad028[_0x1d60ef(0x1e9)][_0x1d60ef(0x1f7)](_0x582973),_0x597a12=_0x1ad028[_0x1d60ef(0x1fb)][_0x1d60ef(0x1f5)][_0x1d60ef(0x1f9)],_0x64484d=Array[_0x1d60ef(0x1fd)](_0x597a12[_0x1d60ef(0x1f3)]());_0x64484d[_0x1d60ef(0x1ff)]>0x0&&_0x417f7c[_0x1d60ef(0x1fa)](_0x64484d,_0x4634e9,!0x1,!0x0);}}else _0x1ad028[_0x1d60ef(0x1e9)][_0x1d60ef(0x1fc)](_0x1d60ef(0x1e0))&&_0x1ad028[_0x1d60ef(0x1e9)][_0x1d60ef(0x1f7)](_0x582973)[_0x1d60ef(0x1ea)](_0x4634e9),_0x13cfdd[_0x1d60ef(0x1f4)]();});}return _0x2b33bb;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd90380=_0x56d5;(function(_0x1d0fc4,_0x286b4e){const _0x12b657=_0x56d5,_0xd62b3f=_0x1d0fc4();while(!![]){try{const _0x341937=parseInt(_0x12b657(0x114))/0x1*(-parseInt(_0x12b657(0x111))/0x2)+parseInt(_0x12b657(0x11a))/0x3+-parseInt(_0x12b657(0x120))/0x4+-parseInt(_0x12b657(0x112))/0x5*(-parseInt(_0x12b657(0x121))/0x6)+-parseInt(_0x12b657(0x123))/0x7*(parseInt(_0x12b657(0x118))/0x8)+parseInt(_0x12b657(0x122))/0x9+parseInt(_0x12b657(0x11f))/0xa;if(_0x341937===_0x286b4e)break;else _0xd62b3f['push'](_0xd62b3f['shift']());}catch(_0xe6065f){_0xd62b3f['push'](_0xd62b3f['shift']());}}}(_0x2560,0x80ed4));function _0x56d5(_0x2152ab,_0x18fde6){const _0x256096=_0x2560();return _0x56d5=function(_0x56d57a,_0x4caa0b){_0x56d57a=_0x56d57a-0x10e;let _0x58fb70=_0x256096[_0x56d57a];return _0x58fb70;},_0x56d5(_0x2152ab,_0x18fde6);}function _0x2560(){const _0x49d0fb=['ck-dropdown-menu-list__nested-menu__button__arrow','children','add','arrowView','148xBFnjo','25JzAADc','ck-dropdown-menu-list__nested-menu__button','7726ndXekc','extendTemplate','isOn','set','728tFQGVw','mouseenter','365847qOCNHZ','bindTemplate','render','_createArrowView','menuitem','8168980LjVStr','2492108iiIjzD','887256AGlooF','8373618nPoAyu','68138BVfUpT','content'];_0x2560=function(){return _0x49d0fb;};return _0x2560();}import{IconView as _0xbf8f43,ListItemButtonView as _0x2b2bf2}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x3636b6}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x2b2bf2{[_0xd90380(0x110)];constructor(_0x30576a,_0xc1e24a){const _0x2688cd=_0xd90380;super(_0x30576a,_0xc1e24a);const _0x2d1d97=this[_0x2688cd(0x11b)];this[_0x2688cd(0x117)]({'withText':!0x0,'role':_0x2688cd(0x11e)}),this[_0x2688cd(0x110)]=this[_0x2688cd(0x11d)](),this[_0x2688cd(0x115)]({'attributes':{'class':[_0x2688cd(0x113)],'aria-haspopup':!0x0,'aria-expanded':this[_0x2688cd(0x11b)]['to'](_0x2688cd(0x116),_0x87a842=>String(_0x87a842)),'data-cke-tooltip-disabled':_0x2d1d97['to'](_0x2688cd(0x116))},'on':{'mouseenter':_0x2d1d97['to'](_0x2688cd(0x119))}});}[_0xd90380(0x11c)](){const _0x304f77=_0xd90380;super[_0x304f77(0x11c)](),this[_0x304f77(0x10e)][_0x304f77(0x10f)](this[_0x304f77(0x110)]);}[_0xd90380(0x11d)](){const _0x49d9b2=_0xd90380,_0x5b2f4f=new _0xbf8f43();return _0x5b2f4f[_0x49d9b2(0x124)]=_0x3636b6,_0x5b2f4f[_0x49d9b2(0x115)]({'attributes':{'class':_0x49d9b2(0x125)}}),_0x5b2f4f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x570c83=_0x560b;(function(_0x1b11a4,_0x1d9422){var _0x4cfcbc=_0x560b,_0x20bed4=_0x1b11a4();while(!![]){try{var _0x1d338b=parseInt(_0x4cfcbc(0x140))/0x1+parseInt(_0x4cfcbc(0x135))/0x2*(parseInt(_0x4cfcbc(0x136))/0x3)+-parseInt(_0x4cfcbc(0x13e))/0x4+-parseInt(_0x4cfcbc(0x13d))/0x5*(-parseInt(_0x4cfcbc(0x131))/0x6)+parseInt(_0x4cfcbc(0x134))/0x7*(-parseInt(_0x4cfcbc(0x13f))/0x8)+-parseInt(_0x4cfcbc(0x132))/0x9*(-parseInt(_0x4cfcbc(0x130))/0xa)+parseInt(_0x4cfcbc(0x13b))/0xb*(-parseInt(_0x4cfcbc(0x138))/0xc);if(_0x1d338b===_0x1d9422)break;else _0x20bed4['push'](_0x20bed4['shift']());}catch(_0x32df8b){_0x20bed4['push'](_0x20bed4['shift']());}}}(_0x2746,0x239ff));import{ContextPlugin as _0x516963}from'ckeditor5/src/core.js';function _0x560b(_0x6ab7e5,_0x49057b){var _0x27469f=_0x2746();return _0x560b=function(_0x560b50,_0x296650){_0x560b50=_0x560b50-0x130;var _0x4ea314=_0x27469f[_0x560b50];return _0x4ea314;},_0x560b(_0x6ab7e5,_0x49057b);}import{AIReviewModeController as _0x1815d5}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0xb08b94}from'./aireviewmodeui.js';function _0x2746(){var _0x5cb4f6=['requires','5wuZkcz','31076BfUMhN','1817784LiJBcW','284007AowZLY','40bPvOfW','547548NeHkoq','286938uMlXor','pluginName','7kopbCD','2bjnDWV','138750nmTTLk','AIReviewMode','72rBinjZ','isOfficialPlugin','isPremiumPlugin','308242lPtZhj'];_0x2746=function(){return _0x5cb4f6;};return _0x2746();}import{AIReviewModeEditing as _0x176791}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x516963{static get[_0x570c83(0x13c)](){return[_0x1815d5,_0xb08b94,_0x176791];}static get[_0x570c83(0x133)](){var _0x3cec4b=_0x570c83;return _0x3cec4b(0x137);}static get[_0x570c83(0x139)](){return!0x0;}static get[_0x570c83(0x13a)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1f5b(){const _0x4ac8bb=['resetActiveStateInResults','showDiffInBalloon','click','clearAllMarkers','ai.reviewMode.translations','switchToReadOnly','panel','markChangeAsRejected','showReviewCompletedView','setAvailableChecks','config','ck-ai-review-mode-diff','ai-review-mode-check-run-general-error','locale','title','.ck-ai-review-mode__check-run-result','deactivateChange','ai-review-mode-source-check-not-found','changeMarkerRemoved','listenTo','finished','ready','changeMarkerClick','emitter','startsWith','models','ck-ai-review-mode-highlights','_TITLE','hover','AI_REVIEW_CHECK_','replaceAll','264DDbkfE','closest','getDomRoot','content','reviewCheckResultDeactivated','markerElement','144819Raadfw','abort','AIReviewModeUI','355242TTcumm','AIReviewModeEditing','options','error-general','AIConnector','isChangeActive','updateChangeState','changeMarkerBlurred','activateChange','toggleDiff','changeId','markChangeAsPending','contentInitial','requires','args','translate','markChangePositionInEditorContent','domEvent','reviewCheckRunUpdated','aborted','documentData','plugins','forceReadyState','params','start','processedResultsCount','showChunkErrorView','leaveReviewModeResultList','setActiveStateInResults','setCheckResultTitle','addClass','acceptChange','markChangeAsOutdated','reviewCheckResultAdded','hideDiffInBalloon','applyChange','getCheckById','getActiveChanges','markChangeAsAccepted','subTitle','currentError','AI_MODEL_DESCRIPTION_','showGeneralReviewModeErrorView','document','domElement','3qzfSIX','init','toUpperCase','4156900lyRJjW','1137444JcceOZ','unmodified','_aiConnector','_aiReviewModeUi','getEditor','acceptAllChanges','pluginName','leaveReviewMode','getMarkerElementForChange','showNoChangesView','abortReviewStream','removeClass','switchToEdit','getChangeElement','_translateReviewChecks','_DESCRIPTION','1285768yxNKWQ','editing','changeMarkerHovered','_currentReviewCheckRun','hideChangeBalloon','getDocumentData','description','showActionsWhenResultIsReady','_onDiffChange','stopListening','map','_logError','diffContent','AIReviewModeController','changeMarkerRestored','_OPTIONS_LABEL','change','reviewCheckResultChangeStatusUpdated','includes','1123745dRvuJq','get','error-chunk','_aiReviewModeEditing','result','showCheckRunResult','finishReview','length','prompt','label','6EGrwCr','custom','reviewCheckResultReady','context','getRoot','getReviewCheckList','contentNew','removeCheckById','isCustom','showCheckRunResults','markAllChangesAsAccepted','loading','viewportOffset','reviewCheckResultActivated','ai-request-aborted','checks','2170952DdHLXD','source','dismissChange','find','addResultChanges','data','ai-review-mode-check-run-chunk-error','message','ai-review-mode-no-current-check-run','showChangeBalloon','isAnyChangeActivated','_getTranslationWithDefault','ai-review-mode-models-unable-to-retrieve','_aiReviewCheckList','updateDocumentData','_isDiffOn','isOfficialPlugin','showReviewCheckList','sendRating','getChangeById','hasModifications','_changeActivationSource','ai-review-mode-check-run-failed','_onReviewModeRunLeave','restart','status','view','rejectChange','_OPTIONS_DATA_','model','isPremiumPlugin','getAll','showGeneralResultsErrorView','retryReview','runReviewCheck','changes'];_0x1f5b=function(){return _0x4ac8bb;};return _0x1f5b();}const _0x459cda=_0x6674;(function(_0x5a64a5,_0xc23a80){const _0x52c312=_0x6674,_0x40fd0f=_0x5a64a5();while(!![]){try{const _0x589cb0=parseInt(_0x52c312(0x26b))/0x1*(-parseInt(_0x52c312(0x23e))/0x2)+-parseInt(_0x52c312(0x1e2))/0x3*(-parseInt(_0x52c312(0x1c5))/0x4)+parseInt(_0x52c312(0x1d8))/0x5+-parseInt(_0x52c312(0x26f))/0x6+parseInt(_0x52c312(0x1f2))/0x7+-parseInt(_0x52c312(0x235))/0x8*(parseInt(_0x52c312(0x23b))/0x9)+parseInt(_0x52c312(0x26e))/0xa;if(_0x589cb0===_0xc23a80)break;else _0x40fd0f['push'](_0x40fd0f['shift']());}catch(_0x138503){_0x40fd0f['push'](_0x40fd0f['shift']());}}}(_0x1f5b,0x53033));import{ContextPlugin as _0x5092fd}from'ckeditor5/src/core.js';import{CKEditorError as _0x244d19,logError as _0x5d95de,scrollAncestorsToShowTarget as _0x162aa2,scrollViewportToShowTarget as _0x223172}from'ckeditor5/src/utils.js';import{AIConnector as _0x19d8ec}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3aee9b}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x3721fb}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1ab082}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x5a2deb}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x205fee}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2235a2}from'../aicore/utils/common-translations.js';function _0x6674(_0x3d07f7,_0x424d8d){const _0x1f5bd4=_0x1f5b();return _0x6674=function(_0x667480,_0x3607cc){_0x667480=_0x667480-0x1bf;let _0x19457e=_0x1f5bd4[_0x667480];return _0x19457e;},_0x6674(_0x3d07f7,_0x424d8d);}export class AIReviewModeController extends _0x5092fd{[_0x459cda(0x271)];[_0x459cda(0x272)];[_0x459cda(0x1db)];[_0x459cda(0x1ff)];[_0x459cda(0x1c8)];[_0x459cda(0x201)]=!0x1;[_0x459cda(0x207)]=null;static get[_0x459cda(0x24b)](){return[_0x19d8ec];}static get[_0x459cda(0x275)](){const _0xf757cf=_0x459cda;return _0xf757cf(0x1d2);}static get[_0x459cda(0x202)](){return!0x0;}static get[_0x459cda(0x210)](){return!0x0;}async[_0x459cda(0x26c)](){const _0x2717b1=_0x459cda;this[_0x2717b1(0x271)]=this[_0x2717b1(0x1e5)][_0x2717b1(0x253)][_0x2717b1(0x1d9)](_0x2717b1(0x242)),this[_0x2717b1(0x272)]=this[_0x2717b1(0x1e5)][_0x2717b1(0x253)][_0x2717b1(0x1d9)](_0x2717b1(0x23d)),this[_0x2717b1(0x1db)]=this[_0x2717b1(0x1e5)][_0x2717b1(0x253)][_0x2717b1(0x1d9)](_0x2717b1(0x23f));const _0x2db3b5=this[_0x2717b1(0x1e5)][_0x2717b1(0x220)][_0x2717b1(0x1d9)](_0x2717b1(0x21a));if(_0x2db3b5){for(const _0x415836 of _0x205fee)_0x2717b1(0x24d)===_0x415836['id']&&(_0x415836[_0x2717b1(0x240)][0x0][_0x2717b1(0x1f7)]=_0x2db3b5);}const _0x585111=this[_0x2717b1(0x1c3)](_0x205fee);this[_0x2717b1(0x1ff)]=new _0x3aee9b(_0x585111);const _0x7c790b=this[_0x2717b1(0x1ff)][_0x2717b1(0x1f1)][_0x2717b1(0x1f5)](_0x26e15f=>_0x2717b1(0x1e3)===_0x26e15f['id']);if(_0x7c790b)try{const _0x9eaa3c=await new _0x5a2deb({'connector':this[_0x2717b1(0x271)]})[_0x2717b1(0x211)]();_0x7c790b[_0x2717b1(0x22f)]=_0x9eaa3c[_0x2717b1(0x1cf)](_0x17f9b1=>({..._0x17f9b1,'description':this[_0x2717b1(0x1fd)](_0x2717b1(0x267)+_0x17f9b1['id'][_0x2717b1(0x26d)](),_0x17f9b1[_0x2717b1(0x1cb)])}));}catch(_0x54d993){this[_0x2717b1(0x1ff)][_0x2717b1(0x1e9)](_0x2717b1(0x1e3)),this[_0x2717b1(0x1d0)](new _0x244d19(_0x2717b1(0x1fe),this,{'error':_0x54d993}));}this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1e7),()=>{const _0xa09478=_0x2717b1;this[_0xa09478(0x272)][_0xa09478(0x21f)](this[_0xa09478(0x1ff)][_0xa09478(0x1f1)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x214),async(_0x1fa051,_0x105e2f)=>{const _0xf5e683=_0x2717b1,_0x15e18b=this[_0xf5e683(0x1ff)][_0xf5e683(0x262)](_0x105e2f['id']);if(_0x15e18b){this[_0xf5e683(0x1cd)](this[_0xf5e683(0x201)]),_0x105e2f[_0xf5e683(0x1ea)]?this[_0xf5e683(0x1c8)]=new _0x1ab082(_0x105e2f[_0xf5e683(0x24c)][_0xf5e683(0x1e0)],_0x105e2f[_0xf5e683(0x24c)][_0xf5e683(0x20f)],this[_0xf5e683(0x1db)][_0xf5e683(0x1ca)](),_0x15e18b,this[_0xf5e683(0x271)]):this[_0xf5e683(0x1c8)]=new _0x3721fb(this[_0xf5e683(0x1db)][_0xf5e683(0x1ca)](),_0x15e18b,this[_0xf5e683(0x271)],_0x105e2f[_0xf5e683(0x255)],_0x105e2f[_0xf5e683(0x24c)]),this[_0xf5e683(0x272)][_0xf5e683(0x25b)](this[_0xf5e683(0x1c8)][_0xf5e683(0x224)],this[_0xf5e683(0x1c8)][_0xf5e683(0x265)]),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x250),(_0x1e181a,_0x4cca6b)=>{const _0x54ff84=_0xf5e683;_0x54ff84(0x1f7)===_0x4cca6b[_0x54ff84(0x20b)]||_0x54ff84(0x1ed)===_0x4cca6b[_0x54ff84(0x20b)]?(this[_0x54ff84(0x1db)][_0x54ff84(0x21b)](),this[_0x54ff84(0x272)][_0x54ff84(0x1eb)](_0x4cca6b)):_0x54ff84(0x22a)===_0x4cca6b[_0x54ff84(0x20b)]?this[_0x54ff84(0x272)][_0x54ff84(0x21e)]():_0x54ff84(0x22b)===_0x4cca6b[_0x54ff84(0x20b)]?this[_0x54ff84(0x272)][_0x54ff84(0x1cc)]():_0x54ff84(0x270)===_0x4cca6b[_0x54ff84(0x20b)]?this[_0x54ff84(0x272)][_0x54ff84(0x278)]():_0x54ff84(0x241)===_0x4cca6b[_0x54ff84(0x20b)]?(this[_0x54ff84(0x272)][_0x54ff84(0x212)](),this[_0x54ff84(0x1d0)](new _0x244d19(_0x54ff84(0x222),this,this[_0x54ff84(0x1c8)]?.[_0x54ff84(0x266)]))):_0x54ff84(0x1da)===_0x4cca6b[_0x54ff84(0x20b)]?(this[_0x54ff84(0x272)][_0x54ff84(0x258)](),this[_0x54ff84(0x1d0)](new _0x244d19(_0x54ff84(0x1f8),this,this[_0x54ff84(0x1c8)]?.[_0x54ff84(0x266)]))):_0x54ff84(0x251)===_0x4cca6b[_0x54ff84(0x20b)]&&(this[_0x54ff84(0x1c8)]&&this[_0x54ff84(0x1c8)][_0x54ff84(0x257)]>0x0?setTimeout(()=>{const _0x21678f=_0x54ff84;this[_0x21678f(0x1c8)]?.[_0x21678f(0x254)]();},0x0):this[_0x54ff84(0x209)](!0x0)),_0x54ff84(0x22b)!==_0x4cca6b[_0x54ff84(0x20b)]&&_0x54ff84(0x1da)!==_0x4cca6b[_0x54ff84(0x20b)]&&_0x54ff84(0x241)!==_0x4cca6b[_0x54ff84(0x20b)]||this[_0x54ff84(0x1c8)]?.[_0x54ff84(0x204)]();}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x25f),(_0x17993c,_0x543e07)=>{const _0x2c2c1d=_0xf5e683;if(!this[_0x2c2c1d(0x1c8)])throw new _0x244d19(_0x2c2c1d(0x1fa),this);const _0x16ee88=this[_0x2c2c1d(0x1db)][_0x2c2c1d(0x1d1)](_0x543e07[_0x2c2c1d(0x1dc)][_0x2c2c1d(0x24a)],_0x543e07[_0x2c2c1d(0x1dc)][_0x2c2c1d(0x1e8)]);_0x543e07[_0x2c2c1d(0x1f3)][_0x2c2c1d(0x1f6)](_0x543e07[_0x2c2c1d(0x1dc)]['id'],_0x16ee88);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x1e4),(_0x3b77ba,_0x136952)=>{const _0x866e55=_0xf5e683;for(const _0x30ac6c of _0x136952[_0x866e55(0x215)])this[_0x866e55(0x272)][_0x866e55(0x1dd)](_0x30ac6c);this[_0x866e55(0x1db)][_0x866e55(0x24e)](_0x136952[_0x866e55(0x215)],_0x136952[_0x866e55(0x1f3)][_0x866e55(0x252)]);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x1d6),(_0x519d6f,_0x306855)=>{const _0x37f104=_0xf5e683;this[_0x37f104(0x272)][_0x37f104(0x244)](_0x306855[_0x37f104(0x1d5)]['id'],_0x306855[_0x37f104(0x20b)]);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x1ef),(_0x2e81be,_0x41d441)=>{const _0x1a5bee=_0xf5e683;this[_0x1a5bee(0x272)][_0x1a5bee(0x25a)](_0x41d441[_0x1a5bee(0x1d5)]['id']);const _0x6d3bbf=this[_0x1a5bee(0x1db)][_0x1a5bee(0x277)](_0x41d441[_0x1a5bee(0x1d5)]['id']);if(!_0x6d3bbf)return;if(_0x1a5bee(0x238)===this[_0x1a5bee(0x207)]){const _0x1d40fb=this[_0x1a5bee(0x272)][_0x1a5bee(0x1c2)](_0x41d441[_0x1a5bee(0x1d5)]['id']);_0x1d40fb&&_0x162aa2(_0x1d40fb[_0x1a5bee(0x236)](_0x1a5bee(0x225))||_0x1d40fb);}else{if(_0x1a5bee(0x21c)===this[_0x1a5bee(0x207)]){const _0x21c001={'target':_0x6d3bbf[_0x1a5bee(0x26a)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x223172(_0x21c001);}}const _0x55e4a6=this[_0x1a5bee(0x1db)][_0x1a5bee(0x273)]();this[_0x1a5bee(0x272)][_0x1a5bee(0x1fb)](_0x41d441[_0x1a5bee(0x1d5)],_0x6d3bbf[_0x1a5bee(0x26a)],void 0x0,_0x1a5bee(0x218),_0x55e4a6?.[_0x1a5bee(0x1c6)]?.[_0x1a5bee(0x20c)]?.[_0x1a5bee(0x237)](),_0x55e4a6?.['ui']?.[_0x1a5bee(0x1ee)]);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x239),()=>{const _0x3246a8=_0xf5e683;this[_0x3246a8(0x272)][_0x3246a8(0x216)](),this[_0x3246a8(0x272)][_0x3246a8(0x1c9)]();});try{await this[_0xf5e683(0x1c8)][_0xf5e683(0x256)]();}catch(_0x22006b){_0x22006b instanceof Error&&_0x22006b[_0xf5e683(0x1f9)][_0xf5e683(0x1d7)](_0xf5e683(0x1f0))||(_0x22006b instanceof _0x244d19?this[_0xf5e683(0x1d0)](_0x22006b):this[_0xf5e683(0x1d0)](new _0x244d19(_0xf5e683(0x208),this,{'error':_0x22006b})));}}else this[_0xf5e683(0x1d0)](new _0x244d19(_0xf5e683(0x227),this,{'checkId':_0x105e2f['id']}));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x276),()=>{const _0x1dfa07=_0x2717b1;this[_0x1dfa07(0x209)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x259),()=>{const _0x19bf11=_0x2717b1;this[_0x19bf11(0x209)](!0x0);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1bf),()=>{const _0x4c3502=_0x2717b1;this[_0x4c3502(0x1c8)]&&this[_0x4c3502(0x1c8)][_0x4c3502(0x23c)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1de),()=>{const _0x20373f=_0x2717b1;this[_0x20373f(0x209)](!0x0);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x274),()=>{const _0x337aa0=_0x2717b1;if(!this[_0x337aa0(0x1c8)])return;const _0x22e923=this[_0x337aa0(0x1c8)][_0x337aa0(0x263)]();_0x22e923[_0x337aa0(0x1df)]&&(this[_0x337aa0(0x1db)][_0x337aa0(0x261)](_0x22e923[_0x337aa0(0x1cf)](_0x4d5f28=>_0x4d5f28['id'])),this[_0x337aa0(0x1c8)][_0x337aa0(0x1ec)](),this[_0x337aa0(0x1c8)][_0x337aa0(0x204)]());}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x25d),(_0x2bcffb,_0x3f89ce)=>{const _0x51f970=_0x2717b1;this[_0x51f970(0x1c8)]&&this[_0x51f970(0x1c8)][_0x51f970(0x243)](_0x3f89ce['id'])&&(this[_0x51f970(0x1db)][_0x51f970(0x261)]([_0x3f89ce['id']]),this[_0x51f970(0x1c8)][_0x51f970(0x264)](_0x3f89ce['id']),this[_0x51f970(0x272)][_0x51f970(0x1c9)](),this[_0x51f970(0x1c8)][_0x51f970(0x204)](_0x3f89ce['id']));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1f4),(_0x4b4646,_0x4bc13b)=>{const _0x30edac=_0x2717b1;this[_0x30edac(0x1c8)]&&this[_0x30edac(0x1c8)][_0x30edac(0x243)](_0x4bc13b['id'])&&(this[_0x30edac(0x1db)][_0x30edac(0x20d)](_0x4bc13b['id']),this[_0x30edac(0x1c8)][_0x30edac(0x21d)](_0x4bc13b['id']),this[_0x30edac(0x272)][_0x30edac(0x1c9)](),this[_0x30edac(0x1c8)][_0x30edac(0x204)](_0x4bc13b['id']));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x247),(_0x281ca8,_0x1fb4a2)=>{const _0x16179b=_0x2717b1;this[_0x16179b(0x201)]=_0x1fb4a2['on'],this[_0x16179b(0x1cd)](this[_0x16179b(0x201)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x213),async()=>{const _0x316f0a=_0x2717b1;this[_0x316f0a(0x1c8)]&&(this[_0x316f0a(0x1db)][_0x316f0a(0x219)](),this[_0x316f0a(0x1c8)][_0x316f0a(0x200)](this[_0x316f0a(0x1db)][_0x316f0a(0x1ca)]()),await this[_0x316f0a(0x1c8)][_0x316f0a(0x20a)]());}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x246),(_0x2fac5a,_0x345323)=>{const _0x42bc5b=_0x2717b1;this[_0x42bc5b(0x1c8)]&&(this[_0x42bc5b(0x207)]=_0x42bc5b(0x21c),this[_0x42bc5b(0x1c8)][_0x42bc5b(0x246)](_0x345323['id']));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x226),()=>{const _0xbe4170=_0x2717b1;this[_0xbe4170(0x1c8)]&&this[_0xbe4170(0x1c8)][_0xbe4170(0x226)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x22c),(_0x150b11,_0x363616)=>{const _0x26d66f=_0x2717b1;if(!this[_0x26d66f(0x1c8)])return;this[_0x26d66f(0x207)]=_0x26d66f(0x238),this[_0x26d66f(0x1c8)][_0x26d66f(0x246)](_0x363616[_0x26d66f(0x248)]);const _0x443fa8=this[_0x26d66f(0x1c8)][_0x26d66f(0x205)](_0x363616[_0x26d66f(0x248)]);if(!_0x443fa8)return;const _0x1d0e04=this[_0x26d66f(0x1db)][_0x26d66f(0x273)]();this[_0x26d66f(0x272)][_0x26d66f(0x1fb)](_0x443fa8,_0x363616[_0x26d66f(0x23a)],_0x363616[_0x26d66f(0x24f)],_0x26d66f(0x218),_0x1d0e04?.[_0x26d66f(0x1c6)]?.[_0x26d66f(0x20c)]?.[_0x26d66f(0x237)](),_0x1d0e04?.['ui']?.[_0x26d66f(0x1ee)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x1c7),(_0x58187c,_0x95e92d)=>{const _0x5edaf2=_0x2717b1;if(!this[_0x5edaf2(0x1c8)])return;if(this[_0x5edaf2(0x1c8)][_0x5edaf2(0x1fc)]())return;const _0x4b3ad4=this[_0x5edaf2(0x1c8)][_0x5edaf2(0x205)](_0x95e92d[_0x5edaf2(0x248)]);if(!_0x4b3ad4)return;const _0x26cb9a=this[_0x5edaf2(0x1db)][_0x5edaf2(0x273)]();this[_0x5edaf2(0x272)][_0x5edaf2(0x1fb)](_0x4b3ad4,_0x95e92d[_0x5edaf2(0x23a)],_0x95e92d[_0x5edaf2(0x24f)],_0x5edaf2(0x232),_0x26cb9a?.[_0x5edaf2(0x1c6)]?.[_0x5edaf2(0x20c)]?.[_0x5edaf2(0x237)](),_0x26cb9a?.['ui']?.[_0x5edaf2(0x1ee)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x245),()=>{const _0x22a3a1=_0x2717b1;if(!this[_0x22a3a1(0x1c8)])return;this[_0x22a3a1(0x1c8)][_0x22a3a1(0x1fc)]()||this[_0x22a3a1(0x272)][_0x22a3a1(0x1c9)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x228),(_0x160ec6,_0x182199)=>{const _0x244f09=_0x2717b1;this[_0x244f09(0x1c8)]&&this[_0x244f09(0x1c8)][_0x244f09(0x25e)](_0x182199[_0x244f09(0x248)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x1d3),(_0x1d6109,_0x183f6f)=>{const _0x54894f=_0x2717b1;this[_0x54894f(0x1c8)]&&this[_0x54894f(0x1c8)][_0x54894f(0x249)](_0x183f6f[_0x54894f(0x248)]);});}[_0x459cda(0x209)](_0x1290a8=!0x1){const _0x2aa7e1=_0x459cda;this[_0x2aa7e1(0x1c8)]&&(this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x206)]||this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x204)](),this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x1ce)](),this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x23c)](),this[_0x2aa7e1(0x1c8)]=void 0x0),_0x1290a8&&this[_0x2aa7e1(0x272)][_0x2aa7e1(0x203)](),this[_0x2aa7e1(0x1db)][_0x2aa7e1(0x219)](),this[_0x2aa7e1(0x1db)][_0x2aa7e1(0x1c1)](),this[_0x2aa7e1(0x207)]=null;const _0x1e0a8f=this[_0x2aa7e1(0x1db)][_0x2aa7e1(0x273)]();_0x1e0a8f&&_0x1e0a8f[_0x2aa7e1(0x1c6)][_0x2aa7e1(0x20c)][_0x2aa7e1(0x1d5)](_0x3f63ca=>{const _0x3f7470=_0x2aa7e1,_0x1a5cf0=_0x1e0a8f[_0x3f7470(0x1c6)][_0x3f7470(0x20c)][_0x3f7470(0x269)][_0x3f7470(0x1e6)]();_0x3f63ca[_0x3f7470(0x1c0)](_0x3f7470(0x221),_0x1a5cf0),_0x3f63ca[_0x3f7470(0x1c0)](_0x3f7470(0x230),_0x1a5cf0);});}[_0x459cda(0x1cd)](_0x21a6c8){const _0x56bed0=_0x459cda,_0x1bf076=this[_0x56bed0(0x1db)][_0x56bed0(0x273)]();_0x21a6c8?this[_0x56bed0(0x272)][_0x56bed0(0x260)]():this[_0x56bed0(0x272)][_0x56bed0(0x217)](),_0x1bf076&&_0x1bf076[_0x56bed0(0x1c6)][_0x56bed0(0x20c)][_0x56bed0(0x1d5)](_0x44f7ac=>{const _0x214de9=_0x56bed0,_0x443e30=_0x1bf076[_0x214de9(0x1c6)][_0x214de9(0x20c)][_0x214de9(0x269)][_0x214de9(0x1e6)]();_0x44f7ac[_0x214de9(0x1c0)](_0x214de9(0x221),_0x443e30),_0x44f7ac[_0x214de9(0x1c0)](_0x214de9(0x230),_0x443e30),_0x44f7ac[_0x214de9(0x25c)](_0x21a6c8?_0x214de9(0x221):_0x214de9(0x230),_0x443e30);});}[_0x459cda(0x1c3)](_0x2ca4d5){const _0x4caa28=_0x459cda;return _0x2ca4d5[_0x4caa28(0x1cf)](_0x3dc012=>{const _0x88937=_0x4caa28,_0x400f47=_0x88937(0x233)+_0x3dc012['id'][_0x88937(0x26d)]()[_0x88937(0x234)]('-','_'),_0x1d41de={..._0x3dc012,'title':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x231),_0x3dc012[_0x88937(0x224)]),'description':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x1c4),_0x3dc012[_0x88937(0x1cb)])};return _0x3dc012[_0x88937(0x240)]&&(_0x1d41de[_0x88937(0x240)]=_0x3dc012[_0x88937(0x240)][_0x88937(0x1cf)](_0x56d87=>({..._0x56d87,'label':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x1d4),_0x56d87[_0x88937(0x1e1)]||''),'data':_0x56d87[_0x88937(0x1f7)]?_0x56d87[_0x88937(0x1f7)][_0x88937(0x1cf)](_0x38dd9b=>({..._0x38dd9b,'label':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x20e)+_0x38dd9b['id'][_0x88937(0x26d)](),_0x38dd9b[_0x88937(0x1e1)])})):void 0x0}))),_0x1d41de;});}[_0x459cda(0x1fd)](_0x7e5418,_0x48bacb){const _0x2ed208=_0x459cda,_0x26cd98=this[_0x2ed208(0x1e5)][_0x2ed208(0x223)],_0x869b11=_0x2235a2(_0x26cd98,_0x7e5418);return _0x869b11===_0x7e5418?_0x48bacb:_0x869b11;}[_0x459cda(0x1d0)](_0x319778){const _0x1ed4e5=_0x459cda;_0x5d95de(_0x319778[_0x1ed4e5(0x1f9)]),_0x319778[_0x1ed4e5(0x1f9)][_0x1ed4e5(0x22e)](_0x1ed4e5(0x1fe))?this[_0x1ed4e5(0x272)][_0x1ed4e5(0x268)]():this[_0x1ed4e5(0x272)][_0x1ed4e5(0x212)]();}}
|
|
23
|
+
const _0x57eaad=_0x54d3;(function(_0x2a85b9,_0x337522){const _0x2b81c3=_0x54d3,_0x41a94e=_0x2a85b9();while(!![]){try{const _0x1b1a93=parseInt(_0x2b81c3(0x214))/0x1*(-parseInt(_0x2b81c3(0x1a8))/0x2)+parseInt(_0x2b81c3(0x1c6))/0x3*(parseInt(_0x2b81c3(0x1b9))/0x4)+-parseInt(_0x2b81c3(0x1f2))/0x5*(-parseInt(_0x2b81c3(0x1c1))/0x6)+-parseInt(_0x2b81c3(0x1c3))/0x7*(-parseInt(_0x2b81c3(0x1a9))/0x8)+-parseInt(_0x2b81c3(0x1fe))/0x9*(-parseInt(_0x2b81c3(0x1b7))/0xa)+parseInt(_0x2b81c3(0x1ee))/0xb+-parseInt(_0x2b81c3(0x1cc))/0xc*(parseInt(_0x2b81c3(0x22b))/0xd);if(_0x1b1a93===_0x337522)break;else _0x41a94e['push'](_0x41a94e['shift']());}catch(_0x492d34){_0x41a94e['push'](_0x41a94e['shift']());}}}(_0x5c12,0xdc58d));function _0x5c12(){const _0x361145=['_onDiffChange','markAllChangesAsAccepted','31480HgOOgq','isAnyChangeActivated','dismissChange','switchToReadOnly','document','models','toUpperCase','ai-review-mode-models-unable-to-retrieve','getActiveChanges','getCheckById','clearAllMarkers','pluginName','1980630BtgRJm','label','unmodified','title','changeMarkerRestored','init','leaveReviewModeResultList','ready','_onReviewModeRunLeave','message','aborted','_OPTIONS_DATA_','runReviewCheck','contentNew','startsWith','sendRating','changeMarkerHovered','getDomRoot','showNoChangesView','listenTo','getAll','abortReviewStream','6068SSHbNO','contentInitial','translate','editing','markChangeAsPending','setCheckResultTitle','activateChange','applyChange','rejectChange','start','getRoot','args','description','addResultChanges','AI_REVIEW_CHECK_','loading','isChangeActive','hideDiffInBalloon','_DESCRIPTION','updateChangeState','change','processedResultsCount','error-general','16807141jPzUeY','data','showGeneralReviewModeErrorView','changeMarkerBlurred','custom','ai-review-mode-check-run-chunk-error','_changeActivationSource','showReviewCompletedView','abort','markChangeAsOutdated','AIReviewModeEditing','domEvent','source','_isDiffOn','ck-ai-review-mode-highlights','context','hover','content','reviewCheckResultActivated','reviewCheckRunUpdated','checks','ai-review-mode-no-current-check-run','getReviewCheckList','markChangePositionInEditorContent','_OPTIONS_LABEL','diffContent','emitter','reviewCheckResultReady','ai-review-mode-source-check-not-found','options','setAvailableChecks','removeClass','forceReadyState','ai-request-aborted','retryReview','getDocumentData','markChangeAsRejected','ai-review-mode-check-run-failed','.ck-ai-review-mode__check-run-result','_TITLE','viewportOffset','showChangeBalloon','click','subTitle','changeMarkerClick','changes','changeId','config','toggleDiff','markChangeAsAccepted','isCustom','find','includes','view','result','acceptChange','AIConnector','ai.reviewMode.translations','502pXIFJG','7280648EfUAAR','currentError','length','finishReview','locale','reviewCheckResultChangeStatusUpdated','removeCheckById','showActionsWhenResultIsReady','markerElement','stopListening','get','_aiConnector','model','plugins','40eFeHJB','ai-review-mode-check-run-general-error','636khJjiA','AI_MODEL_DESCRIPTION_','_aiReviewModeEditing','resetActiveStateInResults','AIReviewModeUI','showChunkErrorView','getChangeElement','deactivateChange','558gdrfYn','getEditor','7VVCnmb','getChangeById','changeMarkerRemoved','20733sBrWlI','showReviewCheckList','_getTranslationWithDefault','reviewCheckResultDeactivated','error-chunk','finished','24zHMIGo','params','ck-ai-review-mode-diff','_currentReviewCheckRun','setActiveStateInResults','showCheckRunResults','showCheckRunResult','reviewCheckResultAdded','_logError','replaceAll','status','map','switchToEdit','showGeneralResultsErrorView','getMarkerElementForChange','documentData','domElement','isOfficialPlugin','_aiReviewCheckList','panel','isPremiumPlugin','prompt','hideChangeBalloon','addClass','requires','_translateReviewChecks','AIReviewModeController','restart','leaveReviewMode','showDiffInBalloon','hasModifications','closest','acceptAllChanges','_aiReviewModeUi','16902435LUpLGi','updateDocumentData'];_0x5c12=function(){return _0x361145;};return _0x5c12();}function _0x54d3(_0x1668f7,_0x28630f){const _0x5c120b=_0x5c12();return _0x54d3=function(_0x54d39d,_0x9d1524){_0x54d39d=_0x54d39d-0x197;let _0x2973a0=_0x5c120b[_0x54d39d];return _0x2973a0;},_0x54d3(_0x1668f7,_0x28630f);}import{ContextPlugin as _0x2c4167}from'ckeditor5/src/core.js';import{CKEditorError as _0x301adf,logError as _0xe4be4b,scrollAncestorsToShowTarget as _0x43dcef,scrollViewportToShowTarget as _0x285d0b}from'ckeditor5/src/utils.js';import{AIConnector as _0x5b8c45}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x5b73c8}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x5b226f}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x78701f}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x332d83}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x4734d7}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x535e69}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x2c4167{[_0x57eaad(0x1b4)];[_0x57eaad(0x1ed)];[_0x57eaad(0x1bb)];[_0x57eaad(0x1de)];[_0x57eaad(0x1cf)];[_0x57eaad(0x238)]=!0x1;[_0x57eaad(0x231)]=null;static get[_0x57eaad(0x1e4)](){return[_0x5b8c45];}static get[_0x57eaad(0x1fd)](){const _0x27609f=_0x57eaad;return _0x27609f(0x1e6);}static get[_0x57eaad(0x1dd)](){return!0x0;}static get[_0x57eaad(0x1e0)](){return!0x0;}async[_0x57eaad(0x203)](){const _0x75e7b0=_0x57eaad;this[_0x75e7b0(0x1b4)]=this[_0x75e7b0(0x23a)][_0x75e7b0(0x1b6)][_0x75e7b0(0x1b3)](_0x75e7b0(0x1a6)),this[_0x75e7b0(0x1ed)]=this[_0x75e7b0(0x23a)][_0x75e7b0(0x1b6)][_0x75e7b0(0x1b3)](_0x75e7b0(0x1bd)),this[_0x75e7b0(0x1bb)]=this[_0x75e7b0(0x23a)][_0x75e7b0(0x1b6)][_0x75e7b0(0x1b3)](_0x75e7b0(0x235));const _0x53929b=this[_0x75e7b0(0x23a)][_0x75e7b0(0x19d)][_0x75e7b0(0x1b3)](_0x75e7b0(0x1a7));if(_0x53929b){for(const _0x54b3dd of _0x4734d7)_0x75e7b0(0x216)===_0x54b3dd['id']&&(_0x54b3dd[_0x75e7b0(0x248)][0x0][_0x75e7b0(0x22c)]=_0x53929b);}const _0xa56d88=this[_0x75e7b0(0x1e5)](_0x4734d7);this[_0x75e7b0(0x1de)]=new _0x5b73c8(_0xa56d88);const _0x2195ce=this[_0x75e7b0(0x1de)][_0x75e7b0(0x23f)][_0x75e7b0(0x1a1)](_0x25445a=>_0x75e7b0(0x22f)===_0x25445a['id']);if(_0x2195ce)try{const _0xa75a09=await new _0x332d83({'connector':this[_0x75e7b0(0x1b4)]})[_0x75e7b0(0x212)]();_0x2195ce[_0x75e7b0(0x1f7)]=_0xa75a09[_0x75e7b0(0x1d7)](_0x51f74c=>({..._0x51f74c,'description':this[_0x75e7b0(0x1c8)](_0x75e7b0(0x1ba)+_0x51f74c['id'][_0x75e7b0(0x1f8)](),_0x51f74c[_0x75e7b0(0x220)])}));}catch(_0x58b6fc){this[_0x75e7b0(0x1de)][_0x75e7b0(0x1af)](_0x75e7b0(0x22f)),this[_0x75e7b0(0x1d4)](new _0x301adf(_0x75e7b0(0x1f9),this,{'error':_0x58b6fc}));}this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x241),()=>{const _0x6aada3=_0x75e7b0;this[_0x6aada3(0x1ed)][_0x6aada3(0x249)](this[_0x6aada3(0x1de)][_0x6aada3(0x23f)]);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x20a),async(_0x211f94,_0xaf0981)=>{const _0x33d120=_0x75e7b0,_0x481f34=this[_0x33d120(0x1de)][_0x33d120(0x1fb)](_0xaf0981['id']);if(_0x481f34){this[_0x33d120(0x1f0)](this[_0x33d120(0x238)]),_0xaf0981[_0x33d120(0x1a0)]?this[_0x33d120(0x1cf)]=new _0x78701f(_0xaf0981[_0x33d120(0x21f)][_0x33d120(0x1e1)],_0xaf0981[_0x33d120(0x21f)][_0x33d120(0x1b5)],this[_0x33d120(0x1bb)][_0x33d120(0x24e)](),_0x481f34,this[_0x33d120(0x1b4)]):this[_0x33d120(0x1cf)]=new _0x5b226f(this[_0x33d120(0x1bb)][_0x33d120(0x24e)](),_0x481f34,this[_0x33d120(0x1b4)],_0xaf0981[_0x33d120(0x1cd)],_0xaf0981[_0x33d120(0x21f)]),this[_0x33d120(0x1ed)][_0x33d120(0x219)](this[_0x33d120(0x1cf)][_0x33d120(0x201)],this[_0x33d120(0x1cf)][_0x33d120(0x199)]),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x23e),(_0xb4af4e,_0x1436b4)=>{const _0x2aeb0c=_0x33d120;_0x2aeb0c(0x22c)===_0x1436b4[_0x2aeb0c(0x1d6)]||_0x2aeb0c(0x223)===_0x1436b4[_0x2aeb0c(0x1d6)]?(this[_0x2aeb0c(0x1bb)][_0x2aeb0c(0x1f5)](),this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x1d1)](_0x1436b4)):_0x2aeb0c(0x1cb)===_0x1436b4[_0x2aeb0c(0x1d6)]?this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x232)]():_0x2aeb0c(0x205)===_0x1436b4[_0x2aeb0c(0x1d6)]?this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x1b0)]():_0x2aeb0c(0x200)===_0x1436b4[_0x2aeb0c(0x1d6)]?this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x210)]():_0x2aeb0c(0x22a)===_0x1436b4[_0x2aeb0c(0x1d6)]?(this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x1d9)](),this[_0x2aeb0c(0x1d4)](new _0x301adf(_0x2aeb0c(0x1b8),this,this[_0x2aeb0c(0x1cf)]?.[_0x2aeb0c(0x1aa)]))):_0x2aeb0c(0x1ca)===_0x1436b4[_0x2aeb0c(0x1d6)]?(this[_0x2aeb0c(0x1ed)][_0x2aeb0c(0x1be)](),this[_0x2aeb0c(0x1d4)](new _0x301adf(_0x2aeb0c(0x230),this,this[_0x2aeb0c(0x1cf)]?.[_0x2aeb0c(0x1aa)]))):_0x2aeb0c(0x208)===_0x1436b4[_0x2aeb0c(0x1d6)]&&(this[_0x2aeb0c(0x1cf)]&&this[_0x2aeb0c(0x1cf)][_0x2aeb0c(0x229)]>0x0?setTimeout(()=>{const _0x12f874=_0x2aeb0c;this[_0x12f874(0x1cf)]?.[_0x12f874(0x24b)]();},0x0):this[_0x2aeb0c(0x206)](!0x0)),_0x2aeb0c(0x205)!==_0x1436b4[_0x2aeb0c(0x1d6)]&&_0x2aeb0c(0x1ca)!==_0x1436b4[_0x2aeb0c(0x1d6)]&&_0x2aeb0c(0x22a)!==_0x1436b4[_0x2aeb0c(0x1d6)]||this[_0x2aeb0c(0x1cf)]?.[_0x2aeb0c(0x20d)]();}),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x1d3),(_0x2ada3d,_0x3f2560)=>{const _0x24f721=_0x33d120;if(!this[_0x24f721(0x1cf)])throw new _0x301adf(_0x24f721(0x240),this);const _0x1b0a97=this[_0x24f721(0x1bb)][_0x24f721(0x244)](_0x3f2560[_0x24f721(0x1a4)][_0x24f721(0x215)],_0x3f2560[_0x24f721(0x1a4)][_0x24f721(0x20b)]);_0x3f2560[_0x24f721(0x237)][_0x24f721(0x221)](_0x3f2560[_0x24f721(0x1a4)]['id'],_0x1b0a97);}),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x246),(_0x529192,_0x153b47)=>{const _0x327fc4=_0x33d120;for(const _0x1e54ef of _0x153b47[_0x327fc4(0x19b)])this[_0x327fc4(0x1ed)][_0x327fc4(0x1d2)](_0x1e54ef);this[_0x327fc4(0x1bb)][_0x327fc4(0x242)](_0x153b47[_0x327fc4(0x19b)],_0x153b47[_0x327fc4(0x237)][_0x327fc4(0x1db)]);}),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x1ae),(_0x85e29b,_0x51135d)=>{const _0x46a4f2=_0x33d120;this[_0x46a4f2(0x1ed)][_0x46a4f2(0x227)](_0x51135d[_0x46a4f2(0x228)]['id'],_0x51135d[_0x46a4f2(0x1d6)]);}),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x23d),(_0x2bd9d2,_0x20a008)=>{const _0x4e1633=_0x33d120;this[_0x4e1633(0x1ed)][_0x4e1633(0x1d0)](_0x20a008[_0x4e1633(0x228)]['id']);const _0x5bf455=this[_0x4e1633(0x1bb)][_0x4e1633(0x1da)](_0x20a008[_0x4e1633(0x228)]['id']);if(!_0x5bf455)return;if(_0x4e1633(0x23c)===this[_0x4e1633(0x231)]){const _0x3a1468=this[_0x4e1633(0x1ed)][_0x4e1633(0x1bf)](_0x20a008[_0x4e1633(0x228)]['id']);_0x3a1468&&_0x43dcef(_0x3a1468[_0x4e1633(0x1eb)](_0x4e1633(0x251))||_0x3a1468);}else{if(_0x4e1633(0x1df)===this[_0x4e1633(0x231)]){const _0x199fca={'target':_0x5bf455[_0x4e1633(0x1dc)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x285d0b(_0x199fca);}}const _0x43f223=this[_0x4e1633(0x1bb)][_0x4e1633(0x1c2)]();this[_0x4e1633(0x1ed)][_0x4e1633(0x197)](_0x20a008[_0x4e1633(0x228)],_0x5bf455[_0x4e1633(0x1dc)],void 0x0,_0x4e1633(0x198),_0x43f223?.[_0x4e1633(0x217)]?.[_0x4e1633(0x1a3)]?.[_0x4e1633(0x20f)](),_0x43f223?.['ui']?.[_0x4e1633(0x253)]);}),this[_0x33d120(0x1cf)]['on'](_0x33d120(0x1c9),()=>{const _0x224853=_0x33d120;this[_0x224853(0x1ed)][_0x224853(0x1bc)](),this[_0x224853(0x1ed)][_0x224853(0x1e2)]();});try{await this[_0x33d120(0x1cf)][_0x33d120(0x21d)]();}catch(_0x14d02b){_0x14d02b instanceof Error&&_0x14d02b[_0x33d120(0x207)][_0x33d120(0x1a2)](_0x33d120(0x24c))||(_0x14d02b instanceof _0x301adf?this[_0x33d120(0x1d4)](_0x14d02b):this[_0x33d120(0x1d4)](new _0x301adf(_0x33d120(0x250),this,{'error':_0x14d02b})));}}else this[_0x33d120(0x1d4)](new _0x301adf(_0x33d120(0x247),this,{'checkId':_0xaf0981['id']}));}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1e8),()=>{const _0x2e9fa7=_0x75e7b0;this[_0x2e9fa7(0x206)]();}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x204),()=>{const _0x4e4a35=_0x75e7b0;this[_0x4e4a35(0x206)](!0x0);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x213),()=>{const _0x513acd=_0x75e7b0;this[_0x513acd(0x1cf)]&&this[_0x513acd(0x1cf)][_0x513acd(0x233)]();}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1ac),()=>{const _0x453d74=_0x75e7b0;this[_0x453d74(0x206)](!0x0);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1ec),()=>{const _0x31c510=_0x75e7b0;if(!this[_0x31c510(0x1cf)])return;const _0x2452b3=this[_0x31c510(0x1cf)][_0x31c510(0x1fa)]();_0x2452b3[_0x31c510(0x1ab)]&&(this[_0x31c510(0x1bb)][_0x31c510(0x21b)](_0x2452b3[_0x31c510(0x1d7)](_0xb02174=>_0xb02174['id'])),this[_0x31c510(0x1cf)][_0x31c510(0x1f1)](),this[_0x31c510(0x1cf)][_0x31c510(0x20d)]());}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1a5),(_0x6bc9aa,_0x32136b)=>{const _0x160c5f=_0x75e7b0;this[_0x160c5f(0x1cf)]&&this[_0x160c5f(0x1cf)][_0x160c5f(0x224)](_0x32136b['id'])&&(this[_0x160c5f(0x1bb)][_0x160c5f(0x21b)]([_0x32136b['id']]),this[_0x160c5f(0x1cf)][_0x160c5f(0x19f)](_0x32136b['id']),this[_0x160c5f(0x1ed)][_0x160c5f(0x1e2)](),this[_0x160c5f(0x1cf)][_0x160c5f(0x20d)](_0x32136b['id']));}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1f4),(_0x509aa2,_0x2e32e4)=>{const _0x1e88df=_0x75e7b0;this[_0x1e88df(0x1cf)]&&this[_0x1e88df(0x1cf)][_0x1e88df(0x224)](_0x2e32e4['id'])&&(this[_0x1e88df(0x1bb)][_0x1e88df(0x21c)](_0x2e32e4['id']),this[_0x1e88df(0x1cf)][_0x1e88df(0x24f)](_0x2e32e4['id']),this[_0x1e88df(0x1ed)][_0x1e88df(0x1e2)](),this[_0x1e88df(0x1cf)][_0x1e88df(0x20d)](_0x2e32e4['id']));}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x19e),(_0x104d2a,_0x4fd1c3)=>{const _0x557277=_0x75e7b0;this[_0x557277(0x238)]=_0x4fd1c3['on'],this[_0x557277(0x1f0)](this[_0x557277(0x238)]);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x24d),async()=>{const _0x4e6eba=_0x75e7b0;this[_0x4e6eba(0x1cf)]&&(this[_0x4e6eba(0x1bb)][_0x4e6eba(0x1fc)](),this[_0x4e6eba(0x1cf)][_0x4e6eba(0x1ef)](this[_0x4e6eba(0x1bb)][_0x4e6eba(0x24e)]()),await this[_0x4e6eba(0x1cf)][_0x4e6eba(0x1e7)]());}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x21a),(_0x2aef23,_0x441221)=>{const _0x15911d=_0x75e7b0;this[_0x15911d(0x1cf)]&&(this[_0x15911d(0x231)]=_0x15911d(0x1df),this[_0x15911d(0x1cf)][_0x15911d(0x21a)](_0x441221['id']));}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1ed)],_0x75e7b0(0x1c0),()=>{const _0x33d9d9=_0x75e7b0;this[_0x33d9d9(0x1cf)]&&this[_0x33d9d9(0x1cf)][_0x33d9d9(0x1c0)]();}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1bb)][_0x75e7b0(0x245)],_0x75e7b0(0x19a),(_0x469611,_0x3cebd6)=>{const _0x5a82e9=_0x75e7b0;if(!this[_0x5a82e9(0x1cf)])return;this[_0x5a82e9(0x231)]=_0x5a82e9(0x23c),this[_0x5a82e9(0x1cf)][_0x5a82e9(0x21a)](_0x3cebd6[_0x5a82e9(0x19c)]);const _0x176a18=this[_0x5a82e9(0x1cf)][_0x5a82e9(0x1c4)](_0x3cebd6[_0x5a82e9(0x19c)]);if(!_0x176a18)return;const _0x200ff3=this[_0x5a82e9(0x1bb)][_0x5a82e9(0x1c2)]();this[_0x5a82e9(0x1ed)][_0x5a82e9(0x197)](_0x176a18,_0x3cebd6[_0x5a82e9(0x1b1)],_0x3cebd6[_0x5a82e9(0x236)],_0x5a82e9(0x198),_0x200ff3?.[_0x5a82e9(0x217)]?.[_0x5a82e9(0x1a3)]?.[_0x5a82e9(0x20f)](),_0x200ff3?.['ui']?.[_0x5a82e9(0x253)]);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1bb)][_0x75e7b0(0x245)],_0x75e7b0(0x20e),(_0x1b62c8,_0x23c860)=>{const _0x2056c7=_0x75e7b0;if(!this[_0x2056c7(0x1cf)])return;if(this[_0x2056c7(0x1cf)][_0x2056c7(0x1f3)]())return;const _0x896640=this[_0x2056c7(0x1cf)][_0x2056c7(0x1c4)](_0x23c860[_0x2056c7(0x19c)]);if(!_0x896640)return;const _0x2d540c=this[_0x2056c7(0x1bb)][_0x2056c7(0x1c2)]();this[_0x2056c7(0x1ed)][_0x2056c7(0x197)](_0x896640,_0x23c860[_0x2056c7(0x1b1)],_0x23c860[_0x2056c7(0x236)],_0x2056c7(0x23b),_0x2d540c?.[_0x2056c7(0x217)]?.[_0x2056c7(0x1a3)]?.[_0x2056c7(0x20f)](),_0x2d540c?.['ui']?.[_0x2056c7(0x253)]);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1bb)][_0x75e7b0(0x245)],_0x75e7b0(0x22e),()=>{const _0x2d65fe=_0x75e7b0;if(!this[_0x2d65fe(0x1cf)])return;this[_0x2d65fe(0x1cf)][_0x2d65fe(0x1f3)]()||this[_0x2d65fe(0x1ed)][_0x2d65fe(0x1e2)]();}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1bb)][_0x75e7b0(0x245)],_0x75e7b0(0x1c5),(_0xf80c58,_0x5d3696)=>{const _0x23a4c4=_0x75e7b0;this[_0x23a4c4(0x1cf)]&&this[_0x23a4c4(0x1cf)][_0x23a4c4(0x234)](_0x5d3696[_0x23a4c4(0x19c)]);}),this[_0x75e7b0(0x211)](this[_0x75e7b0(0x1bb)][_0x75e7b0(0x245)],_0x75e7b0(0x202),(_0x2724c4,_0x1bc33a)=>{const _0x300b8f=_0x75e7b0;this[_0x300b8f(0x1cf)]&&this[_0x300b8f(0x1cf)][_0x300b8f(0x218)](_0x1bc33a[_0x300b8f(0x19c)]);});}[_0x57eaad(0x206)](_0x5ddd74=!0x1){const _0x32cc90=_0x57eaad;this[_0x32cc90(0x1cf)]&&(this[_0x32cc90(0x1cf)][_0x32cc90(0x1ea)]||this[_0x32cc90(0x1cf)][_0x32cc90(0x20d)](),this[_0x32cc90(0x1cf)][_0x32cc90(0x1b2)](),this[_0x32cc90(0x1cf)][_0x32cc90(0x233)](),this[_0x32cc90(0x1cf)]=void 0x0),_0x5ddd74&&this[_0x32cc90(0x1ed)][_0x32cc90(0x1c7)](),this[_0x32cc90(0x1bb)][_0x32cc90(0x1fc)](),this[_0x32cc90(0x1bb)][_0x32cc90(0x1d8)](),this[_0x32cc90(0x231)]=null;const _0x109307=this[_0x32cc90(0x1bb)][_0x32cc90(0x1c2)]();_0x109307&&_0x109307[_0x32cc90(0x217)][_0x32cc90(0x1a3)][_0x32cc90(0x228)](_0x46c328=>{const _0x75cb47=_0x32cc90,_0x50c74c=_0x109307[_0x75cb47(0x217)][_0x75cb47(0x1a3)][_0x75cb47(0x1f6)][_0x75cb47(0x21e)]();_0x46c328[_0x75cb47(0x24a)](_0x75cb47(0x1ce),_0x50c74c),_0x46c328[_0x75cb47(0x24a)](_0x75cb47(0x239),_0x50c74c);});}[_0x57eaad(0x1f0)](_0x5471b5){const _0xbf863=_0x57eaad,_0x173418=this[_0xbf863(0x1bb)][_0xbf863(0x1c2)]();_0x5471b5?this[_0xbf863(0x1ed)][_0xbf863(0x225)]():this[_0xbf863(0x1ed)][_0xbf863(0x1e9)](),_0x173418&&_0x173418[_0xbf863(0x217)][_0xbf863(0x1a3)][_0xbf863(0x228)](_0x316b89=>{const _0x3e94c6=_0xbf863,_0xeb261=_0x173418[_0x3e94c6(0x217)][_0x3e94c6(0x1a3)][_0x3e94c6(0x1f6)][_0x3e94c6(0x21e)]();_0x316b89[_0x3e94c6(0x24a)](_0x3e94c6(0x1ce),_0xeb261),_0x316b89[_0x3e94c6(0x24a)](_0x3e94c6(0x239),_0xeb261),_0x316b89[_0x3e94c6(0x1e3)](_0x5471b5?_0x3e94c6(0x1ce):_0x3e94c6(0x239),_0xeb261);});}[_0x57eaad(0x1e5)](_0x30926b){const _0x3702b6=_0x57eaad;return _0x30926b[_0x3702b6(0x1d7)](_0x461037=>{const _0x624117=_0x3702b6,_0x6dd8ab=_0x624117(0x222)+_0x461037['id'][_0x624117(0x1f8)]()[_0x624117(0x1d5)]('-','_'),_0x189d67={..._0x461037,'title':this[_0x624117(0x1c8)](_0x6dd8ab+_0x624117(0x252),_0x461037[_0x624117(0x201)]),'description':this[_0x624117(0x1c8)](_0x6dd8ab+_0x624117(0x226),_0x461037[_0x624117(0x220)])};return _0x461037[_0x624117(0x248)]&&(_0x189d67[_0x624117(0x248)]=_0x461037[_0x624117(0x248)][_0x624117(0x1d7)](_0x58bca5=>({..._0x58bca5,'label':this[_0x624117(0x1c8)](_0x6dd8ab+_0x624117(0x243),_0x58bca5[_0x624117(0x1ff)]||''),'data':_0x58bca5[_0x624117(0x22c)]?_0x58bca5[_0x624117(0x22c)][_0x624117(0x1d7)](_0x494329=>({..._0x494329,'label':this[_0x624117(0x1c8)](_0x6dd8ab+_0x624117(0x209)+_0x494329['id'][_0x624117(0x1f8)](),_0x494329[_0x624117(0x1ff)])})):void 0x0}))),_0x189d67;});}[_0x57eaad(0x1c8)](_0x493cd8,_0x544c5e){const _0x9002b2=_0x57eaad,_0x4d9d36=this[_0x9002b2(0x23a)][_0x9002b2(0x1ad)],_0x3fc485=_0x535e69(_0x4d9d36,_0x493cd8);return _0x3fc485===_0x493cd8?_0x544c5e:_0x3fc485;}[_0x57eaad(0x1d4)](_0x5ee472){const _0xa5934e=_0x57eaad;_0xe4be4b(_0x5ee472[_0xa5934e(0x207)]),_0x5ee472[_0xa5934e(0x207)][_0xa5934e(0x20c)](_0xa5934e(0x1f9))?this[_0xa5934e(0x1ed)][_0xa5934e(0x22d)]():this[_0xa5934e(0x1ed)][_0xa5934e(0x1d9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x52548d=_0x20f1;(function(_0x2e8e4d,_0x4b916a){const _0xbedb9a=_0x20f1,_0x47eb2b=_0x2e8e4d();while(!![]){try{const _0x1deb70=-parseInt(_0xbedb9a(0x190))/0x1+-parseInt(_0xbedb9a(0x1c8))/0x2+-parseInt(_0xbedb9a(0x25a))/0x3*(-parseInt(_0xbedb9a(0x1c2))/0x4)+-parseInt(_0xbedb9a(0x1f2))/0x5+parseInt(_0xbedb9a(0x1cc))/0x6*(-parseInt(_0xbedb9a(0x207))/0x7)+parseInt(_0xbedb9a(0x1c4))/0x8+parseInt(_0xbedb9a(0x1b7))/0x9;if(_0x1deb70===_0x4b916a)break;else _0x47eb2b['push'](_0x47eb2b['shift']());}catch(_0x5a8e6b){_0x47eb2b['push'](_0x47eb2b['shift']());}}}(_0x5781,0x8f9f2));import{InsertOperation as _0x425577,MarkerOperation as _0x55dce9,ModelDocumentFragment as _0x3b6da7,ModelPosition as _0x21df25,ModelRange as _0x47bce5,ModelTreeWalker as _0x90e179,transformOperationSets as _0x5cb8c5}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x508ad1,EmitterMixin as _0x4b68d4}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x4c46be}from'ckeditor5/src/core.js';import{DocumentCompare as _0x4d02be,DATA_ID_MODEL_ATTRIBUTE as _0x50ebc7,DATA_ID_VIEW_ATTRIBUTE as _0x500d39}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5781(){const _0x3561bb=['affectsData','target','keys','getChildren','_changePosition','schema','_haveSingleTopLevelElement','ellipsisBefore','23184432tSlIcz','applyChange','createUIElement','includes','elements','remove-text','_getChangeContext','length','remove','dataDowncast','fire','692596YuwBvl','containsRange','5784248FvpMQH','data','disableReadOnlyMode','enableReadOnlyMode','1498256NqqfIz','from','[data-marker-id=\x22','switchToReadOnly','2095866SLTWzo','howMany','htmlWriter','closest','baseVersion','clone','suggestion-context','editing','getRoot','_findAdjacentContextDistance','sort','hasContentBefore','_changeOperationOwnerDocument','relatedTarget','_validateMarkers','markChangePositionInEditorContent','AIReviewModeEditing','querySelector','pop','addMarker','warn','editingDowncast','getChangedMarkers','_eventEmitter','add','isTouching','operationsA','_appendChild','push','model:$text','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','document','context','innerHTML','emitter','ck-ai_review-mode-marker_strikethrough','changeMarkerRemoved','stringify','1597270GvFyaE','flat','append','oldRange','_setAttribute','path','ck-ai_review-mode-marker_context-start','click','createPositionAt','domConverter','markerToElement','rejectChange','concat','_nextDataId','_hasSameTopLevelElement','backward','getDiff','getOperations','jumpTo','_clone','getDocumentData','21ihAphI','_shiftOperation','hasAttribute','toDomElement','_changePositionOwnerDocument','model','_translateOperationToEditorContent','_changeRangeOwnerDocument','requires','$textProxy','values','ck-ai_review-mode-marker_context-','registerPostFixer','pluginName','split','markerName','delete','changeMarkerClick','get','createText','clearAllMarkers','_changeRange','ck-ai_review-mode-marker_context-end','$markedRemove','nodes','getEditor','_groupAdjacentOperations','DocumentCompare','[data-id=\x22','view','isOfficialPlugin','toData','isIntersecting','viewToDom','processor','$graveyard','offsetSize','afterInit','isOpening','type','parent','_createGetContentFn','for','switchToEdit','_sortMarkers','_handleMarkerChanges','clear','_getOperationEnd','applyOperation','_domEmitter','_removeAttribute','has','startsWith','newRange','ck-ai_review-mode-marker_hide','outerHTML','getStart','start','plugins','insertContent','position','span','rootName','addOperation','_haveOnlyInlineContent','changeMarkerHovered','forward','markerToHighlight','ellipsisAfter','getDomRoot','filter','listenTo','toView','root','conversion','forEach','map','insert','_insertMarkers','documentFragment','getPath','mouseover','htmlProcessor','9TRgIar','changeMarkerRestored','groupId','markers','element','No\x20element\x20found\x20for\x20ID:\x20','_markers','changeMarkerBlurred','size','attributeToAttribute','isPremiumPlugin','hasContentAfter','history','_getOperationStart','isInline','getChild','AIEditing','_upsertDataId','createSelection','createDocumentFragment','createPositionAfter','deleteContent','createRawElement','offset','parentElement','_createGetContentUsingDataIdFn','removeMarker','_createGetContextFn','remove-only','_parseMarkerName','suggestion:insertion:id:authorId:','_findMarkerElement','every','index','suggestion:deletion:id:authorId:','getShiftedBy','_removeChildren','diffContent','ck-ai_review-mode-marker_add','isDocumentOperation','end','getHtml','text','batch','1113737AbwOOS','change','name','ai-review-mode','getMarkerElementForChange','set','reviewmode-','exec','getRange','data-marker-id','remove-context','hasClass','parse','getAttribute','$documentFragment','version','downcast','childCount','marker','operationsIsolated','differ','ck-ai_review-mode-marker_','isAtEnd','ck-ai_review-mode-marker_underline','_getMarkersDataForGroup','createRange','containerElement','className','getChanges','isAtStart','getRoots'];_0x5781=function(){return _0x3561bb;};return _0x5781();}import{getEditorFromContext as _0xdca771}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xb00dda}from'../aicore/aiediting.js';import{debounce as _0x2ccfa0}from'es-toolkit/compat';function _0x20f1(_0x104f6b,_0x40a11a){const _0x57814e=_0x5781();return _0x20f1=function(_0x20f191,_0x5a2df4){_0x20f191=_0x20f191-0x177;let _0x25e858=_0x57814e[_0x20f191];return _0x25e858;},_0x20f1(_0x104f6b,_0x40a11a);}const pe=_0x52548d(0x196);export class AIReviewModeEditing extends _0x4c46be{static get[_0x52548d(0x214)](){const _0x8652b9=_0x52548d;return _0x8652b9(0x1dc);}static get[_0x52548d(0x20f)](){return[_0x4d02be,_0xb00dda];}static get[_0x52548d(0x225)](){return!0x0;}static get[_0x52548d(0x264)](){return!0x0;}[_0x52548d(0x260)]=new Map();[_0x52548d(0x238)];[_0x52548d(0x1e3)];constructor(_0x805522){const _0xc6d1cc=_0x52548d;super(_0x805522),this[_0xc6d1cc(0x238)]=new(_0x508ad1())(),this[_0xc6d1cc(0x1e3)]=new(_0x4b68d4())();}get[_0x52548d(0x1ee)](){const _0x41f239=_0x52548d;return this[_0x41f239(0x1e3)];}[_0x52548d(0x22c)](){const _0x583d05=_0x52548d,_0x4828c5=_0xdca771(this[_0x583d05(0x1ec)]);_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1e1))[_0x583d05(0x1fc)]({'model':pe+_0x583d05(0x254),'view':(_0x46147c,{writer:_0x20075b})=>{const _0x1508c9=_0x583d05,_0x49a9d0=this[_0x1508c9(0x260)][_0x1508c9(0x219)](_0x46147c[_0x1508c9(0x216)]),_0x39928a={'class':_0x1508c9(0x18a),'data-marker-id':_0x46147c[_0x1508c9(0x216)]};return _0x20075b[_0x1508c9(0x1b9)](_0x1508c9(0x244),_0x39928a,function(_0x5c7336){const _0x43a7d4=_0x1508c9,_0x5cd06d=this[_0x43a7d4(0x20a)](_0x5c7336);return _0x5cd06d[_0x43a7d4(0x1ed)]=_0x49a9d0?.[_0x43a7d4(0x18e)]||'',_0x5cd06d;});}}),_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1e1))[_0x583d05(0x24a)]({'model':pe+_0x583d05(0x180),'view':_0x3ad82a=>({'classes':_0x583d05(0x1ef),'attributes':{'data-marker-id':_0x3ad82a[_0x583d05(0x216)]}})}),_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1e1))[_0x583d05(0x24a)]({'model':pe+_0x583d05(0x19a),'view':_0x1d1be1=>({'classes':_0x583d05(0x1a7),'attributes':{'data-marker-id':_0x1d1be1[_0x583d05(0x216)]}})}),_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1e1))[_0x583d05(0x24a)]({'model':pe+_0x583d05(0x1bc),'view':_0x4993d4=>({'classes':_0x583d05(0x23d),'attributes':{'data-marker-id':_0x4993d4[_0x583d05(0x216)]}})}),_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1c0))[_0x583d05(0x1fc)]({'model':pe+_0x583d05(0x1d2),'view':(_0x61d62c,{writer:_0x3c07d2})=>_0x3c07d2[_0x583d05(0x17a)](_0x583d05(0x244),{'class':_0x583d05(0x212)+(_0x61d62c[_0x583d05(0x22d)]?_0x583d05(0x240):_0x583d05(0x18c))})}),_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1a0))[_0x583d05(0x263)]({'model':_0x50ebc7,'view':_0x500d39}),this[_0x583d05(0x238)][_0x583d05(0x24e)](document,_0x583d05(0x1f9),(_0xbb6a37,_0x35c271)=>{const _0x346261=_0x583d05,_0x570fab=_0x35c271[_0x346261(0x1b0)],_0x3ad3a8=this[_0x346261(0x183)](_0x570fab);if(!_0x3ad3a8)return;const _0x33ff74=_0x3ad3a8[_0x346261(0x19d)](_0x346261(0x199)),_0x3d712d=_0x33ff74[_0x346261(0x215)](':')[_0x346261(0x1de)]()?.[_0x346261(0x215)]('_')[0x0];this[_0x346261(0x1e3)][_0x346261(0x1c1)](_0x346261(0x218),{'markerId':_0x33ff74,'changeId':_0x3d712d,'markerElement':_0x3ad3a8,'domEvent':_0x35c271});}),this[_0x583d05(0x238)][_0x583d05(0x24e)](document,_0x583d05(0x258),(_0x1a970f,_0x18d362)=>{const _0x596b90=_0x583d05,_0x1126af=_0x18d362[_0x596b90(0x1b0)],_0x56a1da=_0x18d362[_0x596b90(0x1d9)];let _0xb2404d=this[_0x596b90(0x183)](_0x1126af);if(!_0xb2404d&&_0x56a1da&&(_0xb2404d=this[_0x596b90(0x183)](_0x56a1da)),!_0xb2404d)return;const _0x3b5d84=_0xb2404d[_0x596b90(0x19d)](_0x596b90(0x199)),_0x2fff21=_0x3b5d84[_0x596b90(0x215)](':')[_0x596b90(0x1de)]()?.[_0x596b90(0x215)]('_')[0x0];this[_0x596b90(0x1e3)][_0x596b90(0x1c1)](_0x596b90(0x248),{'changeId':_0x2fff21,'markerElement':_0xb2404d,'domEvent':_0x18d362});}),this[_0x583d05(0x238)][_0x583d05(0x24e)](document,_0x583d05(0x258),_0x2ccfa0((_0x534d40,_0x31fdb0)=>{const _0xc75659=_0x583d05,_0x2b7074=_0x31fdb0[_0xc75659(0x1b0)];if(this[_0xc75659(0x183)](_0x2b7074))return;_0x2b7074[_0xc75659(0x1cf)](_0xc75659(0x1ea))||this[_0xc75659(0x1e3)][_0xc75659(0x1c1)](_0xc75659(0x261));},0xc8)),_0x4828c5[_0x583d05(0x20c)][_0x583d05(0x1eb)][_0x583d05(0x213)](_0x2b2052=>this[_0x583d05(0x1da)](_0x4828c5,_0x2b2052)),_0x4828c5[_0x583d05(0x20c)][_0x583d05(0x1eb)]['on'](_0x583d05(0x191),()=>this[_0x583d05(0x234)](_0x4828c5));}[_0x52548d(0x206)](){const _0x334fc6=_0x52548d,_0x5b1711=this[_0x334fc6(0x1ec)][_0x334fc6(0x241)][_0x334fc6(0x219)](_0x334fc6(0x26a)),_0x4f0d05=_0xdca771(this[_0x334fc6(0x1ec)]),_0x48f8b5=_0x4f0d05[_0x334fc6(0x20c)],_0x7d8c7c=new _0x3b6da7();for(const _0x52a3b9 of _0x48f8b5[_0x334fc6(0x1eb)][_0x334fc6(0x1d4)]()[_0x334fc6(0x1b2)]()){const _0x37a490=_0x52a3b9[_0x334fc6(0x205)](!0x0);_0x7d8c7c[_0x334fc6(0x1e7)](_0x37a490);}for(const _0x25335e of _0x48f8b5[_0x334fc6(0x25d)])_0x7d8c7c[_0x334fc6(0x25d)][_0x334fc6(0x195)](_0x25335e[_0x334fc6(0x192)],this[_0x334fc6(0x20e)](_0x25335e[_0x334fc6(0x198)]()[_0x334fc6(0x1d1)](),_0x7d8c7c));const _0x13eef5=new _0x90e179({'ignoreElementEnd':!0x0,'startPosition':_0x48f8b5[_0x334fc6(0x1fa)](_0x7d8c7c,0x0)}),_0x1414d1=new Set(),_0x5b2c5a=new Map();for(const {item:_0x205920}of _0x13eef5){if(!_0x205920['is'](_0x334fc6(0x210)))continue;const _0x32c5b4=_0x205920[_0x334fc6(0x22f)];if(_0x32c5b4&&_0x32c5b4['is'](_0x334fc6(0x25e))){const _0x556ca9=this[_0x334fc6(0x26b)](_0x32c5b4,()=>_0x5b1711[_0x334fc6(0x1ff)](_0x1414d1));_0x1414d1[_0x334fc6(0x1e4)](_0x556ca9);for(const _0x5b495a of _0x32c5b4[_0x334fc6(0x1b2)]())_0x5b495a['is'](_0x334fc6(0x25e))&&_0x1414d1[_0x334fc6(0x1e4)](this[_0x334fc6(0x26b)](_0x5b495a,()=>_0x5b1711[_0x334fc6(0x1ff)](_0x1414d1)));let _0x2c0b12=_0x32c5b4;for(;_0x2c0b12[_0x334fc6(0x22f)]&&!_0x2c0b12[_0x334fc6(0x22f)]['is'](_0x334fc6(0x256));)_0x2c0b12=_0x2c0b12[_0x334fc6(0x22f)],_0x2c0b12[_0x334fc6(0x209)](_0x50ebc7)&&_0x2c0b12[_0x334fc6(0x239)](_0x50ebc7);_0x5b2c5a[_0x334fc6(0x195)](_0x556ca9,{'path':_0x32c5b4[_0x334fc6(0x257)](),'getContent':this[_0x334fc6(0x17d)](_0x2c0b12[_0x334fc6(0x205)](!0x0),_0x556ca9,_0x4f0d05[_0x334fc6(0x1c5)])}),_0x13eef5[_0x334fc6(0x204)](_0x48f8b5[_0x334fc6(0x178)](_0x32c5b4));}}return{'content':_0x4f0d05[_0x334fc6(0x1c5)][_0x334fc6(0x229)][_0x334fc6(0x226)](_0x4f0d05[_0x334fc6(0x1c5)][_0x334fc6(0x24f)](_0x7d8c7c)),'version':_0x4f0d05[_0x334fc6(0x20c)][_0x334fc6(0x1eb)][_0x334fc6(0x19f)],'elements':_0x5b2c5a};}[_0x52548d(0x189)](_0x56f514,_0xc6a80f){const _0x1e1f6d=_0x52548d,_0xe90d27=[],_0x9dbb30=_0xdca771(this[_0x1e1f6d(0x1ec)]),_0x508f32=_0x9dbb30[_0x1e1f6d(0x1c5)][_0x1e1f6d(0x19c)](_0xc6a80f,_0x1e1f6d(0x19e)),_0x53e0fd=_0x9dbb30[_0x1e1f6d(0x1c5)][_0x1e1f6d(0x19c)](_0x56f514,_0x1e1f6d(0x19e)),_0x13f5fd=_0x9dbb30[_0x1e1f6d(0x20c)][_0x1e1f6d(0x1fa)](_0x53e0fd,0x0);if(this[_0x1e1f6d(0x1b5)](_0x508f32)){if(!this[_0x1e1f6d(0x200)](_0x53e0fd,_0x508f32))return _0xe90d27;}else{const _0x3b6b82=_0x9dbb30[_0x1e1f6d(0x20c)][_0x1e1f6d(0x1b4)];if(!this[_0x1e1f6d(0x247)](_0x53e0fd,_0x3b6b82)||!this[_0x1e1f6d(0x247)](_0x508f32,_0x3b6b82))return _0xe90d27;}const _0x406cf9=this[_0x1e1f6d(0x1ec)][_0x1e1f6d(0x241)][_0x1e1f6d(0x219)](_0x1e1f6d(0x222))[_0x1e1f6d(0x202)](_0x56f514,_0xc6a80f,{'anchor':_0x13f5fd,'markDeletions':!0x0})[_0x1e1f6d(0x203)]()[_0x1e1f6d(0x24d)](_0x54648c=>_0x1e1f6d(0x254)===_0x54648c[_0x1e1f6d(0x22e)]||_0x1e1f6d(0x1a2)===_0x54648c[_0x1e1f6d(0x22e)]&&_0x54648c[_0x1e1f6d(0x192)][_0x1e1f6d(0x23b)](_0x1e1f6d(0x21e))),_0x179d1b=this[_0x1e1f6d(0x221)](_0x406cf9);let _0x5da099=0x0;return _0x9dbb30[_0x1e1f6d(0x20c)][_0x1e1f6d(0x191)](_0x3a6835=>{const _0x52804e=_0x1e1f6d;for(let _0x1b45f5=0x0;_0x1b45f5<_0x179d1b[_0x52804e(0x1be)];_0x1b45f5++){const _0x501dd8=_0x179d1b[_0x1b45f5],_0x4b453c=_0x3a6835[_0x52804e(0x177)]();for(const _0x450350 of _0x53e0fd[_0x52804e(0x1b2)]())_0x3a6835[_0x52804e(0x1f4)](_0x450350[_0x52804e(0x205)](!0x0),_0x4b453c);for(const _0x9226f0 of _0x501dd8[_0x52804e(0x1a3)])if(_0x52804e(0x254)===_0x9226f0[_0x52804e(0x22e)]){const _0x1396ad=_0x9226f0;_0x1396ad[_0x52804e(0x1d0)]=null,_0x1396ad[_0x52804e(0x18b)]=!0x1,this[_0x52804e(0x1d8)](_0x1396ad,_0x4b453c),_0x3a6835[_0x52804e(0x18f)][_0x52804e(0x246)](_0x9226f0),_0x9dbb30[_0x52804e(0x20c)][_0x52804e(0x237)](_0x9226f0);const _0x144a41=_0x52804e(0x182)+_0x5da099++,_0xfc8fd8=_0x9dbb30[_0x52804e(0x20c)][_0x52804e(0x1a9)](_0x1396ad[_0x52804e(0x243)],_0x1396ad[_0x52804e(0x243)][_0x52804e(0x187)](_0x1396ad[_0x52804e(0x1cd)]));_0x4b453c[_0x52804e(0x25d)][_0x52804e(0x195)](_0x144a41,_0xfc8fd8);}else{if(_0x52804e(0x1a2)===_0x9226f0[_0x52804e(0x22e)]&&_0x9226f0[_0x52804e(0x192)][_0x52804e(0x23b)](_0x52804e(0x21e))){const _0x2459ae=_0x9226f0,_0x2116e1=_0x52804e(0x186)+_0x5da099++;this[_0x52804e(0x1d8)](_0x2459ae,_0x4b453c),_0x4b453c[_0x52804e(0x25d)][_0x52804e(0x195)](_0x2116e1,_0x2459ae[_0x52804e(0x23c)]);}}const _0x2ca19c=this[_0x52804e(0x1bd)](this[_0x52804e(0x20b)](this[_0x52804e(0x267)](_0x501dd8[_0x52804e(0x1a3)][0x0]),_0x4b453c),this[_0x52804e(0x20b)](this[_0x52804e(0x236)](_0x501dd8[_0x52804e(0x1a3)][_0x501dd8[_0x52804e(0x1a3)][_0x52804e(0x1be)]-0x1]),_0x4b453c));_0x4b453c[_0x52804e(0x25d)][_0x52804e(0x195)](pe+_0x52804e(0x1d2),new _0x47bce5(_0x2ca19c[_0x52804e(0x240)],_0x2ca19c[_0x52804e(0x18c)])),_0xe90d27[_0x52804e(0x1e8)]({..._0x501dd8,'context':this[_0x52804e(0x17f)](_0x4b453c,_0x9dbb30[_0x52804e(0x1c5)],{'ellipsisBefore':_0x2ca19c[_0x52804e(0x1d7)],'ellipsisAfter':_0x2ca19c[_0x52804e(0x265)]}),'content':this[_0x52804e(0x230)](_0x4b453c,_0x9dbb30[_0x52804e(0x1c5)])});}}),_0xe90d27;}[_0x52548d(0x1db)](_0x3a1dea,_0x1c03da){const _0x26f45a=_0x52548d;if(!_0x3a1dea[_0x26f45a(0x1be)])return;const _0x6af4c3=_0x3a1dea[0x0][_0x26f45a(0x22f)]['id'],_0xd90b97=_0x1c03da[_0x26f45a(0x1bb)][_0x26f45a(0x219)](_0x6af4c3);if(!_0xd90b97)return void console[_0x26f45a(0x1e0)](_0x26f45a(0x25f)+_0x6af4c3);const _0x506cae=_0xd90b97[_0x26f45a(0x1f7)],_0x54aab1=_0xdca771(this[_0x26f45a(0x1ec)]),_0xa809e2=_0x54aab1[_0x26f45a(0x20c)][_0x26f45a(0x1eb)][_0x26f45a(0x266)][_0x26f45a(0x203)](_0x1c03da[_0x26f45a(0x19f)]),_0x317850=[];for(const _0x5b641f of _0x3a1dea){const _0x1b2a50=_0x5b641f[_0x26f45a(0x1a3)][_0x26f45a(0x253)](_0x41693a=>this[_0x26f45a(0x20d)](_0x41693a,_0x506cae,_0x54aab1[_0x26f45a(0x20c)][_0x26f45a(0x1eb)][_0x26f45a(0x1ae)]()[0x0]));if(!_0x1b2a50||!_0x1b2a50[_0x26f45a(0x1be)])continue;const _0x1b4fe4=_0x1b2a50[_0x26f45a(0x184)](_0x1ac1f7=>_0x26f45a(0x1a2)===_0x1ac1f7[_0x26f45a(0x22e)]&&_0x1ac1f7[_0x26f45a(0x192)][_0x26f45a(0x23b)](_0x26f45a(0x21e))),_0x2e68fc={'document':_0x54aab1[_0x26f45a(0x20c)][_0x26f45a(0x1eb)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3754f9=_0x5cb8c5(_0x1b2a50,_0xa809e2,_0x2e68fc)[_0x26f45a(0x1e6)];for(const _0x4d8386 of _0x3754f9)if(_0x26f45a(0x254)===_0x4d8386[_0x26f45a(0x22e)]){const _0x26c47f=_0x4d8386,_0x55569a=_0x26c47f[_0x26f45a(0x21f)];let _0x3fe23c='';for(const _0x1f5ae2 of _0x55569a)_0x1f5ae2&&_0x1f5ae2['is'](_0x26f45a(0x1e9))&&(_0x3fe23c+=_0x1f5ae2[_0x26f45a(0x1c5)]);_0x317850[_0x26f45a(0x1e8)]({'start':_0x26c47f[_0x26f45a(0x243)],'end':_0x26c47f[_0x26f45a(0x243)],'type':_0x26f45a(0x254),'groupId':_0x5b641f['id'],'text':_0x3fe23c});}else{if(_0x26f45a(0x1a2)===_0x4d8386[_0x26f45a(0x22e)]&&_0x4d8386[_0x26f45a(0x192)][_0x26f45a(0x23b)](_0x26f45a(0x21e))){const _0x81dc8c=_0x4d8386;let _0x4f6079=_0x26f45a(0x1bc);if(_0x1b4fe4){const _0x36080b=this[_0x26f45a(0x1d5)](_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x240)],_0x26f45a(0x201),_0x54aab1[_0x26f45a(0x20c)][_0x26f45a(0x1b4)]),_0x5e2cd1=this[_0x26f45a(0x1d5)](_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x18c)],_0x26f45a(0x249),_0x54aab1[_0x26f45a(0x20c)][_0x26f45a(0x1b4)]);if(_0x36080b||_0x5e2cd1){const _0x18ba05=_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x240)][_0x26f45a(0x187)](-_0x36080b),_0x20ed0f=_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x18c)][_0x26f45a(0x187)](_0x5e2cd1);_0x317850[_0x26f45a(0x1e8)]({'start':_0x18ba05,'end':_0x20ed0f,'groupId':_0x5b641f['id'],'type':_0x26f45a(0x19a)});}else _0x4f6079=_0x26f45a(0x180);}_0x317850[_0x26f45a(0x1e8)]({'start':_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x240)],'end':_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x18c)],'groupId':_0x5b641f['id'],'type':_0x4f6079});}}}this[_0x26f45a(0x255)](_0x317850);}[_0x52548d(0x21b)](){const _0x27c376=_0x52548d,_0x3adf6e=_0xdca771(this[_0x27c376(0x1ec)]);_0x3adf6e[_0x27c376(0x20c)][_0x27c376(0x191)](_0x39069f=>{const _0x3743ab=_0x27c376;for(const _0x36e885 of this[_0x3743ab(0x260)][_0x3743ab(0x1b1)]())_0x3adf6e[_0x3743ab(0x20c)][_0x3743ab(0x25d)][_0x3743ab(0x219)](_0x36e885)&&_0x39069f[_0x3743ab(0x17e)](_0x36e885);}),this[_0x27c376(0x260)][_0x27c376(0x235)]();}[_0x52548d(0x1cb)](){const _0x7d00ad=_0x52548d;_0xdca771(this[_0x7d00ad(0x1ec)])[_0x7d00ad(0x1c7)](_0x7d00ad(0x193));}[_0x52548d(0x232)](){const _0x4ccef3=_0x52548d;_0xdca771(this[_0x4ccef3(0x1ec)])[_0x4ccef3(0x1c6)](_0x4ccef3(0x193));}[_0x52548d(0x1b8)](_0x2ab2f6){const _0x2d084b=_0x52548d,_0x584523=_0xdca771(this[_0x2d084b(0x1ec)]),_0x2bfb85=_0x584523[_0x2d084b(0x20c)],_0x378574=_0x2ab2f6[_0x2d084b(0x253)](_0x502e97=>this[_0x2d084b(0x1a8)](_0x502e97))[_0x2d084b(0x1f3)]();_0x2bfb85[_0x2d084b(0x191)](_0x4528aa=>{const _0x228991=_0x2d084b;for(const _0x2b2392 of _0x378574){const _0x5f5766=_0x584523[_0x228991(0x20c)][_0x228991(0x25d)][_0x228991(0x219)](_0x2b2392['id']);_0x5f5766&&(_0x228991(0x254)===_0x2b2392[_0x228991(0x22e)]?_0x2bfb85[_0x228991(0x242)](_0x4528aa[_0x228991(0x21a)](_0x2b2392[_0x228991(0x18e)]||''),_0x5f5766[_0x228991(0x198)]()[_0x228991(0x240)]):_0x228991(0x1bc)!==_0x2b2392[_0x228991(0x22e)]&&_0x228991(0x180)!==_0x2b2392[_0x228991(0x22e)]||_0x2bfb85[_0x228991(0x179)](_0x2bfb85[_0x228991(0x26c)](_0x5f5766[_0x228991(0x198)]())),_0x4528aa[_0x228991(0x17e)](_0x2b2392['id']),this[_0x228991(0x260)][_0x228991(0x217)](_0x2b2392['id']));}});}[_0x52548d(0x1fd)](_0x18c7bc){const _0x4be503=_0x52548d,_0x21ce3e=_0xdca771(this[_0x4be503(0x1ec)]),_0x1b9a30=this[_0x4be503(0x1a8)](_0x18c7bc);_0x21ce3e[_0x4be503(0x20c)][_0x4be503(0x191)](_0x1260bd=>{const _0x3745b5=_0x4be503;for(const _0x48ed7f of _0x1b9a30)_0x1260bd[_0x3745b5(0x17e)](_0x48ed7f['id']),this[_0x3745b5(0x260)][_0x3745b5(0x217)](_0x48ed7f['id']);});}[_0x52548d(0x220)](){const _0x286ccf=_0x52548d;return _0xdca771(this[_0x286ccf(0x1ec)]);}[_0x52548d(0x194)](_0x26d57b){const _0x3ce57d=_0x52548d,_0x11a234=Array[_0x3ce57d(0x1c9)](this[_0x3ce57d(0x260)][_0x3ce57d(0x211)]())[_0x3ce57d(0x24d)](_0x324d98=>_0x324d98[_0x3ce57d(0x25c)]===_0x26d57b);if(!_0x11a234[_0x3ce57d(0x1be)])return null;const _0x2b8ad6=0x1===_0x11a234[_0x3ce57d(0x1be)]?_0x11a234[0x0]:this[_0x3ce57d(0x233)](_0x11a234)[0x0],_0x201fb9=_0xdca771(this[_0x3ce57d(0x1ec)]),_0x510ad8=_0x201fb9[_0x3ce57d(0x20c)][_0x3ce57d(0x25d)][_0x3ce57d(0x219)](_0x2b8ad6['id']);if(!_0x510ad8)return null;const _0x1ce13b=_0x510ad8[_0x3ce57d(0x198)](),_0x3ff77a=_0x201fb9[_0x3ce57d(0x1d3)][_0x3ce57d(0x224)][_0x3ce57d(0x24c)]();if(!_0x3ff77a||!_0x1ce13b)return null;const _0x38042d=_0x3ff77a[_0x3ce57d(0x1dd)](_0x3ce57d(0x1ca)+_0x2b8ad6['id']+'\x22]');return _0x38042d?{'modelRange':_0x1ce13b,'domElement':_0x38042d}:null;}[_0x52548d(0x1da)](_0x368b64,_0x5d22c7){const _0x57a0f5=_0x52548d,_0x1ae1d6=Array[_0x57a0f5(0x1c9)](this[_0x57a0f5(0x260)][_0x57a0f5(0x1b1)]()),_0x3fc3c6=new Map();for(const _0x3f959d of _0x1ae1d6){const _0x2cab30=_0x368b64[_0x57a0f5(0x20c)][_0x57a0f5(0x25d)][_0x57a0f5(0x219)](_0x3f959d);if(!_0x2cab30)continue;const _0x4d2d30=_0x2cab30[_0x57a0f5(0x23f)]()[_0x57a0f5(0x1f7)][0x0];_0x3fc3c6[_0x57a0f5(0x23a)](_0x4d2d30)||_0x3fc3c6[_0x57a0f5(0x195)](_0x4d2d30,[]),_0x3fc3c6[_0x57a0f5(0x219)](_0x4d2d30)[_0x57a0f5(0x1e8)](_0x2cab30);}const _0x496830=new Set();for(const _0x8f4da8 of _0x368b64[_0x57a0f5(0x20c)][_0x57a0f5(0x1eb)][_0x57a0f5(0x1a4)][_0x57a0f5(0x1ac)]()){let _0x50c67e=-0x1,_0x2c6d4e=null;if(_0x57a0f5(0x254)===_0x8f4da8[_0x57a0f5(0x22e)])_0x2c6d4e=new _0x47bce5(_0x8f4da8[_0x57a0f5(0x243)],_0x8f4da8[_0x57a0f5(0x243)][_0x57a0f5(0x187)](_0x8f4da8[_0x57a0f5(0x1be)])),_0x50c67e=_0x8f4da8[_0x57a0f5(0x243)][_0x57a0f5(0x1f7)][0x0];else{if(_0x57a0f5(0x1bf)!==_0x8f4da8[_0x57a0f5(0x22e)])continue;_0x2c6d4e=new _0x47bce5(_0x8f4da8[_0x57a0f5(0x243)]),_0x50c67e=_0x8f4da8[_0x57a0f5(0x243)][_0x57a0f5(0x1f7)][0x0];}const _0x1cd285=_0x3fc3c6[_0x57a0f5(0x219)](_0x50c67e)||[];if(_0x1cd285[_0x57a0f5(0x1be)]){for(const _0x17bb1d of _0x1cd285)if(_0x2c6d4e[_0x57a0f5(0x250)][_0x57a0f5(0x245)]===_0x17bb1d[_0x57a0f5(0x198)]()[_0x57a0f5(0x250)][_0x57a0f5(0x245)]&&(_0x57a0f5(0x254)!==_0x8f4da8[_0x57a0f5(0x22e)]||!_0x2c6d4e[_0x57a0f5(0x1c3)](_0x17bb1d[_0x57a0f5(0x198)]()))&&(_0x2c6d4e[_0x57a0f5(0x227)](_0x17bb1d[_0x57a0f5(0x198)]())||_0x2c6d4e[_0x57a0f5(0x240)][_0x57a0f5(0x1e5)](_0x17bb1d[_0x57a0f5(0x198)]()[_0x57a0f5(0x18c)])||_0x2c6d4e[_0x57a0f5(0x18c)][_0x57a0f5(0x1e5)](_0x17bb1d[_0x57a0f5(0x198)]()[_0x57a0f5(0x240)]))){const _0x533de6=this[_0x57a0f5(0x181)](_0x17bb1d[_0x57a0f5(0x192)]);Array[_0x57a0f5(0x1c9)](this[_0x57a0f5(0x260)][_0x57a0f5(0x211)]())[_0x57a0f5(0x24d)](_0xce6603=>_0xce6603[_0x57a0f5(0x25c)]===_0x533de6[_0x57a0f5(0x25c)])[_0x57a0f5(0x252)](_0x952021=>_0x496830[_0x57a0f5(0x1e4)](_0x952021['id']));}}}if(_0x496830[_0x57a0f5(0x262)]){for(const _0x29f42c of _0x496830)_0x5d22c7[_0x57a0f5(0x17e)](_0x29f42c);return!0x0;}return!0x1;}[_0x52548d(0x234)](_0x45eb05){const _0x2f904b=_0x52548d;for(const {name:_0x20af64,data:_0x555a91}of _0x45eb05[_0x2f904b(0x20c)][_0x2f904b(0x1eb)][_0x2f904b(0x1a4)][_0x2f904b(0x1e2)]()){if(!_0x20af64[_0x2f904b(0x23b)](pe))continue;const _0x5a412f=_0x555a91[_0x2f904b(0x1f5)],_0xb8b5ea=_0x555a91[_0x2f904b(0x23c)],_0x3b884b=_0x5a412f&&_0x2f904b(0x22a)===_0x5a412f[_0x2f904b(0x250)][_0x2f904b(0x245)],_0x176d32=_0xb8b5ea&&_0x2f904b(0x22a)===_0xb8b5ea[_0x2f904b(0x250)][_0x2f904b(0x245)];if(_0x3b884b&&_0x176d32)continue;const _0x180c5e=this[_0x2f904b(0x181)](_0x20af64);this[_0x2f904b(0x260)][_0x2f904b(0x219)](_0x20af64)&&(_0x176d32||!_0xb8b5ea?this[_0x2f904b(0x1e3)][_0x2f904b(0x1c1)](_0x2f904b(0x1f0),{'markerId':_0x20af64,'changeId':_0x180c5e[_0x2f904b(0x25c)]}):_0x3b884b&&_0xb8b5ea&&this[_0x2f904b(0x1e3)][_0x2f904b(0x1c1)](_0x2f904b(0x25b),{'markerId':_0x20af64,'changeId':_0x180c5e[_0x2f904b(0x25c)]}));}}[_0x52548d(0x181)](_0x5b9684){const _0x260d2e=_0x52548d,_0x11a822=_0x5b9684[_0x260d2e(0x215)](':'),_0x4d077e=(_0x11a822[0x1]||'')[_0x260d2e(0x215)]('_');return{'prefix':_0x11a822[0x0],'groupId':_0x4d077e[0x0],'suffix':_0x4d077e[0x1]};}[_0x52548d(0x20d)](_0x59fd87,_0x5cae82,_0x344afa){const _0xfbc199=_0x52548d;if(_0xfbc199(0x254)===_0x59fd87[_0xfbc199(0x22e)]){const _0x535eac=_0x59fd87;return new _0x425577(this[_0xfbc199(0x1b3)](_0x5cae82[_0xfbc199(0x1fe)](_0x535eac[_0xfbc199(0x243)][_0xfbc199(0x17b)]),_0x344afa),_0x535eac[_0xfbc199(0x21f)],_0x535eac[_0xfbc199(0x1d0)]);}if(_0xfbc199(0x1a2)===_0x59fd87[_0xfbc199(0x22e)]&&_0x59fd87[_0xfbc199(0x192)][_0xfbc199(0x23b)](_0xfbc199(0x21e))){const _0x1dec39=_0x59fd87;return new _0x55dce9(_0x1dec39[_0xfbc199(0x192)],_0x1dec39[_0xfbc199(0x1f5)],this[_0xfbc199(0x21c)](_0x1dec39[_0xfbc199(0x23c)],_0x5cae82[_0xfbc199(0x1fe)](_0x1dec39[_0xfbc199(0x23c)][_0xfbc199(0x240)][_0xfbc199(0x17b)]),_0x5cae82[_0xfbc199(0x1fe)](_0x1dec39[_0xfbc199(0x23c)][_0xfbc199(0x18c)][_0xfbc199(0x17b)]),_0x344afa),_0x1dec39[_0xfbc199(0x260)],_0x1dec39[_0xfbc199(0x1af)],_0x1dec39[_0xfbc199(0x1d0)]);}return _0x59fd87;}[_0x52548d(0x221)](_0x49987b){const _0x11a85f=_0x52548d;if(!_0x49987b[_0x11a85f(0x1be)])return[];const _0x126356=[];let _0x41fc08=0x0,_0x12e3ae=0x0,_0x3508c4=[];for(let _0x1dba60=0x0;_0x1dba60<=_0x49987b[_0x11a85f(0x1be)];_0x1dba60++){const _0x43299b=_0x49987b[_0x1dba60],_0x1ab382=_0x49987b[_0x1dba60-0x1];!_0x43299b||_0x1ab382&&!this[_0x11a85f(0x236)](_0x1ab382)[_0x11a85f(0x1e5)](this[_0x11a85f(0x267)](_0x43299b))?(_0x126356[_0x11a85f(0x1e8)]({'operations':_0x3508c4,'operationsIsolated':_0x3508c4[_0x11a85f(0x253)](_0x2ea5f1=>this[_0x11a85f(0x208)](_0x2ea5f1[_0x11a85f(0x1d1)](),-_0x12e3ae)),'groupOffset':_0x41fc08}),_0x3508c4=_0x43299b?[_0x43299b]:[],_0x12e3ae+=_0x41fc08,_0x41fc08=0x0):_0x3508c4[_0x11a85f(0x1e8)](_0x43299b),_0x43299b&&_0x11a85f(0x254)===_0x43299b[_0x11a85f(0x22e)]&&(_0x41fc08+=_0x43299b[_0x11a85f(0x1cd)]);}return _0x126356;}[_0x52548d(0x1d5)](_0xb69dd2,_0x536836,_0x4c9386,_0x47a411=0x1){const _0x14e437=_0x52548d,_0x377224=new _0x90e179({'startPosition':_0xb69dd2,'direction':_0x536836});let _0x29773d=0x0;for(let _0x7fb8ba=0x0;_0x7fb8ba<_0x47a411;_0x7fb8ba++){let _0x4d0fa3=0x0,_0x317ac1=!0x1,_0x3a698c=_0x14e437(0x249)===_0x536836?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4970cc}of _0x377224)if(_0x4970cc['is'](_0x14e437(0x210))){const _0x860a9e=_0x3a698c[_0x14e437(0x197)](_0x4970cc[_0x14e437(0x1c5)]);if(_0x860a9e&&_0x860a9e[_0x14e437(0x1be)]){if(_0x4d0fa3+=_0x14e437(0x249)===_0x536836?_0x860a9e[_0x14e437(0x185)]+_0x860a9e[0x0][_0x14e437(0x1be)]:_0x4970cc[_0x14e437(0x1c5)][_0x14e437(0x1be)]-_0x860a9e[_0x14e437(0x185)],_0x860a9e[0x0][_0x14e437(0x1be)]!==_0x4970cc[_0x14e437(0x1c5)][_0x14e437(0x1be)])break;_0x317ac1=!0x0,_0x3a698c=_0x14e437(0x249)===_0x536836?/^\w+/:/\w+$/;}else{if(_0x317ac1)break;_0x4d0fa3+=_0x4970cc[_0x14e437(0x22b)];}}else{if(_0x4970cc['is'](_0x14e437(0x25e))){_0x4c9386[_0x14e437(0x268)](_0x4970cc)&&!_0x317ac1&&(_0x4d0fa3+=0x1);break;}}_0x29773d+=_0x4d0fa3,_0x377224[_0x14e437(0x204)](_0xb69dd2[_0x14e437(0x187)](_0x14e437(0x249)===_0x536836?_0x29773d:-_0x29773d));}return _0x29773d;}[_0x52548d(0x1bd)](_0x2cdc9f,_0x500fe7){const _0xa3616c=_0x52548d,_0x1abc4b=_0xdca771(this[_0xa3616c(0x1ec)])[_0xa3616c(0x20c)][_0xa3616c(0x1b4)],_0x315136=this[_0xa3616c(0x1d5)](_0x2cdc9f,_0xa3616c(0x201),_0x1abc4b,0x6),_0x54a83d=this[_0xa3616c(0x1d5)](_0x500fe7,_0xa3616c(0x249),_0x1abc4b,0x6),_0x164110=_0x2cdc9f[_0xa3616c(0x187)](-_0x315136),_0x35f25b=_0x500fe7[_0xa3616c(0x187)](_0x54a83d);return{'start':_0x164110,'end':_0x35f25b,'hasContentBefore':!_0x164110[_0xa3616c(0x1ad)],'hasContentAfter':!_0x35f25b[_0xa3616c(0x1a6)]};}[_0x52548d(0x255)](_0x41f3fc){const _0x3283f9=_0x52548d,_0x8648e1=this[_0x3283f9(0x1ec)][_0x3283f9(0x241)][_0x3283f9(0x219)](_0x3283f9(0x26a)),_0x574e8b=new Set();_0xdca771(this[_0x3283f9(0x1ec)])[_0x3283f9(0x20c)][_0x3283f9(0x191)](_0xab4c6e=>{const _0x166723=_0x3283f9;for(const _0x700282 of _0x41f3fc){const _0x4f1c21=''+pe+_0x700282[_0x166723(0x22e)]+':'+_0x700282[_0x166723(0x25c)]+'_'+_0x8648e1[_0x166723(0x1ff)](_0x574e8b);this[_0x166723(0x260)][_0x166723(0x195)](_0x4f1c21,{'id':_0x4f1c21,'groupId':_0x700282[_0x166723(0x25c)],'type':_0x700282[_0x166723(0x22e)],'text':_0x700282[_0x166723(0x18e)]}),_0xab4c6e[_0x166723(0x1df)](_0x4f1c21,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xab4c6e[_0x166723(0x1a9)](_0x700282[_0x166723(0x240)],_0x700282[_0x166723(0x18c)])});}});}[_0x52548d(0x17f)](_0x231fa6,_0x5ba1ef,_0x318b3b){let _0xf36b02='';return()=>{const _0x3f8bed=_0x20f1;if(!_0xf36b02){const _0x1ebaa5=_0x5ba1ef[_0x3f8bed(0x24f)](_0x231fa6,{'showSuggestionHighlights':!0x0});let _0x1cfabc=_0x1ebaa5[_0x3f8bed(0x269)](0x0);if(_0x1cfabc['is'](_0x3f8bed(0x1aa))||(_0x1cfabc=_0x1ebaa5),!_0x1cfabc)return'';let _0x44fbc0=!0x1;const _0xf0602b=[];for(const _0x6a89bc of _0x1cfabc[_0x3f8bed(0x1b2)]())_0x6a89bc['is'](_0x3f8bed(0x25e),_0x3f8bed(0x244))&&_0x6a89bc[_0x3f8bed(0x19b)](_0x3f8bed(0x21d))&&(_0x44fbc0=!0x1),_0x44fbc0&&_0xf0602b[_0x3f8bed(0x1e8)](_0x6a89bc),_0x6a89bc['is'](_0x3f8bed(0x25e),_0x3f8bed(0x244))&&_0x6a89bc[_0x3f8bed(0x19b)](_0x3f8bed(0x1f8))&&(_0x44fbc0=!0x0);_0x1cfabc[_0x3f8bed(0x188)](0x0,_0x1cfabc[_0x3f8bed(0x1a1)]),_0x318b3b?.[_0x3f8bed(0x1b6)]&&_0x1cfabc[_0x3f8bed(0x1e7)]('…'),_0x1cfabc[_0x3f8bed(0x1e7)](_0xf0602b),_0x318b3b?.[_0x3f8bed(0x24b)]&&_0x1cfabc[_0x3f8bed(0x1e7)]('…');const _0x4772b2=_0x5ba1ef[_0x3f8bed(0x259)][_0x3f8bed(0x1fb)][_0x3f8bed(0x228)](_0x1ebaa5),_0x257298=_0x5ba1ef[_0x3f8bed(0x259)][_0x3f8bed(0x1ce)][_0x3f8bed(0x18d)](_0x4772b2);_0xf36b02=_0x257298;}return _0xf36b02;};}[_0x52548d(0x230)](_0xc99694,_0x5d203b){const _0xbebeef=_0x52548d;let _0x2653b9='';return()=>(_0x2653b9||(_0x2653b9=_0x5d203b[_0xbebeef(0x1f1)](_0xc99694,{'showSuggestionHighlights':!0x0})),_0x2653b9);}[_0x52548d(0x17d)](_0x547ea3,_0x18eb58,_0x746bb9){let _0x39c36c='';return()=>{const _0x5b82ea=_0x20f1;if(!_0x39c36c){const _0x3e1514=_0x746bb9[_0x5b82ea(0x24f)](new _0x3b6da7(_0x547ea3)),_0x1f673a=_0x746bb9[_0x5b82ea(0x259)][_0x5b82ea(0x1fb)][_0x5b82ea(0x228)](_0x3e1514)[_0x5b82ea(0x1dd)](_0x5b82ea(0x223)+_0x18eb58+'\x22]');_0x39c36c=_0x1f673a?.[_0x5b82ea(0x23e)]||'';}return _0x39c36c;};}[_0x52548d(0x183)](_0x5c4d27,_0x1227e8=0x5){const _0x4fcb55=_0x52548d;let _0x362be7=_0x5c4d27,_0x90e365=null;for(let _0x44980f=0x0;_0x44980f<_0x1227e8&&_0x362be7;_0x44980f++){if(!_0x362be7[_0x4fcb55(0x1ab)]){_0x362be7=_0x362be7[_0x4fcb55(0x17c)];continue;}if(!(''+_0x362be7[_0x4fcb55(0x1ab)])[_0x4fcb55(0x1ba)](_0x4fcb55(0x1a5))){_0x362be7=_0x362be7[_0x4fcb55(0x17c)];continue;}if(!_0x362be7[_0x4fcb55(0x19d)](_0x4fcb55(0x199)))break;_0x90e365=_0x362be7;break;}return _0x90e365;}[_0x52548d(0x1a8)](_0x4bb5a0){const _0x4f9720=_0x52548d;return Array[_0x4f9720(0x1c9)](this[_0x4f9720(0x260)][_0x4f9720(0x211)]())[_0x4f9720(0x24d)](_0x2a3358=>_0x2a3358[_0x4f9720(0x25c)]===_0x4bb5a0);}[_0x52548d(0x267)](_0x14deb4){const _0x37ef08=_0x52548d;return _0x37ef08(0x254)===_0x14deb4[_0x37ef08(0x22e)]?_0x14deb4[_0x37ef08(0x243)]:_0x14deb4[_0x37ef08(0x23c)][_0x37ef08(0x240)];}[_0x52548d(0x236)](_0x2c8ee7,_0x14f958=!0x1){const _0x4798cc=_0x52548d;return _0x4798cc(0x254)===_0x2c8ee7[_0x4798cc(0x22e)]?_0x14f958?_0x2c8ee7[_0x4798cc(0x243)]:_0x2c8ee7[_0x4798cc(0x243)][_0x4798cc(0x187)](_0x2c8ee7[_0x4798cc(0x1cd)]):_0x2c8ee7[_0x4798cc(0x23c)][_0x4798cc(0x18c)];}[_0x52548d(0x208)](_0x55ca48,_0x56b2fa){const _0x5a22fb=_0x52548d;return _0x5a22fb(0x254)===_0x55ca48[_0x5a22fb(0x22e)]?_0x55ca48[_0x5a22fb(0x243)]=_0x55ca48[_0x5a22fb(0x243)][_0x5a22fb(0x187)](_0x56b2fa):_0x5a22fb(0x1a2)===_0x55ca48[_0x5a22fb(0x22e)]&&_0x55ca48[_0x5a22fb(0x23c)]&&(_0x55ca48[_0x5a22fb(0x23c)]=new _0x47bce5(_0x55ca48[_0x5a22fb(0x23c)][_0x5a22fb(0x240)][_0x5a22fb(0x187)](_0x56b2fa),_0x55ca48[_0x5a22fb(0x23c)][_0x5a22fb(0x18c)][_0x5a22fb(0x187)](_0x56b2fa))),_0x55ca48;}[_0x52548d(0x1d8)](_0x2c5aa8,_0x84bceb){const _0x3ebba2=_0x52548d;_0x3ebba2(0x254)===_0x2c5aa8[_0x3ebba2(0x22e)]?_0x2c5aa8[_0x3ebba2(0x243)]=this[_0x3ebba2(0x20b)](_0x2c5aa8[_0x3ebba2(0x243)],_0x84bceb):_0x3ebba2(0x1a2)===_0x2c5aa8[_0x3ebba2(0x22e)]&&_0x2c5aa8[_0x3ebba2(0x23c)]&&(_0x2c5aa8[_0x3ebba2(0x23c)]=this[_0x3ebba2(0x20e)](_0x2c5aa8[_0x3ebba2(0x23c)],_0x84bceb));}[_0x52548d(0x20b)](_0x510cd7,_0x440253){const _0x7ad9df=_0x52548d;return new _0x21df25(_0x440253,_0x510cd7[_0x7ad9df(0x1f7)]);}[_0x52548d(0x20e)](_0x5332fe,_0x3b5675){const _0x43f36b=_0x52548d;return new _0x47bce5(this[_0x43f36b(0x20b)](_0x5332fe[_0x43f36b(0x240)],_0x3b5675),this[_0x43f36b(0x20b)](_0x5332fe[_0x43f36b(0x18c)],_0x3b5675));}[_0x52548d(0x1b3)](_0x346021,_0x277a9c){return new _0x21df25(_0x277a9c,[..._0x346021]);}[_0x52548d(0x21c)](_0x123276,_0x25f935,_0x45ebd2,_0x256f87){const _0x339011=_0x52548d;return new _0x47bce5(this[_0x339011(0x1b3)](_0x25f935,_0x256f87),this[_0x339011(0x1b3)](_0x45ebd2,_0x256f87));}[_0x52548d(0x233)](_0x2fdd26){const _0x2f78c4=_0x52548d,_0x5ed281=_0x50491c=>{const _0xd28d58=_0x20f1;switch(_0x50491c){case _0xd28d58(0x254):return 0x1;case _0xd28d58(0x19a):return 0x2;case _0xd28d58(0x180):return 0x3;case _0xd28d58(0x1bc):return 0x4;}};return _0x2fdd26[_0x2f78c4(0x1d6)]((_0x1ec957,_0x26346a)=>_0x5ed281(_0x1ec957[_0x2f78c4(0x22e)])-_0x5ed281(_0x26346a[_0x2f78c4(0x22e)]));}[_0x52548d(0x200)](_0x231029,_0x513af0){const _0x20ede8=_0x52548d,_0x44cc59=_0x231029[_0x20ede8(0x269)](0x0),_0x2274c7=_0x513af0[_0x20ede8(0x269)](0x0);return!(!_0x44cc59||!_0x2274c7)&&((!_0x44cc59['is'](_0x20ede8(0x25e))||!_0x2274c7['is'](_0x20ede8(0x25e))||_0x44cc59[_0x20ede8(0x192)]===_0x2274c7[_0x20ede8(0x192)])&&!(_0x44cc59['is'](_0x20ede8(0x25e))&&!_0x2274c7['is'](_0x20ede8(0x25e))||!_0x44cc59['is'](_0x20ede8(0x25e))&&_0x2274c7['is'](_0x20ede8(0x25e))));}[_0x52548d(0x1b5)](_0x2be498){const _0x2015c2=_0x52548d;return 0x1===_0x2be498[_0x2015c2(0x1a1)];}[_0x52548d(0x247)](_0x52d8c4,_0xc34da9){const _0x598868=_0x52548d;for(const _0x3a5fb4 of _0x52d8c4[_0x598868(0x1b2)]())if(_0x3a5fb4['is'](_0x598868(0x25e))&&!_0xc34da9[_0x598868(0x268)](_0x3a5fb4))return!0x1;return!0x0;}[_0x52548d(0x26b)](_0x13b567,_0x252044){const _0xddd108=_0x52548d;let _0x2d3157=_0x13b567[_0xddd108(0x19d)](_0x50ebc7);return _0x2d3157||(_0x2d3157=_0x252044(),_0x13b567[_0xddd108(0x1f6)](_0x50ebc7,_0x2d3157)),_0x2d3157;}}
|
|
23
|
+
function _0x452b(){const _0x1a457d=['forward','values','data','hasContentBefore','createDocumentFragment','groupId','text','isDocumentOperation','2167410uHSuLM','context','ck-ai_review-mode-marker_strikethrough','getOperations','isAtEnd','isAtStart','isIntersecting','ck-ai_review-mode-marker_add','_translateOperationToEditorContent','ck-ai_review-mode-marker_context-','_shiftOperation','plugins','AIReviewModeEditing','getMarkerElementForChange','hasClass','isOpening','createText','ck-ai_review-mode-marker_','markers','_createGetContentUsingDataIdFn','containsRange','getChild','29907KlUoPw','isInline','markerToHighlight','switchToEdit','_removeAttribute','root','ellipsisAfter','data-marker-id','getRoot','changeMarkerBlurred','editing','operationsIsolated','attributeToAttribute','newRange','has','remove-context','exec','_getChangeContext','_domEmitter','addOperation','ellipsisBefore','deleteContent','createRange','change','howMany','index','AIEditing','nodes','_changeRangeOwnerDocument','getHtml','527130NztpFO','ck-ai_review-mode-marker_underline','domConverter','keys','_createGetContextFn','offset','marker','85586AahYWf','parent','disableReadOnlyMode','$textProxy','_changePosition','removeMarker','suggestion:insertion:id:authorId:','_changePositionOwnerDocument','_getOperationEnd','DocumentCompare','listenTo','diffContent','_markers','pop','getPath','processor','requires','map','getChanges','flat','$documentFragment','hasAttribute','_appendChild','length','click','$graveyard','operationsA','getChildren','afterInit','_sortMarkers','target','createRawElement','view','getRoots','toView','model:$text','getDocumentData','name','No\x20element\x20found\x20for\x20ID:\x20','end','history','conversion','12842529WGpIoX','addMarker','_eventEmitter','parentElement','rejectChange','_nextDataId','applyChange','documentFragment','elements','includes','_haveOnlyInlineContent','version','jumpTo','clone','for','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','markerName','schema','_insertMarkers','_findAdjacentContextDistance','ck-ai_review-mode-marker_context-end','sort','path','outerHTML','registerPostFixer','set','fire','differ','viewToDom','createPositionAt','oldRange','_changeRange','startsWith','_groupAdjacentOperations','document','_hasSameTopLevelElement','reviewmode-','closest','rootName','htmlProcessor','className','_setAttribute','4168lGuYgf','clearAllMarkers','_parseMarkerName','insertContent','getEditor','clear','_validateMarkers','applyOperation','createPositionAfter','concat','changeMarkerHovered','backward','insert','querySelector','position','baseVersion','delete','556MXIKPS','changeMarkerClick','createSelection','getDiff','27302640qDDgfO','dataDowncast','containerElement','downcast','relatedTarget','isOfficialPlugin','innerHTML','changeMarkerRemoved','batch','_handleMarkerChanges','every','editingDowncast','ck-ai_review-mode-marker_context-start','ck-ai_review-mode-marker_hide','isPremiumPlugin','mouseover','htmlWriter','suggestion-context','childCount','getStart','start','getDomRoot','affectsData','forEach','isTouching','span','size','changeMarkerRestored','_upsertDataId','$markedRemove','markChangePositionInEditorContent','pluginName','markerToElement','_createGetContentFn','_getOperationStart','type','get','suggestion:deletion:id:authorId:','_clone','remove-only','from','toDomElement','switchToReadOnly','filter','21813LROUmx','[data-id=\x22','ai-review-mode','createUIElement','emitter','_removeChildren','append','model','_haveSingleTopLevelElement','offsetSize','push','parse','toData','getRange','getChangedMarkers','_findMarkerElement','8SLPfOH','stringify','hasContentAfter','split','remove','enableReadOnlyMode','add','remove-text','getAttribute','_changeOperationOwnerDocument','getShiftedBy','_getMarkersDataForGroup','warn','element','[data-marker-id=\x22'];_0x452b=function(){return _0x1a457d;};return _0x452b();}const _0x5aad34=_0x4741;(function(_0x4c92cb,_0x3c5978){const _0x4d4445=_0x4741,_0x5521b5=_0x4c92cb();while(!![]){try{const _0x5cdeb4=parseInt(_0x4d4445(0xc8))/0x1*(parseInt(_0x4d4445(0x76))/0x2)+-parseInt(_0x4d4445(0x15d))/0x3*(-parseInt(_0x4d4445(0x12d))/0x4)+parseInt(_0x4d4445(0xc1))/0x5+parseInt(_0x4d4445(0x8d))/0x6+-parseInt(_0x4d4445(0xf2))/0x7+-parseInt(_0x4d4445(0x11c))/0x8*(parseInt(_0x4d4445(0xa3))/0x9)+parseInt(_0x4d4445(0x131))/0xa;if(_0x5cdeb4===_0x3c5978)break;else _0x5521b5['push'](_0x5521b5['shift']());}catch(_0x318482){_0x5521b5['push'](_0x5521b5['shift']());}}}(_0x452b,0xf03c8));import{InsertOperation as _0x7508a2,MarkerOperation as _0x1e69a9,ModelDocumentFragment as _0x1a5af9,ModelPosition as _0x583d95,ModelRange as _0x3e2053,ModelTreeWalker as _0x4c6186,transformOperationSets as _0x3ff2fb}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x4d530f,EmitterMixin as _0x3bfdd6}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x22ee35}from'ckeditor5/src/core.js';import{DocumentCompare as _0xb40331,DATA_ID_MODEL_ATTRIBUTE as _0x5c30e3,DATA_ID_VIEW_ATTRIBUTE as _0x19ec9a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4741(_0xbed615,_0x2fcd65){const _0x452b4d=_0x452b();return _0x4741=function(_0x4741ff,_0x14ef23){_0x4741ff=_0x4741ff-0x6a;let _0x58dd03=_0x452b4d[_0x4741ff];return _0x58dd03;},_0x4741(_0xbed615,_0x2fcd65);}import{getEditorFromContext as _0x19e661}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xce180}from'../aicore/aiediting.js';import{debounce as _0x4b925b}from'es-toolkit/compat';const pe=_0x5aad34(0x116);export class AIReviewModeEditing extends _0x22ee35{static get[_0x5aad34(0x150)](){const _0x1a07a9=_0x5aad34;return _0x1a07a9(0x99);}static get[_0x5aad34(0xd8)](){return[_0xb40331,_0xce180];}static get[_0x5aad34(0x136)](){return!0x0;}static get[_0x5aad34(0x13f)](){return!0x0;}[_0x5aad34(0xd4)]=new Map();[_0x5aad34(0xb5)];[_0x5aad34(0xf4)];constructor(_0x8fab55){const _0x72a7aa=_0x5aad34;super(_0x8fab55),this[_0x72a7aa(0xb5)]=new(_0x4d530f())(),this[_0x72a7aa(0xf4)]=new(_0x3bfdd6())();}get[_0x5aad34(0x6a)](){const _0xd5e1a5=_0x5aad34;return this[_0xd5e1a5(0xf4)];}[_0x5aad34(0xe4)](){const _0x179bb0=_0x5aad34,_0x1caa91=_0x19e661(this[_0x179bb0(0x8e)]);_0x1caa91[_0x179bb0(0xf1)][_0x179bb0(0x100)](_0x179bb0(0x13c))[_0x179bb0(0x151)]({'model':pe+_0x179bb0(0x128),'view':(_0x326171,{writer:_0x2e9ce5})=>{const _0x40b3cf=_0x179bb0,_0xadd63d=this[_0x40b3cf(0xd4)][_0x40b3cf(0x155)](_0x326171[_0x40b3cf(0x102)]),_0x4f1e30={'class':_0x40b3cf(0x94),'data-marker-id':_0x326171[_0x40b3cf(0x102)]};return _0x2e9ce5[_0x40b3cf(0x160)](_0x40b3cf(0x14a),_0x4f1e30,function(_0x3d6f08){const _0x4f54de=_0x40b3cf,_0x50de1f=this[_0x4f54de(0x15a)](_0x3d6f08);return _0x50de1f[_0x4f54de(0x137)]=_0xadd63d?.[_0x4f54de(0x8b)]||'',_0x50de1f;});}}),_0x1caa91[_0x179bb0(0xf1)][_0x179bb0(0x100)](_0x179bb0(0x13c))[_0x179bb0(0xa5)]({'model':pe+_0x179bb0(0x158),'view':_0x221fbe=>({'classes':_0x179bb0(0x8f),'attributes':{'data-marker-id':_0x221fbe[_0x179bb0(0x102)]}})}),_0x1caa91[_0x179bb0(0xf1)][_0x179bb0(0x100)](_0x179bb0(0x13c))[_0x179bb0(0xa5)]({'model':pe+_0x179bb0(0xb2),'view':_0x20df12=>({'classes':_0x179bb0(0xc2),'attributes':{'data-marker-id':_0x20df12[_0x179bb0(0x102)]}})}),_0x1caa91[_0x179bb0(0xf1)][_0x179bb0(0x100)](_0x179bb0(0x13c))[_0x179bb0(0xa5)]({'model':pe+_0x179bb0(0x7d),'view':_0x58d568=>({'classes':_0x179bb0(0x13e),'attributes':{'data-marker-id':_0x58d568[_0x179bb0(0x102)]}})}),_0x1caa91[_0x179bb0(0xf1)][_0x179bb0(0x100)](_0x179bb0(0x132))[_0x179bb0(0x151)]({'model':pe+_0x179bb0(0x142),'view':(_0x3161e2,{writer:_0x4d7dfe})=>_0x4d7dfe[_0x179bb0(0xe7)](_0x179bb0(0x14a),{'class':_0x179bb0(0x96)+(_0x3161e2[_0x179bb0(0x9c)]?_0x179bb0(0x145):_0x179bb0(0xef))})}),_0x1caa91[_0x179bb0(0xf1)][_0x179bb0(0x100)](_0x179bb0(0x134))[_0x179bb0(0xaf)]({'model':_0x5c30e3,'view':_0x19ec9a}),this[_0x179bb0(0xb5)][_0x179bb0(0xd2)](document,_0x179bb0(0xe0),(_0x4489ca,_0x1b96eb)=>{const _0x5f21c4=_0x179bb0,_0x5f5868=_0x1b96eb[_0x5f21c4(0xe6)],_0x1e208f=this[_0x5f21c4(0x75)](_0x5f5868);if(!_0x1e208f)return;const _0x2982a8=_0x1e208f[_0x5f21c4(0x7e)](_0x5f21c4(0xaa)),_0x3f064b=_0x2982a8[_0x5f21c4(0x79)](':')[_0x5f21c4(0xd5)]()?.[_0x5f21c4(0x79)]('_')[0x0];this[_0x5f21c4(0xf4)][_0x5f21c4(0x10c)](_0x5f21c4(0x12e),{'markerId':_0x2982a8,'changeId':_0x3f064b,'markerElement':_0x1e208f,'domEvent':_0x1b96eb});}),this[_0x179bb0(0xb5)][_0x179bb0(0xd2)](document,_0x179bb0(0x140),(_0x235395,_0x11a9ec)=>{const _0x54f4ca=_0x179bb0,_0x132f6d=_0x11a9ec[_0x54f4ca(0xe6)],_0x1f4181=_0x11a9ec[_0x54f4ca(0x135)];let _0x428c91=this[_0x54f4ca(0x75)](_0x132f6d);if(!_0x428c91&&_0x1f4181&&(_0x428c91=this[_0x54f4ca(0x75)](_0x1f4181)),!_0x428c91)return;const _0x586a53=_0x428c91[_0x54f4ca(0x7e)](_0x54f4ca(0xaa)),_0x116b26=_0x586a53[_0x54f4ca(0x79)](':')[_0x54f4ca(0xd5)]()?.[_0x54f4ca(0x79)]('_')[0x0];this[_0x54f4ca(0xf4)][_0x54f4ca(0x10c)](_0x54f4ca(0x126),{'changeId':_0x116b26,'markerElement':_0x428c91,'domEvent':_0x11a9ec});}),this[_0x179bb0(0xb5)][_0x179bb0(0xd2)](document,_0x179bb0(0x140),_0x4b925b((_0x51a469,_0x1bf275)=>{const _0x426f74=_0x179bb0,_0x1636da=_0x1bf275[_0x426f74(0xe6)];if(this[_0x426f74(0x75)](_0x1636da))return;_0x1636da[_0x426f74(0x117)](_0x426f74(0x101))||this[_0x426f74(0xf4)][_0x426f74(0x10c)](_0x426f74(0xac));},0xc8)),_0x1caa91[_0x179bb0(0x6d)][_0x179bb0(0x114)][_0x179bb0(0x10a)](_0x35b62c=>this[_0x179bb0(0x122)](_0x1caa91,_0x35b62c)),_0x1caa91[_0x179bb0(0x6d)][_0x179bb0(0x114)]['on'](_0x179bb0(0xba),()=>this[_0x179bb0(0x13a)](_0x1caa91));}[_0x5aad34(0xec)](){const _0x43adeb=_0x5aad34,_0x5d67fa=this[_0x43adeb(0x8e)][_0x43adeb(0x98)][_0x43adeb(0x155)](_0x43adeb(0xbd)),_0x1ff6ae=_0x19e661(this[_0x43adeb(0x8e)]),_0xc13877=_0x1ff6ae[_0x43adeb(0x6d)],_0x3842f7=new _0x1a5af9();for(const _0x1c807c of _0xc13877[_0x43adeb(0x114)][_0x43adeb(0xab)]()[_0x43adeb(0xe3)]()){const _0x1ba114=_0x1c807c[_0x43adeb(0x157)](!0x0);_0x3842f7[_0x43adeb(0xde)](_0x1ba114);}for(const _0x4c5a11 of _0xc13877[_0x43adeb(0x9f)])_0x3842f7[_0x43adeb(0x9f)][_0x43adeb(0x10b)](_0x4c5a11[_0x43adeb(0xed)],this[_0x43adeb(0xbf)](_0x4c5a11[_0x43adeb(0x73)]()[_0x43adeb(0xff)](),_0x3842f7));const _0xc527fa=new _0x4c6186({'ignoreElementEnd':!0x0,'startPosition':_0xc13877[_0x43adeb(0x10f)](_0x3842f7,0x0)}),_0x1a52a1=new Set(),_0x3e2e6d=new Map();for(const {item:_0x592857}of _0xc527fa){if(!_0x592857['is'](_0x43adeb(0xcb)))continue;const _0x1ba9c1=_0x592857[_0x43adeb(0xc9)];if(_0x1ba9c1&&_0x1ba9c1['is'](_0x43adeb(0x83))){const _0x280e67=this[_0x43adeb(0x14d)](_0x1ba9c1,()=>_0x5d67fa[_0x43adeb(0xf7)](_0x1a52a1));_0x1a52a1[_0x43adeb(0x7c)](_0x280e67);for(const _0x4895c0 of _0x1ba9c1[_0x43adeb(0xe3)]())_0x4895c0['is'](_0x43adeb(0x83))&&_0x1a52a1[_0x43adeb(0x7c)](this[_0x43adeb(0x14d)](_0x4895c0,()=>_0x5d67fa[_0x43adeb(0xf7)](_0x1a52a1)));let _0x2a48e5=_0x1ba9c1;for(;_0x2a48e5[_0x43adeb(0xc9)]&&!_0x2a48e5[_0x43adeb(0xc9)]['is'](_0x43adeb(0xf9));)_0x2a48e5=_0x2a48e5[_0x43adeb(0xc9)],_0x2a48e5[_0x43adeb(0xdd)](_0x5c30e3)&&_0x2a48e5[_0x43adeb(0xa7)](_0x5c30e3);_0x3e2e6d[_0x43adeb(0x10b)](_0x280e67,{'path':_0x1ba9c1[_0x43adeb(0xd6)](),'getContent':this[_0x43adeb(0xa0)](_0x2a48e5[_0x43adeb(0x157)](!0x0),_0x280e67,_0x1ff6ae[_0x43adeb(0x87)])}),_0xc527fa[_0x43adeb(0xfe)](_0xc13877[_0x43adeb(0x124)](_0x1ba9c1));}}return{'content':_0x1ff6ae[_0x43adeb(0x87)][_0x43adeb(0xd7)][_0x43adeb(0x72)](_0x1ff6ae[_0x43adeb(0x87)][_0x43adeb(0xea)](_0x3842f7)),'version':_0x1ff6ae[_0x43adeb(0x6d)][_0x43adeb(0x114)][_0x43adeb(0xfd)],'elements':_0x3e2e6d};}[_0x5aad34(0xd3)](_0x53b1ed,_0x24715f){const _0xc7352d=_0x5aad34,_0x3490df=[],_0x596016=_0x19e661(this[_0xc7352d(0x8e)]),_0x5ac12c=_0x596016[_0xc7352d(0x87)][_0xc7352d(0x71)](_0x24715f,_0xc7352d(0xdc)),_0x3502af=_0x596016[_0xc7352d(0x87)][_0xc7352d(0x71)](_0x53b1ed,_0xc7352d(0xdc)),_0x1fd7c6=_0x596016[_0xc7352d(0x6d)][_0xc7352d(0x10f)](_0x3502af,0x0);if(this[_0xc7352d(0x6e)](_0x5ac12c)){if(!this[_0xc7352d(0x115)](_0x3502af,_0x5ac12c))return _0x3490df;}else{const _0x496742=_0x596016[_0xc7352d(0x6d)][_0xc7352d(0x103)];if(!this[_0xc7352d(0xfc)](_0x3502af,_0x496742)||!this[_0xc7352d(0xfc)](_0x5ac12c,_0x496742))return _0x3490df;}const _0x41d42d=this[_0xc7352d(0x8e)][_0xc7352d(0x98)][_0xc7352d(0x155)](_0xc7352d(0xd1))[_0xc7352d(0x130)](_0x53b1ed,_0x24715f,{'anchor':_0x1fd7c6,'markDeletions':!0x0})[_0xc7352d(0x90)]()[_0xc7352d(0x15c)](_0x4f285c=>_0xc7352d(0x128)===_0x4f285c[_0xc7352d(0x154)]||_0xc7352d(0xc7)===_0x4f285c[_0xc7352d(0x154)]&&_0x4f285c[_0xc7352d(0xed)][_0xc7352d(0x112)](_0xc7352d(0x14e))),_0x853ef8=this[_0xc7352d(0x113)](_0x41d42d);let _0x1625f6=0x0;return _0x596016[_0xc7352d(0x6d)][_0xc7352d(0xba)](_0x31e7f0=>{const _0x3de280=_0xc7352d;for(let _0x71ed76=0x0;_0x71ed76<_0x853ef8[_0x3de280(0xdf)];_0x71ed76++){const _0x4d80e6=_0x853ef8[_0x71ed76],_0xcb03aa=_0x31e7f0[_0x3de280(0x89)]();for(const _0x514a24 of _0x3502af[_0x3de280(0xe3)]())_0x31e7f0[_0x3de280(0x6c)](_0x514a24[_0x3de280(0x157)](!0x0),_0xcb03aa);for(const _0x593059 of _0x4d80e6[_0x3de280(0xae)])if(_0x3de280(0x128)===_0x593059[_0x3de280(0x154)]){const _0x2bbf27=_0x593059;_0x2bbf27[_0x3de280(0x12b)]=null,_0x2bbf27[_0x3de280(0x8c)]=!0x1,this[_0x3de280(0x7f)](_0x2bbf27,_0xcb03aa),_0x31e7f0[_0x3de280(0x139)][_0x3de280(0xb6)](_0x593059),_0x596016[_0x3de280(0x6d)][_0x3de280(0x123)](_0x593059);const _0x4b9b3c=_0x3de280(0xce)+_0x1625f6++,_0x4007e1=_0x596016[_0x3de280(0x6d)][_0x3de280(0xb9)](_0x2bbf27[_0x3de280(0x12a)],_0x2bbf27[_0x3de280(0x12a)][_0x3de280(0x80)](_0x2bbf27[_0x3de280(0xbb)]));_0xcb03aa[_0x3de280(0x9f)][_0x3de280(0x10b)](_0x4b9b3c,_0x4007e1);}else{if(_0x3de280(0xc7)===_0x593059[_0x3de280(0x154)]&&_0x593059[_0x3de280(0xed)][_0x3de280(0x112)](_0x3de280(0x14e))){const _0x198aba=_0x593059,_0x385e76=_0x3de280(0x156)+_0x1625f6++;this[_0x3de280(0x7f)](_0x198aba,_0xcb03aa),_0xcb03aa[_0x3de280(0x9f)][_0x3de280(0x10b)](_0x385e76,_0x198aba[_0x3de280(0xb0)]);}}const _0x10f51c=this[_0x3de280(0xb4)](this[_0x3de280(0xcf)](this[_0x3de280(0x153)](_0x4d80e6[_0x3de280(0xae)][0x0]),_0xcb03aa),this[_0x3de280(0xcf)](this[_0x3de280(0xd0)](_0x4d80e6[_0x3de280(0xae)][_0x4d80e6[_0x3de280(0xae)][_0x3de280(0xdf)]-0x1]),_0xcb03aa));_0xcb03aa[_0x3de280(0x9f)][_0x3de280(0x10b)](pe+_0x3de280(0x142),new _0x3e2053(_0x10f51c[_0x3de280(0x145)],_0x10f51c[_0x3de280(0xef)])),_0x3490df[_0x3de280(0x70)]({..._0x4d80e6,'context':this[_0x3de280(0xc5)](_0xcb03aa,_0x596016[_0x3de280(0x87)],{'ellipsisBefore':_0x10f51c[_0x3de280(0x88)],'ellipsisAfter':_0x10f51c[_0x3de280(0x78)]}),'content':this[_0x3de280(0x152)](_0xcb03aa,_0x596016[_0x3de280(0x87)])});}}),_0x3490df;}[_0x5aad34(0x14f)](_0xf32d58,_0x46db2b){const _0x56779e=_0x5aad34;if(!_0xf32d58[_0x56779e(0xdf)])return;const _0x4f6118=_0xf32d58[0x0][_0x56779e(0xc9)]['id'],_0x250194=_0x46db2b[_0x56779e(0xfa)][_0x56779e(0x155)](_0x4f6118);if(!_0x250194)return void console[_0x56779e(0x82)](_0x56779e(0xee)+_0x4f6118);const _0x1a84b9=_0x250194[_0x56779e(0x108)],_0x4ea732=_0x19e661(this[_0x56779e(0x8e)]),_0x493a41=_0x4ea732[_0x56779e(0x6d)][_0x56779e(0x114)][_0x56779e(0xf0)][_0x56779e(0x90)](_0x46db2b[_0x56779e(0xfd)]),_0x390757=[];for(const _0x3f2166 of _0xf32d58){const _0x33ed1b=_0x3f2166[_0x56779e(0xae)][_0x56779e(0xd9)](_0x403263=>this[_0x56779e(0x95)](_0x403263,_0x1a84b9,_0x4ea732[_0x56779e(0x6d)][_0x56779e(0x114)][_0x56779e(0xe9)]()[0x0]));if(!_0x33ed1b||!_0x33ed1b[_0x56779e(0xdf)])continue;const _0x1cebb8=_0x33ed1b[_0x56779e(0x13b)](_0x476465=>_0x56779e(0xc7)===_0x476465[_0x56779e(0x154)]&&_0x476465[_0x56779e(0xed)][_0x56779e(0x112)](_0x56779e(0x14e))),_0x28b35d={'document':_0x4ea732[_0x56779e(0x6d)][_0x56779e(0x114)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x93a0ed=_0x3ff2fb(_0x33ed1b,_0x493a41,_0x28b35d)[_0x56779e(0xe2)];for(const _0x331aff of _0x93a0ed)if(_0x56779e(0x128)===_0x331aff[_0x56779e(0x154)]){const _0xd3877c=_0x331aff,_0x1e5512=_0xd3877c[_0x56779e(0xbe)];let _0x2e450a='';for(const _0x4dd6ef of _0x1e5512)_0x4dd6ef&&_0x4dd6ef['is'](_0x56779e(0xeb))&&(_0x2e450a+=_0x4dd6ef[_0x56779e(0x87)]);_0x390757[_0x56779e(0x70)]({'start':_0xd3877c[_0x56779e(0x12a)],'end':_0xd3877c[_0x56779e(0x12a)],'type':_0x56779e(0x128),'groupId':_0x3f2166['id'],'text':_0x2e450a});}else{if(_0x56779e(0xc7)===_0x331aff[_0x56779e(0x154)]&&_0x331aff[_0x56779e(0xed)][_0x56779e(0x112)](_0x56779e(0x14e))){const _0xf2ca68=_0x331aff;let _0x7c5294=_0x56779e(0x7d);if(_0x1cebb8){const _0x1f727e=this[_0x56779e(0x105)](_0xf2ca68[_0x56779e(0xb0)][_0x56779e(0x145)],_0x56779e(0x127),_0x4ea732[_0x56779e(0x6d)][_0x56779e(0x103)]),_0x2a3c9a=this[_0x56779e(0x105)](_0xf2ca68[_0x56779e(0xb0)][_0x56779e(0xef)],_0x56779e(0x85),_0x4ea732[_0x56779e(0x6d)][_0x56779e(0x103)]);if(_0x1f727e||_0x2a3c9a){const _0x38d680=_0xf2ca68[_0x56779e(0xb0)][_0x56779e(0x145)][_0x56779e(0x80)](-_0x1f727e),_0x7b1b0c=_0xf2ca68[_0x56779e(0xb0)][_0x56779e(0xef)][_0x56779e(0x80)](_0x2a3c9a);_0x390757[_0x56779e(0x70)]({'start':_0x38d680,'end':_0x7b1b0c,'groupId':_0x3f2166['id'],'type':_0x56779e(0xb2)});}else _0x7c5294=_0x56779e(0x158);}_0x390757[_0x56779e(0x70)]({'start':_0xf2ca68[_0x56779e(0xb0)][_0x56779e(0x145)],'end':_0xf2ca68[_0x56779e(0xb0)][_0x56779e(0xef)],'groupId':_0x3f2166['id'],'type':_0x7c5294});}}}this[_0x56779e(0x104)](_0x390757);}[_0x5aad34(0x11d)](){const _0x432902=_0x5aad34,_0x1372c6=_0x19e661(this[_0x432902(0x8e)]);_0x1372c6[_0x432902(0x6d)][_0x432902(0xba)](_0xe429b2=>{const _0x357d10=_0x432902;for(const _0x56c8f5 of this[_0x357d10(0xd4)][_0x357d10(0xc4)]())_0x1372c6[_0x357d10(0x6d)][_0x357d10(0x9f)][_0x357d10(0x155)](_0x56c8f5)&&_0xe429b2[_0x357d10(0xcd)](_0x56c8f5);}),this[_0x432902(0xd4)][_0x432902(0x121)]();}[_0x5aad34(0x15b)](){const _0x535a50=_0x5aad34;_0x19e661(this[_0x535a50(0x8e)])[_0x535a50(0x7b)](_0x535a50(0x15f));}[_0x5aad34(0xa6)](){const _0x4f74e6=_0x5aad34;_0x19e661(this[_0x4f74e6(0x8e)])[_0x4f74e6(0xca)](_0x4f74e6(0x15f));}[_0x5aad34(0xf8)](_0x1c4d47){const _0x3188bd=_0x5aad34,_0x4ae360=_0x19e661(this[_0x3188bd(0x8e)]),_0x5f18fd=_0x4ae360[_0x3188bd(0x6d)],_0x1233ca=_0x1c4d47[_0x3188bd(0xd9)](_0x260fe5=>this[_0x3188bd(0x81)](_0x260fe5))[_0x3188bd(0xdb)]();_0x5f18fd[_0x3188bd(0xba)](_0x1634be=>{const _0x2e4526=_0x3188bd;for(const _0xaadae8 of _0x1233ca){const _0x245bcf=_0x4ae360[_0x2e4526(0x6d)][_0x2e4526(0x9f)][_0x2e4526(0x155)](_0xaadae8['id']);_0x245bcf&&(_0x2e4526(0x128)===_0xaadae8[_0x2e4526(0x154)]?_0x5f18fd[_0x2e4526(0x11f)](_0x1634be[_0x2e4526(0x9d)](_0xaadae8[_0x2e4526(0x8b)]||''),_0x245bcf[_0x2e4526(0x73)]()[_0x2e4526(0x145)]):_0x2e4526(0x7d)!==_0xaadae8[_0x2e4526(0x154)]&&_0x2e4526(0x158)!==_0xaadae8[_0x2e4526(0x154)]||_0x5f18fd[_0x2e4526(0xb8)](_0x5f18fd[_0x2e4526(0x12f)](_0x245bcf[_0x2e4526(0x73)]())),_0x1634be[_0x2e4526(0xcd)](_0xaadae8['id']),this[_0x2e4526(0xd4)][_0x2e4526(0x12c)](_0xaadae8['id']));}});}[_0x5aad34(0xf6)](_0x367253){const _0x31e03f=_0x5aad34,_0x153791=_0x19e661(this[_0x31e03f(0x8e)]),_0x39c13b=this[_0x31e03f(0x81)](_0x367253);_0x153791[_0x31e03f(0x6d)][_0x31e03f(0xba)](_0x3774f3=>{const _0x4bd89c=_0x31e03f;for(const _0x42de23 of _0x39c13b)_0x3774f3[_0x4bd89c(0xcd)](_0x42de23['id']),this[_0x4bd89c(0xd4)][_0x4bd89c(0x12c)](_0x42de23['id']);});}[_0x5aad34(0x120)](){const _0xc0db04=_0x5aad34;return _0x19e661(this[_0xc0db04(0x8e)]);}[_0x5aad34(0x9a)](_0x3f4595){const _0x2ff713=_0x5aad34,_0x27e2f9=Array[_0x2ff713(0x159)](this[_0x2ff713(0xd4)][_0x2ff713(0x86)]())[_0x2ff713(0x15c)](_0xd9a1cd=>_0xd9a1cd[_0x2ff713(0x8a)]===_0x3f4595);if(!_0x27e2f9[_0x2ff713(0xdf)])return null;const _0x354e27=0x1===_0x27e2f9[_0x2ff713(0xdf)]?_0x27e2f9[0x0]:this[_0x2ff713(0xe5)](_0x27e2f9)[0x0],_0x20a861=_0x19e661(this[_0x2ff713(0x8e)]),_0x56a80a=_0x20a861[_0x2ff713(0x6d)][_0x2ff713(0x9f)][_0x2ff713(0x155)](_0x354e27['id']);if(!_0x56a80a)return null;const _0x576297=_0x56a80a[_0x2ff713(0x73)](),_0x3d6d4e=_0x20a861[_0x2ff713(0xad)][_0x2ff713(0xe8)][_0x2ff713(0x146)]();if(!_0x3d6d4e||!_0x576297)return null;const _0x1042c4=_0x3d6d4e[_0x2ff713(0x129)](_0x2ff713(0x84)+_0x354e27['id']+'\x22]');return _0x1042c4?{'modelRange':_0x576297,'domElement':_0x1042c4}:null;}[_0x5aad34(0x122)](_0x56652a,_0x5d81f3){const _0x3fe2db=_0x5aad34,_0x17c46b=Array[_0x3fe2db(0x159)](this[_0x3fe2db(0xd4)][_0x3fe2db(0xc4)]()),_0x44fe1e=new Map();for(const _0x56d22a of _0x17c46b){const _0x41b6bb=_0x56652a[_0x3fe2db(0x6d)][_0x3fe2db(0x9f)][_0x3fe2db(0x155)](_0x56d22a);if(!_0x41b6bb)continue;const _0x50f607=_0x41b6bb[_0x3fe2db(0x144)]()[_0x3fe2db(0x108)][0x0];_0x44fe1e[_0x3fe2db(0xb1)](_0x50f607)||_0x44fe1e[_0x3fe2db(0x10b)](_0x50f607,[]),_0x44fe1e[_0x3fe2db(0x155)](_0x50f607)[_0x3fe2db(0x70)](_0x41b6bb);}const _0x13a896=new Set();for(const _0x3a9b91 of _0x56652a[_0x3fe2db(0x6d)][_0x3fe2db(0x114)][_0x3fe2db(0x10d)][_0x3fe2db(0xda)]()){let _0x3ab64a=-0x1,_0x1a3aa7=null;if(_0x3fe2db(0x128)===_0x3a9b91[_0x3fe2db(0x154)])_0x1a3aa7=new _0x3e2053(_0x3a9b91[_0x3fe2db(0x12a)],_0x3a9b91[_0x3fe2db(0x12a)][_0x3fe2db(0x80)](_0x3a9b91[_0x3fe2db(0xdf)])),_0x3ab64a=_0x3a9b91[_0x3fe2db(0x12a)][_0x3fe2db(0x108)][0x0];else{if(_0x3fe2db(0x7a)!==_0x3a9b91[_0x3fe2db(0x154)])continue;_0x1a3aa7=new _0x3e2053(_0x3a9b91[_0x3fe2db(0x12a)]),_0x3ab64a=_0x3a9b91[_0x3fe2db(0x12a)][_0x3fe2db(0x108)][0x0];}const _0x37699d=_0x44fe1e[_0x3fe2db(0x155)](_0x3ab64a)||[];if(_0x37699d[_0x3fe2db(0xdf)]){for(const _0x4ff211 of _0x37699d)if(_0x1a3aa7[_0x3fe2db(0xa8)][_0x3fe2db(0x118)]===_0x4ff211[_0x3fe2db(0x73)]()[_0x3fe2db(0xa8)][_0x3fe2db(0x118)]&&(_0x3fe2db(0x128)!==_0x3a9b91[_0x3fe2db(0x154)]||!_0x1a3aa7[_0x3fe2db(0xa1)](_0x4ff211[_0x3fe2db(0x73)]()))&&(_0x1a3aa7[_0x3fe2db(0x93)](_0x4ff211[_0x3fe2db(0x73)]())||_0x1a3aa7[_0x3fe2db(0x145)][_0x3fe2db(0x149)](_0x4ff211[_0x3fe2db(0x73)]()[_0x3fe2db(0xef)])||_0x1a3aa7[_0x3fe2db(0xef)][_0x3fe2db(0x149)](_0x4ff211[_0x3fe2db(0x73)]()[_0x3fe2db(0x145)]))){const _0x334d25=this[_0x3fe2db(0x11e)](_0x4ff211[_0x3fe2db(0xed)]);Array[_0x3fe2db(0x159)](this[_0x3fe2db(0xd4)][_0x3fe2db(0x86)]())[_0x3fe2db(0x15c)](_0x39f25d=>_0x39f25d[_0x3fe2db(0x8a)]===_0x334d25[_0x3fe2db(0x8a)])[_0x3fe2db(0x148)](_0x16c576=>_0x13a896[_0x3fe2db(0x7c)](_0x16c576['id']));}}}if(_0x13a896[_0x3fe2db(0x14b)]){for(const _0x3b27ab of _0x13a896)_0x5d81f3[_0x3fe2db(0xcd)](_0x3b27ab);return!0x0;}return!0x1;}[_0x5aad34(0x13a)](_0x8b6be9){const _0x22d6a6=_0x5aad34;for(const {name:_0x3c7720,data:_0x3cf397}of _0x8b6be9[_0x22d6a6(0x6d)][_0x22d6a6(0x114)][_0x22d6a6(0x10d)][_0x22d6a6(0x74)]()){if(!_0x3c7720[_0x22d6a6(0x112)](pe))continue;const _0x488639=_0x3cf397[_0x22d6a6(0x110)],_0x33b5c4=_0x3cf397[_0x22d6a6(0xb0)],_0x2cae52=_0x488639&&_0x22d6a6(0xe1)===_0x488639[_0x22d6a6(0xa8)][_0x22d6a6(0x118)],_0x226278=_0x33b5c4&&_0x22d6a6(0xe1)===_0x33b5c4[_0x22d6a6(0xa8)][_0x22d6a6(0x118)];if(_0x2cae52&&_0x226278)continue;const _0x3633fb=this[_0x22d6a6(0x11e)](_0x3c7720);this[_0x22d6a6(0xd4)][_0x22d6a6(0x155)](_0x3c7720)&&(_0x226278||!_0x33b5c4?this[_0x22d6a6(0xf4)][_0x22d6a6(0x10c)](_0x22d6a6(0x138),{'markerId':_0x3c7720,'changeId':_0x3633fb[_0x22d6a6(0x8a)]}):_0x2cae52&&_0x33b5c4&&this[_0x22d6a6(0xf4)][_0x22d6a6(0x10c)](_0x22d6a6(0x14c),{'markerId':_0x3c7720,'changeId':_0x3633fb[_0x22d6a6(0x8a)]}));}}[_0x5aad34(0x11e)](_0x5bdd86){const _0x462e2c=_0x5aad34,_0x2ff2b1=_0x5bdd86[_0x462e2c(0x79)](':'),_0x336906=(_0x2ff2b1[0x1]||'')[_0x462e2c(0x79)]('_');return{'prefix':_0x2ff2b1[0x0],'groupId':_0x336906[0x0],'suffix':_0x336906[0x1]};}[_0x5aad34(0x95)](_0x54d4b8,_0x5855f9,_0xf38433){const _0x2a36dc=_0x5aad34;if(_0x2a36dc(0x128)===_0x54d4b8[_0x2a36dc(0x154)]){const _0x59f195=_0x54d4b8;return new _0x7508a2(this[_0x2a36dc(0xcc)](_0x5855f9[_0x2a36dc(0x125)](_0x59f195[_0x2a36dc(0x12a)][_0x2a36dc(0xc6)]),_0xf38433),_0x59f195[_0x2a36dc(0xbe)],_0x59f195[_0x2a36dc(0x12b)]);}if(_0x2a36dc(0xc7)===_0x54d4b8[_0x2a36dc(0x154)]&&_0x54d4b8[_0x2a36dc(0xed)][_0x2a36dc(0x112)](_0x2a36dc(0x14e))){const _0x1007f1=_0x54d4b8;return new _0x1e69a9(_0x1007f1[_0x2a36dc(0xed)],_0x1007f1[_0x2a36dc(0x110)],this[_0x2a36dc(0x111)](_0x1007f1[_0x2a36dc(0xb0)],_0x5855f9[_0x2a36dc(0x125)](_0x1007f1[_0x2a36dc(0xb0)][_0x2a36dc(0x145)][_0x2a36dc(0xc6)]),_0x5855f9[_0x2a36dc(0x125)](_0x1007f1[_0x2a36dc(0xb0)][_0x2a36dc(0xef)][_0x2a36dc(0xc6)]),_0xf38433),_0x1007f1[_0x2a36dc(0xd4)],_0x1007f1[_0x2a36dc(0x147)],_0x1007f1[_0x2a36dc(0x12b)]);}return _0x54d4b8;}[_0x5aad34(0x113)](_0x3d3c04){const _0x4eae02=_0x5aad34;if(!_0x3d3c04[_0x4eae02(0xdf)])return[];const _0xd0a862=[];let _0xab727c=0x0,_0x4428a1=0x0,_0x8cc87e=[];for(let _0x124b7c=0x0;_0x124b7c<=_0x3d3c04[_0x4eae02(0xdf)];_0x124b7c++){const _0x7864cc=_0x3d3c04[_0x124b7c],_0x371ae7=_0x3d3c04[_0x124b7c-0x1];!_0x7864cc||_0x371ae7&&!this[_0x4eae02(0xd0)](_0x371ae7)[_0x4eae02(0x149)](this[_0x4eae02(0x153)](_0x7864cc))?(_0xd0a862[_0x4eae02(0x70)]({'operations':_0x8cc87e,'operationsIsolated':_0x8cc87e[_0x4eae02(0xd9)](_0x55d648=>this[_0x4eae02(0x97)](_0x55d648[_0x4eae02(0xff)](),-_0x4428a1)),'groupOffset':_0xab727c}),_0x8cc87e=_0x7864cc?[_0x7864cc]:[],_0x4428a1+=_0xab727c,_0xab727c=0x0):_0x8cc87e[_0x4eae02(0x70)](_0x7864cc),_0x7864cc&&_0x4eae02(0x128)===_0x7864cc[_0x4eae02(0x154)]&&(_0xab727c+=_0x7864cc[_0x4eae02(0xbb)]);}return _0xd0a862;}[_0x5aad34(0x105)](_0x37b090,_0x2a905c,_0x99b640,_0xdc2119=0x1){const _0x348b44=_0x5aad34,_0x17ce6b=new _0x4c6186({'startPosition':_0x37b090,'direction':_0x2a905c});let _0x129a57=0x0;for(let _0x55af2a=0x0;_0x55af2a<_0xdc2119;_0x55af2a++){let _0x1f7da6=0x0,_0x57385b=!0x1,_0x2fac2d=_0x348b44(0x85)===_0x2a905c?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5d6541}of _0x17ce6b)if(_0x5d6541['is'](_0x348b44(0xcb))){const _0x5b4f35=_0x2fac2d[_0x348b44(0xb3)](_0x5d6541[_0x348b44(0x87)]);if(_0x5b4f35&&_0x5b4f35[_0x348b44(0xdf)]){if(_0x1f7da6+=_0x348b44(0x85)===_0x2a905c?_0x5b4f35[_0x348b44(0xbc)]+_0x5b4f35[0x0][_0x348b44(0xdf)]:_0x5d6541[_0x348b44(0x87)][_0x348b44(0xdf)]-_0x5b4f35[_0x348b44(0xbc)],_0x5b4f35[0x0][_0x348b44(0xdf)]!==_0x5d6541[_0x348b44(0x87)][_0x348b44(0xdf)])break;_0x57385b=!0x0,_0x2fac2d=_0x348b44(0x85)===_0x2a905c?/^\w+/:/\w+$/;}else{if(_0x57385b)break;_0x1f7da6+=_0x5d6541[_0x348b44(0x6f)];}}else{if(_0x5d6541['is'](_0x348b44(0x83))){_0x99b640[_0x348b44(0xa4)](_0x5d6541)&&!_0x57385b&&(_0x1f7da6+=0x1);break;}}_0x129a57+=_0x1f7da6,_0x17ce6b[_0x348b44(0xfe)](_0x37b090[_0x348b44(0x80)](_0x348b44(0x85)===_0x2a905c?_0x129a57:-_0x129a57));}return _0x129a57;}[_0x5aad34(0xb4)](_0x28851f,_0x282308){const _0x50e0fb=_0x5aad34,_0x4eb3df=_0x19e661(this[_0x50e0fb(0x8e)])[_0x50e0fb(0x6d)][_0x50e0fb(0x103)],_0xd7f817=this[_0x50e0fb(0x105)](_0x28851f,_0x50e0fb(0x127),_0x4eb3df,0x6),_0x25fc3e=this[_0x50e0fb(0x105)](_0x282308,_0x50e0fb(0x85),_0x4eb3df,0x6),_0x4e891f=_0x28851f[_0x50e0fb(0x80)](-_0xd7f817),_0x292855=_0x282308[_0x50e0fb(0x80)](_0x25fc3e);return{'start':_0x4e891f,'end':_0x292855,'hasContentBefore':!_0x4e891f[_0x50e0fb(0x92)],'hasContentAfter':!_0x292855[_0x50e0fb(0x91)]};}[_0x5aad34(0x104)](_0x57c51c){const _0x441000=_0x5aad34,_0x1597e3=this[_0x441000(0x8e)][_0x441000(0x98)][_0x441000(0x155)](_0x441000(0xbd)),_0x374713=new Set();_0x19e661(this[_0x441000(0x8e)])[_0x441000(0x6d)][_0x441000(0xba)](_0x245710=>{const _0xd98f8f=_0x441000;for(const _0x554dbc of _0x57c51c){const _0x4c32b5=''+pe+_0x554dbc[_0xd98f8f(0x154)]+':'+_0x554dbc[_0xd98f8f(0x8a)]+'_'+_0x1597e3[_0xd98f8f(0xf7)](_0x374713);this[_0xd98f8f(0xd4)][_0xd98f8f(0x10b)](_0x4c32b5,{'id':_0x4c32b5,'groupId':_0x554dbc[_0xd98f8f(0x8a)],'type':_0x554dbc[_0xd98f8f(0x154)],'text':_0x554dbc[_0xd98f8f(0x8b)]}),_0x245710[_0xd98f8f(0xf3)](_0x4c32b5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x245710[_0xd98f8f(0xb9)](_0x554dbc[_0xd98f8f(0x145)],_0x554dbc[_0xd98f8f(0xef)])});}});}[_0x5aad34(0xc5)](_0x44239c,_0x1285c5,_0xbf7a9e){let _0x57f97f='';return()=>{const _0x4d2328=_0x4741;if(!_0x57f97f){const _0x376ac5=_0x1285c5[_0x4d2328(0xea)](_0x44239c,{'showSuggestionHighlights':!0x0});let _0x30d9dc=_0x376ac5[_0x4d2328(0xa2)](0x0);if(_0x30d9dc['is'](_0x4d2328(0x133))||(_0x30d9dc=_0x376ac5),!_0x30d9dc)return'';let _0x489ed1=!0x1;const _0x37b2e0=[];for(const _0x260de6 of _0x30d9dc[_0x4d2328(0xe3)]())_0x260de6['is'](_0x4d2328(0x83),_0x4d2328(0x14a))&&_0x260de6[_0x4d2328(0x9b)](_0x4d2328(0x106))&&(_0x489ed1=!0x1),_0x489ed1&&_0x37b2e0[_0x4d2328(0x70)](_0x260de6),_0x260de6['is'](_0x4d2328(0x83),_0x4d2328(0x14a))&&_0x260de6[_0x4d2328(0x9b)](_0x4d2328(0x13d))&&(_0x489ed1=!0x0);_0x30d9dc[_0x4d2328(0x6b)](0x0,_0x30d9dc[_0x4d2328(0x143)]),_0xbf7a9e?.[_0x4d2328(0xb7)]&&_0x30d9dc[_0x4d2328(0xde)]('…'),_0x30d9dc[_0x4d2328(0xde)](_0x37b2e0),_0xbf7a9e?.[_0x4d2328(0xa9)]&&_0x30d9dc[_0x4d2328(0xde)]('…');const _0xb3c856=_0x1285c5[_0x4d2328(0x119)][_0x4d2328(0xc3)][_0x4d2328(0x10e)](_0x376ac5),_0x4919e8=_0x1285c5[_0x4d2328(0x119)][_0x4d2328(0x141)][_0x4d2328(0xc0)](_0xb3c856);_0x57f97f=_0x4919e8;}return _0x57f97f;};}[_0x5aad34(0x152)](_0x31c05d,_0x148f18){const _0x1210f0=_0x5aad34;let _0x2f6c61='';return()=>(_0x2f6c61||(_0x2f6c61=_0x148f18[_0x1210f0(0x77)](_0x31c05d,{'showSuggestionHighlights':!0x0})),_0x2f6c61);}[_0x5aad34(0xa0)](_0x22b58f,_0x21f692,_0x26b95c){let _0x36a3c9='';return()=>{const _0x53bb54=_0x4741;if(!_0x36a3c9){const _0x1481fb=_0x26b95c[_0x53bb54(0xea)](new _0x1a5af9(_0x22b58f)),_0x227156=_0x26b95c[_0x53bb54(0x119)][_0x53bb54(0xc3)][_0x53bb54(0x10e)](_0x1481fb)[_0x53bb54(0x129)](_0x53bb54(0x15e)+_0x21f692+'\x22]');_0x36a3c9=_0x227156?.[_0x53bb54(0x109)]||'';}return _0x36a3c9;};}[_0x5aad34(0x75)](_0x2c2c25,_0x129b03=0x5){const _0x3b57b2=_0x5aad34;let _0x2ce1ec=_0x2c2c25,_0x211270=null;for(let _0x1a9835=0x0;_0x1a9835<_0x129b03&&_0x2ce1ec;_0x1a9835++){if(!_0x2ce1ec[_0x3b57b2(0x11a)]){_0x2ce1ec=_0x2ce1ec[_0x3b57b2(0xf5)];continue;}if(!(''+_0x2ce1ec[_0x3b57b2(0x11a)])[_0x3b57b2(0xfb)](_0x3b57b2(0x9e))){_0x2ce1ec=_0x2ce1ec[_0x3b57b2(0xf5)];continue;}if(!_0x2ce1ec[_0x3b57b2(0x7e)](_0x3b57b2(0xaa)))break;_0x211270=_0x2ce1ec;break;}return _0x211270;}[_0x5aad34(0x81)](_0x4c1e36){const _0x4ba21f=_0x5aad34;return Array[_0x4ba21f(0x159)](this[_0x4ba21f(0xd4)][_0x4ba21f(0x86)]())[_0x4ba21f(0x15c)](_0x20bb2d=>_0x20bb2d[_0x4ba21f(0x8a)]===_0x4c1e36);}[_0x5aad34(0x153)](_0x548eb4){const _0x361fd7=_0x5aad34;return _0x361fd7(0x128)===_0x548eb4[_0x361fd7(0x154)]?_0x548eb4[_0x361fd7(0x12a)]:_0x548eb4[_0x361fd7(0xb0)][_0x361fd7(0x145)];}[_0x5aad34(0xd0)](_0x574cde,_0x863d39=!0x1){const _0x156a9e=_0x5aad34;return _0x156a9e(0x128)===_0x574cde[_0x156a9e(0x154)]?_0x863d39?_0x574cde[_0x156a9e(0x12a)]:_0x574cde[_0x156a9e(0x12a)][_0x156a9e(0x80)](_0x574cde[_0x156a9e(0xbb)]):_0x574cde[_0x156a9e(0xb0)][_0x156a9e(0xef)];}[_0x5aad34(0x97)](_0x2b61f2,_0x7a0a2){const _0x3e930b=_0x5aad34;return _0x3e930b(0x128)===_0x2b61f2[_0x3e930b(0x154)]?_0x2b61f2[_0x3e930b(0x12a)]=_0x2b61f2[_0x3e930b(0x12a)][_0x3e930b(0x80)](_0x7a0a2):_0x3e930b(0xc7)===_0x2b61f2[_0x3e930b(0x154)]&&_0x2b61f2[_0x3e930b(0xb0)]&&(_0x2b61f2[_0x3e930b(0xb0)]=new _0x3e2053(_0x2b61f2[_0x3e930b(0xb0)][_0x3e930b(0x145)][_0x3e930b(0x80)](_0x7a0a2),_0x2b61f2[_0x3e930b(0xb0)][_0x3e930b(0xef)][_0x3e930b(0x80)](_0x7a0a2))),_0x2b61f2;}[_0x5aad34(0x7f)](_0xd7cc49,_0x11a9a8){const _0x32f3fc=_0x5aad34;_0x32f3fc(0x128)===_0xd7cc49[_0x32f3fc(0x154)]?_0xd7cc49[_0x32f3fc(0x12a)]=this[_0x32f3fc(0xcf)](_0xd7cc49[_0x32f3fc(0x12a)],_0x11a9a8):_0x32f3fc(0xc7)===_0xd7cc49[_0x32f3fc(0x154)]&&_0xd7cc49[_0x32f3fc(0xb0)]&&(_0xd7cc49[_0x32f3fc(0xb0)]=this[_0x32f3fc(0xbf)](_0xd7cc49[_0x32f3fc(0xb0)],_0x11a9a8));}[_0x5aad34(0xcf)](_0x264196,_0x57640d){const _0x340c69=_0x5aad34;return new _0x583d95(_0x57640d,_0x264196[_0x340c69(0x108)]);}[_0x5aad34(0xbf)](_0x1a6d58,_0x366230){const _0x16c2ca=_0x5aad34;return new _0x3e2053(this[_0x16c2ca(0xcf)](_0x1a6d58[_0x16c2ca(0x145)],_0x366230),this[_0x16c2ca(0xcf)](_0x1a6d58[_0x16c2ca(0xef)],_0x366230));}[_0x5aad34(0xcc)](_0x9817c9,_0x2ae530){return new _0x583d95(_0x2ae530,[..._0x9817c9]);}[_0x5aad34(0x111)](_0x5cf7fb,_0xb3f876,_0x2a5197,_0x2f5a37){const _0x3124aa=_0x5aad34;return new _0x3e2053(this[_0x3124aa(0xcc)](_0xb3f876,_0x2f5a37),this[_0x3124aa(0xcc)](_0x2a5197,_0x2f5a37));}[_0x5aad34(0xe5)](_0x2ec607){const _0x2b86cf=_0x5aad34,_0x2cf5d9=_0x37bc0e=>{const _0x15ed56=_0x4741;switch(_0x37bc0e){case _0x15ed56(0x128):return 0x1;case _0x15ed56(0xb2):return 0x2;case _0x15ed56(0x158):return 0x3;case _0x15ed56(0x7d):return 0x4;}};return _0x2ec607[_0x2b86cf(0x107)]((_0x5381e5,_0xe5c0f9)=>_0x2cf5d9(_0x5381e5[_0x2b86cf(0x154)])-_0x2cf5d9(_0xe5c0f9[_0x2b86cf(0x154)]));}[_0x5aad34(0x115)](_0x4409dd,_0x2fae2b){const _0x444e04=_0x5aad34,_0x52a4e3=_0x4409dd[_0x444e04(0xa2)](0x0),_0x2370f6=_0x2fae2b[_0x444e04(0xa2)](0x0);return!(!_0x52a4e3||!_0x2370f6)&&((!_0x52a4e3['is'](_0x444e04(0x83))||!_0x2370f6['is'](_0x444e04(0x83))||_0x52a4e3[_0x444e04(0xed)]===_0x2370f6[_0x444e04(0xed)])&&!(_0x52a4e3['is'](_0x444e04(0x83))&&!_0x2370f6['is'](_0x444e04(0x83))||!_0x52a4e3['is'](_0x444e04(0x83))&&_0x2370f6['is'](_0x444e04(0x83))));}[_0x5aad34(0x6e)](_0xefc53e){const _0x413de0=_0x5aad34;return 0x1===_0xefc53e[_0x413de0(0x143)];}[_0x5aad34(0xfc)](_0x28c353,_0x297530){const _0xad595b=_0x5aad34;for(const _0x4eef42 of _0x28c353[_0xad595b(0xe3)]())if(_0x4eef42['is'](_0xad595b(0x83))&&!_0x297530[_0xad595b(0xa4)](_0x4eef42))return!0x1;return!0x0;}[_0x5aad34(0x14d)](_0x47ebdc,_0x21d0c5){const _0x3e29ca=_0x5aad34;let _0x106c3d=_0x47ebdc[_0x3e29ca(0x7e)](_0x5c30e3);return _0x106c3d||(_0x106c3d=_0x21d0c5(),_0x47ebdc[_0x3e29ca(0x11b)](_0x5c30e3,_0x106c3d)),_0x106c3d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x217faf=_0xda39;(function(_0x599d57,_0x2d1872){const _0x3ba222=_0xda39,_0x94219c=_0x599d57();while(!![]){try{const _0xd70316=parseInt(_0x3ba222(0x184))/0x1*(-parseInt(_0x3ba222(0x19c))/0x2)+parseInt(_0x3ba222(0x1a0))/0x3+-parseInt(_0x3ba222(0x14e))/0x4+-parseInt(_0x3ba222(0x187))/0x5*(-parseInt(_0x3ba222(0x159))/0x6)+parseInt(_0x3ba222(0x149))/0x7*(-parseInt(_0x3ba222(0x181))/0x8)+-parseInt(_0x3ba222(0x185))/0x9+parseInt(_0x3ba222(0x19a))/0xa;if(_0xd70316===_0x2d1872)break;else _0x94219c['push'](_0x94219c['shift']());}catch(_0x3445b7){_0x94219c['push'](_0x94219c['shift']());}}}(_0x1db0,0x93ac0));import{ContextPlugin as _0x455d98}from'ckeditor5/src/core.js';import{IconAIReview as _0x1e4c67}from'ckeditor5/src/icons.js';function _0xda39(_0x2945e5,_0x3749c3){const _0x1db0ca=_0x1db0();return _0xda39=function(_0xda3980,_0x255144){_0xda3980=_0xda3980-0x144;let _0x4c411a=_0x1db0ca[_0xda3980];return _0x4c411a;},_0xda39(_0x2945e5,_0x3749c3);}import{BodyCollection as _0x26052b}from'ckeditor5/src/ui.js';import{AITabs as _0x2f0c41}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x73b691}from'./ui/aireviewmodeview.js';import{getTranslation as _0x179fad}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x5a495f}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';function _0x1db0(){const _0x2af727=['setCheckResultTitle','init','hideChangeBalloon','showBalloon','toggleDiff','setItemAsInactive','learnMore','resetActiveStateInResults','status','getResults','5416350XRTtXu','acceptAllChanges','isOfficialPlugin','rejected','reviewCheckListView','hasChecks','element','view','showReviewCompletedView','showCheckRunResults','context','forEach','showCheckRunResult','detachFromDom','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','hideActionsWhenResultIsReady','showChunkErrorView','destroy','retryReview','getReviewCheckList','setItemAsActive','reviewCheckResultsView','addCheckRunResult','setChecks','plugins','showChangeBalloon','showDiffInBalloon','leaveReviewMode','fire','get','_bodyCollection','isPremiumPlugin','AITabs','setTitle','finishReview','setAvailableChecks','showReviewCheckListView','accepted','_reviewModeBalloonSuggestionItemView','acceptChange','2704uDJHwN','_reviewModeView','outdated','1Vjcgyb','6973182IaBsOf','updateChangeState','5HChepu','showGeneralReviewModeErrorView','showReviewCheckList','setActiveStateInResults','leaveReviewModeResultList','showGeneralResultsErrorView','attachToDom','activateChange','requires','hideBalloon','showNoChangesView','hideDiffInBalloon','abortReviewStream','getChangeElement','showResult','AIReviewModeUI','activateTab','runReviewCheck','dismissChange','10285420eOEUsG','error-chunk','552452BPOMpZ','hideResult','pluginName','deactivateChange','1950744yYodvQ','reviewMode','delegate','find','error-general','addTab','18277CPcBUe','AI_REVIEW_MODE','showReviewCheckResultsView','showActionsWhenResultIsReady','locale','172436skHqge'];_0x1db0=function(){return _0x2af727;};return _0x1db0();}export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x217faf(0x16c),_0x217faf(0x198),_0x217faf(0x193),_0x217faf(0x153),_0x217faf(0x15a),_0x217faf(0x18b),_0x217faf(0x18e),_0x217faf(0x180),_0x217faf(0x199),_0x217faf(0x155),_0x217faf(0x17b),_0x217faf(0x16b)];export class AIReviewModeUI extends _0x455d98{[_0x217faf(0x182)];[_0x217faf(0x17f)];[_0x217faf(0x177)];static get[_0x217faf(0x18f)](){return[_0x2f0c41];}static get[_0x217faf(0x19e)](){const _0xe09fcb=_0x217faf;return _0xe09fcb(0x196);}static get[_0x217faf(0x15b)](){return!0x0;}static get[_0x217faf(0x178)](){return!0x0;}constructor(_0x530648){const _0x33d722=_0x217faf;super(_0x530648),this[_0x33d722(0x177)]=new _0x26052b(this[_0x33d722(0x163)][_0x33d722(0x14d)]),this[_0x33d722(0x177)][_0x33d722(0x18d)](),this[_0x33d722(0x182)]=new _0x73b691(this[_0x33d722(0x163)][_0x33d722(0x14d)]),this[_0x33d722(0x182)][_0x33d722(0x145)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x33d722(0x17f)]=new _0x5a495f(this[_0x33d722(0x163)][_0x33d722(0x14d)],this[_0x33d722(0x177)]),this[_0x33d722(0x17f)][_0x33d722(0x145)](_0x33d722(0x180),_0x33d722(0x199),_0x33d722(0x19f))['to'](this);}[_0x217faf(0x150)](){const _0x409f33=_0x217faf,_0xa7890e=this[_0x409f33(0x163)][_0x409f33(0x171)][_0x409f33(0x176)](_0x409f33(0x179));_0xa7890e[_0x409f33(0x160)]['on'](_0x409f33(0x197),(_0x1e2f07,_0x52e5c5)=>{const _0x5f2b03=_0x409f33;_0x5f2b03(0x144)===_0x52e5c5?this[_0x5f2b03(0x175)](_0x5f2b03(0x16c)):this[_0x5f2b03(0x175)](_0x5f2b03(0x174));}),_0xa7890e[_0x409f33(0x160)][_0x409f33(0x148)]({'id':_0x409f33(0x144),'buttonLabel':_0x179fad(this[_0x409f33(0x163)][_0x409f33(0x14d)],_0x409f33(0x14a)),'buttonIcon':_0x1e4c67,'order':0x0,'content':this[_0x409f33(0x182)]});}[_0x217faf(0x16a)](){const _0x8b08bc=_0x217faf;this[_0x8b08bc(0x177)][_0x8b08bc(0x166)](),super[_0x8b08bc(0x16a)]();}[_0x217faf(0x17c)](_0x407021){const _0x305c28=_0x217faf;this[_0x305c28(0x182)][_0x305c28(0x15d)][_0x305c28(0x15e)]()||this[_0x305c28(0x182)][_0x305c28(0x15d)][_0x305c28(0x170)](_0x407021),this[_0x305c28(0x182)][_0x305c28(0x17d)]();}[_0x217faf(0x189)](){const _0x1cfa2a=_0x217faf;this[_0x1cfa2a(0x175)](_0x1cfa2a(0x16c));}[_0x217faf(0x162)](_0x4c1023){const _0x40e49c=_0x217faf;_0x4c1023&&(_0x40e49c(0x147)!==_0x4c1023[_0x40e49c(0x157)]?_0x40e49c(0x19b)!==_0x4c1023[_0x40e49c(0x157)]?this[_0x40e49c(0x182)][_0x40e49c(0x14b)]():this[_0x40e49c(0x169)]():this[_0x40e49c(0x18c)]());}[_0x217faf(0x165)](_0x201ddd){const _0x42b1cb=_0x217faf;this[_0x42b1cb(0x182)][_0x42b1cb(0x16f)](_0x201ddd);}[_0x217faf(0x18c)](){const _0x414730=_0x217faf;this[_0x414730(0x182)][_0x414730(0x18c)]();}[_0x217faf(0x188)](_0x5aafa8){const _0x50dffc=_0x217faf;this[_0x50dffc(0x182)][_0x50dffc(0x188)](_0x5aafa8??_0x179fad(this[_0x50dffc(0x163)][_0x50dffc(0x14d)],_0x50dffc(0x167)));}[_0x217faf(0x169)](){const _0x574d54=_0x217faf;this[_0x574d54(0x182)][_0x574d54(0x169)]();}[_0x217faf(0x14f)](_0x2520b4,_0x5c4751){const _0x26ced0=_0x217faf;this[_0x26ced0(0x182)][_0x26ced0(0x16e)][_0x26ced0(0x17a)](_0x2520b4,_0x5c4751);}[_0x217faf(0x18a)](_0x3a4c7c){const _0x57151d=_0x217faf;this[_0x57151d(0x182)][_0x57151d(0x16e)][_0x57151d(0x158)]()[_0x57151d(0x164)](_0xdebb20=>{const _0x7c3338=_0x57151d;_0xdebb20['id']===_0x3a4c7c&&_0xdebb20[_0x7c3338(0x16d)]();});}[_0x217faf(0x156)](){const _0x20ed23=_0x217faf;this[_0x20ed23(0x182)][_0x20ed23(0x16e)][_0x20ed23(0x158)]()[_0x20ed23(0x164)](_0x5bffc4=>_0x5bffc4[_0x20ed23(0x154)]());}[_0x217faf(0x186)](_0x2453e4,_0x29ccb6){const _0x40b46d=_0x217faf;_0x40b46d(0x17e)===_0x29ccb6||_0x40b46d(0x15c)===_0x29ccb6||_0x40b46d(0x183)===_0x29ccb6?this[_0x40b46d(0x182)][_0x40b46d(0x16e)][_0x40b46d(0x19d)](_0x2453e4,_0x29ccb6):this[_0x40b46d(0x182)][_0x40b46d(0x16e)][_0x40b46d(0x195)](_0x2453e4,_0x29ccb6);}[_0x217faf(0x161)](){const _0x4a07c9=_0x217faf;this[_0x4a07c9(0x182)][_0x4a07c9(0x161)]();}[_0x217faf(0x14c)](){const _0x350d20=_0x217faf;this[_0x350d20(0x182)][_0x350d20(0x14c)]();}[_0x217faf(0x191)](){const _0x5a56eb=_0x217faf;this[_0x5a56eb(0x182)][_0x5a56eb(0x191)]();}[_0x217faf(0x168)](){const _0x52ed3f=_0x217faf;this[_0x52ed3f(0x182)][_0x52ed3f(0x168)]();}[_0x217faf(0x172)](_0x44e5c8,_0x383b68,_0x109a31,_0x430a97,_0x3cd244,_0x2be04c){const _0x5341fd=_0x217faf;this[_0x5341fd(0x17f)][_0x5341fd(0x152)](_0x44e5c8,_0x383b68,_0x109a31,_0x430a97,_0x3cd244,_0x2be04c);}[_0x217faf(0x151)](){const _0x3fe1eb=_0x217faf;this[_0x3fe1eb(0x17f)][_0x3fe1eb(0x190)]();}[_0x217faf(0x192)](){const _0x5d88a=_0x217faf;this[_0x5d88a(0x17f)][_0x5d88a(0x192)]();}[_0x217faf(0x173)](){const _0x296d9b=_0x217faf;this[_0x296d9b(0x17f)][_0x296d9b(0x173)]();}[_0x217faf(0x194)](_0x38485e){const _0x3e0cdc=_0x217faf,_0x219a02=this[_0x3e0cdc(0x182)][_0x3e0cdc(0x16e)][_0x3e0cdc(0x158)]()[_0x3e0cdc(0x146)](_0x4d921b=>_0x4d921b['id']===_0x38485e);return _0x219a02?_0x219a02[_0x3e0cdc(0x15f)]:null;}[_0x217faf(0x19f)](){const _0x5c39d9=_0x217faf;this[_0x5c39d9(0x17f)][_0x5c39d9(0x19f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a4335=_0x51bc;(function(_0x5a9172,_0x279b57){const _0x26a0d4=_0x51bc,_0x5f04fc=_0x5a9172();while(!![]){try{const _0x2cd836=-parseInt(_0x26a0d4(0x172))/0x1+-parseInt(_0x26a0d4(0x166))/0x2*(-parseInt(_0x26a0d4(0x1ad))/0x3)+-parseInt(_0x26a0d4(0x17d))/0x4*(parseInt(_0x26a0d4(0x179))/0x5)+-parseInt(_0x26a0d4(0x1a0))/0x6*(-parseInt(_0x26a0d4(0x17c))/0x7)+parseInt(_0x26a0d4(0x18a))/0x8*(parseInt(_0x26a0d4(0x171))/0x9)+-parseInt(_0x26a0d4(0x177))/0xa*(-parseInt(_0x26a0d4(0x1ab))/0xb)+parseInt(_0x26a0d4(0x1a5))/0xc*(parseInt(_0x26a0d4(0x165))/0xd);if(_0x2cd836===_0x279b57)break;else _0x5f04fc['push'](_0x5f04fc['shift']());}catch(_0x10c383){_0x5f04fc['push'](_0x5f04fc['shift']());}}}(_0x2dc2,0x96cd9));import{Rect as _0x25bd7b,getConstrainedViewportRect as _0x264e57,global as _0x11862d}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x1fe9fb,View as _0x8d66b6,clickOutsideHandler as _0x360195}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x1453f8}from'./aireviewmodechecklistitemresultview.js';function _0x2dc2(){const _0xb84035=['arrow_','ck-reset','clientY','_pinnedTargetElement','4924904DYwNiZ','_createContentView','ck-ai-review-mode-balloon-panel-suggestion','extendTemplate','.ck-ai-review-mode__change_active','top','deactivateChange','left','_getPointedRectIndexFromEvent','innerHTML','getBoundingClientRect','locale','_setupClickOutsideHandler','right','unpin','div','replace','add','_getBestRectPositionOnHover','remove','showDiff','isVisible','24lwvFuL','_setActiveClassOnMarker','querySelectorAll','bindTemplate','contentDiffed','4008AFaKaB','_pinnedTargetChangeId','getIntersection','updateContent','push','delegate','275byAysv','getClientRects','119523WKNPaW','hideBalloon','pin','ck-content','render','from','isDiffActive','length','showDiffInBalloon','click','resultItemView','hide','bottom','hideDiffInBalloon','hover','document','_getBestRectPositionOnClick','acceptChange','28340OtrMKS','2hVAWUe','_isPinnedRectVisible','fire','dismissChange','set','span[data-marker-id*=\x22','position','element','changeId','width','resultResponseView','9aTveCU','990885ZGyEUI','content','forEach','arrow_se','setTemplate','246490GmoqXU','classList','3245785BEkroF','clientX','show','451381HQkzfa','4esyyAN','_removeActiveClassFromMarkers','showBalloon','reverse','ck-ai-review-mode__suggestion-text','ck-ai-review-mode-balloon-panel-suggestion_diff-active','documentElement','_pinnedRectIndex','ck-ai-review-mode__change_active'];_0x2dc2=function(){return _0xb84035;};return _0x2dc2();}import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';function _0x51bc(_0x1ccc02,_0x3d63c7){const _0x2dc288=_0x2dc2();return _0x51bc=function(_0x51bcc6,_0x250adb){_0x51bcc6=_0x51bcc6-0x160;let _0x29822c=_0x2dc288[_0x51bcc6];return _0x29822c;},_0x51bc(_0x1ccc02,_0x3d63c7);}export class AIReviewModeBalloonSuggestionItemView extends _0x1fe9fb{[_0x2a4335(0x1b7)];[_0x2a4335(0x184)]=void 0x0;[_0x2a4335(0x189)]=void 0x0;[_0x2a4335(0x1a6)]=void 0x0;constructor(_0x28f404,_0x51dec3){const _0x5868ae=_0x2a4335;super(_0x28f404),this[_0x5868ae(0x16a)]({'isVisible':!0x1,'position':_0x5868ae(0x175),'class':null,'top':0x0,'left':0x0}),this[_0x5868ae(0x18d)]({'tag':_0x5868ae(0x199),'attributes':{'class':[_0x5868ae(0x187)],'tabindex':'-1'}}),this[_0x5868ae(0x16a)](_0x5868ae(0x1b3),!0x1),this[_0x5868ae(0x173)][_0x5868ae(0x19b)](this[_0x5868ae(0x18b)]()),_0x51dec3[_0x5868ae(0x19b)](this);}[_0x2a4335(0x1b1)](){const _0x129dda=_0x2a4335;super[_0x129dda(0x1b1)](),this[_0x129dda(0x196)]();}[_0x2a4335(0x1a8)](_0x380327){const _0x3f911a=_0x2a4335;this[_0x3f911a(0x1b7)][_0x3f911a(0x16e)]=_0x380327['id'],this[_0x3f911a(0x1b7)][_0x3f911a(0x170)][_0x3f911a(0x16d)][_0x3f911a(0x193)]=_0x380327[_0x3f911a(0x1a4)];}[_0x2a4335(0x17f)](_0x2ec534,_0x426121,_0x3ebadb,_0x759560,_0x58a17c,_0x30cf8a){const _0x350c79=_0x2a4335;this[_0x350c79(0x17e)](),this[_0x350c79(0x1a8)](_0x2ec534),this[_0x350c79(0x17b)]();const _0x475963=Array[_0x350c79(0x1b2)](_0x426121[_0x350c79(0x1ac)]())[_0x350c79(0x180)](),_0x34aa71=this[_0x350c79(0x192)](_0x3ebadb,_0x475963);_0x350c79(0x1b6)===_0x759560?(this[_0x350c79(0x1b3)]=!0x0,this[_0x350c79(0x1a1)](_0x2ec534['id']),this[_0x350c79(0x1af)]({'target':()=>this[_0x350c79(0x163)](_0x426121,_0x34aa71,_0x2ec534['id'],_0x58a17c,_0x30cf8a)})):_0x350c79(0x161)===_0x759560&&(this[_0x350c79(0x1b3)]=!0x1,this[_0x350c79(0x1af)]({'target':()=>this[_0x350c79(0x19c)](_0x426121,_0x34aa71,_0x2ec534['id'])}));}[_0x2a4335(0x1ae)](){const _0x3443cb=_0x2a4335;this[_0x3443cb(0x1b8)](),this[_0x3443cb(0x198)](),this[_0x3443cb(0x17e)](),this[_0x3443cb(0x184)]=void 0x0,this[_0x3443cb(0x189)]=void 0x0,this[_0x3443cb(0x1a6)]=void 0x0;}[_0x2a4335(0x160)](){const _0x31526c=_0x2a4335;this[_0x31526c(0x1b7)][_0x31526c(0x19e)]=!0x1;}[_0x2a4335(0x1b5)](){const _0x607595=_0x2a4335;this[_0x607595(0x1b7)][_0x607595(0x19e)]=!0x0;}[_0x2a4335(0x190)](){const _0x37a5c3=_0x2a4335;this[_0x37a5c3(0x168)](_0x37a5c3(0x190));}[_0x2a4335(0x17e)](){const _0x4e386f=_0x2a4335;_0x11862d[_0x4e386f(0x162)][_0x4e386f(0x1a2)](_0x4e386f(0x18e))[_0x4e386f(0x174)](_0x25cb23=>{const _0x597ec1=_0x4e386f;_0x25cb23[_0x597ec1(0x178)][_0x597ec1(0x19d)](_0x597ec1(0x185));});}[_0x2a4335(0x1a1)](_0x515d2d){const _0x4776c9=_0x2a4335;_0x11862d[_0x4776c9(0x162)][_0x4776c9(0x1a2)](_0x4776c9(0x16b)+_0x515d2d+'\x22]')[_0x4776c9(0x174)](_0xbfadd4=>{const _0x37d38b=_0x4776c9;_0xbfadd4[_0x37d38b(0x178)][_0x37d38b(0x19b)](_0x37d38b(0x185));});}[_0x2a4335(0x196)](){const _0x23edb0=_0x2a4335;_0x360195({'emitter':this,'activator':()=>this[_0x23edb0(0x19f)],'contextElements':()=>{const _0x5a6b93=_0x23edb0,_0x31fcc4=[this[_0x5a6b93(0x16d)]];return this[_0x5a6b93(0x189)]&&_0x31fcc4[_0x5a6b93(0x1a9)](this[_0x5a6b93(0x189)]),_0x31fcc4;},'callback':()=>{const _0x475438=_0x23edb0;this[_0x475438(0x1b8)](),this[_0x475438(0x198)](),this[_0x475438(0x17e)](),this[_0x475438(0x190)](),this[_0x475438(0x189)]=void 0x0,this[_0x475438(0x184)]=void 0x0,this[_0x475438(0x1a6)]=void 0x0;}});}[_0x2a4335(0x18b)](){const _0x3e39b5=_0x2a4335,_0x29ee4a=new _0x8d66b6();return this[_0x3e39b5(0x1b7)]=new _0x1453f8(this[_0x3e39b5(0x195)],''),this[_0x3e39b5(0x1b7)][_0x3e39b5(0x170)][_0x3e39b5(0x18d)]({'attributes':{'class':[_0x3e39b5(0x1b0)]}}),this[_0x3e39b5(0x1b7)][_0x3e39b5(0x1aa)](_0x3e39b5(0x164),_0x3e39b5(0x169))['to'](this),_0x29ee4a[_0x3e39b5(0x176)]({'tag':_0x3e39b5(0x199),'attributes':{'class':[_0x3e39b5(0x187),_0x3e39b5(0x18c),this[_0x3e39b5(0x1a3)]['if'](_0x3e39b5(0x1b3),_0x3e39b5(0x182))]},'children':[{'tag':'p','attributes':{'class':[_0x3e39b5(0x181)]},'children':[this[_0x3e39b5(0x1b7)]]}]}),_0x29ee4a;}[_0x2a4335(0x163)](_0x4469d3,_0x42c1f0,_0x3c7b3e,_0x48fc3c,_0x5a1bdd){const _0x1c9e3f=_0x2a4335,_0x2e1cea=this[_0x1c9e3f(0x16c)][_0x1c9e3f(0x19a)](_0x1c9e3f(0x186),''),_0x5eca37=Array[_0x1c9e3f(0x1b2)](_0x4469d3[_0x1c9e3f(0x1ac)]());let _0x5ee11a,_0x4b68c7=_0x5eca37[_0x1c9e3f(0x180)]();return void 0x0!==_0x42c1f0&&this[_0x1c9e3f(0x167)](_0x4b68c7[_0x42c1f0],_0x48fc3c,_0x5a1bdd)?(_0x5ee11a=_0x4b68c7[_0x42c1f0],this[_0x1c9e3f(0x184)]=_0x42c1f0):this[_0x1c9e3f(0x167)](_0x4b68c7[0x0],_0x48fc3c,_0x5a1bdd)&&void 0x0===_0x42c1f0?_0x5ee11a=_0x4b68c7[0x0]:(_0x4b68c7='s'==_0x2e1cea[0x0]?[..._0x5eca37][_0x1c9e3f(0x180)]():_0x5eca37,_0x4b68c7[_0x1c9e3f(0x174)](_0x2d9b74=>{const _0x2706a2=_0x1c9e3f;this[_0x2706a2(0x167)](_0x2d9b74,_0x48fc3c,_0x5a1bdd)&&(_0x5ee11a=_0x2d9b74);})),this[_0x1c9e3f(0x1a6)]=_0x3c7b3e,this[_0x1c9e3f(0x189)]=_0x4469d3,_0x5ee11a||_0x4469d3[_0x1c9e3f(0x194)]();}[_0x2a4335(0x19c)](_0x216d4e,_0x47f71a,_0x36d824){const _0x2cc9fd=_0x2a4335,_0x4cce0c=Array[_0x2cc9fd(0x1b2)](_0x216d4e[_0x2cc9fd(0x1ac)]())[_0x2cc9fd(0x180)]();if(void 0x0===this[_0x2cc9fd(0x184)]&&void 0x0!==_0x47f71a&&this[_0x2cc9fd(0x1a6)]!==_0x36d824)return this[_0x2cc9fd(0x184)]=_0x47f71a,this[_0x2cc9fd(0x189)]=_0x216d4e,this[_0x2cc9fd(0x1a6)]=_0x36d824,_0x4cce0c[_0x47f71a];if(void 0x0!==this[_0x2cc9fd(0x184)]&&this[_0x2cc9fd(0x1a6)]===_0x36d824){if(_0x216d4e!==this[_0x2cc9fd(0x189)])return Array[_0x2cc9fd(0x1b2)](this[_0x2cc9fd(0x189)][_0x2cc9fd(0x1ac)]())[_0x2cc9fd(0x180)]()[this[_0x2cc9fd(0x184)]];return _0x4cce0c[this[_0x2cc9fd(0x184)]];}return void 0x0!==_0x47f71a&&this[_0x2cc9fd(0x1a6)]!==_0x36d824?(this[_0x2cc9fd(0x184)]=_0x47f71a,this[_0x2cc9fd(0x189)]=_0x216d4e,this[_0x2cc9fd(0x1a6)]=_0x36d824,_0x4cce0c[_0x47f71a]):_0x216d4e[_0x2cc9fd(0x194)]();}[_0x2a4335(0x192)](_0x3ce656,_0x8505a8){const _0x3a4e31=_0x2a4335;if(_0x3ce656)for(let _0x592a75=0x0;_0x592a75<_0x8505a8[_0x3a4e31(0x1b4)];_0x592a75++){const _0x1b50ac=_0x8505a8[_0x592a75];if(_0x3ce656[_0x3a4e31(0x17a)]>=_0x1b50ac[_0x3a4e31(0x191)]-0x3&&_0x3ce656[_0x3a4e31(0x17a)]<=_0x1b50ac[_0x3a4e31(0x197)]+0x3&&_0x3ce656[_0x3a4e31(0x188)]>=_0x1b50ac[_0x3a4e31(0x18f)]-0x3&&_0x3ce656[_0x3a4e31(0x188)]<=_0x1b50ac[_0x3a4e31(0x1b9)]+0x3)return _0x592a75;}}[_0x2a4335(0x167)](_0xa1c17b,_0x5d2f9e,_0x285e0f){const _0x3624eb=_0x2a4335,_0xbac382=new _0x25bd7b(_0xa1c17b),_0x33efe6=_0x5d2f9e||document[_0x3624eb(0x183)],_0x45d716=_0xbac382[_0x3624eb(0x1a7)](_0x264e57(_0x285e0f)),_0x5c502b=new _0x25bd7b(_0x33efe6)[_0x3624eb(0x1a7)](_0xbac382);return!!(_0x45d716&&_0x5c502b&&_0xbac382[_0x3624eb(0x16f)]>0x0);}}
|