@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231221.0 → 0.0.0-nightly-20231222.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-
|
|
3
|
+
"version": "0.0.0-nightly-20231222.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20231222.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231222.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a36=['add','_saved','warn','getChangedMarkers','delete','has','ready','writer','size','getFirstMarker','deletion:','previous','containsRangeInObject','meta','find','formatInline:','isRemovable','_model','markMultiRangeInsertion','setAttribute','_isForcedDefaultExecutionBlock','isExternal','isDocumentOperation','deletion','containsPosition','formatBlock','_registerDefaultCallbacks','value','unshift','attribute:accept','listenTo','change:_saved','insertion:chain','markers','formatInline:discard','_rangeIsInLocalUserInsertion','formatBlock:join','ck-suggestion-marker','suggestion:','registerPostFixer','document','removeAttribute','removeMarker:suggestion:attribute','activeMarkers','model','fetchCommentThread','startsWith','getIntersection','_defaultCallbacks','attributes','some','refresh','isOwn','_registerInlineAttribute','unbindElementFromMarkerName','multipleBlocks','_breakSuggestionMarker','from','forceDefaultExecution','PENDING_ACTION_SUGGESTION','createRangeIn','hasComments','concat','editingDowncast','notReady','_updateSuggestionData','markDeletion','FORMATTING','deleteContent','splitPosition','accepted','removed','ENTER','formatBlock:','fire','reconvertMarker','_onDiscard','moveTargetPosition','markMultiRangeBlockFormat','push','error-saving-suggestion-data-suggestion-discarded','originalSuggestionId','isNextTo','data-suggestion','elementEnd','addClass','range','_handleNewSuggestionMarker','TrackChangesEditing','formatInline','addSuggestionData','_getAuthorFromId','formatBlock:chain','_enableDefaultAttributesIntegration','_cutOutSuggestionMarker','options','CommentsRepository','track-changes-adapter-missing-getsuggestion','widget','elementStart','addMarker:suggestion:attribute','getWalker','@external','insertion:discard','_setSuggestionData','isMultiRange','newRange','parent','conversion','_SUGGESTION_ANNOUNCEMENT','resolve','trackChanges','removeMarkers','suggestion','set','addAttribute','pop','includes','sort','move','define','deletion:join','getDifference','insertContent','forward','_processAttributeChanges','mapper','tablePasteChainId','_processAttributeSuggestions','containsRange','getAllAdjacentSuggestions','return','createRange','start','insertion','track-changes-user-not-found','attribute:discard','length','getRange','_descriptionFactory','isIntersecting','ck-suggestion-marker-formatBlock','_findSuggestions','_splitMarkerName','addMarkerName','plugins','markerName','normal','_joinSuggestions','formatInline:join','enqueueChange','stop','_isBlockAttribute','$graveyard','suggestionChanged','getAttribute','changeAttribute','_blockAttributeKeys','addMarker:suggestion','rootName','getChanges','_enabledCommands','_reduceExistingSuggestions','split','pluginName','config','updateSuggestion','commandName','commentThread','position','attributeNewValue','change:activeMarkers','track-changes-adapter-already-set','keys','_suggestionFactory','editor','deletion:chain','get','toViewElement','end','_isDataLoaded','execute','commands','oldRange','_trackFormatChanges','createPositionAt','discardSelectedSuggestions','_suggestions','markBlockFormat','attributeOldValue','setSelection','getOperations','forEach','collaboration.channelId','_joinWithAdjacentSuggestions','groupId','unbind','oldName','insert','isAtStart','_createSuggestion','trackChangesCommand','elementToElement','accept','every','trackChanges.mergeNestedSuggestions','upcast','_registerBlockAttribute','never','getSuggestionCallback','discardAllSuggestions','attributeKey','ck-suggestion-marker--active','element','stopListening','key','_setSuggestionRange','markerToHighlight','differ','after','markerNameToElements','track-changes-command-not-found','skipNestingCheck','hasCommentThread','getAncestors','enableReadOnlyMode','deletion:discard','low','_refreshAttributeSuggestionsChain','containsItem','ck-suggestion-marker-','_refreshSuggestionsChain','targetPosition','subType','format','fromCharCode','getCommentThread','toJSON','discard','announce','detach','containerElement','_suggestionState','_getSuggestionData','createdAt','newValue','getLastMatchingPosition','substring','getSuggestions','_editor','createSelection','version','_getExternalAuthor','isArray','track-changes-suggestion-not-found','removeMarker','getCustomProperty','$elementName','marker-count','remove','change','addMarker:suggestion:formatBlock','PendingActions','locale','filter','trackChanges.trackFormatChanges','markInlineFormat','update:suggestion','getUser','item','adapter','rename','creator','for','_getMarkerAnnouncementText','nodeAfter','suggestion-type','_inlineAttributeKeys','_adapter','isEqual','catch','selection','next','chain','formatBlock:discard','registerCustomCallback','insertion:accept','createRangeOn','suggestionLoaded','rejected','backward','attribute','nodeBefore','_commentsRepository','isInContent','open','showSuggestionHighlights','substr','lowest','removeComment','_addSuggestionMarker','acceptAllSuggestions','default','formatInline:chain','isAfter','history','insertion:join','addSuggestion','values','rethrowUnexpectedError','isLocal','getRanges','isCollapsed','addMarker','markAttributeChange','getFirstRange','getSuggestion','_reduceSuggestionAttributeRange','highest','always','$text','acceptSuggestion','dataDowncast','Users','buildSuggestion','_recordAttributeSuggestionsFromVersion','assign','createPositionBefore','howMany','_addThreadToSuggestion','_mergeNestedSuggestions','isObject','change:data','formatGroupId','markerReady','authoredAt','enableCommand','removeClass','hasSuggestion','isInsideObject','_initAriaMarkerChangeAnnouncements','getContainedElement','track-changes-suggestion-data-mismatch','isBefore','removeMarker:suggestion:formatBlock','isAtEnd','addRange','multi','getShiftedBy','join','discardSuggestion','author','updateMarker','track-changes-enable-command-twice','isIntersectingWithRange','ariaLiveAnnouncer','high','oldValue','schema','formatInline:accept','addHighlight','name','fromRange','data','_customCallbacks','comments','type','getNearestSelectionRange','isUndo','getMultiRangeId','map','formatBlock:accept','root','_checkSuggestionCorrectness','isBlock','consume','then','_recordAttributeChanges','markInsertion','markMultiRangeDeletion','insertion:','isLimit','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.','_removeSuggestion','batch'];(function(_0x307703,_0x4a3634){const _0x5b378a=function(_0x18d79c){while(--_0x18d79c){_0x307703['push'](_0x307703['shift']());}};_0x5b378a(++_0x4a3634);}(_0x4a36,0x12f));const _0x5b37=function(_0x307703,_0x4a3634){_0x307703=_0x307703-0x0;let _0x5b378a=_0x4a36[_0x307703];return _0x5b378a;};import{Plugin as _0x596663,PendingActions as _0x300893}from'ckeditor5/src/core.js';import{LiveRange as _0x2cfd9f}from'ckeditor5/src/engine.js';import{CKEditorError as _0x5cf83c,uid as _0x5bc589,priorities as _0x3e62aa,logWarning as _0x377b20}from'ckeditor5/src/utils.js';import{toWidget as _0x40538a}from'ckeditor5/src/widget.js';import{Users as _0x50b430,hashObject as _0x1fc600,surroundingMarkersDetector as _0x3fa9ec}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x127ae6 from'./commands/trackchangescommand.js';import _0x292401 from'./commands/acceptsuggestioncommand.js';import _0x372a97 from'./commands/discardsuggestioncommand.js';import _0x49a2c3 from'./commands/executeonallsuggestionscommand.js';import _0x37ef90 from'./commands/executeonselectedsuggestionscommand.js';import _0x578a9e from'./suggestion.js';import _0x4fe66d from'./suggestiondescriptionfactory.js';import _0x561123 from'./integrations/aiassistant.js';import _0x53260d from'./integrations/alignment.js';import _0x368c9f from'./integrations/basicstyles.js';import _0x4c3e10 from'./integrations/blockquote.js';import _0x3e55d6 from'./integrations/ckbox.js';import _0x51e279 from'./integrations/codeblock.js';import _0x411ad6 from'./integrations/comments.js';import _0x1f2823 from'./integrations/deletecommand.js';import _0x50f54c from'./integrations/documentlist.js';import _0x831287 from'./integrations/documentlistproperties.js';import _0xdb02be from'./integrations/entercommand.js';import _0xef112c from'./integrations/findandreplace.js';import _0x256b7a from'./integrations/font.js';import _0x2c9f89 from'./integrations/formatpainter.js';import _0x34d632 from'./integrations/heading.js';import _0x2b4cd4 from'./integrations/highlight.js';import _0x493c41 from'./integrations/horizontalline.js';import _0x2dd9d4 from'./integrations/htmlembed.js';import _0x3b3acf from'./integrations/image.js';import _0x24866a from'./integrations/imagereplace.js';import _0x4e00e5 from'./integrations/imagestyle.js';import _0x6484dd from'./integrations/importword.js';import _0x224b24 from'./integrations/indent.js';import _0x592194 from'./integrations/inputcommand.js';import _0x4e71fd from'./integrations/link.js';import _0xd57056 from'./integrations/list.js';import _0x549c5c from'./integrations/listproperties.js';import _0x494314 from'./integrations/mediaembed.js';import _0x238683 from'./integrations/mention.js';import _0x1c81c2 from'./integrations/pagebreak.js';import _0x13a9f5 from'./integrations/paragraph.js';import _0xe43e5f from'./integrations/removeformat.js';import _0xd3a908 from'./integrations/restrictededitingmode.js';import _0x456395 from'./integrations/shiftentercommand.js';import _0x12a245 from'./integrations/standardeditingmode.js';import _0x6ecdd8 from'./integrations/style.js';import _0x77e272 from'./integrations/table.js';import _0xdf391c from'./integrations/tablemergesplit.js';import _0x3a0878 from'./integrations/tableheadings.js';import _0x136848 from'./integrations/tableclipboard.js';import _0x5eeef0 from'./integrations/tablecolumnresize.js';import _0x2cee7a from'./integrations/template.js';import _0xe098ff from'./integrations/tableofcontents.js';import _0x429465 from'./integrations/title.js';import _0x5644ad from'./integrations/undo.js';import _0x470ae6 from'./integrations/tablecaption.js';import _0x176fd2 from'./integrations/tableproperties.js';import{getTranslation as _0x2226ce}from'./utils/common-translations.js';import{isEqual as _0x1587e8,omit as _0x237c40}from'lodash-es';export const renameAttributeKey=_0x5b37('0x153');export default class p extends _0x596663{static get['requires'](){return[_0x5b37('0xb2'),_0x50b430,_0x300893,_0x561123,_0x53260d,_0x368c9f,_0x4c3e10,_0x3e55d6,_0x51e279,_0x411ad6,_0x1f2823,_0x50f54c,_0x831287,_0xdb02be,_0xef112c,_0x256b7a,_0x2c9f89,_0x34d632,_0x2b4cd4,_0x493c41,_0x2dd9d4,_0x3b3acf,_0x4e00e5,_0x24866a,_0x6484dd,_0x224b24,_0x592194,_0x4e71fd,_0xd57056,_0x549c5c,_0x494314,_0x238683,_0x1c81c2,_0x13a9f5,_0xe43e5f,_0xd3a908,_0x456395,_0x12a245,_0x6ecdd8,_0x77e272,_0xdf391c,_0x3a0878,_0x470ae6,_0x136848,_0x5eeef0,_0xe098ff,_0x176fd2,_0x2cee7a,_0x429465,_0x5644ad];}static get[_0x5b37('0xf6')](){return _0x5b37('0xaa');}constructor(_0x4a6471){function _0x24e462(_0x5a0b1e){return _0x5a0b1e[_0x5b37('0x43')](_0x3c08f8=>String[_0x5b37('0x13d')](_0x3c08f8))[_0x5b37('0x2e')]('');}super(_0x4a6471),this[_0x5b37('0x16')]=null,this[_0x5b37('0xc4')](_0x5b37('0x7d'),[]),this['on'](_0x5b37('0xfd'),(_0x538d04,_0x4c4bed,_0x5e42f3,_0x1ff2c5)=>{this[_0x5b37('0x63')][_0x5b37('0x156')](()=>{for(const _0x9f8c26 of[..._0x1ff2c5,..._0x5e42f3])this['_model'][_0x5b37('0x73')][_0x5b37('0x57')](_0x9f8c26)&&_0x4a6471['editing'][_0x5b37('0x9d')](_0x9f8c26);});}),this[_0x5b37('0xdd')]=new _0x4fe66d(this[_0x5b37('0x101')]['model'][_0x5b37('0x37')],this['editor'][_0x5b37('0x159')]),this[_0x5b37('0x168')]=null,this[_0x5b37('0x100')]=new $t(this[_0x5b37('0x101')]),this[_0x5b37('0x10d')]=new Map(),this['_commentsRepository']=_0x4a6471['plugins'][_0x5b37('0x103')](_0x5b37('0xb2')),this[_0x5b37('0xf3')]=new Set(),this[_0x5b37('0x63')]=this['editor']['model'],this[_0x5b37('0x144')]=new WeakMap(),this[_0x5b37('0x66')]=!0x1,this[_0x5b37('0xef')]=new Set(['$elementName']),this[_0x5b37('0x167')]=new Set(),_0x4a6471['config'][_0x5b37('0xca')](_0x5b37('0x15b'),_0x5b37('0x180')),this['_trackFormatChanges']=_0x4a6471[_0x5b37('0xf7')][_0x5b37('0x103')](_0x5b37('0x15b')),_0x4a6471[_0x5b37('0xf7')][_0x5b37('0xca')](_0x5b37('0x11f'),!0x0),this['_mergeNestedSuggestions']=_0x4a6471[_0x5b37('0xf7')]['get'](_0x5b37('0x11f')),this['trackChangesCommand']=new _0x127ae6(_0x4a6471,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements'](),this[_0x24e462([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x24e462([0x34,0x30,0x34,0x36,0x32,0x34,0x34,0x32]);}['init'](){const _0x5a4c14=this['editor'],_0x3221a2=(_0x41b9a0,_0x48bb00)=>{if(_0x5b37('0x175')!=_0x41b9a0)return _0x5b37('0x138')+_0x41b9a0;const _0x211f2d=_0x48bb00[_0x5b37('0xf5')]('|')[0x0];return this[_0x5b37('0xea')](_0x211f2d)?_0x5b37('0xdf'):'ck-suggestion-marker-formatInline';};_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x91'))[_0x5b37('0x12b')]({'model':'suggestion','view':_0x370491=>{const {id:_0x10a0e1,type:_0x142aae,subType:_0x352c7d}=this['_splitMarkerName'](_0x370491[_0x5b37('0xe4')]),_0x196aa3=[_0x5b37('0x77'),_0x3221a2(_0x142aae,_0x352c7d)];let _0x15367e=0xbb8;return this[_0x5b37('0x7d')]['includes'](_0x370491[_0x5b37('0xe4')])&&(_0x196aa3['push'](_0x5b37('0x126')),_0x15367e=0xbc2),'deletion'==_0x142aae&&(_0x15367e+=0x5),{'classes':_0x196aa3,'attributes':{'data-suggestion':_0x10a0e1},'priority':_0x15367e};}}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x13'))[_0x5b37('0x52')](_0x41eef8=>{_0x41eef8['on'](_0x5b37('0xf0'),(_0x5002b3,_0x3152b0,_0x21aed2)=>{if(!_0x21aed2[_0x5b37('0xb1')][_0x5b37('0x17a')])return;const _0x39be7b=_0x3152b0[_0x5b37('0x15f')];if(!_0x39be7b)return;const _0x1c77d7=_0x21aed2[_0x5b37('0xd0')][_0x5b37('0x104')](_0x39be7b);_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x37')][_0x5b37('0x1c')](_0x39be7b)&&_0x1c77d7&&!_0x1c77d7['getCustomProperty'](_0x5b37('0xb4'))&&_0x1c77d7['is'](_0x5b37('0x143'))&&_0x40538a(_0x1c77d7,_0x21aed2[_0x5b37('0x59')]);},{'priority':_0x5b37('0x35')});}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')]('dataDowncast')['markerToHighlight']({'model':_0x5b37('0xc3'),'view':(_0x3bf964,_0x1bd6be)=>{if(!_0x1bd6be[_0x5b37('0xb1')][_0x5b37('0x17a')])return null;const {type:_0xd2bfc8,subType:_0x12556d}=this[_0x5b37('0xe1')](_0x3bf964['markerName']);return{'classes':[_0x5b37('0x77'),_0x3221a2(_0xd2bfc8,_0x12556d)],'priority':0xbb8};}});const _0x10686e=({showActiveMarkers:_0x21403b=!0x0,isAttributeSuggestion:_0x40c0a2=!0x1}={})=>(_0x2b6aae,_0xd8ebe9,_0x29cb78)=>{if(!_0xd8ebe9[_0x5b37('0x15f')])return;const {id:_0x2affe5}=this['_splitMarkerName'](_0xd8ebe9[_0x5b37('0xe4')]);if(_0x40c0a2){const _0x5edb4f=Pt(this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x2affe5));if(!this[_0x5b37('0xea')](_0x5edb4f))return;}if(_0xd8ebe9['item']['is'](_0x5b37('0x16b')))return void _0x29cb78['consumable'][_0x5b37('0x48')](_0xd8ebe9[_0x5b37('0x15f')],_0x2b6aae[_0x5b37('0x3a')]);const _0x48338f=_0x29cb78[_0x5b37('0xd0')]['toViewElement'](_0xd8ebe9[_0x5b37('0x15f')]);if(_0xd8ebe9[_0x5b37('0x15f')]['is'](_0x5b37('0x127'))&&_0x5a4c14['model']['schema']['isBlock'](_0xd8ebe9[_0x5b37('0x15f')])&&!_0x48338f['getCustomProperty'](_0x5b37('0x39'))){_0x29cb78[_0x5b37('0x59')][_0x5b37('0xa7')](['ck-suggestion-marker',_0x5b37('0xdf')],_0x48338f),_0x29cb78[_0x5b37('0x59')]['setAttribute'](_0x5b37('0xa5'),_0x2affe5,_0x48338f),_0x29cb78[_0x5b37('0xd0')]['bindElementToMarker'](_0x48338f,_0xd8ebe9[_0x5b37('0xe4')]),_0x21403b&&(this[_0x5b37('0x7d')][_0x5b37('0xc7')](_0xd8ebe9[_0x5b37('0xe4')])?_0x29cb78[_0x5b37('0x59')][_0x5b37('0xa7')](_0x5b37('0x126'),_0x48338f):_0x29cb78[_0x5b37('0x59')]['removeClass'](_0x5b37('0x126'),_0x48338f));for(const _0x3e590a of _0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x8e')](_0xd8ebe9['item'])['getItems']())_0x29cb78['consumable'][_0x5b37('0x48')](_0x3e590a,_0x2b6aae[_0x5b37('0x3a')]);_0x29cb78['consumable'][_0x5b37('0x48')](_0xd8ebe9[_0x5b37('0x15f')],_0x2b6aae[_0x5b37('0x3a')]);}};_0x5a4c14[_0x5b37('0xbe')]['for']('dataDowncast')['add'](_0x5254b3=>{_0x5254b3['on']('addMarker:suggestion:formatBlock',(_0x1f5e73,_0x516396,_0xede42d)=>{_0xede42d[_0x5b37('0xb1')][_0x5b37('0x17a')]&&_0x10686e({'showActiveMarkers':!0x1})(_0x1f5e73,_0x516396,_0xede42d);},{'priority':_0x5b37('0xf')});}),_0x5a4c14[_0x5b37('0xbe')]['for'](_0x5b37('0x13'))[_0x5b37('0x52')](_0x490ee7=>{_0x490ee7['on'](_0x5b37('0xb6'),(_0x4e584e,_0xe9298c,_0x54a66f)=>{_0x54a66f[_0x5b37('0xb1')][_0x5b37('0x17a')]&&_0x10686e({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4e584e,_0xe9298c,_0x54a66f);},{'priority':_0x5b37('0xf')});}),_0x5a4c14['conversion'][_0x5b37('0x163')](_0x5b37('0x13'))['markerToData']({'model':_0x5b37('0xc3'),'view':(_0x3d1510,_0x13656c)=>_0x13656c['options'][_0x5b37('0x17a')]?null:{'group':_0x5b37('0xc3'),'name':_0x3d1510[_0x5b37('0x17b')](0xb)}}),_0x5a4c14[_0x5b37('0xbe')]['for']('upcast')[_0x5b37('0x11c')]({'view':{'name':_0x5b37('0xc3'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0xc086b5,{writer:_0x3bb2ad})=>{let _0x3ea54a=_0x5b37('0x78')+_0xc086b5[_0x5b37('0xed')](_0x5b37('0x166'))+':'+_0xc086b5[_0x5b37('0xed')]('id');return _0xc086b5[_0x5b37('0xed')](_0x5b37('0x154'))&&(_0x3ea54a+=':'+_0xc086b5['getAttribute']('marker-count')),_0x3bb2ad['createElement']('$marker',{'data-name':_0x3ea54a});}}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x120'))['dataToMarker']({'view':'suggestion'}),_0x5a4c14['conversion'][_0x5b37('0x163')](_0x5b37('0x91'))['add'](_0x4a16dd=>{_0x4a16dd['on'](_0x5b37('0x157'),_0x10686e(),{'priority':'high'});}),_0x5a4c14['conversion']['for'](_0x5b37('0x91'))[_0x5b37('0x52')](_0x263c06=>{_0x263c06['on'](_0x5b37('0xb6'),_0x10686e({'isAttributeSuggestion':!0x0}),{'priority':_0x5b37('0x35')});}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')]('editingDowncast')[_0x5b37('0x52')](_0x33e767=>{_0x33e767['on'](_0x5b37('0x29'),(_0x3e19d5,_0x50e00f,_0x859d8c)=>{const _0x3d702a=_0x859d8c[_0x5b37('0xd0')][_0x5b37('0x12e')](_0x50e00f[_0x5b37('0xe4')]);if(_0x3d702a)for(const _0x1ab057 of _0x3d702a)_0x1ab057[_0x5b37('0x152')](_0x5b37('0x39'))||(_0x859d8c[_0x5b37('0x59')][_0x5b37('0x22')]([_0x5b37('0x77'),_0x5b37('0xdf'),_0x5b37('0x126')],_0x1ab057),_0x859d8c[_0x5b37('0x59')][_0x5b37('0x7b')](_0x5b37('0xa5'),_0x1ab057),_0x859d8c[_0x5b37('0xd0')][_0x5b37('0x88')](_0x1ab057,_0x50e00f[_0x5b37('0xe4')]));},{'priority':'high'});}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x91'))['add'](_0x502145=>{_0x502145['on'](_0x5b37('0x7c'),(_0x1a8c69,_0x442234,_0x503ab3)=>{const _0x44cc20=_0x503ab3[_0x5b37('0xd0')]['markerNameToElements'](_0x442234['markerName']);if(!_0x44cc20)return;const {id:_0x287c08}=this[_0x5b37('0xe1')](_0x442234['markerName']),_0x4317bb=Pt(this['_suggestions']['get'](_0x287c08));if(this[_0x5b37('0xea')](_0x4317bb))for(const _0x33b3cd of _0x44cc20)_0x33b3cd[_0x5b37('0x152')](_0x5b37('0x39'))||(_0x503ab3['writer'][_0x5b37('0x22')]([_0x5b37('0x77'),_0x5b37('0xdf'),_0x5b37('0x126')],_0x33b3cd),_0x503ab3[_0x5b37('0x59')]['removeAttribute'](_0x5b37('0xa5'),_0x33b3cd),_0x503ab3[_0x5b37('0xd0')][_0x5b37('0x88')](_0x33b3cd,_0x442234[_0x5b37('0xe4')]));},{'priority':_0x5b37('0x35')});}),_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x79')](_0x3a617e=>{let _0x14c6c5=!0x1;const _0x24cf02=Array['from'](_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')]['getChangedMarkers']()),_0x26dabd=new Set();for(const {name:_0x48bde7,data:_0x48c6e0}of _0x24cf02){const {group:_0x85c1a4,type:_0x3da731,subType:_0x43566f,id:_0x226f8c}=this[_0x5b37('0xe1')](_0x48bde7);if(_0x5b37('0xc3')!==_0x85c1a4)continue;const _0x369afb=this['_suggestions']['get'](_0x226f8c);if(null!=_0x48c6e0[_0x5b37('0xbc')]){_0x5b37('0xab')==_0x3da731&&(_0x14c6c5=_0x14c6c5||xt(_0x48c6e0['newRange'],_0x48bde7,_0x3a617e,_0x5a4c14['model'][_0x5b37('0x37')]));const _0x17a1e3='attribute'==_0x3da731&&this['_isBlockAttribute'](_0x43566f[_0x5b37('0xf5')]('|')[0x0]);if(_0x48c6e0[_0x5b37('0xbc')][_0x5b37('0x9')]||_0x5b37('0xeb')==_0x48c6e0[_0x5b37('0xbc')][_0x5b37('0x45')][_0x5b37('0xf1')]||_0x5b37('0x6b')==_0x3da731&&!Rt(_0x48c6e0[_0x5b37('0xbc')])||_0x17a1e3&&!Rt(_0x48c6e0[_0x5b37('0xbc')])||_0x5b37('0x69')==_0x3da731&&!(!Tt(_0x93ce0e=_0x48c6e0['newRange'])&&!function(_0x5d247e){return _0x5d247e['start'][_0x5b37('0xbd')]==_0x5d247e[_0x5b37('0x105')][_0x5b37('0x176')]&&_0x5d247e[_0x5b37('0xd7')][_0x5b37('0x2a')];}(_0x93ce0e)))_0x3a617e['removeMarker'](_0x48bde7),_0x14c6c5=!0x0;else{if(!_0x369afb||!_0x369afb['isInContent'])continue;_0x26dabd['add'](_0x369afb);}}}var _0x93ce0e;return _0x26dabd[_0x5b37('0x5a')]>0x0&&(_0x14c6c5=!!this[_0x5b37('0x114')](_0x26dabd)||_0x14c6c5),_0x14c6c5;}),_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x79')](_0x1062ef=>{let _0x4d4b14=!0x1;for(const _0x4ed566 of _0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')][_0x5b37('0xf2')]())if(_0x5b37('0x118')==_0x4ed566[_0x5b37('0x3f')])for(const _0x36f86c of this['_suggestions'][_0x5b37('0x5')]()){if(_0x36f86c['isMultiRange']||!_0x36f86c['isInContent'])continue;const _0x3def41=_0x5b37('0x6b')==_0x36f86c[_0x5b37('0x3f')],_0x39ec05=Pt(_0x36f86c),_0x30d709=_0x39ec05&&this[_0x5b37('0xea')](_0x39ec05);if(!_0x3def41&&!_0x30d709)continue;const _0xf7e61a=_0x36f86c[_0x5b37('0xc')]();if(_0xf7e61a[_0x5b37('0xd7')][_0x5b37('0xbd')]!=_0xf7e61a[_0x5b37('0x105')][_0x5b37('0xbd')]&&!_0xf7e61a['end'][_0x5b37('0x2a')]){const _0xcf5592=_0x5a4c14['model']['createPositionAt'](_0xf7e61a[_0x5b37('0xd7')][_0x5b37('0x165')],_0x5b37('0x105')),_0x4c40ab=_0x5a4c14['model'][_0x5b37('0xd6')](_0xf7e61a[_0x5b37('0xd7')],_0xcf5592);_0x1062ef[_0x5b37('0x31')](_0x36f86c['getFirstMarker'](),{'range':_0x4c40ab}),_0x4d4b14=!0x0;}}return _0x4d4b14;}),_0x5a4c14[_0x5b37('0x7e')]['document']['registerPostFixer'](_0x461482=>this[_0x5b37('0xcf')](_0x461482)),_0x5a4c14[_0x5b37('0x7e')]['document']['registerPostFixer'](_0x5c81ed=>!_0x5c81ed[_0x5b37('0x51')]['isLocal']&&this[_0x5b37('0xd2')](_0x5c81ed)),_0x5a4c14['model']['markers']['on'](_0x5b37('0x15d'),(_0x25ef18,_0x34ecad,_0x58736d)=>{if(null==_0x58736d){const {id:_0x47aac4}=this[_0x5b37('0xe1')](_0x34ecad['name']),_0x30b1c2=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x47aac4);_0x30b1c2&&_0x30b1c2['addMarkerName'](_0x34ecad[_0x5b37('0x3a')]);}}),_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')]['on'](_0x5b37('0x1d'),()=>{const _0xe50c78=Array[_0x5b37('0x8b')](_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')]['getChangedMarkers']())[_0x5b37('0x15a')](_0x30a1ec=>_0x5b37('0xc3')===this[_0x5b37('0xe1')](_0x30a1ec[_0x5b37('0x3a')])['group']);if(0x0===_0xe50c78['length'])return;_0xe50c78['sort']((_0x581234,_0x524763)=>{const _0xa55704=_0x581234[_0x5b37('0x3c')][_0x5b37('0x109')],_0x3c72b0=_0x524763[_0x5b37('0x3c')]['oldRange'];return null===_0xa55704&&null===_0x3c72b0?0x0:null===_0xa55704&&null!==_0x3c72b0?-0x1:null!==_0xa55704&&null===_0x3c72b0?0x1:_0xa55704[_0x5b37('0xd7')][_0x5b37('0x28')](_0x3c72b0[_0x5b37('0xd7')])?-0x1:0x1;});const _0x1d57ef=new Set(),_0x392439=new Set();for(const {name:_0x1f0d11,data:_0x289a28}of _0xe50c78){const {id:_0x568466}=this['_splitMarkerName'](_0x1f0d11);if(null===_0x289a28['oldRange']){const _0x3f061c=this[_0x5b37('0xa9')](_0x1f0d11);_0x392439[_0x5b37('0x52')](_0x3f061c);}else{const _0x5aed85=this[_0x5b37('0x10d')]['get'](_0x568466);null!==_0x289a28[_0x5b37('0xbc')]||_0x5aed85['isInContent']?(_0x1d57ef[_0x5b37('0x52')](_0x5aed85['head']),_0x392439[_0x5b37('0x52')](_0x5aed85)):this['_removeSuggestion'](_0x5aed85);}}_0x392439[_0x5b37('0x5a')]>0x0&&this[_0x5b37('0x139')](_0x392439);for(const _0x38f83d of _0x1d57ef)this[_0x5b37('0x9c')](_0x5b37('0xec'),_0x38f83d);}),_0x5a4c14['model']['on']('applyOperation',(_0x2e00ba,_0x35b0af)=>{const _0x25cf9a=_0x35b0af[0x0];if(!this[_0x5b37('0x10d')][_0x5b37('0x5a')])return;if(!_0x25cf9a[_0x5b37('0x68')])return;if(_0x25cf9a[_0x5b37('0x51')][_0x5b37('0x41')]||!_0x25cf9a[_0x5b37('0x51')][_0x5b37('0x7')])return;let _0xaf9fc4,_0x140883;switch(_0x25cf9a[_0x5b37('0x3f')]){case _0x5b37('0x118'):_0xaf9fc4=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0xfb')]),_0x140883=_0xaf9fc4['getShiftedBy'](_0x25cf9a['howMany']);break;case _0x5b37('0xf5'):_0xaf9fc4=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0x97')]),_0x140883=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0x9f')]);break;case _0x5b37('0xc9'):_0xaf9fc4=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0x13a')]),_0x140883=_0xaf9fc4[_0x5b37('0x2d')](_0x25cf9a[_0x5b37('0x19')]);break;default:return;}const _0x16d349=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0xd6')](_0xaf9fc4,_0x140883);_0x5a4c14['model'][_0x5b37('0x156')](()=>{for(const {suggestion:_0x401894,meta:_0x502680}of this[_0x5b37('0xe0')](_0x16d349)){if(_0x401894['isMultiRange'])continue;if(_0x5b37('0xab')==_0x401894[_0x5b37('0x3f')])continue;const _0x38e464=Pt(_0x401894);if(_0x38e464&&this[_0x5b37('0xea')](_0x38e464)&&_0x5b37('0xf5')!=_0x25cf9a[_0x5b37('0x3f')])continue;const _0xa5b0ff=_0x401894[_0x5b37('0x3c')]&&_0x401894['data']['multipleBlocks'];(_0x5b37('0x6b')!=_0x401894[_0x5b37('0x3f')]||'split'==_0x25cf9a['type']&&!_0xa5b0ff)&&(_0x502680[_0x5b37('0x5e')]||_0x5b37('0xd8')==_0x401894[_0x5b37('0x3f')]&&_0x502680[_0x5b37('0x86')]||_0x401894[_0x5b37('0xc')]()[_0x5b37('0xd3')](_0x16d349)&&this[_0x5b37('0x8a')](_0x401894,_0xaf9fc4,_0x140883));}});},{'priority':_0x5b37('0x17c')}),_0x5a4c14[_0x5b37('0x7e')]['on'](_0x5b37('0x96'),(_0x2446e3,_0x1ae1c6)=>{const _0x30b814=_0x1ae1c6[0x0],_0xd0c0ee=_0x1ae1c6[0x1];if(_0xd0c0ee&&_0xd0c0ee['forceDefaultExecution'])return;if(this[_0x5b37('0x66')])return;if(!this[_0x5b37('0x11b')]['value'])return;if(_0x30b814[_0x5b37('0x9')])return;const _0x2d62fe=_0x5a4c14[_0x5b37('0x7e')]['schema'],{start:_0x4dc53a,end:_0x4cc009}=_0x30b814[_0x5b37('0xc')](),_0x2e6434=_0x4dc53a[_0x5b37('0x165')]&&_0x2d62fe[_0x5b37('0x4e')](_0x4dc53a[_0x5b37('0x165')])?null:_0x2d62fe[_0x5b37('0x40')](_0x4dc53a,_0x5b37('0xce')),_0x2de445=_0x4cc009[_0x5b37('0x176')]&&_0x2d62fe[_0x5b37('0x4e')](_0x4cc009['nodeBefore'])?null:_0x2d62fe[_0x5b37('0x40')](_0x4cc009,'backward'),_0x401949=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0xd6')](_0x2e6434?_0x2e6434[_0x5b37('0xd7')]:_0x4dc53a,_0x2de445?_0x2de445[_0x5b37('0x105')]:_0x4cc009);_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x156')](_0x46079e=>{this['markDeletion'](_0x401949);const _0x37b12f=_0x5a4c14['model'][_0x5b37('0x37')][_0x5b37('0x40')](_0x401949[_0x5b37('0xd7')]);_0x30b814['is']('documentSelection')?_0x46079e[_0x5b37('0x110')](_0x37b12f):_0x30b814['setTo'](_0x37b12f);}),_0x2446e3[_0x5b37('0xe9')]();},{'priority':_0x3e62aa[_0x5b37('0xe5')]+0xa}),_0x5a4c14['model']['on'](_0x5b37('0xcd'),(_0x19db62,_0x546e3a)=>{const _0x15c142=_0x546e3a[_0x546e3a[_0x5b37('0xdb')]-0x1];_0x15c142&&_0x15c142[_0x5b37('0x8c')]||this[_0x5b37('0x66')]||this[_0x5b37('0x11b')][_0x5b37('0x6d')]&&(_0x5a4c14['model'][_0x5b37('0x156')](()=>{let _0x1a4ba8=_0x5a4c14['model']['insertContent'](_0x546e3a[0x0],_0x546e3a[0x1],_0x546e3a[0x2],{'forceDefaultExecution':!0x0});if(!_0x1a4ba8)return;_0x19db62[_0x5b37('0xd5')]=_0x1a4ba8['clone']();const _0x2ca392=_0x1a4ba8[_0x5b37('0x105')][_0x5b37('0x176')],_0x4a6260=_0x5a4c14['model']['schema'];_0x2ca392&&_0x4a6260[_0x5b37('0x47')](_0x2ca392)&&!_0x4a6260[_0x5b37('0x1c')](_0x2ca392)&&(_0x1a4ba8=_0x5a4c14[_0x5b37('0x7e')]['createRange'](_0x1a4ba8[_0x5b37('0xd7')],_0x5a4c14[_0x5b37('0x7e')]['createPositionAt'](_0x2ca392,_0x5b37('0x105')))),this[_0x5b37('0x4b')](_0x1a4ba8);}),_0x19db62['stop']());},{'priority':'high'}),this[_0x5b37('0x101')]['commands'][_0x5b37('0x52')](_0x5b37('0xc1'),this['trackChangesCommand']),this[_0x5b37('0x21')](_0x5b37('0xc1'));const _0x4c6a24=new _0x292401(_0x5a4c14,this[_0x5b37('0x10d')]);_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x12'),_0x4c6a24),this[_0x5b37('0x21')](_0x5b37('0x12'));const _0x5d6b8e=new _0x372a97(_0x5a4c14,this['_suggestions']);_0x5a4c14[_0x5b37('0x108')][_0x5b37('0x52')]('discardSuggestion',_0x5d6b8e),this['enableCommand'](_0x5b37('0x2f')),_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x17f'),new _0x49a2c3(_0x5a4c14,_0x4c6a24,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')](_0x5b37('0x17f')),_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x124'),new _0x49a2c3(_0x5a4c14,_0x5d6b8e,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')](_0x5b37('0x124')),_0x5a4c14['commands'][_0x5b37('0x52')]('acceptSelectedSuggestions',new _0x37ef90(_0x5a4c14,_0x4c6a24,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')]('acceptSelectedSuggestions'),_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x10c'),new _0x37ef90(_0x5a4c14,_0x5d6b8e,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')](_0x5b37('0x10c'));const _0x2c4b9b=_0x5a4c14[_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0xb2'));this['listenTo'](_0x2c4b9b,'addComment',(_0x21ff04,{threadId:_0x7a0d4f})=>{const _0x59c853=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x7a0d4f);_0x59c853&&_0x59c853[_0x5b37('0xfa')]&&0x1===_0x59c853[_0x5b37('0xfa')]['length']&&this[_0x5b37('0x93')](_0x7a0d4f,{'hasComments':!0x0});},{'priority':_0x5b37('0x135')}),this[_0x5b37('0x70')](_0x2c4b9b,_0x5b37('0x17d'),(_0xb6784a,{threadId:_0x4a3f88})=>{const _0x1bc598=this[_0x5b37('0x10d')]['get'](_0x4a3f88);_0x1bc598&&_0x1bc598[_0x5b37('0xfa')]&&!_0x1bc598['commentThread'][_0x5b37('0xdb')]&&this[_0x5b37('0x93')](_0x4a3f88,{'hasComments':!0x1});},{'priority':_0x5b37('0x135')});}set[_0x5b37('0x160')](_0x35deba){if(this[_0x5b37('0x168')])throw new _0x5cf83c(_0x5b37('0xfe'),this);this[_0x5b37('0x168')]=_0x35deba;}get['adapter'](){return this[_0x5b37('0x168')];}[_0x5b37('0x14a')]({skipNotAttached:_0x5e2989=!0x1,toJSON:_0x17c7c8=!0x1}={}){const _0x2f9a7a=[];for(const _0x43ab8e of this[_0x5b37('0x10d')][_0x5b37('0x5')]())_0x5e2989&&!_0x43ab8e['isInContent']||_0x2f9a7a[_0x5b37('0xa1')](_0x43ab8e);return _0x17c7c8?_0x2f9a7a[_0x5b37('0x43')](_0x17eab3=>_0x17eab3[_0x5b37('0x13f')]()):_0x2f9a7a;}[_0x5b37('0xd')](_0xbb6cd7){const _0x1ae4b1=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0xbb6cd7);if(!_0x1ae4b1)throw new _0x5cf83c(_0x5b37('0x150'),this);return _0x1ae4b1;}[_0x5b37('0x23')](_0x2121f4){return this[_0x5b37('0x10d')][_0x5b37('0x57')](_0x2121f4);}['addSuggestionData'](_0x26cf8f){const {authorId:_0x273682,id:_0x1a25fc,attributes:_0x576033}=_0x26cf8f,[_0x3007f5,_0x54a15d]=_0x26cf8f[_0x5b37('0x3f')][_0x5b37('0xf5')](':'),_0x145a50=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x1a25fc)||this['_createSuggestion'](_0x3007f5,_0x54a15d,_0x1a25fc,_0x273682,_0x576033);if(this[_0x5b37('0x1a')](_0x145a50),this[_0x5b37('0x46')](_0x145a50,_0x3007f5,_0x54a15d||null,_0x273682),_0x145a50['createdAt']=_0x26cf8f[_0x5b37('0x146')],_0x145a50[_0x5b37('0x106')]=!0x0,_0x576033&&_0x576033[_0x5b37('0xb8')]){const _0x1eae71=_0x576033[_0x5b37('0xb8')],_0xaec4f=this[_0x5b37('0x14e')](_0x1eae71['authorName']);_0x145a50[_0x5b37('0x20')]=_0x1eae71[_0x5b37('0x146')],_0x145a50[_0x5b37('0x30')]=_0xaec4f,_0x145a50[_0x5b37('0x67')]=!0x0;}else _0x145a50[_0x5b37('0x20')]=_0x26cf8f['createdAt'];switch(_0x26cf8f[_0x5b37('0x3c')]&&(_0x145a50['data']=_0x26cf8f['data']),_0x26cf8f[_0x5b37('0x83')]&&(_0x145a50['attributes']=_0x26cf8f[_0x5b37('0x83')]),this[_0x5b37('0x168')]&&this['_adapter'][_0x5b37('0x4')]||(_0x145a50[_0x5b37('0x53')]=!0x0),this['_suggestionState'][_0x5b37('0x103')](_0x145a50)){case _0x5b37('0x92'):this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x145a50,'dataReady');break;case _0x5b37('0x1f'):_0x145a50['isInContent']?(this[_0x5b37('0x139')](new Set([_0x145a50])),this['_joinWithAdjacentSuggestions'](new Set([_0x145a50])),this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x145a50,'ready'),this[_0x5b37('0x9c')](_0x5b37('0x172'),_0x145a50)):this['_suggestionState']['set'](_0x145a50,_0x5b37('0x99'));}return _0x145a50;}[_0x5b37('0x12')](_0x18d4d2){this['forceDefaultExecution'](()=>{this[_0x5b37('0x101')][_0x5b37('0x7e')]['change'](()=>{for(const _0x2d3c3e of _0x18d4d2[_0x5b37('0xd4')]())_0x2d3c3e[_0x5b37('0x11d')]();});});}['discardSuggestion'](_0x4e27d5){this[_0x5b37('0x8c')](()=>{this['editor'][_0x5b37('0x7e')]['change'](()=>{for(const _0x53980d of _0x4e27d5[_0x5b37('0xd4')]())_0x53980d['discard']();});});}[_0x5b37('0x21')](_0x5d419b,_0x2ce7bc){const _0x42b73a=this['editor'][_0x5b37('0x108')][_0x5b37('0x103')](_0x5d419b);if(!_0x42b73a)throw new _0x5cf83c(_0x5b37('0x12f'),this,{'commandName':_0x5d419b});if(this[_0x5b37('0xf3')][_0x5b37('0x57')](_0x42b73a))throw new _0x5cf83c(_0x5b37('0x32'),this,{'commandName':_0x5d419b});this['_enabledCommands'][_0x5b37('0x52')](_0x42b73a),_0x2ce7bc&&_0x42b73a['on'](_0x5b37('0x107'),(_0xca614a,_0x1ad72a)=>{this[_0x5b37('0x11b')]['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x1ad72a[_0x5b37('0xdb')]>0x0&&_0x1ad72a[_0x1ad72a[_0x5b37('0xdb')]-0x1]&&_0x1ad72a[_0x1ad72a[_0x5b37('0xdb')]-0x1][_0x5b37('0x8c')]?_0x1ad72a[_0x5b37('0xc6')]():(_0xca614a['return']=_0x2ce7bc((..._0x1dc8ab)=>_0x42b73a[_0x5b37('0x107')](..._0x1dc8ab,{'forceDefaultExecution':!0x0}),..._0x1ad72a),_0xca614a['stop']())));},{'priority':_0x5b37('0x35')});}['forceDefaultExecution'](_0x3ec0e6){let _0x1def00,_0x305c3b;const _0x3c1449=this[_0x5b37('0x66')];this[_0x5b37('0x66')]=!0x0;try{_0x1def00=_0x3ec0e6();}catch(_0x4d09b2){_0x305c3b=_0x4d09b2;}return _0x3c1449||(this[_0x5b37('0x66')]=!0x1),_0x305c3b&&_0x5cf83c[_0x5b37('0x6')](_0x305c3b,this),_0x1def00;}[_0x5b37('0x4b')](_0x24def7,_0x13b919=null,_0x136dd0={}){if(_0x24def7[_0x5b37('0x9')])return null;const _0x452c94=this[_0x5b37('0x101')]['plugins'][_0x5b37('0x103')]('Users')['me'];for(const {suggestion:_0x53c3c7,meta:_0x443003}of this[_0x5b37('0xe0')](_0x24def7,'insertion'))if(_0x443003[_0x5b37('0x86')]){if(!_0x443003[_0x5b37('0xa4')]){if(_0x443003['containsRangeInObject']){if(!this[_0x5b37('0x1b')]||!Gt(_0x53c3c7,_0x136dd0))continue;return _0x53c3c7;}if(Gt(_0x53c3c7,_0x136dd0))return _0x53c3c7;this[_0x5b37('0x8a')](_0x53c3c7,_0x24def7[_0x5b37('0xd7')],_0x24def7[_0x5b37('0x105')]);break;}if(_0x13b919==_0x53c3c7[_0x5b37('0x13b')]&&Gt(_0x53c3c7,_0x136dd0)){const _0x155a34=_0x53c3c7[_0x5b37('0xc')]();return _0x155a34[_0x5b37('0xd7')][_0x5b37('0x169')](_0x24def7[_0x5b37('0x105')])?this[_0x5b37('0x12a')](_0x53c3c7,this['_model'][_0x5b37('0xd6')](_0x24def7['start'],_0x155a34[_0x5b37('0x105')])):this[_0x5b37('0x12a')](_0x53c3c7,this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x155a34[_0x5b37('0xd7')],_0x24def7[_0x5b37('0x105')])),_0x53c3c7;}}const _0x258bae=_0x5bc589(),_0x48d278=_0x452c94['id'],_0x2f82cf=_0x13b919?_0x5b37('0x4d')+_0x13b919:_0x5b37('0xd8'),_0x4f7b26=this['_setSuggestionData']({'id':_0x258bae,'type':_0x2f82cf,'createdAt':new Date(),'authorId':_0x48d278,'attributes':_0x136dd0});return this[_0x5b37('0x17e')](_0x2f82cf,_0x258bae,_0x48d278,_0x24def7),_0x4f7b26;}[_0x5b37('0x64')](_0x4246a2,_0x35a562=_0x5b37('0x2c'),_0x38ed9d={}){const _0x376f87=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'],_0x2d1be2=this[_0x5b37('0x100')][_0x5b37('0x123')](_0x5b37('0xd8'),_0x35a562,_0x5b37('0x2e'));for(const _0xa48711 of this['getSuggestions']())if(_0xa48711[_0x5b37('0x30')]['id']==_0x376f87['id']&&_0x5b37('0xd8')==_0xa48711[_0x5b37('0x3f')]&&_0xa48711[_0x5b37('0x13b')]==_0x35a562&&Gt(_0xa48711,_0x38ed9d)&&(_0x2d1be2(_0xa48711[_0x5b37('0x8')](),_0x4246a2)||_0x2d1be2(_0x4246a2,_0xa48711['getRanges']()))){for(const _0x2403a of _0x4246a2)_0xa48711[_0x5b37('0x2b')](_0x2403a);return _0xa48711;}for(const {suggestion:_0x1dcb1e,meta:_0x1026d1}of this[_0x5b37('0xe0')](_0x4246a2,_0x5b37('0xd8'))){if(!_0x1026d1['isOwn'])continue;if(!this[_0x5b37('0x1b')]&&_0x1026d1[_0x5b37('0x5e')])continue;if(!Gt(_0x1dcb1e,_0x38ed9d))continue;let _0x2f43b6=!0x0;for(const _0x749dee of _0x1dcb1e['getRanges']())for(const _0x2352ef of _0x4246a2)if(!_0x749dee[_0x5b37('0xd3')](_0x2352ef)){_0x2f43b6=!0x1;break;}if(_0x2f43b6)return _0x1dcb1e;}const _0x5933f8=_0x5bc589(),_0x16dabf=_0x376f87['id'],_0x3bf3a0=_0x5b37('0x4d')+_0x35a562,_0x31c1bd=this[_0x5b37('0xba')]({'id':_0x5933f8,'type':_0x3bf3a0,'createdAt':new Date(),'authorId':_0x16dabf,'attributes':_0x38ed9d});for(const _0x28dbb6 of _0x4246a2)this[_0x5b37('0x17e')](_0x3bf3a0,_0x5933f8,_0x16dabf,_0x28dbb6,_0x578a9e[_0x5b37('0x42')]());return _0x31c1bd;}[_0x5b37('0x15c')](_0xf74e07,_0x56ea1c,_0x9e54b3=null,_0x49b8b8={}){if(_0x9e54b3=_0x9e54b3||Et(_0x56ea1c),_0xf74e07['isCollapsed'])return null;if(_0x5b37('0x122')===this[_0x5b37('0x10a')]){const _0x55e436=this['_suggestionFactory'][_0x5b37('0x123')](_0x5b37('0xab'),_0x9e54b3,_0x5b37('0x11d'));return this['forceDefaultExecution'](()=>_0x55e436([_0xf74e07],_0x56ea1c,_0x49b8b8)),null;}const _0x5eb27c=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')]('Users')['me'],_0x3b2e44=[];if(_0x5b37('0x10')!==this[_0x5b37('0x10a')])for(const {suggestion:_0x26dd12,meta:_0x5da55a}of this[_0x5b37('0xe0')](_0xf74e07,'insertion'))_0x5da55a[_0x5b37('0x86')]&&!_0x5da55a['isInsideObject']&&_0x3b2e44[_0x5b37('0xa1')](..._0x26dd12[_0x5b37('0x8')]());const _0x583a90=function(_0x345dd4,_0x25e2e6){const _0x50e097=[];for(const _0x5284bf of _0x25e2e6){const _0x2d8a56=_0x345dd4['getIntersection'](_0x5284bf);_0x2d8a56&&_0x50e097[_0x5b37('0xa1')](_0x2d8a56);}return _0x50e097;}(_0xf74e07,_0x3b2e44),_0x38a5f3=function(_0xc1e796,_0x43c49e){const _0x504431=[_0xc1e796];for(const _0x386168 of _0x43c49e){let _0x18d6c7=0x0;for(;_0x18d6c7<_0x504431['length'];){const _0x56957f=_0x504431[_0x18d6c7][_0x5b37('0xcc')](_0x386168);_0x504431['splice'](_0x18d6c7,0x1,..._0x56957f),_0x18d6c7+=_0x56957f[_0x5b37('0xdb')];}}return _0x504431;}(_0xf74e07,_0x3b2e44);_0x583a90[_0x5b37('0xdb')]&&this[_0x5b37('0x63')][_0x5b37('0x156')](()=>{for(const _0x13162b of _0x583a90){const _0x2b8b81=this[_0x5b37('0x100')][_0x5b37('0x123')]('formatInline',_0x9e54b3,_0x5b37('0x11d'));this[_0x5b37('0x8c')](()=>_0x2b8b81([_0x13162b],_0x56ea1c,_0x49b8b8));}});for(const _0x65dee1 of _0x38a5f3){let _0x5b7433=null,_0x84bb8e=_0x65dee1['start'],_0x2898fc=_0x65dee1[_0x5b37('0x105')];for(const {suggestion:_0xc3a665,meta:_0x199f88}of this[_0x5b37('0xe0')](_0x65dee1,_0x5b37('0xab'))){if(!_0x199f88[_0x5b37('0x86')])continue;if(_0xc3a665[_0x5b37('0x13b')]!=_0x9e54b3)continue;if(!Gt(_0xc3a665,_0x49b8b8))continue;const _0x3dc8bc=_0xc3a665[_0x5b37('0xc')]();if(_0x3dc8bc[_0x5b37('0xd3')](_0x65dee1,!0x0))return null;_0x84bb8e=_0x84bb8e[_0x5b37('0x28')](_0x3dc8bc[_0x5b37('0xd7')])?_0x84bb8e:_0x3dc8bc['start'],_0x2898fc=_0x2898fc[_0x5b37('0x1')](_0x3dc8bc[_0x5b37('0x105')])?_0x2898fc:_0x3dc8bc['end'],_0x5b7433?_0x3dc8bc['start'][_0x5b37('0x28')](_0x5b7433[_0x5b37('0xc')]()[_0x5b37('0xd7')])?(_0x5b7433[_0x5b37('0xc2')](),_0x5b7433=_0xc3a665):_0xc3a665[_0x5b37('0xc2')]():_0x5b7433=_0xc3a665;}const _0x1cec34=this['_model'][_0x5b37('0xd6')](_0x84bb8e,_0x2898fc);if(_0x5b7433)this['_setSuggestionRange'](_0x5b7433,_0x1cec34);else{const _0x1a0734=_0x5bc589(),_0x3b3b0d=_0x5eb27c['id'];this['_setSuggestionData']({'id':_0x1a0734,'type':_0x5b37('0x61')+_0x9e54b3,'data':_0x56ea1c,'createdAt':new Date(),'authorId':_0x3b3b0d,'attributes':_0x49b8b8}),this['_addSuggestionMarker'](_0x5b37('0x61')+_0x9e54b3,_0x1a0734,_0x3b3b0d,_0x1cec34);}}return null;}[_0x5b37('0x10e')](_0x8ff797,_0x10d8ea,_0x5d4321=[],_0x2aeb9a=null,_0x53044a={}){_0x10d8ea[_0x5b37('0x1e')]||(_0x10d8ea[_0x5b37('0x1e')]=_0x10d8ea[_0x5b37('0xf9')]),_0x10d8ea[_0x5b37('0x89')]=_0x8ff797['is'](_0x5b37('0xa8')),_0x2aeb9a=_0x2aeb9a||Et(_0x10d8ea);const _0x1ed780=_0x5d4321[_0x5b37('0x43')](_0x57319c=>Ut(_0x57319c,this[_0x5b37('0x63')])),_0xbeeba1=_0x8ff797['is']('range')?_0x8ff797:Ut(_0x8ff797,this[_0x5b37('0x63')]);if(_0x5b37('0x122')===this[_0x5b37('0x10a')]){const _0x45fa99=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2aeb9a,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x45fa99([_0xbeeba1],_0x10d8ea,_0x53044a)),null;}_0x1ed780['push'](_0xbeeba1);let _0x56c5c=!0x0;for(const _0x1c433d of _0x1ed780)if(!this[_0x5b37('0x75')](_0x1c433d)){_0x56c5c=!0x1;break;}if(_0x56c5c&&'always'!==this[_0x5b37('0x10a')]){const _0x5265f2=this['_suggestionFactory'][_0x5b37('0x123')](_0x5b37('0x6b'),_0x2aeb9a,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x5265f2([_0xbeeba1],_0x10d8ea,_0x53044a)),null;}let _0xfdeb77=null,_0x987df6=_0xbeeba1[_0x5b37('0xd7')],_0x448b75=_0xbeeba1[_0x5b37('0x105')];for(const {suggestion:_0x558207,meta:_0x511c62}of this['_findSuggestions'](_0xbeeba1,_0x5b37('0x6b'))){if(!_0x511c62['isOwn'])continue;if(_0x511c62[_0x5b37('0xa4')]||_0x511c62[_0x5b37('0x5e')]||_0x511c62['isInsideObject'])continue;if(_0x558207[_0x5b37('0x3c')][_0x5b37('0x1e')]!=_0x10d8ea['formatGroupId'])continue;if(!Gt(_0x558207,_0x53044a))continue;const _0x504ee0=_0x558207[_0x5b37('0xc')]();if(_0x558207[_0x5b37('0x13b')]==_0x2aeb9a){if(_0x504ee0[_0x5b37('0xd3')](_0xbeeba1,!0x0))return null;_0x987df6=_0x987df6[_0x5b37('0x28')](_0x504ee0[_0x5b37('0xd7')])?_0x987df6:_0x504ee0['start'],_0x448b75=_0x448b75[_0x5b37('0x1')](_0x504ee0[_0x5b37('0x105')])?_0x448b75:_0x504ee0[_0x5b37('0x105')],_0xfdeb77?_0x504ee0[_0x5b37('0xd7')][_0x5b37('0x28')](_0xfdeb77[_0x5b37('0xc')]()[_0x5b37('0xd7')])?(_0xfdeb77['removeMarkers'](),_0xfdeb77=_0x558207):_0x558207['removeMarkers']():_0xfdeb77=_0x558207;}else{const _0x324f30=_0xbeeba1[_0x5b37('0x81')](_0x504ee0);this['_cutOutSuggestionMarker'](_0x558207,_0x324f30);}}const _0x58d1fa=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'],_0x47db9b=_0x5bc589(),_0x22eea6=_0x58d1fa['id'];if(_0xfdeb77)return this[_0x5b37('0x12a')](_0xfdeb77,this['_model'][_0x5b37('0xd6')](_0x987df6,_0x448b75)),_0xfdeb77;{const _0x392a58=this[_0x5b37('0xba')]({'id':_0x47db9b,'type':_0x5b37('0x9b')+_0x2aeb9a,'data':_0x10d8ea,'createdAt':new Date(),'authorId':_0x22eea6,'attributes':_0x53044a});return this[_0x5b37('0x17e')](_0x5b37('0x9b')+_0x2aeb9a,_0x47db9b,_0x22eea6,this['_model'][_0x5b37('0xd6')](_0x987df6,_0x448b75)),_0x392a58;}}[_0x5b37('0xa0')](_0x15388e,_0x353199,_0x43c08c=[],_0x4e42bf=null,_0x239a33={}){_0x353199[_0x5b37('0x1e')]||(_0x353199[_0x5b37('0x1e')]=_0x353199[_0x5b37('0xf9')]);const _0x35a6f8=_0x15388e[0x0];_0x353199[_0x5b37('0x89')]=_0x35a6f8['is']('range'),_0x4e42bf=_0x4e42bf||Et(_0x353199);const _0x1e3f1d=_0x43c08c['map'](_0x1450b4=>Ut(_0x1450b4,this[_0x5b37('0x63')])),_0x4d7308=_0x35a6f8['is'](_0x5b37('0xa8'))?_0x15388e:_0x15388e['map'](_0xa970d0=>Ut(_0xa970d0,this[_0x5b37('0x63')]));if('never'===this[_0x5b37('0x10a')]){const _0x354d51=this[_0x5b37('0x100')][_0x5b37('0x123')](_0x5b37('0x6b'),_0x4e42bf,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x354d51(_0x4d7308,_0x353199,_0x239a33)),null;}_0x1e3f1d[_0x5b37('0xa1')](..._0x4d7308);let _0x447415=!0x0;for(const _0x39fd53 of _0x1e3f1d)if(!this[_0x5b37('0x75')](_0x39fd53)){_0x447415=!0x1;break;}if(_0x447415&&_0x5b37('0x10')!==this['_trackFormatChanges']){const _0x46c2a8=this['_suggestionFactory'][_0x5b37('0x123')]('formatBlock',_0x4e42bf,_0x5b37('0x11d'));return this['forceDefaultExecution'](()=>_0x46c2a8(_0x4d7308,_0x353199,_0x239a33)),null;}const _0x3a430b=this[_0x5b37('0x101')][_0x5b37('0xe3')]['get'](_0x5b37('0x14'))['me'];for(const _0x1431e1 of this[_0x5b37('0x14a')]()){if(_0x1431e1[_0x5b37('0x30')]['id']!=_0x3a430b['id'])continue;if(_0x5b37('0x6b')!=_0x1431e1[_0x5b37('0x3f')]||_0x1431e1['data']['formatGroupId']!=_0x353199[_0x5b37('0x1e')])continue;if(!Gt(_0x1431e1,_0x239a33))continue;const _0x7e87b8=_0x1431e1[_0x5b37('0x13b')]==_0x4e42bf;for(let _0xa57391=0x0;_0xa57391<_0x4d7308[_0x5b37('0xdb')];_0xa57391++){const _0x5dd216=_0x4d7308[_0xa57391];for(const _0x234e39 of _0x1431e1['getMarkers']()){const _0x446ab3=_0x234e39[_0x5b37('0xdc')]();if(_0x5dd216[_0x5b37('0x169')](_0x446ab3)){_0x7e87b8?(_0x4d7308['splice'](_0xa57391,0x1),_0xa57391--):_0x1431e1[_0x5b37('0x151')](_0x234e39['name']);break;}}}}if(0x0==_0x4d7308[_0x5b37('0xdb')])return null;const _0x328936=this[_0x5b37('0x100')][_0x5b37('0x123')]('formatBlock',_0x4e42bf,'join');for(const _0x41784e of this[_0x5b37('0x14a')]())if(_0x41784e[_0x5b37('0x30')]['id']==_0x3a430b['id']&&_0x5b37('0x6b')==_0x41784e['type']&&_0x41784e['data'][_0x5b37('0x1e')]==_0x353199[_0x5b37('0x1e')]&&_0x41784e[_0x5b37('0x13b')]==_0x4e42bf&&Gt(_0x41784e,_0x239a33)&&(_0x328936(_0x41784e[_0x5b37('0x8')](),_0x4d7308)||_0x328936(_0x4d7308,_0x41784e['getRanges']()))){for(const _0x444084 of _0x4d7308)_0x41784e['addRange'](_0x444084);return _0x41784e;}const _0x45c895=_0x5bc589(),_0xa37445=_0x3a430b['id'],_0x22b088=_0x5b37('0x9b')+_0x4e42bf,_0x158c89=this['_setSuggestionData']({'id':_0x45c895,'type':_0x22b088,'data':_0x353199,'createdAt':new Date(),'authorId':_0xa37445,'attributes':_0x239a33});for(const _0x18258b of _0x4d7308)this[_0x5b37('0x17e')](_0x22b088,_0x45c895,_0xa37445,_0x18258b,_0x578a9e['getMultiRangeId']());return _0x158c89;}[_0x5b37('0x94')](_0x5683c5,_0x2708a2=null,_0x4e9cfa={}){if(_0x5683c5['isCollapsed'])return null;const _0x29ef56=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'],_0x25023f=new _0x2cfd9f(_0x5683c5[_0x5b37('0xd7')],_0x5683c5[_0x5b37('0x105')]);for(const {suggestion:_0x495c92,meta:_0x7edd33}of this[_0x5b37('0xe0')](_0x25023f,_0x5b37('0xd8')))if(_0x7edd33['isOwn']&&!_0x7edd33['isNextTo']){if(_0x495c92[_0x5b37('0xbb')]){const _0x3d4c8d=_0x495c92['getRanges']()[_0x5b37('0x15a')](_0x26c761=>_0x5b37('0xeb')!=_0x26c761[_0x5b37('0x45')][_0x5b37('0xf1')]);_0x3d4c8d[_0x5b37('0x11e')](_0x3ae4f1=>_0x25023f[_0x5b37('0xd3')](_0x3ae4f1,!0x0))&&_0x495c92['discard']();if(_0x3d4c8d[_0x5b37('0x84')](_0x1e00b6=>_0x1e00b6[_0x5b37('0xd3')](_0x25023f,!0x0))){const _0xb695a0=this[_0x5b37('0x100')][_0x5b37('0x123')](_0x5b37('0x69'),_0x2708a2,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0xb695a0([_0x25023f],null,_0x4e9cfa)),null;}}else{const _0x32172a=_0x25023f['getIntersection'](_0x495c92[_0x5b37('0xc')]());null!==_0x32172a&&_0x495c92[_0x5b37('0x9e')]([_0x32172a],null,_0x4e9cfa);}}if(_0x25023f['detach'](),_0x25023f[_0x5b37('0x9')]||'$graveyard'==_0x25023f[_0x5b37('0x45')]['rootName'])return null;let _0x577516=null,_0x3dca9e=_0x25023f[_0x5b37('0xd7')],_0x3c3961=_0x25023f[_0x5b37('0x105')];const _0x3c7ad4=this['_findSuggestions'](_0x25023f,_0x5b37('0x69'));for(const {suggestion:_0xf8166c,meta:_0x2d57fe}of _0x3c7ad4){const _0x3f6270=this['_model'][_0x5b37('0xd6')](_0x3dca9e,_0x3c3961);if(_0x2d57fe[_0x5b37('0x86')]&&(this[_0x5b37('0x1b')]||!_0x2d57fe[_0x5b37('0x5e')]&&!_0x2d57fe[_0x5b37('0x24')])){if(_0xf8166c[_0x5b37('0xbb')]){if(!Gt(_0xf8166c,_0x4e9cfa))continue;let _0x446f9b=!0x0;for(const _0x40d288 of _0xf8166c[_0x5b37('0x8')]()){if(_0x40d288[_0x5b37('0xd3')](_0x3f6270,!0x0))return _0xf8166c;_0x3f6270['containsRange'](_0x40d288)||(_0x446f9b=!0x1);}_0x446f9b&&_0xf8166c[_0x5b37('0x140')]();}else{const _0x3c8023=_0xf8166c['getFirstRange']();if(_0x3c8023[_0x5b37('0xd3')](_0x3f6270,!0x0))return _0xf8166c;if(!Gt(_0xf8166c,_0x4e9cfa)){_0x3f6270['containsRange'](_0x3c8023)?_0xf8166c['removeMarkers']():_0x3c8023[_0x5b37('0x6a')](_0x3dca9e)?_0x3dca9e=_0x3c8023[_0x5b37('0x105')]:_0x3c8023[_0x5b37('0x6a')](_0x3c3961)&&(_0x3c3961=_0x3c8023[_0x5b37('0xd7')]);continue;}_0x3dca9e=_0x3dca9e[_0x5b37('0x28')](_0x3c8023[_0x5b37('0xd7')])?_0x3dca9e:_0x3c8023[_0x5b37('0xd7')],_0x3c3961=_0x3c3961[_0x5b37('0x1')](_0x3c8023[_0x5b37('0x105')])?_0x3c3961:_0x3c8023['end'],_0x4e9cfa=Object[_0x5b37('0x17')]({},_0xf8166c[_0x5b37('0x83')]),_0x577516?_0x3c8023[_0x5b37('0xd7')][_0x5b37('0x28')](_0x577516['getFirstRange']()['start'])?(_0x577516[_0x5b37('0xc2')](),_0x577516=_0xf8166c):_0xf8166c['removeMarkers']():_0x577516=_0xf8166c;}}}if(_0x577516)return this[_0x5b37('0x12a')](_0x577516,this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x3dca9e,_0x3c3961)),_0x577516;{const _0x48122d=_0x5bc589(),_0x601f11=this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x3dca9e,_0x3c3961),_0xbeea07=_0x29ef56['id'],_0x2ee619=_0x2708a2?_0x5b37('0x5c')+_0x2708a2:_0x5b37('0x69'),_0x4d8184=this['_setSuggestionData']({'id':_0x48122d,'type':_0x2ee619,'createdAt':new Date(),'authorId':_0xbeea07,'attributes':_0x4e9cfa});return this[_0x5b37('0x17e')](_0x2ee619,_0x48122d,_0xbeea07,_0x601f11),_0x4d8184;}}[_0x5b37('0x4c')](_0x3a6f24,_0x412427=_0x5b37('0x2c'),_0x1b9ae4={}){const _0x5810d6=this[_0x5b37('0x101')]['plugins']['get']('Users')['me'],_0x1a93af=_0x3a6f24[_0x5b37('0x43')](_0x449acf=>new _0x2cfd9f(_0x449acf[_0x5b37('0xd7')],_0x449acf[_0x5b37('0x105')])),_0x1495d1=new Set();for(const {suggestion:_0x3945b5,meta:_0x87828d}of this[_0x5b37('0xe0')](_0x1a93af,_0x5b37('0xd8')))_0x87828d[_0x5b37('0x86')]&&!_0x87828d[_0x5b37('0xa4')]&&_0x1495d1['add'](_0x3945b5);for(const _0x56e491 of _0x1495d1)if(_0x56e491['isMultiRange']){const _0x33c50e=_0x56e491[_0x5b37('0x8')]();(!_0x56e491['attributes']||!_0x56e491[_0x5b37('0x83')][_0x5b37('0x130')])&&(_0x33c50e[_0x5b37('0x11e')](_0x3c1bf7=>_0x1a93af[_0x5b37('0x84')](_0x293667=>_0x293667[_0x5b37('0xd3')](_0x3c1bf7,!0x0)))&&_0x56e491['discard']());if(_0x1a93af[_0x5b37('0x11e')](_0x46fb99=>_0x33c50e[_0x5b37('0x84')](_0x6f7d23=>_0x6f7d23['containsRange'](_0x46fb99,!0x0)))){const _0x2a1cfc=this[_0x5b37('0x100')][_0x5b37('0x123')]('deletion',_0x412427,_0x5b37('0x11d'));return this['forceDefaultExecution'](()=>_0x2a1cfc(_0x3a6f24,null,_0x1b9ae4)),null;}}else{const _0x14d9dd=_0x56e491[_0x5b37('0xc')]();_0x1a93af[_0x5b37('0x84')](_0x33dba0=>_0x33dba0[_0x5b37('0xd3')](_0x14d9dd,!0x0))&&_0x56e491[_0x5b37('0x140')]();if(_0x1a93af['every'](_0x2bc729=>_0x14d9dd[_0x5b37('0xd3')](_0x2bc729,!0x0))){const _0x3b4bed=this[_0x5b37('0x100')]['getSuggestionCallback'](_0x5b37('0x69'),_0x412427,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x3b4bed(_0x1a93af,null,_0x1b9ae4)),null;}}const _0x47fdb1=this['_suggestionFactory'][_0x5b37('0x123')](_0x5b37('0x69'),_0x412427,_0x5b37('0x2e'));let _0x4c40a1=null;for(const _0x220e84 of this[_0x5b37('0x14a')]())if(_0x220e84[_0x5b37('0x30')]['id']==_0x5810d6['id']&&_0x220e84[_0x5b37('0x178')]&&'deletion'==_0x220e84[_0x5b37('0x3f')]&&_0x220e84['subType']==_0x412427&&Gt(_0x220e84,_0x1b9ae4)&&(_0x47fdb1(_0x220e84[_0x5b37('0x8')](),_0x1a93af)||_0x47fdb1(_0x1a93af,_0x220e84['getRanges']()))){if(_0x4c40a1){if(_0x220e84[_0x5b37('0xfa')]&&_0x220e84[_0x5b37('0xfa')][_0x5b37('0xdb')])continue;for(const _0x5a99e2 of _0x220e84['getRanges']())_0x4c40a1['isIntersectingWithRange'](_0x5a99e2)||_0x4c40a1[_0x5b37('0x2b')](_0x5a99e2);_0x220e84['removeMarkers']();}else{_0x4c40a1=_0x220e84;for(const _0x471ea5 of _0x1a93af)_0x220e84[_0x5b37('0x33')](_0x471ea5)||_0x220e84[_0x5b37('0x2b')](_0x471ea5);}}if(_0x4c40a1)return _0x4c40a1;_0x1495d1['clear']();for(const {suggestion:_0x362128,meta:_0x486eaa}of this['_findSuggestions'](_0x1a93af,_0x5b37('0x69')))_0x486eaa['isOwn']&&(this[_0x5b37('0x1b')]||!_0x486eaa[_0x5b37('0x5e')]&&!_0x486eaa['isInsideObject'])&&Gt(_0x362128,_0x1b9ae4)&&_0x1495d1['add'](_0x362128);for(const _0x198a2c of _0x1495d1){const _0xbaf9c9=_0x198a2c['getRanges']();if(!_0x1b9ae4||!_0x1b9ae4['skipNestingCheck']){if(_0x1a93af['every'](_0x480785=>_0xbaf9c9[_0x5b37('0x84')](_0x4f1eb7=>_0x4f1eb7['containsRange'](_0x480785,!0x0))))return _0x198a2c;}(!_0x198a2c[_0x5b37('0x83')]||!_0x198a2c[_0x5b37('0x83')]['skipNestingCheck'])&&(_0xbaf9c9[_0x5b37('0x11e')](_0x1a2ed2=>_0x1a93af['some'](_0x3c175d=>_0x3c175d[_0x5b37('0xd3')](_0x1a2ed2,!0x0)))&&_0x198a2c['discard']());}const _0x157b8a=_0x5bc589(),_0x331308=_0x5810d6['id'],_0x1e1b18=_0x5b37('0x5c')+_0x412427,_0x11b4e5=this['_setSuggestionData']({'id':_0x157b8a,'type':_0x1e1b18,'createdAt':new Date(),'authorId':_0x331308,'attributes':_0x1b9ae4});for(const _0x514dbe of _0x1a93af)_0x514dbe[_0x5b37('0x142')](),_0x514dbe[_0x5b37('0x9')]||_0x5b37('0xeb')==_0x514dbe[_0x5b37('0x45')][_0x5b37('0xf1')]||this[_0x5b37('0x17e')](_0x1e1b18,_0x157b8a,_0x331308,_0x514dbe,_0x578a9e['getMultiRangeId']());return _0x11b4e5;}[_0x5b37('0xb')](_0xd71dd4,_0x1509e6,_0x412111,_0x104c7f,_0x545bc9){if(_0xd71dd4[_0x5b37('0x9')])return[];if(_0x5b37('0x122')===this[_0x5b37('0x10a')])return[];const _0x3aa00f=this[_0x5b37('0x101')][_0x5b37('0xe3')]['get'](_0x5b37('0x14'))['me']['id'],_0x1fde1c=Array['from'](this[_0x5b37('0x10d')][_0x5b37('0x5')]())['filter'](_0x1a669a=>_0x5b37('0x175')==_0x1a669a[_0x5b37('0x3f')]&&_0x1a669a['data'][_0x5b37('0x129')]==_0x1509e6&&_0x1a669a[_0x5b37('0x33')](_0xd71dd4));if(_0x5b37('0x180')===this[_0x5b37('0x10a')]){const _0x27e56d=this[_0x5b37('0xe0')](_0xd71dd4,'insertion')[_0x5b37('0x15a')](({meta:_0x854421})=>_0x854421['isOwn']&&!_0x854421[_0x5b37('0x24')]&&!_0x854421[_0x5b37('0xa4')])[_0x5b37('0x43')](({suggestion:_0x2689ac})=>_0x2689ac);_0x1fde1c[_0x5b37('0x6e')](..._0x27e56d);}const _0x54f9f6=new Map([[_0xd71dd4,_0x412111]]);for(const _0x4ea7d5 of _0x1fde1c){const _0x4dcf66=_0x5b37('0x175')==_0x4ea7d5['type']?_0x4ea7d5[_0x5b37('0x3c')]['oldValue']:void 0x0,_0x63b391=_0x4ea7d5[_0x5b37('0xc')](),_0x4b7a4b=Array['from'](_0x54f9f6[_0x5b37('0xff')]())[_0x5b37('0x60')](_0x1855b9=>_0x1855b9['isIntersecting'](_0x63b391));if(!_0x4b7a4b)continue;const _0x4db690=_0x4b7a4b[_0x5b37('0xcc')](_0x63b391);this['_isBlockAttribute'](_0x1509e6)&&_0x5b37('0xd8')==_0x4ea7d5['type']&&0x0!=_0x4db690[_0x5b37('0xdb')]||(_0x54f9f6[_0x5b37('0x56')](_0x4b7a4b),_0x4db690[_0x5b37('0x112')](_0x142c5c=>{_0x54f9f6[_0x5b37('0xc4')](_0x142c5c,_0x412111);}),'insertion'!=_0x4ea7d5['type']&&_0x4dcf66!=_0x104c7f&&_0x54f9f6[_0x5b37('0xc4')](_0x4b7a4b['getIntersection'](_0x63b391),_0x4dcf66));}const _0x13b1b9=[];for(const [_0x23a6ae,_0x576efd]of _0x54f9f6){const _0x3d1a0a=_0x5bc589(),_0x1fa0cd={'key':_0x1509e6,'oldValue':_0x576efd,'newValue':_0x104c7f};_0x1509e6[_0x5b37('0xdb')]>0x25&&console[_0x5b37('0x54')](_0x5b37('0x4f'),{'key':_0x1509e6});const _0x2da820=('attribute:'+(_0x1509e6+'|'+Et({'newValue':_0x104c7f})))[_0x5b37('0x149')](0x0,0x3c),_0x51e75f=this[_0x5b37('0xba')]({'id':_0x3d1a0a,'type':_0x2da820,'data':_0x1fa0cd,'createdAt':new Date(),'authorId':_0x3aa00f,'attributes':_0x545bc9});_0x13b1b9[_0x5b37('0xa1')](_0x51e75f),this[_0x5b37('0x17e')](_0x2da820,_0x3d1a0a,_0x3aa00f,_0x23a6ae);}return _0x13b1b9;}['_registerBlockAttribute'](_0xc4a3c2){this['_blockAttributeKeys'][_0x5b37('0x52')](_0xc4a3c2);}['_registerInlineAttribute'](_0x39a34c){this[_0x5b37('0x167')][_0x5b37('0x52')](_0x39a34c);}[_0x5b37('0xaf')](_0xe1e133,_0x378eb5=[],_0x526f96=[]){this[_0x5b37('0x21')](_0xe1e133,(_0x41c509,..._0x16c6f7)=>{this['_recordAttributeChanges'](()=>{_0x41c509(..._0x16c6f7);});});for(const _0x2fedc7 of _0x378eb5)this[_0x5b37('0x87')](_0x2fedc7);for(const _0x1220f1 of _0x526f96)this[_0x5b37('0x121')](_0x1220f1);}['_setSuggestionRange'](_0x339be0,_0x527556){const _0x15e93c=_0x339be0['getFirstMarker']();this[_0x5b37('0x63')]['change'](_0x4b716d=>{_0x4b716d[_0x5b37('0x31')](_0x15e93c,{'range':_0x527556});});}[_0x5b37('0x1a')](_0x5d2fd1){const _0x1b8f5d=_0x5d2fd1['id'],_0x5bf957=this['editor'][_0x5b37('0xf7')][_0x5b37('0x103')](_0x5b37('0x113'));this[_0x5b37('0x177')][_0x5b37('0x131')](_0x1b8f5d)||this[_0x5b37('0x177')]['addCommentThread']({'channelId':_0x5bf957,'threadId':_0x1b8f5d,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x56744a=this[_0x5b37('0x177')][_0x5b37('0x13e')](_0x1b8f5d);_0x56744a[_0x5b37('0x116')]('isRemovable'),_0x56744a[_0x5b37('0x62')]=!0x1,_0x5d2fd1['commentThread']=_0x56744a;}['_checkSuggestionCorrectness'](_0x13466d,_0x99b432,_0x30aff8,_0x1ffc30){if(_0x13466d[_0x5b37('0x3f')]!=_0x99b432||_0x13466d[_0x5b37('0x13b')]!=_0x30aff8||_0x13466d[_0x5b37('0x162')]['id']!=_0x1ffc30)throw this[_0x5b37('0x101')][_0x5b37('0x133')](_0x5b37('0x27')),new _0x5cf83c(_0x5b37('0x27'),this);}[_0x5b37('0xb0')](_0xafebc6,_0x2502f4){const _0x161e49=_0xafebc6[_0x5b37('0xc')]();if(_0x2502f4[_0x5b37('0x169')](_0x161e49))_0xafebc6[_0x5b37('0xc2')]();else{if(_0x161e49[_0x5b37('0xd3')](_0x2502f4)){const _0x3d909e=this[_0x5b37('0x63')][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0xd7')][_0x5b37('0x176')],'end');this[_0x5b37('0x12a')](_0xafebc6,this[_0x5b37('0x63')]['createRange'](_0x161e49[_0x5b37('0xd7')],_0x3d909e));const _0x3eaa8e=_0x5bc589(),_0x11be35=_0xafebc6[_0x5b37('0x162')]['id'],_0x4af42b=_0xafebc6[_0x5b37('0x3f')]+':'+_0xafebc6['subType'];this[_0x5b37('0xba')]({'id':_0x3eaa8e,'type':_0x4af42b,'createdAt':new Date(),'authorId':_0x11be35,'data':_0xafebc6[_0x5b37('0x3c')],'attributes':_0xafebc6[_0x5b37('0x83')]});const _0x392fa0=this[_0x5b37('0x63')][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0x105')][_0x5b37('0xbd')],_0x5b37('0x12d')),_0x40ea4e=this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x392fa0,_0x161e49[_0x5b37('0x105')]);this['_addSuggestionMarker'](_0x4af42b,_0x3eaa8e,_0x11be35,_0x40ea4e);}else{if(_0x161e49['containsPosition'](_0x2502f4[_0x5b37('0xd7')])){const _0x34e153=this[_0x5b37('0x63')][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0xd7')]['nodeBefore'],_0x5b37('0x105'));this[_0x5b37('0x12a')](_0xafebc6,this[_0x5b37('0x63')]['createRange'](_0x161e49[_0x5b37('0xd7')],_0x34e153));}else{const _0x180209=this['_model'][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0x105')][_0x5b37('0xbd')],_0x5b37('0x12d'));this[_0x5b37('0x12a')](_0xafebc6,this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x180209,_0x161e49[_0x5b37('0x105')]));}}}}[_0x5b37('0x75')](_0x13202d){for(const {suggestion:_0x39e5a9,meta:_0x53d1ba}of this[_0x5b37('0xe0')](_0x13202d,_0x5b37('0xd8'))){if(!_0x53d1ba[_0x5b37('0x86')])continue;const _0x46eb9e=_0x39e5a9[_0x5b37('0x8')]();for(const _0x4a3e98 of _0x46eb9e)if(!_0x13202d['getDifference'](_0x4a3e98)[_0x5b37('0xdb')])return!0x0;}return!0x1;}[_0x5b37('0xad')](_0x557a0c){const _0x5cc1b0=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')]('Users')[_0x5b37('0x15e')](_0x557a0c);if(!_0x5cc1b0)throw new _0x5cf83c(_0x5b37('0xd9'),this);return _0x5cc1b0;}[_0x5b37('0x14e')](_0x84757f){const _0x500b97=this[_0x5b37('0x101')]['plugins'][_0x5b37('0x103')](_0x5b37('0x14')),_0x448ff6=_0x1fc600('external:'+_0x84757f),_0x1636fe=_0x500b97[_0x5b37('0x15e')](_0x448ff6);return _0x1636fe||_0x500b97['addUser']({'id':_0x448ff6,'name':_0x84757f});}['_createSuggestion'](_0x4847b4,_0x5dbd56,_0x111cdb,_0x45747f,_0x4e3b85){const _0x1eae58=this[_0x5b37('0xad')](_0x45747f),_0x28059a=this[_0x5b37('0x100')]['buildSuggestion'](_0x4847b4,_0x5dbd56,_0x111cdb,_0x1eae58,_0x4e3b85,_0x2e45c9=>this[_0x5b37('0x93')](_0x111cdb,{'attributes':_0x2e45c9}));return this['listenTo'](_0x28059a,_0x5b37('0x11d'),()=>{this[_0x5b37('0x93')](_0x111cdb,{'state':_0x5b37('0x98')});},{'priority':_0x5b37('0x35')}),this[_0x5b37('0x70')](_0x28059a,_0x5b37('0x140'),()=>{this[_0x5b37('0x93')](_0x111cdb,{'state':_0x5b37('0x173')});},{'priority':_0x5b37('0x35')}),this[_0x5b37('0x10d')][_0x5b37('0xc4')](_0x111cdb,_0x28059a),this['_suggestionState'][_0x5b37('0xc4')](_0x28059a,_0x5b37('0x92')),_0x28059a;}[_0x5b37('0xe1')](_0x5a404a){const _0xde7500=_0x5a404a[_0x5b37('0xf5')](':');return{'group':_0xde7500[0x0],'type':_0xde7500[0x1],'subType':_0xde7500[_0x5b37('0xdb')]>=0x5?_0xde7500[0x2]:null,'id':_0xde7500[_0x5b37('0xdb')]<0x5?_0xde7500[0x2]:_0xde7500[0x3],'authorId':_0xde7500[_0x5b37('0xdb')]<0x5?_0xde7500[0x3]:_0xde7500[0x4],'markerCount':0x6==_0xde7500[_0x5b37('0xdb')]?_0xde7500[0x5]:null};}['_breakSuggestionMarker'](_0x5a7ae5,_0x2738c6,_0x332d49){const _0x12ef86=_0x5a7ae5[_0x5b37('0xc')](),_0x3fe453=_0x12ef86[_0x5b37('0xd7')],_0x91e84c=_0x12ef86[_0x5b37('0x105')];this[_0x5b37('0x12a')](_0x5a7ae5,this[_0x5b37('0x63')]['createRange'](_0x3fe453,_0x2738c6));const _0x5388df=_0x5bc589(),_0x1eadba=_0x5a7ae5[_0x5b37('0x162')]['id'],_0x31d8ee=_0x5a7ae5[_0x5b37('0x3f')]+(_0x5a7ae5[_0x5b37('0x13b')]?':'+_0x5a7ae5['subType']:'');this[_0x5b37('0xba')]({'id':_0x5388df,'type':_0x31d8ee,'createdAt':new Date(),'authorId':_0x1eadba,'originalSuggestionId':_0x5a7ae5['id'],'attributes':_0x5a7ae5[_0x5b37('0x83')],'data':_0x5a7ae5[_0x5b37('0x3c')]});const _0x42181c=Pt(_0x5a7ae5);(_0x5b37('0x6b')==_0x5a7ae5['type']||_0x42181c&&this[_0x5b37('0xea')](_0x42181c))&&(_0x332d49=this[_0x5b37('0x63')][_0x5b37('0x18')](_0x332d49[_0x5b37('0xbd')])),this[_0x5b37('0x17e')](_0x31d8ee,_0x5388df,_0x1eadba,this['_model']['createRange'](_0x332d49,_0x91e84c));}[_0x5b37('0xe0')](_0x4297d1,_0x290c3d=null){const _0x21a608=[],_0x21b59e=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'];Array[_0x5b37('0x14f')](_0x4297d1)||(_0x4297d1=[_0x4297d1]);for(const _0x1fbea8 of this[_0x5b37('0x14a')]()){if(!_0x1fbea8['isInContent'])continue;if(_0x290c3d&&_0x1fbea8[_0x5b37('0x3f')]!=_0x290c3d)continue;let _0x5bb0d8=!0x1;for(const _0x35a9b2 of _0x1fbea8['getRanges']()){for(const _0x519732 of _0x4297d1){const _0x6b00cf=_0x519732[_0x5b37('0xd7')][_0x5b37('0x169')](_0x35a9b2[_0x5b37('0x105')])||_0x519732['end'][_0x5b37('0x169')](_0x35a9b2[_0x5b37('0xd7')]);if(_0x6b00cf||_0x519732['getIntersection'](_0x35a9b2)){const _0x46d555=_0x519732[_0x5b37('0xd3')](_0x35a9b2)&&Bt(this['_model'][_0x5b37('0x37')],_0x35a9b2[_0x5b37('0xd7')],_0x519732),_0x3b3d76=_0x35a9b2['containsRange'](_0x519732)&&Bt(this[_0x5b37('0x63')][_0x5b37('0x37')],_0x519732[_0x5b37('0xd7')],_0x35a9b2);_0x21a608[_0x5b37('0xa1')]({'suggestion':_0x1fbea8,'meta':{'isOwn':_0x21b59e==_0x1fbea8[_0x5b37('0x30')],'isNextTo':_0x6b00cf,'isInsideObject':_0x46d555,'containsRangeInObject':_0x3b3d76}}),_0x5bb0d8=!0x0;break;}}if(_0x5bb0d8)break;}}return _0x21a608;}[_0x5b37('0x17e')](_0x35579b,_0xcd1235,_0x38f526,_0x5d75b1,_0x116123){this[_0x5b37('0x63')][_0x5b37('0x156')](_0x4c3db8=>{let _0x175fb5='suggestion:'+_0x35579b+':'+_0xcd1235+':'+_0x38f526;_0x116123&&(_0x175fb5=_0x175fb5+':'+_0x116123),_0x4c3db8[_0x5b37('0xa')](_0x175fb5,{'range':_0x5d75b1,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5b37('0x50')](_0x2e11b2){const _0xed02c5=_0x2e11b2[_0x5b37('0x5d')],_0x48ff4d=_0x2e11b2['next'];_0x2e11b2['previous']=null,_0x2e11b2[_0x5b37('0x16c')]=null,null!=_0xed02c5&&(_0xed02c5['next']=_0x48ff4d),null!=_0x48ff4d&&(_0x48ff4d[_0x5b37('0x5d')]=_0xed02c5),'ready'==this['_suggestionState']['get'](_0x2e11b2)&&(this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x2e11b2,'removed'),this[_0x5b37('0x9c')]('suggestionUnloaded',_0x2e11b2,_0xed02c5,_0x48ff4d));}[_0x5b37('0xba')](_0x568e3a){const _0x3bda69=_0x568e3a['id'],_0x59aa68=this[_0x5b37('0xac')](_0x568e3a);if(this['_adapter']&&this['_adapter'][_0x5b37('0x4')]){const _0x2e9f69=this[_0x5b37('0x101')]['plugins'][_0x5b37('0x103')]('PendingActions'),_0x3cbceb=_0x59aa68[_0x5b37('0x8f')],_0x38672f=_0x59aa68['subType']?_0x59aa68[_0x5b37('0x3f')]+':'+_0x59aa68[_0x5b37('0x13b')]:_0x59aa68['type'],_0x4c11ce=this[_0x5b37('0x101')][_0x5b37('0x159')],_0x238cf8=_0x2e9f69[_0x5b37('0x52')](_0x2226ce(_0x4c11ce,_0x5b37('0x8d'))),_0x2d4ce1={'id':_0x3bda69,'type':_0x38672f,'hasComments':_0x3cbceb,'data':_0x568e3a[_0x5b37('0x3c')]||null,'originalSuggestionId':_0x568e3a[_0x5b37('0xa3')]||null,'attributes':_0x59aa68[_0x5b37('0x83')]};this['_adapter'][_0x5b37('0x4')](_0x2d4ce1)['then'](_0x8d7b06=>{_0x59aa68[_0x5b37('0x53')]=!0x0,_0x2e9f69[_0x5b37('0x155')](_0x238cf8),_0x8d7b06&&_0x8d7b06[_0x5b37('0x146')]&&(this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x3bda69)[_0x5b37('0x146')]=_0x8d7b06[_0x5b37('0x146')]);})[_0x5b37('0x16a')](_0xd2a9ac=>{throw _0x377b20(_0x5b37('0xa2')),this[_0x5b37('0x101')][_0x5b37('0x7e')][_0x5b37('0xe8')]({'isUndoable':!0x1},()=>{_0x59aa68[_0x5b37('0x140')]();}),_0x59aa68[_0x5b37('0x128')](),this[_0x5b37('0x10d')]['delete'](_0x59aa68['id']),this['_suggestionState']['delete'](_0x59aa68),_0xd2a9ac;});}return _0x59aa68;}[_0x5b37('0xea')](_0x114187){return this[_0x5b37('0xef')][_0x5b37('0x57')](_0x114187);}[_0x5b37('0x93')](_0x1a0482,_0x4c8187){const _0x4fc1bb=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x158')),_0x3d891b=this[_0x5b37('0xd')](_0x1a0482);if(this[_0x5b37('0x168')]&&this[_0x5b37('0x168')][_0x5b37('0xf8')]){if(_0x3d891b['_saved']){const _0x23852e=_0x4fc1bb['add'](_0x2226ce(this[_0x5b37('0x101')][_0x5b37('0x159')],_0x5b37('0x8d')));this[_0x5b37('0x168')][_0x5b37('0xf8')](_0x1a0482,_0x4c8187)[_0x5b37('0x49')](()=>{_0x4fc1bb[_0x5b37('0x155')](_0x23852e);});}else _0x3d891b['on'](_0x5b37('0x71'),()=>{this[_0x5b37('0x93')](_0x1a0482,_0x4c8187);});}}[_0x5b37('0x145')](_0x2beee0){if(!this[_0x5b37('0x168')]||!this[_0x5b37('0x168')]['getSuggestion'])throw new _0x5cf83c(_0x5b37('0xb3'),this);return this['_adapter'][_0x5b37('0xd')](_0x2beee0);}[_0x5b37('0xa9')](_0x1aa784){const {id:_0x8863f3,type:_0x8285ad,subType:_0x54b8a3,authorId:_0xb9bd90}=this['_splitMarkerName'](_0x1aa784),_0x191945=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x8863f3)||this[_0x5b37('0x11a')](_0x8285ad,_0x54b8a3,_0x8863f3,_0xb9bd90,{});switch(this['_checkSuggestionCorrectness'](_0x191945,_0x8285ad,_0x54b8a3,_0xb9bd90),this[_0x5b37('0x144')][_0x5b37('0x103')](_0x191945)){case _0x5b37('0x92'):this['_getSuggestionData'](_0x8863f3)[_0x5b37('0x49')](_0x54250a=>{let _0x41957c=Promise[_0x5b37('0xc0')]();_0x54250a[_0x5b37('0x8f')]&&(_0x41957c=this[_0x5b37('0x177')][_0x5b37('0x7f')]({'channelId':this[_0x5b37('0x101')][_0x5b37('0xf7')][_0x5b37('0x103')]('collaboration.channelId'),'threadId':_0x8863f3})),_0x41957c['then'](()=>{this[_0x5b37('0xac')](_0x54250a)[_0x5b37('0x53')]=!0x0;});}),this[_0x5b37('0x144')]['set'](_0x191945,_0x5b37('0x1f'));break;case _0x5b37('0x99'):this[_0x5b37('0x93')](_0x8863f3,{'state':_0x5b37('0x179')});case'dataReady':this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x191945,_0x5b37('0x58')),this['fire'](_0x5b37('0x172'),_0x191945);break;case _0x5b37('0x58'):this[_0x5b37('0x9c')](_0x5b37('0xec'),_0x191945);}return _0x191945[_0x5b37('0xe2')](_0x1aa784),_0x191945;}['_refreshSuggestionsChain'](_0x4c1ef4){const _0x2c8d85=Array[_0x5b37('0x8b')](_0x4c1ef4),_0x554723=_0x2c8d85['filter'](_0x49b661=>_0x5b37('0x175')==_0x49b661[_0x5b37('0x3f')]);this[_0x5b37('0x136')](_0x554723);const _0x396f5d=_0x2c8d85[_0x5b37('0x15a')](_0x32b5a1=>!_0x32b5a1[_0x5b37('0xbb')]&&_0x5b37('0x175')!=_0x32b5a1[_0x5b37('0x3f')]),_0x4d5cf5=this[_0x5b37('0x14a')]({'skipNotAttached':!0x0})[_0x5b37('0x15a')](_0x2454bb=>!_0x2454bb['isMultiRange']&&_0x5b37('0x175')!=_0x2454bb[_0x5b37('0x3f')]),_0x549e1d=_0x4d5cf5[_0x5b37('0x15a')](_0x3af18d=>!_0x4c1ef4[_0x5b37('0x57')](_0x3af18d)),_0x3e58c1=new Map(_0x4d5cf5[_0x5b37('0x43')](_0x35b68a=>[_0x35b68a,this[_0x5b37('0x100')][_0x5b37('0x123')](_0x35b68a[_0x5b37('0x3f')],_0x35b68a[_0x5b37('0x13b')],_0x5b37('0x16d'))])),_0x1db18a=new Map(_0x4d5cf5[_0x5b37('0x43')](_0x10f045=>[_0x10f045,_0x10f045[_0x5b37('0xc')]()])),_0x522232=new Set(),_0x46d703=new Set();for(let _0x550628=0x0;_0x550628<_0x396f5d[_0x5b37('0xdb')];_0x550628++)_0x1e983e(_0x396f5d[_0x550628],_0x396f5d,_0x550628+0x1);for(let _0x1a8b45=0x0;_0x1a8b45<_0x396f5d['length'];_0x1a8b45++)_0x1e983e(_0x396f5d[_0x1a8b45],_0x549e1d,0x0);const _0x363935=new Set();for(let _0xb79ed1=0x0;_0xb79ed1<_0x396f5d[_0x5b37('0xdb')];_0xb79ed1++){const _0x292f2f=_0x396f5d[_0xb79ed1];!_0x46d703[_0x5b37('0x57')](_0x292f2f)&&_0x292f2f[_0x5b37('0x5d')]&&(_0x363935[_0x5b37('0x52')](_0x292f2f['previous']),_0x292f2f['previous'][_0x5b37('0x16c')]===_0x292f2f&&(_0x292f2f[_0x5b37('0x5d')][_0x5b37('0x16c')]=null),_0x292f2f['previous']=null),!_0x522232[_0x5b37('0x57')](_0x292f2f)&&_0x292f2f[_0x5b37('0x16c')]&&(_0x363935[_0x5b37('0x52')](_0x292f2f[_0x5b37('0x16c')]),_0x292f2f[_0x5b37('0x16c')][_0x5b37('0x5d')]===_0x292f2f&&(_0x292f2f[_0x5b37('0x16c')]['previous']=null),_0x292f2f['next']=null);}function _0x1e983e(_0x102aaf,_0x4cd5e4,_0x44d324){for(let _0x2c50a9=_0x44d324;_0x2c50a9<_0x4cd5e4['length'];_0x2c50a9++){const _0x522b70=_0xecb452(_0x102aaf,_0x4cd5e4[_0x2c50a9]);_0x522b70&&(_0x522b70[0x0][_0x5b37('0x16c')]=_0x522b70[0x1],_0x522b70[0x1]['previous']=_0x522b70[0x0],_0x522232[_0x5b37('0x52')](_0x522b70[0x0]),_0x46d703[_0x5b37('0x52')](_0x522b70[0x1]));}}function _0xecb452(_0x65dd9b,_0x39bd66){if(_0x65dd9b[_0x5b37('0x30')]['id']!==_0x39bd66[_0x5b37('0x30')]['id'])return null;const _0x3c6d36=_0x3e58c1[_0x5b37('0x103')](_0x65dd9b)(_0x65dd9b,_0x39bd66,_0x1db18a[_0x5b37('0x103')](_0x65dd9b),_0x1db18a[_0x5b37('0x103')](_0x39bd66));if(!_0x3c6d36)return null;return _0x3e58c1[_0x5b37('0x103')](_0x39bd66)(_0x65dd9b,_0x39bd66,_0x1db18a[_0x5b37('0x103')](_0x65dd9b),_0x1db18a[_0x5b37('0x103')](_0x39bd66))?_0x3c6d36[0x1][_0x5b37('0xfa')]&&_0x3c6d36[0x1][_0x5b37('0xfa')][_0x5b37('0xdb')]?null:_0x3c6d36:null;}_0x363935[_0x5b37('0x5a')]&&this[_0x5b37('0x139')](_0x363935);}[_0x5b37('0x136')](_0x34db67){if(0x0==_0x34db67['length'])return;const _0x5591ba=this['getSuggestions']({'skipNotAttached':!0x0})[_0x5b37('0x15a')](_0x574091=>_0x5b37('0x175')==_0x574091[_0x5b37('0x3f')]&&_0x574091[_0x5b37('0x106')]),_0x241e88=[],_0x2545b1=new Map();for(const _0x2981c2 of _0x5591ba){const _0x336dfb=_0x1fc600(_0x2981c2[_0x5b37('0x83')]);_0x2545b1[_0x5b37('0x57')](_0x336dfb)||(_0x2545b1['set'](_0x336dfb,_0x241e88[_0x5b37('0xdb')]),_0x241e88['push']([]));const _0x45dd5e=_0x2545b1[_0x5b37('0x103')](_0x336dfb);_0x241e88[_0x45dd5e]['push'](_0x2981c2);}!function(){_0x241e88[_0x5b37('0xc8')]((_0x1d498d,_0x34f8cc)=>{const _0x45bafb=_0x1d498d[0x0]['createdAt'],_0x3c7a38=_0x34f8cc[0x0][_0x5b37('0x146')];return _0x45bafb==_0x3c7a38?_0x1d498d[0x0][_0x5b37('0x83')]['groupId']<_0x34f8cc[0x0][_0x5b37('0x83')][_0x5b37('0x115')]?-0x1:0x1:_0x45bafb<_0x3c7a38?-0x1:0x1;});for(const _0x328efa of _0x241e88)_0x328efa['sort']((_0x561843,_0x59c121)=>_0x561843['id']<_0x59c121['id']?-0x1:0x1);}();for(let _0x4d9ec3=0x0;_0x4d9ec3<_0x241e88[_0x5b37('0xdb')];_0x4d9ec3++){if(0x0==_0x241e88[_0x4d9ec3][_0x5b37('0xdb')])continue;const _0x9f9e2e=[];for(let _0x3b37f0=_0x4d9ec3+0x1;_0x3b37f0<_0x241e88[_0x5b37('0xdb')];_0x3b37f0++)0x0!=_0x241e88[_0x3b37f0]['length']&&_0x20663b(_0x241e88[_0x4d9ec3],_0x241e88[_0x3b37f0])&&_0x9f9e2e[_0x5b37('0xa1')](_0x3b37f0);for(const _0x3c1e98 of _0x9f9e2e)_0x241e88[_0x4d9ec3]=_0x241e88[_0x4d9ec3][_0x5b37('0x90')](_0x241e88[_0x3c1e98]),_0x241e88[_0x3c1e98]=[];}for(const _0x57f220 of _0x241e88)for(let _0x1edcf5=0x0;_0x1edcf5<_0x57f220[_0x5b37('0xdb')];_0x1edcf5++)_0x57f220[_0x1edcf5][_0x5b37('0x16c')]=_0x57f220[_0x1edcf5+0x1]||null;for(const _0x2111c6 of _0x241e88)for(let _0x27d0a5=0x0;_0x27d0a5<_0x2111c6['length'];_0x27d0a5++)_0x2111c6[_0x27d0a5]['previous']=_0x2111c6[_0x27d0a5-0x1]||null;function _0x20663b(_0x4a4e26,_0x1ed0ac){if(_0x4a4e26[0x0]['author']!==_0x1ed0ac[0x0][_0x5b37('0x30')])return!0x1;if(!function(_0xf0d680,_0x114bfb){if(!_0xf0d680[_0x5b37('0x8f')]&&!_0x114bfb['hasComments'])return!0x0;if(_0xf0d680[_0x5b37('0x8f')]&&_0x114bfb[_0x5b37('0x8f')])return!0x1;if(_0xf0d680[_0x5b37('0x8f')]&&_0x114bfb['createdAt']<_0xf0d680['commentThread'][_0x5b37('0x3e')][_0x5b37('0x103')](0x0)[_0x5b37('0x146')])return!0x0;if(_0x114bfb[_0x5b37('0x8f')]&&_0xf0d680[_0x5b37('0x146')]<_0x114bfb[_0x5b37('0xfa')][_0x5b37('0x3e')][_0x5b37('0x103')](0x0)[_0x5b37('0x146')])return!0x0;return!0x1;}(_0x4a4e26[0x0],_0x1ed0ac[0x0]))return!0x1;const _0x3e065d=_0x237c40(_0x4a4e26[0x0][_0x5b37('0x83')],_0x5b37('0x115')),_0x40ddf5=_0x237c40(_0x1ed0ac[0x0][_0x5b37('0x83')],_0x5b37('0x115'));if(!_0x1587e8(_0x3e065d,_0x40ddf5))return!0x1;return!!_0x4a4e26[_0x5b37('0x11e')](_0x1b4230=>_0x1ed0ac[_0x5b37('0x84')](_0x531a60=>_0x1b4230[_0x5b37('0xc')]()['isEqual'](_0x531a60[_0x5b37('0xc')]())))&&_0x1ed0ac[_0x5b37('0x11e')](_0x6079c9=>_0x4a4e26[_0x5b37('0x84')](_0x12f6ce=>_0x6079c9[_0x5b37('0xc')]()[_0x5b37('0x169')](_0x12f6ce[_0x5b37('0xc')]())));}}['_joinWithAdjacentSuggestions'](_0x2a8872){const _0x2d3d26=Array[_0x5b37('0x8b')](_0x2a8872),_0xff0f8f=this['getSuggestions']({'skipNotAttached':!0x0}),_0xe59993=_0xff0f8f['filter'](_0x4da944=>!_0x2a8872['has'](_0x4da944)),_0x4a3b35=new Map(_0x2d3d26[_0x5b37('0x43')](_0x175b07=>[_0x175b07,this['_suggestionFactory'][_0x5b37('0x123')](_0x175b07['type'],_0x175b07[_0x5b37('0x13b')],_0x5b37('0x2e'))])),_0x7aa538=new Map(_0xff0f8f['map'](_0x9febce=>[_0x9febce,_0x9febce[_0x5b37('0x8')]()]));for(let _0x4b4c06=0x0;_0x4b4c06<_0x2d3d26['length'];_0x4b4c06++){if(_0x5798ad(this,_0x2d3d26[_0x4b4c06],_0x2d3d26,_0x4b4c06+0x1))return!0x0;}for(let _0x470db7=0x0;_0x470db7<_0x2d3d26[_0x5b37('0xdb')];_0x470db7++){if(_0x5798ad(this,_0x2d3d26[_0x470db7],_0xe59993,0x0))return!0x0;}return!0x1;function _0x5798ad(_0x3239f2,_0x321a87,_0x38ec8a,_0x2ae31c){for(let _0x196eec=_0x2ae31c;_0x196eec<_0x38ec8a[_0x5b37('0xdb')];_0x196eec++){const _0x370e26=_0x38ec8a[_0x196eec];if(_0x370e26[_0x5b37('0x3f')]!==_0x321a87['type']||_0x370e26[_0x5b37('0x30')]['id']!==_0x321a87[_0x5b37('0x30')]['id']||_0x370e26[_0x5b37('0x13b')]!==_0x321a87[_0x5b37('0x13b')])continue;if(!Vt(_0x321a87,_0x370e26))continue;if(_0x5b37('0x175')==_0x321a87['type']&&_0x321a87['data']['oldValue']!=_0x370e26['data'][_0x5b37('0x36')])continue;if(_0x5b37('0x175')==_0x321a87['type']&&_0x3239f2[_0x5b37('0xea')](_0x321a87[_0x5b37('0x3c')][_0x5b37('0x129')]))continue;if(_0x5b37('0x6b')==_0x321a87[_0x5b37('0x3f')]){const _0x5dec7e=_0x3239f2[_0x5b37('0x101')][_0x5b37('0x7e')],_0x25cb5c=_0x321a87[_0x5b37('0x26')]();if(_0x25cb5c&&(_0x5dec7e[_0x5b37('0x37')][_0x5b37('0x1c')](_0x25cb5c)||_0x5dec7e[_0x5b37('0x37')][_0x5b37('0x4e')](_0x25cb5c)))continue;}const _0x139b34=_0x4a3b35[_0x5b37('0x103')](_0x321a87),_0x1e17d6=_0x7aa538[_0x5b37('0x103')](_0x321a87),_0x308ecf=_0x7aa538[_0x5b37('0x103')](_0x370e26),_0x9cf226=_0x321a87[_0x5b37('0xfa')]&&_0x321a87[_0x5b37('0xfa')][_0x5b37('0xdb')],_0x54e43d=_0x370e26[_0x5b37('0xfa')]&&_0x370e26['commentThread']['length'];if(!_0x9cf226&&_0x139b34(_0x308ecf,_0x1e17d6))return _0x3239f2[_0x5b37('0xe6')](_0x370e26,_0x321a87),_0x7aa538[_0x5b37('0x56')](_0x321a87),!0x0;if(!_0x54e43d&&_0x139b34(_0x1e17d6,_0x308ecf))return _0x3239f2[_0x5b37('0xe6')](_0x321a87,_0x370e26),_0x7aa538[_0x5b37('0x56')](_0x370e26),!0x0;}return!0x1;}}[_0x5b37('0xe6')](_0xdae155,_0x16056){if(_0xdae155[_0x5b37('0xbb')])for(const _0x489d23 of _0x16056[_0x5b37('0x8')]())_0xdae155[_0x5b37('0x2b')](_0x489d23);else{const _0xadde22=_0x16056[_0x5b37('0xc')]()[_0x5b37('0x105')];this['_setSuggestionRange'](_0xdae155,this[_0x5b37('0x63')]['createRange'](_0xdae155[_0x5b37('0xc')]()[_0x5b37('0xd7')],_0xadde22));}_0x16056[_0x5b37('0xc2')]();}[_0x5b37('0x164')](_0x4f3baf,_0xd4e1bc){const _0x5ad07e=_0x4f3baf[_0x5b37('0x80')](_0x5b37('0x13c'))||_0x4f3baf[_0x5b37('0x80')](_0x5b37('0x175'))?_0x5b37('0x95'):_0x4f3baf['toUpperCase']();return _0x2226ce(this[_0x5b37('0x101')][_0x5b37('0x159')],_0xd4e1bc+'_'+_0x5ad07e+_0x5b37('0xbf'));}[_0x5b37('0x25')](){const _0x5271c9=this[_0x5b37('0x101')];_0x3fa9ec(this['_model'],({left:_0x4bf178,entered:_0x40eddf})=>{const _0x16124b=[];for(const _0xdfcd0b of _0x4bf178){const {group:_0x3f42a5,type:_0x57acda}=this[_0x5b37('0xe1')](_0xdfcd0b[_0x5b37('0x3a')]);if(_0x5b37('0xc3')===_0x3f42a5){_0x16124b[_0x5b37('0xa1')](this['_getMarkerAnnouncementText'](_0x57acda,'LEAVE'));break;}}for(const _0x7c1086 of _0x40eddf){const {group:_0x459d3c,type:_0x560a41}=this[_0x5b37('0xe1')](_0x7c1086[_0x5b37('0x3a')]);if(_0x5b37('0xc3')===_0x459d3c){_0x16124b[_0x5b37('0xa1')](this['_getMarkerAnnouncementText'](_0x560a41,_0x5b37('0x9a')));break;}}_0x16124b['length']&&_0x5271c9['ui'][_0x5b37('0x34')][_0x5b37('0x141')](_0x5b37('0xc1'),_0x16124b[_0x5b37('0x2e')]('\x20'));});}[_0x5b37('0xcf')](_0x37d2a7){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x55f218=this[_0x5b37('0x101')],_0xc88c57=_0x55f218[_0x5b37('0x7e')]['document'][_0x5b37('0x12c')][_0x5b37('0xf2')]();if(0x0==_0xc88c57[_0x5b37('0xdb')])return!0x1;const _0x574d47=[],_0x24984d=_0xc88c57[_0x5b37('0x15a')](_0x3aebc5=>_0x5b37('0x175')==_0x3aebc5[_0x5b37('0x3f')]),_0x2c3053=_0xc88c57[_0x5b37('0x15a')](_0x251fdc=>'insert'==_0x251fdc[_0x5b37('0x3f')]&&_0x5b37('0x11')!=_0x251fdc['name']),_0x3d5d7a=_0xc88c57[_0x5b37('0x15a')](_0x35f06e=>_0x5b37('0x155')==_0x35f06e[_0x5b37('0x3f')]&&_0x5b37('0x11')!=_0x35f06e[_0x5b37('0x3a')]);for(const _0x11de76 of _0x24984d)_0x574d47['push']({'key':_0x11de76[_0x5b37('0x125')],'newValue':_0x11de76[_0x5b37('0xfc')],'oldValue':_0x11de76[_0x5b37('0x10f')],'range':_0x5a0880(_0x11de76[_0x5b37('0xa8')])});for(const _0x442559 of _0x2c3053){const _0x18dca8=_0x3d5d7a[_0x5b37('0x60')](_0x4fe30d=>_0x4fe30d['position'][_0x5b37('0x169')](_0x442559['position']));_0x18dca8&&_0x574d47[_0x5b37('0xa1')]({'key':'$elementName','newValue':_0x442559[_0x5b37('0x3a')],'oldValue':_0x18dca8[_0x5b37('0x3a')],'range':_0x55f218['model'][_0x5b37('0x171')](_0x442559['position'][_0x5b37('0x165')])});}return 0x0!=_0x574d47['length']&&this['_reduceExistingSuggestions'](_0x37d2a7,_0x574d47);function _0x5a0880(_0x4f4fcf){return null==_0x4f4fcf[_0x5b37('0x105')]['nodeBefore']&&_0x4f4fcf['end'][_0x5b37('0xbd')]==_0x4f4fcf['start'][_0x5b37('0x165')]?Ut(_0x4f4fcf['start']['nodeAfter'],_0x55f218[_0x5b37('0x7e')]):_0x4f4fcf;}}['_processAttributeSuggestions'](_0x5333e1){let _0x2485cb=!0x1;const _0x431086=this[_0x5b37('0x101')][_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')][_0x5b37('0x55')]()[_0x5b37('0x15a')](_0x2118ff=>_0x2118ff[_0x5b37('0x3c')]['newRange']&&_0x2118ff[_0x5b37('0x3a')][_0x5b37('0x80')]('suggestion:attribute:'));for(const _0x39c1c0 of _0x431086){const {subType:_0x472527,id:_0x354e22}=this['_splitMarkerName'](_0x39c1c0[_0x5b37('0x3a')]),_0x48f430=_0x472527[_0x5b37('0xf5')]('|')[0x0];for(const _0x1fb9b8 of this[_0x5b37('0x14a')]({'skipNotAttached':!0x0}))_0x1fb9b8['id']!=_0x354e22&&_0x5b37('0x175')==_0x1fb9b8[_0x5b37('0x3f')]&&_0x1fb9b8[_0x5b37('0x3c')]&&_0x1fb9b8[_0x5b37('0x3c')][_0x5b37('0x129')]==_0x48f430&&_0x1fb9b8[_0x5b37('0xc')]()[_0x5b37('0xde')](_0x39c1c0[_0x5b37('0x3c')][_0x5b37('0xbc')])&&(this[_0x5b37('0xe')](_0x1fb9b8,_0x39c1c0[_0x5b37('0x3c')][_0x5b37('0xbc')],_0x5333e1),_0x2485cb=!0x0);}return _0x2485cb;}[_0x5b37('0x4a')](_0x5d5584){if(null!==this[_0x5b37('0x16')])return void _0x5d5584();const _0x17d5b2=this[_0x5b37('0x101')];this[_0x5b37('0x16')]=_0x17d5b2['model']['document'][_0x5b37('0x14d')],_0x5d5584();const _0x1ea7db=new Map();for(const _0x3577b3 of _0x17d5b2[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x2')][_0x5b37('0x111')](this[_0x5b37('0x16')]))if([_0x5b37('0x161'),_0x5b37('0xc5'),'removeAttribute',_0x5b37('0xee')][_0x5b37('0xc7')](_0x3577b3['type'])){const _0xa5cc90=_0x3577b3[_0x5b37('0x51')],_0x334010=_0x1ea7db[_0x5b37('0x103')](_0xa5cc90)||[];_0x334010[_0x5b37('0xa1')](_0x3577b3),_0x1ea7db[_0x5b37('0xc4')](_0xa5cc90,_0x334010);}this[_0x5b37('0x16')]=null;for(const [_0x431dc2,_0x24bcd8]of _0x1ea7db){const _0x151f61=_0x5bc589();_0x17d5b2[_0x5b37('0x7e')]['enqueueChange'](_0x431dc2,_0x11bace=>{const _0x553a7e=[];for(const _0x11363a of _0x24bcd8){let _0x317f9d,_0x33f688,_0x425bdc,_0x3054ec;if('rename'==_0x11363a[_0x5b37('0x3f')]){const _0x272f04=_0x11363a;_0x317f9d=Ut(_0x272f04[_0x5b37('0xfb')]['nodeAfter'],_0x17d5b2[_0x5b37('0x7e')]),_0x33f688=_0x5b37('0x153'),_0x425bdc=_0x272f04['newName'],_0x3054ec=_0x272f04[_0x5b37('0x117')];}else{const _0x89bb9a=_0x11363a,_0x3d95bf=this[_0x5b37('0xea')](_0x89bb9a[_0x5b37('0x129')]),_0x4acf44=this[_0x5b37('0x167')]['has'](_0x89bb9a[_0x5b37('0x129')]);if(!_0x3d95bf&&!_0x4acf44)continue;_0x317f9d=_0x3d95bf?Ut(_0x89bb9a[_0x5b37('0xa8')][_0x5b37('0xd7')][_0x5b37('0x165')],_0x17d5b2[_0x5b37('0x7e')]):_0x89bb9a['range'],_0x33f688=_0x89bb9a[_0x5b37('0x129')],_0x425bdc=_0x5b37('0x7b')==_0x11363a[_0x5b37('0x3f')]?void 0x0:_0x89bb9a['newValue'],_0x3054ec=_0x89bb9a[_0x5b37('0x36')];}this[_0x5b37('0xb')](_0x317f9d,_0x33f688,_0x3054ec,_0x425bdc,{'groupId':_0x151f61}),_0x553a7e[_0x5b37('0xa1')]({'range':_0x317f9d,'key':_0x33f688,'newValue':_0x425bdc,'oldValue':_0x3054ec});}this[_0x5b37('0xf4')](_0x11bace,_0x553a7e);});}}[_0x5b37('0xf4')](_0x18bd91,_0x412da9){if(0x0==_0x412da9[_0x5b37('0xdb')])return!0x1;let _0x120cb9=!0x1;for(const _0x3a3afb of _0x412da9){const _0x23a935=this[_0x5b37('0xe0')](_0x3a3afb['range'],_0x5b37('0x175'))['filter'](_0x202de7=>!_0x202de7[_0x5b37('0x5f')][_0x5b37('0xa4')])[_0x5b37('0x43')](_0x12fd7a=>_0x12fd7a[_0x5b37('0xc3')]),_0x377e55=_0x1fc600({'newValue':_0x3a3afb[_0x5b37('0x147')]});_0x23a935[_0x5b37('0x15a')](_0x3bd93c=>{const [_0x1a9880,_0x504179]=_0x3bd93c['subType']['split']('|');return _0x1a9880==_0x3a3afb['key']&&_0x504179!=_0x377e55;})[_0x5b37('0x112')](_0x1ff935=>{this['_reduceSuggestionAttributeRange'](_0x1ff935,_0x3a3afb['range'],_0x18bd91),_0x120cb9=!0x0;});}return _0x120cb9;}[_0x5b37('0xe')](_0x4d6ae4,_0x45808f,_0x4d9cc9){const _0x1f1ba1=_0x4d6ae4['getFirstRange']()['getDifference'](_0x45808f);0x0!==_0x1f1ba1[_0x5b37('0xdb')]?0x1!==_0x1f1ba1[_0x5b37('0xdb')]?this['_breakSuggestionMarker'](_0x4d6ae4,_0x45808f[_0x5b37('0xd7')],_0x45808f[_0x5b37('0x105')]):this[_0x5b37('0x12a')](_0x4d6ae4,_0x1f1ba1[0x0]):_0x4d9cc9[_0x5b37('0x151')](_0x4d6ae4[_0x5b37('0x5b')]());}}class $t{constructor(_0x12f662){this[_0x5b37('0x14b')]=_0x12f662,this[_0x5b37('0x63')]=_0x12f662[_0x5b37('0x7e')],this[_0x5b37('0x3d')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x5b37('0x6c')]();}[_0x5b37('0x15')](_0x17cdfd,_0x4de3e8,_0x2c2e54,_0x1c8577,_0x4d887c,_0xe9b8a4){return new _0x578a9e(this[_0x5b37('0x63')],{'type':_0x17cdfd,'subType':_0x4de3e8,'id':_0x2c2e54,'author':_0x1c8577,'creator':_0x1c8577,'attributes':_0x4d887c,'onAttributesChange':_0xe9b8a4,'onAccept':(..._0xce54fb)=>this['getSuggestionCallback'](_0x17cdfd,_0x4de3e8,'accept')(..._0xce54fb),'onDiscard':(..._0x4ee1bf)=>this[_0x5b37('0x123')](_0x17cdfd,_0x4de3e8,'discard')(..._0x4ee1bf)});}[_0x5b37('0x16f')](_0x12a325,_0x53b16d,_0x2c96a7,_0x2bec98){const _0x41b896=_0x12a325+':'+_0x53b16d+':'+_0x2c96a7;this[_0x5b37('0x3d')][_0x5b37('0xc4')](_0x41b896,_0x2bec98);}['getSuggestionCallback'](_0x56e638,_0xab07b3,_0x3f7095){const _0x20456b=_0x56e638+':'+_0xab07b3+':'+_0x3f7095;return this[_0x5b37('0x3d')][_0x5b37('0x103')](_0x20456b)||this[_0x5b37('0x82')][_0x5b37('0x103')](_0x56e638+':'+_0x3f7095);}[_0x5b37('0x6c')](){const _0x3264e3=()=>!0x1,_0x50560f=_0x560434=>{_0x560434[_0x5b37('0xc8')]((_0x2c88e3,_0x479c43)=>_0x2c88e3[_0x5b37('0xd7')]['isBefore'](_0x479c43[_0x5b37('0xd7')])?0x1:-0x1),this[_0x5b37('0x63')][_0x5b37('0x156')](_0x421403=>{for(const _0x2003b1 of _0x560434){let _0x4745b6;_0x4745b6=_0x2003b1['end'][_0x5b37('0x2a')]&&_0x2003b1['end'][_0x5b37('0xbd')]==_0x2003b1[_0x5b37('0xd7')][_0x5b37('0x165')]?_0x421403['createSelection'](_0x2003b1['start'][_0x5b37('0x165')],'on'):_0x421403[_0x5b37('0x14c')](_0x2003b1),this[_0x5b37('0x63')]['deleteContent'](_0x4745b6,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x332779=(_0x4f0650,_0x20cce5)=>{_0x20cce5&&this[_0x5b37('0x63')]['change'](_0x4b9e2b=>{const {commandName:_0x3f1857,commandParams:_0xbaee4a=[]}=_0x20cce5,_0x129daf=_0x4f0650[_0x5b37('0x43')](_0x2dd871=>(Tt(_0x2dd871)&&(_0x2dd871=this['_model'][_0x5b37('0xd6')](_0x2dd871[_0x5b37('0x105')])),_0x2dd871))[_0x5b37('0x15a')](_0x37ea9a=>'$graveyard'!==_0x37ea9a['root'][_0x5b37('0xf1')]);if(_0x129daf[_0x5b37('0xdb')]<0x1)return;const _0x344457=Array[_0x5b37('0x8b')](this[_0x5b37('0x63')][_0x5b37('0x7a')][_0x5b37('0x16b')][_0x5b37('0x8')]())[_0x5b37('0x43')](_0x68663f=>_0x2cfd9f[_0x5b37('0x3b')](_0x68663f));_0x4b9e2b['setSelection'](_0x129daf);for(const _0x369a5a of this[_0x5b37('0x14b')]['commands']['commands']())_0x369a5a[_0x5b37('0x85')]();_0xbaee4a['push']({'forceDefaultExecution':!0x0}),this[_0x5b37('0x14b')]['execute'](_0x3f1857,..._0xbaee4a);const _0x137af8=_0x344457[_0x5b37('0x15a')](_0x4466bf=>_0x5b37('0xeb')!=_0x4466bf[_0x5b37('0x45')]['rootName']);_0x137af8[_0x5b37('0xdb')]>0x0&&_0x4b9e2b[_0x5b37('0x110')](_0x137af8);for(const _0x3b2b23 of _0x344457)_0x3b2b23[_0x5b37('0x142')]();});},_0x48bf39=(_0x47f37f,_0x7ff89c)=>0x1==_0x47f37f['length']&&0x1==_0x7ff89c[_0x5b37('0xdb')]&&_0x47f37f[0x0][_0x5b37('0x105')][_0x5b37('0x169')](_0x7ff89c[0x0][_0x5b37('0xd7')]),_0x5183d7=(_0x43d1ce,_0x1656b0,_0x3d55dc,_0x22d978)=>Ot(_0x43d1ce,_0x1656b0,_0x3d55dc,_0x22d978,this[_0x5b37('0x63')])?[_0x43d1ce,_0x1656b0]:Ot(_0x1656b0,_0x43d1ce,_0x22d978,_0x3d55dc,this[_0x5b37('0x63')])?[_0x1656b0,_0x43d1ce]:null;this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x170'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xb9'),_0x50560f),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x3'),_0x48bf39),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x72'),_0x5183d7),this[_0x5b37('0x82')][_0x5b37('0xc4')]('deletion:accept',_0x50560f),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x134'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xcb'),_0x48bf39),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x102'),_0x5183d7),this[_0x5b37('0x82')]['set'](_0x5b37('0x38'),_0x332779),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x74'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xe7'),_0x48bf39),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x0'),_0x3264e3),this[_0x5b37('0x82')]['set'](_0x5b37('0x44'),_0x332779),this['_defaultCallbacks'][_0x5b37('0xc4')](_0x5b37('0x16e'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x76'),_0x48bf39),this[_0x5b37('0x82')]['set'](_0x5b37('0xae'),_0x3264e3),this[_0x5b37('0x82')]['set'](_0x5b37('0x6f'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xda'),(_0x289ffa,_0xc34d0b)=>{if(!_0xc34d0b)return;const _0x32ac2b=this[_0x5b37('0x14b')][_0x5b37('0xe3')][_0x5b37('0x103')](p);this[_0x5b37('0x63')][_0x5b37('0x156')](_0x25dab2=>{if(_0x5b37('0x153')==_0xc34d0b[_0x5b37('0x129')])for(const _0x4243ff of _0x289ffa){const _0x7dea45=_0x4243ff[_0x5b37('0xd7')][_0x5b37('0x165')],_0x4c00dc=_0xc34d0b[_0x5b37('0x36')];_0x25dab2[_0x5b37('0x161')](_0x7dea45,_0x4c00dc);}else{if(_0x32ac2b['_isBlockAttribute'](_0xc34d0b[_0x5b37('0x129')]))for(const _0x21b729 of _0x289ffa)void 0x0!==_0xc34d0b['oldValue']?_0x25dab2['setAttribute'](_0xc34d0b['key'],_0xc34d0b[_0x5b37('0x36')],_0x21b729[_0x5b37('0xd7')]['nodeAfter']):_0x25dab2[_0x5b37('0x7b')](_0xc34d0b[_0x5b37('0x129')],_0x21b729['start'][_0x5b37('0x165')]);else for(const _0x2c687a of _0x289ffa)_0xc34d0b['oldValue']?_0x25dab2[_0x5b37('0x65')](_0xc34d0b[_0x5b37('0x129')],_0xc34d0b[_0x5b37('0x36')],_0x2c687a):_0x25dab2['removeAttribute'](_0xc34d0b[_0x5b37('0x129')],_0x2c687a);}});}),this[_0x5b37('0x82')]['set']('attribute:join',_0x48bf39);}}function Bt(_0x31bc44,_0xd53030,_0x10ab89){for(const _0x5b0cf4 of _0xd53030[_0x5b37('0xbd')][_0x5b37('0x132')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5b0cf4[_0x5b37('0x45')]==_0x5b0cf4)return!0x1;if(!_0x10ab89[_0x5b37('0x137')](_0x5b0cf4))return!0x1;if(_0x31bc44[_0x5b37('0x1c')](_0x5b0cf4)||_0x31bc44[_0x5b37('0x4e')](_0x5b0cf4))return!0x0;}return!0x1;}function Tt(_0x403544){return _0x403544['end'][_0x5b37('0xbd')]==_0x403544['start'][_0x5b37('0x165')]&&_0x403544[_0x5b37('0x105')][_0x5b37('0x119')];}function xt(_0x3316b0,_0x53b133,_0x48dd49,_0x3e3877){const _0x47306e=_0x550918=>!_0x550918['item']['is']('$textProxy')&&!_0x3e3877[_0x5b37('0x1c')](_0x550918[_0x5b37('0x15f')]),_0x407134=_0x3316b0['start'][_0x5b37('0x148')](_0x47306e),_0x5e5428=_0x3316b0[_0x5b37('0x105')][_0x5b37('0x148')](_0x47306e,{'direction':_0x5b37('0x174')});return(!_0x3316b0['start'][_0x5b37('0x169')](_0x407134)||!_0x3316b0['end'][_0x5b37('0x169')](_0x5e5428))&&(_0x407134['isBefore'](_0x5e5428)?_0x48dd49[_0x5b37('0x31')](_0x53b133,{'range':_0x48dd49[_0x5b37('0xd6')](_0x407134,_0x5e5428)}):_0x48dd49[_0x5b37('0x151')](_0x53b133),!0x0);}function Et(_0x4c2205){return _0x1fc600(_0x4c2205);}function Rt(_0x3c762d){const _0x30a436=_0x3c762d['start'][_0x5b37('0x165')];return _0x30a436&&_0x30a436['is'](_0x5b37('0x127'));}function Ut(_0xebd1fc,_0x2489bf){const _0x875512=_0x2489bf['schema'][_0x5b37('0x1c')](_0xebd1fc)||_0x2489bf[_0x5b37('0x37')]['isSelectable'](_0xebd1fc);return _0x2489bf[_0x5b37('0xd6')](_0x2489bf[_0x5b37('0x10b')](_0xebd1fc,'before'),_0x875512?_0x2489bf['createPositionAfter'](_0xebd1fc):_0x2489bf[_0x5b37('0x10b')](_0xebd1fc,_0x5b37('0x105')));}function Ot(_0x308b09,_0x280294,_0x4279fe,_0x48f736,_0x125de8){if(!Vt(_0x308b09,_0x280294))return!0x1;if(_0x4279fe[_0x5b37('0x105')][_0x5b37('0x169')](_0x48f736[_0x5b37('0xd7')]))return!0x0;if(_0x308b09[_0x5b37('0x3f')]!=_0x280294[_0x5b37('0x3f')])return!0x1;if(!_0x4279fe['end']['isTouching'](_0x48f736['start']))return!0x1;const _0x113729=_0x125de8[_0x5b37('0xd6')](_0x4279fe[_0x5b37('0x105')],_0x48f736['start'])[_0x5b37('0xb7')]();for(const _0x3651d4 of _0x113729)if([_0x5b37('0xb5'),_0x5b37('0xa6')]['includes'](_0x3651d4[_0x5b37('0x3f')])&&_0x125de8[_0x5b37('0x37')][_0x5b37('0x4e')](_0x3651d4[_0x5b37('0x15f')]))return!0x1;return!0x0;}function Vt(_0x3c01f7,_0x154466){return!(!_0x3c01f7[_0x5b37('0x106')]||!_0x154466[_0x5b37('0x106')])&&_0x1587e8(_0x3c01f7[_0x5b37('0x83')],_0x154466['attributes']);}function Gt(_0x1368f6,_0x423e66){const _0x3bb084=Ft(_0x1368f6[_0x5b37('0x83')]),_0x28700a=Ft(_0x423e66);if(!_0x1368f6[_0x5b37('0x106')])return!0x1;for(const _0x106854 of Object[_0x5b37('0xff')](_0x28700a))if(!_0x1587e8(_0x3bb084[_0x106854],_0x28700a[_0x106854]))return!0x1;return!0x0;}function Ft(_0x5d8f7d){const _0x108487=Object[_0x5b37('0x17')]({},_0x5d8f7d);return delete _0x108487[_0x5b37('0x130')],delete _0x108487[_0x5b37('0xd1')],_0x108487;}function Pt(_0x361b3e){return'attribute'==_0x361b3e[_0x5b37('0x3f')]?_0x361b3e[_0x5b37('0x13b')][_0x5b37('0xf5')]('|')[0x0]:null;}
|
|
23
|
+
const _0x5ec5=['formatBlock','getRanges','isIntersecting','ck-suggestion-marker-formatBlock','multipleBlocks','_isBlockAttribute','$graveyard','markers','_SUGGESTION_ANNOUNCEMENT','reconvertMarker','clear','previous','addMarker:suggestion','formatBlock:join','_defaultCallbacks','trackChanges.trackFormatChanges','isUndo','for','notReady','nodeBefore','suggestionUnloaded','unbindElementFromMarkerName','isRemovable','markerNameToElements','options','setSelection','addComment','markerToData','differ','markDeletion','acceptSuggestion','insertion:accept','enableCommand','markMultiRangeInsertion','position','addMarker','_model','removeMarkers','oldValue','getChanges','key','backward','isInsideObject','ready','insert','PendingActions','next','_addSuggestionMarker','schema','$marker','createElement','start','getWalker','_recordAttributeSuggestionsFromVersion','_suggestionFactory','acceptAllSuggestions','_reduceSuggestionAttributeRange','_registerInlineAttribute','markAttributeChange','toViewElement','CommentsRepository','getCustomProperty','markInsertion','always','_getExternalAuthor','keys','listenTo','PENDING_ACTION_SUGGESTION','suggestion','formatBlock:accept','ck-suggestion-marker-','getUser','_isDataLoaded','formatInline','set','_commentsRepository','config','_getSuggestionData','high','name','stopListening','getNearestSelectionRange','every','getShiftedBy','_rangeIsInLocalUserInsertion','markerName','formatInline:join','_saved','getSuggestionCallback','setAttribute','getRange','insertion:join','requires','createPositionBefore','elementEnd','isIntersectingWithRange','locale','_joinWithAdjacentSuggestions','getItems','error-saving-suggestion-data-suggestion-discarded','head','splice','createRangeIn','documentSelection','type','_updateSuggestionData','oldName','root','ariaLiveAnnouncer','_initAriaMarkerChangeAnnouncements','parent','updateSuggestion','commands','deletion:chain','_createSuggestion','_findSuggestions','_isForcedDefaultExecutionBlock','rootName','isEqual','split','remove','hasCommentThread','newRange','createPositionAfter','toJSON','pop','attributes','announce','ck-suggestion-marker--active','normal','define','pluginName','trackChanges.mergeNestedSuggestions','meta','chain','markInlineFormat','multi','formatBlock:','removeMarker','getIntersection','_addThreadToSuggestion','enqueueChange','from','_registerBlockAttribute','_suggestionState','consume','_reduceExistingSuggestions','track-changes-suggestion-not-found','trackChanges','creator','consumable','suggestionLoaded','isAtStart','getOperations','createSelection','addMarker:suggestion:attribute','discardAllSuggestions','formatInline:accept','_setSuggestionRange','push','track-changes-command-not-found','element','_setSuggestionData','_customCallbacks','insertContent','attribute:','getSuggestion','comments','update:suggestion','addSuggestion','deletion:accept','formatInline:','addMarker:suggestion:formatBlock','external:','_editor','ck-suggestion-marker-formatInline','getAllAdjacentSuggestions','track-changes-user-not-found','filter','howMany','refresh','changeAttribute','splitPosition','getMarkers','forceDefaultExecution','fromCharCode','fire','newName','activeMarkers','subType','isLimit','writer','getFirstMarker','isAfter','removeMarker:suggestion:attribute','insertion:discard','elementToElement','isInContent','removeAttribute','insertion','createdAt','containsRange','substring','removeComment','low','document','deletion:join','plugins','tablePasteChainId','track-changes-adapter-already-set','suggestionChanged','value','containsPosition','mapper','after','_mergeNestedSuggestions','has','isNextTo','deletion:discard','isTouching','isOwn','getDifference','end','collaboration.channelId','containsRangeInObject','addSuggestionData','nodeAfter','getContainedElement','markMultiRangeDeletion','model','some','sort','createPositionAt','detach','authorName','lowest','item','before','$text','formatBlock:discard','isArray','_registerDefaultCallbacks','unbind','skipNestingCheck','change','markerReady','length','_joinSuggestions','rename','default','stop','rejected','execute','isBlock','isMultiRange','isAtEnd','targetPosition','_enabledCommands','suggestion:','_cutOutSuggestionMarker','conversion','startsWith','fetchCommentThread','dataToMarker','return','buildSuggestion','removeClass','suggestion-type','dataDowncast','moveTargetPosition','_blockAttributeKeys','getLastMatchingPosition','createRange','LEAVE','attributeOldValue','newValue','showSuggestionHighlights','acceptSelectedSuggestions','never','format','editing','_recordAttributeChanges','_trackFormatChanges','groupId','widget','author','forEach','enableReadOnlyMode','ck-suggestion-marker','markMultiRangeBlockFormat','isObject','$elementName','deletion:','catch','_descriptionFactory','getAttribute','elementStart','map','addClass','registerPostFixer','updateMarker','markerToHighlight','change:data','_refreshSuggestionsChain','attribute:join','_onDiscard','editor','getCommentThread','addHighlight','assign','markBlockFormat','delete','concat','rethrowUnexpectedError','_processAttributeSuggestions','_handleNewSuggestionMarker','size','bindElementToMarker','track-changes-suggestion-data-mismatch','attribute:discard','editingDowncast','isCollapsed','suggestion:attribute:','formatGroupId','discardSelectedSuggestions','getSuggestions','fromRange','hasComments','warn','deleteContent','removed','marker-count','isBefore','@external','hasSuggestion','add','highest','_inlineAttributeKeys','applyOperation','_refreshAttributeSuggestionsChain','_getAuthorFromId','version','commandName','authoredAt','getFirstRange','insertion:','_suggestions','trackChangesCommand','oldRange','change:_saved','then','_processAttributeChanges','registerCustomCallback','join','addAttribute','change:activeMarkers','find','addRange','accept','batch','formatInline:discard','unshift','_getMarkerAnnouncementText','deletion','_checkSuggestionCorrectness','get','adapter','_splitMarkerName','includes','addMarkerName','history','formatInline:chain','Users','_adapter','track-changes-enable-command-twice','_breakSuggestionMarker','discard','range','upcast','data','TrackChangesEditing','commentThread','attribute'];(function(_0x538c45,_0x5ec5ce){const _0x410319=function(_0x28c20d){while(--_0x28c20d){_0x538c45['push'](_0x538c45['shift']());}};_0x410319(++_0x5ec5ce);}(_0x5ec5,0x1c3));const _0x4103=function(_0x538c45,_0x5ec5ce){_0x538c45=_0x538c45-0x0;let _0x410319=_0x5ec5[_0x538c45];return _0x410319;};import{Plugin as _0x24bd64,PendingActions as _0xee7e0a}from'ckeditor5/src/core.js';import{LiveRange as _0x1394f0}from'ckeditor5/src/engine.js';import{CKEditorError as _0x207a25,uid as _0x5df0ee,priorities as _0x5e7ba1,logWarning as _0x4ac773}from'ckeditor5/src/utils.js';import{toWidget as _0xc74b52}from'ckeditor5/src/widget.js';import{Users as _0x4e0435,hashObject as _0x536ea2,surroundingMarkersDetector as _0x8a1101}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5c517e from'./commands/trackchangescommand.js';import _0x5dc7df from'./commands/acceptsuggestioncommand.js';import _0x4f1300 from'./commands/discardsuggestioncommand.js';import _0x9cd4a1 from'./commands/executeonallsuggestionscommand.js';import _0x37f312 from'./commands/executeonselectedsuggestionscommand.js';import _0xdfa14c from'./suggestion.js';import _0x1a1e2c from'./suggestiondescriptionfactory.js';import _0x70bed2 from'./integrations/aiassistant.js';import _0x5173da from'./integrations/alignment.js';import _0x36ef09 from'./integrations/basicstyles.js';import _0x4ae2f2 from'./integrations/blockquote.js';import _0x4c161b from'./integrations/ckbox.js';import _0x4d7c5f from'./integrations/codeblock.js';import _0x48dc4a from'./integrations/comments.js';import _0x24ad83 from'./integrations/deletecommand.js';import _0x1e461b from'./integrations/documentlist.js';import _0x1b9557 from'./integrations/documentlistproperties.js';import _0x458b76 from'./integrations/entercommand.js';import _0x489672 from'./integrations/findandreplace.js';import _0x67cc4e from'./integrations/font.js';import _0x48c7fc from'./integrations/formatpainter.js';import _0x427e9b from'./integrations/heading.js';import _0x3db6f7 from'./integrations/highlight.js';import _0x25304d from'./integrations/horizontalline.js';import _0x5e3fe6 from'./integrations/htmlembed.js';import _0x43c3ed from'./integrations/image.js';import _0x5e789e from'./integrations/imagereplace.js';import _0x49310f from'./integrations/imagestyle.js';import _0x3ae34d from'./integrations/importword.js';import _0x2442d5 from'./integrations/indent.js';import _0x2329dd from'./integrations/inputcommand.js';import _0x4c402b from'./integrations/link.js';import _0x29131a from'./integrations/list.js';import _0x27bc5e from'./integrations/listproperties.js';import _0x375cbe from'./integrations/mediaembed.js';import _0x46a101 from'./integrations/mention.js';import _0x3133b6 from'./integrations/pagebreak.js';import _0xc30abd from'./integrations/paragraph.js';import _0x3ea3da from'./integrations/removeformat.js';import _0x509fd8 from'./integrations/restrictededitingmode.js';import _0x1921df from'./integrations/shiftentercommand.js';import _0x4e4eb1 from'./integrations/standardeditingmode.js';import _0x1c62ea from'./integrations/style.js';import _0x4b6ff8 from'./integrations/table.js';import _0x3497b7 from'./integrations/tablemergesplit.js';import _0x1faf0b from'./integrations/tableheadings.js';import _0x345446 from'./integrations/tableclipboard.js';import _0x517000 from'./integrations/tablecolumnresize.js';import _0x394849 from'./integrations/template.js';import _0x2a6f26 from'./integrations/tableofcontents.js';import _0x5aa28f from'./integrations/title.js';import _0x5f1cc6 from'./integrations/undo.js';import _0x4cced8 from'./integrations/tablecaption.js';import _0x2c726c from'./integrations/tableproperties.js';import{getTranslation as _0x1f5924}from'./utils/common-translations.js';import{isEqual as _0x429fef,omit as _0xca117e}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x24bd64{static get[_0x4103('0x18')](){return['CommentsRepository',_0x4e0435,_0xee7e0a,_0x70bed2,_0x5173da,_0x36ef09,_0x4ae2f2,_0x4c161b,_0x4d7c5f,_0x48dc4a,_0x24ad83,_0x1e461b,_0x1b9557,_0x458b76,_0x489672,_0x67cc4e,_0x48c7fc,_0x427e9b,_0x3db6f7,_0x25304d,_0x5e3fe6,_0x43c3ed,_0x49310f,_0x5e789e,_0x3ae34d,_0x2442d5,_0x2329dd,_0x4c402b,_0x29131a,_0x27bc5e,_0x375cbe,_0x46a101,_0x3133b6,_0xc30abd,_0x3ea3da,_0x509fd8,_0x1921df,_0x4e4eb1,_0x1c62ea,_0x4b6ff8,_0x3497b7,_0x1faf0b,_0x4cced8,_0x345446,_0x517000,_0x2a6f26,_0x2c726c,_0x394849,_0x5aa28f,_0x5f1cc6];}static get[_0x4103('0x3f')](){return _0x4103('0x138');}constructor(_0x2a5cc8){function _0x42a718(_0x5abd8a){return _0x5abd8a[_0x4103('0xe5')](_0xe5328c=>String[_0x4103('0x75')](_0xe5328c))[_0x4103('0x11d')]('');}super(_0x2a5cc8),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x4103('0x6')](_0x4103('0x78'),[]),this['on'](_0x4103('0x11f'),(_0x3226a6,_0x39e345,_0x47589e,_0x603e89)=>{this[_0x4103('0x15f')]['change'](()=>{for(const _0xee64d4 of[..._0x603e89,..._0x47589e])this[_0x4103('0x15f')][_0x4103('0x142')][_0x4103('0x94')](_0xee64d4)&&_0x2a5cc8[_0x4103('0xd4')][_0x4103('0x144')](_0xee64d4);});}),this[_0x4103('0xe2')]=new _0x1a1e2c(this[_0x4103('0xee')][_0x4103('0xa1')][_0x4103('0x16b')],this['editor']['locale']),this[_0x4103('0x131')]=null,this['_suggestionFactory']=new $t(this[_0x4103('0xee')]),this['_suggestions']=new Map(),this[_0x4103('0x7')]=_0x2a5cc8[_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x177')),this[_0x4103('0xbd')]=new Set(),this[_0x4103('0x15f')]=this[_0x4103('0xee')][_0x4103('0xa1')],this['_suggestionState']=new WeakMap(),this[_0x4103('0x30')]=!0x1,this[_0x4103('0xca')]=new Set([_0x4103('0xdf')]),this['_inlineAttributeKeys']=new Set(),_0x2a5cc8['config'][_0x4103('0x3e')](_0x4103('0x14a'),_0x4103('0xb5')),this[_0x4103('0xd6')]=_0x2a5cc8[_0x4103('0x8')]['get'](_0x4103('0x14a')),_0x2a5cc8['config'][_0x4103('0x3e')](_0x4103('0x40'),!0x0),this[_0x4103('0x93')]=_0x2a5cc8[_0x4103('0x8')][_0x4103('0x129')](_0x4103('0x40')),this['trackChangesCommand']=new _0x5c517e(_0x2a5cc8,this[_0x4103('0xbd')]),this[_0x4103('0x29')](),this[_0x42a718([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x42a718([0x34,0x30,0x34,0x36,0x32,0x34,0x34,0x34]);}['init'](){const _0x52b4c3=this[_0x4103('0xee')],_0x5a5afd=(_0x18d062,_0x2d1529)=>{if(_0x4103('0x13a')!=_0x18d062)return _0x4103('0x2')+_0x18d062;const _0x11f563=_0x2d1529['split']('|')[0x0];return this[_0x4103('0x140')](_0x11f563)?_0x4103('0x13e'):_0x4103('0x6b');};_0x52b4c3['conversion'][_0x4103('0x14c')]('editingDowncast')[_0x4103('0xe9')]({'model':_0x4103('0x0'),'view':_0x512c32=>{const {id:_0x5d1af0,type:_0x3039ea,subType:_0x30b444}=this['_splitMarkerName'](_0x512c32[_0x4103('0x11')]),_0x4a1c28=[_0x4103('0xdc'),_0x5a5afd(_0x3039ea,_0x30b444)];let _0x24ecfa=0xbb8;return this[_0x4103('0x78')][_0x4103('0x12c')](_0x512c32[_0x4103('0x11')])&&(_0x4a1c28['push'](_0x4103('0x3c')),_0x24ecfa=0xbc2),_0x4103('0x127')==_0x3039ea&&(_0x24ecfa+=0x5),{'classes':_0x4a1c28,'attributes':{'data-suggestion':_0x5d1af0},'priority':_0x24ecfa};}}),_0x52b4c3['conversion']['for'](_0x4103('0xc8'))[_0x4103('0x10b')](_0x375c19=>{_0x375c19['on'](_0x4103('0x147'),(_0xeffac8,_0x2d4bcd,_0x1724cd)=>{if(!_0x1724cd[_0x4103('0x153')]['showSuggestionHighlights'])return;const _0xd7a483=_0x2d4bcd[_0x4103('0xa8')];if(!_0xd7a483)return;const _0x5cea9b=_0x1724cd[_0x4103('0x91')][_0x4103('0x176')](_0xd7a483);_0x52b4c3['model'][_0x4103('0x16b')][_0x4103('0xde')](_0xd7a483)&&_0x5cea9b&&!_0x5cea9b['getCustomProperty'](_0x4103('0xd8'))&&_0x5cea9b['is']('containerElement')&&_0xc74b52(_0x5cea9b,_0x1724cd[_0x4103('0x7b')]);},{'priority':_0x4103('0xa')});}),_0x52b4c3[_0x4103('0xc0')][_0x4103('0x14c')](_0x4103('0xc8'))['markerToHighlight']({'model':'suggestion','view':(_0x5d2a35,_0x2ca254)=>{if(!_0x2ca254['options']['showSuggestionHighlights'])return null;const {type:_0x186a3,subType:_0x47c36f}=this['_splitMarkerName'](_0x5d2a35['markerName']);return{'classes':[_0x4103('0xdc'),_0x5a5afd(_0x186a3,_0x47c36f)],'priority':0xbb8};}});const _0x4c38c4=({showActiveMarkers:_0x3fdd90=!0x0,isAttributeSuggestion:_0x10a519=!0x1}={})=>(_0x41b081,_0x576e9d,_0x54a9bd)=>{if(!_0x576e9d['item'])return;const {id:_0x42dd80}=this[_0x4103('0x12b')](_0x576e9d[_0x4103('0x11')]);if(_0x10a519){const _0x5387f2=Pt(this[_0x4103('0x116')]['get'](_0x42dd80));if(!this['_isBlockAttribute'](_0x5387f2))return;}if(_0x576e9d[_0x4103('0xa8')]['is']('selection'))return void _0x54a9bd['consumable'][_0x4103('0x4d')](_0x576e9d[_0x4103('0xa8')],_0x41b081[_0x4103('0xb')]);const _0x24b0af=_0x54a9bd['mapper'][_0x4103('0x176')](_0x576e9d['item']);if(_0x576e9d[_0x4103('0xa8')]['is'](_0x4103('0x5d'))&&_0x52b4c3['model'][_0x4103('0x16b')][_0x4103('0xb9')](_0x576e9d[_0x4103('0xa8')])&&!_0x24b0af[_0x4103('0x178')](_0x4103('0xf0'))){_0x54a9bd[_0x4103('0x7b')][_0x4103('0xe6')]([_0x4103('0xdc'),_0x4103('0x13e')],_0x24b0af),_0x54a9bd[_0x4103('0x7b')][_0x4103('0x15')]('data-suggestion',_0x42dd80,_0x24b0af),_0x54a9bd['mapper'][_0x4103('0xf9')](_0x24b0af,_0x576e9d['markerName']),_0x3fdd90&&(this[_0x4103('0x78')][_0x4103('0x12c')](_0x576e9d['markerName'])?_0x54a9bd[_0x4103('0x7b')][_0x4103('0xe6')]('ck-suggestion-marker--active',_0x24b0af):_0x54a9bd['writer']['removeClass']('ck-suggestion-marker--active',_0x24b0af));for(const _0x174d5c of _0x52b4c3['model'][_0x4103('0x22')](_0x576e9d[_0x4103('0xa8')])[_0x4103('0x1e')]())_0x54a9bd[_0x4103('0x52')][_0x4103('0x4d')](_0x174d5c,_0x41b081[_0x4103('0xb')]);_0x54a9bd[_0x4103('0x52')][_0x4103('0x4d')](_0x576e9d[_0x4103('0xa8')],_0x41b081[_0x4103('0xb')]);}};_0x52b4c3[_0x4103('0xc0')][_0x4103('0x14c')](_0x4103('0xc8'))[_0x4103('0x10b')](_0x18d2c8=>{_0x18d2c8['on'](_0x4103('0x68'),(_0x1b11cf,_0x2056c0,_0x227b32)=>{_0x227b32['options'][_0x4103('0xd0')]&&_0x4c38c4({'showActiveMarkers':!0x1})(_0x1b11cf,_0x2056c0,_0x227b32);},{'priority':_0x4103('0x10c')});}),_0x52b4c3['conversion']['for'](_0x4103('0xc8'))['add'](_0x5c6d3f=>{_0x5c6d3f['on'](_0x4103('0x57'),(_0x430664,_0x2e504a,_0x26bc9e)=>{_0x26bc9e[_0x4103('0x153')][_0x4103('0xd0')]&&_0x4c38c4({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x430664,_0x2e504a,_0x26bc9e);},{'priority':_0x4103('0x10c')});}),_0x52b4c3[_0x4103('0xc0')]['for'](_0x4103('0xc8'))[_0x4103('0x156')]({'model':_0x4103('0x0'),'view':(_0x3f93aa,_0x5ab824)=>_0x5ab824['options'][_0x4103('0xd0')]?null:{'group':_0x4103('0x0'),'name':_0x3f93aa['substr'](0xb)}}),_0x52b4c3['conversion'][_0x4103('0x14c')](_0x4103('0x136'))[_0x4103('0x80')]({'view':{'name':_0x4103('0x0'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x16a3c2,{writer:_0x5bf958})=>{let _0x291e81=_0x4103('0xbe')+_0x16a3c2['getAttribute'](_0x4103('0xc7'))+':'+_0x16a3c2[_0x4103('0xe3')]('id');return _0x16a3c2[_0x4103('0xe3')](_0x4103('0x107'))&&(_0x291e81+=':'+_0x16a3c2[_0x4103('0xe3')](_0x4103('0x107'))),_0x5bf958[_0x4103('0x16d')](_0x4103('0x16c'),{'data-name':_0x291e81});}}),_0x52b4c3['conversion'][_0x4103('0x14c')](_0x4103('0x136'))[_0x4103('0xc3')]({'view':_0x4103('0x0')}),_0x52b4c3[_0x4103('0xc0')][_0x4103('0x14c')](_0x4103('0xfc'))[_0x4103('0x10b')](_0x339c00=>{_0x339c00['on'](_0x4103('0x68'),_0x4c38c4(),{'priority':_0x4103('0xa')});}),_0x52b4c3[_0x4103('0xc0')][_0x4103('0x14c')](_0x4103('0xfc'))[_0x4103('0x10b')](_0x2fe665=>{_0x2fe665['on'](_0x4103('0x57'),_0x4c38c4({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x52b4c3['conversion'][_0x4103('0x14c')](_0x4103('0xfc'))[_0x4103('0x10b')](_0x314ca1=>{_0x314ca1['on']('removeMarker:suggestion:formatBlock',(_0x2b5b85,_0x10653e,_0x5886f0)=>{const _0x1514e9=_0x5886f0[_0x4103('0x91')]['markerNameToElements'](_0x10653e[_0x4103('0x11')]);if(_0x1514e9)for(const _0x1825ec of _0x1514e9)_0x1825ec[_0x4103('0x178')](_0x4103('0xf0'))||(_0x5886f0['writer'][_0x4103('0xc6')]([_0x4103('0xdc'),_0x4103('0x13e'),'ck-suggestion-marker--active'],_0x1825ec),_0x5886f0[_0x4103('0x7b')]['removeAttribute']('data-suggestion',_0x1825ec),_0x5886f0[_0x4103('0x91')][_0x4103('0x150')](_0x1825ec,_0x10653e['markerName']));},{'priority':_0x4103('0xa')});}),_0x52b4c3['conversion'][_0x4103('0x14c')](_0x4103('0xfc'))[_0x4103('0x10b')](_0x4bf4d0=>{_0x4bf4d0['on'](_0x4103('0x7e'),(_0x26ecbe,_0xed07dc,_0x473a64)=>{const _0x4f84c3=_0x473a64[_0x4103('0x91')][_0x4103('0x152')](_0xed07dc['markerName']);if(!_0x4f84c3)return;const {id:_0x4f6f59}=this['_splitMarkerName'](_0xed07dc[_0x4103('0x11')]),_0x455650=Pt(this[_0x4103('0x116')][_0x4103('0x129')](_0x4f6f59));if(this['_isBlockAttribute'](_0x455650))for(const _0x2e99eb of _0x4f84c3)_0x2e99eb[_0x4103('0x178')](_0x4103('0xf0'))||(_0x473a64[_0x4103('0x7b')][_0x4103('0xc6')]([_0x4103('0xdc'),_0x4103('0x13e'),_0x4103('0x3c')],_0x2e99eb),_0x473a64[_0x4103('0x7b')][_0x4103('0x82')]('data-suggestion',_0x2e99eb),_0x473a64['mapper'][_0x4103('0x150')](_0x2e99eb,_0xed07dc[_0x4103('0x11')]));},{'priority':_0x4103('0xa')});}),_0x52b4c3[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0xe7')](_0x51b9a5=>{let _0x17946b=!0x1;const _0x44d2bb=Array[_0x4103('0x4a')](_0x52b4c3[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0x157')]['getChangedMarkers']()),_0x3c4414=new Set();for(const {name:_0x214d12,data:_0x327c50}of _0x44d2bb){const {group:_0x1fdb3e,type:_0x2c7d22,subType:_0x102da9,id:_0x89fa5a}=this[_0x4103('0x12b')](_0x214d12);if(_0x4103('0x0')!==_0x1fdb3e)continue;const _0x37d609=this[_0x4103('0x116')][_0x4103('0x129')](_0x89fa5a);if(null!=_0x327c50[_0x4103('0x36')]){'formatInline'==_0x2c7d22&&(_0x17946b=_0x17946b||xt(_0x327c50[_0x4103('0x36')],_0x214d12,_0x51b9a5,_0x52b4c3['model']['schema']));const _0x29652a=_0x4103('0x13a')==_0x2c7d22&&this['_isBlockAttribute'](_0x102da9[_0x4103('0x33')]('|')[0x0]);if(_0x327c50[_0x4103('0x36')][_0x4103('0xfd')]||_0x4103('0x141')==_0x327c50[_0x4103('0x36')][_0x4103('0x27')]['rootName']||_0x4103('0x13b')==_0x2c7d22&&!Rt(_0x327c50[_0x4103('0x36')])||_0x29652a&&!Rt(_0x327c50['newRange'])||_0x4103('0x127')==_0x2c7d22&&!(!Tt(_0x13c20c=_0x327c50['newRange'])&&!function(_0xb09e2e){return _0xb09e2e[_0x4103('0x16e')]['parent']==_0xb09e2e['end'][_0x4103('0x14e')]&&_0xb09e2e['start'][_0x4103('0xbb')];}(_0x13c20c)))_0x51b9a5['removeMarker'](_0x214d12),_0x17946b=!0x0;else{if(!_0x37d609||!_0x37d609[_0x4103('0x81')])continue;_0x3c4414[_0x4103('0x10b')](_0x37d609);}}}var _0x13c20c;return _0x3c4414[_0x4103('0xf8')]>0x0&&(_0x17946b=!!this[_0x4103('0x1d')](_0x3c4414)||_0x17946b),_0x17946b;}),_0x52b4c3['model']['document'][_0x4103('0xe7')](_0x40589a=>{let _0x35569b=!0x1;for(const _0x4bfc99 of _0x52b4c3[_0x4103('0xa1')]['document'][_0x4103('0x157')][_0x4103('0x162')]())if(_0x4103('0x167')==_0x4bfc99['type'])for(const _0x274edd of this[_0x4103('0x116')]['values']()){if(_0x274edd[_0x4103('0xba')]||!_0x274edd[_0x4103('0x81')])continue;const _0x2a20d8='formatBlock'==_0x274edd['type'],_0x5c06d8=Pt(_0x274edd),_0xf54bea=_0x5c06d8&&this['_isBlockAttribute'](_0x5c06d8);if(!_0x2a20d8&&!_0xf54bea)continue;const _0x48ea55=_0x274edd[_0x4103('0x114')]();if(_0x48ea55[_0x4103('0x16e')][_0x4103('0x2a')]!=_0x48ea55[_0x4103('0x9a')][_0x4103('0x2a')]&&!_0x48ea55[_0x4103('0x9a')][_0x4103('0xbb')]){const _0x7d6c93=_0x52b4c3[_0x4103('0xa1')]['createPositionAt'](_0x48ea55['start']['nodeAfter'],_0x4103('0x9a')),_0xac5d77=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xcc')](_0x48ea55['start'],_0x7d6c93);_0x40589a[_0x4103('0xe8')](_0x274edd[_0x4103('0x7c')](),{'range':_0xac5d77}),_0x35569b=!0x0;}}return _0x35569b;}),_0x52b4c3[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0xe7')](_0x488d5f=>this[_0x4103('0x11b')](_0x488d5f)),_0x52b4c3['model'][_0x4103('0x89')]['registerPostFixer'](_0x4866a7=>!_0x4866a7[_0x4103('0x123')]['isLocal']&&this[_0x4103('0xf6')](_0x4866a7)),_0x52b4c3[_0x4103('0xa1')][_0x4103('0x142')]['on'](_0x4103('0x64'),(_0x12e2ef,_0xedd12b,_0x5ce823)=>{if(null==_0x5ce823){const {id:_0x10a834}=this[_0x4103('0x12b')](_0xedd12b[_0x4103('0xb')]),_0x55eab9=this[_0x4103('0x116')][_0x4103('0x129')](_0x10a834);_0x55eab9&&_0x55eab9[_0x4103('0x12d')](_0xedd12b[_0x4103('0xb')]);}}),_0x52b4c3[_0x4103('0xa1')][_0x4103('0x89')]['on'](_0x4103('0xea'),()=>{const _0x198ea0=Array[_0x4103('0x4a')](_0x52b4c3[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0x157')]['getChangedMarkers']())[_0x4103('0x6e')](_0x1c74dd=>_0x4103('0x0')===this[_0x4103('0x12b')](_0x1c74dd[_0x4103('0xb')])['group']);if(0x0===_0x198ea0[_0x4103('0xb2')])return;_0x198ea0['sort']((_0x491c65,_0x9cdfcb)=>{const _0x33f172=_0x491c65[_0x4103('0x137')][_0x4103('0x118')],_0x3bd3ea=_0x9cdfcb[_0x4103('0x137')]['oldRange'];return null===_0x33f172&&null===_0x3bd3ea?0x0:null===_0x33f172&&null!==_0x3bd3ea?-0x1:null!==_0x33f172&&null===_0x3bd3ea?0x1:_0x33f172[_0x4103('0x16e')][_0x4103('0x108')](_0x3bd3ea[_0x4103('0x16e')])?-0x1:0x1;});const _0x4c4724=new Set(),_0x2d839b=new Set();for(const {name:_0x393498,data:_0xefe261}of _0x198ea0){const {id:_0x5af52e}=this[_0x4103('0x12b')](_0x393498);if(null===_0xefe261['oldRange']){const _0x4ddead=this[_0x4103('0xf7')](_0x393498);_0x2d839b[_0x4103('0x10b')](_0x4ddead);}else{const _0x2a7039=this[_0x4103('0x116')][_0x4103('0x129')](_0x5af52e);null!==_0xefe261['newRange']||_0x2a7039['isInContent']?(_0x4c4724['add'](_0x2a7039[_0x4103('0x20')]),_0x2d839b[_0x4103('0x10b')](_0x2a7039)):this['_removeSuggestion'](_0x2a7039);}}_0x2d839b[_0x4103('0xf8')]>0x0&&this['_refreshSuggestionsChain'](_0x2d839b);for(const _0x357fe5 of _0x4c4724)this[_0x4103('0x76')](_0x4103('0x8e'),_0x357fe5);}),_0x52b4c3['model']['on'](_0x4103('0x10e'),(_0x136db3,_0x527e72)=>{const _0x464be4=_0x527e72[0x0];if(!this[_0x4103('0x116')][_0x4103('0xf8')])return;if(!_0x464be4['isDocumentOperation'])return;if(_0x464be4[_0x4103('0x123')][_0x4103('0x14b')]||!_0x464be4[_0x4103('0x123')]['isLocal'])return;let _0x5cd9c2,_0x184c14;switch(_0x464be4[_0x4103('0x24')]){case _0x4103('0x167'):_0x5cd9c2=_0x52b4c3['model'][_0x4103('0xa4')](_0x464be4[_0x4103('0x15d')]),_0x184c14=_0x5cd9c2[_0x4103('0xf')](_0x464be4[_0x4103('0x6f')]);break;case _0x4103('0x33'):_0x5cd9c2=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xa4')](_0x464be4[_0x4103('0x72')]),_0x184c14=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xa4')](_0x464be4[_0x4103('0xc9')]);break;case'move':_0x5cd9c2=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xa4')](_0x464be4[_0x4103('0xbc')]),_0x184c14=_0x5cd9c2['getShiftedBy'](_0x464be4[_0x4103('0x6f')]);break;default:return;}const _0x40bd3b=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xcc')](_0x5cd9c2,_0x184c14);_0x52b4c3['model']['change'](()=>{for(const {suggestion:_0x57aa83,meta:_0x425efc}of this[_0x4103('0x2f')](_0x40bd3b)){if(_0x57aa83['isMultiRange'])continue;if(_0x4103('0x5')==_0x57aa83[_0x4103('0x24')])continue;const _0x140f2d=Pt(_0x57aa83);if(_0x140f2d&&this['_isBlockAttribute'](_0x140f2d)&&'split'!=_0x464be4[_0x4103('0x24')])continue;const _0x267d7c=_0x57aa83[_0x4103('0x137')]&&_0x57aa83['data']['multipleBlocks'];(_0x4103('0x13b')!=_0x57aa83[_0x4103('0x24')]||_0x4103('0x33')==_0x464be4[_0x4103('0x24')]&&!_0x267d7c)&&(_0x425efc['containsRangeInObject']||_0x4103('0x83')==_0x57aa83[_0x4103('0x24')]&&_0x425efc['isOwn']||_0x57aa83[_0x4103('0x114')]()['containsRange'](_0x40bd3b)&&this[_0x4103('0x133')](_0x57aa83,_0x5cd9c2,_0x184c14));}});},{'priority':_0x4103('0xa7')}),_0x52b4c3['model']['on'](_0x4103('0x105'),(_0x1ff791,_0x40dacc)=>{const _0x4d8af9=_0x40dacc[0x0],_0x3f01de=_0x40dacc[0x1];if(_0x3f01de&&_0x3f01de[_0x4103('0x74')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand'][_0x4103('0x8f')])return;if(_0x4d8af9[_0x4103('0xfd')])return;const _0xa28173=_0x52b4c3['model'][_0x4103('0x16b')],{start:_0x37f9ef,end:_0x56b9cb}=_0x4d8af9[_0x4103('0x114')](),_0x401569=_0x37f9ef[_0x4103('0x9e')]&&_0xa28173[_0x4103('0x7a')](_0x37f9ef['nodeAfter'])?null:_0xa28173['getNearestSelectionRange'](_0x37f9ef,'forward'),_0x542dff=_0x56b9cb[_0x4103('0x14e')]&&_0xa28173[_0x4103('0x7a')](_0x56b9cb[_0x4103('0x14e')])?null:_0xa28173[_0x4103('0xd')](_0x56b9cb,_0x4103('0x164')),_0x1c7c9f=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xcc')](_0x401569?_0x401569[_0x4103('0x16e')]:_0x37f9ef,_0x542dff?_0x542dff[_0x4103('0x9a')]:_0x56b9cb);_0x52b4c3[_0x4103('0xa1')][_0x4103('0xb0')](_0x21cd58=>{this[_0x4103('0x158')](_0x1c7c9f);const _0x3a31de=_0x52b4c3[_0x4103('0xa1')][_0x4103('0x16b')]['getNearestSelectionRange'](_0x1c7c9f['start']);_0x4d8af9['is'](_0x4103('0x23'))?_0x21cd58[_0x4103('0x154')](_0x3a31de):_0x4d8af9['setTo'](_0x3a31de);}),_0x1ff791[_0x4103('0xb6')]();},{'priority':_0x5e7ba1[_0x4103('0x3d')]+0xa}),_0x52b4c3[_0x4103('0xa1')]['on'](_0x4103('0x60'),(_0x581c08,_0x121234)=>{const _0x279d28=_0x121234[_0x121234['length']-0x1];_0x279d28&&_0x279d28[_0x4103('0x74')]||this[_0x4103('0x30')]||this['trackChangesCommand'][_0x4103('0x8f')]&&(_0x52b4c3[_0x4103('0xa1')][_0x4103('0xb0')](()=>{let _0x272782=_0x52b4c3[_0x4103('0xa1')]['insertContent'](_0x121234[0x0],_0x121234[0x1],_0x121234[0x2],{'forceDefaultExecution':!0x0});if(!_0x272782)return;_0x581c08[_0x4103('0xc4')]=_0x272782['clone']();const _0x1c0cc5=_0x272782['end'][_0x4103('0x14e')],_0x57236d=_0x52b4c3[_0x4103('0xa1')][_0x4103('0x16b')];_0x1c0cc5&&_0x57236d[_0x4103('0xb9')](_0x1c0cc5)&&!_0x57236d['isObject'](_0x1c0cc5)&&(_0x272782=_0x52b4c3[_0x4103('0xa1')][_0x4103('0xcc')](_0x272782['start'],_0x52b4c3['model'][_0x4103('0xa4')](_0x1c0cc5,_0x4103('0x9a')))),this[_0x4103('0x179')](_0x272782);}),_0x581c08['stop']());},{'priority':_0x4103('0xa')}),this[_0x4103('0xee')][_0x4103('0x2c')][_0x4103('0x10b')]('trackChanges',this['trackChangesCommand']),this[_0x4103('0x15b')]('trackChanges');const _0x599683=new _0x5dc7df(_0x52b4c3,this[_0x4103('0x116')]);_0x52b4c3[_0x4103('0x2c')][_0x4103('0x10b')](_0x4103('0x159'),_0x599683),this[_0x4103('0x15b')](_0x4103('0x159'));const _0x578566=new _0x4f1300(_0x52b4c3,this[_0x4103('0x116')]);_0x52b4c3[_0x4103('0x2c')][_0x4103('0x10b')]('discardSuggestion',_0x578566),this[_0x4103('0x15b')]('discardSuggestion'),_0x52b4c3[_0x4103('0x2c')][_0x4103('0x10b')](_0x4103('0x172'),new _0x9cd4a1(_0x52b4c3,_0x599683,this[_0x4103('0x116')])),this[_0x4103('0x15b')](_0x4103('0x172')),_0x52b4c3[_0x4103('0x2c')]['add'](_0x4103('0x58'),new _0x9cd4a1(_0x52b4c3,_0x578566,this[_0x4103('0x116')])),this[_0x4103('0x15b')]('discardAllSuggestions'),_0x52b4c3[_0x4103('0x2c')][_0x4103('0x10b')](_0x4103('0xd1'),new _0x37f312(_0x52b4c3,_0x599683,this[_0x4103('0x116')])),this[_0x4103('0x15b')](_0x4103('0xd1')),_0x52b4c3[_0x4103('0x2c')][_0x4103('0x10b')](_0x4103('0x100'),new _0x37f312(_0x52b4c3,_0x578566,this[_0x4103('0x116')])),this['enableCommand'](_0x4103('0x100'));const _0x52eada=_0x52b4c3[_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x177'));this[_0x4103('0x17d')](_0x52eada,_0x4103('0x155'),(_0xa10e7,{threadId:_0x470fa5})=>{const _0x311a3e=this[_0x4103('0x116')][_0x4103('0x129')](_0x470fa5);_0x311a3e&&_0x311a3e[_0x4103('0x139')]&&0x1===_0x311a3e['commentThread']['length']&&this[_0x4103('0x25')](_0x470fa5,{'hasComments':!0x0});},{'priority':_0x4103('0x88')}),this[_0x4103('0x17d')](_0x52eada,_0x4103('0x87'),(_0x2159ea,{threadId:_0xf8ca50})=>{const _0x22c119=this['_suggestions'][_0x4103('0x129')](_0xf8ca50);_0x22c119&&_0x22c119[_0x4103('0x139')]&&!_0x22c119[_0x4103('0x139')]['length']&&this[_0x4103('0x25')](_0xf8ca50,{'hasComments':!0x1});},{'priority':'low'});}set['adapter'](_0x329f2f){if(this['_adapter'])throw new _0x207a25(_0x4103('0x8d'),this);this[_0x4103('0x131')]=_0x329f2f;}get[_0x4103('0x12a')](){return this[_0x4103('0x131')];}[_0x4103('0x101')]({skipNotAttached:_0x11cd6f=!0x1,toJSON:_0xba65d8=!0x1}={}){const _0x4a0f9f=[];for(const _0x2f896e of this['_suggestions']['values']())_0x11cd6f&&!_0x2f896e[_0x4103('0x81')]||_0x4a0f9f['push'](_0x2f896e);return _0xba65d8?_0x4a0f9f['map'](_0x4079df=>_0x4079df[_0x4103('0x38')]()):_0x4a0f9f;}[_0x4103('0x62')](_0x166b0b){const _0x39d4d7=this[_0x4103('0x116')][_0x4103('0x129')](_0x166b0b);if(!_0x39d4d7)throw new _0x207a25(_0x4103('0x4f'),this);return _0x39d4d7;}[_0x4103('0x10a')](_0x11f5a3){return this[_0x4103('0x116')][_0x4103('0x94')](_0x11f5a3);}[_0x4103('0x9d')](_0xf6a91e){const {authorId:_0xcdf4da,id:_0x34828e,attributes:_0x366898}=_0xf6a91e,[_0x2b81c1,_0x2f5d5c]=_0xf6a91e[_0x4103('0x24')][_0x4103('0x33')](':'),_0x3649fc=this[_0x4103('0x116')][_0x4103('0x129')](_0x34828e)||this['_createSuggestion'](_0x2b81c1,_0x2f5d5c,_0x34828e,_0xcdf4da,_0x366898);if(this[_0x4103('0x48')](_0x3649fc),this[_0x4103('0x128')](_0x3649fc,_0x2b81c1,_0x2f5d5c||null,_0xcdf4da),_0x3649fc[_0x4103('0x84')]=_0xf6a91e[_0x4103('0x84')],_0x3649fc[_0x4103('0x4')]=!0x0,_0x366898&&_0x366898[_0x4103('0x109')]){const _0x3c2332=_0x366898[_0x4103('0x109')],_0xc7e680=this[_0x4103('0x17b')](_0x3c2332[_0x4103('0xa6')]);_0x3649fc['authoredAt']=_0x3c2332[_0x4103('0x84')],_0x3649fc['author']=_0xc7e680,_0x3649fc['isExternal']=!0x0;}else _0x3649fc[_0x4103('0x113')]=_0xf6a91e[_0x4103('0x84')];switch(_0xf6a91e['data']&&(_0x3649fc[_0x4103('0x137')]=_0xf6a91e['data']),_0xf6a91e['attributes']&&(_0x3649fc[_0x4103('0x3a')]=_0xf6a91e[_0x4103('0x3a')]),this[_0x4103('0x131')]&&this[_0x4103('0x131')][_0x4103('0x65')]||(_0x3649fc[_0x4103('0x13')]=!0x0),this['_suggestionState'][_0x4103('0x129')](_0x3649fc)){case'notReady':this[_0x4103('0x4c')][_0x4103('0x6')](_0x3649fc,'dataReady');break;case _0x4103('0xb1'):_0x3649fc['isInContent']?(this[_0x4103('0xeb')](new Set([_0x3649fc])),this[_0x4103('0x1d')](new Set([_0x3649fc])),this[_0x4103('0x4c')][_0x4103('0x6')](_0x3649fc,_0x4103('0x166')),this[_0x4103('0x76')](_0x4103('0x53'),_0x3649fc)):this[_0x4103('0x4c')][_0x4103('0x6')](_0x3649fc,_0x4103('0x106'));}return _0x3649fc;}[_0x4103('0x159')](_0x610a07){this[_0x4103('0x74')](()=>{this[_0x4103('0xee')][_0x4103('0xa1')][_0x4103('0xb0')](()=>{for(const _0x4fa106 of _0x610a07[_0x4103('0x6c')]())_0x4fa106[_0x4103('0x122')]();});});}['discardSuggestion'](_0x9b4fb3){this[_0x4103('0x74')](()=>{this['editor'][_0x4103('0xa1')][_0x4103('0xb0')](()=>{for(const _0x2d9fb0 of _0x9b4fb3[_0x4103('0x6c')]())_0x2d9fb0[_0x4103('0x134')]();});});}[_0x4103('0x15b')](_0xc29e5f,_0x50b77a){const _0x566179=this[_0x4103('0xee')]['commands'][_0x4103('0x129')](_0xc29e5f);if(!_0x566179)throw new _0x207a25(_0x4103('0x5c'),this,{'commandName':_0xc29e5f});if(this[_0x4103('0xbd')][_0x4103('0x94')](_0x566179))throw new _0x207a25(_0x4103('0x132'),this,{'commandName':_0xc29e5f});this[_0x4103('0xbd')][_0x4103('0x10b')](_0x566179),_0x50b77a&&_0x566179['on'](_0x4103('0xb8'),(_0x418f83,_0x162a8a)=>{this[_0x4103('0x117')][_0x4103('0x8f')]&&(this[_0x4103('0x30')]||(_0x162a8a['length']>0x0&&_0x162a8a[_0x162a8a['length']-0x1]&&_0x162a8a[_0x162a8a['length']-0x1][_0x4103('0x74')]?_0x162a8a[_0x4103('0x39')]():(_0x418f83[_0x4103('0xc4')]=_0x50b77a((..._0x4e78ff)=>_0x566179[_0x4103('0xb8')](..._0x4e78ff,{'forceDefaultExecution':!0x0}),..._0x162a8a),_0x418f83['stop']())));},{'priority':_0x4103('0xa')});}[_0x4103('0x74')](_0x2cf2a5){let _0x5ebf32,_0x36ab1f;const _0x1f476b=this[_0x4103('0x30')];this[_0x4103('0x30')]=!0x0;try{_0x5ebf32=_0x2cf2a5();}catch(_0x5e198d){_0x36ab1f=_0x5e198d;}return _0x1f476b||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x36ab1f&&_0x207a25[_0x4103('0xf5')](_0x36ab1f,this),_0x5ebf32;}[_0x4103('0x179')](_0x24ab4a,_0x3d07f0=null,_0x4a7ec5={}){if(_0x24ab4a[_0x4103('0xfd')])return null;const _0xf3416b=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me'];for(const {suggestion:_0x3ce4ce,meta:_0x3aa4ed}of this[_0x4103('0x2f')](_0x24ab4a,_0x4103('0x83')))if(_0x3aa4ed[_0x4103('0x98')]){if(!_0x3aa4ed[_0x4103('0x95')]){if(_0x3aa4ed[_0x4103('0x9c')]){if(!this[_0x4103('0x93')]||!Gt(_0x3ce4ce,_0x4a7ec5))continue;return _0x3ce4ce;}if(Gt(_0x3ce4ce,_0x4a7ec5))return _0x3ce4ce;this[_0x4103('0x133')](_0x3ce4ce,_0x24ab4a[_0x4103('0x16e')],_0x24ab4a[_0x4103('0x9a')]);break;}if(_0x3d07f0==_0x3ce4ce[_0x4103('0x79')]&&Gt(_0x3ce4ce,_0x4a7ec5)){const _0x51ef11=_0x3ce4ce['getFirstRange']();return _0x51ef11[_0x4103('0x16e')][_0x4103('0x32')](_0x24ab4a[_0x4103('0x9a')])?this[_0x4103('0x5a')](_0x3ce4ce,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x24ab4a[_0x4103('0x16e')],_0x51ef11['end'])):this[_0x4103('0x5a')](_0x3ce4ce,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x51ef11[_0x4103('0x16e')],_0x24ab4a[_0x4103('0x9a')])),_0x3ce4ce;}}const _0x4643e9=_0x5df0ee(),_0x19460c=_0xf3416b['id'],_0x156c4f=_0x3d07f0?_0x4103('0x115')+_0x3d07f0:_0x4103('0x83'),_0x4754bb=this['_setSuggestionData']({'id':_0x4643e9,'type':_0x156c4f,'createdAt':new Date(),'authorId':_0x19460c,'attributes':_0x4a7ec5});return this[_0x4103('0x16a')](_0x156c4f,_0x4643e9,_0x19460c,_0x24ab4a),_0x4754bb;}[_0x4103('0x15c')](_0xc7a145,_0x3f6cb9='multi',_0x245a14={}){const _0x57cd31=this['editor'][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me'],_0x3eacb3=this[_0x4103('0x171')][_0x4103('0x14')]('insertion',_0x3f6cb9,'join');for(const _0x2f7ab0 of this[_0x4103('0x101')]())if(_0x2f7ab0[_0x4103('0xd9')]['id']==_0x57cd31['id']&&'insertion'==_0x2f7ab0[_0x4103('0x24')]&&_0x2f7ab0['subType']==_0x3f6cb9&&Gt(_0x2f7ab0,_0x245a14)&&(_0x3eacb3(_0x2f7ab0[_0x4103('0x13c')](),_0xc7a145)||_0x3eacb3(_0xc7a145,_0x2f7ab0[_0x4103('0x13c')]()))){for(const _0x257a56 of _0xc7a145)_0x2f7ab0[_0x4103('0x121')](_0x257a56);return _0x2f7ab0;}for(const {suggestion:_0x300c16,meta:_0x15ecd9}of this[_0x4103('0x2f')](_0xc7a145,_0x4103('0x83'))){if(!_0x15ecd9[_0x4103('0x98')])continue;if(!this['_mergeNestedSuggestions']&&_0x15ecd9[_0x4103('0x9c')])continue;if(!Gt(_0x300c16,_0x245a14))continue;let _0x9a1655=!0x0;for(const _0x58ec93 of _0x300c16[_0x4103('0x13c')]())for(const _0x198039 of _0xc7a145)if(!_0x58ec93['containsRange'](_0x198039)){_0x9a1655=!0x1;break;}if(_0x9a1655)return _0x300c16;}const _0x94a797=_0x5df0ee(),_0x1e8183=_0x57cd31['id'],_0x47cf98=_0x4103('0x115')+_0x3f6cb9,_0x813c2=this[_0x4103('0x5e')]({'id':_0x94a797,'type':_0x47cf98,'createdAt':new Date(),'authorId':_0x1e8183,'attributes':_0x245a14});for(const _0x126209 of _0xc7a145)this['_addSuggestionMarker'](_0x47cf98,_0x94a797,_0x1e8183,_0x126209,_0xdfa14c['getMultiRangeId']());return _0x813c2;}[_0x4103('0x43')](_0x1ba5c3,_0x8efeef,_0x542cf2=null,_0x1b59f5={}){if(_0x542cf2=_0x542cf2||Et(_0x8efeef),_0x1ba5c3[_0x4103('0xfd')])return null;if(_0x4103('0xd2')===this[_0x4103('0xd6')]){const _0x866fab=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x5'),_0x542cf2,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x866fab([_0x1ba5c3],_0x8efeef,_0x1b59f5)),null;}const _0x2af79d=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')]('Users')['me'],_0x4cff93=[];if('always'!==this['_trackFormatChanges'])for(const {suggestion:_0x379e5b,meta:_0x40e47e}of this[_0x4103('0x2f')](_0x1ba5c3,_0x4103('0x83')))_0x40e47e[_0x4103('0x98')]&&!_0x40e47e[_0x4103('0x165')]&&_0x4cff93[_0x4103('0x5b')](..._0x379e5b[_0x4103('0x13c')]());const _0x1b57c3=function(_0x39f041,_0x1a09c8){const _0x5407a3=[];for(const _0x2029e3 of _0x1a09c8){const _0x339504=_0x39f041['getIntersection'](_0x2029e3);_0x339504&&_0x5407a3[_0x4103('0x5b')](_0x339504);}return _0x5407a3;}(_0x1ba5c3,_0x4cff93),_0x3ac038=function(_0x43baad,_0x4f1e49){const _0x381384=[_0x43baad];for(const _0x461054 of _0x4f1e49){let _0x5180d9=0x0;for(;_0x5180d9<_0x381384[_0x4103('0xb2')];){const _0x5db934=_0x381384[_0x5180d9][_0x4103('0x99')](_0x461054);_0x381384[_0x4103('0x21')](_0x5180d9,0x1,..._0x5db934),_0x5180d9+=_0x5db934[_0x4103('0xb2')];}}return _0x381384;}(_0x1ba5c3,_0x4cff93);_0x1b57c3[_0x4103('0xb2')]&&this[_0x4103('0x15f')][_0x4103('0xb0')](()=>{for(const _0x5a53d1 of _0x1b57c3){const _0x486a81=this[_0x4103('0x171')]['getSuggestionCallback'](_0x4103('0x5'),_0x542cf2,_0x4103('0x122'));this['forceDefaultExecution'](()=>_0x486a81([_0x5a53d1],_0x8efeef,_0x1b59f5));}});for(const _0x850b1b of _0x3ac038){let _0x47bc21=null,_0x46fb35=_0x850b1b['start'],_0x53665a=_0x850b1b[_0x4103('0x9a')];for(const {suggestion:_0x1c7cdc,meta:_0x27e1af}of this[_0x4103('0x2f')](_0x850b1b,_0x4103('0x5'))){if(!_0x27e1af[_0x4103('0x98')])continue;if(_0x1c7cdc[_0x4103('0x79')]!=_0x542cf2)continue;if(!Gt(_0x1c7cdc,_0x1b59f5))continue;const _0x14e395=_0x1c7cdc[_0x4103('0x114')]();if(_0x14e395[_0x4103('0x85')](_0x850b1b,!0x0))return null;_0x46fb35=_0x46fb35['isBefore'](_0x14e395[_0x4103('0x16e')])?_0x46fb35:_0x14e395[_0x4103('0x16e')],_0x53665a=_0x53665a[_0x4103('0x7d')](_0x14e395[_0x4103('0x9a')])?_0x53665a:_0x14e395['end'],_0x47bc21?_0x14e395[_0x4103('0x16e')][_0x4103('0x108')](_0x47bc21[_0x4103('0x114')]()['start'])?(_0x47bc21[_0x4103('0x160')](),_0x47bc21=_0x1c7cdc):_0x1c7cdc[_0x4103('0x160')]():_0x47bc21=_0x1c7cdc;}const _0x23c854=this['_model'][_0x4103('0xcc')](_0x46fb35,_0x53665a);if(_0x47bc21)this[_0x4103('0x5a')](_0x47bc21,_0x23c854);else{const _0x10320e=_0x5df0ee(),_0x4d9d6e=_0x2af79d['id'];this[_0x4103('0x5e')]({'id':_0x10320e,'type':_0x4103('0x67')+_0x542cf2,'data':_0x8efeef,'createdAt':new Date(),'authorId':_0x4d9d6e,'attributes':_0x1b59f5}),this[_0x4103('0x16a')](_0x4103('0x67')+_0x542cf2,_0x10320e,_0x4d9d6e,_0x23c854);}}return null;}[_0x4103('0xf2')](_0x4ba2c7,_0x31543e,_0xc44f30=[],_0x1b1586=null,_0x54ebeb={}){_0x31543e['formatGroupId']||(_0x31543e['formatGroupId']=_0x31543e[_0x4103('0x112')]),_0x31543e[_0x4103('0x13f')]=_0x4ba2c7['is']('range'),_0x1b1586=_0x1b1586||Et(_0x31543e);const _0x2d8f5a=_0xc44f30[_0x4103('0xe5')](_0x550de9=>Ut(_0x550de9,this['_model'])),_0x33b280=_0x4ba2c7['is'](_0x4103('0x135'))?_0x4ba2c7:Ut(_0x4ba2c7,this[_0x4103('0x15f')]);if(_0x4103('0xd2')===this['_trackFormatChanges']){const _0x311c9b=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x13b'),_0x1b1586,'accept');return this[_0x4103('0x74')](()=>_0x311c9b([_0x33b280],_0x31543e,_0x54ebeb)),null;}_0x2d8f5a[_0x4103('0x5b')](_0x33b280);let _0x3da0d0=!0x0;for(const _0x554460 of _0x2d8f5a)if(!this[_0x4103('0x10')](_0x554460)){_0x3da0d0=!0x1;break;}if(_0x3da0d0&&'always'!==this[_0x4103('0xd6')]){const _0x5ddcde=this[_0x4103('0x171')][_0x4103('0x14')]('formatBlock',_0x1b1586,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x5ddcde([_0x33b280],_0x31543e,_0x54ebeb)),null;}let _0x508389=null,_0x28a822=_0x33b280[_0x4103('0x16e')],_0x393a97=_0x33b280[_0x4103('0x9a')];for(const {suggestion:_0x4e79c7,meta:_0x12c971}of this[_0x4103('0x2f')](_0x33b280,_0x4103('0x13b'))){if(!_0x12c971[_0x4103('0x98')])continue;if(_0x12c971['isNextTo']||_0x12c971[_0x4103('0x9c')]||_0x12c971[_0x4103('0x165')])continue;if(_0x4e79c7['data'][_0x4103('0xff')]!=_0x31543e[_0x4103('0xff')])continue;if(!Gt(_0x4e79c7,_0x54ebeb))continue;const _0x2cf64e=_0x4e79c7[_0x4103('0x114')]();if(_0x4e79c7[_0x4103('0x79')]==_0x1b1586){if(_0x2cf64e['containsRange'](_0x33b280,!0x0))return null;_0x28a822=_0x28a822[_0x4103('0x108')](_0x2cf64e[_0x4103('0x16e')])?_0x28a822:_0x2cf64e[_0x4103('0x16e')],_0x393a97=_0x393a97[_0x4103('0x7d')](_0x2cf64e[_0x4103('0x9a')])?_0x393a97:_0x2cf64e[_0x4103('0x9a')],_0x508389?_0x2cf64e['start'][_0x4103('0x108')](_0x508389[_0x4103('0x114')]()[_0x4103('0x16e')])?(_0x508389[_0x4103('0x160')](),_0x508389=_0x4e79c7):_0x4e79c7[_0x4103('0x160')]():_0x508389=_0x4e79c7;}else{const _0x3f316d=_0x33b280[_0x4103('0x47')](_0x2cf64e);this[_0x4103('0xbf')](_0x4e79c7,_0x3f316d);}}const _0x1fab90=this[_0x4103('0xee')]['plugins'][_0x4103('0x129')](_0x4103('0x130'))['me'],_0x3f044f=_0x5df0ee(),_0x4c17fb=_0x1fab90['id'];if(_0x508389)return this[_0x4103('0x5a')](_0x508389,this[_0x4103('0x15f')]['createRange'](_0x28a822,_0x393a97)),_0x508389;{const _0x313bb7=this[_0x4103('0x5e')]({'id':_0x3f044f,'type':_0x4103('0x45')+_0x1b1586,'data':_0x31543e,'createdAt':new Date(),'authorId':_0x4c17fb,'attributes':_0x54ebeb});return this[_0x4103('0x16a')]('formatBlock:'+_0x1b1586,_0x3f044f,_0x4c17fb,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x28a822,_0x393a97)),_0x313bb7;}}[_0x4103('0xdd')](_0xf7a675,_0x2a3f09,_0xf08e22=[],_0x18a3f4=null,_0x3c39d7={}){_0x2a3f09['formatGroupId']||(_0x2a3f09[_0x4103('0xff')]=_0x2a3f09[_0x4103('0x112')]);const _0x2b20ff=_0xf7a675[0x0];_0x2a3f09['multipleBlocks']=_0x2b20ff['is'](_0x4103('0x135')),_0x18a3f4=_0x18a3f4||Et(_0x2a3f09);const _0x4c3d3f=_0xf08e22['map'](_0x1faefb=>Ut(_0x1faefb,this['_model'])),_0x167e1d=_0x2b20ff['is'](_0x4103('0x135'))?_0xf7a675:_0xf7a675[_0x4103('0xe5')](_0x568775=>Ut(_0x568775,this[_0x4103('0x15f')]));if(_0x4103('0xd2')===this[_0x4103('0xd6')]){const _0x1e0b61=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x13b'),_0x18a3f4,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x1e0b61(_0x167e1d,_0x2a3f09,_0x3c39d7)),null;}_0x4c3d3f['push'](..._0x167e1d);let _0x4f971d=!0x0;for(const _0x5cddad of _0x4c3d3f)if(!this[_0x4103('0x10')](_0x5cddad)){_0x4f971d=!0x1;break;}if(_0x4f971d&&_0x4103('0x17a')!==this[_0x4103('0xd6')]){const _0x2ebfa9=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x13b'),_0x18a3f4,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x2ebfa9(_0x167e1d,_0x2a3f09,_0x3c39d7)),null;}const _0x20adf8=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me'];for(const _0x4f5dfc of this[_0x4103('0x101')]()){if(_0x4f5dfc['author']['id']!=_0x20adf8['id'])continue;if(_0x4103('0x13b')!=_0x4f5dfc[_0x4103('0x24')]||_0x4f5dfc[_0x4103('0x137')][_0x4103('0xff')]!=_0x2a3f09[_0x4103('0xff')])continue;if(!Gt(_0x4f5dfc,_0x3c39d7))continue;const _0x3793d6=_0x4f5dfc[_0x4103('0x79')]==_0x18a3f4;for(let _0x2c53ca=0x0;_0x2c53ca<_0x167e1d[_0x4103('0xb2')];_0x2c53ca++){const _0x3add4c=_0x167e1d[_0x2c53ca];for(const _0x5ecab5 of _0x4f5dfc[_0x4103('0x73')]()){const _0x19156e=_0x5ecab5[_0x4103('0x16')]();if(_0x3add4c[_0x4103('0x32')](_0x19156e)){_0x3793d6?(_0x167e1d['splice'](_0x2c53ca,0x1),_0x2c53ca--):_0x4f5dfc[_0x4103('0x46')](_0x5ecab5[_0x4103('0xb')]);break;}}}}if(0x0==_0x167e1d[_0x4103('0xb2')])return null;const _0xf54d99=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x13b'),_0x18a3f4,_0x4103('0x11d'));for(const _0x16b185 of this[_0x4103('0x101')]())if(_0x16b185['author']['id']==_0x20adf8['id']&&_0x4103('0x13b')==_0x16b185[_0x4103('0x24')]&&_0x16b185['data']['formatGroupId']==_0x2a3f09[_0x4103('0xff')]&&_0x16b185[_0x4103('0x79')]==_0x18a3f4&&Gt(_0x16b185,_0x3c39d7)&&(_0xf54d99(_0x16b185['getRanges'](),_0x167e1d)||_0xf54d99(_0x167e1d,_0x16b185[_0x4103('0x13c')]()))){for(const _0x40af32 of _0x167e1d)_0x16b185[_0x4103('0x121')](_0x40af32);return _0x16b185;}const _0x2f3d5f=_0x5df0ee(),_0x4134cf=_0x20adf8['id'],_0x150e82=_0x4103('0x45')+_0x18a3f4,_0x17604d=this['_setSuggestionData']({'id':_0x2f3d5f,'type':_0x150e82,'data':_0x2a3f09,'createdAt':new Date(),'authorId':_0x4134cf,'attributes':_0x3c39d7});for(const _0x18684d of _0x167e1d)this[_0x4103('0x16a')](_0x150e82,_0x2f3d5f,_0x4134cf,_0x18684d,_0xdfa14c['getMultiRangeId']());return _0x17604d;}[_0x4103('0x158')](_0x51a6f2,_0x284e5e=null,_0x5393={}){if(_0x51a6f2[_0x4103('0xfd')])return null;const _0x52ab3a=this['editor'][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me'],_0x1233e6=new _0x1394f0(_0x51a6f2[_0x4103('0x16e')],_0x51a6f2[_0x4103('0x9a')]);for(const {suggestion:_0x4dac91,meta:_0x1af9b0}of this[_0x4103('0x2f')](_0x1233e6,'insertion'))if(_0x1af9b0[_0x4103('0x98')]&&!_0x1af9b0[_0x4103('0x95')]){if(_0x4dac91[_0x4103('0xba')]){const _0x4f4f1e=_0x4dac91[_0x4103('0x13c')]()[_0x4103('0x6e')](_0x1d4cdc=>_0x4103('0x141')!=_0x1d4cdc[_0x4103('0x27')][_0x4103('0x31')]);_0x4f4f1e[_0x4103('0xe')](_0x57781a=>_0x1233e6[_0x4103('0x85')](_0x57781a,!0x0))&&_0x4dac91[_0x4103('0x134')]();if(_0x4f4f1e[_0x4103('0xa2')](_0x48786f=>_0x48786f[_0x4103('0x85')](_0x1233e6,!0x0))){const _0x252ed2=this[_0x4103('0x171')][_0x4103('0x14')]('deletion',_0x284e5e,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x252ed2([_0x1233e6],null,_0x5393)),null;}}else{const _0x285b3b=_0x1233e6['getIntersection'](_0x4dac91[_0x4103('0x114')]());null!==_0x285b3b&&_0x4dac91[_0x4103('0xed')]([_0x285b3b],null,_0x5393);}}if(_0x1233e6['detach'](),_0x1233e6['isCollapsed']||_0x4103('0x141')==_0x1233e6[_0x4103('0x27')][_0x4103('0x31')])return null;let _0x3e52c4=null,_0x42c4bb=_0x1233e6[_0x4103('0x16e')],_0x16990e=_0x1233e6[_0x4103('0x9a')];const _0x393905=this[_0x4103('0x2f')](_0x1233e6,_0x4103('0x127'));for(const {suggestion:_0x47b8ac,meta:_0x503f37}of _0x393905){const _0x1d52cb=this[_0x4103('0x15f')][_0x4103('0xcc')](_0x42c4bb,_0x16990e);if(_0x503f37[_0x4103('0x98')]&&(this[_0x4103('0x93')]||!_0x503f37[_0x4103('0x9c')]&&!_0x503f37[_0x4103('0x165')])){if(_0x47b8ac[_0x4103('0xba')]){if(!Gt(_0x47b8ac,_0x5393))continue;let _0x552363=!0x0;for(const _0x33c2fe of _0x47b8ac[_0x4103('0x13c')]()){if(_0x33c2fe[_0x4103('0x85')](_0x1d52cb,!0x0))return _0x47b8ac;_0x1d52cb['containsRange'](_0x33c2fe)||(_0x552363=!0x1);}_0x552363&&_0x47b8ac[_0x4103('0x134')]();}else{const _0x1b3a05=_0x47b8ac[_0x4103('0x114')]();if(_0x1b3a05[_0x4103('0x85')](_0x1d52cb,!0x0))return _0x47b8ac;if(!Gt(_0x47b8ac,_0x5393)){_0x1d52cb[_0x4103('0x85')](_0x1b3a05)?_0x47b8ac[_0x4103('0x160')]():_0x1b3a05[_0x4103('0x90')](_0x42c4bb)?_0x42c4bb=_0x1b3a05[_0x4103('0x9a')]:_0x1b3a05[_0x4103('0x90')](_0x16990e)&&(_0x16990e=_0x1b3a05[_0x4103('0x16e')]);continue;}_0x42c4bb=_0x42c4bb['isBefore'](_0x1b3a05['start'])?_0x42c4bb:_0x1b3a05[_0x4103('0x16e')],_0x16990e=_0x16990e['isAfter'](_0x1b3a05[_0x4103('0x9a')])?_0x16990e:_0x1b3a05[_0x4103('0x9a')],_0x5393=Object[_0x4103('0xf1')]({},_0x47b8ac['attributes']),_0x3e52c4?_0x1b3a05[_0x4103('0x16e')][_0x4103('0x108')](_0x3e52c4[_0x4103('0x114')]()[_0x4103('0x16e')])?(_0x3e52c4[_0x4103('0x160')](),_0x3e52c4=_0x47b8ac):_0x47b8ac[_0x4103('0x160')]():_0x3e52c4=_0x47b8ac;}}}if(_0x3e52c4)return this['_setSuggestionRange'](_0x3e52c4,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x42c4bb,_0x16990e)),_0x3e52c4;{const _0x4f7a03=_0x5df0ee(),_0x43889d=this[_0x4103('0x15f')][_0x4103('0xcc')](_0x42c4bb,_0x16990e),_0x34c4cd=_0x52ab3a['id'],_0x4b53df=_0x284e5e?_0x4103('0xe0')+_0x284e5e:_0x4103('0x127'),_0x29b0c1=this[_0x4103('0x5e')]({'id':_0x4f7a03,'type':_0x4b53df,'createdAt':new Date(),'authorId':_0x34c4cd,'attributes':_0x5393});return this['_addSuggestionMarker'](_0x4b53df,_0x4f7a03,_0x34c4cd,_0x43889d),_0x29b0c1;}}[_0x4103('0xa0')](_0x5012bd,_0x35bfbd=_0x4103('0x44'),_0x24a490={}){const _0x9211f7=this['editor'][_0x4103('0x8b')][_0x4103('0x129')]('Users')['me'],_0x295fc3=_0x5012bd[_0x4103('0xe5')](_0x32bff9=>new _0x1394f0(_0x32bff9[_0x4103('0x16e')],_0x32bff9['end'])),_0x4c17a2=new Set();for(const {suggestion:_0x59ca1a,meta:_0x26a540}of this[_0x4103('0x2f')](_0x295fc3,_0x4103('0x83')))_0x26a540[_0x4103('0x98')]&&!_0x26a540[_0x4103('0x95')]&&_0x4c17a2[_0x4103('0x10b')](_0x59ca1a);for(const _0x2b114b of _0x4c17a2)if(_0x2b114b[_0x4103('0xba')]){const _0x217b3b=_0x2b114b[_0x4103('0x13c')]();(!_0x2b114b[_0x4103('0x3a')]||!_0x2b114b[_0x4103('0x3a')][_0x4103('0xaf')])&&(_0x217b3b['every'](_0xc627c3=>_0x295fc3[_0x4103('0xa2')](_0x5da7bc=>_0x5da7bc['containsRange'](_0xc627c3,!0x0)))&&_0x2b114b[_0x4103('0x134')]());if(_0x295fc3[_0x4103('0xe')](_0x548b81=>_0x217b3b[_0x4103('0xa2')](_0x794f8a=>_0x794f8a[_0x4103('0x85')](_0x548b81,!0x0)))){const _0x4e3166=this['_suggestionFactory'][_0x4103('0x14')](_0x4103('0x127'),_0x35bfbd,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x4e3166(_0x5012bd,null,_0x24a490)),null;}}else{const _0x2c53d8=_0x2b114b[_0x4103('0x114')]();_0x295fc3['some'](_0x3c74ab=>_0x3c74ab[_0x4103('0x85')](_0x2c53d8,!0x0))&&_0x2b114b[_0x4103('0x134')]();if(_0x295fc3['every'](_0x24ab36=>_0x2c53d8['containsRange'](_0x24ab36,!0x0))){const _0x17db71=this['_suggestionFactory'][_0x4103('0x14')](_0x4103('0x127'),_0x35bfbd,_0x4103('0x122'));return this[_0x4103('0x74')](()=>_0x17db71(_0x295fc3,null,_0x24a490)),null;}}const _0x558125=this[_0x4103('0x171')][_0x4103('0x14')](_0x4103('0x127'),_0x35bfbd,_0x4103('0x11d'));let _0x4cce21=null;for(const _0x2b0dd8 of this[_0x4103('0x101')]())if(_0x2b0dd8['author']['id']==_0x9211f7['id']&&_0x2b0dd8['isInContent']&&_0x4103('0x127')==_0x2b0dd8[_0x4103('0x24')]&&_0x2b0dd8['subType']==_0x35bfbd&&Gt(_0x2b0dd8,_0x24a490)&&(_0x558125(_0x2b0dd8[_0x4103('0x13c')](),_0x295fc3)||_0x558125(_0x295fc3,_0x2b0dd8[_0x4103('0x13c')]()))){if(_0x4cce21){if(_0x2b0dd8[_0x4103('0x139')]&&_0x2b0dd8[_0x4103('0x139')]['length'])continue;for(const _0x7ca7e3 of _0x2b0dd8['getRanges']())_0x4cce21[_0x4103('0x1b')](_0x7ca7e3)||_0x4cce21['addRange'](_0x7ca7e3);_0x2b0dd8[_0x4103('0x160')]();}else{_0x4cce21=_0x2b0dd8;for(const _0x38f739 of _0x295fc3)_0x2b0dd8[_0x4103('0x1b')](_0x38f739)||_0x2b0dd8['addRange'](_0x38f739);}}if(_0x4cce21)return _0x4cce21;_0x4c17a2[_0x4103('0x145')]();for(const {suggestion:_0x40e83f,meta:_0x37d5ec}of this[_0x4103('0x2f')](_0x295fc3,_0x4103('0x127')))_0x37d5ec[_0x4103('0x98')]&&(this[_0x4103('0x93')]||!_0x37d5ec[_0x4103('0x9c')]&&!_0x37d5ec[_0x4103('0x165')])&&Gt(_0x40e83f,_0x24a490)&&_0x4c17a2[_0x4103('0x10b')](_0x40e83f);for(const _0x2263f8 of _0x4c17a2){const _0x34dd30=_0x2263f8[_0x4103('0x13c')]();if(!_0x24a490||!_0x24a490[_0x4103('0xaf')]){if(_0x295fc3[_0x4103('0xe')](_0x433a1e=>_0x34dd30['some'](_0x4161e1=>_0x4161e1[_0x4103('0x85')](_0x433a1e,!0x0))))return _0x2263f8;}(!_0x2263f8[_0x4103('0x3a')]||!_0x2263f8['attributes']['skipNestingCheck'])&&(_0x34dd30[_0x4103('0xe')](_0x33d1f8=>_0x295fc3[_0x4103('0xa2')](_0x3355bc=>_0x3355bc[_0x4103('0x85')](_0x33d1f8,!0x0)))&&_0x2263f8[_0x4103('0x134')]());}const _0xaf7d9a=_0x5df0ee(),_0x463b0a=_0x9211f7['id'],_0xeee2c7=_0x4103('0xe0')+_0x35bfbd,_0x4e767c=this[_0x4103('0x5e')]({'id':_0xaf7d9a,'type':_0xeee2c7,'createdAt':new Date(),'authorId':_0x463b0a,'attributes':_0x24a490});for(const _0x892ee8 of _0x295fc3)_0x892ee8[_0x4103('0xa5')](),_0x892ee8[_0x4103('0xfd')]||'$graveyard'==_0x892ee8[_0x4103('0x27')][_0x4103('0x31')]||this[_0x4103('0x16a')](_0xeee2c7,_0xaf7d9a,_0x463b0a,_0x892ee8,_0xdfa14c['getMultiRangeId']());return _0x4e767c;}['markAttributeChange'](_0x1df3db,_0x40fe14,_0x162c3a,_0x9a3454,_0x79558f){if(_0x1df3db[_0x4103('0xfd')])return[];if(_0x4103('0xd2')===this[_0x4103('0xd6')])return[];const _0x545cb6=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me']['id'],_0x3ea113=Array[_0x4103('0x4a')](this[_0x4103('0x116')]['values']())[_0x4103('0x6e')](_0x5cdda8=>'attribute'==_0x5cdda8[_0x4103('0x24')]&&_0x5cdda8[_0x4103('0x137')][_0x4103('0x163')]==_0x40fe14&&_0x5cdda8['isIntersectingWithRange'](_0x1df3db));if(_0x4103('0xb5')===this[_0x4103('0xd6')]){const _0x55af15=this['_findSuggestions'](_0x1df3db,_0x4103('0x83'))['filter'](({meta:_0x3644be})=>_0x3644be[_0x4103('0x98')]&&!_0x3644be['isInsideObject']&&!_0x3644be[_0x4103('0x95')])[_0x4103('0xe5')](({suggestion:_0x2a1065})=>_0x2a1065);_0x3ea113[_0x4103('0x125')](..._0x55af15);}const _0x3d20c0=new Map([[_0x1df3db,_0x162c3a]]);for(const _0x2ef94 of _0x3ea113){const _0x1a02d6='attribute'==_0x2ef94[_0x4103('0x24')]?_0x2ef94[_0x4103('0x137')][_0x4103('0x161')]:void 0x0,_0x49c016=_0x2ef94[_0x4103('0x114')](),_0x5afb0b=Array[_0x4103('0x4a')](_0x3d20c0[_0x4103('0x17c')]())[_0x4103('0x120')](_0x42b7db=>_0x42b7db[_0x4103('0x13d')](_0x49c016));if(!_0x5afb0b)continue;const _0x22bac6=_0x5afb0b[_0x4103('0x99')](_0x49c016);this[_0x4103('0x140')](_0x40fe14)&&_0x4103('0x83')==_0x2ef94['type']&&0x0!=_0x22bac6[_0x4103('0xb2')]||(_0x3d20c0[_0x4103('0xf3')](_0x5afb0b),_0x22bac6[_0x4103('0xda')](_0x4598bc=>{_0x3d20c0['set'](_0x4598bc,_0x162c3a);}),_0x4103('0x83')!=_0x2ef94[_0x4103('0x24')]&&_0x1a02d6!=_0x9a3454&&_0x3d20c0[_0x4103('0x6')](_0x5afb0b['getIntersection'](_0x49c016),_0x1a02d6));}const _0x5f0c80=[];for(const [_0x1a16fa,_0x57e478]of _0x3d20c0){const _0x33f9f2=_0x5df0ee(),_0x4808e2={'key':_0x40fe14,'oldValue':_0x57e478,'newValue':_0x9a3454};_0x40fe14[_0x4103('0xb2')]>0x25&&console[_0x4103('0x104')]('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.',{'key':_0x40fe14});const _0xa9d5f3=(_0x4103('0x61')+(_0x40fe14+'|'+Et({'newValue':_0x9a3454})))[_0x4103('0x86')](0x0,0x3c),_0x8c6f06=this[_0x4103('0x5e')]({'id':_0x33f9f2,'type':_0xa9d5f3,'data':_0x4808e2,'createdAt':new Date(),'authorId':_0x545cb6,'attributes':_0x79558f});_0x5f0c80[_0x4103('0x5b')](_0x8c6f06),this['_addSuggestionMarker'](_0xa9d5f3,_0x33f9f2,_0x545cb6,_0x1a16fa);}return _0x5f0c80;}[_0x4103('0x4b')](_0x3d5add){this[_0x4103('0xca')][_0x4103('0x10b')](_0x3d5add);}[_0x4103('0x174')](_0x1a0096){this[_0x4103('0x10d')][_0x4103('0x10b')](_0x1a0096);}['_enableDefaultAttributesIntegration'](_0x401bcb,_0x3c5f26=[],_0x5aa42d=[]){this['enableCommand'](_0x401bcb,(_0x27f3a9,..._0x151067)=>{this[_0x4103('0xd5')](()=>{_0x27f3a9(..._0x151067);});});for(const _0x4b49b5 of _0x3c5f26)this[_0x4103('0x174')](_0x4b49b5);for(const _0x356774 of _0x5aa42d)this[_0x4103('0x4b')](_0x356774);}[_0x4103('0x5a')](_0x4f2b27,_0xffe642){const _0x320b02=_0x4f2b27['getFirstMarker']();this[_0x4103('0x15f')][_0x4103('0xb0')](_0x171e93=>{_0x171e93['updateMarker'](_0x320b02,{'range':_0xffe642});});}[_0x4103('0x48')](_0x157e17){const _0x8a0f4a=_0x157e17['id'],_0x3c21bb=this['editor']['config'][_0x4103('0x129')]('collaboration.channelId');this[_0x4103('0x7')][_0x4103('0x35')](_0x8a0f4a)||this[_0x4103('0x7')]['addCommentThread']({'channelId':_0x3c21bb,'threadId':_0x8a0f4a,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x1a6749=this[_0x4103('0x7')][_0x4103('0xef')](_0x8a0f4a);_0x1a6749[_0x4103('0xae')](_0x4103('0x151')),_0x1a6749[_0x4103('0x151')]=!0x1,_0x157e17[_0x4103('0x139')]=_0x1a6749;}['_checkSuggestionCorrectness'](_0x2afb9e,_0x4d788f,_0x3ea824,_0x526791){if(_0x2afb9e[_0x4103('0x24')]!=_0x4d788f||_0x2afb9e[_0x4103('0x79')]!=_0x3ea824||_0x2afb9e[_0x4103('0x51')]['id']!=_0x526791)throw this[_0x4103('0xee')][_0x4103('0xdb')]('track-changes-suggestion-data-mismatch'),new _0x207a25(_0x4103('0xfa'),this);}[_0x4103('0xbf')](_0x37a03c,_0x4c9feb){const _0x354e61=_0x37a03c[_0x4103('0x114')]();if(_0x4c9feb[_0x4103('0x32')](_0x354e61))_0x37a03c['removeMarkers']();else{if(_0x354e61[_0x4103('0x85')](_0x4c9feb)){const _0x441df8=this[_0x4103('0x15f')][_0x4103('0xa4')](_0x4c9feb[_0x4103('0x16e')]['nodeBefore'],_0x4103('0x9a'));this[_0x4103('0x5a')](_0x37a03c,this[_0x4103('0x15f')]['createRange'](_0x354e61[_0x4103('0x16e')],_0x441df8));const _0x346896=_0x5df0ee(),_0x4f4310=_0x37a03c[_0x4103('0x51')]['id'],_0x346530=_0x37a03c[_0x4103('0x24')]+':'+_0x37a03c['subType'];this[_0x4103('0x5e')]({'id':_0x346896,'type':_0x346530,'createdAt':new Date(),'authorId':_0x4f4310,'data':_0x37a03c[_0x4103('0x137')],'attributes':_0x37a03c[_0x4103('0x3a')]});const _0x2a2698=this[_0x4103('0x15f')]['createPositionAt'](_0x4c9feb[_0x4103('0x9a')][_0x4103('0x2a')],_0x4103('0x92')),_0x430dcf=this['_model'][_0x4103('0xcc')](_0x2a2698,_0x354e61[_0x4103('0x9a')]);this[_0x4103('0x16a')](_0x346530,_0x346896,_0x4f4310,_0x430dcf);}else{if(_0x354e61[_0x4103('0x90')](_0x4c9feb[_0x4103('0x16e')])){const _0x2236bb=this[_0x4103('0x15f')][_0x4103('0xa4')](_0x4c9feb['start'][_0x4103('0x14e')],_0x4103('0x9a'));this[_0x4103('0x5a')](_0x37a03c,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x354e61[_0x4103('0x16e')],_0x2236bb));}else{const _0x3447af=this[_0x4103('0x15f')][_0x4103('0xa4')](_0x4c9feb['end']['parent'],_0x4103('0x92'));this[_0x4103('0x5a')](_0x37a03c,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x3447af,_0x354e61['end']));}}}}[_0x4103('0x10')](_0x12ed41){for(const {suggestion:_0x3f9fc7,meta:_0x28ff80}of this['_findSuggestions'](_0x12ed41,_0x4103('0x83'))){if(!_0x28ff80['isOwn'])continue;const _0x1d63f0=_0x3f9fc7[_0x4103('0x13c')]();for(const _0x50c771 of _0x1d63f0)if(!_0x12ed41['getDifference'](_0x50c771)[_0x4103('0xb2')])return!0x0;}return!0x1;}[_0x4103('0x110')](_0x250a37){const _0x3de47c=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))[_0x4103('0x3')](_0x250a37);if(!_0x3de47c)throw new _0x207a25(_0x4103('0x6d'),this);return _0x3de47c;}[_0x4103('0x17b')](_0x58ff24){const _0x366e03=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')]('Users'),_0x583f79=_0x536ea2(_0x4103('0x69')+_0x58ff24),_0x40b591=_0x366e03[_0x4103('0x3')](_0x583f79);return _0x40b591||_0x366e03['addUser']({'id':_0x583f79,'name':_0x58ff24});}[_0x4103('0x2e')](_0x2530c1,_0x1b49f9,_0x2640cc,_0x131c90,_0x345e87){const _0x5d2cfa=this[_0x4103('0x110')](_0x131c90),_0x491ff0=this[_0x4103('0x171')][_0x4103('0xc5')](_0x2530c1,_0x1b49f9,_0x2640cc,_0x5d2cfa,_0x345e87,_0x5f0284=>this[_0x4103('0x25')](_0x2640cc,{'attributes':_0x5f0284}));return this[_0x4103('0x17d')](_0x491ff0,_0x4103('0x122'),()=>{this[_0x4103('0x25')](_0x2640cc,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x491ff0,'discard',()=>{this['_updateSuggestionData'](_0x2640cc,{'state':_0x4103('0xb7')});},{'priority':_0x4103('0xa')}),this[_0x4103('0x116')][_0x4103('0x6')](_0x2640cc,_0x491ff0),this['_suggestionState'][_0x4103('0x6')](_0x491ff0,_0x4103('0x14d')),_0x491ff0;}[_0x4103('0x12b')](_0x476de6){const _0x540501=_0x476de6[_0x4103('0x33')](':');return{'group':_0x540501[0x0],'type':_0x540501[0x1],'subType':_0x540501[_0x4103('0xb2')]>=0x5?_0x540501[0x2]:null,'id':_0x540501[_0x4103('0xb2')]<0x5?_0x540501[0x2]:_0x540501[0x3],'authorId':_0x540501[_0x4103('0xb2')]<0x5?_0x540501[0x3]:_0x540501[0x4],'markerCount':0x6==_0x540501['length']?_0x540501[0x5]:null};}[_0x4103('0x133')](_0x444060,_0x26e131,_0x180a57){const _0x436e36=_0x444060[_0x4103('0x114')](),_0xc3cb64=_0x436e36[_0x4103('0x16e')],_0x3f3473=_0x436e36[_0x4103('0x9a')];this['_setSuggestionRange'](_0x444060,this[_0x4103('0x15f')][_0x4103('0xcc')](_0xc3cb64,_0x26e131));const _0x5eaafc=_0x5df0ee(),_0x23698a=_0x444060['creator']['id'],_0x521222=_0x444060[_0x4103('0x24')]+(_0x444060[_0x4103('0x79')]?':'+_0x444060[_0x4103('0x79')]:'');this[_0x4103('0x5e')]({'id':_0x5eaafc,'type':_0x521222,'createdAt':new Date(),'authorId':_0x23698a,'originalSuggestionId':_0x444060['id'],'attributes':_0x444060['attributes'],'data':_0x444060[_0x4103('0x137')]});const _0x24c57f=Pt(_0x444060);('formatBlock'==_0x444060[_0x4103('0x24')]||_0x24c57f&&this[_0x4103('0x140')](_0x24c57f))&&(_0x180a57=this[_0x4103('0x15f')][_0x4103('0x19')](_0x180a57[_0x4103('0x2a')])),this[_0x4103('0x16a')](_0x521222,_0x5eaafc,_0x23698a,this[_0x4103('0x15f')][_0x4103('0xcc')](_0x180a57,_0x3f3473));}[_0x4103('0x2f')](_0x22215d,_0x229dd5=null){const _0x429159=[],_0x39bc30=this['editor'][_0x4103('0x8b')][_0x4103('0x129')](_0x4103('0x130'))['me'];Array[_0x4103('0xac')](_0x22215d)||(_0x22215d=[_0x22215d]);for(const _0x5cee93 of this[_0x4103('0x101')]()){if(!_0x5cee93[_0x4103('0x81')])continue;if(_0x229dd5&&_0x5cee93[_0x4103('0x24')]!=_0x229dd5)continue;let _0x7e07bb=!0x1;for(const _0x598efe of _0x5cee93[_0x4103('0x13c')]()){for(const _0x1f0da9 of _0x22215d){const _0x1974f1=_0x1f0da9[_0x4103('0x16e')][_0x4103('0x32')](_0x598efe[_0x4103('0x9a')])||_0x1f0da9[_0x4103('0x9a')]['isEqual'](_0x598efe[_0x4103('0x16e')]);if(_0x1974f1||_0x1f0da9[_0x4103('0x47')](_0x598efe)){const _0x33851e=_0x1f0da9[_0x4103('0x85')](_0x598efe)&&Bt(this[_0x4103('0x15f')][_0x4103('0x16b')],_0x598efe[_0x4103('0x16e')],_0x1f0da9),_0x775a5b=_0x598efe['containsRange'](_0x1f0da9)&&Bt(this[_0x4103('0x15f')][_0x4103('0x16b')],_0x1f0da9['start'],_0x598efe);_0x429159['push']({'suggestion':_0x5cee93,'meta':{'isOwn':_0x39bc30==_0x5cee93[_0x4103('0xd9')],'isNextTo':_0x1974f1,'isInsideObject':_0x33851e,'containsRangeInObject':_0x775a5b}}),_0x7e07bb=!0x0;break;}}if(_0x7e07bb)break;}}return _0x429159;}[_0x4103('0x16a')](_0x3eee2f,_0x40eb5b,_0x26bb2c,_0x14b8ef,_0x5ef735){this[_0x4103('0x15f')][_0x4103('0xb0')](_0x311e10=>{let _0xd00fe2=_0x4103('0xbe')+_0x3eee2f+':'+_0x40eb5b+':'+_0x26bb2c;_0x5ef735&&(_0xd00fe2=_0xd00fe2+':'+_0x5ef735),_0x311e10[_0x4103('0x15e')](_0xd00fe2,{'range':_0x14b8ef,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x7018af){const _0x33e9d0=_0x7018af['previous'],_0x4d1c68=_0x7018af[_0x4103('0x169')];_0x7018af[_0x4103('0x146')]=null,_0x7018af[_0x4103('0x169')]=null,null!=_0x33e9d0&&(_0x33e9d0[_0x4103('0x169')]=_0x4d1c68),null!=_0x4d1c68&&(_0x4d1c68[_0x4103('0x146')]=_0x33e9d0),_0x4103('0x166')==this['_suggestionState']['get'](_0x7018af)&&(this['_suggestionState'][_0x4103('0x6')](_0x7018af,_0x4103('0x106')),this['fire'](_0x4103('0x14f'),_0x7018af,_0x33e9d0,_0x4d1c68));}['_setSuggestionData'](_0x23b77d){const _0x345440=_0x23b77d['id'],_0x384a97=this[_0x4103('0x9d')](_0x23b77d);if(this['_adapter']&&this[_0x4103('0x131')]['addSuggestion']){const _0x56900f=this[_0x4103('0xee')]['plugins'][_0x4103('0x129')](_0x4103('0x168')),_0x32440c=_0x384a97[_0x4103('0x103')],_0x56afd3=_0x384a97[_0x4103('0x79')]?_0x384a97[_0x4103('0x24')]+':'+_0x384a97['subType']:_0x384a97[_0x4103('0x24')],_0x310e4c=this[_0x4103('0xee')][_0x4103('0x1c')],_0x45e881=_0x56900f[_0x4103('0x10b')](_0x1f5924(_0x310e4c,_0x4103('0x17e'))),_0x2ba69c={'id':_0x345440,'type':_0x56afd3,'hasComments':_0x32440c,'data':_0x23b77d[_0x4103('0x137')]||null,'originalSuggestionId':_0x23b77d['originalSuggestionId']||null,'attributes':_0x384a97['attributes']};this[_0x4103('0x131')][_0x4103('0x65')](_0x2ba69c)['then'](_0x2007ce=>{_0x384a97[_0x4103('0x13')]=!0x0,_0x56900f[_0x4103('0x34')](_0x45e881),_0x2007ce&&_0x2007ce[_0x4103('0x84')]&&(this[_0x4103('0x116')][_0x4103('0x129')](_0x345440)[_0x4103('0x84')]=_0x2007ce[_0x4103('0x84')]);})[_0x4103('0xe1')](_0x47f330=>{throw _0x4ac773(_0x4103('0x1f')),this[_0x4103('0xee')][_0x4103('0xa1')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x384a97['discard']();}),_0x384a97[_0x4103('0xc')](),this[_0x4103('0x116')][_0x4103('0xf3')](_0x384a97['id']),this[_0x4103('0x4c')]['delete'](_0x384a97),_0x47f330;});}return _0x384a97;}['_isBlockAttribute'](_0x362ccf){return this[_0x4103('0xca')][_0x4103('0x94')](_0x362ccf);}[_0x4103('0x25')](_0x1d7097,_0x15ccf6){const _0x2117f0=this[_0x4103('0xee')][_0x4103('0x8b')][_0x4103('0x129')]('PendingActions'),_0x20eb1b=this[_0x4103('0x62')](_0x1d7097);if(this[_0x4103('0x131')]&&this[_0x4103('0x131')][_0x4103('0x2b')]){if(_0x20eb1b[_0x4103('0x13')]){const _0x43adb0=_0x2117f0[_0x4103('0x10b')](_0x1f5924(this[_0x4103('0xee')]['locale'],_0x4103('0x17e')));this[_0x4103('0x131')][_0x4103('0x2b')](_0x1d7097,_0x15ccf6)[_0x4103('0x11a')](()=>{_0x2117f0['remove'](_0x43adb0);});}else _0x20eb1b['on'](_0x4103('0x119'),()=>{this[_0x4103('0x25')](_0x1d7097,_0x15ccf6);});}}[_0x4103('0x9')](_0x555dac){if(!this['_adapter']||!this['_adapter'][_0x4103('0x62')])throw new _0x207a25('track-changes-adapter-missing-getsuggestion',this);return this[_0x4103('0x131')][_0x4103('0x62')](_0x555dac);}[_0x4103('0xf7')](_0x1789d1){const {id:_0x5db69b,type:_0x36ed57,subType:_0x4cf0e0,authorId:_0x5a55d1}=this[_0x4103('0x12b')](_0x1789d1),_0x4be9ee=this[_0x4103('0x116')][_0x4103('0x129')](_0x5db69b)||this[_0x4103('0x2e')](_0x36ed57,_0x4cf0e0,_0x5db69b,_0x5a55d1,{});switch(this[_0x4103('0x128')](_0x4be9ee,_0x36ed57,_0x4cf0e0,_0x5a55d1),this[_0x4103('0x4c')][_0x4103('0x129')](_0x4be9ee)){case'notReady':this[_0x4103('0x9')](_0x5db69b)['then'](_0x5c8afb=>{let _0x1268da=Promise['resolve']();_0x5c8afb[_0x4103('0x103')]&&(_0x1268da=this[_0x4103('0x7')][_0x4103('0xc2')]({'channelId':this['editor'][_0x4103('0x8')][_0x4103('0x129')](_0x4103('0x9b')),'threadId':_0x5db69b})),_0x1268da[_0x4103('0x11a')](()=>{this[_0x4103('0x9d')](_0x5c8afb)[_0x4103('0x13')]=!0x0;});}),this[_0x4103('0x4c')][_0x4103('0x6')](_0x4be9ee,_0x4103('0xb1'));break;case _0x4103('0x106'):this[_0x4103('0x25')](_0x5db69b,{'state':'open'});case'dataReady':this[_0x4103('0x4c')][_0x4103('0x6')](_0x4be9ee,_0x4103('0x166')),this[_0x4103('0x76')]('suggestionLoaded',_0x4be9ee);break;case'ready':this[_0x4103('0x76')]('suggestionChanged',_0x4be9ee);}return _0x4be9ee[_0x4103('0x12d')](_0x1789d1),_0x4be9ee;}[_0x4103('0xeb')](_0x10a65e){const _0x2a2e30=Array[_0x4103('0x4a')](_0x10a65e),_0x3cc5a4=_0x2a2e30['filter'](_0x726fd1=>_0x4103('0x13a')==_0x726fd1[_0x4103('0x24')]);this[_0x4103('0x10f')](_0x3cc5a4);const _0x1e823a=_0x2a2e30[_0x4103('0x6e')](_0x49c51b=>!_0x49c51b[_0x4103('0xba')]&&_0x4103('0x13a')!=_0x49c51b[_0x4103('0x24')]),_0x578841=this[_0x4103('0x101')]({'skipNotAttached':!0x0})[_0x4103('0x6e')](_0x56bdfb=>!_0x56bdfb[_0x4103('0xba')]&&_0x4103('0x13a')!=_0x56bdfb[_0x4103('0x24')]),_0xf61cce=_0x578841['filter'](_0x79d91f=>!_0x10a65e['has'](_0x79d91f)),_0x2fee43=new Map(_0x578841[_0x4103('0xe5')](_0x57caaf=>[_0x57caaf,this[_0x4103('0x171')]['getSuggestionCallback'](_0x57caaf[_0x4103('0x24')],_0x57caaf['subType'],_0x4103('0x42'))])),_0x56fe57=new Map(_0x578841[_0x4103('0xe5')](_0x41288f=>[_0x41288f,_0x41288f['getFirstRange']()])),_0x151451=new Set(),_0x56fcc6=new Set();for(let _0x682b1e=0x0;_0x682b1e<_0x1e823a['length'];_0x682b1e++)_0x4b6e6c(_0x1e823a[_0x682b1e],_0x1e823a,_0x682b1e+0x1);for(let _0x5892c2=0x0;_0x5892c2<_0x1e823a[_0x4103('0xb2')];_0x5892c2++)_0x4b6e6c(_0x1e823a[_0x5892c2],_0xf61cce,0x0);const _0x21ba2c=new Set();for(let _0x1e25f3=0x0;_0x1e25f3<_0x1e823a[_0x4103('0xb2')];_0x1e25f3++){const _0x3d0f4b=_0x1e823a[_0x1e25f3];!_0x56fcc6[_0x4103('0x94')](_0x3d0f4b)&&_0x3d0f4b[_0x4103('0x146')]&&(_0x21ba2c[_0x4103('0x10b')](_0x3d0f4b[_0x4103('0x146')]),_0x3d0f4b['previous'][_0x4103('0x169')]===_0x3d0f4b&&(_0x3d0f4b[_0x4103('0x146')][_0x4103('0x169')]=null),_0x3d0f4b[_0x4103('0x146')]=null),!_0x151451[_0x4103('0x94')](_0x3d0f4b)&&_0x3d0f4b[_0x4103('0x169')]&&(_0x21ba2c[_0x4103('0x10b')](_0x3d0f4b[_0x4103('0x169')]),_0x3d0f4b[_0x4103('0x169')][_0x4103('0x146')]===_0x3d0f4b&&(_0x3d0f4b[_0x4103('0x169')]['previous']=null),_0x3d0f4b[_0x4103('0x169')]=null);}function _0x4b6e6c(_0x5948a7,_0x57180f,_0x469f5e){for(let _0x252a38=_0x469f5e;_0x252a38<_0x57180f['length'];_0x252a38++){const _0x4ec60f=_0x5522f9(_0x5948a7,_0x57180f[_0x252a38]);_0x4ec60f&&(_0x4ec60f[0x0][_0x4103('0x169')]=_0x4ec60f[0x1],_0x4ec60f[0x1][_0x4103('0x146')]=_0x4ec60f[0x0],_0x151451['add'](_0x4ec60f[0x0]),_0x56fcc6[_0x4103('0x10b')](_0x4ec60f[0x1]));}}function _0x5522f9(_0x5c6384,_0x5ba068){if(_0x5c6384[_0x4103('0xd9')]['id']!==_0x5ba068['author']['id'])return null;const _0x108fe6=_0x2fee43[_0x4103('0x129')](_0x5c6384)(_0x5c6384,_0x5ba068,_0x56fe57[_0x4103('0x129')](_0x5c6384),_0x56fe57[_0x4103('0x129')](_0x5ba068));if(!_0x108fe6)return null;return _0x2fee43[_0x4103('0x129')](_0x5ba068)(_0x5c6384,_0x5ba068,_0x56fe57[_0x4103('0x129')](_0x5c6384),_0x56fe57['get'](_0x5ba068))?_0x108fe6[0x1][_0x4103('0x139')]&&_0x108fe6[0x1][_0x4103('0x139')]['length']?null:_0x108fe6:null;}_0x21ba2c[_0x4103('0xf8')]&&this['_refreshSuggestionsChain'](_0x21ba2c);}['_refreshAttributeSuggestionsChain'](_0x329a04){if(0x0==_0x329a04[_0x4103('0xb2')])return;const _0x2a69fb=this[_0x4103('0x101')]({'skipNotAttached':!0x0})['filter'](_0xc2e240=>_0x4103('0x13a')==_0xc2e240[_0x4103('0x24')]&&_0xc2e240[_0x4103('0x4')]),_0xfce426=[],_0x494532=new Map();for(const _0xae215b of _0x2a69fb){const _0x447462=_0x536ea2(_0xae215b[_0x4103('0x3a')]);_0x494532[_0x4103('0x94')](_0x447462)||(_0x494532[_0x4103('0x6')](_0x447462,_0xfce426[_0x4103('0xb2')]),_0xfce426[_0x4103('0x5b')]([]));const _0x5988c4=_0x494532[_0x4103('0x129')](_0x447462);_0xfce426[_0x5988c4][_0x4103('0x5b')](_0xae215b);}!function(){_0xfce426['sort']((_0x3b0a09,_0x473702)=>{const _0x1a1e20=_0x3b0a09[0x0]['createdAt'],_0x44237d=_0x473702[0x0]['createdAt'];return _0x1a1e20==_0x44237d?_0x3b0a09[0x0][_0x4103('0x3a')][_0x4103('0xd7')]<_0x473702[0x0][_0x4103('0x3a')][_0x4103('0xd7')]?-0x1:0x1:_0x1a1e20<_0x44237d?-0x1:0x1;});for(const _0x231090 of _0xfce426)_0x231090[_0x4103('0xa3')]((_0x21ada6,_0x398225)=>_0x21ada6['id']<_0x398225['id']?-0x1:0x1);}();for(let _0x5e7a03=0x0;_0x5e7a03<_0xfce426[_0x4103('0xb2')];_0x5e7a03++){if(0x0==_0xfce426[_0x5e7a03][_0x4103('0xb2')])continue;const _0x166fd4=[];for(let _0x1d9863=_0x5e7a03+0x1;_0x1d9863<_0xfce426[_0x4103('0xb2')];_0x1d9863++)0x0!=_0xfce426[_0x1d9863][_0x4103('0xb2')]&&_0x2b98f4(_0xfce426[_0x5e7a03],_0xfce426[_0x1d9863])&&_0x166fd4[_0x4103('0x5b')](_0x1d9863);for(const _0x46ef96 of _0x166fd4)_0xfce426[_0x5e7a03]=_0xfce426[_0x5e7a03][_0x4103('0xf4')](_0xfce426[_0x46ef96]),_0xfce426[_0x46ef96]=[];}for(const _0x10cd61 of _0xfce426)for(let _0x3b4a48=0x0;_0x3b4a48<_0x10cd61[_0x4103('0xb2')];_0x3b4a48++)_0x10cd61[_0x3b4a48]['next']=_0x10cd61[_0x3b4a48+0x1]||null;for(const _0x17b27b of _0xfce426)for(let _0x58de7e=0x0;_0x58de7e<_0x17b27b[_0x4103('0xb2')];_0x58de7e++)_0x17b27b[_0x58de7e][_0x4103('0x146')]=_0x17b27b[_0x58de7e-0x1]||null;function _0x2b98f4(_0x4e3969,_0x28701d){if(_0x4e3969[0x0][_0x4103('0xd9')]!==_0x28701d[0x0][_0x4103('0xd9')])return!0x1;if(!function(_0x3511db,_0x22627a){if(!_0x3511db['hasComments']&&!_0x22627a[_0x4103('0x103')])return!0x0;if(_0x3511db[_0x4103('0x103')]&&_0x22627a[_0x4103('0x103')])return!0x1;if(_0x3511db[_0x4103('0x103')]&&_0x22627a['createdAt']<_0x3511db['commentThread']['comments'][_0x4103('0x129')](0x0)[_0x4103('0x84')])return!0x0;if(_0x22627a['hasComments']&&_0x3511db[_0x4103('0x84')]<_0x22627a['commentThread'][_0x4103('0x63')][_0x4103('0x129')](0x0)[_0x4103('0x84')])return!0x0;return!0x1;}(_0x4e3969[0x0],_0x28701d[0x0]))return!0x1;const _0xdb9266=_0xca117e(_0x4e3969[0x0]['attributes'],_0x4103('0xd7')),_0x3b5ee7=_0xca117e(_0x28701d[0x0][_0x4103('0x3a')],_0x4103('0xd7'));if(!_0x429fef(_0xdb9266,_0x3b5ee7))return!0x1;return!!_0x4e3969[_0x4103('0xe')](_0x122ef9=>_0x28701d[_0x4103('0xa2')](_0x4a7d48=>_0x122ef9[_0x4103('0x114')]()[_0x4103('0x32')](_0x4a7d48['getFirstRange']())))&&_0x28701d[_0x4103('0xe')](_0x4b665f=>_0x4e3969['some'](_0x26b482=>_0x4b665f[_0x4103('0x114')]()[_0x4103('0x32')](_0x26b482[_0x4103('0x114')]())));}}[_0x4103('0x1d')](_0x40ea48){const _0x1336fd=Array[_0x4103('0x4a')](_0x40ea48),_0x1bffa2=this[_0x4103('0x101')]({'skipNotAttached':!0x0}),_0x54faf4=_0x1bffa2['filter'](_0x41a490=>!_0x40ea48[_0x4103('0x94')](_0x41a490)),_0x582ecf=new Map(_0x1336fd[_0x4103('0xe5')](_0x4e4f0b=>[_0x4e4f0b,this[_0x4103('0x171')][_0x4103('0x14')](_0x4e4f0b[_0x4103('0x24')],_0x4e4f0b[_0x4103('0x79')],'join')])),_0x44b3a9=new Map(_0x1bffa2[_0x4103('0xe5')](_0x21a26e=>[_0x21a26e,_0x21a26e['getRanges']()]));for(let _0x57848d=0x0;_0x57848d<_0x1336fd[_0x4103('0xb2')];_0x57848d++){if(_0x41cf5e(this,_0x1336fd[_0x57848d],_0x1336fd,_0x57848d+0x1))return!0x0;}for(let _0x5e3485=0x0;_0x5e3485<_0x1336fd[_0x4103('0xb2')];_0x5e3485++){if(_0x41cf5e(this,_0x1336fd[_0x5e3485],_0x54faf4,0x0))return!0x0;}return!0x1;function _0x41cf5e(_0x1f88fb,_0x5a2881,_0x24c0c4,_0x1527b7){for(let _0x2d9b09=_0x1527b7;_0x2d9b09<_0x24c0c4[_0x4103('0xb2')];_0x2d9b09++){const _0x3c8852=_0x24c0c4[_0x2d9b09];if(_0x3c8852[_0x4103('0x24')]!==_0x5a2881[_0x4103('0x24')]||_0x3c8852[_0x4103('0xd9')]['id']!==_0x5a2881[_0x4103('0xd9')]['id']||_0x3c8852['subType']!==_0x5a2881[_0x4103('0x79')])continue;if(!Vt(_0x5a2881,_0x3c8852))continue;if(_0x4103('0x13a')==_0x5a2881[_0x4103('0x24')]&&_0x5a2881[_0x4103('0x137')][_0x4103('0x161')]!=_0x3c8852[_0x4103('0x137')]['oldValue'])continue;if(_0x4103('0x13a')==_0x5a2881['type']&&_0x1f88fb[_0x4103('0x140')](_0x5a2881[_0x4103('0x137')][_0x4103('0x163')]))continue;if('formatBlock'==_0x5a2881[_0x4103('0x24')]){const _0x94439b=_0x1f88fb[_0x4103('0xee')][_0x4103('0xa1')],_0x4ae235=_0x5a2881[_0x4103('0x9f')]();if(_0x4ae235&&(_0x94439b[_0x4103('0x16b')][_0x4103('0xde')](_0x4ae235)||_0x94439b[_0x4103('0x16b')][_0x4103('0x7a')](_0x4ae235)))continue;}const _0xb4c4e8=_0x582ecf['get'](_0x5a2881),_0x7a1cc4=_0x44b3a9[_0x4103('0x129')](_0x5a2881),_0x48e490=_0x44b3a9['get'](_0x3c8852),_0x31a72e=_0x5a2881['commentThread']&&_0x5a2881[_0x4103('0x139')][_0x4103('0xb2')],_0x1b42d5=_0x3c8852['commentThread']&&_0x3c8852['commentThread']['length'];if(!_0x31a72e&&_0xb4c4e8(_0x48e490,_0x7a1cc4))return _0x1f88fb[_0x4103('0xb3')](_0x3c8852,_0x5a2881),_0x44b3a9[_0x4103('0xf3')](_0x5a2881),!0x0;if(!_0x1b42d5&&_0xb4c4e8(_0x7a1cc4,_0x48e490))return _0x1f88fb['_joinSuggestions'](_0x5a2881,_0x3c8852),_0x44b3a9['delete'](_0x3c8852),!0x0;}return!0x1;}}[_0x4103('0xb3')](_0x1c1597,_0x5b68c7){if(_0x1c1597['isMultiRange'])for(const _0xa50f82 of _0x5b68c7[_0x4103('0x13c')]())_0x1c1597['addRange'](_0xa50f82);else{const _0x11d828=_0x5b68c7['getFirstRange']()[_0x4103('0x9a')];this[_0x4103('0x5a')](_0x1c1597,this['_model'][_0x4103('0xcc')](_0x1c1597[_0x4103('0x114')]()[_0x4103('0x16e')],_0x11d828));}_0x5b68c7[_0x4103('0x160')]();}[_0x4103('0x126')](_0x5b31d9,_0x26af17){const _0x1ea79c=_0x5b31d9['startsWith'](_0x4103('0xd3'))||_0x5b31d9[_0x4103('0xc1')](_0x4103('0x13a'))?'FORMATTING':_0x5b31d9['toUpperCase']();return _0x1f5924(this['editor'][_0x4103('0x1c')],_0x26af17+'_'+_0x1ea79c+_0x4103('0x143'));}[_0x4103('0x29')](){const _0x90534=this[_0x4103('0xee')];_0x8a1101(this[_0x4103('0x15f')],({left:_0x1b0922,entered:_0x22c348})=>{const _0x42a55a=[];for(const _0x4d58c8 of _0x1b0922){const {group:_0x13e0bf,type:_0x1d839d}=this[_0x4103('0x12b')](_0x4d58c8[_0x4103('0xb')]);if('suggestion'===_0x13e0bf){_0x42a55a[_0x4103('0x5b')](this[_0x4103('0x126')](_0x1d839d,_0x4103('0xcd')));break;}}for(const _0x8c908a of _0x22c348){const {group:_0x5edbe2,type:_0x50f059}=this[_0x4103('0x12b')](_0x8c908a['name']);if(_0x4103('0x0')===_0x5edbe2){_0x42a55a['push'](this[_0x4103('0x126')](_0x50f059,'ENTER'));break;}}_0x42a55a['length']&&_0x90534['ui'][_0x4103('0x28')][_0x4103('0x3b')](_0x4103('0x50'),_0x42a55a[_0x4103('0x11d')]('\x20'));});}[_0x4103('0x11b')](_0x17a913){if(null!==this[_0x4103('0x170')])return!0x1;const _0x5e5682=this['editor'],_0x4613fe=_0x5e5682[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0x157')][_0x4103('0x162')]();if(0x0==_0x4613fe[_0x4103('0xb2')])return!0x1;const _0x50e0f6=[],_0x76588c=_0x4613fe[_0x4103('0x6e')](_0x3d1db9=>'attribute'==_0x3d1db9['type']),_0x4c97fb=_0x4613fe[_0x4103('0x6e')](_0x570e26=>_0x4103('0x167')==_0x570e26[_0x4103('0x24')]&&_0x4103('0xaa')!=_0x570e26[_0x4103('0xb')]),_0x2dc295=_0x4613fe[_0x4103('0x6e')](_0x5c03f7=>'remove'==_0x5c03f7[_0x4103('0x24')]&&_0x4103('0xaa')!=_0x5c03f7['name']);for(const _0x3156cc of _0x76588c)_0x50e0f6[_0x4103('0x5b')]({'key':_0x3156cc['attributeKey'],'newValue':_0x3156cc['attributeNewValue'],'oldValue':_0x3156cc[_0x4103('0xce')],'range':_0x5dca9b(_0x3156cc[_0x4103('0x135')])});for(const _0x29c856 of _0x4c97fb){const _0x1f9c18=_0x2dc295[_0x4103('0x120')](_0x2f3184=>_0x2f3184['position'][_0x4103('0x32')](_0x29c856[_0x4103('0x15d')]));_0x1f9c18&&_0x50e0f6[_0x4103('0x5b')]({'key':'$elementName','newValue':_0x29c856[_0x4103('0xb')],'oldValue':_0x1f9c18[_0x4103('0xb')],'range':_0x5e5682[_0x4103('0xa1')]['createRangeOn'](_0x29c856[_0x4103('0x15d')]['nodeAfter'])});}return 0x0!=_0x50e0f6[_0x4103('0xb2')]&&this[_0x4103('0x4e')](_0x17a913,_0x50e0f6);function _0x5dca9b(_0x472d4c){return null==_0x472d4c[_0x4103('0x9a')][_0x4103('0x14e')]&&_0x472d4c[_0x4103('0x9a')][_0x4103('0x2a')]==_0x472d4c[_0x4103('0x16e')][_0x4103('0x9e')]?Ut(_0x472d4c['start'][_0x4103('0x9e')],_0x5e5682[_0x4103('0xa1')]):_0x472d4c;}}[_0x4103('0xf6')](_0x224db5){let _0x4d751c=!0x1;const _0x2c44cd=this[_0x4103('0xee')][_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0x157')]['getChangedMarkers']()['filter'](_0xc15db5=>_0xc15db5[_0x4103('0x137')][_0x4103('0x36')]&&_0xc15db5[_0x4103('0xb')][_0x4103('0xc1')](_0x4103('0xfe')));for(const _0x28d47c of _0x2c44cd){const {subType:_0x1839f7,id:_0x580847}=this[_0x4103('0x12b')](_0x28d47c[_0x4103('0xb')]),_0x385dbb=_0x1839f7['split']('|')[0x0];for(const _0xaef531 of this['getSuggestions']({'skipNotAttached':!0x0}))_0xaef531['id']!=_0x580847&&_0x4103('0x13a')==_0xaef531[_0x4103('0x24')]&&_0xaef531[_0x4103('0x137')]&&_0xaef531[_0x4103('0x137')][_0x4103('0x163')]==_0x385dbb&&_0xaef531[_0x4103('0x114')]()['isIntersecting'](_0x28d47c[_0x4103('0x137')]['newRange'])&&(this[_0x4103('0x173')](_0xaef531,_0x28d47c['data']['newRange'],_0x224db5),_0x4d751c=!0x0);}return _0x4d751c;}[_0x4103('0xd5')](_0x1c7be5){if(null!==this[_0x4103('0x170')])return void _0x1c7be5();const _0x412842=this[_0x4103('0xee')];this[_0x4103('0x170')]=_0x412842[_0x4103('0xa1')][_0x4103('0x89')][_0x4103('0x111')],_0x1c7be5();const _0x95a82b=new Map();for(const _0x111e3f of _0x412842['model']['document'][_0x4103('0x12e')][_0x4103('0x55')](this[_0x4103('0x170')]))if(['rename',_0x4103('0x11e'),'removeAttribute',_0x4103('0x71')][_0x4103('0x12c')](_0x111e3f[_0x4103('0x24')])){const _0x183f7a=_0x111e3f[_0x4103('0x123')],_0x1a8f00=_0x95a82b[_0x4103('0x129')](_0x183f7a)||[];_0x1a8f00['push'](_0x111e3f),_0x95a82b['set'](_0x183f7a,_0x1a8f00);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x14eb29,_0x26d8cb]of _0x95a82b){const _0x5ac87d=_0x5df0ee();_0x412842[_0x4103('0xa1')][_0x4103('0x49')](_0x14eb29,_0x465211=>{const _0x36c52c=[];for(const _0x1d710b of _0x26d8cb){let _0x4e0a11,_0x112495,_0x5104ed,_0x1bd384;if(_0x4103('0xb4')==_0x1d710b['type']){const _0x53da40=_0x1d710b;_0x4e0a11=Ut(_0x53da40[_0x4103('0x15d')][_0x4103('0x9e')],_0x412842['model']),_0x112495=_0x4103('0xdf'),_0x5104ed=_0x53da40[_0x4103('0x77')],_0x1bd384=_0x53da40[_0x4103('0x26')];}else{const _0x2c61a5=_0x1d710b,_0x4b02f2=this['_isBlockAttribute'](_0x2c61a5[_0x4103('0x163')]),_0x335264=this[_0x4103('0x10d')]['has'](_0x2c61a5[_0x4103('0x163')]);if(!_0x4b02f2&&!_0x335264)continue;_0x4e0a11=_0x4b02f2?Ut(_0x2c61a5[_0x4103('0x135')][_0x4103('0x16e')][_0x4103('0x9e')],_0x412842[_0x4103('0xa1')]):_0x2c61a5['range'],_0x112495=_0x2c61a5['key'],_0x5104ed=_0x4103('0x82')==_0x1d710b['type']?void 0x0:_0x2c61a5[_0x4103('0xcf')],_0x1bd384=_0x2c61a5[_0x4103('0x161')];}this[_0x4103('0x175')](_0x4e0a11,_0x112495,_0x1bd384,_0x5104ed,{'groupId':_0x5ac87d}),_0x36c52c['push']({'range':_0x4e0a11,'key':_0x112495,'newValue':_0x5104ed,'oldValue':_0x1bd384});}this[_0x4103('0x4e')](_0x465211,_0x36c52c);});}}[_0x4103('0x4e')](_0x2f7aa8,_0x511de3){if(0x0==_0x511de3['length'])return!0x1;let _0x35ad39=!0x1;for(const _0x126d1f of _0x511de3){const _0x50c3eb=this['_findSuggestions'](_0x126d1f[_0x4103('0x135')],_0x4103('0x13a'))[_0x4103('0x6e')](_0x12c601=>!_0x12c601[_0x4103('0x41')][_0x4103('0x95')])[_0x4103('0xe5')](_0x22aeaf=>_0x22aeaf[_0x4103('0x0')]),_0x4165b4=_0x536ea2({'newValue':_0x126d1f[_0x4103('0xcf')]});_0x50c3eb['filter'](_0x3731a0=>{const [_0x573c71,_0x36a021]=_0x3731a0[_0x4103('0x79')][_0x4103('0x33')]('|');return _0x573c71==_0x126d1f[_0x4103('0x163')]&&_0x36a021!=_0x4165b4;})[_0x4103('0xda')](_0x5c416f=>{this[_0x4103('0x173')](_0x5c416f,_0x126d1f[_0x4103('0x135')],_0x2f7aa8),_0x35ad39=!0x0;});}return _0x35ad39;}['_reduceSuggestionAttributeRange'](_0x316657,_0x111a81,_0x32d171){const _0x52c483=_0x316657[_0x4103('0x114')]()[_0x4103('0x99')](_0x111a81);0x0!==_0x52c483[_0x4103('0xb2')]?0x1!==_0x52c483[_0x4103('0xb2')]?this[_0x4103('0x133')](_0x316657,_0x111a81[_0x4103('0x16e')],_0x111a81['end']):this[_0x4103('0x5a')](_0x316657,_0x52c483[0x0]):_0x32d171[_0x4103('0x46')](_0x316657['getFirstMarker']());}}class $t{constructor(_0x5e8ecf){this[_0x4103('0x6a')]=_0x5e8ecf,this[_0x4103('0x15f')]=_0x5e8ecf[_0x4103('0xa1')],this['_customCallbacks']=new Map(),this[_0x4103('0x149')]=new Map(),this[_0x4103('0xad')]();}[_0x4103('0xc5')](_0x590c9d,_0x3e8c83,_0x419b8f,_0x38a6ec,_0x1bda25,_0x137600){return new _0xdfa14c(this[_0x4103('0x15f')],{'type':_0x590c9d,'subType':_0x3e8c83,'id':_0x419b8f,'author':_0x38a6ec,'creator':_0x38a6ec,'attributes':_0x1bda25,'onAttributesChange':_0x137600,'onAccept':(..._0x557edb)=>this[_0x4103('0x14')](_0x590c9d,_0x3e8c83,_0x4103('0x122'))(..._0x557edb),'onDiscard':(..._0x45f5fa)=>this[_0x4103('0x14')](_0x590c9d,_0x3e8c83,'discard')(..._0x45f5fa)});}[_0x4103('0x11c')](_0x5ac24c,_0x33624f,_0x462149,_0x31c868){const _0x2bc4f9=_0x5ac24c+':'+_0x33624f+':'+_0x462149;this[_0x4103('0x5f')][_0x4103('0x6')](_0x2bc4f9,_0x31c868);}[_0x4103('0x14')](_0x3263cf,_0x5e6cd2,_0x3e0bd0){const _0x40ffdf=_0x3263cf+':'+_0x5e6cd2+':'+_0x3e0bd0;return this[_0x4103('0x5f')]['get'](_0x40ffdf)||this['_defaultCallbacks'][_0x4103('0x129')](_0x3263cf+':'+_0x3e0bd0);}[_0x4103('0xad')](){const _0x2f93ee=()=>!0x1,_0x2f9897=_0x43ef83=>{_0x43ef83[_0x4103('0xa3')]((_0x5631ad,_0x5e73d3)=>_0x5631ad[_0x4103('0x16e')][_0x4103('0x108')](_0x5e73d3[_0x4103('0x16e')])?0x1:-0x1),this['_model'][_0x4103('0xb0')](_0x128ff6=>{for(const _0x2aeb0c of _0x43ef83){let _0x409648;_0x409648=_0x2aeb0c[_0x4103('0x9a')][_0x4103('0xbb')]&&_0x2aeb0c[_0x4103('0x9a')][_0x4103('0x2a')]==_0x2aeb0c[_0x4103('0x16e')]['nodeAfter']?_0x128ff6[_0x4103('0x56')](_0x2aeb0c[_0x4103('0x16e')]['nodeAfter'],'on'):_0x128ff6[_0x4103('0x56')](_0x2aeb0c),this[_0x4103('0x15f')]['deleteContent'](_0x409648,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x5619d8=(_0x4c39b9,_0x42fafb)=>{_0x42fafb&&this['_model'][_0x4103('0xb0')](_0x43cc04=>{const {commandName:_0x43aa49,commandParams:_0x3f8bc1=[]}=_0x42fafb,_0x2ad622=_0x4c39b9['map'](_0x37899a=>(Tt(_0x37899a)&&(_0x37899a=this[_0x4103('0x15f')][_0x4103('0xcc')](_0x37899a[_0x4103('0x9a')])),_0x37899a))['filter'](_0x1d3e9f=>_0x4103('0x141')!==_0x1d3e9f[_0x4103('0x27')][_0x4103('0x31')]);if(_0x2ad622[_0x4103('0xb2')]<0x1)return;const _0x4b6fa7=Array[_0x4103('0x4a')](this[_0x4103('0x15f')][_0x4103('0x89')]['selection']['getRanges']())[_0x4103('0xe5')](_0x3c0cb3=>_0x1394f0[_0x4103('0x102')](_0x3c0cb3));_0x43cc04[_0x4103('0x154')](_0x2ad622);for(const _0x1ed1af of this[_0x4103('0x6a')][_0x4103('0x2c')][_0x4103('0x2c')]())_0x1ed1af[_0x4103('0x70')]();_0x3f8bc1[_0x4103('0x5b')]({'forceDefaultExecution':!0x0}),this[_0x4103('0x6a')][_0x4103('0xb8')](_0x43aa49,..._0x3f8bc1);const _0x1ec3ff=_0x4b6fa7[_0x4103('0x6e')](_0x1b605c=>_0x4103('0x141')!=_0x1b605c[_0x4103('0x27')][_0x4103('0x31')]);_0x1ec3ff[_0x4103('0xb2')]>0x0&&_0x43cc04[_0x4103('0x154')](_0x1ec3ff);for(const _0x24e717 of _0x4b6fa7)_0x24e717[_0x4103('0xa5')]();});},_0x5750dd=(_0x341bfb,_0x1ea72d)=>0x1==_0x341bfb[_0x4103('0xb2')]&&0x1==_0x1ea72d[_0x4103('0xb2')]&&_0x341bfb[0x0]['end'][_0x4103('0x32')](_0x1ea72d[0x0][_0x4103('0x16e')]),_0x57b077=(_0x133498,_0x25c03f,_0x3c5ece,_0x45a229)=>Ot(_0x133498,_0x25c03f,_0x3c5ece,_0x45a229,this[_0x4103('0x15f')])?[_0x133498,_0x25c03f]:Ot(_0x25c03f,_0x133498,_0x45a229,_0x3c5ece,this[_0x4103('0x15f')])?[_0x25c03f,_0x133498]:null;this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x15a'),_0x2f93ee),this[_0x4103('0x149')]['set'](_0x4103('0x7f'),_0x2f9897),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x17'),_0x5750dd),this[_0x4103('0x149')]['set']('insertion:chain',_0x57b077),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x66'),_0x2f9897),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x96'),_0x2f93ee),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x8a'),_0x5750dd),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x2d'),_0x57b077),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x59'),_0x5619d8),this[_0x4103('0x149')]['set'](_0x4103('0x124'),_0x2f93ee),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x12'),_0x5750dd),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x12f'),_0x2f93ee),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x1'),_0x5619d8),this[_0x4103('0x149')]['set'](_0x4103('0xab'),_0x2f93ee),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0x148'),_0x5750dd),this['_defaultCallbacks'][_0x4103('0x6')]('formatBlock:chain',_0x2f93ee),this[_0x4103('0x149')]['set']('attribute:accept',_0x2f93ee),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0xfb'),(_0x58e8c9,_0x416414)=>{if(!_0x416414)return;const _0x11ff53=this['_editor']['plugins'][_0x4103('0x129')](p);this[_0x4103('0x15f')][_0x4103('0xb0')](_0x98db39=>{if(_0x4103('0xdf')==_0x416414[_0x4103('0x163')])for(const _0x4571d5 of _0x58e8c9){const _0x498308=_0x4571d5['start'][_0x4103('0x9e')],_0x3d9a67=_0x416414[_0x4103('0x161')];_0x98db39['rename'](_0x498308,_0x3d9a67);}else{if(_0x11ff53['_isBlockAttribute'](_0x416414[_0x4103('0x163')]))for(const _0x2bc30c of _0x58e8c9)void 0x0!==_0x416414[_0x4103('0x161')]?_0x98db39[_0x4103('0x15')](_0x416414[_0x4103('0x163')],_0x416414[_0x4103('0x161')],_0x2bc30c[_0x4103('0x16e')][_0x4103('0x9e')]):_0x98db39[_0x4103('0x82')](_0x416414[_0x4103('0x163')],_0x2bc30c['start']['nodeAfter']);else for(const _0x828d5b of _0x58e8c9)_0x416414[_0x4103('0x161')]?_0x98db39['setAttribute'](_0x416414['key'],_0x416414[_0x4103('0x161')],_0x828d5b):_0x98db39['removeAttribute'](_0x416414[_0x4103('0x163')],_0x828d5b);}});}),this[_0x4103('0x149')][_0x4103('0x6')](_0x4103('0xec'),_0x5750dd);}}function Bt(_0x24c193,_0x14f7af,_0x14a401){for(const _0x185454 of _0x14f7af[_0x4103('0x2a')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x185454[_0x4103('0x27')]==_0x185454)return!0x1;if(!_0x14a401['containsItem'](_0x185454))return!0x1;if(_0x24c193['isObject'](_0x185454)||_0x24c193[_0x4103('0x7a')](_0x185454))return!0x0;}return!0x1;}function Tt(_0x117f45){return _0x117f45[_0x4103('0x9a')]['parent']==_0x117f45[_0x4103('0x16e')]['nodeAfter']&&_0x117f45[_0x4103('0x9a')][_0x4103('0x54')];}function xt(_0x23c066,_0x2bf9d0,_0x31ac5f,_0x5ca775){const _0x46019d=_0x39f2e1=>!_0x39f2e1['item']['is']('$textProxy')&&!_0x5ca775['isObject'](_0x39f2e1[_0x4103('0xa8')]),_0x5a2db0=_0x23c066['start']['getLastMatchingPosition'](_0x46019d),_0x194711=_0x23c066[_0x4103('0x9a')][_0x4103('0xcb')](_0x46019d,{'direction':'backward'});return(!_0x23c066[_0x4103('0x16e')][_0x4103('0x32')](_0x5a2db0)||!_0x23c066[_0x4103('0x9a')][_0x4103('0x32')](_0x194711))&&(_0x5a2db0[_0x4103('0x108')](_0x194711)?_0x31ac5f[_0x4103('0xe8')](_0x2bf9d0,{'range':_0x31ac5f[_0x4103('0xcc')](_0x5a2db0,_0x194711)}):_0x31ac5f[_0x4103('0x46')](_0x2bf9d0),!0x0);}function Et(_0x43c141){return _0x536ea2(_0x43c141);}function Rt(_0x1a4e52){const _0x4938f5=_0x1a4e52[_0x4103('0x16e')][_0x4103('0x9e')];return _0x4938f5&&_0x4938f5['is'](_0x4103('0x5d'));}function Ut(_0x4e36f2,_0x434002){const _0x39788d=_0x434002[_0x4103('0x16b')][_0x4103('0xde')](_0x4e36f2)||_0x434002[_0x4103('0x16b')]['isSelectable'](_0x4e36f2);return _0x434002[_0x4103('0xcc')](_0x434002[_0x4103('0xa4')](_0x4e36f2,_0x4103('0xa9')),_0x39788d?_0x434002[_0x4103('0x37')](_0x4e36f2):_0x434002[_0x4103('0xa4')](_0x4e36f2,_0x4103('0x9a')));}function Ot(_0x50c7da,_0x347a63,_0x2f9747,_0x4f01c8,_0xc48cf){if(!Vt(_0x50c7da,_0x347a63))return!0x1;if(_0x2f9747['end']['isEqual'](_0x4f01c8[_0x4103('0x16e')]))return!0x0;if(_0x50c7da[_0x4103('0x24')]!=_0x347a63['type'])return!0x1;if(!_0x2f9747[_0x4103('0x9a')][_0x4103('0x97')](_0x4f01c8[_0x4103('0x16e')]))return!0x1;const _0x17c364=_0xc48cf[_0x4103('0xcc')](_0x2f9747['end'],_0x4f01c8[_0x4103('0x16e')])[_0x4103('0x16f')]();for(const _0x69b1f4 of _0x17c364)if([_0x4103('0xe4'),_0x4103('0x1a')][_0x4103('0x12c')](_0x69b1f4[_0x4103('0x24')])&&_0xc48cf[_0x4103('0x16b')][_0x4103('0x7a')](_0x69b1f4[_0x4103('0xa8')]))return!0x1;return!0x0;}function Vt(_0x5789b7,_0x215115){return!(!_0x5789b7[_0x4103('0x4')]||!_0x215115['_isDataLoaded'])&&_0x429fef(_0x5789b7[_0x4103('0x3a')],_0x215115[_0x4103('0x3a')]);}function Gt(_0x5cadc5,_0xd096d8){const _0x36e8db=Ft(_0x5cadc5[_0x4103('0x3a')]),_0x32773f=Ft(_0xd096d8);if(!_0x5cadc5[_0x4103('0x4')])return!0x1;for(const _0x51c114 of Object[_0x4103('0x17c')](_0x32773f))if(!_0x429fef(_0x36e8db[_0x51c114],_0x32773f[_0x51c114]))return!0x1;return!0x0;}function Ft(_0x5060ec){const _0x41bc61=Object['assign']({},_0x5060ec);return delete _0x41bc61[_0x4103('0xaf')],delete _0x41bc61[_0x4103('0x8c')],_0x41bc61;}function Pt(_0x29bd6a){return _0x4103('0x13a')==_0x29bd6a[_0x4103('0x24')]?_0x29bd6a[_0x4103('0x79')]['split']('|')[0x0]:null;}
|