@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231122.0 → 0.0.0-nightly-20231123.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231123.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20231123.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231123.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d29=['rename','isLimit','acceptAllSuggestions','formatInline:join','newValue','getMultiRangeId','_breakSuggestionMarker','targetPosition','deletion:chain','createdAt','isArray','config','getAncestors','ck-suggestion-marker-','_suggestions','isInContent','Users','ck-suggestion-marker-formatBlock','pluginName','_reduceSuggestionAttributeRange','markInsertion','external:','_blockAttributeKeys','track-changes-adapter-missing-getsuggestion','markerReady','nodeBefore','suggestion:attribute:','$marker','schema','join','getShiftedBy','removeMarker','isAfter','insertion:accept','forEach','removed','_trackFormatChanges','editingDowncast','createSelection','suggestionLoaded','formatBlock','_mergeNestedSuggestions','formatBlock:','isCollapsed','return','tablePasteChainId','startsWith','key','stopListening','addClass','multi','getOperations','_defaultCallbacks','isMultiRange','suggestion-type','consumable','fire','_joinWithAdjacentSuggestions','ck-suggestion-marker','_registerDefaultCallbacks','_isForcedDefaultExecutionBlock','group','howMany','default','change:_saved','attribute:','addMarkerName','hasSuggestion','_joinSuggestions','_findSuggestions','_editor','isLocal','createRangeIn','getSuggestions','splice','rethrowUnexpectedError','FORMATTING','_commentsRepository','$graveyard','isOwn','enqueueChange','markInlineFormat','insertion:chain','_getAuthorFromId','ready','_isBlockAttribute','getAllAdjacentSuggestions','get','root','isAtEnd','_registerInlineAttribute','removeClass','discardSuggestion','suggestion','getSuggestion','authoredAt','enableCommand','skipNestingCheck','mapper','_customCallbacks','@external','_suggestionFactory','oldRange','refresh','update:suggestion','registerPostFixer','removeMarker:suggestion:attribute','_cutOutSuggestionMarker','ENTER','start','markers','updateMarker','dataReady','always','attributeNewValue','parent','nodeAfter','notReady','isInsideObject','writer','_setSuggestionData','addMarker:suggestion:attribute','attribute','keys','hasCommentThread','highest','containsRangeInObject','ariaLiveAnnouncer','head','low','insertContent','selection','getAttribute','discardSelectedSuggestions','fetchCommentThread','_getExternalAuthor','suggestionChanged','backward','accept','showSuggestionHighlights','insertion','_refreshAttributeSuggestionsChain','upcast','activeMarkers','forward','isRemovable','formatInline','ck-suggestion-marker--active','_updateSuggestionData','fromCharCode','formatInline:chain','normal','splitPosition','getUser','removeAttribute','listenTo','formatBlock:accept','addComment','marker-count','for','addUser','PendingActions','meta','_rangeIsInLocalUserInsertion','item','getIntersection','name','high','createRangeOn','LEAVE','trackChangesCommand','registerCustomCallback','elementToElement','fromRange','PENDING_ACTION_SUGGESTION','_SUGGESTION_ANNOUNCEMENT','markAttributeChange','newRange','options','execute','formatGroupId','document','data','some','createPositionBefore','every','data-suggestion','_descriptionFactory','_recordAttributeSuggestionsFromVersion','define','_handleNewSuggestionMarker','formatInline:accept','markBlockFormat','CommentsRepository','markMultiRangeBlockFormat','has','createPositionAt','setTo','requires','buildSuggestion','createElement','addMarker:suggestion','getRanges','groupId','TrackChangesEditing','position','markerToHighlight','markMultiRangeInsertion','clone','_getAttributeKeyFromSubType','addHighlight','getChanges','chain','_suggestionState','after','_enabledCommands','batch','oldValue','addSuggestion','_splitMarkerName','differ','type','error-saving-suggestion-data-suggestion-discarded','trackChanges','getSuggestionCallback','plugins','substring','attribute:accept','setSelection','addRange','filter','changeAttribute','includes','discardAllSuggestions','isObject','widget','_refreshSuggestionsChain','editing','attribute:join','addMarker:suggestion:formatBlock','isIntersectingWithRange','commandName','from','formatBlock:discard','_saved','isBefore','then','end','_recordAttributeChanges','acceptSelectedSuggestions','originalSuggestionId','isIntersecting','_addThreadToSuggestion','getNearestSelectionRange','_inlineAttributeKeys','previous','documentSelection','_processAttributeChanges','attributeOldValue','detach','containsRange','adapter','rootName','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','markMultiRangeDeletion','isTouching','substr','never','deletion:accept','removeMarker:suggestion:formatBlock','_removeSuggestion','split','move','getFirstMarker','unbind','_adapter','collaboration.channelId','stop','hasComments','ck-suggestion-marker-formatInline','before','addMarker','insert','getLastMatchingPosition','getFirstRange','attribute:discard','discard','forceDefaultExecution','getDifference','format','value','commands','subType','unbindElementFromMarkerName','creator','dataDowncast','length','map','_processAttributeSuggestions','acceptSuggestion','_addSuggestionMarker','isNextTo','markerNameToElements','change','author','deletion:','editor','_initAriaMarkerChangeAnnouncements','enableReadOnlyMode','warn','find','reconvertMarker','markerName','history','sort','deletion','delete','markDeletion','values','createRange','open','attributes','push','locale','add','next','_isDataLoaded','getChangedMarkers','formatInline:','conversion','isEqual','authorName','isSelectable','lowest','concat','insertion:','version','track-changes-suggestion-data-mismatch','consume','size','_model','deleteContent','trackChanges.mergeNestedSuggestions','element','deletion:join','containsPosition','$elementName','model','_reduceExistingSuggestions','unshift','multipleBlocks','containsItem','remove','toJSON','range','track-changes-suggestion-not-found','trackChanges.trackFormatChanges','updateSuggestion','removeMarkers','comments','getWalker','set','_getMarkerAnnouncementText','insertion:join','clear','_getSuggestionData','addSuggestionData','addCommentThread','_createSuggestion','_checkSuggestionCorrectness','getRange','deletion:discard','getCustomProperty','_setSuggestionRange','commentThread','toViewElement','setAttribute'];(function(_0x5df3a7,_0x4d298f){const _0x490343=function(_0x1627aa){while(--_0x1627aa){_0x5df3a7['push'](_0x5df3a7['shift']());}};_0x490343(++_0x4d298f);}(_0x4d29,0x1ef));const _0x4903=function(_0x5df3a7,_0x4d298f){_0x5df3a7=_0x5df3a7-0x0;let _0x490343=_0x4d29[_0x5df3a7];return _0x490343;};import{Plugin as _0x1f921e,PendingActions as _0x260062}from'ckeditor5/src/core';import{LiveRange as _0x316c8d}from'ckeditor5/src/engine';import{CKEditorError as _0x559cf2,uid as _0x57ed68,priorities as _0x3c020e,logWarning as _0x35e2da}from'ckeditor5/src/utils';import{toWidget as _0xb5ee10}from'ckeditor5/src/widget';import{Users as _0x428291,hashObject as _0x23d02b,surroundingMarkersDetector as _0x37cff1}from'ckeditor5-collaboration/src/collaboration-core';import _0x45753a from'./commands/trackchangescommand';import _0xa21db7 from'./commands/acceptsuggestioncommand';import _0xf630b9 from'./commands/discardsuggestioncommand';import _0x56af20 from'./commands/executeonallsuggestionscommand';import _0x43649e from'./commands/executeonselectedsuggestionscommand';import _0x3d7e56 from'./suggestion';import _0xf921e from'./suggestiondescriptionfactory';import _0x36f055 from'./integrations/aiassistant';import _0x12b856 from'./integrations/alignment';import _0x5ced98 from'./integrations/basicstyles';import _0x2fd764 from'./integrations/blockquote';import _0x31ed0e from'./integrations/ckbox';import _0xbad4ad from'./integrations/codeblock';import _0x45a2b1 from'./integrations/comments';import _0x563969 from'./integrations/deletecommand';import _0x5ad3de from'./integrations/documentlist';import _0x332510 from'./integrations/documentlistproperties';import _0x218089 from'./integrations/entercommand';import _0x57bc8b from'./integrations/findandreplace';import _0x4ec9bc from'./integrations/font';import _0xe7d3f1 from'./integrations/formatpainter';import _0x309602 from'./integrations/heading';import _0x5b75ff from'./integrations/highlight';import _0x4576c9 from'./integrations/horizontalline';import _0x5462ee from'./integrations/htmlembed';import _0x4628d0 from'./integrations/image';import _0x2d70b4 from'./integrations/imagereplace';import _0x13b733 from'./integrations/imagestyle';import _0x193a97 from'./integrations/importword';import _0x4518f0 from'./integrations/indent';import _0x15d56d from'./integrations/inputcommand';import _0x28ef73 from'./integrations/link';import _0x372cd4 from'./integrations/list';import _0x425cdd from'./integrations/listproperties';import _0xea4d2e from'./integrations/mediaembed';import _0x3d948f from'./integrations/mention';import _0x4d183b from'./integrations/pagebreak';import _0x5b7df6 from'./integrations/paragraph';import _0x2ecdc3 from'./integrations/removeformat';import _0x17b8a2 from'./integrations/restrictededitingmode';import _0x20d3af from'./integrations/shiftentercommand';import _0x161524 from'./integrations/standardeditingmode';import _0x2aae1a from'./integrations/style';import _0x4e9173 from'./integrations/table';import _0xeed88a from'./integrations/tablemergesplit';import _0x43fdcf from'./integrations/tableheadings';import _0x5f2c9c from'./integrations/tableclipboard';import _0x18069c from'./integrations/tablecolumnresize';import _0x5bcec0 from'./integrations/template';import _0x4c550f from'./integrations/tableofcontents';import _0x561fde from'./integrations/title';import _0x506a7d from'./integrations/undo';import _0x256f92 from'./integrations/tablecaption';import _0x4086d2 from'./integrations/tableproperties';import{getTranslation as _0x3cae21}from'./utils/common-translations';import{isEqual as _0x2475bf,omit as _0x4d3b7e}from'lodash-es';export const renameAttributeKey=_0x4903('0xe4');export default class p extends _0x1f921e{static get[_0x4903('0x50')](){return[_0x4903('0x4b'),_0x428291,_0x260062,_0x36f055,_0x12b856,_0x5ced98,_0x2fd764,_0x31ed0e,_0xbad4ad,_0x45a2b1,_0x563969,_0x5ad3de,_0x332510,_0x218089,_0x57bc8b,_0x4ec9bc,_0xe7d3f1,_0x309602,_0x5b75ff,_0x4576c9,_0x5462ee,_0x4628d0,_0x13b733,_0x2d70b4,_0x193a97,_0x4518f0,_0x15d56d,_0x28ef73,_0x372cd4,_0x425cdd,_0xea4d2e,_0x3d948f,_0x4d183b,_0x5b7df6,_0x2ecdc3,_0x17b8a2,_0x20d3af,_0x161524,_0x2aae1a,_0x4e9173,_0xeed88a,_0x43fdcf,_0x256f92,_0x5f2c9c,_0x18069c,_0x4c550f,_0x4086d2,_0x5bcec0,_0x561fde,_0x506a7d];}static get[_0x4903('0x115')](){return _0x4903('0x56');}constructor(_0x1f46f8){function _0x3225c9(_0xa605f8){return _0xa605f8['map'](_0x28fb13=>String[_0x4903('0x1f')](_0x28fb13))['join']('');}super(_0x1f46f8),this[_0x4903('0x46')]=null,this['set'](_0x4903('0x19'),[]),this['on']('change:activeMarkers',(_0x1c582f,_0x253dbd,_0x265a69,_0x70e28f)=>{this[_0x4903('0xde')][_0x4903('0xb9')](()=>{for(const _0x37959f of[..._0x70e28f,..._0x265a69])this[_0x4903('0xde')][_0x4903('0x171')]['has'](_0x37959f)&&_0x1f46f8[_0x4903('0x77')][_0x4903('0xc1')](_0x37959f);});}),this[_0x4903('0x45')]=new _0xf921e(this[_0x4903('0xbc')][_0x4903('0xe5')][_0x4903('0x11f')],this[_0x4903('0xbc')][_0x4903('0xcd')]),this[_0x4903('0x9d')]=null,this[_0x4903('0x168')]=new Bt(this['editor']),this['_suggestions']=new Map(),this[_0x4903('0x150')]=_0x1f46f8[_0x4903('0x6b')][_0x4903('0x15a')](_0x4903('0x4b')),this[_0x4903('0x61')]=new Set(),this[_0x4903('0xde')]=this[_0x4903('0xbc')][_0x4903('0xe5')],this[_0x4903('0x5f')]=new WeakMap(),this[_0x4903('0x13f')]=!0x1,this[_0x4903('0x119')]=new Set(['$elementName']),this[_0x4903('0x88')]=new Set(),_0x1f46f8[_0x4903('0x10e')][_0x4903('0x47')](_0x4903('0xee'),'default'),this[_0x4903('0x127')]=_0x1f46f8[_0x4903('0x10e')][_0x4903('0x15a')](_0x4903('0xee')),_0x1f46f8['config'][_0x4903('0x47')](_0x4903('0xe0'),!0x0),this[_0x4903('0x12c')]=_0x1f46f8[_0x4903('0x10e')][_0x4903('0x15a')]('trackChanges.mergeNestedSuggestions'),this[_0x4903('0x34')]=new _0x45753a(_0x1f46f8,this[_0x4903('0x61')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x3225c9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x3225c9([0x34,0x30,0x34,0x36,0x32,0x32,0x34,0x34]);}['init'](){const _0x306605=this['editor'],_0x3c450a=(_0x10129d,_0x14123a)=>{if(_0x4903('0x4')!=_0x10129d)return _0x4903('0x110')+_0x10129d;const _0x3800db=_0x14123a[_0x4903('0x99')]('|')[0x0];return this[_0x4903('0x158')](_0x3800db)?_0x4903('0x114'):_0x4903('0xa1');};_0x306605[_0x4903('0xd3')][_0x4903('0x29')](_0x4903('0x128'))[_0x4903('0x58')]({'model':_0x4903('0x160'),'view':_0x11d76a=>{const {id:_0x1f15db,type:_0x3b498e,subType:_0x529325}=this[_0x4903('0x65')](_0x11d76a[_0x4903('0xc2')]),_0x5839b9=['ck-suggestion-marker',_0x3c450a(_0x3b498e,_0x529325)];let _0x3d2217=0xbb8;return this['activeMarkers']['includes'](_0x11d76a[_0x4903('0xc2')])&&(_0x5839b9[_0x4903('0xcc')](_0x4903('0x1d')),_0x3d2217=0xbc2),_0x4903('0xc5')==_0x3b498e&&(_0x3d2217+=0x5),{'classes':_0x5839b9,'attributes':{'data-suggestion':_0x1f15db},'priority':_0x3d2217};}}),_0x306605['conversion'][_0x4903('0x29')](_0x4903('0xb1'))[_0x4903('0xce')](_0x6e82ab=>{_0x6e82ab['on'](_0x4903('0x53'),(_0x2fbb6b,_0x449f00,_0x144adf)=>{if(!_0x144adf[_0x4903('0x3c')][_0x4903('0x15')])return;const _0x4aba00=_0x449f00[_0x4903('0x2e')];if(!_0x4aba00)return;const _0x2075b6=_0x144adf[_0x4903('0x165')][_0x4903('0x101')](_0x4aba00);_0x306605[_0x4903('0xe5')]['schema'][_0x4903('0x74')](_0x4aba00)&&_0x2075b6&&!_0x2075b6[_0x4903('0xfe')](_0x4903('0x75'))&&_0x2075b6['is']('containerElement')&&_0xb5ee10(_0x2075b6,_0x144adf[_0x4903('0x1')]);},{'priority':_0x4903('0x31')});}),_0x306605[_0x4903('0xd3')][_0x4903('0x29')](_0x4903('0xb1'))['markerToHighlight']({'model':'suggestion','view':(_0x28571c,_0x56750a)=>{if(!_0x56750a[_0x4903('0x3c')][_0x4903('0x15')])return null;const {type:_0x2ccc0e,subType:_0x3f854c}=this[_0x4903('0x65')](_0x28571c[_0x4903('0xc2')]);return{'classes':[_0x4903('0x13d'),_0x3c450a(_0x2ccc0e,_0x3f854c)],'priority':0xbb8};}});const _0x4ea913=({showActiveMarkers:_0x20cce7=!0x0,isAttributeSuggestion:_0x406e25=!0x1}={})=>(_0x12efe1,_0x5af5e6,_0x6e1b7b)=>{if(!_0x5af5e6[_0x4903('0x2e')])return;const {id:_0x3fc16a}=this[_0x4903('0x65')](_0x5af5e6['markerName']);if(_0x406e25){const _0x51be0d=this['_suggestions']['get'](_0x3fc16a),_0x5b20ec=this[_0x4903('0x5b')](_0x51be0d);if(!this[_0x4903('0x158')](_0x5b20ec))return;}if(_0x5af5e6[_0x4903('0x2e')]['is']('selection'))return void _0x6e1b7b[_0x4903('0x13a')][_0x4903('0xdc')](_0x5af5e6['item'],_0x12efe1[_0x4903('0x30')]);const _0x6c744f=_0x6e1b7b[_0x4903('0x165')]['toViewElement'](_0x5af5e6[_0x4903('0x2e')]);if(_0x5af5e6[_0x4903('0x2e')]['is'](_0x4903('0xe1'))&&_0x306605['model']['schema']['isBlock'](_0x5af5e6['item'])&&!_0x6c744f[_0x4903('0xfe')](_0x4903('0x5c'))){_0x6e1b7b[_0x4903('0x1')][_0x4903('0x134')]([_0x4903('0x13d'),_0x4903('0x114')],_0x6c744f),_0x6e1b7b[_0x4903('0x1')][_0x4903('0x102')](_0x4903('0x44'),_0x3fc16a,_0x6c744f),_0x6e1b7b[_0x4903('0x165')]['bindElementToMarker'](_0x6c744f,_0x5af5e6[_0x4903('0xc2')]),_0x20cce7&&(this[_0x4903('0x19')][_0x4903('0x72')](_0x5af5e6[_0x4903('0xc2')])?_0x6e1b7b[_0x4903('0x1')][_0x4903('0x134')](_0x4903('0x1d'),_0x6c744f):_0x6e1b7b['writer']['removeClass'](_0x4903('0x1d'),_0x6c744f));for(const _0x319e0d of _0x306605['model'][_0x4903('0x14b')](_0x5af5e6['item'])['getItems']())_0x6e1b7b['consumable'][_0x4903('0xdc')](_0x319e0d,_0x12efe1['name']);_0x6e1b7b[_0x4903('0x13a')][_0x4903('0xdc')](_0x5af5e6[_0x4903('0x2e')],_0x12efe1[_0x4903('0x30')]);}};_0x306605['conversion'][_0x4903('0x29')]('dataDowncast')[_0x4903('0xce')](_0xd52406=>{_0xd52406['on'](_0x4903('0x79'),(_0x305495,_0x4f86bb,_0x343706)=>{_0x343706[_0x4903('0x3c')][_0x4903('0x15')]&&_0x4ea913({'showActiveMarkers':!0x1})(_0x305495,_0x4f86bb,_0x343706);},{'priority':_0x4903('0x7')});}),_0x306605[_0x4903('0xd3')][_0x4903('0x29')](_0x4903('0xb1'))[_0x4903('0xce')](_0x380379=>{_0x380379['on'](_0x4903('0x3'),(_0x4c52a6,_0x313772,_0x4878fe)=>{_0x4878fe[_0x4903('0x3c')][_0x4903('0x15')]&&_0x4ea913({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4c52a6,_0x313772,_0x4878fe);},{'priority':_0x4903('0x7')});}),_0x306605[_0x4903('0xd3')][_0x4903('0x29')](_0x4903('0xb1'))['markerToData']({'model':_0x4903('0x160'),'view':(_0x273c6c,_0xfff6a0)=>_0xfff6a0[_0x4903('0x3c')]['showSuggestionHighlights']?null:{'group':_0x4903('0x160'),'name':_0x273c6c[_0x4903('0x94')](0xb)}}),_0x306605[_0x4903('0xd3')]['for']('upcast')[_0x4903('0x36')]({'view':{'name':_0x4903('0x160'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x232ddf,{writer:_0x5ae233})=>{let _0x158d90='suggestion:'+_0x232ddf['getAttribute'](_0x4903('0x139'))+':'+_0x232ddf[_0x4903('0xe')]('id');return _0x232ddf[_0x4903('0xe')](_0x4903('0x28'))&&(_0x158d90+=':'+_0x232ddf[_0x4903('0xe')]('marker-count')),_0x5ae233[_0x4903('0x52')](_0x4903('0x11e'),{'data-name':_0x158d90});}}),_0x306605[_0x4903('0xd3')][_0x4903('0x29')](_0x4903('0x18'))['dataToMarker']({'view':'suggestion'}),_0x306605[_0x4903('0xd3')]['for'](_0x4903('0x128'))[_0x4903('0xce')](_0x4165fd=>{_0x4165fd['on'](_0x4903('0x79'),_0x4ea913(),{'priority':_0x4903('0x31')});}),_0x306605['conversion']['for'](_0x4903('0x128'))[_0x4903('0xce')](_0x52d9d0=>{_0x52d9d0['on'](_0x4903('0x3'),_0x4ea913({'isAttributeSuggestion':!0x0}),{'priority':_0x4903('0x31')});}),_0x306605[_0x4903('0xd3')]['for'](_0x4903('0x128'))['add'](_0x4ad08b=>{_0x4ad08b['on'](_0x4903('0x97'),(_0x1e2d46,_0x4561c4,_0xd58b70)=>{const _0x14684a=_0xd58b70[_0x4903('0x165')][_0x4903('0xb8')](_0x4561c4['markerName']);if(_0x14684a)for(const _0xbd556a of _0x14684a)_0xbd556a[_0x4903('0xfe')](_0x4903('0x5c'))||(_0xd58b70['writer'][_0x4903('0x15e')]([_0x4903('0x13d'),_0x4903('0x114'),_0x4903('0x1d')],_0xbd556a),_0xd58b70[_0x4903('0x1')]['removeAttribute']('data-suggestion',_0xbd556a),_0xd58b70[_0x4903('0x165')][_0x4903('0xaf')](_0xbd556a,_0x4561c4['markerName']));},{'priority':_0x4903('0x31')});}),_0x306605['conversion']['for'](_0x4903('0x128'))[_0x4903('0xce')](_0x3e21c4=>{_0x3e21c4['on'](_0x4903('0x16d'),(_0x48fb8c,_0x3782fd,_0x5308e1)=>{const _0x1dde22=_0x5308e1['mapper'][_0x4903('0xb8')](_0x3782fd['markerName']);if(!_0x1dde22)return;const {id:_0x377cbf}=this[_0x4903('0x65')](_0x3782fd['markerName']),_0x128f55=this[_0x4903('0x111')][_0x4903('0x15a')](_0x377cbf),_0x207290=this[_0x4903('0x5b')](_0x128f55);if(this[_0x4903('0x158')](_0x207290))for(const _0x7721a6 of _0x1dde22)_0x7721a6[_0x4903('0xfe')]('addHighlight')||(_0x5308e1[_0x4903('0x1')][_0x4903('0x15e')]([_0x4903('0x13d'),_0x4903('0x114'),'ck-suggestion-marker--active'],_0x7721a6),_0x5308e1['writer'][_0x4903('0x24')](_0x4903('0x44'),_0x7721a6),_0x5308e1[_0x4903('0x165')]['unbindElementFromMarkerName'](_0x7721a6,_0x3782fd[_0x4903('0xc2')]));},{'priority':'high'});}),_0x306605['model'][_0x4903('0x3f')][_0x4903('0x16c')](_0x178a21=>{let _0xadefc0=!0x1;const _0x233d9f=Array['from'](_0x306605[_0x4903('0xe5')][_0x4903('0x3f')][_0x4903('0x66')][_0x4903('0xd1')]()),_0x2a0a57=new Set();for(const {name:_0x581314,data:_0xf4c8be}of _0x233d9f){const {group:_0x36dd4e,type:_0x5d1777,subType:_0x18de4a,id:_0x17c803}=this['_splitMarkerName'](_0x581314);if('suggestion'!==_0x36dd4e)continue;const _0x4b1823=this[_0x4903('0x111')]['get'](_0x17c803);if(null!=_0xf4c8be[_0x4903('0x3b')]){_0x4903('0x1c')==_0x5d1777&&(_0xadefc0=_0xadefc0||Et(_0xf4c8be[_0x4903('0x3b')],_0x581314,_0x178a21,_0x306605[_0x4903('0xe5')][_0x4903('0x11f')]));const _0x4b10dd='attribute'==_0x5d1777&&this['_isBlockAttribute'](_0x18de4a['split']('|')[0x0]);if(_0xf4c8be[_0x4903('0x3b')][_0x4903('0x12e')]||_0x4903('0x151')==_0xf4c8be[_0x4903('0x3b')][_0x4903('0x15b')][_0x4903('0x90')]||_0x4903('0x12b')==_0x5d1777&&!jt(_0xf4c8be[_0x4903('0x3b')])||_0x4b10dd&&!jt(_0xf4c8be['newRange'])||'deletion'==_0x5d1777&&!(!xt(_0x4dd1e0=_0xf4c8be[_0x4903('0x3b')])&&!function(_0x38385b){return _0x38385b['start']['parent']==_0x38385b[_0x4903('0x81')][_0x4903('0x11c')]&&_0x38385b['start']['isAtEnd'];}(_0x4dd1e0)))_0x178a21[_0x4903('0x122')](_0x581314),_0xadefc0=!0x0;else{if(!_0x4b1823||!_0x4b1823['isInContent'])continue;_0x2a0a57[_0x4903('0xce')](_0x4b1823);}}}var _0x4dd1e0;return _0x2a0a57[_0x4903('0xdd')]>0x0&&(_0xadefc0=!!this[_0x4903('0x13c')](_0x2a0a57)||_0xadefc0),_0xadefc0;}),_0x306605[_0x4903('0xe5')]['document'][_0x4903('0x16c')](_0x304baf=>{let _0x542b28=!0x1;for(const _0x1ab1b4 of _0x306605[_0x4903('0xe5')][_0x4903('0x3f')][_0x4903('0x66')]['getChanges']())if('insert'==_0x1ab1b4[_0x4903('0x67')])for(const _0x4dbd7a of this[_0x4903('0x111')][_0x4903('0xc8')]()){if(_0x4dbd7a['isMultiRange']||!_0x4dbd7a['isInContent'])continue;const _0x3b5366=_0x4903('0x12b')==_0x4dbd7a[_0x4903('0x67')],_0x210d0b=this[_0x4903('0x5b')](_0x4dbd7a),_0x34e1cc=_0x210d0b&&this[_0x4903('0x158')](_0x210d0b);if(!_0x3b5366&&!_0x34e1cc)continue;const _0x4b189b=_0x4dbd7a[_0x4903('0xa6')]();if(_0x4b189b[_0x4903('0x170')][_0x4903('0x176')]!=_0x4b189b[_0x4903('0x81')][_0x4903('0x176')]&&!_0x4b189b[_0x4903('0x81')][_0x4903('0x15c')]){const _0xf60a5e=_0x306605['model'][_0x4903('0x4e')](_0x4b189b[_0x4903('0x170')][_0x4903('0x177')],_0x4903('0x81')),_0x1231bb=_0x306605['model'][_0x4903('0xc9')](_0x4b189b[_0x4903('0x170')],_0xf60a5e);_0x304baf[_0x4903('0x172')](_0x4dbd7a[_0x4903('0x9b')](),{'range':_0x1231bb}),_0x542b28=!0x0;}}return _0x542b28;}),_0x306605[_0x4903('0xe5')][_0x4903('0x3f')][_0x4903('0x16c')](_0x411b04=>this[_0x4903('0x8b')](_0x411b04)),_0x306605[_0x4903('0xe5')][_0x4903('0x3f')][_0x4903('0x16c')](_0x158171=>!_0x158171['batch'][_0x4903('0x14a')]&&this[_0x4903('0xb4')](_0x158171)),_0x306605[_0x4903('0xe5')][_0x4903('0x171')]['on'](_0x4903('0x16b'),(_0x44b335,_0xcbe9d2,_0x290f72)=>{if(null==_0x290f72){const {id:_0x37d231}=this[_0x4903('0x65')](_0xcbe9d2[_0x4903('0x30')]),_0x435ea3=this[_0x4903('0x111')][_0x4903('0x15a')](_0x37d231);_0x435ea3&&_0x435ea3[_0x4903('0x145')](_0xcbe9d2[_0x4903('0x30')]);}}),_0x306605['model']['document']['on']('change:data',()=>{const _0x5856b2=Array['from'](_0x306605[_0x4903('0xe5')][_0x4903('0x3f')][_0x4903('0x66')]['getChangedMarkers']())[_0x4903('0x70')](_0x1a7f9c=>'suggestion'===this[_0x4903('0x65')](_0x1a7f9c[_0x4903('0x30')])[_0x4903('0x140')]);if(0x0===_0x5856b2[_0x4903('0xb2')])return;_0x5856b2[_0x4903('0xc4')]((_0x20abee,_0x822d2a)=>{const _0xda0c9f=_0x20abee[_0x4903('0x40')][_0x4903('0x169')],_0x460a8a=_0x822d2a[_0x4903('0x40')][_0x4903('0x169')];return null===_0xda0c9f&&null===_0x460a8a?0x0:null===_0xda0c9f&&null!==_0x460a8a?-0x1:null!==_0xda0c9f&&null===_0x460a8a?0x1:_0xda0c9f[_0x4903('0x170')]['isBefore'](_0x460a8a['start'])?-0x1:0x1;});const _0x465f2b=new Set(),_0x4aa1bb=new Set();for(const {name:_0x2ed230,data:_0x125274}of _0x5856b2){const {id:_0x2f28a4}=this[_0x4903('0x65')](_0x2ed230);if(null===_0x125274[_0x4903('0x169')]){const _0x57abb4=this[_0x4903('0x48')](_0x2ed230);_0x4aa1bb[_0x4903('0xce')](_0x57abb4);}else{const _0x289bc8=this[_0x4903('0x111')][_0x4903('0x15a')](_0x2f28a4);null!==_0x125274[_0x4903('0x3b')]||_0x289bc8[_0x4903('0x112')]?(_0x465f2b['add'](_0x289bc8[_0x4903('0xa')]),_0x4aa1bb[_0x4903('0xce')](_0x289bc8)):this[_0x4903('0x98')](_0x289bc8);}}_0x4aa1bb[_0x4903('0xdd')]>0x0&&this[_0x4903('0x76')](_0x4aa1bb);for(const _0x47fc63 of _0x465f2b)this[_0x4903('0x13b')]('suggestionChanged',_0x47fc63);}),_0x306605[_0x4903('0xe5')]['on']('applyOperation',(_0x1cae9e,_0x5882fa)=>{const _0xeaa3c=_0x5882fa[0x0];if(!this[_0x4903('0x111')][_0x4903('0xdd')])return;if(!_0xeaa3c['isDocumentOperation'])return;if(_0xeaa3c['batch']['isUndo']||!_0xeaa3c[_0x4903('0x62')][_0x4903('0x14a')])return;let _0x27542c,_0x5c9a59;switch(_0xeaa3c[_0x4903('0x67')]){case _0x4903('0xa4'):_0x27542c=_0x306605[_0x4903('0xe5')][_0x4903('0x4e')](_0xeaa3c[_0x4903('0x57')]),_0x5c9a59=_0x27542c[_0x4903('0x121')](_0xeaa3c[_0x4903('0x141')]);break;case _0x4903('0x99'):_0x27542c=_0x306605[_0x4903('0xe5')][_0x4903('0x4e')](_0xeaa3c[_0x4903('0x22')]),_0x5c9a59=_0x306605[_0x4903('0xe5')][_0x4903('0x4e')](_0xeaa3c['moveTargetPosition']);break;case _0x4903('0x9a'):_0x27542c=_0x306605['model'][_0x4903('0x4e')](_0xeaa3c[_0x4903('0x10a')]),_0x5c9a59=_0x27542c[_0x4903('0x121')](_0xeaa3c[_0x4903('0x141')]);break;default:return;}const _0x481c20=_0x306605[_0x4903('0xe5')][_0x4903('0xc9')](_0x27542c,_0x5c9a59);_0x306605[_0x4903('0xe5')][_0x4903('0xb9')](()=>{for(const {suggestion:_0x3e476a,meta:_0x17231a}of this[_0x4903('0x148')](_0x481c20)){if(_0x3e476a[_0x4903('0x138')])continue;if(_0x4903('0x1c')==_0x3e476a[_0x4903('0x67')])continue;const _0x35c08f=this[_0x4903('0x5b')](_0x3e476a);if(_0x35c08f&&this[_0x4903('0x158')](_0x35c08f)&&_0x4903('0x99')!=_0xeaa3c[_0x4903('0x67')])continue;const _0x3aa98c=_0x3e476a[_0x4903('0x40')]&&_0x3e476a['data'][_0x4903('0xe8')];(_0x4903('0x12b')!=_0x3e476a[_0x4903('0x67')]||_0x4903('0x99')==_0xeaa3c[_0x4903('0x67')]&&!_0x3aa98c)&&(_0x17231a['containsRangeInObject']||_0x4903('0x16')==_0x3e476a[_0x4903('0x67')]&&_0x17231a[_0x4903('0x152')]||_0x3e476a[_0x4903('0xa6')]()[_0x4903('0x8e')](_0x481c20)&&this[_0x4903('0x109')](_0x3e476a,_0x27542c,_0x5c9a59));}});},{'priority':_0x4903('0xd7')}),_0x306605[_0x4903('0xe5')]['on']('deleteContent',(_0x20fba7,_0x4df5ee)=>{const _0x37329b=_0x4df5ee[0x0],_0x116cab=_0x4df5ee[0x1];if(_0x116cab&&_0x116cab[_0x4903('0xa9')])return;if(this[_0x4903('0x13f')])return;if(!this[_0x4903('0x34')][_0x4903('0xac')])return;if(_0x37329b[_0x4903('0x12e')])return;const _0x1c00dc=_0x306605[_0x4903('0xe5')][_0x4903('0x11f')],{start:_0x516d9d,end:_0x36fa2d}=_0x37329b['getFirstRange'](),_0x4795ba=_0x516d9d['nodeAfter']&&_0x1c00dc[_0x4903('0x104')](_0x516d9d[_0x4903('0x177')])?null:_0x1c00dc[_0x4903('0x87')](_0x516d9d,_0x4903('0x1a')),_0x2cb9a6=_0x36fa2d[_0x4903('0x11c')]&&_0x1c00dc['isLimit'](_0x36fa2d[_0x4903('0x11c')])?null:_0x1c00dc[_0x4903('0x87')](_0x36fa2d,_0x4903('0x13')),_0x1a1db4=_0x306605[_0x4903('0xe5')][_0x4903('0xc9')](_0x4795ba?_0x4795ba['start']:_0x516d9d,_0x2cb9a6?_0x2cb9a6[_0x4903('0x81')]:_0x36fa2d);_0x306605['model'][_0x4903('0xb9')](_0x1cab9d=>{this[_0x4903('0xc7')](_0x1a1db4);const _0x324e82=_0x306605[_0x4903('0xe5')][_0x4903('0x11f')]['getNearestSelectionRange'](_0x1a1db4['start']);_0x37329b['is'](_0x4903('0x8a'))?_0x1cab9d[_0x4903('0x6e')](_0x324e82):_0x37329b[_0x4903('0x4f')](_0x324e82);}),_0x20fba7[_0x4903('0x9f')]();},{'priority':_0x3c020e[_0x4903('0x21')]+0xa}),_0x306605[_0x4903('0xe5')]['on'](_0x4903('0xc'),(_0x1bb113,_0x28dc69)=>{const _0x4aae82=_0x28dc69[_0x28dc69['length']-0x1];_0x4aae82&&_0x4aae82[_0x4903('0xa9')]||this[_0x4903('0x13f')]||this['trackChangesCommand']['value']&&(_0x306605['model']['change'](()=>{let _0x30ac2e=_0x306605[_0x4903('0xe5')][_0x4903('0xc')](_0x28dc69[0x0],_0x28dc69[0x1],_0x28dc69[0x2],{'forceDefaultExecution':!0x0});if(!_0x30ac2e)return;_0x1bb113[_0x4903('0x12f')]=_0x30ac2e[_0x4903('0x5a')]();const _0x1b8fac=_0x30ac2e[_0x4903('0x81')][_0x4903('0x11c')],_0x29d9b0=_0x306605[_0x4903('0xe5')][_0x4903('0x11f')];_0x1b8fac&&_0x29d9b0['isBlock'](_0x1b8fac)&&!_0x29d9b0['isObject'](_0x1b8fac)&&(_0x30ac2e=_0x306605[_0x4903('0xe5')]['createRange'](_0x30ac2e[_0x4903('0x170')],_0x306605[_0x4903('0xe5')]['createPositionAt'](_0x1b8fac,_0x4903('0x81')))),this[_0x4903('0x117')](_0x30ac2e);}),_0x1bb113[_0x4903('0x9f')]());},{'priority':_0x4903('0x31')}),this['editor'][_0x4903('0xad')][_0x4903('0xce')]('trackChanges',this[_0x4903('0x34')]),this[_0x4903('0x163')](_0x4903('0x69'));const _0x3bf0dd=new _0xa21db7(_0x306605,this['_suggestions']);_0x306605[_0x4903('0xad')][_0x4903('0xce')](_0x4903('0xb5'),_0x3bf0dd),this[_0x4903('0x163')](_0x4903('0xb5'));const _0x27979e=new _0xf630b9(_0x306605,this[_0x4903('0x111')]);_0x306605[_0x4903('0xad')][_0x4903('0xce')]('discardSuggestion',_0x27979e),this[_0x4903('0x163')]('discardSuggestion'),_0x306605[_0x4903('0xad')]['add'](_0x4903('0x105'),new _0x56af20(_0x306605,_0x3bf0dd,this[_0x4903('0x111')])),this['enableCommand'](_0x4903('0x105')),_0x306605['commands'][_0x4903('0xce')](_0x4903('0x73'),new _0x56af20(_0x306605,_0x27979e,this['_suggestions'])),this[_0x4903('0x163')](_0x4903('0x73')),_0x306605[_0x4903('0xad')][_0x4903('0xce')](_0x4903('0x83'),new _0x43649e(_0x306605,_0x3bf0dd,this['_suggestions'])),this['enableCommand'](_0x4903('0x83')),_0x306605[_0x4903('0xad')][_0x4903('0xce')](_0x4903('0xf'),new _0x43649e(_0x306605,_0x27979e,this['_suggestions'])),this[_0x4903('0x163')](_0x4903('0xf'));const _0x2de281=_0x306605[_0x4903('0x6b')][_0x4903('0x15a')](_0x4903('0x4b'));this['listenTo'](_0x2de281,_0x4903('0x27'),(_0x4386d0,{threadId:_0x25a521})=>{const _0x5db1fd=this[_0x4903('0x111')][_0x4903('0x15a')](_0x25a521);_0x5db1fd&&_0x5db1fd['commentThread']&&0x1===_0x5db1fd[_0x4903('0x100')]['length']&&this['_updateSuggestionData'](_0x25a521,{'hasComments':!0x0});},{'priority':_0x4903('0xb')}),this[_0x4903('0x25')](_0x2de281,'removeComment',(_0xda4302,{threadId:_0x16de6a})=>{const _0x51cd4a=this[_0x4903('0x111')][_0x4903('0x15a')](_0x16de6a);_0x51cd4a&&_0x51cd4a['commentThread']&&!_0x51cd4a[_0x4903('0x100')][_0x4903('0xb2')]&&this['_updateSuggestionData'](_0x16de6a,{'hasComments':!0x1});},{'priority':_0x4903('0xb')});}set[_0x4903('0x8f')](_0x4dee3c){if(this[_0x4903('0x9d')])throw new _0x559cf2('track-changes-adapter-already-set',this);this[_0x4903('0x9d')]=_0x4dee3c;}get[_0x4903('0x8f')](){return this[_0x4903('0x9d')];}[_0x4903('0x14c')]({skipNotAttached:_0x3f1710=!0x1,toJSON:_0x27d5c3=!0x1}={}){const _0x58952e=[];for(const _0x303c00 of this[_0x4903('0x111')][_0x4903('0xc8')]())_0x3f1710&&!_0x303c00[_0x4903('0x112')]||_0x58952e[_0x4903('0xcc')](_0x303c00);return _0x27d5c3?_0x58952e['map'](_0x3e6a42=>_0x3e6a42[_0x4903('0xeb')]()):_0x58952e;}[_0x4903('0x161')](_0x3b7706){const _0x413ac7=this['_suggestions'][_0x4903('0x15a')](_0x3b7706);if(!_0x413ac7)throw new _0x559cf2(_0x4903('0xed'),this);return _0x413ac7;}[_0x4903('0x146')](_0x828ee7){return this[_0x4903('0x111')][_0x4903('0x4d')](_0x828ee7);}[_0x4903('0xf8')](_0x4f3658){const {authorId:_0x2c058c,id:_0x53a248,attributes:_0x58ad69}=_0x4f3658,[_0x3437fb,_0x31e81a]=_0x4f3658[_0x4903('0x67')][_0x4903('0x99')](':'),_0x95ad94=this['_suggestions'][_0x4903('0x15a')](_0x53a248)||this[_0x4903('0xfa')](_0x3437fb,_0x31e81a,_0x53a248,_0x2c058c,_0x58ad69);if(this[_0x4903('0x86')](_0x95ad94),this['_checkSuggestionCorrectness'](_0x95ad94,_0x3437fb,_0x31e81a||null,_0x2c058c),_0x95ad94[_0x4903('0x10c')]=_0x4f3658[_0x4903('0x10c')],_0x95ad94[_0x4903('0xd0')]=!0x0,_0x58ad69&&_0x58ad69[_0x4903('0x167')]){const _0xc613d1=_0x58ad69[_0x4903('0x167')],_0x988000=this[_0x4903('0x11')](_0xc613d1[_0x4903('0xd5')]);_0x95ad94[_0x4903('0x162')]=_0xc613d1[_0x4903('0x10c')],_0x95ad94[_0x4903('0xba')]=_0x988000,_0x95ad94['isExternal']=!0x0;}else _0x95ad94['authoredAt']=_0x4f3658[_0x4903('0x10c')];switch(_0x4f3658['data']&&(_0x95ad94[_0x4903('0x40')]=_0x4f3658[_0x4903('0x40')]),_0x4f3658[_0x4903('0xcb')]&&(_0x95ad94['attributes']=_0x4f3658[_0x4903('0xcb')]),this[_0x4903('0x9d')]&&this[_0x4903('0x9d')]['addSuggestion']||(_0x95ad94[_0x4903('0x7e')]=!0x0),this[_0x4903('0x5f')]['get'](_0x95ad94)){case'notReady':this[_0x4903('0x5f')][_0x4903('0xf3')](_0x95ad94,_0x4903('0x173'));break;case _0x4903('0x11b'):_0x95ad94['isInContent']?(this[_0x4903('0x76')](new Set([_0x95ad94])),this[_0x4903('0x13c')](new Set([_0x95ad94])),this[_0x4903('0x5f')][_0x4903('0xf3')](_0x95ad94,'ready'),this[_0x4903('0x13b')](_0x4903('0x12a'),_0x95ad94)):this[_0x4903('0x5f')][_0x4903('0xf3')](_0x95ad94,_0x4903('0x126'));}return _0x95ad94;}[_0x4903('0xb5')](_0x2a8f72){this[_0x4903('0xa9')](()=>{this[_0x4903('0xbc')][_0x4903('0xe5')]['change'](()=>{for(const _0xd6b3d0 of _0x2a8f72[_0x4903('0x159')]())_0xd6b3d0['accept']();});});}[_0x4903('0x15f')](_0x177e57){this[_0x4903('0xa9')](()=>{this[_0x4903('0xbc')][_0x4903('0xe5')][_0x4903('0xb9')](()=>{for(const _0x4d6228 of _0x177e57['getAllAdjacentSuggestions']())_0x4d6228[_0x4903('0xa8')]();});});}[_0x4903('0x163')](_0x24665f,_0x323436){const _0xf17955=this['editor'][_0x4903('0xad')][_0x4903('0x15a')](_0x24665f);if(!_0xf17955)throw new _0x559cf2('track-changes-command-not-found',this,{'commandName':_0x24665f});if(this['_enabledCommands']['has'](_0xf17955))throw new _0x559cf2('track-changes-enable-command-twice',this,{'commandName':_0x24665f});this[_0x4903('0x61')][_0x4903('0xce')](_0xf17955),_0x323436&&_0xf17955['on']('execute',(_0x4c0301,_0x422e52)=>{this[_0x4903('0x34')][_0x4903('0xac')]&&(this[_0x4903('0x13f')]||(_0x422e52[_0x4903('0xb2')]>0x0&&_0x422e52[_0x422e52[_0x4903('0xb2')]-0x1]&&_0x422e52[_0x422e52[_0x4903('0xb2')]-0x1][_0x4903('0xa9')]?_0x422e52['pop']():(_0x4c0301['return']=_0x323436((..._0x359c06)=>_0xf17955[_0x4903('0x3d')](..._0x359c06,{'forceDefaultExecution':!0x0}),..._0x422e52),_0x4c0301['stop']())));},{'priority':_0x4903('0x31')});}[_0x4903('0xa9')](_0x5116d9){let _0x25f7e9,_0xc65709;const _0x2b7b7c=this[_0x4903('0x13f')];this[_0x4903('0x13f')]=!0x0;try{_0x25f7e9=_0x5116d9();}catch(_0xea8ae6){_0xc65709=_0xea8ae6;}return _0x2b7b7c||(this[_0x4903('0x13f')]=!0x1),_0xc65709&&_0x559cf2[_0x4903('0x14e')](_0xc65709,this),_0x25f7e9;}['markInsertion'](_0x181741,_0x546e69=null,_0x2887c9={}){if(_0x181741[_0x4903('0x12e')])return null;const _0x4015ec=this[_0x4903('0xbc')][_0x4903('0x6b')][_0x4903('0x15a')]('Users')['me'];for(const {suggestion:_0x4417a8,meta:_0x1b78c8}of this[_0x4903('0x148')](_0x181741,_0x4903('0x16')))if(_0x1b78c8['isOwn']){if(!_0x1b78c8[_0x4903('0xb7')]){if(_0x1b78c8[_0x4903('0x8')]){if(!this[_0x4903('0x12c')]||!Ft(_0x4417a8,_0x2887c9))continue;return _0x4417a8;}if(Ft(_0x4417a8,_0x2887c9))return _0x4417a8;this['_breakSuggestionMarker'](_0x4417a8,_0x181741['start'],_0x181741[_0x4903('0x81')]);break;}if(_0x546e69==_0x4417a8[_0x4903('0xae')]&&Ft(_0x4417a8,_0x2887c9)){const _0x47efe3=_0x4417a8[_0x4903('0xa6')]();return _0x47efe3[_0x4903('0x170')][_0x4903('0xd4')](_0x181741[_0x4903('0x81')])?this[_0x4903('0xff')](_0x4417a8,this['_model']['createRange'](_0x181741[_0x4903('0x170')],_0x47efe3[_0x4903('0x81')])):this[_0x4903('0xff')](_0x4417a8,this[_0x4903('0xde')][_0x4903('0xc9')](_0x47efe3['start'],_0x181741[_0x4903('0x81')])),_0x4417a8;}}const _0x120356=_0x57ed68(),_0x227185=_0x4015ec['id'],_0x363d86=_0x546e69?_0x4903('0xd9')+_0x546e69:_0x4903('0x16'),_0x4f1b8c=this[_0x4903('0x2')]({'id':_0x120356,'type':_0x363d86,'createdAt':new Date(),'authorId':_0x227185,'attributes':_0x2887c9});return this[_0x4903('0xb6')](_0x363d86,_0x120356,_0x227185,_0x181741),_0x4f1b8c;}[_0x4903('0x59')](_0x890062,_0x1f6e97='multi',_0x465b96={}){const _0xca119f=this[_0x4903('0xbc')][_0x4903('0x6b')]['get'](_0x4903('0x113'))['me'],_0x21b0aa=this[_0x4903('0x168')][_0x4903('0x6a')](_0x4903('0x16'),_0x1f6e97,_0x4903('0x120'));for(const _0x1f1843 of this[_0x4903('0x14c')]())if(_0x1f1843['author']['id']==_0xca119f['id']&&_0x4903('0x16')==_0x1f1843[_0x4903('0x67')]&&_0x1f1843[_0x4903('0xae')]==_0x1f6e97&&Ft(_0x1f1843,_0x465b96)&&(_0x21b0aa(_0x1f1843[_0x4903('0x54')](),_0x890062)||_0x21b0aa(_0x890062,_0x1f1843[_0x4903('0x54')]()))){for(const _0x235770 of _0x890062)_0x1f1843['addRange'](_0x235770);return _0x1f1843;}for(const {suggestion:_0x5be1ef,meta:_0x2e35a8}of this[_0x4903('0x148')](_0x890062,_0x4903('0x16'))){if(!_0x2e35a8['isOwn'])continue;if(!this[_0x4903('0x12c')]&&_0x2e35a8[_0x4903('0x8')])continue;if(!Ft(_0x5be1ef,_0x465b96))continue;let _0x9a77e2=!0x0;for(const _0x73836e of _0x5be1ef[_0x4903('0x54')]())for(const _0x4efc36 of _0x890062)if(!_0x73836e[_0x4903('0x8e')](_0x4efc36)){_0x9a77e2=!0x1;break;}if(_0x9a77e2)return _0x5be1ef;}const _0x1baea4=_0x57ed68(),_0x4d0c5c=_0xca119f['id'],_0x2b9879='insertion:'+_0x1f6e97,_0x1b50f1=this[_0x4903('0x2')]({'id':_0x1baea4,'type':_0x2b9879,'createdAt':new Date(),'authorId':_0x4d0c5c,'attributes':_0x465b96});for(const _0x40ee78 of _0x890062)this[_0x4903('0xb6')](_0x2b9879,_0x1baea4,_0x4d0c5c,_0x40ee78,_0x3d7e56[_0x4903('0x108')]());return _0x1b50f1;}[_0x4903('0x154')](_0x30a36d,_0xf42045,_0x2e4dc4=null,_0x35b1bf={}){if(_0x2e4dc4=_0x2e4dc4||Rt(_0xf42045),_0x30a36d[_0x4903('0x12e')])return null;if(_0x4903('0x95')===this[_0x4903('0x127')]){const _0x20c586=this[_0x4903('0x168')][_0x4903('0x6a')](_0x4903('0x1c'),_0x2e4dc4,_0x4903('0x14'));return this[_0x4903('0xa9')](()=>_0x20c586([_0x30a36d],_0xf42045,_0x35b1bf)),null;}const _0x422812=this[_0x4903('0xbc')][_0x4903('0x6b')]['get'](_0x4903('0x113'))['me'],_0x309909=[];if(_0x4903('0x174')!==this[_0x4903('0x127')])for(const {suggestion:_0x1ace5b,meta:_0x2f6308}of this[_0x4903('0x148')](_0x30a36d,_0x4903('0x16')))_0x2f6308['isOwn']&&!_0x2f6308[_0x4903('0x0')]&&_0x309909[_0x4903('0xcc')](..._0x1ace5b[_0x4903('0x54')]());const _0x4f6fc1=function(_0x4e734a,_0x1f19ec){const _0x1e6e23=[];for(const _0x45eb09 of _0x1f19ec){const _0x48d57a=_0x4e734a['getIntersection'](_0x45eb09);_0x48d57a&&_0x1e6e23[_0x4903('0xcc')](_0x48d57a);}return _0x1e6e23;}(_0x30a36d,_0x309909),_0x252602=function(_0x34b079,_0x5e736c){const _0x3beb10=[_0x34b079];for(const _0x2ccbd8 of _0x5e736c){let _0x2a4abb=0x0;for(;_0x2a4abb<_0x3beb10[_0x4903('0xb2')];){const _0xc5a012=_0x3beb10[_0x2a4abb][_0x4903('0xaa')](_0x2ccbd8);_0x3beb10[_0x4903('0x14d')](_0x2a4abb,0x1,..._0xc5a012),_0x2a4abb+=_0xc5a012[_0x4903('0xb2')];}}return _0x3beb10;}(_0x30a36d,_0x309909);_0x4f6fc1[_0x4903('0xb2')]&&this[_0x4903('0xde')][_0x4903('0xb9')](()=>{for(const _0xdda7b8 of _0x4f6fc1){const _0x14dd87=this[_0x4903('0x168')][_0x4903('0x6a')](_0x4903('0x1c'),_0x2e4dc4,'accept');this['forceDefaultExecution'](()=>_0x14dd87([_0xdda7b8],_0xf42045,_0x35b1bf));}});for(const _0x2599b7 of _0x252602){let _0x4554cf=null,_0x29eeff=_0x2599b7[_0x4903('0x170')],_0x1eb636=_0x2599b7[_0x4903('0x81')];for(const {suggestion:_0x2b472b,meta:_0x2e55fc}of this[_0x4903('0x148')](_0x2599b7,'formatInline')){if(!_0x2e55fc[_0x4903('0x152')])continue;if(_0x2b472b[_0x4903('0xae')]!=_0x2e4dc4)continue;if(!Ft(_0x2b472b,_0x35b1bf))continue;const _0x51adc4=_0x2b472b[_0x4903('0xa6')]();if(_0x51adc4[_0x4903('0x8e')](_0x2599b7,!0x0))return null;_0x29eeff=_0x29eeff[_0x4903('0x7f')](_0x51adc4[_0x4903('0x170')])?_0x29eeff:_0x51adc4[_0x4903('0x170')],_0x1eb636=_0x1eb636[_0x4903('0x123')](_0x51adc4[_0x4903('0x81')])?_0x1eb636:_0x51adc4[_0x4903('0x81')],_0x4554cf?_0x51adc4[_0x4903('0x170')][_0x4903('0x7f')](_0x4554cf[_0x4903('0xa6')]()['start'])?(_0x4554cf[_0x4903('0xf0')](),_0x4554cf=_0x2b472b):_0x2b472b[_0x4903('0xf0')]():_0x4554cf=_0x2b472b;}const _0x5c769e=this[_0x4903('0xde')][_0x4903('0xc9')](_0x29eeff,_0x1eb636);if(_0x4554cf)this[_0x4903('0xff')](_0x4554cf,_0x5c769e);else{const _0x35a33f=_0x57ed68(),_0xfa21b0=_0x422812['id'];this[_0x4903('0x2')]({'id':_0x35a33f,'type':_0x4903('0xd2')+_0x2e4dc4,'data':_0xf42045,'createdAt':new Date(),'authorId':_0xfa21b0,'attributes':_0x35b1bf}),this[_0x4903('0xb6')](_0x4903('0xd2')+_0x2e4dc4,_0x35a33f,_0xfa21b0,_0x5c769e);}}return null;}[_0x4903('0x4a')](_0x192bd4,_0x10aa22,_0x18f692=[],_0x541162=null,_0x1f3131={}){_0x10aa22['formatGroupId']||(_0x10aa22['formatGroupId']=_0x10aa22[_0x4903('0x7b')]),_0x10aa22[_0x4903('0xe8')]=_0x192bd4['is'](_0x4903('0xec')),_0x541162=_0x541162||Rt(_0x10aa22);const _0x3fecf9=_0x18f692[_0x4903('0xb3')](_0x371110=>Ut(_0x371110,this['_model'])),_0x3271a8=_0x192bd4['is'](_0x4903('0xec'))?_0x192bd4:Ut(_0x192bd4,this[_0x4903('0xde')]);if(_0x4903('0x95')===this[_0x4903('0x127')]){const _0x6ca6f0=this['_suggestionFactory'][_0x4903('0x6a')](_0x4903('0x12b'),_0x541162,_0x4903('0x14'));return this[_0x4903('0xa9')](()=>_0x6ca6f0([_0x3271a8],_0x10aa22,_0x1f3131)),null;}_0x3fecf9[_0x4903('0xcc')](_0x3271a8);let _0x3ba4c5=!0x0;for(const _0x4a6649 of _0x3fecf9)if(!this['_rangeIsInLocalUserInsertion'](_0x4a6649)){_0x3ba4c5=!0x1;break;}if(_0x3ba4c5&&_0x4903('0x174')!==this['_trackFormatChanges']){const _0xb81ac6=this[_0x4903('0x168')]['getSuggestionCallback'](_0x4903('0x12b'),_0x541162,_0x4903('0x14'));return this[_0x4903('0xa9')](()=>_0xb81ac6([_0x3271a8],_0x10aa22,_0x1f3131)),null;}let _0x3003bd=null,_0x3160e0=_0x3271a8[_0x4903('0x170')],_0xf99102=_0x3271a8['end'];for(const {suggestion:_0x3a1472,meta:_0x1f80e6}of this[_0x4903('0x148')](_0x3271a8,_0x4903('0x12b'))){if(!_0x1f80e6[_0x4903('0x152')])continue;if(_0x1f80e6['isNextTo']||_0x1f80e6[_0x4903('0x8')]||_0x1f80e6[_0x4903('0x0')])continue;if(_0x3a1472[_0x4903('0x40')][_0x4903('0x3e')]!=_0x10aa22[_0x4903('0x3e')])continue;if(!Ft(_0x3a1472,_0x1f3131))continue;const _0x4c2357=_0x3a1472[_0x4903('0xa6')]();if(_0x3a1472[_0x4903('0xae')]==_0x541162){if(_0x4c2357[_0x4903('0x8e')](_0x3271a8,!0x0))return null;_0x3160e0=_0x3160e0[_0x4903('0x7f')](_0x4c2357['start'])?_0x3160e0:_0x4c2357[_0x4903('0x170')],_0xf99102=_0xf99102['isAfter'](_0x4c2357[_0x4903('0x81')])?_0xf99102:_0x4c2357[_0x4903('0x81')],_0x3003bd?_0x4c2357[_0x4903('0x170')][_0x4903('0x7f')](_0x3003bd[_0x4903('0xa6')]()[_0x4903('0x170')])?(_0x3003bd['removeMarkers'](),_0x3003bd=_0x3a1472):_0x3a1472[_0x4903('0xf0')]():_0x3003bd=_0x3a1472;}else{const _0x54059b=_0x3271a8[_0x4903('0x2f')](_0x4c2357);this[_0x4903('0x16e')](_0x3a1472,_0x54059b);}}const _0x40069d=this[_0x4903('0xbc')][_0x4903('0x6b')][_0x4903('0x15a')](_0x4903('0x113'))['me'],_0x28a865=_0x57ed68(),_0x27fd15=_0x40069d['id'];if(_0x3003bd)return this[_0x4903('0xff')](_0x3003bd,this[_0x4903('0xde')][_0x4903('0xc9')](_0x3160e0,_0xf99102)),_0x3003bd;{const _0x331e94=this['_setSuggestionData']({'id':_0x28a865,'type':_0x4903('0x12d')+_0x541162,'data':_0x10aa22,'createdAt':new Date(),'authorId':_0x27fd15,'attributes':_0x1f3131});return this[_0x4903('0xb6')](_0x4903('0x12d')+_0x541162,_0x28a865,_0x27fd15,this['_model'][_0x4903('0xc9')](_0x3160e0,_0xf99102)),_0x331e94;}}[_0x4903('0x4c')](_0x6da965,_0x4b09e7,_0x17ab65=[],_0x48a4f3=null,_0x559ce3={}){_0x4b09e7[_0x4903('0x3e')]||(_0x4b09e7[_0x4903('0x3e')]=_0x4b09e7[_0x4903('0x7b')]);const _0x26a53b=_0x6da965[0x0];_0x4b09e7[_0x4903('0xe8')]=_0x26a53b['is'](_0x4903('0xec')),_0x48a4f3=_0x48a4f3||Rt(_0x4b09e7);const _0x3afd80=_0x17ab65[_0x4903('0xb3')](_0x54838d=>Ut(_0x54838d,this[_0x4903('0xde')])),_0x1e3664=_0x26a53b['is'](_0x4903('0xec'))?_0x6da965:_0x6da965[_0x4903('0xb3')](_0x31c245=>Ut(_0x31c245,this[_0x4903('0xde')]));if(_0x4903('0x95')===this['_trackFormatChanges']){const _0x58837a=this[_0x4903('0x168')][_0x4903('0x6a')](_0x4903('0x12b'),_0x48a4f3,'accept');return this[_0x4903('0xa9')](()=>_0x58837a(_0x1e3664,_0x4b09e7,_0x559ce3)),null;}_0x3afd80[_0x4903('0xcc')](..._0x1e3664);let _0x42b53b=!0x0;for(const _0xd634d3 of _0x3afd80)if(!this[_0x4903('0x2d')](_0xd634d3)){_0x42b53b=!0x1;break;}if(_0x42b53b&&_0x4903('0x174')!==this[_0x4903('0x127')]){const _0x1e3b54=this[_0x4903('0x168')][_0x4903('0x6a')](_0x4903('0x12b'),_0x48a4f3,_0x4903('0x14'));return this['forceDefaultExecution'](()=>_0x1e3b54(_0x1e3664,_0x4b09e7,_0x559ce3)),null;}const _0x11e457=this['editor']['plugins'][_0x4903('0x15a')](_0x4903('0x113'))['me'];for(const _0x437c21 of this[_0x4903('0x14c')]()){if(_0x437c21[_0x4903('0xba')]['id']!=_0x11e457['id'])continue;if(_0x4903('0x12b')!=_0x437c21[_0x4903('0x67')]||_0x437c21[_0x4903('0x40')]['formatGroupId']!=_0x4b09e7[_0x4903('0x3e')])continue;if(!Ft(_0x437c21,_0x559ce3))continue;const _0x3be1d4=_0x437c21[_0x4903('0xae')]==_0x48a4f3;for(let _0x234500=0x0;_0x234500<_0x1e3664[_0x4903('0xb2')];_0x234500++){const _0x561536=_0x1e3664[_0x234500];for(const _0x107410 of _0x437c21['getMarkers']()){const _0x4bb5fc=_0x107410[_0x4903('0xfc')]();if(_0x561536['isEqual'](_0x4bb5fc)){_0x3be1d4?(_0x1e3664['splice'](_0x234500,0x1),_0x234500--):_0x437c21[_0x4903('0x122')](_0x107410[_0x4903('0x30')]);break;}}}}if(0x0==_0x1e3664['length'])return null;const _0x33c537=this[_0x4903('0x168')][_0x4903('0x6a')](_0x4903('0x12b'),_0x48a4f3,_0x4903('0x120'));for(const _0x49d932 of this[_0x4903('0x14c')]())if(_0x49d932[_0x4903('0xba')]['id']==_0x11e457['id']&&_0x4903('0x12b')==_0x49d932[_0x4903('0x67')]&&_0x49d932[_0x4903('0x40')][_0x4903('0x3e')]==_0x4b09e7['formatGroupId']&&_0x49d932['subType']==_0x48a4f3&&Ft(_0x49d932,_0x559ce3)&&(_0x33c537(_0x49d932[_0x4903('0x54')](),_0x1e3664)||_0x33c537(_0x1e3664,_0x49d932[_0x4903('0x54')]()))){for(const _0x7b6808 of _0x1e3664)_0x49d932[_0x4903('0x6f')](_0x7b6808);return _0x49d932;}const _0x1f2ff2=_0x57ed68(),_0x31f529=_0x11e457['id'],_0x5c75b1=_0x4903('0x12d')+_0x48a4f3,_0xbd08b=this[_0x4903('0x2')]({'id':_0x1f2ff2,'type':_0x5c75b1,'data':_0x4b09e7,'createdAt':new Date(),'authorId':_0x31f529,'attributes':_0x559ce3});for(const _0x407e98 of _0x1e3664)this[_0x4903('0xb6')](_0x5c75b1,_0x1f2ff2,_0x31f529,_0x407e98,_0x3d7e56[_0x4903('0x108')]());return _0xbd08b;}[_0x4903('0xc7')](_0x440e9f,_0x381ef4=null,_0x137e3a={}){if(_0x440e9f['isCollapsed'])return null;const _0x5a8474=this['editor'][_0x4903('0x6b')][_0x4903('0x15a')](_0x4903('0x113'))['me'],_0x154049=new _0x316c8d(_0x440e9f[_0x4903('0x170')],_0x440e9f[_0x4903('0x81')]);for(const {suggestion:_0x5bdde7,meta:_0x2fc5cb}of this[_0x4903('0x148')](_0x154049,_0x4903('0x16')))if(_0x2fc5cb['isOwn']&&!_0x2fc5cb[_0x4903('0xb7')]){if(_0x5bdde7['isMultiRange']){const _0x25a9c8=_0x5bdde7[_0x4903('0x54')]()[_0x4903('0x70')](_0x5cc78e=>_0x4903('0x151')!=_0x5cc78e[_0x4903('0x15b')][_0x4903('0x90')]);_0x25a9c8['every'](_0x59f212=>_0x154049[_0x4903('0x8e')](_0x59f212,!0x0))&&_0x5bdde7[_0x4903('0xa8')]();if(_0x25a9c8[_0x4903('0x41')](_0x53f8e3=>_0x53f8e3[_0x4903('0x8e')](_0x154049,!0x0))){const _0x408d1c=this[_0x4903('0x168')][_0x4903('0x6a')]('deletion',_0x381ef4,_0x4903('0x14'));return this[_0x4903('0xa9')](()=>_0x408d1c([_0x154049],null,_0x137e3a)),null;}}else{const _0xd22721=_0x154049[_0x4903('0x2f')](_0x5bdde7[_0x4903('0xa6')]());null!==_0xd22721&&_0x5bdde7['_onDiscard']([_0xd22721],null,_0x137e3a);}}if(_0x154049[_0x4903('0x8d')](),_0x154049['isCollapsed']||_0x4903('0x151')==_0x154049[_0x4903('0x15b')][_0x4903('0x90')])return null;let _0x34c257=null,_0x42d06a=_0x154049[_0x4903('0x170')],_0xe354cb=_0x154049[_0x4903('0x81')];const _0x32e3b2=this['_findSuggestions'](_0x154049,_0x4903('0xc5'));for(const {suggestion:_0x506676,meta:_0x410a29}of _0x32e3b2){const _0x5a6189=this[_0x4903('0xde')][_0x4903('0xc9')](_0x42d06a,_0xe354cb);if(_0x410a29[_0x4903('0x152')]&&(this[_0x4903('0x12c')]||!_0x410a29[_0x4903('0x8')]&&!_0x410a29[_0x4903('0x0')])){if(_0x506676[_0x4903('0x138')]){if(!Ft(_0x506676,_0x137e3a))continue;let _0x365eb4=!0x0;for(const _0x76aa90 of _0x506676[_0x4903('0x54')]()){if(_0x76aa90['containsRange'](_0x5a6189,!0x0))return _0x506676;_0x5a6189[_0x4903('0x8e')](_0x76aa90)||(_0x365eb4=!0x1);}_0x365eb4&&_0x506676['discard']();}else{const _0xaff5e6=_0x506676['getFirstRange']();if(_0xaff5e6[_0x4903('0x8e')](_0x5a6189,!0x0))return _0x506676;if(!Ft(_0x506676,_0x137e3a)){_0x5a6189[_0x4903('0x8e')](_0xaff5e6)?_0x506676[_0x4903('0xf0')]():_0xaff5e6[_0x4903('0xe3')](_0x42d06a)?_0x42d06a=_0xaff5e6[_0x4903('0x81')]:_0xaff5e6[_0x4903('0xe3')](_0xe354cb)&&(_0xe354cb=_0xaff5e6[_0x4903('0x170')]);continue;}_0x42d06a=_0x42d06a[_0x4903('0x7f')](_0xaff5e6[_0x4903('0x170')])?_0x42d06a:_0xaff5e6['start'],_0xe354cb=_0xe354cb[_0x4903('0x123')](_0xaff5e6[_0x4903('0x81')])?_0xe354cb:_0xaff5e6[_0x4903('0x81')],_0x137e3a=Object['assign']({},_0x506676[_0x4903('0xcb')]),_0x34c257?_0xaff5e6[_0x4903('0x170')][_0x4903('0x7f')](_0x34c257[_0x4903('0xa6')]()[_0x4903('0x170')])?(_0x34c257['removeMarkers'](),_0x34c257=_0x506676):_0x506676['removeMarkers']():_0x34c257=_0x506676;}}}if(_0x34c257)return this[_0x4903('0xff')](_0x34c257,this[_0x4903('0xde')][_0x4903('0xc9')](_0x42d06a,_0xe354cb)),_0x34c257;{const _0x423913=_0x57ed68(),_0x361ab3=this[_0x4903('0xde')][_0x4903('0xc9')](_0x42d06a,_0xe354cb),_0x45bb05=_0x5a8474['id'],_0xb697d7=_0x381ef4?_0x4903('0xbb')+_0x381ef4:_0x4903('0xc5'),_0x52c458=this['_setSuggestionData']({'id':_0x423913,'type':_0xb697d7,'createdAt':new Date(),'authorId':_0x45bb05,'attributes':_0x137e3a});return this[_0x4903('0xb6')](_0xb697d7,_0x423913,_0x45bb05,_0x361ab3),_0x52c458;}}[_0x4903('0x92')](_0xe3f84a,_0x251919=_0x4903('0x135'),_0x3a7eca={}){const _0xfba8a5=this[_0x4903('0xbc')][_0x4903('0x6b')][_0x4903('0x15a')](_0x4903('0x113'))['me'],_0x530470=_0xe3f84a[_0x4903('0xb3')](_0x487271=>new _0x316c8d(_0x487271['start'],_0x487271[_0x4903('0x81')])),_0x6c690e=new Set();for(const {suggestion:_0x4bed5e,meta:_0x5da43f}of this[_0x4903('0x148')](_0x530470,_0x4903('0x16')))_0x5da43f['isOwn']&&!_0x5da43f['isNextTo']&&_0x6c690e[_0x4903('0xce')](_0x4bed5e);for(const _0x5147e8 of _0x6c690e)if(_0x5147e8[_0x4903('0x138')]){const _0x53974e=_0x5147e8['getRanges']();(!_0x5147e8['attributes']||!_0x5147e8['attributes'][_0x4903('0x164')])&&(_0x53974e['every'](_0x3845aa=>_0x530470[_0x4903('0x41')](_0x211195=>_0x211195[_0x4903('0x8e')](_0x3845aa,!0x0)))&&_0x5147e8[_0x4903('0xa8')]());if(_0x530470[_0x4903('0x43')](_0x13dfd3=>_0x53974e[_0x4903('0x41')](_0x1fd4b5=>_0x1fd4b5[_0x4903('0x8e')](_0x13dfd3,!0x0)))){const _0x461746=this['_suggestionFactory'][_0x4903('0x6a')](_0x4903('0xc5'),_0x251919,_0x4903('0x14'));return this['forceDefaultExecution'](()=>_0x461746(_0xe3f84a,null,_0x3a7eca)),null;}}else{const _0xccf967=_0x5147e8[_0x4903('0xa6')]();_0x530470[_0x4903('0x41')](_0x2ca9ff=>_0x2ca9ff[_0x4903('0x8e')](_0xccf967,!0x0))&&_0x5147e8['discard']();if(_0x530470[_0x4903('0x43')](_0x5ae24d=>_0xccf967['containsRange'](_0x5ae24d,!0x0))){const _0x24c867=this[_0x4903('0x168')][_0x4903('0x6a')](_0x4903('0xc5'),_0x251919,_0x4903('0x14'));return this[_0x4903('0xa9')](()=>_0x24c867(_0x530470,null,_0x3a7eca)),null;}}const _0x331100=this[_0x4903('0x168')][_0x4903('0x6a')]('deletion',_0x251919,'join');let _0x216872=null;for(const _0x109ffa of this['getSuggestions']())if(_0x109ffa[_0x4903('0xba')]['id']==_0xfba8a5['id']&&_0x109ffa[_0x4903('0x112')]&&'deletion'==_0x109ffa[_0x4903('0x67')]&&_0x109ffa[_0x4903('0xae')]==_0x251919&&Ft(_0x109ffa,_0x3a7eca)&&(_0x331100(_0x109ffa[_0x4903('0x54')](),_0x530470)||_0x331100(_0x530470,_0x109ffa[_0x4903('0x54')]()))){if(_0x216872){if(_0x109ffa[_0x4903('0x100')]&&_0x109ffa[_0x4903('0x100')][_0x4903('0xb2')])continue;for(const _0x1086c1 of _0x109ffa[_0x4903('0x54')]())_0x216872[_0x4903('0x7a')](_0x1086c1)||_0x216872[_0x4903('0x6f')](_0x1086c1);_0x109ffa[_0x4903('0xf0')]();}else{_0x216872=_0x109ffa;for(const _0x1b7e06 of _0x530470)_0x109ffa[_0x4903('0x7a')](_0x1b7e06)||_0x109ffa[_0x4903('0x6f')](_0x1b7e06);}}if(_0x216872)return _0x216872;_0x6c690e[_0x4903('0xf6')]();for(const {suggestion:_0x59842e,meta:_0x1659f3}of this['_findSuggestions'](_0x530470,_0x4903('0xc5')))_0x1659f3[_0x4903('0x152')]&&(this[_0x4903('0x12c')]||!_0x1659f3[_0x4903('0x8')]&&!_0x1659f3[_0x4903('0x0')])&&Ft(_0x59842e,_0x3a7eca)&&_0x6c690e[_0x4903('0xce')](_0x59842e);for(const _0x4b347c of _0x6c690e){const _0x227d08=_0x4b347c['getRanges']();if(!_0x3a7eca||!_0x3a7eca['skipNestingCheck']){if(_0x530470[_0x4903('0x43')](_0x19b7db=>_0x227d08[_0x4903('0x41')](_0x46a914=>_0x46a914[_0x4903('0x8e')](_0x19b7db,!0x0))))return _0x4b347c;}(!_0x4b347c[_0x4903('0xcb')]||!_0x4b347c[_0x4903('0xcb')][_0x4903('0x164')])&&(_0x227d08[_0x4903('0x43')](_0x371944=>_0x530470[_0x4903('0x41')](_0xf4dfbe=>_0xf4dfbe['containsRange'](_0x371944,!0x0)))&&_0x4b347c['discard']());}const _0x1e5c48=_0x57ed68(),_0x2e0324=_0xfba8a5['id'],_0xf3e073='deletion:'+_0x251919,_0x57421a=this[_0x4903('0x2')]({'id':_0x1e5c48,'type':_0xf3e073,'createdAt':new Date(),'authorId':_0x2e0324,'attributes':_0x3a7eca});for(const _0x11b5b9 of _0x530470)_0x11b5b9[_0x4903('0x8d')](),_0x11b5b9[_0x4903('0x12e')]||_0x4903('0x151')==_0x11b5b9[_0x4903('0x15b')][_0x4903('0x90')]||this[_0x4903('0xb6')](_0xf3e073,_0x1e5c48,_0x2e0324,_0x11b5b9,_0x3d7e56[_0x4903('0x108')]());return _0x57421a;}[_0x4903('0x3a')](_0x253e2a,_0x4f8a29,_0x27f604,_0xf32bc3,_0x22bb26){if(_0x253e2a[_0x4903('0x12e')])return[];if(_0x4903('0x95')===this[_0x4903('0x127')])return[];const _0x1ea50c=this['editor']['plugins'][_0x4903('0x15a')](_0x4903('0x113'))['me']['id'],_0x1973c3=Array[_0x4903('0x7c')](this[_0x4903('0x111')][_0x4903('0xc8')]())[_0x4903('0x70')](_0x259e5e=>'attribute'==_0x259e5e[_0x4903('0x67')]&&_0x259e5e['data'][_0x4903('0x132')]==_0x4f8a29&&_0x259e5e[_0x4903('0x7a')](_0x253e2a));if(_0x4903('0x142')===this[_0x4903('0x127')]){const _0x10544d=this[_0x4903('0x148')](_0x253e2a,'insertion')[_0x4903('0x70')](({meta:_0x4edb83})=>_0x4edb83[_0x4903('0x152')]&&!_0x4edb83[_0x4903('0x0')]&&!_0x4edb83[_0x4903('0xb7')])[_0x4903('0xb3')](({suggestion:_0x30bccf})=>_0x30bccf);_0x1973c3[_0x4903('0xe7')](..._0x10544d);}const _0x4b6b13=new Map([[_0x253e2a,_0x27f604]]);for(const _0x195447 of _0x1973c3){const _0x17b83f='attribute'==_0x195447[_0x4903('0x67')]?_0x195447[_0x4903('0x40')][_0x4903('0x63')]:void 0x0,_0x21d40a=_0x195447[_0x4903('0xa6')](),_0x3bcb43=Array[_0x4903('0x7c')](_0x4b6b13['keys']())[_0x4903('0xc0')](_0x562989=>_0x562989['isIntersecting'](_0x21d40a));_0x3bcb43&&(_0x4b6b13[_0x4903('0xc6')](_0x3bcb43),_0x3bcb43[_0x4903('0xaa')](_0x21d40a)[_0x4903('0x125')](_0x3ebe33=>{_0x4b6b13['set'](_0x3ebe33,_0x27f604);}),_0x4903('0x16')!=_0x195447[_0x4903('0x67')]&&_0x17b83f!=_0xf32bc3&&_0x4b6b13['set'](_0x3bcb43[_0x4903('0x2f')](_0x21d40a),_0x17b83f));}const _0x53a708=[];for(const [_0x44261a,_0x2ac5fb]of _0x4b6b13){const _0x1d1b4a=_0x57ed68(),_0x2a4732={'key':_0x4f8a29,'oldValue':_0x2ac5fb,'newValue':_0xf32bc3};_0x4f8a29[_0x4903('0xb2')]>0x25&&console[_0x4903('0xbf')](_0x4903('0x91'),{'key':_0x4f8a29});const _0x1600c8=(_0x4903('0x144')+(_0x4f8a29+'|'+Rt({'newValue':_0xf32bc3})))[_0x4903('0x6c')](0x0,0x3c),_0x54736c=this[_0x4903('0x2')]({'id':_0x1d1b4a,'type':_0x1600c8,'data':_0x2a4732,'createdAt':new Date(),'authorId':_0x1ea50c,'attributes':_0x22bb26});_0x53a708[_0x4903('0xcc')](_0x54736c),this[_0x4903('0xb6')](_0x1600c8,_0x1d1b4a,_0x1ea50c,_0x44261a);}return _0x53a708;}['_registerBlockAttribute'](_0x46b1e1){this[_0x4903('0x119')][_0x4903('0xce')](_0x46b1e1);}[_0x4903('0x15d')](_0x2f1dae){this['_inlineAttributeKeys'][_0x4903('0xce')](_0x2f1dae);}['_enableDefaultAttributesIntegration'](_0x46b357,_0x3f4b01=[],_0x23cb27=[]){this['enableCommand'](_0x46b357,(_0x3ecf85,..._0x3bd2f9)=>{this['_recordAttributeChanges'](()=>{_0x3ecf85(..._0x3bd2f9);});});for(const _0x3025c9 of _0x3f4b01)this[_0x4903('0x15d')](_0x3025c9);for(const _0x408635 of _0x23cb27)this['_registerBlockAttribute'](_0x408635);}['_setSuggestionRange'](_0x8ba293,_0x53b25e){const _0x160abf=_0x8ba293[_0x4903('0x9b')]();this[_0x4903('0xde')][_0x4903('0xb9')](_0x37b542=>{_0x37b542[_0x4903('0x172')](_0x160abf,{'range':_0x53b25e});});}['_addThreadToSuggestion'](_0x51b2da){const _0x3dd2ef=_0x51b2da['id'],_0x257b0a=this['editor']['config'][_0x4903('0x15a')](_0x4903('0x9e'));this['_commentsRepository'][_0x4903('0x6')](_0x3dd2ef)||this[_0x4903('0x150')][_0x4903('0xf9')]({'channelId':_0x257b0a,'threadId':_0x3dd2ef,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x41f3cd=this[_0x4903('0x150')]['getCommentThread'](_0x3dd2ef);_0x41f3cd[_0x4903('0x9c')](_0x4903('0x1b')),_0x41f3cd['isRemovable']=!0x1,_0x51b2da['commentThread']=_0x41f3cd;}[_0x4903('0xfb')](_0x55636b,_0x3e652e,_0x4e89a6,_0x341726){if(_0x55636b[_0x4903('0x67')]!=_0x3e652e||_0x55636b[_0x4903('0xae')]!=_0x4e89a6||_0x55636b[_0x4903('0xb0')]['id']!=_0x341726)throw this['editor'][_0x4903('0xbe')](_0x4903('0xdb')),new _0x559cf2(_0x4903('0xdb'),this);}['_cutOutSuggestionMarker'](_0x34d577,_0x1d5383){const _0x27099d=_0x34d577[_0x4903('0xa6')]();if(_0x1d5383['isEqual'](_0x27099d))_0x34d577[_0x4903('0xf0')]();else{if(_0x27099d[_0x4903('0x8e')](_0x1d5383)){const _0x18cc12=this['_model'][_0x4903('0x4e')](_0x1d5383[_0x4903('0x170')]['nodeBefore'],'end');this['_setSuggestionRange'](_0x34d577,this[_0x4903('0xde')][_0x4903('0xc9')](_0x27099d[_0x4903('0x170')],_0x18cc12));const _0x2e3443=_0x57ed68(),_0x50861c=_0x34d577['creator']['id'],_0x2a04dc=_0x34d577[_0x4903('0x67')]+':'+_0x34d577['subType'];this[_0x4903('0x2')]({'id':_0x2e3443,'type':_0x2a04dc,'createdAt':new Date(),'authorId':_0x50861c,'data':_0x34d577[_0x4903('0x40')],'attributes':_0x34d577[_0x4903('0xcb')]});const _0xb84c53=this['_model'][_0x4903('0x4e')](_0x1d5383[_0x4903('0x81')][_0x4903('0x176')],_0x4903('0x60')),_0x54c25b=this[_0x4903('0xde')]['createRange'](_0xb84c53,_0x27099d['end']);this[_0x4903('0xb6')](_0x2a04dc,_0x2e3443,_0x50861c,_0x54c25b);}else{if(_0x27099d[_0x4903('0xe3')](_0x1d5383['start'])){const _0x3bcd6b=this[_0x4903('0xde')][_0x4903('0x4e')](_0x1d5383[_0x4903('0x170')][_0x4903('0x11c')],_0x4903('0x81'));this[_0x4903('0xff')](_0x34d577,this[_0x4903('0xde')]['createRange'](_0x27099d[_0x4903('0x170')],_0x3bcd6b));}else{const _0xe32ac9=this[_0x4903('0xde')]['createPositionAt'](_0x1d5383['end'][_0x4903('0x176')],_0x4903('0x60'));this['_setSuggestionRange'](_0x34d577,this[_0x4903('0xde')][_0x4903('0xc9')](_0xe32ac9,_0x27099d['end']));}}}}[_0x4903('0x2d')](_0x5da02a){for(const {suggestion:_0x3eaed1,meta:_0x3c1e1f}of this[_0x4903('0x148')](_0x5da02a,_0x4903('0x16'))){if(!_0x3c1e1f[_0x4903('0x152')])continue;const _0x2c2d79=_0x3eaed1[_0x4903('0x54')]();for(const _0x25f610 of _0x2c2d79)if(!_0x5da02a[_0x4903('0xaa')](_0x25f610)[_0x4903('0xb2')])return!0x0;}return!0x1;}[_0x4903('0x156')](_0x5e842c){const _0x1eac5f=this[_0x4903('0xbc')]['plugins']['get'](_0x4903('0x113'))[_0x4903('0x23')](_0x5e842c);if(!_0x1eac5f)throw new _0x559cf2('track-changes-user-not-found',this);return _0x1eac5f;}[_0x4903('0x11')](_0x57213a){const _0x1dc051=this[_0x4903('0xbc')]['plugins'][_0x4903('0x15a')](_0x4903('0x113')),_0x5b3b0d=_0x23d02b(_0x4903('0x118')+_0x57213a),_0x56727b=_0x1dc051[_0x4903('0x23')](_0x5b3b0d);return _0x56727b||_0x1dc051[_0x4903('0x2a')]({'id':_0x5b3b0d,'name':_0x57213a});}[_0x4903('0xfa')](_0x2c79b3,_0x171907,_0x4e98c5,_0x48ca61,_0x50bd0e){const _0x1e2895=this[_0x4903('0x156')](_0x48ca61),_0x2a471b=this[_0x4903('0x168')][_0x4903('0x51')](_0x2c79b3,_0x171907,_0x4e98c5,_0x1e2895,_0x50bd0e,_0x256903=>this[_0x4903('0x1e')](_0x4e98c5,{'attributes':_0x256903}));return this['listenTo'](_0x2a471b,_0x4903('0x14'),()=>{this[_0x4903('0x1e')](_0x4e98c5,{'state':'accepted'});},{'priority':_0x4903('0x31')}),this[_0x4903('0x25')](_0x2a471b,'discard',()=>{this['_updateSuggestionData'](_0x4e98c5,{'state':'rejected'});},{'priority':'high'}),this[_0x4903('0x111')][_0x4903('0xf3')](_0x4e98c5,_0x2a471b),this[_0x4903('0x5f')][_0x4903('0xf3')](_0x2a471b,_0x4903('0x178')),_0x2a471b;}[_0x4903('0x65')](_0x18ed67){const _0xeb5853=_0x18ed67[_0x4903('0x99')](':');return{'group':_0xeb5853[0x0],'type':_0xeb5853[0x1],'subType':_0xeb5853['length']>=0x5?_0xeb5853[0x2]:null,'id':_0xeb5853[_0x4903('0xb2')]<0x5?_0xeb5853[0x2]:_0xeb5853[0x3],'authorId':_0xeb5853[_0x4903('0xb2')]<0x5?_0xeb5853[0x3]:_0xeb5853[0x4],'markerCount':0x6==_0xeb5853[_0x4903('0xb2')]?_0xeb5853[0x5]:null};}[_0x4903('0x109')](_0x4569a9,_0x27d03b,_0x26058b){const _0x5f5c5d=_0x4569a9['getFirstRange'](),_0x1fc56e=_0x5f5c5d['start'],_0x2ea308=_0x5f5c5d[_0x4903('0x81')];this[_0x4903('0xff')](_0x4569a9,this[_0x4903('0xde')][_0x4903('0xc9')](_0x1fc56e,_0x27d03b));const _0x17e278=_0x57ed68(),_0x1cccf3=_0x4569a9[_0x4903('0xb0')]['id'],_0x1abe8e=_0x4569a9['type']+(_0x4569a9[_0x4903('0xae')]?':'+_0x4569a9['subType']:'');this[_0x4903('0x2')]({'id':_0x17e278,'type':_0x1abe8e,'createdAt':new Date(),'authorId':_0x1cccf3,'originalSuggestionId':_0x4569a9['id'],'attributes':_0x4569a9[_0x4903('0xcb')],'data':_0x4569a9[_0x4903('0x40')]});const _0x485fff=this[_0x4903('0x5b')](_0x4569a9);(_0x4903('0x12b')==_0x4569a9['type']||_0x485fff&&this[_0x4903('0x158')](_0x485fff))&&(_0x26058b=this[_0x4903('0xde')][_0x4903('0x42')](_0x26058b[_0x4903('0x176')])),this[_0x4903('0xb6')](_0x1abe8e,_0x17e278,_0x1cccf3,this[_0x4903('0xde')][_0x4903('0xc9')](_0x26058b,_0x2ea308));}[_0x4903('0x148')](_0x2648de,_0x4db283=null){const _0x5421bf=[],_0x57ebd7=this['editor'][_0x4903('0x6b')][_0x4903('0x15a')](_0x4903('0x113'))['me'];Array[_0x4903('0x10d')](_0x2648de)||(_0x2648de=[_0x2648de]);for(const _0x5832f3 of this['getSuggestions']()){if(!_0x5832f3[_0x4903('0x112')])continue;if(_0x4db283&&_0x5832f3[_0x4903('0x67')]!=_0x4db283)continue;let _0x704b69=!0x1;for(const _0x5454ef of _0x5832f3[_0x4903('0x54')]()){for(const _0xf5527f of _0x2648de){const _0x360668=_0xf5527f[_0x4903('0x170')][_0x4903('0xd4')](_0x5454ef[_0x4903('0x81')])||_0xf5527f[_0x4903('0x81')][_0x4903('0xd4')](_0x5454ef[_0x4903('0x170')]);if(_0x360668||_0xf5527f[_0x4903('0x2f')](_0x5454ef)){const _0x2f181b=_0xf5527f['containsRange'](_0x5454ef)&&Tt(this['_model'][_0x4903('0x11f')],_0x5454ef[_0x4903('0x170')],_0xf5527f),_0x2f60ee=_0x5454ef[_0x4903('0x8e')](_0xf5527f)&&Tt(this[_0x4903('0xde')]['schema'],_0xf5527f['start'],_0x5454ef);_0x5421bf[_0x4903('0xcc')]({'suggestion':_0x5832f3,'meta':{'isOwn':_0x57ebd7==_0x5832f3[_0x4903('0xba')],'isNextTo':_0x360668,'isInsideObject':_0x2f181b,'containsRangeInObject':_0x2f60ee}}),_0x704b69=!0x0;break;}}if(_0x704b69)break;}}return _0x5421bf;}[_0x4903('0xb6')](_0xd0572c,_0x24a708,_0x26335c,_0x5b2748,_0x5afcbf){this['_model'][_0x4903('0xb9')](_0x16e8b3=>{let _0x1be4f2='suggestion:'+_0xd0572c+':'+_0x24a708+':'+_0x26335c;_0x5afcbf&&(_0x1be4f2=_0x1be4f2+':'+_0x5afcbf),_0x16e8b3[_0x4903('0xa3')](_0x1be4f2,{'range':_0x5b2748,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4903('0x98')](_0x4551ff){const _0x8c714d=_0x4551ff[_0x4903('0x89')],_0x2e6537=_0x4551ff['next'];_0x4551ff['previous']=null,_0x4551ff[_0x4903('0xcf')]=null,null!=_0x8c714d&&(_0x8c714d[_0x4903('0xcf')]=_0x2e6537),null!=_0x2e6537&&(_0x2e6537[_0x4903('0x89')]=_0x8c714d),'ready'==this[_0x4903('0x5f')][_0x4903('0x15a')](_0x4551ff)&&(this['_suggestionState']['set'](_0x4551ff,_0x4903('0x126')),this['fire']('suggestionUnloaded',_0x4551ff,_0x8c714d,_0x2e6537));}[_0x4903('0x2')](_0x26f50f){const _0x4cf8a1=_0x26f50f['id'],_0x596c1b=this['addSuggestionData'](_0x26f50f);if(this['_adapter']&&this[_0x4903('0x9d')][_0x4903('0x64')]){const _0x18bd2a=this['editor'][_0x4903('0x6b')][_0x4903('0x15a')](_0x4903('0x2b')),_0x3f4047=_0x596c1b['hasComments'],_0xa22338=_0x596c1b[_0x4903('0xae')]?_0x596c1b[_0x4903('0x67')]+':'+_0x596c1b[_0x4903('0xae')]:_0x596c1b['type'],_0x57630f=this['editor'][_0x4903('0xcd')],_0x15e7a3=_0x18bd2a['add'](_0x3cae21(_0x57630f,_0x4903('0x38'))),_0x573fe6={'id':_0x4cf8a1,'type':_0xa22338,'hasComments':_0x3f4047,'data':_0x26f50f[_0x4903('0x40')]||null,'originalSuggestionId':_0x26f50f[_0x4903('0x84')]||null,'attributes':_0x596c1b['attributes']};this[_0x4903('0x9d')][_0x4903('0x64')](_0x573fe6)['then'](_0x269464=>{_0x596c1b['_saved']=!0x0,_0x18bd2a[_0x4903('0xea')](_0x15e7a3),_0x269464&&_0x269464['createdAt']&&(this['_suggestions'][_0x4903('0x15a')](_0x4cf8a1)[_0x4903('0x10c')]=_0x269464[_0x4903('0x10c')]);})['catch'](_0x28d048=>{throw _0x35e2da(_0x4903('0x68')),this[_0x4903('0xbc')]['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x596c1b[_0x4903('0xa8')]();}),_0x596c1b[_0x4903('0x133')](),this['_suggestions'][_0x4903('0xc6')](_0x596c1b['id']),this[_0x4903('0x5f')]['delete'](_0x596c1b),_0x28d048;});}return _0x596c1b;}[_0x4903('0x158')](_0xbd453f){return this[_0x4903('0x119')][_0x4903('0x4d')](_0xbd453f);}[_0x4903('0x5b')](_0x58428f){return'attribute'==_0x58428f[_0x4903('0x67')]&&_0x58428f[_0x4903('0xae')]['split']('|')[0x0];}[_0x4903('0x1e')](_0x10196b,_0x77cb44){const _0x4b0444=this[_0x4903('0xbc')][_0x4903('0x6b')][_0x4903('0x15a')](_0x4903('0x2b')),_0x38c6db=this['getSuggestion'](_0x10196b);if(this[_0x4903('0x9d')]&&this['_adapter'][_0x4903('0xef')]){if(_0x38c6db[_0x4903('0x7e')]){const _0x35c3ce=_0x4b0444[_0x4903('0xce')](_0x3cae21(this[_0x4903('0xbc')]['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter'][_0x4903('0xef')](_0x10196b,_0x77cb44)[_0x4903('0x80')](()=>{_0x4b0444['remove'](_0x35c3ce);});}else _0x38c6db['on'](_0x4903('0x143'),()=>{this[_0x4903('0x1e')](_0x10196b,_0x77cb44);});}}[_0x4903('0xf7')](_0x33695e){if(!this['_adapter']||!this[_0x4903('0x9d')]['getSuggestion'])throw new _0x559cf2(_0x4903('0x11a'),this);return this[_0x4903('0x9d')][_0x4903('0x161')](_0x33695e);}[_0x4903('0x48')](_0x5291f3){const {id:_0x3cd1ae,type:_0x3f231a,subType:_0x18ea57,authorId:_0x4035e1}=this[_0x4903('0x65')](_0x5291f3),_0x13e67b=this[_0x4903('0x111')]['get'](_0x3cd1ae)||this[_0x4903('0xfa')](_0x3f231a,_0x18ea57,_0x3cd1ae,_0x4035e1,{});switch(this[_0x4903('0xfb')](_0x13e67b,_0x3f231a,_0x18ea57,_0x4035e1),this[_0x4903('0x5f')][_0x4903('0x15a')](_0x13e67b)){case _0x4903('0x178'):this[_0x4903('0xf7')](_0x3cd1ae)['then'](_0x42f5fb=>{let _0xf2c55b=Promise['resolve']();_0x42f5fb['hasComments']&&(_0xf2c55b=this['_commentsRepository'][_0x4903('0x10')]({'channelId':this[_0x4903('0xbc')]['config'][_0x4903('0x15a')](_0x4903('0x9e')),'threadId':_0x3cd1ae})),_0xf2c55b[_0x4903('0x80')](()=>{this[_0x4903('0xf8')](_0x42f5fb)[_0x4903('0x7e')]=!0x0;});}),this[_0x4903('0x5f')][_0x4903('0xf3')](_0x13e67b,_0x4903('0x11b'));break;case _0x4903('0x126'):this[_0x4903('0x1e')](_0x3cd1ae,{'state':_0x4903('0xca')});case _0x4903('0x173'):this[_0x4903('0x5f')]['set'](_0x13e67b,_0x4903('0x157')),this['fire'](_0x4903('0x12a'),_0x13e67b);break;case _0x4903('0x157'):this['fire'](_0x4903('0x12'),_0x13e67b);}return _0x13e67b[_0x4903('0x145')](_0x5291f3),_0x13e67b;}[_0x4903('0x76')](_0x1e33fb){const _0xa88a70=Array[_0x4903('0x7c')](_0x1e33fb),_0x535c50=_0xa88a70[_0x4903('0x70')](_0x319c2c=>_0x4903('0x4')==_0x319c2c[_0x4903('0x67')]);this[_0x4903('0x17')](_0x535c50);const _0x740530=_0xa88a70['filter'](_0x392541=>!_0x392541[_0x4903('0x138')]&&_0x4903('0x4')!=_0x392541[_0x4903('0x67')]),_0x40ff69=this[_0x4903('0x14c')]({'skipNotAttached':!0x0})[_0x4903('0x70')](_0xe0f3d4=>!_0xe0f3d4[_0x4903('0x138')]&&_0x4903('0x4')!=_0xe0f3d4[_0x4903('0x67')]),_0x3b2664=_0x40ff69['filter'](_0x40ca35=>!_0x1e33fb['has'](_0x40ca35)),_0x3d13c1=new Map(_0x40ff69[_0x4903('0xb3')](_0x452186=>[_0x452186,this[_0x4903('0x168')][_0x4903('0x6a')](_0x452186[_0x4903('0x67')],_0x452186['subType'],_0x4903('0x5e'))])),_0x1c3f1b=new Map(_0x40ff69['map'](_0xa65b25=>[_0xa65b25,_0xa65b25[_0x4903('0xa6')]()])),_0x52d3da=new Set(),_0x39314f=new Set();for(let _0x1eed69=0x0;_0x1eed69<_0x740530[_0x4903('0xb2')];_0x1eed69++)_0x4241df(_0x740530[_0x1eed69],_0x740530,_0x1eed69+0x1);for(let _0x36fef6=0x0;_0x36fef6<_0x740530[_0x4903('0xb2')];_0x36fef6++)_0x4241df(_0x740530[_0x36fef6],_0x3b2664,0x0);const _0x3db98c=new Set();for(let _0x20432f=0x0;_0x20432f<_0x740530[_0x4903('0xb2')];_0x20432f++){const _0x468624=_0x740530[_0x20432f];!_0x39314f[_0x4903('0x4d')](_0x468624)&&_0x468624['previous']&&(_0x3db98c[_0x4903('0xce')](_0x468624[_0x4903('0x89')]),_0x468624[_0x4903('0x89')]['next']===_0x468624&&(_0x468624[_0x4903('0x89')]['next']=null),_0x468624[_0x4903('0x89')]=null),!_0x52d3da[_0x4903('0x4d')](_0x468624)&&_0x468624[_0x4903('0xcf')]&&(_0x3db98c[_0x4903('0xce')](_0x468624[_0x4903('0xcf')]),_0x468624['next'][_0x4903('0x89')]===_0x468624&&(_0x468624[_0x4903('0xcf')]['previous']=null),_0x468624[_0x4903('0xcf')]=null);}function _0x4241df(_0x5af66e,_0xb1efe2,_0x2e837d){for(let _0x7860aa=_0x2e837d;_0x7860aa<_0xb1efe2[_0x4903('0xb2')];_0x7860aa++){const _0x157d34=_0x225dcf(_0x5af66e,_0xb1efe2[_0x7860aa]);_0x157d34&&(_0x157d34[0x0][_0x4903('0xcf')]=_0x157d34[0x1],_0x157d34[0x1][_0x4903('0x89')]=_0x157d34[0x0],_0x52d3da[_0x4903('0xce')](_0x157d34[0x0]),_0x39314f[_0x4903('0xce')](_0x157d34[0x1]));}}function _0x225dcf(_0x2cf380,_0x567318){if(_0x2cf380[_0x4903('0xba')]['id']!==_0x567318[_0x4903('0xba')]['id'])return null;const _0xac29c7=_0x3d13c1[_0x4903('0x15a')](_0x2cf380)(_0x2cf380,_0x567318,_0x1c3f1b[_0x4903('0x15a')](_0x2cf380),_0x1c3f1b['get'](_0x567318));if(!_0xac29c7)return null;return _0x3d13c1[_0x4903('0x15a')](_0x567318)(_0x2cf380,_0x567318,_0x1c3f1b[_0x4903('0x15a')](_0x2cf380),_0x1c3f1b[_0x4903('0x15a')](_0x567318))?_0xac29c7[0x1][_0x4903('0x100')]&&_0xac29c7[0x1][_0x4903('0x100')]['length']?null:_0xac29c7:null;}_0x3db98c[_0x4903('0xdd')]&&this[_0x4903('0x76')](_0x3db98c);}[_0x4903('0x17')](_0x23d185){if(0x0==_0x23d185[_0x4903('0xb2')])return;const _0x116b6d=this[_0x4903('0x14c')]({'skipNotAttached':!0x0})[_0x4903('0x70')](_0x3c49ea=>'attribute'==_0x3c49ea[_0x4903('0x67')]&&_0x3c49ea[_0x4903('0xd0')]),_0x1af6c5=[],_0x38bfd6=new Map();for(const _0x50a8b4 of _0x116b6d){const _0x56f265=_0x23d02b(_0x50a8b4['attributes']);_0x38bfd6['has'](_0x56f265)||(_0x38bfd6[_0x4903('0xf3')](_0x56f265,_0x1af6c5['length']),_0x1af6c5[_0x4903('0xcc')]([]));const _0x4aaf1c=_0x38bfd6[_0x4903('0x15a')](_0x56f265);_0x1af6c5[_0x4aaf1c][_0x4903('0xcc')](_0x50a8b4);}!function(){_0x1af6c5[_0x4903('0xc4')]((_0x49fe64,_0x1cbcfb)=>{const _0x177c12=_0x49fe64[0x0]['createdAt'],_0x415966=_0x1cbcfb[0x0][_0x4903('0x10c')];return _0x177c12==_0x415966?_0x49fe64[0x0][_0x4903('0xcb')][_0x4903('0x55')]<_0x1cbcfb[0x0][_0x4903('0xcb')]['groupId']?-0x1:0x1:_0x177c12<_0x415966?-0x1:0x1;});for(const _0x24e06f of _0x1af6c5)_0x24e06f[_0x4903('0xc4')]((_0x379b8f,_0x3d021f)=>_0x379b8f['id']<_0x3d021f['id']?-0x1:0x1);}();for(let _0x528bf3=0x0;_0x528bf3<_0x1af6c5[_0x4903('0xb2')];_0x528bf3++){if(0x0==_0x1af6c5[_0x528bf3][_0x4903('0xb2')])continue;const _0x1fce7b=[];for(let _0x381fe0=_0x528bf3+0x1;_0x381fe0<_0x1af6c5[_0x4903('0xb2')];_0x381fe0++)0x0!=_0x1af6c5[_0x381fe0]['length']&&_0x13ab9a(_0x1af6c5[_0x528bf3],_0x1af6c5[_0x381fe0])&&_0x1fce7b[_0x4903('0xcc')](_0x381fe0);for(const _0x303a3b of _0x1fce7b)_0x1af6c5[_0x528bf3]=_0x1af6c5[_0x528bf3][_0x4903('0xd8')](_0x1af6c5[_0x303a3b]),_0x1af6c5[_0x303a3b]=[];}for(const _0x3dc98d of _0x1af6c5)for(let _0x2038d1=0x0;_0x2038d1<_0x3dc98d[_0x4903('0xb2')];_0x2038d1++)_0x3dc98d[_0x2038d1][_0x4903('0xcf')]=_0x3dc98d[_0x2038d1+0x1]||null;for(const _0x3a549c of _0x1af6c5)for(let _0x3d4d3e=0x0;_0x3d4d3e<_0x3a549c['length'];_0x3d4d3e++)_0x3a549c[_0x3d4d3e]['previous']=_0x3a549c[_0x3d4d3e-0x1]||null;function _0x13ab9a(_0x5776e2,_0xdbffb6){if(_0x5776e2[0x0][_0x4903('0xba')]!==_0xdbffb6[0x0][_0x4903('0xba')])return!0x1;if(!function(_0x869422,_0x314183){if(!_0x869422[_0x4903('0xa0')]&&!_0x314183[_0x4903('0xa0')])return!0x0;if(_0x869422[_0x4903('0xa0')]&&_0x314183[_0x4903('0xa0')])return!0x1;if(_0x869422[_0x4903('0xa0')]&&_0x314183['createdAt']<_0x869422['commentThread'][_0x4903('0xf1')][_0x4903('0x15a')](0x0)['createdAt'])return!0x0;if(_0x314183[_0x4903('0xa0')]&&_0x869422[_0x4903('0x10c')]<_0x314183[_0x4903('0x100')][_0x4903('0xf1')][_0x4903('0x15a')](0x0)[_0x4903('0x10c')])return!0x0;return!0x1;}(_0x5776e2[0x0],_0xdbffb6[0x0]))return!0x1;const _0x4e2276=_0x4d3b7e(_0x5776e2[0x0]['attributes'],_0x4903('0x55')),_0x503512=_0x4d3b7e(_0xdbffb6[0x0][_0x4903('0xcb')],_0x4903('0x55'));if(!_0x2475bf(_0x4e2276,_0x503512))return!0x1;return!!_0x5776e2[_0x4903('0x43')](_0x51d67e=>_0xdbffb6[_0x4903('0x41')](_0x3fc287=>_0x51d67e['getFirstRange']()[_0x4903('0xd4')](_0x3fc287[_0x4903('0xa6')]())))&&_0xdbffb6[_0x4903('0x43')](_0x53d683=>_0x5776e2[_0x4903('0x41')](_0x1f53fe=>_0x53d683[_0x4903('0xa6')]()['isEqual'](_0x1f53fe[_0x4903('0xa6')]())));}}[_0x4903('0x13c')](_0xaf6bb7){const _0xffb843=Array[_0x4903('0x7c')](_0xaf6bb7),_0x2c5b66=this[_0x4903('0x14c')]({'skipNotAttached':!0x0}),_0x2de1ac=_0x2c5b66[_0x4903('0x70')](_0xbed696=>!_0xaf6bb7['has'](_0xbed696)),_0x204c39=new Map(_0xffb843[_0x4903('0xb3')](_0x46b388=>[_0x46b388,this[_0x4903('0x168')][_0x4903('0x6a')](_0x46b388['type'],_0x46b388[_0x4903('0xae')],_0x4903('0x120'))])),_0x3802cc=new Map(_0x2c5b66[_0x4903('0xb3')](_0x1d2d4b=>[_0x1d2d4b,_0x1d2d4b['getRanges']()]));for(let _0x4862ba=0x0;_0x4862ba<_0xffb843[_0x4903('0xb2')];_0x4862ba++){if(_0x2393e2(this,_0xffb843[_0x4862ba],_0xffb843,_0x4862ba+0x1))return!0x0;}for(let _0xe0e1b4=0x0;_0xe0e1b4<_0xffb843[_0x4903('0xb2')];_0xe0e1b4++){if(_0x2393e2(this,_0xffb843[_0xe0e1b4],_0x2de1ac,0x0))return!0x0;}return!0x1;function _0x2393e2(_0x4c5d50,_0x2aaef8,_0x35f30b,_0x57db6e){for(let _0x2a7b40=_0x57db6e;_0x2a7b40<_0x35f30b['length'];_0x2a7b40++){const _0x165e4f=_0x35f30b[_0x2a7b40];if(_0x165e4f[_0x4903('0x67')]!==_0x2aaef8[_0x4903('0x67')]||_0x165e4f[_0x4903('0xba')]['id']!==_0x2aaef8[_0x4903('0xba')]['id']||_0x165e4f[_0x4903('0xae')]!==_0x2aaef8[_0x4903('0xae')])continue;if(!Vt(_0x2aaef8,_0x165e4f))continue;if('attribute'==_0x2aaef8[_0x4903('0x67')]&&_0x2aaef8[_0x4903('0x40')]['oldValue']!=_0x165e4f[_0x4903('0x40')][_0x4903('0x63')])continue;if('attribute'==_0x2aaef8[_0x4903('0x67')]&&_0x4c5d50[_0x4903('0x158')](_0x2aaef8['data'][_0x4903('0x132')]))continue;const _0x53848a=_0x204c39[_0x4903('0x15a')](_0x2aaef8),_0x4d9250=_0x3802cc[_0x4903('0x15a')](_0x2aaef8),_0x21744a=_0x3802cc[_0x4903('0x15a')](_0x165e4f),_0x19216b=_0x2aaef8['commentThread']&&_0x2aaef8[_0x4903('0x100')][_0x4903('0xb2')],_0xc3e077=_0x165e4f[_0x4903('0x100')]&&_0x165e4f[_0x4903('0x100')][_0x4903('0xb2')];if(!_0x19216b&&_0x53848a(_0x21744a,_0x4d9250))return _0x4c5d50['_joinSuggestions'](_0x165e4f,_0x2aaef8),_0x3802cc[_0x4903('0xc6')](_0x2aaef8),!0x0;if(!_0xc3e077&&_0x53848a(_0x4d9250,_0x21744a))return _0x4c5d50[_0x4903('0x147')](_0x2aaef8,_0x165e4f),_0x3802cc[_0x4903('0xc6')](_0x165e4f),!0x0;}return!0x1;}}['_joinSuggestions'](_0x9175fa,_0x1af606){if(_0x9175fa[_0x4903('0x138')])for(const _0x167649 of _0x1af606[_0x4903('0x54')]())_0x9175fa[_0x4903('0x6f')](_0x167649);else{const _0x21886a=_0x1af606[_0x4903('0xa6')]()[_0x4903('0x81')];this['_setSuggestionRange'](_0x9175fa,this['_model'][_0x4903('0xc9')](_0x9175fa[_0x4903('0xa6')]()[_0x4903('0x170')],_0x21886a));}_0x1af606[_0x4903('0xf0')]();}[_0x4903('0xf4')](_0x179e2f,_0x28c946){const _0x23ecf0=_0x179e2f[_0x4903('0x131')](_0x4903('0xab'))||_0x179e2f[_0x4903('0x131')](_0x4903('0x4'))?_0x4903('0x14f'):_0x179e2f['toUpperCase']();return _0x3cae21(this['editor']['locale'],_0x28c946+'_'+_0x23ecf0+_0x4903('0x39'));}[_0x4903('0xbd')](){const _0x1a9b2d=this['editor'];_0x37cff1(this[_0x4903('0xde')],({left:_0x4234aa,entered:_0x1cedb5})=>{const _0x4b1eef=[];for(const _0x524d3f of _0x4234aa){const {group:_0x17b2f6,type:_0x2e00da}=this[_0x4903('0x65')](_0x524d3f[_0x4903('0x30')]);if(_0x4903('0x160')===_0x17b2f6){_0x4b1eef[_0x4903('0xcc')](this[_0x4903('0xf4')](_0x2e00da,_0x4903('0x33')));break;}}for(const _0x122d93 of _0x1cedb5){const {group:_0xe3f893,type:_0x2ef2cd}=this['_splitMarkerName'](_0x122d93[_0x4903('0x30')]);if(_0x4903('0x160')===_0xe3f893){_0x4b1eef[_0x4903('0xcc')](this[_0x4903('0xf4')](_0x2ef2cd,_0x4903('0x16f')));break;}}_0x4b1eef[_0x4903('0xb2')]&&_0x1a9b2d['ui'][_0x4903('0x9')]['announce'](_0x4903('0x69'),_0x4b1eef[_0x4903('0x120')]('\x20'));});}[_0x4903('0x8b')](_0x4737b6){if(null!==this[_0x4903('0x46')])return!0x1;const _0xff6a23=this[_0x4903('0xbc')],_0x16b7e4=_0xff6a23[_0x4903('0xe5')][_0x4903('0x3f')]['differ'][_0x4903('0x5d')]();if(0x0==_0x16b7e4['length'])return!0x1;const _0x468199=[],_0x333589=_0x16b7e4[_0x4903('0x70')](_0x1a926d=>_0x4903('0x4')==_0x1a926d[_0x4903('0x67')]),_0x1a762c=_0x16b7e4[_0x4903('0x70')](_0x2676fa=>_0x4903('0xa4')==_0x2676fa[_0x4903('0x67')]&&'$text'!=_0x2676fa[_0x4903('0x30')]),_0x3ce09a=_0x16b7e4[_0x4903('0x70')](_0x3bed78=>_0x4903('0xea')==_0x3bed78[_0x4903('0x67')]&&'$text'!=_0x3bed78[_0x4903('0x30')]);for(const _0x519ac6 of _0x333589)_0x468199['push']({'key':_0x519ac6['attributeKey'],'newValue':_0x519ac6[_0x4903('0x175')],'oldValue':_0x519ac6[_0x4903('0x8c')],'range':_0x29b2da(_0x519ac6['range'])});for(const _0x2d0cc0 of _0x1a762c){const _0x16e12a=_0x3ce09a['find'](_0x39a5e0=>_0x39a5e0['position'][_0x4903('0xd4')](_0x2d0cc0[_0x4903('0x57')]));_0x16e12a&&_0x468199[_0x4903('0xcc')]({'key':_0x4903('0xe4'),'newValue':_0x2d0cc0[_0x4903('0x30')],'oldValue':_0x16e12a[_0x4903('0x30')],'range':_0xff6a23['model'][_0x4903('0x32')](_0x2d0cc0[_0x4903('0x57')]['nodeAfter'])});}return 0x0!=_0x468199[_0x4903('0xb2')]&&this[_0x4903('0xe6')](_0x4737b6,_0x468199);function _0x29b2da(_0x5a56af){return null==_0x5a56af[_0x4903('0x81')][_0x4903('0x11c')]&&_0x5a56af['end'][_0x4903('0x176')]==_0x5a56af[_0x4903('0x170')][_0x4903('0x177')]?Ut(_0x5a56af['start']['nodeAfter'],_0xff6a23[_0x4903('0xe5')]):_0x5a56af;}}['_processAttributeSuggestions'](_0x5ceca7){let _0x4e0966=!0x1;const _0x23c53a=this[_0x4903('0xbc')]['model']['document'][_0x4903('0x66')]['getChangedMarkers']()[_0x4903('0x70')](_0xa7d66e=>_0xa7d66e['data'][_0x4903('0x3b')]&&_0xa7d66e[_0x4903('0x30')][_0x4903('0x131')](_0x4903('0x11d')));for(const _0x360674 of _0x23c53a){const {subType:_0x22c14e,id:_0x16bdbd}=this[_0x4903('0x65')](_0x360674[_0x4903('0x30')]),_0x42773c=_0x22c14e[_0x4903('0x99')]('|')[0x0];for(const _0x5769cb of this[_0x4903('0x14c')]({'skipNotAttached':!0x0}))_0x5769cb['id']!=_0x16bdbd&&_0x4903('0x4')==_0x5769cb[_0x4903('0x67')]&&_0x5769cb[_0x4903('0x40')]&&_0x5769cb[_0x4903('0x40')][_0x4903('0x132')]==_0x42773c&&_0x5769cb[_0x4903('0xa6')]()[_0x4903('0x85')](_0x360674[_0x4903('0x40')][_0x4903('0x3b')])&&(this[_0x4903('0x116')](_0x5769cb,_0x360674[_0x4903('0x40')][_0x4903('0x3b')],_0x5ceca7),_0x4e0966=!0x0);}return _0x4e0966;}[_0x4903('0x82')](_0x43e2a1){if(null!==this[_0x4903('0x46')])return void _0x43e2a1();const _0x6f6790=this[_0x4903('0xbc')];this[_0x4903('0x46')]=_0x6f6790['model']['document'][_0x4903('0xda')],_0x43e2a1();const _0x1f85da=new Map();for(const _0x8bcbe6 of _0x6f6790[_0x4903('0xe5')]['document'][_0x4903('0xc3')][_0x4903('0x136')](this[_0x4903('0x46')]))if([_0x4903('0x103'),'addAttribute','removeAttribute',_0x4903('0x71')]['includes'](_0x8bcbe6[_0x4903('0x67')])){const _0x408475=_0x8bcbe6['batch'],_0x5712ff=_0x1f85da['get'](_0x408475)||[];_0x5712ff[_0x4903('0xcc')](_0x8bcbe6),_0x1f85da[_0x4903('0xf3')](_0x408475,_0x5712ff);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x5cd269,_0x54648e]of _0x1f85da){const _0x5a1387=_0x57ed68();_0x6f6790['model'][_0x4903('0x153')](_0x5cd269,_0x2f86f5=>{const _0x51375a=[];for(const _0x302d1f of _0x54648e){let _0x2b5aa2,_0x29c4a5,_0x5b51ce,_0x25941a;if(_0x4903('0x103')==_0x302d1f[_0x4903('0x67')]){const _0x5749cf=_0x302d1f;_0x2b5aa2=Ut(_0x5749cf[_0x4903('0x57')][_0x4903('0x177')],_0x6f6790['model']),_0x29c4a5=_0x4903('0xe4'),_0x5b51ce=_0x5749cf['newName'],_0x25941a=_0x5749cf['oldName'];}else{const _0x26dab4=_0x302d1f,_0x1979a4=this[_0x4903('0x158')](_0x26dab4['key']),_0x9daf10=this['_inlineAttributeKeys'][_0x4903('0x4d')](_0x26dab4[_0x4903('0x132')]);if(!_0x1979a4&&!_0x9daf10)continue;_0x2b5aa2=_0x1979a4?Ut(_0x26dab4[_0x4903('0xec')][_0x4903('0x170')][_0x4903('0x177')],_0x6f6790[_0x4903('0xe5')]):_0x26dab4[_0x4903('0xec')],_0x29c4a5=_0x26dab4[_0x4903('0x132')],_0x5b51ce=_0x4903('0x24')==_0x302d1f[_0x4903('0x67')]?void 0x0:_0x26dab4[_0x4903('0x107')],_0x25941a=_0x26dab4[_0x4903('0x63')];}this[_0x4903('0x3a')](_0x2b5aa2,_0x29c4a5,_0x25941a,_0x5b51ce,{'groupId':_0x5a1387}),_0x51375a[_0x4903('0xcc')]({'range':_0x2b5aa2,'key':_0x29c4a5,'newValue':_0x5b51ce,'oldValue':_0x25941a});}this[_0x4903('0xe6')](_0x2f86f5,_0x51375a);});}}['_reduceExistingSuggestions'](_0x16bc79,_0xc61cbb){if(0x0==_0xc61cbb[_0x4903('0xb2')])return!0x1;let _0x4d38da=!0x1;for(const _0x1b91ef of _0xc61cbb){const _0xbdc6d=this[_0x4903('0x148')](_0x1b91ef[_0x4903('0xec')],_0x4903('0x4'))[_0x4903('0x70')](_0x3e7f57=>!_0x3e7f57[_0x4903('0x2c')][_0x4903('0xb7')])[_0x4903('0xb3')](_0x4f0d5c=>_0x4f0d5c[_0x4903('0x160')]),_0x4e9a87=_0x23d02b({'newValue':_0x1b91ef[_0x4903('0x107')]});_0xbdc6d[_0x4903('0x70')](_0x547970=>{const [_0x1ebb5a,_0x37297a]=_0x547970['subType']['split']('|');return _0x1ebb5a==_0x1b91ef[_0x4903('0x132')]&&_0x37297a!=_0x4e9a87;})[_0x4903('0x125')](_0x2dd6b3=>{this[_0x4903('0x116')](_0x2dd6b3,_0x1b91ef[_0x4903('0xec')],_0x16bc79),_0x4d38da=!0x0;});}return _0x4d38da;}[_0x4903('0x116')](_0xa81b6a,_0x15fb60,_0x83c065){const _0x45c56d=_0xa81b6a[_0x4903('0xa6')]()[_0x4903('0xaa')](_0x15fb60);0x0!==_0x45c56d[_0x4903('0xb2')]?0x1!==_0x45c56d[_0x4903('0xb2')]?this[_0x4903('0x109')](_0xa81b6a,_0x15fb60[_0x4903('0x170')],_0x15fb60[_0x4903('0x81')]):this[_0x4903('0xff')](_0xa81b6a,_0x45c56d[0x0]):_0x83c065[_0x4903('0x122')](_0xa81b6a[_0x4903('0x9b')]());}}class Bt{constructor(_0x56cd45){this[_0x4903('0x149')]=_0x56cd45,this[_0x4903('0xde')]=_0x56cd45[_0x4903('0xe5')],this[_0x4903('0x166')]=new Map(),this[_0x4903('0x137')]=new Map(),this['_registerDefaultCallbacks']();}[_0x4903('0x51')](_0x1fae29,_0x26570e,_0x3f3cdc,_0x3ad142,_0x4e1967,_0x284b45){return new _0x3d7e56(this[_0x4903('0xde')],{'type':_0x1fae29,'subType':_0x26570e,'id':_0x3f3cdc,'author':_0x3ad142,'creator':_0x3ad142,'attributes':_0x4e1967,'onAttributesChange':_0x284b45,'onAccept':(..._0x43f563)=>this[_0x4903('0x6a')](_0x1fae29,_0x26570e,'accept')(..._0x43f563),'onDiscard':(..._0x4d0cbf)=>this[_0x4903('0x6a')](_0x1fae29,_0x26570e,_0x4903('0xa8'))(..._0x4d0cbf)});}[_0x4903('0x35')](_0x851ad0,_0x157655,_0x17a363,_0x1b139e){const _0x613ddb=_0x851ad0+':'+_0x157655+':'+_0x17a363;this['_customCallbacks'][_0x4903('0xf3')](_0x613ddb,_0x1b139e);}['getSuggestionCallback'](_0xed110,_0xfd1148,_0x5a8c63){const _0x317478=_0xed110+':'+_0xfd1148+':'+_0x5a8c63;return this[_0x4903('0x166')][_0x4903('0x15a')](_0x317478)||this['_defaultCallbacks'][_0x4903('0x15a')](_0xed110+':'+_0x5a8c63);}[_0x4903('0x13e')](){const _0xc00dc8=()=>!0x1,_0x1e5ef8=_0x4f60a2=>{_0x4f60a2[_0x4903('0xc4')]((_0x491aeb,_0x28ce39)=>_0x491aeb[_0x4903('0x170')][_0x4903('0x7f')](_0x28ce39['start'])?0x1:-0x1),this['_model'][_0x4903('0xb9')](_0x2c929d=>{for(const _0x33f661 of _0x4f60a2){let _0x1e31f8;_0x1e31f8=_0x33f661[_0x4903('0x81')][_0x4903('0x15c')]&&_0x33f661['end']['parent']==_0x33f661['start'][_0x4903('0x177')]?_0x2c929d['createSelection'](_0x33f661[_0x4903('0x170')][_0x4903('0x177')],'on'):_0x2c929d[_0x4903('0x129')](_0x33f661),this[_0x4903('0xde')][_0x4903('0xdf')](_0x1e31f8,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x19f058=(_0x36d596,_0x576036)=>{_0x576036&&this[_0x4903('0xde')][_0x4903('0xb9')](_0x3cedeb=>{const {commandName:_0x136c50,commandParams:_0x2e484f=[]}=_0x576036,_0x31a469=_0x36d596['map'](_0x4778f3=>(xt(_0x4778f3)&&(_0x4778f3=this[_0x4903('0xde')][_0x4903('0xc9')](_0x4778f3[_0x4903('0x81')])),_0x4778f3))['filter'](_0x4a7a2e=>_0x4903('0x151')!==_0x4a7a2e[_0x4903('0x15b')]['rootName']);if(_0x31a469[_0x4903('0xb2')]<0x1)return;const _0x320c46=Array[_0x4903('0x7c')](this[_0x4903('0xde')]['document'][_0x4903('0xd')]['getRanges']())[_0x4903('0xb3')](_0x40bc67=>_0x316c8d[_0x4903('0x37')](_0x40bc67));_0x3cedeb['setSelection'](_0x31a469);for(const _0x2d628c of this[_0x4903('0x149')][_0x4903('0xad')][_0x4903('0xad')]())_0x2d628c[_0x4903('0x16a')]();_0x2e484f[_0x4903('0xcc')]({'forceDefaultExecution':!0x0}),this[_0x4903('0x149')]['execute'](_0x136c50,..._0x2e484f);const _0x3e0fda=_0x320c46['filter'](_0x1e82ca=>_0x4903('0x151')!=_0x1e82ca['root'][_0x4903('0x90')]);_0x3e0fda[_0x4903('0xb2')]>0x0&&_0x3cedeb[_0x4903('0x6e')](_0x3e0fda);for(const _0x294ef2 of _0x320c46)_0x294ef2['detach']();});},_0xac2c6a=(_0x54bd8c,_0x557348)=>0x1==_0x54bd8c[_0x4903('0xb2')]&&0x1==_0x557348[_0x4903('0xb2')]&&_0x54bd8c[0x0][_0x4903('0x81')][_0x4903('0xd4')](_0x557348[0x0][_0x4903('0x170')]),_0x1654f7=(_0xec5ab0,_0x2dfa47,_0x27fc27,_0xfba2c2)=>Ot(_0xec5ab0,_0x2dfa47,_0x27fc27,_0xfba2c2,this['_model'])?[_0xec5ab0,_0x2dfa47]:Ot(_0x2dfa47,_0xec5ab0,_0xfba2c2,_0x27fc27,this[_0x4903('0xde')])?[_0x2dfa47,_0xec5ab0]:null;this[_0x4903('0x137')][_0x4903('0xf3')](_0x4903('0x124'),_0xc00dc8),this[_0x4903('0x137')][_0x4903('0xf3')]('insertion:discard',_0x1e5ef8),this[_0x4903('0x137')][_0x4903('0xf3')](_0x4903('0xf5'),_0xac2c6a),this[_0x4903('0x137')][_0x4903('0xf3')](_0x4903('0x155'),_0x1654f7),this[_0x4903('0x137')][_0x4903('0xf3')](_0x4903('0x96'),_0x1e5ef8),this[_0x4903('0x137')][_0x4903('0xf3')](_0x4903('0xfd'),_0xc00dc8),this[_0x4903('0x137')][_0x4903('0xf3')](_0x4903('0xe2'),_0xac2c6a),this['_defaultCallbacks'][_0x4903('0xf3')](_0x4903('0x10b'),_0x1654f7),this['_defaultCallbacks'][_0x4903('0xf3')](_0x4903('0x49'),_0x19f058),this[_0x4903('0x137')][_0x4903('0xf3')]('formatInline:discard',_0xc00dc8),this[_0x4903('0x137')]['set'](_0x4903('0x106'),_0xac2c6a),this['_defaultCallbacks'][_0x4903('0xf3')](_0x4903('0x20'),_0xc00dc8),this[_0x4903('0x137')][_0x4903('0xf3')](_0x4903('0x26'),_0x19f058),this[_0x4903('0x137')][_0x4903('0xf3')](_0x4903('0x7d'),_0xc00dc8),this[_0x4903('0x137')][_0x4903('0xf3')]('formatBlock:join',_0xac2c6a),this[_0x4903('0x137')][_0x4903('0xf3')]('formatBlock:chain',_0xc00dc8),this['_defaultCallbacks'][_0x4903('0xf3')](_0x4903('0x6d'),_0xc00dc8),this[_0x4903('0x137')][_0x4903('0xf3')](_0x4903('0xa7'),(_0x1b5623,_0x5a550f)=>{if(!_0x5a550f)return;const _0x539efd=this[_0x4903('0x149')][_0x4903('0x6b')]['get'](p);this[_0x4903('0xde')][_0x4903('0xb9')](_0x2742b5=>{if(_0x4903('0xe4')==_0x5a550f[_0x4903('0x132')])for(const _0x20c654 of _0x1b5623){const _0x39d865=_0x20c654[_0x4903('0x170')][_0x4903('0x177')],_0x2b7b5c=_0x5a550f[_0x4903('0x63')];_0x2742b5['rename'](_0x39d865,_0x2b7b5c);}else{if(_0x539efd['_isBlockAttribute'](_0x5a550f['key']))for(const _0xed4e68 of _0x1b5623)void 0x0!==_0x5a550f[_0x4903('0x63')]?_0x2742b5['setAttribute'](_0x5a550f[_0x4903('0x132')],_0x5a550f[_0x4903('0x63')],_0xed4e68[_0x4903('0x170')][_0x4903('0x177')]):_0x2742b5[_0x4903('0x24')](_0x5a550f['key'],_0xed4e68[_0x4903('0x170')][_0x4903('0x177')]);else for(const _0x2f3cec of _0x1b5623)_0x5a550f['oldValue']?_0x2742b5['setAttribute'](_0x5a550f[_0x4903('0x132')],_0x5a550f[_0x4903('0x63')],_0x2f3cec):_0x2742b5['removeAttribute'](_0x5a550f[_0x4903('0x132')],_0x2f3cec);}});}),this[_0x4903('0x137')][_0x4903('0xf3')](_0x4903('0x78'),_0xac2c6a);}}function Tt(_0x57006c,_0x39c440,_0x466b82){for(const _0x58e876 of _0x39c440[_0x4903('0x176')][_0x4903('0x10f')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x58e876['root']==_0x58e876)return!0x1;if(!_0x466b82[_0x4903('0xe9')](_0x58e876))return!0x1;if(_0x57006c['isObject'](_0x58e876)||_0x57006c[_0x4903('0x104')](_0x58e876))return!0x0;}return!0x1;}function xt(_0xefb847){return _0xefb847[_0x4903('0x81')][_0x4903('0x176')]==_0xefb847[_0x4903('0x170')][_0x4903('0x177')]&&_0xefb847[_0x4903('0x81')]['isAtStart'];}function Et(_0x383c23,_0xe04014,_0x1f9a5f,_0x2ed4f0){const _0x201d02=_0x3c75a8=>!_0x3c75a8[_0x4903('0x2e')]['is']('$textProxy')&&!_0x2ed4f0[_0x4903('0x74')](_0x3c75a8[_0x4903('0x2e')]),_0x4c68ea=_0x383c23[_0x4903('0x170')][_0x4903('0xa5')](_0x201d02),_0x140cf2=_0x383c23[_0x4903('0x81')]['getLastMatchingPosition'](_0x201d02,{'direction':'backward'});return(!_0x383c23[_0x4903('0x170')][_0x4903('0xd4')](_0x4c68ea)||!_0x383c23[_0x4903('0x81')][_0x4903('0xd4')](_0x140cf2))&&(_0x4c68ea['isBefore'](_0x140cf2)?_0x1f9a5f[_0x4903('0x172')](_0xe04014,{'range':_0x1f9a5f[_0x4903('0xc9')](_0x4c68ea,_0x140cf2)}):_0x1f9a5f[_0x4903('0x122')](_0xe04014),!0x0);}function Rt(_0x227176){return _0x23d02b(_0x227176);}function jt(_0x3eef5b){const _0x2db111=_0x3eef5b[_0x4903('0x170')][_0x4903('0x177')];return _0x2db111&&_0x2db111['is']('element');}function Ut(_0x36e75e,_0x1095ff){const _0xdc8760=_0x1095ff[_0x4903('0x11f')][_0x4903('0x74')](_0x36e75e)||_0x1095ff[_0x4903('0x11f')][_0x4903('0xd6')](_0x36e75e);return _0x1095ff[_0x4903('0xc9')](_0x1095ff[_0x4903('0x4e')](_0x36e75e,_0x4903('0xa2')),_0xdc8760?_0x1095ff['createPositionAfter'](_0x36e75e):_0x1095ff[_0x4903('0x4e')](_0x36e75e,_0x4903('0x81')));}function Ot(_0x330978,_0x1427bc,_0x43653d,_0x1dd1cf,_0x1f9f27){if(!Vt(_0x330978,_0x1427bc))return!0x1;if(_0x43653d[_0x4903('0x81')]['isEqual'](_0x1dd1cf[_0x4903('0x170')]))return!0x0;if(_0x330978[_0x4903('0x67')]!=_0x1427bc[_0x4903('0x67')])return!0x1;if(!_0x43653d['end'][_0x4903('0x93')](_0x1dd1cf[_0x4903('0x170')]))return!0x1;const _0x3754fa=_0x1f9f27['createRange'](_0x43653d['end'],_0x1dd1cf['start'])[_0x4903('0xf2')]();for(const _0x3f0fc2 of _0x3754fa)if(['elementStart','elementEnd'][_0x4903('0x72')](_0x3f0fc2[_0x4903('0x67')])&&_0x1f9f27[_0x4903('0x11f')][_0x4903('0x104')](_0x3f0fc2[_0x4903('0x2e')]))return!0x1;return!0x0;}function Vt(_0x56fdf0,_0x228418){return!(!_0x56fdf0['_isDataLoaded']||!_0x228418[_0x4903('0xd0')])&&_0x2475bf(_0x56fdf0[_0x4903('0xcb')],_0x228418[_0x4903('0xcb')]);}function Ft(_0x39e78c,_0x43c11b){const _0x293697=Gt(_0x39e78c[_0x4903('0xcb')]),_0x1a9ae2=Gt(_0x43c11b);if(!_0x39e78c['_isDataLoaded'])return!0x1;for(const _0x473606 of Object[_0x4903('0x5')](_0x1a9ae2))if(!_0x2475bf(_0x293697[_0x473606],_0x1a9ae2[_0x473606]))return!0x1;return!0x0;}function Gt(_0x53e851){const _0xe3c14e=Object['assign']({},_0x53e851);return delete _0xe3c14e[_0x4903('0x164')],delete _0xe3c14e[_0x4903('0x130')],_0xe3c14e;}
|
|
23
|
+
const _0x1c54=['_defaultCallbacks','removeAttribute','insertion:chain','applyOperation','_registerDefaultCallbacks','addSuggestion','newValue','sort','$graveyard','removeMarker','find','addSuggestionData','discardAllSuggestions','_mergeNestedSuggestions','for','_handleNewSuggestionMarker','markBlockFormat','attribute:accept','addMarker:suggestion:formatBlock','_breakSuggestionMarker','conversion','groupId','root','editingDowncast','setTo','_reduceSuggestionAttributeRange','delete','getFirstRange','$elementName','addMarkerName','always','includes','then','isObject','authoredAt','_setSuggestionRange','map','$textProxy','deletion','_cutOutSuggestionMarker','notReady','enqueueChange','ck-suggestion-marker-formatBlock','stop','batch','hasComments','markerNameToElements','getMultiRangeId','getNearestSelectionRange','formatBlock:chain','acceptSelectedSuggestions','removeClass','_processAttributeChanges','formatInline:chain','insertion:join','getFirstMarker','listenTo','enableCommand','_SUGGESTION_ANNOUNCEMENT','markDeletion','_rangeIsInLocalUserInsertion','key','oldRange','_updateSuggestionData','ck-suggestion-marker--active','formatBlock:join','getRanges','trackChanges.trackFormatChanges','model','_enabledCommands','trackChanges.mergeNestedSuggestions','containsRange','rename','addMarker:suggestion','createPositionAt','rootName','getCommentThread','formatBlock:accept','creator','@external','_setSuggestionData','getChangedMarkers','toViewElement','forceDefaultExecution','_blockAttributeKeys','change','containsPosition','item','formatInline:','acceptSuggestion','push','position','attributeOldValue','splice','enableReadOnlyMode','stopListening','consume','config','createRange','hasCommentThread','_isDataLoaded','suggestionUnloaded','getAncestors','next','meta','split','_customCallbacks','_registerBlockAttribute','before','attribute:join','deleteContent','removeMarker:suggestion:attribute','_splitMarkerName','attributes','insertion:discard','accepted','deletion:','formatInline:discard','previous','bindElementToMarker','isInsideObject','track-changes-adapter-missing-getsuggestion','formatInline','_registerInlineAttribute','length','setSelection','fromCharCode','catch','_trackFormatChanges','keys','isBefore','containerElement','_suggestionFactory','end','_suggestions','widget','getRange','schema','getAllAdjacentSuggestions','locale','addCommentThread','version','refresh','plugins','_isBlockAttribute','markerToHighlight','track-changes-user-not-found','from','value','Users','ariaLiveAnnouncer','_getSuggestionData','collaboration.channelId','markMultiRangeInsertion','_inlineAttributeKeys','_getExternalAuthor','unbind','_reduceExistingSuggestions','addMarker','init','PENDING_ACTION_SUGGESTION','upcast','formatGroupId','backward','startsWith','markers','_isForcedDefaultExecutionBlock','remove','updateMarker','setAttribute','resolve','getSuggestionCallback','selection','insertion:','insertion','isNextTo','nodeBefore','getItems','isAtEnd','external:','documentSelection','getShiftedBy','track-changes-suggestion-not-found','chain','targetPosition','suggestion:attribute:','fire','suggestion-type','accept','normal','change:data','getDifference','getWalker','multi','highest','elementStart','discardSelectedSuggestions','differ','attribute:','addClass','range','attributeNewValue','oldName','data','getAttribute','suggestionLoaded','every','define','skipNestingCheck','track-changes-suggestion-data-mismatch','authorName','parent','error-saving-suggestion-data-suggestion-discarded','formatBlock','editor','values','newRange','_saved','return','isIntersecting','unshift','isRemovable','has','formatBlock:discard','PendingActions','dataDowncast','ready','containsRangeInObject','_processAttributeSuggestions','low','open','markMultiRangeBlockFormat','createSelection','isInContent','attribute:discard','isBlock','markAttributeChange','$marker','_checkSuggestionCorrectness','markerReady','markMultiRangeDeletion','rethrowUnexpectedError','addMarker:suggestion:attribute','deletion:discard','isIntersectingWithRange','unbindElementFromMarkerName','_recordAttributeChanges','execute','start','insertContent','deletion:join','isArray','consumable','_joinSuggestions','_editor','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','_getAttributeKeyFromSubType','_getAuthorFromId','addHighlight','isOwn','track-changes-adapter-already-set','ck-suggestion-marker-formatInline','ck-suggestion-marker-','warn','size','high','ck-suggestion-marker','registerCustomCallback','createElement','registerPostFixer','createPositionAfter','_addSuggestionMarker','author','filter','getLastMatchingPosition','oldValue','suggestion:','markInlineFormat','trackChangesCommand','toJSON','tablePasteChainId','format','comments','commands','getCustomProperty','head','forEach','_refreshSuggestionsChain','_enableDefaultAttributesIntegration','document','isMultiRange','changeAttribute','dataReady','adapter','fromRange','group','writer','createRangeIn','_recordAttributeSuggestionsFromVersion','after','multipleBlocks','discardSuggestion','mapper','removeMarkers','removeMarker:suggestion:formatBlock','_getMarkerAnnouncementText','CommentsRepository','buildSuggestion','removed','change:_saved','discard','track-changes-command-not-found','_adapter','getOperations','isLocal','add','deletion:chain','options','substr','suggestionChanged','join','rejected','clear','formatBlock:','newName','pluginName','getMarkers','commandName','markerName','showSuggestionHighlights','concat','reconvertMarker','$text','_refreshAttributeSuggestionsChain','isLimit','getIntersection','insert','_initAriaMarkerChangeAnnouncements','isTouching','never','getSuggestion','announce','isCollapsed','_joinWithAdjacentSuggestions','addUser','_model','_createSuggestion','nodeAfter','acceptAllSuggestions','name','type','createdAt','some','marker-count','_removeSuggestion','suggestion','commentThread','originalSuggestionId','isEqual','howMany','getUser','move','element','_suggestionState','createPositionBefore','addComment','detach','attribute','get','_onDiscard','data-suggestion','getSuggestions','_addThreadToSuggestion','change:activeMarkers','isUndo','addRange','subType','set','activeMarkers','_commentsRepository','trackChanges','update:suggestion','_findSuggestions','toUpperCase','isAfter'];(function(_0x33a2e8,_0x1c540c){const _0x20c307=function(_0x332621){while(--_0x332621){_0x33a2e8['push'](_0x33a2e8['shift']());}};_0x20c307(++_0x1c540c);}(_0x1c54,0x13d));const _0x20c3=function(_0x33a2e8,_0x1c540c){_0x33a2e8=_0x33a2e8-0x0;let _0x20c307=_0x1c54[_0x33a2e8];return _0x20c307;};import{Plugin as _0x1f063b,PendingActions as _0x55d126}from'ckeditor5/src/core';import{LiveRange as _0x2ad332}from'ckeditor5/src/engine';import{CKEditorError as _0x4c012d,uid as _0x72b486,priorities as _0x134559,logWarning as _0x37bf33}from'ckeditor5/src/utils';import{toWidget as _0x45a078}from'ckeditor5/src/widget';import{Users as _0x4be65c,hashObject as _0x3a1bc4,surroundingMarkersDetector as _0x2bd60d}from'ckeditor5-collaboration/src/collaboration-core';import _0x135f2b from'./commands/trackchangescommand';import _0x426bbc from'./commands/acceptsuggestioncommand';import _0x7c8a27 from'./commands/discardsuggestioncommand';import _0x226265 from'./commands/executeonallsuggestionscommand';import _0x4ec4cc from'./commands/executeonselectedsuggestionscommand';import _0x5dec31 from'./suggestion';import _0x21734d from'./suggestiondescriptionfactory';import _0x11d5c5 from'./integrations/aiassistant';import _0x11068b from'./integrations/alignment';import _0x25c3b0 from'./integrations/basicstyles';import _0x54977e from'./integrations/blockquote';import _0x46d7a5 from'./integrations/ckbox';import _0x3e61bc from'./integrations/codeblock';import _0x2eab90 from'./integrations/comments';import _0x49f111 from'./integrations/deletecommand';import _0x3b38c0 from'./integrations/documentlist';import _0x1d1fb7 from'./integrations/documentlistproperties';import _0x44bd37 from'./integrations/entercommand';import _0x403409 from'./integrations/findandreplace';import _0x4cbb0f from'./integrations/font';import _0x3ff48f from'./integrations/formatpainter';import _0x114539 from'./integrations/heading';import _0x17bf7d from'./integrations/highlight';import _0x13d10c from'./integrations/horizontalline';import _0x498fab from'./integrations/htmlembed';import _0x23b04d from'./integrations/image';import _0x9c7415 from'./integrations/imagereplace';import _0x100e56 from'./integrations/imagestyle';import _0x53ecc8 from'./integrations/importword';import _0x696fb from'./integrations/indent';import _0x3b7db6 from'./integrations/inputcommand';import _0x42cebe from'./integrations/link';import _0x3c7118 from'./integrations/list';import _0x2cd365 from'./integrations/listproperties';import _0x5060ca from'./integrations/mediaembed';import _0x2627ac from'./integrations/mention';import _0x3a0688 from'./integrations/pagebreak';import _0x5a87a1 from'./integrations/paragraph';import _0x203c67 from'./integrations/removeformat';import _0x44e595 from'./integrations/restrictededitingmode';import _0x2a33e1 from'./integrations/shiftentercommand';import _0x4cf27c from'./integrations/standardeditingmode';import _0x4c3026 from'./integrations/style';import _0x497220 from'./integrations/table';import _0x933379 from'./integrations/tablemergesplit';import _0xbf88ac from'./integrations/tableheadings';import _0x26d06d from'./integrations/tableclipboard';import _0x58fa73 from'./integrations/tablecolumnresize';import _0x4c8b26 from'./integrations/template';import _0x3a29f6 from'./integrations/tableofcontents';import _0x52d751 from'./integrations/title';import _0x582fc8 from'./integrations/undo';import _0x3223bb from'./integrations/tablecaption';import _0x2e66e1 from'./integrations/tableproperties';import{getTranslation as _0x1a716d}from'./utils/common-translations';import{isEqual as _0xe8dc10,omit as _0x39a72e}from'lodash-es';export const renameAttributeKey=_0x20c3('0x60');export default class p extends _0x1f063b{static get['requires'](){return[_0x20c3('0x176'),_0x4be65c,_0x55d126,_0x11d5c5,_0x11068b,_0x25c3b0,_0x54977e,_0x46d7a5,_0x3e61bc,_0x2eab90,_0x49f111,_0x3b38c0,_0x1d1fb7,_0x44bd37,_0x403409,_0x4cbb0f,_0x3ff48f,_0x114539,_0x17bf7d,_0x13d10c,_0x498fab,_0x23b04d,_0x100e56,_0x9c7415,_0x53ecc8,_0x696fb,_0x3b7db6,_0x42cebe,_0x3c7118,_0x2cd365,_0x5060ca,_0x2627ac,_0x3a0688,_0x5a87a1,_0x203c67,_0x44e595,_0x2a33e1,_0x4cf27c,_0x4c3026,_0x497220,_0x933379,_0xbf88ac,_0x3223bb,_0x26d06d,_0x58fa73,_0x3a29f6,_0x2e66e1,_0x4c8b26,_0x52d751,_0x582fc8];}static get[_0x20c3('0x8')](){return'TrackChangesEditing';}constructor(_0x19fbe8){function _0x4e2a45(_0x971383){return _0x971383['map'](_0x1ac969=>String[_0x20c3('0xc2')](_0x1ac969))['join']('');}super(_0x19fbe8),this['_recordAttributeSuggestionsFromVersion']=null,this['set'](_0x20c3('0x3d'),[]),this['on'](_0x20c3('0x38'),(_0xe91a7c,_0x1c78c1,_0x165352,_0x4a58bc)=>{this[_0x20c3('0x1c')][_0x20c3('0x99')](()=>{for(const _0x134bcd of[..._0x4a58bc,..._0x165352])this[_0x20c3('0x1c')][_0x20c3('0xe9')]['has'](_0x134bcd)&&_0x19fbe8['editing'][_0x20c3('0xe')](_0x134bcd);});}),this['_descriptionFactory']=new _0x21734d(this[_0x20c3('0x11a')][_0x20c3('0x88')][_0x20c3('0xcd')],this[_0x20c3('0x11a')]['locale']),this[_0x20c3('0x17c')]=null,this['_suggestionFactory']=new Bt(this['editor']),this['_suggestions']=new Map(),this[_0x20c3('0x3e')]=_0x19fbe8[_0x20c3('0xd3')][_0x20c3('0x33')]('CommentsRepository'),this[_0x20c3('0x89')]=new Set(),this[_0x20c3('0x1c')]=this[_0x20c3('0x11a')][_0x20c3('0x88')],this[_0x20c3('0x2e')]=new WeakMap(),this[_0x20c3('0xea')]=!0x1,this['_blockAttributeKeys']=new Set([_0x20c3('0x60')]),this['_inlineAttributeKeys']=new Set(),_0x19fbe8['config'][_0x20c3('0x113')](_0x20c3('0x87'),'default'),this[_0x20c3('0xc4')]=_0x19fbe8['config'][_0x20c3('0x33')](_0x20c3('0x87')),_0x19fbe8[_0x20c3('0xa5')][_0x20c3('0x113')](_0x20c3('0x8a'),!0x0),this[_0x20c3('0x51')]=_0x19fbe8[_0x20c3('0xa5')][_0x20c3('0x33')](_0x20c3('0x8a')),this[_0x20c3('0x15a')]=new _0x135f2b(_0x19fbe8,this['_enabledCommands']),this[_0x20c3('0x14')](),this[_0x4e2a45([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4e2a45([0x34,0x30,0x34,0x36,0x32,0x32,0x34,0x36]);}[_0x20c3('0xe3')](){const _0x58710d=this[_0x20c3('0x11a')],_0x4b4d70=(_0x1dd871,_0x182062)=>{if(_0x20c3('0x32')!=_0x1dd871)return _0x20c3('0x14a')+_0x1dd871;const _0x1da88d=_0x182062[_0x20c3('0xad')]('|')[0x0];return this[_0x20c3('0xd4')](_0x1da88d)?_0x20c3('0x6e'):_0x20c3('0x149');};_0x58710d[_0x20c3('0x58')][_0x20c3('0x52')](_0x20c3('0x5b'))['markerToHighlight']({'model':_0x20c3('0x26'),'view':_0x266d7e=>{const {id:_0x395adc,type:_0x57a6bf,subType:_0x40ef05}=this['_splitMarkerName'](_0x266d7e[_0x20c3('0xb')]),_0x511867=[_0x20c3('0x14e'),_0x4b4d70(_0x57a6bf,_0x40ef05)];let _0x213560=0xbb8;return this[_0x20c3('0x3d')][_0x20c3('0x63')](_0x266d7e[_0x20c3('0xb')])&&(_0x511867['push']('ck-suggestion-marker--active'),_0x213560=0xbc2),_0x20c3('0x6a')==_0x57a6bf&&(_0x213560+=0x5),{'classes':_0x511867,'attributes':{'data-suggestion':_0x395adc},'priority':_0x213560};}}),_0x58710d[_0x20c3('0x58')]['for'](_0x20c3('0x125'))[_0x20c3('0x17f')](_0x3cb473=>{_0x3cb473['on'](_0x20c3('0x8d'),(_0x2355f0,_0x41f625,_0x2f16c7)=>{if(!_0x2f16c7['options'][_0x20c3('0xc')])return;const _0x4e340f=_0x41f625[_0x20c3('0x9b')];if(!_0x4e340f)return;const _0x2f94a3=_0x2f16c7['mapper'][_0x20c3('0x96')](_0x4e340f);_0x58710d[_0x20c3('0x88')][_0x20c3('0xcd')][_0x20c3('0x65')](_0x4e340f)&&_0x2f94a3&&!_0x2f94a3[_0x20c3('0x160')](_0x20c3('0xcb'))&&_0x2f94a3['is'](_0x20c3('0xc7'))&&_0x45a078(_0x2f94a3,_0x2f16c7[_0x20c3('0x16c')]);},{'priority':'high'});}),_0x58710d[_0x20c3('0x58')][_0x20c3('0x52')](_0x20c3('0x125'))[_0x20c3('0xd5')]({'model':_0x20c3('0x26'),'view':(_0x23984e,_0xc0d935)=>{if(!_0xc0d935['options'][_0x20c3('0xc')])return null;const {type:_0x261b1f,subType:_0x281d73}=this['_splitMarkerName'](_0x23984e['markerName']);return{'classes':['ck-suggestion-marker',_0x4b4d70(_0x261b1f,_0x281d73)],'priority':0xbb8};}});const _0x15225b=({showActiveMarkers:_0x604aa1=!0x0,isAttributeSuggestion:_0x42f6c9=!0x1}={})=>(_0x26ebc9,_0x1bf17d,_0x266d30)=>{if(!_0x1bf17d[_0x20c3('0x9b')])return;const {id:_0x4ed009}=this['_splitMarkerName'](_0x1bf17d['markerName']);if(_0x42f6c9){const _0x3485c4=this[_0x20c3('0xca')][_0x20c3('0x33')](_0x4ed009),_0x9621aa=this['_getAttributeKeyFromSubType'](_0x3485c4);if(!this[_0x20c3('0xd4')](_0x9621aa))return;}if(_0x1bf17d[_0x20c3('0x9b')]['is'](_0x20c3('0xf0')))return void _0x266d30[_0x20c3('0x140')][_0x20c3('0xa4')](_0x1bf17d[_0x20c3('0x9b')],_0x26ebc9[_0x20c3('0x20')]);const _0x5bf2d8=_0x266d30[_0x20c3('0x172')][_0x20c3('0x96')](_0x1bf17d[_0x20c3('0x9b')]);if(_0x1bf17d['item']['is'](_0x20c3('0x2d'))&&_0x58710d['model'][_0x20c3('0xcd')]['isBlock'](_0x1bf17d[_0x20c3('0x9b')])&&!_0x5bf2d8[_0x20c3('0x160')](_0x20c3('0x146'))){_0x266d30[_0x20c3('0x16c')][_0x20c3('0x10b')]([_0x20c3('0x14e'),'ck-suggestion-marker-formatBlock'],_0x5bf2d8),_0x266d30['writer'][_0x20c3('0xed')]('data-suggestion',_0x4ed009,_0x5bf2d8),_0x266d30[_0x20c3('0x172')][_0x20c3('0xbb')](_0x5bf2d8,_0x1bf17d['markerName']),_0x604aa1&&(this['activeMarkers'][_0x20c3('0x63')](_0x1bf17d[_0x20c3('0xb')])?_0x266d30['writer']['addClass'](_0x20c3('0x84'),_0x5bf2d8):_0x266d30[_0x20c3('0x16c')][_0x20c3('0x77')](_0x20c3('0x84'),_0x5bf2d8));for(const _0x17684b of _0x58710d[_0x20c3('0x88')][_0x20c3('0x16d')](_0x1bf17d['item'])[_0x20c3('0xf5')]())_0x266d30[_0x20c3('0x140')][_0x20c3('0xa4')](_0x17684b,_0x26ebc9[_0x20c3('0x20')]);_0x266d30[_0x20c3('0x140')]['consume'](_0x1bf17d['item'],_0x26ebc9[_0x20c3('0x20')]);}};_0x58710d['conversion'][_0x20c3('0x52')](_0x20c3('0x125'))[_0x20c3('0x17f')](_0x1a02c9=>{_0x1a02c9['on'](_0x20c3('0x56'),(_0x297d58,_0x162a0f,_0xc6cb23)=>{_0xc6cb23[_0x20c3('0x0')][_0x20c3('0xc')]&&_0x15225b({'showActiveMarkers':!0x1})(_0x297d58,_0x162a0f,_0xc6cb23);},{'priority':_0x20c3('0x106')});}),_0x58710d['conversion'][_0x20c3('0x52')](_0x20c3('0x125'))[_0x20c3('0x17f')](_0xf9d907=>{_0xf9d907['on']('addMarker:suggestion:attribute',(_0x497b83,_0x5db3dd,_0x18a4ee)=>{_0x18a4ee['options'][_0x20c3('0xc')]&&_0x15225b({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x497b83,_0x5db3dd,_0x18a4ee);},{'priority':'highest'});}),_0x58710d['conversion'][_0x20c3('0x52')](_0x20c3('0x125'))['markerToData']({'model':_0x20c3('0x26'),'view':(_0x49d9d1,_0x2a9c96)=>_0x2a9c96['options'][_0x20c3('0xc')]?null:{'group':_0x20c3('0x26'),'name':_0x49d9d1[_0x20c3('0x1')](0xb)}}),_0x58710d[_0x20c3('0x58')][_0x20c3('0x52')](_0x20c3('0xe5'))['elementToElement']({'view':{'name':_0x20c3('0x26'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x445f0b,{writer:_0x1f3348})=>{let _0x4a3c36=_0x20c3('0x158')+_0x445f0b[_0x20c3('0x110')](_0x20c3('0xff'))+':'+_0x445f0b['getAttribute']('id');return _0x445f0b[_0x20c3('0x110')](_0x20c3('0x24'))&&(_0x4a3c36+=':'+_0x445f0b[_0x20c3('0x110')](_0x20c3('0x24'))),_0x1f3348[_0x20c3('0x150')](_0x20c3('0x131'),{'data-name':_0x4a3c36});}}),_0x58710d[_0x20c3('0x58')][_0x20c3('0x52')](_0x20c3('0xe5'))['dataToMarker']({'view':_0x20c3('0x26')}),_0x58710d['conversion'][_0x20c3('0x52')](_0x20c3('0x5b'))[_0x20c3('0x17f')](_0x57816c=>{_0x57816c['on'](_0x20c3('0x56'),_0x15225b(),{'priority':_0x20c3('0x14d')});}),_0x58710d[_0x20c3('0x58')][_0x20c3('0x52')](_0x20c3('0x5b'))['add'](_0x27c9bb=>{_0x27c9bb['on'](_0x20c3('0x136'),_0x15225b({'isAttributeSuggestion':!0x0}),{'priority':_0x20c3('0x14d')});}),_0x58710d[_0x20c3('0x58')][_0x20c3('0x52')](_0x20c3('0x5b'))[_0x20c3('0x17f')](_0x5c2eba=>{_0x5c2eba['on'](_0x20c3('0x174'),(_0x3e57c6,_0x2f77e6,_0x66559b)=>{const _0x949833=_0x66559b['mapper'][_0x20c3('0x72')](_0x2f77e6[_0x20c3('0xb')]);if(_0x949833)for(const _0x294423 of _0x949833)_0x294423[_0x20c3('0x160')](_0x20c3('0x146'))||(_0x66559b['writer'][_0x20c3('0x77')]([_0x20c3('0x14e'),_0x20c3('0x6e'),_0x20c3('0x84')],_0x294423),_0x66559b[_0x20c3('0x16c')][_0x20c3('0x45')](_0x20c3('0x35'),_0x294423),_0x66559b[_0x20c3('0x172')][_0x20c3('0x139')](_0x294423,_0x2f77e6[_0x20c3('0xb')]));},{'priority':_0x20c3('0x14d')});}),_0x58710d[_0x20c3('0x58')][_0x20c3('0x52')](_0x20c3('0x5b'))[_0x20c3('0x17f')](_0x333d3f=>{_0x333d3f['on'](_0x20c3('0xb3'),(_0x384ebd,_0x2a9532,_0x140324)=>{const _0x4c8392=_0x140324[_0x20c3('0x172')][_0x20c3('0x72')](_0x2a9532[_0x20c3('0xb')]);if(!_0x4c8392)return;const {id:_0x3344de}=this[_0x20c3('0xb4')](_0x2a9532[_0x20c3('0xb')]),_0x5852a2=this[_0x20c3('0xca')]['get'](_0x3344de),_0x42ee70=this[_0x20c3('0x144')](_0x5852a2);if(this[_0x20c3('0xd4')](_0x42ee70))for(const _0x177f80 of _0x4c8392)_0x177f80[_0x20c3('0x160')]('addHighlight')||(_0x140324[_0x20c3('0x16c')][_0x20c3('0x77')]([_0x20c3('0x14e'),_0x20c3('0x6e'),'ck-suggestion-marker--active'],_0x177f80),_0x140324[_0x20c3('0x16c')][_0x20c3('0x45')](_0x20c3('0x35'),_0x177f80),_0x140324[_0x20c3('0x172')][_0x20c3('0x139')](_0x177f80,_0x2a9532[_0x20c3('0xb')]));},{'priority':_0x20c3('0x14d')});}),_0x58710d[_0x20c3('0x88')][_0x20c3('0x165')]['registerPostFixer'](_0x20dec4=>{let _0x52feee=!0x1;const _0x4c2b6f=Array[_0x20c3('0xd7')](_0x58710d[_0x20c3('0x88')][_0x20c3('0x165')][_0x20c3('0x109')][_0x20c3('0x95')]()),_0x51a4da=new Set();for(const {name:_0x571591,data:_0x49a274}of _0x4c2b6f){const {group:_0x63acf9,type:_0x36cdab,subType:_0x455063,id:_0x360230}=this[_0x20c3('0xb4')](_0x571591);if(_0x20c3('0x26')!==_0x63acf9)continue;const _0x4d68bd=this['_suggestions'][_0x20c3('0x33')](_0x360230);if(null!=_0x49a274[_0x20c3('0x11c')]){_0x20c3('0xbe')==_0x36cdab&&(_0x52feee=_0x52feee||Et(_0x49a274[_0x20c3('0x11c')],_0x571591,_0x20dec4,_0x58710d[_0x20c3('0x88')]['schema']));const _0x32c5b3=_0x20c3('0x32')==_0x36cdab&&this[_0x20c3('0xd4')](_0x455063[_0x20c3('0xad')]('|')[0x0]);if(_0x49a274[_0x20c3('0x11c')][_0x20c3('0x19')]||'$graveyard'==_0x49a274['newRange'][_0x20c3('0x5a')]['rootName']||_0x20c3('0x119')==_0x36cdab&&!jt(_0x49a274['newRange'])||_0x32c5b3&&!jt(_0x49a274['newRange'])||_0x20c3('0x6a')==_0x36cdab&&!(!xt(_0x194aa7=_0x49a274[_0x20c3('0x11c')])&&!function(_0x4c63c8){return _0x4c63c8[_0x20c3('0x13c')][_0x20c3('0x117')]==_0x4c63c8[_0x20c3('0xc9')][_0x20c3('0xf4')]&&_0x4c63c8['start'][_0x20c3('0xf6')];}(_0x194aa7)))_0x20dec4[_0x20c3('0x4d')](_0x571591),_0x52feee=!0x0;else{if(!_0x4d68bd||!_0x4d68bd['isInContent'])continue;_0x51a4da[_0x20c3('0x17f')](_0x4d68bd);}}}var _0x194aa7;return _0x51a4da[_0x20c3('0x14c')]>0x0&&(_0x52feee=!!this[_0x20c3('0x1a')](_0x51a4da)||_0x52feee),_0x52feee;}),_0x58710d['model'][_0x20c3('0x165')]['registerPostFixer'](_0x41f68f=>{let _0x2f8591=!0x1;for(const _0x42afcb of _0x58710d[_0x20c3('0x88')][_0x20c3('0x165')][_0x20c3('0x109')]['getChanges']())if(_0x20c3('0x13')==_0x42afcb['type'])for(const _0x4925c0 of this['_suggestions']['values']()){if(_0x4925c0[_0x20c3('0x166')]||!_0x4925c0['isInContent'])continue;const _0x8798e4='formatBlock'==_0x4925c0['type'],_0x4421e6=this[_0x20c3('0x144')](_0x4925c0),_0xf389e8=_0x4421e6&&this[_0x20c3('0xd4')](_0x4421e6);if(!_0x8798e4&&!_0xf389e8)continue;const _0x37db12=_0x4925c0['getFirstRange']();if(_0x37db12[_0x20c3('0x13c')]['parent']!=_0x37db12[_0x20c3('0xc9')]['parent']&&!_0x37db12[_0x20c3('0xc9')]['isAtEnd']){const _0x436687=_0x58710d[_0x20c3('0x88')][_0x20c3('0x8e')](_0x37db12[_0x20c3('0x13c')][_0x20c3('0x1e')],'end'),_0x2c4596=_0x58710d[_0x20c3('0x88')][_0x20c3('0xa6')](_0x37db12[_0x20c3('0x13c')],_0x436687);_0x41f68f[_0x20c3('0xec')](_0x4925c0[_0x20c3('0x7b')](),{'range':_0x2c4596}),_0x2f8591=!0x0;}}return _0x2f8591;}),_0x58710d[_0x20c3('0x88')]['document'][_0x20c3('0x151')](_0x64520=>this[_0x20c3('0x78')](_0x64520)),_0x58710d['model']['document']['registerPostFixer'](_0x476c99=>!_0x476c99[_0x20c3('0x70')]['isLocal']&&this[_0x20c3('0x128')](_0x476c99)),_0x58710d[_0x20c3('0x88')][_0x20c3('0xe9')]['on'](_0x20c3('0x40'),(_0x158eee,_0x2d2e99,_0x26b7e4)=>{if(null==_0x26b7e4){const {id:_0x10d9e4}=this['_splitMarkerName'](_0x2d2e99[_0x20c3('0x20')]),_0xf12d54=this['_suggestions'][_0x20c3('0x33')](_0x10d9e4);_0xf12d54&&_0xf12d54['addMarkerName'](_0x2d2e99[_0x20c3('0x20')]);}}),_0x58710d['model'][_0x20c3('0x165')]['on'](_0x20c3('0x102'),()=>{const _0x3e7075=Array[_0x20c3('0xd7')](_0x58710d[_0x20c3('0x88')][_0x20c3('0x165')]['differ'][_0x20c3('0x95')]())[_0x20c3('0x155')](_0x3d4436=>_0x20c3('0x26')===this[_0x20c3('0xb4')](_0x3d4436[_0x20c3('0x20')])[_0x20c3('0x16b')]);if(0x0===_0x3e7075[_0x20c3('0xc0')])return;_0x3e7075[_0x20c3('0x4b')]((_0x3b8bca,_0x1a8007)=>{const _0xf937d7=_0x3b8bca[_0x20c3('0x10f')][_0x20c3('0x82')],_0x38d6e0=_0x1a8007[_0x20c3('0x10f')]['oldRange'];return null===_0xf937d7&&null===_0x38d6e0?0x0:null===_0xf937d7&&null!==_0x38d6e0?-0x1:null!==_0xf937d7&&null===_0x38d6e0?0x1:_0xf937d7['start']['isBefore'](_0x38d6e0['start'])?-0x1:0x1;});const _0x5efde2=new Set(),_0x528486=new Set();for(const {name:_0xce2c9c,data:_0xa43f53}of _0x3e7075){const {id:_0x5b33ea}=this[_0x20c3('0xb4')](_0xce2c9c);if(null===_0xa43f53['oldRange']){const _0x420b5a=this[_0x20c3('0x53')](_0xce2c9c);_0x528486[_0x20c3('0x17f')](_0x420b5a);}else{const _0x4f2c7a=this[_0x20c3('0xca')]['get'](_0x5b33ea);null!==_0xa43f53[_0x20c3('0x11c')]||_0x4f2c7a[_0x20c3('0x12d')]?(_0x5efde2['add'](_0x4f2c7a[_0x20c3('0x161')]),_0x528486[_0x20c3('0x17f')](_0x4f2c7a)):this['_removeSuggestion'](_0x4f2c7a);}}_0x528486['size']>0x0&&this['_refreshSuggestionsChain'](_0x528486);for(const _0x1378c2 of _0x5efde2)this[_0x20c3('0xfe')]('suggestionChanged',_0x1378c2);}),_0x58710d[_0x20c3('0x88')]['on'](_0x20c3('0x47'),(_0x583d39,_0x2bf5c7)=>{const _0x30f7d3=_0x2bf5c7[0x0];if(!this[_0x20c3('0xca')]['size'])return;if(!_0x30f7d3['isDocumentOperation'])return;if(_0x30f7d3[_0x20c3('0x70')][_0x20c3('0x39')]||!_0x30f7d3[_0x20c3('0x70')][_0x20c3('0x17e')])return;let _0x3d38d8,_0x5f1135;switch(_0x30f7d3[_0x20c3('0x21')]){case _0x20c3('0x13'):_0x3d38d8=_0x58710d[_0x20c3('0x88')][_0x20c3('0x8e')](_0x30f7d3[_0x20c3('0x9f')]),_0x5f1135=_0x3d38d8[_0x20c3('0xf9')](_0x30f7d3['howMany']);break;case _0x20c3('0xad'):_0x3d38d8=_0x58710d[_0x20c3('0x88')][_0x20c3('0x8e')](_0x30f7d3['splitPosition']),_0x5f1135=_0x58710d['model']['createPositionAt'](_0x30f7d3['moveTargetPosition']);break;case _0x20c3('0x2c'):_0x3d38d8=_0x58710d[_0x20c3('0x88')][_0x20c3('0x8e')](_0x30f7d3[_0x20c3('0xfc')]),_0x5f1135=_0x3d38d8['getShiftedBy'](_0x30f7d3[_0x20c3('0x2a')]);break;default:return;}const _0x2e2a49=_0x58710d[_0x20c3('0x88')]['createRange'](_0x3d38d8,_0x5f1135);_0x58710d[_0x20c3('0x88')][_0x20c3('0x99')](()=>{for(const {suggestion:_0x57f554,meta:_0x5a198c}of this[_0x20c3('0x41')](_0x2e2a49)){if(_0x57f554[_0x20c3('0x166')])continue;if(_0x20c3('0xbe')==_0x57f554[_0x20c3('0x21')])continue;const _0x58faba=this[_0x20c3('0x144')](_0x57f554);if(_0x58faba&&this[_0x20c3('0xd4')](_0x58faba)&&'split'!=_0x30f7d3['type'])continue;const _0x57314c=_0x57f554['data']&&_0x57f554[_0x20c3('0x10f')][_0x20c3('0x170')];(_0x20c3('0x119')!=_0x57f554[_0x20c3('0x21')]||_0x20c3('0xad')==_0x30f7d3[_0x20c3('0x21')]&&!_0x57314c)&&(_0x5a198c[_0x20c3('0x127')]||_0x20c3('0xf2')==_0x57f554[_0x20c3('0x21')]&&_0x5a198c[_0x20c3('0x147')]||_0x57f554[_0x20c3('0x5f')]()[_0x20c3('0x8b')](_0x2e2a49)&&this[_0x20c3('0x57')](_0x57f554,_0x3d38d8,_0x5f1135));}});},{'priority':'lowest'}),_0x58710d['model']['on'](_0x20c3('0xb2'),(_0x59eea5,_0x75d92f)=>{const _0x4089bc=_0x75d92f[0x0],_0x5d4bdb=_0x75d92f[0x1];if(_0x5d4bdb&&_0x5d4bdb[_0x20c3('0x97')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0x20c3('0x15a')]['value'])return;if(_0x4089bc[_0x20c3('0x19')])return;const _0x5b1676=_0x58710d[_0x20c3('0x88')][_0x20c3('0xcd')],{start:_0x282e80,end:_0x29457c}=_0x4089bc[_0x20c3('0x5f')](),_0x1a8357=_0x282e80[_0x20c3('0x1e')]&&_0x5b1676['isLimit'](_0x282e80[_0x20c3('0x1e')])?null:_0x5b1676[_0x20c3('0x74')](_0x282e80,'forward'),_0x233879=_0x29457c[_0x20c3('0xf4')]&&_0x5b1676[_0x20c3('0x11')](_0x29457c[_0x20c3('0xf4')])?null:_0x5b1676[_0x20c3('0x74')](_0x29457c,_0x20c3('0xe7')),_0x5c725f=_0x58710d[_0x20c3('0x88')]['createRange'](_0x1a8357?_0x1a8357[_0x20c3('0x13c')]:_0x282e80,_0x233879?_0x233879[_0x20c3('0xc9')]:_0x29457c);_0x58710d[_0x20c3('0x88')][_0x20c3('0x99')](_0x5c8f0d=>{this[_0x20c3('0x7f')](_0x5c725f);const _0x169d10=_0x58710d[_0x20c3('0x88')][_0x20c3('0xcd')][_0x20c3('0x74')](_0x5c725f['start']);_0x4089bc['is'](_0x20c3('0xf8'))?_0x5c8f0d['setSelection'](_0x169d10):_0x4089bc[_0x20c3('0x5c')](_0x169d10);}),_0x59eea5[_0x20c3('0x6f')]();},{'priority':_0x134559[_0x20c3('0x101')]+0xa}),_0x58710d[_0x20c3('0x88')]['on'](_0x20c3('0x13d'),(_0x48222a,_0x562690)=>{const _0x34bf26=_0x562690[_0x562690['length']-0x1];_0x34bf26&&_0x34bf26[_0x20c3('0x97')]||this[_0x20c3('0xea')]||this['trackChangesCommand'][_0x20c3('0xd8')]&&(_0x58710d[_0x20c3('0x88')][_0x20c3('0x99')](()=>{let _0x115e3b=_0x58710d[_0x20c3('0x88')][_0x20c3('0x13d')](_0x562690[0x0],_0x562690[0x1],_0x562690[0x2],{'forceDefaultExecution':!0x0});if(!_0x115e3b)return;_0x48222a[_0x20c3('0x11e')]=_0x115e3b['clone']();const _0xa01555=_0x115e3b['end']['nodeBefore'],_0x5cc3a7=_0x58710d[_0x20c3('0x88')][_0x20c3('0xcd')];_0xa01555&&_0x5cc3a7[_0x20c3('0x12f')](_0xa01555)&&!_0x5cc3a7[_0x20c3('0x65')](_0xa01555)&&(_0x115e3b=_0x58710d[_0x20c3('0x88')][_0x20c3('0xa6')](_0x115e3b[_0x20c3('0x13c')],_0x58710d[_0x20c3('0x88')][_0x20c3('0x8e')](_0xa01555,_0x20c3('0xc9')))),this['markInsertion'](_0x115e3b);}),_0x48222a['stop']());},{'priority':_0x20c3('0x14d')}),this[_0x20c3('0x11a')][_0x20c3('0x15f')]['add'](_0x20c3('0x3f'),this['trackChangesCommand']),this['enableCommand'](_0x20c3('0x3f'));const _0x220466=new _0x426bbc(_0x58710d,this[_0x20c3('0xca')]);_0x58710d[_0x20c3('0x15f')][_0x20c3('0x17f')](_0x20c3('0x9d'),_0x220466),this['enableCommand'](_0x20c3('0x9d'));const _0x2a9aae=new _0x7c8a27(_0x58710d,this[_0x20c3('0xca')]);_0x58710d[_0x20c3('0x15f')]['add'](_0x20c3('0x171'),_0x2a9aae),this['enableCommand'](_0x20c3('0x171')),_0x58710d[_0x20c3('0x15f')][_0x20c3('0x17f')](_0x20c3('0x1f'),new _0x226265(_0x58710d,_0x220466,this['_suggestions'])),this[_0x20c3('0x7d')]('acceptAllSuggestions'),_0x58710d[_0x20c3('0x15f')]['add'](_0x20c3('0x50'),new _0x226265(_0x58710d,_0x2a9aae,this[_0x20c3('0xca')])),this['enableCommand'](_0x20c3('0x50')),_0x58710d[_0x20c3('0x15f')][_0x20c3('0x17f')](_0x20c3('0x76'),new _0x4ec4cc(_0x58710d,_0x220466,this[_0x20c3('0xca')])),this[_0x20c3('0x7d')]('acceptSelectedSuggestions'),_0x58710d[_0x20c3('0x15f')]['add'](_0x20c3('0x108'),new _0x4ec4cc(_0x58710d,_0x2a9aae,this['_suggestions'])),this['enableCommand'](_0x20c3('0x108'));const _0x4283ad=_0x58710d[_0x20c3('0xd3')][_0x20c3('0x33')](_0x20c3('0x176'));this[_0x20c3('0x7c')](_0x4283ad,_0x20c3('0x30'),(_0x69b8e7,{threadId:_0x2c3a91})=>{const _0x20665e=this[_0x20c3('0xca')][_0x20c3('0x33')](_0x2c3a91);_0x20665e&&_0x20665e[_0x20c3('0x27')]&&0x1===_0x20665e[_0x20c3('0x27')][_0x20c3('0xc0')]&&this[_0x20c3('0x83')](_0x2c3a91,{'hasComments':!0x0});},{'priority':_0x20c3('0x129')}),this[_0x20c3('0x7c')](_0x4283ad,'removeComment',(_0x2da32c,{threadId:_0x3f46b1})=>{const _0x31a698=this['_suggestions'][_0x20c3('0x33')](_0x3f46b1);_0x31a698&&_0x31a698[_0x20c3('0x27')]&&!_0x31a698[_0x20c3('0x27')][_0x20c3('0xc0')]&&this[_0x20c3('0x83')](_0x3f46b1,{'hasComments':!0x1});},{'priority':_0x20c3('0x129')});}set[_0x20c3('0x169')](_0xfbd332){if(this[_0x20c3('0x17c')])throw new _0x4c012d(_0x20c3('0x148'),this);this[_0x20c3('0x17c')]=_0xfbd332;}get[_0x20c3('0x169')](){return this[_0x20c3('0x17c')];}[_0x20c3('0x36')]({skipNotAttached:_0x13601=!0x1,toJSON:_0x58619c=!0x1}={}){const _0x58d69d=[];for(const _0x4ebc21 of this[_0x20c3('0xca')]['values']())_0x13601&&!_0x4ebc21[_0x20c3('0x12d')]||_0x58d69d['push'](_0x4ebc21);return _0x58619c?_0x58d69d[_0x20c3('0x68')](_0x10fe82=>_0x10fe82[_0x20c3('0x15b')]()):_0x58d69d;}[_0x20c3('0x17')](_0x1f3ad3){const _0x495101=this['_suggestions']['get'](_0x1f3ad3);if(!_0x495101)throw new _0x4c012d(_0x20c3('0xfa'),this);return _0x495101;}['hasSuggestion'](_0x371405){return this[_0x20c3('0xca')]['has'](_0x371405);}[_0x20c3('0x4f')](_0x25c879){const {authorId:_0xe5dbb5,id:_0x5dae76,attributes:_0x546373}=_0x25c879,[_0x3b77cb,_0x466c3e]=_0x25c879[_0x20c3('0x21')][_0x20c3('0xad')](':'),_0x1ac58d=this[_0x20c3('0xca')]['get'](_0x5dae76)||this[_0x20c3('0x1d')](_0x3b77cb,_0x466c3e,_0x5dae76,_0xe5dbb5,_0x546373);if(this[_0x20c3('0x37')](_0x1ac58d),this[_0x20c3('0x132')](_0x1ac58d,_0x3b77cb,_0x466c3e||null,_0xe5dbb5),_0x1ac58d['createdAt']=_0x25c879[_0x20c3('0x22')],_0x1ac58d[_0x20c3('0xa8')]=!0x0,_0x546373&&_0x546373[_0x20c3('0x93')]){const _0xde34a=_0x546373[_0x20c3('0x93')],_0x20a047=this[_0x20c3('0xdf')](_0xde34a[_0x20c3('0x116')]);_0x1ac58d[_0x20c3('0x66')]=_0xde34a['createdAt'],_0x1ac58d['author']=_0x20a047,_0x1ac58d['isExternal']=!0x0;}else _0x1ac58d[_0x20c3('0x66')]=_0x25c879[_0x20c3('0x22')];switch(_0x25c879[_0x20c3('0x10f')]&&(_0x1ac58d[_0x20c3('0x10f')]=_0x25c879[_0x20c3('0x10f')]),_0x25c879[_0x20c3('0xb5')]&&(_0x1ac58d[_0x20c3('0xb5')]=_0x25c879[_0x20c3('0xb5')]),this[_0x20c3('0x17c')]&&this[_0x20c3('0x17c')][_0x20c3('0x49')]||(_0x1ac58d[_0x20c3('0x11d')]=!0x0),this['_suggestionState'][_0x20c3('0x33')](_0x1ac58d)){case'notReady':this[_0x20c3('0x2e')]['set'](_0x1ac58d,_0x20c3('0x168'));break;case _0x20c3('0x133'):_0x1ac58d['isInContent']?(this[_0x20c3('0x163')](new Set([_0x1ac58d])),this[_0x20c3('0x1a')](new Set([_0x1ac58d])),this['_suggestionState']['set'](_0x1ac58d,_0x20c3('0x126')),this[_0x20c3('0xfe')](_0x20c3('0x111'),_0x1ac58d)):this[_0x20c3('0x2e')][_0x20c3('0x3c')](_0x1ac58d,_0x20c3('0x178'));}return _0x1ac58d;}[_0x20c3('0x9d')](_0x5395af){this[_0x20c3('0x97')](()=>{this[_0x20c3('0x11a')]['model']['change'](()=>{for(const _0x748b82 of _0x5395af[_0x20c3('0xce')]())_0x748b82[_0x20c3('0x100')]();});});}[_0x20c3('0x171')](_0x6d876b){this[_0x20c3('0x97')](()=>{this[_0x20c3('0x11a')]['model'][_0x20c3('0x99')](()=>{for(const _0x4a2f3b of _0x6d876b['getAllAdjacentSuggestions']())_0x4a2f3b[_0x20c3('0x17a')]();});});}[_0x20c3('0x7d')](_0x49f637,_0x2243fc){const _0x15ddf1=this[_0x20c3('0x11a')]['commands'][_0x20c3('0x33')](_0x49f637);if(!_0x15ddf1)throw new _0x4c012d(_0x20c3('0x17b'),this,{'commandName':_0x49f637});if(this[_0x20c3('0x89')][_0x20c3('0x122')](_0x15ddf1))throw new _0x4c012d('track-changes-enable-command-twice',this,{'commandName':_0x49f637});this[_0x20c3('0x89')]['add'](_0x15ddf1),_0x2243fc&&_0x15ddf1['on'](_0x20c3('0x13b'),(_0x37db9b,_0x74f534)=>{this[_0x20c3('0x15a')]['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x74f534[_0x20c3('0xc0')]>0x0&&_0x74f534[_0x74f534[_0x20c3('0xc0')]-0x1]&&_0x74f534[_0x74f534[_0x20c3('0xc0')]-0x1][_0x20c3('0x97')]?_0x74f534['pop']():(_0x37db9b[_0x20c3('0x11e')]=_0x2243fc((..._0x5ad687)=>_0x15ddf1[_0x20c3('0x13b')](..._0x5ad687,{'forceDefaultExecution':!0x0}),..._0x74f534),_0x37db9b[_0x20c3('0x6f')]())));},{'priority':_0x20c3('0x14d')});}['forceDefaultExecution'](_0x52ca06){let _0x522b89,_0x4be2eb;const _0x540134=this[_0x20c3('0xea')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x522b89=_0x52ca06();}catch(_0x4869b2){_0x4be2eb=_0x4869b2;}return _0x540134||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x4be2eb&&_0x4c012d[_0x20c3('0x135')](_0x4be2eb,this),_0x522b89;}['markInsertion'](_0x10ae9d,_0x5a898e=null,_0x257c59={}){if(_0x10ae9d[_0x20c3('0x19')])return null;const _0x3af406=this['editor'][_0x20c3('0xd3')][_0x20c3('0x33')]('Users')['me'];for(const {suggestion:_0x45503f,meta:_0x4d4467}of this['_findSuggestions'](_0x10ae9d,_0x20c3('0xf2')))if(_0x4d4467[_0x20c3('0x147')]){if(!_0x4d4467[_0x20c3('0xf3')]){if(_0x4d4467['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!Ft(_0x45503f,_0x257c59))continue;return _0x45503f;}if(Ft(_0x45503f,_0x257c59))return _0x45503f;this[_0x20c3('0x57')](_0x45503f,_0x10ae9d[_0x20c3('0x13c')],_0x10ae9d[_0x20c3('0xc9')]);break;}if(_0x5a898e==_0x45503f[_0x20c3('0x3b')]&&Ft(_0x45503f,_0x257c59)){const _0xc200b4=_0x45503f[_0x20c3('0x5f')]();return _0xc200b4[_0x20c3('0x13c')][_0x20c3('0x29')](_0x10ae9d[_0x20c3('0xc9')])?this[_0x20c3('0x67')](_0x45503f,this['_model'][_0x20c3('0xa6')](_0x10ae9d[_0x20c3('0x13c')],_0xc200b4[_0x20c3('0xc9')])):this[_0x20c3('0x67')](_0x45503f,this[_0x20c3('0x1c')]['createRange'](_0xc200b4[_0x20c3('0x13c')],_0x10ae9d['end'])),_0x45503f;}}const _0x30aa7e=_0x72b486(),_0x29da88=_0x3af406['id'],_0x11ac22=_0x5a898e?'insertion:'+_0x5a898e:'insertion',_0x5dd59d=this['_setSuggestionData']({'id':_0x30aa7e,'type':_0x11ac22,'createdAt':new Date(),'authorId':_0x29da88,'attributes':_0x257c59});return this[_0x20c3('0x153')](_0x11ac22,_0x30aa7e,_0x29da88,_0x10ae9d),_0x5dd59d;}[_0x20c3('0xdd')](_0x20cbd1,_0x43c221='multi',_0xed02c6={}){const _0x55ce61=this[_0x20c3('0x11a')][_0x20c3('0xd3')][_0x20c3('0x33')](_0x20c3('0xd9'))['me'],_0x3832b0=this[_0x20c3('0xc8')]['getSuggestionCallback']('insertion',_0x43c221,_0x20c3('0x3'));for(const _0x445f20 of this[_0x20c3('0x36')]())if(_0x445f20[_0x20c3('0x154')]['id']==_0x55ce61['id']&&_0x20c3('0xf2')==_0x445f20[_0x20c3('0x21')]&&_0x445f20[_0x20c3('0x3b')]==_0x43c221&&Ft(_0x445f20,_0xed02c6)&&(_0x3832b0(_0x445f20[_0x20c3('0x86')](),_0x20cbd1)||_0x3832b0(_0x20cbd1,_0x445f20[_0x20c3('0x86')]()))){for(const _0x8c9791 of _0x20cbd1)_0x445f20[_0x20c3('0x3a')](_0x8c9791);return _0x445f20;}for(const {suggestion:_0x55979d,meta:_0x4cc902}of this[_0x20c3('0x41')](_0x20cbd1,_0x20c3('0xf2'))){if(!_0x4cc902[_0x20c3('0x147')])continue;if(!this['_mergeNestedSuggestions']&&_0x4cc902[_0x20c3('0x127')])continue;if(!Ft(_0x55979d,_0xed02c6))continue;let _0x91d965=!0x0;for(const _0x3fb42f of _0x55979d[_0x20c3('0x86')]())for(const _0x431a3f of _0x20cbd1)if(!_0x3fb42f[_0x20c3('0x8b')](_0x431a3f)){_0x91d965=!0x1;break;}if(_0x91d965)return _0x55979d;}const _0x585ef3=_0x72b486(),_0x5d4387=_0x55ce61['id'],_0x24fb13=_0x20c3('0xf1')+_0x43c221,_0x30bdbd=this[_0x20c3('0x94')]({'id':_0x585ef3,'type':_0x24fb13,'createdAt':new Date(),'authorId':_0x5d4387,'attributes':_0xed02c6});for(const _0x4d5ccf of _0x20cbd1)this[_0x20c3('0x153')](_0x24fb13,_0x585ef3,_0x5d4387,_0x4d5ccf,_0x5dec31[_0x20c3('0x73')]());return _0x30bdbd;}[_0x20c3('0x159')](_0x114f7e,_0x1eb341,_0x25f531=null,_0x587e60={}){if(_0x25f531=_0x25f531||Rt(_0x1eb341),_0x114f7e[_0x20c3('0x19')])return null;if('never'===this[_0x20c3('0xc4')]){const _0x75632e=this[_0x20c3('0xc8')]['getSuggestionCallback'](_0x20c3('0xbe'),_0x25f531,_0x20c3('0x100'));return this[_0x20c3('0x97')](()=>_0x75632e([_0x114f7e],_0x1eb341,_0x587e60)),null;}const _0x545d2c=this[_0x20c3('0x11a')]['plugins']['get'](_0x20c3('0xd9'))['me'],_0x431a13=[];if(_0x20c3('0x62')!==this['_trackFormatChanges'])for(const {suggestion:_0x39bd1c,meta:_0xecba9c}of this[_0x20c3('0x41')](_0x114f7e,'insertion'))_0xecba9c[_0x20c3('0x147')]&&!_0xecba9c[_0x20c3('0xbc')]&&_0x431a13['push'](..._0x39bd1c[_0x20c3('0x86')]());const _0x561a08=function(_0x47cd27,_0x45e7e6){const _0xb98fe0=[];for(const _0x38968c of _0x45e7e6){const _0x28a70=_0x47cd27[_0x20c3('0x12')](_0x38968c);_0x28a70&&_0xb98fe0[_0x20c3('0x9e')](_0x28a70);}return _0xb98fe0;}(_0x114f7e,_0x431a13),_0xa2b003=function(_0x225631,_0x3603ca){const _0x4f0fac=[_0x225631];for(const _0x1150a6 of _0x3603ca){let _0x20209d=0x0;for(;_0x20209d<_0x4f0fac['length'];){const _0x422f85=_0x4f0fac[_0x20209d][_0x20c3('0x103')](_0x1150a6);_0x4f0fac[_0x20c3('0xa1')](_0x20209d,0x1,..._0x422f85),_0x20209d+=_0x422f85[_0x20c3('0xc0')];}}return _0x4f0fac;}(_0x114f7e,_0x431a13);_0x561a08[_0x20c3('0xc0')]&&this['_model'][_0x20c3('0x99')](()=>{for(const _0x2e560c of _0x561a08){const _0x2fa8ee=this[_0x20c3('0xc8')]['getSuggestionCallback'](_0x20c3('0xbe'),_0x25f531,_0x20c3('0x100'));this[_0x20c3('0x97')](()=>_0x2fa8ee([_0x2e560c],_0x1eb341,_0x587e60));}});for(const _0x4c7f46 of _0xa2b003){let _0x3d9e3f=null,_0x50de69=_0x4c7f46[_0x20c3('0x13c')],_0x1fa468=_0x4c7f46[_0x20c3('0xc9')];for(const {suggestion:_0x599493,meta:_0x3ee65e}of this[_0x20c3('0x41')](_0x4c7f46,'formatInline')){if(!_0x3ee65e[_0x20c3('0x147')])continue;if(_0x599493['subType']!=_0x25f531)continue;if(!Ft(_0x599493,_0x587e60))continue;const _0x4bba60=_0x599493['getFirstRange']();if(_0x4bba60[_0x20c3('0x8b')](_0x4c7f46,!0x0))return null;_0x50de69=_0x50de69[_0x20c3('0xc6')](_0x4bba60[_0x20c3('0x13c')])?_0x50de69:_0x4bba60[_0x20c3('0x13c')],_0x1fa468=_0x1fa468['isAfter'](_0x4bba60[_0x20c3('0xc9')])?_0x1fa468:_0x4bba60[_0x20c3('0xc9')],_0x3d9e3f?_0x4bba60[_0x20c3('0x13c')]['isBefore'](_0x3d9e3f['getFirstRange']()[_0x20c3('0x13c')])?(_0x3d9e3f['removeMarkers'](),_0x3d9e3f=_0x599493):_0x599493[_0x20c3('0x173')]():_0x3d9e3f=_0x599493;}const _0x361d7a=this[_0x20c3('0x1c')][_0x20c3('0xa6')](_0x50de69,_0x1fa468);if(_0x3d9e3f)this[_0x20c3('0x67')](_0x3d9e3f,_0x361d7a);else{const _0x263d7f=_0x72b486(),_0x46f460=_0x545d2c['id'];this[_0x20c3('0x94')]({'id':_0x263d7f,'type':_0x20c3('0x9c')+_0x25f531,'data':_0x1eb341,'createdAt':new Date(),'authorId':_0x46f460,'attributes':_0x587e60}),this['_addSuggestionMarker'](_0x20c3('0x9c')+_0x25f531,_0x263d7f,_0x46f460,_0x361d7a);}}return null;}[_0x20c3('0x54')](_0x7282a6,_0x20d6a5,_0x408435=[],_0x517cd0=null,_0x428fd3={}){_0x20d6a5['formatGroupId']||(_0x20d6a5[_0x20c3('0xe6')]=_0x20d6a5[_0x20c3('0xa')]),_0x20d6a5['multipleBlocks']=_0x7282a6['is']('range'),_0x517cd0=_0x517cd0||Rt(_0x20d6a5);const _0x30d876=_0x408435['map'](_0x4f3d2c=>Ut(_0x4f3d2c,this[_0x20c3('0x1c')])),_0x519df9=_0x7282a6['is']('range')?_0x7282a6:Ut(_0x7282a6,this[_0x20c3('0x1c')]);if(_0x20c3('0x16')===this['_trackFormatChanges']){const _0x378c77=this[_0x20c3('0xc8')][_0x20c3('0xef')](_0x20c3('0x119'),_0x517cd0,_0x20c3('0x100'));return this[_0x20c3('0x97')](()=>_0x378c77([_0x519df9],_0x20d6a5,_0x428fd3)),null;}_0x30d876[_0x20c3('0x9e')](_0x519df9);let _0x54c0d6=!0x0;for(const _0x4f5142 of _0x30d876)if(!this['_rangeIsInLocalUserInsertion'](_0x4f5142)){_0x54c0d6=!0x1;break;}if(_0x54c0d6&&_0x20c3('0x62')!==this[_0x20c3('0xc4')]){const _0x494c35=this[_0x20c3('0xc8')][_0x20c3('0xef')](_0x20c3('0x119'),_0x517cd0,_0x20c3('0x100'));return this[_0x20c3('0x97')](()=>_0x494c35([_0x519df9],_0x20d6a5,_0x428fd3)),null;}let _0x2afd6f=null,_0x397020=_0x519df9[_0x20c3('0x13c')],_0x5a7c9d=_0x519df9['end'];for(const {suggestion:_0x58ea5b,meta:_0x13a408}of this[_0x20c3('0x41')](_0x519df9,_0x20c3('0x119'))){if(!_0x13a408[_0x20c3('0x147')])continue;if(_0x13a408[_0x20c3('0xf3')]||_0x13a408[_0x20c3('0x127')]||_0x13a408[_0x20c3('0xbc')])continue;if(_0x58ea5b[_0x20c3('0x10f')][_0x20c3('0xe6')]!=_0x20d6a5[_0x20c3('0xe6')])continue;if(!Ft(_0x58ea5b,_0x428fd3))continue;const _0x42216e=_0x58ea5b['getFirstRange']();if(_0x58ea5b[_0x20c3('0x3b')]==_0x517cd0){if(_0x42216e[_0x20c3('0x8b')](_0x519df9,!0x0))return null;_0x397020=_0x397020[_0x20c3('0xc6')](_0x42216e[_0x20c3('0x13c')])?_0x397020:_0x42216e[_0x20c3('0x13c')],_0x5a7c9d=_0x5a7c9d[_0x20c3('0x43')](_0x42216e[_0x20c3('0xc9')])?_0x5a7c9d:_0x42216e[_0x20c3('0xc9')],_0x2afd6f?_0x42216e[_0x20c3('0x13c')][_0x20c3('0xc6')](_0x2afd6f[_0x20c3('0x5f')]()[_0x20c3('0x13c')])?(_0x2afd6f['removeMarkers'](),_0x2afd6f=_0x58ea5b):_0x58ea5b[_0x20c3('0x173')]():_0x2afd6f=_0x58ea5b;}else{const _0x4292d2=_0x519df9[_0x20c3('0x12')](_0x42216e);this['_cutOutSuggestionMarker'](_0x58ea5b,_0x4292d2);}}const _0x14c40c=this[_0x20c3('0x11a')]['plugins'][_0x20c3('0x33')](_0x20c3('0xd9'))['me'],_0x86f8cd=_0x72b486(),_0xabc5d7=_0x14c40c['id'];if(_0x2afd6f)return this[_0x20c3('0x67')](_0x2afd6f,this['_model'][_0x20c3('0xa6')](_0x397020,_0x5a7c9d)),_0x2afd6f;{const _0x2d88b1=this[_0x20c3('0x94')]({'id':_0x86f8cd,'type':_0x20c3('0x6')+_0x517cd0,'data':_0x20d6a5,'createdAt':new Date(),'authorId':_0xabc5d7,'attributes':_0x428fd3});return this[_0x20c3('0x153')](_0x20c3('0x6')+_0x517cd0,_0x86f8cd,_0xabc5d7,this['_model'][_0x20c3('0xa6')](_0x397020,_0x5a7c9d)),_0x2d88b1;}}[_0x20c3('0x12b')](_0x4b83c4,_0x4da4f0,_0x7aa68b=[],_0x34ba16=null,_0x38e791={}){_0x4da4f0['formatGroupId']||(_0x4da4f0[_0x20c3('0xe6')]=_0x4da4f0[_0x20c3('0xa')]);const _0x4a4040=_0x4b83c4[0x0];_0x4da4f0[_0x20c3('0x170')]=_0x4a4040['is'](_0x20c3('0x10c')),_0x34ba16=_0x34ba16||Rt(_0x4da4f0);const _0x3569fc=_0x7aa68b[_0x20c3('0x68')](_0x5a9861=>Ut(_0x5a9861,this[_0x20c3('0x1c')])),_0x2e64cb=_0x4a4040['is']('range')?_0x4b83c4:_0x4b83c4[_0x20c3('0x68')](_0x541fd3=>Ut(_0x541fd3,this[_0x20c3('0x1c')]));if(_0x20c3('0x16')===this['_trackFormatChanges']){const _0x3bcaf0=this[_0x20c3('0xc8')][_0x20c3('0xef')](_0x20c3('0x119'),_0x34ba16,_0x20c3('0x100'));return this[_0x20c3('0x97')](()=>_0x3bcaf0(_0x2e64cb,_0x4da4f0,_0x38e791)),null;}_0x3569fc[_0x20c3('0x9e')](..._0x2e64cb);let _0x409102=!0x0;for(const _0x364c98 of _0x3569fc)if(!this[_0x20c3('0x80')](_0x364c98)){_0x409102=!0x1;break;}if(_0x409102&&'always'!==this['_trackFormatChanges']){const _0x5896d4=this[_0x20c3('0xc8')][_0x20c3('0xef')](_0x20c3('0x119'),_0x34ba16,_0x20c3('0x100'));return this[_0x20c3('0x97')](()=>_0x5896d4(_0x2e64cb,_0x4da4f0,_0x38e791)),null;}const _0x5a8209=this[_0x20c3('0x11a')][_0x20c3('0xd3')]['get']('Users')['me'];for(const _0x1f3f9a of this['getSuggestions']()){if(_0x1f3f9a[_0x20c3('0x154')]['id']!=_0x5a8209['id'])continue;if(_0x20c3('0x119')!=_0x1f3f9a[_0x20c3('0x21')]||_0x1f3f9a[_0x20c3('0x10f')][_0x20c3('0xe6')]!=_0x4da4f0[_0x20c3('0xe6')])continue;if(!Ft(_0x1f3f9a,_0x38e791))continue;const _0x4a1055=_0x1f3f9a[_0x20c3('0x3b')]==_0x34ba16;for(let _0x3b46b4=0x0;_0x3b46b4<_0x2e64cb['length'];_0x3b46b4++){const _0x5b0d2c=_0x2e64cb[_0x3b46b4];for(const _0x5a7bbb of _0x1f3f9a[_0x20c3('0x9')]()){const _0x1bcabf=_0x5a7bbb[_0x20c3('0xcc')]();if(_0x5b0d2c[_0x20c3('0x29')](_0x1bcabf)){_0x4a1055?(_0x2e64cb['splice'](_0x3b46b4,0x1),_0x3b46b4--):_0x1f3f9a[_0x20c3('0x4d')](_0x5a7bbb[_0x20c3('0x20')]);break;}}}}if(0x0==_0x2e64cb['length'])return null;const _0x56984b=this[_0x20c3('0xc8')][_0x20c3('0xef')](_0x20c3('0x119'),_0x34ba16,_0x20c3('0x3'));for(const _0x1d88c5 of this[_0x20c3('0x36')]())if(_0x1d88c5['author']['id']==_0x5a8209['id']&&'formatBlock'==_0x1d88c5['type']&&_0x1d88c5[_0x20c3('0x10f')]['formatGroupId']==_0x4da4f0[_0x20c3('0xe6')]&&_0x1d88c5['subType']==_0x34ba16&&Ft(_0x1d88c5,_0x38e791)&&(_0x56984b(_0x1d88c5[_0x20c3('0x86')](),_0x2e64cb)||_0x56984b(_0x2e64cb,_0x1d88c5[_0x20c3('0x86')]()))){for(const _0x52b190 of _0x2e64cb)_0x1d88c5['addRange'](_0x52b190);return _0x1d88c5;}const _0x2f2c63=_0x72b486(),_0x603947=_0x5a8209['id'],_0x8feb47=_0x20c3('0x6')+_0x34ba16,_0x22502b=this[_0x20c3('0x94')]({'id':_0x2f2c63,'type':_0x8feb47,'data':_0x4da4f0,'createdAt':new Date(),'authorId':_0x603947,'attributes':_0x38e791});for(const _0x2dedc4 of _0x2e64cb)this['_addSuggestionMarker'](_0x8feb47,_0x2f2c63,_0x603947,_0x2dedc4,_0x5dec31[_0x20c3('0x73')]());return _0x22502b;}[_0x20c3('0x7f')](_0x2b7651,_0x2a22f6=null,_0xe99576={}){if(_0x2b7651['isCollapsed'])return null;const _0x30a848=this['editor'][_0x20c3('0xd3')][_0x20c3('0x33')](_0x20c3('0xd9'))['me'],_0x4d2b3a=new _0x2ad332(_0x2b7651[_0x20c3('0x13c')],_0x2b7651[_0x20c3('0xc9')]);for(const {suggestion:_0x2e6abc,meta:_0x30f5c7}of this[_0x20c3('0x41')](_0x4d2b3a,'insertion'))if(_0x30f5c7[_0x20c3('0x147')]&&!_0x30f5c7[_0x20c3('0xf3')]){if(_0x2e6abc[_0x20c3('0x166')]){const _0x346e8d=_0x2e6abc[_0x20c3('0x86')]()[_0x20c3('0x155')](_0x3f26d5=>_0x20c3('0x4c')!=_0x3f26d5['root'][_0x20c3('0x8f')]);_0x346e8d['every'](_0x16cfb3=>_0x4d2b3a[_0x20c3('0x8b')](_0x16cfb3,!0x0))&&_0x2e6abc[_0x20c3('0x17a')]();if(_0x346e8d[_0x20c3('0x23')](_0x53bff7=>_0x53bff7['containsRange'](_0x4d2b3a,!0x0))){const _0x925bef=this[_0x20c3('0xc8')][_0x20c3('0xef')](_0x20c3('0x6a'),_0x2a22f6,_0x20c3('0x100'));return this[_0x20c3('0x97')](()=>_0x925bef([_0x4d2b3a],null,_0xe99576)),null;}}else{const _0x4ba69d=_0x4d2b3a['getIntersection'](_0x2e6abc[_0x20c3('0x5f')]());null!==_0x4ba69d&&_0x2e6abc[_0x20c3('0x34')]([_0x4ba69d],null,_0xe99576);}}if(_0x4d2b3a[_0x20c3('0x31')](),_0x4d2b3a[_0x20c3('0x19')]||_0x20c3('0x4c')==_0x4d2b3a[_0x20c3('0x5a')]['rootName'])return null;let _0x2bfe3a=null,_0x12a1f9=_0x4d2b3a[_0x20c3('0x13c')],_0x4b4db4=_0x4d2b3a['end'];const _0xc75b50=this['_findSuggestions'](_0x4d2b3a,'deletion');for(const {suggestion:_0xfa5149,meta:_0x3ce119}of _0xc75b50){const _0x57e143=this[_0x20c3('0x1c')][_0x20c3('0xa6')](_0x12a1f9,_0x4b4db4);if(_0x3ce119[_0x20c3('0x147')]&&(this['_mergeNestedSuggestions']||!_0x3ce119['containsRangeInObject']&&!_0x3ce119['isInsideObject'])){if(_0xfa5149[_0x20c3('0x166')]){if(!Ft(_0xfa5149,_0xe99576))continue;let _0xc2d07b=!0x0;for(const _0x49f9e1 of _0xfa5149[_0x20c3('0x86')]()){if(_0x49f9e1[_0x20c3('0x8b')](_0x57e143,!0x0))return _0xfa5149;_0x57e143[_0x20c3('0x8b')](_0x49f9e1)||(_0xc2d07b=!0x1);}_0xc2d07b&&_0xfa5149[_0x20c3('0x17a')]();}else{const _0x298794=_0xfa5149[_0x20c3('0x5f')]();if(_0x298794[_0x20c3('0x8b')](_0x57e143,!0x0))return _0xfa5149;if(!Ft(_0xfa5149,_0xe99576)){_0x57e143[_0x20c3('0x8b')](_0x298794)?_0xfa5149[_0x20c3('0x173')]():_0x298794['containsPosition'](_0x12a1f9)?_0x12a1f9=_0x298794['end']:_0x298794[_0x20c3('0x9a')](_0x4b4db4)&&(_0x4b4db4=_0x298794['start']);continue;}_0x12a1f9=_0x12a1f9[_0x20c3('0xc6')](_0x298794['start'])?_0x12a1f9:_0x298794[_0x20c3('0x13c')],_0x4b4db4=_0x4b4db4[_0x20c3('0x43')](_0x298794[_0x20c3('0xc9')])?_0x4b4db4:_0x298794[_0x20c3('0xc9')],_0xe99576=Object['assign']({},_0xfa5149[_0x20c3('0xb5')]),_0x2bfe3a?_0x298794[_0x20c3('0x13c')][_0x20c3('0xc6')](_0x2bfe3a[_0x20c3('0x5f')]()['start'])?(_0x2bfe3a['removeMarkers'](),_0x2bfe3a=_0xfa5149):_0xfa5149[_0x20c3('0x173')]():_0x2bfe3a=_0xfa5149;}}}if(_0x2bfe3a)return this['_setSuggestionRange'](_0x2bfe3a,this[_0x20c3('0x1c')]['createRange'](_0x12a1f9,_0x4b4db4)),_0x2bfe3a;{const _0xddb4=_0x72b486(),_0x5edb6f=this['_model'][_0x20c3('0xa6')](_0x12a1f9,_0x4b4db4),_0x274d1f=_0x30a848['id'],_0x2e9fd5=_0x2a22f6?_0x20c3('0xb8')+_0x2a22f6:'deletion',_0x350ef7=this[_0x20c3('0x94')]({'id':_0xddb4,'type':_0x2e9fd5,'createdAt':new Date(),'authorId':_0x274d1f,'attributes':_0xe99576});return this[_0x20c3('0x153')](_0x2e9fd5,_0xddb4,_0x274d1f,_0x5edb6f),_0x350ef7;}}[_0x20c3('0x134')](_0x1d5760,_0xf4af1=_0x20c3('0x105'),_0x437095={}){const _0x6feca8=this[_0x20c3('0x11a')][_0x20c3('0xd3')][_0x20c3('0x33')](_0x20c3('0xd9'))['me'],_0x2ab8ac=_0x1d5760[_0x20c3('0x68')](_0x47697f=>new _0x2ad332(_0x47697f[_0x20c3('0x13c')],_0x47697f[_0x20c3('0xc9')])),_0x1ccdeb=new Set();for(const {suggestion:_0x36b5d7,meta:_0x3d3b08}of this[_0x20c3('0x41')](_0x2ab8ac,_0x20c3('0xf2')))_0x3d3b08[_0x20c3('0x147')]&&!_0x3d3b08['isNextTo']&&_0x1ccdeb['add'](_0x36b5d7);for(const _0xf6115e of _0x1ccdeb)if(_0xf6115e[_0x20c3('0x166')]){const _0x4c77ee=_0xf6115e[_0x20c3('0x86')]();(!_0xf6115e[_0x20c3('0xb5')]||!_0xf6115e[_0x20c3('0xb5')][_0x20c3('0x114')])&&(_0x4c77ee['every'](_0x48b8cd=>_0x2ab8ac[_0x20c3('0x23')](_0x1c46a2=>_0x1c46a2[_0x20c3('0x8b')](_0x48b8cd,!0x0)))&&_0xf6115e['discard']());if(_0x2ab8ac[_0x20c3('0x112')](_0x108516=>_0x4c77ee[_0x20c3('0x23')](_0x5850b6=>_0x5850b6['containsRange'](_0x108516,!0x0)))){const _0xaf0359=this[_0x20c3('0xc8')][_0x20c3('0xef')](_0x20c3('0x6a'),_0xf4af1,'accept');return this[_0x20c3('0x97')](()=>_0xaf0359(_0x1d5760,null,_0x437095)),null;}}else{const _0x3eda3e=_0xf6115e[_0x20c3('0x5f')]();_0x2ab8ac[_0x20c3('0x23')](_0x1f95ad=>_0x1f95ad[_0x20c3('0x8b')](_0x3eda3e,!0x0))&&_0xf6115e[_0x20c3('0x17a')]();if(_0x2ab8ac[_0x20c3('0x112')](_0xc733ac=>_0x3eda3e[_0x20c3('0x8b')](_0xc733ac,!0x0))){const _0x3e5e07=this[_0x20c3('0xc8')][_0x20c3('0xef')]('deletion',_0xf4af1,'accept');return this[_0x20c3('0x97')](()=>_0x3e5e07(_0x2ab8ac,null,_0x437095)),null;}}const _0x3670ab=this[_0x20c3('0xc8')][_0x20c3('0xef')](_0x20c3('0x6a'),_0xf4af1,_0x20c3('0x3'));let _0x15c73e=null;for(const _0x5a7807 of this['getSuggestions']())if(_0x5a7807['author']['id']==_0x6feca8['id']&&_0x5a7807['isInContent']&&_0x20c3('0x6a')==_0x5a7807[_0x20c3('0x21')]&&_0x5a7807[_0x20c3('0x3b')]==_0xf4af1&&Ft(_0x5a7807,_0x437095)&&(_0x3670ab(_0x5a7807[_0x20c3('0x86')](),_0x2ab8ac)||_0x3670ab(_0x2ab8ac,_0x5a7807['getRanges']()))){if(_0x15c73e){if(_0x5a7807[_0x20c3('0x27')]&&_0x5a7807[_0x20c3('0x27')][_0x20c3('0xc0')])continue;for(const _0xc73d2a of _0x5a7807[_0x20c3('0x86')]())_0x15c73e['isIntersectingWithRange'](_0xc73d2a)||_0x15c73e[_0x20c3('0x3a')](_0xc73d2a);_0x5a7807[_0x20c3('0x173')]();}else{_0x15c73e=_0x5a7807;for(const _0x4a6b4f of _0x2ab8ac)_0x5a7807['isIntersectingWithRange'](_0x4a6b4f)||_0x5a7807[_0x20c3('0x3a')](_0x4a6b4f);}}if(_0x15c73e)return _0x15c73e;_0x1ccdeb[_0x20c3('0x5')]();for(const {suggestion:_0x49fd3e,meta:_0x4729b8}of this[_0x20c3('0x41')](_0x2ab8ac,_0x20c3('0x6a')))_0x4729b8[_0x20c3('0x147')]&&(this[_0x20c3('0x51')]||!_0x4729b8[_0x20c3('0x127')]&&!_0x4729b8[_0x20c3('0xbc')])&&Ft(_0x49fd3e,_0x437095)&&_0x1ccdeb[_0x20c3('0x17f')](_0x49fd3e);for(const _0x276d7c of _0x1ccdeb){const _0x5d7b25=_0x276d7c['getRanges']();if(!_0x437095||!_0x437095[_0x20c3('0x114')]){if(_0x2ab8ac[_0x20c3('0x112')](_0x4b707c=>_0x5d7b25[_0x20c3('0x23')](_0x461592=>_0x461592['containsRange'](_0x4b707c,!0x0))))return _0x276d7c;}(!_0x276d7c[_0x20c3('0xb5')]||!_0x276d7c[_0x20c3('0xb5')][_0x20c3('0x114')])&&(_0x5d7b25['every'](_0x418cf8=>_0x2ab8ac['some'](_0xcc07c4=>_0xcc07c4[_0x20c3('0x8b')](_0x418cf8,!0x0)))&&_0x276d7c['discard']());}const _0x33187d=_0x72b486(),_0x572bb4=_0x6feca8['id'],_0x54cdb5=_0x20c3('0xb8')+_0xf4af1,_0x52e3aa=this[_0x20c3('0x94')]({'id':_0x33187d,'type':_0x54cdb5,'createdAt':new Date(),'authorId':_0x572bb4,'attributes':_0x437095});for(const _0x779049 of _0x2ab8ac)_0x779049['detach'](),_0x779049[_0x20c3('0x19')]||_0x20c3('0x4c')==_0x779049[_0x20c3('0x5a')][_0x20c3('0x8f')]||this[_0x20c3('0x153')](_0x54cdb5,_0x33187d,_0x572bb4,_0x779049,_0x5dec31['getMultiRangeId']());return _0x52e3aa;}[_0x20c3('0x130')](_0x8585b0,_0x388c5b,_0x48f3bc,_0x60115f,_0x53b212){if(_0x8585b0[_0x20c3('0x19')])return[];if(_0x20c3('0x16')===this[_0x20c3('0xc4')])return[];const _0x5d7b8b=this[_0x20c3('0x11a')][_0x20c3('0xd3')]['get'](_0x20c3('0xd9'))['me']['id'],_0x1023b6=Array[_0x20c3('0xd7')](this[_0x20c3('0xca')][_0x20c3('0x11b')]())[_0x20c3('0x155')](_0x511d89=>'attribute'==_0x511d89[_0x20c3('0x21')]&&_0x511d89['data'][_0x20c3('0x81')]==_0x388c5b&&_0x511d89[_0x20c3('0x138')](_0x8585b0));if('default'===this[_0x20c3('0xc4')]){const _0x1a2f3a=this[_0x20c3('0x41')](_0x8585b0,'insertion')[_0x20c3('0x155')](({meta:_0x4aef34})=>_0x4aef34[_0x20c3('0x147')]&&!_0x4aef34[_0x20c3('0xbc')]&&!_0x4aef34[_0x20c3('0xf3')])['map'](({suggestion:_0x1231be})=>_0x1231be);_0x1023b6[_0x20c3('0x120')](..._0x1a2f3a);}const _0x1d3319=new Map([[_0x8585b0,_0x48f3bc]]);for(const _0x4c85e of _0x1023b6){const _0x125fb7=_0x20c3('0x32')==_0x4c85e[_0x20c3('0x21')]?_0x4c85e[_0x20c3('0x10f')][_0x20c3('0x157')]:void 0x0,_0x3c04f0=_0x4c85e['getFirstRange'](),_0xf4af29=Array[_0x20c3('0xd7')](_0x1d3319[_0x20c3('0xc5')]())['find'](_0x5ef4e4=>_0x5ef4e4[_0x20c3('0x11f')](_0x3c04f0));_0xf4af29&&(_0x1d3319['delete'](_0xf4af29),_0xf4af29['getDifference'](_0x3c04f0)[_0x20c3('0x162')](_0x5b7029=>{_0x1d3319['set'](_0x5b7029,_0x48f3bc);}),_0x20c3('0xf2')!=_0x4c85e['type']&&_0x125fb7!=_0x60115f&&_0x1d3319[_0x20c3('0x3c')](_0xf4af29[_0x20c3('0x12')](_0x3c04f0),_0x125fb7));}const _0x4af57c=[];for(const [_0x440cd8,_0x94024e]of _0x1d3319){const _0x452c5c=_0x72b486(),_0x4f8b5d={'key':_0x388c5b,'oldValue':_0x94024e,'newValue':_0x60115f};_0x388c5b[_0x20c3('0xc0')]>0x25&&console[_0x20c3('0x14b')](_0x20c3('0x143'),{'key':_0x388c5b});const _0x2c4137=(_0x20c3('0x10a')+(_0x388c5b+'|'+Rt({'newValue':_0x60115f})))['substring'](0x0,0x3c),_0x4db848=this['_setSuggestionData']({'id':_0x452c5c,'type':_0x2c4137,'data':_0x4f8b5d,'createdAt':new Date(),'authorId':_0x5d7b8b,'attributes':_0x53b212});_0x4af57c[_0x20c3('0x9e')](_0x4db848),this[_0x20c3('0x153')](_0x2c4137,_0x452c5c,_0x5d7b8b,_0x440cd8);}return _0x4af57c;}['_registerBlockAttribute'](_0x159651){this[_0x20c3('0x98')][_0x20c3('0x17f')](_0x159651);}[_0x20c3('0xbf')](_0x23bfd2){this[_0x20c3('0xde')][_0x20c3('0x17f')](_0x23bfd2);}[_0x20c3('0x164')](_0x46995e,_0x48775d=[],_0xabed1a=[]){this[_0x20c3('0x7d')](_0x46995e,(_0x52170a,..._0x2080ed)=>{this[_0x20c3('0x13a')](()=>{_0x52170a(..._0x2080ed);});});for(const _0x4e2cab of _0x48775d)this[_0x20c3('0xbf')](_0x4e2cab);for(const _0x332f09 of _0xabed1a)this[_0x20c3('0xaf')](_0x332f09);}[_0x20c3('0x67')](_0x3d1d52,_0x5696f3){const _0x85206d=_0x3d1d52[_0x20c3('0x7b')]();this[_0x20c3('0x1c')][_0x20c3('0x99')](_0x5e67a3=>{_0x5e67a3[_0x20c3('0xec')](_0x85206d,{'range':_0x5696f3});});}[_0x20c3('0x37')](_0x34d1ee){const _0x2baece=_0x34d1ee['id'],_0x3a64bb=this[_0x20c3('0x11a')]['config'][_0x20c3('0x33')](_0x20c3('0xdc'));this[_0x20c3('0x3e')][_0x20c3('0xa7')](_0x2baece)||this['_commentsRepository'][_0x20c3('0xd0')]({'channelId':_0x3a64bb,'threadId':_0x2baece,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x15a56e=this[_0x20c3('0x3e')][_0x20c3('0x90')](_0x2baece);_0x15a56e[_0x20c3('0xe0')](_0x20c3('0x121')),_0x15a56e['isRemovable']=!0x1,_0x34d1ee[_0x20c3('0x27')]=_0x15a56e;}[_0x20c3('0x132')](_0x44fe5b,_0x14e5bd,_0x2c50e5,_0xe5e9d8){if(_0x44fe5b[_0x20c3('0x21')]!=_0x14e5bd||_0x44fe5b[_0x20c3('0x3b')]!=_0x2c50e5||_0x44fe5b[_0x20c3('0x92')]['id']!=_0xe5e9d8)throw this['editor'][_0x20c3('0xa2')](_0x20c3('0x115')),new _0x4c012d(_0x20c3('0x115'),this);}[_0x20c3('0x6b')](_0x42abd1,_0x513af4){const _0x154c6b=_0x42abd1[_0x20c3('0x5f')]();if(_0x513af4[_0x20c3('0x29')](_0x154c6b))_0x42abd1[_0x20c3('0x173')]();else{if(_0x154c6b[_0x20c3('0x8b')](_0x513af4)){const _0xc7eff1=this[_0x20c3('0x1c')][_0x20c3('0x8e')](_0x513af4[_0x20c3('0x13c')][_0x20c3('0xf4')],_0x20c3('0xc9'));this[_0x20c3('0x67')](_0x42abd1,this[_0x20c3('0x1c')][_0x20c3('0xa6')](_0x154c6b[_0x20c3('0x13c')],_0xc7eff1));const _0x3f73a3=_0x72b486(),_0x3015d8=_0x42abd1[_0x20c3('0x92')]['id'],_0x2d7e0c=_0x42abd1[_0x20c3('0x21')]+':'+_0x42abd1[_0x20c3('0x3b')];this[_0x20c3('0x94')]({'id':_0x3f73a3,'type':_0x2d7e0c,'createdAt':new Date(),'authorId':_0x3015d8,'data':_0x42abd1[_0x20c3('0x10f')],'attributes':_0x42abd1[_0x20c3('0xb5')]});const _0x16ea69=this['_model'][_0x20c3('0x8e')](_0x513af4[_0x20c3('0xc9')][_0x20c3('0x117')],'after'),_0x382e27=this['_model']['createRange'](_0x16ea69,_0x154c6b[_0x20c3('0xc9')]);this[_0x20c3('0x153')](_0x2d7e0c,_0x3f73a3,_0x3015d8,_0x382e27);}else{if(_0x154c6b[_0x20c3('0x9a')](_0x513af4[_0x20c3('0x13c')])){const _0xcacddd=this[_0x20c3('0x1c')][_0x20c3('0x8e')](_0x513af4[_0x20c3('0x13c')][_0x20c3('0xf4')],_0x20c3('0xc9'));this[_0x20c3('0x67')](_0x42abd1,this['_model'][_0x20c3('0xa6')](_0x154c6b[_0x20c3('0x13c')],_0xcacddd));}else{const _0xd7fc5f=this[_0x20c3('0x1c')][_0x20c3('0x8e')](_0x513af4[_0x20c3('0xc9')][_0x20c3('0x117')],_0x20c3('0x16f'));this[_0x20c3('0x67')](_0x42abd1,this[_0x20c3('0x1c')][_0x20c3('0xa6')](_0xd7fc5f,_0x154c6b[_0x20c3('0xc9')]));}}}}[_0x20c3('0x80')](_0x1b8408){for(const {suggestion:_0x3dc5d7,meta:_0x323b3c}of this[_0x20c3('0x41')](_0x1b8408,_0x20c3('0xf2'))){if(!_0x323b3c[_0x20c3('0x147')])continue;const _0x116031=_0x3dc5d7[_0x20c3('0x86')]();for(const _0x133221 of _0x116031)if(!_0x1b8408[_0x20c3('0x103')](_0x133221)[_0x20c3('0xc0')])return!0x0;}return!0x1;}[_0x20c3('0x145')](_0x23cd6c){const _0x2310c7=this[_0x20c3('0x11a')][_0x20c3('0xd3')][_0x20c3('0x33')](_0x20c3('0xd9'))[_0x20c3('0x2b')](_0x23cd6c);if(!_0x2310c7)throw new _0x4c012d(_0x20c3('0xd6'),this);return _0x2310c7;}['_getExternalAuthor'](_0x10dbd9){const _0x2ce64d=this[_0x20c3('0x11a')][_0x20c3('0xd3')][_0x20c3('0x33')](_0x20c3('0xd9')),_0x3015f2=_0x3a1bc4(_0x20c3('0xf7')+_0x10dbd9),_0x4b2c87=_0x2ce64d[_0x20c3('0x2b')](_0x3015f2);return _0x4b2c87||_0x2ce64d[_0x20c3('0x1b')]({'id':_0x3015f2,'name':_0x10dbd9});}[_0x20c3('0x1d')](_0x79702,_0x5d1acd,_0x28c77f,_0x106c42,_0x4bea73){const _0x3aabee=this[_0x20c3('0x145')](_0x106c42),_0x3ea537=this[_0x20c3('0xc8')][_0x20c3('0x177')](_0x79702,_0x5d1acd,_0x28c77f,_0x3aabee,_0x4bea73,_0x3a4d7e=>this[_0x20c3('0x83')](_0x28c77f,{'attributes':_0x3a4d7e}));return this[_0x20c3('0x7c')](_0x3ea537,_0x20c3('0x100'),()=>{this['_updateSuggestionData'](_0x28c77f,{'state':_0x20c3('0xb7')});},{'priority':'high'}),this[_0x20c3('0x7c')](_0x3ea537,_0x20c3('0x17a'),()=>{this[_0x20c3('0x83')](_0x28c77f,{'state':_0x20c3('0x4')});},{'priority':_0x20c3('0x14d')}),this['_suggestions'][_0x20c3('0x3c')](_0x28c77f,_0x3ea537),this[_0x20c3('0x2e')][_0x20c3('0x3c')](_0x3ea537,_0x20c3('0x6c')),_0x3ea537;}[_0x20c3('0xb4')](_0x1383d4){const _0x582c8d=_0x1383d4[_0x20c3('0xad')](':');return{'group':_0x582c8d[0x0],'type':_0x582c8d[0x1],'subType':_0x582c8d[_0x20c3('0xc0')]>=0x5?_0x582c8d[0x2]:null,'id':_0x582c8d['length']<0x5?_0x582c8d[0x2]:_0x582c8d[0x3],'authorId':_0x582c8d[_0x20c3('0xc0')]<0x5?_0x582c8d[0x3]:_0x582c8d[0x4],'markerCount':0x6==_0x582c8d['length']?_0x582c8d[0x5]:null};}[_0x20c3('0x57')](_0x4fbc21,_0x3a7f51,_0x1df889){const _0x49e33a=_0x4fbc21[_0x20c3('0x5f')](),_0x35614a=_0x49e33a[_0x20c3('0x13c')],_0x1dd264=_0x49e33a[_0x20c3('0xc9')];this[_0x20c3('0x67')](_0x4fbc21,this[_0x20c3('0x1c')][_0x20c3('0xa6')](_0x35614a,_0x3a7f51));const _0x53db7f=_0x72b486(),_0x9061da=_0x4fbc21[_0x20c3('0x92')]['id'],_0x160a37=_0x4fbc21[_0x20c3('0x21')]+(_0x4fbc21[_0x20c3('0x3b')]?':'+_0x4fbc21['subType']:'');this['_setSuggestionData']({'id':_0x53db7f,'type':_0x160a37,'createdAt':new Date(),'authorId':_0x9061da,'originalSuggestionId':_0x4fbc21['id'],'attributes':_0x4fbc21[_0x20c3('0xb5')],'data':_0x4fbc21[_0x20c3('0x10f')]});const _0x3a2b1d=this['_getAttributeKeyFromSubType'](_0x4fbc21);('formatBlock'==_0x4fbc21['type']||_0x3a2b1d&&this[_0x20c3('0xd4')](_0x3a2b1d))&&(_0x1df889=this[_0x20c3('0x1c')][_0x20c3('0x2f')](_0x1df889[_0x20c3('0x117')])),this[_0x20c3('0x153')](_0x160a37,_0x53db7f,_0x9061da,this[_0x20c3('0x1c')][_0x20c3('0xa6')](_0x1df889,_0x1dd264));}[_0x20c3('0x41')](_0x4ac233,_0x35fc3f=null){const _0x504748=[],_0x3ea69e=this[_0x20c3('0x11a')]['plugins'][_0x20c3('0x33')](_0x20c3('0xd9'))['me'];Array[_0x20c3('0x13f')](_0x4ac233)||(_0x4ac233=[_0x4ac233]);for(const _0x2dccf6 of this[_0x20c3('0x36')]()){if(!_0x2dccf6[_0x20c3('0x12d')])continue;if(_0x35fc3f&&_0x2dccf6[_0x20c3('0x21')]!=_0x35fc3f)continue;let _0x59f986=!0x1;for(const _0x1ae4ae of _0x2dccf6[_0x20c3('0x86')]()){for(const _0x40668c of _0x4ac233){const _0xfc3f35=_0x40668c[_0x20c3('0x13c')]['isEqual'](_0x1ae4ae[_0x20c3('0xc9')])||_0x40668c[_0x20c3('0xc9')]['isEqual'](_0x1ae4ae[_0x20c3('0x13c')]);if(_0xfc3f35||_0x40668c[_0x20c3('0x12')](_0x1ae4ae)){const _0x1fb882=_0x40668c[_0x20c3('0x8b')](_0x1ae4ae)&&Tt(this[_0x20c3('0x1c')][_0x20c3('0xcd')],_0x1ae4ae[_0x20c3('0x13c')],_0x40668c),_0x1bff1c=_0x1ae4ae[_0x20c3('0x8b')](_0x40668c)&&Tt(this[_0x20c3('0x1c')][_0x20c3('0xcd')],_0x40668c[_0x20c3('0x13c')],_0x1ae4ae);_0x504748['push']({'suggestion':_0x2dccf6,'meta':{'isOwn':_0x3ea69e==_0x2dccf6[_0x20c3('0x154')],'isNextTo':_0xfc3f35,'isInsideObject':_0x1fb882,'containsRangeInObject':_0x1bff1c}}),_0x59f986=!0x0;break;}}if(_0x59f986)break;}}return _0x504748;}[_0x20c3('0x153')](_0x16f102,_0x50964b,_0x2278c8,_0x3a0c51,_0x56fb73){this[_0x20c3('0x1c')]['change'](_0x1c9a4b=>{let _0x1d2d33=_0x20c3('0x158')+_0x16f102+':'+_0x50964b+':'+_0x2278c8;_0x56fb73&&(_0x1d2d33=_0x1d2d33+':'+_0x56fb73),_0x1c9a4b[_0x20c3('0xe2')](_0x1d2d33,{'range':_0x3a0c51,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x20c3('0x25')](_0x1faee5){const _0x5c8d7e=_0x1faee5[_0x20c3('0xba')],_0x4660c0=_0x1faee5[_0x20c3('0xab')];_0x1faee5[_0x20c3('0xba')]=null,_0x1faee5[_0x20c3('0xab')]=null,null!=_0x5c8d7e&&(_0x5c8d7e['next']=_0x4660c0),null!=_0x4660c0&&(_0x4660c0[_0x20c3('0xba')]=_0x5c8d7e),'ready'==this[_0x20c3('0x2e')][_0x20c3('0x33')](_0x1faee5)&&(this[_0x20c3('0x2e')]['set'](_0x1faee5,'removed'),this['fire'](_0x20c3('0xa9'),_0x1faee5,_0x5c8d7e,_0x4660c0));}[_0x20c3('0x94')](_0x5edded){const _0x297d2b=_0x5edded['id'],_0x4423c0=this['addSuggestionData'](_0x5edded);if(this['_adapter']&&this[_0x20c3('0x17c')][_0x20c3('0x49')]){const _0x4d28a6=this[_0x20c3('0x11a')][_0x20c3('0xd3')][_0x20c3('0x33')](_0x20c3('0x124')),_0xe4dfb8=_0x4423c0['hasComments'],_0x495694=_0x4423c0['subType']?_0x4423c0[_0x20c3('0x21')]+':'+_0x4423c0['subType']:_0x4423c0[_0x20c3('0x21')],_0x2593cb=this[_0x20c3('0x11a')]['locale'],_0xd8aace=_0x4d28a6[_0x20c3('0x17f')](_0x1a716d(_0x2593cb,'PENDING_ACTION_SUGGESTION')),_0x58ea61={'id':_0x297d2b,'type':_0x495694,'hasComments':_0xe4dfb8,'data':_0x5edded[_0x20c3('0x10f')]||null,'originalSuggestionId':_0x5edded[_0x20c3('0x28')]||null,'attributes':_0x4423c0['attributes']};this['_adapter']['addSuggestion'](_0x58ea61)[_0x20c3('0x64')](_0x5ecdc2=>{_0x4423c0[_0x20c3('0x11d')]=!0x0,_0x4d28a6['remove'](_0xd8aace),_0x5ecdc2&&_0x5ecdc2[_0x20c3('0x22')]&&(this[_0x20c3('0xca')][_0x20c3('0x33')](_0x297d2b)[_0x20c3('0x22')]=_0x5ecdc2[_0x20c3('0x22')]);})[_0x20c3('0xc3')](_0x4442fd=>{throw _0x37bf33(_0x20c3('0x118')),this[_0x20c3('0x11a')][_0x20c3('0x88')][_0x20c3('0x6d')]({'isUndoable':!0x1},()=>{_0x4423c0[_0x20c3('0x17a')]();}),_0x4423c0[_0x20c3('0xa3')](),this[_0x20c3('0xca')][_0x20c3('0x5e')](_0x4423c0['id']),this[_0x20c3('0x2e')][_0x20c3('0x5e')](_0x4423c0),_0x4442fd;});}return _0x4423c0;}[_0x20c3('0xd4')](_0x11a959){return this[_0x20c3('0x98')]['has'](_0x11a959);}[_0x20c3('0x144')](_0x21d0ef){return _0x20c3('0x32')==_0x21d0ef['type']&&_0x21d0ef[_0x20c3('0x3b')][_0x20c3('0xad')]('|')[0x0];}[_0x20c3('0x83')](_0x1cf792,_0x8f29ad){const _0x5187b5=this[_0x20c3('0x11a')]['plugins'][_0x20c3('0x33')]('PendingActions'),_0xde2563=this[_0x20c3('0x17')](_0x1cf792);if(this[_0x20c3('0x17c')]&&this[_0x20c3('0x17c')]['updateSuggestion']){if(_0xde2563[_0x20c3('0x11d')]){const _0x1f4e4d=_0x5187b5['add'](_0x1a716d(this[_0x20c3('0x11a')]['locale'],_0x20c3('0xe4')));this[_0x20c3('0x17c')]['updateSuggestion'](_0x1cf792,_0x8f29ad)['then'](()=>{_0x5187b5['remove'](_0x1f4e4d);});}else _0xde2563['on'](_0x20c3('0x179'),()=>{this[_0x20c3('0x83')](_0x1cf792,_0x8f29ad);});}}[_0x20c3('0xdb')](_0x147d5a){if(!this[_0x20c3('0x17c')]||!this['_adapter'][_0x20c3('0x17')])throw new _0x4c012d(_0x20c3('0xbd'),this);return this[_0x20c3('0x17c')]['getSuggestion'](_0x147d5a);}[_0x20c3('0x53')](_0x35a118){const {id:_0x3d9402,type:_0x2a495e,subType:_0x2ce308,authorId:_0x4473cf}=this['_splitMarkerName'](_0x35a118),_0x8002ff=this[_0x20c3('0xca')]['get'](_0x3d9402)||this['_createSuggestion'](_0x2a495e,_0x2ce308,_0x3d9402,_0x4473cf,{});switch(this[_0x20c3('0x132')](_0x8002ff,_0x2a495e,_0x2ce308,_0x4473cf),this[_0x20c3('0x2e')]['get'](_0x8002ff)){case _0x20c3('0x6c'):this[_0x20c3('0xdb')](_0x3d9402)[_0x20c3('0x64')](_0x1bfd47=>{let _0x295e97=Promise[_0x20c3('0xee')]();_0x1bfd47[_0x20c3('0x71')]&&(_0x295e97=this['_commentsRepository']['fetchCommentThread']({'channelId':this[_0x20c3('0x11a')][_0x20c3('0xa5')][_0x20c3('0x33')](_0x20c3('0xdc')),'threadId':_0x3d9402})),_0x295e97[_0x20c3('0x64')](()=>{this[_0x20c3('0x4f')](_0x1bfd47)[_0x20c3('0x11d')]=!0x0;});}),this['_suggestionState'][_0x20c3('0x3c')](_0x8002ff,_0x20c3('0x133'));break;case'removed':this[_0x20c3('0x83')](_0x3d9402,{'state':_0x20c3('0x12a')});case _0x20c3('0x168'):this[_0x20c3('0x2e')][_0x20c3('0x3c')](_0x8002ff,_0x20c3('0x126')),this[_0x20c3('0xfe')](_0x20c3('0x111'),_0x8002ff);break;case _0x20c3('0x126'):this[_0x20c3('0xfe')](_0x20c3('0x2'),_0x8002ff);}return _0x8002ff[_0x20c3('0x61')](_0x35a118),_0x8002ff;}['_refreshSuggestionsChain'](_0x3cceb8){const _0x3a9b90=Array[_0x20c3('0xd7')](_0x3cceb8),_0x289894=_0x3a9b90[_0x20c3('0x155')](_0x584bfe=>_0x20c3('0x32')==_0x584bfe[_0x20c3('0x21')]);this[_0x20c3('0x10')](_0x289894);const _0x46b5f7=_0x3a9b90[_0x20c3('0x155')](_0x5d0347=>!_0x5d0347['isMultiRange']&&_0x20c3('0x32')!=_0x5d0347[_0x20c3('0x21')]),_0xaa0e15=this[_0x20c3('0x36')]({'skipNotAttached':!0x0})[_0x20c3('0x155')](_0x472c96=>!_0x472c96['isMultiRange']&&_0x20c3('0x32')!=_0x472c96['type']),_0x4c0322=_0xaa0e15[_0x20c3('0x155')](_0x40dfaa=>!_0x3cceb8[_0x20c3('0x122')](_0x40dfaa)),_0x5cea46=new Map(_0xaa0e15[_0x20c3('0x68')](_0x522c82=>[_0x522c82,this[_0x20c3('0xc8')][_0x20c3('0xef')](_0x522c82['type'],_0x522c82[_0x20c3('0x3b')],_0x20c3('0xfb'))])),_0x3ff97e=new Map(_0xaa0e15[_0x20c3('0x68')](_0x1ff6f6=>[_0x1ff6f6,_0x1ff6f6['getFirstRange']()])),_0x171832=new Set(),_0x141483=new Set();for(let _0x14d7eb=0x0;_0x14d7eb<_0x46b5f7[_0x20c3('0xc0')];_0x14d7eb++)_0x4f6a24(_0x46b5f7[_0x14d7eb],_0x46b5f7,_0x14d7eb+0x1);for(let _0x2dfe54=0x0;_0x2dfe54<_0x46b5f7['length'];_0x2dfe54++)_0x4f6a24(_0x46b5f7[_0x2dfe54],_0x4c0322,0x0);const _0x4ae27f=new Set();for(let _0xa47472=0x0;_0xa47472<_0x46b5f7[_0x20c3('0xc0')];_0xa47472++){const _0x29447e=_0x46b5f7[_0xa47472];!_0x141483[_0x20c3('0x122')](_0x29447e)&&_0x29447e['previous']&&(_0x4ae27f[_0x20c3('0x17f')](_0x29447e[_0x20c3('0xba')]),_0x29447e['previous'][_0x20c3('0xab')]===_0x29447e&&(_0x29447e[_0x20c3('0xba')][_0x20c3('0xab')]=null),_0x29447e[_0x20c3('0xba')]=null),!_0x171832['has'](_0x29447e)&&_0x29447e['next']&&(_0x4ae27f[_0x20c3('0x17f')](_0x29447e[_0x20c3('0xab')]),_0x29447e['next']['previous']===_0x29447e&&(_0x29447e['next'][_0x20c3('0xba')]=null),_0x29447e['next']=null);}function _0x4f6a24(_0x505daa,_0x458e7a,_0x1eaa6b){for(let _0x57774a=_0x1eaa6b;_0x57774a<_0x458e7a[_0x20c3('0xc0')];_0x57774a++){const _0xc8b0a4=_0x3308a5(_0x505daa,_0x458e7a[_0x57774a]);_0xc8b0a4&&(_0xc8b0a4[0x0][_0x20c3('0xab')]=_0xc8b0a4[0x1],_0xc8b0a4[0x1][_0x20c3('0xba')]=_0xc8b0a4[0x0],_0x171832[_0x20c3('0x17f')](_0xc8b0a4[0x0]),_0x141483[_0x20c3('0x17f')](_0xc8b0a4[0x1]));}}function _0x3308a5(_0x526371,_0x493253){if(_0x526371[_0x20c3('0x154')]['id']!==_0x493253[_0x20c3('0x154')]['id'])return null;const _0x529963=_0x5cea46[_0x20c3('0x33')](_0x526371)(_0x526371,_0x493253,_0x3ff97e[_0x20c3('0x33')](_0x526371),_0x3ff97e[_0x20c3('0x33')](_0x493253));if(!_0x529963)return null;return _0x5cea46['get'](_0x493253)(_0x526371,_0x493253,_0x3ff97e[_0x20c3('0x33')](_0x526371),_0x3ff97e[_0x20c3('0x33')](_0x493253))?_0x529963[0x1][_0x20c3('0x27')]&&_0x529963[0x1][_0x20c3('0x27')][_0x20c3('0xc0')]?null:_0x529963:null;}_0x4ae27f['size']&&this['_refreshSuggestionsChain'](_0x4ae27f);}['_refreshAttributeSuggestionsChain'](_0x18d409){if(0x0==_0x18d409[_0x20c3('0xc0')])return;const _0x1f55eb=this[_0x20c3('0x36')]({'skipNotAttached':!0x0})[_0x20c3('0x155')](_0x40d136=>_0x20c3('0x32')==_0x40d136[_0x20c3('0x21')]&&_0x40d136[_0x20c3('0xa8')]),_0x4f9336=[],_0x832692=new Map();for(const _0x495889 of _0x1f55eb){const _0x545624=_0x3a1bc4(_0x495889[_0x20c3('0xb5')]);_0x832692[_0x20c3('0x122')](_0x545624)||(_0x832692['set'](_0x545624,_0x4f9336[_0x20c3('0xc0')]),_0x4f9336[_0x20c3('0x9e')]([]));const _0x339777=_0x832692[_0x20c3('0x33')](_0x545624);_0x4f9336[_0x339777][_0x20c3('0x9e')](_0x495889);}!function(){_0x4f9336[_0x20c3('0x4b')]((_0x4c266d,_0x5e3f26)=>{const _0x95a175=_0x4c266d[0x0][_0x20c3('0x22')],_0x2df6da=_0x5e3f26[0x0][_0x20c3('0x22')];return _0x95a175==_0x2df6da?_0x4c266d[0x0][_0x20c3('0xb5')][_0x20c3('0x59')]<_0x5e3f26[0x0][_0x20c3('0xb5')][_0x20c3('0x59')]?-0x1:0x1:_0x95a175<_0x2df6da?-0x1:0x1;});for(const _0x2b0cae of _0x4f9336)_0x2b0cae[_0x20c3('0x4b')]((_0xf8b696,_0x4368de)=>_0xf8b696['id']<_0x4368de['id']?-0x1:0x1);}();for(let _0x6fafd3=0x0;_0x6fafd3<_0x4f9336[_0x20c3('0xc0')];_0x6fafd3++){if(0x0==_0x4f9336[_0x6fafd3][_0x20c3('0xc0')])continue;const _0x1f5812=[];for(let _0xfc6d56=_0x6fafd3+0x1;_0xfc6d56<_0x4f9336['length'];_0xfc6d56++)0x0!=_0x4f9336[_0xfc6d56]['length']&&_0x526fcb(_0x4f9336[_0x6fafd3],_0x4f9336[_0xfc6d56])&&_0x1f5812[_0x20c3('0x9e')](_0xfc6d56);for(const _0x34198b of _0x1f5812)_0x4f9336[_0x6fafd3]=_0x4f9336[_0x6fafd3][_0x20c3('0xd')](_0x4f9336[_0x34198b]),_0x4f9336[_0x34198b]=[];}for(const _0x18cb2f of _0x4f9336)for(let _0x177246=0x0;_0x177246<_0x18cb2f[_0x20c3('0xc0')];_0x177246++)_0x18cb2f[_0x177246][_0x20c3('0xab')]=_0x18cb2f[_0x177246+0x1]||null;for(const _0x434c67 of _0x4f9336)for(let _0x1d49cf=0x0;_0x1d49cf<_0x434c67[_0x20c3('0xc0')];_0x1d49cf++)_0x434c67[_0x1d49cf][_0x20c3('0xba')]=_0x434c67[_0x1d49cf-0x1]||null;function _0x526fcb(_0x4376fc,_0x18c6ba){if(_0x4376fc[0x0][_0x20c3('0x154')]!==_0x18c6ba[0x0][_0x20c3('0x154')])return!0x1;if(!function(_0x37b5af,_0xb60f80){if(!_0x37b5af[_0x20c3('0x71')]&&!_0xb60f80[_0x20c3('0x71')])return!0x0;if(_0x37b5af[_0x20c3('0x71')]&&_0xb60f80[_0x20c3('0x71')])return!0x1;if(_0x37b5af[_0x20c3('0x71')]&&_0xb60f80[_0x20c3('0x22')]<_0x37b5af[_0x20c3('0x27')][_0x20c3('0x15e')][_0x20c3('0x33')](0x0)[_0x20c3('0x22')])return!0x0;if(_0xb60f80[_0x20c3('0x71')]&&_0x37b5af['createdAt']<_0xb60f80['commentThread'][_0x20c3('0x15e')][_0x20c3('0x33')](0x0)[_0x20c3('0x22')])return!0x0;return!0x1;}(_0x4376fc[0x0],_0x18c6ba[0x0]))return!0x1;const _0x3d477a=_0x39a72e(_0x4376fc[0x0][_0x20c3('0xb5')],'groupId'),_0xc17829=_0x39a72e(_0x18c6ba[0x0][_0x20c3('0xb5')],_0x20c3('0x59'));if(!_0xe8dc10(_0x3d477a,_0xc17829))return!0x1;return!!_0x4376fc[_0x20c3('0x112')](_0x44036d=>_0x18c6ba[_0x20c3('0x23')](_0x3b6463=>_0x44036d[_0x20c3('0x5f')]()[_0x20c3('0x29')](_0x3b6463[_0x20c3('0x5f')]())))&&_0x18c6ba[_0x20c3('0x112')](_0x1f095f=>_0x4376fc[_0x20c3('0x23')](_0x2cf3bb=>_0x1f095f[_0x20c3('0x5f')]()[_0x20c3('0x29')](_0x2cf3bb['getFirstRange']())));}}[_0x20c3('0x1a')](_0x29b612){const _0x1fc8c3=Array['from'](_0x29b612),_0xe73265=this['getSuggestions']({'skipNotAttached':!0x0}),_0x3830ca=_0xe73265['filter'](_0x92a3e9=>!_0x29b612['has'](_0x92a3e9)),_0x490560=new Map(_0x1fc8c3[_0x20c3('0x68')](_0x4dd445=>[_0x4dd445,this[_0x20c3('0xc8')][_0x20c3('0xef')](_0x4dd445[_0x20c3('0x21')],_0x4dd445['subType'],_0x20c3('0x3'))])),_0x35f0dc=new Map(_0xe73265[_0x20c3('0x68')](_0x2caa06=>[_0x2caa06,_0x2caa06[_0x20c3('0x86')]()]));for(let _0xabc32=0x0;_0xabc32<_0x1fc8c3[_0x20c3('0xc0')];_0xabc32++){if(_0x3b5f8d(this,_0x1fc8c3[_0xabc32],_0x1fc8c3,_0xabc32+0x1))return!0x0;}for(let _0x5239d4=0x0;_0x5239d4<_0x1fc8c3[_0x20c3('0xc0')];_0x5239d4++){if(_0x3b5f8d(this,_0x1fc8c3[_0x5239d4],_0x3830ca,0x0))return!0x0;}return!0x1;function _0x3b5f8d(_0x3a1725,_0x1d7883,_0x1c3646,_0x37051a){for(let _0x4f2cb0=_0x37051a;_0x4f2cb0<_0x1c3646[_0x20c3('0xc0')];_0x4f2cb0++){const _0x3d30eb=_0x1c3646[_0x4f2cb0];if(_0x3d30eb[_0x20c3('0x21')]!==_0x1d7883['type']||_0x3d30eb[_0x20c3('0x154')]['id']!==_0x1d7883[_0x20c3('0x154')]['id']||_0x3d30eb['subType']!==_0x1d7883[_0x20c3('0x3b')])continue;if(!Vt(_0x1d7883,_0x3d30eb))continue;if(_0x20c3('0x32')==_0x1d7883[_0x20c3('0x21')]&&_0x1d7883[_0x20c3('0x10f')][_0x20c3('0x157')]!=_0x3d30eb[_0x20c3('0x10f')][_0x20c3('0x157')])continue;if(_0x20c3('0x32')==_0x1d7883[_0x20c3('0x21')]&&_0x3a1725[_0x20c3('0xd4')](_0x1d7883[_0x20c3('0x10f')]['key']))continue;const _0x3206cb=_0x490560[_0x20c3('0x33')](_0x1d7883),_0x498975=_0x35f0dc[_0x20c3('0x33')](_0x1d7883),_0x107c78=_0x35f0dc['get'](_0x3d30eb),_0x2fd4b6=_0x1d7883[_0x20c3('0x27')]&&_0x1d7883['commentThread'][_0x20c3('0xc0')],_0x25e24c=_0x3d30eb['commentThread']&&_0x3d30eb['commentThread']['length'];if(!_0x2fd4b6&&_0x3206cb(_0x107c78,_0x498975))return _0x3a1725[_0x20c3('0x141')](_0x3d30eb,_0x1d7883),_0x35f0dc[_0x20c3('0x5e')](_0x1d7883),!0x0;if(!_0x25e24c&&_0x3206cb(_0x498975,_0x107c78))return _0x3a1725[_0x20c3('0x141')](_0x1d7883,_0x3d30eb),_0x35f0dc['delete'](_0x3d30eb),!0x0;}return!0x1;}}[_0x20c3('0x141')](_0x43a288,_0x1a2dec){if(_0x43a288[_0x20c3('0x166')])for(const _0x5e87e9 of _0x1a2dec[_0x20c3('0x86')]())_0x43a288[_0x20c3('0x3a')](_0x5e87e9);else{const _0x5d4fcc=_0x1a2dec[_0x20c3('0x5f')]()[_0x20c3('0xc9')];this[_0x20c3('0x67')](_0x43a288,this[_0x20c3('0x1c')][_0x20c3('0xa6')](_0x43a288[_0x20c3('0x5f')]()[_0x20c3('0x13c')],_0x5d4fcc));}_0x1a2dec[_0x20c3('0x173')]();}[_0x20c3('0x175')](_0x1477a4,_0xa192cd){const _0x4223b4=_0x1477a4[_0x20c3('0xe8')](_0x20c3('0x15d'))||_0x1477a4[_0x20c3('0xe8')](_0x20c3('0x32'))?'FORMATTING':_0x1477a4[_0x20c3('0x42')]();return _0x1a716d(this[_0x20c3('0x11a')][_0x20c3('0xcf')],_0xa192cd+'_'+_0x4223b4+_0x20c3('0x7e'));}[_0x20c3('0x14')](){const _0x3e5e55=this['editor'];_0x2bd60d(this[_0x20c3('0x1c')],({left:_0x4a3ea6,entered:_0x53c7d8})=>{const _0x180ab4=[];for(const _0x24bdad of _0x4a3ea6){const {group:_0x51f091,type:_0x1102af}=this[_0x20c3('0xb4')](_0x24bdad[_0x20c3('0x20')]);if('suggestion'===_0x51f091){_0x180ab4['push'](this[_0x20c3('0x175')](_0x1102af,'LEAVE'));break;}}for(const _0xff8f48 of _0x53c7d8){const {group:_0x1247f8,type:_0x2ada84}=this['_splitMarkerName'](_0xff8f48[_0x20c3('0x20')]);if('suggestion'===_0x1247f8){_0x180ab4[_0x20c3('0x9e')](this['_getMarkerAnnouncementText'](_0x2ada84,'ENTER'));break;}}_0x180ab4[_0x20c3('0xc0')]&&_0x3e5e55['ui'][_0x20c3('0xda')][_0x20c3('0x18')](_0x20c3('0x3f'),_0x180ab4[_0x20c3('0x3')]('\x20'));});}['_processAttributeChanges'](_0x5c9c1b){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x54aca6=this['editor'],_0x275aaf=_0x54aca6['model'][_0x20c3('0x165')][_0x20c3('0x109')]['getChanges']();if(0x0==_0x275aaf[_0x20c3('0xc0')])return!0x1;const _0x46fc08=[],_0x9e4d64=_0x275aaf['filter'](_0x4583b6=>_0x20c3('0x32')==_0x4583b6[_0x20c3('0x21')]),_0x3243f1=_0x275aaf['filter'](_0x12b56f=>_0x20c3('0x13')==_0x12b56f[_0x20c3('0x21')]&&_0x20c3('0xf')!=_0x12b56f[_0x20c3('0x20')]),_0x3415e0=_0x275aaf['filter'](_0x49d767=>_0x20c3('0xeb')==_0x49d767['type']&&_0x20c3('0xf')!=_0x49d767[_0x20c3('0x20')]);for(const _0x178d19 of _0x9e4d64)_0x46fc08['push']({'key':_0x178d19['attributeKey'],'newValue':_0x178d19[_0x20c3('0x10d')],'oldValue':_0x178d19[_0x20c3('0xa0')],'range':_0x1d870b(_0x178d19[_0x20c3('0x10c')])});for(const _0x3920fa of _0x3243f1){const _0x50f41a=_0x3415e0[_0x20c3('0x4e')](_0x30220d=>_0x30220d[_0x20c3('0x9f')][_0x20c3('0x29')](_0x3920fa[_0x20c3('0x9f')]));_0x50f41a&&_0x46fc08['push']({'key':'$elementName','newValue':_0x3920fa[_0x20c3('0x20')],'oldValue':_0x50f41a[_0x20c3('0x20')],'range':_0x54aca6[_0x20c3('0x88')]['createRangeOn'](_0x3920fa[_0x20c3('0x9f')][_0x20c3('0x1e')])});}return 0x0!=_0x46fc08[_0x20c3('0xc0')]&&this[_0x20c3('0xe1')](_0x5c9c1b,_0x46fc08);function _0x1d870b(_0x21a30a){return null==_0x21a30a[_0x20c3('0xc9')][_0x20c3('0xf4')]&&_0x21a30a[_0x20c3('0xc9')][_0x20c3('0x117')]==_0x21a30a[_0x20c3('0x13c')][_0x20c3('0x1e')]?Ut(_0x21a30a['start'][_0x20c3('0x1e')],_0x54aca6[_0x20c3('0x88')]):_0x21a30a;}}['_processAttributeSuggestions'](_0x359b68){let _0x25f69c=!0x1;const _0x348352=this[_0x20c3('0x11a')]['model'][_0x20c3('0x165')][_0x20c3('0x109')][_0x20c3('0x95')]()[_0x20c3('0x155')](_0x25912b=>_0x25912b['data'][_0x20c3('0x11c')]&&_0x25912b[_0x20c3('0x20')][_0x20c3('0xe8')](_0x20c3('0xfd')));for(const _0x19632e of _0x348352){const {subType:_0x52f473,id:_0x52bd3d}=this[_0x20c3('0xb4')](_0x19632e[_0x20c3('0x20')]),_0x13c8a1=_0x52f473[_0x20c3('0xad')]('|')[0x0];for(const _0x5963b5 of this[_0x20c3('0x36')]({'skipNotAttached':!0x0}))_0x5963b5['id']!=_0x52bd3d&&_0x20c3('0x32')==_0x5963b5[_0x20c3('0x21')]&&_0x5963b5[_0x20c3('0x10f')]&&_0x5963b5['data'][_0x20c3('0x81')]==_0x13c8a1&&_0x5963b5[_0x20c3('0x5f')]()[_0x20c3('0x11f')](_0x19632e[_0x20c3('0x10f')][_0x20c3('0x11c')])&&(this[_0x20c3('0x5d')](_0x5963b5,_0x19632e['data']['newRange'],_0x359b68),_0x25f69c=!0x0);}return _0x25f69c;}[_0x20c3('0x13a')](_0x4a1b4c){if(null!==this[_0x20c3('0x16e')])return void _0x4a1b4c();const _0x45bcfe=this['editor'];this[_0x20c3('0x16e')]=_0x45bcfe[_0x20c3('0x88')][_0x20c3('0x165')][_0x20c3('0xd1')],_0x4a1b4c();const _0xc1dfc3=new Map();for(const _0x4a316f of _0x45bcfe[_0x20c3('0x88')][_0x20c3('0x165')]['history'][_0x20c3('0x17d')](this[_0x20c3('0x16e')]))if([_0x20c3('0x8c'),'addAttribute',_0x20c3('0x45'),_0x20c3('0x167')]['includes'](_0x4a316f['type'])){const _0x44fcc0=_0x4a316f[_0x20c3('0x70')],_0x23379c=_0xc1dfc3['get'](_0x44fcc0)||[];_0x23379c[_0x20c3('0x9e')](_0x4a316f),_0xc1dfc3[_0x20c3('0x3c')](_0x44fcc0,_0x23379c);}this[_0x20c3('0x16e')]=null;for(const [_0xefac71,_0x2c56ef]of _0xc1dfc3){const _0x16b728=_0x72b486();_0x45bcfe[_0x20c3('0x88')]['enqueueChange'](_0xefac71,_0x4da679=>{const _0x381162=[];for(const _0x3ed258 of _0x2c56ef){let _0x80f926,_0x24c0eb,_0x5e0d79,_0xfbe3b7;if(_0x20c3('0x8c')==_0x3ed258['type']){const _0x138964=_0x3ed258;_0x80f926=Ut(_0x138964[_0x20c3('0x9f')][_0x20c3('0x1e')],_0x45bcfe[_0x20c3('0x88')]),_0x24c0eb=_0x20c3('0x60'),_0x5e0d79=_0x138964[_0x20c3('0x7')],_0xfbe3b7=_0x138964[_0x20c3('0x10e')];}else{const _0x565eb7=_0x3ed258,_0x52b8a2=this[_0x20c3('0xd4')](_0x565eb7[_0x20c3('0x81')]),_0x5a24e0=this[_0x20c3('0xde')]['has'](_0x565eb7[_0x20c3('0x81')]);if(!_0x52b8a2&&!_0x5a24e0)continue;_0x80f926=_0x52b8a2?Ut(_0x565eb7['range'][_0x20c3('0x13c')][_0x20c3('0x1e')],_0x45bcfe['model']):_0x565eb7[_0x20c3('0x10c')],_0x24c0eb=_0x565eb7[_0x20c3('0x81')],_0x5e0d79=_0x20c3('0x45')==_0x3ed258[_0x20c3('0x21')]?void 0x0:_0x565eb7[_0x20c3('0x4a')],_0xfbe3b7=_0x565eb7[_0x20c3('0x157')];}this['markAttributeChange'](_0x80f926,_0x24c0eb,_0xfbe3b7,_0x5e0d79,{'groupId':_0x16b728}),_0x381162[_0x20c3('0x9e')]({'range':_0x80f926,'key':_0x24c0eb,'newValue':_0x5e0d79,'oldValue':_0xfbe3b7});}this[_0x20c3('0xe1')](_0x4da679,_0x381162);});}}[_0x20c3('0xe1')](_0x2b1e89,_0x42322d){if(0x0==_0x42322d[_0x20c3('0xc0')])return!0x1;let _0x3ac27d=!0x1;for(const _0x24a977 of _0x42322d){const _0x4f8244=this[_0x20c3('0x41')](_0x24a977[_0x20c3('0x10c')],_0x20c3('0x32'))[_0x20c3('0x155')](_0x40fbdb=>!_0x40fbdb[_0x20c3('0xac')]['isNextTo'])[_0x20c3('0x68')](_0x37a318=>_0x37a318['suggestion']),_0x1edcbc=_0x3a1bc4({'newValue':_0x24a977['newValue']});_0x4f8244[_0x20c3('0x155')](_0x2fd9e5=>{const [_0x4c50f7,_0x49a208]=_0x2fd9e5[_0x20c3('0x3b')]['split']('|');return _0x4c50f7==_0x24a977['key']&&_0x49a208!=_0x1edcbc;})[_0x20c3('0x162')](_0x378a1a=>{this[_0x20c3('0x5d')](_0x378a1a,_0x24a977[_0x20c3('0x10c')],_0x2b1e89),_0x3ac27d=!0x0;});}return _0x3ac27d;}[_0x20c3('0x5d')](_0x241b44,_0x410111,_0x2fce89){const _0x51a995=_0x241b44['getFirstRange']()['getDifference'](_0x410111);0x0!==_0x51a995[_0x20c3('0xc0')]?0x1!==_0x51a995[_0x20c3('0xc0')]?this[_0x20c3('0x57')](_0x241b44,_0x410111['start'],_0x410111['end']):this[_0x20c3('0x67')](_0x241b44,_0x51a995[0x0]):_0x2fce89['removeMarker'](_0x241b44[_0x20c3('0x7b')]());}}class Bt{constructor(_0x18cbd0){this[_0x20c3('0x142')]=_0x18cbd0,this['_model']=_0x18cbd0[_0x20c3('0x88')],this[_0x20c3('0xae')]=new Map(),this[_0x20c3('0x44')]=new Map(),this[_0x20c3('0x48')]();}[_0x20c3('0x177')](_0x1999ae,_0x1198c2,_0x4572e9,_0x59d46c,_0x40999d,_0x439ceb){return new _0x5dec31(this[_0x20c3('0x1c')],{'type':_0x1999ae,'subType':_0x1198c2,'id':_0x4572e9,'author':_0x59d46c,'creator':_0x59d46c,'attributes':_0x40999d,'onAttributesChange':_0x439ceb,'onAccept':(..._0x4aa917)=>this['getSuggestionCallback'](_0x1999ae,_0x1198c2,'accept')(..._0x4aa917),'onDiscard':(..._0x5d2d78)=>this['getSuggestionCallback'](_0x1999ae,_0x1198c2,_0x20c3('0x17a'))(..._0x5d2d78)});}[_0x20c3('0x14f')](_0x348ca1,_0x51be6a,_0x2aa77b,_0x21d5ac){const _0x1ab2da=_0x348ca1+':'+_0x51be6a+':'+_0x2aa77b;this['_customCallbacks'][_0x20c3('0x3c')](_0x1ab2da,_0x21d5ac);}['getSuggestionCallback'](_0x12bfc7,_0x1dcc72,_0x48a259){const _0x668d6a=_0x12bfc7+':'+_0x1dcc72+':'+_0x48a259;return this[_0x20c3('0xae')][_0x20c3('0x33')](_0x668d6a)||this[_0x20c3('0x44')]['get'](_0x12bfc7+':'+_0x48a259);}['_registerDefaultCallbacks'](){const _0x223b52=()=>!0x1,_0xf92d9d=_0x199346=>{_0x199346['sort']((_0x4932a4,_0x55b493)=>_0x4932a4[_0x20c3('0x13c')][_0x20c3('0xc6')](_0x55b493['start'])?0x1:-0x1),this['_model'][_0x20c3('0x99')](_0x3db7da=>{for(const _0x98c2bd of _0x199346){let _0x2f24e0;_0x2f24e0=_0x98c2bd[_0x20c3('0xc9')][_0x20c3('0xf6')]&&_0x98c2bd[_0x20c3('0xc9')][_0x20c3('0x117')]==_0x98c2bd['start'][_0x20c3('0x1e')]?_0x3db7da[_0x20c3('0x12c')](_0x98c2bd[_0x20c3('0x13c')][_0x20c3('0x1e')],'on'):_0x3db7da[_0x20c3('0x12c')](_0x98c2bd),this['_model'][_0x20c3('0xb2')](_0x2f24e0,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0xb8508e=(_0xf89d15,_0x2a934a)=>{_0x2a934a&&this['_model'][_0x20c3('0x99')](_0x1154bb=>{const {commandName:_0x56e7d5,commandParams:_0x3b6d33=[]}=_0x2a934a,_0x5443b2=_0xf89d15[_0x20c3('0x68')](_0x1f08f7=>(xt(_0x1f08f7)&&(_0x1f08f7=this[_0x20c3('0x1c')][_0x20c3('0xa6')](_0x1f08f7[_0x20c3('0xc9')])),_0x1f08f7))['filter'](_0x274202=>_0x20c3('0x4c')!==_0x274202[_0x20c3('0x5a')][_0x20c3('0x8f')]);if(_0x5443b2['length']<0x1)return;const _0x3bb501=Array[_0x20c3('0xd7')](this[_0x20c3('0x1c')][_0x20c3('0x165')][_0x20c3('0xf0')][_0x20c3('0x86')]())[_0x20c3('0x68')](_0x57af86=>_0x2ad332[_0x20c3('0x16a')](_0x57af86));_0x1154bb[_0x20c3('0xc1')](_0x5443b2);for(const _0x351d4f of this[_0x20c3('0x142')][_0x20c3('0x15f')]['commands']())_0x351d4f[_0x20c3('0xd2')]();_0x3b6d33[_0x20c3('0x9e')]({'forceDefaultExecution':!0x0}),this[_0x20c3('0x142')][_0x20c3('0x13b')](_0x56e7d5,..._0x3b6d33);const _0x60c0ce=_0x3bb501['filter'](_0x22742d=>_0x20c3('0x4c')!=_0x22742d[_0x20c3('0x5a')]['rootName']);_0x60c0ce[_0x20c3('0xc0')]>0x0&&_0x1154bb['setSelection'](_0x60c0ce);for(const _0x5e2c82 of _0x3bb501)_0x5e2c82[_0x20c3('0x31')]();});},_0x467239=(_0x27fb2d,_0x1dec28)=>0x1==_0x27fb2d[_0x20c3('0xc0')]&&0x1==_0x1dec28[_0x20c3('0xc0')]&&_0x27fb2d[0x0]['end'][_0x20c3('0x29')](_0x1dec28[0x0]['start']),_0x1fe6bf=(_0x3e09b9,_0x308fe4,_0x170c6b,_0x1ed756)=>Ot(_0x3e09b9,_0x308fe4,_0x170c6b,_0x1ed756,this[_0x20c3('0x1c')])?[_0x3e09b9,_0x308fe4]:Ot(_0x308fe4,_0x3e09b9,_0x1ed756,_0x170c6b,this[_0x20c3('0x1c')])?[_0x308fe4,_0x3e09b9]:null;this[_0x20c3('0x44')][_0x20c3('0x3c')]('insertion:accept',_0x223b52),this['_defaultCallbacks'][_0x20c3('0x3c')](_0x20c3('0xb6'),_0xf92d9d),this['_defaultCallbacks'][_0x20c3('0x3c')](_0x20c3('0x7a'),_0x467239),this[_0x20c3('0x44')][_0x20c3('0x3c')](_0x20c3('0x46'),_0x1fe6bf),this['_defaultCallbacks']['set']('deletion:accept',_0xf92d9d),this[_0x20c3('0x44')]['set'](_0x20c3('0x137'),_0x223b52),this['_defaultCallbacks'][_0x20c3('0x3c')](_0x20c3('0x13e'),_0x467239),this['_defaultCallbacks'][_0x20c3('0x3c')](_0x20c3('0x180'),_0x1fe6bf),this[_0x20c3('0x44')][_0x20c3('0x3c')]('formatInline:accept',_0xb8508e),this[_0x20c3('0x44')]['set'](_0x20c3('0xb9'),_0x223b52),this['_defaultCallbacks'][_0x20c3('0x3c')]('formatInline:join',_0x467239),this[_0x20c3('0x44')][_0x20c3('0x3c')](_0x20c3('0x79'),_0x223b52),this[_0x20c3('0x44')][_0x20c3('0x3c')](_0x20c3('0x91'),_0xb8508e),this[_0x20c3('0x44')][_0x20c3('0x3c')](_0x20c3('0x123'),_0x223b52),this['_defaultCallbacks'][_0x20c3('0x3c')](_0x20c3('0x85'),_0x467239),this[_0x20c3('0x44')][_0x20c3('0x3c')](_0x20c3('0x75'),_0x223b52),this[_0x20c3('0x44')][_0x20c3('0x3c')](_0x20c3('0x55'),_0x223b52),this[_0x20c3('0x44')][_0x20c3('0x3c')](_0x20c3('0x12e'),(_0x4cccc4,_0x16353d)=>{if(!_0x16353d)return;const _0x7abbc7=this[_0x20c3('0x142')]['plugins']['get'](p);this[_0x20c3('0x1c')][_0x20c3('0x99')](_0x2dcf60=>{if(_0x20c3('0x60')==_0x16353d[_0x20c3('0x81')])for(const _0x188c65 of _0x4cccc4){const _0x27c852=_0x188c65['start'][_0x20c3('0x1e')],_0x564455=_0x16353d['oldValue'];_0x2dcf60['rename'](_0x27c852,_0x564455);}else{if(_0x7abbc7[_0x20c3('0xd4')](_0x16353d[_0x20c3('0x81')]))for(const _0x1c6242 of _0x4cccc4)void 0x0!==_0x16353d[_0x20c3('0x157')]?_0x2dcf60[_0x20c3('0xed')](_0x16353d[_0x20c3('0x81')],_0x16353d['oldValue'],_0x1c6242[_0x20c3('0x13c')][_0x20c3('0x1e')]):_0x2dcf60[_0x20c3('0x45')](_0x16353d['key'],_0x1c6242['start']['nodeAfter']);else for(const _0x14082c of _0x4cccc4)_0x16353d[_0x20c3('0x157')]?_0x2dcf60[_0x20c3('0xed')](_0x16353d[_0x20c3('0x81')],_0x16353d[_0x20c3('0x157')],_0x14082c):_0x2dcf60['removeAttribute'](_0x16353d['key'],_0x14082c);}});}),this[_0x20c3('0x44')]['set'](_0x20c3('0xb1'),_0x467239);}}function Tt(_0x50fbc3,_0x3926b9,_0x1ee99f){for(const _0x190ee4 of _0x3926b9[_0x20c3('0x117')][_0x20c3('0xaa')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x190ee4[_0x20c3('0x5a')]==_0x190ee4)return!0x1;if(!_0x1ee99f['containsItem'](_0x190ee4))return!0x1;if(_0x50fbc3[_0x20c3('0x65')](_0x190ee4)||_0x50fbc3[_0x20c3('0x11')](_0x190ee4))return!0x0;}return!0x1;}function xt(_0x46b223){return _0x46b223[_0x20c3('0xc9')][_0x20c3('0x117')]==_0x46b223[_0x20c3('0x13c')]['nodeAfter']&&_0x46b223[_0x20c3('0xc9')]['isAtStart'];}function Et(_0x38dffd,_0x5a5fd5,_0x11875d,_0x31a890){const _0x75f887=_0x4cc39c=>!_0x4cc39c[_0x20c3('0x9b')]['is'](_0x20c3('0x69'))&&!_0x31a890[_0x20c3('0x65')](_0x4cc39c['item']),_0x571119=_0x38dffd[_0x20c3('0x13c')]['getLastMatchingPosition'](_0x75f887),_0x3e2b32=_0x38dffd['end'][_0x20c3('0x156')](_0x75f887,{'direction':_0x20c3('0xe7')});return(!_0x38dffd[_0x20c3('0x13c')][_0x20c3('0x29')](_0x571119)||!_0x38dffd[_0x20c3('0xc9')][_0x20c3('0x29')](_0x3e2b32))&&(_0x571119[_0x20c3('0xc6')](_0x3e2b32)?_0x11875d[_0x20c3('0xec')](_0x5a5fd5,{'range':_0x11875d[_0x20c3('0xa6')](_0x571119,_0x3e2b32)}):_0x11875d['removeMarker'](_0x5a5fd5),!0x0);}function Rt(_0x44d065){return _0x3a1bc4(_0x44d065);}function jt(_0x185f79){const _0x50883f=_0x185f79[_0x20c3('0x13c')][_0x20c3('0x1e')];return _0x50883f&&_0x50883f['is'](_0x20c3('0x2d'));}function Ut(_0x381e31,_0x2aff0d){const _0x1cf210=_0x2aff0d[_0x20c3('0xcd')]['isObject'](_0x381e31)||_0x2aff0d['schema']['isSelectable'](_0x381e31);return _0x2aff0d[_0x20c3('0xa6')](_0x2aff0d[_0x20c3('0x8e')](_0x381e31,_0x20c3('0xb0')),_0x1cf210?_0x2aff0d[_0x20c3('0x152')](_0x381e31):_0x2aff0d[_0x20c3('0x8e')](_0x381e31,_0x20c3('0xc9')));}function Ot(_0x5b64d8,_0x1cd652,_0x3cd61d,_0x146654,_0x54aaea){if(!Vt(_0x5b64d8,_0x1cd652))return!0x1;if(_0x3cd61d['end'][_0x20c3('0x29')](_0x146654[_0x20c3('0x13c')]))return!0x0;if(_0x5b64d8[_0x20c3('0x21')]!=_0x1cd652[_0x20c3('0x21')])return!0x1;if(!_0x3cd61d[_0x20c3('0xc9')][_0x20c3('0x15')](_0x146654['start']))return!0x1;const _0x178891=_0x54aaea[_0x20c3('0xa6')](_0x3cd61d[_0x20c3('0xc9')],_0x146654['start'])[_0x20c3('0x104')]();for(const _0x38047d of _0x178891)if([_0x20c3('0x107'),'elementEnd']['includes'](_0x38047d[_0x20c3('0x21')])&&_0x54aaea[_0x20c3('0xcd')][_0x20c3('0x11')](_0x38047d[_0x20c3('0x9b')]))return!0x1;return!0x0;}function Vt(_0x560f19,_0x3a43ed){return!(!_0x560f19[_0x20c3('0xa8')]||!_0x3a43ed[_0x20c3('0xa8')])&&_0xe8dc10(_0x560f19['attributes'],_0x3a43ed[_0x20c3('0xb5')]);}function Ft(_0x1f6a11,_0x584429){const _0x637880=Gt(_0x1f6a11['attributes']),_0x12cc61=Gt(_0x584429);if(!_0x1f6a11[_0x20c3('0xa8')])return!0x1;for(const _0x31f5d8 of Object[_0x20c3('0xc5')](_0x12cc61))if(!_0xe8dc10(_0x637880[_0x31f5d8],_0x12cc61[_0x31f5d8]))return!0x1;return!0x0;}function Gt(_0x351590){const _0xf43ae1=Object['assign']({},_0x351590);return delete _0xf43ae1['skipNestingCheck'],delete _0xf43ae1[_0x20c3('0x15c')],_0xf43ae1;}
|