@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231208.0 → 0.0.0-nightly-20231210.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-20231208.0",
3
+ "version": "0.0.0-nightly-20231210.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-20231208.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231208.0",
42
+ "ckeditor5": "0.0.0-nightly-20231210.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231210.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 _0x22b5=['markers','getDifference','getFirstRange','attribute:discard','elementStart','_refreshAttributeSuggestionsChain','trackChangesCommand','_enableDefaultAttributesIntegration','getRange','addMarker','startsWith','isDocumentOperation','isRemovable','_checkSuggestionCorrectness','fromCharCode','element','isIntersectingWithRange','options','$marker','PENDING_ACTION_SUGGESTION','widget','insertContent','fromRange','CommentsRepository','isAtEnd','formatBlock:discard','_getMarkerAnnouncementText','unbindElementFromMarkerName','has','elementToElement','authoredAt','isUndo','containsPosition','enableCommand','markerToHighlight','bindElementToMarker','concat','createdAt','from','isNextTo','ENTER','insert','acceptAllSuggestions','editing','selection','originalSuggestionId','getShiftedBy','createPositionAt','change','substring','dataToMarker','format','after','before','enqueueChange','isAtStart','getUser','insertion:join','nodeAfter','schema','Users','_registerInlineAttribute','plugins','markerName','_defaultCallbacks','_setSuggestionData','oldRange','containsRange','attribute:accept','createSelection','notReady','newRange','sort','addUser','addCommentThread','init','track-changes-suggestion-not-found','pop','ready','deletion','length','markInsertion','trackChanges.trackFormatChanges','_initAriaMarkerChangeAnnouncements','remove','end','add','_handleNewSuggestionMarker','resolve','tablePasteChainId','_processAttributeSuggestions','next','group','dataReady','isInsideObject','changeAttribute','addMarker:suggestion','item','_suggestionState','_breakSuggestionMarker','trackChanges','splitPosition','getSuggestions','markMultiRangeInsertion','_suggestions','LEAVE','range','buildSuggestion','_customCallbacks','_registerBlockAttribute','showSuggestionHighlights','type','move','batch','markerToData','size','formatInline','_isForcedDefaultExecutionBlock','markerReady','join','_findSuggestions','discardSuggestion','$textProxy','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.','getSuggestion','registerPostFixer','addSuggestion','removeMarkers','ck-suggestion-marker-formatInline','insertion','isLocal','chain','backward','TrackChangesEditing','insertion:accept','position','rename','isTouching','formatGroupId','default','detach','listenTo','getIntersection','_setSuggestionRange','_trackFormatChanges','refresh','_rangeIsInLocalUserInsertion','_enabledCommands','$elementName','ck-suggestion-marker-','getSuggestionCallback','ck-suggestion-marker-formatBlock','splice','setTo','subType','_descriptionFactory','setSelection','_onDiscard','isIntersecting','suggestion:','marker-count','removeAttribute','isBefore','map','deleteContent','documentSelection','split','_updateSuggestionData','model','_model','_commentsRepository','_refreshSuggestionsChain','commandName','filter','_inlineAttributeKeys','attribute:join','track-changes-user-not-found','hasSuggestion','differ','addMarker:suggestion:attribute','deletion:join','markDeletion','discardAllSuggestions','open','toUpperCase','_SUGGESTION_ANNOUNCEMENT','formatInline:discard','getMultiRangeId','high','_reduceSuggestionAttributeRange','formatInline:','moveTargetPosition','insertion:','authorName','track-changes-adapter-missing-getsuggestion','$text','addComment','isObject','keys','getAttribute','forceDefaultExecution','oldValue','registerCustomCallback','suggestion-type','isAfter','hasComments','change:data','_createSuggestion','newValue','_recordAttributeChanges','@external','_getSuggestionData','insertion:chain','isEqual','execute','_joinSuggestions','_reduceExistingSuggestions','suggestionLoaded','getLastMatchingPosition','markMultiRangeBlockFormat','_addThreadToSuggestion','acceptSelectedSuggestions','isLimit','formatInline:accept','addClass','getNearestSelectionRange','howMany','isInContent','editor','_processAttributeChanges','then','activeMarkers','highest','conversion','getChangedMarkers','rejected','meta','for','warn','isBlock','nodeBefore','never','announce','stop','forEach','removeMarker','assign','markMultiRangeDeletion','getCustomProperty','clear','addHighlight','_editor','_suggestionFactory','ck-suggestion-marker--active','mapper','value','isOwn','trackChanges.mergeNestedSuggestions','attributeKey','markAttributeChange','_removeSuggestion','find','accepted','suggestionChanged','addSuggestionData','creator','_addSuggestionMarker','document','createPositionBefore','isMultiRange','markerNameToElements','_isBlockAttribute','_adapter','set','change:_saved','_registerDefaultCallbacks','track-changes-command-not-found','name','markInlineFormat','setAttribute','getRanges','parent','suggestion','editingDowncast','groupId','deletion:','attributes','consumable','collaboration.channelId','some','formatInline:chain','error-saving-suggestion-data-suggestion-discarded','getWalker','isSelectable','commands','getFirstMarker','writer','isExternal','rootName','enableReadOnlyMode','createPositionAfter','delete','config','removeMarker:suggestion:formatBlock','low','stopListening','ck-suggestion-marker','includes','FORMATTING','markBlockFormat','PendingActions','applyOperation','upcast','createRange','$graveyard','normal','addRange','_isDataLoaded','lowest','data','formatBlock','createElement','consume','removeClass','data-suggestion','getItems','key','multipleBlocks','containsRangeInObject','start','requires','removeMarker:suggestion:attribute','root','_splitMarkerName','_joinWithAdjacentSuggestions','get','isCollapsed','removed','formatBlock:accept','newName','_blockAttributeKeys','acceptSuggestion','addMarker:suggestion:formatBlock','addMarkerName','every','deletion:discard','dataDowncast','attribute','accept','define','_mergeNestedSuggestions','author','_cutOutSuggestionMarker','updateSuggestion','toViewElement','_recordAttributeSuggestionsFromVersion','discard','values','deletion:chain','getAllAdjacentSuggestions','commentThread','updateMarker','always','update:suggestion','history','multi','fire','return','formatBlock:join','previous','push','locale','skipNestingCheck','discardSelectedSuggestions','_getAuthorFromId','comments','catch'];(function(_0x1ec929,_0x22b5ba){const _0x388092=function(_0x309615){while(--_0x309615){_0x1ec929['push'](_0x1ec929['shift']());}};_0x388092(++_0x22b5ba);}(_0x22b5,0xe5));const _0x3880=function(_0x1ec929,_0x22b5ba){_0x1ec929=_0x1ec929-0x0;let _0x388092=_0x22b5[_0x1ec929];return _0x388092;};import{Plugin as _0x5a673e,PendingActions as _0x1b4e23}from'ckeditor5/src/core';import{LiveRange as _0x2595e6}from'ckeditor5/src/engine';import{CKEditorError as _0x6be0f0,uid as _0x5396c2,priorities as _0x3b6973,logWarning as _0x54d3bf}from'ckeditor5/src/utils';import{toWidget as _0x498b5e}from'ckeditor5/src/widget';import{Users as _0x42bde0,hashObject as _0x29eae1,surroundingMarkersDetector as _0x24b154}from'ckeditor5-collaboration/src/collaboration-core';import _0x2fe3c5 from'./commands/trackchangescommand';import _0x3b9859 from'./commands/acceptsuggestioncommand';import _0x106d4d from'./commands/discardsuggestioncommand';import _0x47f0a8 from'./commands/executeonallsuggestionscommand';import _0x46f23d from'./commands/executeonselectedsuggestionscommand';import _0x256f0e from'./suggestion';import _0x55cf88 from'./suggestiondescriptionfactory';import _0x49c82e from'./integrations/aiassistant';import _0x230b78 from'./integrations/alignment';import _0xe23a10 from'./integrations/basicstyles';import _0x348368 from'./integrations/blockquote';import _0x2fddb5 from'./integrations/ckbox';import _0x2c671f from'./integrations/codeblock';import _0x1a2ac4 from'./integrations/comments';import _0x28d2da from'./integrations/deletecommand';import _0x44b02c from'./integrations/documentlist';import _0x41719a from'./integrations/documentlistproperties';import _0x2044d5 from'./integrations/entercommand';import _0x500a83 from'./integrations/findandreplace';import _0x263233 from'./integrations/font';import _0x45151e from'./integrations/formatpainter';import _0x3522da from'./integrations/heading';import _0x24fed8 from'./integrations/highlight';import _0x2810f8 from'./integrations/horizontalline';import _0x302e3b from'./integrations/htmlembed';import _0x3030de from'./integrations/image';import _0x409593 from'./integrations/imagereplace';import _0x1b2feb from'./integrations/imagestyle';import _0x3aae38 from'./integrations/importword';import _0x481e90 from'./integrations/indent';import _0x9c2202 from'./integrations/inputcommand';import _0x38bb0c from'./integrations/link';import _0x4ea6cd from'./integrations/list';import _0xd9fce5 from'./integrations/listproperties';import _0x1a4ed4 from'./integrations/mediaembed';import _0x46eade from'./integrations/mention';import _0x1e8843 from'./integrations/pagebreak';import _0x15e022 from'./integrations/paragraph';import _0x382b2b from'./integrations/removeformat';import _0x49cbc0 from'./integrations/restrictededitingmode';import _0x425c25 from'./integrations/shiftentercommand';import _0x41bfc3 from'./integrations/standardeditingmode';import _0x51ae0b from'./integrations/style';import _0x33cf7f from'./integrations/table';import _0x28c10c from'./integrations/tablemergesplit';import _0xc24c73 from'./integrations/tableheadings';import _0x2b6224 from'./integrations/tableclipboard';import _0x5b7f7d from'./integrations/tablecolumnresize';import _0x43a64c from'./integrations/template';import _0x355a7e from'./integrations/tableofcontents';import _0x2830be from'./integrations/title';import _0x53b439 from'./integrations/undo';import _0x34a2fc from'./integrations/tablecaption';import _0x253e69 from'./integrations/tableproperties';import{getTranslation as _0x33b9cf}from'./utils/common-translations';import{isEqual as _0x29860a,omit as _0x45df73}from'lodash-es';export const renameAttributeKey=_0x3880('0x128');export default class p extends _0x5a673e{static get[_0x3880('0x65')](){return['CommentsRepository',_0x42bde0,_0x1b4e23,_0x49c82e,_0x230b78,_0xe23a10,_0x348368,_0x2fddb5,_0x2c671f,_0x1a2ac4,_0x28d2da,_0x44b02c,_0x41719a,_0x2044d5,_0x500a83,_0x263233,_0x45151e,_0x3522da,_0x24fed8,_0x2810f8,_0x302e3b,_0x3030de,_0x1b2feb,_0x409593,_0x3aae38,_0x481e90,_0x9c2202,_0x38bb0c,_0x4ea6cd,_0xd9fce5,_0x1a4ed4,_0x46eade,_0x1e8843,_0x15e022,_0x382b2b,_0x49cbc0,_0x425c25,_0x41bfc3,_0x51ae0b,_0x33cf7f,_0x28c10c,_0xc24c73,_0x34a2fc,_0x2b6224,_0x5b7f7d,_0x355a7e,_0x253e69,_0x43a64c,_0x2830be,_0x53b439];}static get['pluginName'](){return _0x3880('0x119');}constructor(_0x2d86f8){function _0x4ecdac(_0x1b14ad){return _0x1b14ad[_0x3880('0x137')](_0x4b5ff0=>String[_0x3880('0xa2')](_0x4b5ff0))[_0x3880('0x10b')]('');}super(_0x2d86f8),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x3880('0x2c')](_0x3880('0x2'),[]),this['on']('change:activeMarkers',(_0x5292c9,_0xc5336,_0x3f174f,_0x2632f6)=>{this[_0x3880('0x13d')]['change'](()=>{for(const _0x206ce8 of[..._0x2632f6,..._0x3f174f])this[_0x3880('0x13d')]['markers'][_0x3880('0xb0')](_0x206ce8)&&_0x2d86f8[_0x3880('0xbf')]['reconvertMarker'](_0x206ce8);});}),this[_0x3880('0x12f')]=new _0x55cf88(this[_0x3880('0x178')][_0x3880('0x13c')][_0x3880('0xcf')],this[_0x3880('0x178')][_0x3880('0x8e')]),this[_0x3880('0x2b')]=null,this[_0x3880('0x17')]=new Bt(this[_0x3880('0x178')]),this['_suggestions']=new Map(),this[_0x3880('0x13e')]=_0x2d86f8['plugins'][_0x3880('0x6a')](_0x3880('0xab')),this[_0x3880('0x127')]=new Set(),this[_0x3880('0x13d')]=this[_0x3880('0x178')][_0x3880('0x13c')],this['_suggestionState']=new WeakMap(),this[_0x3880('0x109')]=!0x1,this[_0x3880('0x6f')]=new Set([_0x3880('0x128')]),this[_0x3880('0x142')]=new Set(),_0x2d86f8[_0x3880('0x49')][_0x3880('0x78')]('trackChanges.trackFormatChanges',_0x3880('0x11f')),this['_trackFormatChanges']=_0x2d86f8[_0x3880('0x49')][_0x3880('0x6a')](_0x3880('0xe6')),_0x2d86f8['config'][_0x3880('0x78')](_0x3880('0x1c'),!0x0),this[_0x3880('0x79')]=_0x2d86f8['config']['get']('trackChanges.mergeNestedSuggestions'),this[_0x3880('0x9a')]=new _0x2fe3c5(_0x2d86f8,this[_0x3880('0x127')]),this[_0x3880('0xe7')](),this[_0x4ecdac([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4ecdac([0x34,0x30,0x34,0x36,0x32,0x34,0x31,0x36]);}[_0x3880('0xdf')](){const _0x5ed81e=this[_0x3880('0x178')],_0x4c6b4d=(_0x68ae3,_0x9d88cf)=>{if(_0x3880('0x76')!=_0x68ae3)return _0x3880('0x129')+_0x68ae3;const _0x5b6f5b=_0x9d88cf[_0x3880('0x13a')]('|')[0x0];return this['_isBlockAttribute'](_0x5b6f5b)?_0x3880('0x12b'):_0x3880('0x114');};_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x36'))['markerToHighlight']({'model':_0x3880('0x35'),'view':_0x537d82=>{const {id:_0x18d599,type:_0x2d5140,subType:_0x5880f0}=this[_0x3880('0x68')](_0x537d82[_0x3880('0xd3')]),_0x1bfe95=['ck-suggestion-marker',_0x4c6b4d(_0x2d5140,_0x5880f0)];let _0x19d152=0xbb8;return this[_0x3880('0x2')][_0x3880('0x4e')](_0x537d82['markerName'])&&(_0x1bfe95[_0x3880('0x8d')]('ck-suggestion-marker--active'),_0x19d152=0xbc2),'deletion'==_0x2d5140&&(_0x19d152+=0x5),{'classes':_0x1bfe95,'attributes':{'data-suggestion':_0x18d599},'priority':_0x19d152};}}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x75'))['add'](_0x44ebc3=>{_0x44ebc3['on'](_0x3880('0xf4'),(_0xb5576f,_0x254fe5,_0x1b90eb)=>{if(!_0x1b90eb[_0x3880('0xa5')][_0x3880('0x102')])return;const _0xbfc25e=_0x254fe5[_0x3880('0xf5')];if(!_0xbfc25e)return;const _0x4a924d=_0x1b90eb[_0x3880('0x19')][_0x3880('0x7d')](_0xbfc25e);_0x5ed81e[_0x3880('0x13c')]['schema'][_0x3880('0x159')](_0xbfc25e)&&_0x4a924d&&!_0x4a924d['getCustomProperty'](_0x3880('0xa8'))&&_0x4a924d['is']('containerElement')&&_0x498b5e(_0x4a924d,_0x1b90eb['writer']);},{'priority':_0x3880('0x150')});}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x75'))[_0x3880('0xb6')]({'model':_0x3880('0x35'),'view':(_0x2b175,_0x152d6b)=>{if(!_0x152d6b[_0x3880('0xa5')][_0x3880('0x102')])return null;const {type:_0x34bef8,subType:_0x3e50b2}=this[_0x3880('0x68')](_0x2b175[_0x3880('0xd3')]);return{'classes':[_0x3880('0x4d'),_0x4c6b4d(_0x34bef8,_0x3e50b2)],'priority':0xbb8};}});const _0x4a1f9f=({showActiveMarkers:_0x221356=!0x0,isAttributeSuggestion:_0x2f5575=!0x1}={})=>(_0x4aca38,_0x5b83c1,_0x2d109f)=>{if(!_0x5b83c1[_0x3880('0xf5')])return;const {id:_0x526e27}=this['_splitMarkerName'](_0x5b83c1[_0x3880('0xd3')]);if(_0x2f5575){const _0x247083=Pt(this[_0x3880('0xfc')][_0x3880('0x6a')](_0x526e27));if(!this['_isBlockAttribute'](_0x247083))return;}if(_0x5b83c1[_0x3880('0xf5')]['is']('selection'))return void _0x2d109f[_0x3880('0x3a')][_0x3880('0x5d')](_0x5b83c1[_0x3880('0xf5')],_0x4aca38[_0x3880('0x30')]);const _0x57c24b=_0x2d109f[_0x3880('0x19')][_0x3880('0x7d')](_0x5b83c1['item']);if(_0x5b83c1[_0x3880('0xf5')]['is'](_0x3880('0xa3'))&&_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')][_0x3880('0xa')](_0x5b83c1['item'])&&!_0x57c24b['getCustomProperty'](_0x3880('0x15'))){_0x2d109f[_0x3880('0x43')]['addClass'](['ck-suggestion-marker',_0x3880('0x12b')],_0x57c24b),_0x2d109f[_0x3880('0x43')][_0x3880('0x32')](_0x3880('0x5f'),_0x526e27,_0x57c24b),_0x2d109f[_0x3880('0x19')][_0x3880('0xb7')](_0x57c24b,_0x5b83c1[_0x3880('0xd3')]),_0x221356&&(this[_0x3880('0x2')][_0x3880('0x4e')](_0x5b83c1[_0x3880('0xd3')])?_0x2d109f[_0x3880('0x43')][_0x3880('0x174')](_0x3880('0x18'),_0x57c24b):_0x2d109f[_0x3880('0x43')][_0x3880('0x5e')](_0x3880('0x18'),_0x57c24b));for(const _0x36493f of _0x5ed81e[_0x3880('0x13c')]['createRangeIn'](_0x5b83c1['item'])[_0x3880('0x60')]())_0x2d109f[_0x3880('0x3a')]['consume'](_0x36493f,_0x4aca38[_0x3880('0x30')]);_0x2d109f['consumable'][_0x3880('0x5d')](_0x5b83c1[_0x3880('0xf5')],_0x4aca38[_0x3880('0x30')]);}};_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x75'))[_0x3880('0xea')](_0x32a456=>{_0x32a456['on'](_0x3880('0x71'),(_0x6564ca,_0x24de77,_0x13f80b)=>{_0x13f80b[_0x3880('0xa5')][_0x3880('0x102')]&&_0x4a1f9f({'showActiveMarkers':!0x1})(_0x6564ca,_0x24de77,_0x13f80b);},{'priority':'highest'});}),_0x5ed81e[_0x3880('0x4')]['for']('dataDowncast')[_0x3880('0xea')](_0x47d7d9=>{_0x47d7d9['on'](_0x3880('0x147'),(_0x22a306,_0x339d5b,_0x757400)=>{_0x757400['options']['showSuggestionHighlights']&&_0x4a1f9f({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x22a306,_0x339d5b,_0x757400);},{'priority':_0x3880('0x3')});}),_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x75'))[_0x3880('0x106')]({'model':_0x3880('0x35'),'view':(_0x4db86e,_0x23f31f)=>_0x23f31f['options'][_0x3880('0x102')]?null:{'group':'suggestion','name':_0x4db86e['substr'](0xb)}}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x53'))[_0x3880('0xb1')]({'view':{'name':_0x3880('0x35'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x379cba,{writer:_0x47524e})=>{let _0x5b9178=_0x3880('0x133')+_0x379cba[_0x3880('0x15b')](_0x3880('0x15f'))+':'+_0x379cba[_0x3880('0x15b')]('id');return _0x379cba[_0x3880('0x15b')](_0x3880('0x134'))&&(_0x5b9178+=':'+_0x379cba[_0x3880('0x15b')](_0x3880('0x134'))),_0x47524e[_0x3880('0x5c')](_0x3880('0xa6'),{'data-name':_0x5b9178});}}),_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x53'))[_0x3880('0xc6')]({'view':'suggestion'}),_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x36'))[_0x3880('0xea')](_0x25e5af=>{_0x25e5af['on'](_0x3880('0x71'),_0x4a1f9f(),{'priority':'high'});}),_0x5ed81e['conversion'][_0x3880('0x8')](_0x3880('0x36'))['add'](_0x38e79c=>{_0x38e79c['on']('addMarker:suggestion:attribute',_0x4a1f9f({'isAttributeSuggestion':!0x0}),{'priority':_0x3880('0x150')});}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x36'))[_0x3880('0xea')](_0x3555e3=>{_0x3555e3['on'](_0x3880('0x4a'),(_0x36a55c,_0x30cdba,_0x22759e)=>{const _0x244dbc=_0x22759e[_0x3880('0x19')][_0x3880('0x29')](_0x30cdba['markerName']);if(_0x244dbc)for(const _0x3d624c of _0x244dbc)_0x3d624c[_0x3880('0x13')]('addHighlight')||(_0x22759e[_0x3880('0x43')]['removeClass']([_0x3880('0x4d'),'ck-suggestion-marker-formatBlock',_0x3880('0x18')],_0x3d624c),_0x22759e['writer']['removeAttribute']('data-suggestion',_0x3d624c),_0x22759e['mapper'][_0x3880('0xaf')](_0x3d624c,_0x30cdba[_0x3880('0xd3')]));},{'priority':'high'});}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x36'))[_0x3880('0xea')](_0x532b6c=>{_0x532b6c['on'](_0x3880('0x66'),(_0x510cf8,_0x5bb5c3,_0x2092d9)=>{const _0x5ccf0f=_0x2092d9['mapper'][_0x3880('0x29')](_0x5bb5c3['markerName']);if(!_0x5ccf0f)return;const {id:_0x47e136}=this[_0x3880('0x68')](_0x5bb5c3[_0x3880('0xd3')]),_0x1cfe57=Pt(this[_0x3880('0xfc')][_0x3880('0x6a')](_0x47e136));if(this[_0x3880('0x2a')](_0x1cfe57))for(const _0x50fb0c of _0x5ccf0f)_0x50fb0c[_0x3880('0x13')](_0x3880('0x15'))||(_0x2092d9[_0x3880('0x43')][_0x3880('0x5e')]([_0x3880('0x4d'),_0x3880('0x12b'),_0x3880('0x18')],_0x50fb0c),_0x2092d9[_0x3880('0x43')]['removeAttribute'](_0x3880('0x5f'),_0x50fb0c),_0x2092d9[_0x3880('0x19')]['unbindElementFromMarkerName'](_0x50fb0c,_0x5bb5c3['markerName']));},{'priority':_0x3880('0x150')});}),_0x5ed81e['model'][_0x3880('0x26')][_0x3880('0x111')](_0x3fc693=>{let _0x3cd36f=!0x1;const _0x223fc8=Array[_0x3880('0xba')](_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')]['differ']['getChangedMarkers']()),_0xaa7a94=new Set();for(const {name:_0x26d8b2,data:_0x4177f3}of _0x223fc8){const {group:_0x100590,type:_0x178be6,subType:_0x23c56e,id:_0x1884bf}=this[_0x3880('0x68')](_0x26d8b2);if('suggestion'!==_0x100590)continue;const _0x1e148f=this[_0x3880('0xfc')]['get'](_0x1884bf);if(null!=_0x4177f3[_0x3880('0xdb')]){_0x3880('0x108')==_0x178be6&&(_0x3cd36f=_0x3cd36f||Et(_0x4177f3[_0x3880('0xdb')],_0x26d8b2,_0x3fc693,_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')]));const _0x2424a9='attribute'==_0x178be6&&this[_0x3880('0x2a')](_0x23c56e[_0x3880('0x13a')]('|')[0x0]);if(_0x4177f3[_0x3880('0xdb')][_0x3880('0x6b')]||_0x3880('0x55')==_0x4177f3[_0x3880('0xdb')][_0x3880('0x67')][_0x3880('0x45')]||_0x3880('0x5b')==_0x178be6&&!jt(_0x4177f3[_0x3880('0xdb')])||_0x2424a9&&!jt(_0x4177f3[_0x3880('0xdb')])||_0x3880('0xe3')==_0x178be6&&!(!xt(_0xd1fbb6=_0x4177f3[_0x3880('0xdb')])&&!function(_0x5b7ec6){return _0x5b7ec6['start']['parent']==_0x5b7ec6[_0x3880('0xe9')]['nodeBefore']&&_0x5b7ec6[_0x3880('0x64')][_0x3880('0xac')];}(_0xd1fbb6)))_0x3fc693[_0x3880('0x10')](_0x26d8b2),_0x3cd36f=!0x0;else{if(!_0x1e148f||!_0x1e148f[_0x3880('0x177')])continue;_0xaa7a94[_0x3880('0xea')](_0x1e148f);}}}var _0xd1fbb6;return _0xaa7a94[_0x3880('0x107')]>0x0&&(_0x3cd36f=!!this[_0x3880('0x69')](_0xaa7a94)||_0x3cd36f),_0x3cd36f;}),_0x5ed81e[_0x3880('0x13c')]['document'][_0x3880('0x111')](_0x32e2e6=>{let _0x434aa4=!0x1;for(const _0x4b7ea6 of _0x5ed81e['model']['document'][_0x3880('0x146')]['getChanges']())if(_0x3880('0xbd')==_0x4b7ea6['type'])for(const _0x33bcb9 of this['_suggestions'][_0x3880('0x80')]()){if(_0x33bcb9[_0x3880('0x28')]||!_0x33bcb9[_0x3880('0x177')])continue;const _0x13582b=_0x3880('0x5b')==_0x33bcb9[_0x3880('0x103')],_0x5c5419=Pt(_0x33bcb9),_0x159a1e=_0x5c5419&&this[_0x3880('0x2a')](_0x5c5419);if(!_0x13582b&&!_0x159a1e)continue;const _0x401704=_0x33bcb9['getFirstRange']();if(_0x401704[_0x3880('0x64')][_0x3880('0x34')]!=_0x401704['end'][_0x3880('0x34')]&&!_0x401704[_0x3880('0xe9')]['isAtEnd']){const _0x4de8fb=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xc3')](_0x401704['start']['nodeAfter'],_0x3880('0xe9')),_0x5ce7b5=_0x5ed81e[_0x3880('0x13c')][_0x3880('0x54')](_0x401704[_0x3880('0x64')],_0x4de8fb);_0x32e2e6['updateMarker'](_0x33bcb9[_0x3880('0x42')](),{'range':_0x5ce7b5}),_0x434aa4=!0x0;}}return _0x434aa4;}),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')][_0x3880('0x111')](_0x316038=>this[_0x3880('0x0')](_0x316038)),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')][_0x3880('0x111')](_0x5661a3=>!_0x5661a3[_0x3880('0x105')][_0x3880('0x116')]&&this[_0x3880('0xee')](_0x5661a3)),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x94')]['on'](_0x3880('0x86'),(_0x2a5a65,_0x1f8608,_0x28ebfc)=>{if(null==_0x28ebfc){const {id:_0xda830c}=this[_0x3880('0x68')](_0x1f8608[_0x3880('0x30')]),_0x451b6a=this[_0x3880('0xfc')][_0x3880('0x6a')](_0xda830c);_0x451b6a&&_0x451b6a[_0x3880('0x72')](_0x1f8608[_0x3880('0x30')]);}}),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')]['on'](_0x3880('0x162'),()=>{const _0x514f84=Array[_0x3880('0xba')](_0x5ed81e[_0x3880('0x13c')]['document'][_0x3880('0x146')][_0x3880('0x5')]())[_0x3880('0x141')](_0x2ec52a=>'suggestion'===this[_0x3880('0x68')](_0x2ec52a[_0x3880('0x30')])[_0x3880('0xf0')]);if(0x0===_0x514f84[_0x3880('0xe4')])return;_0x514f84['sort']((_0x4d8fd7,_0x46f92b)=>{const _0xfb9c14=_0x4d8fd7[_0x3880('0x5a')]['oldRange'],_0x5a9a3a=_0x46f92b[_0x3880('0x5a')][_0x3880('0xd6')];return null===_0xfb9c14&&null===_0x5a9a3a?0x0:null===_0xfb9c14&&null!==_0x5a9a3a?-0x1:null!==_0xfb9c14&&null===_0x5a9a3a?0x1:_0xfb9c14[_0x3880('0x64')]['isBefore'](_0x5a9a3a[_0x3880('0x64')])?-0x1:0x1;});const _0x22a1cd=new Set(),_0x36db65=new Set();for(const {name:_0x475c3a,data:_0x36f0c6}of _0x514f84){const {id:_0x334361}=this[_0x3880('0x68')](_0x475c3a);if(null===_0x36f0c6[_0x3880('0xd6')]){const _0x2b1305=this[_0x3880('0xeb')](_0x475c3a);_0x36db65[_0x3880('0xea')](_0x2b1305);}else{const _0x5e4fb6=this['_suggestions'][_0x3880('0x6a')](_0x334361);null!==_0x36f0c6['newRange']||_0x5e4fb6[_0x3880('0x177')]?(_0x22a1cd['add'](_0x5e4fb6['head']),_0x36db65[_0x3880('0xea')](_0x5e4fb6)):this[_0x3880('0x1f')](_0x5e4fb6);}}_0x36db65[_0x3880('0x107')]>0x0&&this['_refreshSuggestionsChain'](_0x36db65);for(const _0x66f932 of _0x22a1cd)this[_0x3880('0x89')](_0x3880('0x22'),_0x66f932);}),_0x5ed81e[_0x3880('0x13c')]['on'](_0x3880('0x52'),(_0x1388de,_0x2f5550)=>{const _0x1eaf36=_0x2f5550[0x0];if(!this[_0x3880('0xfc')][_0x3880('0x107')])return;if(!_0x1eaf36[_0x3880('0x9f')])return;if(_0x1eaf36[_0x3880('0x105')][_0x3880('0xb3')]||!_0x1eaf36['batch'][_0x3880('0x116')])return;let _0x5b0a5b,_0x321e1f;switch(_0x1eaf36[_0x3880('0x103')]){case _0x3880('0xbd'):_0x5b0a5b=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xc3')](_0x1eaf36[_0x3880('0x11b')]),_0x321e1f=_0x5b0a5b[_0x3880('0xc2')](_0x1eaf36[_0x3880('0x176')]);break;case'split':_0x5b0a5b=_0x5ed81e['model'][_0x3880('0xc3')](_0x1eaf36[_0x3880('0xf9')]),_0x321e1f=_0x5ed81e['model'][_0x3880('0xc3')](_0x1eaf36[_0x3880('0x153')]);break;case _0x3880('0x104'):_0x5b0a5b=_0x5ed81e[_0x3880('0x13c')]['createPositionAt'](_0x1eaf36['targetPosition']),_0x321e1f=_0x5b0a5b['getShiftedBy'](_0x1eaf36[_0x3880('0x176')]);break;default:return;}const _0xd5b3bb=_0x5ed81e[_0x3880('0x13c')][_0x3880('0x54')](_0x5b0a5b,_0x321e1f);_0x5ed81e[_0x3880('0x13c')]['change'](()=>{for(const {suggestion:_0x47e4f3,meta:_0x371c8e}of this[_0x3880('0x10c')](_0xd5b3bb)){if(_0x47e4f3[_0x3880('0x28')])continue;if(_0x3880('0x108')==_0x47e4f3[_0x3880('0x103')])continue;const _0x2701ed=Pt(_0x47e4f3);if(_0x2701ed&&this[_0x3880('0x2a')](_0x2701ed)&&_0x3880('0x13a')!=_0x1eaf36[_0x3880('0x103')])continue;const _0x13790e=_0x47e4f3[_0x3880('0x5a')]&&_0x47e4f3[_0x3880('0x5a')][_0x3880('0x62')];(_0x3880('0x5b')!=_0x47e4f3[_0x3880('0x103')]||_0x3880('0x13a')==_0x1eaf36[_0x3880('0x103')]&&!_0x13790e)&&(_0x371c8e[_0x3880('0x63')]||'insertion'==_0x47e4f3[_0x3880('0x103')]&&_0x371c8e[_0x3880('0x1b')]||_0x47e4f3[_0x3880('0x96')]()[_0x3880('0xd7')](_0xd5b3bb)&&this[_0x3880('0xf7')](_0x47e4f3,_0x5b0a5b,_0x321e1f));}});},{'priority':_0x3880('0x59')}),_0x5ed81e['model']['on'](_0x3880('0x138'),(_0x36058f,_0xa53254)=>{const _0x10df3c=_0xa53254[0x0],_0x1a79a6=_0xa53254[0x1];if(_0x1a79a6&&_0x1a79a6[_0x3880('0x15c')])return;if(this[_0x3880('0x109')])return;if(!this[_0x3880('0x9a')][_0x3880('0x1a')])return;if(_0x10df3c['isCollapsed'])return;const _0x2888b8=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')],{start:_0x43687a,end:_0x36e323}=_0x10df3c['getFirstRange'](),_0x36d8ae=_0x43687a[_0x3880('0xce')]&&_0x2888b8[_0x3880('0x172')](_0x43687a['nodeAfter'])?null:_0x2888b8[_0x3880('0x175')](_0x43687a,'forward'),_0x1588a3=_0x36e323[_0x3880('0xb')]&&_0x2888b8[_0x3880('0x172')](_0x36e323[_0x3880('0xb')])?null:_0x2888b8[_0x3880('0x175')](_0x36e323,'backward'),_0x1baaa6=_0x5ed81e['model']['createRange'](_0x36d8ae?_0x36d8ae[_0x3880('0x64')]:_0x43687a,_0x1588a3?_0x1588a3['end']:_0x36e323);_0x5ed81e['model'][_0x3880('0xc4')](_0x50aa4b=>{this['markDeletion'](_0x1baaa6);const _0x5f0363=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')][_0x3880('0x175')](_0x1baaa6[_0x3880('0x64')]);_0x10df3c['is'](_0x3880('0x139'))?_0x50aa4b['setSelection'](_0x5f0363):_0x10df3c[_0x3880('0x12d')](_0x5f0363);}),_0x36058f['stop']();},{'priority':_0x3b6973[_0x3880('0x56')]+0xa}),_0x5ed81e[_0x3880('0x13c')]['on'](_0x3880('0xa9'),(_0x1944ea,_0x62baa7)=>{const _0x52765b=_0x62baa7[_0x62baa7[_0x3880('0xe4')]-0x1];_0x52765b&&_0x52765b['forceDefaultExecution']||this[_0x3880('0x109')]||this[_0x3880('0x9a')]['value']&&(_0x5ed81e[_0x3880('0x13c')][_0x3880('0xc4')](()=>{let _0x328d0c=_0x5ed81e['model'][_0x3880('0xa9')](_0x62baa7[0x0],_0x62baa7[0x1],_0x62baa7[0x2],{'forceDefaultExecution':!0x0});if(!_0x328d0c)return;_0x1944ea[_0x3880('0x8a')]=_0x328d0c['clone']();const _0x24fc82=_0x328d0c[_0x3880('0xe9')][_0x3880('0xb')],_0x2372d9=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')];_0x24fc82&&_0x2372d9[_0x3880('0xa')](_0x24fc82)&&!_0x2372d9[_0x3880('0x159')](_0x24fc82)&&(_0x328d0c=_0x5ed81e[_0x3880('0x13c')]['createRange'](_0x328d0c[_0x3880('0x64')],_0x5ed81e['model'][_0x3880('0xc3')](_0x24fc82,_0x3880('0xe9')))),this[_0x3880('0xe5')](_0x328d0c);}),_0x1944ea[_0x3880('0xe')]());},{'priority':'high'}),this['editor'][_0x3880('0x41')][_0x3880('0xea')](_0x3880('0xf8'),this[_0x3880('0x9a')]),this[_0x3880('0xb5')](_0x3880('0xf8'));const _0x5e3f0a=new _0x3b9859(_0x5ed81e,this[_0x3880('0xfc')]);_0x5ed81e[_0x3880('0x41')][_0x3880('0xea')]('acceptSuggestion',_0x5e3f0a),this[_0x3880('0xb5')]('acceptSuggestion');const _0x46937b=new _0x106d4d(_0x5ed81e,this[_0x3880('0xfc')]);_0x5ed81e['commands']['add']('discardSuggestion',_0x46937b),this['enableCommand'](_0x3880('0x10d')),_0x5ed81e[_0x3880('0x41')]['add'](_0x3880('0xbe'),new _0x47f0a8(_0x5ed81e,_0x5e3f0a,this[_0x3880('0xfc')])),this[_0x3880('0xb5')](_0x3880('0xbe')),_0x5ed81e[_0x3880('0x41')][_0x3880('0xea')](_0x3880('0x14a'),new _0x47f0a8(_0x5ed81e,_0x46937b,this['_suggestions'])),this[_0x3880('0xb5')](_0x3880('0x14a')),_0x5ed81e['commands'][_0x3880('0xea')](_0x3880('0x171'),new _0x46f23d(_0x5ed81e,_0x5e3f0a,this[_0x3880('0xfc')])),this[_0x3880('0xb5')](_0x3880('0x171')),_0x5ed81e[_0x3880('0x41')][_0x3880('0xea')](_0x3880('0x90'),new _0x46f23d(_0x5ed81e,_0x46937b,this[_0x3880('0xfc')])),this[_0x3880('0xb5')](_0x3880('0x90'));const _0x59dab4=_0x5ed81e[_0x3880('0xd2')][_0x3880('0x6a')]('CommentsRepository');this['listenTo'](_0x59dab4,_0x3880('0x158'),(_0x58f76b,{threadId:_0x2ee802})=>{const _0x1cf9ec=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x2ee802);_0x1cf9ec&&_0x1cf9ec[_0x3880('0x83')]&&0x1===_0x1cf9ec[_0x3880('0x83')]['length']&&this['_updateSuggestionData'](_0x2ee802,{'hasComments':!0x0});},{'priority':'low'}),this[_0x3880('0x121')](_0x59dab4,'removeComment',(_0x10e36d,{threadId:_0x11b0bf})=>{const _0x2d46ec=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x11b0bf);_0x2d46ec&&_0x2d46ec[_0x3880('0x83')]&&!_0x2d46ec[_0x3880('0x83')][_0x3880('0xe4')]&&this[_0x3880('0x13b')](_0x11b0bf,{'hasComments':!0x1});},{'priority':_0x3880('0x4b')});}set['adapter'](_0x3dac06){if(this[_0x3880('0x2b')])throw new _0x6be0f0('track-changes-adapter-already-set',this);this[_0x3880('0x2b')]=_0x3dac06;}get['adapter'](){return this[_0x3880('0x2b')];}[_0x3880('0xfa')]({skipNotAttached:_0x2dae49=!0x1,toJSON:_0x4d3e9c=!0x1}={}){const _0x33f09d=[];for(const _0x516553 of this['_suggestions'][_0x3880('0x80')]())_0x2dae49&&!_0x516553[_0x3880('0x177')]||_0x33f09d[_0x3880('0x8d')](_0x516553);return _0x4d3e9c?_0x33f09d[_0x3880('0x137')](_0x4d7e0d=>_0x4d7e0d['toJSON']()):_0x33f09d;}[_0x3880('0x110')](_0x251079){const _0x2d34aa=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x251079);if(!_0x2d34aa)throw new _0x6be0f0(_0x3880('0xe0'),this);return _0x2d34aa;}[_0x3880('0x145')](_0xe39e09){return this['_suggestions'][_0x3880('0xb0')](_0xe39e09);}[_0x3880('0x23')](_0x59c5b8){const {authorId:_0xb4c25b,id:_0x2a65ad,attributes:_0x3a87ce}=_0x59c5b8,[_0x28ed65,_0x3ccf3e]=_0x59c5b8[_0x3880('0x103')][_0x3880('0x13a')](':'),_0x51711d=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x2a65ad)||this[_0x3880('0x163')](_0x28ed65,_0x3ccf3e,_0x2a65ad,_0xb4c25b,_0x3a87ce);if(this[_0x3880('0x170')](_0x51711d),this[_0x3880('0xa1')](_0x51711d,_0x28ed65,_0x3ccf3e||null,_0xb4c25b),_0x51711d[_0x3880('0xb9')]=_0x59c5b8[_0x3880('0xb9')],_0x51711d['_isDataLoaded']=!0x0,_0x3a87ce&&_0x3a87ce[_0x3880('0x166')]){const _0x2148a5=_0x3a87ce['@external'],_0x3848a1=this['_getExternalAuthor'](_0x2148a5[_0x3880('0x155')]);_0x51711d[_0x3880('0xb2')]=_0x2148a5[_0x3880('0xb9')],_0x51711d[_0x3880('0x7a')]=_0x3848a1,_0x51711d[_0x3880('0x44')]=!0x0;}else _0x51711d[_0x3880('0xb2')]=_0x59c5b8[_0x3880('0xb9')];switch(_0x59c5b8[_0x3880('0x5a')]&&(_0x51711d[_0x3880('0x5a')]=_0x59c5b8[_0x3880('0x5a')]),_0x59c5b8[_0x3880('0x39')]&&(_0x51711d[_0x3880('0x39')]=_0x59c5b8[_0x3880('0x39')]),this['_adapter']&&this[_0x3880('0x2b')][_0x3880('0x112')]||(_0x51711d['_saved']=!0x0),this[_0x3880('0xf6')][_0x3880('0x6a')](_0x51711d)){case _0x3880('0xda'):this[_0x3880('0xf6')]['set'](_0x51711d,_0x3880('0xf1'));break;case _0x3880('0x10a'):_0x51711d[_0x3880('0x177')]?(this[_0x3880('0x13f')](new Set([_0x51711d])),this[_0x3880('0x69')](new Set([_0x51711d])),this['_suggestionState']['set'](_0x51711d,_0x3880('0xe2')),this['fire'](_0x3880('0x16d'),_0x51711d)):this[_0x3880('0xf6')][_0x3880('0x2c')](_0x51711d,_0x3880('0x6c'));}return _0x51711d;}[_0x3880('0x70')](_0x376fba){this['forceDefaultExecution'](()=>{this[_0x3880('0x178')]['model'][_0x3880('0xc4')](()=>{for(const _0x2734e8 of _0x376fba[_0x3880('0x82')]())_0x2734e8['accept']();});});}[_0x3880('0x10d')](_0x4a77b8){this[_0x3880('0x15c')](()=>{this[_0x3880('0x178')]['model'][_0x3880('0xc4')](()=>{for(const _0x22b328 of _0x4a77b8[_0x3880('0x82')]())_0x22b328[_0x3880('0x7f')]();});});}[_0x3880('0xb5')](_0x43cc7e,_0x570c6b){const _0x22852a=this[_0x3880('0x178')][_0x3880('0x41')][_0x3880('0x6a')](_0x43cc7e);if(!_0x22852a)throw new _0x6be0f0(_0x3880('0x2f'),this,{'commandName':_0x43cc7e});if(this['_enabledCommands'][_0x3880('0xb0')](_0x22852a))throw new _0x6be0f0('track-changes-enable-command-twice',this,{'commandName':_0x43cc7e});this['_enabledCommands'][_0x3880('0xea')](_0x22852a),_0x570c6b&&_0x22852a['on'](_0x3880('0x16a'),(_0x3b8769,_0x2521f8)=>{this[_0x3880('0x9a')][_0x3880('0x1a')]&&(this[_0x3880('0x109')]||(_0x2521f8[_0x3880('0xe4')]>0x0&&_0x2521f8[_0x2521f8['length']-0x1]&&_0x2521f8[_0x2521f8['length']-0x1]['forceDefaultExecution']?_0x2521f8[_0x3880('0xe1')]():(_0x3b8769['return']=_0x570c6b((..._0x35d9da)=>_0x22852a[_0x3880('0x16a')](..._0x35d9da,{'forceDefaultExecution':!0x0}),..._0x2521f8),_0x3b8769[_0x3880('0xe')]())));},{'priority':_0x3880('0x150')});}[_0x3880('0x15c')](_0x4adba9){let _0x209aba,_0x5bac40;const _0x349c62=this[_0x3880('0x109')];this[_0x3880('0x109')]=!0x0;try{_0x209aba=_0x4adba9();}catch(_0x99cd33){_0x5bac40=_0x99cd33;}return _0x349c62||(this[_0x3880('0x109')]=!0x1),_0x5bac40&&_0x6be0f0['rethrowUnexpectedError'](_0x5bac40,this),_0x209aba;}[_0x3880('0xe5')](_0xecf6eb,_0x47cebe=null,_0xa319b={}){if(_0xecf6eb['isCollapsed'])return null;const _0x39e429=this[_0x3880('0x178')]['plugins'][_0x3880('0x6a')](_0x3880('0xd0'))['me'];for(const {suggestion:_0x557a6a,meta:_0x4322b1}of this['_findSuggestions'](_0xecf6eb,_0x3880('0x115')))if(_0x4322b1[_0x3880('0x1b')]){if(!_0x4322b1[_0x3880('0xbb')]){if(_0x4322b1[_0x3880('0x63')]){if(!this[_0x3880('0x79')]||!Gt(_0x557a6a,_0xa319b))continue;return _0x557a6a;}if(Gt(_0x557a6a,_0xa319b))return _0x557a6a;this[_0x3880('0xf7')](_0x557a6a,_0xecf6eb[_0x3880('0x64')],_0xecf6eb['end']);break;}if(_0x47cebe==_0x557a6a[_0x3880('0x12e')]&&Gt(_0x557a6a,_0xa319b)){const _0x38230e=_0x557a6a[_0x3880('0x96')]();return _0x38230e[_0x3880('0x64')][_0x3880('0x169')](_0xecf6eb['end'])?this[_0x3880('0x123')](_0x557a6a,this[_0x3880('0x13d')][_0x3880('0x54')](_0xecf6eb['start'],_0x38230e[_0x3880('0xe9')])):this[_0x3880('0x123')](_0x557a6a,this[_0x3880('0x13d')][_0x3880('0x54')](_0x38230e['start'],_0xecf6eb[_0x3880('0xe9')])),_0x557a6a;}}const _0x43129f=_0x5396c2(),_0x256938=_0x39e429['id'],_0x42d6b8=_0x47cebe?_0x3880('0x154')+_0x47cebe:_0x3880('0x115'),_0x1182d6=this['_setSuggestionData']({'id':_0x43129f,'type':_0x42d6b8,'createdAt':new Date(),'authorId':_0x256938,'attributes':_0xa319b});return this[_0x3880('0x25')](_0x42d6b8,_0x43129f,_0x256938,_0xecf6eb),_0x1182d6;}[_0x3880('0xfb')](_0x3b3a08,_0x300049=_0x3880('0x88'),_0x35a2fa={}){const _0x4f0e8e=this['editor'][_0x3880('0xd2')][_0x3880('0x6a')]('Users')['me'],_0x3d55b7=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x115'),_0x300049,_0x3880('0x10b'));for(const _0x4af7d9 of this['getSuggestions']())if(_0x4af7d9[_0x3880('0x7a')]['id']==_0x4f0e8e['id']&&_0x3880('0x115')==_0x4af7d9[_0x3880('0x103')]&&_0x4af7d9[_0x3880('0x12e')]==_0x300049&&Gt(_0x4af7d9,_0x35a2fa)&&(_0x3d55b7(_0x4af7d9[_0x3880('0x33')](),_0x3b3a08)||_0x3d55b7(_0x3b3a08,_0x4af7d9['getRanges']()))){for(const _0x2e8be6 of _0x3b3a08)_0x4af7d9['addRange'](_0x2e8be6);return _0x4af7d9;}for(const {suggestion:_0x3b3bdc,meta:_0x29c103}of this['_findSuggestions'](_0x3b3a08,_0x3880('0x115'))){if(!_0x29c103[_0x3880('0x1b')])continue;if(!this[_0x3880('0x79')]&&_0x29c103[_0x3880('0x63')])continue;if(!Gt(_0x3b3bdc,_0x35a2fa))continue;let _0x2735e7=!0x0;for(const _0x31b250 of _0x3b3bdc[_0x3880('0x33')]())for(const _0x3824e4 of _0x3b3a08)if(!_0x31b250[_0x3880('0xd7')](_0x3824e4)){_0x2735e7=!0x1;break;}if(_0x2735e7)return _0x3b3bdc;}const _0xbe2f6f=_0x5396c2(),_0x519429=_0x4f0e8e['id'],_0x49ea14=_0x3880('0x154')+_0x300049,_0x28f471=this['_setSuggestionData']({'id':_0xbe2f6f,'type':_0x49ea14,'createdAt':new Date(),'authorId':_0x519429,'attributes':_0x35a2fa});for(const _0x2d8323 of _0x3b3a08)this[_0x3880('0x25')](_0x49ea14,_0xbe2f6f,_0x519429,_0x2d8323,_0x256f0e[_0x3880('0x14f')]());return _0x28f471;}[_0x3880('0x31')](_0x26d141,_0x416da1,_0x5d4205=null,_0x25526d={}){if(_0x5d4205=_0x5d4205||Rt(_0x416da1),_0x26d141['isCollapsed'])return null;if(_0x3880('0xc')===this[_0x3880('0x124')]){const _0x2e73ba=this[_0x3880('0x17')][_0x3880('0x12a')]('formatInline',_0x5d4205,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x2e73ba([_0x26d141],_0x416da1,_0x25526d)),null;}const _0x51c069=this['editor'][_0x3880('0xd2')]['get'](_0x3880('0xd0'))['me'],_0x57be9f=[];if(_0x3880('0x85')!==this[_0x3880('0x124')])for(const {suggestion:_0x3e1f82,meta:_0x561c16}of this[_0x3880('0x10c')](_0x26d141,'insertion'))_0x561c16[_0x3880('0x1b')]&&!_0x561c16[_0x3880('0xf2')]&&_0x57be9f['push'](..._0x3e1f82[_0x3880('0x33')]());const _0x20960e=function(_0x3f9c07,_0x18ba97){const _0x4dcb8c=[];for(const _0x59a99b of _0x18ba97){const _0x15ec67=_0x3f9c07[_0x3880('0x122')](_0x59a99b);_0x15ec67&&_0x4dcb8c[_0x3880('0x8d')](_0x15ec67);}return _0x4dcb8c;}(_0x26d141,_0x57be9f),_0x1dc53a=function(_0x1490b1,_0x251ec3){const _0x408796=[_0x1490b1];for(const _0xa3f092 of _0x251ec3){let _0xa1b3ac=0x0;for(;_0xa1b3ac<_0x408796[_0x3880('0xe4')];){const _0xe64b63=_0x408796[_0xa1b3ac]['getDifference'](_0xa3f092);_0x408796[_0x3880('0x12c')](_0xa1b3ac,0x1,..._0xe64b63),_0xa1b3ac+=_0xe64b63['length'];}}return _0x408796;}(_0x26d141,_0x57be9f);_0x20960e[_0x3880('0xe4')]&&this['_model'][_0x3880('0xc4')](()=>{for(const _0x43ec7b of _0x20960e){const _0x39a18a=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x108'),_0x5d4205,_0x3880('0x77'));this[_0x3880('0x15c')](()=>_0x39a18a([_0x43ec7b],_0x416da1,_0x25526d));}});for(const _0x1df18f of _0x1dc53a){let _0x1847fe=null,_0x15441a=_0x1df18f[_0x3880('0x64')],_0x1eb23b=_0x1df18f[_0x3880('0xe9')];for(const {suggestion:_0x1b8ea5,meta:_0x3e38b8}of this[_0x3880('0x10c')](_0x1df18f,'formatInline')){if(!_0x3e38b8[_0x3880('0x1b')])continue;if(_0x1b8ea5[_0x3880('0x12e')]!=_0x5d4205)continue;if(!Gt(_0x1b8ea5,_0x25526d))continue;const _0x4e22b7=_0x1b8ea5['getFirstRange']();if(_0x4e22b7[_0x3880('0xd7')](_0x1df18f,!0x0))return null;_0x15441a=_0x15441a[_0x3880('0x136')](_0x4e22b7[_0x3880('0x64')])?_0x15441a:_0x4e22b7['start'],_0x1eb23b=_0x1eb23b[_0x3880('0x160')](_0x4e22b7['end'])?_0x1eb23b:_0x4e22b7['end'],_0x1847fe?_0x4e22b7['start'][_0x3880('0x136')](_0x1847fe[_0x3880('0x96')]()[_0x3880('0x64')])?(_0x1847fe[_0x3880('0x113')](),_0x1847fe=_0x1b8ea5):_0x1b8ea5['removeMarkers']():_0x1847fe=_0x1b8ea5;}const _0x58e6c1=this[_0x3880('0x13d')][_0x3880('0x54')](_0x15441a,_0x1eb23b);if(_0x1847fe)this['_setSuggestionRange'](_0x1847fe,_0x58e6c1);else{const _0x4a059b=_0x5396c2(),_0x4cee8a=_0x51c069['id'];this['_setSuggestionData']({'id':_0x4a059b,'type':_0x3880('0x152')+_0x5d4205,'data':_0x416da1,'createdAt':new Date(),'authorId':_0x4cee8a,'attributes':_0x25526d}),this[_0x3880('0x25')]('formatInline:'+_0x5d4205,_0x4a059b,_0x4cee8a,_0x58e6c1);}}return null;}[_0x3880('0x50')](_0x41ac17,_0x3c6800,_0x4534a7=[],_0x177f61=null,_0x633dc7={}){_0x3c6800['formatGroupId']||(_0x3c6800['formatGroupId']=_0x3c6800[_0x3880('0x140')]),_0x3c6800[_0x3880('0x62')]=_0x41ac17['is'](_0x3880('0xfe')),_0x177f61=_0x177f61||Rt(_0x3c6800);const _0x556c19=_0x4534a7[_0x3880('0x137')](_0x20c8f7=>Ut(_0x20c8f7,this[_0x3880('0x13d')])),_0x2ecc5d=_0x41ac17['is'](_0x3880('0xfe'))?_0x41ac17:Ut(_0x41ac17,this[_0x3880('0x13d')]);if(_0x3880('0xc')===this[_0x3880('0x124')]){const _0x5ddf8b=this[_0x3880('0x17')]['getSuggestionCallback'](_0x3880('0x5b'),_0x177f61,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x5ddf8b([_0x2ecc5d],_0x3c6800,_0x633dc7)),null;}_0x556c19[_0x3880('0x8d')](_0x2ecc5d);let _0x34b4fb=!0x0;for(const _0x1ac102 of _0x556c19)if(!this[_0x3880('0x126')](_0x1ac102)){_0x34b4fb=!0x1;break;}if(_0x34b4fb&&'always'!==this[_0x3880('0x124')]){const _0x1870b9=this[_0x3880('0x17')]['getSuggestionCallback']('formatBlock',_0x177f61,_0x3880('0x77'));return this['forceDefaultExecution'](()=>_0x1870b9([_0x2ecc5d],_0x3c6800,_0x633dc7)),null;}let _0x110253=null,_0x2e4445=_0x2ecc5d['start'],_0x4abaf7=_0x2ecc5d[_0x3880('0xe9')];for(const {suggestion:_0x4d506c,meta:_0x36a46c}of this[_0x3880('0x10c')](_0x2ecc5d,_0x3880('0x5b'))){if(!_0x36a46c[_0x3880('0x1b')])continue;if(_0x36a46c[_0x3880('0xbb')]||_0x36a46c[_0x3880('0x63')]||_0x36a46c[_0x3880('0xf2')])continue;if(_0x4d506c[_0x3880('0x5a')][_0x3880('0x11e')]!=_0x3c6800[_0x3880('0x11e')])continue;if(!Gt(_0x4d506c,_0x633dc7))continue;const _0xda0b5f=_0x4d506c[_0x3880('0x96')]();if(_0x4d506c[_0x3880('0x12e')]==_0x177f61){if(_0xda0b5f['containsRange'](_0x2ecc5d,!0x0))return null;_0x2e4445=_0x2e4445[_0x3880('0x136')](_0xda0b5f[_0x3880('0x64')])?_0x2e4445:_0xda0b5f[_0x3880('0x64')],_0x4abaf7=_0x4abaf7['isAfter'](_0xda0b5f[_0x3880('0xe9')])?_0x4abaf7:_0xda0b5f[_0x3880('0xe9')],_0x110253?_0xda0b5f[_0x3880('0x64')][_0x3880('0x136')](_0x110253[_0x3880('0x96')]()['start'])?(_0x110253['removeMarkers'](),_0x110253=_0x4d506c):_0x4d506c[_0x3880('0x113')]():_0x110253=_0x4d506c;}else{const _0x221ee4=_0x2ecc5d[_0x3880('0x122')](_0xda0b5f);this[_0x3880('0x7b')](_0x4d506c,_0x221ee4);}}const _0x350771=this[_0x3880('0x178')][_0x3880('0xd2')]['get'](_0x3880('0xd0'))['me'],_0x519ee1=_0x5396c2(),_0x366b48=_0x350771['id'];if(_0x110253)return this['_setSuggestionRange'](_0x110253,this[_0x3880('0x13d')][_0x3880('0x54')](_0x2e4445,_0x4abaf7)),_0x110253;{const _0x15859d=this['_setSuggestionData']({'id':_0x519ee1,'type':'formatBlock:'+_0x177f61,'data':_0x3c6800,'createdAt':new Date(),'authorId':_0x366b48,'attributes':_0x633dc7});return this[_0x3880('0x25')]('formatBlock:'+_0x177f61,_0x519ee1,_0x366b48,this['_model']['createRange'](_0x2e4445,_0x4abaf7)),_0x15859d;}}[_0x3880('0x16f')](_0x2fb61c,_0x37760f,_0x50b399=[],_0x419b82=null,_0x331e55={}){_0x37760f[_0x3880('0x11e')]||(_0x37760f[_0x3880('0x11e')]=_0x37760f[_0x3880('0x140')]);const _0x3f1638=_0x2fb61c[0x0];_0x37760f['multipleBlocks']=_0x3f1638['is']('range'),_0x419b82=_0x419b82||Rt(_0x37760f);const _0xe33d8d=_0x50b399[_0x3880('0x137')](_0x12659c=>Ut(_0x12659c,this['_model'])),_0x33a0d0=_0x3f1638['is'](_0x3880('0xfe'))?_0x2fb61c:_0x2fb61c[_0x3880('0x137')](_0x5d2256=>Ut(_0x5d2256,this[_0x3880('0x13d')]));if(_0x3880('0xc')===this[_0x3880('0x124')]){const _0x108cd3=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x5b'),_0x419b82,'accept');return this[_0x3880('0x15c')](()=>_0x108cd3(_0x33a0d0,_0x37760f,_0x331e55)),null;}_0xe33d8d[_0x3880('0x8d')](..._0x33a0d0);let _0x5da1f1=!0x0;for(const _0x5d1b67 of _0xe33d8d)if(!this[_0x3880('0x126')](_0x5d1b67)){_0x5da1f1=!0x1;break;}if(_0x5da1f1&&_0x3880('0x85')!==this['_trackFormatChanges']){const _0x3bdb7a=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x5b'),_0x419b82,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x3bdb7a(_0x33a0d0,_0x37760f,_0x331e55)),null;}const _0x290dfb=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0xd0'))['me'];for(const _0x3980c6 of this[_0x3880('0xfa')]()){if(_0x3980c6[_0x3880('0x7a')]['id']!=_0x290dfb['id'])continue;if(_0x3880('0x5b')!=_0x3980c6[_0x3880('0x103')]||_0x3980c6[_0x3880('0x5a')][_0x3880('0x11e')]!=_0x37760f[_0x3880('0x11e')])continue;if(!Gt(_0x3980c6,_0x331e55))continue;const _0x3f602e=_0x3980c6[_0x3880('0x12e')]==_0x419b82;for(let _0x3a04f4=0x0;_0x3a04f4<_0x33a0d0[_0x3880('0xe4')];_0x3a04f4++){const _0x49b991=_0x33a0d0[_0x3a04f4];for(const _0x5767f2 of _0x3980c6['getMarkers']()){const _0x1b78c9=_0x5767f2[_0x3880('0x9c')]();if(_0x49b991[_0x3880('0x169')](_0x1b78c9)){_0x3f602e?(_0x33a0d0[_0x3880('0x12c')](_0x3a04f4,0x1),_0x3a04f4--):_0x3980c6[_0x3880('0x10')](_0x5767f2[_0x3880('0x30')]);break;}}}}if(0x0==_0x33a0d0[_0x3880('0xe4')])return null;const _0xa9a492=this[_0x3880('0x17')][_0x3880('0x12a')]('formatBlock',_0x419b82,_0x3880('0x10b'));for(const _0x19736a of this[_0x3880('0xfa')]())if(_0x19736a[_0x3880('0x7a')]['id']==_0x290dfb['id']&&_0x3880('0x5b')==_0x19736a[_0x3880('0x103')]&&_0x19736a[_0x3880('0x5a')][_0x3880('0x11e')]==_0x37760f['formatGroupId']&&_0x19736a['subType']==_0x419b82&&Gt(_0x19736a,_0x331e55)&&(_0xa9a492(_0x19736a[_0x3880('0x33')](),_0x33a0d0)||_0xa9a492(_0x33a0d0,_0x19736a[_0x3880('0x33')]()))){for(const _0x2f6c79 of _0x33a0d0)_0x19736a[_0x3880('0x57')](_0x2f6c79);return _0x19736a;}const _0x7c98bd=_0x5396c2(),_0x3b91f0=_0x290dfb['id'],_0x5c1661='formatBlock:'+_0x419b82,_0x256905=this[_0x3880('0xd5')]({'id':_0x7c98bd,'type':_0x5c1661,'data':_0x37760f,'createdAt':new Date(),'authorId':_0x3b91f0,'attributes':_0x331e55});for(const _0x1a2993 of _0x33a0d0)this[_0x3880('0x25')](_0x5c1661,_0x7c98bd,_0x3b91f0,_0x1a2993,_0x256f0e[_0x3880('0x14f')]());return _0x256905;}[_0x3880('0x149')](_0x5a40df,_0x522838=null,_0xbe16d7={}){if(_0x5a40df[_0x3880('0x6b')])return null;const _0x57b455=this[_0x3880('0x178')][_0x3880('0xd2')]['get'](_0x3880('0xd0'))['me'],_0x2a364d=new _0x2595e6(_0x5a40df[_0x3880('0x64')],_0x5a40df[_0x3880('0xe9')]);for(const {suggestion:_0x207fec,meta:_0x46de39}of this[_0x3880('0x10c')](_0x2a364d,_0x3880('0x115')))if(_0x46de39[_0x3880('0x1b')]&&!_0x46de39['isNextTo']){if(_0x207fec[_0x3880('0x28')]){const _0x457673=_0x207fec[_0x3880('0x33')]()[_0x3880('0x141')](_0x51dc68=>_0x3880('0x55')!=_0x51dc68['root']['rootName']);_0x457673[_0x3880('0x73')](_0x4b314b=>_0x2a364d[_0x3880('0xd7')](_0x4b314b,!0x0))&&_0x207fec[_0x3880('0x7f')]();if(_0x457673[_0x3880('0x3c')](_0x378aae=>_0x378aae[_0x3880('0xd7')](_0x2a364d,!0x0))){const _0x45b88c=this['_suggestionFactory'][_0x3880('0x12a')](_0x3880('0xe3'),_0x522838,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x45b88c([_0x2a364d],null,_0xbe16d7)),null;}}else{const _0x5d3f68=_0x2a364d[_0x3880('0x122')](_0x207fec[_0x3880('0x96')]());null!==_0x5d3f68&&_0x207fec[_0x3880('0x131')]([_0x5d3f68],null,_0xbe16d7);}}if(_0x2a364d[_0x3880('0x120')](),_0x2a364d[_0x3880('0x6b')]||_0x3880('0x55')==_0x2a364d[_0x3880('0x67')][_0x3880('0x45')])return null;let _0x24f542=null,_0x477205=_0x2a364d[_0x3880('0x64')],_0xa75478=_0x2a364d[_0x3880('0xe9')];const _0x1fe2ff=this['_findSuggestions'](_0x2a364d,'deletion');for(const {suggestion:_0x269aa2,meta:_0xb77287}of _0x1fe2ff){const _0x32fefb=this['_model'][_0x3880('0x54')](_0x477205,_0xa75478);if(_0xb77287['isOwn']&&(this[_0x3880('0x79')]||!_0xb77287[_0x3880('0x63')]&&!_0xb77287[_0x3880('0xf2')])){if(_0x269aa2[_0x3880('0x28')]){if(!Gt(_0x269aa2,_0xbe16d7))continue;let _0x37b368=!0x0;for(const _0x352d43 of _0x269aa2[_0x3880('0x33')]()){if(_0x352d43[_0x3880('0xd7')](_0x32fefb,!0x0))return _0x269aa2;_0x32fefb[_0x3880('0xd7')](_0x352d43)||(_0x37b368=!0x1);}_0x37b368&&_0x269aa2['discard']();}else{const _0xd52db=_0x269aa2[_0x3880('0x96')]();if(_0xd52db[_0x3880('0xd7')](_0x32fefb,!0x0))return _0x269aa2;if(!Gt(_0x269aa2,_0xbe16d7)){_0x32fefb[_0x3880('0xd7')](_0xd52db)?_0x269aa2[_0x3880('0x113')]():_0xd52db[_0x3880('0xb4')](_0x477205)?_0x477205=_0xd52db[_0x3880('0xe9')]:_0xd52db['containsPosition'](_0xa75478)&&(_0xa75478=_0xd52db[_0x3880('0x64')]);continue;}_0x477205=_0x477205[_0x3880('0x136')](_0xd52db['start'])?_0x477205:_0xd52db[_0x3880('0x64')],_0xa75478=_0xa75478[_0x3880('0x160')](_0xd52db[_0x3880('0xe9')])?_0xa75478:_0xd52db[_0x3880('0xe9')],_0xbe16d7=Object[_0x3880('0x11')]({},_0x269aa2[_0x3880('0x39')]),_0x24f542?_0xd52db[_0x3880('0x64')][_0x3880('0x136')](_0x24f542['getFirstRange']()[_0x3880('0x64')])?(_0x24f542[_0x3880('0x113')](),_0x24f542=_0x269aa2):_0x269aa2[_0x3880('0x113')]():_0x24f542=_0x269aa2;}}}if(_0x24f542)return this[_0x3880('0x123')](_0x24f542,this[_0x3880('0x13d')][_0x3880('0x54')](_0x477205,_0xa75478)),_0x24f542;{const _0x2dc23a=_0x5396c2(),_0x519f7e=this[_0x3880('0x13d')][_0x3880('0x54')](_0x477205,_0xa75478),_0x2a8bde=_0x57b455['id'],_0x209101=_0x522838?_0x3880('0x38')+_0x522838:_0x3880('0xe3'),_0x1d1762=this['_setSuggestionData']({'id':_0x2dc23a,'type':_0x209101,'createdAt':new Date(),'authorId':_0x2a8bde,'attributes':_0xbe16d7});return this[_0x3880('0x25')](_0x209101,_0x2dc23a,_0x2a8bde,_0x519f7e),_0x1d1762;}}[_0x3880('0x12')](_0x583b89,_0x28e189='multi',_0x248f78={}){const _0x42f502=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')]('Users')['me'],_0x169266=_0x583b89['map'](_0x3191c1=>new _0x2595e6(_0x3191c1[_0x3880('0x64')],_0x3191c1[_0x3880('0xe9')])),_0x5d198a=new Set();for(const {suggestion:_0x6c359b,meta:_0x57d753}of this['_findSuggestions'](_0x169266,_0x3880('0x115')))_0x57d753[_0x3880('0x1b')]&&!_0x57d753['isNextTo']&&_0x5d198a[_0x3880('0xea')](_0x6c359b);for(const _0x315d9d of _0x5d198a)if(_0x315d9d[_0x3880('0x28')]){const _0x3b13cf=_0x315d9d[_0x3880('0x33')]();(!_0x315d9d['attributes']||!_0x315d9d[_0x3880('0x39')][_0x3880('0x8f')])&&(_0x3b13cf[_0x3880('0x73')](_0x299835=>_0x169266['some'](_0x55bb43=>_0x55bb43[_0x3880('0xd7')](_0x299835,!0x0)))&&_0x315d9d[_0x3880('0x7f')]());if(_0x169266[_0x3880('0x73')](_0x384c1b=>_0x3b13cf[_0x3880('0x3c')](_0xa80e8a=>_0xa80e8a[_0x3880('0xd7')](_0x384c1b,!0x0)))){const _0x52dec7=this['_suggestionFactory'][_0x3880('0x12a')](_0x3880('0xe3'),_0x28e189,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x52dec7(_0x583b89,null,_0x248f78)),null;}}else{const _0x5cdc89=_0x315d9d[_0x3880('0x96')]();_0x169266[_0x3880('0x3c')](_0x4f16b6=>_0x4f16b6[_0x3880('0xd7')](_0x5cdc89,!0x0))&&_0x315d9d[_0x3880('0x7f')]();if(_0x169266[_0x3880('0x73')](_0x4c95bb=>_0x5cdc89[_0x3880('0xd7')](_0x4c95bb,!0x0))){const _0x4dcb7e=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0xe3'),_0x28e189,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x4dcb7e(_0x169266,null,_0x248f78)),null;}}const _0x3a688f=this[_0x3880('0x17')]['getSuggestionCallback'](_0x3880('0xe3'),_0x28e189,_0x3880('0x10b'));let _0x4f3b3f=null;for(const _0x952572 of this[_0x3880('0xfa')]())if(_0x952572[_0x3880('0x7a')]['id']==_0x42f502['id']&&_0x952572['isInContent']&&_0x3880('0xe3')==_0x952572[_0x3880('0x103')]&&_0x952572[_0x3880('0x12e')]==_0x28e189&&Gt(_0x952572,_0x248f78)&&(_0x3a688f(_0x952572[_0x3880('0x33')](),_0x169266)||_0x3a688f(_0x169266,_0x952572['getRanges']()))){if(_0x4f3b3f){if(_0x952572[_0x3880('0x83')]&&_0x952572[_0x3880('0x83')]['length'])continue;for(const _0x8e47b8 of _0x952572[_0x3880('0x33')]())_0x4f3b3f[_0x3880('0xa4')](_0x8e47b8)||_0x4f3b3f[_0x3880('0x57')](_0x8e47b8);_0x952572[_0x3880('0x113')]();}else{_0x4f3b3f=_0x952572;for(const _0x2de8fc of _0x169266)_0x952572[_0x3880('0xa4')](_0x2de8fc)||_0x952572[_0x3880('0x57')](_0x2de8fc);}}if(_0x4f3b3f)return _0x4f3b3f;_0x5d198a[_0x3880('0x14')]();for(const {suggestion:_0x580e38,meta:_0x1afc84}of this[_0x3880('0x10c')](_0x169266,_0x3880('0xe3')))_0x1afc84[_0x3880('0x1b')]&&(this[_0x3880('0x79')]||!_0x1afc84[_0x3880('0x63')]&&!_0x1afc84[_0x3880('0xf2')])&&Gt(_0x580e38,_0x248f78)&&_0x5d198a[_0x3880('0xea')](_0x580e38);for(const _0x26e717 of _0x5d198a){const _0x435575=_0x26e717['getRanges']();if(!_0x248f78||!_0x248f78[_0x3880('0x8f')]){if(_0x169266[_0x3880('0x73')](_0xac847f=>_0x435575[_0x3880('0x3c')](_0x2c1b98=>_0x2c1b98[_0x3880('0xd7')](_0xac847f,!0x0))))return _0x26e717;}(!_0x26e717['attributes']||!_0x26e717[_0x3880('0x39')][_0x3880('0x8f')])&&(_0x435575[_0x3880('0x73')](_0x4fba42=>_0x169266[_0x3880('0x3c')](_0x2c36a3=>_0x2c36a3[_0x3880('0xd7')](_0x4fba42,!0x0)))&&_0x26e717[_0x3880('0x7f')]());}const _0x2c647d=_0x5396c2(),_0x267c8f=_0x42f502['id'],_0x1d9928=_0x3880('0x38')+_0x28e189,_0x1320d3=this[_0x3880('0xd5')]({'id':_0x2c647d,'type':_0x1d9928,'createdAt':new Date(),'authorId':_0x267c8f,'attributes':_0x248f78});for(const _0x730371 of _0x169266)_0x730371[_0x3880('0x120')](),_0x730371['isCollapsed']||_0x3880('0x55')==_0x730371[_0x3880('0x67')]['rootName']||this[_0x3880('0x25')](_0x1d9928,_0x2c647d,_0x267c8f,_0x730371,_0x256f0e[_0x3880('0x14f')]());return _0x1320d3;}[_0x3880('0x1e')](_0x46d0aa,_0x2d2414,_0x3b28c6,_0x5367fd,_0xe2c7fe){if(_0x46d0aa[_0x3880('0x6b')])return[];if('never'===this[_0x3880('0x124')])return[];const _0x3ceaa9=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0xd0'))['me']['id'],_0x24e28a=Array[_0x3880('0xba')](this[_0x3880('0xfc')][_0x3880('0x80')]())['filter'](_0x2f659d=>_0x3880('0x76')==_0x2f659d[_0x3880('0x103')]&&_0x2f659d[_0x3880('0x5a')][_0x3880('0x61')]==_0x2d2414&&_0x2f659d[_0x3880('0xa4')](_0x46d0aa));if('default'===this[_0x3880('0x124')]){const _0x2b65d1=this[_0x3880('0x10c')](_0x46d0aa,'insertion')[_0x3880('0x141')](({meta:_0x1bb0f8})=>_0x1bb0f8[_0x3880('0x1b')]&&!_0x1bb0f8[_0x3880('0xf2')]&&!_0x1bb0f8[_0x3880('0xbb')])['map'](({suggestion:_0x3df3d1})=>_0x3df3d1);_0x24e28a['unshift'](..._0x2b65d1);}const _0x4f1a30=new Map([[_0x46d0aa,_0x3b28c6]]);for(const _0x1ded23 of _0x24e28a){const _0x288118=_0x3880('0x76')==_0x1ded23[_0x3880('0x103')]?_0x1ded23[_0x3880('0x5a')][_0x3880('0x15d')]:void 0x0,_0x9649ae=_0x1ded23['getFirstRange'](),_0x356c49=Array['from'](_0x4f1a30[_0x3880('0x15a')]())[_0x3880('0x20')](_0x1570d0=>_0x1570d0[_0x3880('0x132')](_0x9649ae));if(!_0x356c49)continue;const _0x508790=_0x356c49[_0x3880('0x95')](_0x9649ae);this[_0x3880('0x2a')](_0x2d2414)&&_0x3880('0x115')==_0x1ded23[_0x3880('0x103')]&&0x0!=_0x508790[_0x3880('0xe4')]||(_0x4f1a30[_0x3880('0x48')](_0x356c49),_0x508790['forEach'](_0x5639a2=>{_0x4f1a30[_0x3880('0x2c')](_0x5639a2,_0x3b28c6);}),_0x3880('0x115')!=_0x1ded23[_0x3880('0x103')]&&_0x288118!=_0x5367fd&&_0x4f1a30[_0x3880('0x2c')](_0x356c49['getIntersection'](_0x9649ae),_0x288118));}const _0x475dc4=[];for(const [_0x96f6e0,_0x4581d1]of _0x4f1a30){const _0x3c6860=_0x5396c2(),_0x564273={'key':_0x2d2414,'oldValue':_0x4581d1,'newValue':_0x5367fd};_0x2d2414[_0x3880('0xe4')]>0x25&&console[_0x3880('0x9')](_0x3880('0x10f'),{'key':_0x2d2414});const _0x5c80f9=('attribute:'+(_0x2d2414+'|'+Rt({'newValue':_0x5367fd})))[_0x3880('0xc5')](0x0,0x3c),_0x127736=this[_0x3880('0xd5')]({'id':_0x3c6860,'type':_0x5c80f9,'data':_0x564273,'createdAt':new Date(),'authorId':_0x3ceaa9,'attributes':_0xe2c7fe});_0x475dc4[_0x3880('0x8d')](_0x127736),this['_addSuggestionMarker'](_0x5c80f9,_0x3c6860,_0x3ceaa9,_0x96f6e0);}return _0x475dc4;}['_registerBlockAttribute'](_0x206efd){this[_0x3880('0x6f')][_0x3880('0xea')](_0x206efd);}[_0x3880('0xd1')](_0x49f691){this[_0x3880('0x142')][_0x3880('0xea')](_0x49f691);}[_0x3880('0x9b')](_0x141b07,_0x379b82=[],_0x9a9f7e=[]){this[_0x3880('0xb5')](_0x141b07,(_0x422880,..._0x39f5e6)=>{this[_0x3880('0x165')](()=>{_0x422880(..._0x39f5e6);});});for(const _0x1929f9 of _0x379b82)this[_0x3880('0xd1')](_0x1929f9);for(const _0xbeb3b4 of _0x9a9f7e)this[_0x3880('0x101')](_0xbeb3b4);}[_0x3880('0x123')](_0x1548f6,_0x3c1b20){const _0x3d7ad1=_0x1548f6[_0x3880('0x42')]();this['_model'][_0x3880('0xc4')](_0x5a5d29=>{_0x5a5d29[_0x3880('0x84')](_0x3d7ad1,{'range':_0x3c1b20});});}[_0x3880('0x170')](_0x9f85c){const _0x3eecdd=_0x9f85c['id'],_0x415720=this[_0x3880('0x178')]['config']['get'](_0x3880('0x3b'));this[_0x3880('0x13e')]['hasCommentThread'](_0x3eecdd)||this[_0x3880('0x13e')][_0x3880('0xde')]({'channelId':_0x415720,'threadId':_0x3eecdd,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x966816=this[_0x3880('0x13e')]['getCommentThread'](_0x3eecdd);_0x966816['unbind'](_0x3880('0xa0')),_0x966816['isRemovable']=!0x1,_0x9f85c['commentThread']=_0x966816;}[_0x3880('0xa1')](_0x3245fd,_0x3d2b5d,_0x271e27,_0x3836f2){if(_0x3245fd[_0x3880('0x103')]!=_0x3d2b5d||_0x3245fd[_0x3880('0x12e')]!=_0x271e27||_0x3245fd[_0x3880('0x24')]['id']!=_0x3836f2)throw this[_0x3880('0x178')][_0x3880('0x46')]('track-changes-suggestion-data-mismatch'),new _0x6be0f0('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x2beaca,_0x4f4439){const _0x5168d1=_0x2beaca[_0x3880('0x96')]();if(_0x4f4439['isEqual'](_0x5168d1))_0x2beaca[_0x3880('0x113')]();else{if(_0x5168d1['containsRange'](_0x4f4439)){const _0x5a91f1=this[_0x3880('0x13d')][_0x3880('0xc3')](_0x4f4439[_0x3880('0x64')][_0x3880('0xb')],'end');this[_0x3880('0x123')](_0x2beaca,this[_0x3880('0x13d')][_0x3880('0x54')](_0x5168d1[_0x3880('0x64')],_0x5a91f1));const _0x3960ea=_0x5396c2(),_0x28edc6=_0x2beaca[_0x3880('0x24')]['id'],_0x1cd963=_0x2beaca[_0x3880('0x103')]+':'+_0x2beaca[_0x3880('0x12e')];this[_0x3880('0xd5')]({'id':_0x3960ea,'type':_0x1cd963,'createdAt':new Date(),'authorId':_0x28edc6,'data':_0x2beaca[_0x3880('0x5a')],'attributes':_0x2beaca[_0x3880('0x39')]});const _0x5f2b20=this[_0x3880('0x13d')][_0x3880('0xc3')](_0x4f4439[_0x3880('0xe9')][_0x3880('0x34')],_0x3880('0xc8')),_0x34b5f7=this[_0x3880('0x13d')][_0x3880('0x54')](_0x5f2b20,_0x5168d1[_0x3880('0xe9')]);this['_addSuggestionMarker'](_0x1cd963,_0x3960ea,_0x28edc6,_0x34b5f7);}else{if(_0x5168d1[_0x3880('0xb4')](_0x4f4439[_0x3880('0x64')])){const _0x68fbfe=this['_model'][_0x3880('0xc3')](_0x4f4439[_0x3880('0x64')]['nodeBefore'],_0x3880('0xe9'));this[_0x3880('0x123')](_0x2beaca,this['_model'][_0x3880('0x54')](_0x5168d1[_0x3880('0x64')],_0x68fbfe));}else{const _0xb90df2=this['_model'][_0x3880('0xc3')](_0x4f4439['end'][_0x3880('0x34')],_0x3880('0xc8'));this['_setSuggestionRange'](_0x2beaca,this['_model']['createRange'](_0xb90df2,_0x5168d1['end']));}}}}[_0x3880('0x126')](_0x4656bb){for(const {suggestion:_0x2c48af,meta:_0x454e38}of this[_0x3880('0x10c')](_0x4656bb,_0x3880('0x115'))){if(!_0x454e38[_0x3880('0x1b')])continue;const _0x1a0a92=_0x2c48af[_0x3880('0x33')]();for(const _0x35844b of _0x1a0a92)if(!_0x4656bb[_0x3880('0x95')](_0x35844b)[_0x3880('0xe4')])return!0x0;}return!0x1;}[_0x3880('0x91')](_0x3ae762){const _0x217312=this[_0x3880('0x178')]['plugins'][_0x3880('0x6a')](_0x3880('0xd0'))['getUser'](_0x3ae762);if(!_0x217312)throw new _0x6be0f0(_0x3880('0x144'),this);return _0x217312;}['_getExternalAuthor'](_0x27a064){const _0x43ebe7=this['editor'][_0x3880('0xd2')]['get']('Users'),_0x21bf17=_0x29eae1('external:'+_0x27a064),_0x2ab953=_0x43ebe7[_0x3880('0xcc')](_0x21bf17);return _0x2ab953||_0x43ebe7[_0x3880('0xdd')]({'id':_0x21bf17,'name':_0x27a064});}[_0x3880('0x163')](_0xa6ff36,_0x2f909d,_0x53398f,_0x152bac,_0x403d09){const _0x1c1fc6=this[_0x3880('0x91')](_0x152bac),_0x2e6747=this[_0x3880('0x17')]['buildSuggestion'](_0xa6ff36,_0x2f909d,_0x53398f,_0x1c1fc6,_0x403d09,_0x3a6de5=>this['_updateSuggestionData'](_0x53398f,{'attributes':_0x3a6de5}));return this[_0x3880('0x121')](_0x2e6747,_0x3880('0x77'),()=>{this[_0x3880('0x13b')](_0x53398f,{'state':_0x3880('0x21')});},{'priority':_0x3880('0x150')}),this[_0x3880('0x121')](_0x2e6747,_0x3880('0x7f'),()=>{this[_0x3880('0x13b')](_0x53398f,{'state':_0x3880('0x6')});},{'priority':_0x3880('0x150')}),this[_0x3880('0xfc')]['set'](_0x53398f,_0x2e6747),this['_suggestionState'][_0x3880('0x2c')](_0x2e6747,_0x3880('0xda')),_0x2e6747;}[_0x3880('0x68')](_0x2530d5){const _0xbb1135=_0x2530d5[_0x3880('0x13a')](':');return{'group':_0xbb1135[0x0],'type':_0xbb1135[0x1],'subType':_0xbb1135[_0x3880('0xe4')]>=0x5?_0xbb1135[0x2]:null,'id':_0xbb1135['length']<0x5?_0xbb1135[0x2]:_0xbb1135[0x3],'authorId':_0xbb1135[_0x3880('0xe4')]<0x5?_0xbb1135[0x3]:_0xbb1135[0x4],'markerCount':0x6==_0xbb1135[_0x3880('0xe4')]?_0xbb1135[0x5]:null};}[_0x3880('0xf7')](_0x496a75,_0x4081a7,_0x20a4b0){const _0x7b8f8e=_0x496a75[_0x3880('0x96')](),_0x49fe1f=_0x7b8f8e[_0x3880('0x64')],_0x4d85b5=_0x7b8f8e['end'];this[_0x3880('0x123')](_0x496a75,this[_0x3880('0x13d')][_0x3880('0x54')](_0x49fe1f,_0x4081a7));const _0x32b541=_0x5396c2(),_0x493812=_0x496a75[_0x3880('0x24')]['id'],_0x361144=_0x496a75[_0x3880('0x103')]+(_0x496a75['subType']?':'+_0x496a75[_0x3880('0x12e')]:'');this['_setSuggestionData']({'id':_0x32b541,'type':_0x361144,'createdAt':new Date(),'authorId':_0x493812,'originalSuggestionId':_0x496a75['id'],'attributes':_0x496a75[_0x3880('0x39')],'data':_0x496a75[_0x3880('0x5a')]});const _0x5ef22e=Pt(_0x496a75);(_0x3880('0x5b')==_0x496a75[_0x3880('0x103')]||_0x5ef22e&&this[_0x3880('0x2a')](_0x5ef22e))&&(_0x20a4b0=this['_model'][_0x3880('0x27')](_0x20a4b0['parent'])),this['_addSuggestionMarker'](_0x361144,_0x32b541,_0x493812,this[_0x3880('0x13d')][_0x3880('0x54')](_0x20a4b0,_0x4d85b5));}[_0x3880('0x10c')](_0xde3fa1,_0xd99b6e=null){const _0x5335a7=[],_0x291a8a=this[_0x3880('0x178')]['plugins'][_0x3880('0x6a')]('Users')['me'];Array['isArray'](_0xde3fa1)||(_0xde3fa1=[_0xde3fa1]);for(const _0xa838f5 of this[_0x3880('0xfa')]()){if(!_0xa838f5[_0x3880('0x177')])continue;if(_0xd99b6e&&_0xa838f5[_0x3880('0x103')]!=_0xd99b6e)continue;let _0x3d068d=!0x1;for(const _0x4044c5 of _0xa838f5['getRanges']()){for(const _0xcd5458 of _0xde3fa1){const _0x1eaa8c=_0xcd5458[_0x3880('0x64')][_0x3880('0x169')](_0x4044c5['end'])||_0xcd5458[_0x3880('0xe9')][_0x3880('0x169')](_0x4044c5['start']);if(_0x1eaa8c||_0xcd5458[_0x3880('0x122')](_0x4044c5)){const _0x9c88ef=_0xcd5458[_0x3880('0xd7')](_0x4044c5)&&Tt(this[_0x3880('0x13d')][_0x3880('0xcf')],_0x4044c5[_0x3880('0x64')],_0xcd5458),_0x518914=_0x4044c5[_0x3880('0xd7')](_0xcd5458)&&Tt(this['_model'][_0x3880('0xcf')],_0xcd5458['start'],_0x4044c5);_0x5335a7[_0x3880('0x8d')]({'suggestion':_0xa838f5,'meta':{'isOwn':_0x291a8a==_0xa838f5[_0x3880('0x7a')],'isNextTo':_0x1eaa8c,'isInsideObject':_0x9c88ef,'containsRangeInObject':_0x518914}}),_0x3d068d=!0x0;break;}}if(_0x3d068d)break;}}return _0x5335a7;}[_0x3880('0x25')](_0x28c9fd,_0x338109,_0x48b9f1,_0x2b2146,_0x2d0bb8){this[_0x3880('0x13d')][_0x3880('0xc4')](_0x43b31a=>{let _0x5ecf05=_0x3880('0x133')+_0x28c9fd+':'+_0x338109+':'+_0x48b9f1;_0x2d0bb8&&(_0x5ecf05=_0x5ecf05+':'+_0x2d0bb8),_0x43b31a[_0x3880('0x9d')](_0x5ecf05,{'range':_0x2b2146,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3880('0x1f')](_0x18d3fe){const _0x2ee061=_0x18d3fe[_0x3880('0x8c')],_0x3952e3=_0x18d3fe[_0x3880('0xef')];_0x18d3fe['previous']=null,_0x18d3fe[_0x3880('0xef')]=null,null!=_0x2ee061&&(_0x2ee061['next']=_0x3952e3),null!=_0x3952e3&&(_0x3952e3[_0x3880('0x8c')]=_0x2ee061),_0x3880('0xe2')==this[_0x3880('0xf6')][_0x3880('0x6a')](_0x18d3fe)&&(this[_0x3880('0xf6')][_0x3880('0x2c')](_0x18d3fe,'removed'),this['fire']('suggestionUnloaded',_0x18d3fe,_0x2ee061,_0x3952e3));}[_0x3880('0xd5')](_0x46f3d9){const _0x1ee631=_0x46f3d9['id'],_0x52c9ef=this[_0x3880('0x23')](_0x46f3d9);if(this['_adapter']&&this[_0x3880('0x2b')][_0x3880('0x112')]){const _0x352ce9=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0x51')),_0x164d3c=_0x52c9ef[_0x3880('0x161')],_0x5552fe=_0x52c9ef[_0x3880('0x12e')]?_0x52c9ef[_0x3880('0x103')]+':'+_0x52c9ef['subType']:_0x52c9ef[_0x3880('0x103')],_0x2b7849=this[_0x3880('0x178')][_0x3880('0x8e')],_0x5c7cbe=_0x352ce9[_0x3880('0xea')](_0x33b9cf(_0x2b7849,_0x3880('0xa7'))),_0x489d7b={'id':_0x1ee631,'type':_0x5552fe,'hasComments':_0x164d3c,'data':_0x46f3d9[_0x3880('0x5a')]||null,'originalSuggestionId':_0x46f3d9[_0x3880('0xc1')]||null,'attributes':_0x52c9ef[_0x3880('0x39')]};this[_0x3880('0x2b')][_0x3880('0x112')](_0x489d7b)[_0x3880('0x1')](_0x3f2120=>{_0x52c9ef['_saved']=!0x0,_0x352ce9[_0x3880('0xe8')](_0x5c7cbe),_0x3f2120&&_0x3f2120[_0x3880('0xb9')]&&(this[_0x3880('0xfc')]['get'](_0x1ee631)['createdAt']=_0x3f2120[_0x3880('0xb9')]);})[_0x3880('0x93')](_0x398b73=>{throw _0x54d3bf(_0x3880('0x3e')),this[_0x3880('0x178')][_0x3880('0x13c')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x52c9ef['discard']();}),_0x52c9ef[_0x3880('0x4c')](),this[_0x3880('0xfc')]['delete'](_0x52c9ef['id']),this[_0x3880('0xf6')][_0x3880('0x48')](_0x52c9ef),_0x398b73;});}return _0x52c9ef;}[_0x3880('0x2a')](_0x24926b){return this[_0x3880('0x6f')]['has'](_0x24926b);}[_0x3880('0x13b')](_0x58ef20,_0x2de9b9){const _0xd768f3=this['editor'][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0x51')),_0x52998d=this['getSuggestion'](_0x58ef20);if(this['_adapter']&&this['_adapter'][_0x3880('0x7c')]){if(_0x52998d['_saved']){const _0x3ceb43=_0xd768f3['add'](_0x33b9cf(this[_0x3880('0x178')][_0x3880('0x8e')],_0x3880('0xa7')));this['_adapter']['updateSuggestion'](_0x58ef20,_0x2de9b9)[_0x3880('0x1')](()=>{_0xd768f3[_0x3880('0xe8')](_0x3ceb43);});}else _0x52998d['on'](_0x3880('0x2d'),()=>{this[_0x3880('0x13b')](_0x58ef20,_0x2de9b9);});}}[_0x3880('0x167')](_0x5ccdb7){if(!this['_adapter']||!this[_0x3880('0x2b')][_0x3880('0x110')])throw new _0x6be0f0(_0x3880('0x156'),this);return this[_0x3880('0x2b')][_0x3880('0x110')](_0x5ccdb7);}[_0x3880('0xeb')](_0x2c4f16){const {id:_0x188049,type:_0x8cbbf0,subType:_0x54ed8a,authorId:_0x118f38}=this[_0x3880('0x68')](_0x2c4f16),_0x13768b=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x188049)||this[_0x3880('0x163')](_0x8cbbf0,_0x54ed8a,_0x188049,_0x118f38,{});switch(this['_checkSuggestionCorrectness'](_0x13768b,_0x8cbbf0,_0x54ed8a,_0x118f38),this['_suggestionState']['get'](_0x13768b)){case _0x3880('0xda'):this[_0x3880('0x167')](_0x188049)[_0x3880('0x1')](_0x5ac647=>{let _0x555ee6=Promise[_0x3880('0xec')]();_0x5ac647[_0x3880('0x161')]&&(_0x555ee6=this['_commentsRepository']['fetchCommentThread']({'channelId':this[_0x3880('0x178')]['config'][_0x3880('0x6a')]('collaboration.channelId'),'threadId':_0x188049})),_0x555ee6[_0x3880('0x1')](()=>{this[_0x3880('0x23')](_0x5ac647)['_saved']=!0x0;});}),this[_0x3880('0xf6')][_0x3880('0x2c')](_0x13768b,_0x3880('0x10a'));break;case _0x3880('0x6c'):this['_updateSuggestionData'](_0x188049,{'state':_0x3880('0x14b')});case _0x3880('0xf1'):this[_0x3880('0xf6')][_0x3880('0x2c')](_0x13768b,_0x3880('0xe2')),this['fire'](_0x3880('0x16d'),_0x13768b);break;case _0x3880('0xe2'):this[_0x3880('0x89')](_0x3880('0x22'),_0x13768b);}return _0x13768b[_0x3880('0x72')](_0x2c4f16),_0x13768b;}[_0x3880('0x13f')](_0x3f5a5b){const _0x29baee=Array[_0x3880('0xba')](_0x3f5a5b),_0x16e991=_0x29baee[_0x3880('0x141')](_0x46198a=>_0x3880('0x76')==_0x46198a[_0x3880('0x103')]);this[_0x3880('0x99')](_0x16e991);const _0x2710a0=_0x29baee['filter'](_0x40f4d6=>!_0x40f4d6[_0x3880('0x28')]&&_0x3880('0x76')!=_0x40f4d6[_0x3880('0x103')]),_0xd5eda=this[_0x3880('0xfa')]({'skipNotAttached':!0x0})[_0x3880('0x141')](_0x61360a=>!_0x61360a[_0x3880('0x28')]&&'attribute'!=_0x61360a[_0x3880('0x103')]),_0x7ae04e=_0xd5eda[_0x3880('0x141')](_0x37a2db=>!_0x3f5a5b[_0x3880('0xb0')](_0x37a2db)),_0x3a0713=new Map(_0xd5eda[_0x3880('0x137')](_0x5d9f18=>[_0x5d9f18,this['_suggestionFactory'][_0x3880('0x12a')](_0x5d9f18[_0x3880('0x103')],_0x5d9f18[_0x3880('0x12e')],_0x3880('0x117'))])),_0x3edf5e=new Map(_0xd5eda[_0x3880('0x137')](_0xeee296=>[_0xeee296,_0xeee296['getFirstRange']()])),_0x35dd89=new Set(),_0x36a98e=new Set();for(let _0x187eb6=0x0;_0x187eb6<_0x2710a0[_0x3880('0xe4')];_0x187eb6++)_0x3338e7(_0x2710a0[_0x187eb6],_0x2710a0,_0x187eb6+0x1);for(let _0xa36b68=0x0;_0xa36b68<_0x2710a0[_0x3880('0xe4')];_0xa36b68++)_0x3338e7(_0x2710a0[_0xa36b68],_0x7ae04e,0x0);const _0x3c852e=new Set();for(let _0x270fa7=0x0;_0x270fa7<_0x2710a0['length'];_0x270fa7++){const _0x2aae6d=_0x2710a0[_0x270fa7];!_0x36a98e[_0x3880('0xb0')](_0x2aae6d)&&_0x2aae6d['previous']&&(_0x3c852e[_0x3880('0xea')](_0x2aae6d[_0x3880('0x8c')]),_0x2aae6d[_0x3880('0x8c')][_0x3880('0xef')]===_0x2aae6d&&(_0x2aae6d[_0x3880('0x8c')][_0x3880('0xef')]=null),_0x2aae6d[_0x3880('0x8c')]=null),!_0x35dd89[_0x3880('0xb0')](_0x2aae6d)&&_0x2aae6d[_0x3880('0xef')]&&(_0x3c852e[_0x3880('0xea')](_0x2aae6d[_0x3880('0xef')]),_0x2aae6d['next'][_0x3880('0x8c')]===_0x2aae6d&&(_0x2aae6d['next']['previous']=null),_0x2aae6d[_0x3880('0xef')]=null);}function _0x3338e7(_0x2839b4,_0x18b8c8,_0xb7c7b){for(let _0x79f5a8=_0xb7c7b;_0x79f5a8<_0x18b8c8[_0x3880('0xe4')];_0x79f5a8++){const _0x234470=_0x32ef9e(_0x2839b4,_0x18b8c8[_0x79f5a8]);_0x234470&&(_0x234470[0x0][_0x3880('0xef')]=_0x234470[0x1],_0x234470[0x1]['previous']=_0x234470[0x0],_0x35dd89[_0x3880('0xea')](_0x234470[0x0]),_0x36a98e[_0x3880('0xea')](_0x234470[0x1]));}}function _0x32ef9e(_0x27b004,_0xd24c3e){if(_0x27b004[_0x3880('0x7a')]['id']!==_0xd24c3e[_0x3880('0x7a')]['id'])return null;const _0xc99508=_0x3a0713[_0x3880('0x6a')](_0x27b004)(_0x27b004,_0xd24c3e,_0x3edf5e[_0x3880('0x6a')](_0x27b004),_0x3edf5e['get'](_0xd24c3e));if(!_0xc99508)return null;return _0x3a0713[_0x3880('0x6a')](_0xd24c3e)(_0x27b004,_0xd24c3e,_0x3edf5e[_0x3880('0x6a')](_0x27b004),_0x3edf5e[_0x3880('0x6a')](_0xd24c3e))?_0xc99508[0x1][_0x3880('0x83')]&&_0xc99508[0x1][_0x3880('0x83')]['length']?null:_0xc99508:null;}_0x3c852e['size']&&this[_0x3880('0x13f')](_0x3c852e);}[_0x3880('0x99')](_0x4024ef){if(0x0==_0x4024ef[_0x3880('0xe4')])return;const _0x1afdb4=this[_0x3880('0xfa')]({'skipNotAttached':!0x0})['filter'](_0x193905=>_0x3880('0x76')==_0x193905['type']&&_0x193905[_0x3880('0x58')]),_0x39f1d3=[],_0x42bd68=new Map();for(const _0x15fe4b of _0x1afdb4){const _0x300838=_0x29eae1(_0x15fe4b[_0x3880('0x39')]);_0x42bd68['has'](_0x300838)||(_0x42bd68[_0x3880('0x2c')](_0x300838,_0x39f1d3[_0x3880('0xe4')]),_0x39f1d3[_0x3880('0x8d')]([]));const _0xe7fc1e=_0x42bd68['get'](_0x300838);_0x39f1d3[_0xe7fc1e][_0x3880('0x8d')](_0x15fe4b);}!function(){_0x39f1d3[_0x3880('0xdc')]((_0x156545,_0x30878a)=>{const _0x5cebda=_0x156545[0x0][_0x3880('0xb9')],_0x498eeb=_0x30878a[0x0][_0x3880('0xb9')];return _0x5cebda==_0x498eeb?_0x156545[0x0][_0x3880('0x39')]['groupId']<_0x30878a[0x0]['attributes']['groupId']?-0x1:0x1:_0x5cebda<_0x498eeb?-0x1:0x1;});for(const _0x39c03f of _0x39f1d3)_0x39c03f[_0x3880('0xdc')]((_0x2e5848,_0x3eb300)=>_0x2e5848['id']<_0x3eb300['id']?-0x1:0x1);}();for(let _0x583d16=0x0;_0x583d16<_0x39f1d3['length'];_0x583d16++){if(0x0==_0x39f1d3[_0x583d16][_0x3880('0xe4')])continue;const _0x255b6d=[];for(let _0x9bcb0b=_0x583d16+0x1;_0x9bcb0b<_0x39f1d3[_0x3880('0xe4')];_0x9bcb0b++)0x0!=_0x39f1d3[_0x9bcb0b][_0x3880('0xe4')]&&_0x3dd250(_0x39f1d3[_0x583d16],_0x39f1d3[_0x9bcb0b])&&_0x255b6d[_0x3880('0x8d')](_0x9bcb0b);for(const _0x48bfe5 of _0x255b6d)_0x39f1d3[_0x583d16]=_0x39f1d3[_0x583d16][_0x3880('0xb8')](_0x39f1d3[_0x48bfe5]),_0x39f1d3[_0x48bfe5]=[];}for(const _0x151b8d of _0x39f1d3)for(let _0xccf182=0x0;_0xccf182<_0x151b8d[_0x3880('0xe4')];_0xccf182++)_0x151b8d[_0xccf182][_0x3880('0xef')]=_0x151b8d[_0xccf182+0x1]||null;for(const _0xe79a98 of _0x39f1d3)for(let _0x12b13d=0x0;_0x12b13d<_0xe79a98[_0x3880('0xe4')];_0x12b13d++)_0xe79a98[_0x12b13d]['previous']=_0xe79a98[_0x12b13d-0x1]||null;function _0x3dd250(_0x77d723,_0x2a6903){if(_0x77d723[0x0][_0x3880('0x7a')]!==_0x2a6903[0x0][_0x3880('0x7a')])return!0x1;if(!function(_0x5834f6,_0x10b9b1){if(!_0x5834f6[_0x3880('0x161')]&&!_0x10b9b1['hasComments'])return!0x0;if(_0x5834f6['hasComments']&&_0x10b9b1[_0x3880('0x161')])return!0x1;if(_0x5834f6['hasComments']&&_0x10b9b1['createdAt']<_0x5834f6[_0x3880('0x83')]['comments']['get'](0x0)[_0x3880('0xb9')])return!0x0;if(_0x10b9b1[_0x3880('0x161')]&&_0x5834f6[_0x3880('0xb9')]<_0x10b9b1['commentThread'][_0x3880('0x92')]['get'](0x0)[_0x3880('0xb9')])return!0x0;return!0x1;}(_0x77d723[0x0],_0x2a6903[0x0]))return!0x1;const _0x34a10e=_0x45df73(_0x77d723[0x0]['attributes'],_0x3880('0x37')),_0x282c3b=_0x45df73(_0x2a6903[0x0][_0x3880('0x39')],_0x3880('0x37'));if(!_0x29860a(_0x34a10e,_0x282c3b))return!0x1;return!!_0x77d723[_0x3880('0x73')](_0x15cc94=>_0x2a6903[_0x3880('0x3c')](_0x2dce59=>_0x15cc94[_0x3880('0x96')]()[_0x3880('0x169')](_0x2dce59[_0x3880('0x96')]())))&&_0x2a6903[_0x3880('0x73')](_0x564000=>_0x77d723[_0x3880('0x3c')](_0x5e1a91=>_0x564000[_0x3880('0x96')]()['isEqual'](_0x5e1a91[_0x3880('0x96')]())));}}[_0x3880('0x69')](_0x7c3a58){const _0x7b728=Array[_0x3880('0xba')](_0x7c3a58),_0x102fa3=this[_0x3880('0xfa')]({'skipNotAttached':!0x0}),_0x143b0e=_0x102fa3[_0x3880('0x141')](_0x14acdd=>!_0x7c3a58['has'](_0x14acdd)),_0x12eef9=new Map(_0x7b728[_0x3880('0x137')](_0x69f2b5=>[_0x69f2b5,this[_0x3880('0x17')]['getSuggestionCallback'](_0x69f2b5[_0x3880('0x103')],_0x69f2b5[_0x3880('0x12e')],_0x3880('0x10b'))])),_0x5333bf=new Map(_0x102fa3[_0x3880('0x137')](_0x5a6e94=>[_0x5a6e94,_0x5a6e94[_0x3880('0x33')]()]));for(let _0xafd75d=0x0;_0xafd75d<_0x7b728['length'];_0xafd75d++){if(_0x4a4be9(this,_0x7b728[_0xafd75d],_0x7b728,_0xafd75d+0x1))return!0x0;}for(let _0xc8e524=0x0;_0xc8e524<_0x7b728[_0x3880('0xe4')];_0xc8e524++){if(_0x4a4be9(this,_0x7b728[_0xc8e524],_0x143b0e,0x0))return!0x0;}return!0x1;function _0x4a4be9(_0x3cd210,_0x116163,_0x7dc3ca,_0x24aff3){for(let _0x19d4ec=_0x24aff3;_0x19d4ec<_0x7dc3ca[_0x3880('0xe4')];_0x19d4ec++){const _0x2ae767=_0x7dc3ca[_0x19d4ec];if(_0x2ae767[_0x3880('0x103')]!==_0x116163[_0x3880('0x103')]||_0x2ae767['author']['id']!==_0x116163['author']['id']||_0x2ae767['subType']!==_0x116163[_0x3880('0x12e')])continue;if(!Vt(_0x116163,_0x2ae767))continue;if(_0x3880('0x76')==_0x116163['type']&&_0x116163[_0x3880('0x5a')][_0x3880('0x15d')]!=_0x2ae767['data']['oldValue'])continue;if('attribute'==_0x116163[_0x3880('0x103')]&&_0x3cd210[_0x3880('0x2a')](_0x116163[_0x3880('0x5a')][_0x3880('0x61')]))continue;if('formatBlock'==_0x116163[_0x3880('0x103')]){const _0x26e4cc=_0x3cd210[_0x3880('0x178')][_0x3880('0x13c')],_0x5e64df=_0x116163['getContainedElement']();if(_0x5e64df&&(_0x26e4cc[_0x3880('0xcf')][_0x3880('0x159')](_0x5e64df)||_0x26e4cc[_0x3880('0xcf')]['isLimit'](_0x5e64df)))continue;}const _0x173c23=_0x12eef9[_0x3880('0x6a')](_0x116163),_0x3de8b7=_0x5333bf['get'](_0x116163),_0x193ed6=_0x5333bf['get'](_0x2ae767),_0x4acdbc=_0x116163['commentThread']&&_0x116163[_0x3880('0x83')][_0x3880('0xe4')],_0x4ed96c=_0x2ae767[_0x3880('0x83')]&&_0x2ae767['commentThread'][_0x3880('0xe4')];if(!_0x4acdbc&&_0x173c23(_0x193ed6,_0x3de8b7))return _0x3cd210[_0x3880('0x16b')](_0x2ae767,_0x116163),_0x5333bf[_0x3880('0x48')](_0x116163),!0x0;if(!_0x4ed96c&&_0x173c23(_0x3de8b7,_0x193ed6))return _0x3cd210[_0x3880('0x16b')](_0x116163,_0x2ae767),_0x5333bf[_0x3880('0x48')](_0x2ae767),!0x0;}return!0x1;}}[_0x3880('0x16b')](_0x5cc0d2,_0x263433){if(_0x5cc0d2['isMultiRange'])for(const _0x558bb1 of _0x263433[_0x3880('0x33')]())_0x5cc0d2[_0x3880('0x57')](_0x558bb1);else{const _0x2224eb=_0x263433[_0x3880('0x96')]()[_0x3880('0xe9')];this[_0x3880('0x123')](_0x5cc0d2,this[_0x3880('0x13d')][_0x3880('0x54')](_0x5cc0d2[_0x3880('0x96')]()[_0x3880('0x64')],_0x2224eb));}_0x263433[_0x3880('0x113')]();}[_0x3880('0xae')](_0x2f7fa5,_0x33d7f5){const _0x433ac8=_0x2f7fa5[_0x3880('0x9e')](_0x3880('0xc7'))||_0x2f7fa5['startsWith']('attribute')?_0x3880('0x4f'):_0x2f7fa5[_0x3880('0x14c')]();return _0x33b9cf(this['editor'][_0x3880('0x8e')],_0x33d7f5+'_'+_0x433ac8+_0x3880('0x14d'));}[_0x3880('0xe7')](){const _0x58aee0=this[_0x3880('0x178')];_0x24b154(this[_0x3880('0x13d')],({left:_0x4d85d8,entered:_0x4fdaa6})=>{const _0x33cf48=[];for(const _0x521f72 of _0x4d85d8){const {group:_0x32216e,type:_0x48d038}=this[_0x3880('0x68')](_0x521f72[_0x3880('0x30')]);if(_0x3880('0x35')===_0x32216e){_0x33cf48['push'](this[_0x3880('0xae')](_0x48d038,_0x3880('0xfd')));break;}}for(const _0x4a4fef of _0x4fdaa6){const {group:_0x4969da,type:_0x30240f}=this[_0x3880('0x68')](_0x4a4fef['name']);if(_0x3880('0x35')===_0x4969da){_0x33cf48[_0x3880('0x8d')](this[_0x3880('0xae')](_0x30240f,_0x3880('0xbc')));break;}}_0x33cf48[_0x3880('0xe4')]&&_0x58aee0['ui']['ariaLiveAnnouncer'][_0x3880('0xd')](_0x3880('0xf8'),_0x33cf48[_0x3880('0x10b')]('\x20'));});}[_0x3880('0x0')](_0xe95d65){if(null!==this[_0x3880('0x7e')])return!0x1;const _0x51ec7c=this['editor'],_0x2186e7=_0x51ec7c[_0x3880('0x13c')][_0x3880('0x26')][_0x3880('0x146')]['getChanges']();if(0x0==_0x2186e7['length'])return!0x1;const _0x47ccee=[],_0x21b12c=_0x2186e7['filter'](_0x214c2f=>'attribute'==_0x214c2f[_0x3880('0x103')]),_0x2c2d0c=_0x2186e7[_0x3880('0x141')](_0x45476e=>_0x3880('0xbd')==_0x45476e['type']&&_0x3880('0x157')!=_0x45476e[_0x3880('0x30')]),_0x1e0102=_0x2186e7['filter'](_0x4186cb=>_0x3880('0xe8')==_0x4186cb['type']&&_0x3880('0x157')!=_0x4186cb[_0x3880('0x30')]);for(const _0x236c10 of _0x21b12c)_0x47ccee[_0x3880('0x8d')]({'key':_0x236c10[_0x3880('0x1d')],'newValue':_0x236c10['attributeNewValue'],'oldValue':_0x236c10['attributeOldValue'],'range':_0x562079(_0x236c10[_0x3880('0xfe')])});for(const _0x35679c of _0x2c2d0c){const _0x435205=_0x1e0102[_0x3880('0x20')](_0x7bfb14=>_0x7bfb14[_0x3880('0x11b')][_0x3880('0x169')](_0x35679c[_0x3880('0x11b')]));_0x435205&&_0x47ccee[_0x3880('0x8d')]({'key':_0x3880('0x128'),'newValue':_0x35679c['name'],'oldValue':_0x435205['name'],'range':_0x51ec7c[_0x3880('0x13c')]['createRangeOn'](_0x35679c[_0x3880('0x11b')][_0x3880('0xce')])});}return 0x0!=_0x47ccee[_0x3880('0xe4')]&&this[_0x3880('0x16c')](_0xe95d65,_0x47ccee);function _0x562079(_0x5166c4){return null==_0x5166c4[_0x3880('0xe9')][_0x3880('0xb')]&&_0x5166c4['end']['parent']==_0x5166c4[_0x3880('0x64')][_0x3880('0xce')]?Ut(_0x5166c4[_0x3880('0x64')][_0x3880('0xce')],_0x51ec7c['model']):_0x5166c4;}}[_0x3880('0xee')](_0x128a0c){let _0x370d9b=!0x1;const _0x4b8aeb=this[_0x3880('0x178')][_0x3880('0x13c')][_0x3880('0x26')]['differ'][_0x3880('0x5')]()[_0x3880('0x141')](_0x21b3ba=>_0x21b3ba['data'][_0x3880('0xdb')]&&_0x21b3ba[_0x3880('0x30')][_0x3880('0x9e')]('suggestion:attribute:'));for(const _0x20f96e of _0x4b8aeb){const {subType:_0x16b3ee,id:_0x4bcb3f}=this['_splitMarkerName'](_0x20f96e[_0x3880('0x30')]),_0x59a934=_0x16b3ee[_0x3880('0x13a')]('|')[0x0];for(const _0x5b3fdc of this[_0x3880('0xfa')]({'skipNotAttached':!0x0}))_0x5b3fdc['id']!=_0x4bcb3f&&_0x3880('0x76')==_0x5b3fdc[_0x3880('0x103')]&&_0x5b3fdc['data']&&_0x5b3fdc['data'][_0x3880('0x61')]==_0x59a934&&_0x5b3fdc['getFirstRange']()[_0x3880('0x132')](_0x20f96e[_0x3880('0x5a')][_0x3880('0xdb')])&&(this['_reduceSuggestionAttributeRange'](_0x5b3fdc,_0x20f96e[_0x3880('0x5a')][_0x3880('0xdb')],_0x128a0c),_0x370d9b=!0x0);}return _0x370d9b;}[_0x3880('0x165')](_0x53a1eb){if(null!==this[_0x3880('0x7e')])return void _0x53a1eb();const _0x1f02c4=this['editor'];this[_0x3880('0x7e')]=_0x1f02c4[_0x3880('0x13c')][_0x3880('0x26')]['version'],_0x53a1eb();const _0x229e58=new Map();for(const _0x1d26da of _0x1f02c4[_0x3880('0x13c')]['document'][_0x3880('0x87')]['getOperations'](this['_recordAttributeSuggestionsFromVersion']))if([_0x3880('0x11c'),'addAttribute',_0x3880('0x135'),_0x3880('0xf3')][_0x3880('0x4e')](_0x1d26da[_0x3880('0x103')])){const _0xcdc86f=_0x1d26da[_0x3880('0x105')],_0x562c23=_0x229e58[_0x3880('0x6a')](_0xcdc86f)||[];_0x562c23[_0x3880('0x8d')](_0x1d26da),_0x229e58[_0x3880('0x2c')](_0xcdc86f,_0x562c23);}this[_0x3880('0x7e')]=null;for(const [_0x5e6453,_0x322e7c]of _0x229e58){const _0x2c3ed3=_0x5396c2();_0x1f02c4[_0x3880('0x13c')][_0x3880('0xca')](_0x5e6453,_0x5bafbc=>{const _0x5c29f6=[];for(const _0x3262d3 of _0x322e7c){let _0x9050cc,_0x6ad878,_0x3003ec,_0x43740d;if(_0x3880('0x11c')==_0x3262d3[_0x3880('0x103')]){const _0x46b1d8=_0x3262d3;_0x9050cc=Ut(_0x46b1d8[_0x3880('0x11b')][_0x3880('0xce')],_0x1f02c4[_0x3880('0x13c')]),_0x6ad878='$elementName',_0x3003ec=_0x46b1d8[_0x3880('0x6e')],_0x43740d=_0x46b1d8['oldName'];}else{const _0x5bd255=_0x3262d3,_0x1bcc2c=this[_0x3880('0x2a')](_0x5bd255[_0x3880('0x61')]),_0x43a5ed=this[_0x3880('0x142')][_0x3880('0xb0')](_0x5bd255[_0x3880('0x61')]);if(!_0x1bcc2c&&!_0x43a5ed)continue;_0x9050cc=_0x1bcc2c?Ut(_0x5bd255['range'][_0x3880('0x64')][_0x3880('0xce')],_0x1f02c4[_0x3880('0x13c')]):_0x5bd255[_0x3880('0xfe')],_0x6ad878=_0x5bd255['key'],_0x3003ec=_0x3880('0x135')==_0x3262d3['type']?void 0x0:_0x5bd255[_0x3880('0x164')],_0x43740d=_0x5bd255[_0x3880('0x15d')];}this[_0x3880('0x1e')](_0x9050cc,_0x6ad878,_0x43740d,_0x3003ec,{'groupId':_0x2c3ed3}),_0x5c29f6['push']({'range':_0x9050cc,'key':_0x6ad878,'newValue':_0x3003ec,'oldValue':_0x43740d});}this[_0x3880('0x16c')](_0x5bafbc,_0x5c29f6);});}}[_0x3880('0x16c')](_0x100189,_0x1d8ac7){if(0x0==_0x1d8ac7['length'])return!0x1;let _0x23d8e3=!0x1;for(const _0x4b0253 of _0x1d8ac7){const _0x1054ca=this[_0x3880('0x10c')](_0x4b0253[_0x3880('0xfe')],_0x3880('0x76'))['filter'](_0xcdc648=>!_0xcdc648[_0x3880('0x7')][_0x3880('0xbb')])[_0x3880('0x137')](_0x3ca52c=>_0x3ca52c['suggestion']),_0x393d11=_0x29eae1({'newValue':_0x4b0253[_0x3880('0x164')]});_0x1054ca[_0x3880('0x141')](_0x3caa24=>{const [_0x1b8dd8,_0x2ab9f4]=_0x3caa24['subType'][_0x3880('0x13a')]('|');return _0x1b8dd8==_0x4b0253[_0x3880('0x61')]&&_0x2ab9f4!=_0x393d11;})[_0x3880('0xf')](_0x4f056c=>{this[_0x3880('0x151')](_0x4f056c,_0x4b0253['range'],_0x100189),_0x23d8e3=!0x0;});}return _0x23d8e3;}[_0x3880('0x151')](_0x2573c9,_0x4ae0da,_0x1a248b){const _0x513fc7=_0x2573c9['getFirstRange']()['getDifference'](_0x4ae0da);0x0!==_0x513fc7['length']?0x1!==_0x513fc7[_0x3880('0xe4')]?this[_0x3880('0xf7')](_0x2573c9,_0x4ae0da[_0x3880('0x64')],_0x4ae0da['end']):this[_0x3880('0x123')](_0x2573c9,_0x513fc7[0x0]):_0x1a248b['removeMarker'](_0x2573c9['getFirstMarker']());}}class Bt{constructor(_0x5bb9f6){this[_0x3880('0x16')]=_0x5bb9f6,this['_model']=_0x5bb9f6['model'],this[_0x3880('0x100')]=new Map(),this[_0x3880('0xd4')]=new Map(),this[_0x3880('0x2e')]();}[_0x3880('0xff')](_0x31ecff,_0x1cc41b,_0x300f03,_0x5f2069,_0x4499d2,_0x14b73f){return new _0x256f0e(this[_0x3880('0x13d')],{'type':_0x31ecff,'subType':_0x1cc41b,'id':_0x300f03,'author':_0x5f2069,'creator':_0x5f2069,'attributes':_0x4499d2,'onAttributesChange':_0x14b73f,'onAccept':(..._0x430889)=>this['getSuggestionCallback'](_0x31ecff,_0x1cc41b,_0x3880('0x77'))(..._0x430889),'onDiscard':(..._0x379119)=>this[_0x3880('0x12a')](_0x31ecff,_0x1cc41b,_0x3880('0x7f'))(..._0x379119)});}[_0x3880('0x15e')](_0x2a7bde,_0x13ee96,_0x714ff,_0x25e3b7){const _0x29e171=_0x2a7bde+':'+_0x13ee96+':'+_0x714ff;this[_0x3880('0x100')][_0x3880('0x2c')](_0x29e171,_0x25e3b7);}[_0x3880('0x12a')](_0x42dc8d,_0x1c6bde,_0x361e8d){const _0x7711f8=_0x42dc8d+':'+_0x1c6bde+':'+_0x361e8d;return this['_customCallbacks']['get'](_0x7711f8)||this['_defaultCallbacks'][_0x3880('0x6a')](_0x42dc8d+':'+_0x361e8d);}[_0x3880('0x2e')](){const _0x323b90=()=>!0x1,_0x4cb55d=_0x559439=>{_0x559439['sort']((_0x39ff83,_0x367408)=>_0x39ff83[_0x3880('0x64')][_0x3880('0x136')](_0x367408[_0x3880('0x64')])?0x1:-0x1),this[_0x3880('0x13d')][_0x3880('0xc4')](_0x2900d2=>{for(const _0x5fbc27 of _0x559439){let _0x3ceaa0;_0x3ceaa0=_0x5fbc27[_0x3880('0xe9')]['isAtEnd']&&_0x5fbc27[_0x3880('0xe9')][_0x3880('0x34')]==_0x5fbc27[_0x3880('0x64')][_0x3880('0xce')]?_0x2900d2[_0x3880('0xd9')](_0x5fbc27['start'][_0x3880('0xce')],'on'):_0x2900d2['createSelection'](_0x5fbc27),this['_model'][_0x3880('0x138')](_0x3ceaa0,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x39428f=(_0x5d7f00,_0x521d91)=>{_0x521d91&&this[_0x3880('0x13d')][_0x3880('0xc4')](_0x3a8d4a=>{const {commandName:_0x13d9f2,commandParams:_0x352a84=[]}=_0x521d91,_0x4dd06a=_0x5d7f00['map'](_0x107516=>(xt(_0x107516)&&(_0x107516=this[_0x3880('0x13d')][_0x3880('0x54')](_0x107516['end'])),_0x107516))[_0x3880('0x141')](_0x146b21=>'$graveyard'!==_0x146b21[_0x3880('0x67')][_0x3880('0x45')]);if(_0x4dd06a[_0x3880('0xe4')]<0x1)return;const _0x494a9f=Array[_0x3880('0xba')](this['_model'][_0x3880('0x26')][_0x3880('0xc0')][_0x3880('0x33')]())[_0x3880('0x137')](_0x36f2a9=>_0x2595e6[_0x3880('0xaa')](_0x36f2a9));_0x3a8d4a['setSelection'](_0x4dd06a);for(const _0x24895c of this[_0x3880('0x16')][_0x3880('0x41')]['commands']())_0x24895c[_0x3880('0x125')]();_0x352a84[_0x3880('0x8d')]({'forceDefaultExecution':!0x0}),this[_0x3880('0x16')]['execute'](_0x13d9f2,..._0x352a84);const _0x441996=_0x494a9f['filter'](_0x534b0b=>'$graveyard'!=_0x534b0b[_0x3880('0x67')][_0x3880('0x45')]);_0x441996[_0x3880('0xe4')]>0x0&&_0x3a8d4a[_0x3880('0x130')](_0x441996);for(const _0x114fb5 of _0x494a9f)_0x114fb5[_0x3880('0x120')]();});},_0x539c31=(_0x51f71b,_0x32a384)=>0x1==_0x51f71b['length']&&0x1==_0x32a384[_0x3880('0xe4')]&&_0x51f71b[0x0][_0x3880('0xe9')][_0x3880('0x169')](_0x32a384[0x0][_0x3880('0x64')]),_0x2feee1=(_0x3be250,_0x4f20c8,_0x36f285,_0x2c91da)=>Ot(_0x3be250,_0x4f20c8,_0x36f285,_0x2c91da,this[_0x3880('0x13d')])?[_0x3be250,_0x4f20c8]:Ot(_0x4f20c8,_0x3be250,_0x2c91da,_0x36f285,this['_model'])?[_0x4f20c8,_0x3be250]:null;this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x11a'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')]('insertion:discard',_0x4cb55d),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0xcd'),_0x539c31),this[_0x3880('0xd4')]['set'](_0x3880('0x168'),_0x2feee1),this[_0x3880('0xd4')][_0x3880('0x2c')]('deletion:accept',_0x4cb55d),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x74'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x148'),_0x539c31),this['_defaultCallbacks']['set'](_0x3880('0x81'),_0x2feee1),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x173'),_0x39428f),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x14e'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')]('formatInline:join',_0x539c31),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x3d'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x6d'),_0x39428f),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0xad'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x8b'),_0x539c31),this[_0x3880('0xd4')][_0x3880('0x2c')]('formatBlock:chain',_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0xd8'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x97'),(_0x25f130,_0x1d84a3)=>{if(!_0x1d84a3)return;const _0x3fa6f3=this['_editor'][_0x3880('0xd2')]['get'](p);this[_0x3880('0x13d')][_0x3880('0xc4')](_0x2c92fb=>{if('$elementName'==_0x1d84a3[_0x3880('0x61')])for(const _0x5595af of _0x25f130){const _0x126a1b=_0x5595af[_0x3880('0x64')]['nodeAfter'],_0x23f13c=_0x1d84a3[_0x3880('0x15d')];_0x2c92fb[_0x3880('0x11c')](_0x126a1b,_0x23f13c);}else{if(_0x3fa6f3[_0x3880('0x2a')](_0x1d84a3[_0x3880('0x61')]))for(const _0x57f778 of _0x25f130)void 0x0!==_0x1d84a3[_0x3880('0x15d')]?_0x2c92fb[_0x3880('0x32')](_0x1d84a3[_0x3880('0x61')],_0x1d84a3[_0x3880('0x15d')],_0x57f778['start']['nodeAfter']):_0x2c92fb[_0x3880('0x135')](_0x1d84a3['key'],_0x57f778['start']['nodeAfter']);else for(const _0x4be7d6 of _0x25f130)_0x1d84a3[_0x3880('0x15d')]?_0x2c92fb[_0x3880('0x32')](_0x1d84a3['key'],_0x1d84a3['oldValue'],_0x4be7d6):_0x2c92fb[_0x3880('0x135')](_0x1d84a3[_0x3880('0x61')],_0x4be7d6);}});}),this['_defaultCallbacks'][_0x3880('0x2c')](_0x3880('0x143'),_0x539c31);}}function Tt(_0x526243,_0x491bfd,_0x2f3a1e){for(const _0x5df5ca of _0x491bfd[_0x3880('0x34')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5df5ca[_0x3880('0x67')]==_0x5df5ca)return!0x1;if(!_0x2f3a1e['containsItem'](_0x5df5ca))return!0x1;if(_0x526243['isObject'](_0x5df5ca)||_0x526243[_0x3880('0x172')](_0x5df5ca))return!0x0;}return!0x1;}function xt(_0x599f15){return _0x599f15[_0x3880('0xe9')]['parent']==_0x599f15[_0x3880('0x64')][_0x3880('0xce')]&&_0x599f15[_0x3880('0xe9')][_0x3880('0xcb')];}function Et(_0x56751b,_0x30a971,_0x7850b2,_0xbe6c62){const _0x1e3471=_0x7ae22d=>!_0x7ae22d[_0x3880('0xf5')]['is'](_0x3880('0x10e'))&&!_0xbe6c62[_0x3880('0x159')](_0x7ae22d[_0x3880('0xf5')]),_0x3ac7c7=_0x56751b[_0x3880('0x64')][_0x3880('0x16e')](_0x1e3471),_0x53f98c=_0x56751b[_0x3880('0xe9')][_0x3880('0x16e')](_0x1e3471,{'direction':_0x3880('0x118')});return(!_0x56751b[_0x3880('0x64')]['isEqual'](_0x3ac7c7)||!_0x56751b[_0x3880('0xe9')][_0x3880('0x169')](_0x53f98c))&&(_0x3ac7c7[_0x3880('0x136')](_0x53f98c)?_0x7850b2[_0x3880('0x84')](_0x30a971,{'range':_0x7850b2[_0x3880('0x54')](_0x3ac7c7,_0x53f98c)}):_0x7850b2['removeMarker'](_0x30a971),!0x0);}function Rt(_0xbb8264){return _0x29eae1(_0xbb8264);}function jt(_0x5bf0db){const _0x94ba86=_0x5bf0db[_0x3880('0x64')][_0x3880('0xce')];return _0x94ba86&&_0x94ba86['is'](_0x3880('0xa3'));}function Ut(_0x3ed6bf,_0x3e1023){const _0x49a967=_0x3e1023['schema']['isObject'](_0x3ed6bf)||_0x3e1023[_0x3880('0xcf')][_0x3880('0x40')](_0x3ed6bf);return _0x3e1023[_0x3880('0x54')](_0x3e1023[_0x3880('0xc3')](_0x3ed6bf,_0x3880('0xc9')),_0x49a967?_0x3e1023[_0x3880('0x47')](_0x3ed6bf):_0x3e1023[_0x3880('0xc3')](_0x3ed6bf,'end'));}function Ot(_0x3b613c,_0x2d7d0d,_0x556eaa,_0x55cc0c,_0x363fa5){if(!Vt(_0x3b613c,_0x2d7d0d))return!0x1;if(_0x556eaa[_0x3880('0xe9')][_0x3880('0x169')](_0x55cc0c['start']))return!0x0;if(_0x3b613c['type']!=_0x2d7d0d[_0x3880('0x103')])return!0x1;if(!_0x556eaa[_0x3880('0xe9')][_0x3880('0x11d')](_0x55cc0c[_0x3880('0x64')]))return!0x1;const _0x21ae98=_0x363fa5['createRange'](_0x556eaa[_0x3880('0xe9')],_0x55cc0c[_0x3880('0x64')])[_0x3880('0x3f')]();for(const _0x378efc of _0x21ae98)if([_0x3880('0x98'),'elementEnd'][_0x3880('0x4e')](_0x378efc[_0x3880('0x103')])&&_0x363fa5[_0x3880('0xcf')][_0x3880('0x172')](_0x378efc[_0x3880('0xf5')]))return!0x1;return!0x0;}function Vt(_0x32ecb9,_0x4c6afd){return!(!_0x32ecb9[_0x3880('0x58')]||!_0x4c6afd[_0x3880('0x58')])&&_0x29860a(_0x32ecb9[_0x3880('0x39')],_0x4c6afd[_0x3880('0x39')]);}function Gt(_0x4c849f,_0x1832e6){const _0x11e7bd=Ft(_0x4c849f[_0x3880('0x39')]),_0xaa1319=Ft(_0x1832e6);if(!_0x4c849f[_0x3880('0x58')])return!0x1;for(const _0x466ede of Object['keys'](_0xaa1319))if(!_0x29860a(_0x11e7bd[_0x466ede],_0xaa1319[_0x466ede]))return!0x1;return!0x0;}function Ft(_0x374576){const _0x489b05=Object['assign']({},_0x374576);return delete _0x489b05[_0x3880('0x8f')],delete _0x489b05[_0x3880('0xed')],_0x489b05;}function Pt(_0x17bd8a){return _0x3880('0x76')==_0x17bd8a['type']?_0x17bd8a[_0x3880('0x12e')][_0x3880('0x13a')]('|')[0x0]:null;}
23
+ const _0x5e1b=['markBlockFormat','unbindElementFromMarkerName','dataToMarker','attributeOldValue','keys','isInsideObject','creator','notReady','from','suggestion-type','isDocumentOperation','selection','tablePasteChainId','removed','next','track-changes-enable-command-twice','_processAttributeChanges','addMarker:suggestion:attribute','insertion:discard','isOwn','addRange','addMarker:suggestion:formatBlock','addMarker:suggestion','track-changes-adapter-missing-getsuggestion','_suggestionFactory','toUpperCase','_refreshSuggestionsChain','find','writer','forEach','getUser','data-suggestion','removeMarker','createRange','accepted','previous','deletion:','insert','widget','high','_breakSuggestionMarker','newRange','addSuggestionData','attributeNewValue','formatInline:chain','some','_cutOutSuggestionMarker','formatInline','dataDowncast','refresh','start','toViewElement','reconvertMarker','for','attributes','chain','options','elementEnd','item','_trackFormatChanges','model','formatBlock:join','setSelection','name','_editor','default','end','getShiftedBy','dataReady','_setSuggestionData','_mergeNestedSuggestions','formatGroupId','oldValue','init','conversion','ck-suggestion-marker--active','pluginName','root','isInContent','newName','has','markInsertion','_isDataLoaded','deletion','commentThread','length','suggestionUnloaded','after','deleteContent','_enableDefaultAttributesIntegration','formatInline:','warn','_setSuggestionRange','filter','enqueueChange','forceDefaultExecution','getFirstMarker','external:','substr','elementToElement','version','markerName','lowest','createPositionAfter','stopListening','getMarkers','getCustomProperty','getAttribute','data','isAtStart','TrackChangesEditing','batch','getChanges','execute','bindElementToMarker','map','push','_splitMarkerName','_getExternalAuthor','never','addSuggestion','getIntersection','_joinWithAdjacentSuggestions','key','isLimit','remove','_initAriaMarkerChangeAnnouncements','groupId','suggestionChanged','forward','ready','fire','markMultiRangeDeletion','then','$marker','consume','suggestion','getSuggestion','addCommentThread','_isBlockAttribute','removeClass','_suggestionState','delete','stop','isIntersecting','_reduceSuggestionAttributeRange','_getMarkerAnnouncementText','changeAttribute','concat','getRange','attribute:discard','_getAuthorFromId','config','every','editor','_customCallbacks','markerReady','isEqual','_commentsRepository','getAncestors','locale','isRemovable','buildSuggestion','resolve','comments','listenTo','assign','_isForcedDefaultExecutionBlock','_processAttributeSuggestions','includes','updateSuggestion','setTo','marker-count','substring','isNextTo','isObject','head','differ','_descriptionFactory','_adapter','formatBlock:','getContainedElement','_joinSuggestions','upcast','markerNameToElements','discardSuggestion','discardSelectedSuggestions','low','discard','_inlineAttributeKeys','pop','_enabledCommands','getChangedMarkers','markerToHighlight','getWalker','_getSuggestionData','clone','authoredAt','isSelectable','track-changes-user-not-found','ck-suggestion-marker-formatInline','containsRangeInObject','getCommentThread','trackChanges','updateMarker','unbind','LEAVE','getNearestSelectionRange','plugins','showSuggestionHighlights','range','isAfter','collaboration.channelId','hasCommentThread','$graveyard','getItems','change:activeMarkers','formatInline:discard','discardAllSuggestions','markers','originalSuggestionId','nodeAfter','Users','howMany','move','newValue','isBlock','_addSuggestionMarker','return','startsWith','join','change:_saved','track-changes-adapter-already-set','attributeKey','clear','multi','isLocal','author','containsPosition','set','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.','addClass','_registerInlineAttribute','acceptSelectedSuggestions','formatBlock:chain','formatInline:accept','createPositionAt','add','skipNestingCheck','subType','containerElement','_createSuggestion','containsItem','mapper','getDifference','addHighlight','oldName','attribute:join','getSuggestionCallback','isBefore','markerToData','acceptAllSuggestions','rename','insertion:join','getSuggestions','deletion:accept','_rangeIsInLocalUserInsertion','formatBlock:discard','commandName','activeMarkers','define','document','getMultiRangeId','toJSON','isCollapsed','_reduceExistingSuggestions','_saved','markMultiRangeInsertion','$text','position','removeMarker:suggestion:formatBlock','ck-suggestion-marker-','splitPosition','insertion:','ck-suggestion-marker-formatBlock','deletion:discard','_updateSuggestionData','PENDING_ACTION_SUGGESTION','createdAt','get','suggestion:attribute:','track-changes-command-not-found','markDeletion','group','targetPosition','addMarker','backward','insertion','insertContent','setAttribute','track-changes-suggestion-data-mismatch','removeMarkers','catch','change:data','commands','accept','applyOperation','getLastMatchingPosition','sort','values','trackChanges.trackFormatChanges','_handleNewSuggestionMarker','_onDiscard','nodeBefore','_defaultCallbacks','trackChanges.mergeNestedSuggestions','requires','FORMATTING','_addThreadToSuggestion','_recordAttributeSuggestionsFromVersion','formatBlock','rejected','_checkSuggestionCorrectness','_recordAttributeChanges','before','getFirstRange','_refreshAttributeSuggestionsChain','formatBlock:accept','track-changes-suggestion-not-found','getAllAdjacentSuggestions','createSelection','editingDowncast','detach','parent','isTouching','@external','attribute','oldRange','suggestionLoaded','markInlineFormat','containsRange','isMultiRange','update:suggestion','getRanges','multipleBlocks','_findSuggestions','addAttribute','always','size','schema','isArray','trackChangesCommand','addMarkerName','consumable','_suggestions','hasComments','registerPostFixer','value','addUser','enableReadOnlyMode','split','fromCharCode','_model','change','removeComment','PendingActions','$textProxy','acceptSuggestion','highest','CommentsRepository','removeAttribute','isAtEnd','$elementName','_blockAttributeKeys','ck-suggestion-marker','isIntersectingWithRange','element','fromRange','moveTargetPosition','rootName','attribute:accept','createPositionBefore','enableCommand','type','deletion:join'];(function(_0x337fdc,_0x5e1bb7){const _0x3d1127=function(_0x26f918){while(--_0x26f918){_0x337fdc['push'](_0x337fdc['shift']());}};_0x3d1127(++_0x5e1bb7);}(_0x5e1b,0x13c));const _0x3d11=function(_0x337fdc,_0x5e1bb7){_0x337fdc=_0x337fdc-0x0;let _0x3d1127=_0x5e1b[_0x337fdc];return _0x3d1127;};import{Plugin as _0x295f5b,PendingActions as _0x1daf00}from'ckeditor5/src/core';import{LiveRange as _0x2192b8}from'ckeditor5/src/engine';import{CKEditorError as _0x4431f7,uid as _0x20fbe8,priorities as _0x232d6d,logWarning as _0x181a42}from'ckeditor5/src/utils';import{toWidget as _0x63e3a2}from'ckeditor5/src/widget';import{Users as _0xf2ef7b,hashObject as _0x134d88,surroundingMarkersDetector as _0x58d3b9}from'ckeditor5-collaboration/src/collaboration-core';import _0x50ec17 from'./commands/trackchangescommand';import _0x17b32e from'./commands/acceptsuggestioncommand';import _0x4ec10a from'./commands/discardsuggestioncommand';import _0x4edb45 from'./commands/executeonallsuggestionscommand';import _0x3435b2 from'./commands/executeonselectedsuggestionscommand';import _0x3406f6 from'./suggestion';import _0x41ad6c from'./suggestiondescriptionfactory';import _0x45c843 from'./integrations/aiassistant';import _0x31e84 from'./integrations/alignment';import _0x37a5f0 from'./integrations/basicstyles';import _0x52e9d9 from'./integrations/blockquote';import _0x4f678a from'./integrations/ckbox';import _0x565292 from'./integrations/codeblock';import _0x1bdcd7 from'./integrations/comments';import _0x25092a from'./integrations/deletecommand';import _0x3eaacc from'./integrations/documentlist';import _0x43ef2e from'./integrations/documentlistproperties';import _0x20ef5d from'./integrations/entercommand';import _0x523b64 from'./integrations/findandreplace';import _0x25c195 from'./integrations/font';import _0x1fb979 from'./integrations/formatpainter';import _0x1adb26 from'./integrations/heading';import _0x3b45db from'./integrations/highlight';import _0x4f9d18 from'./integrations/horizontalline';import _0x204c26 from'./integrations/htmlembed';import _0x227cf7 from'./integrations/image';import _0x6ee9de from'./integrations/imagereplace';import _0x132a03 from'./integrations/imagestyle';import _0x38482f from'./integrations/importword';import _0x1a406e from'./integrations/indent';import _0x50ae78 from'./integrations/inputcommand';import _0x554f9f from'./integrations/link';import _0x357fce from'./integrations/list';import _0x3ece74 from'./integrations/listproperties';import _0x1fc6ab from'./integrations/mediaembed';import _0x5a93ed from'./integrations/mention';import _0x4bdd4c from'./integrations/pagebreak';import _0x44feae from'./integrations/paragraph';import _0x54e0dd from'./integrations/removeformat';import _0x5b5b27 from'./integrations/restrictededitingmode';import _0x27f20c from'./integrations/shiftentercommand';import _0x267205 from'./integrations/standardeditingmode';import _0x422ab6 from'./integrations/style';import _0x57f590 from'./integrations/table';import _0x138b5d from'./integrations/tablemergesplit';import _0x4bee95 from'./integrations/tableheadings';import _0xe00c8d from'./integrations/tableclipboard';import _0x4b9b57 from'./integrations/tablecolumnresize';import _0x39d445 from'./integrations/template';import _0x4ba0c5 from'./integrations/tableofcontents';import _0x145778 from'./integrations/title';import _0x4284f4 from'./integrations/undo';import _0x5c57d0 from'./integrations/tablecaption';import _0x37cd1a from'./integrations/tableproperties';import{getTranslation as _0x5edfdd}from'./utils/common-translations';import{isEqual as _0x9ce98b,omit as _0x5a1201}from'lodash-es';export const renameAttributeKey=_0x3d11('0x38');export default class p extends _0x295f5b{static get[_0x3d11('0x0')](){return[_0x3d11('0x35'),_0xf2ef7b,_0x1daf00,_0x45c843,_0x31e84,_0x37a5f0,_0x52e9d9,_0x4f678a,_0x565292,_0x1bdcd7,_0x25092a,_0x3eaacc,_0x43ef2e,_0x20ef5d,_0x523b64,_0x25c195,_0x1fb979,_0x1adb26,_0x3b45db,_0x4f9d18,_0x204c26,_0x227cf7,_0x132a03,_0x6ee9de,_0x38482f,_0x1a406e,_0x50ae78,_0x554f9f,_0x357fce,_0x3ece74,_0x1fc6ab,_0x5a93ed,_0x4bdd4c,_0x44feae,_0x54e0dd,_0x5b5b27,_0x27f20c,_0x267205,_0x422ab6,_0x57f590,_0x138b5d,_0x4bee95,_0x5c57d0,_0xe00c8d,_0x4b9b57,_0x4ba0c5,_0x37cd1a,_0x39d445,_0x145778,_0x4284f4];}static get[_0x3d11('0x91')](){return _0x3d11('0xb3');}constructor(_0x558752){function _0x13626f(_0x119ba7){return _0x119ba7[_0x3d11('0xb8')](_0x5031dd=>String[_0x3d11('0x2d')](_0x5031dd))[_0x3d11('0x12b')]('');}super(_0x558752),this[_0x3d11('0x3')]=null,this[_0x3d11('0x134')](_0x3d11('0x152'),[]),this['on'](_0x3d11('0x11d'),(_0x3360ac,_0x227833,_0x1c6556,_0x383674)=>{this[_0x3d11('0x2e')][_0x3d11('0x2f')](()=>{for(const _0x2539b1 of[..._0x383674,..._0x1c6556])this[_0x3d11('0x2e')][_0x3d11('0x120')][_0x3d11('0x95')](_0x2539b1)&&_0x558752['editing'][_0x3d11('0x79')](_0x2539b1);});}),this[_0x3d11('0xf7')]=new _0x41ad6c(this['editor'][_0x3d11('0x81')]['schema'],this[_0x3d11('0xdf')]['locale']),this[_0x3d11('0xf8')]=null,this['_suggestionFactory']=new Bt(this[_0x3d11('0xdf')]),this[_0x3d11('0x26')]=new Map(),this[_0x3d11('0xe3')]=_0x558752[_0x3d11('0x115')][_0x3d11('0x166')](_0x3d11('0x35')),this[_0x3d11('0x104')]=new Set(),this[_0x3d11('0x2e')]=this['editor'][_0x3d11('0x81')],this[_0x3d11('0xd2')]=new WeakMap(),this[_0x3d11('0xec')]=!0x1,this['_blockAttributeKeys']=new Set(['$elementName']),this['_inlineAttributeKeys']=new Set(),_0x558752[_0x3d11('0xdd')][_0x3d11('0x153')]('trackChanges.trackFormatChanges',_0x3d11('0x86')),this[_0x3d11('0x80')]=_0x558752[_0x3d11('0xdd')][_0x3d11('0x166')](_0x3d11('0x17b')),_0x558752['config'][_0x3d11('0x153')](_0x3d11('0x180'),!0x0),this[_0x3d11('0x8b')]=_0x558752[_0x3d11('0xdd')]['get'](_0x3d11('0x180')),this[_0x3d11('0x23')]=new _0x50ec17(_0x558752,this[_0x3d11('0x104')]),this[_0x3d11('0xc3')](),this[_0x13626f([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x13626f([0x34,0x30,0x34,0x36,0x32,0x34,0x32,0x30]);}[_0x3d11('0x8e')](){const _0x4bc28c=this[_0x3d11('0xdf')],_0x2221a7=(_0x476f4e,_0x2cb37d)=>{if('attribute'!=_0x476f4e)return _0x3d11('0x15e')+_0x476f4e;const _0x1cfb51=_0x2cb37d[_0x3d11('0x2c')]('|')[0x0];return this['_isBlockAttribute'](_0x1cfb51)?_0x3d11('0x161'):_0x3d11('0x10d');};_0x4bc28c[_0x3d11('0x8f')][_0x3d11('0x7a')]('editingDowncast')[_0x3d11('0x106')]({'model':'suggestion','view':_0x20fa12=>{const {id:_0x5cbf29,type:_0x2a4402,subType:_0x3b3ab1}=this[_0x3d11('0xba')](_0x20fa12[_0x3d11('0xaa')]),_0x37d939=[_0x3d11('0x3a'),_0x2221a7(_0x2a4402,_0x3b3ab1)];let _0x1a48d1=0xbb8;return this[_0x3d11('0x152')][_0x3d11('0xee')](_0x20fa12[_0x3d11('0xaa')])&&(_0x37d939[_0x3d11('0xb9')](_0x3d11('0x90')),_0x1a48d1=0xbc2),'deletion'==_0x2a4402&&(_0x1a48d1+=0x5),{'classes':_0x37d939,'attributes':{'data-suggestion':_0x5cbf29},'priority':_0x1a48d1};}}),_0x4bc28c[_0x3d11('0x8f')][_0x3d11('0x7a')](_0x3d11('0x75'))[_0x3d11('0x13c')](_0x2476f0=>{_0x2476f0['on'](_0x3d11('0x5b'),(_0x50e319,_0x302bde,_0x1ed2c4)=>{if(!_0x1ed2c4['options']['showSuggestionHighlights'])return;const _0x45a414=_0x302bde['item'];if(!_0x45a414)return;const _0x5c1363=_0x1ed2c4[_0x3d11('0x142')]['toViewElement'](_0x45a414);_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x21')][_0x3d11('0xf4')](_0x45a414)&&_0x5c1363&&!_0x5c1363['getCustomProperty'](_0x3d11('0x6b'))&&_0x5c1363['is'](_0x3d11('0x13f'))&&_0x63e3a2(_0x5c1363,_0x1ed2c4[_0x3d11('0x61')]);},{'priority':_0x3d11('0x6c')});}),_0x4bc28c[_0x3d11('0x8f')]['for'](_0x3d11('0x75'))[_0x3d11('0x106')]({'model':_0x3d11('0xcd'),'view':(_0x2fe7fe,_0x3f1ce5)=>{if(!_0x3f1ce5[_0x3d11('0x7d')][_0x3d11('0x116')])return null;const {type:_0x3033c0,subType:_0x3ed7d4}=this[_0x3d11('0xba')](_0x2fe7fe[_0x3d11('0xaa')]);return{'classes':[_0x3d11('0x3a'),_0x2221a7(_0x3033c0,_0x3ed7d4)],'priority':0xbb8};}});const _0x40ad05=({showActiveMarkers:_0x2fdf6a=!0x0,isAttributeSuggestion:_0x209c61=!0x1}={})=>(_0x3c8df6,_0x51969c,_0xc9e000)=>{if(!_0x51969c[_0x3d11('0x7f')])return;const {id:_0xb4353e}=this[_0x3d11('0xba')](_0x51969c['markerName']);if(_0x209c61){const _0x1d0ec0=Pt(this[_0x3d11('0x26')][_0x3d11('0x166')](_0xb4353e));if(!this[_0x3d11('0xd0')](_0x1d0ec0))return;}if(_0x51969c[_0x3d11('0x7f')]['is'](_0x3d11('0x50')))return void _0xc9e000['consumable']['consume'](_0x51969c[_0x3d11('0x7f')],_0x3c8df6[_0x3d11('0x84')]);const _0x18563c=_0xc9e000['mapper'][_0x3d11('0x78')](_0x51969c['item']);if(_0x51969c['item']['is'](_0x3d11('0x3c'))&&_0x4bc28c[_0x3d11('0x81')]['schema'][_0x3d11('0x127')](_0x51969c[_0x3d11('0x7f')])&&!_0x18563c[_0x3d11('0xaf')](_0x3d11('0x144'))){_0xc9e000[_0x3d11('0x61')][_0x3d11('0x136')](['ck-suggestion-marker',_0x3d11('0x161')],_0x18563c),_0xc9e000['writer'][_0x3d11('0x170')]('data-suggestion',_0xb4353e,_0x18563c),_0xc9e000['mapper'][_0x3d11('0xb7')](_0x18563c,_0x51969c[_0x3d11('0xaa')]),_0x2fdf6a&&(this[_0x3d11('0x152')][_0x3d11('0xee')](_0x51969c[_0x3d11('0xaa')])?_0xc9e000['writer']['addClass'](_0x3d11('0x90'),_0x18563c):_0xc9e000[_0x3d11('0x61')][_0x3d11('0xd1')](_0x3d11('0x90'),_0x18563c));for(const _0x5b720e of _0x4bc28c[_0x3d11('0x81')]['createRangeIn'](_0x51969c['item'])[_0x3d11('0x11c')]())_0xc9e000[_0x3d11('0x25')][_0x3d11('0xcc')](_0x5b720e,_0x3c8df6['name']);_0xc9e000[_0x3d11('0x25')][_0x3d11('0xcc')](_0x51969c[_0x3d11('0x7f')],_0x3c8df6[_0x3d11('0x84')]);}};_0x4bc28c['conversion'][_0x3d11('0x7a')](_0x3d11('0x75'))[_0x3d11('0x13c')](_0x301be3=>{_0x301be3['on'](_0x3d11('0x5a'),(_0x162d4f,_0x2ef6af,_0x21be2a)=>{_0x21be2a[_0x3d11('0x7d')][_0x3d11('0x116')]&&_0x40ad05({'showActiveMarkers':!0x1})(_0x162d4f,_0x2ef6af,_0x21be2a);},{'priority':_0x3d11('0x34')});}),_0x4bc28c[_0x3d11('0x8f')][_0x3d11('0x7a')](_0x3d11('0x75'))[_0x3d11('0x13c')](_0x5650bc=>{_0x5650bc['on']('addMarker:suggestion:attribute',(_0x352b34,_0x51a48c,_0x18c581)=>{_0x18c581[_0x3d11('0x7d')][_0x3d11('0x116')]&&_0x40ad05({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x352b34,_0x51a48c,_0x18c581);},{'priority':'highest'});}),_0x4bc28c[_0x3d11('0x8f')][_0x3d11('0x7a')](_0x3d11('0x75'))[_0x3d11('0x149')]({'model':_0x3d11('0xcd'),'view':(_0x2523fb,_0x507512)=>_0x507512[_0x3d11('0x7d')]['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x2523fb[_0x3d11('0xa7')](0xb)}}),_0x4bc28c[_0x3d11('0x8f')][_0x3d11('0x7a')](_0x3d11('0xfc'))[_0x3d11('0xa8')]({'view':{'name':_0x3d11('0xcd'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x21f045,{writer:_0x41a7d2})=>{let _0x140d59='suggestion:'+_0x21f045[_0x3d11('0xb0')](_0x3d11('0x4e'))+':'+_0x21f045[_0x3d11('0xb0')]('id');return _0x21f045[_0x3d11('0xb0')](_0x3d11('0xf1'))&&(_0x140d59+=':'+_0x21f045[_0x3d11('0xb0')]('marker-count')),_0x41a7d2['createElement'](_0x3d11('0xcb'),{'data-name':_0x140d59});}}),_0x4bc28c[_0x3d11('0x8f')][_0x3d11('0x7a')]('upcast')[_0x3d11('0x47')]({'view':_0x3d11('0xcd')}),_0x4bc28c[_0x3d11('0x8f')][_0x3d11('0x7a')]('editingDowncast')[_0x3d11('0x13c')](_0x24ed6f=>{_0x24ed6f['on'](_0x3d11('0x5a'),_0x40ad05(),{'priority':'high'});}),_0x4bc28c[_0x3d11('0x8f')][_0x3d11('0x7a')]('editingDowncast')[_0x3d11('0x13c')](_0x51f271=>{_0x51f271['on'](_0x3d11('0x56'),_0x40ad05({'isAttributeSuggestion':!0x0}),{'priority':_0x3d11('0x6c')});}),_0x4bc28c[_0x3d11('0x8f')][_0x3d11('0x7a')](_0x3d11('0xf'))[_0x3d11('0x13c')](_0x21637e=>{_0x21637e['on'](_0x3d11('0x15d'),(_0x5e59be,_0x3c9b5a,_0x533083)=>{const _0x47eca0=_0x533083['mapper'][_0x3d11('0xfd')](_0x3c9b5a[_0x3d11('0xaa')]);if(_0x47eca0)for(const _0x399d55 of _0x47eca0)_0x399d55['getCustomProperty']('addHighlight')||(_0x533083[_0x3d11('0x61')][_0x3d11('0xd1')]([_0x3d11('0x3a'),_0x3d11('0x161'),'ck-suggestion-marker--active'],_0x399d55),_0x533083[_0x3d11('0x61')][_0x3d11('0x36')](_0x3d11('0x64'),_0x399d55),_0x533083['mapper'][_0x3d11('0x46')](_0x399d55,_0x3c9b5a['markerName']));},{'priority':_0x3d11('0x6c')});}),_0x4bc28c[_0x3d11('0x8f')][_0x3d11('0x7a')]('editingDowncast')['add'](_0x5025d7=>{_0x5025d7['on']('removeMarker:suggestion:attribute',(_0x146a67,_0x163af7,_0x4cc65d)=>{const _0x24213a=_0x4cc65d[_0x3d11('0x142')][_0x3d11('0xfd')](_0x163af7[_0x3d11('0xaa')]);if(!_0x24213a)return;const {id:_0xd6016e}=this['_splitMarkerName'](_0x163af7[_0x3d11('0xaa')]),_0x5254fd=Pt(this[_0x3d11('0x26')]['get'](_0xd6016e));if(this[_0x3d11('0xd0')](_0x5254fd))for(const _0x12f9e2 of _0x24213a)_0x12f9e2[_0x3d11('0xaf')](_0x3d11('0x144'))||(_0x4cc65d[_0x3d11('0x61')][_0x3d11('0xd1')](['ck-suggestion-marker',_0x3d11('0x161'),'ck-suggestion-marker--active'],_0x12f9e2),_0x4cc65d[_0x3d11('0x61')][_0x3d11('0x36')](_0x3d11('0x64'),_0x12f9e2),_0x4cc65d[_0x3d11('0x142')][_0x3d11('0x46')](_0x12f9e2,_0x163af7[_0x3d11('0xaa')]));},{'priority':_0x3d11('0x6c')});}),_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x154')][_0x3d11('0x28')](_0x429735=>{let _0x8c07a6=!0x1;const _0x5e57f9=Array['from'](_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x154')]['differ'][_0x3d11('0x105')]()),_0x415adb=new Set();for(const {name:_0x3da9fb,data:_0x37f02c}of _0x5e57f9){const {group:_0x1eff16,type:_0x1ccfab,subType:_0x53ebed,id:_0x56ee18}=this[_0x3d11('0xba')](_0x3da9fb);if(_0x3d11('0xcd')!==_0x1eff16)continue;const _0x29b233=this[_0x3d11('0x26')]['get'](_0x56ee18);if(null!=_0x37f02c[_0x3d11('0x6e')]){'formatInline'==_0x1ccfab&&(_0x8c07a6=_0x8c07a6||Et(_0x37f02c[_0x3d11('0x6e')],_0x3da9fb,_0x429735,_0x4bc28c[_0x3d11('0x81')]['schema']));const _0x3bca56=_0x3d11('0x14')==_0x1ccfab&&this[_0x3d11('0xd0')](_0x53ebed[_0x3d11('0x2c')]('|')[0x0]);if(_0x37f02c[_0x3d11('0x6e')]['isCollapsed']||_0x3d11('0x11b')==_0x37f02c[_0x3d11('0x6e')][_0x3d11('0x92')]['rootName']||_0x3d11('0x4')==_0x1ccfab&&!jt(_0x37f02c[_0x3d11('0x6e')])||_0x3bca56&&!jt(_0x37f02c[_0x3d11('0x6e')])||_0x3d11('0x98')==_0x1ccfab&&!(!xt(_0x88c458=_0x37f02c[_0x3d11('0x6e')])&&!function(_0x39f1a8){return _0x39f1a8[_0x3d11('0x77')][_0x3d11('0x11')]==_0x39f1a8[_0x3d11('0x87')][_0x3d11('0x17e')]&&_0x39f1a8[_0x3d11('0x77')][_0x3d11('0x37')];}(_0x88c458)))_0x429735['removeMarker'](_0x3da9fb),_0x8c07a6=!0x0;else{if(!_0x29b233||!_0x29b233[_0x3d11('0x93')])continue;_0x415adb[_0x3d11('0x13c')](_0x29b233);}}}var _0x88c458;return _0x415adb[_0x3d11('0x20')]>0x0&&(_0x8c07a6=!!this[_0x3d11('0xbf')](_0x415adb)||_0x8c07a6),_0x8c07a6;}),_0x4bc28c[_0x3d11('0x81')]['document'][_0x3d11('0x28')](_0x14161f=>{let _0x85764b=!0x1;for(const _0xc72661 of _0x4bc28c[_0x3d11('0x81')]['document'][_0x3d11('0xf6')][_0x3d11('0xb5')]())if(_0x3d11('0x6a')==_0xc72661[_0x3d11('0x43')])for(const _0x1db680 of this[_0x3d11('0x26')][_0x3d11('0x17a')]()){if(_0x1db680['isMultiRange']||!_0x1db680[_0x3d11('0x93')])continue;const _0x506b8a=_0x3d11('0x4')==_0x1db680[_0x3d11('0x43')],_0x3292fe=Pt(_0x1db680),_0x395ec7=_0x3292fe&&this[_0x3d11('0xd0')](_0x3292fe);if(!_0x506b8a&&!_0x395ec7)continue;const _0x1410a3=_0x1db680[_0x3d11('0x9')]();if(_0x1410a3['start'][_0x3d11('0x11')]!=_0x1410a3[_0x3d11('0x87')][_0x3d11('0x11')]&&!_0x1410a3['end']['isAtEnd']){const _0x1906d7=_0x4bc28c['model'][_0x3d11('0x13b')](_0x1410a3[_0x3d11('0x77')][_0x3d11('0x122')],_0x3d11('0x87')),_0x215aa8=_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x66')](_0x1410a3['start'],_0x1906d7);_0x14161f[_0x3d11('0x111')](_0x1db680[_0x3d11('0xa5')](),{'range':_0x215aa8}),_0x85764b=!0x0;}}return _0x85764b;}),_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x154')][_0x3d11('0x28')](_0x5d180a=>this[_0x3d11('0x55')](_0x5d180a)),_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x154')][_0x3d11('0x28')](_0x42c18a=>!_0x42c18a['batch']['isLocal']&&this[_0x3d11('0xed')](_0x42c18a)),_0x4bc28c['model'][_0x3d11('0x120')]['on'](_0x3d11('0x1a'),(_0x371679,_0x5528c6,_0x3b516a)=>{if(null==_0x3b516a){const {id:_0x16cd83}=this[_0x3d11('0xba')](_0x5528c6['name']),_0x5950d6=this['_suggestions'][_0x3d11('0x166')](_0x16cd83);_0x5950d6&&_0x5950d6[_0x3d11('0x24')](_0x5528c6[_0x3d11('0x84')]);}}),_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x154')]['on'](_0x3d11('0x174'),()=>{const _0x37b21c=Array[_0x3d11('0x4d')](_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x154')][_0x3d11('0xf6')][_0x3d11('0x105')]())[_0x3d11('0xa2')](_0x3c4d0c=>_0x3d11('0xcd')===this[_0x3d11('0xba')](_0x3c4d0c['name'])[_0x3d11('0x16a')]);if(0x0===_0x37b21c[_0x3d11('0x9a')])return;_0x37b21c['sort']((_0xad3cb1,_0x5393d2)=>{const _0xde7dc4=_0xad3cb1[_0x3d11('0xb1')][_0x3d11('0x15')],_0x7741e1=_0x5393d2[_0x3d11('0xb1')][_0x3d11('0x15')];return null===_0xde7dc4&&null===_0x7741e1?0x0:null===_0xde7dc4&&null!==_0x7741e1?-0x1:null!==_0xde7dc4&&null===_0x7741e1?0x1:_0xde7dc4[_0x3d11('0x77')][_0x3d11('0x148')](_0x7741e1[_0x3d11('0x77')])?-0x1:0x1;});const _0x27205f=new Set(),_0x26963b=new Set();for(const {name:_0x1a28da,data:_0x1d8e46}of _0x37b21c){const {id:_0x52e956}=this['_splitMarkerName'](_0x1a28da);if(null===_0x1d8e46[_0x3d11('0x15')]){const _0x80a028=this[_0x3d11('0x17c')](_0x1a28da);_0x26963b[_0x3d11('0x13c')](_0x80a028);}else{const _0x254dc7=this['_suggestions'][_0x3d11('0x166')](_0x52e956);null!==_0x1d8e46[_0x3d11('0x6e')]||_0x254dc7[_0x3d11('0x93')]?(_0x27205f[_0x3d11('0x13c')](_0x254dc7[_0x3d11('0xf5')]),_0x26963b['add'](_0x254dc7)):this['_removeSuggestion'](_0x254dc7);}}_0x26963b[_0x3d11('0x20')]>0x0&&this[_0x3d11('0x5f')](_0x26963b);for(const _0x1dec82 of _0x27205f)this[_0x3d11('0xc8')](_0x3d11('0xc5'),_0x1dec82);}),_0x4bc28c[_0x3d11('0x81')]['on'](_0x3d11('0x177'),(_0x5dfae6,_0x2196de)=>{const _0x4a8587=_0x2196de[0x0];if(!this[_0x3d11('0x26')]['size'])return;if(!_0x4a8587[_0x3d11('0x4f')])return;if(_0x4a8587['batch']['isUndo']||!_0x4a8587[_0x3d11('0xb4')][_0x3d11('0x131')])return;let _0x34e18d,_0x526b2a;switch(_0x4a8587[_0x3d11('0x43')]){case _0x3d11('0x6a'):_0x34e18d=_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x13b')](_0x4a8587[_0x3d11('0x15c')]),_0x526b2a=_0x34e18d[_0x3d11('0x88')](_0x4a8587[_0x3d11('0x124')]);break;case'split':_0x34e18d=_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x13b')](_0x4a8587[_0x3d11('0x15f')]),_0x526b2a=_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x13b')](_0x4a8587[_0x3d11('0x3e')]);break;case _0x3d11('0x125'):_0x34e18d=_0x4bc28c['model'][_0x3d11('0x13b')](_0x4a8587[_0x3d11('0x16b')]),_0x526b2a=_0x34e18d[_0x3d11('0x88')](_0x4a8587['howMany']);break;default:return;}const _0x7e122=_0x4bc28c['model']['createRange'](_0x34e18d,_0x526b2a);_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x2f')](()=>{for(const {suggestion:_0x197ea9,meta:_0x40b073}of this[_0x3d11('0x1d')](_0x7e122)){if(_0x197ea9[_0x3d11('0x19')])continue;if(_0x3d11('0x74')==_0x197ea9[_0x3d11('0x43')])continue;const _0x43f945=Pt(_0x197ea9);if(_0x43f945&&this['_isBlockAttribute'](_0x43f945)&&_0x3d11('0x2c')!=_0x4a8587['type'])continue;const _0x380a9c=_0x197ea9[_0x3d11('0xb1')]&&_0x197ea9[_0x3d11('0xb1')][_0x3d11('0x1c')];(_0x3d11('0x4')!=_0x197ea9[_0x3d11('0x43')]||_0x3d11('0x2c')==_0x4a8587['type']&&!_0x380a9c)&&(_0x40b073[_0x3d11('0x10e')]||_0x3d11('0x16e')==_0x197ea9[_0x3d11('0x43')]&&_0x40b073['isOwn']||_0x197ea9[_0x3d11('0x9')]()[_0x3d11('0x18')](_0x7e122)&&this['_breakSuggestionMarker'](_0x197ea9,_0x34e18d,_0x526b2a));}});},{'priority':_0x3d11('0xab')}),_0x4bc28c[_0x3d11('0x81')]['on']('deleteContent',(_0x82796b,_0x24fc2c)=>{const _0x1c9817=_0x24fc2c[0x0],_0x472239=_0x24fc2c[0x1];if(_0x472239&&_0x472239[_0x3d11('0xa4')])return;if(this[_0x3d11('0xec')])return;if(!this[_0x3d11('0x23')][_0x3d11('0x29')])return;if(_0x1c9817[_0x3d11('0x157')])return;const _0x477bb8=_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x21')],{start:_0x37d15e,end:_0x935197}=_0x1c9817[_0x3d11('0x9')](),_0x3ec619=_0x37d15e[_0x3d11('0x122')]&&_0x477bb8[_0x3d11('0xc1')](_0x37d15e[_0x3d11('0x122')])?null:_0x477bb8['getNearestSelectionRange'](_0x37d15e,_0x3d11('0xc6')),_0x2593de=_0x935197[_0x3d11('0x17e')]&&_0x477bb8[_0x3d11('0xc1')](_0x935197['nodeBefore'])?null:_0x477bb8[_0x3d11('0x114')](_0x935197,_0x3d11('0x16d')),_0x4e2fa4=_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x66')](_0x3ec619?_0x3ec619['start']:_0x37d15e,_0x2593de?_0x2593de['end']:_0x935197);_0x4bc28c['model']['change'](_0x1793cb=>{this['markDeletion'](_0x4e2fa4);const _0x27acc3=_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x21')][_0x3d11('0x114')](_0x4e2fa4['start']);_0x1c9817['is']('documentSelection')?_0x1793cb[_0x3d11('0x83')](_0x27acc3):_0x1c9817[_0x3d11('0xf0')](_0x27acc3);}),_0x82796b['stop']();},{'priority':_0x232d6d['normal']+0xa}),_0x4bc28c[_0x3d11('0x81')]['on']('insertContent',(_0x3d26d6,_0x3a47d8)=>{const _0x55a20d=_0x3a47d8[_0x3a47d8['length']-0x1];_0x55a20d&&_0x55a20d['forceDefaultExecution']||this[_0x3d11('0xec')]||this[_0x3d11('0x23')][_0x3d11('0x29')]&&(_0x4bc28c['model'][_0x3d11('0x2f')](()=>{let _0x4e4cf1=_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x16f')](_0x3a47d8[0x0],_0x3a47d8[0x1],_0x3a47d8[0x2],{'forceDefaultExecution':!0x0});if(!_0x4e4cf1)return;_0x3d26d6[_0x3d11('0x129')]=_0x4e4cf1[_0x3d11('0x109')]();const _0x2138f4=_0x4e4cf1[_0x3d11('0x87')][_0x3d11('0x17e')],_0x4b6f9c=_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x21')];_0x2138f4&&_0x4b6f9c[_0x3d11('0x127')](_0x2138f4)&&!_0x4b6f9c['isObject'](_0x2138f4)&&(_0x4e4cf1=_0x4bc28c['model']['createRange'](_0x4e4cf1[_0x3d11('0x77')],_0x4bc28c[_0x3d11('0x81')][_0x3d11('0x13b')](_0x2138f4,'end'))),this['markInsertion'](_0x4e4cf1);}),_0x3d26d6[_0x3d11('0xd4')]());},{'priority':_0x3d11('0x6c')}),this['editor'][_0x3d11('0x175')][_0x3d11('0x13c')]('trackChanges',this[_0x3d11('0x23')]),this[_0x3d11('0x42')](_0x3d11('0x110'));const _0x23167c=new _0x17b32e(_0x4bc28c,this[_0x3d11('0x26')]);_0x4bc28c[_0x3d11('0x175')]['add'](_0x3d11('0x33'),_0x23167c),this[_0x3d11('0x42')](_0x3d11('0x33'));const _0x7b2eba=new _0x4ec10a(_0x4bc28c,this[_0x3d11('0x26')]);_0x4bc28c['commands'][_0x3d11('0x13c')](_0x3d11('0xfe'),_0x7b2eba),this[_0x3d11('0x42')](_0x3d11('0xfe')),_0x4bc28c['commands'][_0x3d11('0x13c')](_0x3d11('0x14a'),new _0x4edb45(_0x4bc28c,_0x23167c,this[_0x3d11('0x26')])),this[_0x3d11('0x42')](_0x3d11('0x14a')),_0x4bc28c['commands'][_0x3d11('0x13c')](_0x3d11('0x11f'),new _0x4edb45(_0x4bc28c,_0x7b2eba,this[_0x3d11('0x26')])),this[_0x3d11('0x42')](_0x3d11('0x11f')),_0x4bc28c[_0x3d11('0x175')][_0x3d11('0x13c')]('acceptSelectedSuggestions',new _0x3435b2(_0x4bc28c,_0x23167c,this[_0x3d11('0x26')])),this[_0x3d11('0x42')](_0x3d11('0x138')),_0x4bc28c[_0x3d11('0x175')][_0x3d11('0x13c')]('discardSelectedSuggestions',new _0x3435b2(_0x4bc28c,_0x7b2eba,this['_suggestions'])),this[_0x3d11('0x42')](_0x3d11('0xff'));const _0x4cfb2a=_0x4bc28c[_0x3d11('0x115')][_0x3d11('0x166')]('CommentsRepository');this[_0x3d11('0xea')](_0x4cfb2a,'addComment',(_0x7f62f,{threadId:_0x4916e1})=>{const _0x53f8e9=this['_suggestions'][_0x3d11('0x166')](_0x4916e1);_0x53f8e9&&_0x53f8e9['commentThread']&&0x1===_0x53f8e9[_0x3d11('0x99')][_0x3d11('0x9a')]&&this[_0x3d11('0x163')](_0x4916e1,{'hasComments':!0x0});},{'priority':_0x3d11('0x100')}),this[_0x3d11('0xea')](_0x4cfb2a,_0x3d11('0x30'),(_0x50595d,{threadId:_0x2c1400})=>{const _0x53a7c9=this['_suggestions'][_0x3d11('0x166')](_0x2c1400);_0x53a7c9&&_0x53a7c9[_0x3d11('0x99')]&&!_0x53a7c9[_0x3d11('0x99')][_0x3d11('0x9a')]&&this[_0x3d11('0x163')](_0x2c1400,{'hasComments':!0x1});},{'priority':_0x3d11('0x100')});}set['adapter'](_0x8f2b44){if(this[_0x3d11('0xf8')])throw new _0x4431f7(_0x3d11('0x12d'),this);this['_adapter']=_0x8f2b44;}get['adapter'](){return this[_0x3d11('0xf8')];}[_0x3d11('0x14d')]({skipNotAttached:_0x290fe5=!0x1,toJSON:_0x364392=!0x1}={}){const _0x3e6b50=[];for(const _0x3821ba of this[_0x3d11('0x26')][_0x3d11('0x17a')]())_0x290fe5&&!_0x3821ba[_0x3d11('0x93')]||_0x3e6b50[_0x3d11('0xb9')](_0x3821ba);return _0x364392?_0x3e6b50[_0x3d11('0xb8')](_0x1f0920=>_0x1f0920[_0x3d11('0x156')]()):_0x3e6b50;}[_0x3d11('0xce')](_0x40eb6d){const _0x12f3cd=this['_suggestions'][_0x3d11('0x166')](_0x40eb6d);if(!_0x12f3cd)throw new _0x4431f7(_0x3d11('0xc'),this);return _0x12f3cd;}['hasSuggestion'](_0x54e8e6){return this[_0x3d11('0x26')]['has'](_0x54e8e6);}['addSuggestionData'](_0x341001){const {authorId:_0x216fa1,id:_0x37e90f,attributes:_0x22a7a4}=_0x341001,[_0x63d1a8,_0x2de784]=_0x341001[_0x3d11('0x43')]['split'](':'),_0x415ba4=this[_0x3d11('0x26')][_0x3d11('0x166')](_0x37e90f)||this[_0x3d11('0x140')](_0x63d1a8,_0x2de784,_0x37e90f,_0x216fa1,_0x22a7a4);if(this[_0x3d11('0x2')](_0x415ba4),this[_0x3d11('0x6')](_0x415ba4,_0x63d1a8,_0x2de784||null,_0x216fa1),_0x415ba4['createdAt']=_0x341001[_0x3d11('0x165')],_0x415ba4[_0x3d11('0x97')]=!0x0,_0x22a7a4&&_0x22a7a4[_0x3d11('0x13')]){const _0x500ff3=_0x22a7a4[_0x3d11('0x13')],_0x4a3034=this['_getExternalAuthor'](_0x500ff3['authorName']);_0x415ba4[_0x3d11('0x10a')]=_0x500ff3[_0x3d11('0x165')],_0x415ba4['author']=_0x4a3034,_0x415ba4['isExternal']=!0x0;}else _0x415ba4[_0x3d11('0x10a')]=_0x341001[_0x3d11('0x165')];switch(_0x341001['data']&&(_0x415ba4[_0x3d11('0xb1')]=_0x341001['data']),_0x341001[_0x3d11('0x7b')]&&(_0x415ba4[_0x3d11('0x7b')]=_0x341001[_0x3d11('0x7b')]),this['_adapter']&&this['_adapter'][_0x3d11('0xbd')]||(_0x415ba4[_0x3d11('0x159')]=!0x0),this[_0x3d11('0xd2')][_0x3d11('0x166')](_0x415ba4)){case _0x3d11('0x4c'):this[_0x3d11('0xd2')][_0x3d11('0x134')](_0x415ba4,_0x3d11('0x89'));break;case _0x3d11('0xe1'):_0x415ba4[_0x3d11('0x93')]?(this[_0x3d11('0x5f')](new Set([_0x415ba4])),this[_0x3d11('0xbf')](new Set([_0x415ba4])),this[_0x3d11('0xd2')]['set'](_0x415ba4,_0x3d11('0xc7')),this['fire'](_0x3d11('0x16'),_0x415ba4)):this['_suggestionState']['set'](_0x415ba4,_0x3d11('0x52'));}return _0x415ba4;}[_0x3d11('0x33')](_0x2d8b70){this[_0x3d11('0xa4')](()=>{this[_0x3d11('0xdf')][_0x3d11('0x81')][_0x3d11('0x2f')](()=>{for(const _0x2f5895 of _0x2d8b70[_0x3d11('0xd')]())_0x2f5895[_0x3d11('0x176')]();});});}[_0x3d11('0xfe')](_0x324b92){this[_0x3d11('0xa4')](()=>{this[_0x3d11('0xdf')]['model'][_0x3d11('0x2f')](()=>{for(const _0x4398b8 of _0x324b92[_0x3d11('0xd')]())_0x4398b8[_0x3d11('0x101')]();});});}[_0x3d11('0x42')](_0x4e9339,_0x20a0a9){const _0x286c0c=this[_0x3d11('0xdf')][_0x3d11('0x175')]['get'](_0x4e9339);if(!_0x286c0c)throw new _0x4431f7(_0x3d11('0x168'),this,{'commandName':_0x4e9339});if(this[_0x3d11('0x104')]['has'](_0x286c0c))throw new _0x4431f7(_0x3d11('0x54'),this,{'commandName':_0x4e9339});this[_0x3d11('0x104')][_0x3d11('0x13c')](_0x286c0c),_0x20a0a9&&_0x286c0c['on'](_0x3d11('0xb6'),(_0x26d360,_0x5d0ac3)=>{this[_0x3d11('0x23')][_0x3d11('0x29')]&&(this['_isForcedDefaultExecutionBlock']||(_0x5d0ac3[_0x3d11('0x9a')]>0x0&&_0x5d0ac3[_0x5d0ac3['length']-0x1]&&_0x5d0ac3[_0x5d0ac3[_0x3d11('0x9a')]-0x1][_0x3d11('0xa4')]?_0x5d0ac3[_0x3d11('0x103')]():(_0x26d360[_0x3d11('0x129')]=_0x20a0a9((..._0x8c8140)=>_0x286c0c[_0x3d11('0xb6')](..._0x8c8140,{'forceDefaultExecution':!0x0}),..._0x5d0ac3),_0x26d360[_0x3d11('0xd4')]())));},{'priority':_0x3d11('0x6c')});}[_0x3d11('0xa4')](_0x33d935){let _0x226496,_0x3e2bcb;const _0x153001=this['_isForcedDefaultExecutionBlock'];this[_0x3d11('0xec')]=!0x0;try{_0x226496=_0x33d935();}catch(_0x8679e8){_0x3e2bcb=_0x8679e8;}return _0x153001||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x3e2bcb&&_0x4431f7['rethrowUnexpectedError'](_0x3e2bcb,this),_0x226496;}[_0x3d11('0x96')](_0x4bbe33,_0x197c9c=null,_0x27e673={}){if(_0x4bbe33[_0x3d11('0x157')])return null;const _0x59c1a5=this[_0x3d11('0xdf')][_0x3d11('0x115')][_0x3d11('0x166')]('Users')['me'];for(const {suggestion:_0x3ad0d0,meta:_0x10d8cf}of this[_0x3d11('0x1d')](_0x4bbe33,'insertion'))if(_0x10d8cf['isOwn']){if(!_0x10d8cf[_0x3d11('0xf3')]){if(_0x10d8cf[_0x3d11('0x10e')]){if(!this[_0x3d11('0x8b')]||!Gt(_0x3ad0d0,_0x27e673))continue;return _0x3ad0d0;}if(Gt(_0x3ad0d0,_0x27e673))return _0x3ad0d0;this[_0x3d11('0x6d')](_0x3ad0d0,_0x4bbe33[_0x3d11('0x77')],_0x4bbe33[_0x3d11('0x87')]);break;}if(_0x197c9c==_0x3ad0d0['subType']&&Gt(_0x3ad0d0,_0x27e673)){const _0x51fa72=_0x3ad0d0['getFirstRange']();return _0x51fa72['start'][_0x3d11('0xe2')](_0x4bbe33[_0x3d11('0x87')])?this[_0x3d11('0xa1')](_0x3ad0d0,this['_model']['createRange'](_0x4bbe33['start'],_0x51fa72['end'])):this[_0x3d11('0xa1')](_0x3ad0d0,this[_0x3d11('0x2e')][_0x3d11('0x66')](_0x51fa72[_0x3d11('0x77')],_0x4bbe33[_0x3d11('0x87')])),_0x3ad0d0;}}const _0x42edae=_0x20fbe8(),_0x319474=_0x59c1a5['id'],_0x4e8001=_0x197c9c?_0x3d11('0x160')+_0x197c9c:_0x3d11('0x16e'),_0xeb2b5e=this[_0x3d11('0x8a')]({'id':_0x42edae,'type':_0x4e8001,'createdAt':new Date(),'authorId':_0x319474,'attributes':_0x27e673});return this[_0x3d11('0x128')](_0x4e8001,_0x42edae,_0x319474,_0x4bbe33),_0xeb2b5e;}[_0x3d11('0x15a')](_0x456817,_0x2ee04c=_0x3d11('0x130'),_0x2c9c74={}){const _0xf31cb=this[_0x3d11('0xdf')][_0x3d11('0x115')][_0x3d11('0x166')](_0x3d11('0x123'))['me'],_0x369fad=this[_0x3d11('0x5d')][_0x3d11('0x147')](_0x3d11('0x16e'),_0x2ee04c,_0x3d11('0x12b'));for(const _0x541281 of this['getSuggestions']())if(_0x541281[_0x3d11('0x132')]['id']==_0xf31cb['id']&&_0x3d11('0x16e')==_0x541281[_0x3d11('0x43')]&&_0x541281['subType']==_0x2ee04c&&Gt(_0x541281,_0x2c9c74)&&(_0x369fad(_0x541281[_0x3d11('0x1b')](),_0x456817)||_0x369fad(_0x456817,_0x541281[_0x3d11('0x1b')]()))){for(const _0x33910b of _0x456817)_0x541281['addRange'](_0x33910b);return _0x541281;}for(const {suggestion:_0x391c69,meta:_0x3cf42c}of this[_0x3d11('0x1d')](_0x456817,_0x3d11('0x16e'))){if(!_0x3cf42c[_0x3d11('0x58')])continue;if(!this[_0x3d11('0x8b')]&&_0x3cf42c[_0x3d11('0x10e')])continue;if(!Gt(_0x391c69,_0x2c9c74))continue;let _0xe2e27=!0x0;for(const _0x46a94f of _0x391c69[_0x3d11('0x1b')]())for(const _0x1e16d5 of _0x456817)if(!_0x46a94f['containsRange'](_0x1e16d5)){_0xe2e27=!0x1;break;}if(_0xe2e27)return _0x391c69;}const _0x12b3bb=_0x20fbe8(),_0x44ed39=_0xf31cb['id'],_0x20c95f=_0x3d11('0x160')+_0x2ee04c,_0x30ad24=this[_0x3d11('0x8a')]({'id':_0x12b3bb,'type':_0x20c95f,'createdAt':new Date(),'authorId':_0x44ed39,'attributes':_0x2c9c74});for(const _0x2b2c59 of _0x456817)this[_0x3d11('0x128')](_0x20c95f,_0x12b3bb,_0x44ed39,_0x2b2c59,_0x3406f6[_0x3d11('0x155')]());return _0x30ad24;}[_0x3d11('0x17')](_0x3fdb5d,_0x46aea2,_0x38b2a5=null,_0x2a1329={}){if(_0x38b2a5=_0x38b2a5||Rt(_0x46aea2),_0x3fdb5d[_0x3d11('0x157')])return null;if('never'===this[_0x3d11('0x80')]){const _0x44046f=this[_0x3d11('0x5d')][_0x3d11('0x147')]('formatInline',_0x38b2a5,_0x3d11('0x176'));return this[_0x3d11('0xa4')](()=>_0x44046f([_0x3fdb5d],_0x46aea2,_0x2a1329)),null;}const _0x446fdc=this[_0x3d11('0xdf')]['plugins'][_0x3d11('0x166')](_0x3d11('0x123'))['me'],_0x232ddf=[];if(_0x3d11('0x1f')!==this[_0x3d11('0x80')])for(const {suggestion:_0x3f1c68,meta:_0x4cde50}of this[_0x3d11('0x1d')](_0x3fdb5d,_0x3d11('0x16e')))_0x4cde50[_0x3d11('0x58')]&&!_0x4cde50[_0x3d11('0x4a')]&&_0x232ddf[_0x3d11('0xb9')](..._0x3f1c68[_0x3d11('0x1b')]());const _0x491c2d=function(_0x38a010,_0x482e72){const _0x4739c0=[];for(const _0x246fd6 of _0x482e72){const _0x3d8ffb=_0x38a010[_0x3d11('0xbe')](_0x246fd6);_0x3d8ffb&&_0x4739c0['push'](_0x3d8ffb);}return _0x4739c0;}(_0x3fdb5d,_0x232ddf),_0x9f7c4d=function(_0x3b8a98,_0x5ee3cb){const _0x1ff134=[_0x3b8a98];for(const _0x5ae7f4 of _0x5ee3cb){let _0x2311ce=0x0;for(;_0x2311ce<_0x1ff134[_0x3d11('0x9a')];){const _0x266991=_0x1ff134[_0x2311ce]['getDifference'](_0x5ae7f4);_0x1ff134['splice'](_0x2311ce,0x1,..._0x266991),_0x2311ce+=_0x266991[_0x3d11('0x9a')];}}return _0x1ff134;}(_0x3fdb5d,_0x232ddf);_0x491c2d[_0x3d11('0x9a')]&&this[_0x3d11('0x2e')][_0x3d11('0x2f')](()=>{for(const _0x24a846 of _0x491c2d){const _0x60d3a5=this[_0x3d11('0x5d')][_0x3d11('0x147')](_0x3d11('0x74'),_0x38b2a5,'accept');this[_0x3d11('0xa4')](()=>_0x60d3a5([_0x24a846],_0x46aea2,_0x2a1329));}});for(const _0x40c564 of _0x9f7c4d){let _0x55d334=null,_0xdde5f9=_0x40c564['start'],_0x4bca53=_0x40c564[_0x3d11('0x87')];for(const {suggestion:_0xef55c5,meta:_0x48f3b9}of this[_0x3d11('0x1d')](_0x40c564,_0x3d11('0x74'))){if(!_0x48f3b9[_0x3d11('0x58')])continue;if(_0xef55c5[_0x3d11('0x13e')]!=_0x38b2a5)continue;if(!Gt(_0xef55c5,_0x2a1329))continue;const _0x26dd36=_0xef55c5['getFirstRange']();if(_0x26dd36[_0x3d11('0x18')](_0x40c564,!0x0))return null;_0xdde5f9=_0xdde5f9[_0x3d11('0x148')](_0x26dd36[_0x3d11('0x77')])?_0xdde5f9:_0x26dd36[_0x3d11('0x77')],_0x4bca53=_0x4bca53['isAfter'](_0x26dd36['end'])?_0x4bca53:_0x26dd36[_0x3d11('0x87')],_0x55d334?_0x26dd36[_0x3d11('0x77')][_0x3d11('0x148')](_0x55d334['getFirstRange']()[_0x3d11('0x77')])?(_0x55d334['removeMarkers'](),_0x55d334=_0xef55c5):_0xef55c5[_0x3d11('0x172')]():_0x55d334=_0xef55c5;}const _0x5f2ea3=this[_0x3d11('0x2e')][_0x3d11('0x66')](_0xdde5f9,_0x4bca53);if(_0x55d334)this[_0x3d11('0xa1')](_0x55d334,_0x5f2ea3);else{const _0x4d21f1=_0x20fbe8(),_0x39829f=_0x446fdc['id'];this[_0x3d11('0x8a')]({'id':_0x4d21f1,'type':_0x3d11('0x9f')+_0x38b2a5,'data':_0x46aea2,'createdAt':new Date(),'authorId':_0x39829f,'attributes':_0x2a1329}),this[_0x3d11('0x128')](_0x3d11('0x9f')+_0x38b2a5,_0x4d21f1,_0x39829f,_0x5f2ea3);}}return null;}[_0x3d11('0x45')](_0x1533cd,_0x50e752,_0x41b2ba=[],_0x281a6c=null,_0xb20235={}){_0x50e752[_0x3d11('0x8c')]||(_0x50e752[_0x3d11('0x8c')]=_0x50e752[_0x3d11('0x151')]),_0x50e752[_0x3d11('0x1c')]=_0x1533cd['is'](_0x3d11('0x117')),_0x281a6c=_0x281a6c||Rt(_0x50e752);const _0x1f1d3a=_0x41b2ba[_0x3d11('0xb8')](_0x893fd=>Ut(_0x893fd,this['_model'])),_0x46eef8=_0x1533cd['is'](_0x3d11('0x117'))?_0x1533cd:Ut(_0x1533cd,this[_0x3d11('0x2e')]);if(_0x3d11('0xbc')===this[_0x3d11('0x80')]){const _0x594cf5=this[_0x3d11('0x5d')][_0x3d11('0x147')](_0x3d11('0x4'),_0x281a6c,_0x3d11('0x176'));return this[_0x3d11('0xa4')](()=>_0x594cf5([_0x46eef8],_0x50e752,_0xb20235)),null;}_0x1f1d3a['push'](_0x46eef8);let _0x35321b=!0x0;for(const _0x119c6c of _0x1f1d3a)if(!this['_rangeIsInLocalUserInsertion'](_0x119c6c)){_0x35321b=!0x1;break;}if(_0x35321b&&_0x3d11('0x1f')!==this['_trackFormatChanges']){const _0x3cfc03=this[_0x3d11('0x5d')]['getSuggestionCallback'](_0x3d11('0x4'),_0x281a6c,_0x3d11('0x176'));return this[_0x3d11('0xa4')](()=>_0x3cfc03([_0x46eef8],_0x50e752,_0xb20235)),null;}let _0x5547e1=null,_0x452dae=_0x46eef8[_0x3d11('0x77')],_0x35d9ca=_0x46eef8[_0x3d11('0x87')];for(const {suggestion:_0x2128ac,meta:_0x367272}of this[_0x3d11('0x1d')](_0x46eef8,'formatBlock')){if(!_0x367272['isOwn'])continue;if(_0x367272['isNextTo']||_0x367272[_0x3d11('0x10e')]||_0x367272[_0x3d11('0x4a')])continue;if(_0x2128ac[_0x3d11('0xb1')]['formatGroupId']!=_0x50e752[_0x3d11('0x8c')])continue;if(!Gt(_0x2128ac,_0xb20235))continue;const _0x6d966f=_0x2128ac[_0x3d11('0x9')]();if(_0x2128ac[_0x3d11('0x13e')]==_0x281a6c){if(_0x6d966f['containsRange'](_0x46eef8,!0x0))return null;_0x452dae=_0x452dae['isBefore'](_0x6d966f['start'])?_0x452dae:_0x6d966f[_0x3d11('0x77')],_0x35d9ca=_0x35d9ca[_0x3d11('0x118')](_0x6d966f[_0x3d11('0x87')])?_0x35d9ca:_0x6d966f['end'],_0x5547e1?_0x6d966f[_0x3d11('0x77')]['isBefore'](_0x5547e1['getFirstRange']()[_0x3d11('0x77')])?(_0x5547e1[_0x3d11('0x172')](),_0x5547e1=_0x2128ac):_0x2128ac[_0x3d11('0x172')]():_0x5547e1=_0x2128ac;}else{const _0xafb331=_0x46eef8[_0x3d11('0xbe')](_0x6d966f);this[_0x3d11('0x73')](_0x2128ac,_0xafb331);}}const _0x2cb180=this[_0x3d11('0xdf')][_0x3d11('0x115')][_0x3d11('0x166')](_0x3d11('0x123'))['me'],_0x588f76=_0x20fbe8(),_0x379e37=_0x2cb180['id'];if(_0x5547e1)return this[_0x3d11('0xa1')](_0x5547e1,this[_0x3d11('0x2e')][_0x3d11('0x66')](_0x452dae,_0x35d9ca)),_0x5547e1;{const _0x410ce6=this['_setSuggestionData']({'id':_0x588f76,'type':'formatBlock:'+_0x281a6c,'data':_0x50e752,'createdAt':new Date(),'authorId':_0x379e37,'attributes':_0xb20235});return this['_addSuggestionMarker']('formatBlock:'+_0x281a6c,_0x588f76,_0x379e37,this[_0x3d11('0x2e')][_0x3d11('0x66')](_0x452dae,_0x35d9ca)),_0x410ce6;}}['markMultiRangeBlockFormat'](_0x382865,_0x5b18c1,_0x3a1760=[],_0x5b0ee7=null,_0x3c5dbb={}){_0x5b18c1[_0x3d11('0x8c')]||(_0x5b18c1[_0x3d11('0x8c')]=_0x5b18c1[_0x3d11('0x151')]);const _0x523e5e=_0x382865[0x0];_0x5b18c1[_0x3d11('0x1c')]=_0x523e5e['is'](_0x3d11('0x117')),_0x5b0ee7=_0x5b0ee7||Rt(_0x5b18c1);const _0x433faa=_0x3a1760[_0x3d11('0xb8')](_0xa08f24=>Ut(_0xa08f24,this['_model'])),_0x1d7b7b=_0x523e5e['is'](_0x3d11('0x117'))?_0x382865:_0x382865[_0x3d11('0xb8')](_0x23c7bc=>Ut(_0x23c7bc,this['_model']));if(_0x3d11('0xbc')===this[_0x3d11('0x80')]){const _0x4f029c=this[_0x3d11('0x5d')][_0x3d11('0x147')](_0x3d11('0x4'),_0x5b0ee7,_0x3d11('0x176'));return this['forceDefaultExecution'](()=>_0x4f029c(_0x1d7b7b,_0x5b18c1,_0x3c5dbb)),null;}_0x433faa[_0x3d11('0xb9')](..._0x1d7b7b);let _0x6150b9=!0x0;for(const _0x2b8020 of _0x433faa)if(!this[_0x3d11('0x14f')](_0x2b8020)){_0x6150b9=!0x1;break;}if(_0x6150b9&&_0x3d11('0x1f')!==this[_0x3d11('0x80')]){const _0x531c10=this['_suggestionFactory'][_0x3d11('0x147')]('formatBlock',_0x5b0ee7,_0x3d11('0x176'));return this[_0x3d11('0xa4')](()=>_0x531c10(_0x1d7b7b,_0x5b18c1,_0x3c5dbb)),null;}const _0x29336e=this[_0x3d11('0xdf')][_0x3d11('0x115')]['get']('Users')['me'];for(const _0x45fc04 of this[_0x3d11('0x14d')]()){if(_0x45fc04[_0x3d11('0x132')]['id']!=_0x29336e['id'])continue;if(_0x3d11('0x4')!=_0x45fc04[_0x3d11('0x43')]||_0x45fc04[_0x3d11('0xb1')][_0x3d11('0x8c')]!=_0x5b18c1['formatGroupId'])continue;if(!Gt(_0x45fc04,_0x3c5dbb))continue;const _0x580bba=_0x45fc04['subType']==_0x5b0ee7;for(let _0x207cea=0x0;_0x207cea<_0x1d7b7b[_0x3d11('0x9a')];_0x207cea++){const _0x3c909a=_0x1d7b7b[_0x207cea];for(const _0x583acd of _0x45fc04[_0x3d11('0xae')]()){const _0x247167=_0x583acd[_0x3d11('0xda')]();if(_0x3c909a['isEqual'](_0x247167)){_0x580bba?(_0x1d7b7b['splice'](_0x207cea,0x1),_0x207cea--):_0x45fc04[_0x3d11('0x65')](_0x583acd['name']);break;}}}}if(0x0==_0x1d7b7b[_0x3d11('0x9a')])return null;const _0x5c81cc=this[_0x3d11('0x5d')]['getSuggestionCallback'](_0x3d11('0x4'),_0x5b0ee7,_0x3d11('0x12b'));for(const _0x2be521 of this[_0x3d11('0x14d')]())if(_0x2be521[_0x3d11('0x132')]['id']==_0x29336e['id']&&_0x3d11('0x4')==_0x2be521['type']&&_0x2be521['data'][_0x3d11('0x8c')]==_0x5b18c1[_0x3d11('0x8c')]&&_0x2be521[_0x3d11('0x13e')]==_0x5b0ee7&&Gt(_0x2be521,_0x3c5dbb)&&(_0x5c81cc(_0x2be521[_0x3d11('0x1b')](),_0x1d7b7b)||_0x5c81cc(_0x1d7b7b,_0x2be521[_0x3d11('0x1b')]()))){for(const _0x10d47d of _0x1d7b7b)_0x2be521[_0x3d11('0x59')](_0x10d47d);return _0x2be521;}const _0x5823ba=_0x20fbe8(),_0xa48236=_0x29336e['id'],_0x8c3536=_0x3d11('0xf9')+_0x5b0ee7,_0x504d4b=this['_setSuggestionData']({'id':_0x5823ba,'type':_0x8c3536,'data':_0x5b18c1,'createdAt':new Date(),'authorId':_0xa48236,'attributes':_0x3c5dbb});for(const _0x2f2679 of _0x1d7b7b)this[_0x3d11('0x128')](_0x8c3536,_0x5823ba,_0xa48236,_0x2f2679,_0x3406f6[_0x3d11('0x155')]());return _0x504d4b;}[_0x3d11('0x169')](_0x2ccecb,_0x577e07=null,_0x38f701={}){if(_0x2ccecb[_0x3d11('0x157')])return null;const _0x3a9f94=this['editor'][_0x3d11('0x115')][_0x3d11('0x166')](_0x3d11('0x123'))['me'],_0x2cdcdb=new _0x2192b8(_0x2ccecb[_0x3d11('0x77')],_0x2ccecb[_0x3d11('0x87')]);for(const {suggestion:_0x16526b,meta:_0x11e112}of this[_0x3d11('0x1d')](_0x2cdcdb,_0x3d11('0x16e')))if(_0x11e112[_0x3d11('0x58')]&&!_0x11e112[_0x3d11('0xf3')]){if(_0x16526b[_0x3d11('0x19')]){const _0x3311d3=_0x16526b[_0x3d11('0x1b')]()[_0x3d11('0xa2')](_0x31c591=>'$graveyard'!=_0x31c591['root'][_0x3d11('0x3f')]);_0x3311d3['every'](_0x34ae5e=>_0x2cdcdb['containsRange'](_0x34ae5e,!0x0))&&_0x16526b[_0x3d11('0x101')]();if(_0x3311d3[_0x3d11('0x72')](_0x3b4bef=>_0x3b4bef[_0x3d11('0x18')](_0x2cdcdb,!0x0))){const _0x41b2d7=this[_0x3d11('0x5d')][_0x3d11('0x147')](_0x3d11('0x98'),_0x577e07,_0x3d11('0x176'));return this[_0x3d11('0xa4')](()=>_0x41b2d7([_0x2cdcdb],null,_0x38f701)),null;}}else{const _0x159e19=_0x2cdcdb[_0x3d11('0xbe')](_0x16526b[_0x3d11('0x9')]());null!==_0x159e19&&_0x16526b[_0x3d11('0x17d')]([_0x159e19],null,_0x38f701);}}if(_0x2cdcdb[_0x3d11('0x10')](),_0x2cdcdb[_0x3d11('0x157')]||'$graveyard'==_0x2cdcdb[_0x3d11('0x92')][_0x3d11('0x3f')])return null;let _0x4b503e=null,_0x30ab54=_0x2cdcdb[_0x3d11('0x77')],_0x2b9a47=_0x2cdcdb['end'];const _0x53ec48=this[_0x3d11('0x1d')](_0x2cdcdb,'deletion');for(const {suggestion:_0x5bee6a,meta:_0x46385d}of _0x53ec48){const _0x17aaca=this['_model']['createRange'](_0x30ab54,_0x2b9a47);if(_0x46385d['isOwn']&&(this[_0x3d11('0x8b')]||!_0x46385d['containsRangeInObject']&&!_0x46385d['isInsideObject'])){if(_0x5bee6a[_0x3d11('0x19')]){if(!Gt(_0x5bee6a,_0x38f701))continue;let _0x1357e2=!0x0;for(const _0x36ae06 of _0x5bee6a['getRanges']()){if(_0x36ae06[_0x3d11('0x18')](_0x17aaca,!0x0))return _0x5bee6a;_0x17aaca['containsRange'](_0x36ae06)||(_0x1357e2=!0x1);}_0x1357e2&&_0x5bee6a[_0x3d11('0x101')]();}else{const _0x295e8c=_0x5bee6a[_0x3d11('0x9')]();if(_0x295e8c[_0x3d11('0x18')](_0x17aaca,!0x0))return _0x5bee6a;if(!Gt(_0x5bee6a,_0x38f701)){_0x17aaca['containsRange'](_0x295e8c)?_0x5bee6a['removeMarkers']():_0x295e8c['containsPosition'](_0x30ab54)?_0x30ab54=_0x295e8c[_0x3d11('0x87')]:_0x295e8c[_0x3d11('0x133')](_0x2b9a47)&&(_0x2b9a47=_0x295e8c[_0x3d11('0x77')]);continue;}_0x30ab54=_0x30ab54[_0x3d11('0x148')](_0x295e8c[_0x3d11('0x77')])?_0x30ab54:_0x295e8c[_0x3d11('0x77')],_0x2b9a47=_0x2b9a47[_0x3d11('0x118')](_0x295e8c[_0x3d11('0x87')])?_0x2b9a47:_0x295e8c[_0x3d11('0x87')],_0x38f701=Object[_0x3d11('0xeb')]({},_0x5bee6a['attributes']),_0x4b503e?_0x295e8c[_0x3d11('0x77')][_0x3d11('0x148')](_0x4b503e[_0x3d11('0x9')]()[_0x3d11('0x77')])?(_0x4b503e[_0x3d11('0x172')](),_0x4b503e=_0x5bee6a):_0x5bee6a[_0x3d11('0x172')]():_0x4b503e=_0x5bee6a;}}}if(_0x4b503e)return this[_0x3d11('0xa1')](_0x4b503e,this[_0x3d11('0x2e')][_0x3d11('0x66')](_0x30ab54,_0x2b9a47)),_0x4b503e;{const _0x5d2a41=_0x20fbe8(),_0x48fbab=this[_0x3d11('0x2e')][_0x3d11('0x66')](_0x30ab54,_0x2b9a47),_0x3f9bf6=_0x3a9f94['id'],_0x3f3b05=_0x577e07?_0x3d11('0x69')+_0x577e07:_0x3d11('0x98'),_0xc6f61b=this[_0x3d11('0x8a')]({'id':_0x5d2a41,'type':_0x3f3b05,'createdAt':new Date(),'authorId':_0x3f9bf6,'attributes':_0x38f701});return this[_0x3d11('0x128')](_0x3f3b05,_0x5d2a41,_0x3f9bf6,_0x48fbab),_0xc6f61b;}}[_0x3d11('0xc9')](_0xb5cd3f,_0x1a19c1=_0x3d11('0x130'),_0x2e6f3c={}){const _0x445e7d=this[_0x3d11('0xdf')][_0x3d11('0x115')][_0x3d11('0x166')]('Users')['me'],_0x32f464=_0xb5cd3f[_0x3d11('0xb8')](_0x182fe1=>new _0x2192b8(_0x182fe1[_0x3d11('0x77')],_0x182fe1[_0x3d11('0x87')])),_0x13690b=new Set();for(const {suggestion:_0x9d2cb2,meta:_0x59d91e}of this['_findSuggestions'](_0x32f464,_0x3d11('0x16e')))_0x59d91e[_0x3d11('0x58')]&&!_0x59d91e[_0x3d11('0xf3')]&&_0x13690b[_0x3d11('0x13c')](_0x9d2cb2);for(const _0x2dcfc0 of _0x13690b)if(_0x2dcfc0[_0x3d11('0x19')]){const _0x37b7fd=_0x2dcfc0[_0x3d11('0x1b')]();(!_0x2dcfc0[_0x3d11('0x7b')]||!_0x2dcfc0[_0x3d11('0x7b')][_0x3d11('0x13d')])&&(_0x37b7fd['every'](_0x527d3a=>_0x32f464[_0x3d11('0x72')](_0x50c13e=>_0x50c13e[_0x3d11('0x18')](_0x527d3a,!0x0)))&&_0x2dcfc0[_0x3d11('0x101')]());if(_0x32f464[_0x3d11('0xde')](_0x1ca9b1=>_0x37b7fd['some'](_0x1a4d38=>_0x1a4d38['containsRange'](_0x1ca9b1,!0x0)))){const _0x16d4ce=this[_0x3d11('0x5d')]['getSuggestionCallback'](_0x3d11('0x98'),_0x1a19c1,_0x3d11('0x176'));return this[_0x3d11('0xa4')](()=>_0x16d4ce(_0xb5cd3f,null,_0x2e6f3c)),null;}}else{const _0x697dfc=_0x2dcfc0[_0x3d11('0x9')]();_0x32f464[_0x3d11('0x72')](_0x6caae1=>_0x6caae1[_0x3d11('0x18')](_0x697dfc,!0x0))&&_0x2dcfc0['discard']();if(_0x32f464[_0x3d11('0xde')](_0x54a9e9=>_0x697dfc[_0x3d11('0x18')](_0x54a9e9,!0x0))){const _0x495ca8=this[_0x3d11('0x5d')][_0x3d11('0x147')]('deletion',_0x1a19c1,_0x3d11('0x176'));return this[_0x3d11('0xa4')](()=>_0x495ca8(_0x32f464,null,_0x2e6f3c)),null;}}const _0x596d09=this['_suggestionFactory'][_0x3d11('0x147')](_0x3d11('0x98'),_0x1a19c1,'join');let _0x18dacc=null;for(const _0x1688e6 of this[_0x3d11('0x14d')]())if(_0x1688e6['author']['id']==_0x445e7d['id']&&_0x1688e6[_0x3d11('0x93')]&&_0x3d11('0x98')==_0x1688e6['type']&&_0x1688e6[_0x3d11('0x13e')]==_0x1a19c1&&Gt(_0x1688e6,_0x2e6f3c)&&(_0x596d09(_0x1688e6[_0x3d11('0x1b')](),_0x32f464)||_0x596d09(_0x32f464,_0x1688e6['getRanges']()))){if(_0x18dacc){if(_0x1688e6[_0x3d11('0x99')]&&_0x1688e6[_0x3d11('0x99')][_0x3d11('0x9a')])continue;for(const _0x442e26 of _0x1688e6['getRanges']())_0x18dacc[_0x3d11('0x3b')](_0x442e26)||_0x18dacc[_0x3d11('0x59')](_0x442e26);_0x1688e6['removeMarkers']();}else{_0x18dacc=_0x1688e6;for(const _0xa90bd1 of _0x32f464)_0x1688e6['isIntersectingWithRange'](_0xa90bd1)||_0x1688e6['addRange'](_0xa90bd1);}}if(_0x18dacc)return _0x18dacc;_0x13690b[_0x3d11('0x12f')]();for(const {suggestion:_0x3393df,meta:_0x13644f}of this['_findSuggestions'](_0x32f464,_0x3d11('0x98')))_0x13644f['isOwn']&&(this[_0x3d11('0x8b')]||!_0x13644f[_0x3d11('0x10e')]&&!_0x13644f[_0x3d11('0x4a')])&&Gt(_0x3393df,_0x2e6f3c)&&_0x13690b[_0x3d11('0x13c')](_0x3393df);for(const _0x43bff9 of _0x13690b){const _0x582868=_0x43bff9[_0x3d11('0x1b')]();if(!_0x2e6f3c||!_0x2e6f3c[_0x3d11('0x13d')]){if(_0x32f464[_0x3d11('0xde')](_0x76c0a4=>_0x582868[_0x3d11('0x72')](_0x1f2979=>_0x1f2979[_0x3d11('0x18')](_0x76c0a4,!0x0))))return _0x43bff9;}(!_0x43bff9[_0x3d11('0x7b')]||!_0x43bff9[_0x3d11('0x7b')]['skipNestingCheck'])&&(_0x582868['every'](_0x276729=>_0x32f464[_0x3d11('0x72')](_0x48456f=>_0x48456f[_0x3d11('0x18')](_0x276729,!0x0)))&&_0x43bff9[_0x3d11('0x101')]());}const _0x351420=_0x20fbe8(),_0x2193f9=_0x445e7d['id'],_0x547236=_0x3d11('0x69')+_0x1a19c1,_0x43526b=this[_0x3d11('0x8a')]({'id':_0x351420,'type':_0x547236,'createdAt':new Date(),'authorId':_0x2193f9,'attributes':_0x2e6f3c});for(const _0x7cd184 of _0x32f464)_0x7cd184[_0x3d11('0x10')](),_0x7cd184['isCollapsed']||_0x3d11('0x11b')==_0x7cd184['root'][_0x3d11('0x3f')]||this[_0x3d11('0x128')](_0x547236,_0x351420,_0x2193f9,_0x7cd184,_0x3406f6[_0x3d11('0x155')]());return _0x43526b;}['markAttributeChange'](_0x152bdf,_0x424c19,_0x21acf8,_0x2c0366,_0x529286){if(_0x152bdf[_0x3d11('0x157')])return[];if(_0x3d11('0xbc')===this['_trackFormatChanges'])return[];const _0x3db779=this[_0x3d11('0xdf')][_0x3d11('0x115')][_0x3d11('0x166')](_0x3d11('0x123'))['me']['id'],_0x84e172=Array[_0x3d11('0x4d')](this['_suggestions'][_0x3d11('0x17a')]())[_0x3d11('0xa2')](_0x3c05ef=>_0x3d11('0x14')==_0x3c05ef[_0x3d11('0x43')]&&_0x3c05ef['data'][_0x3d11('0xc0')]==_0x424c19&&_0x3c05ef[_0x3d11('0x3b')](_0x152bdf));if(_0x3d11('0x86')===this[_0x3d11('0x80')]){const _0x430ada=this[_0x3d11('0x1d')](_0x152bdf,_0x3d11('0x16e'))[_0x3d11('0xa2')](({meta:_0x2e08a4})=>_0x2e08a4[_0x3d11('0x58')]&&!_0x2e08a4[_0x3d11('0x4a')]&&!_0x2e08a4[_0x3d11('0xf3')])[_0x3d11('0xb8')](({suggestion:_0x47c49d})=>_0x47c49d);_0x84e172['unshift'](..._0x430ada);}const _0x566250=new Map([[_0x152bdf,_0x21acf8]]);for(const _0x2c9225 of _0x84e172){const _0x36a617=_0x3d11('0x14')==_0x2c9225[_0x3d11('0x43')]?_0x2c9225[_0x3d11('0xb1')][_0x3d11('0x8d')]:void 0x0,_0x2e4cdd=_0x2c9225[_0x3d11('0x9')](),_0x5833bf=Array['from'](_0x566250[_0x3d11('0x49')]())[_0x3d11('0x60')](_0x35e81e=>_0x35e81e[_0x3d11('0xd5')](_0x2e4cdd));if(!_0x5833bf)continue;const _0x40d9bc=_0x5833bf[_0x3d11('0x143')](_0x2e4cdd);this['_isBlockAttribute'](_0x424c19)&&'insertion'==_0x2c9225[_0x3d11('0x43')]&&0x0!=_0x40d9bc['length']||(_0x566250[_0x3d11('0xd3')](_0x5833bf),_0x40d9bc[_0x3d11('0x62')](_0x990b72=>{_0x566250['set'](_0x990b72,_0x21acf8);}),_0x3d11('0x16e')!=_0x2c9225['type']&&_0x36a617!=_0x2c0366&&_0x566250[_0x3d11('0x134')](_0x5833bf[_0x3d11('0xbe')](_0x2e4cdd),_0x36a617));}const _0x33fd36=[];for(const [_0x1f74f5,_0x4aee08]of _0x566250){const _0x4eb842=_0x20fbe8(),_0x283756={'key':_0x424c19,'oldValue':_0x4aee08,'newValue':_0x2c0366};_0x424c19[_0x3d11('0x9a')]>0x25&&console[_0x3d11('0xa0')](_0x3d11('0x135'),{'key':_0x424c19});const _0x512ce0=('attribute:'+(_0x424c19+'|'+Rt({'newValue':_0x2c0366})))[_0x3d11('0xf2')](0x0,0x3c),_0xed6da1=this[_0x3d11('0x8a')]({'id':_0x4eb842,'type':_0x512ce0,'data':_0x283756,'createdAt':new Date(),'authorId':_0x3db779,'attributes':_0x529286});_0x33fd36['push'](_0xed6da1),this[_0x3d11('0x128')](_0x512ce0,_0x4eb842,_0x3db779,_0x1f74f5);}return _0x33fd36;}['_registerBlockAttribute'](_0x42d121){this[_0x3d11('0x39')][_0x3d11('0x13c')](_0x42d121);}['_registerInlineAttribute'](_0x2a3f91){this[_0x3d11('0x102')][_0x3d11('0x13c')](_0x2a3f91);}[_0x3d11('0x9e')](_0x38ce78,_0x207f07=[],_0x3d8a46=[]){this[_0x3d11('0x42')](_0x38ce78,(_0x5709a8,..._0x102afd)=>{this[_0x3d11('0x7')](()=>{_0x5709a8(..._0x102afd);});});for(const _0x408fff of _0x207f07)this[_0x3d11('0x137')](_0x408fff);for(const _0x161b3f of _0x3d8a46)this['_registerBlockAttribute'](_0x161b3f);}[_0x3d11('0xa1')](_0x439306,_0x3b16a0){const _0x5ea25a=_0x439306['getFirstMarker']();this[_0x3d11('0x2e')][_0x3d11('0x2f')](_0x9b6b61=>{_0x9b6b61[_0x3d11('0x111')](_0x5ea25a,{'range':_0x3b16a0});});}[_0x3d11('0x2')](_0x4743c4){const _0x320d09=_0x4743c4['id'],_0x17412c=this['editor'][_0x3d11('0xdd')][_0x3d11('0x166')](_0x3d11('0x119'));this[_0x3d11('0xe3')][_0x3d11('0x11a')](_0x320d09)||this[_0x3d11('0xe3')][_0x3d11('0xcf')]({'channelId':_0x17412c,'threadId':_0x320d09,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x4f07fe=this[_0x3d11('0xe3')][_0x3d11('0x10f')](_0x320d09);_0x4f07fe[_0x3d11('0x112')]('isRemovable'),_0x4f07fe[_0x3d11('0xe6')]=!0x1,_0x4743c4[_0x3d11('0x99')]=_0x4f07fe;}[_0x3d11('0x6')](_0x5b3845,_0x310003,_0x4c361a,_0x3e35dd){if(_0x5b3845[_0x3d11('0x43')]!=_0x310003||_0x5b3845[_0x3d11('0x13e')]!=_0x4c361a||_0x5b3845[_0x3d11('0x4b')]['id']!=_0x3e35dd)throw this[_0x3d11('0xdf')][_0x3d11('0x2b')](_0x3d11('0x171')),new _0x4431f7(_0x3d11('0x171'),this);}['_cutOutSuggestionMarker'](_0x40feaf,_0x2523eb){const _0x16454a=_0x40feaf['getFirstRange']();if(_0x2523eb['isEqual'](_0x16454a))_0x40feaf['removeMarkers']();else{if(_0x16454a[_0x3d11('0x18')](_0x2523eb)){const _0x2a0258=this[_0x3d11('0x2e')][_0x3d11('0x13b')](_0x2523eb[_0x3d11('0x77')]['nodeBefore'],_0x3d11('0x87'));this['_setSuggestionRange'](_0x40feaf,this[_0x3d11('0x2e')][_0x3d11('0x66')](_0x16454a[_0x3d11('0x77')],_0x2a0258));const _0x37b484=_0x20fbe8(),_0x1b5a00=_0x40feaf['creator']['id'],_0x3b4c71=_0x40feaf[_0x3d11('0x43')]+':'+_0x40feaf[_0x3d11('0x13e')];this[_0x3d11('0x8a')]({'id':_0x37b484,'type':_0x3b4c71,'createdAt':new Date(),'authorId':_0x1b5a00,'data':_0x40feaf[_0x3d11('0xb1')],'attributes':_0x40feaf[_0x3d11('0x7b')]});const _0x276ce8=this[_0x3d11('0x2e')]['createPositionAt'](_0x2523eb[_0x3d11('0x87')]['parent'],_0x3d11('0x9c')),_0xf2e962=this[_0x3d11('0x2e')][_0x3d11('0x66')](_0x276ce8,_0x16454a[_0x3d11('0x87')]);this['_addSuggestionMarker'](_0x3b4c71,_0x37b484,_0x1b5a00,_0xf2e962);}else{if(_0x16454a[_0x3d11('0x133')](_0x2523eb[_0x3d11('0x77')])){const _0x5b6c19=this[_0x3d11('0x2e')]['createPositionAt'](_0x2523eb[_0x3d11('0x77')]['nodeBefore'],_0x3d11('0x87'));this['_setSuggestionRange'](_0x40feaf,this[_0x3d11('0x2e')]['createRange'](_0x16454a[_0x3d11('0x77')],_0x5b6c19));}else{const _0x4e3e71=this[_0x3d11('0x2e')][_0x3d11('0x13b')](_0x2523eb[_0x3d11('0x87')][_0x3d11('0x11')],'after');this[_0x3d11('0xa1')](_0x40feaf,this[_0x3d11('0x2e')]['createRange'](_0x4e3e71,_0x16454a['end']));}}}}[_0x3d11('0x14f')](_0xe3591f){for(const {suggestion:_0x1e0872,meta:_0x249fe1}of this['_findSuggestions'](_0xe3591f,_0x3d11('0x16e'))){if(!_0x249fe1[_0x3d11('0x58')])continue;const _0x5ecfc8=_0x1e0872[_0x3d11('0x1b')]();for(const _0x3725ef of _0x5ecfc8)if(!_0xe3591f[_0x3d11('0x143')](_0x3725ef)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x277f83){const _0x38c06f=this[_0x3d11('0xdf')][_0x3d11('0x115')][_0x3d11('0x166')](_0x3d11('0x123'))[_0x3d11('0x63')](_0x277f83);if(!_0x38c06f)throw new _0x4431f7(_0x3d11('0x10c'),this);return _0x38c06f;}[_0x3d11('0xbb')](_0x3ed537){const _0x3e687c=this[_0x3d11('0xdf')]['plugins'][_0x3d11('0x166')](_0x3d11('0x123')),_0x40ca3a=_0x134d88(_0x3d11('0xa6')+_0x3ed537),_0x5db7ea=_0x3e687c[_0x3d11('0x63')](_0x40ca3a);return _0x5db7ea||_0x3e687c[_0x3d11('0x2a')]({'id':_0x40ca3a,'name':_0x3ed537});}['_createSuggestion'](_0x1988cb,_0x1f3b8d,_0x16db4,_0x4f6ca2,_0x21bc51){const _0x4a5e77=this[_0x3d11('0xdc')](_0x4f6ca2),_0x5ee17d=this[_0x3d11('0x5d')][_0x3d11('0xe7')](_0x1988cb,_0x1f3b8d,_0x16db4,_0x4a5e77,_0x21bc51,_0x38a7fb=>this[_0x3d11('0x163')](_0x16db4,{'attributes':_0x38a7fb}));return this[_0x3d11('0xea')](_0x5ee17d,_0x3d11('0x176'),()=>{this[_0x3d11('0x163')](_0x16db4,{'state':_0x3d11('0x67')});},{'priority':_0x3d11('0x6c')}),this['listenTo'](_0x5ee17d,_0x3d11('0x101'),()=>{this[_0x3d11('0x163')](_0x16db4,{'state':_0x3d11('0x5')});},{'priority':_0x3d11('0x6c')}),this['_suggestions']['set'](_0x16db4,_0x5ee17d),this['_suggestionState'][_0x3d11('0x134')](_0x5ee17d,'notReady'),_0x5ee17d;}[_0x3d11('0xba')](_0xc4c8d5){const _0x2f0b85=_0xc4c8d5[_0x3d11('0x2c')](':');return{'group':_0x2f0b85[0x0],'type':_0x2f0b85[0x1],'subType':_0x2f0b85[_0x3d11('0x9a')]>=0x5?_0x2f0b85[0x2]:null,'id':_0x2f0b85['length']<0x5?_0x2f0b85[0x2]:_0x2f0b85[0x3],'authorId':_0x2f0b85[_0x3d11('0x9a')]<0x5?_0x2f0b85[0x3]:_0x2f0b85[0x4],'markerCount':0x6==_0x2f0b85['length']?_0x2f0b85[0x5]:null};}[_0x3d11('0x6d')](_0x14d262,_0x240ebf,_0x32dd0e){const _0x1adb84=_0x14d262[_0x3d11('0x9')](),_0x33b53d=_0x1adb84[_0x3d11('0x77')],_0x5e3d9a=_0x1adb84['end'];this[_0x3d11('0xa1')](_0x14d262,this[_0x3d11('0x2e')]['createRange'](_0x33b53d,_0x240ebf));const _0x7c6ae6=_0x20fbe8(),_0x20045a=_0x14d262[_0x3d11('0x4b')]['id'],_0x1bb415=_0x14d262['type']+(_0x14d262[_0x3d11('0x13e')]?':'+_0x14d262[_0x3d11('0x13e')]:'');this[_0x3d11('0x8a')]({'id':_0x7c6ae6,'type':_0x1bb415,'createdAt':new Date(),'authorId':_0x20045a,'originalSuggestionId':_0x14d262['id'],'attributes':_0x14d262['attributes'],'data':_0x14d262[_0x3d11('0xb1')]});const _0x314bd8=Pt(_0x14d262);(_0x3d11('0x4')==_0x14d262[_0x3d11('0x43')]||_0x314bd8&&this[_0x3d11('0xd0')](_0x314bd8))&&(_0x32dd0e=this[_0x3d11('0x2e')][_0x3d11('0x41')](_0x32dd0e[_0x3d11('0x11')])),this['_addSuggestionMarker'](_0x1bb415,_0x7c6ae6,_0x20045a,this[_0x3d11('0x2e')][_0x3d11('0x66')](_0x32dd0e,_0x5e3d9a));}[_0x3d11('0x1d')](_0x4e78de,_0x589b6e=null){const _0x1cacf0=[],_0x38e5f9=this['editor'][_0x3d11('0x115')][_0x3d11('0x166')](_0x3d11('0x123'))['me'];Array[_0x3d11('0x22')](_0x4e78de)||(_0x4e78de=[_0x4e78de]);for(const _0x7fa549 of this['getSuggestions']()){if(!_0x7fa549[_0x3d11('0x93')])continue;if(_0x589b6e&&_0x7fa549[_0x3d11('0x43')]!=_0x589b6e)continue;let _0x5efe93=!0x1;for(const _0x59e880 of _0x7fa549['getRanges']()){for(const _0x5545f8 of _0x4e78de){const _0x272df2=_0x5545f8[_0x3d11('0x77')][_0x3d11('0xe2')](_0x59e880[_0x3d11('0x87')])||_0x5545f8[_0x3d11('0x87')][_0x3d11('0xe2')](_0x59e880[_0x3d11('0x77')]);if(_0x272df2||_0x5545f8[_0x3d11('0xbe')](_0x59e880)){const _0xf26306=_0x5545f8[_0x3d11('0x18')](_0x59e880)&&Tt(this[_0x3d11('0x2e')][_0x3d11('0x21')],_0x59e880[_0x3d11('0x77')],_0x5545f8),_0x174039=_0x59e880[_0x3d11('0x18')](_0x5545f8)&&Tt(this[_0x3d11('0x2e')][_0x3d11('0x21')],_0x5545f8['start'],_0x59e880);_0x1cacf0[_0x3d11('0xb9')]({'suggestion':_0x7fa549,'meta':{'isOwn':_0x38e5f9==_0x7fa549[_0x3d11('0x132')],'isNextTo':_0x272df2,'isInsideObject':_0xf26306,'containsRangeInObject':_0x174039}}),_0x5efe93=!0x0;break;}}if(_0x5efe93)break;}}return _0x1cacf0;}[_0x3d11('0x128')](_0x25d337,_0x1f6baa,_0x45b99c,_0x4c6e7f,_0x185569){this['_model'][_0x3d11('0x2f')](_0x4f8b4c=>{let _0x3642d9='suggestion:'+_0x25d337+':'+_0x1f6baa+':'+_0x45b99c;_0x185569&&(_0x3642d9=_0x3642d9+':'+_0x185569),_0x4f8b4c[_0x3d11('0x16c')](_0x3642d9,{'range':_0x4c6e7f,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0xfe4b91){const _0x2887a1=_0xfe4b91[_0x3d11('0x68')],_0x46bd7a=_0xfe4b91['next'];_0xfe4b91['previous']=null,_0xfe4b91[_0x3d11('0x53')]=null,null!=_0x2887a1&&(_0x2887a1[_0x3d11('0x53')]=_0x46bd7a),null!=_0x46bd7a&&(_0x46bd7a['previous']=_0x2887a1),'ready'==this[_0x3d11('0xd2')][_0x3d11('0x166')](_0xfe4b91)&&(this['_suggestionState'][_0x3d11('0x134')](_0xfe4b91,_0x3d11('0x52')),this[_0x3d11('0xc8')](_0x3d11('0x9b'),_0xfe4b91,_0x2887a1,_0x46bd7a));}['_setSuggestionData'](_0x1414a8){const _0x191c65=_0x1414a8['id'],_0x2db70c=this[_0x3d11('0x6f')](_0x1414a8);if(this['_adapter']&&this[_0x3d11('0xf8')][_0x3d11('0xbd')]){const _0x3542b6=this[_0x3d11('0xdf')][_0x3d11('0x115')][_0x3d11('0x166')](_0x3d11('0x31')),_0x5043f5=_0x2db70c['hasComments'],_0x4c917f=_0x2db70c[_0x3d11('0x13e')]?_0x2db70c['type']+':'+_0x2db70c[_0x3d11('0x13e')]:_0x2db70c[_0x3d11('0x43')],_0x4a6e5b=this[_0x3d11('0xdf')][_0x3d11('0xe5')],_0x59ba3d=_0x3542b6[_0x3d11('0x13c')](_0x5edfdd(_0x4a6e5b,'PENDING_ACTION_SUGGESTION')),_0x13a381={'id':_0x191c65,'type':_0x4c917f,'hasComments':_0x5043f5,'data':_0x1414a8['data']||null,'originalSuggestionId':_0x1414a8[_0x3d11('0x121')]||null,'attributes':_0x2db70c[_0x3d11('0x7b')]};this['_adapter'][_0x3d11('0xbd')](_0x13a381)['then'](_0x38bd65=>{_0x2db70c[_0x3d11('0x159')]=!0x0,_0x3542b6['remove'](_0x59ba3d),_0x38bd65&&_0x38bd65[_0x3d11('0x165')]&&(this[_0x3d11('0x26')][_0x3d11('0x166')](_0x191c65)['createdAt']=_0x38bd65[_0x3d11('0x165')]);})[_0x3d11('0x173')](_0x511771=>{throw _0x181a42('error-saving-suggestion-data-suggestion-discarded'),this[_0x3d11('0xdf')][_0x3d11('0x81')][_0x3d11('0xa3')]({'isUndoable':!0x1},()=>{_0x2db70c['discard']();}),_0x2db70c[_0x3d11('0xad')](),this['_suggestions'][_0x3d11('0xd3')](_0x2db70c['id']),this[_0x3d11('0xd2')][_0x3d11('0xd3')](_0x2db70c),_0x511771;});}return _0x2db70c;}['_isBlockAttribute'](_0x1ad949){return this[_0x3d11('0x39')][_0x3d11('0x95')](_0x1ad949);}[_0x3d11('0x163')](_0x1010d8,_0x3b083e){const _0x327387=this[_0x3d11('0xdf')]['plugins'][_0x3d11('0x166')]('PendingActions'),_0x580e9d=this[_0x3d11('0xce')](_0x1010d8);if(this[_0x3d11('0xf8')]&&this['_adapter'][_0x3d11('0xef')]){if(_0x580e9d[_0x3d11('0x159')]){const _0x53207c=_0x327387['add'](_0x5edfdd(this[_0x3d11('0xdf')][_0x3d11('0xe5')],_0x3d11('0x164')));this['_adapter']['updateSuggestion'](_0x1010d8,_0x3b083e)[_0x3d11('0xca')](()=>{_0x327387[_0x3d11('0xc2')](_0x53207c);});}else _0x580e9d['on'](_0x3d11('0x12c'),()=>{this[_0x3d11('0x163')](_0x1010d8,_0x3b083e);});}}[_0x3d11('0x108')](_0x20f975){if(!this[_0x3d11('0xf8')]||!this[_0x3d11('0xf8')][_0x3d11('0xce')])throw new _0x4431f7(_0x3d11('0x5c'),this);return this[_0x3d11('0xf8')][_0x3d11('0xce')](_0x20f975);}[_0x3d11('0x17c')](_0x1f13fe){const {id:_0x1b99fb,type:_0x1e1d98,subType:_0x3fdcca,authorId:_0x29897b}=this[_0x3d11('0xba')](_0x1f13fe),_0x246b9a=this[_0x3d11('0x26')][_0x3d11('0x166')](_0x1b99fb)||this[_0x3d11('0x140')](_0x1e1d98,_0x3fdcca,_0x1b99fb,_0x29897b,{});switch(this['_checkSuggestionCorrectness'](_0x246b9a,_0x1e1d98,_0x3fdcca,_0x29897b),this[_0x3d11('0xd2')][_0x3d11('0x166')](_0x246b9a)){case'notReady':this['_getSuggestionData'](_0x1b99fb)['then'](_0x28b2c4=>{let _0x3589ca=Promise[_0x3d11('0xe8')]();_0x28b2c4[_0x3d11('0x27')]&&(_0x3589ca=this[_0x3d11('0xe3')]['fetchCommentThread']({'channelId':this[_0x3d11('0xdf')][_0x3d11('0xdd')]['get'](_0x3d11('0x119')),'threadId':_0x1b99fb})),_0x3589ca[_0x3d11('0xca')](()=>{this[_0x3d11('0x6f')](_0x28b2c4)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x246b9a,_0x3d11('0xe1'));break;case _0x3d11('0x52'):this[_0x3d11('0x163')](_0x1b99fb,{'state':'open'});case _0x3d11('0x89'):this[_0x3d11('0xd2')][_0x3d11('0x134')](_0x246b9a,_0x3d11('0xc7')),this[_0x3d11('0xc8')](_0x3d11('0x16'),_0x246b9a);break;case _0x3d11('0xc7'):this[_0x3d11('0xc8')](_0x3d11('0xc5'),_0x246b9a);}return _0x246b9a[_0x3d11('0x24')](_0x1f13fe),_0x246b9a;}[_0x3d11('0x5f')](_0x9fe17f){const _0x251841=Array[_0x3d11('0x4d')](_0x9fe17f),_0x55cebd=_0x251841['filter'](_0x27a7d7=>'attribute'==_0x27a7d7[_0x3d11('0x43')]);this[_0x3d11('0xa')](_0x55cebd);const _0x29fc21=_0x251841[_0x3d11('0xa2')](_0x1e06b3=>!_0x1e06b3[_0x3d11('0x19')]&&_0x3d11('0x14')!=_0x1e06b3['type']),_0x13b837=this[_0x3d11('0x14d')]({'skipNotAttached':!0x0})[_0x3d11('0xa2')](_0x7033fc=>!_0x7033fc['isMultiRange']&&'attribute'!=_0x7033fc['type']),_0x43ebee=_0x13b837['filter'](_0x29a78c=>!_0x9fe17f[_0x3d11('0x95')](_0x29a78c)),_0x26a85b=new Map(_0x13b837['map'](_0x4fe639=>[_0x4fe639,this['_suggestionFactory'][_0x3d11('0x147')](_0x4fe639[_0x3d11('0x43')],_0x4fe639[_0x3d11('0x13e')],_0x3d11('0x7c'))])),_0x50ae3c=new Map(_0x13b837[_0x3d11('0xb8')](_0x4e9f8c=>[_0x4e9f8c,_0x4e9f8c[_0x3d11('0x9')]()])),_0x1249b7=new Set(),_0x2a1480=new Set();for(let _0x1d3116=0x0;_0x1d3116<_0x29fc21['length'];_0x1d3116++)_0xe6132d(_0x29fc21[_0x1d3116],_0x29fc21,_0x1d3116+0x1);for(let _0x280f64=0x0;_0x280f64<_0x29fc21['length'];_0x280f64++)_0xe6132d(_0x29fc21[_0x280f64],_0x43ebee,0x0);const _0x14e85c=new Set();for(let _0x39d75b=0x0;_0x39d75b<_0x29fc21['length'];_0x39d75b++){const _0x3c593a=_0x29fc21[_0x39d75b];!_0x2a1480[_0x3d11('0x95')](_0x3c593a)&&_0x3c593a[_0x3d11('0x68')]&&(_0x14e85c[_0x3d11('0x13c')](_0x3c593a['previous']),_0x3c593a[_0x3d11('0x68')][_0x3d11('0x53')]===_0x3c593a&&(_0x3c593a[_0x3d11('0x68')]['next']=null),_0x3c593a[_0x3d11('0x68')]=null),!_0x1249b7['has'](_0x3c593a)&&_0x3c593a[_0x3d11('0x53')]&&(_0x14e85c[_0x3d11('0x13c')](_0x3c593a['next']),_0x3c593a[_0x3d11('0x53')][_0x3d11('0x68')]===_0x3c593a&&(_0x3c593a[_0x3d11('0x53')][_0x3d11('0x68')]=null),_0x3c593a['next']=null);}function _0xe6132d(_0x2cee7e,_0x447373,_0x117406){for(let _0x3b1692=_0x117406;_0x3b1692<_0x447373['length'];_0x3b1692++){const _0x2d9871=_0x5726a0(_0x2cee7e,_0x447373[_0x3b1692]);_0x2d9871&&(_0x2d9871[0x0]['next']=_0x2d9871[0x1],_0x2d9871[0x1][_0x3d11('0x68')]=_0x2d9871[0x0],_0x1249b7[_0x3d11('0x13c')](_0x2d9871[0x0]),_0x2a1480[_0x3d11('0x13c')](_0x2d9871[0x1]));}}function _0x5726a0(_0x2cc67c,_0x3a68dd){if(_0x2cc67c['author']['id']!==_0x3a68dd[_0x3d11('0x132')]['id'])return null;const _0x41a36f=_0x26a85b['get'](_0x2cc67c)(_0x2cc67c,_0x3a68dd,_0x50ae3c[_0x3d11('0x166')](_0x2cc67c),_0x50ae3c[_0x3d11('0x166')](_0x3a68dd));if(!_0x41a36f)return null;return _0x26a85b[_0x3d11('0x166')](_0x3a68dd)(_0x2cc67c,_0x3a68dd,_0x50ae3c[_0x3d11('0x166')](_0x2cc67c),_0x50ae3c[_0x3d11('0x166')](_0x3a68dd))?_0x41a36f[0x1]['commentThread']&&_0x41a36f[0x1][_0x3d11('0x99')][_0x3d11('0x9a')]?null:_0x41a36f:null;}_0x14e85c['size']&&this[_0x3d11('0x5f')](_0x14e85c);}[_0x3d11('0xa')](_0x5b8669){if(0x0==_0x5b8669['length'])return;const _0x305da3=this[_0x3d11('0x14d')]({'skipNotAttached':!0x0})[_0x3d11('0xa2')](_0x55308c=>'attribute'==_0x55308c[_0x3d11('0x43')]&&_0x55308c[_0x3d11('0x97')]),_0x5a3b4b=[],_0x30eca0=new Map();for(const _0x5786c5 of _0x305da3){const _0x2cae0b=_0x134d88(_0x5786c5[_0x3d11('0x7b')]);_0x30eca0[_0x3d11('0x95')](_0x2cae0b)||(_0x30eca0[_0x3d11('0x134')](_0x2cae0b,_0x5a3b4b['length']),_0x5a3b4b[_0x3d11('0xb9')]([]));const _0x395f53=_0x30eca0[_0x3d11('0x166')](_0x2cae0b);_0x5a3b4b[_0x395f53]['push'](_0x5786c5);}!function(){_0x5a3b4b[_0x3d11('0x179')]((_0x28ae56,_0x23a660)=>{const _0x48d506=_0x28ae56[0x0]['createdAt'],_0x5dbb1b=_0x23a660[0x0][_0x3d11('0x165')];return _0x48d506==_0x5dbb1b?_0x28ae56[0x0][_0x3d11('0x7b')]['groupId']<_0x23a660[0x0]['attributes'][_0x3d11('0xc4')]?-0x1:0x1:_0x48d506<_0x5dbb1b?-0x1:0x1;});for(const _0x25da10 of _0x5a3b4b)_0x25da10[_0x3d11('0x179')]((_0x3fcf3e,_0x583962)=>_0x3fcf3e['id']<_0x583962['id']?-0x1:0x1);}();for(let _0x55e240=0x0;_0x55e240<_0x5a3b4b[_0x3d11('0x9a')];_0x55e240++){if(0x0==_0x5a3b4b[_0x55e240][_0x3d11('0x9a')])continue;const _0x279a54=[];for(let _0x4c60cf=_0x55e240+0x1;_0x4c60cf<_0x5a3b4b[_0x3d11('0x9a')];_0x4c60cf++)0x0!=_0x5a3b4b[_0x4c60cf]['length']&&_0x3cd56e(_0x5a3b4b[_0x55e240],_0x5a3b4b[_0x4c60cf])&&_0x279a54[_0x3d11('0xb9')](_0x4c60cf);for(const _0x5d2f39 of _0x279a54)_0x5a3b4b[_0x55e240]=_0x5a3b4b[_0x55e240][_0x3d11('0xd9')](_0x5a3b4b[_0x5d2f39]),_0x5a3b4b[_0x5d2f39]=[];}for(const _0x5cbefc of _0x5a3b4b)for(let _0x51e944=0x0;_0x51e944<_0x5cbefc[_0x3d11('0x9a')];_0x51e944++)_0x5cbefc[_0x51e944][_0x3d11('0x53')]=_0x5cbefc[_0x51e944+0x1]||null;for(const _0x5f42ab of _0x5a3b4b)for(let _0x594a4e=0x0;_0x594a4e<_0x5f42ab['length'];_0x594a4e++)_0x5f42ab[_0x594a4e][_0x3d11('0x68')]=_0x5f42ab[_0x594a4e-0x1]||null;function _0x3cd56e(_0x451cc0,_0x30c865){if(_0x451cc0[0x0][_0x3d11('0x132')]!==_0x30c865[0x0][_0x3d11('0x132')])return!0x1;if(!function(_0x54cd53,_0x38391c){if(!_0x54cd53[_0x3d11('0x27')]&&!_0x38391c[_0x3d11('0x27')])return!0x0;if(_0x54cd53[_0x3d11('0x27')]&&_0x38391c[_0x3d11('0x27')])return!0x1;if(_0x54cd53[_0x3d11('0x27')]&&_0x38391c[_0x3d11('0x165')]<_0x54cd53['commentThread'][_0x3d11('0xe9')][_0x3d11('0x166')](0x0)['createdAt'])return!0x0;if(_0x38391c[_0x3d11('0x27')]&&_0x54cd53[_0x3d11('0x165')]<_0x38391c[_0x3d11('0x99')][_0x3d11('0xe9')]['get'](0x0)[_0x3d11('0x165')])return!0x0;return!0x1;}(_0x451cc0[0x0],_0x30c865[0x0]))return!0x1;const _0x3e4f7e=_0x5a1201(_0x451cc0[0x0][_0x3d11('0x7b')],'groupId'),_0x1fdf36=_0x5a1201(_0x30c865[0x0]['attributes'],_0x3d11('0xc4'));if(!_0x9ce98b(_0x3e4f7e,_0x1fdf36))return!0x1;return!!_0x451cc0[_0x3d11('0xde')](_0x59af9f=>_0x30c865[_0x3d11('0x72')](_0x1558ba=>_0x59af9f[_0x3d11('0x9')]()[_0x3d11('0xe2')](_0x1558ba['getFirstRange']())))&&_0x30c865[_0x3d11('0xde')](_0x1bceaa=>_0x451cc0[_0x3d11('0x72')](_0x2a1f2f=>_0x1bceaa[_0x3d11('0x9')]()[_0x3d11('0xe2')](_0x2a1f2f[_0x3d11('0x9')]())));}}['_joinWithAdjacentSuggestions'](_0x22c1c8){const _0x1a85ef=Array['from'](_0x22c1c8),_0x5d8611=this[_0x3d11('0x14d')]({'skipNotAttached':!0x0}),_0x1acbbd=_0x5d8611[_0x3d11('0xa2')](_0x5eb0c9=>!_0x22c1c8['has'](_0x5eb0c9)),_0x2d4081=new Map(_0x1a85ef[_0x3d11('0xb8')](_0x5dfdf4=>[_0x5dfdf4,this[_0x3d11('0x5d')][_0x3d11('0x147')](_0x5dfdf4['type'],_0x5dfdf4['subType'],'join')])),_0x25d168=new Map(_0x5d8611[_0x3d11('0xb8')](_0x381c8a=>[_0x381c8a,_0x381c8a[_0x3d11('0x1b')]()]));for(let _0x1af335=0x0;_0x1af335<_0x1a85ef[_0x3d11('0x9a')];_0x1af335++){if(_0x4f07a5(this,_0x1a85ef[_0x1af335],_0x1a85ef,_0x1af335+0x1))return!0x0;}for(let _0x593987=0x0;_0x593987<_0x1a85ef['length'];_0x593987++){if(_0x4f07a5(this,_0x1a85ef[_0x593987],_0x1acbbd,0x0))return!0x0;}return!0x1;function _0x4f07a5(_0x524fb1,_0x5d5231,_0x312c12,_0x4d4b5f){for(let _0x38e846=_0x4d4b5f;_0x38e846<_0x312c12[_0x3d11('0x9a')];_0x38e846++){const _0x15b2ea=_0x312c12[_0x38e846];if(_0x15b2ea['type']!==_0x5d5231[_0x3d11('0x43')]||_0x15b2ea[_0x3d11('0x132')]['id']!==_0x5d5231['author']['id']||_0x15b2ea[_0x3d11('0x13e')]!==_0x5d5231['subType'])continue;if(!Vt(_0x5d5231,_0x15b2ea))continue;if('attribute'==_0x5d5231['type']&&_0x5d5231[_0x3d11('0xb1')][_0x3d11('0x8d')]!=_0x15b2ea[_0x3d11('0xb1')][_0x3d11('0x8d')])continue;if(_0x3d11('0x14')==_0x5d5231[_0x3d11('0x43')]&&_0x524fb1[_0x3d11('0xd0')](_0x5d5231[_0x3d11('0xb1')][_0x3d11('0xc0')]))continue;if(_0x3d11('0x4')==_0x5d5231[_0x3d11('0x43')]){const _0x18bd5c=_0x524fb1[_0x3d11('0xdf')][_0x3d11('0x81')],_0x32d5c8=_0x5d5231[_0x3d11('0xfa')]();if(_0x32d5c8&&(_0x18bd5c[_0x3d11('0x21')]['isObject'](_0x32d5c8)||_0x18bd5c[_0x3d11('0x21')][_0x3d11('0xc1')](_0x32d5c8)))continue;}const _0x5953a1=_0x2d4081['get'](_0x5d5231),_0x3cb911=_0x25d168[_0x3d11('0x166')](_0x5d5231),_0x1ef66d=_0x25d168[_0x3d11('0x166')](_0x15b2ea),_0x395fde=_0x5d5231[_0x3d11('0x99')]&&_0x5d5231[_0x3d11('0x99')]['length'],_0x17155f=_0x15b2ea[_0x3d11('0x99')]&&_0x15b2ea[_0x3d11('0x99')]['length'];if(!_0x395fde&&_0x5953a1(_0x1ef66d,_0x3cb911))return _0x524fb1[_0x3d11('0xfb')](_0x15b2ea,_0x5d5231),_0x25d168['delete'](_0x5d5231),!0x0;if(!_0x17155f&&_0x5953a1(_0x3cb911,_0x1ef66d))return _0x524fb1[_0x3d11('0xfb')](_0x5d5231,_0x15b2ea),_0x25d168[_0x3d11('0xd3')](_0x15b2ea),!0x0;}return!0x1;}}[_0x3d11('0xfb')](_0x565faf,_0x4a5ff0){if(_0x565faf[_0x3d11('0x19')])for(const _0x3fd15e of _0x4a5ff0['getRanges']())_0x565faf[_0x3d11('0x59')](_0x3fd15e);else{const _0x577879=_0x4a5ff0[_0x3d11('0x9')]()[_0x3d11('0x87')];this[_0x3d11('0xa1')](_0x565faf,this['_model'][_0x3d11('0x66')](_0x565faf[_0x3d11('0x9')]()['start'],_0x577879));}_0x4a5ff0[_0x3d11('0x172')]();}[_0x3d11('0xd7')](_0x4812bb,_0x75d8b9){const _0x5b6cf2=_0x4812bb[_0x3d11('0x12a')]('format')||_0x4812bb['startsWith'](_0x3d11('0x14'))?_0x3d11('0x1'):_0x4812bb[_0x3d11('0x5e')]();return _0x5edfdd(this[_0x3d11('0xdf')][_0x3d11('0xe5')],_0x75d8b9+'_'+_0x5b6cf2+'_SUGGESTION_ANNOUNCEMENT');}[_0x3d11('0xc3')](){const _0x2b2511=this[_0x3d11('0xdf')];_0x58d3b9(this[_0x3d11('0x2e')],({left:_0x519aeb,entered:_0x3bfb40})=>{const _0x475013=[];for(const _0x3d0f80 of _0x519aeb){const {group:_0x6bed88,type:_0x575a08}=this[_0x3d11('0xba')](_0x3d0f80[_0x3d11('0x84')]);if(_0x3d11('0xcd')===_0x6bed88){_0x475013['push'](this[_0x3d11('0xd7')](_0x575a08,_0x3d11('0x113')));break;}}for(const _0x183bac of _0x3bfb40){const {group:_0x571f50,type:_0xc25bda}=this[_0x3d11('0xba')](_0x183bac[_0x3d11('0x84')]);if(_0x3d11('0xcd')===_0x571f50){_0x475013[_0x3d11('0xb9')](this[_0x3d11('0xd7')](_0xc25bda,'ENTER'));break;}}_0x475013[_0x3d11('0x9a')]&&_0x2b2511['ui']['ariaLiveAnnouncer']['announce'](_0x3d11('0x110'),_0x475013['join']('\x20'));});}[_0x3d11('0x55')](_0x3b4d43){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x63f911=this['editor'],_0x70cd17=_0x63f911[_0x3d11('0x81')][_0x3d11('0x154')][_0x3d11('0xf6')][_0x3d11('0xb5')]();if(0x0==_0x70cd17[_0x3d11('0x9a')])return!0x1;const _0xe1bfe0=[],_0x2acce5=_0x70cd17[_0x3d11('0xa2')](_0xa71e16=>_0x3d11('0x14')==_0xa71e16[_0x3d11('0x43')]),_0xaa6951=_0x70cd17[_0x3d11('0xa2')](_0x25492e=>_0x3d11('0x6a')==_0x25492e['type']&&'$text'!=_0x25492e[_0x3d11('0x84')]),_0x97f9e3=_0x70cd17['filter'](_0x410148=>'remove'==_0x410148[_0x3d11('0x43')]&&_0x3d11('0x15b')!=_0x410148[_0x3d11('0x84')]);for(const _0x56973e of _0x2acce5)_0xe1bfe0[_0x3d11('0xb9')]({'key':_0x56973e[_0x3d11('0x12e')],'newValue':_0x56973e[_0x3d11('0x70')],'oldValue':_0x56973e[_0x3d11('0x48')],'range':_0x2c6a5b(_0x56973e[_0x3d11('0x117')])});for(const _0x5141b4 of _0xaa6951){const _0x5145e0=_0x97f9e3[_0x3d11('0x60')](_0x2e04e8=>_0x2e04e8['position']['isEqual'](_0x5141b4[_0x3d11('0x15c')]));_0x5145e0&&_0xe1bfe0[_0x3d11('0xb9')]({'key':_0x3d11('0x38'),'newValue':_0x5141b4[_0x3d11('0x84')],'oldValue':_0x5145e0['name'],'range':_0x63f911['model']['createRangeOn'](_0x5141b4[_0x3d11('0x15c')][_0x3d11('0x122')])});}return 0x0!=_0xe1bfe0[_0x3d11('0x9a')]&&this[_0x3d11('0x158')](_0x3b4d43,_0xe1bfe0);function _0x2c6a5b(_0x3cf7d8){return null==_0x3cf7d8['end']['nodeBefore']&&_0x3cf7d8[_0x3d11('0x87')][_0x3d11('0x11')]==_0x3cf7d8[_0x3d11('0x77')][_0x3d11('0x122')]?Ut(_0x3cf7d8[_0x3d11('0x77')]['nodeAfter'],_0x63f911[_0x3d11('0x81')]):_0x3cf7d8;}}[_0x3d11('0xed')](_0x545b52){let _0x5eb5c5=!0x1;const _0x4feadd=this[_0x3d11('0xdf')][_0x3d11('0x81')][_0x3d11('0x154')][_0x3d11('0xf6')]['getChangedMarkers']()[_0x3d11('0xa2')](_0x23854b=>_0x23854b[_0x3d11('0xb1')][_0x3d11('0x6e')]&&_0x23854b['name'][_0x3d11('0x12a')](_0x3d11('0x167')));for(const _0x2baadc of _0x4feadd){const {subType:_0x8e9442,id:_0x52bc13}=this['_splitMarkerName'](_0x2baadc[_0x3d11('0x84')]),_0x688dbf=_0x8e9442[_0x3d11('0x2c')]('|')[0x0];for(const _0x149214 of this[_0x3d11('0x14d')]({'skipNotAttached':!0x0}))_0x149214['id']!=_0x52bc13&&'attribute'==_0x149214[_0x3d11('0x43')]&&_0x149214[_0x3d11('0xb1')]&&_0x149214['data'][_0x3d11('0xc0')]==_0x688dbf&&_0x149214['getFirstRange']()[_0x3d11('0xd5')](_0x2baadc['data'][_0x3d11('0x6e')])&&(this[_0x3d11('0xd6')](_0x149214,_0x2baadc['data'][_0x3d11('0x6e')],_0x545b52),_0x5eb5c5=!0x0);}return _0x5eb5c5;}[_0x3d11('0x7')](_0x5e7987){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x5e7987();const _0x411bc3=this[_0x3d11('0xdf')];this['_recordAttributeSuggestionsFromVersion']=_0x411bc3[_0x3d11('0x81')]['document'][_0x3d11('0xa9')],_0x5e7987();const _0x359180=new Map();for(const _0x5618a1 of _0x411bc3['model'][_0x3d11('0x154')]['history']['getOperations'](this[_0x3d11('0x3')]))if([_0x3d11('0x14b'),_0x3d11('0x1e'),'removeAttribute',_0x3d11('0xd8')][_0x3d11('0xee')](_0x5618a1['type'])){const _0x22090b=_0x5618a1[_0x3d11('0xb4')],_0x389e8b=_0x359180[_0x3d11('0x166')](_0x22090b)||[];_0x389e8b[_0x3d11('0xb9')](_0x5618a1),_0x359180['set'](_0x22090b,_0x389e8b);}this[_0x3d11('0x3')]=null;for(const [_0x230753,_0x2dcf59]of _0x359180){const _0x899650=_0x20fbe8();_0x411bc3[_0x3d11('0x81')][_0x3d11('0xa3')](_0x230753,_0x2e1dc4=>{const _0x2b94f4=[];for(const _0x36fe82 of _0x2dcf59){let _0xfa8419,_0x4c9b05,_0x279339,_0x4a456e;if(_0x3d11('0x14b')==_0x36fe82[_0x3d11('0x43')]){const _0x2ae663=_0x36fe82;_0xfa8419=Ut(_0x2ae663['position']['nodeAfter'],_0x411bc3['model']),_0x4c9b05='$elementName',_0x279339=_0x2ae663[_0x3d11('0x94')],_0x4a456e=_0x2ae663[_0x3d11('0x145')];}else{const _0x6a5b71=_0x36fe82,_0x518208=this[_0x3d11('0xd0')](_0x6a5b71[_0x3d11('0xc0')]),_0x17826d=this[_0x3d11('0x102')][_0x3d11('0x95')](_0x6a5b71['key']);if(!_0x518208&&!_0x17826d)continue;_0xfa8419=_0x518208?Ut(_0x6a5b71[_0x3d11('0x117')]['start'][_0x3d11('0x122')],_0x411bc3[_0x3d11('0x81')]):_0x6a5b71[_0x3d11('0x117')],_0x4c9b05=_0x6a5b71[_0x3d11('0xc0')],_0x279339=_0x3d11('0x36')==_0x36fe82[_0x3d11('0x43')]?void 0x0:_0x6a5b71[_0x3d11('0x126')],_0x4a456e=_0x6a5b71['oldValue'];}this['markAttributeChange'](_0xfa8419,_0x4c9b05,_0x4a456e,_0x279339,{'groupId':_0x899650}),_0x2b94f4[_0x3d11('0xb9')]({'range':_0xfa8419,'key':_0x4c9b05,'newValue':_0x279339,'oldValue':_0x4a456e});}this[_0x3d11('0x158')](_0x2e1dc4,_0x2b94f4);});}}[_0x3d11('0x158')](_0xf893cb,_0x5a7eb8){if(0x0==_0x5a7eb8[_0x3d11('0x9a')])return!0x1;let _0x463942=!0x1;for(const _0x492135 of _0x5a7eb8){const _0x6be7b7=this[_0x3d11('0x1d')](_0x492135['range'],'attribute')[_0x3d11('0xa2')](_0x3a5b83=>!_0x3a5b83['meta'][_0x3d11('0xf3')])[_0x3d11('0xb8')](_0x87ac8c=>_0x87ac8c['suggestion']),_0x3dcc59=_0x134d88({'newValue':_0x492135['newValue']});_0x6be7b7['filter'](_0x3bb3b2=>{const [_0x4983bf,_0x3518ab]=_0x3bb3b2[_0x3d11('0x13e')][_0x3d11('0x2c')]('|');return _0x4983bf==_0x492135[_0x3d11('0xc0')]&&_0x3518ab!=_0x3dcc59;})[_0x3d11('0x62')](_0xc2401b=>{this[_0x3d11('0xd6')](_0xc2401b,_0x492135[_0x3d11('0x117')],_0xf893cb),_0x463942=!0x0;});}return _0x463942;}[_0x3d11('0xd6')](_0x1ab54a,_0x37f5c2,_0x239b72){const _0x3bc74a=_0x1ab54a[_0x3d11('0x9')]()[_0x3d11('0x143')](_0x37f5c2);0x0!==_0x3bc74a[_0x3d11('0x9a')]?0x1!==_0x3bc74a[_0x3d11('0x9a')]?this[_0x3d11('0x6d')](_0x1ab54a,_0x37f5c2['start'],_0x37f5c2[_0x3d11('0x87')]):this[_0x3d11('0xa1')](_0x1ab54a,_0x3bc74a[0x0]):_0x239b72[_0x3d11('0x65')](_0x1ab54a['getFirstMarker']());}}class Bt{constructor(_0x4bd743){this[_0x3d11('0x85')]=_0x4bd743,this[_0x3d11('0x2e')]=_0x4bd743[_0x3d11('0x81')],this['_customCallbacks']=new Map(),this[_0x3d11('0x17f')]=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0xdbe409,_0xe5d7b5,_0x3f59d9,_0xd7a55,_0x427fd6,_0x19ac93){return new _0x3406f6(this[_0x3d11('0x2e')],{'type':_0xdbe409,'subType':_0xe5d7b5,'id':_0x3f59d9,'author':_0xd7a55,'creator':_0xd7a55,'attributes':_0x427fd6,'onAttributesChange':_0x19ac93,'onAccept':(..._0x25beb3)=>this[_0x3d11('0x147')](_0xdbe409,_0xe5d7b5,_0x3d11('0x176'))(..._0x25beb3),'onDiscard':(..._0x1ab7b8)=>this[_0x3d11('0x147')](_0xdbe409,_0xe5d7b5,_0x3d11('0x101'))(..._0x1ab7b8)});}['registerCustomCallback'](_0x32c6c6,_0x22e4d2,_0x57c0e1,_0x21bc30){const _0x1979bb=_0x32c6c6+':'+_0x22e4d2+':'+_0x57c0e1;this[_0x3d11('0xe0')][_0x3d11('0x134')](_0x1979bb,_0x21bc30);}['getSuggestionCallback'](_0x55eb48,_0x403952,_0x35b109){const _0x2180df=_0x55eb48+':'+_0x403952+':'+_0x35b109;return this['_customCallbacks'][_0x3d11('0x166')](_0x2180df)||this[_0x3d11('0x17f')][_0x3d11('0x166')](_0x55eb48+':'+_0x35b109);}['_registerDefaultCallbacks'](){const _0x1fec63=()=>!0x1,_0x2ff8cd=_0x2133b8=>{_0x2133b8[_0x3d11('0x179')]((_0x526d68,_0x20845d)=>_0x526d68['start'][_0x3d11('0x148')](_0x20845d[_0x3d11('0x77')])?0x1:-0x1),this[_0x3d11('0x2e')][_0x3d11('0x2f')](_0x2ce19e=>{for(const _0x9f1aa of _0x2133b8){let _0x1b3eeb;_0x1b3eeb=_0x9f1aa[_0x3d11('0x87')][_0x3d11('0x37')]&&_0x9f1aa[_0x3d11('0x87')][_0x3d11('0x11')]==_0x9f1aa['start'][_0x3d11('0x122')]?_0x2ce19e[_0x3d11('0xe')](_0x9f1aa[_0x3d11('0x77')][_0x3d11('0x122')],'on'):_0x2ce19e[_0x3d11('0xe')](_0x9f1aa),this[_0x3d11('0x2e')][_0x3d11('0x9d')](_0x1b3eeb,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x4fdf47=(_0x147dc2,_0xe5efbd)=>{_0xe5efbd&&this[_0x3d11('0x2e')][_0x3d11('0x2f')](_0x26d575=>{const {commandName:_0x5965ac,commandParams:_0xbc3265=[]}=_0xe5efbd,_0x2fc841=_0x147dc2[_0x3d11('0xb8')](_0x2e80ca=>(xt(_0x2e80ca)&&(_0x2e80ca=this[_0x3d11('0x2e')][_0x3d11('0x66')](_0x2e80ca[_0x3d11('0x87')])),_0x2e80ca))[_0x3d11('0xa2')](_0xaab882=>_0x3d11('0x11b')!==_0xaab882[_0x3d11('0x92')][_0x3d11('0x3f')]);if(_0x2fc841[_0x3d11('0x9a')]<0x1)return;const _0xa0d922=Array['from'](this['_model'][_0x3d11('0x154')][_0x3d11('0x50')][_0x3d11('0x1b')]())[_0x3d11('0xb8')](_0xa2933f=>_0x2192b8[_0x3d11('0x3d')](_0xa2933f));_0x26d575[_0x3d11('0x83')](_0x2fc841);for(const _0x58b57d of this[_0x3d11('0x85')]['commands'][_0x3d11('0x175')]())_0x58b57d[_0x3d11('0x76')]();_0xbc3265[_0x3d11('0xb9')]({'forceDefaultExecution':!0x0}),this[_0x3d11('0x85')][_0x3d11('0xb6')](_0x5965ac,..._0xbc3265);const _0x4cd15b=_0xa0d922[_0x3d11('0xa2')](_0x307199=>_0x3d11('0x11b')!=_0x307199[_0x3d11('0x92')][_0x3d11('0x3f')]);_0x4cd15b[_0x3d11('0x9a')]>0x0&&_0x26d575[_0x3d11('0x83')](_0x4cd15b);for(const _0x1051c1 of _0xa0d922)_0x1051c1[_0x3d11('0x10')]();});},_0x586e5a=(_0x408ed3,_0x267eee)=>0x1==_0x408ed3[_0x3d11('0x9a')]&&0x1==_0x267eee['length']&&_0x408ed3[0x0][_0x3d11('0x87')][_0x3d11('0xe2')](_0x267eee[0x0][_0x3d11('0x77')]),_0x27ff2f=(_0x422a52,_0x3cbbf2,_0x47c478,_0x5e8ba6)=>Ot(_0x422a52,_0x3cbbf2,_0x47c478,_0x5e8ba6,this[_0x3d11('0x2e')])?[_0x422a52,_0x3cbbf2]:Ot(_0x3cbbf2,_0x422a52,_0x5e8ba6,_0x47c478,this[_0x3d11('0x2e')])?[_0x3cbbf2,_0x422a52]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x1fec63),this['_defaultCallbacks'][_0x3d11('0x134')](_0x3d11('0x57'),_0x2ff8cd),this['_defaultCallbacks'][_0x3d11('0x134')](_0x3d11('0x14c'),_0x586e5a),this['_defaultCallbacks'][_0x3d11('0x134')]('insertion:chain',_0x27ff2f),this[_0x3d11('0x17f')][_0x3d11('0x134')](_0x3d11('0x14e'),_0x2ff8cd),this[_0x3d11('0x17f')][_0x3d11('0x134')](_0x3d11('0x162'),_0x1fec63),this[_0x3d11('0x17f')]['set'](_0x3d11('0x44'),_0x586e5a),this['_defaultCallbacks'][_0x3d11('0x134')]('deletion:chain',_0x27ff2f),this['_defaultCallbacks'][_0x3d11('0x134')](_0x3d11('0x13a'),_0x4fdf47),this[_0x3d11('0x17f')][_0x3d11('0x134')](_0x3d11('0x11e'),_0x1fec63),this['_defaultCallbacks']['set']('formatInline:join',_0x586e5a),this[_0x3d11('0x17f')][_0x3d11('0x134')](_0x3d11('0x71'),_0x1fec63),this['_defaultCallbacks'][_0x3d11('0x134')](_0x3d11('0xb'),_0x4fdf47),this['_defaultCallbacks'][_0x3d11('0x134')](_0x3d11('0x150'),_0x1fec63),this[_0x3d11('0x17f')]['set'](_0x3d11('0x82'),_0x586e5a),this['_defaultCallbacks'][_0x3d11('0x134')](_0x3d11('0x139'),_0x1fec63),this[_0x3d11('0x17f')]['set'](_0x3d11('0x40'),_0x1fec63),this['_defaultCallbacks'][_0x3d11('0x134')](_0x3d11('0xdb'),(_0x256152,_0x36e82f)=>{if(!_0x36e82f)return;const _0x4abd95=this[_0x3d11('0x85')][_0x3d11('0x115')][_0x3d11('0x166')](p);this[_0x3d11('0x2e')][_0x3d11('0x2f')](_0x28251e=>{if(_0x3d11('0x38')==_0x36e82f['key'])for(const _0x35fab5 of _0x256152){const _0x257a8d=_0x35fab5[_0x3d11('0x77')][_0x3d11('0x122')],_0x6854e8=_0x36e82f['oldValue'];_0x28251e[_0x3d11('0x14b')](_0x257a8d,_0x6854e8);}else{if(_0x4abd95[_0x3d11('0xd0')](_0x36e82f[_0x3d11('0xc0')]))for(const _0x376abe of _0x256152)void 0x0!==_0x36e82f[_0x3d11('0x8d')]?_0x28251e[_0x3d11('0x170')](_0x36e82f[_0x3d11('0xc0')],_0x36e82f[_0x3d11('0x8d')],_0x376abe[_0x3d11('0x77')]['nodeAfter']):_0x28251e[_0x3d11('0x36')](_0x36e82f[_0x3d11('0xc0')],_0x376abe[_0x3d11('0x77')][_0x3d11('0x122')]);else for(const _0x40fca4 of _0x256152)_0x36e82f['oldValue']?_0x28251e[_0x3d11('0x170')](_0x36e82f[_0x3d11('0xc0')],_0x36e82f[_0x3d11('0x8d')],_0x40fca4):_0x28251e['removeAttribute'](_0x36e82f[_0x3d11('0xc0')],_0x40fca4);}});}),this['_defaultCallbacks'][_0x3d11('0x134')](_0x3d11('0x146'),_0x586e5a);}}function Tt(_0x4bbe8f,_0x6106ac,_0x9d69ca){for(const _0x3ce608 of _0x6106ac[_0x3d11('0x11')][_0x3d11('0xe4')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x3ce608[_0x3d11('0x92')]==_0x3ce608)return!0x1;if(!_0x9d69ca[_0x3d11('0x141')](_0x3ce608))return!0x1;if(_0x4bbe8f['isObject'](_0x3ce608)||_0x4bbe8f[_0x3d11('0xc1')](_0x3ce608))return!0x0;}return!0x1;}function xt(_0x31a10e){return _0x31a10e[_0x3d11('0x87')]['parent']==_0x31a10e[_0x3d11('0x77')][_0x3d11('0x122')]&&_0x31a10e[_0x3d11('0x87')][_0x3d11('0xb2')];}function Et(_0x44ca76,_0x27bd50,_0x5cc61d,_0x2b7f70){const _0x565fa3=_0x3c6c41=>!_0x3c6c41[_0x3d11('0x7f')]['is'](_0x3d11('0x32'))&&!_0x2b7f70[_0x3d11('0xf4')](_0x3c6c41[_0x3d11('0x7f')]),_0x55b913=_0x44ca76[_0x3d11('0x77')][_0x3d11('0x178')](_0x565fa3),_0x4f750e=_0x44ca76['end'][_0x3d11('0x178')](_0x565fa3,{'direction':'backward'});return(!_0x44ca76[_0x3d11('0x77')][_0x3d11('0xe2')](_0x55b913)||!_0x44ca76[_0x3d11('0x87')]['isEqual'](_0x4f750e))&&(_0x55b913['isBefore'](_0x4f750e)?_0x5cc61d['updateMarker'](_0x27bd50,{'range':_0x5cc61d[_0x3d11('0x66')](_0x55b913,_0x4f750e)}):_0x5cc61d[_0x3d11('0x65')](_0x27bd50),!0x0);}function Rt(_0xe685cc){return _0x134d88(_0xe685cc);}function jt(_0x3a3f13){const _0x549e23=_0x3a3f13['start'][_0x3d11('0x122')];return _0x549e23&&_0x549e23['is'](_0x3d11('0x3c'));}function Ut(_0x3a7960,_0x5cd010){const _0x56a167=_0x5cd010[_0x3d11('0x21')][_0x3d11('0xf4')](_0x3a7960)||_0x5cd010[_0x3d11('0x21')][_0x3d11('0x10b')](_0x3a7960);return _0x5cd010[_0x3d11('0x66')](_0x5cd010[_0x3d11('0x13b')](_0x3a7960,_0x3d11('0x8')),_0x56a167?_0x5cd010[_0x3d11('0xac')](_0x3a7960):_0x5cd010[_0x3d11('0x13b')](_0x3a7960,'end'));}function Ot(_0x2dd1c4,_0x4c9364,_0x18ac9e,_0xe7d556,_0x4ffc32){if(!Vt(_0x2dd1c4,_0x4c9364))return!0x1;if(_0x18ac9e[_0x3d11('0x87')][_0x3d11('0xe2')](_0xe7d556[_0x3d11('0x77')]))return!0x0;if(_0x2dd1c4[_0x3d11('0x43')]!=_0x4c9364[_0x3d11('0x43')])return!0x1;if(!_0x18ac9e[_0x3d11('0x87')][_0x3d11('0x12')](_0xe7d556[_0x3d11('0x77')]))return!0x1;const _0x1bedae=_0x4ffc32['createRange'](_0x18ac9e[_0x3d11('0x87')],_0xe7d556[_0x3d11('0x77')])[_0x3d11('0x107')]();for(const _0x2e9235 of _0x1bedae)if(['elementStart',_0x3d11('0x7e')][_0x3d11('0xee')](_0x2e9235[_0x3d11('0x43')])&&_0x4ffc32[_0x3d11('0x21')][_0x3d11('0xc1')](_0x2e9235['item']))return!0x1;return!0x0;}function Vt(_0x569310,_0x3ed63f){return!(!_0x569310['_isDataLoaded']||!_0x3ed63f[_0x3d11('0x97')])&&_0x9ce98b(_0x569310[_0x3d11('0x7b')],_0x3ed63f[_0x3d11('0x7b')]);}function Gt(_0x5349d9,_0x5817a9){const _0x4e42be=Ft(_0x5349d9[_0x3d11('0x7b')]),_0x5637a6=Ft(_0x5817a9);if(!_0x5349d9['_isDataLoaded'])return!0x1;for(const _0x384175 of Object[_0x3d11('0x49')](_0x5637a6))if(!_0x9ce98b(_0x4e42be[_0x384175],_0x5637a6[_0x384175]))return!0x1;return!0x0;}function Ft(_0x5f9bbc){const _0x10ba92=Object['assign']({},_0x5f9bbc);return delete _0x10ba92[_0x3d11('0x13d')],delete _0x10ba92[_0x3d11('0x51')],_0x10ba92;}function Pt(_0x1f465e){return _0x3d11('0x14')==_0x1f465e[_0x3d11('0x43')]?_0x1f465e[_0x3d11('0x13e')][_0x3d11('0x2c')]('|')[0x0]:null;}