@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231121.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-20231121.0",
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-20231121.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231121.0",
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 _0x103d=['unshift','suggestion:attribute:','init','pluginName','activeMarkers','attribute:accept','_getMarkerAnnouncementText','always','suggestion:','attribute:join','_breakSuggestionMarker','get','toUpperCase','getSuggestionCallback','_findSuggestions','ck-suggestion-marker-formatInline','addHighlight','parent','_isBlockAttribute','range','never','_handleNewSuggestionMarker','accept','from','createPositionAt','markerToHighlight','_inlineAttributeKeys','attributes','head','howMany','_saved','comments','ENTER','deletion:','_updateSuggestionData','_registerDefaultCallbacks','change:_saved','_commentsRepository','concat','getUser','execute','acceptSuggestion','newRange','nodeAfter','isAfter','setAttribute','selection','removeAttribute','group','markerNameToElements','registerPostFixer','discardAllSuggestions','showSuggestionHighlights','type','oldRange','getMarkers','trackChanges.trackFormatChanges','createRange','_enabledCommands','insert','createElement','backward','addClass','change','attribute:','change:activeMarkers','_suggestionFactory','creator','rename','startsWith','high','_suggestionState','_addThreadToSuggestion','_editor','hasCommentThread','getChangedMarkers','attributeNewValue','value','removed','_defaultCallbacks','markMultiRangeInsertion','tablePasteChainId','suggestion-type','normal','addMarkerName','unbindElementFromMarkerName','_createSuggestion','markers','editingDowncast','_getAttributeKeyFromSubType','attributeOldValue','detach','conversion','pop','forceDefaultExecution','previous','markerName','accepted','includes','model','set','addSuggestionData','substring','acceptAllSuggestions','_joinSuggestions','acceptSelectedSuggestions','_recordAttributeSuggestionsFromVersion','name','getMultiRangeId','bindElementToMarker','getRange','isIntersectingWithRange','addSuggestion','containsRangeInObject','enableCommand','insertion:','formatBlock','options','isIntersecting','sort','ck-suggestion-marker-formatBlock','map','before','markBlockFormat','addMarker:suggestion:formatBlock','toJSON','widget','oldName','containsRange','then','elementStart','attributeKey','external:','delete','ready','addCommentThread','getSuggestion','default','stopListening','subType','isObject','formatInline:accept','trackChanges','warn','catch','split','_reduceExistingSuggestions','isRemovable','_onDiscard','ck-suggestion-marker','values','formatGroupId','formatInline','every','_recordAttributeChanges','fromRange','formatBlock:','commands','getChanges','ck-suggestion-marker--active','formatBlock:discard','applyOperation','createPositionBefore','_suggestions','deletion','config','resolve','@external','_isForcedDefaultExecutionBlock','change:data','deletion:chain','stop','_initAriaMarkerChangeAnnouncements','_addSuggestionMarker','chain','lowest','getWalker','elementEnd','commandName','end','isLocal','addAttribute','refresh','getDifference','move','_processAttributeChanges','removeMarker:suggestion:attribute','after','notReady','formatBlock:chain','deleteContent','authorName','$elementName','format','toViewElement','size','isLimit','track-changes-suggestion-not-found','Users','data','hasSuggestion','key','_refreshAttributeSuggestionsChain','clear','enqueueChange','_rangeIsInLocalUserInsertion','marker-count','removeClass','markInlineFormat','element','formatInline:','batch','$textProxy','setSelection','ariaLiveAnnouncer','markInsertion','originalSuggestionId','isEqual','mapper','position','_getSuggestionData','splice','consume','next','isNextTo','createRangeOn','adapter','suggestionChanged','_registerBlockAttribute','getShiftedBy','track-changes-user-not-found','_setSuggestionData','createRangeIn','find','LEAVE','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.','has','filter','item','suggestionLoaded','discardSelectedSuggestions','commentThread','for','_reduceSuggestionAttributeRange','getFirstRange','isArray','formatInline:join','addComment','data-suggestion','hasComments','targetPosition','remove','addMarker:suggestion','formatInline:chain','_registerInlineAttribute','trackChanges.mergeNestedSuggestions','attribute:discard','_trackFormatChanges','addUser','updateMarker','return','dataReady','_refreshSuggestionsChain','discardSuggestion','$marker','containsPosition','suggestion','changeAttribute','containerElement','deletion:discard','track-changes-suggestion-data-mismatch','PENDING_ACTION_SUGGESTION','listenTo','_setSuggestionRange','isDocumentOperation','getNearestSelectionRange','fromCharCode','join','low','ck-suggestion-marker-','collaboration.channelId','highest','start','_adapter','upcast','some','removeMarkers','getFirstMarker','length','fetchCommentThread','author','suggestionUnloaded','_model','isMultiRange','plugins','markerToData','getAttribute','_joinWithAdjacentSuggestions','isInContent','documentSelection','differ','addMarker','createSelection','multi','add','isInsideObject','keys','getLastMatchingPosition','root','buildSuggestion','writer','getSuggestions','markDeletion','_getAuthorFromId','unbind','_mergeNestedSuggestions','forward','isAtEnd','isBlock','fire','updateSuggestion','_processAttributeSuggestions','push','discard','_splitMarkerName','getRanges','formatInline:discard','addMarker:suggestion:attribute','assign','multipleBlocks','createdAt','groupId','oldValue','schema','newName','addRange','document','isCollapsed','reconvertMarker','getOperations','insertion:chain','dataToMarker','$graveyard','insertContent','_blockAttributeKeys','_enableDefaultAttributesIntegration','editor','rootName','consumable','meta','markAttributeChange','rejected','markerReady','TrackChangesEditing','nodeBefore','isOwn','skipNestingCheck','isAtStart','define','getCommentThread','CommentsRepository','getCustomProperty','removeMarker','isBefore','_getExternalAuthor','_checkSuggestionCorrectness','attribute','authoredAt','insertion:discard','getAllAdjacentSuggestions','dataDowncast','_isDataLoaded','trackChangesCommand','insertion','locale','_customCallbacks','forEach','getIntersection','newValue'];(function(_0x125507,_0x103d42){const _0x4ec967=function(_0x4bbb15){while(--_0x4bbb15){_0x125507['push'](_0x125507['shift']());}};_0x4ec967(++_0x103d42);}(_0x103d,0xb1));const _0x4ec9=function(_0x125507,_0x103d42){_0x125507=_0x125507-0x0;let _0x4ec967=_0x103d[_0x125507];return _0x4ec967;};import{Plugin as _0x176f51,PendingActions as _0x19f6c7}from'ckeditor5/src/core';import{LiveRange as _0x49a89e}from'ckeditor5/src/engine';import{CKEditorError as _0xbf6c7b,uid as _0x1a1471,priorities as _0x41a271,logWarning as _0x330157}from'ckeditor5/src/utils';import{toWidget as _0x38d9ca}from'ckeditor5/src/widget';import{Users as _0x24e63c,hashObject as _0x3b9db5,surroundingMarkersDetector as _0x260b82}from'ckeditor5-collaboration/src/collaboration-core';import _0x3fb28d from'./commands/trackchangescommand';import _0x33e564 from'./commands/acceptsuggestioncommand';import _0x1ff2d4 from'./commands/discardsuggestioncommand';import _0x5e8d97 from'./commands/executeonallsuggestionscommand';import _0x535a51 from'./commands/executeonselectedsuggestionscommand';import _0x3f936a from'./suggestion';import _0x3fb554 from'./suggestiondescriptionfactory';import _0x40e69b from'./integrations/aiassistant';import _0x4e39cd from'./integrations/alignment';import _0x1b0f8c from'./integrations/basicstyles';import _0x27a3e2 from'./integrations/blockquote';import _0x2c5ff3 from'./integrations/ckbox';import _0x426dca from'./integrations/codeblock';import _0x3f7c1a from'./integrations/comments';import _0x2bbdfe from'./integrations/deletecommand';import _0x53bf0f from'./integrations/documentlist';import _0x4aa789 from'./integrations/documentlistproperties';import _0x2f0983 from'./integrations/entercommand';import _0x4c7123 from'./integrations/findandreplace';import _0xbeccca from'./integrations/font';import _0x18f380 from'./integrations/formatpainter';import _0x24675f from'./integrations/heading';import _0x5d87c5 from'./integrations/highlight';import _0x12af31 from'./integrations/horizontalline';import _0x46c7f0 from'./integrations/htmlembed';import _0x2b299d from'./integrations/image';import _0x42b2b7 from'./integrations/imagereplace';import _0x56cd6e from'./integrations/imagestyle';import _0x50b061 from'./integrations/importword';import _0x305ad5 from'./integrations/indent';import _0x1b0a10 from'./integrations/inputcommand';import _0x187b50 from'./integrations/link';import _0x18691e from'./integrations/list';import _0x2b6c44 from'./integrations/listproperties';import _0x50bf63 from'./integrations/mediaembed';import _0x1ffe8b from'./integrations/mention';import _0x1a4bc7 from'./integrations/pagebreak';import _0x503991 from'./integrations/paragraph';import _0x2c68f1 from'./integrations/removeformat';import _0x18ddf9 from'./integrations/restrictededitingmode';import _0x134f2f from'./integrations/shiftentercommand';import _0x16e989 from'./integrations/standardeditingmode';import _0x384cb7 from'./integrations/style';import _0x132aa7 from'./integrations/table';import _0x24a715 from'./integrations/tablemergesplit';import _0x432c58 from'./integrations/tableheadings';import _0x3ad5b2 from'./integrations/tableclipboard';import _0x574c5e from'./integrations/tablecolumnresize';import _0x27bddc from'./integrations/template';import _0x1f89f0 from'./integrations/tableofcontents';import _0x39257b from'./integrations/title';import _0x362cd1 from'./integrations/undo';import _0x5321be from'./integrations/tablecaption';import _0x42ad18 from'./integrations/tableproperties';import{getTranslation as _0x4ab33e}from'./utils/common-translations';import{isEqual as _0x5240aa,omit as _0x3f6958}from'lodash-es';export const renameAttributeKey=_0x4ec9('0xf');export default class p extends _0x176f51{static get['requires'](){return[_0x4ec9('0xb7'),_0x24e63c,_0x19f6c7,_0x40e69b,_0x4e39cd,_0x1b0f8c,_0x27a3e2,_0x2c5ff3,_0x426dca,_0x3f7c1a,_0x2bbdfe,_0x53bf0f,_0x4aa789,_0x2f0983,_0x4c7123,_0xbeccca,_0x18f380,_0x24675f,_0x5d87c5,_0x12af31,_0x46c7f0,_0x2b299d,_0x56cd6e,_0x42b2b7,_0x50b061,_0x305ad5,_0x1b0a10,_0x187b50,_0x18691e,_0x2b6c44,_0x50bf63,_0x1ffe8b,_0x1a4bc7,_0x503991,_0x2c68f1,_0x18ddf9,_0x134f2f,_0x16e989,_0x384cb7,_0x132aa7,_0x24a715,_0x432c58,_0x5321be,_0x3ad5b2,_0x574c5e,_0x1f89f0,_0x42ad18,_0x27bddc,_0x39257b,_0x362cd1];}static get[_0x4ec9('0xcd')](){return _0x4ec9('0xb0');}constructor(_0x1f39e2){function _0x177c30(_0x458687){return _0x458687[_0x4ec9('0x143')](_0x50e8a9=>String[_0x4ec9('0x63')](_0x50e8a9))['join']('');}super(_0x1f39e2),this[_0x4ec9('0x134')]=null,this[_0x4ec9('0x12e')]('activeMarkers',[]),this['on'](_0x4ec9('0x10b'),(_0x320c34,_0x37f576,_0x4c573e,_0x41be03)=>{this[_0x4ec9('0x73')][_0x4ec9('0x109')](()=>{for(const _0x561ad9 of[..._0x41be03,..._0x4c573e])this[_0x4ec9('0x73')][_0x4ec9('0x121')][_0x4ec9('0x3b')](_0x561ad9)&&_0x1f39e2['editing'][_0x4ec9('0xa1')](_0x561ad9);});}),this['_descriptionFactory']=new _0x3fb554(this[_0x4ec9('0xa9')][_0x4ec9('0x12d')][_0x4ec9('0x9c')],this['editor'][_0x4ec9('0xc5')]),this[_0x4ec9('0x6a')]=null,this[_0x4ec9('0x10c')]=new Bt(this['editor']),this[_0x4ec9('0x16d')]=new Map(),this[_0x4ec9('0xef')]=_0x1f39e2['plugins'][_0x4ec9('0xd5')](_0x4ec9('0xb7')),this[_0x4ec9('0x104')]=new Set(),this[_0x4ec9('0x73')]=this['editor'][_0x4ec9('0x12d')],this[_0x4ec9('0x111')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this['_blockAttributeKeys']=new Set([_0x4ec9('0xf')]),this[_0x4ec9('0xe4')]=new Set(),_0x1f39e2[_0x4ec9('0x16f')][_0x4ec9('0xb5')](_0x4ec9('0x102'),_0x4ec9('0x153')),this[_0x4ec9('0x50')]=_0x1f39e2['config']['get']('trackChanges.trackFormatChanges'),_0x1f39e2[_0x4ec9('0x16f')][_0x4ec9('0xb5')](_0x4ec9('0x4e'),!0x0),this[_0x4ec9('0x8a')]=_0x1f39e2[_0x4ec9('0x16f')]['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x3fb28d(_0x1f39e2,this[_0x4ec9('0x104')]),this[_0x4ec9('0x176')](),this[_0x177c30([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x177c30([0x34,0x30,0x34,0x36,0x32,0x32,0x34,0x32]);}[_0x4ec9('0xcc')](){const _0x541ef9=this[_0x4ec9('0xa9')],_0x57b96d=(_0x2c9a4a,_0x2424be)=>{if(_0x4ec9('0xbd')!=_0x2c9a4a)return _0x4ec9('0x66')+_0x2c9a4a;const _0x274a97=_0x2424be['split']('|')[0x0];return this['_isBlockAttribute'](_0x274a97)?_0x4ec9('0x142'):_0x4ec9('0xd9');};_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0x122'))[_0x4ec9('0xe3')]({'model':'suggestion','view':_0x5ea55b=>{const {id:_0x459902,type:_0x190092,subType:_0x1ee75a}=this[_0x4ec9('0x93')](_0x5ea55b['markerName']),_0x3b914f=[_0x4ec9('0x15f'),_0x57b96d(_0x190092,_0x1ee75a)];let _0x5de663=0xbb8;return this[_0x4ec9('0xce')][_0x4ec9('0x12c')](_0x5ea55b[_0x4ec9('0x12a')])&&(_0x3b914f[_0x4ec9('0x91')]('ck-suggestion-marker--active'),_0x5de663=0xbc2),_0x4ec9('0x16e')==_0x190092&&(_0x5de663+=0x5),{'classes':_0x3b914f,'attributes':{'data-suggestion':_0x459902},'priority':_0x5de663};}}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')]('dataDowncast')[_0x4ec9('0x7f')](_0x13760a=>{_0x13760a['on'](_0x4ec9('0x4b'),(_0x1c9705,_0x32cc00,_0x471dd8)=>{if(!_0x471dd8['options'][_0x4ec9('0xfe')])return;const _0x677786=_0x32cc00[_0x4ec9('0x3d')];if(!_0x677786)return;const _0x4ed9cd=_0x471dd8[_0x4ec9('0x29')]['toViewElement'](_0x677786);_0x541ef9['model'][_0x4ec9('0x9c')][_0x4ec9('0x156')](_0x677786)&&_0x4ed9cd&&!_0x4ed9cd['getCustomProperty'](_0x4ec9('0x148'))&&_0x4ed9cd['is'](_0x4ec9('0x5b'))&&_0x38d9ca(_0x4ed9cd,_0x471dd8[_0x4ec9('0x85')]);},{'priority':_0x4ec9('0x110')});}),_0x541ef9[_0x4ec9('0x126')]['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x27cede,_0x175649)=>{if(!_0x175649[_0x4ec9('0x13f')][_0x4ec9('0xfe')])return null;const {type:_0x1c5f2d,subType:_0x593bc3}=this[_0x4ec9('0x93')](_0x27cede[_0x4ec9('0x12a')]);return{'classes':[_0x4ec9('0x15f'),_0x57b96d(_0x1c5f2d,_0x593bc3)],'priority':0xbb8};}});const _0x5d64ef=({showActiveMarkers:_0x1b2fe1=!0x0,isAttributeSuggestion:_0x5e10ca=!0x1}={})=>(_0x1cbd51,_0x2d99ca,_0x241d55)=>{if(!_0x2d99ca[_0x4ec9('0x3d')])return;const {id:_0x49d3d9}=this[_0x4ec9('0x93')](_0x2d99ca['markerName']);if(_0x5e10ca){const _0x299b69=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x49d3d9),_0x11de02=this[_0x4ec9('0x123')](_0x299b69);if(!this[_0x4ec9('0xdc')](_0x11de02))return;}if(_0x2d99ca['item']['is'](_0x4ec9('0xf8')))return void _0x241d55['consumable']['consume'](_0x2d99ca[_0x4ec9('0x3d')],_0x1cbd51['name']);const _0x41b3db=_0x241d55[_0x4ec9('0x29')][_0x4ec9('0x11')](_0x2d99ca['item']);if(_0x2d99ca[_0x4ec9('0x3d')]['is'](_0x4ec9('0x20'))&&_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9c')][_0x4ec9('0x8d')](_0x2d99ca[_0x4ec9('0x3d')])&&!_0x41b3db[_0x4ec9('0xb8')](_0x4ec9('0xda'))){_0x241d55[_0x4ec9('0x85')][_0x4ec9('0x108')](['ck-suggestion-marker',_0x4ec9('0x142')],_0x41b3db),_0x241d55[_0x4ec9('0x85')]['setAttribute'](_0x4ec9('0x47'),_0x49d3d9,_0x41b3db),_0x241d55[_0x4ec9('0x29')][_0x4ec9('0x137')](_0x41b3db,_0x2d99ca['markerName']),_0x1b2fe1&&(this[_0x4ec9('0xce')]['includes'](_0x2d99ca[_0x4ec9('0x12a')])?_0x241d55['writer'][_0x4ec9('0x108')](_0x4ec9('0x169'),_0x41b3db):_0x241d55[_0x4ec9('0x85')][_0x4ec9('0x1e')](_0x4ec9('0x169'),_0x41b3db));for(const _0x2b00bd of _0x541ef9['model'][_0x4ec9('0x37')](_0x2d99ca[_0x4ec9('0x3d')])['getItems']())_0x241d55[_0x4ec9('0xab')]['consume'](_0x2b00bd,_0x1cbd51[_0x4ec9('0x135')]);_0x241d55[_0x4ec9('0xab')][_0x4ec9('0x2d')](_0x2d99ca['item'],_0x1cbd51[_0x4ec9('0x135')]);}};_0x541ef9[_0x4ec9('0x126')]['for'](_0x4ec9('0xc1'))[_0x4ec9('0x7f')](_0x2ff845=>{_0x2ff845['on'](_0x4ec9('0x146'),(_0x4d3d1c,_0x58f0b1,_0x52d4b1)=>{_0x52d4b1['options'][_0x4ec9('0xfe')]&&_0x5d64ef({'showActiveMarkers':!0x1})(_0x4d3d1c,_0x58f0b1,_0x52d4b1);},{'priority':_0x4ec9('0x68')});}),_0x541ef9['conversion'][_0x4ec9('0x41')](_0x4ec9('0xc1'))[_0x4ec9('0x7f')](_0x322061=>{_0x322061['on'](_0x4ec9('0x96'),(_0x136609,_0x1dc003,_0x22cd03)=>{_0x22cd03[_0x4ec9('0x13f')][_0x4ec9('0xfe')]&&_0x5d64ef({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x136609,_0x1dc003,_0x22cd03);},{'priority':_0x4ec9('0x68')});}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0xc1'))[_0x4ec9('0x76')]({'model':_0x4ec9('0x59'),'view':(_0x448868,_0x595076)=>_0x595076[_0x4ec9('0x13f')]['showSuggestionHighlights']?null:{'group':_0x4ec9('0x59'),'name':_0x448868['substr'](0xb)}}),_0x541ef9['conversion'][_0x4ec9('0x41')](_0x4ec9('0x6b'))['elementToElement']({'view':{'name':_0x4ec9('0x59'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x1e6b4f,{writer:_0x2cb0ef})=>{let _0x348277=_0x4ec9('0xd2')+_0x1e6b4f[_0x4ec9('0x77')](_0x4ec9('0x11c'))+':'+_0x1e6b4f['getAttribute']('id');return _0x1e6b4f[_0x4ec9('0x77')](_0x4ec9('0x1d'))&&(_0x348277+=':'+_0x1e6b4f[_0x4ec9('0x77')](_0x4ec9('0x1d'))),_0x2cb0ef[_0x4ec9('0x106')](_0x4ec9('0x57'),{'data-name':_0x348277});}}),_0x541ef9[_0x4ec9('0x126')]['for'](_0x4ec9('0x6b'))[_0x4ec9('0xa4')]({'view':_0x4ec9('0x59')}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0x122'))[_0x4ec9('0x7f')](_0x3031a4=>{_0x3031a4['on'](_0x4ec9('0x146'),_0x5d64ef(),{'priority':'high'});}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0x122'))['add'](_0x39caec=>{_0x39caec['on'](_0x4ec9('0x96'),_0x5d64ef({'isAttributeSuggestion':!0x0}),{'priority':_0x4ec9('0x110')});}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0x122'))[_0x4ec9('0x7f')](_0x12e689=>{_0x12e689['on']('removeMarker:suggestion:formatBlock',(_0xdbc048,_0xf63d2e,_0x10531b)=>{const _0x3bbb80=_0x10531b[_0x4ec9('0x29')][_0x4ec9('0xfb')](_0xf63d2e['markerName']);if(_0x3bbb80)for(const _0x5c1e63 of _0x3bbb80)_0x5c1e63[_0x4ec9('0xb8')]('addHighlight')||(_0x10531b[_0x4ec9('0x85')]['removeClass']([_0x4ec9('0x15f'),_0x4ec9('0x142'),'ck-suggestion-marker--active'],_0x5c1e63),_0x10531b['writer'][_0x4ec9('0xf9')](_0x4ec9('0x47'),_0x5c1e63),_0x10531b[_0x4ec9('0x29')][_0x4ec9('0x11f')](_0x5c1e63,_0xf63d2e['markerName']));},{'priority':_0x4ec9('0x110')});}),_0x541ef9[_0x4ec9('0x126')][_0x4ec9('0x41')](_0x4ec9('0x122'))[_0x4ec9('0x7f')](_0x569aa3=>{_0x569aa3['on'](_0x4ec9('0x9'),(_0x353e56,_0x280583,_0xc917a)=>{const _0x3ea31d=_0xc917a[_0x4ec9('0x29')]['markerNameToElements'](_0x280583['markerName']);if(!_0x3ea31d)return;const {id:_0x49e966}=this[_0x4ec9('0x93')](_0x280583[_0x4ec9('0x12a')]),_0x37677d=this[_0x4ec9('0x16d')]['get'](_0x49e966),_0xd44496=this[_0x4ec9('0x123')](_0x37677d);if(this[_0x4ec9('0xdc')](_0xd44496))for(const _0x4ce991 of _0x3ea31d)_0x4ce991[_0x4ec9('0xb8')](_0x4ec9('0xda'))||(_0xc917a[_0x4ec9('0x85')]['removeClass']([_0x4ec9('0x15f'),_0x4ec9('0x142'),_0x4ec9('0x169')],_0x4ce991),_0xc917a[_0x4ec9('0x85')][_0x4ec9('0xf9')]('data-suggestion',_0x4ce991),_0xc917a[_0x4ec9('0x29')][_0x4ec9('0x11f')](_0x4ce991,_0x280583[_0x4ec9('0x12a')]));},{'priority':_0x4ec9('0x110')});}),_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9f')]['registerPostFixer'](_0x293e2d=>{let _0x131c8e=!0x1;const _0x11db04=Array[_0x4ec9('0xe1')](_0x541ef9['model'][_0x4ec9('0x9f')]['differ'][_0x4ec9('0x115')]()),_0x3a8492=new Set();for(const {name:_0x268c22,data:_0x3d8d62}of _0x11db04){const {group:_0x2cc39a,type:_0x2c6ed0,subType:_0xdb84b6,id:_0x6cf975}=this[_0x4ec9('0x93')](_0x268c22);if('suggestion'!==_0x2cc39a)continue;const _0x325d2c=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x6cf975);if(null!=_0x3d8d62[_0x4ec9('0xf4')]){_0x4ec9('0x162')==_0x2c6ed0&&(_0x131c8e=_0x131c8e||Et(_0x3d8d62[_0x4ec9('0xf4')],_0x268c22,_0x293e2d,_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9c')]));const _0x561259='attribute'==_0x2c6ed0&&this['_isBlockAttribute'](_0xdb84b6[_0x4ec9('0x15b')]('|')[0x0]);if(_0x3d8d62[_0x4ec9('0xf4')][_0x4ec9('0xa0')]||_0x4ec9('0xa5')==_0x3d8d62[_0x4ec9('0xf4')][_0x4ec9('0x83')][_0x4ec9('0xaa')]||'formatBlock'==_0x2c6ed0&&!jt(_0x3d8d62[_0x4ec9('0xf4')])||_0x561259&&!jt(_0x3d8d62[_0x4ec9('0xf4')])||_0x4ec9('0x16e')==_0x2c6ed0&&!(!xt(_0x57f2a3=_0x3d8d62[_0x4ec9('0xf4')])&&!function(_0x4e1cdd){return _0x4e1cdd['start']['parent']==_0x4e1cdd[_0x4ec9('0x2')][_0x4ec9('0xb1')]&&_0x4e1cdd[_0x4ec9('0x69')][_0x4ec9('0x8c')];}(_0x57f2a3)))_0x293e2d[_0x4ec9('0xb9')](_0x268c22),_0x131c8e=!0x0;else{if(!_0x325d2c||!_0x325d2c['isInContent'])continue;_0x3a8492[_0x4ec9('0x7f')](_0x325d2c);}}}var _0x57f2a3;return _0x3a8492[_0x4ec9('0x12')]>0x0&&(_0x131c8e=!!this['_joinWithAdjacentSuggestions'](_0x3a8492)||_0x131c8e),_0x131c8e;}),_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9f')][_0x4ec9('0xfc')](_0x31cbcd=>{let _0x4165d7=!0x1;for(const _0x1afb5c of _0x541ef9['model'][_0x4ec9('0x9f')][_0x4ec9('0x7b')][_0x4ec9('0x168')]())if(_0x4ec9('0x105')==_0x1afb5c[_0x4ec9('0xff')])for(const _0x1f19da of this[_0x4ec9('0x16d')][_0x4ec9('0x160')]()){if(_0x1f19da[_0x4ec9('0x74')]||!_0x1f19da['isInContent'])continue;const _0x16e69d=_0x4ec9('0x13e')==_0x1f19da['type'],_0x368b81=this[_0x4ec9('0x123')](_0x1f19da),_0x415c16=_0x368b81&&this[_0x4ec9('0xdc')](_0x368b81);if(!_0x16e69d&&!_0x415c16)continue;const _0x3d70a4=_0x1f19da[_0x4ec9('0x43')]();if(_0x3d70a4[_0x4ec9('0x69')][_0x4ec9('0xdb')]!=_0x3d70a4[_0x4ec9('0x2')][_0x4ec9('0xdb')]&&!_0x3d70a4['end'][_0x4ec9('0x8c')]){const _0x3e1e09=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0xe2')](_0x3d70a4[_0x4ec9('0x69')][_0x4ec9('0xf5')],_0x4ec9('0x2')),_0x3d5740=_0x541ef9[_0x4ec9('0x12d')]['createRange'](_0x3d70a4['start'],_0x3e1e09);_0x31cbcd[_0x4ec9('0x52')](_0x1f19da[_0x4ec9('0x6e')](),{'range':_0x3d5740}),_0x4165d7=!0x0;}}return _0x4165d7;}),_0x541ef9[_0x4ec9('0x12d')]['document'][_0x4ec9('0xfc')](_0x1192d3=>this[_0x4ec9('0x8')](_0x1192d3)),_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9f')][_0x4ec9('0xfc')](_0x1dd4c7=>!_0x1dd4c7[_0x4ec9('0x22')][_0x4ec9('0x3')]&&this[_0x4ec9('0x90')](_0x1dd4c7)),_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x121')]['on']('update:suggestion',(_0x4e53fc,_0x1bc61e,_0x47061a)=>{if(null==_0x47061a){const {id:_0x11dc50}=this['_splitMarkerName'](_0x1bc61e[_0x4ec9('0x135')]),_0x4e8e49=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x11dc50);_0x4e8e49&&_0x4e8e49[_0x4ec9('0x11e')](_0x1bc61e[_0x4ec9('0x135')]);}}),_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9f')]['on'](_0x4ec9('0x173'),()=>{const _0x3630a4=Array[_0x4ec9('0xe1')](_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9f')]['differ']['getChangedMarkers']())[_0x4ec9('0x3c')](_0x899a2e=>'suggestion'===this[_0x4ec9('0x93')](_0x899a2e[_0x4ec9('0x135')])[_0x4ec9('0xfa')]);if(0x0===_0x3630a4['length'])return;_0x3630a4[_0x4ec9('0x141')]((_0x2a056e,_0x5c517a)=>{const _0xf3c4f6=_0x2a056e[_0x4ec9('0x16')][_0x4ec9('0x100')],_0x1cbad8=_0x5c517a['data'][_0x4ec9('0x100')];return null===_0xf3c4f6&&null===_0x1cbad8?0x0:null===_0xf3c4f6&&null!==_0x1cbad8?-0x1:null!==_0xf3c4f6&&null===_0x1cbad8?0x1:_0xf3c4f6[_0x4ec9('0x69')][_0x4ec9('0xba')](_0x1cbad8[_0x4ec9('0x69')])?-0x1:0x1;});const _0x54bc0c=new Set(),_0x580391=new Set();for(const {name:_0x12f87c,data:_0x150854}of _0x3630a4){const {id:_0xfd0109}=this[_0x4ec9('0x93')](_0x12f87c);if(null===_0x150854['oldRange']){const _0x4384fc=this[_0x4ec9('0xdf')](_0x12f87c);_0x580391[_0x4ec9('0x7f')](_0x4384fc);}else{const _0x41ad55=this[_0x4ec9('0x16d')]['get'](_0xfd0109);null!==_0x150854[_0x4ec9('0xf4')]||_0x41ad55[_0x4ec9('0x79')]?(_0x54bc0c[_0x4ec9('0x7f')](_0x41ad55[_0x4ec9('0xe6')]),_0x580391[_0x4ec9('0x7f')](_0x41ad55)):this['_removeSuggestion'](_0x41ad55);}}_0x580391[_0x4ec9('0x12')]>0x0&&this['_refreshSuggestionsChain'](_0x580391);for(const _0x24ad51 of _0x54bc0c)this['fire'](_0x4ec9('0x32'),_0x24ad51);}),_0x541ef9[_0x4ec9('0x12d')]['on'](_0x4ec9('0x16b'),(_0x33f143,_0x4fbd63)=>{const _0x26dddc=_0x4fbd63[0x0];if(!this[_0x4ec9('0x16d')][_0x4ec9('0x12')])return;if(!_0x26dddc[_0x4ec9('0x61')])return;if(_0x26dddc[_0x4ec9('0x22')]['isUndo']||!_0x26dddc[_0x4ec9('0x22')][_0x4ec9('0x3')])return;let _0x34a301,_0xa4ec06;switch(_0x26dddc['type']){case'insert':_0x34a301=_0x541ef9['model'][_0x4ec9('0xe2')](_0x26dddc['position']),_0xa4ec06=_0x34a301[_0x4ec9('0x34')](_0x26dddc[_0x4ec9('0xe7')]);break;case _0x4ec9('0x15b'):_0x34a301=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0xe2')](_0x26dddc['splitPosition']),_0xa4ec06=_0x541ef9['model']['createPositionAt'](_0x26dddc['moveTargetPosition']);break;case _0x4ec9('0x7'):_0x34a301=_0x541ef9['model']['createPositionAt'](_0x26dddc[_0x4ec9('0x49')]),_0xa4ec06=_0x34a301['getShiftedBy'](_0x26dddc[_0x4ec9('0xe7')]);break;default:return;}const _0x59e644=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x103')](_0x34a301,_0xa4ec06);_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x109')](()=>{for(const {suggestion:_0x42dec2,meta:_0x57d9e6}of this[_0x4ec9('0xd8')](_0x59e644)){if(_0x42dec2[_0x4ec9('0x74')])continue;if(_0x4ec9('0x162')==_0x42dec2[_0x4ec9('0xff')])continue;const _0x195d18=this[_0x4ec9('0x123')](_0x42dec2);if(_0x195d18&&this[_0x4ec9('0xdc')](_0x195d18)&&_0x4ec9('0x15b')!=_0x26dddc[_0x4ec9('0xff')])continue;const _0x30a4fb=_0x42dec2['data']&&_0x42dec2[_0x4ec9('0x16')][_0x4ec9('0x98')];(_0x4ec9('0x13e')!=_0x42dec2['type']||'split'==_0x26dddc[_0x4ec9('0xff')]&&!_0x30a4fb)&&(_0x57d9e6['containsRangeInObject']||'insertion'==_0x42dec2[_0x4ec9('0xff')]&&_0x57d9e6[_0x4ec9('0xb2')]||_0x42dec2['getFirstRange']()[_0x4ec9('0x14a')](_0x59e644)&&this['_breakSuggestionMarker'](_0x42dec2,_0x34a301,_0xa4ec06));}});},{'priority':_0x4ec9('0x179')}),_0x541ef9[_0x4ec9('0x12d')]['on'](_0x4ec9('0xd'),(_0x203297,_0x30978e)=>{const _0x28d3b6=_0x30978e[0x0],_0x295d1d=_0x30978e[0x1];if(_0x295d1d&&_0x295d1d[_0x4ec9('0x128')])return;if(this[_0x4ec9('0x172')])return;if(!this[_0x4ec9('0xc3')][_0x4ec9('0x117')])return;if(_0x28d3b6[_0x4ec9('0xa0')])return;const _0x49c518=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x9c')],{start:_0x5076a5,end:_0x60af9b}=_0x28d3b6['getFirstRange'](),_0x466365=_0x5076a5[_0x4ec9('0xf5')]&&_0x49c518['isLimit'](_0x5076a5[_0x4ec9('0xf5')])?null:_0x49c518[_0x4ec9('0x62')](_0x5076a5,_0x4ec9('0x8b')),_0x56b3d3=_0x60af9b['nodeBefore']&&_0x49c518[_0x4ec9('0x13')](_0x60af9b['nodeBefore'])?null:_0x49c518[_0x4ec9('0x62')](_0x60af9b,_0x4ec9('0x107')),_0x4d7ddb=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x103')](_0x466365?_0x466365[_0x4ec9('0x69')]:_0x5076a5,_0x56b3d3?_0x56b3d3['end']:_0x60af9b);_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x109')](_0x3a1021=>{this[_0x4ec9('0x87')](_0x4d7ddb);const _0x301c3d=_0x541ef9[_0x4ec9('0x12d')]['schema'][_0x4ec9('0x62')](_0x4d7ddb[_0x4ec9('0x69')]);_0x28d3b6['is'](_0x4ec9('0x7a'))?_0x3a1021[_0x4ec9('0x24')](_0x301c3d):_0x28d3b6['setTo'](_0x301c3d);}),_0x203297['stop']();},{'priority':_0x41a271[_0x4ec9('0x11d')]+0xa}),_0x541ef9[_0x4ec9('0x12d')]['on']('insertContent',(_0x49c754,_0x1524c7)=>{const _0x5822eb=_0x1524c7[_0x1524c7[_0x4ec9('0x6f')]-0x1];_0x5822eb&&_0x5822eb[_0x4ec9('0x128')]||this[_0x4ec9('0x172')]||this['trackChangesCommand'][_0x4ec9('0x117')]&&(_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x109')](()=>{let _0x2b1259=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0xa6')](_0x1524c7[0x0],_0x1524c7[0x1],_0x1524c7[0x2],{'forceDefaultExecution':!0x0});if(!_0x2b1259)return;_0x49c754['return']=_0x2b1259['clone']();const _0x2ef1cb=_0x2b1259[_0x4ec9('0x2')][_0x4ec9('0xb1')],_0x2bcdea=_0x541ef9['model'][_0x4ec9('0x9c')];_0x2ef1cb&&_0x2bcdea[_0x4ec9('0x8d')](_0x2ef1cb)&&!_0x2bcdea['isObject'](_0x2ef1cb)&&(_0x2b1259=_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0x103')](_0x2b1259[_0x4ec9('0x69')],_0x541ef9[_0x4ec9('0x12d')][_0x4ec9('0xe2')](_0x2ef1cb,'end'))),this[_0x4ec9('0x26')](_0x2b1259);}),_0x49c754[_0x4ec9('0x175')]());},{'priority':'high'}),this['editor'][_0x4ec9('0x167')]['add'](_0x4ec9('0x158'),this[_0x4ec9('0xc3')]),this[_0x4ec9('0x13c')]('trackChanges');const _0x533eca=new _0x33e564(_0x541ef9,this[_0x4ec9('0x16d')]);_0x541ef9[_0x4ec9('0x167')][_0x4ec9('0x7f')]('acceptSuggestion',_0x533eca),this[_0x4ec9('0x13c')](_0x4ec9('0xf3'));const _0x510701=new _0x1ff2d4(_0x541ef9,this[_0x4ec9('0x16d')]);_0x541ef9[_0x4ec9('0x167')][_0x4ec9('0x7f')](_0x4ec9('0x56'),_0x510701),this[_0x4ec9('0x13c')](_0x4ec9('0x56')),_0x541ef9[_0x4ec9('0x167')][_0x4ec9('0x7f')](_0x4ec9('0x131'),new _0x5e8d97(_0x541ef9,_0x533eca,this[_0x4ec9('0x16d')])),this['enableCommand'](_0x4ec9('0x131')),_0x541ef9[_0x4ec9('0x167')]['add']('discardAllSuggestions',new _0x5e8d97(_0x541ef9,_0x510701,this[_0x4ec9('0x16d')])),this[_0x4ec9('0x13c')](_0x4ec9('0xfd')),_0x541ef9[_0x4ec9('0x167')]['add'](_0x4ec9('0x133'),new _0x535a51(_0x541ef9,_0x533eca,this[_0x4ec9('0x16d')])),this['enableCommand'](_0x4ec9('0x133')),_0x541ef9['commands']['add']('discardSelectedSuggestions',new _0x535a51(_0x541ef9,_0x510701,this['_suggestions'])),this[_0x4ec9('0x13c')](_0x4ec9('0x3f'));const _0xcb5ec2=_0x541ef9[_0x4ec9('0x75')][_0x4ec9('0xd5')](_0x4ec9('0xb7'));this[_0x4ec9('0x5f')](_0xcb5ec2,_0x4ec9('0x46'),(_0x3404fe,{threadId:_0xda3e65})=>{const _0xcc4bd1=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0xda3e65);_0xcc4bd1&&_0xcc4bd1['commentThread']&&0x1===_0xcc4bd1[_0x4ec9('0x40')][_0x4ec9('0x6f')]&&this[_0x4ec9('0xec')](_0xda3e65,{'hasComments':!0x0});},{'priority':_0x4ec9('0x65')}),this[_0x4ec9('0x5f')](_0xcb5ec2,'removeComment',(_0x4e8170,{threadId:_0x5b49d4})=>{const _0x1ec050=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x5b49d4);_0x1ec050&&_0x1ec050[_0x4ec9('0x40')]&&!_0x1ec050[_0x4ec9('0x40')]['length']&&this[_0x4ec9('0xec')](_0x5b49d4,{'hasComments':!0x1});},{'priority':_0x4ec9('0x65')});}set[_0x4ec9('0x31')](_0x2e532c){if(this[_0x4ec9('0x6a')])throw new _0xbf6c7b('track-changes-adapter-already-set',this);this[_0x4ec9('0x6a')]=_0x2e532c;}get['adapter'](){return this['_adapter'];}[_0x4ec9('0x86')]({skipNotAttached:_0xd146e5=!0x1,toJSON:_0x434bc4=!0x1}={}){const _0x2111bd=[];for(const _0x4a6701 of this['_suggestions']['values']())_0xd146e5&&!_0x4a6701['isInContent']||_0x2111bd['push'](_0x4a6701);return _0x434bc4?_0x2111bd['map'](_0x43084f=>_0x43084f[_0x4ec9('0x147')]()):_0x2111bd;}[_0x4ec9('0x152')](_0x289acf){const _0x313117=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x289acf);if(!_0x313117)throw new _0xbf6c7b(_0x4ec9('0x14'),this);return _0x313117;}[_0x4ec9('0x17')](_0x7e6ad2){return this[_0x4ec9('0x16d')]['has'](_0x7e6ad2);}[_0x4ec9('0x12f')](_0x44070d){const {authorId:_0x19745e,id:_0x2962cc,attributes:_0x8c0a66}=_0x44070d,[_0xf0d4f9,_0x59f5ef]=_0x44070d['type'][_0x4ec9('0x15b')](':'),_0x47eb7=this[_0x4ec9('0x16d')]['get'](_0x2962cc)||this[_0x4ec9('0x120')](_0xf0d4f9,_0x59f5ef,_0x2962cc,_0x19745e,_0x8c0a66);if(this[_0x4ec9('0x112')](_0x47eb7),this[_0x4ec9('0xbc')](_0x47eb7,_0xf0d4f9,_0x59f5ef||null,_0x19745e),_0x47eb7['createdAt']=_0x44070d[_0x4ec9('0x99')],_0x47eb7[_0x4ec9('0xc2')]=!0x0,_0x8c0a66&&_0x8c0a66[_0x4ec9('0x171')]){const _0x1c2b58=_0x8c0a66[_0x4ec9('0x171')],_0x1eb8f3=this[_0x4ec9('0xbb')](_0x1c2b58[_0x4ec9('0xe')]);_0x47eb7[_0x4ec9('0xbe')]=_0x1c2b58[_0x4ec9('0x99')],_0x47eb7[_0x4ec9('0x71')]=_0x1eb8f3,_0x47eb7['isExternal']=!0x0;}else _0x47eb7[_0x4ec9('0xbe')]=_0x44070d[_0x4ec9('0x99')];switch(_0x44070d[_0x4ec9('0x16')]&&(_0x47eb7[_0x4ec9('0x16')]=_0x44070d[_0x4ec9('0x16')]),_0x44070d[_0x4ec9('0xe5')]&&(_0x47eb7[_0x4ec9('0xe5')]=_0x44070d[_0x4ec9('0xe5')]),this['_adapter']&&this[_0x4ec9('0x6a')][_0x4ec9('0x13a')]||(_0x47eb7[_0x4ec9('0xe8')]=!0x0),this[_0x4ec9('0x111')][_0x4ec9('0xd5')](_0x47eb7)){case _0x4ec9('0xb'):this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x47eb7,_0x4ec9('0x54'));break;case _0x4ec9('0xaf'):_0x47eb7[_0x4ec9('0x79')]?(this['_refreshSuggestionsChain'](new Set([_0x47eb7])),this['_joinWithAdjacentSuggestions'](new Set([_0x47eb7])),this['_suggestionState'][_0x4ec9('0x12e')](_0x47eb7,_0x4ec9('0x150')),this[_0x4ec9('0x8e')](_0x4ec9('0x3e'),_0x47eb7)):this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x47eb7,'removed');}return _0x47eb7;}['acceptSuggestion'](_0x4216a8){this[_0x4ec9('0x128')](()=>{this[_0x4ec9('0xa9')][_0x4ec9('0x12d')][_0x4ec9('0x109')](()=>{for(const _0x4edf54 of _0x4216a8[_0x4ec9('0xc0')]())_0x4edf54['accept']();});});}['discardSuggestion'](_0x163a41){this[_0x4ec9('0x128')](()=>{this[_0x4ec9('0xa9')][_0x4ec9('0x12d')]['change'](()=>{for(const _0x4af5be of _0x163a41[_0x4ec9('0xc0')]())_0x4af5be[_0x4ec9('0x92')]();});});}[_0x4ec9('0x13c')](_0x3824f7,_0x3f487e){const _0x2ec485=this[_0x4ec9('0xa9')][_0x4ec9('0x167')][_0x4ec9('0xd5')](_0x3824f7);if(!_0x2ec485)throw new _0xbf6c7b('track-changes-command-not-found',this,{'commandName':_0x3824f7});if(this['_enabledCommands'][_0x4ec9('0x3b')](_0x2ec485))throw new _0xbf6c7b('track-changes-enable-command-twice',this,{'commandName':_0x3824f7});this[_0x4ec9('0x104')]['add'](_0x2ec485),_0x3f487e&&_0x2ec485['on'](_0x4ec9('0xf2'),(_0x38b132,_0x362233)=>{this[_0x4ec9('0xc3')]['value']&&(this[_0x4ec9('0x172')]||(_0x362233['length']>0x0&&_0x362233[_0x362233[_0x4ec9('0x6f')]-0x1]&&_0x362233[_0x362233[_0x4ec9('0x6f')]-0x1]['forceDefaultExecution']?_0x362233[_0x4ec9('0x127')]():(_0x38b132[_0x4ec9('0x53')]=_0x3f487e((..._0x11c588)=>_0x2ec485[_0x4ec9('0xf2')](..._0x11c588,{'forceDefaultExecution':!0x0}),..._0x362233),_0x38b132[_0x4ec9('0x175')]())));},{'priority':_0x4ec9('0x110')});}[_0x4ec9('0x128')](_0x13249d){let _0x22a91d,_0x3daaea;const _0x569200=this[_0x4ec9('0x172')];this[_0x4ec9('0x172')]=!0x0;try{_0x22a91d=_0x13249d();}catch(_0x54711c){_0x3daaea=_0x54711c;}return _0x569200||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x3daaea&&_0xbf6c7b['rethrowUnexpectedError'](_0x3daaea,this),_0x22a91d;}[_0x4ec9('0x26')](_0x3846fe,_0x50a50e=null,_0x58c508={}){if(_0x3846fe['isCollapsed'])return null;const _0x584bd5=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')]('Users')['me'];for(const {suggestion:_0x573c36,meta:_0x321c65}of this['_findSuggestions'](_0x3846fe,_0x4ec9('0xc4')))if(_0x321c65[_0x4ec9('0xb2')]){if(!_0x321c65['isNextTo']){if(_0x321c65[_0x4ec9('0x13b')]){if(!this[_0x4ec9('0x8a')]||!Ft(_0x573c36,_0x58c508))continue;return _0x573c36;}if(Ft(_0x573c36,_0x58c508))return _0x573c36;this[_0x4ec9('0xd4')](_0x573c36,_0x3846fe['start'],_0x3846fe[_0x4ec9('0x2')]);break;}if(_0x50a50e==_0x573c36[_0x4ec9('0x155')]&&Ft(_0x573c36,_0x58c508)){const _0x2c2bae=_0x573c36[_0x4ec9('0x43')]();return _0x2c2bae[_0x4ec9('0x69')][_0x4ec9('0x28')](_0x3846fe[_0x4ec9('0x2')])?this['_setSuggestionRange'](_0x573c36,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x3846fe[_0x4ec9('0x69')],_0x2c2bae[_0x4ec9('0x2')])):this[_0x4ec9('0x60')](_0x573c36,this[_0x4ec9('0x73')]['createRange'](_0x2c2bae[_0x4ec9('0x69')],_0x3846fe[_0x4ec9('0x2')])),_0x573c36;}}const _0x9d9a1c=_0x1a1471(),_0x252fa6=_0x584bd5['id'],_0x1f5c1d=_0x50a50e?_0x4ec9('0x13d')+_0x50a50e:'insertion',_0x2481dd=this['_setSuggestionData']({'id':_0x9d9a1c,'type':_0x1f5c1d,'createdAt':new Date(),'authorId':_0x252fa6,'attributes':_0x58c508});return this[_0x4ec9('0x177')](_0x1f5c1d,_0x9d9a1c,_0x252fa6,_0x3846fe),_0x2481dd;}[_0x4ec9('0x11a')](_0x4706ce,_0x5c1ed2='multi',_0x301f5e={}){const _0x4ff796=this['editor']['plugins'][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me'],_0xc046b1=this['_suggestionFactory'][_0x4ec9('0xd7')]('insertion',_0x5c1ed2,'join');for(const _0xb0d1af of this[_0x4ec9('0x86')]())if(_0xb0d1af[_0x4ec9('0x71')]['id']==_0x4ff796['id']&&_0x4ec9('0xc4')==_0xb0d1af['type']&&_0xb0d1af['subType']==_0x5c1ed2&&Ft(_0xb0d1af,_0x301f5e)&&(_0xc046b1(_0xb0d1af[_0x4ec9('0x94')](),_0x4706ce)||_0xc046b1(_0x4706ce,_0xb0d1af[_0x4ec9('0x94')]()))){for(const _0x290faa of _0x4706ce)_0xb0d1af[_0x4ec9('0x9e')](_0x290faa);return _0xb0d1af;}for(const {suggestion:_0x207a23,meta:_0x1f7505}of this[_0x4ec9('0xd8')](_0x4706ce,_0x4ec9('0xc4'))){if(!_0x1f7505[_0x4ec9('0xb2')])continue;if(!this[_0x4ec9('0x8a')]&&_0x1f7505[_0x4ec9('0x13b')])continue;if(!Ft(_0x207a23,_0x301f5e))continue;let _0x17b693=!0x0;for(const _0x59c382 of _0x207a23['getRanges']())for(const _0x63d845 of _0x4706ce)if(!_0x59c382[_0x4ec9('0x14a')](_0x63d845)){_0x17b693=!0x1;break;}if(_0x17b693)return _0x207a23;}const _0x2460a8=_0x1a1471(),_0x5cb578=_0x4ff796['id'],_0x5952bd=_0x4ec9('0x13d')+_0x5c1ed2,_0x457cde=this[_0x4ec9('0x36')]({'id':_0x2460a8,'type':_0x5952bd,'createdAt':new Date(),'authorId':_0x5cb578,'attributes':_0x301f5e});for(const _0x10c5bd of _0x4706ce)this[_0x4ec9('0x177')](_0x5952bd,_0x2460a8,_0x5cb578,_0x10c5bd,_0x3f936a[_0x4ec9('0x136')]());return _0x457cde;}[_0x4ec9('0x1f')](_0x1cee60,_0x7c6f39,_0x2c0999=null,_0x522d70={}){if(_0x2c0999=_0x2c0999||Rt(_0x7c6f39),_0x1cee60[_0x4ec9('0xa0')])return null;if('never'===this[_0x4ec9('0x50')]){const _0x418102=this[_0x4ec9('0x10c')]['getSuggestionCallback'](_0x4ec9('0x162'),_0x2c0999,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x418102([_0x1cee60],_0x7c6f39,_0x522d70)),null;}const _0x2861a2=this[_0x4ec9('0xa9')]['plugins'][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me'],_0x40d86b=[];if(_0x4ec9('0xd1')!==this[_0x4ec9('0x50')])for(const {suggestion:_0x141648,meta:_0x53f700}of this[_0x4ec9('0xd8')](_0x1cee60,_0x4ec9('0xc4')))_0x53f700[_0x4ec9('0xb2')]&&!_0x53f700['isInsideObject']&&_0x40d86b['push'](..._0x141648[_0x4ec9('0x94')]());const _0x2c1412=function(_0x4e8695,_0x5bed30){const _0x2a9547=[];for(const _0x4e1441 of _0x5bed30){const _0xf054f6=_0x4e8695[_0x4ec9('0xc8')](_0x4e1441);_0xf054f6&&_0x2a9547['push'](_0xf054f6);}return _0x2a9547;}(_0x1cee60,_0x40d86b),_0x216007=function(_0x28c574,_0x23a37e){const _0x1a72f5=[_0x28c574];for(const _0x24ca5f of _0x23a37e){let _0x393322=0x0;for(;_0x393322<_0x1a72f5[_0x4ec9('0x6f')];){const _0x2e6e80=_0x1a72f5[_0x393322]['getDifference'](_0x24ca5f);_0x1a72f5[_0x4ec9('0x2c')](_0x393322,0x1,..._0x2e6e80),_0x393322+=_0x2e6e80['length'];}}return _0x1a72f5;}(_0x1cee60,_0x40d86b);_0x2c1412[_0x4ec9('0x6f')]&&this['_model'][_0x4ec9('0x109')](()=>{for(const _0x4bfd95 of _0x2c1412){const _0x3b310b=this[_0x4ec9('0x10c')][_0x4ec9('0xd7')](_0x4ec9('0x162'),_0x2c0999,_0x4ec9('0xe0'));this[_0x4ec9('0x128')](()=>_0x3b310b([_0x4bfd95],_0x7c6f39,_0x522d70));}});for(const _0x2e7e68 of _0x216007){let _0x546748=null,_0x46cb14=_0x2e7e68['start'],_0x4fb6bc=_0x2e7e68[_0x4ec9('0x2')];for(const {suggestion:_0x3413f6,meta:_0x3a2d94}of this[_0x4ec9('0xd8')](_0x2e7e68,_0x4ec9('0x162'))){if(!_0x3a2d94['isOwn'])continue;if(_0x3413f6[_0x4ec9('0x155')]!=_0x2c0999)continue;if(!Ft(_0x3413f6,_0x522d70))continue;const _0x57e73c=_0x3413f6['getFirstRange']();if(_0x57e73c['containsRange'](_0x2e7e68,!0x0))return null;_0x46cb14=_0x46cb14['isBefore'](_0x57e73c['start'])?_0x46cb14:_0x57e73c[_0x4ec9('0x69')],_0x4fb6bc=_0x4fb6bc[_0x4ec9('0xf6')](_0x57e73c[_0x4ec9('0x2')])?_0x4fb6bc:_0x57e73c[_0x4ec9('0x2')],_0x546748?_0x57e73c[_0x4ec9('0x69')]['isBefore'](_0x546748[_0x4ec9('0x43')]()[_0x4ec9('0x69')])?(_0x546748[_0x4ec9('0x6d')](),_0x546748=_0x3413f6):_0x3413f6[_0x4ec9('0x6d')]():_0x546748=_0x3413f6;}const _0xe9dd75=this['_model']['createRange'](_0x46cb14,_0x4fb6bc);if(_0x546748)this[_0x4ec9('0x60')](_0x546748,_0xe9dd75);else{const _0x338337=_0x1a1471(),_0xa237a5=_0x2861a2['id'];this[_0x4ec9('0x36')]({'id':_0x338337,'type':_0x4ec9('0x21')+_0x2c0999,'data':_0x7c6f39,'createdAt':new Date(),'authorId':_0xa237a5,'attributes':_0x522d70}),this[_0x4ec9('0x177')](_0x4ec9('0x21')+_0x2c0999,_0x338337,_0xa237a5,_0xe9dd75);}}return null;}[_0x4ec9('0x145')](_0x16aa12,_0x54af70,_0x44296c=[],_0x3d9e66=null,_0x1e7ebe={}){_0x54af70['formatGroupId']||(_0x54af70[_0x4ec9('0x161')]=_0x54af70[_0x4ec9('0x1')]),_0x54af70[_0x4ec9('0x98')]=_0x16aa12['is'](_0x4ec9('0xdd')),_0x3d9e66=_0x3d9e66||Rt(_0x54af70);const _0x24c3b2=_0x44296c[_0x4ec9('0x143')](_0x467ff9=>Ut(_0x467ff9,this[_0x4ec9('0x73')])),_0x104852=_0x16aa12['is'](_0x4ec9('0xdd'))?_0x16aa12:Ut(_0x16aa12,this['_model']);if('never'===this[_0x4ec9('0x50')]){const _0x3a68f9=this['_suggestionFactory'][_0x4ec9('0xd7')]('formatBlock',_0x3d9e66,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x3a68f9([_0x104852],_0x54af70,_0x1e7ebe)),null;}_0x24c3b2[_0x4ec9('0x91')](_0x104852);let _0x438dc3=!0x0;for(const _0x356a91 of _0x24c3b2)if(!this[_0x4ec9('0x1c')](_0x356a91)){_0x438dc3=!0x1;break;}if(_0x438dc3&&'always'!==this['_trackFormatChanges']){const _0x12aa3d=this[_0x4ec9('0x10c')][_0x4ec9('0xd7')](_0x4ec9('0x13e'),_0x3d9e66,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x12aa3d([_0x104852],_0x54af70,_0x1e7ebe)),null;}let _0x379cec=null,_0xe63e1d=_0x104852[_0x4ec9('0x69')],_0x2560d2=_0x104852[_0x4ec9('0x2')];for(const {suggestion:_0x3821d2,meta:_0x4c28f5}of this[_0x4ec9('0xd8')](_0x104852,_0x4ec9('0x13e'))){if(!_0x4c28f5[_0x4ec9('0xb2')])continue;if(_0x4c28f5['isNextTo']||_0x4c28f5[_0x4ec9('0x13b')]||_0x4c28f5[_0x4ec9('0x80')])continue;if(_0x3821d2['data'][_0x4ec9('0x161')]!=_0x54af70[_0x4ec9('0x161')])continue;if(!Ft(_0x3821d2,_0x1e7ebe))continue;const _0x31962f=_0x3821d2['getFirstRange']();if(_0x3821d2['subType']==_0x3d9e66){if(_0x31962f['containsRange'](_0x104852,!0x0))return null;_0xe63e1d=_0xe63e1d['isBefore'](_0x31962f[_0x4ec9('0x69')])?_0xe63e1d:_0x31962f[_0x4ec9('0x69')],_0x2560d2=_0x2560d2[_0x4ec9('0xf6')](_0x31962f[_0x4ec9('0x2')])?_0x2560d2:_0x31962f['end'],_0x379cec?_0x31962f[_0x4ec9('0x69')]['isBefore'](_0x379cec[_0x4ec9('0x43')]()[_0x4ec9('0x69')])?(_0x379cec[_0x4ec9('0x6d')](),_0x379cec=_0x3821d2):_0x3821d2[_0x4ec9('0x6d')]():_0x379cec=_0x3821d2;}else{const _0x2921f4=_0x104852['getIntersection'](_0x31962f);this['_cutOutSuggestionMarker'](_0x3821d2,_0x2921f4);}}const _0x555819=this[_0x4ec9('0xa9')][_0x4ec9('0x75')]['get'](_0x4ec9('0x15'))['me'],_0x43bc4d=_0x1a1471(),_0x43898a=_0x555819['id'];if(_0x379cec)return this['_setSuggestionRange'](_0x379cec,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0xe63e1d,_0x2560d2)),_0x379cec;{const _0x209d3a=this[_0x4ec9('0x36')]({'id':_0x43bc4d,'type':_0x4ec9('0x166')+_0x3d9e66,'data':_0x54af70,'createdAt':new Date(),'authorId':_0x43898a,'attributes':_0x1e7ebe});return this[_0x4ec9('0x177')](_0x4ec9('0x166')+_0x3d9e66,_0x43bc4d,_0x43898a,this['_model'][_0x4ec9('0x103')](_0xe63e1d,_0x2560d2)),_0x209d3a;}}['markMultiRangeBlockFormat'](_0x58b695,_0x170d91,_0x471edb=[],_0x5bc4c2=null,_0x5ac25e={}){_0x170d91[_0x4ec9('0x161')]||(_0x170d91['formatGroupId']=_0x170d91['commandName']);const _0x1f027d=_0x58b695[0x0];_0x170d91['multipleBlocks']=_0x1f027d['is'](_0x4ec9('0xdd')),_0x5bc4c2=_0x5bc4c2||Rt(_0x170d91);const _0x5d4db2=_0x471edb[_0x4ec9('0x143')](_0x23a20a=>Ut(_0x23a20a,this[_0x4ec9('0x73')])),_0x21c9b3=_0x1f027d['is'](_0x4ec9('0xdd'))?_0x58b695:_0x58b695['map'](_0x17254d=>Ut(_0x17254d,this[_0x4ec9('0x73')]));if(_0x4ec9('0xde')===this[_0x4ec9('0x50')]){const _0x1f35d3=this[_0x4ec9('0x10c')][_0x4ec9('0xd7')](_0x4ec9('0x13e'),_0x5bc4c2,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x1f35d3(_0x21c9b3,_0x170d91,_0x5ac25e)),null;}_0x5d4db2[_0x4ec9('0x91')](..._0x21c9b3);let _0x31d2a9=!0x0;for(const _0x52e35f of _0x5d4db2)if(!this[_0x4ec9('0x1c')](_0x52e35f)){_0x31d2a9=!0x1;break;}if(_0x31d2a9&&'always'!==this['_trackFormatChanges']){const _0x1526da=this[_0x4ec9('0x10c')]['getSuggestionCallback'](_0x4ec9('0x13e'),_0x5bc4c2,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x1526da(_0x21c9b3,_0x170d91,_0x5ac25e)),null;}const _0xdaa8b=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me'];for(const _0x34178f of this[_0x4ec9('0x86')]()){if(_0x34178f[_0x4ec9('0x71')]['id']!=_0xdaa8b['id'])continue;if(_0x4ec9('0x13e')!=_0x34178f['type']||_0x34178f[_0x4ec9('0x16')][_0x4ec9('0x161')]!=_0x170d91[_0x4ec9('0x161')])continue;if(!Ft(_0x34178f,_0x5ac25e))continue;const _0xfdd014=_0x34178f['subType']==_0x5bc4c2;for(let _0x22cba0=0x0;_0x22cba0<_0x21c9b3[_0x4ec9('0x6f')];_0x22cba0++){const _0x1f6313=_0x21c9b3[_0x22cba0];for(const _0x1d0a40 of _0x34178f[_0x4ec9('0x101')]()){const _0x5a49f0=_0x1d0a40[_0x4ec9('0x138')]();if(_0x1f6313['isEqual'](_0x5a49f0)){_0xfdd014?(_0x21c9b3[_0x4ec9('0x2c')](_0x22cba0,0x1),_0x22cba0--):_0x34178f[_0x4ec9('0xb9')](_0x1d0a40['name']);break;}}}}if(0x0==_0x21c9b3['length'])return null;const _0x3966cd=this[_0x4ec9('0x10c')]['getSuggestionCallback'](_0x4ec9('0x13e'),_0x5bc4c2,'join');for(const _0x947f5 of this[_0x4ec9('0x86')]())if(_0x947f5['author']['id']==_0xdaa8b['id']&&_0x4ec9('0x13e')==_0x947f5[_0x4ec9('0xff')]&&_0x947f5[_0x4ec9('0x16')]['formatGroupId']==_0x170d91['formatGroupId']&&_0x947f5['subType']==_0x5bc4c2&&Ft(_0x947f5,_0x5ac25e)&&(_0x3966cd(_0x947f5[_0x4ec9('0x94')](),_0x21c9b3)||_0x3966cd(_0x21c9b3,_0x947f5['getRanges']()))){for(const _0x225d1b of _0x21c9b3)_0x947f5[_0x4ec9('0x9e')](_0x225d1b);return _0x947f5;}const _0x1a9f5c=_0x1a1471(),_0xe1c915=_0xdaa8b['id'],_0x45c0aa='formatBlock:'+_0x5bc4c2,_0x525625=this[_0x4ec9('0x36')]({'id':_0x1a9f5c,'type':_0x45c0aa,'data':_0x170d91,'createdAt':new Date(),'authorId':_0xe1c915,'attributes':_0x5ac25e});for(const _0x3dcdc2 of _0x21c9b3)this[_0x4ec9('0x177')](_0x45c0aa,_0x1a9f5c,_0xe1c915,_0x3dcdc2,_0x3f936a[_0x4ec9('0x136')]());return _0x525625;}[_0x4ec9('0x87')](_0x9eb62a,_0x210d8b=null,_0x51294e={}){if(_0x9eb62a[_0x4ec9('0xa0')])return null;const _0x321b7e=this['editor'][_0x4ec9('0x75')][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me'],_0x3129b5=new _0x49a89e(_0x9eb62a[_0x4ec9('0x69')],_0x9eb62a[_0x4ec9('0x2')]);for(const {suggestion:_0x2bb6f3,meta:_0x5a5c80}of this[_0x4ec9('0xd8')](_0x3129b5,_0x4ec9('0xc4')))if(_0x5a5c80['isOwn']&&!_0x5a5c80['isNextTo']){if(_0x2bb6f3[_0x4ec9('0x74')]){const _0x65e346=_0x2bb6f3['getRanges']()['filter'](_0x1311dd=>_0x4ec9('0xa5')!=_0x1311dd['root'][_0x4ec9('0xaa')]);_0x65e346[_0x4ec9('0x163')](_0x49a31c=>_0x3129b5[_0x4ec9('0x14a')](_0x49a31c,!0x0))&&_0x2bb6f3[_0x4ec9('0x92')]();if(_0x65e346[_0x4ec9('0x6c')](_0x2f400e=>_0x2f400e[_0x4ec9('0x14a')](_0x3129b5,!0x0))){const _0x47299f=this[_0x4ec9('0x10c')][_0x4ec9('0xd7')](_0x4ec9('0x16e'),_0x210d8b,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x47299f([_0x3129b5],null,_0x51294e)),null;}}else{const _0x2b0c51=_0x3129b5[_0x4ec9('0xc8')](_0x2bb6f3[_0x4ec9('0x43')]());null!==_0x2b0c51&&_0x2bb6f3[_0x4ec9('0x15e')]([_0x2b0c51],null,_0x51294e);}}if(_0x3129b5['detach'](),_0x3129b5['isCollapsed']||_0x4ec9('0xa5')==_0x3129b5[_0x4ec9('0x83')]['rootName'])return null;let _0x31a701=null,_0x448d63=_0x3129b5['start'],_0x1c925a=_0x3129b5[_0x4ec9('0x2')];const _0x20b01d=this[_0x4ec9('0xd8')](_0x3129b5,_0x4ec9('0x16e'));for(const {suggestion:_0x4ecde4,meta:_0x4560c8}of _0x20b01d){const _0x536c2c=this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x448d63,_0x1c925a);if(_0x4560c8['isOwn']&&(this['_mergeNestedSuggestions']||!_0x4560c8['containsRangeInObject']&&!_0x4560c8[_0x4ec9('0x80')])){if(_0x4ecde4['isMultiRange']){if(!Ft(_0x4ecde4,_0x51294e))continue;let _0x351d74=!0x0;for(const _0x12475f of _0x4ecde4[_0x4ec9('0x94')]()){if(_0x12475f['containsRange'](_0x536c2c,!0x0))return _0x4ecde4;_0x536c2c['containsRange'](_0x12475f)||(_0x351d74=!0x1);}_0x351d74&&_0x4ecde4['discard']();}else{const _0x434cfd=_0x4ecde4[_0x4ec9('0x43')]();if(_0x434cfd[_0x4ec9('0x14a')](_0x536c2c,!0x0))return _0x4ecde4;if(!Ft(_0x4ecde4,_0x51294e)){_0x536c2c[_0x4ec9('0x14a')](_0x434cfd)?_0x4ecde4[_0x4ec9('0x6d')]():_0x434cfd['containsPosition'](_0x448d63)?_0x448d63=_0x434cfd[_0x4ec9('0x2')]:_0x434cfd[_0x4ec9('0x58')](_0x1c925a)&&(_0x1c925a=_0x434cfd[_0x4ec9('0x69')]);continue;}_0x448d63=_0x448d63[_0x4ec9('0xba')](_0x434cfd[_0x4ec9('0x69')])?_0x448d63:_0x434cfd[_0x4ec9('0x69')],_0x1c925a=_0x1c925a[_0x4ec9('0xf6')](_0x434cfd[_0x4ec9('0x2')])?_0x1c925a:_0x434cfd[_0x4ec9('0x2')],_0x51294e=Object['assign']({},_0x4ecde4[_0x4ec9('0xe5')]),_0x31a701?_0x434cfd[_0x4ec9('0x69')][_0x4ec9('0xba')](_0x31a701[_0x4ec9('0x43')]()[_0x4ec9('0x69')])?(_0x31a701[_0x4ec9('0x6d')](),_0x31a701=_0x4ecde4):_0x4ecde4[_0x4ec9('0x6d')]():_0x31a701=_0x4ecde4;}}}if(_0x31a701)return this[_0x4ec9('0x60')](_0x31a701,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x448d63,_0x1c925a)),_0x31a701;{const _0x2cda02=_0x1a1471(),_0x248a43=this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x448d63,_0x1c925a),_0x115fea=_0x321b7e['id'],_0x197daa=_0x210d8b?_0x4ec9('0xeb')+_0x210d8b:'deletion',_0x2e387c=this[_0x4ec9('0x36')]({'id':_0x2cda02,'type':_0x197daa,'createdAt':new Date(),'authorId':_0x115fea,'attributes':_0x51294e});return this[_0x4ec9('0x177')](_0x197daa,_0x2cda02,_0x115fea,_0x248a43),_0x2e387c;}}['markMultiRangeDeletion'](_0x55311c,_0x5d8a36=_0x4ec9('0x7e'),_0xe6687b={}){const _0x3dadff=this['editor']['plugins'][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me'],_0x3f5124=_0x55311c[_0x4ec9('0x143')](_0x171efa=>new _0x49a89e(_0x171efa['start'],_0x171efa[_0x4ec9('0x2')])),_0x258632=new Set();for(const {suggestion:_0x4511eb,meta:_0x4b36c9}of this[_0x4ec9('0xd8')](_0x3f5124,_0x4ec9('0xc4')))_0x4b36c9[_0x4ec9('0xb2')]&&!_0x4b36c9[_0x4ec9('0x2f')]&&_0x258632[_0x4ec9('0x7f')](_0x4511eb);for(const _0x2c04ab of _0x258632)if(_0x2c04ab[_0x4ec9('0x74')]){const _0x563f40=_0x2c04ab[_0x4ec9('0x94')]();(!_0x2c04ab[_0x4ec9('0xe5')]||!_0x2c04ab[_0x4ec9('0xe5')]['skipNestingCheck'])&&(_0x563f40[_0x4ec9('0x163')](_0x244cd2=>_0x3f5124[_0x4ec9('0x6c')](_0x3ba334=>_0x3ba334[_0x4ec9('0x14a')](_0x244cd2,!0x0)))&&_0x2c04ab[_0x4ec9('0x92')]());if(_0x3f5124[_0x4ec9('0x163')](_0x33c796=>_0x563f40[_0x4ec9('0x6c')](_0x2eced9=>_0x2eced9[_0x4ec9('0x14a')](_0x33c796,!0x0)))){const _0x20965a=this['_suggestionFactory'][_0x4ec9('0xd7')](_0x4ec9('0x16e'),_0x5d8a36,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x20965a(_0x55311c,null,_0xe6687b)),null;}}else{const _0x3a7dc9=_0x2c04ab[_0x4ec9('0x43')]();_0x3f5124[_0x4ec9('0x6c')](_0xae3b89=>_0xae3b89[_0x4ec9('0x14a')](_0x3a7dc9,!0x0))&&_0x2c04ab[_0x4ec9('0x92')]();if(_0x3f5124[_0x4ec9('0x163')](_0x823d58=>_0x3a7dc9['containsRange'](_0x823d58,!0x0))){const _0x132d95=this[_0x4ec9('0x10c')]['getSuggestionCallback']('deletion',_0x5d8a36,_0x4ec9('0xe0'));return this[_0x4ec9('0x128')](()=>_0x132d95(_0x3f5124,null,_0xe6687b)),null;}}const _0x35bfaa=this['_suggestionFactory'][_0x4ec9('0xd7')](_0x4ec9('0x16e'),_0x5d8a36,'join');let _0x59ae76=null;for(const _0xc2645b of this[_0x4ec9('0x86')]())if(_0xc2645b[_0x4ec9('0x71')]['id']==_0x3dadff['id']&&_0xc2645b[_0x4ec9('0x79')]&&'deletion'==_0xc2645b[_0x4ec9('0xff')]&&_0xc2645b[_0x4ec9('0x155')]==_0x5d8a36&&Ft(_0xc2645b,_0xe6687b)&&(_0x35bfaa(_0xc2645b[_0x4ec9('0x94')](),_0x3f5124)||_0x35bfaa(_0x3f5124,_0xc2645b[_0x4ec9('0x94')]()))){if(_0x59ae76){if(_0xc2645b[_0x4ec9('0x40')]&&_0xc2645b[_0x4ec9('0x40')]['length'])continue;for(const _0x5997cc of _0xc2645b[_0x4ec9('0x94')]())_0x59ae76[_0x4ec9('0x139')](_0x5997cc)||_0x59ae76[_0x4ec9('0x9e')](_0x5997cc);_0xc2645b[_0x4ec9('0x6d')]();}else{_0x59ae76=_0xc2645b;for(const _0x3afc69 of _0x3f5124)_0xc2645b['isIntersectingWithRange'](_0x3afc69)||_0xc2645b['addRange'](_0x3afc69);}}if(_0x59ae76)return _0x59ae76;_0x258632[_0x4ec9('0x1a')]();for(const {suggestion:_0x5d87ef,meta:_0x12b46f}of this[_0x4ec9('0xd8')](_0x3f5124,_0x4ec9('0x16e')))_0x12b46f['isOwn']&&(this['_mergeNestedSuggestions']||!_0x12b46f[_0x4ec9('0x13b')]&&!_0x12b46f['isInsideObject'])&&Ft(_0x5d87ef,_0xe6687b)&&_0x258632[_0x4ec9('0x7f')](_0x5d87ef);for(const _0x3de252 of _0x258632){const _0x27abdf=_0x3de252[_0x4ec9('0x94')]();if(!_0xe6687b||!_0xe6687b[_0x4ec9('0xb3')]){if(_0x3f5124[_0x4ec9('0x163')](_0x2538fa=>_0x27abdf[_0x4ec9('0x6c')](_0x3f756c=>_0x3f756c[_0x4ec9('0x14a')](_0x2538fa,!0x0))))return _0x3de252;}(!_0x3de252['attributes']||!_0x3de252[_0x4ec9('0xe5')][_0x4ec9('0xb3')])&&(_0x27abdf[_0x4ec9('0x163')](_0x14e0c3=>_0x3f5124['some'](_0x303248=>_0x303248[_0x4ec9('0x14a')](_0x14e0c3,!0x0)))&&_0x3de252['discard']());}const _0x15f474=_0x1a1471(),_0x2c9fa4=_0x3dadff['id'],_0x31a552=_0x4ec9('0xeb')+_0x5d8a36,_0x28209d=this[_0x4ec9('0x36')]({'id':_0x15f474,'type':_0x31a552,'createdAt':new Date(),'authorId':_0x2c9fa4,'attributes':_0xe6687b});for(const _0x2b4da1 of _0x3f5124)_0x2b4da1[_0x4ec9('0x125')](),_0x2b4da1[_0x4ec9('0xa0')]||_0x4ec9('0xa5')==_0x2b4da1[_0x4ec9('0x83')][_0x4ec9('0xaa')]||this[_0x4ec9('0x177')](_0x31a552,_0x15f474,_0x2c9fa4,_0x2b4da1,_0x3f936a[_0x4ec9('0x136')]());return _0x28209d;}[_0x4ec9('0xad')](_0x1cf5fa,_0xe81722,_0x32a471,_0x46578f,_0x3e0783){if(_0x1cf5fa['isCollapsed'])return[];if(_0x4ec9('0xde')===this[_0x4ec9('0x50')])return[];const _0x3085bd=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')](_0x4ec9('0x15'))['me']['id'],_0x3ea530=Array['from'](this[_0x4ec9('0x16d')][_0x4ec9('0x160')]())['filter'](_0x5d044e=>_0x4ec9('0xbd')==_0x5d044e['type']&&_0x5d044e['data'][_0x4ec9('0x18')]==_0xe81722&&_0x5d044e['isIntersectingWithRange'](_0x1cf5fa));if(_0x4ec9('0x153')===this['_trackFormatChanges']){const _0x4c66bb=this[_0x4ec9('0xd8')](_0x1cf5fa,_0x4ec9('0xc4'))[_0x4ec9('0x3c')](({meta:_0xe49aca})=>_0xe49aca[_0x4ec9('0xb2')]&&!_0xe49aca['isInsideObject']&&!_0xe49aca[_0x4ec9('0x2f')])[_0x4ec9('0x143')](({suggestion:_0x453174})=>_0x453174);_0x3ea530[_0x4ec9('0xca')](..._0x4c66bb);}const _0x2bec64=new Map([[_0x1cf5fa,_0x32a471]]);for(const _0x59caff of _0x3ea530){const _0x44d15a='attribute'==_0x59caff[_0x4ec9('0xff')]?_0x59caff[_0x4ec9('0x16')][_0x4ec9('0x9b')]:void 0x0,_0x413e44=_0x59caff['getFirstRange'](),_0x2e90f7=Array[_0x4ec9('0xe1')](_0x2bec64[_0x4ec9('0x81')]())['find'](_0x3f272d=>_0x3f272d[_0x4ec9('0x140')](_0x413e44));_0x2e90f7&&(_0x2bec64[_0x4ec9('0x14f')](_0x2e90f7),_0x2e90f7[_0x4ec9('0x6')](_0x413e44)[_0x4ec9('0xc7')](_0x3ce8c5=>{_0x2bec64['set'](_0x3ce8c5,_0x32a471);}),_0x4ec9('0xc4')!=_0x59caff[_0x4ec9('0xff')]&&_0x44d15a!=_0x46578f&&_0x2bec64[_0x4ec9('0x12e')](_0x2e90f7[_0x4ec9('0xc8')](_0x413e44),_0x44d15a));}const _0x19fed9=[];for(const [_0xe63ba1,_0x568b63]of _0x2bec64){const _0x5c5b25=_0x1a1471(),_0x334aaa={'key':_0xe81722,'oldValue':_0x568b63,'newValue':_0x46578f};_0xe81722[_0x4ec9('0x6f')]>0x25&&console[_0x4ec9('0x159')](_0x4ec9('0x3a'),{'key':_0xe81722});const _0x4043e1=(_0x4ec9('0x10a')+(_0xe81722+'|'+Rt({'newValue':_0x46578f})))[_0x4ec9('0x130')](0x0,0x3c),_0x3cdd14=this[_0x4ec9('0x36')]({'id':_0x5c5b25,'type':_0x4043e1,'data':_0x334aaa,'createdAt':new Date(),'authorId':_0x3085bd,'attributes':_0x3e0783});_0x19fed9[_0x4ec9('0x91')](_0x3cdd14),this['_addSuggestionMarker'](_0x4043e1,_0x5c5b25,_0x3085bd,_0xe63ba1);}return _0x19fed9;}[_0x4ec9('0x33')](_0x1c1ef7){this[_0x4ec9('0xa7')][_0x4ec9('0x7f')](_0x1c1ef7);}[_0x4ec9('0x4d')](_0x1629dd){this[_0x4ec9('0xe4')]['add'](_0x1629dd);}[_0x4ec9('0xa8')](_0x553c8b,_0x42a70e=[],_0x3dad9d=[]){this['enableCommand'](_0x553c8b,(_0x106f8d,..._0x5a1665)=>{this[_0x4ec9('0x164')](()=>{_0x106f8d(..._0x5a1665);});});for(const _0x2a6921 of _0x42a70e)this[_0x4ec9('0x4d')](_0x2a6921);for(const _0x31b38d of _0x3dad9d)this[_0x4ec9('0x33')](_0x31b38d);}[_0x4ec9('0x60')](_0x4a3551,_0x15e97b){const _0x13f167=_0x4a3551[_0x4ec9('0x6e')]();this['_model'][_0x4ec9('0x109')](_0x58676b=>{_0x58676b[_0x4ec9('0x52')](_0x13f167,{'range':_0x15e97b});});}[_0x4ec9('0x112')](_0x4cf3da){const _0x21885e=_0x4cf3da['id'],_0x3d81c5=this[_0x4ec9('0xa9')][_0x4ec9('0x16f')][_0x4ec9('0xd5')](_0x4ec9('0x67'));this[_0x4ec9('0xef')][_0x4ec9('0x114')](_0x21885e)||this[_0x4ec9('0xef')][_0x4ec9('0x151')]({'channelId':_0x3d81c5,'threadId':_0x21885e,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x26483b=this[_0x4ec9('0xef')][_0x4ec9('0xb6')](_0x21885e);_0x26483b[_0x4ec9('0x89')](_0x4ec9('0x15d')),_0x26483b[_0x4ec9('0x15d')]=!0x1,_0x4cf3da[_0x4ec9('0x40')]=_0x26483b;}[_0x4ec9('0xbc')](_0xc0ec1b,_0xa506a7,_0x5e599e,_0x41cebf){if(_0xc0ec1b[_0x4ec9('0xff')]!=_0xa506a7||_0xc0ec1b[_0x4ec9('0x155')]!=_0x5e599e||_0xc0ec1b[_0x4ec9('0x10d')]['id']!=_0x41cebf)throw this[_0x4ec9('0xa9')]['enableReadOnlyMode'](_0x4ec9('0x5d')),new _0xbf6c7b(_0x4ec9('0x5d'),this);}['_cutOutSuggestionMarker'](_0x397ff2,_0x4034e1){const _0x34d70a=_0x397ff2[_0x4ec9('0x43')]();if(_0x4034e1['isEqual'](_0x34d70a))_0x397ff2[_0x4ec9('0x6d')]();else{if(_0x34d70a[_0x4ec9('0x14a')](_0x4034e1)){const _0x9fd214=this[_0x4ec9('0x73')][_0x4ec9('0xe2')](_0x4034e1[_0x4ec9('0x69')][_0x4ec9('0xb1')],_0x4ec9('0x2'));this[_0x4ec9('0x60')](_0x397ff2,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x34d70a[_0x4ec9('0x69')],_0x9fd214));const _0x387741=_0x1a1471(),_0x557612=_0x397ff2[_0x4ec9('0x10d')]['id'],_0x2e1583=_0x397ff2[_0x4ec9('0xff')]+':'+_0x397ff2[_0x4ec9('0x155')];this[_0x4ec9('0x36')]({'id':_0x387741,'type':_0x2e1583,'createdAt':new Date(),'authorId':_0x557612,'data':_0x397ff2['data'],'attributes':_0x397ff2[_0x4ec9('0xe5')]});const _0x19c087=this['_model'][_0x4ec9('0xe2')](_0x4034e1[_0x4ec9('0x2')]['parent'],_0x4ec9('0xa')),_0x5f347f=this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x19c087,_0x34d70a[_0x4ec9('0x2')]);this[_0x4ec9('0x177')](_0x2e1583,_0x387741,_0x557612,_0x5f347f);}else{if(_0x34d70a['containsPosition'](_0x4034e1[_0x4ec9('0x69')])){const _0x224fec=this['_model'][_0x4ec9('0xe2')](_0x4034e1['start'][_0x4ec9('0xb1')],_0x4ec9('0x2'));this[_0x4ec9('0x60')](_0x397ff2,this['_model'][_0x4ec9('0x103')](_0x34d70a['start'],_0x224fec));}else{const _0x58ccd0=this['_model'][_0x4ec9('0xe2')](_0x4034e1[_0x4ec9('0x2')][_0x4ec9('0xdb')],_0x4ec9('0xa'));this[_0x4ec9('0x60')](_0x397ff2,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x58ccd0,_0x34d70a[_0x4ec9('0x2')]));}}}}[_0x4ec9('0x1c')](_0x552531){for(const {suggestion:_0x4f1286,meta:_0x430399}of this[_0x4ec9('0xd8')](_0x552531,_0x4ec9('0xc4'))){if(!_0x430399[_0x4ec9('0xb2')])continue;const _0x1c4fec=_0x4f1286[_0x4ec9('0x94')]();for(const _0x544e76 of _0x1c4fec)if(!_0x552531['getDifference'](_0x544e76)[_0x4ec9('0x6f')])return!0x0;}return!0x1;}[_0x4ec9('0x88')](_0x540af7){const _0x54d6fc=this['editor'][_0x4ec9('0x75')][_0x4ec9('0xd5')](_0x4ec9('0x15'))[_0x4ec9('0xf1')](_0x540af7);if(!_0x54d6fc)throw new _0xbf6c7b(_0x4ec9('0x35'),this);return _0x54d6fc;}[_0x4ec9('0xbb')](_0x4736d8){const _0x415adb=this[_0x4ec9('0xa9')]['plugins'][_0x4ec9('0xd5')](_0x4ec9('0x15')),_0x48b73b=_0x3b9db5(_0x4ec9('0x14e')+_0x4736d8),_0x58c3eb=_0x415adb[_0x4ec9('0xf1')](_0x48b73b);return _0x58c3eb||_0x415adb[_0x4ec9('0x51')]({'id':_0x48b73b,'name':_0x4736d8});}[_0x4ec9('0x120')](_0x45c7d9,_0x19405a,_0x11934d,_0x4386f8,_0x3c9d7f){const _0x55228c=this[_0x4ec9('0x88')](_0x4386f8),_0x4f631c=this['_suggestionFactory']['buildSuggestion'](_0x45c7d9,_0x19405a,_0x11934d,_0x55228c,_0x3c9d7f,_0x5caaa0=>this['_updateSuggestionData'](_0x11934d,{'attributes':_0x5caaa0}));return this['listenTo'](_0x4f631c,'accept',()=>{this[_0x4ec9('0xec')](_0x11934d,{'state':_0x4ec9('0x12b')});},{'priority':_0x4ec9('0x110')}),this['listenTo'](_0x4f631c,_0x4ec9('0x92'),()=>{this[_0x4ec9('0xec')](_0x11934d,{'state':_0x4ec9('0xae')});},{'priority':_0x4ec9('0x110')}),this[_0x4ec9('0x16d')]['set'](_0x11934d,_0x4f631c),this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x4f631c,_0x4ec9('0xb')),_0x4f631c;}[_0x4ec9('0x93')](_0x3d7a34){const _0xcb1c7b=_0x3d7a34[_0x4ec9('0x15b')](':');return{'group':_0xcb1c7b[0x0],'type':_0xcb1c7b[0x1],'subType':_0xcb1c7b[_0x4ec9('0x6f')]>=0x5?_0xcb1c7b[0x2]:null,'id':_0xcb1c7b['length']<0x5?_0xcb1c7b[0x2]:_0xcb1c7b[0x3],'authorId':_0xcb1c7b[_0x4ec9('0x6f')]<0x5?_0xcb1c7b[0x3]:_0xcb1c7b[0x4],'markerCount':0x6==_0xcb1c7b['length']?_0xcb1c7b[0x5]:null};}[_0x4ec9('0xd4')](_0x295bca,_0x132f34,_0x12c131){const _0x397d52=_0x295bca[_0x4ec9('0x43')](),_0x474441=_0x397d52['start'],_0x42104c=_0x397d52[_0x4ec9('0x2')];this[_0x4ec9('0x60')](_0x295bca,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x474441,_0x132f34));const _0x28c371=_0x1a1471(),_0x39f9f6=_0x295bca[_0x4ec9('0x10d')]['id'],_0x58df94=_0x295bca[_0x4ec9('0xff')]+(_0x295bca[_0x4ec9('0x155')]?':'+_0x295bca[_0x4ec9('0x155')]:'');this[_0x4ec9('0x36')]({'id':_0x28c371,'type':_0x58df94,'createdAt':new Date(),'authorId':_0x39f9f6,'originalSuggestionId':_0x295bca['id'],'attributes':_0x295bca[_0x4ec9('0xe5')],'data':_0x295bca['data']});const _0x5b5248=this[_0x4ec9('0x123')](_0x295bca);(_0x4ec9('0x13e')==_0x295bca['type']||_0x5b5248&&this[_0x4ec9('0xdc')](_0x5b5248))&&(_0x12c131=this[_0x4ec9('0x73')][_0x4ec9('0x16c')](_0x12c131['parent'])),this[_0x4ec9('0x177')](_0x58df94,_0x28c371,_0x39f9f6,this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x12c131,_0x42104c));}[_0x4ec9('0xd8')](_0x2ce3ee,_0x31676e=null){const _0x34b63a=[],_0x3a261c=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')]('Users')['me'];Array[_0x4ec9('0x44')](_0x2ce3ee)||(_0x2ce3ee=[_0x2ce3ee]);for(const _0x561e8c of this[_0x4ec9('0x86')]()){if(!_0x561e8c[_0x4ec9('0x79')])continue;if(_0x31676e&&_0x561e8c['type']!=_0x31676e)continue;let _0x498998=!0x1;for(const _0x13a48e of _0x561e8c[_0x4ec9('0x94')]()){for(const _0x4e146d of _0x2ce3ee){const _0x459949=_0x4e146d[_0x4ec9('0x69')][_0x4ec9('0x28')](_0x13a48e['end'])||_0x4e146d['end'][_0x4ec9('0x28')](_0x13a48e[_0x4ec9('0x69')]);if(_0x459949||_0x4e146d[_0x4ec9('0xc8')](_0x13a48e)){const _0x2ba70d=_0x4e146d[_0x4ec9('0x14a')](_0x13a48e)&&Tt(this[_0x4ec9('0x73')][_0x4ec9('0x9c')],_0x13a48e[_0x4ec9('0x69')],_0x4e146d),_0x23ca5b=_0x13a48e['containsRange'](_0x4e146d)&&Tt(this[_0x4ec9('0x73')]['schema'],_0x4e146d[_0x4ec9('0x69')],_0x13a48e);_0x34b63a[_0x4ec9('0x91')]({'suggestion':_0x561e8c,'meta':{'isOwn':_0x3a261c==_0x561e8c[_0x4ec9('0x71')],'isNextTo':_0x459949,'isInsideObject':_0x2ba70d,'containsRangeInObject':_0x23ca5b}}),_0x498998=!0x0;break;}}if(_0x498998)break;}}return _0x34b63a;}[_0x4ec9('0x177')](_0x5aa979,_0x101df7,_0xd0658e,_0x509b6b,_0x36a460){this['_model'][_0x4ec9('0x109')](_0x175f73=>{let _0x4f9dcd=_0x4ec9('0xd2')+_0x5aa979+':'+_0x101df7+':'+_0xd0658e;_0x36a460&&(_0x4f9dcd=_0x4f9dcd+':'+_0x36a460),_0x175f73[_0x4ec9('0x7c')](_0x4f9dcd,{'range':_0x509b6b,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x56f010){const _0x32cdab=_0x56f010[_0x4ec9('0x129')],_0x1fa3a6=_0x56f010[_0x4ec9('0x2e')];_0x56f010[_0x4ec9('0x129')]=null,_0x56f010['next']=null,null!=_0x32cdab&&(_0x32cdab[_0x4ec9('0x2e')]=_0x1fa3a6),null!=_0x1fa3a6&&(_0x1fa3a6[_0x4ec9('0x129')]=_0x32cdab),_0x4ec9('0x150')==this[_0x4ec9('0x111')][_0x4ec9('0xd5')](_0x56f010)&&(this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x56f010,_0x4ec9('0x118')),this[_0x4ec9('0x8e')](_0x4ec9('0x72'),_0x56f010,_0x32cdab,_0x1fa3a6));}['_setSuggestionData'](_0x27e1fb){const _0x58dd3a=_0x27e1fb['id'],_0x320fe0=this[_0x4ec9('0x12f')](_0x27e1fb);if(this[_0x4ec9('0x6a')]&&this[_0x4ec9('0x6a')]['addSuggestion']){const _0x1e0669=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')]('PendingActions'),_0x3dedbd=_0x320fe0[_0x4ec9('0x48')],_0x4bc460=_0x320fe0[_0x4ec9('0x155')]?_0x320fe0['type']+':'+_0x320fe0['subType']:_0x320fe0[_0x4ec9('0xff')],_0x5db840=this['editor'][_0x4ec9('0xc5')],_0x3be2f1=_0x1e0669[_0x4ec9('0x7f')](_0x4ab33e(_0x5db840,_0x4ec9('0x5e'))),_0x14ecad={'id':_0x58dd3a,'type':_0x4bc460,'hasComments':_0x3dedbd,'data':_0x27e1fb[_0x4ec9('0x16')]||null,'originalSuggestionId':_0x27e1fb[_0x4ec9('0x27')]||null,'attributes':_0x320fe0[_0x4ec9('0xe5')]};this[_0x4ec9('0x6a')]['addSuggestion'](_0x14ecad)[_0x4ec9('0x14b')](_0x1d49c7=>{_0x320fe0['_saved']=!0x0,_0x1e0669[_0x4ec9('0x4a')](_0x3be2f1),_0x1d49c7&&_0x1d49c7[_0x4ec9('0x99')]&&(this[_0x4ec9('0x16d')]['get'](_0x58dd3a)[_0x4ec9('0x99')]=_0x1d49c7['createdAt']);})[_0x4ec9('0x15a')](_0x534bbc=>{throw _0x330157('error-saving-suggestion-data-suggestion-discarded'),this[_0x4ec9('0xa9')]['model'][_0x4ec9('0x1b')]({'isUndoable':!0x1},()=>{_0x320fe0[_0x4ec9('0x92')]();}),_0x320fe0[_0x4ec9('0x154')](),this['_suggestions'][_0x4ec9('0x14f')](_0x320fe0['id']),this[_0x4ec9('0x111')]['delete'](_0x320fe0),_0x534bbc;});}return _0x320fe0;}[_0x4ec9('0xdc')](_0x5b94a2){return this[_0x4ec9('0xa7')][_0x4ec9('0x3b')](_0x5b94a2);}['_getAttributeKeyFromSubType'](_0x145721){return _0x4ec9('0xbd')==_0x145721[_0x4ec9('0xff')]&&_0x145721[_0x4ec9('0x155')]['split']('|')[0x0];}['_updateSuggestionData'](_0x24c8b2,_0x5ae9b0){const _0x430b63=this[_0x4ec9('0xa9')][_0x4ec9('0x75')][_0x4ec9('0xd5')]('PendingActions'),_0x352d3d=this[_0x4ec9('0x152')](_0x24c8b2);if(this[_0x4ec9('0x6a')]&&this[_0x4ec9('0x6a')][_0x4ec9('0x8f')]){if(_0x352d3d[_0x4ec9('0xe8')]){const _0x11f59e=_0x430b63[_0x4ec9('0x7f')](_0x4ab33e(this[_0x4ec9('0xa9')]['locale'],_0x4ec9('0x5e')));this[_0x4ec9('0x6a')]['updateSuggestion'](_0x24c8b2,_0x5ae9b0)[_0x4ec9('0x14b')](()=>{_0x430b63[_0x4ec9('0x4a')](_0x11f59e);});}else _0x352d3d['on'](_0x4ec9('0xee'),()=>{this[_0x4ec9('0xec')](_0x24c8b2,_0x5ae9b0);});}}[_0x4ec9('0x2b')](_0x179105){if(!this['_adapter']||!this[_0x4ec9('0x6a')][_0x4ec9('0x152')])throw new _0xbf6c7b('track-changes-adapter-missing-getsuggestion',this);return this[_0x4ec9('0x6a')][_0x4ec9('0x152')](_0x179105);}[_0x4ec9('0xdf')](_0x2a3a1c){const {id:_0x39fb9f,type:_0x7cab67,subType:_0x245c85,authorId:_0x4bcc7c}=this[_0x4ec9('0x93')](_0x2a3a1c),_0x316720=this[_0x4ec9('0x16d')][_0x4ec9('0xd5')](_0x39fb9f)||this[_0x4ec9('0x120')](_0x7cab67,_0x245c85,_0x39fb9f,_0x4bcc7c,{});switch(this['_checkSuggestionCorrectness'](_0x316720,_0x7cab67,_0x245c85,_0x4bcc7c),this[_0x4ec9('0x111')]['get'](_0x316720)){case _0x4ec9('0xb'):this[_0x4ec9('0x2b')](_0x39fb9f)['then'](_0x3131c9=>{let _0x3074bc=Promise[_0x4ec9('0x170')]();_0x3131c9[_0x4ec9('0x48')]&&(_0x3074bc=this[_0x4ec9('0xef')][_0x4ec9('0x70')]({'channelId':this['editor']['config'][_0x4ec9('0xd5')](_0x4ec9('0x67')),'threadId':_0x39fb9f})),_0x3074bc[_0x4ec9('0x14b')](()=>{this[_0x4ec9('0x12f')](_0x3131c9)[_0x4ec9('0xe8')]=!0x0;});}),this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x316720,'markerReady');break;case _0x4ec9('0x118'):this[_0x4ec9('0xec')](_0x39fb9f,{'state':'open'});case'dataReady':this[_0x4ec9('0x111')][_0x4ec9('0x12e')](_0x316720,_0x4ec9('0x150')),this['fire']('suggestionLoaded',_0x316720);break;case _0x4ec9('0x150'):this[_0x4ec9('0x8e')](_0x4ec9('0x32'),_0x316720);}return _0x316720[_0x4ec9('0x11e')](_0x2a3a1c),_0x316720;}[_0x4ec9('0x55')](_0x153d19){const _0x2ee397=Array[_0x4ec9('0xe1')](_0x153d19),_0x2da4bc=_0x2ee397[_0x4ec9('0x3c')](_0x1aa179=>_0x4ec9('0xbd')==_0x1aa179[_0x4ec9('0xff')]);this[_0x4ec9('0x19')](_0x2da4bc);const _0xe2a0da=_0x2ee397[_0x4ec9('0x3c')](_0x46b605=>!_0x46b605[_0x4ec9('0x74')]&&_0x4ec9('0xbd')!=_0x46b605[_0x4ec9('0xff')]),_0x252016=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x9ac821=>!_0x9ac821['isMultiRange']&&_0x4ec9('0xbd')!=_0x9ac821[_0x4ec9('0xff')]),_0x1ea852=_0x252016[_0x4ec9('0x3c')](_0x10b497=>!_0x153d19['has'](_0x10b497)),_0x1e41cc=new Map(_0x252016[_0x4ec9('0x143')](_0x4d796d=>[_0x4d796d,this['_suggestionFactory']['getSuggestionCallback'](_0x4d796d['type'],_0x4d796d[_0x4ec9('0x155')],_0x4ec9('0x178'))])),_0x232dd1=new Map(_0x252016[_0x4ec9('0x143')](_0x21b422=>[_0x21b422,_0x21b422[_0x4ec9('0x43')]()])),_0x2cb47a=new Set(),_0x153bef=new Set();for(let _0x181d44=0x0;_0x181d44<_0xe2a0da[_0x4ec9('0x6f')];_0x181d44++)_0x45dc28(_0xe2a0da[_0x181d44],_0xe2a0da,_0x181d44+0x1);for(let _0x592b3a=0x0;_0x592b3a<_0xe2a0da[_0x4ec9('0x6f')];_0x592b3a++)_0x45dc28(_0xe2a0da[_0x592b3a],_0x1ea852,0x0);const _0x53a844=new Set();for(let _0x3d310d=0x0;_0x3d310d<_0xe2a0da[_0x4ec9('0x6f')];_0x3d310d++){const _0x38dd75=_0xe2a0da[_0x3d310d];!_0x153bef[_0x4ec9('0x3b')](_0x38dd75)&&_0x38dd75[_0x4ec9('0x129')]&&(_0x53a844[_0x4ec9('0x7f')](_0x38dd75[_0x4ec9('0x129')]),_0x38dd75[_0x4ec9('0x129')][_0x4ec9('0x2e')]===_0x38dd75&&(_0x38dd75['previous'][_0x4ec9('0x2e')]=null),_0x38dd75['previous']=null),!_0x2cb47a[_0x4ec9('0x3b')](_0x38dd75)&&_0x38dd75[_0x4ec9('0x2e')]&&(_0x53a844[_0x4ec9('0x7f')](_0x38dd75[_0x4ec9('0x2e')]),_0x38dd75['next'][_0x4ec9('0x129')]===_0x38dd75&&(_0x38dd75[_0x4ec9('0x2e')]['previous']=null),_0x38dd75[_0x4ec9('0x2e')]=null);}function _0x45dc28(_0x2c9700,_0x35a163,_0x333d1d){for(let _0x293ca8=_0x333d1d;_0x293ca8<_0x35a163['length'];_0x293ca8++){const _0x7f473b=_0x3b2259(_0x2c9700,_0x35a163[_0x293ca8]);_0x7f473b&&(_0x7f473b[0x0][_0x4ec9('0x2e')]=_0x7f473b[0x1],_0x7f473b[0x1]['previous']=_0x7f473b[0x0],_0x2cb47a[_0x4ec9('0x7f')](_0x7f473b[0x0]),_0x153bef[_0x4ec9('0x7f')](_0x7f473b[0x1]));}}function _0x3b2259(_0xb31e79,_0x117b19){if(_0xb31e79['author']['id']!==_0x117b19[_0x4ec9('0x71')]['id'])return null;const _0x35caf0=_0x1e41cc[_0x4ec9('0xd5')](_0xb31e79)(_0xb31e79,_0x117b19,_0x232dd1[_0x4ec9('0xd5')](_0xb31e79),_0x232dd1[_0x4ec9('0xd5')](_0x117b19));if(!_0x35caf0)return null;return _0x1e41cc[_0x4ec9('0xd5')](_0x117b19)(_0xb31e79,_0x117b19,_0x232dd1['get'](_0xb31e79),_0x232dd1[_0x4ec9('0xd5')](_0x117b19))?_0x35caf0[0x1]['commentThread']&&_0x35caf0[0x1][_0x4ec9('0x40')][_0x4ec9('0x6f')]?null:_0x35caf0:null;}_0x53a844[_0x4ec9('0x12')]&&this[_0x4ec9('0x55')](_0x53a844);}[_0x4ec9('0x19')](_0x638aeb){if(0x0==_0x638aeb['length'])return;const _0x12a632=this[_0x4ec9('0x86')]({'skipNotAttached':!0x0})['filter'](_0x27b7dd=>_0x4ec9('0xbd')==_0x27b7dd[_0x4ec9('0xff')]&&_0x27b7dd['_isDataLoaded']),_0x53b1b4=[],_0x515d63=new Map();for(const _0xd90cc6 of _0x12a632){const _0x210c2f=_0x3b9db5(_0xd90cc6[_0x4ec9('0xe5')]);_0x515d63[_0x4ec9('0x3b')](_0x210c2f)||(_0x515d63[_0x4ec9('0x12e')](_0x210c2f,_0x53b1b4[_0x4ec9('0x6f')]),_0x53b1b4[_0x4ec9('0x91')]([]));const _0x18206a=_0x515d63[_0x4ec9('0xd5')](_0x210c2f);_0x53b1b4[_0x18206a][_0x4ec9('0x91')](_0xd90cc6);}!function(){_0x53b1b4[_0x4ec9('0x141')]((_0x29fdd7,_0x1a7939)=>{const _0x4efd4c=_0x29fdd7[0x0][_0x4ec9('0x99')],_0x391ded=_0x1a7939[0x0]['createdAt'];return _0x4efd4c==_0x391ded?_0x29fdd7[0x0]['attributes'][_0x4ec9('0x9a')]<_0x1a7939[0x0][_0x4ec9('0xe5')][_0x4ec9('0x9a')]?-0x1:0x1:_0x4efd4c<_0x391ded?-0x1:0x1;});for(const _0x187fec of _0x53b1b4)_0x187fec['sort']((_0x60f9bb,_0x2ee954)=>_0x60f9bb['id']<_0x2ee954['id']?-0x1:0x1);}();for(let _0x3949a5=0x0;_0x3949a5<_0x53b1b4[_0x4ec9('0x6f')];_0x3949a5++){if(0x0==_0x53b1b4[_0x3949a5][_0x4ec9('0x6f')])continue;const _0x10d7a5=[];for(let _0x5e2101=_0x3949a5+0x1;_0x5e2101<_0x53b1b4[_0x4ec9('0x6f')];_0x5e2101++)0x0!=_0x53b1b4[_0x5e2101][_0x4ec9('0x6f')]&&_0x45ccee(_0x53b1b4[_0x3949a5],_0x53b1b4[_0x5e2101])&&_0x10d7a5[_0x4ec9('0x91')](_0x5e2101);for(const _0x4b3193 of _0x10d7a5)_0x53b1b4[_0x3949a5]=_0x53b1b4[_0x3949a5][_0x4ec9('0xf0')](_0x53b1b4[_0x4b3193]),_0x53b1b4[_0x4b3193]=[];}for(const _0x3a724c of _0x53b1b4)for(let _0x38f9c1=0x0;_0x38f9c1<_0x3a724c['length'];_0x38f9c1++)_0x3a724c[_0x38f9c1][_0x4ec9('0x2e')]=_0x3a724c[_0x38f9c1+0x1]||null;for(const _0x4259e2 of _0x53b1b4)for(let _0x17ee69=0x0;_0x17ee69<_0x4259e2['length'];_0x17ee69++)_0x4259e2[_0x17ee69][_0x4ec9('0x129')]=_0x4259e2[_0x17ee69-0x1]||null;function _0x45ccee(_0x80efd9,_0x7249ac){if(_0x80efd9[0x0][_0x4ec9('0x71')]!==_0x7249ac[0x0][_0x4ec9('0x71')])return!0x1;if(!function(_0x5391dd,_0x156986){if(!_0x5391dd[_0x4ec9('0x48')]&&!_0x156986[_0x4ec9('0x48')])return!0x0;if(_0x5391dd['hasComments']&&_0x156986['hasComments'])return!0x1;if(_0x5391dd[_0x4ec9('0x48')]&&_0x156986['createdAt']<_0x5391dd[_0x4ec9('0x40')][_0x4ec9('0xe9')][_0x4ec9('0xd5')](0x0)['createdAt'])return!0x0;if(_0x156986[_0x4ec9('0x48')]&&_0x5391dd[_0x4ec9('0x99')]<_0x156986[_0x4ec9('0x40')][_0x4ec9('0xe9')]['get'](0x0)[_0x4ec9('0x99')])return!0x0;return!0x1;}(_0x80efd9[0x0],_0x7249ac[0x0]))return!0x1;const _0x553a5e=_0x3f6958(_0x80efd9[0x0][_0x4ec9('0xe5')],_0x4ec9('0x9a')),_0x449c00=_0x3f6958(_0x7249ac[0x0][_0x4ec9('0xe5')],_0x4ec9('0x9a'));if(!_0x5240aa(_0x553a5e,_0x449c00))return!0x1;return!!_0x80efd9[_0x4ec9('0x163')](_0x245445=>_0x7249ac[_0x4ec9('0x6c')](_0x34dfff=>_0x245445[_0x4ec9('0x43')]()[_0x4ec9('0x28')](_0x34dfff[_0x4ec9('0x43')]())))&&_0x7249ac['every'](_0x393935=>_0x80efd9[_0x4ec9('0x6c')](_0x1fce7b=>_0x393935[_0x4ec9('0x43')]()[_0x4ec9('0x28')](_0x1fce7b['getFirstRange']())));}}[_0x4ec9('0x78')](_0x1748b2){const _0x4bb899=Array['from'](_0x1748b2),_0x2bdc30=this[_0x4ec9('0x86')]({'skipNotAttached':!0x0}),_0xbf759=_0x2bdc30[_0x4ec9('0x3c')](_0xde8034=>!_0x1748b2['has'](_0xde8034)),_0x5954ad=new Map(_0x4bb899[_0x4ec9('0x143')](_0x458b58=>[_0x458b58,this[_0x4ec9('0x10c')][_0x4ec9('0xd7')](_0x458b58[_0x4ec9('0xff')],_0x458b58['subType'],_0x4ec9('0x64'))])),_0x11b356=new Map(_0x2bdc30[_0x4ec9('0x143')](_0xb426e6=>[_0xb426e6,_0xb426e6[_0x4ec9('0x94')]()]));for(let _0x2dcf91=0x0;_0x2dcf91<_0x4bb899['length'];_0x2dcf91++){if(_0x12ef7d(this,_0x4bb899[_0x2dcf91],_0x4bb899,_0x2dcf91+0x1))return!0x0;}for(let _0x9c3420=0x0;_0x9c3420<_0x4bb899[_0x4ec9('0x6f')];_0x9c3420++){if(_0x12ef7d(this,_0x4bb899[_0x9c3420],_0xbf759,0x0))return!0x0;}return!0x1;function _0x12ef7d(_0x34d6ce,_0x50970d,_0x599a6a,_0x4cce41){for(let _0xf141bb=_0x4cce41;_0xf141bb<_0x599a6a[_0x4ec9('0x6f')];_0xf141bb++){const _0x4fc8fb=_0x599a6a[_0xf141bb];if(_0x4fc8fb['type']!==_0x50970d[_0x4ec9('0xff')]||_0x4fc8fb[_0x4ec9('0x71')]['id']!==_0x50970d[_0x4ec9('0x71')]['id']||_0x4fc8fb[_0x4ec9('0x155')]!==_0x50970d[_0x4ec9('0x155')])continue;if(!Vt(_0x50970d,_0x4fc8fb))continue;if(_0x4ec9('0xbd')==_0x50970d[_0x4ec9('0xff')]&&_0x50970d['data'][_0x4ec9('0x9b')]!=_0x4fc8fb[_0x4ec9('0x16')]['oldValue'])continue;if(_0x4ec9('0xbd')==_0x50970d[_0x4ec9('0xff')]&&_0x34d6ce[_0x4ec9('0xdc')](_0x50970d[_0x4ec9('0x16')][_0x4ec9('0x18')]))continue;const _0x55e2fc=_0x5954ad[_0x4ec9('0xd5')](_0x50970d),_0x21f18d=_0x11b356[_0x4ec9('0xd5')](_0x50970d),_0x5cf376=_0x11b356[_0x4ec9('0xd5')](_0x4fc8fb),_0x33fe29=_0x50970d[_0x4ec9('0x40')]&&_0x50970d[_0x4ec9('0x40')][_0x4ec9('0x6f')],_0x3f84d1=_0x4fc8fb[_0x4ec9('0x40')]&&_0x4fc8fb[_0x4ec9('0x40')][_0x4ec9('0x6f')];if(!_0x33fe29&&_0x55e2fc(_0x5cf376,_0x21f18d))return _0x34d6ce['_joinSuggestions'](_0x4fc8fb,_0x50970d),_0x11b356[_0x4ec9('0x14f')](_0x50970d),!0x0;if(!_0x3f84d1&&_0x55e2fc(_0x21f18d,_0x5cf376))return _0x34d6ce[_0x4ec9('0x132')](_0x50970d,_0x4fc8fb),_0x11b356[_0x4ec9('0x14f')](_0x4fc8fb),!0x0;}return!0x1;}}[_0x4ec9('0x132')](_0x1e274a,_0x1d844e){if(_0x1e274a[_0x4ec9('0x74')])for(const _0x5a03cf of _0x1d844e[_0x4ec9('0x94')]())_0x1e274a[_0x4ec9('0x9e')](_0x5a03cf);else{const _0x12e936=_0x1d844e[_0x4ec9('0x43')]()[_0x4ec9('0x2')];this[_0x4ec9('0x60')](_0x1e274a,this['_model']['createRange'](_0x1e274a[_0x4ec9('0x43')]()['start'],_0x12e936));}_0x1d844e[_0x4ec9('0x6d')]();}[_0x4ec9('0xd0')](_0x32a6e8,_0x5e7ea6){const _0x19911a=_0x32a6e8[_0x4ec9('0x10f')](_0x4ec9('0x10'))||_0x32a6e8[_0x4ec9('0x10f')](_0x4ec9('0xbd'))?'FORMATTING':_0x32a6e8[_0x4ec9('0xd6')]();return _0x4ab33e(this[_0x4ec9('0xa9')][_0x4ec9('0xc5')],_0x5e7ea6+'_'+_0x19911a+'_SUGGESTION_ANNOUNCEMENT');}['_initAriaMarkerChangeAnnouncements'](){const _0x772a5d=this[_0x4ec9('0xa9')];_0x260b82(this[_0x4ec9('0x73')],({left:_0x5a0345,entered:_0x341817})=>{const _0x1ff686=[];for(const _0x48eba5 of _0x5a0345){const {group:_0x11efcb,type:_0x19fe38}=this[_0x4ec9('0x93')](_0x48eba5['name']);if(_0x4ec9('0x59')===_0x11efcb){_0x1ff686['push'](this[_0x4ec9('0xd0')](_0x19fe38,_0x4ec9('0x39')));break;}}for(const _0x17d0e3 of _0x341817){const {group:_0x3c6e79,type:_0x13849b}=this[_0x4ec9('0x93')](_0x17d0e3[_0x4ec9('0x135')]);if(_0x4ec9('0x59')===_0x3c6e79){_0x1ff686[_0x4ec9('0x91')](this['_getMarkerAnnouncementText'](_0x13849b,_0x4ec9('0xea')));break;}}_0x1ff686[_0x4ec9('0x6f')]&&_0x772a5d['ui'][_0x4ec9('0x25')]['announce'](_0x4ec9('0x158'),_0x1ff686[_0x4ec9('0x64')]('\x20'));});}[_0x4ec9('0x8')](_0x5a8813){if(null!==this[_0x4ec9('0x134')])return!0x1;const _0x372ca7=this[_0x4ec9('0xa9')],_0x3e63f0=_0x372ca7[_0x4ec9('0x12d')]['document'][_0x4ec9('0x7b')]['getChanges']();if(0x0==_0x3e63f0[_0x4ec9('0x6f')])return!0x1;const _0x36d0f4=[],_0x2c5f67=_0x3e63f0[_0x4ec9('0x3c')](_0xa5f1bf=>_0x4ec9('0xbd')==_0xa5f1bf[_0x4ec9('0xff')]),_0x88db99=_0x3e63f0[_0x4ec9('0x3c')](_0x15c8ae=>_0x4ec9('0x105')==_0x15c8ae[_0x4ec9('0xff')]&&'$text'!=_0x15c8ae['name']),_0x899978=_0x3e63f0[_0x4ec9('0x3c')](_0x574380=>'remove'==_0x574380[_0x4ec9('0xff')]&&'$text'!=_0x574380[_0x4ec9('0x135')]);for(const _0x569d35 of _0x2c5f67)_0x36d0f4[_0x4ec9('0x91')]({'key':_0x569d35[_0x4ec9('0x14d')],'newValue':_0x569d35[_0x4ec9('0x116')],'oldValue':_0x569d35[_0x4ec9('0x124')],'range':_0x2e416a(_0x569d35[_0x4ec9('0xdd')])});for(const _0x482a89 of _0x88db99){const _0x287262=_0x899978[_0x4ec9('0x38')](_0x2a5628=>_0x2a5628[_0x4ec9('0x2a')]['isEqual'](_0x482a89['position']));_0x287262&&_0x36d0f4[_0x4ec9('0x91')]({'key':'$elementName','newValue':_0x482a89['name'],'oldValue':_0x287262[_0x4ec9('0x135')],'range':_0x372ca7[_0x4ec9('0x12d')][_0x4ec9('0x30')](_0x482a89[_0x4ec9('0x2a')][_0x4ec9('0xf5')])});}return 0x0!=_0x36d0f4['length']&&this['_reduceExistingSuggestions'](_0x5a8813,_0x36d0f4);function _0x2e416a(_0x55afcc){return null==_0x55afcc[_0x4ec9('0x2')][_0x4ec9('0xb1')]&&_0x55afcc[_0x4ec9('0x2')][_0x4ec9('0xdb')]==_0x55afcc['start'][_0x4ec9('0xf5')]?Ut(_0x55afcc[_0x4ec9('0x69')][_0x4ec9('0xf5')],_0x372ca7[_0x4ec9('0x12d')]):_0x55afcc;}}['_processAttributeSuggestions'](_0x3c5b53){let _0x1d1223=!0x1;const _0x1f7c7d=this['editor']['model'][_0x4ec9('0x9f')][_0x4ec9('0x7b')][_0x4ec9('0x115')]()[_0x4ec9('0x3c')](_0xf80859=>_0xf80859[_0x4ec9('0x16')][_0x4ec9('0xf4')]&&_0xf80859[_0x4ec9('0x135')][_0x4ec9('0x10f')](_0x4ec9('0xcb')));for(const _0xb41543 of _0x1f7c7d){const {subType:_0x402713,id:_0x336f2a}=this['_splitMarkerName'](_0xb41543[_0x4ec9('0x135')]),_0x3f2fde=_0x402713['split']('|')[0x0];for(const _0x3cfc89 of this[_0x4ec9('0x86')]({'skipNotAttached':!0x0}))_0x3cfc89['id']!=_0x336f2a&&_0x4ec9('0xbd')==_0x3cfc89['type']&&_0x3cfc89[_0x4ec9('0x16')]&&_0x3cfc89[_0x4ec9('0x16')][_0x4ec9('0x18')]==_0x3f2fde&&_0x3cfc89['getFirstRange']()[_0x4ec9('0x140')](_0xb41543['data'][_0x4ec9('0xf4')])&&(this[_0x4ec9('0x42')](_0x3cfc89,_0xb41543['data'][_0x4ec9('0xf4')],_0x3c5b53),_0x1d1223=!0x0);}return _0x1d1223;}[_0x4ec9('0x164')](_0x1e30e9){if(null!==this[_0x4ec9('0x134')])return void _0x1e30e9();const _0x12267d=this['editor'];this['_recordAttributeSuggestionsFromVersion']=_0x12267d[_0x4ec9('0x12d')]['document']['version'],_0x1e30e9();const _0x53b4b2=new Map();for(const _0x42307e of _0x12267d[_0x4ec9('0x12d')]['document']['history'][_0x4ec9('0xa2')](this[_0x4ec9('0x134')]))if([_0x4ec9('0x10e'),_0x4ec9('0x4'),_0x4ec9('0xf9'),_0x4ec9('0x5a')][_0x4ec9('0x12c')](_0x42307e[_0x4ec9('0xff')])){const _0x2016b2=_0x42307e['batch'],_0x199b97=_0x53b4b2[_0x4ec9('0xd5')](_0x2016b2)||[];_0x199b97['push'](_0x42307e),_0x53b4b2['set'](_0x2016b2,_0x199b97);}this[_0x4ec9('0x134')]=null;for(const [_0x9d558b,_0x20534c]of _0x53b4b2){const _0x49ddfe=_0x1a1471();_0x12267d['model'][_0x4ec9('0x1b')](_0x9d558b,_0x166cf4=>{const _0x508bf4=[];for(const _0x2d5aab of _0x20534c){let _0x21dab9,_0x1c5206,_0x149f13,_0x4e7615;if(_0x4ec9('0x10e')==_0x2d5aab[_0x4ec9('0xff')]){const _0x3157d1=_0x2d5aab;_0x21dab9=Ut(_0x3157d1['position']['nodeAfter'],_0x12267d[_0x4ec9('0x12d')]),_0x1c5206=_0x4ec9('0xf'),_0x149f13=_0x3157d1[_0x4ec9('0x9d')],_0x4e7615=_0x3157d1[_0x4ec9('0x149')];}else{const _0x2db41b=_0x2d5aab,_0x4c961a=this['_isBlockAttribute'](_0x2db41b[_0x4ec9('0x18')]),_0x48e380=this['_inlineAttributeKeys'][_0x4ec9('0x3b')](_0x2db41b[_0x4ec9('0x18')]);if(!_0x4c961a&&!_0x48e380)continue;_0x21dab9=_0x4c961a?Ut(_0x2db41b[_0x4ec9('0xdd')][_0x4ec9('0x69')][_0x4ec9('0xf5')],_0x12267d[_0x4ec9('0x12d')]):_0x2db41b[_0x4ec9('0xdd')],_0x1c5206=_0x2db41b[_0x4ec9('0x18')],_0x149f13=_0x4ec9('0xf9')==_0x2d5aab[_0x4ec9('0xff')]?void 0x0:_0x2db41b['newValue'],_0x4e7615=_0x2db41b[_0x4ec9('0x9b')];}this[_0x4ec9('0xad')](_0x21dab9,_0x1c5206,_0x4e7615,_0x149f13,{'groupId':_0x49ddfe}),_0x508bf4[_0x4ec9('0x91')]({'range':_0x21dab9,'key':_0x1c5206,'newValue':_0x149f13,'oldValue':_0x4e7615});}this[_0x4ec9('0x15c')](_0x166cf4,_0x508bf4);});}}[_0x4ec9('0x15c')](_0x4f9f03,_0x267699){if(0x0==_0x267699[_0x4ec9('0x6f')])return!0x1;let _0x16a28d=!0x1;for(const _0x11692d of _0x267699){const _0xce2c78=this[_0x4ec9('0xd8')](_0x11692d[_0x4ec9('0xdd')],_0x4ec9('0xbd'))[_0x4ec9('0x3c')](_0x58e193=>!_0x58e193[_0x4ec9('0xac')][_0x4ec9('0x2f')])[_0x4ec9('0x143')](_0x401667=>_0x401667[_0x4ec9('0x59')]),_0x410b63=_0x3b9db5({'newValue':_0x11692d[_0x4ec9('0xc9')]});_0xce2c78['filter'](_0x231df0=>{const [_0x280699,_0x1a92b4]=_0x231df0[_0x4ec9('0x155')][_0x4ec9('0x15b')]('|');return _0x280699==_0x11692d[_0x4ec9('0x18')]&&_0x1a92b4!=_0x410b63;})[_0x4ec9('0xc7')](_0x1cc102=>{this[_0x4ec9('0x42')](_0x1cc102,_0x11692d[_0x4ec9('0xdd')],_0x4f9f03),_0x16a28d=!0x0;});}return _0x16a28d;}['_reduceSuggestionAttributeRange'](_0x168ea4,_0x239fcf,_0x1ee50c){const _0x500408=_0x168ea4['getFirstRange']()[_0x4ec9('0x6')](_0x239fcf);0x0!==_0x500408[_0x4ec9('0x6f')]?0x1!==_0x500408[_0x4ec9('0x6f')]?this['_breakSuggestionMarker'](_0x168ea4,_0x239fcf[_0x4ec9('0x69')],_0x239fcf[_0x4ec9('0x2')]):this[_0x4ec9('0x60')](_0x168ea4,_0x500408[0x0]):_0x1ee50c['removeMarker'](_0x168ea4['getFirstMarker']());}}class Bt{constructor(_0x4279d4){this[_0x4ec9('0x113')]=_0x4279d4,this[_0x4ec9('0x73')]=_0x4279d4[_0x4ec9('0x12d')],this[_0x4ec9('0xc6')]=new Map(),this[_0x4ec9('0x119')]=new Map(),this['_registerDefaultCallbacks']();}[_0x4ec9('0x84')](_0x5f48b9,_0x295c2e,_0x3c3de6,_0x141477,_0x4be12f,_0x526ee9){return new _0x3f936a(this[_0x4ec9('0x73')],{'type':_0x5f48b9,'subType':_0x295c2e,'id':_0x3c3de6,'author':_0x141477,'creator':_0x141477,'attributes':_0x4be12f,'onAttributesChange':_0x526ee9,'onAccept':(..._0x848f19)=>this[_0x4ec9('0xd7')](_0x5f48b9,_0x295c2e,_0x4ec9('0xe0'))(..._0x848f19),'onDiscard':(..._0x193c4a)=>this[_0x4ec9('0xd7')](_0x5f48b9,_0x295c2e,_0x4ec9('0x92'))(..._0x193c4a)});}['registerCustomCallback'](_0x369afa,_0x4777ea,_0x7fca95,_0x311c8e){const _0x28cac8=_0x369afa+':'+_0x4777ea+':'+_0x7fca95;this[_0x4ec9('0xc6')][_0x4ec9('0x12e')](_0x28cac8,_0x311c8e);}[_0x4ec9('0xd7')](_0x313baf,_0x2b5a07,_0x5f318c){const _0x4e81b4=_0x313baf+':'+_0x2b5a07+':'+_0x5f318c;return this[_0x4ec9('0xc6')][_0x4ec9('0xd5')](_0x4e81b4)||this['_defaultCallbacks'][_0x4ec9('0xd5')](_0x313baf+':'+_0x5f318c);}[_0x4ec9('0xed')](){const _0x409ca6=()=>!0x1,_0x3e230d=_0x57776d=>{_0x57776d['sort']((_0xd40497,_0x211d62)=>_0xd40497[_0x4ec9('0x69')][_0x4ec9('0xba')](_0x211d62[_0x4ec9('0x69')])?0x1:-0x1),this['_model']['change'](_0x57b99f=>{for(const _0x3d794a of _0x57776d){let _0x5e7044;_0x5e7044=_0x3d794a[_0x4ec9('0x2')]['isAtEnd']&&_0x3d794a[_0x4ec9('0x2')][_0x4ec9('0xdb')]==_0x3d794a[_0x4ec9('0x69')][_0x4ec9('0xf5')]?_0x57b99f[_0x4ec9('0x7d')](_0x3d794a[_0x4ec9('0x69')][_0x4ec9('0xf5')],'on'):_0x57b99f[_0x4ec9('0x7d')](_0x3d794a),this[_0x4ec9('0x73')][_0x4ec9('0xd')](_0x5e7044,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x467139=(_0xcf421,_0x5d1ae5)=>{_0x5d1ae5&&this[_0x4ec9('0x73')][_0x4ec9('0x109')](_0x5ed855=>{const {commandName:_0x1ba985,commandParams:_0x49a905=[]}=_0x5d1ae5,_0x3c6791=_0xcf421[_0x4ec9('0x143')](_0x21524e=>(xt(_0x21524e)&&(_0x21524e=this[_0x4ec9('0x73')][_0x4ec9('0x103')](_0x21524e['end'])),_0x21524e))[_0x4ec9('0x3c')](_0x1d8dfb=>_0x4ec9('0xa5')!==_0x1d8dfb[_0x4ec9('0x83')]['rootName']);if(_0x3c6791['length']<0x1)return;const _0x1e9291=Array['from'](this['_model'][_0x4ec9('0x9f')]['selection'][_0x4ec9('0x94')]())[_0x4ec9('0x143')](_0x45ab4e=>_0x49a89e[_0x4ec9('0x165')](_0x45ab4e));_0x5ed855[_0x4ec9('0x24')](_0x3c6791);for(const _0x3df219 of this[_0x4ec9('0x113')][_0x4ec9('0x167')][_0x4ec9('0x167')]())_0x3df219[_0x4ec9('0x5')]();_0x49a905[_0x4ec9('0x91')]({'forceDefaultExecution':!0x0}),this[_0x4ec9('0x113')]['execute'](_0x1ba985,..._0x49a905);const _0x5d31c3=_0x1e9291['filter'](_0x18edf8=>_0x4ec9('0xa5')!=_0x18edf8['root']['rootName']);_0x5d31c3[_0x4ec9('0x6f')]>0x0&&_0x5ed855[_0x4ec9('0x24')](_0x5d31c3);for(const _0x2469b8 of _0x1e9291)_0x2469b8['detach']();});},_0x53b003=(_0x51182b,_0x5577b6)=>0x1==_0x51182b['length']&&0x1==_0x5577b6[_0x4ec9('0x6f')]&&_0x51182b[0x0][_0x4ec9('0x2')][_0x4ec9('0x28')](_0x5577b6[0x0][_0x4ec9('0x69')]),_0x2b920f=(_0x544b12,_0x53c569,_0x4e9efc,_0xb91782)=>Ot(_0x544b12,_0x53c569,_0x4e9efc,_0xb91782,this['_model'])?[_0x544b12,_0x53c569]:Ot(_0x53c569,_0x544b12,_0xb91782,_0x4e9efc,this[_0x4ec9('0x73')])?[_0x53c569,_0x544b12]:null;this['_defaultCallbacks'][_0x4ec9('0x12e')]('insertion:accept',_0x409ca6),this['_defaultCallbacks'][_0x4ec9('0x12e')](_0x4ec9('0xbf'),_0x3e230d),this[_0x4ec9('0x119')][_0x4ec9('0x12e')]('insertion:join',_0x53b003),this[_0x4ec9('0x119')]['set'](_0x4ec9('0xa3'),_0x2b920f),this['_defaultCallbacks'][_0x4ec9('0x12e')]('deletion:accept',_0x3e230d),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x5c'),_0x409ca6),this['_defaultCallbacks']['set']('deletion:join',_0x53b003),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x174'),_0x2b920f),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x157'),_0x467139),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x95'),_0x409ca6),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x45'),_0x53b003),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0x4c'),_0x409ca6),this['_defaultCallbacks'][_0x4ec9('0x12e')]('formatBlock:accept',_0x467139),this['_defaultCallbacks'][_0x4ec9('0x12e')](_0x4ec9('0x16a'),_0x409ca6),this[_0x4ec9('0x119')]['set']('formatBlock:join',_0x53b003),this['_defaultCallbacks']['set'](_0x4ec9('0xc'),_0x409ca6),this[_0x4ec9('0x119')]['set'](_0x4ec9('0xcf'),_0x409ca6),this[_0x4ec9('0x119')]['set'](_0x4ec9('0x4f'),(_0x385eca,_0x54343f)=>{if(!_0x54343f)return;const _0xba1997=this['_editor']['plugins'][_0x4ec9('0xd5')](p);this[_0x4ec9('0x73')][_0x4ec9('0x109')](_0x19f563=>{if(_0x4ec9('0xf')==_0x54343f['key'])for(const _0x37a9af of _0x385eca){const _0x179aea=_0x37a9af['start']['nodeAfter'],_0x23b3df=_0x54343f[_0x4ec9('0x9b')];_0x19f563[_0x4ec9('0x10e')](_0x179aea,_0x23b3df);}else{if(_0xba1997[_0x4ec9('0xdc')](_0x54343f[_0x4ec9('0x18')]))for(const _0x5eb37b of _0x385eca)void 0x0!==_0x54343f[_0x4ec9('0x9b')]?_0x19f563[_0x4ec9('0xf7')](_0x54343f[_0x4ec9('0x18')],_0x54343f[_0x4ec9('0x9b')],_0x5eb37b['start'][_0x4ec9('0xf5')]):_0x19f563[_0x4ec9('0xf9')](_0x54343f['key'],_0x5eb37b[_0x4ec9('0x69')]['nodeAfter']);else for(const _0x1171b4 of _0x385eca)_0x54343f[_0x4ec9('0x9b')]?_0x19f563[_0x4ec9('0xf7')](_0x54343f['key'],_0x54343f[_0x4ec9('0x9b')],_0x1171b4):_0x19f563[_0x4ec9('0xf9')](_0x54343f[_0x4ec9('0x18')],_0x1171b4);}});}),this[_0x4ec9('0x119')][_0x4ec9('0x12e')](_0x4ec9('0xd3'),_0x53b003);}}function Tt(_0x14b98b,_0x5df813,_0x1d0f56){for(const _0x3db99f of _0x5df813[_0x4ec9('0xdb')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x3db99f[_0x4ec9('0x83')]==_0x3db99f)return!0x1;if(!_0x1d0f56['containsItem'](_0x3db99f))return!0x1;if(_0x14b98b[_0x4ec9('0x156')](_0x3db99f)||_0x14b98b['isLimit'](_0x3db99f))return!0x0;}return!0x1;}function xt(_0x492421){return _0x492421[_0x4ec9('0x2')][_0x4ec9('0xdb')]==_0x492421[_0x4ec9('0x69')]['nodeAfter']&&_0x492421[_0x4ec9('0x2')][_0x4ec9('0xb4')];}function Et(_0x5f3ab5,_0x379e1a,_0x5cf042,_0x3e12aa){const _0x2d765f=_0x399281=>!_0x399281['item']['is'](_0x4ec9('0x23'))&&!_0x3e12aa[_0x4ec9('0x156')](_0x399281['item']),_0x59c7fd=_0x5f3ab5[_0x4ec9('0x69')][_0x4ec9('0x82')](_0x2d765f),_0x507d72=_0x5f3ab5['end']['getLastMatchingPosition'](_0x2d765f,{'direction':_0x4ec9('0x107')});return(!_0x5f3ab5['start'][_0x4ec9('0x28')](_0x59c7fd)||!_0x5f3ab5[_0x4ec9('0x2')][_0x4ec9('0x28')](_0x507d72))&&(_0x59c7fd[_0x4ec9('0xba')](_0x507d72)?_0x5cf042['updateMarker'](_0x379e1a,{'range':_0x5cf042[_0x4ec9('0x103')](_0x59c7fd,_0x507d72)}):_0x5cf042['removeMarker'](_0x379e1a),!0x0);}function Rt(_0x551643){return _0x3b9db5(_0x551643);}function jt(_0x17aded){const _0x4eaf10=_0x17aded['start'][_0x4ec9('0xf5')];return _0x4eaf10&&_0x4eaf10['is'](_0x4ec9('0x20'));}function Ut(_0x5c7a6c,_0x91c8f2){const _0x40105e=_0x91c8f2[_0x4ec9('0x9c')][_0x4ec9('0x156')](_0x5c7a6c)||_0x91c8f2[_0x4ec9('0x9c')]['isSelectable'](_0x5c7a6c);return _0x91c8f2['createRange'](_0x91c8f2[_0x4ec9('0xe2')](_0x5c7a6c,_0x4ec9('0x144')),_0x40105e?_0x91c8f2['createPositionAfter'](_0x5c7a6c):_0x91c8f2[_0x4ec9('0xe2')](_0x5c7a6c,_0x4ec9('0x2')));}function Ot(_0x9c785c,_0x4451f9,_0x66307e,_0x3037ae,_0x5db251){if(!Vt(_0x9c785c,_0x4451f9))return!0x1;if(_0x66307e[_0x4ec9('0x2')][_0x4ec9('0x28')](_0x3037ae['start']))return!0x0;if(_0x9c785c['type']!=_0x4451f9[_0x4ec9('0xff')])return!0x1;if(!_0x66307e[_0x4ec9('0x2')]['isTouching'](_0x3037ae[_0x4ec9('0x69')]))return!0x1;const _0x31ae51=_0x5db251[_0x4ec9('0x103')](_0x66307e[_0x4ec9('0x2')],_0x3037ae[_0x4ec9('0x69')])[_0x4ec9('0x17a')]();for(const _0x29d5b4 of _0x31ae51)if([_0x4ec9('0x14c'),_0x4ec9('0x0')][_0x4ec9('0x12c')](_0x29d5b4['type'])&&_0x5db251[_0x4ec9('0x9c')]['isLimit'](_0x29d5b4[_0x4ec9('0x3d')]))return!0x1;return!0x0;}function Vt(_0x562970,_0x10cee0){return!(!_0x562970[_0x4ec9('0xc2')]||!_0x10cee0[_0x4ec9('0xc2')])&&_0x5240aa(_0x562970[_0x4ec9('0xe5')],_0x10cee0[_0x4ec9('0xe5')]);}function Ft(_0x112fb4,_0x44b1e3){const _0x58ad7f=Gt(_0x112fb4[_0x4ec9('0xe5')]),_0x4aebd7=Gt(_0x44b1e3);if(!_0x112fb4[_0x4ec9('0xc2')])return!0x1;for(const _0x25cd08 of Object[_0x4ec9('0x81')](_0x4aebd7))if(!_0x5240aa(_0x58ad7f[_0x25cd08],_0x4aebd7[_0x25cd08]))return!0x1;return!0x0;}function Gt(_0x239864){const _0x26c005=Object[_0x4ec9('0x97')]({},_0x239864);return delete _0x26c005[_0x4ec9('0xb3')],delete _0x26c005[_0x4ec9('0x11b')],_0x26c005;}
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;}