@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231201.0 → 0.0.0-nightly-20231202.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-20231201.0",
3
+ "version": "0.0.0-nightly-20231202.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-20231201.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231201.0",
42
+ "ckeditor5": "0.0.0-nightly-20231202.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231202.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 _0x1640=['open','unshift','formatBlock:chain','moveTargetPosition','substr','suggestionLoaded','getShiftedBy','isIntersectingWithRange','registerPostFixer','deletion','addMarker:suggestion:formatBlock','markMultiRangeBlockFormat','documentSelection','skipNestingCheck','key','then','_joinSuggestions','accept','oldRange','isArray','_reduceExistingSuggestions','stop','newValue','start','schema','after','requires','startsWith','change:activeMarkers','root','_suggestionFactory','getSuggestions','isCollapsed','isObject','attributeOldValue','splitPosition','formatInline:discard','_splitMarkerName','change:_saved','isTouching','_isBlockAttribute','_trackFormatChanges','getRanges','head','track-changes-suggestion-data-mismatch','removed','ck-suggestion-marker-formatBlock','getCommentThread','addMarker:suggestion','ENTER','_registerDefaultCallbacks','notReady','_editor','_createSuggestion','next','suggestionUnloaded','formatBlock:','markMultiRangeDeletion','high','createRangeOn','_setSuggestionData','_initAriaMarkerChangeAnnouncements','markMultiRangeInsertion','_model','createSelection','substring','init','_refreshAttributeSuggestionsChain','track-changes-adapter-already-set','addCommentThread','size','_commentsRepository','containerElement','formatBlock:discard','_isForcedDefaultExecutionBlock','get','ck-suggestion-marker--active','hasSuggestion','removeMarker:suggestion:formatBlock','trackChangesCommand','fire','values','originalSuggestionId','addMarker:suggestion:attribute','set','getAllAdjacentSuggestions','addSuggestionData','setSelection','rootName','insertion:chain','unbindElementFromMarkerName','$text','_processAttributeChanges','acceptSelectedSuggestions','acceptAllSuggestions','createPositionBefore','updateMarker','newRange','acceptSuggestion','options','multipleBlocks','resolve','differ','item','elementToElement','suggestion-type','marker-count','isRemovable','formatInline','selection','always','addClass','_recordAttributeChanges','data','dataToMarker','_checkSuggestionCorrectness','_blockAttributeKeys','_customCallbacks','map','addHighlight','insertContent','_rangeIsInLocalUserInsertion','collaboration.channelId','getChangedMarkers','getSuggestion','insertion:discard','ready','lowest','toUpperCase','_mergeNestedSuggestions','suggestion','attributeKey','type','isLocal','trackChanges','containsItem','isSelectable','addAttribute','insert','addUser','refresh','isInContent','discard','parent','nodeBefore','enableCommand','insertion:accept','previous','Users','group','widget','TrackChangesEditing','isBefore','_enableDefaultAttributesIntegration','consume','isExternal','_cutOutSuggestionMarker','getItems','commentThread','toJSON','removeMarker','discardSelectedSuggestions','filter','removeClass','trackChanges.trackFormatChanges','join','suggestion:','from','insertion:','formatInline:','fetchCommentThread','tablePasteChainId','highest','ck-suggestion-marker','getIntersection','createRangeIn','value','some','sort','_removeSuggestion','getUser','_updateSuggestionData','_suggestions','rejected','LEAVE','_defaultCallbacks','setTo','_findSuggestions','pluginName','update:suggestion','createRange','deletion:accept','deletion:join','batch','oldValue','_registerBlockAttribute','containsRange','forward','_getExternalAuthor','CommentsRepository','_refreshSuggestionsChain','conversion','isAfter','_addSuggestionMarker','getSuggestionCallback','track-changes-adapter-missing-getsuggestion','split','commandName','createPositionAfter','formatBlock:accept','format','removeMarker:suggestion:attribute','getLastMatchingPosition','document','$elementName','editor','end','_recordAttributeSuggestionsFromVersion','fromRange','dataDowncast','attribute:','getCustomProperty','delete','deleteContent','subType','isLimit','getFirstRange','attribute','isEqual','remove','getMultiRangeId','version','addMarker','targetPosition','has','registerCustomCallback','_inlineAttributeKeys','addRange','getRange','getNearestSelectionRange','elementEnd','splice','PENDING_ACTION_SUGGESTION','element','forEach','add','formatInline:accept','insertion','reconvertMarker','_registerInlineAttribute','editingDowncast','_getAuthorFromId','upcast','hasComments','backward','locale','forceDefaultExecution','mapper','getOperations','attributes','range','push','never','changeAttribute','markAttributeChange','stopListening','isOwn','oldName','formatBlock','removeComment','markDeletion','change','writer','author','formatInline:chain','enqueueChange','low','authoredAt','deletion:discard','data-suggestion','unbind','trackChanges.mergeNestedSuggestions','name','@external','plugins','getContainedElement','suggestion:attribute:','attributeNewValue','suggestionChanged','isMultiRange','length','getChanges','consumable','announce','before','_handleNewSuggestionMarker','howMany','markInsertion','return','markers','listenTo','authorName','detach','keys','pop','newName','nodeAfter','markerReady','isAtEnd','markerName','getAncestors','getAttribute','addMarkerName','$graveyard','commands','execute','createElement','history','removeMarkers','discardSuggestion','_getSuggestionData','_breakSuggestionMarker','isBlock','isDocumentOperation','addComment','find','attribute:discard','comments','_isDataLoaded','every','setAttribute','_enabledCommands','attribute:accept','buildSuggestion','PendingActions','$marker','model','adapter','for','_setSuggestionRange','markerToHighlight','multi','_suggestionState','createPositionAt','activeMarkers','track-changes-suggestion-not-found','accepted','config','_getMarkerAnnouncementText','formatGroupId','updateSuggestion','_joinWithAdjacentSuggestions','removeAttribute','isInsideObject','fromCharCode','move','clone','_onDiscard','isNextTo','containsPosition','_addThreadToSuggestion','getDifference','_SUGGESTION_ANNOUNCEMENT','enableReadOnlyMode','showSuggestionHighlights','_adapter','clear','markerNameToElements','deletion:','markBlockFormat','meta','position','createdAt','getFirstMarker','default','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.','groupId','getMarkers','track-changes-user-not-found','addSuggestion','_processAttributeSuggestions','_saved','$textProxy','discardAllSuggestions','includes','assign','containsRangeInObject'];(function(_0x113e07,_0x164020){const _0x7c1016=function(_0x45ed84){while(--_0x45ed84){_0x113e07['push'](_0x113e07['shift']());}};_0x7c1016(++_0x164020);}(_0x1640,0xac));const _0x7c10=function(_0x113e07,_0x164020){_0x113e07=_0x113e07-0x0;let _0x7c1016=_0x1640[_0x113e07];return _0x7c1016;};import{Plugin as _0xf0bb92,PendingActions as _0x5caf11}from'ckeditor5/src/core';import{LiveRange as _0xc3c711}from'ckeditor5/src/engine';import{CKEditorError as _0x5391c2,uid as _0x362cf5,priorities as _0x57e543,logWarning as _0x404872}from'ckeditor5/src/utils';import{toWidget as _0x2a7fed}from'ckeditor5/src/widget';import{Users as _0x2c9ab9,hashObject as _0x5e0410,surroundingMarkersDetector as _0x429e67}from'ckeditor5-collaboration/src/collaboration-core';import _0x28c5d4 from'./commands/trackchangescommand';import _0x2b7c22 from'./commands/acceptsuggestioncommand';import _0x40d456 from'./commands/discardsuggestioncommand';import _0x439884 from'./commands/executeonallsuggestionscommand';import _0x2c1d1b from'./commands/executeonselectedsuggestionscommand';import _0x24cf3e from'./suggestion';import _0x1be473 from'./suggestiondescriptionfactory';import _0x46a97d from'./integrations/aiassistant';import _0x2f2068 from'./integrations/alignment';import _0x40cb59 from'./integrations/basicstyles';import _0xcf0110 from'./integrations/blockquote';import _0x512205 from'./integrations/ckbox';import _0x402e5b from'./integrations/codeblock';import _0x54fb6b from'./integrations/comments';import _0x557958 from'./integrations/deletecommand';import _0x44917d from'./integrations/documentlist';import _0x42de65 from'./integrations/documentlistproperties';import _0x2fd778 from'./integrations/entercommand';import _0x491fdc from'./integrations/findandreplace';import _0x9f5a01 from'./integrations/font';import _0x13e639 from'./integrations/formatpainter';import _0x15950e from'./integrations/heading';import _0x5ac3d5 from'./integrations/highlight';import _0xbf0971 from'./integrations/horizontalline';import _0x5bc643 from'./integrations/htmlembed';import _0x3f3d97 from'./integrations/image';import _0x5b4c19 from'./integrations/imagereplace';import _0x255d3d from'./integrations/imagestyle';import _0x2c03f7 from'./integrations/importword';import _0x3fa21b from'./integrations/indent';import _0xc3666 from'./integrations/inputcommand';import _0x15ca85 from'./integrations/link';import _0x559c97 from'./integrations/list';import _0x391900 from'./integrations/listproperties';import _0x67eca9 from'./integrations/mediaembed';import _0xba919f from'./integrations/mention';import _0x166b8c from'./integrations/pagebreak';import _0x4acdf6 from'./integrations/paragraph';import _0x20c317 from'./integrations/removeformat';import _0x376bfb from'./integrations/restrictededitingmode';import _0x69978c from'./integrations/shiftentercommand';import _0x40889f from'./integrations/standardeditingmode';import _0x42b5e9 from'./integrations/style';import _0x33b540 from'./integrations/table';import _0x2f45d0 from'./integrations/tablemergesplit';import _0x1e4b03 from'./integrations/tableheadings';import _0xcc4161 from'./integrations/tableclipboard';import _0x126f60 from'./integrations/tablecolumnresize';import _0x673622 from'./integrations/template';import _0x480fd9 from'./integrations/tableofcontents';import _0x5dede3 from'./integrations/title';import _0x46f644 from'./integrations/undo';import _0x49fa8b from'./integrations/tablecaption';import _0x219910 from'./integrations/tableproperties';import{getTranslation as _0x19e2f3}from'./utils/common-translations';import{isEqual as _0x3d5e0e,omit as _0x208585}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0xf0bb92{static get[_0x7c10('0xf1')](){return['CommentsRepository',_0x2c9ab9,_0x5caf11,_0x46a97d,_0x2f2068,_0x40cb59,_0xcf0110,_0x512205,_0x402e5b,_0x54fb6b,_0x557958,_0x44917d,_0x42de65,_0x2fd778,_0x491fdc,_0x9f5a01,_0x13e639,_0x15950e,_0x5ac3d5,_0xbf0971,_0x5bc643,_0x3f3d97,_0x255d3d,_0x5b4c19,_0x2c03f7,_0x3fa21b,_0xc3666,_0x15ca85,_0x559c97,_0x391900,_0x67eca9,_0xba919f,_0x166b8c,_0x4acdf6,_0x20c317,_0x376bfb,_0x69978c,_0x40889f,_0x42b5e9,_0x33b540,_0x2f45d0,_0x1e4b03,_0x49fa8b,_0xcc4161,_0x126f60,_0x480fd9,_0x219910,_0x673622,_0x5dede3,_0x46f644];}static get[_0x7c10('0x10')](){return _0x7c10('0x16e');}constructor(_0xbedc05){function _0x3c381a(_0x15717f){return _0x15717f[_0x7c10('0x14d')](_0x30e445=>String[_0x7c10('0xb6')](_0x30e445))[_0x7c10('0x17c')]('');}super(_0xbedc05),this[_0x7c10('0x2d')]=null,this[_0x7c10('0x12b')](_0x7c10('0xac'),[]),this['on'](_0x7c10('0xf3'),(_0x5b6b8e,_0x46f6a6,_0xd68987,_0x5ac91b)=>{this['_model'][_0x7c10('0x63')](()=>{for(const _0x59c1d6 of[..._0x5ac91b,..._0xd68987])this['_model'][_0x7c10('0x7f')][_0x7c10('0x3e')](_0x59c1d6)&&_0xbedc05['editing'][_0x7c10('0x4c')](_0x59c1d6);});}),this['_descriptionFactory']=new _0x1be473(this[_0x7c10('0x2b')][_0x7c10('0xa4')][_0x7c10('0xef')],this[_0x7c10('0x2b')]['locale']),this[_0x7c10('0xc1')]=null,this[_0x7c10('0xf5')]=new Bt(this[_0x7c10('0x2b')]),this['_suggestions']=new Map(),this['_commentsRepository']=_0xbedc05['plugins'][_0x7c10('0x122')](_0x7c10('0x1b')),this[_0x7c10('0x9f')]=new Set(),this[_0x7c10('0x116')]=this['editor'][_0x7c10('0xa4')],this['_suggestionState']=new WeakMap(),this[_0x7c10('0x121')]=!0x1,this['_blockAttributeKeys']=new Set([_0x7c10('0x2a')]),this['_inlineAttributeKeys']=new Set(),_0xbedc05[_0x7c10('0xaf')]['define'](_0x7c10('0x17b'),_0x7c10('0xca')),this['_trackFormatChanges']=_0xbedc05[_0x7c10('0xaf')][_0x7c10('0x122')](_0x7c10('0x17b')),_0xbedc05['config']['define'](_0x7c10('0x6d'),!0x0),this[_0x7c10('0x158')]=_0xbedc05[_0x7c10('0xaf')][_0x7c10('0x122')](_0x7c10('0x6d')),this[_0x7c10('0x126')]=new _0x28c5d4(_0xbedc05,this['_enabledCommands']),this[_0x7c10('0x114')](),this[_0x3c381a([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x3c381a([0x34,0x30,0x34,0x36,0x32,0x34,0x30,0x32]);}[_0x7c10('0x119')](){const _0xbde19d=this['editor'],_0x1cff70=(_0x17fc7f,_0x3ec8c1)=>{if(_0x7c10('0x37')!=_0x17fc7f)return'ck-suggestion-marker-'+_0x17fc7f;const _0x43e68e=_0x3ec8c1['split']('|')[0x0];return this['_isBlockAttribute'](_0x43e68e)?_0x7c10('0x105'):'ck-suggestion-marker-formatInline';};_0xbde19d['conversion'][_0x7c10('0xa6')](_0x7c10('0x4e'))['markerToHighlight']({'model':_0x7c10('0x159'),'view':_0x5cb26d=>{const {id:_0xc4fe0a,type:_0x22ca86,subType:_0x365f5b}=this[_0x7c10('0xfc')](_0x5cb26d[_0x7c10('0x89')]),_0x43c7b6=[_0x7c10('0x1'),_0x1cff70(_0x22ca86,_0x365f5b)];let _0x51a607=0xbb8;return this[_0x7c10('0xac')][_0x7c10('0xd4')](_0x5cb26d[_0x7c10('0x89')])&&(_0x43c7b6[_0x7c10('0x59')](_0x7c10('0x123')),_0x51a607=0xbc2),_0x7c10('0xe0')==_0x22ca86&&(_0x51a607+=0x5),{'classes':_0x43c7b6,'attributes':{'data-suggestion':_0xc4fe0a},'priority':_0x51a607};}}),_0xbde19d[_0x7c10('0x1d')]['for'](_0x7c10('0x2f'))[_0x7c10('0x49')](_0x4c4688=>{_0x4c4688['on'](_0x7c10('0x107'),(_0x1bd68f,_0x3b2e55,_0x5a961f)=>{if(!_0x5a961f[_0x7c10('0x13a')][_0x7c10('0xc0')])return;const _0x48bb0d=_0x3b2e55['item'];if(!_0x48bb0d)return;const _0x482c99=_0x5a961f[_0x7c10('0x55')]['toViewElement'](_0x48bb0d);_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xef')][_0x7c10('0xf8')](_0x48bb0d)&&_0x482c99&&!_0x482c99[_0x7c10('0x31')](_0x7c10('0x16d'))&&_0x482c99['is'](_0x7c10('0x11f'))&&_0x2a7fed(_0x482c99,_0x5a961f[_0x7c10('0x64')]);},{'priority':_0x7c10('0x111')});}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')]('dataDowncast')[_0x7c10('0xa8')]({'model':_0x7c10('0x159'),'view':(_0x3a931b,_0x27fa17)=>{if(!_0x27fa17['options'][_0x7c10('0xc0')])return null;const {type:_0x3337ca,subType:_0x16140e}=this[_0x7c10('0xfc')](_0x3a931b[_0x7c10('0x89')]);return{'classes':[_0x7c10('0x1'),_0x1cff70(_0x3337ca,_0x16140e)],'priority':0xbb8};}});const _0x32e772=({showActiveMarkers:_0x1f3c34=!0x0,isAttributeSuggestion:_0x54c12d=!0x1}={})=>(_0x4cbc27,_0x1ca5d9,_0xcc6b0c)=>{if(!_0x1ca5d9[_0x7c10('0x13e')])return;const {id:_0x58298b}=this[_0x7c10('0xfc')](_0x1ca5d9[_0x7c10('0x89')]);if(_0x54c12d){const _0x323ed8=Pt(this['_suggestions'][_0x7c10('0x122')](_0x58298b));if(!this[_0x7c10('0xff')](_0x323ed8))return;}if(_0x1ca5d9[_0x7c10('0x13e')]['is'](_0x7c10('0x144')))return void _0xcc6b0c[_0x7c10('0x78')][_0x7c10('0x171')](_0x1ca5d9[_0x7c10('0x13e')],_0x4cbc27['name']);const _0x5c09aa=_0xcc6b0c[_0x7c10('0x55')]['toViewElement'](_0x1ca5d9[_0x7c10('0x13e')]);if(_0x1ca5d9[_0x7c10('0x13e')]['is'](_0x7c10('0x47'))&&_0xbde19d['model'][_0x7c10('0xef')][_0x7c10('0x96')](_0x1ca5d9[_0x7c10('0x13e')])&&!_0x5c09aa[_0x7c10('0x31')]('addHighlight')){_0xcc6b0c[_0x7c10('0x64')]['addClass']([_0x7c10('0x1'),'ck-suggestion-marker-formatBlock'],_0x5c09aa),_0xcc6b0c[_0x7c10('0x64')]['setAttribute']('data-suggestion',_0x58298b,_0x5c09aa),_0xcc6b0c[_0x7c10('0x55')]['bindElementToMarker'](_0x5c09aa,_0x1ca5d9[_0x7c10('0x89')]),_0x1f3c34&&(this['activeMarkers'][_0x7c10('0xd4')](_0x1ca5d9['markerName'])?_0xcc6b0c[_0x7c10('0x64')][_0x7c10('0x146')](_0x7c10('0x123'),_0x5c09aa):_0xcc6b0c['writer'][_0x7c10('0x17a')](_0x7c10('0x123'),_0x5c09aa));for(const _0x192cb4 of _0xbde19d[_0x7c10('0xa4')][_0x7c10('0x3')](_0x1ca5d9[_0x7c10('0x13e')])[_0x7c10('0x174')]())_0xcc6b0c[_0x7c10('0x78')]['consume'](_0x192cb4,_0x4cbc27[_0x7c10('0x6e')]);_0xcc6b0c[_0x7c10('0x78')]['consume'](_0x1ca5d9[_0x7c10('0x13e')],_0x4cbc27['name']);}};_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')]('dataDowncast')[_0x7c10('0x49')](_0x457458=>{_0x457458['on'](_0x7c10('0xe1'),(_0x2fdb7d,_0x32456d,_0x444308)=>{_0x444308[_0x7c10('0x13a')]['showSuggestionHighlights']&&_0x32e772({'showActiveMarkers':!0x1})(_0x2fdb7d,_0x32456d,_0x444308);},{'priority':_0x7c10('0x0')});}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')](_0x7c10('0x2f'))['add'](_0x3b49d5=>{_0x3b49d5['on'](_0x7c10('0x12a'),(_0x2e3326,_0x14fc4d,_0x50e754)=>{_0x50e754[_0x7c10('0x13a')][_0x7c10('0xc0')]&&_0x32e772({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x2e3326,_0x14fc4d,_0x50e754);},{'priority':_0x7c10('0x0')});}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')](_0x7c10('0x2f'))['markerToData']({'model':_0x7c10('0x159'),'view':(_0x35b7bb,_0x217a48)=>_0x217a48[_0x7c10('0x13a')]['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x35b7bb[_0x7c10('0xdb')](0xb)}}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')]('upcast')[_0x7c10('0x13f')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4a8096,{writer:_0x4a90d2})=>{let _0xf9fb52=_0x7c10('0x17d')+_0x4a8096[_0x7c10('0x8b')](_0x7c10('0x140'))+':'+_0x4a8096['getAttribute']('id');return _0x4a8096['getAttribute'](_0x7c10('0x141'))&&(_0xf9fb52+=':'+_0x4a8096[_0x7c10('0x8b')]('marker-count')),_0x4a90d2[_0x7c10('0x90')](_0x7c10('0xa3'),{'data-name':_0xf9fb52});}}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')](_0x7c10('0x50'))[_0x7c10('0x149')]({'view':_0x7c10('0x159')}),_0xbde19d['conversion'][_0x7c10('0xa6')](_0x7c10('0x4e'))['add'](_0x2fbc5b=>{_0x2fbc5b['on']('addMarker:suggestion:formatBlock',_0x32e772(),{'priority':_0x7c10('0x111')});}),_0xbde19d[_0x7c10('0x1d')][_0x7c10('0xa6')](_0x7c10('0x4e'))[_0x7c10('0x49')](_0x4b7b70=>{_0x4b7b70['on'](_0x7c10('0x12a'),_0x32e772({'isAttributeSuggestion':!0x0}),{'priority':_0x7c10('0x111')});}),_0xbde19d['conversion'][_0x7c10('0xa6')](_0x7c10('0x4e'))[_0x7c10('0x49')](_0x4ac619=>{_0x4ac619['on'](_0x7c10('0x125'),(_0x512e72,_0x28b263,_0x5bd952)=>{const _0x4d520c=_0x5bd952['mapper'][_0x7c10('0xc3')](_0x28b263[_0x7c10('0x89')]);if(_0x4d520c)for(const _0x7cae95 of _0x4d520c)_0x7cae95[_0x7c10('0x31')](_0x7c10('0x14e'))||(_0x5bd952[_0x7c10('0x64')][_0x7c10('0x17a')]([_0x7c10('0x1'),'ck-suggestion-marker-formatBlock',_0x7c10('0x123')],_0x7cae95),_0x5bd952[_0x7c10('0x64')]['removeAttribute'](_0x7c10('0x6b'),_0x7cae95),_0x5bd952[_0x7c10('0x55')][_0x7c10('0x131')](_0x7cae95,_0x28b263['markerName']));},{'priority':_0x7c10('0x111')});}),_0xbde19d['conversion'][_0x7c10('0xa6')]('editingDowncast')[_0x7c10('0x49')](_0xc2c749=>{_0xc2c749['on'](_0x7c10('0x27'),(_0x3a65ae,_0x3168fa,_0x18de09)=>{const _0x503227=_0x18de09[_0x7c10('0x55')][_0x7c10('0xc3')](_0x3168fa['markerName']);if(!_0x503227)return;const {id:_0x4fc1e3}=this[_0x7c10('0xfc')](_0x3168fa['markerName']),_0x45fe01=Pt(this['_suggestions'][_0x7c10('0x122')](_0x4fc1e3));if(this[_0x7c10('0xff')](_0x45fe01))for(const _0x3adede of _0x503227)_0x3adede[_0x7c10('0x31')]('addHighlight')||(_0x18de09['writer'][_0x7c10('0x17a')]([_0x7c10('0x1'),_0x7c10('0x105'),_0x7c10('0x123')],_0x3adede),_0x18de09[_0x7c10('0x64')][_0x7c10('0xb4')]('data-suggestion',_0x3adede),_0x18de09[_0x7c10('0x55')]['unbindElementFromMarkerName'](_0x3adede,_0x3168fa[_0x7c10('0x89')]));},{'priority':_0x7c10('0x111')});}),_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x29')][_0x7c10('0xdf')](_0xa9ee2c=>{let _0x71c267=!0x1;const _0x12ae7e=Array[_0x7c10('0x17e')](_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x29')]['differ'][_0x7c10('0x152')]()),_0x2efc11=new Set();for(const {name:_0x2833b7,data:_0x158d95}of _0x12ae7e){const {group:_0x82bb0d,type:_0x330fee,subType:_0x10c098,id:_0x18dbff}=this[_0x7c10('0xfc')](_0x2833b7);if(_0x7c10('0x159')!==_0x82bb0d)continue;const _0x23167d=this[_0x7c10('0xa')][_0x7c10('0x122')](_0x18dbff);if(null!=_0x158d95['newRange']){_0x7c10('0x143')==_0x330fee&&(_0x71c267=_0x71c267||Et(_0x158d95[_0x7c10('0x138')],_0x2833b7,_0xa9ee2c,_0xbde19d[_0x7c10('0xa4')]['schema']));const _0x200654=_0x7c10('0x37')==_0x330fee&&this['_isBlockAttribute'](_0x10c098[_0x7c10('0x22')]('|')[0x0]);if(_0x158d95['newRange']['isCollapsed']||'$graveyard'==_0x158d95[_0x7c10('0x138')][_0x7c10('0xf4')][_0x7c10('0x12f')]||_0x7c10('0x60')==_0x330fee&&!jt(_0x158d95['newRange'])||_0x200654&&!jt(_0x158d95[_0x7c10('0x138')])||_0x7c10('0xe0')==_0x330fee&&!(!xt(_0x4300dd=_0x158d95['newRange'])&&!function(_0x112796){return _0x112796[_0x7c10('0xee')][_0x7c10('0x166')]==_0x112796['end'][_0x7c10('0x167')]&&_0x112796[_0x7c10('0xee')][_0x7c10('0x88')];}(_0x4300dd)))_0xa9ee2c[_0x7c10('0x177')](_0x2833b7),_0x71c267=!0x0;else{if(!_0x23167d||!_0x23167d[_0x7c10('0x164')])continue;_0x2efc11[_0x7c10('0x49')](_0x23167d);}}}var _0x4300dd;return _0x2efc11[_0x7c10('0x11d')]>0x0&&(_0x71c267=!!this[_0x7c10('0xb3')](_0x2efc11)||_0x71c267),_0x71c267;}),_0xbde19d[_0x7c10('0xa4')]['document']['registerPostFixer'](_0x338d55=>{let _0x34fb3e=!0x1;for(const _0x3c3d5f of _0xbde19d[_0x7c10('0xa4')][_0x7c10('0x29')][_0x7c10('0x13d')][_0x7c10('0x77')]())if(_0x7c10('0x161')==_0x3c3d5f['type'])for(const _0x428e20 of this[_0x7c10('0xa')][_0x7c10('0x128')]()){if(_0x428e20[_0x7c10('0x75')]||!_0x428e20[_0x7c10('0x164')])continue;const _0x539049='formatBlock'==_0x428e20[_0x7c10('0x15b')],_0x26cf17=Pt(_0x428e20),_0x3e5cd3=_0x26cf17&&this['_isBlockAttribute'](_0x26cf17);if(!_0x539049&&!_0x3e5cd3)continue;const _0x249f4a=_0x428e20[_0x7c10('0x36')]();if(_0x249f4a[_0x7c10('0xee')][_0x7c10('0x166')]!=_0x249f4a[_0x7c10('0x2c')][_0x7c10('0x166')]&&!_0x249f4a[_0x7c10('0x2c')]['isAtEnd']){const _0x2ba0c5=_0xbde19d['model'][_0x7c10('0xab')](_0x249f4a[_0x7c10('0xee')][_0x7c10('0x86')],_0x7c10('0x2c')),_0x4f4731=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x12')](_0x249f4a[_0x7c10('0xee')],_0x2ba0c5);_0x338d55[_0x7c10('0x137')](_0x428e20[_0x7c10('0xc9')](),{'range':_0x4f4731}),_0x34fb3e=!0x0;}}return _0x34fb3e;}),_0xbde19d[_0x7c10('0xa4')]['document'][_0x7c10('0xdf')](_0x53c6af=>this[_0x7c10('0x133')](_0x53c6af)),_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x29')][_0x7c10('0xdf')](_0x1e7736=>!_0x1e7736['batch'][_0x7c10('0x15c')]&&this[_0x7c10('0xd0')](_0x1e7736)),_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x7f')]['on'](_0x7c10('0x11'),(_0x183a32,_0x3a4342,_0x1a5419)=>{if(null==_0x1a5419){const {id:_0x426cda}=this['_splitMarkerName'](_0x3a4342['name']),_0x40c438=this[_0x7c10('0xa')][_0x7c10('0x122')](_0x426cda);_0x40c438&&_0x40c438[_0x7c10('0x8c')](_0x3a4342['name']);}}),_0xbde19d[_0x7c10('0xa4')]['document']['on']('change:data',()=>{const _0x4073e9=Array['from'](_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x29')][_0x7c10('0x13d')][_0x7c10('0x152')]())[_0x7c10('0x179')](_0x31a013=>_0x7c10('0x159')===this[_0x7c10('0xfc')](_0x31a013[_0x7c10('0x6e')])[_0x7c10('0x16c')]);if(0x0===_0x4073e9[_0x7c10('0x76')])return;_0x4073e9[_0x7c10('0x6')]((_0xfcc48c,_0x49079e)=>{const _0x37f2d5=_0xfcc48c[_0x7c10('0x148')][_0x7c10('0xe9')],_0x272f26=_0x49079e[_0x7c10('0x148')][_0x7c10('0xe9')];return null===_0x37f2d5&&null===_0x272f26?0x0:null===_0x37f2d5&&null!==_0x272f26?-0x1:null!==_0x37f2d5&&null===_0x272f26?0x1:_0x37f2d5[_0x7c10('0xee')][_0x7c10('0x16f')](_0x272f26['start'])?-0x1:0x1;});const _0xe201a4=new Set(),_0x40efdb=new Set();for(const {name:_0x59b9ae,data:_0x5d26a7}of _0x4073e9){const {id:_0x51d8ce}=this[_0x7c10('0xfc')](_0x59b9ae);if(null===_0x5d26a7[_0x7c10('0xe9')]){const _0x43d8d0=this[_0x7c10('0x7b')](_0x59b9ae);_0x40efdb['add'](_0x43d8d0);}else{const _0x335238=this['_suggestions'][_0x7c10('0x122')](_0x51d8ce);null!==_0x5d26a7['newRange']||_0x335238[_0x7c10('0x164')]?(_0xe201a4[_0x7c10('0x49')](_0x335238[_0x7c10('0x102')]),_0x40efdb[_0x7c10('0x49')](_0x335238)):this[_0x7c10('0x7')](_0x335238);}}_0x40efdb[_0x7c10('0x11d')]>0x0&&this['_refreshSuggestionsChain'](_0x40efdb);for(const _0x209a71 of _0xe201a4)this[_0x7c10('0x127')](_0x7c10('0x74'),_0x209a71);}),_0xbde19d['model']['on']('applyOperation',(_0x1b1e2a,_0x569fb2)=>{const _0x5bf0e4=_0x569fb2[0x0];if(!this['_suggestions'][_0x7c10('0x11d')])return;if(!_0x5bf0e4[_0x7c10('0x97')])return;if(_0x5bf0e4[_0x7c10('0x15')]['isUndo']||!_0x5bf0e4[_0x7c10('0x15')][_0x7c10('0x15c')])return;let _0x1fb9eb,_0x4b045a;switch(_0x5bf0e4[_0x7c10('0x15b')]){case _0x7c10('0x161'):_0x1fb9eb=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xab')](_0x5bf0e4[_0x7c10('0xc7')]),_0x4b045a=_0x1fb9eb['getShiftedBy'](_0x5bf0e4[_0x7c10('0x7c')]);break;case _0x7c10('0x22'):_0x1fb9eb=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xab')](_0x5bf0e4[_0x7c10('0xfa')]),_0x4b045a=_0xbde19d[_0x7c10('0xa4')]['createPositionAt'](_0x5bf0e4[_0x7c10('0xda')]);break;case _0x7c10('0xb7'):_0x1fb9eb=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xab')](_0x5bf0e4[_0x7c10('0x3d')]),_0x4b045a=_0x1fb9eb[_0x7c10('0xdd')](_0x5bf0e4[_0x7c10('0x7c')]);break;default:return;}const _0x36a17e=_0xbde19d[_0x7c10('0xa4')]['createRange'](_0x1fb9eb,_0x4b045a);_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x63')](()=>{for(const {suggestion:_0x28e4e9,meta:_0x1cbce7}of this[_0x7c10('0xf')](_0x36a17e)){if(_0x28e4e9[_0x7c10('0x75')])continue;if(_0x7c10('0x143')==_0x28e4e9[_0x7c10('0x15b')])continue;const _0x20ceb6=Pt(_0x28e4e9);if(_0x20ceb6&&this['_isBlockAttribute'](_0x20ceb6)&&_0x7c10('0x22')!=_0x5bf0e4[_0x7c10('0x15b')])continue;const _0x2909dd=_0x28e4e9[_0x7c10('0x148')]&&_0x28e4e9['data'][_0x7c10('0x13b')];(_0x7c10('0x60')!=_0x28e4e9['type']||_0x7c10('0x22')==_0x5bf0e4[_0x7c10('0x15b')]&&!_0x2909dd)&&(_0x1cbce7[_0x7c10('0xd6')]||_0x7c10('0x4b')==_0x28e4e9[_0x7c10('0x15b')]&&_0x1cbce7[_0x7c10('0x5e')]||_0x28e4e9[_0x7c10('0x36')]()[_0x7c10('0x18')](_0x36a17e)&&this[_0x7c10('0x95')](_0x28e4e9,_0x1fb9eb,_0x4b045a));}});},{'priority':_0x7c10('0x156')}),_0xbde19d[_0x7c10('0xa4')]['on'](_0x7c10('0x33'),(_0x5d8729,_0x1cdc3e)=>{const _0x11e2cc=_0x1cdc3e[0x0],_0x23d5e2=_0x1cdc3e[0x1];if(_0x23d5e2&&_0x23d5e2[_0x7c10('0x54')])return;if(this[_0x7c10('0x121')])return;if(!this[_0x7c10('0x126')][_0x7c10('0x4')])return;if(_0x11e2cc['isCollapsed'])return;const _0x3d13e9=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xef')],{start:_0x4a511b,end:_0x1046df}=_0x11e2cc[_0x7c10('0x36')](),_0x185fbb=_0x4a511b[_0x7c10('0x86')]&&_0x3d13e9[_0x7c10('0x35')](_0x4a511b[_0x7c10('0x86')])?null:_0x3d13e9[_0x7c10('0x43')](_0x4a511b,_0x7c10('0x19')),_0x2c5954=_0x1046df[_0x7c10('0x167')]&&_0x3d13e9[_0x7c10('0x35')](_0x1046df['nodeBefore'])?null:_0x3d13e9[_0x7c10('0x43')](_0x1046df,_0x7c10('0x52')),_0x372771=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x12')](_0x185fbb?_0x185fbb['start']:_0x4a511b,_0x2c5954?_0x2c5954[_0x7c10('0x2c')]:_0x1046df);_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x63')](_0xb134cd=>{this[_0x7c10('0x62')](_0x372771);const _0x4272c2=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xef')][_0x7c10('0x43')](_0x372771[_0x7c10('0xee')]);_0x11e2cc['is'](_0x7c10('0xe3'))?_0xb134cd[_0x7c10('0x12e')](_0x4272c2):_0x11e2cc[_0x7c10('0xe')](_0x4272c2);}),_0x5d8729[_0x7c10('0xec')]();},{'priority':_0x57e543['normal']+0xa}),_0xbde19d[_0x7c10('0xa4')]['on'](_0x7c10('0x14f'),(_0x234d43,_0x42cf2c)=>{const _0x30d4a5=_0x42cf2c[_0x42cf2c[_0x7c10('0x76')]-0x1];_0x30d4a5&&_0x30d4a5[_0x7c10('0x54')]||this[_0x7c10('0x121')]||this[_0x7c10('0x126')]['value']&&(_0xbde19d[_0x7c10('0xa4')]['change'](()=>{let _0x38e339=_0xbde19d['model']['insertContent'](_0x42cf2c[0x0],_0x42cf2c[0x1],_0x42cf2c[0x2],{'forceDefaultExecution':!0x0});if(!_0x38e339)return;_0x234d43[_0x7c10('0x7e')]=_0x38e339[_0x7c10('0xb8')]();const _0x3b780a=_0x38e339[_0x7c10('0x2c')][_0x7c10('0x167')],_0x1c63eb=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0xef')];_0x3b780a&&_0x1c63eb[_0x7c10('0x96')](_0x3b780a)&&!_0x1c63eb[_0x7c10('0xf8')](_0x3b780a)&&(_0x38e339=_0xbde19d[_0x7c10('0xa4')][_0x7c10('0x12')](_0x38e339[_0x7c10('0xee')],_0xbde19d[_0x7c10('0xa4')]['createPositionAt'](_0x3b780a,'end'))),this['markInsertion'](_0x38e339);}),_0x234d43['stop']());},{'priority':_0x7c10('0x111')}),this[_0x7c10('0x2b')][_0x7c10('0x8e')][_0x7c10('0x49')](_0x7c10('0x15d'),this[_0x7c10('0x126')]),this[_0x7c10('0x168')](_0x7c10('0x15d'));const _0x46edca=new _0x2b7c22(_0xbde19d,this['_suggestions']);_0xbde19d['commands'][_0x7c10('0x49')](_0x7c10('0x139'),_0x46edca),this[_0x7c10('0x168')]('acceptSuggestion');const _0x470fd1=new _0x40d456(_0xbde19d,this[_0x7c10('0xa')]);_0xbde19d[_0x7c10('0x8e')][_0x7c10('0x49')](_0x7c10('0x93'),_0x470fd1),this['enableCommand'](_0x7c10('0x93')),_0xbde19d['commands'][_0x7c10('0x49')](_0x7c10('0x135'),new _0x439884(_0xbde19d,_0x46edca,this[_0x7c10('0xa')])),this[_0x7c10('0x168')](_0x7c10('0x135')),_0xbde19d['commands']['add'](_0x7c10('0xd3'),new _0x439884(_0xbde19d,_0x470fd1,this['_suggestions'])),this[_0x7c10('0x168')](_0x7c10('0xd3')),_0xbde19d['commands'][_0x7c10('0x49')](_0x7c10('0x134'),new _0x2c1d1b(_0xbde19d,_0x46edca,this['_suggestions'])),this[_0x7c10('0x168')](_0x7c10('0x134')),_0xbde19d[_0x7c10('0x8e')][_0x7c10('0x49')](_0x7c10('0x178'),new _0x2c1d1b(_0xbde19d,_0x470fd1,this[_0x7c10('0xa')])),this['enableCommand'](_0x7c10('0x178'));const _0x4c5a15=_0xbde19d[_0x7c10('0x70')]['get'](_0x7c10('0x1b'));this[_0x7c10('0x80')](_0x4c5a15,_0x7c10('0x98'),(_0x3c7725,{threadId:_0x4fd099})=>{const _0x3527d1=this[_0x7c10('0xa')][_0x7c10('0x122')](_0x4fd099);_0x3527d1&&_0x3527d1['commentThread']&&0x1===_0x3527d1[_0x7c10('0x175')][_0x7c10('0x76')]&&this[_0x7c10('0x9')](_0x4fd099,{'hasComments':!0x0});},{'priority':_0x7c10('0x68')}),this[_0x7c10('0x80')](_0x4c5a15,_0x7c10('0x61'),(_0x5be666,{threadId:_0x580694})=>{const _0x5a3480=this['_suggestions'][_0x7c10('0x122')](_0x580694);_0x5a3480&&_0x5a3480[_0x7c10('0x175')]&&!_0x5a3480[_0x7c10('0x175')][_0x7c10('0x76')]&&this['_updateSuggestionData'](_0x580694,{'hasComments':!0x1});},{'priority':_0x7c10('0x68')});}set[_0x7c10('0xa5')](_0x1a68a7){if(this[_0x7c10('0xc1')])throw new _0x5391c2(_0x7c10('0x11b'),this);this[_0x7c10('0xc1')]=_0x1a68a7;}get[_0x7c10('0xa5')](){return this['_adapter'];}[_0x7c10('0xf6')]({skipNotAttached:_0x3334b2=!0x1,toJSON:_0x1f266b=!0x1}={}){const _0x7490b3=[];for(const _0xda1955 of this[_0x7c10('0xa')]['values']())_0x3334b2&&!_0xda1955[_0x7c10('0x164')]||_0x7490b3['push'](_0xda1955);return _0x1f266b?_0x7490b3[_0x7c10('0x14d')](_0x3b0385=>_0x3b0385[_0x7c10('0x176')]()):_0x7490b3;}[_0x7c10('0x153')](_0x34e452){const _0x36d6a3=this['_suggestions']['get'](_0x34e452);if(!_0x36d6a3)throw new _0x5391c2(_0x7c10('0xad'),this);return _0x36d6a3;}[_0x7c10('0x124')](_0x1f3028){return this[_0x7c10('0xa')]['has'](_0x1f3028);}['addSuggestionData'](_0xc719a2){const {authorId:_0x3d7cb8,id:_0x3f1669,attributes:_0x170a6e}=_0xc719a2,[_0x34e73b,_0x4b6e66]=_0xc719a2[_0x7c10('0x15b')][_0x7c10('0x22')](':'),_0x47b689=this['_suggestions'][_0x7c10('0x122')](_0x3f1669)||this['_createSuggestion'](_0x34e73b,_0x4b6e66,_0x3f1669,_0x3d7cb8,_0x170a6e);if(this[_0x7c10('0xbc')](_0x47b689),this[_0x7c10('0x14a')](_0x47b689,_0x34e73b,_0x4b6e66||null,_0x3d7cb8),_0x47b689[_0x7c10('0xc8')]=_0xc719a2['createdAt'],_0x47b689['_isDataLoaded']=!0x0,_0x170a6e&&_0x170a6e[_0x7c10('0x6f')]){const _0x5a4dae=_0x170a6e[_0x7c10('0x6f')],_0x312c77=this[_0x7c10('0x1a')](_0x5a4dae[_0x7c10('0x81')]);_0x47b689[_0x7c10('0x69')]=_0x5a4dae[_0x7c10('0xc8')],_0x47b689[_0x7c10('0x65')]=_0x312c77,_0x47b689[_0x7c10('0x172')]=!0x0;}else _0x47b689['authoredAt']=_0xc719a2[_0x7c10('0xc8')];switch(_0xc719a2[_0x7c10('0x148')]&&(_0x47b689[_0x7c10('0x148')]=_0xc719a2[_0x7c10('0x148')]),_0xc719a2['attributes']&&(_0x47b689[_0x7c10('0x57')]=_0xc719a2[_0x7c10('0x57')]),this['_adapter']&&this['_adapter'][_0x7c10('0xcf')]||(_0x47b689[_0x7c10('0xd1')]=!0x0),this[_0x7c10('0xaa')][_0x7c10('0x122')](_0x47b689)){case'notReady':this[_0x7c10('0xaa')][_0x7c10('0x12b')](_0x47b689,'dataReady');break;case _0x7c10('0x87'):_0x47b689[_0x7c10('0x164')]?(this[_0x7c10('0x1c')](new Set([_0x47b689])),this[_0x7c10('0xb3')](new Set([_0x47b689])),this[_0x7c10('0xaa')][_0x7c10('0x12b')](_0x47b689,_0x7c10('0x155')),this['fire'](_0x7c10('0xdc'),_0x47b689)):this[_0x7c10('0xaa')]['set'](_0x47b689,_0x7c10('0x104'));}return _0x47b689;}[_0x7c10('0x139')](_0x3110de){this[_0x7c10('0x54')](()=>{this[_0x7c10('0x2b')][_0x7c10('0xa4')][_0x7c10('0x63')](()=>{for(const _0x4588e7 of _0x3110de['getAllAdjacentSuggestions']())_0x4588e7[_0x7c10('0xe8')]();});});}[_0x7c10('0x93')](_0x219782){this[_0x7c10('0x54')](()=>{this[_0x7c10('0x2b')][_0x7c10('0xa4')][_0x7c10('0x63')](()=>{for(const _0x1c8adf of _0x219782[_0x7c10('0x12c')]())_0x1c8adf[_0x7c10('0x165')]();});});}['enableCommand'](_0x36f8c4,_0xff45ec){const _0x48c374=this[_0x7c10('0x2b')][_0x7c10('0x8e')][_0x7c10('0x122')](_0x36f8c4);if(!_0x48c374)throw new _0x5391c2('track-changes-command-not-found',this,{'commandName':_0x36f8c4});if(this[_0x7c10('0x9f')][_0x7c10('0x3e')](_0x48c374))throw new _0x5391c2('track-changes-enable-command-twice',this,{'commandName':_0x36f8c4});this[_0x7c10('0x9f')][_0x7c10('0x49')](_0x48c374),_0xff45ec&&_0x48c374['on'](_0x7c10('0x8f'),(_0xa77f04,_0x1e2348)=>{this['trackChangesCommand'][_0x7c10('0x4')]&&(this[_0x7c10('0x121')]||(_0x1e2348['length']>0x0&&_0x1e2348[_0x1e2348['length']-0x1]&&_0x1e2348[_0x1e2348[_0x7c10('0x76')]-0x1][_0x7c10('0x54')]?_0x1e2348[_0x7c10('0x84')]():(_0xa77f04[_0x7c10('0x7e')]=_0xff45ec((..._0x200e9d)=>_0x48c374[_0x7c10('0x8f')](..._0x200e9d,{'forceDefaultExecution':!0x0}),..._0x1e2348),_0xa77f04[_0x7c10('0xec')]())));},{'priority':'high'});}['forceDefaultExecution'](_0x48d330){let _0x3d13eb,_0x25312f;const _0x49d1a7=this['_isForcedDefaultExecutionBlock'];this[_0x7c10('0x121')]=!0x0;try{_0x3d13eb=_0x48d330();}catch(_0x157166){_0x25312f=_0x157166;}return _0x49d1a7||(this[_0x7c10('0x121')]=!0x1),_0x25312f&&_0x5391c2['rethrowUnexpectedError'](_0x25312f,this),_0x3d13eb;}[_0x7c10('0x7d')](_0x21567f,_0x28e22d=null,_0x321cc6={}){if(_0x21567f[_0x7c10('0xf7')])return null;const _0x4acab2=this[_0x7c10('0x2b')][_0x7c10('0x70')][_0x7c10('0x122')](_0x7c10('0x16b'))['me'];for(const {suggestion:_0x9c4dda,meta:_0x199b81}of this[_0x7c10('0xf')](_0x21567f,_0x7c10('0x4b')))if(_0x199b81[_0x7c10('0x5e')]){if(!_0x199b81[_0x7c10('0xba')]){if(_0x199b81[_0x7c10('0xd6')]){if(!this[_0x7c10('0x158')]||!Gt(_0x9c4dda,_0x321cc6))continue;return _0x9c4dda;}if(Gt(_0x9c4dda,_0x321cc6))return _0x9c4dda;this[_0x7c10('0x95')](_0x9c4dda,_0x21567f['start'],_0x21567f[_0x7c10('0x2c')]);break;}if(_0x28e22d==_0x9c4dda[_0x7c10('0x34')]&&Gt(_0x9c4dda,_0x321cc6)){const _0x20d7e3=_0x9c4dda[_0x7c10('0x36')]();return _0x20d7e3['start'][_0x7c10('0x38')](_0x21567f['end'])?this[_0x7c10('0xa7')](_0x9c4dda,this['_model']['createRange'](_0x21567f[_0x7c10('0xee')],_0x20d7e3[_0x7c10('0x2c')])):this[_0x7c10('0xa7')](_0x9c4dda,this['_model'][_0x7c10('0x12')](_0x20d7e3[_0x7c10('0xee')],_0x21567f[_0x7c10('0x2c')])),_0x9c4dda;}}const _0x1011d0=_0x362cf5(),_0x4eeac6=_0x4acab2['id'],_0x33a6ff=_0x28e22d?_0x7c10('0x17f')+_0x28e22d:_0x7c10('0x4b'),_0x1a02f7=this[_0x7c10('0x113')]({'id':_0x1011d0,'type':_0x33a6ff,'createdAt':new Date(),'authorId':_0x4eeac6,'attributes':_0x321cc6});return this['_addSuggestionMarker'](_0x33a6ff,_0x1011d0,_0x4eeac6,_0x21567f),_0x1a02f7;}[_0x7c10('0x115')](_0x220a00,_0x3cf512=_0x7c10('0xa9'),_0x3a2696={}){const _0x5a1e22=this['editor']['plugins'][_0x7c10('0x122')](_0x7c10('0x16b'))['me'],_0x1dc3c3=this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x7c10('0x4b'),_0x3cf512,_0x7c10('0x17c'));for(const _0x1e1826 of this['getSuggestions']())if(_0x1e1826['author']['id']==_0x5a1e22['id']&&'insertion'==_0x1e1826[_0x7c10('0x15b')]&&_0x1e1826[_0x7c10('0x34')]==_0x3cf512&&Gt(_0x1e1826,_0x3a2696)&&(_0x1dc3c3(_0x1e1826['getRanges'](),_0x220a00)||_0x1dc3c3(_0x220a00,_0x1e1826[_0x7c10('0x101')]()))){for(const _0x3de9b8 of _0x220a00)_0x1e1826[_0x7c10('0x41')](_0x3de9b8);return _0x1e1826;}for(const {suggestion:_0x5172bf,meta:_0x1941d3}of this['_findSuggestions'](_0x220a00,_0x7c10('0x4b'))){if(!_0x1941d3[_0x7c10('0x5e')])continue;if(!this[_0x7c10('0x158')]&&_0x1941d3[_0x7c10('0xd6')])continue;if(!Gt(_0x5172bf,_0x3a2696))continue;let _0x2fcc5a=!0x0;for(const _0x2cf5b9 of _0x5172bf['getRanges']())for(const _0x2af9de of _0x220a00)if(!_0x2cf5b9['containsRange'](_0x2af9de)){_0x2fcc5a=!0x1;break;}if(_0x2fcc5a)return _0x5172bf;}const _0x99cfcb=_0x362cf5(),_0x92875e=_0x5a1e22['id'],_0x55ce5b=_0x7c10('0x17f')+_0x3cf512,_0x597696=this['_setSuggestionData']({'id':_0x99cfcb,'type':_0x55ce5b,'createdAt':new Date(),'authorId':_0x92875e,'attributes':_0x3a2696});for(const _0x11ad0f of _0x220a00)this['_addSuggestionMarker'](_0x55ce5b,_0x99cfcb,_0x92875e,_0x11ad0f,_0x24cf3e[_0x7c10('0x3a')]());return _0x597696;}['markInlineFormat'](_0x3e2ff4,_0x23c28a,_0x50ec53=null,_0x7ed62a={}){if(_0x50ec53=_0x50ec53||Rt(_0x23c28a),_0x3e2ff4[_0x7c10('0xf7')])return null;if('never'===this[_0x7c10('0x100')]){const _0x4e8f42=this[_0x7c10('0xf5')]['getSuggestionCallback'](_0x7c10('0x143'),_0x50ec53,'accept');return this[_0x7c10('0x54')](()=>_0x4e8f42([_0x3e2ff4],_0x23c28a,_0x7ed62a)),null;}const _0x523b1a=this['editor'][_0x7c10('0x70')][_0x7c10('0x122')](_0x7c10('0x16b'))['me'],_0x3ff345=[];if(_0x7c10('0x145')!==this['_trackFormatChanges'])for(const {suggestion:_0x116ab4,meta:_0x23ffc0}of this[_0x7c10('0xf')](_0x3e2ff4,_0x7c10('0x4b')))_0x23ffc0[_0x7c10('0x5e')]&&!_0x23ffc0[_0x7c10('0xb5')]&&_0x3ff345[_0x7c10('0x59')](..._0x116ab4[_0x7c10('0x101')]());const _0x56ce98=function(_0x290c2d,_0x49a25f){const _0x807e5e=[];for(const _0x512e90 of _0x49a25f){const _0x374560=_0x290c2d[_0x7c10('0x2')](_0x512e90);_0x374560&&_0x807e5e['push'](_0x374560);}return _0x807e5e;}(_0x3e2ff4,_0x3ff345),_0x1f2fd5=function(_0x3071d3,_0x2fac69){const _0x15cac8=[_0x3071d3];for(const _0x2bee8d of _0x2fac69){let _0x39c454=0x0;for(;_0x39c454<_0x15cac8[_0x7c10('0x76')];){const _0x5d5d4c=_0x15cac8[_0x39c454][_0x7c10('0xbd')](_0x2bee8d);_0x15cac8[_0x7c10('0x45')](_0x39c454,0x1,..._0x5d5d4c),_0x39c454+=_0x5d5d4c[_0x7c10('0x76')];}}return _0x15cac8;}(_0x3e2ff4,_0x3ff345);_0x56ce98['length']&&this[_0x7c10('0x116')]['change'](()=>{for(const _0x20f620 of _0x56ce98){const _0xdf8015=this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x7c10('0x143'),_0x50ec53,'accept');this[_0x7c10('0x54')](()=>_0xdf8015([_0x20f620],_0x23c28a,_0x7ed62a));}});for(const _0x410340 of _0x1f2fd5){let _0x7f70cf=null,_0xea9938=_0x410340['start'],_0x2da9a6=_0x410340['end'];for(const {suggestion:_0x130e5d,meta:_0x2d23f3}of this[_0x7c10('0xf')](_0x410340,_0x7c10('0x143'))){if(!_0x2d23f3['isOwn'])continue;if(_0x130e5d[_0x7c10('0x34')]!=_0x50ec53)continue;if(!Gt(_0x130e5d,_0x7ed62a))continue;const _0x5e1a9f=_0x130e5d[_0x7c10('0x36')]();if(_0x5e1a9f['containsRange'](_0x410340,!0x0))return null;_0xea9938=_0xea9938['isBefore'](_0x5e1a9f[_0x7c10('0xee')])?_0xea9938:_0x5e1a9f[_0x7c10('0xee')],_0x2da9a6=_0x2da9a6[_0x7c10('0x1e')](_0x5e1a9f[_0x7c10('0x2c')])?_0x2da9a6:_0x5e1a9f['end'],_0x7f70cf?_0x5e1a9f['start'][_0x7c10('0x16f')](_0x7f70cf['getFirstRange']()['start'])?(_0x7f70cf[_0x7c10('0x92')](),_0x7f70cf=_0x130e5d):_0x130e5d[_0x7c10('0x92')]():_0x7f70cf=_0x130e5d;}const _0x4b53fa=this[_0x7c10('0x116')]['createRange'](_0xea9938,_0x2da9a6);if(_0x7f70cf)this[_0x7c10('0xa7')](_0x7f70cf,_0x4b53fa);else{const _0x159a1f=_0x362cf5(),_0x55d1a8=_0x523b1a['id'];this[_0x7c10('0x113')]({'id':_0x159a1f,'type':_0x7c10('0x180')+_0x50ec53,'data':_0x23c28a,'createdAt':new Date(),'authorId':_0x55d1a8,'attributes':_0x7ed62a}),this[_0x7c10('0x1f')](_0x7c10('0x180')+_0x50ec53,_0x159a1f,_0x55d1a8,_0x4b53fa);}}return null;}[_0x7c10('0xc5')](_0x2ab1f8,_0x394940,_0x3e122f=[],_0x544098=null,_0x21cf51={}){_0x394940[_0x7c10('0xb1')]||(_0x394940[_0x7c10('0xb1')]=_0x394940[_0x7c10('0x23')]),_0x394940[_0x7c10('0x13b')]=_0x2ab1f8['is'](_0x7c10('0x58')),_0x544098=_0x544098||Rt(_0x394940);const _0x3447b9=_0x3e122f[_0x7c10('0x14d')](_0x1da56f=>Ut(_0x1da56f,this[_0x7c10('0x116')])),_0x4cdbee=_0x2ab1f8['is']('range')?_0x2ab1f8:Ut(_0x2ab1f8,this[_0x7c10('0x116')]);if(_0x7c10('0x5a')===this['_trackFormatChanges']){const _0x497e15=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x544098,_0x7c10('0xe8'));return this[_0x7c10('0x54')](()=>_0x497e15([_0x4cdbee],_0x394940,_0x21cf51)),null;}_0x3447b9['push'](_0x4cdbee);let _0x354d07=!0x0;for(const _0x45033d of _0x3447b9)if(!this[_0x7c10('0x150')](_0x45033d)){_0x354d07=!0x1;break;}if(_0x354d07&&'always'!==this[_0x7c10('0x100')]){const _0x22b20f=this['_suggestionFactory'][_0x7c10('0x20')]('formatBlock',_0x544098,_0x7c10('0xe8'));return this['forceDefaultExecution'](()=>_0x22b20f([_0x4cdbee],_0x394940,_0x21cf51)),null;}let _0x4fe8cd=null,_0x344190=_0x4cdbee[_0x7c10('0xee')],_0x5d5d04=_0x4cdbee[_0x7c10('0x2c')];for(const {suggestion:_0x516925,meta:_0x3d2b9b}of this['_findSuggestions'](_0x4cdbee,_0x7c10('0x60'))){if(!_0x3d2b9b[_0x7c10('0x5e')])continue;if(_0x3d2b9b[_0x7c10('0xba')]||_0x3d2b9b[_0x7c10('0xd6')]||_0x3d2b9b[_0x7c10('0xb5')])continue;if(_0x516925[_0x7c10('0x148')]['formatGroupId']!=_0x394940[_0x7c10('0xb1')])continue;if(!Gt(_0x516925,_0x21cf51))continue;const _0x472663=_0x516925['getFirstRange']();if(_0x516925[_0x7c10('0x34')]==_0x544098){if(_0x472663[_0x7c10('0x18')](_0x4cdbee,!0x0))return null;_0x344190=_0x344190[_0x7c10('0x16f')](_0x472663[_0x7c10('0xee')])?_0x344190:_0x472663[_0x7c10('0xee')],_0x5d5d04=_0x5d5d04[_0x7c10('0x1e')](_0x472663[_0x7c10('0x2c')])?_0x5d5d04:_0x472663[_0x7c10('0x2c')],_0x4fe8cd?_0x472663[_0x7c10('0xee')][_0x7c10('0x16f')](_0x4fe8cd[_0x7c10('0x36')]()[_0x7c10('0xee')])?(_0x4fe8cd[_0x7c10('0x92')](),_0x4fe8cd=_0x516925):_0x516925['removeMarkers']():_0x4fe8cd=_0x516925;}else{const _0x114174=_0x4cdbee['getIntersection'](_0x472663);this[_0x7c10('0x173')](_0x516925,_0x114174);}}const _0x396179=this[_0x7c10('0x2b')]['plugins'][_0x7c10('0x122')]('Users')['me'],_0x4a9f56=_0x362cf5(),_0xc77800=_0x396179['id'];if(_0x4fe8cd)return this[_0x7c10('0xa7')](_0x4fe8cd,this[_0x7c10('0x116')]['createRange'](_0x344190,_0x5d5d04)),_0x4fe8cd;{const _0x1d1cc9=this[_0x7c10('0x113')]({'id':_0x4a9f56,'type':_0x7c10('0x10f')+_0x544098,'data':_0x394940,'createdAt':new Date(),'authorId':_0xc77800,'attributes':_0x21cf51});return this[_0x7c10('0x1f')]('formatBlock:'+_0x544098,_0x4a9f56,_0xc77800,this['_model'][_0x7c10('0x12')](_0x344190,_0x5d5d04)),_0x1d1cc9;}}[_0x7c10('0xe2')](_0x627317,_0x210851,_0x3f0bc3=[],_0xb140ee=null,_0x479de3={}){_0x210851[_0x7c10('0xb1')]||(_0x210851['formatGroupId']=_0x210851['commandName']);const _0x28a003=_0x627317[0x0];_0x210851[_0x7c10('0x13b')]=_0x28a003['is'](_0x7c10('0x58')),_0xb140ee=_0xb140ee||Rt(_0x210851);const _0x1e31a2=_0x3f0bc3['map'](_0x5e8d86=>Ut(_0x5e8d86,this[_0x7c10('0x116')])),_0x5a3ff3=_0x28a003['is'](_0x7c10('0x58'))?_0x627317:_0x627317[_0x7c10('0x14d')](_0x173f6e=>Ut(_0x173f6e,this[_0x7c10('0x116')]));if(_0x7c10('0x5a')===this[_0x7c10('0x100')]){const _0x4ca4cd=this['_suggestionFactory'][_0x7c10('0x20')](_0x7c10('0x60'),_0xb140ee,_0x7c10('0xe8'));return this[_0x7c10('0x54')](()=>_0x4ca4cd(_0x5a3ff3,_0x210851,_0x479de3)),null;}_0x1e31a2[_0x7c10('0x59')](..._0x5a3ff3);let _0x34215e=!0x0;for(const _0x187042 of _0x1e31a2)if(!this[_0x7c10('0x150')](_0x187042)){_0x34215e=!0x1;break;}if(_0x34215e&&_0x7c10('0x145')!==this[_0x7c10('0x100')]){const _0x339227=this[_0x7c10('0xf5')]['getSuggestionCallback'](_0x7c10('0x60'),_0xb140ee,'accept');return this['forceDefaultExecution'](()=>_0x339227(_0x5a3ff3,_0x210851,_0x479de3)),null;}const _0x54743b=this[_0x7c10('0x2b')][_0x7c10('0x70')]['get'](_0x7c10('0x16b'))['me'];for(const _0x571c25 of this['getSuggestions']()){if(_0x571c25['author']['id']!=_0x54743b['id'])continue;if(_0x7c10('0x60')!=_0x571c25[_0x7c10('0x15b')]||_0x571c25['data'][_0x7c10('0xb1')]!=_0x210851[_0x7c10('0xb1')])continue;if(!Gt(_0x571c25,_0x479de3))continue;const _0x21d718=_0x571c25['subType']==_0xb140ee;for(let _0x425c74=0x0;_0x425c74<_0x5a3ff3['length'];_0x425c74++){const _0x317f22=_0x5a3ff3[_0x425c74];for(const _0x4a6ef5 of _0x571c25[_0x7c10('0xcd')]()){const _0x3df9e7=_0x4a6ef5[_0x7c10('0x42')]();if(_0x317f22[_0x7c10('0x38')](_0x3df9e7)){_0x21d718?(_0x5a3ff3[_0x7c10('0x45')](_0x425c74,0x1),_0x425c74--):_0x571c25[_0x7c10('0x177')](_0x4a6ef5[_0x7c10('0x6e')]);break;}}}}if(0x0==_0x5a3ff3[_0x7c10('0x76')])return null;const _0x14094f=this['_suggestionFactory'][_0x7c10('0x20')]('formatBlock',_0xb140ee,_0x7c10('0x17c'));for(const _0x460ec1 of this[_0x7c10('0xf6')]())if(_0x460ec1[_0x7c10('0x65')]['id']==_0x54743b['id']&&_0x7c10('0x60')==_0x460ec1[_0x7c10('0x15b')]&&_0x460ec1[_0x7c10('0x148')][_0x7c10('0xb1')]==_0x210851[_0x7c10('0xb1')]&&_0x460ec1[_0x7c10('0x34')]==_0xb140ee&&Gt(_0x460ec1,_0x479de3)&&(_0x14094f(_0x460ec1[_0x7c10('0x101')](),_0x5a3ff3)||_0x14094f(_0x5a3ff3,_0x460ec1[_0x7c10('0x101')]()))){for(const _0x26cb95 of _0x5a3ff3)_0x460ec1[_0x7c10('0x41')](_0x26cb95);return _0x460ec1;}const _0x4cbaf3=_0x362cf5(),_0x2f8d15=_0x54743b['id'],_0x4dd752=_0x7c10('0x10f')+_0xb140ee,_0x5de4c8=this[_0x7c10('0x113')]({'id':_0x4cbaf3,'type':_0x4dd752,'data':_0x210851,'createdAt':new Date(),'authorId':_0x2f8d15,'attributes':_0x479de3});for(const _0x50feab of _0x5a3ff3)this[_0x7c10('0x1f')](_0x4dd752,_0x4cbaf3,_0x2f8d15,_0x50feab,_0x24cf3e[_0x7c10('0x3a')]());return _0x5de4c8;}[_0x7c10('0x62')](_0x1dd87b,_0x34e82a=null,_0x4d8606={}){if(_0x1dd87b[_0x7c10('0xf7')])return null;const _0x12a3de=this[_0x7c10('0x2b')][_0x7c10('0x70')][_0x7c10('0x122')]('Users')['me'],_0x27b6b8=new _0xc3c711(_0x1dd87b[_0x7c10('0xee')],_0x1dd87b[_0x7c10('0x2c')]);for(const {suggestion:_0x5cd06c,meta:_0x4f2994}of this['_findSuggestions'](_0x27b6b8,'insertion'))if(_0x4f2994[_0x7c10('0x5e')]&&!_0x4f2994[_0x7c10('0xba')]){if(_0x5cd06c[_0x7c10('0x75')]){const _0x4f15f0=_0x5cd06c[_0x7c10('0x101')]()[_0x7c10('0x179')](_0x46a3da=>_0x7c10('0x8d')!=_0x46a3da[_0x7c10('0xf4')]['rootName']);_0x4f15f0[_0x7c10('0x9d')](_0x15f0e0=>_0x27b6b8['containsRange'](_0x15f0e0,!0x0))&&_0x5cd06c['discard']();if(_0x4f15f0[_0x7c10('0x5')](_0x2f6d5d=>_0x2f6d5d[_0x7c10('0x18')](_0x27b6b8,!0x0))){const _0x410e77=this[_0x7c10('0xf5')]['getSuggestionCallback']('deletion',_0x34e82a,_0x7c10('0xe8'));return this[_0x7c10('0x54')](()=>_0x410e77([_0x27b6b8],null,_0x4d8606)),null;}}else{const _0x5df13d=_0x27b6b8[_0x7c10('0x2')](_0x5cd06c[_0x7c10('0x36')]());null!==_0x5df13d&&_0x5cd06c[_0x7c10('0xb9')]([_0x5df13d],null,_0x4d8606);}}if(_0x27b6b8[_0x7c10('0x82')](),_0x27b6b8['isCollapsed']||_0x7c10('0x8d')==_0x27b6b8[_0x7c10('0xf4')][_0x7c10('0x12f')])return null;let _0x580611=null,_0x4febf3=_0x27b6b8[_0x7c10('0xee')],_0x45027c=_0x27b6b8['end'];const _0x4203a1=this['_findSuggestions'](_0x27b6b8,_0x7c10('0xe0'));for(const {suggestion:_0x5f4758,meta:_0x5dbb7c}of _0x4203a1){const _0x4e134e=this['_model'][_0x7c10('0x12')](_0x4febf3,_0x45027c);if(_0x5dbb7c[_0x7c10('0x5e')]&&(this[_0x7c10('0x158')]||!_0x5dbb7c[_0x7c10('0xd6')]&&!_0x5dbb7c[_0x7c10('0xb5')])){if(_0x5f4758['isMultiRange']){if(!Gt(_0x5f4758,_0x4d8606))continue;let _0x166d5e=!0x0;for(const _0x5b772d of _0x5f4758[_0x7c10('0x101')]()){if(_0x5b772d[_0x7c10('0x18')](_0x4e134e,!0x0))return _0x5f4758;_0x4e134e[_0x7c10('0x18')](_0x5b772d)||(_0x166d5e=!0x1);}_0x166d5e&&_0x5f4758['discard']();}else{const _0x56253b=_0x5f4758[_0x7c10('0x36')]();if(_0x56253b[_0x7c10('0x18')](_0x4e134e,!0x0))return _0x5f4758;if(!Gt(_0x5f4758,_0x4d8606)){_0x4e134e[_0x7c10('0x18')](_0x56253b)?_0x5f4758[_0x7c10('0x92')]():_0x56253b['containsPosition'](_0x4febf3)?_0x4febf3=_0x56253b['end']:_0x56253b[_0x7c10('0xbb')](_0x45027c)&&(_0x45027c=_0x56253b['start']);continue;}_0x4febf3=_0x4febf3[_0x7c10('0x16f')](_0x56253b[_0x7c10('0xee')])?_0x4febf3:_0x56253b['start'],_0x45027c=_0x45027c[_0x7c10('0x1e')](_0x56253b[_0x7c10('0x2c')])?_0x45027c:_0x56253b['end'],_0x4d8606=Object[_0x7c10('0xd5')]({},_0x5f4758['attributes']),_0x580611?_0x56253b[_0x7c10('0xee')][_0x7c10('0x16f')](_0x580611['getFirstRange']()[_0x7c10('0xee')])?(_0x580611[_0x7c10('0x92')](),_0x580611=_0x5f4758):_0x5f4758[_0x7c10('0x92')]():_0x580611=_0x5f4758;}}}if(_0x580611)return this[_0x7c10('0xa7')](_0x580611,this[_0x7c10('0x116')][_0x7c10('0x12')](_0x4febf3,_0x45027c)),_0x580611;{const _0x210a4e=_0x362cf5(),_0x21a064=this[_0x7c10('0x116')]['createRange'](_0x4febf3,_0x45027c),_0x9c0d9a=_0x12a3de['id'],_0x396784=_0x34e82a?_0x7c10('0xc4')+_0x34e82a:'deletion',_0x2df872=this['_setSuggestionData']({'id':_0x210a4e,'type':_0x396784,'createdAt':new Date(),'authorId':_0x9c0d9a,'attributes':_0x4d8606});return this[_0x7c10('0x1f')](_0x396784,_0x210a4e,_0x9c0d9a,_0x21a064),_0x2df872;}}[_0x7c10('0x110')](_0x1aa263,_0x50ef76='multi',_0x57df23={}){const _0xb56d12=this[_0x7c10('0x2b')][_0x7c10('0x70')][_0x7c10('0x122')](_0x7c10('0x16b'))['me'],_0x560659=_0x1aa263['map'](_0x3c00fe=>new _0xc3c711(_0x3c00fe[_0x7c10('0xee')],_0x3c00fe['end'])),_0x50e3db=new Set();for(const {suggestion:_0x5a5102,meta:_0x54a7ee}of this['_findSuggestions'](_0x560659,_0x7c10('0x4b')))_0x54a7ee[_0x7c10('0x5e')]&&!_0x54a7ee[_0x7c10('0xba')]&&_0x50e3db[_0x7c10('0x49')](_0x5a5102);for(const _0x56e6c6 of _0x50e3db)if(_0x56e6c6[_0x7c10('0x75')]){const _0x2e1a7e=_0x56e6c6[_0x7c10('0x101')]();(!_0x56e6c6[_0x7c10('0x57')]||!_0x56e6c6[_0x7c10('0x57')][_0x7c10('0xe4')])&&(_0x2e1a7e['every'](_0x39b896=>_0x560659['some'](_0x280d5d=>_0x280d5d[_0x7c10('0x18')](_0x39b896,!0x0)))&&_0x56e6c6['discard']());if(_0x560659[_0x7c10('0x9d')](_0x183cb6=>_0x2e1a7e['some'](_0x101698=>_0x101698[_0x7c10('0x18')](_0x183cb6,!0x0)))){const _0x39904c=this[_0x7c10('0xf5')]['getSuggestionCallback']('deletion',_0x50ef76,_0x7c10('0xe8'));return this[_0x7c10('0x54')](()=>_0x39904c(_0x1aa263,null,_0x57df23)),null;}}else{const _0x49c890=_0x56e6c6[_0x7c10('0x36')]();_0x560659[_0x7c10('0x5')](_0x13916c=>_0x13916c[_0x7c10('0x18')](_0x49c890,!0x0))&&_0x56e6c6[_0x7c10('0x165')]();if(_0x560659[_0x7c10('0x9d')](_0x463c28=>_0x49c890[_0x7c10('0x18')](_0x463c28,!0x0))){const _0x3fdc1a=this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x7c10('0xe0'),_0x50ef76,_0x7c10('0xe8'));return this['forceDefaultExecution'](()=>_0x3fdc1a(_0x560659,null,_0x57df23)),null;}}const _0x58f573=this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x7c10('0xe0'),_0x50ef76,_0x7c10('0x17c'));let _0x3e9670=null;for(const _0x4d96e8 of this[_0x7c10('0xf6')]())if(_0x4d96e8[_0x7c10('0x65')]['id']==_0xb56d12['id']&&_0x4d96e8[_0x7c10('0x164')]&&_0x7c10('0xe0')==_0x4d96e8['type']&&_0x4d96e8[_0x7c10('0x34')]==_0x50ef76&&Gt(_0x4d96e8,_0x57df23)&&(_0x58f573(_0x4d96e8['getRanges'](),_0x560659)||_0x58f573(_0x560659,_0x4d96e8[_0x7c10('0x101')]()))){if(_0x3e9670){if(_0x4d96e8[_0x7c10('0x175')]&&_0x4d96e8[_0x7c10('0x175')]['length'])continue;for(const _0x2877e8 of _0x4d96e8[_0x7c10('0x101')]())_0x3e9670[_0x7c10('0xde')](_0x2877e8)||_0x3e9670[_0x7c10('0x41')](_0x2877e8);_0x4d96e8[_0x7c10('0x92')]();}else{_0x3e9670=_0x4d96e8;for(const _0x5e5287 of _0x560659)_0x4d96e8['isIntersectingWithRange'](_0x5e5287)||_0x4d96e8['addRange'](_0x5e5287);}}if(_0x3e9670)return _0x3e9670;_0x50e3db[_0x7c10('0xc2')]();for(const {suggestion:_0x3e21d5,meta:_0x1394e3}of this[_0x7c10('0xf')](_0x560659,_0x7c10('0xe0')))_0x1394e3[_0x7c10('0x5e')]&&(this['_mergeNestedSuggestions']||!_0x1394e3['containsRangeInObject']&&!_0x1394e3[_0x7c10('0xb5')])&&Gt(_0x3e21d5,_0x57df23)&&_0x50e3db[_0x7c10('0x49')](_0x3e21d5);for(const _0x298a44 of _0x50e3db){const _0x24b17f=_0x298a44[_0x7c10('0x101')]();if(!_0x57df23||!_0x57df23[_0x7c10('0xe4')]){if(_0x560659[_0x7c10('0x9d')](_0x551b17=>_0x24b17f[_0x7c10('0x5')](_0x4ef68a=>_0x4ef68a[_0x7c10('0x18')](_0x551b17,!0x0))))return _0x298a44;}(!_0x298a44[_0x7c10('0x57')]||!_0x298a44['attributes'][_0x7c10('0xe4')])&&(_0x24b17f[_0x7c10('0x9d')](_0x558bbd=>_0x560659[_0x7c10('0x5')](_0x7eae71=>_0x7eae71[_0x7c10('0x18')](_0x558bbd,!0x0)))&&_0x298a44['discard']());}const _0x52f695=_0x362cf5(),_0x4b9f0f=_0xb56d12['id'],_0x160a6c='deletion:'+_0x50ef76,_0x577b38=this['_setSuggestionData']({'id':_0x52f695,'type':_0x160a6c,'createdAt':new Date(),'authorId':_0x4b9f0f,'attributes':_0x57df23});for(const _0x229842 of _0x560659)_0x229842['detach'](),_0x229842['isCollapsed']||_0x7c10('0x8d')==_0x229842[_0x7c10('0xf4')][_0x7c10('0x12f')]||this[_0x7c10('0x1f')](_0x160a6c,_0x52f695,_0x4b9f0f,_0x229842,_0x24cf3e[_0x7c10('0x3a')]());return _0x577b38;}[_0x7c10('0x5c')](_0x53d749,_0x2bd586,_0x5a5a1c,_0x15b54f,_0x48c4b5){if(_0x53d749[_0x7c10('0xf7')])return[];if(_0x7c10('0x5a')===this[_0x7c10('0x100')])return[];const _0x3daf8a=this[_0x7c10('0x2b')][_0x7c10('0x70')]['get'](_0x7c10('0x16b'))['me']['id'],_0x1d4e34=Array[_0x7c10('0x17e')](this[_0x7c10('0xa')][_0x7c10('0x128')]())[_0x7c10('0x179')](_0x459c6b=>_0x7c10('0x37')==_0x459c6b[_0x7c10('0x15b')]&&_0x459c6b[_0x7c10('0x148')]['key']==_0x2bd586&&_0x459c6b[_0x7c10('0xde')](_0x53d749));if(_0x7c10('0xca')===this['_trackFormatChanges']){const _0x20eed6=this[_0x7c10('0xf')](_0x53d749,_0x7c10('0x4b'))['filter'](({meta:_0x4c4f33})=>_0x4c4f33[_0x7c10('0x5e')]&&!_0x4c4f33[_0x7c10('0xb5')]&&!_0x4c4f33[_0x7c10('0xba')])[_0x7c10('0x14d')](({suggestion:_0x262ebe})=>_0x262ebe);_0x1d4e34[_0x7c10('0xd8')](..._0x20eed6);}const _0x5322ce=new Map([[_0x53d749,_0x5a5a1c]]);for(const _0x2697e4 of _0x1d4e34){const _0xf6ce55=_0x7c10('0x37')==_0x2697e4['type']?_0x2697e4['data'][_0x7c10('0x16')]:void 0x0,_0x4ba2f8=_0x2697e4[_0x7c10('0x36')](),_0x2778ed=Array['from'](_0x5322ce['keys']())[_0x7c10('0x99')](_0x2e39f5=>_0x2e39f5['isIntersecting'](_0x4ba2f8));if(!_0x2778ed)continue;const _0x501536=_0x2778ed[_0x7c10('0xbd')](_0x4ba2f8);this[_0x7c10('0xff')](_0x2bd586)&&_0x7c10('0x4b')==_0x2697e4[_0x7c10('0x15b')]&&0x0!=_0x501536[_0x7c10('0x76')]||(_0x5322ce['delete'](_0x2778ed),_0x501536[_0x7c10('0x48')](_0x1780c4=>{_0x5322ce['set'](_0x1780c4,_0x5a5a1c);}),_0x7c10('0x4b')!=_0x2697e4[_0x7c10('0x15b')]&&_0xf6ce55!=_0x15b54f&&_0x5322ce[_0x7c10('0x12b')](_0x2778ed[_0x7c10('0x2')](_0x4ba2f8),_0xf6ce55));}const _0x56f7b8=[];for(const [_0xa7029a,_0x3fbe2c]of _0x5322ce){const _0x50d5ea=_0x362cf5(),_0x457cf8={'key':_0x2bd586,'oldValue':_0x3fbe2c,'newValue':_0x15b54f};_0x2bd586[_0x7c10('0x76')]>0x25&&console['warn'](_0x7c10('0xcb'),{'key':_0x2bd586});const _0x3e0d18=(_0x7c10('0x30')+(_0x2bd586+'|'+Rt({'newValue':_0x15b54f})))[_0x7c10('0x118')](0x0,0x3c),_0x1a43a3=this[_0x7c10('0x113')]({'id':_0x50d5ea,'type':_0x3e0d18,'data':_0x457cf8,'createdAt':new Date(),'authorId':_0x3daf8a,'attributes':_0x48c4b5});_0x56f7b8['push'](_0x1a43a3),this[_0x7c10('0x1f')](_0x3e0d18,_0x50d5ea,_0x3daf8a,_0xa7029a);}return _0x56f7b8;}[_0x7c10('0x17')](_0x363283){this['_blockAttributeKeys'][_0x7c10('0x49')](_0x363283);}[_0x7c10('0x4d')](_0x301ef9){this[_0x7c10('0x40')][_0x7c10('0x49')](_0x301ef9);}[_0x7c10('0x170')](_0x26217f,_0x169f44=[],_0x5841e4=[]){this[_0x7c10('0x168')](_0x26217f,(_0x1634e6,..._0x252546)=>{this[_0x7c10('0x147')](()=>{_0x1634e6(..._0x252546);});});for(const _0x2bd350 of _0x169f44)this[_0x7c10('0x4d')](_0x2bd350);for(const _0x4375a3 of _0x5841e4)this[_0x7c10('0x17')](_0x4375a3);}[_0x7c10('0xa7')](_0x5d2a3f,_0x5946fb){const _0x1f9ca8=_0x5d2a3f[_0x7c10('0xc9')]();this['_model'][_0x7c10('0x63')](_0x9ece04=>{_0x9ece04[_0x7c10('0x137')](_0x1f9ca8,{'range':_0x5946fb});});}['_addThreadToSuggestion'](_0x5c0944){const _0x503e2f=_0x5c0944['id'],_0xa1d58d=this[_0x7c10('0x2b')][_0x7c10('0xaf')][_0x7c10('0x122')](_0x7c10('0x151'));this[_0x7c10('0x11e')]['hasCommentThread'](_0x503e2f)||this[_0x7c10('0x11e')][_0x7c10('0x11c')]({'channelId':_0xa1d58d,'threadId':_0x503e2f,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x31b306=this[_0x7c10('0x11e')][_0x7c10('0x106')](_0x503e2f);_0x31b306[_0x7c10('0x6c')](_0x7c10('0x142')),_0x31b306['isRemovable']=!0x1,_0x5c0944[_0x7c10('0x175')]=_0x31b306;}[_0x7c10('0x14a')](_0x48678c,_0x2ab81c,_0x594c6d,_0x5b5742){if(_0x48678c[_0x7c10('0x15b')]!=_0x2ab81c||_0x48678c[_0x7c10('0x34')]!=_0x594c6d||_0x48678c['creator']['id']!=_0x5b5742)throw this[_0x7c10('0x2b')][_0x7c10('0xbf')](_0x7c10('0x103')),new _0x5391c2(_0x7c10('0x103'),this);}[_0x7c10('0x173')](_0xb7401b,_0x1c80a2){const _0x2a2c0c=_0xb7401b[_0x7c10('0x36')]();if(_0x1c80a2['isEqual'](_0x2a2c0c))_0xb7401b[_0x7c10('0x92')]();else{if(_0x2a2c0c[_0x7c10('0x18')](_0x1c80a2)){const _0x1c6ed8=this[_0x7c10('0x116')]['createPositionAt'](_0x1c80a2[_0x7c10('0xee')][_0x7c10('0x167')],'end');this[_0x7c10('0xa7')](_0xb7401b,this[_0x7c10('0x116')][_0x7c10('0x12')](_0x2a2c0c[_0x7c10('0xee')],_0x1c6ed8));const _0x1d4fb8=_0x362cf5(),_0x591af2=_0xb7401b['creator']['id'],_0x435642=_0xb7401b[_0x7c10('0x15b')]+':'+_0xb7401b[_0x7c10('0x34')];this[_0x7c10('0x113')]({'id':_0x1d4fb8,'type':_0x435642,'createdAt':new Date(),'authorId':_0x591af2,'data':_0xb7401b[_0x7c10('0x148')],'attributes':_0xb7401b[_0x7c10('0x57')]});const _0xc0d265=this[_0x7c10('0x116')][_0x7c10('0xab')](_0x1c80a2[_0x7c10('0x2c')][_0x7c10('0x166')],_0x7c10('0xf0')),_0x50de54=this[_0x7c10('0x116')][_0x7c10('0x12')](_0xc0d265,_0x2a2c0c[_0x7c10('0x2c')]);this[_0x7c10('0x1f')](_0x435642,_0x1d4fb8,_0x591af2,_0x50de54);}else{if(_0x2a2c0c[_0x7c10('0xbb')](_0x1c80a2['start'])){const _0x5d2024=this['_model']['createPositionAt'](_0x1c80a2[_0x7c10('0xee')][_0x7c10('0x167')],'end');this[_0x7c10('0xa7')](_0xb7401b,this[_0x7c10('0x116')]['createRange'](_0x2a2c0c['start'],_0x5d2024));}else{const _0x3c4936=this[_0x7c10('0x116')][_0x7c10('0xab')](_0x1c80a2[_0x7c10('0x2c')][_0x7c10('0x166')],'after');this[_0x7c10('0xa7')](_0xb7401b,this[_0x7c10('0x116')]['createRange'](_0x3c4936,_0x2a2c0c['end']));}}}}[_0x7c10('0x150')](_0x24f172){for(const {suggestion:_0x5cf549,meta:_0x1c8457}of this[_0x7c10('0xf')](_0x24f172,_0x7c10('0x4b'))){if(!_0x1c8457[_0x7c10('0x5e')])continue;const _0x3bd275=_0x5cf549['getRanges']();for(const _0x36dd9f of _0x3bd275)if(!_0x24f172['getDifference'](_0x36dd9f)[_0x7c10('0x76')])return!0x0;}return!0x1;}[_0x7c10('0x4f')](_0x20c354){const _0x5f1582=this['editor'][_0x7c10('0x70')]['get'](_0x7c10('0x16b'))[_0x7c10('0x8')](_0x20c354);if(!_0x5f1582)throw new _0x5391c2(_0x7c10('0xce'),this);return _0x5f1582;}[_0x7c10('0x1a')](_0x2fbd3e){const _0x2b130e=this[_0x7c10('0x2b')][_0x7c10('0x70')][_0x7c10('0x122')]('Users'),_0xca4db7=_0x5e0410('external:'+_0x2fbd3e),_0x1d536c=_0x2b130e[_0x7c10('0x8')](_0xca4db7);return _0x1d536c||_0x2b130e[_0x7c10('0x162')]({'id':_0xca4db7,'name':_0x2fbd3e});}['_createSuggestion'](_0x695035,_0x1ec8b8,_0x33497c,_0x4d665b,_0x1e5780){const _0x4c21b5=this[_0x7c10('0x4f')](_0x4d665b),_0x3f9aac=this[_0x7c10('0xf5')][_0x7c10('0xa1')](_0x695035,_0x1ec8b8,_0x33497c,_0x4c21b5,_0x1e5780,_0x373c4d=>this[_0x7c10('0x9')](_0x33497c,{'attributes':_0x373c4d}));return this[_0x7c10('0x80')](_0x3f9aac,'accept',()=>{this[_0x7c10('0x9')](_0x33497c,{'state':_0x7c10('0xae')});},{'priority':_0x7c10('0x111')}),this[_0x7c10('0x80')](_0x3f9aac,'discard',()=>{this['_updateSuggestionData'](_0x33497c,{'state':_0x7c10('0xb')});},{'priority':_0x7c10('0x111')}),this['_suggestions']['set'](_0x33497c,_0x3f9aac),this['_suggestionState']['set'](_0x3f9aac,_0x7c10('0x10a')),_0x3f9aac;}['_splitMarkerName'](_0x393d0a){const _0x3fb973=_0x393d0a['split'](':');return{'group':_0x3fb973[0x0],'type':_0x3fb973[0x1],'subType':_0x3fb973[_0x7c10('0x76')]>=0x5?_0x3fb973[0x2]:null,'id':_0x3fb973['length']<0x5?_0x3fb973[0x2]:_0x3fb973[0x3],'authorId':_0x3fb973[_0x7c10('0x76')]<0x5?_0x3fb973[0x3]:_0x3fb973[0x4],'markerCount':0x6==_0x3fb973[_0x7c10('0x76')]?_0x3fb973[0x5]:null};}['_breakSuggestionMarker'](_0x2b8bf8,_0x52ac09,_0x199a90){const _0x487457=_0x2b8bf8[_0x7c10('0x36')](),_0x4796e1=_0x487457[_0x7c10('0xee')],_0x3f4463=_0x487457['end'];this[_0x7c10('0xa7')](_0x2b8bf8,this[_0x7c10('0x116')][_0x7c10('0x12')](_0x4796e1,_0x52ac09));const _0x5187b3=_0x362cf5(),_0x508cd2=_0x2b8bf8['creator']['id'],_0x5e9979=_0x2b8bf8[_0x7c10('0x15b')]+(_0x2b8bf8['subType']?':'+_0x2b8bf8[_0x7c10('0x34')]:'');this[_0x7c10('0x113')]({'id':_0x5187b3,'type':_0x5e9979,'createdAt':new Date(),'authorId':_0x508cd2,'originalSuggestionId':_0x2b8bf8['id'],'attributes':_0x2b8bf8[_0x7c10('0x57')],'data':_0x2b8bf8[_0x7c10('0x148')]});const _0x1b0ff4=Pt(_0x2b8bf8);(_0x7c10('0x60')==_0x2b8bf8[_0x7c10('0x15b')]||_0x1b0ff4&&this['_isBlockAttribute'](_0x1b0ff4))&&(_0x199a90=this[_0x7c10('0x116')][_0x7c10('0x136')](_0x199a90[_0x7c10('0x166')])),this[_0x7c10('0x1f')](_0x5e9979,_0x5187b3,_0x508cd2,this[_0x7c10('0x116')][_0x7c10('0x12')](_0x199a90,_0x3f4463));}['_findSuggestions'](_0x23863c,_0x2e6f26=null){const _0x5e0160=[],_0x25becc=this[_0x7c10('0x2b')][_0x7c10('0x70')][_0x7c10('0x122')](_0x7c10('0x16b'))['me'];Array[_0x7c10('0xea')](_0x23863c)||(_0x23863c=[_0x23863c]);for(const _0x442df6 of this[_0x7c10('0xf6')]()){if(!_0x442df6[_0x7c10('0x164')])continue;if(_0x2e6f26&&_0x442df6[_0x7c10('0x15b')]!=_0x2e6f26)continue;let _0x7fa584=!0x1;for(const _0x186a63 of _0x442df6[_0x7c10('0x101')]()){for(const _0x4065a7 of _0x23863c){const _0xa859c8=_0x4065a7[_0x7c10('0xee')]['isEqual'](_0x186a63[_0x7c10('0x2c')])||_0x4065a7[_0x7c10('0x2c')][_0x7c10('0x38')](_0x186a63[_0x7c10('0xee')]);if(_0xa859c8||_0x4065a7[_0x7c10('0x2')](_0x186a63)){const _0xa77937=_0x4065a7['containsRange'](_0x186a63)&&Tt(this[_0x7c10('0x116')][_0x7c10('0xef')],_0x186a63[_0x7c10('0xee')],_0x4065a7),_0x48601a=_0x186a63['containsRange'](_0x4065a7)&&Tt(this[_0x7c10('0x116')]['schema'],_0x4065a7[_0x7c10('0xee')],_0x186a63);_0x5e0160[_0x7c10('0x59')]({'suggestion':_0x442df6,'meta':{'isOwn':_0x25becc==_0x442df6[_0x7c10('0x65')],'isNextTo':_0xa859c8,'isInsideObject':_0xa77937,'containsRangeInObject':_0x48601a}}),_0x7fa584=!0x0;break;}}if(_0x7fa584)break;}}return _0x5e0160;}[_0x7c10('0x1f')](_0x1a5639,_0x36832f,_0x407125,_0x34e7a5,_0x179a51){this['_model'][_0x7c10('0x63')](_0x27d595=>{let _0x4a3e11=_0x7c10('0x17d')+_0x1a5639+':'+_0x36832f+':'+_0x407125;_0x179a51&&(_0x4a3e11=_0x4a3e11+':'+_0x179a51),_0x27d595[_0x7c10('0x3c')](_0x4a3e11,{'range':_0x34e7a5,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x7c10('0x7')](_0x3dd25d){const _0x267721=_0x3dd25d['previous'],_0x9bf187=_0x3dd25d[_0x7c10('0x10d')];_0x3dd25d[_0x7c10('0x16a')]=null,_0x3dd25d[_0x7c10('0x10d')]=null,null!=_0x267721&&(_0x267721[_0x7c10('0x10d')]=_0x9bf187),null!=_0x9bf187&&(_0x9bf187[_0x7c10('0x16a')]=_0x267721),_0x7c10('0x155')==this[_0x7c10('0xaa')][_0x7c10('0x122')](_0x3dd25d)&&(this[_0x7c10('0xaa')][_0x7c10('0x12b')](_0x3dd25d,_0x7c10('0x104')),this['fire'](_0x7c10('0x10e'),_0x3dd25d,_0x267721,_0x9bf187));}[_0x7c10('0x113')](_0x4b9d18){const _0x4fae83=_0x4b9d18['id'],_0xae1e98=this['addSuggestionData'](_0x4b9d18);if(this[_0x7c10('0xc1')]&&this[_0x7c10('0xc1')]['addSuggestion']){const _0x41e217=this[_0x7c10('0x2b')][_0x7c10('0x70')]['get'](_0x7c10('0xa2')),_0x2df815=_0xae1e98['hasComments'],_0x3678dd=_0xae1e98[_0x7c10('0x34')]?_0xae1e98[_0x7c10('0x15b')]+':'+_0xae1e98[_0x7c10('0x34')]:_0xae1e98[_0x7c10('0x15b')],_0x5d3661=this[_0x7c10('0x2b')][_0x7c10('0x53')],_0x9d70e3=_0x41e217['add'](_0x19e2f3(_0x5d3661,'PENDING_ACTION_SUGGESTION')),_0x39b606={'id':_0x4fae83,'type':_0x3678dd,'hasComments':_0x2df815,'data':_0x4b9d18['data']||null,'originalSuggestionId':_0x4b9d18[_0x7c10('0x129')]||null,'attributes':_0xae1e98[_0x7c10('0x57')]};this[_0x7c10('0xc1')][_0x7c10('0xcf')](_0x39b606)[_0x7c10('0xe6')](_0x19f849=>{_0xae1e98[_0x7c10('0xd1')]=!0x0,_0x41e217[_0x7c10('0x39')](_0x9d70e3),_0x19f849&&_0x19f849['createdAt']&&(this[_0x7c10('0xa')][_0x7c10('0x122')](_0x4fae83)[_0x7c10('0xc8')]=_0x19f849[_0x7c10('0xc8')]);})['catch'](_0x3aa53d=>{throw _0x404872('error-saving-suggestion-data-suggestion-discarded'),this[_0x7c10('0x2b')][_0x7c10('0xa4')][_0x7c10('0x67')]({'isUndoable':!0x1},()=>{_0xae1e98[_0x7c10('0x165')]();}),_0xae1e98[_0x7c10('0x5d')](),this[_0x7c10('0xa')][_0x7c10('0x32')](_0xae1e98['id']),this[_0x7c10('0xaa')][_0x7c10('0x32')](_0xae1e98),_0x3aa53d;});}return _0xae1e98;}[_0x7c10('0xff')](_0x1a7545){return this[_0x7c10('0x14b')]['has'](_0x1a7545);}[_0x7c10('0x9')](_0x33e1dc,_0x1a0469){const _0x471981=this['editor']['plugins']['get'](_0x7c10('0xa2')),_0x311033=this['getSuggestion'](_0x33e1dc);if(this[_0x7c10('0xc1')]&&this[_0x7c10('0xc1')][_0x7c10('0xb2')]){if(_0x311033[_0x7c10('0xd1')]){const _0x490392=_0x471981[_0x7c10('0x49')](_0x19e2f3(this['editor'][_0x7c10('0x53')],_0x7c10('0x46')));this['_adapter']['updateSuggestion'](_0x33e1dc,_0x1a0469)[_0x7c10('0xe6')](()=>{_0x471981[_0x7c10('0x39')](_0x490392);});}else _0x311033['on'](_0x7c10('0xfd'),()=>{this[_0x7c10('0x9')](_0x33e1dc,_0x1a0469);});}}['_getSuggestionData'](_0x81dde0){if(!this[_0x7c10('0xc1')]||!this['_adapter']['getSuggestion'])throw new _0x5391c2(_0x7c10('0x21'),this);return this[_0x7c10('0xc1')][_0x7c10('0x153')](_0x81dde0);}['_handleNewSuggestionMarker'](_0x715ebf){const {id:_0x161493,type:_0x491520,subType:_0x29b9b2,authorId:_0x1dfd58}=this[_0x7c10('0xfc')](_0x715ebf),_0x1aea11=this[_0x7c10('0xa')][_0x7c10('0x122')](_0x161493)||this[_0x7c10('0x10c')](_0x491520,_0x29b9b2,_0x161493,_0x1dfd58,{});switch(this[_0x7c10('0x14a')](_0x1aea11,_0x491520,_0x29b9b2,_0x1dfd58),this[_0x7c10('0xaa')][_0x7c10('0x122')](_0x1aea11)){case _0x7c10('0x10a'):this[_0x7c10('0x94')](_0x161493)['then'](_0x35a381=>{let _0x1855da=Promise[_0x7c10('0x13c')]();_0x35a381[_0x7c10('0x51')]&&(_0x1855da=this[_0x7c10('0x11e')][_0x7c10('0x181')]({'channelId':this[_0x7c10('0x2b')]['config']['get'](_0x7c10('0x151')),'threadId':_0x161493})),_0x1855da[_0x7c10('0xe6')](()=>{this[_0x7c10('0x12d')](_0x35a381)[_0x7c10('0xd1')]=!0x0;});}),this['_suggestionState'][_0x7c10('0x12b')](_0x1aea11,_0x7c10('0x87'));break;case _0x7c10('0x104'):this[_0x7c10('0x9')](_0x161493,{'state':_0x7c10('0xd7')});case'dataReady':this[_0x7c10('0xaa')][_0x7c10('0x12b')](_0x1aea11,'ready'),this[_0x7c10('0x127')](_0x7c10('0xdc'),_0x1aea11);break;case _0x7c10('0x155'):this['fire'](_0x7c10('0x74'),_0x1aea11);}return _0x1aea11[_0x7c10('0x8c')](_0x715ebf),_0x1aea11;}['_refreshSuggestionsChain'](_0x53c3f4){const _0x45749e=Array[_0x7c10('0x17e')](_0x53c3f4),_0xcf28cc=_0x45749e[_0x7c10('0x179')](_0x5956e6=>_0x7c10('0x37')==_0x5956e6['type']);this[_0x7c10('0x11a')](_0xcf28cc);const _0xe39b9f=_0x45749e[_0x7c10('0x179')](_0x11dc59=>!_0x11dc59['isMultiRange']&&_0x7c10('0x37')!=_0x11dc59[_0x7c10('0x15b')]),_0x3c29b5=this[_0x7c10('0xf6')]({'skipNotAttached':!0x0})[_0x7c10('0x179')](_0xb8dd32=>!_0xb8dd32['isMultiRange']&&_0x7c10('0x37')!=_0xb8dd32[_0x7c10('0x15b')]),_0x394dd8=_0x3c29b5[_0x7c10('0x179')](_0x3686f6=>!_0x53c3f4[_0x7c10('0x3e')](_0x3686f6)),_0x464b56=new Map(_0x3c29b5[_0x7c10('0x14d')](_0x1b7a72=>[_0x1b7a72,this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x1b7a72[_0x7c10('0x15b')],_0x1b7a72[_0x7c10('0x34')],'chain')])),_0x4104a1=new Map(_0x3c29b5[_0x7c10('0x14d')](_0x3bd178=>[_0x3bd178,_0x3bd178[_0x7c10('0x36')]()])),_0x10d06c=new Set(),_0x26463d=new Set();for(let _0x2d0c64=0x0;_0x2d0c64<_0xe39b9f[_0x7c10('0x76')];_0x2d0c64++)_0x3a1b9b(_0xe39b9f[_0x2d0c64],_0xe39b9f,_0x2d0c64+0x1);for(let _0xd299e4=0x0;_0xd299e4<_0xe39b9f[_0x7c10('0x76')];_0xd299e4++)_0x3a1b9b(_0xe39b9f[_0xd299e4],_0x394dd8,0x0);const _0x3978f1=new Set();for(let _0x264dee=0x0;_0x264dee<_0xe39b9f['length'];_0x264dee++){const _0x387119=_0xe39b9f[_0x264dee];!_0x26463d[_0x7c10('0x3e')](_0x387119)&&_0x387119['previous']&&(_0x3978f1['add'](_0x387119['previous']),_0x387119[_0x7c10('0x16a')][_0x7c10('0x10d')]===_0x387119&&(_0x387119[_0x7c10('0x16a')][_0x7c10('0x10d')]=null),_0x387119[_0x7c10('0x16a')]=null),!_0x10d06c[_0x7c10('0x3e')](_0x387119)&&_0x387119[_0x7c10('0x10d')]&&(_0x3978f1[_0x7c10('0x49')](_0x387119[_0x7c10('0x10d')]),_0x387119[_0x7c10('0x10d')][_0x7c10('0x16a')]===_0x387119&&(_0x387119[_0x7c10('0x10d')]['previous']=null),_0x387119[_0x7c10('0x10d')]=null);}function _0x3a1b9b(_0x3f2341,_0x50ad71,_0x4d6630){for(let _0x9bbbfc=_0x4d6630;_0x9bbbfc<_0x50ad71[_0x7c10('0x76')];_0x9bbbfc++){const _0x50c44e=_0x4ed9d2(_0x3f2341,_0x50ad71[_0x9bbbfc]);_0x50c44e&&(_0x50c44e[0x0][_0x7c10('0x10d')]=_0x50c44e[0x1],_0x50c44e[0x1][_0x7c10('0x16a')]=_0x50c44e[0x0],_0x10d06c['add'](_0x50c44e[0x0]),_0x26463d[_0x7c10('0x49')](_0x50c44e[0x1]));}}function _0x4ed9d2(_0x4b2800,_0x487290){if(_0x4b2800[_0x7c10('0x65')]['id']!==_0x487290[_0x7c10('0x65')]['id'])return null;const _0x23a610=_0x464b56[_0x7c10('0x122')](_0x4b2800)(_0x4b2800,_0x487290,_0x4104a1[_0x7c10('0x122')](_0x4b2800),_0x4104a1[_0x7c10('0x122')](_0x487290));if(!_0x23a610)return null;return _0x464b56[_0x7c10('0x122')](_0x487290)(_0x4b2800,_0x487290,_0x4104a1[_0x7c10('0x122')](_0x4b2800),_0x4104a1['get'](_0x487290))?_0x23a610[0x1][_0x7c10('0x175')]&&_0x23a610[0x1]['commentThread'][_0x7c10('0x76')]?null:_0x23a610:null;}_0x3978f1[_0x7c10('0x11d')]&&this[_0x7c10('0x1c')](_0x3978f1);}[_0x7c10('0x11a')](_0x2a108d){if(0x0==_0x2a108d[_0x7c10('0x76')])return;const _0x1704c7=this[_0x7c10('0xf6')]({'skipNotAttached':!0x0})[_0x7c10('0x179')](_0x504de5=>'attribute'==_0x504de5[_0x7c10('0x15b')]&&_0x504de5[_0x7c10('0x9c')]),_0x5bf68f=[],_0x3034c0=new Map();for(const _0x27616f of _0x1704c7){const _0x140d99=_0x5e0410(_0x27616f[_0x7c10('0x57')]);_0x3034c0['has'](_0x140d99)||(_0x3034c0[_0x7c10('0x12b')](_0x140d99,_0x5bf68f['length']),_0x5bf68f[_0x7c10('0x59')]([]));const _0x40fec3=_0x3034c0['get'](_0x140d99);_0x5bf68f[_0x40fec3]['push'](_0x27616f);}!function(){_0x5bf68f[_0x7c10('0x6')]((_0x55bfca,_0x116981)=>{const _0x1f7054=_0x55bfca[0x0][_0x7c10('0xc8')],_0x20a955=_0x116981[0x0][_0x7c10('0xc8')];return _0x1f7054==_0x20a955?_0x55bfca[0x0]['attributes'][_0x7c10('0xcc')]<_0x116981[0x0][_0x7c10('0x57')][_0x7c10('0xcc')]?-0x1:0x1:_0x1f7054<_0x20a955?-0x1:0x1;});for(const _0x2df5f3 of _0x5bf68f)_0x2df5f3[_0x7c10('0x6')]((_0x47c5a7,_0x202e13)=>_0x47c5a7['id']<_0x202e13['id']?-0x1:0x1);}();for(let _0x3d6f98=0x0;_0x3d6f98<_0x5bf68f[_0x7c10('0x76')];_0x3d6f98++){if(0x0==_0x5bf68f[_0x3d6f98][_0x7c10('0x76')])continue;const _0x5e22a2=[];for(let _0x28fc03=_0x3d6f98+0x1;_0x28fc03<_0x5bf68f['length'];_0x28fc03++)0x0!=_0x5bf68f[_0x28fc03]['length']&&_0x320ecc(_0x5bf68f[_0x3d6f98],_0x5bf68f[_0x28fc03])&&_0x5e22a2['push'](_0x28fc03);for(const _0x103e98 of _0x5e22a2)_0x5bf68f[_0x3d6f98]=_0x5bf68f[_0x3d6f98]['concat'](_0x5bf68f[_0x103e98]),_0x5bf68f[_0x103e98]=[];}for(const _0x7fe3f7 of _0x5bf68f)for(let _0x28b17f=0x0;_0x28b17f<_0x7fe3f7[_0x7c10('0x76')];_0x28b17f++)_0x7fe3f7[_0x28b17f][_0x7c10('0x10d')]=_0x7fe3f7[_0x28b17f+0x1]||null;for(const _0x1576f1 of _0x5bf68f)for(let _0x304a80=0x0;_0x304a80<_0x1576f1[_0x7c10('0x76')];_0x304a80++)_0x1576f1[_0x304a80][_0x7c10('0x16a')]=_0x1576f1[_0x304a80-0x1]||null;function _0x320ecc(_0x565707,_0x132286){if(_0x565707[0x0]['author']!==_0x132286[0x0][_0x7c10('0x65')])return!0x1;if(!function(_0x318fc2,_0x27841b){if(!_0x318fc2[_0x7c10('0x51')]&&!_0x27841b[_0x7c10('0x51')])return!0x0;if(_0x318fc2[_0x7c10('0x51')]&&_0x27841b[_0x7c10('0x51')])return!0x1;if(_0x318fc2[_0x7c10('0x51')]&&_0x27841b[_0x7c10('0xc8')]<_0x318fc2['commentThread'][_0x7c10('0x9b')][_0x7c10('0x122')](0x0)['createdAt'])return!0x0;if(_0x27841b['hasComments']&&_0x318fc2[_0x7c10('0xc8')]<_0x27841b[_0x7c10('0x175')][_0x7c10('0x9b')][_0x7c10('0x122')](0x0)[_0x7c10('0xc8')])return!0x0;return!0x1;}(_0x565707[0x0],_0x132286[0x0]))return!0x1;const _0x27fb49=_0x208585(_0x565707[0x0][_0x7c10('0x57')],_0x7c10('0xcc')),_0x12c4bb=_0x208585(_0x132286[0x0][_0x7c10('0x57')],_0x7c10('0xcc'));if(!_0x3d5e0e(_0x27fb49,_0x12c4bb))return!0x1;return!!_0x565707['every'](_0x2d5fa0=>_0x132286['some'](_0x34db3b=>_0x2d5fa0[_0x7c10('0x36')]()[_0x7c10('0x38')](_0x34db3b[_0x7c10('0x36')]())))&&_0x132286[_0x7c10('0x9d')](_0x45a194=>_0x565707[_0x7c10('0x5')](_0x5c69e4=>_0x45a194['getFirstRange']()[_0x7c10('0x38')](_0x5c69e4['getFirstRange']())));}}[_0x7c10('0xb3')](_0x3872ed){const _0x2871d2=Array[_0x7c10('0x17e')](_0x3872ed),_0x303612=this[_0x7c10('0xf6')]({'skipNotAttached':!0x0}),_0x3aa86b=_0x303612[_0x7c10('0x179')](_0x2e90f2=>!_0x3872ed[_0x7c10('0x3e')](_0x2e90f2)),_0x2b726b=new Map(_0x2871d2[_0x7c10('0x14d')](_0x43e7eb=>[_0x43e7eb,this[_0x7c10('0xf5')][_0x7c10('0x20')](_0x43e7eb['type'],_0x43e7eb[_0x7c10('0x34')],'join')])),_0x4c0eb1=new Map(_0x303612[_0x7c10('0x14d')](_0x10d62f=>[_0x10d62f,_0x10d62f[_0x7c10('0x101')]()]));for(let _0x16ca28=0x0;_0x16ca28<_0x2871d2['length'];_0x16ca28++){if(_0xc5555c(this,_0x2871d2[_0x16ca28],_0x2871d2,_0x16ca28+0x1))return!0x0;}for(let _0x23289d=0x0;_0x23289d<_0x2871d2[_0x7c10('0x76')];_0x23289d++){if(_0xc5555c(this,_0x2871d2[_0x23289d],_0x3aa86b,0x0))return!0x0;}return!0x1;function _0xc5555c(_0x5b3a5c,_0x291347,_0x418975,_0x1ea1c1){for(let _0x1c04b3=_0x1ea1c1;_0x1c04b3<_0x418975[_0x7c10('0x76')];_0x1c04b3++){const _0x2d5289=_0x418975[_0x1c04b3];if(_0x2d5289['type']!==_0x291347['type']||_0x2d5289[_0x7c10('0x65')]['id']!==_0x291347[_0x7c10('0x65')]['id']||_0x2d5289[_0x7c10('0x34')]!==_0x291347[_0x7c10('0x34')])continue;if(!Vt(_0x291347,_0x2d5289))continue;if(_0x7c10('0x37')==_0x291347['type']&&_0x291347['data'][_0x7c10('0x16')]!=_0x2d5289[_0x7c10('0x148')][_0x7c10('0x16')])continue;if(_0x7c10('0x37')==_0x291347[_0x7c10('0x15b')]&&_0x5b3a5c['_isBlockAttribute'](_0x291347[_0x7c10('0x148')][_0x7c10('0xe5')]))continue;if(_0x7c10('0x60')==_0x291347['type']){const _0x42655c=_0x5b3a5c[_0x7c10('0x2b')][_0x7c10('0xa4')],_0x35ba6c=_0x291347[_0x7c10('0x71')]();if(_0x35ba6c&&(_0x42655c[_0x7c10('0xef')][_0x7c10('0xf8')](_0x35ba6c)||_0x42655c[_0x7c10('0xef')][_0x7c10('0x35')](_0x35ba6c)))continue;}const _0x39fc7e=_0x2b726b['get'](_0x291347),_0x46d078=_0x4c0eb1[_0x7c10('0x122')](_0x291347),_0x51bfc3=_0x4c0eb1[_0x7c10('0x122')](_0x2d5289),_0x99f30c=_0x291347[_0x7c10('0x175')]&&_0x291347['commentThread'][_0x7c10('0x76')],_0x1d767d=_0x2d5289[_0x7c10('0x175')]&&_0x2d5289[_0x7c10('0x175')][_0x7c10('0x76')];if(!_0x99f30c&&_0x39fc7e(_0x51bfc3,_0x46d078))return _0x5b3a5c[_0x7c10('0xe7')](_0x2d5289,_0x291347),_0x4c0eb1[_0x7c10('0x32')](_0x291347),!0x0;if(!_0x1d767d&&_0x39fc7e(_0x46d078,_0x51bfc3))return _0x5b3a5c[_0x7c10('0xe7')](_0x291347,_0x2d5289),_0x4c0eb1[_0x7c10('0x32')](_0x2d5289),!0x0;}return!0x1;}}[_0x7c10('0xe7')](_0x52baa2,_0x294ae8){if(_0x52baa2[_0x7c10('0x75')])for(const _0x22c35d of _0x294ae8['getRanges']())_0x52baa2[_0x7c10('0x41')](_0x22c35d);else{const _0x1bf5ba=_0x294ae8[_0x7c10('0x36')]()[_0x7c10('0x2c')];this['_setSuggestionRange'](_0x52baa2,this[_0x7c10('0x116')][_0x7c10('0x12')](_0x52baa2[_0x7c10('0x36')]()[_0x7c10('0xee')],_0x1bf5ba));}_0x294ae8[_0x7c10('0x92')]();}[_0x7c10('0xb0')](_0x394a7a,_0x1e5f6c){const _0x548efc=_0x394a7a['startsWith'](_0x7c10('0x26'))||_0x394a7a[_0x7c10('0xf2')](_0x7c10('0x37'))?'FORMATTING':_0x394a7a[_0x7c10('0x157')]();return _0x19e2f3(this[_0x7c10('0x2b')][_0x7c10('0x53')],_0x1e5f6c+'_'+_0x548efc+_0x7c10('0xbe'));}[_0x7c10('0x114')](){const _0x28f267=this[_0x7c10('0x2b')];_0x429e67(this[_0x7c10('0x116')],({left:_0x1c679f,entered:_0x5b216b})=>{const _0x1d8f1e=[];for(const _0x2f2e68 of _0x1c679f){const {group:_0xc3a346,type:_0x7f7a8}=this[_0x7c10('0xfc')](_0x2f2e68['name']);if(_0x7c10('0x159')===_0xc3a346){_0x1d8f1e[_0x7c10('0x59')](this[_0x7c10('0xb0')](_0x7f7a8,_0x7c10('0xc')));break;}}for(const _0x320e8 of _0x5b216b){const {group:_0x49c35c,type:_0x1a4898}=this['_splitMarkerName'](_0x320e8['name']);if('suggestion'===_0x49c35c){_0x1d8f1e[_0x7c10('0x59')](this[_0x7c10('0xb0')](_0x1a4898,_0x7c10('0x108')));break;}}_0x1d8f1e[_0x7c10('0x76')]&&_0x28f267['ui']['ariaLiveAnnouncer'][_0x7c10('0x79')](_0x7c10('0x15d'),_0x1d8f1e['join']('\x20'));});}['_processAttributeChanges'](_0x39b070){if(null!==this[_0x7c10('0x2d')])return!0x1;const _0x5dd765=this[_0x7c10('0x2b')],_0x4ba47b=_0x5dd765[_0x7c10('0xa4')][_0x7c10('0x29')]['differ'][_0x7c10('0x77')]();if(0x0==_0x4ba47b['length'])return!0x1;const _0x2da9e1=[],_0x5a9091=_0x4ba47b[_0x7c10('0x179')](_0x4bb31d=>'attribute'==_0x4bb31d[_0x7c10('0x15b')]),_0x55a942=_0x4ba47b[_0x7c10('0x179')](_0x2ee306=>'insert'==_0x2ee306[_0x7c10('0x15b')]&&'$text'!=_0x2ee306[_0x7c10('0x6e')]),_0x5ef612=_0x4ba47b[_0x7c10('0x179')](_0x2a0663=>'remove'==_0x2a0663['type']&&_0x7c10('0x132')!=_0x2a0663[_0x7c10('0x6e')]);for(const _0x50066a of _0x5a9091)_0x2da9e1[_0x7c10('0x59')]({'key':_0x50066a[_0x7c10('0x15a')],'newValue':_0x50066a[_0x7c10('0x73')],'oldValue':_0x50066a[_0x7c10('0xf9')],'range':_0x478e26(_0x50066a[_0x7c10('0x58')])});for(const _0x1c1569 of _0x55a942){const _0x1d3e81=_0x5ef612['find'](_0x3c237f=>_0x3c237f[_0x7c10('0xc7')][_0x7c10('0x38')](_0x1c1569['position']));_0x1d3e81&&_0x2da9e1['push']({'key':'$elementName','newValue':_0x1c1569[_0x7c10('0x6e')],'oldValue':_0x1d3e81[_0x7c10('0x6e')],'range':_0x5dd765[_0x7c10('0xa4')][_0x7c10('0x112')](_0x1c1569[_0x7c10('0xc7')][_0x7c10('0x86')])});}return 0x0!=_0x2da9e1[_0x7c10('0x76')]&&this[_0x7c10('0xeb')](_0x39b070,_0x2da9e1);function _0x478e26(_0x29d02a){return null==_0x29d02a[_0x7c10('0x2c')]['nodeBefore']&&_0x29d02a[_0x7c10('0x2c')]['parent']==_0x29d02a['start'][_0x7c10('0x86')]?Ut(_0x29d02a[_0x7c10('0xee')][_0x7c10('0x86')],_0x5dd765[_0x7c10('0xa4')]):_0x29d02a;}}[_0x7c10('0xd0')](_0x4797a9){let _0x38155a=!0x1;const _0x3eab4b=this[_0x7c10('0x2b')][_0x7c10('0xa4')]['document'][_0x7c10('0x13d')][_0x7c10('0x152')]()[_0x7c10('0x179')](_0xb902d2=>_0xb902d2[_0x7c10('0x148')]['newRange']&&_0xb902d2[_0x7c10('0x6e')][_0x7c10('0xf2')](_0x7c10('0x72')));for(const _0x32de74 of _0x3eab4b){const {subType:_0x17c022,id:_0x16da67}=this[_0x7c10('0xfc')](_0x32de74['name']),_0x34a368=_0x17c022[_0x7c10('0x22')]('|')[0x0];for(const _0x27e19f of this['getSuggestions']({'skipNotAttached':!0x0}))_0x27e19f['id']!=_0x16da67&&_0x7c10('0x37')==_0x27e19f[_0x7c10('0x15b')]&&_0x27e19f[_0x7c10('0x148')]&&_0x27e19f[_0x7c10('0x148')][_0x7c10('0xe5')]==_0x34a368&&_0x27e19f['getFirstRange']()['isIntersecting'](_0x32de74[_0x7c10('0x148')]['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x27e19f,_0x32de74[_0x7c10('0x148')][_0x7c10('0x138')],_0x4797a9),_0x38155a=!0x0);}return _0x38155a;}[_0x7c10('0x147')](_0x304d24){if(null!==this[_0x7c10('0x2d')])return void _0x304d24();const _0xe929cd=this[_0x7c10('0x2b')];this['_recordAttributeSuggestionsFromVersion']=_0xe929cd[_0x7c10('0xa4')][_0x7c10('0x29')][_0x7c10('0x3b')],_0x304d24();const _0x4516c5=new Map();for(const _0x1a8663 of _0xe929cd[_0x7c10('0xa4')]['document'][_0x7c10('0x91')][_0x7c10('0x56')](this['_recordAttributeSuggestionsFromVersion']))if(['rename',_0x7c10('0x160'),'removeAttribute',_0x7c10('0x5b')][_0x7c10('0xd4')](_0x1a8663[_0x7c10('0x15b')])){const _0x31b4b6=_0x1a8663[_0x7c10('0x15')],_0x3c5e75=_0x4516c5[_0x7c10('0x122')](_0x31b4b6)||[];_0x3c5e75[_0x7c10('0x59')](_0x1a8663),_0x4516c5['set'](_0x31b4b6,_0x3c5e75);}this[_0x7c10('0x2d')]=null;for(const [_0x719dc2,_0x44c375]of _0x4516c5){const _0x48a63f=_0x362cf5();_0xe929cd['model']['enqueueChange'](_0x719dc2,_0x26596b=>{const _0xb84aa8=[];for(const _0x2f77f7 of _0x44c375){let _0x8bbc5a,_0x34d602,_0x4db502,_0x158c40;if('rename'==_0x2f77f7[_0x7c10('0x15b')]){const _0x10a611=_0x2f77f7;_0x8bbc5a=Ut(_0x10a611[_0x7c10('0xc7')][_0x7c10('0x86')],_0xe929cd['model']),_0x34d602=_0x7c10('0x2a'),_0x4db502=_0x10a611[_0x7c10('0x85')],_0x158c40=_0x10a611[_0x7c10('0x5f')];}else{const _0x96b4d4=_0x2f77f7,_0x513dbb=this['_isBlockAttribute'](_0x96b4d4[_0x7c10('0xe5')]),_0x407f32=this[_0x7c10('0x40')][_0x7c10('0x3e')](_0x96b4d4['key']);if(!_0x513dbb&&!_0x407f32)continue;_0x8bbc5a=_0x513dbb?Ut(_0x96b4d4[_0x7c10('0x58')][_0x7c10('0xee')]['nodeAfter'],_0xe929cd[_0x7c10('0xa4')]):_0x96b4d4[_0x7c10('0x58')],_0x34d602=_0x96b4d4[_0x7c10('0xe5')],_0x4db502='removeAttribute'==_0x2f77f7[_0x7c10('0x15b')]?void 0x0:_0x96b4d4[_0x7c10('0xed')],_0x158c40=_0x96b4d4['oldValue'];}this['markAttributeChange'](_0x8bbc5a,_0x34d602,_0x158c40,_0x4db502,{'groupId':_0x48a63f}),_0xb84aa8['push']({'range':_0x8bbc5a,'key':_0x34d602,'newValue':_0x4db502,'oldValue':_0x158c40});}this[_0x7c10('0xeb')](_0x26596b,_0xb84aa8);});}}['_reduceExistingSuggestions'](_0xd6d088,_0xc7f403){if(0x0==_0xc7f403[_0x7c10('0x76')])return!0x1;let _0xbcac21=!0x1;for(const _0x5924cb of _0xc7f403){const _0x3d4ba7=this[_0x7c10('0xf')](_0x5924cb[_0x7c10('0x58')],'attribute')[_0x7c10('0x179')](_0x173988=>!_0x173988[_0x7c10('0xc6')][_0x7c10('0xba')])[_0x7c10('0x14d')](_0x3e4846=>_0x3e4846[_0x7c10('0x159')]),_0x1640bc=_0x5e0410({'newValue':_0x5924cb[_0x7c10('0xed')]});_0x3d4ba7[_0x7c10('0x179')](_0x16a63a=>{const [_0x2ca84b,_0x6c26a7]=_0x16a63a[_0x7c10('0x34')][_0x7c10('0x22')]('|');return _0x2ca84b==_0x5924cb[_0x7c10('0xe5')]&&_0x6c26a7!=_0x1640bc;})[_0x7c10('0x48')](_0x41f8ec=>{this['_reduceSuggestionAttributeRange'](_0x41f8ec,_0x5924cb[_0x7c10('0x58')],_0xd6d088),_0xbcac21=!0x0;});}return _0xbcac21;}['_reduceSuggestionAttributeRange'](_0x1298bb,_0x51801b,_0xab96aa){const _0x4e5e64=_0x1298bb[_0x7c10('0x36')]()[_0x7c10('0xbd')](_0x51801b);0x0!==_0x4e5e64['length']?0x1!==_0x4e5e64['length']?this[_0x7c10('0x95')](_0x1298bb,_0x51801b[_0x7c10('0xee')],_0x51801b[_0x7c10('0x2c')]):this['_setSuggestionRange'](_0x1298bb,_0x4e5e64[0x0]):_0xab96aa['removeMarker'](_0x1298bb['getFirstMarker']());}}class Bt{constructor(_0x3748fe){this[_0x7c10('0x10b')]=_0x3748fe,this[_0x7c10('0x116')]=_0x3748fe[_0x7c10('0xa4')],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}[_0x7c10('0xa1')](_0x25371b,_0xba5f2c,_0x5bf117,_0xf94aa0,_0x29d205,_0x637d82){return new _0x24cf3e(this[_0x7c10('0x116')],{'type':_0x25371b,'subType':_0xba5f2c,'id':_0x5bf117,'author':_0xf94aa0,'creator':_0xf94aa0,'attributes':_0x29d205,'onAttributesChange':_0x637d82,'onAccept':(..._0x5cc723)=>this[_0x7c10('0x20')](_0x25371b,_0xba5f2c,_0x7c10('0xe8'))(..._0x5cc723),'onDiscard':(..._0x1e8947)=>this[_0x7c10('0x20')](_0x25371b,_0xba5f2c,_0x7c10('0x165'))(..._0x1e8947)});}[_0x7c10('0x3f')](_0xe32992,_0x3b0f9b,_0x598669,_0x20ee4e){const _0x59d62f=_0xe32992+':'+_0x3b0f9b+':'+_0x598669;this[_0x7c10('0x14c')]['set'](_0x59d62f,_0x20ee4e);}[_0x7c10('0x20')](_0x3d15dd,_0x2e9a2c,_0x3fbdbb){const _0x357bc4=_0x3d15dd+':'+_0x2e9a2c+':'+_0x3fbdbb;return this['_customCallbacks'][_0x7c10('0x122')](_0x357bc4)||this[_0x7c10('0xd')][_0x7c10('0x122')](_0x3d15dd+':'+_0x3fbdbb);}[_0x7c10('0x109')](){const _0x47cfc7=()=>!0x1,_0x3cc9c4=_0x2b51cb=>{_0x2b51cb[_0x7c10('0x6')]((_0x5a6f67,_0x198d0e)=>_0x5a6f67[_0x7c10('0xee')]['isBefore'](_0x198d0e[_0x7c10('0xee')])?0x1:-0x1),this[_0x7c10('0x116')]['change'](_0x4bab25=>{for(const _0x1ffd92 of _0x2b51cb){let _0x1c4b82;_0x1c4b82=_0x1ffd92[_0x7c10('0x2c')][_0x7c10('0x88')]&&_0x1ffd92['end']['parent']==_0x1ffd92[_0x7c10('0xee')]['nodeAfter']?_0x4bab25[_0x7c10('0x117')](_0x1ffd92[_0x7c10('0xee')][_0x7c10('0x86')],'on'):_0x4bab25['createSelection'](_0x1ffd92),this['_model']['deleteContent'](_0x1c4b82,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x4e2497=(_0x588a5d,_0xbc7af2)=>{_0xbc7af2&&this[_0x7c10('0x116')][_0x7c10('0x63')](_0x316740=>{const {commandName:_0x38390e,commandParams:_0x38e4d8=[]}=_0xbc7af2,_0x574460=_0x588a5d[_0x7c10('0x14d')](_0x4fa445=>(xt(_0x4fa445)&&(_0x4fa445=this[_0x7c10('0x116')][_0x7c10('0x12')](_0x4fa445['end'])),_0x4fa445))[_0x7c10('0x179')](_0x1bf928=>_0x7c10('0x8d')!==_0x1bf928['root']['rootName']);if(_0x574460[_0x7c10('0x76')]<0x1)return;const _0x4ababc=Array['from'](this['_model'][_0x7c10('0x29')][_0x7c10('0x144')][_0x7c10('0x101')]())[_0x7c10('0x14d')](_0x5a79ee=>_0xc3c711[_0x7c10('0x2e')](_0x5a79ee));_0x316740['setSelection'](_0x574460);for(const _0xa0147d of this[_0x7c10('0x10b')][_0x7c10('0x8e')][_0x7c10('0x8e')]())_0xa0147d[_0x7c10('0x163')]();_0x38e4d8['push']({'forceDefaultExecution':!0x0}),this['_editor'][_0x7c10('0x8f')](_0x38390e,..._0x38e4d8);const _0x4972af=_0x4ababc[_0x7c10('0x179')](_0x22a92c=>_0x7c10('0x8d')!=_0x22a92c['root']['rootName']);_0x4972af[_0x7c10('0x76')]>0x0&&_0x316740[_0x7c10('0x12e')](_0x4972af);for(const _0x159d78 of _0x4ababc)_0x159d78[_0x7c10('0x82')]();});},_0x2d6758=(_0x1abf54,_0x23f116)=>0x1==_0x1abf54[_0x7c10('0x76')]&&0x1==_0x23f116['length']&&_0x1abf54[0x0]['end']['isEqual'](_0x23f116[0x0]['start']),_0x44709f=(_0x4174fa,_0xbd1244,_0x5aab41,_0x281661)=>Ot(_0x4174fa,_0xbd1244,_0x5aab41,_0x281661,this[_0x7c10('0x116')])?[_0x4174fa,_0xbd1244]:Ot(_0xbd1244,_0x4174fa,_0x281661,_0x5aab41,this[_0x7c10('0x116')])?[_0xbd1244,_0x4174fa]:null;this['_defaultCallbacks'][_0x7c10('0x12b')](_0x7c10('0x169'),_0x47cfc7),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x154'),_0x3cc9c4),this[_0x7c10('0xd')]['set']('insertion:join',_0x2d6758),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x130'),_0x44709f),this['_defaultCallbacks'][_0x7c10('0x12b')](_0x7c10('0x13'),_0x3cc9c4),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x6a'),_0x47cfc7),this['_defaultCallbacks'][_0x7c10('0x12b')](_0x7c10('0x14'),_0x2d6758),this[_0x7c10('0xd')]['set']('deletion:chain',_0x44709f),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x4a'),_0x4e2497),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0xfb'),_0x47cfc7),this[_0x7c10('0xd')]['set']('formatInline:join',_0x2d6758),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x66'),_0x47cfc7),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x25'),_0x4e2497),this['_defaultCallbacks'][_0x7c10('0x12b')](_0x7c10('0x120'),_0x47cfc7),this['_defaultCallbacks'][_0x7c10('0x12b')]('formatBlock:join',_0x2d6758),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0xd9'),_0x47cfc7),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0xa0'),_0x47cfc7),this[_0x7c10('0xd')][_0x7c10('0x12b')](_0x7c10('0x9a'),(_0x2fea6b,_0x521db5)=>{if(!_0x521db5)return;const _0x541ba9=this[_0x7c10('0x10b')][_0x7c10('0x70')]['get'](p);this[_0x7c10('0x116')][_0x7c10('0x63')](_0x3386cf=>{if(_0x7c10('0x2a')==_0x521db5[_0x7c10('0xe5')])for(const _0x26db35 of _0x2fea6b){const _0x475e23=_0x26db35[_0x7c10('0xee')][_0x7c10('0x86')],_0x58fe0e=_0x521db5[_0x7c10('0x16')];_0x3386cf['rename'](_0x475e23,_0x58fe0e);}else{if(_0x541ba9[_0x7c10('0xff')](_0x521db5[_0x7c10('0xe5')]))for(const _0x3bf281 of _0x2fea6b)void 0x0!==_0x521db5[_0x7c10('0x16')]?_0x3386cf[_0x7c10('0x9e')](_0x521db5[_0x7c10('0xe5')],_0x521db5[_0x7c10('0x16')],_0x3bf281[_0x7c10('0xee')][_0x7c10('0x86')]):_0x3386cf[_0x7c10('0xb4')](_0x521db5[_0x7c10('0xe5')],_0x3bf281[_0x7c10('0xee')][_0x7c10('0x86')]);else for(const _0x44c4fd of _0x2fea6b)_0x521db5[_0x7c10('0x16')]?_0x3386cf[_0x7c10('0x9e')](_0x521db5[_0x7c10('0xe5')],_0x521db5[_0x7c10('0x16')],_0x44c4fd):_0x3386cf[_0x7c10('0xb4')](_0x521db5[_0x7c10('0xe5')],_0x44c4fd);}});}),this[_0x7c10('0xd')][_0x7c10('0x12b')]('attribute:join',_0x2d6758);}}function Tt(_0x546ad7,_0x1cae6c,_0x1f1c93){for(const _0x59a295 of _0x1cae6c['parent'][_0x7c10('0x8a')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x59a295[_0x7c10('0xf4')]==_0x59a295)return!0x1;if(!_0x1f1c93[_0x7c10('0x15e')](_0x59a295))return!0x1;if(_0x546ad7[_0x7c10('0xf8')](_0x59a295)||_0x546ad7['isLimit'](_0x59a295))return!0x0;}return!0x1;}function xt(_0x1c7db0){return _0x1c7db0['end']['parent']==_0x1c7db0[_0x7c10('0xee')][_0x7c10('0x86')]&&_0x1c7db0[_0x7c10('0x2c')]['isAtStart'];}function Et(_0x43cd82,_0x59f906,_0x736505,_0x1e8163){const _0x536413=_0x425782=>!_0x425782[_0x7c10('0x13e')]['is'](_0x7c10('0xd2'))&&!_0x1e8163[_0x7c10('0xf8')](_0x425782['item']),_0x4d9515=_0x43cd82[_0x7c10('0xee')][_0x7c10('0x28')](_0x536413),_0x184840=_0x43cd82[_0x7c10('0x2c')]['getLastMatchingPosition'](_0x536413,{'direction':_0x7c10('0x52')});return(!_0x43cd82[_0x7c10('0xee')][_0x7c10('0x38')](_0x4d9515)||!_0x43cd82[_0x7c10('0x2c')]['isEqual'](_0x184840))&&(_0x4d9515['isBefore'](_0x184840)?_0x736505[_0x7c10('0x137')](_0x59f906,{'range':_0x736505['createRange'](_0x4d9515,_0x184840)}):_0x736505[_0x7c10('0x177')](_0x59f906),!0x0);}function Rt(_0x3b91ba){return _0x5e0410(_0x3b91ba);}function jt(_0x3d0d12){const _0x4b5c4e=_0x3d0d12[_0x7c10('0xee')]['nodeAfter'];return _0x4b5c4e&&_0x4b5c4e['is']('element');}function Ut(_0x4a2a97,_0x54c811){const _0x3f22e5=_0x54c811[_0x7c10('0xef')][_0x7c10('0xf8')](_0x4a2a97)||_0x54c811[_0x7c10('0xef')][_0x7c10('0x15f')](_0x4a2a97);return _0x54c811[_0x7c10('0x12')](_0x54c811[_0x7c10('0xab')](_0x4a2a97,_0x7c10('0x7a')),_0x3f22e5?_0x54c811[_0x7c10('0x24')](_0x4a2a97):_0x54c811['createPositionAt'](_0x4a2a97,_0x7c10('0x2c')));}function Ot(_0xf6a51c,_0x2bf44f,_0x142728,_0x3e87e9,_0x1f7a04){if(!Vt(_0xf6a51c,_0x2bf44f))return!0x1;if(_0x142728[_0x7c10('0x2c')][_0x7c10('0x38')](_0x3e87e9[_0x7c10('0xee')]))return!0x0;if(_0xf6a51c[_0x7c10('0x15b')]!=_0x2bf44f['type'])return!0x1;if(!_0x142728['end'][_0x7c10('0xfe')](_0x3e87e9[_0x7c10('0xee')]))return!0x1;const _0x1c330b=_0x1f7a04[_0x7c10('0x12')](_0x142728['end'],_0x3e87e9[_0x7c10('0xee')])['getWalker']();for(const _0x26269d of _0x1c330b)if(['elementStart',_0x7c10('0x44')][_0x7c10('0xd4')](_0x26269d[_0x7c10('0x15b')])&&_0x1f7a04['schema']['isLimit'](_0x26269d[_0x7c10('0x13e')]))return!0x1;return!0x0;}function Vt(_0x1761cc,_0x5728b4){return!(!_0x1761cc['_isDataLoaded']||!_0x5728b4[_0x7c10('0x9c')])&&_0x3d5e0e(_0x1761cc[_0x7c10('0x57')],_0x5728b4[_0x7c10('0x57')]);}function Gt(_0x13765a,_0x58ee49){const _0x3655dd=Ft(_0x13765a[_0x7c10('0x57')]),_0x20def9=Ft(_0x58ee49);if(!_0x13765a[_0x7c10('0x9c')])return!0x1;for(const _0x4d4d1a of Object[_0x7c10('0x83')](_0x20def9))if(!_0x3d5e0e(_0x3655dd[_0x4d4d1a],_0x20def9[_0x4d4d1a]))return!0x1;return!0x0;}function Ft(_0x46b648){const _0x3744d5=Object[_0x7c10('0xd5')]({},_0x46b648);return delete _0x3744d5[_0x7c10('0xe4')],delete _0x3744d5[_0x7c10('0x182')],_0x3744d5;}function Pt(_0x52e4ce){return _0x7c10('0x37')==_0x52e4ce[_0x7c10('0x15b')]?_0x52e4ce['subType'][_0x7c10('0x22')]('|')[0x0]:null;}
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;}