@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231215.0 → 0.0.0-nightly-20231217.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 (135) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/build/track-changes.js +1 -1
  3. package/package.json +4 -3
  4. package/src/augmentation.d.ts +2 -2
  5. package/src/commands/acceptsuggestioncommand.d.ts +2 -2
  6. package/src/commands/acceptsuggestioncommand.js +1 -1
  7. package/src/commands/discardsuggestioncommand.d.ts +2 -2
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
  10. package/src/commands/executeonallsuggestionscommand.js +1 -1
  11. package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
  12. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  13. package/src/commands/trackchangescommand.d.ts +1 -1
  14. package/src/commands/trackchangescommand.js +1 -1
  15. package/src/index.d.ts +12 -12
  16. package/src/index.js +1 -1
  17. package/src/integrations/aiassistant.d.ts +1 -1
  18. package/src/integrations/aiassistant.js +1 -1
  19. package/src/integrations/alignment.d.ts +1 -1
  20. package/src/integrations/alignment.js +1 -1
  21. package/src/integrations/basicstyles.d.ts +1 -1
  22. package/src/integrations/basicstyles.js +1 -1
  23. package/src/integrations/blockquote.d.ts +1 -1
  24. package/src/integrations/blockquote.js +1 -1
  25. package/src/integrations/ckbox.d.ts +1 -1
  26. package/src/integrations/ckbox.js +1 -1
  27. package/src/integrations/codeblock.d.ts +1 -1
  28. package/src/integrations/codeblock.js +1 -1
  29. package/src/integrations/comments.d.ts +1 -1
  30. package/src/integrations/comments.js +1 -1
  31. package/src/integrations/deletecommand.d.ts +2 -2
  32. package/src/integrations/deletecommand.js +1 -1
  33. package/src/integrations/documentlist.d.ts +1 -1
  34. package/src/integrations/documentlist.js +1 -1
  35. package/src/integrations/documentlistproperties.d.ts +3 -3
  36. package/src/integrations/documentlistproperties.js +1 -1
  37. package/src/integrations/entercommand.d.ts +2 -2
  38. package/src/integrations/entercommand.js +1 -1
  39. package/src/integrations/findandreplace.d.ts +1 -1
  40. package/src/integrations/findandreplace.js +1 -1
  41. package/src/integrations/font.d.ts +1 -1
  42. package/src/integrations/font.js +1 -1
  43. package/src/integrations/formatpainter.d.ts +1 -1
  44. package/src/integrations/formatpainter.js +1 -1
  45. package/src/integrations/heading.d.ts +1 -1
  46. package/src/integrations/heading.js +1 -1
  47. package/src/integrations/highlight.d.ts +1 -1
  48. package/src/integrations/highlight.js +1 -1
  49. package/src/integrations/horizontalline.d.ts +1 -1
  50. package/src/integrations/horizontalline.js +1 -1
  51. package/src/integrations/htmlembed.d.ts +1 -1
  52. package/src/integrations/htmlembed.js +1 -1
  53. package/src/integrations/image.d.ts +1 -1
  54. package/src/integrations/image.js +1 -1
  55. package/src/integrations/imagereplace.d.ts +1 -1
  56. package/src/integrations/imagereplace.js +1 -1
  57. package/src/integrations/imagestyle.d.ts +1 -1
  58. package/src/integrations/imagestyle.js +1 -1
  59. package/src/integrations/importword.d.ts +1 -1
  60. package/src/integrations/importword.js +1 -1
  61. package/src/integrations/indent.d.ts +1 -1
  62. package/src/integrations/indent.js +1 -1
  63. package/src/integrations/inputcommand.d.ts +2 -2
  64. package/src/integrations/inputcommand.js +1 -1
  65. package/src/integrations/link.d.ts +1 -1
  66. package/src/integrations/link.js +1 -1
  67. package/src/integrations/list.d.ts +1 -1
  68. package/src/integrations/list.js +1 -1
  69. package/src/integrations/listproperties.d.ts +3 -3
  70. package/src/integrations/listproperties.js +1 -1
  71. package/src/integrations/mediaembed.d.ts +1 -1
  72. package/src/integrations/mediaembed.js +1 -1
  73. package/src/integrations/mention.d.ts +1 -1
  74. package/src/integrations/mention.js +1 -1
  75. package/src/integrations/pagebreak.d.ts +1 -1
  76. package/src/integrations/pagebreak.js +1 -1
  77. package/src/integrations/paragraph.d.ts +1 -1
  78. package/src/integrations/paragraph.js +1 -1
  79. package/src/integrations/removeformat.d.ts +1 -1
  80. package/src/integrations/removeformat.js +1 -1
  81. package/src/integrations/restrictededitingmode.d.ts +1 -1
  82. package/src/integrations/restrictededitingmode.js +1 -1
  83. package/src/integrations/shiftentercommand.d.ts +2 -2
  84. package/src/integrations/shiftentercommand.js +1 -1
  85. package/src/integrations/standardeditingmode.d.ts +1 -1
  86. package/src/integrations/standardeditingmode.js +1 -1
  87. package/src/integrations/style.d.ts +1 -1
  88. package/src/integrations/style.js +1 -1
  89. package/src/integrations/table.d.ts +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tablecaption.d.ts +2 -2
  92. package/src/integrations/tablecaption.js +1 -1
  93. package/src/integrations/tableclipboard.d.ts +2 -2
  94. package/src/integrations/tableclipboard.js +1 -1
  95. package/src/integrations/tablecolumnresize.d.ts +4 -4
  96. package/src/integrations/tablecolumnresize.js +1 -1
  97. package/src/integrations/tableheadings.d.ts +2 -2
  98. package/src/integrations/tableheadings.js +1 -1
  99. package/src/integrations/tablemergesplit.d.ts +2 -2
  100. package/src/integrations/tablemergesplit.js +1 -1
  101. package/src/integrations/tableofcontents.d.ts +1 -1
  102. package/src/integrations/tableofcontents.js +1 -1
  103. package/src/integrations/tableproperties.d.ts +4 -4
  104. package/src/integrations/tableproperties.js +1 -1
  105. package/src/integrations/template.d.ts +1 -1
  106. package/src/integrations/template.js +1 -1
  107. package/src/integrations/title.d.ts +1 -1
  108. package/src/integrations/title.js +1 -1
  109. package/src/integrations/undo.d.ts +1 -1
  110. package/src/integrations/undo.js +1 -1
  111. package/src/integrations/utils.d.ts +3 -3
  112. package/src/integrations/utils.js +1 -1
  113. package/src/suggestion.d.ts +5 -5
  114. package/src/suggestion.js +1 -1
  115. package/src/suggestiondescriptionfactory.d.ts +3 -3
  116. package/src/suggestiondescriptionfactory.js +1 -1
  117. package/src/trackchanges.d.ts +5 -5
  118. package/src/trackchanges.js +1 -1
  119. package/src/trackchangesconfig.d.ts +1 -1
  120. package/src/trackchangesdata.d.ts +2 -2
  121. package/src/trackchangesdata.js +1 -1
  122. package/src/trackchangesediting.d.ts +53 -53
  123. package/src/trackchangesediting.js +1 -1
  124. package/src/trackchangesui.d.ts +3 -3
  125. package/src/trackchangesui.js +1 -1
  126. package/src/ui/suggestioncontroller.d.ts +5 -5
  127. package/src/ui/suggestioncontroller.js +1 -1
  128. package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
  129. package/src/ui/view/basesuggestionthreadview.js +1 -1
  130. package/src/ui/view/suggestionthreadview.d.ts +5 -5
  131. package/src/ui/view/suggestionthreadview.js +1 -1
  132. package/src/utils/common-translations.d.ts +1 -1
  133. package/src/utils/common-translations.js +1 -1
  134. package/src/utils/utils.d.ts +4 -4
  135. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30be=['accept','size','getContainedElement','warn','hasComments','_SUGGESTION_ANNOUNCEMENT','_suggestions','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.','fire','_setSuggestionData','document','_customCallbacks','change:activeMarkers','includes','next','attribute:','getFirstMarker','rethrowUnexpectedError','@external','CommentsRepository','newName','from','chain','attribute:accept','applyOperation','value','_enableDefaultAttributesIntegration','getShiftedBy','registerCustomCallback','_cutOutSuggestionMarker','normal','discard','isAtEnd','subType','insertion:chain','getOperations','_suggestionState','formatInline','_saved','markerToHighlight','clear','rootName','isRemovable','getIntersection','_initAriaMarkerChangeAnnouncements','containsRange','writer','editing','suggestion:attribute:','has','createPositionAt','selection','formatBlock:chain','getAllAdjacentSuggestions','isSelectable','setAttribute','discardAllSuggestions','isIntersecting','isInContent','containsRangeInObject','_getMarkerAnnouncementText','isBefore','values','stop','authoredAt','group','containsItem','always','setTo','suggestion-type','track-changes-user-not-found','discardSelectedSuggestions','_getAuthorFromId','set','refresh','batch','formatInline:','isIntersectingWithRange','insert','getChanges','isArray','getRange','trackChangesCommand','listenTo','elementStart','addSuggestion','getCustomProperty','every','unbindElementFromMarkerName','execute','_rangeIsInLocalUserInsertion','commands','attributes','_recordAttributeSuggestionsFromVersion','createdAt','forceDefaultExecution','_isDataLoaded','attributeOldValue','track-changes-adapter-missing-getsuggestion','markAttributeChange','format','split','isExternal','discardSuggestion','key','assign','_commentsRepository','meta','deletion:join','consume','_refreshSuggestionsChain','_adapter','_handleNewSuggestionMarker','forEach','nodeAfter','mapper','low','author','trackChanges','forward','howMany','comments','root','plugins','addHighlight','removeClass','attribute','isObject','ENTER','stopListening','addRange','TrackChangesEditing','markInlineFormat','element','_processAttributeSuggestions','isBlock','formatInline:discard','change:_saved','delete','range','addUser','unshift','getChangedMarkers','addMarker:suggestion','insertion:join','isTouching','originalSuggestionId','editor','removeComment','change','acceptSuggestion','getAttribute','dataReady','previous','change:data','notReady','enqueueChange','enableReadOnlyMode','_joinSuggestions','editingDowncast','consumable','push','_descriptionFactory','options','dataDowncast','_reduceExistingSuggestions','_mergeNestedSuggestions','ck-suggestion-marker','unbind','insertContent','ariaLiveAnnouncer','formatBlock:discard','newRange','keys','addAttribute','$marker','init','dataToMarker','removeMarkers','suggestionLoaded','_processAttributeChanges','deletion:chain','trackChanges.trackFormatChanges','createRangeOn','_registerInlineAttribute','_addSuggestionMarker','name','find','_removeSuggestion','_refreshAttributeSuggestionsChain','define','newValue','backward','markerName','suggestion:','commentThread','some','ck-suggestion-marker--active','_checkSuggestionCorrectness','markMultiRangeDeletion','suggestionChanged','getDifference','setSelection','changeAttribute','deletion:','addMarkerName','deleteContent','_inlineAttributeKeys','reconvertMarker','showSuggestionHighlights','isEqual','widget','markDeletion','multipleBlocks','createPositionBefore','detach','_recordAttributeChanges','suggestionUnloaded','Users','removed','_breakSuggestionMarker','removeAttribute','createRange','toViewElement','rejected','item','conversion','requires','_suggestionFactory','getCommentThread','formatBlock','for','then','addMarker','addSuggestionData','nodeBefore','_isBlockAttribute','join','deletion','formatBlock:join','splitPosition','ck-suggestion-marker-formatBlock','never','_findSuggestions','markerNameToElements','markerReady','end','getSuggestionCallback','attributeKey','before','locale','announce','containsPosition','track-changes-suggestion-data-mismatch','getAncestors','insertion:','addCommentThread','multi','getSuggestions','head','update:suggestion','formatBlock:accept','oldRange','accepted','createRangeIn','elementEnd','getMultiRangeId','removeMarker','removeMarker:suggestion:formatBlock','oldValue','LEAVE','markInsertion','attributeNewValue','_splitMarkerName','getNearestSelectionRange','registerPostFixer','isInsideObject','_registerDefaultCallbacks','attribute:join','addComment','rename','containerElement','$graveyard','markMultiRangeBlockFormat','updateSuggestion','track-changes-adapter-already-set','high','substring','filter','createPositionAfter','splice','fromCharCode','pop','acceptAllSuggestions','add','createSelection','history','parent','_trackFormatChanges','isNextTo','_registerBlockAttribute','acceptSelectedSuggestions','model','getRanges','enableCommand','_setSuggestionRange','insertion','isAfter','isLimit','isLocal','addClass','_isForcedDefaultExecutionBlock','buildSuggestion','isMultiRange','after','clone','external:','data-suggestion','addMarker:suggestion:attribute','config','length','_updateSuggestionData','_reduceSuggestionAttributeRange','activeMarkers','_model','isAtStart','highest','getSuggestion','data','get','position','_getSuggestionData','_joinWithAdjacentSuggestions','formatInline:join','_blockAttributeKeys','differ','trackChanges.mergeNestedSuggestions','type','tablePasteChainId','deletion:discard','formatGroupId','start','fetchCommentThread','isUndo','isOwn','_addThreadToSuggestion','getLastMatchingPosition','remove','open','marker-count','suggestion','adapter','upcast','schema','groupId','formatBlock:','getMarkers','getUser','_defaultCallbacks','bindElementToMarker','default','updateMarker','addMarker:suggestion:formatBlock','getWalker','skipNestingCheck','_enabledCommands','markers','catch','PENDING_ACTION_SUGGESTION','startsWith','getFirstRange','creator','$elementName','_editor','ready','isCollapsed','getItems','$text','toJSON','sort','_createSuggestion','return','track-changes-enable-command-twice','collaboration.channelId','map','insertion:discard'];(function(_0xc91a1c,_0x30bef7){const _0xea0491=function(_0x38e5c8){while(--_0x38e5c8){_0xc91a1c['push'](_0xc91a1c['shift']());}};_0xea0491(++_0x30bef7);}(_0x30be,0x98));const _0xea04=function(_0xc91a1c,_0x30bef7){_0xc91a1c=_0xc91a1c-0x0;let _0xea0491=_0x30be[_0xc91a1c];return _0xea0491;};import{Plugin as _0x5930ca,PendingActions as _0xf01f44}from'ckeditor5/src/core';import{LiveRange as _0x567f7b}from'ckeditor5/src/engine';import{CKEditorError as _0x588824,uid as _0x5973ad,priorities as _0x2a3d94,logWarning as _0x33f7d9}from'ckeditor5/src/utils';import{toWidget as _0x1f8dd9}from'ckeditor5/src/widget';import{Users as _0x431167,hashObject as _0x5a38d7,surroundingMarkersDetector as _0x484966}from'ckeditor5-collaboration/src/collaboration-core';import _0x4ba7bf from'./commands/trackchangescommand';import _0x270082 from'./commands/acceptsuggestioncommand';import _0xc4eca8 from'./commands/discardsuggestioncommand';import _0x35da60 from'./commands/executeonallsuggestionscommand';import _0x181273 from'./commands/executeonselectedsuggestionscommand';import _0x5b9956 from'./suggestion';import _0x3200e3 from'./suggestiondescriptionfactory';import _0x4dc6a9 from'./integrations/aiassistant';import _0x2cb92a from'./integrations/alignment';import _0x500d99 from'./integrations/basicstyles';import _0x2e1112 from'./integrations/blockquote';import _0x52219f from'./integrations/ckbox';import _0x2d5c8f from'./integrations/codeblock';import _0x5e5989 from'./integrations/comments';import _0x45fd5e from'./integrations/deletecommand';import _0x301d5a from'./integrations/documentlist';import _0x3e166c from'./integrations/documentlistproperties';import _0x5319ab from'./integrations/entercommand';import _0x534f92 from'./integrations/findandreplace';import _0x2b4cd6 from'./integrations/font';import _0x34bf17 from'./integrations/formatpainter';import _0x3a9aed from'./integrations/heading';import _0xb7f293 from'./integrations/highlight';import _0x8be87c from'./integrations/horizontalline';import _0x37dc8c from'./integrations/htmlembed';import _0x357ef4 from'./integrations/image';import _0x43ece5 from'./integrations/imagereplace';import _0x48d8ed from'./integrations/imagestyle';import _0x5d85d3 from'./integrations/importword';import _0x18f729 from'./integrations/indent';import _0x4028e6 from'./integrations/inputcommand';import _0x3491e1 from'./integrations/link';import _0x1ad2f4 from'./integrations/list';import _0x4546c7 from'./integrations/listproperties';import _0x3024ba from'./integrations/mediaembed';import _0x43210e from'./integrations/mention';import _0x35babd from'./integrations/pagebreak';import _0x28aef4 from'./integrations/paragraph';import _0x1a2bb2 from'./integrations/removeformat';import _0xa9f070 from'./integrations/restrictededitingmode';import _0x457ca8 from'./integrations/shiftentercommand';import _0x405ec3 from'./integrations/standardeditingmode';import _0x5c627a from'./integrations/style';import _0x318d75 from'./integrations/table';import _0x1c3958 from'./integrations/tablemergesplit';import _0x1a308b from'./integrations/tableheadings';import _0x531d58 from'./integrations/tableclipboard';import _0x553f65 from'./integrations/tablecolumnresize';import _0x261ae2 from'./integrations/template';import _0x141efd from'./integrations/tableofcontents';import _0x2fc27c from'./integrations/title';import _0x581115 from'./integrations/undo';import _0x4cfe4f from'./integrations/tablecaption';import _0x37f636 from'./integrations/tableproperties';import{getTranslation as _0x4b9969}from'./utils/common-translations';import{isEqual as _0x2f12fa,omit as _0x5282d2}from'lodash-es';export const renameAttributeKey=_0xea04('0xdc');export default class p extends _0x5930ca{static get[_0xea04('0x4b')](){return[_0xea04('0xfd'),_0x431167,_0xf01f44,_0x4dc6a9,_0x2cb92a,_0x500d99,_0x2e1112,_0x52219f,_0x2d5c8f,_0x5e5989,_0x45fd5e,_0x301d5a,_0x3e166c,_0x5319ab,_0x534f92,_0x2b4cd6,_0x34bf17,_0x3a9aed,_0xb7f293,_0x8be87c,_0x37dc8c,_0x357ef4,_0x48d8ed,_0x43ece5,_0x5d85d3,_0x18f729,_0x4028e6,_0x3491e1,_0x1ad2f4,_0x4546c7,_0x3024ba,_0x43210e,_0x35babd,_0x28aef4,_0x1a2bb2,_0xa9f070,_0x457ca8,_0x405ec3,_0x5c627a,_0x318d75,_0x1c3958,_0x1a308b,_0x4cfe4f,_0x531d58,_0x553f65,_0x141efd,_0x37f636,_0x261ae2,_0x2fc27c,_0x581115];}static get['pluginName'](){return _0xea04('0x16d');}constructor(_0x304d39){function _0x588d32(_0x58af01){return _0x58af01[_0xea04('0xe8')](_0x2fb1c6=>String[_0xea04('0x8b')](_0x2fb1c6))['join']('');}super(_0x304d39),this[_0xea04('0x147')]=null,this[_0xea04('0x133')](_0xea04('0xab'),[]),this['on'](_0xea04('0xf6'),(_0x551814,_0x3dfb21,_0x58c7bb,_0x1d8502)=>{this['_model'][_0xea04('0x17f')](()=>{for(const _0x56926c of[..._0x1d8502,..._0x58c7bb])this['_model'][_0xea04('0xd6')][_0xea04('0x11b')](_0x56926c)&&_0x304d39[_0xea04('0x119')][_0xea04('0x38')](_0x56926c);});}),this[_0xea04('0xa')]=new _0x3200e3(this[_0xea04('0x17d')]['model'][_0xea04('0xc9')],this[_0xea04('0x17d')][_0xea04('0x62')]),this[_0xea04('0x159')]=null,this['_suggestionFactory']=new Bt(this['editor']),this[_0xea04('0xf0')]=new Map(),this[_0xea04('0x154')]=_0x304d39[_0xea04('0x165')]['get'](_0xea04('0xfd')),this[_0xea04('0xd5')]=new Set(),this[_0xea04('0xac')]=this[_0xea04('0x17d')][_0xea04('0x96')],this[_0xea04('0x10e')]=new WeakMap(),this[_0xea04('0x9f')]=!0x1,this[_0xea04('0xb6')]=new Set([_0xea04('0xdc')]),this['_inlineAttributeKeys']=new Set(),_0x304d39['config']['define'](_0xea04('0x1e'),_0xea04('0xd0')),this[_0xea04('0x92')]=_0x304d39[_0xea04('0xa7')][_0xea04('0xb1')](_0xea04('0x1e')),_0x304d39[_0xea04('0xa7')][_0xea04('0x26')](_0xea04('0xb8'),!0x0),this[_0xea04('0xe')]=_0x304d39['config'][_0xea04('0xb1')](_0xea04('0xb8')),this[_0xea04('0x13c')]=new _0x4ba7bf(_0x304d39,this[_0xea04('0xd5')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x588d32([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x588d32([0x34,0x30,0x34,0x36,0x32,0x34,0x33,0x30]);}[_0xea04('0x18')](){const _0x223d5a=this['editor'],_0x11af32=(_0x210152,_0x168ed2)=>{if(_0xea04('0x168')!=_0x210152)return'ck-suggestion-marker-'+_0x210152;const _0x4016e6=_0x168ed2[_0xea04('0x14f')]('|')[0x0];return this[_0xea04('0x54')](_0x4016e6)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';};_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')](_0xea04('0x7'))[_0xea04('0x111')]({'model':'suggestion','view':_0x2e636f=>{const {id:_0x124892,type:_0x55820e,subType:_0x5b21d0}=this['_splitMarkerName'](_0x2e636f[_0xea04('0x29')]),_0x369882=[_0xea04('0xf'),_0x11af32(_0x55820e,_0x5b21d0)];let _0x46f35f=0xbb8;return this[_0xea04('0xab')]['includes'](_0x2e636f[_0xea04('0x29')])&&(_0x369882['push']('ck-suggestion-marker--active'),_0x46f35f=0xbc2),_0xea04('0x56')==_0x55820e&&(_0x46f35f+=0x5),{'classes':_0x369882,'attributes':{'data-suggestion':_0x124892},'priority':_0x46f35f};}}),_0x223d5a['conversion']['for'](_0xea04('0xc'))[_0xea04('0x8e')](_0x15228f=>{_0x15228f['on'](_0xea04('0x179'),(_0x1033e2,_0xa0d35f,_0x3752de)=>{if(!_0x3752de[_0xea04('0xb')][_0xea04('0x39')])return;const _0xf5331a=_0xa0d35f[_0xea04('0x49')];if(!_0xf5331a)return;const _0x5531e6=_0x3752de['mapper'][_0xea04('0x47')](_0xf5331a);_0x223d5a[_0xea04('0x96')][_0xea04('0xc9')][_0xea04('0x169')](_0xf5331a)&&_0x5531e6&&!_0x5531e6[_0xea04('0x140')](_0xea04('0x3b'))&&_0x5531e6['is'](_0xea04('0x81'))&&_0x1f8dd9(_0x5531e6,_0x3752de['writer']);},{'priority':_0xea04('0x86')});}),_0x223d5a['conversion'][_0xea04('0x4f')](_0xea04('0xc'))[_0xea04('0x111')]({'model':'suggestion','view':(_0x293809,_0x5e0370)=>{if(!_0x5e0370[_0xea04('0xb')]['showSuggestionHighlights'])return null;const {type:_0x17c349,subType:_0x339ff2}=this[_0xea04('0x79')](_0x293809[_0xea04('0x29')]);return{'classes':['ck-suggestion-marker',_0x11af32(_0x17c349,_0x339ff2)],'priority':0xbb8};}});const _0x25858c=({showActiveMarkers:_0x3cdfdc=!0x0,isAttributeSuggestion:_0xfaf2c7=!0x1}={})=>(_0x5c6e9e,_0x4b70f9,_0x40cbe8)=>{if(!_0x4b70f9[_0xea04('0x49')])return;const {id:_0x3aea97}=this[_0xea04('0x79')](_0x4b70f9[_0xea04('0x29')]);if(_0xfaf2c7){const _0x59c209=Pt(this[_0xea04('0xf0')][_0xea04('0xb1')](_0x3aea97));if(!this[_0xea04('0x54')](_0x59c209))return;}if(_0x4b70f9[_0xea04('0x49')]['is'](_0xea04('0x11d')))return void _0x40cbe8[_0xea04('0x8')][_0xea04('0x157')](_0x4b70f9['item'],_0x5c6e9e['name']);const _0x42d16f=_0x40cbe8['mapper'][_0xea04('0x47')](_0x4b70f9[_0xea04('0x49')]);if(_0x4b70f9[_0xea04('0x49')]['is'](_0xea04('0x16f'))&&_0x223d5a[_0xea04('0x96')][_0xea04('0xc9')][_0xea04('0x171')](_0x4b70f9['item'])&&!_0x42d16f[_0xea04('0x140')]('addHighlight')){_0x40cbe8[_0xea04('0x118')]['addClass']([_0xea04('0xf'),_0xea04('0x59')],_0x42d16f),_0x40cbe8[_0xea04('0x118')][_0xea04('0x121')](_0xea04('0xa5'),_0x3aea97,_0x42d16f),_0x40cbe8['mapper'][_0xea04('0xcf')](_0x42d16f,_0x4b70f9[_0xea04('0x29')]),_0x3cdfdc&&(this[_0xea04('0xab')][_0xea04('0xf7')](_0x4b70f9['markerName'])?_0x40cbe8[_0xea04('0x118')][_0xea04('0x9e')](_0xea04('0x2d'),_0x42d16f):_0x40cbe8[_0xea04('0x118')][_0xea04('0x167')](_0xea04('0x2d'),_0x42d16f));for(const _0x4b3f0e of _0x223d5a[_0xea04('0x96')][_0xea04('0x70')](_0x4b70f9[_0xea04('0x49')])[_0xea04('0xe0')]())_0x40cbe8[_0xea04('0x8')][_0xea04('0x157')](_0x4b3f0e,_0x5c6e9e[_0xea04('0x22')]);_0x40cbe8['consumable']['consume'](_0x4b70f9[_0xea04('0x49')],_0x5c6e9e['name']);}};_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')](_0xea04('0xc'))[_0xea04('0x8e')](_0x4ffecc=>{_0x4ffecc['on'](_0xea04('0xd2'),(_0x5cb933,_0x48736b,_0x599ff4)=>{_0x599ff4[_0xea04('0xb')][_0xea04('0x39')]&&_0x25858c({'showActiveMarkers':!0x1})(_0x5cb933,_0x48736b,_0x599ff4);},{'priority':_0xea04('0xae')});}),_0x223d5a[_0xea04('0x4a')]['for'](_0xea04('0xc'))[_0xea04('0x8e')](_0x2318d8=>{_0x2318d8['on'](_0xea04('0xa6'),(_0x4de7b,_0x4a7021,_0x418ddb)=>{_0x418ddb[_0xea04('0xb')][_0xea04('0x39')]&&_0x25858c({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4de7b,_0x4a7021,_0x418ddb);},{'priority':'highest'});}),_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')](_0xea04('0xc'))['markerToData']({'model':_0xea04('0xc6'),'view':(_0x45063b,_0x51f9c4)=>_0x51f9c4[_0xea04('0xb')][_0xea04('0x39')]?null:{'group':'suggestion','name':_0x45063b['substr'](0xb)}}),_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')]('upcast')['elementToElement']({'view':{'name':_0xea04('0xc6'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4b1543,{writer:_0x16fd4d})=>{let _0x231c6b=_0xea04('0x2a')+_0x4b1543[_0xea04('0x181')](_0xea04('0x12f'))+':'+_0x4b1543[_0xea04('0x181')]('id');return _0x4b1543['getAttribute'](_0xea04('0xc5'))&&(_0x231c6b+=':'+_0x4b1543[_0xea04('0x181')](_0xea04('0xc5'))),_0x16fd4d['createElement'](_0xea04('0x17'),{'data-name':_0x231c6b});}}),_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')](_0xea04('0xc8'))[_0xea04('0x19')]({'view':_0xea04('0xc6')}),_0x223d5a[_0xea04('0x4a')][_0xea04('0x4f')](_0xea04('0x7'))[_0xea04('0x8e')](_0x406277=>{_0x406277['on'](_0xea04('0xd2'),_0x25858c(),{'priority':_0xea04('0x86')});}),_0x223d5a[_0xea04('0x4a')]['for']('editingDowncast')['add'](_0x3ad7c4=>{_0x3ad7c4['on']('addMarker:suggestion:attribute',_0x25858c({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x223d5a['conversion'][_0xea04('0x4f')](_0xea04('0x7'))['add'](_0x1a0211=>{_0x1a0211['on'](_0xea04('0x74'),(_0x4bf26f,_0x19dff4,_0x481a2f)=>{const _0x31e263=_0x481a2f[_0xea04('0x15d')][_0xea04('0x5c')](_0x19dff4[_0xea04('0x29')]);if(_0x31e263)for(const _0x1a7f3a of _0x31e263)_0x1a7f3a[_0xea04('0x140')](_0xea04('0x166'))||(_0x481a2f[_0xea04('0x118')][_0xea04('0x167')]([_0xea04('0xf'),_0xea04('0x59'),_0xea04('0x2d')],_0x1a7f3a),_0x481a2f[_0xea04('0x118')][_0xea04('0x45')](_0xea04('0xa5'),_0x1a7f3a),_0x481a2f[_0xea04('0x15d')][_0xea04('0x142')](_0x1a7f3a,_0x19dff4[_0xea04('0x29')]));},{'priority':_0xea04('0x86')});}),_0x223d5a[_0xea04('0x4a')]['for']('editingDowncast')[_0xea04('0x8e')](_0x5703c4=>{_0x5703c4['on']('removeMarker:suggestion:attribute',(_0x1308d9,_0x3bed50,_0x2f9d46)=>{const _0x2ef5ba=_0x2f9d46[_0xea04('0x15d')][_0xea04('0x5c')](_0x3bed50['markerName']);if(!_0x2ef5ba)return;const {id:_0x5bae62}=this['_splitMarkerName'](_0x3bed50[_0xea04('0x29')]),_0x4a0656=Pt(this[_0xea04('0xf0')]['get'](_0x5bae62));if(this['_isBlockAttribute'](_0x4a0656))for(const _0x117e45 of _0x2ef5ba)_0x117e45['getCustomProperty'](_0xea04('0x166'))||(_0x2f9d46[_0xea04('0x118')][_0xea04('0x167')]([_0xea04('0xf'),_0xea04('0x59'),'ck-suggestion-marker--active'],_0x117e45),_0x2f9d46['writer'][_0xea04('0x45')](_0xea04('0xa5'),_0x117e45),_0x2f9d46[_0xea04('0x15d')][_0xea04('0x142')](_0x117e45,_0x3bed50[_0xea04('0x29')]));},{'priority':_0xea04('0x86')});}),_0x223d5a['model'][_0xea04('0xf4')][_0xea04('0x7b')](_0x50e7f4=>{let _0x54676b=!0x1;const _0x3cd2b6=Array[_0xea04('0xff')](_0x223d5a[_0xea04('0x96')][_0xea04('0xf4')][_0xea04('0xb7')]['getChangedMarkers']()),_0x5e9ba0=new Set();for(const {name:_0x33bdf3,data:_0x50c800}of _0x3cd2b6){const {group:_0x381346,type:_0xb29bcf,subType:_0x5e54b2,id:_0x191416}=this['_splitMarkerName'](_0x33bdf3);if('suggestion'!==_0x381346)continue;const _0x3c11bd=this[_0xea04('0xf0')][_0xea04('0xb1')](_0x191416);if(null!=_0x50c800[_0xea04('0x14')]){_0xea04('0x10f')==_0xb29bcf&&(_0x54676b=_0x54676b||Et(_0x50c800[_0xea04('0x14')],_0x33bdf3,_0x50e7f4,_0x223d5a[_0xea04('0x96')]['schema']));const _0xbb1388='attribute'==_0xb29bcf&&this[_0xea04('0x54')](_0x5e54b2['split']('|')[0x0]);if(_0x50c800['newRange'][_0xea04('0xdf')]||_0xea04('0x82')==_0x50c800[_0xea04('0x14')][_0xea04('0x164')][_0xea04('0x113')]||_0xea04('0x4e')==_0xb29bcf&&!jt(_0x50c800['newRange'])||_0xbb1388&&!jt(_0x50c800['newRange'])||_0xea04('0x56')==_0xb29bcf&&!(!xt(_0x3fd5f8=_0x50c800[_0xea04('0x14')])&&!function(_0x3dfb35){return _0x3dfb35[_0xea04('0xbd')][_0xea04('0x91')]==_0x3dfb35[_0xea04('0x5e')][_0xea04('0x53')]&&_0x3dfb35[_0xea04('0xbd')][_0xea04('0x10a')];}(_0x3fd5f8)))_0x50e7f4[_0xea04('0x73')](_0x33bdf3),_0x54676b=!0x0;else{if(!_0x3c11bd||!_0x3c11bd[_0xea04('0x124')])continue;_0x5e9ba0[_0xea04('0x8e')](_0x3c11bd);}}}var _0x3fd5f8;return _0x5e9ba0[_0xea04('0xeb')]>0x0&&(_0x54676b=!!this[_0xea04('0xb4')](_0x5e9ba0)||_0x54676b),_0x54676b;}),_0x223d5a[_0xea04('0x96')][_0xea04('0xf4')][_0xea04('0x7b')](_0x1e8f21=>{let _0x3f1e7f=!0x1;for(const _0x51b921 of _0x223d5a['model'][_0xea04('0xf4')]['differ'][_0xea04('0x139')]())if(_0xea04('0x138')==_0x51b921[_0xea04('0xb9')])for(const _0x1333e2 of this[_0xea04('0xf0')][_0xea04('0x128')]()){if(_0x1333e2[_0xea04('0xa1')]||!_0x1333e2[_0xea04('0x124')])continue;const _0x135d7a=_0xea04('0x4e')==_0x1333e2['type'],_0x16c8b1=Pt(_0x1333e2),_0x5361a9=_0x16c8b1&&this['_isBlockAttribute'](_0x16c8b1);if(!_0x135d7a&&!_0x5361a9)continue;const _0x394f55=_0x1333e2[_0xea04('0xda')]();if(_0x394f55[_0xea04('0xbd')][_0xea04('0x91')]!=_0x394f55[_0xea04('0x5e')][_0xea04('0x91')]&&!_0x394f55[_0xea04('0x5e')][_0xea04('0x10a')]){const _0x259a9e=_0x223d5a[_0xea04('0x96')][_0xea04('0x11c')](_0x394f55[_0xea04('0xbd')]['nodeAfter'],_0xea04('0x5e')),_0x5371cc=_0x223d5a[_0xea04('0x96')][_0xea04('0x46')](_0x394f55[_0xea04('0xbd')],_0x259a9e);_0x1e8f21[_0xea04('0xd1')](_0x1333e2[_0xea04('0xfa')](),{'range':_0x5371cc}),_0x3f1e7f=!0x0;}}return _0x3f1e7f;}),_0x223d5a[_0xea04('0x96')][_0xea04('0xf4')][_0xea04('0x7b')](_0x573c46=>this[_0xea04('0x1c')](_0x573c46)),_0x223d5a[_0xea04('0x96')][_0xea04('0xf4')][_0xea04('0x7b')](_0x1f8107=>!_0x1f8107['batch'][_0xea04('0x9d')]&&this[_0xea04('0x170')](_0x1f8107)),_0x223d5a['model'][_0xea04('0xd6')]['on'](_0xea04('0x6c'),(_0x40fdb4,_0x26c940,_0x5941b5)=>{if(null==_0x5941b5){const {id:_0x57b7f2}=this['_splitMarkerName'](_0x26c940['name']),_0x354307=this[_0xea04('0xf0')]['get'](_0x57b7f2);_0x354307&&_0x354307[_0xea04('0x35')](_0x26c940[_0xea04('0x22')]);}}),_0x223d5a[_0xea04('0x96')][_0xea04('0xf4')]['on'](_0xea04('0x2'),()=>{const _0xf782ae=Array[_0xea04('0xff')](_0x223d5a[_0xea04('0x96')]['document'][_0xea04('0xb7')][_0xea04('0x178')]())[_0xea04('0x88')](_0x426861=>_0xea04('0xc6')===this['_splitMarkerName'](_0x426861['name'])[_0xea04('0x12b')]);if(0x0===_0xf782ae[_0xea04('0xa8')])return;_0xf782ae[_0xea04('0xe3')]((_0x489de7,_0x331847)=>{const _0x1a6184=_0x489de7[_0xea04('0xb0')][_0xea04('0x6e')],_0x7819b8=_0x331847[_0xea04('0xb0')][_0xea04('0x6e')];return null===_0x1a6184&&null===_0x7819b8?0x0:null===_0x1a6184&&null!==_0x7819b8?-0x1:null!==_0x1a6184&&null===_0x7819b8?0x1:_0x1a6184['start'][_0xea04('0x127')](_0x7819b8[_0xea04('0xbd')])?-0x1:0x1;});const _0x5b6be=new Set(),_0x28cd2a=new Set();for(const {name:_0x4541d3,data:_0x1ca70d}of _0xf782ae){const {id:_0x268e72}=this[_0xea04('0x79')](_0x4541d3);if(null===_0x1ca70d[_0xea04('0x6e')]){const _0x2904c8=this[_0xea04('0x15a')](_0x4541d3);_0x28cd2a[_0xea04('0x8e')](_0x2904c8);}else{const _0x22194b=this['_suggestions'][_0xea04('0xb1')](_0x268e72);null!==_0x1ca70d[_0xea04('0x14')]||_0x22194b['isInContent']?(_0x5b6be[_0xea04('0x8e')](_0x22194b[_0xea04('0x6b')]),_0x28cd2a[_0xea04('0x8e')](_0x22194b)):this[_0xea04('0x24')](_0x22194b);}}_0x28cd2a[_0xea04('0xeb')]>0x0&&this['_refreshSuggestionsChain'](_0x28cd2a);for(const _0x380262 of _0x5b6be)this[_0xea04('0xf2')](_0xea04('0x30'),_0x380262);}),_0x223d5a['model']['on'](_0xea04('0x102'),(_0x2b6152,_0x5538aa)=>{const _0x389005=_0x5538aa[0x0];if(!this['_suggestions']['size'])return;if(!_0x389005['isDocumentOperation'])return;if(_0x389005[_0xea04('0x135')][_0xea04('0xbf')]||!_0x389005[_0xea04('0x135')][_0xea04('0x9d')])return;let _0x5794ec,_0x469c13;switch(_0x389005[_0xea04('0xb9')]){case _0xea04('0x138'):_0x5794ec=_0x223d5a['model'][_0xea04('0x11c')](_0x389005['position']),_0x469c13=_0x5794ec[_0xea04('0x105')](_0x389005[_0xea04('0x162')]);break;case'split':_0x5794ec=_0x223d5a[_0xea04('0x96')][_0xea04('0x11c')](_0x389005[_0xea04('0x58')]),_0x469c13=_0x223d5a[_0xea04('0x96')][_0xea04('0x11c')](_0x389005['moveTargetPosition']);break;case'move':_0x5794ec=_0x223d5a[_0xea04('0x96')][_0xea04('0x11c')](_0x389005['targetPosition']),_0x469c13=_0x5794ec[_0xea04('0x105')](_0x389005['howMany']);break;default:return;}const _0x40b7bc=_0x223d5a[_0xea04('0x96')][_0xea04('0x46')](_0x5794ec,_0x469c13);_0x223d5a[_0xea04('0x96')][_0xea04('0x17f')](()=>{for(const {suggestion:_0xb459ca,meta:_0x55493a}of this[_0xea04('0x5b')](_0x40b7bc)){if(_0xb459ca[_0xea04('0xa1')])continue;if(_0xea04('0x10f')==_0xb459ca[_0xea04('0xb9')])continue;const _0x16506f=Pt(_0xb459ca);if(_0x16506f&&this[_0xea04('0x54')](_0x16506f)&&_0xea04('0x14f')!=_0x389005[_0xea04('0xb9')])continue;const _0x85dff6=_0xb459ca[_0xea04('0xb0')]&&_0xb459ca['data'][_0xea04('0x3d')];(_0xea04('0x4e')!=_0xb459ca['type']||_0xea04('0x14f')==_0x389005[_0xea04('0xb9')]&&!_0x85dff6)&&(_0x55493a[_0xea04('0x125')]||_0xea04('0x9a')==_0xb459ca[_0xea04('0xb9')]&&_0x55493a[_0xea04('0xc0')]||_0xb459ca[_0xea04('0xda')]()[_0xea04('0x117')](_0x40b7bc)&&this[_0xea04('0x44')](_0xb459ca,_0x5794ec,_0x469c13));}});},{'priority':'lowest'}),_0x223d5a['model']['on'](_0xea04('0x36'),(_0x5a559f,_0x304d80)=>{const _0x3a93e0=_0x304d80[0x0],_0x4622fb=_0x304d80[0x1];if(_0x4622fb&&_0x4622fb[_0xea04('0x149')])return;if(this[_0xea04('0x9f')])return;if(!this[_0xea04('0x13c')][_0xea04('0x103')])return;if(_0x3a93e0[_0xea04('0xdf')])return;const _0x178ea0=_0x223d5a[_0xea04('0x96')][_0xea04('0xc9')],{start:_0x52220d,end:_0x204065}=_0x3a93e0[_0xea04('0xda')](),_0x1b2a24=_0x52220d[_0xea04('0x15c')]&&_0x178ea0[_0xea04('0x9c')](_0x52220d[_0xea04('0x15c')])?null:_0x178ea0[_0xea04('0x7a')](_0x52220d,_0xea04('0x161')),_0x44c5d2=_0x204065['nodeBefore']&&_0x178ea0[_0xea04('0x9c')](_0x204065[_0xea04('0x53')])?null:_0x178ea0[_0xea04('0x7a')](_0x204065,_0xea04('0x28')),_0x31fed6=_0x223d5a['model'][_0xea04('0x46')](_0x1b2a24?_0x1b2a24['start']:_0x52220d,_0x44c5d2?_0x44c5d2['end']:_0x204065);_0x223d5a[_0xea04('0x96')][_0xea04('0x17f')](_0x531f64=>{this[_0xea04('0x3c')](_0x31fed6);const _0x25a150=_0x223d5a[_0xea04('0x96')][_0xea04('0xc9')]['getNearestSelectionRange'](_0x31fed6['start']);_0x3a93e0['is']('documentSelection')?_0x531f64['setSelection'](_0x25a150):_0x3a93e0[_0xea04('0x12e')](_0x25a150);}),_0x5a559f[_0xea04('0x129')]();},{'priority':_0x2a3d94[_0xea04('0x108')]+0xa}),_0x223d5a[_0xea04('0x96')]['on'](_0xea04('0x11'),(_0xb3a217,_0x30ad17)=>{const _0xf03c16=_0x30ad17[_0x30ad17[_0xea04('0xa8')]-0x1];_0xf03c16&&_0xf03c16['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand'][_0xea04('0x103')]&&(_0x223d5a[_0xea04('0x96')][_0xea04('0x17f')](()=>{let _0xabc0c5=_0x223d5a['model']['insertContent'](_0x30ad17[0x0],_0x30ad17[0x1],_0x30ad17[0x2],{'forceDefaultExecution':!0x0});if(!_0xabc0c5)return;_0xb3a217['return']=_0xabc0c5[_0xea04('0xa3')]();const _0x1a249e=_0xabc0c5[_0xea04('0x5e')][_0xea04('0x53')],_0x2681d2=_0x223d5a['model'][_0xea04('0xc9')];_0x1a249e&&_0x2681d2[_0xea04('0x171')](_0x1a249e)&&!_0x2681d2['isObject'](_0x1a249e)&&(_0xabc0c5=_0x223d5a[_0xea04('0x96')][_0xea04('0x46')](_0xabc0c5[_0xea04('0xbd')],_0x223d5a[_0xea04('0x96')][_0xea04('0x11c')](_0x1a249e,'end'))),this[_0xea04('0x77')](_0xabc0c5);}),_0xb3a217['stop']());},{'priority':'high'}),this['editor']['commands'][_0xea04('0x8e')]('trackChanges',this[_0xea04('0x13c')]),this[_0xea04('0x98')]('trackChanges');const _0x508de0=new _0x270082(_0x223d5a,this[_0xea04('0xf0')]);_0x223d5a[_0xea04('0x145')][_0xea04('0x8e')](_0xea04('0x180'),_0x508de0),this[_0xea04('0x98')]('acceptSuggestion');const _0x5d1055=new _0xc4eca8(_0x223d5a,this[_0xea04('0xf0')]);_0x223d5a[_0xea04('0x145')]['add'](_0xea04('0x151'),_0x5d1055),this[_0xea04('0x98')](_0xea04('0x151')),_0x223d5a[_0xea04('0x145')]['add']('acceptAllSuggestions',new _0x35da60(_0x223d5a,_0x508de0,this[_0xea04('0xf0')])),this[_0xea04('0x98')](_0xea04('0x8d')),_0x223d5a['commands'][_0xea04('0x8e')](_0xea04('0x122'),new _0x35da60(_0x223d5a,_0x5d1055,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x223d5a[_0xea04('0x145')][_0xea04('0x8e')](_0xea04('0x95'),new _0x181273(_0x223d5a,_0x508de0,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x223d5a[_0xea04('0x145')][_0xea04('0x8e')](_0xea04('0x131'),new _0x181273(_0x223d5a,_0x5d1055,this['_suggestions'])),this[_0xea04('0x98')](_0xea04('0x131'));const _0x41fb5e=_0x223d5a[_0xea04('0x165')][_0xea04('0xb1')]('CommentsRepository');this[_0xea04('0x13d')](_0x41fb5e,_0xea04('0x7f'),(_0x966525,{threadId:_0x49b1fa})=>{const _0x40cbda=this[_0xea04('0xf0')][_0xea04('0xb1')](_0x49b1fa);_0x40cbda&&_0x40cbda[_0xea04('0x2b')]&&0x1===_0x40cbda['commentThread'][_0xea04('0xa8')]&&this[_0xea04('0xa9')](_0x49b1fa,{'hasComments':!0x0});},{'priority':_0xea04('0x15e')}),this[_0xea04('0x13d')](_0x41fb5e,_0xea04('0x17e'),(_0x532e65,{threadId:_0x1b9d8c})=>{const _0x851335=this[_0xea04('0xf0')][_0xea04('0xb1')](_0x1b9d8c);_0x851335&&_0x851335[_0xea04('0x2b')]&&!_0x851335[_0xea04('0x2b')][_0xea04('0xa8')]&&this[_0xea04('0xa9')](_0x1b9d8c,{'hasComments':!0x1});},{'priority':_0xea04('0x15e')});}set['adapter'](_0x5854f0){if(this[_0xea04('0x159')])throw new _0x588824(_0xea04('0x85'),this);this[_0xea04('0x159')]=_0x5854f0;}get[_0xea04('0xc7')](){return this['_adapter'];}[_0xea04('0x6a')]({skipNotAttached:_0x228a84=!0x1,toJSON:_0x4f5440=!0x1}={}){const _0x5e20aa=[];for(const _0x419f2e of this[_0xea04('0xf0')][_0xea04('0x128')]())_0x228a84&&!_0x419f2e[_0xea04('0x124')]||_0x5e20aa['push'](_0x419f2e);return _0x4f5440?_0x5e20aa[_0xea04('0xe8')](_0x2b7cb7=>_0x2b7cb7[_0xea04('0xe2')]()):_0x5e20aa;}[_0xea04('0xaf')](_0x1cfdb4){const _0x3b7882=this[_0xea04('0xf0')][_0xea04('0xb1')](_0x1cfdb4);if(!_0x3b7882)throw new _0x588824('track-changes-suggestion-not-found',this);return _0x3b7882;}['hasSuggestion'](_0x3837b8){return this[_0xea04('0xf0')][_0xea04('0x11b')](_0x3837b8);}[_0xea04('0x52')](_0x46210e){const {authorId:_0x47d992,id:_0x57454e,attributes:_0x15ae0a}=_0x46210e,[_0x3a9bcd,_0x378569]=_0x46210e[_0xea04('0xb9')][_0xea04('0x14f')](':'),_0x3b24bb=this[_0xea04('0xf0')][_0xea04('0xb1')](_0x57454e)||this[_0xea04('0xe4')](_0x3a9bcd,_0x378569,_0x57454e,_0x47d992,_0x15ae0a);if(this[_0xea04('0xc1')](_0x3b24bb),this[_0xea04('0x2e')](_0x3b24bb,_0x3a9bcd,_0x378569||null,_0x47d992),_0x3b24bb['createdAt']=_0x46210e[_0xea04('0x148')],_0x3b24bb['_isDataLoaded']=!0x0,_0x15ae0a&&_0x15ae0a[_0xea04('0xfc')]){const _0x56d89a=_0x15ae0a['@external'],_0x2ec6ae=this['_getExternalAuthor'](_0x56d89a['authorName']);_0x3b24bb[_0xea04('0x12a')]=_0x56d89a[_0xea04('0x148')],_0x3b24bb[_0xea04('0x15f')]=_0x2ec6ae,_0x3b24bb[_0xea04('0x150')]=!0x0;}else _0x3b24bb[_0xea04('0x12a')]=_0x46210e[_0xea04('0x148')];switch(_0x46210e[_0xea04('0xb0')]&&(_0x3b24bb[_0xea04('0xb0')]=_0x46210e[_0xea04('0xb0')]),_0x46210e[_0xea04('0x146')]&&(_0x3b24bb[_0xea04('0x146')]=_0x46210e['attributes']),this[_0xea04('0x159')]&&this[_0xea04('0x159')]['addSuggestion']||(_0x3b24bb[_0xea04('0x110')]=!0x0),this[_0xea04('0x10e')][_0xea04('0xb1')](_0x3b24bb)){case _0xea04('0x3'):this[_0xea04('0x10e')][_0xea04('0x133')](_0x3b24bb,_0xea04('0x0'));break;case _0xea04('0x5d'):_0x3b24bb[_0xea04('0x124')]?(this['_refreshSuggestionsChain'](new Set([_0x3b24bb])),this[_0xea04('0xb4')](new Set([_0x3b24bb])),this[_0xea04('0x10e')][_0xea04('0x133')](_0x3b24bb,_0xea04('0xde')),this[_0xea04('0xf2')](_0xea04('0x1b'),_0x3b24bb)):this[_0xea04('0x10e')]['set'](_0x3b24bb,_0xea04('0x43'));}return _0x3b24bb;}[_0xea04('0x180')](_0xf68c12){this[_0xea04('0x149')](()=>{this['editor']['model'][_0xea04('0x17f')](()=>{for(const _0x4e6b8c of _0xf68c12[_0xea04('0x11f')]())_0x4e6b8c[_0xea04('0xea')]();});});}['discardSuggestion'](_0x46e4bb){this[_0xea04('0x149')](()=>{this[_0xea04('0x17d')][_0xea04('0x96')][_0xea04('0x17f')](()=>{for(const _0x3e7d89 of _0x46e4bb[_0xea04('0x11f')]())_0x3e7d89[_0xea04('0x109')]();});});}[_0xea04('0x98')](_0x3c1fd9,_0x597d45){const _0x586ffb=this[_0xea04('0x17d')][_0xea04('0x145')][_0xea04('0xb1')](_0x3c1fd9);if(!_0x586ffb)throw new _0x588824('track-changes-command-not-found',this,{'commandName':_0x3c1fd9});if(this[_0xea04('0xd5')][_0xea04('0x11b')](_0x586ffb))throw new _0x588824(_0xea04('0xe6'),this,{'commandName':_0x3c1fd9});this[_0xea04('0xd5')][_0xea04('0x8e')](_0x586ffb),_0x597d45&&_0x586ffb['on'](_0xea04('0x143'),(_0x2eadff,_0x5b1ee3)=>{this['trackChangesCommand'][_0xea04('0x103')]&&(this['_isForcedDefaultExecutionBlock']||(_0x5b1ee3[_0xea04('0xa8')]>0x0&&_0x5b1ee3[_0x5b1ee3[_0xea04('0xa8')]-0x1]&&_0x5b1ee3[_0x5b1ee3[_0xea04('0xa8')]-0x1][_0xea04('0x149')]?_0x5b1ee3[_0xea04('0x8c')]():(_0x2eadff[_0xea04('0xe5')]=_0x597d45((..._0x6e0ac3)=>_0x586ffb[_0xea04('0x143')](..._0x6e0ac3,{'forceDefaultExecution':!0x0}),..._0x5b1ee3),_0x2eadff[_0xea04('0x129')]())));},{'priority':'high'});}[_0xea04('0x149')](_0x2c7e9){let _0x3c013f,_0x298746;const _0x43930d=this[_0xea04('0x9f')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x3c013f=_0x2c7e9();}catch(_0x423b29){_0x298746=_0x423b29;}return _0x43930d||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x298746&&_0x588824[_0xea04('0xfb')](_0x298746,this),_0x3c013f;}['markInsertion'](_0xd64afd,_0x12d32f=null,_0x4aef4b={}){if(_0xd64afd['isCollapsed'])return null;const _0x412486=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')](_0xea04('0x42'))['me'];for(const {suggestion:_0x37123f,meta:_0x1b0c68}of this['_findSuggestions'](_0xd64afd,_0xea04('0x9a')))if(_0x1b0c68[_0xea04('0xc0')]){if(!_0x1b0c68['isNextTo']){if(_0x1b0c68[_0xea04('0x125')]){if(!this[_0xea04('0xe')]||!Gt(_0x37123f,_0x4aef4b))continue;return _0x37123f;}if(Gt(_0x37123f,_0x4aef4b))return _0x37123f;this[_0xea04('0x44')](_0x37123f,_0xd64afd['start'],_0xd64afd[_0xea04('0x5e')]);break;}if(_0x12d32f==_0x37123f[_0xea04('0x10b')]&&Gt(_0x37123f,_0x4aef4b)){const _0x2eaa44=_0x37123f['getFirstRange']();return _0x2eaa44['start'][_0xea04('0x3a')](_0xd64afd[_0xea04('0x5e')])?this[_0xea04('0x99')](_0x37123f,this['_model'][_0xea04('0x46')](_0xd64afd[_0xea04('0xbd')],_0x2eaa44[_0xea04('0x5e')])):this[_0xea04('0x99')](_0x37123f,this[_0xea04('0xac')][_0xea04('0x46')](_0x2eaa44[_0xea04('0xbd')],_0xd64afd[_0xea04('0x5e')])),_0x37123f;}}const _0x176a6e=_0x5973ad(),_0x36b06c=_0x412486['id'],_0x22228c=_0x12d32f?_0xea04('0x67')+_0x12d32f:'insertion',_0xf1f338=this['_setSuggestionData']({'id':_0x176a6e,'type':_0x22228c,'createdAt':new Date(),'authorId':_0x36b06c,'attributes':_0x4aef4b});return this[_0xea04('0x21')](_0x22228c,_0x176a6e,_0x36b06c,_0xd64afd),_0xf1f338;}['markMultiRangeInsertion'](_0x409873,_0x289c47='multi',_0x12c07f={}){const _0x4cc721=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')]('Users')['me'],_0xa15ebd=this[_0xea04('0x4c')][_0xea04('0x5f')](_0xea04('0x9a'),_0x289c47,_0xea04('0x55'));for(const _0x45c6b3 of this[_0xea04('0x6a')]())if(_0x45c6b3[_0xea04('0x15f')]['id']==_0x4cc721['id']&&_0xea04('0x9a')==_0x45c6b3[_0xea04('0xb9')]&&_0x45c6b3['subType']==_0x289c47&&Gt(_0x45c6b3,_0x12c07f)&&(_0xa15ebd(_0x45c6b3[_0xea04('0x97')](),_0x409873)||_0xa15ebd(_0x409873,_0x45c6b3[_0xea04('0x97')]()))){for(const _0x22dfad of _0x409873)_0x45c6b3[_0xea04('0x16c')](_0x22dfad);return _0x45c6b3;}for(const {suggestion:_0x2dc17b,meta:_0x4ad1bd}of this[_0xea04('0x5b')](_0x409873,_0xea04('0x9a'))){if(!_0x4ad1bd[_0xea04('0xc0')])continue;if(!this[_0xea04('0xe')]&&_0x4ad1bd[_0xea04('0x125')])continue;if(!Gt(_0x2dc17b,_0x12c07f))continue;let _0x53f118=!0x0;for(const _0x4aa609 of _0x2dc17b[_0xea04('0x97')]())for(const _0x12d9d6 of _0x409873)if(!_0x4aa609[_0xea04('0x117')](_0x12d9d6)){_0x53f118=!0x1;break;}if(_0x53f118)return _0x2dc17b;}const _0x227a08=_0x5973ad(),_0x1124f9=_0x4cc721['id'],_0x543f1f='insertion:'+_0x289c47,_0x3a7b26=this[_0xea04('0xf3')]({'id':_0x227a08,'type':_0x543f1f,'createdAt':new Date(),'authorId':_0x1124f9,'attributes':_0x12c07f});for(const _0x5e2c78 of _0x409873)this[_0xea04('0x21')](_0x543f1f,_0x227a08,_0x1124f9,_0x5e2c78,_0x5b9956['getMultiRangeId']());return _0x3a7b26;}[_0xea04('0x16e')](_0x3f8bd2,_0xbffeca,_0x4ac6a3=null,_0x1b906c={}){if(_0x4ac6a3=_0x4ac6a3||Rt(_0xbffeca),_0x3f8bd2[_0xea04('0xdf')])return null;if(_0xea04('0x5a')===this[_0xea04('0x92')]){const _0x1d4f3a=this[_0xea04('0x4c')][_0xea04('0x5f')](_0xea04('0x10f'),_0x4ac6a3,_0xea04('0xea'));return this['forceDefaultExecution'](()=>_0x1d4f3a([_0x3f8bd2],_0xbffeca,_0x1b906c)),null;}const _0x4b63e8=this[_0xea04('0x17d')]['plugins'][_0xea04('0xb1')](_0xea04('0x42'))['me'],_0x5dac3b=[];if(_0xea04('0x12d')!==this[_0xea04('0x92')])for(const {suggestion:_0x25e3b0,meta:_0x30e2a5}of this[_0xea04('0x5b')](_0x3f8bd2,_0xea04('0x9a')))_0x30e2a5[_0xea04('0xc0')]&&!_0x30e2a5[_0xea04('0x7c')]&&_0x5dac3b[_0xea04('0x9')](..._0x25e3b0['getRanges']());const _0x16d638=function(_0x37b708,_0x4fb49a){const _0x375efc=[];for(const _0x4939e0 of _0x4fb49a){const _0x30896b=_0x37b708[_0xea04('0x115')](_0x4939e0);_0x30896b&&_0x375efc[_0xea04('0x9')](_0x30896b);}return _0x375efc;}(_0x3f8bd2,_0x5dac3b),_0x18c17b=function(_0x1aca39,_0x415067){const _0x59bac1=[_0x1aca39];for(const _0x29bd6d of _0x415067){let _0x433ccd=0x0;for(;_0x433ccd<_0x59bac1[_0xea04('0xa8')];){const _0x35359e=_0x59bac1[_0x433ccd][_0xea04('0x31')](_0x29bd6d);_0x59bac1['splice'](_0x433ccd,0x1,..._0x35359e),_0x433ccd+=_0x35359e[_0xea04('0xa8')];}}return _0x59bac1;}(_0x3f8bd2,_0x5dac3b);_0x16d638['length']&&this[_0xea04('0xac')][_0xea04('0x17f')](()=>{for(const _0x29ff35 of _0x16d638){const _0x3aeb86=this[_0xea04('0x4c')][_0xea04('0x5f')](_0xea04('0x10f'),_0x4ac6a3,_0xea04('0xea'));this[_0xea04('0x149')](()=>_0x3aeb86([_0x29ff35],_0xbffeca,_0x1b906c));}});for(const _0x1adc8a of _0x18c17b){let _0x505a6a=null,_0x4e4d69=_0x1adc8a[_0xea04('0xbd')],_0x26690a=_0x1adc8a['end'];for(const {suggestion:_0x2134bc,meta:_0x119b8b}of this[_0xea04('0x5b')](_0x1adc8a,_0xea04('0x10f'))){if(!_0x119b8b[_0xea04('0xc0')])continue;if(_0x2134bc[_0xea04('0x10b')]!=_0x4ac6a3)continue;if(!Gt(_0x2134bc,_0x1b906c))continue;const _0x580318=_0x2134bc['getFirstRange']();if(_0x580318[_0xea04('0x117')](_0x1adc8a,!0x0))return null;_0x4e4d69=_0x4e4d69[_0xea04('0x127')](_0x580318[_0xea04('0xbd')])?_0x4e4d69:_0x580318['start'],_0x26690a=_0x26690a[_0xea04('0x9b')](_0x580318[_0xea04('0x5e')])?_0x26690a:_0x580318[_0xea04('0x5e')],_0x505a6a?_0x580318[_0xea04('0xbd')][_0xea04('0x127')](_0x505a6a[_0xea04('0xda')]()[_0xea04('0xbd')])?(_0x505a6a['removeMarkers'](),_0x505a6a=_0x2134bc):_0x2134bc['removeMarkers']():_0x505a6a=_0x2134bc;}const _0x36b95a=this[_0xea04('0xac')][_0xea04('0x46')](_0x4e4d69,_0x26690a);if(_0x505a6a)this[_0xea04('0x99')](_0x505a6a,_0x36b95a);else{const _0x7ce292=_0x5973ad(),_0x2268d9=_0x4b63e8['id'];this['_setSuggestionData']({'id':_0x7ce292,'type':_0xea04('0x136')+_0x4ac6a3,'data':_0xbffeca,'createdAt':new Date(),'authorId':_0x2268d9,'attributes':_0x1b906c}),this[_0xea04('0x21')](_0xea04('0x136')+_0x4ac6a3,_0x7ce292,_0x2268d9,_0x36b95a);}}return null;}['markBlockFormat'](_0x4bb850,_0x4bcb6b,_0x4f407a=[],_0xe95bc7=null,_0x237de6={}){_0x4bcb6b[_0xea04('0xbc')]||(_0x4bcb6b[_0xea04('0xbc')]=_0x4bcb6b['commandName']),_0x4bcb6b['multipleBlocks']=_0x4bb850['is'](_0xea04('0x175')),_0xe95bc7=_0xe95bc7||Rt(_0x4bcb6b);const _0x134b18=_0x4f407a[_0xea04('0xe8')](_0x17f09a=>Ut(_0x17f09a,this['_model'])),_0x37850d=_0x4bb850['is'](_0xea04('0x175'))?_0x4bb850:Ut(_0x4bb850,this['_model']);if(_0xea04('0x5a')===this[_0xea04('0x92')]){const _0xe13d74=this[_0xea04('0x4c')]['getSuggestionCallback']('formatBlock',_0xe95bc7,_0xea04('0xea'));return this[_0xea04('0x149')](()=>_0xe13d74([_0x37850d],_0x4bcb6b,_0x237de6)),null;}_0x134b18[_0xea04('0x9')](_0x37850d);let _0x12cb79=!0x0;for(const _0x2cb98a of _0x134b18)if(!this[_0xea04('0x144')](_0x2cb98a)){_0x12cb79=!0x1;break;}if(_0x12cb79&&_0xea04('0x12d')!==this[_0xea04('0x92')]){const _0x175b1e=this[_0xea04('0x4c')][_0xea04('0x5f')](_0xea04('0x4e'),_0xe95bc7,_0xea04('0xea'));return this[_0xea04('0x149')](()=>_0x175b1e([_0x37850d],_0x4bcb6b,_0x237de6)),null;}let _0x290809=null,_0x866bd7=_0x37850d[_0xea04('0xbd')],_0x255bd2=_0x37850d[_0xea04('0x5e')];for(const {suggestion:_0x303684,meta:_0x97a274}of this['_findSuggestions'](_0x37850d,'formatBlock')){if(!_0x97a274['isOwn'])continue;if(_0x97a274[_0xea04('0x93')]||_0x97a274[_0xea04('0x125')]||_0x97a274[_0xea04('0x7c')])continue;if(_0x303684['data'][_0xea04('0xbc')]!=_0x4bcb6b['formatGroupId'])continue;if(!Gt(_0x303684,_0x237de6))continue;const _0x5b167a=_0x303684[_0xea04('0xda')]();if(_0x303684['subType']==_0xe95bc7){if(_0x5b167a[_0xea04('0x117')](_0x37850d,!0x0))return null;_0x866bd7=_0x866bd7['isBefore'](_0x5b167a[_0xea04('0xbd')])?_0x866bd7:_0x5b167a[_0xea04('0xbd')],_0x255bd2=_0x255bd2[_0xea04('0x9b')](_0x5b167a[_0xea04('0x5e')])?_0x255bd2:_0x5b167a[_0xea04('0x5e')],_0x290809?_0x5b167a[_0xea04('0xbd')][_0xea04('0x127')](_0x290809[_0xea04('0xda')]()[_0xea04('0xbd')])?(_0x290809[_0xea04('0x1a')](),_0x290809=_0x303684):_0x303684[_0xea04('0x1a')]():_0x290809=_0x303684;}else{const _0x1ddfcd=_0x37850d[_0xea04('0x115')](_0x5b167a);this[_0xea04('0x107')](_0x303684,_0x1ddfcd);}}const _0x58eb49=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')](_0xea04('0x42'))['me'],_0x317ead=_0x5973ad(),_0x29afc5=_0x58eb49['id'];if(_0x290809)return this[_0xea04('0x99')](_0x290809,this[_0xea04('0xac')][_0xea04('0x46')](_0x866bd7,_0x255bd2)),_0x290809;{const _0x473e34=this[_0xea04('0xf3')]({'id':_0x317ead,'type':'formatBlock:'+_0xe95bc7,'data':_0x4bcb6b,'createdAt':new Date(),'authorId':_0x29afc5,'attributes':_0x237de6});return this['_addSuggestionMarker'](_0xea04('0xcb')+_0xe95bc7,_0x317ead,_0x29afc5,this[_0xea04('0xac')][_0xea04('0x46')](_0x866bd7,_0x255bd2)),_0x473e34;}}[_0xea04('0x83')](_0x15a650,_0x1cbab1,_0x3d7a46=[],_0x4abec8=null,_0x421ad7={}){_0x1cbab1[_0xea04('0xbc')]||(_0x1cbab1['formatGroupId']=_0x1cbab1['commandName']);const _0x32f907=_0x15a650[0x0];_0x1cbab1[_0xea04('0x3d')]=_0x32f907['is'](_0xea04('0x175')),_0x4abec8=_0x4abec8||Rt(_0x1cbab1);const _0xf3c0bc=_0x3d7a46[_0xea04('0xe8')](_0x186b0b=>Ut(_0x186b0b,this[_0xea04('0xac')])),_0x445511=_0x32f907['is'](_0xea04('0x175'))?_0x15a650:_0x15a650[_0xea04('0xe8')](_0x447d46=>Ut(_0x447d46,this[_0xea04('0xac')]));if('never'===this[_0xea04('0x92')]){const _0x33cdf0=this[_0xea04('0x4c')]['getSuggestionCallback']('formatBlock',_0x4abec8,_0xea04('0xea'));return this[_0xea04('0x149')](()=>_0x33cdf0(_0x445511,_0x1cbab1,_0x421ad7)),null;}_0xf3c0bc[_0xea04('0x9')](..._0x445511);let _0x235b53=!0x0;for(const _0x120a41 of _0xf3c0bc)if(!this[_0xea04('0x144')](_0x120a41)){_0x235b53=!0x1;break;}if(_0x235b53&&_0xea04('0x12d')!==this[_0xea04('0x92')]){const _0x315fe5=this['_suggestionFactory'][_0xea04('0x5f')](_0xea04('0x4e'),_0x4abec8,_0xea04('0xea'));return this[_0xea04('0x149')](()=>_0x315fe5(_0x445511,_0x1cbab1,_0x421ad7)),null;}const _0x5c3e5d=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')]('Users')['me'];for(const _0x32a687 of this[_0xea04('0x6a')]()){if(_0x32a687[_0xea04('0x15f')]['id']!=_0x5c3e5d['id'])continue;if(_0xea04('0x4e')!=_0x32a687[_0xea04('0xb9')]||_0x32a687[_0xea04('0xb0')][_0xea04('0xbc')]!=_0x1cbab1['formatGroupId'])continue;if(!Gt(_0x32a687,_0x421ad7))continue;const _0x29f21c=_0x32a687[_0xea04('0x10b')]==_0x4abec8;for(let _0x5471bd=0x0;_0x5471bd<_0x445511[_0xea04('0xa8')];_0x5471bd++){const _0x325dea=_0x445511[_0x5471bd];for(const _0x3314e2 of _0x32a687[_0xea04('0xcc')]()){const _0x1ed30a=_0x3314e2[_0xea04('0x13b')]();if(_0x325dea[_0xea04('0x3a')](_0x1ed30a)){_0x29f21c?(_0x445511[_0xea04('0x8a')](_0x5471bd,0x1),_0x5471bd--):_0x32a687[_0xea04('0x73')](_0x3314e2[_0xea04('0x22')]);break;}}}}if(0x0==_0x445511[_0xea04('0xa8')])return null;const _0x242169=this['_suggestionFactory'][_0xea04('0x5f')](_0xea04('0x4e'),_0x4abec8,'join');for(const _0x2298e5 of this[_0xea04('0x6a')]())if(_0x2298e5[_0xea04('0x15f')]['id']==_0x5c3e5d['id']&&_0xea04('0x4e')==_0x2298e5[_0xea04('0xb9')]&&_0x2298e5[_0xea04('0xb0')][_0xea04('0xbc')]==_0x1cbab1[_0xea04('0xbc')]&&_0x2298e5['subType']==_0x4abec8&&Gt(_0x2298e5,_0x421ad7)&&(_0x242169(_0x2298e5[_0xea04('0x97')](),_0x445511)||_0x242169(_0x445511,_0x2298e5[_0xea04('0x97')]()))){for(const _0x1d2955 of _0x445511)_0x2298e5[_0xea04('0x16c')](_0x1d2955);return _0x2298e5;}const _0x49e24a=_0x5973ad(),_0x66a3b4=_0x5c3e5d['id'],_0x2bae0c=_0xea04('0xcb')+_0x4abec8,_0x2f74cc=this[_0xea04('0xf3')]({'id':_0x49e24a,'type':_0x2bae0c,'data':_0x1cbab1,'createdAt':new Date(),'authorId':_0x66a3b4,'attributes':_0x421ad7});for(const _0x11fc46 of _0x445511)this[_0xea04('0x21')](_0x2bae0c,_0x49e24a,_0x66a3b4,_0x11fc46,_0x5b9956[_0xea04('0x72')]());return _0x2f74cc;}['markDeletion'](_0x10e9ec,_0x154440=null,_0x45a20e={}){if(_0x10e9ec[_0xea04('0xdf')])return null;const _0x30ff02=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')]('Users')['me'],_0x5c6987=new _0x567f7b(_0x10e9ec['start'],_0x10e9ec[_0xea04('0x5e')]);for(const {suggestion:_0x481de3,meta:_0x19f961}of this[_0xea04('0x5b')](_0x5c6987,'insertion'))if(_0x19f961[_0xea04('0xc0')]&&!_0x19f961['isNextTo']){if(_0x481de3[_0xea04('0xa1')]){const _0x579ec4=_0x481de3[_0xea04('0x97')]()[_0xea04('0x88')](_0x5ba148=>'$graveyard'!=_0x5ba148[_0xea04('0x164')][_0xea04('0x113')]);_0x579ec4[_0xea04('0x141')](_0x3bca55=>_0x5c6987[_0xea04('0x117')](_0x3bca55,!0x0))&&_0x481de3['discard']();if(_0x579ec4[_0xea04('0x2c')](_0x2b794a=>_0x2b794a[_0xea04('0x117')](_0x5c6987,!0x0))){const _0x527131=this['_suggestionFactory'][_0xea04('0x5f')]('deletion',_0x154440,_0xea04('0xea'));return this[_0xea04('0x149')](()=>_0x527131([_0x5c6987],null,_0x45a20e)),null;}}else{const _0x6e963=_0x5c6987['getIntersection'](_0x481de3['getFirstRange']());null!==_0x6e963&&_0x481de3['_onDiscard']([_0x6e963],null,_0x45a20e);}}if(_0x5c6987['detach'](),_0x5c6987['isCollapsed']||_0xea04('0x82')==_0x5c6987[_0xea04('0x164')][_0xea04('0x113')])return null;let _0x574b2d=null,_0x128b55=_0x5c6987['start'],_0x79bb21=_0x5c6987[_0xea04('0x5e')];const _0x1c2adc=this[_0xea04('0x5b')](_0x5c6987,_0xea04('0x56'));for(const {suggestion:_0x3f0e89,meta:_0x5f1bff}of _0x1c2adc){const _0x3bae57=this[_0xea04('0xac')][_0xea04('0x46')](_0x128b55,_0x79bb21);if(_0x5f1bff[_0xea04('0xc0')]&&(this[_0xea04('0xe')]||!_0x5f1bff[_0xea04('0x125')]&&!_0x5f1bff[_0xea04('0x7c')])){if(_0x3f0e89[_0xea04('0xa1')]){if(!Gt(_0x3f0e89,_0x45a20e))continue;let _0x337bc7=!0x0;for(const _0x106eb8 of _0x3f0e89[_0xea04('0x97')]()){if(_0x106eb8[_0xea04('0x117')](_0x3bae57,!0x0))return _0x3f0e89;_0x3bae57[_0xea04('0x117')](_0x106eb8)||(_0x337bc7=!0x1);}_0x337bc7&&_0x3f0e89['discard']();}else{const _0x3ea134=_0x3f0e89[_0xea04('0xda')]();if(_0x3ea134[_0xea04('0x117')](_0x3bae57,!0x0))return _0x3f0e89;if(!Gt(_0x3f0e89,_0x45a20e)){_0x3bae57[_0xea04('0x117')](_0x3ea134)?_0x3f0e89[_0xea04('0x1a')]():_0x3ea134['containsPosition'](_0x128b55)?_0x128b55=_0x3ea134[_0xea04('0x5e')]:_0x3ea134[_0xea04('0x64')](_0x79bb21)&&(_0x79bb21=_0x3ea134[_0xea04('0xbd')]);continue;}_0x128b55=_0x128b55['isBefore'](_0x3ea134[_0xea04('0xbd')])?_0x128b55:_0x3ea134['start'],_0x79bb21=_0x79bb21['isAfter'](_0x3ea134[_0xea04('0x5e')])?_0x79bb21:_0x3ea134[_0xea04('0x5e')],_0x45a20e=Object[_0xea04('0x153')]({},_0x3f0e89[_0xea04('0x146')]),_0x574b2d?_0x3ea134[_0xea04('0xbd')][_0xea04('0x127')](_0x574b2d['getFirstRange']()['start'])?(_0x574b2d['removeMarkers'](),_0x574b2d=_0x3f0e89):_0x3f0e89[_0xea04('0x1a')]():_0x574b2d=_0x3f0e89;}}}if(_0x574b2d)return this[_0xea04('0x99')](_0x574b2d,this[_0xea04('0xac')][_0xea04('0x46')](_0x128b55,_0x79bb21)),_0x574b2d;{const _0x1325fd=_0x5973ad(),_0x15abb9=this[_0xea04('0xac')][_0xea04('0x46')](_0x128b55,_0x79bb21),_0x16a387=_0x30ff02['id'],_0x5199cd=_0x154440?_0xea04('0x34')+_0x154440:_0xea04('0x56'),_0x1801a2=this[_0xea04('0xf3')]({'id':_0x1325fd,'type':_0x5199cd,'createdAt':new Date(),'authorId':_0x16a387,'attributes':_0x45a20e});return this['_addSuggestionMarker'](_0x5199cd,_0x1325fd,_0x16a387,_0x15abb9),_0x1801a2;}}[_0xea04('0x2f')](_0x1516c6,_0x23f2f2=_0xea04('0x69'),_0x231b91={}){const _0x36d851=this['editor'][_0xea04('0x165')][_0xea04('0xb1')](_0xea04('0x42'))['me'],_0xaf2790=_0x1516c6['map'](_0x234e3a=>new _0x567f7b(_0x234e3a[_0xea04('0xbd')],_0x234e3a['end'])),_0x15c0fd=new Set();for(const {suggestion:_0x1e26a7,meta:_0x495806}of this[_0xea04('0x5b')](_0xaf2790,_0xea04('0x9a')))_0x495806[_0xea04('0xc0')]&&!_0x495806[_0xea04('0x93')]&&_0x15c0fd[_0xea04('0x8e')](_0x1e26a7);for(const _0x211e84 of _0x15c0fd)if(_0x211e84[_0xea04('0xa1')]){const _0x38f09d=_0x211e84[_0xea04('0x97')]();(!_0x211e84[_0xea04('0x146')]||!_0x211e84[_0xea04('0x146')][_0xea04('0xd4')])&&(_0x38f09d['every'](_0xf6ba3d=>_0xaf2790[_0xea04('0x2c')](_0x4e0ff8=>_0x4e0ff8[_0xea04('0x117')](_0xf6ba3d,!0x0)))&&_0x211e84[_0xea04('0x109')]());if(_0xaf2790['every'](_0x276feb=>_0x38f09d[_0xea04('0x2c')](_0x12d450=>_0x12d450[_0xea04('0x117')](_0x276feb,!0x0)))){const _0xce137=this[_0xea04('0x4c')][_0xea04('0x5f')]('deletion',_0x23f2f2,_0xea04('0xea'));return this['forceDefaultExecution'](()=>_0xce137(_0x1516c6,null,_0x231b91)),null;}}else{const _0x36ec4e=_0x211e84[_0xea04('0xda')]();_0xaf2790['some'](_0x4c2867=>_0x4c2867[_0xea04('0x117')](_0x36ec4e,!0x0))&&_0x211e84[_0xea04('0x109')]();if(_0xaf2790[_0xea04('0x141')](_0x43b3d4=>_0x36ec4e[_0xea04('0x117')](_0x43b3d4,!0x0))){const _0x5184e8=this[_0xea04('0x4c')][_0xea04('0x5f')](_0xea04('0x56'),_0x23f2f2,'accept');return this[_0xea04('0x149')](()=>_0x5184e8(_0xaf2790,null,_0x231b91)),null;}}const _0x1becb6=this['_suggestionFactory'][_0xea04('0x5f')](_0xea04('0x56'),_0x23f2f2,'join');let _0x3bffcd=null;for(const _0x2417ef of this[_0xea04('0x6a')]())if(_0x2417ef[_0xea04('0x15f')]['id']==_0x36d851['id']&&_0x2417ef[_0xea04('0x124')]&&_0xea04('0x56')==_0x2417ef[_0xea04('0xb9')]&&_0x2417ef[_0xea04('0x10b')]==_0x23f2f2&&Gt(_0x2417ef,_0x231b91)&&(_0x1becb6(_0x2417ef['getRanges'](),_0xaf2790)||_0x1becb6(_0xaf2790,_0x2417ef[_0xea04('0x97')]()))){if(_0x3bffcd){if(_0x2417ef[_0xea04('0x2b')]&&_0x2417ef[_0xea04('0x2b')][_0xea04('0xa8')])continue;for(const _0x1a467c of _0x2417ef[_0xea04('0x97')]())_0x3bffcd[_0xea04('0x137')](_0x1a467c)||_0x3bffcd[_0xea04('0x16c')](_0x1a467c);_0x2417ef[_0xea04('0x1a')]();}else{_0x3bffcd=_0x2417ef;for(const _0x14ae58 of _0xaf2790)_0x2417ef[_0xea04('0x137')](_0x14ae58)||_0x2417ef[_0xea04('0x16c')](_0x14ae58);}}if(_0x3bffcd)return _0x3bffcd;_0x15c0fd[_0xea04('0x112')]();for(const {suggestion:_0x1fec3a,meta:_0x2f9e7d}of this[_0xea04('0x5b')](_0xaf2790,'deletion'))_0x2f9e7d[_0xea04('0xc0')]&&(this['_mergeNestedSuggestions']||!_0x2f9e7d['containsRangeInObject']&&!_0x2f9e7d['isInsideObject'])&&Gt(_0x1fec3a,_0x231b91)&&_0x15c0fd[_0xea04('0x8e')](_0x1fec3a);for(const _0x4ba78f of _0x15c0fd){const _0x1d9b5c=_0x4ba78f['getRanges']();if(!_0x231b91||!_0x231b91['skipNestingCheck']){if(_0xaf2790['every'](_0x5ba589=>_0x1d9b5c[_0xea04('0x2c')](_0x478e96=>_0x478e96[_0xea04('0x117')](_0x5ba589,!0x0))))return _0x4ba78f;}(!_0x4ba78f[_0xea04('0x146')]||!_0x4ba78f[_0xea04('0x146')]['skipNestingCheck'])&&(_0x1d9b5c[_0xea04('0x141')](_0x1993e4=>_0xaf2790[_0xea04('0x2c')](_0x4b7a87=>_0x4b7a87['containsRange'](_0x1993e4,!0x0)))&&_0x4ba78f['discard']());}const _0xc92b85=_0x5973ad(),_0x51c2b2=_0x36d851['id'],_0xf1ac96=_0xea04('0x34')+_0x23f2f2,_0x51d1a3=this[_0xea04('0xf3')]({'id':_0xc92b85,'type':_0xf1ac96,'createdAt':new Date(),'authorId':_0x51c2b2,'attributes':_0x231b91});for(const _0x5bc8a1 of _0xaf2790)_0x5bc8a1[_0xea04('0x3f')](),_0x5bc8a1[_0xea04('0xdf')]||_0xea04('0x82')==_0x5bc8a1['root'][_0xea04('0x113')]||this[_0xea04('0x21')](_0xf1ac96,_0xc92b85,_0x51c2b2,_0x5bc8a1,_0x5b9956[_0xea04('0x72')]());return _0x51d1a3;}[_0xea04('0x14d')](_0x3af865,_0x1586d4,_0x1347cd,_0x55cb70,_0x220645){if(_0x3af865[_0xea04('0xdf')])return[];if(_0xea04('0x5a')===this[_0xea04('0x92')])return[];const _0x96ddf0=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')](_0xea04('0x42'))['me']['id'],_0x5020b1=Array[_0xea04('0xff')](this[_0xea04('0xf0')][_0xea04('0x128')]())['filter'](_0x1672b8=>_0xea04('0x168')==_0x1672b8[_0xea04('0xb9')]&&_0x1672b8['data']['key']==_0x1586d4&&_0x1672b8[_0xea04('0x137')](_0x3af865));if(_0xea04('0xd0')===this['_trackFormatChanges']){const _0x136f0e=this[_0xea04('0x5b')](_0x3af865,_0xea04('0x9a'))[_0xea04('0x88')](({meta:_0x140a22})=>_0x140a22[_0xea04('0xc0')]&&!_0x140a22['isInsideObject']&&!_0x140a22['isNextTo'])[_0xea04('0xe8')](({suggestion:_0x374a9b})=>_0x374a9b);_0x5020b1[_0xea04('0x177')](..._0x136f0e);}const _0x555012=new Map([[_0x3af865,_0x1347cd]]);for(const _0x2795ad of _0x5020b1){const _0x55af2f='attribute'==_0x2795ad[_0xea04('0xb9')]?_0x2795ad[_0xea04('0xb0')][_0xea04('0x75')]:void 0x0,_0x4a9ccb=_0x2795ad[_0xea04('0xda')](),_0xd79777=Array['from'](_0x555012[_0xea04('0x15')]())[_0xea04('0x23')](_0x207801=>_0x207801[_0xea04('0x123')](_0x4a9ccb));if(!_0xd79777)continue;const _0x5eb70a=_0xd79777['getDifference'](_0x4a9ccb);this[_0xea04('0x54')](_0x1586d4)&&_0xea04('0x9a')==_0x2795ad[_0xea04('0xb9')]&&0x0!=_0x5eb70a['length']||(_0x555012['delete'](_0xd79777),_0x5eb70a[_0xea04('0x15b')](_0x7bd8ae=>{_0x555012[_0xea04('0x133')](_0x7bd8ae,_0x1347cd);}),_0xea04('0x9a')!=_0x2795ad[_0xea04('0xb9')]&&_0x55af2f!=_0x55cb70&&_0x555012[_0xea04('0x133')](_0xd79777[_0xea04('0x115')](_0x4a9ccb),_0x55af2f));}const _0x347186=[];for(const [_0x36b059,_0x5e18b1]of _0x555012){const _0x24f707=_0x5973ad(),_0x4a1e2a={'key':_0x1586d4,'oldValue':_0x5e18b1,'newValue':_0x55cb70};_0x1586d4['length']>0x25&&console[_0xea04('0xed')](_0xea04('0xf1'),{'key':_0x1586d4});const _0x508209=(_0xea04('0xf9')+(_0x1586d4+'|'+Rt({'newValue':_0x55cb70})))[_0xea04('0x87')](0x0,0x3c),_0x3234e1=this[_0xea04('0xf3')]({'id':_0x24f707,'type':_0x508209,'data':_0x4a1e2a,'createdAt':new Date(),'authorId':_0x96ddf0,'attributes':_0x220645});_0x347186[_0xea04('0x9')](_0x3234e1),this[_0xea04('0x21')](_0x508209,_0x24f707,_0x96ddf0,_0x36b059);}return _0x347186;}['_registerBlockAttribute'](_0x3b750a){this[_0xea04('0xb6')][_0xea04('0x8e')](_0x3b750a);}[_0xea04('0x20')](_0x366b1d){this['_inlineAttributeKeys'][_0xea04('0x8e')](_0x366b1d);}[_0xea04('0x104')](_0x452d47,_0x3e6ca0=[],_0x21000a=[]){this[_0xea04('0x98')](_0x452d47,(_0x51713f,..._0x9f8c88)=>{this[_0xea04('0x40')](()=>{_0x51713f(..._0x9f8c88);});});for(const _0x33bf02 of _0x3e6ca0)this['_registerInlineAttribute'](_0x33bf02);for(const _0xf8380f of _0x21000a)this[_0xea04('0x94')](_0xf8380f);}[_0xea04('0x99')](_0x10dc98,_0x1ec16c){const _0x174308=_0x10dc98[_0xea04('0xfa')]();this[_0xea04('0xac')][_0xea04('0x17f')](_0x535257=>{_0x535257['updateMarker'](_0x174308,{'range':_0x1ec16c});});}['_addThreadToSuggestion'](_0x4a4800){const _0xf0b48c=_0x4a4800['id'],_0x3bff90=this[_0xea04('0x17d')][_0xea04('0xa7')][_0xea04('0xb1')](_0xea04('0xe7'));this[_0xea04('0x154')]['hasCommentThread'](_0xf0b48c)||this[_0xea04('0x154')][_0xea04('0x68')]({'channelId':_0x3bff90,'threadId':_0xf0b48c,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x22c50a=this[_0xea04('0x154')][_0xea04('0x4d')](_0xf0b48c);_0x22c50a[_0xea04('0x10')](_0xea04('0x114')),_0x22c50a[_0xea04('0x114')]=!0x1,_0x4a4800[_0xea04('0x2b')]=_0x22c50a;}[_0xea04('0x2e')](_0x5c838a,_0x414846,_0xe9a6c4,_0x2131e7){if(_0x5c838a['type']!=_0x414846||_0x5c838a[_0xea04('0x10b')]!=_0xe9a6c4||_0x5c838a[_0xea04('0xdb')]['id']!=_0x2131e7)throw this[_0xea04('0x17d')][_0xea04('0x5')]('track-changes-suggestion-data-mismatch'),new _0x588824(_0xea04('0x65'),this);}[_0xea04('0x107')](_0x5b84ec,_0x53c48d){const _0x1099d2=_0x5b84ec['getFirstRange']();if(_0x53c48d[_0xea04('0x3a')](_0x1099d2))_0x5b84ec[_0xea04('0x1a')]();else{if(_0x1099d2[_0xea04('0x117')](_0x53c48d)){const _0x33bd26=this['_model'][_0xea04('0x11c')](_0x53c48d[_0xea04('0xbd')][_0xea04('0x53')],_0xea04('0x5e'));this[_0xea04('0x99')](_0x5b84ec,this[_0xea04('0xac')][_0xea04('0x46')](_0x1099d2[_0xea04('0xbd')],_0x33bd26));const _0x1499d1=_0x5973ad(),_0x1646e8=_0x5b84ec[_0xea04('0xdb')]['id'],_0x499d78=_0x5b84ec['type']+':'+_0x5b84ec[_0xea04('0x10b')];this[_0xea04('0xf3')]({'id':_0x1499d1,'type':_0x499d78,'createdAt':new Date(),'authorId':_0x1646e8,'data':_0x5b84ec[_0xea04('0xb0')],'attributes':_0x5b84ec[_0xea04('0x146')]});const _0x39d907=this[_0xea04('0xac')][_0xea04('0x11c')](_0x53c48d[_0xea04('0x5e')]['parent'],_0xea04('0xa2')),_0x61193=this['_model']['createRange'](_0x39d907,_0x1099d2[_0xea04('0x5e')]);this[_0xea04('0x21')](_0x499d78,_0x1499d1,_0x1646e8,_0x61193);}else{if(_0x1099d2['containsPosition'](_0x53c48d['start'])){const _0xa7c79=this[_0xea04('0xac')][_0xea04('0x11c')](_0x53c48d[_0xea04('0xbd')][_0xea04('0x53')],'end');this[_0xea04('0x99')](_0x5b84ec,this[_0xea04('0xac')][_0xea04('0x46')](_0x1099d2[_0xea04('0xbd')],_0xa7c79));}else{const _0xc9f3b=this[_0xea04('0xac')][_0xea04('0x11c')](_0x53c48d[_0xea04('0x5e')]['parent'],'after');this['_setSuggestionRange'](_0x5b84ec,this[_0xea04('0xac')][_0xea04('0x46')](_0xc9f3b,_0x1099d2[_0xea04('0x5e')]));}}}}['_rangeIsInLocalUserInsertion'](_0x3ec3be){for(const {suggestion:_0x3ceaf6,meta:_0x7586e5}of this[_0xea04('0x5b')](_0x3ec3be,'insertion')){if(!_0x7586e5['isOwn'])continue;const _0xdac560=_0x3ceaf6[_0xea04('0x97')]();for(const _0x5b28eb of _0xdac560)if(!_0x3ec3be[_0xea04('0x31')](_0x5b28eb)[_0xea04('0xa8')])return!0x0;}return!0x1;}[_0xea04('0x132')](_0x47a0e1){const _0x2be975=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')](_0xea04('0x42'))[_0xea04('0xcd')](_0x47a0e1);if(!_0x2be975)throw new _0x588824(_0xea04('0x130'),this);return _0x2be975;}['_getExternalAuthor'](_0xf5cefa){const _0x3488ef=this[_0xea04('0x17d')][_0xea04('0x165')][_0xea04('0xb1')]('Users'),_0xc8f729=_0x5a38d7(_0xea04('0xa4')+_0xf5cefa),_0x4f37fb=_0x3488ef['getUser'](_0xc8f729);return _0x4f37fb||_0x3488ef[_0xea04('0x176')]({'id':_0xc8f729,'name':_0xf5cefa});}['_createSuggestion'](_0x214138,_0x27e47b,_0x464607,_0x4ac5aa,_0x30c73a){const _0x16aafd=this[_0xea04('0x132')](_0x4ac5aa),_0x368412=this['_suggestionFactory'][_0xea04('0xa0')](_0x214138,_0x27e47b,_0x464607,_0x16aafd,_0x30c73a,_0x58e5e1=>this['_updateSuggestionData'](_0x464607,{'attributes':_0x58e5e1}));return this[_0xea04('0x13d')](_0x368412,_0xea04('0xea'),()=>{this['_updateSuggestionData'](_0x464607,{'state':_0xea04('0x6f')});},{'priority':_0xea04('0x86')}),this['listenTo'](_0x368412,'discard',()=>{this[_0xea04('0xa9')](_0x464607,{'state':_0xea04('0x48')});},{'priority':_0xea04('0x86')}),this[_0xea04('0xf0')][_0xea04('0x133')](_0x464607,_0x368412),this[_0xea04('0x10e')][_0xea04('0x133')](_0x368412,'notReady'),_0x368412;}[_0xea04('0x79')](_0xcb6125){const _0x484028=_0xcb6125[_0xea04('0x14f')](':');return{'group':_0x484028[0x0],'type':_0x484028[0x1],'subType':_0x484028['length']>=0x5?_0x484028[0x2]:null,'id':_0x484028['length']<0x5?_0x484028[0x2]:_0x484028[0x3],'authorId':_0x484028[_0xea04('0xa8')]<0x5?_0x484028[0x3]:_0x484028[0x4],'markerCount':0x6==_0x484028[_0xea04('0xa8')]?_0x484028[0x5]:null};}[_0xea04('0x44')](_0x521794,_0x2bdacc,_0x427de8){const _0x30a62e=_0x521794[_0xea04('0xda')](),_0x1badf9=_0x30a62e[_0xea04('0xbd')],_0x1b400f=_0x30a62e['end'];this['_setSuggestionRange'](_0x521794,this[_0xea04('0xac')][_0xea04('0x46')](_0x1badf9,_0x2bdacc));const _0x11ba2b=_0x5973ad(),_0x7ac4fa=_0x521794[_0xea04('0xdb')]['id'],_0x5310ae=_0x521794[_0xea04('0xb9')]+(_0x521794[_0xea04('0x10b')]?':'+_0x521794['subType']:'');this[_0xea04('0xf3')]({'id':_0x11ba2b,'type':_0x5310ae,'createdAt':new Date(),'authorId':_0x7ac4fa,'originalSuggestionId':_0x521794['id'],'attributes':_0x521794['attributes'],'data':_0x521794[_0xea04('0xb0')]});const _0x2d479e=Pt(_0x521794);(_0xea04('0x4e')==_0x521794['type']||_0x2d479e&&this[_0xea04('0x54')](_0x2d479e))&&(_0x427de8=this[_0xea04('0xac')][_0xea04('0x3e')](_0x427de8[_0xea04('0x91')])),this[_0xea04('0x21')](_0x5310ae,_0x11ba2b,_0x7ac4fa,this['_model'][_0xea04('0x46')](_0x427de8,_0x1b400f));}[_0xea04('0x5b')](_0x5055ad,_0x211cfa=null){const _0x4ef0d6=[],_0x90cc42=this[_0xea04('0x17d')][_0xea04('0x165')]['get']('Users')['me'];Array[_0xea04('0x13a')](_0x5055ad)||(_0x5055ad=[_0x5055ad]);for(const _0x27fd8e of this[_0xea04('0x6a')]()){if(!_0x27fd8e['isInContent'])continue;if(_0x211cfa&&_0x27fd8e[_0xea04('0xb9')]!=_0x211cfa)continue;let _0x3b52f7=!0x1;for(const _0x14f395 of _0x27fd8e[_0xea04('0x97')]()){for(const _0xe05461 of _0x5055ad){const _0x20877c=_0xe05461['start']['isEqual'](_0x14f395['end'])||_0xe05461[_0xea04('0x5e')][_0xea04('0x3a')](_0x14f395[_0xea04('0xbd')]);if(_0x20877c||_0xe05461[_0xea04('0x115')](_0x14f395)){const _0x4f155a=_0xe05461['containsRange'](_0x14f395)&&Tt(this['_model'][_0xea04('0xc9')],_0x14f395['start'],_0xe05461),_0x599705=_0x14f395[_0xea04('0x117')](_0xe05461)&&Tt(this[_0xea04('0xac')]['schema'],_0xe05461[_0xea04('0xbd')],_0x14f395);_0x4ef0d6[_0xea04('0x9')]({'suggestion':_0x27fd8e,'meta':{'isOwn':_0x90cc42==_0x27fd8e[_0xea04('0x15f')],'isNextTo':_0x20877c,'isInsideObject':_0x4f155a,'containsRangeInObject':_0x599705}}),_0x3b52f7=!0x0;break;}}if(_0x3b52f7)break;}}return _0x4ef0d6;}[_0xea04('0x21')](_0xd7ae7e,_0x3c7451,_0x45959f,_0x51100e,_0x4486c4){this[_0xea04('0xac')]['change'](_0x44d256=>{let _0x564f3e=_0xea04('0x2a')+_0xd7ae7e+':'+_0x3c7451+':'+_0x45959f;_0x4486c4&&(_0x564f3e=_0x564f3e+':'+_0x4486c4),_0x44d256[_0xea04('0x51')](_0x564f3e,{'range':_0x51100e,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xea04('0x24')](_0x47a080){const _0x6ff786=_0x47a080[_0xea04('0x1')],_0x102757=_0x47a080[_0xea04('0xf8')];_0x47a080[_0xea04('0x1')]=null,_0x47a080[_0xea04('0xf8')]=null,null!=_0x6ff786&&(_0x6ff786[_0xea04('0xf8')]=_0x102757),null!=_0x102757&&(_0x102757[_0xea04('0x1')]=_0x6ff786),_0xea04('0xde')==this[_0xea04('0x10e')][_0xea04('0xb1')](_0x47a080)&&(this['_suggestionState'][_0xea04('0x133')](_0x47a080,'removed'),this[_0xea04('0xf2')](_0xea04('0x41'),_0x47a080,_0x6ff786,_0x102757));}[_0xea04('0xf3')](_0x24cafe){const _0x49903e=_0x24cafe['id'],_0x29395d=this[_0xea04('0x52')](_0x24cafe);if(this['_adapter']&&this[_0xea04('0x159')][_0xea04('0x13f')]){const _0x153b9c=this[_0xea04('0x17d')][_0xea04('0x165')]['get']('PendingActions'),_0x2d87a2=_0x29395d['hasComments'],_0x19e032=_0x29395d[_0xea04('0x10b')]?_0x29395d['type']+':'+_0x29395d[_0xea04('0x10b')]:_0x29395d[_0xea04('0xb9')],_0x5d4515=this['editor'][_0xea04('0x62')],_0x354476=_0x153b9c[_0xea04('0x8e')](_0x4b9969(_0x5d4515,_0xea04('0xd8'))),_0x20f64e={'id':_0x49903e,'type':_0x19e032,'hasComments':_0x2d87a2,'data':_0x24cafe['data']||null,'originalSuggestionId':_0x24cafe[_0xea04('0x17c')]||null,'attributes':_0x29395d[_0xea04('0x146')]};this['_adapter'][_0xea04('0x13f')](_0x20f64e)[_0xea04('0x50')](_0x532b66=>{_0x29395d[_0xea04('0x110')]=!0x0,_0x153b9c['remove'](_0x354476),_0x532b66&&_0x532b66[_0xea04('0x148')]&&(this[_0xea04('0xf0')]['get'](_0x49903e)[_0xea04('0x148')]=_0x532b66[_0xea04('0x148')]);})[_0xea04('0xd7')](_0x20012a=>{throw _0x33f7d9('error-saving-suggestion-data-suggestion-discarded'),this['editor'][_0xea04('0x96')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x29395d[_0xea04('0x109')]();}),_0x29395d[_0xea04('0x16b')](),this[_0xea04('0xf0')][_0xea04('0x174')](_0x29395d['id']),this[_0xea04('0x10e')][_0xea04('0x174')](_0x29395d),_0x20012a;});}return _0x29395d;}[_0xea04('0x54')](_0x187fdd){return this['_blockAttributeKeys'][_0xea04('0x11b')](_0x187fdd);}[_0xea04('0xa9')](_0x233d59,_0x4f4b1b){const _0x426367=this['editor'][_0xea04('0x165')]['get']('PendingActions'),_0x38faef=this['getSuggestion'](_0x233d59);if(this[_0xea04('0x159')]&&this[_0xea04('0x159')][_0xea04('0x84')]){if(_0x38faef[_0xea04('0x110')]){const _0x50581e=_0x426367[_0xea04('0x8e')](_0x4b9969(this['editor'][_0xea04('0x62')],_0xea04('0xd8')));this[_0xea04('0x159')][_0xea04('0x84')](_0x233d59,_0x4f4b1b)[_0xea04('0x50')](()=>{_0x426367[_0xea04('0xc3')](_0x50581e);});}else _0x38faef['on'](_0xea04('0x173'),()=>{this[_0xea04('0xa9')](_0x233d59,_0x4f4b1b);});}}[_0xea04('0xb3')](_0x5a4622){if(!this['_adapter']||!this[_0xea04('0x159')][_0xea04('0xaf')])throw new _0x588824(_0xea04('0x14c'),this);return this[_0xea04('0x159')][_0xea04('0xaf')](_0x5a4622);}['_handleNewSuggestionMarker'](_0x31c7aa){const {id:_0xd72624,type:_0x3e3078,subType:_0x40a514,authorId:_0x49376c}=this[_0xea04('0x79')](_0x31c7aa),_0x83df1e=this[_0xea04('0xf0')][_0xea04('0xb1')](_0xd72624)||this[_0xea04('0xe4')](_0x3e3078,_0x40a514,_0xd72624,_0x49376c,{});switch(this[_0xea04('0x2e')](_0x83df1e,_0x3e3078,_0x40a514,_0x49376c),this['_suggestionState'][_0xea04('0xb1')](_0x83df1e)){case _0xea04('0x3'):this[_0xea04('0xb3')](_0xd72624)[_0xea04('0x50')](_0x23d8a9=>{let _0x302a2c=Promise['resolve']();_0x23d8a9[_0xea04('0xee')]&&(_0x302a2c=this['_commentsRepository'][_0xea04('0xbe')]({'channelId':this[_0xea04('0x17d')][_0xea04('0xa7')]['get'](_0xea04('0xe7')),'threadId':_0xd72624})),_0x302a2c[_0xea04('0x50')](()=>{this[_0xea04('0x52')](_0x23d8a9)[_0xea04('0x110')]=!0x0;});}),this[_0xea04('0x10e')]['set'](_0x83df1e,'markerReady');break;case _0xea04('0x43'):this['_updateSuggestionData'](_0xd72624,{'state':_0xea04('0xc4')});case _0xea04('0x0'):this['_suggestionState'][_0xea04('0x133')](_0x83df1e,_0xea04('0xde')),this[_0xea04('0xf2')](_0xea04('0x1b'),_0x83df1e);break;case'ready':this[_0xea04('0xf2')](_0xea04('0x30'),_0x83df1e);}return _0x83df1e[_0xea04('0x35')](_0x31c7aa),_0x83df1e;}['_refreshSuggestionsChain'](_0x5569a0){const _0x4514ef=Array[_0xea04('0xff')](_0x5569a0),_0x4f0d9d=_0x4514ef[_0xea04('0x88')](_0x19821f=>_0xea04('0x168')==_0x19821f[_0xea04('0xb9')]);this[_0xea04('0x25')](_0x4f0d9d);const _0x2e8b79=_0x4514ef[_0xea04('0x88')](_0x33c7c5=>!_0x33c7c5[_0xea04('0xa1')]&&'attribute'!=_0x33c7c5[_0xea04('0xb9')]),_0x2a3c48=this[_0xea04('0x6a')]({'skipNotAttached':!0x0})['filter'](_0x4a4c60=>!_0x4a4c60[_0xea04('0xa1')]&&_0xea04('0x168')!=_0x4a4c60['type']),_0x2fa999=_0x2a3c48[_0xea04('0x88')](_0x4499f8=>!_0x5569a0[_0xea04('0x11b')](_0x4499f8)),_0x3476dc=new Map(_0x2a3c48[_0xea04('0xe8')](_0x3cbc4e=>[_0x3cbc4e,this['_suggestionFactory'][_0xea04('0x5f')](_0x3cbc4e[_0xea04('0xb9')],_0x3cbc4e[_0xea04('0x10b')],_0xea04('0x100'))])),_0x3dabf2=new Map(_0x2a3c48[_0xea04('0xe8')](_0x5b4b46=>[_0x5b4b46,_0x5b4b46['getFirstRange']()])),_0x444b92=new Set(),_0x5b5c86=new Set();for(let _0x5acc92=0x0;_0x5acc92<_0x2e8b79[_0xea04('0xa8')];_0x5acc92++)_0x2326f2(_0x2e8b79[_0x5acc92],_0x2e8b79,_0x5acc92+0x1);for(let _0x5a34ae=0x0;_0x5a34ae<_0x2e8b79[_0xea04('0xa8')];_0x5a34ae++)_0x2326f2(_0x2e8b79[_0x5a34ae],_0x2fa999,0x0);const _0x41c78c=new Set();for(let _0x5b464c=0x0;_0x5b464c<_0x2e8b79[_0xea04('0xa8')];_0x5b464c++){const _0x4bc5b9=_0x2e8b79[_0x5b464c];!_0x5b5c86[_0xea04('0x11b')](_0x4bc5b9)&&_0x4bc5b9[_0xea04('0x1')]&&(_0x41c78c[_0xea04('0x8e')](_0x4bc5b9['previous']),_0x4bc5b9['previous'][_0xea04('0xf8')]===_0x4bc5b9&&(_0x4bc5b9['previous'][_0xea04('0xf8')]=null),_0x4bc5b9[_0xea04('0x1')]=null),!_0x444b92[_0xea04('0x11b')](_0x4bc5b9)&&_0x4bc5b9[_0xea04('0xf8')]&&(_0x41c78c[_0xea04('0x8e')](_0x4bc5b9[_0xea04('0xf8')]),_0x4bc5b9['next'][_0xea04('0x1')]===_0x4bc5b9&&(_0x4bc5b9[_0xea04('0xf8')][_0xea04('0x1')]=null),_0x4bc5b9[_0xea04('0xf8')]=null);}function _0x2326f2(_0x4c8f6d,_0x31f7e7,_0x2c255d){for(let _0x1fcdb3=_0x2c255d;_0x1fcdb3<_0x31f7e7[_0xea04('0xa8')];_0x1fcdb3++){const _0x206b3f=_0x1eca4a(_0x4c8f6d,_0x31f7e7[_0x1fcdb3]);_0x206b3f&&(_0x206b3f[0x0][_0xea04('0xf8')]=_0x206b3f[0x1],_0x206b3f[0x1][_0xea04('0x1')]=_0x206b3f[0x0],_0x444b92[_0xea04('0x8e')](_0x206b3f[0x0]),_0x5b5c86[_0xea04('0x8e')](_0x206b3f[0x1]));}}function _0x1eca4a(_0x12cf71,_0x3aaf13){if(_0x12cf71['author']['id']!==_0x3aaf13[_0xea04('0x15f')]['id'])return null;const _0x1fed2c=_0x3476dc[_0xea04('0xb1')](_0x12cf71)(_0x12cf71,_0x3aaf13,_0x3dabf2[_0xea04('0xb1')](_0x12cf71),_0x3dabf2[_0xea04('0xb1')](_0x3aaf13));if(!_0x1fed2c)return null;return _0x3476dc[_0xea04('0xb1')](_0x3aaf13)(_0x12cf71,_0x3aaf13,_0x3dabf2['get'](_0x12cf71),_0x3dabf2[_0xea04('0xb1')](_0x3aaf13))?_0x1fed2c[0x1][_0xea04('0x2b')]&&_0x1fed2c[0x1][_0xea04('0x2b')]['length']?null:_0x1fed2c:null;}_0x41c78c['size']&&this[_0xea04('0x158')](_0x41c78c);}[_0xea04('0x25')](_0x3f808c){if(0x0==_0x3f808c[_0xea04('0xa8')])return;const _0x27a928=this[_0xea04('0x6a')]({'skipNotAttached':!0x0})[_0xea04('0x88')](_0x5d1429=>_0xea04('0x168')==_0x5d1429[_0xea04('0xb9')]&&_0x5d1429[_0xea04('0x14a')]),_0x23c1f1=[],_0x503cc8=new Map();for(const _0x2ddc29 of _0x27a928){const _0xa04c48=_0x5a38d7(_0x2ddc29[_0xea04('0x146')]);_0x503cc8[_0xea04('0x11b')](_0xa04c48)||(_0x503cc8[_0xea04('0x133')](_0xa04c48,_0x23c1f1[_0xea04('0xa8')]),_0x23c1f1[_0xea04('0x9')]([]));const _0x2ca62a=_0x503cc8[_0xea04('0xb1')](_0xa04c48);_0x23c1f1[_0x2ca62a][_0xea04('0x9')](_0x2ddc29);}!function(){_0x23c1f1[_0xea04('0xe3')]((_0x5df2e5,_0xc696c5)=>{const _0x5c52ae=_0x5df2e5[0x0][_0xea04('0x148')],_0x39ebec=_0xc696c5[0x0]['createdAt'];return _0x5c52ae==_0x39ebec?_0x5df2e5[0x0]['attributes']['groupId']<_0xc696c5[0x0][_0xea04('0x146')][_0xea04('0xca')]?-0x1:0x1:_0x5c52ae<_0x39ebec?-0x1:0x1;});for(const _0x15ea33 of _0x23c1f1)_0x15ea33[_0xea04('0xe3')]((_0x438db4,_0x11e0e2)=>_0x438db4['id']<_0x11e0e2['id']?-0x1:0x1);}();for(let _0x5ec04f=0x0;_0x5ec04f<_0x23c1f1[_0xea04('0xa8')];_0x5ec04f++){if(0x0==_0x23c1f1[_0x5ec04f][_0xea04('0xa8')])continue;const _0x3bb358=[];for(let _0x48ebdf=_0x5ec04f+0x1;_0x48ebdf<_0x23c1f1[_0xea04('0xa8')];_0x48ebdf++)0x0!=_0x23c1f1[_0x48ebdf]['length']&&_0x5d131c(_0x23c1f1[_0x5ec04f],_0x23c1f1[_0x48ebdf])&&_0x3bb358[_0xea04('0x9')](_0x48ebdf);for(const _0x3ca562 of _0x3bb358)_0x23c1f1[_0x5ec04f]=_0x23c1f1[_0x5ec04f]['concat'](_0x23c1f1[_0x3ca562]),_0x23c1f1[_0x3ca562]=[];}for(const _0x5ef955 of _0x23c1f1)for(let _0xaf470e=0x0;_0xaf470e<_0x5ef955['length'];_0xaf470e++)_0x5ef955[_0xaf470e][_0xea04('0xf8')]=_0x5ef955[_0xaf470e+0x1]||null;for(const _0x4266ce of _0x23c1f1)for(let _0x3ff734=0x0;_0x3ff734<_0x4266ce['length'];_0x3ff734++)_0x4266ce[_0x3ff734]['previous']=_0x4266ce[_0x3ff734-0x1]||null;function _0x5d131c(_0x2c6183,_0x16036f){if(_0x2c6183[0x0][_0xea04('0x15f')]!==_0x16036f[0x0][_0xea04('0x15f')])return!0x1;if(!function(_0xd9810a,_0x2b95a9){if(!_0xd9810a[_0xea04('0xee')]&&!_0x2b95a9[_0xea04('0xee')])return!0x0;if(_0xd9810a[_0xea04('0xee')]&&_0x2b95a9[_0xea04('0xee')])return!0x1;if(_0xd9810a[_0xea04('0xee')]&&_0x2b95a9[_0xea04('0x148')]<_0xd9810a['commentThread'][_0xea04('0x163')][_0xea04('0xb1')](0x0)['createdAt'])return!0x0;if(_0x2b95a9[_0xea04('0xee')]&&_0xd9810a[_0xea04('0x148')]<_0x2b95a9[_0xea04('0x2b')][_0xea04('0x163')]['get'](0x0)[_0xea04('0x148')])return!0x0;return!0x1;}(_0x2c6183[0x0],_0x16036f[0x0]))return!0x1;const _0x4362e4=_0x5282d2(_0x2c6183[0x0]['attributes'],_0xea04('0xca')),_0xa90e4f=_0x5282d2(_0x16036f[0x0][_0xea04('0x146')],_0xea04('0xca'));if(!_0x2f12fa(_0x4362e4,_0xa90e4f))return!0x1;return!!_0x2c6183[_0xea04('0x141')](_0x41b2ff=>_0x16036f['some'](_0x27dbcd=>_0x41b2ff['getFirstRange']()[_0xea04('0x3a')](_0x27dbcd[_0xea04('0xda')]())))&&_0x16036f[_0xea04('0x141')](_0x4ab253=>_0x2c6183[_0xea04('0x2c')](_0x339393=>_0x4ab253[_0xea04('0xda')]()[_0xea04('0x3a')](_0x339393[_0xea04('0xda')]())));}}[_0xea04('0xb4')](_0x34948c){const _0x1da5ec=Array[_0xea04('0xff')](_0x34948c),_0x4c89c4=this['getSuggestions']({'skipNotAttached':!0x0}),_0x4d57e5=_0x4c89c4[_0xea04('0x88')](_0x2a87db=>!_0x34948c[_0xea04('0x11b')](_0x2a87db)),_0x2062f1=new Map(_0x1da5ec['map'](_0x16c62d=>[_0x16c62d,this[_0xea04('0x4c')][_0xea04('0x5f')](_0x16c62d[_0xea04('0xb9')],_0x16c62d[_0xea04('0x10b')],_0xea04('0x55'))])),_0x44d1fa=new Map(_0x4c89c4[_0xea04('0xe8')](_0x4124e9=>[_0x4124e9,_0x4124e9[_0xea04('0x97')]()]));for(let _0x4f3e6a=0x0;_0x4f3e6a<_0x1da5ec[_0xea04('0xa8')];_0x4f3e6a++){if(_0x232928(this,_0x1da5ec[_0x4f3e6a],_0x1da5ec,_0x4f3e6a+0x1))return!0x0;}for(let _0x3f7495=0x0;_0x3f7495<_0x1da5ec[_0xea04('0xa8')];_0x3f7495++){if(_0x232928(this,_0x1da5ec[_0x3f7495],_0x4d57e5,0x0))return!0x0;}return!0x1;function _0x232928(_0x39ca2b,_0x4385f9,_0x496f41,_0x328eb9){for(let _0x137ff9=_0x328eb9;_0x137ff9<_0x496f41[_0xea04('0xa8')];_0x137ff9++){const _0x16024b=_0x496f41[_0x137ff9];if(_0x16024b['type']!==_0x4385f9[_0xea04('0xb9')]||_0x16024b[_0xea04('0x15f')]['id']!==_0x4385f9[_0xea04('0x15f')]['id']||_0x16024b[_0xea04('0x10b')]!==_0x4385f9[_0xea04('0x10b')])continue;if(!Vt(_0x4385f9,_0x16024b))continue;if(_0xea04('0x168')==_0x4385f9[_0xea04('0xb9')]&&_0x4385f9[_0xea04('0xb0')][_0xea04('0x75')]!=_0x16024b[_0xea04('0xb0')]['oldValue'])continue;if('attribute'==_0x4385f9[_0xea04('0xb9')]&&_0x39ca2b[_0xea04('0x54')](_0x4385f9[_0xea04('0xb0')][_0xea04('0x152')]))continue;if(_0xea04('0x4e')==_0x4385f9[_0xea04('0xb9')]){const _0x134bb7=_0x39ca2b[_0xea04('0x17d')][_0xea04('0x96')],_0x3be395=_0x4385f9[_0xea04('0xec')]();if(_0x3be395&&(_0x134bb7[_0xea04('0xc9')][_0xea04('0x169')](_0x3be395)||_0x134bb7[_0xea04('0xc9')]['isLimit'](_0x3be395)))continue;}const _0x3bce50=_0x2062f1[_0xea04('0xb1')](_0x4385f9),_0x7d7f6f=_0x44d1fa['get'](_0x4385f9),_0x2bbcfe=_0x44d1fa['get'](_0x16024b),_0x266b45=_0x4385f9['commentThread']&&_0x4385f9[_0xea04('0x2b')][_0xea04('0xa8')],_0x52eec1=_0x16024b[_0xea04('0x2b')]&&_0x16024b['commentThread'][_0xea04('0xa8')];if(!_0x266b45&&_0x3bce50(_0x2bbcfe,_0x7d7f6f))return _0x39ca2b[_0xea04('0x6')](_0x16024b,_0x4385f9),_0x44d1fa['delete'](_0x4385f9),!0x0;if(!_0x52eec1&&_0x3bce50(_0x7d7f6f,_0x2bbcfe))return _0x39ca2b['_joinSuggestions'](_0x4385f9,_0x16024b),_0x44d1fa[_0xea04('0x174')](_0x16024b),!0x0;}return!0x1;}}[_0xea04('0x6')](_0x1d21a4,_0x43792b){if(_0x1d21a4['isMultiRange'])for(const _0x47098c of _0x43792b['getRanges']())_0x1d21a4[_0xea04('0x16c')](_0x47098c);else{const _0x4a81ac=_0x43792b[_0xea04('0xda')]()['end'];this[_0xea04('0x99')](_0x1d21a4,this['_model'][_0xea04('0x46')](_0x1d21a4[_0xea04('0xda')]()[_0xea04('0xbd')],_0x4a81ac));}_0x43792b[_0xea04('0x1a')]();}[_0xea04('0x126')](_0x126ba8,_0x3bd319){const _0x30837e=_0x126ba8['startsWith'](_0xea04('0x14e'))||_0x126ba8[_0xea04('0xd9')](_0xea04('0x168'))?'FORMATTING':_0x126ba8['toUpperCase']();return _0x4b9969(this[_0xea04('0x17d')]['locale'],_0x3bd319+'_'+_0x30837e+_0xea04('0xef'));}[_0xea04('0x116')](){const _0x3c2b6e=this['editor'];_0x484966(this['_model'],({left:_0x4e4b01,entered:_0x403346})=>{const _0x235101=[];for(const _0x52f6f4 of _0x4e4b01){const {group:_0x2a2aa8,type:_0x4ee139}=this[_0xea04('0x79')](_0x52f6f4[_0xea04('0x22')]);if('suggestion'===_0x2a2aa8){_0x235101['push'](this['_getMarkerAnnouncementText'](_0x4ee139,_0xea04('0x76')));break;}}for(const _0xec273d of _0x403346){const {group:_0x20336e,type:_0x4d257b}=this[_0xea04('0x79')](_0xec273d[_0xea04('0x22')]);if(_0xea04('0xc6')===_0x20336e){_0x235101[_0xea04('0x9')](this[_0xea04('0x126')](_0x4d257b,_0xea04('0x16a')));break;}}_0x235101['length']&&_0x3c2b6e['ui'][_0xea04('0x12')][_0xea04('0x63')](_0xea04('0x160'),_0x235101['join']('\x20'));});}[_0xea04('0x1c')](_0x319edb){if(null!==this[_0xea04('0x147')])return!0x1;const _0x16c0d9=this[_0xea04('0x17d')],_0x58e04f=_0x16c0d9[_0xea04('0x96')][_0xea04('0xf4')]['differ'][_0xea04('0x139')]();if(0x0==_0x58e04f[_0xea04('0xa8')])return!0x1;const _0x1df672=[],_0x5b6165=_0x58e04f[_0xea04('0x88')](_0x503c15=>_0xea04('0x168')==_0x503c15[_0xea04('0xb9')]),_0x394ece=_0x58e04f[_0xea04('0x88')](_0x1a62e4=>_0xea04('0x138')==_0x1a62e4[_0xea04('0xb9')]&&_0xea04('0xe1')!=_0x1a62e4[_0xea04('0x22')]),_0x44c472=_0x58e04f['filter'](_0x3c479d=>'remove'==_0x3c479d[_0xea04('0xb9')]&&_0xea04('0xe1')!=_0x3c479d[_0xea04('0x22')]);for(const _0xc99e1e of _0x5b6165)_0x1df672[_0xea04('0x9')]({'key':_0xc99e1e[_0xea04('0x60')],'newValue':_0xc99e1e[_0xea04('0x78')],'oldValue':_0xc99e1e[_0xea04('0x14b')],'range':_0x3136f0(_0xc99e1e['range'])});for(const _0x339337 of _0x394ece){const _0x558c02=_0x44c472[_0xea04('0x23')](_0x1cb4e2=>_0x1cb4e2[_0xea04('0xb2')][_0xea04('0x3a')](_0x339337[_0xea04('0xb2')]));_0x558c02&&_0x1df672[_0xea04('0x9')]({'key':_0xea04('0xdc'),'newValue':_0x339337[_0xea04('0x22')],'oldValue':_0x558c02[_0xea04('0x22')],'range':_0x16c0d9['model'][_0xea04('0x1f')](_0x339337['position']['nodeAfter'])});}return 0x0!=_0x1df672[_0xea04('0xa8')]&&this[_0xea04('0xd')](_0x319edb,_0x1df672);function _0x3136f0(_0x598d24){return null==_0x598d24[_0xea04('0x5e')][_0xea04('0x53')]&&_0x598d24[_0xea04('0x5e')]['parent']==_0x598d24['start']['nodeAfter']?Ut(_0x598d24[_0xea04('0xbd')][_0xea04('0x15c')],_0x16c0d9['model']):_0x598d24;}}[_0xea04('0x170')](_0x36c531){let _0x368a33=!0x1;const _0x5f7fe=this[_0xea04('0x17d')][_0xea04('0x96')][_0xea04('0xf4')]['differ']['getChangedMarkers']()[_0xea04('0x88')](_0x26ebf8=>_0x26ebf8['data'][_0xea04('0x14')]&&_0x26ebf8['name'][_0xea04('0xd9')](_0xea04('0x11a')));for(const _0x36c15a of _0x5f7fe){const {subType:_0xc766a1,id:_0x295777}=this['_splitMarkerName'](_0x36c15a['name']),_0x3bb6f4=_0xc766a1['split']('|')[0x0];for(const _0x19f70a of this['getSuggestions']({'skipNotAttached':!0x0}))_0x19f70a['id']!=_0x295777&&_0xea04('0x168')==_0x19f70a[_0xea04('0xb9')]&&_0x19f70a[_0xea04('0xb0')]&&_0x19f70a[_0xea04('0xb0')][_0xea04('0x152')]==_0x3bb6f4&&_0x19f70a[_0xea04('0xda')]()[_0xea04('0x123')](_0x36c15a[_0xea04('0xb0')][_0xea04('0x14')])&&(this[_0xea04('0xaa')](_0x19f70a,_0x36c15a[_0xea04('0xb0')][_0xea04('0x14')],_0x36c531),_0x368a33=!0x0);}return _0x368a33;}[_0xea04('0x40')](_0x10d9c7){if(null!==this[_0xea04('0x147')])return void _0x10d9c7();const _0x1e51bf=this[_0xea04('0x17d')];this[_0xea04('0x147')]=_0x1e51bf['model'][_0xea04('0xf4')]['version'],_0x10d9c7();const _0x2c367a=new Map();for(const _0xd19528 of _0x1e51bf[_0xea04('0x96')][_0xea04('0xf4')][_0xea04('0x90')][_0xea04('0x10d')](this[_0xea04('0x147')]))if([_0xea04('0x80'),_0xea04('0x16'),_0xea04('0x45'),_0xea04('0x33')][_0xea04('0xf7')](_0xd19528[_0xea04('0xb9')])){const _0xd9cbd3=_0xd19528[_0xea04('0x135')],_0x13fa41=_0x2c367a[_0xea04('0xb1')](_0xd9cbd3)||[];_0x13fa41['push'](_0xd19528),_0x2c367a[_0xea04('0x133')](_0xd9cbd3,_0x13fa41);}this[_0xea04('0x147')]=null;for(const [_0x3ff8f9,_0x3720e6]of _0x2c367a){const _0x5298f1=_0x5973ad();_0x1e51bf[_0xea04('0x96')][_0xea04('0x4')](_0x3ff8f9,_0x49c7fd=>{const _0x1171c6=[];for(const _0x338028 of _0x3720e6){let _0x46dfb6,_0x260b28,_0x3bae3e,_0x4e10c9;if(_0xea04('0x80')==_0x338028[_0xea04('0xb9')]){const _0x3019d7=_0x338028;_0x46dfb6=Ut(_0x3019d7['position'][_0xea04('0x15c')],_0x1e51bf['model']),_0x260b28=_0xea04('0xdc'),_0x3bae3e=_0x3019d7[_0xea04('0xfe')],_0x4e10c9=_0x3019d7['oldName'];}else{const _0xe030=_0x338028,_0x38f87c=this[_0xea04('0x54')](_0xe030['key']),_0x470328=this[_0xea04('0x37')]['has'](_0xe030['key']);if(!_0x38f87c&&!_0x470328)continue;_0x46dfb6=_0x38f87c?Ut(_0xe030[_0xea04('0x175')][_0xea04('0xbd')][_0xea04('0x15c')],_0x1e51bf[_0xea04('0x96')]):_0xe030[_0xea04('0x175')],_0x260b28=_0xe030[_0xea04('0x152')],_0x3bae3e='removeAttribute'==_0x338028[_0xea04('0xb9')]?void 0x0:_0xe030[_0xea04('0x27')],_0x4e10c9=_0xe030[_0xea04('0x75')];}this[_0xea04('0x14d')](_0x46dfb6,_0x260b28,_0x4e10c9,_0x3bae3e,{'groupId':_0x5298f1}),_0x1171c6[_0xea04('0x9')]({'range':_0x46dfb6,'key':_0x260b28,'newValue':_0x3bae3e,'oldValue':_0x4e10c9});}this['_reduceExistingSuggestions'](_0x49c7fd,_0x1171c6);});}}[_0xea04('0xd')](_0x52ad79,_0xddfb9c){if(0x0==_0xddfb9c['length'])return!0x1;let _0x54390a=!0x1;for(const _0x560feb of _0xddfb9c){const _0x52a7e0=this[_0xea04('0x5b')](_0x560feb['range'],_0xea04('0x168'))['filter'](_0x248080=>!_0x248080[_0xea04('0x155')][_0xea04('0x93')])[_0xea04('0xe8')](_0x43381e=>_0x43381e[_0xea04('0xc6')]),_0x28d1ca=_0x5a38d7({'newValue':_0x560feb['newValue']});_0x52a7e0[_0xea04('0x88')](_0x1a3164=>{const [_0x2adf68,_0x2aeaec]=_0x1a3164[_0xea04('0x10b')]['split']('|');return _0x2adf68==_0x560feb[_0xea04('0x152')]&&_0x2aeaec!=_0x28d1ca;})[_0xea04('0x15b')](_0x40a1e5=>{this['_reduceSuggestionAttributeRange'](_0x40a1e5,_0x560feb[_0xea04('0x175')],_0x52ad79),_0x54390a=!0x0;});}return _0x54390a;}[_0xea04('0xaa')](_0x537efc,_0x38410d,_0x96fc9){const _0x4c190e=_0x537efc[_0xea04('0xda')]()[_0xea04('0x31')](_0x38410d);0x0!==_0x4c190e[_0xea04('0xa8')]?0x1!==_0x4c190e[_0xea04('0xa8')]?this[_0xea04('0x44')](_0x537efc,_0x38410d[_0xea04('0xbd')],_0x38410d[_0xea04('0x5e')]):this[_0xea04('0x99')](_0x537efc,_0x4c190e[0x0]):_0x96fc9[_0xea04('0x73')](_0x537efc['getFirstMarker']());}}class Bt{constructor(_0x4d3aea){this[_0xea04('0xdd')]=_0x4d3aea,this[_0xea04('0xac')]=_0x4d3aea[_0xea04('0x96')],this['_customCallbacks']=new Map(),this[_0xea04('0xce')]=new Map(),this[_0xea04('0x7d')]();}[_0xea04('0xa0')](_0x233261,_0x2fd61b,_0x4a9161,_0x182d07,_0x4c84a8,_0x48a66f){return new _0x5b9956(this[_0xea04('0xac')],{'type':_0x233261,'subType':_0x2fd61b,'id':_0x4a9161,'author':_0x182d07,'creator':_0x182d07,'attributes':_0x4c84a8,'onAttributesChange':_0x48a66f,'onAccept':(..._0x5dba55)=>this[_0xea04('0x5f')](_0x233261,_0x2fd61b,_0xea04('0xea'))(..._0x5dba55),'onDiscard':(..._0x22bbca)=>this[_0xea04('0x5f')](_0x233261,_0x2fd61b,_0xea04('0x109'))(..._0x22bbca)});}[_0xea04('0x106')](_0x2c4ce8,_0x19b45b,_0x47fd6f,_0x255f4f){const _0x3b022b=_0x2c4ce8+':'+_0x19b45b+':'+_0x47fd6f;this[_0xea04('0xf5')][_0xea04('0x133')](_0x3b022b,_0x255f4f);}[_0xea04('0x5f')](_0x2da461,_0xa6d9c5,_0x43c913){const _0x4022d5=_0x2da461+':'+_0xa6d9c5+':'+_0x43c913;return this[_0xea04('0xf5')]['get'](_0x4022d5)||this[_0xea04('0xce')]['get'](_0x2da461+':'+_0x43c913);}[_0xea04('0x7d')](){const _0x35dbf9=()=>!0x1,_0x4e8bd7=_0x2da4e9=>{_0x2da4e9['sort']((_0x3badfe,_0xad1e24)=>_0x3badfe[_0xea04('0xbd')][_0xea04('0x127')](_0xad1e24['start'])?0x1:-0x1),this[_0xea04('0xac')]['change'](_0x491f1c=>{for(const _0x2221c6 of _0x2da4e9){let _0x402eab;_0x402eab=_0x2221c6[_0xea04('0x5e')][_0xea04('0x10a')]&&_0x2221c6['end'][_0xea04('0x91')]==_0x2221c6[_0xea04('0xbd')][_0xea04('0x15c')]?_0x491f1c[_0xea04('0x8f')](_0x2221c6[_0xea04('0xbd')][_0xea04('0x15c')],'on'):_0x491f1c[_0xea04('0x8f')](_0x2221c6),this[_0xea04('0xac')][_0xea04('0x36')](_0x402eab,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x5c5208=(_0x296a72,_0x41acca)=>{_0x41acca&&this[_0xea04('0xac')][_0xea04('0x17f')](_0x4b66e4=>{const {commandName:_0x30cfcb,commandParams:_0x5442c1=[]}=_0x41acca,_0x8074b6=_0x296a72[_0xea04('0xe8')](_0x2452a7=>(xt(_0x2452a7)&&(_0x2452a7=this[_0xea04('0xac')][_0xea04('0x46')](_0x2452a7[_0xea04('0x5e')])),_0x2452a7))[_0xea04('0x88')](_0x2b50a5=>_0xea04('0x82')!==_0x2b50a5[_0xea04('0x164')][_0xea04('0x113')]);if(_0x8074b6['length']<0x1)return;const _0x424405=Array['from'](this[_0xea04('0xac')][_0xea04('0xf4')]['selection'][_0xea04('0x97')]())[_0xea04('0xe8')](_0x10065f=>_0x567f7b['fromRange'](_0x10065f));_0x4b66e4['setSelection'](_0x8074b6);for(const _0x430147 of this[_0xea04('0xdd')][_0xea04('0x145')][_0xea04('0x145')]())_0x430147[_0xea04('0x134')]();_0x5442c1[_0xea04('0x9')]({'forceDefaultExecution':!0x0}),this[_0xea04('0xdd')][_0xea04('0x143')](_0x30cfcb,..._0x5442c1);const _0x557c8e=_0x424405['filter'](_0x117a92=>'$graveyard'!=_0x117a92[_0xea04('0x164')][_0xea04('0x113')]);_0x557c8e[_0xea04('0xa8')]>0x0&&_0x4b66e4[_0xea04('0x32')](_0x557c8e);for(const _0x36858c of _0x424405)_0x36858c[_0xea04('0x3f')]();});},_0x35c2e7=(_0x2106a1,_0x4851b9)=>0x1==_0x2106a1[_0xea04('0xa8')]&&0x1==_0x4851b9[_0xea04('0xa8')]&&_0x2106a1[0x0][_0xea04('0x5e')][_0xea04('0x3a')](_0x4851b9[0x0][_0xea04('0xbd')]),_0x293a3b=(_0x37b08f,_0x2d4e7b,_0x598181,_0xec3ea5)=>Ot(_0x37b08f,_0x2d4e7b,_0x598181,_0xec3ea5,this[_0xea04('0xac')])?[_0x37b08f,_0x2d4e7b]:Ot(_0x2d4e7b,_0x37b08f,_0xec3ea5,_0x598181,this[_0xea04('0xac')])?[_0x2d4e7b,_0x37b08f]:null;this[_0xea04('0xce')][_0xea04('0x133')]('insertion:accept',_0x35dbf9),this[_0xea04('0xce')]['set'](_0xea04('0xe9'),_0x4e8bd7),this[_0xea04('0xce')][_0xea04('0x133')](_0xea04('0x17a'),_0x35c2e7),this[_0xea04('0xce')][_0xea04('0x133')](_0xea04('0x10c'),_0x293a3b),this['_defaultCallbacks'][_0xea04('0x133')]('deletion:accept',_0x4e8bd7),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0xbb'),_0x35dbf9),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0x156'),_0x35c2e7),this[_0xea04('0xce')][_0xea04('0x133')](_0xea04('0x1d'),_0x293a3b),this[_0xea04('0xce')]['set']('formatInline:accept',_0x5c5208),this[_0xea04('0xce')][_0xea04('0x133')](_0xea04('0x172'),_0x35dbf9),this[_0xea04('0xce')][_0xea04('0x133')](_0xea04('0xb5'),_0x35c2e7),this['_defaultCallbacks'][_0xea04('0x133')]('formatInline:chain',_0x35dbf9),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0x6d'),_0x5c5208),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0x13'),_0x35dbf9),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0x57'),_0x35c2e7),this[_0xea04('0xce')]['set'](_0xea04('0x11e'),_0x35dbf9),this['_defaultCallbacks'][_0xea04('0x133')](_0xea04('0x101'),_0x35dbf9),this['_defaultCallbacks'][_0xea04('0x133')]('attribute:discard',(_0x27b441,_0x4a832c)=>{if(!_0x4a832c)return;const _0x3016f8=this['_editor'][_0xea04('0x165')]['get'](p);this[_0xea04('0xac')][_0xea04('0x17f')](_0x22d572=>{if('$elementName'==_0x4a832c[_0xea04('0x152')])for(const _0x5b4331 of _0x27b441){const _0x5b8115=_0x5b4331[_0xea04('0xbd')][_0xea04('0x15c')],_0x80d687=_0x4a832c[_0xea04('0x75')];_0x22d572[_0xea04('0x80')](_0x5b8115,_0x80d687);}else{if(_0x3016f8[_0xea04('0x54')](_0x4a832c[_0xea04('0x152')]))for(const _0x6c2d91 of _0x27b441)void 0x0!==_0x4a832c[_0xea04('0x75')]?_0x22d572[_0xea04('0x121')](_0x4a832c[_0xea04('0x152')],_0x4a832c[_0xea04('0x75')],_0x6c2d91[_0xea04('0xbd')][_0xea04('0x15c')]):_0x22d572[_0xea04('0x45')](_0x4a832c[_0xea04('0x152')],_0x6c2d91[_0xea04('0xbd')][_0xea04('0x15c')]);else for(const _0x2f61f2 of _0x27b441)_0x4a832c[_0xea04('0x75')]?_0x22d572[_0xea04('0x121')](_0x4a832c[_0xea04('0x152')],_0x4a832c[_0xea04('0x75')],_0x2f61f2):_0x22d572[_0xea04('0x45')](_0x4a832c[_0xea04('0x152')],_0x2f61f2);}});}),this[_0xea04('0xce')]['set'](_0xea04('0x7e'),_0x35c2e7);}}function Tt(_0x41a5ed,_0x2c3a18,_0x3745af){for(const _0x2b1e14 of _0x2c3a18['parent'][_0xea04('0x66')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x2b1e14[_0xea04('0x164')]==_0x2b1e14)return!0x1;if(!_0x3745af[_0xea04('0x12c')](_0x2b1e14))return!0x1;if(_0x41a5ed[_0xea04('0x169')](_0x2b1e14)||_0x41a5ed[_0xea04('0x9c')](_0x2b1e14))return!0x0;}return!0x1;}function xt(_0x34f12c){return _0x34f12c[_0xea04('0x5e')]['parent']==_0x34f12c[_0xea04('0xbd')][_0xea04('0x15c')]&&_0x34f12c[_0xea04('0x5e')][_0xea04('0xad')];}function Et(_0x3503fd,_0x5e3961,_0x1c6956,_0x2e8c6f){const _0x495376=_0xd8f55e=>!_0xd8f55e[_0xea04('0x49')]['is']('$textProxy')&&!_0x2e8c6f['isObject'](_0xd8f55e[_0xea04('0x49')]),_0x2dd988=_0x3503fd['start'][_0xea04('0xc2')](_0x495376),_0x316318=_0x3503fd['end'][_0xea04('0xc2')](_0x495376,{'direction':_0xea04('0x28')});return(!_0x3503fd[_0xea04('0xbd')][_0xea04('0x3a')](_0x2dd988)||!_0x3503fd[_0xea04('0x5e')][_0xea04('0x3a')](_0x316318))&&(_0x2dd988[_0xea04('0x127')](_0x316318)?_0x1c6956[_0xea04('0xd1')](_0x5e3961,{'range':_0x1c6956[_0xea04('0x46')](_0x2dd988,_0x316318)}):_0x1c6956[_0xea04('0x73')](_0x5e3961),!0x0);}function Rt(_0xf5801a){return _0x5a38d7(_0xf5801a);}function jt(_0x3b1fdb){const _0x2c099a=_0x3b1fdb[_0xea04('0xbd')][_0xea04('0x15c')];return _0x2c099a&&_0x2c099a['is'](_0xea04('0x16f'));}function Ut(_0xc984d6,_0xd9aa7d){const _0xb3dd1d=_0xd9aa7d[_0xea04('0xc9')][_0xea04('0x169')](_0xc984d6)||_0xd9aa7d[_0xea04('0xc9')][_0xea04('0x120')](_0xc984d6);return _0xd9aa7d[_0xea04('0x46')](_0xd9aa7d[_0xea04('0x11c')](_0xc984d6,_0xea04('0x61')),_0xb3dd1d?_0xd9aa7d[_0xea04('0x89')](_0xc984d6):_0xd9aa7d[_0xea04('0x11c')](_0xc984d6,_0xea04('0x5e')));}function Ot(_0x292a81,_0x5cbcc2,_0x21e881,_0x5278e1,_0x2319f7){if(!Vt(_0x292a81,_0x5cbcc2))return!0x1;if(_0x21e881[_0xea04('0x5e')][_0xea04('0x3a')](_0x5278e1['start']))return!0x0;if(_0x292a81[_0xea04('0xb9')]!=_0x5cbcc2[_0xea04('0xb9')])return!0x1;if(!_0x21e881[_0xea04('0x5e')][_0xea04('0x17b')](_0x5278e1[_0xea04('0xbd')]))return!0x1;const _0x43e312=_0x2319f7[_0xea04('0x46')](_0x21e881[_0xea04('0x5e')],_0x5278e1[_0xea04('0xbd')])[_0xea04('0xd3')]();for(const _0x582c85 of _0x43e312)if([_0xea04('0x13e'),_0xea04('0x71')]['includes'](_0x582c85[_0xea04('0xb9')])&&_0x2319f7[_0xea04('0xc9')]['isLimit'](_0x582c85[_0xea04('0x49')]))return!0x1;return!0x0;}function Vt(_0x9aa14c,_0xd5a530){return!(!_0x9aa14c[_0xea04('0x14a')]||!_0xd5a530[_0xea04('0x14a')])&&_0x2f12fa(_0x9aa14c[_0xea04('0x146')],_0xd5a530[_0xea04('0x146')]);}function Gt(_0x16bf72,_0x24f5ab){const _0x2ba039=Ft(_0x16bf72[_0xea04('0x146')]),_0x546501=Ft(_0x24f5ab);if(!_0x16bf72[_0xea04('0x14a')])return!0x1;for(const _0x3dbb37 of Object[_0xea04('0x15')](_0x546501))if(!_0x2f12fa(_0x2ba039[_0x3dbb37],_0x546501[_0x3dbb37]))return!0x1;return!0x0;}function Ft(_0x2cddbe){const _0x83b2c1=Object[_0xea04('0x153')]({},_0x2cddbe);return delete _0x83b2c1[_0xea04('0xd4')],delete _0x83b2c1[_0xea04('0xba')],_0x83b2c1;}function Pt(_0x5114ac){return'attribute'==_0x5114ac['type']?_0x5114ac[_0xea04('0x10b')]['split']('|')[0x0]:null;}
23
+ const _0x4e7f=['$textProxy','deletion:accept','splice','comments','unbind','_addSuggestionMarker','_getSuggestionData','length','createElement','_descriptionFactory','getAllAdjacentSuggestions','keys','isAtEnd','dataDowncast','formatInline:discard','range','author','formatBlock:chain','forceDefaultExecution','elementToElement','deletion','createPositionBefore','default','targetPosition','then','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.','PENDING_ACTION_SUGGESTION','data-suggestion','bindElementToMarker','formatInline:join','set','markerName','isDocumentOperation','removeClass','isUndo','createRange','FORMATTING','formatBlock','formatInline:','getSuggestions','change','some','_blockAttributeKeys','getUser','getChangedMarkers','getWalker','toViewElement','head','suggestion-type','removeMarkers','acceptAllSuggestions','commentThread','schema','commands','upcast','filter','fromRange','nodeAfter','ck-suggestion-marker-formatBlock','getCustomProperty','rethrowUnexpectedError','markInlineFormat','execute','insertion:chain','_editor','add','includes','newRange','$elementName','containsRange','authoredAt','requires','accepted','containsPosition','_isDataLoaded','startsWith','enableReadOnlyMode','isSelectable','config','enqueueChange','ck-suggestion-marker-','markAttributeChange','move','PendingActions','next','_saved','suggestionChanged','multi','_reduceSuggestionAttributeRange','parent','createPositionAfter','consumable','define','insertContent','subType','trackChangesCommand','getDifference','markerToData','_onDiscard','getCommentThread','formatGroupId','deletion:chain','markers','skipNestingCheck','attribute:discard','registerCustomCallback','acceptSuggestion','chain','addMarkerName','setAttribute','setTo','_enabledCommands','howMany','isObject','updateMarker','low','insertion:join','options','nodeBefore','key','getRanges','_splitMarkerName','newValue','rename','enableCommand','return','_processAttributeChanges','join','detach','getChanges','containsItem','buildSuggestion','isLimit','ENTER','applyOperation','toJSON','clear','has','creator','highest','notReady','marker-count','suggestion:attribute:','get','isAfter','_registerDefaultCallbacks','batch','position','_refreshSuggestionsChain','fire','createPositionAt','track-changes-user-not-found','getAttribute','_isForcedDefaultExecutionBlock','hasComments','attribute:','oldName','attributes','getNearestSelectionRange','formatInline:accept','_adapter','ck-suggestion-marker--active','_handleNewSuggestionMarker','from','_reduceExistingSuggestions','attribute','CommentsRepository','suggestionUnloaded','_setSuggestionRange','rejected','track-changes-suggestion-data-mismatch','addComment','error-saving-suggestion-data-suggestion-discarded','authorName','adapter','getRange','insert','format','catch','updateSuggestion','getShiftedBy','activeMarkers','attribute:join','formatBlock:accept','type','formatInline','groupId','unbindElementFromMarkerName','getSuggestion','external:','markerNameToElements','isInContent','_removeSuggestion','getLastMatchingPosition','_model','_addThreadToSuggestion','markInsertion','elementEnd','_registerBlockAttribute','end','values','removed','Users','discardSuggestion','change:_saved','writer','addAttribute','newName','_suggestions','_trackFormatChanges','_findSuggestions','documentSelection','attributeOldValue','delete','pluginName','lowest','stop','createSelection','consume','track-changes-suggestion-not-found','backward','containerElement','pop','_createSuggestion','discard','addMarker:suggestion:formatBlock','collaboration.channelId','previous','@external','differ','deletion:join','removeMarker','$text','getAncestors','insertion:discard','split','push','for','before','version','oldRange','suggestion','find','locale','open','_recordAttributeChanges','removeMarker:suggestion:formatBlock','reconvertMarker','isTouching','multipleBlocks','$graveyard','addHighlight','deleteContent','splitPosition','_getAuthorFromId','editor','_refreshAttributeSuggestionsChain','deletion:discard','fromCharCode','markBlockFormat','LEAVE','conversion','size','rootName','getIntersection','addMarker:suggestion:attribute','dataReady','createdAt','markerReady','substr','remove','tablePasteChainId','originalSuggestionId','ready','isExternal','markMultiRangeBlockFormat','listenTo','_mergeNestedSuggestions','insertion:','_joinSuggestions','removeAttribute','markMultiRangeDeletion','attribute:accept','_defaultCallbacks','_isBlockAttribute','normal','suggestionLoaded','isAtStart','addRange','name','isInsideObject','model','isBlock','containsRangeInObject','getSuggestionCallback','trackChanges.mergeNestedSuggestions','discardAllSuggestions','isLocal','_customCallbacks','track-changes-command-not-found','addUser','stopListening','addMarker','_setSuggestionData','mapper','oldValue','plugins','insertion:accept','forward','every','acceptSelectedSuggestions','isNextTo','_inlineAttributeKeys','_getExternalAuthor','changeAttribute','trackChanges','moveTargetPosition','toUpperCase','addSuggestionData','_processAttributeSuggestions','_commentsRepository','accept','forEach','refresh','isIntersecting','formatBlock:discard','_suggestionState','_updateSuggestionData','sort','addClass','isOwn','isCollapsed','_checkSuggestionCorrectness','data','isMultiRange','_SUGGESTION_ANNOUNCEMENT','ck-suggestion-marker','getContainedElement','insertion','trackChanges.trackFormatChanges','getFirstMarker','addCommentThread','high','formatInline:chain','setSelection','formatBlock:','root','never','registerPostFixer','_suggestionFactory','showSuggestionHighlights','attributeNewValue','dataToMarker','editingDowncast','getFirstRange','addSuggestion','_cutOutSuggestionMarker','assign','_recordAttributeSuggestionsFromVersion','warn','always','isIntersectingWithRange','after','start','commandName','_breakSuggestionMarker','value','getMultiRangeId','map','editing','announce','item','markerToHighlight','_joinWithAdjacentSuggestions','isBefore','hasSuggestion','deletion:','_getMarkerAnnouncementText','isEqual','_rangeIsInLocalUserInsertion','document','group','selection','suggestion:'];(function(_0x293190,_0x4e7f9c){const _0x461938=function(_0x4e1571){while(--_0x4e1571){_0x293190['push'](_0x293190['shift']());}};_0x461938(++_0x4e7f9c);}(_0x4e7f,0x6e));const _0x4619=function(_0x293190,_0x4e7f9c){_0x293190=_0x293190-0x0;let _0x461938=_0x4e7f[_0x293190];return _0x461938;};import{Plugin as _0x539668,PendingActions as _0x295f51}from'ckeditor5/src/core.js';import{LiveRange as _0x5794cd}from'ckeditor5/src/engine.js';import{CKEditorError as _0x520d16,uid as _0x2269fc,priorities as _0xfe3ed6,logWarning as _0x30b529}from'ckeditor5/src/utils.js';import{toWidget as _0x17d450}from'ckeditor5/src/widget.js';import{Users as _0x103325,hashObject as _0x553bcb,surroundingMarkersDetector as _0x18ed74}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x39d803 from'./commands/trackchangescommand.js';import _0x19fe5a from'./commands/acceptsuggestioncommand.js';import _0x29381c from'./commands/discardsuggestioncommand.js';import _0x298210 from'./commands/executeonallsuggestionscommand.js';import _0x49e277 from'./commands/executeonselectedsuggestionscommand.js';import _0x3f8809 from'./suggestion.js';import _0x44f64a from'./suggestiondescriptionfactory.js';import _0x49d50d from'./integrations/aiassistant.js';import _0xf35876 from'./integrations/alignment.js';import _0x25d13b from'./integrations/basicstyles.js';import _0xc4b252 from'./integrations/blockquote.js';import _0xdb6f10 from'./integrations/ckbox.js';import _0x5d891d from'./integrations/codeblock.js';import _0x3df7ef from'./integrations/comments.js';import _0x40a156 from'./integrations/deletecommand.js';import _0x586f2a from'./integrations/documentlist.js';import _0x1c11db from'./integrations/documentlistproperties.js';import _0x2ba950 from'./integrations/entercommand.js';import _0x2614cf from'./integrations/findandreplace.js';import _0x30f5ed from'./integrations/font.js';import _0x5d0bf9 from'./integrations/formatpainter.js';import _0x252e56 from'./integrations/heading.js';import _0x215f7f from'./integrations/highlight.js';import _0xb2f98f from'./integrations/horizontalline.js';import _0x17388d from'./integrations/htmlembed.js';import _0xee3e24 from'./integrations/image.js';import _0x307a20 from'./integrations/imagereplace.js';import _0x320d04 from'./integrations/imagestyle.js';import _0x4a4a90 from'./integrations/importword.js';import _0x299cc8 from'./integrations/indent.js';import _0x321f2f from'./integrations/inputcommand.js';import _0x3d9a4e from'./integrations/link.js';import _0x1b6b69 from'./integrations/list.js';import _0x11e3b7 from'./integrations/listproperties.js';import _0xbb074a from'./integrations/mediaembed.js';import _0x6290cd from'./integrations/mention.js';import _0x18c9c from'./integrations/pagebreak.js';import _0x3654ed from'./integrations/paragraph.js';import _0x857955 from'./integrations/removeformat.js';import _0x4c3f4d from'./integrations/restrictededitingmode.js';import _0x4bdd08 from'./integrations/shiftentercommand.js';import _0x7772d from'./integrations/standardeditingmode.js';import _0x6ff07 from'./integrations/style.js';import _0x33939b from'./integrations/table.js';import _0x5740fc from'./integrations/tablemergesplit.js';import _0x2472f8 from'./integrations/tableheadings.js';import _0x42d77d from'./integrations/tableclipboard.js';import _0x4ffba7 from'./integrations/tablecolumnresize.js';import _0x5606c5 from'./integrations/template.js';import _0x2f4779 from'./integrations/tableofcontents.js';import _0x484695 from'./integrations/title.js';import _0x4a2266 from'./integrations/undo.js';import _0x45da9f from'./integrations/tablecaption.js';import _0x318849 from'./integrations/tableproperties.js';import{getTranslation as _0x2517b4}from'./utils/common-translations.js';import{isEqual as _0x49ed37,omit as _0x130978}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x539668{static get[_0x4619('0x159')](){return['CommentsRepository',_0x103325,_0x295f51,_0x49d50d,_0xf35876,_0x25d13b,_0xc4b252,_0xdb6f10,_0x5d891d,_0x3df7ef,_0x40a156,_0x586f2a,_0x1c11db,_0x2ba950,_0x2614cf,_0x30f5ed,_0x5d0bf9,_0x252e56,_0x215f7f,_0xb2f98f,_0x17388d,_0xee3e24,_0x320d04,_0x307a20,_0x4a4a90,_0x299cc8,_0x321f2f,_0x3d9a4e,_0x1b6b69,_0x11e3b7,_0xbb074a,_0x6290cd,_0x18c9c,_0x3654ed,_0x857955,_0x4c3f4d,_0x4bdd08,_0x7772d,_0x6ff07,_0x33939b,_0x5740fc,_0x2472f8,_0x45da9f,_0x42d77d,_0x4ffba7,_0x2f4779,_0x318849,_0x5606c5,_0x484695,_0x4a2266];}static get[_0x4619('0x68')](){return'TrackChangesEditing';}constructor(_0xb7039e){function _0xe9a072(_0x5afb8c){return _0x5afb8c['map'](_0x2649e3=>String[_0x4619('0x94')](_0x2649e3))[_0x4619('0x11')]('');}super(_0xb7039e),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x4619('0x130')](_0x4619('0x47'),[]),this['on']('change:activeMarkers',(_0xfe3018,_0x2f5304,_0x25d32f,_0x3dfc7a)=>{this[_0x4619('0x54')][_0x4619('0x13a')](()=>{for(const _0xbde2e9 of[..._0x3dfc7a,..._0x25d32f])this['_model'][_0x4619('0x178')]['has'](_0xbde2e9)&&_0xb7039e[_0x4619('0x103')][_0x4619('0x89')](_0xbde2e9);});}),this[_0x4619('0x11b')]=new _0x44f64a(this[_0x4619('0x91')][_0x4619('0xb5')][_0x4619('0x146')],this[_0x4619('0x91')][_0x4619('0x85')]),this[_0x4619('0x32')]=null,this['_suggestionFactory']=new $t(this[_0x4619('0x91')]),this[_0x4619('0x62')]=new Map(),this['_commentsRepository']=_0xb7039e[_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x38')),this[_0x4619('0x1')]=new Set(),this[_0x4619('0x54')]=this[_0x4619('0x91')][_0x4619('0xb5')],this[_0x4619('0xd8')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x4619('0x13c')]=new Set(['$elementName']),this[_0x4619('0xca')]=new Set(),_0xb7039e[_0x4619('0x160')][_0x4619('0x16e')]('trackChanges.trackFormatChanges',_0x4619('0x128')),this[_0x4619('0x63')]=_0xb7039e['config'][_0x4619('0x21')](_0x4619('0xe5')),_0xb7039e[_0x4619('0x160')]['define'](_0x4619('0xb9'),!0x0),this[_0x4619('0xa7')]=_0xb7039e['config'][_0x4619('0x21')]('trackChanges.mergeNestedSuggestions'),this[_0x4619('0x171')]=new _0x39d803(_0xb7039e,this[_0x4619('0x1')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0xe9a072([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xe9a072([0x34,0x30,0x34,0x36,0x32,0x34,0x33,0x34]);}['init'](){const _0x247ec4=this[_0x4619('0x91')],_0x57a126=(_0x34fdc9,_0x9bc132)=>{if(_0x4619('0x37')!=_0x34fdc9)return _0x4619('0x162')+_0x34fdc9;const _0x45ffb0=_0x9bc132[_0x4619('0x7d')]('|')[0x0];return this[_0x4619('0xae')](_0x45ffb0)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';};_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')]('editingDowncast')[_0x4619('0x106')]({'model':_0x4619('0x83'),'view':_0x11e260=>{const {id:_0x40b63b,type:_0x42bd99,subType:_0xe1010d}=this[_0x4619('0xb')](_0x11e260[_0x4619('0x131')]),_0x5ed347=[_0x4619('0xe2'),_0x57a126(_0x42bd99,_0xe1010d)];let _0x26122b=0xbb8;return this['activeMarkers'][_0x4619('0x154')](_0x11e260[_0x4619('0x131')])&&(_0x5ed347[_0x4619('0x7e')](_0x4619('0x33')),_0x26122b=0xbc2),_0x4619('0x126')==_0x42bd99&&(_0x26122b+=0x5),{'classes':_0x5ed347,'attributes':{'data-suggestion':_0x40b63b},'priority':_0x26122b};}}),_0x247ec4[_0x4619('0x97')]['for'](_0x4619('0x11f'))[_0x4619('0x153')](_0x228e25=>{_0x228e25['on']('addMarker:suggestion',(_0x1ae272,_0x11ac2f,_0x5305c2)=>{if(!_0x5305c2['options'][_0x4619('0xf0')])return;const _0x220cc1=_0x11ac2f[_0x4619('0x105')];if(!_0x220cc1)return;const _0x16fe70=_0x5305c2['mapper'][_0x4619('0x140')](_0x220cc1);_0x247ec4[_0x4619('0xb5')][_0x4619('0x146')][_0x4619('0x3')](_0x220cc1)&&_0x16fe70&&!_0x16fe70[_0x4619('0x14d')]('widget')&&_0x16fe70['is'](_0x4619('0x6f'))&&_0x17d450(_0x16fe70,_0x5305c2[_0x4619('0x5f')]);},{'priority':_0x4619('0xe8')});}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0x11f'))[_0x4619('0x106')]({'model':'suggestion','view':(_0x1d6d45,_0xaf7cd7)=>{if(!_0xaf7cd7[_0x4619('0x7')][_0x4619('0xf0')])return null;const {type:_0x35561a,subType:_0x57b35a}=this[_0x4619('0xb')](_0x1d6d45[_0x4619('0x131')]);return{'classes':['ck-suggestion-marker',_0x57a126(_0x35561a,_0x57b35a)],'priority':0xbb8};}});const _0x4fb3be=({showActiveMarkers:_0x4823a2=!0x0,isAttributeSuggestion:_0xc81f69=!0x1}={})=>(_0x545286,_0x35a023,_0x46294b)=>{if(!_0x35a023[_0x4619('0x105')])return;const {id:_0x54dd8c}=this['_splitMarkerName'](_0x35a023[_0x4619('0x131')]);if(_0xc81f69){const _0x14ca2d=Pt(this[_0x4619('0x62')][_0x4619('0x21')](_0x54dd8c));if(!this[_0x4619('0xae')](_0x14ca2d))return;}if(_0x35a023[_0x4619('0x105')]['is'](_0x4619('0x110')))return void _0x46294b[_0x4619('0x16d')]['consume'](_0x35a023[_0x4619('0x105')],_0x545286[_0x4619('0xb3')]);const _0x177a47=_0x46294b[_0x4619('0xc2')][_0x4619('0x140')](_0x35a023[_0x4619('0x105')]);if(_0x35a023['item']['is']('element')&&_0x247ec4[_0x4619('0xb5')][_0x4619('0x146')][_0x4619('0xb6')](_0x35a023[_0x4619('0x105')])&&!_0x177a47['getCustomProperty'](_0x4619('0x8d'))){_0x46294b[_0x4619('0x5f')][_0x4619('0xdb')]([_0x4619('0xe2'),'ck-suggestion-marker-formatBlock'],_0x177a47),_0x46294b[_0x4619('0x5f')][_0x4619('0x17f')](_0x4619('0x12d'),_0x54dd8c,_0x177a47),_0x46294b[_0x4619('0xc2')][_0x4619('0x12e')](_0x177a47,_0x35a023[_0x4619('0x131')]),_0x4823a2&&(this['activeMarkers'][_0x4619('0x154')](_0x35a023[_0x4619('0x131')])?_0x46294b[_0x4619('0x5f')][_0x4619('0xdb')](_0x4619('0x33'),_0x177a47):_0x46294b['writer']['removeClass'](_0x4619('0x33'),_0x177a47));for(const _0x427c99 of _0x247ec4[_0x4619('0xb5')]['createRangeIn'](_0x35a023[_0x4619('0x105')])['getItems']())_0x46294b[_0x4619('0x16d')]['consume'](_0x427c99,_0x545286[_0x4619('0xb3')]);_0x46294b[_0x4619('0x16d')][_0x4619('0x6c')](_0x35a023[_0x4619('0x105')],_0x545286[_0x4619('0xb3')]);}};_0x247ec4[_0x4619('0x97')]['for'](_0x4619('0x11f'))[_0x4619('0x153')](_0x2625b1=>{_0x2625b1['on'](_0x4619('0x73'),(_0x3d4071,_0x5332a7,_0x822ebb)=>{_0x822ebb[_0x4619('0x7')][_0x4619('0xf0')]&&_0x4fb3be({'showActiveMarkers':!0x1})(_0x3d4071,_0x5332a7,_0x822ebb);},{'priority':_0x4619('0x1d')});}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0x11f'))['add'](_0x4e3473=>{_0x4e3473['on']('addMarker:suggestion:attribute',(_0x147ffb,_0x35832b,_0x47b724)=>{_0x47b724[_0x4619('0x7')][_0x4619('0xf0')]&&_0x4fb3be({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x147ffb,_0x35832b,_0x47b724);},{'priority':_0x4619('0x1d')});}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0x11f'))[_0x4619('0x173')]({'model':_0x4619('0x83'),'view':(_0x3f13d8,_0xd058a9)=>_0xd058a9[_0x4619('0x7')]['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x3f13d8[_0x4619('0x9f')](0xb)}}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0x148'))[_0x4619('0x125')]({'view':{'name':_0x4619('0x83'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x95496c,{writer:_0x179d58})=>{let _0x390367=_0x4619('0x111')+_0x95496c[_0x4619('0x2a')](_0x4619('0x142'))+':'+_0x95496c['getAttribute']('id');return _0x95496c[_0x4619('0x2a')](_0x4619('0x1f'))&&(_0x390367+=':'+_0x95496c['getAttribute'](_0x4619('0x1f'))),_0x179d58[_0x4619('0x11a')]('$marker',{'data-name':_0x390367});}}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0x148'))[_0x4619('0xf2')]({'view':_0x4619('0x83')}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0xf3'))[_0x4619('0x153')](_0x2c9cdc=>{_0x2c9cdc['on']('addMarker:suggestion:formatBlock',_0x4fb3be(),{'priority':'high'});}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')]('editingDowncast')[_0x4619('0x153')](_0x168e73=>{_0x168e73['on'](_0x4619('0x9b'),_0x4fb3be({'isAttributeSuggestion':!0x0}),{'priority':_0x4619('0xe8')});}),_0x247ec4['conversion'][_0x4619('0x7f')](_0x4619('0xf3'))[_0x4619('0x153')](_0x3f67a6=>{_0x3f67a6['on'](_0x4619('0x88'),(_0x3602f8,_0xe8d1e0,_0x4202ea)=>{const _0x59cc55=_0x4202ea[_0x4619('0xc2')][_0x4619('0x50')](_0xe8d1e0[_0x4619('0x131')]);if(_0x59cc55)for(const _0x4ba8cf of _0x59cc55)_0x4ba8cf['getCustomProperty'](_0x4619('0x8d'))||(_0x4202ea[_0x4619('0x5f')][_0x4619('0x133')](['ck-suggestion-marker',_0x4619('0x14c'),_0x4619('0x33')],_0x4ba8cf),_0x4202ea[_0x4619('0x5f')][_0x4619('0xaa')](_0x4619('0x12d'),_0x4ba8cf),_0x4202ea['mapper'][_0x4619('0x4d')](_0x4ba8cf,_0xe8d1e0[_0x4619('0x131')]));},{'priority':'high'});}),_0x247ec4['conversion'][_0x4619('0x7f')](_0x4619('0xf3'))[_0x4619('0x153')](_0x1ef684=>{_0x1ef684['on']('removeMarker:suggestion:attribute',(_0x4c6c76,_0x345699,_0x562a7a)=>{const _0x2c7960=_0x562a7a[_0x4619('0xc2')][_0x4619('0x50')](_0x345699[_0x4619('0x131')]);if(!_0x2c7960)return;const {id:_0x450954}=this[_0x4619('0xb')](_0x345699[_0x4619('0x131')]),_0x43c758=Pt(this[_0x4619('0x62')][_0x4619('0x21')](_0x450954));if(this[_0x4619('0xae')](_0x43c758))for(const _0x146077 of _0x2c7960)_0x146077[_0x4619('0x14d')]('addHighlight')||(_0x562a7a[_0x4619('0x5f')][_0x4619('0x133')]([_0x4619('0xe2'),_0x4619('0x14c'),_0x4619('0x33')],_0x146077),_0x562a7a[_0x4619('0x5f')][_0x4619('0xaa')](_0x4619('0x12d'),_0x146077),_0x562a7a['mapper']['unbindElementFromMarkerName'](_0x146077,_0x345699[_0x4619('0x131')]));},{'priority':'high'});}),_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')]['registerPostFixer'](_0xbd8c7f=>{let _0x2b8c8d=!0x1;const _0x3f184c=Array[_0x4619('0x35')](_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')][_0x4619('0x77')]['getChangedMarkers']()),_0x5cbf14=new Set();for(const {name:_0x1190f1,data:_0x1e6195}of _0x3f184c){const {group:_0x3cebd3,type:_0x434aa3,subType:_0x33ba60,id:_0xcb27e7}=this[_0x4619('0xb')](_0x1190f1);if(_0x4619('0x83')!==_0x3cebd3)continue;const _0x33aa04=this[_0x4619('0x62')][_0x4619('0x21')](_0xcb27e7);if(null!=_0x1e6195[_0x4619('0x155')]){'formatInline'==_0x434aa3&&(_0x2b8c8d=_0x2b8c8d||xt(_0x1e6195[_0x4619('0x155')],_0x1190f1,_0xbd8c7f,_0x247ec4['model'][_0x4619('0x146')]));const _0x182d03=_0x4619('0x37')==_0x434aa3&&this['_isBlockAttribute'](_0x33ba60[_0x4619('0x7d')]('|')[0x0]);if(_0x1e6195['newRange'][_0x4619('0xdd')]||_0x4619('0x8c')==_0x1e6195[_0x4619('0x155')][_0x4619('0xec')]['rootName']||_0x4619('0x137')==_0x434aa3&&!Rt(_0x1e6195[_0x4619('0x155')])||_0x182d03&&!Rt(_0x1e6195[_0x4619('0x155')])||_0x4619('0x126')==_0x434aa3&&!(!Tt(_0x1a15bc=_0x1e6195[_0x4619('0x155')])&&!function(_0x15c3f4){return _0x15c3f4[_0x4619('0xfd')][_0x4619('0x16b')]==_0x15c3f4['end'][_0x4619('0x8')]&&_0x15c3f4[_0x4619('0xfd')]['isAtEnd'];}(_0x1a15bc)))_0xbd8c7f[_0x4619('0x79')](_0x1190f1),_0x2b8c8d=!0x0;else{if(!_0x33aa04||!_0x33aa04[_0x4619('0x51')])continue;_0x5cbf14[_0x4619('0x153')](_0x33aa04);}}}var _0x1a15bc;return _0x5cbf14[_0x4619('0x98')]>0x0&&(_0x2b8c8d=!!this['_joinWithAdjacentSuggestions'](_0x5cbf14)||_0x2b8c8d),_0x2b8c8d;}),_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')]['registerPostFixer'](_0x36f070=>{let _0x58deeb=!0x1;for(const _0x4de82d of _0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')][_0x4619('0x77')]['getChanges']())if('insert'==_0x4de82d[_0x4619('0x4a')])for(const _0x4833aa of this[_0x4619('0x62')][_0x4619('0x5a')]()){if(_0x4833aa[_0x4619('0xe0')]||!_0x4833aa[_0x4619('0x51')])continue;const _0x55b964=_0x4619('0x137')==_0x4833aa[_0x4619('0x4a')],_0x541315=Pt(_0x4833aa),_0x3faa30=_0x541315&&this[_0x4619('0xae')](_0x541315);if(!_0x55b964&&!_0x3faa30)continue;const _0xcc3279=_0x4833aa[_0x4619('0xf4')]();if(_0xcc3279[_0x4619('0xfd')][_0x4619('0x16b')]!=_0xcc3279['end'][_0x4619('0x16b')]&&!_0xcc3279[_0x4619('0x59')][_0x4619('0x11e')]){const _0x2a653a=_0x247ec4[_0x4619('0xb5')]['createPositionAt'](_0xcc3279[_0x4619('0xfd')][_0x4619('0x14b')],'end'),_0x45fb8a=_0x247ec4[_0x4619('0xb5')][_0x4619('0x135')](_0xcc3279['start'],_0x2a653a);_0x36f070[_0x4619('0x4')](_0x4833aa[_0x4619('0xe6')](),{'range':_0x45fb8a}),_0x58deeb=!0x0;}}return _0x58deeb;}),_0x247ec4[_0x4619('0xb5')]['document']['registerPostFixer'](_0x4defe4=>this[_0x4619('0x10')](_0x4defe4)),_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')][_0x4619('0xee')](_0x35f8f1=>!_0x35f8f1['batch']['isLocal']&&this[_0x4619('0xd1')](_0x35f8f1)),_0x247ec4[_0x4619('0xb5')][_0x4619('0x178')]['on']('update:suggestion',(_0x1625d0,_0x55a4c4,_0x13b4ea)=>{if(null==_0x13b4ea){const {id:_0x33e48e}=this[_0x4619('0xb')](_0x55a4c4[_0x4619('0xb3')]),_0x4a2b3d=this[_0x4619('0x62')][_0x4619('0x21')](_0x33e48e);_0x4a2b3d&&_0x4a2b3d[_0x4619('0x17e')](_0x55a4c4[_0x4619('0xb3')]);}}),_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')]['on']('change:data',()=>{const _0x1b305c=Array['from'](_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')][_0x4619('0x77')][_0x4619('0x13e')]())['filter'](_0x4f327a=>_0x4619('0x83')===this['_splitMarkerName'](_0x4f327a[_0x4619('0xb3')])[_0x4619('0x10f')]);if(0x0===_0x1b305c[_0x4619('0x119')])return;_0x1b305c['sort']((_0x1ec8eb,_0x544b90)=>{const _0x42ecad=_0x1ec8eb[_0x4619('0xdf')][_0x4619('0x82')],_0x36c4e7=_0x544b90[_0x4619('0xdf')][_0x4619('0x82')];return null===_0x42ecad&&null===_0x36c4e7?0x0:null===_0x42ecad&&null!==_0x36c4e7?-0x1:null!==_0x42ecad&&null===_0x36c4e7?0x1:_0x42ecad[_0x4619('0xfd')][_0x4619('0x108')](_0x36c4e7[_0x4619('0xfd')])?-0x1:0x1;});const _0x3c8e25=new Set(),_0x4b979b=new Set();for(const {name:_0x4d7cf2,data:_0x2e0c90}of _0x1b305c){const {id:_0x2758c0}=this[_0x4619('0xb')](_0x4d7cf2);if(null===_0x2e0c90[_0x4619('0x82')]){const _0x5288b7=this['_handleNewSuggestionMarker'](_0x4d7cf2);_0x4b979b[_0x4619('0x153')](_0x5288b7);}else{const _0xdf3cf6=this[_0x4619('0x62')]['get'](_0x2758c0);null!==_0x2e0c90['newRange']||_0xdf3cf6['isInContent']?(_0x3c8e25[_0x4619('0x153')](_0xdf3cf6[_0x4619('0x141')]),_0x4b979b[_0x4619('0x153')](_0xdf3cf6)):this[_0x4619('0x52')](_0xdf3cf6);}}_0x4b979b[_0x4619('0x98')]>0x0&&this[_0x4619('0x26')](_0x4b979b);for(const _0x17d8b1 of _0x3c8e25)this['fire'](_0x4619('0x168'),_0x17d8b1);}),_0x247ec4['model']['on'](_0x4619('0x18'),(_0x13567e,_0x191bba)=>{const _0x64eaee=_0x191bba[0x0];if(!this[_0x4619('0x62')][_0x4619('0x98')])return;if(!_0x64eaee[_0x4619('0x132')])return;if(_0x64eaee['batch'][_0x4619('0x134')]||!_0x64eaee[_0x4619('0x24')][_0x4619('0xbb')])return;let _0x44730e,_0x3dd0d5;switch(_0x64eaee['type']){case _0x4619('0x42'):_0x44730e=_0x247ec4[_0x4619('0xb5')][_0x4619('0x28')](_0x64eaee[_0x4619('0x25')]),_0x3dd0d5=_0x44730e[_0x4619('0x46')](_0x64eaee[_0x4619('0x2')]);break;case _0x4619('0x7d'):_0x44730e=_0x247ec4['model'][_0x4619('0x28')](_0x64eaee[_0x4619('0x8f')]),_0x3dd0d5=_0x247ec4[_0x4619('0xb5')][_0x4619('0x28')](_0x64eaee[_0x4619('0xce')]);break;case _0x4619('0x164'):_0x44730e=_0x247ec4[_0x4619('0xb5')][_0x4619('0x28')](_0x64eaee[_0x4619('0x129')]),_0x3dd0d5=_0x44730e['getShiftedBy'](_0x64eaee[_0x4619('0x2')]);break;default:return;}const _0x1a736b=_0x247ec4[_0x4619('0xb5')][_0x4619('0x135')](_0x44730e,_0x3dd0d5);_0x247ec4[_0x4619('0xb5')]['change'](()=>{for(const {suggestion:_0x411dba,meta:_0xe6c852}of this['_findSuggestions'](_0x1a736b)){if(_0x411dba[_0x4619('0xe0')])continue;if('formatInline'==_0x411dba[_0x4619('0x4a')])continue;const _0x19dfc3=Pt(_0x411dba);if(_0x19dfc3&&this[_0x4619('0xae')](_0x19dfc3)&&_0x4619('0x7d')!=_0x64eaee[_0x4619('0x4a')])continue;const _0x196d4a=_0x411dba['data']&&_0x411dba[_0x4619('0xdf')][_0x4619('0x8b')];('formatBlock'!=_0x411dba[_0x4619('0x4a')]||_0x4619('0x7d')==_0x64eaee[_0x4619('0x4a')]&&!_0x196d4a)&&(_0xe6c852[_0x4619('0xb7')]||_0x4619('0xe4')==_0x411dba['type']&&_0xe6c852[_0x4619('0xdc')]||_0x411dba[_0x4619('0xf4')]()[_0x4619('0x157')](_0x1a736b)&&this[_0x4619('0xff')](_0x411dba,_0x44730e,_0x3dd0d5));}});},{'priority':_0x4619('0x69')}),_0x247ec4[_0x4619('0xb5')]['on'](_0x4619('0x8e'),(_0x1630fa,_0x1d3dd5)=>{const _0x1b1270=_0x1d3dd5[0x0],_0x24a4a9=_0x1d3dd5[0x1];if(_0x24a4a9&&_0x24a4a9[_0x4619('0x124')])return;if(this[_0x4619('0x2b')])return;if(!this[_0x4619('0x171')]['value'])return;if(_0x1b1270[_0x4619('0xdd')])return;const _0xae3de=_0x247ec4['model'][_0x4619('0x146')],{start:_0x157e92,end:_0x3ce7a5}=_0x1b1270[_0x4619('0xf4')](),_0x39efa8=_0x157e92[_0x4619('0x14b')]&&_0xae3de[_0x4619('0x16')](_0x157e92[_0x4619('0x14b')])?null:_0xae3de[_0x4619('0x30')](_0x157e92,_0x4619('0xc6')),_0x223b1e=_0x3ce7a5[_0x4619('0x8')]&&_0xae3de['isLimit'](_0x3ce7a5[_0x4619('0x8')])?null:_0xae3de['getNearestSelectionRange'](_0x3ce7a5,_0x4619('0x6e')),_0x140540=_0x247ec4['model']['createRange'](_0x39efa8?_0x39efa8[_0x4619('0xfd')]:_0x157e92,_0x223b1e?_0x223b1e[_0x4619('0x59')]:_0x3ce7a5);_0x247ec4[_0x4619('0xb5')][_0x4619('0x13a')](_0x383b39=>{this['markDeletion'](_0x140540);const _0x164200=_0x247ec4[_0x4619('0xb5')][_0x4619('0x146')]['getNearestSelectionRange'](_0x140540[_0x4619('0xfd')]);_0x1b1270['is'](_0x4619('0x65'))?_0x383b39[_0x4619('0xea')](_0x164200):_0x1b1270[_0x4619('0x0')](_0x164200);}),_0x1630fa[_0x4619('0x6a')]();},{'priority':_0xfe3ed6[_0x4619('0xaf')]+0xa}),_0x247ec4[_0x4619('0xb5')]['on']('insertContent',(_0x9f6279,_0x17f5b3)=>{const _0xcee488=_0x17f5b3[_0x17f5b3[_0x4619('0x119')]-0x1];_0xcee488&&_0xcee488[_0x4619('0x124')]||this[_0x4619('0x2b')]||this[_0x4619('0x171')][_0x4619('0x100')]&&(_0x247ec4[_0x4619('0xb5')]['change'](()=>{let _0x3173e1=_0x247ec4[_0x4619('0xb5')][_0x4619('0x16f')](_0x17f5b3[0x0],_0x17f5b3[0x1],_0x17f5b3[0x2],{'forceDefaultExecution':!0x0});if(!_0x3173e1)return;_0x9f6279[_0x4619('0xf')]=_0x3173e1['clone']();const _0x1b30df=_0x3173e1['end'][_0x4619('0x8')],_0x57127b=_0x247ec4['model'][_0x4619('0x146')];_0x1b30df&&_0x57127b[_0x4619('0xb6')](_0x1b30df)&&!_0x57127b['isObject'](_0x1b30df)&&(_0x3173e1=_0x247ec4[_0x4619('0xb5')][_0x4619('0x135')](_0x3173e1[_0x4619('0xfd')],_0x247ec4[_0x4619('0xb5')][_0x4619('0x28')](_0x1b30df,_0x4619('0x59')))),this[_0x4619('0x56')](_0x3173e1);}),_0x9f6279[_0x4619('0x6a')]());},{'priority':_0x4619('0xe8')}),this[_0x4619('0x91')][_0x4619('0x147')][_0x4619('0x153')](_0x4619('0xcd'),this[_0x4619('0x171')]),this['enableCommand'](_0x4619('0xcd'));const _0x11b438=new _0x19fe5a(_0x247ec4,this[_0x4619('0x62')]);_0x247ec4[_0x4619('0x147')][_0x4619('0x153')](_0x4619('0x17c'),_0x11b438),this[_0x4619('0xe')](_0x4619('0x17c'));const _0x5ece20=new _0x29381c(_0x247ec4,this[_0x4619('0x62')]);_0x247ec4[_0x4619('0x147')][_0x4619('0x153')]('discardSuggestion',_0x5ece20),this[_0x4619('0xe')](_0x4619('0x5d')),_0x247ec4[_0x4619('0x147')][_0x4619('0x153')](_0x4619('0x144'),new _0x298210(_0x247ec4,_0x11b438,this[_0x4619('0x62')])),this[_0x4619('0xe')](_0x4619('0x144')),_0x247ec4['commands']['add']('discardAllSuggestions',new _0x298210(_0x247ec4,_0x5ece20,this['_suggestions'])),this['enableCommand'](_0x4619('0xba')),_0x247ec4['commands']['add'](_0x4619('0xc8'),new _0x49e277(_0x247ec4,_0x11b438,this['_suggestions'])),this[_0x4619('0xe')]('acceptSelectedSuggestions'),_0x247ec4[_0x4619('0x147')][_0x4619('0x153')]('discardSelectedSuggestions',new _0x49e277(_0x247ec4,_0x5ece20,this[_0x4619('0x62')])),this[_0x4619('0xe')]('discardSelectedSuggestions');const _0x3c18a5=_0x247ec4[_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x38'));this[_0x4619('0xa6')](_0x3c18a5,_0x4619('0x3d'),(_0x39d73b,{threadId:_0x3123dd})=>{const _0x26c182=this[_0x4619('0x62')][_0x4619('0x21')](_0x3123dd);_0x26c182&&_0x26c182['commentThread']&&0x1===_0x26c182[_0x4619('0x145')][_0x4619('0x119')]&&this[_0x4619('0xd9')](_0x3123dd,{'hasComments':!0x0});},{'priority':'low'}),this[_0x4619('0xa6')](_0x3c18a5,'removeComment',(_0x35b3fb,{threadId:_0x5f4e89})=>{const _0x3ffd22=this[_0x4619('0x62')][_0x4619('0x21')](_0x5f4e89);_0x3ffd22&&_0x3ffd22['commentThread']&&!_0x3ffd22[_0x4619('0x145')][_0x4619('0x119')]&&this[_0x4619('0xd9')](_0x5f4e89,{'hasComments':!0x1});},{'priority':_0x4619('0x5')});}set['adapter'](_0x3ce6cb){if(this[_0x4619('0x32')])throw new _0x520d16('track-changes-adapter-already-set',this);this['_adapter']=_0x3ce6cb;}get[_0x4619('0x40')](){return this[_0x4619('0x32')];}[_0x4619('0x139')]({skipNotAttached:_0x2a77e9=!0x1,toJSON:_0x2669b8=!0x1}={}){const _0x29f5c7=[];for(const _0x1a40d0 of this[_0x4619('0x62')][_0x4619('0x5a')]())_0x2a77e9&&!_0x1a40d0[_0x4619('0x51')]||_0x29f5c7[_0x4619('0x7e')](_0x1a40d0);return _0x2669b8?_0x29f5c7[_0x4619('0x102')](_0x164fd6=>_0x164fd6[_0x4619('0x19')]()):_0x29f5c7;}[_0x4619('0x4e')](_0xc66461){const _0xcd88b4=this[_0x4619('0x62')][_0x4619('0x21')](_0xc66461);if(!_0xcd88b4)throw new _0x520d16(_0x4619('0x6d'),this);return _0xcd88b4;}[_0x4619('0x109')](_0x579faf){return this[_0x4619('0x62')][_0x4619('0x1b')](_0x579faf);}[_0x4619('0xd0')](_0x11d861){const {authorId:_0x5d91b6,id:_0x3f38c5,attributes:_0x350ea2}=_0x11d861,[_0x2b9afa,_0x47d021]=_0x11d861[_0x4619('0x4a')][_0x4619('0x7d')](':'),_0x2ed530=this[_0x4619('0x62')][_0x4619('0x21')](_0x3f38c5)||this[_0x4619('0x71')](_0x2b9afa,_0x47d021,_0x3f38c5,_0x5d91b6,_0x350ea2);if(this[_0x4619('0x55')](_0x2ed530),this[_0x4619('0xde')](_0x2ed530,_0x2b9afa,_0x47d021||null,_0x5d91b6),_0x2ed530[_0x4619('0x9d')]=_0x11d861[_0x4619('0x9d')],_0x2ed530[_0x4619('0x15c')]=!0x0,_0x350ea2&&_0x350ea2[_0x4619('0x76')]){const _0x1de742=_0x350ea2[_0x4619('0x76')],_0x2df053=this[_0x4619('0xcb')](_0x1de742[_0x4619('0x3f')]);_0x2ed530[_0x4619('0x158')]=_0x1de742['createdAt'],_0x2ed530[_0x4619('0x122')]=_0x2df053,_0x2ed530[_0x4619('0xa4')]=!0x0;}else _0x2ed530[_0x4619('0x158')]=_0x11d861[_0x4619('0x9d')];switch(_0x11d861['data']&&(_0x2ed530['data']=_0x11d861[_0x4619('0xdf')]),_0x11d861['attributes']&&(_0x2ed530[_0x4619('0x2f')]=_0x11d861[_0x4619('0x2f')]),this['_adapter']&&this[_0x4619('0x32')][_0x4619('0xf5')]||(_0x2ed530[_0x4619('0x167')]=!0x0),this['_suggestionState'][_0x4619('0x21')](_0x2ed530)){case _0x4619('0x1e'):this['_suggestionState'][_0x4619('0x130')](_0x2ed530,_0x4619('0x9c'));break;case _0x4619('0x9e'):_0x2ed530['isInContent']?(this['_refreshSuggestionsChain'](new Set([_0x2ed530])),this[_0x4619('0x107')](new Set([_0x2ed530])),this[_0x4619('0xd8')]['set'](_0x2ed530,_0x4619('0xa3')),this[_0x4619('0x27')](_0x4619('0xb0'),_0x2ed530)):this[_0x4619('0xd8')][_0x4619('0x130')](_0x2ed530,'removed');}return _0x2ed530;}[_0x4619('0x17c')](_0x2501ea){this[_0x4619('0x124')](()=>{this[_0x4619('0x91')][_0x4619('0xb5')]['change'](()=>{for(const _0x1e0985 of _0x2501ea[_0x4619('0x11c')]())_0x1e0985[_0x4619('0xd3')]();});});}['discardSuggestion'](_0x4ea15){this['forceDefaultExecution'](()=>{this[_0x4619('0x91')]['model']['change'](()=>{for(const _0x2af8b2 of _0x4ea15[_0x4619('0x11c')]())_0x2af8b2[_0x4619('0x72')]();});});}['enableCommand'](_0x37964e,_0xa91a83){const _0x4aa521=this[_0x4619('0x91')]['commands'][_0x4619('0x21')](_0x37964e);if(!_0x4aa521)throw new _0x520d16(_0x4619('0xbd'),this,{'commandName':_0x37964e});if(this[_0x4619('0x1')][_0x4619('0x1b')](_0x4aa521))throw new _0x520d16('track-changes-enable-command-twice',this,{'commandName':_0x37964e});this[_0x4619('0x1')]['add'](_0x4aa521),_0xa91a83&&_0x4aa521['on'](_0x4619('0x150'),(_0x115d95,_0x3d0433)=>{this[_0x4619('0x171')]['value']&&(this[_0x4619('0x2b')]||(_0x3d0433[_0x4619('0x119')]>0x0&&_0x3d0433[_0x3d0433['length']-0x1]&&_0x3d0433[_0x3d0433['length']-0x1][_0x4619('0x124')]?_0x3d0433[_0x4619('0x70')]():(_0x115d95[_0x4619('0xf')]=_0xa91a83((..._0x4dbc81)=>_0x4aa521[_0x4619('0x150')](..._0x4dbc81,{'forceDefaultExecution':!0x0}),..._0x3d0433),_0x115d95[_0x4619('0x6a')]())));},{'priority':_0x4619('0xe8')});}['forceDefaultExecution'](_0x66df5a){let _0x490d01,_0x43f14a;const _0x328b7f=this[_0x4619('0x2b')];this[_0x4619('0x2b')]=!0x0;try{_0x490d01=_0x66df5a();}catch(_0x18b0b1){_0x43f14a=_0x18b0b1;}return _0x328b7f||(this[_0x4619('0x2b')]=!0x1),_0x43f14a&&_0x520d16[_0x4619('0x14e')](_0x43f14a,this),_0x490d01;}[_0x4619('0x56')](_0x619e7,_0x152594=null,_0x18c0d4={}){if(_0x619e7['isCollapsed'])return null;const _0x2c2730=this[_0x4619('0x91')]['plugins'][_0x4619('0x21')](_0x4619('0x5c'))['me'];for(const {suggestion:_0x38ba2b,meta:_0xc67958}of this[_0x4619('0x64')](_0x619e7,_0x4619('0xe4')))if(_0xc67958[_0x4619('0xdc')]){if(!_0xc67958[_0x4619('0xc9')]){if(_0xc67958[_0x4619('0xb7')]){if(!this[_0x4619('0xa7')]||!Gt(_0x38ba2b,_0x18c0d4))continue;return _0x38ba2b;}if(Gt(_0x38ba2b,_0x18c0d4))return _0x38ba2b;this[_0x4619('0xff')](_0x38ba2b,_0x619e7[_0x4619('0xfd')],_0x619e7[_0x4619('0x59')]);break;}if(_0x152594==_0x38ba2b[_0x4619('0x170')]&&Gt(_0x38ba2b,_0x18c0d4)){const _0x3a2879=_0x38ba2b[_0x4619('0xf4')]();return _0x3a2879[_0x4619('0xfd')]['isEqual'](_0x619e7[_0x4619('0x59')])?this['_setSuggestionRange'](_0x38ba2b,this[_0x4619('0x54')][_0x4619('0x135')](_0x619e7[_0x4619('0xfd')],_0x3a2879['end'])):this[_0x4619('0x3a')](_0x38ba2b,this[_0x4619('0x54')]['createRange'](_0x3a2879['start'],_0x619e7[_0x4619('0x59')])),_0x38ba2b;}}const _0x210e82=_0x2269fc(),_0x18f59a=_0x2c2730['id'],_0x134b8d=_0x152594?_0x4619('0xa8')+_0x152594:_0x4619('0xe4'),_0x17f9e9=this[_0x4619('0xc1')]({'id':_0x210e82,'type':_0x134b8d,'createdAt':new Date(),'authorId':_0x18f59a,'attributes':_0x18c0d4});return this[_0x4619('0x117')](_0x134b8d,_0x210e82,_0x18f59a,_0x619e7),_0x17f9e9;}['markMultiRangeInsertion'](_0x3b94cc,_0x1a2d3a='multi',_0x5c4b26={}){const _0x3d57ce=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c'))['me'],_0x3639e7=this[_0x4619('0xef')][_0x4619('0xb8')]('insertion',_0x1a2d3a,'join');for(const _0x5f94fa of this[_0x4619('0x139')]())if(_0x5f94fa[_0x4619('0x122')]['id']==_0x3d57ce['id']&&_0x4619('0xe4')==_0x5f94fa['type']&&_0x5f94fa[_0x4619('0x170')]==_0x1a2d3a&&Gt(_0x5f94fa,_0x5c4b26)&&(_0x3639e7(_0x5f94fa['getRanges'](),_0x3b94cc)||_0x3639e7(_0x3b94cc,_0x5f94fa['getRanges']()))){for(const _0x2589d7 of _0x3b94cc)_0x5f94fa[_0x4619('0xb2')](_0x2589d7);return _0x5f94fa;}for(const {suggestion:_0x56141d,meta:_0x55abb2}of this[_0x4619('0x64')](_0x3b94cc,'insertion')){if(!_0x55abb2['isOwn'])continue;if(!this[_0x4619('0xa7')]&&_0x55abb2[_0x4619('0xb7')])continue;if(!Gt(_0x56141d,_0x5c4b26))continue;let _0x5941ac=!0x0;for(const _0x1b2544 of _0x56141d[_0x4619('0xa')]())for(const _0x126525 of _0x3b94cc)if(!_0x1b2544['containsRange'](_0x126525)){_0x5941ac=!0x1;break;}if(_0x5941ac)return _0x56141d;}const _0x4a33b2=_0x2269fc(),_0x1d9fa2=_0x3d57ce['id'],_0x4bb6a7=_0x4619('0xa8')+_0x1a2d3a,_0x523255=this[_0x4619('0xc1')]({'id':_0x4a33b2,'type':_0x4bb6a7,'createdAt':new Date(),'authorId':_0x1d9fa2,'attributes':_0x5c4b26});for(const _0x4f4f39 of _0x3b94cc)this['_addSuggestionMarker'](_0x4bb6a7,_0x4a33b2,_0x1d9fa2,_0x4f4f39,_0x3f8809[_0x4619('0x101')]());return _0x523255;}[_0x4619('0x14f')](_0x127499,_0x286119,_0x611f95=null,_0x12f7bb={}){if(_0x611f95=_0x611f95||Et(_0x286119),_0x127499[_0x4619('0xdd')])return null;if(_0x4619('0xed')===this[_0x4619('0x63')]){const _0x1a2394=this[_0x4619('0xef')][_0x4619('0xb8')](_0x4619('0x4b'),_0x611f95,_0x4619('0xd3'));return this['forceDefaultExecution'](()=>_0x1a2394([_0x127499],_0x286119,_0x12f7bb)),null;}const _0x545a5d=this['editor']['plugins'][_0x4619('0x21')](_0x4619('0x5c'))['me'],_0x376a9a=[];if(_0x4619('0xfa')!==this[_0x4619('0x63')])for(const {suggestion:_0x1b35d5,meta:_0x31588a}of this[_0x4619('0x64')](_0x127499,'insertion'))_0x31588a['isOwn']&&!_0x31588a[_0x4619('0xb4')]&&_0x376a9a[_0x4619('0x7e')](..._0x1b35d5[_0x4619('0xa')]());const _0x49a9c4=function(_0x4a944b,_0x2793f4){const _0x1867b1=[];for(const _0x36448f of _0x2793f4){const _0x21e964=_0x4a944b[_0x4619('0x9a')](_0x36448f);_0x21e964&&_0x1867b1['push'](_0x21e964);}return _0x1867b1;}(_0x127499,_0x376a9a),_0x584c93=function(_0x4b4d72,_0x271192){const _0x163770=[_0x4b4d72];for(const _0x4d4f33 of _0x271192){let _0x362def=0x0;for(;_0x362def<_0x163770['length'];){const _0x1aa12b=_0x163770[_0x362def]['getDifference'](_0x4d4f33);_0x163770['splice'](_0x362def,0x1,..._0x1aa12b),_0x362def+=_0x1aa12b[_0x4619('0x119')];}}return _0x163770;}(_0x127499,_0x376a9a);_0x49a9c4['length']&&this[_0x4619('0x54')][_0x4619('0x13a')](()=>{for(const _0x29c8e4 of _0x49a9c4){const _0x257db0=this['_suggestionFactory'][_0x4619('0xb8')]('formatInline',_0x611f95,_0x4619('0xd3'));this[_0x4619('0x124')](()=>_0x257db0([_0x29c8e4],_0x286119,_0x12f7bb));}});for(const _0x4cdf12 of _0x584c93){let _0x424863=null,_0x117dfb=_0x4cdf12[_0x4619('0xfd')],_0x1364ad=_0x4cdf12[_0x4619('0x59')];for(const {suggestion:_0x2f968c,meta:_0x264e1a}of this[_0x4619('0x64')](_0x4cdf12,'formatInline')){if(!_0x264e1a[_0x4619('0xdc')])continue;if(_0x2f968c[_0x4619('0x170')]!=_0x611f95)continue;if(!Gt(_0x2f968c,_0x12f7bb))continue;const _0x1e286a=_0x2f968c[_0x4619('0xf4')]();if(_0x1e286a[_0x4619('0x157')](_0x4cdf12,!0x0))return null;_0x117dfb=_0x117dfb[_0x4619('0x108')](_0x1e286a[_0x4619('0xfd')])?_0x117dfb:_0x1e286a[_0x4619('0xfd')],_0x1364ad=_0x1364ad['isAfter'](_0x1e286a[_0x4619('0x59')])?_0x1364ad:_0x1e286a['end'],_0x424863?_0x1e286a[_0x4619('0xfd')]['isBefore'](_0x424863[_0x4619('0xf4')]()[_0x4619('0xfd')])?(_0x424863[_0x4619('0x143')](),_0x424863=_0x2f968c):_0x2f968c[_0x4619('0x143')]():_0x424863=_0x2f968c;}const _0x14c181=this[_0x4619('0x54')][_0x4619('0x135')](_0x117dfb,_0x1364ad);if(_0x424863)this[_0x4619('0x3a')](_0x424863,_0x14c181);else{const _0x3ab397=_0x2269fc(),_0x285f13=_0x545a5d['id'];this['_setSuggestionData']({'id':_0x3ab397,'type':_0x4619('0x138')+_0x611f95,'data':_0x286119,'createdAt':new Date(),'authorId':_0x285f13,'attributes':_0x12f7bb}),this[_0x4619('0x117')](_0x4619('0x138')+_0x611f95,_0x3ab397,_0x285f13,_0x14c181);}}return null;}[_0x4619('0x95')](_0x35d226,_0x509393,_0xe3f0f7=[],_0x344492=null,_0x1bdcdd={}){_0x509393[_0x4619('0x176')]||(_0x509393[_0x4619('0x176')]=_0x509393[_0x4619('0xfe')]),_0x509393[_0x4619('0x8b')]=_0x35d226['is'](_0x4619('0x121')),_0x344492=_0x344492||Et(_0x509393);const _0x53afaa=_0xe3f0f7['map'](_0x366d4a=>Ut(_0x366d4a,this[_0x4619('0x54')])),_0x4a8a42=_0x35d226['is']('range')?_0x35d226:Ut(_0x35d226,this[_0x4619('0x54')]);if(_0x4619('0xed')===this[_0x4619('0x63')]){const _0x579480=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x344492,_0x4619('0xd3'));return this['forceDefaultExecution'](()=>_0x579480([_0x4a8a42],_0x509393,_0x1bdcdd)),null;}_0x53afaa[_0x4619('0x7e')](_0x4a8a42);let _0x40730a=!0x0;for(const _0x1fe0ed of _0x53afaa)if(!this[_0x4619('0x10d')](_0x1fe0ed)){_0x40730a=!0x1;break;}if(_0x40730a&&_0x4619('0xfa')!==this[_0x4619('0x63')]){const _0x2da522=this[_0x4619('0xef')][_0x4619('0xb8')](_0x4619('0x137'),_0x344492,_0x4619('0xd3'));return this[_0x4619('0x124')](()=>_0x2da522([_0x4a8a42],_0x509393,_0x1bdcdd)),null;}let _0x3a9c56=null,_0x59c2ba=_0x4a8a42[_0x4619('0xfd')],_0x32e53f=_0x4a8a42[_0x4619('0x59')];for(const {suggestion:_0x2bf272,meta:_0x213271}of this[_0x4619('0x64')](_0x4a8a42,_0x4619('0x137'))){if(!_0x213271[_0x4619('0xdc')])continue;if(_0x213271[_0x4619('0xc9')]||_0x213271[_0x4619('0xb7')]||_0x213271[_0x4619('0xb4')])continue;if(_0x2bf272[_0x4619('0xdf')][_0x4619('0x176')]!=_0x509393[_0x4619('0x176')])continue;if(!Gt(_0x2bf272,_0x1bdcdd))continue;const _0x3a8ea1=_0x2bf272[_0x4619('0xf4')]();if(_0x2bf272[_0x4619('0x170')]==_0x344492){if(_0x3a8ea1[_0x4619('0x157')](_0x4a8a42,!0x0))return null;_0x59c2ba=_0x59c2ba['isBefore'](_0x3a8ea1[_0x4619('0xfd')])?_0x59c2ba:_0x3a8ea1['start'],_0x32e53f=_0x32e53f[_0x4619('0x22')](_0x3a8ea1[_0x4619('0x59')])?_0x32e53f:_0x3a8ea1[_0x4619('0x59')],_0x3a9c56?_0x3a8ea1[_0x4619('0xfd')][_0x4619('0x108')](_0x3a9c56[_0x4619('0xf4')]()[_0x4619('0xfd')])?(_0x3a9c56[_0x4619('0x143')](),_0x3a9c56=_0x2bf272):_0x2bf272['removeMarkers']():_0x3a9c56=_0x2bf272;}else{const _0x25dec4=_0x4a8a42[_0x4619('0x9a')](_0x3a8ea1);this[_0x4619('0xf6')](_0x2bf272,_0x25dec4);}}const _0x4de8e6=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')]('Users')['me'],_0x376c9d=_0x2269fc(),_0x4c8c44=_0x4de8e6['id'];if(_0x3a9c56)return this[_0x4619('0x3a')](_0x3a9c56,this['_model'][_0x4619('0x135')](_0x59c2ba,_0x32e53f)),_0x3a9c56;{const _0x1b3b69=this['_setSuggestionData']({'id':_0x376c9d,'type':'formatBlock:'+_0x344492,'data':_0x509393,'createdAt':new Date(),'authorId':_0x4c8c44,'attributes':_0x1bdcdd});return this[_0x4619('0x117')](_0x4619('0xeb')+_0x344492,_0x376c9d,_0x4c8c44,this['_model'][_0x4619('0x135')](_0x59c2ba,_0x32e53f)),_0x1b3b69;}}[_0x4619('0xa5')](_0x5392d0,_0x536812,_0x1e1436=[],_0x5315fc=null,_0x195fe8={}){_0x536812[_0x4619('0x176')]||(_0x536812[_0x4619('0x176')]=_0x536812[_0x4619('0xfe')]);const _0x5e1657=_0x5392d0[0x0];_0x536812[_0x4619('0x8b')]=_0x5e1657['is'](_0x4619('0x121')),_0x5315fc=_0x5315fc||Et(_0x536812);const _0xd79ec5=_0x1e1436[_0x4619('0x102')](_0xc3775a=>Ut(_0xc3775a,this[_0x4619('0x54')])),_0xb35726=_0x5e1657['is'](_0x4619('0x121'))?_0x5392d0:_0x5392d0[_0x4619('0x102')](_0x4c19de=>Ut(_0x4c19de,this['_model']));if(_0x4619('0xed')===this[_0x4619('0x63')]){const _0x46b15d=this[_0x4619('0xef')][_0x4619('0xb8')]('formatBlock',_0x5315fc,_0x4619('0xd3'));return this[_0x4619('0x124')](()=>_0x46b15d(_0xb35726,_0x536812,_0x195fe8)),null;}_0xd79ec5[_0x4619('0x7e')](..._0xb35726);let _0x21abab=!0x0;for(const _0x2b3fc6 of _0xd79ec5)if(!this['_rangeIsInLocalUserInsertion'](_0x2b3fc6)){_0x21abab=!0x1;break;}if(_0x21abab&&'always'!==this['_trackFormatChanges']){const _0x269cf0=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5315fc,'accept');return this[_0x4619('0x124')](()=>_0x269cf0(_0xb35726,_0x536812,_0x195fe8)),null;}const _0x43579a=this['editor'][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c'))['me'];for(const _0x1dad07 of this[_0x4619('0x139')]()){if(_0x1dad07['author']['id']!=_0x43579a['id'])continue;if(_0x4619('0x137')!=_0x1dad07[_0x4619('0x4a')]||_0x1dad07['data']['formatGroupId']!=_0x536812[_0x4619('0x176')])continue;if(!Gt(_0x1dad07,_0x195fe8))continue;const _0x15751d=_0x1dad07[_0x4619('0x170')]==_0x5315fc;for(let _0x1303a2=0x0;_0x1303a2<_0xb35726[_0x4619('0x119')];_0x1303a2++){const _0x2d9f6e=_0xb35726[_0x1303a2];for(const _0x3fbc01 of _0x1dad07['getMarkers']()){const _0x1f35b3=_0x3fbc01[_0x4619('0x41')]();if(_0x2d9f6e['isEqual'](_0x1f35b3)){_0x15751d?(_0xb35726[_0x4619('0x114')](_0x1303a2,0x1),_0x1303a2--):_0x1dad07[_0x4619('0x79')](_0x3fbc01[_0x4619('0xb3')]);break;}}}}if(0x0==_0xb35726['length'])return null;const _0x5885d0=this[_0x4619('0xef')][_0x4619('0xb8')](_0x4619('0x137'),_0x5315fc,_0x4619('0x11'));for(const _0x2a722b of this['getSuggestions']())if(_0x2a722b[_0x4619('0x122')]['id']==_0x43579a['id']&&_0x4619('0x137')==_0x2a722b[_0x4619('0x4a')]&&_0x2a722b[_0x4619('0xdf')][_0x4619('0x176')]==_0x536812['formatGroupId']&&_0x2a722b[_0x4619('0x170')]==_0x5315fc&&Gt(_0x2a722b,_0x195fe8)&&(_0x5885d0(_0x2a722b[_0x4619('0xa')](),_0xb35726)||_0x5885d0(_0xb35726,_0x2a722b[_0x4619('0xa')]()))){for(const _0x26f977 of _0xb35726)_0x2a722b[_0x4619('0xb2')](_0x26f977);return _0x2a722b;}const _0x3ef36f=_0x2269fc(),_0x55769b=_0x43579a['id'],_0x3d824e='formatBlock:'+_0x5315fc,_0x4eb058=this['_setSuggestionData']({'id':_0x3ef36f,'type':_0x3d824e,'data':_0x536812,'createdAt':new Date(),'authorId':_0x55769b,'attributes':_0x195fe8});for(const _0x18f2c1 of _0xb35726)this[_0x4619('0x117')](_0x3d824e,_0x3ef36f,_0x55769b,_0x18f2c1,_0x3f8809[_0x4619('0x101')]());return _0x4eb058;}['markDeletion'](_0x47feab,_0x3a657d=null,_0x2e28b7={}){if(_0x47feab[_0x4619('0xdd')])return null;const _0x31f692=this[_0x4619('0x91')]['plugins'][_0x4619('0x21')](_0x4619('0x5c'))['me'],_0x1319f8=new _0x5794cd(_0x47feab['start'],_0x47feab['end']);for(const {suggestion:_0x38aef4,meta:_0x2ba365}of this[_0x4619('0x64')](_0x1319f8,_0x4619('0xe4')))if(_0x2ba365[_0x4619('0xdc')]&&!_0x2ba365[_0x4619('0xc9')]){if(_0x38aef4['isMultiRange']){const _0x49e572=_0x38aef4['getRanges']()['filter'](_0x26ceb9=>_0x4619('0x8c')!=_0x26ceb9[_0x4619('0xec')][_0x4619('0x99')]);_0x49e572[_0x4619('0xc7')](_0xc9f7e=>_0x1319f8['containsRange'](_0xc9f7e,!0x0))&&_0x38aef4['discard']();if(_0x49e572[_0x4619('0x13b')](_0x3972fa=>_0x3972fa[_0x4619('0x157')](_0x1319f8,!0x0))){const _0x2f824f=this[_0x4619('0xef')]['getSuggestionCallback'](_0x4619('0x126'),_0x3a657d,'accept');return this[_0x4619('0x124')](()=>_0x2f824f([_0x1319f8],null,_0x2e28b7)),null;}}else{const _0x47d1b7=_0x1319f8[_0x4619('0x9a')](_0x38aef4[_0x4619('0xf4')]());null!==_0x47d1b7&&_0x38aef4[_0x4619('0x174')]([_0x47d1b7],null,_0x2e28b7);}}if(_0x1319f8[_0x4619('0x12')](),_0x1319f8[_0x4619('0xdd')]||_0x4619('0x8c')==_0x1319f8[_0x4619('0xec')][_0x4619('0x99')])return null;let _0x3a5751=null,_0x2c36b6=_0x1319f8[_0x4619('0xfd')],_0x16ad15=_0x1319f8[_0x4619('0x59')];const _0x1a0d10=this[_0x4619('0x64')](_0x1319f8,_0x4619('0x126'));for(const {suggestion:_0x42223b,meta:_0x30d127}of _0x1a0d10){const _0x18d544=this['_model'][_0x4619('0x135')](_0x2c36b6,_0x16ad15);if(_0x30d127['isOwn']&&(this[_0x4619('0xa7')]||!_0x30d127['containsRangeInObject']&&!_0x30d127['isInsideObject'])){if(_0x42223b['isMultiRange']){if(!Gt(_0x42223b,_0x2e28b7))continue;let _0x2dce57=!0x0;for(const _0x3405dc of _0x42223b[_0x4619('0xa')]()){if(_0x3405dc['containsRange'](_0x18d544,!0x0))return _0x42223b;_0x18d544[_0x4619('0x157')](_0x3405dc)||(_0x2dce57=!0x1);}_0x2dce57&&_0x42223b['discard']();}else{const _0x1bbf35=_0x42223b[_0x4619('0xf4')]();if(_0x1bbf35[_0x4619('0x157')](_0x18d544,!0x0))return _0x42223b;if(!Gt(_0x42223b,_0x2e28b7)){_0x18d544[_0x4619('0x157')](_0x1bbf35)?_0x42223b[_0x4619('0x143')]():_0x1bbf35[_0x4619('0x15b')](_0x2c36b6)?_0x2c36b6=_0x1bbf35['end']:_0x1bbf35['containsPosition'](_0x16ad15)&&(_0x16ad15=_0x1bbf35[_0x4619('0xfd')]);continue;}_0x2c36b6=_0x2c36b6[_0x4619('0x108')](_0x1bbf35['start'])?_0x2c36b6:_0x1bbf35[_0x4619('0xfd')],_0x16ad15=_0x16ad15[_0x4619('0x22')](_0x1bbf35[_0x4619('0x59')])?_0x16ad15:_0x1bbf35['end'],_0x2e28b7=Object[_0x4619('0xf7')]({},_0x42223b[_0x4619('0x2f')]),_0x3a5751?_0x1bbf35['start'][_0x4619('0x108')](_0x3a5751[_0x4619('0xf4')]()[_0x4619('0xfd')])?(_0x3a5751['removeMarkers'](),_0x3a5751=_0x42223b):_0x42223b[_0x4619('0x143')]():_0x3a5751=_0x42223b;}}}if(_0x3a5751)return this['_setSuggestionRange'](_0x3a5751,this['_model']['createRange'](_0x2c36b6,_0x16ad15)),_0x3a5751;{const _0x4bc69c=_0x2269fc(),_0x313005=this[_0x4619('0x54')][_0x4619('0x135')](_0x2c36b6,_0x16ad15),_0x4899b4=_0x31f692['id'],_0x386fe1=_0x3a657d?_0x4619('0x10a')+_0x3a657d:_0x4619('0x126'),_0x2b3de5=this[_0x4619('0xc1')]({'id':_0x4bc69c,'type':_0x386fe1,'createdAt':new Date(),'authorId':_0x4899b4,'attributes':_0x2e28b7});return this[_0x4619('0x117')](_0x386fe1,_0x4bc69c,_0x4899b4,_0x313005),_0x2b3de5;}}[_0x4619('0xab')](_0xf6c5ee,_0x51d032=_0x4619('0x169'),_0x488879={}){const _0x11f0ed=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')]('Users')['me'],_0x412a3c=_0xf6c5ee[_0x4619('0x102')](_0x5ce538=>new _0x5794cd(_0x5ce538['start'],_0x5ce538[_0x4619('0x59')])),_0xa985e9=new Set();for(const {suggestion:_0x197d1c,meta:_0x4a6366}of this[_0x4619('0x64')](_0x412a3c,_0x4619('0xe4')))_0x4a6366['isOwn']&&!_0x4a6366[_0x4619('0xc9')]&&_0xa985e9['add'](_0x197d1c);for(const _0x1ec512 of _0xa985e9)if(_0x1ec512[_0x4619('0xe0')]){const _0x5618c5=_0x1ec512[_0x4619('0xa')]();(!_0x1ec512[_0x4619('0x2f')]||!_0x1ec512['attributes']['skipNestingCheck'])&&(_0x5618c5[_0x4619('0xc7')](_0x24b2e0=>_0x412a3c[_0x4619('0x13b')](_0x4676a1=>_0x4676a1[_0x4619('0x157')](_0x24b2e0,!0x0)))&&_0x1ec512[_0x4619('0x72')]());if(_0x412a3c[_0x4619('0xc7')](_0x5b5a47=>_0x5618c5[_0x4619('0x13b')](_0x2bff8f=>_0x2bff8f[_0x4619('0x157')](_0x5b5a47,!0x0)))){const _0x52b372=this[_0x4619('0xef')][_0x4619('0xb8')](_0x4619('0x126'),_0x51d032,_0x4619('0xd3'));return this[_0x4619('0x124')](()=>_0x52b372(_0xf6c5ee,null,_0x488879)),null;}}else{const _0x255f92=_0x1ec512[_0x4619('0xf4')]();_0x412a3c[_0x4619('0x13b')](_0x52ec19=>_0x52ec19['containsRange'](_0x255f92,!0x0))&&_0x1ec512[_0x4619('0x72')]();if(_0x412a3c['every'](_0xd0764a=>_0x255f92[_0x4619('0x157')](_0xd0764a,!0x0))){const _0x47d225=this[_0x4619('0xef')][_0x4619('0xb8')]('deletion',_0x51d032,'accept');return this[_0x4619('0x124')](()=>_0x47d225(_0x412a3c,null,_0x488879)),null;}}const _0x970200=this[_0x4619('0xef')][_0x4619('0xb8')](_0x4619('0x126'),_0x51d032,_0x4619('0x11'));let _0x45bfe7=null;for(const _0xa7acd4 of this[_0x4619('0x139')]())if(_0xa7acd4['author']['id']==_0x11f0ed['id']&&_0xa7acd4['isInContent']&&'deletion'==_0xa7acd4['type']&&_0xa7acd4[_0x4619('0x170')]==_0x51d032&&Gt(_0xa7acd4,_0x488879)&&(_0x970200(_0xa7acd4[_0x4619('0xa')](),_0x412a3c)||_0x970200(_0x412a3c,_0xa7acd4[_0x4619('0xa')]()))){if(_0x45bfe7){if(_0xa7acd4['commentThread']&&_0xa7acd4[_0x4619('0x145')][_0x4619('0x119')])continue;for(const _0x13b0c9 of _0xa7acd4[_0x4619('0xa')]())_0x45bfe7['isIntersectingWithRange'](_0x13b0c9)||_0x45bfe7[_0x4619('0xb2')](_0x13b0c9);_0xa7acd4['removeMarkers']();}else{_0x45bfe7=_0xa7acd4;for(const _0x280e24 of _0x412a3c)_0xa7acd4['isIntersectingWithRange'](_0x280e24)||_0xa7acd4[_0x4619('0xb2')](_0x280e24);}}if(_0x45bfe7)return _0x45bfe7;_0xa985e9[_0x4619('0x1a')]();for(const {suggestion:_0x497744,meta:_0x1c8d25}of this[_0x4619('0x64')](_0x412a3c,_0x4619('0x126')))_0x1c8d25[_0x4619('0xdc')]&&(this[_0x4619('0xa7')]||!_0x1c8d25[_0x4619('0xb7')]&&!_0x1c8d25[_0x4619('0xb4')])&&Gt(_0x497744,_0x488879)&&_0xa985e9[_0x4619('0x153')](_0x497744);for(const _0x32fdee of _0xa985e9){const _0xa66a79=_0x32fdee[_0x4619('0xa')]();if(!_0x488879||!_0x488879[_0x4619('0x179')]){if(_0x412a3c[_0x4619('0xc7')](_0x529ddb=>_0xa66a79['some'](_0xd77e00=>_0xd77e00[_0x4619('0x157')](_0x529ddb,!0x0))))return _0x32fdee;}(!_0x32fdee[_0x4619('0x2f')]||!_0x32fdee[_0x4619('0x2f')][_0x4619('0x179')])&&(_0xa66a79['every'](_0x14b972=>_0x412a3c['some'](_0x55e150=>_0x55e150['containsRange'](_0x14b972,!0x0)))&&_0x32fdee[_0x4619('0x72')]());}const _0x6db402=_0x2269fc(),_0x373e9a=_0x11f0ed['id'],_0x225152='deletion:'+_0x51d032,_0xbf6c9f=this['_setSuggestionData']({'id':_0x6db402,'type':_0x225152,'createdAt':new Date(),'authorId':_0x373e9a,'attributes':_0x488879});for(const _0x2f9227 of _0x412a3c)_0x2f9227[_0x4619('0x12')](),_0x2f9227[_0x4619('0xdd')]||_0x4619('0x8c')==_0x2f9227[_0x4619('0xec')][_0x4619('0x99')]||this[_0x4619('0x117')](_0x225152,_0x6db402,_0x373e9a,_0x2f9227,_0x3f8809[_0x4619('0x101')]());return _0xbf6c9f;}[_0x4619('0x163')](_0x6b00db,_0x485494,_0x3cda8b,_0x4a23ce,_0x4c484a){if(_0x6b00db[_0x4619('0xdd')])return[];if('never'===this[_0x4619('0x63')])return[];const _0x2b1d57=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c'))['me']['id'],_0x287e8f=Array[_0x4619('0x35')](this[_0x4619('0x62')][_0x4619('0x5a')]())[_0x4619('0x149')](_0x576f2c=>_0x4619('0x37')==_0x576f2c[_0x4619('0x4a')]&&_0x576f2c[_0x4619('0xdf')][_0x4619('0x9')]==_0x485494&&_0x576f2c[_0x4619('0xfb')](_0x6b00db));if(_0x4619('0x128')===this[_0x4619('0x63')]){const _0x548977=this[_0x4619('0x64')](_0x6b00db,'insertion')[_0x4619('0x149')](({meta:_0x3f3ea2})=>_0x3f3ea2['isOwn']&&!_0x3f3ea2[_0x4619('0xb4')]&&!_0x3f3ea2[_0x4619('0xc9')])['map'](({suggestion:_0x3aee8e})=>_0x3aee8e);_0x287e8f['unshift'](..._0x548977);}const _0x12b4f5=new Map([[_0x6b00db,_0x3cda8b]]);for(const _0x28d2d4 of _0x287e8f){const _0x578b6f=_0x4619('0x37')==_0x28d2d4[_0x4619('0x4a')]?_0x28d2d4['data'][_0x4619('0xc3')]:void 0x0,_0xe6498b=_0x28d2d4[_0x4619('0xf4')](),_0x2c07da=Array[_0x4619('0x35')](_0x12b4f5[_0x4619('0x11d')]())[_0x4619('0x84')](_0x7840d9=>_0x7840d9['isIntersecting'](_0xe6498b));if(!_0x2c07da)continue;const _0x30b91a=_0x2c07da[_0x4619('0x172')](_0xe6498b);this[_0x4619('0xae')](_0x485494)&&_0x4619('0xe4')==_0x28d2d4[_0x4619('0x4a')]&&0x0!=_0x30b91a[_0x4619('0x119')]||(_0x12b4f5[_0x4619('0x67')](_0x2c07da),_0x30b91a[_0x4619('0xd4')](_0x483b0d=>{_0x12b4f5['set'](_0x483b0d,_0x3cda8b);}),_0x4619('0xe4')!=_0x28d2d4['type']&&_0x578b6f!=_0x4a23ce&&_0x12b4f5[_0x4619('0x130')](_0x2c07da[_0x4619('0x9a')](_0xe6498b),_0x578b6f));}const _0x2917ff=[];for(const [_0x41a5ca,_0x38b658]of _0x12b4f5){const _0x4078c2=_0x2269fc(),_0x1727b6={'key':_0x485494,'oldValue':_0x38b658,'newValue':_0x4a23ce};_0x485494[_0x4619('0x119')]>0x25&&console[_0x4619('0xf9')](_0x4619('0x12b'),{'key':_0x485494});const _0x410db2=(_0x4619('0x2d')+(_0x485494+'|'+Et({'newValue':_0x4a23ce})))['substring'](0x0,0x3c),_0x46fd1b=this['_setSuggestionData']({'id':_0x4078c2,'type':_0x410db2,'data':_0x1727b6,'createdAt':new Date(),'authorId':_0x2b1d57,'attributes':_0x4c484a});_0x2917ff[_0x4619('0x7e')](_0x46fd1b),this[_0x4619('0x117')](_0x410db2,_0x4078c2,_0x2b1d57,_0x41a5ca);}return _0x2917ff;}[_0x4619('0x58')](_0x31f828){this['_blockAttributeKeys'][_0x4619('0x153')](_0x31f828);}['_registerInlineAttribute'](_0x20d65a){this[_0x4619('0xca')]['add'](_0x20d65a);}['_enableDefaultAttributesIntegration'](_0xb40e23,_0x403672=[],_0xf8d89f=[]){this['enableCommand'](_0xb40e23,(_0x425b58,..._0xc0599)=>{this['_recordAttributeChanges'](()=>{_0x425b58(..._0xc0599);});});for(const _0x355af9 of _0x403672)this['_registerInlineAttribute'](_0x355af9);for(const _0xc7f032 of _0xf8d89f)this['_registerBlockAttribute'](_0xc7f032);}[_0x4619('0x3a')](_0x3dedd5,_0x659689){const _0x4467f9=_0x3dedd5['getFirstMarker']();this[_0x4619('0x54')][_0x4619('0x13a')](_0x3ab4ec=>{_0x3ab4ec['updateMarker'](_0x4467f9,{'range':_0x659689});});}['_addThreadToSuggestion'](_0x584c4d){const _0x3a5028=_0x584c4d['id'],_0x23eac5=this['editor'][_0x4619('0x160')][_0x4619('0x21')](_0x4619('0x74'));this[_0x4619('0xd2')]['hasCommentThread'](_0x3a5028)||this[_0x4619('0xd2')][_0x4619('0xe7')]({'channelId':_0x23eac5,'threadId':_0x3a5028,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x2c2185=this[_0x4619('0xd2')][_0x4619('0x175')](_0x3a5028);_0x2c2185[_0x4619('0x116')]('isRemovable'),_0x2c2185['isRemovable']=!0x1,_0x584c4d['commentThread']=_0x2c2185;}['_checkSuggestionCorrectness'](_0x1d7f32,_0x575fa8,_0x3f2976,_0x127ac2){if(_0x1d7f32[_0x4619('0x4a')]!=_0x575fa8||_0x1d7f32[_0x4619('0x170')]!=_0x3f2976||_0x1d7f32['creator']['id']!=_0x127ac2)throw this[_0x4619('0x91')][_0x4619('0x15e')](_0x4619('0x3c')),new _0x520d16(_0x4619('0x3c'),this);}[_0x4619('0xf6')](_0x241bea,_0x7c7648){const _0x30ce1c=_0x241bea[_0x4619('0xf4')]();if(_0x7c7648[_0x4619('0x10c')](_0x30ce1c))_0x241bea[_0x4619('0x143')]();else{if(_0x30ce1c[_0x4619('0x157')](_0x7c7648)){const _0x28bbad=this[_0x4619('0x54')][_0x4619('0x28')](_0x7c7648[_0x4619('0xfd')]['nodeBefore'],'end');this[_0x4619('0x3a')](_0x241bea,this['_model'][_0x4619('0x135')](_0x30ce1c[_0x4619('0xfd')],_0x28bbad));const _0x3ec1ca=_0x2269fc(),_0x369709=_0x241bea[_0x4619('0x1c')]['id'],_0x5a740b=_0x241bea[_0x4619('0x4a')]+':'+_0x241bea[_0x4619('0x170')];this[_0x4619('0xc1')]({'id':_0x3ec1ca,'type':_0x5a740b,'createdAt':new Date(),'authorId':_0x369709,'data':_0x241bea['data'],'attributes':_0x241bea[_0x4619('0x2f')]});const _0x3b54b5=this['_model']['createPositionAt'](_0x7c7648[_0x4619('0x59')]['parent'],_0x4619('0xfc')),_0x5bdef7=this['_model'][_0x4619('0x135')](_0x3b54b5,_0x30ce1c['end']);this[_0x4619('0x117')](_0x5a740b,_0x3ec1ca,_0x369709,_0x5bdef7);}else{if(_0x30ce1c[_0x4619('0x15b')](_0x7c7648[_0x4619('0xfd')])){const _0xcf678c=this[_0x4619('0x54')]['createPositionAt'](_0x7c7648[_0x4619('0xfd')][_0x4619('0x8')],_0x4619('0x59'));this[_0x4619('0x3a')](_0x241bea,this[_0x4619('0x54')][_0x4619('0x135')](_0x30ce1c[_0x4619('0xfd')],_0xcf678c));}else{const _0x4c975b=this[_0x4619('0x54')][_0x4619('0x28')](_0x7c7648[_0x4619('0x59')][_0x4619('0x16b')],_0x4619('0xfc'));this[_0x4619('0x3a')](_0x241bea,this[_0x4619('0x54')][_0x4619('0x135')](_0x4c975b,_0x30ce1c[_0x4619('0x59')]));}}}}[_0x4619('0x10d')](_0x5dc879){for(const {suggestion:_0x4223b5,meta:_0x2542e4}of this[_0x4619('0x64')](_0x5dc879,_0x4619('0xe4'))){if(!_0x2542e4['isOwn'])continue;const _0xf3ae05=_0x4223b5['getRanges']();for(const _0x179179 of _0xf3ae05)if(!_0x5dc879[_0x4619('0x172')](_0x179179)['length'])return!0x0;}return!0x1;}[_0x4619('0x90')](_0x20834e){const _0x5d404d=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c'))[_0x4619('0x13d')](_0x20834e);if(!_0x5d404d)throw new _0x520d16(_0x4619('0x29'),this);return _0x5d404d;}[_0x4619('0xcb')](_0x9d1d49){const _0x4dea03=this['editor'][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c')),_0x411fb4=_0x553bcb(_0x4619('0x4f')+_0x9d1d49),_0x1ae5b1=_0x4dea03[_0x4619('0x13d')](_0x411fb4);return _0x1ae5b1||_0x4dea03[_0x4619('0xbe')]({'id':_0x411fb4,'name':_0x9d1d49});}[_0x4619('0x71')](_0x2f062a,_0x22fe36,_0x4fd3ee,_0x47d64e,_0x176eee){const _0x32bc2e=this[_0x4619('0x90')](_0x47d64e),_0x20e6b6=this[_0x4619('0xef')][_0x4619('0x15')](_0x2f062a,_0x22fe36,_0x4fd3ee,_0x32bc2e,_0x176eee,_0x5579e3=>this[_0x4619('0xd9')](_0x4fd3ee,{'attributes':_0x5579e3}));return this[_0x4619('0xa6')](_0x20e6b6,_0x4619('0xd3'),()=>{this['_updateSuggestionData'](_0x4fd3ee,{'state':_0x4619('0x15a')});},{'priority':_0x4619('0xe8')}),this['listenTo'](_0x20e6b6,_0x4619('0x72'),()=>{this[_0x4619('0xd9')](_0x4fd3ee,{'state':_0x4619('0x3b')});},{'priority':_0x4619('0xe8')}),this[_0x4619('0x62')][_0x4619('0x130')](_0x4fd3ee,_0x20e6b6),this[_0x4619('0xd8')][_0x4619('0x130')](_0x20e6b6,'notReady'),_0x20e6b6;}[_0x4619('0xb')](_0x2df4b9){const _0x4bc654=_0x2df4b9['split'](':');return{'group':_0x4bc654[0x0],'type':_0x4bc654[0x1],'subType':_0x4bc654['length']>=0x5?_0x4bc654[0x2]:null,'id':_0x4bc654[_0x4619('0x119')]<0x5?_0x4bc654[0x2]:_0x4bc654[0x3],'authorId':_0x4bc654['length']<0x5?_0x4bc654[0x3]:_0x4bc654[0x4],'markerCount':0x6==_0x4bc654[_0x4619('0x119')]?_0x4bc654[0x5]:null};}[_0x4619('0xff')](_0x5ed12c,_0x3f2470,_0x20977d){const _0x540b41=_0x5ed12c['getFirstRange'](),_0x3b5293=_0x540b41[_0x4619('0xfd')],_0x519bc8=_0x540b41[_0x4619('0x59')];this[_0x4619('0x3a')](_0x5ed12c,this['_model'][_0x4619('0x135')](_0x3b5293,_0x3f2470));const _0x1c6e48=_0x2269fc(),_0xecfa65=_0x5ed12c[_0x4619('0x1c')]['id'],_0x1bd6f3=_0x5ed12c[_0x4619('0x4a')]+(_0x5ed12c[_0x4619('0x170')]?':'+_0x5ed12c[_0x4619('0x170')]:'');this['_setSuggestionData']({'id':_0x1c6e48,'type':_0x1bd6f3,'createdAt':new Date(),'authorId':_0xecfa65,'originalSuggestionId':_0x5ed12c['id'],'attributes':_0x5ed12c[_0x4619('0x2f')],'data':_0x5ed12c[_0x4619('0xdf')]});const _0x2956b4=Pt(_0x5ed12c);(_0x4619('0x137')==_0x5ed12c[_0x4619('0x4a')]||_0x2956b4&&this['_isBlockAttribute'](_0x2956b4))&&(_0x20977d=this[_0x4619('0x54')][_0x4619('0x127')](_0x20977d[_0x4619('0x16b')])),this[_0x4619('0x117')](_0x1bd6f3,_0x1c6e48,_0xecfa65,this[_0x4619('0x54')][_0x4619('0x135')](_0x20977d,_0x519bc8));}[_0x4619('0x64')](_0x7ff368,_0x1ef830=null){const _0x5df96d=[],_0x4240c6=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c'))['me'];Array['isArray'](_0x7ff368)||(_0x7ff368=[_0x7ff368]);for(const _0x15d1c8 of this[_0x4619('0x139')]()){if(!_0x15d1c8[_0x4619('0x51')])continue;if(_0x1ef830&&_0x15d1c8['type']!=_0x1ef830)continue;let _0x68d8e1=!0x1;for(const _0x2f9dcd of _0x15d1c8[_0x4619('0xa')]()){for(const _0x55b023 of _0x7ff368){const _0x1e75fe=_0x55b023['start'][_0x4619('0x10c')](_0x2f9dcd['end'])||_0x55b023[_0x4619('0x59')][_0x4619('0x10c')](_0x2f9dcd['start']);if(_0x1e75fe||_0x55b023['getIntersection'](_0x2f9dcd)){const _0x508e64=_0x55b023[_0x4619('0x157')](_0x2f9dcd)&&Bt(this[_0x4619('0x54')][_0x4619('0x146')],_0x2f9dcd['start'],_0x55b023),_0x301339=_0x2f9dcd[_0x4619('0x157')](_0x55b023)&&Bt(this[_0x4619('0x54')][_0x4619('0x146')],_0x55b023[_0x4619('0xfd')],_0x2f9dcd);_0x5df96d[_0x4619('0x7e')]({'suggestion':_0x15d1c8,'meta':{'isOwn':_0x4240c6==_0x15d1c8[_0x4619('0x122')],'isNextTo':_0x1e75fe,'isInsideObject':_0x508e64,'containsRangeInObject':_0x301339}}),_0x68d8e1=!0x0;break;}}if(_0x68d8e1)break;}}return _0x5df96d;}[_0x4619('0x117')](_0x4cc350,_0x30d3ca,_0x15e116,_0x972de7,_0x4a2111){this[_0x4619('0x54')][_0x4619('0x13a')](_0x385f04=>{let _0xd2f946=_0x4619('0x111')+_0x4cc350+':'+_0x30d3ca+':'+_0x15e116;_0x4a2111&&(_0xd2f946=_0xd2f946+':'+_0x4a2111),_0x385f04[_0x4619('0xc0')](_0xd2f946,{'range':_0x972de7,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4619('0x52')](_0x42959c){const _0x7a9cbe=_0x42959c['previous'],_0x2d540f=_0x42959c[_0x4619('0x166')];_0x42959c[_0x4619('0x75')]=null,_0x42959c[_0x4619('0x166')]=null,null!=_0x7a9cbe&&(_0x7a9cbe[_0x4619('0x166')]=_0x2d540f),null!=_0x2d540f&&(_0x2d540f['previous']=_0x7a9cbe),'ready'==this[_0x4619('0xd8')][_0x4619('0x21')](_0x42959c)&&(this[_0x4619('0xd8')][_0x4619('0x130')](_0x42959c,'removed'),this[_0x4619('0x27')](_0x4619('0x39'),_0x42959c,_0x7a9cbe,_0x2d540f));}['_setSuggestionData'](_0x178ede){const _0x3e1353=_0x178ede['id'],_0x1ee849=this[_0x4619('0xd0')](_0x178ede);if(this['_adapter']&&this[_0x4619('0x32')]['addSuggestion']){const _0x284c14=this[_0x4619('0x91')]['plugins'][_0x4619('0x21')](_0x4619('0x165')),_0x12b45a=_0x1ee849[_0x4619('0x2c')],_0x30802c=_0x1ee849[_0x4619('0x170')]?_0x1ee849[_0x4619('0x4a')]+':'+_0x1ee849[_0x4619('0x170')]:_0x1ee849[_0x4619('0x4a')],_0x5c1b08=this[_0x4619('0x91')][_0x4619('0x85')],_0x3c5248=_0x284c14[_0x4619('0x153')](_0x2517b4(_0x5c1b08,'PENDING_ACTION_SUGGESTION')),_0x49d642={'id':_0x3e1353,'type':_0x30802c,'hasComments':_0x12b45a,'data':_0x178ede[_0x4619('0xdf')]||null,'originalSuggestionId':_0x178ede[_0x4619('0xa2')]||null,'attributes':_0x1ee849['attributes']};this[_0x4619('0x32')][_0x4619('0xf5')](_0x49d642)[_0x4619('0x12a')](_0x29e50d=>{_0x1ee849['_saved']=!0x0,_0x284c14[_0x4619('0xa0')](_0x3c5248),_0x29e50d&&_0x29e50d['createdAt']&&(this[_0x4619('0x62')][_0x4619('0x21')](_0x3e1353)[_0x4619('0x9d')]=_0x29e50d[_0x4619('0x9d')]);})[_0x4619('0x44')](_0x30d5fb=>{throw _0x30b529(_0x4619('0x3e')),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x1ee849[_0x4619('0x72')]();}),_0x1ee849[_0x4619('0xbf')](),this['_suggestions'][_0x4619('0x67')](_0x1ee849['id']),this['_suggestionState'][_0x4619('0x67')](_0x1ee849),_0x30d5fb;});}return _0x1ee849;}[_0x4619('0xae')](_0x5df1fa){return this['_blockAttributeKeys'][_0x4619('0x1b')](_0x5df1fa);}[_0x4619('0xd9')](_0x4e81b6,_0x2f9baf){const _0x16eb8d=this[_0x4619('0x91')][_0x4619('0xc4')]['get'](_0x4619('0x165')),_0x4b0e65=this['getSuggestion'](_0x4e81b6);if(this['_adapter']&&this[_0x4619('0x32')]['updateSuggestion']){if(_0x4b0e65['_saved']){const _0x2807e2=_0x16eb8d[_0x4619('0x153')](_0x2517b4(this['editor'][_0x4619('0x85')],_0x4619('0x12c')));this['_adapter'][_0x4619('0x45')](_0x4e81b6,_0x2f9baf)['then'](()=>{_0x16eb8d[_0x4619('0xa0')](_0x2807e2);});}else _0x4b0e65['on'](_0x4619('0x5e'),()=>{this[_0x4619('0xd9')](_0x4e81b6,_0x2f9baf);});}}[_0x4619('0x118')](_0x4db824){if(!this[_0x4619('0x32')]||!this[_0x4619('0x32')][_0x4619('0x4e')])throw new _0x520d16('track-changes-adapter-missing-getsuggestion',this);return this['_adapter'][_0x4619('0x4e')](_0x4db824);}[_0x4619('0x34')](_0x1d6b6c){const {id:_0x29e6e0,type:_0x28df38,subType:_0xe1fbe9,authorId:_0x4c49b2}=this[_0x4619('0xb')](_0x1d6b6c),_0x486a56=this['_suggestions'][_0x4619('0x21')](_0x29e6e0)||this[_0x4619('0x71')](_0x28df38,_0xe1fbe9,_0x29e6e0,_0x4c49b2,{});switch(this[_0x4619('0xde')](_0x486a56,_0x28df38,_0xe1fbe9,_0x4c49b2),this[_0x4619('0xd8')]['get'](_0x486a56)){case _0x4619('0x1e'):this[_0x4619('0x118')](_0x29e6e0)[_0x4619('0x12a')](_0x577993=>{let _0x450100=Promise['resolve']();_0x577993[_0x4619('0x2c')]&&(_0x450100=this[_0x4619('0xd2')]['fetchCommentThread']({'channelId':this[_0x4619('0x91')][_0x4619('0x160')]['get'](_0x4619('0x74')),'threadId':_0x29e6e0})),_0x450100[_0x4619('0x12a')](()=>{this['addSuggestionData'](_0x577993)[_0x4619('0x167')]=!0x0;});}),this[_0x4619('0xd8')][_0x4619('0x130')](_0x486a56,'markerReady');break;case _0x4619('0x5b'):this[_0x4619('0xd9')](_0x29e6e0,{'state':_0x4619('0x86')});case _0x4619('0x9c'):this[_0x4619('0xd8')][_0x4619('0x130')](_0x486a56,_0x4619('0xa3')),this['fire']('suggestionLoaded',_0x486a56);break;case _0x4619('0xa3'):this[_0x4619('0x27')](_0x4619('0x168'),_0x486a56);}return _0x486a56[_0x4619('0x17e')](_0x1d6b6c),_0x486a56;}[_0x4619('0x26')](_0x5ec784){const _0x249dab=Array[_0x4619('0x35')](_0x5ec784),_0x24ec48=_0x249dab['filter'](_0x396c88=>_0x4619('0x37')==_0x396c88[_0x4619('0x4a')]);this[_0x4619('0x92')](_0x24ec48);const _0x5b728b=_0x249dab[_0x4619('0x149')](_0x3b80c1=>!_0x3b80c1[_0x4619('0xe0')]&&'attribute'!=_0x3b80c1[_0x4619('0x4a')]),_0x26a37d=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x1ab4c5=>!_0x1ab4c5[_0x4619('0xe0')]&&_0x4619('0x37')!=_0x1ab4c5[_0x4619('0x4a')]),_0x52ebfa=_0x26a37d[_0x4619('0x149')](_0x1bf8e4=>!_0x5ec784[_0x4619('0x1b')](_0x1bf8e4)),_0x4714ae=new Map(_0x26a37d[_0x4619('0x102')](_0x1e35a8=>[_0x1e35a8,this[_0x4619('0xef')][_0x4619('0xb8')](_0x1e35a8[_0x4619('0x4a')],_0x1e35a8[_0x4619('0x170')],_0x4619('0x17d'))])),_0x24eba6=new Map(_0x26a37d['map'](_0x3c237a=>[_0x3c237a,_0x3c237a[_0x4619('0xf4')]()])),_0xdfc609=new Set(),_0x5d71c5=new Set();for(let _0x88eea0=0x0;_0x88eea0<_0x5b728b[_0x4619('0x119')];_0x88eea0++)_0x3b697d(_0x5b728b[_0x88eea0],_0x5b728b,_0x88eea0+0x1);for(let _0x4d267a=0x0;_0x4d267a<_0x5b728b[_0x4619('0x119')];_0x4d267a++)_0x3b697d(_0x5b728b[_0x4d267a],_0x52ebfa,0x0);const _0x2bb494=new Set();for(let _0x54bc8a=0x0;_0x54bc8a<_0x5b728b['length'];_0x54bc8a++){const _0x48db9e=_0x5b728b[_0x54bc8a];!_0x5d71c5[_0x4619('0x1b')](_0x48db9e)&&_0x48db9e['previous']&&(_0x2bb494[_0x4619('0x153')](_0x48db9e[_0x4619('0x75')]),_0x48db9e[_0x4619('0x75')][_0x4619('0x166')]===_0x48db9e&&(_0x48db9e[_0x4619('0x75')][_0x4619('0x166')]=null),_0x48db9e[_0x4619('0x75')]=null),!_0xdfc609['has'](_0x48db9e)&&_0x48db9e[_0x4619('0x166')]&&(_0x2bb494[_0x4619('0x153')](_0x48db9e['next']),_0x48db9e[_0x4619('0x166')]['previous']===_0x48db9e&&(_0x48db9e['next'][_0x4619('0x75')]=null),_0x48db9e['next']=null);}function _0x3b697d(_0x2833f9,_0x21f15a,_0x44b5f6){for(let _0x2ec97b=_0x44b5f6;_0x2ec97b<_0x21f15a[_0x4619('0x119')];_0x2ec97b++){const _0x2bf2ad=_0x5a782d(_0x2833f9,_0x21f15a[_0x2ec97b]);_0x2bf2ad&&(_0x2bf2ad[0x0][_0x4619('0x166')]=_0x2bf2ad[0x1],_0x2bf2ad[0x1][_0x4619('0x75')]=_0x2bf2ad[0x0],_0xdfc609[_0x4619('0x153')](_0x2bf2ad[0x0]),_0x5d71c5[_0x4619('0x153')](_0x2bf2ad[0x1]));}}function _0x5a782d(_0x486d69,_0x57d817){if(_0x486d69[_0x4619('0x122')]['id']!==_0x57d817[_0x4619('0x122')]['id'])return null;const _0x174e1c=_0x4714ae[_0x4619('0x21')](_0x486d69)(_0x486d69,_0x57d817,_0x24eba6[_0x4619('0x21')](_0x486d69),_0x24eba6[_0x4619('0x21')](_0x57d817));if(!_0x174e1c)return null;return _0x4714ae[_0x4619('0x21')](_0x57d817)(_0x486d69,_0x57d817,_0x24eba6[_0x4619('0x21')](_0x486d69),_0x24eba6['get'](_0x57d817))?_0x174e1c[0x1][_0x4619('0x145')]&&_0x174e1c[0x1][_0x4619('0x145')][_0x4619('0x119')]?null:_0x174e1c:null;}_0x2bb494[_0x4619('0x98')]&&this['_refreshSuggestionsChain'](_0x2bb494);}[_0x4619('0x92')](_0x144460){if(0x0==_0x144460[_0x4619('0x119')])return;const _0x47dd59=this[_0x4619('0x139')]({'skipNotAttached':!0x0})[_0x4619('0x149')](_0x4edd01=>'attribute'==_0x4edd01['type']&&_0x4edd01['_isDataLoaded']),_0x3e988a=[],_0x2898cd=new Map();for(const _0x3d427f of _0x47dd59){const _0x16a73f=_0x553bcb(_0x3d427f[_0x4619('0x2f')]);_0x2898cd[_0x4619('0x1b')](_0x16a73f)||(_0x2898cd[_0x4619('0x130')](_0x16a73f,_0x3e988a[_0x4619('0x119')]),_0x3e988a[_0x4619('0x7e')]([]));const _0x248346=_0x2898cd[_0x4619('0x21')](_0x16a73f);_0x3e988a[_0x248346][_0x4619('0x7e')](_0x3d427f);}!function(){_0x3e988a[_0x4619('0xda')]((_0x1bfc16,_0x59fa4b)=>{const _0x454508=_0x1bfc16[0x0][_0x4619('0x9d')],_0xa565a9=_0x59fa4b[0x0][_0x4619('0x9d')];return _0x454508==_0xa565a9?_0x1bfc16[0x0][_0x4619('0x2f')]['groupId']<_0x59fa4b[0x0][_0x4619('0x2f')][_0x4619('0x4c')]?-0x1:0x1:_0x454508<_0xa565a9?-0x1:0x1;});for(const _0x4216e8 of _0x3e988a)_0x4216e8[_0x4619('0xda')]((_0x2a7962,_0x45e9d4)=>_0x2a7962['id']<_0x45e9d4['id']?-0x1:0x1);}();for(let _0x313efe=0x0;_0x313efe<_0x3e988a[_0x4619('0x119')];_0x313efe++){if(0x0==_0x3e988a[_0x313efe]['length'])continue;const _0x10f179=[];for(let _0x1be3d=_0x313efe+0x1;_0x1be3d<_0x3e988a[_0x4619('0x119')];_0x1be3d++)0x0!=_0x3e988a[_0x1be3d][_0x4619('0x119')]&&_0x4b9404(_0x3e988a[_0x313efe],_0x3e988a[_0x1be3d])&&_0x10f179[_0x4619('0x7e')](_0x1be3d);for(const _0x513e4b of _0x10f179)_0x3e988a[_0x313efe]=_0x3e988a[_0x313efe]['concat'](_0x3e988a[_0x513e4b]),_0x3e988a[_0x513e4b]=[];}for(const _0x2b03eb of _0x3e988a)for(let _0x2751c5=0x0;_0x2751c5<_0x2b03eb[_0x4619('0x119')];_0x2751c5++)_0x2b03eb[_0x2751c5][_0x4619('0x166')]=_0x2b03eb[_0x2751c5+0x1]||null;for(const _0x16ec53 of _0x3e988a)for(let _0x505042=0x0;_0x505042<_0x16ec53['length'];_0x505042++)_0x16ec53[_0x505042][_0x4619('0x75')]=_0x16ec53[_0x505042-0x1]||null;function _0x4b9404(_0x2abdb4,_0x3158f7){if(_0x2abdb4[0x0][_0x4619('0x122')]!==_0x3158f7[0x0][_0x4619('0x122')])return!0x1;if(!function(_0x33d74e,_0x7972c9){if(!_0x33d74e['hasComments']&&!_0x7972c9[_0x4619('0x2c')])return!0x0;if(_0x33d74e[_0x4619('0x2c')]&&_0x7972c9[_0x4619('0x2c')])return!0x1;if(_0x33d74e[_0x4619('0x2c')]&&_0x7972c9[_0x4619('0x9d')]<_0x33d74e[_0x4619('0x145')][_0x4619('0x115')][_0x4619('0x21')](0x0)[_0x4619('0x9d')])return!0x0;if(_0x7972c9[_0x4619('0x2c')]&&_0x33d74e[_0x4619('0x9d')]<_0x7972c9[_0x4619('0x145')][_0x4619('0x115')][_0x4619('0x21')](0x0)[_0x4619('0x9d')])return!0x0;return!0x1;}(_0x2abdb4[0x0],_0x3158f7[0x0]))return!0x1;const _0x50470a=_0x130978(_0x2abdb4[0x0]['attributes'],'groupId'),_0x509d17=_0x130978(_0x3158f7[0x0][_0x4619('0x2f')],_0x4619('0x4c'));if(!_0x49ed37(_0x50470a,_0x509d17))return!0x1;return!!_0x2abdb4[_0x4619('0xc7')](_0x352f2e=>_0x3158f7[_0x4619('0x13b')](_0x30e03c=>_0x352f2e[_0x4619('0xf4')]()[_0x4619('0x10c')](_0x30e03c[_0x4619('0xf4')]())))&&_0x3158f7[_0x4619('0xc7')](_0x5304da=>_0x2abdb4[_0x4619('0x13b')](_0x15b87d=>_0x5304da[_0x4619('0xf4')]()[_0x4619('0x10c')](_0x15b87d[_0x4619('0xf4')]())));}}['_joinWithAdjacentSuggestions'](_0x465ff2){const _0x44025a=Array[_0x4619('0x35')](_0x465ff2),_0x33d597=this[_0x4619('0x139')]({'skipNotAttached':!0x0}),_0x2a1473=_0x33d597[_0x4619('0x149')](_0x4f4167=>!_0x465ff2['has'](_0x4f4167)),_0x376231=new Map(_0x44025a[_0x4619('0x102')](_0x3c4439=>[_0x3c4439,this[_0x4619('0xef')]['getSuggestionCallback'](_0x3c4439[_0x4619('0x4a')],_0x3c4439['subType'],_0x4619('0x11'))])),_0x284977=new Map(_0x33d597[_0x4619('0x102')](_0x1f05ac=>[_0x1f05ac,_0x1f05ac[_0x4619('0xa')]()]));for(let _0x5d8c3f=0x0;_0x5d8c3f<_0x44025a['length'];_0x5d8c3f++){if(_0x3c00c2(this,_0x44025a[_0x5d8c3f],_0x44025a,_0x5d8c3f+0x1))return!0x0;}for(let _0x325796=0x0;_0x325796<_0x44025a[_0x4619('0x119')];_0x325796++){if(_0x3c00c2(this,_0x44025a[_0x325796],_0x2a1473,0x0))return!0x0;}return!0x1;function _0x3c00c2(_0x2a4747,_0x3b18a7,_0x344b1c,_0x522cfa){for(let _0x59834c=_0x522cfa;_0x59834c<_0x344b1c[_0x4619('0x119')];_0x59834c++){const _0x50ed3c=_0x344b1c[_0x59834c];if(_0x50ed3c[_0x4619('0x4a')]!==_0x3b18a7[_0x4619('0x4a')]||_0x50ed3c['author']['id']!==_0x3b18a7[_0x4619('0x122')]['id']||_0x50ed3c['subType']!==_0x3b18a7[_0x4619('0x170')])continue;if(!Vt(_0x3b18a7,_0x50ed3c))continue;if('attribute'==_0x3b18a7['type']&&_0x3b18a7[_0x4619('0xdf')][_0x4619('0xc3')]!=_0x50ed3c[_0x4619('0xdf')]['oldValue'])continue;if(_0x4619('0x37')==_0x3b18a7[_0x4619('0x4a')]&&_0x2a4747[_0x4619('0xae')](_0x3b18a7[_0x4619('0xdf')][_0x4619('0x9')]))continue;if(_0x4619('0x137')==_0x3b18a7[_0x4619('0x4a')]){const _0x1d6f50=_0x2a4747[_0x4619('0x91')]['model'],_0x36bc64=_0x3b18a7[_0x4619('0xe3')]();if(_0x36bc64&&(_0x1d6f50[_0x4619('0x146')][_0x4619('0x3')](_0x36bc64)||_0x1d6f50[_0x4619('0x146')][_0x4619('0x16')](_0x36bc64)))continue;}const _0x44b83a=_0x376231[_0x4619('0x21')](_0x3b18a7),_0x304039=_0x284977[_0x4619('0x21')](_0x3b18a7),_0x4994d1=_0x284977[_0x4619('0x21')](_0x50ed3c),_0x19f7f8=_0x3b18a7[_0x4619('0x145')]&&_0x3b18a7['commentThread'][_0x4619('0x119')],_0x49768b=_0x50ed3c[_0x4619('0x145')]&&_0x50ed3c[_0x4619('0x145')][_0x4619('0x119')];if(!_0x19f7f8&&_0x44b83a(_0x4994d1,_0x304039))return _0x2a4747[_0x4619('0xa9')](_0x50ed3c,_0x3b18a7),_0x284977[_0x4619('0x67')](_0x3b18a7),!0x0;if(!_0x49768b&&_0x44b83a(_0x304039,_0x4994d1))return _0x2a4747[_0x4619('0xa9')](_0x3b18a7,_0x50ed3c),_0x284977['delete'](_0x50ed3c),!0x0;}return!0x1;}}['_joinSuggestions'](_0x2182ca,_0x51021a){if(_0x2182ca[_0x4619('0xe0')])for(const _0x1d99ac of _0x51021a[_0x4619('0xa')]())_0x2182ca[_0x4619('0xb2')](_0x1d99ac);else{const _0x374846=_0x51021a['getFirstRange']()['end'];this[_0x4619('0x3a')](_0x2182ca,this[_0x4619('0x54')][_0x4619('0x135')](_0x2182ca[_0x4619('0xf4')]()[_0x4619('0xfd')],_0x374846));}_0x51021a['removeMarkers']();}['_getMarkerAnnouncementText'](_0x5243ec,_0xe8303){const _0x2af39f=_0x5243ec[_0x4619('0x15d')](_0x4619('0x43'))||_0x5243ec['startsWith']('attribute')?_0x4619('0x136'):_0x5243ec[_0x4619('0xcf')]();return _0x2517b4(this[_0x4619('0x91')][_0x4619('0x85')],_0xe8303+'_'+_0x2af39f+_0x4619('0xe1'));}['_initAriaMarkerChangeAnnouncements'](){const _0x35220f=this[_0x4619('0x91')];_0x18ed74(this[_0x4619('0x54')],({left:_0x3e26f0,entered:_0x5c988d})=>{const _0x5d727a=[];for(const _0x470f0d of _0x3e26f0){const {group:_0x2ba9e0,type:_0x21b95b}=this[_0x4619('0xb')](_0x470f0d[_0x4619('0xb3')]);if('suggestion'===_0x2ba9e0){_0x5d727a[_0x4619('0x7e')](this['_getMarkerAnnouncementText'](_0x21b95b,_0x4619('0x96')));break;}}for(const _0x3e1025 of _0x5c988d){const {group:_0x6dda85,type:_0x5eee37}=this[_0x4619('0xb')](_0x3e1025[_0x4619('0xb3')]);if(_0x4619('0x83')===_0x6dda85){_0x5d727a[_0x4619('0x7e')](this[_0x4619('0x10b')](_0x5eee37,_0x4619('0x17')));break;}}_0x5d727a[_0x4619('0x119')]&&_0x35220f['ui']['ariaLiveAnnouncer'][_0x4619('0x104')](_0x4619('0xcd'),_0x5d727a[_0x4619('0x11')]('\x20'));});}[_0x4619('0x10')](_0x985007){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x8ddf05=this[_0x4619('0x91')],_0x399440=_0x8ddf05[_0x4619('0xb5')][_0x4619('0x10e')]['differ'][_0x4619('0x13')]();if(0x0==_0x399440[_0x4619('0x119')])return!0x1;const _0x35bff7=[],_0x599284=_0x399440[_0x4619('0x149')](_0x24117b=>'attribute'==_0x24117b[_0x4619('0x4a')]),_0x4ac36c=_0x399440['filter'](_0x173eeb=>_0x4619('0x42')==_0x173eeb[_0x4619('0x4a')]&&_0x4619('0x7a')!=_0x173eeb[_0x4619('0xb3')]),_0x1ce008=_0x399440[_0x4619('0x149')](_0x3e9171=>_0x4619('0xa0')==_0x3e9171[_0x4619('0x4a')]&&_0x4619('0x7a')!=_0x3e9171[_0x4619('0xb3')]);for(const _0x20869a of _0x599284)_0x35bff7[_0x4619('0x7e')]({'key':_0x20869a['attributeKey'],'newValue':_0x20869a[_0x4619('0xf1')],'oldValue':_0x20869a[_0x4619('0x66')],'range':_0x4d7cc9(_0x20869a[_0x4619('0x121')])});for(const _0x1a65f8 of _0x4ac36c){const _0x13544d=_0x1ce008['find'](_0x4b7734=>_0x4b7734[_0x4619('0x25')][_0x4619('0x10c')](_0x1a65f8[_0x4619('0x25')]));_0x13544d&&_0x35bff7[_0x4619('0x7e')]({'key':_0x4619('0x156'),'newValue':_0x1a65f8['name'],'oldValue':_0x13544d[_0x4619('0xb3')],'range':_0x8ddf05[_0x4619('0xb5')]['createRangeOn'](_0x1a65f8[_0x4619('0x25')]['nodeAfter'])});}return 0x0!=_0x35bff7['length']&&this[_0x4619('0x36')](_0x985007,_0x35bff7);function _0x4d7cc9(_0xdbe8c2){return null==_0xdbe8c2[_0x4619('0x59')][_0x4619('0x8')]&&_0xdbe8c2[_0x4619('0x59')]['parent']==_0xdbe8c2['start']['nodeAfter']?Ut(_0xdbe8c2[_0x4619('0xfd')]['nodeAfter'],_0x8ddf05['model']):_0xdbe8c2;}}['_processAttributeSuggestions'](_0x36d0f7){let _0xee72a2=!0x1;const _0x281baa=this['editor'][_0x4619('0xb5')]['document'][_0x4619('0x77')][_0x4619('0x13e')]()[_0x4619('0x149')](_0x188eea=>_0x188eea['data']['newRange']&&_0x188eea['name'][_0x4619('0x15d')](_0x4619('0x20')));for(const _0x3d427c of _0x281baa){const {subType:_0x393814,id:_0x5d532a}=this[_0x4619('0xb')](_0x3d427c['name']),_0x20fba8=_0x393814[_0x4619('0x7d')]('|')[0x0];for(const _0x48037e of this[_0x4619('0x139')]({'skipNotAttached':!0x0}))_0x48037e['id']!=_0x5d532a&&_0x4619('0x37')==_0x48037e[_0x4619('0x4a')]&&_0x48037e['data']&&_0x48037e[_0x4619('0xdf')][_0x4619('0x9')]==_0x20fba8&&_0x48037e[_0x4619('0xf4')]()[_0x4619('0xd6')](_0x3d427c[_0x4619('0xdf')][_0x4619('0x155')])&&(this[_0x4619('0x16a')](_0x48037e,_0x3d427c['data']['newRange'],_0x36d0f7),_0xee72a2=!0x0);}return _0xee72a2;}[_0x4619('0x87')](_0x160226){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x160226();const _0x490ab4=this[_0x4619('0x91')];this[_0x4619('0xf8')]=_0x490ab4[_0x4619('0xb5')][_0x4619('0x10e')][_0x4619('0x81')],_0x160226();const _0xbb75ae=new Map();for(const _0x56c431 of _0x490ab4[_0x4619('0xb5')][_0x4619('0x10e')]['history']['getOperations'](this[_0x4619('0xf8')]))if([_0x4619('0xd'),_0x4619('0x60'),_0x4619('0xaa'),_0x4619('0xcc')]['includes'](_0x56c431[_0x4619('0x4a')])){const _0x3685eb=_0x56c431[_0x4619('0x24')],_0x331acd=_0xbb75ae[_0x4619('0x21')](_0x3685eb)||[];_0x331acd[_0x4619('0x7e')](_0x56c431),_0xbb75ae[_0x4619('0x130')](_0x3685eb,_0x331acd);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x4fd7f9,_0x124062]of _0xbb75ae){const _0x25ff15=_0x2269fc();_0x490ab4[_0x4619('0xb5')][_0x4619('0x161')](_0x4fd7f9,_0x247b85=>{const _0x575042=[];for(const _0x30d661 of _0x124062){let _0x906331,_0x426644,_0x18d852,_0x288484;if(_0x4619('0xd')==_0x30d661[_0x4619('0x4a')]){const _0x27885a=_0x30d661;_0x906331=Ut(_0x27885a[_0x4619('0x25')][_0x4619('0x14b')],_0x490ab4['model']),_0x426644=_0x4619('0x156'),_0x18d852=_0x27885a[_0x4619('0x61')],_0x288484=_0x27885a[_0x4619('0x2e')];}else{const _0x3b2be8=_0x30d661,_0x3f41c5=this[_0x4619('0xae')](_0x3b2be8[_0x4619('0x9')]),_0x4d7b1f=this['_inlineAttributeKeys'][_0x4619('0x1b')](_0x3b2be8[_0x4619('0x9')]);if(!_0x3f41c5&&!_0x4d7b1f)continue;_0x906331=_0x3f41c5?Ut(_0x3b2be8[_0x4619('0x121')][_0x4619('0xfd')]['nodeAfter'],_0x490ab4[_0x4619('0xb5')]):_0x3b2be8[_0x4619('0x121')],_0x426644=_0x3b2be8[_0x4619('0x9')],_0x18d852=_0x4619('0xaa')==_0x30d661[_0x4619('0x4a')]?void 0x0:_0x3b2be8[_0x4619('0xc')],_0x288484=_0x3b2be8[_0x4619('0xc3')];}this['markAttributeChange'](_0x906331,_0x426644,_0x288484,_0x18d852,{'groupId':_0x25ff15}),_0x575042[_0x4619('0x7e')]({'range':_0x906331,'key':_0x426644,'newValue':_0x18d852,'oldValue':_0x288484});}this[_0x4619('0x36')](_0x247b85,_0x575042);});}}[_0x4619('0x36')](_0x13ae7a,_0x333c05){if(0x0==_0x333c05[_0x4619('0x119')])return!0x1;let _0x11c25a=!0x1;for(const _0x52f27f of _0x333c05){const _0x578e49=this[_0x4619('0x64')](_0x52f27f[_0x4619('0x121')],'attribute')['filter'](_0x51e388=>!_0x51e388['meta'][_0x4619('0xc9')])[_0x4619('0x102')](_0x4ac194=>_0x4ac194[_0x4619('0x83')]),_0x4b5770=_0x553bcb({'newValue':_0x52f27f['newValue']});_0x578e49[_0x4619('0x149')](_0x346845=>{const [_0x160362,_0x2e95e7]=_0x346845['subType'][_0x4619('0x7d')]('|');return _0x160362==_0x52f27f['key']&&_0x2e95e7!=_0x4b5770;})[_0x4619('0xd4')](_0x3d4180=>{this['_reduceSuggestionAttributeRange'](_0x3d4180,_0x52f27f[_0x4619('0x121')],_0x13ae7a),_0x11c25a=!0x0;});}return _0x11c25a;}['_reduceSuggestionAttributeRange'](_0x2de0d2,_0x334ec6,_0x18984f){const _0x812ce3=_0x2de0d2[_0x4619('0xf4')]()[_0x4619('0x172')](_0x334ec6);0x0!==_0x812ce3[_0x4619('0x119')]?0x1!==_0x812ce3[_0x4619('0x119')]?this[_0x4619('0xff')](_0x2de0d2,_0x334ec6[_0x4619('0xfd')],_0x334ec6['end']):this[_0x4619('0x3a')](_0x2de0d2,_0x812ce3[0x0]):_0x18984f['removeMarker'](_0x2de0d2[_0x4619('0xe6')]());}}class $t{constructor(_0x44ef5d){this[_0x4619('0x152')]=_0x44ef5d,this['_model']=_0x44ef5d[_0x4619('0xb5')],this[_0x4619('0xbc')]=new Map(),this[_0x4619('0xad')]=new Map(),this[_0x4619('0x23')]();}[_0x4619('0x15')](_0x5da02e,_0x3ae095,_0x3ad4e1,_0x18109d,_0x4c10ff,_0x4ddd68){return new _0x3f8809(this['_model'],{'type':_0x5da02e,'subType':_0x3ae095,'id':_0x3ad4e1,'author':_0x18109d,'creator':_0x18109d,'attributes':_0x4c10ff,'onAttributesChange':_0x4ddd68,'onAccept':(..._0x1fc176)=>this[_0x4619('0xb8')](_0x5da02e,_0x3ae095,'accept')(..._0x1fc176),'onDiscard':(..._0x11919a)=>this[_0x4619('0xb8')](_0x5da02e,_0x3ae095,_0x4619('0x72'))(..._0x11919a)});}[_0x4619('0x17b')](_0x2b7d8d,_0x32ed4a,_0xea1307,_0x11159f){const _0x1f8f6a=_0x2b7d8d+':'+_0x32ed4a+':'+_0xea1307;this[_0x4619('0xbc')][_0x4619('0x130')](_0x1f8f6a,_0x11159f);}['getSuggestionCallback'](_0x195ae9,_0x4f2f15,_0x395df5){const _0x563444=_0x195ae9+':'+_0x4f2f15+':'+_0x395df5;return this[_0x4619('0xbc')]['get'](_0x563444)||this[_0x4619('0xad')][_0x4619('0x21')](_0x195ae9+':'+_0x395df5);}[_0x4619('0x23')](){const _0x538a15=()=>!0x1,_0x343d48=_0x4e9a4e=>{_0x4e9a4e[_0x4619('0xda')]((_0x5d1405,_0x4f7c07)=>_0x5d1405['start'][_0x4619('0x108')](_0x4f7c07[_0x4619('0xfd')])?0x1:-0x1),this[_0x4619('0x54')][_0x4619('0x13a')](_0x3454d8=>{for(const _0x5c260a of _0x4e9a4e){let _0x1148ce;_0x1148ce=_0x5c260a[_0x4619('0x59')][_0x4619('0x11e')]&&_0x5c260a[_0x4619('0x59')][_0x4619('0x16b')]==_0x5c260a[_0x4619('0xfd')]['nodeAfter']?_0x3454d8[_0x4619('0x6b')](_0x5c260a[_0x4619('0xfd')]['nodeAfter'],'on'):_0x3454d8[_0x4619('0x6b')](_0x5c260a),this[_0x4619('0x54')][_0x4619('0x8e')](_0x1148ce,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x66500e=(_0xae7c1a,_0x4325b1)=>{_0x4325b1&&this[_0x4619('0x54')][_0x4619('0x13a')](_0x3b3f36=>{const {commandName:_0x1b9ca3,commandParams:_0x30c773=[]}=_0x4325b1,_0x2826fd=_0xae7c1a['map'](_0x5225eb=>(Tt(_0x5225eb)&&(_0x5225eb=this[_0x4619('0x54')]['createRange'](_0x5225eb[_0x4619('0x59')])),_0x5225eb))[_0x4619('0x149')](_0x599af3=>_0x4619('0x8c')!==_0x599af3[_0x4619('0xec')][_0x4619('0x99')]);if(_0x2826fd[_0x4619('0x119')]<0x1)return;const _0x416bae=Array['from'](this['_model'][_0x4619('0x10e')][_0x4619('0x110')][_0x4619('0xa')]())[_0x4619('0x102')](_0x7ca010=>_0x5794cd[_0x4619('0x14a')](_0x7ca010));_0x3b3f36[_0x4619('0xea')](_0x2826fd);for(const _0x2eb005 of this[_0x4619('0x152')]['commands'][_0x4619('0x147')]())_0x2eb005[_0x4619('0xd5')]();_0x30c773[_0x4619('0x7e')]({'forceDefaultExecution':!0x0}),this[_0x4619('0x152')][_0x4619('0x150')](_0x1b9ca3,..._0x30c773);const _0x395457=_0x416bae[_0x4619('0x149')](_0x38bc95=>_0x4619('0x8c')!=_0x38bc95[_0x4619('0xec')]['rootName']);_0x395457[_0x4619('0x119')]>0x0&&_0x3b3f36[_0x4619('0xea')](_0x395457);for(const _0x35d580 of _0x416bae)_0x35d580[_0x4619('0x12')]();});},_0x433b1d=(_0x23ca46,_0x435b93)=>0x1==_0x23ca46[_0x4619('0x119')]&&0x1==_0x435b93[_0x4619('0x119')]&&_0x23ca46[0x0]['end'][_0x4619('0x10c')](_0x435b93[0x0][_0x4619('0xfd')]),_0x1f396d=(_0x2ef144,_0x1d0027,_0x3063a9,_0x141f93)=>Ot(_0x2ef144,_0x1d0027,_0x3063a9,_0x141f93,this['_model'])?[_0x2ef144,_0x1d0027]:Ot(_0x1d0027,_0x2ef144,_0x141f93,_0x3063a9,this[_0x4619('0x54')])?[_0x1d0027,_0x2ef144]:null;this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0xc5'),_0x538a15),this[_0x4619('0xad')]['set'](_0x4619('0x7c'),_0x343d48),this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0x6'),_0x433b1d),this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0x151'),_0x1f396d),this[_0x4619('0xad')]['set'](_0x4619('0x113'),_0x343d48),this[_0x4619('0xad')]['set'](_0x4619('0x93'),_0x538a15),this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0x78'),_0x433b1d),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0x177'),_0x1f396d),this[_0x4619('0xad')]['set'](_0x4619('0x31'),_0x66500e),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0x120'),_0x538a15),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0x12f'),_0x433b1d),this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0xe9'),_0x538a15),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0x49'),_0x66500e),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0xd7'),_0x538a15),this[_0x4619('0xad')][_0x4619('0x130')]('formatBlock:join',_0x433b1d),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0x123'),_0x538a15),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0xac'),_0x538a15),this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0x17a'),(_0xc72400,_0x39c377)=>{if(!_0x39c377)return;const _0x3b47b3=this['_editor'][_0x4619('0xc4')][_0x4619('0x21')](p);this['_model'][_0x4619('0x13a')](_0x57737a=>{if('$elementName'==_0x39c377['key'])for(const _0x481109 of _0xc72400){const _0x2b0d23=_0x481109['start'][_0x4619('0x14b')],_0x18fe41=_0x39c377['oldValue'];_0x57737a[_0x4619('0xd')](_0x2b0d23,_0x18fe41);}else{if(_0x3b47b3[_0x4619('0xae')](_0x39c377['key']))for(const _0x2770ad of _0xc72400)void 0x0!==_0x39c377[_0x4619('0xc3')]?_0x57737a[_0x4619('0x17f')](_0x39c377[_0x4619('0x9')],_0x39c377[_0x4619('0xc3')],_0x2770ad[_0x4619('0xfd')][_0x4619('0x14b')]):_0x57737a[_0x4619('0xaa')](_0x39c377[_0x4619('0x9')],_0x2770ad[_0x4619('0xfd')]['nodeAfter']);else for(const _0xe731ca of _0xc72400)_0x39c377['oldValue']?_0x57737a[_0x4619('0x17f')](_0x39c377['key'],_0x39c377[_0x4619('0xc3')],_0xe731ca):_0x57737a['removeAttribute'](_0x39c377[_0x4619('0x9')],_0xe731ca);}});}),this[_0x4619('0xad')]['set'](_0x4619('0x48'),_0x433b1d);}}function Bt(_0x485f60,_0x5905e5,_0x13267d){for(const _0x6fc4d of _0x5905e5['parent'][_0x4619('0x7b')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x6fc4d[_0x4619('0xec')]==_0x6fc4d)return!0x1;if(!_0x13267d[_0x4619('0x14')](_0x6fc4d))return!0x1;if(_0x485f60[_0x4619('0x3')](_0x6fc4d)||_0x485f60[_0x4619('0x16')](_0x6fc4d))return!0x0;}return!0x1;}function Tt(_0x1914e1){return _0x1914e1[_0x4619('0x59')]['parent']==_0x1914e1[_0x4619('0xfd')][_0x4619('0x14b')]&&_0x1914e1[_0x4619('0x59')][_0x4619('0xb1')];}function xt(_0x229db6,_0x47c514,_0x40f680,_0x27604d){const _0x2bc5b3=_0x2ae9dd=>!_0x2ae9dd['item']['is'](_0x4619('0x112'))&&!_0x27604d[_0x4619('0x3')](_0x2ae9dd[_0x4619('0x105')]),_0x54c612=_0x229db6['start'][_0x4619('0x53')](_0x2bc5b3),_0x1df51e=_0x229db6[_0x4619('0x59')][_0x4619('0x53')](_0x2bc5b3,{'direction':'backward'});return(!_0x229db6['start'][_0x4619('0x10c')](_0x54c612)||!_0x229db6[_0x4619('0x59')][_0x4619('0x10c')](_0x1df51e))&&(_0x54c612[_0x4619('0x108')](_0x1df51e)?_0x40f680[_0x4619('0x4')](_0x47c514,{'range':_0x40f680[_0x4619('0x135')](_0x54c612,_0x1df51e)}):_0x40f680['removeMarker'](_0x47c514),!0x0);}function Et(_0x4d6ef9){return _0x553bcb(_0x4d6ef9);}function Rt(_0x12ef0c){const _0x184f92=_0x12ef0c['start']['nodeAfter'];return _0x184f92&&_0x184f92['is']('element');}function Ut(_0x3fc9f9,_0x2dc9bd){const _0x8d8e3f=_0x2dc9bd['schema'][_0x4619('0x3')](_0x3fc9f9)||_0x2dc9bd[_0x4619('0x146')][_0x4619('0x15f')](_0x3fc9f9);return _0x2dc9bd[_0x4619('0x135')](_0x2dc9bd[_0x4619('0x28')](_0x3fc9f9,_0x4619('0x80')),_0x8d8e3f?_0x2dc9bd[_0x4619('0x16c')](_0x3fc9f9):_0x2dc9bd[_0x4619('0x28')](_0x3fc9f9,_0x4619('0x59')));}function Ot(_0x40ec0a,_0x50cf63,_0x2f3630,_0xdf22db,_0x1162ce){if(!Vt(_0x40ec0a,_0x50cf63))return!0x1;if(_0x2f3630[_0x4619('0x59')]['isEqual'](_0xdf22db['start']))return!0x0;if(_0x40ec0a['type']!=_0x50cf63[_0x4619('0x4a')])return!0x1;if(!_0x2f3630[_0x4619('0x59')][_0x4619('0x8a')](_0xdf22db[_0x4619('0xfd')]))return!0x1;const _0x2ad6fd=_0x1162ce[_0x4619('0x135')](_0x2f3630[_0x4619('0x59')],_0xdf22db[_0x4619('0xfd')])[_0x4619('0x13f')]();for(const _0xf44118 of _0x2ad6fd)if(['elementStart',_0x4619('0x57')][_0x4619('0x154')](_0xf44118[_0x4619('0x4a')])&&_0x1162ce[_0x4619('0x146')]['isLimit'](_0xf44118[_0x4619('0x105')]))return!0x1;return!0x0;}function Vt(_0x2b4061,_0x34fbfd){return!(!_0x2b4061[_0x4619('0x15c')]||!_0x34fbfd['_isDataLoaded'])&&_0x49ed37(_0x2b4061[_0x4619('0x2f')],_0x34fbfd['attributes']);}function Gt(_0xeac5be,_0x322619){const _0x1f7b20=Ft(_0xeac5be['attributes']),_0x3a2b93=Ft(_0x322619);if(!_0xeac5be[_0x4619('0x15c')])return!0x1;for(const _0x348091 of Object['keys'](_0x3a2b93))if(!_0x49ed37(_0x1f7b20[_0x348091],_0x3a2b93[_0x348091]))return!0x1;return!0x0;}function Ft(_0x10bcee){const _0x65c0fe=Object[_0x4619('0xf7')]({},_0x10bcee);return delete _0x65c0fe[_0x4619('0x179')],delete _0x65c0fe[_0x4619('0xa1')],_0x65c0fe;}function Pt(_0x41b21f){return _0x4619('0x37')==_0x41b21f[_0x4619('0x4a')]?_0x41b21f['subType'][_0x4619('0x7d')]('|')[0x0]:null;}
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module track-changes/trackchangesui
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
9
- import { Users } from 'ckeditor5-collaboration/src/collaboration-core';
10
- import TrackChangesEditing from './trackchangesediting';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
+ import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
10
+ import TrackChangesEditing from './trackchangesediting.js';
11
11
  /**
12
12
  * Provides UI for track changes plugin.
13
13
  *