@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231201.0 → 0.0.0-nightly-20231203.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-20231203.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-20231203.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231203.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 _0x4fd3=['ready','formatInline:','_refreshAttributeSuggestionsChain','ck-suggestion-marker--active','find','attributes','_getExternalAuthor','getWalker','some','showSuggestionHighlights','rethrowUnexpectedError','setAttribute','deletion:','getFirstRange','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.','collaboration.channelId','acceptSuggestion','hasCommentThread','addAttribute','formatBlock:accept','rejected','addSuggestion','_getAuthorFromId','formatInline:chain','never','track-changes-adapter-missing-getsuggestion','containsItem','removeAttribute','rename','nodeBefore','_defaultCallbacks','element','deletion:accept','trackChanges','define','addSuggestionData','change:activeMarkers','getItems','deletion','clear','lowest','head','_model','nodeAfter','track-changes-suggestion-data-mismatch','getAncestors','removeMarker:suggestion:attribute','commentThread','author','changeAttribute','position','discardAllSuggestions','addCommentThread','history','announce','backward','setTo','createPositionBefore','track-changes-suggestion-not-found','join','createElement','markers','addClass','isCollapsed','newValue','editor','_addSuggestionMarker','getCommentThread','refresh','push','commandName','editingDowncast','getSuggestions','startsWith','multipleBlocks','createSelection','toJSON','change','consume','_enabledCommands','trackChanges.trackFormatChanges','deletion:join','CommentsRepository','enableCommand','markerReady','tablePasteChainId','_registerDefaultCallbacks','remove','isAfter','$text','_isBlockAttribute','isInContent','attribute','registerPostFixer','version','getDifference','filter','createPositionAt','document','parent','dataToMarker','_joinSuggestions','_refreshSuggestionsChain','_editor','getAttribute','isAtEnd','isIntersectingWithRange','default','elementEnd','deletion:chain','updateMarker','hasComments','elementStart','_SUGGESTION_ANNOUNCEMENT','then','trackChanges.mergeNestedSuggestions','mapper','addComment','key','insertContent','from','formatBlock','upcast','start','isLocal','getShiftedBy','getUser','getCustomProperty','_trackFormatChanges','open','insertion:join','getSuggestion','LEAVE','acceptSelectedSuggestions','low','execute','formatInline:join','_saved','addMarker:suggestion:attribute','_suggestionState','split','suggestion-type','markMultiRangeInsertion','markerName','getChanges','markerToData','getIntersection','attribute:accept','authoredAt','_processAttributeSuggestions','concat','_addThreadToSuggestion','_rangeIsInLocalUserInsertion','getFirstMarker','containsPosition','high','multi','activeMarkers','error-saving-suggestion-data-suggestion-discarded','createdAt','formatInline:accept','$textProxy','_registerBlockAttribute','addMarker:suggestion','formatBlock:','attribute:discard','suggestionLoaded','$graveyard','_isDataLoaded','$marker','$elementName','containsRangeInObject','getChangedMarkers','getLastMatchingPosition','update:suggestion','formatInline','track-changes-enable-command-twice','delete','_reduceExistingSuggestions','add','previous','removeMarkers','_handleNewSuggestionMarker','_mergeNestedSuggestions','isIntersecting','discardSelectedSuggestions','track-changes-command-not-found','attributeKey','containsRange','_suggestionFactory','writer','discardSuggestion','markInlineFormat','createRangeOn','_commentsRepository','keys','Users','newName','type','_suggestions','set','toViewElement','applyOperation','markDeletion','next','length','targetPosition','isAtStart','normal','oldValue','fire','isExternal','formatBlock:discard','addHighlight','elementToElement','highest','getMultiRangeId','isObject','_setSuggestionRange','oldName','PendingActions','plugins','size','ck-suggestion-marker-formatInline','locale','pop','splice','enqueueChange','insert','markAttributeChange','_reduceSuggestionAttributeRange','removeMarker','@external','conversion','suggestionUnloaded','marker-count','external:','acceptAllSuggestions','_cutOutSuggestionMarker','formatGroupId','insertion:','_createSuggestion','subType','addRange','enableReadOnlyMode','isNextTo','insertion','attribute:','trackChangesCommand','ck-suggestion-marker-formatBlock','PENDING_ACTION_SUGGESTION','dataReady','_adapter','batch','requires','_registerInlineAttribute','range','_findSuggestions','map','detach','isEqual','warn','has','createRange','dataDowncast','removed','commands','addMarker:suggestion:formatBlock','updateSuggestion','getAllAdjacentSuggestions','_isForcedDefaultExecutionBlock','addMarkerName','createRangeIn','model','stop','_blockAttributeKeys','sort','accept','values','attribute:join','isRemovable','unbindElementFromMarkerName','insertion:chain','widget','suggestion','_removeSuggestion','_recordAttributeSuggestionsFromVersion','markBlockFormat','fromCharCode','isBefore','selection','bindElementToMarker','unbind','reconvertMarker','isOwn','markMultiRangeBlockFormat','every','before','rootName','getRanges','schema','getOperations','track-changes-adapter-already-set','catch','get','suggestion:','insertion:discard','substring','forward','after','attributeNewValue','options','_joinWithAdjacentSuggestions','getRange','always','isUndo','adapter','hasSuggestion','_updateSuggestionData','removeClass','consumable','deletion:discard','isDocumentOperation','getNearestSelectionRange','value','_setSuggestionData','markInsertion','_inlineAttributeKeys','return','isSelectable','end','deleteContent','name','differ','ck-suggestion-marker','setSelection','isArray','getSuggestionCallback','_breakSuggestionMarker','_descriptionFactory','oldRange','isLimit','skipNestingCheck','discard','root','forceDefaultExecution','comments','groupId','for','_splitMarkerName','_getMarkerAnnouncementText','includes','init','authorName','documentSelection','creator','formatBlock:join','item','listenTo','removeComment','stopListening','forEach','_processAttributeChanges','isMultiRange','newRange','notReady','_recordAttributeChanges','isInsideObject','config','data','howMany','data-suggestion','_checkSuggestionCorrectness','_customCallbacks'];(function(_0x11b932,_0x4fd307){const _0x101196=function(_0x13c799){while(--_0x13c799){_0x11b932['push'](_0x11b932['shift']());}};_0x101196(++_0x4fd307);}(_0x4fd3,0xae));const _0x1011=function(_0x11b932,_0x4fd307){_0x11b932=_0x11b932-0x0;let _0x101196=_0x4fd3[_0x11b932];return _0x101196;};import{Plugin as _0xaa3897,PendingActions as _0x1331e4}from'ckeditor5/src/core';import{LiveRange as _0x2d9d0e}from'ckeditor5/src/engine';import{CKEditorError as _0x650ea6,uid as _0x4e1986,priorities as _0x504d36,logWarning as _0x291894}from'ckeditor5/src/utils';import{toWidget as _0x296453}from'ckeditor5/src/widget';import{Users as _0x1482da,hashObject as _0x4f48ec,surroundingMarkersDetector as _0x1cbf81}from'ckeditor5-collaboration/src/collaboration-core';import _0x1febf9 from'./commands/trackchangescommand';import _0x2e5c0d from'./commands/acceptsuggestioncommand';import _0x348fd6 from'./commands/discardsuggestioncommand';import _0x55d85c from'./commands/executeonallsuggestionscommand';import _0x18df1c from'./commands/executeonselectedsuggestionscommand';import _0x13ce35 from'./suggestion';import _0x52a21f from'./suggestiondescriptionfactory';import _0x1f4092 from'./integrations/aiassistant';import _0x542f88 from'./integrations/alignment';import _0x25835d from'./integrations/basicstyles';import _0x1b4d8d from'./integrations/blockquote';import _0x102643 from'./integrations/ckbox';import _0x5b4239 from'./integrations/codeblock';import _0x470de1 from'./integrations/comments';import _0x5cc5ec from'./integrations/deletecommand';import _0x2485be from'./integrations/documentlist';import _0xe25ad0 from'./integrations/documentlistproperties';import _0x5c267c from'./integrations/entercommand';import _0x5183d1 from'./integrations/findandreplace';import _0x404505 from'./integrations/font';import _0xdf56d9 from'./integrations/formatpainter';import _0x383e7b from'./integrations/heading';import _0x5cb464 from'./integrations/highlight';import _0x223657 from'./integrations/horizontalline';import _0x1463d8 from'./integrations/htmlembed';import _0x5a85aa from'./integrations/image';import _0x1dd387 from'./integrations/imagereplace';import _0x4c4547 from'./integrations/imagestyle';import _0x82dd6d from'./integrations/importword';import _0x1a0e3d from'./integrations/indent';import _0x3dc28b from'./integrations/inputcommand';import _0x22e61b from'./integrations/link';import _0x5afc82 from'./integrations/list';import _0x3d2646 from'./integrations/listproperties';import _0x1ded54 from'./integrations/mediaembed';import _0x2ac924 from'./integrations/mention';import _0x4e214c from'./integrations/pagebreak';import _0x2f936c from'./integrations/paragraph';import _0x4b6f51 from'./integrations/removeformat';import _0x1fb055 from'./integrations/restrictededitingmode';import _0x415bb7 from'./integrations/shiftentercommand';import _0x447881 from'./integrations/standardeditingmode';import _0x38030b from'./integrations/style';import _0x1453a0 from'./integrations/table';import _0x108efa from'./integrations/tablemergesplit';import _0x2da9e8 from'./integrations/tableheadings';import _0x20bf71 from'./integrations/tableclipboard';import _0x1d0cfb from'./integrations/tablecolumnresize';import _0x358c21 from'./integrations/template';import _0x89dd2d from'./integrations/tableofcontents';import _0x2d373f from'./integrations/title';import _0xd72411 from'./integrations/undo';import _0x4df944 from'./integrations/tablecaption';import _0x3e060c from'./integrations/tableproperties';import{getTranslation as _0x42925d}from'./utils/common-translations';import{isEqual as _0x589cd8,omit as _0x35d370}from'lodash-es';export const renameAttributeKey=_0x1011('0x172');export default class p extends _0xaa3897{static get[_0x1011('0x50')](){return[_0x1011('0x11a'),_0x1482da,_0x1331e4,_0x1f4092,_0x542f88,_0x25835d,_0x1b4d8d,_0x102643,_0x5b4239,_0x470de1,_0x5cc5ec,_0x2485be,_0xe25ad0,_0x5c267c,_0x5183d1,_0x404505,_0xdf56d9,_0x383e7b,_0x5cb464,_0x223657,_0x1463d8,_0x5a85aa,_0x4c4547,_0x1dd387,_0x82dd6d,_0x1a0e3d,_0x3dc28b,_0x22e61b,_0x5afc82,_0x3d2646,_0x1ded54,_0x2ac924,_0x4e214c,_0x2f936c,_0x4b6f51,_0x1fb055,_0x415bb7,_0x447881,_0x38030b,_0x1453a0,_0x108efa,_0x2da9e8,_0x4df944,_0x20bf71,_0x1d0cfb,_0x89dd2d,_0x3e060c,_0x358c21,_0x2d373f,_0xd72411];}static get['pluginName'](){return'TrackChangesEditing';}constructor(_0x5c8a9d){function _0x2b293b(_0x24288e){return _0x24288e['map'](_0x1bfb56=>String[_0x1011('0x72')](_0x1bfb56))[_0x1011('0x103')]('');}super(_0x5c8a9d),this[_0x1011('0x70')]=null,this['set']('activeMarkers',[]),this['on'](_0x1011('0xec'),(_0x4e94fc,_0xac30bf,_0x596ea5,_0x51fb85)=>{this[_0x1011('0xf2')][_0x1011('0x115')](()=>{for(const _0x51da68 of[..._0x51fb85,..._0x596ea5])this[_0x1011('0xf2')][_0x1011('0x105')][_0x1011('0x58')](_0x51da68)&&_0x5c8a9d['editing'][_0x1011('0x77')](_0x51da68);});}),this[_0x1011('0xa5')]=new _0x52a21f(this['editor'][_0x1011('0x63')][_0x1011('0x7e')],this[_0x1011('0x109')][_0x1011('0x32')]),this[_0x1011('0x4e')]=null,this['_suggestionFactory']=new Bt(this[_0x1011('0x109')]),this[_0x1011('0x19')]=new Map(),this[_0x1011('0x14')]=_0x5c8a9d['plugins'][_0x1011('0x82')](_0x1011('0x11a')),this[_0x1011('0x117')]=new Set(),this['_model']=this[_0x1011('0x109')][_0x1011('0x63')],this[_0x1011('0x153')]=new WeakMap(),this[_0x1011('0x60')]=!0x1,this[_0x1011('0x65')]=new Set([_0x1011('0x172')]),this['_inlineAttributeKeys']=new Set(),_0x5c8a9d[_0x1011('0xc2')][_0x1011('0xea')](_0x1011('0x118'),'default'),this[_0x1011('0x148')]=_0x5c8a9d[_0x1011('0xc2')][_0x1011('0x82')](_0x1011('0x118')),_0x5c8a9d['config']['define'](_0x1011('0x13b'),!0x0),this[_0x1011('0x9')]=_0x5c8a9d[_0x1011('0xc2')][_0x1011('0x82')](_0x1011('0x13b')),this[_0x1011('0x4a')]=new _0x1febf9(_0x5c8a9d,this[_0x1011('0x117')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x2b293b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x2b293b([0x34,0x30,0x34,0x36,0x32,0x34,0x30,0x36]);}[_0x1011('0xb2')](){const _0x316d7d=this[_0x1011('0x109')],_0x5bf1c0=(_0x343785,_0x48f349)=>{if(_0x1011('0x124')!=_0x343785)return'ck-suggestion-marker-'+_0x343785;const _0x41fd35=_0x48f349['split']('|')[0x0];return this['_isBlockAttribute'](_0x41fd35)?_0x1011('0x4b'):_0x1011('0x31');};_0x316d7d[_0x1011('0x3b')][_0x1011('0xae')](_0x1011('0x10f'))['markerToHighlight']({'model':_0x1011('0x6e'),'view':_0x5066d6=>{const {id:_0xcd759f,type:_0x1de6f0,subType:_0x30eb2d}=this[_0x1011('0xaf')](_0x5066d6['markerName']),_0x84fd35=[_0x1011('0xa0'),_0x5bf1c0(_0x1de6f0,_0x30eb2d)];let _0xa04178=0xbb8;return this[_0x1011('0x165')][_0x1011('0xb1')](_0x5066d6[_0x1011('0x157')])&&(_0x84fd35[_0x1011('0x10d')]('ck-suggestion-marker--active'),_0xa04178=0xbc2),'deletion'==_0x1de6f0&&(_0xa04178+=0x5),{'classes':_0x84fd35,'attributes':{'data-suggestion':_0xcd759f},'priority':_0xa04178};}}),_0x316d7d[_0x1011('0x3b')]['for'](_0x1011('0x5a'))[_0x1011('0x5')](_0x46b6fa=>{_0x46b6fa['on'](_0x1011('0x16b'),(_0x9c1d66,_0x2a5e98,_0x2efa2b)=>{if(!_0x2efa2b[_0x1011('0x89')][_0x1011('0xd1')])return;const _0x1ccb57=_0x2a5e98[_0x1011('0xb7')];if(!_0x1ccb57)return;const _0x59a2fe=_0x2efa2b['mapper'][_0x1011('0x1b')](_0x1ccb57);_0x316d7d[_0x1011('0x63')][_0x1011('0x7e')][_0x1011('0x2b')](_0x1ccb57)&&_0x59a2fe&&!_0x59a2fe['getCustomProperty'](_0x1011('0x6d'))&&_0x59a2fe['is']('containerElement')&&_0x296453(_0x59a2fe,_0x2efa2b['writer']);},{'priority':_0x1011('0x163')});}),_0x316d7d['conversion'][_0x1011('0xae')](_0x1011('0x5a'))['markerToHighlight']({'model':'suggestion','view':(_0x4d0a72,_0x3ae201)=>{if(!_0x3ae201['options'][_0x1011('0xd1')])return null;const {type:_0xe52563,subType:_0x42aa92}=this[_0x1011('0xaf')](_0x4d0a72[_0x1011('0x157')]);return{'classes':[_0x1011('0xa0'),_0x5bf1c0(_0xe52563,_0x42aa92)],'priority':0xbb8};}});const _0x5dd583=({showActiveMarkers:_0x218dec=!0x0,isAttributeSuggestion:_0x4c837c=!0x1}={})=>(_0x46e537,_0x30eba2,_0xd63244)=>{if(!_0x30eba2[_0x1011('0xb7')])return;const {id:_0x35af87}=this[_0x1011('0xaf')](_0x30eba2[_0x1011('0x157')]);if(_0x4c837c){const _0x4cd448=Pt(this[_0x1011('0x19')][_0x1011('0x82')](_0x35af87));if(!this[_0x1011('0x122')](_0x4cd448))return;}if(_0x30eba2[_0x1011('0xb7')]['is'](_0x1011('0x74')))return void _0xd63244[_0x1011('0x92')]['consume'](_0x30eba2['item'],_0x46e537[_0x1011('0x9e')]);const _0x514caa=_0xd63244[_0x1011('0x13c')][_0x1011('0x1b')](_0x30eba2[_0x1011('0xb7')]);if(_0x30eba2[_0x1011('0xb7')]['is'](_0x1011('0xe7'))&&_0x316d7d[_0x1011('0x63')][_0x1011('0x7e')]['isBlock'](_0x30eba2[_0x1011('0xb7')])&&!_0x514caa['getCustomProperty']('addHighlight')){_0xd63244[_0x1011('0x10')][_0x1011('0x106')](['ck-suggestion-marker',_0x1011('0x4b')],_0x514caa),_0xd63244[_0x1011('0x10')][_0x1011('0xd3')](_0x1011('0xc5'),_0x35af87,_0x514caa),_0xd63244[_0x1011('0x13c')][_0x1011('0x75')](_0x514caa,_0x30eba2[_0x1011('0x157')]),_0x218dec&&(this[_0x1011('0x165')][_0x1011('0xb1')](_0x30eba2['markerName'])?_0xd63244[_0x1011('0x10')][_0x1011('0x106')](_0x1011('0xcb'),_0x514caa):_0xd63244['writer'][_0x1011('0x91')](_0x1011('0xcb'),_0x514caa));for(const _0x28071b of _0x316d7d[_0x1011('0x63')][_0x1011('0x62')](_0x30eba2[_0x1011('0xb7')])[_0x1011('0xed')]())_0xd63244[_0x1011('0x92')][_0x1011('0x116')](_0x28071b,_0x46e537[_0x1011('0x9e')]);_0xd63244[_0x1011('0x92')]['consume'](_0x30eba2['item'],_0x46e537[_0x1011('0x9e')]);}};_0x316d7d[_0x1011('0x3b')]['for'](_0x1011('0x5a'))[_0x1011('0x5')](_0xd3fda9=>{_0xd3fda9['on'](_0x1011('0x5d'),(_0x1f24c5,_0x182606,_0x4b10ef)=>{_0x4b10ef[_0x1011('0x89')][_0x1011('0xd1')]&&_0x5dd583({'showActiveMarkers':!0x1})(_0x1f24c5,_0x182606,_0x4b10ef);},{'priority':'highest'});}),_0x316d7d['conversion'][_0x1011('0xae')](_0x1011('0x5a'))[_0x1011('0x5')](_0x225540=>{_0x225540['on'](_0x1011('0x152'),(_0x3cee6a,_0x115ae5,_0xb151b0)=>{_0xb151b0[_0x1011('0x89')][_0x1011('0xd1')]&&_0x5dd583({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x3cee6a,_0x115ae5,_0xb151b0);},{'priority':_0x1011('0x29')});}),_0x316d7d[_0x1011('0x3b')][_0x1011('0xae')](_0x1011('0x5a'))[_0x1011('0x159')]({'model':'suggestion','view':(_0x5b4b87,_0xadd5de)=>_0xadd5de[_0x1011('0x89')][_0x1011('0xd1')]?null:{'group':_0x1011('0x6e'),'name':_0x5b4b87['substr'](0xb)}}),_0x316d7d[_0x1011('0x3b')][_0x1011('0xae')]('upcast')[_0x1011('0x28')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x509747,{writer:_0x4d207b})=>{let _0x206529=_0x1011('0x83')+_0x509747[_0x1011('0x130')](_0x1011('0x155'))+':'+_0x509747['getAttribute']('id');return _0x509747[_0x1011('0x130')]('marker-count')&&(_0x206529+=':'+_0x509747[_0x1011('0x130')](_0x1011('0x3d'))),_0x4d207b[_0x1011('0x104')](_0x1011('0x171'),{'data-name':_0x206529});}}),_0x316d7d[_0x1011('0x3b')][_0x1011('0xae')](_0x1011('0x142'))[_0x1011('0x12c')]({'view':_0x1011('0x6e')}),_0x316d7d[_0x1011('0x3b')][_0x1011('0xae')](_0x1011('0x10f'))[_0x1011('0x5')](_0x9f5541=>{_0x9f5541['on'](_0x1011('0x5d'),_0x5dd583(),{'priority':_0x1011('0x163')});}),_0x316d7d[_0x1011('0x3b')][_0x1011('0xae')](_0x1011('0x10f'))[_0x1011('0x5')](_0x363c19=>{_0x363c19['on']('addMarker:suggestion:attribute',_0x5dd583({'isAttributeSuggestion':!0x0}),{'priority':_0x1011('0x163')});}),_0x316d7d[_0x1011('0x3b')][_0x1011('0xae')](_0x1011('0x10f'))[_0x1011('0x5')](_0x8a4d37=>{_0x8a4d37['on']('removeMarker:suggestion:formatBlock',(_0x595ac1,_0x4a5727,_0x4b75fd)=>{const _0x24f750=_0x4b75fd['mapper']['markerNameToElements'](_0x4a5727[_0x1011('0x157')]);if(_0x24f750)for(const _0x3ff383 of _0x24f750)_0x3ff383[_0x1011('0x147')](_0x1011('0x27'))||(_0x4b75fd[_0x1011('0x10')][_0x1011('0x91')]([_0x1011('0xa0'),_0x1011('0x4b'),_0x1011('0xcb')],_0x3ff383),_0x4b75fd['writer'][_0x1011('0xe3')](_0x1011('0xc5'),_0x3ff383),_0x4b75fd[_0x1011('0x13c')]['unbindElementFromMarkerName'](_0x3ff383,_0x4a5727['markerName']));},{'priority':_0x1011('0x163')});}),_0x316d7d['conversion'][_0x1011('0xae')]('editingDowncast')[_0x1011('0x5')](_0x184a2=>{_0x184a2['on'](_0x1011('0xf6'),(_0x4f6f52,_0x2c7179,_0xd7b214)=>{const _0xc9f305=_0xd7b214[_0x1011('0x13c')]['markerNameToElements'](_0x2c7179[_0x1011('0x157')]);if(!_0xc9f305)return;const {id:_0x5d665e}=this[_0x1011('0xaf')](_0x2c7179[_0x1011('0x157')]),_0x371d9d=Pt(this[_0x1011('0x19')][_0x1011('0x82')](_0x5d665e));if(this['_isBlockAttribute'](_0x371d9d))for(const _0x4104f2 of _0xc9f305)_0x4104f2[_0x1011('0x147')](_0x1011('0x27'))||(_0xd7b214[_0x1011('0x10')][_0x1011('0x91')](['ck-suggestion-marker',_0x1011('0x4b'),'ck-suggestion-marker--active'],_0x4104f2),_0xd7b214['writer']['removeAttribute'](_0x1011('0xc5'),_0x4104f2),_0xd7b214[_0x1011('0x13c')][_0x1011('0x6b')](_0x4104f2,_0x2c7179['markerName']));},{'priority':_0x1011('0x163')});}),_0x316d7d[_0x1011('0x63')]['document'][_0x1011('0x125')](_0xd23cc5=>{let _0x3d47aa=!0x1;const _0x2bffe0=Array[_0x1011('0x140')](_0x316d7d[_0x1011('0x63')]['document']['differ'][_0x1011('0x174')]()),_0x4d95cc=new Set();for(const {name:_0x1809a8,data:_0x101fb3}of _0x2bffe0){const {group:_0x1ded5e,type:_0x1a9524,subType:_0x4fa080,id:_0x58cf14}=this[_0x1011('0xaf')](_0x1809a8);if(_0x1011('0x6e')!==_0x1ded5e)continue;const _0x48fd11=this['_suggestions'][_0x1011('0x82')](_0x58cf14);if(null!=_0x101fb3[_0x1011('0xbe')]){'formatInline'==_0x1a9524&&(_0x3d47aa=_0x3d47aa||Et(_0x101fb3[_0x1011('0xbe')],_0x1809a8,_0xd23cc5,_0x316d7d['model'][_0x1011('0x7e')]));const _0x350e30='attribute'==_0x1a9524&&this['_isBlockAttribute'](_0x4fa080[_0x1011('0x154')]('|')[0x0]);if(_0x101fb3[_0x1011('0xbe')]['isCollapsed']||_0x1011('0x16f')==_0x101fb3['newRange'][_0x1011('0xaa')][_0x1011('0x7c')]||_0x1011('0x141')==_0x1a9524&&!jt(_0x101fb3[_0x1011('0xbe')])||_0x350e30&&!jt(_0x101fb3[_0x1011('0xbe')])||_0x1011('0xee')==_0x1a9524&&!(!xt(_0x5b47c2=_0x101fb3[_0x1011('0xbe')])&&!function(_0x4521d0){return _0x4521d0[_0x1011('0x143')][_0x1011('0x12b')]==_0x4521d0[_0x1011('0x9c')][_0x1011('0xe5')]&&_0x4521d0[_0x1011('0x143')][_0x1011('0x131')];}(_0x5b47c2)))_0xd23cc5[_0x1011('0x39')](_0x1809a8),_0x3d47aa=!0x0;else{if(!_0x48fd11||!_0x48fd11[_0x1011('0x123')])continue;_0x4d95cc['add'](_0x48fd11);}}}var _0x5b47c2;return _0x4d95cc[_0x1011('0x30')]>0x0&&(_0x3d47aa=!!this[_0x1011('0x8a')](_0x4d95cc)||_0x3d47aa),_0x3d47aa;}),_0x316d7d[_0x1011('0x63')][_0x1011('0x12a')][_0x1011('0x125')](_0x18cc9b=>{let _0x2321de=!0x1;for(const _0x134caf of _0x316d7d[_0x1011('0x63')][_0x1011('0x12a')][_0x1011('0x9f')][_0x1011('0x158')]())if(_0x1011('0x36')==_0x134caf[_0x1011('0x18')])for(const _0x297dc8 of this[_0x1011('0x19')][_0x1011('0x68')]()){if(_0x297dc8['isMultiRange']||!_0x297dc8[_0x1011('0x123')])continue;const _0x4478e5=_0x1011('0x141')==_0x297dc8[_0x1011('0x18')],_0x2e393e=Pt(_0x297dc8),_0x5853ec=_0x2e393e&&this[_0x1011('0x122')](_0x2e393e);if(!_0x4478e5&&!_0x5853ec)continue;const _0x5b08bc=_0x297dc8[_0x1011('0xd5')]();if(_0x5b08bc[_0x1011('0x143')]['parent']!=_0x5b08bc[_0x1011('0x9c')][_0x1011('0x12b')]&&!_0x5b08bc[_0x1011('0x9c')][_0x1011('0x131')]){const _0x3eba87=_0x316d7d['model'][_0x1011('0x129')](_0x5b08bc['start']['nodeAfter'],_0x1011('0x9c')),_0x3ce7a0=_0x316d7d[_0x1011('0x63')][_0x1011('0x59')](_0x5b08bc[_0x1011('0x143')],_0x3eba87);_0x18cc9b[_0x1011('0x136')](_0x297dc8[_0x1011('0x161')](),{'range':_0x3ce7a0}),_0x2321de=!0x0;}}return _0x2321de;}),_0x316d7d[_0x1011('0x63')][_0x1011('0x12a')][_0x1011('0x125')](_0x208558=>this[_0x1011('0xbc')](_0x208558)),_0x316d7d[_0x1011('0x63')]['document'][_0x1011('0x125')](_0x3ddeea=>!_0x3ddeea[_0x1011('0x4f')]['isLocal']&&this[_0x1011('0x15d')](_0x3ddeea)),_0x316d7d[_0x1011('0x63')][_0x1011('0x105')]['on'](_0x1011('0x0'),(_0x51b3e5,_0x4bbec7,_0x77ff55)=>{if(null==_0x77ff55){const {id:_0x3bd82c}=this[_0x1011('0xaf')](_0x4bbec7[_0x1011('0x9e')]),_0x24a422=this['_suggestions']['get'](_0x3bd82c);_0x24a422&&_0x24a422[_0x1011('0x61')](_0x4bbec7['name']);}}),_0x316d7d[_0x1011('0x63')]['document']['on']('change:data',()=>{const _0x27c425=Array['from'](_0x316d7d[_0x1011('0x63')][_0x1011('0x12a')][_0x1011('0x9f')][_0x1011('0x174')]())[_0x1011('0x128')](_0xc6d55e=>_0x1011('0x6e')===this[_0x1011('0xaf')](_0xc6d55e[_0x1011('0x9e')])['group']);if(0x0===_0x27c425[_0x1011('0x1f')])return;_0x27c425[_0x1011('0x66')]((_0x95fa67,_0x58889f)=>{const _0x5e6f35=_0x95fa67[_0x1011('0xc3')]['oldRange'],_0x4ba082=_0x58889f[_0x1011('0xc3')][_0x1011('0xa6')];return null===_0x5e6f35&&null===_0x4ba082?0x0:null===_0x5e6f35&&null!==_0x4ba082?-0x1:null!==_0x5e6f35&&null===_0x4ba082?0x1:_0x5e6f35[_0x1011('0x143')][_0x1011('0x73')](_0x4ba082[_0x1011('0x143')])?-0x1:0x1;});const _0x5756dd=new Set(),_0x3d6294=new Set();for(const {name:_0x37ff81,data:_0x95f645}of _0x27c425){const {id:_0x273d4b}=this['_splitMarkerName'](_0x37ff81);if(null===_0x95f645[_0x1011('0xa6')]){const _0x39cfa1=this[_0x1011('0x8')](_0x37ff81);_0x3d6294[_0x1011('0x5')](_0x39cfa1);}else{const _0x15f957=this['_suggestions'][_0x1011('0x82')](_0x273d4b);null!==_0x95f645[_0x1011('0xbe')]||_0x15f957[_0x1011('0x123')]?(_0x5756dd[_0x1011('0x5')](_0x15f957[_0x1011('0xf1')]),_0x3d6294['add'](_0x15f957)):this[_0x1011('0x6f')](_0x15f957);}}_0x3d6294['size']>0x0&&this['_refreshSuggestionsChain'](_0x3d6294);for(const _0x1114fb of _0x5756dd)this['fire']('suggestionChanged',_0x1114fb);}),_0x316d7d['model']['on'](_0x1011('0x1c'),(_0x32eda9,_0xa0cdfd)=>{const _0x24fbf2=_0xa0cdfd[0x0];if(!this[_0x1011('0x19')]['size'])return;if(!_0x24fbf2[_0x1011('0x94')])return;if(_0x24fbf2[_0x1011('0x4f')][_0x1011('0x8d')]||!_0x24fbf2[_0x1011('0x4f')][_0x1011('0x144')])return;let _0xdac077,_0x3c0f8d;switch(_0x24fbf2[_0x1011('0x18')]){case _0x1011('0x36'):_0xdac077=_0x316d7d[_0x1011('0x63')][_0x1011('0x129')](_0x24fbf2[_0x1011('0xfa')]),_0x3c0f8d=_0xdac077[_0x1011('0x145')](_0x24fbf2[_0x1011('0xc4')]);break;case _0x1011('0x154'):_0xdac077=_0x316d7d['model']['createPositionAt'](_0x24fbf2['splitPosition']),_0x3c0f8d=_0x316d7d['model'][_0x1011('0x129')](_0x24fbf2['moveTargetPosition']);break;case'move':_0xdac077=_0x316d7d[_0x1011('0x63')][_0x1011('0x129')](_0x24fbf2[_0x1011('0x20')]),_0x3c0f8d=_0xdac077['getShiftedBy'](_0x24fbf2[_0x1011('0xc4')]);break;default:return;}const _0x579e6d=_0x316d7d[_0x1011('0x63')][_0x1011('0x59')](_0xdac077,_0x3c0f8d);_0x316d7d[_0x1011('0x63')]['change'](()=>{for(const {suggestion:_0x4f96c9,meta:_0x9c8b89}of this['_findSuggestions'](_0x579e6d)){if(_0x4f96c9[_0x1011('0xbd')])continue;if(_0x1011('0x1')==_0x4f96c9[_0x1011('0x18')])continue;const _0x4df8c2=Pt(_0x4f96c9);if(_0x4df8c2&&this['_isBlockAttribute'](_0x4df8c2)&&_0x1011('0x154')!=_0x24fbf2[_0x1011('0x18')])continue;const _0x1e2fa8=_0x4f96c9[_0x1011('0xc3')]&&_0x4f96c9['data'][_0x1011('0x112')];('formatBlock'!=_0x4f96c9[_0x1011('0x18')]||_0x1011('0x154')==_0x24fbf2[_0x1011('0x18')]&&!_0x1e2fa8)&&(_0x9c8b89[_0x1011('0x173')]||_0x1011('0x48')==_0x4f96c9[_0x1011('0x18')]&&_0x9c8b89[_0x1011('0x78')]||_0x4f96c9[_0x1011('0xd5')]()['containsRange'](_0x579e6d)&&this[_0x1011('0xa4')](_0x4f96c9,_0xdac077,_0x3c0f8d));}});},{'priority':_0x1011('0xf0')}),_0x316d7d[_0x1011('0x63')]['on'](_0x1011('0x9d'),(_0x2975e4,_0x5be2b6)=>{const _0x4c9bc2=_0x5be2b6[0x0],_0x132d9a=_0x5be2b6[0x1];if(_0x132d9a&&_0x132d9a[_0x1011('0xab')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0x1011('0x4a')][_0x1011('0x96')])return;if(_0x4c9bc2[_0x1011('0x107')])return;const _0x552c86=_0x316d7d[_0x1011('0x63')][_0x1011('0x7e')],{start:_0x1b51f5,end:_0x9fd7a1}=_0x4c9bc2[_0x1011('0xd5')](),_0xc7f613=_0x1b51f5[_0x1011('0xf3')]&&_0x552c86[_0x1011('0xa7')](_0x1b51f5[_0x1011('0xf3')])?null:_0x552c86['getNearestSelectionRange'](_0x1b51f5,_0x1011('0x86')),_0x6178bd=_0x9fd7a1[_0x1011('0xe5')]&&_0x552c86[_0x1011('0xa7')](_0x9fd7a1[_0x1011('0xe5')])?null:_0x552c86[_0x1011('0x95')](_0x9fd7a1,'backward'),_0x3c6574=_0x316d7d[_0x1011('0x63')]['createRange'](_0xc7f613?_0xc7f613[_0x1011('0x143')]:_0x1b51f5,_0x6178bd?_0x6178bd[_0x1011('0x9c')]:_0x9fd7a1);_0x316d7d[_0x1011('0x63')]['change'](_0x251bca=>{this[_0x1011('0x1d')](_0x3c6574);const _0x5cb81a=_0x316d7d[_0x1011('0x63')][_0x1011('0x7e')][_0x1011('0x95')](_0x3c6574['start']);_0x4c9bc2['is'](_0x1011('0xb4'))?_0x251bca[_0x1011('0xa1')](_0x5cb81a):_0x4c9bc2[_0x1011('0x100')](_0x5cb81a);}),_0x2975e4['stop']();},{'priority':_0x504d36[_0x1011('0x22')]+0xa}),_0x316d7d[_0x1011('0x63')]['on']('insertContent',(_0x46d29c,_0x54052b)=>{const _0x11bdef=_0x54052b[_0x54052b['length']-0x1];_0x11bdef&&_0x11bdef[_0x1011('0xab')]||this[_0x1011('0x60')]||this['trackChangesCommand']['value']&&(_0x316d7d['model'][_0x1011('0x115')](()=>{let _0x396bf3=_0x316d7d[_0x1011('0x63')][_0x1011('0x13f')](_0x54052b[0x0],_0x54052b[0x1],_0x54052b[0x2],{'forceDefaultExecution':!0x0});if(!_0x396bf3)return;_0x46d29c[_0x1011('0x9a')]=_0x396bf3['clone']();const _0x3370cc=_0x396bf3[_0x1011('0x9c')]['nodeBefore'],_0x41ab83=_0x316d7d[_0x1011('0x63')][_0x1011('0x7e')];_0x3370cc&&_0x41ab83['isBlock'](_0x3370cc)&&!_0x41ab83[_0x1011('0x2b')](_0x3370cc)&&(_0x396bf3=_0x316d7d[_0x1011('0x63')]['createRange'](_0x396bf3['start'],_0x316d7d['model'][_0x1011('0x129')](_0x3370cc,_0x1011('0x9c')))),this[_0x1011('0x98')](_0x396bf3);}),_0x46d29c[_0x1011('0x64')]());},{'priority':_0x1011('0x163')}),this[_0x1011('0x109')]['commands'][_0x1011('0x5')](_0x1011('0xe9'),this[_0x1011('0x4a')]),this['enableCommand']('trackChanges');const _0x57ebe0=new _0x2e5c0d(_0x316d7d,this[_0x1011('0x19')]);_0x316d7d[_0x1011('0x5c')][_0x1011('0x5')]('acceptSuggestion',_0x57ebe0),this[_0x1011('0x11b')](_0x1011('0xd8'));const _0x110482=new _0x348fd6(_0x316d7d,this[_0x1011('0x19')]);_0x316d7d[_0x1011('0x5c')]['add'](_0x1011('0x11'),_0x110482),this['enableCommand']('discardSuggestion'),_0x316d7d['commands'][_0x1011('0x5')](_0x1011('0x3f'),new _0x55d85c(_0x316d7d,_0x57ebe0,this[_0x1011('0x19')])),this[_0x1011('0x11b')]('acceptAllSuggestions'),_0x316d7d[_0x1011('0x5c')][_0x1011('0x5')](_0x1011('0xfb'),new _0x55d85c(_0x316d7d,_0x110482,this[_0x1011('0x19')])),this['enableCommand'](_0x1011('0xfb')),_0x316d7d[_0x1011('0x5c')][_0x1011('0x5')](_0x1011('0x14d'),new _0x18df1c(_0x316d7d,_0x57ebe0,this['_suggestions'])),this[_0x1011('0x11b')](_0x1011('0x14d')),_0x316d7d[_0x1011('0x5c')][_0x1011('0x5')](_0x1011('0xb'),new _0x18df1c(_0x316d7d,_0x110482,this['_suggestions'])),this[_0x1011('0x11b')]('discardSelectedSuggestions');const _0x360c9c=_0x316d7d[_0x1011('0x2f')]['get'](_0x1011('0x11a'));this[_0x1011('0xb8')](_0x360c9c,_0x1011('0x13d'),(_0x55a027,{threadId:_0x5e633d})=>{const _0x3c4752=this[_0x1011('0x19')][_0x1011('0x82')](_0x5e633d);_0x3c4752&&_0x3c4752[_0x1011('0xf7')]&&0x1===_0x3c4752[_0x1011('0xf7')][_0x1011('0x1f')]&&this[_0x1011('0x90')](_0x5e633d,{'hasComments':!0x0});},{'priority':_0x1011('0x14e')}),this[_0x1011('0xb8')](_0x360c9c,_0x1011('0xb9'),(_0x504018,{threadId:_0x442b72})=>{const _0x40a862=this[_0x1011('0x19')][_0x1011('0x82')](_0x442b72);_0x40a862&&_0x40a862['commentThread']&&!_0x40a862[_0x1011('0xf7')][_0x1011('0x1f')]&&this[_0x1011('0x90')](_0x442b72,{'hasComments':!0x1});},{'priority':_0x1011('0x14e')});}set[_0x1011('0x8e')](_0x5e8257){if(this[_0x1011('0x4e')])throw new _0x650ea6(_0x1011('0x80'),this);this[_0x1011('0x4e')]=_0x5e8257;}get['adapter'](){return this[_0x1011('0x4e')];}['getSuggestions']({skipNotAttached:_0x212cfe=!0x1,toJSON:_0x9c4e98=!0x1}={}){const _0x564b8c=[];for(const _0x5cb4e6 of this[_0x1011('0x19')]['values']())_0x212cfe&&!_0x5cb4e6[_0x1011('0x123')]||_0x564b8c[_0x1011('0x10d')](_0x5cb4e6);return _0x9c4e98?_0x564b8c['map'](_0x139740=>_0x139740[_0x1011('0x114')]()):_0x564b8c;}['getSuggestion'](_0x26aa6b){const _0x5044c0=this[_0x1011('0x19')]['get'](_0x26aa6b);if(!_0x5044c0)throw new _0x650ea6(_0x1011('0x102'),this);return _0x5044c0;}[_0x1011('0x8f')](_0x7f2cc5){return this['_suggestions'][_0x1011('0x58')](_0x7f2cc5);}[_0x1011('0xeb')](_0x4371ff){const {authorId:_0x691c81,id:_0x25e748,attributes:_0x40d5d0}=_0x4371ff,[_0xbfc829,_0x3ec369]=_0x4371ff['type'][_0x1011('0x154')](':'),_0x598688=this[_0x1011('0x19')][_0x1011('0x82')](_0x25e748)||this[_0x1011('0x43')](_0xbfc829,_0x3ec369,_0x25e748,_0x691c81,_0x40d5d0);if(this['_addThreadToSuggestion'](_0x598688),this[_0x1011('0xc6')](_0x598688,_0xbfc829,_0x3ec369||null,_0x691c81),_0x598688['createdAt']=_0x4371ff[_0x1011('0x167')],_0x598688[_0x1011('0x170')]=!0x0,_0x40d5d0&&_0x40d5d0[_0x1011('0x3a')]){const _0x183b1a=_0x40d5d0[_0x1011('0x3a')],_0x138607=this[_0x1011('0xce')](_0x183b1a[_0x1011('0xb3')]);_0x598688[_0x1011('0x15c')]=_0x183b1a[_0x1011('0x167')],_0x598688[_0x1011('0xf8')]=_0x138607,_0x598688[_0x1011('0x25')]=!0x0;}else _0x598688[_0x1011('0x15c')]=_0x4371ff[_0x1011('0x167')];switch(_0x4371ff[_0x1011('0xc3')]&&(_0x598688[_0x1011('0xc3')]=_0x4371ff[_0x1011('0xc3')]),_0x4371ff[_0x1011('0xcd')]&&(_0x598688['attributes']=_0x4371ff[_0x1011('0xcd')]),this['_adapter']&&this[_0x1011('0x4e')]['addSuggestion']||(_0x598688[_0x1011('0x151')]=!0x0),this['_suggestionState'][_0x1011('0x82')](_0x598688)){case _0x1011('0xbf'):this[_0x1011('0x153')][_0x1011('0x1a')](_0x598688,_0x1011('0x4d'));break;case _0x1011('0x11c'):_0x598688[_0x1011('0x123')]?(this[_0x1011('0x12e')](new Set([_0x598688])),this[_0x1011('0x8a')](new Set([_0x598688])),this['_suggestionState'][_0x1011('0x1a')](_0x598688,_0x1011('0xc8')),this[_0x1011('0x24')](_0x1011('0x16e'),_0x598688)):this[_0x1011('0x153')][_0x1011('0x1a')](_0x598688,_0x1011('0x5b'));}return _0x598688;}[_0x1011('0xd8')](_0xea3d02){this[_0x1011('0xab')](()=>{this[_0x1011('0x109')][_0x1011('0x63')]['change'](()=>{for(const _0x1dfdaa of _0xea3d02[_0x1011('0x5f')]())_0x1dfdaa[_0x1011('0x67')]();});});}[_0x1011('0x11')](_0x37edce){this[_0x1011('0xab')](()=>{this[_0x1011('0x109')][_0x1011('0x63')]['change'](()=>{for(const _0x475759 of _0x37edce[_0x1011('0x5f')]())_0x475759[_0x1011('0xa9')]();});});}[_0x1011('0x11b')](_0x306f0e,_0x157ff1){const _0x130d54=this[_0x1011('0x109')][_0x1011('0x5c')]['get'](_0x306f0e);if(!_0x130d54)throw new _0x650ea6(_0x1011('0xc'),this,{'commandName':_0x306f0e});if(this[_0x1011('0x117')][_0x1011('0x58')](_0x130d54))throw new _0x650ea6(_0x1011('0x2'),this,{'commandName':_0x306f0e});this[_0x1011('0x117')][_0x1011('0x5')](_0x130d54),_0x157ff1&&_0x130d54['on'](_0x1011('0x14f'),(_0x49d83d,_0x38cd49)=>{this[_0x1011('0x4a')]['value']&&(this[_0x1011('0x60')]||(_0x38cd49[_0x1011('0x1f')]>0x0&&_0x38cd49[_0x38cd49['length']-0x1]&&_0x38cd49[_0x38cd49[_0x1011('0x1f')]-0x1][_0x1011('0xab')]?_0x38cd49[_0x1011('0x33')]():(_0x49d83d[_0x1011('0x9a')]=_0x157ff1((..._0x4acf29)=>_0x130d54[_0x1011('0x14f')](..._0x4acf29,{'forceDefaultExecution':!0x0}),..._0x38cd49),_0x49d83d[_0x1011('0x64')]())));},{'priority':'high'});}['forceDefaultExecution'](_0x5f775b){let _0x3ad425,_0x4a7a56;const _0x39eb0b=this['_isForcedDefaultExecutionBlock'];this[_0x1011('0x60')]=!0x0;try{_0x3ad425=_0x5f775b();}catch(_0xfacf9){_0x4a7a56=_0xfacf9;}return _0x39eb0b||(this[_0x1011('0x60')]=!0x1),_0x4a7a56&&_0x650ea6[_0x1011('0xd2')](_0x4a7a56,this),_0x3ad425;}[_0x1011('0x98')](_0x4e8f98,_0x4f8783=null,_0x1ec025={}){if(_0x4e8f98['isCollapsed'])return null;const _0xf50ebf=this[_0x1011('0x109')][_0x1011('0x2f')]['get'](_0x1011('0x16'))['me'];for(const {suggestion:_0x1ed97a,meta:_0x21a43e}of this[_0x1011('0x53')](_0x4e8f98,_0x1011('0x48')))if(_0x21a43e[_0x1011('0x78')]){if(!_0x21a43e[_0x1011('0x47')]){if(_0x21a43e[_0x1011('0x173')]){if(!this[_0x1011('0x9')]||!Gt(_0x1ed97a,_0x1ec025))continue;return _0x1ed97a;}if(Gt(_0x1ed97a,_0x1ec025))return _0x1ed97a;this[_0x1011('0xa4')](_0x1ed97a,_0x4e8f98['start'],_0x4e8f98[_0x1011('0x9c')]);break;}if(_0x4f8783==_0x1ed97a['subType']&&Gt(_0x1ed97a,_0x1ec025)){const _0x4923aa=_0x1ed97a[_0x1011('0xd5')]();return _0x4923aa[_0x1011('0x143')]['isEqual'](_0x4e8f98['end'])?this[_0x1011('0x2c')](_0x1ed97a,this[_0x1011('0xf2')][_0x1011('0x59')](_0x4e8f98[_0x1011('0x143')],_0x4923aa[_0x1011('0x9c')])):this[_0x1011('0x2c')](_0x1ed97a,this[_0x1011('0xf2')][_0x1011('0x59')](_0x4923aa['start'],_0x4e8f98[_0x1011('0x9c')])),_0x1ed97a;}}const _0x4742a8=_0x4e1986(),_0x2ecf4d=_0xf50ebf['id'],_0x1efa3e=_0x4f8783?_0x1011('0x42')+_0x4f8783:_0x1011('0x48'),_0x30fac9=this[_0x1011('0x97')]({'id':_0x4742a8,'type':_0x1efa3e,'createdAt':new Date(),'authorId':_0x2ecf4d,'attributes':_0x1ec025});return this[_0x1011('0x10a')](_0x1efa3e,_0x4742a8,_0x2ecf4d,_0x4e8f98),_0x30fac9;}[_0x1011('0x156')](_0x5db99a,_0xbac2fb=_0x1011('0x164'),_0xfe2624={}){const _0x129812=this[_0x1011('0x109')][_0x1011('0x2f')][_0x1011('0x82')](_0x1011('0x16'))['me'],_0x5efbed=this[_0x1011('0xf')][_0x1011('0xa3')]('insertion',_0xbac2fb,_0x1011('0x103'));for(const _0x3ccd50 of this[_0x1011('0x110')]())if(_0x3ccd50['author']['id']==_0x129812['id']&&'insertion'==_0x3ccd50[_0x1011('0x18')]&&_0x3ccd50['subType']==_0xbac2fb&&Gt(_0x3ccd50,_0xfe2624)&&(_0x5efbed(_0x3ccd50['getRanges'](),_0x5db99a)||_0x5efbed(_0x5db99a,_0x3ccd50[_0x1011('0x7d')]()))){for(const _0x3ea275 of _0x5db99a)_0x3ccd50[_0x1011('0x45')](_0x3ea275);return _0x3ccd50;}for(const {suggestion:_0xddfa6a,meta:_0x10771b}of this[_0x1011('0x53')](_0x5db99a,_0x1011('0x48'))){if(!_0x10771b[_0x1011('0x78')])continue;if(!this[_0x1011('0x9')]&&_0x10771b['containsRangeInObject'])continue;if(!Gt(_0xddfa6a,_0xfe2624))continue;let _0x506b07=!0x0;for(const _0x24f8ec of _0xddfa6a[_0x1011('0x7d')]())for(const _0x45478d of _0x5db99a)if(!_0x24f8ec[_0x1011('0xe')](_0x45478d)){_0x506b07=!0x1;break;}if(_0x506b07)return _0xddfa6a;}const _0x19c7b0=_0x4e1986(),_0x55286f=_0x129812['id'],_0x3da75f='insertion:'+_0xbac2fb,_0x45d580=this['_setSuggestionData']({'id':_0x19c7b0,'type':_0x3da75f,'createdAt':new Date(),'authorId':_0x55286f,'attributes':_0xfe2624});for(const _0x4cd304 of _0x5db99a)this[_0x1011('0x10a')](_0x3da75f,_0x19c7b0,_0x55286f,_0x4cd304,_0x13ce35[_0x1011('0x2a')]());return _0x45d580;}[_0x1011('0x12')](_0x1d4a33,_0x46fff1,_0x3d2047=null,_0x55d27f={}){if(_0x3d2047=_0x3d2047||Rt(_0x46fff1),_0x1d4a33[_0x1011('0x107')])return null;if(_0x1011('0xe0')===this[_0x1011('0x148')]){const _0x394650=this[_0x1011('0xf')][_0x1011('0xa3')](_0x1011('0x1'),_0x3d2047,'accept');return this[_0x1011('0xab')](()=>_0x394650([_0x1d4a33],_0x46fff1,_0x55d27f)),null;}const _0x59d2fa=this[_0x1011('0x109')][_0x1011('0x2f')]['get'](_0x1011('0x16'))['me'],_0x598ec6=[];if(_0x1011('0x8c')!==this[_0x1011('0x148')])for(const {suggestion:_0x14e498,meta:_0x463212}of this['_findSuggestions'](_0x1d4a33,_0x1011('0x48')))_0x463212[_0x1011('0x78')]&&!_0x463212['isInsideObject']&&_0x598ec6['push'](..._0x14e498['getRanges']());const _0x76abe9=function(_0x37bbd3,_0x16f73a){const _0x1a3240=[];for(const _0xb43659 of _0x16f73a){const _0x26f2db=_0x37bbd3[_0x1011('0x15a')](_0xb43659);_0x26f2db&&_0x1a3240[_0x1011('0x10d')](_0x26f2db);}return _0x1a3240;}(_0x1d4a33,_0x598ec6),_0xa6e38=function(_0x3b70f9,_0x46d8ca){const _0x414ef3=[_0x3b70f9];for(const _0x17529a of _0x46d8ca){let _0xdef2de=0x0;for(;_0xdef2de<_0x414ef3['length'];){const _0x4b6421=_0x414ef3[_0xdef2de][_0x1011('0x127')](_0x17529a);_0x414ef3[_0x1011('0x34')](_0xdef2de,0x1,..._0x4b6421),_0xdef2de+=_0x4b6421[_0x1011('0x1f')];}}return _0x414ef3;}(_0x1d4a33,_0x598ec6);_0x76abe9['length']&&this['_model'][_0x1011('0x115')](()=>{for(const _0x394705 of _0x76abe9){const _0x44f9ae=this[_0x1011('0xf')]['getSuggestionCallback'](_0x1011('0x1'),_0x3d2047,_0x1011('0x67'));this[_0x1011('0xab')](()=>_0x44f9ae([_0x394705],_0x46fff1,_0x55d27f));}});for(const _0x3c3dbf of _0xa6e38){let _0x226614=null,_0x359d5c=_0x3c3dbf['start'],_0x24b410=_0x3c3dbf['end'];for(const {suggestion:_0x22da30,meta:_0x29481f}of this[_0x1011('0x53')](_0x3c3dbf,_0x1011('0x1'))){if(!_0x29481f[_0x1011('0x78')])continue;if(_0x22da30[_0x1011('0x44')]!=_0x3d2047)continue;if(!Gt(_0x22da30,_0x55d27f))continue;const _0x18d797=_0x22da30['getFirstRange']();if(_0x18d797[_0x1011('0xe')](_0x3c3dbf,!0x0))return null;_0x359d5c=_0x359d5c[_0x1011('0x73')](_0x18d797[_0x1011('0x143')])?_0x359d5c:_0x18d797[_0x1011('0x143')],_0x24b410=_0x24b410[_0x1011('0x120')](_0x18d797[_0x1011('0x9c')])?_0x24b410:_0x18d797[_0x1011('0x9c')],_0x226614?_0x18d797[_0x1011('0x143')][_0x1011('0x73')](_0x226614[_0x1011('0xd5')]()[_0x1011('0x143')])?(_0x226614[_0x1011('0x7')](),_0x226614=_0x22da30):_0x22da30['removeMarkers']():_0x226614=_0x22da30;}const _0x1dff50=this[_0x1011('0xf2')]['createRange'](_0x359d5c,_0x24b410);if(_0x226614)this['_setSuggestionRange'](_0x226614,_0x1dff50);else{const _0x23e8a7=_0x4e1986(),_0x522d5b=_0x59d2fa['id'];this[_0x1011('0x97')]({'id':_0x23e8a7,'type':_0x1011('0xc9')+_0x3d2047,'data':_0x46fff1,'createdAt':new Date(),'authorId':_0x522d5b,'attributes':_0x55d27f}),this[_0x1011('0x10a')](_0x1011('0xc9')+_0x3d2047,_0x23e8a7,_0x522d5b,_0x1dff50);}}return null;}[_0x1011('0x71')](_0xddeb23,_0x480b1e,_0x4227df=[],_0x378e13=null,_0xbbc636={}){_0x480b1e[_0x1011('0x41')]||(_0x480b1e[_0x1011('0x41')]=_0x480b1e[_0x1011('0x10e')]),_0x480b1e[_0x1011('0x112')]=_0xddeb23['is'](_0x1011('0x52')),_0x378e13=_0x378e13||Rt(_0x480b1e);const _0x48a221=_0x4227df[_0x1011('0x54')](_0x46a91e=>Ut(_0x46a91e,this[_0x1011('0xf2')])),_0x290ccb=_0xddeb23['is'](_0x1011('0x52'))?_0xddeb23:Ut(_0xddeb23,this[_0x1011('0xf2')]);if(_0x1011('0xe0')===this['_trackFormatChanges']){const _0x4a525a=this[_0x1011('0xf')][_0x1011('0xa3')](_0x1011('0x141'),_0x378e13,'accept');return this[_0x1011('0xab')](()=>_0x4a525a([_0x290ccb],_0x480b1e,_0xbbc636)),null;}_0x48a221[_0x1011('0x10d')](_0x290ccb);let _0x97acbc=!0x0;for(const _0x4f1174 of _0x48a221)if(!this[_0x1011('0x160')](_0x4f1174)){_0x97acbc=!0x1;break;}if(_0x97acbc&&_0x1011('0x8c')!==this[_0x1011('0x148')]){const _0x1697ce=this['_suggestionFactory'][_0x1011('0xa3')](_0x1011('0x141'),_0x378e13,_0x1011('0x67'));return this['forceDefaultExecution'](()=>_0x1697ce([_0x290ccb],_0x480b1e,_0xbbc636)),null;}let _0x240846=null,_0x13b139=_0x290ccb[_0x1011('0x143')],_0x4b8a02=_0x290ccb['end'];for(const {suggestion:_0x2f4190,meta:_0x5ef6c5}of this[_0x1011('0x53')](_0x290ccb,_0x1011('0x141'))){if(!_0x5ef6c5[_0x1011('0x78')])continue;if(_0x5ef6c5[_0x1011('0x47')]||_0x5ef6c5[_0x1011('0x173')]||_0x5ef6c5[_0x1011('0xc1')])continue;if(_0x2f4190[_0x1011('0xc3')][_0x1011('0x41')]!=_0x480b1e[_0x1011('0x41')])continue;if(!Gt(_0x2f4190,_0xbbc636))continue;const _0x185b0b=_0x2f4190[_0x1011('0xd5')]();if(_0x2f4190['subType']==_0x378e13){if(_0x185b0b[_0x1011('0xe')](_0x290ccb,!0x0))return null;_0x13b139=_0x13b139[_0x1011('0x73')](_0x185b0b[_0x1011('0x143')])?_0x13b139:_0x185b0b[_0x1011('0x143')],_0x4b8a02=_0x4b8a02[_0x1011('0x120')](_0x185b0b[_0x1011('0x9c')])?_0x4b8a02:_0x185b0b[_0x1011('0x9c')],_0x240846?_0x185b0b[_0x1011('0x143')]['isBefore'](_0x240846['getFirstRange']()[_0x1011('0x143')])?(_0x240846['removeMarkers'](),_0x240846=_0x2f4190):_0x2f4190[_0x1011('0x7')]():_0x240846=_0x2f4190;}else{const _0x59a346=_0x290ccb[_0x1011('0x15a')](_0x185b0b);this['_cutOutSuggestionMarker'](_0x2f4190,_0x59a346);}}const _0x40d755=this[_0x1011('0x109')][_0x1011('0x2f')][_0x1011('0x82')](_0x1011('0x16'))['me'],_0x321468=_0x4e1986(),_0x22cbb7=_0x40d755['id'];if(_0x240846)return this[_0x1011('0x2c')](_0x240846,this[_0x1011('0xf2')][_0x1011('0x59')](_0x13b139,_0x4b8a02)),_0x240846;{const _0x1f84fe=this[_0x1011('0x97')]({'id':_0x321468,'type':_0x1011('0x16c')+_0x378e13,'data':_0x480b1e,'createdAt':new Date(),'authorId':_0x22cbb7,'attributes':_0xbbc636});return this[_0x1011('0x10a')]('formatBlock:'+_0x378e13,_0x321468,_0x22cbb7,this[_0x1011('0xf2')][_0x1011('0x59')](_0x13b139,_0x4b8a02)),_0x1f84fe;}}[_0x1011('0x79')](_0x37c8d2,_0x1ca16d,_0x3f52f8=[],_0x1d3afe=null,_0xd64dbf={}){_0x1ca16d[_0x1011('0x41')]||(_0x1ca16d[_0x1011('0x41')]=_0x1ca16d[_0x1011('0x10e')]);const _0x4fe5c2=_0x37c8d2[0x0];_0x1ca16d[_0x1011('0x112')]=_0x4fe5c2['is'](_0x1011('0x52')),_0x1d3afe=_0x1d3afe||Rt(_0x1ca16d);const _0x1da204=_0x3f52f8['map'](_0x486cb0=>Ut(_0x486cb0,this['_model'])),_0x2a271d=_0x4fe5c2['is'](_0x1011('0x52'))?_0x37c8d2:_0x37c8d2['map'](_0x553cee=>Ut(_0x553cee,this[_0x1011('0xf2')]));if('never'===this['_trackFormatChanges']){const _0x58252e=this[_0x1011('0xf')]['getSuggestionCallback'](_0x1011('0x141'),_0x1d3afe,_0x1011('0x67'));return this[_0x1011('0xab')](()=>_0x58252e(_0x2a271d,_0x1ca16d,_0xd64dbf)),null;}_0x1da204[_0x1011('0x10d')](..._0x2a271d);let _0x38df73=!0x0;for(const _0x279b67 of _0x1da204)if(!this[_0x1011('0x160')](_0x279b67)){_0x38df73=!0x1;break;}if(_0x38df73&&_0x1011('0x8c')!==this[_0x1011('0x148')]){const _0x1b9436=this[_0x1011('0xf')]['getSuggestionCallback'](_0x1011('0x141'),_0x1d3afe,_0x1011('0x67'));return this[_0x1011('0xab')](()=>_0x1b9436(_0x2a271d,_0x1ca16d,_0xd64dbf)),null;}const _0x45c7d5=this['editor'][_0x1011('0x2f')][_0x1011('0x82')](_0x1011('0x16'))['me'];for(const _0x3d1054 of this[_0x1011('0x110')]()){if(_0x3d1054[_0x1011('0xf8')]['id']!=_0x45c7d5['id'])continue;if('formatBlock'!=_0x3d1054[_0x1011('0x18')]||_0x3d1054[_0x1011('0xc3')][_0x1011('0x41')]!=_0x1ca16d[_0x1011('0x41')])continue;if(!Gt(_0x3d1054,_0xd64dbf))continue;const _0xbb333b=_0x3d1054[_0x1011('0x44')]==_0x1d3afe;for(let _0x4f74cf=0x0;_0x4f74cf<_0x2a271d[_0x1011('0x1f')];_0x4f74cf++){const _0x3a1181=_0x2a271d[_0x4f74cf];for(const _0x335116 of _0x3d1054['getMarkers']()){const _0x136c58=_0x335116[_0x1011('0x8b')]();if(_0x3a1181['isEqual'](_0x136c58)){_0xbb333b?(_0x2a271d[_0x1011('0x34')](_0x4f74cf,0x1),_0x4f74cf--):_0x3d1054['removeMarker'](_0x335116[_0x1011('0x9e')]);break;}}}}if(0x0==_0x2a271d['length'])return null;const _0x839408=this[_0x1011('0xf')][_0x1011('0xa3')](_0x1011('0x141'),_0x1d3afe,_0x1011('0x103'));for(const _0x51eadd of this[_0x1011('0x110')]())if(_0x51eadd[_0x1011('0xf8')]['id']==_0x45c7d5['id']&&_0x1011('0x141')==_0x51eadd[_0x1011('0x18')]&&_0x51eadd[_0x1011('0xc3')][_0x1011('0x41')]==_0x1ca16d[_0x1011('0x41')]&&_0x51eadd[_0x1011('0x44')]==_0x1d3afe&&Gt(_0x51eadd,_0xd64dbf)&&(_0x839408(_0x51eadd[_0x1011('0x7d')](),_0x2a271d)||_0x839408(_0x2a271d,_0x51eadd['getRanges']()))){for(const _0x3a1ab6 of _0x2a271d)_0x51eadd['addRange'](_0x3a1ab6);return _0x51eadd;}const _0x25047a=_0x4e1986(),_0x57089a=_0x45c7d5['id'],_0x2de864=_0x1011('0x16c')+_0x1d3afe,_0x58608b=this[_0x1011('0x97')]({'id':_0x25047a,'type':_0x2de864,'data':_0x1ca16d,'createdAt':new Date(),'authorId':_0x57089a,'attributes':_0xd64dbf});for(const _0x51bbf0 of _0x2a271d)this[_0x1011('0x10a')](_0x2de864,_0x25047a,_0x57089a,_0x51bbf0,_0x13ce35[_0x1011('0x2a')]());return _0x58608b;}[_0x1011('0x1d')](_0x437271,_0x46a5b7=null,_0x5af96b={}){if(_0x437271[_0x1011('0x107')])return null;const _0x5ba5b2=this['editor'][_0x1011('0x2f')][_0x1011('0x82')](_0x1011('0x16'))['me'],_0x5c938f=new _0x2d9d0e(_0x437271['start'],_0x437271[_0x1011('0x9c')]);for(const {suggestion:_0x3ed55d,meta:_0x898586}of this[_0x1011('0x53')](_0x5c938f,_0x1011('0x48')))if(_0x898586['isOwn']&&!_0x898586['isNextTo']){if(_0x3ed55d[_0x1011('0xbd')]){const _0x2a253b=_0x3ed55d[_0x1011('0x7d')]()['filter'](_0xe5cfb4=>_0x1011('0x16f')!=_0xe5cfb4[_0x1011('0xaa')][_0x1011('0x7c')]);_0x2a253b[_0x1011('0x7a')](_0x3ad411=>_0x5c938f[_0x1011('0xe')](_0x3ad411,!0x0))&&_0x3ed55d[_0x1011('0xa9')]();if(_0x2a253b[_0x1011('0xd0')](_0x23c5a6=>_0x23c5a6[_0x1011('0xe')](_0x5c938f,!0x0))){const _0x353542=this['_suggestionFactory']['getSuggestionCallback'](_0x1011('0xee'),_0x46a5b7,_0x1011('0x67'));return this[_0x1011('0xab')](()=>_0x353542([_0x5c938f],null,_0x5af96b)),null;}}else{const _0x510544=_0x5c938f[_0x1011('0x15a')](_0x3ed55d[_0x1011('0xd5')]());null!==_0x510544&&_0x3ed55d['_onDiscard']([_0x510544],null,_0x5af96b);}}if(_0x5c938f['detach'](),_0x5c938f[_0x1011('0x107')]||'$graveyard'==_0x5c938f[_0x1011('0xaa')][_0x1011('0x7c')])return null;let _0x3a18c9=null,_0x4dd473=_0x5c938f['start'],_0x14b535=_0x5c938f[_0x1011('0x9c')];const _0x3b8412=this[_0x1011('0x53')](_0x5c938f,'deletion');for(const {suggestion:_0x1d54e9,meta:_0x4bff59}of _0x3b8412){const _0x368202=this[_0x1011('0xf2')][_0x1011('0x59')](_0x4dd473,_0x14b535);if(_0x4bff59[_0x1011('0x78')]&&(this[_0x1011('0x9')]||!_0x4bff59[_0x1011('0x173')]&&!_0x4bff59[_0x1011('0xc1')])){if(_0x1d54e9[_0x1011('0xbd')]){if(!Gt(_0x1d54e9,_0x5af96b))continue;let _0x478b03=!0x0;for(const _0x455e4a of _0x1d54e9[_0x1011('0x7d')]()){if(_0x455e4a[_0x1011('0xe')](_0x368202,!0x0))return _0x1d54e9;_0x368202[_0x1011('0xe')](_0x455e4a)||(_0x478b03=!0x1);}_0x478b03&&_0x1d54e9['discard']();}else{const _0x1490ee=_0x1d54e9[_0x1011('0xd5')]();if(_0x1490ee[_0x1011('0xe')](_0x368202,!0x0))return _0x1d54e9;if(!Gt(_0x1d54e9,_0x5af96b)){_0x368202['containsRange'](_0x1490ee)?_0x1d54e9['removeMarkers']():_0x1490ee['containsPosition'](_0x4dd473)?_0x4dd473=_0x1490ee['end']:_0x1490ee[_0x1011('0x162')](_0x14b535)&&(_0x14b535=_0x1490ee[_0x1011('0x143')]);continue;}_0x4dd473=_0x4dd473[_0x1011('0x73')](_0x1490ee['start'])?_0x4dd473:_0x1490ee[_0x1011('0x143')],_0x14b535=_0x14b535[_0x1011('0x120')](_0x1490ee[_0x1011('0x9c')])?_0x14b535:_0x1490ee['end'],_0x5af96b=Object['assign']({},_0x1d54e9['attributes']),_0x3a18c9?_0x1490ee[_0x1011('0x143')][_0x1011('0x73')](_0x3a18c9[_0x1011('0xd5')]()[_0x1011('0x143')])?(_0x3a18c9[_0x1011('0x7')](),_0x3a18c9=_0x1d54e9):_0x1d54e9[_0x1011('0x7')]():_0x3a18c9=_0x1d54e9;}}}if(_0x3a18c9)return this[_0x1011('0x2c')](_0x3a18c9,this[_0x1011('0xf2')][_0x1011('0x59')](_0x4dd473,_0x14b535)),_0x3a18c9;{const _0x32bd73=_0x4e1986(),_0x948616=this[_0x1011('0xf2')][_0x1011('0x59')](_0x4dd473,_0x14b535),_0x449f93=_0x5ba5b2['id'],_0x2fd05f=_0x46a5b7?_0x1011('0xd4')+_0x46a5b7:_0x1011('0xee'),_0x889960=this[_0x1011('0x97')]({'id':_0x32bd73,'type':_0x2fd05f,'createdAt':new Date(),'authorId':_0x449f93,'attributes':_0x5af96b});return this[_0x1011('0x10a')](_0x2fd05f,_0x32bd73,_0x449f93,_0x948616),_0x889960;}}['markMultiRangeDeletion'](_0x15178e,_0xa5039a=_0x1011('0x164'),_0x26df9a={}){const _0x203fc8=this[_0x1011('0x109')][_0x1011('0x2f')]['get'](_0x1011('0x16'))['me'],_0x383ac7=_0x15178e[_0x1011('0x54')](_0x190697=>new _0x2d9d0e(_0x190697[_0x1011('0x143')],_0x190697[_0x1011('0x9c')])),_0x23aee9=new Set();for(const {suggestion:_0x5ac0f0,meta:_0x5d9fdd}of this['_findSuggestions'](_0x383ac7,_0x1011('0x48')))_0x5d9fdd[_0x1011('0x78')]&&!_0x5d9fdd['isNextTo']&&_0x23aee9[_0x1011('0x5')](_0x5ac0f0);for(const _0x4fe282 of _0x23aee9)if(_0x4fe282[_0x1011('0xbd')]){const _0x3c059f=_0x4fe282[_0x1011('0x7d')]();(!_0x4fe282[_0x1011('0xcd')]||!_0x4fe282[_0x1011('0xcd')]['skipNestingCheck'])&&(_0x3c059f['every'](_0x36cd9f=>_0x383ac7['some'](_0x1b17da=>_0x1b17da[_0x1011('0xe')](_0x36cd9f,!0x0)))&&_0x4fe282[_0x1011('0xa9')]());if(_0x383ac7[_0x1011('0x7a')](_0x255689=>_0x3c059f[_0x1011('0xd0')](_0x5b1966=>_0x5b1966[_0x1011('0xe')](_0x255689,!0x0)))){const _0x4a1167=this[_0x1011('0xf')][_0x1011('0xa3')](_0x1011('0xee'),_0xa5039a,_0x1011('0x67'));return this[_0x1011('0xab')](()=>_0x4a1167(_0x15178e,null,_0x26df9a)),null;}}else{const _0x166074=_0x4fe282['getFirstRange']();_0x383ac7['some'](_0x232346=>_0x232346[_0x1011('0xe')](_0x166074,!0x0))&&_0x4fe282[_0x1011('0xa9')]();if(_0x383ac7[_0x1011('0x7a')](_0x20e087=>_0x166074[_0x1011('0xe')](_0x20e087,!0x0))){const _0x517df0=this[_0x1011('0xf')][_0x1011('0xa3')](_0x1011('0xee'),_0xa5039a,_0x1011('0x67'));return this[_0x1011('0xab')](()=>_0x517df0(_0x383ac7,null,_0x26df9a)),null;}}const _0x345c48=this[_0x1011('0xf')][_0x1011('0xa3')]('deletion',_0xa5039a,_0x1011('0x103'));let _0x3d012f=null;for(const _0x396717 of this[_0x1011('0x110')]())if(_0x396717[_0x1011('0xf8')]['id']==_0x203fc8['id']&&_0x396717[_0x1011('0x123')]&&_0x1011('0xee')==_0x396717['type']&&_0x396717[_0x1011('0x44')]==_0xa5039a&&Gt(_0x396717,_0x26df9a)&&(_0x345c48(_0x396717[_0x1011('0x7d')](),_0x383ac7)||_0x345c48(_0x383ac7,_0x396717['getRanges']()))){if(_0x3d012f){if(_0x396717[_0x1011('0xf7')]&&_0x396717[_0x1011('0xf7')][_0x1011('0x1f')])continue;for(const _0x1904d1 of _0x396717['getRanges']())_0x3d012f[_0x1011('0x132')](_0x1904d1)||_0x3d012f['addRange'](_0x1904d1);_0x396717['removeMarkers']();}else{_0x3d012f=_0x396717;for(const _0x4259a0 of _0x383ac7)_0x396717['isIntersectingWithRange'](_0x4259a0)||_0x396717[_0x1011('0x45')](_0x4259a0);}}if(_0x3d012f)return _0x3d012f;_0x23aee9[_0x1011('0xef')]();for(const {suggestion:_0x24e40e,meta:_0x34cda4}of this[_0x1011('0x53')](_0x383ac7,'deletion'))_0x34cda4[_0x1011('0x78')]&&(this['_mergeNestedSuggestions']||!_0x34cda4[_0x1011('0x173')]&&!_0x34cda4[_0x1011('0xc1')])&&Gt(_0x24e40e,_0x26df9a)&&_0x23aee9['add'](_0x24e40e);for(const _0xff7601 of _0x23aee9){const _0x504d04=_0xff7601[_0x1011('0x7d')]();if(!_0x26df9a||!_0x26df9a[_0x1011('0xa8')]){if(_0x383ac7[_0x1011('0x7a')](_0x53b9ad=>_0x504d04[_0x1011('0xd0')](_0x2a568=>_0x2a568[_0x1011('0xe')](_0x53b9ad,!0x0))))return _0xff7601;}(!_0xff7601[_0x1011('0xcd')]||!_0xff7601[_0x1011('0xcd')][_0x1011('0xa8')])&&(_0x504d04[_0x1011('0x7a')](_0x32a2c0=>_0x383ac7[_0x1011('0xd0')](_0x4d95b2=>_0x4d95b2[_0x1011('0xe')](_0x32a2c0,!0x0)))&&_0xff7601[_0x1011('0xa9')]());}const _0x80b787=_0x4e1986(),_0xe5ce9b=_0x203fc8['id'],_0x4259a3=_0x1011('0xd4')+_0xa5039a,_0x231af9=this['_setSuggestionData']({'id':_0x80b787,'type':_0x4259a3,'createdAt':new Date(),'authorId':_0xe5ce9b,'attributes':_0x26df9a});for(const _0x26870e of _0x383ac7)_0x26870e[_0x1011('0x55')](),_0x26870e['isCollapsed']||_0x1011('0x16f')==_0x26870e[_0x1011('0xaa')][_0x1011('0x7c')]||this['_addSuggestionMarker'](_0x4259a3,_0x80b787,_0xe5ce9b,_0x26870e,_0x13ce35[_0x1011('0x2a')]());return _0x231af9;}[_0x1011('0x37')](_0xb89036,_0x3c1fa4,_0x24ba9d,_0x401716,_0x4cc516){if(_0xb89036['isCollapsed'])return[];if(_0x1011('0xe0')===this['_trackFormatChanges'])return[];const _0x5bb4c8=this[_0x1011('0x109')][_0x1011('0x2f')]['get'](_0x1011('0x16'))['me']['id'],_0x4898a2=Array[_0x1011('0x140')](this[_0x1011('0x19')][_0x1011('0x68')]())[_0x1011('0x128')](_0x129a68=>'attribute'==_0x129a68['type']&&_0x129a68[_0x1011('0xc3')][_0x1011('0x13e')]==_0x3c1fa4&&_0x129a68[_0x1011('0x132')](_0xb89036));if(_0x1011('0x133')===this[_0x1011('0x148')]){const _0x1b3b37=this['_findSuggestions'](_0xb89036,_0x1011('0x48'))[_0x1011('0x128')](({meta:_0x1ca4fe})=>_0x1ca4fe[_0x1011('0x78')]&&!_0x1ca4fe['isInsideObject']&&!_0x1ca4fe['isNextTo'])[_0x1011('0x54')](({suggestion:_0x3abcc4})=>_0x3abcc4);_0x4898a2['unshift'](..._0x1b3b37);}const _0x370332=new Map([[_0xb89036,_0x24ba9d]]);for(const _0x3a3125 of _0x4898a2){const _0x59785c='attribute'==_0x3a3125['type']?_0x3a3125[_0x1011('0xc3')][_0x1011('0x23')]:void 0x0,_0x52cc19=_0x3a3125[_0x1011('0xd5')](),_0x3ec0a3=Array['from'](_0x370332[_0x1011('0x15')]())[_0x1011('0xcc')](_0xb17c8c=>_0xb17c8c[_0x1011('0xa')](_0x52cc19));if(!_0x3ec0a3)continue;const _0x22770d=_0x3ec0a3[_0x1011('0x127')](_0x52cc19);this[_0x1011('0x122')](_0x3c1fa4)&&_0x1011('0x48')==_0x3a3125['type']&&0x0!=_0x22770d[_0x1011('0x1f')]||(_0x370332[_0x1011('0x3')](_0x3ec0a3),_0x22770d['forEach'](_0x11929a=>{_0x370332[_0x1011('0x1a')](_0x11929a,_0x24ba9d);}),_0x1011('0x48')!=_0x3a3125[_0x1011('0x18')]&&_0x59785c!=_0x401716&&_0x370332[_0x1011('0x1a')](_0x3ec0a3['getIntersection'](_0x52cc19),_0x59785c));}const _0x537dfc=[];for(const [_0x437c2a,_0x25e2ff]of _0x370332){const _0x34960d=_0x4e1986(),_0x2c0556={'key':_0x3c1fa4,'oldValue':_0x25e2ff,'newValue':_0x401716};_0x3c1fa4[_0x1011('0x1f')]>0x25&&console[_0x1011('0x57')](_0x1011('0xd6'),{'key':_0x3c1fa4});const _0x2924ed=(_0x1011('0x49')+(_0x3c1fa4+'|'+Rt({'newValue':_0x401716})))[_0x1011('0x85')](0x0,0x3c),_0x1354b8=this[_0x1011('0x97')]({'id':_0x34960d,'type':_0x2924ed,'data':_0x2c0556,'createdAt':new Date(),'authorId':_0x5bb4c8,'attributes':_0x4cc516});_0x537dfc[_0x1011('0x10d')](_0x1354b8),this[_0x1011('0x10a')](_0x2924ed,_0x34960d,_0x5bb4c8,_0x437c2a);}return _0x537dfc;}[_0x1011('0x16a')](_0x11028c){this[_0x1011('0x65')][_0x1011('0x5')](_0x11028c);}[_0x1011('0x51')](_0x524ff2){this[_0x1011('0x99')][_0x1011('0x5')](_0x524ff2);}['_enableDefaultAttributesIntegration'](_0x239226,_0x5db68e=[],_0x5df906=[]){this[_0x1011('0x11b')](_0x239226,(_0x3d12c7,..._0x4f95d1)=>{this[_0x1011('0xc0')](()=>{_0x3d12c7(..._0x4f95d1);});});for(const _0x50f034 of _0x5db68e)this[_0x1011('0x51')](_0x50f034);for(const _0x9cf89a of _0x5df906)this[_0x1011('0x16a')](_0x9cf89a);}[_0x1011('0x2c')](_0x145fc1,_0x43ed5a){const _0x44ddc2=_0x145fc1[_0x1011('0x161')]();this[_0x1011('0xf2')][_0x1011('0x115')](_0x5b8111=>{_0x5b8111[_0x1011('0x136')](_0x44ddc2,{'range':_0x43ed5a});});}[_0x1011('0x15f')](_0xab649f){const _0x54ed3b=_0xab649f['id'],_0x24cacb=this['editor'][_0x1011('0xc2')][_0x1011('0x82')]('collaboration.channelId');this['_commentsRepository'][_0x1011('0xd9')](_0x54ed3b)||this['_commentsRepository'][_0x1011('0xfc')]({'channelId':_0x24cacb,'threadId':_0x54ed3b,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x2d073d=this[_0x1011('0x14')][_0x1011('0x10b')](_0x54ed3b);_0x2d073d[_0x1011('0x76')](_0x1011('0x6a')),_0x2d073d['isRemovable']=!0x1,_0xab649f['commentThread']=_0x2d073d;}[_0x1011('0xc6')](_0x2eb90e,_0x191ad4,_0x510843,_0x4c9861){if(_0x2eb90e[_0x1011('0x18')]!=_0x191ad4||_0x2eb90e['subType']!=_0x510843||_0x2eb90e[_0x1011('0xb5')]['id']!=_0x4c9861)throw this['editor'][_0x1011('0x46')]('track-changes-suggestion-data-mismatch'),new _0x650ea6(_0x1011('0xf4'),this);}[_0x1011('0x40')](_0x258864,_0x150f25){const _0x3aae70=_0x258864[_0x1011('0xd5')]();if(_0x150f25[_0x1011('0x56')](_0x3aae70))_0x258864[_0x1011('0x7')]();else{if(_0x3aae70[_0x1011('0xe')](_0x150f25)){const _0x59427c=this[_0x1011('0xf2')]['createPositionAt'](_0x150f25[_0x1011('0x143')][_0x1011('0xe5')],_0x1011('0x9c'));this[_0x1011('0x2c')](_0x258864,this[_0x1011('0xf2')]['createRange'](_0x3aae70[_0x1011('0x143')],_0x59427c));const _0x5dd960=_0x4e1986(),_0x3b8ecb=_0x258864[_0x1011('0xb5')]['id'],_0x48fed6=_0x258864[_0x1011('0x18')]+':'+_0x258864[_0x1011('0x44')];this[_0x1011('0x97')]({'id':_0x5dd960,'type':_0x48fed6,'createdAt':new Date(),'authorId':_0x3b8ecb,'data':_0x258864['data'],'attributes':_0x258864[_0x1011('0xcd')]});const _0x1710de=this['_model'][_0x1011('0x129')](_0x150f25['end'][_0x1011('0x12b')],_0x1011('0x87')),_0x125542=this[_0x1011('0xf2')][_0x1011('0x59')](_0x1710de,_0x3aae70[_0x1011('0x9c')]);this[_0x1011('0x10a')](_0x48fed6,_0x5dd960,_0x3b8ecb,_0x125542);}else{if(_0x3aae70[_0x1011('0x162')](_0x150f25[_0x1011('0x143')])){const _0x9cdf0a=this[_0x1011('0xf2')][_0x1011('0x129')](_0x150f25['start'][_0x1011('0xe5')],'end');this['_setSuggestionRange'](_0x258864,this['_model'][_0x1011('0x59')](_0x3aae70[_0x1011('0x143')],_0x9cdf0a));}else{const _0x4ebd28=this['_model']['createPositionAt'](_0x150f25[_0x1011('0x9c')][_0x1011('0x12b')],_0x1011('0x87'));this['_setSuggestionRange'](_0x258864,this[_0x1011('0xf2')][_0x1011('0x59')](_0x4ebd28,_0x3aae70[_0x1011('0x9c')]));}}}}[_0x1011('0x160')](_0x16eb02){for(const {suggestion:_0x484b8d,meta:_0x11acf0}of this[_0x1011('0x53')](_0x16eb02,_0x1011('0x48'))){if(!_0x11acf0[_0x1011('0x78')])continue;const _0x5e36b9=_0x484b8d[_0x1011('0x7d')]();for(const _0x523d79 of _0x5e36b9)if(!_0x16eb02[_0x1011('0x127')](_0x523d79)[_0x1011('0x1f')])return!0x0;}return!0x1;}[_0x1011('0xde')](_0x1b359f){const _0x451b54=this[_0x1011('0x109')][_0x1011('0x2f')]['get'](_0x1011('0x16'))[_0x1011('0x146')](_0x1b359f);if(!_0x451b54)throw new _0x650ea6('track-changes-user-not-found',this);return _0x451b54;}['_getExternalAuthor'](_0x3c8fcd){const _0xc30eed=this[_0x1011('0x109')][_0x1011('0x2f')][_0x1011('0x82')](_0x1011('0x16')),_0x318019=_0x4f48ec(_0x1011('0x3e')+_0x3c8fcd),_0x4f9f35=_0xc30eed[_0x1011('0x146')](_0x318019);return _0x4f9f35||_0xc30eed['addUser']({'id':_0x318019,'name':_0x3c8fcd});}[_0x1011('0x43')](_0x119fe0,_0x41d282,_0x2fae03,_0x598be9,_0x1fb8aa){const _0x446205=this[_0x1011('0xde')](_0x598be9),_0x258650=this[_0x1011('0xf')]['buildSuggestion'](_0x119fe0,_0x41d282,_0x2fae03,_0x446205,_0x1fb8aa,_0x31d412=>this[_0x1011('0x90')](_0x2fae03,{'attributes':_0x31d412}));return this['listenTo'](_0x258650,_0x1011('0x67'),()=>{this[_0x1011('0x90')](_0x2fae03,{'state':'accepted'});},{'priority':'high'}),this[_0x1011('0xb8')](_0x258650,_0x1011('0xa9'),()=>{this[_0x1011('0x90')](_0x2fae03,{'state':_0x1011('0xdc')});},{'priority':_0x1011('0x163')}),this['_suggestions'][_0x1011('0x1a')](_0x2fae03,_0x258650),this[_0x1011('0x153')][_0x1011('0x1a')](_0x258650,_0x1011('0xbf')),_0x258650;}['_splitMarkerName'](_0x3708d4){const _0x292ecd=_0x3708d4[_0x1011('0x154')](':');return{'group':_0x292ecd[0x0],'type':_0x292ecd[0x1],'subType':_0x292ecd[_0x1011('0x1f')]>=0x5?_0x292ecd[0x2]:null,'id':_0x292ecd[_0x1011('0x1f')]<0x5?_0x292ecd[0x2]:_0x292ecd[0x3],'authorId':_0x292ecd['length']<0x5?_0x292ecd[0x3]:_0x292ecd[0x4],'markerCount':0x6==_0x292ecd['length']?_0x292ecd[0x5]:null};}[_0x1011('0xa4')](_0x2f6ca6,_0xb4ab89,_0x46e252){const _0x4c739e=_0x2f6ca6[_0x1011('0xd5')](),_0x1101f2=_0x4c739e[_0x1011('0x143')],_0x4afc2a=_0x4c739e[_0x1011('0x9c')];this[_0x1011('0x2c')](_0x2f6ca6,this['_model'][_0x1011('0x59')](_0x1101f2,_0xb4ab89));const _0x37b69c=_0x4e1986(),_0x5aa07a=_0x2f6ca6[_0x1011('0xb5')]['id'],_0x1efe93=_0x2f6ca6['type']+(_0x2f6ca6[_0x1011('0x44')]?':'+_0x2f6ca6[_0x1011('0x44')]:'');this[_0x1011('0x97')]({'id':_0x37b69c,'type':_0x1efe93,'createdAt':new Date(),'authorId':_0x5aa07a,'originalSuggestionId':_0x2f6ca6['id'],'attributes':_0x2f6ca6['attributes'],'data':_0x2f6ca6['data']});const _0x18b9f6=Pt(_0x2f6ca6);(_0x1011('0x141')==_0x2f6ca6[_0x1011('0x18')]||_0x18b9f6&&this[_0x1011('0x122')](_0x18b9f6))&&(_0x46e252=this[_0x1011('0xf2')][_0x1011('0x101')](_0x46e252['parent'])),this[_0x1011('0x10a')](_0x1efe93,_0x37b69c,_0x5aa07a,this[_0x1011('0xf2')]['createRange'](_0x46e252,_0x4afc2a));}[_0x1011('0x53')](_0x4076de,_0x481182=null){const _0x301643=[],_0x57f341=this[_0x1011('0x109')][_0x1011('0x2f')][_0x1011('0x82')](_0x1011('0x16'))['me'];Array[_0x1011('0xa2')](_0x4076de)||(_0x4076de=[_0x4076de]);for(const _0x2353dd of this[_0x1011('0x110')]()){if(!_0x2353dd['isInContent'])continue;if(_0x481182&&_0x2353dd['type']!=_0x481182)continue;let _0x14edee=!0x1;for(const _0x2e74b8 of _0x2353dd['getRanges']()){for(const _0x4fb802 of _0x4076de){const _0x411c96=_0x4fb802['start'][_0x1011('0x56')](_0x2e74b8[_0x1011('0x9c')])||_0x4fb802[_0x1011('0x9c')][_0x1011('0x56')](_0x2e74b8[_0x1011('0x143')]);if(_0x411c96||_0x4fb802['getIntersection'](_0x2e74b8)){const _0x4c23fa=_0x4fb802[_0x1011('0xe')](_0x2e74b8)&&Tt(this[_0x1011('0xf2')][_0x1011('0x7e')],_0x2e74b8['start'],_0x4fb802),_0x3cfc9b=_0x2e74b8['containsRange'](_0x4fb802)&&Tt(this[_0x1011('0xf2')][_0x1011('0x7e')],_0x4fb802[_0x1011('0x143')],_0x2e74b8);_0x301643[_0x1011('0x10d')]({'suggestion':_0x2353dd,'meta':{'isOwn':_0x57f341==_0x2353dd[_0x1011('0xf8')],'isNextTo':_0x411c96,'isInsideObject':_0x4c23fa,'containsRangeInObject':_0x3cfc9b}}),_0x14edee=!0x0;break;}}if(_0x14edee)break;}}return _0x301643;}[_0x1011('0x10a')](_0x3090d8,_0x99139c,_0x16efc9,_0x3a1ebe,_0x3c316d){this['_model']['change'](_0xeb979f=>{let _0x432479=_0x1011('0x83')+_0x3090d8+':'+_0x99139c+':'+_0x16efc9;_0x3c316d&&(_0x432479=_0x432479+':'+_0x3c316d),_0xeb979f['addMarker'](_0x432479,{'range':_0x3a1ebe,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1011('0x6f')](_0x1c6afe){const _0x44de82=_0x1c6afe[_0x1011('0x6')],_0x2b845d=_0x1c6afe['next'];_0x1c6afe['previous']=null,_0x1c6afe[_0x1011('0x1e')]=null,null!=_0x44de82&&(_0x44de82[_0x1011('0x1e')]=_0x2b845d),null!=_0x2b845d&&(_0x2b845d[_0x1011('0x6')]=_0x44de82),'ready'==this[_0x1011('0x153')][_0x1011('0x82')](_0x1c6afe)&&(this[_0x1011('0x153')][_0x1011('0x1a')](_0x1c6afe,_0x1011('0x5b')),this['fire'](_0x1011('0x3c'),_0x1c6afe,_0x44de82,_0x2b845d));}[_0x1011('0x97')](_0x28ddcc){const _0x3d3d73=_0x28ddcc['id'],_0x153e09=this[_0x1011('0xeb')](_0x28ddcc);if(this['_adapter']&&this[_0x1011('0x4e')][_0x1011('0xdd')]){const _0x56dbe8=this[_0x1011('0x109')][_0x1011('0x2f')][_0x1011('0x82')]('PendingActions'),_0x4cf20d=_0x153e09[_0x1011('0x137')],_0x22c2c1=_0x153e09[_0x1011('0x44')]?_0x153e09[_0x1011('0x18')]+':'+_0x153e09[_0x1011('0x44')]:_0x153e09[_0x1011('0x18')],_0x26624e=this[_0x1011('0x109')]['locale'],_0x15f6f4=_0x56dbe8['add'](_0x42925d(_0x26624e,_0x1011('0x4c'))),_0x1df0a0={'id':_0x3d3d73,'type':_0x22c2c1,'hasComments':_0x4cf20d,'data':_0x28ddcc[_0x1011('0xc3')]||null,'originalSuggestionId':_0x28ddcc['originalSuggestionId']||null,'attributes':_0x153e09[_0x1011('0xcd')]};this[_0x1011('0x4e')][_0x1011('0xdd')](_0x1df0a0)[_0x1011('0x13a')](_0x52ce97=>{_0x153e09[_0x1011('0x151')]=!0x0,_0x56dbe8[_0x1011('0x11f')](_0x15f6f4),_0x52ce97&&_0x52ce97[_0x1011('0x167')]&&(this[_0x1011('0x19')][_0x1011('0x82')](_0x3d3d73)[_0x1011('0x167')]=_0x52ce97[_0x1011('0x167')]);})[_0x1011('0x81')](_0x5baa1e=>{throw _0x291894(_0x1011('0x166')),this[_0x1011('0x109')][_0x1011('0x63')][_0x1011('0x35')]({'isUndoable':!0x1},()=>{_0x153e09['discard']();}),_0x153e09[_0x1011('0xba')](),this[_0x1011('0x19')]['delete'](_0x153e09['id']),this[_0x1011('0x153')][_0x1011('0x3')](_0x153e09),_0x5baa1e;});}return _0x153e09;}[_0x1011('0x122')](_0x1f346d){return this[_0x1011('0x65')][_0x1011('0x58')](_0x1f346d);}['_updateSuggestionData'](_0x52debe,_0x523cbf){const _0x582e04=this[_0x1011('0x109')][_0x1011('0x2f')][_0x1011('0x82')](_0x1011('0x2e')),_0x2c631e=this[_0x1011('0x14b')](_0x52debe);if(this['_adapter']&&this[_0x1011('0x4e')][_0x1011('0x5e')]){if(_0x2c631e[_0x1011('0x151')]){const _0x43b08e=_0x582e04[_0x1011('0x5')](_0x42925d(this['editor'][_0x1011('0x32')],_0x1011('0x4c')));this[_0x1011('0x4e')]['updateSuggestion'](_0x52debe,_0x523cbf)[_0x1011('0x13a')](()=>{_0x582e04[_0x1011('0x11f')](_0x43b08e);});}else _0x2c631e['on']('change:_saved',()=>{this[_0x1011('0x90')](_0x52debe,_0x523cbf);});}}['_getSuggestionData'](_0x5e1add){if(!this[_0x1011('0x4e')]||!this[_0x1011('0x4e')][_0x1011('0x14b')])throw new _0x650ea6(_0x1011('0xe1'),this);return this[_0x1011('0x4e')][_0x1011('0x14b')](_0x5e1add);}[_0x1011('0x8')](_0x408bb9){const {id:_0xdd6302,type:_0x5e6c1e,subType:_0x33bbdb,authorId:_0x40b1d1}=this[_0x1011('0xaf')](_0x408bb9),_0x33edd8=this[_0x1011('0x19')][_0x1011('0x82')](_0xdd6302)||this[_0x1011('0x43')](_0x5e6c1e,_0x33bbdb,_0xdd6302,_0x40b1d1,{});switch(this[_0x1011('0xc6')](_0x33edd8,_0x5e6c1e,_0x33bbdb,_0x40b1d1),this[_0x1011('0x153')][_0x1011('0x82')](_0x33edd8)){case _0x1011('0xbf'):this['_getSuggestionData'](_0xdd6302)['then'](_0x311170=>{let _0x7130e4=Promise['resolve']();_0x311170['hasComments']&&(_0x7130e4=this[_0x1011('0x14')]['fetchCommentThread']({'channelId':this[_0x1011('0x109')][_0x1011('0xc2')][_0x1011('0x82')](_0x1011('0xd7')),'threadId':_0xdd6302})),_0x7130e4[_0x1011('0x13a')](()=>{this[_0x1011('0xeb')](_0x311170)[_0x1011('0x151')]=!0x0;});}),this[_0x1011('0x153')][_0x1011('0x1a')](_0x33edd8,_0x1011('0x11c'));break;case _0x1011('0x5b'):this['_updateSuggestionData'](_0xdd6302,{'state':_0x1011('0x149')});case _0x1011('0x4d'):this[_0x1011('0x153')][_0x1011('0x1a')](_0x33edd8,'ready'),this[_0x1011('0x24')](_0x1011('0x16e'),_0x33edd8);break;case _0x1011('0xc8'):this[_0x1011('0x24')]('suggestionChanged',_0x33edd8);}return _0x33edd8[_0x1011('0x61')](_0x408bb9),_0x33edd8;}[_0x1011('0x12e')](_0x4edd78){const _0x816384=Array['from'](_0x4edd78),_0x40435b=_0x816384[_0x1011('0x128')](_0x875115=>_0x1011('0x124')==_0x875115['type']);this['_refreshAttributeSuggestionsChain'](_0x40435b);const _0x10a300=_0x816384[_0x1011('0x128')](_0x5f4f6a=>!_0x5f4f6a['isMultiRange']&&_0x1011('0x124')!=_0x5f4f6a[_0x1011('0x18')]),_0x152393=this[_0x1011('0x110')]({'skipNotAttached':!0x0})[_0x1011('0x128')](_0x26ad2f=>!_0x26ad2f[_0x1011('0xbd')]&&_0x1011('0x124')!=_0x26ad2f[_0x1011('0x18')]),_0x4c662b=_0x152393[_0x1011('0x128')](_0x19bfd8=>!_0x4edd78[_0x1011('0x58')](_0x19bfd8)),_0x4acb15=new Map(_0x152393[_0x1011('0x54')](_0x41e723=>[_0x41e723,this['_suggestionFactory'][_0x1011('0xa3')](_0x41e723[_0x1011('0x18')],_0x41e723[_0x1011('0x44')],'chain')])),_0x37f1f3=new Map(_0x152393[_0x1011('0x54')](_0x4686c4=>[_0x4686c4,_0x4686c4['getFirstRange']()])),_0x203288=new Set(),_0x385e58=new Set();for(let _0x16dba9=0x0;_0x16dba9<_0x10a300[_0x1011('0x1f')];_0x16dba9++)_0x504ac6(_0x10a300[_0x16dba9],_0x10a300,_0x16dba9+0x1);for(let _0x43c429=0x0;_0x43c429<_0x10a300['length'];_0x43c429++)_0x504ac6(_0x10a300[_0x43c429],_0x4c662b,0x0);const _0x4166cb=new Set();for(let _0x566778=0x0;_0x566778<_0x10a300[_0x1011('0x1f')];_0x566778++){const _0x2e82c8=_0x10a300[_0x566778];!_0x385e58[_0x1011('0x58')](_0x2e82c8)&&_0x2e82c8['previous']&&(_0x4166cb[_0x1011('0x5')](_0x2e82c8[_0x1011('0x6')]),_0x2e82c8[_0x1011('0x6')][_0x1011('0x1e')]===_0x2e82c8&&(_0x2e82c8['previous'][_0x1011('0x1e')]=null),_0x2e82c8['previous']=null),!_0x203288['has'](_0x2e82c8)&&_0x2e82c8[_0x1011('0x1e')]&&(_0x4166cb[_0x1011('0x5')](_0x2e82c8[_0x1011('0x1e')]),_0x2e82c8[_0x1011('0x1e')]['previous']===_0x2e82c8&&(_0x2e82c8['next'][_0x1011('0x6')]=null),_0x2e82c8['next']=null);}function _0x504ac6(_0x39c9e9,_0x26725c,_0x77dc63){for(let _0x569dc0=_0x77dc63;_0x569dc0<_0x26725c[_0x1011('0x1f')];_0x569dc0++){const _0x3d2620=_0x2207e8(_0x39c9e9,_0x26725c[_0x569dc0]);_0x3d2620&&(_0x3d2620[0x0][_0x1011('0x1e')]=_0x3d2620[0x1],_0x3d2620[0x1]['previous']=_0x3d2620[0x0],_0x203288['add'](_0x3d2620[0x0]),_0x385e58['add'](_0x3d2620[0x1]));}}function _0x2207e8(_0x59ee02,_0x58fe34){if(_0x59ee02[_0x1011('0xf8')]['id']!==_0x58fe34['author']['id'])return null;const _0x3ed92d=_0x4acb15[_0x1011('0x82')](_0x59ee02)(_0x59ee02,_0x58fe34,_0x37f1f3[_0x1011('0x82')](_0x59ee02),_0x37f1f3[_0x1011('0x82')](_0x58fe34));if(!_0x3ed92d)return null;return _0x4acb15[_0x1011('0x82')](_0x58fe34)(_0x59ee02,_0x58fe34,_0x37f1f3[_0x1011('0x82')](_0x59ee02),_0x37f1f3[_0x1011('0x82')](_0x58fe34))?_0x3ed92d[0x1][_0x1011('0xf7')]&&_0x3ed92d[0x1][_0x1011('0xf7')]['length']?null:_0x3ed92d:null;}_0x4166cb['size']&&this[_0x1011('0x12e')](_0x4166cb);}[_0x1011('0xca')](_0x3c9371){if(0x0==_0x3c9371[_0x1011('0x1f')])return;const _0x3a166d=this['getSuggestions']({'skipNotAttached':!0x0})[_0x1011('0x128')](_0x362523=>_0x1011('0x124')==_0x362523[_0x1011('0x18')]&&_0x362523[_0x1011('0x170')]),_0x4f517e=[],_0x463211=new Map();for(const _0x119294 of _0x3a166d){const _0x498cf8=_0x4f48ec(_0x119294[_0x1011('0xcd')]);_0x463211['has'](_0x498cf8)||(_0x463211[_0x1011('0x1a')](_0x498cf8,_0x4f517e[_0x1011('0x1f')]),_0x4f517e[_0x1011('0x10d')]([]));const _0x449d8c=_0x463211[_0x1011('0x82')](_0x498cf8);_0x4f517e[_0x449d8c][_0x1011('0x10d')](_0x119294);}!function(){_0x4f517e['sort']((_0x466d66,_0x400290)=>{const _0x2841dc=_0x466d66[0x0][_0x1011('0x167')],_0x1be673=_0x400290[0x0]['createdAt'];return _0x2841dc==_0x1be673?_0x466d66[0x0]['attributes'][_0x1011('0xad')]<_0x400290[0x0][_0x1011('0xcd')][_0x1011('0xad')]?-0x1:0x1:_0x2841dc<_0x1be673?-0x1:0x1;});for(const _0x390c8b of _0x4f517e)_0x390c8b[_0x1011('0x66')]((_0x19fdd3,_0x51f484)=>_0x19fdd3['id']<_0x51f484['id']?-0x1:0x1);}();for(let _0xb43b98=0x0;_0xb43b98<_0x4f517e[_0x1011('0x1f')];_0xb43b98++){if(0x0==_0x4f517e[_0xb43b98][_0x1011('0x1f')])continue;const _0x1721fb=[];for(let _0x352026=_0xb43b98+0x1;_0x352026<_0x4f517e['length'];_0x352026++)0x0!=_0x4f517e[_0x352026]['length']&&_0x2d758d(_0x4f517e[_0xb43b98],_0x4f517e[_0x352026])&&_0x1721fb[_0x1011('0x10d')](_0x352026);for(const _0x113801 of _0x1721fb)_0x4f517e[_0xb43b98]=_0x4f517e[_0xb43b98][_0x1011('0x15e')](_0x4f517e[_0x113801]),_0x4f517e[_0x113801]=[];}for(const _0x51f48f of _0x4f517e)for(let _0x46fbd3=0x0;_0x46fbd3<_0x51f48f['length'];_0x46fbd3++)_0x51f48f[_0x46fbd3][_0x1011('0x1e')]=_0x51f48f[_0x46fbd3+0x1]||null;for(const _0x3d5b95 of _0x4f517e)for(let _0x46421c=0x0;_0x46421c<_0x3d5b95[_0x1011('0x1f')];_0x46421c++)_0x3d5b95[_0x46421c][_0x1011('0x6')]=_0x3d5b95[_0x46421c-0x1]||null;function _0x2d758d(_0x46f8dd,_0x249078){if(_0x46f8dd[0x0]['author']!==_0x249078[0x0]['author'])return!0x1;if(!function(_0x2989f0,_0x58b8e5){if(!_0x2989f0['hasComments']&&!_0x58b8e5[_0x1011('0x137')])return!0x0;if(_0x2989f0[_0x1011('0x137')]&&_0x58b8e5[_0x1011('0x137')])return!0x1;if(_0x2989f0[_0x1011('0x137')]&&_0x58b8e5[_0x1011('0x167')]<_0x2989f0['commentThread'][_0x1011('0xac')][_0x1011('0x82')](0x0)['createdAt'])return!0x0;if(_0x58b8e5[_0x1011('0x137')]&&_0x2989f0['createdAt']<_0x58b8e5[_0x1011('0xf7')][_0x1011('0xac')][_0x1011('0x82')](0x0)[_0x1011('0x167')])return!0x0;return!0x1;}(_0x46f8dd[0x0],_0x249078[0x0]))return!0x1;const _0x41132e=_0x35d370(_0x46f8dd[0x0]['attributes'],_0x1011('0xad')),_0x2a2fa8=_0x35d370(_0x249078[0x0][_0x1011('0xcd')],'groupId');if(!_0x589cd8(_0x41132e,_0x2a2fa8))return!0x1;return!!_0x46f8dd[_0x1011('0x7a')](_0x52555c=>_0x249078[_0x1011('0xd0')](_0x144a81=>_0x52555c[_0x1011('0xd5')]()[_0x1011('0x56')](_0x144a81[_0x1011('0xd5')]())))&&_0x249078[_0x1011('0x7a')](_0x1e007d=>_0x46f8dd[_0x1011('0xd0')](_0x22ee2b=>_0x1e007d[_0x1011('0xd5')]()['isEqual'](_0x22ee2b['getFirstRange']())));}}[_0x1011('0x8a')](_0xea569){const _0x9370c9=Array[_0x1011('0x140')](_0xea569),_0x43fe75=this[_0x1011('0x110')]({'skipNotAttached':!0x0}),_0x423940=_0x43fe75[_0x1011('0x128')](_0x3e22a6=>!_0xea569[_0x1011('0x58')](_0x3e22a6)),_0x14be0e=new Map(_0x9370c9[_0x1011('0x54')](_0x2aa26c=>[_0x2aa26c,this[_0x1011('0xf')][_0x1011('0xa3')](_0x2aa26c['type'],_0x2aa26c[_0x1011('0x44')],'join')])),_0x276925=new Map(_0x43fe75[_0x1011('0x54')](_0x599120=>[_0x599120,_0x599120[_0x1011('0x7d')]()]));for(let _0x145c84=0x0;_0x145c84<_0x9370c9[_0x1011('0x1f')];_0x145c84++){if(_0x386ae4(this,_0x9370c9[_0x145c84],_0x9370c9,_0x145c84+0x1))return!0x0;}for(let _0x4a1773=0x0;_0x4a1773<_0x9370c9[_0x1011('0x1f')];_0x4a1773++){if(_0x386ae4(this,_0x9370c9[_0x4a1773],_0x423940,0x0))return!0x0;}return!0x1;function _0x386ae4(_0x2889bc,_0x3f7155,_0x354d93,_0x507b5b){for(let _0x434092=_0x507b5b;_0x434092<_0x354d93['length'];_0x434092++){const _0x286d8e=_0x354d93[_0x434092];if(_0x286d8e[_0x1011('0x18')]!==_0x3f7155[_0x1011('0x18')]||_0x286d8e[_0x1011('0xf8')]['id']!==_0x3f7155['author']['id']||_0x286d8e[_0x1011('0x44')]!==_0x3f7155[_0x1011('0x44')])continue;if(!Vt(_0x3f7155,_0x286d8e))continue;if(_0x1011('0x124')==_0x3f7155[_0x1011('0x18')]&&_0x3f7155[_0x1011('0xc3')][_0x1011('0x23')]!=_0x286d8e[_0x1011('0xc3')][_0x1011('0x23')])continue;if('attribute'==_0x3f7155[_0x1011('0x18')]&&_0x2889bc[_0x1011('0x122')](_0x3f7155[_0x1011('0xc3')][_0x1011('0x13e')]))continue;if(_0x1011('0x141')==_0x3f7155['type']){const _0x329d6b=_0x2889bc[_0x1011('0x109')]['model'],_0x550e14=_0x3f7155['getContainedElement']();if(_0x550e14&&(_0x329d6b[_0x1011('0x7e')][_0x1011('0x2b')](_0x550e14)||_0x329d6b['schema']['isLimit'](_0x550e14)))continue;}const _0x3077e4=_0x14be0e[_0x1011('0x82')](_0x3f7155),_0x458cca=_0x276925[_0x1011('0x82')](_0x3f7155),_0x3c805d=_0x276925['get'](_0x286d8e),_0x493d89=_0x3f7155['commentThread']&&_0x3f7155[_0x1011('0xf7')][_0x1011('0x1f')],_0x12f1e0=_0x286d8e[_0x1011('0xf7')]&&_0x286d8e[_0x1011('0xf7')]['length'];if(!_0x493d89&&_0x3077e4(_0x3c805d,_0x458cca))return _0x2889bc['_joinSuggestions'](_0x286d8e,_0x3f7155),_0x276925[_0x1011('0x3')](_0x3f7155),!0x0;if(!_0x12f1e0&&_0x3077e4(_0x458cca,_0x3c805d))return _0x2889bc[_0x1011('0x12d')](_0x3f7155,_0x286d8e),_0x276925[_0x1011('0x3')](_0x286d8e),!0x0;}return!0x1;}}[_0x1011('0x12d')](_0x109bf6,_0x1cd546){if(_0x109bf6['isMultiRange'])for(const _0x218f56 of _0x1cd546[_0x1011('0x7d')]())_0x109bf6[_0x1011('0x45')](_0x218f56);else{const _0x3c46e5=_0x1cd546[_0x1011('0xd5')]()[_0x1011('0x9c')];this[_0x1011('0x2c')](_0x109bf6,this[_0x1011('0xf2')]['createRange'](_0x109bf6[_0x1011('0xd5')]()[_0x1011('0x143')],_0x3c46e5));}_0x1cd546[_0x1011('0x7')]();}[_0x1011('0xb0')](_0x33ffec,_0x253e0e){const _0x230851=_0x33ffec['startsWith']('format')||_0x33ffec['startsWith'](_0x1011('0x124'))?'FORMATTING':_0x33ffec['toUpperCase']();return _0x42925d(this[_0x1011('0x109')][_0x1011('0x32')],_0x253e0e+'_'+_0x230851+_0x1011('0x139'));}['_initAriaMarkerChangeAnnouncements'](){const _0x36ccf2=this[_0x1011('0x109')];_0x1cbf81(this['_model'],({left:_0x4ac4d1,entered:_0x2bd5f6})=>{const _0x615c9c=[];for(const _0x32c29a of _0x4ac4d1){const {group:_0x10dd2b,type:_0x1f3345}=this[_0x1011('0xaf')](_0x32c29a[_0x1011('0x9e')]);if(_0x1011('0x6e')===_0x10dd2b){_0x615c9c[_0x1011('0x10d')](this[_0x1011('0xb0')](_0x1f3345,_0x1011('0x14c')));break;}}for(const _0x4355e4 of _0x2bd5f6){const {group:_0x462428,type:_0x2f1f7c}=this[_0x1011('0xaf')](_0x4355e4[_0x1011('0x9e')]);if(_0x1011('0x6e')===_0x462428){_0x615c9c[_0x1011('0x10d')](this[_0x1011('0xb0')](_0x2f1f7c,'ENTER'));break;}}_0x615c9c[_0x1011('0x1f')]&&_0x36ccf2['ui']['ariaLiveAnnouncer'][_0x1011('0xfe')](_0x1011('0xe9'),_0x615c9c[_0x1011('0x103')]('\x20'));});}[_0x1011('0xbc')](_0x3f102d){if(null!==this[_0x1011('0x70')])return!0x1;const _0x44f66b=this[_0x1011('0x109')],_0x2b68db=_0x44f66b[_0x1011('0x63')][_0x1011('0x12a')]['differ'][_0x1011('0x158')]();if(0x0==_0x2b68db[_0x1011('0x1f')])return!0x1;const _0x14dd5d=[],_0x9dc26=_0x2b68db[_0x1011('0x128')](_0x5ad45c=>_0x1011('0x124')==_0x5ad45c['type']),_0x1626e1=_0x2b68db[_0x1011('0x128')](_0xba98d5=>_0x1011('0x36')==_0xba98d5[_0x1011('0x18')]&&_0x1011('0x121')!=_0xba98d5['name']),_0x4f40d7=_0x2b68db[_0x1011('0x128')](_0x23e9e0=>'remove'==_0x23e9e0[_0x1011('0x18')]&&_0x1011('0x121')!=_0x23e9e0[_0x1011('0x9e')]);for(const _0xf017bf of _0x9dc26)_0x14dd5d[_0x1011('0x10d')]({'key':_0xf017bf[_0x1011('0xd')],'newValue':_0xf017bf[_0x1011('0x88')],'oldValue':_0xf017bf['attributeOldValue'],'range':_0x1a610c(_0xf017bf[_0x1011('0x52')])});for(const _0x587007 of _0x1626e1){const _0x5f5b63=_0x4f40d7[_0x1011('0xcc')](_0x58ea0b=>_0x58ea0b[_0x1011('0xfa')][_0x1011('0x56')](_0x587007[_0x1011('0xfa')]));_0x5f5b63&&_0x14dd5d['push']({'key':_0x1011('0x172'),'newValue':_0x587007[_0x1011('0x9e')],'oldValue':_0x5f5b63[_0x1011('0x9e')],'range':_0x44f66b[_0x1011('0x63')][_0x1011('0x13')](_0x587007[_0x1011('0xfa')][_0x1011('0xf3')])});}return 0x0!=_0x14dd5d['length']&&this[_0x1011('0x4')](_0x3f102d,_0x14dd5d);function _0x1a610c(_0x81aac4){return null==_0x81aac4[_0x1011('0x9c')]['nodeBefore']&&_0x81aac4['end'][_0x1011('0x12b')]==_0x81aac4[_0x1011('0x143')][_0x1011('0xf3')]?Ut(_0x81aac4['start'][_0x1011('0xf3')],_0x44f66b[_0x1011('0x63')]):_0x81aac4;}}['_processAttributeSuggestions'](_0x54cd3c){let _0x3a4298=!0x1;const _0x49e265=this[_0x1011('0x109')][_0x1011('0x63')][_0x1011('0x12a')][_0x1011('0x9f')]['getChangedMarkers']()[_0x1011('0x128')](_0x45415e=>_0x45415e[_0x1011('0xc3')][_0x1011('0xbe')]&&_0x45415e['name'][_0x1011('0x111')]('suggestion:attribute:'));for(const _0x4d88db of _0x49e265){const {subType:_0x40a4a1,id:_0xfac206}=this[_0x1011('0xaf')](_0x4d88db[_0x1011('0x9e')]),_0x2e1af5=_0x40a4a1['split']('|')[0x0];for(const _0x467551 of this[_0x1011('0x110')]({'skipNotAttached':!0x0}))_0x467551['id']!=_0xfac206&&_0x1011('0x124')==_0x467551[_0x1011('0x18')]&&_0x467551['data']&&_0x467551['data'][_0x1011('0x13e')]==_0x2e1af5&&_0x467551['getFirstRange']()[_0x1011('0xa')](_0x4d88db['data'][_0x1011('0xbe')])&&(this[_0x1011('0x38')](_0x467551,_0x4d88db[_0x1011('0xc3')]['newRange'],_0x54cd3c),_0x3a4298=!0x0);}return _0x3a4298;}['_recordAttributeChanges'](_0xf4196e){if(null!==this[_0x1011('0x70')])return void _0xf4196e();const _0x10f3e9=this[_0x1011('0x109')];this[_0x1011('0x70')]=_0x10f3e9[_0x1011('0x63')][_0x1011('0x12a')][_0x1011('0x126')],_0xf4196e();const _0x1844bc=new Map();for(const _0x261622 of _0x10f3e9['model'][_0x1011('0x12a')][_0x1011('0xfd')][_0x1011('0x7f')](this['_recordAttributeSuggestionsFromVersion']))if([_0x1011('0xe4'),_0x1011('0xda'),_0x1011('0xe3'),_0x1011('0xf9')][_0x1011('0xb1')](_0x261622[_0x1011('0x18')])){const _0x2e25ad=_0x261622[_0x1011('0x4f')],_0x559334=_0x1844bc[_0x1011('0x82')](_0x2e25ad)||[];_0x559334[_0x1011('0x10d')](_0x261622),_0x1844bc[_0x1011('0x1a')](_0x2e25ad,_0x559334);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x4b2184,_0xc424b8]of _0x1844bc){const _0x40da2c=_0x4e1986();_0x10f3e9[_0x1011('0x63')][_0x1011('0x35')](_0x4b2184,_0x21ff61=>{const _0x1ab4a0=[];for(const _0x1f8741 of _0xc424b8){let _0x802d9d,_0x23210f,_0x22f1b6,_0x292abb;if('rename'==_0x1f8741[_0x1011('0x18')]){const _0xfc1075=_0x1f8741;_0x802d9d=Ut(_0xfc1075[_0x1011('0xfa')][_0x1011('0xf3')],_0x10f3e9['model']),_0x23210f=_0x1011('0x172'),_0x22f1b6=_0xfc1075[_0x1011('0x17')],_0x292abb=_0xfc1075[_0x1011('0x2d')];}else{const _0x2c1861=_0x1f8741,_0x5e052d=this[_0x1011('0x122')](_0x2c1861['key']),_0x50d62c=this[_0x1011('0x99')][_0x1011('0x58')](_0x2c1861[_0x1011('0x13e')]);if(!_0x5e052d&&!_0x50d62c)continue;_0x802d9d=_0x5e052d?Ut(_0x2c1861[_0x1011('0x52')][_0x1011('0x143')][_0x1011('0xf3')],_0x10f3e9[_0x1011('0x63')]):_0x2c1861[_0x1011('0x52')],_0x23210f=_0x2c1861[_0x1011('0x13e')],_0x22f1b6=_0x1011('0xe3')==_0x1f8741[_0x1011('0x18')]?void 0x0:_0x2c1861[_0x1011('0x108')],_0x292abb=_0x2c1861[_0x1011('0x23')];}this[_0x1011('0x37')](_0x802d9d,_0x23210f,_0x292abb,_0x22f1b6,{'groupId':_0x40da2c}),_0x1ab4a0['push']({'range':_0x802d9d,'key':_0x23210f,'newValue':_0x22f1b6,'oldValue':_0x292abb});}this[_0x1011('0x4')](_0x21ff61,_0x1ab4a0);});}}[_0x1011('0x4')](_0x22898e,_0x5529a0){if(0x0==_0x5529a0[_0x1011('0x1f')])return!0x1;let _0x17fd7b=!0x1;for(const _0x5b23a6 of _0x5529a0){const _0x2bed3a=this[_0x1011('0x53')](_0x5b23a6[_0x1011('0x52')],_0x1011('0x124'))[_0x1011('0x128')](_0x221011=>!_0x221011['meta'][_0x1011('0x47')])[_0x1011('0x54')](_0x6a2134=>_0x6a2134[_0x1011('0x6e')]),_0x5cf54a=_0x4f48ec({'newValue':_0x5b23a6[_0x1011('0x108')]});_0x2bed3a[_0x1011('0x128')](_0x11ae74=>{const [_0x150add,_0xbb5ad]=_0x11ae74[_0x1011('0x44')]['split']('|');return _0x150add==_0x5b23a6['key']&&_0xbb5ad!=_0x5cf54a;})[_0x1011('0xbb')](_0x38fd63=>{this[_0x1011('0x38')](_0x38fd63,_0x5b23a6[_0x1011('0x52')],_0x22898e),_0x17fd7b=!0x0;});}return _0x17fd7b;}[_0x1011('0x38')](_0x25c34a,_0x1d226e,_0x285a14){const _0x5e8d59=_0x25c34a[_0x1011('0xd5')]()[_0x1011('0x127')](_0x1d226e);0x0!==_0x5e8d59['length']?0x1!==_0x5e8d59[_0x1011('0x1f')]?this['_breakSuggestionMarker'](_0x25c34a,_0x1d226e[_0x1011('0x143')],_0x1d226e[_0x1011('0x9c')]):this['_setSuggestionRange'](_0x25c34a,_0x5e8d59[0x0]):_0x285a14['removeMarker'](_0x25c34a[_0x1011('0x161')]());}}class Bt{constructor(_0x3f038d){this[_0x1011('0x12f')]=_0x3f038d,this['_model']=_0x3f038d[_0x1011('0x63')],this[_0x1011('0xc7')]=new Map(),this[_0x1011('0xe6')]=new Map(),this[_0x1011('0x11e')]();}['buildSuggestion'](_0x36fb31,_0xc2bac,_0x105ecf,_0x3014f8,_0x4cf8d5,_0x1109e2){return new _0x13ce35(this[_0x1011('0xf2')],{'type':_0x36fb31,'subType':_0xc2bac,'id':_0x105ecf,'author':_0x3014f8,'creator':_0x3014f8,'attributes':_0x4cf8d5,'onAttributesChange':_0x1109e2,'onAccept':(..._0x2de9e2)=>this[_0x1011('0xa3')](_0x36fb31,_0xc2bac,'accept')(..._0x2de9e2),'onDiscard':(..._0x51af60)=>this[_0x1011('0xa3')](_0x36fb31,_0xc2bac,_0x1011('0xa9'))(..._0x51af60)});}['registerCustomCallback'](_0xd2fd6f,_0x505d28,_0x5a6622,_0x5e97bd){const _0xacc0c4=_0xd2fd6f+':'+_0x505d28+':'+_0x5a6622;this[_0x1011('0xc7')][_0x1011('0x1a')](_0xacc0c4,_0x5e97bd);}[_0x1011('0xa3')](_0x3d1126,_0x2cbeab,_0x2feb3a){const _0x4638c2=_0x3d1126+':'+_0x2cbeab+':'+_0x2feb3a;return this[_0x1011('0xc7')]['get'](_0x4638c2)||this[_0x1011('0xe6')][_0x1011('0x82')](_0x3d1126+':'+_0x2feb3a);}[_0x1011('0x11e')](){const _0x251cae=()=>!0x1,_0x4e1d4b=_0x3fec0c=>{_0x3fec0c['sort']((_0x3b454e,_0x1c5323)=>_0x3b454e[_0x1011('0x143')][_0x1011('0x73')](_0x1c5323[_0x1011('0x143')])?0x1:-0x1),this[_0x1011('0xf2')][_0x1011('0x115')](_0xf80788=>{for(const _0x5ab35c of _0x3fec0c){let _0x32469e;_0x32469e=_0x5ab35c[_0x1011('0x9c')][_0x1011('0x131')]&&_0x5ab35c[_0x1011('0x9c')][_0x1011('0x12b')]==_0x5ab35c[_0x1011('0x143')][_0x1011('0xf3')]?_0xf80788[_0x1011('0x113')](_0x5ab35c[_0x1011('0x143')][_0x1011('0xf3')],'on'):_0xf80788[_0x1011('0x113')](_0x5ab35c),this[_0x1011('0xf2')][_0x1011('0x9d')](_0x32469e,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x4e7a55=(_0x1bf26a,_0x5c5950)=>{_0x5c5950&&this[_0x1011('0xf2')]['change'](_0x57772f=>{const {commandName:_0x547a8a,commandParams:_0x2df6b8=[]}=_0x5c5950,_0x6c4944=_0x1bf26a[_0x1011('0x54')](_0x10587f=>(xt(_0x10587f)&&(_0x10587f=this['_model']['createRange'](_0x10587f[_0x1011('0x9c')])),_0x10587f))[_0x1011('0x128')](_0x11e44d=>'$graveyard'!==_0x11e44d['root'][_0x1011('0x7c')]);if(_0x6c4944[_0x1011('0x1f')]<0x1)return;const _0x3effd0=Array[_0x1011('0x140')](this[_0x1011('0xf2')][_0x1011('0x12a')]['selection'][_0x1011('0x7d')]())['map'](_0x35911b=>_0x2d9d0e['fromRange'](_0x35911b));_0x57772f[_0x1011('0xa1')](_0x6c4944);for(const _0xd704a9 of this['_editor'][_0x1011('0x5c')][_0x1011('0x5c')]())_0xd704a9[_0x1011('0x10c')]();_0x2df6b8[_0x1011('0x10d')]({'forceDefaultExecution':!0x0}),this['_editor'][_0x1011('0x14f')](_0x547a8a,..._0x2df6b8);const _0x5f41f3=_0x3effd0[_0x1011('0x128')](_0x46060b=>_0x1011('0x16f')!=_0x46060b[_0x1011('0xaa')][_0x1011('0x7c')]);_0x5f41f3['length']>0x0&&_0x57772f[_0x1011('0xa1')](_0x5f41f3);for(const _0x4c3a88 of _0x3effd0)_0x4c3a88['detach']();});},_0x5cd7e2=(_0x35b922,_0x476bd0)=>0x1==_0x35b922[_0x1011('0x1f')]&&0x1==_0x476bd0[_0x1011('0x1f')]&&_0x35b922[0x0]['end']['isEqual'](_0x476bd0[0x0][_0x1011('0x143')]),_0x12ae0a=(_0x4369d5,_0x25045e,_0x1d56e7,_0x3af6a2)=>Ot(_0x4369d5,_0x25045e,_0x1d56e7,_0x3af6a2,this['_model'])?[_0x4369d5,_0x25045e]:Ot(_0x25045e,_0x4369d5,_0x3af6a2,_0x1d56e7,this['_model'])?[_0x25045e,_0x4369d5]:null;this[_0x1011('0xe6')]['set']('insertion:accept',_0x251cae),this[_0x1011('0xe6')][_0x1011('0x1a')](_0x1011('0x84'),_0x4e1d4b),this['_defaultCallbacks'][_0x1011('0x1a')](_0x1011('0x14a'),_0x5cd7e2),this[_0x1011('0xe6')]['set'](_0x1011('0x6c'),_0x12ae0a),this[_0x1011('0xe6')][_0x1011('0x1a')](_0x1011('0xe8'),_0x4e1d4b),this['_defaultCallbacks'][_0x1011('0x1a')](_0x1011('0x93'),_0x251cae),this[_0x1011('0xe6')]['set'](_0x1011('0x119'),_0x5cd7e2),this[_0x1011('0xe6')][_0x1011('0x1a')](_0x1011('0x135'),_0x12ae0a),this['_defaultCallbacks'][_0x1011('0x1a')](_0x1011('0x168'),_0x4e7a55),this[_0x1011('0xe6')]['set']('formatInline:discard',_0x251cae),this['_defaultCallbacks'][_0x1011('0x1a')](_0x1011('0x150'),_0x5cd7e2),this[_0x1011('0xe6')][_0x1011('0x1a')](_0x1011('0xdf'),_0x251cae),this[_0x1011('0xe6')][_0x1011('0x1a')](_0x1011('0xdb'),_0x4e7a55),this['_defaultCallbacks']['set'](_0x1011('0x26'),_0x251cae),this[_0x1011('0xe6')][_0x1011('0x1a')](_0x1011('0xb6'),_0x5cd7e2),this[_0x1011('0xe6')][_0x1011('0x1a')]('formatBlock:chain',_0x251cae),this[_0x1011('0xe6')][_0x1011('0x1a')](_0x1011('0x15b'),_0x251cae),this[_0x1011('0xe6')]['set'](_0x1011('0x16d'),(_0x4cecf5,_0x2085c9)=>{if(!_0x2085c9)return;const _0x4286af=this[_0x1011('0x12f')][_0x1011('0x2f')][_0x1011('0x82')](p);this[_0x1011('0xf2')][_0x1011('0x115')](_0x28ff3a=>{if(_0x1011('0x172')==_0x2085c9[_0x1011('0x13e')])for(const _0x185a81 of _0x4cecf5){const _0x1999f6=_0x185a81[_0x1011('0x143')]['nodeAfter'],_0x47402f=_0x2085c9[_0x1011('0x23')];_0x28ff3a['rename'](_0x1999f6,_0x47402f);}else{if(_0x4286af[_0x1011('0x122')](_0x2085c9[_0x1011('0x13e')]))for(const _0x1c12ab of _0x4cecf5)void 0x0!==_0x2085c9[_0x1011('0x23')]?_0x28ff3a[_0x1011('0xd3')](_0x2085c9['key'],_0x2085c9[_0x1011('0x23')],_0x1c12ab['start'][_0x1011('0xf3')]):_0x28ff3a[_0x1011('0xe3')](_0x2085c9[_0x1011('0x13e')],_0x1c12ab[_0x1011('0x143')][_0x1011('0xf3')]);else for(const _0xd849ed of _0x4cecf5)_0x2085c9[_0x1011('0x23')]?_0x28ff3a['setAttribute'](_0x2085c9['key'],_0x2085c9[_0x1011('0x23')],_0xd849ed):_0x28ff3a[_0x1011('0xe3')](_0x2085c9[_0x1011('0x13e')],_0xd849ed);}});}),this['_defaultCallbacks'][_0x1011('0x1a')](_0x1011('0x69'),_0x5cd7e2);}}function Tt(_0x43479c,_0xdb8935,_0x49cd01){for(const _0x106371 of _0xdb8935[_0x1011('0x12b')][_0x1011('0xf5')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x106371[_0x1011('0xaa')]==_0x106371)return!0x1;if(!_0x49cd01[_0x1011('0xe2')](_0x106371))return!0x1;if(_0x43479c[_0x1011('0x2b')](_0x106371)||_0x43479c[_0x1011('0xa7')](_0x106371))return!0x0;}return!0x1;}function xt(_0x40bff0){return _0x40bff0[_0x1011('0x9c')]['parent']==_0x40bff0['start']['nodeAfter']&&_0x40bff0[_0x1011('0x9c')][_0x1011('0x21')];}function Et(_0x4e36c1,_0x4f9fcc,_0x516f38,_0x38411f){const _0x26a66c=_0x5ee864=>!_0x5ee864[_0x1011('0xb7')]['is'](_0x1011('0x169'))&&!_0x38411f[_0x1011('0x2b')](_0x5ee864[_0x1011('0xb7')]),_0x45765e=_0x4e36c1[_0x1011('0x143')][_0x1011('0x175')](_0x26a66c),_0x4b21d7=_0x4e36c1[_0x1011('0x9c')]['getLastMatchingPosition'](_0x26a66c,{'direction':_0x1011('0xff')});return(!_0x4e36c1[_0x1011('0x143')]['isEqual'](_0x45765e)||!_0x4e36c1[_0x1011('0x9c')][_0x1011('0x56')](_0x4b21d7))&&(_0x45765e[_0x1011('0x73')](_0x4b21d7)?_0x516f38[_0x1011('0x136')](_0x4f9fcc,{'range':_0x516f38[_0x1011('0x59')](_0x45765e,_0x4b21d7)}):_0x516f38[_0x1011('0x39')](_0x4f9fcc),!0x0);}function Rt(_0x469d69){return _0x4f48ec(_0x469d69);}function jt(_0x507467){const _0x35c5b6=_0x507467[_0x1011('0x143')][_0x1011('0xf3')];return _0x35c5b6&&_0x35c5b6['is']('element');}function Ut(_0x2c551b,_0x2aa8cd){const _0x4b7d71=_0x2aa8cd[_0x1011('0x7e')]['isObject'](_0x2c551b)||_0x2aa8cd[_0x1011('0x7e')][_0x1011('0x9b')](_0x2c551b);return _0x2aa8cd[_0x1011('0x59')](_0x2aa8cd[_0x1011('0x129')](_0x2c551b,_0x1011('0x7b')),_0x4b7d71?_0x2aa8cd['createPositionAfter'](_0x2c551b):_0x2aa8cd[_0x1011('0x129')](_0x2c551b,_0x1011('0x9c')));}function Ot(_0x18109e,_0x3cf716,_0x2856b9,_0x30e904,_0x20bc57){if(!Vt(_0x18109e,_0x3cf716))return!0x1;if(_0x2856b9[_0x1011('0x9c')]['isEqual'](_0x30e904[_0x1011('0x143')]))return!0x0;if(_0x18109e[_0x1011('0x18')]!=_0x3cf716[_0x1011('0x18')])return!0x1;if(!_0x2856b9[_0x1011('0x9c')]['isTouching'](_0x30e904[_0x1011('0x143')]))return!0x1;const _0x18cc75=_0x20bc57[_0x1011('0x59')](_0x2856b9['end'],_0x30e904['start'])[_0x1011('0xcf')]();for(const _0x39b40a of _0x18cc75)if([_0x1011('0x138'),_0x1011('0x134')][_0x1011('0xb1')](_0x39b40a[_0x1011('0x18')])&&_0x20bc57[_0x1011('0x7e')]['isLimit'](_0x39b40a[_0x1011('0xb7')]))return!0x1;return!0x0;}function Vt(_0x52884c,_0x114d45){return!(!_0x52884c[_0x1011('0x170')]||!_0x114d45[_0x1011('0x170')])&&_0x589cd8(_0x52884c['attributes'],_0x114d45['attributes']);}function Gt(_0x125608,_0x523075){const _0xb09ba7=Ft(_0x125608[_0x1011('0xcd')]),_0x26d7ee=Ft(_0x523075);if(!_0x125608[_0x1011('0x170')])return!0x1;for(const _0x94e186 of Object[_0x1011('0x15')](_0x26d7ee))if(!_0x589cd8(_0xb09ba7[_0x94e186],_0x26d7ee[_0x94e186]))return!0x1;return!0x0;}function Ft(_0x18c02d){const _0x167de9=Object['assign']({},_0x18c02d);return delete _0x167de9[_0x1011('0xa8')],delete _0x167de9[_0x1011('0x11d')],_0x167de9;}function Pt(_0x1ca781){return _0x1011('0x124')==_0x1ca781[_0x1011('0x18')]?_0x1ca781[_0x1011('0x44')][_0x1011('0x154')]('|')[0x0]:null;}