@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231118.0 → 0.0.0-nightly-20231120.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-20231118.0",
3
+ "version": "0.0.0-nightly-20231120.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-20231118.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231118.0",
42
+ "ckeditor5": "0.0.0-nightly-20231120.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231120.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 _0x45e5=['oldValue','move','acceptSelectedSuggestions','isSelectable','get','open','_registerInlineAttribute','ck-suggestion-marker-formatInline','options','registerCustomCallback','start','removeClass','enqueueChange','change:data','listenTo','deletion','commands','bindElementToMarker','stop','addClass','getUser','external:','accepted','define','root','name','insertion:discard','containsPosition','createPositionAfter','collaboration.channelId','acceptAllSuggestions','deletion:join','targetPosition','chain','removed','includes','isOwn','_splitMarkerName','getMarkers','_getMarkerAnnouncementText','markMultiRangeInsertion','data','author','creator','formatBlock:join','CommentsRepository','range','toUpperCase','ck-suggestion-marker','buildSuggestion','formatBlock:chain','markInsertion','addComment','getCommentThread','attributeNewValue','accept','_SUGGESTION_ANNOUNCEMENT','track-changes-command-not-found','keys','howMany','low','_checkSuggestionCorrectness','end','elementToElement','moveTargetPosition','discard','markerReady','deletion:discard','_joinWithAdjacentSuggestions','set','removeMarker:suggestion:formatBlock','subType','containerElement','getChanges','_editor','_findSuggestions','_isBlockAttribute','isArray','attribute','schema','isUndo','formatInline','_breakSuggestionMarker','detach','dataReady','isEqual','forceDefaultExecution','attribute:discard','forEach','find','plugins','dataDowncast','values','isCollapsed','tablePasteChainId','_commentsRepository','isIntersecting','getFirstMarker','getLastMatchingPosition','previous','createdAt','isTouching','locale','addMarkerName','_processAttributeSuggestions','from','applyOperation','reconvertMarker','markerNameToElements','trackChanges.mergeNestedSuggestions','updateMarker','getMultiRangeId','deleteContent','head','ready','warn','_joinSuggestions','markAttributeChange','setAttribute','selection','join','dataToMarker','isInContent','insertion:join','getChangedMarkers','sort','formatInline:discard','markMultiRangeDeletion','markBlockFormat','has','FORMATTING','documentSelection','mapper','_onDiscard','next','init','rename','never','toJSON','lowest','removeMarker:suggestion:attribute','then','authorName','split','editing','filter','attribute:','getRanges','toViewElement','pop','hasComments','attribute:join','_recordAttributeSuggestionsFromVersion','track-changes-user-not-found','element','containsRangeInObject','_setSuggestionRange','nodeBefore','trackChangesCommand','markerToHighlight','_reduceSuggestionAttributeRange','isLimit','skipNestingCheck','groupId','showSuggestionHighlights','default','_rangeIsInLocalUserInsertion','getAncestors','getSuggestionCallback','notReady','track-changes-suggestion-not-found','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','_suggestionFactory','upcast','splice','_addThreadToSuggestion','deletion:','forward','newValue','getAllAdjacentSuggestions','formatBlock:accept','stopListening','updateSuggestion','$elementName','formatGroupId','getShiftedBy','_updateSuggestionData','_registerDefaultCallbacks','length','attributes','high','rootName','hasCommentThread','createPositionAt','always','isObject','multipleBlocks','enableReadOnlyMode','suggestion:attribute:','createElement','meta','widget','_trackFormatChanges','_enableDefaultAttributesIntegration','_getExternalAuthor','comments','setSelection','removeMarker','acceptSuggestion','isNextTo','enableCommand','_defaultCallbacks','some','discardSelectedSuggestions','marker-count','insertion:chain','addSuggestionData','commentThread','_inlineAttributeKeys','change','deletion:accept','resolve','formatBlock:','formatInline:chain','unbindElementFromMarkerName','clear','consumable','isBefore','suggestionChanged','_cutOutSuggestionMarker','formatInline:','attributeKey','insert','addMarker:suggestion','_suggestionState','editingDowncast','backward','formatInline:accept','getRange','formatBlock:discard','isInsideObject','insertion','item','ck-suggestion-marker-formatBlock','_isDataLoaded','_suggestions','addMarker:suggestion:attribute','substring','markerName','format','suggestion','_handleNewSuggestionMarker','assign','getIntersection','createRangeOn','discardSuggestion','createRangeIn','key','originalSuggestionId','conversion','commandName','type','document','highest','discardAllSuggestions','_enabledCommands','changeAttribute','history','$marker','_adapter','remove','_getSuggestionData','execute','parent','markMultiRangeBlockFormat','fromRange','$text','addSuggestion','oldRange','addHighlight','isMultiRange','for','registerPostFixer','nodeAfter','_blockAttributeKeys','LEAVE','_saved','createRange','createSelection','_getAttributeKeyFromSubType','rejected','clone','getFirstRange','getSuggestion','announce','isRemovable','value','writer','@external','differ','markers','_isForcedDefaultExecutionBlock','editor','trackChanges.trackFormatChanges','ariaLiveAnnouncer','track-changes-adapter-already-set','getNearestSelectionRange','position','normal','_refreshSuggestionsChain','markDeletion','newName','consume','data-suggestion','insertion:','config','multi','createPositionBefore','every','removeAttribute','_recordAttributeChanges','_removeSuggestion','_customCallbacks','fire','isAfter','add','track-changes-suggestion-data-mismatch','addCommentThread','$graveyard','size','getAttribute','trackChanges','_descriptionFactory','push','_addSuggestionMarker','delete','markInlineFormat','_setSuggestionData','addRange','PendingActions','containsRange','_createSuggestion','newRange','suggestionUnloaded','model','return','adapter','formatBlock','suggestionLoaded','Users','ck-suggestion-marker--active','isLocal','addMarker','_mergeNestedSuggestions','getDifference','_model','getSuggestions','removeMarkers','ck-suggestion-marker-','isBlock','track-changes-adapter-missing-getsuggestion','startsWith','activeMarkers','map','before','batch','getCustomProperty','addMarker:suggestion:formatBlock','PENDING_ACTION_SUGGESTION','_getAuthorFromId','_registerBlockAttribute','authoredAt','error-saving-suggestion-data-suggestion-discarded','fromCharCode'];(function(_0x4609b6,_0x45e522){const _0xfb563f=function(_0x49612c){while(--_0x49612c){_0x4609b6['push'](_0x4609b6['shift']());}};_0xfb563f(++_0x45e522);}(_0x45e5,0x18a));const _0xfb56=function(_0x4609b6,_0x45e522){_0x4609b6=_0x4609b6-0x0;let _0xfb563f=_0x45e5[_0x4609b6];return _0xfb563f;};import{Plugin as _0x3e9e26,PendingActions as _0x3e49fb}from'ckeditor5/src/core';import{LiveRange as _0x49faa4}from'ckeditor5/src/engine';import{CKEditorError as _0x25467a,uid as _0x1afc95,priorities as _0x37cbac,logWarning as _0x1ee825}from'ckeditor5/src/utils';import{toWidget as _0xc6b824}from'ckeditor5/src/widget';import{Users as _0x1d741d,hashObject as _0x49482b,surroundingMarkersDetector as _0x3254cf}from'ckeditor5-collaboration/src/collaboration-core';import _0x37d388 from'./commands/trackchangescommand';import _0x21e1cc from'./commands/acceptsuggestioncommand';import _0x5b3b64 from'./commands/discardsuggestioncommand';import _0x1a2799 from'./commands/executeonallsuggestionscommand';import _0x5cf1fc from'./commands/executeonselectedsuggestionscommand';import _0x4d3acb from'./suggestion';import _0x1d4b21 from'./suggestiondescriptionfactory';import _0x2f107c from'./integrations/aiassistant';import _0x5db2f2 from'./integrations/alignment';import _0x42a054 from'./integrations/basicstyles';import _0x2ba13c from'./integrations/blockquote';import _0x4394e0 from'./integrations/ckbox';import _0x592b72 from'./integrations/codeblock';import _0x87136c from'./integrations/comments';import _0x3e03df from'./integrations/deletecommand';import _0x436e92 from'./integrations/documentlist';import _0x3e63d3 from'./integrations/documentlistproperties';import _0xab5359 from'./integrations/entercommand';import _0x5abd75 from'./integrations/findandreplace';import _0x35033f from'./integrations/font';import _0x4c2de4 from'./integrations/formatpainter';import _0x36c3dd from'./integrations/heading';import _0x48c135 from'./integrations/highlight';import _0x3ee5fc from'./integrations/horizontalline';import _0x5ef9a9 from'./integrations/htmlembed';import _0xe686b8 from'./integrations/image';import _0x19e9f9 from'./integrations/imagereplace';import _0x27f85a from'./integrations/imagestyle';import _0x58b5b4 from'./integrations/importword';import _0x2c142f from'./integrations/indent';import _0x2b3f3 from'./integrations/inputcommand';import _0x52eee6 from'./integrations/link';import _0x25587c from'./integrations/list';import _0x47f975 from'./integrations/listproperties';import _0x19b06d from'./integrations/mediaembed';import _0xe4b442 from'./integrations/mention';import _0x1d73f from'./integrations/pagebreak';import _0x4d5700 from'./integrations/paragraph';import _0x4d44bb from'./integrations/removeformat';import _0x1f448c from'./integrations/restrictededitingmode';import _0x49637b from'./integrations/shiftentercommand';import _0x3e4ad9 from'./integrations/standardeditingmode';import _0x7d4c57 from'./integrations/style';import _0x3ba818 from'./integrations/table';import _0x50edee from'./integrations/tablemergesplit';import _0x39bc14 from'./integrations/tableheadings';import _0x37ed5f from'./integrations/tableclipboard';import _0x3f189f from'./integrations/tablecolumnresize';import _0x1d1309 from'./integrations/template';import _0x1b5df7 from'./integrations/tableofcontents';import _0x24ec96 from'./integrations/title';import _0x1b642c from'./integrations/undo';import _0x585219 from'./integrations/tablecaption';import _0x3f7915 from'./integrations/tableproperties';import{getTranslation as _0x199e6d}from'./utils/common-translations';import{isEqual as _0x21464f,omit as _0x1c9aaa}from'lodash-es';export const renameAttributeKey=_0xfb56('0xa3');export default class p extends _0x3e9e26{static get['requires'](){return[_0xfb56('0x19'),_0x1d741d,_0x3e49fb,_0x2f107c,_0x5db2f2,_0x42a054,_0x2ba13c,_0x4394e0,_0x592b72,_0x87136c,_0x3e03df,_0x436e92,_0x3e63d3,_0xab5359,_0x5abd75,_0x35033f,_0x4c2de4,_0x36c3dd,_0x48c135,_0x3ee5fc,_0x5ef9a9,_0xe686b8,_0x27f85a,_0x19e9f9,_0x58b5b4,_0x2c142f,_0x2b3f3,_0x52eee6,_0x25587c,_0x47f975,_0x19b06d,_0xe4b442,_0x1d73f,_0x4d5700,_0x4d44bb,_0x1f448c,_0x49637b,_0x3e4ad9,_0x7d4c57,_0x3ba818,_0x50edee,_0x39bc14,_0x585219,_0x37ed5f,_0x3f189f,_0x1b5df7,_0x3f7915,_0x1d1309,_0x24ec96,_0x1b642c];}static get['pluginName'](){return'TrackChangesEditing';}constructor(_0x44fb83){function _0x58170d(_0x603078){return _0x603078[_0xfb56('0x157')](_0x82ce7b=>String[_0xfb56('0x161')](_0x82ce7b))[_0xfb56('0x64')]('');}super(_0x44fb83),this[_0xfb56('0x84')]=null,this[_0xfb56('0x31')](_0xfb56('0x156'),[]),this['on']('change:activeMarkers',(_0x27be1a,_0xa89447,_0x3fa86b,_0xf01816)=>{this[_0xfb56('0x14f')]['change'](()=>{for(const _0x18ee2b of[..._0xf01816,..._0x3fa86b])this[_0xfb56('0x14f')][_0xfb56('0x118')]['has'](_0x18ee2b)&&_0x44fb83[_0xfb56('0x7c')][_0xfb56('0x57')](_0x18ee2b);});}),this[_0xfb56('0x138')]=new _0x1d4b21(this['editor'][_0xfb56('0x144')][_0xfb56('0x3b')],this[_0xfb56('0x11a')][_0xfb56('0x52')]),this[_0xfb56('0xf9')]=null,this[_0xfb56('0x98')]=new Bt(this[_0xfb56('0x11a')]),this[_0xfb56('0xe1')]=new Map(),this[_0xfb56('0x4b')]=_0x44fb83[_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x19')),this[_0xfb56('0xf5')]=new Set(),this['_model']=this[_0xfb56('0x11a')]['model'],this['_suggestionState']=new WeakMap(),this[_0xfb56('0x119')]=!0x1,this[_0xfb56('0x108')]=new Set(['$elementName']),this['_inlineAttributeKeys']=new Set(),_0x44fb83[_0xfb56('0x127')][_0xfb56('0x3')]('trackChanges.trackFormatChanges',_0xfb56('0x91')),this[_0xfb56('0xb6')]=_0x44fb83['config'][_0xfb56('0x166')](_0xfb56('0x11b')),_0x44fb83[_0xfb56('0x127')]['define'](_0xfb56('0x59'),!0x0),this['_mergeNestedSuggestions']=_0x44fb83['config'][_0xfb56('0x166')](_0xfb56('0x59')),this['trackChangesCommand']=new _0x37d388(_0x44fb83,this[_0xfb56('0xf5')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x58170d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x58170d([0x34,0x30,0x34,0x36,0x32,0x32,0x33,0x36]);}[_0xfb56('0x73')](){const _0x31b21e=this[_0xfb56('0x11a')],_0x5c8aad=(_0x4d71b9,_0x592a10)=>{if(_0xfb56('0x3a')!=_0x4d71b9)return _0xfb56('0x152')+_0x4d71b9;const _0xd9ca20=_0x592a10['split']('|')[0x0];return this['_isBlockAttribute'](_0xd9ca20)?_0xfb56('0xdf'):_0xfb56('0x169');};_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')]('editingDowncast')[_0xfb56('0x8b')]({'model':_0xfb56('0xe6'),'view':_0x5183ab=>{const {id:_0x6ef068,type:_0x5e97ec,subType:_0x2ec673}=this[_0xfb56('0x11')](_0x5183ab[_0xfb56('0xe4')]),_0x2bb249=['ck-suggestion-marker',_0x5c8aad(_0x5e97ec,_0x2ec673)];let _0x156133=0xbb8;return this[_0xfb56('0x156')][_0xfb56('0xf')](_0x5183ab[_0xfb56('0xe4')])&&(_0x2bb249[_0xfb56('0x139')](_0xfb56('0x14a')),_0x156133=0xbc2),'deletion'==_0x5e97ec&&(_0x156133+=0x5),{'classes':_0x2bb249,'attributes':{'data-suggestion':_0x6ef068},'priority':_0x156133};}}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0x47'))[_0xfb56('0x131')](_0x11ee29=>{_0x11ee29['on'](_0xfb56('0xd5'),(_0x20691a,_0x189c74,_0x2744af)=>{if(!_0x2744af[_0xfb56('0x16a')][_0xfb56('0x90')])return;const _0x5fe7b8=_0x189c74['item'];if(!_0x5fe7b8)return;const _0x53cfe0=_0x2744af[_0xfb56('0x70')][_0xfb56('0x80')](_0x5fe7b8);_0x31b21e[_0xfb56('0x144')]['schema'][_0xfb56('0xaf')](_0x5fe7b8)&&_0x53cfe0&&!_0x53cfe0['getCustomProperty'](_0xfb56('0xb5'))&&_0x53cfe0['is'](_0xfb56('0x34'))&&_0xc6b824(_0x53cfe0,_0x2744af[_0xfb56('0x115')]);},{'priority':'high'});}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0x47'))[_0xfb56('0x8b')]({'model':'suggestion','view':(_0x317e47,_0x35de85)=>{if(!_0x35de85[_0xfb56('0x16a')][_0xfb56('0x90')])return null;const {type:_0x560871,subType:_0x5cf213}=this[_0xfb56('0x11')](_0x317e47['markerName']);return{'classes':[_0xfb56('0x1c'),_0x5c8aad(_0x560871,_0x5cf213)],'priority':0xbb8};}});const _0x2fb8d0=({showActiveMarkers:_0x5a2c25=!0x0,isAttributeSuggestion:_0x55c49c=!0x1}={})=>(_0x1875f4,_0x2a039a,_0x2e1047)=>{if(!_0x2a039a[_0xfb56('0xde')])return;const {id:_0xfa32d2}=this[_0xfb56('0x11')](_0x2a039a['markerName']);if(_0x55c49c){const _0x412a1f=this['_suggestions'][_0xfb56('0x166')](_0xfa32d2),_0x3b1752=this['_getAttributeKeyFromSubType'](_0x412a1f);if(!this[_0xfb56('0x38')](_0x3b1752))return;}if(_0x2a039a[_0xfb56('0xde')]['is'](_0xfb56('0x63')))return void _0x2e1047[_0xfb56('0xce')][_0xfb56('0x124')](_0x2a039a[_0xfb56('0xde')],_0x1875f4[_0xfb56('0x5')]);const _0x28b34e=_0x2e1047[_0xfb56('0x70')]['toViewElement'](_0x2a039a[_0xfb56('0xde')]);if(_0x2a039a[_0xfb56('0xde')]['is']('element')&&_0x31b21e['model']['schema'][_0xfb56('0x153')](_0x2a039a['item'])&&!_0x28b34e[_0xfb56('0x15a')]('addHighlight')){_0x2e1047[_0xfb56('0x115')]['addClass']([_0xfb56('0x1c'),_0xfb56('0xdf')],_0x28b34e),_0x2e1047[_0xfb56('0x115')][_0xfb56('0x62')](_0xfb56('0x125'),_0xfa32d2,_0x28b34e),_0x2e1047[_0xfb56('0x70')][_0xfb56('0x173')](_0x28b34e,_0x2a039a[_0xfb56('0xe4')]),_0x5a2c25&&(this['activeMarkers'][_0xfb56('0xf')](_0x2a039a['markerName'])?_0x2e1047['writer'][_0xfb56('0x175')](_0xfb56('0x14a'),_0x28b34e):_0x2e1047[_0xfb56('0x115')][_0xfb56('0x16d')](_0xfb56('0x14a'),_0x28b34e));for(const _0x4ab618 of _0x31b21e[_0xfb56('0x144')][_0xfb56('0xec')](_0x2a039a[_0xfb56('0xde')])['getItems']())_0x2e1047[_0xfb56('0xce')][_0xfb56('0x124')](_0x4ab618,_0x1875f4[_0xfb56('0x5')]);_0x2e1047['consumable'][_0xfb56('0x124')](_0x2a039a[_0xfb56('0xde')],_0x1875f4[_0xfb56('0x5')]);}};_0x31b21e['conversion'][_0xfb56('0x105')]('dataDowncast')['add'](_0x166f28=>{_0x166f28['on'](_0xfb56('0x15b'),(_0x3fda55,_0x1115fc,_0x524e34)=>{_0x524e34['options'][_0xfb56('0x90')]&&_0x2fb8d0({'showActiveMarkers':!0x1})(_0x3fda55,_0x1115fc,_0x524e34);},{'priority':_0xfb56('0xf3')});}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0x47'))['add'](_0x2cc2db=>{_0x2cc2db['on'](_0xfb56('0xe2'),(_0x4296ef,_0x42e8e2,_0x16d66f)=>{_0x16d66f[_0xfb56('0x16a')][_0xfb56('0x90')]&&_0x2fb8d0({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4296ef,_0x42e8e2,_0x16d66f);},{'priority':_0xfb56('0xf3')});}),_0x31b21e['conversion']['for'](_0xfb56('0x47'))['markerToData']({'model':_0xfb56('0xe6'),'view':(_0x4da0a5,_0x31ae3c)=>_0x31ae3c['options'][_0xfb56('0x90')]?null:{'group':_0xfb56('0xe6'),'name':_0x4da0a5['substr'](0xb)}}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0x99'))[_0xfb56('0x2b')]({'view':{'name':_0xfb56('0xe6'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4f39ac,{writer:_0x3e7411})=>{let _0x38528c='suggestion:'+_0x4f39ac[_0xfb56('0x136')]('suggestion-type')+':'+_0x4f39ac[_0xfb56('0x136')]('id');return _0x4f39ac[_0xfb56('0x136')](_0xfb56('0xc2'))&&(_0x38528c+=':'+_0x4f39ac[_0xfb56('0x136')](_0xfb56('0xc2'))),_0x3e7411[_0xfb56('0xb3')](_0xfb56('0xf8'),{'data-name':_0x38528c});}}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0x99'))[_0xfb56('0x65')]({'view':_0xfb56('0xe6')}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0xd7'))[_0xfb56('0x131')](_0x4e4785=>{_0x4e4785['on'](_0xfb56('0x15b'),_0x2fb8d0(),{'priority':_0xfb56('0xaa')});}),_0x31b21e[_0xfb56('0xef')]['for']('editingDowncast')[_0xfb56('0x131')](_0x37ad76=>{_0x37ad76['on'](_0xfb56('0xe2'),_0x2fb8d0({'isAttributeSuggestion':!0x0}),{'priority':_0xfb56('0xaa')});}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0xd7'))[_0xfb56('0x131')](_0x4bce33=>{_0x4bce33['on'](_0xfb56('0x32'),(_0x4d5856,_0x624e08,_0x42c84c)=>{const _0x17d403=_0x42c84c[_0xfb56('0x70')][_0xfb56('0x58')](_0x624e08[_0xfb56('0xe4')]);if(_0x17d403)for(const _0x5e27de of _0x17d403)_0x5e27de[_0xfb56('0x15a')]('addHighlight')||(_0x42c84c['writer'][_0xfb56('0x16d')]([_0xfb56('0x1c'),_0xfb56('0xdf'),_0xfb56('0x14a')],_0x5e27de),_0x42c84c['writer'][_0xfb56('0x12b')](_0xfb56('0x125'),_0x5e27de),_0x42c84c[_0xfb56('0x70')][_0xfb56('0xcc')](_0x5e27de,_0x624e08['markerName']));},{'priority':_0xfb56('0xaa')});}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0xd7'))[_0xfb56('0x131')](_0x2bc8dc=>{_0x2bc8dc['on'](_0xfb56('0x78'),(_0x5a9ef7,_0x463a9a,_0xedd641)=>{const _0x486438=_0xedd641[_0xfb56('0x70')][_0xfb56('0x58')](_0x463a9a[_0xfb56('0xe4')]);if(!_0x486438)return;const {id:_0x479be7}=this[_0xfb56('0x11')](_0x463a9a['markerName']),_0x53b3f1=this['_suggestions']['get'](_0x479be7),_0x4d388e=this[_0xfb56('0x10d')](_0x53b3f1);if(this[_0xfb56('0x38')](_0x4d388e))for(const _0x4ce284 of _0x486438)_0x4ce284[_0xfb56('0x15a')](_0xfb56('0x103'))||(_0xedd641[_0xfb56('0x115')][_0xfb56('0x16d')]([_0xfb56('0x1c'),_0xfb56('0xdf'),_0xfb56('0x14a')],_0x4ce284),_0xedd641[_0xfb56('0x115')]['removeAttribute'](_0xfb56('0x125'),_0x4ce284),_0xedd641[_0xfb56('0x70')][_0xfb56('0xcc')](_0x4ce284,_0x463a9a[_0xfb56('0xe4')]));},{'priority':'high'});}),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')]['registerPostFixer'](_0x144549=>{let _0x52ca45=!0x1;const _0x224258=Array[_0xfb56('0x55')](_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')]['differ'][_0xfb56('0x68')]()),_0x4bb1da=new Set();for(const {name:_0x255f53,data:_0x43d6bf}of _0x224258){const {group:_0x237360,type:_0x3e9bc3,subType:_0x19de53,id:_0xf78e58}=this[_0xfb56('0x11')](_0x255f53);if(_0xfb56('0xe6')!==_0x237360)continue;const _0x529543=this['_suggestions'][_0xfb56('0x166')](_0xf78e58);if(null!=_0x43d6bf[_0xfb56('0x142')]){_0xfb56('0x3d')==_0x3e9bc3&&(_0x52ca45=_0x52ca45||Et(_0x43d6bf[_0xfb56('0x142')],_0x255f53,_0x144549,_0x31b21e[_0xfb56('0x144')]['schema']));const _0x25d354=_0xfb56('0x3a')==_0x3e9bc3&&this[_0xfb56('0x38')](_0x19de53['split']('|')[0x0]);if(_0x43d6bf[_0xfb56('0x142')][_0xfb56('0x49')]||_0xfb56('0x134')==_0x43d6bf[_0xfb56('0x142')][_0xfb56('0x4')][_0xfb56('0xab')]||_0xfb56('0x147')==_0x3e9bc3&&!jt(_0x43d6bf[_0xfb56('0x142')])||_0x25d354&&!jt(_0x43d6bf[_0xfb56('0x142')])||'deletion'==_0x3e9bc3&&!(!xt(_0x1794ef=_0x43d6bf[_0xfb56('0x142')])&&!function(_0x7304f4){return _0x7304f4[_0xfb56('0x16c')][_0xfb56('0xfd')]==_0x7304f4[_0xfb56('0x2a')][_0xfb56('0x89')]&&_0x7304f4[_0xfb56('0x16c')]['isAtEnd'];}(_0x1794ef)))_0x144549['removeMarker'](_0x255f53),_0x52ca45=!0x0;else{if(!_0x529543||!_0x529543[_0xfb56('0x66')])continue;_0x4bb1da[_0xfb56('0x131')](_0x529543);}}}var _0x1794ef;return _0x4bb1da[_0xfb56('0x135')]>0x0&&(_0x52ca45=!!this['_joinWithAdjacentSuggestions'](_0x4bb1da)||_0x52ca45),_0x52ca45;}),_0x31b21e[_0xfb56('0x144')]['document']['registerPostFixer'](_0x234f5a=>{let _0x37207=!0x1;for(const _0x22667e of _0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x117')][_0xfb56('0x35')]())if(_0xfb56('0xd4')==_0x22667e[_0xfb56('0xf1')])for(const _0x3368cc of this['_suggestions'][_0xfb56('0x48')]()){if(_0x3368cc[_0xfb56('0x104')]||!_0x3368cc[_0xfb56('0x66')])continue;const _0x5c6a03=_0xfb56('0x147')==_0x3368cc['type'],_0x6686c1=this['_getAttributeKeyFromSubType'](_0x3368cc),_0xe8dadd=_0x6686c1&&this[_0xfb56('0x38')](_0x6686c1);if(!_0x5c6a03&&!_0xe8dadd)continue;const _0x578c1d=_0x3368cc[_0xfb56('0x110')]();if(_0x578c1d[_0xfb56('0x16c')][_0xfb56('0xfd')]!=_0x578c1d['end'][_0xfb56('0xfd')]&&!_0x578c1d[_0xfb56('0x2a')]['isAtEnd']){const _0x2128d1=_0x31b21e[_0xfb56('0x144')][_0xfb56('0xad')](_0x578c1d[_0xfb56('0x16c')]['nodeAfter'],_0xfb56('0x2a')),_0x36cb30=_0x31b21e[_0xfb56('0x144')][_0xfb56('0x10b')](_0x578c1d[_0xfb56('0x16c')],_0x2128d1);_0x234f5a[_0xfb56('0x5a')](_0x3368cc[_0xfb56('0x4d')](),{'range':_0x36cb30}),_0x37207=!0x0;}}return _0x37207;}),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x106')](_0x4d851f=>this['_processAttributeChanges'](_0x4d851f)),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x106')](_0x279bad=>!_0x279bad[_0xfb56('0x159')][_0xfb56('0x14b')]&&this['_processAttributeSuggestions'](_0x279bad)),_0x31b21e[_0xfb56('0x144')][_0xfb56('0x118')]['on']('update:suggestion',(_0x2f9391,_0x618775,_0x379938)=>{if(null==_0x379938){const {id:_0x56648c}=this[_0xfb56('0x11')](_0x618775[_0xfb56('0x5')]),_0x270ecc=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x56648c);_0x270ecc&&_0x270ecc[_0xfb56('0x53')](_0x618775[_0xfb56('0x5')]);}}),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')]['on'](_0xfb56('0x16f'),()=>{const _0x23c1b8=Array[_0xfb56('0x55')](_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x117')][_0xfb56('0x68')]())[_0xfb56('0x7d')](_0x5d288c=>'suggestion'===this[_0xfb56('0x11')](_0x5d288c[_0xfb56('0x5')])['group']);if(0x0===_0x23c1b8['length'])return;_0x23c1b8[_0xfb56('0x69')]((_0x47a002,_0xd29763)=>{const _0x3b4142=_0x47a002[_0xfb56('0x15')]['oldRange'],_0x11ebfb=_0xd29763[_0xfb56('0x15')][_0xfb56('0x102')];return null===_0x3b4142&&null===_0x11ebfb?0x0:null===_0x3b4142&&null!==_0x11ebfb?-0x1:null!==_0x3b4142&&null===_0x11ebfb?0x1:_0x3b4142[_0xfb56('0x16c')][_0xfb56('0xcf')](_0x11ebfb[_0xfb56('0x16c')])?-0x1:0x1;});const _0x1a654b=new Set(),_0x43a6ec=new Set();for(const {name:_0x1335b0,data:_0x42bf32}of _0x23c1b8){const {id:_0x266c85}=this[_0xfb56('0x11')](_0x1335b0);if(null===_0x42bf32[_0xfb56('0x102')]){const _0x4bb9e1=this[_0xfb56('0xe7')](_0x1335b0);_0x43a6ec[_0xfb56('0x131')](_0x4bb9e1);}else{const _0x2b6818=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x266c85);null!==_0x42bf32['newRange']||_0x2b6818[_0xfb56('0x66')]?(_0x1a654b[_0xfb56('0x131')](_0x2b6818[_0xfb56('0x5d')]),_0x43a6ec[_0xfb56('0x131')](_0x2b6818)):this[_0xfb56('0x12d')](_0x2b6818);}}_0x43a6ec[_0xfb56('0x135')]>0x0&&this[_0xfb56('0x121')](_0x43a6ec);for(const _0x187918 of _0x1a654b)this[_0xfb56('0x12f')](_0xfb56('0xd0'),_0x187918);}),_0x31b21e[_0xfb56('0x144')]['on'](_0xfb56('0x56'),(_0xc1c7a8,_0x5b871f)=>{const _0x19409b=_0x5b871f[0x0];if(!this[_0xfb56('0xe1')][_0xfb56('0x135')])return;if(!_0x19409b['isDocumentOperation'])return;if(_0x19409b[_0xfb56('0x159')][_0xfb56('0x3c')]||!_0x19409b[_0xfb56('0x159')][_0xfb56('0x14b')])return;let _0x3aabb6,_0x41b20d;switch(_0x19409b[_0xfb56('0xf1')]){case _0xfb56('0xd4'):_0x3aabb6=_0x31b21e['model'][_0xfb56('0xad')](_0x19409b[_0xfb56('0x11f')]),_0x41b20d=_0x3aabb6[_0xfb56('0xa5')](_0x19409b['howMany']);break;case _0xfb56('0x7b'):_0x3aabb6=_0x31b21e['model'][_0xfb56('0xad')](_0x19409b['splitPosition']),_0x41b20d=_0x31b21e[_0xfb56('0x144')][_0xfb56('0xad')](_0x19409b[_0xfb56('0x2c')]);break;case _0xfb56('0x163'):_0x3aabb6=_0x31b21e['model'][_0xfb56('0xad')](_0x19409b[_0xfb56('0xc')]),_0x41b20d=_0x3aabb6[_0xfb56('0xa5')](_0x19409b[_0xfb56('0x27')]);break;default:return;}const _0x18b0e1=_0x31b21e[_0xfb56('0x144')]['createRange'](_0x3aabb6,_0x41b20d);_0x31b21e[_0xfb56('0x144')][_0xfb56('0xc7')](()=>{for(const {suggestion:_0x21e47d,meta:_0x26abf4}of this['_findSuggestions'](_0x18b0e1)){if(_0x21e47d['isMultiRange'])continue;if('formatInline'==_0x21e47d[_0xfb56('0xf1')])continue;const _0x1d2a50=this[_0xfb56('0x10d')](_0x21e47d);if(_0x1d2a50&&this[_0xfb56('0x38')](_0x1d2a50)&&_0xfb56('0x7b')!=_0x19409b['type'])continue;const _0x559f56=_0x21e47d['data']&&_0x21e47d['data'][_0xfb56('0xb0')];('formatBlock'!=_0x21e47d[_0xfb56('0xf1')]||'split'==_0x19409b[_0xfb56('0xf1')]&&!_0x559f56)&&(_0x26abf4[_0xfb56('0x87')]||_0xfb56('0xdd')==_0x21e47d[_0xfb56('0xf1')]&&_0x26abf4['isOwn']||_0x21e47d['getFirstRange']()[_0xfb56('0x140')](_0x18b0e1)&&this[_0xfb56('0x3e')](_0x21e47d,_0x3aabb6,_0x41b20d));}});},{'priority':_0xfb56('0x77')}),_0x31b21e[_0xfb56('0x144')]['on'](_0xfb56('0x5c'),(_0x1559e9,_0x3b73b0)=>{const _0x5b0af7=_0x3b73b0[0x0],_0x52cc42=_0x3b73b0[0x1];if(_0x52cc42&&_0x52cc42[_0xfb56('0x42')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0xfb56('0x8a')][_0xfb56('0x114')])return;if(_0x5b0af7[_0xfb56('0x49')])return;const _0x197ada=_0x31b21e[_0xfb56('0x144')][_0xfb56('0x3b')],{start:_0x3c7519,end:_0x22d6b0}=_0x5b0af7[_0xfb56('0x110')](),_0x1634e7=_0x3c7519['nodeAfter']&&_0x197ada[_0xfb56('0x8d')](_0x3c7519[_0xfb56('0x107')])?null:_0x197ada[_0xfb56('0x11e')](_0x3c7519,_0xfb56('0x9d')),_0x4e077b=_0x22d6b0[_0xfb56('0x89')]&&_0x197ada[_0xfb56('0x8d')](_0x22d6b0[_0xfb56('0x89')])?null:_0x197ada[_0xfb56('0x11e')](_0x22d6b0,_0xfb56('0xd8')),_0xa6333f=_0x31b21e[_0xfb56('0x144')]['createRange'](_0x1634e7?_0x1634e7[_0xfb56('0x16c')]:_0x3c7519,_0x4e077b?_0x4e077b[_0xfb56('0x2a')]:_0x22d6b0);_0x31b21e['model'][_0xfb56('0xc7')](_0x4f53f8=>{this[_0xfb56('0x122')](_0xa6333f);const _0x16bd48=_0x31b21e[_0xfb56('0x144')][_0xfb56('0x3b')][_0xfb56('0x11e')](_0xa6333f[_0xfb56('0x16c')]);_0x5b0af7['is'](_0xfb56('0x6f'))?_0x4f53f8[_0xfb56('0xba')](_0x16bd48):_0x5b0af7['setTo'](_0x16bd48);}),_0x1559e9['stop']();},{'priority':_0x37cbac[_0xfb56('0x120')]+0xa}),_0x31b21e[_0xfb56('0x144')]['on']('insertContent',(_0x24177b,_0x81f994)=>{const _0x2df5fd=_0x81f994[_0x81f994[_0xfb56('0xa8')]-0x1];_0x2df5fd&&_0x2df5fd['forceDefaultExecution']||this[_0xfb56('0x119')]||this[_0xfb56('0x8a')][_0xfb56('0x114')]&&(_0x31b21e[_0xfb56('0x144')][_0xfb56('0xc7')](()=>{let _0x5ba614=_0x31b21e[_0xfb56('0x144')]['insertContent'](_0x81f994[0x0],_0x81f994[0x1],_0x81f994[0x2],{'forceDefaultExecution':!0x0});if(!_0x5ba614)return;_0x24177b[_0xfb56('0x145')]=_0x5ba614[_0xfb56('0x10f')]();const _0x457559=_0x5ba614[_0xfb56('0x2a')][_0xfb56('0x89')],_0x579db6=_0x31b21e[_0xfb56('0x144')]['schema'];_0x457559&&_0x579db6['isBlock'](_0x457559)&&!_0x579db6[_0xfb56('0xaf')](_0x457559)&&(_0x5ba614=_0x31b21e[_0xfb56('0x144')]['createRange'](_0x5ba614['start'],_0x31b21e[_0xfb56('0x144')]['createPositionAt'](_0x457559,_0xfb56('0x2a')))),this[_0xfb56('0x1f')](_0x5ba614);}),_0x24177b[_0xfb56('0x174')]());},{'priority':_0xfb56('0xaa')}),this[_0xfb56('0x11a')][_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0x137'),this['trackChangesCommand']),this[_0xfb56('0xbe')](_0xfb56('0x137'));const _0x42808e=new _0x21e1cc(_0x31b21e,this[_0xfb56('0xe1')]);_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xbc'),_0x42808e),this[_0xfb56('0xbe')](_0xfb56('0xbc'));const _0x24d581=new _0x5b3b64(_0x31b21e,this['_suggestions']);_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xeb'),_0x24d581),this['enableCommand'](_0xfb56('0xeb')),_0x31b21e['commands'][_0xfb56('0x131')](_0xfb56('0xa'),new _0x1a2799(_0x31b21e,_0x42808e,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')](_0xfb56('0xa')),_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xf4'),new _0x1a2799(_0x31b21e,_0x24d581,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')](_0xfb56('0xf4')),_0x31b21e['commands'][_0xfb56('0x131')](_0xfb56('0x164'),new _0x5cf1fc(_0x31b21e,_0x42808e,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')](_0xfb56('0x164')),_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xc1'),new _0x5cf1fc(_0x31b21e,_0x24d581,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')]('discardSelectedSuggestions');const _0x191f59=_0x31b21e[_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x19'));this[_0xfb56('0x170')](_0x191f59,_0xfb56('0x20'),(_0x47b736,{threadId:_0x465112})=>{const _0x2962a6=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x465112);_0x2962a6&&_0x2962a6[_0xfb56('0xc5')]&&0x1===_0x2962a6['commentThread'][_0xfb56('0xa8')]&&this[_0xfb56('0xa6')](_0x465112,{'hasComments':!0x0});},{'priority':'low'}),this[_0xfb56('0x170')](_0x191f59,'removeComment',(_0x2e6c32,{threadId:_0x504e73})=>{const _0x52e621=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x504e73);_0x52e621&&_0x52e621[_0xfb56('0xc5')]&&!_0x52e621[_0xfb56('0xc5')][_0xfb56('0xa8')]&&this['_updateSuggestionData'](_0x504e73,{'hasComments':!0x1});},{'priority':_0xfb56('0x28')});}set[_0xfb56('0x146')](_0x2a8add){if(this[_0xfb56('0xf9')])throw new _0x25467a(_0xfb56('0x11d'),this);this[_0xfb56('0xf9')]=_0x2a8add;}get[_0xfb56('0x146')](){return this['_adapter'];}[_0xfb56('0x150')]({skipNotAttached:_0x4d6f16=!0x1,toJSON:_0x50d0ef=!0x1}={}){const _0x33a044=[];for(const _0xaa7153 of this['_suggestions'][_0xfb56('0x48')]())_0x4d6f16&&!_0xaa7153[_0xfb56('0x66')]||_0x33a044[_0xfb56('0x139')](_0xaa7153);return _0x50d0ef?_0x33a044[_0xfb56('0x157')](_0x140d54=>_0x140d54[_0xfb56('0x76')]()):_0x33a044;}['getSuggestion'](_0x3777de){const _0x24cc10=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x3777de);if(!_0x24cc10)throw new _0x25467a(_0xfb56('0x96'),this);return _0x24cc10;}['hasSuggestion'](_0x19110a){return this[_0xfb56('0xe1')][_0xfb56('0x6d')](_0x19110a);}[_0xfb56('0xc4')](_0x5f41d2){const {authorId:_0x3378d9,id:_0x431025,attributes:_0x609e48}=_0x5f41d2,[_0x400a06,_0x2cfbb8]=_0x5f41d2[_0xfb56('0xf1')][_0xfb56('0x7b')](':'),_0x19e807=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x431025)||this[_0xfb56('0x141')](_0x400a06,_0x2cfbb8,_0x431025,_0x3378d9,_0x609e48);if(this[_0xfb56('0x9b')](_0x19e807),this[_0xfb56('0x29')](_0x19e807,_0x400a06,_0x2cfbb8||null,_0x3378d9),_0x19e807[_0xfb56('0x50')]=_0x5f41d2[_0xfb56('0x50')],_0x19e807[_0xfb56('0xe0')]=!0x0,_0x609e48&&_0x609e48[_0xfb56('0x116')]){const _0x2a79a6=_0x609e48['@external'],_0x3e2b8f=this['_getExternalAuthor'](_0x2a79a6[_0xfb56('0x7a')]);_0x19e807[_0xfb56('0x15f')]=_0x2a79a6['createdAt'],_0x19e807[_0xfb56('0x16')]=_0x3e2b8f,_0x19e807['isExternal']=!0x0;}else _0x19e807[_0xfb56('0x15f')]=_0x5f41d2['createdAt'];switch(_0x5f41d2[_0xfb56('0x15')]&&(_0x19e807[_0xfb56('0x15')]=_0x5f41d2[_0xfb56('0x15')]),_0x5f41d2['attributes']&&(_0x19e807[_0xfb56('0xa9')]=_0x5f41d2['attributes']),this[_0xfb56('0xf9')]&&this[_0xfb56('0xf9')]['addSuggestion']||(_0x19e807[_0xfb56('0x10a')]=!0x0),this[_0xfb56('0xd6')][_0xfb56('0x166')](_0x19e807)){case _0xfb56('0x95'):this['_suggestionState'][_0xfb56('0x31')](_0x19e807,'dataReady');break;case _0xfb56('0x2e'):_0x19e807[_0xfb56('0x66')]?(this[_0xfb56('0x121')](new Set([_0x19e807])),this['_joinWithAdjacentSuggestions'](new Set([_0x19e807])),this[_0xfb56('0xd6')]['set'](_0x19e807,_0xfb56('0x5e')),this['fire']('suggestionLoaded',_0x19e807)):this['_suggestionState']['set'](_0x19e807,_0xfb56('0xe'));}return _0x19e807;}[_0xfb56('0xbc')](_0x28b16e){this[_0xfb56('0x42')](()=>{this['editor'][_0xfb56('0x144')][_0xfb56('0xc7')](()=>{for(const _0x3e1df3 of _0x28b16e[_0xfb56('0x9f')]())_0x3e1df3[_0xfb56('0x23')]();});});}[_0xfb56('0xeb')](_0x5bc7ad){this['forceDefaultExecution'](()=>{this['editor'][_0xfb56('0x144')][_0xfb56('0xc7')](()=>{for(const _0x1d2511 of _0x5bc7ad['getAllAdjacentSuggestions']())_0x1d2511[_0xfb56('0x2d')]();});});}[_0xfb56('0xbe')](_0x168fdb,_0x5af0ab){const _0x4b89e0=this[_0xfb56('0x11a')][_0xfb56('0x172')][_0xfb56('0x166')](_0x168fdb);if(!_0x4b89e0)throw new _0x25467a(_0xfb56('0x25'),this,{'commandName':_0x168fdb});if(this[_0xfb56('0xf5')]['has'](_0x4b89e0))throw new _0x25467a('track-changes-enable-command-twice',this,{'commandName':_0x168fdb});this[_0xfb56('0xf5')][_0xfb56('0x131')](_0x4b89e0),_0x5af0ab&&_0x4b89e0['on']('execute',(_0x4ca9e6,_0xf229d8)=>{this['trackChangesCommand'][_0xfb56('0x114')]&&(this[_0xfb56('0x119')]||(_0xf229d8[_0xfb56('0xa8')]>0x0&&_0xf229d8[_0xf229d8[_0xfb56('0xa8')]-0x1]&&_0xf229d8[_0xf229d8[_0xfb56('0xa8')]-0x1][_0xfb56('0x42')]?_0xf229d8[_0xfb56('0x81')]():(_0x4ca9e6[_0xfb56('0x145')]=_0x5af0ab((..._0x24b0e6)=>_0x4b89e0[_0xfb56('0xfc')](..._0x24b0e6,{'forceDefaultExecution':!0x0}),..._0xf229d8),_0x4ca9e6[_0xfb56('0x174')]())));},{'priority':'high'});}[_0xfb56('0x42')](_0x2fef2e){let _0x2552f0,_0x459feb;const _0x1ce852=this[_0xfb56('0x119')];this[_0xfb56('0x119')]=!0x0;try{_0x2552f0=_0x2fef2e();}catch(_0x19dc8e){_0x459feb=_0x19dc8e;}return _0x1ce852||(this[_0xfb56('0x119')]=!0x1),_0x459feb&&_0x25467a['rethrowUnexpectedError'](_0x459feb,this),_0x2552f0;}[_0xfb56('0x1f')](_0x55d54b,_0xce729d=null,_0x59598b={}){if(_0x55d54b[_0xfb56('0x49')])return null;const _0x4a8aa2=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['me'];for(const {suggestion:_0x87aeee,meta:_0x5b079d}of this['_findSuggestions'](_0x55d54b,_0xfb56('0xdd')))if(_0x5b079d[_0xfb56('0x10')]){if(!_0x5b079d[_0xfb56('0xbd')]){if(_0x5b079d[_0xfb56('0x87')]){if(!this['_mergeNestedSuggestions']||!Ft(_0x87aeee,_0x59598b))continue;return _0x87aeee;}if(Ft(_0x87aeee,_0x59598b))return _0x87aeee;this[_0xfb56('0x3e')](_0x87aeee,_0x55d54b[_0xfb56('0x16c')],_0x55d54b['end']);break;}if(_0xce729d==_0x87aeee[_0xfb56('0x33')]&&Ft(_0x87aeee,_0x59598b)){const _0x17ba84=_0x87aeee[_0xfb56('0x110')]();return _0x17ba84[_0xfb56('0x16c')]['isEqual'](_0x55d54b['end'])?this[_0xfb56('0x88')](_0x87aeee,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x55d54b[_0xfb56('0x16c')],_0x17ba84[_0xfb56('0x2a')])):this[_0xfb56('0x88')](_0x87aeee,this[_0xfb56('0x14f')]['createRange'](_0x17ba84[_0xfb56('0x16c')],_0x55d54b['end'])),_0x87aeee;}}const _0x10a690=_0x1afc95(),_0x5c5117=_0x4a8aa2['id'],_0x37533a=_0xce729d?_0xfb56('0x126')+_0xce729d:_0xfb56('0xdd'),_0x2f1786=this[_0xfb56('0x13d')]({'id':_0x10a690,'type':_0x37533a,'createdAt':new Date(),'authorId':_0x5c5117,'attributes':_0x59598b});return this[_0xfb56('0x13a')](_0x37533a,_0x10a690,_0x5c5117,_0x55d54b),_0x2f1786;}[_0xfb56('0x14')](_0x2626f5,_0x869f1a=_0xfb56('0x128'),_0x31c013={}){const _0x511e26=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['me'],_0x524713=this['_suggestionFactory'][_0xfb56('0x94')](_0xfb56('0xdd'),_0x869f1a,_0xfb56('0x64'));for(const _0x54e9c2 of this[_0xfb56('0x150')]())if(_0x54e9c2[_0xfb56('0x16')]['id']==_0x511e26['id']&&_0xfb56('0xdd')==_0x54e9c2[_0xfb56('0xf1')]&&_0x54e9c2['subType']==_0x869f1a&&Ft(_0x54e9c2,_0x31c013)&&(_0x524713(_0x54e9c2['getRanges'](),_0x2626f5)||_0x524713(_0x2626f5,_0x54e9c2['getRanges']()))){for(const _0x503452 of _0x2626f5)_0x54e9c2[_0xfb56('0x13e')](_0x503452);return _0x54e9c2;}for(const {suggestion:_0x1c906f,meta:_0x252857}of this[_0xfb56('0x37')](_0x2626f5,_0xfb56('0xdd'))){if(!_0x252857[_0xfb56('0x10')])continue;if(!this['_mergeNestedSuggestions']&&_0x252857[_0xfb56('0x87')])continue;if(!Ft(_0x1c906f,_0x31c013))continue;let _0xaa8a60=!0x0;for(const _0x484442 of _0x1c906f['getRanges']())for(const _0x42ebbc of _0x2626f5)if(!_0x484442['containsRange'](_0x42ebbc)){_0xaa8a60=!0x1;break;}if(_0xaa8a60)return _0x1c906f;}const _0x215d57=_0x1afc95(),_0x15c45c=_0x511e26['id'],_0xf42232='insertion:'+_0x869f1a,_0x359550=this[_0xfb56('0x13d')]({'id':_0x215d57,'type':_0xf42232,'createdAt':new Date(),'authorId':_0x15c45c,'attributes':_0x31c013});for(const _0x5800de of _0x2626f5)this['_addSuggestionMarker'](_0xf42232,_0x215d57,_0x15c45c,_0x5800de,_0x4d3acb[_0xfb56('0x5b')]());return _0x359550;}[_0xfb56('0x13c')](_0x5efd7a,_0x1ce4e6,_0x3983c1=null,_0x1d4d14={}){if(_0x3983c1=_0x3983c1||Rt(_0x1ce4e6),_0x5efd7a[_0xfb56('0x49')])return null;if(_0xfb56('0x75')===this[_0xfb56('0xb6')]){const _0x2a08dd=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x3d'),_0x3983c1,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x2a08dd([_0x5efd7a],_0x1ce4e6,_0x1d4d14)),null;}const _0x44e285=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149'))['me'],_0x39fd0a=[];if(_0xfb56('0xae')!==this['_trackFormatChanges'])for(const {suggestion:_0xa9be3d,meta:_0x3772a6}of this['_findSuggestions'](_0x5efd7a,'insertion'))_0x3772a6[_0xfb56('0x10')]&&!_0x3772a6[_0xfb56('0xdc')]&&_0x39fd0a[_0xfb56('0x139')](..._0xa9be3d['getRanges']());const _0x5f1cfe=function(_0x52d1c2,_0x1e5a56){const _0x1709e3=[];for(const _0x288ba9 of _0x1e5a56){const _0x5690d5=_0x52d1c2[_0xfb56('0xe9')](_0x288ba9);_0x5690d5&&_0x1709e3['push'](_0x5690d5);}return _0x1709e3;}(_0x5efd7a,_0x39fd0a),_0x4ecfb0=function(_0x48a7ef,_0x4c49e8){const _0x2f1462=[_0x48a7ef];for(const _0x2b4246 of _0x4c49e8){let _0x50bc9b=0x0;for(;_0x50bc9b<_0x2f1462[_0xfb56('0xa8')];){const _0x4fafa7=_0x2f1462[_0x50bc9b][_0xfb56('0x14e')](_0x2b4246);_0x2f1462['splice'](_0x50bc9b,0x1,..._0x4fafa7),_0x50bc9b+=_0x4fafa7[_0xfb56('0xa8')];}}return _0x2f1462;}(_0x5efd7a,_0x39fd0a);_0x5f1cfe[_0xfb56('0xa8')]&&this[_0xfb56('0x14f')][_0xfb56('0xc7')](()=>{for(const _0x325729 of _0x5f1cfe){const _0x504f24=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x3d'),_0x3983c1,'accept');this[_0xfb56('0x42')](()=>_0x504f24([_0x325729],_0x1ce4e6,_0x1d4d14));}});for(const _0x3603e6 of _0x4ecfb0){let _0x42b544=null,_0x44afdf=_0x3603e6[_0xfb56('0x16c')],_0x407927=_0x3603e6[_0xfb56('0x2a')];for(const {suggestion:_0x24d3e9,meta:_0x46a5c3}of this['_findSuggestions'](_0x3603e6,_0xfb56('0x3d'))){if(!_0x46a5c3[_0xfb56('0x10')])continue;if(_0x24d3e9[_0xfb56('0x33')]!=_0x3983c1)continue;if(!Ft(_0x24d3e9,_0x1d4d14))continue;const _0x15c70e=_0x24d3e9['getFirstRange']();if(_0x15c70e[_0xfb56('0x140')](_0x3603e6,!0x0))return null;_0x44afdf=_0x44afdf[_0xfb56('0xcf')](_0x15c70e[_0xfb56('0x16c')])?_0x44afdf:_0x15c70e['start'],_0x407927=_0x407927[_0xfb56('0x130')](_0x15c70e[_0xfb56('0x2a')])?_0x407927:_0x15c70e['end'],_0x42b544?_0x15c70e['start'][_0xfb56('0xcf')](_0x42b544[_0xfb56('0x110')]()[_0xfb56('0x16c')])?(_0x42b544['removeMarkers'](),_0x42b544=_0x24d3e9):_0x24d3e9['removeMarkers']():_0x42b544=_0x24d3e9;}const _0x188c72=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x44afdf,_0x407927);if(_0x42b544)this[_0xfb56('0x88')](_0x42b544,_0x188c72);else{const _0x510b88=_0x1afc95(),_0x4dd6a2=_0x44e285['id'];this[_0xfb56('0x13d')]({'id':_0x510b88,'type':_0xfb56('0xd2')+_0x3983c1,'data':_0x1ce4e6,'createdAt':new Date(),'authorId':_0x4dd6a2,'attributes':_0x1d4d14}),this[_0xfb56('0x13a')](_0xfb56('0xd2')+_0x3983c1,_0x510b88,_0x4dd6a2,_0x188c72);}}return null;}[_0xfb56('0x6c')](_0x310e21,_0xdc9a14,_0x6c0e00=[],_0x3f47f0=null,_0x20ae83={}){_0xdc9a14['formatGroupId']||(_0xdc9a14[_0xfb56('0xa4')]=_0xdc9a14[_0xfb56('0xf0')]),_0xdc9a14[_0xfb56('0xb0')]=_0x310e21['is']('range'),_0x3f47f0=_0x3f47f0||Rt(_0xdc9a14);const _0x582916=_0x6c0e00[_0xfb56('0x157')](_0x52715c=>Ut(_0x52715c,this[_0xfb56('0x14f')])),_0x1db312=_0x310e21['is'](_0xfb56('0x1a'))?_0x310e21:Ut(_0x310e21,this[_0xfb56('0x14f')]);if(_0xfb56('0x75')===this[_0xfb56('0xb6')]){const _0x231743=this['_suggestionFactory'][_0xfb56('0x94')](_0xfb56('0x147'),_0x3f47f0,_0xfb56('0x23'));return this['forceDefaultExecution'](()=>_0x231743([_0x1db312],_0xdc9a14,_0x20ae83)),null;}_0x582916[_0xfb56('0x139')](_0x1db312);let _0x3c0b43=!0x0;for(const _0x12b529 of _0x582916)if(!this[_0xfb56('0x92')](_0x12b529)){_0x3c0b43=!0x1;break;}if(_0x3c0b43&&'always'!==this[_0xfb56('0xb6')]){const _0x5de2de=this['_suggestionFactory'][_0xfb56('0x94')](_0xfb56('0x147'),_0x3f47f0,'accept');return this[_0xfb56('0x42')](()=>_0x5de2de([_0x1db312],_0xdc9a14,_0x20ae83)),null;}let _0x2a3afa=null,_0x40eac3=_0x1db312[_0xfb56('0x16c')],_0x4f9452=_0x1db312['end'];for(const {suggestion:_0x59dbe2,meta:_0x15d506}of this[_0xfb56('0x37')](_0x1db312,_0xfb56('0x147'))){if(!_0x15d506[_0xfb56('0x10')])continue;if(_0x15d506['isNextTo']||_0x15d506['containsRangeInObject']||_0x15d506[_0xfb56('0xdc')])continue;if(_0x59dbe2[_0xfb56('0x15')]['formatGroupId']!=_0xdc9a14[_0xfb56('0xa4')])continue;if(!Ft(_0x59dbe2,_0x20ae83))continue;const _0x57e332=_0x59dbe2[_0xfb56('0x110')]();if(_0x59dbe2['subType']==_0x3f47f0){if(_0x57e332[_0xfb56('0x140')](_0x1db312,!0x0))return null;_0x40eac3=_0x40eac3[_0xfb56('0xcf')](_0x57e332[_0xfb56('0x16c')])?_0x40eac3:_0x57e332[_0xfb56('0x16c')],_0x4f9452=_0x4f9452[_0xfb56('0x130')](_0x57e332['end'])?_0x4f9452:_0x57e332[_0xfb56('0x2a')],_0x2a3afa?_0x57e332[_0xfb56('0x16c')][_0xfb56('0xcf')](_0x2a3afa[_0xfb56('0x110')]()[_0xfb56('0x16c')])?(_0x2a3afa[_0xfb56('0x151')](),_0x2a3afa=_0x59dbe2):_0x59dbe2[_0xfb56('0x151')]():_0x2a3afa=_0x59dbe2;}else{const _0x34178d=_0x1db312[_0xfb56('0xe9')](_0x57e332);this[_0xfb56('0xd1')](_0x59dbe2,_0x34178d);}}const _0x336c2c=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149'))['me'],_0x372ff8=_0x1afc95(),_0x493b96=_0x336c2c['id'];if(_0x2a3afa)return this['_setSuggestionRange'](_0x2a3afa,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x40eac3,_0x4f9452)),_0x2a3afa;{const _0x12c90d=this['_setSuggestionData']({'id':_0x372ff8,'type':_0xfb56('0xca')+_0x3f47f0,'data':_0xdc9a14,'createdAt':new Date(),'authorId':_0x493b96,'attributes':_0x20ae83});return this['_addSuggestionMarker'](_0xfb56('0xca')+_0x3f47f0,_0x372ff8,_0x493b96,this['_model'][_0xfb56('0x10b')](_0x40eac3,_0x4f9452)),_0x12c90d;}}[_0xfb56('0xfe')](_0x3c2c39,_0x19f914,_0x10ce5f=[],_0x3df546=null,_0x1946aa={}){_0x19f914[_0xfb56('0xa4')]||(_0x19f914[_0xfb56('0xa4')]=_0x19f914[_0xfb56('0xf0')]);const _0x4b8690=_0x3c2c39[0x0];_0x19f914[_0xfb56('0xb0')]=_0x4b8690['is'](_0xfb56('0x1a')),_0x3df546=_0x3df546||Rt(_0x19f914);const _0x192941=_0x10ce5f['map'](_0x30d9ca=>Ut(_0x30d9ca,this[_0xfb56('0x14f')])),_0x143771=_0x4b8690['is'](_0xfb56('0x1a'))?_0x3c2c39:_0x3c2c39[_0xfb56('0x157')](_0x28a22d=>Ut(_0x28a22d,this[_0xfb56('0x14f')]));if(_0xfb56('0x75')===this[_0xfb56('0xb6')]){const _0x3cb15c=this[_0xfb56('0x98')]['getSuggestionCallback']('formatBlock',_0x3df546,'accept');return this[_0xfb56('0x42')](()=>_0x3cb15c(_0x143771,_0x19f914,_0x1946aa)),null;}_0x192941[_0xfb56('0x139')](..._0x143771);let _0x4a6b9b=!0x0;for(const _0x35209b of _0x192941)if(!this['_rangeIsInLocalUserInsertion'](_0x35209b)){_0x4a6b9b=!0x1;break;}if(_0x4a6b9b&&_0xfb56('0xae')!==this[_0xfb56('0xb6')]){const _0x297ca6=this[_0xfb56('0x98')][_0xfb56('0x94')]('formatBlock',_0x3df546,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x297ca6(_0x143771,_0x19f914,_0x1946aa)),null;}const _0x19eb28=this[_0xfb56('0x11a')]['plugins'][_0xfb56('0x166')](_0xfb56('0x149'))['me'];for(const _0x4502a4 of this['getSuggestions']()){if(_0x4502a4[_0xfb56('0x16')]['id']!=_0x19eb28['id'])continue;if(_0xfb56('0x147')!=_0x4502a4[_0xfb56('0xf1')]||_0x4502a4[_0xfb56('0x15')][_0xfb56('0xa4')]!=_0x19f914[_0xfb56('0xa4')])continue;if(!Ft(_0x4502a4,_0x1946aa))continue;const _0x4b35a7=_0x4502a4[_0xfb56('0x33')]==_0x3df546;for(let _0x345528=0x0;_0x345528<_0x143771[_0xfb56('0xa8')];_0x345528++){const _0x12cc54=_0x143771[_0x345528];for(const _0x6aedbd of _0x4502a4[_0xfb56('0x12')]()){const _0x3881f6=_0x6aedbd[_0xfb56('0xda')]();if(_0x12cc54['isEqual'](_0x3881f6)){_0x4b35a7?(_0x143771[_0xfb56('0x9a')](_0x345528,0x1),_0x345528--):_0x4502a4[_0xfb56('0xbb')](_0x6aedbd['name']);break;}}}}if(0x0==_0x143771['length'])return null;const _0xaabde=this[_0xfb56('0x98')]['getSuggestionCallback'](_0xfb56('0x147'),_0x3df546,_0xfb56('0x64'));for(const _0x5a3ad0 of this[_0xfb56('0x150')]())if(_0x5a3ad0['author']['id']==_0x19eb28['id']&&_0xfb56('0x147')==_0x5a3ad0[_0xfb56('0xf1')]&&_0x5a3ad0['data'][_0xfb56('0xa4')]==_0x19f914[_0xfb56('0xa4')]&&_0x5a3ad0['subType']==_0x3df546&&Ft(_0x5a3ad0,_0x1946aa)&&(_0xaabde(_0x5a3ad0['getRanges'](),_0x143771)||_0xaabde(_0x143771,_0x5a3ad0[_0xfb56('0x7f')]()))){for(const _0x3de535 of _0x143771)_0x5a3ad0[_0xfb56('0x13e')](_0x3de535);return _0x5a3ad0;}const _0x566c57=_0x1afc95(),_0x2063c1=_0x19eb28['id'],_0x3b6265='formatBlock:'+_0x3df546,_0x5d6ec0=this[_0xfb56('0x13d')]({'id':_0x566c57,'type':_0x3b6265,'data':_0x19f914,'createdAt':new Date(),'authorId':_0x2063c1,'attributes':_0x1946aa});for(const _0x91a4c4 of _0x143771)this[_0xfb56('0x13a')](_0x3b6265,_0x566c57,_0x2063c1,_0x91a4c4,_0x4d3acb['getMultiRangeId']());return _0x5d6ec0;}[_0xfb56('0x122')](_0x31bb66,_0x330727=null,_0x11d7a0={}){if(_0x31bb66['isCollapsed'])return null;const _0x3a5944=this[_0xfb56('0x11a')][_0xfb56('0x46')]['get'](_0xfb56('0x149'))['me'],_0x27a1b6=new _0x49faa4(_0x31bb66[_0xfb56('0x16c')],_0x31bb66['end']);for(const {suggestion:_0x2baccc,meta:_0xa7d4e3}of this['_findSuggestions'](_0x27a1b6,_0xfb56('0xdd')))if(_0xa7d4e3[_0xfb56('0x10')]&&!_0xa7d4e3['isNextTo']){if(_0x2baccc[_0xfb56('0x104')]){const _0x4d78a9=_0x2baccc['getRanges']()[_0xfb56('0x7d')](_0x561afe=>'$graveyard'!=_0x561afe[_0xfb56('0x4')][_0xfb56('0xab')]);_0x4d78a9[_0xfb56('0x12a')](_0x20ee14=>_0x27a1b6['containsRange'](_0x20ee14,!0x0))&&_0x2baccc[_0xfb56('0x2d')]();if(_0x4d78a9[_0xfb56('0xc0')](_0x4b876e=>_0x4b876e[_0xfb56('0x140')](_0x27a1b6,!0x0))){const _0x1d072c=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x171'),_0x330727,_0xfb56('0x23'));return this['forceDefaultExecution'](()=>_0x1d072c([_0x27a1b6],null,_0x11d7a0)),null;}}else{const _0x4a32dc=_0x27a1b6[_0xfb56('0xe9')](_0x2baccc[_0xfb56('0x110')]());null!==_0x4a32dc&&_0x2baccc[_0xfb56('0x71')]([_0x4a32dc],null,_0x11d7a0);}}if(_0x27a1b6[_0xfb56('0x3f')](),_0x27a1b6[_0xfb56('0x49')]||_0xfb56('0x134')==_0x27a1b6[_0xfb56('0x4')]['rootName'])return null;let _0x4ebb96=null,_0x45702c=_0x27a1b6[_0xfb56('0x16c')],_0x18e451=_0x27a1b6[_0xfb56('0x2a')];const _0x59d2da=this[_0xfb56('0x37')](_0x27a1b6,_0xfb56('0x171'));for(const {suggestion:_0x3988e7,meta:_0x17ca8e}of _0x59d2da){const _0x1356e3=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x45702c,_0x18e451);if(_0x17ca8e[_0xfb56('0x10')]&&(this['_mergeNestedSuggestions']||!_0x17ca8e[_0xfb56('0x87')]&&!_0x17ca8e['isInsideObject'])){if(_0x3988e7[_0xfb56('0x104')]){if(!Ft(_0x3988e7,_0x11d7a0))continue;let _0x583851=!0x0;for(const _0x431fbd of _0x3988e7['getRanges']()){if(_0x431fbd[_0xfb56('0x140')](_0x1356e3,!0x0))return _0x3988e7;_0x1356e3[_0xfb56('0x140')](_0x431fbd)||(_0x583851=!0x1);}_0x583851&&_0x3988e7[_0xfb56('0x2d')]();}else{const _0x3dce74=_0x3988e7[_0xfb56('0x110')]();if(_0x3dce74['containsRange'](_0x1356e3,!0x0))return _0x3988e7;if(!Ft(_0x3988e7,_0x11d7a0)){_0x1356e3[_0xfb56('0x140')](_0x3dce74)?_0x3988e7[_0xfb56('0x151')]():_0x3dce74[_0xfb56('0x7')](_0x45702c)?_0x45702c=_0x3dce74[_0xfb56('0x2a')]:_0x3dce74['containsPosition'](_0x18e451)&&(_0x18e451=_0x3dce74['start']);continue;}_0x45702c=_0x45702c['isBefore'](_0x3dce74[_0xfb56('0x16c')])?_0x45702c:_0x3dce74[_0xfb56('0x16c')],_0x18e451=_0x18e451[_0xfb56('0x130')](_0x3dce74[_0xfb56('0x2a')])?_0x18e451:_0x3dce74[_0xfb56('0x2a')],_0x11d7a0=Object['assign']({},_0x3988e7[_0xfb56('0xa9')]),_0x4ebb96?_0x3dce74[_0xfb56('0x16c')][_0xfb56('0xcf')](_0x4ebb96[_0xfb56('0x110')]()['start'])?(_0x4ebb96[_0xfb56('0x151')](),_0x4ebb96=_0x3988e7):_0x3988e7[_0xfb56('0x151')]():_0x4ebb96=_0x3988e7;}}}if(_0x4ebb96)return this[_0xfb56('0x88')](_0x4ebb96,this['_model'][_0xfb56('0x10b')](_0x45702c,_0x18e451)),_0x4ebb96;{const _0x46d4e0=_0x1afc95(),_0x114fbc=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x45702c,_0x18e451),_0xab31b3=_0x3a5944['id'],_0x4f78f8=_0x330727?'deletion:'+_0x330727:_0xfb56('0x171'),_0x4f1356=this[_0xfb56('0x13d')]({'id':_0x46d4e0,'type':_0x4f78f8,'createdAt':new Date(),'authorId':_0xab31b3,'attributes':_0x11d7a0});return this['_addSuggestionMarker'](_0x4f78f8,_0x46d4e0,_0xab31b3,_0x114fbc),_0x4f1356;}}[_0xfb56('0x6b')](_0x456d80,_0x402e65='multi',_0x5dffca={}){const _0x5935db=this['editor'][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['me'],_0x333eca=_0x456d80[_0xfb56('0x157')](_0x397634=>new _0x49faa4(_0x397634['start'],_0x397634[_0xfb56('0x2a')])),_0x4a93f1=new Set();for(const {suggestion:_0x12bbad,meta:_0x2e0acb}of this[_0xfb56('0x37')](_0x333eca,_0xfb56('0xdd')))_0x2e0acb[_0xfb56('0x10')]&&!_0x2e0acb[_0xfb56('0xbd')]&&_0x4a93f1[_0xfb56('0x131')](_0x12bbad);for(const _0x26633a of _0x4a93f1)if(_0x26633a[_0xfb56('0x104')]){const _0x2c93e4=_0x26633a['getRanges']();(!_0x26633a[_0xfb56('0xa9')]||!_0x26633a[_0xfb56('0xa9')][_0xfb56('0x8e')])&&(_0x2c93e4['every'](_0x39de69=>_0x333eca[_0xfb56('0xc0')](_0x43e485=>_0x43e485['containsRange'](_0x39de69,!0x0)))&&_0x26633a[_0xfb56('0x2d')]());if(_0x333eca[_0xfb56('0x12a')](_0x195ce9=>_0x2c93e4[_0xfb56('0xc0')](_0x5c50f2=>_0x5c50f2[_0xfb56('0x140')](_0x195ce9,!0x0)))){const _0x40ce00=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x171'),_0x402e65,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x40ce00(_0x456d80,null,_0x5dffca)),null;}}else{const _0x4b8858=_0x26633a[_0xfb56('0x110')]();_0x333eca[_0xfb56('0xc0')](_0x40d762=>_0x40d762[_0xfb56('0x140')](_0x4b8858,!0x0))&&_0x26633a['discard']();if(_0x333eca['every'](_0x3d57cd=>_0x4b8858['containsRange'](_0x3d57cd,!0x0))){const _0x1a9ba4=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x171'),_0x402e65,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x1a9ba4(_0x333eca,null,_0x5dffca)),null;}}const _0x3461b6=this[_0xfb56('0x98')]['getSuggestionCallback']('deletion',_0x402e65,'join');let _0x27fc8a=null;for(const _0x3b963e of this['getSuggestions']())if(_0x3b963e[_0xfb56('0x16')]['id']==_0x5935db['id']&&_0x3b963e[_0xfb56('0x66')]&&_0xfb56('0x171')==_0x3b963e[_0xfb56('0xf1')]&&_0x3b963e[_0xfb56('0x33')]==_0x402e65&&Ft(_0x3b963e,_0x5dffca)&&(_0x3461b6(_0x3b963e['getRanges'](),_0x333eca)||_0x3461b6(_0x333eca,_0x3b963e[_0xfb56('0x7f')]()))){if(_0x27fc8a){if(_0x3b963e[_0xfb56('0xc5')]&&_0x3b963e[_0xfb56('0xc5')][_0xfb56('0xa8')])continue;for(const _0x50db8d of _0x3b963e[_0xfb56('0x7f')]())_0x27fc8a['isIntersectingWithRange'](_0x50db8d)||_0x27fc8a[_0xfb56('0x13e')](_0x50db8d);_0x3b963e[_0xfb56('0x151')]();}else{_0x27fc8a=_0x3b963e;for(const _0x35fff8 of _0x333eca)_0x3b963e['isIntersectingWithRange'](_0x35fff8)||_0x3b963e[_0xfb56('0x13e')](_0x35fff8);}}if(_0x27fc8a)return _0x27fc8a;_0x4a93f1[_0xfb56('0xcd')]();for(const {suggestion:_0x55560d,meta:_0x52bf5b}of this[_0xfb56('0x37')](_0x333eca,_0xfb56('0x171')))_0x52bf5b[_0xfb56('0x10')]&&(this[_0xfb56('0x14d')]||!_0x52bf5b[_0xfb56('0x87')]&&!_0x52bf5b[_0xfb56('0xdc')])&&Ft(_0x55560d,_0x5dffca)&&_0x4a93f1[_0xfb56('0x131')](_0x55560d);for(const _0x51e2ef of _0x4a93f1){const _0x451e5b=_0x51e2ef[_0xfb56('0x7f')]();if(!_0x5dffca||!_0x5dffca[_0xfb56('0x8e')]){if(_0x333eca['every'](_0x236dd9=>_0x451e5b['some'](_0x54afb6=>_0x54afb6[_0xfb56('0x140')](_0x236dd9,!0x0))))return _0x51e2ef;}(!_0x51e2ef['attributes']||!_0x51e2ef[_0xfb56('0xa9')][_0xfb56('0x8e')])&&(_0x451e5b['every'](_0x590056=>_0x333eca[_0xfb56('0xc0')](_0x88eb12=>_0x88eb12[_0xfb56('0x140')](_0x590056,!0x0)))&&_0x51e2ef[_0xfb56('0x2d')]());}const _0x438553=_0x1afc95(),_0x56e921=_0x5935db['id'],_0x5479c3=_0xfb56('0x9c')+_0x402e65,_0x3ce067=this[_0xfb56('0x13d')]({'id':_0x438553,'type':_0x5479c3,'createdAt':new Date(),'authorId':_0x56e921,'attributes':_0x5dffca});for(const _0x559750 of _0x333eca)_0x559750['detach'](),_0x559750[_0xfb56('0x49')]||_0xfb56('0x134')==_0x559750[_0xfb56('0x4')][_0xfb56('0xab')]||this[_0xfb56('0x13a')](_0x5479c3,_0x438553,_0x56e921,_0x559750,_0x4d3acb[_0xfb56('0x5b')]());return _0x3ce067;}[_0xfb56('0x61')](_0xcecd72,_0x1daeb1,_0x20ed6e,_0x4c2a80,_0x50765a){if(_0xcecd72[_0xfb56('0x49')])return[];if(_0xfb56('0x75')===this[_0xfb56('0xb6')])return[];const _0xe403e6=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149'))['me']['id'],_0x1d05a0=Array[_0xfb56('0x55')](this[_0xfb56('0xe1')][_0xfb56('0x48')]())[_0xfb56('0x7d')](_0x23cdc2=>_0xfb56('0x3a')==_0x23cdc2[_0xfb56('0xf1')]&&_0x23cdc2[_0xfb56('0x15')][_0xfb56('0xed')]==_0x1daeb1&&_0x23cdc2['isIntersectingWithRange'](_0xcecd72));if(_0xfb56('0x91')===this[_0xfb56('0xb6')]){const _0x310056=this[_0xfb56('0x37')](_0xcecd72,_0xfb56('0xdd'))['filter'](({meta:_0x4eabdb})=>_0x4eabdb[_0xfb56('0x10')]&&!_0x4eabdb[_0xfb56('0xdc')]&&!_0x4eabdb[_0xfb56('0xbd')])[_0xfb56('0x157')](({suggestion:_0x18f07e})=>_0x18f07e);_0x1d05a0['unshift'](..._0x310056);}const _0x15a727=new Map([[_0xcecd72,_0x20ed6e]]);for(const _0x52fedb of _0x1d05a0){const _0x17f35b='attribute'==_0x52fedb['type']?_0x52fedb[_0xfb56('0x15')][_0xfb56('0x162')]:void 0x0,_0x16e317=_0x52fedb[_0xfb56('0x110')](),_0x13001e=Array[_0xfb56('0x55')](_0x15a727[_0xfb56('0x26')]())[_0xfb56('0x45')](_0x7c80f6=>_0x7c80f6['isIntersecting'](_0x16e317));_0x13001e&&(_0x15a727[_0xfb56('0x13b')](_0x13001e),_0x13001e[_0xfb56('0x14e')](_0x16e317)[_0xfb56('0x44')](_0x21839b=>{_0x15a727[_0xfb56('0x31')](_0x21839b,_0x20ed6e);}),_0xfb56('0xdd')!=_0x52fedb[_0xfb56('0xf1')]&&_0x17f35b!=_0x4c2a80&&_0x15a727['set'](_0x13001e[_0xfb56('0xe9')](_0x16e317),_0x17f35b));}const _0x16df71=[];for(const [_0x64f79e,_0xa6767e]of _0x15a727){const _0x3f1dd2=_0x1afc95(),_0x224fbc={'key':_0x1daeb1,'oldValue':_0xa6767e,'newValue':_0x4c2a80};_0x1daeb1[_0xfb56('0xa8')]>0x25&&console[_0xfb56('0x5f')](_0xfb56('0x97'),{'key':_0x1daeb1});const _0x267738=(_0xfb56('0x7e')+(_0x1daeb1+'|'+Rt({'newValue':_0x4c2a80})))[_0xfb56('0xe3')](0x0,0x3c),_0x39595c=this['_setSuggestionData']({'id':_0x3f1dd2,'type':_0x267738,'data':_0x224fbc,'createdAt':new Date(),'authorId':_0xe403e6,'attributes':_0x50765a});_0x16df71[_0xfb56('0x139')](_0x39595c),this[_0xfb56('0x13a')](_0x267738,_0x3f1dd2,_0xe403e6,_0x64f79e);}return _0x16df71;}[_0xfb56('0x15e')](_0x1a650a){this['_blockAttributeKeys'][_0xfb56('0x131')](_0x1a650a);}[_0xfb56('0x168')](_0x3298e8){this[_0xfb56('0xc6')][_0xfb56('0x131')](_0x3298e8);}[_0xfb56('0xb7')](_0x20ac30,_0x4b2c26=[],_0x4bdbdf=[]){this[_0xfb56('0xbe')](_0x20ac30,(_0x261280,..._0x151755)=>{this[_0xfb56('0x12c')](()=>{_0x261280(..._0x151755);});});for(const _0x317a64 of _0x4b2c26)this[_0xfb56('0x168')](_0x317a64);for(const _0x58e8af of _0x4bdbdf)this[_0xfb56('0x15e')](_0x58e8af);}['_setSuggestionRange'](_0xf3cdb3,_0x4c8d99){const _0x17a26d=_0xf3cdb3[_0xfb56('0x4d')]();this[_0xfb56('0x14f')][_0xfb56('0xc7')](_0x819e14=>{_0x819e14['updateMarker'](_0x17a26d,{'range':_0x4c8d99});});}[_0xfb56('0x9b')](_0x534d15){const _0x3073ac=_0x534d15['id'],_0x280b7b=this['editor'][_0xfb56('0x127')][_0xfb56('0x166')]('collaboration.channelId');this['_commentsRepository'][_0xfb56('0xac')](_0x3073ac)||this[_0xfb56('0x4b')][_0xfb56('0x133')]({'channelId':_0x280b7b,'threadId':_0x3073ac,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x3ec22b=this[_0xfb56('0x4b')][_0xfb56('0x21')](_0x3073ac);_0x3ec22b['unbind'](_0xfb56('0x113')),_0x3ec22b[_0xfb56('0x113')]=!0x1,_0x534d15[_0xfb56('0xc5')]=_0x3ec22b;}[_0xfb56('0x29')](_0x2cb355,_0x255b25,_0x4e32e6,_0x1d87c4){if(_0x2cb355[_0xfb56('0xf1')]!=_0x255b25||_0x2cb355[_0xfb56('0x33')]!=_0x4e32e6||_0x2cb355['creator']['id']!=_0x1d87c4)throw this[_0xfb56('0x11a')][_0xfb56('0xb1')](_0xfb56('0x132')),new _0x25467a(_0xfb56('0x132'),this);}[_0xfb56('0xd1')](_0x27c2ab,_0xadcc09){const _0x2b7f02=_0x27c2ab[_0xfb56('0x110')]();if(_0xadcc09[_0xfb56('0x41')](_0x2b7f02))_0x27c2ab[_0xfb56('0x151')]();else{if(_0x2b7f02['containsRange'](_0xadcc09)){const _0x3c373d=this['_model']['createPositionAt'](_0xadcc09[_0xfb56('0x16c')][_0xfb56('0x89')],'end');this[_0xfb56('0x88')](_0x27c2ab,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x2b7f02['start'],_0x3c373d));const _0x455ebc=_0x1afc95(),_0x21a861=_0x27c2ab[_0xfb56('0x17')]['id'],_0x543c8b=_0x27c2ab[_0xfb56('0xf1')]+':'+_0x27c2ab[_0xfb56('0x33')];this[_0xfb56('0x13d')]({'id':_0x455ebc,'type':_0x543c8b,'createdAt':new Date(),'authorId':_0x21a861,'data':_0x27c2ab['data'],'attributes':_0x27c2ab['attributes']});const _0x1dd84a=this[_0xfb56('0x14f')]['createPositionAt'](_0xadcc09[_0xfb56('0x2a')]['parent'],'after'),_0x4fbf4b=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x1dd84a,_0x2b7f02[_0xfb56('0x2a')]);this[_0xfb56('0x13a')](_0x543c8b,_0x455ebc,_0x21a861,_0x4fbf4b);}else{if(_0x2b7f02[_0xfb56('0x7')](_0xadcc09['start'])){const _0x36ab80=this['_model'][_0xfb56('0xad')](_0xadcc09['start'][_0xfb56('0x89')],_0xfb56('0x2a'));this[_0xfb56('0x88')](_0x27c2ab,this[_0xfb56('0x14f')]['createRange'](_0x2b7f02[_0xfb56('0x16c')],_0x36ab80));}else{const _0x147459=this['_model'][_0xfb56('0xad')](_0xadcc09[_0xfb56('0x2a')]['parent'],'after');this[_0xfb56('0x88')](_0x27c2ab,this[_0xfb56('0x14f')]['createRange'](_0x147459,_0x2b7f02[_0xfb56('0x2a')]));}}}}[_0xfb56('0x92')](_0x56792e){for(const {suggestion:_0x161a00,meta:_0x24b8db}of this[_0xfb56('0x37')](_0x56792e,_0xfb56('0xdd'))){if(!_0x24b8db[_0xfb56('0x10')])continue;const _0x5ca3ab=_0x161a00[_0xfb56('0x7f')]();for(const _0x9f8448 of _0x5ca3ab)if(!_0x56792e['getDifference'](_0x9f8448)[_0xfb56('0xa8')])return!0x0;}return!0x1;}[_0xfb56('0x15d')](_0x42b6f0){const _0x221c11=this['editor'][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['getUser'](_0x42b6f0);if(!_0x221c11)throw new _0x25467a(_0xfb56('0x85'),this);return _0x221c11;}[_0xfb56('0xb8')](_0x3be5b9){const _0x3f924c=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149')),_0xc27e38=_0x49482b(_0xfb56('0x1')+_0x3be5b9),_0x539ec2=_0x3f924c[_0xfb56('0x0')](_0xc27e38);return _0x539ec2||_0x3f924c['addUser']({'id':_0xc27e38,'name':_0x3be5b9});}[_0xfb56('0x141')](_0x3aa142,_0x33a634,_0x54227b,_0x489682,_0x3ccb67){const _0x56331e=this['_getAuthorFromId'](_0x489682),_0x3831bd=this[_0xfb56('0x98')]['buildSuggestion'](_0x3aa142,_0x33a634,_0x54227b,_0x56331e,_0x3ccb67,_0x18c6a6=>this[_0xfb56('0xa6')](_0x54227b,{'attributes':_0x18c6a6}));return this[_0xfb56('0x170')](_0x3831bd,_0xfb56('0x23'),()=>{this[_0xfb56('0xa6')](_0x54227b,{'state':_0xfb56('0x2')});},{'priority':'high'}),this[_0xfb56('0x170')](_0x3831bd,_0xfb56('0x2d'),()=>{this[_0xfb56('0xa6')](_0x54227b,{'state':_0xfb56('0x10e')});},{'priority':_0xfb56('0xaa')}),this['_suggestions'][_0xfb56('0x31')](_0x54227b,_0x3831bd),this[_0xfb56('0xd6')][_0xfb56('0x31')](_0x3831bd,_0xfb56('0x95')),_0x3831bd;}[_0xfb56('0x11')](_0x239042){const _0x348e8f=_0x239042[_0xfb56('0x7b')](':');return{'group':_0x348e8f[0x0],'type':_0x348e8f[0x1],'subType':_0x348e8f['length']>=0x5?_0x348e8f[0x2]:null,'id':_0x348e8f[_0xfb56('0xa8')]<0x5?_0x348e8f[0x2]:_0x348e8f[0x3],'authorId':_0x348e8f[_0xfb56('0xa8')]<0x5?_0x348e8f[0x3]:_0x348e8f[0x4],'markerCount':0x6==_0x348e8f[_0xfb56('0xa8')]?_0x348e8f[0x5]:null};}['_breakSuggestionMarker'](_0x414779,_0x2e31b4,_0x3ea487){const _0x582ab0=_0x414779['getFirstRange'](),_0x36632d=_0x582ab0[_0xfb56('0x16c')],_0x42bf75=_0x582ab0[_0xfb56('0x2a')];this[_0xfb56('0x88')](_0x414779,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x36632d,_0x2e31b4));const _0x173c4d=_0x1afc95(),_0x170458=_0x414779['creator']['id'],_0x514c93=_0x414779[_0xfb56('0xf1')]+(_0x414779[_0xfb56('0x33')]?':'+_0x414779[_0xfb56('0x33')]:'');this[_0xfb56('0x13d')]({'id':_0x173c4d,'type':_0x514c93,'createdAt':new Date(),'authorId':_0x170458,'originalSuggestionId':_0x414779['id'],'attributes':_0x414779['attributes'],'data':_0x414779[_0xfb56('0x15')]});const _0x2f8341=this[_0xfb56('0x10d')](_0x414779);(_0xfb56('0x147')==_0x414779['type']||_0x2f8341&&this[_0xfb56('0x38')](_0x2f8341))&&(_0x3ea487=this[_0xfb56('0x14f')][_0xfb56('0x129')](_0x3ea487[_0xfb56('0xfd')])),this[_0xfb56('0x13a')](_0x514c93,_0x173c4d,_0x170458,this['_model'][_0xfb56('0x10b')](_0x3ea487,_0x42bf75));}['_findSuggestions'](_0x54593b,_0x5ef79d=null){const _0x1d1314=[],_0x5e6e18=this['editor']['plugins'][_0xfb56('0x166')](_0xfb56('0x149'))['me'];Array[_0xfb56('0x39')](_0x54593b)||(_0x54593b=[_0x54593b]);for(const _0x371e35 of this[_0xfb56('0x150')]()){if(!_0x371e35[_0xfb56('0x66')])continue;if(_0x5ef79d&&_0x371e35[_0xfb56('0xf1')]!=_0x5ef79d)continue;let _0x4da470=!0x1;for(const _0xeb084e of _0x371e35[_0xfb56('0x7f')]()){for(const _0x296490 of _0x54593b){const _0x52ef5a=_0x296490[_0xfb56('0x16c')][_0xfb56('0x41')](_0xeb084e[_0xfb56('0x2a')])||_0x296490[_0xfb56('0x2a')]['isEqual'](_0xeb084e[_0xfb56('0x16c')]);if(_0x52ef5a||_0x296490[_0xfb56('0xe9')](_0xeb084e)){const _0x18fea3=_0x296490[_0xfb56('0x140')](_0xeb084e)&&Tt(this[_0xfb56('0x14f')][_0xfb56('0x3b')],_0xeb084e['start'],_0x296490),_0x290d8a=_0xeb084e['containsRange'](_0x296490)&&Tt(this[_0xfb56('0x14f')]['schema'],_0x296490[_0xfb56('0x16c')],_0xeb084e);_0x1d1314[_0xfb56('0x139')]({'suggestion':_0x371e35,'meta':{'isOwn':_0x5e6e18==_0x371e35[_0xfb56('0x16')],'isNextTo':_0x52ef5a,'isInsideObject':_0x18fea3,'containsRangeInObject':_0x290d8a}}),_0x4da470=!0x0;break;}}if(_0x4da470)break;}}return _0x1d1314;}[_0xfb56('0x13a')](_0x325a33,_0x42254c,_0xfe3fcf,_0xd838b5,_0x4b749e){this[_0xfb56('0x14f')][_0xfb56('0xc7')](_0xb045c3=>{let _0x131521='suggestion:'+_0x325a33+':'+_0x42254c+':'+_0xfe3fcf;_0x4b749e&&(_0x131521=_0x131521+':'+_0x4b749e),_0xb045c3[_0xfb56('0x14c')](_0x131521,{'range':_0xd838b5,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x58d508){const _0x1ea720=_0x58d508[_0xfb56('0x4f')],_0x44b24b=_0x58d508['next'];_0x58d508['previous']=null,_0x58d508[_0xfb56('0x72')]=null,null!=_0x1ea720&&(_0x1ea720[_0xfb56('0x72')]=_0x44b24b),null!=_0x44b24b&&(_0x44b24b[_0xfb56('0x4f')]=_0x1ea720),'ready'==this[_0xfb56('0xd6')][_0xfb56('0x166')](_0x58d508)&&(this[_0xfb56('0xd6')]['set'](_0x58d508,_0xfb56('0xe')),this[_0xfb56('0x12f')](_0xfb56('0x143'),_0x58d508,_0x1ea720,_0x44b24b));}[_0xfb56('0x13d')](_0x408911){const _0x5dfd8b=_0x408911['id'],_0x49cbd8=this['addSuggestionData'](_0x408911);if(this['_adapter']&&this[_0xfb56('0xf9')][_0xfb56('0x101')]){const _0x287779=this[_0xfb56('0x11a')]['plugins'][_0xfb56('0x166')](_0xfb56('0x13f')),_0x1a3d6c=_0x49cbd8[_0xfb56('0x82')],_0xb3073=_0x49cbd8[_0xfb56('0x33')]?_0x49cbd8[_0xfb56('0xf1')]+':'+_0x49cbd8[_0xfb56('0x33')]:_0x49cbd8[_0xfb56('0xf1')],_0x484cfa=this[_0xfb56('0x11a')]['locale'],_0x13e6c9=_0x287779[_0xfb56('0x131')](_0x199e6d(_0x484cfa,_0xfb56('0x15c'))),_0x292ff8={'id':_0x5dfd8b,'type':_0xb3073,'hasComments':_0x1a3d6c,'data':_0x408911[_0xfb56('0x15')]||null,'originalSuggestionId':_0x408911[_0xfb56('0xee')]||null,'attributes':_0x49cbd8[_0xfb56('0xa9')]};this[_0xfb56('0xf9')]['addSuggestion'](_0x292ff8)[_0xfb56('0x79')](_0x845f88=>{_0x49cbd8[_0xfb56('0x10a')]=!0x0,_0x287779[_0xfb56('0xfa')](_0x13e6c9),_0x845f88&&_0x845f88[_0xfb56('0x50')]&&(this['_suggestions'][_0xfb56('0x166')](_0x5dfd8b)['createdAt']=_0x845f88['createdAt']);})['catch'](_0x716c4b=>{throw _0x1ee825(_0xfb56('0x160')),this[_0xfb56('0x11a')][_0xfb56('0x144')][_0xfb56('0x16e')]({'isUndoable':!0x1},()=>{_0x49cbd8['discard']();}),_0x49cbd8[_0xfb56('0xa1')](),this[_0xfb56('0xe1')][_0xfb56('0x13b')](_0x49cbd8['id']),this[_0xfb56('0xd6')][_0xfb56('0x13b')](_0x49cbd8),_0x716c4b;});}return _0x49cbd8;}['_isBlockAttribute'](_0x566f69){return this[_0xfb56('0x108')][_0xfb56('0x6d')](_0x566f69);}[_0xfb56('0x10d')](_0x2efc6a){return _0xfb56('0x3a')==_0x2efc6a['type']&&_0x2efc6a[_0xfb56('0x33')][_0xfb56('0x7b')]('|')[0x0];}[_0xfb56('0xa6')](_0xa0876d,_0x354c8a){const _0x2ccca1=this[_0xfb56('0x11a')]['plugins']['get']('PendingActions'),_0x208e13=this['getSuggestion'](_0xa0876d);if(this['_adapter']&&this[_0xfb56('0xf9')][_0xfb56('0xa2')]){if(_0x208e13[_0xfb56('0x10a')]){const _0x1b559f=_0x2ccca1['add'](_0x199e6d(this[_0xfb56('0x11a')]['locale'],_0xfb56('0x15c')));this[_0xfb56('0xf9')][_0xfb56('0xa2')](_0xa0876d,_0x354c8a)[_0xfb56('0x79')](()=>{_0x2ccca1[_0xfb56('0xfa')](_0x1b559f);});}else _0x208e13['on']('change:_saved',()=>{this[_0xfb56('0xa6')](_0xa0876d,_0x354c8a);});}}['_getSuggestionData'](_0x48858f){if(!this[_0xfb56('0xf9')]||!this[_0xfb56('0xf9')][_0xfb56('0x111')])throw new _0x25467a(_0xfb56('0x154'),this);return this['_adapter'][_0xfb56('0x111')](_0x48858f);}[_0xfb56('0xe7')](_0x1344df){const {id:_0x222eff,type:_0x266b95,subType:_0x5573b1,authorId:_0x36a07f}=this[_0xfb56('0x11')](_0x1344df),_0x1f1c4c=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x222eff)||this[_0xfb56('0x141')](_0x266b95,_0x5573b1,_0x222eff,_0x36a07f,{});switch(this[_0xfb56('0x29')](_0x1f1c4c,_0x266b95,_0x5573b1,_0x36a07f),this[_0xfb56('0xd6')][_0xfb56('0x166')](_0x1f1c4c)){case _0xfb56('0x95'):this[_0xfb56('0xfb')](_0x222eff)[_0xfb56('0x79')](_0x385704=>{let _0x330ba8=Promise[_0xfb56('0xc9')]();_0x385704[_0xfb56('0x82')]&&(_0x330ba8=this['_commentsRepository']['fetchCommentThread']({'channelId':this[_0xfb56('0x11a')][_0xfb56('0x127')][_0xfb56('0x166')](_0xfb56('0x9')),'threadId':_0x222eff})),_0x330ba8[_0xfb56('0x79')](()=>{this[_0xfb56('0xc4')](_0x385704)['_saved']=!0x0;});}),this[_0xfb56('0xd6')]['set'](_0x1f1c4c,'markerReady');break;case _0xfb56('0xe'):this['_updateSuggestionData'](_0x222eff,{'state':_0xfb56('0x167')});case _0xfb56('0x40'):this[_0xfb56('0xd6')][_0xfb56('0x31')](_0x1f1c4c,_0xfb56('0x5e')),this['fire'](_0xfb56('0x148'),_0x1f1c4c);break;case _0xfb56('0x5e'):this['fire'](_0xfb56('0xd0'),_0x1f1c4c);}return _0x1f1c4c[_0xfb56('0x53')](_0x1344df),_0x1f1c4c;}[_0xfb56('0x121')](_0x1fbc0f){const _0x24fa2c=Array['from'](_0x1fbc0f),_0x1ea3f7=_0x24fa2c['filter'](_0x53ceac=>_0xfb56('0x3a')==_0x53ceac['type']);this['_refreshAttributeSuggestionsChain'](_0x1ea3f7);const _0x4fd2ad=_0x24fa2c[_0xfb56('0x7d')](_0xeeffe8=>!_0xeeffe8[_0xfb56('0x104')]&&_0xfb56('0x3a')!=_0xeeffe8[_0xfb56('0xf1')]),_0x181960=this['getSuggestions']({'skipNotAttached':!0x0})[_0xfb56('0x7d')](_0x1e1b98=>!_0x1e1b98[_0xfb56('0x104')]&&_0xfb56('0x3a')!=_0x1e1b98[_0xfb56('0xf1')]),_0x30e903=_0x181960[_0xfb56('0x7d')](_0x40671b=>!_0x1fbc0f[_0xfb56('0x6d')](_0x40671b)),_0x4f7944=new Map(_0x181960[_0xfb56('0x157')](_0xa73a28=>[_0xa73a28,this[_0xfb56('0x98')][_0xfb56('0x94')](_0xa73a28['type'],_0xa73a28[_0xfb56('0x33')],_0xfb56('0xd'))])),_0x4a1567=new Map(_0x181960['map'](_0x66a460=>[_0x66a460,_0x66a460[_0xfb56('0x110')]()])),_0x3a456c=new Set(),_0x1bd5a1=new Set();for(let _0x3e9a88=0x0;_0x3e9a88<_0x4fd2ad[_0xfb56('0xa8')];_0x3e9a88++)_0x15ad77(_0x4fd2ad[_0x3e9a88],_0x4fd2ad,_0x3e9a88+0x1);for(let _0x17af85=0x0;_0x17af85<_0x4fd2ad['length'];_0x17af85++)_0x15ad77(_0x4fd2ad[_0x17af85],_0x30e903,0x0);const _0x3c7860=new Set();for(let _0x4af4db=0x0;_0x4af4db<_0x4fd2ad[_0xfb56('0xa8')];_0x4af4db++){const _0x2c8315=_0x4fd2ad[_0x4af4db];!_0x1bd5a1['has'](_0x2c8315)&&_0x2c8315[_0xfb56('0x4f')]&&(_0x3c7860[_0xfb56('0x131')](_0x2c8315[_0xfb56('0x4f')]),_0x2c8315[_0xfb56('0x4f')][_0xfb56('0x72')]===_0x2c8315&&(_0x2c8315['previous']['next']=null),_0x2c8315[_0xfb56('0x4f')]=null),!_0x3a456c[_0xfb56('0x6d')](_0x2c8315)&&_0x2c8315[_0xfb56('0x72')]&&(_0x3c7860['add'](_0x2c8315['next']),_0x2c8315[_0xfb56('0x72')][_0xfb56('0x4f')]===_0x2c8315&&(_0x2c8315[_0xfb56('0x72')][_0xfb56('0x4f')]=null),_0x2c8315[_0xfb56('0x72')]=null);}function _0x15ad77(_0x127598,_0x11d27d,_0x3ae45b){for(let _0x39e02f=_0x3ae45b;_0x39e02f<_0x11d27d[_0xfb56('0xa8')];_0x39e02f++){const _0x255fc1=_0x20ce33(_0x127598,_0x11d27d[_0x39e02f]);_0x255fc1&&(_0x255fc1[0x0][_0xfb56('0x72')]=_0x255fc1[0x1],_0x255fc1[0x1][_0xfb56('0x4f')]=_0x255fc1[0x0],_0x3a456c[_0xfb56('0x131')](_0x255fc1[0x0]),_0x1bd5a1['add'](_0x255fc1[0x1]));}}function _0x20ce33(_0x4a35fc,_0x308ade){if(_0x4a35fc['author']['id']!==_0x308ade['author']['id'])return null;const _0x41c93b=_0x4f7944['get'](_0x4a35fc)(_0x4a35fc,_0x308ade,_0x4a1567[_0xfb56('0x166')](_0x4a35fc),_0x4a1567[_0xfb56('0x166')](_0x308ade));if(!_0x41c93b)return null;return _0x4f7944[_0xfb56('0x166')](_0x308ade)(_0x4a35fc,_0x308ade,_0x4a1567[_0xfb56('0x166')](_0x4a35fc),_0x4a1567['get'](_0x308ade))?_0x41c93b[0x1]['commentThread']&&_0x41c93b[0x1][_0xfb56('0xc5')][_0xfb56('0xa8')]?null:_0x41c93b:null;}_0x3c7860[_0xfb56('0x135')]&&this[_0xfb56('0x121')](_0x3c7860);}['_refreshAttributeSuggestionsChain'](_0x42d71e){if(0x0==_0x42d71e['length'])return;const _0x35177b=this[_0xfb56('0x150')]({'skipNotAttached':!0x0})['filter'](_0x364217=>_0xfb56('0x3a')==_0x364217[_0xfb56('0xf1')]&&_0x364217[_0xfb56('0xe0')]),_0x77457a=[],_0x4d6f90=new Map();for(const _0x584aae of _0x35177b){const _0x1e4d64=_0x49482b(_0x584aae[_0xfb56('0xa9')]);_0x4d6f90[_0xfb56('0x6d')](_0x1e4d64)||(_0x4d6f90[_0xfb56('0x31')](_0x1e4d64,_0x77457a[_0xfb56('0xa8')]),_0x77457a[_0xfb56('0x139')]([]));const _0x28b041=_0x4d6f90['get'](_0x1e4d64);_0x77457a[_0x28b041][_0xfb56('0x139')](_0x584aae);}!function(){_0x77457a[_0xfb56('0x69')]((_0x287243,_0x5c958c)=>{const _0x4addb9=_0x287243[0x0][_0xfb56('0x50')],_0x14f504=_0x5c958c[0x0][_0xfb56('0x50')];return _0x4addb9==_0x14f504?_0x287243[0x0][_0xfb56('0xa9')][_0xfb56('0x8f')]<_0x5c958c[0x0][_0xfb56('0xa9')][_0xfb56('0x8f')]?-0x1:0x1:_0x4addb9<_0x14f504?-0x1:0x1;});for(const _0x113e3a of _0x77457a)_0x113e3a[_0xfb56('0x69')]((_0x122267,_0x65bcf)=>_0x122267['id']<_0x65bcf['id']?-0x1:0x1);}();for(let _0x2636f2=0x0;_0x2636f2<_0x77457a[_0xfb56('0xa8')];_0x2636f2++){if(0x0==_0x77457a[_0x2636f2]['length'])continue;const _0x3c1363=[];for(let _0x4d4145=_0x2636f2+0x1;_0x4d4145<_0x77457a[_0xfb56('0xa8')];_0x4d4145++)0x0!=_0x77457a[_0x4d4145]['length']&&_0x3e70da(_0x77457a[_0x2636f2],_0x77457a[_0x4d4145])&&_0x3c1363['push'](_0x4d4145);for(const _0x32a177 of _0x3c1363)_0x77457a[_0x2636f2]=_0x77457a[_0x2636f2]['concat'](_0x77457a[_0x32a177]),_0x77457a[_0x32a177]=[];}for(const _0x437061 of _0x77457a)for(let _0x5b9062=0x0;_0x5b9062<_0x437061[_0xfb56('0xa8')];_0x5b9062++)_0x437061[_0x5b9062]['next']=_0x437061[_0x5b9062+0x1]||null;for(const _0x1e8f3b of _0x77457a)for(let _0x540102=0x0;_0x540102<_0x1e8f3b[_0xfb56('0xa8')];_0x540102++)_0x1e8f3b[_0x540102][_0xfb56('0x4f')]=_0x1e8f3b[_0x540102-0x1]||null;function _0x3e70da(_0x350381,_0x59db71){if(_0x350381[0x0][_0xfb56('0x16')]!==_0x59db71[0x0][_0xfb56('0x16')])return!0x1;if(!function(_0x1ca387,_0x5e2c56){if(!_0x1ca387[_0xfb56('0x82')]&&!_0x5e2c56[_0xfb56('0x82')])return!0x0;if(_0x1ca387['hasComments']&&_0x5e2c56[_0xfb56('0x82')])return!0x1;if(_0x1ca387[_0xfb56('0x82')]&&_0x5e2c56['createdAt']<_0x1ca387[_0xfb56('0xc5')][_0xfb56('0xb9')][_0xfb56('0x166')](0x0)[_0xfb56('0x50')])return!0x0;if(_0x5e2c56[_0xfb56('0x82')]&&_0x1ca387[_0xfb56('0x50')]<_0x5e2c56['commentThread'][_0xfb56('0xb9')][_0xfb56('0x166')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x350381[0x0],_0x59db71[0x0]))return!0x1;const _0x4a2db0=_0x1c9aaa(_0x350381[0x0]['attributes'],_0xfb56('0x8f')),_0x37bd67=_0x1c9aaa(_0x59db71[0x0][_0xfb56('0xa9')],_0xfb56('0x8f'));if(!_0x21464f(_0x4a2db0,_0x37bd67))return!0x1;return!!_0x350381[_0xfb56('0x12a')](_0x1c59cb=>_0x59db71[_0xfb56('0xc0')](_0x1175fd=>_0x1c59cb['getFirstRange']()[_0xfb56('0x41')](_0x1175fd['getFirstRange']())))&&_0x59db71[_0xfb56('0x12a')](_0x27eba1=>_0x350381['some'](_0x1450d9=>_0x27eba1[_0xfb56('0x110')]()[_0xfb56('0x41')](_0x1450d9[_0xfb56('0x110')]())));}}[_0xfb56('0x30')](_0xd83d25){const _0x566961=Array[_0xfb56('0x55')](_0xd83d25),_0x2fb01d=this[_0xfb56('0x150')]({'skipNotAttached':!0x0}),_0x142ce0=_0x2fb01d[_0xfb56('0x7d')](_0x1c01a4=>!_0xd83d25[_0xfb56('0x6d')](_0x1c01a4)),_0x3bf625=new Map(_0x566961[_0xfb56('0x157')](_0x54c832=>[_0x54c832,this[_0xfb56('0x98')]['getSuggestionCallback'](_0x54c832[_0xfb56('0xf1')],_0x54c832['subType'],_0xfb56('0x64'))])),_0xff5fc1=new Map(_0x2fb01d['map'](_0x1ec252=>[_0x1ec252,_0x1ec252[_0xfb56('0x7f')]()]));for(let _0x36384b=0x0;_0x36384b<_0x566961[_0xfb56('0xa8')];_0x36384b++){if(_0x33c879(this,_0x566961[_0x36384b],_0x566961,_0x36384b+0x1))return!0x0;}for(let _0x1ead3b=0x0;_0x1ead3b<_0x566961[_0xfb56('0xa8')];_0x1ead3b++){if(_0x33c879(this,_0x566961[_0x1ead3b],_0x142ce0,0x0))return!0x0;}return!0x1;function _0x33c879(_0x1d6e62,_0x2f8edc,_0x3ae82e,_0x3a5308){for(let _0x22e1e1=_0x3a5308;_0x22e1e1<_0x3ae82e['length'];_0x22e1e1++){const _0x55c17a=_0x3ae82e[_0x22e1e1];if(_0x55c17a['type']!==_0x2f8edc[_0xfb56('0xf1')]||_0x55c17a[_0xfb56('0x16')]['id']!==_0x2f8edc['author']['id']||_0x55c17a[_0xfb56('0x33')]!==_0x2f8edc[_0xfb56('0x33')])continue;if(!Vt(_0x2f8edc,_0x55c17a))continue;if(_0xfb56('0x3a')==_0x2f8edc['type']&&_0x2f8edc['data'][_0xfb56('0x162')]!=_0x55c17a[_0xfb56('0x15')]['oldValue'])continue;if(_0xfb56('0x3a')==_0x2f8edc[_0xfb56('0xf1')]&&_0x1d6e62[_0xfb56('0x38')](_0x2f8edc[_0xfb56('0x15')][_0xfb56('0xed')]))continue;const _0x2e7e12=_0x3bf625['get'](_0x2f8edc),_0x353703=_0xff5fc1[_0xfb56('0x166')](_0x2f8edc),_0x316fbb=_0xff5fc1['get'](_0x55c17a),_0x2e9b28=_0x2f8edc[_0xfb56('0xc5')]&&_0x2f8edc[_0xfb56('0xc5')][_0xfb56('0xa8')],_0x1ba929=_0x55c17a['commentThread']&&_0x55c17a['commentThread'][_0xfb56('0xa8')];if(!_0x2e9b28&&_0x2e7e12(_0x316fbb,_0x353703))return _0x1d6e62['_joinSuggestions'](_0x55c17a,_0x2f8edc),_0xff5fc1[_0xfb56('0x13b')](_0x2f8edc),!0x0;if(!_0x1ba929&&_0x2e7e12(_0x353703,_0x316fbb))return _0x1d6e62[_0xfb56('0x60')](_0x2f8edc,_0x55c17a),_0xff5fc1[_0xfb56('0x13b')](_0x55c17a),!0x0;}return!0x1;}}[_0xfb56('0x60')](_0x44921e,_0xbd6484){if(_0x44921e[_0xfb56('0x104')])for(const _0x13cafb of _0xbd6484[_0xfb56('0x7f')]())_0x44921e[_0xfb56('0x13e')](_0x13cafb);else{const _0x32a8da=_0xbd6484[_0xfb56('0x110')]()[_0xfb56('0x2a')];this['_setSuggestionRange'](_0x44921e,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x44921e['getFirstRange']()[_0xfb56('0x16c')],_0x32a8da));}_0xbd6484[_0xfb56('0x151')]();}[_0xfb56('0x13')](_0x4c5e9d,_0x2b557f){const _0x214fd6=_0x4c5e9d['startsWith'](_0xfb56('0xe5'))||_0x4c5e9d['startsWith'](_0xfb56('0x3a'))?_0xfb56('0x6e'):_0x4c5e9d[_0xfb56('0x1b')]();return _0x199e6d(this[_0xfb56('0x11a')]['locale'],_0x2b557f+'_'+_0x214fd6+_0xfb56('0x24'));}['_initAriaMarkerChangeAnnouncements'](){const _0x114f2b=this['editor'];_0x3254cf(this[_0xfb56('0x14f')],({left:_0x37cd13,entered:_0x147410})=>{const _0x1f14a1=[];for(const _0x5adbbe of _0x37cd13){const {group:_0x3ebe03,type:_0x27b1d8}=this[_0xfb56('0x11')](_0x5adbbe[_0xfb56('0x5')]);if(_0xfb56('0xe6')===_0x3ebe03){_0x1f14a1[_0xfb56('0x139')](this[_0xfb56('0x13')](_0x27b1d8,_0xfb56('0x109')));break;}}for(const _0x2bc544 of _0x147410){const {group:_0x3484d8,type:_0x31c65c}=this[_0xfb56('0x11')](_0x2bc544['name']);if(_0xfb56('0xe6')===_0x3484d8){_0x1f14a1['push'](this[_0xfb56('0x13')](_0x31c65c,'ENTER'));break;}}_0x1f14a1[_0xfb56('0xa8')]&&_0x114f2b['ui'][_0xfb56('0x11c')][_0xfb56('0x112')](_0xfb56('0x137'),_0x1f14a1[_0xfb56('0x64')]('\x20'));});}['_processAttributeChanges'](_0x3278d9){if(null!==this[_0xfb56('0x84')])return!0x1;const _0x1b2820=this[_0xfb56('0x11a')],_0x42cb59=_0x1b2820['model'][_0xfb56('0xf2')][_0xfb56('0x117')][_0xfb56('0x35')]();if(0x0==_0x42cb59[_0xfb56('0xa8')])return!0x1;const _0x8047ad=[],_0x555420=_0x42cb59[_0xfb56('0x7d')](_0x554607=>_0xfb56('0x3a')==_0x554607[_0xfb56('0xf1')]),_0x3b884c=_0x42cb59[_0xfb56('0x7d')](_0x12517e=>_0xfb56('0xd4')==_0x12517e['type']&&_0xfb56('0x100')!=_0x12517e[_0xfb56('0x5')]),_0x3fa1f9=_0x42cb59[_0xfb56('0x7d')](_0x203fd0=>_0xfb56('0xfa')==_0x203fd0[_0xfb56('0xf1')]&&_0xfb56('0x100')!=_0x203fd0[_0xfb56('0x5')]);for(const _0xef1ac of _0x555420)_0x8047ad[_0xfb56('0x139')]({'key':_0xef1ac[_0xfb56('0xd3')],'newValue':_0xef1ac[_0xfb56('0x22')],'oldValue':_0xef1ac['attributeOldValue'],'range':_0x37349a(_0xef1ac[_0xfb56('0x1a')])});for(const _0x556639 of _0x3b884c){const _0x26b5ff=_0x3fa1f9[_0xfb56('0x45')](_0x29ede8=>_0x29ede8[_0xfb56('0x11f')][_0xfb56('0x41')](_0x556639['position']));_0x26b5ff&&_0x8047ad['push']({'key':_0xfb56('0xa3'),'newValue':_0x556639[_0xfb56('0x5')],'oldValue':_0x26b5ff[_0xfb56('0x5')],'range':_0x1b2820[_0xfb56('0x144')][_0xfb56('0xea')](_0x556639[_0xfb56('0x11f')][_0xfb56('0x107')])});}return 0x0!=_0x8047ad[_0xfb56('0xa8')]&&this['_reduceExistingSuggestions'](_0x3278d9,_0x8047ad);function _0x37349a(_0x3ed6cb){return null==_0x3ed6cb[_0xfb56('0x2a')][_0xfb56('0x89')]&&_0x3ed6cb[_0xfb56('0x2a')][_0xfb56('0xfd')]==_0x3ed6cb[_0xfb56('0x16c')][_0xfb56('0x107')]?Ut(_0x3ed6cb[_0xfb56('0x16c')][_0xfb56('0x107')],_0x1b2820['model']):_0x3ed6cb;}}[_0xfb56('0x54')](_0x3f8903){let _0x22c236=!0x1;const _0x24f791=this[_0xfb56('0x11a')]['model']['document'][_0xfb56('0x117')][_0xfb56('0x68')]()['filter'](_0x59e716=>_0x59e716[_0xfb56('0x15')][_0xfb56('0x142')]&&_0x59e716[_0xfb56('0x5')][_0xfb56('0x155')](_0xfb56('0xb2')));for(const _0xea50db of _0x24f791){const {subType:_0x489119,id:_0x5e3f09}=this[_0xfb56('0x11')](_0xea50db['name']),_0x5546cf=_0x489119[_0xfb56('0x7b')]('|')[0x0];for(const _0x3ca512 of this[_0xfb56('0x150')]({'skipNotAttached':!0x0}))_0x3ca512['id']!=_0x5e3f09&&_0xfb56('0x3a')==_0x3ca512[_0xfb56('0xf1')]&&_0x3ca512['data']&&_0x3ca512['data']['key']==_0x5546cf&&_0x3ca512['getFirstRange']()[_0xfb56('0x4c')](_0xea50db[_0xfb56('0x15')][_0xfb56('0x142')])&&(this[_0xfb56('0x8c')](_0x3ca512,_0xea50db[_0xfb56('0x15')][_0xfb56('0x142')],_0x3f8903),_0x22c236=!0x0);}return _0x22c236;}[_0xfb56('0x12c')](_0x165994){if(null!==this[_0xfb56('0x84')])return void _0x165994();const _0x37b59d=this[_0xfb56('0x11a')];this['_recordAttributeSuggestionsFromVersion']=_0x37b59d[_0xfb56('0x144')]['document']['version'],_0x165994();const _0x19fc96=new Map();for(const _0x5a2f86 of _0x37b59d['model'][_0xfb56('0xf2')][_0xfb56('0xf7')]['getOperations'](this[_0xfb56('0x84')]))if([_0xfb56('0x74'),'addAttribute','removeAttribute',_0xfb56('0xf6')]['includes'](_0x5a2f86[_0xfb56('0xf1')])){const _0x4ef593=_0x5a2f86[_0xfb56('0x159')],_0x42a57e=_0x19fc96[_0xfb56('0x166')](_0x4ef593)||[];_0x42a57e['push'](_0x5a2f86),_0x19fc96[_0xfb56('0x31')](_0x4ef593,_0x42a57e);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x5b1303,_0x1d09e1]of _0x19fc96){const _0x3b694e=_0x1afc95();_0x37b59d[_0xfb56('0x144')]['enqueueChange'](_0x5b1303,_0x485abc=>{const _0x17479e=[];for(const _0x33e3bb of _0x1d09e1){let _0x1e053a,_0x1fa9af,_0x293f04,_0x480e56;if(_0xfb56('0x74')==_0x33e3bb[_0xfb56('0xf1')]){const _0x3be3f9=_0x33e3bb;_0x1e053a=Ut(_0x3be3f9[_0xfb56('0x11f')][_0xfb56('0x107')],_0x37b59d[_0xfb56('0x144')]),_0x1fa9af=_0xfb56('0xa3'),_0x293f04=_0x3be3f9[_0xfb56('0x123')],_0x480e56=_0x3be3f9['oldName'];}else{const _0xaba607=_0x33e3bb,_0x5570ff=this[_0xfb56('0x38')](_0xaba607['key']),_0x89ee72=this['_inlineAttributeKeys']['has'](_0xaba607[_0xfb56('0xed')]);if(!_0x5570ff&&!_0x89ee72)continue;_0x1e053a=_0x5570ff?Ut(_0xaba607['range']['start']['nodeAfter'],_0x37b59d[_0xfb56('0x144')]):_0xaba607[_0xfb56('0x1a')],_0x1fa9af=_0xaba607['key'],_0x293f04=_0xfb56('0x12b')==_0x33e3bb['type']?void 0x0:_0xaba607[_0xfb56('0x9e')],_0x480e56=_0xaba607[_0xfb56('0x162')];}this[_0xfb56('0x61')](_0x1e053a,_0x1fa9af,_0x480e56,_0x293f04,{'groupId':_0x3b694e}),_0x17479e[_0xfb56('0x139')]({'range':_0x1e053a,'key':_0x1fa9af,'newValue':_0x293f04,'oldValue':_0x480e56});}this['_reduceExistingSuggestions'](_0x485abc,_0x17479e);});}}['_reduceExistingSuggestions'](_0x37ccb5,_0x368eb7){if(0x0==_0x368eb7[_0xfb56('0xa8')])return!0x1;let _0x294322=!0x1;for(const _0x20f6e7 of _0x368eb7){const _0x18efa4=this[_0xfb56('0x37')](_0x20f6e7[_0xfb56('0x1a')],_0xfb56('0x3a'))['filter'](_0x12ac61=>!_0x12ac61[_0xfb56('0xb4')][_0xfb56('0xbd')])['map'](_0x1e0f26=>_0x1e0f26[_0xfb56('0xe6')]),_0x33fc66=_0x49482b({'newValue':_0x20f6e7[_0xfb56('0x9e')]});_0x18efa4['filter'](_0x48faee=>{const [_0xe16898,_0x448f14]=_0x48faee['subType'][_0xfb56('0x7b')]('|');return _0xe16898==_0x20f6e7[_0xfb56('0xed')]&&_0x448f14!=_0x33fc66;})[_0xfb56('0x44')](_0x2e80cf=>{this[_0xfb56('0x8c')](_0x2e80cf,_0x20f6e7[_0xfb56('0x1a')],_0x37ccb5),_0x294322=!0x0;});}return _0x294322;}[_0xfb56('0x8c')](_0x5d951d,_0xe10f1e,_0x13282c){const _0x531662=_0x5d951d[_0xfb56('0x110')]()['getDifference'](_0xe10f1e);0x0!==_0x531662[_0xfb56('0xa8')]?0x1!==_0x531662[_0xfb56('0xa8')]?this[_0xfb56('0x3e')](_0x5d951d,_0xe10f1e['start'],_0xe10f1e[_0xfb56('0x2a')]):this[_0xfb56('0x88')](_0x5d951d,_0x531662[0x0]):_0x13282c[_0xfb56('0xbb')](_0x5d951d['getFirstMarker']());}}class Bt{constructor(_0x53096e){this[_0xfb56('0x36')]=_0x53096e,this[_0xfb56('0x14f')]=_0x53096e[_0xfb56('0x144')],this[_0xfb56('0x12e')]=new Map(),this[_0xfb56('0xbf')]=new Map(),this[_0xfb56('0xa7')]();}[_0xfb56('0x1d')](_0x3665e6,_0x13ca17,_0x1bd58e,_0x317881,_0x229342,_0x130ed7){return new _0x4d3acb(this[_0xfb56('0x14f')],{'type':_0x3665e6,'subType':_0x13ca17,'id':_0x1bd58e,'author':_0x317881,'creator':_0x317881,'attributes':_0x229342,'onAttributesChange':_0x130ed7,'onAccept':(..._0x5526b5)=>this[_0xfb56('0x94')](_0x3665e6,_0x13ca17,_0xfb56('0x23'))(..._0x5526b5),'onDiscard':(..._0x280705)=>this['getSuggestionCallback'](_0x3665e6,_0x13ca17,_0xfb56('0x2d'))(..._0x280705)});}[_0xfb56('0x16b')](_0x3b0c3d,_0x542dc9,_0x317920,_0x248ba4){const _0x221c9f=_0x3b0c3d+':'+_0x542dc9+':'+_0x317920;this['_customCallbacks'][_0xfb56('0x31')](_0x221c9f,_0x248ba4);}['getSuggestionCallback'](_0x2b9351,_0x5dea65,_0x135bd5){const _0x1be56a=_0x2b9351+':'+_0x5dea65+':'+_0x135bd5;return this['_customCallbacks']['get'](_0x1be56a)||this[_0xfb56('0xbf')]['get'](_0x2b9351+':'+_0x135bd5);}['_registerDefaultCallbacks'](){const _0xfb4e2c=()=>!0x1,_0x2fc3a6=_0x5c7549=>{_0x5c7549[_0xfb56('0x69')]((_0x418fe1,_0x2e49bd)=>_0x418fe1[_0xfb56('0x16c')]['isBefore'](_0x2e49bd['start'])?0x1:-0x1),this['_model'][_0xfb56('0xc7')](_0x559288=>{for(const _0x13ef87 of _0x5c7549){let _0x247b88;_0x247b88=_0x13ef87[_0xfb56('0x2a')]['isAtEnd']&&_0x13ef87[_0xfb56('0x2a')][_0xfb56('0xfd')]==_0x13ef87[_0xfb56('0x16c')][_0xfb56('0x107')]?_0x559288[_0xfb56('0x10c')](_0x13ef87[_0xfb56('0x16c')][_0xfb56('0x107')],'on'):_0x559288[_0xfb56('0x10c')](_0x13ef87),this[_0xfb56('0x14f')][_0xfb56('0x5c')](_0x247b88,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x41102b=(_0x4710be,_0x44996f)=>{_0x44996f&&this['_model'][_0xfb56('0xc7')](_0x4fca87=>{const {commandName:_0x2398e1,commandParams:_0x5d7ebb=[]}=_0x44996f,_0x213ded=_0x4710be[_0xfb56('0x157')](_0x4e69a6=>(xt(_0x4e69a6)&&(_0x4e69a6=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x4e69a6[_0xfb56('0x2a')])),_0x4e69a6))[_0xfb56('0x7d')](_0x1ecf62=>'$graveyard'!==_0x1ecf62[_0xfb56('0x4')][_0xfb56('0xab')]);if(_0x213ded[_0xfb56('0xa8')]<0x1)return;const _0x3bd0bb=Array[_0xfb56('0x55')](this['_model'][_0xfb56('0xf2')][_0xfb56('0x63')][_0xfb56('0x7f')]())[_0xfb56('0x157')](_0x48c887=>_0x49faa4[_0xfb56('0xff')](_0x48c887));_0x4fca87[_0xfb56('0xba')](_0x213ded);for(const _0x21a737 of this[_0xfb56('0x36')][_0xfb56('0x172')][_0xfb56('0x172')]())_0x21a737['refresh']();_0x5d7ebb[_0xfb56('0x139')]({'forceDefaultExecution':!0x0}),this[_0xfb56('0x36')][_0xfb56('0xfc')](_0x2398e1,..._0x5d7ebb);const _0x312707=_0x3bd0bb[_0xfb56('0x7d')](_0x4bb155=>_0xfb56('0x134')!=_0x4bb155['root']['rootName']);_0x312707[_0xfb56('0xa8')]>0x0&&_0x4fca87[_0xfb56('0xba')](_0x312707);for(const _0x30d65f of _0x3bd0bb)_0x30d65f[_0xfb56('0x3f')]();});},_0x5d34b5=(_0x212948,_0x3a3140)=>0x1==_0x212948['length']&&0x1==_0x3a3140[_0xfb56('0xa8')]&&_0x212948[0x0][_0xfb56('0x2a')][_0xfb56('0x41')](_0x3a3140[0x0][_0xfb56('0x16c')]),_0x4aa1d7=(_0x2b4575,_0x2ec27c,_0x158f8e,_0x38325a)=>Ot(_0x2b4575,_0x2ec27c,_0x158f8e,_0x38325a,this['_model'])?[_0x2b4575,_0x2ec27c]:Ot(_0x2ec27c,_0x2b4575,_0x38325a,_0x158f8e,this[_0xfb56('0x14f')])?[_0x2ec27c,_0x2b4575]:null;this[_0xfb56('0xbf')][_0xfb56('0x31')]('insertion:accept',_0xfb4e2c),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0x6'),_0x2fc3a6),this['_defaultCallbacks']['set'](_0xfb56('0x67'),_0x5d34b5),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xc3'),_0x4aa1d7),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xc8'),_0x2fc3a6),this['_defaultCallbacks'][_0xfb56('0x31')](_0xfb56('0x2f'),_0xfb4e2c),this[_0xfb56('0xbf')]['set'](_0xfb56('0xb'),_0x5d34b5),this[_0xfb56('0xbf')][_0xfb56('0x31')]('deletion:chain',_0x4aa1d7),this[_0xfb56('0xbf')]['set'](_0xfb56('0xd9'),_0x41102b),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0x6a'),_0xfb4e2c),this[_0xfb56('0xbf')]['set']('formatInline:join',_0x5d34b5),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xcb'),_0xfb4e2c),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xa0'),_0x41102b),this[_0xfb56('0xbf')]['set'](_0xfb56('0xdb'),_0xfb4e2c),this[_0xfb56('0xbf')]['set'](_0xfb56('0x18'),_0x5d34b5),this['_defaultCallbacks'][_0xfb56('0x31')](_0xfb56('0x1e'),_0xfb4e2c),this[_0xfb56('0xbf')][_0xfb56('0x31')]('attribute:accept',_0xfb4e2c),this[_0xfb56('0xbf')]['set'](_0xfb56('0x43'),(_0x3d9644,_0x5db5a1)=>{if(!_0x5db5a1)return;const _0x28dbda=this[_0xfb56('0x36')][_0xfb56('0x46')][_0xfb56('0x166')](p);this['_model'][_0xfb56('0xc7')](_0x3fb32a=>{if('$elementName'==_0x5db5a1['key'])for(const _0xde3e90 of _0x3d9644){const _0x348892=_0xde3e90['start']['nodeAfter'],_0x29ffc2=_0x5db5a1['oldValue'];_0x3fb32a[_0xfb56('0x74')](_0x348892,_0x29ffc2);}else{if(_0x28dbda[_0xfb56('0x38')](_0x5db5a1[_0xfb56('0xed')]))for(const _0x271b3a of _0x3d9644)void 0x0!==_0x5db5a1[_0xfb56('0x162')]?_0x3fb32a[_0xfb56('0x62')](_0x5db5a1[_0xfb56('0xed')],_0x5db5a1[_0xfb56('0x162')],_0x271b3a['start'][_0xfb56('0x107')]):_0x3fb32a['removeAttribute'](_0x5db5a1[_0xfb56('0xed')],_0x271b3a[_0xfb56('0x16c')]['nodeAfter']);else for(const _0x1091bd of _0x3d9644)_0x5db5a1[_0xfb56('0x162')]?_0x3fb32a['setAttribute'](_0x5db5a1['key'],_0x5db5a1[_0xfb56('0x162')],_0x1091bd):_0x3fb32a[_0xfb56('0x12b')](_0x5db5a1[_0xfb56('0xed')],_0x1091bd);}});}),this['_defaultCallbacks'][_0xfb56('0x31')](_0xfb56('0x83'),_0x5d34b5);}}function Tt(_0x1fb6ee,_0x428587,_0x194972){for(const _0x319c2d of _0x428587[_0xfb56('0xfd')][_0xfb56('0x93')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x319c2d[_0xfb56('0x4')]==_0x319c2d)return!0x1;if(!_0x194972['containsItem'](_0x319c2d))return!0x1;if(_0x1fb6ee[_0xfb56('0xaf')](_0x319c2d)||_0x1fb6ee['isLimit'](_0x319c2d))return!0x0;}return!0x1;}function xt(_0x44f324){return _0x44f324[_0xfb56('0x2a')][_0xfb56('0xfd')]==_0x44f324[_0xfb56('0x16c')][_0xfb56('0x107')]&&_0x44f324[_0xfb56('0x2a')]['isAtStart'];}function Et(_0x55f880,_0x1158f4,_0x26ec41,_0x89a4da){const _0x312ce2=_0x358ce2=>!_0x358ce2[_0xfb56('0xde')]['is']('$textProxy')&&!_0x89a4da[_0xfb56('0xaf')](_0x358ce2[_0xfb56('0xde')]),_0x2cd1ca=_0x55f880[_0xfb56('0x16c')][_0xfb56('0x4e')](_0x312ce2),_0x3c2495=_0x55f880[_0xfb56('0x2a')][_0xfb56('0x4e')](_0x312ce2,{'direction':'backward'});return(!_0x55f880[_0xfb56('0x16c')][_0xfb56('0x41')](_0x2cd1ca)||!_0x55f880[_0xfb56('0x2a')][_0xfb56('0x41')](_0x3c2495))&&(_0x2cd1ca[_0xfb56('0xcf')](_0x3c2495)?_0x26ec41['updateMarker'](_0x1158f4,{'range':_0x26ec41['createRange'](_0x2cd1ca,_0x3c2495)}):_0x26ec41[_0xfb56('0xbb')](_0x1158f4),!0x0);}function Rt(_0xd235bd){return _0x49482b(_0xd235bd);}function jt(_0x57bbee){const _0x447e8a=_0x57bbee['start'][_0xfb56('0x107')];return _0x447e8a&&_0x447e8a['is'](_0xfb56('0x86'));}function Ut(_0xc1bbce,_0x23c534){const _0xbc343=_0x23c534[_0xfb56('0x3b')][_0xfb56('0xaf')](_0xc1bbce)||_0x23c534['schema'][_0xfb56('0x165')](_0xc1bbce);return _0x23c534[_0xfb56('0x10b')](_0x23c534[_0xfb56('0xad')](_0xc1bbce,_0xfb56('0x158')),_0xbc343?_0x23c534[_0xfb56('0x8')](_0xc1bbce):_0x23c534['createPositionAt'](_0xc1bbce,_0xfb56('0x2a')));}function Ot(_0x25a120,_0x3f4c6f,_0xa94e26,_0x17b56d,_0x479890){if(!Vt(_0x25a120,_0x3f4c6f))return!0x1;if(_0xa94e26[_0xfb56('0x2a')][_0xfb56('0x41')](_0x17b56d[_0xfb56('0x16c')]))return!0x0;if(_0x25a120[_0xfb56('0xf1')]!=_0x3f4c6f[_0xfb56('0xf1')])return!0x1;if(!_0xa94e26['end'][_0xfb56('0x51')](_0x17b56d['start']))return!0x1;const _0x110b39=_0x479890[_0xfb56('0x10b')](_0xa94e26[_0xfb56('0x2a')],_0x17b56d['start'])['getWalker']();for(const _0x1d6558 of _0x110b39)if(['elementStart','elementEnd'][_0xfb56('0xf')](_0x1d6558[_0xfb56('0xf1')])&&_0x479890[_0xfb56('0x3b')]['isLimit'](_0x1d6558[_0xfb56('0xde')]))return!0x1;return!0x0;}function Vt(_0x308e,_0x4614b6){return!(!_0x308e[_0xfb56('0xe0')]||!_0x4614b6[_0xfb56('0xe0')])&&_0x21464f(_0x308e['attributes'],_0x4614b6[_0xfb56('0xa9')]);}function Ft(_0x305cd0,_0x242899){const _0xc5247c=Gt(_0x305cd0[_0xfb56('0xa9')]),_0x18207e=Gt(_0x242899);if(!_0x305cd0[_0xfb56('0xe0')])return!0x1;for(const _0x41d74e of Object[_0xfb56('0x26')](_0x18207e))if(!_0x21464f(_0xc5247c[_0x41d74e],_0x18207e[_0x41d74e]))return!0x1;return!0x0;}function Gt(_0x3aab53){const _0x505a92=Object[_0xfb56('0xe8')]({},_0x3aab53);return delete _0x505a92[_0xfb56('0x8e')],delete _0x505a92[_0xfb56('0x4a')],_0x505a92;}
23
+ const _0x9702=['size','_enabledCommands','createPositionAfter','createElement','getChangedMarkers','refresh','forward','plugins','splitPosition','_isForcedDefaultExecutionBlock','suggestionChanged','subType','track-changes-adapter-missing-getsuggestion','formatBlock:discard','tablePasteChainId','toUpperCase','ready','getLastMatchingPosition','newRange','next','_refreshAttributeSuggestionsChain','@external','addMarker:suggestion:attribute','isCollapsed','isInsideObject','_recordAttributeChanges','_getAttributeKeyFromSubType','selection','_suggestions','formatInline:chain','formatInline:','isIntersecting','normal','isAtEnd','_getSuggestionData','unbind','_descriptionFactory','documentSelection','_setSuggestionData','markDeletion','batch','execute','marker-count','conversion','activeMarkers','markerReady','key','every','createSelection','_defaultCallbacks','removeAttribute','find','getSuggestionCallback','error-saving-suggestion-data-suggestion-discarded','data','type','howMany','showSuggestionHighlights','addMarker','includes','addMarker:suggestion:formatBlock','filter','get','applyOperation','listenTo','commentThread','insertion:','_reduceExistingSuggestions','markers','deletion:accept','_rangeIsInLocalUserInsertion','oldValue','group','trackChanges.mergeNestedSuggestions','editingDowncast','startsWith','markerName','formatInline','removeMarkers','substr','reconvertMarker','containerElement','editing','addUser','containsRangeInObject','commands','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','_createSuggestion','_isBlockAttribute','clear','_setSuggestionRange','markInsertion','attributes','PENDING_ACTION_SUGGESTION','changeAttribute','keys','start','rethrowUnexpectedError','move','oldName','editor','_isDataLoaded','formatBlock:chain','markAttributeChange','always','_registerInlineAttribute','_processAttributeSuggestions','formatBlock:accept','isLimit','skipNestingCheck','getChanges','createPositionBefore','formatBlock:','createRange','toViewElement','lowest','_trackFormatChanges','_getAuthorFromId','acceptSuggestion','external:','collaboration.channelId','end','parent','suggestion:','addMarkerName','getAttribute','deletion:discard','isAfter','stop','differ','elementToElement','getIntersection','discardSelectedSuggestions','ck-suggestion-marker-formatBlock','hasComments','getAllAdjacentSuggestions','forEach','CommentsRepository','attributeNewValue','_customCallbacks','newValue','_checkSuggestionCorrectness','split','announce','item','creator','getRanges','head','bindElementToMarker','root','high','ck-suggestion-marker','schema','define','remove','_removeSuggestion','_refreshSuggestionsChain','rename','nodeAfter','document','discardSuggestion','fetchCommentThread','ck-suggestion-marker-formatInline','consumable','_commentsRepository','isAtStart','version','change:_saved','TrackChangesEditing','_joinSuggestions','addSuggestion','getSuggestion','_initAriaMarkerChangeAnnouncements','after','consume','addRange','PendingActions','createRangeIn','getCustomProperty','_getMarkerAnnouncementText','resolve','$textProxy','isNextTo','insert','insertion','getMultiRangeId','change','insertion:discard','_cutOutSuggestionMarker','element','fire','deletion:','delete','suggestion','_editor','ck-suggestion-marker--active','notReady','position','concat','insertion:accept','_registerBlockAttribute','upcast','sort','set','_mergeNestedSuggestions','track-changes-user-not-found','updateSuggestion','removed','dataDowncast','moveTargetPosition','ariaLiveAnnouncer','return','track-changes-suggestion-data-mismatch','isBlock','ck-suggestion-marker-','options','discard','rejected','name','Users','_adapter','markerNameToElements','track-changes-enable-command-twice','LEAVE','markerToHighlight','formatBlock','setSelection','hasCommentThread','_addSuggestionMarker','track-changes-command-not-found','warn','groupId','createdAt','multi','commandName','isExternal','change:activeMarkers','formatBlock:join','isObject','getCommentThread','track-changes-adapter-already-set','$elementName','open','length','isOwn','ENTER','enableReadOnlyMode','markInlineFormat','addSuggestionData','_inlineAttributeKeys','chain','history','registerPostFixer','some','getNearestSelectionRange','addComment','$graveyard','formatInline:accept','writer','removeClass','model','addHighlight','containsPosition','forceDefaultExecution','containsItem','attributeKey','getAncestors','suggestion-type','multipleBlocks','acceptSelectedSuggestions','_breakSuggestionMarker','createPositionAt','accept','data-suggestion','_registerDefaultCallbacks','attribute','adapter','suggestionLoaded','registerCustomCallback','trackChangesCommand','isLocal','dataToMarker','dataReady','_saved','isIntersectingWithRange','newName','getShiftedBy','formatInline:join','init','_reduceSuggestionAttributeRange','trackChanges.trackFormatChanges','unbindElementFromMarkerName','detach','removeMarker','attribute:','catch','originalSuggestionId','_recordAttributeSuggestionsFromVersion','mapper','has','authoredAt','deletion:join','attribute:join','getMarkers','unshift','markBlockFormat','_model','suggestionUnloaded','insertion:chain','trackChanges','getDifference','for','join','map','then','value','getFirstMarker','markMultiRangeDeletion','_suggestionFactory','getSuggestions','_addThreadToSuggestion','_updateSuggestionData','attributeOldValue','locale','track-changes-suggestion-not-found','change:data','enableCommand','highest','buildSuggestion','clone','getWalker','setAttribute','_blockAttributeKeys','isTouching','suggestion:attribute:','_splitMarkerName','getFirstRange','setTo','nodeBefore','push','rootName','attribute:discard','getItems','never','deleteContent','isInContent','author','discardAllSuggestions','toJSON','add','getRange','isBefore','comments','formatGroupId','deletion','from','updateMarker','pluginName','_findSuggestions','pop','_enableDefaultAttributesIntegration','removeComment','addClass','targetPosition','previous','values','oldRange','range','_processAttributeChanges','isMultiRange','splice','attribute:accept','isRemovable','addMarker:suggestion','_joinWithAdjacentSuggestions','_onDiscard','_suggestionState','isEqual','containsRange','assign','$text','_handleNewSuggestionMarker','config'];(function(_0x4eaa80,_0x9702d0){const _0x7278e7=function(_0x11efbe){while(--_0x11efbe){_0x4eaa80['push'](_0x4eaa80['shift']());}};_0x7278e7(++_0x9702d0);}(_0x9702,0x1ae));const _0x7278=function(_0x4eaa80,_0x9702d0){_0x4eaa80=_0x4eaa80-0x0;let _0x7278e7=_0x9702[_0x4eaa80];return _0x7278e7;};import{Plugin as _0x582583,PendingActions as _0x31083d}from'ckeditor5/src/core';import{LiveRange as _0x202a89}from'ckeditor5/src/engine';import{CKEditorError as _0x49ee6f,uid as _0x49ad9a,priorities as _0x224356,logWarning as _0x573438}from'ckeditor5/src/utils';import{toWidget as _0x312e3}from'ckeditor5/src/widget';import{Users as _0x17d49e,hashObject as _0x152f6b,surroundingMarkersDetector as _0x530b19}from'ckeditor5-collaboration/src/collaboration-core';import _0x22120a from'./commands/trackchangescommand';import _0x2ef23d from'./commands/acceptsuggestioncommand';import _0x3cfd42 from'./commands/discardsuggestioncommand';import _0x16a021 from'./commands/executeonallsuggestionscommand';import _0x163343 from'./commands/executeonselectedsuggestionscommand';import _0x3d0421 from'./suggestion';import _0x343a8d from'./suggestiondescriptionfactory';import _0x242337 from'./integrations/aiassistant';import _0x4e829d from'./integrations/alignment';import _0x1c0a23 from'./integrations/basicstyles';import _0x5582c2 from'./integrations/blockquote';import _0x577241 from'./integrations/ckbox';import _0x153b10 from'./integrations/codeblock';import _0xbb76ea from'./integrations/comments';import _0x551093 from'./integrations/deletecommand';import _0x476295 from'./integrations/documentlist';import _0x2e9d2f from'./integrations/documentlistproperties';import _0x1e3d1b from'./integrations/entercommand';import _0x1af009 from'./integrations/findandreplace';import _0x5cbb98 from'./integrations/font';import _0x2b7d3e from'./integrations/formatpainter';import _0x42dddf from'./integrations/heading';import _0x33c67a from'./integrations/highlight';import _0x56fb75 from'./integrations/horizontalline';import _0x2851de from'./integrations/htmlembed';import _0x23bbd from'./integrations/image';import _0x54f260 from'./integrations/imagereplace';import _0x59c686 from'./integrations/imagestyle';import _0xbf6093 from'./integrations/importword';import _0x408c7b from'./integrations/indent';import _0x4513ea from'./integrations/inputcommand';import _0x5d6cf5 from'./integrations/link';import _0xef0d5e from'./integrations/list';import _0x21a215 from'./integrations/listproperties';import _0x1b75ab from'./integrations/mediaembed';import _0x439c01 from'./integrations/mention';import _0x295cb7 from'./integrations/pagebreak';import _0x54dc49 from'./integrations/paragraph';import _0x47b485 from'./integrations/removeformat';import _0x226829 from'./integrations/restrictededitingmode';import _0x14162b from'./integrations/shiftentercommand';import _0x4ee997 from'./integrations/standardeditingmode';import _0x33f60f from'./integrations/style';import _0x34e601 from'./integrations/table';import _0x50effb from'./integrations/tablemergesplit';import _0x3f95b4 from'./integrations/tableheadings';import _0x4b89a5 from'./integrations/tableclipboard';import _0x29d616 from'./integrations/tablecolumnresize';import _0x16a54c from'./integrations/template';import _0x516de8 from'./integrations/tableofcontents';import _0x138dec from'./integrations/title';import _0x1b2058 from'./integrations/undo';import _0x46fc51 from'./integrations/tablecaption';import _0x3995c6 from'./integrations/tableproperties';import{getTranslation as _0x58df5f}from'./utils/common-translations';import{isEqual as _0x684354,omit as _0x477ed0}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x582583{static get['requires'](){return['CommentsRepository',_0x17d49e,_0x31083d,_0x242337,_0x4e829d,_0x1c0a23,_0x5582c2,_0x577241,_0x153b10,_0xbb76ea,_0x551093,_0x476295,_0x2e9d2f,_0x1e3d1b,_0x1af009,_0x5cbb98,_0x2b7d3e,_0x42dddf,_0x33c67a,_0x56fb75,_0x2851de,_0x23bbd,_0x59c686,_0x54f260,_0xbf6093,_0x408c7b,_0x4513ea,_0x5d6cf5,_0xef0d5e,_0x21a215,_0x1b75ab,_0x439c01,_0x295cb7,_0x54dc49,_0x47b485,_0x226829,_0x14162b,_0x4ee997,_0x33f60f,_0x34e601,_0x50effb,_0x3f95b4,_0x46fc51,_0x4b89a5,_0x29d616,_0x516de8,_0x3995c6,_0x16a54c,_0x138dec,_0x1b2058];}static get[_0x7278('0x136')](){return _0x7278('0x79');}constructor(_0x22e1da){function _0x25d5c2(_0x2f262a){return _0x2f262a[_0x7278('0x10a')](_0x158466=>String['fromCharCode'](_0x158466))[_0x7278('0x109')]('');}super(_0x22e1da),this[_0x7278('0xfa')]=null,this['set'](_0x7278('0x17c'),[]),this['on'](_0x7278('0xbd'),(_0x415bac,_0x203777,_0x3df3d9,_0x3fd226)=>{this[_0x7278('0x103')][_0x7278('0x8b')](()=>{for(const _0x5f0665 of[..._0x3fd226,..._0x3df3d9])this[_0x7278('0x103')][_0x7278('0x15')]['has'](_0x5f0665)&&_0x22e1da[_0x7278('0x23')][_0x7278('0x21')](_0x5f0665);});}),this[_0x7278('0x174')]=new _0x343a8d(this[_0x7278('0x35')][_0x7278('0xd5')][_0x7278('0x69')],this['editor'][_0x7278('0x114')]),this['_adapter']=null,this['_suggestionFactory']=new Bt(this[_0x7278('0x35')]),this[_0x7278('0x16c')]=new Map(),this[_0x7278('0x75')]=_0x22e1da[_0x7278('0x157')][_0x7278('0xf')](_0x7278('0x5a')),this[_0x7278('0x151')]=new Set(),this['_model']=this[_0x7278('0x35')][_0x7278('0xd5')],this[_0x7278('0x149')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x7278('0x11d')]=new Set([_0x7278('0xc2')]),this[_0x7278('0xca')]=new Set(),_0x22e1da[_0x7278('0x14f')][_0x7278('0x6a')](_0x7278('0xf3'),'default'),this['_trackFormatChanges']=_0x22e1da[_0x7278('0x14f')]['get'](_0x7278('0xf3')),_0x22e1da[_0x7278('0x14f')][_0x7278('0x6a')](_0x7278('0x1a'),!0x0),this[_0x7278('0x9d')]=_0x22e1da[_0x7278('0x14f')][_0x7278('0xf')](_0x7278('0x1a')),this[_0x7278('0xe8')]=new _0x22120a(_0x22e1da,this[_0x7278('0x151')]),this[_0x7278('0x7d')](),this[_0x25d5c2([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x25d5c2([0x34,0x30,0x34,0x36,0x32,0x32,0x34,0x30]);}[_0x7278('0xf1')](){const _0x2334e9=this[_0x7278('0x35')],_0x20babe=(_0x2d65c6,_0x55e359)=>{if(_0x7278('0xe4')!=_0x2d65c6)return _0x7278('0xa7')+_0x2d65c6;const _0x1c06f=_0x55e359[_0x7278('0x5f')]('|')[0x0];return this[_0x7278('0x29')](_0x1c06f)?'ck-suggestion-marker-formatBlock':_0x7278('0x73');};_0x2334e9[_0x7278('0x17b')][_0x7278('0x108')](_0x7278('0x1b'))[_0x7278('0xb1')]({'model':_0x7278('0x92'),'view':_0x5e5c5a=>{const {id:_0x26c741,type:_0x3cedf6,subType:_0xcd8481}=this[_0x7278('0x120')](_0x5e5c5a[_0x7278('0x1d')]),_0x47389a=[_0x7278('0x68'),_0x20babe(_0x3cedf6,_0xcd8481)];let _0x3adbde=0xbb8;return this[_0x7278('0x17c')][_0x7278('0xc')](_0x5e5c5a[_0x7278('0x1d')])&&(_0x47389a['push'](_0x7278('0x94')),_0x3adbde=0xbc2),_0x7278('0x133')==_0x3cedf6&&(_0x3adbde+=0x5),{'classes':_0x47389a,'attributes':{'data-suggestion':_0x26c741},'priority':_0x3adbde};}}),_0x2334e9[_0x7278('0x17b')]['for'](_0x7278('0xa1'))[_0x7278('0x12e')](_0x1e08e6=>{_0x1e08e6['on'](_0x7278('0x146'),(_0x304574,_0x576eee,_0xec84f1)=>{if(!_0xec84f1[_0x7278('0xa8')]['showSuggestionHighlights'])return;const _0x3738a8=_0x576eee[_0x7278('0x61')];if(!_0x3738a8)return;const _0x2c831c=_0xec84f1[_0x7278('0xfb')][_0x7278('0x43')](_0x3738a8);_0x2334e9['model'][_0x7278('0x69')]['isObject'](_0x3738a8)&&_0x2c831c&&!_0x2c831c[_0x7278('0x83')]('widget')&&_0x2c831c['is'](_0x7278('0x22'))&&_0x312e3(_0x2c831c,_0xec84f1[_0x7278('0xd3')]);},{'priority':_0x7278('0x67')});}),_0x2334e9[_0x7278('0x17b')]['for'](_0x7278('0xa1'))[_0x7278('0xb1')]({'model':_0x7278('0x92'),'view':(_0x18104d,_0x4d83ce)=>{if(!_0x4d83ce[_0x7278('0xa8')][_0x7278('0xa')])return null;const {type:_0x6a1810,subType:_0x4b9651}=this['_splitMarkerName'](_0x18104d[_0x7278('0x1d')]);return{'classes':['ck-suggestion-marker',_0x20babe(_0x6a1810,_0x4b9651)],'priority':0xbb8};}});const _0x21e59c=({showActiveMarkers:_0x2b3669=!0x0,isAttributeSuggestion:_0x46b6a5=!0x1}={})=>(_0x3b12cf,_0x327bfc,_0x3cc2df)=>{if(!_0x327bfc['item'])return;const {id:_0xd406d7}=this[_0x7278('0x120')](_0x327bfc['markerName']);if(_0x46b6a5){const _0x562221=this['_suggestions'][_0x7278('0xf')](_0xd406d7),_0x4d5ee2=this['_getAttributeKeyFromSubType'](_0x562221);if(!this[_0x7278('0x29')](_0x4d5ee2))return;}if(_0x327bfc['item']['is'](_0x7278('0x16b')))return void _0x3cc2df['consumable'][_0x7278('0x7f')](_0x327bfc[_0x7278('0x61')],_0x3b12cf[_0x7278('0xab')]);const _0x165144=_0x3cc2df[_0x7278('0xfb')]['toViewElement'](_0x327bfc[_0x7278('0x61')]);if(_0x327bfc[_0x7278('0x61')]['is'](_0x7278('0x8e'))&&_0x2334e9[_0x7278('0xd5')]['schema'][_0x7278('0xa6')](_0x327bfc['item'])&&!_0x165144[_0x7278('0x83')](_0x7278('0xd6'))){_0x3cc2df[_0x7278('0xd3')][_0x7278('0x13b')]([_0x7278('0x68'),_0x7278('0x56')],_0x165144),_0x3cc2df[_0x7278('0xd3')][_0x7278('0x11c')](_0x7278('0xe2'),_0xd406d7,_0x165144),_0x3cc2df[_0x7278('0xfb')][_0x7278('0x65')](_0x165144,_0x327bfc['markerName']),_0x2b3669&&(this[_0x7278('0x17c')]['includes'](_0x327bfc[_0x7278('0x1d')])?_0x3cc2df[_0x7278('0xd3')][_0x7278('0x13b')](_0x7278('0x94'),_0x165144):_0x3cc2df[_0x7278('0xd3')][_0x7278('0xd4')](_0x7278('0x94'),_0x165144));for(const _0x19499a of _0x2334e9[_0x7278('0xd5')][_0x7278('0x82')](_0x327bfc[_0x7278('0x61')])[_0x7278('0x127')]())_0x3cc2df[_0x7278('0x74')]['consume'](_0x19499a,_0x3b12cf['name']);_0x3cc2df[_0x7278('0x74')][_0x7278('0x7f')](_0x327bfc[_0x7278('0x61')],_0x3b12cf[_0x7278('0xab')]);}};_0x2334e9[_0x7278('0x17b')]['for'](_0x7278('0xa1'))[_0x7278('0x12e')](_0x15b473=>{_0x15b473['on'](_0x7278('0xd'),(_0x2609c7,_0x57d835,_0x11e0c9)=>{_0x11e0c9['options'][_0x7278('0xa')]&&_0x21e59c({'showActiveMarkers':!0x1})(_0x2609c7,_0x57d835,_0x11e0c9);},{'priority':_0x7278('0x118')});}),_0x2334e9[_0x7278('0x17b')][_0x7278('0x108')]('dataDowncast')[_0x7278('0x12e')](_0x11999f=>{_0x11999f['on'](_0x7278('0x166'),(_0x645429,_0x37a2d0,_0x294bec)=>{_0x294bec[_0x7278('0xa8')][_0x7278('0xa')]&&_0x21e59c({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x645429,_0x37a2d0,_0x294bec);},{'priority':_0x7278('0x118')});}),_0x2334e9[_0x7278('0x17b')]['for'](_0x7278('0xa1'))['markerToData']({'model':_0x7278('0x92'),'view':(_0x5d5997,_0x52e9b7)=>_0x52e9b7[_0x7278('0xa8')][_0x7278('0xa')]?null:{'group':_0x7278('0x92'),'name':_0x5d5997[_0x7278('0x20')](0xb)}}),_0x2334e9[_0x7278('0x17b')][_0x7278('0x108')]('upcast')[_0x7278('0x53')]({'view':{'name':_0x7278('0x92'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x1ea6c2,{writer:_0x558318})=>{let _0x3c84ee='suggestion:'+_0x1ea6c2['getAttribute'](_0x7278('0xdc'))+':'+_0x1ea6c2['getAttribute']('id');return _0x1ea6c2[_0x7278('0x4e')]('marker-count')&&(_0x3c84ee+=':'+_0x1ea6c2[_0x7278('0x4e')](_0x7278('0x17a'))),_0x558318[_0x7278('0x153')]('$marker',{'data-name':_0x3c84ee});}}),_0x2334e9[_0x7278('0x17b')][_0x7278('0x108')](_0x7278('0x9a'))[_0x7278('0xea')]({'view':_0x7278('0x92')}),_0x2334e9[_0x7278('0x17b')]['for'](_0x7278('0x1b'))[_0x7278('0x12e')](_0x596dc1=>{_0x596dc1['on']('addMarker:suggestion:formatBlock',_0x21e59c(),{'priority':_0x7278('0x67')});}),_0x2334e9['conversion']['for'](_0x7278('0x1b'))[_0x7278('0x12e')](_0x40c476=>{_0x40c476['on'](_0x7278('0x166'),_0x21e59c({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x2334e9[_0x7278('0x17b')][_0x7278('0x108')](_0x7278('0x1b'))[_0x7278('0x12e')](_0x290ec6=>{_0x290ec6['on']('removeMarker:suggestion:formatBlock',(_0x2761fb,_0x41da70,_0x1d508e)=>{const _0xd1ae63=_0x1d508e[_0x7278('0xfb')][_0x7278('0xae')](_0x41da70[_0x7278('0x1d')]);if(_0xd1ae63)for(const _0x37139e of _0xd1ae63)_0x37139e['getCustomProperty']('addHighlight')||(_0x1d508e['writer'][_0x7278('0xd4')]([_0x7278('0x68'),_0x7278('0x56'),'ck-suggestion-marker--active'],_0x37139e),_0x1d508e[_0x7278('0xd3')][_0x7278('0x3')]('data-suggestion',_0x37139e),_0x1d508e[_0x7278('0xfb')][_0x7278('0xf4')](_0x37139e,_0x41da70[_0x7278('0x1d')]));},{'priority':'high'});}),_0x2334e9[_0x7278('0x17b')][_0x7278('0x108')](_0x7278('0x1b'))[_0x7278('0x12e')](_0x5f2ee3=>{_0x5f2ee3['on']('removeMarker:suggestion:attribute',(_0x4099ec,_0x3c1cd3,_0x22c501)=>{const _0x16d2c3=_0x22c501['mapper'][_0x7278('0xae')](_0x3c1cd3['markerName']);if(!_0x16d2c3)return;const {id:_0x26e3a9}=this[_0x7278('0x120')](_0x3c1cd3[_0x7278('0x1d')]),_0x219589=this[_0x7278('0x16c')][_0x7278('0xf')](_0x26e3a9),_0x57a78f=this[_0x7278('0x16a')](_0x219589);if(this['_isBlockAttribute'](_0x57a78f))for(const _0x5cb7f3 of _0x16d2c3)_0x5cb7f3[_0x7278('0x83')](_0x7278('0xd6'))||(_0x22c501['writer'][_0x7278('0xd4')]([_0x7278('0x68'),_0x7278('0x56'),'ck-suggestion-marker--active'],_0x5cb7f3),_0x22c501[_0x7278('0xd3')][_0x7278('0x3')](_0x7278('0xe2'),_0x5cb7f3),_0x22c501[_0x7278('0xfb')][_0x7278('0xf4')](_0x5cb7f3,_0x3c1cd3[_0x7278('0x1d')]));},{'priority':_0x7278('0x67')});}),_0x2334e9['model'][_0x7278('0x70')]['registerPostFixer'](_0x573c33=>{let _0x176643=!0x1;const _0x30556c=Array['from'](_0x2334e9[_0x7278('0xd5')]['document'][_0x7278('0x52')][_0x7278('0x154')]()),_0x395fb4=new Set();for(const {name:_0x54f3d0,data:_0x166c4e}of _0x30556c){const {group:_0x2b1195,type:_0xa193d2,subType:_0x26383b,id:_0x40e44a}=this[_0x7278('0x120')](_0x54f3d0);if(_0x7278('0x92')!==_0x2b1195)continue;const _0x552e64=this[_0x7278('0x16c')][_0x7278('0xf')](_0x40e44a);if(null!=_0x166c4e[_0x7278('0x162')]){_0x7278('0x1e')==_0xa193d2&&(_0x176643=_0x176643||Et(_0x166c4e['newRange'],_0x54f3d0,_0x573c33,_0x2334e9['model'][_0x7278('0x69')]));const _0x38cb22=_0x7278('0xe4')==_0xa193d2&&this[_0x7278('0x29')](_0x26383b['split']('|')[0x0]);if(_0x166c4e[_0x7278('0x162')][_0x7278('0x167')]||_0x7278('0xd1')==_0x166c4e[_0x7278('0x162')][_0x7278('0x66')][_0x7278('0x125')]||_0x7278('0xb2')==_0xa193d2&&!jt(_0x166c4e[_0x7278('0x162')])||_0x38cb22&&!jt(_0x166c4e[_0x7278('0x162')])||_0x7278('0x133')==_0xa193d2&&!(!xt(_0x4bdc46=_0x166c4e[_0x7278('0x162')])&&!function(_0x406872){return _0x406872[_0x7278('0x31')]['parent']==_0x406872[_0x7278('0x4a')][_0x7278('0x123')]&&_0x406872[_0x7278('0x31')][_0x7278('0x171')];}(_0x4bdc46)))_0x573c33[_0x7278('0xf6')](_0x54f3d0),_0x176643=!0x0;else{if(!_0x552e64||!_0x552e64[_0x7278('0x12a')])continue;_0x395fb4['add'](_0x552e64);}}}var _0x4bdc46;return _0x395fb4[_0x7278('0x150')]>0x0&&(_0x176643=!!this[_0x7278('0x147')](_0x395fb4)||_0x176643),_0x176643;}),_0x2334e9['model'][_0x7278('0x70')][_0x7278('0xcd')](_0x59206e=>{let _0xfb3652=!0x1;for(const _0x3a2c3e of _0x2334e9[_0x7278('0xd5')][_0x7278('0x70')][_0x7278('0x52')][_0x7278('0x3f')]())if(_0x7278('0x88')==_0x3a2c3e[_0x7278('0x8')])for(const _0x698f43 of this['_suggestions']['values']()){if(_0x698f43[_0x7278('0x142')]||!_0x698f43['isInContent'])continue;const _0x381411=_0x7278('0xb2')==_0x698f43[_0x7278('0x8')],_0x46a56b=this[_0x7278('0x16a')](_0x698f43),_0x1fa3eb=_0x46a56b&&this[_0x7278('0x29')](_0x46a56b);if(!_0x381411&&!_0x1fa3eb)continue;const _0x1814ca=_0x698f43[_0x7278('0x121')]();if(_0x1814ca['start'][_0x7278('0x4b')]!=_0x1814ca['end'][_0x7278('0x4b')]&&!_0x1814ca[_0x7278('0x4a')]['isAtEnd']){const _0x37a97e=_0x2334e9[_0x7278('0xd5')][_0x7278('0xe0')](_0x1814ca[_0x7278('0x31')][_0x7278('0x6f')],_0x7278('0x4a')),_0x33327a=_0x2334e9[_0x7278('0xd5')][_0x7278('0x42')](_0x1814ca[_0x7278('0x31')],_0x37a97e);_0x59206e[_0x7278('0x135')](_0x698f43[_0x7278('0x10d')](),{'range':_0x33327a}),_0xfb3652=!0x0;}}return _0xfb3652;}),_0x2334e9['model'][_0x7278('0x70')]['registerPostFixer'](_0x3f25f9=>this[_0x7278('0x141')](_0x3f25f9)),_0x2334e9[_0x7278('0xd5')][_0x7278('0x70')]['registerPostFixer'](_0x3e1b78=>!_0x3e1b78['batch'][_0x7278('0xe9')]&&this[_0x7278('0x3b')](_0x3e1b78)),_0x2334e9[_0x7278('0xd5')]['markers']['on']('update:suggestion',(_0x54e698,_0x597f37,_0x557541)=>{if(null==_0x557541){const {id:_0x69df42}=this[_0x7278('0x120')](_0x597f37[_0x7278('0xab')]),_0x13a5bc=this['_suggestions']['get'](_0x69df42);_0x13a5bc&&_0x13a5bc[_0x7278('0x4d')](_0x597f37[_0x7278('0xab')]);}}),_0x2334e9[_0x7278('0xd5')][_0x7278('0x70')]['on'](_0x7278('0x116'),()=>{const _0x55c9bb=Array[_0x7278('0x134')](_0x2334e9[_0x7278('0xd5')]['document'][_0x7278('0x52')][_0x7278('0x154')]())['filter'](_0x56c7e4=>'suggestion'===this[_0x7278('0x120')](_0x56c7e4[_0x7278('0xab')])[_0x7278('0x19')]);if(0x0===_0x55c9bb[_0x7278('0xc4')])return;_0x55c9bb['sort']((_0x549d1b,_0x42f4b0)=>{const _0x451ad0=_0x549d1b[_0x7278('0x7')]['oldRange'],_0x28d112=_0x42f4b0[_0x7278('0x7')][_0x7278('0x13f')];return null===_0x451ad0&&null===_0x28d112?0x0:null===_0x451ad0&&null!==_0x28d112?-0x1:null!==_0x451ad0&&null===_0x28d112?0x1:_0x451ad0[_0x7278('0x31')][_0x7278('0x130')](_0x28d112[_0x7278('0x31')])?-0x1:0x1;});const _0x45a3f8=new Set(),_0x2b6a50=new Set();for(const {name:_0x5a3a6e,data:_0xd1b6a4}of _0x55c9bb){const {id:_0x2ce70b}=this[_0x7278('0x120')](_0x5a3a6e);if(null===_0xd1b6a4[_0x7278('0x13f')]){const _0x3aeab8=this[_0x7278('0x14e')](_0x5a3a6e);_0x2b6a50[_0x7278('0x12e')](_0x3aeab8);}else{const _0x12fb00=this[_0x7278('0x16c')][_0x7278('0xf')](_0x2ce70b);null!==_0xd1b6a4[_0x7278('0x162')]||_0x12fb00['isInContent']?(_0x45a3f8[_0x7278('0x12e')](_0x12fb00[_0x7278('0x64')]),_0x2b6a50['add'](_0x12fb00)):this['_removeSuggestion'](_0x12fb00);}}_0x2b6a50['size']>0x0&&this['_refreshSuggestionsChain'](_0x2b6a50);for(const _0xb31c49 of _0x45a3f8)this[_0x7278('0x8f')](_0x7278('0x15a'),_0xb31c49);}),_0x2334e9[_0x7278('0xd5')]['on'](_0x7278('0x10'),(_0x1eea86,_0x4ace63)=>{const _0x3926d0=_0x4ace63[0x0];if(!this[_0x7278('0x16c')][_0x7278('0x150')])return;if(!_0x3926d0['isDocumentOperation'])return;if(_0x3926d0[_0x7278('0x178')]['isUndo']||!_0x3926d0[_0x7278('0x178')][_0x7278('0xe9')])return;let _0xd4664e,_0x265208;switch(_0x3926d0[_0x7278('0x8')]){case _0x7278('0x88'):_0xd4664e=_0x2334e9[_0x7278('0xd5')][_0x7278('0xe0')](_0x3926d0[_0x7278('0x96')]),_0x265208=_0xd4664e[_0x7278('0xef')](_0x3926d0['howMany']);break;case'split':_0xd4664e=_0x2334e9[_0x7278('0xd5')]['createPositionAt'](_0x3926d0[_0x7278('0x158')]),_0x265208=_0x2334e9[_0x7278('0xd5')][_0x7278('0xe0')](_0x3926d0[_0x7278('0xa2')]);break;case _0x7278('0x33'):_0xd4664e=_0x2334e9[_0x7278('0xd5')][_0x7278('0xe0')](_0x3926d0[_0x7278('0x13c')]),_0x265208=_0xd4664e['getShiftedBy'](_0x3926d0[_0x7278('0x9')]);break;default:return;}const _0x58de0a=_0x2334e9['model']['createRange'](_0xd4664e,_0x265208);_0x2334e9[_0x7278('0xd5')]['change'](()=>{for(const {suggestion:_0xd459f6,meta:_0x370524}of this['_findSuggestions'](_0x58de0a)){if(_0xd459f6[_0x7278('0x142')])continue;if(_0x7278('0x1e')==_0xd459f6[_0x7278('0x8')])continue;const _0x356b99=this['_getAttributeKeyFromSubType'](_0xd459f6);if(_0x356b99&&this[_0x7278('0x29')](_0x356b99)&&'split'!=_0x3926d0['type'])continue;const _0x5a4453=_0xd459f6[_0x7278('0x7')]&&_0xd459f6[_0x7278('0x7')][_0x7278('0xdd')];('formatBlock'!=_0xd459f6['type']||_0x7278('0x5f')==_0x3926d0[_0x7278('0x8')]&&!_0x5a4453)&&(_0x370524[_0x7278('0x25')]||'insertion'==_0xd459f6[_0x7278('0x8')]&&_0x370524['isOwn']||_0xd459f6[_0x7278('0x121')]()[_0x7278('0x14b')](_0x58de0a)&&this['_breakSuggestionMarker'](_0xd459f6,_0xd4664e,_0x265208));}});},{'priority':_0x7278('0x44')}),_0x2334e9[_0x7278('0xd5')]['on'](_0x7278('0x129'),(_0x39cdb8,_0xaa5e4b)=>{const _0x400403=_0xaa5e4b[0x0],_0x3159cf=_0xaa5e4b[0x1];if(_0x3159cf&&_0x3159cf[_0x7278('0xd8')])return;if(this[_0x7278('0x159')])return;if(!this[_0x7278('0xe8')][_0x7278('0x10c')])return;if(_0x400403['isCollapsed'])return;const _0x240969=_0x2334e9[_0x7278('0xd5')][_0x7278('0x69')],{start:_0x28a100,end:_0x5bbc02}=_0x400403[_0x7278('0x121')](),_0x358bdd=_0x28a100[_0x7278('0x6f')]&&_0x240969[_0x7278('0x3d')](_0x28a100[_0x7278('0x6f')])?null:_0x240969[_0x7278('0xcf')](_0x28a100,_0x7278('0x156')),_0x5a3d52=_0x5bbc02['nodeBefore']&&_0x240969[_0x7278('0x3d')](_0x5bbc02[_0x7278('0x123')])?null:_0x240969[_0x7278('0xcf')](_0x5bbc02,'backward'),_0x5ebf05=_0x2334e9[_0x7278('0xd5')]['createRange'](_0x358bdd?_0x358bdd[_0x7278('0x31')]:_0x28a100,_0x5a3d52?_0x5a3d52['end']:_0x5bbc02);_0x2334e9[_0x7278('0xd5')]['change'](_0x32f024=>{this['markDeletion'](_0x5ebf05);const _0x120c7f=_0x2334e9[_0x7278('0xd5')]['schema'][_0x7278('0xcf')](_0x5ebf05[_0x7278('0x31')]);_0x400403['is'](_0x7278('0x175'))?_0x32f024[_0x7278('0xb3')](_0x120c7f):_0x400403[_0x7278('0x122')](_0x120c7f);}),_0x39cdb8[_0x7278('0x51')]();},{'priority':_0x224356[_0x7278('0x170')]+0xa}),_0x2334e9[_0x7278('0xd5')]['on']('insertContent',(_0x429c22,_0x1054a1)=>{const _0x12d618=_0x1054a1[_0x1054a1[_0x7278('0xc4')]-0x1];_0x12d618&&_0x12d618[_0x7278('0xd8')]||this[_0x7278('0x159')]||this[_0x7278('0xe8')][_0x7278('0x10c')]&&(_0x2334e9[_0x7278('0xd5')][_0x7278('0x8b')](()=>{let _0x4e650b=_0x2334e9[_0x7278('0xd5')]['insertContent'](_0x1054a1[0x0],_0x1054a1[0x1],_0x1054a1[0x2],{'forceDefaultExecution':!0x0});if(!_0x4e650b)return;_0x429c22[_0x7278('0xa4')]=_0x4e650b[_0x7278('0x11a')]();const _0x1df762=_0x4e650b[_0x7278('0x4a')][_0x7278('0x123')],_0x3978b5=_0x2334e9[_0x7278('0xd5')][_0x7278('0x69')];_0x1df762&&_0x3978b5[_0x7278('0xa6')](_0x1df762)&&!_0x3978b5[_0x7278('0xbf')](_0x1df762)&&(_0x4e650b=_0x2334e9['model']['createRange'](_0x4e650b[_0x7278('0x31')],_0x2334e9['model'][_0x7278('0xe0')](_0x1df762,_0x7278('0x4a')))),this[_0x7278('0x2c')](_0x4e650b);}),_0x429c22[_0x7278('0x51')]());},{'priority':_0x7278('0x67')}),this[_0x7278('0x35')][_0x7278('0x26')][_0x7278('0x12e')](_0x7278('0x106'),this[_0x7278('0xe8')]),this['enableCommand'](_0x7278('0x106'));const _0x471eaf=new _0x2ef23d(_0x2334e9,this[_0x7278('0x16c')]);_0x2334e9[_0x7278('0x26')][_0x7278('0x12e')](_0x7278('0x47'),_0x471eaf),this[_0x7278('0x117')](_0x7278('0x47'));const _0x1c12d8=new _0x3cfd42(_0x2334e9,this[_0x7278('0x16c')]);_0x2334e9[_0x7278('0x26')][_0x7278('0x12e')](_0x7278('0x71'),_0x1c12d8),this[_0x7278('0x117')](_0x7278('0x71')),_0x2334e9['commands']['add']('acceptAllSuggestions',new _0x16a021(_0x2334e9,_0x471eaf,this[_0x7278('0x16c')])),this[_0x7278('0x117')]('acceptAllSuggestions'),_0x2334e9[_0x7278('0x26')][_0x7278('0x12e')](_0x7278('0x12c'),new _0x16a021(_0x2334e9,_0x1c12d8,this[_0x7278('0x16c')])),this[_0x7278('0x117')]('discardAllSuggestions'),_0x2334e9[_0x7278('0x26')][_0x7278('0x12e')]('acceptSelectedSuggestions',new _0x163343(_0x2334e9,_0x471eaf,this[_0x7278('0x16c')])),this[_0x7278('0x117')](_0x7278('0xde')),_0x2334e9[_0x7278('0x26')][_0x7278('0x12e')](_0x7278('0x55'),new _0x163343(_0x2334e9,_0x1c12d8,this[_0x7278('0x16c')])),this[_0x7278('0x117')](_0x7278('0x55'));const _0x56fdb1=_0x2334e9[_0x7278('0x157')][_0x7278('0xf')](_0x7278('0x5a'));this[_0x7278('0x11')](_0x56fdb1,_0x7278('0xd0'),(_0x6ad6ac,{threadId:_0xe66987})=>{const _0x4b00a7=this[_0x7278('0x16c')][_0x7278('0xf')](_0xe66987);_0x4b00a7&&_0x4b00a7[_0x7278('0x12')]&&0x1===_0x4b00a7[_0x7278('0x12')][_0x7278('0xc4')]&&this['_updateSuggestionData'](_0xe66987,{'hasComments':!0x0});},{'priority':'low'}),this[_0x7278('0x11')](_0x56fdb1,_0x7278('0x13a'),(_0x55354b,{threadId:_0x5df40c})=>{const _0xfb8761=this[_0x7278('0x16c')]['get'](_0x5df40c);_0xfb8761&&_0xfb8761[_0x7278('0x12')]&&!_0xfb8761[_0x7278('0x12')][_0x7278('0xc4')]&&this[_0x7278('0x112')](_0x5df40c,{'hasComments':!0x1});},{'priority':'low'});}set[_0x7278('0xe5')](_0x5d20c9){if(this[_0x7278('0xad')])throw new _0x49ee6f(_0x7278('0xc1'),this);this[_0x7278('0xad')]=_0x5d20c9;}get['adapter'](){return this['_adapter'];}[_0x7278('0x110')]({skipNotAttached:_0x36c8cc=!0x1,toJSON:_0x53462a=!0x1}={}){const _0x36aaeb=[];for(const _0x4b6880 of this[_0x7278('0x16c')][_0x7278('0x13e')]())_0x36c8cc&&!_0x4b6880['isInContent']||_0x36aaeb[_0x7278('0x124')](_0x4b6880);return _0x53462a?_0x36aaeb[_0x7278('0x10a')](_0x583d68=>_0x583d68[_0x7278('0x12d')]()):_0x36aaeb;}[_0x7278('0x7c')](_0x5379ec){const _0xb1a902=this[_0x7278('0x16c')][_0x7278('0xf')](_0x5379ec);if(!_0xb1a902)throw new _0x49ee6f(_0x7278('0x115'),this);return _0xb1a902;}['hasSuggestion'](_0x58f989){return this['_suggestions'][_0x7278('0xfc')](_0x58f989);}[_0x7278('0xc9')](_0x555100){const {authorId:_0x5aa59d,id:_0x35f0e1,attributes:_0x585334}=_0x555100,[_0x165bfb,_0x21ad21]=_0x555100['type']['split'](':'),_0x4726c3=this['_suggestions'][_0x7278('0xf')](_0x35f0e1)||this[_0x7278('0x28')](_0x165bfb,_0x21ad21,_0x35f0e1,_0x5aa59d,_0x585334);if(this[_0x7278('0x111')](_0x4726c3),this['_checkSuggestionCorrectness'](_0x4726c3,_0x165bfb,_0x21ad21||null,_0x5aa59d),_0x4726c3['createdAt']=_0x555100[_0x7278('0xb9')],_0x4726c3[_0x7278('0x36')]=!0x0,_0x585334&&_0x585334[_0x7278('0x165')]){const _0x340f86=_0x585334['@external'],_0xa107ac=this['_getExternalAuthor'](_0x340f86['authorName']);_0x4726c3[_0x7278('0xfd')]=_0x340f86[_0x7278('0xb9')],_0x4726c3['author']=_0xa107ac,_0x4726c3[_0x7278('0xbc')]=!0x0;}else _0x4726c3['authoredAt']=_0x555100[_0x7278('0xb9')];switch(_0x555100[_0x7278('0x7')]&&(_0x4726c3[_0x7278('0x7')]=_0x555100[_0x7278('0x7')]),_0x555100[_0x7278('0x2d')]&&(_0x4726c3[_0x7278('0x2d')]=_0x555100[_0x7278('0x2d')]),this[_0x7278('0xad')]&&this[_0x7278('0xad')][_0x7278('0x7b')]||(_0x4726c3[_0x7278('0xec')]=!0x0),this[_0x7278('0x149')][_0x7278('0xf')](_0x4726c3)){case _0x7278('0x95'):this['_suggestionState'][_0x7278('0x9c')](_0x4726c3,_0x7278('0xeb'));break;case'markerReady':_0x4726c3[_0x7278('0x12a')]?(this[_0x7278('0x6d')](new Set([_0x4726c3])),this[_0x7278('0x147')](new Set([_0x4726c3])),this[_0x7278('0x149')][_0x7278('0x9c')](_0x4726c3,_0x7278('0x160')),this['fire'](_0x7278('0xe6'),_0x4726c3)):this[_0x7278('0x149')][_0x7278('0x9c')](_0x4726c3,_0x7278('0xa0'));}return _0x4726c3;}[_0x7278('0x47')](_0x420cfe){this[_0x7278('0xd8')](()=>{this['editor']['model'][_0x7278('0x8b')](()=>{for(const _0x1f616e of _0x420cfe[_0x7278('0x58')]())_0x1f616e[_0x7278('0xe1')]();});});}[_0x7278('0x71')](_0x229b5d){this[_0x7278('0xd8')](()=>{this['editor'][_0x7278('0xd5')]['change'](()=>{for(const _0x12e287 of _0x229b5d[_0x7278('0x58')]())_0x12e287['discard']();});});}[_0x7278('0x117')](_0x84460e,_0x4f8707){const _0x500687=this['editor'][_0x7278('0x26')][_0x7278('0xf')](_0x84460e);if(!_0x500687)throw new _0x49ee6f(_0x7278('0xb6'),this,{'commandName':_0x84460e});if(this['_enabledCommands']['has'](_0x500687))throw new _0x49ee6f(_0x7278('0xaf'),this,{'commandName':_0x84460e});this[_0x7278('0x151')][_0x7278('0x12e')](_0x500687),_0x4f8707&&_0x500687['on'](_0x7278('0x179'),(_0x2f5a24,_0x75a81e)=>{this[_0x7278('0xe8')][_0x7278('0x10c')]&&(this[_0x7278('0x159')]||(_0x75a81e['length']>0x0&&_0x75a81e[_0x75a81e[_0x7278('0xc4')]-0x1]&&_0x75a81e[_0x75a81e[_0x7278('0xc4')]-0x1]['forceDefaultExecution']?_0x75a81e[_0x7278('0x138')]():(_0x2f5a24[_0x7278('0xa4')]=_0x4f8707((..._0x4a7785)=>_0x500687[_0x7278('0x179')](..._0x4a7785,{'forceDefaultExecution':!0x0}),..._0x75a81e),_0x2f5a24[_0x7278('0x51')]())));},{'priority':'high'});}[_0x7278('0xd8')](_0x399544){let _0x1c041e,_0x5a27cb;const _0x44d7c7=this['_isForcedDefaultExecutionBlock'];this[_0x7278('0x159')]=!0x0;try{_0x1c041e=_0x399544();}catch(_0x1062a4){_0x5a27cb=_0x1062a4;}return _0x44d7c7||(this[_0x7278('0x159')]=!0x1),_0x5a27cb&&_0x49ee6f[_0x7278('0x32')](_0x5a27cb,this),_0x1c041e;}[_0x7278('0x2c')](_0x27334d,_0x12edad=null,_0x384c8d={}){if(_0x27334d[_0x7278('0x167')])return null;const _0x52f2e0=this[_0x7278('0x35')][_0x7278('0x157')][_0x7278('0xf')]('Users')['me'];for(const {suggestion:_0x57810d,meta:_0x5d8601}of this[_0x7278('0x137')](_0x27334d,_0x7278('0x89')))if(_0x5d8601[_0x7278('0xc5')]){if(!_0x5d8601['isNextTo']){if(_0x5d8601[_0x7278('0x25')]){if(!this[_0x7278('0x9d')]||!Ft(_0x57810d,_0x384c8d))continue;return _0x57810d;}if(Ft(_0x57810d,_0x384c8d))return _0x57810d;this[_0x7278('0xdf')](_0x57810d,_0x27334d['start'],_0x27334d[_0x7278('0x4a')]);break;}if(_0x12edad==_0x57810d[_0x7278('0x15b')]&&Ft(_0x57810d,_0x384c8d)){const _0x592f2e=_0x57810d['getFirstRange']();return _0x592f2e['start'][_0x7278('0x14a')](_0x27334d[_0x7278('0x4a')])?this['_setSuggestionRange'](_0x57810d,this['_model'][_0x7278('0x42')](_0x27334d['start'],_0x592f2e['end'])):this[_0x7278('0x2b')](_0x57810d,this['_model'][_0x7278('0x42')](_0x592f2e[_0x7278('0x31')],_0x27334d[_0x7278('0x4a')])),_0x57810d;}}const _0x31c87f=_0x49ad9a(),_0x722dfb=_0x52f2e0['id'],_0x46591b=_0x12edad?_0x7278('0x13')+_0x12edad:_0x7278('0x89'),_0x1de40b=this['_setSuggestionData']({'id':_0x31c87f,'type':_0x46591b,'createdAt':new Date(),'authorId':_0x722dfb,'attributes':_0x384c8d});return this[_0x7278('0xb5')](_0x46591b,_0x31c87f,_0x722dfb,_0x27334d),_0x1de40b;}['markMultiRangeInsertion'](_0x1841e6,_0xc15091=_0x7278('0xba'),_0x4ec584={}){const _0x5d23cf=this[_0x7278('0x35')]['plugins'][_0x7278('0xf')]('Users')['me'],_0x21e285=this[_0x7278('0x10f')]['getSuggestionCallback']('insertion',_0xc15091,_0x7278('0x109'));for(const _0xc8baff of this['getSuggestions']())if(_0xc8baff['author']['id']==_0x5d23cf['id']&&_0x7278('0x89')==_0xc8baff[_0x7278('0x8')]&&_0xc8baff[_0x7278('0x15b')]==_0xc15091&&Ft(_0xc8baff,_0x4ec584)&&(_0x21e285(_0xc8baff['getRanges'](),_0x1841e6)||_0x21e285(_0x1841e6,_0xc8baff[_0x7278('0x63')]()))){for(const _0x33bfa2 of _0x1841e6)_0xc8baff['addRange'](_0x33bfa2);return _0xc8baff;}for(const {suggestion:_0xf2120e,meta:_0x1eaaa9}of this[_0x7278('0x137')](_0x1841e6,'insertion')){if(!_0x1eaaa9['isOwn'])continue;if(!this[_0x7278('0x9d')]&&_0x1eaaa9[_0x7278('0x25')])continue;if(!Ft(_0xf2120e,_0x4ec584))continue;let _0x821035=!0x0;for(const _0x758562 of _0xf2120e[_0x7278('0x63')]())for(const _0x34cc16 of _0x1841e6)if(!_0x758562[_0x7278('0x14b')](_0x34cc16)){_0x821035=!0x1;break;}if(_0x821035)return _0xf2120e;}const _0x1fe64e=_0x49ad9a(),_0x410a7f=_0x5d23cf['id'],_0x129d40=_0x7278('0x13')+_0xc15091,_0x5f3dd1=this['_setSuggestionData']({'id':_0x1fe64e,'type':_0x129d40,'createdAt':new Date(),'authorId':_0x410a7f,'attributes':_0x4ec584});for(const _0x35a43c of _0x1841e6)this[_0x7278('0xb5')](_0x129d40,_0x1fe64e,_0x410a7f,_0x35a43c,_0x3d0421[_0x7278('0x8a')]());return _0x5f3dd1;}[_0x7278('0xc8')](_0x15d062,_0x4f846e,_0x6805fa=null,_0x3efe62={}){if(_0x6805fa=_0x6805fa||Rt(_0x4f846e),_0x15d062[_0x7278('0x167')])return null;if(_0x7278('0x128')===this[_0x7278('0x45')]){const _0x41c00c=this['_suggestionFactory'][_0x7278('0x5')](_0x7278('0x1e'),_0x6805fa,'accept');return this['forceDefaultExecution'](()=>_0x41c00c([_0x15d062],_0x4f846e,_0x3efe62)),null;}const _0x4d7d54=this[_0x7278('0x35')][_0x7278('0x157')][_0x7278('0xf')]('Users')['me'],_0x224d31=[];if('always'!==this[_0x7278('0x45')])for(const {suggestion:_0x5066c3,meta:_0x2ab0ad}of this[_0x7278('0x137')](_0x15d062,'insertion'))_0x2ab0ad['isOwn']&&!_0x2ab0ad['isInsideObject']&&_0x224d31[_0x7278('0x124')](..._0x5066c3[_0x7278('0x63')]());const _0x108e3a=function(_0x42bf63,_0x1c39b6){const _0x2bc8d8=[];for(const _0x434265 of _0x1c39b6){const _0x2e45b3=_0x42bf63[_0x7278('0x54')](_0x434265);_0x2e45b3&&_0x2bc8d8[_0x7278('0x124')](_0x2e45b3);}return _0x2bc8d8;}(_0x15d062,_0x224d31),_0x505f51=function(_0x5ea9d8,_0x3d67ae){const _0x4d2168=[_0x5ea9d8];for(const _0x4b4218 of _0x3d67ae){let _0x44aa24=0x0;for(;_0x44aa24<_0x4d2168[_0x7278('0xc4')];){const _0x3fa8b9=_0x4d2168[_0x44aa24]['getDifference'](_0x4b4218);_0x4d2168['splice'](_0x44aa24,0x1,..._0x3fa8b9),_0x44aa24+=_0x3fa8b9[_0x7278('0xc4')];}}return _0x4d2168;}(_0x15d062,_0x224d31);_0x108e3a['length']&&this[_0x7278('0x103')][_0x7278('0x8b')](()=>{for(const _0x230751 of _0x108e3a){const _0x353d28=this[_0x7278('0x10f')][_0x7278('0x5')](_0x7278('0x1e'),_0x6805fa,'accept');this[_0x7278('0xd8')](()=>_0x353d28([_0x230751],_0x4f846e,_0x3efe62));}});for(const _0xd6223 of _0x505f51){let _0x3e092f=null,_0x5ead53=_0xd6223[_0x7278('0x31')],_0x370db0=_0xd6223['end'];for(const {suggestion:_0x3806c3,meta:_0x6fc0c8}of this['_findSuggestions'](_0xd6223,_0x7278('0x1e'))){if(!_0x6fc0c8[_0x7278('0xc5')])continue;if(_0x3806c3[_0x7278('0x15b')]!=_0x6805fa)continue;if(!Ft(_0x3806c3,_0x3efe62))continue;const _0x531022=_0x3806c3[_0x7278('0x121')]();if(_0x531022[_0x7278('0x14b')](_0xd6223,!0x0))return null;_0x5ead53=_0x5ead53[_0x7278('0x130')](_0x531022[_0x7278('0x31')])?_0x5ead53:_0x531022[_0x7278('0x31')],_0x370db0=_0x370db0[_0x7278('0x50')](_0x531022[_0x7278('0x4a')])?_0x370db0:_0x531022[_0x7278('0x4a')],_0x3e092f?_0x531022[_0x7278('0x31')][_0x7278('0x130')](_0x3e092f['getFirstRange']()['start'])?(_0x3e092f[_0x7278('0x1f')](),_0x3e092f=_0x3806c3):_0x3806c3[_0x7278('0x1f')]():_0x3e092f=_0x3806c3;}const _0x438841=this['_model']['createRange'](_0x5ead53,_0x370db0);if(_0x3e092f)this[_0x7278('0x2b')](_0x3e092f,_0x438841);else{const _0x179f72=_0x49ad9a(),_0x5d1824=_0x4d7d54['id'];this[_0x7278('0x176')]({'id':_0x179f72,'type':_0x7278('0x16e')+_0x6805fa,'data':_0x4f846e,'createdAt':new Date(),'authorId':_0x5d1824,'attributes':_0x3efe62}),this['_addSuggestionMarker']('formatInline:'+_0x6805fa,_0x179f72,_0x5d1824,_0x438841);}}return null;}[_0x7278('0x102')](_0x3fe324,_0x2888f5,_0x2abc0a=[],_0x160df5=null,_0x12f743={}){_0x2888f5[_0x7278('0x132')]||(_0x2888f5['formatGroupId']=_0x2888f5[_0x7278('0xbb')]),_0x2888f5[_0x7278('0xdd')]=_0x3fe324['is'](_0x7278('0x140')),_0x160df5=_0x160df5||Rt(_0x2888f5);const _0x1a1707=_0x2abc0a[_0x7278('0x10a')](_0x1da3c0=>Ut(_0x1da3c0,this[_0x7278('0x103')])),_0x41edec=_0x3fe324['is']('range')?_0x3fe324:Ut(_0x3fe324,this[_0x7278('0x103')]);if(_0x7278('0x128')===this[_0x7278('0x45')]){const _0x21f211=this['_suggestionFactory'][_0x7278('0x5')]('formatBlock',_0x160df5,'accept');return this['forceDefaultExecution'](()=>_0x21f211([_0x41edec],_0x2888f5,_0x12f743)),null;}_0x1a1707[_0x7278('0x124')](_0x41edec);let _0x1373c8=!0x0;for(const _0xc528d6 of _0x1a1707)if(!this[_0x7278('0x17')](_0xc528d6)){_0x1373c8=!0x1;break;}if(_0x1373c8&&_0x7278('0x39')!==this[_0x7278('0x45')]){const _0x14bf53=this[_0x7278('0x10f')][_0x7278('0x5')](_0x7278('0xb2'),_0x160df5,_0x7278('0xe1'));return this['forceDefaultExecution'](()=>_0x14bf53([_0x41edec],_0x2888f5,_0x12f743)),null;}let _0x5af715=null,_0x4b04ef=_0x41edec[_0x7278('0x31')],_0x2c51e4=_0x41edec['end'];for(const {suggestion:_0x46eb01,meta:_0x8ad9ed}of this[_0x7278('0x137')](_0x41edec,'formatBlock')){if(!_0x8ad9ed['isOwn'])continue;if(_0x8ad9ed[_0x7278('0x87')]||_0x8ad9ed[_0x7278('0x25')]||_0x8ad9ed[_0x7278('0x168')])continue;if(_0x46eb01[_0x7278('0x7')][_0x7278('0x132')]!=_0x2888f5['formatGroupId'])continue;if(!Ft(_0x46eb01,_0x12f743))continue;const _0x3ace49=_0x46eb01['getFirstRange']();if(_0x46eb01[_0x7278('0x15b')]==_0x160df5){if(_0x3ace49[_0x7278('0x14b')](_0x41edec,!0x0))return null;_0x4b04ef=_0x4b04ef[_0x7278('0x130')](_0x3ace49[_0x7278('0x31')])?_0x4b04ef:_0x3ace49[_0x7278('0x31')],_0x2c51e4=_0x2c51e4[_0x7278('0x50')](_0x3ace49[_0x7278('0x4a')])?_0x2c51e4:_0x3ace49[_0x7278('0x4a')],_0x5af715?_0x3ace49['start'][_0x7278('0x130')](_0x5af715['getFirstRange']()['start'])?(_0x5af715[_0x7278('0x1f')](),_0x5af715=_0x46eb01):_0x46eb01[_0x7278('0x1f')]():_0x5af715=_0x46eb01;}else{const _0x8463b8=_0x41edec[_0x7278('0x54')](_0x3ace49);this[_0x7278('0x8d')](_0x46eb01,_0x8463b8);}}const _0x2db02c=this['editor']['plugins'][_0x7278('0xf')](_0x7278('0xac'))['me'],_0x3ed9fe=_0x49ad9a(),_0xf32bf0=_0x2db02c['id'];if(_0x5af715)return this['_setSuggestionRange'](_0x5af715,this['_model'][_0x7278('0x42')](_0x4b04ef,_0x2c51e4)),_0x5af715;{const _0x102a1f=this[_0x7278('0x176')]({'id':_0x3ed9fe,'type':_0x7278('0x41')+_0x160df5,'data':_0x2888f5,'createdAt':new Date(),'authorId':_0xf32bf0,'attributes':_0x12f743});return this[_0x7278('0xb5')](_0x7278('0x41')+_0x160df5,_0x3ed9fe,_0xf32bf0,this[_0x7278('0x103')][_0x7278('0x42')](_0x4b04ef,_0x2c51e4)),_0x102a1f;}}['markMultiRangeBlockFormat'](_0x10f944,_0x2d84c1,_0x4441af=[],_0x23e574=null,_0x4aebff={}){_0x2d84c1['formatGroupId']||(_0x2d84c1[_0x7278('0x132')]=_0x2d84c1[_0x7278('0xbb')]);const _0x4b821c=_0x10f944[0x0];_0x2d84c1[_0x7278('0xdd')]=_0x4b821c['is'](_0x7278('0x140')),_0x23e574=_0x23e574||Rt(_0x2d84c1);const _0x2ac01d=_0x4441af['map'](_0x4444dc=>Ut(_0x4444dc,this[_0x7278('0x103')])),_0x280e5e=_0x4b821c['is'](_0x7278('0x140'))?_0x10f944:_0x10f944[_0x7278('0x10a')](_0x96b90c=>Ut(_0x96b90c,this[_0x7278('0x103')]));if(_0x7278('0x128')===this[_0x7278('0x45')]){const _0x8191a1=this[_0x7278('0x10f')][_0x7278('0x5')]('formatBlock',_0x23e574,_0x7278('0xe1'));return this[_0x7278('0xd8')](()=>_0x8191a1(_0x280e5e,_0x2d84c1,_0x4aebff)),null;}_0x2ac01d[_0x7278('0x124')](..._0x280e5e);let _0x1d6bcc=!0x0;for(const _0x1d8a2b of _0x2ac01d)if(!this[_0x7278('0x17')](_0x1d8a2b)){_0x1d6bcc=!0x1;break;}if(_0x1d6bcc&&_0x7278('0x39')!==this[_0x7278('0x45')]){const _0x5a0ddb=this[_0x7278('0x10f')][_0x7278('0x5')](_0x7278('0xb2'),_0x23e574,_0x7278('0xe1'));return this[_0x7278('0xd8')](()=>_0x5a0ddb(_0x280e5e,_0x2d84c1,_0x4aebff)),null;}const _0x4a57a0=this['editor'][_0x7278('0x157')]['get'](_0x7278('0xac'))['me'];for(const _0x57dde7 of this[_0x7278('0x110')]()){if(_0x57dde7[_0x7278('0x12b')]['id']!=_0x4a57a0['id'])continue;if('formatBlock'!=_0x57dde7['type']||_0x57dde7[_0x7278('0x7')][_0x7278('0x132')]!=_0x2d84c1[_0x7278('0x132')])continue;if(!Ft(_0x57dde7,_0x4aebff))continue;const _0x4c3257=_0x57dde7[_0x7278('0x15b')]==_0x23e574;for(let _0xe93588=0x0;_0xe93588<_0x280e5e[_0x7278('0xc4')];_0xe93588++){const _0x1fec59=_0x280e5e[_0xe93588];for(const _0x42f36c of _0x57dde7[_0x7278('0x100')]()){const _0x877bd6=_0x42f36c[_0x7278('0x12f')]();if(_0x1fec59[_0x7278('0x14a')](_0x877bd6)){_0x4c3257?(_0x280e5e[_0x7278('0x143')](_0xe93588,0x1),_0xe93588--):_0x57dde7[_0x7278('0xf6')](_0x42f36c[_0x7278('0xab')]);break;}}}}if(0x0==_0x280e5e['length'])return null;const _0x4ef13d=this[_0x7278('0x10f')][_0x7278('0x5')]('formatBlock',_0x23e574,'join');for(const _0x4fe1d5 of this[_0x7278('0x110')]())if(_0x4fe1d5[_0x7278('0x12b')]['id']==_0x4a57a0['id']&&'formatBlock'==_0x4fe1d5['type']&&_0x4fe1d5[_0x7278('0x7')][_0x7278('0x132')]==_0x2d84c1[_0x7278('0x132')]&&_0x4fe1d5[_0x7278('0x15b')]==_0x23e574&&Ft(_0x4fe1d5,_0x4aebff)&&(_0x4ef13d(_0x4fe1d5['getRanges'](),_0x280e5e)||_0x4ef13d(_0x280e5e,_0x4fe1d5[_0x7278('0x63')]()))){for(const _0x3f4497 of _0x280e5e)_0x4fe1d5[_0x7278('0x80')](_0x3f4497);return _0x4fe1d5;}const _0x413f39=_0x49ad9a(),_0x3a0696=_0x4a57a0['id'],_0x5e20ea='formatBlock:'+_0x23e574,_0x37109b=this[_0x7278('0x176')]({'id':_0x413f39,'type':_0x5e20ea,'data':_0x2d84c1,'createdAt':new Date(),'authorId':_0x3a0696,'attributes':_0x4aebff});for(const _0x10e5f2 of _0x280e5e)this[_0x7278('0xb5')](_0x5e20ea,_0x413f39,_0x3a0696,_0x10e5f2,_0x3d0421[_0x7278('0x8a')]());return _0x37109b;}[_0x7278('0x177')](_0x374222,_0x5c0309=null,_0xedc461={}){if(_0x374222[_0x7278('0x167')])return null;const _0x379e0d=this[_0x7278('0x35')][_0x7278('0x157')][_0x7278('0xf')]('Users')['me'],_0x120d16=new _0x202a89(_0x374222['start'],_0x374222[_0x7278('0x4a')]);for(const {suggestion:_0x2a9147,meta:_0x206f1a}of this[_0x7278('0x137')](_0x120d16,'insertion'))if(_0x206f1a['isOwn']&&!_0x206f1a[_0x7278('0x87')]){if(_0x2a9147[_0x7278('0x142')]){const _0x36ce45=_0x2a9147['getRanges']()[_0x7278('0xe')](_0x46d1a4=>_0x7278('0xd1')!=_0x46d1a4[_0x7278('0x66')][_0x7278('0x125')]);_0x36ce45['every'](_0x5dd4a7=>_0x120d16[_0x7278('0x14b')](_0x5dd4a7,!0x0))&&_0x2a9147[_0x7278('0xa9')]();if(_0x36ce45[_0x7278('0xce')](_0x26a67a=>_0x26a67a[_0x7278('0x14b')](_0x120d16,!0x0))){const _0x472ad2=this[_0x7278('0x10f')][_0x7278('0x5')](_0x7278('0x133'),_0x5c0309,_0x7278('0xe1'));return this[_0x7278('0xd8')](()=>_0x472ad2([_0x120d16],null,_0xedc461)),null;}}else{const _0x42306a=_0x120d16['getIntersection'](_0x2a9147[_0x7278('0x121')]());null!==_0x42306a&&_0x2a9147[_0x7278('0x148')]([_0x42306a],null,_0xedc461);}}if(_0x120d16[_0x7278('0xf5')](),_0x120d16[_0x7278('0x167')]||_0x7278('0xd1')==_0x120d16[_0x7278('0x66')]['rootName'])return null;let _0x18c9b0=null,_0x29b626=_0x120d16[_0x7278('0x31')],_0x2f7edd=_0x120d16[_0x7278('0x4a')];const _0xa450bb=this[_0x7278('0x137')](_0x120d16,_0x7278('0x133'));for(const {suggestion:_0x5e0fa2,meta:_0x419573}of _0xa450bb){const _0x24f34e=this['_model']['createRange'](_0x29b626,_0x2f7edd);if(_0x419573[_0x7278('0xc5')]&&(this['_mergeNestedSuggestions']||!_0x419573[_0x7278('0x25')]&&!_0x419573[_0x7278('0x168')])){if(_0x5e0fa2[_0x7278('0x142')]){if(!Ft(_0x5e0fa2,_0xedc461))continue;let _0x11ab4f=!0x0;for(const _0x4f52dc of _0x5e0fa2[_0x7278('0x63')]()){if(_0x4f52dc[_0x7278('0x14b')](_0x24f34e,!0x0))return _0x5e0fa2;_0x24f34e['containsRange'](_0x4f52dc)||(_0x11ab4f=!0x1);}_0x11ab4f&&_0x5e0fa2['discard']();}else{const _0xf51311=_0x5e0fa2[_0x7278('0x121')]();if(_0xf51311[_0x7278('0x14b')](_0x24f34e,!0x0))return _0x5e0fa2;if(!Ft(_0x5e0fa2,_0xedc461)){_0x24f34e[_0x7278('0x14b')](_0xf51311)?_0x5e0fa2[_0x7278('0x1f')]():_0xf51311[_0x7278('0xd7')](_0x29b626)?_0x29b626=_0xf51311[_0x7278('0x4a')]:_0xf51311['containsPosition'](_0x2f7edd)&&(_0x2f7edd=_0xf51311[_0x7278('0x31')]);continue;}_0x29b626=_0x29b626[_0x7278('0x130')](_0xf51311['start'])?_0x29b626:_0xf51311[_0x7278('0x31')],_0x2f7edd=_0x2f7edd[_0x7278('0x50')](_0xf51311[_0x7278('0x4a')])?_0x2f7edd:_0xf51311[_0x7278('0x4a')],_0xedc461=Object['assign']({},_0x5e0fa2[_0x7278('0x2d')]),_0x18c9b0?_0xf51311['start'][_0x7278('0x130')](_0x18c9b0[_0x7278('0x121')]()['start'])?(_0x18c9b0[_0x7278('0x1f')](),_0x18c9b0=_0x5e0fa2):_0x5e0fa2[_0x7278('0x1f')]():_0x18c9b0=_0x5e0fa2;}}}if(_0x18c9b0)return this[_0x7278('0x2b')](_0x18c9b0,this['_model'][_0x7278('0x42')](_0x29b626,_0x2f7edd)),_0x18c9b0;{const _0x1637e9=_0x49ad9a(),_0x31010f=this[_0x7278('0x103')][_0x7278('0x42')](_0x29b626,_0x2f7edd),_0x3a43ab=_0x379e0d['id'],_0x5d6908=_0x5c0309?_0x7278('0x90')+_0x5c0309:_0x7278('0x133'),_0x2bc307=this[_0x7278('0x176')]({'id':_0x1637e9,'type':_0x5d6908,'createdAt':new Date(),'authorId':_0x3a43ab,'attributes':_0xedc461});return this[_0x7278('0xb5')](_0x5d6908,_0x1637e9,_0x3a43ab,_0x31010f),_0x2bc307;}}[_0x7278('0x10e')](_0x33a086,_0x1c7966='multi',_0x3f8b18={}){const _0x498556=this[_0x7278('0x35')]['plugins'][_0x7278('0xf')]('Users')['me'],_0x172735=_0x33a086[_0x7278('0x10a')](_0x269e8f=>new _0x202a89(_0x269e8f[_0x7278('0x31')],_0x269e8f['end'])),_0x26c55d=new Set();for(const {suggestion:_0x49019e,meta:_0x4ee553}of this[_0x7278('0x137')](_0x172735,'insertion'))_0x4ee553[_0x7278('0xc5')]&&!_0x4ee553['isNextTo']&&_0x26c55d[_0x7278('0x12e')](_0x49019e);for(const _0x139891 of _0x26c55d)if(_0x139891[_0x7278('0x142')]){const _0x40a8e1=_0x139891['getRanges']();(!_0x139891[_0x7278('0x2d')]||!_0x139891['attributes'][_0x7278('0x3e')])&&(_0x40a8e1[_0x7278('0x0')](_0x2ecf1a=>_0x172735[_0x7278('0xce')](_0x3ada58=>_0x3ada58[_0x7278('0x14b')](_0x2ecf1a,!0x0)))&&_0x139891[_0x7278('0xa9')]());if(_0x172735[_0x7278('0x0')](_0xa793b9=>_0x40a8e1['some'](_0x211f29=>_0x211f29[_0x7278('0x14b')](_0xa793b9,!0x0)))){const _0x544737=this[_0x7278('0x10f')][_0x7278('0x5')]('deletion',_0x1c7966,_0x7278('0xe1'));return this[_0x7278('0xd8')](()=>_0x544737(_0x33a086,null,_0x3f8b18)),null;}}else{const _0x28af85=_0x139891['getFirstRange']();_0x172735['some'](_0x519f09=>_0x519f09[_0x7278('0x14b')](_0x28af85,!0x0))&&_0x139891[_0x7278('0xa9')]();if(_0x172735[_0x7278('0x0')](_0x17b4e3=>_0x28af85[_0x7278('0x14b')](_0x17b4e3,!0x0))){const _0x5870b2=this['_suggestionFactory']['getSuggestionCallback'](_0x7278('0x133'),_0x1c7966,'accept');return this[_0x7278('0xd8')](()=>_0x5870b2(_0x172735,null,_0x3f8b18)),null;}}const _0x5b1336=this['_suggestionFactory'][_0x7278('0x5')](_0x7278('0x133'),_0x1c7966,'join');let _0x12ce27=null;for(const _0x178f63 of this['getSuggestions']())if(_0x178f63['author']['id']==_0x498556['id']&&_0x178f63[_0x7278('0x12a')]&&_0x7278('0x133')==_0x178f63[_0x7278('0x8')]&&_0x178f63[_0x7278('0x15b')]==_0x1c7966&&Ft(_0x178f63,_0x3f8b18)&&(_0x5b1336(_0x178f63[_0x7278('0x63')](),_0x172735)||_0x5b1336(_0x172735,_0x178f63[_0x7278('0x63')]()))){if(_0x12ce27){if(_0x178f63[_0x7278('0x12')]&&_0x178f63[_0x7278('0x12')][_0x7278('0xc4')])continue;for(const _0x458eb5 of _0x178f63[_0x7278('0x63')]())_0x12ce27[_0x7278('0xed')](_0x458eb5)||_0x12ce27['addRange'](_0x458eb5);_0x178f63[_0x7278('0x1f')]();}else{_0x12ce27=_0x178f63;for(const _0x3692ff of _0x172735)_0x178f63[_0x7278('0xed')](_0x3692ff)||_0x178f63[_0x7278('0x80')](_0x3692ff);}}if(_0x12ce27)return _0x12ce27;_0x26c55d[_0x7278('0x2a')]();for(const {suggestion:_0xf9ed0,meta:_0x1e96da}of this[_0x7278('0x137')](_0x172735,'deletion'))_0x1e96da['isOwn']&&(this[_0x7278('0x9d')]||!_0x1e96da[_0x7278('0x25')]&&!_0x1e96da[_0x7278('0x168')])&&Ft(_0xf9ed0,_0x3f8b18)&&_0x26c55d[_0x7278('0x12e')](_0xf9ed0);for(const _0x2f62a7 of _0x26c55d){const _0x517328=_0x2f62a7[_0x7278('0x63')]();if(!_0x3f8b18||!_0x3f8b18[_0x7278('0x3e')]){if(_0x172735[_0x7278('0x0')](_0x58b328=>_0x517328[_0x7278('0xce')](_0x2ddbad=>_0x2ddbad[_0x7278('0x14b')](_0x58b328,!0x0))))return _0x2f62a7;}(!_0x2f62a7[_0x7278('0x2d')]||!_0x2f62a7[_0x7278('0x2d')][_0x7278('0x3e')])&&(_0x517328[_0x7278('0x0')](_0x4cf806=>_0x172735[_0x7278('0xce')](_0x5a7cde=>_0x5a7cde[_0x7278('0x14b')](_0x4cf806,!0x0)))&&_0x2f62a7[_0x7278('0xa9')]());}const _0x4d6986=_0x49ad9a(),_0x4c4ab7=_0x498556['id'],_0x176ac2=_0x7278('0x90')+_0x1c7966,_0x5b869c=this[_0x7278('0x176')]({'id':_0x4d6986,'type':_0x176ac2,'createdAt':new Date(),'authorId':_0x4c4ab7,'attributes':_0x3f8b18});for(const _0x395cc1 of _0x172735)_0x395cc1[_0x7278('0xf5')](),_0x395cc1[_0x7278('0x167')]||_0x7278('0xd1')==_0x395cc1[_0x7278('0x66')][_0x7278('0x125')]||this[_0x7278('0xb5')](_0x176ac2,_0x4d6986,_0x4c4ab7,_0x395cc1,_0x3d0421['getMultiRangeId']());return _0x5b869c;}[_0x7278('0x38')](_0x2c994e,_0x8f7a58,_0x55e3e9,_0x2ba8fc,_0x2dc53a){if(_0x2c994e[_0x7278('0x167')])return[];if('never'===this[_0x7278('0x45')])return[];const _0x14ca43=this['editor'][_0x7278('0x157')][_0x7278('0xf')]('Users')['me']['id'],_0x2178e2=Array[_0x7278('0x134')](this[_0x7278('0x16c')]['values']())[_0x7278('0xe')](_0xb54cb=>_0x7278('0xe4')==_0xb54cb[_0x7278('0x8')]&&_0xb54cb[_0x7278('0x7')][_0x7278('0x17e')]==_0x8f7a58&&_0xb54cb['isIntersectingWithRange'](_0x2c994e));if('default'===this[_0x7278('0x45')]){const _0x1a14a9=this[_0x7278('0x137')](_0x2c994e,_0x7278('0x89'))['filter'](({meta:_0x2a02b8})=>_0x2a02b8[_0x7278('0xc5')]&&!_0x2a02b8[_0x7278('0x168')]&&!_0x2a02b8[_0x7278('0x87')])[_0x7278('0x10a')](({suggestion:_0x334413})=>_0x334413);_0x2178e2[_0x7278('0x101')](..._0x1a14a9);}const _0x33c34e=new Map([[_0x2c994e,_0x55e3e9]]);for(const _0x2efa60 of _0x2178e2){const _0x3a13b1=_0x7278('0xe4')==_0x2efa60[_0x7278('0x8')]?_0x2efa60[_0x7278('0x7')][_0x7278('0x18')]:void 0x0,_0x5b3224=_0x2efa60['getFirstRange'](),_0x37b075=Array['from'](_0x33c34e[_0x7278('0x30')]())[_0x7278('0x4')](_0x13bb8e=>_0x13bb8e['isIntersecting'](_0x5b3224));_0x37b075&&(_0x33c34e[_0x7278('0x91')](_0x37b075),_0x37b075['getDifference'](_0x5b3224)[_0x7278('0x59')](_0x1f8aba=>{_0x33c34e[_0x7278('0x9c')](_0x1f8aba,_0x55e3e9);}),_0x7278('0x89')!=_0x2efa60[_0x7278('0x8')]&&_0x3a13b1!=_0x2ba8fc&&_0x33c34e['set'](_0x37b075['getIntersection'](_0x5b3224),_0x3a13b1));}const _0x52fc73=[];for(const [_0x574d7a,_0x308db5]of _0x33c34e){const _0x4f2525=_0x49ad9a(),_0x5309a6={'key':_0x8f7a58,'oldValue':_0x308db5,'newValue':_0x2ba8fc};_0x8f7a58[_0x7278('0xc4')]>0x25&&console[_0x7278('0xb7')](_0x7278('0x27'),{'key':_0x8f7a58});const _0x48bacd=(_0x7278('0xf7')+(_0x8f7a58+'|'+Rt({'newValue':_0x2ba8fc})))['substring'](0x0,0x3c),_0x572c4c=this['_setSuggestionData']({'id':_0x4f2525,'type':_0x48bacd,'data':_0x5309a6,'createdAt':new Date(),'authorId':_0x14ca43,'attributes':_0x2dc53a});_0x52fc73[_0x7278('0x124')](_0x572c4c),this[_0x7278('0xb5')](_0x48bacd,_0x4f2525,_0x14ca43,_0x574d7a);}return _0x52fc73;}[_0x7278('0x99')](_0x58db8f){this[_0x7278('0x11d')][_0x7278('0x12e')](_0x58db8f);}[_0x7278('0x3a')](_0x40eae3){this[_0x7278('0xca')]['add'](_0x40eae3);}[_0x7278('0x139')](_0x2a85d0,_0x37e3f7=[],_0x433f8a=[]){this[_0x7278('0x117')](_0x2a85d0,(_0x54579a,..._0x33a378)=>{this[_0x7278('0x169')](()=>{_0x54579a(..._0x33a378);});});for(const _0x4fa8be of _0x37e3f7)this[_0x7278('0x3a')](_0x4fa8be);for(const _0x22b45b of _0x433f8a)this[_0x7278('0x99')](_0x22b45b);}['_setSuggestionRange'](_0xf738be,_0x4764f2){const _0x3abcd8=_0xf738be[_0x7278('0x10d')]();this[_0x7278('0x103')][_0x7278('0x8b')](_0x581e68=>{_0x581e68[_0x7278('0x135')](_0x3abcd8,{'range':_0x4764f2});});}[_0x7278('0x111')](_0x1ab1ae){const _0x1f41ba=_0x1ab1ae['id'],_0x1b5ee0=this[_0x7278('0x35')][_0x7278('0x14f')]['get'](_0x7278('0x49'));this[_0x7278('0x75')][_0x7278('0xb4')](_0x1f41ba)||this['_commentsRepository']['addCommentThread']({'channelId':_0x1b5ee0,'threadId':_0x1f41ba,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x444570=this[_0x7278('0x75')][_0x7278('0xc0')](_0x1f41ba);_0x444570[_0x7278('0x173')](_0x7278('0x145')),_0x444570[_0x7278('0x145')]=!0x1,_0x1ab1ae[_0x7278('0x12')]=_0x444570;}[_0x7278('0x5e')](_0x4dd5f0,_0x51ada1,_0x41dbb4,_0x184f4f){if(_0x4dd5f0[_0x7278('0x8')]!=_0x51ada1||_0x4dd5f0[_0x7278('0x15b')]!=_0x41dbb4||_0x4dd5f0[_0x7278('0x62')]['id']!=_0x184f4f)throw this[_0x7278('0x35')][_0x7278('0xc7')](_0x7278('0xa5')),new _0x49ee6f(_0x7278('0xa5'),this);}[_0x7278('0x8d')](_0x2333ca,_0x5924ce){const _0x3078fa=_0x2333ca[_0x7278('0x121')]();if(_0x5924ce[_0x7278('0x14a')](_0x3078fa))_0x2333ca['removeMarkers']();else{if(_0x3078fa[_0x7278('0x14b')](_0x5924ce)){const _0x579586=this[_0x7278('0x103')][_0x7278('0xe0')](_0x5924ce['start'][_0x7278('0x123')],_0x7278('0x4a'));this['_setSuggestionRange'](_0x2333ca,this[_0x7278('0x103')][_0x7278('0x42')](_0x3078fa[_0x7278('0x31')],_0x579586));const _0x454deb=_0x49ad9a(),_0x1558c8=_0x2333ca['creator']['id'],_0x1ec22c=_0x2333ca[_0x7278('0x8')]+':'+_0x2333ca[_0x7278('0x15b')];this['_setSuggestionData']({'id':_0x454deb,'type':_0x1ec22c,'createdAt':new Date(),'authorId':_0x1558c8,'data':_0x2333ca['data'],'attributes':_0x2333ca[_0x7278('0x2d')]});const _0x348dfb=this['_model'][_0x7278('0xe0')](_0x5924ce[_0x7278('0x4a')][_0x7278('0x4b')],_0x7278('0x7e')),_0x309c6f=this['_model'][_0x7278('0x42')](_0x348dfb,_0x3078fa['end']);this[_0x7278('0xb5')](_0x1ec22c,_0x454deb,_0x1558c8,_0x309c6f);}else{if(_0x3078fa['containsPosition'](_0x5924ce['start'])){const _0x45682b=this[_0x7278('0x103')][_0x7278('0xe0')](_0x5924ce[_0x7278('0x31')]['nodeBefore'],_0x7278('0x4a'));this['_setSuggestionRange'](_0x2333ca,this[_0x7278('0x103')]['createRange'](_0x3078fa[_0x7278('0x31')],_0x45682b));}else{const _0x54243b=this[_0x7278('0x103')]['createPositionAt'](_0x5924ce['end'][_0x7278('0x4b')],_0x7278('0x7e'));this[_0x7278('0x2b')](_0x2333ca,this['_model'][_0x7278('0x42')](_0x54243b,_0x3078fa[_0x7278('0x4a')]));}}}}[_0x7278('0x17')](_0x41e89f){for(const {suggestion:_0x39f311,meta:_0x130a2a}of this[_0x7278('0x137')](_0x41e89f,_0x7278('0x89'))){if(!_0x130a2a[_0x7278('0xc5')])continue;const _0x550a78=_0x39f311[_0x7278('0x63')]();for(const _0x66c395 of _0x550a78)if(!_0x41e89f[_0x7278('0x107')](_0x66c395)[_0x7278('0xc4')])return!0x0;}return!0x1;}[_0x7278('0x46')](_0x278744){const _0x42c3cd=this[_0x7278('0x35')][_0x7278('0x157')]['get'](_0x7278('0xac'))['getUser'](_0x278744);if(!_0x42c3cd)throw new _0x49ee6f(_0x7278('0x9e'),this);return _0x42c3cd;}['_getExternalAuthor'](_0x12b596){const _0x2b03e2=this[_0x7278('0x35')][_0x7278('0x157')][_0x7278('0xf')](_0x7278('0xac')),_0x377c60=_0x152f6b(_0x7278('0x48')+_0x12b596),_0x213265=_0x2b03e2['getUser'](_0x377c60);return _0x213265||_0x2b03e2[_0x7278('0x24')]({'id':_0x377c60,'name':_0x12b596});}[_0x7278('0x28')](_0x25ab00,_0x2e7d49,_0x3a83b6,_0x43c668,_0x20c73e){const _0x7c9872=this['_getAuthorFromId'](_0x43c668),_0x5a325c=this[_0x7278('0x10f')][_0x7278('0x119')](_0x25ab00,_0x2e7d49,_0x3a83b6,_0x7c9872,_0x20c73e,_0x1c1ea6=>this[_0x7278('0x112')](_0x3a83b6,{'attributes':_0x1c1ea6}));return this[_0x7278('0x11')](_0x5a325c,_0x7278('0xe1'),()=>{this[_0x7278('0x112')](_0x3a83b6,{'state':'accepted'});},{'priority':_0x7278('0x67')}),this[_0x7278('0x11')](_0x5a325c,'discard',()=>{this[_0x7278('0x112')](_0x3a83b6,{'state':_0x7278('0xaa')});},{'priority':_0x7278('0x67')}),this[_0x7278('0x16c')][_0x7278('0x9c')](_0x3a83b6,_0x5a325c),this[_0x7278('0x149')][_0x7278('0x9c')](_0x5a325c,'notReady'),_0x5a325c;}[_0x7278('0x120')](_0xef35e0){const _0x4b59f4=_0xef35e0[_0x7278('0x5f')](':');return{'group':_0x4b59f4[0x0],'type':_0x4b59f4[0x1],'subType':_0x4b59f4[_0x7278('0xc4')]>=0x5?_0x4b59f4[0x2]:null,'id':_0x4b59f4[_0x7278('0xc4')]<0x5?_0x4b59f4[0x2]:_0x4b59f4[0x3],'authorId':_0x4b59f4[_0x7278('0xc4')]<0x5?_0x4b59f4[0x3]:_0x4b59f4[0x4],'markerCount':0x6==_0x4b59f4[_0x7278('0xc4')]?_0x4b59f4[0x5]:null};}[_0x7278('0xdf')](_0x56845b,_0x368331,_0x36d492){const _0x33cf9e=_0x56845b['getFirstRange'](),_0x2db059=_0x33cf9e[_0x7278('0x31')],_0x445de3=_0x33cf9e['end'];this['_setSuggestionRange'](_0x56845b,this[_0x7278('0x103')][_0x7278('0x42')](_0x2db059,_0x368331));const _0x31130a=_0x49ad9a(),_0x3c93ce=_0x56845b[_0x7278('0x62')]['id'],_0x45bbce=_0x56845b[_0x7278('0x8')]+(_0x56845b[_0x7278('0x15b')]?':'+_0x56845b[_0x7278('0x15b')]:'');this['_setSuggestionData']({'id':_0x31130a,'type':_0x45bbce,'createdAt':new Date(),'authorId':_0x3c93ce,'originalSuggestionId':_0x56845b['id'],'attributes':_0x56845b[_0x7278('0x2d')],'data':_0x56845b[_0x7278('0x7')]});const _0x5ac256=this[_0x7278('0x16a')](_0x56845b);('formatBlock'==_0x56845b['type']||_0x5ac256&&this[_0x7278('0x29')](_0x5ac256))&&(_0x36d492=this[_0x7278('0x103')][_0x7278('0x40')](_0x36d492[_0x7278('0x4b')])),this[_0x7278('0xb5')](_0x45bbce,_0x31130a,_0x3c93ce,this[_0x7278('0x103')]['createRange'](_0x36d492,_0x445de3));}[_0x7278('0x137')](_0x52a812,_0x46fd77=null){const _0x1d2986=[],_0x44bd82=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x52a812)||(_0x52a812=[_0x52a812]);for(const _0x42ac16 of this['getSuggestions']()){if(!_0x42ac16['isInContent'])continue;if(_0x46fd77&&_0x42ac16[_0x7278('0x8')]!=_0x46fd77)continue;let _0x48ce98=!0x1;for(const _0x517107 of _0x42ac16[_0x7278('0x63')]()){for(const _0x4ea8ea of _0x52a812){const _0x2b757c=_0x4ea8ea[_0x7278('0x31')]['isEqual'](_0x517107[_0x7278('0x4a')])||_0x4ea8ea[_0x7278('0x4a')][_0x7278('0x14a')](_0x517107[_0x7278('0x31')]);if(_0x2b757c||_0x4ea8ea[_0x7278('0x54')](_0x517107)){const _0x568289=_0x4ea8ea[_0x7278('0x14b')](_0x517107)&&Tt(this[_0x7278('0x103')][_0x7278('0x69')],_0x517107[_0x7278('0x31')],_0x4ea8ea),_0xb3c245=_0x517107[_0x7278('0x14b')](_0x4ea8ea)&&Tt(this[_0x7278('0x103')][_0x7278('0x69')],_0x4ea8ea[_0x7278('0x31')],_0x517107);_0x1d2986[_0x7278('0x124')]({'suggestion':_0x42ac16,'meta':{'isOwn':_0x44bd82==_0x42ac16[_0x7278('0x12b')],'isNextTo':_0x2b757c,'isInsideObject':_0x568289,'containsRangeInObject':_0xb3c245}}),_0x48ce98=!0x0;break;}}if(_0x48ce98)break;}}return _0x1d2986;}[_0x7278('0xb5')](_0x45ecc3,_0x519a66,_0x134dde,_0x1bee55,_0x5152b3){this[_0x7278('0x103')][_0x7278('0x8b')](_0x4ba2e9=>{let _0x2a8d07=_0x7278('0x4c')+_0x45ecc3+':'+_0x519a66+':'+_0x134dde;_0x5152b3&&(_0x2a8d07=_0x2a8d07+':'+_0x5152b3),_0x4ba2e9[_0x7278('0xb')](_0x2a8d07,{'range':_0x1bee55,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x7278('0x6c')](_0x4553b5){const _0x1d2501=_0x4553b5[_0x7278('0x13d')],_0x3d7595=_0x4553b5['next'];_0x4553b5[_0x7278('0x13d')]=null,_0x4553b5['next']=null,null!=_0x1d2501&&(_0x1d2501[_0x7278('0x163')]=_0x3d7595),null!=_0x3d7595&&(_0x3d7595[_0x7278('0x13d')]=_0x1d2501),_0x7278('0x160')==this['_suggestionState']['get'](_0x4553b5)&&(this['_suggestionState']['set'](_0x4553b5,_0x7278('0xa0')),this[_0x7278('0x8f')](_0x7278('0x104'),_0x4553b5,_0x1d2501,_0x3d7595));}[_0x7278('0x176')](_0x4b1dc1){const _0x221e31=_0x4b1dc1['id'],_0x5d83c5=this[_0x7278('0xc9')](_0x4b1dc1);if(this[_0x7278('0xad')]&&this['_adapter']['addSuggestion']){const _0x38e351=this[_0x7278('0x35')]['plugins']['get']('PendingActions'),_0x49161d=_0x5d83c5[_0x7278('0x57')],_0x33f81c=_0x5d83c5[_0x7278('0x15b')]?_0x5d83c5[_0x7278('0x8')]+':'+_0x5d83c5['subType']:_0x5d83c5[_0x7278('0x8')],_0x43c1a8=this[_0x7278('0x35')][_0x7278('0x114')],_0x2c4b7a=_0x38e351[_0x7278('0x12e')](_0x58df5f(_0x43c1a8,'PENDING_ACTION_SUGGESTION')),_0x556042={'id':_0x221e31,'type':_0x33f81c,'hasComments':_0x49161d,'data':_0x4b1dc1[_0x7278('0x7')]||null,'originalSuggestionId':_0x4b1dc1[_0x7278('0xf9')]||null,'attributes':_0x5d83c5[_0x7278('0x2d')]};this['_adapter'][_0x7278('0x7b')](_0x556042)[_0x7278('0x10b')](_0x3d2c4e=>{_0x5d83c5[_0x7278('0xec')]=!0x0,_0x38e351[_0x7278('0x6b')](_0x2c4b7a),_0x3d2c4e&&_0x3d2c4e[_0x7278('0xb9')]&&(this[_0x7278('0x16c')][_0x7278('0xf')](_0x221e31)[_0x7278('0xb9')]=_0x3d2c4e['createdAt']);})[_0x7278('0xf8')](_0x3e85d0=>{throw _0x573438(_0x7278('0x6')),this[_0x7278('0x35')][_0x7278('0xd5')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x5d83c5[_0x7278('0xa9')]();}),_0x5d83c5['stopListening'](),this[_0x7278('0x16c')][_0x7278('0x91')](_0x5d83c5['id']),this[_0x7278('0x149')][_0x7278('0x91')](_0x5d83c5),_0x3e85d0;});}return _0x5d83c5;}[_0x7278('0x29')](_0x467f8e){return this[_0x7278('0x11d')][_0x7278('0xfc')](_0x467f8e);}['_getAttributeKeyFromSubType'](_0x24da95){return'attribute'==_0x24da95['type']&&_0x24da95[_0x7278('0x15b')][_0x7278('0x5f')]('|')[0x0];}[_0x7278('0x112')](_0x31838f,_0x5a91b9){const _0x1ab3e1=this[_0x7278('0x35')][_0x7278('0x157')][_0x7278('0xf')](_0x7278('0x81')),_0x20a8de=this[_0x7278('0x7c')](_0x31838f);if(this[_0x7278('0xad')]&&this['_adapter'][_0x7278('0x9f')]){if(_0x20a8de[_0x7278('0xec')]){const _0x41e69f=_0x1ab3e1[_0x7278('0x12e')](_0x58df5f(this[_0x7278('0x35')][_0x7278('0x114')],_0x7278('0x2e')));this[_0x7278('0xad')][_0x7278('0x9f')](_0x31838f,_0x5a91b9)['then'](()=>{_0x1ab3e1[_0x7278('0x6b')](_0x41e69f);});}else _0x20a8de['on'](_0x7278('0x78'),()=>{this[_0x7278('0x112')](_0x31838f,_0x5a91b9);});}}['_getSuggestionData'](_0x5ce13e){if(!this[_0x7278('0xad')]||!this[_0x7278('0xad')]['getSuggestion'])throw new _0x49ee6f(_0x7278('0x15c'),this);return this['_adapter']['getSuggestion'](_0x5ce13e);}[_0x7278('0x14e')](_0x47fa9c){const {id:_0x952e8f,type:_0x2e89b8,subType:_0x4d05bd,authorId:_0x1f9080}=this[_0x7278('0x120')](_0x47fa9c),_0x15893e=this[_0x7278('0x16c')][_0x7278('0xf')](_0x952e8f)||this[_0x7278('0x28')](_0x2e89b8,_0x4d05bd,_0x952e8f,_0x1f9080,{});switch(this[_0x7278('0x5e')](_0x15893e,_0x2e89b8,_0x4d05bd,_0x1f9080),this[_0x7278('0x149')][_0x7278('0xf')](_0x15893e)){case'notReady':this[_0x7278('0x172')](_0x952e8f)['then'](_0x49852f=>{let _0x335e0a=Promise[_0x7278('0x85')]();_0x49852f[_0x7278('0x57')]&&(_0x335e0a=this[_0x7278('0x75')][_0x7278('0x72')]({'channelId':this[_0x7278('0x35')][_0x7278('0x14f')][_0x7278('0xf')](_0x7278('0x49')),'threadId':_0x952e8f})),_0x335e0a['then'](()=>{this[_0x7278('0xc9')](_0x49852f)[_0x7278('0xec')]=!0x0;});}),this[_0x7278('0x149')]['set'](_0x15893e,_0x7278('0x17d'));break;case _0x7278('0xa0'):this[_0x7278('0x112')](_0x952e8f,{'state':_0x7278('0xc3')});case'dataReady':this[_0x7278('0x149')][_0x7278('0x9c')](_0x15893e,_0x7278('0x160')),this[_0x7278('0x8f')](_0x7278('0xe6'),_0x15893e);break;case _0x7278('0x160'):this[_0x7278('0x8f')]('suggestionChanged',_0x15893e);}return _0x15893e[_0x7278('0x4d')](_0x47fa9c),_0x15893e;}[_0x7278('0x6d')](_0x37da1e){const _0x5e998a=Array[_0x7278('0x134')](_0x37da1e),_0x463f66=_0x5e998a[_0x7278('0xe')](_0x4bf629=>_0x7278('0xe4')==_0x4bf629[_0x7278('0x8')]);this['_refreshAttributeSuggestionsChain'](_0x463f66);const _0x33dd15=_0x5e998a[_0x7278('0xe')](_0x20e6ae=>!_0x20e6ae['isMultiRange']&&'attribute'!=_0x20e6ae[_0x7278('0x8')]),_0x410e71=this['getSuggestions']({'skipNotAttached':!0x0})[_0x7278('0xe')](_0x108b13=>!_0x108b13['isMultiRange']&&_0x7278('0xe4')!=_0x108b13['type']),_0x25395d=_0x410e71[_0x7278('0xe')](_0x42370e=>!_0x37da1e[_0x7278('0xfc')](_0x42370e)),_0xd15fe0=new Map(_0x410e71[_0x7278('0x10a')](_0x2d9685=>[_0x2d9685,this[_0x7278('0x10f')][_0x7278('0x5')](_0x2d9685[_0x7278('0x8')],_0x2d9685[_0x7278('0x15b')],_0x7278('0xcb'))])),_0x5ac685=new Map(_0x410e71[_0x7278('0x10a')](_0x4a5f0a=>[_0x4a5f0a,_0x4a5f0a['getFirstRange']()])),_0x1dc6f5=new Set(),_0x93b517=new Set();for(let _0x4918fa=0x0;_0x4918fa<_0x33dd15[_0x7278('0xc4')];_0x4918fa++)_0x408efd(_0x33dd15[_0x4918fa],_0x33dd15,_0x4918fa+0x1);for(let _0x3a00a7=0x0;_0x3a00a7<_0x33dd15[_0x7278('0xc4')];_0x3a00a7++)_0x408efd(_0x33dd15[_0x3a00a7],_0x25395d,0x0);const _0x328ebd=new Set();for(let _0x39ebab=0x0;_0x39ebab<_0x33dd15[_0x7278('0xc4')];_0x39ebab++){const _0x31f14f=_0x33dd15[_0x39ebab];!_0x93b517[_0x7278('0xfc')](_0x31f14f)&&_0x31f14f[_0x7278('0x13d')]&&(_0x328ebd[_0x7278('0x12e')](_0x31f14f[_0x7278('0x13d')]),_0x31f14f['previous'][_0x7278('0x163')]===_0x31f14f&&(_0x31f14f[_0x7278('0x13d')][_0x7278('0x163')]=null),_0x31f14f[_0x7278('0x13d')]=null),!_0x1dc6f5[_0x7278('0xfc')](_0x31f14f)&&_0x31f14f[_0x7278('0x163')]&&(_0x328ebd['add'](_0x31f14f[_0x7278('0x163')]),_0x31f14f[_0x7278('0x163')][_0x7278('0x13d')]===_0x31f14f&&(_0x31f14f[_0x7278('0x163')][_0x7278('0x13d')]=null),_0x31f14f[_0x7278('0x163')]=null);}function _0x408efd(_0x544d7c,_0x56a4eb,_0x11604e){for(let _0xb160eb=_0x11604e;_0xb160eb<_0x56a4eb[_0x7278('0xc4')];_0xb160eb++){const _0x4188e3=_0xac16ed(_0x544d7c,_0x56a4eb[_0xb160eb]);_0x4188e3&&(_0x4188e3[0x0][_0x7278('0x163')]=_0x4188e3[0x1],_0x4188e3[0x1][_0x7278('0x13d')]=_0x4188e3[0x0],_0x1dc6f5[_0x7278('0x12e')](_0x4188e3[0x0]),_0x93b517['add'](_0x4188e3[0x1]));}}function _0xac16ed(_0xd9efab,_0x4fd0b4){if(_0xd9efab['author']['id']!==_0x4fd0b4[_0x7278('0x12b')]['id'])return null;const _0x16053d=_0xd15fe0['get'](_0xd9efab)(_0xd9efab,_0x4fd0b4,_0x5ac685[_0x7278('0xf')](_0xd9efab),_0x5ac685['get'](_0x4fd0b4));if(!_0x16053d)return null;return _0xd15fe0[_0x7278('0xf')](_0x4fd0b4)(_0xd9efab,_0x4fd0b4,_0x5ac685['get'](_0xd9efab),_0x5ac685['get'](_0x4fd0b4))?_0x16053d[0x1][_0x7278('0x12')]&&_0x16053d[0x1][_0x7278('0x12')][_0x7278('0xc4')]?null:_0x16053d:null;}_0x328ebd[_0x7278('0x150')]&&this[_0x7278('0x6d')](_0x328ebd);}[_0x7278('0x164')](_0x5369b7){if(0x0==_0x5369b7[_0x7278('0xc4')])return;const _0x802ad4=this[_0x7278('0x110')]({'skipNotAttached':!0x0})[_0x7278('0xe')](_0x283fee=>'attribute'==_0x283fee['type']&&_0x283fee[_0x7278('0x36')]),_0x3804c0=[],_0x2820d7=new Map();for(const _0x116cb4 of _0x802ad4){const _0x36647d=_0x152f6b(_0x116cb4[_0x7278('0x2d')]);_0x2820d7['has'](_0x36647d)||(_0x2820d7[_0x7278('0x9c')](_0x36647d,_0x3804c0[_0x7278('0xc4')]),_0x3804c0[_0x7278('0x124')]([]));const _0x102c19=_0x2820d7['get'](_0x36647d);_0x3804c0[_0x102c19]['push'](_0x116cb4);}!function(){_0x3804c0[_0x7278('0x9b')]((_0x5aca6a,_0xd37313)=>{const _0x178f14=_0x5aca6a[0x0][_0x7278('0xb9')],_0x150efb=_0xd37313[0x0]['createdAt'];return _0x178f14==_0x150efb?_0x5aca6a[0x0]['attributes'][_0x7278('0xb8')]<_0xd37313[0x0][_0x7278('0x2d')][_0x7278('0xb8')]?-0x1:0x1:_0x178f14<_0x150efb?-0x1:0x1;});for(const _0x448c5b of _0x3804c0)_0x448c5b[_0x7278('0x9b')]((_0x1dcfeb,_0xc0cfbf)=>_0x1dcfeb['id']<_0xc0cfbf['id']?-0x1:0x1);}();for(let _0x3ef776=0x0;_0x3ef776<_0x3804c0[_0x7278('0xc4')];_0x3ef776++){if(0x0==_0x3804c0[_0x3ef776]['length'])continue;const _0x3ca22d=[];for(let _0xc26dc7=_0x3ef776+0x1;_0xc26dc7<_0x3804c0[_0x7278('0xc4')];_0xc26dc7++)0x0!=_0x3804c0[_0xc26dc7][_0x7278('0xc4')]&&_0xc568e7(_0x3804c0[_0x3ef776],_0x3804c0[_0xc26dc7])&&_0x3ca22d['push'](_0xc26dc7);for(const _0x1f65a9 of _0x3ca22d)_0x3804c0[_0x3ef776]=_0x3804c0[_0x3ef776][_0x7278('0x97')](_0x3804c0[_0x1f65a9]),_0x3804c0[_0x1f65a9]=[];}for(const _0x14e3cd of _0x3804c0)for(let _0x434099=0x0;_0x434099<_0x14e3cd[_0x7278('0xc4')];_0x434099++)_0x14e3cd[_0x434099][_0x7278('0x163')]=_0x14e3cd[_0x434099+0x1]||null;for(const _0x8e1e35 of _0x3804c0)for(let _0x44be8d=0x0;_0x44be8d<_0x8e1e35[_0x7278('0xc4')];_0x44be8d++)_0x8e1e35[_0x44be8d]['previous']=_0x8e1e35[_0x44be8d-0x1]||null;function _0xc568e7(_0x1ecaa9,_0x3b3b9e){if(_0x1ecaa9[0x0]['author']!==_0x3b3b9e[0x0][_0x7278('0x12b')])return!0x1;if(!function(_0x1b1a00,_0x23125a){if(!_0x1b1a00[_0x7278('0x57')]&&!_0x23125a[_0x7278('0x57')])return!0x0;if(_0x1b1a00[_0x7278('0x57')]&&_0x23125a[_0x7278('0x57')])return!0x1;if(_0x1b1a00[_0x7278('0x57')]&&_0x23125a[_0x7278('0xb9')]<_0x1b1a00[_0x7278('0x12')][_0x7278('0x131')][_0x7278('0xf')](0x0)[_0x7278('0xb9')])return!0x0;if(_0x23125a['hasComments']&&_0x1b1a00[_0x7278('0xb9')]<_0x23125a[_0x7278('0x12')]['comments'][_0x7278('0xf')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x1ecaa9[0x0],_0x3b3b9e[0x0]))return!0x1;const _0x5cf5c1=_0x477ed0(_0x1ecaa9[0x0]['attributes'],_0x7278('0xb8')),_0xbadfc8=_0x477ed0(_0x3b3b9e[0x0][_0x7278('0x2d')],_0x7278('0xb8'));if(!_0x684354(_0x5cf5c1,_0xbadfc8))return!0x1;return!!_0x1ecaa9[_0x7278('0x0')](_0x34fecc=>_0x3b3b9e[_0x7278('0xce')](_0xdbafb1=>_0x34fecc[_0x7278('0x121')]()['isEqual'](_0xdbafb1[_0x7278('0x121')]())))&&_0x3b3b9e[_0x7278('0x0')](_0x4ff772=>_0x1ecaa9[_0x7278('0xce')](_0x4e7bfe=>_0x4ff772[_0x7278('0x121')]()[_0x7278('0x14a')](_0x4e7bfe[_0x7278('0x121')]())));}}[_0x7278('0x147')](_0x48ed10){const _0x5db47b=Array['from'](_0x48ed10),_0x447645=this[_0x7278('0x110')]({'skipNotAttached':!0x0}),_0x23a419=_0x447645[_0x7278('0xe')](_0x5fa77e=>!_0x48ed10[_0x7278('0xfc')](_0x5fa77e)),_0x25cdd9=new Map(_0x5db47b['map'](_0x2484f1=>[_0x2484f1,this[_0x7278('0x10f')][_0x7278('0x5')](_0x2484f1[_0x7278('0x8')],_0x2484f1[_0x7278('0x15b')],_0x7278('0x109'))])),_0x30ca31=new Map(_0x447645['map'](_0x4aafbe=>[_0x4aafbe,_0x4aafbe[_0x7278('0x63')]()]));for(let _0x29de6d=0x0;_0x29de6d<_0x5db47b[_0x7278('0xc4')];_0x29de6d++){if(_0x1af308(this,_0x5db47b[_0x29de6d],_0x5db47b,_0x29de6d+0x1))return!0x0;}for(let _0xffa938=0x0;_0xffa938<_0x5db47b['length'];_0xffa938++){if(_0x1af308(this,_0x5db47b[_0xffa938],_0x23a419,0x0))return!0x0;}return!0x1;function _0x1af308(_0x326372,_0x462dc6,_0x2a2fdd,_0x1ff638){for(let _0xedbe2e=_0x1ff638;_0xedbe2e<_0x2a2fdd[_0x7278('0xc4')];_0xedbe2e++){const _0x21eb77=_0x2a2fdd[_0xedbe2e];if(_0x21eb77[_0x7278('0x8')]!==_0x462dc6[_0x7278('0x8')]||_0x21eb77[_0x7278('0x12b')]['id']!==_0x462dc6['author']['id']||_0x21eb77[_0x7278('0x15b')]!==_0x462dc6[_0x7278('0x15b')])continue;if(!Vt(_0x462dc6,_0x21eb77))continue;if('attribute'==_0x462dc6[_0x7278('0x8')]&&_0x462dc6['data'][_0x7278('0x18')]!=_0x21eb77['data'][_0x7278('0x18')])continue;if(_0x7278('0xe4')==_0x462dc6[_0x7278('0x8')]&&_0x326372[_0x7278('0x29')](_0x462dc6['data']['key']))continue;const _0x179882=_0x25cdd9[_0x7278('0xf')](_0x462dc6),_0x3b613a=_0x30ca31[_0x7278('0xf')](_0x462dc6),_0x5b3f7c=_0x30ca31[_0x7278('0xf')](_0x21eb77),_0x3de94b=_0x462dc6[_0x7278('0x12')]&&_0x462dc6[_0x7278('0x12')][_0x7278('0xc4')],_0x1808b1=_0x21eb77['commentThread']&&_0x21eb77[_0x7278('0x12')][_0x7278('0xc4')];if(!_0x3de94b&&_0x179882(_0x5b3f7c,_0x3b613a))return _0x326372[_0x7278('0x7a')](_0x21eb77,_0x462dc6),_0x30ca31['delete'](_0x462dc6),!0x0;if(!_0x1808b1&&_0x179882(_0x3b613a,_0x5b3f7c))return _0x326372[_0x7278('0x7a')](_0x462dc6,_0x21eb77),_0x30ca31[_0x7278('0x91')](_0x21eb77),!0x0;}return!0x1;}}[_0x7278('0x7a')](_0x3cde80,_0x3f3714){if(_0x3cde80[_0x7278('0x142')])for(const _0x1e5ca8 of _0x3f3714['getRanges']())_0x3cde80[_0x7278('0x80')](_0x1e5ca8);else{const _0x25e297=_0x3f3714[_0x7278('0x121')]()[_0x7278('0x4a')];this[_0x7278('0x2b')](_0x3cde80,this[_0x7278('0x103')][_0x7278('0x42')](_0x3cde80[_0x7278('0x121')]()[_0x7278('0x31')],_0x25e297));}_0x3f3714[_0x7278('0x1f')]();}[_0x7278('0x84')](_0x4034be,_0x1be090){const _0x287a4d=_0x4034be[_0x7278('0x1c')]('format')||_0x4034be[_0x7278('0x1c')]('attribute')?'FORMATTING':_0x4034be[_0x7278('0x15f')]();return _0x58df5f(this[_0x7278('0x35')][_0x7278('0x114')],_0x1be090+'_'+_0x287a4d+'_SUGGESTION_ANNOUNCEMENT');}['_initAriaMarkerChangeAnnouncements'](){const _0x22cc48=this[_0x7278('0x35')];_0x530b19(this[_0x7278('0x103')],({left:_0x111f6e,entered:_0x576328})=>{const _0x38d942=[];for(const _0x415dcd of _0x111f6e){const {group:_0x30af5f,type:_0x20ca71}=this[_0x7278('0x120')](_0x415dcd[_0x7278('0xab')]);if(_0x7278('0x92')===_0x30af5f){_0x38d942[_0x7278('0x124')](this[_0x7278('0x84')](_0x20ca71,_0x7278('0xb0')));break;}}for(const _0x3d0054 of _0x576328){const {group:_0x27cc10,type:_0xf0b418}=this[_0x7278('0x120')](_0x3d0054[_0x7278('0xab')]);if('suggestion'===_0x27cc10){_0x38d942[_0x7278('0x124')](this['_getMarkerAnnouncementText'](_0xf0b418,_0x7278('0xc6')));break;}}_0x38d942[_0x7278('0xc4')]&&_0x22cc48['ui'][_0x7278('0xa3')][_0x7278('0x60')](_0x7278('0x106'),_0x38d942['join']('\x20'));});}['_processAttributeChanges'](_0x45ead3){if(null!==this[_0x7278('0xfa')])return!0x1;const _0x5af987=this[_0x7278('0x35')],_0x763433=_0x5af987[_0x7278('0xd5')][_0x7278('0x70')][_0x7278('0x52')][_0x7278('0x3f')]();if(0x0==_0x763433[_0x7278('0xc4')])return!0x1;const _0x39b63f=[],_0x380e04=_0x763433[_0x7278('0xe')](_0x3a5dae=>_0x7278('0xe4')==_0x3a5dae[_0x7278('0x8')]),_0x55d18c=_0x763433['filter'](_0x5c0b26=>_0x7278('0x88')==_0x5c0b26['type']&&_0x7278('0x14d')!=_0x5c0b26['name']),_0x3ad744=_0x763433[_0x7278('0xe')](_0x45c4d7=>_0x7278('0x6b')==_0x45c4d7[_0x7278('0x8')]&&'$text'!=_0x45c4d7['name']);for(const _0x26fd7f of _0x380e04)_0x39b63f['push']({'key':_0x26fd7f[_0x7278('0xda')],'newValue':_0x26fd7f[_0x7278('0x5b')],'oldValue':_0x26fd7f[_0x7278('0x113')],'range':_0x3b370d(_0x26fd7f[_0x7278('0x140')])});for(const _0x58fc32 of _0x55d18c){const _0x43bc84=_0x3ad744[_0x7278('0x4')](_0x1b4b0d=>_0x1b4b0d['position'][_0x7278('0x14a')](_0x58fc32[_0x7278('0x96')]));_0x43bc84&&_0x39b63f['push']({'key':_0x7278('0xc2'),'newValue':_0x58fc32[_0x7278('0xab')],'oldValue':_0x43bc84[_0x7278('0xab')],'range':_0x5af987['model']['createRangeOn'](_0x58fc32[_0x7278('0x96')][_0x7278('0x6f')])});}return 0x0!=_0x39b63f[_0x7278('0xc4')]&&this[_0x7278('0x14')](_0x45ead3,_0x39b63f);function _0x3b370d(_0x4c91be){return null==_0x4c91be['end'][_0x7278('0x123')]&&_0x4c91be[_0x7278('0x4a')][_0x7278('0x4b')]==_0x4c91be[_0x7278('0x31')][_0x7278('0x6f')]?Ut(_0x4c91be[_0x7278('0x31')][_0x7278('0x6f')],_0x5af987['model']):_0x4c91be;}}[_0x7278('0x3b')](_0x31379c){let _0x188896=!0x1;const _0x2aaed3=this[_0x7278('0x35')][_0x7278('0xd5')]['document']['differ'][_0x7278('0x154')]()[_0x7278('0xe')](_0x543565=>_0x543565[_0x7278('0x7')][_0x7278('0x162')]&&_0x543565[_0x7278('0xab')][_0x7278('0x1c')](_0x7278('0x11f')));for(const _0x2d0cb2 of _0x2aaed3){const {subType:_0x535ed3,id:_0x226a0f}=this[_0x7278('0x120')](_0x2d0cb2[_0x7278('0xab')]),_0x26624b=_0x535ed3['split']('|')[0x0];for(const _0x20666c of this[_0x7278('0x110')]({'skipNotAttached':!0x0}))_0x20666c['id']!=_0x226a0f&&_0x7278('0xe4')==_0x20666c[_0x7278('0x8')]&&_0x20666c['data']&&_0x20666c['data'][_0x7278('0x17e')]==_0x26624b&&_0x20666c[_0x7278('0x121')]()[_0x7278('0x16f')](_0x2d0cb2['data'][_0x7278('0x162')])&&(this['_reduceSuggestionAttributeRange'](_0x20666c,_0x2d0cb2['data'][_0x7278('0x162')],_0x31379c),_0x188896=!0x0);}return _0x188896;}['_recordAttributeChanges'](_0x55b4d2){if(null!==this[_0x7278('0xfa')])return void _0x55b4d2();const _0x3c8235=this[_0x7278('0x35')];this[_0x7278('0xfa')]=_0x3c8235[_0x7278('0xd5')]['document'][_0x7278('0x77')],_0x55b4d2();const _0x56cbb2=new Map();for(const _0x11c0a8 of _0x3c8235[_0x7278('0xd5')]['document'][_0x7278('0xcc')]['getOperations'](this['_recordAttributeSuggestionsFromVersion']))if([_0x7278('0x6e'),'addAttribute','removeAttribute',_0x7278('0x2f')][_0x7278('0xc')](_0x11c0a8[_0x7278('0x8')])){const _0x2dd4bc=_0x11c0a8[_0x7278('0x178')],_0x1c82ba=_0x56cbb2['get'](_0x2dd4bc)||[];_0x1c82ba[_0x7278('0x124')](_0x11c0a8),_0x56cbb2['set'](_0x2dd4bc,_0x1c82ba);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x4a2399,_0x102d37]of _0x56cbb2){const _0x456d93=_0x49ad9a();_0x3c8235[_0x7278('0xd5')]['enqueueChange'](_0x4a2399,_0xe2588e=>{const _0x43e067=[];for(const _0x49eade of _0x102d37){let _0x2429bc,_0x1a6f7b,_0x140277,_0x312399;if('rename'==_0x49eade['type']){const _0x23ef84=_0x49eade;_0x2429bc=Ut(_0x23ef84['position'][_0x7278('0x6f')],_0x3c8235[_0x7278('0xd5')]),_0x1a6f7b='$elementName',_0x140277=_0x23ef84[_0x7278('0xee')],_0x312399=_0x23ef84[_0x7278('0x34')];}else{const _0x3ad529=_0x49eade,_0x425b16=this[_0x7278('0x29')](_0x3ad529[_0x7278('0x17e')]),_0x1d29c0=this[_0x7278('0xca')][_0x7278('0xfc')](_0x3ad529['key']);if(!_0x425b16&&!_0x1d29c0)continue;_0x2429bc=_0x425b16?Ut(_0x3ad529['range'][_0x7278('0x31')][_0x7278('0x6f')],_0x3c8235[_0x7278('0xd5')]):_0x3ad529[_0x7278('0x140')],_0x1a6f7b=_0x3ad529['key'],_0x140277=_0x7278('0x3')==_0x49eade[_0x7278('0x8')]?void 0x0:_0x3ad529[_0x7278('0x5d')],_0x312399=_0x3ad529[_0x7278('0x18')];}this[_0x7278('0x38')](_0x2429bc,_0x1a6f7b,_0x312399,_0x140277,{'groupId':_0x456d93}),_0x43e067[_0x7278('0x124')]({'range':_0x2429bc,'key':_0x1a6f7b,'newValue':_0x140277,'oldValue':_0x312399});}this['_reduceExistingSuggestions'](_0xe2588e,_0x43e067);});}}['_reduceExistingSuggestions'](_0x22e2c2,_0x1390a5){if(0x0==_0x1390a5[_0x7278('0xc4')])return!0x1;let _0x3c61f8=!0x1;for(const _0x4fb511 of _0x1390a5){const _0x61f1de=this[_0x7278('0x137')](_0x4fb511[_0x7278('0x140')],'attribute')['filter'](_0x2b6b01=>!_0x2b6b01['meta'][_0x7278('0x87')])[_0x7278('0x10a')](_0x11c31e=>_0x11c31e[_0x7278('0x92')]),_0x1d5a0e=_0x152f6b({'newValue':_0x4fb511[_0x7278('0x5d')]});_0x61f1de['filter'](_0x16dc76=>{const [_0x4d6c45,_0x55450f]=_0x16dc76[_0x7278('0x15b')][_0x7278('0x5f')]('|');return _0x4d6c45==_0x4fb511['key']&&_0x55450f!=_0x1d5a0e;})[_0x7278('0x59')](_0x240d74=>{this[_0x7278('0xf2')](_0x240d74,_0x4fb511[_0x7278('0x140')],_0x22e2c2),_0x3c61f8=!0x0;});}return _0x3c61f8;}[_0x7278('0xf2')](_0x3dd3f7,_0x1d1b00,_0x1ac41b){const _0x24de83=_0x3dd3f7[_0x7278('0x121')]()['getDifference'](_0x1d1b00);0x0!==_0x24de83[_0x7278('0xc4')]?0x1!==_0x24de83[_0x7278('0xc4')]?this['_breakSuggestionMarker'](_0x3dd3f7,_0x1d1b00['start'],_0x1d1b00[_0x7278('0x4a')]):this[_0x7278('0x2b')](_0x3dd3f7,_0x24de83[0x0]):_0x1ac41b[_0x7278('0xf6')](_0x3dd3f7[_0x7278('0x10d')]());}}class Bt{constructor(_0x28f15e){this[_0x7278('0x93')]=_0x28f15e,this[_0x7278('0x103')]=_0x28f15e[_0x7278('0xd5')],this[_0x7278('0x5c')]=new Map(),this[_0x7278('0x2')]=new Map(),this['_registerDefaultCallbacks']();}[_0x7278('0x119')](_0x17603e,_0x351a80,_0x515f10,_0x1c4ca3,_0x3b4f27,_0x471686){return new _0x3d0421(this[_0x7278('0x103')],{'type':_0x17603e,'subType':_0x351a80,'id':_0x515f10,'author':_0x1c4ca3,'creator':_0x1c4ca3,'attributes':_0x3b4f27,'onAttributesChange':_0x471686,'onAccept':(..._0x3d8da4)=>this[_0x7278('0x5')](_0x17603e,_0x351a80,_0x7278('0xe1'))(..._0x3d8da4),'onDiscard':(..._0xf12572)=>this['getSuggestionCallback'](_0x17603e,_0x351a80,_0x7278('0xa9'))(..._0xf12572)});}[_0x7278('0xe7')](_0x4aea60,_0x202fae,_0x127d6f,_0x227a73){const _0x3ab5e7=_0x4aea60+':'+_0x202fae+':'+_0x127d6f;this[_0x7278('0x5c')][_0x7278('0x9c')](_0x3ab5e7,_0x227a73);}[_0x7278('0x5')](_0x90136f,_0x202a88,_0x17564b){const _0x582954=_0x90136f+':'+_0x202a88+':'+_0x17564b;return this[_0x7278('0x5c')][_0x7278('0xf')](_0x582954)||this[_0x7278('0x2')]['get'](_0x90136f+':'+_0x17564b);}[_0x7278('0xe3')](){const _0x434dfa=()=>!0x1,_0x5e0c75=_0x455dff=>{_0x455dff[_0x7278('0x9b')]((_0x1d727d,_0x2557ea)=>_0x1d727d[_0x7278('0x31')][_0x7278('0x130')](_0x2557ea[_0x7278('0x31')])?0x1:-0x1),this[_0x7278('0x103')][_0x7278('0x8b')](_0x9a29e9=>{for(const _0x2a3c46 of _0x455dff){let _0x2ce7b3;_0x2ce7b3=_0x2a3c46['end'][_0x7278('0x171')]&&_0x2a3c46['end'][_0x7278('0x4b')]==_0x2a3c46[_0x7278('0x31')][_0x7278('0x6f')]?_0x9a29e9['createSelection'](_0x2a3c46[_0x7278('0x31')][_0x7278('0x6f')],'on'):_0x9a29e9[_0x7278('0x1')](_0x2a3c46),this[_0x7278('0x103')][_0x7278('0x129')](_0x2ce7b3,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x5c6e89=(_0x1cb40d,_0x46630d)=>{_0x46630d&&this[_0x7278('0x103')][_0x7278('0x8b')](_0x3aeafb=>{const {commandName:_0xbdab54,commandParams:_0x555307=[]}=_0x46630d,_0x2e0c07=_0x1cb40d['map'](_0x29b3f5=>(xt(_0x29b3f5)&&(_0x29b3f5=this[_0x7278('0x103')][_0x7278('0x42')](_0x29b3f5[_0x7278('0x4a')])),_0x29b3f5))[_0x7278('0xe')](_0x32d679=>_0x7278('0xd1')!==_0x32d679[_0x7278('0x66')][_0x7278('0x125')]);if(_0x2e0c07['length']<0x1)return;const _0x42ae72=Array[_0x7278('0x134')](this[_0x7278('0x103')][_0x7278('0x70')][_0x7278('0x16b')][_0x7278('0x63')]())[_0x7278('0x10a')](_0x540c1e=>_0x202a89['fromRange'](_0x540c1e));_0x3aeafb['setSelection'](_0x2e0c07);for(const _0x6f453a of this['_editor']['commands'][_0x7278('0x26')]())_0x6f453a[_0x7278('0x155')]();_0x555307['push']({'forceDefaultExecution':!0x0}),this[_0x7278('0x93')][_0x7278('0x179')](_0xbdab54,..._0x555307);const _0x2bf513=_0x42ae72[_0x7278('0xe')](_0x1010d5=>_0x7278('0xd1')!=_0x1010d5[_0x7278('0x66')][_0x7278('0x125')]);_0x2bf513['length']>0x0&&_0x3aeafb[_0x7278('0xb3')](_0x2bf513);for(const _0x3c2a29 of _0x42ae72)_0x3c2a29[_0x7278('0xf5')]();});},_0x88a944=(_0x191301,_0x4138fc)=>0x1==_0x191301[_0x7278('0xc4')]&&0x1==_0x4138fc['length']&&_0x191301[0x0][_0x7278('0x4a')][_0x7278('0x14a')](_0x4138fc[0x0][_0x7278('0x31')]),_0x3150c6=(_0x3b3dbe,_0x2ccbda,_0x37404f,_0x3947ae)=>Ot(_0x3b3dbe,_0x2ccbda,_0x37404f,_0x3947ae,this['_model'])?[_0x3b3dbe,_0x2ccbda]:Ot(_0x2ccbda,_0x3b3dbe,_0x3947ae,_0x37404f,this[_0x7278('0x103')])?[_0x2ccbda,_0x3b3dbe]:null;this[_0x7278('0x2')]['set'](_0x7278('0x98'),_0x434dfa),this[_0x7278('0x2')][_0x7278('0x9c')](_0x7278('0x8c'),_0x5e0c75),this[_0x7278('0x2')][_0x7278('0x9c')]('insertion:join',_0x88a944),this[_0x7278('0x2')][_0x7278('0x9c')](_0x7278('0x105'),_0x3150c6),this['_defaultCallbacks']['set'](_0x7278('0x16'),_0x5e0c75),this[_0x7278('0x2')][_0x7278('0x9c')](_0x7278('0x4f'),_0x434dfa),this[_0x7278('0x2')][_0x7278('0x9c')](_0x7278('0xfe'),_0x88a944),this[_0x7278('0x2')][_0x7278('0x9c')]('deletion:chain',_0x3150c6),this['_defaultCallbacks'][_0x7278('0x9c')](_0x7278('0xd2'),_0x5c6e89),this[_0x7278('0x2')][_0x7278('0x9c')]('formatInline:discard',_0x434dfa),this[_0x7278('0x2')][_0x7278('0x9c')](_0x7278('0xf0'),_0x88a944),this['_defaultCallbacks'][_0x7278('0x9c')](_0x7278('0x16d'),_0x434dfa),this[_0x7278('0x2')][_0x7278('0x9c')](_0x7278('0x3c'),_0x5c6e89),this[_0x7278('0x2')][_0x7278('0x9c')](_0x7278('0x15d'),_0x434dfa),this['_defaultCallbacks'][_0x7278('0x9c')](_0x7278('0xbe'),_0x88a944),this['_defaultCallbacks'][_0x7278('0x9c')](_0x7278('0x37'),_0x434dfa),this[_0x7278('0x2')][_0x7278('0x9c')](_0x7278('0x144'),_0x434dfa),this[_0x7278('0x2')][_0x7278('0x9c')](_0x7278('0x126'),(_0x266787,_0x3f7b35)=>{if(!_0x3f7b35)return;const _0x817a57=this[_0x7278('0x93')][_0x7278('0x157')][_0x7278('0xf')](p);this['_model']['change'](_0x15262c=>{if(_0x7278('0xc2')==_0x3f7b35['key'])for(const _0x190777 of _0x266787){const _0x4efa90=_0x190777[_0x7278('0x31')][_0x7278('0x6f')],_0x5f5a1f=_0x3f7b35['oldValue'];_0x15262c['rename'](_0x4efa90,_0x5f5a1f);}else{if(_0x817a57[_0x7278('0x29')](_0x3f7b35[_0x7278('0x17e')]))for(const _0xa8d3d2 of _0x266787)void 0x0!==_0x3f7b35['oldValue']?_0x15262c[_0x7278('0x11c')](_0x3f7b35[_0x7278('0x17e')],_0x3f7b35[_0x7278('0x18')],_0xa8d3d2[_0x7278('0x31')]['nodeAfter']):_0x15262c[_0x7278('0x3')](_0x3f7b35[_0x7278('0x17e')],_0xa8d3d2['start'][_0x7278('0x6f')]);else for(const _0x5cd43f of _0x266787)_0x3f7b35[_0x7278('0x18')]?_0x15262c[_0x7278('0x11c')](_0x3f7b35['key'],_0x3f7b35['oldValue'],_0x5cd43f):_0x15262c[_0x7278('0x3')](_0x3f7b35[_0x7278('0x17e')],_0x5cd43f);}});}),this['_defaultCallbacks']['set'](_0x7278('0xff'),_0x88a944);}}function Tt(_0x383c54,_0x2de47e,_0x5af2cb){for(const _0x9ca9fb of _0x2de47e[_0x7278('0x4b')][_0x7278('0xdb')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x9ca9fb[_0x7278('0x66')]==_0x9ca9fb)return!0x1;if(!_0x5af2cb[_0x7278('0xd9')](_0x9ca9fb))return!0x1;if(_0x383c54[_0x7278('0xbf')](_0x9ca9fb)||_0x383c54[_0x7278('0x3d')](_0x9ca9fb))return!0x0;}return!0x1;}function xt(_0x547ed2){return _0x547ed2[_0x7278('0x4a')][_0x7278('0x4b')]==_0x547ed2[_0x7278('0x31')][_0x7278('0x6f')]&&_0x547ed2[_0x7278('0x4a')][_0x7278('0x76')];}function Et(_0x3fee98,_0xf2c848,_0x5b06bc,_0x3440f4){const _0x184f60=_0x4df0e4=>!_0x4df0e4[_0x7278('0x61')]['is'](_0x7278('0x86'))&&!_0x3440f4[_0x7278('0xbf')](_0x4df0e4[_0x7278('0x61')]),_0x36fd73=_0x3fee98[_0x7278('0x31')][_0x7278('0x161')](_0x184f60),_0x1ea6f0=_0x3fee98[_0x7278('0x4a')][_0x7278('0x161')](_0x184f60,{'direction':'backward'});return(!_0x3fee98['start'][_0x7278('0x14a')](_0x36fd73)||!_0x3fee98[_0x7278('0x4a')][_0x7278('0x14a')](_0x1ea6f0))&&(_0x36fd73[_0x7278('0x130')](_0x1ea6f0)?_0x5b06bc['updateMarker'](_0xf2c848,{'range':_0x5b06bc[_0x7278('0x42')](_0x36fd73,_0x1ea6f0)}):_0x5b06bc[_0x7278('0xf6')](_0xf2c848),!0x0);}function Rt(_0x43669d){return _0x152f6b(_0x43669d);}function jt(_0x1ec100){const _0x17704a=_0x1ec100['start'][_0x7278('0x6f')];return _0x17704a&&_0x17704a['is']('element');}function Ut(_0x4cc5e3,_0x3bd631){const _0x112399=_0x3bd631[_0x7278('0x69')]['isObject'](_0x4cc5e3)||_0x3bd631['schema']['isSelectable'](_0x4cc5e3);return _0x3bd631[_0x7278('0x42')](_0x3bd631[_0x7278('0xe0')](_0x4cc5e3,'before'),_0x112399?_0x3bd631[_0x7278('0x152')](_0x4cc5e3):_0x3bd631[_0x7278('0xe0')](_0x4cc5e3,'end'));}function Ot(_0x25b198,_0x15f4b7,_0xa6cdae,_0x241847,_0x10aae1){if(!Vt(_0x25b198,_0x15f4b7))return!0x1;if(_0xa6cdae[_0x7278('0x4a')][_0x7278('0x14a')](_0x241847[_0x7278('0x31')]))return!0x0;if(_0x25b198['type']!=_0x15f4b7['type'])return!0x1;if(!_0xa6cdae[_0x7278('0x4a')][_0x7278('0x11e')](_0x241847[_0x7278('0x31')]))return!0x1;const _0x29f766=_0x10aae1[_0x7278('0x42')](_0xa6cdae[_0x7278('0x4a')],_0x241847['start'])[_0x7278('0x11b')]();for(const _0x43e67c of _0x29f766)if(['elementStart','elementEnd']['includes'](_0x43e67c[_0x7278('0x8')])&&_0x10aae1[_0x7278('0x69')][_0x7278('0x3d')](_0x43e67c[_0x7278('0x61')]))return!0x1;return!0x0;}function Vt(_0x1d9919,_0x321ca6){return!(!_0x1d9919[_0x7278('0x36')]||!_0x321ca6[_0x7278('0x36')])&&_0x684354(_0x1d9919[_0x7278('0x2d')],_0x321ca6[_0x7278('0x2d')]);}function Ft(_0x46dbba,_0x13c4d0){const _0x58f3e7=Gt(_0x46dbba[_0x7278('0x2d')]),_0x419510=Gt(_0x13c4d0);if(!_0x46dbba[_0x7278('0x36')])return!0x1;for(const _0xcec6d7 of Object[_0x7278('0x30')](_0x419510))if(!_0x684354(_0x58f3e7[_0xcec6d7],_0x419510[_0xcec6d7]))return!0x1;return!0x0;}function Gt(_0x233133){const _0x23f8c2=Object[_0x7278('0x14c')]({},_0x233133);return delete _0x23f8c2[_0x7278('0x3e')],delete _0x23f8c2[_0x7278('0x15e')],_0x23f8c2;}