@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240104.0 → 0.0.0-nightly-20240105.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 (67) 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/casechange.js +1 -1
  13. package/src/integrations/ckbox.js +1 -1
  14. package/src/integrations/codeblock.js +1 -1
  15. package/src/integrations/comments.js +1 -1
  16. package/src/integrations/deletecommand.js +1 -1
  17. package/src/integrations/documentlist.js +1 -1
  18. package/src/integrations/documentlistproperties.js +1 -1
  19. package/src/integrations/entercommand.js +1 -1
  20. package/src/integrations/findandreplace.js +1 -1
  21. package/src/integrations/font.js +1 -1
  22. package/src/integrations/formatpainter.js +1 -1
  23. package/src/integrations/heading.js +1 -1
  24. package/src/integrations/highlight.js +1 -1
  25. package/src/integrations/horizontalline.js +1 -1
  26. package/src/integrations/htmlembed.js +1 -1
  27. package/src/integrations/image.js +1 -1
  28. package/src/integrations/imagereplace.js +1 -1
  29. package/src/integrations/imagestyle.js +1 -1
  30. package/src/integrations/importword.js +1 -1
  31. package/src/integrations/indent.js +1 -1
  32. package/src/integrations/inputcommand.js +1 -1
  33. package/src/integrations/link.js +1 -1
  34. package/src/integrations/list.js +1 -1
  35. package/src/integrations/listproperties.js +1 -1
  36. package/src/integrations/mediaembed.js +1 -1
  37. package/src/integrations/mention.js +1 -1
  38. package/src/integrations/pagebreak.js +1 -1
  39. package/src/integrations/paragraph.js +1 -1
  40. package/src/integrations/removeformat.js +1 -1
  41. package/src/integrations/restrictededitingmode.js +1 -1
  42. package/src/integrations/shiftentercommand.js +1 -1
  43. package/src/integrations/standardeditingmode.js +1 -1
  44. package/src/integrations/style.js +1 -1
  45. package/src/integrations/table.js +1 -1
  46. package/src/integrations/tablecaption.js +1 -1
  47. package/src/integrations/tableclipboard.js +1 -1
  48. package/src/integrations/tablecolumnresize.js +1 -1
  49. package/src/integrations/tableheadings.js +1 -1
  50. package/src/integrations/tablemergesplit.js +1 -1
  51. package/src/integrations/tableofcontents.js +1 -1
  52. package/src/integrations/tableproperties.js +1 -1
  53. package/src/integrations/template.js +1 -1
  54. package/src/integrations/title.js +1 -1
  55. package/src/integrations/undo.js +1 -1
  56. package/src/integrations/utils.js +1 -1
  57. package/src/suggestion.js +1 -1
  58. package/src/suggestiondescriptionfactory.js +1 -1
  59. package/src/trackchanges.js +1 -1
  60. package/src/trackchangesdata.js +1 -1
  61. package/src/trackchangesediting.js +1 -1
  62. package/src/trackchangesui.js +1 -1
  63. package/src/ui/suggestioncontroller.js +1 -1
  64. package/src/ui/view/basesuggestionthreadview.js +1 -1
  65. package/src/ui/view/suggestionthreadview.js +1 -1
  66. package/src/utils/common-translations.js +1 -1
  67. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a46=['_trackFormatChanges','_commentsRepository','containsRange','newName','move','return','tablePasteChainId','warn','data','enableReadOnlyMode','_getMarkerAnnouncementText','documentSelection','howMany','type','forceDefaultExecution','track-changes-user-not-found','_splitMarkerName','setSelection','oldRange','forward','getRanges','_descriptionFactory','isDocumentOperation','isTouching','addMarker:suggestion:attribute','skipNestingCheck','addMarker:suggestion:formatBlock','containsPosition','$marker','trackChangesCommand','group','insert','_isBlockAttribute','options','ariaLiveAnnouncer','getMarkers','range','_joinSuggestions','hasSuggestion','selection','showSuggestionHighlights','markerToHighlight','isMultiRange','config','formatBlock:chain','createRangeOn','suggestion-type','isLocal','start','normal','refresh','getCustomProperty','set','_isDataLoaded','collaboration.channelId','suggestion:','addAttribute','execute','hasComments','rename','locale','highest','ck-suggestion-marker-formatInline','PENDING_ACTION_SUGGESTION','markerNameToElements','getAttribute','isAtStart','attributeKey','getSuggestions','getLastMatchingPosition','deletion:accept','pop','attribute:join','newValue','isBlock','commands','insertContent','createPositionBefore','getFirstMarker','isOwn','_updateSuggestionData','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.','discardSuggestion','_initAriaMarkerChangeAnnouncements','discardSelectedSuggestions','isArray','oldName','fetchCommentThread','_processAttributeSuggestions','_findSuggestions','notReady','FORMATTING','setAttribute','getSuggestionCallback','_blockAttributeKeys','_addThreadToSuggestion','attributeNewValue','sort','length','markAttributeChange','_joinWithAdjacentSuggestions','$graveyard','enableCommand','removed','trackChanges','external:','_createSuggestion','track-changes-enable-command-twice','changeAttribute','attributes','has','dataToMarker','addMarkerName','removeMarker:suggestion:attribute','getAncestors','removeClass','change:_saved','clear','TrackChangesEditing','oldValue','formatInline:','requires','registerPostFixer','attribute','size','for','commentThread','markerReady','multi','isAfter','chain','_customCallbacks','before','updateMarker','_setSuggestionRange','_suggestionState','item','markers','_enabledCommands','_suggestions','filter','root','unshift','adapter','_registerInlineAttribute','addHighlight','markInsertion','isCollapsed','trackChanges.trackFormatChanges','elementStart','split','formatBlock:','fromRange','element','upcast','_refreshAttributeSuggestionsChain','editor','_registerBlockAttribute','getSuggestion','getChanges','toViewElement','schema','every','_handleNewSuggestionMarker','markDeletion','removeComment','splice','ck-suggestion-marker','consume','editingDowncast','value','attribute:accept','createPositionAt','hasCommentThread','formatInline:discard','getCommentThread','suggestionUnloaded','delete','startsWith','attributeOldValue','comments','position','addSuggestionData','getUser','stopListening','_cutOutSuggestionMarker','author','addCommentThread','acceptAllSuggestions','high','attribute:','_recordAttributeChanges','_suggestionFactory','insertion','_isForcedDefaultExecutionBlock','ck-suggestion-marker--active','mapper','end','deletion:','addSuggestion','isInContent','change:activeMarkers','attribute:discard','deleteContent','$elementName','listenTo','removeAttribute','formatBlock:join','deletion:discard','dataReady','markBlockFormat','_getAuthorFromId','detach','isAtEnd','ENTER','add','isObject','_reduceExistingSuggestions','batch','getItems','PendingActions','_refreshSuggestionsChain','getFirstRange','trackChanges.mergeNestedSuggestions','forEach','discardAllSuggestions','multipleBlocks','key','nodeAfter','creator','isExternal','_model','track-changes-suggestion-data-mismatch','change:data','insertion:accept','then','Users','resolve','createRange','from','remove','_removeSuggestion','format','_registerDefaultCallbacks','_addSuggestionMarker','acceptSuggestion','moveTargetPosition','_inlineAttributeKeys','markerName','_breakSuggestionMarker','reconvertMarker','_enableDefaultAttributesIntegration','_getExternalAuthor','formatInline:chain','fire','_setSuggestionData','_rangeIsInLocalUserInsertion','unbindElementFromMarkerName','change','_reduceSuggestionAttributeRange','_defaultCallbacks','track-changes-adapter-already-set','markerToData','containsRangeInObject','getShiftedBy','subType','suggestionChanged','removeMarker','commandName','createdAt','$text','applyOperation','createSelection','isEqual','data-suggestion','isLimit','always','_editor','removeMarkers','isBefore','history','_processAttributeChanges','isInsideObject','_adapter','map','acceptSelectedSuggestions','createRangeIn','deletion','name','createPositionAfter','ck-suggestion-marker-','clone','insertion:discard','formatBlock','addClass','isIntersectingWithRange','ready','insertion:','rootName','keys','differ','_onDiscard','CommentsRepository','some','_getSuggestionData','getNearestSelectionRange','substring','enqueueChange','document','define','stop','get','suggestionLoaded','suggestion','getMultiRangeId','markMultiRangeDeletion','consumable','_mergeNestedSuggestions','getChangedMarkers','removeMarker:suggestion:formatBlock','_saved','getAllAdjacentSuggestions','isRemovable','toUpperCase','setTo','model','meta','editing','version','substr','ck-suggestion-marker-formatBlock','plugins','getDifference','newRange','push','includes','authoredAt','isIntersecting','_recordAttributeSuggestionsFromVersion','targetPosition','conversion','markInlineFormat','head','formatBlock:discard','fromCharCode','discard','never','addRange','registerCustomCallback','writer','suggestion:attribute:','updateSuggestion','next','parent','createElement','isNextTo','init','getRange','getIntersection','concat','LEAVE','getContainedElement','_checkSuggestionCorrectness','pluginName','after','find','addComment','join','track-changes-adapter-missing-getsuggestion','isUndo','low','marker-count','default','assign','previous','accept','values','track-changes-command-not-found','nodeBefore','open','groupId','formatGroupId','activeMarkers','isSelectable','dataDowncast'];(function(_0x469f32,_0x5a4699){const _0x44ec31=function(_0x19c133){while(--_0x19c133){_0x469f32['push'](_0x469f32['shift']());}};_0x44ec31(++_0x5a4699);}(_0x5a46,0x18c));const _0x44ec=function(_0x469f32,_0x5a4699){_0x469f32=_0x469f32-0x0;let _0x44ec31=_0x5a46[_0x469f32];return _0x44ec31;};import{Plugin as _0x2ecadb,PendingActions as _0x219312}from'ckeditor5/src/core.js';import{LiveRange as _0x3fb3d1}from'ckeditor5/src/engine.js';import{CKEditorError as _0x29cd75,uid as _0x1d19db,priorities as _0xcff10f,logWarning as _0x22967e}from'ckeditor5/src/utils.js';import{toWidget as _0x4d87e5}from'ckeditor5/src/widget.js';import{Users as _0x44c52b,hashObject as _0x6e73ab,surroundingMarkersDetector as _0x3f6c08}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2ee3bd from'./commands/trackchangescommand.js';import _0x5339ab from'./commands/acceptsuggestioncommand.js';import _0x1cb7d7 from'./commands/discardsuggestioncommand.js';import _0x16094c from'./commands/executeonallsuggestionscommand.js';import _0x1edd45 from'./commands/executeonselectedsuggestionscommand.js';import _0x27b20b from'./suggestion.js';import _0x1efa6d from'./suggestiondescriptionfactory.js';import _0x2e507c from'./integrations/aiassistant.js';import _0x336d34 from'./integrations/alignment.js';import _0x1e784b from'./integrations/basicstyles.js';import _0x326f46 from'./integrations/blockquote.js';import _0x44c674 from'./integrations/casechange.js';import _0x55e31c from'./integrations/ckbox.js';import _0x5b4c08 from'./integrations/codeblock.js';import _0x23ae03 from'./integrations/comments.js';import _0x4757dd from'./integrations/deletecommand.js';import _0x508477 from'./integrations/documentlist.js';import _0x522314 from'./integrations/documentlistproperties.js';import _0x215851 from'./integrations/entercommand.js';import _0x2f6add from'./integrations/findandreplace.js';import _0x2abeec from'./integrations/font.js';import _0x98d2b6 from'./integrations/formatpainter.js';import _0x18fb29 from'./integrations/heading.js';import _0x1f45a1 from'./integrations/highlight.js';import _0x9b9b5a from'./integrations/horizontalline.js';import _0x4a557a from'./integrations/htmlembed.js';import _0x4bbed5 from'./integrations/image.js';import _0x1081a5 from'./integrations/imagereplace.js';import _0x3d7dcb from'./integrations/imagestyle.js';import _0xd5586f from'./integrations/importword.js';import _0xae6833 from'./integrations/indent.js';import _0x4df1f8 from'./integrations/inputcommand.js';import _0x135190 from'./integrations/link.js';import _0x8883dd from'./integrations/list.js';import _0x10ab5f from'./integrations/listproperties.js';import _0x526b50 from'./integrations/mediaembed.js';import _0x3f1fa8 from'./integrations/mention.js';import _0x521f43 from'./integrations/pagebreak.js';import _0x416cb0 from'./integrations/paragraph.js';import _0xeeef1 from'./integrations/removeformat.js';import _0x407cc6 from'./integrations/restrictededitingmode.js';import _0x864591 from'./integrations/shiftentercommand.js';import _0x18e1ae from'./integrations/standardeditingmode.js';import _0x571ed8 from'./integrations/style.js';import _0x1e84c0 from'./integrations/table.js';import _0x5d4773 from'./integrations/tablemergesplit.js';import _0x3359b from'./integrations/tableheadings.js';import _0x4ade2f from'./integrations/tableclipboard.js';import _0x3cce08 from'./integrations/tablecolumnresize.js';import _0x349ca5 from'./integrations/template.js';import _0x383133 from'./integrations/tableofcontents.js';import _0x563497 from'./integrations/title.js';import _0x3c2875 from'./integrations/undo.js';import _0x4ae9b9 from'./integrations/tablecaption.js';import _0x3197f9 from'./integrations/tableproperties.js';import{getTranslation as _0x2816dd}from'./utils/common-translations.js';import{isEqual as _0x50c974,omit as _0x429a4e}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x2ecadb{static get[_0x44ec('0x6e')](){return[_0x44ec('0x123'),_0x44c52b,_0x219312,_0x2e507c,_0x336d34,_0x1e784b,_0x326f46,_0x55e31c,_0x44c674,_0x5b4c08,_0x23ae03,_0x4757dd,_0x508477,_0x522314,_0x215851,_0x2f6add,_0x2abeec,_0x98d2b6,_0x18fb29,_0x1f45a1,_0x9b9b5a,_0x4a557a,_0x4bbed5,_0x3d7dcb,_0x1081a5,_0xd5586f,_0xae6833,_0x4df1f8,_0x135190,_0x8883dd,_0x10ab5f,_0x526b50,_0x3f1fa8,_0x521f43,_0x416cb0,_0xeeef1,_0x407cc6,_0x864591,_0x18e1ae,_0x571ed8,_0x1e84c0,_0x5d4773,_0x3359b,_0x4ae9b9,_0x4ade2f,_0x3cce08,_0x383133,_0x3197f9,_0x349ca5,_0x563497,_0x3c2875];}static get[_0x44ec('0x160')](){return _0x44ec('0x6b');}constructor(_0x48ccb1){function _0xca0a24(_0x4130a5){return _0x4130a5[_0x44ec('0x111')](_0x25c407=>String[_0x44ec('0x14d')](_0x25c407))[_0x44ec('0x164')]('');}super(_0x48ccb1),this[_0x44ec('0x147')]=null,this[_0x44ec('0x29')](_0x44ec('0x173'),[]),this['on'](_0x44ec('0xbe'),(_0x49ed02,_0x599e4b,_0x38ccbd,_0xf89869)=>{this[_0x44ec('0xdc')][_0x44ec('0xf7')](()=>{for(const _0x3a26da of[..._0xf89869,..._0x38ccbd])this[_0x44ec('0xdc')][_0x44ec('0x7e')][_0x44ec('0x63')](_0x3a26da)&&_0x48ccb1[_0x44ec('0x13c')][_0x44ec('0xef')](_0x3a26da);});}),this[_0x44ec('0xa')]=new _0x1efa6d(this[_0x44ec('0x91')]['model'][_0x44ec('0x96')],this[_0x44ec('0x91')]['locale']),this[_0x44ec('0x110')]=null,this[_0x44ec('0xb5')]=new Bt(this[_0x44ec('0x91')]),this[_0x44ec('0x80')]=new Map(),this['_commentsRepository']=_0x48ccb1['plugins'][_0x44ec('0x12c')](_0x44ec('0x123')),this['_enabledCommands']=new Set(),this[_0x44ec('0xdc')]=this['editor'][_0x44ec('0x13a')],this[_0x44ec('0x7c')]=new WeakMap(),this[_0x44ec('0xb7')]=!0x1,this['_blockAttributeKeys']=new Set(['$elementName']),this['_inlineAttributeKeys']=new Set(),_0x48ccb1[_0x44ec('0x20')][_0x44ec('0x12a')](_0x44ec('0x89'),_0x44ec('0x169')),this['_trackFormatChanges']=_0x48ccb1[_0x44ec('0x20')]['get'](_0x44ec('0x89')),_0x48ccb1[_0x44ec('0x20')][_0x44ec('0x12a')](_0x44ec('0xd4'),!0x0),this[_0x44ec('0x132')]=_0x48ccb1[_0x44ec('0x20')][_0x44ec('0x12c')](_0x44ec('0xd4')),this['trackChangesCommand']=new _0x2ee3bd(_0x48ccb1,this[_0x44ec('0x7f')]),this[_0x44ec('0x48')](),this[_0xca0a24([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xca0a24([0x34,0x30,0x34,0x38,0x30,0x32,0x30,0x38]);}[_0x44ec('0x159')](){const _0x3d9089=this[_0x44ec('0x91')],_0x10a274=(_0x49d75f,_0x4a66a3)=>{if(_0x44ec('0x70')!=_0x49d75f)return _0x44ec('0x117')+_0x49d75f;const _0x4598e2=_0x4a66a3['split']('|')[0x0];return this[_0x44ec('0x15')](_0x4598e2)?'ck-suggestion-marker-formatBlock':_0x44ec('0x33');};_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')](_0x44ec('0x9e'))[_0x44ec('0x1e')]({'model':_0x44ec('0x12e'),'view':_0x17f74e=>{const {id:_0x86a374,type:_0xe9e86c,subType:_0xb409fe}=this[_0x44ec('0x5')](_0x17f74e[_0x44ec('0xed')]),_0x45ac71=[_0x44ec('0x9c'),_0x10a274(_0xe9e86c,_0xb409fe)];let _0x258773=0xbb8;return this[_0x44ec('0x173')]['includes'](_0x17f74e[_0x44ec('0xed')])&&(_0x45ac71[_0x44ec('0x143')]('ck-suggestion-marker--active'),_0x258773=0xbc2),'deletion'==_0xe9e86c&&(_0x258773+=0x5),{'classes':_0x45ac71,'attributes':{'data-suggestion':_0x86a374},'priority':_0x258773};}}),_0x3d9089['conversion'][_0x44ec('0x72')](_0x44ec('0x175'))[_0x44ec('0xcc')](_0x158b60=>{_0x158b60['on']('addMarker:suggestion',(_0x3a08dd,_0x30c0ae,_0x40b6be)=>{if(!_0x40b6be[_0x44ec('0x16')][_0x44ec('0x1d')])return;const _0x205e61=_0x30c0ae['item'];if(!_0x205e61)return;const _0x3666ac=_0x40b6be['mapper'][_0x44ec('0x95')](_0x205e61);_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x96')][_0x44ec('0xcd')](_0x205e61)&&_0x3666ac&&!_0x3666ac[_0x44ec('0x28')]('widget')&&_0x3666ac['is']('containerElement')&&_0x4d87e5(_0x3666ac,_0x40b6be[_0x44ec('0x152')]);},{'priority':_0x44ec('0xb2')});}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')]('dataDowncast')['markerToHighlight']({'model':_0x44ec('0x12e'),'view':(_0x2c466d,_0x578df0)=>{if(!_0x578df0[_0x44ec('0x16')][_0x44ec('0x1d')])return null;const {type:_0x4c1a7f,subType:_0x1a006b}=this[_0x44ec('0x5')](_0x2c466d[_0x44ec('0xed')]);return{'classes':[_0x44ec('0x9c'),_0x10a274(_0x4c1a7f,_0x1a006b)],'priority':0xbb8};}});const _0x11f3bd=({showActiveMarkers:_0x200b9d=!0x0,isAttributeSuggestion:_0x222fe0=!0x1}={})=>(_0x50e8be,_0x510722,_0x569bd8)=>{if(!_0x510722[_0x44ec('0x7d')])return;const {id:_0x27ee7a}=this['_splitMarkerName'](_0x510722['markerName']);if(_0x222fe0){const _0x424aad=Lt(this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x27ee7a));if(!this['_isBlockAttribute'](_0x424aad))return;}if(_0x510722[_0x44ec('0x7d')]['is'](_0x44ec('0x1c')))return void _0x569bd8[_0x44ec('0x131')][_0x44ec('0x9d')](_0x510722[_0x44ec('0x7d')],_0x50e8be[_0x44ec('0x115')]);const _0x158506=_0x569bd8['mapper'][_0x44ec('0x95')](_0x510722[_0x44ec('0x7d')]);if(_0x510722[_0x44ec('0x7d')]['is'](_0x44ec('0x8e'))&&_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x96')][_0x44ec('0x3f')](_0x510722[_0x44ec('0x7d')])&&!_0x158506[_0x44ec('0x28')](_0x44ec('0x86'))){_0x569bd8[_0x44ec('0x152')][_0x44ec('0x11b')](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x158506),_0x569bd8[_0x44ec('0x152')]['setAttribute'](_0x44ec('0x107'),_0x27ee7a,_0x158506),_0x569bd8[_0x44ec('0xb9')]['bindElementToMarker'](_0x158506,_0x510722[_0x44ec('0xed')]),_0x200b9d&&(this['activeMarkers'][_0x44ec('0x144')](_0x510722['markerName'])?_0x569bd8[_0x44ec('0x152')][_0x44ec('0x11b')](_0x44ec('0xb8'),_0x158506):_0x569bd8[_0x44ec('0x152')][_0x44ec('0x68')](_0x44ec('0xb8'),_0x158506));for(const _0x23bbd7 of _0x3d9089[_0x44ec('0x13a')][_0x44ec('0x113')](_0x510722[_0x44ec('0x7d')])[_0x44ec('0xd0')]())_0x569bd8['consumable'][_0x44ec('0x9d')](_0x23bbd7,_0x50e8be[_0x44ec('0x115')]);_0x569bd8[_0x44ec('0x131')][_0x44ec('0x9d')](_0x510722[_0x44ec('0x7d')],_0x50e8be[_0x44ec('0x115')]);}};_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')](_0x44ec('0x175'))[_0x44ec('0xcc')](_0x3bf2da=>{_0x3bf2da['on'](_0x44ec('0xf'),(_0x2c183e,_0x1b1ab1,_0x2f5151)=>{_0x2f5151['options'][_0x44ec('0x1d')]&&_0x11f3bd({'showActiveMarkers':!0x1})(_0x2c183e,_0x1b1ab1,_0x2f5151);},{'priority':_0x44ec('0x32')});}),_0x3d9089[_0x44ec('0x149')]['for'](_0x44ec('0x175'))[_0x44ec('0xcc')](_0x5ef347=>{_0x5ef347['on'](_0x44ec('0xd'),(_0x38b146,_0x514b0e,_0x54ead7)=>{_0x54ead7[_0x44ec('0x16')]['showSuggestionHighlights']&&_0x11f3bd({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x38b146,_0x514b0e,_0x54ead7);},{'priority':_0x44ec('0x32')});}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')](_0x44ec('0x175'))[_0x44ec('0xfb')]({'model':_0x44ec('0x12e'),'view':(_0x295eec,_0x48caa5)=>_0x48caa5['options'][_0x44ec('0x1d')]?null:{'group':_0x44ec('0x12e'),'name':_0x295eec[_0x44ec('0x13e')](0xb)}}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')]('upcast')['elementToElement']({'view':{'name':_0x44ec('0x12e'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x58c138,{writer:_0x305890})=>{let _0x36ab4f=_0x44ec('0x2c')+_0x58c138[_0x44ec('0x36')](_0x44ec('0x23'))+':'+_0x58c138[_0x44ec('0x36')]('id');return _0x58c138[_0x44ec('0x36')](_0x44ec('0x168'))&&(_0x36ab4f+=':'+_0x58c138[_0x44ec('0x36')]('marker-count')),_0x305890[_0x44ec('0x157')](_0x44ec('0x11'),{'data-name':_0x36ab4f});}}),_0x3d9089[_0x44ec('0x149')]['for'](_0x44ec('0x8f'))[_0x44ec('0x64')]({'view':_0x44ec('0x12e')}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')](_0x44ec('0x9e'))[_0x44ec('0xcc')](_0x1e8bbe=>{_0x1e8bbe['on'](_0x44ec('0xf'),_0x11f3bd(),{'priority':'high'});}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')](_0x44ec('0x9e'))[_0x44ec('0xcc')](_0x2100c4=>{_0x2100c4['on'](_0x44ec('0xd'),_0x11f3bd({'isAttributeSuggestion':!0x0}),{'priority':_0x44ec('0xb2')});}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')]('editingDowncast')[_0x44ec('0xcc')](_0x4a125d=>{_0x4a125d['on'](_0x44ec('0x134'),(_0x14d8c9,_0x55711c,_0x453a11)=>{const _0x3bfa6e=_0x453a11[_0x44ec('0xb9')][_0x44ec('0x35')](_0x55711c[_0x44ec('0xed')]);if(_0x3bfa6e)for(const _0x995f97 of _0x3bfa6e)_0x995f97[_0x44ec('0x28')](_0x44ec('0x86'))||(_0x453a11['writer'][_0x44ec('0x68')]([_0x44ec('0x9c'),_0x44ec('0x13f'),_0x44ec('0xb8')],_0x995f97),_0x453a11['writer']['removeAttribute'](_0x44ec('0x107'),_0x995f97),_0x453a11[_0x44ec('0xb9')][_0x44ec('0xf6')](_0x995f97,_0x55711c[_0x44ec('0xed')]));},{'priority':_0x44ec('0xb2')});}),_0x3d9089['conversion'][_0x44ec('0x72')](_0x44ec('0x9e'))[_0x44ec('0xcc')](_0x25bb5e=>{_0x25bb5e['on'](_0x44ec('0x66'),(_0x5b5fc1,_0x51c818,_0xcbec8)=>{const _0x177d31=_0xcbec8[_0x44ec('0xb9')][_0x44ec('0x35')](_0x51c818[_0x44ec('0xed')]);if(!_0x177d31)return;const {id:_0x14664a}=this[_0x44ec('0x5')](_0x51c818[_0x44ec('0xed')]),_0x59e30a=Lt(this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x14664a));if(this['_isBlockAttribute'](_0x59e30a))for(const _0x373410 of _0x177d31)_0x373410[_0x44ec('0x28')](_0x44ec('0x86'))||(_0xcbec8[_0x44ec('0x152')][_0x44ec('0x68')]([_0x44ec('0x9c'),_0x44ec('0x13f'),'ck-suggestion-marker--active'],_0x373410),_0xcbec8[_0x44ec('0x152')][_0x44ec('0xc3')](_0x44ec('0x107'),_0x373410),_0xcbec8[_0x44ec('0xb9')][_0x44ec('0xf6')](_0x373410,_0x51c818[_0x44ec('0xed')]));},{'priority':_0x44ec('0xb2')});}),_0x3d9089['model']['document'][_0x44ec('0x6f')](_0x113171=>{let _0x549821=!0x1;const _0x29e038=Array[_0x44ec('0xe4')](_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x129')][_0x44ec('0x121')]['getChangedMarkers']()),_0x328199=new Set();for(const {name:_0xf18ccc,data:_0x21866f}of _0x29e038){const {group:_0x5629ce,type:_0x2f9f2b,subType:_0x38d27e,id:_0x3c8b05}=this['_splitMarkerName'](_0xf18ccc);if(_0x44ec('0x12e')!==_0x5629ce)continue;const _0x553015=this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x3c8b05);if(null!=_0x21866f[_0x44ec('0x142')]){'formatInline'==_0x2f9f2b&&(_0x549821=_0x549821||Et(_0x21866f[_0x44ec('0x142')],_0xf18ccc,_0x113171,_0x3d9089['model'][_0x44ec('0x96')]));const _0x107a48='attribute'==_0x2f9f2b&&this[_0x44ec('0x15')](_0x38d27e[_0x44ec('0x8b')]('|')[0x0]);if(_0x21866f[_0x44ec('0x142')]['isCollapsed']||_0x44ec('0x5a')==_0x21866f[_0x44ec('0x142')][_0x44ec('0x82')][_0x44ec('0x11f')]||_0x44ec('0x11a')==_0x2f9f2b&&!Ut(_0x21866f[_0x44ec('0x142')])||_0x107a48&&!Ut(_0x21866f[_0x44ec('0x142')])||_0x44ec('0x114')==_0x2f9f2b&&!(!xt(_0x15308b=_0x21866f['newRange'])&&!function(_0x451094){return _0x451094[_0x44ec('0x25')][_0x44ec('0x156')]==_0x451094['end'][_0x44ec('0x16f')]&&_0x451094['start'][_0x44ec('0xca')];}(_0x15308b)))_0x113171[_0x44ec('0x100')](_0xf18ccc),_0x549821=!0x0;else{if(!_0x553015||!_0x553015[_0x44ec('0xbd')])continue;_0x328199[_0x44ec('0xcc')](_0x553015);}}}var _0x15308b;return _0x328199['size']>0x0&&(_0x549821=!!this[_0x44ec('0x59')](_0x328199)||_0x549821),_0x549821;}),_0x3d9089['model']['document'][_0x44ec('0x6f')](_0x36b58a=>{let _0x14b092=!0x1;for(const _0x6d4cd5 of _0x3d9089[_0x44ec('0x13a')][_0x44ec('0x129')][_0x44ec('0x121')][_0x44ec('0x94')]())if(_0x44ec('0x14')==_0x6d4cd5[_0x44ec('0x2')])for(const _0x31b209 of this[_0x44ec('0x80')]['values']()){if(_0x31b209[_0x44ec('0x1f')]||!_0x31b209['isInContent'])continue;const _0x4acdfa='formatBlock'==_0x31b209[_0x44ec('0x2')],_0x203ff3=Lt(_0x31b209),_0x357a90=_0x203ff3&&this['_isBlockAttribute'](_0x203ff3);if(!_0x4acdfa&&!_0x357a90)continue;const _0x420b8c=_0x31b209[_0x44ec('0xd3')]();if(_0x420b8c[_0x44ec('0x25')][_0x44ec('0x156')]!=_0x420b8c[_0x44ec('0xba')][_0x44ec('0x156')]&&!_0x420b8c[_0x44ec('0xba')][_0x44ec('0xca')]){const _0x1cf9b9=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xa1')](_0x420b8c[_0x44ec('0x25')][_0x44ec('0xd9')],_0x44ec('0xba')),_0x7ba0e=_0x3d9089[_0x44ec('0x13a')]['createRange'](_0x420b8c['start'],_0x1cf9b9);_0x36b58a[_0x44ec('0x7a')](_0x31b209[_0x44ec('0x43')](),{'range':_0x7ba0e}),_0x14b092=!0x0;}}return _0x14b092;}),_0x3d9089[_0x44ec('0x13a')]['document'][_0x44ec('0x6f')](_0x3c4734=>this[_0x44ec('0x10e')](_0x3c4734)),_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x129')]['registerPostFixer'](_0x569f3b=>!_0x569f3b[_0x44ec('0xcf')][_0x44ec('0x24')]&&this[_0x44ec('0x4d')](_0x569f3b)),_0x3d9089[_0x44ec('0x13a')]['markers']['on']('update:suggestion',(_0x16303d,_0x28fef2,_0xa5c40d)=>{if(null==_0xa5c40d){const {id:_0x47d1d6}=this[_0x44ec('0x5')](_0x28fef2[_0x44ec('0x115')]),_0x3131d2=this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x47d1d6);_0x3131d2&&_0x3131d2[_0x44ec('0x65')](_0x28fef2['name']);}}),_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x129')]['on'](_0x44ec('0xde'),()=>{const _0x4c5cb5=Array[_0x44ec('0xe4')](_0x3d9089['model']['document']['differ']['getChangedMarkers']())[_0x44ec('0x81')](_0x2ada67=>_0x44ec('0x12e')===this[_0x44ec('0x5')](_0x2ada67[_0x44ec('0x115')])[_0x44ec('0x13')]);if(0x0===_0x4c5cb5[_0x44ec('0x57')])return;_0x4c5cb5[_0x44ec('0x56')]((_0x5b75c8,_0x500b16)=>{const _0x3f26a2=_0x5b75c8[_0x44ec('0x17e')][_0x44ec('0x7')],_0x1edd26=_0x500b16[_0x44ec('0x17e')][_0x44ec('0x7')];return null===_0x3f26a2&&null===_0x1edd26?0x0:null===_0x3f26a2&&null!==_0x1edd26?-0x1:null!==_0x3f26a2&&null===_0x1edd26?0x1:_0x3f26a2[_0x44ec('0x25')][_0x44ec('0x10c')](_0x1edd26[_0x44ec('0x25')])?-0x1:0x1;});const _0x1ced2a=new Set(),_0x34e583=new Set();for(const {name:_0x16e837,data:_0x44847d}of _0x4c5cb5){const {id:_0x38bd86}=this[_0x44ec('0x5')](_0x16e837);if(null===_0x44847d['oldRange']){const _0x291886=this['_handleNewSuggestionMarker'](_0x16e837);_0x34e583[_0x44ec('0xcc')](_0x291886);}else{const _0x5dac4d=this['_suggestions'][_0x44ec('0x12c')](_0x38bd86);null!==_0x44847d[_0x44ec('0x142')]||_0x5dac4d[_0x44ec('0xbd')]?(_0x1ced2a[_0x44ec('0xcc')](_0x5dac4d[_0x44ec('0x14b')]),_0x34e583[_0x44ec('0xcc')](_0x5dac4d)):this['_removeSuggestion'](_0x5dac4d);}}_0x34e583[_0x44ec('0x71')]>0x0&&this[_0x44ec('0xd2')](_0x34e583);for(const _0x3057cc of _0x1ced2a)this['fire'](_0x44ec('0xff'),_0x3057cc);}),_0x3d9089[_0x44ec('0x13a')]['on'](_0x44ec('0x104'),(_0xc7b1df,_0x3da1af)=>{const _0x581a27=_0x3da1af[0x0];if(!this['_suggestions']['size'])return;if(!_0x581a27[_0x44ec('0xb')])return;if(_0x581a27[_0x44ec('0xcf')][_0x44ec('0x166')]||!_0x581a27[_0x44ec('0xcf')][_0x44ec('0x24')])return;let _0x34a927,_0xa0f0da;switch(_0x581a27[_0x44ec('0x2')]){case _0x44ec('0x14'):_0x34a927=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xa1')](_0x581a27['position']),_0xa0f0da=_0x34a927[_0x44ec('0xfd')](_0x581a27[_0x44ec('0x1')]);break;case _0x44ec('0x8b'):_0x34a927=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xa1')](_0x581a27['splitPosition']),_0xa0f0da=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xa1')](_0x581a27[_0x44ec('0xeb')]);break;case _0x44ec('0x17a'):_0x34a927=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xa1')](_0x581a27[_0x44ec('0x148')]),_0xa0f0da=_0x34a927[_0x44ec('0xfd')](_0x581a27[_0x44ec('0x1')]);break;default:return;}const _0x21a964=_0x3d9089['model']['createRange'](_0x34a927,_0xa0f0da);_0x3d9089[_0x44ec('0x13a')]['change'](()=>{for(const {suggestion:_0xad55ec,meta:_0x3bee67}of this[_0x44ec('0x4e')](_0x21a964)){if(_0xad55ec[_0x44ec('0x1f')])continue;if('formatInline'==_0xad55ec[_0x44ec('0x2')])continue;const _0x143661=Lt(_0xad55ec);if(_0x143661&&this[_0x44ec('0x15')](_0x143661)&&_0x44ec('0x8b')!=_0x581a27[_0x44ec('0x2')])continue;const _0x5edbe3=_0xad55ec[_0x44ec('0x17e')]&&_0xad55ec[_0x44ec('0x17e')][_0x44ec('0xd7')];(_0x44ec('0x11a')!=_0xad55ec[_0x44ec('0x2')]||'split'==_0x581a27[_0x44ec('0x2')]&&!_0x5edbe3)&&(_0x3bee67[_0x44ec('0xfc')]||_0x44ec('0xb6')==_0xad55ec['type']&&_0x3bee67[_0x44ec('0x44')]||_0xad55ec[_0x44ec('0xd3')]()[_0x44ec('0x178')](_0x21a964)&&this[_0x44ec('0xee')](_0xad55ec,_0x34a927,_0xa0f0da));}});},{'priority':'lowest'}),_0x3d9089['model']['on'](_0x44ec('0xc0'),(_0x3bc872,_0x1fb3c9)=>{const _0x4a7eec=_0x1fb3c9[0x0],_0x4ca598=_0x1fb3c9[0x1];if(_0x4ca598&&_0x4ca598[_0x44ec('0x3')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0x44ec('0x12')]['value'])return;if(_0x4a7eec[_0x44ec('0x88')])return;const _0x3bfa47=_0x3d9089['model']['schema'],{start:_0x30c48e,end:_0x373f16}=_0x4a7eec[_0x44ec('0xd3')](),_0x1dd1ad=_0x30c48e[_0x44ec('0xd9')]&&_0x3bfa47[_0x44ec('0x108')](_0x30c48e[_0x44ec('0xd9')])?null:_0x3bfa47['getNearestSelectionRange'](_0x30c48e,_0x44ec('0x8')),_0x46fec9=_0x373f16[_0x44ec('0x16f')]&&_0x3bfa47[_0x44ec('0x108')](_0x373f16[_0x44ec('0x16f')])?null:_0x3bfa47[_0x44ec('0x126')](_0x373f16,'backward'),_0x27a560=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xe3')](_0x1dd1ad?_0x1dd1ad[_0x44ec('0x25')]:_0x30c48e,_0x46fec9?_0x46fec9['end']:_0x373f16);_0x3d9089['model'][_0x44ec('0xf7')](_0x30d886=>{this[_0x44ec('0x99')](_0x27a560);const _0x1a0603=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x96')][_0x44ec('0x126')](_0x27a560['start']);_0x4a7eec['is'](_0x44ec('0x0'))?_0x30d886[_0x44ec('0x6')](_0x1a0603):_0x4a7eec[_0x44ec('0x139')](_0x1a0603);}),_0x3bc872[_0x44ec('0x12b')]();},{'priority':_0xcff10f[_0x44ec('0x26')]+0xa}),_0x3d9089[_0x44ec('0x13a')]['on'](_0x44ec('0x41'),(_0x5eae25,_0x54c517)=>{const _0x39bfc7=_0x54c517[_0x54c517[_0x44ec('0x57')]-0x1];_0x39bfc7&&_0x39bfc7[_0x44ec('0x3')]||this[_0x44ec('0xb7')]||this[_0x44ec('0x12')][_0x44ec('0x9f')]&&(_0x3d9089['model'][_0x44ec('0xf7')](()=>{let _0x2f2290=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x41')](_0x54c517[0x0],_0x54c517[0x1],_0x54c517[0x2],{'forceDefaultExecution':!0x0});if(!_0x2f2290)return;_0x5eae25[_0x44ec('0x17b')]=_0x2f2290[_0x44ec('0x118')]();const _0x3884c4=_0x2f2290[_0x44ec('0xba')]['nodeBefore'],_0x49b9d1=_0x3d9089[_0x44ec('0x13a')]['schema'];_0x3884c4&&_0x49b9d1[_0x44ec('0x3f')](_0x3884c4)&&!_0x49b9d1[_0x44ec('0xcd')](_0x3884c4)&&(_0x2f2290=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xe3')](_0x2f2290[_0x44ec('0x25')],_0x3d9089['model']['createPositionAt'](_0x3884c4,'end'))),this['markInsertion'](_0x2f2290);}),_0x5eae25[_0x44ec('0x12b')]());},{'priority':_0x44ec('0xb2')}),this[_0x44ec('0x91')][_0x44ec('0x40')][_0x44ec('0xcc')](_0x44ec('0x5d'),this['trackChangesCommand']),this['enableCommand'](_0x44ec('0x5d'));const _0x10663b=new _0x5339ab(_0x3d9089,this[_0x44ec('0x80')]);_0x3d9089[_0x44ec('0x40')][_0x44ec('0xcc')](_0x44ec('0xea'),_0x10663b),this[_0x44ec('0x5b')](_0x44ec('0xea'));const _0xd67720=new _0x1cb7d7(_0x3d9089,this['_suggestions']);_0x3d9089[_0x44ec('0x40')]['add'](_0x44ec('0x47'),_0xd67720),this[_0x44ec('0x5b')](_0x44ec('0x47')),_0x3d9089[_0x44ec('0x40')][_0x44ec('0xcc')]('acceptAllSuggestions',new _0x16094c(_0x3d9089,_0x10663b,this[_0x44ec('0x80')])),this[_0x44ec('0x5b')](_0x44ec('0xb1')),_0x3d9089[_0x44ec('0x40')][_0x44ec('0xcc')]('discardAllSuggestions',new _0x16094c(_0x3d9089,_0xd67720,this[_0x44ec('0x80')])),this[_0x44ec('0x5b')](_0x44ec('0xd6')),_0x3d9089[_0x44ec('0x40')]['add'](_0x44ec('0x112'),new _0x1edd45(_0x3d9089,_0x10663b,this[_0x44ec('0x80')])),this['enableCommand'](_0x44ec('0x112')),_0x3d9089['commands'][_0x44ec('0xcc')]('discardSelectedSuggestions',new _0x1edd45(_0x3d9089,_0xd67720,this[_0x44ec('0x80')])),this[_0x44ec('0x5b')](_0x44ec('0x49'));const _0x48af6e=_0x3d9089[_0x44ec('0x140')][_0x44ec('0x12c')]('CommentsRepository');this[_0x44ec('0xc2')](_0x48af6e,_0x44ec('0x163'),(_0x1c5350,{threadId:_0x93d2f})=>{const _0x3b74fa=this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x93d2f);_0x3b74fa&&_0x3b74fa[_0x44ec('0x73')]&&0x1===_0x3b74fa[_0x44ec('0x73')][_0x44ec('0x57')]&&this['_updateSuggestionData'](_0x93d2f,{'hasComments':!0x0});},{'priority':'low'}),this[_0x44ec('0xc2')](_0x48af6e,_0x44ec('0x9a'),(_0x168aa7,{threadId:_0x3a3801})=>{const _0x49bc3a=this[_0x44ec('0x80')]['get'](_0x3a3801);_0x49bc3a&&_0x49bc3a[_0x44ec('0x73')]&&!_0x49bc3a['commentThread'][_0x44ec('0x57')]&&this[_0x44ec('0x45')](_0x3a3801,{'hasComments':!0x1});},{'priority':_0x44ec('0x167')});}set[_0x44ec('0x84')](_0x38a4d7){if(this['_adapter'])throw new _0x29cd75(_0x44ec('0xfa'),this);this[_0x44ec('0x110')]=_0x38a4d7;}get[_0x44ec('0x84')](){return this[_0x44ec('0x110')];}[_0x44ec('0x39')]({skipNotAttached:_0x90bbed=!0x1,toJSON:_0x5f55ae=!0x1}={}){const _0x486ea6=[];for(const _0x317302 of this[_0x44ec('0x80')][_0x44ec('0x16d')]())_0x90bbed&&!_0x317302[_0x44ec('0xbd')]||_0x486ea6['push'](_0x317302);return _0x5f55ae?_0x486ea6[_0x44ec('0x111')](_0x38a1bf=>_0x38a1bf['toJSON']()):_0x486ea6;}[_0x44ec('0x93')](_0x4b5249){const _0x55b6b4=this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x4b5249);if(!_0x55b6b4)throw new _0x29cd75('track-changes-suggestion-not-found',this);return _0x55b6b4;}[_0x44ec('0x1b')](_0x5616e4){return this[_0x44ec('0x80')][_0x44ec('0x63')](_0x5616e4);}[_0x44ec('0xab')](_0x107dd1){const {authorId:_0x21c9e2,id:_0x31bee5,attributes:_0x3df666}=_0x107dd1,[_0x60f00,_0x4320fa]=_0x107dd1[_0x44ec('0x2')][_0x44ec('0x8b')](':'),_0x5b6d64=this['_suggestions']['get'](_0x31bee5)||this[_0x44ec('0x5f')](_0x60f00,_0x4320fa,_0x31bee5,_0x21c9e2,_0x3df666);if(this[_0x44ec('0x54')](_0x5b6d64),this[_0x44ec('0x15f')](_0x5b6d64,_0x60f00,_0x4320fa||null,_0x21c9e2),_0x5b6d64[_0x44ec('0x102')]=_0x107dd1[_0x44ec('0x102')],_0x5b6d64['_isDataLoaded']=!0x0,_0x3df666&&_0x3df666['@external']){const _0x371b68=_0x3df666['@external'],_0x52b0cf=this['_getExternalAuthor'](_0x371b68['authorName']);_0x5b6d64['authoredAt']=_0x371b68['createdAt'],_0x5b6d64[_0x44ec('0xaf')]=_0x52b0cf,_0x5b6d64[_0x44ec('0xdb')]=!0x0;}else _0x5b6d64[_0x44ec('0x145')]=_0x107dd1[_0x44ec('0x102')];switch(_0x107dd1[_0x44ec('0x17e')]&&(_0x5b6d64[_0x44ec('0x17e')]=_0x107dd1[_0x44ec('0x17e')]),_0x107dd1[_0x44ec('0x62')]&&(_0x5b6d64[_0x44ec('0x62')]=_0x107dd1[_0x44ec('0x62')]),this[_0x44ec('0x110')]&&this[_0x44ec('0x110')][_0x44ec('0xbc')]||(_0x5b6d64[_0x44ec('0x135')]=!0x0),this[_0x44ec('0x7c')][_0x44ec('0x12c')](_0x5b6d64)){case _0x44ec('0x4f'):this[_0x44ec('0x7c')][_0x44ec('0x29')](_0x5b6d64,_0x44ec('0xc6'));break;case _0x44ec('0x74'):_0x5b6d64[_0x44ec('0xbd')]?(this[_0x44ec('0xd2')](new Set([_0x5b6d64])),this[_0x44ec('0x59')](new Set([_0x5b6d64])),this[_0x44ec('0x7c')][_0x44ec('0x29')](_0x5b6d64,_0x44ec('0x11d')),this[_0x44ec('0xf3')](_0x44ec('0x12d'),_0x5b6d64)):this['_suggestionState'][_0x44ec('0x29')](_0x5b6d64,_0x44ec('0x5c'));}return _0x5b6d64;}[_0x44ec('0xea')](_0x30f714){this[_0x44ec('0x3')](()=>{this[_0x44ec('0x91')][_0x44ec('0x13a')][_0x44ec('0xf7')](()=>{for(const _0x28c1aa of _0x30f714[_0x44ec('0x136')]())_0x28c1aa[_0x44ec('0x16c')]();});});}[_0x44ec('0x47')](_0x2a4d9c){this[_0x44ec('0x3')](()=>{this[_0x44ec('0x91')][_0x44ec('0x13a')]['change'](()=>{for(const _0x2f70f4 of _0x2a4d9c['getAllAdjacentSuggestions']())_0x2f70f4['discard']();});});}[_0x44ec('0x5b')](_0x54ee02,_0xd04d0e){const _0x1e7466=this[_0x44ec('0x91')][_0x44ec('0x40')][_0x44ec('0x12c')](_0x54ee02);if(!_0x1e7466)throw new _0x29cd75(_0x44ec('0x16e'),this,{'commandName':_0x54ee02});if(this[_0x44ec('0x7f')]['has'](_0x1e7466))throw new _0x29cd75(_0x44ec('0x60'),this,{'commandName':_0x54ee02});this[_0x44ec('0x7f')][_0x44ec('0xcc')](_0x1e7466),_0xd04d0e&&_0x1e7466['on'](_0x44ec('0x2e'),(_0x25a2b7,_0x11510f)=>{this[_0x44ec('0x12')][_0x44ec('0x9f')]&&(this['_isForcedDefaultExecutionBlock']||(_0x11510f[_0x44ec('0x57')]>0x0&&_0x11510f[_0x11510f['length']-0x1]&&_0x11510f[_0x11510f[_0x44ec('0x57')]-0x1][_0x44ec('0x3')]?_0x11510f[_0x44ec('0x3c')]():(_0x25a2b7[_0x44ec('0x17b')]=_0xd04d0e((..._0x21bc12)=>_0x1e7466[_0x44ec('0x2e')](..._0x21bc12,{'forceDefaultExecution':!0x0}),..._0x11510f),_0x25a2b7[_0x44ec('0x12b')]())));},{'priority':_0x44ec('0xb2')});}[_0x44ec('0x3')](_0x5688e5){let _0x286939,_0x5b65f6;const _0x6ee39=this[_0x44ec('0xb7')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x286939=_0x5688e5();}catch(_0x42beda){_0x5b65f6=_0x42beda;}return _0x6ee39||(this[_0x44ec('0xb7')]=!0x1),_0x5b65f6&&_0x29cd75['rethrowUnexpectedError'](_0x5b65f6,this),_0x286939;}[_0x44ec('0x87')](_0x2da073,_0x80f17f=null,_0x355e8d={}){if(_0x2da073[_0x44ec('0x88')])return null;const _0x2e7818=this['editor']['plugins'][_0x44ec('0x12c')](_0x44ec('0xe1'))['me'];for(const {suggestion:_0x329a,meta:_0x26cbf9}of this[_0x44ec('0x4e')](_0x2da073,'insertion'))if(_0x26cbf9[_0x44ec('0x44')]){if(!_0x26cbf9[_0x44ec('0x158')]){if(_0x26cbf9[_0x44ec('0xfc')]){if(!this[_0x44ec('0x132')]||!Ft(_0x329a,_0x355e8d))continue;return _0x329a;}if(Ft(_0x329a,_0x355e8d))return _0x329a;this['_breakSuggestionMarker'](_0x329a,_0x2da073['start'],_0x2da073[_0x44ec('0xba')]);break;}if(_0x80f17f==_0x329a['subType']&&Ft(_0x329a,_0x355e8d)){const _0x1ecb15=_0x329a[_0x44ec('0xd3')]();return _0x1ecb15[_0x44ec('0x25')]['isEqual'](_0x2da073[_0x44ec('0xba')])?this['_setSuggestionRange'](_0x329a,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x2da073[_0x44ec('0x25')],_0x1ecb15[_0x44ec('0xba')])):this[_0x44ec('0x7b')](_0x329a,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x1ecb15[_0x44ec('0x25')],_0x2da073[_0x44ec('0xba')])),_0x329a;}}const _0x483e80=_0x1d19db(),_0x48bb81=_0x2e7818['id'],_0x3fa631=_0x80f17f?_0x44ec('0x11e')+_0x80f17f:_0x44ec('0xb6'),_0x1cbd03=this[_0x44ec('0xf4')]({'id':_0x483e80,'type':_0x3fa631,'createdAt':new Date(),'authorId':_0x48bb81,'attributes':_0x355e8d});return this[_0x44ec('0xe9')](_0x3fa631,_0x483e80,_0x48bb81,_0x2da073),_0x1cbd03;}['markMultiRangeInsertion'](_0x8fcd44,_0x2747a8='multi',_0x4df697={}){const _0x269294=this[_0x44ec('0x91')][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1'))['me'],_0x43a71f=this[_0x44ec('0xb5')][_0x44ec('0x52')]('insertion',_0x2747a8,_0x44ec('0x164'));for(const _0x328db1 of this['getSuggestions']())if(_0x328db1[_0x44ec('0xaf')]['id']==_0x269294['id']&&'insertion'==_0x328db1[_0x44ec('0x2')]&&_0x328db1[_0x44ec('0xfe')]==_0x2747a8&&Ft(_0x328db1,_0x4df697)&&(_0x43a71f(_0x328db1['getRanges'](),_0x8fcd44)||_0x43a71f(_0x8fcd44,_0x328db1[_0x44ec('0x9')]()))){for(const _0x33cd33 of _0x8fcd44)_0x328db1['addRange'](_0x33cd33);return _0x328db1;}for(const {suggestion:_0x321271,meta:_0x66eb02}of this['_findSuggestions'](_0x8fcd44,_0x44ec('0xb6'))){if(!_0x66eb02[_0x44ec('0x44')])continue;if(!this[_0x44ec('0x132')]&&_0x66eb02[_0x44ec('0xfc')])continue;if(!Ft(_0x321271,_0x4df697))continue;let _0x3bf557=!0x0;for(const _0x3fa7f6 of _0x321271[_0x44ec('0x9')]())for(const _0x17f8a4 of _0x8fcd44)if(!_0x3fa7f6[_0x44ec('0x178')](_0x17f8a4)){_0x3bf557=!0x1;break;}if(_0x3bf557)return _0x321271;}const _0x5d4f69=_0x1d19db(),_0x287621=_0x269294['id'],_0x2d7e15=_0x44ec('0x11e')+_0x2747a8,_0x155930=this[_0x44ec('0xf4')]({'id':_0x5d4f69,'type':_0x2d7e15,'createdAt':new Date(),'authorId':_0x287621,'attributes':_0x4df697});for(const _0x2173d0 of _0x8fcd44)this[_0x44ec('0xe9')](_0x2d7e15,_0x5d4f69,_0x287621,_0x2173d0,_0x27b20b[_0x44ec('0x12f')]());return _0x155930;}[_0x44ec('0x14a')](_0x2a24dd,_0x5f24a1,_0x4ac884=null,_0x5b3d8b={}){if(_0x4ac884=_0x4ac884||Rt(_0x5f24a1),_0x2a24dd['isCollapsed'])return null;if(_0x44ec('0x14f')===this[_0x44ec('0x176')]){const _0x18874c=this[_0x44ec('0xb5')]['getSuggestionCallback']('formatInline',_0x4ac884,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x18874c([_0x2a24dd],_0x5f24a1,_0x5b3d8b)),null;}const _0x2a19b5=this[_0x44ec('0x91')][_0x44ec('0x140')][_0x44ec('0x12c')]('Users')['me'],_0x361224=[];if(_0x44ec('0x109')!==this['_trackFormatChanges'])for(const {suggestion:_0x3b9de4,meta:_0x30ada7}of this[_0x44ec('0x4e')](_0x2a24dd,'insertion'))_0x30ada7[_0x44ec('0x44')]&&!_0x30ada7[_0x44ec('0x10f')]&&_0x361224[_0x44ec('0x143')](..._0x3b9de4[_0x44ec('0x9')]());const _0xa40a65=function(_0x10ae34,_0x416d8d){const _0x1a46a3=[];for(const _0x185784 of _0x416d8d){const _0x1e9d35=_0x10ae34[_0x44ec('0x15b')](_0x185784);_0x1e9d35&&_0x1a46a3[_0x44ec('0x143')](_0x1e9d35);}return _0x1a46a3;}(_0x2a24dd,_0x361224),_0x56a681=function(_0x213a7b,_0x947217){const _0x39d0d8=[_0x213a7b];for(const _0x157294 of _0x947217){let _0x43ff3f=0x0;for(;_0x43ff3f<_0x39d0d8[_0x44ec('0x57')];){const _0x23fbeb=_0x39d0d8[_0x43ff3f][_0x44ec('0x141')](_0x157294);_0x39d0d8[_0x44ec('0x9b')](_0x43ff3f,0x1,..._0x23fbeb),_0x43ff3f+=_0x23fbeb[_0x44ec('0x57')];}}return _0x39d0d8;}(_0x2a24dd,_0x361224);_0xa40a65[_0x44ec('0x57')]&&this['_model'][_0x44ec('0xf7')](()=>{for(const _0x30f9cd of _0xa40a65){const _0x1add2c=this[_0x44ec('0xb5')]['getSuggestionCallback']('formatInline',_0x4ac884,'accept');this[_0x44ec('0x3')](()=>_0x1add2c([_0x30f9cd],_0x5f24a1,_0x5b3d8b));}});for(const _0x6ca645 of _0x56a681){let _0x72fd25=null,_0x4e9f7c=_0x6ca645[_0x44ec('0x25')],_0x52ea90=_0x6ca645[_0x44ec('0xba')];for(const {suggestion:_0x12fb21,meta:_0x3ca29a}of this[_0x44ec('0x4e')](_0x6ca645,'formatInline')){if(!_0x3ca29a[_0x44ec('0x44')])continue;if(_0x12fb21[_0x44ec('0xfe')]!=_0x4ac884)continue;if(!Ft(_0x12fb21,_0x5b3d8b))continue;const _0xa14f4f=_0x12fb21[_0x44ec('0xd3')]();if(_0xa14f4f[_0x44ec('0x178')](_0x6ca645,!0x0))return null;_0x4e9f7c=_0x4e9f7c[_0x44ec('0x10c')](_0xa14f4f[_0x44ec('0x25')])?_0x4e9f7c:_0xa14f4f[_0x44ec('0x25')],_0x52ea90=_0x52ea90['isAfter'](_0xa14f4f[_0x44ec('0xba')])?_0x52ea90:_0xa14f4f[_0x44ec('0xba')],_0x72fd25?_0xa14f4f[_0x44ec('0x25')][_0x44ec('0x10c')](_0x72fd25[_0x44ec('0xd3')]()['start'])?(_0x72fd25['removeMarkers'](),_0x72fd25=_0x12fb21):_0x12fb21['removeMarkers']():_0x72fd25=_0x12fb21;}const _0x1115bd=this[_0x44ec('0xdc')]['createRange'](_0x4e9f7c,_0x52ea90);if(_0x72fd25)this[_0x44ec('0x7b')](_0x72fd25,_0x1115bd);else{const _0x18ffa1=_0x1d19db(),_0x536bb2=_0x2a19b5['id'];this[_0x44ec('0xf4')]({'id':_0x18ffa1,'type':_0x44ec('0x6d')+_0x4ac884,'data':_0x5f24a1,'createdAt':new Date(),'authorId':_0x536bb2,'attributes':_0x5b3d8b}),this[_0x44ec('0xe9')](_0x44ec('0x6d')+_0x4ac884,_0x18ffa1,_0x536bb2,_0x1115bd);}}return null;}[_0x44ec('0xc7')](_0x237d8c,_0x5eb566,_0xfe60ab=[],_0x2e6369=null,_0x4b31f6={}){_0x5eb566[_0x44ec('0x172')]||(_0x5eb566[_0x44ec('0x172')]=_0x5eb566[_0x44ec('0x101')]),_0x5eb566[_0x44ec('0xd7')]=_0x237d8c['is'](_0x44ec('0x19')),_0x2e6369=_0x2e6369||Rt(_0x5eb566);const _0x5c3cdc=_0xfe60ab['map'](_0xe445a3=>Ot(_0xe445a3,this[_0x44ec('0xdc')])),_0x4e13c2=_0x237d8c['is'](_0x44ec('0x19'))?_0x237d8c:Ot(_0x237d8c,this[_0x44ec('0xdc')]);if(_0x44ec('0x14f')===this[_0x44ec('0x176')]){const _0x513134=this[_0x44ec('0xb5')][_0x44ec('0x52')]('formatBlock',_0x2e6369,_0x44ec('0x16c'));return this['forceDefaultExecution'](()=>_0x513134([_0x4e13c2],_0x5eb566,_0x4b31f6)),null;}_0x5c3cdc[_0x44ec('0x143')](_0x4e13c2);let _0x374aff=!0x0;for(const _0x55a088 of _0x5c3cdc)if(!this[_0x44ec('0xf5')](_0x55a088)){_0x374aff=!0x1;break;}if(_0x374aff&&_0x44ec('0x109')!==this[_0x44ec('0x176')]){const _0x437009=this[_0x44ec('0xb5')][_0x44ec('0x52')](_0x44ec('0x11a'),_0x2e6369,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x437009([_0x4e13c2],_0x5eb566,_0x4b31f6)),null;}let _0x2085cc=null,_0x4eae70=_0x4e13c2[_0x44ec('0x25')],_0x266002=_0x4e13c2['end'];for(const {suggestion:_0xa64376,meta:_0x2800f1}of this[_0x44ec('0x4e')](_0x4e13c2,_0x44ec('0x11a'))){if(!_0x2800f1[_0x44ec('0x44')])continue;if(_0x2800f1[_0x44ec('0x158')]||_0x2800f1['containsRangeInObject']||_0x2800f1[_0x44ec('0x10f')])continue;if(_0xa64376[_0x44ec('0x17e')]['formatGroupId']!=_0x5eb566[_0x44ec('0x172')])continue;if(!Ft(_0xa64376,_0x4b31f6))continue;const _0x56b140=_0xa64376['getFirstRange']();if(_0xa64376[_0x44ec('0xfe')]==_0x2e6369){if(_0x56b140[_0x44ec('0x178')](_0x4e13c2,!0x0))return null;_0x4eae70=_0x4eae70[_0x44ec('0x10c')](_0x56b140[_0x44ec('0x25')])?_0x4eae70:_0x56b140[_0x44ec('0x25')],_0x266002=_0x266002[_0x44ec('0x76')](_0x56b140[_0x44ec('0xba')])?_0x266002:_0x56b140[_0x44ec('0xba')],_0x2085cc?_0x56b140[_0x44ec('0x25')][_0x44ec('0x10c')](_0x2085cc[_0x44ec('0xd3')]()[_0x44ec('0x25')])?(_0x2085cc[_0x44ec('0x10b')](),_0x2085cc=_0xa64376):_0xa64376[_0x44ec('0x10b')]():_0x2085cc=_0xa64376;}else{const _0x7d9b24=_0x4e13c2[_0x44ec('0x15b')](_0x56b140);this[_0x44ec('0xae')](_0xa64376,_0x7d9b24);}}const _0x5f3cd8=this['editor'][_0x44ec('0x140')]['get'](_0x44ec('0xe1'))['me'],_0x5e2a7b=_0x1d19db(),_0x103f4e=_0x5f3cd8['id'];if(_0x2085cc)return this[_0x44ec('0x7b')](_0x2085cc,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x4eae70,_0x266002)),_0x2085cc;{const _0x1efe2d=this['_setSuggestionData']({'id':_0x5e2a7b,'type':_0x44ec('0x8c')+_0x2e6369,'data':_0x5eb566,'createdAt':new Date(),'authorId':_0x103f4e,'attributes':_0x4b31f6});return this[_0x44ec('0xe9')](_0x44ec('0x8c')+_0x2e6369,_0x5e2a7b,_0x103f4e,this['_model'][_0x44ec('0xe3')](_0x4eae70,_0x266002)),_0x1efe2d;}}['markMultiRangeBlockFormat'](_0x5c5d92,_0xf8bb40,_0x2f4bc6=[],_0x170415=null,_0x2a50ab={}){_0xf8bb40[_0x44ec('0x172')]||(_0xf8bb40[_0x44ec('0x172')]=_0xf8bb40[_0x44ec('0x101')]);const _0x21d5c1=_0x5c5d92[0x0];_0xf8bb40['multipleBlocks']=_0x21d5c1['is'](_0x44ec('0x19')),_0x170415=_0x170415||Rt(_0xf8bb40);const _0x1fbda0=_0x2f4bc6[_0x44ec('0x111')](_0x427558=>Ot(_0x427558,this[_0x44ec('0xdc')])),_0x41e2ff=_0x21d5c1['is'](_0x44ec('0x19'))?_0x5c5d92:_0x5c5d92[_0x44ec('0x111')](_0x2adafc=>Ot(_0x2adafc,this[_0x44ec('0xdc')]));if(_0x44ec('0x14f')===this[_0x44ec('0x176')]){const _0x233b95=this[_0x44ec('0xb5')]['getSuggestionCallback'](_0x44ec('0x11a'),_0x170415,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x233b95(_0x41e2ff,_0xf8bb40,_0x2a50ab)),null;}_0x1fbda0['push'](..._0x41e2ff);let _0x42ec52=!0x0;for(const _0x56389e of _0x1fbda0)if(!this[_0x44ec('0xf5')](_0x56389e)){_0x42ec52=!0x1;break;}if(_0x42ec52&&_0x44ec('0x109')!==this[_0x44ec('0x176')]){const _0x53331f=this[_0x44ec('0xb5')][_0x44ec('0x52')]('formatBlock',_0x170415,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x53331f(_0x41e2ff,_0xf8bb40,_0x2a50ab)),null;}const _0x3aa89c=this['editor'][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1'))['me'];for(const _0x36db31 of this[_0x44ec('0x39')]()){if(_0x36db31[_0x44ec('0xaf')]['id']!=_0x3aa89c['id'])continue;if(_0x44ec('0x11a')!=_0x36db31[_0x44ec('0x2')]||_0x36db31[_0x44ec('0x17e')][_0x44ec('0x172')]!=_0xf8bb40[_0x44ec('0x172')])continue;if(!Ft(_0x36db31,_0x2a50ab))continue;const _0x3efbbe=_0x36db31['subType']==_0x170415;for(let _0x4c04e4=0x0;_0x4c04e4<_0x41e2ff['length'];_0x4c04e4++){const _0x4f4d6e=_0x41e2ff[_0x4c04e4];for(const _0x5981a0 of _0x36db31[_0x44ec('0x18')]()){const _0x2d2345=_0x5981a0[_0x44ec('0x15a')]();if(_0x4f4d6e[_0x44ec('0x106')](_0x2d2345)){_0x3efbbe?(_0x41e2ff[_0x44ec('0x9b')](_0x4c04e4,0x1),_0x4c04e4--):_0x36db31['removeMarker'](_0x5981a0[_0x44ec('0x115')]);break;}}}}if(0x0==_0x41e2ff[_0x44ec('0x57')])return null;const _0x42509c=this[_0x44ec('0xb5')]['getSuggestionCallback'](_0x44ec('0x11a'),_0x170415,'join');for(const _0x599527 of this[_0x44ec('0x39')]())if(_0x599527['author']['id']==_0x3aa89c['id']&&_0x44ec('0x11a')==_0x599527[_0x44ec('0x2')]&&_0x599527[_0x44ec('0x17e')][_0x44ec('0x172')]==_0xf8bb40['formatGroupId']&&_0x599527[_0x44ec('0xfe')]==_0x170415&&Ft(_0x599527,_0x2a50ab)&&(_0x42509c(_0x599527[_0x44ec('0x9')](),_0x41e2ff)||_0x42509c(_0x41e2ff,_0x599527['getRanges']()))){for(const _0x56dde5 of _0x41e2ff)_0x599527[_0x44ec('0x150')](_0x56dde5);return _0x599527;}const _0x3f666e=_0x1d19db(),_0x473564=_0x3aa89c['id'],_0x1ef0cb='formatBlock:'+_0x170415,_0x2cc97d=this[_0x44ec('0xf4')]({'id':_0x3f666e,'type':_0x1ef0cb,'data':_0xf8bb40,'createdAt':new Date(),'authorId':_0x473564,'attributes':_0x2a50ab});for(const _0x476a08 of _0x41e2ff)this['_addSuggestionMarker'](_0x1ef0cb,_0x3f666e,_0x473564,_0x476a08,_0x27b20b['getMultiRangeId']());return _0x2cc97d;}['markDeletion'](_0x370fa7,_0x22bd3d=null,_0x850ee9={}){if(_0x370fa7[_0x44ec('0x88')])return null;const _0x2704a7=this['editor'][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1'))['me'],_0x4c7c18=new _0x3fb3d1(_0x370fa7[_0x44ec('0x25')],_0x370fa7[_0x44ec('0xba')]);for(const {suggestion:_0x4e527d,meta:_0x141309}of this[_0x44ec('0x4e')](_0x4c7c18,'insertion'))if(_0x141309[_0x44ec('0x44')]&&!_0x141309[_0x44ec('0x158')]){if(_0x4e527d['isMultiRange']){const _0x329714=_0x4e527d[_0x44ec('0x9')]()['filter'](_0x5323b1=>'$graveyard'!=_0x5323b1[_0x44ec('0x82')]['rootName']);_0x329714[_0x44ec('0x97')](_0x3fbcfa=>_0x4c7c18['containsRange'](_0x3fbcfa,!0x0))&&_0x4e527d['discard']();if(_0x329714[_0x44ec('0x124')](_0x39230c=>_0x39230c[_0x44ec('0x178')](_0x4c7c18,!0x0))){const _0x2393eb=this[_0x44ec('0xb5')][_0x44ec('0x52')](_0x44ec('0x114'),_0x22bd3d,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x2393eb([_0x4c7c18],null,_0x850ee9)),null;}}else{const _0x3d7a48=_0x4c7c18[_0x44ec('0x15b')](_0x4e527d[_0x44ec('0xd3')]());null!==_0x3d7a48&&_0x4e527d[_0x44ec('0x122')]([_0x3d7a48],null,_0x850ee9);}}if(_0x4c7c18[_0x44ec('0xc9')](),_0x4c7c18[_0x44ec('0x88')]||_0x44ec('0x5a')==_0x4c7c18['root'][_0x44ec('0x11f')])return null;let _0x8862f9=null,_0x8684f4=_0x4c7c18[_0x44ec('0x25')],_0x492c9b=_0x4c7c18['end'];const _0x3a841a=this[_0x44ec('0x4e')](_0x4c7c18,_0x44ec('0x114'));for(const {suggestion:_0x1e9e76,meta:_0x37241b}of _0x3a841a){const _0x5948d=this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x8684f4,_0x492c9b);if(_0x37241b[_0x44ec('0x44')]&&(this['_mergeNestedSuggestions']||!_0x37241b[_0x44ec('0xfc')]&&!_0x37241b[_0x44ec('0x10f')])){if(_0x1e9e76[_0x44ec('0x1f')]){if(!Ft(_0x1e9e76,_0x850ee9))continue;let _0x4d0cf4=!0x0;for(const _0x4226bc of _0x1e9e76[_0x44ec('0x9')]()){if(_0x4226bc['containsRange'](_0x5948d,!0x0))return _0x1e9e76;_0x5948d[_0x44ec('0x178')](_0x4226bc)||(_0x4d0cf4=!0x1);}_0x4d0cf4&&_0x1e9e76['discard']();}else{const _0x58ce53=_0x1e9e76[_0x44ec('0xd3')]();if(_0x58ce53['containsRange'](_0x5948d,!0x0))return _0x1e9e76;if(!Ft(_0x1e9e76,_0x850ee9)){_0x5948d[_0x44ec('0x178')](_0x58ce53)?_0x1e9e76[_0x44ec('0x10b')]():_0x58ce53[_0x44ec('0x10')](_0x8684f4)?_0x8684f4=_0x58ce53[_0x44ec('0xba')]:_0x58ce53[_0x44ec('0x10')](_0x492c9b)&&(_0x492c9b=_0x58ce53[_0x44ec('0x25')]);continue;}_0x8684f4=_0x8684f4[_0x44ec('0x10c')](_0x58ce53['start'])?_0x8684f4:_0x58ce53[_0x44ec('0x25')],_0x492c9b=_0x492c9b[_0x44ec('0x76')](_0x58ce53[_0x44ec('0xba')])?_0x492c9b:_0x58ce53[_0x44ec('0xba')],_0x850ee9=Object[_0x44ec('0x16a')]({},_0x1e9e76[_0x44ec('0x62')]),_0x8862f9?_0x58ce53[_0x44ec('0x25')][_0x44ec('0x10c')](_0x8862f9[_0x44ec('0xd3')]()[_0x44ec('0x25')])?(_0x8862f9[_0x44ec('0x10b')](),_0x8862f9=_0x1e9e76):_0x1e9e76['removeMarkers']():_0x8862f9=_0x1e9e76;}}}if(_0x8862f9)return this[_0x44ec('0x7b')](_0x8862f9,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x8684f4,_0x492c9b)),_0x8862f9;{const _0x50cb23=_0x1d19db(),_0x346539=this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x8684f4,_0x492c9b),_0x11407f=_0x2704a7['id'],_0x4984ae=_0x22bd3d?_0x44ec('0xbb')+_0x22bd3d:'deletion',_0x3cec8f=this['_setSuggestionData']({'id':_0x50cb23,'type':_0x4984ae,'createdAt':new Date(),'authorId':_0x11407f,'attributes':_0x850ee9});return this[_0x44ec('0xe9')](_0x4984ae,_0x50cb23,_0x11407f,_0x346539),_0x3cec8f;}}[_0x44ec('0x130')](_0x95c11d,_0x5748d5=_0x44ec('0x75'),_0x27a234={}){const _0x39179e=this['editor'][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1'))['me'],_0x7e5b9e=_0x95c11d[_0x44ec('0x111')](_0x4c11e3=>new _0x3fb3d1(_0x4c11e3[_0x44ec('0x25')],_0x4c11e3[_0x44ec('0xba')])),_0x37038a=new Set();for(const {suggestion:_0x338de6,meta:_0x2af7a4}of this[_0x44ec('0x4e')](_0x7e5b9e,_0x44ec('0xb6')))_0x2af7a4[_0x44ec('0x44')]&&!_0x2af7a4[_0x44ec('0x158')]&&_0x37038a[_0x44ec('0xcc')](_0x338de6);for(const _0x45ee36 of _0x37038a)if(_0x45ee36['isMultiRange']){const _0x1cce46=_0x45ee36['getRanges']();(!_0x45ee36[_0x44ec('0x62')]||!_0x45ee36[_0x44ec('0x62')][_0x44ec('0xe')])&&(_0x1cce46[_0x44ec('0x97')](_0x107818=>_0x7e5b9e[_0x44ec('0x124')](_0x2be680=>_0x2be680[_0x44ec('0x178')](_0x107818,!0x0)))&&_0x45ee36[_0x44ec('0x14e')]());if(_0x7e5b9e[_0x44ec('0x97')](_0x44fa68=>_0x1cce46[_0x44ec('0x124')](_0x5ec0c3=>_0x5ec0c3[_0x44ec('0x178')](_0x44fa68,!0x0)))){const _0x4884d0=this[_0x44ec('0xb5')][_0x44ec('0x52')](_0x44ec('0x114'),_0x5748d5,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x4884d0(_0x95c11d,null,_0x27a234)),null;}}else{const _0x4622c7=_0x45ee36[_0x44ec('0xd3')]();_0x7e5b9e[_0x44ec('0x124')](_0x551f82=>_0x551f82['containsRange'](_0x4622c7,!0x0))&&_0x45ee36[_0x44ec('0x14e')]();if(_0x7e5b9e['every'](_0x57c852=>_0x4622c7[_0x44ec('0x178')](_0x57c852,!0x0))){const _0x5af131=this[_0x44ec('0xb5')][_0x44ec('0x52')]('deletion',_0x5748d5,_0x44ec('0x16c'));return this['forceDefaultExecution'](()=>_0x5af131(_0x7e5b9e,null,_0x27a234)),null;}}const _0xbfa678=this[_0x44ec('0xb5')][_0x44ec('0x52')]('deletion',_0x5748d5,'join');let _0x518b31=null;for(const _0x4c2ff3 of this[_0x44ec('0x39')]())if(_0x4c2ff3[_0x44ec('0xaf')]['id']==_0x39179e['id']&&_0x4c2ff3['isInContent']&&_0x44ec('0x114')==_0x4c2ff3[_0x44ec('0x2')]&&_0x4c2ff3['subType']==_0x5748d5&&Ft(_0x4c2ff3,_0x27a234)&&(_0xbfa678(_0x4c2ff3[_0x44ec('0x9')](),_0x7e5b9e)||_0xbfa678(_0x7e5b9e,_0x4c2ff3['getRanges']()))){if(_0x518b31){if(_0x4c2ff3[_0x44ec('0x73')]&&_0x4c2ff3[_0x44ec('0x73')]['length'])continue;for(const _0x44b691 of _0x4c2ff3['getRanges']())_0x518b31['isIntersectingWithRange'](_0x44b691)||_0x518b31['addRange'](_0x44b691);_0x4c2ff3[_0x44ec('0x10b')]();}else{_0x518b31=_0x4c2ff3;for(const _0x567612 of _0x7e5b9e)_0x4c2ff3[_0x44ec('0x11c')](_0x567612)||_0x4c2ff3[_0x44ec('0x150')](_0x567612);}}if(_0x518b31)return _0x518b31;_0x37038a[_0x44ec('0x6a')]();for(const {suggestion:_0x510226,meta:_0x49a85c}of this['_findSuggestions'](_0x7e5b9e,'deletion'))_0x49a85c[_0x44ec('0x44')]&&(this[_0x44ec('0x132')]||!_0x49a85c['containsRangeInObject']&&!_0x49a85c[_0x44ec('0x10f')])&&Ft(_0x510226,_0x27a234)&&_0x37038a[_0x44ec('0xcc')](_0x510226);for(const _0x16f75d of _0x37038a){const _0x294fb7=_0x16f75d['getRanges']();if(!_0x27a234||!_0x27a234[_0x44ec('0xe')]){if(_0x7e5b9e[_0x44ec('0x97')](_0x30fc88=>_0x294fb7[_0x44ec('0x124')](_0x2ddb48=>_0x2ddb48[_0x44ec('0x178')](_0x30fc88,!0x0))))return _0x16f75d;}(!_0x16f75d[_0x44ec('0x62')]||!_0x16f75d[_0x44ec('0x62')][_0x44ec('0xe')])&&(_0x294fb7[_0x44ec('0x97')](_0x385873=>_0x7e5b9e['some'](_0x3edeed=>_0x3edeed[_0x44ec('0x178')](_0x385873,!0x0)))&&_0x16f75d[_0x44ec('0x14e')]());}const _0x2d20e9=_0x1d19db(),_0x105a04=_0x39179e['id'],_0x4b01e4=_0x44ec('0xbb')+_0x5748d5,_0x576be8=this[_0x44ec('0xf4')]({'id':_0x2d20e9,'type':_0x4b01e4,'createdAt':new Date(),'authorId':_0x105a04,'attributes':_0x27a234});for(const _0x30a3dd of _0x7e5b9e)_0x30a3dd[_0x44ec('0xc9')](),_0x30a3dd[_0x44ec('0x88')]||_0x44ec('0x5a')==_0x30a3dd[_0x44ec('0x82')]['rootName']||this['_addSuggestionMarker'](_0x4b01e4,_0x2d20e9,_0x105a04,_0x30a3dd,_0x27b20b['getMultiRangeId']());return _0x576be8;}['markAttributeChange'](_0x28fcfb,_0x253325,_0x9d0d1f,_0x2cd5dc,_0xff3468){if(_0x28fcfb[_0x44ec('0x88')])return[];if(_0x44ec('0x14f')===this[_0x44ec('0x176')])return[];const _0x1a5d52=this['editor'][_0x44ec('0x140')][_0x44ec('0x12c')]('Users')['me']['id'],_0x28e8e3=Array['from'](this[_0x44ec('0x80')][_0x44ec('0x16d')]())[_0x44ec('0x81')](_0x2e3c5b=>_0x44ec('0x70')==_0x2e3c5b[_0x44ec('0x2')]&&_0x2e3c5b[_0x44ec('0x17e')][_0x44ec('0xd8')]==_0x253325&&_0x2e3c5b[_0x44ec('0x11c')](_0x28fcfb));if(_0x44ec('0x169')===this['_trackFormatChanges']){const _0x107c45=this[_0x44ec('0x4e')](_0x28fcfb,'insertion')[_0x44ec('0x81')](({meta:_0x35d1d6})=>_0x35d1d6[_0x44ec('0x44')]&&!_0x35d1d6[_0x44ec('0x10f')]&&!_0x35d1d6[_0x44ec('0x158')])[_0x44ec('0x111')](({suggestion:_0x343eee})=>_0x343eee);_0x28e8e3[_0x44ec('0x83')](..._0x107c45);}const _0x5692b8=new Map([[_0x28fcfb,_0x9d0d1f]]);for(const _0x12b638 of _0x28e8e3){const _0x6adb2b=_0x44ec('0x70')==_0x12b638[_0x44ec('0x2')]?_0x12b638[_0x44ec('0x17e')]['oldValue']:void 0x0,_0x3172b4=_0x12b638['getFirstRange'](),_0x5bc502=Array[_0x44ec('0xe4')](_0x5692b8[_0x44ec('0x120')]())['find'](_0x521414=>_0x521414[_0x44ec('0x146')](_0x3172b4));if(!_0x5bc502)continue;const _0x30b3d6=_0x5bc502[_0x44ec('0x141')](_0x3172b4);this['_isBlockAttribute'](_0x253325)&&_0x44ec('0xb6')==_0x12b638[_0x44ec('0x2')]&&0x0!=_0x30b3d6[_0x44ec('0x57')]||(_0x5692b8[_0x44ec('0xa6')](_0x5bc502),_0x30b3d6[_0x44ec('0xd5')](_0x2e9b8f=>{_0x5692b8['set'](_0x2e9b8f,_0x9d0d1f);}),'insertion'!=_0x12b638[_0x44ec('0x2')]&&_0x6adb2b!=_0x2cd5dc&&_0x5692b8[_0x44ec('0x29')](_0x5bc502[_0x44ec('0x15b')](_0x3172b4),_0x6adb2b));}const _0x41715c=[];for(const [_0x586f37,_0x149d5c]of _0x5692b8){const _0x256208=_0x1d19db(),_0xb7aad5={'key':_0x253325,'oldValue':_0x149d5c,'newValue':_0x2cd5dc};_0x253325['length']>0x25&&console[_0x44ec('0x17d')](_0x44ec('0x46'),{'key':_0x253325});const _0x3c2752=(_0x44ec('0xb3')+(_0x253325+'|'+Rt({'newValue':_0x2cd5dc})))[_0x44ec('0x127')](0x0,0x3c),_0xbeb3c6=this[_0x44ec('0xf4')]({'id':_0x256208,'type':_0x3c2752,'data':_0xb7aad5,'createdAt':new Date(),'authorId':_0x1a5d52,'attributes':_0xff3468});_0x41715c[_0x44ec('0x143')](_0xbeb3c6),this[_0x44ec('0xe9')](_0x3c2752,_0x256208,_0x1a5d52,_0x586f37);}return _0x41715c;}[_0x44ec('0x92')](_0x230126){this['_blockAttributeKeys'][_0x44ec('0xcc')](_0x230126);}[_0x44ec('0x85')](_0x192372){this[_0x44ec('0xec')][_0x44ec('0xcc')](_0x192372);}[_0x44ec('0xf0')](_0x23f291,_0x4b2c3e=[],_0x44ada6=[]){this['enableCommand'](_0x23f291,(_0x6d8e06,..._0x11ec71)=>{this[_0x44ec('0xb4')](()=>{_0x6d8e06(..._0x11ec71);});});for(const _0x1154bd of _0x4b2c3e)this['_registerInlineAttribute'](_0x1154bd);for(const _0x2382b0 of _0x44ada6)this[_0x44ec('0x92')](_0x2382b0);}['_setSuggestionRange'](_0x718eef,_0x2fad2e){const _0x4ebc20=_0x718eef[_0x44ec('0x43')]();this[_0x44ec('0xdc')][_0x44ec('0xf7')](_0xd8302=>{_0xd8302['updateMarker'](_0x4ebc20,{'range':_0x2fad2e});});}[_0x44ec('0x54')](_0x4dfb8b){const _0x1c6f40=_0x4dfb8b['id'],_0x3b08cc=this[_0x44ec('0x91')][_0x44ec('0x20')][_0x44ec('0x12c')](_0x44ec('0x2b'));this[_0x44ec('0x177')][_0x44ec('0xa2')](_0x1c6f40)||this[_0x44ec('0x177')][_0x44ec('0xb0')]({'channelId':_0x3b08cc,'threadId':_0x1c6f40,'isResolvable':!0x1,'isSubmitted':!0x0});const _0xa93940=this[_0x44ec('0x177')][_0x44ec('0xa4')](_0x1c6f40);_0xa93940['unbind'](_0x44ec('0x137')),_0xa93940[_0x44ec('0x137')]=!0x1,_0x4dfb8b[_0x44ec('0x73')]=_0xa93940;}[_0x44ec('0x15f')](_0x154eff,_0x25ef27,_0x2758b5,_0x334f83){if(_0x154eff['type']!=_0x25ef27||_0x154eff[_0x44ec('0xfe')]!=_0x2758b5||_0x154eff[_0x44ec('0xda')]['id']!=_0x334f83)throw this[_0x44ec('0x91')][_0x44ec('0x17f')](_0x44ec('0xdd')),new _0x29cd75('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x5d88e9,_0x1381f3){const _0x395b8a=_0x5d88e9[_0x44ec('0xd3')]();if(_0x1381f3[_0x44ec('0x106')](_0x395b8a))_0x5d88e9[_0x44ec('0x10b')]();else{if(_0x395b8a['containsRange'](_0x1381f3)){const _0x2d8517=this[_0x44ec('0xdc')][_0x44ec('0xa1')](_0x1381f3[_0x44ec('0x25')][_0x44ec('0x16f')],_0x44ec('0xba'));this[_0x44ec('0x7b')](_0x5d88e9,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x395b8a[_0x44ec('0x25')],_0x2d8517));const _0x1ab7fa=_0x1d19db(),_0x571afb=_0x5d88e9['creator']['id'],_0x461119=_0x5d88e9[_0x44ec('0x2')]+':'+_0x5d88e9[_0x44ec('0xfe')];this['_setSuggestionData']({'id':_0x1ab7fa,'type':_0x461119,'createdAt':new Date(),'authorId':_0x571afb,'data':_0x5d88e9[_0x44ec('0x17e')],'attributes':_0x5d88e9[_0x44ec('0x62')]});const _0x11a1aa=this[_0x44ec('0xdc')]['createPositionAt'](_0x1381f3[_0x44ec('0xba')][_0x44ec('0x156')],_0x44ec('0x161')),_0x492340=this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x11a1aa,_0x395b8a[_0x44ec('0xba')]);this[_0x44ec('0xe9')](_0x461119,_0x1ab7fa,_0x571afb,_0x492340);}else{if(_0x395b8a['containsPosition'](_0x1381f3[_0x44ec('0x25')])){const _0x5e1a92=this[_0x44ec('0xdc')]['createPositionAt'](_0x1381f3['start'][_0x44ec('0x16f')],_0x44ec('0xba'));this[_0x44ec('0x7b')](_0x5d88e9,this['_model'][_0x44ec('0xe3')](_0x395b8a[_0x44ec('0x25')],_0x5e1a92));}else{const _0x4d16fb=this['_model'][_0x44ec('0xa1')](_0x1381f3[_0x44ec('0xba')][_0x44ec('0x156')],_0x44ec('0x161'));this[_0x44ec('0x7b')](_0x5d88e9,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x4d16fb,_0x395b8a[_0x44ec('0xba')]));}}}}[_0x44ec('0xf5')](_0x24cb45){for(const {suggestion:_0x3ec09e,meta:_0x14b339}of this['_findSuggestions'](_0x24cb45,_0x44ec('0xb6'))){if(!_0x14b339['isOwn'])continue;const _0x299aba=_0x3ec09e[_0x44ec('0x9')]();for(const _0x432fff of _0x299aba)if(!_0x24cb45[_0x44ec('0x141')](_0x432fff)[_0x44ec('0x57')])return!0x0;}return!0x1;}[_0x44ec('0xc8')](_0x3048c1){const _0x2ed3ac=this['editor'][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1'))[_0x44ec('0xac')](_0x3048c1);if(!_0x2ed3ac)throw new _0x29cd75(_0x44ec('0x4'),this);return _0x2ed3ac;}[_0x44ec('0xf1')](_0x12c598){const _0x19d327=this[_0x44ec('0x91')][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1')),_0x5f3f41=_0x6e73ab(_0x44ec('0x5e')+_0x12c598),_0x18874=_0x19d327[_0x44ec('0xac')](_0x5f3f41);return _0x18874||_0x19d327['addUser']({'id':_0x5f3f41,'name':_0x12c598});}['_createSuggestion'](_0x18f5c6,_0x2aac29,_0x2c171c,_0x2486e4,_0x1973fe){const _0x130e6d=this[_0x44ec('0xc8')](_0x2486e4),_0x3f68bf=this[_0x44ec('0xb5')]['buildSuggestion'](_0x18f5c6,_0x2aac29,_0x2c171c,_0x130e6d,_0x1973fe,_0x58f5dc=>this[_0x44ec('0x45')](_0x2c171c,{'attributes':_0x58f5dc}));return this[_0x44ec('0xc2')](_0x3f68bf,_0x44ec('0x16c'),()=>{this[_0x44ec('0x45')](_0x2c171c,{'state':'accepted'});},{'priority':_0x44ec('0xb2')}),this[_0x44ec('0xc2')](_0x3f68bf,_0x44ec('0x14e'),()=>{this[_0x44ec('0x45')](_0x2c171c,{'state':'rejected'});},{'priority':_0x44ec('0xb2')}),this[_0x44ec('0x80')][_0x44ec('0x29')](_0x2c171c,_0x3f68bf),this[_0x44ec('0x7c')]['set'](_0x3f68bf,'notReady'),_0x3f68bf;}['_splitMarkerName'](_0x243f3c){const _0x22ecee=_0x243f3c[_0x44ec('0x8b')](':');return{'group':_0x22ecee[0x0],'type':_0x22ecee[0x1],'subType':_0x22ecee[_0x44ec('0x57')]>=0x5?_0x22ecee[0x2]:null,'id':_0x22ecee[_0x44ec('0x57')]<0x5?_0x22ecee[0x2]:_0x22ecee[0x3],'authorId':_0x22ecee[_0x44ec('0x57')]<0x5?_0x22ecee[0x3]:_0x22ecee[0x4],'markerCount':0x6==_0x22ecee[_0x44ec('0x57')]?_0x22ecee[0x5]:null};}[_0x44ec('0xee')](_0x440b6a,_0x3f1770,_0x2a42cc){const _0x1301ae=_0x440b6a[_0x44ec('0xd3')](),_0x336614=_0x1301ae[_0x44ec('0x25')],_0x55835b=_0x1301ae[_0x44ec('0xba')];this[_0x44ec('0x7b')](_0x440b6a,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x336614,_0x3f1770));const _0x1cd733=_0x1d19db(),_0x170211=_0x440b6a[_0x44ec('0xda')]['id'],_0x2bf892=_0x440b6a[_0x44ec('0x2')]+(_0x440b6a[_0x44ec('0xfe')]?':'+_0x440b6a['subType']:'');this[_0x44ec('0xf4')]({'id':_0x1cd733,'type':_0x2bf892,'createdAt':new Date(),'authorId':_0x170211,'originalSuggestionId':_0x440b6a['id'],'attributes':_0x440b6a[_0x44ec('0x62')],'data':_0x440b6a['data']});const _0x39841e=Lt(_0x440b6a);(_0x44ec('0x11a')==_0x440b6a[_0x44ec('0x2')]||_0x39841e&&this[_0x44ec('0x15')](_0x39841e))&&(_0x2a42cc=this[_0x44ec('0xdc')][_0x44ec('0x42')](_0x2a42cc[_0x44ec('0x156')])),this['_addSuggestionMarker'](_0x2bf892,_0x1cd733,_0x170211,this['_model'][_0x44ec('0xe3')](_0x2a42cc,_0x55835b));}['_findSuggestions'](_0x5d9df0,_0x20dc8d=null){const _0x5d5d24=[],_0x3467f6=this['editor']['plugins'][_0x44ec('0x12c')]('Users')['me'];Array[_0x44ec('0x4a')](_0x5d9df0)||(_0x5d9df0=[_0x5d9df0]);for(const _0x337144 of this[_0x44ec('0x39')]()){if(!_0x337144[_0x44ec('0xbd')])continue;if(_0x20dc8d&&_0x337144[_0x44ec('0x2')]!=_0x20dc8d)continue;let _0x193b5e=!0x1;for(const _0x249874 of _0x337144[_0x44ec('0x9')]()){for(const _0x3d7139 of _0x5d9df0){const _0x248495=_0x3d7139['start'][_0x44ec('0x106')](_0x249874[_0x44ec('0xba')])||_0x3d7139[_0x44ec('0xba')][_0x44ec('0x106')](_0x249874['start']);if(_0x248495||_0x3d7139[_0x44ec('0x15b')](_0x249874)){const _0x479ce8=_0x3d7139[_0x44ec('0x178')](_0x249874)&&Tt(this['_model'][_0x44ec('0x96')],_0x249874[_0x44ec('0x25')],_0x3d7139),_0x265f5d=_0x249874[_0x44ec('0x178')](_0x3d7139)&&Tt(this[_0x44ec('0xdc')][_0x44ec('0x96')],_0x3d7139[_0x44ec('0x25')],_0x249874);_0x5d5d24['push']({'suggestion':_0x337144,'meta':{'isOwn':_0x3467f6==_0x337144[_0x44ec('0xaf')],'isNextTo':_0x248495,'isInsideObject':_0x479ce8,'containsRangeInObject':_0x265f5d}}),_0x193b5e=!0x0;break;}}if(_0x193b5e)break;}}return _0x5d5d24;}[_0x44ec('0xe9')](_0x4c5f06,_0x4bbbda,_0x4b0e4e,_0x2a323f,_0x3b741d){this[_0x44ec('0xdc')][_0x44ec('0xf7')](_0x6bccd5=>{let _0x160121=_0x44ec('0x2c')+_0x4c5f06+':'+_0x4bbbda+':'+_0x4b0e4e;_0x3b741d&&(_0x160121=_0x160121+':'+_0x3b741d),_0x6bccd5['addMarker'](_0x160121,{'range':_0x2a323f,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x44ec('0xe6')](_0x20b507){const _0x4bfec4=_0x20b507[_0x44ec('0x16b')],_0x297f63=_0x20b507[_0x44ec('0x155')];_0x20b507['previous']=null,_0x20b507['next']=null,null!=_0x4bfec4&&(_0x4bfec4[_0x44ec('0x155')]=_0x297f63),null!=_0x297f63&&(_0x297f63[_0x44ec('0x16b')]=_0x4bfec4),_0x44ec('0x11d')==this[_0x44ec('0x7c')][_0x44ec('0x12c')](_0x20b507)&&(this['_suggestionState'][_0x44ec('0x29')](_0x20b507,_0x44ec('0x5c')),this[_0x44ec('0xf3')](_0x44ec('0xa5'),_0x20b507,_0x4bfec4,_0x297f63));}[_0x44ec('0xf4')](_0x13c3a1){const _0x450453=_0x13c3a1['id'],_0x55d867=this[_0x44ec('0xab')](_0x13c3a1);if(this['_adapter']&&this[_0x44ec('0x110')][_0x44ec('0xbc')]){const _0x12a6ca=this[_0x44ec('0x91')][_0x44ec('0x140')][_0x44ec('0x12c')]('PendingActions'),_0x3c485a=_0x55d867[_0x44ec('0x2f')],_0x1ef0ba=_0x55d867[_0x44ec('0xfe')]?_0x55d867[_0x44ec('0x2')]+':'+_0x55d867[_0x44ec('0xfe')]:_0x55d867[_0x44ec('0x2')],_0x2a53c8=this[_0x44ec('0x91')][_0x44ec('0x31')],_0x26f9f1=_0x12a6ca[_0x44ec('0xcc')](_0x2816dd(_0x2a53c8,'PENDING_ACTION_SUGGESTION')),_0x4018c1={'id':_0x450453,'type':_0x1ef0ba,'hasComments':_0x3c485a,'data':_0x13c3a1['data']||null,'originalSuggestionId':_0x13c3a1['originalSuggestionId']||null,'attributes':_0x55d867[_0x44ec('0x62')]};this[_0x44ec('0x110')][_0x44ec('0xbc')](_0x4018c1)[_0x44ec('0xe0')](_0x53e802=>{_0x55d867[_0x44ec('0x135')]=!0x0,_0x12a6ca['remove'](_0x26f9f1),_0x53e802&&_0x53e802[_0x44ec('0x102')]&&(this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x450453)['createdAt']=_0x53e802[_0x44ec('0x102')]);})['catch'](_0x499734=>{throw _0x22967e('error-saving-suggestion-data-suggestion-discarded'),this[_0x44ec('0x91')][_0x44ec('0x13a')][_0x44ec('0x128')]({'isUndoable':!0x1},()=>{_0x55d867[_0x44ec('0x14e')]();}),_0x55d867[_0x44ec('0xad')](),this[_0x44ec('0x80')][_0x44ec('0xa6')](_0x55d867['id']),this['_suggestionState'][_0x44ec('0xa6')](_0x55d867),_0x499734;});}return _0x55d867;}[_0x44ec('0x15')](_0xaa6e46){return this[_0x44ec('0x53')][_0x44ec('0x63')](_0xaa6e46);}['_updateSuggestionData'](_0x34abcc,_0x4e3d05){const _0x35a1ea=this[_0x44ec('0x91')][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xd1')),_0x2cf700=this[_0x44ec('0x93')](_0x34abcc);if(this[_0x44ec('0x110')]&&this[_0x44ec('0x110')]['updateSuggestion']){if(_0x2cf700[_0x44ec('0x135')]){const _0x5a0444=_0x35a1ea[_0x44ec('0xcc')](_0x2816dd(this['editor'][_0x44ec('0x31')],_0x44ec('0x34')));this[_0x44ec('0x110')][_0x44ec('0x154')](_0x34abcc,_0x4e3d05)['then'](()=>{_0x35a1ea[_0x44ec('0xe5')](_0x5a0444);});}else _0x2cf700['on'](_0x44ec('0x69'),()=>{this[_0x44ec('0x45')](_0x34abcc,_0x4e3d05);});}}[_0x44ec('0x125')](_0x5155ce){if(!this[_0x44ec('0x110')]||!this[_0x44ec('0x110')][_0x44ec('0x93')])throw new _0x29cd75(_0x44ec('0x165'),this);return this[_0x44ec('0x110')]['getSuggestion'](_0x5155ce);}[_0x44ec('0x98')](_0x9ce219){const {id:_0x4b4b7e,type:_0x1ea70f,subType:_0x9a951e,authorId:_0x4439e1}=this[_0x44ec('0x5')](_0x9ce219),_0x1132bc=this['_suggestions'][_0x44ec('0x12c')](_0x4b4b7e)||this[_0x44ec('0x5f')](_0x1ea70f,_0x9a951e,_0x4b4b7e,_0x4439e1,{});switch(this[_0x44ec('0x15f')](_0x1132bc,_0x1ea70f,_0x9a951e,_0x4439e1),this[_0x44ec('0x7c')][_0x44ec('0x12c')](_0x1132bc)){case'notReady':this['_getSuggestionData'](_0x4b4b7e)[_0x44ec('0xe0')](_0x536635=>{let _0xff025b=Promise[_0x44ec('0xe2')]();_0x536635[_0x44ec('0x2f')]&&(_0xff025b=this['_commentsRepository'][_0x44ec('0x4c')]({'channelId':this[_0x44ec('0x91')]['config'][_0x44ec('0x12c')](_0x44ec('0x2b')),'threadId':_0x4b4b7e})),_0xff025b['then'](()=>{this[_0x44ec('0xab')](_0x536635)[_0x44ec('0x135')]=!0x0;});}),this[_0x44ec('0x7c')][_0x44ec('0x29')](_0x1132bc,_0x44ec('0x74'));break;case _0x44ec('0x5c'):this[_0x44ec('0x45')](_0x4b4b7e,{'state':_0x44ec('0x170')});case _0x44ec('0xc6'):this['_suggestionState']['set'](_0x1132bc,'ready'),this[_0x44ec('0xf3')](_0x44ec('0x12d'),_0x1132bc);break;case'ready':this[_0x44ec('0xf3')]('suggestionChanged',_0x1132bc);}return _0x1132bc[_0x44ec('0x65')](_0x9ce219),_0x1132bc;}[_0x44ec('0xd2')](_0x51f776){const _0x38728f=Array['from'](_0x51f776),_0x49f8a8=_0x38728f[_0x44ec('0x81')](_0x318773=>'attribute'==_0x318773['type']);this[_0x44ec('0x90')](_0x49f8a8);const _0x11fa95=_0x38728f[_0x44ec('0x81')](_0x41f144=>!_0x41f144[_0x44ec('0x1f')]&&_0x44ec('0x70')!=_0x41f144[_0x44ec('0x2')]),_0x499cbf=this[_0x44ec('0x39')]({'skipNotAttached':!0x0})[_0x44ec('0x81')](_0x7a69be=>!_0x7a69be[_0x44ec('0x1f')]&&'attribute'!=_0x7a69be['type']),_0x1806e3=_0x499cbf[_0x44ec('0x81')](_0x2dfb3f=>!_0x51f776[_0x44ec('0x63')](_0x2dfb3f)),_0x19ea31=new Map(_0x499cbf[_0x44ec('0x111')](_0x3834d5=>[_0x3834d5,this['_suggestionFactory'][_0x44ec('0x52')](_0x3834d5[_0x44ec('0x2')],_0x3834d5[_0x44ec('0xfe')],_0x44ec('0x77'))])),_0x4dddaa=new Map(_0x499cbf[_0x44ec('0x111')](_0x43ac66=>[_0x43ac66,_0x43ac66[_0x44ec('0xd3')]()])),_0x1bafa2=new Set(),_0x13f83c=new Set();for(let _0x562023=0x0;_0x562023<_0x11fa95[_0x44ec('0x57')];_0x562023++)_0x2d6db3(_0x11fa95[_0x562023],_0x11fa95,_0x562023+0x1);for(let _0x7575c6=0x0;_0x7575c6<_0x11fa95[_0x44ec('0x57')];_0x7575c6++)_0x2d6db3(_0x11fa95[_0x7575c6],_0x1806e3,0x0);const _0x42309a=new Set();for(let _0x2c3cda=0x0;_0x2c3cda<_0x11fa95[_0x44ec('0x57')];_0x2c3cda++){const _0x4da152=_0x11fa95[_0x2c3cda];!_0x13f83c['has'](_0x4da152)&&_0x4da152['previous']&&(_0x42309a[_0x44ec('0xcc')](_0x4da152[_0x44ec('0x16b')]),_0x4da152[_0x44ec('0x16b')]['next']===_0x4da152&&(_0x4da152[_0x44ec('0x16b')][_0x44ec('0x155')]=null),_0x4da152[_0x44ec('0x16b')]=null),!_0x1bafa2['has'](_0x4da152)&&_0x4da152[_0x44ec('0x155')]&&(_0x42309a['add'](_0x4da152[_0x44ec('0x155')]),_0x4da152[_0x44ec('0x155')][_0x44ec('0x16b')]===_0x4da152&&(_0x4da152[_0x44ec('0x155')][_0x44ec('0x16b')]=null),_0x4da152['next']=null);}function _0x2d6db3(_0x364a3d,_0x2caeb6,_0x337f28){for(let _0x55f712=_0x337f28;_0x55f712<_0x2caeb6[_0x44ec('0x57')];_0x55f712++){const _0x297925=_0x2a1756(_0x364a3d,_0x2caeb6[_0x55f712]);_0x297925&&(_0x297925[0x0][_0x44ec('0x155')]=_0x297925[0x1],_0x297925[0x1]['previous']=_0x297925[0x0],_0x1bafa2['add'](_0x297925[0x0]),_0x13f83c['add'](_0x297925[0x1]));}}function _0x2a1756(_0x486067,_0x52a643){if(_0x486067[_0x44ec('0xaf')]['id']!==_0x52a643[_0x44ec('0xaf')]['id'])return null;const _0x3fb0cd=_0x19ea31[_0x44ec('0x12c')](_0x486067)(_0x486067,_0x52a643,_0x4dddaa[_0x44ec('0x12c')](_0x486067),_0x4dddaa[_0x44ec('0x12c')](_0x52a643));if(!_0x3fb0cd)return null;return _0x19ea31['get'](_0x52a643)(_0x486067,_0x52a643,_0x4dddaa[_0x44ec('0x12c')](_0x486067),_0x4dddaa[_0x44ec('0x12c')](_0x52a643))?_0x3fb0cd[0x1][_0x44ec('0x73')]&&_0x3fb0cd[0x1]['commentThread'][_0x44ec('0x57')]?null:_0x3fb0cd:null;}_0x42309a[_0x44ec('0x71')]&&this[_0x44ec('0xd2')](_0x42309a);}[_0x44ec('0x90')](_0x55b97c){if(0x0==_0x55b97c['length'])return;const _0x47c367=this[_0x44ec('0x39')]({'skipNotAttached':!0x0})[_0x44ec('0x81')](_0x58be0b=>_0x44ec('0x70')==_0x58be0b['type']&&_0x58be0b[_0x44ec('0x2a')]),_0x351577=[],_0x3a2baf=new Map();for(const _0x3ac2e6 of _0x47c367){const _0x48f5ff=_0x6e73ab(_0x3ac2e6['attributes']);_0x3a2baf[_0x44ec('0x63')](_0x48f5ff)||(_0x3a2baf['set'](_0x48f5ff,_0x351577[_0x44ec('0x57')]),_0x351577[_0x44ec('0x143')]([]));const _0x14d35a=_0x3a2baf[_0x44ec('0x12c')](_0x48f5ff);_0x351577[_0x14d35a][_0x44ec('0x143')](_0x3ac2e6);}!function(){_0x351577[_0x44ec('0x56')]((_0x300abf,_0x1d19af)=>{const _0x1ec7c8=_0x300abf[0x0][_0x44ec('0x102')],_0x56f579=_0x1d19af[0x0][_0x44ec('0x102')];return _0x1ec7c8==_0x56f579?_0x300abf[0x0][_0x44ec('0x62')][_0x44ec('0x171')]<_0x1d19af[0x0][_0x44ec('0x62')][_0x44ec('0x171')]?-0x1:0x1:_0x1ec7c8<_0x56f579?-0x1:0x1;});for(const _0x3dbb5c of _0x351577)_0x3dbb5c[_0x44ec('0x56')]((_0x15c892,_0x250366)=>_0x15c892['id']<_0x250366['id']?-0x1:0x1);}();for(let _0x51c8f9=0x0;_0x51c8f9<_0x351577['length'];_0x51c8f9++){if(0x0==_0x351577[_0x51c8f9][_0x44ec('0x57')])continue;const _0xdd533c=[];for(let _0x4bd004=_0x51c8f9+0x1;_0x4bd004<_0x351577[_0x44ec('0x57')];_0x4bd004++)0x0!=_0x351577[_0x4bd004][_0x44ec('0x57')]&&_0x56734a(_0x351577[_0x51c8f9],_0x351577[_0x4bd004])&&_0xdd533c['push'](_0x4bd004);for(const _0x53a91c of _0xdd533c)_0x351577[_0x51c8f9]=_0x351577[_0x51c8f9][_0x44ec('0x15c')](_0x351577[_0x53a91c]),_0x351577[_0x53a91c]=[];}for(const _0x40f57d of _0x351577)for(let _0x5895b4=0x0;_0x5895b4<_0x40f57d[_0x44ec('0x57')];_0x5895b4++)_0x40f57d[_0x5895b4][_0x44ec('0x155')]=_0x40f57d[_0x5895b4+0x1]||null;for(const _0x61b5c5 of _0x351577)for(let _0x3a00bd=0x0;_0x3a00bd<_0x61b5c5[_0x44ec('0x57')];_0x3a00bd++)_0x61b5c5[_0x3a00bd][_0x44ec('0x16b')]=_0x61b5c5[_0x3a00bd-0x1]||null;function _0x56734a(_0x26bf8e,_0x2f32b5){if(_0x26bf8e[0x0][_0x44ec('0xaf')]!==_0x2f32b5[0x0][_0x44ec('0xaf')])return!0x1;if(!function(_0x29f83c,_0xcbcba){if(!_0x29f83c[_0x44ec('0x2f')]&&!_0xcbcba['hasComments'])return!0x0;if(_0x29f83c[_0x44ec('0x2f')]&&_0xcbcba['hasComments'])return!0x1;if(_0x29f83c[_0x44ec('0x2f')]&&_0xcbcba[_0x44ec('0x102')]<_0x29f83c['commentThread'][_0x44ec('0xa9')]['get'](0x0)[_0x44ec('0x102')])return!0x0;if(_0xcbcba[_0x44ec('0x2f')]&&_0x29f83c['createdAt']<_0xcbcba[_0x44ec('0x73')][_0x44ec('0xa9')][_0x44ec('0x12c')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x26bf8e[0x0],_0x2f32b5[0x0]))return!0x1;const _0x48eaed=_0x429a4e(_0x26bf8e[0x0][_0x44ec('0x62')],_0x44ec('0x171')),_0x960fb8=_0x429a4e(_0x2f32b5[0x0][_0x44ec('0x62')],_0x44ec('0x171'));if(!_0x50c974(_0x48eaed,_0x960fb8))return!0x1;return!!_0x26bf8e['every'](_0x4502fb=>_0x2f32b5[_0x44ec('0x124')](_0x4f5f98=>_0x4502fb[_0x44ec('0xd3')]()['isEqual'](_0x4f5f98[_0x44ec('0xd3')]())))&&_0x2f32b5['every'](_0x1d2fe9=>_0x26bf8e[_0x44ec('0x124')](_0x5464f7=>_0x1d2fe9['getFirstRange']()[_0x44ec('0x106')](_0x5464f7[_0x44ec('0xd3')]())));}}[_0x44ec('0x59')](_0xc0803f){const _0xcd4969=Array[_0x44ec('0xe4')](_0xc0803f),_0x14a5e9=this[_0x44ec('0x39')]({'skipNotAttached':!0x0}),_0x60f8c2=_0x14a5e9['filter'](_0x3d9e60=>!_0xc0803f[_0x44ec('0x63')](_0x3d9e60)),_0x1b51b3=new Map(_0xcd4969[_0x44ec('0x111')](_0x3b9734=>[_0x3b9734,this[_0x44ec('0xb5')][_0x44ec('0x52')](_0x3b9734['type'],_0x3b9734[_0x44ec('0xfe')],_0x44ec('0x164'))])),_0x1e6204=new Map(_0x14a5e9[_0x44ec('0x111')](_0x2a179d=>[_0x2a179d,_0x2a179d[_0x44ec('0x9')]()]));for(let _0x2727e4=0x0;_0x2727e4<_0xcd4969[_0x44ec('0x57')];_0x2727e4++){if(_0x1f8a14(this,_0xcd4969[_0x2727e4],_0xcd4969,_0x2727e4+0x1))return!0x0;}for(let _0x3697f7=0x0;_0x3697f7<_0xcd4969[_0x44ec('0x57')];_0x3697f7++){if(_0x1f8a14(this,_0xcd4969[_0x3697f7],_0x60f8c2,0x0))return!0x0;}return!0x1;function _0x1f8a14(_0x232de9,_0x1826ff,_0x5a9d92,_0x33081d){for(let _0xf61bd=_0x33081d;_0xf61bd<_0x5a9d92['length'];_0xf61bd++){const _0x2863a9=_0x5a9d92[_0xf61bd];if(_0x2863a9[_0x44ec('0x2')]!==_0x1826ff[_0x44ec('0x2')]||_0x2863a9[_0x44ec('0xaf')]['id']!==_0x1826ff[_0x44ec('0xaf')]['id']||_0x2863a9[_0x44ec('0xfe')]!==_0x1826ff[_0x44ec('0xfe')])continue;if(!Gt(_0x1826ff,_0x2863a9))continue;if(_0x44ec('0x70')==_0x1826ff[_0x44ec('0x2')]&&_0x1826ff[_0x44ec('0x17e')]['oldValue']!=_0x2863a9[_0x44ec('0x17e')][_0x44ec('0x6c')])continue;if(_0x44ec('0x70')==_0x1826ff[_0x44ec('0x2')]&&_0x232de9[_0x44ec('0x15')](_0x1826ff[_0x44ec('0x17e')]['key']))continue;if(_0x44ec('0x11a')==_0x1826ff[_0x44ec('0x2')]){const _0x45364b=_0x232de9[_0x44ec('0x91')][_0x44ec('0x13a')],_0x47a5bc=_0x1826ff[_0x44ec('0x15e')]();if(_0x47a5bc&&(_0x45364b[_0x44ec('0x96')][_0x44ec('0xcd')](_0x47a5bc)||_0x45364b[_0x44ec('0x96')][_0x44ec('0x108')](_0x47a5bc)))continue;}const _0x17f15b=_0x1b51b3['get'](_0x1826ff),_0x5453e4=_0x1e6204[_0x44ec('0x12c')](_0x1826ff),_0x4e0404=_0x1e6204['get'](_0x2863a9),_0x3f5105=_0x1826ff['commentThread']&&_0x1826ff[_0x44ec('0x73')][_0x44ec('0x57')],_0x5366d2=_0x2863a9['commentThread']&&_0x2863a9[_0x44ec('0x73')][_0x44ec('0x57')];if(!_0x3f5105&&_0x17f15b(_0x4e0404,_0x5453e4))return _0x232de9[_0x44ec('0x1a')](_0x2863a9,_0x1826ff),_0x1e6204['delete'](_0x1826ff),!0x0;if(!_0x5366d2&&_0x17f15b(_0x5453e4,_0x4e0404))return _0x232de9[_0x44ec('0x1a')](_0x1826ff,_0x2863a9),_0x1e6204[_0x44ec('0xa6')](_0x2863a9),!0x0;}return!0x1;}}[_0x44ec('0x1a')](_0x26e6d4,_0x1b0d88){if(_0x26e6d4[_0x44ec('0x1f')])for(const _0x103f8d of _0x1b0d88['getRanges']())_0x26e6d4[_0x44ec('0x150')](_0x103f8d);else{const _0x566cf8=_0x1b0d88['getFirstRange']()['end'];this[_0x44ec('0x7b')](_0x26e6d4,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x26e6d4['getFirstRange']()[_0x44ec('0x25')],_0x566cf8));}_0x1b0d88[_0x44ec('0x10b')]();}['_getMarkerAnnouncementText'](_0x9699b8,_0x23e3a6){const _0x33ced8=_0x9699b8[_0x44ec('0xa7')](_0x44ec('0xe7'))||_0x9699b8['startsWith'](_0x44ec('0x70'))?_0x44ec('0x50'):_0x9699b8[_0x44ec('0x138')]();return _0x2816dd(this['editor'][_0x44ec('0x31')],_0x23e3a6+'_'+_0x33ced8+'_SUGGESTION_ANNOUNCEMENT');}[_0x44ec('0x48')](){const _0x44cc08=this[_0x44ec('0x91')];_0x3f6c08(this['_model'],({left:_0x54f028,entered:_0x33aee6})=>{const _0x609d=[];for(const _0x40aacd of _0x54f028){const {group:_0x55fc0f,type:_0x15e7a1}=this[_0x44ec('0x5')](_0x40aacd['name']);if(_0x44ec('0x12e')===_0x55fc0f){_0x609d['push'](this[_0x44ec('0x180')](_0x15e7a1,_0x44ec('0x15d')));break;}}for(const _0x19806d of _0x33aee6){const {group:_0x55492c,type:_0x2938c7}=this[_0x44ec('0x5')](_0x19806d[_0x44ec('0x115')]);if(_0x44ec('0x12e')===_0x55492c){_0x609d[_0x44ec('0x143')](this[_0x44ec('0x180')](_0x2938c7,_0x44ec('0xcb')));break;}}_0x609d['length']&&_0x44cc08['ui'][_0x44ec('0x17')]['announce'](_0x44ec('0x5d'),_0x609d[_0x44ec('0x164')]('\x20'));});}['_processAttributeChanges'](_0x5b907e){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x43dde5=this[_0x44ec('0x91')],_0x5166bd=_0x43dde5['model'][_0x44ec('0x129')][_0x44ec('0x121')][_0x44ec('0x94')]();if(0x0==_0x5166bd[_0x44ec('0x57')])return!0x1;const _0x47a6fd=[],_0x637711=_0x5166bd[_0x44ec('0x81')](_0x558f9b=>_0x44ec('0x70')==_0x558f9b[_0x44ec('0x2')]),_0x1d3adf=_0x5166bd[_0x44ec('0x81')](_0x888815=>'insert'==_0x888815['type']&&'$text'!=_0x888815[_0x44ec('0x115')]),_0x183a42=_0x5166bd[_0x44ec('0x81')](_0x3fa8b6=>_0x44ec('0xe5')==_0x3fa8b6[_0x44ec('0x2')]&&_0x44ec('0x103')!=_0x3fa8b6['name']);for(const _0x5a14a4 of _0x637711)_0x47a6fd['push']({'key':_0x5a14a4[_0x44ec('0x38')],'newValue':_0x5a14a4[_0x44ec('0x55')],'oldValue':_0x5a14a4[_0x44ec('0xa8')],'range':_0x58d096(_0x5a14a4[_0x44ec('0x19')])});for(const _0x2b1b09 of _0x1d3adf){const _0x32533f=_0x183a42[_0x44ec('0x162')](_0x23f5b9=>_0x23f5b9[_0x44ec('0xaa')][_0x44ec('0x106')](_0x2b1b09[_0x44ec('0xaa')]));_0x32533f&&_0x47a6fd[_0x44ec('0x143')]({'key':_0x44ec('0xc1'),'newValue':_0x2b1b09[_0x44ec('0x115')],'oldValue':_0x32533f[_0x44ec('0x115')],'range':_0x43dde5[_0x44ec('0x13a')][_0x44ec('0x22')](_0x2b1b09[_0x44ec('0xaa')][_0x44ec('0xd9')])});}return 0x0!=_0x47a6fd['length']&&this[_0x44ec('0xce')](_0x5b907e,_0x47a6fd);function _0x58d096(_0x1d8344){return null==_0x1d8344['end'][_0x44ec('0x16f')]&&_0x1d8344[_0x44ec('0xba')][_0x44ec('0x156')]==_0x1d8344['start'][_0x44ec('0xd9')]?Ot(_0x1d8344['start']['nodeAfter'],_0x43dde5[_0x44ec('0x13a')]):_0x1d8344;}}['_processAttributeSuggestions'](_0x44606c){let _0x3c5f55=!0x1;const _0x4970c7=this[_0x44ec('0x91')]['model'][_0x44ec('0x129')][_0x44ec('0x121')][_0x44ec('0x133')]()[_0x44ec('0x81')](_0x33dc4c=>_0x33dc4c[_0x44ec('0x17e')][_0x44ec('0x142')]&&_0x33dc4c[_0x44ec('0x115')][_0x44ec('0xa7')](_0x44ec('0x153')));for(const _0x24fcb5 of _0x4970c7){const {subType:_0x2583c6,id:_0x9733d5}=this['_splitMarkerName'](_0x24fcb5['name']),_0x47aeed=_0x2583c6[_0x44ec('0x8b')]('|')[0x0];for(const _0x5250fd of this[_0x44ec('0x39')]({'skipNotAttached':!0x0}))_0x5250fd['id']!=_0x9733d5&&'attribute'==_0x5250fd[_0x44ec('0x2')]&&_0x5250fd[_0x44ec('0x17e')]&&_0x5250fd[_0x44ec('0x17e')][_0x44ec('0xd8')]==_0x47aeed&&_0x5250fd[_0x44ec('0xd3')]()[_0x44ec('0x146')](_0x24fcb5[_0x44ec('0x17e')]['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x5250fd,_0x24fcb5[_0x44ec('0x17e')][_0x44ec('0x142')],_0x44606c),_0x3c5f55=!0x0);}return _0x3c5f55;}[_0x44ec('0xb4')](_0x4c0f32){if(null!==this[_0x44ec('0x147')])return void _0x4c0f32();const _0x284a54=this['editor'];this['_recordAttributeSuggestionsFromVersion']=_0x284a54['model'][_0x44ec('0x129')][_0x44ec('0x13d')],_0x4c0f32();const _0x309e66=new Map();for(const _0x433991 of _0x284a54[_0x44ec('0x13a')]['document'][_0x44ec('0x10d')]['getOperations'](this['_recordAttributeSuggestionsFromVersion']))if(['rename',_0x44ec('0x2d'),'removeAttribute',_0x44ec('0x61')][_0x44ec('0x144')](_0x433991[_0x44ec('0x2')])){const _0x39890a=_0x433991[_0x44ec('0xcf')],_0x1ae14f=_0x309e66['get'](_0x39890a)||[];_0x1ae14f['push'](_0x433991),_0x309e66['set'](_0x39890a,_0x1ae14f);}this[_0x44ec('0x147')]=null;for(const [_0x5ea975,_0x1df768]of _0x309e66){const _0x12cf38=_0x1d19db();_0x284a54[_0x44ec('0x13a')][_0x44ec('0x128')](_0x5ea975,_0x39240d=>{const _0x5a2299=[];for(const _0x3486e7 of _0x1df768){let _0xf0941c,_0x280936,_0x3e845e,_0x30d96f;if(_0x44ec('0x30')==_0x3486e7[_0x44ec('0x2')]){const _0x28c738=_0x3486e7;_0xf0941c=Ot(_0x28c738['position'][_0x44ec('0xd9')],_0x284a54[_0x44ec('0x13a')]),_0x280936=_0x44ec('0xc1'),_0x3e845e=_0x28c738[_0x44ec('0x179')],_0x30d96f=_0x28c738[_0x44ec('0x4b')];}else{const _0x21301d=_0x3486e7,_0x57c599=this['_isBlockAttribute'](_0x21301d[_0x44ec('0xd8')]),_0x2fefdd=this[_0x44ec('0xec')][_0x44ec('0x63')](_0x21301d[_0x44ec('0xd8')]);if(!_0x57c599&&!_0x2fefdd)continue;_0xf0941c=_0x57c599?Ot(_0x21301d['range'][_0x44ec('0x25')][_0x44ec('0xd9')],_0x284a54[_0x44ec('0x13a')]):_0x21301d[_0x44ec('0x19')],_0x280936=_0x21301d['key'],_0x3e845e=_0x44ec('0xc3')==_0x3486e7['type']?void 0x0:_0x21301d[_0x44ec('0x3e')],_0x30d96f=_0x21301d[_0x44ec('0x6c')];}this[_0x44ec('0x58')](_0xf0941c,_0x280936,_0x30d96f,_0x3e845e,{'groupId':_0x12cf38}),_0x5a2299[_0x44ec('0x143')]({'range':_0xf0941c,'key':_0x280936,'newValue':_0x3e845e,'oldValue':_0x30d96f});}this[_0x44ec('0xce')](_0x39240d,_0x5a2299);});}}[_0x44ec('0xce')](_0x1e879d,_0x171135){if(0x0==_0x171135[_0x44ec('0x57')])return!0x1;let _0x111276=!0x1;for(const _0x2da773 of _0x171135){const _0x3a2e60=this[_0x44ec('0x4e')](_0x2da773[_0x44ec('0x19')],_0x44ec('0x70'))['filter'](_0x3928d0=>!_0x3928d0[_0x44ec('0x13b')]['isNextTo'])['map'](_0x5acd7=>_0x5acd7[_0x44ec('0x12e')]),_0x186969=_0x6e73ab({'newValue':_0x2da773[_0x44ec('0x3e')]});_0x3a2e60[_0x44ec('0x81')](_0x90d591=>{const [_0x2354ef,_0x1f45ef]=_0x90d591[_0x44ec('0xfe')][_0x44ec('0x8b')]('|');return _0x2354ef==_0x2da773[_0x44ec('0xd8')]&&_0x1f45ef!=_0x186969;})[_0x44ec('0xd5')](_0x2182db=>{this[_0x44ec('0xf8')](_0x2182db,_0x2da773[_0x44ec('0x19')],_0x1e879d),_0x111276=!0x0;});}return _0x111276;}[_0x44ec('0xf8')](_0x3a7387,_0x35bd04,_0x1a7384){const _0x3dc021=_0x3a7387[_0x44ec('0xd3')]()[_0x44ec('0x141')](_0x35bd04);0x0!==_0x3dc021[_0x44ec('0x57')]?0x1!==_0x3dc021['length']?this[_0x44ec('0xee')](_0x3a7387,_0x35bd04[_0x44ec('0x25')],_0x35bd04['end']):this[_0x44ec('0x7b')](_0x3a7387,_0x3dc021[0x0]):_0x1a7384[_0x44ec('0x100')](_0x3a7387[_0x44ec('0x43')]());}}class Bt{constructor(_0x145385){this[_0x44ec('0x10a')]=_0x145385,this[_0x44ec('0xdc')]=_0x145385[_0x44ec('0x13a')],this[_0x44ec('0x78')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x44ec('0xe8')]();}['buildSuggestion'](_0xf2636,_0x2d7c6a,_0x217a86,_0xdd67ec,_0x4b28e0,_0x15fe24){return new _0x27b20b(this[_0x44ec('0xdc')],{'type':_0xf2636,'subType':_0x2d7c6a,'id':_0x217a86,'author':_0xdd67ec,'creator':_0xdd67ec,'attributes':_0x4b28e0,'onAttributesChange':_0x15fe24,'onAccept':(..._0x21d3d0)=>this[_0x44ec('0x52')](_0xf2636,_0x2d7c6a,'accept')(..._0x21d3d0),'onDiscard':(..._0x316b3e)=>this[_0x44ec('0x52')](_0xf2636,_0x2d7c6a,'discard')(..._0x316b3e)});}[_0x44ec('0x151')](_0x205485,_0x4ca540,_0x27f901,_0x1b1460){const _0x8be0ac=_0x205485+':'+_0x4ca540+':'+_0x27f901;this[_0x44ec('0x78')][_0x44ec('0x29')](_0x8be0ac,_0x1b1460);}[_0x44ec('0x52')](_0x550087,_0x2a366a,_0x282d34){const _0x321974=_0x550087+':'+_0x2a366a+':'+_0x282d34;return this['_customCallbacks'][_0x44ec('0x12c')](_0x321974)||this[_0x44ec('0xf9')][_0x44ec('0x12c')](_0x550087+':'+_0x282d34);}[_0x44ec('0xe8')](){const _0x3ec1c8=()=>!0x1,_0x5198fd=_0x386fe1=>{_0x386fe1[_0x44ec('0x56')]((_0x13d7ad,_0x51e6c0)=>_0x13d7ad['start'][_0x44ec('0x10c')](_0x51e6c0[_0x44ec('0x25')])?0x1:-0x1),this[_0x44ec('0xdc')][_0x44ec('0xf7')](_0x172db7=>{for(const _0x123000 of _0x386fe1){let _0x36346c;_0x36346c=_0x123000[_0x44ec('0xba')][_0x44ec('0xca')]&&_0x123000[_0x44ec('0xba')]['parent']==_0x123000['start'][_0x44ec('0xd9')]?_0x172db7[_0x44ec('0x105')](_0x123000[_0x44ec('0x25')][_0x44ec('0xd9')],'on'):_0x172db7[_0x44ec('0x105')](_0x123000),this[_0x44ec('0xdc')]['deleteContent'](_0x36346c,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x3eee4e=(_0x92cef3,_0x3505ad)=>{_0x3505ad&&this['_model'][_0x44ec('0xf7')](_0x4bcadd=>{const {commandName:_0x24672b,commandParams:_0x5c5dc6=[]}=_0x3505ad,_0xeb81be=_0x92cef3[_0x44ec('0x111')](_0xe83dd8=>(xt(_0xe83dd8)&&(_0xe83dd8=this['_model'][_0x44ec('0xe3')](_0xe83dd8['end'])),_0xe83dd8))[_0x44ec('0x81')](_0x44c862=>_0x44ec('0x5a')!==_0x44c862[_0x44ec('0x82')][_0x44ec('0x11f')]);if(_0xeb81be[_0x44ec('0x57')]<0x1)return;const _0x5260c0=Array['from'](this[_0x44ec('0xdc')][_0x44ec('0x129')]['selection']['getRanges']())[_0x44ec('0x111')](_0x4621a7=>_0x3fb3d1[_0x44ec('0x8d')](_0x4621a7));_0x4bcadd[_0x44ec('0x6')](_0xeb81be);for(const _0x20ee11 of this[_0x44ec('0x10a')][_0x44ec('0x40')][_0x44ec('0x40')]())_0x20ee11[_0x44ec('0x27')]();_0x5c5dc6[_0x44ec('0x143')]({'forceDefaultExecution':!0x0}),this[_0x44ec('0x10a')][_0x44ec('0x2e')](_0x24672b,..._0x5c5dc6);const _0x783d17=_0x5260c0['filter'](_0x483a36=>_0x44ec('0x5a')!=_0x483a36['root'][_0x44ec('0x11f')]);_0x783d17[_0x44ec('0x57')]>0x0&&_0x4bcadd[_0x44ec('0x6')](_0x783d17);for(const _0x4e1f02 of _0x5260c0)_0x4e1f02[_0x44ec('0xc9')]();});},_0x2f14ef=(_0x3db7c0,_0x4e6169)=>0x1==_0x3db7c0[_0x44ec('0x57')]&&0x1==_0x4e6169[_0x44ec('0x57')]&&_0x3db7c0[0x0]['end']['isEqual'](_0x4e6169[0x0][_0x44ec('0x25')]),_0x3b9d63=(_0x51a94c,_0x4460fa,_0x5580ee,_0x16ee36)=>Vt(_0x51a94c,_0x4460fa,_0x5580ee,_0x16ee36,this[_0x44ec('0xdc')])?[_0x51a94c,_0x4460fa]:Vt(_0x4460fa,_0x51a94c,_0x16ee36,_0x5580ee,this[_0x44ec('0xdc')])?[_0x4460fa,_0x51a94c]:null;this[_0x44ec('0xf9')]['set'](_0x44ec('0xdf'),_0x3ec1c8),this['_defaultCallbacks'][_0x44ec('0x29')](_0x44ec('0x119'),_0x5198fd),this[_0x44ec('0xf9')]['set']('insertion:join',_0x2f14ef),this[_0x44ec('0xf9')][_0x44ec('0x29')]('insertion:chain',_0x3b9d63),this['_defaultCallbacks'][_0x44ec('0x29')](_0x44ec('0x3b'),_0x5198fd),this[_0x44ec('0xf9')]['set'](_0x44ec('0xc5'),_0x3ec1c8),this['_defaultCallbacks']['set']('deletion:join',_0x2f14ef),this['_defaultCallbacks']['set']('deletion:chain',_0x3b9d63),this[_0x44ec('0xf9')][_0x44ec('0x29')]('formatInline:accept',_0x3eee4e),this[_0x44ec('0xf9')]['set'](_0x44ec('0xa3'),_0x3ec1c8),this[_0x44ec('0xf9')]['set']('formatInline:join',_0x2f14ef),this[_0x44ec('0xf9')][_0x44ec('0x29')](_0x44ec('0xf2'),_0x3ec1c8),this[_0x44ec('0xf9')][_0x44ec('0x29')]('formatBlock:accept',_0x3eee4e),this[_0x44ec('0xf9')][_0x44ec('0x29')](_0x44ec('0x14c'),_0x3ec1c8),this['_defaultCallbacks'][_0x44ec('0x29')](_0x44ec('0xc4'),_0x2f14ef),this['_defaultCallbacks'][_0x44ec('0x29')](_0x44ec('0x21'),_0x3ec1c8),this[_0x44ec('0xf9')][_0x44ec('0x29')](_0x44ec('0xa0'),_0x3ec1c8),this['_defaultCallbacks'][_0x44ec('0x29')](_0x44ec('0xbf'),(_0x6354f3,_0x2facd4)=>{if(!_0x2facd4)return;const _0x4e0e91=this['_editor'][_0x44ec('0x140')][_0x44ec('0x12c')](p);this[_0x44ec('0xdc')]['change'](_0x1a6e76=>{if(_0x44ec('0xc1')==_0x2facd4[_0x44ec('0xd8')])for(const _0x5350bd of _0x6354f3){const _0x429243=_0x5350bd[_0x44ec('0x25')]['nodeAfter'],_0x9772ae=_0x2facd4['oldValue'];_0x1a6e76[_0x44ec('0x30')](_0x429243,_0x9772ae);}else{if(_0x4e0e91[_0x44ec('0x15')](_0x2facd4[_0x44ec('0xd8')]))for(const _0x45f9ff of _0x6354f3)void 0x0!==_0x2facd4[_0x44ec('0x6c')]?_0x1a6e76[_0x44ec('0x51')](_0x2facd4['key'],_0x2facd4['oldValue'],_0x45f9ff[_0x44ec('0x25')]['nodeAfter']):_0x1a6e76[_0x44ec('0xc3')](_0x2facd4['key'],_0x45f9ff[_0x44ec('0x25')]['nodeAfter']);else for(const _0x5e5852 of _0x6354f3)_0x2facd4['oldValue']?_0x1a6e76[_0x44ec('0x51')](_0x2facd4[_0x44ec('0xd8')],_0x2facd4['oldValue'],_0x5e5852):_0x1a6e76[_0x44ec('0xc3')](_0x2facd4[_0x44ec('0xd8')],_0x5e5852);}});}),this['_defaultCallbacks']['set'](_0x44ec('0x3d'),_0x2f14ef);}}function Tt(_0x4c103b,_0x3285bd,_0x298343){for(const _0x34db35 of _0x3285bd['parent'][_0x44ec('0x67')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x34db35[_0x44ec('0x82')]==_0x34db35)return!0x1;if(!_0x298343['containsItem'](_0x34db35))return!0x1;if(_0x4c103b[_0x44ec('0xcd')](_0x34db35)||_0x4c103b[_0x44ec('0x108')](_0x34db35))return!0x0;}return!0x1;}function xt(_0x14a3db){return _0x14a3db[_0x44ec('0xba')][_0x44ec('0x156')]==_0x14a3db[_0x44ec('0x25')][_0x44ec('0xd9')]&&_0x14a3db[_0x44ec('0xba')][_0x44ec('0x37')];}function Et(_0x5731c3,_0x413a0c,_0x396027,_0x429a40){const _0x1ef1e2=_0x120464=>!_0x120464['item']['is']('$textProxy')&&!_0x429a40[_0x44ec('0xcd')](_0x120464['item']),_0x29fb26=_0x5731c3[_0x44ec('0x25')][_0x44ec('0x3a')](_0x1ef1e2),_0x3fae82=_0x5731c3[_0x44ec('0xba')]['getLastMatchingPosition'](_0x1ef1e2,{'direction':'backward'});return(!_0x5731c3[_0x44ec('0x25')][_0x44ec('0x106')](_0x29fb26)||!_0x5731c3['end'][_0x44ec('0x106')](_0x3fae82))&&(_0x29fb26['isBefore'](_0x3fae82)?_0x396027['updateMarker'](_0x413a0c,{'range':_0x396027[_0x44ec('0xe3')](_0x29fb26,_0x3fae82)}):_0x396027[_0x44ec('0x100')](_0x413a0c),!0x0);}function Rt(_0x45bab7){return _0x6e73ab(_0x45bab7);}function Ut(_0x4fb94f){const _0x3bea2b=_0x4fb94f[_0x44ec('0x25')][_0x44ec('0xd9')];return _0x3bea2b&&_0x3bea2b['is']('element');}function Ot(_0x397627,_0x23b22f){const _0x4345ee=_0x23b22f[_0x44ec('0x96')][_0x44ec('0xcd')](_0x397627)||_0x23b22f['schema'][_0x44ec('0x174')](_0x397627);return _0x23b22f['createRange'](_0x23b22f[_0x44ec('0xa1')](_0x397627,_0x44ec('0x79')),_0x4345ee?_0x23b22f[_0x44ec('0x116')](_0x397627):_0x23b22f[_0x44ec('0xa1')](_0x397627,_0x44ec('0xba')));}function Vt(_0xe23b36,_0x2d92f2,_0x598487,_0x464cda,_0x4bf13c){if(!Gt(_0xe23b36,_0x2d92f2))return!0x1;if(_0x598487[_0x44ec('0xba')][_0x44ec('0x106')](_0x464cda[_0x44ec('0x25')]))return!0x0;if(_0xe23b36['type']!=_0x2d92f2['type'])return!0x1;if(!_0x598487[_0x44ec('0xba')][_0x44ec('0xc')](_0x464cda[_0x44ec('0x25')]))return!0x1;const _0x37d269=_0x4bf13c[_0x44ec('0xe3')](_0x598487['end'],_0x464cda[_0x44ec('0x25')])['getWalker']();for(const _0xcfc761 of _0x37d269)if([_0x44ec('0x8a'),'elementEnd'][_0x44ec('0x144')](_0xcfc761[_0x44ec('0x2')])&&_0x4bf13c['schema']['isLimit'](_0xcfc761[_0x44ec('0x7d')]))return!0x1;return!0x0;}function Gt(_0xba1d55,_0x3fe52e){return!(!_0xba1d55['_isDataLoaded']||!_0x3fe52e[_0x44ec('0x2a')])&&_0x50c974(_0xba1d55[_0x44ec('0x62')],_0x3fe52e[_0x44ec('0x62')]);}function Ft(_0x50810d,_0x595f28){const _0x392472=Pt(_0x50810d['attributes']),_0x274bee=Pt(_0x595f28);if(!_0x50810d['_isDataLoaded'])return!0x1;for(const _0xaf932 of Object['keys'](_0x274bee))if(!_0x50c974(_0x392472[_0xaf932],_0x274bee[_0xaf932]))return!0x1;return!0x0;}function Pt(_0x80ee46){const _0x1b8c4c=Object[_0x44ec('0x16a')]({},_0x80ee46);return delete _0x1b8c4c[_0x44ec('0xe')],delete _0x1b8c4c[_0x44ec('0x17c')],_0x1b8c4c;}function Lt(_0x2bee4f){return _0x44ec('0x70')==_0x2bee4f['type']?_0x2bee4f[_0x44ec('0xfe')][_0x44ec('0x8b')]('|')[0x0]:null;}
23
+ const _0x4ae2=['addAttribute','authoredAt','map','fire','mapper','change','type','_suggestionState','ariaLiveAnnouncer','authorName','newRange','resolve','enableCommand','registerPostFixer','_processAttributeChanges','trackChanges.trackFormatChanges','end','refresh','addMarkerName','backward','_SUGGESTION_ANNOUNCEMENT','removed','isObject','markerToData','$marker','comments','clone','conversion','addSuggestion','formatBlock','documentSelection','differ','tablePasteChainId','PendingActions','_getSuggestionData','next','assign','isDocumentOperation','_createSuggestion','format','_inlineAttributeKeys','isBlock','getChangedMarkers','$text','addRange','for','locale','getFirstMarker','discardSuggestion','getLastMatchingPosition','change:_saved','remove','getChanges','options','return','includes','toViewElement','getAncestors','isNextTo','fromRange','editor','isUndo','createPositionAt','attribute:join','_joinSuggestions','createRangeOn','isAtEnd','nodeBefore','acceptSelectedSuggestions','consume','_defaultCallbacks','adapter','setAttribute','markers','isCollapsed','getShiftedBy','suggestionUnloaded','isAfter','formatInline:chain','_cutOutSuggestionMarker','_blockAttributeKeys','catch','createRangeIn','containerElement','_checkSuggestionCorrectness','marker-count','model','isMultiRange','getMultiRangeId','config','sort','history','getDifference','ck-suggestion-marker--active','dataToMarker','markerReady','isInsideObject','filter','createRange','document','getNearestSelectionRange','root','updateSuggestion','addMarker:suggestion:attribute','insertion:chain','reconvertMarker','open','isEqual','range','addSuggestionData','_joinWithAdjacentSuggestions','startsWith','markerName','listenTo','update:suggestion','Users','high','originalSuggestionId','elementEnd','default','deletion:join','deletion','containsRange','_registerBlockAttribute','newValue','@external','_splitMarkerName','consumable','then','bindElementToMarker','addHighlight','chain','normal','track-changes-adapter-missing-getsuggestion','addMarker','$elementName','_recordAttributeChanges','unbind','name','_enabledCommands','schema','_suggestions','attribute:discard','_refreshSuggestionsChain','registerCustomCallback','isAtStart','_registerDefaultCallbacks','commentThread','getUser','removeClass','track-changes-command-not-found','suggestion:','_enableDefaultAttributesIntegration','isBefore','_handleNewSuggestionMarker','buildSuggestion','hasCommentThread','unshift','forward','change:data','isExternal','pluginName','isInContent','upcast','deletion:chain','formatBlock:','_setSuggestionRange','howMany','meta','editingDowncast','oldName','getSuggestions','_initAriaMarkerChangeAnnouncements','removeMarkers','nodeAfter','markBlockFormat','author','_getMarkerAnnouncementText','acceptAllSuggestions','commandName','_setSuggestionData','fromCharCode','changeAttribute','createdAt','getRanges','join','_reduceExistingSuggestions','get','containsRangeInObject','_removeSuggestion','trackChanges','_editor','_processAttributeSuggestions','getCommentThread','_getExternalAuthor','discard','hasComments','ready','formatBlock:chain','attribute:accept','_isForcedDefaultExecutionBlock','push','isArray','_registerInlineAttribute','isRemovable','markAttributeChange','parent','version','_customCallbacks','position','track-changes-adapter-already-set','FORMATTING','removeMarker','updateMarker','rootName','_breakSuggestionMarker','_getAuthorFromId','ck-suggestion-marker-formatInline','rejected','pop','notReady','multipleBlocks','lowest','detach','clear','track-changes-suggestion-data-mismatch','suggestionChanged','attributeOldValue','forEach','acceptSuggestion','hasSuggestion','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.','setTo','PENDING_ACTION_SUGGESTION','isOwn','trackChanges.mergeNestedSuggestions','elementStart','insert','setSelection','writer','$graveyard','isIntersectingWithRange','rethrowUnexpectedError','batch','define','_commentsRepository','_trackFormatChanges','formatInline:join','formatBlock:join','getAllAdjacentSuggestions','suggestion','has','removeAttribute','toJSON','item','suggestionLoaded','_refreshAttributeSuggestionsChain','track-changes-user-not-found','track-changes-enable-command-twice','getFirstRange','enableReadOnlyMode','error-saving-suggestion-data-suggestion-discarded','add','rename','isLocal','find','commands','_findSuggestions','insertion:accept','start','oldValue','always','some','markInlineFormat','change:activeMarkers','getCustomProperty','stop','addComment','ck-suggestion-marker','getItems','dataDowncast','getMarkers','_reduceSuggestionAttributeRange','selection','value','_isDataLoaded','elementToElement','external:','_mergeNestedSuggestions','insertion','_model','isLimit','showSuggestionHighlights','delete','moveTargetPosition','splice','stopListening','_isBlockAttribute','formatGroupId','_adapter','unbindElementFromMarkerName','never','_saved','groupId','keys','split','insertion:discard','ck-suggestion-marker-formatBlock','warn','deleteContent','from','collaboration.channelId','track-changes-suggestion-not-found','targetPosition','_suggestionFactory','trackChangesCommand','plugins','getOperations','getAttribute','getIntersection','attribute:','every','insertion:','editing','announce','suggestion-type','getWalker','key','element','multi','forceDefaultExecution','after','_recordAttributeSuggestionsFromVersion','_updateSuggestionData','set','addMarker:suggestion:formatBlock','formatInline','markerNameToElements','addMarker:suggestion','size','insertion:join','isIntersecting','containsPosition','skipNestingCheck','markDeletion','getSuggestionCallback','values','discardSelectedSuggestions','markMultiRangeBlockFormat','_rangeIsInLocalUserInsertion','previous','getSuggestion','createPositionAfter','markInsertion','removeMarker:suggestion:attribute','createSelection','discardAllSuggestions','data','accepted','enqueueChange','activeMarkers','markMultiRangeInsertion','widget','attributes','attribute','addClass','data-suggestion','deletion:discard','subType','addCommentThread','length','insertContent','oldRange','creator','dataReady','accept','formatInline:','_addThreadToSuggestion','_addSuggestionMarker','TrackChangesEditing'];(function(_0x16714b,_0x4ae245){const _0x472b4c=function(_0x151768){while(--_0x151768){_0x16714b['push'](_0x16714b['shift']());}};_0x472b4c(++_0x4ae245);}(_0x4ae2,0xc2));const _0x472b=function(_0x16714b,_0x4ae245){_0x16714b=_0x16714b-0x0;let _0x472b4c=_0x4ae2[_0x16714b];return _0x472b4c;};import{Plugin as _0x2abdd3,PendingActions as _0x1a8faf}from'ckeditor5/src/core.js';import{LiveRange as _0x2e2d4d}from'ckeditor5/src/engine.js';import{CKEditorError as _0x4973b2,uid as _0x3bbf7e,priorities as _0x39f6bc,logWarning as _0x132910}from'ckeditor5/src/utils.js';import{toWidget as _0x1fe2a9}from'ckeditor5/src/widget.js';import{Users as _0x4640f5,hashObject as _0x35e677,surroundingMarkersDetector as _0x2f07e9}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x106eda from'./commands/trackchangescommand.js';import _0x219faf from'./commands/acceptsuggestioncommand.js';import _0x56d50c from'./commands/discardsuggestioncommand.js';import _0x590f9e from'./commands/executeonallsuggestionscommand.js';import _0x1c2c0a from'./commands/executeonselectedsuggestionscommand.js';import _0x38bd65 from'./suggestion.js';import _0x8ee919 from'./suggestiondescriptionfactory.js';import _0x2bcb21 from'./integrations/aiassistant.js';import _0x27e245 from'./integrations/alignment.js';import _0x13311f from'./integrations/basicstyles.js';import _0x2353f6 from'./integrations/blockquote.js';import _0x4c131c from'./integrations/casechange.js';import _0x100458 from'./integrations/ckbox.js';import _0x13563a from'./integrations/codeblock.js';import _0x180833 from'./integrations/comments.js';import _0x3aa37d from'./integrations/deletecommand.js';import _0x5f5bbe from'./integrations/documentlist.js';import _0x262786 from'./integrations/documentlistproperties.js';import _0x3b1d21 from'./integrations/entercommand.js';import _0x25ed30 from'./integrations/findandreplace.js';import _0x18f203 from'./integrations/font.js';import _0x1ba105 from'./integrations/formatpainter.js';import _0x34e790 from'./integrations/heading.js';import _0x1b9417 from'./integrations/highlight.js';import _0x58d4bc from'./integrations/horizontalline.js';import _0x48a92f from'./integrations/htmlembed.js';import _0x653c36 from'./integrations/image.js';import _0x22961d from'./integrations/imagereplace.js';import _0x37ed35 from'./integrations/imagestyle.js';import _0x4bc7c3 from'./integrations/importword.js';import _0x2eff0e from'./integrations/indent.js';import _0xbd3c14 from'./integrations/inputcommand.js';import _0xad2e5 from'./integrations/link.js';import _0x30ecc2 from'./integrations/list.js';import _0x280e47 from'./integrations/listproperties.js';import _0xf45ed9 from'./integrations/mediaembed.js';import _0x20c434 from'./integrations/mention.js';import _0x2687a6 from'./integrations/pagebreak.js';import _0x5ae507 from'./integrations/paragraph.js';import _0x86bc11 from'./integrations/removeformat.js';import _0x1ef492 from'./integrations/restrictededitingmode.js';import _0x4d558d from'./integrations/shiftentercommand.js';import _0x91680f from'./integrations/standardeditingmode.js';import _0x24f74e from'./integrations/style.js';import _0x301562 from'./integrations/table.js';import _0x266609 from'./integrations/tablemergesplit.js';import _0x294c46 from'./integrations/tableheadings.js';import _0x32fbbf from'./integrations/tableclipboard.js';import _0xb1c4be from'./integrations/tablecolumnresize.js';import _0x5c7615 from'./integrations/template.js';import _0x364018 from'./integrations/tableofcontents.js';import _0x191465 from'./integrations/title.js';import _0x3ad5df from'./integrations/undo.js';import _0x1dc852 from'./integrations/tablecaption.js';import _0x170698 from'./integrations/tableproperties.js';import{getTranslation as _0xabc18a}from'./utils/common-translations.js';import{isEqual as _0x276225,omit as _0x430313}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x2abdd3{static get['requires'](){return['CommentsRepository',_0x4640f5,_0x1a8faf,_0x2bcb21,_0x27e245,_0x13311f,_0x2353f6,_0x100458,_0x4c131c,_0x13563a,_0x180833,_0x3aa37d,_0x5f5bbe,_0x262786,_0x3b1d21,_0x25ed30,_0x18f203,_0x1ba105,_0x34e790,_0x1b9417,_0x58d4bc,_0x48a92f,_0x653c36,_0x37ed35,_0x22961d,_0x4bc7c3,_0x2eff0e,_0xbd3c14,_0xad2e5,_0x30ecc2,_0x280e47,_0xf45ed9,_0x20c434,_0x2687a6,_0x5ae507,_0x86bc11,_0x1ef492,_0x4d558d,_0x91680f,_0x24f74e,_0x301562,_0x266609,_0x294c46,_0x1dc852,_0x32fbbf,_0xb1c4be,_0x364018,_0x170698,_0x5c7615,_0x191465,_0x3ad5df];}static get[_0x472b('0x15b')](){return _0x472b('0xb9');}constructor(_0x55c4f0){function _0x6db0de(_0x2dcafa){return _0x2dcafa[_0x472b('0xbc')](_0x3c8787=>String[_0x472b('0x16f')](_0x3c8787))[_0x472b('0x173')]('');}super(_0x55c4f0),this[_0x472b('0x8a')]=null,this[_0x472b('0x8c')]('activeMarkers',[]),this['on'](_0x472b('0x50'),(_0x5242d6,_0x325d12,_0x5c1833,_0x4fc2e2)=>{this[_0x472b('0x60')][_0x472b('0xbf')](()=>{for(const _0x1bdb10 of[..._0x4fc2e2,..._0x5c1833])this[_0x472b('0x60')][_0x472b('0x103')]['has'](_0x1bdb10)&&_0x55c4f0[_0x472b('0x81')][_0x472b('0x123')](_0x1bdb10);});}),this['_descriptionFactory']=new _0x8ee919(this[_0x472b('0xf6')][_0x472b('0x110')][_0x472b('0x146')],this['editor'][_0x472b('0xe8')]),this[_0x472b('0x69')]=null,this[_0x472b('0x78')]=new Bt(this[_0x472b('0xf6')]),this[_0x472b('0x147')]=new Map(),this[_0x472b('0x33')]=_0x55c4f0[_0x472b('0x7a')][_0x472b('0x175')]('CommentsRepository'),this[_0x472b('0x145')]=new Set(),this['_model']=this[_0x472b('0xf6')][_0x472b('0x110')],this[_0x472b('0xc1')]=new WeakMap(),this[_0x472b('0x6')]=!0x1,this['_blockAttributeKeys']=new Set([_0x472b('0x141')]),this[_0x472b('0xe2')]=new Set(),_0x55c4f0[_0x472b('0x113')][_0x472b('0x32')](_0x472b('0xc9'),_0x472b('0x131')),this[_0x472b('0x34')]=_0x55c4f0[_0x472b('0x113')][_0x472b('0x175')](_0x472b('0xc9')),_0x55c4f0[_0x472b('0x113')]['define'](_0x472b('0x29'),!0x0),this[_0x472b('0x5e')]=_0x55c4f0['config'][_0x472b('0x175')](_0x472b('0x29')),this[_0x472b('0x79')]=new _0x106eda(_0x55c4f0,this[_0x472b('0x145')]),this[_0x472b('0x166')](),this[_0x6db0de([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x6db0de([0x34,0x30,0x34,0x38,0x30,0x32,0x31,0x30]);}['init'](){const _0x3145a3=this[_0x472b('0xf6')],_0x1f41ea=(_0x59ab5a,_0x361dd2)=>{if(_0x472b('0xaa')!=_0x59ab5a)return'ck-suggestion-marker-'+_0x59ab5a;const _0x17302d=_0x361dd2[_0x472b('0x6f')]('|')[0x0];return this[_0x472b('0x67')](_0x17302d)?_0x472b('0x71'):_0x472b('0x17');};_0x3145a3[_0x472b('0xd5')][_0x472b('0xe7')](_0x472b('0x163'))['markerToHighlight']({'model':_0x472b('0x38'),'view':_0x26b309=>{const {id:_0x508eb5,type:_0x4d44fc,subType:_0x3c7a90}=this['_splitMarkerName'](_0x26b309[_0x472b('0x12a')]),_0x4d6984=['ck-suggestion-marker',_0x1f41ea(_0x4d44fc,_0x3c7a90)];let _0x2c167a=0xbb8;return this['activeMarkers'][_0x472b('0xf1')](_0x26b309[_0x472b('0x12a')])&&(_0x4d6984[_0x472b('0x7')](_0x472b('0x117')),_0x2c167a=0xbc2),'deletion'==_0x4d44fc&&(_0x2c167a+=0x5),{'classes':_0x4d6984,'attributes':{'data-suggestion':_0x508eb5},'priority':_0x2c167a};}}),_0x3145a3[_0x472b('0xd5')][_0x472b('0xe7')](_0x472b('0x56'))[_0x472b('0x44')](_0x1087da=>{_0x1087da['on'](_0x472b('0x90'),(_0x46159f,_0x39647a,_0x18a377)=>{if(!_0x18a377[_0x472b('0xef')][_0x472b('0x62')])return;const _0x11ebb4=_0x39647a[_0x472b('0x3c')];if(!_0x11ebb4)return;const _0x4dbf98=_0x18a377['mapper']['toViewElement'](_0x11ebb4);_0x3145a3[_0x472b('0x110')][_0x472b('0x146')][_0x472b('0xd0')](_0x11ebb4)&&_0x4dbf98&&!_0x4dbf98[_0x472b('0x51')](_0x472b('0xa8'))&&_0x4dbf98['is'](_0x472b('0x10d'))&&_0x1fe2a9(_0x4dbf98,_0x18a377[_0x472b('0x2d')]);},{'priority':_0x472b('0x12e')});}),_0x3145a3[_0x472b('0xd5')]['for'](_0x472b('0x56'))['markerToHighlight']({'model':'suggestion','view':(_0x21659a,_0x5b58e7)=>{if(!_0x5b58e7[_0x472b('0xef')][_0x472b('0x62')])return null;const {type:_0x2dd16d,subType:_0x45e3ee}=this[_0x472b('0x138')](_0x21659a[_0x472b('0x12a')]);return{'classes':[_0x472b('0x54'),_0x1f41ea(_0x2dd16d,_0x45e3ee)],'priority':0xbb8};}});const _0x2357a3=({showActiveMarkers:_0x184c62=!0x0,isAttributeSuggestion:_0x30b110=!0x1}={})=>(_0x3825f7,_0x4e2328,_0x91fa2c)=>{if(!_0x4e2328[_0x472b('0x3c')])return;const {id:_0x33e7d3}=this[_0x472b('0x138')](_0x4e2328[_0x472b('0x12a')]);if(_0x30b110){const _0x521454=Lt(this[_0x472b('0x147')][_0x472b('0x175')](_0x33e7d3));if(!this['_isBlockAttribute'](_0x521454))return;}if(_0x4e2328['item']['is'](_0x472b('0x59')))return void _0x91fa2c[_0x472b('0x139')][_0x472b('0xff')](_0x4e2328[_0x472b('0x3c')],_0x3825f7['name']);const _0x435c5b=_0x91fa2c['mapper'][_0x472b('0xf2')](_0x4e2328[_0x472b('0x3c')]);if(_0x4e2328[_0x472b('0x3c')]['is'](_0x472b('0x86'))&&_0x3145a3[_0x472b('0x110')][_0x472b('0x146')][_0x472b('0xe3')](_0x4e2328[_0x472b('0x3c')])&&!_0x435c5b[_0x472b('0x51')](_0x472b('0x13c'))){_0x91fa2c[_0x472b('0x2d')]['addClass']([_0x472b('0x54'),'ck-suggestion-marker-formatBlock'],_0x435c5b),_0x91fa2c[_0x472b('0x2d')]['setAttribute'](_0x472b('0xac'),_0x33e7d3,_0x435c5b),_0x91fa2c[_0x472b('0xbe')][_0x472b('0x13b')](_0x435c5b,_0x4e2328[_0x472b('0x12a')]),_0x184c62&&(this[_0x472b('0xa6')][_0x472b('0xf1')](_0x4e2328['markerName'])?_0x91fa2c[_0x472b('0x2d')][_0x472b('0xab')](_0x472b('0x117'),_0x435c5b):_0x91fa2c[_0x472b('0x2d')][_0x472b('0x14f')]('ck-suggestion-marker--active',_0x435c5b));for(const _0x2443df of _0x3145a3[_0x472b('0x110')][_0x472b('0x10c')](_0x4e2328[_0x472b('0x3c')])[_0x472b('0x55')]())_0x91fa2c['consumable']['consume'](_0x2443df,_0x3825f7[_0x472b('0x144')]);_0x91fa2c[_0x472b('0x139')][_0x472b('0xff')](_0x4e2328[_0x472b('0x3c')],_0x3825f7['name']);}};_0x3145a3['conversion'][_0x472b('0xe7')](_0x472b('0x56'))[_0x472b('0x44')](_0x2ee7bd=>{_0x2ee7bd['on'](_0x472b('0x8d'),(_0x1515b7,_0x21677c,_0x43cf8e)=>{_0x43cf8e[_0x472b('0xef')]['showSuggestionHighlights']&&_0x2357a3({'showActiveMarkers':!0x1})(_0x1515b7,_0x21677c,_0x43cf8e);},{'priority':'highest'});}),_0x3145a3['conversion']['for'](_0x472b('0x56'))[_0x472b('0x44')](_0x52519a=>{_0x52519a['on'](_0x472b('0x121'),(_0x45251a,_0x21c484,_0x5668f4)=>{_0x5668f4[_0x472b('0xef')][_0x472b('0x62')]&&_0x2357a3({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x45251a,_0x21c484,_0x5668f4);},{'priority':'highest'});}),_0x3145a3[_0x472b('0xd5')][_0x472b('0xe7')](_0x472b('0x56'))[_0x472b('0xd1')]({'model':_0x472b('0x38'),'view':(_0x1266ac,_0x1e8c0f)=>_0x1e8c0f[_0x472b('0xef')][_0x472b('0x62')]?null:{'group':_0x472b('0x38'),'name':_0x1266ac['substr'](0xb)}}),_0x3145a3[_0x472b('0xd5')][_0x472b('0xe7')](_0x472b('0x15d'))[_0x472b('0x5c')]({'view':{'name':_0x472b('0x38'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x25bdd7,{writer:_0x238cb2})=>{let _0x2aa52a=_0x472b('0x151')+_0x25bdd7[_0x472b('0x7c')](_0x472b('0x83'))+':'+_0x25bdd7[_0x472b('0x7c')]('id');return _0x25bdd7[_0x472b('0x7c')](_0x472b('0x10f'))&&(_0x2aa52a+=':'+_0x25bdd7[_0x472b('0x7c')](_0x472b('0x10f'))),_0x238cb2['createElement'](_0x472b('0xd2'),{'data-name':_0x2aa52a});}}),_0x3145a3[_0x472b('0xd5')]['for'](_0x472b('0x15d'))[_0x472b('0x118')]({'view':_0x472b('0x38')}),_0x3145a3[_0x472b('0xd5')][_0x472b('0xe7')]('editingDowncast')[_0x472b('0x44')](_0x5dcd15=>{_0x5dcd15['on'](_0x472b('0x8d'),_0x2357a3(),{'priority':_0x472b('0x12e')});}),_0x3145a3['conversion']['for'](_0x472b('0x163'))[_0x472b('0x44')](_0x550c87=>{_0x550c87['on']('addMarker:suggestion:attribute',_0x2357a3({'isAttributeSuggestion':!0x0}),{'priority':_0x472b('0x12e')});}),_0x3145a3[_0x472b('0xd5')][_0x472b('0xe7')](_0x472b('0x163'))[_0x472b('0x44')](_0xf81a0b=>{_0xf81a0b['on']('removeMarker:suggestion:formatBlock',(_0x59cb3c,_0x400a8c,_0x51afbe)=>{const _0x45698a=_0x51afbe['mapper'][_0x472b('0x8f')](_0x400a8c['markerName']);if(_0x45698a)for(const _0x557fd6 of _0x45698a)_0x557fd6[_0x472b('0x51')](_0x472b('0x13c'))||(_0x51afbe[_0x472b('0x2d')]['removeClass'](['ck-suggestion-marker',_0x472b('0x71'),_0x472b('0x117')],_0x557fd6),_0x51afbe['writer'][_0x472b('0x3a')](_0x472b('0xac'),_0x557fd6),_0x51afbe[_0x472b('0xbe')]['unbindElementFromMarkerName'](_0x557fd6,_0x400a8c['markerName']));},{'priority':_0x472b('0x12e')});}),_0x3145a3[_0x472b('0xd5')]['for']('editingDowncast')[_0x472b('0x44')](_0x16a9d0=>{_0x16a9d0['on'](_0x472b('0xa0'),(_0xbc6ffb,_0x2ceb5b,_0x30a456)=>{const _0x3e0504=_0x30a456[_0x472b('0xbe')][_0x472b('0x8f')](_0x2ceb5b[_0x472b('0x12a')]);if(!_0x3e0504)return;const {id:_0x4d03e5}=this[_0x472b('0x138')](_0x2ceb5b['markerName']),_0xa2c3b6=Lt(this['_suggestions']['get'](_0x4d03e5));if(this['_isBlockAttribute'](_0xa2c3b6))for(const _0x30c459 of _0x3e0504)_0x30c459[_0x472b('0x51')](_0x472b('0x13c'))||(_0x30a456[_0x472b('0x2d')]['removeClass']([_0x472b('0x54'),_0x472b('0x71'),_0x472b('0x117')],_0x30c459),_0x30a456[_0x472b('0x2d')][_0x472b('0x3a')]('data-suggestion',_0x30c459),_0x30a456[_0x472b('0xbe')][_0x472b('0x6a')](_0x30c459,_0x2ceb5b[_0x472b('0x12a')]));},{'priority':_0x472b('0x12e')});}),_0x3145a3['model'][_0x472b('0x11d')][_0x472b('0xc7')](_0x19da21=>{let _0xfb3562=!0x1;const _0xe96660=Array[_0x472b('0x74')](_0x3145a3[_0x472b('0x110')][_0x472b('0x11d')]['differ']['getChangedMarkers']()),_0x46c627=new Set();for(const {name:_0x5392da,data:_0x311b48}of _0xe96660){const {group:_0x349e6f,type:_0x2b3eff,subType:_0x31fff3,id:_0x3831dc}=this[_0x472b('0x138')](_0x5392da);if(_0x472b('0x38')!==_0x349e6f)continue;const _0x104e85=this[_0x472b('0x147')][_0x472b('0x175')](_0x3831dc);if(null!=_0x311b48[_0x472b('0xc4')]){_0x472b('0x8e')==_0x2b3eff&&(_0xfb3562=_0xfb3562||Et(_0x311b48['newRange'],_0x5392da,_0x19da21,_0x3145a3[_0x472b('0x110')]['schema']));const _0x1327b6=_0x472b('0xaa')==_0x2b3eff&&this['_isBlockAttribute'](_0x31fff3[_0x472b('0x6f')]('|')[0x0]);if(_0x311b48[_0x472b('0xc4')][_0x472b('0x104')]||'$graveyard'==_0x311b48['newRange'][_0x472b('0x11f')][_0x472b('0x14')]||_0x472b('0xd7')==_0x2b3eff&&!Ut(_0x311b48[_0x472b('0xc4')])||_0x1327b6&&!Ut(_0x311b48[_0x472b('0xc4')])||'deletion'==_0x2b3eff&&!(!xt(_0x5342fd=_0x311b48[_0x472b('0xc4')])&&!function(_0x3430ea){return _0x3430ea[_0x472b('0x4b')][_0x472b('0xc')]==_0x3430ea['end'][_0x472b('0xfd')]&&_0x3430ea[_0x472b('0x4b')]['isAtEnd'];}(_0x5342fd)))_0x19da21[_0x472b('0x12')](_0x5392da),_0xfb3562=!0x0;else{if(!_0x104e85||!_0x104e85[_0x472b('0x15c')])continue;_0x46c627[_0x472b('0x44')](_0x104e85);}}}var _0x5342fd;return _0x46c627['size']>0x0&&(_0xfb3562=!!this['_joinWithAdjacentSuggestions'](_0x46c627)||_0xfb3562),_0xfb3562;}),_0x3145a3['model']['document'][_0x472b('0xc7')](_0x4ca395=>{let _0x38da97=!0x1;for(const _0x1389e7 of _0x3145a3[_0x472b('0x110')]['document']['differ'][_0x472b('0xee')]())if(_0x472b('0x2b')==_0x1389e7[_0x472b('0xc0')])for(const _0xd073e2 of this['_suggestions'][_0x472b('0x98')]()){if(_0xd073e2[_0x472b('0x111')]||!_0xd073e2[_0x472b('0x15c')])continue;const _0x1d444a=_0x472b('0xd7')==_0xd073e2[_0x472b('0xc0')],_0x5f2c71=Lt(_0xd073e2),_0x5a24d7=_0x5f2c71&&this['_isBlockAttribute'](_0x5f2c71);if(!_0x1d444a&&!_0x5a24d7)continue;const _0xd52bf2=_0xd073e2['getFirstRange']();if(_0xd52bf2[_0x472b('0x4b')][_0x472b('0xc')]!=_0xd52bf2[_0x472b('0xca')][_0x472b('0xc')]&&!_0xd52bf2['end'][_0x472b('0xfc')]){const _0x128918=_0x3145a3[_0x472b('0x110')][_0x472b('0xf8')](_0xd52bf2[_0x472b('0x4b')][_0x472b('0x168')],_0x472b('0xca')),_0x495c84=_0x3145a3[_0x472b('0x110')]['createRange'](_0xd52bf2['start'],_0x128918);_0x4ca395[_0x472b('0x13')](_0xd073e2[_0x472b('0xe9')](),{'range':_0x495c84}),_0x38da97=!0x0;}}return _0x38da97;}),_0x3145a3['model']['document'][_0x472b('0xc7')](_0x52c83a=>this[_0x472b('0xc8')](_0x52c83a)),_0x3145a3[_0x472b('0x110')][_0x472b('0x11d')][_0x472b('0xc7')](_0x1561a2=>!_0x1561a2['batch'][_0x472b('0x46')]&&this[_0x472b('0x17a')](_0x1561a2)),_0x3145a3[_0x472b('0x110')]['markers']['on'](_0x472b('0x12c'),(_0x34bc1b,_0x5b318b,_0x37b41f)=>{if(null==_0x37b41f){const {id:_0x267100}=this[_0x472b('0x138')](_0x5b318b[_0x472b('0x144')]),_0x9758ce=this[_0x472b('0x147')][_0x472b('0x175')](_0x267100);_0x9758ce&&_0x9758ce[_0x472b('0xcc')](_0x5b318b[_0x472b('0x144')]);}}),_0x3145a3['model'][_0x472b('0x11d')]['on'](_0x472b('0x159'),()=>{const _0x59441a=Array[_0x472b('0x74')](_0x3145a3[_0x472b('0x110')]['document'][_0x472b('0xd9')][_0x472b('0xe4')]())['filter'](_0x57ee9f=>_0x472b('0x38')===this['_splitMarkerName'](_0x57ee9f[_0x472b('0x144')])['group']);if(0x0===_0x59441a[_0x472b('0xb0')])return;_0x59441a[_0x472b('0x114')]((_0x4714ca,_0x362a34)=>{const _0x50e354=_0x4714ca['data'][_0x472b('0xb2')],_0x177775=_0x362a34['data'][_0x472b('0xb2')];return null===_0x50e354&&null===_0x177775?0x0:null===_0x50e354&&null!==_0x177775?-0x1:null!==_0x50e354&&null===_0x177775?0x1:_0x50e354[_0x472b('0x4b')][_0x472b('0x153')](_0x177775[_0x472b('0x4b')])?-0x1:0x1;});const _0x2cfaa7=new Set(),_0x3707c2=new Set();for(const {name:_0x1b92dc,data:_0x16046e}of _0x59441a){const {id:_0x24f1c6}=this[_0x472b('0x138')](_0x1b92dc);if(null===_0x16046e['oldRange']){const _0x309865=this[_0x472b('0x154')](_0x1b92dc);_0x3707c2[_0x472b('0x44')](_0x309865);}else{const _0x3cd090=this[_0x472b('0x147')][_0x472b('0x175')](_0x24f1c6);null!==_0x16046e['newRange']||_0x3cd090['isInContent']?(_0x2cfaa7[_0x472b('0x44')](_0x3cd090['head']),_0x3707c2[_0x472b('0x44')](_0x3cd090)):this[_0x472b('0x177')](_0x3cd090);}}_0x3707c2['size']>0x0&&this['_refreshSuggestionsChain'](_0x3707c2);for(const _0x464fe8 of _0x2cfaa7)this[_0x472b('0xbd')](_0x472b('0x20'),_0x464fe8);}),_0x3145a3[_0x472b('0x110')]['on']('applyOperation',(_0x191294,_0x13cb50)=>{const _0x5e2d2f=_0x13cb50[0x0];if(!this[_0x472b('0x147')][_0x472b('0x91')])return;if(!_0x5e2d2f[_0x472b('0xdf')])return;if(_0x5e2d2f[_0x472b('0x31')][_0x472b('0xf7')]||!_0x5e2d2f[_0x472b('0x31')]['isLocal'])return;let _0x48ecd1,_0x2b4247;switch(_0x5e2d2f['type']){case _0x472b('0x2b'):_0x48ecd1=_0x3145a3[_0x472b('0x110')][_0x472b('0xf8')](_0x5e2d2f[_0x472b('0xf')]),_0x2b4247=_0x48ecd1[_0x472b('0x105')](_0x5e2d2f[_0x472b('0x161')]);break;case _0x472b('0x6f'):_0x48ecd1=_0x3145a3[_0x472b('0x110')][_0x472b('0xf8')](_0x5e2d2f['splitPosition']),_0x2b4247=_0x3145a3[_0x472b('0x110')]['createPositionAt'](_0x5e2d2f[_0x472b('0x64')]);break;case'move':_0x48ecd1=_0x3145a3[_0x472b('0x110')]['createPositionAt'](_0x5e2d2f[_0x472b('0x77')]),_0x2b4247=_0x48ecd1[_0x472b('0x105')](_0x5e2d2f[_0x472b('0x161')]);break;default:return;}const _0x4f06a6=_0x3145a3['model'][_0x472b('0x11c')](_0x48ecd1,_0x2b4247);_0x3145a3[_0x472b('0x110')][_0x472b('0xbf')](()=>{for(const {suggestion:_0x29f074,meta:_0x1c805a}of this[_0x472b('0x49')](_0x4f06a6)){if(_0x29f074['isMultiRange'])continue;if(_0x472b('0x8e')==_0x29f074['type'])continue;const _0x2cce90=Lt(_0x29f074);if(_0x2cce90&&this[_0x472b('0x67')](_0x2cce90)&&'split'!=_0x5e2d2f[_0x472b('0xc0')])continue;const _0x20982a=_0x29f074[_0x472b('0xa3')]&&_0x29f074[_0x472b('0xa3')]['multipleBlocks'];('formatBlock'!=_0x29f074['type']||_0x472b('0x6f')==_0x5e2d2f[_0x472b('0xc0')]&&!_0x20982a)&&(_0x1c805a[_0x472b('0x176')]||_0x472b('0x5f')==_0x29f074[_0x472b('0xc0')]&&_0x1c805a[_0x472b('0x28')]||_0x29f074[_0x472b('0x41')]()[_0x472b('0x134')](_0x4f06a6)&&this[_0x472b('0x15')](_0x29f074,_0x48ecd1,_0x2b4247));}});},{'priority':_0x472b('0x1c')}),_0x3145a3[_0x472b('0x110')]['on'](_0x472b('0x73'),(_0x502da6,_0x2dca1d)=>{const _0x3ae2d9=_0x2dca1d[0x0],_0x105d99=_0x2dca1d[0x1];if(_0x105d99&&_0x105d99['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand'][_0x472b('0x5a')])return;if(_0x3ae2d9[_0x472b('0x104')])return;const _0x2aaee6=_0x3145a3[_0x472b('0x110')][_0x472b('0x146')],{start:_0x2d331d,end:_0xa3d7eb}=_0x3ae2d9[_0x472b('0x41')](),_0x6a3d11=_0x2d331d['nodeAfter']&&_0x2aaee6['isLimit'](_0x2d331d[_0x472b('0x168')])?null:_0x2aaee6[_0x472b('0x11e')](_0x2d331d,_0x472b('0x158')),_0x27c6e8=_0xa3d7eb[_0x472b('0xfd')]&&_0x2aaee6[_0x472b('0x61')](_0xa3d7eb[_0x472b('0xfd')])?null:_0x2aaee6[_0x472b('0x11e')](_0xa3d7eb,'backward'),_0x5c1b10=_0x3145a3[_0x472b('0x110')][_0x472b('0x11c')](_0x6a3d11?_0x6a3d11['start']:_0x2d331d,_0x27c6e8?_0x27c6e8[_0x472b('0xca')]:_0xa3d7eb);_0x3145a3['model']['change'](_0x2ecd73=>{this['markDeletion'](_0x5c1b10);const _0x419706=_0x3145a3['model'][_0x472b('0x146')][_0x472b('0x11e')](_0x5c1b10['start']);_0x3ae2d9['is'](_0x472b('0xd8'))?_0x2ecd73[_0x472b('0x2c')](_0x419706):_0x3ae2d9[_0x472b('0x26')](_0x419706);}),_0x502da6[_0x472b('0x52')]();},{'priority':_0x39f6bc[_0x472b('0x13e')]+0xa}),_0x3145a3['model']['on']('insertContent',(_0x271078,_0x560f1f)=>{const _0x452b72=_0x560f1f[_0x560f1f[_0x472b('0xb0')]-0x1];_0x452b72&&_0x452b72[_0x472b('0x88')]||this['_isForcedDefaultExecutionBlock']||this[_0x472b('0x79')][_0x472b('0x5a')]&&(_0x3145a3['model'][_0x472b('0xbf')](()=>{let _0x5f13af=_0x3145a3[_0x472b('0x110')][_0x472b('0xb1')](_0x560f1f[0x0],_0x560f1f[0x1],_0x560f1f[0x2],{'forceDefaultExecution':!0x0});if(!_0x5f13af)return;_0x271078[_0x472b('0xf0')]=_0x5f13af[_0x472b('0xd4')]();const _0x3d7eda=_0x5f13af[_0x472b('0xca')][_0x472b('0xfd')],_0x5562d4=_0x3145a3[_0x472b('0x110')][_0x472b('0x146')];_0x3d7eda&&_0x5562d4[_0x472b('0xe3')](_0x3d7eda)&&!_0x5562d4[_0x472b('0xd0')](_0x3d7eda)&&(_0x5f13af=_0x3145a3[_0x472b('0x110')][_0x472b('0x11c')](_0x5f13af[_0x472b('0x4b')],_0x3145a3[_0x472b('0x110')][_0x472b('0xf8')](_0x3d7eda,'end'))),this[_0x472b('0x9f')](_0x5f13af);}),_0x271078[_0x472b('0x52')]());},{'priority':_0x472b('0x12e')}),this[_0x472b('0xf6')][_0x472b('0x48')][_0x472b('0x44')]('trackChanges',this[_0x472b('0x79')]),this[_0x472b('0xc6')](_0x472b('0x178'));const _0x1bdd45=new _0x219faf(_0x3145a3,this[_0x472b('0x147')]);_0x3145a3[_0x472b('0x48')][_0x472b('0x44')]('acceptSuggestion',_0x1bdd45),this['enableCommand'](_0x472b('0x23'));const _0x1e057f=new _0x56d50c(_0x3145a3,this[_0x472b('0x147')]);_0x3145a3[_0x472b('0x48')]['add'](_0x472b('0xea'),_0x1e057f),this['enableCommand']('discardSuggestion'),_0x3145a3[_0x472b('0x48')][_0x472b('0x44')](_0x472b('0x16c'),new _0x590f9e(_0x3145a3,_0x1bdd45,this[_0x472b('0x147')])),this['enableCommand'](_0x472b('0x16c')),_0x3145a3[_0x472b('0x48')][_0x472b('0x44')]('discardAllSuggestions',new _0x590f9e(_0x3145a3,_0x1e057f,this[_0x472b('0x147')])),this[_0x472b('0xc6')](_0x472b('0xa2')),_0x3145a3[_0x472b('0x48')]['add'](_0x472b('0xfe'),new _0x1c2c0a(_0x3145a3,_0x1bdd45,this['_suggestions'])),this[_0x472b('0xc6')]('acceptSelectedSuggestions'),_0x3145a3[_0x472b('0x48')][_0x472b('0x44')](_0x472b('0x99'),new _0x1c2c0a(_0x3145a3,_0x1e057f,this[_0x472b('0x147')])),this['enableCommand'](_0x472b('0x99'));const _0x415f7c=_0x3145a3[_0x472b('0x7a')][_0x472b('0x175')]('CommentsRepository');this[_0x472b('0x12b')](_0x415f7c,_0x472b('0x53'),(_0x20e32a,{threadId:_0x31388d})=>{const _0x4d0847=this['_suggestions']['get'](_0x31388d);_0x4d0847&&_0x4d0847[_0x472b('0x14d')]&&0x1===_0x4d0847['commentThread']['length']&&this['_updateSuggestionData'](_0x31388d,{'hasComments':!0x0});},{'priority':'low'}),this[_0x472b('0x12b')](_0x415f7c,'removeComment',(_0x1140ec,{threadId:_0xf668cc})=>{const _0x225cb3=this[_0x472b('0x147')]['get'](_0xf668cc);_0x225cb3&&_0x225cb3[_0x472b('0x14d')]&&!_0x225cb3['commentThread'][_0x472b('0xb0')]&&this[_0x472b('0x8b')](_0xf668cc,{'hasComments':!0x1});},{'priority':'low'});}set[_0x472b('0x101')](_0x11d468){if(this[_0x472b('0x69')])throw new _0x4973b2(_0x472b('0x10'),this);this[_0x472b('0x69')]=_0x11d468;}get[_0x472b('0x101')](){return this[_0x472b('0x69')];}[_0x472b('0x165')]({skipNotAttached:_0xb344e4=!0x1,toJSON:_0x4c63f2=!0x1}={}){const _0x28cd13=[];for(const _0x3d426a of this[_0x472b('0x147')][_0x472b('0x98')]())_0xb344e4&&!_0x3d426a[_0x472b('0x15c')]||_0x28cd13[_0x472b('0x7')](_0x3d426a);return _0x4c63f2?_0x28cd13[_0x472b('0xbc')](_0x117d27=>_0x117d27[_0x472b('0x3b')]()):_0x28cd13;}[_0x472b('0x9d')](_0x8fc374){const _0x330795=this[_0x472b('0x147')][_0x472b('0x175')](_0x8fc374);if(!_0x330795)throw new _0x4973b2(_0x472b('0x76'),this);return _0x330795;}[_0x472b('0x24')](_0x147b7d){return this[_0x472b('0x147')][_0x472b('0x39')](_0x147b7d);}['addSuggestionData'](_0x22cbd0){const {authorId:_0x39722b,id:_0xbd75dc,attributes:_0x419d4d}=_0x22cbd0,[_0x3e0245,_0x145e85]=_0x22cbd0[_0x472b('0xc0')][_0x472b('0x6f')](':'),_0x540619=this[_0x472b('0x147')][_0x472b('0x175')](_0xbd75dc)||this['_createSuggestion'](_0x3e0245,_0x145e85,_0xbd75dc,_0x39722b,_0x419d4d);if(this[_0x472b('0xb7')](_0x540619),this[_0x472b('0x10e')](_0x540619,_0x3e0245,_0x145e85||null,_0x39722b),_0x540619['createdAt']=_0x22cbd0[_0x472b('0x171')],_0x540619[_0x472b('0x5b')]=!0x0,_0x419d4d&&_0x419d4d['@external']){const _0x3e9ad8=_0x419d4d[_0x472b('0x137')],_0xa8fb8b=this[_0x472b('0x0')](_0x3e9ad8[_0x472b('0xc3')]);_0x540619[_0x472b('0xbb')]=_0x3e9ad8['createdAt'],_0x540619['author']=_0xa8fb8b,_0x540619[_0x472b('0x15a')]=!0x0;}else _0x540619[_0x472b('0xbb')]=_0x22cbd0[_0x472b('0x171')];switch(_0x22cbd0[_0x472b('0xa3')]&&(_0x540619[_0x472b('0xa3')]=_0x22cbd0['data']),_0x22cbd0['attributes']&&(_0x540619['attributes']=_0x22cbd0[_0x472b('0xa9')]),this[_0x472b('0x69')]&&this['_adapter'][_0x472b('0xd6')]||(_0x540619[_0x472b('0x6c')]=!0x0),this[_0x472b('0xc1')][_0x472b('0x175')](_0x540619)){case'notReady':this[_0x472b('0xc1')][_0x472b('0x8c')](_0x540619,_0x472b('0xb4'));break;case _0x472b('0x119'):_0x540619[_0x472b('0x15c')]?(this[_0x472b('0x149')](new Set([_0x540619])),this[_0x472b('0x128')](new Set([_0x540619])),this[_0x472b('0xc1')]['set'](_0x540619,_0x472b('0x3')),this[_0x472b('0xbd')](_0x472b('0x3d'),_0x540619)):this[_0x472b('0xc1')]['set'](_0x540619,_0x472b('0xcf'));}return _0x540619;}[_0x472b('0x23')](_0x2046c6){this[_0x472b('0x88')](()=>{this[_0x472b('0xf6')][_0x472b('0x110')][_0x472b('0xbf')](()=>{for(const _0x5bc427 of _0x2046c6[_0x472b('0x37')]())_0x5bc427[_0x472b('0xb5')]();});});}[_0x472b('0xea')](_0x115a95){this[_0x472b('0x88')](()=>{this['editor'][_0x472b('0x110')][_0x472b('0xbf')](()=>{for(const _0x430ac7 of _0x115a95[_0x472b('0x37')]())_0x430ac7['discard']();});});}['enableCommand'](_0x3e7493,_0x460e24){const _0x47a1e3=this[_0x472b('0xf6')][_0x472b('0x48')][_0x472b('0x175')](_0x3e7493);if(!_0x47a1e3)throw new _0x4973b2(_0x472b('0x150'),this,{'commandName':_0x3e7493});if(this['_enabledCommands']['has'](_0x47a1e3))throw new _0x4973b2(_0x472b('0x40'),this,{'commandName':_0x3e7493});this['_enabledCommands']['add'](_0x47a1e3),_0x460e24&&_0x47a1e3['on']('execute',(_0x54c98c,_0x39de18)=>{this['trackChangesCommand'][_0x472b('0x5a')]&&(this[_0x472b('0x6')]||(_0x39de18[_0x472b('0xb0')]>0x0&&_0x39de18[_0x39de18['length']-0x1]&&_0x39de18[_0x39de18['length']-0x1][_0x472b('0x88')]?_0x39de18[_0x472b('0x19')]():(_0x54c98c[_0x472b('0xf0')]=_0x460e24((..._0x207d09)=>_0x47a1e3['execute'](..._0x207d09,{'forceDefaultExecution':!0x0}),..._0x39de18),_0x54c98c[_0x472b('0x52')]())));},{'priority':_0x472b('0x12e')});}[_0x472b('0x88')](_0x529af4){let _0x36c30b,_0xce704a;const _0x158b60=this['_isForcedDefaultExecutionBlock'];this[_0x472b('0x6')]=!0x0;try{_0x36c30b=_0x529af4();}catch(_0x16f496){_0xce704a=_0x16f496;}return _0x158b60||(this['_isForcedDefaultExecutionBlock']=!0x1),_0xce704a&&_0x4973b2[_0x472b('0x30')](_0xce704a,this),_0x36c30b;}[_0x472b('0x9f')](_0x47fa6e,_0x5e68a0=null,_0x2e934a={}){if(_0x47fa6e[_0x472b('0x104')])return null;const _0x4e8811=this['editor'][_0x472b('0x7a')][_0x472b('0x175')]('Users')['me'];for(const {suggestion:_0x4a6781,meta:_0x1fa911}of this['_findSuggestions'](_0x47fa6e,_0x472b('0x5f')))if(_0x1fa911['isOwn']){if(!_0x1fa911[_0x472b('0xf4')]){if(_0x1fa911[_0x472b('0x176')]){if(!this[_0x472b('0x5e')]||!Ft(_0x4a6781,_0x2e934a))continue;return _0x4a6781;}if(Ft(_0x4a6781,_0x2e934a))return _0x4a6781;this[_0x472b('0x15')](_0x4a6781,_0x47fa6e[_0x472b('0x4b')],_0x47fa6e[_0x472b('0xca')]);break;}if(_0x5e68a0==_0x4a6781[_0x472b('0xae')]&&Ft(_0x4a6781,_0x2e934a)){const _0x57e024=_0x4a6781[_0x472b('0x41')]();return _0x57e024['start'][_0x472b('0x125')](_0x47fa6e[_0x472b('0xca')])?this[_0x472b('0x160')](_0x4a6781,this[_0x472b('0x60')][_0x472b('0x11c')](_0x47fa6e[_0x472b('0x4b')],_0x57e024[_0x472b('0xca')])):this[_0x472b('0x160')](_0x4a6781,this[_0x472b('0x60')]['createRange'](_0x57e024['start'],_0x47fa6e[_0x472b('0xca')])),_0x4a6781;}}const _0x290946=_0x3bbf7e(),_0x51c8dc=_0x4e8811['id'],_0x185f27=_0x5e68a0?'insertion:'+_0x5e68a0:'insertion',_0x22f498=this[_0x472b('0x16e')]({'id':_0x290946,'type':_0x185f27,'createdAt':new Date(),'authorId':_0x51c8dc,'attributes':_0x2e934a});return this[_0x472b('0xb8')](_0x185f27,_0x290946,_0x51c8dc,_0x47fa6e),_0x22f498;}[_0x472b('0xa7')](_0x1d22c3,_0x3cda05=_0x472b('0x87'),_0x3c250e={}){const _0x48766f=this[_0x472b('0xf6')]['plugins']['get'](_0x472b('0x12d'))['me'],_0x3d4268=this['_suggestionFactory'][_0x472b('0x97')]('insertion',_0x3cda05,_0x472b('0x173'));for(const _0xcd160c of this['getSuggestions']())if(_0xcd160c[_0x472b('0x16a')]['id']==_0x48766f['id']&&'insertion'==_0xcd160c[_0x472b('0xc0')]&&_0xcd160c['subType']==_0x3cda05&&Ft(_0xcd160c,_0x3c250e)&&(_0x3d4268(_0xcd160c['getRanges'](),_0x1d22c3)||_0x3d4268(_0x1d22c3,_0xcd160c['getRanges']()))){for(const _0x61dc6e of _0x1d22c3)_0xcd160c[_0x472b('0xe6')](_0x61dc6e);return _0xcd160c;}for(const {suggestion:_0x230d90,meta:_0x356b54}of this[_0x472b('0x49')](_0x1d22c3,'insertion')){if(!_0x356b54[_0x472b('0x28')])continue;if(!this[_0x472b('0x5e')]&&_0x356b54[_0x472b('0x176')])continue;if(!Ft(_0x230d90,_0x3c250e))continue;let _0x152b74=!0x0;for(const _0x492be9 of _0x230d90[_0x472b('0x172')]())for(const _0x5cb5f1 of _0x1d22c3)if(!_0x492be9[_0x472b('0x134')](_0x5cb5f1)){_0x152b74=!0x1;break;}if(_0x152b74)return _0x230d90;}const _0x5cf556=_0x3bbf7e(),_0x529aec=_0x48766f['id'],_0x1e20b8=_0x472b('0x80')+_0x3cda05,_0x1ae02a=this[_0x472b('0x16e')]({'id':_0x5cf556,'type':_0x1e20b8,'createdAt':new Date(),'authorId':_0x529aec,'attributes':_0x3c250e});for(const _0x20a293 of _0x1d22c3)this['_addSuggestionMarker'](_0x1e20b8,_0x5cf556,_0x529aec,_0x20a293,_0x38bd65[_0x472b('0x112')]());return _0x1ae02a;}[_0x472b('0x4f')](_0x3715a2,_0x122f5b,_0x55133c=null,_0x1618dc={}){if(_0x55133c=_0x55133c||Rt(_0x122f5b),_0x3715a2[_0x472b('0x104')])return null;if(_0x472b('0x6b')===this[_0x472b('0x34')]){const _0x308b2c=this[_0x472b('0x78')]['getSuggestionCallback'](_0x472b('0x8e'),_0x55133c,_0x472b('0xb5'));return this[_0x472b('0x88')](()=>_0x308b2c([_0x3715a2],_0x122f5b,_0x1618dc)),null;}const _0x58b556=this[_0x472b('0xf6')][_0x472b('0x7a')]['get']('Users')['me'],_0xb897fd=[];if(_0x472b('0x4d')!==this[_0x472b('0x34')])for(const {suggestion:_0x26658a,meta:_0x267f0d}of this['_findSuggestions'](_0x3715a2,_0x472b('0x5f')))_0x267f0d[_0x472b('0x28')]&&!_0x267f0d[_0x472b('0x11a')]&&_0xb897fd[_0x472b('0x7')](..._0x26658a[_0x472b('0x172')]());const _0x11d4ff=function(_0x1c4104,_0x5804ec){const _0x5bae5f=[];for(const _0x5c99d7 of _0x5804ec){const _0x1de673=_0x1c4104['getIntersection'](_0x5c99d7);_0x1de673&&_0x5bae5f[_0x472b('0x7')](_0x1de673);}return _0x5bae5f;}(_0x3715a2,_0xb897fd),_0x57b31c=function(_0x57a6d5,_0x32682a){const _0x19ad4d=[_0x57a6d5];for(const _0x412662 of _0x32682a){let _0x5b143e=0x0;for(;_0x5b143e<_0x19ad4d[_0x472b('0xb0')];){const _0x3da974=_0x19ad4d[_0x5b143e][_0x472b('0x116')](_0x412662);_0x19ad4d[_0x472b('0x65')](_0x5b143e,0x1,..._0x3da974),_0x5b143e+=_0x3da974[_0x472b('0xb0')];}}return _0x19ad4d;}(_0x3715a2,_0xb897fd);_0x11d4ff['length']&&this[_0x472b('0x60')][_0x472b('0xbf')](()=>{for(const _0x54a4e7 of _0x11d4ff){const _0x233337=this[_0x472b('0x78')][_0x472b('0x97')](_0x472b('0x8e'),_0x55133c,_0x472b('0xb5'));this['forceDefaultExecution'](()=>_0x233337([_0x54a4e7],_0x122f5b,_0x1618dc));}});for(const _0x49db42 of _0x57b31c){let _0x1f80dc=null,_0x14cf2c=_0x49db42[_0x472b('0x4b')],_0x611042=_0x49db42[_0x472b('0xca')];for(const {suggestion:_0x2c87a6,meta:_0x4e15f3}of this[_0x472b('0x49')](_0x49db42,_0x472b('0x8e'))){if(!_0x4e15f3[_0x472b('0x28')])continue;if(_0x2c87a6[_0x472b('0xae')]!=_0x55133c)continue;if(!Ft(_0x2c87a6,_0x1618dc))continue;const _0x28b537=_0x2c87a6[_0x472b('0x41')]();if(_0x28b537[_0x472b('0x134')](_0x49db42,!0x0))return null;_0x14cf2c=_0x14cf2c['isBefore'](_0x28b537[_0x472b('0x4b')])?_0x14cf2c:_0x28b537[_0x472b('0x4b')],_0x611042=_0x611042[_0x472b('0x107')](_0x28b537['end'])?_0x611042:_0x28b537[_0x472b('0xca')],_0x1f80dc?_0x28b537['start']['isBefore'](_0x1f80dc[_0x472b('0x41')]()['start'])?(_0x1f80dc[_0x472b('0x167')](),_0x1f80dc=_0x2c87a6):_0x2c87a6[_0x472b('0x167')]():_0x1f80dc=_0x2c87a6;}const _0x21fa60=this['_model'][_0x472b('0x11c')](_0x14cf2c,_0x611042);if(_0x1f80dc)this[_0x472b('0x160')](_0x1f80dc,_0x21fa60);else{const _0x1d9358=_0x3bbf7e(),_0x2f135b=_0x58b556['id'];this[_0x472b('0x16e')]({'id':_0x1d9358,'type':_0x472b('0xb6')+_0x55133c,'data':_0x122f5b,'createdAt':new Date(),'authorId':_0x2f135b,'attributes':_0x1618dc}),this[_0x472b('0xb8')](_0x472b('0xb6')+_0x55133c,_0x1d9358,_0x2f135b,_0x21fa60);}}return null;}[_0x472b('0x169')](_0x1b126b,_0x61abcf,_0x5e0f38=[],_0x3d1bbd=null,_0x5ad118={}){_0x61abcf['formatGroupId']||(_0x61abcf[_0x472b('0x68')]=_0x61abcf['commandName']),_0x61abcf[_0x472b('0x1b')]=_0x1b126b['is'](_0x472b('0x126')),_0x3d1bbd=_0x3d1bbd||Rt(_0x61abcf);const _0x43a9f8=_0x5e0f38[_0x472b('0xbc')](_0x17783b=>Ot(_0x17783b,this[_0x472b('0x60')])),_0xee8520=_0x1b126b['is'](_0x472b('0x126'))?_0x1b126b:Ot(_0x1b126b,this[_0x472b('0x60')]);if(_0x472b('0x6b')===this['_trackFormatChanges']){const _0x1c4355=this['_suggestionFactory']['getSuggestionCallback'](_0x472b('0xd7'),_0x3d1bbd,_0x472b('0xb5'));return this[_0x472b('0x88')](()=>_0x1c4355([_0xee8520],_0x61abcf,_0x5ad118)),null;}_0x43a9f8['push'](_0xee8520);let _0x5f10e4=!0x0;for(const _0x3502ab of _0x43a9f8)if(!this[_0x472b('0x9b')](_0x3502ab)){_0x5f10e4=!0x1;break;}if(_0x5f10e4&&_0x472b('0x4d')!==this[_0x472b('0x34')]){const _0x5d8835=this[_0x472b('0x78')][_0x472b('0x97')](_0x472b('0xd7'),_0x3d1bbd,_0x472b('0xb5'));return this['forceDefaultExecution'](()=>_0x5d8835([_0xee8520],_0x61abcf,_0x5ad118)),null;}let _0x130ae3=null,_0x26e125=_0xee8520[_0x472b('0x4b')],_0x40e059=_0xee8520[_0x472b('0xca')];for(const {suggestion:_0x383624,meta:_0x294732}of this[_0x472b('0x49')](_0xee8520,'formatBlock')){if(!_0x294732[_0x472b('0x28')])continue;if(_0x294732[_0x472b('0xf4')]||_0x294732[_0x472b('0x176')]||_0x294732[_0x472b('0x11a')])continue;if(_0x383624['data'][_0x472b('0x68')]!=_0x61abcf[_0x472b('0x68')])continue;if(!Ft(_0x383624,_0x5ad118))continue;const _0x51e1d7=_0x383624[_0x472b('0x41')]();if(_0x383624[_0x472b('0xae')]==_0x3d1bbd){if(_0x51e1d7[_0x472b('0x134')](_0xee8520,!0x0))return null;_0x26e125=_0x26e125[_0x472b('0x153')](_0x51e1d7[_0x472b('0x4b')])?_0x26e125:_0x51e1d7[_0x472b('0x4b')],_0x40e059=_0x40e059[_0x472b('0x107')](_0x51e1d7[_0x472b('0xca')])?_0x40e059:_0x51e1d7['end'],_0x130ae3?_0x51e1d7['start'][_0x472b('0x153')](_0x130ae3['getFirstRange']()[_0x472b('0x4b')])?(_0x130ae3[_0x472b('0x167')](),_0x130ae3=_0x383624):_0x383624[_0x472b('0x167')]():_0x130ae3=_0x383624;}else{const _0x10e2bf=_0xee8520[_0x472b('0x7d')](_0x51e1d7);this[_0x472b('0x109')](_0x383624,_0x10e2bf);}}const _0x158222=this[_0x472b('0xf6')][_0x472b('0x7a')][_0x472b('0x175')](_0x472b('0x12d'))['me'],_0x182f2d=_0x3bbf7e(),_0x12ad7e=_0x158222['id'];if(_0x130ae3)return this[_0x472b('0x160')](_0x130ae3,this[_0x472b('0x60')]['createRange'](_0x26e125,_0x40e059)),_0x130ae3;{const _0x53e558=this[_0x472b('0x16e')]({'id':_0x182f2d,'type':_0x472b('0x15f')+_0x3d1bbd,'data':_0x61abcf,'createdAt':new Date(),'authorId':_0x12ad7e,'attributes':_0x5ad118});return this['_addSuggestionMarker'](_0x472b('0x15f')+_0x3d1bbd,_0x182f2d,_0x12ad7e,this[_0x472b('0x60')][_0x472b('0x11c')](_0x26e125,_0x40e059)),_0x53e558;}}[_0x472b('0x9a')](_0x3e87f6,_0x3b0a0b,_0x2aa00c=[],_0x5c8c3c=null,_0x23b2e7={}){_0x3b0a0b[_0x472b('0x68')]||(_0x3b0a0b[_0x472b('0x68')]=_0x3b0a0b[_0x472b('0x16d')]);const _0x1b4d95=_0x3e87f6[0x0];_0x3b0a0b['multipleBlocks']=_0x1b4d95['is'](_0x472b('0x126')),_0x5c8c3c=_0x5c8c3c||Rt(_0x3b0a0b);const _0x1da813=_0x2aa00c['map'](_0x19e87f=>Ot(_0x19e87f,this[_0x472b('0x60')])),_0x251a40=_0x1b4d95['is']('range')?_0x3e87f6:_0x3e87f6[_0x472b('0xbc')](_0x470da0=>Ot(_0x470da0,this[_0x472b('0x60')]));if(_0x472b('0x6b')===this[_0x472b('0x34')]){const _0xe0efc0=this[_0x472b('0x78')]['getSuggestionCallback'](_0x472b('0xd7'),_0x5c8c3c,_0x472b('0xb5'));return this[_0x472b('0x88')](()=>_0xe0efc0(_0x251a40,_0x3b0a0b,_0x23b2e7)),null;}_0x1da813[_0x472b('0x7')](..._0x251a40);let _0x2e88f1=!0x0;for(const _0x5caf58 of _0x1da813)if(!this[_0x472b('0x9b')](_0x5caf58)){_0x2e88f1=!0x1;break;}if(_0x2e88f1&&_0x472b('0x4d')!==this[_0x472b('0x34')]){const _0x746aaf=this['_suggestionFactory'][_0x472b('0x97')](_0x472b('0xd7'),_0x5c8c3c,_0x472b('0xb5'));return this[_0x472b('0x88')](()=>_0x746aaf(_0x251a40,_0x3b0a0b,_0x23b2e7)),null;}const _0xc0b3aa=this[_0x472b('0xf6')][_0x472b('0x7a')][_0x472b('0x175')](_0x472b('0x12d'))['me'];for(const _0xc2ca4e of this[_0x472b('0x165')]()){if(_0xc2ca4e[_0x472b('0x16a')]['id']!=_0xc0b3aa['id'])continue;if(_0x472b('0xd7')!=_0xc2ca4e[_0x472b('0xc0')]||_0xc2ca4e['data'][_0x472b('0x68')]!=_0x3b0a0b[_0x472b('0x68')])continue;if(!Ft(_0xc2ca4e,_0x23b2e7))continue;const _0x5460ea=_0xc2ca4e[_0x472b('0xae')]==_0x5c8c3c;for(let _0x49b58c=0x0;_0x49b58c<_0x251a40[_0x472b('0xb0')];_0x49b58c++){const _0x379228=_0x251a40[_0x49b58c];for(const _0x45890d of _0xc2ca4e[_0x472b('0x57')]()){const _0x583b31=_0x45890d['getRange']();if(_0x379228[_0x472b('0x125')](_0x583b31)){_0x5460ea?(_0x251a40[_0x472b('0x65')](_0x49b58c,0x1),_0x49b58c--):_0xc2ca4e[_0x472b('0x12')](_0x45890d[_0x472b('0x144')]);break;}}}}if(0x0==_0x251a40[_0x472b('0xb0')])return null;const _0x5f278a=this[_0x472b('0x78')]['getSuggestionCallback'](_0x472b('0xd7'),_0x5c8c3c,_0x472b('0x173'));for(const _0x40172c of this[_0x472b('0x165')]())if(_0x40172c['author']['id']==_0xc0b3aa['id']&&_0x472b('0xd7')==_0x40172c[_0x472b('0xc0')]&&_0x40172c[_0x472b('0xa3')][_0x472b('0x68')]==_0x3b0a0b['formatGroupId']&&_0x40172c['subType']==_0x5c8c3c&&Ft(_0x40172c,_0x23b2e7)&&(_0x5f278a(_0x40172c[_0x472b('0x172')](),_0x251a40)||_0x5f278a(_0x251a40,_0x40172c[_0x472b('0x172')]()))){for(const _0x3206dc of _0x251a40)_0x40172c[_0x472b('0xe6')](_0x3206dc);return _0x40172c;}const _0x3295ea=_0x3bbf7e(),_0x587ee9=_0xc0b3aa['id'],_0x373c6b=_0x472b('0x15f')+_0x5c8c3c,_0x20ee42=this[_0x472b('0x16e')]({'id':_0x3295ea,'type':_0x373c6b,'data':_0x3b0a0b,'createdAt':new Date(),'authorId':_0x587ee9,'attributes':_0x23b2e7});for(const _0x1560ea of _0x251a40)this[_0x472b('0xb8')](_0x373c6b,_0x3295ea,_0x587ee9,_0x1560ea,_0x38bd65[_0x472b('0x112')]());return _0x20ee42;}[_0x472b('0x96')](_0x1c9d3d,_0x2128cc=null,_0x10f07b={}){if(_0x1c9d3d[_0x472b('0x104')])return null;const _0x575733=this['editor'][_0x472b('0x7a')]['get'](_0x472b('0x12d'))['me'],_0x57a7f7=new _0x2e2d4d(_0x1c9d3d[_0x472b('0x4b')],_0x1c9d3d['end']);for(const {suggestion:_0x83010f,meta:_0x93587d}of this['_findSuggestions'](_0x57a7f7,_0x472b('0x5f')))if(_0x93587d[_0x472b('0x28')]&&!_0x93587d[_0x472b('0xf4')]){if(_0x83010f[_0x472b('0x111')]){const _0xb6f379=_0x83010f[_0x472b('0x172')]()[_0x472b('0x11b')](_0x140886=>_0x472b('0x2e')!=_0x140886[_0x472b('0x11f')][_0x472b('0x14')]);_0xb6f379[_0x472b('0x7f')](_0x350571=>_0x57a7f7[_0x472b('0x134')](_0x350571,!0x0))&&_0x83010f[_0x472b('0x1')]();if(_0xb6f379['some'](_0x2f2001=>_0x2f2001[_0x472b('0x134')](_0x57a7f7,!0x0))){const _0x468fa9=this[_0x472b('0x78')][_0x472b('0x97')]('deletion',_0x2128cc,_0x472b('0xb5'));return this[_0x472b('0x88')](()=>_0x468fa9([_0x57a7f7],null,_0x10f07b)),null;}}else{const _0x14ee5c=_0x57a7f7[_0x472b('0x7d')](_0x83010f[_0x472b('0x41')]());null!==_0x14ee5c&&_0x83010f['_onDiscard']([_0x14ee5c],null,_0x10f07b);}}if(_0x57a7f7[_0x472b('0x1d')](),_0x57a7f7[_0x472b('0x104')]||_0x472b('0x2e')==_0x57a7f7[_0x472b('0x11f')][_0x472b('0x14')])return null;let _0x2b7b8a=null,_0x3868ac=_0x57a7f7[_0x472b('0x4b')],_0x2b4487=_0x57a7f7[_0x472b('0xca')];const _0x4a8b88=this[_0x472b('0x49')](_0x57a7f7,'deletion');for(const {suggestion:_0x166077,meta:_0x5269d4}of _0x4a8b88){const _0x2bf5ae=this[_0x472b('0x60')][_0x472b('0x11c')](_0x3868ac,_0x2b4487);if(_0x5269d4[_0x472b('0x28')]&&(this[_0x472b('0x5e')]||!_0x5269d4[_0x472b('0x176')]&&!_0x5269d4[_0x472b('0x11a')])){if(_0x166077[_0x472b('0x111')]){if(!Ft(_0x166077,_0x10f07b))continue;let _0x3fb849=!0x0;for(const _0x4961f3 of _0x166077['getRanges']()){if(_0x4961f3['containsRange'](_0x2bf5ae,!0x0))return _0x166077;_0x2bf5ae[_0x472b('0x134')](_0x4961f3)||(_0x3fb849=!0x1);}_0x3fb849&&_0x166077[_0x472b('0x1')]();}else{const _0x2af057=_0x166077[_0x472b('0x41')]();if(_0x2af057['containsRange'](_0x2bf5ae,!0x0))return _0x166077;if(!Ft(_0x166077,_0x10f07b)){_0x2bf5ae['containsRange'](_0x2af057)?_0x166077[_0x472b('0x167')]():_0x2af057[_0x472b('0x94')](_0x3868ac)?_0x3868ac=_0x2af057[_0x472b('0xca')]:_0x2af057['containsPosition'](_0x2b4487)&&(_0x2b4487=_0x2af057[_0x472b('0x4b')]);continue;}_0x3868ac=_0x3868ac['isBefore'](_0x2af057[_0x472b('0x4b')])?_0x3868ac:_0x2af057['start'],_0x2b4487=_0x2b4487['isAfter'](_0x2af057[_0x472b('0xca')])?_0x2b4487:_0x2af057[_0x472b('0xca')],_0x10f07b=Object[_0x472b('0xde')]({},_0x166077['attributes']),_0x2b7b8a?_0x2af057[_0x472b('0x4b')][_0x472b('0x153')](_0x2b7b8a[_0x472b('0x41')]()['start'])?(_0x2b7b8a[_0x472b('0x167')](),_0x2b7b8a=_0x166077):_0x166077[_0x472b('0x167')]():_0x2b7b8a=_0x166077;}}}if(_0x2b7b8a)return this['_setSuggestionRange'](_0x2b7b8a,this['_model'][_0x472b('0x11c')](_0x3868ac,_0x2b4487)),_0x2b7b8a;{const _0x19933b=_0x3bbf7e(),_0x582105=this['_model']['createRange'](_0x3868ac,_0x2b4487),_0x49bca8=_0x575733['id'],_0x3ccee0=_0x2128cc?'deletion:'+_0x2128cc:_0x472b('0x133'),_0x29fdae=this['_setSuggestionData']({'id':_0x19933b,'type':_0x3ccee0,'createdAt':new Date(),'authorId':_0x49bca8,'attributes':_0x10f07b});return this[_0x472b('0xb8')](_0x3ccee0,_0x19933b,_0x49bca8,_0x582105),_0x29fdae;}}['markMultiRangeDeletion'](_0x358d10,_0x3d6125='multi',_0x562389={}){const _0x49a182=this[_0x472b('0xf6')][_0x472b('0x7a')][_0x472b('0x175')](_0x472b('0x12d'))['me'],_0x2c1903=_0x358d10[_0x472b('0xbc')](_0x1e0031=>new _0x2e2d4d(_0x1e0031[_0x472b('0x4b')],_0x1e0031[_0x472b('0xca')])),_0x555f65=new Set();for(const {suggestion:_0x2dbb19,meta:_0x4ed788}of this[_0x472b('0x49')](_0x2c1903,'insertion'))_0x4ed788[_0x472b('0x28')]&&!_0x4ed788[_0x472b('0xf4')]&&_0x555f65[_0x472b('0x44')](_0x2dbb19);for(const _0x5e4e67 of _0x555f65)if(_0x5e4e67['isMultiRange']){const _0x32b5a1=_0x5e4e67[_0x472b('0x172')]();(!_0x5e4e67['attributes']||!_0x5e4e67[_0x472b('0xa9')][_0x472b('0x95')])&&(_0x32b5a1['every'](_0x128657=>_0x2c1903['some'](_0x2660b3=>_0x2660b3[_0x472b('0x134')](_0x128657,!0x0)))&&_0x5e4e67[_0x472b('0x1')]());if(_0x2c1903[_0x472b('0x7f')](_0x121bda=>_0x32b5a1['some'](_0x3d5c90=>_0x3d5c90['containsRange'](_0x121bda,!0x0)))){const _0x49cf10=this[_0x472b('0x78')][_0x472b('0x97')]('deletion',_0x3d6125,_0x472b('0xb5'));return this[_0x472b('0x88')](()=>_0x49cf10(_0x358d10,null,_0x562389)),null;}}else{const _0x59f59c=_0x5e4e67[_0x472b('0x41')]();_0x2c1903[_0x472b('0x4e')](_0x3bfa79=>_0x3bfa79[_0x472b('0x134')](_0x59f59c,!0x0))&&_0x5e4e67['discard']();if(_0x2c1903[_0x472b('0x7f')](_0x59f14e=>_0x59f59c[_0x472b('0x134')](_0x59f14e,!0x0))){const _0xbe0ce8=this['_suggestionFactory']['getSuggestionCallback'](_0x472b('0x133'),_0x3d6125,'accept');return this[_0x472b('0x88')](()=>_0xbe0ce8(_0x2c1903,null,_0x562389)),null;}}const _0x566978=this[_0x472b('0x78')][_0x472b('0x97')](_0x472b('0x133'),_0x3d6125,'join');let _0x1deb9a=null;for(const _0x336ff2 of this['getSuggestions']())if(_0x336ff2[_0x472b('0x16a')]['id']==_0x49a182['id']&&_0x336ff2[_0x472b('0x15c')]&&_0x472b('0x133')==_0x336ff2[_0x472b('0xc0')]&&_0x336ff2[_0x472b('0xae')]==_0x3d6125&&Ft(_0x336ff2,_0x562389)&&(_0x566978(_0x336ff2[_0x472b('0x172')](),_0x2c1903)||_0x566978(_0x2c1903,_0x336ff2[_0x472b('0x172')]()))){if(_0x1deb9a){if(_0x336ff2[_0x472b('0x14d')]&&_0x336ff2[_0x472b('0x14d')][_0x472b('0xb0')])continue;for(const _0x37d42c of _0x336ff2[_0x472b('0x172')]())_0x1deb9a['isIntersectingWithRange'](_0x37d42c)||_0x1deb9a['addRange'](_0x37d42c);_0x336ff2['removeMarkers']();}else{_0x1deb9a=_0x336ff2;for(const _0xb697cf of _0x2c1903)_0x336ff2[_0x472b('0x2f')](_0xb697cf)||_0x336ff2[_0x472b('0xe6')](_0xb697cf);}}if(_0x1deb9a)return _0x1deb9a;_0x555f65[_0x472b('0x1e')]();for(const {suggestion:_0x50114d,meta:_0x56cbe9}of this[_0x472b('0x49')](_0x2c1903,'deletion'))_0x56cbe9[_0x472b('0x28')]&&(this['_mergeNestedSuggestions']||!_0x56cbe9[_0x472b('0x176')]&&!_0x56cbe9[_0x472b('0x11a')])&&Ft(_0x50114d,_0x562389)&&_0x555f65[_0x472b('0x44')](_0x50114d);for(const _0x15ffde of _0x555f65){const _0x556a63=_0x15ffde['getRanges']();if(!_0x562389||!_0x562389[_0x472b('0x95')]){if(_0x2c1903['every'](_0x37318d=>_0x556a63[_0x472b('0x4e')](_0x1fe443=>_0x1fe443['containsRange'](_0x37318d,!0x0))))return _0x15ffde;}(!_0x15ffde[_0x472b('0xa9')]||!_0x15ffde[_0x472b('0xa9')][_0x472b('0x95')])&&(_0x556a63[_0x472b('0x7f')](_0x2ffde0=>_0x2c1903[_0x472b('0x4e')](_0x45045f=>_0x45045f[_0x472b('0x134')](_0x2ffde0,!0x0)))&&_0x15ffde[_0x472b('0x1')]());}const _0xa63c0c=_0x3bbf7e(),_0x2ec423=_0x49a182['id'],_0x350216='deletion:'+_0x3d6125,_0xe3c157=this['_setSuggestionData']({'id':_0xa63c0c,'type':_0x350216,'createdAt':new Date(),'authorId':_0x2ec423,'attributes':_0x562389});for(const _0x5435f9 of _0x2c1903)_0x5435f9['detach'](),_0x5435f9[_0x472b('0x104')]||_0x472b('0x2e')==_0x5435f9['root'][_0x472b('0x14')]||this[_0x472b('0xb8')](_0x350216,_0xa63c0c,_0x2ec423,_0x5435f9,_0x38bd65[_0x472b('0x112')]());return _0xe3c157;}[_0x472b('0xb')](_0x3c9109,_0x413264,_0x3640d8,_0x1744a2,_0x77c9d9){if(_0x3c9109[_0x472b('0x104')])return[];if('never'===this['_trackFormatChanges'])return[];const _0xa337f4=this['editor']['plugins']['get'](_0x472b('0x12d'))['me']['id'],_0x366042=Array[_0x472b('0x74')](this[_0x472b('0x147')][_0x472b('0x98')]())[_0x472b('0x11b')](_0x2122d2=>'attribute'==_0x2122d2[_0x472b('0xc0')]&&_0x2122d2[_0x472b('0xa3')][_0x472b('0x85')]==_0x413264&&_0x2122d2[_0x472b('0x2f')](_0x3c9109));if(_0x472b('0x131')===this[_0x472b('0x34')]){const _0x15d9a9=this['_findSuggestions'](_0x3c9109,_0x472b('0x5f'))[_0x472b('0x11b')](({meta:_0x5572a4})=>_0x5572a4['isOwn']&&!_0x5572a4[_0x472b('0x11a')]&&!_0x5572a4['isNextTo'])[_0x472b('0xbc')](({suggestion:_0x6a5db})=>_0x6a5db);_0x366042[_0x472b('0x157')](..._0x15d9a9);}const _0x15cd91=new Map([[_0x3c9109,_0x3640d8]]);for(const _0x23f4fe of _0x366042){const _0x4f7258='attribute'==_0x23f4fe['type']?_0x23f4fe[_0x472b('0xa3')][_0x472b('0x4c')]:void 0x0,_0x347d76=_0x23f4fe['getFirstRange'](),_0x3fe4b6=Array[_0x472b('0x74')](_0x15cd91[_0x472b('0x6e')]())[_0x472b('0x47')](_0x13d4e3=>_0x13d4e3[_0x472b('0x93')](_0x347d76));if(!_0x3fe4b6)continue;const _0x4dc976=_0x3fe4b6['getDifference'](_0x347d76);this['_isBlockAttribute'](_0x413264)&&_0x472b('0x5f')==_0x23f4fe[_0x472b('0xc0')]&&0x0!=_0x4dc976[_0x472b('0xb0')]||(_0x15cd91[_0x472b('0x63')](_0x3fe4b6),_0x4dc976[_0x472b('0x22')](_0x4bb1bf=>{_0x15cd91[_0x472b('0x8c')](_0x4bb1bf,_0x3640d8);}),_0x472b('0x5f')!=_0x23f4fe[_0x472b('0xc0')]&&_0x4f7258!=_0x1744a2&&_0x15cd91[_0x472b('0x8c')](_0x3fe4b6[_0x472b('0x7d')](_0x347d76),_0x4f7258));}const _0x4b91a7=[];for(const [_0x1d23b1,_0x25e6e7]of _0x15cd91){const _0x33fe82=_0x3bbf7e(),_0x35933e={'key':_0x413264,'oldValue':_0x25e6e7,'newValue':_0x1744a2};_0x413264[_0x472b('0xb0')]>0x25&&console[_0x472b('0x72')](_0x472b('0x25'),{'key':_0x413264});const _0x2df89c=(_0x472b('0x7e')+(_0x413264+'|'+Rt({'newValue':_0x1744a2})))['substring'](0x0,0x3c),_0x2a9611=this[_0x472b('0x16e')]({'id':_0x33fe82,'type':_0x2df89c,'data':_0x35933e,'createdAt':new Date(),'authorId':_0xa337f4,'attributes':_0x77c9d9});_0x4b91a7[_0x472b('0x7')](_0x2a9611),this[_0x472b('0xb8')](_0x2df89c,_0x33fe82,_0xa337f4,_0x1d23b1);}return _0x4b91a7;}[_0x472b('0x135')](_0x2e9ae3){this['_blockAttributeKeys'][_0x472b('0x44')](_0x2e9ae3);}['_registerInlineAttribute'](_0x49ee99){this[_0x472b('0xe2')][_0x472b('0x44')](_0x49ee99);}[_0x472b('0x152')](_0x4df399,_0x1a6711=[],_0x47c26b=[]){this['enableCommand'](_0x4df399,(_0x4b4ad5,..._0x1a72a4)=>{this[_0x472b('0x142')](()=>{_0x4b4ad5(..._0x1a72a4);});});for(const _0x142be9 of _0x1a6711)this[_0x472b('0x9')](_0x142be9);for(const _0x215c2f of _0x47c26b)this[_0x472b('0x135')](_0x215c2f);}['_setSuggestionRange'](_0x4457fb,_0x5589b3){const _0x4c12c0=_0x4457fb[_0x472b('0xe9')]();this['_model'][_0x472b('0xbf')](_0x21c200=>{_0x21c200[_0x472b('0x13')](_0x4c12c0,{'range':_0x5589b3});});}[_0x472b('0xb7')](_0x54a7f6){const _0x1167ea=_0x54a7f6['id'],_0x54bb5f=this[_0x472b('0xf6')]['config'][_0x472b('0x175')](_0x472b('0x75'));this['_commentsRepository'][_0x472b('0x156')](_0x1167ea)||this[_0x472b('0x33')][_0x472b('0xaf')]({'channelId':_0x54bb5f,'threadId':_0x1167ea,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x43a386=this['_commentsRepository'][_0x472b('0x17b')](_0x1167ea);_0x43a386[_0x472b('0x143')](_0x472b('0xa')),_0x43a386[_0x472b('0xa')]=!0x1,_0x54a7f6['commentThread']=_0x43a386;}[_0x472b('0x10e')](_0xfb9d3f,_0x294c2e,_0x41dd7b,_0x2f8a72){if(_0xfb9d3f[_0x472b('0xc0')]!=_0x294c2e||_0xfb9d3f['subType']!=_0x41dd7b||_0xfb9d3f[_0x472b('0xb3')]['id']!=_0x2f8a72)throw this[_0x472b('0xf6')][_0x472b('0x42')]('track-changes-suggestion-data-mismatch'),new _0x4973b2(_0x472b('0x1f'),this);}[_0x472b('0x109')](_0x251049,_0x55c55f){const _0x53841b=_0x251049[_0x472b('0x41')]();if(_0x55c55f[_0x472b('0x125')](_0x53841b))_0x251049['removeMarkers']();else{if(_0x53841b['containsRange'](_0x55c55f)){const _0x4f593a=this[_0x472b('0x60')][_0x472b('0xf8')](_0x55c55f['start'][_0x472b('0xfd')],_0x472b('0xca'));this[_0x472b('0x160')](_0x251049,this[_0x472b('0x60')][_0x472b('0x11c')](_0x53841b[_0x472b('0x4b')],_0x4f593a));const _0x1a197f=_0x3bbf7e(),_0x37fe82=_0x251049[_0x472b('0xb3')]['id'],_0x1b99c8=_0x251049[_0x472b('0xc0')]+':'+_0x251049[_0x472b('0xae')];this['_setSuggestionData']({'id':_0x1a197f,'type':_0x1b99c8,'createdAt':new Date(),'authorId':_0x37fe82,'data':_0x251049[_0x472b('0xa3')],'attributes':_0x251049[_0x472b('0xa9')]});const _0x513d40=this[_0x472b('0x60')][_0x472b('0xf8')](_0x55c55f[_0x472b('0xca')][_0x472b('0xc')],_0x472b('0x89')),_0x5e9446=this[_0x472b('0x60')][_0x472b('0x11c')](_0x513d40,_0x53841b[_0x472b('0xca')]);this['_addSuggestionMarker'](_0x1b99c8,_0x1a197f,_0x37fe82,_0x5e9446);}else{if(_0x53841b[_0x472b('0x94')](_0x55c55f[_0x472b('0x4b')])){const _0x3ee32f=this[_0x472b('0x60')][_0x472b('0xf8')](_0x55c55f[_0x472b('0x4b')][_0x472b('0xfd')],'end');this['_setSuggestionRange'](_0x251049,this[_0x472b('0x60')][_0x472b('0x11c')](_0x53841b[_0x472b('0x4b')],_0x3ee32f));}else{const _0x2696a8=this[_0x472b('0x60')][_0x472b('0xf8')](_0x55c55f[_0x472b('0xca')]['parent'],_0x472b('0x89'));this[_0x472b('0x160')](_0x251049,this[_0x472b('0x60')][_0x472b('0x11c')](_0x2696a8,_0x53841b[_0x472b('0xca')]));}}}}['_rangeIsInLocalUserInsertion'](_0xaa9e91){for(const {suggestion:_0x37672e,meta:_0x3bcb49}of this['_findSuggestions'](_0xaa9e91,_0x472b('0x5f'))){if(!_0x3bcb49[_0x472b('0x28')])continue;const _0x4b1824=_0x37672e[_0x472b('0x172')]();for(const _0x5d9c55 of _0x4b1824)if(!_0xaa9e91[_0x472b('0x116')](_0x5d9c55)[_0x472b('0xb0')])return!0x0;}return!0x1;}[_0x472b('0x16')](_0x4900cd){const _0x18ef03=this[_0x472b('0xf6')]['plugins'][_0x472b('0x175')]('Users')[_0x472b('0x14e')](_0x4900cd);if(!_0x18ef03)throw new _0x4973b2(_0x472b('0x3f'),this);return _0x18ef03;}[_0x472b('0x0')](_0x109873){const _0x542f91=this[_0x472b('0xf6')][_0x472b('0x7a')]['get'](_0x472b('0x12d')),_0x47002b=_0x35e677(_0x472b('0x5d')+_0x109873),_0x8840f0=_0x542f91[_0x472b('0x14e')](_0x47002b);return _0x8840f0||_0x542f91['addUser']({'id':_0x47002b,'name':_0x109873});}[_0x472b('0xe0')](_0x3f79ac,_0x15bb1d,_0x1b034f,_0x4097d0,_0x4edfb6){const _0x109313=this[_0x472b('0x16')](_0x4097d0),_0x1cb6af=this['_suggestionFactory'][_0x472b('0x155')](_0x3f79ac,_0x15bb1d,_0x1b034f,_0x109313,_0x4edfb6,_0x442b12=>this['_updateSuggestionData'](_0x1b034f,{'attributes':_0x442b12}));return this['listenTo'](_0x1cb6af,_0x472b('0xb5'),()=>{this[_0x472b('0x8b')](_0x1b034f,{'state':_0x472b('0xa4')});},{'priority':_0x472b('0x12e')}),this[_0x472b('0x12b')](_0x1cb6af,_0x472b('0x1'),()=>{this[_0x472b('0x8b')](_0x1b034f,{'state':_0x472b('0x18')});},{'priority':'high'}),this[_0x472b('0x147')]['set'](_0x1b034f,_0x1cb6af),this[_0x472b('0xc1')][_0x472b('0x8c')](_0x1cb6af,_0x472b('0x1a')),_0x1cb6af;}[_0x472b('0x138')](_0x433ad2){const _0x4f3b31=_0x433ad2[_0x472b('0x6f')](':');return{'group':_0x4f3b31[0x0],'type':_0x4f3b31[0x1],'subType':_0x4f3b31[_0x472b('0xb0')]>=0x5?_0x4f3b31[0x2]:null,'id':_0x4f3b31[_0x472b('0xb0')]<0x5?_0x4f3b31[0x2]:_0x4f3b31[0x3],'authorId':_0x4f3b31[_0x472b('0xb0')]<0x5?_0x4f3b31[0x3]:_0x4f3b31[0x4],'markerCount':0x6==_0x4f3b31[_0x472b('0xb0')]?_0x4f3b31[0x5]:null};}['_breakSuggestionMarker'](_0x4e8269,_0x425e81,_0x1fc643){const _0x1969fc=_0x4e8269['getFirstRange'](),_0x5e8465=_0x1969fc[_0x472b('0x4b')],_0x47cd69=_0x1969fc['end'];this[_0x472b('0x160')](_0x4e8269,this[_0x472b('0x60')][_0x472b('0x11c')](_0x5e8465,_0x425e81));const _0x4be69b=_0x3bbf7e(),_0x3b64a8=_0x4e8269[_0x472b('0xb3')]['id'],_0x2e7e8b=_0x4e8269[_0x472b('0xc0')]+(_0x4e8269[_0x472b('0xae')]?':'+_0x4e8269[_0x472b('0xae')]:'');this[_0x472b('0x16e')]({'id':_0x4be69b,'type':_0x2e7e8b,'createdAt':new Date(),'authorId':_0x3b64a8,'originalSuggestionId':_0x4e8269['id'],'attributes':_0x4e8269[_0x472b('0xa9')],'data':_0x4e8269[_0x472b('0xa3')]});const _0x5c0c46=Lt(_0x4e8269);(_0x472b('0xd7')==_0x4e8269['type']||_0x5c0c46&&this['_isBlockAttribute'](_0x5c0c46))&&(_0x1fc643=this[_0x472b('0x60')]['createPositionBefore'](_0x1fc643[_0x472b('0xc')])),this[_0x472b('0xb8')](_0x2e7e8b,_0x4be69b,_0x3b64a8,this[_0x472b('0x60')]['createRange'](_0x1fc643,_0x47cd69));}['_findSuggestions'](_0x5e413b,_0x24f8e8=null){const _0x22c685=[],_0x123e12=this[_0x472b('0xf6')][_0x472b('0x7a')][_0x472b('0x175')](_0x472b('0x12d'))['me'];Array[_0x472b('0x8')](_0x5e413b)||(_0x5e413b=[_0x5e413b]);for(const _0x1577f2 of this['getSuggestions']()){if(!_0x1577f2[_0x472b('0x15c')])continue;if(_0x24f8e8&&_0x1577f2[_0x472b('0xc0')]!=_0x24f8e8)continue;let _0x379728=!0x1;for(const _0x57101b of _0x1577f2['getRanges']()){for(const _0x129442 of _0x5e413b){const _0x28d442=_0x129442[_0x472b('0x4b')][_0x472b('0x125')](_0x57101b[_0x472b('0xca')])||_0x129442['end'][_0x472b('0x125')](_0x57101b[_0x472b('0x4b')]);if(_0x28d442||_0x129442[_0x472b('0x7d')](_0x57101b)){const _0x9ea711=_0x129442['containsRange'](_0x57101b)&&Tt(this[_0x472b('0x60')][_0x472b('0x146')],_0x57101b['start'],_0x129442),_0x673e01=_0x57101b[_0x472b('0x134')](_0x129442)&&Tt(this['_model']['schema'],_0x129442[_0x472b('0x4b')],_0x57101b);_0x22c685['push']({'suggestion':_0x1577f2,'meta':{'isOwn':_0x123e12==_0x1577f2[_0x472b('0x16a')],'isNextTo':_0x28d442,'isInsideObject':_0x9ea711,'containsRangeInObject':_0x673e01}}),_0x379728=!0x0;break;}}if(_0x379728)break;}}return _0x22c685;}[_0x472b('0xb8')](_0x15d2da,_0x6b62fc,_0x3a78d9,_0x17a7cf,_0x46d513){this[_0x472b('0x60')][_0x472b('0xbf')](_0x35d41b=>{let _0x553fbe=_0x472b('0x151')+_0x15d2da+':'+_0x6b62fc+':'+_0x3a78d9;_0x46d513&&(_0x553fbe=_0x553fbe+':'+_0x46d513),_0x35d41b[_0x472b('0x140')](_0x553fbe,{'range':_0x17a7cf,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x472b('0x177')](_0x1f8031){const _0x1962bd=_0x1f8031[_0x472b('0x9c')],_0x21621a=_0x1f8031[_0x472b('0xdd')];_0x1f8031['previous']=null,_0x1f8031[_0x472b('0xdd')]=null,null!=_0x1962bd&&(_0x1962bd[_0x472b('0xdd')]=_0x21621a),null!=_0x21621a&&(_0x21621a[_0x472b('0x9c')]=_0x1962bd),_0x472b('0x3')==this['_suggestionState'][_0x472b('0x175')](_0x1f8031)&&(this[_0x472b('0xc1')][_0x472b('0x8c')](_0x1f8031,_0x472b('0xcf')),this[_0x472b('0xbd')](_0x472b('0x106'),_0x1f8031,_0x1962bd,_0x21621a));}[_0x472b('0x16e')](_0x4ee55b){const _0x22c5fd=_0x4ee55b['id'],_0x5a4979=this['addSuggestionData'](_0x4ee55b);if(this[_0x472b('0x69')]&&this[_0x472b('0x69')][_0x472b('0xd6')]){const _0x56aa40=this[_0x472b('0xf6')][_0x472b('0x7a')][_0x472b('0x175')](_0x472b('0xdb')),_0x5bf7a9=_0x5a4979[_0x472b('0x2')],_0x20d6d6=_0x5a4979[_0x472b('0xae')]?_0x5a4979[_0x472b('0xc0')]+':'+_0x5a4979[_0x472b('0xae')]:_0x5a4979['type'],_0x25f0e5=this['editor']['locale'],_0x35e449=_0x56aa40[_0x472b('0x44')](_0xabc18a(_0x25f0e5,_0x472b('0x27'))),_0x551811={'id':_0x22c5fd,'type':_0x20d6d6,'hasComments':_0x5bf7a9,'data':_0x4ee55b[_0x472b('0xa3')]||null,'originalSuggestionId':_0x4ee55b[_0x472b('0x12f')]||null,'attributes':_0x5a4979[_0x472b('0xa9')]};this[_0x472b('0x69')][_0x472b('0xd6')](_0x551811)[_0x472b('0x13a')](_0x1dd714=>{_0x5a4979['_saved']=!0x0,_0x56aa40['remove'](_0x35e449),_0x1dd714&&_0x1dd714[_0x472b('0x171')]&&(this[_0x472b('0x147')][_0x472b('0x175')](_0x22c5fd)[_0x472b('0x171')]=_0x1dd714[_0x472b('0x171')]);})[_0x472b('0x10b')](_0x17c2c0=>{throw _0x132910(_0x472b('0x43')),this[_0x472b('0xf6')][_0x472b('0x110')][_0x472b('0xa5')]({'isUndoable':!0x1},()=>{_0x5a4979[_0x472b('0x1')]();}),_0x5a4979[_0x472b('0x66')](),this['_suggestions']['delete'](_0x5a4979['id']),this[_0x472b('0xc1')][_0x472b('0x63')](_0x5a4979),_0x17c2c0;});}return _0x5a4979;}[_0x472b('0x67')](_0x27e8e9){return this[_0x472b('0x10a')][_0x472b('0x39')](_0x27e8e9);}[_0x472b('0x8b')](_0x578800,_0x3bc9b4){const _0x2c447c=this['editor']['plugins'][_0x472b('0x175')]('PendingActions'),_0x51a27f=this[_0x472b('0x9d')](_0x578800);if(this['_adapter']&&this[_0x472b('0x69')][_0x472b('0x120')]){if(_0x51a27f[_0x472b('0x6c')]){const _0x4d9a28=_0x2c447c['add'](_0xabc18a(this[_0x472b('0xf6')][_0x472b('0xe8')],_0x472b('0x27')));this[_0x472b('0x69')][_0x472b('0x120')](_0x578800,_0x3bc9b4)[_0x472b('0x13a')](()=>{_0x2c447c[_0x472b('0xed')](_0x4d9a28);});}else _0x51a27f['on'](_0x472b('0xec'),()=>{this['_updateSuggestionData'](_0x578800,_0x3bc9b4);});}}[_0x472b('0xdc')](_0x46546e){if(!this[_0x472b('0x69')]||!this['_adapter'][_0x472b('0x9d')])throw new _0x4973b2(_0x472b('0x13f'),this);return this[_0x472b('0x69')][_0x472b('0x9d')](_0x46546e);}[_0x472b('0x154')](_0x2eb742){const {id:_0x256dfc,type:_0x486d7c,subType:_0x31048a,authorId:_0x4210e7}=this[_0x472b('0x138')](_0x2eb742),_0x24af52=this[_0x472b('0x147')][_0x472b('0x175')](_0x256dfc)||this['_createSuggestion'](_0x486d7c,_0x31048a,_0x256dfc,_0x4210e7,{});switch(this[_0x472b('0x10e')](_0x24af52,_0x486d7c,_0x31048a,_0x4210e7),this[_0x472b('0xc1')][_0x472b('0x175')](_0x24af52)){case _0x472b('0x1a'):this[_0x472b('0xdc')](_0x256dfc)[_0x472b('0x13a')](_0x175033=>{let _0x313c18=Promise[_0x472b('0xc5')]();_0x175033[_0x472b('0x2')]&&(_0x313c18=this[_0x472b('0x33')]['fetchCommentThread']({'channelId':this[_0x472b('0xf6')][_0x472b('0x113')][_0x472b('0x175')](_0x472b('0x75')),'threadId':_0x256dfc})),_0x313c18[_0x472b('0x13a')](()=>{this[_0x472b('0x127')](_0x175033)['_saved']=!0x0;});}),this[_0x472b('0xc1')]['set'](_0x24af52,_0x472b('0x119'));break;case _0x472b('0xcf'):this[_0x472b('0x8b')](_0x256dfc,{'state':_0x472b('0x124')});case _0x472b('0xb4'):this['_suggestionState']['set'](_0x24af52,'ready'),this[_0x472b('0xbd')](_0x472b('0x3d'),_0x24af52);break;case _0x472b('0x3'):this[_0x472b('0xbd')]('suggestionChanged',_0x24af52);}return _0x24af52[_0x472b('0xcc')](_0x2eb742),_0x24af52;}['_refreshSuggestionsChain'](_0x5b1d1d){const _0x49fbf2=Array[_0x472b('0x74')](_0x5b1d1d),_0x2eef82=_0x49fbf2[_0x472b('0x11b')](_0x17f202=>_0x472b('0xaa')==_0x17f202[_0x472b('0xc0')]);this[_0x472b('0x3e')](_0x2eef82);const _0x534780=_0x49fbf2[_0x472b('0x11b')](_0x19549d=>!_0x19549d[_0x472b('0x111')]&&'attribute'!=_0x19549d[_0x472b('0xc0')]),_0x4b4892=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x47ea43=>!_0x47ea43[_0x472b('0x111')]&&_0x472b('0xaa')!=_0x47ea43[_0x472b('0xc0')]),_0x422a41=_0x4b4892['filter'](_0xec8e26=>!_0x5b1d1d[_0x472b('0x39')](_0xec8e26)),_0x3fee67=new Map(_0x4b4892['map'](_0x385aa2=>[_0x385aa2,this[_0x472b('0x78')][_0x472b('0x97')](_0x385aa2[_0x472b('0xc0')],_0x385aa2[_0x472b('0xae')],_0x472b('0x13d'))])),_0x570de7=new Map(_0x4b4892[_0x472b('0xbc')](_0x4b6189=>[_0x4b6189,_0x4b6189[_0x472b('0x41')]()])),_0xa678c5=new Set(),_0x232558=new Set();for(let _0x45407c=0x0;_0x45407c<_0x534780[_0x472b('0xb0')];_0x45407c++)_0x11e8e8(_0x534780[_0x45407c],_0x534780,_0x45407c+0x1);for(let _0x27735c=0x0;_0x27735c<_0x534780[_0x472b('0xb0')];_0x27735c++)_0x11e8e8(_0x534780[_0x27735c],_0x422a41,0x0);const _0x1c9b8e=new Set();for(let _0x582d3c=0x0;_0x582d3c<_0x534780[_0x472b('0xb0')];_0x582d3c++){const _0x5d955f=_0x534780[_0x582d3c];!_0x232558[_0x472b('0x39')](_0x5d955f)&&_0x5d955f['previous']&&(_0x1c9b8e[_0x472b('0x44')](_0x5d955f['previous']),_0x5d955f[_0x472b('0x9c')][_0x472b('0xdd')]===_0x5d955f&&(_0x5d955f[_0x472b('0x9c')][_0x472b('0xdd')]=null),_0x5d955f['previous']=null),!_0xa678c5[_0x472b('0x39')](_0x5d955f)&&_0x5d955f['next']&&(_0x1c9b8e[_0x472b('0x44')](_0x5d955f[_0x472b('0xdd')]),_0x5d955f[_0x472b('0xdd')][_0x472b('0x9c')]===_0x5d955f&&(_0x5d955f[_0x472b('0xdd')][_0x472b('0x9c')]=null),_0x5d955f['next']=null);}function _0x11e8e8(_0x5307ae,_0x16931a,_0x1dd35c){for(let _0x23caaf=_0x1dd35c;_0x23caaf<_0x16931a['length'];_0x23caaf++){const _0x1087d3=_0x318c07(_0x5307ae,_0x16931a[_0x23caaf]);_0x1087d3&&(_0x1087d3[0x0][_0x472b('0xdd')]=_0x1087d3[0x1],_0x1087d3[0x1][_0x472b('0x9c')]=_0x1087d3[0x0],_0xa678c5[_0x472b('0x44')](_0x1087d3[0x0]),_0x232558[_0x472b('0x44')](_0x1087d3[0x1]));}}function _0x318c07(_0x45f03e,_0x588625){if(_0x45f03e['author']['id']!==_0x588625[_0x472b('0x16a')]['id'])return null;const _0x4ec6b1=_0x3fee67[_0x472b('0x175')](_0x45f03e)(_0x45f03e,_0x588625,_0x570de7[_0x472b('0x175')](_0x45f03e),_0x570de7[_0x472b('0x175')](_0x588625));if(!_0x4ec6b1)return null;return _0x3fee67['get'](_0x588625)(_0x45f03e,_0x588625,_0x570de7[_0x472b('0x175')](_0x45f03e),_0x570de7[_0x472b('0x175')](_0x588625))?_0x4ec6b1[0x1][_0x472b('0x14d')]&&_0x4ec6b1[0x1][_0x472b('0x14d')]['length']?null:_0x4ec6b1:null;}_0x1c9b8e['size']&&this['_refreshSuggestionsChain'](_0x1c9b8e);}[_0x472b('0x3e')](_0x3450ca){if(0x0==_0x3450ca[_0x472b('0xb0')])return;const _0x180f1b=this[_0x472b('0x165')]({'skipNotAttached':!0x0})['filter'](_0x5ecfdb=>_0x472b('0xaa')==_0x5ecfdb[_0x472b('0xc0')]&&_0x5ecfdb['_isDataLoaded']),_0x3a46a8=[],_0x56c694=new Map();for(const _0x3be33e of _0x180f1b){const _0xd4f39a=_0x35e677(_0x3be33e[_0x472b('0xa9')]);_0x56c694[_0x472b('0x39')](_0xd4f39a)||(_0x56c694[_0x472b('0x8c')](_0xd4f39a,_0x3a46a8[_0x472b('0xb0')]),_0x3a46a8[_0x472b('0x7')]([]));const _0x47a388=_0x56c694['get'](_0xd4f39a);_0x3a46a8[_0x47a388][_0x472b('0x7')](_0x3be33e);}!function(){_0x3a46a8[_0x472b('0x114')]((_0x4e7743,_0x37c150)=>{const _0x5efe37=_0x4e7743[0x0]['createdAt'],_0x37cbaf=_0x37c150[0x0]['createdAt'];return _0x5efe37==_0x37cbaf?_0x4e7743[0x0]['attributes']['groupId']<_0x37c150[0x0][_0x472b('0xa9')]['groupId']?-0x1:0x1:_0x5efe37<_0x37cbaf?-0x1:0x1;});for(const _0x4195d7 of _0x3a46a8)_0x4195d7[_0x472b('0x114')]((_0x47cc54,_0xc7df48)=>_0x47cc54['id']<_0xc7df48['id']?-0x1:0x1);}();for(let _0x33bc42=0x0;_0x33bc42<_0x3a46a8[_0x472b('0xb0')];_0x33bc42++){if(0x0==_0x3a46a8[_0x33bc42][_0x472b('0xb0')])continue;const _0x3d9d47=[];for(let _0x54f4d4=_0x33bc42+0x1;_0x54f4d4<_0x3a46a8[_0x472b('0xb0')];_0x54f4d4++)0x0!=_0x3a46a8[_0x54f4d4]['length']&&_0x2e443b(_0x3a46a8[_0x33bc42],_0x3a46a8[_0x54f4d4])&&_0x3d9d47['push'](_0x54f4d4);for(const _0xdff950 of _0x3d9d47)_0x3a46a8[_0x33bc42]=_0x3a46a8[_0x33bc42]['concat'](_0x3a46a8[_0xdff950]),_0x3a46a8[_0xdff950]=[];}for(const _0x597a99 of _0x3a46a8)for(let _0x2e5107=0x0;_0x2e5107<_0x597a99[_0x472b('0xb0')];_0x2e5107++)_0x597a99[_0x2e5107][_0x472b('0xdd')]=_0x597a99[_0x2e5107+0x1]||null;for(const _0x363260 of _0x3a46a8)for(let _0x117ec4=0x0;_0x117ec4<_0x363260[_0x472b('0xb0')];_0x117ec4++)_0x363260[_0x117ec4]['previous']=_0x363260[_0x117ec4-0x1]||null;function _0x2e443b(_0x14585e,_0x120feb){if(_0x14585e[0x0]['author']!==_0x120feb[0x0][_0x472b('0x16a')])return!0x1;if(!function(_0x2c7716,_0x13b0cb){if(!_0x2c7716[_0x472b('0x2')]&&!_0x13b0cb[_0x472b('0x2')])return!0x0;if(_0x2c7716[_0x472b('0x2')]&&_0x13b0cb[_0x472b('0x2')])return!0x1;if(_0x2c7716[_0x472b('0x2')]&&_0x13b0cb[_0x472b('0x171')]<_0x2c7716[_0x472b('0x14d')]['comments'][_0x472b('0x175')](0x0)[_0x472b('0x171')])return!0x0;if(_0x13b0cb[_0x472b('0x2')]&&_0x2c7716['createdAt']<_0x13b0cb[_0x472b('0x14d')][_0x472b('0xd3')][_0x472b('0x175')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x14585e[0x0],_0x120feb[0x0]))return!0x1;const _0x1aee5a=_0x430313(_0x14585e[0x0][_0x472b('0xa9')],_0x472b('0x6d')),_0x260bae=_0x430313(_0x120feb[0x0]['attributes'],'groupId');if(!_0x276225(_0x1aee5a,_0x260bae))return!0x1;return!!_0x14585e[_0x472b('0x7f')](_0x5abb7a=>_0x120feb['some'](_0x37bb7b=>_0x5abb7a['getFirstRange']()[_0x472b('0x125')](_0x37bb7b['getFirstRange']())))&&_0x120feb['every'](_0x435fd7=>_0x14585e[_0x472b('0x4e')](_0x965dfb=>_0x435fd7['getFirstRange']()[_0x472b('0x125')](_0x965dfb[_0x472b('0x41')]())));}}[_0x472b('0x128')](_0x29bea9){const _0x4999b6=Array[_0x472b('0x74')](_0x29bea9),_0x364f13=this[_0x472b('0x165')]({'skipNotAttached':!0x0}),_0x56ada2=_0x364f13[_0x472b('0x11b')](_0xe041c9=>!_0x29bea9[_0x472b('0x39')](_0xe041c9)),_0x1ad8a2=new Map(_0x4999b6[_0x472b('0xbc')](_0x20bcbe=>[_0x20bcbe,this[_0x472b('0x78')][_0x472b('0x97')](_0x20bcbe[_0x472b('0xc0')],_0x20bcbe[_0x472b('0xae')],_0x472b('0x173'))])),_0x4a37ff=new Map(_0x364f13[_0x472b('0xbc')](_0x3a9348=>[_0x3a9348,_0x3a9348[_0x472b('0x172')]()]));for(let _0xf8547f=0x0;_0xf8547f<_0x4999b6[_0x472b('0xb0')];_0xf8547f++){if(_0x58da74(this,_0x4999b6[_0xf8547f],_0x4999b6,_0xf8547f+0x1))return!0x0;}for(let _0x27dc67=0x0;_0x27dc67<_0x4999b6[_0x472b('0xb0')];_0x27dc67++){if(_0x58da74(this,_0x4999b6[_0x27dc67],_0x56ada2,0x0))return!0x0;}return!0x1;function _0x58da74(_0x527d40,_0x41691f,_0x363be4,_0x5230ba){for(let _0x33142f=_0x5230ba;_0x33142f<_0x363be4[_0x472b('0xb0')];_0x33142f++){const _0x2f86ef=_0x363be4[_0x33142f];if(_0x2f86ef['type']!==_0x41691f[_0x472b('0xc0')]||_0x2f86ef['author']['id']!==_0x41691f[_0x472b('0x16a')]['id']||_0x2f86ef[_0x472b('0xae')]!==_0x41691f[_0x472b('0xae')])continue;if(!Gt(_0x41691f,_0x2f86ef))continue;if(_0x472b('0xaa')==_0x41691f['type']&&_0x41691f[_0x472b('0xa3')][_0x472b('0x4c')]!=_0x2f86ef[_0x472b('0xa3')]['oldValue'])continue;if(_0x472b('0xaa')==_0x41691f['type']&&_0x527d40[_0x472b('0x67')](_0x41691f[_0x472b('0xa3')][_0x472b('0x85')]))continue;if('formatBlock'==_0x41691f[_0x472b('0xc0')]){const _0x17c4b8=_0x527d40[_0x472b('0xf6')][_0x472b('0x110')],_0x1849e9=_0x41691f['getContainedElement']();if(_0x1849e9&&(_0x17c4b8[_0x472b('0x146')][_0x472b('0xd0')](_0x1849e9)||_0x17c4b8[_0x472b('0x146')][_0x472b('0x61')](_0x1849e9)))continue;}const _0x5e757c=_0x1ad8a2[_0x472b('0x175')](_0x41691f),_0x1a07e2=_0x4a37ff[_0x472b('0x175')](_0x41691f),_0x1f40b5=_0x4a37ff[_0x472b('0x175')](_0x2f86ef),_0x287a66=_0x41691f[_0x472b('0x14d')]&&_0x41691f['commentThread'][_0x472b('0xb0')],_0x49c6d9=_0x2f86ef['commentThread']&&_0x2f86ef[_0x472b('0x14d')][_0x472b('0xb0')];if(!_0x287a66&&_0x5e757c(_0x1f40b5,_0x1a07e2))return _0x527d40[_0x472b('0xfa')](_0x2f86ef,_0x41691f),_0x4a37ff[_0x472b('0x63')](_0x41691f),!0x0;if(!_0x49c6d9&&_0x5e757c(_0x1a07e2,_0x1f40b5))return _0x527d40[_0x472b('0xfa')](_0x41691f,_0x2f86ef),_0x4a37ff[_0x472b('0x63')](_0x2f86ef),!0x0;}return!0x1;}}[_0x472b('0xfa')](_0x493094,_0x6d1964){if(_0x493094['isMultiRange'])for(const _0x3df0b1 of _0x6d1964[_0x472b('0x172')]())_0x493094['addRange'](_0x3df0b1);else{const _0x1f462c=_0x6d1964['getFirstRange']()[_0x472b('0xca')];this[_0x472b('0x160')](_0x493094,this['_model'][_0x472b('0x11c')](_0x493094[_0x472b('0x41')]()[_0x472b('0x4b')],_0x1f462c));}_0x6d1964[_0x472b('0x167')]();}[_0x472b('0x16b')](_0x46c5e6,_0x4ad229){const _0x14ae2d=_0x46c5e6['startsWith'](_0x472b('0xe1'))||_0x46c5e6[_0x472b('0x129')](_0x472b('0xaa'))?_0x472b('0x11'):_0x46c5e6['toUpperCase']();return _0xabc18a(this[_0x472b('0xf6')][_0x472b('0xe8')],_0x4ad229+'_'+_0x14ae2d+_0x472b('0xce'));}[_0x472b('0x166')](){const _0x1f7548=this['editor'];_0x2f07e9(this[_0x472b('0x60')],({left:_0x39d0ea,entered:_0x1a0951})=>{const _0x43b282=[];for(const _0x11d7a9 of _0x39d0ea){const {group:_0x487f6b,type:_0x135a15}=this[_0x472b('0x138')](_0x11d7a9[_0x472b('0x144')]);if(_0x472b('0x38')===_0x487f6b){_0x43b282[_0x472b('0x7')](this[_0x472b('0x16b')](_0x135a15,'LEAVE'));break;}}for(const _0x53ac6e of _0x1a0951){const {group:_0x2c34a7,type:_0x29bb13}=this[_0x472b('0x138')](_0x53ac6e[_0x472b('0x144')]);if(_0x472b('0x38')===_0x2c34a7){_0x43b282[_0x472b('0x7')](this['_getMarkerAnnouncementText'](_0x29bb13,'ENTER'));break;}}_0x43b282[_0x472b('0xb0')]&&_0x1f7548['ui'][_0x472b('0xc2')][_0x472b('0x82')](_0x472b('0x178'),_0x43b282[_0x472b('0x173')]('\x20'));});}[_0x472b('0xc8')](_0x572111){if(null!==this[_0x472b('0x8a')])return!0x1;const _0x1b57c3=this[_0x472b('0xf6')],_0x38a8c3=_0x1b57c3['model']['document'][_0x472b('0xd9')][_0x472b('0xee')]();if(0x0==_0x38a8c3[_0x472b('0xb0')])return!0x1;const _0x2b2c37=[],_0x292741=_0x38a8c3[_0x472b('0x11b')](_0x1ea1ce=>_0x472b('0xaa')==_0x1ea1ce[_0x472b('0xc0')]),_0x18fd1f=_0x38a8c3['filter'](_0x13d7af=>_0x472b('0x2b')==_0x13d7af[_0x472b('0xc0')]&&_0x472b('0xe5')!=_0x13d7af[_0x472b('0x144')]),_0x5f5d15=_0x38a8c3[_0x472b('0x11b')](_0x58083a=>_0x472b('0xed')==_0x58083a[_0x472b('0xc0')]&&'$text'!=_0x58083a[_0x472b('0x144')]);for(const _0xc2c047 of _0x292741)_0x2b2c37[_0x472b('0x7')]({'key':_0xc2c047['attributeKey'],'newValue':_0xc2c047['attributeNewValue'],'oldValue':_0xc2c047[_0x472b('0x21')],'range':_0x55536c(_0xc2c047[_0x472b('0x126')])});for(const _0x2e8d83 of _0x18fd1f){const _0x5afc82=_0x5f5d15[_0x472b('0x47')](_0x42d294=>_0x42d294[_0x472b('0xf')][_0x472b('0x125')](_0x2e8d83[_0x472b('0xf')]));_0x5afc82&&_0x2b2c37[_0x472b('0x7')]({'key':_0x472b('0x141'),'newValue':_0x2e8d83[_0x472b('0x144')],'oldValue':_0x5afc82[_0x472b('0x144')],'range':_0x1b57c3[_0x472b('0x110')][_0x472b('0xfb')](_0x2e8d83['position'][_0x472b('0x168')])});}return 0x0!=_0x2b2c37[_0x472b('0xb0')]&&this[_0x472b('0x174')](_0x572111,_0x2b2c37);function _0x55536c(_0x466b45){return null==_0x466b45['end'][_0x472b('0xfd')]&&_0x466b45[_0x472b('0xca')][_0x472b('0xc')]==_0x466b45[_0x472b('0x4b')][_0x472b('0x168')]?Ot(_0x466b45['start'][_0x472b('0x168')],_0x1b57c3['model']):_0x466b45;}}[_0x472b('0x17a')](_0xad5445){let _0xa61ebb=!0x1;const _0x1556a3=this['editor']['model']['document'][_0x472b('0xd9')][_0x472b('0xe4')]()[_0x472b('0x11b')](_0x42ce20=>_0x42ce20[_0x472b('0xa3')][_0x472b('0xc4')]&&_0x42ce20[_0x472b('0x144')]['startsWith']('suggestion:attribute:'));for(const _0xb5fd2a of _0x1556a3){const {subType:_0x8b1560,id:_0x5c1451}=this[_0x472b('0x138')](_0xb5fd2a[_0x472b('0x144')]),_0x1479e2=_0x8b1560[_0x472b('0x6f')]('|')[0x0];for(const _0x10f1ca of this[_0x472b('0x165')]({'skipNotAttached':!0x0}))_0x10f1ca['id']!=_0x5c1451&&'attribute'==_0x10f1ca['type']&&_0x10f1ca[_0x472b('0xa3')]&&_0x10f1ca[_0x472b('0xa3')]['key']==_0x1479e2&&_0x10f1ca[_0x472b('0x41')]()['isIntersecting'](_0xb5fd2a['data']['newRange'])&&(this[_0x472b('0x58')](_0x10f1ca,_0xb5fd2a['data']['newRange'],_0xad5445),_0xa61ebb=!0x0);}return _0xa61ebb;}[_0x472b('0x142')](_0x10666b){if(null!==this[_0x472b('0x8a')])return void _0x10666b();const _0xef51e9=this['editor'];this[_0x472b('0x8a')]=_0xef51e9[_0x472b('0x110')][_0x472b('0x11d')][_0x472b('0xd')],_0x10666b();const _0x39ec93=new Map();for(const _0x4f3b65 of _0xef51e9[_0x472b('0x110')][_0x472b('0x11d')][_0x472b('0x115')][_0x472b('0x7b')](this[_0x472b('0x8a')]))if([_0x472b('0x45'),_0x472b('0xba'),_0x472b('0x3a'),_0x472b('0x170')][_0x472b('0xf1')](_0x4f3b65['type'])){const _0x5c0da3=_0x4f3b65[_0x472b('0x31')],_0x59f92e=_0x39ec93['get'](_0x5c0da3)||[];_0x59f92e['push'](_0x4f3b65),_0x39ec93[_0x472b('0x8c')](_0x5c0da3,_0x59f92e);}this[_0x472b('0x8a')]=null;for(const [_0x15202b,_0x2fe833]of _0x39ec93){const _0x1c0a3a=_0x3bbf7e();_0xef51e9[_0x472b('0x110')][_0x472b('0xa5')](_0x15202b,_0x379c59=>{const _0x7d014c=[];for(const _0x4f252b of _0x2fe833){let _0x5d059b,_0x2b7f87,_0x23d170,_0x7684e3;if(_0x472b('0x45')==_0x4f252b[_0x472b('0xc0')]){const _0x48d26e=_0x4f252b;_0x5d059b=Ot(_0x48d26e[_0x472b('0xf')][_0x472b('0x168')],_0xef51e9[_0x472b('0x110')]),_0x2b7f87=_0x472b('0x141'),_0x23d170=_0x48d26e['newName'],_0x7684e3=_0x48d26e[_0x472b('0x164')];}else{const _0x3a5719=_0x4f252b,_0x64c71a=this[_0x472b('0x67')](_0x3a5719[_0x472b('0x85')]),_0xac59b3=this['_inlineAttributeKeys'][_0x472b('0x39')](_0x3a5719[_0x472b('0x85')]);if(!_0x64c71a&&!_0xac59b3)continue;_0x5d059b=_0x64c71a?Ot(_0x3a5719['range'][_0x472b('0x4b')][_0x472b('0x168')],_0xef51e9[_0x472b('0x110')]):_0x3a5719['range'],_0x2b7f87=_0x3a5719['key'],_0x23d170=_0x472b('0x3a')==_0x4f252b['type']?void 0x0:_0x3a5719[_0x472b('0x136')],_0x7684e3=_0x3a5719[_0x472b('0x4c')];}this['markAttributeChange'](_0x5d059b,_0x2b7f87,_0x7684e3,_0x23d170,{'groupId':_0x1c0a3a}),_0x7d014c['push']({'range':_0x5d059b,'key':_0x2b7f87,'newValue':_0x23d170,'oldValue':_0x7684e3});}this['_reduceExistingSuggestions'](_0x379c59,_0x7d014c);});}}['_reduceExistingSuggestions'](_0x54f7bb,_0x25848d){if(0x0==_0x25848d['length'])return!0x1;let _0x4bbd31=!0x1;for(const _0x5a8af7 of _0x25848d){const _0x4833ae=this[_0x472b('0x49')](_0x5a8af7[_0x472b('0x126')],_0x472b('0xaa'))[_0x472b('0x11b')](_0x51ef5f=>!_0x51ef5f[_0x472b('0x162')][_0x472b('0xf4')])[_0x472b('0xbc')](_0x5039f1=>_0x5039f1['suggestion']),_0x3f304b=_0x35e677({'newValue':_0x5a8af7[_0x472b('0x136')]});_0x4833ae['filter'](_0x148f7e=>{const [_0x962d4,_0x383d00]=_0x148f7e[_0x472b('0xae')][_0x472b('0x6f')]('|');return _0x962d4==_0x5a8af7[_0x472b('0x85')]&&_0x383d00!=_0x3f304b;})[_0x472b('0x22')](_0x5c541b=>{this['_reduceSuggestionAttributeRange'](_0x5c541b,_0x5a8af7[_0x472b('0x126')],_0x54f7bb),_0x4bbd31=!0x0;});}return _0x4bbd31;}[_0x472b('0x58')](_0x43703f,_0x4c39a2,_0x52b93e){const _0x42b798=_0x43703f[_0x472b('0x41')]()[_0x472b('0x116')](_0x4c39a2);0x0!==_0x42b798[_0x472b('0xb0')]?0x1!==_0x42b798[_0x472b('0xb0')]?this[_0x472b('0x15')](_0x43703f,_0x4c39a2[_0x472b('0x4b')],_0x4c39a2[_0x472b('0xca')]):this[_0x472b('0x160')](_0x43703f,_0x42b798[0x0]):_0x52b93e[_0x472b('0x12')](_0x43703f[_0x472b('0xe9')]());}}class Bt{constructor(_0x300daf){this[_0x472b('0x179')]=_0x300daf,this[_0x472b('0x60')]=_0x300daf[_0x472b('0x110')],this['_customCallbacks']=new Map(),this[_0x472b('0x100')]=new Map(),this['_registerDefaultCallbacks']();}[_0x472b('0x155')](_0x2fbdab,_0x5f09bc,_0x250a0f,_0x108858,_0x1c55c0,_0x1333ca){return new _0x38bd65(this[_0x472b('0x60')],{'type':_0x2fbdab,'subType':_0x5f09bc,'id':_0x250a0f,'author':_0x108858,'creator':_0x108858,'attributes':_0x1c55c0,'onAttributesChange':_0x1333ca,'onAccept':(..._0x27b52a)=>this[_0x472b('0x97')](_0x2fbdab,_0x5f09bc,_0x472b('0xb5'))(..._0x27b52a),'onDiscard':(..._0x56fd80)=>this['getSuggestionCallback'](_0x2fbdab,_0x5f09bc,_0x472b('0x1'))(..._0x56fd80)});}[_0x472b('0x14a')](_0x160f3a,_0x34d59f,_0x329c24,_0x4d29f4){const _0x575650=_0x160f3a+':'+_0x34d59f+':'+_0x329c24;this[_0x472b('0xe')][_0x472b('0x8c')](_0x575650,_0x4d29f4);}[_0x472b('0x97')](_0x1d0704,_0x2821c7,_0x559448){const _0x26e4f6=_0x1d0704+':'+_0x2821c7+':'+_0x559448;return this[_0x472b('0xe')][_0x472b('0x175')](_0x26e4f6)||this[_0x472b('0x100')]['get'](_0x1d0704+':'+_0x559448);}[_0x472b('0x14c')](){const _0x527328=()=>!0x1,_0x4f5405=_0x10aa97=>{_0x10aa97[_0x472b('0x114')]((_0x2521da,_0x47e13e)=>_0x2521da[_0x472b('0x4b')][_0x472b('0x153')](_0x47e13e[_0x472b('0x4b')])?0x1:-0x1),this[_0x472b('0x60')][_0x472b('0xbf')](_0x533cf4=>{for(const _0x5d3219 of _0x10aa97){let _0x584181;_0x584181=_0x5d3219[_0x472b('0xca')][_0x472b('0xfc')]&&_0x5d3219[_0x472b('0xca')][_0x472b('0xc')]==_0x5d3219['start'][_0x472b('0x168')]?_0x533cf4[_0x472b('0xa1')](_0x5d3219[_0x472b('0x4b')][_0x472b('0x168')],'on'):_0x533cf4[_0x472b('0xa1')](_0x5d3219),this[_0x472b('0x60')][_0x472b('0x73')](_0x584181,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x187b25=(_0x11c0d6,_0x2f86e0)=>{_0x2f86e0&&this[_0x472b('0x60')]['change'](_0xdc70a0=>{const {commandName:_0x413f0c,commandParams:_0x2bef0f=[]}=_0x2f86e0,_0x192cac=_0x11c0d6[_0x472b('0xbc')](_0x5e2405=>(xt(_0x5e2405)&&(_0x5e2405=this[_0x472b('0x60')]['createRange'](_0x5e2405[_0x472b('0xca')])),_0x5e2405))[_0x472b('0x11b')](_0x5f5a4d=>_0x472b('0x2e')!==_0x5f5a4d[_0x472b('0x11f')]['rootName']);if(_0x192cac[_0x472b('0xb0')]<0x1)return;const _0xd973ec=Array[_0x472b('0x74')](this['_model'][_0x472b('0x11d')]['selection'][_0x472b('0x172')]())[_0x472b('0xbc')](_0x50fc0c=>_0x2e2d4d[_0x472b('0xf5')](_0x50fc0c));_0xdc70a0[_0x472b('0x2c')](_0x192cac);for(const _0x28ada4 of this['_editor'][_0x472b('0x48')]['commands']())_0x28ada4[_0x472b('0xcb')]();_0x2bef0f[_0x472b('0x7')]({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x413f0c,..._0x2bef0f);const _0x424e56=_0xd973ec[_0x472b('0x11b')](_0x122a7c=>_0x472b('0x2e')!=_0x122a7c[_0x472b('0x11f')]['rootName']);_0x424e56['length']>0x0&&_0xdc70a0[_0x472b('0x2c')](_0x424e56);for(const _0x56ef7 of _0xd973ec)_0x56ef7['detach']();});},_0x279e5d=(_0x35b4ad,_0x2fc77f)=>0x1==_0x35b4ad['length']&&0x1==_0x2fc77f[_0x472b('0xb0')]&&_0x35b4ad[0x0]['end'][_0x472b('0x125')](_0x2fc77f[0x0]['start']),_0x450e71=(_0x57e61b,_0x15e517,_0x333160,_0x40838e)=>Vt(_0x57e61b,_0x15e517,_0x333160,_0x40838e,this['_model'])?[_0x57e61b,_0x15e517]:Vt(_0x15e517,_0x57e61b,_0x40838e,_0x333160,this[_0x472b('0x60')])?[_0x15e517,_0x57e61b]:null;this[_0x472b('0x100')]['set'](_0x472b('0x4a'),_0x527328),this[_0x472b('0x100')]['set'](_0x472b('0x70'),_0x4f5405),this[_0x472b('0x100')][_0x472b('0x8c')](_0x472b('0x92'),_0x279e5d),this[_0x472b('0x100')][_0x472b('0x8c')](_0x472b('0x122'),_0x450e71),this[_0x472b('0x100')]['set']('deletion:accept',_0x4f5405),this['_defaultCallbacks'][_0x472b('0x8c')](_0x472b('0xad'),_0x527328),this[_0x472b('0x100')]['set'](_0x472b('0x132'),_0x279e5d),this[_0x472b('0x100')][_0x472b('0x8c')](_0x472b('0x15e'),_0x450e71),this[_0x472b('0x100')][_0x472b('0x8c')]('formatInline:accept',_0x187b25),this[_0x472b('0x100')]['set']('formatInline:discard',_0x527328),this['_defaultCallbacks'][_0x472b('0x8c')](_0x472b('0x35'),_0x279e5d),this[_0x472b('0x100')][_0x472b('0x8c')](_0x472b('0x108'),_0x527328),this[_0x472b('0x100')][_0x472b('0x8c')]('formatBlock:accept',_0x187b25),this[_0x472b('0x100')][_0x472b('0x8c')]('formatBlock:discard',_0x527328),this['_defaultCallbacks'][_0x472b('0x8c')](_0x472b('0x36'),_0x279e5d),this[_0x472b('0x100')][_0x472b('0x8c')](_0x472b('0x4'),_0x527328),this[_0x472b('0x100')]['set'](_0x472b('0x5'),_0x527328),this[_0x472b('0x100')]['set'](_0x472b('0x148'),(_0x56df9e,_0x3290e1)=>{if(!_0x3290e1)return;const _0x4b4ae9=this[_0x472b('0x179')]['plugins'][_0x472b('0x175')](p);this[_0x472b('0x60')][_0x472b('0xbf')](_0x1e1053=>{if(_0x472b('0x141')==_0x3290e1[_0x472b('0x85')])for(const _0x538ecf of _0x56df9e){const _0x217c4b=_0x538ecf[_0x472b('0x4b')][_0x472b('0x168')],_0x46044f=_0x3290e1[_0x472b('0x4c')];_0x1e1053[_0x472b('0x45')](_0x217c4b,_0x46044f);}else{if(_0x4b4ae9[_0x472b('0x67')](_0x3290e1[_0x472b('0x85')]))for(const _0x4f14e2 of _0x56df9e)void 0x0!==_0x3290e1[_0x472b('0x4c')]?_0x1e1053[_0x472b('0x102')](_0x3290e1[_0x472b('0x85')],_0x3290e1['oldValue'],_0x4f14e2[_0x472b('0x4b')][_0x472b('0x168')]):_0x1e1053[_0x472b('0x3a')](_0x3290e1['key'],_0x4f14e2['start']['nodeAfter']);else for(const _0xddadff of _0x56df9e)_0x3290e1[_0x472b('0x4c')]?_0x1e1053[_0x472b('0x102')](_0x3290e1[_0x472b('0x85')],_0x3290e1[_0x472b('0x4c')],_0xddadff):_0x1e1053[_0x472b('0x3a')](_0x3290e1[_0x472b('0x85')],_0xddadff);}});}),this['_defaultCallbacks'][_0x472b('0x8c')](_0x472b('0xf9'),_0x279e5d);}}function Tt(_0xfdb051,_0xfb6f0a,_0x55337b){for(const _0x6075c5 of _0xfb6f0a[_0x472b('0xc')][_0x472b('0xf3')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x6075c5[_0x472b('0x11f')]==_0x6075c5)return!0x1;if(!_0x55337b['containsItem'](_0x6075c5))return!0x1;if(_0xfdb051[_0x472b('0xd0')](_0x6075c5)||_0xfdb051[_0x472b('0x61')](_0x6075c5))return!0x0;}return!0x1;}function xt(_0x177ee8){return _0x177ee8[_0x472b('0xca')][_0x472b('0xc')]==_0x177ee8['start']['nodeAfter']&&_0x177ee8[_0x472b('0xca')][_0x472b('0x14b')];}function Et(_0x4feef5,_0x2fc861,_0x3cd3ee,_0x195268){const _0x26a127=_0x3dcb06=>!_0x3dcb06[_0x472b('0x3c')]['is']('$textProxy')&&!_0x195268[_0x472b('0xd0')](_0x3dcb06[_0x472b('0x3c')]),_0x251d4d=_0x4feef5[_0x472b('0x4b')][_0x472b('0xeb')](_0x26a127),_0x375ab1=_0x4feef5['end'][_0x472b('0xeb')](_0x26a127,{'direction':_0x472b('0xcd')});return(!_0x4feef5['start']['isEqual'](_0x251d4d)||!_0x4feef5[_0x472b('0xca')]['isEqual'](_0x375ab1))&&(_0x251d4d[_0x472b('0x153')](_0x375ab1)?_0x3cd3ee[_0x472b('0x13')](_0x2fc861,{'range':_0x3cd3ee[_0x472b('0x11c')](_0x251d4d,_0x375ab1)}):_0x3cd3ee['removeMarker'](_0x2fc861),!0x0);}function Rt(_0x5ecac4){return _0x35e677(_0x5ecac4);}function Ut(_0x2e7657){const _0x5c6f0c=_0x2e7657[_0x472b('0x4b')]['nodeAfter'];return _0x5c6f0c&&_0x5c6f0c['is']('element');}function Ot(_0x542597,_0x524a15){const _0x545207=_0x524a15[_0x472b('0x146')][_0x472b('0xd0')](_0x542597)||_0x524a15['schema']['isSelectable'](_0x542597);return _0x524a15['createRange'](_0x524a15[_0x472b('0xf8')](_0x542597,'before'),_0x545207?_0x524a15[_0x472b('0x9e')](_0x542597):_0x524a15['createPositionAt'](_0x542597,_0x472b('0xca')));}function Vt(_0x498451,_0x2b1127,_0x5816ec,_0x32d99c,_0x565849){if(!Gt(_0x498451,_0x2b1127))return!0x1;if(_0x5816ec[_0x472b('0xca')][_0x472b('0x125')](_0x32d99c[_0x472b('0x4b')]))return!0x0;if(_0x498451[_0x472b('0xc0')]!=_0x2b1127[_0x472b('0xc0')])return!0x1;if(!_0x5816ec[_0x472b('0xca')]['isTouching'](_0x32d99c['start']))return!0x1;const _0x6aa77f=_0x565849['createRange'](_0x5816ec[_0x472b('0xca')],_0x32d99c[_0x472b('0x4b')])[_0x472b('0x84')]();for(const _0x35b61b of _0x6aa77f)if([_0x472b('0x2a'),_0x472b('0x130')][_0x472b('0xf1')](_0x35b61b[_0x472b('0xc0')])&&_0x565849['schema'][_0x472b('0x61')](_0x35b61b[_0x472b('0x3c')]))return!0x1;return!0x0;}function Gt(_0x52bda9,_0x91c1a5){return!(!_0x52bda9['_isDataLoaded']||!_0x91c1a5['_isDataLoaded'])&&_0x276225(_0x52bda9['attributes'],_0x91c1a5[_0x472b('0xa9')]);}function Ft(_0x1b62fb,_0x7adc76){const _0xecf975=Pt(_0x1b62fb[_0x472b('0xa9')]),_0x2793f4=Pt(_0x7adc76);if(!_0x1b62fb[_0x472b('0x5b')])return!0x1;for(const _0x4677fa of Object[_0x472b('0x6e')](_0x2793f4))if(!_0x276225(_0xecf975[_0x4677fa],_0x2793f4[_0x4677fa]))return!0x1;return!0x0;}function Pt(_0x4ab0d7){const _0x3fa40e=Object['assign']({},_0x4ab0d7);return delete _0x3fa40e[_0x472b('0x95')],delete _0x3fa40e[_0x472b('0xda')],_0x3fa40e;}function Lt(_0x39f695){return _0x472b('0xaa')==_0x39f695[_0x472b('0xc0')]?_0x39f695['subType'][_0x472b('0x6f')]('|')[0x0]:null;}