@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231209.0 → 0.0.0-nightly-20231211.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-20231209.0",
3
+ "version": "0.0.0-nightly-20231211.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-20231209.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231209.0",
42
+ "ckeditor5": "0.0.0-nightly-20231211.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231211.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 _0x528d=['removeMarker:suggestion:formatBlock','next','isTouching','options','open','return','isIntersecting','enableReadOnlyMode','addMarker:suggestion','setAttribute','rename','data-suggestion','head','getAncestors','fire','removeMarker:suggestion:attribute','isInsideObject','previous','nodeAfter','getCommentThread','stop','widget','push','track-changes-command-not-found','skipNestingCheck','announce','newRange','suggestion-type','markerToHighlight','plugins','dataDowncast','isDocumentOperation','createPositionAfter','dataReady','markers','insertion:accept','creator','_getMarkerAnnouncementText','ck-suggestion-marker-','isRemovable','deleteContent','model','isBlock','_addThreadToSuggestion','change:activeMarkers','_model','addSuggestion','track-changes-suggestion-data-mismatch','getIntersection','toJSON','multipleBlocks','removeComment','delete','markerToData','deletion:chain','getMultiRangeId','track-changes-suggestion-not-found','_isBlockAttribute','_inlineAttributeKeys','stopListening','parent','trackChanges','comments','_blockAttributeKeys','_reduceSuggestionAttributeRange','_processAttributeChanges','filter','getFirstRange','_reduceExistingSuggestions','toViewElement','containsPosition','showSuggestionHighlights','_findSuggestions','pluginName','meta','concat','multi','discardAllSuggestions','find','nodeBefore','applyOperation','addMarker:suggestion:formatBlock','deletion:','root','setSelection','dataToMarker','tablePasteChainId','_isDataLoaded','createRangeIn','accepted','suggestionUnloaded','originalSuggestionId','formatBlock:chain','attribute:accept','addMarkerName','_registerInlineAttribute','_registerDefaultCallbacks','formatInline','getNearestSelectionRange','notReady','createPositionAt','_trackFormatChanges','markerName','every','fromCharCode','always','ck-suggestion-marker','isBefore','markBlockFormat','end','deletion','assign','acceptSuggestion','attribute:join','_defaultCallbacks','addMarker:suggestion:attribute','insertion:','isSelectable','subType','getUser','isObject','getSuggestion','_joinWithAdjacentSuggestions','position','catch','_recordAttributeChanges','ck-suggestion-marker-formatBlock','update:suggestion','getAllAdjacentSuggestions','markAttributeChange','chain','define','moveTargetPosition','isAfter','getShiftedBy','getChangedMarkers','getSuggestionCallback','fromRange','_refreshSuggestionsChain','get','groupId','join','then','formatBlock:','formatBlock','discard','_updateSuggestionData','writer','formatInline:discard','hasComments','external:','clear','size','acceptSelectedSuggestions','deletion:accept','addMarker','removeClass','change:_saved','commands','_SUGGESTION_ANNOUNCEMENT','mapper','format','TrackChangesEditing','has','conversion','oldRange','_getExternalAuthor','enqueueChange','isOwn','_checkSuggestionCorrectness','ck-suggestion-marker-formatInline','getDifference','attributeKey','suggestion:attribute:','author','removeAttribute','error-saving-suggestion-data-suggestion-discarded','PendingActions','change','isExternal','config','$elementName','authoredAt','discardSuggestion','splice','isNextTo','addRange','sort','_initAriaMarkerChangeAnnouncements','collaboration.channelId','_commentsRepository','forward','oldName','commandName','detach','never','setTo','_createSuggestion','createRange','discardSelectedSuggestions','removeMarkers','start','$graveyard','editing','formatInline:join','createdAt','_getSuggestionData','LEAVE','suggestion:','_breakSuggestionMarker','version','attributeOldValue','schema','containsRange','acceptAllSuggestions','unbindElementFromMarkerName','markInsertion','ready','isAtStart','track-changes-user-not-found','markerReady','containsRangeInObject','change:data','splitPosition','batch','formatBlock:accept','after','formatBlock:join','_mergeNestedSuggestions','insertion:chain','isLocal','accept','forEach','_suggestionState','rethrowUnexpectedError','isEqual','$text','hasSuggestion','FORMATTING','_adapter','some','enableCommand','_enableDefaultAttributesIntegration','containerElement','insertion','registerCustomCallback','addHighlight','_getAuthorFromId','_rangeIsInLocalUserInsertion','attribute:discard','requires','includes','suggestionChanged','buildSuggestion','isCollapsed','getContainedElement','activeMarkers','attributeNewValue','trackChanges.mergeNestedSuggestions','_processAttributeSuggestions','insertContent','element','howMany','for','getWalker','insert','attribute:','newName','length','suggestionLoaded','differ','suggestion','deletion:join','createRangeOn','_removeSuggestion','addClass','removeMarker','_suggestionFactory','value','rejected','split','_descriptionFactory','add','formatInline:','_saved','track-changes-enable-command-twice','getAttribute','forceDefaultExecution','_customCallbacks','formatGroupId','selection','addAttribute','track-changes-adapter-already-set','addCommentThread','_registerBlockAttribute','_setSuggestionRange','newValue','adapter','isInContent','commentThread','getFirstMarker','item','highest','deletion:discard','@external','data','high','addUser','name','consume','insertion:join','execute','_suggestions','isAtEnd','_setSuggestionData','ariaLiveAnnouncer','markDeletion','Users','rootName','removed','isMultiRange','_enabledCommands','_handleNewSuggestionMarker','$marker','from','toUpperCase','updateMarker','document','startsWith','trackChangesCommand','elementToElement','values','_splitMarkerName','set','upcast','default','low','PENDING_ACTION_SUGGESTION','isLimit','remove','oldValue','isIntersectingWithRange','attribute','_recordAttributeSuggestionsFromVersion','attributes','editor','ck-suggestion-marker--active','getSuggestions','getRanges','_isForcedDefaultExecutionBlock','_joinSuggestions','keys','addSuggestionData','getLastMatchingPosition','$textProxy','editingDowncast','map','trackChanges.trackFormatChanges','targetPosition','isArray','locale','changeAttribute','type','clone','CommentsRepository','registerPostFixer','_refreshAttributeSuggestionsChain','group','_addSuggestionMarker','elementStart','_editor','key','listenTo','lowest','history','range','getCustomProperty','consumable','unshift','_cutOutSuggestionMarker'];(function(_0x245d1b,_0x528d58){const _0x2c8ada=function(_0x47303a){while(--_0x47303a){_0x245d1b['push'](_0x245d1b['shift']());}};_0x2c8ada(++_0x528d58);}(_0x528d,0xfc));const _0x2c8a=function(_0x245d1b,_0x528d58){_0x245d1b=_0x245d1b-0x0;let _0x2c8ada=_0x528d[_0x245d1b];return _0x2c8ada;};import{Plugin as _0x19395d,PendingActions as _0x1e0db6}from'ckeditor5/src/core';import{LiveRange as _0x474640}from'ckeditor5/src/engine';import{CKEditorError as _0x2c981f,uid as _0x8e65af,priorities as _0x44a00c,logWarning as _0x1dfdc0}from'ckeditor5/src/utils';import{toWidget as _0xa71655}from'ckeditor5/src/widget';import{Users as _0x49af3d,hashObject as _0x5cb55d,surroundingMarkersDetector as _0x3cc4ba}from'ckeditor5-collaboration/src/collaboration-core';import _0x23e0fe from'./commands/trackchangescommand';import _0x810139 from'./commands/acceptsuggestioncommand';import _0x341c09 from'./commands/discardsuggestioncommand';import _0x2d0d9a from'./commands/executeonallsuggestionscommand';import _0x4f5e09 from'./commands/executeonselectedsuggestionscommand';import _0x2517c2 from'./suggestion';import _0x2b483e from'./suggestiondescriptionfactory';import _0x301f6c from'./integrations/aiassistant';import _0x2c3304 from'./integrations/alignment';import _0x47dd4a from'./integrations/basicstyles';import _0x2e647f from'./integrations/blockquote';import _0x42a93d from'./integrations/ckbox';import _0x187d6b from'./integrations/codeblock';import _0x2900d5 from'./integrations/comments';import _0x22e5fb from'./integrations/deletecommand';import _0x2622d4 from'./integrations/documentlist';import _0x53f952 from'./integrations/documentlistproperties';import _0x467b54 from'./integrations/entercommand';import _0x24ebf3 from'./integrations/findandreplace';import _0x54d349 from'./integrations/font';import _0x1c8759 from'./integrations/formatpainter';import _0x1d5b4f from'./integrations/heading';import _0xaff5e7 from'./integrations/highlight';import _0x3b458e from'./integrations/horizontalline';import _0x1d4d4e from'./integrations/htmlembed';import _0x3793fc from'./integrations/image';import _0x47dbd8 from'./integrations/imagereplace';import _0xd617b5 from'./integrations/imagestyle';import _0x2db821 from'./integrations/importword';import _0x4a83ca from'./integrations/indent';import _0x4a8e90 from'./integrations/inputcommand';import _0x29aa1f from'./integrations/link';import _0x6c08de from'./integrations/list';import _0x4b8bd8 from'./integrations/listproperties';import _0x37a72d from'./integrations/mediaembed';import _0x6a716c from'./integrations/mention';import _0x474848 from'./integrations/pagebreak';import _0x5f3433 from'./integrations/paragraph';import _0x104408 from'./integrations/removeformat';import _0x1ec694 from'./integrations/restrictededitingmode';import _0x5285df from'./integrations/shiftentercommand';import _0x3b3833 from'./integrations/standardeditingmode';import _0x1561d3 from'./integrations/style';import _0x118fc8 from'./integrations/table';import _0x55e8be from'./integrations/tablemergesplit';import _0x237cfe from'./integrations/tableheadings';import _0x45944 from'./integrations/tableclipboard';import _0x1ded4f from'./integrations/tablecolumnresize';import _0x10996e from'./integrations/template';import _0x2ff2d6 from'./integrations/tableofcontents';import _0x71d845 from'./integrations/title';import _0x15e127 from'./integrations/undo';import _0x4ed3c7 from'./integrations/tablecaption';import _0xcf4196 from'./integrations/tableproperties';import{getTranslation as _0x1c53ec}from'./utils/common-translations';import{isEqual as _0x34db3f,omit as _0x33ca97}from'lodash-es';export const renameAttributeKey=_0x2c8a('0x135');export default class p extends _0x19395d{static get[_0x2c8a('0x17a')](){return[_0x2c8a('0x70'),_0x49af3d,_0x1e0db6,_0x301f6c,_0x2c3304,_0x47dd4a,_0x2e647f,_0x42a93d,_0x187d6b,_0x2900d5,_0x22e5fb,_0x2622d4,_0x53f952,_0x467b54,_0x24ebf3,_0x54d349,_0x1c8759,_0x1d5b4f,_0xaff5e7,_0x3b458e,_0x1d4d4e,_0x3793fc,_0xd617b5,_0x47dbd8,_0x2db821,_0x4a83ca,_0x4a8e90,_0x29aa1f,_0x6c08de,_0x4b8bd8,_0x37a72d,_0x6a716c,_0x474848,_0x5f3433,_0x104408,_0x1ec694,_0x5285df,_0x3b3833,_0x1561d3,_0x118fc8,_0x55e8be,_0x237cfe,_0x4ed3c7,_0x45944,_0x1ded4f,_0x2ff2d6,_0xcf4196,_0x10996e,_0x71d845,_0x15e127];}static get[_0x2c8a('0xc9')](){return _0x2c8a('0x122');}constructor(_0x59b7fd){function _0x9a20f9(_0x323763){return _0x323763[_0x2c8a('0x68')](_0x5d903b=>String[_0x2c8a('0xe8')](_0x5d903b))['join']('');}super(_0x59b7fd),this[_0x2c8a('0x5b')]=null,this[_0x2c8a('0x51')](_0x2c8a('0x4'),[]),this['on'](_0x2c8a('0xac'),(_0xdf342a,_0x606f7e,_0x4d83e2,_0x1318f7)=>{this[_0x2c8a('0xad')][_0x2c8a('0x132')](()=>{for(const _0x2166fe of[..._0x1318f7,..._0x4d83e2])this[_0x2c8a('0xad')][_0x2c8a('0xa2')][_0x2c8a('0x123')](_0x2166fe)&&_0x59b7fd[_0x2c8a('0x14b')]['reconvertMarker'](_0x2166fe);});}),this[_0x2c8a('0x1d')]=new _0x2b483e(this[_0x2c8a('0x5d')][_0x2c8a('0xa9')][_0x2c8a('0x154')],this[_0x2c8a('0x5d')][_0x2c8a('0x6c')]),this['_adapter']=null,this['_suggestionFactory']=new Bt(this[_0x2c8a('0x5d')]),this[_0x2c8a('0x3c')]=new Map(),this[_0x2c8a('0x13e')]=_0x59b7fd[_0x2c8a('0x9d')][_0x2c8a('0x10b')](_0x2c8a('0x70')),this['_enabledCommands']=new Set(),this[_0x2c8a('0xad')]=this['editor'][_0x2c8a('0xa9')],this[_0x2c8a('0x169')]=new WeakMap(),this[_0x2c8a('0x61')]=!0x1,this['_blockAttributeKeys']=new Set([_0x2c8a('0x135')]),this[_0x2c8a('0xba')]=new Set(),_0x59b7fd[_0x2c8a('0x134')][_0x2c8a('0x103')](_0x2c8a('0x69'),_0x2c8a('0x53')),this['_trackFormatChanges']=_0x59b7fd['config'][_0x2c8a('0x10b')]('trackChanges.trackFormatChanges'),_0x59b7fd[_0x2c8a('0x134')]['define'](_0x2c8a('0x6'),!0x0),this[_0x2c8a('0x164')]=_0x59b7fd[_0x2c8a('0x134')][_0x2c8a('0x10b')](_0x2c8a('0x6')),this[_0x2c8a('0x4d')]=new _0x23e0fe(_0x59b7fd,this[_0x2c8a('0x45')]),this[_0x2c8a('0x13c')](),this[_0x9a20f9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x9a20f9([0x34,0x30,0x34,0x36,0x32,0x34,0x31,0x38]);}['init'](){const _0x52d724=this[_0x2c8a('0x5d')],_0x5eea10=(_0x2abf05,_0x507f24)=>{if('attribute'!=_0x2abf05)return _0x2c8a('0xa6')+_0x2abf05;const _0x420d50=_0x507f24[_0x2c8a('0x1c')]('|')[0x0];return this[_0x2c8a('0xb9')](_0x420d50)?_0x2c8a('0xfe'):_0x2c8a('0x12a');};_0x52d724[_0x2c8a('0x124')][_0x2c8a('0xb')](_0x2c8a('0x67'))[_0x2c8a('0x9c')]({'model':'suggestion','view':_0x194470=>{const {id:_0x5a60dd,type:_0x58346d,subType:_0xb306ee}=this[_0x2c8a('0x50')](_0x194470['markerName']),_0x31d843=['ck-suggestion-marker',_0x5eea10(_0x58346d,_0xb306ee)];let _0x44102d=0xbb8;return this[_0x2c8a('0x4')]['includes'](_0x194470[_0x2c8a('0xe6')])&&(_0x31d843[_0x2c8a('0x96')]('ck-suggestion-marker--active'),_0x44102d=0xbc2),_0x2c8a('0xee')==_0x58346d&&(_0x44102d+=0x5),{'classes':_0x31d843,'attributes':{'data-suggestion':_0x5a60dd},'priority':_0x44102d};}}),_0x52d724[_0x2c8a('0x124')]['for'](_0x2c8a('0x9e'))['add'](_0x569158=>{_0x569158['on'](_0x2c8a('0x88'),(_0x5a1288,_0x3f8c5e,_0x2cbc60)=>{if(!_0x2cbc60[_0x2c8a('0x83')][_0x2c8a('0xc7')])return;const _0x430ff3=_0x3f8c5e['item'];if(!_0x430ff3)return;const _0x374ed6=_0x2cbc60[_0x2c8a('0x120')]['toViewElement'](_0x430ff3);_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x154')][_0x2c8a('0xf8')](_0x430ff3)&&_0x374ed6&&!_0x374ed6[_0x2c8a('0x7c')](_0x2c8a('0x95'))&&_0x374ed6['is'](_0x2c8a('0x173'))&&_0xa71655(_0x374ed6,_0x2cbc60[_0x2c8a('0x113')]);},{'priority':_0x2c8a('0x36')});}),_0x52d724['conversion'][_0x2c8a('0xb')](_0x2c8a('0x9e'))[_0x2c8a('0x9c')]({'model':_0x2c8a('0x13'),'view':(_0x5001a7,_0x393740)=>{if(!_0x393740['options'][_0x2c8a('0xc7')])return null;const {type:_0xeeaaec,subType:_0x10e639}=this[_0x2c8a('0x50')](_0x5001a7[_0x2c8a('0xe6')]);return{'classes':[_0x2c8a('0xea'),_0x5eea10(_0xeeaaec,_0x10e639)],'priority':0xbb8};}});const _0x112ec4=({showActiveMarkers:_0x28fbe3=!0x0,isAttributeSuggestion:_0x32a0f5=!0x1}={})=>(_0x504ef1,_0x31d267,_0x30276f)=>{if(!_0x31d267[_0x2c8a('0x31')])return;const {id:_0x2a2d92}=this[_0x2c8a('0x50')](_0x31d267['markerName']);if(_0x32a0f5){const _0x5a16a6=Pt(this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x2a2d92));if(!this['_isBlockAttribute'](_0x5a16a6))return;}if(_0x31d267['item']['is'](_0x2c8a('0x26')))return void _0x30276f['consumable']['consume'](_0x31d267[_0x2c8a('0x31')],_0x504ef1[_0x2c8a('0x38')]);const _0x3b9a44=_0x30276f['mapper'][_0x2c8a('0xc5')](_0x31d267[_0x2c8a('0x31')]);if(_0x31d267['item']['is']('element')&&_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x154')][_0x2c8a('0xaa')](_0x31d267[_0x2c8a('0x31')])&&!_0x3b9a44[_0x2c8a('0x7c')](_0x2c8a('0x176'))){_0x30276f['writer'][_0x2c8a('0x17')]([_0x2c8a('0xea'),_0x2c8a('0xfe')],_0x3b9a44),_0x30276f[_0x2c8a('0x113')][_0x2c8a('0x89')](_0x2c8a('0x8b'),_0x2a2d92,_0x3b9a44),_0x30276f[_0x2c8a('0x120')]['bindElementToMarker'](_0x3b9a44,_0x31d267[_0x2c8a('0xe6')]),_0x28fbe3&&(this['activeMarkers'][_0x2c8a('0x17b')](_0x31d267['markerName'])?_0x30276f[_0x2c8a('0x113')][_0x2c8a('0x17')](_0x2c8a('0x5e'),_0x3b9a44):_0x30276f[_0x2c8a('0x113')]['removeClass'](_0x2c8a('0x5e'),_0x3b9a44));for(const _0x257131 of _0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xd8')](_0x31d267[_0x2c8a('0x31')])['getItems']())_0x30276f[_0x2c8a('0x7d')][_0x2c8a('0x39')](_0x257131,_0x504ef1[_0x2c8a('0x38')]);_0x30276f[_0x2c8a('0x7d')][_0x2c8a('0x39')](_0x31d267['item'],_0x504ef1[_0x2c8a('0x38')]);}};_0x52d724['conversion'][_0x2c8a('0xb')]('dataDowncast')['add'](_0x7cac5e=>{_0x7cac5e['on']('addMarker:suggestion:formatBlock',(_0x1c6aaa,_0x5bcb3c,_0x242db2)=>{_0x242db2[_0x2c8a('0x83')]['showSuggestionHighlights']&&_0x112ec4({'showActiveMarkers':!0x1})(_0x1c6aaa,_0x5bcb3c,_0x242db2);},{'priority':_0x2c8a('0x32')});}),_0x52d724[_0x2c8a('0x124')][_0x2c8a('0xb')](_0x2c8a('0x9e'))[_0x2c8a('0x1e')](_0x2995b1=>{_0x2995b1['on']('addMarker:suggestion:attribute',(_0x39b520,_0x5a9d05,_0x4807a2)=>{_0x4807a2['options'][_0x2c8a('0xc7')]&&_0x112ec4({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x39b520,_0x5a9d05,_0x4807a2);},{'priority':_0x2c8a('0x32')});}),_0x52d724[_0x2c8a('0x124')][_0x2c8a('0xb')]('dataDowncast')[_0x2c8a('0xb5')]({'model':_0x2c8a('0x13'),'view':(_0x24a72d,_0x1a8b42)=>_0x1a8b42['options'][_0x2c8a('0xc7')]?null:{'group':_0x2c8a('0x13'),'name':_0x24a72d['substr'](0xb)}}),_0x52d724[_0x2c8a('0x124')]['for'](_0x2c8a('0x52'))[_0x2c8a('0x4e')]({'view':{'name':_0x2c8a('0x13'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x821e8,{writer:_0xcc856b})=>{let _0x312d3d=_0x2c8a('0x150')+_0x821e8[_0x2c8a('0x22')](_0x2c8a('0x9b'))+':'+_0x821e8[_0x2c8a('0x22')]('id');return _0x821e8[_0x2c8a('0x22')]('marker-count')&&(_0x312d3d+=':'+_0x821e8[_0x2c8a('0x22')]('marker-count')),_0xcc856b['createElement'](_0x2c8a('0x47'),{'data-name':_0x312d3d});}}),_0x52d724[_0x2c8a('0x124')][_0x2c8a('0xb')](_0x2c8a('0x52'))[_0x2c8a('0xd5')]({'view':_0x2c8a('0x13')}),_0x52d724[_0x2c8a('0x124')][_0x2c8a('0xb')](_0x2c8a('0x67'))['add'](_0x3c0e67=>{_0x3c0e67['on'](_0x2c8a('0xd1'),_0x112ec4(),{'priority':_0x2c8a('0x36')});}),_0x52d724[_0x2c8a('0x124')]['for'](_0x2c8a('0x67'))['add'](_0x436e6c=>{_0x436e6c['on'](_0x2c8a('0xf3'),_0x112ec4({'isAttributeSuggestion':!0x0}),{'priority':_0x2c8a('0x36')});}),_0x52d724['conversion'][_0x2c8a('0xb')](_0x2c8a('0x67'))[_0x2c8a('0x1e')](_0x3a103c=>{_0x3a103c['on'](_0x2c8a('0x80'),(_0x1628e0,_0x4b3a86,_0x1c6c27)=>{const _0x5bdca7=_0x1c6c27[_0x2c8a('0x120')]['markerNameToElements'](_0x4b3a86[_0x2c8a('0xe6')]);if(_0x5bdca7)for(const _0xe4093f of _0x5bdca7)_0xe4093f[_0x2c8a('0x7c')](_0x2c8a('0x176'))||(_0x1c6c27[_0x2c8a('0x113')][_0x2c8a('0x11c')]([_0x2c8a('0xea'),_0x2c8a('0xfe'),'ck-suggestion-marker--active'],_0xe4093f),_0x1c6c27[_0x2c8a('0x113')][_0x2c8a('0x12f')](_0x2c8a('0x8b'),_0xe4093f),_0x1c6c27['mapper']['unbindElementFromMarkerName'](_0xe4093f,_0x4b3a86[_0x2c8a('0xe6')]));},{'priority':_0x2c8a('0x36')});}),_0x52d724['conversion'][_0x2c8a('0xb')]('editingDowncast')[_0x2c8a('0x1e')](_0x4e2bb1=>{_0x4e2bb1['on'](_0x2c8a('0x8f'),(_0x2120a1,_0x132a27,_0xce67a5)=>{const _0x2e2aec=_0xce67a5[_0x2c8a('0x120')]['markerNameToElements'](_0x132a27[_0x2c8a('0xe6')]);if(!_0x2e2aec)return;const {id:_0x308080}=this['_splitMarkerName'](_0x132a27[_0x2c8a('0xe6')]),_0x1f7cc1=Pt(this['_suggestions'][_0x2c8a('0x10b')](_0x308080));if(this[_0x2c8a('0xb9')](_0x1f7cc1))for(const _0x5b31c4 of _0x2e2aec)_0x5b31c4[_0x2c8a('0x7c')](_0x2c8a('0x176'))||(_0xce67a5[_0x2c8a('0x113')]['removeClass']([_0x2c8a('0xea'),_0x2c8a('0xfe'),_0x2c8a('0x5e')],_0x5b31c4),_0xce67a5[_0x2c8a('0x113')][_0x2c8a('0x12f')](_0x2c8a('0x8b'),_0x5b31c4),_0xce67a5[_0x2c8a('0x120')][_0x2c8a('0x157')](_0x5b31c4,_0x132a27['markerName']));},{'priority':_0x2c8a('0x36')});}),_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x4b')][_0x2c8a('0x71')](_0x1cdf0f=>{let _0x1c5c56=!0x1;const _0x499ef5=Array[_0x2c8a('0x48')](_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x4b')][_0x2c8a('0x12')][_0x2c8a('0x107')]()),_0x5e6233=new Set();for(const {name:_0x3677b6,data:_0x139b7b}of _0x499ef5){const {group:_0x795cc3,type:_0x4fbf58,subType:_0x1a03ca,id:_0x2e45fb}=this[_0x2c8a('0x50')](_0x3677b6);if(_0x2c8a('0x13')!==_0x795cc3)continue;const _0x378a11=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x2e45fb);if(null!=_0x139b7b[_0x2c8a('0x9a')]){_0x2c8a('0xe1')==_0x4fbf58&&(_0x1c5c56=_0x1c5c56||Et(_0x139b7b[_0x2c8a('0x9a')],_0x3677b6,_0x1cdf0f,_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x154')]));const _0x2923ef=_0x2c8a('0x5a')==_0x4fbf58&&this['_isBlockAttribute'](_0x1a03ca[_0x2c8a('0x1c')]('|')[0x0]);if(_0x139b7b[_0x2c8a('0x9a')][_0x2c8a('0x2')]||_0x2c8a('0x14a')==_0x139b7b[_0x2c8a('0x9a')][_0x2c8a('0xd3')][_0x2c8a('0x42')]||'formatBlock'==_0x4fbf58&&!jt(_0x139b7b[_0x2c8a('0x9a')])||_0x2923ef&&!jt(_0x139b7b[_0x2c8a('0x9a')])||_0x2c8a('0xee')==_0x4fbf58&&!(!xt(_0x1078e8=_0x139b7b[_0x2c8a('0x9a')])&&!function(_0x1fdb81){return _0x1fdb81['start'][_0x2c8a('0xbc')]==_0x1fdb81[_0x2c8a('0xed')][_0x2c8a('0xcf')]&&_0x1fdb81[_0x2c8a('0x149')][_0x2c8a('0x3d')];}(_0x1078e8)))_0x1cdf0f[_0x2c8a('0x18')](_0x3677b6),_0x1c5c56=!0x0;else{if(!_0x378a11||!_0x378a11['isInContent'])continue;_0x5e6233[_0x2c8a('0x1e')](_0x378a11);}}}var _0x1078e8;return _0x5e6233[_0x2c8a('0x118')]>0x0&&(_0x1c5c56=!!this[_0x2c8a('0xfa')](_0x5e6233)||_0x1c5c56),_0x1c5c56;}),_0x52d724[_0x2c8a('0xa9')]['document'][_0x2c8a('0x71')](_0x33f86b=>{let _0x323b4d=!0x1;for(const _0x136e8a of _0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x4b')][_0x2c8a('0x12')]['getChanges']())if(_0x2c8a('0xd')==_0x136e8a[_0x2c8a('0x6e')])for(const _0x672b0a of this['_suggestions']['values']()){if(_0x672b0a[_0x2c8a('0x44')]||!_0x672b0a['isInContent'])continue;const _0x287f40=_0x2c8a('0x110')==_0x672b0a['type'],_0x2c07a7=Pt(_0x672b0a),_0x35a741=_0x2c07a7&&this[_0x2c8a('0xb9')](_0x2c07a7);if(!_0x287f40&&!_0x35a741)continue;const _0x5c719c=_0x672b0a[_0x2c8a('0xc3')]();if(_0x5c719c[_0x2c8a('0x149')][_0x2c8a('0xbc')]!=_0x5c719c[_0x2c8a('0xed')][_0x2c8a('0xbc')]&&!_0x5c719c[_0x2c8a('0xed')][_0x2c8a('0x3d')]){const _0x41fa68=_0x52d724['model'][_0x2c8a('0xe4')](_0x5c719c[_0x2c8a('0x149')][_0x2c8a('0x92')],'end'),_0x38e146=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x146')](_0x5c719c[_0x2c8a('0x149')],_0x41fa68);_0x33f86b[_0x2c8a('0x4a')](_0x672b0a[_0x2c8a('0x30')](),{'range':_0x38e146}),_0x323b4d=!0x0;}}return _0x323b4d;}),_0x52d724[_0x2c8a('0xa9')]['document'][_0x2c8a('0x71')](_0xbc6b85=>this['_processAttributeChanges'](_0xbc6b85)),_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x4b')]['registerPostFixer'](_0x241ad7=>!_0x241ad7['batch']['isLocal']&&this[_0x2c8a('0x7')](_0x241ad7)),_0x52d724['model']['markers']['on'](_0x2c8a('0xff'),(_0x3f964e,_0x4cdc43,_0x2ed6d7)=>{if(null==_0x2ed6d7){const {id:_0x9a7701}=this['_splitMarkerName'](_0x4cdc43['name']),_0x5457c1=this['_suggestions'][_0x2c8a('0x10b')](_0x9a7701);_0x5457c1&&_0x5457c1[_0x2c8a('0xde')](_0x4cdc43[_0x2c8a('0x38')]);}}),_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x4b')]['on'](_0x2c8a('0x15e'),()=>{const _0x37491f=Array[_0x2c8a('0x48')](_0x52d724[_0x2c8a('0xa9')]['document'][_0x2c8a('0x12')][_0x2c8a('0x107')]())['filter'](_0x3f26d1=>'suggestion'===this[_0x2c8a('0x50')](_0x3f26d1[_0x2c8a('0x38')])[_0x2c8a('0x73')]);if(0x0===_0x37491f[_0x2c8a('0x10')])return;_0x37491f[_0x2c8a('0x13b')]((_0x28af5f,_0x22dd5d)=>{const _0x1fc939=_0x28af5f[_0x2c8a('0x35')][_0x2c8a('0x125')],_0x3aad11=_0x22dd5d['data'][_0x2c8a('0x125')];return null===_0x1fc939&&null===_0x3aad11?0x0:null===_0x1fc939&&null!==_0x3aad11?-0x1:null!==_0x1fc939&&null===_0x3aad11?0x1:_0x1fc939[_0x2c8a('0x149')][_0x2c8a('0xeb')](_0x3aad11['start'])?-0x1:0x1;});const _0x58fd7b=new Set(),_0xce9305=new Set();for(const {name:_0x492da7,data:_0x21ae58}of _0x37491f){const {id:_0x5db7ef}=this[_0x2c8a('0x50')](_0x492da7);if(null===_0x21ae58[_0x2c8a('0x125')]){const _0x298062=this[_0x2c8a('0x46')](_0x492da7);_0xce9305[_0x2c8a('0x1e')](_0x298062);}else{const _0x1cd749=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x5db7ef);null!==_0x21ae58['newRange']||_0x1cd749[_0x2c8a('0x2e')]?(_0x58fd7b[_0x2c8a('0x1e')](_0x1cd749[_0x2c8a('0x8c')]),_0xce9305[_0x2c8a('0x1e')](_0x1cd749)):this[_0x2c8a('0x16')](_0x1cd749);}}_0xce9305[_0x2c8a('0x118')]>0x0&&this['_refreshSuggestionsChain'](_0xce9305);for(const _0x1ef086 of _0x58fd7b)this[_0x2c8a('0x8e')]('suggestionChanged',_0x1ef086);}),_0x52d724[_0x2c8a('0xa9')]['on'](_0x2c8a('0xd0'),(_0x2d64a3,_0x1d2a8f)=>{const _0x154232=_0x1d2a8f[0x0];if(!this[_0x2c8a('0x3c')][_0x2c8a('0x118')])return;if(!_0x154232[_0x2c8a('0x9f')])return;if(_0x154232[_0x2c8a('0x160')]['isUndo']||!_0x154232['batch'][_0x2c8a('0x166')])return;let _0xf8d55e,_0x3d1ca6;switch(_0x154232['type']){case _0x2c8a('0xd'):_0xf8d55e=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xe4')](_0x154232[_0x2c8a('0xfb')]),_0x3d1ca6=_0xf8d55e[_0x2c8a('0x106')](_0x154232[_0x2c8a('0xa')]);break;case'split':_0xf8d55e=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xe4')](_0x154232[_0x2c8a('0x15f')]),_0x3d1ca6=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xe4')](_0x154232[_0x2c8a('0x104')]);break;case'move':_0xf8d55e=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xe4')](_0x154232[_0x2c8a('0x6a')]),_0x3d1ca6=_0xf8d55e[_0x2c8a('0x106')](_0x154232[_0x2c8a('0xa')]);break;default:return;}const _0x43ae09=_0x52d724['model'][_0x2c8a('0x146')](_0xf8d55e,_0x3d1ca6);_0x52d724['model'][_0x2c8a('0x132')](()=>{for(const {suggestion:_0x371e5a,meta:_0x2c6bab}of this[_0x2c8a('0xc8')](_0x43ae09)){if(_0x371e5a['isMultiRange'])continue;if(_0x2c8a('0xe1')==_0x371e5a['type'])continue;const _0x5aec90=Pt(_0x371e5a);if(_0x5aec90&&this[_0x2c8a('0xb9')](_0x5aec90)&&_0x2c8a('0x1c')!=_0x154232['type'])continue;const _0x317925=_0x371e5a[_0x2c8a('0x35')]&&_0x371e5a[_0x2c8a('0x35')][_0x2c8a('0xb2')];(_0x2c8a('0x110')!=_0x371e5a['type']||_0x2c8a('0x1c')==_0x154232[_0x2c8a('0x6e')]&&!_0x317925)&&(_0x2c6bab['containsRangeInObject']||_0x2c8a('0x174')==_0x371e5a[_0x2c8a('0x6e')]&&_0x2c6bab[_0x2c8a('0x128')]||_0x371e5a[_0x2c8a('0xc3')]()[_0x2c8a('0x155')](_0x43ae09)&&this[_0x2c8a('0x151')](_0x371e5a,_0xf8d55e,_0x3d1ca6));}});},{'priority':_0x2c8a('0x79')}),_0x52d724['model']['on'](_0x2c8a('0xa8'),(_0x4db92e,_0x3d0dea)=>{const _0x2b8e22=_0x3d0dea[0x0],_0x3b6c48=_0x3d0dea[0x1];if(_0x3b6c48&&_0x3b6c48[_0x2c8a('0x23')])return;if(this[_0x2c8a('0x61')])return;if(!this['trackChangesCommand'][_0x2c8a('0x1a')])return;if(_0x2b8e22[_0x2c8a('0x2')])return;const _0x252cf9=_0x52d724['model'][_0x2c8a('0x154')],{start:_0x4226b2,end:_0x589a06}=_0x2b8e22['getFirstRange'](),_0xf8714=_0x4226b2[_0x2c8a('0x92')]&&_0x252cf9[_0x2c8a('0x56')](_0x4226b2[_0x2c8a('0x92')])?null:_0x252cf9[_0x2c8a('0xe2')](_0x4226b2,_0x2c8a('0x13f')),_0x3e7f4d=_0x589a06[_0x2c8a('0xcf')]&&_0x252cf9[_0x2c8a('0x56')](_0x589a06['nodeBefore'])?null:_0x252cf9[_0x2c8a('0xe2')](_0x589a06,'backward'),_0x21a5bf=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x146')](_0xf8714?_0xf8714['start']:_0x4226b2,_0x3e7f4d?_0x3e7f4d[_0x2c8a('0xed')]:_0x589a06);_0x52d724[_0x2c8a('0xa9')]['change'](_0x2e3e89=>{this['markDeletion'](_0x21a5bf);const _0x478b91=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x154')][_0x2c8a('0xe2')](_0x21a5bf[_0x2c8a('0x149')]);_0x2b8e22['is']('documentSelection')?_0x2e3e89[_0x2c8a('0xd4')](_0x478b91):_0x2b8e22[_0x2c8a('0x144')](_0x478b91);}),_0x4db92e[_0x2c8a('0x94')]();},{'priority':_0x44a00c['normal']+0xa}),_0x52d724[_0x2c8a('0xa9')]['on'](_0x2c8a('0x8'),(_0x3bbfa6,_0x4a04d1)=>{const _0x282139=_0x4a04d1[_0x4a04d1[_0x2c8a('0x10')]-0x1];_0x282139&&_0x282139['forceDefaultExecution']||this[_0x2c8a('0x61')]||this['trackChangesCommand'][_0x2c8a('0x1a')]&&(_0x52d724['model']['change'](()=>{let _0x1ec790=_0x52d724['model']['insertContent'](_0x4a04d1[0x0],_0x4a04d1[0x1],_0x4a04d1[0x2],{'forceDefaultExecution':!0x0});if(!_0x1ec790)return;_0x3bbfa6[_0x2c8a('0x85')]=_0x1ec790[_0x2c8a('0x6f')]();const _0x227d79=_0x1ec790['end'][_0x2c8a('0xcf')],_0x306f9d=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x154')];_0x227d79&&_0x306f9d[_0x2c8a('0xaa')](_0x227d79)&&!_0x306f9d[_0x2c8a('0xf8')](_0x227d79)&&(_0x1ec790=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x146')](_0x1ec790['start'],_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xe4')](_0x227d79,'end'))),this['markInsertion'](_0x1ec790);}),_0x3bbfa6[_0x2c8a('0x94')]());},{'priority':_0x2c8a('0x36')}),this['editor'][_0x2c8a('0x11e')][_0x2c8a('0x1e')](_0x2c8a('0xbd'),this['trackChangesCommand']),this['enableCommand'](_0x2c8a('0xbd'));const _0x5f4d66=new _0x810139(_0x52d724,this[_0x2c8a('0x3c')]);_0x52d724[_0x2c8a('0x11e')][_0x2c8a('0x1e')](_0x2c8a('0xf0'),_0x5f4d66),this[_0x2c8a('0x171')](_0x2c8a('0xf0'));const _0x575db8=new _0x341c09(_0x52d724,this[_0x2c8a('0x3c')]);_0x52d724['commands']['add']('discardSuggestion',_0x575db8),this[_0x2c8a('0x171')]('discardSuggestion'),_0x52d724['commands'][_0x2c8a('0x1e')](_0x2c8a('0x156'),new _0x2d0d9a(_0x52d724,_0x5f4d66,this['_suggestions'])),this[_0x2c8a('0x171')](_0x2c8a('0x156')),_0x52d724[_0x2c8a('0x11e')]['add'](_0x2c8a('0xcd'),new _0x2d0d9a(_0x52d724,_0x575db8,this['_suggestions'])),this[_0x2c8a('0x171')](_0x2c8a('0xcd')),_0x52d724['commands'][_0x2c8a('0x1e')]('acceptSelectedSuggestions',new _0x4f5e09(_0x52d724,_0x5f4d66,this['_suggestions'])),this[_0x2c8a('0x171')](_0x2c8a('0x119')),_0x52d724[_0x2c8a('0x11e')][_0x2c8a('0x1e')]('discardSelectedSuggestions',new _0x4f5e09(_0x52d724,_0x575db8,this[_0x2c8a('0x3c')])),this[_0x2c8a('0x171')](_0x2c8a('0x147'));const _0x28e066=_0x52d724['plugins']['get'](_0x2c8a('0x70'));this['listenTo'](_0x28e066,'addComment',(_0x5c1b1e,{threadId:_0xf05cc9})=>{const _0x2fcb51=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0xf05cc9);_0x2fcb51&&_0x2fcb51[_0x2c8a('0x2f')]&&0x1===_0x2fcb51[_0x2c8a('0x2f')][_0x2c8a('0x10')]&&this[_0x2c8a('0x112')](_0xf05cc9,{'hasComments':!0x0});},{'priority':_0x2c8a('0x54')}),this['listenTo'](_0x28e066,_0x2c8a('0xb3'),(_0x50743f,{threadId:_0x21a52b})=>{const _0xd698cc=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x21a52b);_0xd698cc&&_0xd698cc[_0x2c8a('0x2f')]&&!_0xd698cc[_0x2c8a('0x2f')]['length']&&this['_updateSuggestionData'](_0x21a52b,{'hasComments':!0x1});},{'priority':_0x2c8a('0x54')});}set['adapter'](_0x2ccc7f){if(this[_0x2c8a('0x16f')])throw new _0x2c981f(_0x2c8a('0x28'),this);this[_0x2c8a('0x16f')]=_0x2ccc7f;}get[_0x2c8a('0x2d')](){return this[_0x2c8a('0x16f')];}[_0x2c8a('0x5f')]({skipNotAttached:_0x4257ad=!0x1,toJSON:_0x314df0=!0x1}={}){const _0x4743bb=[];for(const _0x2b6205 of this[_0x2c8a('0x3c')][_0x2c8a('0x4f')]())_0x4257ad&&!_0x2b6205['isInContent']||_0x4743bb[_0x2c8a('0x96')](_0x2b6205);return _0x314df0?_0x4743bb[_0x2c8a('0x68')](_0x4cf410=>_0x4cf410[_0x2c8a('0xb1')]()):_0x4743bb;}['getSuggestion'](_0x5651d9){const _0x248f03=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x5651d9);if(!_0x248f03)throw new _0x2c981f(_0x2c8a('0xb8'),this);return _0x248f03;}[_0x2c8a('0x16d')](_0x29a064){return this[_0x2c8a('0x3c')][_0x2c8a('0x123')](_0x29a064);}[_0x2c8a('0x64')](_0x50749d){const {authorId:_0x26ba31,id:_0x39def0,attributes:_0x591890}=_0x50749d,[_0x2b77f9,_0x19cf49]=_0x50749d[_0x2c8a('0x6e')][_0x2c8a('0x1c')](':'),_0x327282=this[_0x2c8a('0x3c')]['get'](_0x39def0)||this[_0x2c8a('0x145')](_0x2b77f9,_0x19cf49,_0x39def0,_0x26ba31,_0x591890);if(this[_0x2c8a('0xab')](_0x327282),this[_0x2c8a('0x129')](_0x327282,_0x2b77f9,_0x19cf49||null,_0x26ba31),_0x327282[_0x2c8a('0x14d')]=_0x50749d[_0x2c8a('0x14d')],_0x327282[_0x2c8a('0xd7')]=!0x0,_0x591890&&_0x591890[_0x2c8a('0x34')]){const _0x401b77=_0x591890[_0x2c8a('0x34')],_0x5b080d=this[_0x2c8a('0x126')](_0x401b77['authorName']);_0x327282['authoredAt']=_0x401b77['createdAt'],_0x327282[_0x2c8a('0x12e')]=_0x5b080d,_0x327282[_0x2c8a('0x133')]=!0x0;}else _0x327282[_0x2c8a('0x136')]=_0x50749d[_0x2c8a('0x14d')];switch(_0x50749d[_0x2c8a('0x35')]&&(_0x327282[_0x2c8a('0x35')]=_0x50749d[_0x2c8a('0x35')]),_0x50749d['attributes']&&(_0x327282[_0x2c8a('0x5c')]=_0x50749d[_0x2c8a('0x5c')]),this[_0x2c8a('0x16f')]&&this[_0x2c8a('0x16f')]['addSuggestion']||(_0x327282[_0x2c8a('0x20')]=!0x0),this[_0x2c8a('0x169')][_0x2c8a('0x10b')](_0x327282)){case _0x2c8a('0xe3'):this[_0x2c8a('0x169')][_0x2c8a('0x51')](_0x327282,_0x2c8a('0xa1'));break;case _0x2c8a('0x15c'):_0x327282[_0x2c8a('0x2e')]?(this[_0x2c8a('0x10a')](new Set([_0x327282])),this['_joinWithAdjacentSuggestions'](new Set([_0x327282])),this[_0x2c8a('0x169')][_0x2c8a('0x51')](_0x327282,_0x2c8a('0x159')),this[_0x2c8a('0x8e')]('suggestionLoaded',_0x327282)):this[_0x2c8a('0x169')][_0x2c8a('0x51')](_0x327282,_0x2c8a('0x43'));}return _0x327282;}[_0x2c8a('0xf0')](_0xdd92b9){this[_0x2c8a('0x23')](()=>{this['editor'][_0x2c8a('0xa9')]['change'](()=>{for(const _0x26bc6e of _0xdd92b9[_0x2c8a('0x100')]())_0x26bc6e[_0x2c8a('0x167')]();});});}[_0x2c8a('0x137')](_0x2c3692){this[_0x2c8a('0x23')](()=>{this[_0x2c8a('0x5d')][_0x2c8a('0xa9')][_0x2c8a('0x132')](()=>{for(const _0x2735ef of _0x2c3692['getAllAdjacentSuggestions']())_0x2735ef[_0x2c8a('0x111')]();});});}[_0x2c8a('0x171')](_0x434738,_0x1e854b){const _0x36768d=this[_0x2c8a('0x5d')][_0x2c8a('0x11e')][_0x2c8a('0x10b')](_0x434738);if(!_0x36768d)throw new _0x2c981f(_0x2c8a('0x97'),this,{'commandName':_0x434738});if(this[_0x2c8a('0x45')][_0x2c8a('0x123')](_0x36768d))throw new _0x2c981f(_0x2c8a('0x21'),this,{'commandName':_0x434738});this[_0x2c8a('0x45')][_0x2c8a('0x1e')](_0x36768d),_0x1e854b&&_0x36768d['on'](_0x2c8a('0x3b'),(_0x8a9328,_0x472bd2)=>{this[_0x2c8a('0x4d')][_0x2c8a('0x1a')]&&(this[_0x2c8a('0x61')]||(_0x472bd2[_0x2c8a('0x10')]>0x0&&_0x472bd2[_0x472bd2[_0x2c8a('0x10')]-0x1]&&_0x472bd2[_0x472bd2['length']-0x1][_0x2c8a('0x23')]?_0x472bd2['pop']():(_0x8a9328[_0x2c8a('0x85')]=_0x1e854b((..._0x126eaa)=>_0x36768d[_0x2c8a('0x3b')](..._0x126eaa,{'forceDefaultExecution':!0x0}),..._0x472bd2),_0x8a9328[_0x2c8a('0x94')]())));},{'priority':_0x2c8a('0x36')});}['forceDefaultExecution'](_0x18aad8){let _0x26fcc5,_0x181dc4;const _0x2b4fca=this[_0x2c8a('0x61')];this[_0x2c8a('0x61')]=!0x0;try{_0x26fcc5=_0x18aad8();}catch(_0x474cb7){_0x181dc4=_0x474cb7;}return _0x2b4fca||(this[_0x2c8a('0x61')]=!0x1),_0x181dc4&&_0x2c981f[_0x2c8a('0x16a')](_0x181dc4,this),_0x26fcc5;}[_0x2c8a('0x158')](_0x399e12,_0x722e5c=null,_0x58f13a={}){if(_0x399e12[_0x2c8a('0x2')])return null;const _0x28b206=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')][_0x2c8a('0x10b')](_0x2c8a('0x41'))['me'];for(const {suggestion:_0x333da6,meta:_0x1b669a}of this[_0x2c8a('0xc8')](_0x399e12,_0x2c8a('0x174')))if(_0x1b669a['isOwn']){if(!_0x1b669a[_0x2c8a('0x139')]){if(_0x1b669a[_0x2c8a('0x15d')]){if(!this[_0x2c8a('0x164')]||!Gt(_0x333da6,_0x58f13a))continue;return _0x333da6;}if(Gt(_0x333da6,_0x58f13a))return _0x333da6;this[_0x2c8a('0x151')](_0x333da6,_0x399e12[_0x2c8a('0x149')],_0x399e12[_0x2c8a('0xed')]);break;}if(_0x722e5c==_0x333da6[_0x2c8a('0xf6')]&&Gt(_0x333da6,_0x58f13a)){const _0x4d8066=_0x333da6[_0x2c8a('0xc3')]();return _0x4d8066[_0x2c8a('0x149')][_0x2c8a('0x16b')](_0x399e12[_0x2c8a('0xed')])?this[_0x2c8a('0x2b')](_0x333da6,this[_0x2c8a('0xad')]['createRange'](_0x399e12['start'],_0x4d8066[_0x2c8a('0xed')])):this[_0x2c8a('0x2b')](_0x333da6,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x4d8066[_0x2c8a('0x149')],_0x399e12[_0x2c8a('0xed')])),_0x333da6;}}const _0x2181dd=_0x8e65af(),_0x3743b0=_0x28b206['id'],_0x19cf55=_0x722e5c?_0x2c8a('0xf4')+_0x722e5c:_0x2c8a('0x174'),_0x2cc36a=this[_0x2c8a('0x3e')]({'id':_0x2181dd,'type':_0x19cf55,'createdAt':new Date(),'authorId':_0x3743b0,'attributes':_0x58f13a});return this[_0x2c8a('0x74')](_0x19cf55,_0x2181dd,_0x3743b0,_0x399e12),_0x2cc36a;}['markMultiRangeInsertion'](_0x51d259,_0x58bf09='multi',_0x407b54={}){const _0xe6f8ab=this['editor'][_0x2c8a('0x9d')][_0x2c8a('0x10b')]('Users')['me'],_0x7f4898=this[_0x2c8a('0x19')][_0x2c8a('0x108')](_0x2c8a('0x174'),_0x58bf09,_0x2c8a('0x10d'));for(const _0x23a488 of this['getSuggestions']())if(_0x23a488[_0x2c8a('0x12e')]['id']==_0xe6f8ab['id']&&_0x2c8a('0x174')==_0x23a488[_0x2c8a('0x6e')]&&_0x23a488[_0x2c8a('0xf6')]==_0x58bf09&&Gt(_0x23a488,_0x407b54)&&(_0x7f4898(_0x23a488['getRanges'](),_0x51d259)||_0x7f4898(_0x51d259,_0x23a488[_0x2c8a('0x60')]()))){for(const _0x376d74 of _0x51d259)_0x23a488['addRange'](_0x376d74);return _0x23a488;}for(const {suggestion:_0x42aaea,meta:_0x58b594}of this['_findSuggestions'](_0x51d259,_0x2c8a('0x174'))){if(!_0x58b594[_0x2c8a('0x128')])continue;if(!this['_mergeNestedSuggestions']&&_0x58b594[_0x2c8a('0x15d')])continue;if(!Gt(_0x42aaea,_0x407b54))continue;let _0x4c1d03=!0x0;for(const _0x2d6fe1 of _0x42aaea[_0x2c8a('0x60')]())for(const _0x12d708 of _0x51d259)if(!_0x2d6fe1[_0x2c8a('0x155')](_0x12d708)){_0x4c1d03=!0x1;break;}if(_0x4c1d03)return _0x42aaea;}const _0x1c3aad=_0x8e65af(),_0x22e85d=_0xe6f8ab['id'],_0x34bc67=_0x2c8a('0xf4')+_0x58bf09,_0xea416b=this[_0x2c8a('0x3e')]({'id':_0x1c3aad,'type':_0x34bc67,'createdAt':new Date(),'authorId':_0x22e85d,'attributes':_0x407b54});for(const _0x5d5f4a of _0x51d259)this[_0x2c8a('0x74')](_0x34bc67,_0x1c3aad,_0x22e85d,_0x5d5f4a,_0x2517c2[_0x2c8a('0xb7')]());return _0xea416b;}['markInlineFormat'](_0x550f20,_0x174a90,_0x222d91=null,_0x2e3f5b={}){if(_0x222d91=_0x222d91||Rt(_0x174a90),_0x550f20[_0x2c8a('0x2')])return null;if(_0x2c8a('0x143')===this[_0x2c8a('0xe5')]){const _0x10b61b=this[_0x2c8a('0x19')][_0x2c8a('0x108')]('formatInline',_0x222d91,_0x2c8a('0x167'));return this[_0x2c8a('0x23')](()=>_0x10b61b([_0x550f20],_0x174a90,_0x2e3f5b)),null;}const _0x2b79d8=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')]['get'](_0x2c8a('0x41'))['me'],_0x2f714a=[];if(_0x2c8a('0xe9')!==this[_0x2c8a('0xe5')])for(const {suggestion:_0x274592,meta:_0x208290}of this[_0x2c8a('0xc8')](_0x550f20,'insertion'))_0x208290[_0x2c8a('0x128')]&&!_0x208290['isInsideObject']&&_0x2f714a[_0x2c8a('0x96')](..._0x274592[_0x2c8a('0x60')]());const _0x57ecff=function(_0x358865,_0x18edce){const _0x12cabf=[];for(const _0xa66e3e of _0x18edce){const _0x54a2ed=_0x358865[_0x2c8a('0xb0')](_0xa66e3e);_0x54a2ed&&_0x12cabf['push'](_0x54a2ed);}return _0x12cabf;}(_0x550f20,_0x2f714a),_0x515211=function(_0x45a716,_0x363601){const _0x5be699=[_0x45a716];for(const _0xfda646 of _0x363601){let _0x5126f9=0x0;for(;_0x5126f9<_0x5be699[_0x2c8a('0x10')];){const _0x2eccd8=_0x5be699[_0x5126f9][_0x2c8a('0x12b')](_0xfda646);_0x5be699[_0x2c8a('0x138')](_0x5126f9,0x1,..._0x2eccd8),_0x5126f9+=_0x2eccd8[_0x2c8a('0x10')];}}return _0x5be699;}(_0x550f20,_0x2f714a);_0x57ecff[_0x2c8a('0x10')]&&this[_0x2c8a('0xad')][_0x2c8a('0x132')](()=>{for(const _0x3c7bca of _0x57ecff){const _0x3a58c3=this[_0x2c8a('0x19')]['getSuggestionCallback']('formatInline',_0x222d91,'accept');this['forceDefaultExecution'](()=>_0x3a58c3([_0x3c7bca],_0x174a90,_0x2e3f5b));}});for(const _0x5af296 of _0x515211){let _0x592dc4=null,_0x39ed37=_0x5af296[_0x2c8a('0x149')],_0x23cffc=_0x5af296[_0x2c8a('0xed')];for(const {suggestion:_0x4895d2,meta:_0x36109f}of this['_findSuggestions'](_0x5af296,_0x2c8a('0xe1'))){if(!_0x36109f['isOwn'])continue;if(_0x4895d2[_0x2c8a('0xf6')]!=_0x222d91)continue;if(!Gt(_0x4895d2,_0x2e3f5b))continue;const _0x656159=_0x4895d2['getFirstRange']();if(_0x656159['containsRange'](_0x5af296,!0x0))return null;_0x39ed37=_0x39ed37[_0x2c8a('0xeb')](_0x656159[_0x2c8a('0x149')])?_0x39ed37:_0x656159[_0x2c8a('0x149')],_0x23cffc=_0x23cffc['isAfter'](_0x656159[_0x2c8a('0xed')])?_0x23cffc:_0x656159[_0x2c8a('0xed')],_0x592dc4?_0x656159[_0x2c8a('0x149')][_0x2c8a('0xeb')](_0x592dc4[_0x2c8a('0xc3')]()['start'])?(_0x592dc4[_0x2c8a('0x148')](),_0x592dc4=_0x4895d2):_0x4895d2[_0x2c8a('0x148')]():_0x592dc4=_0x4895d2;}const _0xf55cbc=this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x39ed37,_0x23cffc);if(_0x592dc4)this['_setSuggestionRange'](_0x592dc4,_0xf55cbc);else{const _0x1b06a4=_0x8e65af(),_0x4b2b38=_0x2b79d8['id'];this['_setSuggestionData']({'id':_0x1b06a4,'type':'formatInline:'+_0x222d91,'data':_0x174a90,'createdAt':new Date(),'authorId':_0x4b2b38,'attributes':_0x2e3f5b}),this[_0x2c8a('0x74')](_0x2c8a('0x1f')+_0x222d91,_0x1b06a4,_0x4b2b38,_0xf55cbc);}}return null;}[_0x2c8a('0xec')](_0x501de1,_0x412121,_0x3851b9=[],_0x4aac9e=null,_0x39491d={}){_0x412121['formatGroupId']||(_0x412121[_0x2c8a('0x25')]=_0x412121['commandName']),_0x412121[_0x2c8a('0xb2')]=_0x501de1['is'](_0x2c8a('0x7b')),_0x4aac9e=_0x4aac9e||Rt(_0x412121);const _0x316bc9=_0x3851b9[_0x2c8a('0x68')](_0x346a9b=>Ut(_0x346a9b,this['_model'])),_0x3aca1a=_0x501de1['is'](_0x2c8a('0x7b'))?_0x501de1:Ut(_0x501de1,this[_0x2c8a('0xad')]);if(_0x2c8a('0x143')===this[_0x2c8a('0xe5')]){const _0x5a74dd=this[_0x2c8a('0x19')][_0x2c8a('0x108')](_0x2c8a('0x110'),_0x4aac9e,_0x2c8a('0x167'));return this[_0x2c8a('0x23')](()=>_0x5a74dd([_0x3aca1a],_0x412121,_0x39491d)),null;}_0x316bc9[_0x2c8a('0x96')](_0x3aca1a);let _0x3069cf=!0x0;for(const _0x4d71d4 of _0x316bc9)if(!this['_rangeIsInLocalUserInsertion'](_0x4d71d4)){_0x3069cf=!0x1;break;}if(_0x3069cf&&_0x2c8a('0xe9')!==this[_0x2c8a('0xe5')]){const _0x23e6d7=this['_suggestionFactory']['getSuggestionCallback'](_0x2c8a('0x110'),_0x4aac9e,_0x2c8a('0x167'));return this[_0x2c8a('0x23')](()=>_0x23e6d7([_0x3aca1a],_0x412121,_0x39491d)),null;}let _0x529ad0=null,_0x225251=_0x3aca1a[_0x2c8a('0x149')],_0x3411b9=_0x3aca1a[_0x2c8a('0xed')];for(const {suggestion:_0x34a67e,meta:_0x45d3af}of this['_findSuggestions'](_0x3aca1a,_0x2c8a('0x110'))){if(!_0x45d3af['isOwn'])continue;if(_0x45d3af['isNextTo']||_0x45d3af[_0x2c8a('0x15d')]||_0x45d3af[_0x2c8a('0x90')])continue;if(_0x34a67e[_0x2c8a('0x35')][_0x2c8a('0x25')]!=_0x412121['formatGroupId'])continue;if(!Gt(_0x34a67e,_0x39491d))continue;const _0x21e8a1=_0x34a67e[_0x2c8a('0xc3')]();if(_0x34a67e[_0x2c8a('0xf6')]==_0x4aac9e){if(_0x21e8a1[_0x2c8a('0x155')](_0x3aca1a,!0x0))return null;_0x225251=_0x225251['isBefore'](_0x21e8a1['start'])?_0x225251:_0x21e8a1[_0x2c8a('0x149')],_0x3411b9=_0x3411b9[_0x2c8a('0x105')](_0x21e8a1['end'])?_0x3411b9:_0x21e8a1['end'],_0x529ad0?_0x21e8a1[_0x2c8a('0x149')][_0x2c8a('0xeb')](_0x529ad0[_0x2c8a('0xc3')]()[_0x2c8a('0x149')])?(_0x529ad0[_0x2c8a('0x148')](),_0x529ad0=_0x34a67e):_0x34a67e[_0x2c8a('0x148')]():_0x529ad0=_0x34a67e;}else{const _0x5d27b7=_0x3aca1a[_0x2c8a('0xb0')](_0x21e8a1);this[_0x2c8a('0x7f')](_0x34a67e,_0x5d27b7);}}const _0x2fa7b2=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')][_0x2c8a('0x10b')](_0x2c8a('0x41'))['me'],_0x57a512=_0x8e65af(),_0x5e5943=_0x2fa7b2['id'];if(_0x529ad0)return this[_0x2c8a('0x2b')](_0x529ad0,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x225251,_0x3411b9)),_0x529ad0;{const _0x45ce38=this[_0x2c8a('0x3e')]({'id':_0x57a512,'type':'formatBlock:'+_0x4aac9e,'data':_0x412121,'createdAt':new Date(),'authorId':_0x5e5943,'attributes':_0x39491d});return this[_0x2c8a('0x74')]('formatBlock:'+_0x4aac9e,_0x57a512,_0x5e5943,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x225251,_0x3411b9)),_0x45ce38;}}['markMultiRangeBlockFormat'](_0x236a8c,_0x5d4ddd,_0x311e1d=[],_0x5c0ebd=null,_0xcd66c={}){_0x5d4ddd[_0x2c8a('0x25')]||(_0x5d4ddd[_0x2c8a('0x25')]=_0x5d4ddd[_0x2c8a('0x141')]);const _0x399e24=_0x236a8c[0x0];_0x5d4ddd[_0x2c8a('0xb2')]=_0x399e24['is'](_0x2c8a('0x7b')),_0x5c0ebd=_0x5c0ebd||Rt(_0x5d4ddd);const _0x1c9d61=_0x311e1d['map'](_0x51af7b=>Ut(_0x51af7b,this[_0x2c8a('0xad')])),_0x7f4dbc=_0x399e24['is'](_0x2c8a('0x7b'))?_0x236a8c:_0x236a8c[_0x2c8a('0x68')](_0x1e7053=>Ut(_0x1e7053,this[_0x2c8a('0xad')]));if(_0x2c8a('0x143')===this['_trackFormatChanges']){const _0x5a7b35=this[_0x2c8a('0x19')][_0x2c8a('0x108')](_0x2c8a('0x110'),_0x5c0ebd,_0x2c8a('0x167'));return this[_0x2c8a('0x23')](()=>_0x5a7b35(_0x7f4dbc,_0x5d4ddd,_0xcd66c)),null;}_0x1c9d61[_0x2c8a('0x96')](..._0x7f4dbc);let _0x38c67e=!0x0;for(const _0x443b2b of _0x1c9d61)if(!this['_rangeIsInLocalUserInsertion'](_0x443b2b)){_0x38c67e=!0x1;break;}if(_0x38c67e&&_0x2c8a('0xe9')!==this[_0x2c8a('0xe5')]){const _0x8510c0=this['_suggestionFactory'][_0x2c8a('0x108')](_0x2c8a('0x110'),_0x5c0ebd,'accept');return this['forceDefaultExecution'](()=>_0x8510c0(_0x7f4dbc,_0x5d4ddd,_0xcd66c)),null;}const _0x1f57a7=this['editor'][_0x2c8a('0x9d')][_0x2c8a('0x10b')]('Users')['me'];for(const _0x58e9c1 of this[_0x2c8a('0x5f')]()){if(_0x58e9c1[_0x2c8a('0x12e')]['id']!=_0x1f57a7['id'])continue;if(_0x2c8a('0x110')!=_0x58e9c1[_0x2c8a('0x6e')]||_0x58e9c1[_0x2c8a('0x35')]['formatGroupId']!=_0x5d4ddd[_0x2c8a('0x25')])continue;if(!Gt(_0x58e9c1,_0xcd66c))continue;const _0x2ed41b=_0x58e9c1[_0x2c8a('0xf6')]==_0x5c0ebd;for(let _0x3138a5=0x0;_0x3138a5<_0x7f4dbc[_0x2c8a('0x10')];_0x3138a5++){const _0x11fc4b=_0x7f4dbc[_0x3138a5];for(const _0x54c840 of _0x58e9c1['getMarkers']()){const _0x234ecf=_0x54c840['getRange']();if(_0x11fc4b[_0x2c8a('0x16b')](_0x234ecf)){_0x2ed41b?(_0x7f4dbc[_0x2c8a('0x138')](_0x3138a5,0x1),_0x3138a5--):_0x58e9c1['removeMarker'](_0x54c840[_0x2c8a('0x38')]);break;}}}}if(0x0==_0x7f4dbc['length'])return null;const _0x3c6393=this[_0x2c8a('0x19')][_0x2c8a('0x108')]('formatBlock',_0x5c0ebd,'join');for(const _0x2fce0a of this['getSuggestions']())if(_0x2fce0a[_0x2c8a('0x12e')]['id']==_0x1f57a7['id']&&_0x2c8a('0x110')==_0x2fce0a[_0x2c8a('0x6e')]&&_0x2fce0a[_0x2c8a('0x35')]['formatGroupId']==_0x5d4ddd['formatGroupId']&&_0x2fce0a[_0x2c8a('0xf6')]==_0x5c0ebd&&Gt(_0x2fce0a,_0xcd66c)&&(_0x3c6393(_0x2fce0a['getRanges'](),_0x7f4dbc)||_0x3c6393(_0x7f4dbc,_0x2fce0a[_0x2c8a('0x60')]()))){for(const _0x1b6b81 of _0x7f4dbc)_0x2fce0a[_0x2c8a('0x13a')](_0x1b6b81);return _0x2fce0a;}const _0x39d2fe=_0x8e65af(),_0x4f436b=_0x1f57a7['id'],_0x265f50=_0x2c8a('0x10f')+_0x5c0ebd,_0x33cf8=this[_0x2c8a('0x3e')]({'id':_0x39d2fe,'type':_0x265f50,'data':_0x5d4ddd,'createdAt':new Date(),'authorId':_0x4f436b,'attributes':_0xcd66c});for(const _0x1ca942 of _0x7f4dbc)this[_0x2c8a('0x74')](_0x265f50,_0x39d2fe,_0x4f436b,_0x1ca942,_0x2517c2[_0x2c8a('0xb7')]());return _0x33cf8;}[_0x2c8a('0x40')](_0x2c4648,_0x359517=null,_0x1ca77e={}){if(_0x2c4648[_0x2c8a('0x2')])return null;const _0x330466=this[_0x2c8a('0x5d')]['plugins'][_0x2c8a('0x10b')](_0x2c8a('0x41'))['me'],_0x29fbf0=new _0x474640(_0x2c4648[_0x2c8a('0x149')],_0x2c4648[_0x2c8a('0xed')]);for(const {suggestion:_0x4d2089,meta:_0x3814fc}of this[_0x2c8a('0xc8')](_0x29fbf0,_0x2c8a('0x174')))if(_0x3814fc[_0x2c8a('0x128')]&&!_0x3814fc[_0x2c8a('0x139')]){if(_0x4d2089[_0x2c8a('0x44')]){const _0x21b480=_0x4d2089[_0x2c8a('0x60')]()[_0x2c8a('0xc2')](_0x253ae1=>'$graveyard'!=_0x253ae1[_0x2c8a('0xd3')][_0x2c8a('0x42')]);_0x21b480[_0x2c8a('0xe7')](_0x502bd9=>_0x29fbf0['containsRange'](_0x502bd9,!0x0))&&_0x4d2089['discard']();if(_0x21b480['some'](_0x4b7e83=>_0x4b7e83[_0x2c8a('0x155')](_0x29fbf0,!0x0))){const _0x923ae0=this[_0x2c8a('0x19')]['getSuggestionCallback'](_0x2c8a('0xee'),_0x359517,_0x2c8a('0x167'));return this[_0x2c8a('0x23')](()=>_0x923ae0([_0x29fbf0],null,_0x1ca77e)),null;}}else{const _0x414efa=_0x29fbf0['getIntersection'](_0x4d2089[_0x2c8a('0xc3')]());null!==_0x414efa&&_0x4d2089['_onDiscard']([_0x414efa],null,_0x1ca77e);}}if(_0x29fbf0[_0x2c8a('0x142')](),_0x29fbf0[_0x2c8a('0x2')]||_0x2c8a('0x14a')==_0x29fbf0[_0x2c8a('0xd3')]['rootName'])return null;let _0x5e1ecc=null,_0x2c3b13=_0x29fbf0[_0x2c8a('0x149')],_0xab995f=_0x29fbf0['end'];const _0x37d934=this[_0x2c8a('0xc8')](_0x29fbf0,_0x2c8a('0xee'));for(const {suggestion:_0x223a73,meta:_0xc21fd9}of _0x37d934){const _0xf1cf4f=this['_model'][_0x2c8a('0x146')](_0x2c3b13,_0xab995f);if(_0xc21fd9['isOwn']&&(this[_0x2c8a('0x164')]||!_0xc21fd9['containsRangeInObject']&&!_0xc21fd9['isInsideObject'])){if(_0x223a73['isMultiRange']){if(!Gt(_0x223a73,_0x1ca77e))continue;let _0x502e9d=!0x0;for(const _0x30673a of _0x223a73[_0x2c8a('0x60')]()){if(_0x30673a[_0x2c8a('0x155')](_0xf1cf4f,!0x0))return _0x223a73;_0xf1cf4f[_0x2c8a('0x155')](_0x30673a)||(_0x502e9d=!0x1);}_0x502e9d&&_0x223a73['discard']();}else{const _0x1b654d=_0x223a73[_0x2c8a('0xc3')]();if(_0x1b654d[_0x2c8a('0x155')](_0xf1cf4f,!0x0))return _0x223a73;if(!Gt(_0x223a73,_0x1ca77e)){_0xf1cf4f[_0x2c8a('0x155')](_0x1b654d)?_0x223a73[_0x2c8a('0x148')]():_0x1b654d[_0x2c8a('0xc6')](_0x2c3b13)?_0x2c3b13=_0x1b654d[_0x2c8a('0xed')]:_0x1b654d[_0x2c8a('0xc6')](_0xab995f)&&(_0xab995f=_0x1b654d['start']);continue;}_0x2c3b13=_0x2c3b13[_0x2c8a('0xeb')](_0x1b654d['start'])?_0x2c3b13:_0x1b654d[_0x2c8a('0x149')],_0xab995f=_0xab995f[_0x2c8a('0x105')](_0x1b654d[_0x2c8a('0xed')])?_0xab995f:_0x1b654d['end'],_0x1ca77e=Object['assign']({},_0x223a73[_0x2c8a('0x5c')]),_0x5e1ecc?_0x1b654d[_0x2c8a('0x149')]['isBefore'](_0x5e1ecc['getFirstRange']()[_0x2c8a('0x149')])?(_0x5e1ecc[_0x2c8a('0x148')](),_0x5e1ecc=_0x223a73):_0x223a73[_0x2c8a('0x148')]():_0x5e1ecc=_0x223a73;}}}if(_0x5e1ecc)return this[_0x2c8a('0x2b')](_0x5e1ecc,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x2c3b13,_0xab995f)),_0x5e1ecc;{const _0x3f5b07=_0x8e65af(),_0x3410da=this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x2c3b13,_0xab995f),_0x1cce19=_0x330466['id'],_0x360d36=_0x359517?_0x2c8a('0xd2')+_0x359517:'deletion',_0x4a441c=this['_setSuggestionData']({'id':_0x3f5b07,'type':_0x360d36,'createdAt':new Date(),'authorId':_0x1cce19,'attributes':_0x1ca77e});return this[_0x2c8a('0x74')](_0x360d36,_0x3f5b07,_0x1cce19,_0x3410da),_0x4a441c;}}['markMultiRangeDeletion'](_0x123907,_0x15b37e=_0x2c8a('0xcc'),_0xd9a6dd={}){const _0x552506=this['editor']['plugins'][_0x2c8a('0x10b')](_0x2c8a('0x41'))['me'],_0x206dd8=_0x123907[_0x2c8a('0x68')](_0x3bc2c5=>new _0x474640(_0x3bc2c5[_0x2c8a('0x149')],_0x3bc2c5[_0x2c8a('0xed')])),_0xbf5e84=new Set();for(const {suggestion:_0x3f273c,meta:_0x2e6fb6}of this[_0x2c8a('0xc8')](_0x206dd8,_0x2c8a('0x174')))_0x2e6fb6[_0x2c8a('0x128')]&&!_0x2e6fb6[_0x2c8a('0x139')]&&_0xbf5e84[_0x2c8a('0x1e')](_0x3f273c);for(const _0xb2bc6f of _0xbf5e84)if(_0xb2bc6f[_0x2c8a('0x44')]){const _0x232714=_0xb2bc6f[_0x2c8a('0x60')]();(!_0xb2bc6f[_0x2c8a('0x5c')]||!_0xb2bc6f[_0x2c8a('0x5c')][_0x2c8a('0x98')])&&(_0x232714[_0x2c8a('0xe7')](_0x25ca89=>_0x206dd8[_0x2c8a('0x170')](_0x3ad2ee=>_0x3ad2ee['containsRange'](_0x25ca89,!0x0)))&&_0xb2bc6f[_0x2c8a('0x111')]());if(_0x206dd8[_0x2c8a('0xe7')](_0x4215a0=>_0x232714[_0x2c8a('0x170')](_0x422220=>_0x422220[_0x2c8a('0x155')](_0x4215a0,!0x0)))){const _0x5088ec=this[_0x2c8a('0x19')][_0x2c8a('0x108')](_0x2c8a('0xee'),_0x15b37e,'accept');return this[_0x2c8a('0x23')](()=>_0x5088ec(_0x123907,null,_0xd9a6dd)),null;}}else{const _0x3ecbcf=_0xb2bc6f[_0x2c8a('0xc3')]();_0x206dd8[_0x2c8a('0x170')](_0x3c4b12=>_0x3c4b12['containsRange'](_0x3ecbcf,!0x0))&&_0xb2bc6f[_0x2c8a('0x111')]();if(_0x206dd8[_0x2c8a('0xe7')](_0x4b59c6=>_0x3ecbcf['containsRange'](_0x4b59c6,!0x0))){const _0x4a7d5c=this[_0x2c8a('0x19')]['getSuggestionCallback']('deletion',_0x15b37e,_0x2c8a('0x167'));return this['forceDefaultExecution'](()=>_0x4a7d5c(_0x206dd8,null,_0xd9a6dd)),null;}}const _0x448c68=this[_0x2c8a('0x19')]['getSuggestionCallback'](_0x2c8a('0xee'),_0x15b37e,_0x2c8a('0x10d'));let _0x4d9993=null;for(const _0x3f569a of this[_0x2c8a('0x5f')]())if(_0x3f569a[_0x2c8a('0x12e')]['id']==_0x552506['id']&&_0x3f569a[_0x2c8a('0x2e')]&&_0x2c8a('0xee')==_0x3f569a[_0x2c8a('0x6e')]&&_0x3f569a[_0x2c8a('0xf6')]==_0x15b37e&&Gt(_0x3f569a,_0xd9a6dd)&&(_0x448c68(_0x3f569a['getRanges'](),_0x206dd8)||_0x448c68(_0x206dd8,_0x3f569a[_0x2c8a('0x60')]()))){if(_0x4d9993){if(_0x3f569a[_0x2c8a('0x2f')]&&_0x3f569a[_0x2c8a('0x2f')][_0x2c8a('0x10')])continue;for(const _0x52d029 of _0x3f569a[_0x2c8a('0x60')]())_0x4d9993['isIntersectingWithRange'](_0x52d029)||_0x4d9993['addRange'](_0x52d029);_0x3f569a[_0x2c8a('0x148')]();}else{_0x4d9993=_0x3f569a;for(const _0x5adeb4 of _0x206dd8)_0x3f569a['isIntersectingWithRange'](_0x5adeb4)||_0x3f569a[_0x2c8a('0x13a')](_0x5adeb4);}}if(_0x4d9993)return _0x4d9993;_0xbf5e84[_0x2c8a('0x117')]();for(const {suggestion:_0x200034,meta:_0x53deeb}of this[_0x2c8a('0xc8')](_0x206dd8,'deletion'))_0x53deeb[_0x2c8a('0x128')]&&(this[_0x2c8a('0x164')]||!_0x53deeb[_0x2c8a('0x15d')]&&!_0x53deeb[_0x2c8a('0x90')])&&Gt(_0x200034,_0xd9a6dd)&&_0xbf5e84[_0x2c8a('0x1e')](_0x200034);for(const _0x338913 of _0xbf5e84){const _0x3c3547=_0x338913[_0x2c8a('0x60')]();if(!_0xd9a6dd||!_0xd9a6dd[_0x2c8a('0x98')]){if(_0x206dd8[_0x2c8a('0xe7')](_0x2c7a91=>_0x3c3547[_0x2c8a('0x170')](_0x428fa8=>_0x428fa8['containsRange'](_0x2c7a91,!0x0))))return _0x338913;}(!_0x338913['attributes']||!_0x338913['attributes'][_0x2c8a('0x98')])&&(_0x3c3547[_0x2c8a('0xe7')](_0x45b7a2=>_0x206dd8[_0x2c8a('0x170')](_0xe59a77=>_0xe59a77[_0x2c8a('0x155')](_0x45b7a2,!0x0)))&&_0x338913[_0x2c8a('0x111')]());}const _0x38acfb=_0x8e65af(),_0x5e80ad=_0x552506['id'],_0x3868f3=_0x2c8a('0xd2')+_0x15b37e,_0x1a1aa2=this[_0x2c8a('0x3e')]({'id':_0x38acfb,'type':_0x3868f3,'createdAt':new Date(),'authorId':_0x5e80ad,'attributes':_0xd9a6dd});for(const _0x4d60ce of _0x206dd8)_0x4d60ce['detach'](),_0x4d60ce[_0x2c8a('0x2')]||'$graveyard'==_0x4d60ce[_0x2c8a('0xd3')][_0x2c8a('0x42')]||this['_addSuggestionMarker'](_0x3868f3,_0x38acfb,_0x5e80ad,_0x4d60ce,_0x2517c2[_0x2c8a('0xb7')]());return _0x1a1aa2;}[_0x2c8a('0x101')](_0x537789,_0x352527,_0x43f8e8,_0x5d1ab6,_0x340e82){if(_0x537789[_0x2c8a('0x2')])return[];if('never'===this[_0x2c8a('0xe5')])return[];const _0x222dc1=this[_0x2c8a('0x5d')]['plugins'][_0x2c8a('0x10b')](_0x2c8a('0x41'))['me']['id'],_0x4fda96=Array[_0x2c8a('0x48')](this[_0x2c8a('0x3c')][_0x2c8a('0x4f')]())[_0x2c8a('0xc2')](_0x266afe=>_0x2c8a('0x5a')==_0x266afe[_0x2c8a('0x6e')]&&_0x266afe[_0x2c8a('0x35')][_0x2c8a('0x77')]==_0x352527&&_0x266afe[_0x2c8a('0x59')](_0x537789));if(_0x2c8a('0x53')===this[_0x2c8a('0xe5')]){const _0x7181ec=this[_0x2c8a('0xc8')](_0x537789,_0x2c8a('0x174'))[_0x2c8a('0xc2')](({meta:_0x59c005})=>_0x59c005[_0x2c8a('0x128')]&&!_0x59c005[_0x2c8a('0x90')]&&!_0x59c005[_0x2c8a('0x139')])['map'](({suggestion:_0x1fb078})=>_0x1fb078);_0x4fda96[_0x2c8a('0x7e')](..._0x7181ec);}const _0x371dad=new Map([[_0x537789,_0x43f8e8]]);for(const _0x24a4b0 of _0x4fda96){const _0x6ee365=_0x2c8a('0x5a')==_0x24a4b0[_0x2c8a('0x6e')]?_0x24a4b0['data'][_0x2c8a('0x58')]:void 0x0,_0x1d24b5=_0x24a4b0[_0x2c8a('0xc3')](),_0x300297=Array[_0x2c8a('0x48')](_0x371dad[_0x2c8a('0x63')]())[_0x2c8a('0xce')](_0xb20813=>_0xb20813[_0x2c8a('0x86')](_0x1d24b5));if(!_0x300297)continue;const _0x7e06bd=_0x300297[_0x2c8a('0x12b')](_0x1d24b5);this[_0x2c8a('0xb9')](_0x352527)&&_0x2c8a('0x174')==_0x24a4b0[_0x2c8a('0x6e')]&&0x0!=_0x7e06bd['length']||(_0x371dad[_0x2c8a('0xb4')](_0x300297),_0x7e06bd[_0x2c8a('0x168')](_0x3a19cf=>{_0x371dad[_0x2c8a('0x51')](_0x3a19cf,_0x43f8e8);}),_0x2c8a('0x174')!=_0x24a4b0[_0x2c8a('0x6e')]&&_0x6ee365!=_0x5d1ab6&&_0x371dad[_0x2c8a('0x51')](_0x300297[_0x2c8a('0xb0')](_0x1d24b5),_0x6ee365));}const _0x2a7d96=[];for(const [_0x56eace,_0x19c8e7]of _0x371dad){const _0x1694f2=_0x8e65af(),_0x154e22={'key':_0x352527,'oldValue':_0x19c8e7,'newValue':_0x5d1ab6};_0x352527['length']>0x25&&console['warn']('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.',{'key':_0x352527});const _0x44abc7=(_0x2c8a('0xe')+(_0x352527+'|'+Rt({'newValue':_0x5d1ab6})))['substring'](0x0,0x3c),_0x44a48e=this['_setSuggestionData']({'id':_0x1694f2,'type':_0x44abc7,'data':_0x154e22,'createdAt':new Date(),'authorId':_0x222dc1,'attributes':_0x340e82});_0x2a7d96[_0x2c8a('0x96')](_0x44a48e),this['_addSuggestionMarker'](_0x44abc7,_0x1694f2,_0x222dc1,_0x56eace);}return _0x2a7d96;}[_0x2c8a('0x2a')](_0x267f9f){this['_blockAttributeKeys'][_0x2c8a('0x1e')](_0x267f9f);}[_0x2c8a('0xdf')](_0x5d1177){this[_0x2c8a('0xba')][_0x2c8a('0x1e')](_0x5d1177);}[_0x2c8a('0x172')](_0xb155b1,_0x164b70=[],_0xfecb91=[]){this[_0x2c8a('0x171')](_0xb155b1,(_0x2376d3,..._0x1b57c9)=>{this[_0x2c8a('0xfd')](()=>{_0x2376d3(..._0x1b57c9);});});for(const _0xd7c533 of _0x164b70)this[_0x2c8a('0xdf')](_0xd7c533);for(const _0x34ace0 of _0xfecb91)this['_registerBlockAttribute'](_0x34ace0);}[_0x2c8a('0x2b')](_0x209c14,_0x337e2e){const _0x5a9fa8=_0x209c14[_0x2c8a('0x30')]();this[_0x2c8a('0xad')][_0x2c8a('0x132')](_0x23300f=>{_0x23300f['updateMarker'](_0x5a9fa8,{'range':_0x337e2e});});}[_0x2c8a('0xab')](_0x5c134f){const _0x43d8d6=_0x5c134f['id'],_0x23531e=this[_0x2c8a('0x5d')][_0x2c8a('0x134')][_0x2c8a('0x10b')](_0x2c8a('0x13d'));this['_commentsRepository']['hasCommentThread'](_0x43d8d6)||this[_0x2c8a('0x13e')][_0x2c8a('0x29')]({'channelId':_0x23531e,'threadId':_0x43d8d6,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x201133=this[_0x2c8a('0x13e')][_0x2c8a('0x93')](_0x43d8d6);_0x201133['unbind'](_0x2c8a('0xa7')),_0x201133[_0x2c8a('0xa7')]=!0x1,_0x5c134f['commentThread']=_0x201133;}['_checkSuggestionCorrectness'](_0xa78ec7,_0x47d743,_0x10e08d,_0x26cb72){if(_0xa78ec7[_0x2c8a('0x6e')]!=_0x47d743||_0xa78ec7[_0x2c8a('0xf6')]!=_0x10e08d||_0xa78ec7[_0x2c8a('0xa4')]['id']!=_0x26cb72)throw this[_0x2c8a('0x5d')][_0x2c8a('0x87')](_0x2c8a('0xaf')),new _0x2c981f('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x448b53,_0xbf986d){const _0x330c12=_0x448b53[_0x2c8a('0xc3')]();if(_0xbf986d[_0x2c8a('0x16b')](_0x330c12))_0x448b53['removeMarkers']();else{if(_0x330c12[_0x2c8a('0x155')](_0xbf986d)){const _0x252563=this[_0x2c8a('0xad')][_0x2c8a('0xe4')](_0xbf986d[_0x2c8a('0x149')][_0x2c8a('0xcf')],_0x2c8a('0xed'));this[_0x2c8a('0x2b')](_0x448b53,this['_model'][_0x2c8a('0x146')](_0x330c12[_0x2c8a('0x149')],_0x252563));const _0x2c0235=_0x8e65af(),_0x16624d=_0x448b53[_0x2c8a('0xa4')]['id'],_0x566b57=_0x448b53[_0x2c8a('0x6e')]+':'+_0x448b53[_0x2c8a('0xf6')];this[_0x2c8a('0x3e')]({'id':_0x2c0235,'type':_0x566b57,'createdAt':new Date(),'authorId':_0x16624d,'data':_0x448b53[_0x2c8a('0x35')],'attributes':_0x448b53[_0x2c8a('0x5c')]});const _0x43a262=this['_model'][_0x2c8a('0xe4')](_0xbf986d[_0x2c8a('0xed')][_0x2c8a('0xbc')],_0x2c8a('0x162')),_0x114cdd=this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x43a262,_0x330c12[_0x2c8a('0xed')]);this['_addSuggestionMarker'](_0x566b57,_0x2c0235,_0x16624d,_0x114cdd);}else{if(_0x330c12['containsPosition'](_0xbf986d[_0x2c8a('0x149')])){const _0x25c6c9=this[_0x2c8a('0xad')][_0x2c8a('0xe4')](_0xbf986d[_0x2c8a('0x149')][_0x2c8a('0xcf')],'end');this['_setSuggestionRange'](_0x448b53,this['_model']['createRange'](_0x330c12[_0x2c8a('0x149')],_0x25c6c9));}else{const _0x2f6313=this[_0x2c8a('0xad')][_0x2c8a('0xe4')](_0xbf986d[_0x2c8a('0xed')][_0x2c8a('0xbc')],_0x2c8a('0x162'));this['_setSuggestionRange'](_0x448b53,this[_0x2c8a('0xad')]['createRange'](_0x2f6313,_0x330c12[_0x2c8a('0xed')]));}}}}[_0x2c8a('0x178')](_0x3191b7){for(const {suggestion:_0xbdccf4,meta:_0x129ee9}of this[_0x2c8a('0xc8')](_0x3191b7,'insertion')){if(!_0x129ee9['isOwn'])continue;const _0x44104b=_0xbdccf4['getRanges']();for(const _0x217724 of _0x44104b)if(!_0x3191b7[_0x2c8a('0x12b')](_0x217724)[_0x2c8a('0x10')])return!0x0;}return!0x1;}[_0x2c8a('0x177')](_0x168887){const _0x28642a=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')][_0x2c8a('0x10b')]('Users')['getUser'](_0x168887);if(!_0x28642a)throw new _0x2c981f(_0x2c8a('0x15b'),this);return _0x28642a;}[_0x2c8a('0x126')](_0x345765){const _0x3a12db=this['editor'][_0x2c8a('0x9d')]['get'](_0x2c8a('0x41')),_0x4f25d5=_0x5cb55d(_0x2c8a('0x116')+_0x345765),_0x40c1f6=_0x3a12db[_0x2c8a('0xf7')](_0x4f25d5);return _0x40c1f6||_0x3a12db[_0x2c8a('0x37')]({'id':_0x4f25d5,'name':_0x345765});}[_0x2c8a('0x145')](_0x5772d7,_0x4ccfed,_0x4bd222,_0x1aeb04,_0x12af09){const _0x4b3016=this[_0x2c8a('0x177')](_0x1aeb04),_0x18c505=this[_0x2c8a('0x19')][_0x2c8a('0x1')](_0x5772d7,_0x4ccfed,_0x4bd222,_0x4b3016,_0x12af09,_0x244146=>this[_0x2c8a('0x112')](_0x4bd222,{'attributes':_0x244146}));return this[_0x2c8a('0x78')](_0x18c505,_0x2c8a('0x167'),()=>{this[_0x2c8a('0x112')](_0x4bd222,{'state':_0x2c8a('0xd9')});},{'priority':_0x2c8a('0x36')}),this[_0x2c8a('0x78')](_0x18c505,'discard',()=>{this[_0x2c8a('0x112')](_0x4bd222,{'state':_0x2c8a('0x1b')});},{'priority':_0x2c8a('0x36')}),this[_0x2c8a('0x3c')][_0x2c8a('0x51')](_0x4bd222,_0x18c505),this[_0x2c8a('0x169')][_0x2c8a('0x51')](_0x18c505,_0x2c8a('0xe3')),_0x18c505;}['_splitMarkerName'](_0x4550f8){const _0x48878b=_0x4550f8[_0x2c8a('0x1c')](':');return{'group':_0x48878b[0x0],'type':_0x48878b[0x1],'subType':_0x48878b['length']>=0x5?_0x48878b[0x2]:null,'id':_0x48878b[_0x2c8a('0x10')]<0x5?_0x48878b[0x2]:_0x48878b[0x3],'authorId':_0x48878b['length']<0x5?_0x48878b[0x3]:_0x48878b[0x4],'markerCount':0x6==_0x48878b['length']?_0x48878b[0x5]:null};}[_0x2c8a('0x151')](_0x34e685,_0x577d69,_0x4b0ba6){const _0x2341c8=_0x34e685[_0x2c8a('0xc3')](),_0xb16e7f=_0x2341c8[_0x2c8a('0x149')],_0x1e83a9=_0x2341c8[_0x2c8a('0xed')];this[_0x2c8a('0x2b')](_0x34e685,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0xb16e7f,_0x577d69));const _0x29a35d=_0x8e65af(),_0x312836=_0x34e685[_0x2c8a('0xa4')]['id'],_0x3ac0cd=_0x34e685[_0x2c8a('0x6e')]+(_0x34e685[_0x2c8a('0xf6')]?':'+_0x34e685['subType']:'');this['_setSuggestionData']({'id':_0x29a35d,'type':_0x3ac0cd,'createdAt':new Date(),'authorId':_0x312836,'originalSuggestionId':_0x34e685['id'],'attributes':_0x34e685[_0x2c8a('0x5c')],'data':_0x34e685[_0x2c8a('0x35')]});const _0x1cd884=Pt(_0x34e685);(_0x2c8a('0x110')==_0x34e685['type']||_0x1cd884&&this['_isBlockAttribute'](_0x1cd884))&&(_0x4b0ba6=this['_model']['createPositionBefore'](_0x4b0ba6['parent'])),this['_addSuggestionMarker'](_0x3ac0cd,_0x29a35d,_0x312836,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x4b0ba6,_0x1e83a9));}['_findSuggestions'](_0x551cc6,_0x3ff0c3=null){const _0x35d55f=[],_0x5f46b7=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')][_0x2c8a('0x10b')]('Users')['me'];Array[_0x2c8a('0x6b')](_0x551cc6)||(_0x551cc6=[_0x551cc6]);for(const _0x31481c of this[_0x2c8a('0x5f')]()){if(!_0x31481c['isInContent'])continue;if(_0x3ff0c3&&_0x31481c[_0x2c8a('0x6e')]!=_0x3ff0c3)continue;let _0x5af702=!0x1;for(const _0x10bf59 of _0x31481c[_0x2c8a('0x60')]()){for(const _0x5dd744 of _0x551cc6){const _0x154c24=_0x5dd744[_0x2c8a('0x149')][_0x2c8a('0x16b')](_0x10bf59[_0x2c8a('0xed')])||_0x5dd744[_0x2c8a('0xed')][_0x2c8a('0x16b')](_0x10bf59['start']);if(_0x154c24||_0x5dd744[_0x2c8a('0xb0')](_0x10bf59)){const _0x4190bd=_0x5dd744[_0x2c8a('0x155')](_0x10bf59)&&Tt(this[_0x2c8a('0xad')][_0x2c8a('0x154')],_0x10bf59[_0x2c8a('0x149')],_0x5dd744),_0x18663d=_0x10bf59[_0x2c8a('0x155')](_0x5dd744)&&Tt(this[_0x2c8a('0xad')]['schema'],_0x5dd744['start'],_0x10bf59);_0x35d55f[_0x2c8a('0x96')]({'suggestion':_0x31481c,'meta':{'isOwn':_0x5f46b7==_0x31481c[_0x2c8a('0x12e')],'isNextTo':_0x154c24,'isInsideObject':_0x4190bd,'containsRangeInObject':_0x18663d}}),_0x5af702=!0x0;break;}}if(_0x5af702)break;}}return _0x35d55f;}[_0x2c8a('0x74')](_0x808dca,_0x3697af,_0x42531e,_0x5bae42,_0x59decc){this['_model'][_0x2c8a('0x132')](_0x3c2219=>{let _0x1b3a6c=_0x2c8a('0x150')+_0x808dca+':'+_0x3697af+':'+_0x42531e;_0x59decc&&(_0x1b3a6c=_0x1b3a6c+':'+_0x59decc),_0x3c2219[_0x2c8a('0x11b')](_0x1b3a6c,{'range':_0x5bae42,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2c8a('0x16')](_0x30017c){const _0x385d6a=_0x30017c[_0x2c8a('0x91')],_0x542465=_0x30017c['next'];_0x30017c[_0x2c8a('0x91')]=null,_0x30017c[_0x2c8a('0x81')]=null,null!=_0x385d6a&&(_0x385d6a['next']=_0x542465),null!=_0x542465&&(_0x542465['previous']=_0x385d6a),_0x2c8a('0x159')==this[_0x2c8a('0x169')][_0x2c8a('0x10b')](_0x30017c)&&(this['_suggestionState'][_0x2c8a('0x51')](_0x30017c,_0x2c8a('0x43')),this[_0x2c8a('0x8e')](_0x2c8a('0xda'),_0x30017c,_0x385d6a,_0x542465));}[_0x2c8a('0x3e')](_0x35a6d2){const _0x5ba2ea=_0x35a6d2['id'],_0x36cfad=this[_0x2c8a('0x64')](_0x35a6d2);if(this[_0x2c8a('0x16f')]&&this[_0x2c8a('0x16f')][_0x2c8a('0xae')]){const _0x4d1803=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')][_0x2c8a('0x10b')](_0x2c8a('0x131')),_0x3147a3=_0x36cfad[_0x2c8a('0x115')],_0x4d83ab=_0x36cfad[_0x2c8a('0xf6')]?_0x36cfad[_0x2c8a('0x6e')]+':'+_0x36cfad['subType']:_0x36cfad[_0x2c8a('0x6e')],_0x26dcfa=this['editor'][_0x2c8a('0x6c')],_0x49247c=_0x4d1803[_0x2c8a('0x1e')](_0x1c53ec(_0x26dcfa,_0x2c8a('0x55'))),_0x3fdd9c={'id':_0x5ba2ea,'type':_0x4d83ab,'hasComments':_0x3147a3,'data':_0x35a6d2['data']||null,'originalSuggestionId':_0x35a6d2[_0x2c8a('0xdb')]||null,'attributes':_0x36cfad[_0x2c8a('0x5c')]};this[_0x2c8a('0x16f')][_0x2c8a('0xae')](_0x3fdd9c)['then'](_0x580a37=>{_0x36cfad[_0x2c8a('0x20')]=!0x0,_0x4d1803[_0x2c8a('0x57')](_0x49247c),_0x580a37&&_0x580a37[_0x2c8a('0x14d')]&&(this['_suggestions'][_0x2c8a('0x10b')](_0x5ba2ea)[_0x2c8a('0x14d')]=_0x580a37[_0x2c8a('0x14d')]);})[_0x2c8a('0xfc')](_0x58ddf1=>{throw _0x1dfdc0(_0x2c8a('0x130')),this['editor'][_0x2c8a('0xa9')][_0x2c8a('0x127')]({'isUndoable':!0x1},()=>{_0x36cfad[_0x2c8a('0x111')]();}),_0x36cfad[_0x2c8a('0xbb')](),this['_suggestions']['delete'](_0x36cfad['id']),this[_0x2c8a('0x169')][_0x2c8a('0xb4')](_0x36cfad),_0x58ddf1;});}return _0x36cfad;}['_isBlockAttribute'](_0x4b1555){return this[_0x2c8a('0xbf')][_0x2c8a('0x123')](_0x4b1555);}[_0x2c8a('0x112')](_0x29f480,_0x547ff7){const _0x1aff8d=this['editor'][_0x2c8a('0x9d')][_0x2c8a('0x10b')](_0x2c8a('0x131')),_0x5f56a5=this[_0x2c8a('0xf9')](_0x29f480);if(this[_0x2c8a('0x16f')]&&this[_0x2c8a('0x16f')]['updateSuggestion']){if(_0x5f56a5['_saved']){const _0x237088=_0x1aff8d[_0x2c8a('0x1e')](_0x1c53ec(this['editor'][_0x2c8a('0x6c')],_0x2c8a('0x55')));this['_adapter']['updateSuggestion'](_0x29f480,_0x547ff7)[_0x2c8a('0x10e')](()=>{_0x1aff8d['remove'](_0x237088);});}else _0x5f56a5['on'](_0x2c8a('0x11d'),()=>{this[_0x2c8a('0x112')](_0x29f480,_0x547ff7);});}}[_0x2c8a('0x14e')](_0x4b8122){if(!this[_0x2c8a('0x16f')]||!this[_0x2c8a('0x16f')][_0x2c8a('0xf9')])throw new _0x2c981f('track-changes-adapter-missing-getsuggestion',this);return this[_0x2c8a('0x16f')][_0x2c8a('0xf9')](_0x4b8122);}[_0x2c8a('0x46')](_0x11e572){const {id:_0x1a4b4f,type:_0x1444eb,subType:_0xc638c4,authorId:_0x3cabba}=this['_splitMarkerName'](_0x11e572),_0x20d2d6=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x1a4b4f)||this[_0x2c8a('0x145')](_0x1444eb,_0xc638c4,_0x1a4b4f,_0x3cabba,{});switch(this[_0x2c8a('0x129')](_0x20d2d6,_0x1444eb,_0xc638c4,_0x3cabba),this[_0x2c8a('0x169')][_0x2c8a('0x10b')](_0x20d2d6)){case _0x2c8a('0xe3'):this[_0x2c8a('0x14e')](_0x1a4b4f)[_0x2c8a('0x10e')](_0x25cbbf=>{let _0x2f9aae=Promise['resolve']();_0x25cbbf['hasComments']&&(_0x2f9aae=this[_0x2c8a('0x13e')]['fetchCommentThread']({'channelId':this[_0x2c8a('0x5d')][_0x2c8a('0x134')][_0x2c8a('0x10b')](_0x2c8a('0x13d')),'threadId':_0x1a4b4f})),_0x2f9aae[_0x2c8a('0x10e')](()=>{this['addSuggestionData'](_0x25cbbf)[_0x2c8a('0x20')]=!0x0;});}),this[_0x2c8a('0x169')]['set'](_0x20d2d6,_0x2c8a('0x15c'));break;case _0x2c8a('0x43'):this[_0x2c8a('0x112')](_0x1a4b4f,{'state':_0x2c8a('0x84')});case _0x2c8a('0xa1'):this[_0x2c8a('0x169')][_0x2c8a('0x51')](_0x20d2d6,_0x2c8a('0x159')),this[_0x2c8a('0x8e')](_0x2c8a('0x11'),_0x20d2d6);break;case _0x2c8a('0x159'):this['fire'](_0x2c8a('0x0'),_0x20d2d6);}return _0x20d2d6[_0x2c8a('0xde')](_0x11e572),_0x20d2d6;}[_0x2c8a('0x10a')](_0xde681){const _0x57aed6=Array[_0x2c8a('0x48')](_0xde681),_0x35a1ec=_0x57aed6['filter'](_0x13dfd1=>'attribute'==_0x13dfd1[_0x2c8a('0x6e')]);this[_0x2c8a('0x72')](_0x35a1ec);const _0x4a35a=_0x57aed6[_0x2c8a('0xc2')](_0x554278=>!_0x554278[_0x2c8a('0x44')]&&_0x2c8a('0x5a')!=_0x554278[_0x2c8a('0x6e')]),_0x3e6ca4=this[_0x2c8a('0x5f')]({'skipNotAttached':!0x0})[_0x2c8a('0xc2')](_0x58a090=>!_0x58a090[_0x2c8a('0x44')]&&_0x2c8a('0x5a')!=_0x58a090['type']),_0x10bddb=_0x3e6ca4[_0x2c8a('0xc2')](_0x1b17f9=>!_0xde681[_0x2c8a('0x123')](_0x1b17f9)),_0x9c0b77=new Map(_0x3e6ca4[_0x2c8a('0x68')](_0x6bf404=>[_0x6bf404,this['_suggestionFactory'][_0x2c8a('0x108')](_0x6bf404['type'],_0x6bf404[_0x2c8a('0xf6')],_0x2c8a('0x102'))])),_0x16eb76=new Map(_0x3e6ca4[_0x2c8a('0x68')](_0x25d758=>[_0x25d758,_0x25d758[_0x2c8a('0xc3')]()])),_0x4aa88e=new Set(),_0x516e39=new Set();for(let _0x484733=0x0;_0x484733<_0x4a35a['length'];_0x484733++)_0x6fcfa2(_0x4a35a[_0x484733],_0x4a35a,_0x484733+0x1);for(let _0x5f35e1=0x0;_0x5f35e1<_0x4a35a[_0x2c8a('0x10')];_0x5f35e1++)_0x6fcfa2(_0x4a35a[_0x5f35e1],_0x10bddb,0x0);const _0x499f2d=new Set();for(let _0x3e3dac=0x0;_0x3e3dac<_0x4a35a[_0x2c8a('0x10')];_0x3e3dac++){const _0x891e8d=_0x4a35a[_0x3e3dac];!_0x516e39[_0x2c8a('0x123')](_0x891e8d)&&_0x891e8d[_0x2c8a('0x91')]&&(_0x499f2d[_0x2c8a('0x1e')](_0x891e8d[_0x2c8a('0x91')]),_0x891e8d['previous']['next']===_0x891e8d&&(_0x891e8d[_0x2c8a('0x91')][_0x2c8a('0x81')]=null),_0x891e8d[_0x2c8a('0x91')]=null),!_0x4aa88e[_0x2c8a('0x123')](_0x891e8d)&&_0x891e8d[_0x2c8a('0x81')]&&(_0x499f2d[_0x2c8a('0x1e')](_0x891e8d[_0x2c8a('0x81')]),_0x891e8d['next'][_0x2c8a('0x91')]===_0x891e8d&&(_0x891e8d[_0x2c8a('0x81')][_0x2c8a('0x91')]=null),_0x891e8d[_0x2c8a('0x81')]=null);}function _0x6fcfa2(_0x38eacb,_0x557c92,_0x2fe5fd){for(let _0x3e1779=_0x2fe5fd;_0x3e1779<_0x557c92['length'];_0x3e1779++){const _0x223f72=_0x1698b9(_0x38eacb,_0x557c92[_0x3e1779]);_0x223f72&&(_0x223f72[0x0][_0x2c8a('0x81')]=_0x223f72[0x1],_0x223f72[0x1][_0x2c8a('0x91')]=_0x223f72[0x0],_0x4aa88e[_0x2c8a('0x1e')](_0x223f72[0x0]),_0x516e39['add'](_0x223f72[0x1]));}}function _0x1698b9(_0x489d06,_0x2cf987){if(_0x489d06[_0x2c8a('0x12e')]['id']!==_0x2cf987[_0x2c8a('0x12e')]['id'])return null;const _0xd93806=_0x9c0b77[_0x2c8a('0x10b')](_0x489d06)(_0x489d06,_0x2cf987,_0x16eb76[_0x2c8a('0x10b')](_0x489d06),_0x16eb76['get'](_0x2cf987));if(!_0xd93806)return null;return _0x9c0b77['get'](_0x2cf987)(_0x489d06,_0x2cf987,_0x16eb76[_0x2c8a('0x10b')](_0x489d06),_0x16eb76[_0x2c8a('0x10b')](_0x2cf987))?_0xd93806[0x1][_0x2c8a('0x2f')]&&_0xd93806[0x1][_0x2c8a('0x2f')][_0x2c8a('0x10')]?null:_0xd93806:null;}_0x499f2d[_0x2c8a('0x118')]&&this[_0x2c8a('0x10a')](_0x499f2d);}[_0x2c8a('0x72')](_0x3b3bc1){if(0x0==_0x3b3bc1[_0x2c8a('0x10')])return;const _0x5d4798=this[_0x2c8a('0x5f')]({'skipNotAttached':!0x0})[_0x2c8a('0xc2')](_0x56b353=>_0x2c8a('0x5a')==_0x56b353['type']&&_0x56b353[_0x2c8a('0xd7')]),_0x513c90=[],_0x6e43c9=new Map();for(const _0x457fd8 of _0x5d4798){const _0x2f0702=_0x5cb55d(_0x457fd8[_0x2c8a('0x5c')]);_0x6e43c9[_0x2c8a('0x123')](_0x2f0702)||(_0x6e43c9[_0x2c8a('0x51')](_0x2f0702,_0x513c90['length']),_0x513c90[_0x2c8a('0x96')]([]));const _0x503706=_0x6e43c9[_0x2c8a('0x10b')](_0x2f0702);_0x513c90[_0x503706][_0x2c8a('0x96')](_0x457fd8);}!function(){_0x513c90[_0x2c8a('0x13b')]((_0x5178af,_0x45ef13)=>{const _0x251e0a=_0x5178af[0x0][_0x2c8a('0x14d')],_0x451ff3=_0x45ef13[0x0][_0x2c8a('0x14d')];return _0x251e0a==_0x451ff3?_0x5178af[0x0][_0x2c8a('0x5c')]['groupId']<_0x45ef13[0x0][_0x2c8a('0x5c')]['groupId']?-0x1:0x1:_0x251e0a<_0x451ff3?-0x1:0x1;});for(const _0x50d9c2 of _0x513c90)_0x50d9c2[_0x2c8a('0x13b')]((_0x26a8fc,_0x33b617)=>_0x26a8fc['id']<_0x33b617['id']?-0x1:0x1);}();for(let _0x151cd6=0x0;_0x151cd6<_0x513c90[_0x2c8a('0x10')];_0x151cd6++){if(0x0==_0x513c90[_0x151cd6]['length'])continue;const _0x4f9400=[];for(let _0x23ebe6=_0x151cd6+0x1;_0x23ebe6<_0x513c90[_0x2c8a('0x10')];_0x23ebe6++)0x0!=_0x513c90[_0x23ebe6]['length']&&_0x30354a(_0x513c90[_0x151cd6],_0x513c90[_0x23ebe6])&&_0x4f9400[_0x2c8a('0x96')](_0x23ebe6);for(const _0x3b3927 of _0x4f9400)_0x513c90[_0x151cd6]=_0x513c90[_0x151cd6][_0x2c8a('0xcb')](_0x513c90[_0x3b3927]),_0x513c90[_0x3b3927]=[];}for(const _0x5cc1b4 of _0x513c90)for(let _0x34dfdc=0x0;_0x34dfdc<_0x5cc1b4['length'];_0x34dfdc++)_0x5cc1b4[_0x34dfdc][_0x2c8a('0x81')]=_0x5cc1b4[_0x34dfdc+0x1]||null;for(const _0x3ad241 of _0x513c90)for(let _0x35d6f8=0x0;_0x35d6f8<_0x3ad241['length'];_0x35d6f8++)_0x3ad241[_0x35d6f8][_0x2c8a('0x91')]=_0x3ad241[_0x35d6f8-0x1]||null;function _0x30354a(_0x74c913,_0x3296a8){if(_0x74c913[0x0][_0x2c8a('0x12e')]!==_0x3296a8[0x0]['author'])return!0x1;if(!function(_0x352da9,_0x570e89){if(!_0x352da9[_0x2c8a('0x115')]&&!_0x570e89[_0x2c8a('0x115')])return!0x0;if(_0x352da9[_0x2c8a('0x115')]&&_0x570e89[_0x2c8a('0x115')])return!0x1;if(_0x352da9[_0x2c8a('0x115')]&&_0x570e89[_0x2c8a('0x14d')]<_0x352da9[_0x2c8a('0x2f')][_0x2c8a('0xbe')]['get'](0x0)[_0x2c8a('0x14d')])return!0x0;if(_0x570e89['hasComments']&&_0x352da9[_0x2c8a('0x14d')]<_0x570e89[_0x2c8a('0x2f')][_0x2c8a('0xbe')][_0x2c8a('0x10b')](0x0)[_0x2c8a('0x14d')])return!0x0;return!0x1;}(_0x74c913[0x0],_0x3296a8[0x0]))return!0x1;const _0x883b41=_0x33ca97(_0x74c913[0x0][_0x2c8a('0x5c')],_0x2c8a('0x10c')),_0x5d1f6c=_0x33ca97(_0x3296a8[0x0][_0x2c8a('0x5c')],_0x2c8a('0x10c'));if(!_0x34db3f(_0x883b41,_0x5d1f6c))return!0x1;return!!_0x74c913['every'](_0x115266=>_0x3296a8[_0x2c8a('0x170')](_0x3d9c9e=>_0x115266[_0x2c8a('0xc3')]()[_0x2c8a('0x16b')](_0x3d9c9e[_0x2c8a('0xc3')]())))&&_0x3296a8[_0x2c8a('0xe7')](_0x23cee1=>_0x74c913['some'](_0x55b201=>_0x23cee1['getFirstRange']()[_0x2c8a('0x16b')](_0x55b201[_0x2c8a('0xc3')]())));}}[_0x2c8a('0xfa')](_0x25f87f){const _0x4dae12=Array[_0x2c8a('0x48')](_0x25f87f),_0x15ad72=this[_0x2c8a('0x5f')]({'skipNotAttached':!0x0}),_0x5e12bd=_0x15ad72['filter'](_0x362539=>!_0x25f87f[_0x2c8a('0x123')](_0x362539)),_0x45e0ef=new Map(_0x4dae12[_0x2c8a('0x68')](_0x5adbd1=>[_0x5adbd1,this[_0x2c8a('0x19')]['getSuggestionCallback'](_0x5adbd1[_0x2c8a('0x6e')],_0x5adbd1[_0x2c8a('0xf6')],_0x2c8a('0x10d'))])),_0x573663=new Map(_0x15ad72['map'](_0x554236=>[_0x554236,_0x554236[_0x2c8a('0x60')]()]));for(let _0x51aa73=0x0;_0x51aa73<_0x4dae12[_0x2c8a('0x10')];_0x51aa73++){if(_0x3d43fc(this,_0x4dae12[_0x51aa73],_0x4dae12,_0x51aa73+0x1))return!0x0;}for(let _0x98ff67=0x0;_0x98ff67<_0x4dae12[_0x2c8a('0x10')];_0x98ff67++){if(_0x3d43fc(this,_0x4dae12[_0x98ff67],_0x5e12bd,0x0))return!0x0;}return!0x1;function _0x3d43fc(_0x2277ac,_0x51c6d1,_0x424560,_0x548a00){for(let _0x3b480b=_0x548a00;_0x3b480b<_0x424560[_0x2c8a('0x10')];_0x3b480b++){const _0x3759fa=_0x424560[_0x3b480b];if(_0x3759fa[_0x2c8a('0x6e')]!==_0x51c6d1[_0x2c8a('0x6e')]||_0x3759fa[_0x2c8a('0x12e')]['id']!==_0x51c6d1['author']['id']||_0x3759fa[_0x2c8a('0xf6')]!==_0x51c6d1[_0x2c8a('0xf6')])continue;if(!Vt(_0x51c6d1,_0x3759fa))continue;if(_0x2c8a('0x5a')==_0x51c6d1[_0x2c8a('0x6e')]&&_0x51c6d1[_0x2c8a('0x35')]['oldValue']!=_0x3759fa[_0x2c8a('0x35')][_0x2c8a('0x58')])continue;if(_0x2c8a('0x5a')==_0x51c6d1[_0x2c8a('0x6e')]&&_0x2277ac[_0x2c8a('0xb9')](_0x51c6d1['data'][_0x2c8a('0x77')]))continue;if(_0x2c8a('0x110')==_0x51c6d1[_0x2c8a('0x6e')]){const _0x45a43a=_0x2277ac['editor'][_0x2c8a('0xa9')],_0x1a015c=_0x51c6d1[_0x2c8a('0x3')]();if(_0x1a015c&&(_0x45a43a['schema'][_0x2c8a('0xf8')](_0x1a015c)||_0x45a43a['schema']['isLimit'](_0x1a015c)))continue;}const _0x4e9b16=_0x45e0ef[_0x2c8a('0x10b')](_0x51c6d1),_0x1cc414=_0x573663[_0x2c8a('0x10b')](_0x51c6d1),_0x29033c=_0x573663[_0x2c8a('0x10b')](_0x3759fa),_0x4384ae=_0x51c6d1[_0x2c8a('0x2f')]&&_0x51c6d1[_0x2c8a('0x2f')]['length'],_0x48316d=_0x3759fa[_0x2c8a('0x2f')]&&_0x3759fa[_0x2c8a('0x2f')][_0x2c8a('0x10')];if(!_0x4384ae&&_0x4e9b16(_0x29033c,_0x1cc414))return _0x2277ac[_0x2c8a('0x62')](_0x3759fa,_0x51c6d1),_0x573663[_0x2c8a('0xb4')](_0x51c6d1),!0x0;if(!_0x48316d&&_0x4e9b16(_0x1cc414,_0x29033c))return _0x2277ac[_0x2c8a('0x62')](_0x51c6d1,_0x3759fa),_0x573663[_0x2c8a('0xb4')](_0x3759fa),!0x0;}return!0x1;}}[_0x2c8a('0x62')](_0x3e558a,_0x3b0631){if(_0x3e558a['isMultiRange'])for(const _0x178684 of _0x3b0631[_0x2c8a('0x60')]())_0x3e558a[_0x2c8a('0x13a')](_0x178684);else{const _0x5edb8a=_0x3b0631[_0x2c8a('0xc3')]()['end'];this[_0x2c8a('0x2b')](_0x3e558a,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x3e558a['getFirstRange']()[_0x2c8a('0x149')],_0x5edb8a));}_0x3b0631[_0x2c8a('0x148')]();}['_getMarkerAnnouncementText'](_0x300ba3,_0x4b44a9){const _0x5c9992=_0x300ba3[_0x2c8a('0x4c')](_0x2c8a('0x121'))||_0x300ba3['startsWith']('attribute')?_0x2c8a('0x16e'):_0x300ba3[_0x2c8a('0x49')]();return _0x1c53ec(this[_0x2c8a('0x5d')]['locale'],_0x4b44a9+'_'+_0x5c9992+_0x2c8a('0x11f'));}[_0x2c8a('0x13c')](){const _0x35b51d=this[_0x2c8a('0x5d')];_0x3cc4ba(this['_model'],({left:_0x5293a1,entered:_0x5ca400})=>{const _0x2a624e=[];for(const _0xe99224 of _0x5293a1){const {group:_0xa0357,type:_0x200447}=this['_splitMarkerName'](_0xe99224['name']);if(_0x2c8a('0x13')===_0xa0357){_0x2a624e[_0x2c8a('0x96')](this['_getMarkerAnnouncementText'](_0x200447,_0x2c8a('0x14f')));break;}}for(const _0x53198e of _0x5ca400){const {group:_0x452bed,type:_0x55d3a6}=this[_0x2c8a('0x50')](_0x53198e[_0x2c8a('0x38')]);if(_0x2c8a('0x13')===_0x452bed){_0x2a624e[_0x2c8a('0x96')](this[_0x2c8a('0xa5')](_0x55d3a6,'ENTER'));break;}}_0x2a624e[_0x2c8a('0x10')]&&_0x35b51d['ui'][_0x2c8a('0x3f')][_0x2c8a('0x99')](_0x2c8a('0xbd'),_0x2a624e[_0x2c8a('0x10d')]('\x20'));});}[_0x2c8a('0xc1')](_0x2b0867){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x37ae0d=this[_0x2c8a('0x5d')],_0xe728aa=_0x37ae0d[_0x2c8a('0xa9')]['document'][_0x2c8a('0x12')]['getChanges']();if(0x0==_0xe728aa['length'])return!0x1;const _0x51881e=[],_0x40fd9d=_0xe728aa[_0x2c8a('0xc2')](_0x12f07e=>_0x2c8a('0x5a')==_0x12f07e['type']),_0x3e663a=_0xe728aa[_0x2c8a('0xc2')](_0x26c834=>'insert'==_0x26c834[_0x2c8a('0x6e')]&&'$text'!=_0x26c834[_0x2c8a('0x38')]),_0x35646f=_0xe728aa[_0x2c8a('0xc2')](_0x576844=>'remove'==_0x576844[_0x2c8a('0x6e')]&&_0x2c8a('0x16c')!=_0x576844[_0x2c8a('0x38')]);for(const _0x96f204 of _0x40fd9d)_0x51881e[_0x2c8a('0x96')]({'key':_0x96f204[_0x2c8a('0x12c')],'newValue':_0x96f204[_0x2c8a('0x5')],'oldValue':_0x96f204[_0x2c8a('0x153')],'range':_0x594d0e(_0x96f204[_0x2c8a('0x7b')])});for(const _0x3216a9 of _0x3e663a){const _0x2fd6ec=_0x35646f['find'](_0x235faa=>_0x235faa[_0x2c8a('0xfb')][_0x2c8a('0x16b')](_0x3216a9[_0x2c8a('0xfb')]));_0x2fd6ec&&_0x51881e[_0x2c8a('0x96')]({'key':_0x2c8a('0x135'),'newValue':_0x3216a9[_0x2c8a('0x38')],'oldValue':_0x2fd6ec[_0x2c8a('0x38')],'range':_0x37ae0d[_0x2c8a('0xa9')][_0x2c8a('0x15')](_0x3216a9['position']['nodeAfter'])});}return 0x0!=_0x51881e['length']&&this['_reduceExistingSuggestions'](_0x2b0867,_0x51881e);function _0x594d0e(_0x55a963){return null==_0x55a963[_0x2c8a('0xed')]['nodeBefore']&&_0x55a963[_0x2c8a('0xed')][_0x2c8a('0xbc')]==_0x55a963[_0x2c8a('0x149')][_0x2c8a('0x92')]?Ut(_0x55a963[_0x2c8a('0x149')][_0x2c8a('0x92')],_0x37ae0d[_0x2c8a('0xa9')]):_0x55a963;}}[_0x2c8a('0x7')](_0x4e8e55){let _0x3b0dcd=!0x1;const _0x597530=this[_0x2c8a('0x5d')][_0x2c8a('0xa9')][_0x2c8a('0x4b')][_0x2c8a('0x12')][_0x2c8a('0x107')]()['filter'](_0x43853a=>_0x43853a[_0x2c8a('0x35')][_0x2c8a('0x9a')]&&_0x43853a['name'][_0x2c8a('0x4c')](_0x2c8a('0x12d')));for(const _0x232056 of _0x597530){const {subType:_0x1bc3d6,id:_0x6d62f4}=this[_0x2c8a('0x50')](_0x232056['name']),_0x45da72=_0x1bc3d6[_0x2c8a('0x1c')]('|')[0x0];for(const _0x1d3562 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x1d3562['id']!=_0x6d62f4&&'attribute'==_0x1d3562[_0x2c8a('0x6e')]&&_0x1d3562['data']&&_0x1d3562['data'][_0x2c8a('0x77')]==_0x45da72&&_0x1d3562['getFirstRange']()[_0x2c8a('0x86')](_0x232056['data'][_0x2c8a('0x9a')])&&(this[_0x2c8a('0xc0')](_0x1d3562,_0x232056['data'][_0x2c8a('0x9a')],_0x4e8e55),_0x3b0dcd=!0x0);}return _0x3b0dcd;}['_recordAttributeChanges'](_0x488d2b){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x488d2b();const _0x5d8822=this[_0x2c8a('0x5d')];this[_0x2c8a('0x5b')]=_0x5d8822['model'][_0x2c8a('0x4b')][_0x2c8a('0x152')],_0x488d2b();const _0x1938d3=new Map();for(const _0x5e40bc of _0x5d8822['model'][_0x2c8a('0x4b')][_0x2c8a('0x7a')]['getOperations'](this[_0x2c8a('0x5b')]))if([_0x2c8a('0x8a'),_0x2c8a('0x27'),_0x2c8a('0x12f'),_0x2c8a('0x6d')][_0x2c8a('0x17b')](_0x5e40bc[_0x2c8a('0x6e')])){const _0x2874a3=_0x5e40bc['batch'],_0x4a0a1d=_0x1938d3['get'](_0x2874a3)||[];_0x4a0a1d[_0x2c8a('0x96')](_0x5e40bc),_0x1938d3[_0x2c8a('0x51')](_0x2874a3,_0x4a0a1d);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x2c2b3f,_0x3e4a44]of _0x1938d3){const _0x50ccaf=_0x8e65af();_0x5d8822[_0x2c8a('0xa9')][_0x2c8a('0x127')](_0x2c2b3f,_0x126efd=>{const _0x15dda8=[];for(const _0x31fd0c of _0x3e4a44){let _0x2b1e22,_0x5e4047,_0x4bebd0,_0x3fe13f;if(_0x2c8a('0x8a')==_0x31fd0c['type']){const _0x4f3033=_0x31fd0c;_0x2b1e22=Ut(_0x4f3033[_0x2c8a('0xfb')][_0x2c8a('0x92')],_0x5d8822[_0x2c8a('0xa9')]),_0x5e4047=_0x2c8a('0x135'),_0x4bebd0=_0x4f3033[_0x2c8a('0xf')],_0x3fe13f=_0x4f3033[_0x2c8a('0x140')];}else{const _0x5bfab5=_0x31fd0c,_0x766878=this[_0x2c8a('0xb9')](_0x5bfab5[_0x2c8a('0x77')]),_0x5760cb=this[_0x2c8a('0xba')]['has'](_0x5bfab5['key']);if(!_0x766878&&!_0x5760cb)continue;_0x2b1e22=_0x766878?Ut(_0x5bfab5[_0x2c8a('0x7b')]['start'][_0x2c8a('0x92')],_0x5d8822[_0x2c8a('0xa9')]):_0x5bfab5[_0x2c8a('0x7b')],_0x5e4047=_0x5bfab5[_0x2c8a('0x77')],_0x4bebd0=_0x2c8a('0x12f')==_0x31fd0c['type']?void 0x0:_0x5bfab5['newValue'],_0x3fe13f=_0x5bfab5['oldValue'];}this[_0x2c8a('0x101')](_0x2b1e22,_0x5e4047,_0x3fe13f,_0x4bebd0,{'groupId':_0x50ccaf}),_0x15dda8[_0x2c8a('0x96')]({'range':_0x2b1e22,'key':_0x5e4047,'newValue':_0x4bebd0,'oldValue':_0x3fe13f});}this[_0x2c8a('0xc4')](_0x126efd,_0x15dda8);});}}[_0x2c8a('0xc4')](_0x3c799e,_0x2c3ddc){if(0x0==_0x2c3ddc[_0x2c8a('0x10')])return!0x1;let _0x27fb89=!0x1;for(const _0x39e553 of _0x2c3ddc){const _0x46a9ce=this[_0x2c8a('0xc8')](_0x39e553[_0x2c8a('0x7b')],'attribute')[_0x2c8a('0xc2')](_0x25bf24=>!_0x25bf24[_0x2c8a('0xca')][_0x2c8a('0x139')])[_0x2c8a('0x68')](_0x544c74=>_0x544c74[_0x2c8a('0x13')]),_0x405858=_0x5cb55d({'newValue':_0x39e553[_0x2c8a('0x2c')]});_0x46a9ce[_0x2c8a('0xc2')](_0x5b36f6=>{const [_0x1617d6,_0x6f12b5]=_0x5b36f6[_0x2c8a('0xf6')][_0x2c8a('0x1c')]('|');return _0x1617d6==_0x39e553[_0x2c8a('0x77')]&&_0x6f12b5!=_0x405858;})['forEach'](_0x49e62c=>{this[_0x2c8a('0xc0')](_0x49e62c,_0x39e553[_0x2c8a('0x7b')],_0x3c799e),_0x27fb89=!0x0;});}return _0x27fb89;}[_0x2c8a('0xc0')](_0x12de5f,_0x4ff6c1,_0x3815b4){const _0x28111e=_0x12de5f[_0x2c8a('0xc3')]()[_0x2c8a('0x12b')](_0x4ff6c1);0x0!==_0x28111e[_0x2c8a('0x10')]?0x1!==_0x28111e['length']?this[_0x2c8a('0x151')](_0x12de5f,_0x4ff6c1[_0x2c8a('0x149')],_0x4ff6c1['end']):this[_0x2c8a('0x2b')](_0x12de5f,_0x28111e[0x0]):_0x3815b4[_0x2c8a('0x18')](_0x12de5f[_0x2c8a('0x30')]());}}class Bt{constructor(_0xd404){this[_0x2c8a('0x76')]=_0xd404,this[_0x2c8a('0xad')]=_0xd404[_0x2c8a('0xa9')],this[_0x2c8a('0x24')]=new Map(),this[_0x2c8a('0xf2')]=new Map(),this[_0x2c8a('0xe0')]();}[_0x2c8a('0x1')](_0x20ca70,_0x1516bb,_0x4baaea,_0x12b702,_0x3ab5ef,_0x99af97){return new _0x2517c2(this[_0x2c8a('0xad')],{'type':_0x20ca70,'subType':_0x1516bb,'id':_0x4baaea,'author':_0x12b702,'creator':_0x12b702,'attributes':_0x3ab5ef,'onAttributesChange':_0x99af97,'onAccept':(..._0x5b3131)=>this[_0x2c8a('0x108')](_0x20ca70,_0x1516bb,_0x2c8a('0x167'))(..._0x5b3131),'onDiscard':(..._0x2ff328)=>this[_0x2c8a('0x108')](_0x20ca70,_0x1516bb,'discard')(..._0x2ff328)});}[_0x2c8a('0x175')](_0x37c029,_0x327f8a,_0x13f1fc,_0x2dff82){const _0x52a866=_0x37c029+':'+_0x327f8a+':'+_0x13f1fc;this[_0x2c8a('0x24')][_0x2c8a('0x51')](_0x52a866,_0x2dff82);}[_0x2c8a('0x108')](_0x2d759c,_0x52d53a,_0x2575bf){const _0x4a7f80=_0x2d759c+':'+_0x52d53a+':'+_0x2575bf;return this[_0x2c8a('0x24')]['get'](_0x4a7f80)||this['_defaultCallbacks'][_0x2c8a('0x10b')](_0x2d759c+':'+_0x2575bf);}[_0x2c8a('0xe0')](){const _0x1bb7d7=()=>!0x1,_0x1662a9=_0xddccc4=>{_0xddccc4[_0x2c8a('0x13b')]((_0x5148f2,_0x38b739)=>_0x5148f2[_0x2c8a('0x149')][_0x2c8a('0xeb')](_0x38b739[_0x2c8a('0x149')])?0x1:-0x1),this[_0x2c8a('0xad')]['change'](_0x4e613a=>{for(const _0x3d2546 of _0xddccc4){let _0x261b5e;_0x261b5e=_0x3d2546[_0x2c8a('0xed')][_0x2c8a('0x3d')]&&_0x3d2546[_0x2c8a('0xed')][_0x2c8a('0xbc')]==_0x3d2546[_0x2c8a('0x149')]['nodeAfter']?_0x4e613a['createSelection'](_0x3d2546[_0x2c8a('0x149')][_0x2c8a('0x92')],'on'):_0x4e613a['createSelection'](_0x3d2546),this['_model'][_0x2c8a('0xa8')](_0x261b5e,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x4ef8b9=(_0x105679,_0x282a2d)=>{_0x282a2d&&this['_model']['change'](_0x5cee8e=>{const {commandName:_0x2299bd,commandParams:_0x473b51=[]}=_0x282a2d,_0x34b4d5=_0x105679[_0x2c8a('0x68')](_0x1b9bf2=>(xt(_0x1b9bf2)&&(_0x1b9bf2=this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x1b9bf2['end'])),_0x1b9bf2))[_0x2c8a('0xc2')](_0x3fce8c=>_0x2c8a('0x14a')!==_0x3fce8c[_0x2c8a('0xd3')][_0x2c8a('0x42')]);if(_0x34b4d5['length']<0x1)return;const _0x190edd=Array[_0x2c8a('0x48')](this[_0x2c8a('0xad')][_0x2c8a('0x4b')][_0x2c8a('0x26')][_0x2c8a('0x60')]())[_0x2c8a('0x68')](_0xac9966=>_0x474640[_0x2c8a('0x109')](_0xac9966));_0x5cee8e['setSelection'](_0x34b4d5);for(const _0x3be155 of this[_0x2c8a('0x76')][_0x2c8a('0x11e')][_0x2c8a('0x11e')]())_0x3be155['refresh']();_0x473b51['push']({'forceDefaultExecution':!0x0}),this[_0x2c8a('0x76')][_0x2c8a('0x3b')](_0x2299bd,..._0x473b51);const _0x4dec5c=_0x190edd['filter'](_0x3e5b87=>_0x2c8a('0x14a')!=_0x3e5b87[_0x2c8a('0xd3')][_0x2c8a('0x42')]);_0x4dec5c[_0x2c8a('0x10')]>0x0&&_0x5cee8e[_0x2c8a('0xd4')](_0x4dec5c);for(const _0x48f648 of _0x190edd)_0x48f648[_0x2c8a('0x142')]();});},_0x5649b2=(_0x15d75c,_0x3a554e)=>0x1==_0x15d75c[_0x2c8a('0x10')]&&0x1==_0x3a554e['length']&&_0x15d75c[0x0][_0x2c8a('0xed')][_0x2c8a('0x16b')](_0x3a554e[0x0][_0x2c8a('0x149')]),_0x4256e=(_0x2df7d0,_0x4a3636,_0x4a350b,_0x491bcc)=>Ot(_0x2df7d0,_0x4a3636,_0x4a350b,_0x491bcc,this[_0x2c8a('0xad')])?[_0x2df7d0,_0x4a3636]:Ot(_0x4a3636,_0x2df7d0,_0x491bcc,_0x4a350b,this[_0x2c8a('0xad')])?[_0x4a3636,_0x2df7d0]:null;this[_0x2c8a('0xf2')]['set'](_0x2c8a('0xa3'),_0x1bb7d7),this[_0x2c8a('0xf2')]['set']('insertion:discard',_0x1662a9),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x3a'),_0x5649b2),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x165'),_0x4256e),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x11a'),_0x1662a9),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x33'),_0x1bb7d7),this['_defaultCallbacks'][_0x2c8a('0x51')](_0x2c8a('0x14'),_0x5649b2),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0xb6'),_0x4256e),this[_0x2c8a('0xf2')]['set']('formatInline:accept',_0x4ef8b9),this['_defaultCallbacks'][_0x2c8a('0x51')](_0x2c8a('0x114'),_0x1bb7d7),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x14c'),_0x5649b2),this[_0x2c8a('0xf2')][_0x2c8a('0x51')]('formatInline:chain',_0x1bb7d7),this[_0x2c8a('0xf2')]['set'](_0x2c8a('0x161'),_0x4ef8b9),this['_defaultCallbacks'][_0x2c8a('0x51')]('formatBlock:discard',_0x1bb7d7),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x163'),_0x5649b2),this['_defaultCallbacks'][_0x2c8a('0x51')](_0x2c8a('0xdc'),_0x1bb7d7),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0xdd'),_0x1bb7d7),this['_defaultCallbacks'][_0x2c8a('0x51')](_0x2c8a('0x179'),(_0x3ccef3,_0xb685f3)=>{if(!_0xb685f3)return;const _0x335c83=this[_0x2c8a('0x76')][_0x2c8a('0x9d')][_0x2c8a('0x10b')](p);this[_0x2c8a('0xad')][_0x2c8a('0x132')](_0x14a029=>{if('$elementName'==_0xb685f3[_0x2c8a('0x77')])for(const _0x34070a of _0x3ccef3){const _0xb6ee0f=_0x34070a[_0x2c8a('0x149')][_0x2c8a('0x92')],_0x23e00c=_0xb685f3[_0x2c8a('0x58')];_0x14a029[_0x2c8a('0x8a')](_0xb6ee0f,_0x23e00c);}else{if(_0x335c83[_0x2c8a('0xb9')](_0xb685f3[_0x2c8a('0x77')]))for(const _0x5e80a9 of _0x3ccef3)void 0x0!==_0xb685f3[_0x2c8a('0x58')]?_0x14a029['setAttribute'](_0xb685f3[_0x2c8a('0x77')],_0xb685f3[_0x2c8a('0x58')],_0x5e80a9[_0x2c8a('0x149')][_0x2c8a('0x92')]):_0x14a029[_0x2c8a('0x12f')](_0xb685f3[_0x2c8a('0x77')],_0x5e80a9[_0x2c8a('0x149')][_0x2c8a('0x92')]);else for(const _0x487e5a of _0x3ccef3)_0xb685f3[_0x2c8a('0x58')]?_0x14a029[_0x2c8a('0x89')](_0xb685f3[_0x2c8a('0x77')],_0xb685f3[_0x2c8a('0x58')],_0x487e5a):_0x14a029[_0x2c8a('0x12f')](_0xb685f3[_0x2c8a('0x77')],_0x487e5a);}});}),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0xf1'),_0x5649b2);}}function Tt(_0x14362d,_0x3feba1,_0x7d23c2){for(const _0x31acc1 of _0x3feba1[_0x2c8a('0xbc')][_0x2c8a('0x8d')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x31acc1[_0x2c8a('0xd3')]==_0x31acc1)return!0x1;if(!_0x7d23c2['containsItem'](_0x31acc1))return!0x1;if(_0x14362d[_0x2c8a('0xf8')](_0x31acc1)||_0x14362d[_0x2c8a('0x56')](_0x31acc1))return!0x0;}return!0x1;}function xt(_0x6db746){return _0x6db746[_0x2c8a('0xed')]['parent']==_0x6db746['start'][_0x2c8a('0x92')]&&_0x6db746[_0x2c8a('0xed')][_0x2c8a('0x15a')];}function Et(_0x4710df,_0x4a073a,_0x1f518d,_0x1bd9aa){const _0x137939=_0x8ed16e=>!_0x8ed16e['item']['is'](_0x2c8a('0x66'))&&!_0x1bd9aa[_0x2c8a('0xf8')](_0x8ed16e['item']),_0x21b802=_0x4710df[_0x2c8a('0x149')][_0x2c8a('0x65')](_0x137939),_0x668555=_0x4710df[_0x2c8a('0xed')]['getLastMatchingPosition'](_0x137939,{'direction':'backward'});return(!_0x4710df['start'][_0x2c8a('0x16b')](_0x21b802)||!_0x4710df[_0x2c8a('0xed')][_0x2c8a('0x16b')](_0x668555))&&(_0x21b802[_0x2c8a('0xeb')](_0x668555)?_0x1f518d[_0x2c8a('0x4a')](_0x4a073a,{'range':_0x1f518d[_0x2c8a('0x146')](_0x21b802,_0x668555)}):_0x1f518d[_0x2c8a('0x18')](_0x4a073a),!0x0);}function Rt(_0x138eb1){return _0x5cb55d(_0x138eb1);}function jt(_0x2bb647){const _0x3fc09b=_0x2bb647[_0x2c8a('0x149')]['nodeAfter'];return _0x3fc09b&&_0x3fc09b['is'](_0x2c8a('0x9'));}function Ut(_0x170dbe,_0x56c49b){const _0x56dcbc=_0x56c49b[_0x2c8a('0x154')]['isObject'](_0x170dbe)||_0x56c49b['schema'][_0x2c8a('0xf5')](_0x170dbe);return _0x56c49b[_0x2c8a('0x146')](_0x56c49b[_0x2c8a('0xe4')](_0x170dbe,'before'),_0x56dcbc?_0x56c49b[_0x2c8a('0xa0')](_0x170dbe):_0x56c49b[_0x2c8a('0xe4')](_0x170dbe,_0x2c8a('0xed')));}function Ot(_0x34f4ad,_0x450b09,_0x58f2cf,_0x433e67,_0x29bb72){if(!Vt(_0x34f4ad,_0x450b09))return!0x1;if(_0x58f2cf[_0x2c8a('0xed')]['isEqual'](_0x433e67[_0x2c8a('0x149')]))return!0x0;if(_0x34f4ad[_0x2c8a('0x6e')]!=_0x450b09['type'])return!0x1;if(!_0x58f2cf['end'][_0x2c8a('0x82')](_0x433e67[_0x2c8a('0x149')]))return!0x1;const _0x8810c8=_0x29bb72[_0x2c8a('0x146')](_0x58f2cf[_0x2c8a('0xed')],_0x433e67['start'])[_0x2c8a('0xc')]();for(const _0x470f73 of _0x8810c8)if([_0x2c8a('0x75'),'elementEnd'][_0x2c8a('0x17b')](_0x470f73[_0x2c8a('0x6e')])&&_0x29bb72[_0x2c8a('0x154')][_0x2c8a('0x56')](_0x470f73[_0x2c8a('0x31')]))return!0x1;return!0x0;}function Vt(_0x4299b3,_0x26fd25){return!(!_0x4299b3[_0x2c8a('0xd7')]||!_0x26fd25[_0x2c8a('0xd7')])&&_0x34db3f(_0x4299b3[_0x2c8a('0x5c')],_0x26fd25[_0x2c8a('0x5c')]);}function Gt(_0x1fd05f,_0x3f7ae0){const _0x5c327d=Ft(_0x1fd05f[_0x2c8a('0x5c')]),_0x3cae5b=Ft(_0x3f7ae0);if(!_0x1fd05f['_isDataLoaded'])return!0x1;for(const _0x146a64 of Object[_0x2c8a('0x63')](_0x3cae5b))if(!_0x34db3f(_0x5c327d[_0x146a64],_0x3cae5b[_0x146a64]))return!0x1;return!0x0;}function Ft(_0x278ebe){const _0x510674=Object[_0x2c8a('0xef')]({},_0x278ebe);return delete _0x510674[_0x2c8a('0x98')],delete _0x510674[_0x2c8a('0xd6')],_0x510674;}function Pt(_0x27ec15){return _0x2c8a('0x5a')==_0x27ec15[_0x2c8a('0x6e')]?_0x27ec15[_0x2c8a('0xf6')][_0x2c8a('0x1c')]('|')[0x0]:null;}
23
+ const _0x5e7d=['setSelection','containsRange','_getMarkerAnnouncementText','subType','$text','oldValue','dataReady','authorName','_isBlockAttribute','getWalker','_processAttributeSuggestions','attributeNewValue','createRange','addSuggestionData','isOwn','addMarker','removeMarker','LEAVE','enableCommand','tablePasteChainId','removed','rename','unbindElementFromMarkerName','ready','widget','createRangeOn','hasSuggestion','dataToMarker','@external','rootName','getIntersection','createRangeIn','isLocal','clone','after','push','_rangeIsInLocalUserInsertion','updateSuggestion','containsRangeInObject','discardAllSuggestions','showSuggestionHighlights','removeComment','collaboration.channelId','removeMarker:suggestion:attribute','commentThread','pop','author','_trackFormatChanges','ENTER','commandName','every','isIntersectingWithRange','deletion:accept','attribute:join','updateMarker','consumable','_defaultCallbacks','_onDiscard','createPositionBefore','getSuggestionCallback','marker-count','insertion','$graveyard','isNextTo','_saved','formatInline:join','group','_refreshSuggestionsChain','markers','_addSuggestionMarker','insert','find','_getSuggestionData','addMarker:suggestion:formatBlock','_registerBlockAttribute','length','removeMarker:suggestion:formatBlock','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.','ck-suggestion-marker','isAtEnd','set','format','ck-suggestion-marker-','_handleNewSuggestionMarker','CommentsRepository','deletion:chain','attribute','startsWith','enqueueChange','concat','getChanges','warn','track-changes-suggestion-data-mismatch','fromCharCode','markerToData','root','has','isEqual','isAtStart','groupId','moveTargetPosition','skipNestingCheck','isIntersecting','change:data','getContainedElement','suggestionChanged','forEach','formatInline:accept','writer','end','next','item','track-changes-enable-command-twice','formatBlock:discard','return','map','_model','getItems','fetchCommentThread','options','adapter','mapper','reconvertMarker','data-suggestion','_initAriaMarkerChangeAnnouncements','markDeletion','createSelection','open','consume','trackChangesCommand','history','formatInline:','ck-suggestion-marker--active','getCommentThread','_enableDefaultAttributesIntegration','key','newValue','_suggestions','getSuggestion','oldRange','track-changes-user-not-found','external:','lowest','createPositionAt','filter','markAttributeChange','isInContent','_SUGGESTION_ANNOUNCEMENT','keys','differ','never','_breakSuggestionMarker','change:_saved','remove','conversion','creator','discardSuggestion','accept','_blockAttributeKeys','ck-suggestion-marker-formatBlock','formatInline','containerElement','$marker','acceptSelectedSuggestions','type','init','_joinWithAdjacentSuggestions','formatInline:discard','formatBlock:chain','getSuggestions','_commentsRepository','editor','getCustomProperty','upcast','highest','_recordAttributeChanges','getFirstRange','suggestion:','insertion:accept','addHighlight','values','_processAttributeChanges','markMultiRangeBlockFormat','head','change:activeMarkers','addClass','enableReadOnlyMode','fire','_adapter','formatGroupId','_createSuggestion','_splitMarkerName','default','toViewElement','getOperations','name','_registerDefaultCallbacks','isCollapsed','markerReady','trackChanges.mergeNestedSuggestions','range','removeAttribute','isObject','delete','editing','dataDowncast','_editor','$elementName','locale','_isForcedDefaultExecutionBlock','_checkSuggestionCorrectness','notReady','getShiftedBy','resolve','normal','acceptAllSuggestions','formatBlock:join','getNearestSelectionRange','comments','markerNameToElements','markInsertion','plugins','element','editingDowncast','chain','nodeBefore','_enabledCommands','_mergeNestedSuggestions','suggestion','$textProxy','_cutOutSuggestionMarker','includes','_inlineAttributeKeys','isExternal','targetPosition','_reduceSuggestionAttributeRange','_descriptionFactory','config','deleteContent','_suggestionFactory','listenTo','_isDataLoaded','size','deletion:discard','for','isSelectable','getChangedMarkers','createPositionAfter','containsPosition','batch','isRemovable','_joinSuggestions','elementToElement','start','ariaLiveAnnouncer','_addThreadToSuggestion','deletion','formatBlock:','isTouching','isMultiRange','move','removeClass','authoredAt','getMultiRangeId','splice','data','setTo','substring','track-changes-adapter-missing-getsuggestion','_setSuggestionRange','PendingActions','getFirstMarker','isBlock','document','_getExternalAuthor','multi','version','hasComments','accepted','previous','_updateSuggestionData','change','attribute:discard','markerName','documentSelection','deletion:','_findSuggestions','markInlineFormat','execute','attributes','isDocumentOperation','trackChanges','add','backward','multipleBlocks','addMarker:suggestion','detach','_suggestionState','_removeSuggestion','define','getAllAdjacentSuggestions','setAttribute','track-changes-command-not-found','suggestion-type','split','rejected','always','removeMarkers','clear','then','addCommentThread','getRanges','Users','TrackChangesEditing','isAfter','schema','some','low','formatBlock','insertion:','_refreshAttributeSuggestionsChain','suggestionLoaded','deletion:join','position','requires','unshift','addComment','toJSON','isInsideObject','elementEnd','getAttribute','addSuggestion','nodeAfter','_setSuggestionData','unbind','parent','get','high','getRange','acceptSuggestion','model','activeMarkers','discard','substr','trackChanges.trackFormatChanges','isUndo','stop','catch','forceDefaultExecution','isArray','track-changes-adapter-already-set','getDifference','isBefore','splitPosition','suggestionUnloaded','changeAttribute','value','_recordAttributeSuggestionsFromVersion','rethrowUnexpectedError','_registerInlineAttribute','addRange','_customCallbacks','addUser','getUser','createdAt','buildSuggestion','getLastMatchingPosition','howMany','join','_reduceExistingSuggestions','insertion:discard','from','formatBlock:accept','sort','newRange','discardSelectedSuggestions','markBlockFormat','PENDING_ACTION_SUGGESTION','registerPostFixer','markMultiRangeInsertion','commands','selection','isLimit','insertContent'];(function(_0x1046dc,_0x5e7d6d){const _0x11961c=function(_0x409697){while(--_0x409697){_0x1046dc['push'](_0x1046dc['shift']());}};_0x11961c(++_0x5e7d6d);}(_0x5e7d,0xa8));const _0x1196=function(_0x1046dc,_0x5e7d6d){_0x1046dc=_0x1046dc-0x0;let _0x11961c=_0x5e7d[_0x1046dc];return _0x11961c;};import{Plugin as _0x30db1b,PendingActions as _0x60f01b}from'ckeditor5/src/core';import{LiveRange as _0x284da0}from'ckeditor5/src/engine';import{CKEditorError as _0x37a2ae,uid as _0x1449d0,priorities as _0x3da3c6,logWarning as _0x3e1932}from'ckeditor5/src/utils';import{toWidget as _0x50b2b8}from'ckeditor5/src/widget';import{Users as _0x2abd57,hashObject as _0x5501a2,surroundingMarkersDetector as _0x1d2ead}from'ckeditor5-collaboration/src/collaboration-core';import _0x4076c7 from'./commands/trackchangescommand';import _0x1c93ba from'./commands/acceptsuggestioncommand';import _0x44643a from'./commands/discardsuggestioncommand';import _0x5968fc from'./commands/executeonallsuggestionscommand';import _0x1d0abf from'./commands/executeonselectedsuggestionscommand';import _0x32d5d1 from'./suggestion';import _0x41d522 from'./suggestiondescriptionfactory';import _0x422f29 from'./integrations/aiassistant';import _0x3cfc78 from'./integrations/alignment';import _0x5aa47c from'./integrations/basicstyles';import _0x5e41e6 from'./integrations/blockquote';import _0x2a67dd from'./integrations/ckbox';import _0x1f44a0 from'./integrations/codeblock';import _0x2dcf82 from'./integrations/comments';import _0x3de965 from'./integrations/deletecommand';import _0x2decbf from'./integrations/documentlist';import _0x486a98 from'./integrations/documentlistproperties';import _0x53997f from'./integrations/entercommand';import _0x34dfb2 from'./integrations/findandreplace';import _0xdc7bea from'./integrations/font';import _0x5833f1 from'./integrations/formatpainter';import _0x4a4855 from'./integrations/heading';import _0x437b2d from'./integrations/highlight';import _0x4d3d1e from'./integrations/horizontalline';import _0x1ec439 from'./integrations/htmlembed';import _0x77ac95 from'./integrations/image';import _0x11b40c from'./integrations/imagereplace';import _0xca1846 from'./integrations/imagestyle';import _0x19643a from'./integrations/importword';import _0x308bf9 from'./integrations/indent';import _0x1ac6f7 from'./integrations/inputcommand';import _0x2144d7 from'./integrations/link';import _0x4cfe6b from'./integrations/list';import _0x48761c from'./integrations/listproperties';import _0x38689c from'./integrations/mediaembed';import _0x2fea12 from'./integrations/mention';import _0x450fe8 from'./integrations/pagebreak';import _0x118319 from'./integrations/paragraph';import _0x1342c8 from'./integrations/removeformat';import _0x554e5e from'./integrations/restrictededitingmode';import _0x279740 from'./integrations/shiftentercommand';import _0x61c65d from'./integrations/standardeditingmode';import _0x42e368 from'./integrations/style';import _0x2b1cd7 from'./integrations/table';import _0x1adce5 from'./integrations/tablemergesplit';import _0x29e86d from'./integrations/tableheadings';import _0x58e711 from'./integrations/tableclipboard';import _0x402c88 from'./integrations/tablecolumnresize';import _0x189063 from'./integrations/template';import _0x11fcc7 from'./integrations/tableofcontents';import _0x443a19 from'./integrations/title';import _0x1c3e6d from'./integrations/undo';import _0x2f3e5b from'./integrations/tablecaption';import _0x104c99 from'./integrations/tableproperties';import{getTranslation as _0x53252c}from'./utils/common-translations';import{isEqual as _0x3f301d,omit as _0x4ce505}from'lodash-es';export const renameAttributeKey=_0x1196('0x27');export default class p extends _0x30db1b{static get[_0x1196('0x9c')](){return[_0x1196('0x12c'),_0x2abd57,_0x60f01b,_0x422f29,_0x3cfc78,_0x5aa47c,_0x5e41e6,_0x2a67dd,_0x1f44a0,_0x2dcf82,_0x3de965,_0x2decbf,_0x486a98,_0x53997f,_0x34dfb2,_0xdc7bea,_0x5833f1,_0x4a4855,_0x437b2d,_0x4d3d1e,_0x1ec439,_0x77ac95,_0xca1846,_0x11b40c,_0x19643a,_0x308bf9,_0x1ac6f7,_0x2144d7,_0x4cfe6b,_0x48761c,_0x38689c,_0x2fea12,_0x450fe8,_0x118319,_0x1342c8,_0x554e5e,_0x279740,_0x61c65d,_0x42e368,_0x2b1cd7,_0x1adce5,_0x29e86d,_0x2f3e5b,_0x58e711,_0x402c88,_0x11fcc7,_0x104c99,_0x189063,_0x443a19,_0x1c3e6d];}static get['pluginName'](){return _0x1196('0x91');}constructor(_0x2dc18f){function _0x4c1cdc(_0xb1ca54){return _0xb1ca54[_0x1196('0x14b')](_0x58acc4=>String[_0x1196('0x135')](_0x58acc4))[_0x1196('0xc8')]('');}super(_0x2dc18f),this[_0x1196('0xbd')]=null,this['set'](_0x1196('0xad'),[]),this['on'](_0x1196('0x10'),(_0x409298,_0x405141,_0x10edc9,_0x12c365)=>{this['_model'][_0x1196('0x71')](()=>{for(const _0x439471 of[..._0x12c365,..._0x10edc9])this[_0x1196('0x14c')][_0x1196('0x11c')][_0x1196('0x138')](_0x439471)&&_0x2dc18f[_0x1196('0x24')][_0x1196('0x152')](_0x439471);});}),this[_0x1196('0x44')]=new _0x41d522(this[_0x1196('0x3')][_0x1196('0xac')][_0x1196('0x93')],this[_0x1196('0x3')][_0x1196('0x28')]),this[_0x1196('0x14')]=null,this[_0x1196('0x47')]=new Bt(this['editor']),this[_0x1196('0x161')]=new Map(),this[_0x1196('0x2')]=_0x2dc18f[_0x1196('0x35')]['get'](_0x1196('0x12c')),this['_enabledCommands']=new Set(),this[_0x1196('0x14c')]=this[_0x1196('0x3')][_0x1196('0xac')],this['_suggestionState']=new WeakMap(),this[_0x1196('0x29')]=!0x1,this[_0x1196('0x176')]=new Set([_0x1196('0x27')]),this['_inlineAttributeKeys']=new Set(),_0x2dc18f[_0x1196('0x45')][_0x1196('0x83')](_0x1196('0xb0'),_0x1196('0x18')),this[_0x1196('0x107')]=_0x2dc18f[_0x1196('0x45')][_0x1196('0xa8')](_0x1196('0xb0')),_0x2dc18f[_0x1196('0x45')][_0x1196('0x83')]('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x2dc18f[_0x1196('0x45')][_0x1196('0xa8')](_0x1196('0x1f')),this[_0x1196('0x159')]=new _0x4076c7(_0x2dc18f,this[_0x1196('0x3a')]),this[_0x1196('0x154')](),this[_0x4c1cdc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4c1cdc([0x34,0x30,0x34,0x36,0x32,0x34,0x32,0x32]);}[_0x1196('0x17d')](){const _0x56b329=this['editor'],_0x1d2de2=(_0x3dd529,_0x4a4bca)=>{if(_0x1196('0x12e')!=_0x3dd529)return _0x1196('0x12a')+_0x3dd529;const _0x2875de=_0x4a4bca[_0x1196('0x88')]('|')[0x0];return this[_0x1196('0xe0')](_0x2875de)?_0x1196('0x177'):'ck-suggestion-marker-formatInline';};_0x56b329[_0x1196('0x172')][_0x1196('0x4c')](_0x1196('0x37'))['markerToHighlight']({'model':_0x1196('0x3c'),'view':_0x393285=>{const {id:_0x373a3b,type:_0x1002bd,subType:_0x5265a7}=this['_splitMarkerName'](_0x393285[_0x1196('0x73')]),_0x33f5d4=[_0x1196('0x126'),_0x1d2de2(_0x1002bd,_0x5265a7)];let _0x35905c=0xbb8;return this['activeMarkers'][_0x1196('0x3f')](_0x393285[_0x1196('0x73')])&&(_0x33f5d4['push']('ck-suggestion-marker--active'),_0x35905c=0xbc2),_0x1196('0x58')==_0x1002bd&&(_0x35905c+=0x5),{'classes':_0x33f5d4,'attributes':{'data-suggestion':_0x373a3b},'priority':_0x35905c};}}),_0x56b329[_0x1196('0x172')][_0x1196('0x4c')](_0x1196('0x25'))[_0x1196('0x7c')](_0x423d22=>{_0x423d22['on'](_0x1196('0x7f'),(_0x4b0620,_0x323888,_0x473289)=>{if(!_0x473289['options'][_0x1196('0x100')])return;const _0x2ccd13=_0x323888[_0x1196('0x147')];if(!_0x2ccd13)return;const _0x3ff022=_0x473289[_0x1196('0x151')][_0x1196('0x19')](_0x2ccd13);_0x56b329['model'][_0x1196('0x93')][_0x1196('0x22')](_0x2ccd13)&&_0x3ff022&&!_0x3ff022[_0x1196('0x4')](_0x1196('0xf0'))&&_0x3ff022['is'](_0x1196('0x179'))&&_0x50b2b8(_0x3ff022,_0x473289[_0x1196('0x144')]);},{'priority':'high'});}),_0x56b329[_0x1196('0x172')][_0x1196('0x4c')]('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2d8a6b,_0x42b90d)=>{if(!_0x42b90d['options'][_0x1196('0x100')])return null;const {type:_0x17bc04,subType:_0x21721d}=this[_0x1196('0x17')](_0x2d8a6b[_0x1196('0x73')]);return{'classes':[_0x1196('0x126'),_0x1d2de2(_0x17bc04,_0x21721d)],'priority':0xbb8};}});const _0x55b114=({showActiveMarkers:_0x1560bd=!0x0,isAttributeSuggestion:_0x2328c9=!0x1}={})=>(_0x1f9d47,_0x142815,_0x4f2a9a)=>{if(!_0x142815[_0x1196('0x147')])return;const {id:_0x2ff838}=this['_splitMarkerName'](_0x142815['markerName']);if(_0x2328c9){const _0x2cc482=Pt(this[_0x1196('0x161')][_0x1196('0xa8')](_0x2ff838));if(!this[_0x1196('0xe0')](_0x2cc482))return;}if(_0x142815['item']['is'](_0x1196('0xd5')))return void _0x4f2a9a[_0x1196('0x10f')][_0x1196('0x158')](_0x142815[_0x1196('0x147')],_0x1f9d47['name']);const _0x3280e8=_0x4f2a9a['mapper']['toViewElement'](_0x142815[_0x1196('0x147')]);if(_0x142815['item']['is']('element')&&_0x56b329[_0x1196('0xac')]['schema'][_0x1196('0x68')](_0x142815[_0x1196('0x147')])&&!_0x3280e8[_0x1196('0x4')](_0x1196('0xb'))){_0x4f2a9a[_0x1196('0x144')]['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x3280e8),_0x4f2a9a['writer']['setAttribute'](_0x1196('0x153'),_0x2ff838,_0x3280e8),_0x4f2a9a[_0x1196('0x151')]['bindElementToMarker'](_0x3280e8,_0x142815[_0x1196('0x73')]),_0x1560bd&&(this[_0x1196('0xad')]['includes'](_0x142815[_0x1196('0x73')])?_0x4f2a9a['writer'][_0x1196('0x11')](_0x1196('0x15c'),_0x3280e8):_0x4f2a9a['writer'][_0x1196('0x5d')](_0x1196('0x15c'),_0x3280e8));for(const _0xa8e224 of _0x56b329['model'][_0x1196('0xf7')](_0x142815['item'])[_0x1196('0x14d')]())_0x4f2a9a['consumable'][_0x1196('0x158')](_0xa8e224,_0x1f9d47[_0x1196('0x1b')]);_0x4f2a9a[_0x1196('0x10f')][_0x1196('0x158')](_0x142815['item'],_0x1f9d47[_0x1196('0x1b')]);}};_0x56b329[_0x1196('0x172')][_0x1196('0x4c')](_0x1196('0x25'))[_0x1196('0x7c')](_0x2af786=>{_0x2af786['on'](_0x1196('0x121'),(_0x5d896c,_0x1cfacf,_0x342dc5)=>{_0x342dc5[_0x1196('0x14f')][_0x1196('0x100')]&&_0x55b114({'showActiveMarkers':!0x1})(_0x5d896c,_0x1cfacf,_0x342dc5);},{'priority':'highest'});}),_0x56b329[_0x1196('0x172')][_0x1196('0x4c')](_0x1196('0x25'))[_0x1196('0x7c')](_0x5d3de0=>{_0x5d3de0['on']('addMarker:suggestion:attribute',(_0x5216b6,_0x261de8,_0x4b8328)=>{_0x4b8328[_0x1196('0x14f')][_0x1196('0x100')]&&_0x55b114({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x5216b6,_0x261de8,_0x4b8328);},{'priority':_0x1196('0x6')});}),_0x56b329['conversion'][_0x1196('0x4c')](_0x1196('0x25'))[_0x1196('0x136')]({'model':_0x1196('0x3c'),'view':(_0xa8cf9f,_0x207b04)=>_0x207b04['options'][_0x1196('0x100')]?null:{'group':_0x1196('0x3c'),'name':_0xa8cf9f[_0x1196('0xaf')](0xb)}}),_0x56b329[_0x1196('0x172')]['for']('upcast')[_0x1196('0x54')]({'view':{'name':_0x1196('0x3c'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x780e65,{writer:_0x443f77})=>{let _0x11fe32=_0x1196('0x9')+_0x780e65[_0x1196('0xa2')](_0x1196('0x87'))+':'+_0x780e65['getAttribute']('id');return _0x780e65[_0x1196('0xa2')](_0x1196('0x114'))&&(_0x11fe32+=':'+_0x780e65[_0x1196('0xa2')](_0x1196('0x114'))),_0x443f77['createElement'](_0x1196('0x17a'),{'data-name':_0x11fe32});}}),_0x56b329['conversion']['for'](_0x1196('0x5'))[_0x1196('0xf3')]({'view':'suggestion'}),_0x56b329['conversion'][_0x1196('0x4c')](_0x1196('0x37'))[_0x1196('0x7c')](_0x1df3ac=>{_0x1df3ac['on'](_0x1196('0x121'),_0x55b114(),{'priority':_0x1196('0xa9')});}),_0x56b329[_0x1196('0x172')][_0x1196('0x4c')](_0x1196('0x37'))[_0x1196('0x7c')](_0x59416a=>{_0x59416a['on']('addMarker:suggestion:attribute',_0x55b114({'isAttributeSuggestion':!0x0}),{'priority':_0x1196('0xa9')});}),_0x56b329['conversion'][_0x1196('0x4c')]('editingDowncast')[_0x1196('0x7c')](_0x35d9de=>{_0x35d9de['on'](_0x1196('0x124'),(_0x52324c,_0x12bb58,_0x95e2e9)=>{const _0x36e9a0=_0x95e2e9[_0x1196('0x151')]['markerNameToElements'](_0x12bb58[_0x1196('0x73')]);if(_0x36e9a0)for(const _0x1daa95 of _0x36e9a0)_0x1daa95[_0x1196('0x4')](_0x1196('0xb'))||(_0x95e2e9[_0x1196('0x144')][_0x1196('0x5d')]([_0x1196('0x126'),_0x1196('0x177'),'ck-suggestion-marker--active'],_0x1daa95),_0x95e2e9[_0x1196('0x144')][_0x1196('0x21')]('data-suggestion',_0x1daa95),_0x95e2e9[_0x1196('0x151')][_0x1196('0xee')](_0x1daa95,_0x12bb58[_0x1196('0x73')]));},{'priority':_0x1196('0xa9')});}),_0x56b329['conversion'][_0x1196('0x4c')](_0x1196('0x37'))['add'](_0x567361=>{_0x567361['on'](_0x1196('0x103'),(_0x30af79,_0x3e222b,_0x551904)=>{const _0x1d7616=_0x551904[_0x1196('0x151')][_0x1196('0x33')](_0x3e222b['markerName']);if(!_0x1d7616)return;const {id:_0x56698e}=this[_0x1196('0x17')](_0x3e222b['markerName']),_0x25c1c6=Pt(this[_0x1196('0x161')][_0x1196('0xa8')](_0x56698e));if(this[_0x1196('0xe0')](_0x25c1c6))for(const _0x4121bd of _0x1d7616)_0x4121bd['getCustomProperty']('addHighlight')||(_0x551904[_0x1196('0x144')][_0x1196('0x5d')](['ck-suggestion-marker',_0x1196('0x177'),_0x1196('0x15c')],_0x4121bd),_0x551904[_0x1196('0x144')][_0x1196('0x21')](_0x1196('0x153'),_0x4121bd),_0x551904[_0x1196('0x151')][_0x1196('0xee')](_0x4121bd,_0x3e222b[_0x1196('0x73')]));},{'priority':_0x1196('0xa9')});}),_0x56b329['model'][_0x1196('0x69')][_0x1196('0xd2')](_0x3b0c43=>{let _0x1d5590=!0x1;const _0x18232f=Array[_0x1196('0xcb')](_0x56b329[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0x16d')][_0x1196('0x4e')]()),_0x53ce30=new Set();for(const {name:_0x24a0f6,data:_0x24c5e9}of _0x18232f){const {group:_0x3cd6c3,type:_0x42b1e4,subType:_0x139efc,id:_0x4adc31}=this['_splitMarkerName'](_0x24a0f6);if(_0x1196('0x3c')!==_0x3cd6c3)continue;const _0x28606e=this['_suggestions'][_0x1196('0xa8')](_0x4adc31);if(null!=_0x24c5e9[_0x1196('0xce')]){'formatInline'==_0x42b1e4&&(_0x1d5590=_0x1d5590||Et(_0x24c5e9['newRange'],_0x24a0f6,_0x3b0c43,_0x56b329[_0x1196('0xac')][_0x1196('0x93')]));const _0x323de3='attribute'==_0x42b1e4&&this[_0x1196('0xe0')](_0x139efc[_0x1196('0x88')]('|')[0x0]);if(_0x24c5e9[_0x1196('0xce')][_0x1196('0x1d')]||'$graveyard'==_0x24c5e9[_0x1196('0xce')][_0x1196('0x137')][_0x1196('0xf5')]||_0x1196('0x96')==_0x42b1e4&&!jt(_0x24c5e9[_0x1196('0xce')])||_0x323de3&&!jt(_0x24c5e9['newRange'])||_0x1196('0x58')==_0x42b1e4&&!(!xt(_0x7299f8=_0x24c5e9[_0x1196('0xce')])&&!function(_0x53f241){return _0x53f241['start'][_0x1196('0xa7')]==_0x53f241[_0x1196('0x145')]['nodeBefore']&&_0x53f241[_0x1196('0x55')][_0x1196('0x127')];}(_0x7299f8)))_0x3b0c43[_0x1196('0xe8')](_0x24a0f6),_0x1d5590=!0x0;else{if(!_0x28606e||!_0x28606e[_0x1196('0x16a')])continue;_0x53ce30[_0x1196('0x7c')](_0x28606e);}}}var _0x7299f8;return _0x53ce30[_0x1196('0x4a')]>0x0&&(_0x1d5590=!!this[_0x1196('0x17e')](_0x53ce30)||_0x1d5590),_0x1d5590;}),_0x56b329[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0xd2')](_0x381e07=>{let _0xabc1b2=!0x1;for(const _0x1f789a of _0x56b329[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0x16d')][_0x1196('0x132')]())if(_0x1196('0x11e')==_0x1f789a[_0x1196('0x17c')])for(const _0x14d9d0 of this['_suggestions'][_0x1196('0xc')]()){if(_0x14d9d0[_0x1196('0x5b')]||!_0x14d9d0[_0x1196('0x16a')])continue;const _0x1e4c6e=_0x1196('0x96')==_0x14d9d0[_0x1196('0x17c')],_0x159eb9=Pt(_0x14d9d0),_0x58efa2=_0x159eb9&&this[_0x1196('0xe0')](_0x159eb9);if(!_0x1e4c6e&&!_0x58efa2)continue;const _0x29e30c=_0x14d9d0['getFirstRange']();if(_0x29e30c[_0x1196('0x55')]['parent']!=_0x29e30c['end'][_0x1196('0xa7')]&&!_0x29e30c['end'][_0x1196('0x127')]){const _0x25cd63=_0x56b329['model'][_0x1196('0x167')](_0x29e30c[_0x1196('0x55')][_0x1196('0xa4')],'end'),_0x1538a4=_0x56b329[_0x1196('0xac')][_0x1196('0xe4')](_0x29e30c[_0x1196('0x55')],_0x25cd63);_0x381e07['updateMarker'](_0x14d9d0[_0x1196('0x67')](),{'range':_0x1538a4}),_0xabc1b2=!0x0;}}return _0xabc1b2;}),_0x56b329['model'][_0x1196('0x69')][_0x1196('0xd2')](_0x237879=>this[_0x1196('0xd')](_0x237879)),_0x56b329[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0xd2')](_0xa1a063=>!_0xa1a063['batch'][_0x1196('0xf8')]&&this['_processAttributeSuggestions'](_0xa1a063)),_0x56b329[_0x1196('0xac')][_0x1196('0x11c')]['on']('update:suggestion',(_0x3c7019,_0xcaf43e,_0x129b21)=>{if(null==_0x129b21){const {id:_0x2eacaa}=this['_splitMarkerName'](_0xcaf43e['name']),_0x24bdec=this[_0x1196('0x161')][_0x1196('0xa8')](_0x2eacaa);_0x24bdec&&_0x24bdec['addMarkerName'](_0xcaf43e['name']);}}),_0x56b329[_0x1196('0xac')][_0x1196('0x69')]['on'](_0x1196('0x13f'),()=>{const _0x507f20=Array[_0x1196('0xcb')](_0x56b329[_0x1196('0xac')]['document'][_0x1196('0x16d')][_0x1196('0x4e')]())[_0x1196('0x168')](_0x4f11f3=>_0x1196('0x3c')===this[_0x1196('0x17')](_0x4f11f3[_0x1196('0x1b')])[_0x1196('0x11a')]);if(0x0===_0x507f20[_0x1196('0x123')])return;_0x507f20[_0x1196('0xcd')]((_0x38835e,_0x369a3b)=>{const _0x439878=_0x38835e[_0x1196('0x61')]['oldRange'],_0x1c5312=_0x369a3b[_0x1196('0x61')][_0x1196('0x163')];return null===_0x439878&&null===_0x1c5312?0x0:null===_0x439878&&null!==_0x1c5312?-0x1:null!==_0x439878&&null===_0x1c5312?0x1:_0x439878[_0x1196('0x55')][_0x1196('0xb8')](_0x1c5312['start'])?-0x1:0x1;});const _0x36315f=new Set(),_0x101c41=new Set();for(const {name:_0xb8c66,data:_0xc322e6}of _0x507f20){const {id:_0x49c498}=this[_0x1196('0x17')](_0xb8c66);if(null===_0xc322e6[_0x1196('0x163')]){const _0x2df0e6=this['_handleNewSuggestionMarker'](_0xb8c66);_0x101c41[_0x1196('0x7c')](_0x2df0e6);}else{const _0x5d8a39=this['_suggestions']['get'](_0x49c498);null!==_0xc322e6[_0x1196('0xce')]||_0x5d8a39[_0x1196('0x16a')]?(_0x36315f[_0x1196('0x7c')](_0x5d8a39[_0x1196('0xf')]),_0x101c41[_0x1196('0x7c')](_0x5d8a39)):this[_0x1196('0x82')](_0x5d8a39);}}_0x101c41[_0x1196('0x4a')]>0x0&&this['_refreshSuggestionsChain'](_0x101c41);for(const _0x4677f4 of _0x36315f)this[_0x1196('0x13')](_0x1196('0x141'),_0x4677f4);}),_0x56b329['model']['on']('applyOperation',(_0x3128fe,_0x52dcdc)=>{const _0x3a077b=_0x52dcdc[0x0];if(!this[_0x1196('0x161')][_0x1196('0x4a')])return;if(!_0x3a077b[_0x1196('0x7a')])return;if(_0x3a077b['batch'][_0x1196('0xb1')]||!_0x3a077b[_0x1196('0x51')]['isLocal'])return;let _0x333b5a,_0xe3146;switch(_0x3a077b['type']){case _0x1196('0x11e'):_0x333b5a=_0x56b329['model'][_0x1196('0x167')](_0x3a077b[_0x1196('0x9b')]),_0xe3146=_0x333b5a[_0x1196('0x2c')](_0x3a077b[_0x1196('0xc7')]);break;case _0x1196('0x88'):_0x333b5a=_0x56b329[_0x1196('0xac')]['createPositionAt'](_0x3a077b[_0x1196('0xb9')]),_0xe3146=_0x56b329[_0x1196('0xac')][_0x1196('0x167')](_0x3a077b[_0x1196('0x13c')]);break;case _0x1196('0x5c'):_0x333b5a=_0x56b329[_0x1196('0xac')][_0x1196('0x167')](_0x3a077b[_0x1196('0x42')]),_0xe3146=_0x333b5a[_0x1196('0x2c')](_0x3a077b[_0x1196('0xc7')]);break;default:return;}const _0x31dcf8=_0x56b329[_0x1196('0xac')][_0x1196('0xe4')](_0x333b5a,_0xe3146);_0x56b329[_0x1196('0xac')][_0x1196('0x71')](()=>{for(const {suggestion:_0x24419c,meta:_0x527e3d}of this[_0x1196('0x76')](_0x31dcf8)){if(_0x24419c['isMultiRange'])continue;if(_0x1196('0x178')==_0x24419c[_0x1196('0x17c')])continue;const _0x507d7f=Pt(_0x24419c);if(_0x507d7f&&this[_0x1196('0xe0')](_0x507d7f)&&_0x1196('0x88')!=_0x3a077b['type'])continue;const _0x556d72=_0x24419c['data']&&_0x24419c[_0x1196('0x61')][_0x1196('0x7e')];(_0x1196('0x96')!=_0x24419c[_0x1196('0x17c')]||_0x1196('0x88')==_0x3a077b[_0x1196('0x17c')]&&!_0x556d72)&&(_0x527e3d[_0x1196('0xfe')]||_0x1196('0x115')==_0x24419c['type']&&_0x527e3d['isOwn']||_0x24419c['getFirstRange']()[_0x1196('0xd9')](_0x31dcf8)&&this[_0x1196('0x16f')](_0x24419c,_0x333b5a,_0xe3146));}});},{'priority':_0x1196('0x166')}),_0x56b329[_0x1196('0xac')]['on']('deleteContent',(_0x15a7eb,_0xd43e4a)=>{const _0x10f4a8=_0xd43e4a[0x0],_0xc9e37b=_0xd43e4a[0x1];if(_0xc9e37b&&_0xc9e37b[_0x1196('0xb4')])return;if(this[_0x1196('0x29')])return;if(!this[_0x1196('0x159')][_0x1196('0xbc')])return;if(_0x10f4a8[_0x1196('0x1d')])return;const _0x429388=_0x56b329[_0x1196('0xac')]['schema'],{start:_0x52b68c,end:_0x2ce519}=_0x10f4a8[_0x1196('0x8')](),_0x32cfd8=_0x52b68c['nodeAfter']&&_0x429388['isLimit'](_0x52b68c[_0x1196('0xa4')])?null:_0x429388[_0x1196('0x31')](_0x52b68c,'forward'),_0xb55e17=_0x2ce519[_0x1196('0x39')]&&_0x429388[_0x1196('0xd6')](_0x2ce519[_0x1196('0x39')])?null:_0x429388['getNearestSelectionRange'](_0x2ce519,'backward'),_0x102bbc=_0x56b329[_0x1196('0xac')]['createRange'](_0x32cfd8?_0x32cfd8['start']:_0x52b68c,_0xb55e17?_0xb55e17[_0x1196('0x145')]:_0x2ce519);_0x56b329[_0x1196('0xac')]['change'](_0x277b55=>{this[_0x1196('0x155')](_0x102bbc);const _0x741f35=_0x56b329[_0x1196('0xac')][_0x1196('0x93')][_0x1196('0x31')](_0x102bbc['start']);_0x10f4a8['is'](_0x1196('0x74'))?_0x277b55['setSelection'](_0x741f35):_0x10f4a8[_0x1196('0x62')](_0x741f35);}),_0x15a7eb['stop']();},{'priority':_0x3da3c6[_0x1196('0x2e')]+0xa}),_0x56b329[_0x1196('0xac')]['on'](_0x1196('0xd7'),(_0x515085,_0x57b5ef)=>{const _0x2aed0e=_0x57b5ef[_0x57b5ef[_0x1196('0x123')]-0x1];_0x2aed0e&&_0x2aed0e[_0x1196('0xb4')]||this[_0x1196('0x29')]||this[_0x1196('0x159')][_0x1196('0xbc')]&&(_0x56b329['model'][_0x1196('0x71')](()=>{let _0x225c9b=_0x56b329[_0x1196('0xac')][_0x1196('0xd7')](_0x57b5ef[0x0],_0x57b5ef[0x1],_0x57b5ef[0x2],{'forceDefaultExecution':!0x0});if(!_0x225c9b)return;_0x515085[_0x1196('0x14a')]=_0x225c9b[_0x1196('0xf9')]();const _0x417399=_0x225c9b[_0x1196('0x145')]['nodeBefore'],_0x1a7ff7=_0x56b329[_0x1196('0xac')][_0x1196('0x93')];_0x417399&&_0x1a7ff7[_0x1196('0x68')](_0x417399)&&!_0x1a7ff7[_0x1196('0x22')](_0x417399)&&(_0x225c9b=_0x56b329[_0x1196('0xac')][_0x1196('0xe4')](_0x225c9b[_0x1196('0x55')],_0x56b329['model'][_0x1196('0x167')](_0x417399,'end'))),this[_0x1196('0x34')](_0x225c9b);}),_0x515085[_0x1196('0xb2')]());},{'priority':_0x1196('0xa9')}),this[_0x1196('0x3')][_0x1196('0xd4')][_0x1196('0x7c')](_0x1196('0x7b'),this[_0x1196('0x159')]),this[_0x1196('0xea')]('trackChanges');const _0x3badf6=new _0x1c93ba(_0x56b329,this[_0x1196('0x161')]);_0x56b329[_0x1196('0xd4')]['add']('acceptSuggestion',_0x3badf6),this['enableCommand']('acceptSuggestion');const _0x3c8dcf=new _0x44643a(_0x56b329,this[_0x1196('0x161')]);_0x56b329[_0x1196('0xd4')]['add'](_0x1196('0x174'),_0x3c8dcf),this['enableCommand'](_0x1196('0x174')),_0x56b329['commands'][_0x1196('0x7c')](_0x1196('0x2f'),new _0x5968fc(_0x56b329,_0x3badf6,this[_0x1196('0x161')])),this['enableCommand'](_0x1196('0x2f')),_0x56b329[_0x1196('0xd4')][_0x1196('0x7c')](_0x1196('0xff'),new _0x5968fc(_0x56b329,_0x3c8dcf,this[_0x1196('0x161')])),this['enableCommand'](_0x1196('0xff')),_0x56b329[_0x1196('0xd4')][_0x1196('0x7c')](_0x1196('0x17b'),new _0x1d0abf(_0x56b329,_0x3badf6,this[_0x1196('0x161')])),this[_0x1196('0xea')](_0x1196('0x17b')),_0x56b329[_0x1196('0xd4')][_0x1196('0x7c')](_0x1196('0xcf'),new _0x1d0abf(_0x56b329,_0x3c8dcf,this[_0x1196('0x161')])),this[_0x1196('0xea')]('discardSelectedSuggestions');const _0x5c687e=_0x56b329['plugins'][_0x1196('0xa8')](_0x1196('0x12c'));this[_0x1196('0x48')](_0x5c687e,_0x1196('0x9e'),(_0x590529,{threadId:_0x299f90})=>{const _0x57f38f=this[_0x1196('0x161')][_0x1196('0xa8')](_0x299f90);_0x57f38f&&_0x57f38f[_0x1196('0x104')]&&0x1===_0x57f38f[_0x1196('0x104')][_0x1196('0x123')]&&this[_0x1196('0x70')](_0x299f90,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x5c687e,_0x1196('0x101'),(_0x105f9f,{threadId:_0x3200fc})=>{const _0x3ec6c1=this[_0x1196('0x161')][_0x1196('0xa8')](_0x3200fc);_0x3ec6c1&&_0x3ec6c1[_0x1196('0x104')]&&!_0x3ec6c1['commentThread'][_0x1196('0x123')]&&this['_updateSuggestionData'](_0x3200fc,{'hasComments':!0x1});},{'priority':_0x1196('0x95')});}set['adapter'](_0x4dfdef){if(this[_0x1196('0x14')])throw new _0x37a2ae(_0x1196('0xb6'),this);this[_0x1196('0x14')]=_0x4dfdef;}get[_0x1196('0x150')](){return this[_0x1196('0x14')];}[_0x1196('0x1')]({skipNotAttached:_0x1888ab=!0x1,toJSON:_0x526d88=!0x1}={}){const _0x128dfb=[];for(const _0x434927 of this[_0x1196('0x161')]['values']())_0x1888ab&&!_0x434927['isInContent']||_0x128dfb[_0x1196('0xfb')](_0x434927);return _0x526d88?_0x128dfb[_0x1196('0x14b')](_0x21de37=>_0x21de37[_0x1196('0x9f')]()):_0x128dfb;}[_0x1196('0x162')](_0x6c257b){const _0x3d5f7d=this[_0x1196('0x161')][_0x1196('0xa8')](_0x6c257b);if(!_0x3d5f7d)throw new _0x37a2ae('track-changes-suggestion-not-found',this);return _0x3d5f7d;}[_0x1196('0xf2')](_0x4773e2){return this['_suggestions'][_0x1196('0x138')](_0x4773e2);}['addSuggestionData'](_0x1269aa){const {authorId:_0x4de512,id:_0x1c8852,attributes:_0x260d54}=_0x1269aa,[_0x4e6b0c,_0x201b66]=_0x1269aa[_0x1196('0x17c')][_0x1196('0x88')](':'),_0xfb84e0=this['_suggestions'][_0x1196('0xa8')](_0x1c8852)||this[_0x1196('0x16')](_0x4e6b0c,_0x201b66,_0x1c8852,_0x4de512,_0x260d54);if(this[_0x1196('0x57')](_0xfb84e0),this[_0x1196('0x2a')](_0xfb84e0,_0x4e6b0c,_0x201b66||null,_0x4de512),_0xfb84e0[_0x1196('0xc4')]=_0x1269aa[_0x1196('0xc4')],_0xfb84e0[_0x1196('0x49')]=!0x0,_0x260d54&&_0x260d54[_0x1196('0xf4')]){const _0x3a75b8=_0x260d54[_0x1196('0xf4')],_0x1d9c83=this[_0x1196('0x6a')](_0x3a75b8[_0x1196('0xdf')]);_0xfb84e0[_0x1196('0x5e')]=_0x3a75b8[_0x1196('0xc4')],_0xfb84e0['author']=_0x1d9c83,_0xfb84e0[_0x1196('0x41')]=!0x0;}else _0xfb84e0[_0x1196('0x5e')]=_0x1269aa[_0x1196('0xc4')];switch(_0x1269aa[_0x1196('0x61')]&&(_0xfb84e0[_0x1196('0x61')]=_0x1269aa[_0x1196('0x61')]),_0x1269aa[_0x1196('0x79')]&&(_0xfb84e0['attributes']=_0x1269aa[_0x1196('0x79')]),this[_0x1196('0x14')]&&this[_0x1196('0x14')][_0x1196('0xa3')]||(_0xfb84e0['_saved']=!0x0),this[_0x1196('0x81')][_0x1196('0xa8')](_0xfb84e0)){case'notReady':this[_0x1196('0x81')][_0x1196('0x128')](_0xfb84e0,_0x1196('0xde'));break;case _0x1196('0x1e'):_0xfb84e0[_0x1196('0x16a')]?(this[_0x1196('0x11b')](new Set([_0xfb84e0])),this[_0x1196('0x17e')](new Set([_0xfb84e0])),this[_0x1196('0x81')]['set'](_0xfb84e0,_0x1196('0xef')),this[_0x1196('0x13')](_0x1196('0x99'),_0xfb84e0)):this[_0x1196('0x81')][_0x1196('0x128')](_0xfb84e0,'removed');}return _0xfb84e0;}[_0x1196('0xab')](_0x2f9957){this[_0x1196('0xb4')](()=>{this[_0x1196('0x3')]['model']['change'](()=>{for(const _0x106548 of _0x2f9957['getAllAdjacentSuggestions']())_0x106548[_0x1196('0x175')]();});});}[_0x1196('0x174')](_0x1975ea){this[_0x1196('0xb4')](()=>{this[_0x1196('0x3')]['model']['change'](()=>{for(const _0x1319cd of _0x1975ea[_0x1196('0x84')]())_0x1319cd['discard']();});});}['enableCommand'](_0x103cad,_0x5c61ee){const _0x4da5a4=this[_0x1196('0x3')][_0x1196('0xd4')][_0x1196('0xa8')](_0x103cad);if(!_0x4da5a4)throw new _0x37a2ae(_0x1196('0x86'),this,{'commandName':_0x103cad});if(this['_enabledCommands']['has'](_0x4da5a4))throw new _0x37a2ae(_0x1196('0x148'),this,{'commandName':_0x103cad});this['_enabledCommands']['add'](_0x4da5a4),_0x5c61ee&&_0x4da5a4['on'](_0x1196('0x78'),(_0x2ed599,_0x39436f)=>{this[_0x1196('0x159')][_0x1196('0xbc')]&&(this[_0x1196('0x29')]||(_0x39436f[_0x1196('0x123')]>0x0&&_0x39436f[_0x39436f[_0x1196('0x123')]-0x1]&&_0x39436f[_0x39436f['length']-0x1][_0x1196('0xb4')]?_0x39436f[_0x1196('0x105')]():(_0x2ed599[_0x1196('0x14a')]=_0x5c61ee((..._0x3b6ff5)=>_0x4da5a4[_0x1196('0x78')](..._0x3b6ff5,{'forceDefaultExecution':!0x0}),..._0x39436f),_0x2ed599[_0x1196('0xb2')]())));},{'priority':_0x1196('0xa9')});}[_0x1196('0xb4')](_0x471942){let _0x5baabd,_0x5f2dbc;const _0x1a0485=this['_isForcedDefaultExecutionBlock'];this[_0x1196('0x29')]=!0x0;try{_0x5baabd=_0x471942();}catch(_0x50c9c6){_0x5f2dbc=_0x50c9c6;}return _0x1a0485||(this[_0x1196('0x29')]=!0x1),_0x5f2dbc&&_0x37a2ae[_0x1196('0xbe')](_0x5f2dbc,this),_0x5baabd;}[_0x1196('0x34')](_0x1e45d,_0x655ff0=null,_0x513b4d={}){if(_0x1e45d['isCollapsed'])return null;const _0x119e1b=this[_0x1196('0x3')]['plugins'][_0x1196('0xa8')](_0x1196('0x90'))['me'];for(const {suggestion:_0x30454a,meta:_0x487aa7}of this[_0x1196('0x76')](_0x1e45d,_0x1196('0x115')))if(_0x487aa7[_0x1196('0xe6')]){if(!_0x487aa7[_0x1196('0x117')]){if(_0x487aa7['containsRangeInObject']){if(!this[_0x1196('0x3b')]||!Gt(_0x30454a,_0x513b4d))continue;return _0x30454a;}if(Gt(_0x30454a,_0x513b4d))return _0x30454a;this[_0x1196('0x16f')](_0x30454a,_0x1e45d[_0x1196('0x55')],_0x1e45d[_0x1196('0x145')]);break;}if(_0x655ff0==_0x30454a[_0x1196('0xdb')]&&Gt(_0x30454a,_0x513b4d)){const _0x3a1869=_0x30454a[_0x1196('0x8')]();return _0x3a1869[_0x1196('0x55')][_0x1196('0x139')](_0x1e45d[_0x1196('0x145')])?this[_0x1196('0x65')](_0x30454a,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x1e45d['start'],_0x3a1869[_0x1196('0x145')])):this[_0x1196('0x65')](_0x30454a,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x3a1869[_0x1196('0x55')],_0x1e45d[_0x1196('0x145')])),_0x30454a;}}const _0x3a8ef5=_0x1449d0(),_0x3ede01=_0x119e1b['id'],_0x1ca432=_0x655ff0?_0x1196('0x97')+_0x655ff0:_0x1196('0x115'),_0x4e3472=this[_0x1196('0xa5')]({'id':_0x3a8ef5,'type':_0x1ca432,'createdAt':new Date(),'authorId':_0x3ede01,'attributes':_0x513b4d});return this[_0x1196('0x11d')](_0x1ca432,_0x3a8ef5,_0x3ede01,_0x1e45d),_0x4e3472;}[_0x1196('0xd3')](_0x53dd7c,_0x12df69=_0x1196('0x6b'),_0x1732b7={}){const _0x1e1b1b=this['editor'][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'],_0x5b8163=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x115'),_0x12df69,_0x1196('0xc8'));for(const _0x91c250 of this[_0x1196('0x1')]())if(_0x91c250[_0x1196('0x106')]['id']==_0x1e1b1b['id']&&_0x1196('0x115')==_0x91c250[_0x1196('0x17c')]&&_0x91c250['subType']==_0x12df69&&Gt(_0x91c250,_0x1732b7)&&(_0x5b8163(_0x91c250['getRanges'](),_0x53dd7c)||_0x5b8163(_0x53dd7c,_0x91c250[_0x1196('0x8f')]()))){for(const _0x42b391 of _0x53dd7c)_0x91c250[_0x1196('0xc0')](_0x42b391);return _0x91c250;}for(const {suggestion:_0x1c5c4f,meta:_0x550bd8}of this['_findSuggestions'](_0x53dd7c,_0x1196('0x115'))){if(!_0x550bd8[_0x1196('0xe6')])continue;if(!this[_0x1196('0x3b')]&&_0x550bd8[_0x1196('0xfe')])continue;if(!Gt(_0x1c5c4f,_0x1732b7))continue;let _0x58c3fb=!0x0;for(const _0x71a182 of _0x1c5c4f['getRanges']())for(const _0x5ad959 of _0x53dd7c)if(!_0x71a182[_0x1196('0xd9')](_0x5ad959)){_0x58c3fb=!0x1;break;}if(_0x58c3fb)return _0x1c5c4f;}const _0x17edde=_0x1449d0(),_0x4f2634=_0x1e1b1b['id'],_0x455285=_0x1196('0x97')+_0x12df69,_0xad99ed=this['_setSuggestionData']({'id':_0x17edde,'type':_0x455285,'createdAt':new Date(),'authorId':_0x4f2634,'attributes':_0x1732b7});for(const _0x134e00 of _0x53dd7c)this[_0x1196('0x11d')](_0x455285,_0x17edde,_0x4f2634,_0x134e00,_0x32d5d1[_0x1196('0x5f')]());return _0xad99ed;}[_0x1196('0x77')](_0x41f430,_0x4740df,_0x472e59=null,_0x393b49={}){if(_0x472e59=_0x472e59||Rt(_0x4740df),_0x41f430[_0x1196('0x1d')])return null;if(_0x1196('0x16e')===this[_0x1196('0x107')]){const _0x3af03b=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x178'),_0x472e59,_0x1196('0x175'));return this[_0x1196('0xb4')](()=>_0x3af03b([_0x41f430],_0x4740df,_0x393b49)),null;}const _0x156ea4=this['editor'][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'],_0x4158c8=[];if(_0x1196('0x8a')!==this[_0x1196('0x107')])for(const {suggestion:_0x281c28,meta:_0x1409a0}of this['_findSuggestions'](_0x41f430,_0x1196('0x115')))_0x1409a0[_0x1196('0xe6')]&&!_0x1409a0['isInsideObject']&&_0x4158c8[_0x1196('0xfb')](..._0x281c28[_0x1196('0x8f')]());const _0x4665ca=function(_0x3d2cc0,_0x3b9141){const _0x98a4e8=[];for(const _0x28bec8 of _0x3b9141){const _0x47c28c=_0x3d2cc0['getIntersection'](_0x28bec8);_0x47c28c&&_0x98a4e8['push'](_0x47c28c);}return _0x98a4e8;}(_0x41f430,_0x4158c8),_0x3bc696=function(_0x453983,_0x4ef2e2){const _0xb919dd=[_0x453983];for(const _0x9a9740 of _0x4ef2e2){let _0x47b3b3=0x0;for(;_0x47b3b3<_0xb919dd[_0x1196('0x123')];){const _0xe9f289=_0xb919dd[_0x47b3b3]['getDifference'](_0x9a9740);_0xb919dd[_0x1196('0x60')](_0x47b3b3,0x1,..._0xe9f289),_0x47b3b3+=_0xe9f289[_0x1196('0x123')];}}return _0xb919dd;}(_0x41f430,_0x4158c8);_0x4665ca[_0x1196('0x123')]&&this[_0x1196('0x14c')][_0x1196('0x71')](()=>{for(const _0x4b076c of _0x4665ca){const _0x2bc0fc=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x178'),_0x472e59,'accept');this[_0x1196('0xb4')](()=>_0x2bc0fc([_0x4b076c],_0x4740df,_0x393b49));}});for(const _0x5d5e96 of _0x3bc696){let _0x27836e=null,_0x5ef867=_0x5d5e96[_0x1196('0x55')],_0x192bc7=_0x5d5e96[_0x1196('0x145')];for(const {suggestion:_0xead023,meta:_0x2e3793}of this[_0x1196('0x76')](_0x5d5e96,'formatInline')){if(!_0x2e3793[_0x1196('0xe6')])continue;if(_0xead023[_0x1196('0xdb')]!=_0x472e59)continue;if(!Gt(_0xead023,_0x393b49))continue;const _0x28cc4d=_0xead023['getFirstRange']();if(_0x28cc4d[_0x1196('0xd9')](_0x5d5e96,!0x0))return null;_0x5ef867=_0x5ef867[_0x1196('0xb8')](_0x28cc4d[_0x1196('0x55')])?_0x5ef867:_0x28cc4d[_0x1196('0x55')],_0x192bc7=_0x192bc7['isAfter'](_0x28cc4d[_0x1196('0x145')])?_0x192bc7:_0x28cc4d[_0x1196('0x145')],_0x27836e?_0x28cc4d[_0x1196('0x55')][_0x1196('0xb8')](_0x27836e['getFirstRange']()['start'])?(_0x27836e[_0x1196('0x8b')](),_0x27836e=_0xead023):_0xead023['removeMarkers']():_0x27836e=_0xead023;}const _0x3c92bb=this[_0x1196('0x14c')][_0x1196('0xe4')](_0x5ef867,_0x192bc7);if(_0x27836e)this[_0x1196('0x65')](_0x27836e,_0x3c92bb);else{const _0x5b8e87=_0x1449d0(),_0xab5ae0=_0x156ea4['id'];this[_0x1196('0xa5')]({'id':_0x5b8e87,'type':_0x1196('0x15b')+_0x472e59,'data':_0x4740df,'createdAt':new Date(),'authorId':_0xab5ae0,'attributes':_0x393b49}),this[_0x1196('0x11d')](_0x1196('0x15b')+_0x472e59,_0x5b8e87,_0xab5ae0,_0x3c92bb);}}return null;}[_0x1196('0xd0')](_0x42b0fd,_0x1b9f81,_0x29afcf=[],_0x314e60=null,_0x5f99e1={}){_0x1b9f81['formatGroupId']||(_0x1b9f81[_0x1196('0x15')]=_0x1b9f81['commandName']),_0x1b9f81['multipleBlocks']=_0x42b0fd['is'](_0x1196('0x20')),_0x314e60=_0x314e60||Rt(_0x1b9f81);const _0x5a90db=_0x29afcf[_0x1196('0x14b')](_0x191eb0=>Ut(_0x191eb0,this['_model'])),_0x43f8dd=_0x42b0fd['is'](_0x1196('0x20'))?_0x42b0fd:Ut(_0x42b0fd,this['_model']);if(_0x1196('0x16e')===this['_trackFormatChanges']){const _0x44e01c=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x96'),_0x314e60,_0x1196('0x175'));return this['forceDefaultExecution'](()=>_0x44e01c([_0x43f8dd],_0x1b9f81,_0x5f99e1)),null;}_0x5a90db[_0x1196('0xfb')](_0x43f8dd);let _0x1b431e=!0x0;for(const _0x1d86cd of _0x5a90db)if(!this[_0x1196('0xfc')](_0x1d86cd)){_0x1b431e=!0x1;break;}if(_0x1b431e&&_0x1196('0x8a')!==this[_0x1196('0x107')]){const _0x67a267=this['_suggestionFactory'][_0x1196('0x113')](_0x1196('0x96'),_0x314e60,_0x1196('0x175'));return this[_0x1196('0xb4')](()=>_0x67a267([_0x43f8dd],_0x1b9f81,_0x5f99e1)),null;}let _0x46e921=null,_0x4d01f7=_0x43f8dd['start'],_0xd3d2cb=_0x43f8dd[_0x1196('0x145')];for(const {suggestion:_0x35600a,meta:_0x22a148}of this[_0x1196('0x76')](_0x43f8dd,_0x1196('0x96'))){if(!_0x22a148[_0x1196('0xe6')])continue;if(_0x22a148[_0x1196('0x117')]||_0x22a148[_0x1196('0xfe')]||_0x22a148['isInsideObject'])continue;if(_0x35600a['data'][_0x1196('0x15')]!=_0x1b9f81['formatGroupId'])continue;if(!Gt(_0x35600a,_0x5f99e1))continue;const _0x5ebfb7=_0x35600a[_0x1196('0x8')]();if(_0x35600a[_0x1196('0xdb')]==_0x314e60){if(_0x5ebfb7[_0x1196('0xd9')](_0x43f8dd,!0x0))return null;_0x4d01f7=_0x4d01f7[_0x1196('0xb8')](_0x5ebfb7['start'])?_0x4d01f7:_0x5ebfb7[_0x1196('0x55')],_0xd3d2cb=_0xd3d2cb[_0x1196('0x92')](_0x5ebfb7['end'])?_0xd3d2cb:_0x5ebfb7[_0x1196('0x145')],_0x46e921?_0x5ebfb7[_0x1196('0x55')][_0x1196('0xb8')](_0x46e921[_0x1196('0x8')]()['start'])?(_0x46e921[_0x1196('0x8b')](),_0x46e921=_0x35600a):_0x35600a[_0x1196('0x8b')]():_0x46e921=_0x35600a;}else{const _0x37bba8=_0x43f8dd[_0x1196('0xf6')](_0x5ebfb7);this['_cutOutSuggestionMarker'](_0x35600a,_0x37bba8);}}const _0x4d4168=this[_0x1196('0x3')][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'],_0x3d1132=_0x1449d0(),_0x4b8a89=_0x4d4168['id'];if(_0x46e921)return this[_0x1196('0x65')](_0x46e921,this[_0x1196('0x14c')]['createRange'](_0x4d01f7,_0xd3d2cb)),_0x46e921;{const _0x56d92a=this[_0x1196('0xa5')]({'id':_0x3d1132,'type':_0x1196('0x59')+_0x314e60,'data':_0x1b9f81,'createdAt':new Date(),'authorId':_0x4b8a89,'attributes':_0x5f99e1});return this[_0x1196('0x11d')](_0x1196('0x59')+_0x314e60,_0x3d1132,_0x4b8a89,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x4d01f7,_0xd3d2cb)),_0x56d92a;}}[_0x1196('0xe')](_0x475a39,_0x30fc50,_0x55867e=[],_0x2d63d0=null,_0x5449bb={}){_0x30fc50[_0x1196('0x15')]||(_0x30fc50['formatGroupId']=_0x30fc50[_0x1196('0x109')]);const _0x4b9aa2=_0x475a39[0x0];_0x30fc50[_0x1196('0x7e')]=_0x4b9aa2['is']('range'),_0x2d63d0=_0x2d63d0||Rt(_0x30fc50);const _0x32ae15=_0x55867e[_0x1196('0x14b')](_0x3ee49c=>Ut(_0x3ee49c,this[_0x1196('0x14c')])),_0x30ed59=_0x4b9aa2['is'](_0x1196('0x20'))?_0x475a39:_0x475a39[_0x1196('0x14b')](_0x203c66=>Ut(_0x203c66,this[_0x1196('0x14c')]));if('never'===this[_0x1196('0x107')]){const _0x1171f2=this[_0x1196('0x47')]['getSuggestionCallback'](_0x1196('0x96'),_0x2d63d0,_0x1196('0x175'));return this[_0x1196('0xb4')](()=>_0x1171f2(_0x30ed59,_0x30fc50,_0x5449bb)),null;}_0x32ae15[_0x1196('0xfb')](..._0x30ed59);let _0x177fc5=!0x0;for(const _0x40fcd0 of _0x32ae15)if(!this['_rangeIsInLocalUserInsertion'](_0x40fcd0)){_0x177fc5=!0x1;break;}if(_0x177fc5&&_0x1196('0x8a')!==this[_0x1196('0x107')]){const _0x3bb4fc=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x96'),_0x2d63d0,'accept');return this['forceDefaultExecution'](()=>_0x3bb4fc(_0x30ed59,_0x30fc50,_0x5449bb)),null;}const _0x361a14=this['editor'][_0x1196('0x35')]['get'](_0x1196('0x90'))['me'];for(const _0x3784a4 of this[_0x1196('0x1')]()){if(_0x3784a4[_0x1196('0x106')]['id']!=_0x361a14['id'])continue;if('formatBlock'!=_0x3784a4[_0x1196('0x17c')]||_0x3784a4[_0x1196('0x61')]['formatGroupId']!=_0x30fc50[_0x1196('0x15')])continue;if(!Gt(_0x3784a4,_0x5449bb))continue;const _0x1b9519=_0x3784a4[_0x1196('0xdb')]==_0x2d63d0;for(let _0x35c2e7=0x0;_0x35c2e7<_0x30ed59[_0x1196('0x123')];_0x35c2e7++){const _0x4c70b7=_0x30ed59[_0x35c2e7];for(const _0x3ae401 of _0x3784a4['getMarkers']()){const _0x5ddf73=_0x3ae401[_0x1196('0xaa')]();if(_0x4c70b7[_0x1196('0x139')](_0x5ddf73)){_0x1b9519?(_0x30ed59['splice'](_0x35c2e7,0x1),_0x35c2e7--):_0x3784a4[_0x1196('0xe8')](_0x3ae401[_0x1196('0x1b')]);break;}}}}if(0x0==_0x30ed59[_0x1196('0x123')])return null;const _0x5e593d=this['_suggestionFactory'][_0x1196('0x113')]('formatBlock',_0x2d63d0,_0x1196('0xc8'));for(const _0x164d9b of this[_0x1196('0x1')]())if(_0x164d9b[_0x1196('0x106')]['id']==_0x361a14['id']&&'formatBlock'==_0x164d9b[_0x1196('0x17c')]&&_0x164d9b[_0x1196('0x61')][_0x1196('0x15')]==_0x30fc50[_0x1196('0x15')]&&_0x164d9b[_0x1196('0xdb')]==_0x2d63d0&&Gt(_0x164d9b,_0x5449bb)&&(_0x5e593d(_0x164d9b['getRanges'](),_0x30ed59)||_0x5e593d(_0x30ed59,_0x164d9b[_0x1196('0x8f')]()))){for(const _0x4bb94c of _0x30ed59)_0x164d9b[_0x1196('0xc0')](_0x4bb94c);return _0x164d9b;}const _0xfdc263=_0x1449d0(),_0x5c175e=_0x361a14['id'],_0x289e01=_0x1196('0x59')+_0x2d63d0,_0x2b3da5=this[_0x1196('0xa5')]({'id':_0xfdc263,'type':_0x289e01,'data':_0x30fc50,'createdAt':new Date(),'authorId':_0x5c175e,'attributes':_0x5449bb});for(const _0x4ea075 of _0x30ed59)this[_0x1196('0x11d')](_0x289e01,_0xfdc263,_0x5c175e,_0x4ea075,_0x32d5d1[_0x1196('0x5f')]());return _0x2b3da5;}[_0x1196('0x155')](_0x38f5fa,_0x5de77d=null,_0x4fd08e={}){if(_0x38f5fa['isCollapsed'])return null;const _0x3b9947=this[_0x1196('0x3')][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'],_0x552968=new _0x284da0(_0x38f5fa[_0x1196('0x55')],_0x38f5fa[_0x1196('0x145')]);for(const {suggestion:_0x40d73a,meta:_0x354853}of this['_findSuggestions'](_0x552968,'insertion'))if(_0x354853[_0x1196('0xe6')]&&!_0x354853[_0x1196('0x117')]){if(_0x40d73a[_0x1196('0x5b')]){const _0x2700c0=_0x40d73a[_0x1196('0x8f')]()[_0x1196('0x168')](_0xf5e506=>_0x1196('0x116')!=_0xf5e506[_0x1196('0x137')][_0x1196('0xf5')]);_0x2700c0[_0x1196('0x10a')](_0x5983c1=>_0x552968[_0x1196('0xd9')](_0x5983c1,!0x0))&&_0x40d73a['discard']();if(_0x2700c0['some'](_0xc91fa5=>_0xc91fa5[_0x1196('0xd9')](_0x552968,!0x0))){const _0x389faf=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x58'),_0x5de77d,'accept');return this[_0x1196('0xb4')](()=>_0x389faf([_0x552968],null,_0x4fd08e)),null;}}else{const _0x298f7f=_0x552968[_0x1196('0xf6')](_0x40d73a[_0x1196('0x8')]());null!==_0x298f7f&&_0x40d73a[_0x1196('0x111')]([_0x298f7f],null,_0x4fd08e);}}if(_0x552968[_0x1196('0x80')](),_0x552968[_0x1196('0x1d')]||_0x1196('0x116')==_0x552968[_0x1196('0x137')][_0x1196('0xf5')])return null;let _0x31ef12=null,_0x3d2c3e=_0x552968[_0x1196('0x55')],_0x56a2f8=_0x552968[_0x1196('0x145')];const _0x54c0ee=this[_0x1196('0x76')](_0x552968,_0x1196('0x58'));for(const {suggestion:_0x4d628f,meta:_0x297c47}of _0x54c0ee){const _0x20e074=this[_0x1196('0x14c')]['createRange'](_0x3d2c3e,_0x56a2f8);if(_0x297c47[_0x1196('0xe6')]&&(this['_mergeNestedSuggestions']||!_0x297c47[_0x1196('0xfe')]&&!_0x297c47[_0x1196('0xa0')])){if(_0x4d628f[_0x1196('0x5b')]){if(!Gt(_0x4d628f,_0x4fd08e))continue;let _0xcdddaa=!0x0;for(const _0x449227 of _0x4d628f[_0x1196('0x8f')]()){if(_0x449227['containsRange'](_0x20e074,!0x0))return _0x4d628f;_0x20e074['containsRange'](_0x449227)||(_0xcdddaa=!0x1);}_0xcdddaa&&_0x4d628f[_0x1196('0xae')]();}else{const _0x303ab6=_0x4d628f[_0x1196('0x8')]();if(_0x303ab6['containsRange'](_0x20e074,!0x0))return _0x4d628f;if(!Gt(_0x4d628f,_0x4fd08e)){_0x20e074[_0x1196('0xd9')](_0x303ab6)?_0x4d628f[_0x1196('0x8b')]():_0x303ab6[_0x1196('0x50')](_0x3d2c3e)?_0x3d2c3e=_0x303ab6['end']:_0x303ab6[_0x1196('0x50')](_0x56a2f8)&&(_0x56a2f8=_0x303ab6[_0x1196('0x55')]);continue;}_0x3d2c3e=_0x3d2c3e[_0x1196('0xb8')](_0x303ab6[_0x1196('0x55')])?_0x3d2c3e:_0x303ab6[_0x1196('0x55')],_0x56a2f8=_0x56a2f8[_0x1196('0x92')](_0x303ab6[_0x1196('0x145')])?_0x56a2f8:_0x303ab6[_0x1196('0x145')],_0x4fd08e=Object['assign']({},_0x4d628f[_0x1196('0x79')]),_0x31ef12?_0x303ab6['start'][_0x1196('0xb8')](_0x31ef12[_0x1196('0x8')]()[_0x1196('0x55')])?(_0x31ef12[_0x1196('0x8b')](),_0x31ef12=_0x4d628f):_0x4d628f[_0x1196('0x8b')]():_0x31ef12=_0x4d628f;}}}if(_0x31ef12)return this[_0x1196('0x65')](_0x31ef12,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x3d2c3e,_0x56a2f8)),_0x31ef12;{const _0x34ee95=_0x1449d0(),_0xe569cf=this[_0x1196('0x14c')]['createRange'](_0x3d2c3e,_0x56a2f8),_0x40d551=_0x3b9947['id'],_0x43e2fa=_0x5de77d?_0x1196('0x75')+_0x5de77d:_0x1196('0x58'),_0x401ede=this['_setSuggestionData']({'id':_0x34ee95,'type':_0x43e2fa,'createdAt':new Date(),'authorId':_0x40d551,'attributes':_0x4fd08e});return this[_0x1196('0x11d')](_0x43e2fa,_0x34ee95,_0x40d551,_0xe569cf),_0x401ede;}}['markMultiRangeDeletion'](_0x11bc22,_0x398410=_0x1196('0x6b'),_0x2e6dc0={}){const _0x73de5e=this[_0x1196('0x3')][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'],_0x224267=_0x11bc22['map'](_0x28c416=>new _0x284da0(_0x28c416['start'],_0x28c416[_0x1196('0x145')])),_0x760be6=new Set();for(const {suggestion:_0x1906fa,meta:_0x1ad5c6}of this[_0x1196('0x76')](_0x224267,_0x1196('0x115')))_0x1ad5c6[_0x1196('0xe6')]&&!_0x1ad5c6[_0x1196('0x117')]&&_0x760be6[_0x1196('0x7c')](_0x1906fa);for(const _0xe3b006 of _0x760be6)if(_0xe3b006[_0x1196('0x5b')]){const _0x5a3ba3=_0xe3b006[_0x1196('0x8f')]();(!_0xe3b006[_0x1196('0x79')]||!_0xe3b006[_0x1196('0x79')][_0x1196('0x13d')])&&(_0x5a3ba3[_0x1196('0x10a')](_0x3daf6b=>_0x224267[_0x1196('0x94')](_0x18db4f=>_0x18db4f[_0x1196('0xd9')](_0x3daf6b,!0x0)))&&_0xe3b006[_0x1196('0xae')]());if(_0x224267[_0x1196('0x10a')](_0x3364e8=>_0x5a3ba3['some'](_0x240a3a=>_0x240a3a[_0x1196('0xd9')](_0x3364e8,!0x0)))){const _0x186780=this[_0x1196('0x47')][_0x1196('0x113')]('deletion',_0x398410,_0x1196('0x175'));return this[_0x1196('0xb4')](()=>_0x186780(_0x11bc22,null,_0x2e6dc0)),null;}}else{const _0x34428d=_0xe3b006[_0x1196('0x8')]();_0x224267[_0x1196('0x94')](_0x5a9266=>_0x5a9266[_0x1196('0xd9')](_0x34428d,!0x0))&&_0xe3b006['discard']();if(_0x224267[_0x1196('0x10a')](_0x35d88e=>_0x34428d[_0x1196('0xd9')](_0x35d88e,!0x0))){const _0x4c3b7a=this[_0x1196('0x47')]['getSuggestionCallback'](_0x1196('0x58'),_0x398410,'accept');return this['forceDefaultExecution'](()=>_0x4c3b7a(_0x224267,null,_0x2e6dc0)),null;}}const _0x4950d5=this['_suggestionFactory'][_0x1196('0x113')]('deletion',_0x398410,_0x1196('0xc8'));let _0xc3e663=null;for(const _0x30a1d6 of this[_0x1196('0x1')]())if(_0x30a1d6[_0x1196('0x106')]['id']==_0x73de5e['id']&&_0x30a1d6[_0x1196('0x16a')]&&_0x1196('0x58')==_0x30a1d6[_0x1196('0x17c')]&&_0x30a1d6[_0x1196('0xdb')]==_0x398410&&Gt(_0x30a1d6,_0x2e6dc0)&&(_0x4950d5(_0x30a1d6[_0x1196('0x8f')](),_0x224267)||_0x4950d5(_0x224267,_0x30a1d6[_0x1196('0x8f')]()))){if(_0xc3e663){if(_0x30a1d6[_0x1196('0x104')]&&_0x30a1d6[_0x1196('0x104')][_0x1196('0x123')])continue;for(const _0x47c94f of _0x30a1d6[_0x1196('0x8f')]())_0xc3e663[_0x1196('0x10b')](_0x47c94f)||_0xc3e663['addRange'](_0x47c94f);_0x30a1d6[_0x1196('0x8b')]();}else{_0xc3e663=_0x30a1d6;for(const _0x45040d of _0x224267)_0x30a1d6[_0x1196('0x10b')](_0x45040d)||_0x30a1d6[_0x1196('0xc0')](_0x45040d);}}if(_0xc3e663)return _0xc3e663;_0x760be6[_0x1196('0x8c')]();for(const {suggestion:_0x52be36,meta:_0x5c3be4}of this[_0x1196('0x76')](_0x224267,_0x1196('0x58')))_0x5c3be4[_0x1196('0xe6')]&&(this[_0x1196('0x3b')]||!_0x5c3be4[_0x1196('0xfe')]&&!_0x5c3be4[_0x1196('0xa0')])&&Gt(_0x52be36,_0x2e6dc0)&&_0x760be6['add'](_0x52be36);for(const _0x315cac of _0x760be6){const _0x23d210=_0x315cac[_0x1196('0x8f')]();if(!_0x2e6dc0||!_0x2e6dc0[_0x1196('0x13d')]){if(_0x224267[_0x1196('0x10a')](_0x3a86b5=>_0x23d210['some'](_0x45eb28=>_0x45eb28[_0x1196('0xd9')](_0x3a86b5,!0x0))))return _0x315cac;}(!_0x315cac[_0x1196('0x79')]||!_0x315cac[_0x1196('0x79')][_0x1196('0x13d')])&&(_0x23d210[_0x1196('0x10a')](_0x39b7e8=>_0x224267[_0x1196('0x94')](_0x11ddd4=>_0x11ddd4[_0x1196('0xd9')](_0x39b7e8,!0x0)))&&_0x315cac[_0x1196('0xae')]());}const _0x3d6f16=_0x1449d0(),_0x1b641d=_0x73de5e['id'],_0x5979a2='deletion:'+_0x398410,_0x36c75a=this['_setSuggestionData']({'id':_0x3d6f16,'type':_0x5979a2,'createdAt':new Date(),'authorId':_0x1b641d,'attributes':_0x2e6dc0});for(const _0x15b90d of _0x224267)_0x15b90d['detach'](),_0x15b90d['isCollapsed']||_0x1196('0x116')==_0x15b90d[_0x1196('0x137')]['rootName']||this['_addSuggestionMarker'](_0x5979a2,_0x3d6f16,_0x1b641d,_0x15b90d,_0x32d5d1[_0x1196('0x5f')]());return _0x36c75a;}[_0x1196('0x169')](_0x3e8dfb,_0x1aa7a8,_0x1a7945,_0xa1435a,_0x3b012e){if(_0x3e8dfb[_0x1196('0x1d')])return[];if(_0x1196('0x16e')===this[_0x1196('0x107')])return[];const _0x42cfbe=this[_0x1196('0x3')]['plugins']['get'](_0x1196('0x90'))['me']['id'],_0x36644a=Array[_0x1196('0xcb')](this[_0x1196('0x161')][_0x1196('0xc')]())['filter'](_0x59e03d=>_0x1196('0x12e')==_0x59e03d[_0x1196('0x17c')]&&_0x59e03d[_0x1196('0x61')][_0x1196('0x15f')]==_0x1aa7a8&&_0x59e03d['isIntersectingWithRange'](_0x3e8dfb));if(_0x1196('0x18')===this[_0x1196('0x107')]){const _0x292f82=this[_0x1196('0x76')](_0x3e8dfb,_0x1196('0x115'))['filter'](({meta:_0x229024})=>_0x229024[_0x1196('0xe6')]&&!_0x229024[_0x1196('0xa0')]&&!_0x229024[_0x1196('0x117')])[_0x1196('0x14b')](({suggestion:_0x562c2b})=>_0x562c2b);_0x36644a[_0x1196('0x9d')](..._0x292f82);}const _0x434150=new Map([[_0x3e8dfb,_0x1a7945]]);for(const _0x53df7b of _0x36644a){const _0x33ab55=_0x1196('0x12e')==_0x53df7b[_0x1196('0x17c')]?_0x53df7b[_0x1196('0x61')][_0x1196('0xdd')]:void 0x0,_0x3fa958=_0x53df7b['getFirstRange'](),_0x3fbb37=Array['from'](_0x434150[_0x1196('0x16c')]())[_0x1196('0x11f')](_0x4a832e=>_0x4a832e[_0x1196('0x13e')](_0x3fa958));if(!_0x3fbb37)continue;const _0x3f51f9=_0x3fbb37['getDifference'](_0x3fa958);this['_isBlockAttribute'](_0x1aa7a8)&&_0x1196('0x115')==_0x53df7b[_0x1196('0x17c')]&&0x0!=_0x3f51f9['length']||(_0x434150[_0x1196('0x23')](_0x3fbb37),_0x3f51f9[_0x1196('0x142')](_0x307ba8=>{_0x434150[_0x1196('0x128')](_0x307ba8,_0x1a7945);}),_0x1196('0x115')!=_0x53df7b[_0x1196('0x17c')]&&_0x33ab55!=_0xa1435a&&_0x434150[_0x1196('0x128')](_0x3fbb37[_0x1196('0xf6')](_0x3fa958),_0x33ab55));}const _0x32d86a=[];for(const [_0x463190,_0x1e2ae4]of _0x434150){const _0x288c30=_0x1449d0(),_0x153574={'key':_0x1aa7a8,'oldValue':_0x1e2ae4,'newValue':_0xa1435a};_0x1aa7a8[_0x1196('0x123')]>0x25&&console[_0x1196('0x133')](_0x1196('0x125'),{'key':_0x1aa7a8});const _0xa1559=('attribute:'+(_0x1aa7a8+'|'+Rt({'newValue':_0xa1435a})))[_0x1196('0x63')](0x0,0x3c),_0x34d7d4=this[_0x1196('0xa5')]({'id':_0x288c30,'type':_0xa1559,'data':_0x153574,'createdAt':new Date(),'authorId':_0x42cfbe,'attributes':_0x3b012e});_0x32d86a[_0x1196('0xfb')](_0x34d7d4),this[_0x1196('0x11d')](_0xa1559,_0x288c30,_0x42cfbe,_0x463190);}return _0x32d86a;}[_0x1196('0x122')](_0x182239){this[_0x1196('0x176')][_0x1196('0x7c')](_0x182239);}['_registerInlineAttribute'](_0x1c5920){this['_inlineAttributeKeys'][_0x1196('0x7c')](_0x1c5920);}[_0x1196('0x15e')](_0x5980e1,_0xf000ec=[],_0x24b2e8=[]){this[_0x1196('0xea')](_0x5980e1,(_0x5ef72d,..._0xac8a19)=>{this[_0x1196('0x7')](()=>{_0x5ef72d(..._0xac8a19);});});for(const _0x2e8e97 of _0xf000ec)this[_0x1196('0xbf')](_0x2e8e97);for(const _0x19e388 of _0x24b2e8)this['_registerBlockAttribute'](_0x19e388);}[_0x1196('0x65')](_0x54c0bc,_0x385062){const _0x2f81bd=_0x54c0bc[_0x1196('0x67')]();this['_model'][_0x1196('0x71')](_0x217e3d=>{_0x217e3d[_0x1196('0x10e')](_0x2f81bd,{'range':_0x385062});});}[_0x1196('0x57')](_0x441686){const _0x39871f=_0x441686['id'],_0x48b1a1=this[_0x1196('0x3')][_0x1196('0x45')]['get'](_0x1196('0x102'));this['_commentsRepository']['hasCommentThread'](_0x39871f)||this[_0x1196('0x2')][_0x1196('0x8e')]({'channelId':_0x48b1a1,'threadId':_0x39871f,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x1961b9=this[_0x1196('0x2')][_0x1196('0x15d')](_0x39871f);_0x1961b9[_0x1196('0xa6')](_0x1196('0x52')),_0x1961b9['isRemovable']=!0x1,_0x441686[_0x1196('0x104')]=_0x1961b9;}['_checkSuggestionCorrectness'](_0x5a5b94,_0x18ecd1,_0x228af1,_0x18be1c){if(_0x5a5b94['type']!=_0x18ecd1||_0x5a5b94[_0x1196('0xdb')]!=_0x228af1||_0x5a5b94[_0x1196('0x173')]['id']!=_0x18be1c)throw this[_0x1196('0x3')][_0x1196('0x12')]('track-changes-suggestion-data-mismatch'),new _0x37a2ae(_0x1196('0x134'),this);}[_0x1196('0x3e')](_0x199aa1,_0xaa30e7){const _0x116328=_0x199aa1['getFirstRange']();if(_0xaa30e7[_0x1196('0x139')](_0x116328))_0x199aa1['removeMarkers']();else{if(_0x116328['containsRange'](_0xaa30e7)){const _0x47f06e=this[_0x1196('0x14c')][_0x1196('0x167')](_0xaa30e7[_0x1196('0x55')][_0x1196('0x39')],_0x1196('0x145'));this[_0x1196('0x65')](_0x199aa1,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x116328[_0x1196('0x55')],_0x47f06e));const _0x58bb18=_0x1449d0(),_0x1bbb4c=_0x199aa1[_0x1196('0x173')]['id'],_0x10877d=_0x199aa1[_0x1196('0x17c')]+':'+_0x199aa1[_0x1196('0xdb')];this[_0x1196('0xa5')]({'id':_0x58bb18,'type':_0x10877d,'createdAt':new Date(),'authorId':_0x1bbb4c,'data':_0x199aa1[_0x1196('0x61')],'attributes':_0x199aa1[_0x1196('0x79')]});const _0x59fae9=this[_0x1196('0x14c')][_0x1196('0x167')](_0xaa30e7['end']['parent'],_0x1196('0xfa')),_0x21b39e=this[_0x1196('0x14c')][_0x1196('0xe4')](_0x59fae9,_0x116328[_0x1196('0x145')]);this[_0x1196('0x11d')](_0x10877d,_0x58bb18,_0x1bbb4c,_0x21b39e);}else{if(_0x116328[_0x1196('0x50')](_0xaa30e7[_0x1196('0x55')])){const _0x1facca=this['_model']['createPositionAt'](_0xaa30e7[_0x1196('0x55')][_0x1196('0x39')],_0x1196('0x145'));this['_setSuggestionRange'](_0x199aa1,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x116328[_0x1196('0x55')],_0x1facca));}else{const _0x47f16f=this[_0x1196('0x14c')][_0x1196('0x167')](_0xaa30e7['end'][_0x1196('0xa7')],'after');this[_0x1196('0x65')](_0x199aa1,this[_0x1196('0x14c')]['createRange'](_0x47f16f,_0x116328['end']));}}}}[_0x1196('0xfc')](_0x58e626){for(const {suggestion:_0x5e5ac1,meta:_0x3ef480}of this['_findSuggestions'](_0x58e626,_0x1196('0x115'))){if(!_0x3ef480[_0x1196('0xe6')])continue;const _0x2ab656=_0x5e5ac1[_0x1196('0x8f')]();for(const _0x4a1ece of _0x2ab656)if(!_0x58e626[_0x1196('0xb7')](_0x4a1ece)[_0x1196('0x123')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x1f6144){const _0x5a8da7=this['editor'][_0x1196('0x35')][_0x1196('0xa8')]('Users')[_0x1196('0xc3')](_0x1f6144);if(!_0x5a8da7)throw new _0x37a2ae(_0x1196('0x164'),this);return _0x5a8da7;}[_0x1196('0x6a')](_0xd0a522){const _0xbdda43=this[_0x1196('0x3')]['plugins'][_0x1196('0xa8')]('Users'),_0x41be5a=_0x5501a2(_0x1196('0x165')+_0xd0a522),_0x5f1bab=_0xbdda43[_0x1196('0xc3')](_0x41be5a);return _0x5f1bab||_0xbdda43[_0x1196('0xc2')]({'id':_0x41be5a,'name':_0xd0a522});}['_createSuggestion'](_0x2e3da0,_0x340b52,_0x17e9c3,_0x4092e8,_0x1288f4){const _0xffb7a=this['_getAuthorFromId'](_0x4092e8),_0x597c36=this[_0x1196('0x47')]['buildSuggestion'](_0x2e3da0,_0x340b52,_0x17e9c3,_0xffb7a,_0x1288f4,_0x898544=>this[_0x1196('0x70')](_0x17e9c3,{'attributes':_0x898544}));return this[_0x1196('0x48')](_0x597c36,'accept',()=>{this['_updateSuggestionData'](_0x17e9c3,{'state':_0x1196('0x6e')});},{'priority':'high'}),this[_0x1196('0x48')](_0x597c36,_0x1196('0xae'),()=>{this[_0x1196('0x70')](_0x17e9c3,{'state':_0x1196('0x89')});},{'priority':_0x1196('0xa9')}),this['_suggestions'][_0x1196('0x128')](_0x17e9c3,_0x597c36),this['_suggestionState'][_0x1196('0x128')](_0x597c36,_0x1196('0x2b')),_0x597c36;}[_0x1196('0x17')](_0x41bbce){const _0xe174ce=_0x41bbce[_0x1196('0x88')](':');return{'group':_0xe174ce[0x0],'type':_0xe174ce[0x1],'subType':_0xe174ce['length']>=0x5?_0xe174ce[0x2]:null,'id':_0xe174ce['length']<0x5?_0xe174ce[0x2]:_0xe174ce[0x3],'authorId':_0xe174ce[_0x1196('0x123')]<0x5?_0xe174ce[0x3]:_0xe174ce[0x4],'markerCount':0x6==_0xe174ce['length']?_0xe174ce[0x5]:null};}['_breakSuggestionMarker'](_0x53ab89,_0x16190a,_0x4356ab){const _0x417797=_0x53ab89[_0x1196('0x8')](),_0x269c47=_0x417797['start'],_0x3249eb=_0x417797[_0x1196('0x145')];this[_0x1196('0x65')](_0x53ab89,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x269c47,_0x16190a));const _0x15ea69=_0x1449d0(),_0x4ed3f9=_0x53ab89[_0x1196('0x173')]['id'],_0x4c7e92=_0x53ab89[_0x1196('0x17c')]+(_0x53ab89[_0x1196('0xdb')]?':'+_0x53ab89['subType']:'');this['_setSuggestionData']({'id':_0x15ea69,'type':_0x4c7e92,'createdAt':new Date(),'authorId':_0x4ed3f9,'originalSuggestionId':_0x53ab89['id'],'attributes':_0x53ab89['attributes'],'data':_0x53ab89['data']});const _0xc7509e=Pt(_0x53ab89);(_0x1196('0x96')==_0x53ab89[_0x1196('0x17c')]||_0xc7509e&&this[_0x1196('0xe0')](_0xc7509e))&&(_0x4356ab=this[_0x1196('0x14c')][_0x1196('0x112')](_0x4356ab['parent'])),this[_0x1196('0x11d')](_0x4c7e92,_0x15ea69,_0x4ed3f9,this[_0x1196('0x14c')]['createRange'](_0x4356ab,_0x3249eb));}['_findSuggestions'](_0x5a0292,_0x2a5187=null){const _0x59b613=[],_0x42a068=this['editor'][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'];Array[_0x1196('0xb5')](_0x5a0292)||(_0x5a0292=[_0x5a0292]);for(const _0x5a86f0 of this[_0x1196('0x1')]()){if(!_0x5a86f0[_0x1196('0x16a')])continue;if(_0x2a5187&&_0x5a86f0[_0x1196('0x17c')]!=_0x2a5187)continue;let _0x38f439=!0x1;for(const _0x582e96 of _0x5a86f0[_0x1196('0x8f')]()){for(const _0x35f001 of _0x5a0292){const _0x1671da=_0x35f001[_0x1196('0x55')]['isEqual'](_0x582e96['end'])||_0x35f001[_0x1196('0x145')][_0x1196('0x139')](_0x582e96['start']);if(_0x1671da||_0x35f001[_0x1196('0xf6')](_0x582e96)){const _0x34a34b=_0x35f001[_0x1196('0xd9')](_0x582e96)&&Tt(this[_0x1196('0x14c')][_0x1196('0x93')],_0x582e96['start'],_0x35f001),_0x45e51a=_0x582e96[_0x1196('0xd9')](_0x35f001)&&Tt(this[_0x1196('0x14c')][_0x1196('0x93')],_0x35f001['start'],_0x582e96);_0x59b613[_0x1196('0xfb')]({'suggestion':_0x5a86f0,'meta':{'isOwn':_0x42a068==_0x5a86f0[_0x1196('0x106')],'isNextTo':_0x1671da,'isInsideObject':_0x34a34b,'containsRangeInObject':_0x45e51a}}),_0x38f439=!0x0;break;}}if(_0x38f439)break;}}return _0x59b613;}[_0x1196('0x11d')](_0x5060fe,_0x207e60,_0x15c5f3,_0x393a27,_0x1723a7){this[_0x1196('0x14c')][_0x1196('0x71')](_0x428922=>{let _0x450801=_0x1196('0x9')+_0x5060fe+':'+_0x207e60+':'+_0x15c5f3;_0x1723a7&&(_0x450801=_0x450801+':'+_0x1723a7),_0x428922[_0x1196('0xe7')](_0x450801,{'range':_0x393a27,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1196('0x82')](_0x551325){const _0x3011da=_0x551325[_0x1196('0x6f')],_0x11e3c8=_0x551325[_0x1196('0x146')];_0x551325['previous']=null,_0x551325[_0x1196('0x146')]=null,null!=_0x3011da&&(_0x3011da[_0x1196('0x146')]=_0x11e3c8),null!=_0x11e3c8&&(_0x11e3c8[_0x1196('0x6f')]=_0x3011da),_0x1196('0xef')==this[_0x1196('0x81')][_0x1196('0xa8')](_0x551325)&&(this[_0x1196('0x81')][_0x1196('0x128')](_0x551325,'removed'),this['fire'](_0x1196('0xba'),_0x551325,_0x3011da,_0x11e3c8));}['_setSuggestionData'](_0x15c2ad){const _0x262b7f=_0x15c2ad['id'],_0x3f666a=this[_0x1196('0xe5')](_0x15c2ad);if(this[_0x1196('0x14')]&&this['_adapter'][_0x1196('0xa3')]){const _0x40b63f=this[_0x1196('0x3')][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x66')),_0x31953a=_0x3f666a[_0x1196('0x6d')],_0x42ed66=_0x3f666a[_0x1196('0xdb')]?_0x3f666a[_0x1196('0x17c')]+':'+_0x3f666a[_0x1196('0xdb')]:_0x3f666a[_0x1196('0x17c')],_0x4ad164=this[_0x1196('0x3')][_0x1196('0x28')],_0x3608ab=_0x40b63f['add'](_0x53252c(_0x4ad164,_0x1196('0xd1'))),_0x1c0ca8={'id':_0x262b7f,'type':_0x42ed66,'hasComments':_0x31953a,'data':_0x15c2ad[_0x1196('0x61')]||null,'originalSuggestionId':_0x15c2ad['originalSuggestionId']||null,'attributes':_0x3f666a[_0x1196('0x79')]};this[_0x1196('0x14')]['addSuggestion'](_0x1c0ca8)[_0x1196('0x8d')](_0x2d89ba=>{_0x3f666a['_saved']=!0x0,_0x40b63f['remove'](_0x3608ab),_0x2d89ba&&_0x2d89ba[_0x1196('0xc4')]&&(this[_0x1196('0x161')][_0x1196('0xa8')](_0x262b7f)['createdAt']=_0x2d89ba['createdAt']);})[_0x1196('0xb3')](_0x2e36b1=>{throw _0x3e1932('error-saving-suggestion-data-suggestion-discarded'),this[_0x1196('0x3')]['model'][_0x1196('0x130')]({'isUndoable':!0x1},()=>{_0x3f666a[_0x1196('0xae')]();}),_0x3f666a['stopListening'](),this[_0x1196('0x161')][_0x1196('0x23')](_0x3f666a['id']),this[_0x1196('0x81')][_0x1196('0x23')](_0x3f666a),_0x2e36b1;});}return _0x3f666a;}[_0x1196('0xe0')](_0xac158f){return this['_blockAttributeKeys']['has'](_0xac158f);}[_0x1196('0x70')](_0x3d23bf,_0x4e2f3c){const _0xfbb96c=this[_0x1196('0x3')]['plugins'][_0x1196('0xa8')](_0x1196('0x66')),_0x451d37=this[_0x1196('0x162')](_0x3d23bf);if(this[_0x1196('0x14')]&&this['_adapter'][_0x1196('0xfd')]){if(_0x451d37[_0x1196('0x118')]){const _0x2f3246=_0xfbb96c[_0x1196('0x7c')](_0x53252c(this[_0x1196('0x3')][_0x1196('0x28')],_0x1196('0xd1')));this['_adapter'][_0x1196('0xfd')](_0x3d23bf,_0x4e2f3c)['then'](()=>{_0xfbb96c[_0x1196('0x171')](_0x2f3246);});}else _0x451d37['on'](_0x1196('0x170'),()=>{this[_0x1196('0x70')](_0x3d23bf,_0x4e2f3c);});}}[_0x1196('0x120')](_0x4f0c3){if(!this[_0x1196('0x14')]||!this[_0x1196('0x14')][_0x1196('0x162')])throw new _0x37a2ae(_0x1196('0x64'),this);return this[_0x1196('0x14')][_0x1196('0x162')](_0x4f0c3);}[_0x1196('0x12b')](_0x2edcbf){const {id:_0x391772,type:_0x5a2a6c,subType:_0x249b86,authorId:_0x3cc489}=this['_splitMarkerName'](_0x2edcbf),_0x27ecb0=this[_0x1196('0x161')][_0x1196('0xa8')](_0x391772)||this[_0x1196('0x16')](_0x5a2a6c,_0x249b86,_0x391772,_0x3cc489,{});switch(this[_0x1196('0x2a')](_0x27ecb0,_0x5a2a6c,_0x249b86,_0x3cc489),this[_0x1196('0x81')][_0x1196('0xa8')](_0x27ecb0)){case _0x1196('0x2b'):this[_0x1196('0x120')](_0x391772)[_0x1196('0x8d')](_0x411248=>{let _0x479400=Promise[_0x1196('0x2d')]();_0x411248[_0x1196('0x6d')]&&(_0x479400=this[_0x1196('0x2')][_0x1196('0x14e')]({'channelId':this['editor']['config'][_0x1196('0xa8')]('collaboration.channelId'),'threadId':_0x391772})),_0x479400[_0x1196('0x8d')](()=>{this[_0x1196('0xe5')](_0x411248)[_0x1196('0x118')]=!0x0;});}),this[_0x1196('0x81')]['set'](_0x27ecb0,_0x1196('0x1e'));break;case _0x1196('0xec'):this[_0x1196('0x70')](_0x391772,{'state':_0x1196('0x157')});case _0x1196('0xde'):this[_0x1196('0x81')][_0x1196('0x128')](_0x27ecb0,_0x1196('0xef')),this['fire'](_0x1196('0x99'),_0x27ecb0);break;case _0x1196('0xef'):this[_0x1196('0x13')](_0x1196('0x141'),_0x27ecb0);}return _0x27ecb0['addMarkerName'](_0x2edcbf),_0x27ecb0;}['_refreshSuggestionsChain'](_0x4c7228){const _0x17b08e=Array[_0x1196('0xcb')](_0x4c7228),_0x131ee4=_0x17b08e[_0x1196('0x168')](_0x332b6f=>_0x1196('0x12e')==_0x332b6f['type']);this[_0x1196('0x98')](_0x131ee4);const _0x4406a9=_0x17b08e[_0x1196('0x168')](_0x5644e2=>!_0x5644e2[_0x1196('0x5b')]&&_0x1196('0x12e')!=_0x5644e2[_0x1196('0x17c')]),_0x1265d9=this[_0x1196('0x1')]({'skipNotAttached':!0x0})[_0x1196('0x168')](_0x1def36=>!_0x1def36[_0x1196('0x5b')]&&_0x1196('0x12e')!=_0x1def36[_0x1196('0x17c')]),_0x3f2bc5=_0x1265d9['filter'](_0x35e8a2=>!_0x4c7228['has'](_0x35e8a2)),_0x5efeba=new Map(_0x1265d9['map'](_0x1ec9f1=>[_0x1ec9f1,this[_0x1196('0x47')][_0x1196('0x113')](_0x1ec9f1[_0x1196('0x17c')],_0x1ec9f1[_0x1196('0xdb')],_0x1196('0x38'))])),_0x225ca4=new Map(_0x1265d9[_0x1196('0x14b')](_0x16e3b1=>[_0x16e3b1,_0x16e3b1[_0x1196('0x8')]()])),_0x353322=new Set(),_0x1c5c8a=new Set();for(let _0x261619=0x0;_0x261619<_0x4406a9[_0x1196('0x123')];_0x261619++)_0x29da4d(_0x4406a9[_0x261619],_0x4406a9,_0x261619+0x1);for(let _0x6bee6f=0x0;_0x6bee6f<_0x4406a9[_0x1196('0x123')];_0x6bee6f++)_0x29da4d(_0x4406a9[_0x6bee6f],_0x3f2bc5,0x0);const _0x3c4b87=new Set();for(let _0x230480=0x0;_0x230480<_0x4406a9[_0x1196('0x123')];_0x230480++){const _0x43976c=_0x4406a9[_0x230480];!_0x1c5c8a[_0x1196('0x138')](_0x43976c)&&_0x43976c['previous']&&(_0x3c4b87[_0x1196('0x7c')](_0x43976c['previous']),_0x43976c[_0x1196('0x6f')][_0x1196('0x146')]===_0x43976c&&(_0x43976c[_0x1196('0x6f')][_0x1196('0x146')]=null),_0x43976c[_0x1196('0x6f')]=null),!_0x353322[_0x1196('0x138')](_0x43976c)&&_0x43976c['next']&&(_0x3c4b87[_0x1196('0x7c')](_0x43976c['next']),_0x43976c[_0x1196('0x146')][_0x1196('0x6f')]===_0x43976c&&(_0x43976c[_0x1196('0x146')][_0x1196('0x6f')]=null),_0x43976c[_0x1196('0x146')]=null);}function _0x29da4d(_0x1c398d,_0xd2cf2c,_0xeb3b40){for(let _0x1e7da6=_0xeb3b40;_0x1e7da6<_0xd2cf2c[_0x1196('0x123')];_0x1e7da6++){const _0x4a668f=_0x31442e(_0x1c398d,_0xd2cf2c[_0x1e7da6]);_0x4a668f&&(_0x4a668f[0x0][_0x1196('0x146')]=_0x4a668f[0x1],_0x4a668f[0x1][_0x1196('0x6f')]=_0x4a668f[0x0],_0x353322[_0x1196('0x7c')](_0x4a668f[0x0]),_0x1c5c8a[_0x1196('0x7c')](_0x4a668f[0x1]));}}function _0x31442e(_0x1f5cd0,_0x1e01ef){if(_0x1f5cd0[_0x1196('0x106')]['id']!==_0x1e01ef[_0x1196('0x106')]['id'])return null;const _0xba0d99=_0x5efeba['get'](_0x1f5cd0)(_0x1f5cd0,_0x1e01ef,_0x225ca4[_0x1196('0xa8')](_0x1f5cd0),_0x225ca4[_0x1196('0xa8')](_0x1e01ef));if(!_0xba0d99)return null;return _0x5efeba['get'](_0x1e01ef)(_0x1f5cd0,_0x1e01ef,_0x225ca4[_0x1196('0xa8')](_0x1f5cd0),_0x225ca4[_0x1196('0xa8')](_0x1e01ef))?_0xba0d99[0x1]['commentThread']&&_0xba0d99[0x1][_0x1196('0x104')]['length']?null:_0xba0d99:null;}_0x3c4b87[_0x1196('0x4a')]&&this['_refreshSuggestionsChain'](_0x3c4b87);}[_0x1196('0x98')](_0x48e413){if(0x0==_0x48e413[_0x1196('0x123')])return;const _0x2b4876=this[_0x1196('0x1')]({'skipNotAttached':!0x0})['filter'](_0x960ab9=>'attribute'==_0x960ab9[_0x1196('0x17c')]&&_0x960ab9['_isDataLoaded']),_0x530434=[],_0x17cf36=new Map();for(const _0x3c3338 of _0x2b4876){const _0x808997=_0x5501a2(_0x3c3338[_0x1196('0x79')]);_0x17cf36[_0x1196('0x138')](_0x808997)||(_0x17cf36[_0x1196('0x128')](_0x808997,_0x530434[_0x1196('0x123')]),_0x530434['push']([]));const _0x65dc4c=_0x17cf36[_0x1196('0xa8')](_0x808997);_0x530434[_0x65dc4c]['push'](_0x3c3338);}!function(){_0x530434[_0x1196('0xcd')]((_0x16df9b,_0x3366bb)=>{const _0xfb912c=_0x16df9b[0x0][_0x1196('0xc4')],_0x1d13f0=_0x3366bb[0x0][_0x1196('0xc4')];return _0xfb912c==_0x1d13f0?_0x16df9b[0x0][_0x1196('0x79')]['groupId']<_0x3366bb[0x0][_0x1196('0x79')][_0x1196('0x13b')]?-0x1:0x1:_0xfb912c<_0x1d13f0?-0x1:0x1;});for(const _0x126a5c of _0x530434)_0x126a5c[_0x1196('0xcd')]((_0x3f33d8,_0x30b1d5)=>_0x3f33d8['id']<_0x30b1d5['id']?-0x1:0x1);}();for(let _0xac83b1=0x0;_0xac83b1<_0x530434[_0x1196('0x123')];_0xac83b1++){if(0x0==_0x530434[_0xac83b1][_0x1196('0x123')])continue;const _0x23c4bb=[];for(let _0x1dd60c=_0xac83b1+0x1;_0x1dd60c<_0x530434['length'];_0x1dd60c++)0x0!=_0x530434[_0x1dd60c][_0x1196('0x123')]&&_0x4568e3(_0x530434[_0xac83b1],_0x530434[_0x1dd60c])&&_0x23c4bb[_0x1196('0xfb')](_0x1dd60c);for(const _0x4e2161 of _0x23c4bb)_0x530434[_0xac83b1]=_0x530434[_0xac83b1][_0x1196('0x131')](_0x530434[_0x4e2161]),_0x530434[_0x4e2161]=[];}for(const _0x5c05f1 of _0x530434)for(let _0x5709a6=0x0;_0x5709a6<_0x5c05f1[_0x1196('0x123')];_0x5709a6++)_0x5c05f1[_0x5709a6]['next']=_0x5c05f1[_0x5709a6+0x1]||null;for(const _0x2b07aa of _0x530434)for(let _0x3adfcf=0x0;_0x3adfcf<_0x2b07aa[_0x1196('0x123')];_0x3adfcf++)_0x2b07aa[_0x3adfcf]['previous']=_0x2b07aa[_0x3adfcf-0x1]||null;function _0x4568e3(_0x27abb7,_0x458764){if(_0x27abb7[0x0][_0x1196('0x106')]!==_0x458764[0x0][_0x1196('0x106')])return!0x1;if(!function(_0x3b258f,_0x546263){if(!_0x3b258f[_0x1196('0x6d')]&&!_0x546263[_0x1196('0x6d')])return!0x0;if(_0x3b258f[_0x1196('0x6d')]&&_0x546263['hasComments'])return!0x1;if(_0x3b258f['hasComments']&&_0x546263[_0x1196('0xc4')]<_0x3b258f[_0x1196('0x104')][_0x1196('0x32')]['get'](0x0)['createdAt'])return!0x0;if(_0x546263[_0x1196('0x6d')]&&_0x3b258f[_0x1196('0xc4')]<_0x546263['commentThread'][_0x1196('0x32')][_0x1196('0xa8')](0x0)[_0x1196('0xc4')])return!0x0;return!0x1;}(_0x27abb7[0x0],_0x458764[0x0]))return!0x1;const _0x23a518=_0x4ce505(_0x27abb7[0x0][_0x1196('0x79')],'groupId'),_0x290082=_0x4ce505(_0x458764[0x0][_0x1196('0x79')],_0x1196('0x13b'));if(!_0x3f301d(_0x23a518,_0x290082))return!0x1;return!!_0x27abb7[_0x1196('0x10a')](_0x3593ae=>_0x458764['some'](_0x3335ba=>_0x3593ae[_0x1196('0x8')]()[_0x1196('0x139')](_0x3335ba[_0x1196('0x8')]())))&&_0x458764[_0x1196('0x10a')](_0x5a3c31=>_0x27abb7[_0x1196('0x94')](_0x530f92=>_0x5a3c31[_0x1196('0x8')]()['isEqual'](_0x530f92[_0x1196('0x8')]())));}}[_0x1196('0x17e')](_0x19b73d){const _0x5ebb7f=Array[_0x1196('0xcb')](_0x19b73d),_0x5c814c=this[_0x1196('0x1')]({'skipNotAttached':!0x0}),_0x2657f0=_0x5c814c[_0x1196('0x168')](_0x491127=>!_0x19b73d[_0x1196('0x138')](_0x491127)),_0x271c22=new Map(_0x5ebb7f[_0x1196('0x14b')](_0x54ced2=>[_0x54ced2,this['_suggestionFactory'][_0x1196('0x113')](_0x54ced2[_0x1196('0x17c')],_0x54ced2[_0x1196('0xdb')],'join')])),_0x68bf32=new Map(_0x5c814c['map'](_0x560522=>[_0x560522,_0x560522[_0x1196('0x8f')]()]));for(let _0x4b7b34=0x0;_0x4b7b34<_0x5ebb7f[_0x1196('0x123')];_0x4b7b34++){if(_0x32a7f0(this,_0x5ebb7f[_0x4b7b34],_0x5ebb7f,_0x4b7b34+0x1))return!0x0;}for(let _0x299d16=0x0;_0x299d16<_0x5ebb7f[_0x1196('0x123')];_0x299d16++){if(_0x32a7f0(this,_0x5ebb7f[_0x299d16],_0x2657f0,0x0))return!0x0;}return!0x1;function _0x32a7f0(_0x5c4145,_0x51096f,_0x44903b,_0x12697e){for(let _0x4dcb0e=_0x12697e;_0x4dcb0e<_0x44903b['length'];_0x4dcb0e++){const _0x4839c6=_0x44903b[_0x4dcb0e];if(_0x4839c6['type']!==_0x51096f[_0x1196('0x17c')]||_0x4839c6[_0x1196('0x106')]['id']!==_0x51096f[_0x1196('0x106')]['id']||_0x4839c6[_0x1196('0xdb')]!==_0x51096f['subType'])continue;if(!Vt(_0x51096f,_0x4839c6))continue;if(_0x1196('0x12e')==_0x51096f[_0x1196('0x17c')]&&_0x51096f['data'][_0x1196('0xdd')]!=_0x4839c6[_0x1196('0x61')][_0x1196('0xdd')])continue;if(_0x1196('0x12e')==_0x51096f[_0x1196('0x17c')]&&_0x5c4145[_0x1196('0xe0')](_0x51096f['data'][_0x1196('0x15f')]))continue;if(_0x1196('0x96')==_0x51096f[_0x1196('0x17c')]){const _0x23ca99=_0x5c4145[_0x1196('0x3')][_0x1196('0xac')],_0x3fcc16=_0x51096f[_0x1196('0x140')]();if(_0x3fcc16&&(_0x23ca99[_0x1196('0x93')]['isObject'](_0x3fcc16)||_0x23ca99[_0x1196('0x93')][_0x1196('0xd6')](_0x3fcc16)))continue;}const _0x52d513=_0x271c22[_0x1196('0xa8')](_0x51096f),_0x32ee57=_0x68bf32['get'](_0x51096f),_0x33e272=_0x68bf32[_0x1196('0xa8')](_0x4839c6),_0x536218=_0x51096f[_0x1196('0x104')]&&_0x51096f[_0x1196('0x104')][_0x1196('0x123')],_0x57f028=_0x4839c6[_0x1196('0x104')]&&_0x4839c6['commentThread'][_0x1196('0x123')];if(!_0x536218&&_0x52d513(_0x33e272,_0x32ee57))return _0x5c4145[_0x1196('0x53')](_0x4839c6,_0x51096f),_0x68bf32[_0x1196('0x23')](_0x51096f),!0x0;if(!_0x57f028&&_0x52d513(_0x32ee57,_0x33e272))return _0x5c4145['_joinSuggestions'](_0x51096f,_0x4839c6),_0x68bf32[_0x1196('0x23')](_0x4839c6),!0x0;}return!0x1;}}['_joinSuggestions'](_0x1dc78b,_0x5a4ec2){if(_0x1dc78b[_0x1196('0x5b')])for(const _0x47ef99 of _0x5a4ec2[_0x1196('0x8f')]())_0x1dc78b[_0x1196('0xc0')](_0x47ef99);else{const _0x44258d=_0x5a4ec2[_0x1196('0x8')]()['end'];this[_0x1196('0x65')](_0x1dc78b,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x1dc78b[_0x1196('0x8')]()[_0x1196('0x55')],_0x44258d));}_0x5a4ec2[_0x1196('0x8b')]();}[_0x1196('0xda')](_0x286577,_0x5e2f4f){const _0x323d6a=_0x286577[_0x1196('0x12f')](_0x1196('0x129'))||_0x286577['startsWith'](_0x1196('0x12e'))?'FORMATTING':_0x286577['toUpperCase']();return _0x53252c(this[_0x1196('0x3')]['locale'],_0x5e2f4f+'_'+_0x323d6a+_0x1196('0x16b'));}[_0x1196('0x154')](){const _0x3737b5=this[_0x1196('0x3')];_0x1d2ead(this['_model'],({left:_0x409da3,entered:_0x6a23e})=>{const _0x508bb1=[];for(const _0x3b1403 of _0x409da3){const {group:_0x8d3765,type:_0x546842}=this[_0x1196('0x17')](_0x3b1403[_0x1196('0x1b')]);if(_0x1196('0x3c')===_0x8d3765){_0x508bb1[_0x1196('0xfb')](this[_0x1196('0xda')](_0x546842,_0x1196('0xe9')));break;}}for(const _0x2abc80 of _0x6a23e){const {group:_0x3d3fcb,type:_0x59a2e0}=this[_0x1196('0x17')](_0x2abc80[_0x1196('0x1b')]);if('suggestion'===_0x3d3fcb){_0x508bb1[_0x1196('0xfb')](this[_0x1196('0xda')](_0x59a2e0,_0x1196('0x108')));break;}}_0x508bb1[_0x1196('0x123')]&&_0x3737b5['ui'][_0x1196('0x56')]['announce'](_0x1196('0x7b'),_0x508bb1[_0x1196('0xc8')]('\x20'));});}[_0x1196('0xd')](_0x28e6d0){if(null!==this[_0x1196('0xbd')])return!0x1;const _0x942b2d=this[_0x1196('0x3')],_0x235d05=_0x942b2d[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0x16d')][_0x1196('0x132')]();if(0x0==_0x235d05[_0x1196('0x123')])return!0x1;const _0xe1b1e8=[],_0x37f1c2=_0x235d05['filter'](_0xc1bc5a=>'attribute'==_0xc1bc5a[_0x1196('0x17c')]),_0x13867f=_0x235d05[_0x1196('0x168')](_0x462f5a=>_0x1196('0x11e')==_0x462f5a[_0x1196('0x17c')]&&_0x1196('0xdc')!=_0x462f5a[_0x1196('0x1b')]),_0x1eb8c7=_0x235d05[_0x1196('0x168')](_0x3fa61f=>_0x1196('0x171')==_0x3fa61f[_0x1196('0x17c')]&&_0x1196('0xdc')!=_0x3fa61f['name']);for(const _0x2da96b of _0x37f1c2)_0xe1b1e8[_0x1196('0xfb')]({'key':_0x2da96b['attributeKey'],'newValue':_0x2da96b[_0x1196('0xe3')],'oldValue':_0x2da96b['attributeOldValue'],'range':_0x118010(_0x2da96b['range'])});for(const _0x1130fb of _0x13867f){const _0x34ab00=_0x1eb8c7[_0x1196('0x11f')](_0x424ea9=>_0x424ea9['position'][_0x1196('0x139')](_0x1130fb[_0x1196('0x9b')]));_0x34ab00&&_0xe1b1e8[_0x1196('0xfb')]({'key':_0x1196('0x27'),'newValue':_0x1130fb[_0x1196('0x1b')],'oldValue':_0x34ab00['name'],'range':_0x942b2d[_0x1196('0xac')][_0x1196('0xf1')](_0x1130fb['position'][_0x1196('0xa4')])});}return 0x0!=_0xe1b1e8['length']&&this[_0x1196('0xc9')](_0x28e6d0,_0xe1b1e8);function _0x118010(_0x138899){return null==_0x138899['end'][_0x1196('0x39')]&&_0x138899[_0x1196('0x145')][_0x1196('0xa7')]==_0x138899['start']['nodeAfter']?Ut(_0x138899[_0x1196('0x55')]['nodeAfter'],_0x942b2d[_0x1196('0xac')]):_0x138899;}}[_0x1196('0xe2')](_0x3682f2){let _0xea7bad=!0x1;const _0x970d72=this[_0x1196('0x3')][_0x1196('0xac')]['document'][_0x1196('0x16d')]['getChangedMarkers']()[_0x1196('0x168')](_0x2deefa=>_0x2deefa['data'][_0x1196('0xce')]&&_0x2deefa[_0x1196('0x1b')][_0x1196('0x12f')]('suggestion:attribute:'));for(const _0x268454 of _0x970d72){const {subType:_0x50e954,id:_0x145212}=this['_splitMarkerName'](_0x268454[_0x1196('0x1b')]),_0x1c080a=_0x50e954['split']('|')[0x0];for(const _0xaa5609 of this[_0x1196('0x1')]({'skipNotAttached':!0x0}))_0xaa5609['id']!=_0x145212&&'attribute'==_0xaa5609[_0x1196('0x17c')]&&_0xaa5609[_0x1196('0x61')]&&_0xaa5609[_0x1196('0x61')][_0x1196('0x15f')]==_0x1c080a&&_0xaa5609[_0x1196('0x8')]()['isIntersecting'](_0x268454[_0x1196('0x61')][_0x1196('0xce')])&&(this['_reduceSuggestionAttributeRange'](_0xaa5609,_0x268454[_0x1196('0x61')]['newRange'],_0x3682f2),_0xea7bad=!0x0);}return _0xea7bad;}[_0x1196('0x7')](_0x45ea05){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x45ea05();const _0x1d534e=this[_0x1196('0x3')];this[_0x1196('0xbd')]=_0x1d534e[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0x6c')],_0x45ea05();const _0x146977=new Map();for(const _0x2af4ac of _0x1d534e[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0x15a')][_0x1196('0x1a')](this['_recordAttributeSuggestionsFromVersion']))if([_0x1196('0xed'),'addAttribute',_0x1196('0x21'),_0x1196('0xbb')][_0x1196('0x3f')](_0x2af4ac[_0x1196('0x17c')])){const _0x207cdf=_0x2af4ac[_0x1196('0x51')],_0x5f53a7=_0x146977[_0x1196('0xa8')](_0x207cdf)||[];_0x5f53a7[_0x1196('0xfb')](_0x2af4ac),_0x146977[_0x1196('0x128')](_0x207cdf,_0x5f53a7);}this[_0x1196('0xbd')]=null;for(const [_0x2f76f6,_0x49ea7f]of _0x146977){const _0x29b9ea=_0x1449d0();_0x1d534e[_0x1196('0xac')][_0x1196('0x130')](_0x2f76f6,_0x4d32f2=>{const _0x5bb1fc=[];for(const _0x36e632 of _0x49ea7f){let _0x3f30d3,_0x4592bc,_0x4f5fae,_0x40c39a;if('rename'==_0x36e632[_0x1196('0x17c')]){const _0x10746e=_0x36e632;_0x3f30d3=Ut(_0x10746e['position'][_0x1196('0xa4')],_0x1d534e[_0x1196('0xac')]),_0x4592bc='$elementName',_0x4f5fae=_0x10746e['newName'],_0x40c39a=_0x10746e['oldName'];}else{const _0x4ea8a0=_0x36e632,_0x2e867b=this[_0x1196('0xe0')](_0x4ea8a0['key']),_0x245569=this[_0x1196('0x40')][_0x1196('0x138')](_0x4ea8a0[_0x1196('0x15f')]);if(!_0x2e867b&&!_0x245569)continue;_0x3f30d3=_0x2e867b?Ut(_0x4ea8a0['range'][_0x1196('0x55')]['nodeAfter'],_0x1d534e['model']):_0x4ea8a0[_0x1196('0x20')],_0x4592bc=_0x4ea8a0['key'],_0x4f5fae='removeAttribute'==_0x36e632[_0x1196('0x17c')]?void 0x0:_0x4ea8a0[_0x1196('0x160')],_0x40c39a=_0x4ea8a0['oldValue'];}this['markAttributeChange'](_0x3f30d3,_0x4592bc,_0x40c39a,_0x4f5fae,{'groupId':_0x29b9ea}),_0x5bb1fc[_0x1196('0xfb')]({'range':_0x3f30d3,'key':_0x4592bc,'newValue':_0x4f5fae,'oldValue':_0x40c39a});}this[_0x1196('0xc9')](_0x4d32f2,_0x5bb1fc);});}}['_reduceExistingSuggestions'](_0x59c3e6,_0x530733){if(0x0==_0x530733[_0x1196('0x123')])return!0x1;let _0x2d0ab7=!0x1;for(const _0x2604d2 of _0x530733){const _0x282747=this[_0x1196('0x76')](_0x2604d2['range'],_0x1196('0x12e'))[_0x1196('0x168')](_0x3dd2f9=>!_0x3dd2f9['meta'][_0x1196('0x117')])[_0x1196('0x14b')](_0x35c4ca=>_0x35c4ca[_0x1196('0x3c')]),_0x32953a=_0x5501a2({'newValue':_0x2604d2['newValue']});_0x282747[_0x1196('0x168')](_0x266a3d=>{const [_0x3ccfb9,_0x44e69b]=_0x266a3d[_0x1196('0xdb')][_0x1196('0x88')]('|');return _0x3ccfb9==_0x2604d2[_0x1196('0x15f')]&&_0x44e69b!=_0x32953a;})['forEach'](_0x3a9fcb=>{this[_0x1196('0x43')](_0x3a9fcb,_0x2604d2[_0x1196('0x20')],_0x59c3e6),_0x2d0ab7=!0x0;});}return _0x2d0ab7;}[_0x1196('0x43')](_0x4729cb,_0x335e8f,_0xacd53d){const _0x1d811b=_0x4729cb[_0x1196('0x8')]()[_0x1196('0xb7')](_0x335e8f);0x0!==_0x1d811b[_0x1196('0x123')]?0x1!==_0x1d811b[_0x1196('0x123')]?this[_0x1196('0x16f')](_0x4729cb,_0x335e8f[_0x1196('0x55')],_0x335e8f[_0x1196('0x145')]):this['_setSuggestionRange'](_0x4729cb,_0x1d811b[0x0]):_0xacd53d[_0x1196('0xe8')](_0x4729cb[_0x1196('0x67')]());}}class Bt{constructor(_0x3f5ece){this['_editor']=_0x3f5ece,this[_0x1196('0x14c')]=_0x3f5ece[_0x1196('0xac')],this['_customCallbacks']=new Map(),this[_0x1196('0x110')]=new Map(),this[_0x1196('0x1c')]();}[_0x1196('0xc5')](_0x32519f,_0x1225c4,_0x2941dc,_0x631e7a,_0x30b0fc,_0x1d5cbc){return new _0x32d5d1(this[_0x1196('0x14c')],{'type':_0x32519f,'subType':_0x1225c4,'id':_0x2941dc,'author':_0x631e7a,'creator':_0x631e7a,'attributes':_0x30b0fc,'onAttributesChange':_0x1d5cbc,'onAccept':(..._0x519947)=>this[_0x1196('0x113')](_0x32519f,_0x1225c4,_0x1196('0x175'))(..._0x519947),'onDiscard':(..._0x5c5568)=>this[_0x1196('0x113')](_0x32519f,_0x1225c4,_0x1196('0xae'))(..._0x5c5568)});}['registerCustomCallback'](_0x5ceaa4,_0x3c8733,_0x153db1,_0x39f482){const _0x2281de=_0x5ceaa4+':'+_0x3c8733+':'+_0x153db1;this[_0x1196('0xc1')][_0x1196('0x128')](_0x2281de,_0x39f482);}[_0x1196('0x113')](_0x241b21,_0x2b87d8,_0x3bb9b1){const _0x30209a=_0x241b21+':'+_0x2b87d8+':'+_0x3bb9b1;return this[_0x1196('0xc1')][_0x1196('0xa8')](_0x30209a)||this[_0x1196('0x110')][_0x1196('0xa8')](_0x241b21+':'+_0x3bb9b1);}[_0x1196('0x1c')](){const _0xf6427c=()=>!0x1,_0x3e3258=_0x1a294c=>{_0x1a294c[_0x1196('0xcd')]((_0x1f67cd,_0x52fbc7)=>_0x1f67cd['start'][_0x1196('0xb8')](_0x52fbc7[_0x1196('0x55')])?0x1:-0x1),this[_0x1196('0x14c')][_0x1196('0x71')](_0x5acae2=>{for(const _0x451844 of _0x1a294c){let _0x11037b;_0x11037b=_0x451844[_0x1196('0x145')][_0x1196('0x127')]&&_0x451844['end']['parent']==_0x451844[_0x1196('0x55')][_0x1196('0xa4')]?_0x5acae2[_0x1196('0x156')](_0x451844[_0x1196('0x55')][_0x1196('0xa4')],'on'):_0x5acae2[_0x1196('0x156')](_0x451844),this[_0x1196('0x14c')][_0x1196('0x46')](_0x11037b,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x35761b=(_0x2d4670,_0x7b574d)=>{_0x7b574d&&this[_0x1196('0x14c')][_0x1196('0x71')](_0x3bc145=>{const {commandName:_0x9157c3,commandParams:_0x547698=[]}=_0x7b574d,_0x28be53=_0x2d4670['map'](_0x5c0b11=>(xt(_0x5c0b11)&&(_0x5c0b11=this[_0x1196('0x14c')][_0x1196('0xe4')](_0x5c0b11['end'])),_0x5c0b11))['filter'](_0x1821fa=>_0x1196('0x116')!==_0x1821fa['root'][_0x1196('0xf5')]);if(_0x28be53[_0x1196('0x123')]<0x1)return;const _0x5e95c9=Array['from'](this[_0x1196('0x14c')][_0x1196('0x69')][_0x1196('0xd5')]['getRanges']())[_0x1196('0x14b')](_0x2e8144=>_0x284da0['fromRange'](_0x2e8144));_0x3bc145[_0x1196('0xd8')](_0x28be53);for(const _0x1cbbec of this['_editor'][_0x1196('0xd4')]['commands']())_0x1cbbec['refresh']();_0x547698[_0x1196('0xfb')]({'forceDefaultExecution':!0x0}),this[_0x1196('0x26')]['execute'](_0x9157c3,..._0x547698);const _0x4ccffc=_0x5e95c9[_0x1196('0x168')](_0x322874=>_0x1196('0x116')!=_0x322874[_0x1196('0x137')][_0x1196('0xf5')]);_0x4ccffc['length']>0x0&&_0x3bc145[_0x1196('0xd8')](_0x4ccffc);for(const _0xb4bf70 of _0x5e95c9)_0xb4bf70[_0x1196('0x80')]();});},_0xbfca62=(_0x1c80e6,_0x1a95b5)=>0x1==_0x1c80e6[_0x1196('0x123')]&&0x1==_0x1a95b5[_0x1196('0x123')]&&_0x1c80e6[0x0][_0x1196('0x145')]['isEqual'](_0x1a95b5[0x0][_0x1196('0x55')]),_0x150703=(_0x5417cc,_0x895588,_0x266d06,_0x208c05)=>Ot(_0x5417cc,_0x895588,_0x266d06,_0x208c05,this[_0x1196('0x14c')])?[_0x5417cc,_0x895588]:Ot(_0x895588,_0x5417cc,_0x208c05,_0x266d06,this[_0x1196('0x14c')])?[_0x895588,_0x5417cc]:null;this['_defaultCallbacks']['set'](_0x1196('0xa'),_0xf6427c),this['_defaultCallbacks'][_0x1196('0x128')](_0x1196('0xca'),_0x3e3258),this[_0x1196('0x110')][_0x1196('0x128')]('insertion:join',_0xbfca62),this['_defaultCallbacks'][_0x1196('0x128')]('insertion:chain',_0x150703),this['_defaultCallbacks'][_0x1196('0x128')](_0x1196('0x10c'),_0x3e3258),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x4b'),_0xf6427c),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x9a'),_0xbfca62),this[_0x1196('0x110')]['set'](_0x1196('0x12d'),_0x150703),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x143'),_0x35761b),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x17f'),_0xf6427c),this['_defaultCallbacks'][_0x1196('0x128')](_0x1196('0x119'),_0xbfca62),this[_0x1196('0x110')][_0x1196('0x128')]('formatInline:chain',_0xf6427c),this[_0x1196('0x110')]['set'](_0x1196('0xcc'),_0x35761b),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x149'),_0xf6427c),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x30'),_0xbfca62),this['_defaultCallbacks'][_0x1196('0x128')](_0x1196('0x0'),_0xf6427c),this[_0x1196('0x110')][_0x1196('0x128')]('attribute:accept',_0xf6427c),this[_0x1196('0x110')]['set'](_0x1196('0x72'),(_0x3a718d,_0x50166f)=>{if(!_0x50166f)return;const _0x43349f=this[_0x1196('0x26')][_0x1196('0x35')][_0x1196('0xa8')](p);this[_0x1196('0x14c')][_0x1196('0x71')](_0x594872=>{if(_0x1196('0x27')==_0x50166f['key'])for(const _0x5316ea of _0x3a718d){const _0x41df41=_0x5316ea[_0x1196('0x55')]['nodeAfter'],_0x3741c4=_0x50166f['oldValue'];_0x594872[_0x1196('0xed')](_0x41df41,_0x3741c4);}else{if(_0x43349f[_0x1196('0xe0')](_0x50166f[_0x1196('0x15f')]))for(const _0x5f4224 of _0x3a718d)void 0x0!==_0x50166f[_0x1196('0xdd')]?_0x594872[_0x1196('0x85')](_0x50166f[_0x1196('0x15f')],_0x50166f[_0x1196('0xdd')],_0x5f4224[_0x1196('0x55')]['nodeAfter']):_0x594872[_0x1196('0x21')](_0x50166f[_0x1196('0x15f')],_0x5f4224['start'][_0x1196('0xa4')]);else for(const _0x5bab3e of _0x3a718d)_0x50166f['oldValue']?_0x594872[_0x1196('0x85')](_0x50166f[_0x1196('0x15f')],_0x50166f[_0x1196('0xdd')],_0x5bab3e):_0x594872[_0x1196('0x21')](_0x50166f[_0x1196('0x15f')],_0x5bab3e);}});}),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x10d'),_0xbfca62);}}function Tt(_0x5f0e62,_0x21e5e3,_0x5e9efd){for(const _0x2c0369 of _0x21e5e3[_0x1196('0xa7')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x2c0369[_0x1196('0x137')]==_0x2c0369)return!0x1;if(!_0x5e9efd['containsItem'](_0x2c0369))return!0x1;if(_0x5f0e62[_0x1196('0x22')](_0x2c0369)||_0x5f0e62[_0x1196('0xd6')](_0x2c0369))return!0x0;}return!0x1;}function xt(_0x20b4bf){return _0x20b4bf[_0x1196('0x145')]['parent']==_0x20b4bf[_0x1196('0x55')][_0x1196('0xa4')]&&_0x20b4bf['end'][_0x1196('0x13a')];}function Et(_0x3af5d5,_0x903f6e,_0x3866e9,_0x31f5c9){const _0x54a3dd=_0x5ddabd=>!_0x5ddabd[_0x1196('0x147')]['is'](_0x1196('0x3d'))&&!_0x31f5c9['isObject'](_0x5ddabd[_0x1196('0x147')]),_0x38c865=_0x3af5d5[_0x1196('0x55')]['getLastMatchingPosition'](_0x54a3dd),_0x14b69c=_0x3af5d5[_0x1196('0x145')][_0x1196('0xc6')](_0x54a3dd,{'direction':_0x1196('0x7d')});return(!_0x3af5d5[_0x1196('0x55')]['isEqual'](_0x38c865)||!_0x3af5d5['end'][_0x1196('0x139')](_0x14b69c))&&(_0x38c865['isBefore'](_0x14b69c)?_0x3866e9[_0x1196('0x10e')](_0x903f6e,{'range':_0x3866e9[_0x1196('0xe4')](_0x38c865,_0x14b69c)}):_0x3866e9[_0x1196('0xe8')](_0x903f6e),!0x0);}function Rt(_0x44d9ee){return _0x5501a2(_0x44d9ee);}function jt(_0x1d60ea){const _0x533676=_0x1d60ea[_0x1196('0x55')]['nodeAfter'];return _0x533676&&_0x533676['is'](_0x1196('0x36'));}function Ut(_0x78ea9,_0x5750f3){const _0x2489b1=_0x5750f3[_0x1196('0x93')][_0x1196('0x22')](_0x78ea9)||_0x5750f3[_0x1196('0x93')][_0x1196('0x4d')](_0x78ea9);return _0x5750f3['createRange'](_0x5750f3[_0x1196('0x167')](_0x78ea9,'before'),_0x2489b1?_0x5750f3[_0x1196('0x4f')](_0x78ea9):_0x5750f3['createPositionAt'](_0x78ea9,_0x1196('0x145')));}function Ot(_0x553f2b,_0x57c160,_0x34b7c8,_0xeb028c,_0x34c19a){if(!Vt(_0x553f2b,_0x57c160))return!0x1;if(_0x34b7c8[_0x1196('0x145')][_0x1196('0x139')](_0xeb028c[_0x1196('0x55')]))return!0x0;if(_0x553f2b[_0x1196('0x17c')]!=_0x57c160[_0x1196('0x17c')])return!0x1;if(!_0x34b7c8['end'][_0x1196('0x5a')](_0xeb028c[_0x1196('0x55')]))return!0x1;const _0x44b857=_0x34c19a[_0x1196('0xe4')](_0x34b7c8['end'],_0xeb028c[_0x1196('0x55')])[_0x1196('0xe1')]();for(const _0x1f680f of _0x44b857)if(['elementStart',_0x1196('0xa1')][_0x1196('0x3f')](_0x1f680f[_0x1196('0x17c')])&&_0x34c19a[_0x1196('0x93')][_0x1196('0xd6')](_0x1f680f[_0x1196('0x147')]))return!0x1;return!0x0;}function Vt(_0x17d253,_0x73480e){return!(!_0x17d253[_0x1196('0x49')]||!_0x73480e[_0x1196('0x49')])&&_0x3f301d(_0x17d253[_0x1196('0x79')],_0x73480e[_0x1196('0x79')]);}function Gt(_0x37c75c,_0x5d5da7){const _0x23bfeb=Ft(_0x37c75c['attributes']),_0x2056fe=Ft(_0x5d5da7);if(!_0x37c75c[_0x1196('0x49')])return!0x1;for(const _0x286799 of Object[_0x1196('0x16c')](_0x2056fe))if(!_0x3f301d(_0x23bfeb[_0x286799],_0x2056fe[_0x286799]))return!0x1;return!0x0;}function Ft(_0x2feabf){const _0x12494a=Object['assign']({},_0x2feabf);return delete _0x12494a[_0x1196('0x13d')],delete _0x12494a[_0x1196('0xeb')],_0x12494a;}function Pt(_0x20ebd7){return'attribute'==_0x20ebd7[_0x1196('0x17c')]?_0x20ebd7['subType']['split']('|')[0x0]:null;}