@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231216.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231217.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"CHANGELOG.md"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"ckeditor5": "0.0.0-nightly-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20231217.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231217.0",
|
|
45
45
|
"lodash-es": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1e34=['start','multi','formatInline:accept','suggestion','join','resolve','assign','acceptSelectedSuggestions','format','Users','newRange','_splitMarkerName','isRemovable','$elementName','collaboration.channelId','ready','removeMarker','catch','addSuggestion','_mergeNestedSuggestions','commentThread','trackChanges','getCommentThread','_suggestions','deletion:discard','trackChanges.mergeNestedSuggestions','accept','elementToElement','getDifference','insertion:chain','_breakSuggestionMarker','attribute:discard','removeClass','consumable','createPositionBefore','bindElementToMarker','attribute:accept','_onDiscard','ck-suggestion-marker-','return','isTouching','lowest','addHighlight','editing','model','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.','_cutOutSuggestionMarker','has','formatBlock:chain','track-changes-adapter-missing-getsuggestion','getSuggestionCallback','getChangedMarkers','deletion','adapter','data','history','isBefore','isSelectable','getChanges','addRange','open','markAttributeChange','attributes','isAtStart','highest','batch','commands','for','every','FORMATTING','oldValue','containsRange','formatBlock:','trackChangesCommand','_handleNewSuggestionMarker','addMarker:suggestion:attribute','markerNameToElements','formatBlock:join','removeAttribute','substr','isBlock','ck-suggestion-marker','listenTo','ck-suggestion-marker-formatInline','isArray','oldRange','dataDowncast','_initAriaMarkerChangeAnnouncements','_model','getSuggestion','conversion','config','discardSuggestion','removeMarkers','filter','split','originalSuggestionId','getFirstRange','default','from','discardAllSuggestions','suggestionLoaded','define','skipNestingCheck','some','createSelection','get','discardSelectedSuggestions','map','upcast','locale','length','editingDowncast','subType','getAllAdjacentSuggestions','fire','newValue','acceptAllSuggestions','concat','addMarker:suggestion:formatBlock','insertion','getRanges','track-changes-suggestion-data-mismatch','track-changes-user-not-found','name','$text','_getMarkerAnnouncementText','isOwn','move','execute','deletion:','size','createElement','buildSuggestion','splice','requires','containsPosition','forEach','oldName','unshift','_checkSuggestionCorrectness','detach','chain','deleteContent','isLocal','registerPostFixer','_refreshSuggestionsChain','containerElement','getShiftedBy','enqueueChange','formatInline:join','range','mapper','$textProxy','data-suggestion','formatBlock','getNearestSelectionRange','setAttribute','documentSelection','getMultiRangeId','_recordAttributeSuggestionsFromVersion','isObject','authoredAt','acceptSuggestion','set','isLimit','change','changeAttribute','normal','insert','differ','_SUGGESTION_ANNOUNCEMENT','markDeletion','markers','addSuggestionData','createPositionAt','_saved','_suggestionState','getMarkers','key','widget','$graveyard','PendingActions','isInsideObject','clear','nodeBefore','markInlineFormat','_trackFormatChanges','hasCommentThread','markBlockFormat','_commentsRepository','howMany','getAncestors','enableCommand','formatInline','_refreshAttributeSuggestionsChain','setTo','insertion:join','markMultiRangeDeletion','sort','isEqual','dataReady','item','_getSuggestionData','schema','commandName','_getAuthorFromId','hasComments','suggestionChanged','suggestion:attribute:','group','_isForcedDefaultExecutionBlock','updateMarker','init','marker-count','_removeSuggestion','stop','addMarker','getSuggestions','selection','parent','_getExternalAuthor','getLastMatchingPosition','getCustomProperty','_descriptionFactory','keys','@external','addClass','createRange','fetchCommentThread','creator','change:_saved','newName','always','refresh','applyOperation','_registerBlockAttribute','before','pop','isInContent','_processAttributeSuggestions','rename','attribute:','markerReady','isNextTo','document','comments','_addSuggestionMarker','_reduceSuggestionAttributeRange','accepted','remove','suggestion:','toViewElement','removeMarker:suggestion:attribute','isIntersecting','deletion:chain','insertContent','_suggestionFactory','insertion:accept','containsRangeInObject','rootName','isAtEnd','editor','update:suggestion','getUser','includes','markMultiRangeInsertion','rethrowUnexpectedError','PENDING_ACTION_SUGGESTION','getAttribute','trackChanges.trackFormatChanges','ck-suggestion-marker-formatBlock','getItems','ENTER','addUser','author','activeMarkers','getContainedElement','containsItem','_inlineAttributeKeys','isAfter','updateSuggestion','isMultiRange','suggestion-type','push','values','_isDataLoaded','after','addMarkerName','notReady','reconvertMarker','_setSuggestionData','type','_defaultCallbacks','next','_enableDefaultAttributesIntegration','forceDefaultExecution','_setSuggestionRange','element','track-changes-command-not-found','markerName','_joinSuggestions','_blockAttributeKeys','getWalker','discard','formatGroupId','showSuggestionHighlights','_customCallbacks','_addThreadToSuggestion','consume','attributeNewValue','previous','delete','add','_createSuggestion','splitPosition','isIntersectingWithRange','nodeAfter','ck-suggestion-marker--active','low','createdAt','formatInline:chain','registerCustomCallback','moveTargetPosition','_processAttributeChanges','clone','startsWith','_adapter','_findSuggestions','formatInline:','_editor','track-changes-enable-command-twice','end','markerToHighlight','_registerDefaultCallbacks','meta','getIntersection','never','position','authorName','change:data','createPositionAfter','_updateSuggestionData','isCollapsed','writer','pluginName','then','getOperations','markInsertion','groupId','deletion:accept','root','getFirstMarker','_enabledCommands','error-saving-suggestion-data-suggestion-discarded','dataToMarker','stopListening','value','_registerInlineAttribute','_reduceExistingSuggestions','removeMarker:suggestion:formatBlock','multipleBlocks','removed','fromRange','_isBlockAttribute','find','insertion:','setSelection','attribute','high','_rangeIsInLocalUserInsertion','fromCharCode','unbindElementFromMarkerName','plugins','options'];(function(_0x531393,_0x1e3405){const _0x45fd6e=function(_0x1de08c){while(--_0x1de08c){_0x531393['push'](_0x531393['shift']());}};_0x45fd6e(++_0x1e3405);}(_0x1e34,0x1c1));const _0x45fd=function(_0x531393,_0x1e3405){_0x531393=_0x531393-0x0;let _0x45fd6e=_0x1e34[_0x531393];return _0x45fd6e;};import{Plugin as _0x200ad3,PendingActions as _0xe54b6c}from'ckeditor5/src/core.js';import{LiveRange as _0x1586d7}from'ckeditor5/src/engine.js';import{CKEditorError as _0x4f5e3f,uid as _0x1d4647,priorities as _0x281aa9,logWarning as _0x4d5f77}from'ckeditor5/src/utils.js';import{toWidget as _0x354e8a}from'ckeditor5/src/widget.js';import{Users as _0x11fa66,hashObject as _0x59c5b9,surroundingMarkersDetector as _0x52f036}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xd845c1 from'./commands/trackchangescommand.js';import _0x296c51 from'./commands/acceptsuggestioncommand.js';import _0x530fdd from'./commands/discardsuggestioncommand.js';import _0x2c8829 from'./commands/executeonallsuggestionscommand.js';import _0x14056d from'./commands/executeonselectedsuggestionscommand.js';import _0x1de743 from'./suggestion.js';import _0x4f8496 from'./suggestiondescriptionfactory.js';import _0xd5729 from'./integrations/aiassistant.js';import _0x113233 from'./integrations/alignment.js';import _0x5dbab9 from'./integrations/basicstyles.js';import _0x2ca556 from'./integrations/blockquote.js';import _0x24b6fc from'./integrations/ckbox.js';import _0x5e4a6a from'./integrations/codeblock.js';import _0xc08e5b from'./integrations/comments.js';import _0x309dac from'./integrations/deletecommand.js';import _0x1fe1c0 from'./integrations/documentlist.js';import _0x476727 from'./integrations/documentlistproperties.js';import _0x5a1e4a from'./integrations/entercommand.js';import _0x334c26 from'./integrations/findandreplace.js';import _0x217a92 from'./integrations/font.js';import _0x2e7918 from'./integrations/formatpainter.js';import _0x194f16 from'./integrations/heading.js';import _0xd49241 from'./integrations/highlight.js';import _0x3746a9 from'./integrations/horizontalline.js';import _0x5d1202 from'./integrations/htmlembed.js';import _0x291f45 from'./integrations/image.js';import _0x5965bb from'./integrations/imagereplace.js';import _0x3583f7 from'./integrations/imagestyle.js';import _0x1c1ef4 from'./integrations/importword.js';import _0x47dae9 from'./integrations/indent.js';import _0x5e5751 from'./integrations/inputcommand.js';import _0x56fe50 from'./integrations/link.js';import _0x3252ab from'./integrations/list.js';import _0x2d4873 from'./integrations/listproperties.js';import _0x2c6fd9 from'./integrations/mediaembed.js';import _0x2543ab from'./integrations/mention.js';import _0x3162df from'./integrations/pagebreak.js';import _0x1c08cb from'./integrations/paragraph.js';import _0x53636d from'./integrations/removeformat.js';import _0x13f447 from'./integrations/restrictededitingmode.js';import _0x2ed787 from'./integrations/shiftentercommand.js';import _0x144b99 from'./integrations/standardeditingmode.js';import _0x558136 from'./integrations/style.js';import _0x158dae from'./integrations/table.js';import _0x1ed72a from'./integrations/tablemergesplit.js';import _0x2ec710 from'./integrations/tableheadings.js';import _0x96ba9f from'./integrations/tableclipboard.js';import _0x1794d7 from'./integrations/tablecolumnresize.js';import _0x1cd0a6 from'./integrations/template.js';import _0x19e852 from'./integrations/tableofcontents.js';import _0x473dca from'./integrations/title.js';import _0x1aedac from'./integrations/undo.js';import _0x5cb027 from'./integrations/tablecaption.js';import _0x3657cc from'./integrations/tableproperties.js';import{getTranslation as _0x14698f}from'./utils/common-translations.js';import{isEqual as _0x4a6831,omit as _0x1286d7}from'lodash-es';export const renameAttributeKey=_0x45fd('0x13a');export default class p extends _0x200ad3{static get[_0x45fd('0x3d')](){return['CommentsRepository',_0x11fa66,_0xe54b6c,_0xd5729,_0x113233,_0x5dbab9,_0x2ca556,_0x24b6fc,_0x5e4a6a,_0xc08e5b,_0x309dac,_0x1fe1c0,_0x476727,_0x5a1e4a,_0x334c26,_0x217a92,_0x2e7918,_0x194f16,_0xd49241,_0x3746a9,_0x5d1202,_0x291f45,_0x3583f7,_0x5965bb,_0x1c1ef4,_0x47dae9,_0x5e5751,_0x56fe50,_0x3252ab,_0x2d4873,_0x2c6fd9,_0x2543ab,_0x3162df,_0x1c08cb,_0x53636d,_0x13f447,_0x2ed787,_0x144b99,_0x558136,_0x158dae,_0x1ed72a,_0x2ec710,_0x5cb027,_0x96ba9f,_0x1794d7,_0x19e852,_0x3657cc,_0x1cd0a6,_0x473dca,_0x1aedac];}static get[_0x45fd('0x10f')](){return'TrackChangesEditing';}constructor(_0x2da73b){function _0x10c245(_0x2d2a83){return _0x2d2a83[_0x45fd('0x22')](_0x3733b5=>String[_0x45fd('0x129')](_0x3733b5))[_0x45fd('0x131')]('');}super(_0x2da73b),this[_0x45fd('0x56')]=null,this['set'](_0x45fd('0xca'),[]),this['on']('change:activeMarkers',(_0x501ad5,_0x5502cb,_0x14e85b,_0x2eb654)=>{this[_0x45fd('0xe')][_0x45fd('0x5c')](()=>{for(const _0x2d0638 of[..._0x2eb654,..._0x14e85b])this['_model'][_0x45fd('0x63')][_0x45fd('0x15c')](_0x2d0638)&&_0x2da73b[_0x45fd('0x158')][_0x45fd('0xd8')](_0x2d0638);});}),this[_0x45fd('0x96')]=new _0x4f8496(this['editor']['model'][_0x45fd('0x82')],this[_0x45fd('0xbc')][_0x45fd('0x24')]),this[_0x45fd('0xfd')]=null,this['_suggestionFactory']=new $t(this[_0x45fd('0xbc')]),this[_0x45fd('0x144')]=new Map(),this[_0x45fd('0x74')]=_0x2da73b[_0x45fd('0x12b')]['get']('CommentsRepository'),this[_0x45fd('0x117')]=new Set(),this[_0x45fd('0xe')]=this['editor']['model'],this[_0x45fd('0x67')]=new WeakMap(),this[_0x45fd('0x89')]=!0x1,this['_blockAttributeKeys']=new Set([_0x45fd('0x13a')]),this[_0x45fd('0xcd')]=new Set(),_0x2da73b[_0x45fd('0x11')]['define'](_0x45fd('0xc4'),_0x45fd('0x18')),this[_0x45fd('0x71')]=_0x2da73b[_0x45fd('0x11')][_0x45fd('0x20')](_0x45fd('0xc4')),_0x2da73b[_0x45fd('0x11')][_0x45fd('0x1c')](_0x45fd('0x146'),!0x0),this[_0x45fd('0x140')]=_0x2da73b[_0x45fd('0x11')][_0x45fd('0x20')](_0x45fd('0x146')),this[_0x45fd('0x176')]=new _0xd845c1(_0x2da73b,this['_enabledCommands']),this[_0x45fd('0xd')](),this[_0x10c245([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x10c245([0x34,0x30,0x34,0x36,0x32,0x34,0x33,0x32]);}[_0x45fd('0x8b')](){const _0x1acd97=this[_0x45fd('0xbc')],_0x448493=(_0x5049f8,_0x588203)=>{if(_0x45fd('0x126')!=_0x5049f8)return _0x45fd('0x153')+_0x5049f8;const _0x525f1e=_0x588203['split']('|')[0x0];return this[_0x45fd('0x122')](_0x525f1e)?_0x45fd('0xc5'):_0x45fd('0x9');};_0x1acd97[_0x45fd('0x10')][_0x45fd('0x170')](_0x45fd('0x26'))[_0x45fd('0x103')]({'model':_0x45fd('0x130'),'view':_0x61903b=>{const {id:_0x10d77b,type:_0x5e99e7,subType:_0x445ea3}=this[_0x45fd('0x138')](_0x61903b[_0x45fd('0xe2')]),_0x2f0d7c=[_0x45fd('0x7'),_0x448493(_0x5e99e7,_0x445ea3)];let _0x319341=0xbb8;return this[_0x45fd('0xca')][_0x45fd('0xbf')](_0x61903b['markerName'])&&(_0x2f0d7c[_0x45fd('0xd2')](_0x45fd('0xf4')),_0x319341=0xbc2),_0x45fd('0x161')==_0x5e99e7&&(_0x319341+=0x5),{'classes':_0x2f0d7c,'attributes':{'data-suggestion':_0x10d77b},'priority':_0x319341};}}),_0x1acd97[_0x45fd('0x10')]['for'](_0x45fd('0xc'))[_0x45fd('0xef')](_0x2a81ad=>{_0x2a81ad['on']('addMarker:suggestion',(_0x42b967,_0x3c382f,_0x512880)=>{if(!_0x512880[_0x45fd('0x12c')]['showSuggestionHighlights'])return;const _0x24ace1=_0x3c382f[_0x45fd('0x80')];if(!_0x24ace1)return;const _0xe98dca=_0x512880[_0x45fd('0x4e')][_0x45fd('0xb2')](_0x24ace1);_0x1acd97['model'][_0x45fd('0x82')][_0x45fd('0x57')](_0x24ace1)&&_0xe98dca&&!_0xe98dca[_0x45fd('0x95')](_0x45fd('0x6a'))&&_0xe98dca['is'](_0x45fd('0x49'))&&_0x354e8a(_0xe98dca,_0x512880[_0x45fd('0x10e')]);},{'priority':_0x45fd('0x127')});}),_0x1acd97[_0x45fd('0x10')][_0x45fd('0x170')](_0x45fd('0xc'))[_0x45fd('0x103')]({'model':_0x45fd('0x130'),'view':(_0x366819,_0x1bb5a6)=>{if(!_0x1bb5a6['options'][_0x45fd('0xe8')])return null;const {type:_0x30ca9c,subType:_0x3ee69f}=this['_splitMarkerName'](_0x366819[_0x45fd('0xe2')]);return{'classes':['ck-suggestion-marker',_0x448493(_0x30ca9c,_0x3ee69f)],'priority':0xbb8};}});const _0x53559e=({showActiveMarkers:_0x3840c1=!0x0,isAttributeSuggestion:_0x16cdd0=!0x1}={})=>(_0x2eceb8,_0x15a8b4,_0x9f9395)=>{if(!_0x15a8b4[_0x45fd('0x80')])return;const {id:_0x1243e8}=this[_0x45fd('0x138')](_0x15a8b4[_0x45fd('0xe2')]);if(_0x16cdd0){const _0x37e69f=Pt(this[_0x45fd('0x144')][_0x45fd('0x20')](_0x1243e8));if(!this[_0x45fd('0x122')](_0x37e69f))return;}if(_0x15a8b4[_0x45fd('0x80')]['is'](_0x45fd('0x91')))return void _0x9f9395[_0x45fd('0x14e')][_0x45fd('0xeb')](_0x15a8b4[_0x45fd('0x80')],_0x2eceb8['name']);const _0x389a04=_0x9f9395[_0x45fd('0x4e')]['toViewElement'](_0x15a8b4[_0x45fd('0x80')]);if(_0x15a8b4[_0x45fd('0x80')]['is'](_0x45fd('0xe0'))&&_0x1acd97[_0x45fd('0x159')]['schema'][_0x45fd('0x6')](_0x15a8b4[_0x45fd('0x80')])&&!_0x389a04['getCustomProperty'](_0x45fd('0x157'))){_0x9f9395[_0x45fd('0x10e')][_0x45fd('0x99')]([_0x45fd('0x7'),_0x45fd('0xc5')],_0x389a04),_0x9f9395['writer'][_0x45fd('0x53')](_0x45fd('0x50'),_0x1243e8,_0x389a04),_0x9f9395[_0x45fd('0x4e')][_0x45fd('0x150')](_0x389a04,_0x15a8b4[_0x45fd('0xe2')]),_0x3840c1&&(this['activeMarkers'][_0x45fd('0xbf')](_0x15a8b4[_0x45fd('0xe2')])?_0x9f9395[_0x45fd('0x10e')][_0x45fd('0x99')](_0x45fd('0xf4'),_0x389a04):_0x9f9395['writer'][_0x45fd('0x14d')]('ck-suggestion-marker--active',_0x389a04));for(const _0x47c9cb of _0x1acd97[_0x45fd('0x159')]['createRangeIn'](_0x15a8b4[_0x45fd('0x80')])[_0x45fd('0xc6')]())_0x9f9395[_0x45fd('0x14e')]['consume'](_0x47c9cb,_0x2eceb8[_0x45fd('0x32')]);_0x9f9395[_0x45fd('0x14e')][_0x45fd('0xeb')](_0x15a8b4[_0x45fd('0x80')],_0x2eceb8[_0x45fd('0x32')]);}};_0x1acd97[_0x45fd('0x10')][_0x45fd('0x170')]('dataDowncast')[_0x45fd('0xef')](_0x22b4cb=>{_0x22b4cb['on'](_0x45fd('0x2d'),(_0x2b0312,_0x4b0672,_0x49d12f)=>{_0x49d12f[_0x45fd('0x12c')][_0x45fd('0xe8')]&&_0x53559e({'showActiveMarkers':!0x1})(_0x2b0312,_0x4b0672,_0x49d12f);},{'priority':_0x45fd('0x16d')});}),_0x1acd97[_0x45fd('0x10')][_0x45fd('0x170')](_0x45fd('0xc'))[_0x45fd('0xef')](_0x1c0dc8=>{_0x1c0dc8['on']('addMarker:suggestion:attribute',(_0x39377d,_0x361b20,_0x305f63)=>{_0x305f63[_0x45fd('0x12c')][_0x45fd('0xe8')]&&_0x53559e({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x39377d,_0x361b20,_0x305f63);},{'priority':_0x45fd('0x16d')});}),_0x1acd97['conversion'][_0x45fd('0x170')](_0x45fd('0xc'))['markerToData']({'model':_0x45fd('0x130'),'view':(_0xa1519c,_0x141561)=>_0x141561[_0x45fd('0x12c')][_0x45fd('0xe8')]?null:{'group':'suggestion','name':_0xa1519c[_0x45fd('0x5')](0xb)}}),_0x1acd97[_0x45fd('0x10')][_0x45fd('0x170')](_0x45fd('0x23'))[_0x45fd('0x148')]({'view':{'name':_0x45fd('0x130'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x2a748f,{writer:_0x19f2c7})=>{let _0x3c0d50='suggestion:'+_0x2a748f[_0x45fd('0xc3')](_0x45fd('0xd1'))+':'+_0x2a748f[_0x45fd('0xc3')]('id');return _0x2a748f[_0x45fd('0xc3')](_0x45fd('0x8c'))&&(_0x3c0d50+=':'+_0x2a748f[_0x45fd('0xc3')](_0x45fd('0x8c'))),_0x19f2c7[_0x45fd('0x3a')]('$marker',{'data-name':_0x3c0d50});}}),_0x1acd97[_0x45fd('0x10')]['for'](_0x45fd('0x23'))[_0x45fd('0x119')]({'view':_0x45fd('0x130')}),_0x1acd97[_0x45fd('0x10')][_0x45fd('0x170')]('editingDowncast')[_0x45fd('0xef')](_0x4f29b4=>{_0x4f29b4['on'](_0x45fd('0x2d'),_0x53559e(),{'priority':'high'});}),_0x1acd97[_0x45fd('0x10')][_0x45fd('0x170')]('editingDowncast')[_0x45fd('0xef')](_0x1f527c=>{_0x1f527c['on'](_0x45fd('0x1'),_0x53559e({'isAttributeSuggestion':!0x0}),{'priority':_0x45fd('0x127')});}),_0x1acd97[_0x45fd('0x10')][_0x45fd('0x170')](_0x45fd('0x26'))[_0x45fd('0xef')](_0x4adacb=>{_0x4adacb['on'](_0x45fd('0x11e'),(_0x3f9bbe,_0x2650d2,_0x12fbff)=>{const _0x503f4a=_0x12fbff[_0x45fd('0x4e')][_0x45fd('0x2')](_0x2650d2[_0x45fd('0xe2')]);if(_0x503f4a)for(const _0x5c7953 of _0x503f4a)_0x5c7953[_0x45fd('0x95')]('addHighlight')||(_0x12fbff[_0x45fd('0x10e')][_0x45fd('0x14d')]([_0x45fd('0x7'),_0x45fd('0xc5'),'ck-suggestion-marker--active'],_0x5c7953),_0x12fbff[_0x45fd('0x10e')][_0x45fd('0x4')](_0x45fd('0x50'),_0x5c7953),_0x12fbff[_0x45fd('0x4e')][_0x45fd('0x12a')](_0x5c7953,_0x2650d2[_0x45fd('0xe2')]));},{'priority':_0x45fd('0x127')});}),_0x1acd97[_0x45fd('0x10')][_0x45fd('0x170')]('editingDowncast')[_0x45fd('0xef')](_0x316533=>{_0x316533['on'](_0x45fd('0xb3'),(_0x5cc889,_0x421626,_0x2776ff)=>{const _0x1714b8=_0x2776ff['mapper'][_0x45fd('0x2')](_0x421626[_0x45fd('0xe2')]);if(!_0x1714b8)return;const {id:_0x12cd6b}=this[_0x45fd('0x138')](_0x421626['markerName']),_0xdec90e=Pt(this[_0x45fd('0x144')][_0x45fd('0x20')](_0x12cd6b));if(this[_0x45fd('0x122')](_0xdec90e))for(const _0x3b4654 of _0x1714b8)_0x3b4654[_0x45fd('0x95')]('addHighlight')||(_0x2776ff[_0x45fd('0x10e')][_0x45fd('0x14d')]([_0x45fd('0x7'),'ck-suggestion-marker-formatBlock',_0x45fd('0xf4')],_0x3b4654),_0x2776ff[_0x45fd('0x10e')][_0x45fd('0x4')]('data-suggestion',_0x3b4654),_0x2776ff[_0x45fd('0x4e')]['unbindElementFromMarkerName'](_0x3b4654,_0x421626['markerName']));},{'priority':_0x45fd('0x127')});}),_0x1acd97['model'][_0x45fd('0xab')][_0x45fd('0x47')](_0x29026b=>{let _0x43ba1f=!0x1;const _0x1444ca=Array[_0x45fd('0x19')](_0x1acd97[_0x45fd('0x159')][_0x45fd('0xab')][_0x45fd('0x60')][_0x45fd('0x160')]()),_0xa982e0=new Set();for(const {name:_0x4cef2e,data:_0x4e639a}of _0x1444ca){const {group:_0x59dca1,type:_0xc5947c,subType:_0x7e288c,id:_0x3f78e4}=this['_splitMarkerName'](_0x4cef2e);if(_0x45fd('0x130')!==_0x59dca1)continue;const _0x2f1080=this[_0x45fd('0x144')][_0x45fd('0x20')](_0x3f78e4);if(null!=_0x4e639a[_0x45fd('0x137')]){_0x45fd('0x78')==_0xc5947c&&(_0x43ba1f=_0x43ba1f||xt(_0x4e639a[_0x45fd('0x137')],_0x4cef2e,_0x29026b,_0x1acd97[_0x45fd('0x159')][_0x45fd('0x82')]));const _0x5a733c='attribute'==_0xc5947c&&this[_0x45fd('0x122')](_0x7e288c[_0x45fd('0x15')]('|')[0x0]);if(_0x4e639a[_0x45fd('0x137')]['isCollapsed']||'$graveyard'==_0x4e639a[_0x45fd('0x137')][_0x45fd('0x115')]['rootName']||'formatBlock'==_0xc5947c&&!Rt(_0x4e639a[_0x45fd('0x137')])||_0x5a733c&&!Rt(_0x4e639a[_0x45fd('0x137')])||_0x45fd('0x161')==_0xc5947c&&!(!Tt(_0x23abca=_0x4e639a[_0x45fd('0x137')])&&!function(_0x18de2d){return _0x18de2d[_0x45fd('0x12d')][_0x45fd('0x92')]==_0x18de2d[_0x45fd('0x102')][_0x45fd('0x6f')]&&_0x18de2d[_0x45fd('0x12d')][_0x45fd('0xbb')];}(_0x23abca)))_0x29026b['removeMarker'](_0x4cef2e),_0x43ba1f=!0x0;else{if(!_0x2f1080||!_0x2f1080[_0x45fd('0xa5')])continue;_0xa982e0['add'](_0x2f1080);}}}var _0x23abca;return _0xa982e0[_0x45fd('0x39')]>0x0&&(_0x43ba1f=!!this['_joinWithAdjacentSuggestions'](_0xa982e0)||_0x43ba1f),_0x43ba1f;}),_0x1acd97[_0x45fd('0x159')][_0x45fd('0xab')]['registerPostFixer'](_0x147336=>{let _0x28359e=!0x1;for(const _0x4f6b9b of _0x1acd97[_0x45fd('0x159')]['document'][_0x45fd('0x60')][_0x45fd('0x167')]())if(_0x45fd('0x5f')==_0x4f6b9b[_0x45fd('0xda')])for(const _0x117de4 of this[_0x45fd('0x144')]['values']()){if(_0x117de4[_0x45fd('0xd0')]||!_0x117de4['isInContent'])continue;const _0x2b8fba=_0x45fd('0x51')==_0x117de4[_0x45fd('0xda')],_0x2a99c5=Pt(_0x117de4),_0x52da1f=_0x2a99c5&&this[_0x45fd('0x122')](_0x2a99c5);if(!_0x2b8fba&&!_0x52da1f)continue;const _0x58745f=_0x117de4['getFirstRange']();if(_0x58745f[_0x45fd('0x12d')]['parent']!=_0x58745f[_0x45fd('0x102')][_0x45fd('0x92')]&&!_0x58745f[_0x45fd('0x102')]['isAtEnd']){const _0x5eb178=_0x1acd97[_0x45fd('0x159')][_0x45fd('0x65')](_0x58745f[_0x45fd('0x12d')][_0x45fd('0xf3')],'end'),_0x2285fa=_0x1acd97[_0x45fd('0x159')][_0x45fd('0x9a')](_0x58745f['start'],_0x5eb178);_0x147336[_0x45fd('0x8a')](_0x117de4[_0x45fd('0x116')](),{'range':_0x2285fa}),_0x28359e=!0x0;}}return _0x28359e;}),_0x1acd97['model'][_0x45fd('0xab')][_0x45fd('0x47')](_0x151384=>this[_0x45fd('0xfa')](_0x151384)),_0x1acd97['model'][_0x45fd('0xab')]['registerPostFixer'](_0x4f28b2=>!_0x4f28b2[_0x45fd('0x16e')][_0x45fd('0x46')]&&this[_0x45fd('0xa6')](_0x4f28b2)),_0x1acd97[_0x45fd('0x159')]['markers']['on'](_0x45fd('0xbd'),(_0x3011a4,_0x489afe,_0x568478)=>{if(null==_0x568478){const {id:_0x30167b}=this[_0x45fd('0x138')](_0x489afe[_0x45fd('0x32')]),_0x4b3464=this[_0x45fd('0x144')][_0x45fd('0x20')](_0x30167b);_0x4b3464&&_0x4b3464[_0x45fd('0xd6')](_0x489afe[_0x45fd('0x32')]);}}),_0x1acd97[_0x45fd('0x159')][_0x45fd('0xab')]['on'](_0x45fd('0x10a'),()=>{const _0xc0d5c1=Array[_0x45fd('0x19')](_0x1acd97['model'][_0x45fd('0xab')]['differ'][_0x45fd('0x160')]())[_0x45fd('0x14')](_0x1dd711=>_0x45fd('0x130')===this[_0x45fd('0x138')](_0x1dd711['name'])[_0x45fd('0x88')]);if(0x0===_0xc0d5c1[_0x45fd('0x25')])return;_0xc0d5c1[_0x45fd('0x7d')]((_0x15848c,_0x303e93)=>{const _0x5bf4f7=_0x15848c[_0x45fd('0x163')]['oldRange'],_0x4e5a04=_0x303e93[_0x45fd('0x163')][_0x45fd('0xb')];return null===_0x5bf4f7&&null===_0x4e5a04?0x0:null===_0x5bf4f7&&null!==_0x4e5a04?-0x1:null!==_0x5bf4f7&&null===_0x4e5a04?0x1:_0x5bf4f7[_0x45fd('0x12d')]['isBefore'](_0x4e5a04[_0x45fd('0x12d')])?-0x1:0x1;});const _0x2cdc16=new Set(),_0x44d8a2=new Set();for(const {name:_0x2faf96,data:_0x5d4a13}of _0xc0d5c1){const {id:_0x2c2c20}=this['_splitMarkerName'](_0x2faf96);if(null===_0x5d4a13[_0x45fd('0xb')]){const _0x171784=this[_0x45fd('0x0')](_0x2faf96);_0x44d8a2[_0x45fd('0xef')](_0x171784);}else{const _0x3c0814=this[_0x45fd('0x144')][_0x45fd('0x20')](_0x2c2c20);null!==_0x5d4a13[_0x45fd('0x137')]||_0x3c0814['isInContent']?(_0x2cdc16[_0x45fd('0xef')](_0x3c0814['head']),_0x44d8a2['add'](_0x3c0814)):this['_removeSuggestion'](_0x3c0814);}}_0x44d8a2['size']>0x0&&this[_0x45fd('0x48')](_0x44d8a2);for(const _0x49eeb3 of _0x2cdc16)this[_0x45fd('0x29')]('suggestionChanged',_0x49eeb3);}),_0x1acd97['model']['on'](_0x45fd('0xa1'),(_0x31caf5,_0x336f4e)=>{const _0x2f40fa=_0x336f4e[0x0];if(!this[_0x45fd('0x144')][_0x45fd('0x39')])return;if(!_0x2f40fa['isDocumentOperation'])return;if(_0x2f40fa['batch']['isUndo']||!_0x2f40fa['batch']['isLocal'])return;let _0x6cc67e,_0x2d60ca;switch(_0x2f40fa[_0x45fd('0xda')]){case _0x45fd('0x5f'):_0x6cc67e=_0x1acd97['model'][_0x45fd('0x65')](_0x2f40fa['position']),_0x2d60ca=_0x6cc67e['getShiftedBy'](_0x2f40fa[_0x45fd('0x75')]);break;case _0x45fd('0x15'):_0x6cc67e=_0x1acd97[_0x45fd('0x159')][_0x45fd('0x65')](_0x2f40fa[_0x45fd('0xf1')]),_0x2d60ca=_0x1acd97['model']['createPositionAt'](_0x2f40fa[_0x45fd('0xf9')]);break;case _0x45fd('0x36'):_0x6cc67e=_0x1acd97[_0x45fd('0x159')][_0x45fd('0x65')](_0x2f40fa['targetPosition']),_0x2d60ca=_0x6cc67e[_0x45fd('0x4a')](_0x2f40fa['howMany']);break;default:return;}const _0x2eeb6f=_0x1acd97[_0x45fd('0x159')][_0x45fd('0x9a')](_0x6cc67e,_0x2d60ca);_0x1acd97['model'][_0x45fd('0x5c')](()=>{for(const {suggestion:_0x27b5bb,meta:_0x4c08ec}of this[_0x45fd('0xfe')](_0x2eeb6f)){if(_0x27b5bb[_0x45fd('0xd0')])continue;if('formatInline'==_0x27b5bb[_0x45fd('0xda')])continue;const _0x19ebf5=Pt(_0x27b5bb);if(_0x19ebf5&&this[_0x45fd('0x122')](_0x19ebf5)&&'split'!=_0x2f40fa[_0x45fd('0xda')])continue;const _0x32c0b0=_0x27b5bb[_0x45fd('0x163')]&&_0x27b5bb['data'][_0x45fd('0x11f')];('formatBlock'!=_0x27b5bb['type']||_0x45fd('0x15')==_0x2f40fa['type']&&!_0x32c0b0)&&(_0x4c08ec[_0x45fd('0xb9')]||_0x45fd('0x2e')==_0x27b5bb[_0x45fd('0xda')]&&_0x4c08ec[_0x45fd('0x35')]||_0x27b5bb[_0x45fd('0x17')]()[_0x45fd('0x174')](_0x2eeb6f)&&this[_0x45fd('0x14b')](_0x27b5bb,_0x6cc67e,_0x2d60ca));}});},{'priority':_0x45fd('0x156')}),_0x1acd97['model']['on'](_0x45fd('0x45'),(_0x5a2cc8,_0x2eadea)=>{const _0x3a6a95=_0x2eadea[0x0],_0x41d202=_0x2eadea[0x1];if(_0x41d202&&_0x41d202['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand'][_0x45fd('0x11b')])return;if(_0x3a6a95[_0x45fd('0x10d')])return;const _0x48c485=_0x1acd97['model'][_0x45fd('0x82')],{start:_0x218eee,end:_0x3dc9b1}=_0x3a6a95[_0x45fd('0x17')](),_0x4f3e20=_0x218eee[_0x45fd('0xf3')]&&_0x48c485[_0x45fd('0x5b')](_0x218eee[_0x45fd('0xf3')])?null:_0x48c485[_0x45fd('0x52')](_0x218eee,'forward'),_0x9958d4=_0x3dc9b1[_0x45fd('0x6f')]&&_0x48c485['isLimit'](_0x3dc9b1[_0x45fd('0x6f')])?null:_0x48c485['getNearestSelectionRange'](_0x3dc9b1,'backward'),_0x485447=_0x1acd97[_0x45fd('0x159')]['createRange'](_0x4f3e20?_0x4f3e20[_0x45fd('0x12d')]:_0x218eee,_0x9958d4?_0x9958d4['end']:_0x3dc9b1);_0x1acd97['model'][_0x45fd('0x5c')](_0x38c935=>{this[_0x45fd('0x62')](_0x485447);const _0x48e74a=_0x1acd97[_0x45fd('0x159')][_0x45fd('0x82')]['getNearestSelectionRange'](_0x485447[_0x45fd('0x12d')]);_0x3a6a95['is'](_0x45fd('0x54'))?_0x38c935[_0x45fd('0x125')](_0x48e74a):_0x3a6a95[_0x45fd('0x7a')](_0x48e74a);}),_0x5a2cc8[_0x45fd('0x8e')]();},{'priority':_0x281aa9[_0x45fd('0x5e')]+0xa}),_0x1acd97[_0x45fd('0x159')]['on'](_0x45fd('0xb6'),(_0x5f4a7d,_0x423585)=>{const _0x52e6f3=_0x423585[_0x423585[_0x45fd('0x25')]-0x1];_0x52e6f3&&_0x52e6f3[_0x45fd('0xde')]||this[_0x45fd('0x89')]||this[_0x45fd('0x176')][_0x45fd('0x11b')]&&(_0x1acd97[_0x45fd('0x159')]['change'](()=>{let _0x10b57a=_0x1acd97['model']['insertContent'](_0x423585[0x0],_0x423585[0x1],_0x423585[0x2],{'forceDefaultExecution':!0x0});if(!_0x10b57a)return;_0x5f4a7d[_0x45fd('0x154')]=_0x10b57a[_0x45fd('0xfb')]();const _0x36ca89=_0x10b57a[_0x45fd('0x102')][_0x45fd('0x6f')],_0x3f582c=_0x1acd97[_0x45fd('0x159')]['schema'];_0x36ca89&&_0x3f582c[_0x45fd('0x6')](_0x36ca89)&&!_0x3f582c[_0x45fd('0x57')](_0x36ca89)&&(_0x10b57a=_0x1acd97[_0x45fd('0x159')][_0x45fd('0x9a')](_0x10b57a[_0x45fd('0x12d')],_0x1acd97[_0x45fd('0x159')][_0x45fd('0x65')](_0x36ca89,_0x45fd('0x102')))),this[_0x45fd('0x112')](_0x10b57a);}),_0x5f4a7d['stop']());},{'priority':'high'}),this[_0x45fd('0xbc')][_0x45fd('0x16f')][_0x45fd('0xef')](_0x45fd('0x142'),this['trackChangesCommand']),this[_0x45fd('0x77')](_0x45fd('0x142'));const _0x578d56=new _0x296c51(_0x1acd97,this['_suggestions']);_0x1acd97['commands']['add']('acceptSuggestion',_0x578d56),this[_0x45fd('0x77')](_0x45fd('0x59'));const _0x325bea=new _0x530fdd(_0x1acd97,this[_0x45fd('0x144')]);_0x1acd97[_0x45fd('0x16f')][_0x45fd('0xef')](_0x45fd('0x12'),_0x325bea),this[_0x45fd('0x77')]('discardSuggestion'),_0x1acd97[_0x45fd('0x16f')]['add'](_0x45fd('0x2b'),new _0x2c8829(_0x1acd97,_0x578d56,this['_suggestions'])),this[_0x45fd('0x77')](_0x45fd('0x2b')),_0x1acd97['commands'][_0x45fd('0xef')](_0x45fd('0x1a'),new _0x2c8829(_0x1acd97,_0x325bea,this[_0x45fd('0x144')])),this[_0x45fd('0x77')](_0x45fd('0x1a')),_0x1acd97[_0x45fd('0x16f')][_0x45fd('0xef')](_0x45fd('0x134'),new _0x14056d(_0x1acd97,_0x578d56,this['_suggestions'])),this[_0x45fd('0x77')](_0x45fd('0x134')),_0x1acd97[_0x45fd('0x16f')][_0x45fd('0xef')](_0x45fd('0x21'),new _0x14056d(_0x1acd97,_0x325bea,this['_suggestions'])),this[_0x45fd('0x77')](_0x45fd('0x21'));const _0x5aec3d=_0x1acd97[_0x45fd('0x12b')]['get']('CommentsRepository');this[_0x45fd('0x8')](_0x5aec3d,'addComment',(_0x55d1b1,{threadId:_0x437691})=>{const _0x9f079f=this[_0x45fd('0x144')][_0x45fd('0x20')](_0x437691);_0x9f079f&&_0x9f079f[_0x45fd('0x141')]&&0x1===_0x9f079f['commentThread'][_0x45fd('0x25')]&&this[_0x45fd('0x10c')](_0x437691,{'hasComments':!0x0});},{'priority':'low'}),this[_0x45fd('0x8')](_0x5aec3d,'removeComment',(_0x1f4985,{threadId:_0x3aec8d})=>{const _0x50309d=this[_0x45fd('0x144')][_0x45fd('0x20')](_0x3aec8d);_0x50309d&&_0x50309d[_0x45fd('0x141')]&&!_0x50309d['commentThread'][_0x45fd('0x25')]&&this[_0x45fd('0x10c')](_0x3aec8d,{'hasComments':!0x1});},{'priority':_0x45fd('0xf5')});}set[_0x45fd('0x162')](_0x1a5323){if(this[_0x45fd('0xfd')])throw new _0x4f5e3f('track-changes-adapter-already-set',this);this['_adapter']=_0x1a5323;}get[_0x45fd('0x162')](){return this['_adapter'];}[_0x45fd('0x90')]({skipNotAttached:_0x258f6e=!0x1,toJSON:_0x485781=!0x1}={}){const _0xe6c4b7=[];for(const _0x301e7b of this[_0x45fd('0x144')][_0x45fd('0xd3')]())_0x258f6e&&!_0x301e7b[_0x45fd('0xa5')]||_0xe6c4b7['push'](_0x301e7b);return _0x485781?_0xe6c4b7['map'](_0x5c7e98=>_0x5c7e98['toJSON']()):_0xe6c4b7;}[_0x45fd('0xf')](_0x35bd83){const _0x2f40a4=this[_0x45fd('0x144')][_0x45fd('0x20')](_0x35bd83);if(!_0x2f40a4)throw new _0x4f5e3f('track-changes-suggestion-not-found',this);return _0x2f40a4;}['hasSuggestion'](_0x3aeda5){return this[_0x45fd('0x144')][_0x45fd('0x15c')](_0x3aeda5);}['addSuggestionData'](_0x21b058){const {authorId:_0x54d9c6,id:_0xd146ac,attributes:_0x44212b}=_0x21b058,[_0x3792fc,_0x55716f]=_0x21b058[_0x45fd('0xda')][_0x45fd('0x15')](':'),_0x30a4c2=this[_0x45fd('0x144')][_0x45fd('0x20')](_0xd146ac)||this[_0x45fd('0xf0')](_0x3792fc,_0x55716f,_0xd146ac,_0x54d9c6,_0x44212b);if(this[_0x45fd('0xea')](_0x30a4c2),this[_0x45fd('0x42')](_0x30a4c2,_0x3792fc,_0x55716f||null,_0x54d9c6),_0x30a4c2['createdAt']=_0x21b058[_0x45fd('0xf6')],_0x30a4c2[_0x45fd('0xd4')]=!0x0,_0x44212b&&_0x44212b[_0x45fd('0x98')]){const _0x54761c=_0x44212b[_0x45fd('0x98')],_0x4156b0=this['_getExternalAuthor'](_0x54761c[_0x45fd('0x109')]);_0x30a4c2[_0x45fd('0x58')]=_0x54761c[_0x45fd('0xf6')],_0x30a4c2[_0x45fd('0xc9')]=_0x4156b0,_0x30a4c2['isExternal']=!0x0;}else _0x30a4c2[_0x45fd('0x58')]=_0x21b058[_0x45fd('0xf6')];switch(_0x21b058['data']&&(_0x30a4c2[_0x45fd('0x163')]=_0x21b058[_0x45fd('0x163')]),_0x21b058[_0x45fd('0x16b')]&&(_0x30a4c2['attributes']=_0x21b058[_0x45fd('0x16b')]),this['_adapter']&&this[_0x45fd('0xfd')][_0x45fd('0x13f')]||(_0x30a4c2[_0x45fd('0x66')]=!0x0),this['_suggestionState']['get'](_0x30a4c2)){case _0x45fd('0xd7'):this['_suggestionState'][_0x45fd('0x5a')](_0x30a4c2,'dataReady');break;case'markerReady':_0x30a4c2['isInContent']?(this[_0x45fd('0x48')](new Set([_0x30a4c2])),this['_joinWithAdjacentSuggestions'](new Set([_0x30a4c2])),this['_suggestionState'][_0x45fd('0x5a')](_0x30a4c2,'ready'),this[_0x45fd('0x29')](_0x45fd('0x1b'),_0x30a4c2)):this[_0x45fd('0x67')]['set'](_0x30a4c2,_0x45fd('0x120'));}return _0x30a4c2;}['acceptSuggestion'](_0x64c7c2){this[_0x45fd('0xde')](()=>{this[_0x45fd('0xbc')][_0x45fd('0x159')][_0x45fd('0x5c')](()=>{for(const _0x56796c of _0x64c7c2[_0x45fd('0x28')]())_0x56796c[_0x45fd('0x147')]();});});}[_0x45fd('0x12')](_0x1ad422){this[_0x45fd('0xde')](()=>{this[_0x45fd('0xbc')][_0x45fd('0x159')][_0x45fd('0x5c')](()=>{for(const _0x3faa31 of _0x1ad422[_0x45fd('0x28')]())_0x3faa31['discard']();});});}['enableCommand'](_0x547c77,_0x2fc916){const _0xcdf9cd=this[_0x45fd('0xbc')]['commands'][_0x45fd('0x20')](_0x547c77);if(!_0xcdf9cd)throw new _0x4f5e3f(_0x45fd('0xe1'),this,{'commandName':_0x547c77});if(this[_0x45fd('0x117')][_0x45fd('0x15c')](_0xcdf9cd))throw new _0x4f5e3f(_0x45fd('0x101'),this,{'commandName':_0x547c77});this['_enabledCommands'][_0x45fd('0xef')](_0xcdf9cd),_0x2fc916&&_0xcdf9cd['on']('execute',(_0x59ea8f,_0x3379d2)=>{this[_0x45fd('0x176')][_0x45fd('0x11b')]&&(this[_0x45fd('0x89')]||(_0x3379d2[_0x45fd('0x25')]>0x0&&_0x3379d2[_0x3379d2[_0x45fd('0x25')]-0x1]&&_0x3379d2[_0x3379d2[_0x45fd('0x25')]-0x1][_0x45fd('0xde')]?_0x3379d2[_0x45fd('0xa4')]():(_0x59ea8f[_0x45fd('0x154')]=_0x2fc916((..._0x5243be)=>_0xcdf9cd[_0x45fd('0x37')](..._0x5243be,{'forceDefaultExecution':!0x0}),..._0x3379d2),_0x59ea8f[_0x45fd('0x8e')]())));},{'priority':'high'});}[_0x45fd('0xde')](_0xf34720){let _0x2d10e2,_0x2a34c0;const _0x331d89=this[_0x45fd('0x89')];this[_0x45fd('0x89')]=!0x0;try{_0x2d10e2=_0xf34720();}catch(_0x3d75a3){_0x2a34c0=_0x3d75a3;}return _0x331d89||(this[_0x45fd('0x89')]=!0x1),_0x2a34c0&&_0x4f5e3f[_0x45fd('0xc1')](_0x2a34c0,this),_0x2d10e2;}[_0x45fd('0x112')](_0x7390d0,_0x3a8c14=null,_0x2c517a={}){if(_0x7390d0[_0x45fd('0x10d')])return null;const _0x5001fb=this['editor']['plugins'][_0x45fd('0x20')](_0x45fd('0x136'))['me'];for(const {suggestion:_0x145a43,meta:_0x5d9de6}of this[_0x45fd('0xfe')](_0x7390d0,_0x45fd('0x2e')))if(_0x5d9de6['isOwn']){if(!_0x5d9de6[_0x45fd('0xaa')]){if(_0x5d9de6[_0x45fd('0xb9')]){if(!this[_0x45fd('0x140')]||!Gt(_0x145a43,_0x2c517a))continue;return _0x145a43;}if(Gt(_0x145a43,_0x2c517a))return _0x145a43;this[_0x45fd('0x14b')](_0x145a43,_0x7390d0['start'],_0x7390d0[_0x45fd('0x102')]);break;}if(_0x3a8c14==_0x145a43[_0x45fd('0x27')]&&Gt(_0x145a43,_0x2c517a)){const _0x2ce99e=_0x145a43[_0x45fd('0x17')]();return _0x2ce99e['start'][_0x45fd('0x7e')](_0x7390d0['end'])?this['_setSuggestionRange'](_0x145a43,this[_0x45fd('0xe')][_0x45fd('0x9a')](_0x7390d0[_0x45fd('0x12d')],_0x2ce99e['end'])):this['_setSuggestionRange'](_0x145a43,this[_0x45fd('0xe')]['createRange'](_0x2ce99e[_0x45fd('0x12d')],_0x7390d0[_0x45fd('0x102')])),_0x145a43;}}const _0x365d69=_0x1d4647(),_0x5e5103=_0x5001fb['id'],_0x5a6ffa=_0x3a8c14?_0x45fd('0x124')+_0x3a8c14:_0x45fd('0x2e'),_0x44e80e=this['_setSuggestionData']({'id':_0x365d69,'type':_0x5a6ffa,'createdAt':new Date(),'authorId':_0x5e5103,'attributes':_0x2c517a});return this[_0x45fd('0xad')](_0x5a6ffa,_0x365d69,_0x5e5103,_0x7390d0),_0x44e80e;}[_0x45fd('0xc0')](_0xe9e2eb,_0x827842=_0x45fd('0x12e'),_0x4e75a5={}){const _0x93435f=this[_0x45fd('0xbc')][_0x45fd('0x12b')][_0x45fd('0x20')](_0x45fd('0x136'))['me'],_0x18d34b=this[_0x45fd('0xb7')][_0x45fd('0x15f')](_0x45fd('0x2e'),_0x827842,_0x45fd('0x131'));for(const _0x2965bf of this['getSuggestions']())if(_0x2965bf[_0x45fd('0xc9')]['id']==_0x93435f['id']&&_0x45fd('0x2e')==_0x2965bf[_0x45fd('0xda')]&&_0x2965bf[_0x45fd('0x27')]==_0x827842&&Gt(_0x2965bf,_0x4e75a5)&&(_0x18d34b(_0x2965bf['getRanges'](),_0xe9e2eb)||_0x18d34b(_0xe9e2eb,_0x2965bf[_0x45fd('0x2f')]()))){for(const _0x324045 of _0xe9e2eb)_0x2965bf[_0x45fd('0x168')](_0x324045);return _0x2965bf;}for(const {suggestion:_0x3939aa,meta:_0x286984}of this[_0x45fd('0xfe')](_0xe9e2eb,_0x45fd('0x2e'))){if(!_0x286984[_0x45fd('0x35')])continue;if(!this[_0x45fd('0x140')]&&_0x286984[_0x45fd('0xb9')])continue;if(!Gt(_0x3939aa,_0x4e75a5))continue;let _0x59aa5b=!0x0;for(const _0x32c102 of _0x3939aa['getRanges']())for(const _0x5384c9 of _0xe9e2eb)if(!_0x32c102[_0x45fd('0x174')](_0x5384c9)){_0x59aa5b=!0x1;break;}if(_0x59aa5b)return _0x3939aa;}const _0x145a92=_0x1d4647(),_0x2a91c3=_0x93435f['id'],_0x5d13fa='insertion:'+_0x827842,_0x5e942e=this['_setSuggestionData']({'id':_0x145a92,'type':_0x5d13fa,'createdAt':new Date(),'authorId':_0x2a91c3,'attributes':_0x4e75a5});for(const _0x1bcb2e of _0xe9e2eb)this[_0x45fd('0xad')](_0x5d13fa,_0x145a92,_0x2a91c3,_0x1bcb2e,_0x1de743['getMultiRangeId']());return _0x5e942e;}[_0x45fd('0x70')](_0x2460eb,_0x22a153,_0x13dccc=null,_0x2022be={}){if(_0x13dccc=_0x13dccc||Et(_0x22a153),_0x2460eb['isCollapsed'])return null;if('never'===this[_0x45fd('0x71')]){const _0x4e3aab=this[_0x45fd('0xb7')][_0x45fd('0x15f')](_0x45fd('0x78'),_0x13dccc,_0x45fd('0x147'));return this[_0x45fd('0xde')](()=>_0x4e3aab([_0x2460eb],_0x22a153,_0x2022be)),null;}const _0x4a1daf=this[_0x45fd('0xbc')][_0x45fd('0x12b')][_0x45fd('0x20')](_0x45fd('0x136'))['me'],_0x1aee41=[];if(_0x45fd('0x9f')!==this[_0x45fd('0x71')])for(const {suggestion:_0x2dc1f4,meta:_0x2f8c3d}of this[_0x45fd('0xfe')](_0x2460eb,_0x45fd('0x2e')))_0x2f8c3d['isOwn']&&!_0x2f8c3d['isInsideObject']&&_0x1aee41[_0x45fd('0xd2')](..._0x2dc1f4['getRanges']());const _0x36e975=function(_0x3eb53b,_0x16ffd3){const _0x5985b8=[];for(const _0x3c2e16 of _0x16ffd3){const _0x2fb90c=_0x3eb53b[_0x45fd('0x106')](_0x3c2e16);_0x2fb90c&&_0x5985b8[_0x45fd('0xd2')](_0x2fb90c);}return _0x5985b8;}(_0x2460eb,_0x1aee41),_0x3f725f=function(_0x351779,_0x4c9dff){const _0x1ff6af=[_0x351779];for(const _0x310cd1 of _0x4c9dff){let _0x548c1d=0x0;for(;_0x548c1d<_0x1ff6af[_0x45fd('0x25')];){const _0x7e9248=_0x1ff6af[_0x548c1d][_0x45fd('0x149')](_0x310cd1);_0x1ff6af[_0x45fd('0x3c')](_0x548c1d,0x1,..._0x7e9248),_0x548c1d+=_0x7e9248[_0x45fd('0x25')];}}return _0x1ff6af;}(_0x2460eb,_0x1aee41);_0x36e975['length']&&this[_0x45fd('0xe')][_0x45fd('0x5c')](()=>{for(const _0x4dfb13 of _0x36e975){const _0x562f9e=this[_0x45fd('0xb7')][_0x45fd('0x15f')](_0x45fd('0x78'),_0x13dccc,_0x45fd('0x147'));this[_0x45fd('0xde')](()=>_0x562f9e([_0x4dfb13],_0x22a153,_0x2022be));}});for(const _0x3927c0 of _0x3f725f){let _0x7e9d52=null,_0x1435da=_0x3927c0['start'],_0x10f979=_0x3927c0[_0x45fd('0x102')];for(const {suggestion:_0x272c3a,meta:_0x777a6}of this[_0x45fd('0xfe')](_0x3927c0,'formatInline')){if(!_0x777a6[_0x45fd('0x35')])continue;if(_0x272c3a['subType']!=_0x13dccc)continue;if(!Gt(_0x272c3a,_0x2022be))continue;const _0x41d2c9=_0x272c3a[_0x45fd('0x17')]();if(_0x41d2c9['containsRange'](_0x3927c0,!0x0))return null;_0x1435da=_0x1435da[_0x45fd('0x165')](_0x41d2c9[_0x45fd('0x12d')])?_0x1435da:_0x41d2c9[_0x45fd('0x12d')],_0x10f979=_0x10f979[_0x45fd('0xce')](_0x41d2c9['end'])?_0x10f979:_0x41d2c9[_0x45fd('0x102')],_0x7e9d52?_0x41d2c9[_0x45fd('0x12d')][_0x45fd('0x165')](_0x7e9d52['getFirstRange']()[_0x45fd('0x12d')])?(_0x7e9d52[_0x45fd('0x13')](),_0x7e9d52=_0x272c3a):_0x272c3a[_0x45fd('0x13')]():_0x7e9d52=_0x272c3a;}const _0x580275=this['_model'][_0x45fd('0x9a')](_0x1435da,_0x10f979);if(_0x7e9d52)this[_0x45fd('0xdf')](_0x7e9d52,_0x580275);else{const _0x27ac5a=_0x1d4647(),_0x302f91=_0x4a1daf['id'];this[_0x45fd('0xd9')]({'id':_0x27ac5a,'type':_0x45fd('0xff')+_0x13dccc,'data':_0x22a153,'createdAt':new Date(),'authorId':_0x302f91,'attributes':_0x2022be}),this[_0x45fd('0xad')](_0x45fd('0xff')+_0x13dccc,_0x27ac5a,_0x302f91,_0x580275);}}return null;}[_0x45fd('0x73')](_0x41ccfb,_0x5093e1,_0x4b9136=[],_0x20bc6b=null,_0xbbbf20={}){_0x5093e1['formatGroupId']||(_0x5093e1[_0x45fd('0xe7')]=_0x5093e1[_0x45fd('0x83')]),_0x5093e1['multipleBlocks']=_0x41ccfb['is'](_0x45fd('0x4d')),_0x20bc6b=_0x20bc6b||Et(_0x5093e1);const _0xcb148a=_0x4b9136[_0x45fd('0x22')](_0x41720d=>Ut(_0x41720d,this[_0x45fd('0xe')])),_0x2ea699=_0x41ccfb['is'](_0x45fd('0x4d'))?_0x41ccfb:Ut(_0x41ccfb,this['_model']);if(_0x45fd('0x107')===this['_trackFormatChanges']){const _0x32a5e9=this[_0x45fd('0xb7')][_0x45fd('0x15f')]('formatBlock',_0x20bc6b,_0x45fd('0x147'));return this[_0x45fd('0xde')](()=>_0x32a5e9([_0x2ea699],_0x5093e1,_0xbbbf20)),null;}_0xcb148a[_0x45fd('0xd2')](_0x2ea699);let _0x32f283=!0x0;for(const _0x1948a5 of _0xcb148a)if(!this[_0x45fd('0x128')](_0x1948a5)){_0x32f283=!0x1;break;}if(_0x32f283&&_0x45fd('0x9f')!==this[_0x45fd('0x71')]){const _0x433bd1=this[_0x45fd('0xb7')][_0x45fd('0x15f')](_0x45fd('0x51'),_0x20bc6b,_0x45fd('0x147'));return this[_0x45fd('0xde')](()=>_0x433bd1([_0x2ea699],_0x5093e1,_0xbbbf20)),null;}let _0x2b4b0d=null,_0xaa3726=_0x2ea699[_0x45fd('0x12d')],_0x1442a4=_0x2ea699[_0x45fd('0x102')];for(const {suggestion:_0x5b4b29,meta:_0x24d56c}of this[_0x45fd('0xfe')](_0x2ea699,_0x45fd('0x51'))){if(!_0x24d56c[_0x45fd('0x35')])continue;if(_0x24d56c['isNextTo']||_0x24d56c[_0x45fd('0xb9')]||_0x24d56c['isInsideObject'])continue;if(_0x5b4b29[_0x45fd('0x163')][_0x45fd('0xe7')]!=_0x5093e1[_0x45fd('0xe7')])continue;if(!Gt(_0x5b4b29,_0xbbbf20))continue;const _0x395525=_0x5b4b29[_0x45fd('0x17')]();if(_0x5b4b29['subType']==_0x20bc6b){if(_0x395525['containsRange'](_0x2ea699,!0x0))return null;_0xaa3726=_0xaa3726[_0x45fd('0x165')](_0x395525['start'])?_0xaa3726:_0x395525['start'],_0x1442a4=_0x1442a4[_0x45fd('0xce')](_0x395525[_0x45fd('0x102')])?_0x1442a4:_0x395525[_0x45fd('0x102')],_0x2b4b0d?_0x395525[_0x45fd('0x12d')][_0x45fd('0x165')](_0x2b4b0d[_0x45fd('0x17')]()[_0x45fd('0x12d')])?(_0x2b4b0d[_0x45fd('0x13')](),_0x2b4b0d=_0x5b4b29):_0x5b4b29[_0x45fd('0x13')]():_0x2b4b0d=_0x5b4b29;}else{const _0x33b528=_0x2ea699['getIntersection'](_0x395525);this[_0x45fd('0x15b')](_0x5b4b29,_0x33b528);}}const _0x4b5582=this['editor'][_0x45fd('0x12b')][_0x45fd('0x20')](_0x45fd('0x136'))['me'],_0x10ac37=_0x1d4647(),_0x391b40=_0x4b5582['id'];if(_0x2b4b0d)return this[_0x45fd('0xdf')](_0x2b4b0d,this[_0x45fd('0xe')][_0x45fd('0x9a')](_0xaa3726,_0x1442a4)),_0x2b4b0d;{const _0x51485a=this[_0x45fd('0xd9')]({'id':_0x10ac37,'type':'formatBlock:'+_0x20bc6b,'data':_0x5093e1,'createdAt':new Date(),'authorId':_0x391b40,'attributes':_0xbbbf20});return this[_0x45fd('0xad')](_0x45fd('0x175')+_0x20bc6b,_0x10ac37,_0x391b40,this['_model'][_0x45fd('0x9a')](_0xaa3726,_0x1442a4)),_0x51485a;}}['markMultiRangeBlockFormat'](_0x2ff549,_0x1b787e,_0x2632e4=[],_0x3259c1=null,_0x403909={}){_0x1b787e[_0x45fd('0xe7')]||(_0x1b787e[_0x45fd('0xe7')]=_0x1b787e[_0x45fd('0x83')]);const _0x4a369e=_0x2ff549[0x0];_0x1b787e['multipleBlocks']=_0x4a369e['is'](_0x45fd('0x4d')),_0x3259c1=_0x3259c1||Et(_0x1b787e);const _0x31b275=_0x2632e4[_0x45fd('0x22')](_0x3d8018=>Ut(_0x3d8018,this['_model'])),_0x1f7579=_0x4a369e['is'](_0x45fd('0x4d'))?_0x2ff549:_0x2ff549[_0x45fd('0x22')](_0x3f2e3a=>Ut(_0x3f2e3a,this['_model']));if(_0x45fd('0x107')===this['_trackFormatChanges']){const _0x2dba5a=this[_0x45fd('0xb7')][_0x45fd('0x15f')]('formatBlock',_0x3259c1,_0x45fd('0x147'));return this[_0x45fd('0xde')](()=>_0x2dba5a(_0x1f7579,_0x1b787e,_0x403909)),null;}_0x31b275[_0x45fd('0xd2')](..._0x1f7579);let _0x3a9bd6=!0x0;for(const _0x457a87 of _0x31b275)if(!this[_0x45fd('0x128')](_0x457a87)){_0x3a9bd6=!0x1;break;}if(_0x3a9bd6&&_0x45fd('0x9f')!==this['_trackFormatChanges']){const _0x5b178a=this[_0x45fd('0xb7')]['getSuggestionCallback'](_0x45fd('0x51'),_0x3259c1,'accept');return this[_0x45fd('0xde')](()=>_0x5b178a(_0x1f7579,_0x1b787e,_0x403909)),null;}const _0x8209d4=this[_0x45fd('0xbc')][_0x45fd('0x12b')][_0x45fd('0x20')]('Users')['me'];for(const _0x35d9c2 of this[_0x45fd('0x90')]()){if(_0x35d9c2[_0x45fd('0xc9')]['id']!=_0x8209d4['id'])continue;if('formatBlock'!=_0x35d9c2['type']||_0x35d9c2[_0x45fd('0x163')][_0x45fd('0xe7')]!=_0x1b787e[_0x45fd('0xe7')])continue;if(!Gt(_0x35d9c2,_0x403909))continue;const _0x1bc0ce=_0x35d9c2[_0x45fd('0x27')]==_0x3259c1;for(let _0x2bee88=0x0;_0x2bee88<_0x1f7579['length'];_0x2bee88++){const _0x5c44b9=_0x1f7579[_0x2bee88];for(const _0xcbfd4e of _0x35d9c2[_0x45fd('0x68')]()){const _0x3a770b=_0xcbfd4e['getRange']();if(_0x5c44b9[_0x45fd('0x7e')](_0x3a770b)){_0x1bc0ce?(_0x1f7579[_0x45fd('0x3c')](_0x2bee88,0x1),_0x2bee88--):_0x35d9c2[_0x45fd('0x13d')](_0xcbfd4e[_0x45fd('0x32')]);break;}}}}if(0x0==_0x1f7579[_0x45fd('0x25')])return null;const _0x4a8557=this['_suggestionFactory'][_0x45fd('0x15f')]('formatBlock',_0x3259c1,_0x45fd('0x131'));for(const _0x56ac82 of this[_0x45fd('0x90')]())if(_0x56ac82['author']['id']==_0x8209d4['id']&&_0x45fd('0x51')==_0x56ac82[_0x45fd('0xda')]&&_0x56ac82[_0x45fd('0x163')][_0x45fd('0xe7')]==_0x1b787e[_0x45fd('0xe7')]&&_0x56ac82['subType']==_0x3259c1&&Gt(_0x56ac82,_0x403909)&&(_0x4a8557(_0x56ac82[_0x45fd('0x2f')](),_0x1f7579)||_0x4a8557(_0x1f7579,_0x56ac82[_0x45fd('0x2f')]()))){for(const _0x109963 of _0x1f7579)_0x56ac82['addRange'](_0x109963);return _0x56ac82;}const _0x77823d=_0x1d4647(),_0x4d52c0=_0x8209d4['id'],_0xd717b4=_0x45fd('0x175')+_0x3259c1,_0x383c9=this[_0x45fd('0xd9')]({'id':_0x77823d,'type':_0xd717b4,'data':_0x1b787e,'createdAt':new Date(),'authorId':_0x4d52c0,'attributes':_0x403909});for(const _0x3923bd of _0x1f7579)this[_0x45fd('0xad')](_0xd717b4,_0x77823d,_0x4d52c0,_0x3923bd,_0x1de743[_0x45fd('0x55')]());return _0x383c9;}[_0x45fd('0x62')](_0x272d63,_0x201599=null,_0x2b3ecf={}){if(_0x272d63[_0x45fd('0x10d')])return null;const _0x2042e0=this[_0x45fd('0xbc')]['plugins'][_0x45fd('0x20')](_0x45fd('0x136'))['me'],_0x2697e9=new _0x1586d7(_0x272d63[_0x45fd('0x12d')],_0x272d63[_0x45fd('0x102')]);for(const {suggestion:_0xc09381,meta:_0x1d374b}of this['_findSuggestions'](_0x2697e9,'insertion'))if(_0x1d374b[_0x45fd('0x35')]&&!_0x1d374b[_0x45fd('0xaa')]){if(_0xc09381['isMultiRange']){const _0x499bce=_0xc09381['getRanges']()[_0x45fd('0x14')](_0x160061=>_0x45fd('0x6b')!=_0x160061['root']['rootName']);_0x499bce[_0x45fd('0x171')](_0x5dcf60=>_0x2697e9['containsRange'](_0x5dcf60,!0x0))&&_0xc09381['discard']();if(_0x499bce[_0x45fd('0x1e')](_0x19d394=>_0x19d394['containsRange'](_0x2697e9,!0x0))){const _0xc2e1c1=this[_0x45fd('0xb7')]['getSuggestionCallback'](_0x45fd('0x161'),_0x201599,_0x45fd('0x147'));return this['forceDefaultExecution'](()=>_0xc2e1c1([_0x2697e9],null,_0x2b3ecf)),null;}}else{const _0xbfbb7b=_0x2697e9[_0x45fd('0x106')](_0xc09381[_0x45fd('0x17')]());null!==_0xbfbb7b&&_0xc09381[_0x45fd('0x152')]([_0xbfbb7b],null,_0x2b3ecf);}}if(_0x2697e9[_0x45fd('0x43')](),_0x2697e9[_0x45fd('0x10d')]||_0x45fd('0x6b')==_0x2697e9[_0x45fd('0x115')][_0x45fd('0xba')])return null;let _0x13cc2a=null,_0x586226=_0x2697e9[_0x45fd('0x12d')],_0x5af5bd=_0x2697e9[_0x45fd('0x102')];const _0x1783b1=this[_0x45fd('0xfe')](_0x2697e9,_0x45fd('0x161'));for(const {suggestion:_0x1785d8,meta:_0xb5e0f6}of _0x1783b1){const _0x29cd70=this[_0x45fd('0xe')][_0x45fd('0x9a')](_0x586226,_0x5af5bd);if(_0xb5e0f6[_0x45fd('0x35')]&&(this[_0x45fd('0x140')]||!_0xb5e0f6[_0x45fd('0xb9')]&&!_0xb5e0f6[_0x45fd('0x6d')])){if(_0x1785d8['isMultiRange']){if(!Gt(_0x1785d8,_0x2b3ecf))continue;let _0x1f4c91=!0x0;for(const _0x10a706 of _0x1785d8[_0x45fd('0x2f')]()){if(_0x10a706['containsRange'](_0x29cd70,!0x0))return _0x1785d8;_0x29cd70[_0x45fd('0x174')](_0x10a706)||(_0x1f4c91=!0x1);}_0x1f4c91&&_0x1785d8[_0x45fd('0xe6')]();}else{const _0xf08eba=_0x1785d8['getFirstRange']();if(_0xf08eba['containsRange'](_0x29cd70,!0x0))return _0x1785d8;if(!Gt(_0x1785d8,_0x2b3ecf)){_0x29cd70[_0x45fd('0x174')](_0xf08eba)?_0x1785d8[_0x45fd('0x13')]():_0xf08eba[_0x45fd('0x3e')](_0x586226)?_0x586226=_0xf08eba['end']:_0xf08eba['containsPosition'](_0x5af5bd)&&(_0x5af5bd=_0xf08eba[_0x45fd('0x12d')]);continue;}_0x586226=_0x586226[_0x45fd('0x165')](_0xf08eba[_0x45fd('0x12d')])?_0x586226:_0xf08eba['start'],_0x5af5bd=_0x5af5bd['isAfter'](_0xf08eba[_0x45fd('0x102')])?_0x5af5bd:_0xf08eba[_0x45fd('0x102')],_0x2b3ecf=Object['assign']({},_0x1785d8['attributes']),_0x13cc2a?_0xf08eba['start'][_0x45fd('0x165')](_0x13cc2a[_0x45fd('0x17')]()['start'])?(_0x13cc2a[_0x45fd('0x13')](),_0x13cc2a=_0x1785d8):_0x1785d8['removeMarkers']():_0x13cc2a=_0x1785d8;}}}if(_0x13cc2a)return this[_0x45fd('0xdf')](_0x13cc2a,this['_model'][_0x45fd('0x9a')](_0x586226,_0x5af5bd)),_0x13cc2a;{const _0x588bc4=_0x1d4647(),_0x26e3c0=this[_0x45fd('0xe')]['createRange'](_0x586226,_0x5af5bd),_0x29d828=_0x2042e0['id'],_0x15b7c5=_0x201599?_0x45fd('0x38')+_0x201599:_0x45fd('0x161'),_0x39f6e9=this[_0x45fd('0xd9')]({'id':_0x588bc4,'type':_0x15b7c5,'createdAt':new Date(),'authorId':_0x29d828,'attributes':_0x2b3ecf});return this['_addSuggestionMarker'](_0x15b7c5,_0x588bc4,_0x29d828,_0x26e3c0),_0x39f6e9;}}[_0x45fd('0x7c')](_0x42b990,_0x3434f1='multi',_0x5d1f12={}){const _0x1cb606=this[_0x45fd('0xbc')][_0x45fd('0x12b')][_0x45fd('0x20')](_0x45fd('0x136'))['me'],_0x40e5cf=_0x42b990[_0x45fd('0x22')](_0x2ac8df=>new _0x1586d7(_0x2ac8df[_0x45fd('0x12d')],_0x2ac8df[_0x45fd('0x102')])),_0x1d4ef1=new Set();for(const {suggestion:_0x1113cc,meta:_0x7466c3}of this[_0x45fd('0xfe')](_0x40e5cf,'insertion'))_0x7466c3[_0x45fd('0x35')]&&!_0x7466c3['isNextTo']&&_0x1d4ef1[_0x45fd('0xef')](_0x1113cc);for(const _0x9d66a7 of _0x1d4ef1)if(_0x9d66a7[_0x45fd('0xd0')]){const _0x42a3af=_0x9d66a7[_0x45fd('0x2f')]();(!_0x9d66a7['attributes']||!_0x9d66a7[_0x45fd('0x16b')]['skipNestingCheck'])&&(_0x42a3af[_0x45fd('0x171')](_0x4bd345=>_0x40e5cf[_0x45fd('0x1e')](_0x19286c=>_0x19286c['containsRange'](_0x4bd345,!0x0)))&&_0x9d66a7[_0x45fd('0xe6')]());if(_0x40e5cf[_0x45fd('0x171')](_0x1424d3=>_0x42a3af[_0x45fd('0x1e')](_0x22e0d8=>_0x22e0d8[_0x45fd('0x174')](_0x1424d3,!0x0)))){const _0x332d52=this[_0x45fd('0xb7')][_0x45fd('0x15f')](_0x45fd('0x161'),_0x3434f1,_0x45fd('0x147'));return this[_0x45fd('0xde')](()=>_0x332d52(_0x42b990,null,_0x5d1f12)),null;}}else{const _0x503d34=_0x9d66a7[_0x45fd('0x17')]();_0x40e5cf['some'](_0x5cac94=>_0x5cac94['containsRange'](_0x503d34,!0x0))&&_0x9d66a7['discard']();if(_0x40e5cf[_0x45fd('0x171')](_0x5e0360=>_0x503d34[_0x45fd('0x174')](_0x5e0360,!0x0))){const _0x45e270=this[_0x45fd('0xb7')][_0x45fd('0x15f')]('deletion',_0x3434f1,_0x45fd('0x147'));return this['forceDefaultExecution'](()=>_0x45e270(_0x40e5cf,null,_0x5d1f12)),null;}}const _0x17617c=this[_0x45fd('0xb7')][_0x45fd('0x15f')]('deletion',_0x3434f1,_0x45fd('0x131'));let _0x35c495=null;for(const _0x129839 of this['getSuggestions']())if(_0x129839['author']['id']==_0x1cb606['id']&&_0x129839[_0x45fd('0xa5')]&&_0x45fd('0x161')==_0x129839[_0x45fd('0xda')]&&_0x129839['subType']==_0x3434f1&&Gt(_0x129839,_0x5d1f12)&&(_0x17617c(_0x129839[_0x45fd('0x2f')](),_0x40e5cf)||_0x17617c(_0x40e5cf,_0x129839[_0x45fd('0x2f')]()))){if(_0x35c495){if(_0x129839['commentThread']&&_0x129839[_0x45fd('0x141')][_0x45fd('0x25')])continue;for(const _0x168d32 of _0x129839[_0x45fd('0x2f')]())_0x35c495[_0x45fd('0xf2')](_0x168d32)||_0x35c495['addRange'](_0x168d32);_0x129839['removeMarkers']();}else{_0x35c495=_0x129839;for(const _0x75ef03 of _0x40e5cf)_0x129839[_0x45fd('0xf2')](_0x75ef03)||_0x129839[_0x45fd('0x168')](_0x75ef03);}}if(_0x35c495)return _0x35c495;_0x1d4ef1[_0x45fd('0x6e')]();for(const {suggestion:_0x2f7426,meta:_0x8f5d22}of this['_findSuggestions'](_0x40e5cf,_0x45fd('0x161')))_0x8f5d22[_0x45fd('0x35')]&&(this['_mergeNestedSuggestions']||!_0x8f5d22[_0x45fd('0xb9')]&&!_0x8f5d22[_0x45fd('0x6d')])&&Gt(_0x2f7426,_0x5d1f12)&&_0x1d4ef1[_0x45fd('0xef')](_0x2f7426);for(const _0xbc48b3 of _0x1d4ef1){const _0x4e6b9e=_0xbc48b3[_0x45fd('0x2f')]();if(!_0x5d1f12||!_0x5d1f12['skipNestingCheck']){if(_0x40e5cf[_0x45fd('0x171')](_0x26060a=>_0x4e6b9e[_0x45fd('0x1e')](_0x24117e=>_0x24117e[_0x45fd('0x174')](_0x26060a,!0x0))))return _0xbc48b3;}(!_0xbc48b3['attributes']||!_0xbc48b3['attributes'][_0x45fd('0x1d')])&&(_0x4e6b9e['every'](_0x36d5d8=>_0x40e5cf['some'](_0xb599f5=>_0xb599f5[_0x45fd('0x174')](_0x36d5d8,!0x0)))&&_0xbc48b3[_0x45fd('0xe6')]());}const _0xc344b2=_0x1d4647(),_0x33f6ce=_0x1cb606['id'],_0x31f6ba='deletion:'+_0x3434f1,_0x51cf03=this['_setSuggestionData']({'id':_0xc344b2,'type':_0x31f6ba,'createdAt':new Date(),'authorId':_0x33f6ce,'attributes':_0x5d1f12});for(const _0x4375d of _0x40e5cf)_0x4375d['detach'](),_0x4375d['isCollapsed']||'$graveyard'==_0x4375d[_0x45fd('0x115')][_0x45fd('0xba')]||this['_addSuggestionMarker'](_0x31f6ba,_0xc344b2,_0x33f6ce,_0x4375d,_0x1de743[_0x45fd('0x55')]());return _0x51cf03;}[_0x45fd('0x16a')](_0x42031f,_0x406071,_0x5931ad,_0x10e444,_0x5ad58a){if(_0x42031f[_0x45fd('0x10d')])return[];if(_0x45fd('0x107')===this[_0x45fd('0x71')])return[];const _0x1dc491=this[_0x45fd('0xbc')][_0x45fd('0x12b')][_0x45fd('0x20')](_0x45fd('0x136'))['me']['id'],_0x29a2a7=Array['from'](this[_0x45fd('0x144')]['values']())[_0x45fd('0x14')](_0x9ce8be=>'attribute'==_0x9ce8be['type']&&_0x9ce8be['data'][_0x45fd('0x69')]==_0x406071&&_0x9ce8be[_0x45fd('0xf2')](_0x42031f));if(_0x45fd('0x18')===this[_0x45fd('0x71')]){const _0x18808f=this[_0x45fd('0xfe')](_0x42031f,_0x45fd('0x2e'))[_0x45fd('0x14')](({meta:_0x4c7c0e})=>_0x4c7c0e[_0x45fd('0x35')]&&!_0x4c7c0e[_0x45fd('0x6d')]&&!_0x4c7c0e[_0x45fd('0xaa')])[_0x45fd('0x22')](({suggestion:_0x4e2a5d})=>_0x4e2a5d);_0x29a2a7[_0x45fd('0x41')](..._0x18808f);}const _0x17f860=new Map([[_0x42031f,_0x5931ad]]);for(const _0x44a96e of _0x29a2a7){const _0x88687c=_0x45fd('0x126')==_0x44a96e[_0x45fd('0xda')]?_0x44a96e[_0x45fd('0x163')][_0x45fd('0x173')]:void 0x0,_0x443152=_0x44a96e[_0x45fd('0x17')](),_0x2fbd36=Array[_0x45fd('0x19')](_0x17f860[_0x45fd('0x97')]())[_0x45fd('0x123')](_0x40d708=>_0x40d708[_0x45fd('0xb4')](_0x443152));if(!_0x2fbd36)continue;const _0x172e68=_0x2fbd36[_0x45fd('0x149')](_0x443152);this[_0x45fd('0x122')](_0x406071)&&_0x45fd('0x2e')==_0x44a96e[_0x45fd('0xda')]&&0x0!=_0x172e68[_0x45fd('0x25')]||(_0x17f860[_0x45fd('0xee')](_0x2fbd36),_0x172e68[_0x45fd('0x3f')](_0x4167f0=>{_0x17f860[_0x45fd('0x5a')](_0x4167f0,_0x5931ad);}),_0x45fd('0x2e')!=_0x44a96e[_0x45fd('0xda')]&&_0x88687c!=_0x10e444&&_0x17f860[_0x45fd('0x5a')](_0x2fbd36[_0x45fd('0x106')](_0x443152),_0x88687c));}const _0x1403aa=[];for(const [_0x588596,_0x4bd45c]of _0x17f860){const _0x5a762e=_0x1d4647(),_0x38e864={'key':_0x406071,'oldValue':_0x4bd45c,'newValue':_0x10e444};_0x406071[_0x45fd('0x25')]>0x25&&console['warn'](_0x45fd('0x15a'),{'key':_0x406071});const _0x14922c=(_0x45fd('0xa8')+(_0x406071+'|'+Et({'newValue':_0x10e444})))['substring'](0x0,0x3c),_0x5e8206=this['_setSuggestionData']({'id':_0x5a762e,'type':_0x14922c,'data':_0x38e864,'createdAt':new Date(),'authorId':_0x1dc491,'attributes':_0x5ad58a});_0x1403aa[_0x45fd('0xd2')](_0x5e8206),this[_0x45fd('0xad')](_0x14922c,_0x5a762e,_0x1dc491,_0x588596);}return _0x1403aa;}[_0x45fd('0xa2')](_0x53a6fc){this[_0x45fd('0xe4')][_0x45fd('0xef')](_0x53a6fc);}[_0x45fd('0x11c')](_0x144120){this[_0x45fd('0xcd')][_0x45fd('0xef')](_0x144120);}[_0x45fd('0xdd')](_0x14e891,_0x17c7d7=[],_0x2d3206=[]){this['enableCommand'](_0x14e891,(_0x2d8d9e,..._0x2bdabc)=>{this['_recordAttributeChanges'](()=>{_0x2d8d9e(..._0x2bdabc);});});for(const _0x5cd325 of _0x17c7d7)this[_0x45fd('0x11c')](_0x5cd325);for(const _0x2637fe of _0x2d3206)this['_registerBlockAttribute'](_0x2637fe);}[_0x45fd('0xdf')](_0x14fece,_0xc3be23){const _0x2d282c=_0x14fece[_0x45fd('0x116')]();this[_0x45fd('0xe')][_0x45fd('0x5c')](_0x5942a4=>{_0x5942a4[_0x45fd('0x8a')](_0x2d282c,{'range':_0xc3be23});});}['_addThreadToSuggestion'](_0x5c4fc9){const _0xe679fd=_0x5c4fc9['id'],_0x22bdfd=this[_0x45fd('0xbc')][_0x45fd('0x11')][_0x45fd('0x20')](_0x45fd('0x13b'));this['_commentsRepository'][_0x45fd('0x72')](_0xe679fd)||this[_0x45fd('0x74')]['addCommentThread']({'channelId':_0x22bdfd,'threadId':_0xe679fd,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x19e485=this['_commentsRepository'][_0x45fd('0x143')](_0xe679fd);_0x19e485['unbind'](_0x45fd('0x139')),_0x19e485['isRemovable']=!0x1,_0x5c4fc9[_0x45fd('0x141')]=_0x19e485;}['_checkSuggestionCorrectness'](_0x63fc48,_0x5c2c2b,_0x50e028,_0x28d5be){if(_0x63fc48[_0x45fd('0xda')]!=_0x5c2c2b||_0x63fc48[_0x45fd('0x27')]!=_0x50e028||_0x63fc48[_0x45fd('0x9c')]['id']!=_0x28d5be)throw this[_0x45fd('0xbc')]['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x4f5e3f(_0x45fd('0x30'),this);}['_cutOutSuggestionMarker'](_0x42992a,_0x3d7ae2){const _0x50a3ca=_0x42992a[_0x45fd('0x17')]();if(_0x3d7ae2[_0x45fd('0x7e')](_0x50a3ca))_0x42992a[_0x45fd('0x13')]();else{if(_0x50a3ca[_0x45fd('0x174')](_0x3d7ae2)){const _0x43e05a=this['_model'][_0x45fd('0x65')](_0x3d7ae2['start'][_0x45fd('0x6f')],'end');this[_0x45fd('0xdf')](_0x42992a,this[_0x45fd('0xe')][_0x45fd('0x9a')](_0x50a3ca[_0x45fd('0x12d')],_0x43e05a));const _0x4b4c04=_0x1d4647(),_0x5a3fbe=_0x42992a[_0x45fd('0x9c')]['id'],_0x4fac2b=_0x42992a['type']+':'+_0x42992a[_0x45fd('0x27')];this[_0x45fd('0xd9')]({'id':_0x4b4c04,'type':_0x4fac2b,'createdAt':new Date(),'authorId':_0x5a3fbe,'data':_0x42992a['data'],'attributes':_0x42992a[_0x45fd('0x16b')]});const _0xfd1f14=this[_0x45fd('0xe')][_0x45fd('0x65')](_0x3d7ae2[_0x45fd('0x102')][_0x45fd('0x92')],_0x45fd('0xd5')),_0x37dba6=this[_0x45fd('0xe')][_0x45fd('0x9a')](_0xfd1f14,_0x50a3ca[_0x45fd('0x102')]);this['_addSuggestionMarker'](_0x4fac2b,_0x4b4c04,_0x5a3fbe,_0x37dba6);}else{if(_0x50a3ca['containsPosition'](_0x3d7ae2['start'])){const _0x3ae517=this['_model']['createPositionAt'](_0x3d7ae2[_0x45fd('0x12d')][_0x45fd('0x6f')],_0x45fd('0x102'));this[_0x45fd('0xdf')](_0x42992a,this[_0x45fd('0xe')][_0x45fd('0x9a')](_0x50a3ca[_0x45fd('0x12d')],_0x3ae517));}else{const _0x1a3c4c=this[_0x45fd('0xe')][_0x45fd('0x65')](_0x3d7ae2[_0x45fd('0x102')][_0x45fd('0x92')],'after');this[_0x45fd('0xdf')](_0x42992a,this[_0x45fd('0xe')][_0x45fd('0x9a')](_0x1a3c4c,_0x50a3ca[_0x45fd('0x102')]));}}}}[_0x45fd('0x128')](_0x3791c5){for(const {suggestion:_0x584fbe,meta:_0x5a4f4a}of this[_0x45fd('0xfe')](_0x3791c5,_0x45fd('0x2e'))){if(!_0x5a4f4a['isOwn'])continue;const _0x3e27dc=_0x584fbe[_0x45fd('0x2f')]();for(const _0x25e9cc of _0x3e27dc)if(!_0x3791c5[_0x45fd('0x149')](_0x25e9cc)[_0x45fd('0x25')])return!0x0;}return!0x1;}[_0x45fd('0x84')](_0x53f49b){const _0x52b04d=this[_0x45fd('0xbc')]['plugins'][_0x45fd('0x20')]('Users')[_0x45fd('0xbe')](_0x53f49b);if(!_0x52b04d)throw new _0x4f5e3f(_0x45fd('0x31'),this);return _0x52b04d;}[_0x45fd('0x93')](_0x591f11){const _0x2df92b=this['editor'][_0x45fd('0x12b')][_0x45fd('0x20')](_0x45fd('0x136')),_0xc7e10a=_0x59c5b9('external:'+_0x591f11),_0x502646=_0x2df92b[_0x45fd('0xbe')](_0xc7e10a);return _0x502646||_0x2df92b[_0x45fd('0xc8')]({'id':_0xc7e10a,'name':_0x591f11});}['_createSuggestion'](_0x4f5d2b,_0x4564c5,_0x45276b,_0x4d8e3c,_0xe438e5){const _0x232c30=this['_getAuthorFromId'](_0x4d8e3c),_0x172586=this[_0x45fd('0xb7')][_0x45fd('0x3b')](_0x4f5d2b,_0x4564c5,_0x45276b,_0x232c30,_0xe438e5,_0x5ceafa=>this[_0x45fd('0x10c')](_0x45276b,{'attributes':_0x5ceafa}));return this[_0x45fd('0x8')](_0x172586,_0x45fd('0x147'),()=>{this[_0x45fd('0x10c')](_0x45276b,{'state':_0x45fd('0xaf')});},{'priority':_0x45fd('0x127')}),this[_0x45fd('0x8')](_0x172586,'discard',()=>{this[_0x45fd('0x10c')](_0x45276b,{'state':'rejected'});},{'priority':'high'}),this[_0x45fd('0x144')][_0x45fd('0x5a')](_0x45276b,_0x172586),this[_0x45fd('0x67')]['set'](_0x172586,_0x45fd('0xd7')),_0x172586;}[_0x45fd('0x138')](_0x59c1eb){const _0x53ab64=_0x59c1eb['split'](':');return{'group':_0x53ab64[0x0],'type':_0x53ab64[0x1],'subType':_0x53ab64['length']>=0x5?_0x53ab64[0x2]:null,'id':_0x53ab64['length']<0x5?_0x53ab64[0x2]:_0x53ab64[0x3],'authorId':_0x53ab64['length']<0x5?_0x53ab64[0x3]:_0x53ab64[0x4],'markerCount':0x6==_0x53ab64[_0x45fd('0x25')]?_0x53ab64[0x5]:null};}[_0x45fd('0x14b')](_0x103ea3,_0x13dd24,_0x4e8211){const _0x5b1fa4=_0x103ea3['getFirstRange'](),_0x41419b=_0x5b1fa4[_0x45fd('0x12d')],_0x84115c=_0x5b1fa4[_0x45fd('0x102')];this[_0x45fd('0xdf')](_0x103ea3,this['_model'][_0x45fd('0x9a')](_0x41419b,_0x13dd24));const _0x552e1c=_0x1d4647(),_0x45823f=_0x103ea3[_0x45fd('0x9c')]['id'],_0x5cc34f=_0x103ea3['type']+(_0x103ea3[_0x45fd('0x27')]?':'+_0x103ea3['subType']:'');this['_setSuggestionData']({'id':_0x552e1c,'type':_0x5cc34f,'createdAt':new Date(),'authorId':_0x45823f,'originalSuggestionId':_0x103ea3['id'],'attributes':_0x103ea3[_0x45fd('0x16b')],'data':_0x103ea3['data']});const _0x4ac029=Pt(_0x103ea3);('formatBlock'==_0x103ea3['type']||_0x4ac029&&this[_0x45fd('0x122')](_0x4ac029))&&(_0x4e8211=this[_0x45fd('0xe')][_0x45fd('0x14f')](_0x4e8211[_0x45fd('0x92')])),this[_0x45fd('0xad')](_0x5cc34f,_0x552e1c,_0x45823f,this[_0x45fd('0xe')]['createRange'](_0x4e8211,_0x84115c));}[_0x45fd('0xfe')](_0x20073e,_0xabce8e=null){const _0x332e1d=[],_0x56301d=this[_0x45fd('0xbc')]['plugins'][_0x45fd('0x20')](_0x45fd('0x136'))['me'];Array[_0x45fd('0xa')](_0x20073e)||(_0x20073e=[_0x20073e]);for(const _0x452a7c of this[_0x45fd('0x90')]()){if(!_0x452a7c['isInContent'])continue;if(_0xabce8e&&_0x452a7c[_0x45fd('0xda')]!=_0xabce8e)continue;let _0x33a81f=!0x1;for(const _0x504ede of _0x452a7c[_0x45fd('0x2f')]()){for(const _0x405c35 of _0x20073e){const _0x56e286=_0x405c35[_0x45fd('0x12d')][_0x45fd('0x7e')](_0x504ede[_0x45fd('0x102')])||_0x405c35['end']['isEqual'](_0x504ede[_0x45fd('0x12d')]);if(_0x56e286||_0x405c35[_0x45fd('0x106')](_0x504ede)){const _0x75144a=_0x405c35[_0x45fd('0x174')](_0x504ede)&&Bt(this['_model'][_0x45fd('0x82')],_0x504ede['start'],_0x405c35),_0x400534=_0x504ede[_0x45fd('0x174')](_0x405c35)&&Bt(this[_0x45fd('0xe')]['schema'],_0x405c35[_0x45fd('0x12d')],_0x504ede);_0x332e1d[_0x45fd('0xd2')]({'suggestion':_0x452a7c,'meta':{'isOwn':_0x56301d==_0x452a7c[_0x45fd('0xc9')],'isNextTo':_0x56e286,'isInsideObject':_0x75144a,'containsRangeInObject':_0x400534}}),_0x33a81f=!0x0;break;}}if(_0x33a81f)break;}}return _0x332e1d;}[_0x45fd('0xad')](_0x848662,_0x2ffd3d,_0x51ef93,_0x149f1d,_0x34b27d){this['_model'][_0x45fd('0x5c')](_0x3208b4=>{let _0xdc36b8=_0x45fd('0xb1')+_0x848662+':'+_0x2ffd3d+':'+_0x51ef93;_0x34b27d&&(_0xdc36b8=_0xdc36b8+':'+_0x34b27d),_0x3208b4[_0x45fd('0x8f')](_0xdc36b8,{'range':_0x149f1d,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x45fd('0x8d')](_0xe8a9e7){const _0x1b1ddb=_0xe8a9e7[_0x45fd('0xed')],_0x59224b=_0xe8a9e7[_0x45fd('0xdc')];_0xe8a9e7[_0x45fd('0xed')]=null,_0xe8a9e7[_0x45fd('0xdc')]=null,null!=_0x1b1ddb&&(_0x1b1ddb[_0x45fd('0xdc')]=_0x59224b),null!=_0x59224b&&(_0x59224b[_0x45fd('0xed')]=_0x1b1ddb),'ready'==this[_0x45fd('0x67')][_0x45fd('0x20')](_0xe8a9e7)&&(this['_suggestionState'][_0x45fd('0x5a')](_0xe8a9e7,_0x45fd('0x120')),this[_0x45fd('0x29')]('suggestionUnloaded',_0xe8a9e7,_0x1b1ddb,_0x59224b));}['_setSuggestionData'](_0x4ec821){const _0xf81af5=_0x4ec821['id'],_0x460570=this[_0x45fd('0x64')](_0x4ec821);if(this[_0x45fd('0xfd')]&&this[_0x45fd('0xfd')][_0x45fd('0x13f')]){const _0x4f641f=this[_0x45fd('0xbc')][_0x45fd('0x12b')][_0x45fd('0x20')](_0x45fd('0x6c')),_0x483083=_0x460570['hasComments'],_0xbcd719=_0x460570['subType']?_0x460570[_0x45fd('0xda')]+':'+_0x460570[_0x45fd('0x27')]:_0x460570['type'],_0xed4a92=this[_0x45fd('0xbc')][_0x45fd('0x24')],_0x128ba0=_0x4f641f[_0x45fd('0xef')](_0x14698f(_0xed4a92,_0x45fd('0xc2'))),_0x5336df={'id':_0xf81af5,'type':_0xbcd719,'hasComments':_0x483083,'data':_0x4ec821['data']||null,'originalSuggestionId':_0x4ec821[_0x45fd('0x16')]||null,'attributes':_0x460570['attributes']};this[_0x45fd('0xfd')][_0x45fd('0x13f')](_0x5336df)['then'](_0x3fb536=>{_0x460570[_0x45fd('0x66')]=!0x0,_0x4f641f['remove'](_0x128ba0),_0x3fb536&&_0x3fb536[_0x45fd('0xf6')]&&(this[_0x45fd('0x144')][_0x45fd('0x20')](_0xf81af5)['createdAt']=_0x3fb536['createdAt']);})[_0x45fd('0x13e')](_0x37237c=>{throw _0x4d5f77(_0x45fd('0x118')),this[_0x45fd('0xbc')][_0x45fd('0x159')][_0x45fd('0x4b')]({'isUndoable':!0x1},()=>{_0x460570[_0x45fd('0xe6')]();}),_0x460570[_0x45fd('0x11a')](),this[_0x45fd('0x144')]['delete'](_0x460570['id']),this[_0x45fd('0x67')][_0x45fd('0xee')](_0x460570),_0x37237c;});}return _0x460570;}[_0x45fd('0x122')](_0x189e4f){return this[_0x45fd('0xe4')][_0x45fd('0x15c')](_0x189e4f);}[_0x45fd('0x10c')](_0x52ffec,_0x4b83ec){const _0x31f821=this['editor'][_0x45fd('0x12b')][_0x45fd('0x20')](_0x45fd('0x6c')),_0x3ba9f1=this['getSuggestion'](_0x52ffec);if(this[_0x45fd('0xfd')]&&this[_0x45fd('0xfd')][_0x45fd('0xcf')]){if(_0x3ba9f1[_0x45fd('0x66')]){const _0x7113ba=_0x31f821[_0x45fd('0xef')](_0x14698f(this['editor'][_0x45fd('0x24')],_0x45fd('0xc2')));this[_0x45fd('0xfd')]['updateSuggestion'](_0x52ffec,_0x4b83ec)['then'](()=>{_0x31f821[_0x45fd('0xb0')](_0x7113ba);});}else _0x3ba9f1['on'](_0x45fd('0x9d'),()=>{this[_0x45fd('0x10c')](_0x52ffec,_0x4b83ec);});}}[_0x45fd('0x81')](_0x325f93){if(!this[_0x45fd('0xfd')]||!this['_adapter']['getSuggestion'])throw new _0x4f5e3f(_0x45fd('0x15e'),this);return this[_0x45fd('0xfd')]['getSuggestion'](_0x325f93);}[_0x45fd('0x0')](_0x5a14aa){const {id:_0x1d93b4,type:_0x4ae057,subType:_0x481855,authorId:_0x58b183}=this[_0x45fd('0x138')](_0x5a14aa),_0x3ee611=this[_0x45fd('0x144')]['get'](_0x1d93b4)||this[_0x45fd('0xf0')](_0x4ae057,_0x481855,_0x1d93b4,_0x58b183,{});switch(this['_checkSuggestionCorrectness'](_0x3ee611,_0x4ae057,_0x481855,_0x58b183),this[_0x45fd('0x67')][_0x45fd('0x20')](_0x3ee611)){case _0x45fd('0xd7'):this[_0x45fd('0x81')](_0x1d93b4)[_0x45fd('0x110')](_0xf031d0=>{let _0x1ff3bc=Promise[_0x45fd('0x132')]();_0xf031d0['hasComments']&&(_0x1ff3bc=this['_commentsRepository'][_0x45fd('0x9b')]({'channelId':this[_0x45fd('0xbc')][_0x45fd('0x11')][_0x45fd('0x20')](_0x45fd('0x13b')),'threadId':_0x1d93b4})),_0x1ff3bc['then'](()=>{this[_0x45fd('0x64')](_0xf031d0)['_saved']=!0x0;});}),this['_suggestionState'][_0x45fd('0x5a')](_0x3ee611,_0x45fd('0xa9'));break;case _0x45fd('0x120'):this[_0x45fd('0x10c')](_0x1d93b4,{'state':_0x45fd('0x169')});case _0x45fd('0x7f'):this[_0x45fd('0x67')][_0x45fd('0x5a')](_0x3ee611,_0x45fd('0x13c')),this['fire']('suggestionLoaded',_0x3ee611);break;case'ready':this[_0x45fd('0x29')](_0x45fd('0x86'),_0x3ee611);}return _0x3ee611['addMarkerName'](_0x5a14aa),_0x3ee611;}['_refreshSuggestionsChain'](_0x283eed){const _0x45bb81=Array['from'](_0x283eed),_0x5f199c=_0x45bb81[_0x45fd('0x14')](_0x2b473c=>'attribute'==_0x2b473c['type']);this[_0x45fd('0x79')](_0x5f199c);const _0xbc1a2c=_0x45bb81[_0x45fd('0x14')](_0x10da04=>!_0x10da04[_0x45fd('0xd0')]&&_0x45fd('0x126')!=_0x10da04[_0x45fd('0xda')]),_0x40f0bb=this['getSuggestions']({'skipNotAttached':!0x0})[_0x45fd('0x14')](_0x58803d=>!_0x58803d[_0x45fd('0xd0')]&&_0x45fd('0x126')!=_0x58803d[_0x45fd('0xda')]),_0x3e98e1=_0x40f0bb[_0x45fd('0x14')](_0x2267f1=>!_0x283eed[_0x45fd('0x15c')](_0x2267f1)),_0x383d77=new Map(_0x40f0bb[_0x45fd('0x22')](_0x5b81e5=>[_0x5b81e5,this[_0x45fd('0xb7')][_0x45fd('0x15f')](_0x5b81e5[_0x45fd('0xda')],_0x5b81e5['subType'],_0x45fd('0x44'))])),_0xb37024=new Map(_0x40f0bb[_0x45fd('0x22')](_0x540b41=>[_0x540b41,_0x540b41[_0x45fd('0x17')]()])),_0xf01070=new Set(),_0xd8ea3f=new Set();for(let _0x3f51f1=0x0;_0x3f51f1<_0xbc1a2c[_0x45fd('0x25')];_0x3f51f1++)_0x16334c(_0xbc1a2c[_0x3f51f1],_0xbc1a2c,_0x3f51f1+0x1);for(let _0x158545=0x0;_0x158545<_0xbc1a2c[_0x45fd('0x25')];_0x158545++)_0x16334c(_0xbc1a2c[_0x158545],_0x3e98e1,0x0);const _0x593169=new Set();for(let _0x5e6911=0x0;_0x5e6911<_0xbc1a2c[_0x45fd('0x25')];_0x5e6911++){const _0x43b2eb=_0xbc1a2c[_0x5e6911];!_0xd8ea3f[_0x45fd('0x15c')](_0x43b2eb)&&_0x43b2eb['previous']&&(_0x593169[_0x45fd('0xef')](_0x43b2eb[_0x45fd('0xed')]),_0x43b2eb[_0x45fd('0xed')][_0x45fd('0xdc')]===_0x43b2eb&&(_0x43b2eb['previous']['next']=null),_0x43b2eb[_0x45fd('0xed')]=null),!_0xf01070[_0x45fd('0x15c')](_0x43b2eb)&&_0x43b2eb[_0x45fd('0xdc')]&&(_0x593169[_0x45fd('0xef')](_0x43b2eb[_0x45fd('0xdc')]),_0x43b2eb['next'][_0x45fd('0xed')]===_0x43b2eb&&(_0x43b2eb[_0x45fd('0xdc')][_0x45fd('0xed')]=null),_0x43b2eb[_0x45fd('0xdc')]=null);}function _0x16334c(_0x4b0be6,_0x2eed56,_0x1ba0fd){for(let _0x48e4d7=_0x1ba0fd;_0x48e4d7<_0x2eed56['length'];_0x48e4d7++){const _0x1f1639=_0x5d72c8(_0x4b0be6,_0x2eed56[_0x48e4d7]);_0x1f1639&&(_0x1f1639[0x0][_0x45fd('0xdc')]=_0x1f1639[0x1],_0x1f1639[0x1]['previous']=_0x1f1639[0x0],_0xf01070[_0x45fd('0xef')](_0x1f1639[0x0]),_0xd8ea3f[_0x45fd('0xef')](_0x1f1639[0x1]));}}function _0x5d72c8(_0x3ecd42,_0x43cab6){if(_0x3ecd42[_0x45fd('0xc9')]['id']!==_0x43cab6['author']['id'])return null;const _0x3f9b4b=_0x383d77['get'](_0x3ecd42)(_0x3ecd42,_0x43cab6,_0xb37024[_0x45fd('0x20')](_0x3ecd42),_0xb37024[_0x45fd('0x20')](_0x43cab6));if(!_0x3f9b4b)return null;return _0x383d77['get'](_0x43cab6)(_0x3ecd42,_0x43cab6,_0xb37024['get'](_0x3ecd42),_0xb37024[_0x45fd('0x20')](_0x43cab6))?_0x3f9b4b[0x1]['commentThread']&&_0x3f9b4b[0x1]['commentThread'][_0x45fd('0x25')]?null:_0x3f9b4b:null;}_0x593169[_0x45fd('0x39')]&&this[_0x45fd('0x48')](_0x593169);}['_refreshAttributeSuggestionsChain'](_0x1954be){if(0x0==_0x1954be['length'])return;const _0x4b917a=this['getSuggestions']({'skipNotAttached':!0x0})[_0x45fd('0x14')](_0x409657=>_0x45fd('0x126')==_0x409657[_0x45fd('0xda')]&&_0x409657[_0x45fd('0xd4')]),_0x386902=[],_0x19581a=new Map();for(const _0x177a9b of _0x4b917a){const _0x26590e=_0x59c5b9(_0x177a9b['attributes']);_0x19581a[_0x45fd('0x15c')](_0x26590e)||(_0x19581a['set'](_0x26590e,_0x386902['length']),_0x386902['push']([]));const _0x82d605=_0x19581a['get'](_0x26590e);_0x386902[_0x82d605][_0x45fd('0xd2')](_0x177a9b);}!function(){_0x386902[_0x45fd('0x7d')]((_0x49a19b,_0x51722b)=>{const _0x1a6cf3=_0x49a19b[0x0][_0x45fd('0xf6')],_0xcf893b=_0x51722b[0x0][_0x45fd('0xf6')];return _0x1a6cf3==_0xcf893b?_0x49a19b[0x0][_0x45fd('0x16b')]['groupId']<_0x51722b[0x0]['attributes'][_0x45fd('0x113')]?-0x1:0x1:_0x1a6cf3<_0xcf893b?-0x1:0x1;});for(const _0x578e30 of _0x386902)_0x578e30[_0x45fd('0x7d')]((_0xba8b9f,_0x1c5f8c)=>_0xba8b9f['id']<_0x1c5f8c['id']?-0x1:0x1);}();for(let _0x2b6ec4=0x0;_0x2b6ec4<_0x386902[_0x45fd('0x25')];_0x2b6ec4++){if(0x0==_0x386902[_0x2b6ec4][_0x45fd('0x25')])continue;const _0x16fa7d=[];for(let _0x4ac3cd=_0x2b6ec4+0x1;_0x4ac3cd<_0x386902[_0x45fd('0x25')];_0x4ac3cd++)0x0!=_0x386902[_0x4ac3cd][_0x45fd('0x25')]&&_0x3b2721(_0x386902[_0x2b6ec4],_0x386902[_0x4ac3cd])&&_0x16fa7d[_0x45fd('0xd2')](_0x4ac3cd);for(const _0x23921f of _0x16fa7d)_0x386902[_0x2b6ec4]=_0x386902[_0x2b6ec4][_0x45fd('0x2c')](_0x386902[_0x23921f]),_0x386902[_0x23921f]=[];}for(const _0x164584 of _0x386902)for(let _0x2d89b0=0x0;_0x2d89b0<_0x164584['length'];_0x2d89b0++)_0x164584[_0x2d89b0][_0x45fd('0xdc')]=_0x164584[_0x2d89b0+0x1]||null;for(const _0x23a9fa of _0x386902)for(let _0x438e6c=0x0;_0x438e6c<_0x23a9fa[_0x45fd('0x25')];_0x438e6c++)_0x23a9fa[_0x438e6c][_0x45fd('0xed')]=_0x23a9fa[_0x438e6c-0x1]||null;function _0x3b2721(_0x5f535e,_0x296d08){if(_0x5f535e[0x0][_0x45fd('0xc9')]!==_0x296d08[0x0]['author'])return!0x1;if(!function(_0x16d3c1,_0xd1e30d){if(!_0x16d3c1[_0x45fd('0x85')]&&!_0xd1e30d[_0x45fd('0x85')])return!0x0;if(_0x16d3c1[_0x45fd('0x85')]&&_0xd1e30d[_0x45fd('0x85')])return!0x1;if(_0x16d3c1['hasComments']&&_0xd1e30d[_0x45fd('0xf6')]<_0x16d3c1[_0x45fd('0x141')][_0x45fd('0xac')][_0x45fd('0x20')](0x0)['createdAt'])return!0x0;if(_0xd1e30d[_0x45fd('0x85')]&&_0x16d3c1['createdAt']<_0xd1e30d['commentThread'][_0x45fd('0xac')][_0x45fd('0x20')](0x0)[_0x45fd('0xf6')])return!0x0;return!0x1;}(_0x5f535e[0x0],_0x296d08[0x0]))return!0x1;const _0x311306=_0x1286d7(_0x5f535e[0x0][_0x45fd('0x16b')],'groupId'),_0x429d1b=_0x1286d7(_0x296d08[0x0]['attributes'],_0x45fd('0x113'));if(!_0x4a6831(_0x311306,_0x429d1b))return!0x1;return!!_0x5f535e[_0x45fd('0x171')](_0x58df2a=>_0x296d08['some'](_0x212ba5=>_0x58df2a['getFirstRange']()[_0x45fd('0x7e')](_0x212ba5[_0x45fd('0x17')]())))&&_0x296d08[_0x45fd('0x171')](_0x347286=>_0x5f535e[_0x45fd('0x1e')](_0x5e7f1e=>_0x347286[_0x45fd('0x17')]()[_0x45fd('0x7e')](_0x5e7f1e['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x4640fb){const _0x267741=Array['from'](_0x4640fb),_0x44743f=this[_0x45fd('0x90')]({'skipNotAttached':!0x0}),_0x89f883=_0x44743f[_0x45fd('0x14')](_0x5a1db8=>!_0x4640fb['has'](_0x5a1db8)),_0x4ad46a=new Map(_0x267741[_0x45fd('0x22')](_0x31a061=>[_0x31a061,this['_suggestionFactory'][_0x45fd('0x15f')](_0x31a061['type'],_0x31a061[_0x45fd('0x27')],_0x45fd('0x131'))])),_0x79b958=new Map(_0x44743f[_0x45fd('0x22')](_0x4ea132=>[_0x4ea132,_0x4ea132[_0x45fd('0x2f')]()]));for(let _0x534077=0x0;_0x534077<_0x267741[_0x45fd('0x25')];_0x534077++){if(_0x5715d0(this,_0x267741[_0x534077],_0x267741,_0x534077+0x1))return!0x0;}for(let _0x41ff47=0x0;_0x41ff47<_0x267741[_0x45fd('0x25')];_0x41ff47++){if(_0x5715d0(this,_0x267741[_0x41ff47],_0x89f883,0x0))return!0x0;}return!0x1;function _0x5715d0(_0x4a3606,_0x591993,_0x53bd71,_0x1522f2){for(let _0x20a133=_0x1522f2;_0x20a133<_0x53bd71[_0x45fd('0x25')];_0x20a133++){const _0x47182c=_0x53bd71[_0x20a133];if(_0x47182c['type']!==_0x591993[_0x45fd('0xda')]||_0x47182c[_0x45fd('0xc9')]['id']!==_0x591993[_0x45fd('0xc9')]['id']||_0x47182c[_0x45fd('0x27')]!==_0x591993[_0x45fd('0x27')])continue;if(!Vt(_0x591993,_0x47182c))continue;if('attribute'==_0x591993[_0x45fd('0xda')]&&_0x591993['data'][_0x45fd('0x173')]!=_0x47182c[_0x45fd('0x163')][_0x45fd('0x173')])continue;if(_0x45fd('0x126')==_0x591993[_0x45fd('0xda')]&&_0x4a3606['_isBlockAttribute'](_0x591993['data']['key']))continue;if(_0x45fd('0x51')==_0x591993[_0x45fd('0xda')]){const _0x1f9f31=_0x4a3606[_0x45fd('0xbc')][_0x45fd('0x159')],_0x4c1751=_0x591993[_0x45fd('0xcb')]();if(_0x4c1751&&(_0x1f9f31[_0x45fd('0x82')][_0x45fd('0x57')](_0x4c1751)||_0x1f9f31[_0x45fd('0x82')][_0x45fd('0x5b')](_0x4c1751)))continue;}const _0x3656f0=_0x4ad46a[_0x45fd('0x20')](_0x591993),_0xc49953=_0x79b958[_0x45fd('0x20')](_0x591993),_0x19c15a=_0x79b958[_0x45fd('0x20')](_0x47182c),_0x260ae9=_0x591993[_0x45fd('0x141')]&&_0x591993[_0x45fd('0x141')][_0x45fd('0x25')],_0x45f48e=_0x47182c[_0x45fd('0x141')]&&_0x47182c[_0x45fd('0x141')][_0x45fd('0x25')];if(!_0x260ae9&&_0x3656f0(_0x19c15a,_0xc49953))return _0x4a3606[_0x45fd('0xe3')](_0x47182c,_0x591993),_0x79b958[_0x45fd('0xee')](_0x591993),!0x0;if(!_0x45f48e&&_0x3656f0(_0xc49953,_0x19c15a))return _0x4a3606[_0x45fd('0xe3')](_0x591993,_0x47182c),_0x79b958[_0x45fd('0xee')](_0x47182c),!0x0;}return!0x1;}}[_0x45fd('0xe3')](_0x252fdb,_0xbc4bcc){if(_0x252fdb['isMultiRange'])for(const _0x161ec1 of _0xbc4bcc['getRanges']())_0x252fdb[_0x45fd('0x168')](_0x161ec1);else{const _0x87a1f5=_0xbc4bcc[_0x45fd('0x17')]()['end'];this['_setSuggestionRange'](_0x252fdb,this[_0x45fd('0xe')][_0x45fd('0x9a')](_0x252fdb['getFirstRange']()['start'],_0x87a1f5));}_0xbc4bcc['removeMarkers']();}[_0x45fd('0x34')](_0xd1b36c,_0x226a50){const _0x4342dc=_0xd1b36c[_0x45fd('0xfc')](_0x45fd('0x135'))||_0xd1b36c[_0x45fd('0xfc')](_0x45fd('0x126'))?_0x45fd('0x172'):_0xd1b36c['toUpperCase']();return _0x14698f(this[_0x45fd('0xbc')][_0x45fd('0x24')],_0x226a50+'_'+_0x4342dc+_0x45fd('0x61'));}[_0x45fd('0xd')](){const _0x4e898a=this[_0x45fd('0xbc')];_0x52f036(this[_0x45fd('0xe')],({left:_0x7760c9,entered:_0x2e65be})=>{const _0x265867=[];for(const _0x5bfed3 of _0x7760c9){const {group:_0x5f5493,type:_0x23dcdb}=this[_0x45fd('0x138')](_0x5bfed3[_0x45fd('0x32')]);if(_0x45fd('0x130')===_0x5f5493){_0x265867['push'](this['_getMarkerAnnouncementText'](_0x23dcdb,'LEAVE'));break;}}for(const _0x4bb1dc of _0x2e65be){const {group:_0x99581f,type:_0x1a3f7a}=this[_0x45fd('0x138')](_0x4bb1dc[_0x45fd('0x32')]);if(_0x45fd('0x130')===_0x99581f){_0x265867[_0x45fd('0xd2')](this['_getMarkerAnnouncementText'](_0x1a3f7a,_0x45fd('0xc7')));break;}}_0x265867['length']&&_0x4e898a['ui']['ariaLiveAnnouncer']['announce']('trackChanges',_0x265867[_0x45fd('0x131')]('\x20'));});}[_0x45fd('0xfa')](_0x383afd){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x3942de=this['editor'],_0x2ff54c=_0x3942de[_0x45fd('0x159')]['document'][_0x45fd('0x60')][_0x45fd('0x167')]();if(0x0==_0x2ff54c[_0x45fd('0x25')])return!0x1;const _0x2a7b87=[],_0x2fd5f9=_0x2ff54c[_0x45fd('0x14')](_0x249213=>_0x45fd('0x126')==_0x249213[_0x45fd('0xda')]),_0x551d3e=_0x2ff54c[_0x45fd('0x14')](_0x5eac91=>'insert'==_0x5eac91[_0x45fd('0xda')]&&_0x45fd('0x33')!=_0x5eac91['name']),_0x32f780=_0x2ff54c['filter'](_0x1e0669=>'remove'==_0x1e0669[_0x45fd('0xda')]&&'$text'!=_0x1e0669['name']);for(const _0x3e37ac of _0x2fd5f9)_0x2a7b87[_0x45fd('0xd2')]({'key':_0x3e37ac['attributeKey'],'newValue':_0x3e37ac[_0x45fd('0xec')],'oldValue':_0x3e37ac['attributeOldValue'],'range':_0x353732(_0x3e37ac['range'])});for(const _0x1df0c2 of _0x551d3e){const _0x5410cf=_0x32f780[_0x45fd('0x123')](_0x16c7d0=>_0x16c7d0[_0x45fd('0x108')][_0x45fd('0x7e')](_0x1df0c2[_0x45fd('0x108')]));_0x5410cf&&_0x2a7b87['push']({'key':'$elementName','newValue':_0x1df0c2[_0x45fd('0x32')],'oldValue':_0x5410cf['name'],'range':_0x3942de['model']['createRangeOn'](_0x1df0c2[_0x45fd('0x108')][_0x45fd('0xf3')])});}return 0x0!=_0x2a7b87['length']&&this[_0x45fd('0x11d')](_0x383afd,_0x2a7b87);function _0x353732(_0x25841c){return null==_0x25841c[_0x45fd('0x102')][_0x45fd('0x6f')]&&_0x25841c[_0x45fd('0x102')][_0x45fd('0x92')]==_0x25841c[_0x45fd('0x12d')]['nodeAfter']?Ut(_0x25841c[_0x45fd('0x12d')]['nodeAfter'],_0x3942de[_0x45fd('0x159')]):_0x25841c;}}[_0x45fd('0xa6')](_0xc03481){let _0x5eb711=!0x1;const _0x1aa136=this[_0x45fd('0xbc')][_0x45fd('0x159')][_0x45fd('0xab')][_0x45fd('0x60')][_0x45fd('0x160')]()[_0x45fd('0x14')](_0x204520=>_0x204520[_0x45fd('0x163')][_0x45fd('0x137')]&&_0x204520[_0x45fd('0x32')][_0x45fd('0xfc')](_0x45fd('0x87')));for(const _0x5c2d8a of _0x1aa136){const {subType:_0x125cf7,id:_0xf88fd0}=this[_0x45fd('0x138')](_0x5c2d8a[_0x45fd('0x32')]),_0x2d2175=_0x125cf7[_0x45fd('0x15')]('|')[0x0];for(const _0x5e97c2 of this[_0x45fd('0x90')]({'skipNotAttached':!0x0}))_0x5e97c2['id']!=_0xf88fd0&&'attribute'==_0x5e97c2[_0x45fd('0xda')]&&_0x5e97c2[_0x45fd('0x163')]&&_0x5e97c2[_0x45fd('0x163')][_0x45fd('0x69')]==_0x2d2175&&_0x5e97c2['getFirstRange']()[_0x45fd('0xb4')](_0x5c2d8a['data'][_0x45fd('0x137')])&&(this[_0x45fd('0xae')](_0x5e97c2,_0x5c2d8a[_0x45fd('0x163')][_0x45fd('0x137')],_0xc03481),_0x5eb711=!0x0);}return _0x5eb711;}['_recordAttributeChanges'](_0x33a8aa){if(null!==this[_0x45fd('0x56')])return void _0x33a8aa();const _0x256620=this[_0x45fd('0xbc')];this[_0x45fd('0x56')]=_0x256620['model']['document']['version'],_0x33a8aa();const _0x15c613=new Map();for(const _0x34e691 of _0x256620[_0x45fd('0x159')]['document'][_0x45fd('0x164')][_0x45fd('0x111')](this['_recordAttributeSuggestionsFromVersion']))if([_0x45fd('0xa7'),'addAttribute','removeAttribute',_0x45fd('0x5d')][_0x45fd('0xbf')](_0x34e691[_0x45fd('0xda')])){const _0x451603=_0x34e691[_0x45fd('0x16e')],_0x50cccc=_0x15c613[_0x45fd('0x20')](_0x451603)||[];_0x50cccc[_0x45fd('0xd2')](_0x34e691),_0x15c613[_0x45fd('0x5a')](_0x451603,_0x50cccc);}this[_0x45fd('0x56')]=null;for(const [_0x45a541,_0x3a5d1c]of _0x15c613){const _0x2c0d48=_0x1d4647();_0x256620['model'][_0x45fd('0x4b')](_0x45a541,_0x8cc31a=>{const _0x28be39=[];for(const _0x30732c of _0x3a5d1c){let _0xa51a7e,_0x4b518e,_0x50bf03,_0x90209d;if(_0x45fd('0xa7')==_0x30732c[_0x45fd('0xda')]){const _0x89ef35=_0x30732c;_0xa51a7e=Ut(_0x89ef35[_0x45fd('0x108')]['nodeAfter'],_0x256620['model']),_0x4b518e=_0x45fd('0x13a'),_0x50bf03=_0x89ef35[_0x45fd('0x9e')],_0x90209d=_0x89ef35[_0x45fd('0x40')];}else{const _0x50c43f=_0x30732c,_0x208b57=this[_0x45fd('0x122')](_0x50c43f['key']),_0x42162a=this[_0x45fd('0xcd')][_0x45fd('0x15c')](_0x50c43f['key']);if(!_0x208b57&&!_0x42162a)continue;_0xa51a7e=_0x208b57?Ut(_0x50c43f[_0x45fd('0x4d')][_0x45fd('0x12d')][_0x45fd('0xf3')],_0x256620[_0x45fd('0x159')]):_0x50c43f[_0x45fd('0x4d')],_0x4b518e=_0x50c43f[_0x45fd('0x69')],_0x50bf03=_0x45fd('0x4')==_0x30732c[_0x45fd('0xda')]?void 0x0:_0x50c43f['newValue'],_0x90209d=_0x50c43f[_0x45fd('0x173')];}this[_0x45fd('0x16a')](_0xa51a7e,_0x4b518e,_0x90209d,_0x50bf03,{'groupId':_0x2c0d48}),_0x28be39[_0x45fd('0xd2')]({'range':_0xa51a7e,'key':_0x4b518e,'newValue':_0x50bf03,'oldValue':_0x90209d});}this['_reduceExistingSuggestions'](_0x8cc31a,_0x28be39);});}}['_reduceExistingSuggestions'](_0x3edc71,_0x356bb3){if(0x0==_0x356bb3[_0x45fd('0x25')])return!0x1;let _0x17ccf0=!0x1;for(const _0x445b36 of _0x356bb3){const _0x4a8803=this[_0x45fd('0xfe')](_0x445b36['range'],_0x45fd('0x126'))[_0x45fd('0x14')](_0x3286a6=>!_0x3286a6[_0x45fd('0x105')][_0x45fd('0xaa')])[_0x45fd('0x22')](_0x354155=>_0x354155['suggestion']),_0x18480b=_0x59c5b9({'newValue':_0x445b36[_0x45fd('0x2a')]});_0x4a8803['filter'](_0x2d1633=>{const [_0x1dadc8,_0x32e0c6]=_0x2d1633[_0x45fd('0x27')]['split']('|');return _0x1dadc8==_0x445b36[_0x45fd('0x69')]&&_0x32e0c6!=_0x18480b;})[_0x45fd('0x3f')](_0x47e345=>{this['_reduceSuggestionAttributeRange'](_0x47e345,_0x445b36[_0x45fd('0x4d')],_0x3edc71),_0x17ccf0=!0x0;});}return _0x17ccf0;}[_0x45fd('0xae')](_0x4c57f8,_0x24fa4f,_0x4fe5c7){const _0x51a1e2=_0x4c57f8[_0x45fd('0x17')]()[_0x45fd('0x149')](_0x24fa4f);0x0!==_0x51a1e2[_0x45fd('0x25')]?0x1!==_0x51a1e2['length']?this[_0x45fd('0x14b')](_0x4c57f8,_0x24fa4f[_0x45fd('0x12d')],_0x24fa4f['end']):this[_0x45fd('0xdf')](_0x4c57f8,_0x51a1e2[0x0]):_0x4fe5c7[_0x45fd('0x13d')](_0x4c57f8[_0x45fd('0x116')]());}}class $t{constructor(_0xf6b416){this[_0x45fd('0x100')]=_0xf6b416,this[_0x45fd('0xe')]=_0xf6b416['model'],this[_0x45fd('0xe9')]=new Map(),this[_0x45fd('0xdb')]=new Map(),this['_registerDefaultCallbacks']();}[_0x45fd('0x3b')](_0x2ac999,_0x5e3102,_0x2b9518,_0x23510e,_0x6cc50f,_0x5f29d9){return new _0x1de743(this['_model'],{'type':_0x2ac999,'subType':_0x5e3102,'id':_0x2b9518,'author':_0x23510e,'creator':_0x23510e,'attributes':_0x6cc50f,'onAttributesChange':_0x5f29d9,'onAccept':(..._0x1e761a)=>this[_0x45fd('0x15f')](_0x2ac999,_0x5e3102,'accept')(..._0x1e761a),'onDiscard':(..._0x4154a8)=>this[_0x45fd('0x15f')](_0x2ac999,_0x5e3102,'discard')(..._0x4154a8)});}[_0x45fd('0xf8')](_0x5807f3,_0x56e632,_0x4e472e,_0x544916){const _0x3f37c3=_0x5807f3+':'+_0x56e632+':'+_0x4e472e;this[_0x45fd('0xe9')][_0x45fd('0x5a')](_0x3f37c3,_0x544916);}[_0x45fd('0x15f')](_0x368f6d,_0x6533a1,_0x40c542){const _0x5dd250=_0x368f6d+':'+_0x6533a1+':'+_0x40c542;return this['_customCallbacks']['get'](_0x5dd250)||this[_0x45fd('0xdb')][_0x45fd('0x20')](_0x368f6d+':'+_0x40c542);}[_0x45fd('0x104')](){const _0x17e763=()=>!0x1,_0x16dea8=_0x3fd29e=>{_0x3fd29e[_0x45fd('0x7d')]((_0x28794a,_0x91b46c)=>_0x28794a['start'][_0x45fd('0x165')](_0x91b46c[_0x45fd('0x12d')])?0x1:-0x1),this['_model']['change'](_0x13bbf6=>{for(const _0x3849f9 of _0x3fd29e){let _0x3afcb1;_0x3afcb1=_0x3849f9['end'][_0x45fd('0xbb')]&&_0x3849f9['end']['parent']==_0x3849f9[_0x45fd('0x12d')][_0x45fd('0xf3')]?_0x13bbf6['createSelection'](_0x3849f9[_0x45fd('0x12d')][_0x45fd('0xf3')],'on'):_0x13bbf6[_0x45fd('0x1f')](_0x3849f9),this[_0x45fd('0xe')]['deleteContent'](_0x3afcb1,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x1715eb=(_0x5b9bc9,_0x3b8694)=>{_0x3b8694&&this[_0x45fd('0xe')]['change'](_0x19f876=>{const {commandName:_0x457bf5,commandParams:_0x5dc915=[]}=_0x3b8694,_0x228e28=_0x5b9bc9[_0x45fd('0x22')](_0x1eb7aa=>(Tt(_0x1eb7aa)&&(_0x1eb7aa=this[_0x45fd('0xe')]['createRange'](_0x1eb7aa[_0x45fd('0x102')])),_0x1eb7aa))[_0x45fd('0x14')](_0x96f869=>'$graveyard'!==_0x96f869[_0x45fd('0x115')][_0x45fd('0xba')]);if(_0x228e28[_0x45fd('0x25')]<0x1)return;const _0x3771de=Array[_0x45fd('0x19')](this[_0x45fd('0xe')][_0x45fd('0xab')][_0x45fd('0x91')][_0x45fd('0x2f')]())[_0x45fd('0x22')](_0x43e5a4=>_0x1586d7[_0x45fd('0x121')](_0x43e5a4));_0x19f876[_0x45fd('0x125')](_0x228e28);for(const _0x3df302 of this[_0x45fd('0x100')][_0x45fd('0x16f')][_0x45fd('0x16f')]())_0x3df302[_0x45fd('0xa0')]();_0x5dc915['push']({'forceDefaultExecution':!0x0}),this[_0x45fd('0x100')][_0x45fd('0x37')](_0x457bf5,..._0x5dc915);const _0x34c039=_0x3771de['filter'](_0x38ed95=>_0x45fd('0x6b')!=_0x38ed95[_0x45fd('0x115')][_0x45fd('0xba')]);_0x34c039[_0x45fd('0x25')]>0x0&&_0x19f876[_0x45fd('0x125')](_0x34c039);for(const _0x75d566 of _0x3771de)_0x75d566['detach']();});},_0x192c9e=(_0x8ce453,_0x427b25)=>0x1==_0x8ce453[_0x45fd('0x25')]&&0x1==_0x427b25[_0x45fd('0x25')]&&_0x8ce453[0x0]['end'][_0x45fd('0x7e')](_0x427b25[0x0][_0x45fd('0x12d')]),_0x4d2e0c=(_0x198181,_0x5b45d9,_0x242f8c,_0x581f00)=>Ot(_0x198181,_0x5b45d9,_0x242f8c,_0x581f00,this[_0x45fd('0xe')])?[_0x198181,_0x5b45d9]:Ot(_0x5b45d9,_0x198181,_0x581f00,_0x242f8c,this[_0x45fd('0xe')])?[_0x5b45d9,_0x198181]:null;this[_0x45fd('0xdb')][_0x45fd('0x5a')](_0x45fd('0xb8'),_0x17e763),this[_0x45fd('0xdb')][_0x45fd('0x5a')]('insertion:discard',_0x16dea8),this[_0x45fd('0xdb')][_0x45fd('0x5a')](_0x45fd('0x7b'),_0x192c9e),this[_0x45fd('0xdb')]['set'](_0x45fd('0x14a'),_0x4d2e0c),this[_0x45fd('0xdb')][_0x45fd('0x5a')](_0x45fd('0x114'),_0x16dea8),this['_defaultCallbacks'][_0x45fd('0x5a')](_0x45fd('0x145'),_0x17e763),this[_0x45fd('0xdb')][_0x45fd('0x5a')]('deletion:join',_0x192c9e),this[_0x45fd('0xdb')][_0x45fd('0x5a')](_0x45fd('0xb5'),_0x4d2e0c),this['_defaultCallbacks'][_0x45fd('0x5a')](_0x45fd('0x12f'),_0x1715eb),this[_0x45fd('0xdb')]['set']('formatInline:discard',_0x17e763),this[_0x45fd('0xdb')][_0x45fd('0x5a')](_0x45fd('0x4c'),_0x192c9e),this['_defaultCallbacks']['set'](_0x45fd('0xf7'),_0x17e763),this['_defaultCallbacks'][_0x45fd('0x5a')]('formatBlock:accept',_0x1715eb),this[_0x45fd('0xdb')][_0x45fd('0x5a')]('formatBlock:discard',_0x17e763),this[_0x45fd('0xdb')][_0x45fd('0x5a')](_0x45fd('0x3'),_0x192c9e),this[_0x45fd('0xdb')][_0x45fd('0x5a')](_0x45fd('0x15d'),_0x17e763),this[_0x45fd('0xdb')][_0x45fd('0x5a')](_0x45fd('0x151'),_0x17e763),this[_0x45fd('0xdb')]['set'](_0x45fd('0x14c'),(_0x5941eb,_0x290939)=>{if(!_0x290939)return;const _0x2fda40=this[_0x45fd('0x100')][_0x45fd('0x12b')]['get'](p);this[_0x45fd('0xe')]['change'](_0x3a0afc=>{if(_0x45fd('0x13a')==_0x290939[_0x45fd('0x69')])for(const _0x34c68b of _0x5941eb){const _0xe1f34b=_0x34c68b[_0x45fd('0x12d')]['nodeAfter'],_0x1acd4a=_0x290939[_0x45fd('0x173')];_0x3a0afc['rename'](_0xe1f34b,_0x1acd4a);}else{if(_0x2fda40['_isBlockAttribute'](_0x290939[_0x45fd('0x69')]))for(const _0x561409 of _0x5941eb)void 0x0!==_0x290939[_0x45fd('0x173')]?_0x3a0afc[_0x45fd('0x53')](_0x290939['key'],_0x290939[_0x45fd('0x173')],_0x561409['start'][_0x45fd('0xf3')]):_0x3a0afc['removeAttribute'](_0x290939[_0x45fd('0x69')],_0x561409[_0x45fd('0x12d')][_0x45fd('0xf3')]);else for(const _0x5bdbc5 of _0x5941eb)_0x290939[_0x45fd('0x173')]?_0x3a0afc[_0x45fd('0x53')](_0x290939[_0x45fd('0x69')],_0x290939[_0x45fd('0x173')],_0x5bdbc5):_0x3a0afc[_0x45fd('0x4')](_0x290939[_0x45fd('0x69')],_0x5bdbc5);}});}),this[_0x45fd('0xdb')][_0x45fd('0x5a')]('attribute:join',_0x192c9e);}}function Bt(_0x258053,_0x16efe8,_0x1e8813){for(const _0x43ee26 of _0x16efe8[_0x45fd('0x92')][_0x45fd('0x76')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x43ee26[_0x45fd('0x115')]==_0x43ee26)return!0x1;if(!_0x1e8813[_0x45fd('0xcc')](_0x43ee26))return!0x1;if(_0x258053[_0x45fd('0x57')](_0x43ee26)||_0x258053[_0x45fd('0x5b')](_0x43ee26))return!0x0;}return!0x1;}function Tt(_0x4bff3a){return _0x4bff3a['end']['parent']==_0x4bff3a['start'][_0x45fd('0xf3')]&&_0x4bff3a['end'][_0x45fd('0x16c')];}function xt(_0x42265c,_0x199fa9,_0x380c3c,_0x1c5634){const _0x1fc129=_0x234229=>!_0x234229[_0x45fd('0x80')]['is'](_0x45fd('0x4f'))&&!_0x1c5634[_0x45fd('0x57')](_0x234229['item']),_0x11accb=_0x42265c[_0x45fd('0x12d')][_0x45fd('0x94')](_0x1fc129),_0x42cee9=_0x42265c[_0x45fd('0x102')][_0x45fd('0x94')](_0x1fc129,{'direction':'backward'});return(!_0x42265c[_0x45fd('0x12d')]['isEqual'](_0x11accb)||!_0x42265c[_0x45fd('0x102')][_0x45fd('0x7e')](_0x42cee9))&&(_0x11accb[_0x45fd('0x165')](_0x42cee9)?_0x380c3c['updateMarker'](_0x199fa9,{'range':_0x380c3c[_0x45fd('0x9a')](_0x11accb,_0x42cee9)}):_0x380c3c[_0x45fd('0x13d')](_0x199fa9),!0x0);}function Et(_0xcfe37c){return _0x59c5b9(_0xcfe37c);}function Rt(_0x1f3a89){const _0x2f3830=_0x1f3a89[_0x45fd('0x12d')][_0x45fd('0xf3')];return _0x2f3830&&_0x2f3830['is'](_0x45fd('0xe0'));}function Ut(_0x1c1a14,_0x3d48c7){const _0x272bc7=_0x3d48c7['schema'][_0x45fd('0x57')](_0x1c1a14)||_0x3d48c7[_0x45fd('0x82')][_0x45fd('0x166')](_0x1c1a14);return _0x3d48c7[_0x45fd('0x9a')](_0x3d48c7[_0x45fd('0x65')](_0x1c1a14,_0x45fd('0xa3')),_0x272bc7?_0x3d48c7[_0x45fd('0x10b')](_0x1c1a14):_0x3d48c7['createPositionAt'](_0x1c1a14,_0x45fd('0x102')));}function Ot(_0x511b52,_0x18a986,_0x30f209,_0x1d73b8,_0x1eaa44){if(!Vt(_0x511b52,_0x18a986))return!0x1;if(_0x30f209[_0x45fd('0x102')][_0x45fd('0x7e')](_0x1d73b8['start']))return!0x0;if(_0x511b52[_0x45fd('0xda')]!=_0x18a986[_0x45fd('0xda')])return!0x1;if(!_0x30f209[_0x45fd('0x102')][_0x45fd('0x155')](_0x1d73b8[_0x45fd('0x12d')]))return!0x1;const _0x242f02=_0x1eaa44[_0x45fd('0x9a')](_0x30f209[_0x45fd('0x102')],_0x1d73b8[_0x45fd('0x12d')])[_0x45fd('0xe5')]();for(const _0x94a6a1 of _0x242f02)if(['elementStart','elementEnd']['includes'](_0x94a6a1['type'])&&_0x1eaa44[_0x45fd('0x82')][_0x45fd('0x5b')](_0x94a6a1[_0x45fd('0x80')]))return!0x1;return!0x0;}function Vt(_0x4ef9a2,_0x546c28){return!(!_0x4ef9a2[_0x45fd('0xd4')]||!_0x546c28['_isDataLoaded'])&&_0x4a6831(_0x4ef9a2[_0x45fd('0x16b')],_0x546c28[_0x45fd('0x16b')]);}function Gt(_0x384500,_0x8fb9a6){const _0x479b33=Ft(_0x384500[_0x45fd('0x16b')]),_0x588476=Ft(_0x8fb9a6);if(!_0x384500[_0x45fd('0xd4')])return!0x1;for(const _0x4b5b6b of Object[_0x45fd('0x97')](_0x588476))if(!_0x4a6831(_0x479b33[_0x4b5b6b],_0x588476[_0x4b5b6b]))return!0x1;return!0x0;}function Ft(_0x48cfad){const _0xcff98e=Object[_0x45fd('0x133')]({},_0x48cfad);return delete _0xcff98e[_0x45fd('0x1d')],delete _0xcff98e['tablePasteChainId'],_0xcff98e;}function Pt(_0x427e31){return _0x45fd('0x126')==_0x427e31['type']?_0x427e31[_0x45fd('0x27')]['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;}
|