@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231202.0 → 0.0.0-nightly-20231204.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-20231202.0",
3
+ "version": "0.0.0-nightly-20231204.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-20231202.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231202.0",
42
+ "ckeditor5": "0.0.0-nightly-20231204.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231204.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 _0x5cc7=['_joinSuggestions','isUndo','_adapter','substr','stop','createRangeIn','remove','groupId','comments','getAttribute','markerToData','_registerDefaultCallbacks','rename','version','isEqual','markInlineFormat','length','formatBlock:accept','name','hasCommentThread','dataDowncast','deletion:join','includes','_inlineAttributeKeys','formatBlock','suggestion','isSelectable','_getSuggestionData','deleteContent','track-changes-suggestion-data-mismatch','isInsideObject','_onDiscard','toJSON','normal','getSuggestionCallback','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.','concat','data','notReady','buildSuggestion','for','track-changes-command-not-found','forEach','_rangeIsInLocalUserInsertion','setSelection','_defaultCallbacks','root','getRange','execute','_trackFormatChanges','formatInline','assign','values','_customCallbacks','forceDefaultExecution','trackChanges.mergeNestedSuggestions','track-changes-adapter-already-set','next','join','discardAllSuggestions','push','getIntersection','format','formatBlock:chain','toViewElement','requires','isBefore','isLimit','getWalker','removeMarkers','config','fetchCommentThread','containsRange','bindElementToMarker','PendingActions','$textProxy','attribute:join','rootName','editingDowncast','_mergeNestedSuggestions','_commentsRepository','ariaLiveAnnouncer','editor','containerElement','removeMarker:suggestion:attribute','getItems','isObject','moveTargetPosition','batch','trackChanges','$graveyard','markers','consume','_setSuggestionData','hasComments','item','dataToMarker','isAtStart','_refreshAttributeSuggestionsChain','formatInline:join','get','then','_editor','acceptSuggestion','removeClass','multipleBlocks','addMarker','subType','oldName','Users','authorName','updateMarker','startsWith','ck-suggestion-marker-formatBlock','_blockAttributeKeys','formatInline:chain','_processAttributeChanges','insertContent','resolve','getFirstRange','changeAttribute','_descriptionFactory','addClass','getOperations','_cutOutSuggestionMarker','containsItem','pop','getSuggestion','high','addMarker:suggestion','filter','_SUGGESTION_ANNOUNCEMENT','deletion:chain','fire','always','group','_suggestionState','addComment','multi','locale','attribute','isMultiRange','deletion:discard','insertion:join','history','getMultiRangeId','rethrowUnexpectedError','$elementName','_getMarkerAnnouncementText','removed','markerToHighlight','suggestionChanged','trackChangesCommand','schema','markMultiRangeInsertion','isRemovable','getRanges','getChangedMarkers','getSuggestions','reconvertMarker','stopListening','splice','find','insertion','isIntersecting','_isForcedDefaultExecutionBlock','selection','setAttribute','createRange','key','previous','createdAt','adapter','define','open','sort','differ','isCollapsed','_addSuggestionMarker','substring','addHighlight','discardSelectedSuggestions','getFirstMarker','getChanges','elementEnd','isAfter','commands','originalSuggestionId','markDeletion','creator','nodeAfter','after','never','formatBlock:','track-changes-user-not-found','_reduceExistingSuggestions','activeMarkers','position','document','_recordAttributeChanges','_createSuggestion','set','formatInline:discard','clear','editing','skipNestingCheck','_saved','_removeSuggestion','markerName','markerNameToElements','ck-suggestion-marker--active','lowest','getAncestors','getNearestSelectionRange','addMarker:suggestion:formatBlock','elementToElement','range','chain','has','LEAVE','_enableDefaultAttributesIntegration','change:_saved','oldValue','deletion:','updateSuggestion','newName','detach','oldRange','formatBlock:discard','return','unbindElementFromMarkerName','track-changes-adapter-missing-getsuggestion','removeMarker','getCustomProperty','ready','addCommentThread','clone','isBlock','TrackChangesEditing','unshift','_checkSuggestionCorrectness','collaboration.channelId','removeAttribute','CommentsRepository','attributeOldValue','data-suggestion','from','createElement','conversion','enqueueChange','_processAttributeSuggestions','_breakSuggestionMarker','$text','_getExternalAuthor','track-changes-suggestion-not-found','attributeKey','addRange','init','parent','suggestionUnloaded','commandName','removeComment','applyOperation','accepted','suggestion:','some','backward','addMarkerName','commentThread','ck-suggestion-marker','writer','change','containsRangeInObject','@external','createPositionBefore','showSuggestionHighlights','_refreshSuggestionsChain','getShiftedBy','upcast','widget','map','listenTo','enableCommand','_reduceSuggestionAttributeRange','ck-suggestion-marker-formatInline','nodeBefore','toUpperCase','update:suggestion','_isBlockAttribute','before','formatGroupId','deletion:accept','isLocal','isDocumentOperation','acceptAllSuggestions','ENTER','_splitMarkerName','getDifference','marker-count','getMarkers','_initAriaMarkerChangeAnnouncements','insertion:accept','suggestionLoaded','createPositionAfter','isNextTo','_recordAttributeSuggestionsFromVersion','markAttributeChange','addSuggestionData','_suggestionFactory','options','consumable','_updateSuggestionData','markMultiRangeBlockFormat','_addThreadToSuggestion','_setSuggestionRange','_model','addAttribute','formatInline:accept','registerPostFixer','$marker','PENDING_ACTION_SUGGESTION','accept','_findSuggestions','_suggestions','size','every','attributeNewValue','_getAuthorFromId','trackChanges.trackFormatChanges','registerCustomCallback','containsPosition','catch','isArray','discardSuggestion','addMarker:suggestion:attribute','_joinWithAdjacentSuggestions','ck-suggestion-marker-','isIntersectingWithRange','split','highest','author','default','isTouching','getCommentThread','getLastMatchingPosition','removeMarker:suggestion:formatBlock','createPositionAt','attribute:','_handleNewSuggestionMarker','documentSelection','newRange','keys','tablePasteChainId','type','isOwn','splitPosition','authoredAt','start','newValue','createSelection','mapper','error-saving-suggestion-data-suggestion-discarded','discard','model','howMany','isInContent','plugins','deletion','change:data','insertion:','add','addSuggestion','_enabledCommands','suggestion-type','end','value','suggestion:attribute:','getAllAdjacentSuggestions','_registerInlineAttribute','setTo','low','acceptSelectedSuggestions','_isDataLoaded','attributes','delete','formatInline:','getContainedElement','isAtEnd'];(function(_0x3a4722,_0x5cc71b){const _0x4acc50=function(_0x526215){while(--_0x526215){_0x3a4722['push'](_0x3a4722['shift']());}};_0x4acc50(++_0x5cc71b);}(_0x5cc7,0x159));const _0x4acc=function(_0x3a4722,_0x5cc71b){_0x3a4722=_0x3a4722-0x0;let _0x4acc50=_0x5cc7[_0x3a4722];return _0x4acc50;};import{Plugin as _0x54d35b,PendingActions as _0x1f3631}from'ckeditor5/src/core';import{LiveRange as _0x218230}from'ckeditor5/src/engine';import{CKEditorError as _0x3a71ef,uid as _0x408bcc,priorities as _0x51d969,logWarning as _0x40c275}from'ckeditor5/src/utils';import{toWidget as _0x265cbb}from'ckeditor5/src/widget';import{Users as _0x3a4722,hashObject as _0x466d17,surroundingMarkersDetector as _0x18ed89}from'ckeditor5-collaboration/src/collaboration-core';import _0x7bec92 from'./commands/trackchangescommand';import _0x365c11 from'./commands/acceptsuggestioncommand';import _0x2692bb from'./commands/discardsuggestioncommand';import _0xdb4041 from'./commands/executeonallsuggestionscommand';import _0x1affcb from'./commands/executeonselectedsuggestionscommand';import _0x504755 from'./suggestion';import _0x471beb from'./suggestiondescriptionfactory';import _0x4bbbc3 from'./integrations/aiassistant';import _0x43ee14 from'./integrations/alignment';import _0x2b4007 from'./integrations/basicstyles';import _0x5abef7 from'./integrations/blockquote';import _0x4df530 from'./integrations/ckbox';import _0x1c6cda from'./integrations/codeblock';import _0x499998 from'./integrations/comments';import _0x15d8ef from'./integrations/deletecommand';import _0x1e6cc6 from'./integrations/documentlist';import _0x513d6d from'./integrations/documentlistproperties';import _0x403ce6 from'./integrations/entercommand';import _0x7f5295 from'./integrations/findandreplace';import _0x4a4df2 from'./integrations/font';import _0x5bce46 from'./integrations/formatpainter';import _0x5e98f6 from'./integrations/heading';import _0x191af4 from'./integrations/highlight';import _0xb252e from'./integrations/horizontalline';import _0x1c3187 from'./integrations/htmlembed';import _0x2a6038 from'./integrations/image';import _0x2a94fd from'./integrations/imagereplace';import _0x10450b from'./integrations/imagestyle';import _0xe4bbe0 from'./integrations/importword';import _0x3b1bcd from'./integrations/indent';import _0x47772d from'./integrations/inputcommand';import _0x39d7d4 from'./integrations/link';import _0x54dd51 from'./integrations/list';import _0x57ca85 from'./integrations/listproperties';import _0x365324 from'./integrations/mediaembed';import _0x317c28 from'./integrations/mention';import _0xdd5751 from'./integrations/pagebreak';import _0x4f26de from'./integrations/paragraph';import _0x5e00ff from'./integrations/removeformat';import _0x53446a from'./integrations/restrictededitingmode';import _0x43e84c from'./integrations/shiftentercommand';import _0x318c5e from'./integrations/standardeditingmode';import _0x26f8de from'./integrations/style';import _0x26f3b4 from'./integrations/table';import _0x139197 from'./integrations/tablemergesplit';import _0xc0454 from'./integrations/tableheadings';import _0x2031ad from'./integrations/tableclipboard';import _0x21c87b from'./integrations/tablecolumnresize';import _0x1afa21 from'./integrations/template';import _0x33d422 from'./integrations/tableofcontents';import _0x103652 from'./integrations/title';import _0x2e53ed from'./integrations/undo';import _0x3dde39 from'./integrations/tablecaption';import _0x3b2c2f from'./integrations/tableproperties';import{getTranslation as _0x360791}from'./utils/common-translations';import{isEqual as _0x283ea3,omit as _0x4eb354}from'lodash-es';export const renameAttributeKey=_0x4acc('0xbe');export default class p extends _0x54d35b{static get[_0x4acc('0x6c')](){return['CommentsRepository',_0x3a4722,_0x1f3631,_0x4bbbc3,_0x43ee14,_0x2b4007,_0x5abef7,_0x4df530,_0x1c6cda,_0x499998,_0x15d8ef,_0x1e6cc6,_0x513d6d,_0x403ce6,_0x7f5295,_0x4a4df2,_0x5bce46,_0x5e98f6,_0x191af4,_0xb252e,_0x1c3187,_0x2a6038,_0x10450b,_0x2a94fd,_0xe4bbe0,_0x3b1bcd,_0x47772d,_0x39d7d4,_0x54dd51,_0x57ca85,_0x365324,_0x317c28,_0xdd5751,_0x4f26de,_0x5e00ff,_0x53446a,_0x43e84c,_0x318c5e,_0x26f8de,_0x26f3b4,_0x139197,_0xc0454,_0x3dde39,_0x2031ad,_0x21c87b,_0x33d422,_0x3b2c2f,_0x1afa21,_0x103652,_0x2e53ed];}static get['pluginName'](){return _0x4acc('0x119');}constructor(_0x19028c){function _0x254927(_0x5adebe){return _0x5adebe[_0x4acc('0x143')](_0x371ec1=>String['fromCharCode'](_0x371ec1))['join']('');}super(_0x19028c),this[_0x4acc('0x15c')]=null,this[_0x4acc('0xf4')]('activeMarkers',[]),this['on']('change:activeMarkers',(_0x14fd07,_0x1681e6,_0x958207,_0x500c5a)=>{this['_model'][_0x4acc('0x13a')](()=>{for(const _0x5dfd76 of[..._0x500c5a,..._0x958207])this[_0x4acc('0x166')][_0x4acc('0x86')][_0x4acc('0x105')](_0x5dfd76)&&_0x19028c[_0x4acc('0xf7')][_0x4acc('0xca')](_0x5dfd76);});}),this[_0x4acc('0xa4')]=new _0x471beb(this[_0x4acc('0x7d')][_0x4acc('0x12')][_0x4acc('0xc4')],this[_0x4acc('0x7d')][_0x4acc('0xb6')]),this[_0x4acc('0x2d')]=null,this[_0x4acc('0x15f')]=new Bt(this[_0x4acc('0x7d')]),this[_0x4acc('0x16e')]=new Map(),this[_0x4acc('0x7b')]=_0x19028c['plugins'][_0x4acc('0x8f')]('CommentsRepository'),this[_0x4acc('0x1b')]=new Set(),this[_0x4acc('0x166')]=this[_0x4acc('0x7d')][_0x4acc('0x12')],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x4acc('0x9d')]=new Set([_0x4acc('0xbe')]),this[_0x4acc('0x42')]=new Set(),_0x19028c['config'][_0x4acc('0xd8')](_0x4acc('0x173'),'default'),this['_trackFormatChanges']=_0x19028c['config'][_0x4acc('0x8f')](_0x4acc('0x173')),_0x19028c[_0x4acc('0x71')][_0x4acc('0xd8')](_0x4acc('0x62'),!0x0),this[_0x4acc('0x7a')]=_0x19028c[_0x4acc('0x71')]['get'](_0x4acc('0x62')),this[_0x4acc('0xc3')]=new _0x7bec92(_0x19028c,this[_0x4acc('0x1b')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x254927([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x254927([0x34,0x30,0x34,0x36,0x32,0x34,0x30,0x34]);}[_0x4acc('0x12c')](){const _0x379f72=this[_0x4acc('0x7d')],_0x2d54dd=(_0x5bf454,_0xcc1473)=>{if(_0x4acc('0xb7')!=_0x5bf454)return _0x4acc('0x17b')+_0x5bf454;const _0x273ebc=_0xcc1473['split']('|')[0x0];return this[_0x4acc('0x14b')](_0x273ebc)?_0x4acc('0x9c'):_0x4acc('0x147');};_0x379f72['conversion'][_0x4acc('0x53')]('editingDowncast')[_0x4acc('0xc1')]({'model':_0x4acc('0x44'),'view':_0x5f377b=>{const {id:_0x4f6d84,type:_0x29aff7,subType:_0x30704f}=this[_0x4acc('0x153')](_0x5f377b[_0x4acc('0xfb')]),_0x3b6baa=[_0x4acc('0x138'),_0x2d54dd(_0x29aff7,_0x30704f)];let _0x4a13c3=0xbb8;return this[_0x4acc('0xef')][_0x4acc('0x41')](_0x5f377b[_0x4acc('0xfb')])&&(_0x3b6baa[_0x4acc('0x67')](_0x4acc('0xfd')),_0x4a13c3=0xbc2),_0x4acc('0x16')==_0x29aff7&&(_0x4a13c3+=0x5),{'classes':_0x3b6baa,'attributes':{'data-suggestion':_0x4f6d84},'priority':_0x4a13c3};}}),_0x379f72[_0x4acc('0x123')][_0x4acc('0x53')]('dataDowncast')[_0x4acc('0x19')](_0x89cb60=>{_0x89cb60['on'](_0x4acc('0xac'),(_0x1e80b1,_0x4922c4,_0x22959e)=>{if(!_0x22959e[_0x4acc('0x160')]['showSuggestionHighlights'])return;const _0x46ece7=_0x4922c4[_0x4acc('0x8a')];if(!_0x46ece7)return;const _0x348978=_0x22959e[_0x4acc('0xf')][_0x4acc('0x6b')](_0x46ece7);_0x379f72[_0x4acc('0x12')][_0x4acc('0xc4')]['isObject'](_0x46ece7)&&_0x348978&&!_0x348978[_0x4acc('0x114')](_0x4acc('0x142'))&&_0x348978['is'](_0x4acc('0x7e'))&&_0x265cbb(_0x348978,_0x22959e['writer']);},{'priority':_0x4acc('0xab')});}),_0x379f72[_0x4acc('0x123')][_0x4acc('0x53')](_0x4acc('0x3f'))[_0x4acc('0xc1')]({'model':'suggestion','view':(_0x3396a9,_0x448312)=>{if(!_0x448312['options']['showSuggestionHighlights'])return null;const {type:_0x27be31,subType:_0x3f1b0c}=this[_0x4acc('0x153')](_0x3396a9[_0x4acc('0xfb')]);return{'classes':[_0x4acc('0x138'),_0x2d54dd(_0x27be31,_0x3f1b0c)],'priority':0xbb8};}});const _0x4eb5ea=({showActiveMarkers:_0x4643e3=!0x0,isAttributeSuggestion:_0x54907b=!0x1}={})=>(_0x44d02e,_0x2aa048,_0x371476)=>{if(!_0x2aa048[_0x4acc('0x8a')])return;const {id:_0x1818c4}=this[_0x4acc('0x153')](_0x2aa048[_0x4acc('0xfb')]);if(_0x54907b){const _0x36187e=Pt(this['_suggestions'][_0x4acc('0x8f')](_0x1818c4));if(!this[_0x4acc('0x14b')](_0x36187e))return;}if(_0x2aa048[_0x4acc('0x8a')]['is'](_0x4acc('0xd1')))return void _0x371476['consumable']['consume'](_0x2aa048[_0x4acc('0x8a')],_0x44d02e['name']);const _0x1e5edf=_0x371476[_0x4acc('0xf')][_0x4acc('0x6b')](_0x2aa048['item']);if(_0x2aa048[_0x4acc('0x8a')]['is']('element')&&_0x379f72['model'][_0x4acc('0xc4')][_0x4acc('0x118')](_0x2aa048[_0x4acc('0x8a')])&&!_0x1e5edf['getCustomProperty'](_0x4acc('0xdf'))){_0x371476[_0x4acc('0x139')]['addClass']([_0x4acc('0x138'),'ck-suggestion-marker-formatBlock'],_0x1e5edf),_0x371476[_0x4acc('0x139')][_0x4acc('0xd2')](_0x4acc('0x120'),_0x1818c4,_0x1e5edf),_0x371476[_0x4acc('0xf')][_0x4acc('0x74')](_0x1e5edf,_0x2aa048[_0x4acc('0xfb')]),_0x4643e3&&(this[_0x4acc('0xef')]['includes'](_0x2aa048[_0x4acc('0xfb')])?_0x371476[_0x4acc('0x139')][_0x4acc('0xa5')]('ck-suggestion-marker--active',_0x1e5edf):_0x371476['writer'][_0x4acc('0x93')](_0x4acc('0xfd'),_0x1e5edf));for(const _0x5e84dd of _0x379f72[_0x4acc('0x12')][_0x4acc('0x30')](_0x2aa048[_0x4acc('0x8a')])[_0x4acc('0x80')]())_0x371476[_0x4acc('0x161')][_0x4acc('0x87')](_0x5e84dd,_0x44d02e[_0x4acc('0x3d')]);_0x371476[_0x4acc('0x161')][_0x4acc('0x87')](_0x2aa048['item'],_0x44d02e[_0x4acc('0x3d')]);}};_0x379f72[_0x4acc('0x123')][_0x4acc('0x53')](_0x4acc('0x3f'))[_0x4acc('0x19')](_0x2fa997=>{_0x2fa997['on']('addMarker:suggestion:formatBlock',(_0x1aea24,_0x5706b8,_0xb993b2)=>{_0xb993b2[_0x4acc('0x160')][_0x4acc('0x13e')]&&_0x4eb5ea({'showActiveMarkers':!0x1})(_0x1aea24,_0x5706b8,_0xb993b2);},{'priority':_0x4acc('0x17e')});}),_0x379f72[_0x4acc('0x123')][_0x4acc('0x53')](_0x4acc('0x3f'))[_0x4acc('0x19')](_0x3e1233=>{_0x3e1233['on'](_0x4acc('0x179'),(_0x33468a,_0x11b1ab,_0x24f75c)=>{_0x24f75c[_0x4acc('0x160')]['showSuggestionHighlights']&&_0x4eb5ea({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x33468a,_0x11b1ab,_0x24f75c);},{'priority':'highest'});}),_0x379f72[_0x4acc('0x123')][_0x4acc('0x53')]('dataDowncast')[_0x4acc('0x35')]({'model':_0x4acc('0x44'),'view':(_0x4ddaa2,_0xde3dc8)=>_0xde3dc8['options'][_0x4acc('0x13e')]?null:{'group':'suggestion','name':_0x4ddaa2[_0x4acc('0x2e')](0xb)}}),_0x379f72[_0x4acc('0x123')][_0x4acc('0x53')]('upcast')[_0x4acc('0x102')]({'view':{'name':_0x4acc('0x44'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x217ca5,{writer:_0x415ac5})=>{let _0x213cad='suggestion:'+_0x217ca5['getAttribute'](_0x4acc('0x1c'))+':'+_0x217ca5['getAttribute']('id');return _0x217ca5['getAttribute'](_0x4acc('0x155'))&&(_0x213cad+=':'+_0x217ca5[_0x4acc('0x34')](_0x4acc('0x155'))),_0x415ac5[_0x4acc('0x122')](_0x4acc('0x16a'),{'data-name':_0x213cad});}}),_0x379f72['conversion']['for'](_0x4acc('0x141'))[_0x4acc('0x8b')]({'view':'suggestion'}),_0x379f72[_0x4acc('0x123')][_0x4acc('0x53')](_0x4acc('0x79'))[_0x4acc('0x19')](_0x4e0430=>{_0x4e0430['on'](_0x4acc('0x101'),_0x4eb5ea(),{'priority':_0x4acc('0xab')});}),_0x379f72[_0x4acc('0x123')]['for'](_0x4acc('0x79'))[_0x4acc('0x19')](_0x223b02=>{_0x223b02['on']('addMarker:suggestion:attribute',_0x4eb5ea({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x379f72['conversion'][_0x4acc('0x53')](_0x4acc('0x79'))[_0x4acc('0x19')](_0x2c921e=>{_0x2c921e['on'](_0x4acc('0x0'),(_0x5de29f,_0x38c5cc,_0x563c51)=>{const _0x580654=_0x563c51[_0x4acc('0xf')][_0x4acc('0xfc')](_0x38c5cc['markerName']);if(_0x580654)for(const _0x3cf02a of _0x580654)_0x3cf02a[_0x4acc('0x114')](_0x4acc('0xdf'))||(_0x563c51['writer'][_0x4acc('0x93')]([_0x4acc('0x138'),_0x4acc('0x9c'),_0x4acc('0xfd')],_0x3cf02a),_0x563c51[_0x4acc('0x139')][_0x4acc('0x11d')]('data-suggestion',_0x3cf02a),_0x563c51[_0x4acc('0xf')][_0x4acc('0x111')](_0x3cf02a,_0x38c5cc[_0x4acc('0xfb')]));},{'priority':'high'});}),_0x379f72[_0x4acc('0x123')][_0x4acc('0x53')]('editingDowncast')[_0x4acc('0x19')](_0xac3522=>{_0xac3522['on'](_0x4acc('0x7f'),(_0x320e7e,_0x15e25f,_0x29eeac)=>{const _0x4a0e2f=_0x29eeac[_0x4acc('0xf')][_0x4acc('0xfc')](_0x15e25f[_0x4acc('0xfb')]);if(!_0x4a0e2f)return;const {id:_0x43dd47}=this['_splitMarkerName'](_0x15e25f[_0x4acc('0xfb')]),_0x3af0ad=Pt(this[_0x4acc('0x16e')][_0x4acc('0x8f')](_0x43dd47));if(this['_isBlockAttribute'](_0x3af0ad))for(const _0x5817f9 of _0x4a0e2f)_0x5817f9[_0x4acc('0x114')]('addHighlight')||(_0x29eeac[_0x4acc('0x139')]['removeClass']([_0x4acc('0x138'),_0x4acc('0x9c'),_0x4acc('0xfd')],_0x5817f9),_0x29eeac[_0x4acc('0x139')][_0x4acc('0x11d')](_0x4acc('0x120'),_0x5817f9),_0x29eeac[_0x4acc('0xf')][_0x4acc('0x111')](_0x5817f9,_0x15e25f[_0x4acc('0xfb')]));},{'priority':'high'});}),_0x379f72[_0x4acc('0x12')][_0x4acc('0xf1')][_0x4acc('0x169')](_0x4625b2=>{let _0x422190=!0x1;const _0x1f459c=Array['from'](_0x379f72[_0x4acc('0x12')][_0x4acc('0xf1')][_0x4acc('0xdb')][_0x4acc('0xc8')]()),_0x592af2=new Set();for(const {name:_0x28eb19,data:_0x366a49}of _0x1f459c){const {group:_0x1fcc9c,type:_0x6d25ef,subType:_0x1e2161,id:_0x4eff1c}=this[_0x4acc('0x153')](_0x28eb19);if('suggestion'!==_0x1fcc9c)continue;const _0x13e431=this[_0x4acc('0x16e')][_0x4acc('0x8f')](_0x4eff1c);if(null!=_0x366a49[_0x4acc('0x5')]){_0x4acc('0x5d')==_0x6d25ef&&(_0x422190=_0x422190||Et(_0x366a49[_0x4acc('0x5')],_0x28eb19,_0x4625b2,_0x379f72[_0x4acc('0x12')][_0x4acc('0xc4')]));const _0x21f128='attribute'==_0x6d25ef&&this[_0x4acc('0x14b')](_0x1e2161['split']('|')[0x0]);if(_0x366a49[_0x4acc('0x5')][_0x4acc('0xdc')]||_0x4acc('0x85')==_0x366a49['newRange'][_0x4acc('0x59')]['rootName']||'formatBlock'==_0x6d25ef&&!jt(_0x366a49[_0x4acc('0x5')])||_0x21f128&&!jt(_0x366a49[_0x4acc('0x5')])||_0x4acc('0x16')==_0x6d25ef&&!(!xt(_0x484879=_0x366a49[_0x4acc('0x5')])&&!function(_0x538365){return _0x538365['start']['parent']==_0x538365['end'][_0x4acc('0x148')]&&_0x538365[_0x4acc('0xc')]['isAtEnd'];}(_0x484879)))_0x4625b2[_0x4acc('0x113')](_0x28eb19),_0x422190=!0x0;else{if(!_0x13e431||!_0x13e431[_0x4acc('0x14')])continue;_0x592af2[_0x4acc('0x19')](_0x13e431);}}}var _0x484879;return _0x592af2[_0x4acc('0x16f')]>0x0&&(_0x422190=!!this[_0x4acc('0x17a')](_0x592af2)||_0x422190),_0x422190;}),_0x379f72[_0x4acc('0x12')][_0x4acc('0xf1')][_0x4acc('0x169')](_0x46bf49=>{let _0x88d8a5=!0x1;for(const _0x12942b of _0x379f72[_0x4acc('0x12')][_0x4acc('0xf1')][_0x4acc('0xdb')][_0x4acc('0xe2')]())if('insert'==_0x12942b['type'])for(const _0x27bfab of this[_0x4acc('0x16e')]['values']()){if(_0x27bfab['isMultiRange']||!_0x27bfab['isInContent'])continue;const _0x268d99=_0x4acc('0x43')==_0x27bfab['type'],_0x2de561=Pt(_0x27bfab),_0x1d05a0=_0x2de561&&this[_0x4acc('0x14b')](_0x2de561);if(!_0x268d99&&!_0x1d05a0)continue;const _0x1770a8=_0x27bfab[_0x4acc('0xa2')]();if(_0x1770a8[_0x4acc('0xc')][_0x4acc('0x12d')]!=_0x1770a8['end'][_0x4acc('0x12d')]&&!_0x1770a8[_0x4acc('0x1d')][_0x4acc('0x2a')]){const _0x297206=_0x379f72[_0x4acc('0x12')]['createPositionAt'](_0x1770a8['start']['nodeAfter'],_0x4acc('0x1d')),_0x26da3b=_0x379f72[_0x4acc('0x12')][_0x4acc('0xd3')](_0x1770a8[_0x4acc('0xc')],_0x297206);_0x46bf49['updateMarker'](_0x27bfab[_0x4acc('0xe1')](),{'range':_0x26da3b}),_0x88d8a5=!0x0;}}return _0x88d8a5;}),_0x379f72[_0x4acc('0x12')][_0x4acc('0xf1')][_0x4acc('0x169')](_0x363be1=>this[_0x4acc('0x9f')](_0x363be1)),_0x379f72[_0x4acc('0x12')][_0x4acc('0xf1')]['registerPostFixer'](_0x1f70bb=>!_0x1f70bb[_0x4acc('0x83')][_0x4acc('0x14f')]&&this[_0x4acc('0x125')](_0x1f70bb)),_0x379f72[_0x4acc('0x12')]['markers']['on'](_0x4acc('0x14a'),(_0x1467ab,_0x441b11,_0x68295a)=>{if(null==_0x68295a){const {id:_0x3a7acb}=this[_0x4acc('0x153')](_0x441b11[_0x4acc('0x3d')]),_0x5c3d66=this[_0x4acc('0x16e')][_0x4acc('0x8f')](_0x3a7acb);_0x5c3d66&&_0x5c3d66[_0x4acc('0x136')](_0x441b11[_0x4acc('0x3d')]);}}),_0x379f72[_0x4acc('0x12')][_0x4acc('0xf1')]['on'](_0x4acc('0x17'),()=>{const _0x5e52c2=Array['from'](_0x379f72[_0x4acc('0x12')][_0x4acc('0xf1')]['differ'][_0x4acc('0xc8')]())[_0x4acc('0xad')](_0x455611=>_0x4acc('0x44')===this[_0x4acc('0x153')](_0x455611['name'])[_0x4acc('0xb2')]);if(0x0===_0x5e52c2[_0x4acc('0x3b')])return;_0x5e52c2[_0x4acc('0xda')]((_0x309f69,_0x325002)=>{const _0x1e2bba=_0x309f69['data'][_0x4acc('0x10e')],_0x42d125=_0x325002[_0x4acc('0x50')][_0x4acc('0x10e')];return null===_0x1e2bba&&null===_0x42d125?0x0:null===_0x1e2bba&&null!==_0x42d125?-0x1:null!==_0x1e2bba&&null===_0x42d125?0x1:_0x1e2bba['start'][_0x4acc('0x6d')](_0x42d125[_0x4acc('0xc')])?-0x1:0x1;});const _0x48045a=new Set(),_0x5c16bd=new Set();for(const {name:_0x2741cd,data:_0x29c1cc}of _0x5e52c2){const {id:_0x5045b3}=this['_splitMarkerName'](_0x2741cd);if(null===_0x29c1cc[_0x4acc('0x10e')]){const _0x28ee68=this[_0x4acc('0x3')](_0x2741cd);_0x5c16bd[_0x4acc('0x19')](_0x28ee68);}else{const _0x8bbdbc=this['_suggestions'][_0x4acc('0x8f')](_0x5045b3);null!==_0x29c1cc[_0x4acc('0x5')]||_0x8bbdbc['isInContent']?(_0x48045a[_0x4acc('0x19')](_0x8bbdbc['head']),_0x5c16bd[_0x4acc('0x19')](_0x8bbdbc)):this[_0x4acc('0xfa')](_0x8bbdbc);}}_0x5c16bd[_0x4acc('0x16f')]>0x0&&this[_0x4acc('0x13f')](_0x5c16bd);for(const _0x4b3c07 of _0x48045a)this['fire'](_0x4acc('0xc2'),_0x4b3c07);}),_0x379f72[_0x4acc('0x12')]['on'](_0x4acc('0x131'),(_0xebb232,_0x29ad34)=>{const _0x5ca4ec=_0x29ad34[0x0];if(!this['_suggestions']['size'])return;if(!_0x5ca4ec[_0x4acc('0x150')])return;if(_0x5ca4ec[_0x4acc('0x83')][_0x4acc('0x2c')]||!_0x5ca4ec['batch'][_0x4acc('0x14f')])return;let _0x14e123,_0x2d6ed6;switch(_0x5ca4ec[_0x4acc('0x8')]){case'insert':_0x14e123=_0x379f72['model'][_0x4acc('0x1')](_0x5ca4ec['position']),_0x2d6ed6=_0x14e123[_0x4acc('0x140')](_0x5ca4ec[_0x4acc('0x13')]);break;case _0x4acc('0x17d'):_0x14e123=_0x379f72['model'][_0x4acc('0x1')](_0x5ca4ec[_0x4acc('0xa')]),_0x2d6ed6=_0x379f72[_0x4acc('0x12')][_0x4acc('0x1')](_0x5ca4ec[_0x4acc('0x82')]);break;case'move':_0x14e123=_0x379f72['model']['createPositionAt'](_0x5ca4ec['targetPosition']),_0x2d6ed6=_0x14e123[_0x4acc('0x140')](_0x5ca4ec[_0x4acc('0x13')]);break;default:return;}const _0x555d6e=_0x379f72[_0x4acc('0x12')]['createRange'](_0x14e123,_0x2d6ed6);_0x379f72['model'][_0x4acc('0x13a')](()=>{for(const {suggestion:_0x570dd4,meta:_0x1e31df}of this[_0x4acc('0x16d')](_0x555d6e)){if(_0x570dd4[_0x4acc('0xb8')])continue;if(_0x4acc('0x5d')==_0x570dd4[_0x4acc('0x8')])continue;const _0x1ba367=Pt(_0x570dd4);if(_0x1ba367&&this[_0x4acc('0x14b')](_0x1ba367)&&'split'!=_0x5ca4ec['type'])continue;const _0x448bf2=_0x570dd4[_0x4acc('0x50')]&&_0x570dd4[_0x4acc('0x50')][_0x4acc('0x94')];(_0x4acc('0x43')!=_0x570dd4[_0x4acc('0x8')]||_0x4acc('0x17d')==_0x5ca4ec[_0x4acc('0x8')]&&!_0x448bf2)&&(_0x1e31df[_0x4acc('0x13b')]||'insertion'==_0x570dd4['type']&&_0x1e31df[_0x4acc('0x9')]||_0x570dd4['getFirstRange']()[_0x4acc('0x73')](_0x555d6e)&&this[_0x4acc('0x126')](_0x570dd4,_0x14e123,_0x2d6ed6));}});},{'priority':_0x4acc('0xfe')}),_0x379f72[_0x4acc('0x12')]['on'](_0x4acc('0x47'),(_0x5aaace,_0x55b244)=>{const _0x313bea=_0x55b244[0x0],_0x1d205a=_0x55b244[0x1];if(_0x1d205a&&_0x1d205a[_0x4acc('0x61')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand'][_0x4acc('0x1e')])return;if(_0x313bea[_0x4acc('0xdc')])return;const _0x4f7871=_0x379f72[_0x4acc('0x12')][_0x4acc('0xc4')],{start:_0x1f3ed3,end:_0x1bcb41}=_0x313bea[_0x4acc('0xa2')](),_0x1bd7eb=_0x1f3ed3[_0x4acc('0xe9')]&&_0x4f7871[_0x4acc('0x6e')](_0x1f3ed3[_0x4acc('0xe9')])?null:_0x4f7871[_0x4acc('0x100')](_0x1f3ed3,'forward'),_0x4c99a4=_0x1bcb41[_0x4acc('0x148')]&&_0x4f7871[_0x4acc('0x6e')](_0x1bcb41['nodeBefore'])?null:_0x4f7871[_0x4acc('0x100')](_0x1bcb41,_0x4acc('0x135')),_0x191e40=_0x379f72[_0x4acc('0x12')][_0x4acc('0xd3')](_0x1bd7eb?_0x1bd7eb[_0x4acc('0xc')]:_0x1f3ed3,_0x4c99a4?_0x4c99a4[_0x4acc('0x1d')]:_0x1bcb41);_0x379f72[_0x4acc('0x12')][_0x4acc('0x13a')](_0xb16d1e=>{this[_0x4acc('0xe7')](_0x191e40);const _0x241397=_0x379f72[_0x4acc('0x12')][_0x4acc('0xc4')]['getNearestSelectionRange'](_0x191e40[_0x4acc('0xc')]);_0x313bea['is'](_0x4acc('0x4'))?_0xb16d1e['setSelection'](_0x241397):_0x313bea[_0x4acc('0x22')](_0x241397);}),_0x5aaace[_0x4acc('0x2f')]();},{'priority':_0x51d969[_0x4acc('0x4c')]+0xa}),_0x379f72[_0x4acc('0x12')]['on'](_0x4acc('0xa0'),(_0x29972d,_0x1c00ba)=>{const _0x3318ff=_0x1c00ba[_0x1c00ba[_0x4acc('0x3b')]-0x1];_0x3318ff&&_0x3318ff[_0x4acc('0x61')]||this[_0x4acc('0xd0')]||this[_0x4acc('0xc3')][_0x4acc('0x1e')]&&(_0x379f72[_0x4acc('0x12')][_0x4acc('0x13a')](()=>{let _0x50e7e1=_0x379f72[_0x4acc('0x12')][_0x4acc('0xa0')](_0x1c00ba[0x0],_0x1c00ba[0x1],_0x1c00ba[0x2],{'forceDefaultExecution':!0x0});if(!_0x50e7e1)return;_0x29972d[_0x4acc('0x110')]=_0x50e7e1[_0x4acc('0x117')]();const _0x528835=_0x50e7e1[_0x4acc('0x1d')][_0x4acc('0x148')],_0x457588=_0x379f72[_0x4acc('0x12')][_0x4acc('0xc4')];_0x528835&&_0x457588[_0x4acc('0x118')](_0x528835)&&!_0x457588[_0x4acc('0x81')](_0x528835)&&(_0x50e7e1=_0x379f72['model'][_0x4acc('0xd3')](_0x50e7e1['start'],_0x379f72[_0x4acc('0x12')][_0x4acc('0x1')](_0x528835,_0x4acc('0x1d')))),this['markInsertion'](_0x50e7e1);}),_0x29972d['stop']());},{'priority':_0x4acc('0xab')}),this['editor'][_0x4acc('0xe5')][_0x4acc('0x19')]('trackChanges',this[_0x4acc('0xc3')]),this[_0x4acc('0x145')](_0x4acc('0x84'));const _0x209b8a=new _0x365c11(_0x379f72,this[_0x4acc('0x16e')]);_0x379f72[_0x4acc('0xe5')][_0x4acc('0x19')]('acceptSuggestion',_0x209b8a),this['enableCommand'](_0x4acc('0x92'));const _0x380942=new _0x2692bb(_0x379f72,this[_0x4acc('0x16e')]);_0x379f72[_0x4acc('0xe5')]['add'](_0x4acc('0x178'),_0x380942),this['enableCommand'](_0x4acc('0x178')),_0x379f72[_0x4acc('0xe5')][_0x4acc('0x19')](_0x4acc('0x151'),new _0xdb4041(_0x379f72,_0x209b8a,this[_0x4acc('0x16e')])),this[_0x4acc('0x145')]('acceptAllSuggestions'),_0x379f72['commands'][_0x4acc('0x19')](_0x4acc('0x66'),new _0xdb4041(_0x379f72,_0x380942,this[_0x4acc('0x16e')])),this[_0x4acc('0x145')]('discardAllSuggestions'),_0x379f72['commands'][_0x4acc('0x19')](_0x4acc('0x24'),new _0x1affcb(_0x379f72,_0x209b8a,this[_0x4acc('0x16e')])),this[_0x4acc('0x145')]('acceptSelectedSuggestions'),_0x379f72['commands'][_0x4acc('0x19')](_0x4acc('0xe0'),new _0x1affcb(_0x379f72,_0x380942,this['_suggestions'])),this[_0x4acc('0x145')]('discardSelectedSuggestions');const _0x179486=_0x379f72[_0x4acc('0x15')]['get'](_0x4acc('0x11e'));this[_0x4acc('0x144')](_0x179486,_0x4acc('0xb4'),(_0x5e977a,{threadId:_0x55145f})=>{const _0x4ccbf1=this[_0x4acc('0x16e')][_0x4acc('0x8f')](_0x55145f);_0x4ccbf1&&_0x4ccbf1[_0x4acc('0x137')]&&0x1===_0x4ccbf1[_0x4acc('0x137')][_0x4acc('0x3b')]&&this[_0x4acc('0x162')](_0x55145f,{'hasComments':!0x0});},{'priority':_0x4acc('0x23')}),this['listenTo'](_0x179486,_0x4acc('0x130'),(_0x38323b,{threadId:_0x183ea6})=>{const _0x5976db=this[_0x4acc('0x16e')]['get'](_0x183ea6);_0x5976db&&_0x5976db['commentThread']&&!_0x5976db['commentThread'][_0x4acc('0x3b')]&&this[_0x4acc('0x162')](_0x183ea6,{'hasComments':!0x1});},{'priority':_0x4acc('0x23')});}set[_0x4acc('0xd7')](_0x475594){if(this[_0x4acc('0x2d')])throw new _0x3a71ef(_0x4acc('0x63'),this);this[_0x4acc('0x2d')]=_0x475594;}get['adapter'](){return this['_adapter'];}[_0x4acc('0xc9')]({skipNotAttached:_0x546dac=!0x1,toJSON:_0x2cf1c2=!0x1}={}){const _0x3169f7=[];for(const _0xd5431 of this[_0x4acc('0x16e')][_0x4acc('0x5f')]())_0x546dac&&!_0xd5431[_0x4acc('0x14')]||_0x3169f7[_0x4acc('0x67')](_0xd5431);return _0x2cf1c2?_0x3169f7[_0x4acc('0x143')](_0x2da14a=>_0x2da14a[_0x4acc('0x4b')]()):_0x3169f7;}[_0x4acc('0xaa')](_0x1d9e0d){const _0x3aff7e=this[_0x4acc('0x16e')][_0x4acc('0x8f')](_0x1d9e0d);if(!_0x3aff7e)throw new _0x3a71ef(_0x4acc('0x129'),this);return _0x3aff7e;}['hasSuggestion'](_0x4574fa){return this['_suggestions'][_0x4acc('0x105')](_0x4574fa);}[_0x4acc('0x15e')](_0xb44a20){const {authorId:_0xb6ec76,id:_0x38d85f,attributes:_0x1439a6}=_0xb44a20,[_0x1118ab,_0x4f2645]=_0xb44a20['type'][_0x4acc('0x17d')](':'),_0x266e11=this[_0x4acc('0x16e')][_0x4acc('0x8f')](_0x38d85f)||this[_0x4acc('0xf3')](_0x1118ab,_0x4f2645,_0x38d85f,_0xb6ec76,_0x1439a6);if(this[_0x4acc('0x164')](_0x266e11),this['_checkSuggestionCorrectness'](_0x266e11,_0x1118ab,_0x4f2645||null,_0xb6ec76),_0x266e11[_0x4acc('0xd6')]=_0xb44a20['createdAt'],_0x266e11[_0x4acc('0x25')]=!0x0,_0x1439a6&&_0x1439a6[_0x4acc('0x13c')]){const _0x11cb32=_0x1439a6[_0x4acc('0x13c')],_0x1b2ae0=this[_0x4acc('0x128')](_0x11cb32[_0x4acc('0x99')]);_0x266e11[_0x4acc('0xb')]=_0x11cb32[_0x4acc('0xd6')],_0x266e11['author']=_0x1b2ae0,_0x266e11['isExternal']=!0x0;}else _0x266e11[_0x4acc('0xb')]=_0xb44a20[_0x4acc('0xd6')];switch(_0xb44a20['data']&&(_0x266e11['data']=_0xb44a20[_0x4acc('0x50')]),_0xb44a20[_0x4acc('0x26')]&&(_0x266e11[_0x4acc('0x26')]=_0xb44a20[_0x4acc('0x26')]),this[_0x4acc('0x2d')]&&this['_adapter'][_0x4acc('0x1a')]||(_0x266e11[_0x4acc('0xf9')]=!0x0),this['_suggestionState'][_0x4acc('0x8f')](_0x266e11)){case'notReady':this[_0x4acc('0xb3')][_0x4acc('0xf4')](_0x266e11,'dataReady');break;case'markerReady':_0x266e11['isInContent']?(this[_0x4acc('0x13f')](new Set([_0x266e11])),this[_0x4acc('0x17a')](new Set([_0x266e11])),this[_0x4acc('0xb3')][_0x4acc('0xf4')](_0x266e11,_0x4acc('0x115')),this[_0x4acc('0xb0')](_0x4acc('0x159'),_0x266e11)):this[_0x4acc('0xb3')]['set'](_0x266e11,_0x4acc('0xc0'));}return _0x266e11;}['acceptSuggestion'](_0x4d0df6){this[_0x4acc('0x61')](()=>{this[_0x4acc('0x7d')][_0x4acc('0x12')][_0x4acc('0x13a')](()=>{for(const _0x122f6e of _0x4d0df6[_0x4acc('0x20')]())_0x122f6e['accept']();});});}[_0x4acc('0x178')](_0xea2b98){this[_0x4acc('0x61')](()=>{this['editor'][_0x4acc('0x12')][_0x4acc('0x13a')](()=>{for(const _0x3e4679 of _0xea2b98[_0x4acc('0x20')]())_0x3e4679[_0x4acc('0x11')]();});});}[_0x4acc('0x145')](_0x32f46f,_0x440e93){const _0x2105b8=this['editor']['commands'][_0x4acc('0x8f')](_0x32f46f);if(!_0x2105b8)throw new _0x3a71ef(_0x4acc('0x54'),this,{'commandName':_0x32f46f});if(this[_0x4acc('0x1b')][_0x4acc('0x105')](_0x2105b8))throw new _0x3a71ef('track-changes-enable-command-twice',this,{'commandName':_0x32f46f});this['_enabledCommands'][_0x4acc('0x19')](_0x2105b8),_0x440e93&&_0x2105b8['on'](_0x4acc('0x5b'),(_0x30d727,_0x47aefa)=>{this[_0x4acc('0xc3')][_0x4acc('0x1e')]&&(this[_0x4acc('0xd0')]||(_0x47aefa[_0x4acc('0x3b')]>0x0&&_0x47aefa[_0x47aefa[_0x4acc('0x3b')]-0x1]&&_0x47aefa[_0x47aefa[_0x4acc('0x3b')]-0x1][_0x4acc('0x61')]?_0x47aefa[_0x4acc('0xa9')]():(_0x30d727[_0x4acc('0x110')]=_0x440e93((..._0x2754ef)=>_0x2105b8[_0x4acc('0x5b')](..._0x2754ef,{'forceDefaultExecution':!0x0}),..._0x47aefa),_0x30d727[_0x4acc('0x2f')]())));},{'priority':'high'});}[_0x4acc('0x61')](_0x3897b5){let _0x5578d8,_0x9aadf0;const _0x240e37=this[_0x4acc('0xd0')];this[_0x4acc('0xd0')]=!0x0;try{_0x5578d8=_0x3897b5();}catch(_0x3f40d2){_0x9aadf0=_0x3f40d2;}return _0x240e37||(this[_0x4acc('0xd0')]=!0x1),_0x9aadf0&&_0x3a71ef[_0x4acc('0xbd')](_0x9aadf0,this),_0x5578d8;}['markInsertion'](_0x3621b1,_0x3b0bf1=null,_0x30df0c={}){if(_0x3621b1['isCollapsed'])return null;const _0x32a19b=this[_0x4acc('0x7d')][_0x4acc('0x15')][_0x4acc('0x8f')](_0x4acc('0x98'))['me'];for(const {suggestion:_0x1bb88b,meta:_0x3e5620}of this[_0x4acc('0x16d')](_0x3621b1,_0x4acc('0xce')))if(_0x3e5620['isOwn']){if(!_0x3e5620[_0x4acc('0x15b')]){if(_0x3e5620[_0x4acc('0x13b')]){if(!this[_0x4acc('0x7a')]||!Gt(_0x1bb88b,_0x30df0c))continue;return _0x1bb88b;}if(Gt(_0x1bb88b,_0x30df0c))return _0x1bb88b;this[_0x4acc('0x126')](_0x1bb88b,_0x3621b1[_0x4acc('0xc')],_0x3621b1[_0x4acc('0x1d')]);break;}if(_0x3b0bf1==_0x1bb88b[_0x4acc('0x96')]&&Gt(_0x1bb88b,_0x30df0c)){const _0x47bcfb=_0x1bb88b['getFirstRange']();return _0x47bcfb[_0x4acc('0xc')][_0x4acc('0x39')](_0x3621b1[_0x4acc('0x1d')])?this[_0x4acc('0x165')](_0x1bb88b,this[_0x4acc('0x166')][_0x4acc('0xd3')](_0x3621b1[_0x4acc('0xc')],_0x47bcfb[_0x4acc('0x1d')])):this[_0x4acc('0x165')](_0x1bb88b,this['_model'][_0x4acc('0xd3')](_0x47bcfb[_0x4acc('0xc')],_0x3621b1[_0x4acc('0x1d')])),_0x1bb88b;}}const _0x22ecac=_0x408bcc(),_0x5a6396=_0x32a19b['id'],_0x8b0bc4=_0x3b0bf1?_0x4acc('0x18')+_0x3b0bf1:_0x4acc('0xce'),_0x55dc8e=this[_0x4acc('0x88')]({'id':_0x22ecac,'type':_0x8b0bc4,'createdAt':new Date(),'authorId':_0x5a6396,'attributes':_0x30df0c});return this['_addSuggestionMarker'](_0x8b0bc4,_0x22ecac,_0x5a6396,_0x3621b1),_0x55dc8e;}[_0x4acc('0xc5')](_0x48fa3b,_0x471111=_0x4acc('0xb5'),_0x18c72b={}){const _0x59044=this[_0x4acc('0x7d')][_0x4acc('0x15')][_0x4acc('0x8f')](_0x4acc('0x98'))['me'],_0x219bc9=this[_0x4acc('0x15f')][_0x4acc('0x4d')]('insertion',_0x471111,'join');for(const _0x3ab823 of this[_0x4acc('0xc9')]())if(_0x3ab823[_0x4acc('0x17f')]['id']==_0x59044['id']&&'insertion'==_0x3ab823[_0x4acc('0x8')]&&_0x3ab823[_0x4acc('0x96')]==_0x471111&&Gt(_0x3ab823,_0x18c72b)&&(_0x219bc9(_0x3ab823[_0x4acc('0xc7')](),_0x48fa3b)||_0x219bc9(_0x48fa3b,_0x3ab823[_0x4acc('0xc7')]()))){for(const _0x58a1a4 of _0x48fa3b)_0x3ab823['addRange'](_0x58a1a4);return _0x3ab823;}for(const {suggestion:_0x46e7e8,meta:_0x5ebebc}of this[_0x4acc('0x16d')](_0x48fa3b,_0x4acc('0xce'))){if(!_0x5ebebc[_0x4acc('0x9')])continue;if(!this[_0x4acc('0x7a')]&&_0x5ebebc[_0x4acc('0x13b')])continue;if(!Gt(_0x46e7e8,_0x18c72b))continue;let _0x1acaee=!0x0;for(const _0x581665 of _0x46e7e8[_0x4acc('0xc7')]())for(const _0x2ae0d5 of _0x48fa3b)if(!_0x581665['containsRange'](_0x2ae0d5)){_0x1acaee=!0x1;break;}if(_0x1acaee)return _0x46e7e8;}const _0x54e84e=_0x408bcc(),_0x11c7cd=_0x59044['id'],_0x1c4e3a=_0x4acc('0x18')+_0x471111,_0x592a24=this[_0x4acc('0x88')]({'id':_0x54e84e,'type':_0x1c4e3a,'createdAt':new Date(),'authorId':_0x11c7cd,'attributes':_0x18c72b});for(const _0x1577d9 of _0x48fa3b)this['_addSuggestionMarker'](_0x1c4e3a,_0x54e84e,_0x11c7cd,_0x1577d9,_0x504755[_0x4acc('0xbc')]());return _0x592a24;}[_0x4acc('0x3a')](_0x2fa411,_0x313c21,_0x21ccdc=null,_0x9d3972={}){if(_0x21ccdc=_0x21ccdc||Rt(_0x313c21),_0x2fa411[_0x4acc('0xdc')])return null;if(_0x4acc('0xeb')===this[_0x4acc('0x5c')]){const _0x15bc91=this['_suggestionFactory'][_0x4acc('0x4d')](_0x4acc('0x5d'),_0x21ccdc,'accept');return this[_0x4acc('0x61')](()=>_0x15bc91([_0x2fa411],_0x313c21,_0x9d3972)),null;}const _0x17528c=this[_0x4acc('0x7d')][_0x4acc('0x15')][_0x4acc('0x8f')](_0x4acc('0x98'))['me'],_0x4cb89f=[];if(_0x4acc('0xb1')!==this[_0x4acc('0x5c')])for(const {suggestion:_0x49583c,meta:_0x1cb5c0}of this['_findSuggestions'](_0x2fa411,_0x4acc('0xce')))_0x1cb5c0[_0x4acc('0x9')]&&!_0x1cb5c0['isInsideObject']&&_0x4cb89f[_0x4acc('0x67')](..._0x49583c[_0x4acc('0xc7')]());const _0xc49dc=function(_0x5c257d,_0x4abf20){const _0x195c77=[];for(const _0x365185 of _0x4abf20){const _0x1ba7be=_0x5c257d[_0x4acc('0x68')](_0x365185);_0x1ba7be&&_0x195c77[_0x4acc('0x67')](_0x1ba7be);}return _0x195c77;}(_0x2fa411,_0x4cb89f),_0x86d1dc=function(_0x307387,_0x2b53b5){const _0xe30205=[_0x307387];for(const _0x50d6a7 of _0x2b53b5){let _0x11e542=0x0;for(;_0x11e542<_0xe30205[_0x4acc('0x3b')];){const _0x3df775=_0xe30205[_0x11e542][_0x4acc('0x154')](_0x50d6a7);_0xe30205[_0x4acc('0xcc')](_0x11e542,0x1,..._0x3df775),_0x11e542+=_0x3df775[_0x4acc('0x3b')];}}return _0xe30205;}(_0x2fa411,_0x4cb89f);_0xc49dc['length']&&this['_model'][_0x4acc('0x13a')](()=>{for(const _0xae6cea of _0xc49dc){const _0x5779ba=this[_0x4acc('0x15f')][_0x4acc('0x4d')](_0x4acc('0x5d'),_0x21ccdc,'accept');this[_0x4acc('0x61')](()=>_0x5779ba([_0xae6cea],_0x313c21,_0x9d3972));}});for(const _0x128c28 of _0x86d1dc){let _0x55b2b5=null,_0x4a48a1=_0x128c28[_0x4acc('0xc')],_0x536ba8=_0x128c28[_0x4acc('0x1d')];for(const {suggestion:_0x1b4672,meta:_0x1ba4e9}of this[_0x4acc('0x16d')](_0x128c28,'formatInline')){if(!_0x1ba4e9[_0x4acc('0x9')])continue;if(_0x1b4672[_0x4acc('0x96')]!=_0x21ccdc)continue;if(!Gt(_0x1b4672,_0x9d3972))continue;const _0x405da4=_0x1b4672[_0x4acc('0xa2')]();if(_0x405da4[_0x4acc('0x73')](_0x128c28,!0x0))return null;_0x4a48a1=_0x4a48a1[_0x4acc('0x6d')](_0x405da4[_0x4acc('0xc')])?_0x4a48a1:_0x405da4[_0x4acc('0xc')],_0x536ba8=_0x536ba8[_0x4acc('0xe4')](_0x405da4[_0x4acc('0x1d')])?_0x536ba8:_0x405da4[_0x4acc('0x1d')],_0x55b2b5?_0x405da4[_0x4acc('0xc')][_0x4acc('0x6d')](_0x55b2b5[_0x4acc('0xa2')]()[_0x4acc('0xc')])?(_0x55b2b5[_0x4acc('0x70')](),_0x55b2b5=_0x1b4672):_0x1b4672[_0x4acc('0x70')]():_0x55b2b5=_0x1b4672;}const _0x1c0c20=this['_model'][_0x4acc('0xd3')](_0x4a48a1,_0x536ba8);if(_0x55b2b5)this[_0x4acc('0x165')](_0x55b2b5,_0x1c0c20);else{const _0xd9de03=_0x408bcc(),_0xb5605=_0x17528c['id'];this[_0x4acc('0x88')]({'id':_0xd9de03,'type':_0x4acc('0x28')+_0x21ccdc,'data':_0x313c21,'createdAt':new Date(),'authorId':_0xb5605,'attributes':_0x9d3972}),this['_addSuggestionMarker'](_0x4acc('0x28')+_0x21ccdc,_0xd9de03,_0xb5605,_0x1c0c20);}}return null;}['markBlockFormat'](_0x36cc5c,_0x1c0624,_0x3e5f3d=[],_0x2f1cc4=null,_0x46c2e3={}){_0x1c0624['formatGroupId']||(_0x1c0624[_0x4acc('0x14d')]=_0x1c0624[_0x4acc('0x12f')]),_0x1c0624['multipleBlocks']=_0x36cc5c['is'](_0x4acc('0x103')),_0x2f1cc4=_0x2f1cc4||Rt(_0x1c0624);const _0x26b52c=_0x3e5f3d['map'](_0x2c57c1=>Ut(_0x2c57c1,this['_model'])),_0x1f9862=_0x36cc5c['is'](_0x4acc('0x103'))?_0x36cc5c:Ut(_0x36cc5c,this[_0x4acc('0x166')]);if(_0x4acc('0xeb')===this[_0x4acc('0x5c')]){const _0xd85557=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2f1cc4,'accept');return this[_0x4acc('0x61')](()=>_0xd85557([_0x1f9862],_0x1c0624,_0x46c2e3)),null;}_0x26b52c[_0x4acc('0x67')](_0x1f9862);let _0x43c33c=!0x0;for(const _0xb18333 of _0x26b52c)if(!this[_0x4acc('0x56')](_0xb18333)){_0x43c33c=!0x1;break;}if(_0x43c33c&&_0x4acc('0xb1')!==this[_0x4acc('0x5c')]){const _0x560dd5=this['_suggestionFactory'][_0x4acc('0x4d')]('formatBlock',_0x2f1cc4,_0x4acc('0x16c'));return this[_0x4acc('0x61')](()=>_0x560dd5([_0x1f9862],_0x1c0624,_0x46c2e3)),null;}let _0x615bc3=null,_0x5d8c8f=_0x1f9862[_0x4acc('0xc')],_0x51324c=_0x1f9862['end'];for(const {suggestion:_0x1edc96,meta:_0x4ba9f6}of this[_0x4acc('0x16d')](_0x1f9862,_0x4acc('0x43'))){if(!_0x4ba9f6[_0x4acc('0x9')])continue;if(_0x4ba9f6[_0x4acc('0x15b')]||_0x4ba9f6[_0x4acc('0x13b')]||_0x4ba9f6[_0x4acc('0x49')])continue;if(_0x1edc96[_0x4acc('0x50')]['formatGroupId']!=_0x1c0624[_0x4acc('0x14d')])continue;if(!Gt(_0x1edc96,_0x46c2e3))continue;const _0x41564d=_0x1edc96[_0x4acc('0xa2')]();if(_0x1edc96[_0x4acc('0x96')]==_0x2f1cc4){if(_0x41564d[_0x4acc('0x73')](_0x1f9862,!0x0))return null;_0x5d8c8f=_0x5d8c8f['isBefore'](_0x41564d['start'])?_0x5d8c8f:_0x41564d['start'],_0x51324c=_0x51324c[_0x4acc('0xe4')](_0x41564d[_0x4acc('0x1d')])?_0x51324c:_0x41564d[_0x4acc('0x1d')],_0x615bc3?_0x41564d[_0x4acc('0xc')][_0x4acc('0x6d')](_0x615bc3[_0x4acc('0xa2')]()['start'])?(_0x615bc3[_0x4acc('0x70')](),_0x615bc3=_0x1edc96):_0x1edc96['removeMarkers']():_0x615bc3=_0x1edc96;}else{const _0x5ace56=_0x1f9862[_0x4acc('0x68')](_0x41564d);this[_0x4acc('0xa7')](_0x1edc96,_0x5ace56);}}const _0x3ec5f4=this[_0x4acc('0x7d')][_0x4acc('0x15')]['get'](_0x4acc('0x98'))['me'],_0x29f2fc=_0x408bcc(),_0x22b1fa=_0x3ec5f4['id'];if(_0x615bc3)return this[_0x4acc('0x165')](_0x615bc3,this['_model'][_0x4acc('0xd3')](_0x5d8c8f,_0x51324c)),_0x615bc3;{const _0x5c29f4=this[_0x4acc('0x88')]({'id':_0x29f2fc,'type':_0x4acc('0xec')+_0x2f1cc4,'data':_0x1c0624,'createdAt':new Date(),'authorId':_0x22b1fa,'attributes':_0x46c2e3});return this[_0x4acc('0xdd')](_0x4acc('0xec')+_0x2f1cc4,_0x29f2fc,_0x22b1fa,this[_0x4acc('0x166')][_0x4acc('0xd3')](_0x5d8c8f,_0x51324c)),_0x5c29f4;}}[_0x4acc('0x163')](_0x482300,_0x5dfceb,_0x1dd2e7=[],_0x4c299d=null,_0x11fd96={}){_0x5dfceb[_0x4acc('0x14d')]||(_0x5dfceb['formatGroupId']=_0x5dfceb[_0x4acc('0x12f')]);const _0x43ad5e=_0x482300[0x0];_0x5dfceb[_0x4acc('0x94')]=_0x43ad5e['is']('range'),_0x4c299d=_0x4c299d||Rt(_0x5dfceb);const _0x553d44=_0x1dd2e7['map'](_0x587399=>Ut(_0x587399,this['_model'])),_0x463dd9=_0x43ad5e['is'](_0x4acc('0x103'))?_0x482300:_0x482300['map'](_0x2ed904=>Ut(_0x2ed904,this[_0x4acc('0x166')]));if(_0x4acc('0xeb')===this[_0x4acc('0x5c')]){const _0x323200=this[_0x4acc('0x15f')][_0x4acc('0x4d')](_0x4acc('0x43'),_0x4c299d,_0x4acc('0x16c'));return this[_0x4acc('0x61')](()=>_0x323200(_0x463dd9,_0x5dfceb,_0x11fd96)),null;}_0x553d44['push'](..._0x463dd9);let _0x3c5ff0=!0x0;for(const _0x2344d3 of _0x553d44)if(!this[_0x4acc('0x56')](_0x2344d3)){_0x3c5ff0=!0x1;break;}if(_0x3c5ff0&&'always'!==this[_0x4acc('0x5c')]){const _0x40c6a2=this[_0x4acc('0x15f')][_0x4acc('0x4d')]('formatBlock',_0x4c299d,_0x4acc('0x16c'));return this[_0x4acc('0x61')](()=>_0x40c6a2(_0x463dd9,_0x5dfceb,_0x11fd96)),null;}const _0x387a15=this[_0x4acc('0x7d')][_0x4acc('0x15')]['get'](_0x4acc('0x98'))['me'];for(const _0xa2cec1 of this[_0x4acc('0xc9')]()){if(_0xa2cec1[_0x4acc('0x17f')]['id']!=_0x387a15['id'])continue;if('formatBlock'!=_0xa2cec1[_0x4acc('0x8')]||_0xa2cec1[_0x4acc('0x50')][_0x4acc('0x14d')]!=_0x5dfceb['formatGroupId'])continue;if(!Gt(_0xa2cec1,_0x11fd96))continue;const _0x5a1429=_0xa2cec1[_0x4acc('0x96')]==_0x4c299d;for(let _0x4a0e73=0x0;_0x4a0e73<_0x463dd9['length'];_0x4a0e73++){const _0x39d7d7=_0x463dd9[_0x4a0e73];for(const _0x24b3a8 of _0xa2cec1[_0x4acc('0x156')]()){const _0x4e4f74=_0x24b3a8[_0x4acc('0x5a')]();if(_0x39d7d7['isEqual'](_0x4e4f74)){_0x5a1429?(_0x463dd9[_0x4acc('0xcc')](_0x4a0e73,0x1),_0x4a0e73--):_0xa2cec1[_0x4acc('0x113')](_0x24b3a8[_0x4acc('0x3d')]);break;}}}}if(0x0==_0x463dd9[_0x4acc('0x3b')])return null;const _0x357834=this[_0x4acc('0x15f')]['getSuggestionCallback'](_0x4acc('0x43'),_0x4c299d,_0x4acc('0x65'));for(const _0x4a25b9 of this['getSuggestions']())if(_0x4a25b9['author']['id']==_0x387a15['id']&&_0x4acc('0x43')==_0x4a25b9[_0x4acc('0x8')]&&_0x4a25b9[_0x4acc('0x50')][_0x4acc('0x14d')]==_0x5dfceb[_0x4acc('0x14d')]&&_0x4a25b9[_0x4acc('0x96')]==_0x4c299d&&Gt(_0x4a25b9,_0x11fd96)&&(_0x357834(_0x4a25b9[_0x4acc('0xc7')](),_0x463dd9)||_0x357834(_0x463dd9,_0x4a25b9[_0x4acc('0xc7')]()))){for(const _0x415b9e of _0x463dd9)_0x4a25b9[_0x4acc('0x12b')](_0x415b9e);return _0x4a25b9;}const _0x52ddbf=_0x408bcc(),_0x55722a=_0x387a15['id'],_0x253ecb=_0x4acc('0xec')+_0x4c299d,_0x59a3c1=this['_setSuggestionData']({'id':_0x52ddbf,'type':_0x253ecb,'data':_0x5dfceb,'createdAt':new Date(),'authorId':_0x55722a,'attributes':_0x11fd96});for(const _0x48ee1f of _0x463dd9)this[_0x4acc('0xdd')](_0x253ecb,_0x52ddbf,_0x55722a,_0x48ee1f,_0x504755[_0x4acc('0xbc')]());return _0x59a3c1;}[_0x4acc('0xe7')](_0x274e32,_0x38707a=null,_0x420940={}){if(_0x274e32[_0x4acc('0xdc')])return null;const _0x440180=this['editor'][_0x4acc('0x15')][_0x4acc('0x8f')](_0x4acc('0x98'))['me'],_0x3b451b=new _0x218230(_0x274e32[_0x4acc('0xc')],_0x274e32[_0x4acc('0x1d')]);for(const {suggestion:_0x144ba0,meta:_0x43cd92}of this['_findSuggestions'](_0x3b451b,'insertion'))if(_0x43cd92[_0x4acc('0x9')]&&!_0x43cd92[_0x4acc('0x15b')]){if(_0x144ba0[_0x4acc('0xb8')]){const _0x4fc689=_0x144ba0['getRanges']()[_0x4acc('0xad')](_0x2ed989=>_0x4acc('0x85')!=_0x2ed989[_0x4acc('0x59')]['rootName']);_0x4fc689[_0x4acc('0x170')](_0x46323a=>_0x3b451b['containsRange'](_0x46323a,!0x0))&&_0x144ba0['discard']();if(_0x4fc689[_0x4acc('0x134')](_0x330764=>_0x330764[_0x4acc('0x73')](_0x3b451b,!0x0))){const _0x4f8862=this['_suggestionFactory']['getSuggestionCallback'](_0x4acc('0x16'),_0x38707a,_0x4acc('0x16c'));return this['forceDefaultExecution'](()=>_0x4f8862([_0x3b451b],null,_0x420940)),null;}}else{const _0x128c23=_0x3b451b['getIntersection'](_0x144ba0[_0x4acc('0xa2')]());null!==_0x128c23&&_0x144ba0[_0x4acc('0x4a')]([_0x128c23],null,_0x420940);}}if(_0x3b451b['detach'](),_0x3b451b['isCollapsed']||_0x4acc('0x85')==_0x3b451b[_0x4acc('0x59')][_0x4acc('0x78')])return null;let _0x4c56bf=null,_0x597064=_0x3b451b[_0x4acc('0xc')],_0x44992e=_0x3b451b[_0x4acc('0x1d')];const _0x3dc161=this[_0x4acc('0x16d')](_0x3b451b,_0x4acc('0x16'));for(const {suggestion:_0x297a03,meta:_0x3f0ca9}of _0x3dc161){const _0xacc244=this[_0x4acc('0x166')][_0x4acc('0xd3')](_0x597064,_0x44992e);if(_0x3f0ca9[_0x4acc('0x9')]&&(this[_0x4acc('0x7a')]||!_0x3f0ca9['containsRangeInObject']&&!_0x3f0ca9[_0x4acc('0x49')])){if(_0x297a03[_0x4acc('0xb8')]){if(!Gt(_0x297a03,_0x420940))continue;let _0x5ab26c=!0x0;for(const _0x208a01 of _0x297a03[_0x4acc('0xc7')]()){if(_0x208a01['containsRange'](_0xacc244,!0x0))return _0x297a03;_0xacc244[_0x4acc('0x73')](_0x208a01)||(_0x5ab26c=!0x1);}_0x5ab26c&&_0x297a03[_0x4acc('0x11')]();}else{const _0x167de9=_0x297a03['getFirstRange']();if(_0x167de9[_0x4acc('0x73')](_0xacc244,!0x0))return _0x297a03;if(!Gt(_0x297a03,_0x420940)){_0xacc244[_0x4acc('0x73')](_0x167de9)?_0x297a03['removeMarkers']():_0x167de9['containsPosition'](_0x597064)?_0x597064=_0x167de9[_0x4acc('0x1d')]:_0x167de9[_0x4acc('0x175')](_0x44992e)&&(_0x44992e=_0x167de9['start']);continue;}_0x597064=_0x597064[_0x4acc('0x6d')](_0x167de9[_0x4acc('0xc')])?_0x597064:_0x167de9[_0x4acc('0xc')],_0x44992e=_0x44992e[_0x4acc('0xe4')](_0x167de9[_0x4acc('0x1d')])?_0x44992e:_0x167de9['end'],_0x420940=Object[_0x4acc('0x5e')]({},_0x297a03[_0x4acc('0x26')]),_0x4c56bf?_0x167de9[_0x4acc('0xc')][_0x4acc('0x6d')](_0x4c56bf[_0x4acc('0xa2')]()['start'])?(_0x4c56bf[_0x4acc('0x70')](),_0x4c56bf=_0x297a03):_0x297a03[_0x4acc('0x70')]():_0x4c56bf=_0x297a03;}}}if(_0x4c56bf)return this[_0x4acc('0x165')](_0x4c56bf,this[_0x4acc('0x166')][_0x4acc('0xd3')](_0x597064,_0x44992e)),_0x4c56bf;{const _0x21b2c0=_0x408bcc(),_0x3e7e6d=this['_model'][_0x4acc('0xd3')](_0x597064,_0x44992e),_0x1a578e=_0x440180['id'],_0x465f31=_0x38707a?'deletion:'+_0x38707a:'deletion',_0x1e02cc=this['_setSuggestionData']({'id':_0x21b2c0,'type':_0x465f31,'createdAt':new Date(),'authorId':_0x1a578e,'attributes':_0x420940});return this['_addSuggestionMarker'](_0x465f31,_0x21b2c0,_0x1a578e,_0x3e7e6d),_0x1e02cc;}}['markMultiRangeDeletion'](_0x3fc1bd,_0x41b9a6=_0x4acc('0xb5'),_0x3fdcd3={}){const _0x3adcef=this[_0x4acc('0x7d')][_0x4acc('0x15')]['get']('Users')['me'],_0x17e9e1=_0x3fc1bd[_0x4acc('0x143')](_0x184c9d=>new _0x218230(_0x184c9d['start'],_0x184c9d['end'])),_0x39a47b=new Set();for(const {suggestion:_0x54e262,meta:_0x3751c2}of this[_0x4acc('0x16d')](_0x17e9e1,_0x4acc('0xce')))_0x3751c2[_0x4acc('0x9')]&&!_0x3751c2[_0x4acc('0x15b')]&&_0x39a47b[_0x4acc('0x19')](_0x54e262);for(const _0x5d5598 of _0x39a47b)if(_0x5d5598['isMultiRange']){const _0x24c3d7=_0x5d5598[_0x4acc('0xc7')]();(!_0x5d5598[_0x4acc('0x26')]||!_0x5d5598[_0x4acc('0x26')][_0x4acc('0xf8')])&&(_0x24c3d7[_0x4acc('0x170')](_0x4bb516=>_0x17e9e1[_0x4acc('0x134')](_0x1b8db8=>_0x1b8db8[_0x4acc('0x73')](_0x4bb516,!0x0)))&&_0x5d5598[_0x4acc('0x11')]());if(_0x17e9e1[_0x4acc('0x170')](_0x4c4a7f=>_0x24c3d7['some'](_0x197420=>_0x197420[_0x4acc('0x73')](_0x4c4a7f,!0x0)))){const _0x35681b=this['_suggestionFactory'][_0x4acc('0x4d')]('deletion',_0x41b9a6,_0x4acc('0x16c'));return this['forceDefaultExecution'](()=>_0x35681b(_0x3fc1bd,null,_0x3fdcd3)),null;}}else{const _0x43393e=_0x5d5598[_0x4acc('0xa2')]();_0x17e9e1[_0x4acc('0x134')](_0x120692=>_0x120692['containsRange'](_0x43393e,!0x0))&&_0x5d5598[_0x4acc('0x11')]();if(_0x17e9e1[_0x4acc('0x170')](_0xde5a24=>_0x43393e['containsRange'](_0xde5a24,!0x0))){const _0x2cc5bc=this[_0x4acc('0x15f')]['getSuggestionCallback'](_0x4acc('0x16'),_0x41b9a6,_0x4acc('0x16c'));return this[_0x4acc('0x61')](()=>_0x2cc5bc(_0x17e9e1,null,_0x3fdcd3)),null;}}const _0x22300f=this[_0x4acc('0x15f')]['getSuggestionCallback'](_0x4acc('0x16'),_0x41b9a6,'join');let _0x262010=null;for(const _0x2330dd of this['getSuggestions']())if(_0x2330dd[_0x4acc('0x17f')]['id']==_0x3adcef['id']&&_0x2330dd[_0x4acc('0x14')]&&_0x4acc('0x16')==_0x2330dd[_0x4acc('0x8')]&&_0x2330dd[_0x4acc('0x96')]==_0x41b9a6&&Gt(_0x2330dd,_0x3fdcd3)&&(_0x22300f(_0x2330dd[_0x4acc('0xc7')](),_0x17e9e1)||_0x22300f(_0x17e9e1,_0x2330dd[_0x4acc('0xc7')]()))){if(_0x262010){if(_0x2330dd[_0x4acc('0x137')]&&_0x2330dd['commentThread']['length'])continue;for(const _0x25311f of _0x2330dd[_0x4acc('0xc7')]())_0x262010[_0x4acc('0x17c')](_0x25311f)||_0x262010[_0x4acc('0x12b')](_0x25311f);_0x2330dd['removeMarkers']();}else{_0x262010=_0x2330dd;for(const _0x304d09 of _0x17e9e1)_0x2330dd[_0x4acc('0x17c')](_0x304d09)||_0x2330dd[_0x4acc('0x12b')](_0x304d09);}}if(_0x262010)return _0x262010;_0x39a47b[_0x4acc('0xf6')]();for(const {suggestion:_0x3a8461,meta:_0x5b7e34}of this[_0x4acc('0x16d')](_0x17e9e1,_0x4acc('0x16')))_0x5b7e34[_0x4acc('0x9')]&&(this[_0x4acc('0x7a')]||!_0x5b7e34[_0x4acc('0x13b')]&&!_0x5b7e34[_0x4acc('0x49')])&&Gt(_0x3a8461,_0x3fdcd3)&&_0x39a47b[_0x4acc('0x19')](_0x3a8461);for(const _0x21e8cb of _0x39a47b){const _0x40b25d=_0x21e8cb[_0x4acc('0xc7')]();if(!_0x3fdcd3||!_0x3fdcd3[_0x4acc('0xf8')]){if(_0x17e9e1[_0x4acc('0x170')](_0x244ff7=>_0x40b25d[_0x4acc('0x134')](_0x290220=>_0x290220[_0x4acc('0x73')](_0x244ff7,!0x0))))return _0x21e8cb;}(!_0x21e8cb[_0x4acc('0x26')]||!_0x21e8cb[_0x4acc('0x26')][_0x4acc('0xf8')])&&(_0x40b25d['every'](_0xf625e1=>_0x17e9e1['some'](_0x26b15a=>_0x26b15a['containsRange'](_0xf625e1,!0x0)))&&_0x21e8cb[_0x4acc('0x11')]());}const _0x259285=_0x408bcc(),_0x1db03e=_0x3adcef['id'],_0x2e48f5=_0x4acc('0x10a')+_0x41b9a6,_0x4ea8c9=this[_0x4acc('0x88')]({'id':_0x259285,'type':_0x2e48f5,'createdAt':new Date(),'authorId':_0x1db03e,'attributes':_0x3fdcd3});for(const _0x53ed4b of _0x17e9e1)_0x53ed4b['detach'](),_0x53ed4b[_0x4acc('0xdc')]||_0x4acc('0x85')==_0x53ed4b['root'][_0x4acc('0x78')]||this['_addSuggestionMarker'](_0x2e48f5,_0x259285,_0x1db03e,_0x53ed4b,_0x504755[_0x4acc('0xbc')]());return _0x4ea8c9;}[_0x4acc('0x15d')](_0x5bba19,_0x5b2f25,_0x17e508,_0x585cf2,_0x3c4f1c){if(_0x5bba19[_0x4acc('0xdc')])return[];if(_0x4acc('0xeb')===this['_trackFormatChanges'])return[];const _0x125153=this[_0x4acc('0x7d')][_0x4acc('0x15')]['get'](_0x4acc('0x98'))['me']['id'],_0x28029a=Array[_0x4acc('0x121')](this[_0x4acc('0x16e')][_0x4acc('0x5f')]())[_0x4acc('0xad')](_0x1e100f=>_0x4acc('0xb7')==_0x1e100f[_0x4acc('0x8')]&&_0x1e100f[_0x4acc('0x50')]['key']==_0x5b2f25&&_0x1e100f[_0x4acc('0x17c')](_0x5bba19));if(_0x4acc('0x180')===this['_trackFormatChanges']){const _0x337ba6=this['_findSuggestions'](_0x5bba19,_0x4acc('0xce'))['filter'](({meta:_0x18081d})=>_0x18081d[_0x4acc('0x9')]&&!_0x18081d[_0x4acc('0x49')]&&!_0x18081d['isNextTo'])['map'](({suggestion:_0x3ea82e})=>_0x3ea82e);_0x28029a[_0x4acc('0x11a')](..._0x337ba6);}const _0x3c50c2=new Map([[_0x5bba19,_0x17e508]]);for(const _0x426ee1 of _0x28029a){const _0x470d51=_0x4acc('0xb7')==_0x426ee1['type']?_0x426ee1[_0x4acc('0x50')]['oldValue']:void 0x0,_0x44ff05=_0x426ee1[_0x4acc('0xa2')](),_0x3e462b=Array[_0x4acc('0x121')](_0x3c50c2[_0x4acc('0x6')]())[_0x4acc('0xcd')](_0x1789e9=>_0x1789e9[_0x4acc('0xcf')](_0x44ff05));if(!_0x3e462b)continue;const _0x260eca=_0x3e462b[_0x4acc('0x154')](_0x44ff05);this[_0x4acc('0x14b')](_0x5b2f25)&&_0x4acc('0xce')==_0x426ee1[_0x4acc('0x8')]&&0x0!=_0x260eca['length']||(_0x3c50c2[_0x4acc('0x27')](_0x3e462b),_0x260eca[_0x4acc('0x55')](_0x1450e5=>{_0x3c50c2['set'](_0x1450e5,_0x17e508);}),_0x4acc('0xce')!=_0x426ee1[_0x4acc('0x8')]&&_0x470d51!=_0x585cf2&&_0x3c50c2[_0x4acc('0xf4')](_0x3e462b[_0x4acc('0x68')](_0x44ff05),_0x470d51));}const _0x1f49a1=[];for(const [_0x10a4ac,_0x2dccb3]of _0x3c50c2){const _0x95bd5b=_0x408bcc(),_0x4f75d0={'key':_0x5b2f25,'oldValue':_0x2dccb3,'newValue':_0x585cf2};_0x5b2f25[_0x4acc('0x3b')]>0x25&&console['warn'](_0x4acc('0x4e'),{'key':_0x5b2f25});const _0x4857c1=(_0x4acc('0x2')+(_0x5b2f25+'|'+Rt({'newValue':_0x585cf2})))[_0x4acc('0xde')](0x0,0x3c),_0xbec082=this[_0x4acc('0x88')]({'id':_0x95bd5b,'type':_0x4857c1,'data':_0x4f75d0,'createdAt':new Date(),'authorId':_0x125153,'attributes':_0x3c4f1c});_0x1f49a1[_0x4acc('0x67')](_0xbec082),this[_0x4acc('0xdd')](_0x4857c1,_0x95bd5b,_0x125153,_0x10a4ac);}return _0x1f49a1;}['_registerBlockAttribute'](_0x58f138){this[_0x4acc('0x9d')][_0x4acc('0x19')](_0x58f138);}['_registerInlineAttribute'](_0x18bc44){this[_0x4acc('0x42')][_0x4acc('0x19')](_0x18bc44);}[_0x4acc('0x107')](_0x57ef85,_0x4eb940=[],_0x536e84=[]){this[_0x4acc('0x145')](_0x57ef85,(_0xf4fe34,..._0x35cd28)=>{this[_0x4acc('0xf2')](()=>{_0xf4fe34(..._0x35cd28);});});for(const _0x128597 of _0x4eb940)this[_0x4acc('0x21')](_0x128597);for(const _0x33372b of _0x536e84)this['_registerBlockAttribute'](_0x33372b);}['_setSuggestionRange'](_0xe0d29e,_0x4d3c20){const _0x4ad088=_0xe0d29e[_0x4acc('0xe1')]();this['_model'][_0x4acc('0x13a')](_0x6c315=>{_0x6c315[_0x4acc('0x9a')](_0x4ad088,{'range':_0x4d3c20});});}['_addThreadToSuggestion'](_0xda8b29){const _0x38e52d=_0xda8b29['id'],_0x356a31=this[_0x4acc('0x7d')][_0x4acc('0x71')][_0x4acc('0x8f')](_0x4acc('0x11c'));this[_0x4acc('0x7b')][_0x4acc('0x3e')](_0x38e52d)||this[_0x4acc('0x7b')][_0x4acc('0x116')]({'channelId':_0x356a31,'threadId':_0x38e52d,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x12440d=this[_0x4acc('0x7b')][_0x4acc('0x182')](_0x38e52d);_0x12440d['unbind']('isRemovable'),_0x12440d[_0x4acc('0xc6')]=!0x1,_0xda8b29['commentThread']=_0x12440d;}['_checkSuggestionCorrectness'](_0x51d046,_0x534d73,_0x1aa815,_0x3feb16){if(_0x51d046[_0x4acc('0x8')]!=_0x534d73||_0x51d046[_0x4acc('0x96')]!=_0x1aa815||_0x51d046['creator']['id']!=_0x3feb16)throw this[_0x4acc('0x7d')]['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x3a71ef(_0x4acc('0x48'),this);}[_0x4acc('0xa7')](_0x42207b,_0x2fdd56){const _0x3489e9=_0x42207b[_0x4acc('0xa2')]();if(_0x2fdd56[_0x4acc('0x39')](_0x3489e9))_0x42207b[_0x4acc('0x70')]();else{if(_0x3489e9[_0x4acc('0x73')](_0x2fdd56)){const _0x488e6e=this[_0x4acc('0x166')][_0x4acc('0x1')](_0x2fdd56[_0x4acc('0xc')][_0x4acc('0x148')],_0x4acc('0x1d'));this[_0x4acc('0x165')](_0x42207b,this[_0x4acc('0x166')][_0x4acc('0xd3')](_0x3489e9[_0x4acc('0xc')],_0x488e6e));const _0x422575=_0x408bcc(),_0xd74088=_0x42207b['creator']['id'],_0x388f4f=_0x42207b[_0x4acc('0x8')]+':'+_0x42207b[_0x4acc('0x96')];this[_0x4acc('0x88')]({'id':_0x422575,'type':_0x388f4f,'createdAt':new Date(),'authorId':_0xd74088,'data':_0x42207b[_0x4acc('0x50')],'attributes':_0x42207b[_0x4acc('0x26')]});const _0x433c42=this['_model'][_0x4acc('0x1')](_0x2fdd56[_0x4acc('0x1d')][_0x4acc('0x12d')],_0x4acc('0xea')),_0x20938f=this['_model'][_0x4acc('0xd3')](_0x433c42,_0x3489e9[_0x4acc('0x1d')]);this[_0x4acc('0xdd')](_0x388f4f,_0x422575,_0xd74088,_0x20938f);}else{if(_0x3489e9[_0x4acc('0x175')](_0x2fdd56[_0x4acc('0xc')])){const _0x3453c1=this[_0x4acc('0x166')][_0x4acc('0x1')](_0x2fdd56[_0x4acc('0xc')]['nodeBefore'],'end');this[_0x4acc('0x165')](_0x42207b,this[_0x4acc('0x166')][_0x4acc('0xd3')](_0x3489e9[_0x4acc('0xc')],_0x3453c1));}else{const _0x138281=this[_0x4acc('0x166')][_0x4acc('0x1')](_0x2fdd56[_0x4acc('0x1d')][_0x4acc('0x12d')],_0x4acc('0xea'));this[_0x4acc('0x165')](_0x42207b,this[_0x4acc('0x166')][_0x4acc('0xd3')](_0x138281,_0x3489e9[_0x4acc('0x1d')]));}}}}[_0x4acc('0x56')](_0x25da29){for(const {suggestion:_0x48f990,meta:_0x2cc919}of this[_0x4acc('0x16d')](_0x25da29,'insertion')){if(!_0x2cc919['isOwn'])continue;const _0x36c07d=_0x48f990[_0x4acc('0xc7')]();for(const _0x39ab0e of _0x36c07d)if(!_0x25da29[_0x4acc('0x154')](_0x39ab0e)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x538438){const _0x119d40=this[_0x4acc('0x7d')]['plugins'][_0x4acc('0x8f')]('Users')['getUser'](_0x538438);if(!_0x119d40)throw new _0x3a71ef(_0x4acc('0xed'),this);return _0x119d40;}['_getExternalAuthor'](_0xbbc4ac){const _0x3f3e6c=this[_0x4acc('0x7d')][_0x4acc('0x15')][_0x4acc('0x8f')](_0x4acc('0x98')),_0x131dcd=_0x466d17('external:'+_0xbbc4ac),_0x1b62da=_0x3f3e6c['getUser'](_0x131dcd);return _0x1b62da||_0x3f3e6c['addUser']({'id':_0x131dcd,'name':_0xbbc4ac});}[_0x4acc('0xf3')](_0x31f335,_0x3b429d,_0x4d0749,_0x2ce926,_0x332f6d){const _0x2d0ff9=this[_0x4acc('0x172')](_0x2ce926),_0x2ec59c=this[_0x4acc('0x15f')]['buildSuggestion'](_0x31f335,_0x3b429d,_0x4d0749,_0x2d0ff9,_0x332f6d,_0x48dad6=>this[_0x4acc('0x162')](_0x4d0749,{'attributes':_0x48dad6}));return this[_0x4acc('0x144')](_0x2ec59c,_0x4acc('0x16c'),()=>{this[_0x4acc('0x162')](_0x4d0749,{'state':_0x4acc('0x132')});},{'priority':_0x4acc('0xab')}),this['listenTo'](_0x2ec59c,_0x4acc('0x11'),()=>{this[_0x4acc('0x162')](_0x4d0749,{'state':'rejected'});},{'priority':_0x4acc('0xab')}),this[_0x4acc('0x16e')][_0x4acc('0xf4')](_0x4d0749,_0x2ec59c),this[_0x4acc('0xb3')][_0x4acc('0xf4')](_0x2ec59c,_0x4acc('0x51')),_0x2ec59c;}[_0x4acc('0x153')](_0x330e0e){const _0x5077ee=_0x330e0e[_0x4acc('0x17d')](':');return{'group':_0x5077ee[0x0],'type':_0x5077ee[0x1],'subType':_0x5077ee[_0x4acc('0x3b')]>=0x5?_0x5077ee[0x2]:null,'id':_0x5077ee[_0x4acc('0x3b')]<0x5?_0x5077ee[0x2]:_0x5077ee[0x3],'authorId':_0x5077ee[_0x4acc('0x3b')]<0x5?_0x5077ee[0x3]:_0x5077ee[0x4],'markerCount':0x6==_0x5077ee['length']?_0x5077ee[0x5]:null};}[_0x4acc('0x126')](_0x34666e,_0x44cd36,_0x43799e){const _0x3a22c8=_0x34666e['getFirstRange'](),_0x50cdd4=_0x3a22c8['start'],_0x59c9db=_0x3a22c8['end'];this['_setSuggestionRange'](_0x34666e,this['_model'][_0x4acc('0xd3')](_0x50cdd4,_0x44cd36));const _0x4bff98=_0x408bcc(),_0x1e928d=_0x34666e[_0x4acc('0xe8')]['id'],_0x4c6006=_0x34666e['type']+(_0x34666e[_0x4acc('0x96')]?':'+_0x34666e['subType']:'');this[_0x4acc('0x88')]({'id':_0x4bff98,'type':_0x4c6006,'createdAt':new Date(),'authorId':_0x1e928d,'originalSuggestionId':_0x34666e['id'],'attributes':_0x34666e[_0x4acc('0x26')],'data':_0x34666e['data']});const _0x413c26=Pt(_0x34666e);('formatBlock'==_0x34666e[_0x4acc('0x8')]||_0x413c26&&this[_0x4acc('0x14b')](_0x413c26))&&(_0x43799e=this[_0x4acc('0x166')][_0x4acc('0x13d')](_0x43799e[_0x4acc('0x12d')])),this[_0x4acc('0xdd')](_0x4c6006,_0x4bff98,_0x1e928d,this['_model'][_0x4acc('0xd3')](_0x43799e,_0x59c9db));}[_0x4acc('0x16d')](_0x5dedb6,_0x65e20e=null){const _0x3d8985=[],_0x11a86f=this[_0x4acc('0x7d')][_0x4acc('0x15')][_0x4acc('0x8f')](_0x4acc('0x98'))['me'];Array[_0x4acc('0x177')](_0x5dedb6)||(_0x5dedb6=[_0x5dedb6]);for(const _0x3dbbde of this[_0x4acc('0xc9')]()){if(!_0x3dbbde[_0x4acc('0x14')])continue;if(_0x65e20e&&_0x3dbbde['type']!=_0x65e20e)continue;let _0x5728bf=!0x1;for(const _0x4bc50a of _0x3dbbde[_0x4acc('0xc7')]()){for(const _0x80b7a of _0x5dedb6){const _0x4230bb=_0x80b7a[_0x4acc('0xc')][_0x4acc('0x39')](_0x4bc50a[_0x4acc('0x1d')])||_0x80b7a[_0x4acc('0x1d')][_0x4acc('0x39')](_0x4bc50a['start']);if(_0x4230bb||_0x80b7a['getIntersection'](_0x4bc50a)){const _0x32c2cd=_0x80b7a['containsRange'](_0x4bc50a)&&Tt(this[_0x4acc('0x166')][_0x4acc('0xc4')],_0x4bc50a['start'],_0x80b7a),_0x1c8f7d=_0x4bc50a[_0x4acc('0x73')](_0x80b7a)&&Tt(this['_model']['schema'],_0x80b7a[_0x4acc('0xc')],_0x4bc50a);_0x3d8985[_0x4acc('0x67')]({'suggestion':_0x3dbbde,'meta':{'isOwn':_0x11a86f==_0x3dbbde[_0x4acc('0x17f')],'isNextTo':_0x4230bb,'isInsideObject':_0x32c2cd,'containsRangeInObject':_0x1c8f7d}}),_0x5728bf=!0x0;break;}}if(_0x5728bf)break;}}return _0x3d8985;}[_0x4acc('0xdd')](_0x52f9e2,_0x485195,_0x56f7e9,_0x54a514,_0x21da0f){this[_0x4acc('0x166')][_0x4acc('0x13a')](_0x2f51c0=>{let _0x2fe5d1=_0x4acc('0x133')+_0x52f9e2+':'+_0x485195+':'+_0x56f7e9;_0x21da0f&&(_0x2fe5d1=_0x2fe5d1+':'+_0x21da0f),_0x2f51c0[_0x4acc('0x95')](_0x2fe5d1,{'range':_0x54a514,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4acc('0xfa')](_0x20432e){const _0x511520=_0x20432e['previous'],_0x2f1fe1=_0x20432e[_0x4acc('0x64')];_0x20432e[_0x4acc('0xd5')]=null,_0x20432e[_0x4acc('0x64')]=null,null!=_0x511520&&(_0x511520['next']=_0x2f1fe1),null!=_0x2f1fe1&&(_0x2f1fe1[_0x4acc('0xd5')]=_0x511520),_0x4acc('0x115')==this[_0x4acc('0xb3')][_0x4acc('0x8f')](_0x20432e)&&(this[_0x4acc('0xb3')][_0x4acc('0xf4')](_0x20432e,'removed'),this[_0x4acc('0xb0')](_0x4acc('0x12e'),_0x20432e,_0x511520,_0x2f1fe1));}[_0x4acc('0x88')](_0x410ac1){const _0x350fe6=_0x410ac1['id'],_0x37ba1c=this[_0x4acc('0x15e')](_0x410ac1);if(this[_0x4acc('0x2d')]&&this[_0x4acc('0x2d')][_0x4acc('0x1a')]){const _0x502226=this[_0x4acc('0x7d')]['plugins'][_0x4acc('0x8f')](_0x4acc('0x75')),_0x3added=_0x37ba1c[_0x4acc('0x89')],_0x36322b=_0x37ba1c[_0x4acc('0x96')]?_0x37ba1c[_0x4acc('0x8')]+':'+_0x37ba1c[_0x4acc('0x96')]:_0x37ba1c['type'],_0x1b7abe=this[_0x4acc('0x7d')][_0x4acc('0xb6')],_0x4af238=_0x502226[_0x4acc('0x19')](_0x360791(_0x1b7abe,_0x4acc('0x16b'))),_0x4db41f={'id':_0x350fe6,'type':_0x36322b,'hasComments':_0x3added,'data':_0x410ac1[_0x4acc('0x50')]||null,'originalSuggestionId':_0x410ac1[_0x4acc('0xe6')]||null,'attributes':_0x37ba1c[_0x4acc('0x26')]};this[_0x4acc('0x2d')][_0x4acc('0x1a')](_0x4db41f)[_0x4acc('0x90')](_0x148a72=>{_0x37ba1c[_0x4acc('0xf9')]=!0x0,_0x502226[_0x4acc('0x31')](_0x4af238),_0x148a72&&_0x148a72[_0x4acc('0xd6')]&&(this[_0x4acc('0x16e')][_0x4acc('0x8f')](_0x350fe6)[_0x4acc('0xd6')]=_0x148a72[_0x4acc('0xd6')]);})[_0x4acc('0x176')](_0x502b8b=>{throw _0x40c275(_0x4acc('0x10')),this['editor'][_0x4acc('0x12')][_0x4acc('0x124')]({'isUndoable':!0x1},()=>{_0x37ba1c['discard']();}),_0x37ba1c[_0x4acc('0xcb')](),this[_0x4acc('0x16e')]['delete'](_0x37ba1c['id']),this[_0x4acc('0xb3')][_0x4acc('0x27')](_0x37ba1c),_0x502b8b;});}return _0x37ba1c;}[_0x4acc('0x14b')](_0x46bf5c){return this['_blockAttributeKeys'][_0x4acc('0x105')](_0x46bf5c);}[_0x4acc('0x162')](_0xf0e11b,_0x1cd740){const _0x464dc3=this[_0x4acc('0x7d')]['plugins'][_0x4acc('0x8f')](_0x4acc('0x75')),_0x5dd9a0=this['getSuggestion'](_0xf0e11b);if(this['_adapter']&&this['_adapter'][_0x4acc('0x10b')]){if(_0x5dd9a0[_0x4acc('0xf9')]){const _0x4ff1bd=_0x464dc3['add'](_0x360791(this[_0x4acc('0x7d')][_0x4acc('0xb6')],_0x4acc('0x16b')));this['_adapter'][_0x4acc('0x10b')](_0xf0e11b,_0x1cd740)[_0x4acc('0x90')](()=>{_0x464dc3[_0x4acc('0x31')](_0x4ff1bd);});}else _0x5dd9a0['on'](_0x4acc('0x108'),()=>{this[_0x4acc('0x162')](_0xf0e11b,_0x1cd740);});}}[_0x4acc('0x46')](_0x808437){if(!this[_0x4acc('0x2d')]||!this[_0x4acc('0x2d')][_0x4acc('0xaa')])throw new _0x3a71ef(_0x4acc('0x112'),this);return this[_0x4acc('0x2d')][_0x4acc('0xaa')](_0x808437);}[_0x4acc('0x3')](_0x28a4a1){const {id:_0x3330c7,type:_0x3758c5,subType:_0x252aaf,authorId:_0x326e50}=this['_splitMarkerName'](_0x28a4a1),_0x77c6b6=this[_0x4acc('0x16e')]['get'](_0x3330c7)||this[_0x4acc('0xf3')](_0x3758c5,_0x252aaf,_0x3330c7,_0x326e50,{});switch(this[_0x4acc('0x11b')](_0x77c6b6,_0x3758c5,_0x252aaf,_0x326e50),this[_0x4acc('0xb3')][_0x4acc('0x8f')](_0x77c6b6)){case _0x4acc('0x51'):this[_0x4acc('0x46')](_0x3330c7)[_0x4acc('0x90')](_0x31634c=>{let _0x35973a=Promise[_0x4acc('0xa1')]();_0x31634c[_0x4acc('0x89')]&&(_0x35973a=this[_0x4acc('0x7b')][_0x4acc('0x72')]({'channelId':this[_0x4acc('0x7d')]['config']['get'](_0x4acc('0x11c')),'threadId':_0x3330c7})),_0x35973a[_0x4acc('0x90')](()=>{this[_0x4acc('0x15e')](_0x31634c)[_0x4acc('0xf9')]=!0x0;});}),this[_0x4acc('0xb3')][_0x4acc('0xf4')](_0x77c6b6,'markerReady');break;case'removed':this[_0x4acc('0x162')](_0x3330c7,{'state':_0x4acc('0xd9')});case'dataReady':this[_0x4acc('0xb3')]['set'](_0x77c6b6,_0x4acc('0x115')),this[_0x4acc('0xb0')](_0x4acc('0x159'),_0x77c6b6);break;case _0x4acc('0x115'):this[_0x4acc('0xb0')](_0x4acc('0xc2'),_0x77c6b6);}return _0x77c6b6[_0x4acc('0x136')](_0x28a4a1),_0x77c6b6;}['_refreshSuggestionsChain'](_0x1ce5d3){const _0x381ede=Array[_0x4acc('0x121')](_0x1ce5d3),_0x4e30af=_0x381ede['filter'](_0x4d3413=>_0x4acc('0xb7')==_0x4d3413[_0x4acc('0x8')]);this['_refreshAttributeSuggestionsChain'](_0x4e30af);const _0x3212fa=_0x381ede[_0x4acc('0xad')](_0x50ad51=>!_0x50ad51[_0x4acc('0xb8')]&&_0x4acc('0xb7')!=_0x50ad51[_0x4acc('0x8')]),_0x10bc0a=this[_0x4acc('0xc9')]({'skipNotAttached':!0x0})['filter'](_0x1cee03=>!_0x1cee03[_0x4acc('0xb8')]&&_0x4acc('0xb7')!=_0x1cee03[_0x4acc('0x8')]),_0x2cebbc=_0x10bc0a[_0x4acc('0xad')](_0x46bbf5=>!_0x1ce5d3[_0x4acc('0x105')](_0x46bbf5)),_0x2a8e8d=new Map(_0x10bc0a[_0x4acc('0x143')](_0x25269e=>[_0x25269e,this[_0x4acc('0x15f')]['getSuggestionCallback'](_0x25269e[_0x4acc('0x8')],_0x25269e['subType'],_0x4acc('0x104'))])),_0x417780=new Map(_0x10bc0a[_0x4acc('0x143')](_0x328eb8=>[_0x328eb8,_0x328eb8[_0x4acc('0xa2')]()])),_0x45fcfb=new Set(),_0x5ce3ae=new Set();for(let _0x5e050f=0x0;_0x5e050f<_0x3212fa['length'];_0x5e050f++)_0x55f19e(_0x3212fa[_0x5e050f],_0x3212fa,_0x5e050f+0x1);for(let _0x4eecbd=0x0;_0x4eecbd<_0x3212fa[_0x4acc('0x3b')];_0x4eecbd++)_0x55f19e(_0x3212fa[_0x4eecbd],_0x2cebbc,0x0);const _0x2d2f86=new Set();for(let _0x17cce4=0x0;_0x17cce4<_0x3212fa[_0x4acc('0x3b')];_0x17cce4++){const _0x5f0a03=_0x3212fa[_0x17cce4];!_0x5ce3ae[_0x4acc('0x105')](_0x5f0a03)&&_0x5f0a03['previous']&&(_0x2d2f86[_0x4acc('0x19')](_0x5f0a03['previous']),_0x5f0a03[_0x4acc('0xd5')][_0x4acc('0x64')]===_0x5f0a03&&(_0x5f0a03[_0x4acc('0xd5')][_0x4acc('0x64')]=null),_0x5f0a03[_0x4acc('0xd5')]=null),!_0x45fcfb[_0x4acc('0x105')](_0x5f0a03)&&_0x5f0a03['next']&&(_0x2d2f86[_0x4acc('0x19')](_0x5f0a03['next']),_0x5f0a03[_0x4acc('0x64')][_0x4acc('0xd5')]===_0x5f0a03&&(_0x5f0a03[_0x4acc('0x64')][_0x4acc('0xd5')]=null),_0x5f0a03[_0x4acc('0x64')]=null);}function _0x55f19e(_0x4cb3c1,_0x2b640e,_0x4d0165){for(let _0x2be654=_0x4d0165;_0x2be654<_0x2b640e[_0x4acc('0x3b')];_0x2be654++){const _0x2f8a6b=_0x1a1b6(_0x4cb3c1,_0x2b640e[_0x2be654]);_0x2f8a6b&&(_0x2f8a6b[0x0][_0x4acc('0x64')]=_0x2f8a6b[0x1],_0x2f8a6b[0x1][_0x4acc('0xd5')]=_0x2f8a6b[0x0],_0x45fcfb['add'](_0x2f8a6b[0x0]),_0x5ce3ae['add'](_0x2f8a6b[0x1]));}}function _0x1a1b6(_0x3ba953,_0x5e2a23){if(_0x3ba953[_0x4acc('0x17f')]['id']!==_0x5e2a23['author']['id'])return null;const _0x5ca682=_0x2a8e8d[_0x4acc('0x8f')](_0x3ba953)(_0x3ba953,_0x5e2a23,_0x417780[_0x4acc('0x8f')](_0x3ba953),_0x417780[_0x4acc('0x8f')](_0x5e2a23));if(!_0x5ca682)return null;return _0x2a8e8d[_0x4acc('0x8f')](_0x5e2a23)(_0x3ba953,_0x5e2a23,_0x417780[_0x4acc('0x8f')](_0x3ba953),_0x417780['get'](_0x5e2a23))?_0x5ca682[0x1][_0x4acc('0x137')]&&_0x5ca682[0x1][_0x4acc('0x137')][_0x4acc('0x3b')]?null:_0x5ca682:null;}_0x2d2f86[_0x4acc('0x16f')]&&this[_0x4acc('0x13f')](_0x2d2f86);}[_0x4acc('0x8d')](_0x539d01){if(0x0==_0x539d01[_0x4acc('0x3b')])return;const _0x44a316=this[_0x4acc('0xc9')]({'skipNotAttached':!0x0})['filter'](_0xb1bbd6=>_0x4acc('0xb7')==_0xb1bbd6['type']&&_0xb1bbd6[_0x4acc('0x25')]),_0x143d5c=[],_0x1cbb1e=new Map();for(const _0x469f3c of _0x44a316){const _0x378549=_0x466d17(_0x469f3c[_0x4acc('0x26')]);_0x1cbb1e[_0x4acc('0x105')](_0x378549)||(_0x1cbb1e[_0x4acc('0xf4')](_0x378549,_0x143d5c['length']),_0x143d5c[_0x4acc('0x67')]([]));const _0x2123b7=_0x1cbb1e[_0x4acc('0x8f')](_0x378549);_0x143d5c[_0x2123b7]['push'](_0x469f3c);}!function(){_0x143d5c[_0x4acc('0xda')]((_0x105726,_0x3ec273)=>{const _0x309b6f=_0x105726[0x0][_0x4acc('0xd6')],_0x415ce7=_0x3ec273[0x0]['createdAt'];return _0x309b6f==_0x415ce7?_0x105726[0x0][_0x4acc('0x26')]['groupId']<_0x3ec273[0x0][_0x4acc('0x26')][_0x4acc('0x32')]?-0x1:0x1:_0x309b6f<_0x415ce7?-0x1:0x1;});for(const _0x227320 of _0x143d5c)_0x227320['sort']((_0x33e40a,_0x3ed9c4)=>_0x33e40a['id']<_0x3ed9c4['id']?-0x1:0x1);}();for(let _0x2e876e=0x0;_0x2e876e<_0x143d5c[_0x4acc('0x3b')];_0x2e876e++){if(0x0==_0x143d5c[_0x2e876e][_0x4acc('0x3b')])continue;const _0x110991=[];for(let _0x48e467=_0x2e876e+0x1;_0x48e467<_0x143d5c[_0x4acc('0x3b')];_0x48e467++)0x0!=_0x143d5c[_0x48e467][_0x4acc('0x3b')]&&_0xe8acb5(_0x143d5c[_0x2e876e],_0x143d5c[_0x48e467])&&_0x110991[_0x4acc('0x67')](_0x48e467);for(const _0x29fa14 of _0x110991)_0x143d5c[_0x2e876e]=_0x143d5c[_0x2e876e][_0x4acc('0x4f')](_0x143d5c[_0x29fa14]),_0x143d5c[_0x29fa14]=[];}for(const _0x371dd8 of _0x143d5c)for(let _0x54eaa5=0x0;_0x54eaa5<_0x371dd8[_0x4acc('0x3b')];_0x54eaa5++)_0x371dd8[_0x54eaa5][_0x4acc('0x64')]=_0x371dd8[_0x54eaa5+0x1]||null;for(const _0x541646 of _0x143d5c)for(let _0x3b84e0=0x0;_0x3b84e0<_0x541646[_0x4acc('0x3b')];_0x3b84e0++)_0x541646[_0x3b84e0][_0x4acc('0xd5')]=_0x541646[_0x3b84e0-0x1]||null;function _0xe8acb5(_0x3d1a92,_0x32cd34){if(_0x3d1a92[0x0][_0x4acc('0x17f')]!==_0x32cd34[0x0]['author'])return!0x1;if(!function(_0x7d148d,_0x280324){if(!_0x7d148d[_0x4acc('0x89')]&&!_0x280324[_0x4acc('0x89')])return!0x0;if(_0x7d148d['hasComments']&&_0x280324[_0x4acc('0x89')])return!0x1;if(_0x7d148d[_0x4acc('0x89')]&&_0x280324[_0x4acc('0xd6')]<_0x7d148d[_0x4acc('0x137')][_0x4acc('0x33')][_0x4acc('0x8f')](0x0)[_0x4acc('0xd6')])return!0x0;if(_0x280324[_0x4acc('0x89')]&&_0x7d148d[_0x4acc('0xd6')]<_0x280324[_0x4acc('0x137')][_0x4acc('0x33')]['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x3d1a92[0x0],_0x32cd34[0x0]))return!0x1;const _0x25477d=_0x4eb354(_0x3d1a92[0x0][_0x4acc('0x26')],_0x4acc('0x32')),_0x2ec486=_0x4eb354(_0x32cd34[0x0]['attributes'],_0x4acc('0x32'));if(!_0x283ea3(_0x25477d,_0x2ec486))return!0x1;return!!_0x3d1a92[_0x4acc('0x170')](_0x3193b9=>_0x32cd34[_0x4acc('0x134')](_0x23496f=>_0x3193b9[_0x4acc('0xa2')]()[_0x4acc('0x39')](_0x23496f['getFirstRange']())))&&_0x32cd34['every'](_0x1018ea=>_0x3d1a92[_0x4acc('0x134')](_0x216a10=>_0x1018ea[_0x4acc('0xa2')]()[_0x4acc('0x39')](_0x216a10['getFirstRange']())));}}[_0x4acc('0x17a')](_0x599743){const _0x46fefd=Array[_0x4acc('0x121')](_0x599743),_0x456c7d=this[_0x4acc('0xc9')]({'skipNotAttached':!0x0}),_0x4af9cf=_0x456c7d[_0x4acc('0xad')](_0x4c1cd6=>!_0x599743[_0x4acc('0x105')](_0x4c1cd6)),_0x20febf=new Map(_0x46fefd[_0x4acc('0x143')](_0x159b71=>[_0x159b71,this[_0x4acc('0x15f')][_0x4acc('0x4d')](_0x159b71[_0x4acc('0x8')],_0x159b71[_0x4acc('0x96')],'join')])),_0x4b0f15=new Map(_0x456c7d[_0x4acc('0x143')](_0x5ba8d7=>[_0x5ba8d7,_0x5ba8d7['getRanges']()]));for(let _0x33e7bd=0x0;_0x33e7bd<_0x46fefd[_0x4acc('0x3b')];_0x33e7bd++){if(_0x271862(this,_0x46fefd[_0x33e7bd],_0x46fefd,_0x33e7bd+0x1))return!0x0;}for(let _0x8bcaf1=0x0;_0x8bcaf1<_0x46fefd[_0x4acc('0x3b')];_0x8bcaf1++){if(_0x271862(this,_0x46fefd[_0x8bcaf1],_0x4af9cf,0x0))return!0x0;}return!0x1;function _0x271862(_0x554e42,_0xcbf5d,_0x5ee124,_0x416083){for(let _0x40e59f=_0x416083;_0x40e59f<_0x5ee124['length'];_0x40e59f++){const _0x184b28=_0x5ee124[_0x40e59f];if(_0x184b28[_0x4acc('0x8')]!==_0xcbf5d[_0x4acc('0x8')]||_0x184b28[_0x4acc('0x17f')]['id']!==_0xcbf5d['author']['id']||_0x184b28['subType']!==_0xcbf5d[_0x4acc('0x96')])continue;if(!Vt(_0xcbf5d,_0x184b28))continue;if(_0x4acc('0xb7')==_0xcbf5d['type']&&_0xcbf5d['data'][_0x4acc('0x109')]!=_0x184b28['data'][_0x4acc('0x109')])continue;if(_0x4acc('0xb7')==_0xcbf5d[_0x4acc('0x8')]&&_0x554e42[_0x4acc('0x14b')](_0xcbf5d[_0x4acc('0x50')][_0x4acc('0xd4')]))continue;if('formatBlock'==_0xcbf5d[_0x4acc('0x8')]){const _0xf7a121=_0x554e42[_0x4acc('0x7d')]['model'],_0x4a436b=_0xcbf5d[_0x4acc('0x29')]();if(_0x4a436b&&(_0xf7a121[_0x4acc('0xc4')][_0x4acc('0x81')](_0x4a436b)||_0xf7a121[_0x4acc('0xc4')][_0x4acc('0x6e')](_0x4a436b)))continue;}const _0x21e1e1=_0x20febf[_0x4acc('0x8f')](_0xcbf5d),_0x295e40=_0x4b0f15['get'](_0xcbf5d),_0x2cb6ae=_0x4b0f15['get'](_0x184b28),_0xe2e73b=_0xcbf5d[_0x4acc('0x137')]&&_0xcbf5d[_0x4acc('0x137')]['length'],_0x2f2d3f=_0x184b28[_0x4acc('0x137')]&&_0x184b28[_0x4acc('0x137')][_0x4acc('0x3b')];if(!_0xe2e73b&&_0x21e1e1(_0x2cb6ae,_0x295e40))return _0x554e42[_0x4acc('0x2b')](_0x184b28,_0xcbf5d),_0x4b0f15[_0x4acc('0x27')](_0xcbf5d),!0x0;if(!_0x2f2d3f&&_0x21e1e1(_0x295e40,_0x2cb6ae))return _0x554e42[_0x4acc('0x2b')](_0xcbf5d,_0x184b28),_0x4b0f15['delete'](_0x184b28),!0x0;}return!0x1;}}['_joinSuggestions'](_0x48d455,_0x58a235){if(_0x48d455[_0x4acc('0xb8')])for(const _0x2ff904 of _0x58a235[_0x4acc('0xc7')]())_0x48d455[_0x4acc('0x12b')](_0x2ff904);else{const _0x2afc2d=_0x58a235['getFirstRange']()['end'];this[_0x4acc('0x165')](_0x48d455,this['_model'][_0x4acc('0xd3')](_0x48d455[_0x4acc('0xa2')]()[_0x4acc('0xc')],_0x2afc2d));}_0x58a235[_0x4acc('0x70')]();}[_0x4acc('0xbf')](_0x400f3e,_0x2b9321){const _0x4b03a4=_0x400f3e[_0x4acc('0x9b')](_0x4acc('0x69'))||_0x400f3e[_0x4acc('0x9b')]('attribute')?'FORMATTING':_0x400f3e[_0x4acc('0x149')]();return _0x360791(this[_0x4acc('0x7d')][_0x4acc('0xb6')],_0x2b9321+'_'+_0x4b03a4+_0x4acc('0xae'));}[_0x4acc('0x157')](){const _0x3a7244=this[_0x4acc('0x7d')];_0x18ed89(this['_model'],({left:_0x158508,entered:_0x2fff4d})=>{const _0x3aeca7=[];for(const _0x34b830 of _0x158508){const {group:_0x1f1b7e,type:_0x42931c}=this[_0x4acc('0x153')](_0x34b830[_0x4acc('0x3d')]);if(_0x4acc('0x44')===_0x1f1b7e){_0x3aeca7[_0x4acc('0x67')](this[_0x4acc('0xbf')](_0x42931c,_0x4acc('0x106')));break;}}for(const _0x5f1696 of _0x2fff4d){const {group:_0x416bf9,type:_0x32f9bd}=this['_splitMarkerName'](_0x5f1696[_0x4acc('0x3d')]);if(_0x4acc('0x44')===_0x416bf9){_0x3aeca7['push'](this[_0x4acc('0xbf')](_0x32f9bd,_0x4acc('0x152')));break;}}_0x3aeca7[_0x4acc('0x3b')]&&_0x3a7244['ui'][_0x4acc('0x7c')]['announce'](_0x4acc('0x84'),_0x3aeca7['join']('\x20'));});}[_0x4acc('0x9f')](_0x5a4b11){if(null!==this[_0x4acc('0x15c')])return!0x1;const _0xa8f4a0=this[_0x4acc('0x7d')],_0x5e61b4=_0xa8f4a0[_0x4acc('0x12')][_0x4acc('0xf1')]['differ'][_0x4acc('0xe2')]();if(0x0==_0x5e61b4['length'])return!0x1;const _0x163134=[],_0x2102e8=_0x5e61b4['filter'](_0x53de5c=>'attribute'==_0x53de5c[_0x4acc('0x8')]),_0x1dfa68=_0x5e61b4[_0x4acc('0xad')](_0x315ed9=>'insert'==_0x315ed9['type']&&_0x4acc('0x127')!=_0x315ed9[_0x4acc('0x3d')]),_0x23d2bc=_0x5e61b4['filter'](_0x520943=>_0x4acc('0x31')==_0x520943[_0x4acc('0x8')]&&_0x4acc('0x127')!=_0x520943[_0x4acc('0x3d')]);for(const _0x38d5d1 of _0x2102e8)_0x163134['push']({'key':_0x38d5d1[_0x4acc('0x12a')],'newValue':_0x38d5d1[_0x4acc('0x171')],'oldValue':_0x38d5d1[_0x4acc('0x11f')],'range':_0x5f556f(_0x38d5d1[_0x4acc('0x103')])});for(const _0xf32c1e of _0x1dfa68){const _0x1bd63f=_0x23d2bc[_0x4acc('0xcd')](_0x4698d5=>_0x4698d5[_0x4acc('0xf0')][_0x4acc('0x39')](_0xf32c1e[_0x4acc('0xf0')]));_0x1bd63f&&_0x163134[_0x4acc('0x67')]({'key':_0x4acc('0xbe'),'newValue':_0xf32c1e[_0x4acc('0x3d')],'oldValue':_0x1bd63f[_0x4acc('0x3d')],'range':_0xa8f4a0[_0x4acc('0x12')]['createRangeOn'](_0xf32c1e[_0x4acc('0xf0')][_0x4acc('0xe9')])});}return 0x0!=_0x163134[_0x4acc('0x3b')]&&this[_0x4acc('0xee')](_0x5a4b11,_0x163134);function _0x5f556f(_0x3850bc){return null==_0x3850bc['end'][_0x4acc('0x148')]&&_0x3850bc[_0x4acc('0x1d')][_0x4acc('0x12d')]==_0x3850bc['start']['nodeAfter']?Ut(_0x3850bc['start'][_0x4acc('0xe9')],_0xa8f4a0[_0x4acc('0x12')]):_0x3850bc;}}['_processAttributeSuggestions'](_0x36418f){let _0x44d7b2=!0x1;const _0x44d4ce=this['editor']['model'][_0x4acc('0xf1')]['differ']['getChangedMarkers']()[_0x4acc('0xad')](_0x3a65c8=>_0x3a65c8[_0x4acc('0x50')]['newRange']&&_0x3a65c8['name'][_0x4acc('0x9b')](_0x4acc('0x1f')));for(const _0x2f86aa of _0x44d4ce){const {subType:_0x3d91cf,id:_0x2ad8fb}=this[_0x4acc('0x153')](_0x2f86aa[_0x4acc('0x3d')]),_0x4f26a4=_0x3d91cf[_0x4acc('0x17d')]('|')[0x0];for(const _0x2d97ab of this[_0x4acc('0xc9')]({'skipNotAttached':!0x0}))_0x2d97ab['id']!=_0x2ad8fb&&_0x4acc('0xb7')==_0x2d97ab[_0x4acc('0x8')]&&_0x2d97ab[_0x4acc('0x50')]&&_0x2d97ab[_0x4acc('0x50')]['key']==_0x4f26a4&&_0x2d97ab[_0x4acc('0xa2')]()[_0x4acc('0xcf')](_0x2f86aa[_0x4acc('0x50')][_0x4acc('0x5')])&&(this['_reduceSuggestionAttributeRange'](_0x2d97ab,_0x2f86aa[_0x4acc('0x50')][_0x4acc('0x5')],_0x36418f),_0x44d7b2=!0x0);}return _0x44d7b2;}['_recordAttributeChanges'](_0x45a151){if(null!==this[_0x4acc('0x15c')])return void _0x45a151();const _0x5b2259=this[_0x4acc('0x7d')];this[_0x4acc('0x15c')]=_0x5b2259[_0x4acc('0x12')][_0x4acc('0xf1')][_0x4acc('0x38')],_0x45a151();const _0x54b1cd=new Map();for(const _0x317878 of _0x5b2259[_0x4acc('0x12')][_0x4acc('0xf1')][_0x4acc('0xbb')][_0x4acc('0xa6')](this[_0x4acc('0x15c')]))if([_0x4acc('0x37'),_0x4acc('0x167'),_0x4acc('0x11d'),_0x4acc('0xa3')][_0x4acc('0x41')](_0x317878[_0x4acc('0x8')])){const _0x54199c=_0x317878[_0x4acc('0x83')],_0x53eb01=_0x54b1cd[_0x4acc('0x8f')](_0x54199c)||[];_0x53eb01[_0x4acc('0x67')](_0x317878),_0x54b1cd[_0x4acc('0xf4')](_0x54199c,_0x53eb01);}this[_0x4acc('0x15c')]=null;for(const [_0x37fc3d,_0x4d18eb]of _0x54b1cd){const _0x4d1fcc=_0x408bcc();_0x5b2259['model']['enqueueChange'](_0x37fc3d,_0x320d0e=>{const _0x35843b=[];for(const _0x16e142 of _0x4d18eb){let _0x30afa5,_0x27f737,_0x49b4ac,_0x2ffc2c;if('rename'==_0x16e142['type']){const _0x17ca61=_0x16e142;_0x30afa5=Ut(_0x17ca61[_0x4acc('0xf0')]['nodeAfter'],_0x5b2259[_0x4acc('0x12')]),_0x27f737=_0x4acc('0xbe'),_0x49b4ac=_0x17ca61[_0x4acc('0x10c')],_0x2ffc2c=_0x17ca61[_0x4acc('0x97')];}else{const _0xe5f000=_0x16e142,_0x45552f=this[_0x4acc('0x14b')](_0xe5f000[_0x4acc('0xd4')]),_0x3f3039=this[_0x4acc('0x42')][_0x4acc('0x105')](_0xe5f000['key']);if(!_0x45552f&&!_0x3f3039)continue;_0x30afa5=_0x45552f?Ut(_0xe5f000[_0x4acc('0x103')][_0x4acc('0xc')][_0x4acc('0xe9')],_0x5b2259[_0x4acc('0x12')]):_0xe5f000[_0x4acc('0x103')],_0x27f737=_0xe5f000['key'],_0x49b4ac='removeAttribute'==_0x16e142[_0x4acc('0x8')]?void 0x0:_0xe5f000[_0x4acc('0xd')],_0x2ffc2c=_0xe5f000[_0x4acc('0x109')];}this[_0x4acc('0x15d')](_0x30afa5,_0x27f737,_0x2ffc2c,_0x49b4ac,{'groupId':_0x4d1fcc}),_0x35843b[_0x4acc('0x67')]({'range':_0x30afa5,'key':_0x27f737,'newValue':_0x49b4ac,'oldValue':_0x2ffc2c});}this[_0x4acc('0xee')](_0x320d0e,_0x35843b);});}}[_0x4acc('0xee')](_0x3cc032,_0x14bf87){if(0x0==_0x14bf87[_0x4acc('0x3b')])return!0x1;let _0x2f3bcd=!0x1;for(const _0x5ce194 of _0x14bf87){const _0x6cb0f1=this[_0x4acc('0x16d')](_0x5ce194[_0x4acc('0x103')],_0x4acc('0xb7'))[_0x4acc('0xad')](_0x3ed4a4=>!_0x3ed4a4['meta'][_0x4acc('0x15b')])[_0x4acc('0x143')](_0x5689d9=>_0x5689d9[_0x4acc('0x44')]),_0x486555=_0x466d17({'newValue':_0x5ce194['newValue']});_0x6cb0f1['filter'](_0x424ca2=>{const [_0x3e4528,_0x381283]=_0x424ca2['subType']['split']('|');return _0x3e4528==_0x5ce194[_0x4acc('0xd4')]&&_0x381283!=_0x486555;})['forEach'](_0x1bb19e=>{this['_reduceSuggestionAttributeRange'](_0x1bb19e,_0x5ce194[_0x4acc('0x103')],_0x3cc032),_0x2f3bcd=!0x0;});}return _0x2f3bcd;}[_0x4acc('0x146')](_0x225977,_0x3e0739,_0x224d28){const _0x2ec4df=_0x225977[_0x4acc('0xa2')]()[_0x4acc('0x154')](_0x3e0739);0x0!==_0x2ec4df[_0x4acc('0x3b')]?0x1!==_0x2ec4df['length']?this[_0x4acc('0x126')](_0x225977,_0x3e0739['start'],_0x3e0739['end']):this[_0x4acc('0x165')](_0x225977,_0x2ec4df[0x0]):_0x224d28['removeMarker'](_0x225977[_0x4acc('0xe1')]());}}class Bt{constructor(_0x3d9839){this[_0x4acc('0x91')]=_0x3d9839,this[_0x4acc('0x166')]=_0x3d9839[_0x4acc('0x12')],this['_customCallbacks']=new Map(),this[_0x4acc('0x58')]=new Map(),this['_registerDefaultCallbacks']();}[_0x4acc('0x52')](_0xd3c7d9,_0x183400,_0x4a3407,_0x1d82fb,_0x471384,_0x1723ed){return new _0x504755(this['_model'],{'type':_0xd3c7d9,'subType':_0x183400,'id':_0x4a3407,'author':_0x1d82fb,'creator':_0x1d82fb,'attributes':_0x471384,'onAttributesChange':_0x1723ed,'onAccept':(..._0x3ba9e0)=>this[_0x4acc('0x4d')](_0xd3c7d9,_0x183400,'accept')(..._0x3ba9e0),'onDiscard':(..._0x1c2e70)=>this['getSuggestionCallback'](_0xd3c7d9,_0x183400,_0x4acc('0x11'))(..._0x1c2e70)});}[_0x4acc('0x174')](_0x18794e,_0x131a42,_0x52a036,_0x15631b){const _0x356755=_0x18794e+':'+_0x131a42+':'+_0x52a036;this[_0x4acc('0x60')][_0x4acc('0xf4')](_0x356755,_0x15631b);}['getSuggestionCallback'](_0x59338c,_0x474dd9,_0x8a6a16){const _0x8e06c5=_0x59338c+':'+_0x474dd9+':'+_0x8a6a16;return this['_customCallbacks'][_0x4acc('0x8f')](_0x8e06c5)||this['_defaultCallbacks'][_0x4acc('0x8f')](_0x59338c+':'+_0x8a6a16);}[_0x4acc('0x36')](){const _0x393b52=()=>!0x1,_0x1143cb=_0x24bda9=>{_0x24bda9[_0x4acc('0xda')]((_0x266705,_0x288645)=>_0x266705[_0x4acc('0xc')][_0x4acc('0x6d')](_0x288645['start'])?0x1:-0x1),this['_model'][_0x4acc('0x13a')](_0x3cd309=>{for(const _0xf06a6c of _0x24bda9){let _0x3b9595;_0x3b9595=_0xf06a6c[_0x4acc('0x1d')][_0x4acc('0x2a')]&&_0xf06a6c[_0x4acc('0x1d')]['parent']==_0xf06a6c[_0x4acc('0xc')]['nodeAfter']?_0x3cd309[_0x4acc('0xe')](_0xf06a6c[_0x4acc('0xc')][_0x4acc('0xe9')],'on'):_0x3cd309[_0x4acc('0xe')](_0xf06a6c),this[_0x4acc('0x166')]['deleteContent'](_0x3b9595,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x18253d=(_0x274701,_0xf054ce)=>{_0xf054ce&&this[_0x4acc('0x166')][_0x4acc('0x13a')](_0x844916=>{const {commandName:_0x27cd59,commandParams:_0x3cc315=[]}=_0xf054ce,_0x4abb69=_0x274701[_0x4acc('0x143')](_0xfe2811=>(xt(_0xfe2811)&&(_0xfe2811=this[_0x4acc('0x166')][_0x4acc('0xd3')](_0xfe2811[_0x4acc('0x1d')])),_0xfe2811))[_0x4acc('0xad')](_0x2cddcf=>_0x4acc('0x85')!==_0x2cddcf['root'][_0x4acc('0x78')]);if(_0x4abb69[_0x4acc('0x3b')]<0x1)return;const _0x400be3=Array[_0x4acc('0x121')](this['_model'][_0x4acc('0xf1')][_0x4acc('0xd1')][_0x4acc('0xc7')]())[_0x4acc('0x143')](_0x529b71=>_0x218230['fromRange'](_0x529b71));_0x844916[_0x4acc('0x57')](_0x4abb69);for(const _0x5bd9cc of this['_editor'][_0x4acc('0xe5')][_0x4acc('0xe5')]())_0x5bd9cc['refresh']();_0x3cc315[_0x4acc('0x67')]({'forceDefaultExecution':!0x0}),this['_editor'][_0x4acc('0x5b')](_0x27cd59,..._0x3cc315);const _0x4bc9e2=_0x400be3[_0x4acc('0xad')](_0x11419d=>_0x4acc('0x85')!=_0x11419d[_0x4acc('0x59')]['rootName']);_0x4bc9e2['length']>0x0&&_0x844916[_0x4acc('0x57')](_0x4bc9e2);for(const _0x2dc88b of _0x400be3)_0x2dc88b[_0x4acc('0x10d')]();});},_0x3e4e03=(_0x252350,_0x4b5b9a)=>0x1==_0x252350[_0x4acc('0x3b')]&&0x1==_0x4b5b9a['length']&&_0x252350[0x0]['end'][_0x4acc('0x39')](_0x4b5b9a[0x0]['start']),_0x163547=(_0x2b5e5f,_0x537289,_0x1dc15f,_0x1a83d8)=>Ot(_0x2b5e5f,_0x537289,_0x1dc15f,_0x1a83d8,this['_model'])?[_0x2b5e5f,_0x537289]:Ot(_0x537289,_0x2b5e5f,_0x1a83d8,_0x1dc15f,this[_0x4acc('0x166')])?[_0x537289,_0x2b5e5f]:null;this[_0x4acc('0x58')]['set'](_0x4acc('0x158'),_0x393b52),this['_defaultCallbacks'][_0x4acc('0xf4')]('insertion:discard',_0x1143cb),this[_0x4acc('0x58')][_0x4acc('0xf4')](_0x4acc('0xba'),_0x3e4e03),this[_0x4acc('0x58')]['set']('insertion:chain',_0x163547),this['_defaultCallbacks'][_0x4acc('0xf4')](_0x4acc('0x14e'),_0x1143cb),this[_0x4acc('0x58')][_0x4acc('0xf4')](_0x4acc('0xb9'),_0x393b52),this[_0x4acc('0x58')]['set'](_0x4acc('0x40'),_0x3e4e03),this[_0x4acc('0x58')][_0x4acc('0xf4')](_0x4acc('0xaf'),_0x163547),this[_0x4acc('0x58')][_0x4acc('0xf4')](_0x4acc('0x168'),_0x18253d),this['_defaultCallbacks']['set'](_0x4acc('0xf5'),_0x393b52),this['_defaultCallbacks']['set'](_0x4acc('0x8e'),_0x3e4e03),this[_0x4acc('0x58')][_0x4acc('0xf4')](_0x4acc('0x9e'),_0x393b52),this['_defaultCallbacks'][_0x4acc('0xf4')](_0x4acc('0x3c'),_0x18253d),this[_0x4acc('0x58')][_0x4acc('0xf4')](_0x4acc('0x10f'),_0x393b52),this[_0x4acc('0x58')][_0x4acc('0xf4')]('formatBlock:join',_0x3e4e03),this['_defaultCallbacks']['set'](_0x4acc('0x6a'),_0x393b52),this[_0x4acc('0x58')][_0x4acc('0xf4')]('attribute:accept',_0x393b52),this[_0x4acc('0x58')][_0x4acc('0xf4')]('attribute:discard',(_0x23c907,_0x50bf34)=>{if(!_0x50bf34)return;const _0x14e8e9=this[_0x4acc('0x91')][_0x4acc('0x15')][_0x4acc('0x8f')](p);this[_0x4acc('0x166')][_0x4acc('0x13a')](_0x2b1004=>{if(_0x4acc('0xbe')==_0x50bf34[_0x4acc('0xd4')])for(const _0x5d22bb of _0x23c907){const _0x1fdc67=_0x5d22bb[_0x4acc('0xc')][_0x4acc('0xe9')],_0x4c2757=_0x50bf34[_0x4acc('0x109')];_0x2b1004['rename'](_0x1fdc67,_0x4c2757);}else{if(_0x14e8e9[_0x4acc('0x14b')](_0x50bf34[_0x4acc('0xd4')]))for(const _0x398f87 of _0x23c907)void 0x0!==_0x50bf34[_0x4acc('0x109')]?_0x2b1004[_0x4acc('0xd2')](_0x50bf34['key'],_0x50bf34[_0x4acc('0x109')],_0x398f87['start']['nodeAfter']):_0x2b1004[_0x4acc('0x11d')](_0x50bf34[_0x4acc('0xd4')],_0x398f87[_0x4acc('0xc')][_0x4acc('0xe9')]);else for(const _0x462dd7 of _0x23c907)_0x50bf34[_0x4acc('0x109')]?_0x2b1004['setAttribute'](_0x50bf34[_0x4acc('0xd4')],_0x50bf34[_0x4acc('0x109')],_0x462dd7):_0x2b1004['removeAttribute'](_0x50bf34[_0x4acc('0xd4')],_0x462dd7);}});}),this['_defaultCallbacks'][_0x4acc('0xf4')](_0x4acc('0x77'),_0x3e4e03);}}function Tt(_0x2a1f14,_0x11f3f3,_0x5371df){for(const _0x1265d6 of _0x11f3f3[_0x4acc('0x12d')][_0x4acc('0xff')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x1265d6['root']==_0x1265d6)return!0x1;if(!_0x5371df[_0x4acc('0xa8')](_0x1265d6))return!0x1;if(_0x2a1f14['isObject'](_0x1265d6)||_0x2a1f14[_0x4acc('0x6e')](_0x1265d6))return!0x0;}return!0x1;}function xt(_0x2d628c){return _0x2d628c[_0x4acc('0x1d')][_0x4acc('0x12d')]==_0x2d628c[_0x4acc('0xc')]['nodeAfter']&&_0x2d628c[_0x4acc('0x1d')][_0x4acc('0x8c')];}function Et(_0x34af77,_0x2add89,_0x5e0539,_0x4e78d6){const _0x2f0bb8=_0x246526=>!_0x246526[_0x4acc('0x8a')]['is'](_0x4acc('0x76'))&&!_0x4e78d6['isObject'](_0x246526[_0x4acc('0x8a')]),_0x103e1a=_0x34af77['start'][_0x4acc('0x183')](_0x2f0bb8),_0x587b41=_0x34af77[_0x4acc('0x1d')][_0x4acc('0x183')](_0x2f0bb8,{'direction':_0x4acc('0x135')});return(!_0x34af77[_0x4acc('0xc')][_0x4acc('0x39')](_0x103e1a)||!_0x34af77[_0x4acc('0x1d')]['isEqual'](_0x587b41))&&(_0x103e1a[_0x4acc('0x6d')](_0x587b41)?_0x5e0539[_0x4acc('0x9a')](_0x2add89,{'range':_0x5e0539[_0x4acc('0xd3')](_0x103e1a,_0x587b41)}):_0x5e0539['removeMarker'](_0x2add89),!0x0);}function Rt(_0x4ed38e){return _0x466d17(_0x4ed38e);}function jt(_0x2957d1){const _0x98bcdd=_0x2957d1[_0x4acc('0xc')][_0x4acc('0xe9')];return _0x98bcdd&&_0x98bcdd['is']('element');}function Ut(_0x41a48d,_0x4a5854){const _0xbd8e47=_0x4a5854[_0x4acc('0xc4')][_0x4acc('0x81')](_0x41a48d)||_0x4a5854[_0x4acc('0xc4')][_0x4acc('0x45')](_0x41a48d);return _0x4a5854[_0x4acc('0xd3')](_0x4a5854['createPositionAt'](_0x41a48d,_0x4acc('0x14c')),_0xbd8e47?_0x4a5854[_0x4acc('0x15a')](_0x41a48d):_0x4a5854['createPositionAt'](_0x41a48d,_0x4acc('0x1d')));}function Ot(_0x4bc570,_0x2372c6,_0xbfb4fb,_0x5f3367,_0x2f3c84){if(!Vt(_0x4bc570,_0x2372c6))return!0x1;if(_0xbfb4fb[_0x4acc('0x1d')][_0x4acc('0x39')](_0x5f3367['start']))return!0x0;if(_0x4bc570[_0x4acc('0x8')]!=_0x2372c6[_0x4acc('0x8')])return!0x1;if(!_0xbfb4fb['end'][_0x4acc('0x181')](_0x5f3367['start']))return!0x1;const _0x26f6ea=_0x2f3c84['createRange'](_0xbfb4fb[_0x4acc('0x1d')],_0x5f3367['start'])[_0x4acc('0x6f')]();for(const _0x3fb8fb of _0x26f6ea)if(['elementStart',_0x4acc('0xe3')][_0x4acc('0x41')](_0x3fb8fb[_0x4acc('0x8')])&&_0x2f3c84[_0x4acc('0xc4')]['isLimit'](_0x3fb8fb[_0x4acc('0x8a')]))return!0x1;return!0x0;}function Vt(_0x368248,_0xf1fbc7){return!(!_0x368248['_isDataLoaded']||!_0xf1fbc7['_isDataLoaded'])&&_0x283ea3(_0x368248[_0x4acc('0x26')],_0xf1fbc7[_0x4acc('0x26')]);}function Gt(_0x32e542,_0x1d4f5){const _0x2a2367=Ft(_0x32e542[_0x4acc('0x26')]),_0x994bdb=Ft(_0x1d4f5);if(!_0x32e542[_0x4acc('0x25')])return!0x1;for(const _0x1469a2 of Object[_0x4acc('0x6')](_0x994bdb))if(!_0x283ea3(_0x2a2367[_0x1469a2],_0x994bdb[_0x1469a2]))return!0x1;return!0x0;}function Ft(_0xf0214b){const _0x47513b=Object[_0x4acc('0x5e')]({},_0xf0214b);return delete _0x47513b[_0x4acc('0xf8')],delete _0x47513b[_0x4acc('0x7')],_0x47513b;}function Pt(_0x26c091){return _0x4acc('0xb7')==_0x26c091['type']?_0x26c091['subType'][_0x4acc('0x17d')]('|')[0x0]:null;}
23
+ const _0x54e7=['_SUGGESTION_ANNOUNCEMENT','isLimit','markerName','backward','skipNestingCheck','isAtStart','isBefore','ck-suggestion-marker-formatBlock','addCommentThread','rootName','getIntersection','error-saving-suggestion-data-suggestion-discarded','consumable','isExternal','add','buildSuggestion','ck-suggestion-marker-','head','trackChanges.trackFormatChanges','getLastMatchingPosition','markerNameToElements','setTo','_model','isBlock','isTouching','_getMarkerAnnouncementText','applyOperation','never','_mergeNestedSuggestions','isArray','isLocal','highest','_initAriaMarkerChangeAnnouncements','formatInline:discard','deletion:','enqueueChange','getOperations','nodeAfter','createPositionAfter','adapter','_breakSuggestionMarker','isObject','@external','getContainedElement','differ','model','formatBlock','FORMATTING','deletion:accept','PENDING_ACTION_SUGGESTION','set','announce','discardAllSuggestions','root','_checkSuggestionCorrectness','markInlineFormat','isUndo','getWalker','notReady','subType','_enabledCommands','deletion:chain','isAtEnd','commentThread','insertion:discard','track-changes-user-not-found','define','addMarkerName','formatInline:accept','resolve','markMultiRangeBlockFormat','_suggestions','removed','rejected','version','newRange','_rangeIsInLocalUserInsertion','config','isInContent','_isDataLoaded','getChangedMarkers','markBlockFormat','containsPosition','groupId','catch','deletion','editing','formatBlock:discard','find','get','setSelection','track-changes-adapter-missing-getsuggestion','start','_findSuggestions','_joinWithAdjacentSuggestions','markMultiRangeDeletion','fromRange','addMarker:suggestion:formatBlock','_blockAttributeKeys','attribute:accept','type','getFirstRange','hasCommentThread','removeMarker','_removeSuggestion','removeMarkers','rethrowUnexpectedError','isAfter','multipleBlocks','conversion','discardSelectedSuggestions','comments','map','authoredAt','getSuggestion','TrackChangesEditing','remove','addAttribute','isOwn','markerToHighlight','formatInline:','addRange','oldValue','elementToElement','_adapter','trackChanges.mergeNestedSuggestions','_reduceExistingSuggestions','attributeOldValue','createPositionBefore','then','element','elementEnd','getAttribute','_customCallbacks','setAttribute','attributes','getSuggestionCallback','authorName','markDeletion','isCollapsed','ck-suggestion-marker','values','rename','_defaultCallbacks','ENTER','hasComments','end','collaboration.channelId','for','toViewElement','deletion:discard','every','getDifference','activeMarkers','isIntersectingWithRange','$elementName','fire','insertion:chain','normal','_registerBlockAttribute','track-changes-adapter-already-set','widget','_trackFormatChanges','dataReady','execute','_editor','newName','key','_commentsRepository','addHighlight','concat','mapper','getCustomProperty','options','removeMarker:suggestion:formatBlock','containsRangeInObject','registerCustomCallback','changeAttribute','formatInline','moveTargetPosition','isNextTo','getAllAdjacentSuggestions','move','suggestion:','formatInline:join','_setSuggestionData','registerPostFixer','insert','editor','_setSuggestionRange','_recordAttributeSuggestionsFromVersion','accepted','addSuggestion','open','fromCharCode','insertion:accept','after','change:_saved','substring','formatBlock:join','$text','addMarker','range','$marker','position','addUser','fetchCommentThread','markAttributeChange','_inlineAttributeKeys','data','tablePasteChainId','return','value','containsRange','locale','author','getNearestSelectionRange','document','trackChanges','item','addComment','listenTo','formatBlock:','_reduceSuggestionAttributeRange','_processAttributeSuggestions','isIntersecting','editingDowncast','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.','getFirstMarker','addSuggestionData','createRange','removeAttribute','isEqual','attribute','_suggestionState','refresh','getShiftedBy','getSuggestions','pop','selection','delete','splitPosition','_splitMarkerName','change:activeMarkers','attributeNewValue','getRanges','unbind','isSelectable','getAncestors','isMultiRange','_joinSuggestions','_suggestionFactory','toJSON','attribute:','markerToData','createdAt','accept','isRemovable','createPositionAt','formatBlock:accept','chain','format','_getSuggestionData','acceptAllSuggestions','suggestionLoaded','next','detach','getCommentThread','upcast','forceDefaultExecution','change','_updateSuggestionData','$textProxy','filter','getMarkers','createSelection','default','multi','acceptSuggestion','data-suggestion','reconvertMarker','originalSuggestionId','_addSuggestionMarker','sort','parent','targetPosition','_onDiscard','toUpperCase','marker-count','substr','clone','dataToMarker','_cutOutSuggestionMarker','writer','_getAuthorFromId','updateSuggestion','dataDowncast','join','update:suggestion','discard','consume','removeComment','creator','commandName','splice','_isForcedDefaultExecutionBlock','suggestionUnloaded','_createSuggestion','trackChangesCommand','some','deleteContent','_handleNewSuggestionMarker','newValue','_isBlockAttribute','split','formatBlock:chain','batch','PendingActions','_refreshAttributeSuggestionsChain','length','push','_refreshSuggestionsChain','bindElementToMarker','discardSuggestion','pluginName','name','ready','createElement','assign','forEach','insertion:join','size','insertContent','commands','high','oldRange','previous','addMarker:suggestion','suggestion','track-changes-suggestion-data-mismatch','from','formatGroupId','suggestionChanged','ck-suggestion-marker--active','hasSuggestion','has','Users','getRange','updateMarker','always','$graveyard','addClass','containsItem','_saved','_addThreadToSuggestion','keys','schema','formatInline:chain','acceptSelectedSuggestions','includes','containerElement','_registerInlineAttribute','showSuggestionHighlights','ariaLiveAnnouncer','_processAttributeChanges','_registerDefaultCallbacks','suggestion:attribute:','markInsertion','getMultiRangeId','markers','getChanges','nodeBefore','suggestion-type','enableCommand','clear','isInsideObject','low','external:','unshift','insertion:','plugins','stop','_recordAttributeChanges','markerReady','CommentsRepository','insertion','oldName'];(function(_0xe8ae04,_0x54e7ce){const _0x326650=function(_0x59d22b){while(--_0x59d22b){_0xe8ae04['push'](_0xe8ae04['shift']());}};_0x326650(++_0x54e7ce);}(_0x54e7,0xa1));const _0x3266=function(_0xe8ae04,_0x54e7ce){_0xe8ae04=_0xe8ae04-0x0;let _0x326650=_0x54e7[_0xe8ae04];return _0x326650;};import{Plugin as _0x23db9c,PendingActions as _0x45a70f}from'ckeditor5/src/core';import{LiveRange as _0x15e6db}from'ckeditor5/src/engine';import{CKEditorError as _0x1231ca,uid as _0x30564f,priorities as _0x10979b,logWarning as _0x4cde5f}from'ckeditor5/src/utils';import{toWidget as _0x173fa9}from'ckeditor5/src/widget';import{Users as _0x4c4c5f,hashObject as _0x2cbd9a,surroundingMarkersDetector as _0x196bcb}from'ckeditor5-collaboration/src/collaboration-core';import _0x333016 from'./commands/trackchangescommand';import _0x3af46b from'./commands/acceptsuggestioncommand';import _0x4d0499 from'./commands/discardsuggestioncommand';import _0x54f269 from'./commands/executeonallsuggestionscommand';import _0x2ed373 from'./commands/executeonselectedsuggestionscommand';import _0x3717a3 from'./suggestion';import _0x1b5886 from'./suggestiondescriptionfactory';import _0x5711bc from'./integrations/aiassistant';import _0x250062 from'./integrations/alignment';import _0x459d3d from'./integrations/basicstyles';import _0x3f6113 from'./integrations/blockquote';import _0x5c70b3 from'./integrations/ckbox';import _0x3df183 from'./integrations/codeblock';import _0x4f125c from'./integrations/comments';import _0x198dee from'./integrations/deletecommand';import _0x1dbd48 from'./integrations/documentlist';import _0x24a70b from'./integrations/documentlistproperties';import _0x451175 from'./integrations/entercommand';import _0x5f78d4 from'./integrations/findandreplace';import _0x27e11f from'./integrations/font';import _0x490587 from'./integrations/formatpainter';import _0x1fa2b6 from'./integrations/heading';import _0x4eed3b from'./integrations/highlight';import _0x86c63f from'./integrations/horizontalline';import _0x284144 from'./integrations/htmlembed';import _0x35a85a from'./integrations/image';import _0x14a75b from'./integrations/imagereplace';import _0x3037c3 from'./integrations/imagestyle';import _0x456ffe from'./integrations/importword';import _0x4834f9 from'./integrations/indent';import _0x2c771d from'./integrations/inputcommand';import _0x392120 from'./integrations/link';import _0x2498e6 from'./integrations/list';import _0x17cc70 from'./integrations/listproperties';import _0x20699d from'./integrations/mediaembed';import _0x1e8c2f from'./integrations/mention';import _0x53bde5 from'./integrations/pagebreak';import _0x7dafec from'./integrations/paragraph';import _0xdb593d from'./integrations/removeformat';import _0x2c5f02 from'./integrations/restrictededitingmode';import _0x4b2f64 from'./integrations/shiftentercommand';import _0x5005e5 from'./integrations/standardeditingmode';import _0x4273ca from'./integrations/style';import _0x106682 from'./integrations/table';import _0x256bf6 from'./integrations/tablemergesplit';import _0x2ae252 from'./integrations/tableheadings';import _0x18fb8f from'./integrations/tableclipboard';import _0x30c48b from'./integrations/tablecolumnresize';import _0x53954a from'./integrations/template';import _0x30a384 from'./integrations/tableofcontents';import _0x563614 from'./integrations/title';import _0x353cc1 from'./integrations/undo';import _0x4063e4 from'./integrations/tablecaption';import _0x5151d2 from'./integrations/tableproperties';import{getTranslation as _0x5cb1d5}from'./utils/common-translations';import{isEqual as _0x828a1b,omit as _0x41db8e}from'lodash-es';export const renameAttributeKey=_0x3266('0x17d');export default class p extends _0x23db9c{static get['requires'](){return['CommentsRepository',_0x4c4c5f,_0x45a70f,_0x5711bc,_0x250062,_0x459d3d,_0x3f6113,_0x5c70b3,_0x3df183,_0x4f125c,_0x198dee,_0x1dbd48,_0x24a70b,_0x451175,_0x5f78d4,_0x27e11f,_0x490587,_0x1fa2b6,_0x4eed3b,_0x86c63f,_0x284144,_0x35a85a,_0x3037c3,_0x14a75b,_0x456ffe,_0x4834f9,_0x2c771d,_0x392120,_0x2498e6,_0x17cc70,_0x20699d,_0x1e8c2f,_0x53bde5,_0x7dafec,_0xdb593d,_0x2c5f02,_0x4b2f64,_0x5005e5,_0x4273ca,_0x106682,_0x256bf6,_0x2ae252,_0x4063e4,_0x18fb8f,_0x30c48b,_0x30a384,_0x5151d2,_0x53954a,_0x563614,_0x353cc1];}static get[_0x3266('0xa3')](){return _0x3266('0x155');}constructor(_0x10a5b5){function _0xf36b0e(_0x4de344){return _0x4de344['map'](_0x4ca187=>String[_0x3266('0x21')](_0x4ca187))[_0x3266('0x88')]('');}super(_0x10a5b5),this[_0x3266('0x1d')]=null,this['set'](_0x3266('0x17b'),[]),this['on'](_0x3266('0x52'),(_0x2e21f2,_0x436eb4,_0x54e4cd,_0x2d0eea)=>{this[_0x3266('0xf8')][_0x3266('0x6d')](()=>{for(const _0x44a391 of[..._0x2d0eea,..._0x54e4cd])this[_0x3266('0xf8')][_0x3266('0xd0')][_0x3266('0xb8')](_0x44a391)&&_0x10a5b5[_0x3266('0x138')][_0x3266('0x77')](_0x44a391);});}),this['_descriptionFactory']=new _0x1b5886(this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0xc3')],this['editor']['locale']),this['_adapter']=null,this[_0x3266('0x5a')]=new Bt(this[_0x3266('0x1b')]),this[_0x3266('0x129')]=new Map(),this['_commentsRepository']=_0x10a5b5[_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xdf')),this[_0x3266('0x11e')]=new Set(),this[_0x3266('0xf8')]=this[_0x3266('0x1b')][_0x3266('0x10f')],this[_0x3266('0x49')]=new WeakMap(),this[_0x3266('0x90')]=!0x1,this[_0x3266('0x144')]=new Set(['$elementName']),this[_0x3266('0x2f')]=new Set(),_0x10a5b5[_0x3266('0x12f')][_0x3266('0x124')](_0x3266('0xf4'),_0x3266('0x73')),this['_trackFormatChanges']=_0x10a5b5['config']['get'](_0x3266('0xf4')),_0x10a5b5[_0x3266('0x12f')][_0x3266('0x124')](_0x3266('0x15f'),!0x0),this[_0x3266('0xfe')]=_0x10a5b5[_0x3266('0x12f')]['get'](_0x3266('0x15f')),this[_0x3266('0x93')]=new _0x333016(_0x10a5b5,this['_enabledCommands']),this[_0x3266('0x102')](),this[_0xf36b0e([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xf36b0e([0x34,0x30,0x34,0x36,0x32,0x34,0x30,0x38]);}['init'](){const _0x407ba6=this[_0x3266('0x1b')],_0x43737c=(_0xb294ff,_0x23b459)=>{if(_0x3266('0x48')!=_0xb294ff)return _0x3266('0xf2')+_0xb294ff;const _0x4412ec=_0x23b459[_0x3266('0x99')]('|')[0x0];return this[_0x3266('0x98')](_0x4412ec)?_0x3266('0xe9'):'ck-suggestion-marker-formatInline';};_0x407ba6['conversion']['for'](_0x3266('0x41'))[_0x3266('0x159')]({'model':_0x3266('0xb1'),'view':_0x34830a=>{const {id:_0x1f16ed,type:_0x113f96,subType:_0x1461a7}=this[_0x3266('0x51')](_0x34830a[_0x3266('0xe4')]),_0x3bd4e4=[_0x3266('0x16e'),_0x43737c(_0x113f96,_0x1461a7)];let _0x5e44e5=0xbb8;return this['activeMarkers'][_0x3266('0xc6')](_0x34830a[_0x3266('0xe4')])&&(_0x3bd4e4[_0x3266('0x9f')](_0x3266('0xb6')),_0x5e44e5=0xbc2),'deletion'==_0x113f96&&(_0x5e44e5+=0x5),{'classes':_0x3bd4e4,'attributes':{'data-suggestion':_0x1f16ed},'priority':_0x5e44e5};}}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0xf0')](_0x587028=>{_0x587028['on'](_0x3266('0xb0'),(_0x8f4070,_0x3e0429,_0x592324)=>{if(!_0x592324[_0x3266('0xc')]['showSuggestionHighlights'])return;const _0x382a9d=_0x3e0429[_0x3266('0x3a')];if(!_0x382a9d)return;const _0x257818=_0x592324['mapper'][_0x3266('0x177')](_0x382a9d);_0x407ba6[_0x3266('0x10f')][_0x3266('0xc3')][_0x3266('0x10b')](_0x382a9d)&&_0x257818&&!_0x257818[_0x3266('0xb')](_0x3266('0x0'))&&_0x257818['is'](_0x3266('0xc7'))&&_0x173fa9(_0x257818,_0x592324[_0x3266('0x84')]);},{'priority':'high'});}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0x159')]({'model':_0x3266('0xb1'),'view':(_0x36bbb5,_0x1e9f6f)=>{if(!_0x1e9f6f[_0x3266('0xc')][_0x3266('0xc9')])return null;const {type:_0x1695cc,subType:_0xaf5279}=this['_splitMarkerName'](_0x36bbb5[_0x3266('0xe4')]);return{'classes':[_0x3266('0x16e'),_0x43737c(_0x1695cc,_0xaf5279)],'priority':0xbb8};}});const _0x479bff=({showActiveMarkers:_0xc58b91=!0x0,isAttributeSuggestion:_0x1c63d1=!0x1}={})=>(_0x2a2d1b,_0x3d5c72,_0x36f004)=>{if(!_0x3d5c72['item'])return;const {id:_0x5e5c39}=this[_0x3266('0x51')](_0x3d5c72[_0x3266('0xe4')]);if(_0x1c63d1){const _0x305598=Pt(this['_suggestions'][_0x3266('0x13b')](_0x5e5c39));if(!this[_0x3266('0x98')](_0x305598))return;}if(_0x3d5c72['item']['is']('selection'))return void _0x36f004['consumable']['consume'](_0x3d5c72['item'],_0x2a2d1b[_0x3266('0xa4')]);const _0x855d37=_0x36f004[_0x3266('0xa')]['toViewElement'](_0x3d5c72[_0x3266('0x3a')]);if(_0x3d5c72['item']['is'](_0x3266('0x164'))&&_0x407ba6[_0x3266('0x10f')][_0x3266('0xc3')][_0x3266('0xf9')](_0x3d5c72[_0x3266('0x3a')])&&!_0x855d37['getCustomProperty'](_0x3266('0x8'))){_0x36f004[_0x3266('0x84')][_0x3266('0xbe')]([_0x3266('0x16e'),_0x3266('0xe9')],_0x855d37),_0x36f004[_0x3266('0x84')][_0x3266('0x168')]('data-suggestion',_0x5e5c39,_0x855d37),_0x36f004['mapper'][_0x3266('0xa1')](_0x855d37,_0x3d5c72[_0x3266('0xe4')]),_0xc58b91&&(this[_0x3266('0x17b')][_0x3266('0xc6')](_0x3d5c72[_0x3266('0xe4')])?_0x36f004[_0x3266('0x84')]['addClass']('ck-suggestion-marker--active',_0x855d37):_0x36f004[_0x3266('0x84')]['removeClass'](_0x3266('0xb6'),_0x855d37));for(const _0x5d91b2 of _0x407ba6[_0x3266('0x10f')]['createRangeIn'](_0x3d5c72[_0x3266('0x3a')])['getItems']())_0x36f004['consumable'][_0x3266('0x8b')](_0x5d91b2,_0x2a2d1b[_0x3266('0xa4')]);_0x36f004[_0x3266('0xee')][_0x3266('0x8b')](_0x3d5c72[_0x3266('0x3a')],_0x2a2d1b[_0x3266('0xa4')]);}};_0x407ba6['conversion'][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0xf0')](_0x1db244=>{_0x1db244['on']('addMarker:suggestion:formatBlock',(_0x3405ae,_0x1c8bd3,_0x5fc859)=>{_0x5fc859['options']['showSuggestionHighlights']&&_0x479bff({'showActiveMarkers':!0x1})(_0x3405ae,_0x1c8bd3,_0x5fc859);},{'priority':_0x3266('0x101')});}),_0x407ba6['conversion'][_0x3266('0x176')]('dataDowncast')[_0x3266('0xf0')](_0x265c09=>{_0x265c09['on']('addMarker:suggestion:attribute',(_0x138bd0,_0xe358f1,_0x5ca3e3)=>{_0x5ca3e3[_0x3266('0xc')][_0x3266('0xc9')]&&_0x479bff({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x138bd0,_0xe358f1,_0x5ca3e3);},{'priority':'highest'});}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0x5d')]({'model':_0x3266('0xb1'),'view':(_0x446a60,_0x1abe7b)=>_0x1abe7b[_0x3266('0xc')][_0x3266('0xc9')]?null:{'group':_0x3266('0xb1'),'name':_0x446a60[_0x3266('0x80')](0xb)}}),_0x407ba6[_0x3266('0x14f')]['for'](_0x3266('0x6b'))[_0x3266('0x15d')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x1a8735,{writer:_0x4364a3})=>{let _0x522d7c=_0x3266('0x16')+_0x1a8735[_0x3266('0x166')](_0x3266('0xd3'))+':'+_0x1a8735[_0x3266('0x166')]('id');return _0x1a8735['getAttribute']('marker-count')&&(_0x522d7c+=':'+_0x1a8735[_0x3266('0x166')](_0x3266('0x7f'))),_0x4364a3[_0x3266('0xa6')](_0x3266('0x2a'),{'data-name':_0x522d7c});}}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x6b'))[_0x3266('0x82')]({'view':_0x3266('0xb1')}),_0x407ba6['conversion']['for'](_0x3266('0x41'))[_0x3266('0xf0')](_0x4ebee5=>{_0x4ebee5['on'](_0x3266('0x143'),_0x479bff(),{'priority':_0x3266('0xad')});}),_0x407ba6[_0x3266('0x14f')]['for']('editingDowncast')[_0x3266('0xf0')](_0x25a368=>{_0x25a368['on']('addMarker:suggestion:attribute',_0x479bff({'isAttributeSuggestion':!0x0}),{'priority':_0x3266('0xad')});}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')]('editingDowncast')[_0x3266('0xf0')](_0x3e491e=>{_0x3e491e['on'](_0x3266('0xd'),(_0x24070c,_0xb560b8,_0x568693)=>{const _0x4c8ff0=_0x568693[_0x3266('0xa')][_0x3266('0xf6')](_0xb560b8[_0x3266('0xe4')]);if(_0x4c8ff0)for(const _0x2fc242 of _0x4c8ff0)_0x2fc242[_0x3266('0xb')](_0x3266('0x8'))||(_0x568693['writer']['removeClass']([_0x3266('0x16e'),_0x3266('0xe9'),_0x3266('0xb6')],_0x2fc242),_0x568693[_0x3266('0x84')][_0x3266('0x46')]('data-suggestion',_0x2fc242),_0x568693['mapper']['unbindElementFromMarkerName'](_0x2fc242,_0xb560b8['markerName']));},{'priority':_0x3266('0xad')});}),_0x407ba6[_0x3266('0x14f')]['for'](_0x3266('0x41'))[_0x3266('0xf0')](_0x368867=>{_0x368867['on']('removeMarker:suggestion:attribute',(_0x37c797,_0x4ab6a3,_0x422b11)=>{const _0x442d13=_0x422b11['mapper'][_0x3266('0xf6')](_0x4ab6a3[_0x3266('0xe4')]);if(!_0x442d13)return;const {id:_0x420698}=this[_0x3266('0x51')](_0x4ab6a3[_0x3266('0xe4')]),_0x24aedd=Pt(this['_suggestions'][_0x3266('0x13b')](_0x420698));if(this[_0x3266('0x98')](_0x24aedd))for(const _0x44193a of _0x442d13)_0x44193a['getCustomProperty']('addHighlight')||(_0x422b11[_0x3266('0x84')]['removeClass'](['ck-suggestion-marker',_0x3266('0xe9'),_0x3266('0xb6')],_0x44193a),_0x422b11[_0x3266('0x84')][_0x3266('0x46')](_0x3266('0x76'),_0x44193a),_0x422b11[_0x3266('0xa')]['unbindElementFromMarkerName'](_0x44193a,_0x4ab6a3['markerName']));},{'priority':'high'});}),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')]['registerPostFixer'](_0x3d06c1=>{let _0x13c2c6=!0x1;const _0x35731e=Array['from'](_0x407ba6[_0x3266('0x10f')]['document'][_0x3266('0x10e')][_0x3266('0x132')]()),_0x1520f3=new Set();for(const {name:_0x4d92e9,data:_0x573ab3}of _0x35731e){const {group:_0x287317,type:_0x29e90e,subType:_0x43b4c9,id:_0x434474}=this['_splitMarkerName'](_0x4d92e9);if('suggestion'!==_0x287317)continue;const _0xafe2ac=this[_0x3266('0x129')]['get'](_0x434474);if(null!=_0x573ab3[_0x3266('0x12d')]){_0x3266('0x11')==_0x29e90e&&(_0x13c2c6=_0x13c2c6||Et(_0x573ab3[_0x3266('0x12d')],_0x4d92e9,_0x3d06c1,_0x407ba6[_0x3266('0x10f')]['schema']));const _0x4152b6=_0x3266('0x48')==_0x29e90e&&this[_0x3266('0x98')](_0x43b4c9[_0x3266('0x99')]('|')[0x0]);if(_0x573ab3[_0x3266('0x12d')]['isCollapsed']||_0x3266('0xbd')==_0x573ab3[_0x3266('0x12d')]['root'][_0x3266('0xeb')]||_0x3266('0x110')==_0x29e90e&&!jt(_0x573ab3[_0x3266('0x12d')])||_0x4152b6&&!jt(_0x573ab3[_0x3266('0x12d')])||'deletion'==_0x29e90e&&!(!xt(_0x1b5994=_0x573ab3[_0x3266('0x12d')])&&!function(_0x446119){return _0x446119[_0x3266('0x13e')]['parent']==_0x446119['end']['nodeBefore']&&_0x446119[_0x3266('0x13e')]['isAtEnd'];}(_0x1b5994)))_0x3d06c1['removeMarker'](_0x4d92e9),_0x13c2c6=!0x0;else{if(!_0xafe2ac||!_0xafe2ac[_0x3266('0x130')])continue;_0x1520f3[_0x3266('0xf0')](_0xafe2ac);}}}var _0x1b5994;return _0x1520f3['size']>0x0&&(_0x13c2c6=!!this[_0x3266('0x140')](_0x1520f3)||_0x13c2c6),_0x13c2c6;}),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')][_0x3266('0x19')](_0x2413dc=>{let _0x43bd29=!0x1;for(const _0x398958 of _0x407ba6['model'][_0x3266('0x38')][_0x3266('0x10e')][_0x3266('0xd1')]())if('insert'==_0x398958[_0x3266('0x146')])for(const _0xbcfaae of this[_0x3266('0x129')][_0x3266('0x16f')]()){if(_0xbcfaae['isMultiRange']||!_0xbcfaae[_0x3266('0x130')])continue;const _0x14cd78=_0x3266('0x110')==_0xbcfaae[_0x3266('0x146')],_0x1fcdad=Pt(_0xbcfaae),_0x2a42cd=_0x1fcdad&&this[_0x3266('0x98')](_0x1fcdad);if(!_0x14cd78&&!_0x2a42cd)continue;const _0x2cafda=_0xbcfaae[_0x3266('0x147')]();if(_0x2cafda[_0x3266('0x13e')][_0x3266('0x7b')]!=_0x2cafda['end']['parent']&&!_0x2cafda[_0x3266('0x174')][_0x3266('0x120')]){const _0x5e3167=_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x2cafda[_0x3266('0x13e')][_0x3266('0x107')],_0x3266('0x174')),_0x1fee7d=_0x407ba6[_0x3266('0x10f')]['createRange'](_0x2cafda[_0x3266('0x13e')],_0x5e3167);_0x2413dc[_0x3266('0xbb')](_0xbcfaae[_0x3266('0x43')](),{'range':_0x1fee7d}),_0x43bd29=!0x0;}}return _0x43bd29;}),_0x407ba6['model'][_0x3266('0x38')][_0x3266('0x19')](_0x389b44=>this[_0x3266('0xcb')](_0x389b44)),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')][_0x3266('0x19')](_0x56de5a=>!_0x56de5a[_0x3266('0x9b')][_0x3266('0x100')]&&this[_0x3266('0x3f')](_0x56de5a)),_0x407ba6['model'][_0x3266('0xd0')]['on'](_0x3266('0x89'),(_0x55aea8,_0xdea3b1,_0x1f04b0)=>{if(null==_0x1f04b0){const {id:_0x1e9fb6}=this['_splitMarkerName'](_0xdea3b1['name']),_0x23bb3a=this[_0x3266('0x129')]['get'](_0x1e9fb6);_0x23bb3a&&_0x23bb3a[_0x3266('0x125')](_0xdea3b1[_0x3266('0xa4')]);}}),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')]['on']('change:data',()=>{const _0x4296ea=Array[_0x3266('0xb3')](_0x407ba6['model']['document']['differ']['getChangedMarkers']())['filter'](_0x2d0c78=>_0x3266('0xb1')===this[_0x3266('0x51')](_0x2d0c78[_0x3266('0xa4')])['group']);if(0x0===_0x4296ea['length'])return;_0x4296ea[_0x3266('0x7a')]((_0x2c1342,_0x6b7885)=>{const _0x567760=_0x2c1342['data'][_0x3266('0xae')],_0x910d1f=_0x6b7885[_0x3266('0x30')][_0x3266('0xae')];return null===_0x567760&&null===_0x910d1f?0x0:null===_0x567760&&null!==_0x910d1f?-0x1:null!==_0x567760&&null===_0x910d1f?0x1:_0x567760[_0x3266('0x13e')][_0x3266('0xe8')](_0x910d1f[_0x3266('0x13e')])?-0x1:0x1;});const _0x2f257b=new Set(),_0x5e1cab=new Set();for(const {name:_0x4a2b36,data:_0x5b03bf}of _0x4296ea){const {id:_0x3167d6}=this[_0x3266('0x51')](_0x4a2b36);if(null===_0x5b03bf[_0x3266('0xae')]){const _0x29f392=this[_0x3266('0x96')](_0x4a2b36);_0x5e1cab[_0x3266('0xf0')](_0x29f392);}else{const _0x2a7ed0=this[_0x3266('0x129')][_0x3266('0x13b')](_0x3167d6);null!==_0x5b03bf[_0x3266('0x12d')]||_0x2a7ed0['isInContent']?(_0x2f257b[_0x3266('0xf0')](_0x2a7ed0[_0x3266('0xf3')]),_0x5e1cab[_0x3266('0xf0')](_0x2a7ed0)):this[_0x3266('0x14a')](_0x2a7ed0);}}_0x5e1cab['size']>0x0&&this[_0x3266('0xa0')](_0x5e1cab);for(const _0x18b9e0 of _0x2f257b)this[_0x3266('0x17e')](_0x3266('0xb5'),_0x18b9e0);}),_0x407ba6[_0x3266('0x10f')]['on'](_0x3266('0xfc'),(_0x40bd7a,_0x3c390c)=>{const _0x358544=_0x3c390c[0x0];if(!this[_0x3266('0x129')][_0x3266('0xaa')])return;if(!_0x358544['isDocumentOperation'])return;if(_0x358544['batch'][_0x3266('0x11a')]||!_0x358544[_0x3266('0x9b')][_0x3266('0x100')])return;let _0x5e3207,_0x2fa6cc;switch(_0x358544[_0x3266('0x146')]){case _0x3266('0x1a'):_0x5e3207=_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x358544[_0x3266('0x2b')]),_0x2fa6cc=_0x5e3207['getShiftedBy'](_0x358544['howMany']);break;case _0x3266('0x99'):_0x5e3207=_0x407ba6[_0x3266('0x10f')]['createPositionAt'](_0x358544[_0x3266('0x50')]),_0x2fa6cc=_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x358544[_0x3266('0x12')]);break;case _0x3266('0x15'):_0x5e3207=_0x407ba6['model'][_0x3266('0x61')](_0x358544[_0x3266('0x7c')]),_0x2fa6cc=_0x5e3207[_0x3266('0x4b')](_0x358544['howMany']);break;default:return;}const _0x232008=_0x407ba6[_0x3266('0x10f')][_0x3266('0x45')](_0x5e3207,_0x2fa6cc);_0x407ba6[_0x3266('0x10f')]['change'](()=>{for(const {suggestion:_0x1167a4,meta:_0x256def}of this[_0x3266('0x13f')](_0x232008)){if(_0x1167a4[_0x3266('0x58')])continue;if(_0x3266('0x11')==_0x1167a4[_0x3266('0x146')])continue;const _0x56eba9=Pt(_0x1167a4);if(_0x56eba9&&this[_0x3266('0x98')](_0x56eba9)&&_0x3266('0x99')!=_0x358544[_0x3266('0x146')])continue;const _0x21dade=_0x1167a4[_0x3266('0x30')]&&_0x1167a4[_0x3266('0x30')][_0x3266('0x14e')];(_0x3266('0x110')!=_0x1167a4[_0x3266('0x146')]||_0x3266('0x99')==_0x358544[_0x3266('0x146')]&&!_0x21dade)&&(_0x256def[_0x3266('0xe')]||_0x3266('0xe0')==_0x1167a4[_0x3266('0x146')]&&_0x256def['isOwn']||_0x1167a4[_0x3266('0x147')]()[_0x3266('0x34')](_0x232008)&&this[_0x3266('0x10a')](_0x1167a4,_0x5e3207,_0x2fa6cc));}});},{'priority':'lowest'}),_0x407ba6[_0x3266('0x10f')]['on'](_0x3266('0x95'),(_0x5868bf,_0x340dbf)=>{const _0xcfc09e=_0x340dbf[0x0],_0x564e68=_0x340dbf[0x1];if(_0x564e68&&_0x564e68[_0x3266('0x6c')])return;if(this[_0x3266('0x90')])return;if(!this[_0x3266('0x93')][_0x3266('0x33')])return;if(_0xcfc09e[_0x3266('0x16d')])return;const _0x4ff9b1=_0x407ba6['model'][_0x3266('0xc3')],{start:_0x240004,end:_0x4d5f8e}=_0xcfc09e[_0x3266('0x147')](),_0x5827cc=_0x240004[_0x3266('0x107')]&&_0x4ff9b1[_0x3266('0xe3')](_0x240004[_0x3266('0x107')])?null:_0x4ff9b1[_0x3266('0x37')](_0x240004,'forward'),_0x4b4fcb=_0x4d5f8e[_0x3266('0xd2')]&&_0x4ff9b1[_0x3266('0xe3')](_0x4d5f8e[_0x3266('0xd2')])?null:_0x4ff9b1[_0x3266('0x37')](_0x4d5f8e,_0x3266('0xe5')),_0x3e8164=_0x407ba6[_0x3266('0x10f')][_0x3266('0x45')](_0x5827cc?_0x5827cc[_0x3266('0x13e')]:_0x240004,_0x4b4fcb?_0x4b4fcb[_0x3266('0x174')]:_0x4d5f8e);_0x407ba6[_0x3266('0x10f')]['change'](_0x293984=>{this[_0x3266('0x16c')](_0x3e8164);const _0x457d13=_0x407ba6['model']['schema'][_0x3266('0x37')](_0x3e8164[_0x3266('0x13e')]);_0xcfc09e['is']('documentSelection')?_0x293984[_0x3266('0x13c')](_0x457d13):_0xcfc09e[_0x3266('0xf7')](_0x457d13);}),_0x5868bf[_0x3266('0xdc')]();},{'priority':_0x10979b[_0x3266('0x180')]+0xa}),_0x407ba6[_0x3266('0x10f')]['on'](_0x3266('0xab'),(_0x4e5548,_0x4a6418)=>{const _0x4a0b81=_0x4a6418[_0x4a6418['length']-0x1];_0x4a0b81&&_0x4a0b81[_0x3266('0x6c')]||this[_0x3266('0x90')]||this[_0x3266('0x93')]['value']&&(_0x407ba6['model']['change'](()=>{let _0x3a6567=_0x407ba6[_0x3266('0x10f')]['insertContent'](_0x4a6418[0x0],_0x4a6418[0x1],_0x4a6418[0x2],{'forceDefaultExecution':!0x0});if(!_0x3a6567)return;_0x4e5548[_0x3266('0x32')]=_0x3a6567[_0x3266('0x81')]();const _0x4ac146=_0x3a6567[_0x3266('0x174')][_0x3266('0xd2')],_0x4d7611=_0x407ba6['model'][_0x3266('0xc3')];_0x4ac146&&_0x4d7611[_0x3266('0xf9')](_0x4ac146)&&!_0x4d7611[_0x3266('0x10b')](_0x4ac146)&&(_0x3a6567=_0x407ba6[_0x3266('0x10f')][_0x3266('0x45')](_0x3a6567[_0x3266('0x13e')],_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x4ac146,_0x3266('0x174')))),this[_0x3266('0xce')](_0x3a6567);}),_0x4e5548['stop']());},{'priority':_0x3266('0xad')}),this[_0x3266('0x1b')]['commands']['add'](_0x3266('0x39'),this['trackChangesCommand']),this[_0x3266('0xd4')](_0x3266('0x39'));const _0xaffca0=new _0x3af46b(_0x407ba6,this[_0x3266('0x129')]);_0x407ba6[_0x3266('0xac')]['add']('acceptSuggestion',_0xaffca0),this[_0x3266('0xd4')](_0x3266('0x75'));const _0xe7d535=new _0x4d0499(_0x407ba6,this[_0x3266('0x129')]);_0x407ba6[_0x3266('0xac')][_0x3266('0xf0')](_0x3266('0xa2'),_0xe7d535),this[_0x3266('0xd4')]('discardSuggestion'),_0x407ba6[_0x3266('0xac')][_0x3266('0xf0')](_0x3266('0x66'),new _0x54f269(_0x407ba6,_0xaffca0,this[_0x3266('0x129')])),this[_0x3266('0xd4')](_0x3266('0x66')),_0x407ba6['commands'][_0x3266('0xf0')](_0x3266('0x116'),new _0x54f269(_0x407ba6,_0xe7d535,this[_0x3266('0x129')])),this[_0x3266('0xd4')](_0x3266('0x116')),_0x407ba6['commands'][_0x3266('0xf0')](_0x3266('0xc5'),new _0x2ed373(_0x407ba6,_0xaffca0,this[_0x3266('0x129')])),this[_0x3266('0xd4')]('acceptSelectedSuggestions'),_0x407ba6['commands'][_0x3266('0xf0')](_0x3266('0x150'),new _0x2ed373(_0x407ba6,_0xe7d535,this[_0x3266('0x129')])),this[_0x3266('0xd4')](_0x3266('0x150'));const _0x37ff70=_0x407ba6[_0x3266('0xdb')][_0x3266('0x13b')]('CommentsRepository');this[_0x3266('0x3c')](_0x37ff70,_0x3266('0x3b'),(_0x2ffe21,{threadId:_0x50ddea})=>{const _0x30714c=this[_0x3266('0x129')]['get'](_0x50ddea);_0x30714c&&_0x30714c['commentThread']&&0x1===_0x30714c[_0x3266('0x121')][_0x3266('0x9e')]&&this[_0x3266('0x6e')](_0x50ddea,{'hasComments':!0x0});},{'priority':_0x3266('0xd7')}),this[_0x3266('0x3c')](_0x37ff70,_0x3266('0x8c'),(_0x167393,{threadId:_0x2b70f3})=>{const _0x49cefc=this[_0x3266('0x129')]['get'](_0x2b70f3);_0x49cefc&&_0x49cefc[_0x3266('0x121')]&&!_0x49cefc['commentThread']['length']&&this[_0x3266('0x6e')](_0x2b70f3,{'hasComments':!0x1});},{'priority':_0x3266('0xd7')});}set[_0x3266('0x109')](_0x4fbdb3){if(this[_0x3266('0x15e')])throw new _0x1231ca(_0x3266('0x182'),this);this[_0x3266('0x15e')]=_0x4fbdb3;}get[_0x3266('0x109')](){return this[_0x3266('0x15e')];}[_0x3266('0x4c')]({skipNotAttached:_0x2c5e72=!0x1,toJSON:_0x30147e=!0x1}={}){const _0xeb3773=[];for(const _0x5d0706 of this['_suggestions']['values']())_0x2c5e72&&!_0x5d0706[_0x3266('0x130')]||_0xeb3773[_0x3266('0x9f')](_0x5d0706);return _0x30147e?_0xeb3773[_0x3266('0x152')](_0x1e235b=>_0x1e235b[_0x3266('0x5b')]()):_0xeb3773;}['getSuggestion'](_0x3d422e){const _0x2434dc=this['_suggestions'][_0x3266('0x13b')](_0x3d422e);if(!_0x2434dc)throw new _0x1231ca('track-changes-suggestion-not-found',this);return _0x2434dc;}[_0x3266('0xb7')](_0x3942bf){return this[_0x3266('0x129')][_0x3266('0xb8')](_0x3942bf);}[_0x3266('0x44')](_0x144ee3){const {authorId:_0x4319a3,id:_0x11c6bb,attributes:_0xf7d414}=_0x144ee3,[_0x3f0009,_0x319db1]=_0x144ee3[_0x3266('0x146')][_0x3266('0x99')](':'),_0x13cece=this[_0x3266('0x129')][_0x3266('0x13b')](_0x11c6bb)||this[_0x3266('0x92')](_0x3f0009,_0x319db1,_0x11c6bb,_0x4319a3,_0xf7d414);if(this[_0x3266('0xc1')](_0x13cece),this['_checkSuggestionCorrectness'](_0x13cece,_0x3f0009,_0x319db1||null,_0x4319a3),_0x13cece[_0x3266('0x5e')]=_0x144ee3['createdAt'],_0x13cece[_0x3266('0x131')]=!0x0,_0xf7d414&&_0xf7d414[_0x3266('0x10c')]){const _0x583a41=_0xf7d414['@external'],_0x1a89c2=this['_getExternalAuthor'](_0x583a41[_0x3266('0x16b')]);_0x13cece[_0x3266('0x153')]=_0x583a41[_0x3266('0x5e')],_0x13cece[_0x3266('0x36')]=_0x1a89c2,_0x13cece[_0x3266('0xef')]=!0x0;}else _0x13cece[_0x3266('0x153')]=_0x144ee3[_0x3266('0x5e')];switch(_0x144ee3['data']&&(_0x13cece[_0x3266('0x30')]=_0x144ee3['data']),_0x144ee3[_0x3266('0x169')]&&(_0x13cece[_0x3266('0x169')]=_0x144ee3[_0x3266('0x169')]),this['_adapter']&&this[_0x3266('0x15e')][_0x3266('0x1f')]||(_0x13cece[_0x3266('0xc0')]=!0x0),this[_0x3266('0x49')][_0x3266('0x13b')](_0x13cece)){case'notReady':this[_0x3266('0x49')][_0x3266('0x114')](_0x13cece,_0x3266('0x2'));break;case _0x3266('0xde'):_0x13cece[_0x3266('0x130')]?(this[_0x3266('0xa0')](new Set([_0x13cece])),this[_0x3266('0x140')](new Set([_0x13cece])),this[_0x3266('0x49')][_0x3266('0x114')](_0x13cece,_0x3266('0xa5')),this[_0x3266('0x17e')](_0x3266('0x67'),_0x13cece)):this['_suggestionState'][_0x3266('0x114')](_0x13cece,_0x3266('0x12a'));}return _0x13cece;}[_0x3266('0x75')](_0x355ec4){this['forceDefaultExecution'](()=>{this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x6d')](()=>{for(const _0x25fd09 of _0x355ec4[_0x3266('0x14')]())_0x25fd09[_0x3266('0x5f')]();});});}[_0x3266('0xa2')](_0x40a664){this['forceDefaultExecution'](()=>{this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x6d')](()=>{for(const _0x56c934 of _0x40a664[_0x3266('0x14')]())_0x56c934[_0x3266('0x8a')]();});});}[_0x3266('0xd4')](_0x5c5086,_0x17b7d1){const _0x575328=this[_0x3266('0x1b')][_0x3266('0xac')][_0x3266('0x13b')](_0x5c5086);if(!_0x575328)throw new _0x1231ca('track-changes-command-not-found',this,{'commandName':_0x5c5086});if(this[_0x3266('0x11e')][_0x3266('0xb8')](_0x575328))throw new _0x1231ca('track-changes-enable-command-twice',this,{'commandName':_0x5c5086});this[_0x3266('0x11e')][_0x3266('0xf0')](_0x575328),_0x17b7d1&&_0x575328['on'](_0x3266('0x3'),(_0xecf171,_0x13d303)=>{this[_0x3266('0x93')][_0x3266('0x33')]&&(this[_0x3266('0x90')]||(_0x13d303['length']>0x0&&_0x13d303[_0x13d303[_0x3266('0x9e')]-0x1]&&_0x13d303[_0x13d303[_0x3266('0x9e')]-0x1][_0x3266('0x6c')]?_0x13d303[_0x3266('0x4d')]():(_0xecf171[_0x3266('0x32')]=_0x17b7d1((..._0x314649)=>_0x575328['execute'](..._0x314649,{'forceDefaultExecution':!0x0}),..._0x13d303),_0xecf171[_0x3266('0xdc')]())));},{'priority':_0x3266('0xad')});}[_0x3266('0x6c')](_0x5b110e){let _0x41587b,_0xf14d50;const _0x3fff3f=this[_0x3266('0x90')];this[_0x3266('0x90')]=!0x0;try{_0x41587b=_0x5b110e();}catch(_0x9dc375){_0xf14d50=_0x9dc375;}return _0x3fff3f||(this[_0x3266('0x90')]=!0x1),_0xf14d50&&_0x1231ca[_0x3266('0x14c')](_0xf14d50,this),_0x41587b;}['markInsertion'](_0x2170dc,_0x3659c0=null,_0x37ba21={}){if(_0x2170dc[_0x3266('0x16d')])return null;const _0x1cdde2=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'];for(const {suggestion:_0x22cb8a,meta:_0x3aa9de}of this[_0x3266('0x13f')](_0x2170dc,_0x3266('0xe0')))if(_0x3aa9de[_0x3266('0x158')]){if(!_0x3aa9de['isNextTo']){if(_0x3aa9de[_0x3266('0xe')]){if(!this['_mergeNestedSuggestions']||!Gt(_0x22cb8a,_0x37ba21))continue;return _0x22cb8a;}if(Gt(_0x22cb8a,_0x37ba21))return _0x22cb8a;this[_0x3266('0x10a')](_0x22cb8a,_0x2170dc[_0x3266('0x13e')],_0x2170dc[_0x3266('0x174')]);break;}if(_0x3659c0==_0x22cb8a[_0x3266('0x11d')]&&Gt(_0x22cb8a,_0x37ba21)){const _0x59b518=_0x22cb8a[_0x3266('0x147')]();return _0x59b518[_0x3266('0x13e')][_0x3266('0x47')](_0x2170dc[_0x3266('0x174')])?this[_0x3266('0x1c')](_0x22cb8a,this[_0x3266('0xf8')][_0x3266('0x45')](_0x2170dc['start'],_0x59b518[_0x3266('0x174')])):this[_0x3266('0x1c')](_0x22cb8a,this[_0x3266('0xf8')][_0x3266('0x45')](_0x59b518[_0x3266('0x13e')],_0x2170dc[_0x3266('0x174')])),_0x22cb8a;}}const _0x82445f=_0x30564f(),_0x3767f2=_0x1cdde2['id'],_0x4dfb2e=_0x3659c0?_0x3266('0xda')+_0x3659c0:_0x3266('0xe0'),_0x198713=this[_0x3266('0x18')]({'id':_0x82445f,'type':_0x4dfb2e,'createdAt':new Date(),'authorId':_0x3767f2,'attributes':_0x37ba21});return this[_0x3266('0x79')](_0x4dfb2e,_0x82445f,_0x3767f2,_0x2170dc),_0x198713;}['markMultiRangeInsertion'](_0x4b124e,_0x50d74e=_0x3266('0x74'),_0x11d7c7={}){const _0x2a90b3=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'],_0xc72f90=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0xe0'),_0x50d74e,_0x3266('0x88'));for(const _0x3d4725 of this[_0x3266('0x4c')]())if(_0x3d4725[_0x3266('0x36')]['id']==_0x2a90b3['id']&&_0x3266('0xe0')==_0x3d4725[_0x3266('0x146')]&&_0x3d4725[_0x3266('0x11d')]==_0x50d74e&&Gt(_0x3d4725,_0x11d7c7)&&(_0xc72f90(_0x3d4725['getRanges'](),_0x4b124e)||_0xc72f90(_0x4b124e,_0x3d4725[_0x3266('0x54')]()))){for(const _0x461df0 of _0x4b124e)_0x3d4725['addRange'](_0x461df0);return _0x3d4725;}for(const {suggestion:_0x322299,meta:_0x9d3b1a}of this[_0x3266('0x13f')](_0x4b124e,'insertion')){if(!_0x9d3b1a[_0x3266('0x158')])continue;if(!this[_0x3266('0xfe')]&&_0x9d3b1a[_0x3266('0xe')])continue;if(!Gt(_0x322299,_0x11d7c7))continue;let _0x42f925=!0x0;for(const _0x3a09fc of _0x322299[_0x3266('0x54')]())for(const _0x4ad4cd of _0x4b124e)if(!_0x3a09fc[_0x3266('0x34')](_0x4ad4cd)){_0x42f925=!0x1;break;}if(_0x42f925)return _0x322299;}const _0x3c7031=_0x30564f(),_0x53403b=_0x2a90b3['id'],_0x4741af='insertion:'+_0x50d74e,_0x33ca8b=this['_setSuggestionData']({'id':_0x3c7031,'type':_0x4741af,'createdAt':new Date(),'authorId':_0x53403b,'attributes':_0x11d7c7});for(const _0x292b8a of _0x4b124e)this[_0x3266('0x79')](_0x4741af,_0x3c7031,_0x53403b,_0x292b8a,_0x3717a3[_0x3266('0xcf')]());return _0x33ca8b;}[_0x3266('0x119')](_0x38059a,_0x1f109d,_0x21c1f0=null,_0x34352f={}){if(_0x21c1f0=_0x21c1f0||Rt(_0x1f109d),_0x38059a['isCollapsed'])return null;if('never'===this[_0x3266('0x1')]){const _0x4f10be=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x11'),_0x21c1f0,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x4f10be([_0x38059a],_0x1f109d,_0x34352f)),null;}const _0x34a543=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'],_0x5199ce=[];if(_0x3266('0xbc')!==this[_0x3266('0x1')])for(const {suggestion:_0x4fedd7,meta:_0x519c2c}of this[_0x3266('0x13f')](_0x38059a,'insertion'))_0x519c2c[_0x3266('0x158')]&&!_0x519c2c[_0x3266('0xd6')]&&_0x5199ce[_0x3266('0x9f')](..._0x4fedd7[_0x3266('0x54')]());const _0x52bd82=function(_0x458c72,_0x1cdacd){const _0x590703=[];for(const _0x318bea of _0x1cdacd){const _0x52e05a=_0x458c72[_0x3266('0xec')](_0x318bea);_0x52e05a&&_0x590703[_0x3266('0x9f')](_0x52e05a);}return _0x590703;}(_0x38059a,_0x5199ce),_0x1bd04d=function(_0x1c2850,_0xd6adf2){const _0x1be965=[_0x1c2850];for(const _0x1c1e95 of _0xd6adf2){let _0x4a7e18=0x0;for(;_0x4a7e18<_0x1be965[_0x3266('0x9e')];){const _0x5b84d8=_0x1be965[_0x4a7e18][_0x3266('0x17a')](_0x1c1e95);_0x1be965[_0x3266('0x8f')](_0x4a7e18,0x1,..._0x5b84d8),_0x4a7e18+=_0x5b84d8[_0x3266('0x9e')];}}return _0x1be965;}(_0x38059a,_0x5199ce);_0x52bd82['length']&&this[_0x3266('0xf8')][_0x3266('0x6d')](()=>{for(const _0x393c13 of _0x52bd82){const _0x15b180=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x11'),_0x21c1f0,_0x3266('0x5f'));this[_0x3266('0x6c')](()=>_0x15b180([_0x393c13],_0x1f109d,_0x34352f));}});for(const _0x44731f of _0x1bd04d){let _0x4396f8=null,_0x59059a=_0x44731f[_0x3266('0x13e')],_0x576bef=_0x44731f[_0x3266('0x174')];for(const {suggestion:_0x229e9d,meta:_0x2b784a}of this[_0x3266('0x13f')](_0x44731f,_0x3266('0x11'))){if(!_0x2b784a[_0x3266('0x158')])continue;if(_0x229e9d[_0x3266('0x11d')]!=_0x21c1f0)continue;if(!Gt(_0x229e9d,_0x34352f))continue;const _0x59cd7c=_0x229e9d['getFirstRange']();if(_0x59cd7c[_0x3266('0x34')](_0x44731f,!0x0))return null;_0x59059a=_0x59059a[_0x3266('0xe8')](_0x59cd7c[_0x3266('0x13e')])?_0x59059a:_0x59cd7c[_0x3266('0x13e')],_0x576bef=_0x576bef['isAfter'](_0x59cd7c[_0x3266('0x174')])?_0x576bef:_0x59cd7c[_0x3266('0x174')],_0x4396f8?_0x59cd7c[_0x3266('0x13e')][_0x3266('0xe8')](_0x4396f8[_0x3266('0x147')]()[_0x3266('0x13e')])?(_0x4396f8[_0x3266('0x14b')](),_0x4396f8=_0x229e9d):_0x229e9d[_0x3266('0x14b')]():_0x4396f8=_0x229e9d;}const _0x4cb620=this['_model']['createRange'](_0x59059a,_0x576bef);if(_0x4396f8)this[_0x3266('0x1c')](_0x4396f8,_0x4cb620);else{const _0x24e76a=_0x30564f(),_0x4b4aa9=_0x34a543['id'];this[_0x3266('0x18')]({'id':_0x24e76a,'type':_0x3266('0x15a')+_0x21c1f0,'data':_0x1f109d,'createdAt':new Date(),'authorId':_0x4b4aa9,'attributes':_0x34352f}),this['_addSuggestionMarker'](_0x3266('0x15a')+_0x21c1f0,_0x24e76a,_0x4b4aa9,_0x4cb620);}}return null;}[_0x3266('0x133')](_0x5396ad,_0x23b3c1,_0x39ec74=[],_0x32e2d1=null,_0x1bb381={}){_0x23b3c1['formatGroupId']||(_0x23b3c1[_0x3266('0xb4')]=_0x23b3c1[_0x3266('0x8e')]),_0x23b3c1['multipleBlocks']=_0x5396ad['is'](_0x3266('0x29')),_0x32e2d1=_0x32e2d1||Rt(_0x23b3c1);const _0x122b21=_0x39ec74[_0x3266('0x152')](_0x504d12=>Ut(_0x504d12,this[_0x3266('0xf8')])),_0x358352=_0x5396ad['is'](_0x3266('0x29'))?_0x5396ad:Ut(_0x5396ad,this[_0x3266('0xf8')]);if(_0x3266('0xfd')===this[_0x3266('0x1')]){const _0x42755c=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x110'),_0x32e2d1,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x42755c([_0x358352],_0x23b3c1,_0x1bb381)),null;}_0x122b21[_0x3266('0x9f')](_0x358352);let _0xc6d68=!0x0;for(const _0x57748f of _0x122b21)if(!this[_0x3266('0x12e')](_0x57748f)){_0xc6d68=!0x1;break;}if(_0xc6d68&&_0x3266('0xbc')!==this[_0x3266('0x1')]){const _0x44cac1=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x110'),_0x32e2d1,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x44cac1([_0x358352],_0x23b3c1,_0x1bb381)),null;}let _0xe787cc=null,_0x27960b=_0x358352[_0x3266('0x13e')],_0x589d04=_0x358352[_0x3266('0x174')];for(const {suggestion:_0x51c160,meta:_0x3a7111}of this['_findSuggestions'](_0x358352,_0x3266('0x110'))){if(!_0x3a7111['isOwn'])continue;if(_0x3a7111[_0x3266('0x13')]||_0x3a7111['containsRangeInObject']||_0x3a7111[_0x3266('0xd6')])continue;if(_0x51c160[_0x3266('0x30')][_0x3266('0xb4')]!=_0x23b3c1['formatGroupId'])continue;if(!Gt(_0x51c160,_0x1bb381))continue;const _0x5a6c2c=_0x51c160[_0x3266('0x147')]();if(_0x51c160[_0x3266('0x11d')]==_0x32e2d1){if(_0x5a6c2c[_0x3266('0x34')](_0x358352,!0x0))return null;_0x27960b=_0x27960b['isBefore'](_0x5a6c2c[_0x3266('0x13e')])?_0x27960b:_0x5a6c2c['start'],_0x589d04=_0x589d04[_0x3266('0x14d')](_0x5a6c2c[_0x3266('0x174')])?_0x589d04:_0x5a6c2c[_0x3266('0x174')],_0xe787cc?_0x5a6c2c[_0x3266('0x13e')][_0x3266('0xe8')](_0xe787cc[_0x3266('0x147')]()[_0x3266('0x13e')])?(_0xe787cc[_0x3266('0x14b')](),_0xe787cc=_0x51c160):_0x51c160[_0x3266('0x14b')]():_0xe787cc=_0x51c160;}else{const _0x555ad0=_0x358352[_0x3266('0xec')](_0x5a6c2c);this['_cutOutSuggestionMarker'](_0x51c160,_0x555ad0);}}const _0x3dfd8b=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'],_0x4eff58=_0x30564f(),_0x247269=_0x3dfd8b['id'];if(_0xe787cc)return this[_0x3266('0x1c')](_0xe787cc,this[_0x3266('0xf8')][_0x3266('0x45')](_0x27960b,_0x589d04)),_0xe787cc;{const _0x1887e7=this[_0x3266('0x18')]({'id':_0x4eff58,'type':_0x3266('0x3d')+_0x32e2d1,'data':_0x23b3c1,'createdAt':new Date(),'authorId':_0x247269,'attributes':_0x1bb381});return this['_addSuggestionMarker'](_0x3266('0x3d')+_0x32e2d1,_0x4eff58,_0x247269,this[_0x3266('0xf8')][_0x3266('0x45')](_0x27960b,_0x589d04)),_0x1887e7;}}[_0x3266('0x128')](_0x374022,_0x1171da,_0x5d0527=[],_0x2af8e8=null,_0x397d5e={}){_0x1171da['formatGroupId']||(_0x1171da[_0x3266('0xb4')]=_0x1171da['commandName']);const _0x22a024=_0x374022[0x0];_0x1171da[_0x3266('0x14e')]=_0x22a024['is'](_0x3266('0x29')),_0x2af8e8=_0x2af8e8||Rt(_0x1171da);const _0x306a99=_0x5d0527[_0x3266('0x152')](_0x194c6c=>Ut(_0x194c6c,this[_0x3266('0xf8')])),_0x337eef=_0x22a024['is']('range')?_0x374022:_0x374022['map'](_0x2d53c0=>Ut(_0x2d53c0,this[_0x3266('0xf8')]));if(_0x3266('0xfd')===this[_0x3266('0x1')]){const _0x48e01d=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x110'),_0x2af8e8,'accept');return this[_0x3266('0x6c')](()=>_0x48e01d(_0x337eef,_0x1171da,_0x397d5e)),null;}_0x306a99[_0x3266('0x9f')](..._0x337eef);let _0xef0941=!0x0;for(const _0x3e331a of _0x306a99)if(!this[_0x3266('0x12e')](_0x3e331a)){_0xef0941=!0x1;break;}if(_0xef0941&&_0x3266('0xbc')!==this[_0x3266('0x1')]){const _0x158eb7=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x110'),_0x2af8e8,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x158eb7(_0x337eef,_0x1171da,_0x397d5e)),null;}const _0x3c828a=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'];for(const _0x281733 of this[_0x3266('0x4c')]()){if(_0x281733[_0x3266('0x36')]['id']!=_0x3c828a['id'])continue;if(_0x3266('0x110')!=_0x281733['type']||_0x281733[_0x3266('0x30')][_0x3266('0xb4')]!=_0x1171da['formatGroupId'])continue;if(!Gt(_0x281733,_0x397d5e))continue;const _0x19c0c2=_0x281733[_0x3266('0x11d')]==_0x2af8e8;for(let _0x5229bd=0x0;_0x5229bd<_0x337eef[_0x3266('0x9e')];_0x5229bd++){const _0x534ac4=_0x337eef[_0x5229bd];for(const _0x23939d of _0x281733[_0x3266('0x71')]()){const _0x49d6f5=_0x23939d[_0x3266('0xba')]();if(_0x534ac4[_0x3266('0x47')](_0x49d6f5)){_0x19c0c2?(_0x337eef[_0x3266('0x8f')](_0x5229bd,0x1),_0x5229bd--):_0x281733['removeMarker'](_0x23939d[_0x3266('0xa4')]);break;}}}}if(0x0==_0x337eef[_0x3266('0x9e')])return null;const _0x36e3cd=this[_0x3266('0x5a')]['getSuggestionCallback']('formatBlock',_0x2af8e8,'join');for(const _0x4de1d2 of this[_0x3266('0x4c')]())if(_0x4de1d2[_0x3266('0x36')]['id']==_0x3c828a['id']&&_0x3266('0x110')==_0x4de1d2[_0x3266('0x146')]&&_0x4de1d2[_0x3266('0x30')][_0x3266('0xb4')]==_0x1171da['formatGroupId']&&_0x4de1d2['subType']==_0x2af8e8&&Gt(_0x4de1d2,_0x397d5e)&&(_0x36e3cd(_0x4de1d2[_0x3266('0x54')](),_0x337eef)||_0x36e3cd(_0x337eef,_0x4de1d2[_0x3266('0x54')]()))){for(const _0x4b18d0 of _0x337eef)_0x4de1d2[_0x3266('0x15b')](_0x4b18d0);return _0x4de1d2;}const _0x329e6a=_0x30564f(),_0x1165cb=_0x3c828a['id'],_0x44fef8=_0x3266('0x3d')+_0x2af8e8,_0x294d52=this[_0x3266('0x18')]({'id':_0x329e6a,'type':_0x44fef8,'data':_0x1171da,'createdAt':new Date(),'authorId':_0x1165cb,'attributes':_0x397d5e});for(const _0x4ac03f of _0x337eef)this['_addSuggestionMarker'](_0x44fef8,_0x329e6a,_0x1165cb,_0x4ac03f,_0x3717a3[_0x3266('0xcf')]());return _0x294d52;}[_0x3266('0x16c')](_0x1630f9,_0xa85f69=null,_0x2ff659={}){if(_0x1630f9[_0x3266('0x16d')])return null;const _0x15269e=this['editor'][_0x3266('0xdb')]['get']('Users')['me'],_0xf034a6=new _0x15e6db(_0x1630f9[_0x3266('0x13e')],_0x1630f9[_0x3266('0x174')]);for(const {suggestion:_0xa17192,meta:_0x1bf6d9}of this['_findSuggestions'](_0xf034a6,_0x3266('0xe0')))if(_0x1bf6d9[_0x3266('0x158')]&&!_0x1bf6d9[_0x3266('0x13')]){if(_0xa17192[_0x3266('0x58')]){const _0x2c0e47=_0xa17192[_0x3266('0x54')]()[_0x3266('0x70')](_0x248146=>_0x3266('0xbd')!=_0x248146[_0x3266('0x117')]['rootName']);_0x2c0e47[_0x3266('0x179')](_0x2299c6=>_0xf034a6['containsRange'](_0x2299c6,!0x0))&&_0xa17192[_0x3266('0x8a')]();if(_0x2c0e47[_0x3266('0x94')](_0x56fdbb=>_0x56fdbb['containsRange'](_0xf034a6,!0x0))){const _0x274be0=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x137'),_0xa85f69,'accept');return this[_0x3266('0x6c')](()=>_0x274be0([_0xf034a6],null,_0x2ff659)),null;}}else{const _0x593e71=_0xf034a6['getIntersection'](_0xa17192['getFirstRange']());null!==_0x593e71&&_0xa17192[_0x3266('0x7d')]([_0x593e71],null,_0x2ff659);}}if(_0xf034a6[_0x3266('0x69')](),_0xf034a6[_0x3266('0x16d')]||_0x3266('0xbd')==_0xf034a6['root'][_0x3266('0xeb')])return null;let _0x20f9d6=null,_0x5c269e=_0xf034a6[_0x3266('0x13e')],_0x299572=_0xf034a6['end'];const _0x49784f=this['_findSuggestions'](_0xf034a6,_0x3266('0x137'));for(const {suggestion:_0x2700c4,meta:_0x43d20f}of _0x49784f){const _0x18e74f=this[_0x3266('0xf8')][_0x3266('0x45')](_0x5c269e,_0x299572);if(_0x43d20f[_0x3266('0x158')]&&(this[_0x3266('0xfe')]||!_0x43d20f[_0x3266('0xe')]&&!_0x43d20f[_0x3266('0xd6')])){if(_0x2700c4[_0x3266('0x58')]){if(!Gt(_0x2700c4,_0x2ff659))continue;let _0x52e3de=!0x0;for(const _0x2361d4 of _0x2700c4['getRanges']()){if(_0x2361d4[_0x3266('0x34')](_0x18e74f,!0x0))return _0x2700c4;_0x18e74f[_0x3266('0x34')](_0x2361d4)||(_0x52e3de=!0x1);}_0x52e3de&&_0x2700c4[_0x3266('0x8a')]();}else{const _0x4950f0=_0x2700c4[_0x3266('0x147')]();if(_0x4950f0[_0x3266('0x34')](_0x18e74f,!0x0))return _0x2700c4;if(!Gt(_0x2700c4,_0x2ff659)){_0x18e74f[_0x3266('0x34')](_0x4950f0)?_0x2700c4[_0x3266('0x14b')]():_0x4950f0['containsPosition'](_0x5c269e)?_0x5c269e=_0x4950f0['end']:_0x4950f0[_0x3266('0x134')](_0x299572)&&(_0x299572=_0x4950f0['start']);continue;}_0x5c269e=_0x5c269e[_0x3266('0xe8')](_0x4950f0[_0x3266('0x13e')])?_0x5c269e:_0x4950f0[_0x3266('0x13e')],_0x299572=_0x299572[_0x3266('0x14d')](_0x4950f0['end'])?_0x299572:_0x4950f0[_0x3266('0x174')],_0x2ff659=Object[_0x3266('0xa7')]({},_0x2700c4[_0x3266('0x169')]),_0x20f9d6?_0x4950f0['start'][_0x3266('0xe8')](_0x20f9d6[_0x3266('0x147')]()[_0x3266('0x13e')])?(_0x20f9d6[_0x3266('0x14b')](),_0x20f9d6=_0x2700c4):_0x2700c4[_0x3266('0x14b')]():_0x20f9d6=_0x2700c4;}}}if(_0x20f9d6)return this[_0x3266('0x1c')](_0x20f9d6,this[_0x3266('0xf8')]['createRange'](_0x5c269e,_0x299572)),_0x20f9d6;{const _0x543abf=_0x30564f(),_0x6dfcca=this['_model'][_0x3266('0x45')](_0x5c269e,_0x299572),_0xbe194f=_0x15269e['id'],_0x577d46=_0xa85f69?_0x3266('0x104')+_0xa85f69:_0x3266('0x137'),_0x39b0d5=this[_0x3266('0x18')]({'id':_0x543abf,'type':_0x577d46,'createdAt':new Date(),'authorId':_0xbe194f,'attributes':_0x2ff659});return this['_addSuggestionMarker'](_0x577d46,_0x543abf,_0xbe194f,_0x6dfcca),_0x39b0d5;}}[_0x3266('0x141')](_0x380907,_0x39378f=_0x3266('0x74'),_0x1aac84={}){const _0x3bcf70=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')]('Users')['me'],_0xa85b9f=_0x380907[_0x3266('0x152')](_0x20ebbe=>new _0x15e6db(_0x20ebbe[_0x3266('0x13e')],_0x20ebbe[_0x3266('0x174')])),_0x54c5f9=new Set();for(const {suggestion:_0x3d7735,meta:_0x51ee75}of this[_0x3266('0x13f')](_0xa85b9f,_0x3266('0xe0')))_0x51ee75['isOwn']&&!_0x51ee75[_0x3266('0x13')]&&_0x54c5f9['add'](_0x3d7735);for(const _0x2a038b of _0x54c5f9)if(_0x2a038b[_0x3266('0x58')]){const _0x566cd4=_0x2a038b[_0x3266('0x54')]();(!_0x2a038b['attributes']||!_0x2a038b[_0x3266('0x169')]['skipNestingCheck'])&&(_0x566cd4[_0x3266('0x179')](_0x3c67f1=>_0xa85b9f['some'](_0x4345ad=>_0x4345ad[_0x3266('0x34')](_0x3c67f1,!0x0)))&&_0x2a038b[_0x3266('0x8a')]());if(_0xa85b9f[_0x3266('0x179')](_0x284067=>_0x566cd4[_0x3266('0x94')](_0x26e1c3=>_0x26e1c3[_0x3266('0x34')](_0x284067,!0x0)))){const _0x392aa2=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x137'),_0x39378f,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x392aa2(_0x380907,null,_0x1aac84)),null;}}else{const _0x4284a2=_0x2a038b[_0x3266('0x147')]();_0xa85b9f['some'](_0x82cbf=>_0x82cbf[_0x3266('0x34')](_0x4284a2,!0x0))&&_0x2a038b[_0x3266('0x8a')]();if(_0xa85b9f[_0x3266('0x179')](_0xfea5cb=>_0x4284a2[_0x3266('0x34')](_0xfea5cb,!0x0))){const _0x5226e3=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x137'),_0x39378f,_0x3266('0x5f'));return this['forceDefaultExecution'](()=>_0x5226e3(_0xa85b9f,null,_0x1aac84)),null;}}const _0x1e8988=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x137'),_0x39378f,_0x3266('0x88'));let _0x532b90=null;for(const _0x167314 of this[_0x3266('0x4c')]())if(_0x167314[_0x3266('0x36')]['id']==_0x3bcf70['id']&&_0x167314['isInContent']&&'deletion'==_0x167314[_0x3266('0x146')]&&_0x167314[_0x3266('0x11d')]==_0x39378f&&Gt(_0x167314,_0x1aac84)&&(_0x1e8988(_0x167314['getRanges'](),_0xa85b9f)||_0x1e8988(_0xa85b9f,_0x167314[_0x3266('0x54')]()))){if(_0x532b90){if(_0x167314[_0x3266('0x121')]&&_0x167314[_0x3266('0x121')][_0x3266('0x9e')])continue;for(const _0x3ec301 of _0x167314['getRanges']())_0x532b90[_0x3266('0x17c')](_0x3ec301)||_0x532b90[_0x3266('0x15b')](_0x3ec301);_0x167314[_0x3266('0x14b')]();}else{_0x532b90=_0x167314;for(const _0x47f1e3 of _0xa85b9f)_0x167314[_0x3266('0x17c')](_0x47f1e3)||_0x167314['addRange'](_0x47f1e3);}}if(_0x532b90)return _0x532b90;_0x54c5f9[_0x3266('0xd5')]();for(const {suggestion:_0x26b055,meta:_0x4151db}of this['_findSuggestions'](_0xa85b9f,_0x3266('0x137')))_0x4151db[_0x3266('0x158')]&&(this[_0x3266('0xfe')]||!_0x4151db[_0x3266('0xe')]&&!_0x4151db[_0x3266('0xd6')])&&Gt(_0x26b055,_0x1aac84)&&_0x54c5f9[_0x3266('0xf0')](_0x26b055);for(const _0x2fc529 of _0x54c5f9){const _0x3caba4=_0x2fc529['getRanges']();if(!_0x1aac84||!_0x1aac84['skipNestingCheck']){if(_0xa85b9f[_0x3266('0x179')](_0x274e0a=>_0x3caba4[_0x3266('0x94')](_0xf3e376=>_0xf3e376['containsRange'](_0x274e0a,!0x0))))return _0x2fc529;}(!_0x2fc529['attributes']||!_0x2fc529[_0x3266('0x169')][_0x3266('0xe6')])&&(_0x3caba4['every'](_0x50290a=>_0xa85b9f[_0x3266('0x94')](_0x177b61=>_0x177b61[_0x3266('0x34')](_0x50290a,!0x0)))&&_0x2fc529[_0x3266('0x8a')]());}const _0x4f0d7b=_0x30564f(),_0x25eeb8=_0x3bcf70['id'],_0x58aaeb=_0x3266('0x104')+_0x39378f,_0x4eaac8=this[_0x3266('0x18')]({'id':_0x4f0d7b,'type':_0x58aaeb,'createdAt':new Date(),'authorId':_0x25eeb8,'attributes':_0x1aac84});for(const _0x412cbd of _0xa85b9f)_0x412cbd['detach'](),_0x412cbd['isCollapsed']||_0x3266('0xbd')==_0x412cbd[_0x3266('0x117')][_0x3266('0xeb')]||this['_addSuggestionMarker'](_0x58aaeb,_0x4f0d7b,_0x25eeb8,_0x412cbd,_0x3717a3[_0x3266('0xcf')]());return _0x4eaac8;}[_0x3266('0x2e')](_0x336921,_0x2975a1,_0x5c9145,_0x1e6ee0,_0x57f364){if(_0x336921[_0x3266('0x16d')])return[];if('never'===this[_0x3266('0x1')])return[];const _0x4c49b6=this[_0x3266('0x1b')]['plugins'][_0x3266('0x13b')](_0x3266('0xb9'))['me']['id'],_0x30d76c=Array[_0x3266('0xb3')](this[_0x3266('0x129')][_0x3266('0x16f')]())[_0x3266('0x70')](_0x469491=>_0x3266('0x48')==_0x469491['type']&&_0x469491[_0x3266('0x30')]['key']==_0x2975a1&&_0x469491[_0x3266('0x17c')](_0x336921));if(_0x3266('0x73')===this['_trackFormatChanges']){const _0x2f2690=this[_0x3266('0x13f')](_0x336921,_0x3266('0xe0'))[_0x3266('0x70')](({meta:_0x3249d8})=>_0x3249d8[_0x3266('0x158')]&&!_0x3249d8[_0x3266('0xd6')]&&!_0x3249d8['isNextTo'])[_0x3266('0x152')](({suggestion:_0x21eb3b})=>_0x21eb3b);_0x30d76c[_0x3266('0xd9')](..._0x2f2690);}const _0xf8b5b8=new Map([[_0x336921,_0x5c9145]]);for(const _0x40f7ef of _0x30d76c){const _0x5d41dd='attribute'==_0x40f7ef[_0x3266('0x146')]?_0x40f7ef['data'][_0x3266('0x15c')]:void 0x0,_0x44672c=_0x40f7ef[_0x3266('0x147')](),_0x50c862=Array[_0x3266('0xb3')](_0xf8b5b8['keys']())[_0x3266('0x13a')](_0x3b8996=>_0x3b8996[_0x3266('0x40')](_0x44672c));if(!_0x50c862)continue;const _0x4d6b52=_0x50c862[_0x3266('0x17a')](_0x44672c);this[_0x3266('0x98')](_0x2975a1)&&_0x3266('0xe0')==_0x40f7ef[_0x3266('0x146')]&&0x0!=_0x4d6b52[_0x3266('0x9e')]||(_0xf8b5b8['delete'](_0x50c862),_0x4d6b52[_0x3266('0xa8')](_0x2c2bf3=>{_0xf8b5b8[_0x3266('0x114')](_0x2c2bf3,_0x5c9145);}),_0x3266('0xe0')!=_0x40f7ef[_0x3266('0x146')]&&_0x5d41dd!=_0x1e6ee0&&_0xf8b5b8[_0x3266('0x114')](_0x50c862[_0x3266('0xec')](_0x44672c),_0x5d41dd));}const _0x4a2dbb=[];for(const [_0x2a9f85,_0x34c2c9]of _0xf8b5b8){const _0x25750a=_0x30564f(),_0x51bda4={'key':_0x2975a1,'oldValue':_0x34c2c9,'newValue':_0x1e6ee0};_0x2975a1[_0x3266('0x9e')]>0x25&&console['warn'](_0x3266('0x42'),{'key':_0x2975a1});const _0x1fd1dd=(_0x3266('0x5c')+(_0x2975a1+'|'+Rt({'newValue':_0x1e6ee0})))[_0x3266('0x25')](0x0,0x3c),_0x3e70a8=this[_0x3266('0x18')]({'id':_0x25750a,'type':_0x1fd1dd,'data':_0x51bda4,'createdAt':new Date(),'authorId':_0x4c49b6,'attributes':_0x57f364});_0x4a2dbb[_0x3266('0x9f')](_0x3e70a8),this['_addSuggestionMarker'](_0x1fd1dd,_0x25750a,_0x4c49b6,_0x2a9f85);}return _0x4a2dbb;}[_0x3266('0x181')](_0x4cdf8c){this[_0x3266('0x144')]['add'](_0x4cdf8c);}[_0x3266('0xc8')](_0x45ccb0){this['_inlineAttributeKeys']['add'](_0x45ccb0);}['_enableDefaultAttributesIntegration'](_0x584ff1,_0xe25d41=[],_0x3dfc26=[]){this[_0x3266('0xd4')](_0x584ff1,(_0x4cef72,..._0x88c3e3)=>{this[_0x3266('0xdd')](()=>{_0x4cef72(..._0x88c3e3);});});for(const _0x52bfb3 of _0xe25d41)this[_0x3266('0xc8')](_0x52bfb3);for(const _0x588f30 of _0x3dfc26)this['_registerBlockAttribute'](_0x588f30);}['_setSuggestionRange'](_0x2df796,_0x7ee15d){const _0x16f86b=_0x2df796[_0x3266('0x43')]();this[_0x3266('0xf8')][_0x3266('0x6d')](_0x3d2a4d=>{_0x3d2a4d[_0x3266('0xbb')](_0x16f86b,{'range':_0x7ee15d});});}[_0x3266('0xc1')](_0x5dbc28){const _0x28d29a=_0x5dbc28['id'],_0x1e6d81=this[_0x3266('0x1b')][_0x3266('0x12f')]['get']('collaboration.channelId');this[_0x3266('0x7')][_0x3266('0x148')](_0x28d29a)||this[_0x3266('0x7')][_0x3266('0xea')]({'channelId':_0x1e6d81,'threadId':_0x28d29a,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x56f886=this[_0x3266('0x7')][_0x3266('0x6a')](_0x28d29a);_0x56f886[_0x3266('0x55')]('isRemovable'),_0x56f886[_0x3266('0x60')]=!0x1,_0x5dbc28[_0x3266('0x121')]=_0x56f886;}[_0x3266('0x118')](_0x178efc,_0x27e21f,_0xc30a47,_0x2ef28a){if(_0x178efc['type']!=_0x27e21f||_0x178efc[_0x3266('0x11d')]!=_0xc30a47||_0x178efc['creator']['id']!=_0x2ef28a)throw this['editor']['enableReadOnlyMode'](_0x3266('0xb2')),new _0x1231ca(_0x3266('0xb2'),this);}[_0x3266('0x83')](_0xdacc4f,_0x392c1f){const _0x35d3c6=_0xdacc4f[_0x3266('0x147')]();if(_0x392c1f[_0x3266('0x47')](_0x35d3c6))_0xdacc4f[_0x3266('0x14b')]();else{if(_0x35d3c6[_0x3266('0x34')](_0x392c1f)){const _0x4ee129=this[_0x3266('0xf8')][_0x3266('0x61')](_0x392c1f[_0x3266('0x13e')][_0x3266('0xd2')],_0x3266('0x174'));this[_0x3266('0x1c')](_0xdacc4f,this[_0x3266('0xf8')][_0x3266('0x45')](_0x35d3c6['start'],_0x4ee129));const _0x319b72=_0x30564f(),_0x5bd9f5=_0xdacc4f[_0x3266('0x8d')]['id'],_0x51c949=_0xdacc4f['type']+':'+_0xdacc4f['subType'];this[_0x3266('0x18')]({'id':_0x319b72,'type':_0x51c949,'createdAt':new Date(),'authorId':_0x5bd9f5,'data':_0xdacc4f[_0x3266('0x30')],'attributes':_0xdacc4f['attributes']});const _0x54bfbb=this[_0x3266('0xf8')][_0x3266('0x61')](_0x392c1f['end'][_0x3266('0x7b')],'after'),_0x247f29=this['_model']['createRange'](_0x54bfbb,_0x35d3c6[_0x3266('0x174')]);this[_0x3266('0x79')](_0x51c949,_0x319b72,_0x5bd9f5,_0x247f29);}else{if(_0x35d3c6[_0x3266('0x134')](_0x392c1f[_0x3266('0x13e')])){const _0x1945af=this['_model'][_0x3266('0x61')](_0x392c1f[_0x3266('0x13e')][_0x3266('0xd2')],_0x3266('0x174'));this[_0x3266('0x1c')](_0xdacc4f,this[_0x3266('0xf8')][_0x3266('0x45')](_0x35d3c6[_0x3266('0x13e')],_0x1945af));}else{const _0x14a9e1=this[_0x3266('0xf8')][_0x3266('0x61')](_0x392c1f['end'][_0x3266('0x7b')],_0x3266('0x23'));this[_0x3266('0x1c')](_0xdacc4f,this['_model'][_0x3266('0x45')](_0x14a9e1,_0x35d3c6[_0x3266('0x174')]));}}}}[_0x3266('0x12e')](_0x169c9a){for(const {suggestion:_0x386d38,meta:_0x3f3d95}of this['_findSuggestions'](_0x169c9a,_0x3266('0xe0'))){if(!_0x3f3d95[_0x3266('0x158')])continue;const _0x51c831=_0x386d38['getRanges']();for(const _0x332e05 of _0x51c831)if(!_0x169c9a[_0x3266('0x17a')](_0x332e05)[_0x3266('0x9e')])return!0x0;}return!0x1;}[_0x3266('0x85')](_0x5dcf79){const _0x46e41f=this[_0x3266('0x1b')]['plugins'][_0x3266('0x13b')](_0x3266('0xb9'))['getUser'](_0x5dcf79);if(!_0x46e41f)throw new _0x1231ca(_0x3266('0x123'),this);return _0x46e41f;}['_getExternalAuthor'](_0x382348){const _0x13dc16=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9')),_0x9a35c1=_0x2cbd9a(_0x3266('0xd8')+_0x382348),_0x33c742=_0x13dc16['getUser'](_0x9a35c1);return _0x33c742||_0x13dc16[_0x3266('0x2c')]({'id':_0x9a35c1,'name':_0x382348});}[_0x3266('0x92')](_0x303c7c,_0x286589,_0x550a9e,_0x12ea10,_0x52f2a6){const _0x1a75c8=this[_0x3266('0x85')](_0x12ea10),_0x177b01=this[_0x3266('0x5a')][_0x3266('0xf1')](_0x303c7c,_0x286589,_0x550a9e,_0x1a75c8,_0x52f2a6,_0x4de18e=>this[_0x3266('0x6e')](_0x550a9e,{'attributes':_0x4de18e}));return this[_0x3266('0x3c')](_0x177b01,_0x3266('0x5f'),()=>{this['_updateSuggestionData'](_0x550a9e,{'state':_0x3266('0x1e')});},{'priority':'high'}),this[_0x3266('0x3c')](_0x177b01,_0x3266('0x8a'),()=>{this[_0x3266('0x6e')](_0x550a9e,{'state':_0x3266('0x12b')});},{'priority':_0x3266('0xad')}),this[_0x3266('0x129')]['set'](_0x550a9e,_0x177b01),this[_0x3266('0x49')][_0x3266('0x114')](_0x177b01,_0x3266('0x11c')),_0x177b01;}[_0x3266('0x51')](_0x4e3285){const _0x3ac940=_0x4e3285['split'](':');return{'group':_0x3ac940[0x0],'type':_0x3ac940[0x1],'subType':_0x3ac940[_0x3266('0x9e')]>=0x5?_0x3ac940[0x2]:null,'id':_0x3ac940['length']<0x5?_0x3ac940[0x2]:_0x3ac940[0x3],'authorId':_0x3ac940[_0x3266('0x9e')]<0x5?_0x3ac940[0x3]:_0x3ac940[0x4],'markerCount':0x6==_0x3ac940['length']?_0x3ac940[0x5]:null};}['_breakSuggestionMarker'](_0x375a94,_0x19adba,_0x53dfbd){const _0x71fa3b=_0x375a94['getFirstRange'](),_0x262032=_0x71fa3b['start'],_0x1236c2=_0x71fa3b['end'];this[_0x3266('0x1c')](_0x375a94,this[_0x3266('0xf8')]['createRange'](_0x262032,_0x19adba));const _0x5a7415=_0x30564f(),_0x300579=_0x375a94[_0x3266('0x8d')]['id'],_0x5e8a2b=_0x375a94[_0x3266('0x146')]+(_0x375a94[_0x3266('0x11d')]?':'+_0x375a94[_0x3266('0x11d')]:'');this['_setSuggestionData']({'id':_0x5a7415,'type':_0x5e8a2b,'createdAt':new Date(),'authorId':_0x300579,'originalSuggestionId':_0x375a94['id'],'attributes':_0x375a94['attributes'],'data':_0x375a94['data']});const _0x14f5bf=Pt(_0x375a94);(_0x3266('0x110')==_0x375a94[_0x3266('0x146')]||_0x14f5bf&&this[_0x3266('0x98')](_0x14f5bf))&&(_0x53dfbd=this[_0x3266('0xf8')][_0x3266('0x162')](_0x53dfbd[_0x3266('0x7b')])),this[_0x3266('0x79')](_0x5e8a2b,_0x5a7415,_0x300579,this[_0x3266('0xf8')][_0x3266('0x45')](_0x53dfbd,_0x1236c2));}[_0x3266('0x13f')](_0x4aa4d8,_0x168fb7=null){const _0x4c37b1=[],_0x52aeb8=this[_0x3266('0x1b')][_0x3266('0xdb')]['get'](_0x3266('0xb9'))['me'];Array[_0x3266('0xff')](_0x4aa4d8)||(_0x4aa4d8=[_0x4aa4d8]);for(const _0x5b9755 of this[_0x3266('0x4c')]()){if(!_0x5b9755[_0x3266('0x130')])continue;if(_0x168fb7&&_0x5b9755[_0x3266('0x146')]!=_0x168fb7)continue;let _0x2a36b7=!0x1;for(const _0x17da6a of _0x5b9755[_0x3266('0x54')]()){for(const _0x576ef1 of _0x4aa4d8){const _0x4519ca=_0x576ef1['start'][_0x3266('0x47')](_0x17da6a[_0x3266('0x174')])||_0x576ef1[_0x3266('0x174')][_0x3266('0x47')](_0x17da6a['start']);if(_0x4519ca||_0x576ef1['getIntersection'](_0x17da6a)){const _0x3fd191=_0x576ef1['containsRange'](_0x17da6a)&&Tt(this['_model'][_0x3266('0xc3')],_0x17da6a[_0x3266('0x13e')],_0x576ef1),_0x303d06=_0x17da6a['containsRange'](_0x576ef1)&&Tt(this[_0x3266('0xf8')]['schema'],_0x576ef1[_0x3266('0x13e')],_0x17da6a);_0x4c37b1['push']({'suggestion':_0x5b9755,'meta':{'isOwn':_0x52aeb8==_0x5b9755['author'],'isNextTo':_0x4519ca,'isInsideObject':_0x3fd191,'containsRangeInObject':_0x303d06}}),_0x2a36b7=!0x0;break;}}if(_0x2a36b7)break;}}return _0x4c37b1;}[_0x3266('0x79')](_0x7b864f,_0x4e01f6,_0x1972d8,_0x473eb2,_0x319290){this[_0x3266('0xf8')][_0x3266('0x6d')](_0x2e2b5f=>{let _0x22332d=_0x3266('0x16')+_0x7b864f+':'+_0x4e01f6+':'+_0x1972d8;_0x319290&&(_0x22332d=_0x22332d+':'+_0x319290),_0x2e2b5f[_0x3266('0x28')](_0x22332d,{'range':_0x473eb2,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x16b7b9){const _0x11818b=_0x16b7b9[_0x3266('0xaf')],_0x9d6265=_0x16b7b9[_0x3266('0x68')];_0x16b7b9['previous']=null,_0x16b7b9[_0x3266('0x68')]=null,null!=_0x11818b&&(_0x11818b[_0x3266('0x68')]=_0x9d6265),null!=_0x9d6265&&(_0x9d6265['previous']=_0x11818b),_0x3266('0xa5')==this['_suggestionState'][_0x3266('0x13b')](_0x16b7b9)&&(this[_0x3266('0x49')]['set'](_0x16b7b9,_0x3266('0x12a')),this[_0x3266('0x17e')](_0x3266('0x91'),_0x16b7b9,_0x11818b,_0x9d6265));}[_0x3266('0x18')](_0x54f64c){const _0x4e97aa=_0x54f64c['id'],_0x58707a=this[_0x3266('0x44')](_0x54f64c);if(this[_0x3266('0x15e')]&&this[_0x3266('0x15e')][_0x3266('0x1f')]){const _0x4c13c4=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')]('PendingActions'),_0x381c5c=_0x58707a['hasComments'],_0x5c0037=_0x58707a[_0x3266('0x11d')]?_0x58707a['type']+':'+_0x58707a[_0x3266('0x11d')]:_0x58707a['type'],_0x489770=this[_0x3266('0x1b')]['locale'],_0x57bfe9=_0x4c13c4[_0x3266('0xf0')](_0x5cb1d5(_0x489770,_0x3266('0x113'))),_0x168fc8={'id':_0x4e97aa,'type':_0x5c0037,'hasComments':_0x381c5c,'data':_0x54f64c[_0x3266('0x30')]||null,'originalSuggestionId':_0x54f64c[_0x3266('0x78')]||null,'attributes':_0x58707a['attributes']};this['_adapter'][_0x3266('0x1f')](_0x168fc8)[_0x3266('0x163')](_0x126fde=>{_0x58707a[_0x3266('0xc0')]=!0x0,_0x4c13c4['remove'](_0x57bfe9),_0x126fde&&_0x126fde[_0x3266('0x5e')]&&(this[_0x3266('0x129')][_0x3266('0x13b')](_0x4e97aa)[_0x3266('0x5e')]=_0x126fde[_0x3266('0x5e')]);})[_0x3266('0x136')](_0x5c0c21=>{throw _0x4cde5f(_0x3266('0xed')),this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x105')]({'isUndoable':!0x1},()=>{_0x58707a[_0x3266('0x8a')]();}),_0x58707a['stopListening'](),this['_suggestions'][_0x3266('0x4f')](_0x58707a['id']),this[_0x3266('0x49')][_0x3266('0x4f')](_0x58707a),_0x5c0c21;});}return _0x58707a;}[_0x3266('0x98')](_0x25cabd){return this[_0x3266('0x144')]['has'](_0x25cabd);}[_0x3266('0x6e')](_0x10a933,_0x1a4b8b){const _0x5c2e3a=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0x9c')),_0x5f2fe3=this[_0x3266('0x154')](_0x10a933);if(this[_0x3266('0x15e')]&&this[_0x3266('0x15e')][_0x3266('0x86')]){if(_0x5f2fe3[_0x3266('0xc0')]){const _0x22095f=_0x5c2e3a['add'](_0x5cb1d5(this[_0x3266('0x1b')][_0x3266('0x35')],_0x3266('0x113')));this[_0x3266('0x15e')][_0x3266('0x86')](_0x10a933,_0x1a4b8b)['then'](()=>{_0x5c2e3a[_0x3266('0x156')](_0x22095f);});}else _0x5f2fe3['on'](_0x3266('0x24'),()=>{this[_0x3266('0x6e')](_0x10a933,_0x1a4b8b);});}}[_0x3266('0x65')](_0x2e774e){if(!this[_0x3266('0x15e')]||!this[_0x3266('0x15e')][_0x3266('0x154')])throw new _0x1231ca(_0x3266('0x13d'),this);return this[_0x3266('0x15e')][_0x3266('0x154')](_0x2e774e);}[_0x3266('0x96')](_0x2128ef){const {id:_0x19b964,type:_0x162479,subType:_0x42f847,authorId:_0x50a77f}=this[_0x3266('0x51')](_0x2128ef),_0x2aff7a=this[_0x3266('0x129')][_0x3266('0x13b')](_0x19b964)||this[_0x3266('0x92')](_0x162479,_0x42f847,_0x19b964,_0x50a77f,{});switch(this[_0x3266('0x118')](_0x2aff7a,_0x162479,_0x42f847,_0x50a77f),this[_0x3266('0x49')][_0x3266('0x13b')](_0x2aff7a)){case _0x3266('0x11c'):this['_getSuggestionData'](_0x19b964)[_0x3266('0x163')](_0x5eb20e=>{let _0x54346f=Promise[_0x3266('0x127')]();_0x5eb20e[_0x3266('0x173')]&&(_0x54346f=this[_0x3266('0x7')][_0x3266('0x2d')]({'channelId':this['editor'][_0x3266('0x12f')][_0x3266('0x13b')](_0x3266('0x175')),'threadId':_0x19b964})),_0x54346f[_0x3266('0x163')](()=>{this['addSuggestionData'](_0x5eb20e)[_0x3266('0xc0')]=!0x0;});}),this[_0x3266('0x49')][_0x3266('0x114')](_0x2aff7a,_0x3266('0xde'));break;case _0x3266('0x12a'):this[_0x3266('0x6e')](_0x19b964,{'state':_0x3266('0x20')});case'dataReady':this['_suggestionState'][_0x3266('0x114')](_0x2aff7a,_0x3266('0xa5')),this['fire'](_0x3266('0x67'),_0x2aff7a);break;case _0x3266('0xa5'):this[_0x3266('0x17e')](_0x3266('0xb5'),_0x2aff7a);}return _0x2aff7a[_0x3266('0x125')](_0x2128ef),_0x2aff7a;}[_0x3266('0xa0')](_0x37fb6c){const _0x43e5ce=Array[_0x3266('0xb3')](_0x37fb6c),_0x408d5f=_0x43e5ce[_0x3266('0x70')](_0x492ee0=>_0x3266('0x48')==_0x492ee0[_0x3266('0x146')]);this[_0x3266('0x9d')](_0x408d5f);const _0x2d3906=_0x43e5ce[_0x3266('0x70')](_0x3cee3b=>!_0x3cee3b[_0x3266('0x58')]&&_0x3266('0x48')!=_0x3cee3b[_0x3266('0x146')]),_0x402142=this['getSuggestions']({'skipNotAttached':!0x0})[_0x3266('0x70')](_0x14b58a=>!_0x14b58a[_0x3266('0x58')]&&'attribute'!=_0x14b58a['type']),_0x48f884=_0x402142[_0x3266('0x70')](_0x3408a6=>!_0x37fb6c[_0x3266('0xb8')](_0x3408a6)),_0x38b6d2=new Map(_0x402142[_0x3266('0x152')](_0x186322=>[_0x186322,this[_0x3266('0x5a')][_0x3266('0x16a')](_0x186322[_0x3266('0x146')],_0x186322[_0x3266('0x11d')],_0x3266('0x63'))])),_0x46bfef=new Map(_0x402142[_0x3266('0x152')](_0xa0074b=>[_0xa0074b,_0xa0074b[_0x3266('0x147')]()])),_0x5e3a7d=new Set(),_0x3e20cd=new Set();for(let _0x4a8518=0x0;_0x4a8518<_0x2d3906[_0x3266('0x9e')];_0x4a8518++)_0x400995(_0x2d3906[_0x4a8518],_0x2d3906,_0x4a8518+0x1);for(let _0x13ec07=0x0;_0x13ec07<_0x2d3906[_0x3266('0x9e')];_0x13ec07++)_0x400995(_0x2d3906[_0x13ec07],_0x48f884,0x0);const _0x414130=new Set();for(let _0xb37627=0x0;_0xb37627<_0x2d3906[_0x3266('0x9e')];_0xb37627++){const _0xc41a6d=_0x2d3906[_0xb37627];!_0x3e20cd[_0x3266('0xb8')](_0xc41a6d)&&_0xc41a6d[_0x3266('0xaf')]&&(_0x414130[_0x3266('0xf0')](_0xc41a6d[_0x3266('0xaf')]),_0xc41a6d[_0x3266('0xaf')][_0x3266('0x68')]===_0xc41a6d&&(_0xc41a6d[_0x3266('0xaf')][_0x3266('0x68')]=null),_0xc41a6d[_0x3266('0xaf')]=null),!_0x5e3a7d[_0x3266('0xb8')](_0xc41a6d)&&_0xc41a6d[_0x3266('0x68')]&&(_0x414130[_0x3266('0xf0')](_0xc41a6d[_0x3266('0x68')]),_0xc41a6d['next'][_0x3266('0xaf')]===_0xc41a6d&&(_0xc41a6d[_0x3266('0x68')][_0x3266('0xaf')]=null),_0xc41a6d[_0x3266('0x68')]=null);}function _0x400995(_0x48a24d,_0x1dbc7a,_0x533308){for(let _0x572739=_0x533308;_0x572739<_0x1dbc7a[_0x3266('0x9e')];_0x572739++){const _0x184f37=_0x40aae7(_0x48a24d,_0x1dbc7a[_0x572739]);_0x184f37&&(_0x184f37[0x0][_0x3266('0x68')]=_0x184f37[0x1],_0x184f37[0x1][_0x3266('0xaf')]=_0x184f37[0x0],_0x5e3a7d[_0x3266('0xf0')](_0x184f37[0x0]),_0x3e20cd[_0x3266('0xf0')](_0x184f37[0x1]));}}function _0x40aae7(_0x518bae,_0x427ffe){if(_0x518bae[_0x3266('0x36')]['id']!==_0x427ffe[_0x3266('0x36')]['id'])return null;const _0x18cc3c=_0x38b6d2['get'](_0x518bae)(_0x518bae,_0x427ffe,_0x46bfef[_0x3266('0x13b')](_0x518bae),_0x46bfef[_0x3266('0x13b')](_0x427ffe));if(!_0x18cc3c)return null;return _0x38b6d2[_0x3266('0x13b')](_0x427ffe)(_0x518bae,_0x427ffe,_0x46bfef[_0x3266('0x13b')](_0x518bae),_0x46bfef[_0x3266('0x13b')](_0x427ffe))?_0x18cc3c[0x1]['commentThread']&&_0x18cc3c[0x1][_0x3266('0x121')][_0x3266('0x9e')]?null:_0x18cc3c:null;}_0x414130[_0x3266('0xaa')]&&this['_refreshSuggestionsChain'](_0x414130);}[_0x3266('0x9d')](_0x39bb2a){if(0x0==_0x39bb2a[_0x3266('0x9e')])return;const _0x42b803=this[_0x3266('0x4c')]({'skipNotAttached':!0x0})[_0x3266('0x70')](_0x265278=>_0x3266('0x48')==_0x265278[_0x3266('0x146')]&&_0x265278[_0x3266('0x131')]),_0xc0398f=[],_0x134977=new Map();for(const _0x3c4bba of _0x42b803){const _0x149335=_0x2cbd9a(_0x3c4bba[_0x3266('0x169')]);_0x134977['has'](_0x149335)||(_0x134977[_0x3266('0x114')](_0x149335,_0xc0398f[_0x3266('0x9e')]),_0xc0398f[_0x3266('0x9f')]([]));const _0x22edeb=_0x134977[_0x3266('0x13b')](_0x149335);_0xc0398f[_0x22edeb][_0x3266('0x9f')](_0x3c4bba);}!function(){_0xc0398f['sort']((_0x16fa84,_0x5e5e8b)=>{const _0x35703e=_0x16fa84[0x0][_0x3266('0x5e')],_0x1da668=_0x5e5e8b[0x0][_0x3266('0x5e')];return _0x35703e==_0x1da668?_0x16fa84[0x0][_0x3266('0x169')][_0x3266('0x135')]<_0x5e5e8b[0x0][_0x3266('0x169')]['groupId']?-0x1:0x1:_0x35703e<_0x1da668?-0x1:0x1;});for(const _0x2b75f6 of _0xc0398f)_0x2b75f6[_0x3266('0x7a')]((_0x79d8dd,_0x5b1d9e)=>_0x79d8dd['id']<_0x5b1d9e['id']?-0x1:0x1);}();for(let _0xcd485a=0x0;_0xcd485a<_0xc0398f['length'];_0xcd485a++){if(0x0==_0xc0398f[_0xcd485a][_0x3266('0x9e')])continue;const _0x331b1c=[];for(let _0x31f0e2=_0xcd485a+0x1;_0x31f0e2<_0xc0398f[_0x3266('0x9e')];_0x31f0e2++)0x0!=_0xc0398f[_0x31f0e2][_0x3266('0x9e')]&&_0x5dcd18(_0xc0398f[_0xcd485a],_0xc0398f[_0x31f0e2])&&_0x331b1c[_0x3266('0x9f')](_0x31f0e2);for(const _0x1626ba of _0x331b1c)_0xc0398f[_0xcd485a]=_0xc0398f[_0xcd485a][_0x3266('0x9')](_0xc0398f[_0x1626ba]),_0xc0398f[_0x1626ba]=[];}for(const _0x24949a of _0xc0398f)for(let _0x4f8ae7=0x0;_0x4f8ae7<_0x24949a[_0x3266('0x9e')];_0x4f8ae7++)_0x24949a[_0x4f8ae7]['next']=_0x24949a[_0x4f8ae7+0x1]||null;for(const _0x3feb0c of _0xc0398f)for(let _0x895e33=0x0;_0x895e33<_0x3feb0c[_0x3266('0x9e')];_0x895e33++)_0x3feb0c[_0x895e33][_0x3266('0xaf')]=_0x3feb0c[_0x895e33-0x1]||null;function _0x5dcd18(_0x4201bb,_0x4eb32e){if(_0x4201bb[0x0][_0x3266('0x36')]!==_0x4eb32e[0x0][_0x3266('0x36')])return!0x1;if(!function(_0x1a76d9,_0x58fe7d){if(!_0x1a76d9[_0x3266('0x173')]&&!_0x58fe7d['hasComments'])return!0x0;if(_0x1a76d9[_0x3266('0x173')]&&_0x58fe7d[_0x3266('0x173')])return!0x1;if(_0x1a76d9[_0x3266('0x173')]&&_0x58fe7d[_0x3266('0x5e')]<_0x1a76d9[_0x3266('0x121')][_0x3266('0x151')][_0x3266('0x13b')](0x0)['createdAt'])return!0x0;if(_0x58fe7d[_0x3266('0x173')]&&_0x1a76d9[_0x3266('0x5e')]<_0x58fe7d[_0x3266('0x121')]['comments'][_0x3266('0x13b')](0x0)[_0x3266('0x5e')])return!0x0;return!0x1;}(_0x4201bb[0x0],_0x4eb32e[0x0]))return!0x1;const _0x494235=_0x41db8e(_0x4201bb[0x0][_0x3266('0x169')],_0x3266('0x135')),_0x4958fa=_0x41db8e(_0x4eb32e[0x0][_0x3266('0x169')],'groupId');if(!_0x828a1b(_0x494235,_0x4958fa))return!0x1;return!!_0x4201bb['every'](_0x2391a4=>_0x4eb32e[_0x3266('0x94')](_0x144ad4=>_0x2391a4['getFirstRange']()[_0x3266('0x47')](_0x144ad4[_0x3266('0x147')]())))&&_0x4eb32e[_0x3266('0x179')](_0x6bb26=>_0x4201bb[_0x3266('0x94')](_0x20549a=>_0x6bb26[_0x3266('0x147')]()['isEqual'](_0x20549a['getFirstRange']())));}}[_0x3266('0x140')](_0x3183bb){const _0x519c04=Array['from'](_0x3183bb),_0x503d1d=this[_0x3266('0x4c')]({'skipNotAttached':!0x0}),_0x2e5e35=_0x503d1d[_0x3266('0x70')](_0x48e7ce=>!_0x3183bb[_0x3266('0xb8')](_0x48e7ce)),_0xf1f24=new Map(_0x519c04[_0x3266('0x152')](_0x3564f8=>[_0x3564f8,this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3564f8[_0x3266('0x146')],_0x3564f8['subType'],_0x3266('0x88'))])),_0x272958=new Map(_0x503d1d[_0x3266('0x152')](_0x18c179=>[_0x18c179,_0x18c179[_0x3266('0x54')]()]));for(let _0x5c834d=0x0;_0x5c834d<_0x519c04['length'];_0x5c834d++){if(_0x3d31cf(this,_0x519c04[_0x5c834d],_0x519c04,_0x5c834d+0x1))return!0x0;}for(let _0x456b52=0x0;_0x456b52<_0x519c04['length'];_0x456b52++){if(_0x3d31cf(this,_0x519c04[_0x456b52],_0x2e5e35,0x0))return!0x0;}return!0x1;function _0x3d31cf(_0x3bcbbf,_0x391f59,_0x30c9e,_0x29c388){for(let _0x224e94=_0x29c388;_0x224e94<_0x30c9e[_0x3266('0x9e')];_0x224e94++){const _0x3cd3dd=_0x30c9e[_0x224e94];if(_0x3cd3dd[_0x3266('0x146')]!==_0x391f59[_0x3266('0x146')]||_0x3cd3dd[_0x3266('0x36')]['id']!==_0x391f59[_0x3266('0x36')]['id']||_0x3cd3dd[_0x3266('0x11d')]!==_0x391f59[_0x3266('0x11d')])continue;if(!Vt(_0x391f59,_0x3cd3dd))continue;if('attribute'==_0x391f59[_0x3266('0x146')]&&_0x391f59[_0x3266('0x30')]['oldValue']!=_0x3cd3dd[_0x3266('0x30')][_0x3266('0x15c')])continue;if(_0x3266('0x48')==_0x391f59['type']&&_0x3bcbbf[_0x3266('0x98')](_0x391f59[_0x3266('0x30')]['key']))continue;if('formatBlock'==_0x391f59[_0x3266('0x146')]){const _0x567b00=_0x3bcbbf[_0x3266('0x1b')][_0x3266('0x10f')],_0x1ed3a4=_0x391f59[_0x3266('0x10d')]();if(_0x1ed3a4&&(_0x567b00[_0x3266('0xc3')]['isObject'](_0x1ed3a4)||_0x567b00[_0x3266('0xc3')][_0x3266('0xe3')](_0x1ed3a4)))continue;}const _0x59a852=_0xf1f24['get'](_0x391f59),_0x2621e7=_0x272958[_0x3266('0x13b')](_0x391f59),_0x3316d9=_0x272958[_0x3266('0x13b')](_0x3cd3dd),_0x4d0f81=_0x391f59[_0x3266('0x121')]&&_0x391f59[_0x3266('0x121')][_0x3266('0x9e')],_0x2fb510=_0x3cd3dd[_0x3266('0x121')]&&_0x3cd3dd[_0x3266('0x121')][_0x3266('0x9e')];if(!_0x4d0f81&&_0x59a852(_0x3316d9,_0x2621e7))return _0x3bcbbf[_0x3266('0x59')](_0x3cd3dd,_0x391f59),_0x272958[_0x3266('0x4f')](_0x391f59),!0x0;if(!_0x2fb510&&_0x59a852(_0x2621e7,_0x3316d9))return _0x3bcbbf[_0x3266('0x59')](_0x391f59,_0x3cd3dd),_0x272958[_0x3266('0x4f')](_0x3cd3dd),!0x0;}return!0x1;}}[_0x3266('0x59')](_0x576a04,_0x3e3c3b){if(_0x576a04[_0x3266('0x58')])for(const _0xbba762 of _0x3e3c3b['getRanges']())_0x576a04[_0x3266('0x15b')](_0xbba762);else{const _0x4f4d47=_0x3e3c3b[_0x3266('0x147')]()[_0x3266('0x174')];this[_0x3266('0x1c')](_0x576a04,this[_0x3266('0xf8')][_0x3266('0x45')](_0x576a04[_0x3266('0x147')]()['start'],_0x4f4d47));}_0x3e3c3b[_0x3266('0x14b')]();}[_0x3266('0xfb')](_0xe2556c,_0x3b41d6){const _0x58e38e=_0xe2556c['startsWith'](_0x3266('0x64'))||_0xe2556c['startsWith']('attribute')?_0x3266('0x111'):_0xe2556c[_0x3266('0x7e')]();return _0x5cb1d5(this[_0x3266('0x1b')][_0x3266('0x35')],_0x3b41d6+'_'+_0x58e38e+_0x3266('0xe2'));}[_0x3266('0x102')](){const _0x407a43=this[_0x3266('0x1b')];_0x196bcb(this[_0x3266('0xf8')],({left:_0x145f8d,entered:_0x1ba512})=>{const _0x388709=[];for(const _0x49af69 of _0x145f8d){const {group:_0x54f2fc,type:_0x5c7366}=this['_splitMarkerName'](_0x49af69[_0x3266('0xa4')]);if(_0x3266('0xb1')===_0x54f2fc){_0x388709['push'](this[_0x3266('0xfb')](_0x5c7366,'LEAVE'));break;}}for(const _0x346c5c of _0x1ba512){const {group:_0x15841a,type:_0x9ddac0}=this[_0x3266('0x51')](_0x346c5c[_0x3266('0xa4')]);if(_0x3266('0xb1')===_0x15841a){_0x388709[_0x3266('0x9f')](this['_getMarkerAnnouncementText'](_0x9ddac0,_0x3266('0x172')));break;}}_0x388709['length']&&_0x407a43['ui'][_0x3266('0xca')][_0x3266('0x115')](_0x3266('0x39'),_0x388709[_0x3266('0x88')]('\x20'));});}[_0x3266('0xcb')](_0x241e22){if(null!==this[_0x3266('0x1d')])return!0x1;const _0x62250b=this[_0x3266('0x1b')],_0x52f7be=_0x62250b[_0x3266('0x10f')][_0x3266('0x38')]['differ'][_0x3266('0xd1')]();if(0x0==_0x52f7be[_0x3266('0x9e')])return!0x1;const _0x4c51d8=[],_0x1a61aa=_0x52f7be[_0x3266('0x70')](_0x5ed2e2=>_0x3266('0x48')==_0x5ed2e2[_0x3266('0x146')]),_0x452903=_0x52f7be[_0x3266('0x70')](_0x2c4c6e=>'insert'==_0x2c4c6e[_0x3266('0x146')]&&_0x3266('0x27')!=_0x2c4c6e['name']),_0x19bfec=_0x52f7be[_0x3266('0x70')](_0x525d46=>_0x3266('0x156')==_0x525d46['type']&&_0x3266('0x27')!=_0x525d46[_0x3266('0xa4')]);for(const _0x1b199c of _0x1a61aa)_0x4c51d8[_0x3266('0x9f')]({'key':_0x1b199c['attributeKey'],'newValue':_0x1b199c[_0x3266('0x53')],'oldValue':_0x1b199c[_0x3266('0x161')],'range':_0x14da60(_0x1b199c['range'])});for(const _0x61daa5 of _0x452903){const _0x4b981a=_0x19bfec[_0x3266('0x13a')](_0xc92d8d=>_0xc92d8d[_0x3266('0x2b')][_0x3266('0x47')](_0x61daa5[_0x3266('0x2b')]));_0x4b981a&&_0x4c51d8[_0x3266('0x9f')]({'key':_0x3266('0x17d'),'newValue':_0x61daa5[_0x3266('0xa4')],'oldValue':_0x4b981a[_0x3266('0xa4')],'range':_0x62250b[_0x3266('0x10f')]['createRangeOn'](_0x61daa5[_0x3266('0x2b')][_0x3266('0x107')])});}return 0x0!=_0x4c51d8[_0x3266('0x9e')]&&this['_reduceExistingSuggestions'](_0x241e22,_0x4c51d8);function _0x14da60(_0x5b98e6){return null==_0x5b98e6[_0x3266('0x174')]['nodeBefore']&&_0x5b98e6[_0x3266('0x174')][_0x3266('0x7b')]==_0x5b98e6[_0x3266('0x13e')][_0x3266('0x107')]?Ut(_0x5b98e6[_0x3266('0x13e')][_0x3266('0x107')],_0x62250b[_0x3266('0x10f')]):_0x5b98e6;}}[_0x3266('0x3f')](_0x19d23f){let _0x5bb19e=!0x1;const _0x29b5c1=this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x38')]['differ'][_0x3266('0x132')]()[_0x3266('0x70')](_0x3eea36=>_0x3eea36[_0x3266('0x30')][_0x3266('0x12d')]&&_0x3eea36[_0x3266('0xa4')]['startsWith'](_0x3266('0xcd')));for(const _0x4854e9 of _0x29b5c1){const {subType:_0x86dd70,id:_0x5835ae}=this[_0x3266('0x51')](_0x4854e9[_0x3266('0xa4')]),_0x26dc44=_0x86dd70['split']('|')[0x0];for(const _0x2447a7 of this[_0x3266('0x4c')]({'skipNotAttached':!0x0}))_0x2447a7['id']!=_0x5835ae&&'attribute'==_0x2447a7[_0x3266('0x146')]&&_0x2447a7[_0x3266('0x30')]&&_0x2447a7[_0x3266('0x30')][_0x3266('0x6')]==_0x26dc44&&_0x2447a7[_0x3266('0x147')]()[_0x3266('0x40')](_0x4854e9[_0x3266('0x30')]['newRange'])&&(this[_0x3266('0x3e')](_0x2447a7,_0x4854e9['data'][_0x3266('0x12d')],_0x19d23f),_0x5bb19e=!0x0);}return _0x5bb19e;}[_0x3266('0xdd')](_0x557f28){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x557f28();const _0x1d6829=this[_0x3266('0x1b')];this[_0x3266('0x1d')]=_0x1d6829[_0x3266('0x10f')][_0x3266('0x38')][_0x3266('0x12c')],_0x557f28();const _0x503d98=new Map();for(const _0x5ae3ba of _0x1d6829[_0x3266('0x10f')]['document']['history'][_0x3266('0x106')](this[_0x3266('0x1d')]))if([_0x3266('0x170'),_0x3266('0x157'),'removeAttribute',_0x3266('0x10')][_0x3266('0xc6')](_0x5ae3ba[_0x3266('0x146')])){const _0x3fa5e1=_0x5ae3ba[_0x3266('0x9b')],_0x386363=_0x503d98[_0x3266('0x13b')](_0x3fa5e1)||[];_0x386363[_0x3266('0x9f')](_0x5ae3ba),_0x503d98['set'](_0x3fa5e1,_0x386363);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x203609,_0x33e53f]of _0x503d98){const _0x1f7da0=_0x30564f();_0x1d6829[_0x3266('0x10f')][_0x3266('0x105')](_0x203609,_0x42c00c=>{const _0x42fd3f=[];for(const _0x3fc5e0 of _0x33e53f){let _0x24f798,_0xdeea35,_0x47194b,_0x588fb1;if(_0x3266('0x170')==_0x3fc5e0[_0x3266('0x146')]){const _0x36d5bc=_0x3fc5e0;_0x24f798=Ut(_0x36d5bc[_0x3266('0x2b')][_0x3266('0x107')],_0x1d6829[_0x3266('0x10f')]),_0xdeea35=_0x3266('0x17d'),_0x47194b=_0x36d5bc[_0x3266('0x5')],_0x588fb1=_0x36d5bc[_0x3266('0xe1')];}else{const _0x549fea=_0x3fc5e0,_0x2a042d=this[_0x3266('0x98')](_0x549fea[_0x3266('0x6')]),_0x245882=this[_0x3266('0x2f')][_0x3266('0xb8')](_0x549fea[_0x3266('0x6')]);if(!_0x2a042d&&!_0x245882)continue;_0x24f798=_0x2a042d?Ut(_0x549fea[_0x3266('0x29')][_0x3266('0x13e')]['nodeAfter'],_0x1d6829['model']):_0x549fea[_0x3266('0x29')],_0xdeea35=_0x549fea['key'],_0x47194b=_0x3266('0x46')==_0x3fc5e0[_0x3266('0x146')]?void 0x0:_0x549fea[_0x3266('0x97')],_0x588fb1=_0x549fea[_0x3266('0x15c')];}this[_0x3266('0x2e')](_0x24f798,_0xdeea35,_0x588fb1,_0x47194b,{'groupId':_0x1f7da0}),_0x42fd3f['push']({'range':_0x24f798,'key':_0xdeea35,'newValue':_0x47194b,'oldValue':_0x588fb1});}this[_0x3266('0x160')](_0x42c00c,_0x42fd3f);});}}[_0x3266('0x160')](_0xbb4069,_0x32b7a9){if(0x0==_0x32b7a9[_0x3266('0x9e')])return!0x1;let _0x5f0c30=!0x1;for(const _0x28a0ac of _0x32b7a9){const _0x30166c=this[_0x3266('0x13f')](_0x28a0ac['range'],_0x3266('0x48'))[_0x3266('0x70')](_0x32a368=>!_0x32a368['meta'][_0x3266('0x13')])[_0x3266('0x152')](_0x4cd65b=>_0x4cd65b[_0x3266('0xb1')]),_0x5b361e=_0x2cbd9a({'newValue':_0x28a0ac[_0x3266('0x97')]});_0x30166c[_0x3266('0x70')](_0x4f7a74=>{const [_0x39bd30,_0x1b1d42]=_0x4f7a74[_0x3266('0x11d')]['split']('|');return _0x39bd30==_0x28a0ac[_0x3266('0x6')]&&_0x1b1d42!=_0x5b361e;})[_0x3266('0xa8')](_0x394aca=>{this['_reduceSuggestionAttributeRange'](_0x394aca,_0x28a0ac[_0x3266('0x29')],_0xbb4069),_0x5f0c30=!0x0;});}return _0x5f0c30;}[_0x3266('0x3e')](_0x39cd75,_0x23918d,_0x1b8cbf){const _0x50a7c0=_0x39cd75['getFirstRange']()[_0x3266('0x17a')](_0x23918d);0x0!==_0x50a7c0[_0x3266('0x9e')]?0x1!==_0x50a7c0[_0x3266('0x9e')]?this[_0x3266('0x10a')](_0x39cd75,_0x23918d['start'],_0x23918d[_0x3266('0x174')]):this[_0x3266('0x1c')](_0x39cd75,_0x50a7c0[0x0]):_0x1b8cbf[_0x3266('0x149')](_0x39cd75['getFirstMarker']());}}class Bt{constructor(_0x58926e){this['_editor']=_0x58926e,this['_model']=_0x58926e['model'],this[_0x3266('0x167')]=new Map(),this[_0x3266('0x171')]=new Map(),this[_0x3266('0xcc')]();}[_0x3266('0xf1')](_0x3fad47,_0x362e07,_0x5b1299,_0x4d84e1,_0x3d9f25,_0x46d76e){return new _0x3717a3(this[_0x3266('0xf8')],{'type':_0x3fad47,'subType':_0x362e07,'id':_0x5b1299,'author':_0x4d84e1,'creator':_0x4d84e1,'attributes':_0x3d9f25,'onAttributesChange':_0x46d76e,'onAccept':(..._0x55f535)=>this[_0x3266('0x16a')](_0x3fad47,_0x362e07,_0x3266('0x5f'))(..._0x55f535),'onDiscard':(..._0x39ec17)=>this[_0x3266('0x16a')](_0x3fad47,_0x362e07,_0x3266('0x8a'))(..._0x39ec17)});}[_0x3266('0xf')](_0x477c01,_0x53c1bd,_0x315ad4,_0x6c1b03){const _0x2fc82f=_0x477c01+':'+_0x53c1bd+':'+_0x315ad4;this['_customCallbacks']['set'](_0x2fc82f,_0x6c1b03);}[_0x3266('0x16a')](_0x235657,_0x1f7e80,_0x2ee8e4){const _0x3c287d=_0x235657+':'+_0x1f7e80+':'+_0x2ee8e4;return this[_0x3266('0x167')]['get'](_0x3c287d)||this['_defaultCallbacks'][_0x3266('0x13b')](_0x235657+':'+_0x2ee8e4);}[_0x3266('0xcc')](){const _0x3ee9af=()=>!0x1,_0x3ec7e7=_0x4da65a=>{_0x4da65a[_0x3266('0x7a')]((_0x35676f,_0x2ba425)=>_0x35676f[_0x3266('0x13e')][_0x3266('0xe8')](_0x2ba425[_0x3266('0x13e')])?0x1:-0x1),this[_0x3266('0xf8')][_0x3266('0x6d')](_0x2f6226=>{for(const _0x46f459 of _0x4da65a){let _0x2d9579;_0x2d9579=_0x46f459[_0x3266('0x174')][_0x3266('0x120')]&&_0x46f459[_0x3266('0x174')][_0x3266('0x7b')]==_0x46f459[_0x3266('0x13e')][_0x3266('0x107')]?_0x2f6226['createSelection'](_0x46f459[_0x3266('0x13e')][_0x3266('0x107')],'on'):_0x2f6226[_0x3266('0x72')](_0x46f459),this[_0x3266('0xf8')]['deleteContent'](_0x2d9579,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x617a13=(_0x3cd051,_0x8c2bdc)=>{_0x8c2bdc&&this['_model'][_0x3266('0x6d')](_0x17ac1d=>{const {commandName:_0x2f7421,commandParams:_0x25a2d1=[]}=_0x8c2bdc,_0xd097b8=_0x3cd051['map'](_0x46801b=>(xt(_0x46801b)&&(_0x46801b=this[_0x3266('0xf8')][_0x3266('0x45')](_0x46801b[_0x3266('0x174')])),_0x46801b))[_0x3266('0x70')](_0x83ce37=>'$graveyard'!==_0x83ce37[_0x3266('0x117')][_0x3266('0xeb')]);if(_0xd097b8[_0x3266('0x9e')]<0x1)return;const _0x58caf7=Array[_0x3266('0xb3')](this['_model'][_0x3266('0x38')][_0x3266('0x4e')][_0x3266('0x54')]())[_0x3266('0x152')](_0x5839a5=>_0x15e6db[_0x3266('0x142')](_0x5839a5));_0x17ac1d['setSelection'](_0xd097b8);for(const _0x3f66a4 of this[_0x3266('0x4')][_0x3266('0xac')][_0x3266('0xac')]())_0x3f66a4[_0x3266('0x4a')]();_0x25a2d1[_0x3266('0x9f')]({'forceDefaultExecution':!0x0}),this[_0x3266('0x4')][_0x3266('0x3')](_0x2f7421,..._0x25a2d1);const _0x5ed341=_0x58caf7[_0x3266('0x70')](_0x3ab810=>_0x3266('0xbd')!=_0x3ab810[_0x3266('0x117')][_0x3266('0xeb')]);_0x5ed341[_0x3266('0x9e')]>0x0&&_0x17ac1d[_0x3266('0x13c')](_0x5ed341);for(const _0x4a8f00 of _0x58caf7)_0x4a8f00[_0x3266('0x69')]();});},_0x1714f7=(_0x1bb6bd,_0x351235)=>0x1==_0x1bb6bd[_0x3266('0x9e')]&&0x1==_0x351235[_0x3266('0x9e')]&&_0x1bb6bd[0x0][_0x3266('0x174')][_0x3266('0x47')](_0x351235[0x0][_0x3266('0x13e')]),_0x17b2ce=(_0x4e03c2,_0xb95d8b,_0x1bd132,_0x2e4aa8)=>Ot(_0x4e03c2,_0xb95d8b,_0x1bd132,_0x2e4aa8,this[_0x3266('0xf8')])?[_0x4e03c2,_0xb95d8b]:Ot(_0xb95d8b,_0x4e03c2,_0x2e4aa8,_0x1bd132,this[_0x3266('0xf8')])?[_0xb95d8b,_0x4e03c2]:null;this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x22'),_0x3ee9af),this[_0x3266('0x171')]['set'](_0x3266('0x122'),_0x3ec7e7),this['_defaultCallbacks'][_0x3266('0x114')](_0x3266('0xa9'),_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x17f'),_0x17b2ce),this[_0x3266('0x171')]['set'](_0x3266('0x112'),_0x3ec7e7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x178'),_0x3ee9af),this['_defaultCallbacks'][_0x3266('0x114')]('deletion:join',_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x11f'),_0x17b2ce),this['_defaultCallbacks']['set'](_0x3266('0x126'),_0x617a13),this['_defaultCallbacks'][_0x3266('0x114')](_0x3266('0x103'),_0x3ee9af),this[_0x3266('0x171')]['set'](_0x3266('0x17'),_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0xc4'),_0x3ee9af),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x62'),_0x617a13),this['_defaultCallbacks'][_0x3266('0x114')](_0x3266('0x139'),_0x3ee9af),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x26'),_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x9a'),_0x3ee9af),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x145'),_0x3ee9af),this[_0x3266('0x171')]['set']('attribute:discard',(_0x52cada,_0x4ed84f)=>{if(!_0x4ed84f)return;const _0x36f77b=this[_0x3266('0x4')][_0x3266('0xdb')]['get'](p);this[_0x3266('0xf8')][_0x3266('0x6d')](_0x1806f8=>{if('$elementName'==_0x4ed84f[_0x3266('0x6')])for(const _0x8c741e of _0x52cada){const _0x2cdf2f=_0x8c741e[_0x3266('0x13e')][_0x3266('0x107')],_0x10e3cd=_0x4ed84f['oldValue'];_0x1806f8[_0x3266('0x170')](_0x2cdf2f,_0x10e3cd);}else{if(_0x36f77b[_0x3266('0x98')](_0x4ed84f['key']))for(const _0x48226a of _0x52cada)void 0x0!==_0x4ed84f[_0x3266('0x15c')]?_0x1806f8['setAttribute'](_0x4ed84f[_0x3266('0x6')],_0x4ed84f[_0x3266('0x15c')],_0x48226a['start'][_0x3266('0x107')]):_0x1806f8[_0x3266('0x46')](_0x4ed84f[_0x3266('0x6')],_0x48226a[_0x3266('0x13e')]['nodeAfter']);else for(const _0x5d04d5 of _0x52cada)_0x4ed84f[_0x3266('0x15c')]?_0x1806f8[_0x3266('0x168')](_0x4ed84f[_0x3266('0x6')],_0x4ed84f['oldValue'],_0x5d04d5):_0x1806f8[_0x3266('0x46')](_0x4ed84f[_0x3266('0x6')],_0x5d04d5);}});}),this['_defaultCallbacks'][_0x3266('0x114')]('attribute:join',_0x1714f7);}}function Tt(_0x255211,_0x1b8a60,_0x3aa7eb){for(const _0x54cbdf of _0x1b8a60[_0x3266('0x7b')][_0x3266('0x57')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x54cbdf[_0x3266('0x117')]==_0x54cbdf)return!0x1;if(!_0x3aa7eb[_0x3266('0xbf')](_0x54cbdf))return!0x1;if(_0x255211[_0x3266('0x10b')](_0x54cbdf)||_0x255211[_0x3266('0xe3')](_0x54cbdf))return!0x0;}return!0x1;}function xt(_0x324960){return _0x324960[_0x3266('0x174')][_0x3266('0x7b')]==_0x324960['start']['nodeAfter']&&_0x324960[_0x3266('0x174')][_0x3266('0xe7')];}function Et(_0x3292be,_0xe23dd4,_0x265dc8,_0x368338){const _0x7b72d7=_0x3fad15=>!_0x3fad15['item']['is'](_0x3266('0x6f'))&&!_0x368338['isObject'](_0x3fad15[_0x3266('0x3a')]),_0x4c2937=_0x3292be['start'][_0x3266('0xf5')](_0x7b72d7),_0x2de816=_0x3292be[_0x3266('0x174')][_0x3266('0xf5')](_0x7b72d7,{'direction':_0x3266('0xe5')});return(!_0x3292be[_0x3266('0x13e')]['isEqual'](_0x4c2937)||!_0x3292be[_0x3266('0x174')][_0x3266('0x47')](_0x2de816))&&(_0x4c2937['isBefore'](_0x2de816)?_0x265dc8[_0x3266('0xbb')](_0xe23dd4,{'range':_0x265dc8['createRange'](_0x4c2937,_0x2de816)}):_0x265dc8[_0x3266('0x149')](_0xe23dd4),!0x0);}function Rt(_0x201861){return _0x2cbd9a(_0x201861);}function jt(_0x3fb337){const _0x3ce0a7=_0x3fb337[_0x3266('0x13e')][_0x3266('0x107')];return _0x3ce0a7&&_0x3ce0a7['is'](_0x3266('0x164'));}function Ut(_0x4425b4,_0x41f3ca){const _0x8eeb3d=_0x41f3ca[_0x3266('0xc3')][_0x3266('0x10b')](_0x4425b4)||_0x41f3ca['schema'][_0x3266('0x56')](_0x4425b4);return _0x41f3ca[_0x3266('0x45')](_0x41f3ca[_0x3266('0x61')](_0x4425b4,'before'),_0x8eeb3d?_0x41f3ca[_0x3266('0x108')](_0x4425b4):_0x41f3ca[_0x3266('0x61')](_0x4425b4,_0x3266('0x174')));}function Ot(_0x380481,_0x4701a9,_0x5793b0,_0x400c81,_0x43c260){if(!Vt(_0x380481,_0x4701a9))return!0x1;if(_0x5793b0[_0x3266('0x174')][_0x3266('0x47')](_0x400c81[_0x3266('0x13e')]))return!0x0;if(_0x380481['type']!=_0x4701a9[_0x3266('0x146')])return!0x1;if(!_0x5793b0[_0x3266('0x174')][_0x3266('0xfa')](_0x400c81[_0x3266('0x13e')]))return!0x1;const _0x39ebdd=_0x43c260[_0x3266('0x45')](_0x5793b0[_0x3266('0x174')],_0x400c81[_0x3266('0x13e')])[_0x3266('0x11b')]();for(const _0x209162 of _0x39ebdd)if(['elementStart',_0x3266('0x165')][_0x3266('0xc6')](_0x209162[_0x3266('0x146')])&&_0x43c260[_0x3266('0xc3')][_0x3266('0xe3')](_0x209162[_0x3266('0x3a')]))return!0x1;return!0x0;}function Vt(_0x73c8aa,_0x3e8158){return!(!_0x73c8aa['_isDataLoaded']||!_0x3e8158[_0x3266('0x131')])&&_0x828a1b(_0x73c8aa[_0x3266('0x169')],_0x3e8158[_0x3266('0x169')]);}function Gt(_0x41e303,_0x1175cf){const _0x5c4e06=Ft(_0x41e303['attributes']),_0x19ce58=Ft(_0x1175cf);if(!_0x41e303['_isDataLoaded'])return!0x1;for(const _0x465432 of Object[_0x3266('0xc2')](_0x19ce58))if(!_0x828a1b(_0x5c4e06[_0x465432],_0x19ce58[_0x465432]))return!0x1;return!0x0;}function Ft(_0x597160){const _0x56f3ea=Object[_0x3266('0xa7')]({},_0x597160);return delete _0x56f3ea[_0x3266('0xe6')],delete _0x56f3ea[_0x3266('0x31')],_0x56f3ea;}function Pt(_0x286ac0){return'attribute'==_0x286ac0['type']?_0x286ac0[_0x3266('0x11d')][_0x3266('0x99')]('|')[0x0]:null;}