@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231028.0 → 0.0.0-nightly-20231030.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-20231028.0",
3
+ "version": "0.0.0-nightly-20231030.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-20231028.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231028.0",
42
+ "ckeditor5": "0.0.0-nightly-20231030.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231030.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 _0x4f1b=['clear','isBlock','getMarkers','isUndo','collaboration.channelId','discard','discardSelectedSuggestions','subType','_rangeIsInLocalUserInsertion','_breakSuggestionMarker','isLimit','consumable','_updateSuggestionData','_saved','item','fromCharCode','toViewElement','showSuggestionHighlights','acceptAllSuggestions','stop','markInlineFormat','sort','isSelectable','getFirstMarker','high','createdAt','markMultiRangeInsertion','previous','_getSuggestionData','hasCommentThread','writer','insertContent','formatInline:join','listenTo','_findSuggestions','getSuggestionCallback','containsRange','_addSuggestionMarker','trackChanges.trackFormatChanges','deletion:chain','bindElementToMarker','resolve','_getExternalAuthor','config','suggestionChanged','getSuggestion','getRange','insertion:chain','_getAuthorFromId','model','filter','error-saving-suggestion-data-suggestion-discarded','name','notReady','markInsertion','enableCommand','newRange','insertion:join','track-changes-suggestion-data-mismatch','_trackFormatChanges','markBlockFormat','isTouching','getWalker','includes','isCollapsed','discardSuggestion','move','elementToElement','multi','getIntersection','nodeAfter','low','createSelection','data-suggestion','_suggestionState','deletion:join','isExternal','assign','documentSelection','$textProxy','isAtStart','isArray','markerName','containsPosition','_removeSuggestion','_commentsRepository','getRanges','getAttribute','value','isEqual','ck-suggestion-marker--active','setAttribute','formatInline','getCustomProperty','ck-suggestion-marker-formatBlock','insertion:accept','unbind','forceDefaultExecution','nodeBefore','start','range','getAllAdjacentSuggestions','addSuggestionData','creator','dataDowncast','removed','adapter','mapper','set','addMarkerName','targetPosition','markMultiRangeDeletion','_suggestions','fire','howMany','_joinWithAdjacentSuggestions','formatBlock:accept','isRemovable','plugins','editor','suggestion','oldRange','every','toJSON','options','define','setTo','forward','_suggestionFactory','tablePasteChainId','addMarker:suggestion','marker-count','delete','_editor','markerReady','isInContent','_onDiscard','conversion','suggestionLoaded','PendingActions','hasComments','trackChanges.mergeNestedSuggestions','PENDING_ACTION_SUGGESTION','_joinSuggestions','execute','markers','open','detach','removeComment','fromRange','isIntersectingWithRange','_handleNewSuggestionMarker','_setSuggestionData','values','formatBlock:join','some','group','getItems','deletion','change:data','isInsideObject','locale','_mergeNestedSuggestions','isAfter','addClass','removeMarker','_isDataLoaded','ck-suggestion-marker','_addThreadToSuggestion','getMultiRangeId','originalSuggestionId','size','_refreshSuggestionsChain','@external','elementStart','insert','type','_customCallbacks','isBefore','_isForcedDefaultExecutionBlock','_defaultCallbacks','formatBlock:discard','addComment','fetchCommentThread','accept','add','catch','getChangedMarkers','join','has','createPositionAfter','author','after','_registerDefaultCallbacks','formatInline:chain','authorName','markerToHighlight','suggestionUnloaded','addMarker:suggestion:formatBlock','attributes','ready','formatBlock','document','differ','createRangeIn','highest','skipNestingCheck','formatBlock:chain','then','removeMarker:suggestion:formatBlock','createPositionAt','dataReady','ck-suggestion-marker-','multipleBlocks','update:suggestion','from','track-changes-adapter-already-set','addSuggestion','external:','data','isNextTo','_adapter','rejected','commands','suggestion:','stopListening','trackChanges','buildSuggestion','getSuggestions','deletion:','consume','_cutOutSuggestionMarker','CommentsRepository','track-changes-adapter-missing-getsuggestion','isLocal','formatInline:','discardAllSuggestions','selection','createRange','registerPostFixer','_splitMarkerName','getLastMatchingPosition','getNearestSelectionRange','insertion:','map','position','$marker','deleteContent','elementEnd','change','getDifference','get','getChanges','_enabledCommands','isMultiRange','never','insertion','addMarker','_checkSuggestionCorrectness','acceptSelectedSuggestions','updateMarker','end','head','addRange','split','keys','_createSuggestion','getAncestors','getShiftedBy','unbindElementFromMarkerName','formatGroupId','for','init','applyOperation','change:_saved','root','$graveyard','containerElement','acceptSuggestion','removeClass','next','isDocumentOperation','schema','rootName','getUser','always','getFirstRange','parent','moveTargetPosition','getCommentThread','setSelection','updateSuggestion','removeMarkers','markDeletion','change:activeMarkers','formatBlock:','push','trackChangesCommand','batch','commentThread','widget','element','containsItem','isOwn','backward','activeMarkers','accepted','_model','TrackChangesEditing','_setSuggestionRange','containsRangeInObject','dataToMarker','remove','deletion:discard','insertion:discard','isObject','length','splitPosition','Users','lowest','upcast','chain','editingDowncast','addUser','suggestion-type'];(function(_0x5e6b10,_0x4f1b10){const _0x1d2b13=function(_0x24ee32){while(--_0x24ee32){_0x5e6b10['push'](_0x5e6b10['shift']());}};_0x1d2b13(++_0x4f1b10);}(_0x4f1b,0x1f1));const _0x1d2b=function(_0x5e6b10,_0x4f1b10){_0x5e6b10=_0x5e6b10-0x0;let _0x1d2b13=_0x4f1b[_0x5e6b10];return _0x1d2b13;};import{Plugin as _0x381611,PendingActions as _0x5c1225}from'ckeditor5/src/core';import{LiveRange as _0x4a5f34}from'ckeditor5/src/engine';import{CKEditorError as _0x2364b6,uid as _0x430f0f,priorities as _0x5b0760,logWarning as _0x5efed4}from'ckeditor5/src/utils';import{toWidget as _0x49087c}from'ckeditor5/src/widget';import{Users as _0x15456b,hashObject as _0x4dc587}from'ckeditor5-collaboration/src/collaboration-core';import _0x8f7a12 from'./commands/trackchangescommand';import _0xc2d465 from'./commands/acceptsuggestioncommand';import _0x5bafad from'./commands/discardsuggestioncommand';import _0x41096b from'./commands/executeonallsuggestionscommand';import _0x13c961 from'./commands/executeonselectedsuggestionscommand';import _0x24076c from'./suggestion';import _0x262b1c from'./suggestiondescriptionfactory';import _0x563138 from'./integrations/aiassistant';import _0x21ee44 from'./integrations/alignment';import _0x24f97a from'./integrations/basicstyles';import _0x4721a6 from'./integrations/blockquote';import _0x1f06c4 from'./integrations/ckbox';import _0x26c907 from'./integrations/codeblock';import _0x246132 from'./integrations/comments';import _0x15caae from'./integrations/deletecommand';import _0x54f62c from'./integrations/documentlist';import _0x293b02 from'./integrations/entercommand';import _0x53de94 from'./integrations/findandreplace';import _0x4ced02 from'./integrations/font';import _0xa1255d from'./integrations/formatpainter';import _0x5c36f0 from'./integrations/heading';import _0x1bd77a from'./integrations/highlight';import _0x53bed3 from'./integrations/horizontalline';import _0x4f8e25 from'./integrations/htmlembed';import _0xbe05d from'./integrations/image';import _0x11a22e from'./integrations/imagereplace';import _0x3d422c from'./integrations/importword';import _0x9d37ad from'./integrations/indent';import _0x2d3033 from'./integrations/inputcommand';import _0x3805be from'./integrations/link';import _0x378db2 from'./integrations/list';import _0x126663 from'./integrations/listproperties';import _0x397f47 from'./integrations/mediaembed';import _0x548912 from'./integrations/mention';import _0x427195 from'./integrations/pagebreak';import _0x4af2e1 from'./integrations/paragraph';import _0x5740fd from'./integrations/removeformat';import _0x3ecacd from'./integrations/restrictededitingmode';import _0x3cd7e6 from'./integrations/shiftentercommand';import _0x50395c from'./integrations/standardeditingmode';import _0x33c113 from'./integrations/style';import _0x5eea79 from'./integrations/table';import _0x15308f from'./integrations/tablemergesplit';import _0x5dffe1 from'./integrations/tableheadings';import _0xc6b4ff from'./integrations/tableclipboard';import _0x596df7 from'./integrations/tablecolumnresize';import _0x37d7d2 from'./integrations/template';import _0xa1437c from'./integrations/tableofcontents';import _0x888f43 from'./integrations/title';import _0x32b3fb from'./integrations/undo';import{getTranslation as _0xca3f4a}from'./utils/common-translations';import _0x2e45ec from'./integrations/tablecaption';import _0x224375 from'./integrations/documentlistproperties';import _0x3bb607 from'./integrations/tableproperties';import{isEqual as _0x470561}from'lodash-es';export default class p extends _0x381611{static get['requires'](){return['CommentsRepository',_0x15456b,_0x5c1225,_0x563138,_0x21ee44,_0x24f97a,_0x4721a6,_0x1f06c4,_0x26c907,_0x246132,_0x15caae,_0x54f62c,_0x224375,_0x293b02,_0x53de94,_0x4ced02,_0xa1255d,_0x5c36f0,_0x1bd77a,_0x53bed3,_0x4f8e25,_0xbe05d,_0x11a22e,_0x3d422c,_0x9d37ad,_0x2d3033,_0x3805be,_0x378db2,_0x126663,_0x397f47,_0x548912,_0x427195,_0x4af2e1,_0x5740fd,_0x3ecacd,_0x3cd7e6,_0x50395c,_0x33c113,_0x5eea79,_0x15308f,_0x5dffe1,_0x2e45ec,_0xc6b4ff,_0x596df7,_0xa1437c,_0x3bb607,_0x37d7d2,_0x888f43,_0x32b3fb];}static get['pluginName'](){return _0x1d2b('0x88');}constructor(_0xa2e887){function _0x56883f(_0x31c72b){return _0x31c72b[_0x1d2b('0x48')](_0xe5ccc0=>String[_0x1d2b('0xa8')](_0xe5ccc0))[_0x1d2b('0x10')]('');}super(_0xa2e887),this[_0x1d2b('0x105')](_0x1d2b('0x85'),[]),this['on'](_0x1d2b('0x7a'),(_0x39a211,_0x461b90,_0x2ec337,_0x417358)=>{this[_0x1d2b('0x87')][_0x1d2b('0x4d')](()=>{for(const _0x456e66 of[..._0x417358,..._0x2ec337])this[_0x1d2b('0x87')][_0x1d2b('0x12a')]['has'](_0x456e66)&&_0xa2e887['editing']['reconvertMarker'](_0x456e66);});}),this['_descriptionFactory']=new _0x262b1c(this[_0x1d2b('0x110')][_0x1d2b('0xca')]['schema'],this[_0x1d2b('0x110')][_0x1d2b('0x13a')]),this[_0x1d2b('0x31')]=null,this[_0x1d2b('0x119')]=new Bt(this[_0x1d2b('0x110')]),this['_suggestions']=new Map(),this[_0x1d2b('0xee')]=_0xa2e887[_0x1d2b('0x10f')][_0x1d2b('0x4f')](_0x1d2b('0x3c')),this[_0x1d2b('0x51')]=new Set(),this['_model']=this[_0x1d2b('0x110')][_0x1d2b('0xca')],this[_0x1d2b('0xe3')]=new WeakMap(),this[_0x1d2b('0x7')]=!0x1,_0xa2e887[_0x1d2b('0xc4')][_0x1d2b('0x116')]('trackChanges.trackFormatChanges','default'),this[_0x1d2b('0xd4')]=_0xa2e887['config'][_0x1d2b('0x4f')](_0x1d2b('0xbf')),_0xa2e887['config']['define'](_0x1d2b('0x126'),!0x0),this[_0x1d2b('0x13b')]=_0xa2e887[_0x1d2b('0xc4')]['get'](_0x1d2b('0x126')),this['trackChangesCommand']=new _0x8f7a12(_0xa2e887,this[_0x1d2b('0x51')]),this[_0x56883f([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x56883f([0x34,0x30,0x34,0x36,0x32,0x30,0x35,0x36]);}[_0x1d2b('0x64')](){const _0x21b69d=this[_0x1d2b('0x110')];_0x21b69d[_0x1d2b('0x122')][_0x1d2b('0x63')](_0x1d2b('0x96'))[_0x1d2b('0x18')]({'model':_0x1d2b('0x111'),'view':_0x28cab7=>{const {id:_0x34751d,type:_0x27ed89}=this['_splitMarkerName'](_0x28cab7[_0x1d2b('0xeb')]),_0x1bfc4c=[_0x1d2b('0x140'),'ck-suggestion-marker-'+_0x27ed89];let _0x38b2c0=0xbb8;return this[_0x1d2b('0x85')]['includes'](_0x28cab7[_0x1d2b('0xeb')])&&(_0x1bfc4c[_0x1d2b('0x7c')](_0x1d2b('0xf3')),_0x38b2c0=0xbc2),_0x1d2b('0x137')==_0x27ed89&&(_0x38b2c0+=0x5),{'classes':_0x1bfc4c,'attributes':{'data-suggestion':_0x34751d},'priority':_0x38b2c0};}}),_0x21b69d[_0x1d2b('0x122')]['for']('dataDowncast')[_0x1d2b('0xd')](_0x541f3a=>{_0x541f3a['on'](_0x1d2b('0x11b'),(_0x5475c0,_0x3bfc8f,_0x1ff924)=>{if(!_0x1ff924['options']['showSuggestionHighlights'])return;const _0x19f610=_0x3bfc8f['item'];if(!_0x19f610)return;const _0x2efc9c=_0x1ff924['mapper'][_0x1d2b('0xa9')](_0x19f610);_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x6e')][_0x1d2b('0x8f')](_0x19f610)&&_0x2efc9c&&!_0x2efc9c[_0x1d2b('0xf6')](_0x1d2b('0x80'))&&_0x2efc9c['is'](_0x1d2b('0x69'))&&_0x49087c(_0x2efc9c,_0x1ff924[_0x1d2b('0xb7')]);},{'priority':_0x1d2b('0xb1')});}),_0x21b69d[_0x1d2b('0x122')][_0x1d2b('0x63')](_0x1d2b('0x101'))[_0x1d2b('0x18')]({'model':'suggestion','view':(_0x321271,_0x10d8ea)=>{if(!_0x10d8ea['options'][_0x1d2b('0xaa')])return null;const {type:_0x58a909}=this[_0x1d2b('0x44')](_0x321271[_0x1d2b('0xeb')]);return{'classes':[_0x1d2b('0x140'),_0x1d2b('0x28')+_0x58a909],'priority':0xbb8};}});const _0x1436f1=({showActiveMarkers:_0x1d5842=!0x0}={})=>(_0x1d26b9,_0x920ec1,_0x136d80)=>{if(!_0x920ec1[_0x1d2b('0xa7')])return;if(_0x920ec1[_0x1d2b('0xa7')]['is'](_0x1d2b('0x41')))return void _0x136d80[_0x1d2b('0xa4')]['consume'](_0x920ec1[_0x1d2b('0xa7')],_0x1d26b9[_0x1d2b('0xcd')]);const _0x1a2049=_0x136d80['mapper'][_0x1d2b('0xa9')](_0x920ec1[_0x1d2b('0xa7')]);if(!(_0x920ec1[_0x1d2b('0xa7')]['is'](_0x1d2b('0x81'))&&_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x6e')][_0x1d2b('0x9a')](_0x920ec1[_0x1d2b('0xa7')])&&!_0x1a2049['getCustomProperty']('addHighlight')))return;const {id:_0x5c0794}=this[_0x1d2b('0x44')](_0x920ec1[_0x1d2b('0xeb')]);_0x136d80['writer'][_0x1d2b('0x13d')]([_0x1d2b('0x140'),_0x1d2b('0xf7')],_0x1a2049),_0x136d80[_0x1d2b('0xb7')][_0x1d2b('0xf4')](_0x1d2b('0xe2'),_0x5c0794,_0x1a2049),_0x136d80[_0x1d2b('0x104')][_0x1d2b('0xc1')](_0x1a2049,_0x920ec1[_0x1d2b('0xeb')]),_0x1d5842&&(this[_0x1d2b('0x85')]['includes'](_0x920ec1[_0x1d2b('0xeb')])?_0x136d80[_0x1d2b('0xb7')][_0x1d2b('0x13d')](_0x1d2b('0xf3'),_0x1a2049):_0x136d80['writer'][_0x1d2b('0x6b')](_0x1d2b('0xf3'),_0x1a2049));for(const _0x2755bc of _0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x20')](_0x920ec1['item'])[_0x1d2b('0x136')]())_0x136d80[_0x1d2b('0xa4')][_0x1d2b('0x3a')](_0x2755bc,_0x1d26b9[_0x1d2b('0xcd')]);_0x136d80[_0x1d2b('0xa4')][_0x1d2b('0x3a')](_0x920ec1[_0x1d2b('0xa7')],_0x1d26b9[_0x1d2b('0xcd')]);};_0x21b69d[_0x1d2b('0x122')]['for']('dataDowncast')[_0x1d2b('0xd')](_0x265b0d=>{_0x265b0d['on'](_0x1d2b('0x1a'),(_0x1b712b,_0x4f5a40,_0x390f5a)=>{_0x390f5a[_0x1d2b('0x115')][_0x1d2b('0xaa')]&&_0x1436f1({'showActiveMarkers':!0x1})(_0x1b712b,_0x4f5a40,_0x390f5a);},{'priority':_0x1d2b('0x21')});}),_0x21b69d[_0x1d2b('0x122')][_0x1d2b('0x63')](_0x1d2b('0x101'))['markerToData']({'model':_0x1d2b('0x111'),'view':(_0x2cab89,_0x296f5a)=>_0x296f5a[_0x1d2b('0x115')][_0x1d2b('0xaa')]?null:{'group':_0x1d2b('0x111'),'name':_0x2cab89['substr'](0xb)}}),_0x21b69d[_0x1d2b('0x122')][_0x1d2b('0x63')](_0x1d2b('0x94'))[_0x1d2b('0xdc')]({'view':{'name':_0x1d2b('0x111'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x2f6ec6,{writer:_0x495ae0})=>{let _0x556b61=_0x1d2b('0x34')+_0x2f6ec6[_0x1d2b('0xf0')](_0x1d2b('0x98'))+':'+_0x2f6ec6['getAttribute']('id');return _0x2f6ec6[_0x1d2b('0xf0')](_0x1d2b('0x11c'))&&(_0x556b61+=':'+_0x2f6ec6[_0x1d2b('0xf0')](_0x1d2b('0x11c'))),_0x495ae0['createElement'](_0x1d2b('0x4a'),{'data-name':_0x556b61});}}),_0x21b69d['conversion'][_0x1d2b('0x63')]('upcast')[_0x1d2b('0x8b')]({'view':'suggestion'}),_0x21b69d[_0x1d2b('0x122')][_0x1d2b('0x63')]('editingDowncast')[_0x1d2b('0xd')](_0x2d684f=>{_0x2d684f['on'](_0x1d2b('0x1a'),_0x1436f1(),{'priority':_0x1d2b('0xb1')});}),_0x21b69d['conversion'][_0x1d2b('0x63')](_0x1d2b('0x96'))[_0x1d2b('0xd')](_0x143e5b=>{_0x143e5b['on'](_0x1d2b('0x25'),(_0x17a854,_0x259d75,_0x3c85c6)=>{const _0xf2753b=_0x3c85c6[_0x1d2b('0x104')]['markerNameToElements'](_0x259d75['markerName']);if(_0xf2753b)for(const _0x320f51 of _0xf2753b)_0x320f51['getCustomProperty']('addHighlight')||(_0x3c85c6[_0x1d2b('0xb7')][_0x1d2b('0x6b')]([_0x1d2b('0x140'),_0x1d2b('0xf7'),'ck-suggestion-marker--active'],_0x320f51),_0x3c85c6[_0x1d2b('0xb7')]['removeAttribute'](_0x1d2b('0xe2'),_0x320f51),_0x3c85c6[_0x1d2b('0x104')][_0x1d2b('0x61')](_0x320f51,_0x259d75[_0x1d2b('0xeb')]));},{'priority':_0x1d2b('0xb1')});}),_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x1e')][_0x1d2b('0x43')](_0x142417=>{let _0x37978d=!0x1;const _0x57824c=Array['from'](_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x1e')][_0x1d2b('0x1f')][_0x1d2b('0xf')]()),_0x5eae69=new Set();for(const {name:_0x4ede1d,data:_0x19b7db}of _0x57824c){const {group:_0x3d0dc7,type:_0x2e7a34,id:_0x329948}=this[_0x1d2b('0x44')](_0x4ede1d);if('suggestion'!==_0x3d0dc7)continue;const _0x2277d7=this[_0x1d2b('0x109')][_0x1d2b('0x4f')](_0x329948);if(null!=_0x19b7db[_0x1d2b('0xd1')]){_0x1d2b('0xf5')==_0x2e7a34&&(_0x37978d=_0x37978d||$t(_0x19b7db['newRange'],_0x4ede1d,_0x142417,_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x6e')]));if(_0x19b7db[_0x1d2b('0xd1')]['isCollapsed']||'$graveyard'==_0x19b7db[_0x1d2b('0xd1')][_0x1d2b('0x67')]['rootName']||_0x1d2b('0x1d')==_0x2e7a34&&!Rt(_0x19b7db[_0x1d2b('0xd1')])||_0x1d2b('0x137')==_0x2e7a34&&!(!Mt(_0x50582b=_0x19b7db[_0x1d2b('0xd1')])&&!function(_0x3df2c9){return _0x3df2c9[_0x1d2b('0xfc')][_0x1d2b('0x73')]==_0x3df2c9[_0x1d2b('0x59')]['nodeBefore']&&_0x3df2c9[_0x1d2b('0xfc')]['isAtEnd'];}(_0x50582b)))_0x142417['removeMarker'](_0x4ede1d),_0x37978d=!0x0;else{if(!_0x2277d7||!_0x2277d7[_0x1d2b('0x120')])continue;_0x5eae69['add'](_0x2277d7);}}}var _0x50582b;return _0x5eae69[_0x1d2b('0x144')]>0x0&&(_0x37978d=!!this[_0x1d2b('0x10c')](_0x5eae69)||_0x37978d),_0x37978d;}),_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x1e')][_0x1d2b('0x43')](_0x3cd164=>{let _0x5dae9c=!0x1;for(const _0x565d9e of _0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x1e')]['differ'][_0x1d2b('0x50')]()){if(_0x1d2b('0x3')!=_0x565d9e[_0x1d2b('0x4')])continue;const _0x287855=_0x565d9e[_0x1d2b('0x49')][_0x1d2b('0x60')](_0x565d9e[_0x1d2b('0x90')]);if(_0x287855['isAtEnd'])for(const _0x303c24 of this[_0x1d2b('0x109')][_0x1d2b('0x132')]()){if(_0x303c24[_0x1d2b('0x52')]||!_0x303c24[_0x1d2b('0x120')])continue;if(_0x1d2b('0x1d')!=_0x303c24[_0x1d2b('0x4')])continue;const _0x1670a3=_0x303c24['getFirstRange']();if(_0x1670a3[_0x1d2b('0xfc')]['parent']!=_0x1670a3['end'][_0x1d2b('0x73')]&&_0x1670a3[_0x1d2b('0x59')][_0x1d2b('0xf2')](_0x565d9e[_0x1d2b('0x49')])){const _0x2a08e5=_0x21b69d['model'][_0x1d2b('0x42')](_0x1670a3[_0x1d2b('0xfc')],_0x287855);_0x3cd164[_0x1d2b('0x58')](_0x303c24[_0x1d2b('0xb0')](),{'range':_0x2a08e5}),_0x5dae9c=!0x0;}}}return _0x5dae9c;}),_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x12a')]['on'](_0x1d2b('0x2a'),(_0x153f26,_0x381242,_0xda3548)=>{if(null==_0xda3548){const {id:_0x214b9a}=this[_0x1d2b('0x44')](_0x381242['name']),_0x31029e=this[_0x1d2b('0x109')][_0x1d2b('0x4f')](_0x214b9a);_0x31029e&&_0x31029e[_0x1d2b('0x106')](_0x381242['name']);}}),_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x1e')]['on'](_0x1d2b('0x138'),()=>{const _0x4c4e8f=Array[_0x1d2b('0x2b')](_0x21b69d['model'][_0x1d2b('0x1e')]['differ']['getChangedMarkers']())[_0x1d2b('0xcb')](_0x2e0eb8=>_0x1d2b('0x111')===this[_0x1d2b('0x44')](_0x2e0eb8[_0x1d2b('0xcd')])[_0x1d2b('0x135')]);if(0x0===_0x4c4e8f[_0x1d2b('0x90')])return;_0x4c4e8f[_0x1d2b('0xae')]((_0x51da1c,_0x4c75ef)=>{const _0x2bfd59=_0x51da1c['data'][_0x1d2b('0x112')],_0x2a05de=_0x4c75ef[_0x1d2b('0x2f')]['oldRange'];return null===_0x2bfd59&&null===_0x2a05de?0x0:null===_0x2bfd59&&null!==_0x2a05de?-0x1:null!==_0x2bfd59&&null===_0x2a05de?0x1:_0x2bfd59[_0x1d2b('0xfc')]['isBefore'](_0x2a05de[_0x1d2b('0xfc')])?-0x1:0x1;});const _0x172029=new Set(),_0x9edf6b=new Set();for(const {name:_0x2e7b1a,data:_0x581d84}of _0x4c4e8f){const {id:_0x1a28a0}=this[_0x1d2b('0x44')](_0x2e7b1a);if(null===_0x581d84[_0x1d2b('0x112')]){const _0x24c33c=this[_0x1d2b('0x130')](_0x2e7b1a);_0x9edf6b[_0x1d2b('0xd')](_0x24c33c);}else{const _0x140322=this['_suggestions'][_0x1d2b('0x4f')](_0x1a28a0);null!==_0x581d84[_0x1d2b('0xd1')]||_0x140322['isInContent']?(_0x172029['add'](_0x140322[_0x1d2b('0x5a')]),_0x9edf6b[_0x1d2b('0xd')](_0x140322)):this['_removeSuggestion'](_0x140322);}}_0x9edf6b[_0x1d2b('0x144')]>0x0&&this[_0x1d2b('0x0')](_0x9edf6b);for(const _0x4365d5 of _0x172029)this['fire'](_0x1d2b('0xc5'),_0x4365d5);}),_0x21b69d[_0x1d2b('0xca')]['on'](_0x1d2b('0x65'),(_0x745726,_0x51bc4b)=>{const _0xed75c3=_0x51bc4b[0x0];if(!this[_0x1d2b('0x109')]['size'])return;if(!_0xed75c3[_0x1d2b('0x6d')])return;if(_0xed75c3[_0x1d2b('0x7e')][_0x1d2b('0x9c')]||!_0xed75c3[_0x1d2b('0x7e')][_0x1d2b('0x3e')])return;let _0x16a131,_0x55cde1;switch(_0xed75c3['type']){case'insert':_0x16a131=_0x21b69d['model'][_0x1d2b('0x26')](_0xed75c3[_0x1d2b('0x49')]),_0x55cde1=_0x16a131[_0x1d2b('0x60')](_0xed75c3['howMany']);break;case'split':_0x16a131=_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x26')](_0xed75c3[_0x1d2b('0x91')]),_0x55cde1=_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x26')](_0xed75c3[_0x1d2b('0x74')]);break;case _0x1d2b('0xdb'):_0x16a131=_0x21b69d['model'][_0x1d2b('0x26')](_0xed75c3[_0x1d2b('0x107')]),_0x55cde1=_0x16a131['getShiftedBy'](_0xed75c3[_0x1d2b('0x10b')]);break;default:return;}const _0x2e535b=_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x42')](_0x16a131,_0x55cde1);_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x4d')](()=>{for(const {suggestion:_0x5c564f,meta:_0x4027d5}of this[_0x1d2b('0xbb')](_0x2e535b)){if(_0x5c564f['isMultiRange'])continue;if(_0x1d2b('0xf5')==_0x5c564f['type'])continue;const _0x478bb1=_0x5c564f[_0x1d2b('0x2f')]&&_0x5c564f['data'][_0x1d2b('0x29')];(_0x1d2b('0x1d')!=_0x5c564f[_0x1d2b('0x4')]||_0x1d2b('0x5c')==_0xed75c3[_0x1d2b('0x4')]&&!_0x478bb1)&&(_0x4027d5[_0x1d2b('0x8a')]||_0x1d2b('0x54')==_0x5c564f[_0x1d2b('0x4')]&&_0x4027d5[_0x1d2b('0x83')]||_0x5c564f[_0x1d2b('0x72')]()[_0x1d2b('0xbd')](_0x2e535b)&&this[_0x1d2b('0xa2')](_0x5c564f,_0x16a131,_0x55cde1));}});},{'priority':_0x1d2b('0x93')}),_0x21b69d[_0x1d2b('0xca')]['on'](_0x1d2b('0x4b'),(_0x4ed9ef,_0x3ac6df)=>{const _0x5db52e=_0x3ac6df[0x0],_0x3cc7ec=_0x3ac6df[0x1];if(_0x3cc7ec&&_0x3cc7ec[_0x1d2b('0xfa')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0x1d2b('0x7d')]['value'])return;if(_0x5db52e[_0x1d2b('0xd9')])return;const _0x21a562=_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x6e')],{start:_0x62e88a,end:_0x116989}=_0x5db52e[_0x1d2b('0x72')](),_0x3a0e98=_0x62e88a[_0x1d2b('0xdf')]&&_0x21a562[_0x1d2b('0xa3')](_0x62e88a[_0x1d2b('0xdf')])?null:_0x21a562[_0x1d2b('0x46')](_0x62e88a,_0x1d2b('0x118')),_0xd34542=_0x116989[_0x1d2b('0xfb')]&&_0x21a562[_0x1d2b('0xa3')](_0x116989['nodeBefore'])?null:_0x21a562[_0x1d2b('0x46')](_0x116989,_0x1d2b('0x84')),_0x464d3b=_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x42')](_0x3a0e98?_0x3a0e98[_0x1d2b('0xfc')]:_0x62e88a,_0xd34542?_0xd34542[_0x1d2b('0x59')]:_0x116989);_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x4d')](_0x5ca30c=>{this['markDeletion'](_0x464d3b);const _0xc2855=_0x21b69d[_0x1d2b('0xca')]['schema'][_0x1d2b('0x46')](_0x464d3b[_0x1d2b('0xfc')]);_0x5db52e['is'](_0x1d2b('0xe7'))?_0x5ca30c[_0x1d2b('0x76')](_0xc2855):_0x5db52e[_0x1d2b('0x117')](_0xc2855);}),_0x4ed9ef[_0x1d2b('0xac')]();},{'priority':_0x5b0760['normal']+0xa}),_0x21b69d['model']['on']('insertContent',(_0x2b1df9,_0x5ae460)=>{const _0x3d1bd9=_0x5ae460[_0x5ae460[_0x1d2b('0x90')]-0x1];_0x3d1bd9&&_0x3d1bd9[_0x1d2b('0xfa')]||this[_0x1d2b('0x7')]||this['trackChangesCommand'][_0x1d2b('0xf1')]&&(_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x4d')](()=>{let _0x2d0b49=_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0xb8')](_0x5ae460[0x0],_0x5ae460[0x1],_0x5ae460[0x2],{'forceDefaultExecution':!0x0});if(!_0x2d0b49)return;_0x2b1df9['return']=_0x2d0b49['clone']();const _0x510ea0=_0x2d0b49[_0x1d2b('0x59')]['nodeBefore'],_0x253999=_0x21b69d[_0x1d2b('0xca')][_0x1d2b('0x6e')];_0x510ea0&&_0x253999[_0x1d2b('0x9a')](_0x510ea0)&&!_0x253999[_0x1d2b('0x8f')](_0x510ea0)&&(_0x2d0b49=_0x21b69d['model']['createRange'](_0x2d0b49[_0x1d2b('0xfc')],_0x21b69d['model'][_0x1d2b('0x26')](_0x510ea0,_0x1d2b('0x59')))),this[_0x1d2b('0xcf')](_0x2d0b49);}),_0x2b1df9['stop']());},{'priority':_0x1d2b('0xb1')}),this[_0x1d2b('0x110')][_0x1d2b('0x33')][_0x1d2b('0xd')](_0x1d2b('0x36'),this[_0x1d2b('0x7d')]),this[_0x1d2b('0xd0')](_0x1d2b('0x36'));const _0x795833=new _0xc2d465(_0x21b69d,this[_0x1d2b('0x109')]);_0x21b69d[_0x1d2b('0x33')][_0x1d2b('0xd')](_0x1d2b('0x6a'),_0x795833),this[_0x1d2b('0xd0')](_0x1d2b('0x6a'));const _0x49105c=new _0x5bafad(_0x21b69d,this['_suggestions']);_0x21b69d['commands'][_0x1d2b('0xd')](_0x1d2b('0xda'),_0x49105c),this[_0x1d2b('0xd0')](_0x1d2b('0xda')),_0x21b69d[_0x1d2b('0x33')][_0x1d2b('0xd')](_0x1d2b('0xab'),new _0x41096b(_0x21b69d,_0x795833,this[_0x1d2b('0x109')])),this[_0x1d2b('0xd0')]('acceptAllSuggestions'),_0x21b69d[_0x1d2b('0x33')]['add'](_0x1d2b('0x40'),new _0x41096b(_0x21b69d,_0x49105c,this[_0x1d2b('0x109')])),this[_0x1d2b('0xd0')](_0x1d2b('0x40')),_0x21b69d[_0x1d2b('0x33')][_0x1d2b('0xd')](_0x1d2b('0x57'),new _0x13c961(_0x21b69d,_0x795833,this[_0x1d2b('0x109')])),this[_0x1d2b('0xd0')](_0x1d2b('0x57')),_0x21b69d[_0x1d2b('0x33')]['add'](_0x1d2b('0x9f'),new _0x13c961(_0x21b69d,_0x49105c,this[_0x1d2b('0x109')])),this[_0x1d2b('0xd0')](_0x1d2b('0x9f'));const _0x55c5b4=_0x21b69d['plugins'][_0x1d2b('0x4f')]('CommentsRepository');this[_0x1d2b('0xba')](_0x55c5b4,_0x1d2b('0xa'),(_0x6f604a,{threadId:_0x4057e3})=>{const _0x2509ec=this[_0x1d2b('0x109')][_0x1d2b('0x4f')](_0x4057e3);_0x2509ec&&_0x2509ec[_0x1d2b('0x7f')]&&0x1===_0x2509ec['commentThread'][_0x1d2b('0x90')]&&this[_0x1d2b('0xa5')](_0x4057e3,{'hasComments':!0x0});},{'priority':_0x1d2b('0xe0')}),this[_0x1d2b('0xba')](_0x55c5b4,_0x1d2b('0x12d'),(_0xbe23d9,{threadId:_0x327f12})=>{const _0x5e93c1=this['_suggestions'][_0x1d2b('0x4f')](_0x327f12);_0x5e93c1&&_0x5e93c1[_0x1d2b('0x7f')]&&!_0x5e93c1['commentThread'][_0x1d2b('0x90')]&&this[_0x1d2b('0xa5')](_0x327f12,{'hasComments':!0x1});},{'priority':'low'});}set[_0x1d2b('0x103')](_0x4fe5d0){if(this['_adapter'])throw new _0x2364b6(_0x1d2b('0x2c'),this);this[_0x1d2b('0x31')]=_0x4fe5d0;}get[_0x1d2b('0x103')](){return this[_0x1d2b('0x31')];}[_0x1d2b('0x38')]({skipNotAttached:_0x2d8f4b=!0x1,toJSON:_0x520376=!0x1}={}){const _0x851129=[];for(const _0x48654a of this[_0x1d2b('0x109')][_0x1d2b('0x132')]())_0x2d8f4b&&!_0x48654a['isInContent']||_0x851129[_0x1d2b('0x7c')](_0x48654a);return _0x520376?_0x851129[_0x1d2b('0x48')](_0x4c8f35=>_0x4c8f35[_0x1d2b('0x114')]()):_0x851129;}[_0x1d2b('0xc6')](_0x11ee42){const _0x6fe559=this['_suggestions'][_0x1d2b('0x4f')](_0x11ee42);if(!_0x6fe559)throw new _0x2364b6('track-changes-suggestion-not-found',this);return _0x6fe559;}['hasSuggestion'](_0x34d581){return this[_0x1d2b('0x109')]['has'](_0x34d581);}['addSuggestionData'](_0x252863){const {authorId:_0x19a3b5,id:_0x4c6a5d,attributes:_0x13f205}=_0x252863,[_0x40d519,_0x34b71b]=_0x252863['type'][_0x1d2b('0x5c')](':'),_0x40337e=this[_0x1d2b('0x109')]['get'](_0x4c6a5d)||this[_0x1d2b('0x5e')](_0x40d519,_0x34b71b,_0x4c6a5d,_0x19a3b5,_0x13f205);if(this['_addThreadToSuggestion'](_0x40337e),this[_0x1d2b('0x56')](_0x40337e,_0x40d519,_0x34b71b||null,_0x19a3b5),_0x40337e['createdAt']=_0x252863[_0x1d2b('0xb2')],_0x40337e[_0x1d2b('0x13f')]=!0x0,_0x13f205&&_0x13f205['@external']){const _0x4c5147=_0x13f205[_0x1d2b('0x1')],_0x2c880f=this['_getExternalAuthor'](_0x4c5147[_0x1d2b('0x17')]);_0x40337e['authoredAt']=_0x4c5147[_0x1d2b('0xb2')],_0x40337e[_0x1d2b('0x13')]=_0x2c880f,_0x40337e[_0x1d2b('0xe5')]=!0x0;}else _0x40337e['authoredAt']=_0x252863[_0x1d2b('0xb2')];switch(_0x252863[_0x1d2b('0x2f')]&&(_0x40337e[_0x1d2b('0x2f')]=_0x252863[_0x1d2b('0x2f')]),_0x252863[_0x1d2b('0x1b')]&&(_0x40337e[_0x1d2b('0x1b')]=_0x252863['attributes']),this[_0x1d2b('0x31')]&&this[_0x1d2b('0x31')]['addSuggestion']||(_0x40337e[_0x1d2b('0xa6')]=!0x0),this['_suggestionState'][_0x1d2b('0x4f')](_0x40337e)){case _0x1d2b('0xce'):this[_0x1d2b('0xe3')][_0x1d2b('0x105')](_0x40337e,_0x1d2b('0x27'));break;case'markerReady':_0x40337e['isInContent']?(this[_0x1d2b('0x0')](new Set([_0x40337e])),this[_0x1d2b('0x10c')](new Set([_0x40337e])),this[_0x1d2b('0xe3')][_0x1d2b('0x105')](_0x40337e,'ready'),this['fire'](_0x1d2b('0x123'),_0x40337e)):this[_0x1d2b('0xe3')][_0x1d2b('0x105')](_0x40337e,_0x1d2b('0x102'));}return _0x40337e;}[_0x1d2b('0x6a')](_0x554734){this[_0x1d2b('0xfa')](()=>{this['editor'][_0x1d2b('0xca')][_0x1d2b('0x4d')](()=>{for(const _0x5079f3 of _0x554734[_0x1d2b('0xfe')]())_0x5079f3[_0x1d2b('0xc')]();});});}[_0x1d2b('0xda')](_0x51127d){this[_0x1d2b('0xfa')](()=>{this[_0x1d2b('0x110')][_0x1d2b('0xca')][_0x1d2b('0x4d')](()=>{for(const _0x27b06d of _0x51127d[_0x1d2b('0xfe')]())_0x27b06d[_0x1d2b('0x9e')]();});});}[_0x1d2b('0xd0')](_0x3d02f2,_0x1ecd1a){const _0x1954ba=this[_0x1d2b('0x110')][_0x1d2b('0x33')]['get'](_0x3d02f2);if(!_0x1954ba)throw new _0x2364b6('track-changes-command-not-found',this,{'commandName':_0x3d02f2});this[_0x1d2b('0x51')][_0x1d2b('0xd')](_0x1954ba),_0x1ecd1a&&_0x1954ba['on'](_0x1d2b('0x129'),(_0x2bad0b,_0x2f8dd7)=>{this[_0x1d2b('0x7d')][_0x1d2b('0xf1')]&&(this[_0x1d2b('0x7')]||_0x2f8dd7[_0x1d2b('0x90')]>0x0&&_0x2f8dd7[_0x2f8dd7[_0x1d2b('0x90')]-0x1]&&_0x2f8dd7[_0x2f8dd7[_0x1d2b('0x90')]-0x1][_0x1d2b('0xfa')]||(_0x2bad0b['return']=_0x1ecd1a((..._0x692527)=>_0x1954ba['execute'](..._0x692527,{'forceDefaultExecution':!0x0}),..._0x2f8dd7),_0x2bad0b[_0x1d2b('0xac')]()));},{'priority':_0x1d2b('0xb1')});}[_0x1d2b('0xfa')](_0x37eee3){let _0x880c7,_0x4d6423;const _0xb8c5e8=this[_0x1d2b('0x7')];this[_0x1d2b('0x7')]=!0x0;try{_0x880c7=_0x37eee3();}catch(_0x322662){_0x4d6423=_0x322662;}return _0xb8c5e8||(this[_0x1d2b('0x7')]=!0x1),_0x4d6423&&_0x2364b6['rethrowUnexpectedError'](_0x4d6423,this),_0x880c7;}[_0x1d2b('0xcf')](_0xdff543,_0x559668=null,_0x14fdd7={}){if(_0xdff543['isCollapsed'])return null;const _0x2734d0=this[_0x1d2b('0x110')][_0x1d2b('0x10f')][_0x1d2b('0x4f')](_0x1d2b('0x92'))['me'];for(const {suggestion:_0x2fc0b6,meta:_0x30ce1e}of this[_0x1d2b('0xbb')](_0xdff543,'insertion'))if(_0x30ce1e['isOwn']){if(!_0x30ce1e[_0x1d2b('0x30')]){if(_0x30ce1e[_0x1d2b('0x8a')]){if(!this[_0x1d2b('0x13b')]||!Ot(_0x2fc0b6,_0x14fdd7))continue;return _0x2fc0b6;}if(Ot(_0x2fc0b6,_0x14fdd7))return _0x2fc0b6;this[_0x1d2b('0xa2')](_0x2fc0b6,_0xdff543[_0x1d2b('0xfc')],_0xdff543[_0x1d2b('0x59')]);break;}if(_0x559668==_0x2fc0b6[_0x1d2b('0xa0')]&&Ot(_0x2fc0b6,_0x14fdd7)){const _0x27a22a=_0x2fc0b6[_0x1d2b('0x72')]();return _0x27a22a['start'][_0x1d2b('0xf2')](_0xdff543['end'])?this[_0x1d2b('0x89')](_0x2fc0b6,this[_0x1d2b('0x87')][_0x1d2b('0x42')](_0xdff543[_0x1d2b('0xfc')],_0x27a22a[_0x1d2b('0x59')])):this['_setSuggestionRange'](_0x2fc0b6,this['_model'][_0x1d2b('0x42')](_0x27a22a[_0x1d2b('0xfc')],_0xdff543[_0x1d2b('0x59')])),_0x2fc0b6;}}const _0xb7b91a=_0x430f0f(),_0x321dea=_0x2734d0['id'],_0x37296f=_0x559668?'insertion:'+_0x559668:_0x1d2b('0x54'),_0x51a7d5=this[_0x1d2b('0x131')]({'id':_0xb7b91a,'type':_0x37296f,'createdAt':new Date(),'authorId':_0x321dea,'attributes':_0x14fdd7});return this[_0x1d2b('0xbe')](_0x37296f,_0xb7b91a,_0x321dea,_0xdff543),_0x51a7d5;}[_0x1d2b('0xb3')](_0x5201e7,_0x443430=_0x1d2b('0xdd'),_0x13d6c9={}){const _0x4fab51=this['editor'][_0x1d2b('0x10f')][_0x1d2b('0x4f')]('Users')['me'],_0x431a57=this[_0x1d2b('0x119')][_0x1d2b('0xbc')](_0x1d2b('0x54'),_0x443430,_0x1d2b('0x10'));for(const _0x478a1f of this[_0x1d2b('0x38')]())if(_0x478a1f[_0x1d2b('0x13')]['id']==_0x4fab51['id']&&'insertion'==_0x478a1f[_0x1d2b('0x4')]&&_0x478a1f[_0x1d2b('0xa0')]==_0x443430&&Ot(_0x478a1f,_0x13d6c9)&&(_0x431a57(_0x478a1f[_0x1d2b('0xef')](),_0x5201e7)||_0x431a57(_0x5201e7,_0x478a1f[_0x1d2b('0xef')]()))){for(const _0x3a36a4 of _0x5201e7)_0x478a1f[_0x1d2b('0x5b')](_0x3a36a4);return _0x478a1f;}for(const {suggestion:_0x194f8e,meta:_0x3cdd6a}of this['_findSuggestions'](_0x5201e7,_0x1d2b('0x54'))){if(!_0x3cdd6a[_0x1d2b('0x83')])continue;if(!this[_0x1d2b('0x13b')]&&_0x3cdd6a[_0x1d2b('0x8a')])continue;if(!Ot(_0x194f8e,_0x13d6c9))continue;let _0x2ef79f=!0x0;for(const _0x1802c6 of _0x194f8e[_0x1d2b('0xef')]())for(const _0x3f694e of _0x5201e7)if(!_0x1802c6[_0x1d2b('0xbd')](_0x3f694e)){_0x2ef79f=!0x1;break;}if(_0x2ef79f)return _0x194f8e;}const _0x188090=_0x430f0f(),_0x1b7db1=_0x4fab51['id'],_0x75b0dc=_0x1d2b('0x47')+_0x443430,_0x3ea724=this[_0x1d2b('0x131')]({'id':_0x188090,'type':_0x75b0dc,'createdAt':new Date(),'authorId':_0x1b7db1,'attributes':_0x13d6c9});for(const _0x3acc0a of _0x5201e7)this[_0x1d2b('0xbe')](_0x75b0dc,_0x188090,_0x1b7db1,_0x3acc0a,_0x24076c[_0x1d2b('0x142')]());return _0x3ea724;}[_0x1d2b('0xad')](_0x515abf,_0x320a29,_0xd03a3e=null,_0x1698b4={}){if(_0xd03a3e=_0xd03a3e||Nt(_0x320a29),_0x515abf[_0x1d2b('0xd9')])return null;if(_0x1d2b('0x53')===this[_0x1d2b('0xd4')]){const _0x5a0b9b=this[_0x1d2b('0x119')]['getSuggestionCallback'](_0x1d2b('0xf5'),_0xd03a3e,_0x1d2b('0xc'));return this[_0x1d2b('0xfa')](()=>_0x5a0b9b([_0x515abf],_0x320a29,_0x1698b4)),null;}const _0xe12992=this[_0x1d2b('0x110')]['plugins'][_0x1d2b('0x4f')](_0x1d2b('0x92'))['me'],_0x4a5799=[];if('always'!==this['_trackFormatChanges'])for(const {suggestion:_0x2c99b4,meta:_0x49e445}of this[_0x1d2b('0xbb')](_0x515abf,_0x1d2b('0x54')))_0x49e445['isOwn']&&!_0x49e445[_0x1d2b('0x139')]&&_0x4a5799[_0x1d2b('0x7c')](..._0x2c99b4[_0x1d2b('0xef')]());const _0x57f53f=function(_0x5414e4,_0x2f98e6){const _0x3bb441=[];for(const _0x5b9bce of _0x2f98e6){const _0x251de4=_0x5414e4[_0x1d2b('0xde')](_0x5b9bce);_0x251de4&&_0x3bb441['push'](_0x251de4);}return _0x3bb441;}(_0x515abf,_0x4a5799),_0x5d6b82=function(_0x358f38,_0x2bbda6){const _0x3f8913=[_0x358f38];for(const _0x55da81 of _0x2bbda6){let _0x1b8424=0x0;for(;_0x1b8424<_0x3f8913[_0x1d2b('0x90')];){const _0x30b703=_0x3f8913[_0x1b8424]['getDifference'](_0x55da81);_0x3f8913['splice'](_0x1b8424,0x1,..._0x30b703),_0x1b8424+=_0x30b703[_0x1d2b('0x90')];}}return _0x3f8913;}(_0x515abf,_0x4a5799);_0x57f53f[_0x1d2b('0x90')]&&this[_0x1d2b('0x87')][_0x1d2b('0x4d')](()=>{for(const _0x241855 of _0x57f53f){const _0x360fd8=this[_0x1d2b('0x119')][_0x1d2b('0xbc')](_0x1d2b('0xf5'),_0xd03a3e,_0x1d2b('0xc'));this['forceDefaultExecution'](()=>_0x360fd8([_0x241855],_0x320a29,_0x1698b4));}});for(const _0x4e6d2c of _0x5d6b82){let _0x40968f=null,_0x11c2c8=_0x4e6d2c[_0x1d2b('0xfc')],_0x8e54ab=_0x4e6d2c[_0x1d2b('0x59')];for(const {suggestion:_0x11aed4,meta:_0x2b57f7}of this['_findSuggestions'](_0x4e6d2c,_0x1d2b('0xf5'))){if(!_0x2b57f7[_0x1d2b('0x83')])continue;if(_0x11aed4[_0x1d2b('0xa0')]!=_0xd03a3e)continue;if(!Ot(_0x11aed4,_0x1698b4))continue;const _0x8ac9d1=_0x11aed4[_0x1d2b('0x72')]();if(_0x8ac9d1[_0x1d2b('0xbd')](_0x4e6d2c,!0x0))return null;_0x11c2c8=_0x11c2c8['isBefore'](_0x8ac9d1['start'])?_0x11c2c8:_0x8ac9d1[_0x1d2b('0xfc')],_0x8e54ab=_0x8e54ab[_0x1d2b('0x13c')](_0x8ac9d1[_0x1d2b('0x59')])?_0x8e54ab:_0x8ac9d1[_0x1d2b('0x59')],_0x40968f?_0x8ac9d1[_0x1d2b('0xfc')][_0x1d2b('0x6')](_0x40968f[_0x1d2b('0x72')]()[_0x1d2b('0xfc')])?(_0x40968f[_0x1d2b('0x78')](),_0x40968f=_0x11aed4):_0x11aed4[_0x1d2b('0x78')]():_0x40968f=_0x11aed4;}const _0x5671b2=this[_0x1d2b('0x87')][_0x1d2b('0x42')](_0x11c2c8,_0x8e54ab);if(_0x40968f)this[_0x1d2b('0x89')](_0x40968f,_0x5671b2);else{const _0x1244a6=_0x430f0f(),_0x3d120e=_0xe12992['id'];this[_0x1d2b('0x131')]({'id':_0x1244a6,'type':'formatInline:'+_0xd03a3e,'data':_0x320a29,'createdAt':new Date(),'authorId':_0x3d120e,'attributes':_0x1698b4}),this[_0x1d2b('0xbe')](_0x1d2b('0x3f')+_0xd03a3e,_0x1244a6,_0x3d120e,_0x5671b2);}}return null;}[_0x1d2b('0xd5')](_0x564f53,_0x5f78a8,_0xce6ab2=[],_0x2bd0d1=null,_0x16bac5={}){_0x5f78a8[_0x1d2b('0x62')]||(_0x5f78a8[_0x1d2b('0x62')]=_0x5f78a8['commandName']),_0x5f78a8[_0x1d2b('0x29')]=_0x564f53['is'](_0x1d2b('0xfd')),_0x2bd0d1=_0x2bd0d1||Nt(_0x5f78a8);const _0x3e590b=_0xce6ab2[_0x1d2b('0x48')](_0x29c60a=>jt(_0x29c60a,this[_0x1d2b('0x87')])),_0xa0f713=_0x564f53['is'](_0x1d2b('0xfd'))?_0x564f53:jt(_0x564f53,this[_0x1d2b('0x87')]);if(_0x1d2b('0x53')===this[_0x1d2b('0xd4')]){const _0x1f3b70=this[_0x1d2b('0x119')][_0x1d2b('0xbc')](_0x1d2b('0x1d'),_0x2bd0d1,'accept');return this[_0x1d2b('0xfa')](()=>_0x1f3b70([_0xa0f713],_0x5f78a8,_0x16bac5)),null;}_0x3e590b[_0x1d2b('0x7c')](_0xa0f713);let _0x426d46=!0x0;for(const _0x43760a of _0x3e590b)if(!this['_rangeIsInLocalUserInsertion'](_0x43760a)){_0x426d46=!0x1;break;}if(_0x426d46&&_0x1d2b('0x71')!==this[_0x1d2b('0xd4')]){const _0x195333=this[_0x1d2b('0x119')][_0x1d2b('0xbc')](_0x1d2b('0x1d'),_0x2bd0d1,_0x1d2b('0xc'));return this[_0x1d2b('0xfa')](()=>_0x195333([_0xa0f713],_0x5f78a8,_0x16bac5)),null;}let _0x549276=null,_0x91d705=_0xa0f713[_0x1d2b('0xfc')],_0x40f7e4=_0xa0f713[_0x1d2b('0x59')];for(const {suggestion:_0x5e09f6,meta:_0x53d244}of this[_0x1d2b('0xbb')](_0xa0f713,_0x1d2b('0x1d'))){if(!_0x53d244['isOwn'])continue;if(_0x53d244[_0x1d2b('0x30')]||_0x53d244[_0x1d2b('0x8a')]||_0x53d244['isInsideObject'])continue;if(_0x5e09f6[_0x1d2b('0x2f')][_0x1d2b('0x62')]!=_0x5f78a8['formatGroupId'])continue;if(!Ot(_0x5e09f6,_0x16bac5))continue;const _0x102dab=_0x5e09f6[_0x1d2b('0x72')]();if(_0x5e09f6[_0x1d2b('0xa0')]==_0x2bd0d1){if(_0x102dab['containsRange'](_0xa0f713,!0x0))return null;_0x91d705=_0x91d705[_0x1d2b('0x6')](_0x102dab[_0x1d2b('0xfc')])?_0x91d705:_0x102dab[_0x1d2b('0xfc')],_0x40f7e4=_0x40f7e4[_0x1d2b('0x13c')](_0x102dab[_0x1d2b('0x59')])?_0x40f7e4:_0x102dab['end'],_0x549276?_0x102dab['start']['isBefore'](_0x549276[_0x1d2b('0x72')]()[_0x1d2b('0xfc')])?(_0x549276[_0x1d2b('0x78')](),_0x549276=_0x5e09f6):_0x5e09f6[_0x1d2b('0x78')]():_0x549276=_0x5e09f6;}else{const _0x2b31d1=_0xa0f713['getIntersection'](_0x102dab);this[_0x1d2b('0x3b')](_0x5e09f6,_0x2b31d1);}}const _0x39d90d=this[_0x1d2b('0x110')][_0x1d2b('0x10f')][_0x1d2b('0x4f')](_0x1d2b('0x92'))['me'],_0x3f2324=_0x430f0f(),_0x484b22=_0x39d90d['id'];if(_0x549276)return this[_0x1d2b('0x89')](_0x549276,this[_0x1d2b('0x87')][_0x1d2b('0x42')](_0x91d705,_0x40f7e4)),_0x549276;{const _0x29d2c1=this[_0x1d2b('0x131')]({'id':_0x3f2324,'type':_0x1d2b('0x7b')+_0x2bd0d1,'data':_0x5f78a8,'createdAt':new Date(),'authorId':_0x484b22,'attributes':_0x16bac5});return this['_addSuggestionMarker'](_0x1d2b('0x7b')+_0x2bd0d1,_0x3f2324,_0x484b22,this[_0x1d2b('0x87')][_0x1d2b('0x42')](_0x91d705,_0x40f7e4)),_0x29d2c1;}}['markMultiRangeBlockFormat'](_0x1f9ddb,_0x1b239a,_0x1b9b04=[],_0xdcd6aa=null,_0x7ae2d={}){_0x1b239a[_0x1d2b('0x62')]||(_0x1b239a[_0x1d2b('0x62')]=_0x1b239a['commandName']);const _0x1cfa31=_0x1f9ddb[0x0];_0x1b239a[_0x1d2b('0x29')]=_0x1cfa31['is'](_0x1d2b('0xfd')),_0xdcd6aa=_0xdcd6aa||Nt(_0x1b239a);const _0x45d302=_0x1b9b04[_0x1d2b('0x48')](_0x37b41c=>jt(_0x37b41c,this['_model'])),_0x2c0dda=_0x1cfa31['is']('range')?_0x1f9ddb:_0x1f9ddb[_0x1d2b('0x48')](_0x4c033c=>jt(_0x4c033c,this['_model']));if(_0x1d2b('0x53')===this['_trackFormatChanges']){const _0x251a98=this[_0x1d2b('0x119')][_0x1d2b('0xbc')](_0x1d2b('0x1d'),_0xdcd6aa,_0x1d2b('0xc'));return this[_0x1d2b('0xfa')](()=>_0x251a98(_0x2c0dda,_0x1b239a,_0x7ae2d)),null;}_0x45d302[_0x1d2b('0x7c')](..._0x2c0dda);let _0x40f0d4=!0x0;for(const _0x42f30a of _0x45d302)if(!this[_0x1d2b('0xa1')](_0x42f30a)){_0x40f0d4=!0x1;break;}if(_0x40f0d4&&_0x1d2b('0x71')!==this[_0x1d2b('0xd4')]){const _0x535c95=this[_0x1d2b('0x119')][_0x1d2b('0xbc')](_0x1d2b('0x1d'),_0xdcd6aa,_0x1d2b('0xc'));return this[_0x1d2b('0xfa')](()=>_0x535c95(_0x2c0dda,_0x1b239a,_0x7ae2d)),null;}const _0x47c50b=this[_0x1d2b('0x110')][_0x1d2b('0x10f')]['get'](_0x1d2b('0x92'))['me'];for(const _0x976dc1 of this[_0x1d2b('0x38')]()){if(_0x976dc1[_0x1d2b('0x13')]['id']!=_0x47c50b['id'])continue;if(_0x1d2b('0x1d')!=_0x976dc1[_0x1d2b('0x4')]||_0x976dc1[_0x1d2b('0x2f')]['formatGroupId']!=_0x1b239a[_0x1d2b('0x62')])continue;if(!Ot(_0x976dc1,_0x7ae2d))continue;const _0x50afb3=_0x976dc1[_0x1d2b('0xa0')]==_0xdcd6aa;for(let _0x411e0f=0x0;_0x411e0f<_0x2c0dda[_0x1d2b('0x90')];_0x411e0f++){const _0x59a82e=_0x2c0dda[_0x411e0f];for(const _0x2eceb9 of _0x976dc1[_0x1d2b('0x9b')]()){const _0x4e1fff=_0x2eceb9[_0x1d2b('0xc7')]();if(_0x59a82e[_0x1d2b('0xf2')](_0x4e1fff)){_0x50afb3?(_0x2c0dda['splice'](_0x411e0f,0x1),_0x411e0f--):_0x976dc1[_0x1d2b('0x13e')](_0x2eceb9[_0x1d2b('0xcd')]);break;}}}}if(0x0==_0x2c0dda[_0x1d2b('0x90')])return null;const _0x264ca4=this[_0x1d2b('0x119')][_0x1d2b('0xbc')]('formatBlock',_0xdcd6aa,_0x1d2b('0x10'));for(const _0x4db918 of this[_0x1d2b('0x38')]())if(_0x4db918[_0x1d2b('0x13')]['id']==_0x47c50b['id']&&_0x1d2b('0x1d')==_0x4db918['type']&&_0x4db918[_0x1d2b('0x2f')]['formatGroupId']==_0x1b239a[_0x1d2b('0x62')]&&_0x4db918['subType']==_0xdcd6aa&&Ot(_0x4db918,_0x7ae2d)&&(_0x264ca4(_0x4db918[_0x1d2b('0xef')](),_0x2c0dda)||_0x264ca4(_0x2c0dda,_0x4db918[_0x1d2b('0xef')]()))){for(const _0x29f09a of _0x2c0dda)_0x4db918[_0x1d2b('0x5b')](_0x29f09a);return _0x4db918;}const _0x34e2f1=_0x430f0f(),_0x255c1b=_0x47c50b['id'],_0x35d04c=_0x1d2b('0x7b')+_0xdcd6aa,_0x12690a=this[_0x1d2b('0x131')]({'id':_0x34e2f1,'type':_0x35d04c,'data':_0x1b239a,'createdAt':new Date(),'authorId':_0x255c1b,'attributes':_0x7ae2d});for(const _0x973136 of _0x2c0dda)this['_addSuggestionMarker'](_0x35d04c,_0x34e2f1,_0x255c1b,_0x973136,_0x24076c[_0x1d2b('0x142')]());return _0x12690a;}[_0x1d2b('0x79')](_0xf260c2,_0x20a874=null,_0x38e502={}){if(_0xf260c2[_0x1d2b('0xd9')])return null;const _0x381f82=this[_0x1d2b('0x110')]['plugins'][_0x1d2b('0x4f')](_0x1d2b('0x92'))['me'],_0x59f3f0=new _0x4a5f34(_0xf260c2[_0x1d2b('0xfc')],_0xf260c2[_0x1d2b('0x59')]);for(const {suggestion:_0x81bb7,meta:_0x588e0c}of this[_0x1d2b('0xbb')](_0x59f3f0,_0x1d2b('0x54')))if(_0x588e0c['isOwn']&&!_0x588e0c[_0x1d2b('0x30')]){if(_0x81bb7[_0x1d2b('0x52')]){const _0x222295=_0x81bb7[_0x1d2b('0xef')]()[_0x1d2b('0xcb')](_0x29f692=>_0x1d2b('0x68')!=_0x29f692[_0x1d2b('0x67')]['rootName']);_0x222295['every'](_0x3a1616=>_0x59f3f0[_0x1d2b('0xbd')](_0x3a1616,!0x0))&&_0x81bb7[_0x1d2b('0x9e')]();if(_0x222295[_0x1d2b('0x134')](_0x2e5b68=>_0x2e5b68[_0x1d2b('0xbd')](_0x59f3f0,!0x0))){const _0xac53bd=this['_suggestionFactory'][_0x1d2b('0xbc')](_0x1d2b('0x137'),_0x20a874,'accept');return this[_0x1d2b('0xfa')](()=>_0xac53bd([_0x59f3f0],null,_0x38e502)),null;}}else{const _0x379416=_0x59f3f0[_0x1d2b('0xde')](_0x81bb7[_0x1d2b('0x72')]());null!==_0x379416&&_0x81bb7[_0x1d2b('0x121')]([_0x379416],null,_0x38e502);}}if(_0x59f3f0[_0x1d2b('0x12c')](),_0x59f3f0[_0x1d2b('0xd9')]||_0x1d2b('0x68')==_0x59f3f0[_0x1d2b('0x67')][_0x1d2b('0x6f')])return null;let _0x15ef8b=null,_0x3bac71=_0x59f3f0[_0x1d2b('0xfc')],_0x4a9d18=_0x59f3f0[_0x1d2b('0x59')];const _0x53ee37=this[_0x1d2b('0xbb')](_0x59f3f0,_0x1d2b('0x137'));for(const {suggestion:_0x4f895e,meta:_0x57e94e}of _0x53ee37){const _0x53df38=this[_0x1d2b('0x87')][_0x1d2b('0x42')](_0x3bac71,_0x4a9d18);if(_0x57e94e[_0x1d2b('0x83')]&&(this[_0x1d2b('0x13b')]||!_0x57e94e[_0x1d2b('0x8a')]&&!_0x57e94e['isInsideObject'])){if(_0x4f895e[_0x1d2b('0x52')]){if(!Ot(_0x4f895e,_0x38e502))continue;let _0x569672=!0x0;for(const _0x45b3ac of _0x4f895e[_0x1d2b('0xef')]()){if(_0x45b3ac[_0x1d2b('0xbd')](_0x53df38,!0x0))return _0x4f895e;_0x53df38[_0x1d2b('0xbd')](_0x45b3ac)||(_0x569672=!0x1);}_0x569672&&_0x4f895e[_0x1d2b('0x9e')]();}else{const _0x12f13a=_0x4f895e[_0x1d2b('0x72')]();if(_0x12f13a[_0x1d2b('0xbd')](_0x53df38,!0x0))return _0x4f895e;if(!Ot(_0x4f895e,_0x38e502)){_0x53df38['containsRange'](_0x12f13a)?_0x4f895e[_0x1d2b('0x78')]():_0x12f13a['containsPosition'](_0x3bac71)?_0x3bac71=_0x12f13a[_0x1d2b('0x59')]:_0x12f13a[_0x1d2b('0xec')](_0x4a9d18)&&(_0x4a9d18=_0x12f13a['start']);continue;}_0x3bac71=_0x3bac71[_0x1d2b('0x6')](_0x12f13a['start'])?_0x3bac71:_0x12f13a[_0x1d2b('0xfc')],_0x4a9d18=_0x4a9d18[_0x1d2b('0x13c')](_0x12f13a[_0x1d2b('0x59')])?_0x4a9d18:_0x12f13a[_0x1d2b('0x59')],_0x38e502=Object[_0x1d2b('0xe6')]({},_0x4f895e[_0x1d2b('0x1b')]),_0x15ef8b?_0x12f13a['start']['isBefore'](_0x15ef8b[_0x1d2b('0x72')]()[_0x1d2b('0xfc')])?(_0x15ef8b[_0x1d2b('0x78')](),_0x15ef8b=_0x4f895e):_0x4f895e[_0x1d2b('0x78')]():_0x15ef8b=_0x4f895e;}}}if(_0x15ef8b)return this[_0x1d2b('0x89')](_0x15ef8b,this[_0x1d2b('0x87')][_0x1d2b('0x42')](_0x3bac71,_0x4a9d18)),_0x15ef8b;{const _0x13bd91=_0x430f0f(),_0x321363=this['_model'][_0x1d2b('0x42')](_0x3bac71,_0x4a9d18),_0x23570f=_0x381f82['id'],_0x17993a=_0x20a874?_0x1d2b('0x39')+_0x20a874:_0x1d2b('0x137'),_0x193760=this[_0x1d2b('0x131')]({'id':_0x13bd91,'type':_0x17993a,'createdAt':new Date(),'authorId':_0x23570f,'attributes':_0x38e502});return this[_0x1d2b('0xbe')](_0x17993a,_0x13bd91,_0x23570f,_0x321363),_0x193760;}}[_0x1d2b('0x108')](_0x5d8a40,_0xb752f4=_0x1d2b('0xdd'),_0x526822={}){const _0x33f25c=this[_0x1d2b('0x110')][_0x1d2b('0x10f')][_0x1d2b('0x4f')](_0x1d2b('0x92'))['me'],_0x2da843=_0x5d8a40[_0x1d2b('0x48')](_0x2af702=>new _0x4a5f34(_0x2af702[_0x1d2b('0xfc')],_0x2af702[_0x1d2b('0x59')])),_0x5d5e4c=new Set();for(const {suggestion:_0x4079d5,meta:_0xc2d44d}of this[_0x1d2b('0xbb')](_0x2da843,_0x1d2b('0x54')))_0xc2d44d['isOwn']&&!_0xc2d44d[_0x1d2b('0x30')]&&_0x5d5e4c[_0x1d2b('0xd')](_0x4079d5);for(const _0x9aabfc of _0x5d5e4c)if(_0x9aabfc[_0x1d2b('0x52')]){const _0x5a1c6f=_0x9aabfc[_0x1d2b('0xef')]();(!_0x9aabfc[_0x1d2b('0x1b')]||!_0x9aabfc[_0x1d2b('0x1b')][_0x1d2b('0x22')])&&(_0x5a1c6f[_0x1d2b('0x113')](_0x39e255=>_0x2da843[_0x1d2b('0x134')](_0x5acfb4=>_0x5acfb4[_0x1d2b('0xbd')](_0x39e255,!0x0)))&&_0x9aabfc[_0x1d2b('0x9e')]());if(_0x2da843[_0x1d2b('0x113')](_0x5f09ca=>_0x5a1c6f[_0x1d2b('0x134')](_0x43a727=>_0x43a727[_0x1d2b('0xbd')](_0x5f09ca,!0x0)))){const _0xfcde15=this['_suggestionFactory'][_0x1d2b('0xbc')]('deletion',_0xb752f4,_0x1d2b('0xc'));return this[_0x1d2b('0xfa')](()=>_0xfcde15(_0x5d8a40,null,_0x526822)),null;}}else{const _0x3ba487=_0x9aabfc[_0x1d2b('0x72')]();_0x2da843[_0x1d2b('0x134')](_0x2a2d12=>_0x2a2d12[_0x1d2b('0xbd')](_0x3ba487,!0x0))&&_0x9aabfc[_0x1d2b('0x9e')]();if(_0x2da843['every'](_0x353643=>_0x3ba487[_0x1d2b('0xbd')](_0x353643,!0x0))){const _0x55dfb1=this[_0x1d2b('0x119')][_0x1d2b('0xbc')](_0x1d2b('0x137'),_0xb752f4,_0x1d2b('0xc'));return this['forceDefaultExecution'](()=>_0x55dfb1(_0x2da843,null,_0x526822)),null;}}const _0x2bde48=this['_suggestionFactory'][_0x1d2b('0xbc')](_0x1d2b('0x137'),_0xb752f4,'join');let _0x42e3ea=null;for(const _0x2bb3c9 of this[_0x1d2b('0x38')]())if(_0x2bb3c9[_0x1d2b('0x13')]['id']==_0x33f25c['id']&&_0x2bb3c9['isInContent']&&_0x1d2b('0x137')==_0x2bb3c9[_0x1d2b('0x4')]&&_0x2bb3c9[_0x1d2b('0xa0')]==_0xb752f4&&Ot(_0x2bb3c9,_0x526822)&&(_0x2bde48(_0x2bb3c9[_0x1d2b('0xef')](),_0x2da843)||_0x2bde48(_0x2da843,_0x2bb3c9[_0x1d2b('0xef')]()))){if(_0x42e3ea){if(_0x2bb3c9[_0x1d2b('0x7f')]&&_0x2bb3c9[_0x1d2b('0x7f')][_0x1d2b('0x90')])continue;for(const _0x458b89 of _0x2bb3c9['getRanges']())_0x42e3ea['isIntersectingWithRange'](_0x458b89)||_0x42e3ea[_0x1d2b('0x5b')](_0x458b89);_0x2bb3c9[_0x1d2b('0x78')]();}else{_0x42e3ea=_0x2bb3c9;for(const _0x3370d3 of _0x2da843)_0x2bb3c9[_0x1d2b('0x12f')](_0x3370d3)||_0x2bb3c9[_0x1d2b('0x5b')](_0x3370d3);}}if(_0x42e3ea)return _0x42e3ea;_0x5d5e4c[_0x1d2b('0x99')]();for(const {suggestion:_0x1e73db,meta:_0x3bf6d8}of this['_findSuggestions'](_0x2da843,_0x1d2b('0x137')))_0x3bf6d8['isOwn']&&(this[_0x1d2b('0x13b')]||!_0x3bf6d8[_0x1d2b('0x8a')]&&!_0x3bf6d8['isInsideObject'])&&Ot(_0x1e73db,_0x526822)&&_0x5d5e4c['add'](_0x1e73db);for(const _0x5d5645 of _0x5d5e4c){const _0x2557dc=_0x5d5645[_0x1d2b('0xef')]();if(!_0x526822||!_0x526822['skipNestingCheck']){if(_0x2da843['every'](_0x37e72c=>_0x2557dc['some'](_0x52f1f3=>_0x52f1f3[_0x1d2b('0xbd')](_0x37e72c,!0x0))))return _0x5d5645;}(!_0x5d5645[_0x1d2b('0x1b')]||!_0x5d5645[_0x1d2b('0x1b')][_0x1d2b('0x22')])&&(_0x2557dc['every'](_0x15c333=>_0x2da843[_0x1d2b('0x134')](_0x5ec5c9=>_0x5ec5c9[_0x1d2b('0xbd')](_0x15c333,!0x0)))&&_0x5d5645[_0x1d2b('0x9e')]());}const _0x10b8c2=_0x430f0f(),_0x2d2922=_0x33f25c['id'],_0x5a8109=_0x1d2b('0x39')+_0xb752f4,_0x20f20b=this['_setSuggestionData']({'id':_0x10b8c2,'type':_0x5a8109,'createdAt':new Date(),'authorId':_0x2d2922,'attributes':_0x526822});for(const _0x1a24a1 of _0x2da843)_0x1a24a1['detach'](),_0x1a24a1[_0x1d2b('0xd9')]||_0x1d2b('0x68')==_0x1a24a1[_0x1d2b('0x67')][_0x1d2b('0x6f')]||this[_0x1d2b('0xbe')](_0x5a8109,_0x10b8c2,_0x2d2922,_0x1a24a1,_0x24076c[_0x1d2b('0x142')]());return _0x20f20b;}[_0x1d2b('0x89')](_0x4553ed,_0x251b6e){const _0x919392=_0x4553ed[_0x1d2b('0xb0')]();this['_model'][_0x1d2b('0x4d')](_0x3fcbe0=>{_0x3fcbe0[_0x1d2b('0x58')](_0x919392,{'range':_0x251b6e});});}[_0x1d2b('0x141')](_0x3fc2b4){const _0x3ee5df=_0x3fc2b4['id'],_0x953419=this['editor'][_0x1d2b('0xc4')][_0x1d2b('0x4f')](_0x1d2b('0x9d'));this[_0x1d2b('0xee')][_0x1d2b('0xb6')](_0x3ee5df)||this['_commentsRepository']['addCommentThread']({'channelId':_0x953419,'threadId':_0x3ee5df,'isResolvable':!0x1,'isSubmitted':!0x0});const _0xfb2084=this['_commentsRepository'][_0x1d2b('0x75')](_0x3ee5df);_0xfb2084[_0x1d2b('0xf9')](_0x1d2b('0x10e')),_0xfb2084['isRemovable']=!0x1,_0x3fc2b4[_0x1d2b('0x7f')]=_0xfb2084;}[_0x1d2b('0x56')](_0x16384b,_0x42dbb9,_0xde0755,_0xf1bbaf){if(_0x16384b[_0x1d2b('0x4')]!=_0x42dbb9||_0x16384b[_0x1d2b('0xa0')]!=_0xde0755||_0x16384b[_0x1d2b('0x100')]['id']!=_0xf1bbaf)throw this[_0x1d2b('0x110')]['enableReadOnlyMode'](_0x1d2b('0xd3')),new _0x2364b6(_0x1d2b('0xd3'),this);}[_0x1d2b('0x3b')](_0xc699b4,_0x497166){const _0x404412=_0xc699b4[_0x1d2b('0x72')]();if(_0x497166[_0x1d2b('0xf2')](_0x404412))_0xc699b4[_0x1d2b('0x78')]();else{if(_0x404412[_0x1d2b('0xbd')](_0x497166)){const _0x257448=this[_0x1d2b('0x87')]['createPositionAt'](_0x497166['start'][_0x1d2b('0xfb')],'end');this['_setSuggestionRange'](_0xc699b4,this[_0x1d2b('0x87')]['createRange'](_0x404412[_0x1d2b('0xfc')],_0x257448));const _0xcc2abd=_0x430f0f(),_0x4d3479=_0xc699b4[_0x1d2b('0x100')]['id'],_0x427709=_0xc699b4['type']+':'+_0xc699b4[_0x1d2b('0xa0')];this[_0x1d2b('0x131')]({'id':_0xcc2abd,'type':_0x427709,'createdAt':new Date(),'authorId':_0x4d3479,'data':_0xc699b4['data'],'attributes':_0xc699b4['attributes']});const _0x630e1c=this[_0x1d2b('0x87')][_0x1d2b('0x26')](_0x497166['end']['parent'],_0x1d2b('0x14')),_0x57e520=this[_0x1d2b('0x87')][_0x1d2b('0x42')](_0x630e1c,_0x404412[_0x1d2b('0x59')]);this[_0x1d2b('0xbe')](_0x427709,_0xcc2abd,_0x4d3479,_0x57e520);}else{if(_0x404412[_0x1d2b('0xec')](_0x497166[_0x1d2b('0xfc')])){const _0x1f4a3f=this[_0x1d2b('0x87')]['createPositionAt'](_0x497166[_0x1d2b('0xfc')][_0x1d2b('0xfb')],_0x1d2b('0x59'));this[_0x1d2b('0x89')](_0xc699b4,this[_0x1d2b('0x87')]['createRange'](_0x404412[_0x1d2b('0xfc')],_0x1f4a3f));}else{const _0x3b197a=this[_0x1d2b('0x87')]['createPositionAt'](_0x497166['end'][_0x1d2b('0x73')],_0x1d2b('0x14'));this[_0x1d2b('0x89')](_0xc699b4,this[_0x1d2b('0x87')][_0x1d2b('0x42')](_0x3b197a,_0x404412['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x4bec7d){for(const {suggestion:_0x10ab61,meta:_0x38487c}of this[_0x1d2b('0xbb')](_0x4bec7d,_0x1d2b('0x54'))){if(!_0x38487c['isOwn'])continue;const _0x2ecf7b=_0x10ab61['getRanges']();for(const _0x63940a of _0x2ecf7b)if(!_0x4bec7d[_0x1d2b('0x4e')](_0x63940a)[_0x1d2b('0x90')])return!0x0;}return!0x1;}[_0x1d2b('0xc9')](_0x10d9eb){const _0x108210=this[_0x1d2b('0x110')][_0x1d2b('0x10f')][_0x1d2b('0x4f')](_0x1d2b('0x92'))[_0x1d2b('0x70')](_0x10d9eb);if(!_0x108210)throw new _0x2364b6('track-changes-user-not-found',this);return _0x108210;}[_0x1d2b('0xc3')](_0x67e87c){const _0x21dcaa=this['editor'][_0x1d2b('0x10f')][_0x1d2b('0x4f')](_0x1d2b('0x92')),_0x143083=_0x4dc587(_0x1d2b('0x2e')+_0x67e87c),_0xa546bc=_0x21dcaa[_0x1d2b('0x70')](_0x143083);return _0xa546bc||_0x21dcaa[_0x1d2b('0x97')]({'id':_0x143083,'name':_0x67e87c});}['_createSuggestion'](_0x439d1e,_0x597e96,_0x3d44eb,_0x474a71,_0x3d68a1){const _0x2340ec=this[_0x1d2b('0xc9')](_0x474a71),_0x114b51=this[_0x1d2b('0x119')][_0x1d2b('0x37')](_0x439d1e,_0x597e96,_0x3d44eb,_0x2340ec,_0x3d68a1,_0x49accc=>this[_0x1d2b('0xa5')](_0x3d44eb,{'attributes':_0x49accc}));return this['listenTo'](_0x114b51,_0x1d2b('0xc'),()=>{this[_0x1d2b('0xa5')](_0x3d44eb,{'state':_0x1d2b('0x86')});},{'priority':'high'}),this['listenTo'](_0x114b51,_0x1d2b('0x9e'),()=>{this[_0x1d2b('0xa5')](_0x3d44eb,{'state':_0x1d2b('0x32')});},{'priority':_0x1d2b('0xb1')}),this[_0x1d2b('0x109')][_0x1d2b('0x105')](_0x3d44eb,_0x114b51),this[_0x1d2b('0xe3')]['set'](_0x114b51,_0x1d2b('0xce')),_0x114b51;}[_0x1d2b('0x44')](_0x156697){const _0x5eab49=_0x156697[_0x1d2b('0x5c')](':');return{'group':_0x5eab49[0x0],'type':_0x5eab49[0x1],'subType':_0x5eab49[_0x1d2b('0x90')]>=0x5?_0x5eab49[0x2]:null,'id':_0x5eab49[_0x1d2b('0x90')]<0x5?_0x5eab49[0x2]:_0x5eab49[0x3],'authorId':_0x5eab49[_0x1d2b('0x90')]<0x5?_0x5eab49[0x3]:_0x5eab49[0x4],'markerCount':0x6==_0x5eab49[_0x1d2b('0x90')]?_0x5eab49[0x5]:null};}[_0x1d2b('0xa2')](_0x3155ab,_0x1acca5,_0xbfb339){const _0x5f3f76=_0x3155ab['getFirstRange'](),_0x5aa6d5=_0x5f3f76[_0x1d2b('0xfc')],_0xc8ed53=_0x5f3f76['end'];this['_setSuggestionRange'](_0x3155ab,this[_0x1d2b('0x87')][_0x1d2b('0x42')](_0x5aa6d5,_0x1acca5));const _0x46de9d=_0x430f0f(),_0x4fde16=_0x3155ab[_0x1d2b('0x100')]['id'],_0x107820=_0x3155ab['type']+(_0x3155ab['subType']?':'+_0x3155ab[_0x1d2b('0xa0')]:'');this[_0x1d2b('0x131')]({'id':_0x46de9d,'type':_0x107820,'createdAt':new Date(),'authorId':_0x4fde16,'originalSuggestionId':_0x3155ab['id'],'attributes':_0x3155ab[_0x1d2b('0x1b')],'data':_0x3155ab[_0x1d2b('0x2f')]}),_0x1d2b('0x1d')==_0x3155ab[_0x1d2b('0x4')]&&(_0xbfb339=this[_0x1d2b('0x87')]['createPositionBefore'](_0xbfb339[_0x1d2b('0x73')])),this[_0x1d2b('0xbe')](_0x107820,_0x46de9d,_0x4fde16,this[_0x1d2b('0x87')][_0x1d2b('0x42')](_0xbfb339,_0xc8ed53));}[_0x1d2b('0xbb')](_0x3daa63,_0x188124=null){const _0x4dd44c=[],_0x2a86dd=this['editor'][_0x1d2b('0x10f')][_0x1d2b('0x4f')](_0x1d2b('0x92'))['me'];Array[_0x1d2b('0xea')](_0x3daa63)||(_0x3daa63=[_0x3daa63]);for(const _0x4337c1 of this['getSuggestions']()){if(!_0x4337c1['isInContent'])continue;if(_0x188124&&_0x4337c1[_0x1d2b('0x4')]!=_0x188124)continue;let _0x1af850=!0x1;for(const _0x3f310f of _0x4337c1[_0x1d2b('0xef')]()){for(const _0x2bb999 of _0x3daa63){const _0x4a6848=_0x2bb999[_0x1d2b('0xfc')][_0x1d2b('0xf2')](_0x3f310f[_0x1d2b('0x59')])||_0x2bb999[_0x1d2b('0x59')][_0x1d2b('0xf2')](_0x3f310f[_0x1d2b('0xfc')]);if(_0x4a6848||_0x2bb999['getIntersection'](_0x3f310f)){const _0x572fc6=_0x2bb999['containsRange'](_0x3f310f)&&_t(this[_0x1d2b('0x87')][_0x1d2b('0x6e')],_0x3f310f['start'],_0x2bb999),_0x18ef48=_0x3f310f['containsRange'](_0x2bb999)&&_t(this['_model'][_0x1d2b('0x6e')],_0x2bb999[_0x1d2b('0xfc')],_0x3f310f);_0x4dd44c[_0x1d2b('0x7c')]({'suggestion':_0x4337c1,'meta':{'isOwn':_0x2a86dd==_0x4337c1[_0x1d2b('0x13')],'isNextTo':_0x4a6848,'isInsideObject':_0x572fc6,'containsRangeInObject':_0x18ef48}}),_0x1af850=!0x0;break;}}if(_0x1af850)break;}}return _0x4dd44c;}['_addSuggestionMarker'](_0x3b932,_0x27f605,_0x254838,_0x26be88,_0x4cb826){this[_0x1d2b('0x87')][_0x1d2b('0x4d')](_0x4b1565=>{let _0x147632=_0x1d2b('0x34')+_0x3b932+':'+_0x27f605+':'+_0x254838;_0x4cb826&&(_0x147632=_0x147632+':'+_0x4cb826),_0x4b1565[_0x1d2b('0x55')](_0x147632,{'range':_0x26be88,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1d2b('0xed')](_0x3b2bfd){const _0x5503f0=_0x3b2bfd['previous'],_0x252a3a=_0x3b2bfd[_0x1d2b('0x6c')];_0x3b2bfd[_0x1d2b('0xb4')]=null,null!=_0x5503f0&&(_0x5503f0[_0x1d2b('0x6c')]=null),_0x3b2bfd[_0x1d2b('0x6c')]=null,null!=_0x252a3a&&(_0x252a3a[_0x1d2b('0xb4')]=null),_0x1d2b('0x1c')==this['_suggestionState'][_0x1d2b('0x4f')](_0x3b2bfd)&&(this[_0x1d2b('0xe3')][_0x1d2b('0x105')](_0x3b2bfd,_0x1d2b('0x102')),this['fire'](_0x1d2b('0x19'),_0x3b2bfd,_0x5503f0,_0x252a3a));}[_0x1d2b('0x131')](_0x5ca8c2){const _0x1790a0=_0x5ca8c2['id'],_0x455ca5=this[_0x1d2b('0xff')](_0x5ca8c2);if(this[_0x1d2b('0x31')]&&this[_0x1d2b('0x31')][_0x1d2b('0x2d')]){const _0x439e48=this[_0x1d2b('0x110')][_0x1d2b('0x10f')][_0x1d2b('0x4f')](_0x1d2b('0x124')),_0x1e0700=_0x455ca5[_0x1d2b('0x125')],_0x18d898=_0x455ca5[_0x1d2b('0xa0')]?_0x455ca5[_0x1d2b('0x4')]+':'+_0x455ca5[_0x1d2b('0xa0')]:_0x455ca5['type'],_0x12f889=this[_0x1d2b('0x110')][_0x1d2b('0x13a')],_0x4e49ad=_0x439e48['add'](_0xca3f4a(_0x12f889,_0x1d2b('0x127'))),_0x56f53e={'id':_0x1790a0,'type':_0x18d898,'hasComments':_0x1e0700,'data':_0x5ca8c2['data']||null,'originalSuggestionId':_0x5ca8c2[_0x1d2b('0x143')]||null,'attributes':_0x455ca5[_0x1d2b('0x1b')]};this[_0x1d2b('0x31')][_0x1d2b('0x2d')](_0x56f53e)['then'](_0x345bf9=>{_0x455ca5[_0x1d2b('0xa6')]=!0x0,_0x439e48[_0x1d2b('0x8c')](_0x4e49ad),_0x345bf9&&_0x345bf9[_0x1d2b('0xb2')]&&(this[_0x1d2b('0x109')][_0x1d2b('0x4f')](_0x1790a0)['createdAt']=_0x345bf9[_0x1d2b('0xb2')]);})[_0x1d2b('0xe')](_0x1070e9=>{throw _0x5efed4(_0x1d2b('0xcc')),this['editor'][_0x1d2b('0xca')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x455ca5[_0x1d2b('0x9e')]();}),_0x455ca5[_0x1d2b('0x35')](),this[_0x1d2b('0x109')][_0x1d2b('0x11d')](_0x455ca5['id']),this[_0x1d2b('0xe3')]['delete'](_0x455ca5),_0x1070e9;});}return _0x455ca5;}['_updateSuggestionData'](_0x39e117,_0x455098){const _0x1d0f59=this['editor'][_0x1d2b('0x10f')][_0x1d2b('0x4f')](_0x1d2b('0x124')),_0x394b89=this[_0x1d2b('0xc6')](_0x39e117);if(this[_0x1d2b('0x31')]&&this['_adapter'][_0x1d2b('0x77')]){if(_0x394b89[_0x1d2b('0xa6')]){const _0x45accb=_0x1d0f59[_0x1d2b('0xd')](_0xca3f4a(this[_0x1d2b('0x110')]['locale'],_0x1d2b('0x127')));this['_adapter']['updateSuggestion'](_0x39e117,_0x455098)[_0x1d2b('0x24')](()=>{_0x1d0f59[_0x1d2b('0x8c')](_0x45accb);});}else _0x394b89['on'](_0x1d2b('0x66'),()=>{this['_updateSuggestionData'](_0x39e117,_0x455098);});}}[_0x1d2b('0xb5')](_0x87648a){if(!this['_adapter']||!this[_0x1d2b('0x31')][_0x1d2b('0xc6')])throw new _0x2364b6(_0x1d2b('0x3d'),this);return this[_0x1d2b('0x31')][_0x1d2b('0xc6')](_0x87648a);}['_handleNewSuggestionMarker'](_0xf5542a){const {id:_0x688d73,type:_0x19293c,subType:_0x5a001d,authorId:_0x59e4c9}=this['_splitMarkerName'](_0xf5542a),_0x2f0c10=this[_0x1d2b('0x109')][_0x1d2b('0x4f')](_0x688d73)||this[_0x1d2b('0x5e')](_0x19293c,_0x5a001d,_0x688d73,_0x59e4c9,{});switch(this[_0x1d2b('0x56')](_0x2f0c10,_0x19293c,_0x5a001d,_0x59e4c9),this[_0x1d2b('0xe3')]['get'](_0x2f0c10)){case _0x1d2b('0xce'):this[_0x1d2b('0xb5')](_0x688d73)['then'](_0x52bdbb=>{let _0x4f674e=Promise[_0x1d2b('0xc2')]();_0x52bdbb[_0x1d2b('0x125')]&&(_0x4f674e=this[_0x1d2b('0xee')][_0x1d2b('0xb')]({'channelId':this[_0x1d2b('0x110')]['config'][_0x1d2b('0x4f')](_0x1d2b('0x9d')),'threadId':_0x688d73})),_0x4f674e['then'](()=>{this[_0x1d2b('0xff')](_0x52bdbb)[_0x1d2b('0xa6')]=!0x0;});}),this[_0x1d2b('0xe3')][_0x1d2b('0x105')](_0x2f0c10,_0x1d2b('0x11f'));break;case _0x1d2b('0x102'):this['_updateSuggestionData'](_0x688d73,{'state':_0x1d2b('0x12b')});case _0x1d2b('0x27'):this[_0x1d2b('0xe3')]['set'](_0x2f0c10,_0x1d2b('0x1c')),this[_0x1d2b('0x10a')](_0x1d2b('0x123'),_0x2f0c10);break;case _0x1d2b('0x1c'):this['fire']('suggestionChanged',_0x2f0c10);}return _0x2f0c10[_0x1d2b('0x106')](_0xf5542a),_0x2f0c10;}[_0x1d2b('0x0')](_0x208e09){const _0x1c6f1c=Array[_0x1d2b('0x2b')](_0x208e09)[_0x1d2b('0xcb')](_0x557377=>!_0x557377['isMultiRange']),_0x4422ee=this['getSuggestions']({'skipNotAttached':!0x0})[_0x1d2b('0xcb')](_0x5624ee=>!_0x5624ee[_0x1d2b('0x52')]),_0x49de0c=_0x4422ee[_0x1d2b('0xcb')](_0x4c23ee=>!_0x208e09[_0x1d2b('0x11')](_0x4c23ee)),_0xe25f33=new Map(_0x4422ee[_0x1d2b('0x48')](_0x1bb0eb=>[_0x1bb0eb,this[_0x1d2b('0x119')][_0x1d2b('0xbc')](_0x1bb0eb[_0x1d2b('0x4')],_0x1bb0eb[_0x1d2b('0xa0')],_0x1d2b('0x95'))])),_0x7d2e64=new Map(_0x4422ee[_0x1d2b('0x48')](_0x1bcebc=>[_0x1bcebc,_0x1bcebc[_0x1d2b('0x72')]()])),_0x2ab69e=new Set(),_0xedb298=new Set();for(let _0x1d03f5=0x0;_0x1d03f5<_0x1c6f1c[_0x1d2b('0x90')];_0x1d03f5++)_0x1f2c3a(_0x1c6f1c[_0x1d03f5],_0x1c6f1c,_0x1d03f5+0x1);for(let _0x1bc8d4=0x0;_0x1bc8d4<_0x1c6f1c[_0x1d2b('0x90')];_0x1bc8d4++)_0x1f2c3a(_0x1c6f1c[_0x1bc8d4],_0x49de0c,0x0);for(let _0x7b87e=0x0;_0x7b87e<_0x1c6f1c[_0x1d2b('0x90')];_0x7b87e++){const _0x3bb81a=_0x1c6f1c[_0x7b87e];!_0xedb298[_0x1d2b('0x11')](_0x3bb81a)&&_0x3bb81a['previous']&&(_0x3bb81a[_0x1d2b('0xb4')][_0x1d2b('0x6c')]===_0x3bb81a&&(_0x3bb81a[_0x1d2b('0xb4')][_0x1d2b('0x6c')]=null),_0x3bb81a['previous']=null),!_0x2ab69e[_0x1d2b('0x11')](_0x3bb81a)&&_0x3bb81a[_0x1d2b('0x6c')]&&(_0x3bb81a[_0x1d2b('0x6c')][_0x1d2b('0xb4')]===_0x3bb81a&&(_0x3bb81a['next']['previous']=null),_0x3bb81a[_0x1d2b('0x6c')]=null);}function _0x1f2c3a(_0x351082,_0x35e2de,_0x39c54c){for(let _0x2a002f=_0x39c54c;_0x2a002f<_0x35e2de[_0x1d2b('0x90')];_0x2a002f++){const _0x49aec4=_0x5adc62(_0x351082,_0x35e2de[_0x2a002f]);_0x49aec4&&(_0x49aec4[0x0]['next']=_0x49aec4[0x1],_0x49aec4[0x1][_0x1d2b('0xb4')]=_0x49aec4[0x0],_0x2ab69e['add'](_0x49aec4[0x0]),_0xedb298[_0x1d2b('0xd')](_0x49aec4[0x1]));}}function _0x5adc62(_0x230efa,_0x341a91){if(_0x230efa[_0x1d2b('0x13')]['id']!==_0x341a91['author']['id'])return null;const _0xdfea41=_0xe25f33[_0x1d2b('0x4f')](_0x230efa)(_0x230efa,_0x341a91,_0x7d2e64['get'](_0x230efa),_0x7d2e64[_0x1d2b('0x4f')](_0x341a91));if(!_0xdfea41)return null;return _0xe25f33[_0x1d2b('0x4f')](_0x341a91)(_0x230efa,_0x341a91,_0x7d2e64[_0x1d2b('0x4f')](_0x230efa),_0x7d2e64[_0x1d2b('0x4f')](_0x341a91))?_0xdfea41[0x1][_0x1d2b('0x7f')]&&_0xdfea41[0x1][_0x1d2b('0x7f')][_0x1d2b('0x90')]?null:_0xdfea41:null;}}[_0x1d2b('0x10c')](_0x5ede51){const _0x5df37d=Array[_0x1d2b('0x2b')](_0x5ede51),_0x4392d4=this[_0x1d2b('0x38')]({'skipNotAttached':!0x0}),_0x509a1a=_0x4392d4[_0x1d2b('0xcb')](_0x3c1b66=>!_0x5ede51[_0x1d2b('0x11')](_0x3c1b66)),_0x4d65d7=new Map(_0x5df37d[_0x1d2b('0x48')](_0x451512=>[_0x451512,this[_0x1d2b('0x119')][_0x1d2b('0xbc')](_0x451512[_0x1d2b('0x4')],_0x451512[_0x1d2b('0xa0')],_0x1d2b('0x10'))])),_0x1d46b0=new Map(_0x4392d4[_0x1d2b('0x48')](_0x541140=>[_0x541140,_0x541140[_0x1d2b('0xef')]()]));for(let _0x19b581=0x0;_0x19b581<_0x5df37d[_0x1d2b('0x90')];_0x19b581++){if(_0x4273a2(this,_0x5df37d[_0x19b581],_0x5df37d,_0x19b581+0x1))return!0x0;}for(let _0x6a0189=0x0;_0x6a0189<_0x5df37d[_0x1d2b('0x90')];_0x6a0189++){if(_0x4273a2(this,_0x5df37d[_0x6a0189],_0x509a1a,0x0))return!0x0;}return!0x1;function _0x4273a2(_0x33f86b,_0x2b11a0,_0x5747e8,_0x25fd34){for(let _0x8c3f70=_0x25fd34;_0x8c3f70<_0x5747e8['length'];_0x8c3f70++){const _0x3f6e55=_0x5747e8[_0x8c3f70];if(_0x3f6e55[_0x1d2b('0x4')]!==_0x2b11a0[_0x1d2b('0x4')]||_0x3f6e55[_0x1d2b('0x13')]['id']!==_0x2b11a0[_0x1d2b('0x13')]['id']||_0x3f6e55['subType']!==_0x2b11a0[_0x1d2b('0xa0')])continue;if(!Ut(_0x2b11a0,_0x3f6e55))continue;const _0x132a7a=_0x4d65d7[_0x1d2b('0x4f')](_0x2b11a0),_0x1a1537=_0x1d46b0['get'](_0x2b11a0),_0x3573af=_0x1d46b0[_0x1d2b('0x4f')](_0x3f6e55),_0x1bc386=_0x2b11a0[_0x1d2b('0x7f')]&&_0x2b11a0[_0x1d2b('0x7f')][_0x1d2b('0x90')],_0x5b70d8=_0x3f6e55['commentThread']&&_0x3f6e55['commentThread'][_0x1d2b('0x90')];if(!_0x1bc386&&_0x132a7a(_0x3573af,_0x1a1537))return _0x33f86b[_0x1d2b('0x128')](_0x3f6e55,_0x2b11a0),_0x1d46b0[_0x1d2b('0x11d')](_0x2b11a0),!0x0;if(!_0x5b70d8&&_0x132a7a(_0x1a1537,_0x3573af))return _0x33f86b['_joinSuggestions'](_0x2b11a0,_0x3f6e55),_0x1d46b0['delete'](_0x3f6e55),!0x0;}return!0x1;}}[_0x1d2b('0x128')](_0x457af9,_0x5d4e8b){if(_0x457af9['isMultiRange'])for(const _0x52d548 of _0x5d4e8b[_0x1d2b('0xef')]())_0x457af9['addRange'](_0x52d548);else{const _0x335baf=_0x5d4e8b[_0x1d2b('0x72')]()[_0x1d2b('0x59')];this['_setSuggestionRange'](_0x457af9,this[_0x1d2b('0x87')]['createRange'](_0x457af9[_0x1d2b('0x72')]()[_0x1d2b('0xfc')],_0x335baf));}_0x5d4e8b[_0x1d2b('0x78')]();}}class Bt{constructor(_0x44040c){this['_editor']=_0x44040c,this[_0x1d2b('0x87')]=_0x44040c['model'],this['_customCallbacks']=new Map(),this[_0x1d2b('0x8')]=new Map(),this[_0x1d2b('0x15')]();}[_0x1d2b('0x37')](_0x3a805c,_0x473d02,_0x1538dc,_0x618a66,_0x1fdbe6,_0x1fa21f){return new _0x24076c(this[_0x1d2b('0x87')],{'type':_0x3a805c,'subType':_0x473d02,'id':_0x1538dc,'author':_0x618a66,'creator':_0x618a66,'attributes':_0x1fdbe6,'onAttributesChange':_0x1fa21f,'onAccept':(..._0x7baa6)=>this[_0x1d2b('0xbc')](_0x3a805c,_0x473d02,_0x1d2b('0xc'))(..._0x7baa6),'onDiscard':(..._0x39b66c)=>this[_0x1d2b('0xbc')](_0x3a805c,_0x473d02,_0x1d2b('0x9e'))(..._0x39b66c)});}['registerCustomCallback'](_0x2655b1,_0x4a4cbb,_0x2f71c6,_0x2308f7){const _0x3e8fd8=_0x2655b1+':'+_0x4a4cbb+':'+_0x2f71c6;this[_0x1d2b('0x5')][_0x1d2b('0x105')](_0x3e8fd8,_0x2308f7);}[_0x1d2b('0xbc')](_0x136dab,_0x1df3e1,_0x187bdb){const _0x10fb99=_0x136dab+':'+_0x1df3e1+':'+_0x187bdb;return this[_0x1d2b('0x5')][_0x1d2b('0x4f')](_0x10fb99)||this['_defaultCallbacks'][_0x1d2b('0x4f')](_0x136dab+':'+_0x187bdb);}[_0x1d2b('0x15')](){const _0x4543f3=()=>!0x1,_0x3ff8db=_0x2cece0=>{_0x2cece0[_0x1d2b('0xae')]((_0x27c926,_0x3596dc)=>_0x27c926[_0x1d2b('0xfc')]['isBefore'](_0x3596dc['start'])?0x1:-0x1),this[_0x1d2b('0x87')][_0x1d2b('0x4d')](_0x8d334b=>{for(const _0x1157ba of _0x2cece0){let _0x4637e7;_0x4637e7=_0x1157ba[_0x1d2b('0x59')]['isAtEnd']&&_0x1157ba['end'][_0x1d2b('0x73')]==_0x1157ba[_0x1d2b('0xfc')]['nodeAfter']?_0x8d334b[_0x1d2b('0xe1')](_0x1157ba['start'][_0x1d2b('0xdf')],'on'):_0x8d334b[_0x1d2b('0xe1')](_0x1157ba),this[_0x1d2b('0x87')][_0x1d2b('0x4b')](_0x4637e7,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x291ff7=(_0x557ad1,_0x360746)=>{this[_0x1d2b('0x87')][_0x1d2b('0x4d')](_0x3b6b21=>{const {commandName:_0x3d49ea,commandParams:_0x48f372=[]}=_0x360746,_0x37f233=_0x557ad1[_0x1d2b('0x48')](_0xce7a38=>(Mt(_0xce7a38)&&(_0xce7a38=this['_model'][_0x1d2b('0x42')](_0xce7a38[_0x1d2b('0x59')])),_0xce7a38))[_0x1d2b('0xcb')](_0x246872=>_0x1d2b('0x68')!==_0x246872[_0x1d2b('0x67')][_0x1d2b('0x6f')]);if(_0x37f233['length']<0x1)return;const _0x432806=Array[_0x1d2b('0x2b')](this[_0x1d2b('0x87')]['document'][_0x1d2b('0x41')][_0x1d2b('0xef')]())[_0x1d2b('0x48')](_0x2fbd0f=>_0x4a5f34[_0x1d2b('0x12e')](_0x2fbd0f));_0x3b6b21[_0x1d2b('0x76')](_0x37f233);for(const _0x2243c4 of this['_editor'][_0x1d2b('0x33')][_0x1d2b('0x33')]())_0x2243c4['refresh']();_0x48f372[_0x1d2b('0x7c')]({'forceDefaultExecution':!0x0}),this[_0x1d2b('0x11e')][_0x1d2b('0x129')](_0x3d49ea,..._0x48f372);const _0x199e7b=_0x432806['filter'](_0x5e3dd6=>_0x1d2b('0x68')!=_0x5e3dd6[_0x1d2b('0x67')]['rootName']);_0x199e7b[_0x1d2b('0x90')]>0x0&&_0x3b6b21[_0x1d2b('0x76')](_0x199e7b);for(const _0x41ef13 of _0x432806)_0x41ef13['detach']();});},_0x27efa2=(_0xfd41e4,_0x301cc4)=>0x1==_0xfd41e4['length']&&0x1==_0x301cc4[_0x1d2b('0x90')]&&_0xfd41e4[0x0][_0x1d2b('0x59')][_0x1d2b('0xf2')](_0x301cc4[0x0][_0x1d2b('0xfc')]),_0x252f93=(_0x257a7f,_0x1e9dad,_0x39fdc7,_0x6dcdc0)=>xt(_0x257a7f,_0x1e9dad,_0x39fdc7,_0x6dcdc0,this['_model'])?[_0x257a7f,_0x1e9dad]:xt(_0x1e9dad,_0x257a7f,_0x6dcdc0,_0x39fdc7,this[_0x1d2b('0x87')])?[_0x1e9dad,_0x257a7f]:null;this[_0x1d2b('0x8')]['set'](_0x1d2b('0xf8'),_0x4543f3),this[_0x1d2b('0x8')]['set'](_0x1d2b('0x8e'),_0x3ff8db),this['_defaultCallbacks'][_0x1d2b('0x105')](_0x1d2b('0xd2'),_0x27efa2),this['_defaultCallbacks'][_0x1d2b('0x105')](_0x1d2b('0xc8'),_0x252f93),this[_0x1d2b('0x8')][_0x1d2b('0x105')]('deletion:accept',_0x3ff8db),this[_0x1d2b('0x8')][_0x1d2b('0x105')](_0x1d2b('0x8d'),_0x4543f3),this['_defaultCallbacks']['set'](_0x1d2b('0xe4'),_0x27efa2),this['_defaultCallbacks'][_0x1d2b('0x105')](_0x1d2b('0xc0'),_0x252f93),this[_0x1d2b('0x8')][_0x1d2b('0x105')]('formatInline:accept',_0x291ff7),this[_0x1d2b('0x8')][_0x1d2b('0x105')]('formatInline:discard',_0x4543f3),this['_defaultCallbacks'][_0x1d2b('0x105')](_0x1d2b('0xb9'),_0x27efa2),this[_0x1d2b('0x8')]['set'](_0x1d2b('0x16'),_0x4543f3),this['_defaultCallbacks'][_0x1d2b('0x105')](_0x1d2b('0x10d'),_0x291ff7),this['_defaultCallbacks'][_0x1d2b('0x105')](_0x1d2b('0x9'),_0x4543f3),this[_0x1d2b('0x8')][_0x1d2b('0x105')](_0x1d2b('0x133'),_0x27efa2),this['_defaultCallbacks'][_0x1d2b('0x105')](_0x1d2b('0x23'),_0x4543f3);}}function _t(_0x376ca5,_0x3ac431,_0x2f7de0){for(const _0xd14bd9 of _0x3ac431[_0x1d2b('0x73')][_0x1d2b('0x5f')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xd14bd9[_0x1d2b('0x67')]==_0xd14bd9)return!0x1;if(!_0x2f7de0[_0x1d2b('0x82')](_0xd14bd9))return!0x1;if(_0x376ca5[_0x1d2b('0x8f')](_0xd14bd9)||_0x376ca5[_0x1d2b('0xa3')](_0xd14bd9))return!0x0;}return!0x1;}function Mt(_0x8fdcef){return _0x8fdcef[_0x1d2b('0x59')]['parent']==_0x8fdcef[_0x1d2b('0xfc')][_0x1d2b('0xdf')]&&_0x8fdcef[_0x1d2b('0x59')][_0x1d2b('0xe9')];}function $t(_0x2cdd98,_0x2fd3ad,_0x3106e0,_0x3d3855){const _0x238018=_0x1ff103=>!_0x1ff103[_0x1d2b('0xa7')]['is'](_0x1d2b('0xe8'))&&!_0x3d3855['isObject'](_0x1ff103[_0x1d2b('0xa7')]),_0x1704fa=_0x2cdd98[_0x1d2b('0xfc')][_0x1d2b('0x45')](_0x238018),_0x4ca18a=_0x2cdd98[_0x1d2b('0x59')][_0x1d2b('0x45')](_0x238018,{'direction':_0x1d2b('0x84')});return(!_0x2cdd98['start']['isEqual'](_0x1704fa)||!_0x2cdd98['end'][_0x1d2b('0xf2')](_0x4ca18a))&&(_0x1704fa[_0x1d2b('0x6')](_0x4ca18a)?_0x3106e0['updateMarker'](_0x2fd3ad,{'range':_0x3106e0[_0x1d2b('0x42')](_0x1704fa,_0x4ca18a)}):_0x3106e0[_0x1d2b('0x13e')](_0x2fd3ad),!0x0);}function Nt(_0x3550b7){return _0x4dc587(_0x3550b7);}function Rt(_0xf92535){const _0x392add=_0xf92535[_0x1d2b('0xfc')][_0x1d2b('0xdf')];return _0x392add&&_0x392add['is'](_0x1d2b('0x81'));}function jt(_0x3be507,_0x1c2b85){const _0x3f2e5d=_0x1c2b85['schema'][_0x1d2b('0x8f')](_0x3be507)||_0x1c2b85[_0x1d2b('0x6e')][_0x1d2b('0xaf')](_0x3be507);return _0x1c2b85[_0x1d2b('0x42')](_0x1c2b85[_0x1d2b('0x26')](_0x3be507,'before'),_0x3f2e5d?_0x1c2b85[_0x1d2b('0x12')](_0x3be507):_0x1c2b85['createPositionAt'](_0x3be507,_0x1d2b('0x59')));}function xt(_0x999262,_0x5a36d1,_0x251abd,_0x3032b0,_0x57bc3c){if(!Ut(_0x999262,_0x5a36d1))return!0x1;if(_0x251abd[_0x1d2b('0x59')][_0x1d2b('0xf2')](_0x3032b0[_0x1d2b('0xfc')]))return!0x0;if(_0x999262[_0x1d2b('0x4')]!=_0x5a36d1[_0x1d2b('0x4')])return!0x1;if(!_0x251abd['end'][_0x1d2b('0xd6')](_0x3032b0[_0x1d2b('0xfc')]))return!0x1;const _0x4be669=_0x57bc3c[_0x1d2b('0x42')](_0x251abd['end'],_0x3032b0[_0x1d2b('0xfc')])[_0x1d2b('0xd7')]();for(const _0x238920 of _0x4be669)if([_0x1d2b('0x2'),_0x1d2b('0x4c')][_0x1d2b('0xd8')](_0x238920[_0x1d2b('0x4')])&&_0x57bc3c[_0x1d2b('0x6e')][_0x1d2b('0xa3')](_0x238920[_0x1d2b('0xa7')]))return!0x1;return!0x0;}function Ut(_0x778338,_0x43c366){return!(!_0x778338[_0x1d2b('0x13f')]||!_0x43c366[_0x1d2b('0x13f')])&&_0x470561(_0x778338[_0x1d2b('0x1b')],_0x43c366[_0x1d2b('0x1b')]);}function Ot(_0x4f38a0,_0xdb2c34){const _0x2dfc1e=Et(_0x4f38a0[_0x1d2b('0x1b')]),_0x29edce=Et(_0xdb2c34);if(!_0x4f38a0[_0x1d2b('0x13f')])return!0x1;for(const _0x5244e9 of Object[_0x1d2b('0x5d')](_0x29edce))if(!_0x470561(_0x2dfc1e[_0x5244e9],_0x29edce[_0x5244e9]))return!0x1;return!0x0;}function Et(_0x121fc9){const _0x2ce7a8=Object['assign']({},_0x121fc9);return delete _0x2ce7a8['skipNestingCheck'],delete _0x2ce7a8[_0x1d2b('0x11a')],_0x2ce7a8;}
23
+ const _0x45a7=['every','consume','_addThreadToSuggestion','_breakSuggestionMarker','isAtEnd','acceptSelectedSuggestions','authorName','type','isArray','setAttribute','isExternal','getLastMatchingPosition','editingDowncast','external:','isMultiRange','_createSuggestion','consumable','buildSuggestion','fromRange','track-changes-suggestion-not-found','PENDING_ACTION_SUGGESTION','element','set','assign','setSelection','createdAt','splice','root','suggestionLoaded','open','then','dataReady','unbindElementFromMarkerName','getChangedMarkers','isInContent','$graveyard','nodeBefore','enableReadOnlyMode','createPositionAt','substr','ck-suggestion-marker--active','creator','containerElement','markBlockFormat','filter','_editor','addCommentThread','_trackFormatChanges','getFirstMarker','createRangeIn','after','getSuggestionCallback','howMany','values','define','editing','discardSuggestion','lowest','oldRange','getSuggestion','insertion:accept','range','toViewElement','_suggestionFactory','_suggestionState','insert','createElement','formatBlock:','skipNestingCheck','commands','markerName','getAncestors','formatBlock:join','from','attributes','isIntersectingWithRange','_onDiscard','marker-count','some','removeAttribute','markInlineFormat','removeClass','model','get','toJSON','originalSuggestionId','CommentsRepository','trackChangesCommand','has','start','resolve','isSelectable','applyOperation','updateMarker','isBlock','includes','always','backward','formatBlock','registerPostFixer','getSuggestions','getRange','getWalker','getAllAdjacentSuggestions','insertion:','listenTo','trackChanges.trackFormatChanges','$marker','value','parent','unbind','_isForcedDefaultExecutionBlock','normal','addSuggestionData','low','_splitMarkerName','editor','removeMarkers','adapter','elementEnd','createPositionAfter','_findSuggestions','_enabledCommands','getAttribute','hasSuggestion','commandName','plugins','addRange','reconvertMarker','markerNameToElements','_setSuggestionData','getCommentThread','accept','markInsertion','showSuggestionHighlights','addUser','formatInline','data','PendingActions','@external','createSelection','_rangeIsInLocalUserInsertion','_setSuggestionRange','markMultiRangeInsertion','rethrowUnexpectedError','addHighlight','multipleBlocks','_mergeNestedSuggestions','targetPosition','mapper','move','clear','suggestion-type','rejected','item','suggestionUnloaded','track-changes-adapter-missing-getsuggestion','suggestion:','isEqual','isOwn','formatGroupId','init','batch','tablePasteChainId','deletion:','change:data','_commentsRepository','collaboration.channelId','delete','addSuggestion','requires','nodeAfter','clone','_adapter','updateSuggestion','rootName','getMultiRangeId','_getSuggestionData','getNearestSelectionRange','formatInline:accept','getUser','insertion:discard','trackChanges.mergeNestedSuggestions','next','ck-suggestion-marker-','containsRangeInObject','getShiftedBy','stop','writer','enableCommand','formatInline:','change:activeMarkers','markerReady','high','head','notReady','getMarkers','deletion:join','insertContent','_getAuthorFromId','_joinSuggestions','_removeSuggestion','previous','splitPosition','isCollapsed','end','options','removeComment','track-changes-command-not-found','accepted','upcast','track-changes-suggestion-data-mismatch','default','getIntersection','suggestionChanged','containsRange','remove','TrackChangesEditing','elementToElement','_cutOutSuggestionMarker','getChanges','isNextTo','containsPosition','schema','addClass','return','addMarker:suggestion:formatBlock','_joinWithAdjacentSuggestions','_updateSuggestionData','removeMarker','split','markers','keys','acceptSuggestion','ck-suggestion-marker','document','position','_suggestions','size','deletion:accept','isRemovable','formatBlock:accept','_model','isLimit','execute','forceDefaultExecution','map','markDeletion','discardAllSuggestions','subType','isAfter','stopListening','detach','markMultiRangeDeletion','getFirstRange','never','insertion:chain','deleteContent','fire','hasComments','ready','insertion','Users','data-suggestion','name','_handleNewSuggestionMarker','sort','addComment','setTo','differ','deletion','getRanges','author','addMarkerName','removed','_registerDefaultCallbacks','getCustomProperty','push','bindElementToMarker','markerToHighlight','discardSelectedSuggestions','_getExternalAuthor','_saved','_isDataLoaded','newRange','moveTargetPosition','isUndo','elementStart','$textProxy','acceptAllSuggestions','_customCallbacks','length','for','_refreshSuggestionsChain','createRange','fetchCommentThread','chain','removeMarker:suggestion:formatBlock','authoredAt','isBefore','commentThread','dataDowncast','ck-suggestion-marker-formatBlock','createPositionBefore','config','_checkSuggestionCorrectness','_addSuggestionMarker','conversion','_defaultCallbacks','change','formatInline:discard','update:suggestion','discard','before','activeMarkers','add','isObject','trackChanges','locale','join','suggestion'];(function(_0x1f7048,_0x45a766){const _0x44db5f=function(_0x561c8a){while(--_0x561c8a){_0x1f7048['push'](_0x1f7048['shift']());}};_0x44db5f(++_0x45a766);}(_0x45a7,0xe8));const _0x44db=function(_0x1f7048,_0x45a766){_0x1f7048=_0x1f7048-0x0;let _0x44db5f=_0x45a7[_0x1f7048];return _0x44db5f;};import{Plugin as _0x174a5d,PendingActions as _0x357630}from'ckeditor5/src/core';import{LiveRange as _0x408c9a}from'ckeditor5/src/engine';import{CKEditorError as _0x3aca7c,uid as _0x2ee776,priorities as _0x49f909,logWarning as _0x10c94e}from'ckeditor5/src/utils';import{toWidget as _0x241972}from'ckeditor5/src/widget';import{Users as _0x546345,hashObject as _0x5d6662}from'ckeditor5-collaboration/src/collaboration-core';import _0x2dedd6 from'./commands/trackchangescommand';import _0x3e11d3 from'./commands/acceptsuggestioncommand';import _0x1f02c5 from'./commands/discardsuggestioncommand';import _0x3f0f47 from'./commands/executeonallsuggestionscommand';import _0x43143f from'./commands/executeonselectedsuggestionscommand';import _0x30870e from'./suggestion';import _0x63b8be from'./suggestiondescriptionfactory';import _0xd75241 from'./integrations/aiassistant';import _0x197338 from'./integrations/alignment';import _0x5234cc from'./integrations/basicstyles';import _0x304747 from'./integrations/blockquote';import _0x5ed4d1 from'./integrations/ckbox';import _0x3b28de from'./integrations/codeblock';import _0x3085f0 from'./integrations/comments';import _0x3217cc from'./integrations/deletecommand';import _0x4eb8a3 from'./integrations/documentlist';import _0xec6304 from'./integrations/entercommand';import _0x422221 from'./integrations/findandreplace';import _0x79eeec from'./integrations/font';import _0x20b188 from'./integrations/formatpainter';import _0x90187e from'./integrations/heading';import _0x1f49d7 from'./integrations/highlight';import _0x2c22c2 from'./integrations/horizontalline';import _0x5ef466 from'./integrations/htmlembed';import _0x3fe144 from'./integrations/image';import _0x3d2e8d from'./integrations/imagereplace';import _0x452f6f from'./integrations/importword';import _0xa23e24 from'./integrations/indent';import _0x110d34 from'./integrations/inputcommand';import _0x1d03b2 from'./integrations/link';import _0x4ddef0 from'./integrations/list';import _0x51433e from'./integrations/listproperties';import _0x405ce7 from'./integrations/mediaembed';import _0x3562fd from'./integrations/mention';import _0x50c069 from'./integrations/pagebreak';import _0xa310c3 from'./integrations/paragraph';import _0x438dd1 from'./integrations/removeformat';import _0x19b923 from'./integrations/restrictededitingmode';import _0x55246b from'./integrations/shiftentercommand';import _0x378e48 from'./integrations/standardeditingmode';import _0x236074 from'./integrations/style';import _0x57ab3f from'./integrations/table';import _0x52d5db from'./integrations/tablemergesplit';import _0x1a47d5 from'./integrations/tableheadings';import _0x216d32 from'./integrations/tableclipboard';import _0x4f8383 from'./integrations/tablecolumnresize';import _0x3eba9e from'./integrations/template';import _0x181c5f from'./integrations/tableofcontents';import _0x3ebd0a from'./integrations/title';import _0x158d6c from'./integrations/undo';import{getTranslation as _0x1e3427}from'./utils/common-translations';import _0x4d5fac from'./integrations/tablecaption';import _0x1855bc from'./integrations/documentlistproperties';import _0x47de4d from'./integrations/tableproperties';import{isEqual as _0x570e25}from'lodash-es';export default class p extends _0x174a5d{static get[_0x44db('0x103')](){return[_0x44db('0xaf'),_0x546345,_0x357630,_0xd75241,_0x197338,_0x5234cc,_0x304747,_0x5ed4d1,_0x3b28de,_0x3085f0,_0x3217cc,_0x4eb8a3,_0x1855bc,_0xec6304,_0x422221,_0x79eeec,_0x20b188,_0x90187e,_0x1f49d7,_0x2c22c2,_0x5ef466,_0x3fe144,_0x3d2e8d,_0x452f6f,_0xa23e24,_0x110d34,_0x1d03b2,_0x4ddef0,_0x51433e,_0x405ce7,_0x3562fd,_0x50c069,_0xa310c3,_0x438dd1,_0x19b923,_0x55246b,_0x378e48,_0x236074,_0x57ab3f,_0x52d5db,_0x1a47d5,_0x4d5fac,_0x216d32,_0x4f8383,_0x181c5f,_0x47de4d,_0x3eba9e,_0x3ebd0a,_0x158d6c];}static get['pluginName'](){return _0x44db('0x132');}constructor(_0xd78352){function _0x55065f(_0x446574){return _0x446574[_0x44db('0xe')](_0x3cbf28=>String['fromCharCode'](_0x3cbf28))[_0x44db('0x57')]('');}super(_0xd78352),this[_0x44db('0x6f')](_0x44db('0x52'),[]),this['on'](_0x44db('0x118'),(_0x8d9817,_0x146d3f,_0x35fbd6,_0x5bad3b)=>{this['_model'][_0x44db('0x4d')](()=>{for(const _0x1d4c47 of[..._0x5bad3b,..._0x35fbd6])this[_0x44db('0xa')][_0x44db('0x140')][_0x44db('0xb1')](_0x1d4c47)&&_0xd78352[_0x44db('0x90')][_0x44db('0xd9')](_0x1d4c47);});}),this['_descriptionFactory']=new _0x63b8be(this['editor'][_0x44db('0xab')]['schema'],this[_0x44db('0xcd')][_0x44db('0x56')]),this[_0x44db('0x106')]=null,this[_0x44db('0x98')]=new Bt(this[_0x44db('0xcd')]),this[_0x44db('0x5')]=new Map(),this[_0x44db('0xff')]=_0xd78352['plugins'][_0x44db('0xac')]('CommentsRepository'),this[_0x44db('0xd3')]=new Set(),this[_0x44db('0xa')]=this[_0x44db('0xcd')]['model'],this['_suggestionState']=new WeakMap(),this[_0x44db('0xc8')]=!0x1,_0xd78352[_0x44db('0x48')][_0x44db('0x8f')](_0x44db('0xc3'),_0x44db('0x12d')),this[_0x44db('0x88')]=_0xd78352[_0x44db('0x48')]['get'](_0x44db('0xc3')),_0xd78352[_0x44db('0x48')][_0x44db('0x8f')](_0x44db('0x10f'),!0x0),this[_0x44db('0xec')]=_0xd78352[_0x44db('0x48')]['get'](_0x44db('0x10f')),this[_0x44db('0xb0')]=new _0x2dedd6(_0xd78352,this['_enabledCommands']),this[_0x55065f([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x55065f([0x34,0x30,0x34,0x36,0x32,0x30,0x36,0x30]);}[_0x44db('0xfa')](){const _0x13bc1e=this[_0x44db('0xcd')];_0x13bc1e[_0x44db('0x4b')]['for']('editingDowncast')[_0x44db('0x2f')]({'model':_0x44db('0x58'),'view':_0x3afd98=>{const {id:_0x32fc8e,type:_0x12d6a1}=this[_0x44db('0xcc')](_0x3afd98['markerName']),_0x3fccce=[_0x44db('0x2'),_0x44db('0x111')+_0x12d6a1];let _0x7c6629=0xbb8;return this[_0x44db('0x52')][_0x44db('0xb8')](_0x3afd98[_0x44db('0x9f')])&&(_0x3fccce[_0x44db('0x2d')](_0x44db('0x81')),_0x7c6629=0xbc2),_0x44db('0x26')==_0x12d6a1&&(_0x7c6629+=0x5),{'classes':_0x3fccce,'attributes':{'data-suggestion':_0x32fc8e},'priority':_0x7c6629};}}),_0x13bc1e[_0x44db('0x4b')][_0x44db('0x3c')]('dataDowncast')[_0x44db('0x53')](_0x4ebe7f=>{_0x4ebe7f['on']('addMarker:suggestion',(_0x539991,_0x23a032,_0x3948cd)=>{if(!_0x3948cd['options'][_0x44db('0xdf')])return;const _0x4ee82d=_0x23a032['item'];if(!_0x4ee82d)return;const _0x58deec=_0x3948cd['mapper'][_0x44db('0x97')](_0x4ee82d);_0x13bc1e['model'][_0x44db('0x138')][_0x44db('0x54')](_0x4ee82d)&&_0x58deec&&!_0x58deec['getCustomProperty']('widget')&&_0x58deec['is'](_0x44db('0x83'))&&_0x241972(_0x58deec,_0x3948cd[_0x44db('0x115')]);},{'priority':_0x44db('0x11a')});}),_0x13bc1e[_0x44db('0x4b')][_0x44db('0x3c')](_0x44db('0x45'))[_0x44db('0x2f')]({'model':'suggestion','view':(_0x19d4e1,_0x236e3d)=>{if(!_0x236e3d[_0x44db('0x127')]['showSuggestionHighlights'])return null;const {type:_0x1a45ce}=this[_0x44db('0xcc')](_0x19d4e1[_0x44db('0x9f')]);return{'classes':[_0x44db('0x2'),_0x44db('0x111')+_0x1a45ce],'priority':0xbb8};}});const _0x311a25=({showActiveMarkers:_0x227e11=!0x0}={})=>(_0x3817fc,_0x4f9076,_0x48456e)=>{if(!_0x4f9076[_0x44db('0xf3')])return;if(_0x4f9076[_0x44db('0xf3')]['is']('selection'))return void _0x48456e[_0x44db('0x69')][_0x44db('0x5a')](_0x4f9076[_0x44db('0xf3')],_0x3817fc[_0x44db('0x20')]);const _0x2bad37=_0x48456e['mapper'][_0x44db('0x97')](_0x4f9076[_0x44db('0xf3')]);if(!(_0x4f9076[_0x44db('0xf3')]['is']('element')&&_0x13bc1e['model'][_0x44db('0x138')]['isBlock'](_0x4f9076[_0x44db('0xf3')])&&!_0x2bad37[_0x44db('0x2c')](_0x44db('0xea'))))return;const {id:_0x180abe}=this['_splitMarkerName'](_0x4f9076[_0x44db('0x9f')]);_0x48456e[_0x44db('0x115')][_0x44db('0x139')]([_0x44db('0x2'),_0x44db('0x46')],_0x2bad37),_0x48456e[_0x44db('0x115')][_0x44db('0x62')](_0x44db('0x1f'),_0x180abe,_0x2bad37),_0x48456e[_0x44db('0xee')][_0x44db('0x2e')](_0x2bad37,_0x4f9076['markerName']),_0x227e11&&(this[_0x44db('0x52')][_0x44db('0xb8')](_0x4f9076[_0x44db('0x9f')])?_0x48456e[_0x44db('0x115')][_0x44db('0x139')]('ck-suggestion-marker--active',_0x2bad37):_0x48456e['writer'][_0x44db('0xaa')]('ck-suggestion-marker--active',_0x2bad37));for(const _0x4af994 of _0x13bc1e[_0x44db('0xab')][_0x44db('0x8a')](_0x4f9076[_0x44db('0xf3')])['getItems']())_0x48456e[_0x44db('0x69')][_0x44db('0x5a')](_0x4af994,_0x3817fc[_0x44db('0x20')]);_0x48456e[_0x44db('0x69')][_0x44db('0x5a')](_0x4f9076['item'],_0x3817fc[_0x44db('0x20')]);};_0x13bc1e['conversion'][_0x44db('0x3c')](_0x44db('0x45'))[_0x44db('0x53')](_0xa35221=>{_0xa35221['on']('addMarker:suggestion:formatBlock',(_0x319131,_0x1c5705,_0x5e7d31)=>{_0x5e7d31[_0x44db('0x127')][_0x44db('0xdf')]&&_0x311a25({'showActiveMarkers':!0x1})(_0x319131,_0x1c5705,_0x5e7d31);},{'priority':'highest'});}),_0x13bc1e[_0x44db('0x4b')][_0x44db('0x3c')](_0x44db('0x45'))['markerToData']({'model':_0x44db('0x58'),'view':(_0x439d54,_0x5aef9a)=>_0x5aef9a[_0x44db('0x127')]['showSuggestionHighlights']?null:{'group':_0x44db('0x58'),'name':_0x439d54[_0x44db('0x80')](0xb)}}),_0x13bc1e['conversion'][_0x44db('0x3c')](_0x44db('0x12b'))[_0x44db('0x133')]({'view':{'name':_0x44db('0x58'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4e2f00,{writer:_0xa0631c})=>{let _0x1d3c53=_0x44db('0xf6')+_0x4e2f00[_0x44db('0xd4')](_0x44db('0xf1'))+':'+_0x4e2f00['getAttribute']('id');return _0x4e2f00[_0x44db('0xd4')](_0x44db('0xa6'))&&(_0x1d3c53+=':'+_0x4e2f00[_0x44db('0xd4')](_0x44db('0xa6'))),_0xa0631c[_0x44db('0x9b')](_0x44db('0xc4'),{'data-name':_0x1d3c53});}}),_0x13bc1e[_0x44db('0x4b')][_0x44db('0x3c')](_0x44db('0x12b'))['dataToMarker']({'view':'suggestion'}),_0x13bc1e[_0x44db('0x4b')][_0x44db('0x3c')](_0x44db('0x65'))['add'](_0x548eac=>{_0x548eac['on'](_0x44db('0x13b'),_0x311a25(),{'priority':_0x44db('0x11a')});}),_0x13bc1e[_0x44db('0x4b')][_0x44db('0x3c')](_0x44db('0x65'))[_0x44db('0x53')](_0x5c680f=>{_0x5c680f['on'](_0x44db('0x41'),(_0x491a0a,_0x4917a4,_0x52adb6)=>{const _0x489931=_0x52adb6[_0x44db('0xee')][_0x44db('0xda')](_0x4917a4['markerName']);if(_0x489931)for(const _0x2840ad of _0x489931)_0x2840ad[_0x44db('0x2c')](_0x44db('0xea'))||(_0x52adb6[_0x44db('0x115')][_0x44db('0xaa')]([_0x44db('0x2'),_0x44db('0x46'),_0x44db('0x81')],_0x2840ad),_0x52adb6[_0x44db('0x115')][_0x44db('0xa8')](_0x44db('0x1f'),_0x2840ad),_0x52adb6[_0x44db('0xee')][_0x44db('0x79')](_0x2840ad,_0x4917a4['markerName']));},{'priority':_0x44db('0x11a')});}),_0x13bc1e[_0x44db('0xab')][_0x44db('0x3')][_0x44db('0xbc')](_0x10d46e=>{let _0x550b27=!0x1;const _0x36c558=Array[_0x44db('0xa2')](_0x13bc1e[_0x44db('0xab')][_0x44db('0x3')]['differ']['getChangedMarkers']()),_0x4b3440=new Set();for(const {name:_0x3d8326,data:_0x5ec2d5}of _0x36c558){const {group:_0x49005a,type:_0x4b2516,id:_0x3e0c21}=this[_0x44db('0xcc')](_0x3d8326);if(_0x44db('0x58')!==_0x49005a)continue;const _0x36d417=this[_0x44db('0x5')][_0x44db('0xac')](_0x3e0c21);if(null!=_0x5ec2d5[_0x44db('0x34')]){_0x44db('0xe1')==_0x4b2516&&(_0x550b27=_0x550b27||$t(_0x5ec2d5[_0x44db('0x34')],_0x3d8326,_0x10d46e,_0x13bc1e['model'][_0x44db('0x138')]));if(_0x5ec2d5[_0x44db('0x34')][_0x44db('0x125')]||_0x44db('0x7c')==_0x5ec2d5[_0x44db('0x34')][_0x44db('0x74')][_0x44db('0x108')]||_0x44db('0xbb')==_0x4b2516&&!Rt(_0x5ec2d5[_0x44db('0x34')])||'deletion'==_0x4b2516&&!(!Mt(_0x32fe27=_0x5ec2d5['newRange'])&&!function(_0x3d615f){return _0x3d615f[_0x44db('0xb2')][_0x44db('0xc6')]==_0x3d615f[_0x44db('0x126')][_0x44db('0x7d')]&&_0x3d615f[_0x44db('0xb2')][_0x44db('0x5d')];}(_0x32fe27)))_0x10d46e[_0x44db('0x13e')](_0x3d8326),_0x550b27=!0x0;else{if(!_0x36d417||!_0x36d417[_0x44db('0x7b')])continue;_0x4b3440['add'](_0x36d417);}}}var _0x32fe27;return _0x4b3440[_0x44db('0x6')]>0x0&&(_0x550b27=!!this[_0x44db('0x13c')](_0x4b3440)||_0x550b27),_0x550b27;}),_0x13bc1e[_0x44db('0xab')][_0x44db('0x3')][_0x44db('0xbc')](_0x1ec368=>{let _0x2858a7=!0x1;for(const _0x76963e of _0x13bc1e[_0x44db('0xab')]['document'][_0x44db('0x25')][_0x44db('0x135')]()){if(_0x44db('0x9a')!=_0x76963e[_0x44db('0x60')])continue;const _0x4e9709=_0x76963e[_0x44db('0x4')][_0x44db('0x113')](_0x76963e[_0x44db('0x3b')]);if(_0x4e9709['isAtEnd'])for(const _0x385757 of this[_0x44db('0x5')][_0x44db('0x8e')]()){if(_0x385757[_0x44db('0x67')]||!_0x385757[_0x44db('0x7b')])continue;if('formatBlock'!=_0x385757[_0x44db('0x60')])continue;const _0x4f6f4c=_0x385757['getFirstRange']();if(_0x4f6f4c[_0x44db('0xb2')][_0x44db('0xc6')]!=_0x4f6f4c[_0x44db('0x126')][_0x44db('0xc6')]&&_0x4f6f4c[_0x44db('0x126')][_0x44db('0xf7')](_0x76963e['position'])){const _0x15e8fd=_0x13bc1e['model']['createRange'](_0x4f6f4c[_0x44db('0xb2')],_0x4e9709);_0x1ec368['updateMarker'](_0x385757[_0x44db('0x89')](),{'range':_0x15e8fd}),_0x2858a7=!0x0;}}}return _0x2858a7;}),_0x13bc1e['model'][_0x44db('0x140')]['on'](_0x44db('0x4f'),(_0x3f2021,_0x25dd02,_0x5be9e3)=>{if(null==_0x5be9e3){const {id:_0x52b9df}=this['_splitMarkerName'](_0x25dd02[_0x44db('0x20')]),_0x1d3c0f=this[_0x44db('0x5')][_0x44db('0xac')](_0x52b9df);_0x1d3c0f&&_0x1d3c0f['addMarkerName'](_0x25dd02[_0x44db('0x20')]);}}),_0x13bc1e[_0x44db('0xab')]['document']['on'](_0x44db('0xfe'),()=>{const _0x2f3bd3=Array[_0x44db('0xa2')](_0x13bc1e['model'][_0x44db('0x3')][_0x44db('0x25')][_0x44db('0x7a')]())[_0x44db('0x85')](_0x4204bc=>_0x44db('0x58')===this[_0x44db('0xcc')](_0x4204bc[_0x44db('0x20')])['group']);if(0x0===_0x2f3bd3['length'])return;_0x2f3bd3[_0x44db('0x22')]((_0x7e49ae,_0x18e4c9)=>{const _0x30b962=_0x7e49ae[_0x44db('0xe2')][_0x44db('0x93')],_0xf554c9=_0x18e4c9[_0x44db('0xe2')][_0x44db('0x93')];return null===_0x30b962&&null===_0xf554c9?0x0:null===_0x30b962&&null!==_0xf554c9?-0x1:null!==_0x30b962&&null===_0xf554c9?0x1:_0x30b962[_0x44db('0xb2')][_0x44db('0x43')](_0xf554c9[_0x44db('0xb2')])?-0x1:0x1;});const _0x532b93=new Set(),_0x3d7fd2=new Set();for(const {name:_0x108509,data:_0x1b4d7b}of _0x2f3bd3){const {id:_0x54eb68}=this[_0x44db('0xcc')](_0x108509);if(null===_0x1b4d7b[_0x44db('0x93')]){const _0xae6fcf=this[_0x44db('0x21')](_0x108509);_0x3d7fd2[_0x44db('0x53')](_0xae6fcf);}else{const _0x2ae0f3=this[_0x44db('0x5')]['get'](_0x54eb68);null!==_0x1b4d7b[_0x44db('0x34')]||_0x2ae0f3[_0x44db('0x7b')]?(_0x532b93[_0x44db('0x53')](_0x2ae0f3[_0x44db('0x11b')]),_0x3d7fd2['add'](_0x2ae0f3)):this['_removeSuggestion'](_0x2ae0f3);}}_0x3d7fd2[_0x44db('0x6')]>0x0&&this[_0x44db('0x3d')](_0x3d7fd2);for(const _0x3cdcd0 of _0x532b93)this[_0x44db('0x1a')](_0x44db('0x12f'),_0x3cdcd0);}),_0x13bc1e['model']['on'](_0x44db('0xb5'),(_0x3b40a3,_0x1cf861)=>{const _0x32599f=_0x1cf861[0x0];if(!this['_suggestions']['size'])return;if(!_0x32599f['isDocumentOperation'])return;if(_0x32599f['batch'][_0x44db('0x36')]||!_0x32599f[_0x44db('0xfb')]['isLocal'])return;let _0x40d6b9,_0x3d9d1f;switch(_0x32599f[_0x44db('0x60')]){case _0x44db('0x9a'):_0x40d6b9=_0x13bc1e[_0x44db('0xab')][_0x44db('0x7f')](_0x32599f[_0x44db('0x4')]),_0x3d9d1f=_0x40d6b9['getShiftedBy'](_0x32599f[_0x44db('0x8d')]);break;case'split':_0x40d6b9=_0x13bc1e[_0x44db('0xab')][_0x44db('0x7f')](_0x32599f[_0x44db('0x124')]),_0x3d9d1f=_0x13bc1e['model'][_0x44db('0x7f')](_0x32599f[_0x44db('0x35')]);break;case _0x44db('0xef'):_0x40d6b9=_0x13bc1e['model'][_0x44db('0x7f')](_0x32599f[_0x44db('0xed')]),_0x3d9d1f=_0x40d6b9[_0x44db('0x113')](_0x32599f['howMany']);break;default:return;}const _0x880693=_0x13bc1e[_0x44db('0xab')][_0x44db('0x3e')](_0x40d6b9,_0x3d9d1f);_0x13bc1e[_0x44db('0xab')][_0x44db('0x4d')](()=>{for(const {suggestion:_0x17d952,meta:_0x377fa3}of this['_findSuggestions'](_0x880693)){if(_0x17d952[_0x44db('0x67')])continue;if(_0x44db('0xe1')==_0x17d952[_0x44db('0x60')])continue;const _0x400755=_0x17d952[_0x44db('0xe2')]&&_0x17d952['data']['multipleBlocks'];(_0x44db('0xbb')!=_0x17d952[_0x44db('0x60')]||_0x44db('0x13f')==_0x32599f[_0x44db('0x60')]&&!_0x400755)&&(_0x377fa3[_0x44db('0x112')]||_0x44db('0x1d')==_0x17d952[_0x44db('0x60')]&&_0x377fa3[_0x44db('0xf8')]||_0x17d952['getFirstRange']()[_0x44db('0x130')](_0x880693)&&this[_0x44db('0x5c')](_0x17d952,_0x40d6b9,_0x3d9d1f));}});},{'priority':_0x44db('0x92')}),_0x13bc1e[_0x44db('0xab')]['on']('deleteContent',(_0x5349e1,_0x8a6761)=>{const _0x42e482=_0x8a6761[0x0],_0x1365c5=_0x8a6761[0x1];if(_0x1365c5&&_0x1365c5[_0x44db('0xd')])return;if(this[_0x44db('0xc8')])return;if(!this[_0x44db('0xb0')][_0x44db('0xc5')])return;if(_0x42e482[_0x44db('0x125')])return;const _0x5a0d8b=_0x13bc1e['model']['schema'],{start:_0x3f2ffe,end:_0x59ceed}=_0x42e482[_0x44db('0x16')](),_0x4a2685=_0x3f2ffe['nodeAfter']&&_0x5a0d8b['isLimit'](_0x3f2ffe['nodeAfter'])?null:_0x5a0d8b[_0x44db('0x10b')](_0x3f2ffe,'forward'),_0x5d33d7=_0x59ceed[_0x44db('0x7d')]&&_0x5a0d8b[_0x44db('0xb')](_0x59ceed[_0x44db('0x7d')])?null:_0x5a0d8b[_0x44db('0x10b')](_0x59ceed,_0x44db('0xba')),_0x31b1d8=_0x13bc1e[_0x44db('0xab')]['createRange'](_0x4a2685?_0x4a2685['start']:_0x3f2ffe,_0x5d33d7?_0x5d33d7[_0x44db('0x126')]:_0x59ceed);_0x13bc1e['model'][_0x44db('0x4d')](_0x1102c6=>{this[_0x44db('0xf')](_0x31b1d8);const _0x175c42=_0x13bc1e[_0x44db('0xab')]['schema']['getNearestSelectionRange'](_0x31b1d8[_0x44db('0xb2')]);_0x42e482['is']('documentSelection')?_0x1102c6[_0x44db('0x71')](_0x175c42):_0x42e482[_0x44db('0x24')](_0x175c42);}),_0x5349e1['stop']();},{'priority':_0x49f909[_0x44db('0xc9')]+0xa}),_0x13bc1e[_0x44db('0xab')]['on'](_0x44db('0x11f'),(_0x21ef77,_0x443af3)=>{const _0x3b9ed1=_0x443af3[_0x443af3[_0x44db('0x3b')]-0x1];_0x3b9ed1&&_0x3b9ed1[_0x44db('0xd')]||this[_0x44db('0xc8')]||this[_0x44db('0xb0')]['value']&&(_0x13bc1e[_0x44db('0xab')][_0x44db('0x4d')](()=>{let _0x3319e5=_0x13bc1e[_0x44db('0xab')][_0x44db('0x11f')](_0x443af3[0x0],_0x443af3[0x1],_0x443af3[0x2],{'forceDefaultExecution':!0x0});if(!_0x3319e5)return;_0x21ef77[_0x44db('0x13a')]=_0x3319e5[_0x44db('0x105')]();const _0x246905=_0x3319e5['end'][_0x44db('0x7d')],_0x40f0fd=_0x13bc1e[_0x44db('0xab')][_0x44db('0x138')];_0x246905&&_0x40f0fd[_0x44db('0xb7')](_0x246905)&&!_0x40f0fd[_0x44db('0x54')](_0x246905)&&(_0x3319e5=_0x13bc1e[_0x44db('0xab')][_0x44db('0x3e')](_0x3319e5[_0x44db('0xb2')],_0x13bc1e[_0x44db('0xab')][_0x44db('0x7f')](_0x246905,_0x44db('0x126')))),this[_0x44db('0xde')](_0x3319e5);}),_0x21ef77[_0x44db('0x114')]());},{'priority':_0x44db('0x11a')}),this[_0x44db('0xcd')][_0x44db('0x9e')][_0x44db('0x53')](_0x44db('0x55'),this['trackChangesCommand']),this[_0x44db('0x116')]('trackChanges');const _0x10e14a=new _0x3e11d3(_0x13bc1e,this[_0x44db('0x5')]);_0x13bc1e[_0x44db('0x9e')][_0x44db('0x53')](_0x44db('0x1'),_0x10e14a),this[_0x44db('0x116')](_0x44db('0x1'));const _0xdd82d4=new _0x1f02c5(_0x13bc1e,this[_0x44db('0x5')]);_0x13bc1e['commands']['add'](_0x44db('0x91'),_0xdd82d4),this[_0x44db('0x116')](_0x44db('0x91')),_0x13bc1e[_0x44db('0x9e')][_0x44db('0x53')](_0x44db('0x39'),new _0x3f0f47(_0x13bc1e,_0x10e14a,this[_0x44db('0x5')])),this[_0x44db('0x116')](_0x44db('0x39')),_0x13bc1e[_0x44db('0x9e')][_0x44db('0x53')](_0x44db('0x10'),new _0x3f0f47(_0x13bc1e,_0xdd82d4,this[_0x44db('0x5')])),this['enableCommand'](_0x44db('0x10')),_0x13bc1e[_0x44db('0x9e')][_0x44db('0x53')](_0x44db('0x5e'),new _0x43143f(_0x13bc1e,_0x10e14a,this['_suggestions'])),this['enableCommand'](_0x44db('0x5e')),_0x13bc1e[_0x44db('0x9e')][_0x44db('0x53')](_0x44db('0x30'),new _0x43143f(_0x13bc1e,_0xdd82d4,this[_0x44db('0x5')])),this[_0x44db('0x116')](_0x44db('0x30'));const _0xf353da=_0x13bc1e[_0x44db('0xd7')][_0x44db('0xac')](_0x44db('0xaf'));this['listenTo'](_0xf353da,_0x44db('0x23'),(_0x591e9c,{threadId:_0x17b6ef})=>{const _0x59e266=this[_0x44db('0x5')][_0x44db('0xac')](_0x17b6ef);_0x59e266&&_0x59e266[_0x44db('0x44')]&&0x1===_0x59e266[_0x44db('0x44')][_0x44db('0x3b')]&&this[_0x44db('0x13d')](_0x17b6ef,{'hasComments':!0x0});},{'priority':'low'}),this[_0x44db('0xc2')](_0xf353da,_0x44db('0x128'),(_0x58d664,{threadId:_0xd62ac1})=>{const _0x93ea54=this[_0x44db('0x5')]['get'](_0xd62ac1);_0x93ea54&&_0x93ea54[_0x44db('0x44')]&&!_0x93ea54['commentThread']['length']&&this[_0x44db('0x13d')](_0xd62ac1,{'hasComments':!0x1});},{'priority':_0x44db('0xcb')});}set[_0x44db('0xcf')](_0x3290d1){if(this['_adapter'])throw new _0x3aca7c('track-changes-adapter-already-set',this);this[_0x44db('0x106')]=_0x3290d1;}get[_0x44db('0xcf')](){return this['_adapter'];}[_0x44db('0xbd')]({skipNotAttached:_0x50f716=!0x1,toJSON:_0x3b02d6=!0x1}={}){const _0x248b5d=[];for(const _0x2d992f of this[_0x44db('0x5')]['values']())_0x50f716&&!_0x2d992f[_0x44db('0x7b')]||_0x248b5d[_0x44db('0x2d')](_0x2d992f);return _0x3b02d6?_0x248b5d['map'](_0x2895ce=>_0x2895ce[_0x44db('0xad')]()):_0x248b5d;}[_0x44db('0x94')](_0x5174ca){const _0x29193f=this['_suggestions']['get'](_0x5174ca);if(!_0x29193f)throw new _0x3aca7c(_0x44db('0x6c'),this);return _0x29193f;}[_0x44db('0xd5')](_0x3bc2cd){return this[_0x44db('0x5')][_0x44db('0xb1')](_0x3bc2cd);}[_0x44db('0xca')](_0x147880){const {authorId:_0x34d07e,id:_0x584d79,attributes:_0x161db9}=_0x147880,[_0x1da478,_0x29f67d]=_0x147880[_0x44db('0x60')][_0x44db('0x13f')](':'),_0x5ee7ef=this[_0x44db('0x5')]['get'](_0x584d79)||this[_0x44db('0x68')](_0x1da478,_0x29f67d,_0x584d79,_0x34d07e,_0x161db9);if(this[_0x44db('0x5b')](_0x5ee7ef),this[_0x44db('0x49')](_0x5ee7ef,_0x1da478,_0x29f67d||null,_0x34d07e),_0x5ee7ef['createdAt']=_0x147880['createdAt'],_0x5ee7ef['_isDataLoaded']=!0x0,_0x161db9&&_0x161db9[_0x44db('0xe4')]){const _0xd79aa1=_0x161db9['@external'],_0x1d78bb=this[_0x44db('0x31')](_0xd79aa1[_0x44db('0x5f')]);_0x5ee7ef[_0x44db('0x42')]=_0xd79aa1[_0x44db('0x72')],_0x5ee7ef[_0x44db('0x28')]=_0x1d78bb,_0x5ee7ef[_0x44db('0x63')]=!0x0;}else _0x5ee7ef[_0x44db('0x42')]=_0x147880[_0x44db('0x72')];switch(_0x147880[_0x44db('0xe2')]&&(_0x5ee7ef[_0x44db('0xe2')]=_0x147880[_0x44db('0xe2')]),_0x147880[_0x44db('0xa3')]&&(_0x5ee7ef[_0x44db('0xa3')]=_0x147880[_0x44db('0xa3')]),this[_0x44db('0x106')]&&this['_adapter'][_0x44db('0x102')]||(_0x5ee7ef[_0x44db('0x32')]=!0x0),this['_suggestionState']['get'](_0x5ee7ef)){case _0x44db('0x11c'):this['_suggestionState'][_0x44db('0x6f')](_0x5ee7ef,_0x44db('0x78'));break;case _0x44db('0x119'):_0x5ee7ef['isInContent']?(this[_0x44db('0x3d')](new Set([_0x5ee7ef])),this[_0x44db('0x13c')](new Set([_0x5ee7ef])),this[_0x44db('0x99')][_0x44db('0x6f')](_0x5ee7ef,_0x44db('0x1c')),this[_0x44db('0x1a')](_0x44db('0x75'),_0x5ee7ef)):this['_suggestionState']['set'](_0x5ee7ef,_0x44db('0x2a'));}return _0x5ee7ef;}['acceptSuggestion'](_0x36bd50){this[_0x44db('0xd')](()=>{this[_0x44db('0xcd')][_0x44db('0xab')][_0x44db('0x4d')](()=>{for(const _0x5b3f72 of _0x36bd50[_0x44db('0xc0')]())_0x5b3f72[_0x44db('0xdd')]();});});}[_0x44db('0x91')](_0x3054c7){this['forceDefaultExecution'](()=>{this[_0x44db('0xcd')]['model'][_0x44db('0x4d')](()=>{for(const _0x2a316e of _0x3054c7[_0x44db('0xc0')]())_0x2a316e[_0x44db('0x50')]();});});}[_0x44db('0x116')](_0x38baad,_0x391cee){const _0xd26c5f=this[_0x44db('0xcd')][_0x44db('0x9e')]['get'](_0x38baad);if(!_0xd26c5f)throw new _0x3aca7c(_0x44db('0x129'),this,{'commandName':_0x38baad});this[_0x44db('0xd3')][_0x44db('0x53')](_0xd26c5f),_0x391cee&&_0xd26c5f['on'](_0x44db('0xc'),(_0x388d03,_0x468a45)=>{this[_0x44db('0xb0')][_0x44db('0xc5')]&&(this[_0x44db('0xc8')]||_0x468a45['length']>0x0&&_0x468a45[_0x468a45[_0x44db('0x3b')]-0x1]&&_0x468a45[_0x468a45[_0x44db('0x3b')]-0x1][_0x44db('0xd')]||(_0x388d03[_0x44db('0x13a')]=_0x391cee((..._0x574608)=>_0xd26c5f['execute'](..._0x574608,{'forceDefaultExecution':!0x0}),..._0x468a45),_0x388d03[_0x44db('0x114')]()));},{'priority':_0x44db('0x11a')});}[_0x44db('0xd')](_0x1fca5f){let _0x285143,_0x2de626;const _0x370181=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x285143=_0x1fca5f();}catch(_0xefd4c9){_0x2de626=_0xefd4c9;}return _0x370181||(this[_0x44db('0xc8')]=!0x1),_0x2de626&&_0x3aca7c[_0x44db('0xe9')](_0x2de626,this),_0x285143;}[_0x44db('0xde')](_0x6da0b6,_0x250ab9=null,_0x2d625f={}){if(_0x6da0b6[_0x44db('0x125')])return null;const _0xaec1e=this[_0x44db('0xcd')][_0x44db('0xd7')][_0x44db('0xac')](_0x44db('0x1e'))['me'];for(const {suggestion:_0x12eaf8,meta:_0x38e296}of this[_0x44db('0xd2')](_0x6da0b6,_0x44db('0x1d')))if(_0x38e296[_0x44db('0xf8')]){if(!_0x38e296[_0x44db('0x136')]){if(_0x38e296['containsRangeInObject']){if(!this[_0x44db('0xec')]||!Ot(_0x12eaf8,_0x2d625f))continue;return _0x12eaf8;}if(Ot(_0x12eaf8,_0x2d625f))return _0x12eaf8;this[_0x44db('0x5c')](_0x12eaf8,_0x6da0b6['start'],_0x6da0b6['end']);break;}if(_0x250ab9==_0x12eaf8[_0x44db('0x11')]&&Ot(_0x12eaf8,_0x2d625f)){const _0x209adb=_0x12eaf8[_0x44db('0x16')]();return _0x209adb[_0x44db('0xb2')][_0x44db('0xf7')](_0x6da0b6[_0x44db('0x126')])?this[_0x44db('0xe7')](_0x12eaf8,this['_model']['createRange'](_0x6da0b6['start'],_0x209adb['end'])):this['_setSuggestionRange'](_0x12eaf8,this['_model'][_0x44db('0x3e')](_0x209adb[_0x44db('0xb2')],_0x6da0b6[_0x44db('0x126')])),_0x12eaf8;}}const _0x534fe1=_0x2ee776(),_0x14e165=_0xaec1e['id'],_0x1b8fd6=_0x250ab9?_0x44db('0xc1')+_0x250ab9:_0x44db('0x1d'),_0x207003=this[_0x44db('0xdb')]({'id':_0x534fe1,'type':_0x1b8fd6,'createdAt':new Date(),'authorId':_0x14e165,'attributes':_0x2d625f});return this[_0x44db('0x4a')](_0x1b8fd6,_0x534fe1,_0x14e165,_0x6da0b6),_0x207003;}[_0x44db('0xe8')](_0x44737a,_0x4593dd='multi',_0x1bbe37={}){const _0x786cf3=this[_0x44db('0xcd')][_0x44db('0xd7')][_0x44db('0xac')]('Users')['me'],_0x2c8178=this['_suggestionFactory'][_0x44db('0x8c')]('insertion',_0x4593dd,_0x44db('0x57'));for(const _0x514871 of this[_0x44db('0xbd')]())if(_0x514871[_0x44db('0x28')]['id']==_0x786cf3['id']&&'insertion'==_0x514871['type']&&_0x514871[_0x44db('0x11')]==_0x4593dd&&Ot(_0x514871,_0x1bbe37)&&(_0x2c8178(_0x514871[_0x44db('0x27')](),_0x44737a)||_0x2c8178(_0x44737a,_0x514871[_0x44db('0x27')]()))){for(const _0x47554d of _0x44737a)_0x514871[_0x44db('0xd8')](_0x47554d);return _0x514871;}for(const {suggestion:_0x2d2846,meta:_0x1543eb}of this[_0x44db('0xd2')](_0x44737a,_0x44db('0x1d'))){if(!_0x1543eb[_0x44db('0xf8')])continue;if(!this[_0x44db('0xec')]&&_0x1543eb[_0x44db('0x112')])continue;if(!Ot(_0x2d2846,_0x1bbe37))continue;let _0x2ecbad=!0x0;for(const _0x37e4b3 of _0x2d2846[_0x44db('0x27')]())for(const _0x443d1d of _0x44737a)if(!_0x37e4b3[_0x44db('0x130')](_0x443d1d)){_0x2ecbad=!0x1;break;}if(_0x2ecbad)return _0x2d2846;}const _0x392e0d=_0x2ee776(),_0x5aa97c=_0x786cf3['id'],_0x2a2dd9=_0x44db('0xc1')+_0x4593dd,_0x4daee3=this['_setSuggestionData']({'id':_0x392e0d,'type':_0x2a2dd9,'createdAt':new Date(),'authorId':_0x5aa97c,'attributes':_0x1bbe37});for(const _0xf63f5d of _0x44737a)this[_0x44db('0x4a')](_0x2a2dd9,_0x392e0d,_0x5aa97c,_0xf63f5d,_0x30870e[_0x44db('0x109')]());return _0x4daee3;}[_0x44db('0xa9')](_0x23fa3b,_0x5a6b15,_0xa62d38=null,_0x9f409c={}){if(_0xa62d38=_0xa62d38||Nt(_0x5a6b15),_0x23fa3b[_0x44db('0x125')])return null;if(_0x44db('0x17')===this[_0x44db('0x88')]){const _0x59b6f5=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0xa62d38,_0x44db('0xdd'));return this[_0x44db('0xd')](()=>_0x59b6f5([_0x23fa3b],_0x5a6b15,_0x9f409c)),null;}const _0x51a0c1=this['editor'][_0x44db('0xd7')][_0x44db('0xac')](_0x44db('0x1e'))['me'],_0x990b92=[];if('always'!==this[_0x44db('0x88')])for(const {suggestion:_0x438e24,meta:_0x20c516}of this[_0x44db('0xd2')](_0x23fa3b,_0x44db('0x1d')))_0x20c516[_0x44db('0xf8')]&&!_0x20c516['isInsideObject']&&_0x990b92[_0x44db('0x2d')](..._0x438e24[_0x44db('0x27')]());const _0x4f35f7=function(_0x2a66f4,_0xc6f7a8){const _0x5396e7=[];for(const _0x261212 of _0xc6f7a8){const _0xe2a621=_0x2a66f4['getIntersection'](_0x261212);_0xe2a621&&_0x5396e7[_0x44db('0x2d')](_0xe2a621);}return _0x5396e7;}(_0x23fa3b,_0x990b92),_0x2139fa=function(_0x3dcdfe,_0x2e87be){const _0x4c1308=[_0x3dcdfe];for(const _0x3a0919 of _0x2e87be){let _0xcfb145=0x0;for(;_0xcfb145<_0x4c1308[_0x44db('0x3b')];){const _0x1be630=_0x4c1308[_0xcfb145]['getDifference'](_0x3a0919);_0x4c1308[_0x44db('0x73')](_0xcfb145,0x1,..._0x1be630),_0xcfb145+=_0x1be630['length'];}}return _0x4c1308;}(_0x23fa3b,_0x990b92);_0x4f35f7[_0x44db('0x3b')]&&this[_0x44db('0xa')][_0x44db('0x4d')](()=>{for(const _0x18136e of _0x4f35f7){const _0x515ad7=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0xa62d38,'accept');this[_0x44db('0xd')](()=>_0x515ad7([_0x18136e],_0x5a6b15,_0x9f409c));}});for(const _0xa91bd6 of _0x2139fa){let _0x39f594=null,_0x26292c=_0xa91bd6['start'],_0x395834=_0xa91bd6['end'];for(const {suggestion:_0x5451c5,meta:_0x4184cf}of this['_findSuggestions'](_0xa91bd6,_0x44db('0xe1'))){if(!_0x4184cf[_0x44db('0xf8')])continue;if(_0x5451c5[_0x44db('0x11')]!=_0xa62d38)continue;if(!Ot(_0x5451c5,_0x9f409c))continue;const _0x256ffa=_0x5451c5[_0x44db('0x16')]();if(_0x256ffa['containsRange'](_0xa91bd6,!0x0))return null;_0x26292c=_0x26292c[_0x44db('0x43')](_0x256ffa['start'])?_0x26292c:_0x256ffa[_0x44db('0xb2')],_0x395834=_0x395834[_0x44db('0x12')](_0x256ffa[_0x44db('0x126')])?_0x395834:_0x256ffa[_0x44db('0x126')],_0x39f594?_0x256ffa[_0x44db('0xb2')][_0x44db('0x43')](_0x39f594[_0x44db('0x16')]()['start'])?(_0x39f594[_0x44db('0xce')](),_0x39f594=_0x5451c5):_0x5451c5['removeMarkers']():_0x39f594=_0x5451c5;}const _0x389152=this[_0x44db('0xa')][_0x44db('0x3e')](_0x26292c,_0x395834);if(_0x39f594)this['_setSuggestionRange'](_0x39f594,_0x389152);else{const _0x970170=_0x2ee776(),_0x1de81e=_0x51a0c1['id'];this[_0x44db('0xdb')]({'id':_0x970170,'type':_0x44db('0x117')+_0xa62d38,'data':_0x5a6b15,'createdAt':new Date(),'authorId':_0x1de81e,'attributes':_0x9f409c}),this[_0x44db('0x4a')](_0x44db('0x117')+_0xa62d38,_0x970170,_0x1de81e,_0x389152);}}return null;}[_0x44db('0x84')](_0x13776f,_0x4dc30d,_0x197a1f=[],_0xc42da6=null,_0x10ffb6={}){_0x4dc30d['formatGroupId']||(_0x4dc30d[_0x44db('0xf9')]=_0x4dc30d[_0x44db('0xd6')]),_0x4dc30d[_0x44db('0xeb')]=_0x13776f['is'](_0x44db('0x96')),_0xc42da6=_0xc42da6||Nt(_0x4dc30d);const _0x518567=_0x197a1f['map'](_0x52b2c0=>jt(_0x52b2c0,this[_0x44db('0xa')])),_0x16af2c=_0x13776f['is'](_0x44db('0x96'))?_0x13776f:jt(_0x13776f,this[_0x44db('0xa')]);if(_0x44db('0x17')===this[_0x44db('0x88')]){const _0x3a37e7=this[_0x44db('0x98')][_0x44db('0x8c')](_0x44db('0xbb'),_0xc42da6,_0x44db('0xdd'));return this[_0x44db('0xd')](()=>_0x3a37e7([_0x16af2c],_0x4dc30d,_0x10ffb6)),null;}_0x518567[_0x44db('0x2d')](_0x16af2c);let _0xbe3046=!0x0;for(const _0x504df0 of _0x518567)if(!this[_0x44db('0xe6')](_0x504df0)){_0xbe3046=!0x1;break;}if(_0xbe3046&&_0x44db('0xb9')!==this[_0x44db('0x88')]){const _0x2bcdc5=this['_suggestionFactory']['getSuggestionCallback'](_0x44db('0xbb'),_0xc42da6,_0x44db('0xdd'));return this[_0x44db('0xd')](()=>_0x2bcdc5([_0x16af2c],_0x4dc30d,_0x10ffb6)),null;}let _0x26d737=null,_0x1134fe=_0x16af2c[_0x44db('0xb2')],_0x534c2e=_0x16af2c['end'];for(const {suggestion:_0x12cd1c,meta:_0x40aeb0}of this[_0x44db('0xd2')](_0x16af2c,'formatBlock')){if(!_0x40aeb0[_0x44db('0xf8')])continue;if(_0x40aeb0[_0x44db('0x136')]||_0x40aeb0[_0x44db('0x112')]||_0x40aeb0['isInsideObject'])continue;if(_0x12cd1c[_0x44db('0xe2')][_0x44db('0xf9')]!=_0x4dc30d['formatGroupId'])continue;if(!Ot(_0x12cd1c,_0x10ffb6))continue;const _0x3eccce=_0x12cd1c[_0x44db('0x16')]();if(_0x12cd1c[_0x44db('0x11')]==_0xc42da6){if(_0x3eccce[_0x44db('0x130')](_0x16af2c,!0x0))return null;_0x1134fe=_0x1134fe[_0x44db('0x43')](_0x3eccce[_0x44db('0xb2')])?_0x1134fe:_0x3eccce['start'],_0x534c2e=_0x534c2e[_0x44db('0x12')](_0x3eccce[_0x44db('0x126')])?_0x534c2e:_0x3eccce['end'],_0x26d737?_0x3eccce[_0x44db('0xb2')]['isBefore'](_0x26d737[_0x44db('0x16')]()[_0x44db('0xb2')])?(_0x26d737[_0x44db('0xce')](),_0x26d737=_0x12cd1c):_0x12cd1c['removeMarkers']():_0x26d737=_0x12cd1c;}else{const _0x18809b=_0x16af2c[_0x44db('0x12e')](_0x3eccce);this[_0x44db('0x134')](_0x12cd1c,_0x18809b);}}const _0x1c1337=this[_0x44db('0xcd')][_0x44db('0xd7')][_0x44db('0xac')](_0x44db('0x1e'))['me'],_0x18353b=_0x2ee776(),_0x3bc218=_0x1c1337['id'];if(_0x26d737)return this['_setSuggestionRange'](_0x26d737,this[_0x44db('0xa')]['createRange'](_0x1134fe,_0x534c2e)),_0x26d737;{const _0x16c4ee=this[_0x44db('0xdb')]({'id':_0x18353b,'type':_0x44db('0x9c')+_0xc42da6,'data':_0x4dc30d,'createdAt':new Date(),'authorId':_0x3bc218,'attributes':_0x10ffb6});return this[_0x44db('0x4a')](_0x44db('0x9c')+_0xc42da6,_0x18353b,_0x3bc218,this[_0x44db('0xa')]['createRange'](_0x1134fe,_0x534c2e)),_0x16c4ee;}}['markMultiRangeBlockFormat'](_0x531271,_0x174b80,_0x5d101a=[],_0x14c950=null,_0x469e04={}){_0x174b80[_0x44db('0xf9')]||(_0x174b80['formatGroupId']=_0x174b80[_0x44db('0xd6')]);const _0x3b8d5d=_0x531271[0x0];_0x174b80[_0x44db('0xeb')]=_0x3b8d5d['is'](_0x44db('0x96')),_0x14c950=_0x14c950||Nt(_0x174b80);const _0x1510e9=_0x5d101a[_0x44db('0xe')](_0x58210b=>jt(_0x58210b,this[_0x44db('0xa')])),_0x2c2920=_0x3b8d5d['is']('range')?_0x531271:_0x531271['map'](_0x424b61=>jt(_0x424b61,this['_model']));if(_0x44db('0x17')===this[_0x44db('0x88')]){const _0x41f8fc=this[_0x44db('0x98')][_0x44db('0x8c')](_0x44db('0xbb'),_0x14c950,'accept');return this[_0x44db('0xd')](()=>_0x41f8fc(_0x2c2920,_0x174b80,_0x469e04)),null;}_0x1510e9['push'](..._0x2c2920);let _0x187c13=!0x0;for(const _0x421b6a of _0x1510e9)if(!this[_0x44db('0xe6')](_0x421b6a)){_0x187c13=!0x1;break;}if(_0x187c13&&_0x44db('0xb9')!==this[_0x44db('0x88')]){const _0x52093a=this[_0x44db('0x98')]['getSuggestionCallback'](_0x44db('0xbb'),_0x14c950,_0x44db('0xdd'));return this[_0x44db('0xd')](()=>_0x52093a(_0x2c2920,_0x174b80,_0x469e04)),null;}const _0x3a3869=this[_0x44db('0xcd')][_0x44db('0xd7')]['get'](_0x44db('0x1e'))['me'];for(const _0x29eac2 of this[_0x44db('0xbd')]()){if(_0x29eac2[_0x44db('0x28')]['id']!=_0x3a3869['id'])continue;if('formatBlock'!=_0x29eac2[_0x44db('0x60')]||_0x29eac2['data']['formatGroupId']!=_0x174b80[_0x44db('0xf9')])continue;if(!Ot(_0x29eac2,_0x469e04))continue;const _0x4d828c=_0x29eac2[_0x44db('0x11')]==_0x14c950;for(let _0x3108fe=0x0;_0x3108fe<_0x2c2920['length'];_0x3108fe++){const _0x2f95ad=_0x2c2920[_0x3108fe];for(const _0xe52512 of _0x29eac2[_0x44db('0x11d')]()){const _0x178d83=_0xe52512[_0x44db('0xbe')]();if(_0x2f95ad[_0x44db('0xf7')](_0x178d83)){_0x4d828c?(_0x2c2920[_0x44db('0x73')](_0x3108fe,0x1),_0x3108fe--):_0x29eac2[_0x44db('0x13e')](_0xe52512[_0x44db('0x20')]);break;}}}}if(0x0==_0x2c2920['length'])return null;const _0xa9c079=this[_0x44db('0x98')][_0x44db('0x8c')](_0x44db('0xbb'),_0x14c950,_0x44db('0x57'));for(const _0x10d077 of this[_0x44db('0xbd')]())if(_0x10d077[_0x44db('0x28')]['id']==_0x3a3869['id']&&_0x44db('0xbb')==_0x10d077[_0x44db('0x60')]&&_0x10d077[_0x44db('0xe2')][_0x44db('0xf9')]==_0x174b80[_0x44db('0xf9')]&&_0x10d077['subType']==_0x14c950&&Ot(_0x10d077,_0x469e04)&&(_0xa9c079(_0x10d077[_0x44db('0x27')](),_0x2c2920)||_0xa9c079(_0x2c2920,_0x10d077[_0x44db('0x27')]()))){for(const _0x916c10 of _0x2c2920)_0x10d077[_0x44db('0xd8')](_0x916c10);return _0x10d077;}const _0x4ef278=_0x2ee776(),_0x4bdc26=_0x3a3869['id'],_0x15038f='formatBlock:'+_0x14c950,_0x12b5b6=this[_0x44db('0xdb')]({'id':_0x4ef278,'type':_0x15038f,'data':_0x174b80,'createdAt':new Date(),'authorId':_0x4bdc26,'attributes':_0x469e04});for(const _0x32c57b of _0x2c2920)this[_0x44db('0x4a')](_0x15038f,_0x4ef278,_0x4bdc26,_0x32c57b,_0x30870e[_0x44db('0x109')]());return _0x12b5b6;}[_0x44db('0xf')](_0x498bd2,_0x3f1fe8=null,_0x5e0f17={}){if(_0x498bd2[_0x44db('0x125')])return null;const _0x1ab9d6=this[_0x44db('0xcd')]['plugins'][_0x44db('0xac')](_0x44db('0x1e'))['me'],_0x1d07c8=new _0x408c9a(_0x498bd2['start'],_0x498bd2[_0x44db('0x126')]);for(const {suggestion:_0x289137,meta:_0x426388}of this['_findSuggestions'](_0x1d07c8,_0x44db('0x1d')))if(_0x426388[_0x44db('0xf8')]&&!_0x426388['isNextTo']){if(_0x289137[_0x44db('0x67')]){const _0x32004e=_0x289137[_0x44db('0x27')]()[_0x44db('0x85')](_0x5d59bb=>_0x44db('0x7c')!=_0x5d59bb[_0x44db('0x74')][_0x44db('0x108')]);_0x32004e['every'](_0x1470bd=>_0x1d07c8[_0x44db('0x130')](_0x1470bd,!0x0))&&_0x289137['discard']();if(_0x32004e[_0x44db('0xa7')](_0x2196e8=>_0x2196e8[_0x44db('0x130')](_0x1d07c8,!0x0))){const _0x10361f=this[_0x44db('0x98')][_0x44db('0x8c')]('deletion',_0x3f1fe8,_0x44db('0xdd'));return this[_0x44db('0xd')](()=>_0x10361f([_0x1d07c8],null,_0x5e0f17)),null;}}else{const _0xf9fa59=_0x1d07c8['getIntersection'](_0x289137[_0x44db('0x16')]());null!==_0xf9fa59&&_0x289137[_0x44db('0xa5')]([_0xf9fa59],null,_0x5e0f17);}}if(_0x1d07c8[_0x44db('0x14')](),_0x1d07c8['isCollapsed']||_0x44db('0x7c')==_0x1d07c8[_0x44db('0x74')][_0x44db('0x108')])return null;let _0xb80bbf=null,_0x254c11=_0x1d07c8[_0x44db('0xb2')],_0x1434b8=_0x1d07c8[_0x44db('0x126')];const _0x4166bf=this['_findSuggestions'](_0x1d07c8,_0x44db('0x26'));for(const {suggestion:_0x46ee07,meta:_0x19a5f2}of _0x4166bf){const _0xb239a6=this[_0x44db('0xa')][_0x44db('0x3e')](_0x254c11,_0x1434b8);if(_0x19a5f2['isOwn']&&(this[_0x44db('0xec')]||!_0x19a5f2[_0x44db('0x112')]&&!_0x19a5f2['isInsideObject'])){if(_0x46ee07[_0x44db('0x67')]){if(!Ot(_0x46ee07,_0x5e0f17))continue;let _0x3f11ae=!0x0;for(const _0x15e988 of _0x46ee07[_0x44db('0x27')]()){if(_0x15e988['containsRange'](_0xb239a6,!0x0))return _0x46ee07;_0xb239a6[_0x44db('0x130')](_0x15e988)||(_0x3f11ae=!0x1);}_0x3f11ae&&_0x46ee07[_0x44db('0x50')]();}else{const _0xc64426=_0x46ee07[_0x44db('0x16')]();if(_0xc64426[_0x44db('0x130')](_0xb239a6,!0x0))return _0x46ee07;if(!Ot(_0x46ee07,_0x5e0f17)){_0xb239a6[_0x44db('0x130')](_0xc64426)?_0x46ee07[_0x44db('0xce')]():_0xc64426[_0x44db('0x137')](_0x254c11)?_0x254c11=_0xc64426['end']:_0xc64426[_0x44db('0x137')](_0x1434b8)&&(_0x1434b8=_0xc64426[_0x44db('0xb2')]);continue;}_0x254c11=_0x254c11['isBefore'](_0xc64426[_0x44db('0xb2')])?_0x254c11:_0xc64426[_0x44db('0xb2')],_0x1434b8=_0x1434b8[_0x44db('0x12')](_0xc64426[_0x44db('0x126')])?_0x1434b8:_0xc64426[_0x44db('0x126')],_0x5e0f17=Object[_0x44db('0x70')]({},_0x46ee07[_0x44db('0xa3')]),_0xb80bbf?_0xc64426[_0x44db('0xb2')][_0x44db('0x43')](_0xb80bbf[_0x44db('0x16')]()[_0x44db('0xb2')])?(_0xb80bbf[_0x44db('0xce')](),_0xb80bbf=_0x46ee07):_0x46ee07[_0x44db('0xce')]():_0xb80bbf=_0x46ee07;}}}if(_0xb80bbf)return this['_setSuggestionRange'](_0xb80bbf,this['_model'][_0x44db('0x3e')](_0x254c11,_0x1434b8)),_0xb80bbf;{const _0x1841e=_0x2ee776(),_0x58be39=this[_0x44db('0xa')]['createRange'](_0x254c11,_0x1434b8),_0x399af5=_0x1ab9d6['id'],_0x58c9c3=_0x3f1fe8?_0x44db('0xfd')+_0x3f1fe8:'deletion',_0x3b7fa1=this[_0x44db('0xdb')]({'id':_0x1841e,'type':_0x58c9c3,'createdAt':new Date(),'authorId':_0x399af5,'attributes':_0x5e0f17});return this['_addSuggestionMarker'](_0x58c9c3,_0x1841e,_0x399af5,_0x58be39),_0x3b7fa1;}}[_0x44db('0x15')](_0x5470b6,_0x193157='multi',_0x430851={}){const _0x1aae6a=this[_0x44db('0xcd')][_0x44db('0xd7')]['get']('Users')['me'],_0xef4b2f=_0x5470b6['map'](_0x44e210=>new _0x408c9a(_0x44e210[_0x44db('0xb2')],_0x44e210['end'])),_0x596b81=new Set();for(const {suggestion:_0x3293d6,meta:_0x4dd75c}of this[_0x44db('0xd2')](_0xef4b2f,'insertion'))_0x4dd75c[_0x44db('0xf8')]&&!_0x4dd75c['isNextTo']&&_0x596b81[_0x44db('0x53')](_0x3293d6);for(const _0x586b6f of _0x596b81)if(_0x586b6f[_0x44db('0x67')]){const _0x494048=_0x586b6f[_0x44db('0x27')]();(!_0x586b6f[_0x44db('0xa3')]||!_0x586b6f[_0x44db('0xa3')]['skipNestingCheck'])&&(_0x494048['every'](_0x148e19=>_0xef4b2f[_0x44db('0xa7')](_0x46317b=>_0x46317b['containsRange'](_0x148e19,!0x0)))&&_0x586b6f[_0x44db('0x50')]());if(_0xef4b2f[_0x44db('0x59')](_0x421e1=>_0x494048['some'](_0x2b1617=>_0x2b1617[_0x44db('0x130')](_0x421e1,!0x0)))){const _0x200044=this[_0x44db('0x98')]['getSuggestionCallback'](_0x44db('0x26'),_0x193157,_0x44db('0xdd'));return this[_0x44db('0xd')](()=>_0x200044(_0x5470b6,null,_0x430851)),null;}}else{const _0x52a28e=_0x586b6f[_0x44db('0x16')]();_0xef4b2f['some'](_0x464958=>_0x464958[_0x44db('0x130')](_0x52a28e,!0x0))&&_0x586b6f[_0x44db('0x50')]();if(_0xef4b2f[_0x44db('0x59')](_0x11e023=>_0x52a28e[_0x44db('0x130')](_0x11e023,!0x0))){const _0x264946=this[_0x44db('0x98')]['getSuggestionCallback']('deletion',_0x193157,_0x44db('0xdd'));return this['forceDefaultExecution'](()=>_0x264946(_0xef4b2f,null,_0x430851)),null;}}const _0x1613db=this['_suggestionFactory'][_0x44db('0x8c')](_0x44db('0x26'),_0x193157,_0x44db('0x57'));let _0x464fdd=null;for(const _0x4858df of this[_0x44db('0xbd')]())if(_0x4858df[_0x44db('0x28')]['id']==_0x1aae6a['id']&&_0x4858df[_0x44db('0x7b')]&&_0x44db('0x26')==_0x4858df[_0x44db('0x60')]&&_0x4858df[_0x44db('0x11')]==_0x193157&&Ot(_0x4858df,_0x430851)&&(_0x1613db(_0x4858df['getRanges'](),_0xef4b2f)||_0x1613db(_0xef4b2f,_0x4858df['getRanges']()))){if(_0x464fdd){if(_0x4858df[_0x44db('0x44')]&&_0x4858df[_0x44db('0x44')][_0x44db('0x3b')])continue;for(const _0xf66bbb of _0x4858df[_0x44db('0x27')]())_0x464fdd['isIntersectingWithRange'](_0xf66bbb)||_0x464fdd[_0x44db('0xd8')](_0xf66bbb);_0x4858df['removeMarkers']();}else{_0x464fdd=_0x4858df;for(const _0x53a52e of _0xef4b2f)_0x4858df[_0x44db('0xa4')](_0x53a52e)||_0x4858df[_0x44db('0xd8')](_0x53a52e);}}if(_0x464fdd)return _0x464fdd;_0x596b81[_0x44db('0xf0')]();for(const {suggestion:_0x9600a0,meta:_0x1c10e3}of this[_0x44db('0xd2')](_0xef4b2f,_0x44db('0x26')))_0x1c10e3[_0x44db('0xf8')]&&(this[_0x44db('0xec')]||!_0x1c10e3[_0x44db('0x112')]&&!_0x1c10e3['isInsideObject'])&&Ot(_0x9600a0,_0x430851)&&_0x596b81['add'](_0x9600a0);for(const _0x3c7fea of _0x596b81){const _0x3ef47d=_0x3c7fea['getRanges']();if(!_0x430851||!_0x430851[_0x44db('0x9d')]){if(_0xef4b2f[_0x44db('0x59')](_0x1d7503=>_0x3ef47d[_0x44db('0xa7')](_0x32da1a=>_0x32da1a[_0x44db('0x130')](_0x1d7503,!0x0))))return _0x3c7fea;}(!_0x3c7fea['attributes']||!_0x3c7fea[_0x44db('0xa3')][_0x44db('0x9d')])&&(_0x3ef47d[_0x44db('0x59')](_0x4876ef=>_0xef4b2f[_0x44db('0xa7')](_0x4d663c=>_0x4d663c[_0x44db('0x130')](_0x4876ef,!0x0)))&&_0x3c7fea[_0x44db('0x50')]());}const _0x45882c=_0x2ee776(),_0xc783ba=_0x1aae6a['id'],_0x5d5072=_0x44db('0xfd')+_0x193157,_0x503980=this[_0x44db('0xdb')]({'id':_0x45882c,'type':_0x5d5072,'createdAt':new Date(),'authorId':_0xc783ba,'attributes':_0x430851});for(const _0x2bafbe of _0xef4b2f)_0x2bafbe[_0x44db('0x14')](),_0x2bafbe['isCollapsed']||_0x44db('0x7c')==_0x2bafbe['root'][_0x44db('0x108')]||this[_0x44db('0x4a')](_0x5d5072,_0x45882c,_0xc783ba,_0x2bafbe,_0x30870e['getMultiRangeId']());return _0x503980;}[_0x44db('0xe7')](_0x1553bf,_0x3ce28c){const _0x53610c=_0x1553bf[_0x44db('0x89')]();this[_0x44db('0xa')][_0x44db('0x4d')](_0x5b5de6=>{_0x5b5de6[_0x44db('0xb6')](_0x53610c,{'range':_0x3ce28c});});}['_addThreadToSuggestion'](_0x1d64e7){const _0x45aef3=_0x1d64e7['id'],_0x1fda8b=this[_0x44db('0xcd')][_0x44db('0x48')]['get'](_0x44db('0x100'));this[_0x44db('0xff')]['hasCommentThread'](_0x45aef3)||this[_0x44db('0xff')][_0x44db('0x87')]({'channelId':_0x1fda8b,'threadId':_0x45aef3,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x118b3b=this[_0x44db('0xff')][_0x44db('0xdc')](_0x45aef3);_0x118b3b[_0x44db('0xc7')](_0x44db('0x8')),_0x118b3b[_0x44db('0x8')]=!0x1,_0x1d64e7[_0x44db('0x44')]=_0x118b3b;}['_checkSuggestionCorrectness'](_0x1ad658,_0x5567b4,_0x1c7d8d,_0x3ac30c){if(_0x1ad658[_0x44db('0x60')]!=_0x5567b4||_0x1ad658[_0x44db('0x11')]!=_0x1c7d8d||_0x1ad658['creator']['id']!=_0x3ac30c)throw this[_0x44db('0xcd')][_0x44db('0x7e')](_0x44db('0x12c')),new _0x3aca7c(_0x44db('0x12c'),this);}[_0x44db('0x134')](_0x34fa6b,_0xf23e89){const _0x3f1393=_0x34fa6b['getFirstRange']();if(_0xf23e89[_0x44db('0xf7')](_0x3f1393))_0x34fa6b[_0x44db('0xce')]();else{if(_0x3f1393[_0x44db('0x130')](_0xf23e89)){const _0x2f4ce2=this[_0x44db('0xa')]['createPositionAt'](_0xf23e89[_0x44db('0xb2')][_0x44db('0x7d')],_0x44db('0x126'));this[_0x44db('0xe7')](_0x34fa6b,this[_0x44db('0xa')]['createRange'](_0x3f1393[_0x44db('0xb2')],_0x2f4ce2));const _0x564928=_0x2ee776(),_0x2c66ae=_0x34fa6b['creator']['id'],_0x5d83bc=_0x34fa6b[_0x44db('0x60')]+':'+_0x34fa6b['subType'];this[_0x44db('0xdb')]({'id':_0x564928,'type':_0x5d83bc,'createdAt':new Date(),'authorId':_0x2c66ae,'data':_0x34fa6b[_0x44db('0xe2')],'attributes':_0x34fa6b['attributes']});const _0x5f29bd=this[_0x44db('0xa')][_0x44db('0x7f')](_0xf23e89['end'][_0x44db('0xc6')],_0x44db('0x8b')),_0x2f5f7f=this[_0x44db('0xa')]['createRange'](_0x5f29bd,_0x3f1393[_0x44db('0x126')]);this[_0x44db('0x4a')](_0x5d83bc,_0x564928,_0x2c66ae,_0x2f5f7f);}else{if(_0x3f1393[_0x44db('0x137')](_0xf23e89[_0x44db('0xb2')])){const _0x5f2df4=this['_model'][_0x44db('0x7f')](_0xf23e89[_0x44db('0xb2')]['nodeBefore'],_0x44db('0x126'));this['_setSuggestionRange'](_0x34fa6b,this['_model'][_0x44db('0x3e')](_0x3f1393[_0x44db('0xb2')],_0x5f2df4));}else{const _0x2ed960=this[_0x44db('0xa')]['createPositionAt'](_0xf23e89[_0x44db('0x126')][_0x44db('0xc6')],_0x44db('0x8b'));this[_0x44db('0xe7')](_0x34fa6b,this[_0x44db('0xa')][_0x44db('0x3e')](_0x2ed960,_0x3f1393[_0x44db('0x126')]));}}}}[_0x44db('0xe6')](_0x5f1780){for(const {suggestion:_0x14c137,meta:_0x335886}of this[_0x44db('0xd2')](_0x5f1780,_0x44db('0x1d'))){if(!_0x335886[_0x44db('0xf8')])continue;const _0x2324bc=_0x14c137[_0x44db('0x27')]();for(const _0x8cd0b8 of _0x2324bc)if(!_0x5f1780['getDifference'](_0x8cd0b8)[_0x44db('0x3b')])return!0x0;}return!0x1;}[_0x44db('0x120')](_0x1f9600){const _0xb15425=this[_0x44db('0xcd')][_0x44db('0xd7')][_0x44db('0xac')](_0x44db('0x1e'))[_0x44db('0x10d')](_0x1f9600);if(!_0xb15425)throw new _0x3aca7c('track-changes-user-not-found',this);return _0xb15425;}[_0x44db('0x31')](_0x30abde){const _0x7204a9=this[_0x44db('0xcd')][_0x44db('0xd7')][_0x44db('0xac')](_0x44db('0x1e')),_0x499a3a=_0x5d6662(_0x44db('0x66')+_0x30abde),_0x2a6fc5=_0x7204a9[_0x44db('0x10d')](_0x499a3a);return _0x2a6fc5||_0x7204a9[_0x44db('0xe0')]({'id':_0x499a3a,'name':_0x30abde});}[_0x44db('0x68')](_0x4661d5,_0x1e7340,_0x3354bb,_0xd30760,_0x2c6df0){const _0x5361af=this[_0x44db('0x120')](_0xd30760),_0x20ea10=this[_0x44db('0x98')]['buildSuggestion'](_0x4661d5,_0x1e7340,_0x3354bb,_0x5361af,_0x2c6df0,_0x340377=>this[_0x44db('0x13d')](_0x3354bb,{'attributes':_0x340377}));return this[_0x44db('0xc2')](_0x20ea10,_0x44db('0xdd'),()=>{this[_0x44db('0x13d')](_0x3354bb,{'state':_0x44db('0x12a')});},{'priority':_0x44db('0x11a')}),this[_0x44db('0xc2')](_0x20ea10,_0x44db('0x50'),()=>{this[_0x44db('0x13d')](_0x3354bb,{'state':_0x44db('0xf2')});},{'priority':'high'}),this[_0x44db('0x5')][_0x44db('0x6f')](_0x3354bb,_0x20ea10),this[_0x44db('0x99')]['set'](_0x20ea10,_0x44db('0x11c')),_0x20ea10;}['_splitMarkerName'](_0x34dcad){const _0x40e9bd=_0x34dcad['split'](':');return{'group':_0x40e9bd[0x0],'type':_0x40e9bd[0x1],'subType':_0x40e9bd[_0x44db('0x3b')]>=0x5?_0x40e9bd[0x2]:null,'id':_0x40e9bd[_0x44db('0x3b')]<0x5?_0x40e9bd[0x2]:_0x40e9bd[0x3],'authorId':_0x40e9bd[_0x44db('0x3b')]<0x5?_0x40e9bd[0x3]:_0x40e9bd[0x4],'markerCount':0x6==_0x40e9bd[_0x44db('0x3b')]?_0x40e9bd[0x5]:null};}[_0x44db('0x5c')](_0xf3de5e,_0x55121b,_0x5ba971){const _0x42f42d=_0xf3de5e[_0x44db('0x16')](),_0x5bd867=_0x42f42d[_0x44db('0xb2')],_0x2d13e2=_0x42f42d[_0x44db('0x126')];this['_setSuggestionRange'](_0xf3de5e,this[_0x44db('0xa')][_0x44db('0x3e')](_0x5bd867,_0x55121b));const _0x3c0f17=_0x2ee776(),_0x138723=_0xf3de5e[_0x44db('0x82')]['id'],_0x3e5823=_0xf3de5e['type']+(_0xf3de5e[_0x44db('0x11')]?':'+_0xf3de5e[_0x44db('0x11')]:'');this['_setSuggestionData']({'id':_0x3c0f17,'type':_0x3e5823,'createdAt':new Date(),'authorId':_0x138723,'originalSuggestionId':_0xf3de5e['id'],'attributes':_0xf3de5e[_0x44db('0xa3')],'data':_0xf3de5e[_0x44db('0xe2')]}),_0x44db('0xbb')==_0xf3de5e[_0x44db('0x60')]&&(_0x5ba971=this['_model'][_0x44db('0x47')](_0x5ba971[_0x44db('0xc6')])),this[_0x44db('0x4a')](_0x3e5823,_0x3c0f17,_0x138723,this[_0x44db('0xa')]['createRange'](_0x5ba971,_0x2d13e2));}['_findSuggestions'](_0x5b0890,_0x41fa4f=null){const _0x4eb55b=[],_0x3a099c=this['editor']['plugins']['get'](_0x44db('0x1e'))['me'];Array[_0x44db('0x61')](_0x5b0890)||(_0x5b0890=[_0x5b0890]);for(const _0x32b7de of this['getSuggestions']()){if(!_0x32b7de[_0x44db('0x7b')])continue;if(_0x41fa4f&&_0x32b7de[_0x44db('0x60')]!=_0x41fa4f)continue;let _0x2006bb=!0x1;for(const _0x3930bc of _0x32b7de['getRanges']()){for(const _0x50150d of _0x5b0890){const _0x22f9f1=_0x50150d['start'][_0x44db('0xf7')](_0x3930bc[_0x44db('0x126')])||_0x50150d[_0x44db('0x126')][_0x44db('0xf7')](_0x3930bc['start']);if(_0x22f9f1||_0x50150d[_0x44db('0x12e')](_0x3930bc)){const _0x351a59=_0x50150d['containsRange'](_0x3930bc)&&_t(this['_model'][_0x44db('0x138')],_0x3930bc['start'],_0x50150d),_0x3ae147=_0x3930bc['containsRange'](_0x50150d)&&_t(this[_0x44db('0xa')]['schema'],_0x50150d[_0x44db('0xb2')],_0x3930bc);_0x4eb55b[_0x44db('0x2d')]({'suggestion':_0x32b7de,'meta':{'isOwn':_0x3a099c==_0x32b7de[_0x44db('0x28')],'isNextTo':_0x22f9f1,'isInsideObject':_0x351a59,'containsRangeInObject':_0x3ae147}}),_0x2006bb=!0x0;break;}}if(_0x2006bb)break;}}return _0x4eb55b;}[_0x44db('0x4a')](_0x2aeb42,_0x4769c5,_0x14ac62,_0xc0a84f,_0x190ec5){this['_model'][_0x44db('0x4d')](_0x17b615=>{let _0x508b9d='suggestion:'+_0x2aeb42+':'+_0x4769c5+':'+_0x14ac62;_0x190ec5&&(_0x508b9d=_0x508b9d+':'+_0x190ec5),_0x17b615['addMarker'](_0x508b9d,{'range':_0xc0a84f,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x44db('0x122')](_0x3f7bbf){const _0x43ed4e=_0x3f7bbf['previous'],_0x1608f6=_0x3f7bbf[_0x44db('0x110')];_0x3f7bbf[_0x44db('0x123')]=null,null!=_0x43ed4e&&(_0x43ed4e[_0x44db('0x110')]=null),_0x3f7bbf[_0x44db('0x110')]=null,null!=_0x1608f6&&(_0x1608f6[_0x44db('0x123')]=null),_0x44db('0x1c')==this[_0x44db('0x99')][_0x44db('0xac')](_0x3f7bbf)&&(this[_0x44db('0x99')][_0x44db('0x6f')](_0x3f7bbf,_0x44db('0x2a')),this[_0x44db('0x1a')](_0x44db('0xf4'),_0x3f7bbf,_0x43ed4e,_0x1608f6));}[_0x44db('0xdb')](_0x11c180){const _0x1a5665=_0x11c180['id'],_0x22da8d=this[_0x44db('0xca')](_0x11c180);if(this['_adapter']&&this['_adapter'][_0x44db('0x102')]){const _0x45d280=this['editor']['plugins'][_0x44db('0xac')](_0x44db('0xe3')),_0x27baf9=_0x22da8d[_0x44db('0x1b')],_0x4c24dc=_0x22da8d['subType']?_0x22da8d['type']+':'+_0x22da8d[_0x44db('0x11')]:_0x22da8d['type'],_0x2e8372=this[_0x44db('0xcd')][_0x44db('0x56')],_0x3f2170=_0x45d280[_0x44db('0x53')](_0x1e3427(_0x2e8372,_0x44db('0x6d'))),_0x4a148b={'id':_0x1a5665,'type':_0x4c24dc,'hasComments':_0x27baf9,'data':_0x11c180[_0x44db('0xe2')]||null,'originalSuggestionId':_0x11c180[_0x44db('0xae')]||null,'attributes':_0x22da8d[_0x44db('0xa3')]};this[_0x44db('0x106')]['addSuggestion'](_0x4a148b)[_0x44db('0x77')](_0x26f778=>{_0x22da8d[_0x44db('0x32')]=!0x0,_0x45d280['remove'](_0x3f2170),_0x26f778&&_0x26f778['createdAt']&&(this[_0x44db('0x5')][_0x44db('0xac')](_0x1a5665)[_0x44db('0x72')]=_0x26f778[_0x44db('0x72')]);})['catch'](_0x1ab675=>{throw _0x10c94e('error-saving-suggestion-data-suggestion-discarded'),this[_0x44db('0xcd')][_0x44db('0xab')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x22da8d['discard']();}),_0x22da8d[_0x44db('0x13')](),this[_0x44db('0x5')][_0x44db('0x101')](_0x22da8d['id']),this[_0x44db('0x99')][_0x44db('0x101')](_0x22da8d),_0x1ab675;});}return _0x22da8d;}[_0x44db('0x13d')](_0xa7fd0a,_0x5d87ac){const _0x34db55=this[_0x44db('0xcd')][_0x44db('0xd7')][_0x44db('0xac')](_0x44db('0xe3')),_0x4d5ffd=this[_0x44db('0x94')](_0xa7fd0a);if(this[_0x44db('0x106')]&&this[_0x44db('0x106')]['updateSuggestion']){if(_0x4d5ffd['_saved']){const _0x1328fd=_0x34db55[_0x44db('0x53')](_0x1e3427(this[_0x44db('0xcd')][_0x44db('0x56')],_0x44db('0x6d')));this[_0x44db('0x106')][_0x44db('0x107')](_0xa7fd0a,_0x5d87ac)[_0x44db('0x77')](()=>{_0x34db55[_0x44db('0x131')](_0x1328fd);});}else _0x4d5ffd['on']('change:_saved',()=>{this[_0x44db('0x13d')](_0xa7fd0a,_0x5d87ac);});}}[_0x44db('0x10a')](_0x3e24e0){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x3aca7c(_0x44db('0xf5'),this);return this[_0x44db('0x106')]['getSuggestion'](_0x3e24e0);}['_handleNewSuggestionMarker'](_0x45ca3b){const {id:_0x2bbe15,type:_0x101c39,subType:_0x12f8c3,authorId:_0x48b7d1}=this['_splitMarkerName'](_0x45ca3b),_0x36f441=this[_0x44db('0x5')][_0x44db('0xac')](_0x2bbe15)||this['_createSuggestion'](_0x101c39,_0x12f8c3,_0x2bbe15,_0x48b7d1,{});switch(this['_checkSuggestionCorrectness'](_0x36f441,_0x101c39,_0x12f8c3,_0x48b7d1),this[_0x44db('0x99')][_0x44db('0xac')](_0x36f441)){case _0x44db('0x11c'):this['_getSuggestionData'](_0x2bbe15)[_0x44db('0x77')](_0x26fe77=>{let _0xda9780=Promise[_0x44db('0xb3')]();_0x26fe77[_0x44db('0x1b')]&&(_0xda9780=this['_commentsRepository'][_0x44db('0x3f')]({'channelId':this[_0x44db('0xcd')][_0x44db('0x48')][_0x44db('0xac')]('collaboration.channelId'),'threadId':_0x2bbe15})),_0xda9780[_0x44db('0x77')](()=>{this['addSuggestionData'](_0x26fe77)['_saved']=!0x0;});}),this[_0x44db('0x99')][_0x44db('0x6f')](_0x36f441,_0x44db('0x119'));break;case _0x44db('0x2a'):this[_0x44db('0x13d')](_0x2bbe15,{'state':_0x44db('0x76')});case _0x44db('0x78'):this[_0x44db('0x99')][_0x44db('0x6f')](_0x36f441,_0x44db('0x1c')),this[_0x44db('0x1a')](_0x44db('0x75'),_0x36f441);break;case _0x44db('0x1c'):this[_0x44db('0x1a')]('suggestionChanged',_0x36f441);}return _0x36f441[_0x44db('0x29')](_0x45ca3b),_0x36f441;}['_refreshSuggestionsChain'](_0x5d7d3c){const _0x176827=Array[_0x44db('0xa2')](_0x5d7d3c)['filter'](_0x39ea56=>!_0x39ea56['isMultiRange']),_0x3cf615=this[_0x44db('0xbd')]({'skipNotAttached':!0x0})[_0x44db('0x85')](_0x57feae=>!_0x57feae['isMultiRange']),_0x464846=_0x3cf615[_0x44db('0x85')](_0x10a15d=>!_0x5d7d3c[_0x44db('0xb1')](_0x10a15d)),_0x1d7e54=new Map(_0x3cf615[_0x44db('0xe')](_0x16eb7a=>[_0x16eb7a,this[_0x44db('0x98')][_0x44db('0x8c')](_0x16eb7a['type'],_0x16eb7a[_0x44db('0x11')],_0x44db('0x40'))])),_0x4a4fd5=new Map(_0x3cf615[_0x44db('0xe')](_0x3d586b=>[_0x3d586b,_0x3d586b['getFirstRange']()])),_0x1a3853=new Set(),_0x56c0f0=new Set();for(let _0x54699e=0x0;_0x54699e<_0x176827[_0x44db('0x3b')];_0x54699e++)_0x3a8c19(_0x176827[_0x54699e],_0x176827,_0x54699e+0x1);for(let _0x7922c1=0x0;_0x7922c1<_0x176827['length'];_0x7922c1++)_0x3a8c19(_0x176827[_0x7922c1],_0x464846,0x0);for(let _0x4b07b5=0x0;_0x4b07b5<_0x176827[_0x44db('0x3b')];_0x4b07b5++){const _0x1ccb4e=_0x176827[_0x4b07b5];!_0x56c0f0[_0x44db('0xb1')](_0x1ccb4e)&&_0x1ccb4e[_0x44db('0x123')]&&(_0x1ccb4e['previous']['next']===_0x1ccb4e&&(_0x1ccb4e[_0x44db('0x123')]['next']=null),_0x1ccb4e[_0x44db('0x123')]=null),!_0x1a3853[_0x44db('0xb1')](_0x1ccb4e)&&_0x1ccb4e['next']&&(_0x1ccb4e[_0x44db('0x110')][_0x44db('0x123')]===_0x1ccb4e&&(_0x1ccb4e['next']['previous']=null),_0x1ccb4e['next']=null);}function _0x3a8c19(_0x3f86ca,_0x44f615,_0x13236e){for(let _0xdee1db=_0x13236e;_0xdee1db<_0x44f615[_0x44db('0x3b')];_0xdee1db++){const _0x6aeaaf=_0x2fd2d9(_0x3f86ca,_0x44f615[_0xdee1db]);_0x6aeaaf&&(_0x6aeaaf[0x0][_0x44db('0x110')]=_0x6aeaaf[0x1],_0x6aeaaf[0x1][_0x44db('0x123')]=_0x6aeaaf[0x0],_0x1a3853[_0x44db('0x53')](_0x6aeaaf[0x0]),_0x56c0f0[_0x44db('0x53')](_0x6aeaaf[0x1]));}}function _0x2fd2d9(_0x5c84bd,_0x4c0c5a){if(_0x5c84bd[_0x44db('0x28')]['id']!==_0x4c0c5a[_0x44db('0x28')]['id'])return null;const _0xca5ee8=_0x1d7e54[_0x44db('0xac')](_0x5c84bd)(_0x5c84bd,_0x4c0c5a,_0x4a4fd5[_0x44db('0xac')](_0x5c84bd),_0x4a4fd5[_0x44db('0xac')](_0x4c0c5a));if(!_0xca5ee8)return null;return _0x1d7e54[_0x44db('0xac')](_0x4c0c5a)(_0x5c84bd,_0x4c0c5a,_0x4a4fd5[_0x44db('0xac')](_0x5c84bd),_0x4a4fd5['get'](_0x4c0c5a))?_0xca5ee8[0x1][_0x44db('0x44')]&&_0xca5ee8[0x1][_0x44db('0x44')][_0x44db('0x3b')]?null:_0xca5ee8:null;}}[_0x44db('0x13c')](_0x47fb8d){const _0x241bd8=Array['from'](_0x47fb8d),_0xbbed5=this[_0x44db('0xbd')]({'skipNotAttached':!0x0}),_0xccb407=_0xbbed5['filter'](_0x208ac1=>!_0x47fb8d[_0x44db('0xb1')](_0x208ac1)),_0x434f12=new Map(_0x241bd8['map'](_0x2a6f9f=>[_0x2a6f9f,this[_0x44db('0x98')]['getSuggestionCallback'](_0x2a6f9f[_0x44db('0x60')],_0x2a6f9f['subType'],_0x44db('0x57'))])),_0x28f47b=new Map(_0xbbed5[_0x44db('0xe')](_0x41d655=>[_0x41d655,_0x41d655['getRanges']()]));for(let _0x68b98d=0x0;_0x68b98d<_0x241bd8[_0x44db('0x3b')];_0x68b98d++){if(_0x406b58(this,_0x241bd8[_0x68b98d],_0x241bd8,_0x68b98d+0x1))return!0x0;}for(let _0x33ee9a=0x0;_0x33ee9a<_0x241bd8[_0x44db('0x3b')];_0x33ee9a++){if(_0x406b58(this,_0x241bd8[_0x33ee9a],_0xccb407,0x0))return!0x0;}return!0x1;function _0x406b58(_0x192325,_0x2a51d8,_0x2d2e88,_0x2c64fd){for(let _0x43cc9f=_0x2c64fd;_0x43cc9f<_0x2d2e88[_0x44db('0x3b')];_0x43cc9f++){const _0x2d8fb6=_0x2d2e88[_0x43cc9f];if(_0x2d8fb6[_0x44db('0x60')]!==_0x2a51d8['type']||_0x2d8fb6[_0x44db('0x28')]['id']!==_0x2a51d8[_0x44db('0x28')]['id']||_0x2d8fb6[_0x44db('0x11')]!==_0x2a51d8[_0x44db('0x11')])continue;if(!Ut(_0x2a51d8,_0x2d8fb6))continue;const _0x285de5=_0x434f12['get'](_0x2a51d8),_0x54ccd2=_0x28f47b['get'](_0x2a51d8),_0xaf52a5=_0x28f47b[_0x44db('0xac')](_0x2d8fb6),_0x5a4616=_0x2a51d8['commentThread']&&_0x2a51d8['commentThread']['length'],_0x4a8ae0=_0x2d8fb6[_0x44db('0x44')]&&_0x2d8fb6[_0x44db('0x44')]['length'];if(!_0x5a4616&&_0x285de5(_0xaf52a5,_0x54ccd2))return _0x192325['_joinSuggestions'](_0x2d8fb6,_0x2a51d8),_0x28f47b[_0x44db('0x101')](_0x2a51d8),!0x0;if(!_0x4a8ae0&&_0x285de5(_0x54ccd2,_0xaf52a5))return _0x192325[_0x44db('0x121')](_0x2a51d8,_0x2d8fb6),_0x28f47b['delete'](_0x2d8fb6),!0x0;}return!0x1;}}[_0x44db('0x121')](_0x20c5af,_0x5e603e){if(_0x20c5af['isMultiRange'])for(const _0x3ae81d of _0x5e603e[_0x44db('0x27')]())_0x20c5af['addRange'](_0x3ae81d);else{const _0x46e23b=_0x5e603e['getFirstRange']()[_0x44db('0x126')];this[_0x44db('0xe7')](_0x20c5af,this[_0x44db('0xa')][_0x44db('0x3e')](_0x20c5af[_0x44db('0x16')]()[_0x44db('0xb2')],_0x46e23b));}_0x5e603e[_0x44db('0xce')]();}}class Bt{constructor(_0x372e91){this[_0x44db('0x86')]=_0x372e91,this[_0x44db('0xa')]=_0x372e91[_0x44db('0xab')],this[_0x44db('0x3a')]=new Map(),this[_0x44db('0x4c')]=new Map(),this[_0x44db('0x2b')]();}[_0x44db('0x6a')](_0x1ab553,_0x21a4c5,_0x4c05d5,_0x4afd2d,_0x296c32,_0x463a93){return new _0x30870e(this[_0x44db('0xa')],{'type':_0x1ab553,'subType':_0x21a4c5,'id':_0x4c05d5,'author':_0x4afd2d,'creator':_0x4afd2d,'attributes':_0x296c32,'onAttributesChange':_0x463a93,'onAccept':(..._0x38fe7c)=>this[_0x44db('0x8c')](_0x1ab553,_0x21a4c5,_0x44db('0xdd'))(..._0x38fe7c),'onDiscard':(..._0x53e747)=>this[_0x44db('0x8c')](_0x1ab553,_0x21a4c5,_0x44db('0x50'))(..._0x53e747)});}['registerCustomCallback'](_0x50867d,_0x51e721,_0x2b0b11,_0x581fda){const _0x584bed=_0x50867d+':'+_0x51e721+':'+_0x2b0b11;this['_customCallbacks']['set'](_0x584bed,_0x581fda);}[_0x44db('0x8c')](_0x11b04f,_0x334781,_0x5a663c){const _0x4afc62=_0x11b04f+':'+_0x334781+':'+_0x5a663c;return this[_0x44db('0x3a')][_0x44db('0xac')](_0x4afc62)||this[_0x44db('0x4c')][_0x44db('0xac')](_0x11b04f+':'+_0x5a663c);}['_registerDefaultCallbacks'](){const _0x4a142e=()=>!0x1,_0x246eb3=_0x4deff0=>{_0x4deff0[_0x44db('0x22')]((_0x3a8792,_0x3fb7fa)=>_0x3a8792['start'][_0x44db('0x43')](_0x3fb7fa['start'])?0x1:-0x1),this[_0x44db('0xa')][_0x44db('0x4d')](_0x4890a6=>{for(const _0x1643d6 of _0x4deff0){let _0x3a4bca;_0x3a4bca=_0x1643d6[_0x44db('0x126')][_0x44db('0x5d')]&&_0x1643d6[_0x44db('0x126')]['parent']==_0x1643d6[_0x44db('0xb2')][_0x44db('0x104')]?_0x4890a6[_0x44db('0xe5')](_0x1643d6[_0x44db('0xb2')][_0x44db('0x104')],'on'):_0x4890a6[_0x44db('0xe5')](_0x1643d6),this['_model'][_0x44db('0x19')](_0x3a4bca,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x1cca6a=(_0x2a6c55,_0x2ae8cb)=>{this[_0x44db('0xa')][_0x44db('0x4d')](_0x16f01f=>{const {commandName:_0x557304,commandParams:_0x263a8b=[]}=_0x2ae8cb,_0x489e63=_0x2a6c55[_0x44db('0xe')](_0x3581fd=>(Mt(_0x3581fd)&&(_0x3581fd=this['_model'][_0x44db('0x3e')](_0x3581fd['end'])),_0x3581fd))['filter'](_0x40f4c2=>_0x44db('0x7c')!==_0x40f4c2['root'][_0x44db('0x108')]);if(_0x489e63['length']<0x1)return;const _0x37f36e=Array[_0x44db('0xa2')](this['_model'][_0x44db('0x3')]['selection'][_0x44db('0x27')]())[_0x44db('0xe')](_0x3f05d7=>_0x408c9a[_0x44db('0x6b')](_0x3f05d7));_0x16f01f[_0x44db('0x71')](_0x489e63);for(const _0x2695dc of this[_0x44db('0x86')][_0x44db('0x9e')][_0x44db('0x9e')]())_0x2695dc['refresh']();_0x263a8b[_0x44db('0x2d')]({'forceDefaultExecution':!0x0}),this[_0x44db('0x86')][_0x44db('0xc')](_0x557304,..._0x263a8b);const _0x5092bd=_0x37f36e[_0x44db('0x85')](_0x422c9c=>_0x44db('0x7c')!=_0x422c9c['root'][_0x44db('0x108')]);_0x5092bd[_0x44db('0x3b')]>0x0&&_0x16f01f['setSelection'](_0x5092bd);for(const _0x2ea8f0 of _0x37f36e)_0x2ea8f0[_0x44db('0x14')]();});},_0x5e2d44=(_0x243754,_0x23ad51)=>0x1==_0x243754[_0x44db('0x3b')]&&0x1==_0x23ad51[_0x44db('0x3b')]&&_0x243754[0x0][_0x44db('0x126')][_0x44db('0xf7')](_0x23ad51[0x0][_0x44db('0xb2')]),_0x4299f9=(_0x3c224a,_0x21da01,_0x399b61,_0x52ced0)=>xt(_0x3c224a,_0x21da01,_0x399b61,_0x52ced0,this['_model'])?[_0x3c224a,_0x21da01]:xt(_0x21da01,_0x3c224a,_0x52ced0,_0x399b61,this[_0x44db('0xa')])?[_0x21da01,_0x3c224a]:null;this['_defaultCallbacks'][_0x44db('0x6f')](_0x44db('0x95'),_0x4a142e),this[_0x44db('0x4c')][_0x44db('0x6f')](_0x44db('0x10e'),_0x246eb3),this[_0x44db('0x4c')][_0x44db('0x6f')]('insertion:join',_0x5e2d44),this['_defaultCallbacks']['set'](_0x44db('0x18'),_0x4299f9),this['_defaultCallbacks']['set'](_0x44db('0x7'),_0x246eb3),this[_0x44db('0x4c')][_0x44db('0x6f')]('deletion:discard',_0x4a142e),this['_defaultCallbacks'][_0x44db('0x6f')](_0x44db('0x11e'),_0x5e2d44),this[_0x44db('0x4c')][_0x44db('0x6f')]('deletion:chain',_0x4299f9),this[_0x44db('0x4c')][_0x44db('0x6f')](_0x44db('0x10c'),_0x1cca6a),this['_defaultCallbacks'][_0x44db('0x6f')](_0x44db('0x4e'),_0x4a142e),this[_0x44db('0x4c')][_0x44db('0x6f')]('formatInline:join',_0x5e2d44),this[_0x44db('0x4c')][_0x44db('0x6f')]('formatInline:chain',_0x4a142e),this['_defaultCallbacks'][_0x44db('0x6f')](_0x44db('0x9'),_0x1cca6a),this[_0x44db('0x4c')][_0x44db('0x6f')]('formatBlock:discard',_0x4a142e),this[_0x44db('0x4c')][_0x44db('0x6f')](_0x44db('0xa1'),_0x5e2d44),this[_0x44db('0x4c')][_0x44db('0x6f')]('formatBlock:chain',_0x4a142e);}}function _t(_0x58eaa4,_0x3785ed,_0x29c23c){for(const _0x586f46 of _0x3785ed['parent'][_0x44db('0xa0')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x586f46[_0x44db('0x74')]==_0x586f46)return!0x1;if(!_0x29c23c['containsItem'](_0x586f46))return!0x1;if(_0x58eaa4[_0x44db('0x54')](_0x586f46)||_0x58eaa4[_0x44db('0xb')](_0x586f46))return!0x0;}return!0x1;}function Mt(_0x4350d7){return _0x4350d7[_0x44db('0x126')][_0x44db('0xc6')]==_0x4350d7[_0x44db('0xb2')][_0x44db('0x104')]&&_0x4350d7[_0x44db('0x126')]['isAtStart'];}function $t(_0x193096,_0x59ce88,_0x42a000,_0x283173){const _0x5ec86e=_0x4cafa5=>!_0x4cafa5['item']['is'](_0x44db('0x38'))&&!_0x283173[_0x44db('0x54')](_0x4cafa5[_0x44db('0xf3')]),_0x59333b=_0x193096[_0x44db('0xb2')]['getLastMatchingPosition'](_0x5ec86e),_0x2d9f73=_0x193096['end'][_0x44db('0x64')](_0x5ec86e,{'direction':_0x44db('0xba')});return(!_0x193096[_0x44db('0xb2')][_0x44db('0xf7')](_0x59333b)||!_0x193096[_0x44db('0x126')][_0x44db('0xf7')](_0x2d9f73))&&(_0x59333b[_0x44db('0x43')](_0x2d9f73)?_0x42a000[_0x44db('0xb6')](_0x59ce88,{'range':_0x42a000['createRange'](_0x59333b,_0x2d9f73)}):_0x42a000[_0x44db('0x13e')](_0x59ce88),!0x0);}function Nt(_0x1f9eb8){return _0x5d6662(_0x1f9eb8);}function Rt(_0xcca7e5){const _0xd1f187=_0xcca7e5[_0x44db('0xb2')][_0x44db('0x104')];return _0xd1f187&&_0xd1f187['is'](_0x44db('0x6e'));}function jt(_0xfd59a1,_0xc8ba66){const _0x2f1162=_0xc8ba66[_0x44db('0x138')][_0x44db('0x54')](_0xfd59a1)||_0xc8ba66[_0x44db('0x138')][_0x44db('0xb4')](_0xfd59a1);return _0xc8ba66[_0x44db('0x3e')](_0xc8ba66['createPositionAt'](_0xfd59a1,_0x44db('0x51')),_0x2f1162?_0xc8ba66[_0x44db('0xd1')](_0xfd59a1):_0xc8ba66[_0x44db('0x7f')](_0xfd59a1,_0x44db('0x126')));}function xt(_0x5c483f,_0x3a4e1f,_0x3c381f,_0x57682a,_0x4924c7){if(!Ut(_0x5c483f,_0x3a4e1f))return!0x1;if(_0x3c381f[_0x44db('0x126')][_0x44db('0xf7')](_0x57682a[_0x44db('0xb2')]))return!0x0;if(_0x5c483f[_0x44db('0x60')]!=_0x3a4e1f[_0x44db('0x60')])return!0x1;if(!_0x3c381f[_0x44db('0x126')]['isTouching'](_0x57682a[_0x44db('0xb2')]))return!0x1;const _0x48d671=_0x4924c7[_0x44db('0x3e')](_0x3c381f[_0x44db('0x126')],_0x57682a[_0x44db('0xb2')])[_0x44db('0xbf')]();for(const _0x3e7eae of _0x48d671)if([_0x44db('0x37'),_0x44db('0xd0')][_0x44db('0xb8')](_0x3e7eae[_0x44db('0x60')])&&_0x4924c7['schema']['isLimit'](_0x3e7eae[_0x44db('0xf3')]))return!0x1;return!0x0;}function Ut(_0x1c1ced,_0x45f096){return!(!_0x1c1ced[_0x44db('0x33')]||!_0x45f096['_isDataLoaded'])&&_0x570e25(_0x1c1ced[_0x44db('0xa3')],_0x45f096[_0x44db('0xa3')]);}function Ot(_0x4c106d,_0x19c183){const _0x5b887a=Et(_0x4c106d['attributes']),_0x2abc87=Et(_0x19c183);if(!_0x4c106d[_0x44db('0x33')])return!0x1;for(const _0x4be989 of Object[_0x44db('0x0')](_0x2abc87))if(!_0x570e25(_0x5b887a[_0x4be989],_0x2abc87[_0x4be989]))return!0x1;return!0x0;}function Et(_0x5a7079){const _0x42c4af=Object[_0x44db('0x70')]({},_0x5a7079);return delete _0x42c4af['skipNestingCheck'],delete _0x42c4af[_0x44db('0xfc')],_0x42c4af;}