@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231116.0 → 0.0.0-nightly-20231118.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.
Files changed (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1929=['document','$graveyard','rename','getSuggestion','splice','pop','normal','newValue','authoredAt','fromRange','bindElementToMarker','locale','backward','suggestionChanged','ariaLiveAnnouncer','dataToMarker','mapper','editingDowncast','setTo','range','stop','tablePasteChainId','format','_processAttributeChanges','commandName','catch','formatInline:chain','track-changes-command-not-found','addMarker:suggestion:formatBlock','formatGroupId','isAfter','createdAt','formatBlock','buildSuggestion','formatInline:join','_blockAttributeKeys','formatBlock:','getUser','refresh','isLimit','deletion','_getSuggestionData','fromCharCode','_addThreadToSuggestion','_joinWithAdjacentSuggestions','addMarkerName','forEach','return','every','values','update:suggestion','markAttributeChange','discardAllSuggestions','creator','attribute:','some','reconvertMarker','getFirstRange','after','isArray','moveTargetPosition','fire','updateMarker','LEAVE','acceptAllSuggestions','element','getNearestSelectionRange','getSuggestions','isAtEnd','markerToHighlight','widget','init','previous','getShiftedBy','unshift','isInContent','isIntersectingWithRange','formatBlock:chain','_isBlockAttribute','containsPosition','track-changes-adapter-missing-getsuggestion','next','comments','_commentsRepository','_getMarkerAnnouncementText','_enableDefaultAttributesIntegration','newRange','createRange','ck-suggestion-marker--active','_recordAttributeChanges','showSuggestionHighlights','define','then','getSuggestionCallback','writer','activeMarkers','rootName','config','removeAttribute','version','change','_refreshAttributeSuggestionsChain','formatInline:','markBlockFormat','hasSuggestion','upcast','substr','addHighlight','join','insertion:chain','markInsertion','containsRangeInObject','createRangeIn','_saved','insert','oldRange','ck-suggestion-marker-formatInline','_onDiscard','_suggestionState','_adapter','options','highest','from','removeMarker','isInsideObject','_isDataLoaded','collaboration.channelId','markDeletion','unbindElementFromMarkerName','removeMarker:suggestion:formatBlock','multipleBlocks','suggestion:attribute:','attribute','start','_handleNewSuggestionMarker','isEqual','_joinSuggestions','value','isUndo','parent','markerName','_refreshSuggestionsChain','notReady','consumable','split','ready','track-changes-suggestion-data-mismatch','addComment','insertion','addSuggestion','commands','forceDefaultExecution','setSelection','track-changes-enable-command-twice','$elementName','deletion:join','isOwn','addMarker','updateSuggestion','suggestionLoaded','getLastMatchingPosition','differ','has','isBefore','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.','_defaultCallbacks','push','formatInline:discard','deletion:chain','attribute:discard','insertion:join','lowest','createPositionAt','getMultiRangeId','isObject','_initAriaMarkerChangeAnnouncements','_reduceExistingSuggestions','_enabledCommands','insertion:','_updateSuggestionData','getOperations','formatInline:accept','track-changes-suggestion-not-found','enqueueChange','commentThread','suggestionUnloaded','isSelectable','data-suggestion','isIntersecting','hasComments','toViewElement','isNextTo','add','isRemovable','_breakSuggestionMarker','_splitMarkerName','trackChanges','batch','trackChanges.trackFormatChanges','isTouching','rethrowUnexpectedError','formatInline','suggestion:','map','formatBlock:discard','trackChangesCommand','createRangeOn','editor','setAttribute','model','data','suggestion','hasCommentThread','attributeOldValue','isLocal','ck-suggestion-marker','addMarker:suggestion:attribute','getChangedMarkers','_trackFormatChanges','clear','registerPostFixer','forward','documentSelection','createSelection','multi','_inlineAttributeKeys','getRange','_isForcedDefaultExecutionBlock','discardSelectedSuggestions','size','PendingActions','_descriptionFactory','acceptSuggestion','groupId','FORMATTING','getIntersection','name','attributeKey','fetchCommentThread','_mergeNestedSuggestions','ENTER','_setSuggestionRange','Users','discardSuggestion','set','enableCommand','execute','containsItem','_removeSuggestion','deletion:discard','nodeAfter','consume','position','announce','_checkSuggestionCorrectness','markMultiRangeDeletion','_registerBlockAttribute','key','markerReady','dataReady','_reduceSuggestionAttributeRange','ck-suggestion-marker-','_findSuggestions','markers','getAncestors','find','isCollapsed','nodeBefore','length','$text','low','end','getCustomProperty','@external','delete','get','containerElement','getChanges','deletion:','subType','getRanges','_suggestions','move','always','removed','addRange','_suggestionFactory','root','markInlineFormat','accept','oldName','_registerDefaultCallbacks','targetPosition','formatBlock:accept','_customCallbacks','removeClass','conversion','keys','_setSuggestionData','plugins','registerCustomCallback','oldValue','_model','changeAttribute','discard','removeComment','schema','getDifference','containsRange','_recordAttributeSuggestionsFromVersion','getWalker','isBlock','removeMarkers','default','addAttribute','attribute:accept','_rangeIsInLocalUserInsertion','getAttribute','attributes','type','addClass','PENDING_ACTION_SUGGESTION','filter','acceptSelectedSuggestions','rejected','resolve','warn','detach','skipNestingCheck','_createSuggestion','_registerInlineAttribute','createPositionAfter','_getAuthorFromId','selection','howMany','getAllAdjacentSuggestions','includes','sort','marker-count','_getAttributeKeyFromSubType','item','isMultiRange','getFirstMarker','pluginName','listenTo','getItems','open','requires','getCommentThread','change:data','chain','_processAttributeSuggestions','_addSuggestionMarker','applyOperation','dataDowncast','remove','_editor','concat','TrackChangesEditing','for','isExternal','elementStart','isAtStart','external:','authorName','author','head','before','_cutOutSuggestionMarker','CommentsRepository','assign','high','insertContent','ck-suggestion-marker-formatBlock','startsWith','_getExternalAuthor','substring','toJSON','attribute:join','markerNameToElements','insertion:accept','error-saving-suggestion-data-suggestion-discarded'];(function(_0x29d28d,_0x19293c){const _0x4b8823=function(_0x4b2e93){while(--_0x4b2e93){_0x29d28d['push'](_0x29d28d['shift']());}};_0x4b8823(++_0x19293c);}(_0x1929,0x113));const _0x4b88=function(_0x29d28d,_0x19293c){_0x29d28d=_0x29d28d-0x0;let _0x4b8823=_0x1929[_0x29d28d];return _0x4b8823;};import{Plugin as _0x247f11,PendingActions as _0xfdfe8b}from'ckeditor5/src/core';import{LiveRange as _0x34e984}from'ckeditor5/src/engine';import{CKEditorError as _0x1dc44a,uid as _0x54241b,priorities as _0x3134df,logWarning as _0x4b4cd4}from'ckeditor5/src/utils';import{toWidget as _0x1b606e}from'ckeditor5/src/widget';import{Users as _0x2983ad,hashObject as _0x1916db,surroundingMarkersDetector as _0xb6cc63}from'ckeditor5-collaboration/src/collaboration-core';import _0x455999 from'./commands/trackchangescommand';import _0x5ae55b from'./commands/acceptsuggestioncommand';import _0xea0b28 from'./commands/discardsuggestioncommand';import _0x5d3465 from'./commands/executeonallsuggestionscommand';import _0x9dec20 from'./commands/executeonselectedsuggestionscommand';import _0x10193d from'./suggestion';import _0x184c50 from'./suggestiondescriptionfactory';import _0x57230b from'./integrations/aiassistant';import _0x3678df from'./integrations/alignment';import _0x4de0f5 from'./integrations/basicstyles';import _0x10336b from'./integrations/blockquote';import _0x9a5088 from'./integrations/ckbox';import _0x26ecbc from'./integrations/codeblock';import _0x419df7 from'./integrations/comments';import _0xcf165c from'./integrations/deletecommand';import _0x4b1b81 from'./integrations/documentlist';import _0x11a817 from'./integrations/documentlistproperties';import _0x454f05 from'./integrations/entercommand';import _0x295f8f from'./integrations/findandreplace';import _0x5c7cf0 from'./integrations/font';import _0x1f21a4 from'./integrations/formatpainter';import _0x262792 from'./integrations/heading';import _0x34bb7f from'./integrations/highlight';import _0x2526ce from'./integrations/horizontalline';import _0x588b96 from'./integrations/htmlembed';import _0x30d9c1 from'./integrations/image';import _0x2a47ca from'./integrations/imagereplace';import _0x3c6b61 from'./integrations/imagestyle';import _0x2643e1 from'./integrations/importword';import _0xdc844 from'./integrations/indent';import _0x5b8ea3 from'./integrations/inputcommand';import _0xe006a4 from'./integrations/link';import _0x3e80c5 from'./integrations/list';import _0x323c73 from'./integrations/listproperties';import _0x18ea0e from'./integrations/mediaembed';import _0x343475 from'./integrations/mention';import _0x3f3cc5 from'./integrations/pagebreak';import _0x55e23a from'./integrations/paragraph';import _0x48a938 from'./integrations/removeformat';import _0x4d43e0 from'./integrations/restrictededitingmode';import _0x2b0c04 from'./integrations/shiftentercommand';import _0x56f04a from'./integrations/standardeditingmode';import _0xb16ee from'./integrations/style';import _0x4ee933 from'./integrations/table';import _0x23b554 from'./integrations/tablemergesplit';import _0x3c2afa from'./integrations/tableheadings';import _0xab6181 from'./integrations/tableclipboard';import _0x24a291 from'./integrations/tablecolumnresize';import _0x98518 from'./integrations/template';import _0x1e4e0e from'./integrations/tableofcontents';import _0x49cb79 from'./integrations/title';import _0x2fdf0e from'./integrations/undo';import _0x3aa942 from'./integrations/tablecaption';import _0xc6a46b from'./integrations/tableproperties';import{getTranslation as _0x1ef721}from'./utils/common-translations';import{isEqual as _0x24477a,omit as _0x4acd5c}from'lodash-es';export const renameAttributeKey=_0x4b88('0x105');export default class p extends _0x247f11{static get[_0x4b88('0x48')](){return['CommentsRepository',_0x2983ad,_0xfdfe8b,_0x57230b,_0x3678df,_0x4de0f5,_0x10336b,_0x9a5088,_0x26ecbc,_0x419df7,_0xcf165c,_0x4b1b81,_0x11a817,_0x454f05,_0x295f8f,_0x5c7cf0,_0x1f21a4,_0x262792,_0x34bb7f,_0x2526ce,_0x588b96,_0x30d9c1,_0x3c6b61,_0x2a47ca,_0x2643e1,_0xdc844,_0x5b8ea3,_0xe006a4,_0x3e80c5,_0x323c73,_0x18ea0e,_0x343475,_0x3f3cc5,_0x55e23a,_0x48a938,_0x4d43e0,_0x2b0c04,_0x56f04a,_0xb16ee,_0x4ee933,_0x23b554,_0x3c2afa,_0x3aa942,_0xab6181,_0x24a291,_0x1e4e0e,_0xc6a46b,_0x98518,_0x49cb79,_0x2fdf0e];}static get[_0x4b88('0x44')](){return _0x4b88('0x53');}constructor(_0x3454c0){function _0x5390fc(_0x218cbb){return _0x218cbb['map'](_0x2bb7a4=>String[_0x4b88('0x95')](_0x2bb7a4))[_0x4b88('0xd7')]('');}super(_0x3454c0),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x4b88('0x15f')](_0x4b88('0xca'),[]),this['on']('change:activeMarkers',(_0x5a0b87,_0x3fca2a,_0x556b4e,_0x3f0727)=>{this[_0x4b88('0x1b')][_0x4b88('0xcf')](()=>{for(const _0x5ddcd0 of[..._0x3f0727,..._0x556b4e])this[_0x4b88('0x1b')]['markers'][_0x4b88('0x10d')](_0x5ddcd0)&&_0x3454c0['editing'][_0x4b88('0xa3')](_0x5ddcd0);});}),this[_0x4b88('0x152')]=new _0x184c50(this[_0x4b88('0x13a')][_0x4b88('0x13c')]['schema'],this[_0x4b88('0x13a')][_0x4b88('0x76')]),this[_0x4b88('0xe2')]=null,this[_0x4b88('0xb')]=new Bt(this['editor']),this[_0x4b88('0x6')]=new Map(),this['_commentsRepository']=_0x3454c0[_0x4b88('0x18')]['get']('CommentsRepository'),this[_0x4b88('0x11c')]=new Set(),this[_0x4b88('0x1b')]=this[_0x4b88('0x13a')]['model'],this[_0x4b88('0xe1')]=new WeakMap(),this[_0x4b88('0x14e')]=!0x1,this[_0x4b88('0x8e')]=new Set([_0x4b88('0x105')]),this[_0x4b88('0x14c')]=new Set(),_0x3454c0[_0x4b88('0xcc')][_0x4b88('0xc6')]('trackChanges.trackFormatChanges',_0x4b88('0x26')),this['_trackFormatChanges']=_0x3454c0[_0x4b88('0xcc')][_0x4b88('0x0')](_0x4b88('0x131')),_0x3454c0[_0x4b88('0xcc')][_0x4b88('0xc6')]('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x3454c0[_0x4b88('0xcc')]['get']('trackChanges.mergeNestedSuggestions'),this[_0x4b88('0x138')]=new _0x455999(_0x3454c0,this[_0x4b88('0x11c')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x5390fc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x5390fc([0x34,0x30,0x34,0x36,0x32,0x32,0x33,0x32]);}[_0x4b88('0xb2')](){const _0x5a0e16=this[_0x4b88('0x13a')],_0x3a7d85=(_0x3124fb,_0x3385f6)=>{if(_0x4b88('0xef')!=_0x3124fb)return _0x4b88('0x170')+_0x3124fb;const _0x53fc8d=_0x3385f6[_0x4b88('0xfb')]('|')[0x0];return this['_isBlockAttribute'](_0x53fc8d)?_0x4b88('0x62'):_0x4b88('0xdf');};_0x5a0e16['conversion'][_0x4b88('0x54')](_0x4b88('0x7c'))[_0x4b88('0xb0')]({'model':_0x4b88('0x13e'),'view':_0x13763e=>{const {id:_0x8a30fd,type:_0x41ced2,subType:_0x13ab59}=this['_splitMarkerName'](_0x13763e[_0x4b88('0xf7')]),_0x347841=[_0x4b88('0x142'),_0x3a7d85(_0x41ced2,_0x13ab59)];let _0x159f53=0xbb8;return this[_0x4b88('0xca')][_0x4b88('0x3d')](_0x13763e[_0x4b88('0xf7')])&&(_0x347841[_0x4b88('0x111')](_0x4b88('0xc3')),_0x159f53=0xbc2),'deletion'==_0x41ced2&&(_0x159f53+=0x5),{'classes':_0x347841,'attributes':{'data-suggestion':_0x8a30fd},'priority':_0x159f53};}}),_0x5a0e16['conversion'][_0x4b88('0x54')](_0x4b88('0x4f'))[_0x4b88('0x12b')](_0x119f76=>{_0x119f76['on']('addMarker:suggestion',(_0x555d32,_0x2b9658,_0x1ad5ec)=>{if(!_0x1ad5ec[_0x4b88('0xe3')]['showSuggestionHighlights'])return;const _0x59edde=_0x2b9658[_0x4b88('0x41')];if(!_0x59edde)return;const _0x5c02fa=_0x1ad5ec[_0x4b88('0x7b')][_0x4b88('0x129')](_0x59edde);_0x5a0e16['model'][_0x4b88('0x1f')][_0x4b88('0x119')](_0x59edde)&&_0x5c02fa&&!_0x5c02fa['getCustomProperty'](_0x4b88('0xb1'))&&_0x5c02fa['is'](_0x4b88('0x1'))&&_0x1b606e(_0x5c02fa,_0x1ad5ec[_0x4b88('0xc9')]);},{'priority':'high'});}),_0x5a0e16['conversion'][_0x4b88('0x54')]('dataDowncast')[_0x4b88('0xb0')]({'model':_0x4b88('0x13e'),'view':(_0x23f848,_0x2328b8)=>{if(!_0x2328b8[_0x4b88('0xe3')][_0x4b88('0xc5')])return null;const {type:_0x3197d1,subType:_0x1af8e8}=this[_0x4b88('0x12e')](_0x23f848[_0x4b88('0xf7')]);return{'classes':[_0x4b88('0x142'),_0x3a7d85(_0x3197d1,_0x1af8e8)],'priority':0xbb8};}});const _0x42a629=({showActiveMarkers:_0x1bb23a=!0x0,isAttributeSuggestion:_0x37efde=!0x1}={})=>(_0x47d49b,_0x3276f0,_0x1c12c0)=>{if(!_0x3276f0[_0x4b88('0x41')])return;const {id:_0x5248c1}=this[_0x4b88('0x12e')](_0x3276f0[_0x4b88('0xf7')]);if(_0x37efde){const _0x1cf59e=this[_0x4b88('0x6')][_0x4b88('0x0')](_0x5248c1),_0x344d02=this['_getAttributeKeyFromSubType'](_0x1cf59e);if(!this['_isBlockAttribute'](_0x344d02))return;}if(_0x3276f0['item']['is'](_0x4b88('0x3a')))return void _0x1c12c0[_0x4b88('0xfa')][_0x4b88('0x166')](_0x3276f0[_0x4b88('0x41')],_0x47d49b[_0x4b88('0x157')]);const _0x24dfde=_0x1c12c0[_0x4b88('0x7b')][_0x4b88('0x129')](_0x3276f0[_0x4b88('0x41')]);if(_0x3276f0[_0x4b88('0x41')]['is'](_0x4b88('0xac'))&&_0x5a0e16['model'][_0x4b88('0x1f')][_0x4b88('0x24')](_0x3276f0[_0x4b88('0x41')])&&!_0x24dfde[_0x4b88('0x17b')]('addHighlight')){_0x1c12c0[_0x4b88('0xc9')][_0x4b88('0x2d')]([_0x4b88('0x142'),'ck-suggestion-marker-formatBlock'],_0x24dfde),_0x1c12c0['writer'][_0x4b88('0x13b')](_0x4b88('0x126'),_0x5248c1,_0x24dfde),_0x1c12c0[_0x4b88('0x7b')][_0x4b88('0x75')](_0x24dfde,_0x3276f0[_0x4b88('0xf7')]),_0x1bb23a&&(this[_0x4b88('0xca')][_0x4b88('0x3d')](_0x3276f0['markerName'])?_0x1c12c0[_0x4b88('0xc9')][_0x4b88('0x2d')](_0x4b88('0xc3'),_0x24dfde):_0x1c12c0['writer']['removeClass']('ck-suggestion-marker--active',_0x24dfde));for(const _0x5aa27a of _0x5a0e16[_0x4b88('0x13c')][_0x4b88('0xdb')](_0x3276f0[_0x4b88('0x41')])[_0x4b88('0x46')]())_0x1c12c0[_0x4b88('0xfa')][_0x4b88('0x166')](_0x5aa27a,_0x47d49b[_0x4b88('0x157')]);_0x1c12c0[_0x4b88('0xfa')][_0x4b88('0x166')](_0x3276f0[_0x4b88('0x41')],_0x47d49b[_0x4b88('0x157')]);}};_0x5a0e16[_0x4b88('0x15')][_0x4b88('0x54')](_0x4b88('0x4f'))[_0x4b88('0x12b')](_0x164396=>{_0x164396['on'](_0x4b88('0x87'),(_0x26e946,_0x20ceef,_0x2a3647)=>{_0x2a3647[_0x4b88('0xe3')]['showSuggestionHighlights']&&_0x42a629({'showActiveMarkers':!0x1})(_0x26e946,_0x20ceef,_0x2a3647);},{'priority':'highest'});}),_0x5a0e16['conversion'][_0x4b88('0x54')](_0x4b88('0x4f'))[_0x4b88('0x12b')](_0x178eee=>{_0x178eee['on'](_0x4b88('0x143'),(_0x5d3cd6,_0x13766b,_0x27f90a)=>{_0x27f90a[_0x4b88('0xe3')][_0x4b88('0xc5')]&&_0x42a629({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x5d3cd6,_0x13766b,_0x27f90a);},{'priority':_0x4b88('0xe4')});}),_0x5a0e16[_0x4b88('0x15')][_0x4b88('0x54')](_0x4b88('0x4f'))['markerToData']({'model':_0x4b88('0x13e'),'view':(_0xcd9b98,_0x191a95)=>_0x191a95[_0x4b88('0xe3')][_0x4b88('0xc5')]?null:{'group':'suggestion','name':_0xcd9b98[_0x4b88('0xd5')](0xb)}}),_0x5a0e16[_0x4b88('0x15')][_0x4b88('0x54')](_0x4b88('0xd4'))['elementToElement']({'view':{'name':_0x4b88('0x13e'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x3a3623,{writer:_0x13118a})=>{let _0x1fbf99=_0x4b88('0x135')+_0x3a3623[_0x4b88('0x2a')]('suggestion-type')+':'+_0x3a3623['getAttribute']('id');return _0x3a3623['getAttribute'](_0x4b88('0x3f'))&&(_0x1fbf99+=':'+_0x3a3623[_0x4b88('0x2a')](_0x4b88('0x3f'))),_0x13118a['createElement']('$marker',{'data-name':_0x1fbf99});}}),_0x5a0e16[_0x4b88('0x15')][_0x4b88('0x54')](_0x4b88('0xd4'))[_0x4b88('0x7a')]({'view':_0x4b88('0x13e')}),_0x5a0e16['conversion']['for'](_0x4b88('0x7c'))[_0x4b88('0x12b')](_0x44b784=>{_0x44b784['on'](_0x4b88('0x87'),_0x42a629(),{'priority':'high'});}),_0x5a0e16[_0x4b88('0x15')]['for'](_0x4b88('0x7c'))[_0x4b88('0x12b')](_0x5c6ad6=>{_0x5c6ad6['on']('addMarker:suggestion:attribute',_0x42a629({'isAttributeSuggestion':!0x0}),{'priority':_0x4b88('0x60')});}),_0x5a0e16[_0x4b88('0x15')][_0x4b88('0x54')]('editingDowncast')[_0x4b88('0x12b')](_0x26ffeb=>{_0x26ffeb['on'](_0x4b88('0xec'),(_0x1a0c18,_0xd3b3c1,_0x4821c5)=>{const _0x39bad3=_0x4821c5[_0x4b88('0x7b')][_0x4b88('0x68')](_0xd3b3c1[_0x4b88('0xf7')]);if(_0x39bad3)for(const _0x4ca49f of _0x39bad3)_0x4ca49f[_0x4b88('0x17b')](_0x4b88('0xd6'))||(_0x4821c5[_0x4b88('0xc9')][_0x4b88('0x14')]([_0x4b88('0x142'),_0x4b88('0x62'),_0x4b88('0xc3')],_0x4ca49f),_0x4821c5[_0x4b88('0xc9')][_0x4b88('0xcd')]('data-suggestion',_0x4ca49f),_0x4821c5[_0x4b88('0x7b')]['unbindElementFromMarkerName'](_0x4ca49f,_0xd3b3c1[_0x4b88('0xf7')]));},{'priority':_0x4b88('0x60')});}),_0x5a0e16[_0x4b88('0x15')][_0x4b88('0x54')](_0x4b88('0x7c'))[_0x4b88('0x12b')](_0x551474=>{_0x551474['on']('removeMarker:suggestion:attribute',(_0x3fa208,_0x24751a,_0x42cda1)=>{const _0x2080eb=_0x42cda1[_0x4b88('0x7b')][_0x4b88('0x68')](_0x24751a[_0x4b88('0xf7')]);if(!_0x2080eb)return;const {id:_0x56d113}=this[_0x4b88('0x12e')](_0x24751a['markerName']),_0x6ef3cf=this[_0x4b88('0x6')][_0x4b88('0x0')](_0x56d113),_0x1c7f78=this[_0x4b88('0x40')](_0x6ef3cf);if(this[_0x4b88('0xb9')](_0x1c7f78))for(const _0x47e105 of _0x2080eb)_0x47e105[_0x4b88('0x17b')](_0x4b88('0xd6'))||(_0x42cda1[_0x4b88('0xc9')][_0x4b88('0x14')]([_0x4b88('0x142'),_0x4b88('0x62'),_0x4b88('0xc3')],_0x47e105),_0x42cda1['writer']['removeAttribute'](_0x4b88('0x126'),_0x47e105),_0x42cda1[_0x4b88('0x7b')][_0x4b88('0xeb')](_0x47e105,_0x24751a[_0x4b88('0xf7')]));},{'priority':_0x4b88('0x60')});}),_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x6b')]['registerPostFixer'](_0x53523a=>{let _0x47750f=!0x1;const _0x377ae4=Array[_0x4b88('0xe5')](_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x6b')]['differ'][_0x4b88('0x144')]()),_0xe8614e=new Set();for(const {name:_0x26c4e7,data:_0x1ab169}of _0x377ae4){const {group:_0x321af2,type:_0x5b90de,subType:_0x24d9b2,id:_0x2b1b12}=this[_0x4b88('0x12e')](_0x26c4e7);if(_0x4b88('0x13e')!==_0x321af2)continue;const _0x5cbf04=this['_suggestions'][_0x4b88('0x0')](_0x2b1b12);if(null!=_0x1ab169[_0x4b88('0xc1')]){_0x4b88('0x134')==_0x5b90de&&(_0x47750f=_0x47750f||Et(_0x1ab169[_0x4b88('0xc1')],_0x26c4e7,_0x53523a,_0x5a0e16[_0x4b88('0x13c')]['schema']));const _0x3dcc48=_0x4b88('0xef')==_0x5b90de&&this[_0x4b88('0xb9')](_0x24d9b2[_0x4b88('0xfb')]('|')[0x0]);if(_0x1ab169[_0x4b88('0xc1')][_0x4b88('0x175')]||_0x4b88('0x6c')==_0x1ab169[_0x4b88('0xc1')][_0x4b88('0xc')][_0x4b88('0xcb')]||_0x4b88('0x8b')==_0x5b90de&&!jt(_0x1ab169[_0x4b88('0xc1')])||_0x3dcc48&&!jt(_0x1ab169[_0x4b88('0xc1')])||'deletion'==_0x5b90de&&!(!xt(_0x2d6e25=_0x1ab169[_0x4b88('0xc1')])&&!function(_0x7594ce){return _0x7594ce[_0x4b88('0xf0')][_0x4b88('0xf6')]==_0x7594ce[_0x4b88('0x17a')][_0x4b88('0x176')]&&_0x7594ce['start'][_0x4b88('0xaf')];}(_0x2d6e25)))_0x53523a['removeMarker'](_0x26c4e7),_0x47750f=!0x0;else{if(!_0x5cbf04||!_0x5cbf04[_0x4b88('0xb6')])continue;_0xe8614e[_0x4b88('0x12b')](_0x5cbf04);}}}var _0x2d6e25;return _0xe8614e[_0x4b88('0x150')]>0x0&&(_0x47750f=!!this[_0x4b88('0x97')](_0xe8614e)||_0x47750f),_0x47750f;}),_0x5a0e16[_0x4b88('0x13c')]['document'][_0x4b88('0x147')](_0x4d675c=>{let _0x191f43=!0x1;for(const _0x139cec of _0x5a0e16['model'][_0x4b88('0x6b')]['differ'][_0x4b88('0x2')]())if('insert'==_0x139cec[_0x4b88('0x2c')])for(const _0x126d49 of this['_suggestions']['values']()){if(_0x126d49['isMultiRange']||!_0x126d49['isInContent'])continue;const _0x526b55=_0x4b88('0x8b')==_0x126d49[_0x4b88('0x2c')],_0x36418f=this[_0x4b88('0x40')](_0x126d49),_0x49e720=_0x36418f&&this[_0x4b88('0xb9')](_0x36418f);if(!_0x526b55&&!_0x49e720)continue;const _0x1e006d=_0x126d49['getFirstRange']();if(_0x1e006d['start'][_0x4b88('0xf6')]!=_0x1e006d['end'][_0x4b88('0xf6')]&&!_0x1e006d[_0x4b88('0x17a')][_0x4b88('0xaf')]){const _0xef6fd4=_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x117')](_0x1e006d['start'][_0x4b88('0x165')],_0x4b88('0x17a')),_0x5daed1=_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0xc2')](_0x1e006d[_0x4b88('0xf0')],_0xef6fd4);_0x4d675c[_0x4b88('0xa9')](_0x126d49[_0x4b88('0x43')](),{'range':_0x5daed1}),_0x191f43=!0x0;}}return _0x191f43;}),_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x6b')][_0x4b88('0x147')](_0x10e898=>this['_processAttributeChanges'](_0x10e898)),_0x5a0e16['model']['document'][_0x4b88('0x147')](_0x32b741=>!_0x32b741[_0x4b88('0x130')][_0x4b88('0x141')]&&this['_processAttributeSuggestions'](_0x32b741)),_0x5a0e16['model'][_0x4b88('0x172')]['on'](_0x4b88('0x9d'),(_0x594132,_0x52814c,_0x1fa1f0)=>{if(null==_0x1fa1f0){const {id:_0xb4e885}=this[_0x4b88('0x12e')](_0x52814c[_0x4b88('0x157')]),_0x372418=this[_0x4b88('0x6')][_0x4b88('0x0')](_0xb4e885);_0x372418&&_0x372418[_0x4b88('0x98')](_0x52814c[_0x4b88('0x157')]);}}),_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x6b')]['on'](_0x4b88('0x4a'),()=>{const _0x1143a7=Array[_0x4b88('0xe5')](_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x6b')][_0x4b88('0x10c')][_0x4b88('0x144')]())[_0x4b88('0x2f')](_0x1141e3=>_0x4b88('0x13e')===this[_0x4b88('0x12e')](_0x1141e3[_0x4b88('0x157')])['group']);if(0x0===_0x1143a7[_0x4b88('0x177')])return;_0x1143a7['sort']((_0x1c9035,_0x4689e5)=>{const _0x4726b5=_0x1c9035[_0x4b88('0x13d')]['oldRange'],_0x236ee3=_0x4689e5[_0x4b88('0x13d')][_0x4b88('0xde')];return null===_0x4726b5&&null===_0x236ee3?0x0:null===_0x4726b5&&null!==_0x236ee3?-0x1:null!==_0x4726b5&&null===_0x236ee3?0x1:_0x4726b5[_0x4b88('0xf0')][_0x4b88('0x10e')](_0x236ee3[_0x4b88('0xf0')])?-0x1:0x1;});const _0x4c1a8d=new Set(),_0x785f55=new Set();for(const {name:_0xee8402,data:_0x313194}of _0x1143a7){const {id:_0x231cab}=this[_0x4b88('0x12e')](_0xee8402);if(null===_0x313194[_0x4b88('0xde')]){const _0x1fcbab=this[_0x4b88('0xf1')](_0xee8402);_0x785f55[_0x4b88('0x12b')](_0x1fcbab);}else{const _0x47361f=this[_0x4b88('0x6')][_0x4b88('0x0')](_0x231cab);null!==_0x313194[_0x4b88('0xc1')]||_0x47361f[_0x4b88('0xb6')]?(_0x4c1a8d[_0x4b88('0x12b')](_0x47361f[_0x4b88('0x5b')]),_0x785f55[_0x4b88('0x12b')](_0x47361f)):this[_0x4b88('0x163')](_0x47361f);}}_0x785f55[_0x4b88('0x150')]>0x0&&this[_0x4b88('0xf8')](_0x785f55);for(const _0xb55792 of _0x4c1a8d)this[_0x4b88('0xa8')](_0x4b88('0x78'),_0xb55792);}),_0x5a0e16[_0x4b88('0x13c')]['on'](_0x4b88('0x4e'),(_0x33f0e4,_0x3630c0)=>{const _0x3e7292=_0x3630c0[0x0];if(!this[_0x4b88('0x6')][_0x4b88('0x150')])return;if(!_0x3e7292['isDocumentOperation'])return;if(_0x3e7292[_0x4b88('0x130')][_0x4b88('0xf5')]||!_0x3e7292[_0x4b88('0x130')]['isLocal'])return;let _0x56cc7b,_0x39cf8d;switch(_0x3e7292[_0x4b88('0x2c')]){case _0x4b88('0xdd'):_0x56cc7b=_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x117')](_0x3e7292[_0x4b88('0x167')]),_0x39cf8d=_0x56cc7b[_0x4b88('0xb4')](_0x3e7292[_0x4b88('0x3b')]);break;case _0x4b88('0xfb'):_0x56cc7b=_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x117')](_0x3e7292['splitPosition']),_0x39cf8d=_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x117')](_0x3e7292[_0x4b88('0xa7')]);break;case _0x4b88('0x7'):_0x56cc7b=_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x117')](_0x3e7292[_0x4b88('0x11')]),_0x39cf8d=_0x56cc7b[_0x4b88('0xb4')](_0x3e7292[_0x4b88('0x3b')]);break;default:return;}const _0x2173bf=_0x5a0e16['model']['createRange'](_0x56cc7b,_0x39cf8d);_0x5a0e16[_0x4b88('0x13c')]['change'](()=>{for(const {suggestion:_0x3957a7,meta:_0xbcfea3}of this[_0x4b88('0x171')](_0x2173bf)){if(_0x3957a7[_0x4b88('0x42')])continue;if(_0x4b88('0x134')==_0x3957a7[_0x4b88('0x2c')])continue;const _0x50b94e=this['_getAttributeKeyFromSubType'](_0x3957a7);if(_0x50b94e&&this[_0x4b88('0xb9')](_0x50b94e)&&_0x4b88('0xfb')!=_0x3e7292[_0x4b88('0x2c')])continue;const _0x20cf10=_0x3957a7[_0x4b88('0x13d')]&&_0x3957a7[_0x4b88('0x13d')][_0x4b88('0xed')];(_0x4b88('0x8b')!=_0x3957a7[_0x4b88('0x2c')]||_0x4b88('0xfb')==_0x3e7292[_0x4b88('0x2c')]&&!_0x20cf10)&&(_0xbcfea3[_0x4b88('0xda')]||_0x4b88('0xff')==_0x3957a7[_0x4b88('0x2c')]&&_0xbcfea3[_0x4b88('0x107')]||_0x3957a7[_0x4b88('0xa4')]()[_0x4b88('0x21')](_0x2173bf)&&this['_breakSuggestionMarker'](_0x3957a7,_0x56cc7b,_0x39cf8d));}});},{'priority':_0x4b88('0x116')}),_0x5a0e16[_0x4b88('0x13c')]['on']('deleteContent',(_0xdf898e,_0x3fb316)=>{const _0x56c2c7=_0x3fb316[0x0],_0x56bb5c=_0x3fb316[0x1];if(_0x56bb5c&&_0x56bb5c['forceDefaultExecution'])return;if(this[_0x4b88('0x14e')])return;if(!this[_0x4b88('0x138')][_0x4b88('0xf4')])return;if(_0x56c2c7['isCollapsed'])return;const _0x2ea411=_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x1f')],{start:_0x7cbbe5,end:_0x5b9320}=_0x56c2c7[_0x4b88('0xa4')](),_0x22fe20=_0x7cbbe5[_0x4b88('0x165')]&&_0x2ea411['isLimit'](_0x7cbbe5[_0x4b88('0x165')])?null:_0x2ea411[_0x4b88('0xad')](_0x7cbbe5,_0x4b88('0x148')),_0x2916b4=_0x5b9320[_0x4b88('0x176')]&&_0x2ea411['isLimit'](_0x5b9320[_0x4b88('0x176')])?null:_0x2ea411[_0x4b88('0xad')](_0x5b9320,_0x4b88('0x77')),_0x3e1fb8=_0x5a0e16['model'][_0x4b88('0xc2')](_0x22fe20?_0x22fe20['start']:_0x7cbbe5,_0x2916b4?_0x2916b4['end']:_0x5b9320);_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0xcf')](_0x51c3b0=>{this[_0x4b88('0xea')](_0x3e1fb8);const _0x48173b=_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x1f')]['getNearestSelectionRange'](_0x3e1fb8[_0x4b88('0xf0')]);_0x56c2c7['is'](_0x4b88('0x149'))?_0x51c3b0['setSelection'](_0x48173b):_0x56c2c7[_0x4b88('0x7d')](_0x48173b);}),_0xdf898e[_0x4b88('0x7f')]();},{'priority':_0x3134df[_0x4b88('0x71')]+0xa}),_0x5a0e16[_0x4b88('0x13c')]['on'](_0x4b88('0x61'),(_0x4a0297,_0x4cbe7f)=>{const _0x4dbcfd=_0x4cbe7f[_0x4cbe7f[_0x4b88('0x177')]-0x1];_0x4dbcfd&&_0x4dbcfd['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this[_0x4b88('0x138')]['value']&&(_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0xcf')](()=>{let _0x3fbaed=_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x61')](_0x4cbe7f[0x0],_0x4cbe7f[0x1],_0x4cbe7f[0x2],{'forceDefaultExecution':!0x0});if(!_0x3fbaed)return;_0x4a0297[_0x4b88('0x9a')]=_0x3fbaed['clone']();const _0xde087c=_0x3fbaed[_0x4b88('0x17a')][_0x4b88('0x176')],_0xb5563b=_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x1f')];_0xde087c&&_0xb5563b[_0x4b88('0x24')](_0xde087c)&&!_0xb5563b['isObject'](_0xde087c)&&(_0x3fbaed=_0x5a0e16['model'][_0x4b88('0xc2')](_0x3fbaed[_0x4b88('0xf0')],_0x5a0e16[_0x4b88('0x13c')][_0x4b88('0x117')](_0xde087c,_0x4b88('0x17a')))),this[_0x4b88('0xd9')](_0x3fbaed);}),_0x4a0297[_0x4b88('0x7f')]());},{'priority':_0x4b88('0x60')}),this[_0x4b88('0x13a')][_0x4b88('0x101')][_0x4b88('0x12b')](_0x4b88('0x12f'),this[_0x4b88('0x138')]),this[_0x4b88('0x160')](_0x4b88('0x12f'));const _0xbb3e2f=new _0x5ae55b(_0x5a0e16,this[_0x4b88('0x6')]);_0x5a0e16['commands']['add']('acceptSuggestion',_0xbb3e2f),this['enableCommand'](_0x4b88('0x153'));const _0x3bc4ef=new _0xea0b28(_0x5a0e16,this[_0x4b88('0x6')]);_0x5a0e16[_0x4b88('0x101')][_0x4b88('0x12b')](_0x4b88('0x15e'),_0x3bc4ef),this[_0x4b88('0x160')](_0x4b88('0x15e')),_0x5a0e16[_0x4b88('0x101')][_0x4b88('0x12b')](_0x4b88('0xab'),new _0x5d3465(_0x5a0e16,_0xbb3e2f,this[_0x4b88('0x6')])),this[_0x4b88('0x160')](_0x4b88('0xab')),_0x5a0e16[_0x4b88('0x101')][_0x4b88('0x12b')](_0x4b88('0x9f'),new _0x5d3465(_0x5a0e16,_0x3bc4ef,this[_0x4b88('0x6')])),this[_0x4b88('0x160')]('discardAllSuggestions'),_0x5a0e16[_0x4b88('0x101')][_0x4b88('0x12b')](_0x4b88('0x30'),new _0x9dec20(_0x5a0e16,_0xbb3e2f,this[_0x4b88('0x6')])),this[_0x4b88('0x160')](_0x4b88('0x30')),_0x5a0e16[_0x4b88('0x101')][_0x4b88('0x12b')](_0x4b88('0x14f'),new _0x9dec20(_0x5a0e16,_0x3bc4ef,this[_0x4b88('0x6')])),this[_0x4b88('0x160')](_0x4b88('0x14f'));const _0x3d6e18=_0x5a0e16[_0x4b88('0x18')][_0x4b88('0x0')](_0x4b88('0x5e'));this[_0x4b88('0x45')](_0x3d6e18,_0x4b88('0xfe'),(_0x390e8d,{threadId:_0x8ebb07})=>{const _0x291609=this[_0x4b88('0x6')][_0x4b88('0x0')](_0x8ebb07);_0x291609&&_0x291609[_0x4b88('0x123')]&&0x1===_0x291609[_0x4b88('0x123')][_0x4b88('0x177')]&&this['_updateSuggestionData'](_0x8ebb07,{'hasComments':!0x0});},{'priority':_0x4b88('0x179')}),this[_0x4b88('0x45')](_0x3d6e18,_0x4b88('0x1e'),(_0xa4144d,{threadId:_0x53db1a})=>{const _0x1faff6=this['_suggestions'][_0x4b88('0x0')](_0x53db1a);_0x1faff6&&_0x1faff6['commentThread']&&!_0x1faff6[_0x4b88('0x123')][_0x4b88('0x177')]&&this[_0x4b88('0x11e')](_0x53db1a,{'hasComments':!0x1});},{'priority':_0x4b88('0x179')});}set['adapter'](_0x5b0dc3){if(this['_adapter'])throw new _0x1dc44a('track-changes-adapter-already-set',this);this[_0x4b88('0xe2')]=_0x5b0dc3;}get['adapter'](){return this['_adapter'];}[_0x4b88('0xae')]({skipNotAttached:_0x30c816=!0x1,toJSON:_0x4ba4f9=!0x1}={}){const _0x423d1c=[];for(const _0x5dc7ea of this['_suggestions'][_0x4b88('0x9c')]())_0x30c816&&!_0x5dc7ea[_0x4b88('0xb6')]||_0x423d1c[_0x4b88('0x111')](_0x5dc7ea);return _0x4ba4f9?_0x423d1c[_0x4b88('0x136')](_0x2c682a=>_0x2c682a[_0x4b88('0x66')]()):_0x423d1c;}[_0x4b88('0x6e')](_0x36f02c){const _0x295e38=this[_0x4b88('0x6')]['get'](_0x36f02c);if(!_0x295e38)throw new _0x1dc44a(_0x4b88('0x121'),this);return _0x295e38;}[_0x4b88('0xd3')](_0x3fa5cd){return this['_suggestions'][_0x4b88('0x10d')](_0x3fa5cd);}['addSuggestionData'](_0x31f8ee){const {authorId:_0x50ce1c,id:_0x37b5f1,attributes:_0x3ed56a}=_0x31f8ee,[_0x365dc1,_0xb1e6]=_0x31f8ee['type'][_0x4b88('0xfb')](':'),_0x1e0636=this['_suggestions'][_0x4b88('0x0')](_0x37b5f1)||this[_0x4b88('0x36')](_0x365dc1,_0xb1e6,_0x37b5f1,_0x50ce1c,_0x3ed56a);if(this[_0x4b88('0x96')](_0x1e0636),this[_0x4b88('0x169')](_0x1e0636,_0x365dc1,_0xb1e6||null,_0x50ce1c),_0x1e0636['createdAt']=_0x31f8ee[_0x4b88('0x8a')],_0x1e0636[_0x4b88('0xe8')]=!0x0,_0x3ed56a&&_0x3ed56a[_0x4b88('0x17c')]){const _0x40a18d=_0x3ed56a[_0x4b88('0x17c')],_0x804887=this['_getExternalAuthor'](_0x40a18d[_0x4b88('0x59')]);_0x1e0636[_0x4b88('0x73')]=_0x40a18d['createdAt'],_0x1e0636['author']=_0x804887,_0x1e0636[_0x4b88('0x55')]=!0x0;}else _0x1e0636[_0x4b88('0x73')]=_0x31f8ee['createdAt'];switch(_0x31f8ee[_0x4b88('0x13d')]&&(_0x1e0636['data']=_0x31f8ee[_0x4b88('0x13d')]),_0x31f8ee['attributes']&&(_0x1e0636[_0x4b88('0x2b')]=_0x31f8ee[_0x4b88('0x2b')]),this[_0x4b88('0xe2')]&&this[_0x4b88('0xe2')][_0x4b88('0x100')]||(_0x1e0636[_0x4b88('0xdc')]=!0x0),this[_0x4b88('0xe1')][_0x4b88('0x0')](_0x1e0636)){case _0x4b88('0xf9'):this['_suggestionState']['set'](_0x1e0636,'dataReady');break;case _0x4b88('0x16d'):_0x1e0636[_0x4b88('0xb6')]?(this['_refreshSuggestionsChain'](new Set([_0x1e0636])),this[_0x4b88('0x97')](new Set([_0x1e0636])),this[_0x4b88('0xe1')][_0x4b88('0x15f')](_0x1e0636,_0x4b88('0xfc')),this['fire'](_0x4b88('0x10a'),_0x1e0636)):this[_0x4b88('0xe1')][_0x4b88('0x15f')](_0x1e0636,_0x4b88('0x9'));}return _0x1e0636;}['acceptSuggestion'](_0x36173b){this[_0x4b88('0x102')](()=>{this[_0x4b88('0x13a')]['model'][_0x4b88('0xcf')](()=>{for(const _0x47a004 of _0x36173b[_0x4b88('0x3c')]())_0x47a004['accept']();});});}[_0x4b88('0x15e')](_0x5225f8){this[_0x4b88('0x102')](()=>{this['editor'][_0x4b88('0x13c')][_0x4b88('0xcf')](()=>{for(const _0x1fbcb1 of _0x5225f8[_0x4b88('0x3c')]())_0x1fbcb1['discard']();});});}[_0x4b88('0x160')](_0x13c0d2,_0x1767c2){const _0x25e7dc=this['editor'][_0x4b88('0x101')][_0x4b88('0x0')](_0x13c0d2);if(!_0x25e7dc)throw new _0x1dc44a(_0x4b88('0x86'),this,{'commandName':_0x13c0d2});if(this[_0x4b88('0x11c')]['has'](_0x25e7dc))throw new _0x1dc44a(_0x4b88('0x104'),this,{'commandName':_0x13c0d2});this['_enabledCommands'][_0x4b88('0x12b')](_0x25e7dc),_0x1767c2&&_0x25e7dc['on']('execute',(_0x52bb77,_0x1cc1c7)=>{this[_0x4b88('0x138')][_0x4b88('0xf4')]&&(this['_isForcedDefaultExecutionBlock']||(_0x1cc1c7['length']>0x0&&_0x1cc1c7[_0x1cc1c7['length']-0x1]&&_0x1cc1c7[_0x1cc1c7[_0x4b88('0x177')]-0x1][_0x4b88('0x102')]?_0x1cc1c7[_0x4b88('0x70')]():(_0x52bb77[_0x4b88('0x9a')]=_0x1767c2((..._0x4588d7)=>_0x25e7dc[_0x4b88('0x161')](..._0x4588d7,{'forceDefaultExecution':!0x0}),..._0x1cc1c7),_0x52bb77[_0x4b88('0x7f')]())));},{'priority':_0x4b88('0x60')});}[_0x4b88('0x102')](_0x23c71c){let _0x178961,_0x56cdd5;const _0x3c8fc4=this[_0x4b88('0x14e')];this[_0x4b88('0x14e')]=!0x0;try{_0x178961=_0x23c71c();}catch(_0x4e767a){_0x56cdd5=_0x4e767a;}return _0x3c8fc4||(this[_0x4b88('0x14e')]=!0x1),_0x56cdd5&&_0x1dc44a[_0x4b88('0x133')](_0x56cdd5,this),_0x178961;}[_0x4b88('0xd9')](_0x301cd4,_0x3bc012=null,_0x18289c={}){if(_0x301cd4[_0x4b88('0x175')])return null;const _0x37aed9=this[_0x4b88('0x13a')][_0x4b88('0x18')][_0x4b88('0x0')]('Users')['me'];for(const {suggestion:_0x59a274,meta:_0x4ab522}of this['_findSuggestions'](_0x301cd4,_0x4b88('0xff')))if(_0x4ab522['isOwn']){if(!_0x4ab522[_0x4b88('0x12a')]){if(_0x4ab522['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!Ft(_0x59a274,_0x18289c))continue;return _0x59a274;}if(Ft(_0x59a274,_0x18289c))return _0x59a274;this[_0x4b88('0x12d')](_0x59a274,_0x301cd4[_0x4b88('0xf0')],_0x301cd4[_0x4b88('0x17a')]);break;}if(_0x3bc012==_0x59a274[_0x4b88('0x4')]&&Ft(_0x59a274,_0x18289c)){const _0x41f228=_0x59a274[_0x4b88('0xa4')]();return _0x41f228[_0x4b88('0xf0')][_0x4b88('0xf2')](_0x301cd4['end'])?this[_0x4b88('0x15c')](_0x59a274,this[_0x4b88('0x1b')][_0x4b88('0xc2')](_0x301cd4[_0x4b88('0xf0')],_0x41f228[_0x4b88('0x17a')])):this[_0x4b88('0x15c')](_0x59a274,this[_0x4b88('0x1b')][_0x4b88('0xc2')](_0x41f228['start'],_0x301cd4[_0x4b88('0x17a')])),_0x59a274;}}const _0x5b7175=_0x54241b(),_0x32f149=_0x37aed9['id'],_0x5d32fe=_0x3bc012?_0x4b88('0x11d')+_0x3bc012:_0x4b88('0xff'),_0x117e64=this[_0x4b88('0x17')]({'id':_0x5b7175,'type':_0x5d32fe,'createdAt':new Date(),'authorId':_0x32f149,'attributes':_0x18289c});return this[_0x4b88('0x4d')](_0x5d32fe,_0x5b7175,_0x32f149,_0x301cd4),_0x117e64;}['markMultiRangeInsertion'](_0x599d40,_0x4f2446='multi',_0x33f548={}){const _0xddff1a=this[_0x4b88('0x13a')][_0x4b88('0x18')][_0x4b88('0x0')]('Users')['me'],_0x4dd6a0=this[_0x4b88('0xb')][_0x4b88('0xc8')](_0x4b88('0xff'),_0x4f2446,_0x4b88('0xd7'));for(const _0x9661ed of this['getSuggestions']())if(_0x9661ed['author']['id']==_0xddff1a['id']&&_0x4b88('0xff')==_0x9661ed[_0x4b88('0x2c')]&&_0x9661ed[_0x4b88('0x4')]==_0x4f2446&&Ft(_0x9661ed,_0x33f548)&&(_0x4dd6a0(_0x9661ed[_0x4b88('0x5')](),_0x599d40)||_0x4dd6a0(_0x599d40,_0x9661ed[_0x4b88('0x5')]()))){for(const _0x25a4a7 of _0x599d40)_0x9661ed[_0x4b88('0xa')](_0x25a4a7);return _0x9661ed;}for(const {suggestion:_0x48fbc4,meta:_0x27b4a4}of this[_0x4b88('0x171')](_0x599d40,'insertion')){if(!_0x27b4a4[_0x4b88('0x107')])continue;if(!this[_0x4b88('0x15a')]&&_0x27b4a4[_0x4b88('0xda')])continue;if(!Ft(_0x48fbc4,_0x33f548))continue;let _0x2646ed=!0x0;for(const _0x51f606 of _0x48fbc4['getRanges']())for(const _0x551480 of _0x599d40)if(!_0x51f606[_0x4b88('0x21')](_0x551480)){_0x2646ed=!0x1;break;}if(_0x2646ed)return _0x48fbc4;}const _0x5ed1=_0x54241b(),_0xde399c=_0xddff1a['id'],_0x1af024=_0x4b88('0x11d')+_0x4f2446,_0x301925=this[_0x4b88('0x17')]({'id':_0x5ed1,'type':_0x1af024,'createdAt':new Date(),'authorId':_0xde399c,'attributes':_0x33f548});for(const _0x72cfe8 of _0x599d40)this['_addSuggestionMarker'](_0x1af024,_0x5ed1,_0xde399c,_0x72cfe8,_0x10193d['getMultiRangeId']());return _0x301925;}[_0x4b88('0xd')](_0x33741a,_0x5eb367,_0x1342b2=null,_0x58e564={}){if(_0x1342b2=_0x1342b2||Rt(_0x5eb367),_0x33741a[_0x4b88('0x175')])return null;if('never'===this[_0x4b88('0x145')]){const _0x2470ae=this[_0x4b88('0xb')][_0x4b88('0xc8')](_0x4b88('0x134'),_0x1342b2,_0x4b88('0xe'));return this[_0x4b88('0x102')](()=>_0x2470ae([_0x33741a],_0x5eb367,_0x58e564)),null;}const _0x15605a=this[_0x4b88('0x13a')][_0x4b88('0x18')]['get']('Users')['me'],_0x3be348=[];if(_0x4b88('0x8')!==this[_0x4b88('0x145')])for(const {suggestion:_0x1dfe74,meta:_0x1ee864}of this['_findSuggestions'](_0x33741a,_0x4b88('0xff')))_0x1ee864[_0x4b88('0x107')]&&!_0x1ee864['isInsideObject']&&_0x3be348[_0x4b88('0x111')](..._0x1dfe74['getRanges']());const _0x1ac9ed=function(_0xa755a,_0x114437){const _0x484356=[];for(const _0x420e91 of _0x114437){const _0x31860e=_0xa755a[_0x4b88('0x156')](_0x420e91);_0x31860e&&_0x484356[_0x4b88('0x111')](_0x31860e);}return _0x484356;}(_0x33741a,_0x3be348),_0x4fbe8f=function(_0x1cdf92,_0x43b883){const _0x1e1b72=[_0x1cdf92];for(const _0x27815a of _0x43b883){let _0x3c22ae=0x0;for(;_0x3c22ae<_0x1e1b72[_0x4b88('0x177')];){const _0x4dd5ae=_0x1e1b72[_0x3c22ae][_0x4b88('0x20')](_0x27815a);_0x1e1b72[_0x4b88('0x6f')](_0x3c22ae,0x1,..._0x4dd5ae),_0x3c22ae+=_0x4dd5ae[_0x4b88('0x177')];}}return _0x1e1b72;}(_0x33741a,_0x3be348);_0x1ac9ed['length']&&this['_model'][_0x4b88('0xcf')](()=>{for(const _0x4bbe82 of _0x1ac9ed){const _0x1f7a85=this[_0x4b88('0xb')][_0x4b88('0xc8')](_0x4b88('0x134'),_0x1342b2,'accept');this[_0x4b88('0x102')](()=>_0x1f7a85([_0x4bbe82],_0x5eb367,_0x58e564));}});for(const _0x1d97ff of _0x4fbe8f){let _0x280e4c=null,_0x4bb18a=_0x1d97ff['start'],_0x9e7dac=_0x1d97ff['end'];for(const {suggestion:_0x1cda4c,meta:_0x1f0d2c}of this[_0x4b88('0x171')](_0x1d97ff,_0x4b88('0x134'))){if(!_0x1f0d2c['isOwn'])continue;if(_0x1cda4c[_0x4b88('0x4')]!=_0x1342b2)continue;if(!Ft(_0x1cda4c,_0x58e564))continue;const _0x292831=_0x1cda4c[_0x4b88('0xa4')]();if(_0x292831[_0x4b88('0x21')](_0x1d97ff,!0x0))return null;_0x4bb18a=_0x4bb18a[_0x4b88('0x10e')](_0x292831[_0x4b88('0xf0')])?_0x4bb18a:_0x292831[_0x4b88('0xf0')],_0x9e7dac=_0x9e7dac[_0x4b88('0x89')](_0x292831[_0x4b88('0x17a')])?_0x9e7dac:_0x292831['end'],_0x280e4c?_0x292831[_0x4b88('0xf0')][_0x4b88('0x10e')](_0x280e4c['getFirstRange']()[_0x4b88('0xf0')])?(_0x280e4c[_0x4b88('0x25')](),_0x280e4c=_0x1cda4c):_0x1cda4c[_0x4b88('0x25')]():_0x280e4c=_0x1cda4c;}const _0x466ca1=this[_0x4b88('0x1b')]['createRange'](_0x4bb18a,_0x9e7dac);if(_0x280e4c)this[_0x4b88('0x15c')](_0x280e4c,_0x466ca1);else{const _0x27de66=_0x54241b(),_0x25928f=_0x15605a['id'];this['_setSuggestionData']({'id':_0x27de66,'type':_0x4b88('0xd1')+_0x1342b2,'data':_0x5eb367,'createdAt':new Date(),'authorId':_0x25928f,'attributes':_0x58e564}),this[_0x4b88('0x4d')](_0x4b88('0xd1')+_0x1342b2,_0x27de66,_0x25928f,_0x466ca1);}}return null;}[_0x4b88('0xd2')](_0x38b95a,_0x541733,_0x1324a9=[],_0x19d78a=null,_0x5a30e3={}){_0x541733[_0x4b88('0x88')]||(_0x541733[_0x4b88('0x88')]=_0x541733['commandName']),_0x541733[_0x4b88('0xed')]=_0x38b95a['is'](_0x4b88('0x7e')),_0x19d78a=_0x19d78a||Rt(_0x541733);const _0x78610e=_0x1324a9[_0x4b88('0x136')](_0x1fc72b=>Ut(_0x1fc72b,this['_model'])),_0x2e1605=_0x38b95a['is'](_0x4b88('0x7e'))?_0x38b95a:Ut(_0x38b95a,this[_0x4b88('0x1b')]);if('never'===this['_trackFormatChanges']){const _0x424078=this[_0x4b88('0xb')][_0x4b88('0xc8')](_0x4b88('0x8b'),_0x19d78a,_0x4b88('0xe'));return this[_0x4b88('0x102')](()=>_0x424078([_0x2e1605],_0x541733,_0x5a30e3)),null;}_0x78610e[_0x4b88('0x111')](_0x2e1605);let _0x33ac1f=!0x0;for(const _0x25f488 of _0x78610e)if(!this['_rangeIsInLocalUserInsertion'](_0x25f488)){_0x33ac1f=!0x1;break;}if(_0x33ac1f&&_0x4b88('0x8')!==this[_0x4b88('0x145')]){const _0x4d2666=this['_suggestionFactory'][_0x4b88('0xc8')](_0x4b88('0x8b'),_0x19d78a,_0x4b88('0xe'));return this[_0x4b88('0x102')](()=>_0x4d2666([_0x2e1605],_0x541733,_0x5a30e3)),null;}let _0x3e6e40=null,_0x326f6e=_0x2e1605['start'],_0x44bbdd=_0x2e1605['end'];for(const {suggestion:_0x400ebb,meta:_0xb25dd0}of this[_0x4b88('0x171')](_0x2e1605,_0x4b88('0x8b'))){if(!_0xb25dd0[_0x4b88('0x107')])continue;if(_0xb25dd0['isNextTo']||_0xb25dd0[_0x4b88('0xda')]||_0xb25dd0['isInsideObject'])continue;if(_0x400ebb[_0x4b88('0x13d')][_0x4b88('0x88')]!=_0x541733[_0x4b88('0x88')])continue;if(!Ft(_0x400ebb,_0x5a30e3))continue;const _0xa8eda2=_0x400ebb[_0x4b88('0xa4')]();if(_0x400ebb['subType']==_0x19d78a){if(_0xa8eda2['containsRange'](_0x2e1605,!0x0))return null;_0x326f6e=_0x326f6e[_0x4b88('0x10e')](_0xa8eda2['start'])?_0x326f6e:_0xa8eda2[_0x4b88('0xf0')],_0x44bbdd=_0x44bbdd[_0x4b88('0x89')](_0xa8eda2['end'])?_0x44bbdd:_0xa8eda2[_0x4b88('0x17a')],_0x3e6e40?_0xa8eda2[_0x4b88('0xf0')]['isBefore'](_0x3e6e40[_0x4b88('0xa4')]()['start'])?(_0x3e6e40[_0x4b88('0x25')](),_0x3e6e40=_0x400ebb):_0x400ebb[_0x4b88('0x25')]():_0x3e6e40=_0x400ebb;}else{const _0x428500=_0x2e1605[_0x4b88('0x156')](_0xa8eda2);this[_0x4b88('0x5d')](_0x400ebb,_0x428500);}}const _0x49f783=this[_0x4b88('0x13a')][_0x4b88('0x18')]['get'](_0x4b88('0x15d'))['me'],_0x39e1f9=_0x54241b(),_0x70e30=_0x49f783['id'];if(_0x3e6e40)return this[_0x4b88('0x15c')](_0x3e6e40,this['_model'][_0x4b88('0xc2')](_0x326f6e,_0x44bbdd)),_0x3e6e40;{const _0x543b58=this['_setSuggestionData']({'id':_0x39e1f9,'type':'formatBlock:'+_0x19d78a,'data':_0x541733,'createdAt':new Date(),'authorId':_0x70e30,'attributes':_0x5a30e3});return this[_0x4b88('0x4d')](_0x4b88('0x8f')+_0x19d78a,_0x39e1f9,_0x70e30,this[_0x4b88('0x1b')]['createRange'](_0x326f6e,_0x44bbdd)),_0x543b58;}}['markMultiRangeBlockFormat'](_0x2fbc97,_0x11d2c4,_0x23360c=[],_0x5d17f4=null,_0x36c3c8={}){_0x11d2c4['formatGroupId']||(_0x11d2c4[_0x4b88('0x88')]=_0x11d2c4[_0x4b88('0x83')]);const _0x1a94b3=_0x2fbc97[0x0];_0x11d2c4[_0x4b88('0xed')]=_0x1a94b3['is']('range'),_0x5d17f4=_0x5d17f4||Rt(_0x11d2c4);const _0x3c0117=_0x23360c[_0x4b88('0x136')](_0x4b0e3c=>Ut(_0x4b0e3c,this[_0x4b88('0x1b')])),_0x2abe81=_0x1a94b3['is']('range')?_0x2fbc97:_0x2fbc97[_0x4b88('0x136')](_0x56a567=>Ut(_0x56a567,this[_0x4b88('0x1b')]));if('never'===this[_0x4b88('0x145')]){const _0x5ab899=this[_0x4b88('0xb')][_0x4b88('0xc8')](_0x4b88('0x8b'),_0x5d17f4,_0x4b88('0xe'));return this[_0x4b88('0x102')](()=>_0x5ab899(_0x2abe81,_0x11d2c4,_0x36c3c8)),null;}_0x3c0117['push'](..._0x2abe81);let _0xe6e883=!0x0;for(const _0x318f9a of _0x3c0117)if(!this['_rangeIsInLocalUserInsertion'](_0x318f9a)){_0xe6e883=!0x1;break;}if(_0xe6e883&&_0x4b88('0x8')!==this[_0x4b88('0x145')]){const _0x907ce1=this[_0x4b88('0xb')]['getSuggestionCallback'](_0x4b88('0x8b'),_0x5d17f4,'accept');return this[_0x4b88('0x102')](()=>_0x907ce1(_0x2abe81,_0x11d2c4,_0x36c3c8)),null;}const _0x3bd2b5=this[_0x4b88('0x13a')][_0x4b88('0x18')][_0x4b88('0x0')](_0x4b88('0x15d'))['me'];for(const _0x1bc8fe of this['getSuggestions']()){if(_0x1bc8fe['author']['id']!=_0x3bd2b5['id'])continue;if(_0x4b88('0x8b')!=_0x1bc8fe[_0x4b88('0x2c')]||_0x1bc8fe[_0x4b88('0x13d')][_0x4b88('0x88')]!=_0x11d2c4[_0x4b88('0x88')])continue;if(!Ft(_0x1bc8fe,_0x36c3c8))continue;const _0x323c65=_0x1bc8fe[_0x4b88('0x4')]==_0x5d17f4;for(let _0x514681=0x0;_0x514681<_0x2abe81[_0x4b88('0x177')];_0x514681++){const _0x423b98=_0x2abe81[_0x514681];for(const _0x49d41c of _0x1bc8fe['getMarkers']()){const _0x3c9396=_0x49d41c[_0x4b88('0x14d')]();if(_0x423b98[_0x4b88('0xf2')](_0x3c9396)){_0x323c65?(_0x2abe81[_0x4b88('0x6f')](_0x514681,0x1),_0x514681--):_0x1bc8fe[_0x4b88('0xe6')](_0x49d41c[_0x4b88('0x157')]);break;}}}}if(0x0==_0x2abe81['length'])return null;const _0x3ab996=this[_0x4b88('0xb')]['getSuggestionCallback'](_0x4b88('0x8b'),_0x5d17f4,_0x4b88('0xd7'));for(const _0x4de698 of this[_0x4b88('0xae')]())if(_0x4de698['author']['id']==_0x3bd2b5['id']&&_0x4b88('0x8b')==_0x4de698[_0x4b88('0x2c')]&&_0x4de698[_0x4b88('0x13d')][_0x4b88('0x88')]==_0x11d2c4[_0x4b88('0x88')]&&_0x4de698[_0x4b88('0x4')]==_0x5d17f4&&Ft(_0x4de698,_0x36c3c8)&&(_0x3ab996(_0x4de698[_0x4b88('0x5')](),_0x2abe81)||_0x3ab996(_0x2abe81,_0x4de698[_0x4b88('0x5')]()))){for(const _0x1b7b64 of _0x2abe81)_0x4de698[_0x4b88('0xa')](_0x1b7b64);return _0x4de698;}const _0x3c4085=_0x54241b(),_0x301256=_0x3bd2b5['id'],_0x4431a4='formatBlock:'+_0x5d17f4,_0x222e99=this[_0x4b88('0x17')]({'id':_0x3c4085,'type':_0x4431a4,'data':_0x11d2c4,'createdAt':new Date(),'authorId':_0x301256,'attributes':_0x36c3c8});for(const _0x1e59df of _0x2abe81)this['_addSuggestionMarker'](_0x4431a4,_0x3c4085,_0x301256,_0x1e59df,_0x10193d[_0x4b88('0x118')]());return _0x222e99;}[_0x4b88('0xea')](_0x2921d2,_0x56542c=null,_0x4621a0={}){if(_0x2921d2[_0x4b88('0x175')])return null;const _0x5e7b94=this[_0x4b88('0x13a')][_0x4b88('0x18')]['get'](_0x4b88('0x15d'))['me'],_0x31d4e4=new _0x34e984(_0x2921d2['start'],_0x2921d2['end']);for(const {suggestion:_0x749534,meta:_0x19b99a}of this[_0x4b88('0x171')](_0x31d4e4,_0x4b88('0xff')))if(_0x19b99a['isOwn']&&!_0x19b99a['isNextTo']){if(_0x749534[_0x4b88('0x42')]){const _0x4b27ae=_0x749534[_0x4b88('0x5')]()[_0x4b88('0x2f')](_0x2af5e2=>_0x4b88('0x6c')!=_0x2af5e2[_0x4b88('0xc')]['rootName']);_0x4b27ae[_0x4b88('0x9b')](_0x189b80=>_0x31d4e4[_0x4b88('0x21')](_0x189b80,!0x0))&&_0x749534[_0x4b88('0x1d')]();if(_0x4b27ae['some'](_0x4c0c1e=>_0x4c0c1e[_0x4b88('0x21')](_0x31d4e4,!0x0))){const _0x37a885=this['_suggestionFactory'][_0x4b88('0xc8')]('deletion',_0x56542c,_0x4b88('0xe'));return this['forceDefaultExecution'](()=>_0x37a885([_0x31d4e4],null,_0x4621a0)),null;}}else{const _0xdec260=_0x31d4e4[_0x4b88('0x156')](_0x749534[_0x4b88('0xa4')]());null!==_0xdec260&&_0x749534[_0x4b88('0xe0')]([_0xdec260],null,_0x4621a0);}}if(_0x31d4e4['detach'](),_0x31d4e4[_0x4b88('0x175')]||_0x4b88('0x6c')==_0x31d4e4[_0x4b88('0xc')]['rootName'])return null;let _0x234dd0=null,_0x3e5de2=_0x31d4e4[_0x4b88('0xf0')],_0x3c0f8e=_0x31d4e4['end'];const _0xb332d0=this[_0x4b88('0x171')](_0x31d4e4,_0x4b88('0x93'));for(const {suggestion:_0x52826a,meta:_0x15ab78}of _0xb332d0){const _0x1265dd=this['_model'][_0x4b88('0xc2')](_0x3e5de2,_0x3c0f8e);if(_0x15ab78[_0x4b88('0x107')]&&(this[_0x4b88('0x15a')]||!_0x15ab78['containsRangeInObject']&&!_0x15ab78[_0x4b88('0xe7')])){if(_0x52826a[_0x4b88('0x42')]){if(!Ft(_0x52826a,_0x4621a0))continue;let _0x4c27d4=!0x0;for(const _0x331ae0 of _0x52826a['getRanges']()){if(_0x331ae0[_0x4b88('0x21')](_0x1265dd,!0x0))return _0x52826a;_0x1265dd[_0x4b88('0x21')](_0x331ae0)||(_0x4c27d4=!0x1);}_0x4c27d4&&_0x52826a[_0x4b88('0x1d')]();}else{const _0x518953=_0x52826a[_0x4b88('0xa4')]();if(_0x518953['containsRange'](_0x1265dd,!0x0))return _0x52826a;if(!Ft(_0x52826a,_0x4621a0)){_0x1265dd[_0x4b88('0x21')](_0x518953)?_0x52826a[_0x4b88('0x25')]():_0x518953[_0x4b88('0xba')](_0x3e5de2)?_0x3e5de2=_0x518953[_0x4b88('0x17a')]:_0x518953['containsPosition'](_0x3c0f8e)&&(_0x3c0f8e=_0x518953[_0x4b88('0xf0')]);continue;}_0x3e5de2=_0x3e5de2['isBefore'](_0x518953[_0x4b88('0xf0')])?_0x3e5de2:_0x518953[_0x4b88('0xf0')],_0x3c0f8e=_0x3c0f8e[_0x4b88('0x89')](_0x518953[_0x4b88('0x17a')])?_0x3c0f8e:_0x518953['end'],_0x4621a0=Object['assign']({},_0x52826a[_0x4b88('0x2b')]),_0x234dd0?_0x518953[_0x4b88('0xf0')][_0x4b88('0x10e')](_0x234dd0[_0x4b88('0xa4')]()[_0x4b88('0xf0')])?(_0x234dd0[_0x4b88('0x25')](),_0x234dd0=_0x52826a):_0x52826a[_0x4b88('0x25')]():_0x234dd0=_0x52826a;}}}if(_0x234dd0)return this['_setSuggestionRange'](_0x234dd0,this[_0x4b88('0x1b')][_0x4b88('0xc2')](_0x3e5de2,_0x3c0f8e)),_0x234dd0;{const _0x283bac=_0x54241b(),_0x482044=this[_0x4b88('0x1b')][_0x4b88('0xc2')](_0x3e5de2,_0x3c0f8e),_0x3264ee=_0x5e7b94['id'],_0x2577e8=_0x56542c?_0x4b88('0x3')+_0x56542c:_0x4b88('0x93'),_0x4b5d13=this[_0x4b88('0x17')]({'id':_0x283bac,'type':_0x2577e8,'createdAt':new Date(),'authorId':_0x3264ee,'attributes':_0x4621a0});return this[_0x4b88('0x4d')](_0x2577e8,_0x283bac,_0x3264ee,_0x482044),_0x4b5d13;}}[_0x4b88('0x16a')](_0x582aaa,_0x1b0c82=_0x4b88('0x14b'),_0x321f6c={}){const _0x2a3339=this[_0x4b88('0x13a')][_0x4b88('0x18')][_0x4b88('0x0')](_0x4b88('0x15d'))['me'],_0x3e2c56=_0x582aaa[_0x4b88('0x136')](_0x1f7474=>new _0x34e984(_0x1f7474[_0x4b88('0xf0')],_0x1f7474[_0x4b88('0x17a')])),_0x5edd5a=new Set();for(const {suggestion:_0x4acda5,meta:_0x1a597c}of this[_0x4b88('0x171')](_0x3e2c56,_0x4b88('0xff')))_0x1a597c['isOwn']&&!_0x1a597c[_0x4b88('0x12a')]&&_0x5edd5a['add'](_0x4acda5);for(const _0x46d354 of _0x5edd5a)if(_0x46d354['isMultiRange']){const _0x30f102=_0x46d354[_0x4b88('0x5')]();(!_0x46d354[_0x4b88('0x2b')]||!_0x46d354[_0x4b88('0x2b')]['skipNestingCheck'])&&(_0x30f102[_0x4b88('0x9b')](_0x53eb25=>_0x3e2c56[_0x4b88('0xa2')](_0x5598c3=>_0x5598c3[_0x4b88('0x21')](_0x53eb25,!0x0)))&&_0x46d354[_0x4b88('0x1d')]());if(_0x3e2c56[_0x4b88('0x9b')](_0x2e4d3a=>_0x30f102[_0x4b88('0xa2')](_0x1de66b=>_0x1de66b[_0x4b88('0x21')](_0x2e4d3a,!0x0)))){const _0x42869a=this['_suggestionFactory'][_0x4b88('0xc8')](_0x4b88('0x93'),_0x1b0c82,'accept');return this[_0x4b88('0x102')](()=>_0x42869a(_0x582aaa,null,_0x321f6c)),null;}}else{const _0x49d40f=_0x46d354[_0x4b88('0xa4')]();_0x3e2c56[_0x4b88('0xa2')](_0x12b95e=>_0x12b95e[_0x4b88('0x21')](_0x49d40f,!0x0))&&_0x46d354[_0x4b88('0x1d')]();if(_0x3e2c56[_0x4b88('0x9b')](_0x4b05b6=>_0x49d40f[_0x4b88('0x21')](_0x4b05b6,!0x0))){const _0xf97bb6=this[_0x4b88('0xb')][_0x4b88('0xc8')]('deletion',_0x1b0c82,'accept');return this['forceDefaultExecution'](()=>_0xf97bb6(_0x3e2c56,null,_0x321f6c)),null;}}const _0x3f3b63=this[_0x4b88('0xb')][_0x4b88('0xc8')]('deletion',_0x1b0c82,_0x4b88('0xd7'));let _0x4a5e39=null;for(const _0x4b4284 of this[_0x4b88('0xae')]())if(_0x4b4284['author']['id']==_0x2a3339['id']&&_0x4b4284[_0x4b88('0xb6')]&&_0x4b88('0x93')==_0x4b4284[_0x4b88('0x2c')]&&_0x4b4284[_0x4b88('0x4')]==_0x1b0c82&&Ft(_0x4b4284,_0x321f6c)&&(_0x3f3b63(_0x4b4284[_0x4b88('0x5')](),_0x3e2c56)||_0x3f3b63(_0x3e2c56,_0x4b4284[_0x4b88('0x5')]()))){if(_0x4a5e39){if(_0x4b4284[_0x4b88('0x123')]&&_0x4b4284['commentThread'][_0x4b88('0x177')])continue;for(const _0x219705 of _0x4b4284[_0x4b88('0x5')]())_0x4a5e39[_0x4b88('0xb7')](_0x219705)||_0x4a5e39[_0x4b88('0xa')](_0x219705);_0x4b4284[_0x4b88('0x25')]();}else{_0x4a5e39=_0x4b4284;for(const _0x1553e5 of _0x3e2c56)_0x4b4284['isIntersectingWithRange'](_0x1553e5)||_0x4b4284[_0x4b88('0xa')](_0x1553e5);}}if(_0x4a5e39)return _0x4a5e39;_0x5edd5a[_0x4b88('0x146')]();for(const {suggestion:_0x4653f8,meta:_0x49299f}of this['_findSuggestions'](_0x3e2c56,_0x4b88('0x93')))_0x49299f[_0x4b88('0x107')]&&(this[_0x4b88('0x15a')]||!_0x49299f[_0x4b88('0xda')]&&!_0x49299f[_0x4b88('0xe7')])&&Ft(_0x4653f8,_0x321f6c)&&_0x5edd5a[_0x4b88('0x12b')](_0x4653f8);for(const _0x192525 of _0x5edd5a){const _0x874b7d=_0x192525[_0x4b88('0x5')]();if(!_0x321f6c||!_0x321f6c[_0x4b88('0x35')]){if(_0x3e2c56[_0x4b88('0x9b')](_0x33622b=>_0x874b7d[_0x4b88('0xa2')](_0x37f988=>_0x37f988['containsRange'](_0x33622b,!0x0))))return _0x192525;}(!_0x192525[_0x4b88('0x2b')]||!_0x192525[_0x4b88('0x2b')][_0x4b88('0x35')])&&(_0x874b7d[_0x4b88('0x9b')](_0x21e139=>_0x3e2c56[_0x4b88('0xa2')](_0x522c26=>_0x522c26[_0x4b88('0x21')](_0x21e139,!0x0)))&&_0x192525['discard']());}const _0x1fe8ef=_0x54241b(),_0x216ca2=_0x2a3339['id'],_0xc82aea=_0x4b88('0x3')+_0x1b0c82,_0x5a177c=this[_0x4b88('0x17')]({'id':_0x1fe8ef,'type':_0xc82aea,'createdAt':new Date(),'authorId':_0x216ca2,'attributes':_0x321f6c});for(const _0x5976fe of _0x3e2c56)_0x5976fe['detach'](),_0x5976fe['isCollapsed']||_0x4b88('0x6c')==_0x5976fe[_0x4b88('0xc')][_0x4b88('0xcb')]||this[_0x4b88('0x4d')](_0xc82aea,_0x1fe8ef,_0x216ca2,_0x5976fe,_0x10193d['getMultiRangeId']());return _0x5a177c;}[_0x4b88('0x9e')](_0x1fba1f,_0x2fcc70,_0x2c9d49,_0x5ee5d2,_0x4540c6){if(_0x1fba1f[_0x4b88('0x175')])return[];if('never'===this[_0x4b88('0x145')])return[];const _0x255d1a=this[_0x4b88('0x13a')][_0x4b88('0x18')][_0x4b88('0x0')](_0x4b88('0x15d'))['me']['id'],_0xf070a=Array['from'](this[_0x4b88('0x6')][_0x4b88('0x9c')]())[_0x4b88('0x2f')](_0x38b7fe=>_0x4b88('0xef')==_0x38b7fe[_0x4b88('0x2c')]&&_0x38b7fe[_0x4b88('0x13d')][_0x4b88('0x16c')]==_0x2fcc70&&_0x38b7fe[_0x4b88('0xb7')](_0x1fba1f));if('default'===this[_0x4b88('0x145')]){const _0x7eb82a=this[_0x4b88('0x171')](_0x1fba1f,_0x4b88('0xff'))[_0x4b88('0x2f')](({meta:_0x23ead4})=>_0x23ead4['isOwn']&&!_0x23ead4[_0x4b88('0xe7')]&&!_0x23ead4['isNextTo'])[_0x4b88('0x136')](({suggestion:_0x125c59})=>_0x125c59);_0xf070a[_0x4b88('0xb5')](..._0x7eb82a);}const _0x155975=new Map([[_0x1fba1f,_0x2c9d49]]);for(const _0x146744 of _0xf070a){const _0xb1f43a=_0x4b88('0xef')==_0x146744['type']?_0x146744[_0x4b88('0x13d')][_0x4b88('0x1a')]:void 0x0,_0x47e78a=_0x146744[_0x4b88('0xa4')](),_0xc91bc5=Array[_0x4b88('0xe5')](_0x155975[_0x4b88('0x16')]())['find'](_0x41e6b0=>_0x41e6b0[_0x4b88('0x127')](_0x47e78a));_0xc91bc5&&(_0x155975['delete'](_0xc91bc5),_0xc91bc5[_0x4b88('0x20')](_0x47e78a)['forEach'](_0x4eea57=>{_0x155975[_0x4b88('0x15f')](_0x4eea57,_0x2c9d49);}),'insertion'!=_0x146744[_0x4b88('0x2c')]&&_0xb1f43a!=_0x5ee5d2&&_0x155975['set'](_0xc91bc5['getIntersection'](_0x47e78a),_0xb1f43a));}const _0x1ee5b9=[];for(const [_0x52ff77,_0x2cb1bc]of _0x155975){const _0x1d363e=_0x54241b(),_0x51fbfb={'key':_0x2fcc70,'oldValue':_0x2cb1bc,'newValue':_0x5ee5d2};_0x2fcc70['length']>0x25&&console[_0x4b88('0x33')](_0x4b88('0x10f'),{'key':_0x2fcc70});const _0x309035=(_0x4b88('0xa1')+(_0x2fcc70+'|'+Rt({'newValue':_0x5ee5d2})))[_0x4b88('0x65')](0x0,0x3c),_0x22620f=this[_0x4b88('0x17')]({'id':_0x1d363e,'type':_0x309035,'data':_0x51fbfb,'createdAt':new Date(),'authorId':_0x255d1a,'attributes':_0x4540c6});_0x1ee5b9[_0x4b88('0x111')](_0x22620f),this['_addSuggestionMarker'](_0x309035,_0x1d363e,_0x255d1a,_0x52ff77);}return _0x1ee5b9;}[_0x4b88('0x16b')](_0xcd111d){this['_blockAttributeKeys'][_0x4b88('0x12b')](_0xcd111d);}[_0x4b88('0x37')](_0xc40917){this[_0x4b88('0x14c')][_0x4b88('0x12b')](_0xc40917);}[_0x4b88('0xc0')](_0x2b0c77,_0x4c4974=[],_0x4303c3=[]){this[_0x4b88('0x160')](_0x2b0c77,(_0x2af2ae,..._0x1d27df)=>{this[_0x4b88('0xc4')](()=>{_0x2af2ae(..._0x1d27df);});});for(const _0x565b21 of _0x4c4974)this[_0x4b88('0x37')](_0x565b21);for(const _0xbb2133 of _0x4303c3)this['_registerBlockAttribute'](_0xbb2133);}[_0x4b88('0x15c')](_0x2f007c,_0x2deaa7){const _0x235641=_0x2f007c[_0x4b88('0x43')]();this[_0x4b88('0x1b')][_0x4b88('0xcf')](_0x290ab9=>{_0x290ab9[_0x4b88('0xa9')](_0x235641,{'range':_0x2deaa7});});}[_0x4b88('0x96')](_0x537afb){const _0x3f837c=_0x537afb['id'],_0x357749=this['editor'][_0x4b88('0xcc')][_0x4b88('0x0')]('collaboration.channelId');this[_0x4b88('0xbe')][_0x4b88('0x13f')](_0x3f837c)||this[_0x4b88('0xbe')]['addCommentThread']({'channelId':_0x357749,'threadId':_0x3f837c,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x426281=this['_commentsRepository'][_0x4b88('0x49')](_0x3f837c);_0x426281['unbind'](_0x4b88('0x12c')),_0x426281[_0x4b88('0x12c')]=!0x1,_0x537afb['commentThread']=_0x426281;}['_checkSuggestionCorrectness'](_0x37e717,_0x53870d,_0x4e7ede,_0x59d59c){if(_0x37e717[_0x4b88('0x2c')]!=_0x53870d||_0x37e717['subType']!=_0x4e7ede||_0x37e717[_0x4b88('0xa0')]['id']!=_0x59d59c)throw this[_0x4b88('0x13a')]['enableReadOnlyMode'](_0x4b88('0xfd')),new _0x1dc44a(_0x4b88('0xfd'),this);}[_0x4b88('0x5d')](_0x375b9a,_0x4331c1){const _0x2c7ee3=_0x375b9a['getFirstRange']();if(_0x4331c1[_0x4b88('0xf2')](_0x2c7ee3))_0x375b9a[_0x4b88('0x25')]();else{if(_0x2c7ee3[_0x4b88('0x21')](_0x4331c1)){const _0xe08f0=this[_0x4b88('0x1b')][_0x4b88('0x117')](_0x4331c1[_0x4b88('0xf0')]['nodeBefore'],_0x4b88('0x17a'));this[_0x4b88('0x15c')](_0x375b9a,this[_0x4b88('0x1b')][_0x4b88('0xc2')](_0x2c7ee3[_0x4b88('0xf0')],_0xe08f0));const _0x34e4cf=_0x54241b(),_0x28a80f=_0x375b9a[_0x4b88('0xa0')]['id'],_0x28920f=_0x375b9a[_0x4b88('0x2c')]+':'+_0x375b9a[_0x4b88('0x4')];this['_setSuggestionData']({'id':_0x34e4cf,'type':_0x28920f,'createdAt':new Date(),'authorId':_0x28a80f,'data':_0x375b9a[_0x4b88('0x13d')],'attributes':_0x375b9a[_0x4b88('0x2b')]});const _0x1e622d=this[_0x4b88('0x1b')][_0x4b88('0x117')](_0x4331c1['end'][_0x4b88('0xf6')],'after'),_0x1a48b8=this['_model'][_0x4b88('0xc2')](_0x1e622d,_0x2c7ee3['end']);this[_0x4b88('0x4d')](_0x28920f,_0x34e4cf,_0x28a80f,_0x1a48b8);}else{if(_0x2c7ee3[_0x4b88('0xba')](_0x4331c1['start'])){const _0x238c34=this['_model'][_0x4b88('0x117')](_0x4331c1[_0x4b88('0xf0')][_0x4b88('0x176')],_0x4b88('0x17a'));this[_0x4b88('0x15c')](_0x375b9a,this[_0x4b88('0x1b')]['createRange'](_0x2c7ee3[_0x4b88('0xf0')],_0x238c34));}else{const _0x30c101=this[_0x4b88('0x1b')][_0x4b88('0x117')](_0x4331c1[_0x4b88('0x17a')]['parent'],_0x4b88('0xa5'));this[_0x4b88('0x15c')](_0x375b9a,this['_model']['createRange'](_0x30c101,_0x2c7ee3[_0x4b88('0x17a')]));}}}}[_0x4b88('0x29')](_0x27a6a2){for(const {suggestion:_0x1a3409,meta:_0x2ce7ae}of this['_findSuggestions'](_0x27a6a2,_0x4b88('0xff'))){if(!_0x2ce7ae[_0x4b88('0x107')])continue;const _0x3d7422=_0x1a3409[_0x4b88('0x5')]();for(const _0x10ba62 of _0x3d7422)if(!_0x27a6a2[_0x4b88('0x20')](_0x10ba62)[_0x4b88('0x177')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x4d12f5){const _0x4d68d4=this[_0x4b88('0x13a')][_0x4b88('0x18')][_0x4b88('0x0')]('Users')[_0x4b88('0x90')](_0x4d12f5);if(!_0x4d68d4)throw new _0x1dc44a('track-changes-user-not-found',this);return _0x4d68d4;}[_0x4b88('0x64')](_0x33413b){const _0x2c0f91=this[_0x4b88('0x13a')][_0x4b88('0x18')][_0x4b88('0x0')](_0x4b88('0x15d')),_0x1def49=_0x1916db(_0x4b88('0x58')+_0x33413b),_0x48d076=_0x2c0f91['getUser'](_0x1def49);return _0x48d076||_0x2c0f91['addUser']({'id':_0x1def49,'name':_0x33413b});}['_createSuggestion'](_0x4690b2,_0x1b55d2,_0x45adf8,_0x18245e,_0x339b9e){const _0x3dcbb7=this[_0x4b88('0x39')](_0x18245e),_0x8770d8=this[_0x4b88('0xb')][_0x4b88('0x8c')](_0x4690b2,_0x1b55d2,_0x45adf8,_0x3dcbb7,_0x339b9e,_0x8d80b7=>this[_0x4b88('0x11e')](_0x45adf8,{'attributes':_0x8d80b7}));return this['listenTo'](_0x8770d8,_0x4b88('0xe'),()=>{this[_0x4b88('0x11e')](_0x45adf8,{'state':'accepted'});},{'priority':_0x4b88('0x60')}),this[_0x4b88('0x45')](_0x8770d8,_0x4b88('0x1d'),()=>{this[_0x4b88('0x11e')](_0x45adf8,{'state':_0x4b88('0x31')});},{'priority':_0x4b88('0x60')}),this[_0x4b88('0x6')][_0x4b88('0x15f')](_0x45adf8,_0x8770d8),this[_0x4b88('0xe1')][_0x4b88('0x15f')](_0x8770d8,'notReady'),_0x8770d8;}['_splitMarkerName'](_0x3bcc74){const _0x5828b2=_0x3bcc74[_0x4b88('0xfb')](':');return{'group':_0x5828b2[0x0],'type':_0x5828b2[0x1],'subType':_0x5828b2['length']>=0x5?_0x5828b2[0x2]:null,'id':_0x5828b2[_0x4b88('0x177')]<0x5?_0x5828b2[0x2]:_0x5828b2[0x3],'authorId':_0x5828b2[_0x4b88('0x177')]<0x5?_0x5828b2[0x3]:_0x5828b2[0x4],'markerCount':0x6==_0x5828b2['length']?_0x5828b2[0x5]:null};}[_0x4b88('0x12d')](_0x50b151,_0x4c02d7,_0x4e7c4c){const _0x5bff50=_0x50b151['getFirstRange'](),_0x2c37c5=_0x5bff50[_0x4b88('0xf0')],_0x4f2f5a=_0x5bff50['end'];this['_setSuggestionRange'](_0x50b151,this[_0x4b88('0x1b')]['createRange'](_0x2c37c5,_0x4c02d7));const _0x592b54=_0x54241b(),_0x506a7c=_0x50b151[_0x4b88('0xa0')]['id'],_0x315c78=_0x50b151[_0x4b88('0x2c')]+(_0x50b151[_0x4b88('0x4')]?':'+_0x50b151[_0x4b88('0x4')]:'');this[_0x4b88('0x17')]({'id':_0x592b54,'type':_0x315c78,'createdAt':new Date(),'authorId':_0x506a7c,'originalSuggestionId':_0x50b151['id'],'attributes':_0x50b151[_0x4b88('0x2b')],'data':_0x50b151[_0x4b88('0x13d')]});const _0xa9b18c=this[_0x4b88('0x40')](_0x50b151);(_0x4b88('0x8b')==_0x50b151['type']||_0xa9b18c&&this[_0x4b88('0xb9')](_0xa9b18c))&&(_0x4e7c4c=this[_0x4b88('0x1b')]['createPositionBefore'](_0x4e7c4c[_0x4b88('0xf6')])),this[_0x4b88('0x4d')](_0x315c78,_0x592b54,_0x506a7c,this[_0x4b88('0x1b')][_0x4b88('0xc2')](_0x4e7c4c,_0x4f2f5a));}[_0x4b88('0x171')](_0x59b11b,_0x31fa7a=null){const _0x3ef6b9=[],_0x54d08f=this[_0x4b88('0x13a')][_0x4b88('0x18')][_0x4b88('0x0')]('Users')['me'];Array[_0x4b88('0xa6')](_0x59b11b)||(_0x59b11b=[_0x59b11b]);for(const _0x1fbfae of this['getSuggestions']()){if(!_0x1fbfae[_0x4b88('0xb6')])continue;if(_0x31fa7a&&_0x1fbfae['type']!=_0x31fa7a)continue;let _0x470f27=!0x1;for(const _0x4613ae of _0x1fbfae['getRanges']()){for(const _0x54354f of _0x59b11b){const _0x20044e=_0x54354f['start'][_0x4b88('0xf2')](_0x4613ae[_0x4b88('0x17a')])||_0x54354f['end']['isEqual'](_0x4613ae[_0x4b88('0xf0')]);if(_0x20044e||_0x54354f[_0x4b88('0x156')](_0x4613ae)){const _0x236afd=_0x54354f[_0x4b88('0x21')](_0x4613ae)&&Tt(this[_0x4b88('0x1b')][_0x4b88('0x1f')],_0x4613ae[_0x4b88('0xf0')],_0x54354f),_0x4a417c=_0x4613ae['containsRange'](_0x54354f)&&Tt(this[_0x4b88('0x1b')]['schema'],_0x54354f[_0x4b88('0xf0')],_0x4613ae);_0x3ef6b9['push']({'suggestion':_0x1fbfae,'meta':{'isOwn':_0x54d08f==_0x1fbfae['author'],'isNextTo':_0x20044e,'isInsideObject':_0x236afd,'containsRangeInObject':_0x4a417c}}),_0x470f27=!0x0;break;}}if(_0x470f27)break;}}return _0x3ef6b9;}[_0x4b88('0x4d')](_0x2c3004,_0x5a83d4,_0x48863b,_0x1e8f85,_0x1ebc40){this[_0x4b88('0x1b')][_0x4b88('0xcf')](_0xeba2a0=>{let _0x5d00fa=_0x4b88('0x135')+_0x2c3004+':'+_0x5a83d4+':'+_0x48863b;_0x1ebc40&&(_0x5d00fa=_0x5d00fa+':'+_0x1ebc40),_0xeba2a0[_0x4b88('0x108')](_0x5d00fa,{'range':_0x1e8f85,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x51bcf0){const _0x357e50=_0x51bcf0['previous'],_0x535667=_0x51bcf0[_0x4b88('0xbc')];_0x51bcf0[_0x4b88('0xb3')]=null,_0x51bcf0['next']=null,null!=_0x357e50&&(_0x357e50['next']=_0x535667),null!=_0x535667&&(_0x535667['previous']=_0x357e50),_0x4b88('0xfc')==this[_0x4b88('0xe1')]['get'](_0x51bcf0)&&(this[_0x4b88('0xe1')]['set'](_0x51bcf0,_0x4b88('0x9')),this[_0x4b88('0xa8')](_0x4b88('0x124'),_0x51bcf0,_0x357e50,_0x535667));}['_setSuggestionData'](_0x33f8ef){const _0x305a8f=_0x33f8ef['id'],_0x3650ab=this['addSuggestionData'](_0x33f8ef);if(this['_adapter']&&this[_0x4b88('0xe2')][_0x4b88('0x100')]){const _0x23c384=this[_0x4b88('0x13a')]['plugins'][_0x4b88('0x0')]('PendingActions'),_0x559868=_0x3650ab[_0x4b88('0x128')],_0x1edc7d=_0x3650ab[_0x4b88('0x4')]?_0x3650ab['type']+':'+_0x3650ab[_0x4b88('0x4')]:_0x3650ab['type'],_0x953a00=this[_0x4b88('0x13a')][_0x4b88('0x76')],_0x50791e=_0x23c384[_0x4b88('0x12b')](_0x1ef721(_0x953a00,_0x4b88('0x2e'))),_0xc1388e={'id':_0x305a8f,'type':_0x1edc7d,'hasComments':_0x559868,'data':_0x33f8ef[_0x4b88('0x13d')]||null,'originalSuggestionId':_0x33f8ef['originalSuggestionId']||null,'attributes':_0x3650ab[_0x4b88('0x2b')]};this[_0x4b88('0xe2')][_0x4b88('0x100')](_0xc1388e)['then'](_0x4aa141=>{_0x3650ab['_saved']=!0x0,_0x23c384[_0x4b88('0x50')](_0x50791e),_0x4aa141&&_0x4aa141['createdAt']&&(this[_0x4b88('0x6')][_0x4b88('0x0')](_0x305a8f)[_0x4b88('0x8a')]=_0x4aa141[_0x4b88('0x8a')]);})[_0x4b88('0x84')](_0x2b3625=>{throw _0x4b4cd4(_0x4b88('0x6a')),this[_0x4b88('0x13a')][_0x4b88('0x13c')][_0x4b88('0x122')]({'isUndoable':!0x1},()=>{_0x3650ab[_0x4b88('0x1d')]();}),_0x3650ab['stopListening'](),this['_suggestions'][_0x4b88('0x17d')](_0x3650ab['id']),this[_0x4b88('0xe1')][_0x4b88('0x17d')](_0x3650ab),_0x2b3625;});}return _0x3650ab;}[_0x4b88('0xb9')](_0x244419){return this[_0x4b88('0x8e')][_0x4b88('0x10d')](_0x244419);}['_getAttributeKeyFromSubType'](_0x186ec3){return _0x4b88('0xef')==_0x186ec3[_0x4b88('0x2c')]&&_0x186ec3[_0x4b88('0x4')][_0x4b88('0xfb')]('|')[0x0];}[_0x4b88('0x11e')](_0x138a8d,_0x4426c6){const _0x248550=this[_0x4b88('0x13a')]['plugins'][_0x4b88('0x0')](_0x4b88('0x151')),_0x10bd4b=this[_0x4b88('0x6e')](_0x138a8d);if(this[_0x4b88('0xe2')]&&this[_0x4b88('0xe2')][_0x4b88('0x109')]){if(_0x10bd4b[_0x4b88('0xdc')]){const _0x44353b=_0x248550[_0x4b88('0x12b')](_0x1ef721(this['editor'][_0x4b88('0x76')],_0x4b88('0x2e')));this[_0x4b88('0xe2')][_0x4b88('0x109')](_0x138a8d,_0x4426c6)[_0x4b88('0xc7')](()=>{_0x248550[_0x4b88('0x50')](_0x44353b);});}else _0x10bd4b['on']('change:_saved',()=>{this[_0x4b88('0x11e')](_0x138a8d,_0x4426c6);});}}[_0x4b88('0x94')](_0x1cea6b){if(!this['_adapter']||!this[_0x4b88('0xe2')][_0x4b88('0x6e')])throw new _0x1dc44a(_0x4b88('0xbb'),this);return this['_adapter'][_0x4b88('0x6e')](_0x1cea6b);}[_0x4b88('0xf1')](_0x2ddce8){const {id:_0xcb1c9e,type:_0x20f95b,subType:_0x494db9,authorId:_0x4472ec}=this[_0x4b88('0x12e')](_0x2ddce8),_0x89787d=this['_suggestions']['get'](_0xcb1c9e)||this[_0x4b88('0x36')](_0x20f95b,_0x494db9,_0xcb1c9e,_0x4472ec,{});switch(this['_checkSuggestionCorrectness'](_0x89787d,_0x20f95b,_0x494db9,_0x4472ec),this[_0x4b88('0xe1')][_0x4b88('0x0')](_0x89787d)){case _0x4b88('0xf9'):this['_getSuggestionData'](_0xcb1c9e)[_0x4b88('0xc7')](_0x389395=>{let _0x505b5f=Promise[_0x4b88('0x32')]();_0x389395[_0x4b88('0x128')]&&(_0x505b5f=this[_0x4b88('0xbe')][_0x4b88('0x159')]({'channelId':this[_0x4b88('0x13a')]['config'][_0x4b88('0x0')](_0x4b88('0xe9')),'threadId':_0xcb1c9e})),_0x505b5f[_0x4b88('0xc7')](()=>{this['addSuggestionData'](_0x389395)[_0x4b88('0xdc')]=!0x0;});}),this[_0x4b88('0xe1')][_0x4b88('0x15f')](_0x89787d,_0x4b88('0x16d'));break;case _0x4b88('0x9'):this['_updateSuggestionData'](_0xcb1c9e,{'state':_0x4b88('0x47')});case _0x4b88('0x16e'):this[_0x4b88('0xe1')][_0x4b88('0x15f')](_0x89787d,_0x4b88('0xfc')),this[_0x4b88('0xa8')](_0x4b88('0x10a'),_0x89787d);break;case _0x4b88('0xfc'):this['fire'](_0x4b88('0x78'),_0x89787d);}return _0x89787d['addMarkerName'](_0x2ddce8),_0x89787d;}[_0x4b88('0xf8')](_0x524193){const _0xb5a1c7=Array[_0x4b88('0xe5')](_0x524193),_0x1a8f95=_0xb5a1c7[_0x4b88('0x2f')](_0x25606a=>_0x4b88('0xef')==_0x25606a[_0x4b88('0x2c')]);this[_0x4b88('0xd0')](_0x1a8f95);const _0x52de1a=_0xb5a1c7[_0x4b88('0x2f')](_0x1d97b0=>!_0x1d97b0[_0x4b88('0x42')]&&_0x4b88('0xef')!=_0x1d97b0[_0x4b88('0x2c')]),_0x4a6ae0=this[_0x4b88('0xae')]({'skipNotAttached':!0x0})['filter'](_0x26202f=>!_0x26202f[_0x4b88('0x42')]&&_0x4b88('0xef')!=_0x26202f[_0x4b88('0x2c')]),_0x5a7c91=_0x4a6ae0[_0x4b88('0x2f')](_0x5351e1=>!_0x524193[_0x4b88('0x10d')](_0x5351e1)),_0x5416d9=new Map(_0x4a6ae0[_0x4b88('0x136')](_0x17e783=>[_0x17e783,this[_0x4b88('0xb')][_0x4b88('0xc8')](_0x17e783[_0x4b88('0x2c')],_0x17e783[_0x4b88('0x4')],_0x4b88('0x4b'))])),_0x4d9ec4=new Map(_0x4a6ae0[_0x4b88('0x136')](_0x3856d3=>[_0x3856d3,_0x3856d3[_0x4b88('0xa4')]()])),_0x1d7710=new Set(),_0x14c2bb=new Set();for(let _0x2cb7ea=0x0;_0x2cb7ea<_0x52de1a['length'];_0x2cb7ea++)_0x5300f2(_0x52de1a[_0x2cb7ea],_0x52de1a,_0x2cb7ea+0x1);for(let _0xeeeb88=0x0;_0xeeeb88<_0x52de1a['length'];_0xeeeb88++)_0x5300f2(_0x52de1a[_0xeeeb88],_0x5a7c91,0x0);const _0x1d3215=new Set();for(let _0x78f110=0x0;_0x78f110<_0x52de1a[_0x4b88('0x177')];_0x78f110++){const _0x4e3ea9=_0x52de1a[_0x78f110];!_0x14c2bb[_0x4b88('0x10d')](_0x4e3ea9)&&_0x4e3ea9[_0x4b88('0xb3')]&&(_0x1d3215[_0x4b88('0x12b')](_0x4e3ea9[_0x4b88('0xb3')]),_0x4e3ea9[_0x4b88('0xb3')][_0x4b88('0xbc')]===_0x4e3ea9&&(_0x4e3ea9[_0x4b88('0xb3')][_0x4b88('0xbc')]=null),_0x4e3ea9['previous']=null),!_0x1d7710[_0x4b88('0x10d')](_0x4e3ea9)&&_0x4e3ea9[_0x4b88('0xbc')]&&(_0x1d3215[_0x4b88('0x12b')](_0x4e3ea9[_0x4b88('0xbc')]),_0x4e3ea9[_0x4b88('0xbc')][_0x4b88('0xb3')]===_0x4e3ea9&&(_0x4e3ea9[_0x4b88('0xbc')][_0x4b88('0xb3')]=null),_0x4e3ea9['next']=null);}function _0x5300f2(_0x2abe43,_0x338da8,_0x1b9536){for(let _0x3d65b2=_0x1b9536;_0x3d65b2<_0x338da8['length'];_0x3d65b2++){const _0x546f67=_0x455a2c(_0x2abe43,_0x338da8[_0x3d65b2]);_0x546f67&&(_0x546f67[0x0][_0x4b88('0xbc')]=_0x546f67[0x1],_0x546f67[0x1]['previous']=_0x546f67[0x0],_0x1d7710[_0x4b88('0x12b')](_0x546f67[0x0]),_0x14c2bb[_0x4b88('0x12b')](_0x546f67[0x1]));}}function _0x455a2c(_0x21dde8,_0x3d045c){if(_0x21dde8[_0x4b88('0x5a')]['id']!==_0x3d045c['author']['id'])return null;const _0x3b1325=_0x5416d9['get'](_0x21dde8)(_0x21dde8,_0x3d045c,_0x4d9ec4[_0x4b88('0x0')](_0x21dde8),_0x4d9ec4[_0x4b88('0x0')](_0x3d045c));if(!_0x3b1325)return null;return _0x5416d9[_0x4b88('0x0')](_0x3d045c)(_0x21dde8,_0x3d045c,_0x4d9ec4['get'](_0x21dde8),_0x4d9ec4['get'](_0x3d045c))?_0x3b1325[0x1][_0x4b88('0x123')]&&_0x3b1325[0x1][_0x4b88('0x123')][_0x4b88('0x177')]?null:_0x3b1325:null;}_0x1d3215[_0x4b88('0x150')]&&this[_0x4b88('0xf8')](_0x1d3215);}[_0x4b88('0xd0')](_0x375545){if(0x0==_0x375545['length'])return;const _0x2fb34e=this[_0x4b88('0xae')]({'skipNotAttached':!0x0})['filter'](_0x121b6f=>_0x4b88('0xef')==_0x121b6f[_0x4b88('0x2c')]&&_0x121b6f[_0x4b88('0xe8')]),_0x2c6acf=[],_0x61767=new Map();for(const _0x5955f2 of _0x2fb34e){const _0x3ee19a=_0x1916db(_0x5955f2[_0x4b88('0x2b')]);_0x61767[_0x4b88('0x10d')](_0x3ee19a)||(_0x61767[_0x4b88('0x15f')](_0x3ee19a,_0x2c6acf[_0x4b88('0x177')]),_0x2c6acf[_0x4b88('0x111')]([]));const _0x2005c3=_0x61767['get'](_0x3ee19a);_0x2c6acf[_0x2005c3][_0x4b88('0x111')](_0x5955f2);}!function(){_0x2c6acf['sort']((_0x1dfe35,_0x2259af)=>{const _0x2e95b3=_0x1dfe35[0x0][_0x4b88('0x8a')],_0x3c1da0=_0x2259af[0x0][_0x4b88('0x8a')];return _0x2e95b3==_0x3c1da0?_0x1dfe35[0x0][_0x4b88('0x2b')][_0x4b88('0x154')]<_0x2259af[0x0]['attributes'][_0x4b88('0x154')]?-0x1:0x1:_0x2e95b3<_0x3c1da0?-0x1:0x1;});for(const _0x10d86b of _0x2c6acf)_0x10d86b[_0x4b88('0x3e')]((_0x19a677,_0x5d3c20)=>_0x19a677['id']<_0x5d3c20['id']?-0x1:0x1);}();for(let _0x739b39=0x0;_0x739b39<_0x2c6acf[_0x4b88('0x177')];_0x739b39++){if(0x0==_0x2c6acf[_0x739b39][_0x4b88('0x177')])continue;const _0x19e763=[];for(let _0x35ee7f=_0x739b39+0x1;_0x35ee7f<_0x2c6acf[_0x4b88('0x177')];_0x35ee7f++)0x0!=_0x2c6acf[_0x35ee7f][_0x4b88('0x177')]&&_0x8215a1(_0x2c6acf[_0x739b39],_0x2c6acf[_0x35ee7f])&&_0x19e763[_0x4b88('0x111')](_0x35ee7f);for(const _0x6cd640 of _0x19e763)_0x2c6acf[_0x739b39]=_0x2c6acf[_0x739b39][_0x4b88('0x52')](_0x2c6acf[_0x6cd640]),_0x2c6acf[_0x6cd640]=[];}for(const _0x538638 of _0x2c6acf)for(let _0x41e363=0x0;_0x41e363<_0x538638[_0x4b88('0x177')];_0x41e363++)_0x538638[_0x41e363][_0x4b88('0xbc')]=_0x538638[_0x41e363+0x1]||null;for(const _0x3df10d of _0x2c6acf)for(let _0x3b03b9=0x0;_0x3b03b9<_0x3df10d[_0x4b88('0x177')];_0x3b03b9++)_0x3df10d[_0x3b03b9][_0x4b88('0xb3')]=_0x3df10d[_0x3b03b9-0x1]||null;function _0x8215a1(_0x80bd7a,_0x2267a1){if(_0x80bd7a[0x0]['author']!==_0x2267a1[0x0][_0x4b88('0x5a')])return!0x1;if(!function(_0x214941,_0x3435d2){if(!_0x214941[_0x4b88('0x128')]&&!_0x3435d2[_0x4b88('0x128')])return!0x0;if(_0x214941['hasComments']&&_0x3435d2[_0x4b88('0x128')])return!0x1;if(_0x214941['hasComments']&&_0x3435d2[_0x4b88('0x8a')]<_0x214941[_0x4b88('0x123')][_0x4b88('0xbd')][_0x4b88('0x0')](0x0)[_0x4b88('0x8a')])return!0x0;if(_0x3435d2[_0x4b88('0x128')]&&_0x214941[_0x4b88('0x8a')]<_0x3435d2['commentThread']['comments'][_0x4b88('0x0')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x80bd7a[0x0],_0x2267a1[0x0]))return!0x1;const _0x26ea6c=_0x4acd5c(_0x80bd7a[0x0][_0x4b88('0x2b')],_0x4b88('0x154')),_0x497c5d=_0x4acd5c(_0x2267a1[0x0][_0x4b88('0x2b')],_0x4b88('0x154'));if(!_0x24477a(_0x26ea6c,_0x497c5d))return!0x1;return!!_0x80bd7a[_0x4b88('0x9b')](_0x33d2e7=>_0x2267a1['some'](_0x5deb08=>_0x33d2e7['getFirstRange']()[_0x4b88('0xf2')](_0x5deb08[_0x4b88('0xa4')]())))&&_0x2267a1[_0x4b88('0x9b')](_0x39ae5f=>_0x80bd7a[_0x4b88('0xa2')](_0x4d3f35=>_0x39ae5f[_0x4b88('0xa4')]()[_0x4b88('0xf2')](_0x4d3f35[_0x4b88('0xa4')]())));}}[_0x4b88('0x97')](_0x35e3a7){const _0x513393=Array['from'](_0x35e3a7),_0x1e7b91=this[_0x4b88('0xae')]({'skipNotAttached':!0x0}),_0x4d06a7=_0x1e7b91[_0x4b88('0x2f')](_0x4f3dc8=>!_0x35e3a7[_0x4b88('0x10d')](_0x4f3dc8)),_0x18d46c=new Map(_0x513393[_0x4b88('0x136')](_0x3b865d=>[_0x3b865d,this[_0x4b88('0xb')][_0x4b88('0xc8')](_0x3b865d['type'],_0x3b865d['subType'],_0x4b88('0xd7'))])),_0x17c998=new Map(_0x1e7b91[_0x4b88('0x136')](_0x1e60eb=>[_0x1e60eb,_0x1e60eb['getRanges']()]));for(let _0x38194a=0x0;_0x38194a<_0x513393[_0x4b88('0x177')];_0x38194a++){if(_0x474521(this,_0x513393[_0x38194a],_0x513393,_0x38194a+0x1))return!0x0;}for(let _0x40a7b5=0x0;_0x40a7b5<_0x513393[_0x4b88('0x177')];_0x40a7b5++){if(_0x474521(this,_0x513393[_0x40a7b5],_0x4d06a7,0x0))return!0x0;}return!0x1;function _0x474521(_0x51fcc1,_0x4d07bf,_0x15e08f,_0x5e6f0f){for(let _0x22dc74=_0x5e6f0f;_0x22dc74<_0x15e08f[_0x4b88('0x177')];_0x22dc74++){const _0x28b059=_0x15e08f[_0x22dc74];if(_0x28b059['type']!==_0x4d07bf['type']||_0x28b059[_0x4b88('0x5a')]['id']!==_0x4d07bf[_0x4b88('0x5a')]['id']||_0x28b059[_0x4b88('0x4')]!==_0x4d07bf[_0x4b88('0x4')])continue;if(!Vt(_0x4d07bf,_0x28b059))continue;if(_0x4b88('0xef')==_0x4d07bf[_0x4b88('0x2c')]&&_0x4d07bf['data'][_0x4b88('0x1a')]!=_0x28b059[_0x4b88('0x13d')][_0x4b88('0x1a')])continue;if('attribute'==_0x4d07bf['type']&&_0x51fcc1[_0x4b88('0xb9')](_0x4d07bf['data'][_0x4b88('0x16c')]))continue;const _0xee4051=_0x18d46c[_0x4b88('0x0')](_0x4d07bf),_0x504f21=_0x17c998[_0x4b88('0x0')](_0x4d07bf),_0x4ec7c7=_0x17c998['get'](_0x28b059),_0x200308=_0x4d07bf['commentThread']&&_0x4d07bf[_0x4b88('0x123')][_0x4b88('0x177')],_0x3cd787=_0x28b059[_0x4b88('0x123')]&&_0x28b059[_0x4b88('0x123')][_0x4b88('0x177')];if(!_0x200308&&_0xee4051(_0x4ec7c7,_0x504f21))return _0x51fcc1['_joinSuggestions'](_0x28b059,_0x4d07bf),_0x17c998[_0x4b88('0x17d')](_0x4d07bf),!0x0;if(!_0x3cd787&&_0xee4051(_0x504f21,_0x4ec7c7))return _0x51fcc1[_0x4b88('0xf3')](_0x4d07bf,_0x28b059),_0x17c998['delete'](_0x28b059),!0x0;}return!0x1;}}['_joinSuggestions'](_0x16f947,_0x5a2447){if(_0x16f947[_0x4b88('0x42')])for(const _0x37c7e5 of _0x5a2447[_0x4b88('0x5')]())_0x16f947[_0x4b88('0xa')](_0x37c7e5);else{const _0x5a4c38=_0x5a2447['getFirstRange']()['end'];this[_0x4b88('0x15c')](_0x16f947,this['_model'][_0x4b88('0xc2')](_0x16f947[_0x4b88('0xa4')]()[_0x4b88('0xf0')],_0x5a4c38));}_0x5a2447[_0x4b88('0x25')]();}['_getMarkerAnnouncementText'](_0x192909,_0x11f8a8){const _0x3448db=_0x192909[_0x4b88('0x63')](_0x4b88('0x81'))||_0x192909[_0x4b88('0x63')](_0x4b88('0xef'))?_0x4b88('0x155'):_0x192909['toUpperCase']();return _0x1ef721(this[_0x4b88('0x13a')][_0x4b88('0x76')],_0x11f8a8+'_'+_0x3448db+'_SUGGESTION_ANNOUNCEMENT');}[_0x4b88('0x11a')](){const _0x4bd28e=this[_0x4b88('0x13a')];_0xb6cc63(this[_0x4b88('0x1b')],({left:_0x53dfcc,entered:_0x445c65})=>{const _0x5aa016=[];for(const _0x36f7ee of _0x53dfcc){const {group:_0x12a996,type:_0x14b672}=this[_0x4b88('0x12e')](_0x36f7ee[_0x4b88('0x157')]);if(_0x4b88('0x13e')===_0x12a996){_0x5aa016[_0x4b88('0x111')](this[_0x4b88('0xbf')](_0x14b672,_0x4b88('0xaa')));break;}}for(const _0x3d9358 of _0x445c65){const {group:_0x535581,type:_0x28bc20}=this[_0x4b88('0x12e')](_0x3d9358[_0x4b88('0x157')]);if('suggestion'===_0x535581){_0x5aa016[_0x4b88('0x111')](this[_0x4b88('0xbf')](_0x28bc20,_0x4b88('0x15b')));break;}}_0x5aa016[_0x4b88('0x177')]&&_0x4bd28e['ui'][_0x4b88('0x79')][_0x4b88('0x168')](_0x4b88('0x12f'),_0x5aa016[_0x4b88('0xd7')]('\x20'));});}[_0x4b88('0x82')](_0x48363e){if(null!==this[_0x4b88('0x22')])return!0x1;const _0x2ed973=this[_0x4b88('0x13a')],_0x337106=_0x2ed973[_0x4b88('0x13c')][_0x4b88('0x6b')][_0x4b88('0x10c')][_0x4b88('0x2')]();if(0x0==_0x337106[_0x4b88('0x177')])return!0x1;const _0x1c651b=[],_0x521146=_0x337106[_0x4b88('0x2f')](_0x3c1cdb=>_0x4b88('0xef')==_0x3c1cdb[_0x4b88('0x2c')]),_0x5dde84=_0x337106[_0x4b88('0x2f')](_0x2e2454=>_0x4b88('0xdd')==_0x2e2454[_0x4b88('0x2c')]&&'$text'!=_0x2e2454[_0x4b88('0x157')]),_0x179eb1=_0x337106[_0x4b88('0x2f')](_0x378f34=>_0x4b88('0x50')==_0x378f34['type']&&_0x4b88('0x178')!=_0x378f34['name']);for(const _0x4132f7 of _0x521146)_0x1c651b['push']({'key':_0x4132f7[_0x4b88('0x158')],'newValue':_0x4132f7['attributeNewValue'],'oldValue':_0x4132f7[_0x4b88('0x140')],'range':_0x2aea15(_0x4132f7[_0x4b88('0x7e')])});for(const _0x3982aa of _0x5dde84){const _0x44538f=_0x179eb1[_0x4b88('0x174')](_0x3d20bc=>_0x3d20bc[_0x4b88('0x167')]['isEqual'](_0x3982aa[_0x4b88('0x167')]));_0x44538f&&_0x1c651b['push']({'key':_0x4b88('0x105'),'newValue':_0x3982aa[_0x4b88('0x157')],'oldValue':_0x44538f['name'],'range':_0x2ed973[_0x4b88('0x13c')][_0x4b88('0x139')](_0x3982aa[_0x4b88('0x167')][_0x4b88('0x165')])});}return 0x0!=_0x1c651b[_0x4b88('0x177')]&&this[_0x4b88('0x11b')](_0x48363e,_0x1c651b);function _0x2aea15(_0x27450d){return null==_0x27450d[_0x4b88('0x17a')]['nodeBefore']&&_0x27450d[_0x4b88('0x17a')]['parent']==_0x27450d[_0x4b88('0xf0')][_0x4b88('0x165')]?Ut(_0x27450d['start'][_0x4b88('0x165')],_0x2ed973[_0x4b88('0x13c')]):_0x27450d;}}[_0x4b88('0x4c')](_0x46ceb0){let _0x52b65f=!0x1;const _0x62fb77=this[_0x4b88('0x13a')]['model'][_0x4b88('0x6b')][_0x4b88('0x10c')][_0x4b88('0x144')]()['filter'](_0xd29d0f=>_0xd29d0f[_0x4b88('0x13d')]['newRange']&&_0xd29d0f[_0x4b88('0x157')][_0x4b88('0x63')](_0x4b88('0xee')));for(const _0x458ec6 of _0x62fb77){const {subType:_0xbf5ba9,id:_0x53c26a}=this['_splitMarkerName'](_0x458ec6[_0x4b88('0x157')]),_0x257076=_0xbf5ba9[_0x4b88('0xfb')]('|')[0x0];for(const _0x2f2a23 of this[_0x4b88('0xae')]({'skipNotAttached':!0x0}))_0x2f2a23['id']!=_0x53c26a&&'attribute'==_0x2f2a23['type']&&_0x2f2a23[_0x4b88('0x13d')]&&_0x2f2a23[_0x4b88('0x13d')][_0x4b88('0x16c')]==_0x257076&&_0x2f2a23[_0x4b88('0xa4')]()[_0x4b88('0x127')](_0x458ec6['data'][_0x4b88('0xc1')])&&(this[_0x4b88('0x16f')](_0x2f2a23,_0x458ec6[_0x4b88('0x13d')][_0x4b88('0xc1')],_0x46ceb0),_0x52b65f=!0x0);}return _0x52b65f;}['_recordAttributeChanges'](_0x16ddcc){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x16ddcc();const _0x42f79f=this[_0x4b88('0x13a')];this[_0x4b88('0x22')]=_0x42f79f[_0x4b88('0x13c')]['document'][_0x4b88('0xce')],_0x16ddcc();const _0x3ed4c9=new Map();for(const _0x382485 of _0x42f79f['model']['document']['history'][_0x4b88('0x11f')](this[_0x4b88('0x22')]))if(['rename',_0x4b88('0x27'),_0x4b88('0xcd'),_0x4b88('0x1c')][_0x4b88('0x3d')](_0x382485['type'])){const _0x567918=_0x382485['batch'],_0x59b386=_0x3ed4c9['get'](_0x567918)||[];_0x59b386[_0x4b88('0x111')](_0x382485),_0x3ed4c9[_0x4b88('0x15f')](_0x567918,_0x59b386);}this[_0x4b88('0x22')]=null;for(const [_0x50a910,_0x34db89]of _0x3ed4c9){const _0x29daec=_0x54241b();_0x42f79f[_0x4b88('0x13c')][_0x4b88('0x122')](_0x50a910,_0xab3e9e=>{const _0x20f606=[];for(const _0xfbca6b of _0x34db89){let _0x20cbf9,_0xc4c7e4,_0x1d77ca,_0x56b54f;if('rename'==_0xfbca6b[_0x4b88('0x2c')]){const _0xd6ddda=_0xfbca6b;_0x20cbf9=Ut(_0xd6ddda[_0x4b88('0x167')]['nodeAfter'],_0x42f79f['model']),_0xc4c7e4=_0x4b88('0x105'),_0x1d77ca=_0xd6ddda['newName'],_0x56b54f=_0xd6ddda[_0x4b88('0xf')];}else{const _0x124e86=_0xfbca6b,_0xaab99c=this[_0x4b88('0xb9')](_0x124e86['key']),_0x38e9ea=this[_0x4b88('0x14c')][_0x4b88('0x10d')](_0x124e86['key']);if(!_0xaab99c&&!_0x38e9ea)continue;_0x20cbf9=_0xaab99c?Ut(_0x124e86[_0x4b88('0x7e')][_0x4b88('0xf0')][_0x4b88('0x165')],_0x42f79f[_0x4b88('0x13c')]):_0x124e86[_0x4b88('0x7e')],_0xc4c7e4=_0x124e86[_0x4b88('0x16c')],_0x1d77ca='removeAttribute'==_0xfbca6b[_0x4b88('0x2c')]?void 0x0:_0x124e86[_0x4b88('0x72')],_0x56b54f=_0x124e86[_0x4b88('0x1a')];}this['markAttributeChange'](_0x20cbf9,_0xc4c7e4,_0x56b54f,_0x1d77ca,{'groupId':_0x29daec}),_0x20f606[_0x4b88('0x111')]({'range':_0x20cbf9,'key':_0xc4c7e4,'newValue':_0x1d77ca,'oldValue':_0x56b54f});}this[_0x4b88('0x11b')](_0xab3e9e,_0x20f606);});}}['_reduceExistingSuggestions'](_0x10bcd9,_0x374ce7){if(0x0==_0x374ce7[_0x4b88('0x177')])return!0x1;let _0x31748f=!0x1;for(const _0x3e5bf2 of _0x374ce7){const _0x2a1dcb=this[_0x4b88('0x171')](_0x3e5bf2[_0x4b88('0x7e')],_0x4b88('0xef'))['filter'](_0x26f07b=>!_0x26f07b['meta'][_0x4b88('0x12a')])[_0x4b88('0x136')](_0x4b80c5=>_0x4b80c5[_0x4b88('0x13e')]),_0x3fa383=_0x1916db({'newValue':_0x3e5bf2[_0x4b88('0x72')]});_0x2a1dcb[_0x4b88('0x2f')](_0x14a2b4=>{const [_0x41c488,_0x3c8aa1]=_0x14a2b4[_0x4b88('0x4')][_0x4b88('0xfb')]('|');return _0x41c488==_0x3e5bf2[_0x4b88('0x16c')]&&_0x3c8aa1!=_0x3fa383;})[_0x4b88('0x99')](_0x5ce56d=>{this[_0x4b88('0x16f')](_0x5ce56d,_0x3e5bf2[_0x4b88('0x7e')],_0x10bcd9),_0x31748f=!0x0;});}return _0x31748f;}['_reduceSuggestionAttributeRange'](_0x4a7d6e,_0x2cfb73,_0x4c29ad){const _0x450ca2=_0x4a7d6e[_0x4b88('0xa4')]()[_0x4b88('0x20')](_0x2cfb73);0x0!==_0x450ca2[_0x4b88('0x177')]?0x1!==_0x450ca2[_0x4b88('0x177')]?this[_0x4b88('0x12d')](_0x4a7d6e,_0x2cfb73[_0x4b88('0xf0')],_0x2cfb73[_0x4b88('0x17a')]):this[_0x4b88('0x15c')](_0x4a7d6e,_0x450ca2[0x0]):_0x4c29ad[_0x4b88('0xe6')](_0x4a7d6e[_0x4b88('0x43')]());}}class Bt{constructor(_0x4a84ad){this[_0x4b88('0x51')]=_0x4a84ad,this[_0x4b88('0x1b')]=_0x4a84ad['model'],this[_0x4b88('0x13')]=new Map(),this[_0x4b88('0x110')]=new Map(),this[_0x4b88('0x10')]();}[_0x4b88('0x8c')](_0x5612c7,_0x5f4ca3,_0x15d1d5,_0x6a5b8a,_0x5a2881,_0xa3eb84){return new _0x10193d(this[_0x4b88('0x1b')],{'type':_0x5612c7,'subType':_0x5f4ca3,'id':_0x15d1d5,'author':_0x6a5b8a,'creator':_0x6a5b8a,'attributes':_0x5a2881,'onAttributesChange':_0xa3eb84,'onAccept':(..._0x50ad0c)=>this[_0x4b88('0xc8')](_0x5612c7,_0x5f4ca3,'accept')(..._0x50ad0c),'onDiscard':(..._0x11e813)=>this['getSuggestionCallback'](_0x5612c7,_0x5f4ca3,_0x4b88('0x1d'))(..._0x11e813)});}[_0x4b88('0x19')](_0x1b382e,_0x1b944a,_0x12883f,_0x458d82){const _0x11cb83=_0x1b382e+':'+_0x1b944a+':'+_0x12883f;this[_0x4b88('0x13')]['set'](_0x11cb83,_0x458d82);}[_0x4b88('0xc8')](_0x259926,_0x49b9d4,_0x163a77){const _0x4f8fdd=_0x259926+':'+_0x49b9d4+':'+_0x163a77;return this['_customCallbacks'][_0x4b88('0x0')](_0x4f8fdd)||this[_0x4b88('0x110')][_0x4b88('0x0')](_0x259926+':'+_0x163a77);}[_0x4b88('0x10')](){const _0x1548fd=()=>!0x1,_0x23c4ed=_0x119cba=>{_0x119cba['sort']((_0x2fcb58,_0x1d63a8)=>_0x2fcb58[_0x4b88('0xf0')][_0x4b88('0x10e')](_0x1d63a8['start'])?0x1:-0x1),this[_0x4b88('0x1b')]['change'](_0x463a6c=>{for(const _0x2ce578 of _0x119cba){let _0x3e5b5c;_0x3e5b5c=_0x2ce578[_0x4b88('0x17a')][_0x4b88('0xaf')]&&_0x2ce578[_0x4b88('0x17a')][_0x4b88('0xf6')]==_0x2ce578['start']['nodeAfter']?_0x463a6c[_0x4b88('0x14a')](_0x2ce578[_0x4b88('0xf0')][_0x4b88('0x165')],'on'):_0x463a6c['createSelection'](_0x2ce578),this[_0x4b88('0x1b')]['deleteContent'](_0x3e5b5c,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x4936da=(_0x1494cc,_0x22ff28)=>{_0x22ff28&&this['_model']['change'](_0x5b9e34=>{const {commandName:_0x2db0c4,commandParams:_0x2eadec=[]}=_0x22ff28,_0x5b87ac=_0x1494cc[_0x4b88('0x136')](_0x5d8832=>(xt(_0x5d8832)&&(_0x5d8832=this['_model'][_0x4b88('0xc2')](_0x5d8832[_0x4b88('0x17a')])),_0x5d8832))[_0x4b88('0x2f')](_0xea8acb=>'$graveyard'!==_0xea8acb['root'][_0x4b88('0xcb')]);if(_0x5b87ac['length']<0x1)return;const _0x24ee60=Array[_0x4b88('0xe5')](this['_model'][_0x4b88('0x6b')]['selection'][_0x4b88('0x5')]())['map'](_0x32058e=>_0x34e984[_0x4b88('0x74')](_0x32058e));_0x5b9e34[_0x4b88('0x103')](_0x5b87ac);for(const _0x3ab64c of this[_0x4b88('0x51')][_0x4b88('0x101')]['commands']())_0x3ab64c[_0x4b88('0x91')]();_0x2eadec[_0x4b88('0x111')]({'forceDefaultExecution':!0x0}),this[_0x4b88('0x51')][_0x4b88('0x161')](_0x2db0c4,..._0x2eadec);const _0x38774c=_0x24ee60[_0x4b88('0x2f')](_0x2766ca=>'$graveyard'!=_0x2766ca[_0x4b88('0xc')][_0x4b88('0xcb')]);_0x38774c[_0x4b88('0x177')]>0x0&&_0x5b9e34[_0x4b88('0x103')](_0x38774c);for(const _0x3640b9 of _0x24ee60)_0x3640b9[_0x4b88('0x34')]();});},_0x351d95=(_0x5af3e1,_0x450850)=>0x1==_0x5af3e1[_0x4b88('0x177')]&&0x1==_0x450850['length']&&_0x5af3e1[0x0]['end'][_0x4b88('0xf2')](_0x450850[0x0][_0x4b88('0xf0')]),_0x4774a9=(_0x1aea2,_0x240249,_0x29c2ba,_0x507018)=>Ot(_0x1aea2,_0x240249,_0x29c2ba,_0x507018,this[_0x4b88('0x1b')])?[_0x1aea2,_0x240249]:Ot(_0x240249,_0x1aea2,_0x507018,_0x29c2ba,this[_0x4b88('0x1b')])?[_0x240249,_0x1aea2]:null;this[_0x4b88('0x110')][_0x4b88('0x15f')](_0x4b88('0x69'),_0x1548fd),this['_defaultCallbacks'][_0x4b88('0x15f')]('insertion:discard',_0x23c4ed),this[_0x4b88('0x110')][_0x4b88('0x15f')](_0x4b88('0x115'),_0x351d95),this['_defaultCallbacks']['set'](_0x4b88('0xd8'),_0x4774a9),this[_0x4b88('0x110')][_0x4b88('0x15f')]('deletion:accept',_0x23c4ed),this['_defaultCallbacks'][_0x4b88('0x15f')](_0x4b88('0x164'),_0x1548fd),this[_0x4b88('0x110')][_0x4b88('0x15f')](_0x4b88('0x106'),_0x351d95),this[_0x4b88('0x110')][_0x4b88('0x15f')](_0x4b88('0x113'),_0x4774a9),this[_0x4b88('0x110')][_0x4b88('0x15f')](_0x4b88('0x120'),_0x4936da),this[_0x4b88('0x110')][_0x4b88('0x15f')](_0x4b88('0x112'),_0x1548fd),this['_defaultCallbacks'][_0x4b88('0x15f')](_0x4b88('0x8d'),_0x351d95),this[_0x4b88('0x110')]['set'](_0x4b88('0x85'),_0x1548fd),this[_0x4b88('0x110')][_0x4b88('0x15f')](_0x4b88('0x12'),_0x4936da),this[_0x4b88('0x110')][_0x4b88('0x15f')](_0x4b88('0x137'),_0x1548fd),this['_defaultCallbacks'][_0x4b88('0x15f')]('formatBlock:join',_0x351d95),this[_0x4b88('0x110')][_0x4b88('0x15f')](_0x4b88('0xb8'),_0x1548fd),this['_defaultCallbacks'][_0x4b88('0x15f')](_0x4b88('0x28'),_0x1548fd),this['_defaultCallbacks'][_0x4b88('0x15f')](_0x4b88('0x114'),(_0x34b735,_0x2b741e)=>{if(!_0x2b741e)return;const _0x18143c=this[_0x4b88('0x51')][_0x4b88('0x18')]['get'](p);this[_0x4b88('0x1b')][_0x4b88('0xcf')](_0x2f13b0=>{if(_0x4b88('0x105')==_0x2b741e['key'])for(const _0x4e162b of _0x34b735){const _0x55e714=_0x4e162b[_0x4b88('0xf0')][_0x4b88('0x165')],_0x4913a0=_0x2b741e['oldValue'];_0x2f13b0[_0x4b88('0x6d')](_0x55e714,_0x4913a0);}else{if(_0x18143c[_0x4b88('0xb9')](_0x2b741e[_0x4b88('0x16c')]))for(const _0x37177b of _0x34b735)void 0x0!==_0x2b741e[_0x4b88('0x1a')]?_0x2f13b0['setAttribute'](_0x2b741e[_0x4b88('0x16c')],_0x2b741e['oldValue'],_0x37177b['start']['nodeAfter']):_0x2f13b0['removeAttribute'](_0x2b741e[_0x4b88('0x16c')],_0x37177b[_0x4b88('0xf0')][_0x4b88('0x165')]);else for(const _0x4266c3 of _0x34b735)_0x2b741e[_0x4b88('0x1a')]?_0x2f13b0['setAttribute'](_0x2b741e[_0x4b88('0x16c')],_0x2b741e['oldValue'],_0x4266c3):_0x2f13b0[_0x4b88('0xcd')](_0x2b741e['key'],_0x4266c3);}});}),this[_0x4b88('0x110')][_0x4b88('0x15f')](_0x4b88('0x67'),_0x351d95);}}function Tt(_0x1e0b69,_0x116a79,_0x68bbd1){for(const _0xdceb8e of _0x116a79[_0x4b88('0xf6')][_0x4b88('0x173')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xdceb8e[_0x4b88('0xc')]==_0xdceb8e)return!0x1;if(!_0x68bbd1[_0x4b88('0x162')](_0xdceb8e))return!0x1;if(_0x1e0b69[_0x4b88('0x119')](_0xdceb8e)||_0x1e0b69[_0x4b88('0x92')](_0xdceb8e))return!0x0;}return!0x1;}function xt(_0x12f909){return _0x12f909[_0x4b88('0x17a')][_0x4b88('0xf6')]==_0x12f909[_0x4b88('0xf0')][_0x4b88('0x165')]&&_0x12f909['end'][_0x4b88('0x57')];}function Et(_0x519a60,_0x3d6c15,_0x1deafa,_0x2d6549){const _0x58eebd=_0x235340=>!_0x235340['item']['is']('$textProxy')&&!_0x2d6549['isObject'](_0x235340[_0x4b88('0x41')]),_0x1879cc=_0x519a60[_0x4b88('0xf0')][_0x4b88('0x10b')](_0x58eebd),_0x12d48f=_0x519a60[_0x4b88('0x17a')][_0x4b88('0x10b')](_0x58eebd,{'direction':'backward'});return(!_0x519a60[_0x4b88('0xf0')]['isEqual'](_0x1879cc)||!_0x519a60['end']['isEqual'](_0x12d48f))&&(_0x1879cc['isBefore'](_0x12d48f)?_0x1deafa[_0x4b88('0xa9')](_0x3d6c15,{'range':_0x1deafa[_0x4b88('0xc2')](_0x1879cc,_0x12d48f)}):_0x1deafa[_0x4b88('0xe6')](_0x3d6c15),!0x0);}function Rt(_0x3b4d27){return _0x1916db(_0x3b4d27);}function jt(_0x228281){const _0x76ceb4=_0x228281[_0x4b88('0xf0')][_0x4b88('0x165')];return _0x76ceb4&&_0x76ceb4['is']('element');}function Ut(_0x634c74,_0xe1961d){const _0x5886f2=_0xe1961d['schema']['isObject'](_0x634c74)||_0xe1961d[_0x4b88('0x1f')][_0x4b88('0x125')](_0x634c74);return _0xe1961d['createRange'](_0xe1961d[_0x4b88('0x117')](_0x634c74,_0x4b88('0x5c')),_0x5886f2?_0xe1961d[_0x4b88('0x38')](_0x634c74):_0xe1961d[_0x4b88('0x117')](_0x634c74,_0x4b88('0x17a')));}function Ot(_0x37e86a,_0x465fcf,_0x18f666,_0x586e3f,_0x2bd376){if(!Vt(_0x37e86a,_0x465fcf))return!0x1;if(_0x18f666[_0x4b88('0x17a')][_0x4b88('0xf2')](_0x586e3f[_0x4b88('0xf0')]))return!0x0;if(_0x37e86a[_0x4b88('0x2c')]!=_0x465fcf[_0x4b88('0x2c')])return!0x1;if(!_0x18f666['end'][_0x4b88('0x132')](_0x586e3f[_0x4b88('0xf0')]))return!0x1;const _0x266717=_0x2bd376['createRange'](_0x18f666[_0x4b88('0x17a')],_0x586e3f[_0x4b88('0xf0')])[_0x4b88('0x23')]();for(const _0x5e7108 of _0x266717)if([_0x4b88('0x56'),'elementEnd'][_0x4b88('0x3d')](_0x5e7108[_0x4b88('0x2c')])&&_0x2bd376[_0x4b88('0x1f')][_0x4b88('0x92')](_0x5e7108[_0x4b88('0x41')]))return!0x1;return!0x0;}function Vt(_0x28c6ad,_0x30dc45){return!(!_0x28c6ad[_0x4b88('0xe8')]||!_0x30dc45[_0x4b88('0xe8')])&&_0x24477a(_0x28c6ad[_0x4b88('0x2b')],_0x30dc45[_0x4b88('0x2b')]);}function Ft(_0x56742e,_0x2dacd4){const _0x1b9687=Gt(_0x56742e[_0x4b88('0x2b')]),_0x355ad9=Gt(_0x2dacd4);if(!_0x56742e[_0x4b88('0xe8')])return!0x1;for(const _0x267b6d of Object[_0x4b88('0x16')](_0x355ad9))if(!_0x24477a(_0x1b9687[_0x267b6d],_0x355ad9[_0x267b6d]))return!0x1;return!0x0;}function Gt(_0x9731c7){const _0x4529c9=Object[_0x4b88('0x5f')]({},_0x9731c7);return delete _0x4529c9[_0x4b88('0x35')],delete _0x4529c9[_0x4b88('0x80')],_0x4529c9;}
23
+ const _0x45e5=['oldValue','move','acceptSelectedSuggestions','isSelectable','get','open','_registerInlineAttribute','ck-suggestion-marker-formatInline','options','registerCustomCallback','start','removeClass','enqueueChange','change:data','listenTo','deletion','commands','bindElementToMarker','stop','addClass','getUser','external:','accepted','define','root','name','insertion:discard','containsPosition','createPositionAfter','collaboration.channelId','acceptAllSuggestions','deletion:join','targetPosition','chain','removed','includes','isOwn','_splitMarkerName','getMarkers','_getMarkerAnnouncementText','markMultiRangeInsertion','data','author','creator','formatBlock:join','CommentsRepository','range','toUpperCase','ck-suggestion-marker','buildSuggestion','formatBlock:chain','markInsertion','addComment','getCommentThread','attributeNewValue','accept','_SUGGESTION_ANNOUNCEMENT','track-changes-command-not-found','keys','howMany','low','_checkSuggestionCorrectness','end','elementToElement','moveTargetPosition','discard','markerReady','deletion:discard','_joinWithAdjacentSuggestions','set','removeMarker:suggestion:formatBlock','subType','containerElement','getChanges','_editor','_findSuggestions','_isBlockAttribute','isArray','attribute','schema','isUndo','formatInline','_breakSuggestionMarker','detach','dataReady','isEqual','forceDefaultExecution','attribute:discard','forEach','find','plugins','dataDowncast','values','isCollapsed','tablePasteChainId','_commentsRepository','isIntersecting','getFirstMarker','getLastMatchingPosition','previous','createdAt','isTouching','locale','addMarkerName','_processAttributeSuggestions','from','applyOperation','reconvertMarker','markerNameToElements','trackChanges.mergeNestedSuggestions','updateMarker','getMultiRangeId','deleteContent','head','ready','warn','_joinSuggestions','markAttributeChange','setAttribute','selection','join','dataToMarker','isInContent','insertion:join','getChangedMarkers','sort','formatInline:discard','markMultiRangeDeletion','markBlockFormat','has','FORMATTING','documentSelection','mapper','_onDiscard','next','init','rename','never','toJSON','lowest','removeMarker:suggestion:attribute','then','authorName','split','editing','filter','attribute:','getRanges','toViewElement','pop','hasComments','attribute:join','_recordAttributeSuggestionsFromVersion','track-changes-user-not-found','element','containsRangeInObject','_setSuggestionRange','nodeBefore','trackChangesCommand','markerToHighlight','_reduceSuggestionAttributeRange','isLimit','skipNestingCheck','groupId','showSuggestionHighlights','default','_rangeIsInLocalUserInsertion','getAncestors','getSuggestionCallback','notReady','track-changes-suggestion-not-found','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','_suggestionFactory','upcast','splice','_addThreadToSuggestion','deletion:','forward','newValue','getAllAdjacentSuggestions','formatBlock:accept','stopListening','updateSuggestion','$elementName','formatGroupId','getShiftedBy','_updateSuggestionData','_registerDefaultCallbacks','length','attributes','high','rootName','hasCommentThread','createPositionAt','always','isObject','multipleBlocks','enableReadOnlyMode','suggestion:attribute:','createElement','meta','widget','_trackFormatChanges','_enableDefaultAttributesIntegration','_getExternalAuthor','comments','setSelection','removeMarker','acceptSuggestion','isNextTo','enableCommand','_defaultCallbacks','some','discardSelectedSuggestions','marker-count','insertion:chain','addSuggestionData','commentThread','_inlineAttributeKeys','change','deletion:accept','resolve','formatBlock:','formatInline:chain','unbindElementFromMarkerName','clear','consumable','isBefore','suggestionChanged','_cutOutSuggestionMarker','formatInline:','attributeKey','insert','addMarker:suggestion','_suggestionState','editingDowncast','backward','formatInline:accept','getRange','formatBlock:discard','isInsideObject','insertion','item','ck-suggestion-marker-formatBlock','_isDataLoaded','_suggestions','addMarker:suggestion:attribute','substring','markerName','format','suggestion','_handleNewSuggestionMarker','assign','getIntersection','createRangeOn','discardSuggestion','createRangeIn','key','originalSuggestionId','conversion','commandName','type','document','highest','discardAllSuggestions','_enabledCommands','changeAttribute','history','$marker','_adapter','remove','_getSuggestionData','execute','parent','markMultiRangeBlockFormat','fromRange','$text','addSuggestion','oldRange','addHighlight','isMultiRange','for','registerPostFixer','nodeAfter','_blockAttributeKeys','LEAVE','_saved','createRange','createSelection','_getAttributeKeyFromSubType','rejected','clone','getFirstRange','getSuggestion','announce','isRemovable','value','writer','@external','differ','markers','_isForcedDefaultExecutionBlock','editor','trackChanges.trackFormatChanges','ariaLiveAnnouncer','track-changes-adapter-already-set','getNearestSelectionRange','position','normal','_refreshSuggestionsChain','markDeletion','newName','consume','data-suggestion','insertion:','config','multi','createPositionBefore','every','removeAttribute','_recordAttributeChanges','_removeSuggestion','_customCallbacks','fire','isAfter','add','track-changes-suggestion-data-mismatch','addCommentThread','$graveyard','size','getAttribute','trackChanges','_descriptionFactory','push','_addSuggestionMarker','delete','markInlineFormat','_setSuggestionData','addRange','PendingActions','containsRange','_createSuggestion','newRange','suggestionUnloaded','model','return','adapter','formatBlock','suggestionLoaded','Users','ck-suggestion-marker--active','isLocal','addMarker','_mergeNestedSuggestions','getDifference','_model','getSuggestions','removeMarkers','ck-suggestion-marker-','isBlock','track-changes-adapter-missing-getsuggestion','startsWith','activeMarkers','map','before','batch','getCustomProperty','addMarker:suggestion:formatBlock','PENDING_ACTION_SUGGESTION','_getAuthorFromId','_registerBlockAttribute','authoredAt','error-saving-suggestion-data-suggestion-discarded','fromCharCode'];(function(_0x4609b6,_0x45e522){const _0xfb563f=function(_0x49612c){while(--_0x49612c){_0x4609b6['push'](_0x4609b6['shift']());}};_0xfb563f(++_0x45e522);}(_0x45e5,0x18a));const _0xfb56=function(_0x4609b6,_0x45e522){_0x4609b6=_0x4609b6-0x0;let _0xfb563f=_0x45e5[_0x4609b6];return _0xfb563f;};import{Plugin as _0x3e9e26,PendingActions as _0x3e49fb}from'ckeditor5/src/core';import{LiveRange as _0x49faa4}from'ckeditor5/src/engine';import{CKEditorError as _0x25467a,uid as _0x1afc95,priorities as _0x37cbac,logWarning as _0x1ee825}from'ckeditor5/src/utils';import{toWidget as _0xc6b824}from'ckeditor5/src/widget';import{Users as _0x1d741d,hashObject as _0x49482b,surroundingMarkersDetector as _0x3254cf}from'ckeditor5-collaboration/src/collaboration-core';import _0x37d388 from'./commands/trackchangescommand';import _0x21e1cc from'./commands/acceptsuggestioncommand';import _0x5b3b64 from'./commands/discardsuggestioncommand';import _0x1a2799 from'./commands/executeonallsuggestionscommand';import _0x5cf1fc from'./commands/executeonselectedsuggestionscommand';import _0x4d3acb from'./suggestion';import _0x1d4b21 from'./suggestiondescriptionfactory';import _0x2f107c from'./integrations/aiassistant';import _0x5db2f2 from'./integrations/alignment';import _0x42a054 from'./integrations/basicstyles';import _0x2ba13c from'./integrations/blockquote';import _0x4394e0 from'./integrations/ckbox';import _0x592b72 from'./integrations/codeblock';import _0x87136c from'./integrations/comments';import _0x3e03df from'./integrations/deletecommand';import _0x436e92 from'./integrations/documentlist';import _0x3e63d3 from'./integrations/documentlistproperties';import _0xab5359 from'./integrations/entercommand';import _0x5abd75 from'./integrations/findandreplace';import _0x35033f from'./integrations/font';import _0x4c2de4 from'./integrations/formatpainter';import _0x36c3dd from'./integrations/heading';import _0x48c135 from'./integrations/highlight';import _0x3ee5fc from'./integrations/horizontalline';import _0x5ef9a9 from'./integrations/htmlembed';import _0xe686b8 from'./integrations/image';import _0x19e9f9 from'./integrations/imagereplace';import _0x27f85a from'./integrations/imagestyle';import _0x58b5b4 from'./integrations/importword';import _0x2c142f from'./integrations/indent';import _0x2b3f3 from'./integrations/inputcommand';import _0x52eee6 from'./integrations/link';import _0x25587c from'./integrations/list';import _0x47f975 from'./integrations/listproperties';import _0x19b06d from'./integrations/mediaembed';import _0xe4b442 from'./integrations/mention';import _0x1d73f from'./integrations/pagebreak';import _0x4d5700 from'./integrations/paragraph';import _0x4d44bb from'./integrations/removeformat';import _0x1f448c from'./integrations/restrictededitingmode';import _0x49637b from'./integrations/shiftentercommand';import _0x3e4ad9 from'./integrations/standardeditingmode';import _0x7d4c57 from'./integrations/style';import _0x3ba818 from'./integrations/table';import _0x50edee from'./integrations/tablemergesplit';import _0x39bc14 from'./integrations/tableheadings';import _0x37ed5f from'./integrations/tableclipboard';import _0x3f189f from'./integrations/tablecolumnresize';import _0x1d1309 from'./integrations/template';import _0x1b5df7 from'./integrations/tableofcontents';import _0x24ec96 from'./integrations/title';import _0x1b642c from'./integrations/undo';import _0x585219 from'./integrations/tablecaption';import _0x3f7915 from'./integrations/tableproperties';import{getTranslation as _0x199e6d}from'./utils/common-translations';import{isEqual as _0x21464f,omit as _0x1c9aaa}from'lodash-es';export const renameAttributeKey=_0xfb56('0xa3');export default class p extends _0x3e9e26{static get['requires'](){return[_0xfb56('0x19'),_0x1d741d,_0x3e49fb,_0x2f107c,_0x5db2f2,_0x42a054,_0x2ba13c,_0x4394e0,_0x592b72,_0x87136c,_0x3e03df,_0x436e92,_0x3e63d3,_0xab5359,_0x5abd75,_0x35033f,_0x4c2de4,_0x36c3dd,_0x48c135,_0x3ee5fc,_0x5ef9a9,_0xe686b8,_0x27f85a,_0x19e9f9,_0x58b5b4,_0x2c142f,_0x2b3f3,_0x52eee6,_0x25587c,_0x47f975,_0x19b06d,_0xe4b442,_0x1d73f,_0x4d5700,_0x4d44bb,_0x1f448c,_0x49637b,_0x3e4ad9,_0x7d4c57,_0x3ba818,_0x50edee,_0x39bc14,_0x585219,_0x37ed5f,_0x3f189f,_0x1b5df7,_0x3f7915,_0x1d1309,_0x24ec96,_0x1b642c];}static get['pluginName'](){return'TrackChangesEditing';}constructor(_0x44fb83){function _0x58170d(_0x603078){return _0x603078[_0xfb56('0x157')](_0x82ce7b=>String[_0xfb56('0x161')](_0x82ce7b))[_0xfb56('0x64')]('');}super(_0x44fb83),this[_0xfb56('0x84')]=null,this[_0xfb56('0x31')](_0xfb56('0x156'),[]),this['on']('change:activeMarkers',(_0x27be1a,_0xa89447,_0x3fa86b,_0xf01816)=>{this[_0xfb56('0x14f')]['change'](()=>{for(const _0x18ee2b of[..._0xf01816,..._0x3fa86b])this[_0xfb56('0x14f')][_0xfb56('0x118')]['has'](_0x18ee2b)&&_0x44fb83[_0xfb56('0x7c')][_0xfb56('0x57')](_0x18ee2b);});}),this[_0xfb56('0x138')]=new _0x1d4b21(this['editor'][_0xfb56('0x144')][_0xfb56('0x3b')],this[_0xfb56('0x11a')][_0xfb56('0x52')]),this[_0xfb56('0xf9')]=null,this[_0xfb56('0x98')]=new Bt(this[_0xfb56('0x11a')]),this[_0xfb56('0xe1')]=new Map(),this[_0xfb56('0x4b')]=_0x44fb83[_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x19')),this[_0xfb56('0xf5')]=new Set(),this['_model']=this[_0xfb56('0x11a')]['model'],this['_suggestionState']=new WeakMap(),this[_0xfb56('0x119')]=!0x1,this[_0xfb56('0x108')]=new Set(['$elementName']),this['_inlineAttributeKeys']=new Set(),_0x44fb83[_0xfb56('0x127')][_0xfb56('0x3')]('trackChanges.trackFormatChanges',_0xfb56('0x91')),this[_0xfb56('0xb6')]=_0x44fb83['config'][_0xfb56('0x166')](_0xfb56('0x11b')),_0x44fb83[_0xfb56('0x127')]['define'](_0xfb56('0x59'),!0x0),this['_mergeNestedSuggestions']=_0x44fb83['config'][_0xfb56('0x166')](_0xfb56('0x59')),this['trackChangesCommand']=new _0x37d388(_0x44fb83,this[_0xfb56('0xf5')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x58170d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x58170d([0x34,0x30,0x34,0x36,0x32,0x32,0x33,0x36]);}[_0xfb56('0x73')](){const _0x31b21e=this[_0xfb56('0x11a')],_0x5c8aad=(_0x4d71b9,_0x592a10)=>{if(_0xfb56('0x3a')!=_0x4d71b9)return _0xfb56('0x152')+_0x4d71b9;const _0xd9ca20=_0x592a10['split']('|')[0x0];return this['_isBlockAttribute'](_0xd9ca20)?_0xfb56('0xdf'):_0xfb56('0x169');};_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')]('editingDowncast')[_0xfb56('0x8b')]({'model':_0xfb56('0xe6'),'view':_0x5183ab=>{const {id:_0x6ef068,type:_0x5e97ec,subType:_0x2ec673}=this[_0xfb56('0x11')](_0x5183ab[_0xfb56('0xe4')]),_0x2bb249=['ck-suggestion-marker',_0x5c8aad(_0x5e97ec,_0x2ec673)];let _0x156133=0xbb8;return this[_0xfb56('0x156')][_0xfb56('0xf')](_0x5183ab[_0xfb56('0xe4')])&&(_0x2bb249[_0xfb56('0x139')](_0xfb56('0x14a')),_0x156133=0xbc2),'deletion'==_0x5e97ec&&(_0x156133+=0x5),{'classes':_0x2bb249,'attributes':{'data-suggestion':_0x6ef068},'priority':_0x156133};}}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0x47'))[_0xfb56('0x131')](_0x11ee29=>{_0x11ee29['on'](_0xfb56('0xd5'),(_0x20691a,_0x189c74,_0x2744af)=>{if(!_0x2744af[_0xfb56('0x16a')][_0xfb56('0x90')])return;const _0x5fe7b8=_0x189c74['item'];if(!_0x5fe7b8)return;const _0x53cfe0=_0x2744af[_0xfb56('0x70')][_0xfb56('0x80')](_0x5fe7b8);_0x31b21e[_0xfb56('0x144')]['schema'][_0xfb56('0xaf')](_0x5fe7b8)&&_0x53cfe0&&!_0x53cfe0['getCustomProperty'](_0xfb56('0xb5'))&&_0x53cfe0['is'](_0xfb56('0x34'))&&_0xc6b824(_0x53cfe0,_0x2744af[_0xfb56('0x115')]);},{'priority':'high'});}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0x47'))[_0xfb56('0x8b')]({'model':'suggestion','view':(_0x317e47,_0x35de85)=>{if(!_0x35de85[_0xfb56('0x16a')][_0xfb56('0x90')])return null;const {type:_0x560871,subType:_0x5cf213}=this[_0xfb56('0x11')](_0x317e47['markerName']);return{'classes':[_0xfb56('0x1c'),_0x5c8aad(_0x560871,_0x5cf213)],'priority':0xbb8};}});const _0x2fb8d0=({showActiveMarkers:_0x5a2c25=!0x0,isAttributeSuggestion:_0x55c49c=!0x1}={})=>(_0x1875f4,_0x2a039a,_0x2e1047)=>{if(!_0x2a039a[_0xfb56('0xde')])return;const {id:_0xfa32d2}=this[_0xfb56('0x11')](_0x2a039a['markerName']);if(_0x55c49c){const _0x412a1f=this['_suggestions'][_0xfb56('0x166')](_0xfa32d2),_0x3b1752=this['_getAttributeKeyFromSubType'](_0x412a1f);if(!this[_0xfb56('0x38')](_0x3b1752))return;}if(_0x2a039a[_0xfb56('0xde')]['is'](_0xfb56('0x63')))return void _0x2e1047[_0xfb56('0xce')][_0xfb56('0x124')](_0x2a039a[_0xfb56('0xde')],_0x1875f4[_0xfb56('0x5')]);const _0x28b34e=_0x2e1047[_0xfb56('0x70')]['toViewElement'](_0x2a039a[_0xfb56('0xde')]);if(_0x2a039a[_0xfb56('0xde')]['is']('element')&&_0x31b21e['model']['schema'][_0xfb56('0x153')](_0x2a039a['item'])&&!_0x28b34e[_0xfb56('0x15a')]('addHighlight')){_0x2e1047[_0xfb56('0x115')]['addClass']([_0xfb56('0x1c'),_0xfb56('0xdf')],_0x28b34e),_0x2e1047[_0xfb56('0x115')][_0xfb56('0x62')](_0xfb56('0x125'),_0xfa32d2,_0x28b34e),_0x2e1047[_0xfb56('0x70')][_0xfb56('0x173')](_0x28b34e,_0x2a039a[_0xfb56('0xe4')]),_0x5a2c25&&(this['activeMarkers'][_0xfb56('0xf')](_0x2a039a['markerName'])?_0x2e1047['writer'][_0xfb56('0x175')](_0xfb56('0x14a'),_0x28b34e):_0x2e1047[_0xfb56('0x115')][_0xfb56('0x16d')](_0xfb56('0x14a'),_0x28b34e));for(const _0x4ab618 of _0x31b21e[_0xfb56('0x144')][_0xfb56('0xec')](_0x2a039a[_0xfb56('0xde')])['getItems']())_0x2e1047[_0xfb56('0xce')][_0xfb56('0x124')](_0x4ab618,_0x1875f4[_0xfb56('0x5')]);_0x2e1047['consumable'][_0xfb56('0x124')](_0x2a039a[_0xfb56('0xde')],_0x1875f4[_0xfb56('0x5')]);}};_0x31b21e['conversion'][_0xfb56('0x105')]('dataDowncast')['add'](_0x166f28=>{_0x166f28['on'](_0xfb56('0x15b'),(_0x3fda55,_0x1115fc,_0x524e34)=>{_0x524e34['options'][_0xfb56('0x90')]&&_0x2fb8d0({'showActiveMarkers':!0x1})(_0x3fda55,_0x1115fc,_0x524e34);},{'priority':_0xfb56('0xf3')});}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0x47'))['add'](_0x2cc2db=>{_0x2cc2db['on'](_0xfb56('0xe2'),(_0x4296ef,_0x42e8e2,_0x16d66f)=>{_0x16d66f[_0xfb56('0x16a')][_0xfb56('0x90')]&&_0x2fb8d0({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4296ef,_0x42e8e2,_0x16d66f);},{'priority':_0xfb56('0xf3')});}),_0x31b21e['conversion']['for'](_0xfb56('0x47'))['markerToData']({'model':_0xfb56('0xe6'),'view':(_0x4da0a5,_0x31ae3c)=>_0x31ae3c['options'][_0xfb56('0x90')]?null:{'group':_0xfb56('0xe6'),'name':_0x4da0a5['substr'](0xb)}}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0x99'))[_0xfb56('0x2b')]({'view':{'name':_0xfb56('0xe6'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4f39ac,{writer:_0x3e7411})=>{let _0x38528c='suggestion:'+_0x4f39ac[_0xfb56('0x136')]('suggestion-type')+':'+_0x4f39ac[_0xfb56('0x136')]('id');return _0x4f39ac[_0xfb56('0x136')](_0xfb56('0xc2'))&&(_0x38528c+=':'+_0x4f39ac[_0xfb56('0x136')](_0xfb56('0xc2'))),_0x3e7411[_0xfb56('0xb3')](_0xfb56('0xf8'),{'data-name':_0x38528c});}}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0x99'))[_0xfb56('0x65')]({'view':_0xfb56('0xe6')}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0xd7'))[_0xfb56('0x131')](_0x4e4785=>{_0x4e4785['on'](_0xfb56('0x15b'),_0x2fb8d0(),{'priority':_0xfb56('0xaa')});}),_0x31b21e[_0xfb56('0xef')]['for']('editingDowncast')[_0xfb56('0x131')](_0x37ad76=>{_0x37ad76['on'](_0xfb56('0xe2'),_0x2fb8d0({'isAttributeSuggestion':!0x0}),{'priority':_0xfb56('0xaa')});}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0xd7'))[_0xfb56('0x131')](_0x4bce33=>{_0x4bce33['on'](_0xfb56('0x32'),(_0x4d5856,_0x624e08,_0x42c84c)=>{const _0x17d403=_0x42c84c[_0xfb56('0x70')][_0xfb56('0x58')](_0x624e08[_0xfb56('0xe4')]);if(_0x17d403)for(const _0x5e27de of _0x17d403)_0x5e27de[_0xfb56('0x15a')]('addHighlight')||(_0x42c84c['writer'][_0xfb56('0x16d')]([_0xfb56('0x1c'),_0xfb56('0xdf'),_0xfb56('0x14a')],_0x5e27de),_0x42c84c['writer'][_0xfb56('0x12b')](_0xfb56('0x125'),_0x5e27de),_0x42c84c[_0xfb56('0x70')][_0xfb56('0xcc')](_0x5e27de,_0x624e08['markerName']));},{'priority':_0xfb56('0xaa')});}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0xd7'))[_0xfb56('0x131')](_0x2bc8dc=>{_0x2bc8dc['on'](_0xfb56('0x78'),(_0x5a9ef7,_0x463a9a,_0xedd641)=>{const _0x486438=_0xedd641[_0xfb56('0x70')][_0xfb56('0x58')](_0x463a9a[_0xfb56('0xe4')]);if(!_0x486438)return;const {id:_0x479be7}=this[_0xfb56('0x11')](_0x463a9a['markerName']),_0x53b3f1=this['_suggestions']['get'](_0x479be7),_0x4d388e=this[_0xfb56('0x10d')](_0x53b3f1);if(this[_0xfb56('0x38')](_0x4d388e))for(const _0x4ce284 of _0x486438)_0x4ce284[_0xfb56('0x15a')](_0xfb56('0x103'))||(_0xedd641[_0xfb56('0x115')][_0xfb56('0x16d')]([_0xfb56('0x1c'),_0xfb56('0xdf'),_0xfb56('0x14a')],_0x4ce284),_0xedd641[_0xfb56('0x115')]['removeAttribute'](_0xfb56('0x125'),_0x4ce284),_0xedd641[_0xfb56('0x70')][_0xfb56('0xcc')](_0x4ce284,_0x463a9a[_0xfb56('0xe4')]));},{'priority':'high'});}),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')]['registerPostFixer'](_0x144549=>{let _0x52ca45=!0x1;const _0x224258=Array[_0xfb56('0x55')](_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')]['differ'][_0xfb56('0x68')]()),_0x4bb1da=new Set();for(const {name:_0x255f53,data:_0x43d6bf}of _0x224258){const {group:_0x237360,type:_0x3e9bc3,subType:_0x19de53,id:_0xf78e58}=this[_0xfb56('0x11')](_0x255f53);if(_0xfb56('0xe6')!==_0x237360)continue;const _0x529543=this['_suggestions'][_0xfb56('0x166')](_0xf78e58);if(null!=_0x43d6bf[_0xfb56('0x142')]){_0xfb56('0x3d')==_0x3e9bc3&&(_0x52ca45=_0x52ca45||Et(_0x43d6bf[_0xfb56('0x142')],_0x255f53,_0x144549,_0x31b21e[_0xfb56('0x144')]['schema']));const _0x25d354=_0xfb56('0x3a')==_0x3e9bc3&&this[_0xfb56('0x38')](_0x19de53['split']('|')[0x0]);if(_0x43d6bf[_0xfb56('0x142')][_0xfb56('0x49')]||_0xfb56('0x134')==_0x43d6bf[_0xfb56('0x142')][_0xfb56('0x4')][_0xfb56('0xab')]||_0xfb56('0x147')==_0x3e9bc3&&!jt(_0x43d6bf[_0xfb56('0x142')])||_0x25d354&&!jt(_0x43d6bf[_0xfb56('0x142')])||'deletion'==_0x3e9bc3&&!(!xt(_0x1794ef=_0x43d6bf[_0xfb56('0x142')])&&!function(_0x7304f4){return _0x7304f4[_0xfb56('0x16c')][_0xfb56('0xfd')]==_0x7304f4[_0xfb56('0x2a')][_0xfb56('0x89')]&&_0x7304f4[_0xfb56('0x16c')]['isAtEnd'];}(_0x1794ef)))_0x144549['removeMarker'](_0x255f53),_0x52ca45=!0x0;else{if(!_0x529543||!_0x529543[_0xfb56('0x66')])continue;_0x4bb1da[_0xfb56('0x131')](_0x529543);}}}var _0x1794ef;return _0x4bb1da[_0xfb56('0x135')]>0x0&&(_0x52ca45=!!this['_joinWithAdjacentSuggestions'](_0x4bb1da)||_0x52ca45),_0x52ca45;}),_0x31b21e[_0xfb56('0x144')]['document']['registerPostFixer'](_0x234f5a=>{let _0x37207=!0x1;for(const _0x22667e of _0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x117')][_0xfb56('0x35')]())if(_0xfb56('0xd4')==_0x22667e[_0xfb56('0xf1')])for(const _0x3368cc of this['_suggestions'][_0xfb56('0x48')]()){if(_0x3368cc[_0xfb56('0x104')]||!_0x3368cc[_0xfb56('0x66')])continue;const _0x5c6a03=_0xfb56('0x147')==_0x3368cc['type'],_0x6686c1=this['_getAttributeKeyFromSubType'](_0x3368cc),_0xe8dadd=_0x6686c1&&this[_0xfb56('0x38')](_0x6686c1);if(!_0x5c6a03&&!_0xe8dadd)continue;const _0x578c1d=_0x3368cc[_0xfb56('0x110')]();if(_0x578c1d[_0xfb56('0x16c')][_0xfb56('0xfd')]!=_0x578c1d['end'][_0xfb56('0xfd')]&&!_0x578c1d[_0xfb56('0x2a')]['isAtEnd']){const _0x2128d1=_0x31b21e[_0xfb56('0x144')][_0xfb56('0xad')](_0x578c1d[_0xfb56('0x16c')]['nodeAfter'],_0xfb56('0x2a')),_0x36cb30=_0x31b21e[_0xfb56('0x144')][_0xfb56('0x10b')](_0x578c1d[_0xfb56('0x16c')],_0x2128d1);_0x234f5a[_0xfb56('0x5a')](_0x3368cc[_0xfb56('0x4d')](),{'range':_0x36cb30}),_0x37207=!0x0;}}return _0x37207;}),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x106')](_0x4d851f=>this['_processAttributeChanges'](_0x4d851f)),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x106')](_0x279bad=>!_0x279bad[_0xfb56('0x159')][_0xfb56('0x14b')]&&this['_processAttributeSuggestions'](_0x279bad)),_0x31b21e[_0xfb56('0x144')][_0xfb56('0x118')]['on']('update:suggestion',(_0x2f9391,_0x618775,_0x379938)=>{if(null==_0x379938){const {id:_0x56648c}=this[_0xfb56('0x11')](_0x618775[_0xfb56('0x5')]),_0x270ecc=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x56648c);_0x270ecc&&_0x270ecc[_0xfb56('0x53')](_0x618775[_0xfb56('0x5')]);}}),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')]['on'](_0xfb56('0x16f'),()=>{const _0x23c1b8=Array[_0xfb56('0x55')](_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x117')][_0xfb56('0x68')]())[_0xfb56('0x7d')](_0x5d288c=>'suggestion'===this[_0xfb56('0x11')](_0x5d288c[_0xfb56('0x5')])['group']);if(0x0===_0x23c1b8['length'])return;_0x23c1b8[_0xfb56('0x69')]((_0x47a002,_0xd29763)=>{const _0x3b4142=_0x47a002[_0xfb56('0x15')]['oldRange'],_0x11ebfb=_0xd29763[_0xfb56('0x15')][_0xfb56('0x102')];return null===_0x3b4142&&null===_0x11ebfb?0x0:null===_0x3b4142&&null!==_0x11ebfb?-0x1:null!==_0x3b4142&&null===_0x11ebfb?0x1:_0x3b4142[_0xfb56('0x16c')][_0xfb56('0xcf')](_0x11ebfb[_0xfb56('0x16c')])?-0x1:0x1;});const _0x1a654b=new Set(),_0x43a6ec=new Set();for(const {name:_0x1335b0,data:_0x42bf32}of _0x23c1b8){const {id:_0x266c85}=this[_0xfb56('0x11')](_0x1335b0);if(null===_0x42bf32[_0xfb56('0x102')]){const _0x4bb9e1=this[_0xfb56('0xe7')](_0x1335b0);_0x43a6ec[_0xfb56('0x131')](_0x4bb9e1);}else{const _0x2b6818=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x266c85);null!==_0x42bf32['newRange']||_0x2b6818[_0xfb56('0x66')]?(_0x1a654b[_0xfb56('0x131')](_0x2b6818[_0xfb56('0x5d')]),_0x43a6ec[_0xfb56('0x131')](_0x2b6818)):this[_0xfb56('0x12d')](_0x2b6818);}}_0x43a6ec[_0xfb56('0x135')]>0x0&&this[_0xfb56('0x121')](_0x43a6ec);for(const _0x187918 of _0x1a654b)this[_0xfb56('0x12f')](_0xfb56('0xd0'),_0x187918);}),_0x31b21e[_0xfb56('0x144')]['on'](_0xfb56('0x56'),(_0xc1c7a8,_0x5b871f)=>{const _0x19409b=_0x5b871f[0x0];if(!this[_0xfb56('0xe1')][_0xfb56('0x135')])return;if(!_0x19409b['isDocumentOperation'])return;if(_0x19409b[_0xfb56('0x159')][_0xfb56('0x3c')]||!_0x19409b[_0xfb56('0x159')][_0xfb56('0x14b')])return;let _0x3aabb6,_0x41b20d;switch(_0x19409b[_0xfb56('0xf1')]){case _0xfb56('0xd4'):_0x3aabb6=_0x31b21e['model'][_0xfb56('0xad')](_0x19409b[_0xfb56('0x11f')]),_0x41b20d=_0x3aabb6[_0xfb56('0xa5')](_0x19409b['howMany']);break;case _0xfb56('0x7b'):_0x3aabb6=_0x31b21e['model'][_0xfb56('0xad')](_0x19409b['splitPosition']),_0x41b20d=_0x31b21e[_0xfb56('0x144')][_0xfb56('0xad')](_0x19409b[_0xfb56('0x2c')]);break;case _0xfb56('0x163'):_0x3aabb6=_0x31b21e['model'][_0xfb56('0xad')](_0x19409b[_0xfb56('0xc')]),_0x41b20d=_0x3aabb6[_0xfb56('0xa5')](_0x19409b[_0xfb56('0x27')]);break;default:return;}const _0x18b0e1=_0x31b21e[_0xfb56('0x144')]['createRange'](_0x3aabb6,_0x41b20d);_0x31b21e[_0xfb56('0x144')][_0xfb56('0xc7')](()=>{for(const {suggestion:_0x21e47d,meta:_0x26abf4}of this['_findSuggestions'](_0x18b0e1)){if(_0x21e47d['isMultiRange'])continue;if('formatInline'==_0x21e47d[_0xfb56('0xf1')])continue;const _0x1d2a50=this[_0xfb56('0x10d')](_0x21e47d);if(_0x1d2a50&&this[_0xfb56('0x38')](_0x1d2a50)&&_0xfb56('0x7b')!=_0x19409b['type'])continue;const _0x559f56=_0x21e47d['data']&&_0x21e47d['data'][_0xfb56('0xb0')];('formatBlock'!=_0x21e47d[_0xfb56('0xf1')]||'split'==_0x19409b[_0xfb56('0xf1')]&&!_0x559f56)&&(_0x26abf4[_0xfb56('0x87')]||_0xfb56('0xdd')==_0x21e47d[_0xfb56('0xf1')]&&_0x26abf4['isOwn']||_0x21e47d['getFirstRange']()[_0xfb56('0x140')](_0x18b0e1)&&this[_0xfb56('0x3e')](_0x21e47d,_0x3aabb6,_0x41b20d));}});},{'priority':_0xfb56('0x77')}),_0x31b21e[_0xfb56('0x144')]['on'](_0xfb56('0x5c'),(_0x1559e9,_0x3b73b0)=>{const _0x5b0af7=_0x3b73b0[0x0],_0x52cc42=_0x3b73b0[0x1];if(_0x52cc42&&_0x52cc42[_0xfb56('0x42')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0xfb56('0x8a')][_0xfb56('0x114')])return;if(_0x5b0af7[_0xfb56('0x49')])return;const _0x197ada=_0x31b21e[_0xfb56('0x144')][_0xfb56('0x3b')],{start:_0x3c7519,end:_0x22d6b0}=_0x5b0af7[_0xfb56('0x110')](),_0x1634e7=_0x3c7519['nodeAfter']&&_0x197ada[_0xfb56('0x8d')](_0x3c7519[_0xfb56('0x107')])?null:_0x197ada[_0xfb56('0x11e')](_0x3c7519,_0xfb56('0x9d')),_0x4e077b=_0x22d6b0[_0xfb56('0x89')]&&_0x197ada[_0xfb56('0x8d')](_0x22d6b0[_0xfb56('0x89')])?null:_0x197ada[_0xfb56('0x11e')](_0x22d6b0,_0xfb56('0xd8')),_0xa6333f=_0x31b21e[_0xfb56('0x144')]['createRange'](_0x1634e7?_0x1634e7[_0xfb56('0x16c')]:_0x3c7519,_0x4e077b?_0x4e077b[_0xfb56('0x2a')]:_0x22d6b0);_0x31b21e['model'][_0xfb56('0xc7')](_0x4f53f8=>{this[_0xfb56('0x122')](_0xa6333f);const _0x16bd48=_0x31b21e[_0xfb56('0x144')][_0xfb56('0x3b')][_0xfb56('0x11e')](_0xa6333f[_0xfb56('0x16c')]);_0x5b0af7['is'](_0xfb56('0x6f'))?_0x4f53f8[_0xfb56('0xba')](_0x16bd48):_0x5b0af7['setTo'](_0x16bd48);}),_0x1559e9['stop']();},{'priority':_0x37cbac[_0xfb56('0x120')]+0xa}),_0x31b21e[_0xfb56('0x144')]['on']('insertContent',(_0x24177b,_0x81f994)=>{const _0x2df5fd=_0x81f994[_0x81f994[_0xfb56('0xa8')]-0x1];_0x2df5fd&&_0x2df5fd['forceDefaultExecution']||this[_0xfb56('0x119')]||this[_0xfb56('0x8a')][_0xfb56('0x114')]&&(_0x31b21e[_0xfb56('0x144')][_0xfb56('0xc7')](()=>{let _0x5ba614=_0x31b21e[_0xfb56('0x144')]['insertContent'](_0x81f994[0x0],_0x81f994[0x1],_0x81f994[0x2],{'forceDefaultExecution':!0x0});if(!_0x5ba614)return;_0x24177b[_0xfb56('0x145')]=_0x5ba614[_0xfb56('0x10f')]();const _0x457559=_0x5ba614[_0xfb56('0x2a')][_0xfb56('0x89')],_0x579db6=_0x31b21e[_0xfb56('0x144')]['schema'];_0x457559&&_0x579db6['isBlock'](_0x457559)&&!_0x579db6[_0xfb56('0xaf')](_0x457559)&&(_0x5ba614=_0x31b21e[_0xfb56('0x144')]['createRange'](_0x5ba614['start'],_0x31b21e[_0xfb56('0x144')]['createPositionAt'](_0x457559,_0xfb56('0x2a')))),this[_0xfb56('0x1f')](_0x5ba614);}),_0x24177b[_0xfb56('0x174')]());},{'priority':_0xfb56('0xaa')}),this[_0xfb56('0x11a')][_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0x137'),this['trackChangesCommand']),this[_0xfb56('0xbe')](_0xfb56('0x137'));const _0x42808e=new _0x21e1cc(_0x31b21e,this[_0xfb56('0xe1')]);_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xbc'),_0x42808e),this[_0xfb56('0xbe')](_0xfb56('0xbc'));const _0x24d581=new _0x5b3b64(_0x31b21e,this['_suggestions']);_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xeb'),_0x24d581),this['enableCommand'](_0xfb56('0xeb')),_0x31b21e['commands'][_0xfb56('0x131')](_0xfb56('0xa'),new _0x1a2799(_0x31b21e,_0x42808e,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')](_0xfb56('0xa')),_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xf4'),new _0x1a2799(_0x31b21e,_0x24d581,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')](_0xfb56('0xf4')),_0x31b21e['commands'][_0xfb56('0x131')](_0xfb56('0x164'),new _0x5cf1fc(_0x31b21e,_0x42808e,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')](_0xfb56('0x164')),_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xc1'),new _0x5cf1fc(_0x31b21e,_0x24d581,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')]('discardSelectedSuggestions');const _0x191f59=_0x31b21e[_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x19'));this[_0xfb56('0x170')](_0x191f59,_0xfb56('0x20'),(_0x47b736,{threadId:_0x465112})=>{const _0x2962a6=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x465112);_0x2962a6&&_0x2962a6[_0xfb56('0xc5')]&&0x1===_0x2962a6['commentThread'][_0xfb56('0xa8')]&&this[_0xfb56('0xa6')](_0x465112,{'hasComments':!0x0});},{'priority':'low'}),this[_0xfb56('0x170')](_0x191f59,'removeComment',(_0x2e6c32,{threadId:_0x504e73})=>{const _0x52e621=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x504e73);_0x52e621&&_0x52e621[_0xfb56('0xc5')]&&!_0x52e621[_0xfb56('0xc5')][_0xfb56('0xa8')]&&this['_updateSuggestionData'](_0x504e73,{'hasComments':!0x1});},{'priority':_0xfb56('0x28')});}set[_0xfb56('0x146')](_0x2a8add){if(this[_0xfb56('0xf9')])throw new _0x25467a(_0xfb56('0x11d'),this);this[_0xfb56('0xf9')]=_0x2a8add;}get[_0xfb56('0x146')](){return this['_adapter'];}[_0xfb56('0x150')]({skipNotAttached:_0x4d6f16=!0x1,toJSON:_0x50d0ef=!0x1}={}){const _0x33a044=[];for(const _0xaa7153 of this['_suggestions'][_0xfb56('0x48')]())_0x4d6f16&&!_0xaa7153[_0xfb56('0x66')]||_0x33a044[_0xfb56('0x139')](_0xaa7153);return _0x50d0ef?_0x33a044[_0xfb56('0x157')](_0x140d54=>_0x140d54[_0xfb56('0x76')]()):_0x33a044;}['getSuggestion'](_0x3777de){const _0x24cc10=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x3777de);if(!_0x24cc10)throw new _0x25467a(_0xfb56('0x96'),this);return _0x24cc10;}['hasSuggestion'](_0x19110a){return this[_0xfb56('0xe1')][_0xfb56('0x6d')](_0x19110a);}[_0xfb56('0xc4')](_0x5f41d2){const {authorId:_0x3378d9,id:_0x431025,attributes:_0x609e48}=_0x5f41d2,[_0x400a06,_0x2cfbb8]=_0x5f41d2[_0xfb56('0xf1')][_0xfb56('0x7b')](':'),_0x19e807=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x431025)||this[_0xfb56('0x141')](_0x400a06,_0x2cfbb8,_0x431025,_0x3378d9,_0x609e48);if(this[_0xfb56('0x9b')](_0x19e807),this[_0xfb56('0x29')](_0x19e807,_0x400a06,_0x2cfbb8||null,_0x3378d9),_0x19e807[_0xfb56('0x50')]=_0x5f41d2[_0xfb56('0x50')],_0x19e807[_0xfb56('0xe0')]=!0x0,_0x609e48&&_0x609e48[_0xfb56('0x116')]){const _0x2a79a6=_0x609e48['@external'],_0x3e2b8f=this['_getExternalAuthor'](_0x2a79a6[_0xfb56('0x7a')]);_0x19e807[_0xfb56('0x15f')]=_0x2a79a6['createdAt'],_0x19e807[_0xfb56('0x16')]=_0x3e2b8f,_0x19e807['isExternal']=!0x0;}else _0x19e807[_0xfb56('0x15f')]=_0x5f41d2['createdAt'];switch(_0x5f41d2[_0xfb56('0x15')]&&(_0x19e807[_0xfb56('0x15')]=_0x5f41d2[_0xfb56('0x15')]),_0x5f41d2['attributes']&&(_0x19e807[_0xfb56('0xa9')]=_0x5f41d2['attributes']),this[_0xfb56('0xf9')]&&this[_0xfb56('0xf9')]['addSuggestion']||(_0x19e807[_0xfb56('0x10a')]=!0x0),this[_0xfb56('0xd6')][_0xfb56('0x166')](_0x19e807)){case _0xfb56('0x95'):this['_suggestionState'][_0xfb56('0x31')](_0x19e807,'dataReady');break;case _0xfb56('0x2e'):_0x19e807[_0xfb56('0x66')]?(this[_0xfb56('0x121')](new Set([_0x19e807])),this['_joinWithAdjacentSuggestions'](new Set([_0x19e807])),this[_0xfb56('0xd6')]['set'](_0x19e807,_0xfb56('0x5e')),this['fire']('suggestionLoaded',_0x19e807)):this['_suggestionState']['set'](_0x19e807,_0xfb56('0xe'));}return _0x19e807;}[_0xfb56('0xbc')](_0x28b16e){this[_0xfb56('0x42')](()=>{this['editor'][_0xfb56('0x144')][_0xfb56('0xc7')](()=>{for(const _0x3e1df3 of _0x28b16e[_0xfb56('0x9f')]())_0x3e1df3[_0xfb56('0x23')]();});});}[_0xfb56('0xeb')](_0x5bc7ad){this['forceDefaultExecution'](()=>{this['editor'][_0xfb56('0x144')][_0xfb56('0xc7')](()=>{for(const _0x1d2511 of _0x5bc7ad['getAllAdjacentSuggestions']())_0x1d2511[_0xfb56('0x2d')]();});});}[_0xfb56('0xbe')](_0x168fdb,_0x5af0ab){const _0x4b89e0=this[_0xfb56('0x11a')][_0xfb56('0x172')][_0xfb56('0x166')](_0x168fdb);if(!_0x4b89e0)throw new _0x25467a(_0xfb56('0x25'),this,{'commandName':_0x168fdb});if(this[_0xfb56('0xf5')]['has'](_0x4b89e0))throw new _0x25467a('track-changes-enable-command-twice',this,{'commandName':_0x168fdb});this[_0xfb56('0xf5')][_0xfb56('0x131')](_0x4b89e0),_0x5af0ab&&_0x4b89e0['on']('execute',(_0x4ca9e6,_0xf229d8)=>{this['trackChangesCommand'][_0xfb56('0x114')]&&(this[_0xfb56('0x119')]||(_0xf229d8[_0xfb56('0xa8')]>0x0&&_0xf229d8[_0xf229d8[_0xfb56('0xa8')]-0x1]&&_0xf229d8[_0xf229d8[_0xfb56('0xa8')]-0x1][_0xfb56('0x42')]?_0xf229d8[_0xfb56('0x81')]():(_0x4ca9e6[_0xfb56('0x145')]=_0x5af0ab((..._0x24b0e6)=>_0x4b89e0[_0xfb56('0xfc')](..._0x24b0e6,{'forceDefaultExecution':!0x0}),..._0xf229d8),_0x4ca9e6[_0xfb56('0x174')]())));},{'priority':'high'});}[_0xfb56('0x42')](_0x2fef2e){let _0x2552f0,_0x459feb;const _0x1ce852=this[_0xfb56('0x119')];this[_0xfb56('0x119')]=!0x0;try{_0x2552f0=_0x2fef2e();}catch(_0x19dc8e){_0x459feb=_0x19dc8e;}return _0x1ce852||(this[_0xfb56('0x119')]=!0x1),_0x459feb&&_0x25467a['rethrowUnexpectedError'](_0x459feb,this),_0x2552f0;}[_0xfb56('0x1f')](_0x55d54b,_0xce729d=null,_0x59598b={}){if(_0x55d54b[_0xfb56('0x49')])return null;const _0x4a8aa2=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['me'];for(const {suggestion:_0x87aeee,meta:_0x5b079d}of this['_findSuggestions'](_0x55d54b,_0xfb56('0xdd')))if(_0x5b079d[_0xfb56('0x10')]){if(!_0x5b079d[_0xfb56('0xbd')]){if(_0x5b079d[_0xfb56('0x87')]){if(!this['_mergeNestedSuggestions']||!Ft(_0x87aeee,_0x59598b))continue;return _0x87aeee;}if(Ft(_0x87aeee,_0x59598b))return _0x87aeee;this[_0xfb56('0x3e')](_0x87aeee,_0x55d54b[_0xfb56('0x16c')],_0x55d54b['end']);break;}if(_0xce729d==_0x87aeee[_0xfb56('0x33')]&&Ft(_0x87aeee,_0x59598b)){const _0x17ba84=_0x87aeee[_0xfb56('0x110')]();return _0x17ba84[_0xfb56('0x16c')]['isEqual'](_0x55d54b['end'])?this[_0xfb56('0x88')](_0x87aeee,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x55d54b[_0xfb56('0x16c')],_0x17ba84[_0xfb56('0x2a')])):this[_0xfb56('0x88')](_0x87aeee,this[_0xfb56('0x14f')]['createRange'](_0x17ba84[_0xfb56('0x16c')],_0x55d54b['end'])),_0x87aeee;}}const _0x10a690=_0x1afc95(),_0x5c5117=_0x4a8aa2['id'],_0x37533a=_0xce729d?_0xfb56('0x126')+_0xce729d:_0xfb56('0xdd'),_0x2f1786=this[_0xfb56('0x13d')]({'id':_0x10a690,'type':_0x37533a,'createdAt':new Date(),'authorId':_0x5c5117,'attributes':_0x59598b});return this[_0xfb56('0x13a')](_0x37533a,_0x10a690,_0x5c5117,_0x55d54b),_0x2f1786;}[_0xfb56('0x14')](_0x2626f5,_0x869f1a=_0xfb56('0x128'),_0x31c013={}){const _0x511e26=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['me'],_0x524713=this['_suggestionFactory'][_0xfb56('0x94')](_0xfb56('0xdd'),_0x869f1a,_0xfb56('0x64'));for(const _0x54e9c2 of this[_0xfb56('0x150')]())if(_0x54e9c2[_0xfb56('0x16')]['id']==_0x511e26['id']&&_0xfb56('0xdd')==_0x54e9c2[_0xfb56('0xf1')]&&_0x54e9c2['subType']==_0x869f1a&&Ft(_0x54e9c2,_0x31c013)&&(_0x524713(_0x54e9c2['getRanges'](),_0x2626f5)||_0x524713(_0x2626f5,_0x54e9c2['getRanges']()))){for(const _0x503452 of _0x2626f5)_0x54e9c2[_0xfb56('0x13e')](_0x503452);return _0x54e9c2;}for(const {suggestion:_0x1c906f,meta:_0x252857}of this[_0xfb56('0x37')](_0x2626f5,_0xfb56('0xdd'))){if(!_0x252857[_0xfb56('0x10')])continue;if(!this['_mergeNestedSuggestions']&&_0x252857[_0xfb56('0x87')])continue;if(!Ft(_0x1c906f,_0x31c013))continue;let _0xaa8a60=!0x0;for(const _0x484442 of _0x1c906f['getRanges']())for(const _0x42ebbc of _0x2626f5)if(!_0x484442['containsRange'](_0x42ebbc)){_0xaa8a60=!0x1;break;}if(_0xaa8a60)return _0x1c906f;}const _0x215d57=_0x1afc95(),_0x15c45c=_0x511e26['id'],_0xf42232='insertion:'+_0x869f1a,_0x359550=this[_0xfb56('0x13d')]({'id':_0x215d57,'type':_0xf42232,'createdAt':new Date(),'authorId':_0x15c45c,'attributes':_0x31c013});for(const _0x5800de of _0x2626f5)this['_addSuggestionMarker'](_0xf42232,_0x215d57,_0x15c45c,_0x5800de,_0x4d3acb[_0xfb56('0x5b')]());return _0x359550;}[_0xfb56('0x13c')](_0x5efd7a,_0x1ce4e6,_0x3983c1=null,_0x1d4d14={}){if(_0x3983c1=_0x3983c1||Rt(_0x1ce4e6),_0x5efd7a[_0xfb56('0x49')])return null;if(_0xfb56('0x75')===this[_0xfb56('0xb6')]){const _0x2a08dd=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x3d'),_0x3983c1,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x2a08dd([_0x5efd7a],_0x1ce4e6,_0x1d4d14)),null;}const _0x44e285=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149'))['me'],_0x39fd0a=[];if(_0xfb56('0xae')!==this['_trackFormatChanges'])for(const {suggestion:_0xa9be3d,meta:_0x3772a6}of this['_findSuggestions'](_0x5efd7a,'insertion'))_0x3772a6[_0xfb56('0x10')]&&!_0x3772a6[_0xfb56('0xdc')]&&_0x39fd0a[_0xfb56('0x139')](..._0xa9be3d['getRanges']());const _0x5f1cfe=function(_0x52d1c2,_0x1e5a56){const _0x1709e3=[];for(const _0x288ba9 of _0x1e5a56){const _0x5690d5=_0x52d1c2[_0xfb56('0xe9')](_0x288ba9);_0x5690d5&&_0x1709e3['push'](_0x5690d5);}return _0x1709e3;}(_0x5efd7a,_0x39fd0a),_0x4ecfb0=function(_0x48a7ef,_0x4c49e8){const _0x2f1462=[_0x48a7ef];for(const _0x2b4246 of _0x4c49e8){let _0x50bc9b=0x0;for(;_0x50bc9b<_0x2f1462[_0xfb56('0xa8')];){const _0x4fafa7=_0x2f1462[_0x50bc9b][_0xfb56('0x14e')](_0x2b4246);_0x2f1462['splice'](_0x50bc9b,0x1,..._0x4fafa7),_0x50bc9b+=_0x4fafa7[_0xfb56('0xa8')];}}return _0x2f1462;}(_0x5efd7a,_0x39fd0a);_0x5f1cfe[_0xfb56('0xa8')]&&this[_0xfb56('0x14f')][_0xfb56('0xc7')](()=>{for(const _0x325729 of _0x5f1cfe){const _0x504f24=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x3d'),_0x3983c1,'accept');this[_0xfb56('0x42')](()=>_0x504f24([_0x325729],_0x1ce4e6,_0x1d4d14));}});for(const _0x3603e6 of _0x4ecfb0){let _0x42b544=null,_0x44afdf=_0x3603e6[_0xfb56('0x16c')],_0x407927=_0x3603e6[_0xfb56('0x2a')];for(const {suggestion:_0x24d3e9,meta:_0x46a5c3}of this['_findSuggestions'](_0x3603e6,_0xfb56('0x3d'))){if(!_0x46a5c3[_0xfb56('0x10')])continue;if(_0x24d3e9[_0xfb56('0x33')]!=_0x3983c1)continue;if(!Ft(_0x24d3e9,_0x1d4d14))continue;const _0x15c70e=_0x24d3e9['getFirstRange']();if(_0x15c70e[_0xfb56('0x140')](_0x3603e6,!0x0))return null;_0x44afdf=_0x44afdf[_0xfb56('0xcf')](_0x15c70e[_0xfb56('0x16c')])?_0x44afdf:_0x15c70e['start'],_0x407927=_0x407927[_0xfb56('0x130')](_0x15c70e[_0xfb56('0x2a')])?_0x407927:_0x15c70e['end'],_0x42b544?_0x15c70e['start'][_0xfb56('0xcf')](_0x42b544[_0xfb56('0x110')]()[_0xfb56('0x16c')])?(_0x42b544['removeMarkers'](),_0x42b544=_0x24d3e9):_0x24d3e9['removeMarkers']():_0x42b544=_0x24d3e9;}const _0x188c72=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x44afdf,_0x407927);if(_0x42b544)this[_0xfb56('0x88')](_0x42b544,_0x188c72);else{const _0x510b88=_0x1afc95(),_0x4dd6a2=_0x44e285['id'];this[_0xfb56('0x13d')]({'id':_0x510b88,'type':_0xfb56('0xd2')+_0x3983c1,'data':_0x1ce4e6,'createdAt':new Date(),'authorId':_0x4dd6a2,'attributes':_0x1d4d14}),this[_0xfb56('0x13a')](_0xfb56('0xd2')+_0x3983c1,_0x510b88,_0x4dd6a2,_0x188c72);}}return null;}[_0xfb56('0x6c')](_0x310e21,_0xdc9a14,_0x6c0e00=[],_0x3f47f0=null,_0x20ae83={}){_0xdc9a14['formatGroupId']||(_0xdc9a14[_0xfb56('0xa4')]=_0xdc9a14[_0xfb56('0xf0')]),_0xdc9a14[_0xfb56('0xb0')]=_0x310e21['is']('range'),_0x3f47f0=_0x3f47f0||Rt(_0xdc9a14);const _0x582916=_0x6c0e00[_0xfb56('0x157')](_0x52715c=>Ut(_0x52715c,this[_0xfb56('0x14f')])),_0x1db312=_0x310e21['is'](_0xfb56('0x1a'))?_0x310e21:Ut(_0x310e21,this[_0xfb56('0x14f')]);if(_0xfb56('0x75')===this[_0xfb56('0xb6')]){const _0x231743=this['_suggestionFactory'][_0xfb56('0x94')](_0xfb56('0x147'),_0x3f47f0,_0xfb56('0x23'));return this['forceDefaultExecution'](()=>_0x231743([_0x1db312],_0xdc9a14,_0x20ae83)),null;}_0x582916[_0xfb56('0x139')](_0x1db312);let _0x3c0b43=!0x0;for(const _0x12b529 of _0x582916)if(!this[_0xfb56('0x92')](_0x12b529)){_0x3c0b43=!0x1;break;}if(_0x3c0b43&&'always'!==this[_0xfb56('0xb6')]){const _0x5de2de=this['_suggestionFactory'][_0xfb56('0x94')](_0xfb56('0x147'),_0x3f47f0,'accept');return this[_0xfb56('0x42')](()=>_0x5de2de([_0x1db312],_0xdc9a14,_0x20ae83)),null;}let _0x2a3afa=null,_0x40eac3=_0x1db312[_0xfb56('0x16c')],_0x4f9452=_0x1db312['end'];for(const {suggestion:_0x59dbe2,meta:_0x15d506}of this[_0xfb56('0x37')](_0x1db312,_0xfb56('0x147'))){if(!_0x15d506[_0xfb56('0x10')])continue;if(_0x15d506['isNextTo']||_0x15d506['containsRangeInObject']||_0x15d506[_0xfb56('0xdc')])continue;if(_0x59dbe2[_0xfb56('0x15')]['formatGroupId']!=_0xdc9a14[_0xfb56('0xa4')])continue;if(!Ft(_0x59dbe2,_0x20ae83))continue;const _0x57e332=_0x59dbe2[_0xfb56('0x110')]();if(_0x59dbe2['subType']==_0x3f47f0){if(_0x57e332[_0xfb56('0x140')](_0x1db312,!0x0))return null;_0x40eac3=_0x40eac3[_0xfb56('0xcf')](_0x57e332[_0xfb56('0x16c')])?_0x40eac3:_0x57e332[_0xfb56('0x16c')],_0x4f9452=_0x4f9452[_0xfb56('0x130')](_0x57e332['end'])?_0x4f9452:_0x57e332[_0xfb56('0x2a')],_0x2a3afa?_0x57e332[_0xfb56('0x16c')][_0xfb56('0xcf')](_0x2a3afa[_0xfb56('0x110')]()[_0xfb56('0x16c')])?(_0x2a3afa[_0xfb56('0x151')](),_0x2a3afa=_0x59dbe2):_0x59dbe2[_0xfb56('0x151')]():_0x2a3afa=_0x59dbe2;}else{const _0x34178d=_0x1db312[_0xfb56('0xe9')](_0x57e332);this[_0xfb56('0xd1')](_0x59dbe2,_0x34178d);}}const _0x336c2c=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149'))['me'],_0x372ff8=_0x1afc95(),_0x493b96=_0x336c2c['id'];if(_0x2a3afa)return this['_setSuggestionRange'](_0x2a3afa,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x40eac3,_0x4f9452)),_0x2a3afa;{const _0x12c90d=this['_setSuggestionData']({'id':_0x372ff8,'type':_0xfb56('0xca')+_0x3f47f0,'data':_0xdc9a14,'createdAt':new Date(),'authorId':_0x493b96,'attributes':_0x20ae83});return this['_addSuggestionMarker'](_0xfb56('0xca')+_0x3f47f0,_0x372ff8,_0x493b96,this['_model'][_0xfb56('0x10b')](_0x40eac3,_0x4f9452)),_0x12c90d;}}[_0xfb56('0xfe')](_0x3c2c39,_0x19f914,_0x10ce5f=[],_0x3df546=null,_0x1946aa={}){_0x19f914[_0xfb56('0xa4')]||(_0x19f914[_0xfb56('0xa4')]=_0x19f914[_0xfb56('0xf0')]);const _0x4b8690=_0x3c2c39[0x0];_0x19f914[_0xfb56('0xb0')]=_0x4b8690['is'](_0xfb56('0x1a')),_0x3df546=_0x3df546||Rt(_0x19f914);const _0x192941=_0x10ce5f['map'](_0x30d9ca=>Ut(_0x30d9ca,this[_0xfb56('0x14f')])),_0x143771=_0x4b8690['is'](_0xfb56('0x1a'))?_0x3c2c39:_0x3c2c39[_0xfb56('0x157')](_0x28a22d=>Ut(_0x28a22d,this[_0xfb56('0x14f')]));if(_0xfb56('0x75')===this[_0xfb56('0xb6')]){const _0x3cb15c=this[_0xfb56('0x98')]['getSuggestionCallback']('formatBlock',_0x3df546,'accept');return this[_0xfb56('0x42')](()=>_0x3cb15c(_0x143771,_0x19f914,_0x1946aa)),null;}_0x192941[_0xfb56('0x139')](..._0x143771);let _0x4a6b9b=!0x0;for(const _0x35209b of _0x192941)if(!this['_rangeIsInLocalUserInsertion'](_0x35209b)){_0x4a6b9b=!0x1;break;}if(_0x4a6b9b&&_0xfb56('0xae')!==this[_0xfb56('0xb6')]){const _0x297ca6=this[_0xfb56('0x98')][_0xfb56('0x94')]('formatBlock',_0x3df546,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x297ca6(_0x143771,_0x19f914,_0x1946aa)),null;}const _0x19eb28=this[_0xfb56('0x11a')]['plugins'][_0xfb56('0x166')](_0xfb56('0x149'))['me'];for(const _0x4502a4 of this['getSuggestions']()){if(_0x4502a4[_0xfb56('0x16')]['id']!=_0x19eb28['id'])continue;if(_0xfb56('0x147')!=_0x4502a4[_0xfb56('0xf1')]||_0x4502a4[_0xfb56('0x15')][_0xfb56('0xa4')]!=_0x19f914[_0xfb56('0xa4')])continue;if(!Ft(_0x4502a4,_0x1946aa))continue;const _0x4b35a7=_0x4502a4[_0xfb56('0x33')]==_0x3df546;for(let _0x345528=0x0;_0x345528<_0x143771[_0xfb56('0xa8')];_0x345528++){const _0x12cc54=_0x143771[_0x345528];for(const _0x6aedbd of _0x4502a4[_0xfb56('0x12')]()){const _0x3881f6=_0x6aedbd[_0xfb56('0xda')]();if(_0x12cc54['isEqual'](_0x3881f6)){_0x4b35a7?(_0x143771[_0xfb56('0x9a')](_0x345528,0x1),_0x345528--):_0x4502a4[_0xfb56('0xbb')](_0x6aedbd['name']);break;}}}}if(0x0==_0x143771['length'])return null;const _0xaabde=this[_0xfb56('0x98')]['getSuggestionCallback'](_0xfb56('0x147'),_0x3df546,_0xfb56('0x64'));for(const _0x5a3ad0 of this[_0xfb56('0x150')]())if(_0x5a3ad0['author']['id']==_0x19eb28['id']&&_0xfb56('0x147')==_0x5a3ad0[_0xfb56('0xf1')]&&_0x5a3ad0['data'][_0xfb56('0xa4')]==_0x19f914[_0xfb56('0xa4')]&&_0x5a3ad0['subType']==_0x3df546&&Ft(_0x5a3ad0,_0x1946aa)&&(_0xaabde(_0x5a3ad0['getRanges'](),_0x143771)||_0xaabde(_0x143771,_0x5a3ad0[_0xfb56('0x7f')]()))){for(const _0x3de535 of _0x143771)_0x5a3ad0[_0xfb56('0x13e')](_0x3de535);return _0x5a3ad0;}const _0x566c57=_0x1afc95(),_0x2063c1=_0x19eb28['id'],_0x3b6265='formatBlock:'+_0x3df546,_0x5d6ec0=this[_0xfb56('0x13d')]({'id':_0x566c57,'type':_0x3b6265,'data':_0x19f914,'createdAt':new Date(),'authorId':_0x2063c1,'attributes':_0x1946aa});for(const _0x91a4c4 of _0x143771)this[_0xfb56('0x13a')](_0x3b6265,_0x566c57,_0x2063c1,_0x91a4c4,_0x4d3acb['getMultiRangeId']());return _0x5d6ec0;}[_0xfb56('0x122')](_0x31bb66,_0x330727=null,_0x11d7a0={}){if(_0x31bb66['isCollapsed'])return null;const _0x3a5944=this[_0xfb56('0x11a')][_0xfb56('0x46')]['get'](_0xfb56('0x149'))['me'],_0x27a1b6=new _0x49faa4(_0x31bb66[_0xfb56('0x16c')],_0x31bb66['end']);for(const {suggestion:_0x2baccc,meta:_0xa7d4e3}of this['_findSuggestions'](_0x27a1b6,_0xfb56('0xdd')))if(_0xa7d4e3[_0xfb56('0x10')]&&!_0xa7d4e3['isNextTo']){if(_0x2baccc[_0xfb56('0x104')]){const _0x4d78a9=_0x2baccc['getRanges']()[_0xfb56('0x7d')](_0x561afe=>'$graveyard'!=_0x561afe[_0xfb56('0x4')][_0xfb56('0xab')]);_0x4d78a9[_0xfb56('0x12a')](_0x20ee14=>_0x27a1b6['containsRange'](_0x20ee14,!0x0))&&_0x2baccc[_0xfb56('0x2d')]();if(_0x4d78a9[_0xfb56('0xc0')](_0x4b876e=>_0x4b876e[_0xfb56('0x140')](_0x27a1b6,!0x0))){const _0x1d072c=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x171'),_0x330727,_0xfb56('0x23'));return this['forceDefaultExecution'](()=>_0x1d072c([_0x27a1b6],null,_0x11d7a0)),null;}}else{const _0x4a32dc=_0x27a1b6[_0xfb56('0xe9')](_0x2baccc[_0xfb56('0x110')]());null!==_0x4a32dc&&_0x2baccc[_0xfb56('0x71')]([_0x4a32dc],null,_0x11d7a0);}}if(_0x27a1b6[_0xfb56('0x3f')](),_0x27a1b6[_0xfb56('0x49')]||_0xfb56('0x134')==_0x27a1b6[_0xfb56('0x4')]['rootName'])return null;let _0x4ebb96=null,_0x45702c=_0x27a1b6[_0xfb56('0x16c')],_0x18e451=_0x27a1b6[_0xfb56('0x2a')];const _0x59d2da=this[_0xfb56('0x37')](_0x27a1b6,_0xfb56('0x171'));for(const {suggestion:_0x3988e7,meta:_0x17ca8e}of _0x59d2da){const _0x1356e3=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x45702c,_0x18e451);if(_0x17ca8e[_0xfb56('0x10')]&&(this['_mergeNestedSuggestions']||!_0x17ca8e[_0xfb56('0x87')]&&!_0x17ca8e['isInsideObject'])){if(_0x3988e7[_0xfb56('0x104')]){if(!Ft(_0x3988e7,_0x11d7a0))continue;let _0x583851=!0x0;for(const _0x431fbd of _0x3988e7['getRanges']()){if(_0x431fbd[_0xfb56('0x140')](_0x1356e3,!0x0))return _0x3988e7;_0x1356e3[_0xfb56('0x140')](_0x431fbd)||(_0x583851=!0x1);}_0x583851&&_0x3988e7[_0xfb56('0x2d')]();}else{const _0x3dce74=_0x3988e7[_0xfb56('0x110')]();if(_0x3dce74['containsRange'](_0x1356e3,!0x0))return _0x3988e7;if(!Ft(_0x3988e7,_0x11d7a0)){_0x1356e3[_0xfb56('0x140')](_0x3dce74)?_0x3988e7[_0xfb56('0x151')]():_0x3dce74[_0xfb56('0x7')](_0x45702c)?_0x45702c=_0x3dce74[_0xfb56('0x2a')]:_0x3dce74['containsPosition'](_0x18e451)&&(_0x18e451=_0x3dce74['start']);continue;}_0x45702c=_0x45702c['isBefore'](_0x3dce74[_0xfb56('0x16c')])?_0x45702c:_0x3dce74[_0xfb56('0x16c')],_0x18e451=_0x18e451[_0xfb56('0x130')](_0x3dce74[_0xfb56('0x2a')])?_0x18e451:_0x3dce74[_0xfb56('0x2a')],_0x11d7a0=Object['assign']({},_0x3988e7[_0xfb56('0xa9')]),_0x4ebb96?_0x3dce74[_0xfb56('0x16c')][_0xfb56('0xcf')](_0x4ebb96[_0xfb56('0x110')]()['start'])?(_0x4ebb96[_0xfb56('0x151')](),_0x4ebb96=_0x3988e7):_0x3988e7[_0xfb56('0x151')]():_0x4ebb96=_0x3988e7;}}}if(_0x4ebb96)return this[_0xfb56('0x88')](_0x4ebb96,this['_model'][_0xfb56('0x10b')](_0x45702c,_0x18e451)),_0x4ebb96;{const _0x46d4e0=_0x1afc95(),_0x114fbc=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x45702c,_0x18e451),_0xab31b3=_0x3a5944['id'],_0x4f78f8=_0x330727?'deletion:'+_0x330727:_0xfb56('0x171'),_0x4f1356=this[_0xfb56('0x13d')]({'id':_0x46d4e0,'type':_0x4f78f8,'createdAt':new Date(),'authorId':_0xab31b3,'attributes':_0x11d7a0});return this['_addSuggestionMarker'](_0x4f78f8,_0x46d4e0,_0xab31b3,_0x114fbc),_0x4f1356;}}[_0xfb56('0x6b')](_0x456d80,_0x402e65='multi',_0x5dffca={}){const _0x5935db=this['editor'][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['me'],_0x333eca=_0x456d80[_0xfb56('0x157')](_0x397634=>new _0x49faa4(_0x397634['start'],_0x397634[_0xfb56('0x2a')])),_0x4a93f1=new Set();for(const {suggestion:_0x12bbad,meta:_0x2e0acb}of this[_0xfb56('0x37')](_0x333eca,_0xfb56('0xdd')))_0x2e0acb[_0xfb56('0x10')]&&!_0x2e0acb[_0xfb56('0xbd')]&&_0x4a93f1[_0xfb56('0x131')](_0x12bbad);for(const _0x26633a of _0x4a93f1)if(_0x26633a[_0xfb56('0x104')]){const _0x2c93e4=_0x26633a['getRanges']();(!_0x26633a[_0xfb56('0xa9')]||!_0x26633a[_0xfb56('0xa9')][_0xfb56('0x8e')])&&(_0x2c93e4['every'](_0x39de69=>_0x333eca[_0xfb56('0xc0')](_0x43e485=>_0x43e485['containsRange'](_0x39de69,!0x0)))&&_0x26633a[_0xfb56('0x2d')]());if(_0x333eca[_0xfb56('0x12a')](_0x195ce9=>_0x2c93e4[_0xfb56('0xc0')](_0x5c50f2=>_0x5c50f2[_0xfb56('0x140')](_0x195ce9,!0x0)))){const _0x40ce00=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x171'),_0x402e65,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x40ce00(_0x456d80,null,_0x5dffca)),null;}}else{const _0x4b8858=_0x26633a[_0xfb56('0x110')]();_0x333eca[_0xfb56('0xc0')](_0x40d762=>_0x40d762[_0xfb56('0x140')](_0x4b8858,!0x0))&&_0x26633a['discard']();if(_0x333eca['every'](_0x3d57cd=>_0x4b8858['containsRange'](_0x3d57cd,!0x0))){const _0x1a9ba4=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x171'),_0x402e65,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x1a9ba4(_0x333eca,null,_0x5dffca)),null;}}const _0x3461b6=this[_0xfb56('0x98')]['getSuggestionCallback']('deletion',_0x402e65,'join');let _0x27fc8a=null;for(const _0x3b963e of this['getSuggestions']())if(_0x3b963e[_0xfb56('0x16')]['id']==_0x5935db['id']&&_0x3b963e[_0xfb56('0x66')]&&_0xfb56('0x171')==_0x3b963e[_0xfb56('0xf1')]&&_0x3b963e[_0xfb56('0x33')]==_0x402e65&&Ft(_0x3b963e,_0x5dffca)&&(_0x3461b6(_0x3b963e['getRanges'](),_0x333eca)||_0x3461b6(_0x333eca,_0x3b963e[_0xfb56('0x7f')]()))){if(_0x27fc8a){if(_0x3b963e[_0xfb56('0xc5')]&&_0x3b963e[_0xfb56('0xc5')][_0xfb56('0xa8')])continue;for(const _0x50db8d of _0x3b963e[_0xfb56('0x7f')]())_0x27fc8a['isIntersectingWithRange'](_0x50db8d)||_0x27fc8a[_0xfb56('0x13e')](_0x50db8d);_0x3b963e[_0xfb56('0x151')]();}else{_0x27fc8a=_0x3b963e;for(const _0x35fff8 of _0x333eca)_0x3b963e['isIntersectingWithRange'](_0x35fff8)||_0x3b963e[_0xfb56('0x13e')](_0x35fff8);}}if(_0x27fc8a)return _0x27fc8a;_0x4a93f1[_0xfb56('0xcd')]();for(const {suggestion:_0x55560d,meta:_0x52bf5b}of this[_0xfb56('0x37')](_0x333eca,_0xfb56('0x171')))_0x52bf5b[_0xfb56('0x10')]&&(this[_0xfb56('0x14d')]||!_0x52bf5b[_0xfb56('0x87')]&&!_0x52bf5b[_0xfb56('0xdc')])&&Ft(_0x55560d,_0x5dffca)&&_0x4a93f1[_0xfb56('0x131')](_0x55560d);for(const _0x51e2ef of _0x4a93f1){const _0x451e5b=_0x51e2ef[_0xfb56('0x7f')]();if(!_0x5dffca||!_0x5dffca[_0xfb56('0x8e')]){if(_0x333eca['every'](_0x236dd9=>_0x451e5b['some'](_0x54afb6=>_0x54afb6[_0xfb56('0x140')](_0x236dd9,!0x0))))return _0x51e2ef;}(!_0x51e2ef['attributes']||!_0x51e2ef[_0xfb56('0xa9')][_0xfb56('0x8e')])&&(_0x451e5b['every'](_0x590056=>_0x333eca[_0xfb56('0xc0')](_0x88eb12=>_0x88eb12[_0xfb56('0x140')](_0x590056,!0x0)))&&_0x51e2ef[_0xfb56('0x2d')]());}const _0x438553=_0x1afc95(),_0x56e921=_0x5935db['id'],_0x5479c3=_0xfb56('0x9c')+_0x402e65,_0x3ce067=this[_0xfb56('0x13d')]({'id':_0x438553,'type':_0x5479c3,'createdAt':new Date(),'authorId':_0x56e921,'attributes':_0x5dffca});for(const _0x559750 of _0x333eca)_0x559750['detach'](),_0x559750[_0xfb56('0x49')]||_0xfb56('0x134')==_0x559750[_0xfb56('0x4')][_0xfb56('0xab')]||this[_0xfb56('0x13a')](_0x5479c3,_0x438553,_0x56e921,_0x559750,_0x4d3acb[_0xfb56('0x5b')]());return _0x3ce067;}[_0xfb56('0x61')](_0xcecd72,_0x1daeb1,_0x20ed6e,_0x4c2a80,_0x50765a){if(_0xcecd72[_0xfb56('0x49')])return[];if(_0xfb56('0x75')===this[_0xfb56('0xb6')])return[];const _0xe403e6=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149'))['me']['id'],_0x1d05a0=Array[_0xfb56('0x55')](this[_0xfb56('0xe1')][_0xfb56('0x48')]())[_0xfb56('0x7d')](_0x23cdc2=>_0xfb56('0x3a')==_0x23cdc2[_0xfb56('0xf1')]&&_0x23cdc2[_0xfb56('0x15')][_0xfb56('0xed')]==_0x1daeb1&&_0x23cdc2['isIntersectingWithRange'](_0xcecd72));if(_0xfb56('0x91')===this[_0xfb56('0xb6')]){const _0x310056=this[_0xfb56('0x37')](_0xcecd72,_0xfb56('0xdd'))['filter'](({meta:_0x4eabdb})=>_0x4eabdb[_0xfb56('0x10')]&&!_0x4eabdb[_0xfb56('0xdc')]&&!_0x4eabdb[_0xfb56('0xbd')])[_0xfb56('0x157')](({suggestion:_0x18f07e})=>_0x18f07e);_0x1d05a0['unshift'](..._0x310056);}const _0x15a727=new Map([[_0xcecd72,_0x20ed6e]]);for(const _0x52fedb of _0x1d05a0){const _0x17f35b='attribute'==_0x52fedb['type']?_0x52fedb[_0xfb56('0x15')][_0xfb56('0x162')]:void 0x0,_0x16e317=_0x52fedb[_0xfb56('0x110')](),_0x13001e=Array[_0xfb56('0x55')](_0x15a727[_0xfb56('0x26')]())[_0xfb56('0x45')](_0x7c80f6=>_0x7c80f6['isIntersecting'](_0x16e317));_0x13001e&&(_0x15a727[_0xfb56('0x13b')](_0x13001e),_0x13001e[_0xfb56('0x14e')](_0x16e317)[_0xfb56('0x44')](_0x21839b=>{_0x15a727[_0xfb56('0x31')](_0x21839b,_0x20ed6e);}),_0xfb56('0xdd')!=_0x52fedb[_0xfb56('0xf1')]&&_0x17f35b!=_0x4c2a80&&_0x15a727['set'](_0x13001e[_0xfb56('0xe9')](_0x16e317),_0x17f35b));}const _0x16df71=[];for(const [_0x64f79e,_0xa6767e]of _0x15a727){const _0x3f1dd2=_0x1afc95(),_0x224fbc={'key':_0x1daeb1,'oldValue':_0xa6767e,'newValue':_0x4c2a80};_0x1daeb1[_0xfb56('0xa8')]>0x25&&console[_0xfb56('0x5f')](_0xfb56('0x97'),{'key':_0x1daeb1});const _0x267738=(_0xfb56('0x7e')+(_0x1daeb1+'|'+Rt({'newValue':_0x4c2a80})))[_0xfb56('0xe3')](0x0,0x3c),_0x39595c=this['_setSuggestionData']({'id':_0x3f1dd2,'type':_0x267738,'data':_0x224fbc,'createdAt':new Date(),'authorId':_0xe403e6,'attributes':_0x50765a});_0x16df71[_0xfb56('0x139')](_0x39595c),this[_0xfb56('0x13a')](_0x267738,_0x3f1dd2,_0xe403e6,_0x64f79e);}return _0x16df71;}[_0xfb56('0x15e')](_0x1a650a){this['_blockAttributeKeys'][_0xfb56('0x131')](_0x1a650a);}[_0xfb56('0x168')](_0x3298e8){this[_0xfb56('0xc6')][_0xfb56('0x131')](_0x3298e8);}[_0xfb56('0xb7')](_0x20ac30,_0x4b2c26=[],_0x4bdbdf=[]){this[_0xfb56('0xbe')](_0x20ac30,(_0x261280,..._0x151755)=>{this[_0xfb56('0x12c')](()=>{_0x261280(..._0x151755);});});for(const _0x317a64 of _0x4b2c26)this[_0xfb56('0x168')](_0x317a64);for(const _0x58e8af of _0x4bdbdf)this[_0xfb56('0x15e')](_0x58e8af);}['_setSuggestionRange'](_0xf3cdb3,_0x4c8d99){const _0x17a26d=_0xf3cdb3[_0xfb56('0x4d')]();this[_0xfb56('0x14f')][_0xfb56('0xc7')](_0x819e14=>{_0x819e14['updateMarker'](_0x17a26d,{'range':_0x4c8d99});});}[_0xfb56('0x9b')](_0x534d15){const _0x3073ac=_0x534d15['id'],_0x280b7b=this['editor'][_0xfb56('0x127')][_0xfb56('0x166')]('collaboration.channelId');this['_commentsRepository'][_0xfb56('0xac')](_0x3073ac)||this[_0xfb56('0x4b')][_0xfb56('0x133')]({'channelId':_0x280b7b,'threadId':_0x3073ac,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x3ec22b=this[_0xfb56('0x4b')][_0xfb56('0x21')](_0x3073ac);_0x3ec22b['unbind'](_0xfb56('0x113')),_0x3ec22b[_0xfb56('0x113')]=!0x1,_0x534d15[_0xfb56('0xc5')]=_0x3ec22b;}[_0xfb56('0x29')](_0x2cb355,_0x255b25,_0x4e32e6,_0x1d87c4){if(_0x2cb355[_0xfb56('0xf1')]!=_0x255b25||_0x2cb355[_0xfb56('0x33')]!=_0x4e32e6||_0x2cb355['creator']['id']!=_0x1d87c4)throw this[_0xfb56('0x11a')][_0xfb56('0xb1')](_0xfb56('0x132')),new _0x25467a(_0xfb56('0x132'),this);}[_0xfb56('0xd1')](_0x27c2ab,_0xadcc09){const _0x2b7f02=_0x27c2ab[_0xfb56('0x110')]();if(_0xadcc09[_0xfb56('0x41')](_0x2b7f02))_0x27c2ab[_0xfb56('0x151')]();else{if(_0x2b7f02['containsRange'](_0xadcc09)){const _0x3c373d=this['_model']['createPositionAt'](_0xadcc09[_0xfb56('0x16c')][_0xfb56('0x89')],'end');this[_0xfb56('0x88')](_0x27c2ab,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x2b7f02['start'],_0x3c373d));const _0x455ebc=_0x1afc95(),_0x21a861=_0x27c2ab[_0xfb56('0x17')]['id'],_0x543c8b=_0x27c2ab[_0xfb56('0xf1')]+':'+_0x27c2ab[_0xfb56('0x33')];this[_0xfb56('0x13d')]({'id':_0x455ebc,'type':_0x543c8b,'createdAt':new Date(),'authorId':_0x21a861,'data':_0x27c2ab['data'],'attributes':_0x27c2ab['attributes']});const _0x1dd84a=this[_0xfb56('0x14f')]['createPositionAt'](_0xadcc09[_0xfb56('0x2a')]['parent'],'after'),_0x4fbf4b=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x1dd84a,_0x2b7f02[_0xfb56('0x2a')]);this[_0xfb56('0x13a')](_0x543c8b,_0x455ebc,_0x21a861,_0x4fbf4b);}else{if(_0x2b7f02[_0xfb56('0x7')](_0xadcc09['start'])){const _0x36ab80=this['_model'][_0xfb56('0xad')](_0xadcc09['start'][_0xfb56('0x89')],_0xfb56('0x2a'));this[_0xfb56('0x88')](_0x27c2ab,this[_0xfb56('0x14f')]['createRange'](_0x2b7f02[_0xfb56('0x16c')],_0x36ab80));}else{const _0x147459=this['_model'][_0xfb56('0xad')](_0xadcc09[_0xfb56('0x2a')]['parent'],'after');this[_0xfb56('0x88')](_0x27c2ab,this[_0xfb56('0x14f')]['createRange'](_0x147459,_0x2b7f02[_0xfb56('0x2a')]));}}}}[_0xfb56('0x92')](_0x56792e){for(const {suggestion:_0x161a00,meta:_0x24b8db}of this[_0xfb56('0x37')](_0x56792e,_0xfb56('0xdd'))){if(!_0x24b8db[_0xfb56('0x10')])continue;const _0x5ca3ab=_0x161a00[_0xfb56('0x7f')]();for(const _0x9f8448 of _0x5ca3ab)if(!_0x56792e['getDifference'](_0x9f8448)[_0xfb56('0xa8')])return!0x0;}return!0x1;}[_0xfb56('0x15d')](_0x42b6f0){const _0x221c11=this['editor'][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['getUser'](_0x42b6f0);if(!_0x221c11)throw new _0x25467a(_0xfb56('0x85'),this);return _0x221c11;}[_0xfb56('0xb8')](_0x3be5b9){const _0x3f924c=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149')),_0xc27e38=_0x49482b(_0xfb56('0x1')+_0x3be5b9),_0x539ec2=_0x3f924c[_0xfb56('0x0')](_0xc27e38);return _0x539ec2||_0x3f924c['addUser']({'id':_0xc27e38,'name':_0x3be5b9});}[_0xfb56('0x141')](_0x3aa142,_0x33a634,_0x54227b,_0x489682,_0x3ccb67){const _0x56331e=this['_getAuthorFromId'](_0x489682),_0x3831bd=this[_0xfb56('0x98')]['buildSuggestion'](_0x3aa142,_0x33a634,_0x54227b,_0x56331e,_0x3ccb67,_0x18c6a6=>this[_0xfb56('0xa6')](_0x54227b,{'attributes':_0x18c6a6}));return this[_0xfb56('0x170')](_0x3831bd,_0xfb56('0x23'),()=>{this[_0xfb56('0xa6')](_0x54227b,{'state':_0xfb56('0x2')});},{'priority':'high'}),this[_0xfb56('0x170')](_0x3831bd,_0xfb56('0x2d'),()=>{this[_0xfb56('0xa6')](_0x54227b,{'state':_0xfb56('0x10e')});},{'priority':_0xfb56('0xaa')}),this['_suggestions'][_0xfb56('0x31')](_0x54227b,_0x3831bd),this[_0xfb56('0xd6')][_0xfb56('0x31')](_0x3831bd,_0xfb56('0x95')),_0x3831bd;}[_0xfb56('0x11')](_0x239042){const _0x348e8f=_0x239042[_0xfb56('0x7b')](':');return{'group':_0x348e8f[0x0],'type':_0x348e8f[0x1],'subType':_0x348e8f['length']>=0x5?_0x348e8f[0x2]:null,'id':_0x348e8f[_0xfb56('0xa8')]<0x5?_0x348e8f[0x2]:_0x348e8f[0x3],'authorId':_0x348e8f[_0xfb56('0xa8')]<0x5?_0x348e8f[0x3]:_0x348e8f[0x4],'markerCount':0x6==_0x348e8f[_0xfb56('0xa8')]?_0x348e8f[0x5]:null};}['_breakSuggestionMarker'](_0x414779,_0x2e31b4,_0x3ea487){const _0x582ab0=_0x414779['getFirstRange'](),_0x36632d=_0x582ab0[_0xfb56('0x16c')],_0x42bf75=_0x582ab0[_0xfb56('0x2a')];this[_0xfb56('0x88')](_0x414779,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x36632d,_0x2e31b4));const _0x173c4d=_0x1afc95(),_0x170458=_0x414779['creator']['id'],_0x514c93=_0x414779[_0xfb56('0xf1')]+(_0x414779[_0xfb56('0x33')]?':'+_0x414779[_0xfb56('0x33')]:'');this[_0xfb56('0x13d')]({'id':_0x173c4d,'type':_0x514c93,'createdAt':new Date(),'authorId':_0x170458,'originalSuggestionId':_0x414779['id'],'attributes':_0x414779['attributes'],'data':_0x414779[_0xfb56('0x15')]});const _0x2f8341=this[_0xfb56('0x10d')](_0x414779);(_0xfb56('0x147')==_0x414779['type']||_0x2f8341&&this[_0xfb56('0x38')](_0x2f8341))&&(_0x3ea487=this[_0xfb56('0x14f')][_0xfb56('0x129')](_0x3ea487[_0xfb56('0xfd')])),this[_0xfb56('0x13a')](_0x514c93,_0x173c4d,_0x170458,this['_model'][_0xfb56('0x10b')](_0x3ea487,_0x42bf75));}['_findSuggestions'](_0x54593b,_0x5ef79d=null){const _0x1d1314=[],_0x5e6e18=this['editor']['plugins'][_0xfb56('0x166')](_0xfb56('0x149'))['me'];Array[_0xfb56('0x39')](_0x54593b)||(_0x54593b=[_0x54593b]);for(const _0x371e35 of this[_0xfb56('0x150')]()){if(!_0x371e35[_0xfb56('0x66')])continue;if(_0x5ef79d&&_0x371e35[_0xfb56('0xf1')]!=_0x5ef79d)continue;let _0x4da470=!0x1;for(const _0xeb084e of _0x371e35[_0xfb56('0x7f')]()){for(const _0x296490 of _0x54593b){const _0x52ef5a=_0x296490[_0xfb56('0x16c')][_0xfb56('0x41')](_0xeb084e[_0xfb56('0x2a')])||_0x296490[_0xfb56('0x2a')]['isEqual'](_0xeb084e[_0xfb56('0x16c')]);if(_0x52ef5a||_0x296490[_0xfb56('0xe9')](_0xeb084e)){const _0x18fea3=_0x296490[_0xfb56('0x140')](_0xeb084e)&&Tt(this[_0xfb56('0x14f')][_0xfb56('0x3b')],_0xeb084e['start'],_0x296490),_0x290d8a=_0xeb084e['containsRange'](_0x296490)&&Tt(this[_0xfb56('0x14f')]['schema'],_0x296490[_0xfb56('0x16c')],_0xeb084e);_0x1d1314[_0xfb56('0x139')]({'suggestion':_0x371e35,'meta':{'isOwn':_0x5e6e18==_0x371e35[_0xfb56('0x16')],'isNextTo':_0x52ef5a,'isInsideObject':_0x18fea3,'containsRangeInObject':_0x290d8a}}),_0x4da470=!0x0;break;}}if(_0x4da470)break;}}return _0x1d1314;}[_0xfb56('0x13a')](_0x325a33,_0x42254c,_0xfe3fcf,_0xd838b5,_0x4b749e){this[_0xfb56('0x14f')][_0xfb56('0xc7')](_0xb045c3=>{let _0x131521='suggestion:'+_0x325a33+':'+_0x42254c+':'+_0xfe3fcf;_0x4b749e&&(_0x131521=_0x131521+':'+_0x4b749e),_0xb045c3[_0xfb56('0x14c')](_0x131521,{'range':_0xd838b5,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x58d508){const _0x1ea720=_0x58d508[_0xfb56('0x4f')],_0x44b24b=_0x58d508['next'];_0x58d508['previous']=null,_0x58d508[_0xfb56('0x72')]=null,null!=_0x1ea720&&(_0x1ea720[_0xfb56('0x72')]=_0x44b24b),null!=_0x44b24b&&(_0x44b24b[_0xfb56('0x4f')]=_0x1ea720),'ready'==this[_0xfb56('0xd6')][_0xfb56('0x166')](_0x58d508)&&(this[_0xfb56('0xd6')]['set'](_0x58d508,_0xfb56('0xe')),this[_0xfb56('0x12f')](_0xfb56('0x143'),_0x58d508,_0x1ea720,_0x44b24b));}[_0xfb56('0x13d')](_0x408911){const _0x5dfd8b=_0x408911['id'],_0x49cbd8=this['addSuggestionData'](_0x408911);if(this['_adapter']&&this[_0xfb56('0xf9')][_0xfb56('0x101')]){const _0x287779=this[_0xfb56('0x11a')]['plugins'][_0xfb56('0x166')](_0xfb56('0x13f')),_0x1a3d6c=_0x49cbd8[_0xfb56('0x82')],_0xb3073=_0x49cbd8[_0xfb56('0x33')]?_0x49cbd8[_0xfb56('0xf1')]+':'+_0x49cbd8[_0xfb56('0x33')]:_0x49cbd8[_0xfb56('0xf1')],_0x484cfa=this[_0xfb56('0x11a')]['locale'],_0x13e6c9=_0x287779[_0xfb56('0x131')](_0x199e6d(_0x484cfa,_0xfb56('0x15c'))),_0x292ff8={'id':_0x5dfd8b,'type':_0xb3073,'hasComments':_0x1a3d6c,'data':_0x408911[_0xfb56('0x15')]||null,'originalSuggestionId':_0x408911[_0xfb56('0xee')]||null,'attributes':_0x49cbd8[_0xfb56('0xa9')]};this[_0xfb56('0xf9')]['addSuggestion'](_0x292ff8)[_0xfb56('0x79')](_0x845f88=>{_0x49cbd8[_0xfb56('0x10a')]=!0x0,_0x287779[_0xfb56('0xfa')](_0x13e6c9),_0x845f88&&_0x845f88[_0xfb56('0x50')]&&(this['_suggestions'][_0xfb56('0x166')](_0x5dfd8b)['createdAt']=_0x845f88['createdAt']);})['catch'](_0x716c4b=>{throw _0x1ee825(_0xfb56('0x160')),this[_0xfb56('0x11a')][_0xfb56('0x144')][_0xfb56('0x16e')]({'isUndoable':!0x1},()=>{_0x49cbd8['discard']();}),_0x49cbd8[_0xfb56('0xa1')](),this[_0xfb56('0xe1')][_0xfb56('0x13b')](_0x49cbd8['id']),this[_0xfb56('0xd6')][_0xfb56('0x13b')](_0x49cbd8),_0x716c4b;});}return _0x49cbd8;}['_isBlockAttribute'](_0x566f69){return this[_0xfb56('0x108')][_0xfb56('0x6d')](_0x566f69);}[_0xfb56('0x10d')](_0x2efc6a){return _0xfb56('0x3a')==_0x2efc6a['type']&&_0x2efc6a[_0xfb56('0x33')][_0xfb56('0x7b')]('|')[0x0];}[_0xfb56('0xa6')](_0xa0876d,_0x354c8a){const _0x2ccca1=this[_0xfb56('0x11a')]['plugins']['get']('PendingActions'),_0x208e13=this['getSuggestion'](_0xa0876d);if(this['_adapter']&&this[_0xfb56('0xf9')][_0xfb56('0xa2')]){if(_0x208e13[_0xfb56('0x10a')]){const _0x1b559f=_0x2ccca1['add'](_0x199e6d(this[_0xfb56('0x11a')]['locale'],_0xfb56('0x15c')));this[_0xfb56('0xf9')][_0xfb56('0xa2')](_0xa0876d,_0x354c8a)[_0xfb56('0x79')](()=>{_0x2ccca1[_0xfb56('0xfa')](_0x1b559f);});}else _0x208e13['on']('change:_saved',()=>{this[_0xfb56('0xa6')](_0xa0876d,_0x354c8a);});}}['_getSuggestionData'](_0x48858f){if(!this[_0xfb56('0xf9')]||!this[_0xfb56('0xf9')][_0xfb56('0x111')])throw new _0x25467a(_0xfb56('0x154'),this);return this['_adapter'][_0xfb56('0x111')](_0x48858f);}[_0xfb56('0xe7')](_0x1344df){const {id:_0x222eff,type:_0x266b95,subType:_0x5573b1,authorId:_0x36a07f}=this[_0xfb56('0x11')](_0x1344df),_0x1f1c4c=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x222eff)||this[_0xfb56('0x141')](_0x266b95,_0x5573b1,_0x222eff,_0x36a07f,{});switch(this[_0xfb56('0x29')](_0x1f1c4c,_0x266b95,_0x5573b1,_0x36a07f),this[_0xfb56('0xd6')][_0xfb56('0x166')](_0x1f1c4c)){case _0xfb56('0x95'):this[_0xfb56('0xfb')](_0x222eff)[_0xfb56('0x79')](_0x385704=>{let _0x330ba8=Promise[_0xfb56('0xc9')]();_0x385704[_0xfb56('0x82')]&&(_0x330ba8=this['_commentsRepository']['fetchCommentThread']({'channelId':this[_0xfb56('0x11a')][_0xfb56('0x127')][_0xfb56('0x166')](_0xfb56('0x9')),'threadId':_0x222eff})),_0x330ba8[_0xfb56('0x79')](()=>{this[_0xfb56('0xc4')](_0x385704)['_saved']=!0x0;});}),this[_0xfb56('0xd6')]['set'](_0x1f1c4c,'markerReady');break;case _0xfb56('0xe'):this['_updateSuggestionData'](_0x222eff,{'state':_0xfb56('0x167')});case _0xfb56('0x40'):this[_0xfb56('0xd6')][_0xfb56('0x31')](_0x1f1c4c,_0xfb56('0x5e')),this['fire'](_0xfb56('0x148'),_0x1f1c4c);break;case _0xfb56('0x5e'):this['fire'](_0xfb56('0xd0'),_0x1f1c4c);}return _0x1f1c4c[_0xfb56('0x53')](_0x1344df),_0x1f1c4c;}[_0xfb56('0x121')](_0x1fbc0f){const _0x24fa2c=Array['from'](_0x1fbc0f),_0x1ea3f7=_0x24fa2c['filter'](_0x53ceac=>_0xfb56('0x3a')==_0x53ceac['type']);this['_refreshAttributeSuggestionsChain'](_0x1ea3f7);const _0x4fd2ad=_0x24fa2c[_0xfb56('0x7d')](_0xeeffe8=>!_0xeeffe8[_0xfb56('0x104')]&&_0xfb56('0x3a')!=_0xeeffe8[_0xfb56('0xf1')]),_0x181960=this['getSuggestions']({'skipNotAttached':!0x0})[_0xfb56('0x7d')](_0x1e1b98=>!_0x1e1b98[_0xfb56('0x104')]&&_0xfb56('0x3a')!=_0x1e1b98[_0xfb56('0xf1')]),_0x30e903=_0x181960[_0xfb56('0x7d')](_0x40671b=>!_0x1fbc0f[_0xfb56('0x6d')](_0x40671b)),_0x4f7944=new Map(_0x181960[_0xfb56('0x157')](_0xa73a28=>[_0xa73a28,this[_0xfb56('0x98')][_0xfb56('0x94')](_0xa73a28['type'],_0xa73a28[_0xfb56('0x33')],_0xfb56('0xd'))])),_0x4a1567=new Map(_0x181960['map'](_0x66a460=>[_0x66a460,_0x66a460[_0xfb56('0x110')]()])),_0x3a456c=new Set(),_0x1bd5a1=new Set();for(let _0x3e9a88=0x0;_0x3e9a88<_0x4fd2ad[_0xfb56('0xa8')];_0x3e9a88++)_0x15ad77(_0x4fd2ad[_0x3e9a88],_0x4fd2ad,_0x3e9a88+0x1);for(let _0x17af85=0x0;_0x17af85<_0x4fd2ad['length'];_0x17af85++)_0x15ad77(_0x4fd2ad[_0x17af85],_0x30e903,0x0);const _0x3c7860=new Set();for(let _0x4af4db=0x0;_0x4af4db<_0x4fd2ad[_0xfb56('0xa8')];_0x4af4db++){const _0x2c8315=_0x4fd2ad[_0x4af4db];!_0x1bd5a1['has'](_0x2c8315)&&_0x2c8315[_0xfb56('0x4f')]&&(_0x3c7860[_0xfb56('0x131')](_0x2c8315[_0xfb56('0x4f')]),_0x2c8315[_0xfb56('0x4f')][_0xfb56('0x72')]===_0x2c8315&&(_0x2c8315['previous']['next']=null),_0x2c8315[_0xfb56('0x4f')]=null),!_0x3a456c[_0xfb56('0x6d')](_0x2c8315)&&_0x2c8315[_0xfb56('0x72')]&&(_0x3c7860['add'](_0x2c8315['next']),_0x2c8315[_0xfb56('0x72')][_0xfb56('0x4f')]===_0x2c8315&&(_0x2c8315[_0xfb56('0x72')][_0xfb56('0x4f')]=null),_0x2c8315[_0xfb56('0x72')]=null);}function _0x15ad77(_0x127598,_0x11d27d,_0x3ae45b){for(let _0x39e02f=_0x3ae45b;_0x39e02f<_0x11d27d[_0xfb56('0xa8')];_0x39e02f++){const _0x255fc1=_0x20ce33(_0x127598,_0x11d27d[_0x39e02f]);_0x255fc1&&(_0x255fc1[0x0][_0xfb56('0x72')]=_0x255fc1[0x1],_0x255fc1[0x1][_0xfb56('0x4f')]=_0x255fc1[0x0],_0x3a456c[_0xfb56('0x131')](_0x255fc1[0x0]),_0x1bd5a1['add'](_0x255fc1[0x1]));}}function _0x20ce33(_0x4a35fc,_0x308ade){if(_0x4a35fc['author']['id']!==_0x308ade['author']['id'])return null;const _0x41c93b=_0x4f7944['get'](_0x4a35fc)(_0x4a35fc,_0x308ade,_0x4a1567[_0xfb56('0x166')](_0x4a35fc),_0x4a1567[_0xfb56('0x166')](_0x308ade));if(!_0x41c93b)return null;return _0x4f7944[_0xfb56('0x166')](_0x308ade)(_0x4a35fc,_0x308ade,_0x4a1567[_0xfb56('0x166')](_0x4a35fc),_0x4a1567['get'](_0x308ade))?_0x41c93b[0x1]['commentThread']&&_0x41c93b[0x1][_0xfb56('0xc5')][_0xfb56('0xa8')]?null:_0x41c93b:null;}_0x3c7860[_0xfb56('0x135')]&&this[_0xfb56('0x121')](_0x3c7860);}['_refreshAttributeSuggestionsChain'](_0x42d71e){if(0x0==_0x42d71e['length'])return;const _0x35177b=this[_0xfb56('0x150')]({'skipNotAttached':!0x0})['filter'](_0x364217=>_0xfb56('0x3a')==_0x364217[_0xfb56('0xf1')]&&_0x364217[_0xfb56('0xe0')]),_0x77457a=[],_0x4d6f90=new Map();for(const _0x584aae of _0x35177b){const _0x1e4d64=_0x49482b(_0x584aae[_0xfb56('0xa9')]);_0x4d6f90[_0xfb56('0x6d')](_0x1e4d64)||(_0x4d6f90[_0xfb56('0x31')](_0x1e4d64,_0x77457a[_0xfb56('0xa8')]),_0x77457a[_0xfb56('0x139')]([]));const _0x28b041=_0x4d6f90['get'](_0x1e4d64);_0x77457a[_0x28b041][_0xfb56('0x139')](_0x584aae);}!function(){_0x77457a[_0xfb56('0x69')]((_0x287243,_0x5c958c)=>{const _0x4addb9=_0x287243[0x0][_0xfb56('0x50')],_0x14f504=_0x5c958c[0x0][_0xfb56('0x50')];return _0x4addb9==_0x14f504?_0x287243[0x0][_0xfb56('0xa9')][_0xfb56('0x8f')]<_0x5c958c[0x0][_0xfb56('0xa9')][_0xfb56('0x8f')]?-0x1:0x1:_0x4addb9<_0x14f504?-0x1:0x1;});for(const _0x113e3a of _0x77457a)_0x113e3a[_0xfb56('0x69')]((_0x122267,_0x65bcf)=>_0x122267['id']<_0x65bcf['id']?-0x1:0x1);}();for(let _0x2636f2=0x0;_0x2636f2<_0x77457a[_0xfb56('0xa8')];_0x2636f2++){if(0x0==_0x77457a[_0x2636f2]['length'])continue;const _0x3c1363=[];for(let _0x4d4145=_0x2636f2+0x1;_0x4d4145<_0x77457a[_0xfb56('0xa8')];_0x4d4145++)0x0!=_0x77457a[_0x4d4145]['length']&&_0x3e70da(_0x77457a[_0x2636f2],_0x77457a[_0x4d4145])&&_0x3c1363['push'](_0x4d4145);for(const _0x32a177 of _0x3c1363)_0x77457a[_0x2636f2]=_0x77457a[_0x2636f2]['concat'](_0x77457a[_0x32a177]),_0x77457a[_0x32a177]=[];}for(const _0x437061 of _0x77457a)for(let _0x5b9062=0x0;_0x5b9062<_0x437061[_0xfb56('0xa8')];_0x5b9062++)_0x437061[_0x5b9062]['next']=_0x437061[_0x5b9062+0x1]||null;for(const _0x1e8f3b of _0x77457a)for(let _0x540102=0x0;_0x540102<_0x1e8f3b[_0xfb56('0xa8')];_0x540102++)_0x1e8f3b[_0x540102][_0xfb56('0x4f')]=_0x1e8f3b[_0x540102-0x1]||null;function _0x3e70da(_0x350381,_0x59db71){if(_0x350381[0x0][_0xfb56('0x16')]!==_0x59db71[0x0][_0xfb56('0x16')])return!0x1;if(!function(_0x1ca387,_0x5e2c56){if(!_0x1ca387[_0xfb56('0x82')]&&!_0x5e2c56[_0xfb56('0x82')])return!0x0;if(_0x1ca387['hasComments']&&_0x5e2c56[_0xfb56('0x82')])return!0x1;if(_0x1ca387[_0xfb56('0x82')]&&_0x5e2c56['createdAt']<_0x1ca387[_0xfb56('0xc5')][_0xfb56('0xb9')][_0xfb56('0x166')](0x0)[_0xfb56('0x50')])return!0x0;if(_0x5e2c56[_0xfb56('0x82')]&&_0x1ca387[_0xfb56('0x50')]<_0x5e2c56['commentThread'][_0xfb56('0xb9')][_0xfb56('0x166')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x350381[0x0],_0x59db71[0x0]))return!0x1;const _0x4a2db0=_0x1c9aaa(_0x350381[0x0]['attributes'],_0xfb56('0x8f')),_0x37bd67=_0x1c9aaa(_0x59db71[0x0][_0xfb56('0xa9')],_0xfb56('0x8f'));if(!_0x21464f(_0x4a2db0,_0x37bd67))return!0x1;return!!_0x350381[_0xfb56('0x12a')](_0x1c59cb=>_0x59db71[_0xfb56('0xc0')](_0x1175fd=>_0x1c59cb['getFirstRange']()[_0xfb56('0x41')](_0x1175fd['getFirstRange']())))&&_0x59db71[_0xfb56('0x12a')](_0x27eba1=>_0x350381['some'](_0x1450d9=>_0x27eba1[_0xfb56('0x110')]()[_0xfb56('0x41')](_0x1450d9[_0xfb56('0x110')]())));}}[_0xfb56('0x30')](_0xd83d25){const _0x566961=Array[_0xfb56('0x55')](_0xd83d25),_0x2fb01d=this[_0xfb56('0x150')]({'skipNotAttached':!0x0}),_0x142ce0=_0x2fb01d[_0xfb56('0x7d')](_0x1c01a4=>!_0xd83d25[_0xfb56('0x6d')](_0x1c01a4)),_0x3bf625=new Map(_0x566961[_0xfb56('0x157')](_0x54c832=>[_0x54c832,this[_0xfb56('0x98')]['getSuggestionCallback'](_0x54c832[_0xfb56('0xf1')],_0x54c832['subType'],_0xfb56('0x64'))])),_0xff5fc1=new Map(_0x2fb01d['map'](_0x1ec252=>[_0x1ec252,_0x1ec252[_0xfb56('0x7f')]()]));for(let _0x36384b=0x0;_0x36384b<_0x566961[_0xfb56('0xa8')];_0x36384b++){if(_0x33c879(this,_0x566961[_0x36384b],_0x566961,_0x36384b+0x1))return!0x0;}for(let _0x1ead3b=0x0;_0x1ead3b<_0x566961[_0xfb56('0xa8')];_0x1ead3b++){if(_0x33c879(this,_0x566961[_0x1ead3b],_0x142ce0,0x0))return!0x0;}return!0x1;function _0x33c879(_0x1d6e62,_0x2f8edc,_0x3ae82e,_0x3a5308){for(let _0x22e1e1=_0x3a5308;_0x22e1e1<_0x3ae82e['length'];_0x22e1e1++){const _0x55c17a=_0x3ae82e[_0x22e1e1];if(_0x55c17a['type']!==_0x2f8edc[_0xfb56('0xf1')]||_0x55c17a[_0xfb56('0x16')]['id']!==_0x2f8edc['author']['id']||_0x55c17a[_0xfb56('0x33')]!==_0x2f8edc[_0xfb56('0x33')])continue;if(!Vt(_0x2f8edc,_0x55c17a))continue;if(_0xfb56('0x3a')==_0x2f8edc['type']&&_0x2f8edc['data'][_0xfb56('0x162')]!=_0x55c17a[_0xfb56('0x15')]['oldValue'])continue;if(_0xfb56('0x3a')==_0x2f8edc[_0xfb56('0xf1')]&&_0x1d6e62[_0xfb56('0x38')](_0x2f8edc[_0xfb56('0x15')][_0xfb56('0xed')]))continue;const _0x2e7e12=_0x3bf625['get'](_0x2f8edc),_0x353703=_0xff5fc1[_0xfb56('0x166')](_0x2f8edc),_0x316fbb=_0xff5fc1['get'](_0x55c17a),_0x2e9b28=_0x2f8edc[_0xfb56('0xc5')]&&_0x2f8edc[_0xfb56('0xc5')][_0xfb56('0xa8')],_0x1ba929=_0x55c17a['commentThread']&&_0x55c17a['commentThread'][_0xfb56('0xa8')];if(!_0x2e9b28&&_0x2e7e12(_0x316fbb,_0x353703))return _0x1d6e62['_joinSuggestions'](_0x55c17a,_0x2f8edc),_0xff5fc1[_0xfb56('0x13b')](_0x2f8edc),!0x0;if(!_0x1ba929&&_0x2e7e12(_0x353703,_0x316fbb))return _0x1d6e62[_0xfb56('0x60')](_0x2f8edc,_0x55c17a),_0xff5fc1[_0xfb56('0x13b')](_0x55c17a),!0x0;}return!0x1;}}[_0xfb56('0x60')](_0x44921e,_0xbd6484){if(_0x44921e[_0xfb56('0x104')])for(const _0x13cafb of _0xbd6484[_0xfb56('0x7f')]())_0x44921e[_0xfb56('0x13e')](_0x13cafb);else{const _0x32a8da=_0xbd6484[_0xfb56('0x110')]()[_0xfb56('0x2a')];this['_setSuggestionRange'](_0x44921e,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x44921e['getFirstRange']()[_0xfb56('0x16c')],_0x32a8da));}_0xbd6484[_0xfb56('0x151')]();}[_0xfb56('0x13')](_0x4c5e9d,_0x2b557f){const _0x214fd6=_0x4c5e9d['startsWith'](_0xfb56('0xe5'))||_0x4c5e9d['startsWith'](_0xfb56('0x3a'))?_0xfb56('0x6e'):_0x4c5e9d[_0xfb56('0x1b')]();return _0x199e6d(this[_0xfb56('0x11a')]['locale'],_0x2b557f+'_'+_0x214fd6+_0xfb56('0x24'));}['_initAriaMarkerChangeAnnouncements'](){const _0x114f2b=this['editor'];_0x3254cf(this[_0xfb56('0x14f')],({left:_0x37cd13,entered:_0x147410})=>{const _0x1f14a1=[];for(const _0x5adbbe of _0x37cd13){const {group:_0x3ebe03,type:_0x27b1d8}=this[_0xfb56('0x11')](_0x5adbbe[_0xfb56('0x5')]);if(_0xfb56('0xe6')===_0x3ebe03){_0x1f14a1[_0xfb56('0x139')](this[_0xfb56('0x13')](_0x27b1d8,_0xfb56('0x109')));break;}}for(const _0x2bc544 of _0x147410){const {group:_0x3484d8,type:_0x31c65c}=this[_0xfb56('0x11')](_0x2bc544['name']);if(_0xfb56('0xe6')===_0x3484d8){_0x1f14a1['push'](this[_0xfb56('0x13')](_0x31c65c,'ENTER'));break;}}_0x1f14a1[_0xfb56('0xa8')]&&_0x114f2b['ui'][_0xfb56('0x11c')][_0xfb56('0x112')](_0xfb56('0x137'),_0x1f14a1[_0xfb56('0x64')]('\x20'));});}['_processAttributeChanges'](_0x3278d9){if(null!==this[_0xfb56('0x84')])return!0x1;const _0x1b2820=this[_0xfb56('0x11a')],_0x42cb59=_0x1b2820['model'][_0xfb56('0xf2')][_0xfb56('0x117')][_0xfb56('0x35')]();if(0x0==_0x42cb59[_0xfb56('0xa8')])return!0x1;const _0x8047ad=[],_0x555420=_0x42cb59[_0xfb56('0x7d')](_0x554607=>_0xfb56('0x3a')==_0x554607[_0xfb56('0xf1')]),_0x3b884c=_0x42cb59[_0xfb56('0x7d')](_0x12517e=>_0xfb56('0xd4')==_0x12517e['type']&&_0xfb56('0x100')!=_0x12517e[_0xfb56('0x5')]),_0x3fa1f9=_0x42cb59[_0xfb56('0x7d')](_0x203fd0=>_0xfb56('0xfa')==_0x203fd0[_0xfb56('0xf1')]&&_0xfb56('0x100')!=_0x203fd0[_0xfb56('0x5')]);for(const _0xef1ac of _0x555420)_0x8047ad[_0xfb56('0x139')]({'key':_0xef1ac[_0xfb56('0xd3')],'newValue':_0xef1ac[_0xfb56('0x22')],'oldValue':_0xef1ac['attributeOldValue'],'range':_0x37349a(_0xef1ac[_0xfb56('0x1a')])});for(const _0x556639 of _0x3b884c){const _0x26b5ff=_0x3fa1f9[_0xfb56('0x45')](_0x29ede8=>_0x29ede8[_0xfb56('0x11f')][_0xfb56('0x41')](_0x556639['position']));_0x26b5ff&&_0x8047ad['push']({'key':_0xfb56('0xa3'),'newValue':_0x556639[_0xfb56('0x5')],'oldValue':_0x26b5ff[_0xfb56('0x5')],'range':_0x1b2820[_0xfb56('0x144')][_0xfb56('0xea')](_0x556639[_0xfb56('0x11f')][_0xfb56('0x107')])});}return 0x0!=_0x8047ad[_0xfb56('0xa8')]&&this['_reduceExistingSuggestions'](_0x3278d9,_0x8047ad);function _0x37349a(_0x3ed6cb){return null==_0x3ed6cb[_0xfb56('0x2a')][_0xfb56('0x89')]&&_0x3ed6cb[_0xfb56('0x2a')][_0xfb56('0xfd')]==_0x3ed6cb[_0xfb56('0x16c')][_0xfb56('0x107')]?Ut(_0x3ed6cb[_0xfb56('0x16c')][_0xfb56('0x107')],_0x1b2820['model']):_0x3ed6cb;}}[_0xfb56('0x54')](_0x3f8903){let _0x22c236=!0x1;const _0x24f791=this[_0xfb56('0x11a')]['model']['document'][_0xfb56('0x117')][_0xfb56('0x68')]()['filter'](_0x59e716=>_0x59e716[_0xfb56('0x15')][_0xfb56('0x142')]&&_0x59e716[_0xfb56('0x5')][_0xfb56('0x155')](_0xfb56('0xb2')));for(const _0xea50db of _0x24f791){const {subType:_0x489119,id:_0x5e3f09}=this[_0xfb56('0x11')](_0xea50db['name']),_0x5546cf=_0x489119[_0xfb56('0x7b')]('|')[0x0];for(const _0x3ca512 of this[_0xfb56('0x150')]({'skipNotAttached':!0x0}))_0x3ca512['id']!=_0x5e3f09&&_0xfb56('0x3a')==_0x3ca512[_0xfb56('0xf1')]&&_0x3ca512['data']&&_0x3ca512['data']['key']==_0x5546cf&&_0x3ca512['getFirstRange']()[_0xfb56('0x4c')](_0xea50db[_0xfb56('0x15')][_0xfb56('0x142')])&&(this[_0xfb56('0x8c')](_0x3ca512,_0xea50db[_0xfb56('0x15')][_0xfb56('0x142')],_0x3f8903),_0x22c236=!0x0);}return _0x22c236;}[_0xfb56('0x12c')](_0x165994){if(null!==this[_0xfb56('0x84')])return void _0x165994();const _0x37b59d=this[_0xfb56('0x11a')];this['_recordAttributeSuggestionsFromVersion']=_0x37b59d[_0xfb56('0x144')]['document']['version'],_0x165994();const _0x19fc96=new Map();for(const _0x5a2f86 of _0x37b59d['model'][_0xfb56('0xf2')][_0xfb56('0xf7')]['getOperations'](this[_0xfb56('0x84')]))if([_0xfb56('0x74'),'addAttribute','removeAttribute',_0xfb56('0xf6')]['includes'](_0x5a2f86[_0xfb56('0xf1')])){const _0x4ef593=_0x5a2f86[_0xfb56('0x159')],_0x42a57e=_0x19fc96[_0xfb56('0x166')](_0x4ef593)||[];_0x42a57e['push'](_0x5a2f86),_0x19fc96[_0xfb56('0x31')](_0x4ef593,_0x42a57e);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x5b1303,_0x1d09e1]of _0x19fc96){const _0x3b694e=_0x1afc95();_0x37b59d[_0xfb56('0x144')]['enqueueChange'](_0x5b1303,_0x485abc=>{const _0x17479e=[];for(const _0x33e3bb of _0x1d09e1){let _0x1e053a,_0x1fa9af,_0x293f04,_0x480e56;if(_0xfb56('0x74')==_0x33e3bb[_0xfb56('0xf1')]){const _0x3be3f9=_0x33e3bb;_0x1e053a=Ut(_0x3be3f9[_0xfb56('0x11f')][_0xfb56('0x107')],_0x37b59d[_0xfb56('0x144')]),_0x1fa9af=_0xfb56('0xa3'),_0x293f04=_0x3be3f9[_0xfb56('0x123')],_0x480e56=_0x3be3f9['oldName'];}else{const _0xaba607=_0x33e3bb,_0x5570ff=this[_0xfb56('0x38')](_0xaba607['key']),_0x89ee72=this['_inlineAttributeKeys']['has'](_0xaba607[_0xfb56('0xed')]);if(!_0x5570ff&&!_0x89ee72)continue;_0x1e053a=_0x5570ff?Ut(_0xaba607['range']['start']['nodeAfter'],_0x37b59d[_0xfb56('0x144')]):_0xaba607[_0xfb56('0x1a')],_0x1fa9af=_0xaba607['key'],_0x293f04=_0xfb56('0x12b')==_0x33e3bb['type']?void 0x0:_0xaba607[_0xfb56('0x9e')],_0x480e56=_0xaba607[_0xfb56('0x162')];}this[_0xfb56('0x61')](_0x1e053a,_0x1fa9af,_0x480e56,_0x293f04,{'groupId':_0x3b694e}),_0x17479e[_0xfb56('0x139')]({'range':_0x1e053a,'key':_0x1fa9af,'newValue':_0x293f04,'oldValue':_0x480e56});}this['_reduceExistingSuggestions'](_0x485abc,_0x17479e);});}}['_reduceExistingSuggestions'](_0x37ccb5,_0x368eb7){if(0x0==_0x368eb7[_0xfb56('0xa8')])return!0x1;let _0x294322=!0x1;for(const _0x20f6e7 of _0x368eb7){const _0x18efa4=this[_0xfb56('0x37')](_0x20f6e7[_0xfb56('0x1a')],_0xfb56('0x3a'))['filter'](_0x12ac61=>!_0x12ac61[_0xfb56('0xb4')][_0xfb56('0xbd')])['map'](_0x1e0f26=>_0x1e0f26[_0xfb56('0xe6')]),_0x33fc66=_0x49482b({'newValue':_0x20f6e7[_0xfb56('0x9e')]});_0x18efa4['filter'](_0x48faee=>{const [_0xe16898,_0x448f14]=_0x48faee['subType'][_0xfb56('0x7b')]('|');return _0xe16898==_0x20f6e7[_0xfb56('0xed')]&&_0x448f14!=_0x33fc66;})[_0xfb56('0x44')](_0x2e80cf=>{this[_0xfb56('0x8c')](_0x2e80cf,_0x20f6e7[_0xfb56('0x1a')],_0x37ccb5),_0x294322=!0x0;});}return _0x294322;}[_0xfb56('0x8c')](_0x5d951d,_0xe10f1e,_0x13282c){const _0x531662=_0x5d951d[_0xfb56('0x110')]()['getDifference'](_0xe10f1e);0x0!==_0x531662[_0xfb56('0xa8')]?0x1!==_0x531662[_0xfb56('0xa8')]?this[_0xfb56('0x3e')](_0x5d951d,_0xe10f1e['start'],_0xe10f1e[_0xfb56('0x2a')]):this[_0xfb56('0x88')](_0x5d951d,_0x531662[0x0]):_0x13282c[_0xfb56('0xbb')](_0x5d951d['getFirstMarker']());}}class Bt{constructor(_0x53096e){this[_0xfb56('0x36')]=_0x53096e,this[_0xfb56('0x14f')]=_0x53096e[_0xfb56('0x144')],this[_0xfb56('0x12e')]=new Map(),this[_0xfb56('0xbf')]=new Map(),this[_0xfb56('0xa7')]();}[_0xfb56('0x1d')](_0x3665e6,_0x13ca17,_0x1bd58e,_0x317881,_0x229342,_0x130ed7){return new _0x4d3acb(this[_0xfb56('0x14f')],{'type':_0x3665e6,'subType':_0x13ca17,'id':_0x1bd58e,'author':_0x317881,'creator':_0x317881,'attributes':_0x229342,'onAttributesChange':_0x130ed7,'onAccept':(..._0x5526b5)=>this[_0xfb56('0x94')](_0x3665e6,_0x13ca17,_0xfb56('0x23'))(..._0x5526b5),'onDiscard':(..._0x280705)=>this['getSuggestionCallback'](_0x3665e6,_0x13ca17,_0xfb56('0x2d'))(..._0x280705)});}[_0xfb56('0x16b')](_0x3b0c3d,_0x542dc9,_0x317920,_0x248ba4){const _0x221c9f=_0x3b0c3d+':'+_0x542dc9+':'+_0x317920;this['_customCallbacks'][_0xfb56('0x31')](_0x221c9f,_0x248ba4);}['getSuggestionCallback'](_0x2b9351,_0x5dea65,_0x135bd5){const _0x1be56a=_0x2b9351+':'+_0x5dea65+':'+_0x135bd5;return this['_customCallbacks']['get'](_0x1be56a)||this[_0xfb56('0xbf')]['get'](_0x2b9351+':'+_0x135bd5);}['_registerDefaultCallbacks'](){const _0xfb4e2c=()=>!0x1,_0x2fc3a6=_0x5c7549=>{_0x5c7549[_0xfb56('0x69')]((_0x418fe1,_0x2e49bd)=>_0x418fe1[_0xfb56('0x16c')]['isBefore'](_0x2e49bd['start'])?0x1:-0x1),this['_model'][_0xfb56('0xc7')](_0x559288=>{for(const _0x13ef87 of _0x5c7549){let _0x247b88;_0x247b88=_0x13ef87[_0xfb56('0x2a')]['isAtEnd']&&_0x13ef87[_0xfb56('0x2a')][_0xfb56('0xfd')]==_0x13ef87[_0xfb56('0x16c')][_0xfb56('0x107')]?_0x559288[_0xfb56('0x10c')](_0x13ef87[_0xfb56('0x16c')][_0xfb56('0x107')],'on'):_0x559288[_0xfb56('0x10c')](_0x13ef87),this[_0xfb56('0x14f')][_0xfb56('0x5c')](_0x247b88,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x41102b=(_0x4710be,_0x44996f)=>{_0x44996f&&this['_model'][_0xfb56('0xc7')](_0x4fca87=>{const {commandName:_0x2398e1,commandParams:_0x5d7ebb=[]}=_0x44996f,_0x213ded=_0x4710be[_0xfb56('0x157')](_0x4e69a6=>(xt(_0x4e69a6)&&(_0x4e69a6=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x4e69a6[_0xfb56('0x2a')])),_0x4e69a6))[_0xfb56('0x7d')](_0x1ecf62=>'$graveyard'!==_0x1ecf62[_0xfb56('0x4')][_0xfb56('0xab')]);if(_0x213ded[_0xfb56('0xa8')]<0x1)return;const _0x3bd0bb=Array[_0xfb56('0x55')](this['_model'][_0xfb56('0xf2')][_0xfb56('0x63')][_0xfb56('0x7f')]())[_0xfb56('0x157')](_0x48c887=>_0x49faa4[_0xfb56('0xff')](_0x48c887));_0x4fca87[_0xfb56('0xba')](_0x213ded);for(const _0x21a737 of this[_0xfb56('0x36')][_0xfb56('0x172')][_0xfb56('0x172')]())_0x21a737['refresh']();_0x5d7ebb[_0xfb56('0x139')]({'forceDefaultExecution':!0x0}),this[_0xfb56('0x36')][_0xfb56('0xfc')](_0x2398e1,..._0x5d7ebb);const _0x312707=_0x3bd0bb[_0xfb56('0x7d')](_0x4bb155=>_0xfb56('0x134')!=_0x4bb155['root']['rootName']);_0x312707[_0xfb56('0xa8')]>0x0&&_0x4fca87[_0xfb56('0xba')](_0x312707);for(const _0x30d65f of _0x3bd0bb)_0x30d65f[_0xfb56('0x3f')]();});},_0x5d34b5=(_0x212948,_0x3a3140)=>0x1==_0x212948['length']&&0x1==_0x3a3140[_0xfb56('0xa8')]&&_0x212948[0x0][_0xfb56('0x2a')][_0xfb56('0x41')](_0x3a3140[0x0][_0xfb56('0x16c')]),_0x4aa1d7=(_0x2b4575,_0x2ec27c,_0x158f8e,_0x38325a)=>Ot(_0x2b4575,_0x2ec27c,_0x158f8e,_0x38325a,this['_model'])?[_0x2b4575,_0x2ec27c]:Ot(_0x2ec27c,_0x2b4575,_0x38325a,_0x158f8e,this[_0xfb56('0x14f')])?[_0x2ec27c,_0x2b4575]:null;this[_0xfb56('0xbf')][_0xfb56('0x31')]('insertion:accept',_0xfb4e2c),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0x6'),_0x2fc3a6),this['_defaultCallbacks']['set'](_0xfb56('0x67'),_0x5d34b5),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xc3'),_0x4aa1d7),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xc8'),_0x2fc3a6),this['_defaultCallbacks'][_0xfb56('0x31')](_0xfb56('0x2f'),_0xfb4e2c),this[_0xfb56('0xbf')]['set'](_0xfb56('0xb'),_0x5d34b5),this[_0xfb56('0xbf')][_0xfb56('0x31')]('deletion:chain',_0x4aa1d7),this[_0xfb56('0xbf')]['set'](_0xfb56('0xd9'),_0x41102b),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0x6a'),_0xfb4e2c),this[_0xfb56('0xbf')]['set']('formatInline:join',_0x5d34b5),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xcb'),_0xfb4e2c),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xa0'),_0x41102b),this[_0xfb56('0xbf')]['set'](_0xfb56('0xdb'),_0xfb4e2c),this[_0xfb56('0xbf')]['set'](_0xfb56('0x18'),_0x5d34b5),this['_defaultCallbacks'][_0xfb56('0x31')](_0xfb56('0x1e'),_0xfb4e2c),this[_0xfb56('0xbf')][_0xfb56('0x31')]('attribute:accept',_0xfb4e2c),this[_0xfb56('0xbf')]['set'](_0xfb56('0x43'),(_0x3d9644,_0x5db5a1)=>{if(!_0x5db5a1)return;const _0x28dbda=this[_0xfb56('0x36')][_0xfb56('0x46')][_0xfb56('0x166')](p);this['_model'][_0xfb56('0xc7')](_0x3fb32a=>{if('$elementName'==_0x5db5a1['key'])for(const _0xde3e90 of _0x3d9644){const _0x348892=_0xde3e90['start']['nodeAfter'],_0x29ffc2=_0x5db5a1['oldValue'];_0x3fb32a[_0xfb56('0x74')](_0x348892,_0x29ffc2);}else{if(_0x28dbda[_0xfb56('0x38')](_0x5db5a1[_0xfb56('0xed')]))for(const _0x271b3a of _0x3d9644)void 0x0!==_0x5db5a1[_0xfb56('0x162')]?_0x3fb32a[_0xfb56('0x62')](_0x5db5a1[_0xfb56('0xed')],_0x5db5a1[_0xfb56('0x162')],_0x271b3a['start'][_0xfb56('0x107')]):_0x3fb32a['removeAttribute'](_0x5db5a1[_0xfb56('0xed')],_0x271b3a[_0xfb56('0x16c')]['nodeAfter']);else for(const _0x1091bd of _0x3d9644)_0x5db5a1[_0xfb56('0x162')]?_0x3fb32a['setAttribute'](_0x5db5a1['key'],_0x5db5a1[_0xfb56('0x162')],_0x1091bd):_0x3fb32a[_0xfb56('0x12b')](_0x5db5a1[_0xfb56('0xed')],_0x1091bd);}});}),this['_defaultCallbacks'][_0xfb56('0x31')](_0xfb56('0x83'),_0x5d34b5);}}function Tt(_0x1fb6ee,_0x428587,_0x194972){for(const _0x319c2d of _0x428587[_0xfb56('0xfd')][_0xfb56('0x93')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x319c2d[_0xfb56('0x4')]==_0x319c2d)return!0x1;if(!_0x194972['containsItem'](_0x319c2d))return!0x1;if(_0x1fb6ee[_0xfb56('0xaf')](_0x319c2d)||_0x1fb6ee['isLimit'](_0x319c2d))return!0x0;}return!0x1;}function xt(_0x44f324){return _0x44f324[_0xfb56('0x2a')][_0xfb56('0xfd')]==_0x44f324[_0xfb56('0x16c')][_0xfb56('0x107')]&&_0x44f324[_0xfb56('0x2a')]['isAtStart'];}function Et(_0x55f880,_0x1158f4,_0x26ec41,_0x89a4da){const _0x312ce2=_0x358ce2=>!_0x358ce2[_0xfb56('0xde')]['is']('$textProxy')&&!_0x89a4da[_0xfb56('0xaf')](_0x358ce2[_0xfb56('0xde')]),_0x2cd1ca=_0x55f880[_0xfb56('0x16c')][_0xfb56('0x4e')](_0x312ce2),_0x3c2495=_0x55f880[_0xfb56('0x2a')][_0xfb56('0x4e')](_0x312ce2,{'direction':'backward'});return(!_0x55f880[_0xfb56('0x16c')][_0xfb56('0x41')](_0x2cd1ca)||!_0x55f880[_0xfb56('0x2a')][_0xfb56('0x41')](_0x3c2495))&&(_0x2cd1ca[_0xfb56('0xcf')](_0x3c2495)?_0x26ec41['updateMarker'](_0x1158f4,{'range':_0x26ec41['createRange'](_0x2cd1ca,_0x3c2495)}):_0x26ec41[_0xfb56('0xbb')](_0x1158f4),!0x0);}function Rt(_0xd235bd){return _0x49482b(_0xd235bd);}function jt(_0x57bbee){const _0x447e8a=_0x57bbee['start'][_0xfb56('0x107')];return _0x447e8a&&_0x447e8a['is'](_0xfb56('0x86'));}function Ut(_0xc1bbce,_0x23c534){const _0xbc343=_0x23c534[_0xfb56('0x3b')][_0xfb56('0xaf')](_0xc1bbce)||_0x23c534['schema'][_0xfb56('0x165')](_0xc1bbce);return _0x23c534[_0xfb56('0x10b')](_0x23c534[_0xfb56('0xad')](_0xc1bbce,_0xfb56('0x158')),_0xbc343?_0x23c534[_0xfb56('0x8')](_0xc1bbce):_0x23c534['createPositionAt'](_0xc1bbce,_0xfb56('0x2a')));}function Ot(_0x25a120,_0x3f4c6f,_0xa94e26,_0x17b56d,_0x479890){if(!Vt(_0x25a120,_0x3f4c6f))return!0x1;if(_0xa94e26[_0xfb56('0x2a')][_0xfb56('0x41')](_0x17b56d[_0xfb56('0x16c')]))return!0x0;if(_0x25a120[_0xfb56('0xf1')]!=_0x3f4c6f[_0xfb56('0xf1')])return!0x1;if(!_0xa94e26['end'][_0xfb56('0x51')](_0x17b56d['start']))return!0x1;const _0x110b39=_0x479890[_0xfb56('0x10b')](_0xa94e26[_0xfb56('0x2a')],_0x17b56d['start'])['getWalker']();for(const _0x1d6558 of _0x110b39)if(['elementStart','elementEnd'][_0xfb56('0xf')](_0x1d6558[_0xfb56('0xf1')])&&_0x479890[_0xfb56('0x3b')]['isLimit'](_0x1d6558[_0xfb56('0xde')]))return!0x1;return!0x0;}function Vt(_0x308e,_0x4614b6){return!(!_0x308e[_0xfb56('0xe0')]||!_0x4614b6[_0xfb56('0xe0')])&&_0x21464f(_0x308e['attributes'],_0x4614b6[_0xfb56('0xa9')]);}function Ft(_0x305cd0,_0x242899){const _0xc5247c=Gt(_0x305cd0[_0xfb56('0xa9')]),_0x18207e=Gt(_0x242899);if(!_0x305cd0[_0xfb56('0xe0')])return!0x1;for(const _0x41d74e of Object[_0xfb56('0x26')](_0x18207e))if(!_0x21464f(_0xc5247c[_0x41d74e],_0x18207e[_0x41d74e]))return!0x1;return!0x0;}function Gt(_0x3aab53){const _0x505a92=Object[_0xfb56('0xe8')]({},_0x3aab53);return delete _0x505a92[_0xfb56('0x8e')],delete _0x505a92[_0xfb56('0x4a')],_0x505a92;}