@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231220.0 → 0.0.0-nightly-20231221.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-20231221.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-20231221.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231221.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 _0x2797=['getLastMatchingPosition','oldValue','_cutOutSuggestionMarker','addMarker:suggestion','TrackChangesEditing','createPositionAt','_refreshAttributeSuggestionsChain','get','_rangeIsInLocalUserInsertion','author','markAttributeChange','authorName','buildSuggestion','howMany','_suggestionFactory','ck-suggestion-marker-','nodeAfter','add','fire','_breakSuggestionMarker','attributes','_commentsRepository','config','markMultiRangeBlockFormat','updateSuggestion','suggestion:','removeMarker:suggestion:formatBlock','markInsertion','from','getSuggestion','attributeOldValue','_isDataLoaded','formatBlock:join','_reduceExistingSuggestions','startsWith','getAncestors','trackChanges.trackFormatChanges','track-changes-command-not-found','ready','_getSuggestionData','pop','@external','_registerBlockAttribute','format','isCollapsed','filter','$elementName','return','newRange','keys','external:','always','ck-suggestion-marker--active','isAtStart','isBefore','getUser','_setSuggestionData','detach','attribute','then','isIntersecting','_handleNewSuggestionMarker','containsRange','_setSuggestionRange','insertion:accept','getAttribute','group','for','plugins','newValue','join','size','Users','formatInline:join','consumable','getItems','accept','getSuggestions','head','getFirstRange','change:data','track-changes-adapter-missing-getsuggestion','rejected','formatBlock','_registerDefaultCallbacks','track-changes-enable-command-twice','isMultiRange','registerPostFixer','formatBlock:discard','acceptSuggestion','suggestionChanged','_recordAttributeSuggestionsFromVersion','tablePasteChainId','isOwn','dataReady','key','isDocumentOperation','formatInline','isObject','_SUGGESTION_ANNOUNCEMENT','isAfter','_mergeNestedSuggestions','backward','hasCommentThread','rootName','getNearestSelectionRange','getShiftedBy','suggestionUnloaded','widget','deletion:join','addMarkerName','_adapter','markDeletion','originalSuggestionId','$text','isExternal','discardSelectedSuggestions','suggestion','enableCommand','substring','commentThread','split','marker-count','error-saving-suggestion-data-suggestion-discarded','attribute:accept','after','_refreshSuggestionsChain','deleteContent','skipNestingCheck','markerName','reconvertMarker','formatBlock:accept','document','map','multi','containsRangeInObject','root','applyOperation','isInsideObject','getRanges','rethrowUnexpectedError','includes','selection','addComment','multipleBlocks','_model','_defaultCallbacks','markerNameToElements','isAtEnd','discardAllSuggestions','addHighlight','_isForcedDefaultExecutionBlock','oldRange','isIntersectingWithRange','change','addMarker:suggestion:formatBlock','notReady','_trackFormatChanges','ck-suggestion-marker-formatBlock','markBlockFormat','ck-suggestion-marker','_suggestionState','insertContent','getFirstMarker','insertion','enableReadOnlyMode','LEAVE','removeClass','trackChangesCommand','item','editing','targetPosition','subType','isNextTo','formatBlock:','_enableDefaultAttributesIntegration','getOperations','hasComments','requires','_createSuggestion','getAllAdjacentSuggestions','fetchCommentThread','showSuggestionHighlights','length','forceDefaultExecution','_customCallbacks','formatInline:','substr','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.','track-changes-user-not-found','mapper','parent','find','delete','createRange','default','PendingActions','resolve','some','getChangedMarkers','stop','getChanges','_suggestions','has','addCommentThread','_editor','enqueueChange','_processAttributeSuggestions','getDifference','deletion:chain','createElement','setAttribute','removed','addMarker:suggestion:attribute','ck-suggestion-marker-formatInline','rename','fromRange','move','ENTER','isEqual','name','nodeBefore','removeMarkers','isBlock','PENDING_ACTION_SUGGESTION','ariaLiveAnnouncer','_descriptionFactory','_addSuggestionMarker','assign','data','suggestionLoaded','$textProxy','attributeNewValue','_recordAttributeChanges','schema','position','adapter','groupId','every','trackChanges.mergeNestedSuggestions','FORMATTING','upcast','markMultiRangeInsertion','comments','addSuggestionData','_splitMarkerName','discard','dataToMarker','formatInline:chain','unshift','locale','CommentsRepository','markerToData','stopListening','newName','isSelectable','previous','_getAuthorFromId','containsItem','addRange','_inlineAttributeKeys','isUndo','editor','unbind','discardSuggestion','data-suggestion','_isBlockAttribute','push','trackChanges','define','toViewElement','high','values','markInlineFormat','next','type','collaboration.channelId','_processAttributeChanges','oldName','insertion:chain','meta','insertion:join','clear','remove','_saved','_enabledCommands','_joinSuggestions','getMultiRangeId','getWalker','markerToHighlight','getRange','isInContent','getSuggestionCallback','pluginName','$graveyard','_removeSuggestion','deletion:discard','setTo','batch','_checkSuggestionCorrectness','deletion','hasSuggestion','_onDiscard','differ','getContainedElement','containerElement','start','version','commands','isLimit','_getMarkerAnnouncementText','execute','setSelection','removeAttribute','dataDowncast','element','creator','markerReady','highest','insertion:discard','changeAttribute','range','_getExternalAuthor','deletion:accept','attribute:','authoredAt','activeMarkers','suggestion:attribute:','change:_saved','containsPosition','unbindElementFromMarkerName','end','value','announce','addClass','_joinWithAdjacentSuggestions','getIntersection','refresh','splice','_registerInlineAttribute','formatBlock:chain','listenTo','markMultiRangeDeletion','getCustomProperty','model','consume','formatInline:discard','isRemovable','conversion','fromCharCode','_updateSuggestionData','set','documentSelection','forward','change:activeMarkers','writer','options','sort','updateMarker','addSuggestion','suggestion-type','removeMarker','track-changes-suggestion-data-mismatch','formatGroupId','deletion:','before','lowest','_reduceSuggestionAttributeRange','addUser','never','createdAt','_findSuggestions','_initAriaMarkerChangeAnnouncements','low','editingDowncast','acceptAllSuggestions','track-changes-suggestion-not-found','insert','_blockAttributeKeys','toUpperCase'];(function(_0x3a0d62,_0x279757){const _0x27cf51=function(_0x3e1b45){while(--_0x3e1b45){_0x3a0d62['push'](_0x3a0d62['shift']());}};_0x27cf51(++_0x279757);}(_0x2797,0x158));const _0x27cf=function(_0x3a0d62,_0x279757){_0x3a0d62=_0x3a0d62-0x0;let _0x27cf51=_0x2797[_0x3a0d62];return _0x27cf51;};import{Plugin as _0x1ac874,PendingActions as _0x31c61c}from'ckeditor5/src/core.js';import{LiveRange as _0x58a33b}from'ckeditor5/src/engine.js';import{CKEditorError as _0x179a44,uid as _0x487386,priorities as _0x471936,logWarning as _0x1154c3}from'ckeditor5/src/utils.js';import{toWidget as _0x4a8b4d}from'ckeditor5/src/widget.js';import{Users as _0x4a392f,hashObject as _0x4f0889,surroundingMarkersDetector as _0x5d222d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1c4a58 from'./commands/trackchangescommand.js';import _0x478519 from'./commands/acceptsuggestioncommand.js';import _0x48fd06 from'./commands/discardsuggestioncommand.js';import _0x1608af from'./commands/executeonallsuggestionscommand.js';import _0x469a01 from'./commands/executeonselectedsuggestionscommand.js';import _0x3076e1 from'./suggestion.js';import _0x2f5c23 from'./suggestiondescriptionfactory.js';import _0x8e7f2c from'./integrations/aiassistant.js';import _0x779425 from'./integrations/alignment.js';import _0x5636cc from'./integrations/basicstyles.js';import _0x29351c from'./integrations/blockquote.js';import _0x19a2f3 from'./integrations/ckbox.js';import _0x262dc8 from'./integrations/codeblock.js';import _0x1e8e70 from'./integrations/comments.js';import _0x21817a from'./integrations/deletecommand.js';import _0x332559 from'./integrations/documentlist.js';import _0x16438b from'./integrations/documentlistproperties.js';import _0x5e4963 from'./integrations/entercommand.js';import _0x454ccc from'./integrations/findandreplace.js';import _0x4a6a06 from'./integrations/font.js';import _0x54ca36 from'./integrations/formatpainter.js';import _0xbbecf4 from'./integrations/heading.js';import _0x24b6c3 from'./integrations/highlight.js';import _0x3ddf45 from'./integrations/horizontalline.js';import _0x1df66a from'./integrations/htmlembed.js';import _0x4fb95a from'./integrations/image.js';import _0x150a3d from'./integrations/imagereplace.js';import _0x1d6409 from'./integrations/imagestyle.js';import _0x16dfe5 from'./integrations/importword.js';import _0x2991bd from'./integrations/indent.js';import _0x4aad24 from'./integrations/inputcommand.js';import _0x2267a7 from'./integrations/link.js';import _0x3ee597 from'./integrations/list.js';import _0x12f360 from'./integrations/listproperties.js';import _0x1c98a6 from'./integrations/mediaembed.js';import _0x1894db from'./integrations/mention.js';import _0x3a492d from'./integrations/pagebreak.js';import _0x108799 from'./integrations/paragraph.js';import _0x350a91 from'./integrations/removeformat.js';import _0x17b18f from'./integrations/restrictededitingmode.js';import _0x3ed334 from'./integrations/shiftentercommand.js';import _0xc7bd5d from'./integrations/standardeditingmode.js';import _0x470a91 from'./integrations/style.js';import _0x273c97 from'./integrations/table.js';import _0x65f95a from'./integrations/tablemergesplit.js';import _0x4f4d66 from'./integrations/tableheadings.js';import _0x5604a2 from'./integrations/tableclipboard.js';import _0x4b8f4b from'./integrations/tablecolumnresize.js';import _0x7fec1f from'./integrations/template.js';import _0x24c588 from'./integrations/tableofcontents.js';import _0x355539 from'./integrations/title.js';import _0x2485b4 from'./integrations/undo.js';import _0x1f5d31 from'./integrations/tablecaption.js';import _0x584f32 from'./integrations/tableproperties.js';import{getTranslation as _0x298422}from'./utils/common-translations.js';import{isEqual as _0x4d7397,omit as _0x4edf07}from'lodash-es';export const renameAttributeKey=_0x27cf('0x52');export default class p extends _0x1ac874{static get[_0x27cf('0xd6')](){return['CommentsRepository',_0x4a392f,_0x31c61c,_0x8e7f2c,_0x779425,_0x5636cc,_0x29351c,_0x19a2f3,_0x262dc8,_0x1e8e70,_0x21817a,_0x332559,_0x16438b,_0x5e4963,_0x454ccc,_0x4a6a06,_0x54ca36,_0xbbecf4,_0x24b6c3,_0x3ddf45,_0x1df66a,_0x4fb95a,_0x1d6409,_0x150a3d,_0x16dfe5,_0x2991bd,_0x4aad24,_0x2267a7,_0x3ee597,_0x12f360,_0x1c98a6,_0x1894db,_0x3a492d,_0x108799,_0x350a91,_0x17b18f,_0x3ed334,_0xc7bd5d,_0x470a91,_0x273c97,_0x65f95a,_0x4f4d66,_0x1f5d31,_0x5604a2,_0x4b8f4b,_0x24c588,_0x584f32,_0x7fec1f,_0x355539,_0x2485b4];}static get[_0x27cf('0x149')](){return _0x27cf('0x28');}constructor(_0x3ee7b0){function _0xbf1e23(_0x3aa9b7){return _0x3aa9b7[_0x27cf('0xa9')](_0x17f784=>String[_0x27cf('0x5')](_0x17f784))[_0x27cf('0x6a')]('');}super(_0x3ee7b0),this[_0x27cf('0x7f')]=null,this[_0x27cf('0x7')](_0x27cf('0x16a'),[]),this['on'](_0x27cf('0xa'),(_0x21cf80,_0x5f1840,_0x4ab9b6,_0x3e2d46)=>{this[_0x27cf('0xb5')][_0x27cf('0xbe')](()=>{for(const _0x4064b3 of[..._0x3e2d46,..._0x4ab9b6])this['_model']['markers'][_0x27cf('0xef')](_0x4064b3)&&_0x3ee7b0[_0x27cf('0xce')][_0x27cf('0xa6')](_0x4064b3);});}),this[_0x27cf('0x106')]=new _0x2f5c23(this[_0x27cf('0x12a')][_0x27cf('0x0')][_0x27cf('0x10e')],this[_0x27cf('0x12a')][_0x27cf('0x11e')]),this[_0x27cf('0x93')]=null,this[_0x27cf('0x32')]=new $t(this[_0x27cf('0x12a')]),this[_0x27cf('0xee')]=new Map(),this[_0x27cf('0x39')]=_0x3ee7b0[_0x27cf('0x68')][_0x27cf('0x2b')](_0x27cf('0x11f')),this[_0x27cf('0x141')]=new Set(),this[_0x27cf('0xb5')]=this[_0x27cf('0x12a')][_0x27cf('0x0')],this[_0x27cf('0xc5')]=new WeakMap(),this[_0x27cf('0xbb')]=!0x1,this[_0x27cf('0x22')]=new Set([_0x27cf('0x52')]),this['_inlineAttributeKeys']=new Set(),_0x3ee7b0[_0x27cf('0x3a')][_0x27cf('0x131')]('trackChanges.trackFormatChanges',_0x27cf('0xe7')),this['_trackFormatChanges']=_0x3ee7b0[_0x27cf('0x3a')][_0x27cf('0x2b')](_0x27cf('0x48')),_0x3ee7b0['config']['define'](_0x27cf('0x113'),!0x0),this[_0x27cf('0x89')]=_0x3ee7b0[_0x27cf('0x3a')]['get'](_0x27cf('0x113')),this[_0x27cf('0xcc')]=new _0x1c4a58(_0x3ee7b0,this['_enabledCommands']),this[_0x27cf('0x1c')](),this[_0xbf1e23([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xbf1e23([0x34,0x30,0x34,0x36,0x32,0x34,0x34,0x30]);}['init'](){const _0x30186b=this['editor'],_0x4ef1c8=(_0x5a978e,_0x25fa5e)=>{if(_0x27cf('0x5e')!=_0x5a978e)return _0x27cf('0x33')+_0x5a978e;const _0x445785=_0x25fa5e['split']('|')[0x0];return this[_0x27cf('0x12e')](_0x445785)?_0x27cf('0xc2'):_0x27cf('0xfa');};_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x1e'))[_0x27cf('0x145')]({'model':_0x27cf('0x99'),'view':_0x33ec74=>{const {id:_0x2d6f7d,type:_0x28762c,subType:_0x50c266}=this['_splitMarkerName'](_0x33ec74[_0x27cf('0xa5')]),_0x3f6f36=['ck-suggestion-marker',_0x4ef1c8(_0x28762c,_0x50c266)];let _0xcaf888=0xbb8;return this['activeMarkers'][_0x27cf('0xb1')](_0x33ec74[_0x27cf('0xa5')])&&(_0x3f6f36[_0x27cf('0x12f')]('ck-suggestion-marker--active'),_0xcaf888=0xbc2),_0x27cf('0x150')==_0x28762c&&(_0xcaf888+=0x5),{'classes':_0x3f6f36,'attributes':{'data-suggestion':_0x2d6f7d},'priority':_0xcaf888};}}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x15e'))[_0x27cf('0x35')](_0x16bb01=>{_0x16bb01['on'](_0x27cf('0x27'),(_0x10c788,_0x2a2fbb,_0x43d40b)=>{if(!_0x43d40b[_0x27cf('0xc')][_0x27cf('0xda')])return;const _0x4eafa6=_0x2a2fbb['item'];if(!_0x4eafa6)return;const _0x1f17ca=_0x43d40b[_0x27cf('0xe2')][_0x27cf('0x132')](_0x4eafa6);_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')][_0x27cf('0x86')](_0x4eafa6)&&_0x1f17ca&&!_0x1f17ca[_0x27cf('0x17b')](_0x27cf('0x90'))&&_0x1f17ca['is'](_0x27cf('0x155'))&&_0x4a8b4d(_0x1f17ca,_0x43d40b[_0x27cf('0xb')]);},{'priority':_0x27cf('0x133')});}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')]('dataDowncast')['markerToHighlight']({'model':_0x27cf('0x99'),'view':(_0x2e7b5d,_0x479f73)=>{if(!_0x479f73[_0x27cf('0xc')][_0x27cf('0xda')])return null;const {type:_0xcaabd,subType:_0x2cf8a7}=this[_0x27cf('0x119')](_0x2e7b5d['markerName']);return{'classes':[_0x27cf('0xc4'),_0x4ef1c8(_0xcaabd,_0x2cf8a7)],'priority':0xbb8};}});const _0x1bfcc7=({showActiveMarkers:_0x4b13a8=!0x0,isAttributeSuggestion:_0x805965=!0x1}={})=>(_0x3dbf5c,_0x2f7c84,_0xda3694)=>{if(!_0x2f7c84['item'])return;const {id:_0x5f106b}=this[_0x27cf('0x119')](_0x2f7c84[_0x27cf('0xa5')]);if(_0x805965){const _0x30b494=Pt(this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x5f106b));if(!this[_0x27cf('0x12e')](_0x30b494))return;}if(_0x2f7c84[_0x27cf('0xcd')]['is'](_0x27cf('0xb2')))return void _0xda3694[_0x27cf('0x6e')][_0x27cf('0x1')](_0x2f7c84[_0x27cf('0xcd')],_0x3dbf5c[_0x27cf('0x100')]);const _0x1e6903=_0xda3694[_0x27cf('0xe2')][_0x27cf('0x132')](_0x2f7c84['item']);if(_0x2f7c84['item']['is'](_0x27cf('0x15f'))&&_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')][_0x27cf('0x103')](_0x2f7c84[_0x27cf('0xcd')])&&!_0x1e6903[_0x27cf('0x17b')]('addHighlight')){_0xda3694[_0x27cf('0xb')][_0x27cf('0x172')](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x1e6903),_0xda3694[_0x27cf('0xb')][_0x27cf('0xf7')](_0x27cf('0x12d'),_0x5f106b,_0x1e6903),_0xda3694['mapper']['bindElementToMarker'](_0x1e6903,_0x2f7c84[_0x27cf('0xa5')]),_0x4b13a8&&(this[_0x27cf('0x16a')][_0x27cf('0xb1')](_0x2f7c84[_0x27cf('0xa5')])?_0xda3694[_0x27cf('0xb')][_0x27cf('0x172')](_0x27cf('0x58'),_0x1e6903):_0xda3694[_0x27cf('0xb')][_0x27cf('0xcb')](_0x27cf('0x58'),_0x1e6903));for(const _0x3bd66b of _0x30186b[_0x27cf('0x0')]['createRangeIn'](_0x2f7c84['item'])[_0x27cf('0x6f')]())_0xda3694[_0x27cf('0x6e')]['consume'](_0x3bd66b,_0x3dbf5c['name']);_0xda3694[_0x27cf('0x6e')]['consume'](_0x2f7c84['item'],_0x3dbf5c[_0x27cf('0x100')]);}};_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x15e'))[_0x27cf('0x35')](_0x1f25bf=>{_0x1f25bf['on'](_0x27cf('0xbf'),(_0x488c65,_0x3e2af6,_0x190000)=>{_0x190000[_0x27cf('0xc')]['showSuggestionHighlights']&&_0x1bfcc7({'showActiveMarkers':!0x1})(_0x488c65,_0x3e2af6,_0x190000);},{'priority':'highest'});}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x15e'))[_0x27cf('0x35')](_0x12d7f8=>{_0x12d7f8['on']('addMarker:suggestion:attribute',(_0xa37dbc,_0x4781b5,_0x1203f7)=>{_0x1203f7['options']['showSuggestionHighlights']&&_0x1bfcc7({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0xa37dbc,_0x4781b5,_0x1203f7);},{'priority':_0x27cf('0x162')});}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')]('dataDowncast')[_0x27cf('0x120')]({'model':_0x27cf('0x99'),'view':(_0x2e143c,_0x962ea3)=>_0x962ea3[_0x27cf('0xc')][_0x27cf('0xda')]?null:{'group':_0x27cf('0x99'),'name':_0x2e143c[_0x27cf('0xdf')](0xb)}}),_0x30186b['conversion']['for'](_0x27cf('0x115'))['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x31d628,{writer:_0x1645bd})=>{let _0x182fd1='suggestion:'+_0x31d628[_0x27cf('0x65')](_0x27cf('0x10'))+':'+_0x31d628[_0x27cf('0x65')]('id');return _0x31d628[_0x27cf('0x65')](_0x27cf('0x9e'))&&(_0x182fd1+=':'+_0x31d628['getAttribute'](_0x27cf('0x9e'))),_0x1645bd[_0x27cf('0xf6')]('$marker',{'data-name':_0x182fd1});}}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x115'))[_0x27cf('0x11b')]({'view':_0x27cf('0x99')}),_0x30186b['conversion'][_0x27cf('0x67')](_0x27cf('0x1e'))['add'](_0x412805=>{_0x412805['on'](_0x27cf('0xbf'),_0x1bfcc7(),{'priority':'high'});}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')]('editingDowncast')['add'](_0x2ee83b=>{_0x2ee83b['on'](_0x27cf('0xf9'),_0x1bfcc7({'isAttributeSuggestion':!0x0}),{'priority':_0x27cf('0x133')});}),_0x30186b[_0x27cf('0x4')][_0x27cf('0x67')](_0x27cf('0x1e'))['add'](_0x1780dc=>{_0x1780dc['on'](_0x27cf('0x3e'),(_0x5f0e6,_0xeb1559,_0x2003df)=>{const _0x3a8729=_0x2003df[_0x27cf('0xe2')][_0x27cf('0xb7')](_0xeb1559[_0x27cf('0xa5')]);if(_0x3a8729)for(const _0x4f2677 of _0x3a8729)_0x4f2677[_0x27cf('0x17b')](_0x27cf('0xba'))||(_0x2003df['writer']['removeClass'](['ck-suggestion-marker',_0x27cf('0xc2'),_0x27cf('0x58')],_0x4f2677),_0x2003df[_0x27cf('0xb')][_0x27cf('0x15d')](_0x27cf('0x12d'),_0x4f2677),_0x2003df[_0x27cf('0xe2')][_0x27cf('0x16e')](_0x4f2677,_0xeb1559[_0x27cf('0xa5')]));},{'priority':'high'});}),_0x30186b['conversion']['for'](_0x27cf('0x1e'))[_0x27cf('0x35')](_0x2f469d=>{_0x2f469d['on']('removeMarker:suggestion:attribute',(_0x3113e7,_0x486039,_0x882609)=>{const _0x1bb86e=_0x882609[_0x27cf('0xe2')][_0x27cf('0xb7')](_0x486039[_0x27cf('0xa5')]);if(!_0x1bb86e)return;const {id:_0x572604}=this['_splitMarkerName'](_0x486039['markerName']),_0xa10919=Pt(this[_0x27cf('0xee')]['get'](_0x572604));if(this[_0x27cf('0x12e')](_0xa10919))for(const _0x1477af of _0x1bb86e)_0x1477af[_0x27cf('0x17b')](_0x27cf('0xba'))||(_0x882609[_0x27cf('0xb')]['removeClass']([_0x27cf('0xc4'),'ck-suggestion-marker-formatBlock',_0x27cf('0x58')],_0x1477af),_0x882609[_0x27cf('0xb')][_0x27cf('0x15d')](_0x27cf('0x12d'),_0x1477af),_0x882609[_0x27cf('0xe2')][_0x27cf('0x16e')](_0x1477af,_0x486039[_0x27cf('0xa5')]));},{'priority':_0x27cf('0x133')});}),_0x30186b[_0x27cf('0x0')][_0x27cf('0xa8')][_0x27cf('0x7b')](_0x138418=>{let _0x20fb1f=!0x1;const _0x293224=Array[_0x27cf('0x40')](_0x30186b[_0x27cf('0x0')][_0x27cf('0xa8')][_0x27cf('0x153')]['getChangedMarkers']()),_0x497a1e=new Set();for(const {name:_0x3de8f8,data:_0x513a91}of _0x293224){const {group:_0x21daae,type:_0x56fbcb,subType:_0x5d3b8f,id:_0x2f6a41}=this['_splitMarkerName'](_0x3de8f8);if(_0x27cf('0x99')!==_0x21daae)continue;const _0x26c51f=this[_0x27cf('0xee')]['get'](_0x2f6a41);if(null!=_0x513a91[_0x27cf('0x54')]){_0x27cf('0x85')==_0x56fbcb&&(_0x20fb1f=_0x20fb1f||xt(_0x513a91[_0x27cf('0x54')],_0x3de8f8,_0x138418,_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')]));const _0x2ca61d=_0x27cf('0x5e')==_0x56fbcb&&this['_isBlockAttribute'](_0x5d3b8f[_0x27cf('0x9d')]('|')[0x0]);if(_0x513a91[_0x27cf('0x54')]['isCollapsed']||_0x27cf('0x14a')==_0x513a91[_0x27cf('0x54')][_0x27cf('0xac')][_0x27cf('0x8c')]||_0x27cf('0x77')==_0x56fbcb&&!Rt(_0x513a91[_0x27cf('0x54')])||_0x2ca61d&&!Rt(_0x513a91[_0x27cf('0x54')])||_0x27cf('0x150')==_0x56fbcb&&!(!Tt(_0x5592d0=_0x513a91[_0x27cf('0x54')])&&!function(_0x2828e4){return _0x2828e4['start'][_0x27cf('0xe3')]==_0x2828e4[_0x27cf('0x16f')][_0x27cf('0x101')]&&_0x2828e4[_0x27cf('0x156')][_0x27cf('0xb8')];}(_0x5592d0)))_0x138418[_0x27cf('0x11')](_0x3de8f8),_0x20fb1f=!0x0;else{if(!_0x26c51f||!_0x26c51f[_0x27cf('0x147')])continue;_0x497a1e['add'](_0x26c51f);}}}var _0x5592d0;return _0x497a1e[_0x27cf('0x6b')]>0x0&&(_0x20fb1f=!!this['_joinWithAdjacentSuggestions'](_0x497a1e)||_0x20fb1f),_0x20fb1f;}),_0x30186b[_0x27cf('0x0')][_0x27cf('0xa8')][_0x27cf('0x7b')](_0x5f20bb=>{let _0x28138a=!0x1;for(const _0x338b77 of _0x30186b[_0x27cf('0x0')][_0x27cf('0xa8')][_0x27cf('0x153')][_0x27cf('0xed')]())if(_0x27cf('0x21')==_0x338b77['type'])for(const _0x50aead of this[_0x27cf('0xee')][_0x27cf('0x134')]()){if(_0x50aead['isMultiRange']||!_0x50aead['isInContent'])continue;const _0x2fbb85=_0x27cf('0x77')==_0x50aead[_0x27cf('0x137')],_0x21c05d=Pt(_0x50aead),_0x315238=_0x21c05d&&this['_isBlockAttribute'](_0x21c05d);if(!_0x2fbb85&&!_0x315238)continue;const _0x26eab6=_0x50aead[_0x27cf('0x73')]();if(_0x26eab6['start']['parent']!=_0x26eab6['end'][_0x27cf('0xe3')]&&!_0x26eab6[_0x27cf('0x16f')][_0x27cf('0xb8')]){const _0x15552c=_0x30186b[_0x27cf('0x0')]['createPositionAt'](_0x26eab6[_0x27cf('0x156')][_0x27cf('0x34')],'end'),_0x4ec9fd=_0x30186b[_0x27cf('0x0')][_0x27cf('0xe6')](_0x26eab6['start'],_0x15552c);_0x5f20bb[_0x27cf('0xe')](_0x50aead[_0x27cf('0xc7')](),{'range':_0x4ec9fd}),_0x28138a=!0x0;}}return _0x28138a;}),_0x30186b[_0x27cf('0x0')]['document'][_0x27cf('0x7b')](_0x396aa8=>this[_0x27cf('0x139')](_0x396aa8)),_0x30186b[_0x27cf('0x0')]['document'][_0x27cf('0x7b')](_0x25dfae=>!_0x25dfae['batch']['isLocal']&&this[_0x27cf('0xf3')](_0x25dfae)),_0x30186b[_0x27cf('0x0')]['markers']['on']('update:suggestion',(_0x2e5435,_0x39ca3b,_0x3fe94d)=>{if(null==_0x3fe94d){const {id:_0x1bb49b}=this[_0x27cf('0x119')](_0x39ca3b[_0x27cf('0x100')]),_0x1ac909=this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x1bb49b);_0x1ac909&&_0x1ac909['addMarkerName'](_0x39ca3b[_0x27cf('0x100')]);}}),_0x30186b[_0x27cf('0x0')][_0x27cf('0xa8')]['on'](_0x27cf('0x74'),()=>{const _0x5046d6=Array[_0x27cf('0x40')](_0x30186b['model'][_0x27cf('0xa8')]['differ']['getChangedMarkers']())[_0x27cf('0x51')](_0xc6bb0c=>_0x27cf('0x99')===this['_splitMarkerName'](_0xc6bb0c[_0x27cf('0x100')])[_0x27cf('0x66')]);if(0x0===_0x5046d6[_0x27cf('0xdb')])return;_0x5046d6[_0x27cf('0xd')]((_0x160bfb,_0x1dccbd)=>{const _0x44eae5=_0x160bfb[_0x27cf('0x109')][_0x27cf('0xbc')],_0x5c76b8=_0x1dccbd[_0x27cf('0x109')]['oldRange'];return null===_0x44eae5&&null===_0x5c76b8?0x0:null===_0x44eae5&&null!==_0x5c76b8?-0x1:null!==_0x44eae5&&null===_0x5c76b8?0x1:_0x44eae5[_0x27cf('0x156')][_0x27cf('0x5a')](_0x5c76b8[_0x27cf('0x156')])?-0x1:0x1;});const _0x4645a9=new Set(),_0x983288=new Set();for(const {name:_0x1cfa0a,data:_0x37173a}of _0x5046d6){const {id:_0x21f41c}=this['_splitMarkerName'](_0x1cfa0a);if(null===_0x37173a[_0x27cf('0xbc')]){const _0x6efcfd=this[_0x27cf('0x61')](_0x1cfa0a);_0x983288[_0x27cf('0x35')](_0x6efcfd);}else{const _0x468205=this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x21f41c);null!==_0x37173a[_0x27cf('0x54')]||_0x468205['isInContent']?(_0x4645a9['add'](_0x468205[_0x27cf('0x72')]),_0x983288['add'](_0x468205)):this[_0x27cf('0x14b')](_0x468205);}}_0x983288[_0x27cf('0x6b')]>0x0&&this['_refreshSuggestionsChain'](_0x983288);for(const _0x57f735 of _0x4645a9)this['fire'](_0x27cf('0x7e'),_0x57f735);}),_0x30186b[_0x27cf('0x0')]['on'](_0x27cf('0xad'),(_0x380421,_0x212bcc)=>{const _0x4ec4f1=_0x212bcc[0x0];if(!this[_0x27cf('0xee')][_0x27cf('0x6b')])return;if(!_0x4ec4f1[_0x27cf('0x84')])return;if(_0x4ec4f1[_0x27cf('0x14e')][_0x27cf('0x129')]||!_0x4ec4f1['batch']['isLocal'])return;let _0x1f385a,_0x40cc47;switch(_0x4ec4f1[_0x27cf('0x137')]){case _0x27cf('0x21'):_0x1f385a=_0x30186b[_0x27cf('0x0')]['createPositionAt'](_0x4ec4f1[_0x27cf('0x10f')]),_0x40cc47=_0x1f385a[_0x27cf('0x8e')](_0x4ec4f1[_0x27cf('0x31')]);break;case _0x27cf('0x9d'):_0x1f385a=_0x30186b[_0x27cf('0x0')][_0x27cf('0x29')](_0x4ec4f1['splitPosition']),_0x40cc47=_0x30186b[_0x27cf('0x0')][_0x27cf('0x29')](_0x4ec4f1['moveTargetPosition']);break;case _0x27cf('0xfd'):_0x1f385a=_0x30186b['model'][_0x27cf('0x29')](_0x4ec4f1[_0x27cf('0xcf')]),_0x40cc47=_0x1f385a[_0x27cf('0x8e')](_0x4ec4f1[_0x27cf('0x31')]);break;default:return;}const _0x488706=_0x30186b[_0x27cf('0x0')][_0x27cf('0xe6')](_0x1f385a,_0x40cc47);_0x30186b[_0x27cf('0x0')][_0x27cf('0xbe')](()=>{for(const {suggestion:_0x52c6a3,meta:_0x30f470}of this[_0x27cf('0x1b')](_0x488706)){if(_0x52c6a3['isMultiRange'])continue;if(_0x27cf('0x85')==_0x52c6a3[_0x27cf('0x137')])continue;const _0x16dbc5=Pt(_0x52c6a3);if(_0x16dbc5&&this[_0x27cf('0x12e')](_0x16dbc5)&&_0x27cf('0x9d')!=_0x4ec4f1[_0x27cf('0x137')])continue;const _0x52c295=_0x52c6a3[_0x27cf('0x109')]&&_0x52c6a3['data'][_0x27cf('0xb4')];(_0x27cf('0x77')!=_0x52c6a3[_0x27cf('0x137')]||_0x27cf('0x9d')==_0x4ec4f1[_0x27cf('0x137')]&&!_0x52c295)&&(_0x30f470[_0x27cf('0xab')]||_0x27cf('0xc8')==_0x52c6a3['type']&&_0x30f470[_0x27cf('0x81')]||_0x52c6a3[_0x27cf('0x73')]()['containsRange'](_0x488706)&&this[_0x27cf('0x37')](_0x52c6a3,_0x1f385a,_0x40cc47));}});},{'priority':_0x27cf('0x16')}),_0x30186b[_0x27cf('0x0')]['on'](_0x27cf('0xa3'),(_0x226e9a,_0x3614d4)=>{const _0x3e38db=_0x3614d4[0x0],_0x1b9847=_0x3614d4[0x1];if(_0x1b9847&&_0x1b9847['forceDefaultExecution'])return;if(this[_0x27cf('0xbb')])return;if(!this[_0x27cf('0xcc')]['value'])return;if(_0x3e38db[_0x27cf('0x50')])return;const _0x4a3c80=_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')],{start:_0x240041,end:_0x369eb4}=_0x3e38db[_0x27cf('0x73')](),_0x57c960=_0x240041[_0x27cf('0x34')]&&_0x4a3c80[_0x27cf('0x159')](_0x240041[_0x27cf('0x34')])?null:_0x4a3c80[_0x27cf('0x8d')](_0x240041,_0x27cf('0x9')),_0x37ea07=_0x369eb4['nodeBefore']&&_0x4a3c80[_0x27cf('0x159')](_0x369eb4['nodeBefore'])?null:_0x4a3c80[_0x27cf('0x8d')](_0x369eb4,_0x27cf('0x8a')),_0x10a553=_0x30186b[_0x27cf('0x0')]['createRange'](_0x57c960?_0x57c960[_0x27cf('0x156')]:_0x240041,_0x37ea07?_0x37ea07['end']:_0x369eb4);_0x30186b[_0x27cf('0x0')][_0x27cf('0xbe')](_0x34752b=>{this[_0x27cf('0x94')](_0x10a553);const _0x2dad55=_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')][_0x27cf('0x8d')](_0x10a553[_0x27cf('0x156')]);_0x3e38db['is'](_0x27cf('0x8'))?_0x34752b[_0x27cf('0x15c')](_0x2dad55):_0x3e38db[_0x27cf('0x14d')](_0x2dad55);}),_0x226e9a[_0x27cf('0xec')]();},{'priority':_0x471936['normal']+0xa}),_0x30186b[_0x27cf('0x0')]['on'](_0x27cf('0xc6'),(_0x14facb,_0x3af3e9)=>{const _0x2a6c93=_0x3af3e9[_0x3af3e9[_0x27cf('0xdb')]-0x1];_0x2a6c93&&_0x2a6c93['forceDefaultExecution']||this[_0x27cf('0xbb')]||this['trackChangesCommand'][_0x27cf('0x170')]&&(_0x30186b[_0x27cf('0x0')][_0x27cf('0xbe')](()=>{let _0x48f4e3=_0x30186b[_0x27cf('0x0')][_0x27cf('0xc6')](_0x3af3e9[0x0],_0x3af3e9[0x1],_0x3af3e9[0x2],{'forceDefaultExecution':!0x0});if(!_0x48f4e3)return;_0x14facb['return']=_0x48f4e3['clone']();const _0x44bf22=_0x48f4e3[_0x27cf('0x16f')][_0x27cf('0x101')],_0x48bafe=_0x30186b[_0x27cf('0x0')][_0x27cf('0x10e')];_0x44bf22&&_0x48bafe[_0x27cf('0x103')](_0x44bf22)&&!_0x48bafe[_0x27cf('0x86')](_0x44bf22)&&(_0x48f4e3=_0x30186b[_0x27cf('0x0')][_0x27cf('0xe6')](_0x48f4e3['start'],_0x30186b[_0x27cf('0x0')]['createPositionAt'](_0x44bf22,_0x27cf('0x16f')))),this[_0x27cf('0x3f')](_0x48f4e3);}),_0x14facb[_0x27cf('0xec')]());},{'priority':_0x27cf('0x133')}),this[_0x27cf('0x12a')]['commands'][_0x27cf('0x35')](_0x27cf('0x130'),this['trackChangesCommand']),this[_0x27cf('0x9a')](_0x27cf('0x130'));const _0x462b20=new _0x478519(_0x30186b,this[_0x27cf('0xee')]);_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')](_0x27cf('0x7d'),_0x462b20),this[_0x27cf('0x9a')](_0x27cf('0x7d'));const _0x523546=new _0x48fd06(_0x30186b,this['_suggestions']);_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')](_0x27cf('0x12c'),_0x523546),this[_0x27cf('0x9a')](_0x27cf('0x12c')),_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')](_0x27cf('0x1f'),new _0x1608af(_0x30186b,_0x462b20,this['_suggestions'])),this['enableCommand'](_0x27cf('0x1f')),_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')](_0x27cf('0xb9'),new _0x1608af(_0x30186b,_0x523546,this['_suggestions'])),this[_0x27cf('0x9a')]('discardAllSuggestions'),_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')]('acceptSelectedSuggestions',new _0x469a01(_0x30186b,_0x462b20,this[_0x27cf('0xee')])),this['enableCommand']('acceptSelectedSuggestions'),_0x30186b[_0x27cf('0x158')][_0x27cf('0x35')](_0x27cf('0x98'),new _0x469a01(_0x30186b,_0x523546,this['_suggestions'])),this[_0x27cf('0x9a')](_0x27cf('0x98'));const _0x4dac5c=_0x30186b[_0x27cf('0x68')][_0x27cf('0x2b')](_0x27cf('0x11f'));this['listenTo'](_0x4dac5c,_0x27cf('0xb3'),(_0xa41f8d,{threadId:_0x2b7540})=>{const _0x261c47=this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x2b7540);_0x261c47&&_0x261c47[_0x27cf('0x9c')]&&0x1===_0x261c47['commentThread']['length']&&this[_0x27cf('0x6')](_0x2b7540,{'hasComments':!0x0});},{'priority':'low'}),this[_0x27cf('0x179')](_0x4dac5c,'removeComment',(_0x1d93b8,{threadId:_0x51809e})=>{const _0x3d14b9=this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x51809e);_0x3d14b9&&_0x3d14b9['commentThread']&&!_0x3d14b9[_0x27cf('0x9c')][_0x27cf('0xdb')]&&this[_0x27cf('0x6')](_0x51809e,{'hasComments':!0x1});},{'priority':_0x27cf('0x1d')});}set[_0x27cf('0x110')](_0xb23b8a){if(this[_0x27cf('0x93')])throw new _0x179a44('track-changes-adapter-already-set',this);this[_0x27cf('0x93')]=_0xb23b8a;}get[_0x27cf('0x110')](){return this[_0x27cf('0x93')];}[_0x27cf('0x71')]({skipNotAttached:_0x2178b6=!0x1,toJSON:_0x5c94f1=!0x1}={}){const _0x1ad211=[];for(const _0x56f208 of this[_0x27cf('0xee')][_0x27cf('0x134')]())_0x2178b6&&!_0x56f208[_0x27cf('0x147')]||_0x1ad211[_0x27cf('0x12f')](_0x56f208);return _0x5c94f1?_0x1ad211[_0x27cf('0xa9')](_0x4552a9=>_0x4552a9['toJSON']()):_0x1ad211;}[_0x27cf('0x41')](_0x2882f8){const _0x194cb1=this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x2882f8);if(!_0x194cb1)throw new _0x179a44(_0x27cf('0x20'),this);return _0x194cb1;}[_0x27cf('0x151')](_0x1880b2){return this[_0x27cf('0xee')]['has'](_0x1880b2);}[_0x27cf('0x118')](_0x2e3a82){const {authorId:_0x37f535,id:_0x51eb0d,attributes:_0x22803f}=_0x2e3a82,[_0x412cfe,_0x17ef55]=_0x2e3a82[_0x27cf('0x137')][_0x27cf('0x9d')](':'),_0x4cb470=this['_suggestions']['get'](_0x51eb0d)||this[_0x27cf('0xd7')](_0x412cfe,_0x17ef55,_0x51eb0d,_0x37f535,_0x22803f);if(this['_addThreadToSuggestion'](_0x4cb470),this[_0x27cf('0x14f')](_0x4cb470,_0x412cfe,_0x17ef55||null,_0x37f535),_0x4cb470[_0x27cf('0x1a')]=_0x2e3a82[_0x27cf('0x1a')],_0x4cb470[_0x27cf('0x43')]=!0x0,_0x22803f&&_0x22803f[_0x27cf('0x4d')]){const _0x24eda2=_0x22803f[_0x27cf('0x4d')],_0x1c5131=this['_getExternalAuthor'](_0x24eda2[_0x27cf('0x2f')]);_0x4cb470[_0x27cf('0x169')]=_0x24eda2[_0x27cf('0x1a')],_0x4cb470[_0x27cf('0x2d')]=_0x1c5131,_0x4cb470[_0x27cf('0x97')]=!0x0;}else _0x4cb470['authoredAt']=_0x2e3a82[_0x27cf('0x1a')];switch(_0x2e3a82[_0x27cf('0x109')]&&(_0x4cb470[_0x27cf('0x109')]=_0x2e3a82['data']),_0x2e3a82[_0x27cf('0x38')]&&(_0x4cb470[_0x27cf('0x38')]=_0x2e3a82[_0x27cf('0x38')]),this['_adapter']&&this['_adapter'][_0x27cf('0xf')]||(_0x4cb470['_saved']=!0x0),this[_0x27cf('0xc5')][_0x27cf('0x2b')](_0x4cb470)){case _0x27cf('0xc0'):this[_0x27cf('0xc5')][_0x27cf('0x7')](_0x4cb470,_0x27cf('0x82'));break;case _0x27cf('0x161'):_0x4cb470['isInContent']?(this[_0x27cf('0xa2')](new Set([_0x4cb470])),this[_0x27cf('0x173')](new Set([_0x4cb470])),this[_0x27cf('0xc5')][_0x27cf('0x7')](_0x4cb470,_0x27cf('0x4a')),this['fire'](_0x27cf('0x10a'),_0x4cb470)):this[_0x27cf('0xc5')]['set'](_0x4cb470,_0x27cf('0xf8'));}return _0x4cb470;}['acceptSuggestion'](_0x58b3bd){this[_0x27cf('0xdc')](()=>{this[_0x27cf('0x12a')][_0x27cf('0x0')][_0x27cf('0xbe')](()=>{for(const _0x2dbc14 of _0x58b3bd[_0x27cf('0xd8')]())_0x2dbc14['accept']();});});}[_0x27cf('0x12c')](_0x165d43){this[_0x27cf('0xdc')](()=>{this[_0x27cf('0x12a')][_0x27cf('0x0')]['change'](()=>{for(const _0x53926c of _0x165d43['getAllAdjacentSuggestions']())_0x53926c[_0x27cf('0x11a')]();});});}[_0x27cf('0x9a')](_0x359503,_0x3aaac7){const _0x2c60ba=this[_0x27cf('0x12a')][_0x27cf('0x158')][_0x27cf('0x2b')](_0x359503);if(!_0x2c60ba)throw new _0x179a44(_0x27cf('0x49'),this,{'commandName':_0x359503});if(this[_0x27cf('0x141')]['has'](_0x2c60ba))throw new _0x179a44(_0x27cf('0x79'),this,{'commandName':_0x359503});this[_0x27cf('0x141')]['add'](_0x2c60ba),_0x3aaac7&&_0x2c60ba['on'](_0x27cf('0x15b'),(_0x50beef,_0x30d8c5)=>{this[_0x27cf('0xcc')][_0x27cf('0x170')]&&(this['_isForcedDefaultExecutionBlock']||(_0x30d8c5[_0x27cf('0xdb')]>0x0&&_0x30d8c5[_0x30d8c5[_0x27cf('0xdb')]-0x1]&&_0x30d8c5[_0x30d8c5[_0x27cf('0xdb')]-0x1][_0x27cf('0xdc')]?_0x30d8c5[_0x27cf('0x4c')]():(_0x50beef[_0x27cf('0x53')]=_0x3aaac7((..._0x48b1ca)=>_0x2c60ba['execute'](..._0x48b1ca,{'forceDefaultExecution':!0x0}),..._0x30d8c5),_0x50beef['stop']())));},{'priority':_0x27cf('0x133')});}[_0x27cf('0xdc')](_0x5a3784){let _0x51f0e3,_0x53a7dc;const _0x4e1039=this['_isForcedDefaultExecutionBlock'];this[_0x27cf('0xbb')]=!0x0;try{_0x51f0e3=_0x5a3784();}catch(_0x3075d3){_0x53a7dc=_0x3075d3;}return _0x4e1039||(this[_0x27cf('0xbb')]=!0x1),_0x53a7dc&&_0x179a44[_0x27cf('0xb0')](_0x53a7dc,this),_0x51f0e3;}[_0x27cf('0x3f')](_0x1b2f6b,_0x3f3f17=null,_0x2d618d={}){if(_0x1b2f6b['isCollapsed'])return null;const _0x197c37=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')]('Users')['me'];for(const {suggestion:_0x38d489,meta:_0x2d08ad}of this[_0x27cf('0x1b')](_0x1b2f6b,_0x27cf('0xc8')))if(_0x2d08ad['isOwn']){if(!_0x2d08ad['isNextTo']){if(_0x2d08ad[_0x27cf('0xab')]){if(!this['_mergeNestedSuggestions']||!Gt(_0x38d489,_0x2d618d))continue;return _0x38d489;}if(Gt(_0x38d489,_0x2d618d))return _0x38d489;this[_0x27cf('0x37')](_0x38d489,_0x1b2f6b[_0x27cf('0x156')],_0x1b2f6b[_0x27cf('0x16f')]);break;}if(_0x3f3f17==_0x38d489[_0x27cf('0xd0')]&&Gt(_0x38d489,_0x2d618d)){const _0x17bf62=_0x38d489[_0x27cf('0x73')]();return _0x17bf62['start']['isEqual'](_0x1b2f6b[_0x27cf('0x16f')])?this[_0x27cf('0x63')](_0x38d489,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x1b2f6b[_0x27cf('0x156')],_0x17bf62[_0x27cf('0x16f')])):this[_0x27cf('0x63')](_0x38d489,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x17bf62[_0x27cf('0x156')],_0x1b2f6b['end'])),_0x38d489;}}const _0x19b2b1=_0x487386(),_0x48a30a=_0x197c37['id'],_0x4a2829=_0x3f3f17?'insertion:'+_0x3f3f17:_0x27cf('0xc8'),_0x574219=this[_0x27cf('0x5c')]({'id':_0x19b2b1,'type':_0x4a2829,'createdAt':new Date(),'authorId':_0x48a30a,'attributes':_0x2d618d});return this[_0x27cf('0x107')](_0x4a2829,_0x19b2b1,_0x48a30a,_0x1b2f6b),_0x574219;}[_0x27cf('0x116')](_0x3f88c8,_0x4c452e=_0x27cf('0xaa'),_0x5bf8d4={}){const _0xadea6a=this['editor'][_0x27cf('0x68')][_0x27cf('0x2b')]('Users')['me'],_0x108d39=this[_0x27cf('0x32')][_0x27cf('0x148')](_0x27cf('0xc8'),_0x4c452e,_0x27cf('0x6a'));for(const _0x2823dd of this[_0x27cf('0x71')]())if(_0x2823dd[_0x27cf('0x2d')]['id']==_0xadea6a['id']&&_0x27cf('0xc8')==_0x2823dd[_0x27cf('0x137')]&&_0x2823dd[_0x27cf('0xd0')]==_0x4c452e&&Gt(_0x2823dd,_0x5bf8d4)&&(_0x108d39(_0x2823dd['getRanges'](),_0x3f88c8)||_0x108d39(_0x3f88c8,_0x2823dd['getRanges']()))){for(const _0x66511d of _0x3f88c8)_0x2823dd[_0x27cf('0x127')](_0x66511d);return _0x2823dd;}for(const {suggestion:_0x5b603c,meta:_0x378f92}of this[_0x27cf('0x1b')](_0x3f88c8,'insertion')){if(!_0x378f92[_0x27cf('0x81')])continue;if(!this[_0x27cf('0x89')]&&_0x378f92[_0x27cf('0xab')])continue;if(!Gt(_0x5b603c,_0x5bf8d4))continue;let _0x5c499d=!0x0;for(const _0xf27fe1 of _0x5b603c[_0x27cf('0xaf')]())for(const _0x26489a of _0x3f88c8)if(!_0xf27fe1['containsRange'](_0x26489a)){_0x5c499d=!0x1;break;}if(_0x5c499d)return _0x5b603c;}const _0x2d1e2d=_0x487386(),_0x4cd6cd=_0xadea6a['id'],_0x513733='insertion:'+_0x4c452e,_0x392dbc=this[_0x27cf('0x5c')]({'id':_0x2d1e2d,'type':_0x513733,'createdAt':new Date(),'authorId':_0x4cd6cd,'attributes':_0x5bf8d4});for(const _0x1a918c of _0x3f88c8)this[_0x27cf('0x107')](_0x513733,_0x2d1e2d,_0x4cd6cd,_0x1a918c,_0x3076e1['getMultiRangeId']());return _0x392dbc;}[_0x27cf('0x135')](_0x6692d6,_0x55ab43,_0x36b7ff=null,_0x40eb71={}){if(_0x36b7ff=_0x36b7ff||Et(_0x55ab43),_0x6692d6[_0x27cf('0x50')])return null;if(_0x27cf('0x19')===this[_0x27cf('0xc1')]){const _0x195704=this[_0x27cf('0x32')][_0x27cf('0x148')]('formatInline',_0x36b7ff,'accept');return this[_0x27cf('0xdc')](()=>_0x195704([_0x6692d6],_0x55ab43,_0x40eb71)),null;}const _0x3fd205=this['editor']['plugins'][_0x27cf('0x2b')](_0x27cf('0x6c'))['me'],_0x1dab3b=[];if(_0x27cf('0x57')!==this[_0x27cf('0xc1')])for(const {suggestion:_0x561be3,meta:_0x2b9789}of this[_0x27cf('0x1b')](_0x6692d6,_0x27cf('0xc8')))_0x2b9789['isOwn']&&!_0x2b9789[_0x27cf('0xae')]&&_0x1dab3b[_0x27cf('0x12f')](..._0x561be3[_0x27cf('0xaf')]());const _0x368cfc=function(_0x1438f2,_0x3000b2){const _0x105f08=[];for(const _0x5ddd12 of _0x3000b2){const _0x511a9e=_0x1438f2['getIntersection'](_0x5ddd12);_0x511a9e&&_0x105f08[_0x27cf('0x12f')](_0x511a9e);}return _0x105f08;}(_0x6692d6,_0x1dab3b),_0x57ebb3=function(_0x5385dd,_0x4b4b73){const _0x51cc0a=[_0x5385dd];for(const _0x45446d of _0x4b4b73){let _0x210d03=0x0;for(;_0x210d03<_0x51cc0a[_0x27cf('0xdb')];){const _0xa117b1=_0x51cc0a[_0x210d03][_0x27cf('0xf4')](_0x45446d);_0x51cc0a[_0x27cf('0x176')](_0x210d03,0x1,..._0xa117b1),_0x210d03+=_0xa117b1[_0x27cf('0xdb')];}}return _0x51cc0a;}(_0x6692d6,_0x1dab3b);_0x368cfc['length']&&this[_0x27cf('0xb5')][_0x27cf('0xbe')](()=>{for(const _0x5b8ab3 of _0x368cfc){const _0x502abf=this[_0x27cf('0x32')][_0x27cf('0x148')]('formatInline',_0x36b7ff,'accept');this[_0x27cf('0xdc')](()=>_0x502abf([_0x5b8ab3],_0x55ab43,_0x40eb71));}});for(const _0x35c3cc of _0x57ebb3){let _0x5d238b=null,_0xdb1509=_0x35c3cc[_0x27cf('0x156')],_0xc3506f=_0x35c3cc['end'];for(const {suggestion:_0x556aaa,meta:_0x56b0a5}of this[_0x27cf('0x1b')](_0x35c3cc,_0x27cf('0x85'))){if(!_0x56b0a5[_0x27cf('0x81')])continue;if(_0x556aaa['subType']!=_0x36b7ff)continue;if(!Gt(_0x556aaa,_0x40eb71))continue;const _0x16cf9d=_0x556aaa[_0x27cf('0x73')]();if(_0x16cf9d[_0x27cf('0x62')](_0x35c3cc,!0x0))return null;_0xdb1509=_0xdb1509['isBefore'](_0x16cf9d['start'])?_0xdb1509:_0x16cf9d[_0x27cf('0x156')],_0xc3506f=_0xc3506f[_0x27cf('0x88')](_0x16cf9d[_0x27cf('0x16f')])?_0xc3506f:_0x16cf9d['end'],_0x5d238b?_0x16cf9d[_0x27cf('0x156')]['isBefore'](_0x5d238b[_0x27cf('0x73')]()[_0x27cf('0x156')])?(_0x5d238b[_0x27cf('0x102')](),_0x5d238b=_0x556aaa):_0x556aaa[_0x27cf('0x102')]():_0x5d238b=_0x556aaa;}const _0x2dfdcf=this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0xdb1509,_0xc3506f);if(_0x5d238b)this[_0x27cf('0x63')](_0x5d238b,_0x2dfdcf);else{const _0x165ac0=_0x487386(),_0x1d1c60=_0x3fd205['id'];this[_0x27cf('0x5c')]({'id':_0x165ac0,'type':_0x27cf('0xde')+_0x36b7ff,'data':_0x55ab43,'createdAt':new Date(),'authorId':_0x1d1c60,'attributes':_0x40eb71}),this[_0x27cf('0x107')](_0x27cf('0xde')+_0x36b7ff,_0x165ac0,_0x1d1c60,_0x2dfdcf);}}return null;}[_0x27cf('0xc3')](_0xbc2693,_0xa94d10,_0x18d1aa=[],_0x520ecc=null,_0x5de9b8={}){_0xa94d10[_0x27cf('0x13')]||(_0xa94d10[_0x27cf('0x13')]=_0xa94d10['commandName']),_0xa94d10[_0x27cf('0xb4')]=_0xbc2693['is'](_0x27cf('0x165')),_0x520ecc=_0x520ecc||Et(_0xa94d10);const _0x56c0d6=_0x18d1aa[_0x27cf('0xa9')](_0x74c4b9=>Ut(_0x74c4b9,this[_0x27cf('0xb5')])),_0x3d1705=_0xbc2693['is'](_0x27cf('0x165'))?_0xbc2693:Ut(_0xbc2693,this['_model']);if(_0x27cf('0x19')===this['_trackFormatChanges']){const _0x782c0a=this[_0x27cf('0x32')][_0x27cf('0x148')]('formatBlock',_0x520ecc,_0x27cf('0x70'));return this[_0x27cf('0xdc')](()=>_0x782c0a([_0x3d1705],_0xa94d10,_0x5de9b8)),null;}_0x56c0d6[_0x27cf('0x12f')](_0x3d1705);let _0xbf823=!0x0;for(const _0x1993cf of _0x56c0d6)if(!this[_0x27cf('0x2c')](_0x1993cf)){_0xbf823=!0x1;break;}if(_0xbf823&&_0x27cf('0x57')!==this[_0x27cf('0xc1')]){const _0x555d30=this[_0x27cf('0x32')][_0x27cf('0x148')](_0x27cf('0x77'),_0x520ecc,_0x27cf('0x70'));return this[_0x27cf('0xdc')](()=>_0x555d30([_0x3d1705],_0xa94d10,_0x5de9b8)),null;}let _0xaab578=null,_0x48c505=_0x3d1705['start'],_0x2e500a=_0x3d1705[_0x27cf('0x16f')];for(const {suggestion:_0x5796ab,meta:_0xb8500c}of this['_findSuggestions'](_0x3d1705,_0x27cf('0x77'))){if(!_0xb8500c['isOwn'])continue;if(_0xb8500c[_0x27cf('0xd1')]||_0xb8500c['containsRangeInObject']||_0xb8500c[_0x27cf('0xae')])continue;if(_0x5796ab[_0x27cf('0x109')]['formatGroupId']!=_0xa94d10[_0x27cf('0x13')])continue;if(!Gt(_0x5796ab,_0x5de9b8))continue;const _0xb40000=_0x5796ab[_0x27cf('0x73')]();if(_0x5796ab[_0x27cf('0xd0')]==_0x520ecc){if(_0xb40000[_0x27cf('0x62')](_0x3d1705,!0x0))return null;_0x48c505=_0x48c505[_0x27cf('0x5a')](_0xb40000[_0x27cf('0x156')])?_0x48c505:_0xb40000['start'],_0x2e500a=_0x2e500a['isAfter'](_0xb40000[_0x27cf('0x16f')])?_0x2e500a:_0xb40000[_0x27cf('0x16f')],_0xaab578?_0xb40000[_0x27cf('0x156')][_0x27cf('0x5a')](_0xaab578[_0x27cf('0x73')]()['start'])?(_0xaab578[_0x27cf('0x102')](),_0xaab578=_0x5796ab):_0x5796ab['removeMarkers']():_0xaab578=_0x5796ab;}else{const _0x80e17a=_0x3d1705[_0x27cf('0x174')](_0xb40000);this[_0x27cf('0x26')](_0x5796ab,_0x80e17a);}}const _0x26675e=this[_0x27cf('0x12a')]['plugins']['get'](_0x27cf('0x6c'))['me'],_0x92ed0a=_0x487386(),_0x47f97e=_0x26675e['id'];if(_0xaab578)return this[_0x27cf('0x63')](_0xaab578,this[_0x27cf('0xb5')]['createRange'](_0x48c505,_0x2e500a)),_0xaab578;{const _0x194639=this[_0x27cf('0x5c')]({'id':_0x92ed0a,'type':_0x27cf('0xd2')+_0x520ecc,'data':_0xa94d10,'createdAt':new Date(),'authorId':_0x47f97e,'attributes':_0x5de9b8});return this[_0x27cf('0x107')](_0x27cf('0xd2')+_0x520ecc,_0x92ed0a,_0x47f97e,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x48c505,_0x2e500a)),_0x194639;}}[_0x27cf('0x3b')](_0x54d5aa,_0x311afc,_0x1dc9e7=[],_0xd9436a=null,_0x56f283={}){_0x311afc[_0x27cf('0x13')]||(_0x311afc[_0x27cf('0x13')]=_0x311afc['commandName']);const _0x5f2c93=_0x54d5aa[0x0];_0x311afc[_0x27cf('0xb4')]=_0x5f2c93['is'](_0x27cf('0x165')),_0xd9436a=_0xd9436a||Et(_0x311afc);const _0x32f47a=_0x1dc9e7['map'](_0x40c400=>Ut(_0x40c400,this['_model'])),_0x328259=_0x5f2c93['is']('range')?_0x54d5aa:_0x54d5aa[_0x27cf('0xa9')](_0x1cabd8=>Ut(_0x1cabd8,this[_0x27cf('0xb5')]));if(_0x27cf('0x19')===this['_trackFormatChanges']){const _0x3198de=this['_suggestionFactory'][_0x27cf('0x148')](_0x27cf('0x77'),_0xd9436a,_0x27cf('0x70'));return this[_0x27cf('0xdc')](()=>_0x3198de(_0x328259,_0x311afc,_0x56f283)),null;}_0x32f47a[_0x27cf('0x12f')](..._0x328259);let _0x50dc91=!0x0;for(const _0x402809 of _0x32f47a)if(!this[_0x27cf('0x2c')](_0x402809)){_0x50dc91=!0x1;break;}if(_0x50dc91&&_0x27cf('0x57')!==this['_trackFormatChanges']){const _0x5b5303=this['_suggestionFactory'][_0x27cf('0x148')](_0x27cf('0x77'),_0xd9436a,'accept');return this['forceDefaultExecution'](()=>_0x5b5303(_0x328259,_0x311afc,_0x56f283)),null;}const _0x51335e=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')]('Users')['me'];for(const _0x45c1e3 of this['getSuggestions']()){if(_0x45c1e3[_0x27cf('0x2d')]['id']!=_0x51335e['id'])continue;if(_0x27cf('0x77')!=_0x45c1e3[_0x27cf('0x137')]||_0x45c1e3[_0x27cf('0x109')][_0x27cf('0x13')]!=_0x311afc[_0x27cf('0x13')])continue;if(!Gt(_0x45c1e3,_0x56f283))continue;const _0x2e6c5a=_0x45c1e3[_0x27cf('0xd0')]==_0xd9436a;for(let _0x1e1e98=0x0;_0x1e1e98<_0x328259[_0x27cf('0xdb')];_0x1e1e98++){const _0x57e8c2=_0x328259[_0x1e1e98];for(const _0x4efbe9 of _0x45c1e3['getMarkers']()){const _0x52f067=_0x4efbe9[_0x27cf('0x146')]();if(_0x57e8c2[_0x27cf('0xff')](_0x52f067)){_0x2e6c5a?(_0x328259[_0x27cf('0x176')](_0x1e1e98,0x1),_0x1e1e98--):_0x45c1e3[_0x27cf('0x11')](_0x4efbe9[_0x27cf('0x100')]);break;}}}}if(0x0==_0x328259[_0x27cf('0xdb')])return null;const _0x3da6e6=this['_suggestionFactory']['getSuggestionCallback'](_0x27cf('0x77'),_0xd9436a,_0x27cf('0x6a'));for(const _0x264c8a of this[_0x27cf('0x71')]())if(_0x264c8a[_0x27cf('0x2d')]['id']==_0x51335e['id']&&_0x27cf('0x77')==_0x264c8a[_0x27cf('0x137')]&&_0x264c8a[_0x27cf('0x109')][_0x27cf('0x13')]==_0x311afc[_0x27cf('0x13')]&&_0x264c8a[_0x27cf('0xd0')]==_0xd9436a&&Gt(_0x264c8a,_0x56f283)&&(_0x3da6e6(_0x264c8a[_0x27cf('0xaf')](),_0x328259)||_0x3da6e6(_0x328259,_0x264c8a[_0x27cf('0xaf')]()))){for(const _0x513bcd of _0x328259)_0x264c8a['addRange'](_0x513bcd);return _0x264c8a;}const _0x12e516=_0x487386(),_0x579f23=_0x51335e['id'],_0xbc4e1f=_0x27cf('0xd2')+_0xd9436a,_0x20a237=this[_0x27cf('0x5c')]({'id':_0x12e516,'type':_0xbc4e1f,'data':_0x311afc,'createdAt':new Date(),'authorId':_0x579f23,'attributes':_0x56f283});for(const _0x34ffe2 of _0x328259)this[_0x27cf('0x107')](_0xbc4e1f,_0x12e516,_0x579f23,_0x34ffe2,_0x3076e1[_0x27cf('0x143')]());return _0x20a237;}[_0x27cf('0x94')](_0x437d2b,_0xe8c04a=null,_0x29e239={}){if(_0x437d2b[_0x27cf('0x50')])return null;const _0x2be59f=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')](_0x27cf('0x6c'))['me'],_0xfd3b52=new _0x58a33b(_0x437d2b[_0x27cf('0x156')],_0x437d2b[_0x27cf('0x16f')]);for(const {suggestion:_0x1be4c1,meta:_0x3bd991}of this[_0x27cf('0x1b')](_0xfd3b52,_0x27cf('0xc8')))if(_0x3bd991[_0x27cf('0x81')]&&!_0x3bd991[_0x27cf('0xd1')]){if(_0x1be4c1['isMultiRange']){const _0x4ec7f7=_0x1be4c1[_0x27cf('0xaf')]()['filter'](_0x441012=>'$graveyard'!=_0x441012['root'][_0x27cf('0x8c')]);_0x4ec7f7['every'](_0x58119e=>_0xfd3b52[_0x27cf('0x62')](_0x58119e,!0x0))&&_0x1be4c1[_0x27cf('0x11a')]();if(_0x4ec7f7[_0x27cf('0xea')](_0xd0e645=>_0xd0e645['containsRange'](_0xfd3b52,!0x0))){const _0x3fc886=this['_suggestionFactory'][_0x27cf('0x148')](_0x27cf('0x150'),_0xe8c04a,'accept');return this['forceDefaultExecution'](()=>_0x3fc886([_0xfd3b52],null,_0x29e239)),null;}}else{const _0x1266de=_0xfd3b52[_0x27cf('0x174')](_0x1be4c1[_0x27cf('0x73')]());null!==_0x1266de&&_0x1be4c1[_0x27cf('0x152')]([_0x1266de],null,_0x29e239);}}if(_0xfd3b52[_0x27cf('0x5d')](),_0xfd3b52[_0x27cf('0x50')]||_0x27cf('0x14a')==_0xfd3b52['root'][_0x27cf('0x8c')])return null;let _0x14c5df=null,_0x24aa9a=_0xfd3b52[_0x27cf('0x156')],_0x1dbb24=_0xfd3b52[_0x27cf('0x16f')];const _0x299b88=this[_0x27cf('0x1b')](_0xfd3b52,_0x27cf('0x150'));for(const {suggestion:_0x217c51,meta:_0x344b90}of _0x299b88){const _0x109c1e=this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x24aa9a,_0x1dbb24);if(_0x344b90[_0x27cf('0x81')]&&(this[_0x27cf('0x89')]||!_0x344b90[_0x27cf('0xab')]&&!_0x344b90[_0x27cf('0xae')])){if(_0x217c51['isMultiRange']){if(!Gt(_0x217c51,_0x29e239))continue;let _0x1be6d0=!0x0;for(const _0x2802a7 of _0x217c51[_0x27cf('0xaf')]()){if(_0x2802a7[_0x27cf('0x62')](_0x109c1e,!0x0))return _0x217c51;_0x109c1e[_0x27cf('0x62')](_0x2802a7)||(_0x1be6d0=!0x1);}_0x1be6d0&&_0x217c51[_0x27cf('0x11a')]();}else{const _0x1892eb=_0x217c51['getFirstRange']();if(_0x1892eb[_0x27cf('0x62')](_0x109c1e,!0x0))return _0x217c51;if(!Gt(_0x217c51,_0x29e239)){_0x109c1e['containsRange'](_0x1892eb)?_0x217c51[_0x27cf('0x102')]():_0x1892eb[_0x27cf('0x16d')](_0x24aa9a)?_0x24aa9a=_0x1892eb[_0x27cf('0x16f')]:_0x1892eb[_0x27cf('0x16d')](_0x1dbb24)&&(_0x1dbb24=_0x1892eb['start']);continue;}_0x24aa9a=_0x24aa9a[_0x27cf('0x5a')](_0x1892eb[_0x27cf('0x156')])?_0x24aa9a:_0x1892eb[_0x27cf('0x156')],_0x1dbb24=_0x1dbb24[_0x27cf('0x88')](_0x1892eb[_0x27cf('0x16f')])?_0x1dbb24:_0x1892eb[_0x27cf('0x16f')],_0x29e239=Object[_0x27cf('0x108')]({},_0x217c51[_0x27cf('0x38')]),_0x14c5df?_0x1892eb['start'][_0x27cf('0x5a')](_0x14c5df[_0x27cf('0x73')]()[_0x27cf('0x156')])?(_0x14c5df['removeMarkers'](),_0x14c5df=_0x217c51):_0x217c51[_0x27cf('0x102')]():_0x14c5df=_0x217c51;}}}if(_0x14c5df)return this[_0x27cf('0x63')](_0x14c5df,this['_model'][_0x27cf('0xe6')](_0x24aa9a,_0x1dbb24)),_0x14c5df;{const _0x4b4bd4=_0x487386(),_0x336b63=this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x24aa9a,_0x1dbb24),_0x4ee7a6=_0x2be59f['id'],_0x1b2d7f=_0xe8c04a?_0x27cf('0x14')+_0xe8c04a:'deletion',_0x3c04f1=this[_0x27cf('0x5c')]({'id':_0x4b4bd4,'type':_0x1b2d7f,'createdAt':new Date(),'authorId':_0x4ee7a6,'attributes':_0x29e239});return this[_0x27cf('0x107')](_0x1b2d7f,_0x4b4bd4,_0x4ee7a6,_0x336b63),_0x3c04f1;}}[_0x27cf('0x17a')](_0x493340,_0xc6401d='multi',_0x59712c={}){const _0x246ad7=this[_0x27cf('0x12a')][_0x27cf('0x68')]['get'](_0x27cf('0x6c'))['me'],_0x437bb2=_0x493340[_0x27cf('0xa9')](_0x25bc28=>new _0x58a33b(_0x25bc28[_0x27cf('0x156')],_0x25bc28[_0x27cf('0x16f')])),_0x48aa23=new Set();for(const {suggestion:_0x52f78f,meta:_0x3fa20b}of this[_0x27cf('0x1b')](_0x437bb2,_0x27cf('0xc8')))_0x3fa20b['isOwn']&&!_0x3fa20b[_0x27cf('0xd1')]&&_0x48aa23['add'](_0x52f78f);for(const _0x5d8634 of _0x48aa23)if(_0x5d8634[_0x27cf('0x7a')]){const _0xed73de=_0x5d8634['getRanges']();(!_0x5d8634[_0x27cf('0x38')]||!_0x5d8634['attributes'][_0x27cf('0xa4')])&&(_0xed73de[_0x27cf('0x112')](_0x210ae9=>_0x437bb2[_0x27cf('0xea')](_0x30ddb0=>_0x30ddb0[_0x27cf('0x62')](_0x210ae9,!0x0)))&&_0x5d8634[_0x27cf('0x11a')]());if(_0x437bb2[_0x27cf('0x112')](_0x11c603=>_0xed73de[_0x27cf('0xea')](_0x33cd90=>_0x33cd90['containsRange'](_0x11c603,!0x0)))){const _0x12ec11=this[_0x27cf('0x32')][_0x27cf('0x148')](_0x27cf('0x150'),_0xc6401d,_0x27cf('0x70'));return this[_0x27cf('0xdc')](()=>_0x12ec11(_0x493340,null,_0x59712c)),null;}}else{const _0xd9bf1d=_0x5d8634[_0x27cf('0x73')]();_0x437bb2[_0x27cf('0xea')](_0xa13cff=>_0xa13cff[_0x27cf('0x62')](_0xd9bf1d,!0x0))&&_0x5d8634[_0x27cf('0x11a')]();if(_0x437bb2['every'](_0x48502e=>_0xd9bf1d[_0x27cf('0x62')](_0x48502e,!0x0))){const _0x461790=this['_suggestionFactory'][_0x27cf('0x148')](_0x27cf('0x150'),_0xc6401d,_0x27cf('0x70'));return this[_0x27cf('0xdc')](()=>_0x461790(_0x437bb2,null,_0x59712c)),null;}}const _0x4edb3b=this[_0x27cf('0x32')][_0x27cf('0x148')](_0x27cf('0x150'),_0xc6401d,'join');let _0xb800a1=null;for(const _0x70fb3f of this[_0x27cf('0x71')]())if(_0x70fb3f[_0x27cf('0x2d')]['id']==_0x246ad7['id']&&_0x70fb3f['isInContent']&&'deletion'==_0x70fb3f[_0x27cf('0x137')]&&_0x70fb3f[_0x27cf('0xd0')]==_0xc6401d&&Gt(_0x70fb3f,_0x59712c)&&(_0x4edb3b(_0x70fb3f[_0x27cf('0xaf')](),_0x437bb2)||_0x4edb3b(_0x437bb2,_0x70fb3f[_0x27cf('0xaf')]()))){if(_0xb800a1){if(_0x70fb3f[_0x27cf('0x9c')]&&_0x70fb3f[_0x27cf('0x9c')][_0x27cf('0xdb')])continue;for(const _0x999dd3 of _0x70fb3f[_0x27cf('0xaf')]())_0xb800a1[_0x27cf('0xbd')](_0x999dd3)||_0xb800a1[_0x27cf('0x127')](_0x999dd3);_0x70fb3f[_0x27cf('0x102')]();}else{_0xb800a1=_0x70fb3f;for(const _0x288459 of _0x437bb2)_0x70fb3f[_0x27cf('0xbd')](_0x288459)||_0x70fb3f['addRange'](_0x288459);}}if(_0xb800a1)return _0xb800a1;_0x48aa23[_0x27cf('0x13e')]();for(const {suggestion:_0x2214b8,meta:_0x4ebcb5}of this[_0x27cf('0x1b')](_0x437bb2,_0x27cf('0x150')))_0x4ebcb5[_0x27cf('0x81')]&&(this[_0x27cf('0x89')]||!_0x4ebcb5[_0x27cf('0xab')]&&!_0x4ebcb5['isInsideObject'])&&Gt(_0x2214b8,_0x59712c)&&_0x48aa23['add'](_0x2214b8);for(const _0x37928d of _0x48aa23){const _0x10d943=_0x37928d[_0x27cf('0xaf')]();if(!_0x59712c||!_0x59712c[_0x27cf('0xa4')]){if(_0x437bb2[_0x27cf('0x112')](_0x3b3a70=>_0x10d943[_0x27cf('0xea')](_0x7ac45=>_0x7ac45[_0x27cf('0x62')](_0x3b3a70,!0x0))))return _0x37928d;}(!_0x37928d[_0x27cf('0x38')]||!_0x37928d[_0x27cf('0x38')][_0x27cf('0xa4')])&&(_0x10d943[_0x27cf('0x112')](_0xf961f2=>_0x437bb2[_0x27cf('0xea')](_0x289bc9=>_0x289bc9[_0x27cf('0x62')](_0xf961f2,!0x0)))&&_0x37928d['discard']());}const _0x44b764=_0x487386(),_0x301fbf=_0x246ad7['id'],_0x6a412c=_0x27cf('0x14')+_0xc6401d,_0x5662a2=this['_setSuggestionData']({'id':_0x44b764,'type':_0x6a412c,'createdAt':new Date(),'authorId':_0x301fbf,'attributes':_0x59712c});for(const _0xff275 of _0x437bb2)_0xff275['detach'](),_0xff275[_0x27cf('0x50')]||_0x27cf('0x14a')==_0xff275[_0x27cf('0xac')][_0x27cf('0x8c')]||this[_0x27cf('0x107')](_0x6a412c,_0x44b764,_0x301fbf,_0xff275,_0x3076e1[_0x27cf('0x143')]());return _0x5662a2;}[_0x27cf('0x2e')](_0x57dbfb,_0x5808b3,_0x2f316e,_0x2adc53,_0x22d37a){if(_0x57dbfb[_0x27cf('0x50')])return[];if(_0x27cf('0x19')===this[_0x27cf('0xc1')])return[];const _0x8f2edc=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')]('Users')['me']['id'],_0x311f00=Array['from'](this[_0x27cf('0xee')]['values']())[_0x27cf('0x51')](_0x29a5ac=>_0x27cf('0x5e')==_0x29a5ac[_0x27cf('0x137')]&&_0x29a5ac[_0x27cf('0x109')]['key']==_0x5808b3&&_0x29a5ac[_0x27cf('0xbd')](_0x57dbfb));if(_0x27cf('0xe7')===this[_0x27cf('0xc1')]){const _0x1876b8=this[_0x27cf('0x1b')](_0x57dbfb,'insertion')['filter'](({meta:_0x4cc11b})=>_0x4cc11b['isOwn']&&!_0x4cc11b['isInsideObject']&&!_0x4cc11b['isNextTo'])[_0x27cf('0xa9')](({suggestion:_0x1e36e2})=>_0x1e36e2);_0x311f00[_0x27cf('0x11d')](..._0x1876b8);}const _0x190037=new Map([[_0x57dbfb,_0x2f316e]]);for(const _0x3660ad of _0x311f00){const _0xa6b7aa=_0x27cf('0x5e')==_0x3660ad[_0x27cf('0x137')]?_0x3660ad['data'][_0x27cf('0x25')]:void 0x0,_0x29f0ec=_0x3660ad['getFirstRange'](),_0x317403=Array[_0x27cf('0x40')](_0x190037[_0x27cf('0x55')]())[_0x27cf('0xe4')](_0x50831b=>_0x50831b['isIntersecting'](_0x29f0ec));if(!_0x317403)continue;const _0x4a766f=_0x317403[_0x27cf('0xf4')](_0x29f0ec);this[_0x27cf('0x12e')](_0x5808b3)&&_0x27cf('0xc8')==_0x3660ad[_0x27cf('0x137')]&&0x0!=_0x4a766f[_0x27cf('0xdb')]||(_0x190037[_0x27cf('0xe5')](_0x317403),_0x4a766f['forEach'](_0x589b0c=>{_0x190037[_0x27cf('0x7')](_0x589b0c,_0x2f316e);}),_0x27cf('0xc8')!=_0x3660ad['type']&&_0xa6b7aa!=_0x2adc53&&_0x190037['set'](_0x317403[_0x27cf('0x174')](_0x29f0ec),_0xa6b7aa));}const _0x232396=[];for(const [_0x4a3b33,_0x58b4be]of _0x190037){const _0x39c69f=_0x487386(),_0x191b19={'key':_0x5808b3,'oldValue':_0x58b4be,'newValue':_0x2adc53};_0x5808b3[_0x27cf('0xdb')]>0x25&&console['warn'](_0x27cf('0xe0'),{'key':_0x5808b3});const _0x72131d=(_0x27cf('0x168')+(_0x5808b3+'|'+Et({'newValue':_0x2adc53})))[_0x27cf('0x9b')](0x0,0x3c),_0xdcf893=this[_0x27cf('0x5c')]({'id':_0x39c69f,'type':_0x72131d,'data':_0x191b19,'createdAt':new Date(),'authorId':_0x8f2edc,'attributes':_0x22d37a});_0x232396[_0x27cf('0x12f')](_0xdcf893),this['_addSuggestionMarker'](_0x72131d,_0x39c69f,_0x8f2edc,_0x4a3b33);}return _0x232396;}['_registerBlockAttribute'](_0x312f0c){this[_0x27cf('0x22')][_0x27cf('0x35')](_0x312f0c);}['_registerInlineAttribute'](_0x2c815e){this[_0x27cf('0x128')][_0x27cf('0x35')](_0x2c815e);}[_0x27cf('0xd3')](_0x3a696c,_0x203ac2=[],_0x3786bc=[]){this[_0x27cf('0x9a')](_0x3a696c,(_0x865a17,..._0x495fc5)=>{this[_0x27cf('0x10d')](()=>{_0x865a17(..._0x495fc5);});});for(const _0x2f14d4 of _0x203ac2)this[_0x27cf('0x177')](_0x2f14d4);for(const _0x392b41 of _0x3786bc)this[_0x27cf('0x4e')](_0x392b41);}[_0x27cf('0x63')](_0x5f903,_0x547c44){const _0x379eeb=_0x5f903[_0x27cf('0xc7')]();this[_0x27cf('0xb5')]['change'](_0x2d171d=>{_0x2d171d[_0x27cf('0xe')](_0x379eeb,{'range':_0x547c44});});}['_addThreadToSuggestion'](_0x449d8c){const _0x520f05=_0x449d8c['id'],_0x2ad8bf=this['editor'][_0x27cf('0x3a')][_0x27cf('0x2b')]('collaboration.channelId');this[_0x27cf('0x39')][_0x27cf('0x8b')](_0x520f05)||this[_0x27cf('0x39')][_0x27cf('0xf0')]({'channelId':_0x2ad8bf,'threadId':_0x520f05,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x5c8ffc=this['_commentsRepository']['getCommentThread'](_0x520f05);_0x5c8ffc[_0x27cf('0x12b')]('isRemovable'),_0x5c8ffc[_0x27cf('0x3')]=!0x1,_0x449d8c[_0x27cf('0x9c')]=_0x5c8ffc;}['_checkSuggestionCorrectness'](_0x11a886,_0x3a033c,_0x497176,_0x102278){if(_0x11a886[_0x27cf('0x137')]!=_0x3a033c||_0x11a886['subType']!=_0x497176||_0x11a886['creator']['id']!=_0x102278)throw this['editor'][_0x27cf('0xc9')]('track-changes-suggestion-data-mismatch'),new _0x179a44(_0x27cf('0x12'),this);}[_0x27cf('0x26')](_0x42380d,_0x4e8766){const _0x19143a=_0x42380d[_0x27cf('0x73')]();if(_0x4e8766[_0x27cf('0xff')](_0x19143a))_0x42380d[_0x27cf('0x102')]();else{if(_0x19143a['containsRange'](_0x4e8766)){const _0x176862=this[_0x27cf('0xb5')][_0x27cf('0x29')](_0x4e8766['start'][_0x27cf('0x101')],_0x27cf('0x16f'));this['_setSuggestionRange'](_0x42380d,this['_model'][_0x27cf('0xe6')](_0x19143a[_0x27cf('0x156')],_0x176862));const _0x1f3e54=_0x487386(),_0x338fa3=_0x42380d[_0x27cf('0x160')]['id'],_0x10bd9b=_0x42380d[_0x27cf('0x137')]+':'+_0x42380d[_0x27cf('0xd0')];this['_setSuggestionData']({'id':_0x1f3e54,'type':_0x10bd9b,'createdAt':new Date(),'authorId':_0x338fa3,'data':_0x42380d[_0x27cf('0x109')],'attributes':_0x42380d[_0x27cf('0x38')]});const _0x180f59=this['_model']['createPositionAt'](_0x4e8766[_0x27cf('0x16f')][_0x27cf('0xe3')],'after'),_0x212d3c=this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x180f59,_0x19143a[_0x27cf('0x16f')]);this[_0x27cf('0x107')](_0x10bd9b,_0x1f3e54,_0x338fa3,_0x212d3c);}else{if(_0x19143a[_0x27cf('0x16d')](_0x4e8766[_0x27cf('0x156')])){const _0x505f28=this[_0x27cf('0xb5')][_0x27cf('0x29')](_0x4e8766[_0x27cf('0x156')]['nodeBefore'],_0x27cf('0x16f'));this[_0x27cf('0x63')](_0x42380d,this[_0x27cf('0xb5')]['createRange'](_0x19143a[_0x27cf('0x156')],_0x505f28));}else{const _0x219d46=this[_0x27cf('0xb5')][_0x27cf('0x29')](_0x4e8766[_0x27cf('0x16f')][_0x27cf('0xe3')],_0x27cf('0xa1'));this[_0x27cf('0x63')](_0x42380d,this[_0x27cf('0xb5')]['createRange'](_0x219d46,_0x19143a['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x1e22ab){for(const {suggestion:_0x17fca4,meta:_0x5c15c0}of this['_findSuggestions'](_0x1e22ab,_0x27cf('0xc8'))){if(!_0x5c15c0[_0x27cf('0x81')])continue;const _0x2e01ef=_0x17fca4[_0x27cf('0xaf')]();for(const _0x46469f of _0x2e01ef)if(!_0x1e22ab[_0x27cf('0xf4')](_0x46469f)[_0x27cf('0xdb')])return!0x0;}return!0x1;}[_0x27cf('0x125')](_0x3ca14e){const _0x4d61d9=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')]('Users')[_0x27cf('0x5b')](_0x3ca14e);if(!_0x4d61d9)throw new _0x179a44(_0x27cf('0xe1'),this);return _0x4d61d9;}[_0x27cf('0x166')](_0x30023d){const _0x5f1736=this[_0x27cf('0x12a')][_0x27cf('0x68')][_0x27cf('0x2b')]('Users'),_0x133036=_0x4f0889(_0x27cf('0x56')+_0x30023d),_0x5aa3a9=_0x5f1736['getUser'](_0x133036);return _0x5aa3a9||_0x5f1736[_0x27cf('0x18')]({'id':_0x133036,'name':_0x30023d});}['_createSuggestion'](_0x2d6a2e,_0x10d33c,_0x49fc6d,_0x1f5803,_0x46b17a){const _0x4765ad=this[_0x27cf('0x125')](_0x1f5803),_0x4027e3=this[_0x27cf('0x32')][_0x27cf('0x30')](_0x2d6a2e,_0x10d33c,_0x49fc6d,_0x4765ad,_0x46b17a,_0x47820c=>this[_0x27cf('0x6')](_0x49fc6d,{'attributes':_0x47820c}));return this[_0x27cf('0x179')](_0x4027e3,'accept',()=>{this['_updateSuggestionData'](_0x49fc6d,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x4027e3,'discard',()=>{this[_0x27cf('0x6')](_0x49fc6d,{'state':_0x27cf('0x76')});},{'priority':_0x27cf('0x133')}),this[_0x27cf('0xee')][_0x27cf('0x7')](_0x49fc6d,_0x4027e3),this[_0x27cf('0xc5')][_0x27cf('0x7')](_0x4027e3,_0x27cf('0xc0')),_0x4027e3;}[_0x27cf('0x119')](_0x80e825){const _0x23ce3f=_0x80e825[_0x27cf('0x9d')](':');return{'group':_0x23ce3f[0x0],'type':_0x23ce3f[0x1],'subType':_0x23ce3f[_0x27cf('0xdb')]>=0x5?_0x23ce3f[0x2]:null,'id':_0x23ce3f[_0x27cf('0xdb')]<0x5?_0x23ce3f[0x2]:_0x23ce3f[0x3],'authorId':_0x23ce3f['length']<0x5?_0x23ce3f[0x3]:_0x23ce3f[0x4],'markerCount':0x6==_0x23ce3f[_0x27cf('0xdb')]?_0x23ce3f[0x5]:null};}[_0x27cf('0x37')](_0x4e73fe,_0x1009ac,_0x213d5c){const _0x4dd80e=_0x4e73fe[_0x27cf('0x73')](),_0x407840=_0x4dd80e[_0x27cf('0x156')],_0x50f56e=_0x4dd80e[_0x27cf('0x16f')];this[_0x27cf('0x63')](_0x4e73fe,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x407840,_0x1009ac));const _0x10103b=_0x487386(),_0x4d0cfc=_0x4e73fe[_0x27cf('0x160')]['id'],_0x21b491=_0x4e73fe[_0x27cf('0x137')]+(_0x4e73fe[_0x27cf('0xd0')]?':'+_0x4e73fe[_0x27cf('0xd0')]:'');this[_0x27cf('0x5c')]({'id':_0x10103b,'type':_0x21b491,'createdAt':new Date(),'authorId':_0x4d0cfc,'originalSuggestionId':_0x4e73fe['id'],'attributes':_0x4e73fe[_0x27cf('0x38')],'data':_0x4e73fe[_0x27cf('0x109')]});const _0x5e000c=Pt(_0x4e73fe);(_0x27cf('0x77')==_0x4e73fe['type']||_0x5e000c&&this['_isBlockAttribute'](_0x5e000c))&&(_0x213d5c=this[_0x27cf('0xb5')]['createPositionBefore'](_0x213d5c['parent'])),this[_0x27cf('0x107')](_0x21b491,_0x10103b,_0x4d0cfc,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x213d5c,_0x50f56e));}[_0x27cf('0x1b')](_0x17150b,_0x16dac5=null){const _0x5440c8=[],_0x33adf2=this[_0x27cf('0x12a')]['plugins'][_0x27cf('0x2b')]('Users')['me'];Array['isArray'](_0x17150b)||(_0x17150b=[_0x17150b]);for(const _0x46286d of this['getSuggestions']()){if(!_0x46286d[_0x27cf('0x147')])continue;if(_0x16dac5&&_0x46286d[_0x27cf('0x137')]!=_0x16dac5)continue;let _0x445804=!0x1;for(const _0x45cde7 of _0x46286d[_0x27cf('0xaf')]()){for(const _0x34f36b of _0x17150b){const _0x7908ec=_0x34f36b['start']['isEqual'](_0x45cde7['end'])||_0x34f36b['end'][_0x27cf('0xff')](_0x45cde7[_0x27cf('0x156')]);if(_0x7908ec||_0x34f36b[_0x27cf('0x174')](_0x45cde7)){const _0x9ff67f=_0x34f36b[_0x27cf('0x62')](_0x45cde7)&&Bt(this[_0x27cf('0xb5')][_0x27cf('0x10e')],_0x45cde7['start'],_0x34f36b),_0x104118=_0x45cde7[_0x27cf('0x62')](_0x34f36b)&&Bt(this['_model'][_0x27cf('0x10e')],_0x34f36b[_0x27cf('0x156')],_0x45cde7);_0x5440c8[_0x27cf('0x12f')]({'suggestion':_0x46286d,'meta':{'isOwn':_0x33adf2==_0x46286d['author'],'isNextTo':_0x7908ec,'isInsideObject':_0x9ff67f,'containsRangeInObject':_0x104118}}),_0x445804=!0x0;break;}}if(_0x445804)break;}}return _0x5440c8;}[_0x27cf('0x107')](_0x55cdf6,_0x4d7ee1,_0xd4c764,_0x35cfd5,_0x2b90f2){this['_model'][_0x27cf('0xbe')](_0x2f1f0b=>{let _0x6be370=_0x27cf('0x3d')+_0x55cdf6+':'+_0x4d7ee1+':'+_0xd4c764;_0x2b90f2&&(_0x6be370=_0x6be370+':'+_0x2b90f2),_0x2f1f0b['addMarker'](_0x6be370,{'range':_0x35cfd5,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x27cf('0x14b')](_0xe0b01d){const _0x1e6e1c=_0xe0b01d[_0x27cf('0x124')],_0x52903b=_0xe0b01d[_0x27cf('0x136')];_0xe0b01d[_0x27cf('0x124')]=null,_0xe0b01d[_0x27cf('0x136')]=null,null!=_0x1e6e1c&&(_0x1e6e1c['next']=_0x52903b),null!=_0x52903b&&(_0x52903b[_0x27cf('0x124')]=_0x1e6e1c),_0x27cf('0x4a')==this[_0x27cf('0xc5')]['get'](_0xe0b01d)&&(this[_0x27cf('0xc5')]['set'](_0xe0b01d,_0x27cf('0xf8')),this[_0x27cf('0x36')](_0x27cf('0x8f'),_0xe0b01d,_0x1e6e1c,_0x52903b));}[_0x27cf('0x5c')](_0x477f16){const _0x4e8f15=_0x477f16['id'],_0x2b0da3=this[_0x27cf('0x118')](_0x477f16);if(this[_0x27cf('0x93')]&&this[_0x27cf('0x93')][_0x27cf('0xf')]){const _0x4616c9=this[_0x27cf('0x12a')][_0x27cf('0x68')]['get']('PendingActions'),_0x418f2b=_0x2b0da3['hasComments'],_0x44bd37=_0x2b0da3[_0x27cf('0xd0')]?_0x2b0da3['type']+':'+_0x2b0da3[_0x27cf('0xd0')]:_0x2b0da3[_0x27cf('0x137')],_0x18d16b=this['editor']['locale'],_0x36fdf2=_0x4616c9[_0x27cf('0x35')](_0x298422(_0x18d16b,_0x27cf('0x104'))),_0x5d01f3={'id':_0x4e8f15,'type':_0x44bd37,'hasComments':_0x418f2b,'data':_0x477f16['data']||null,'originalSuggestionId':_0x477f16[_0x27cf('0x95')]||null,'attributes':_0x2b0da3[_0x27cf('0x38')]};this[_0x27cf('0x93')][_0x27cf('0xf')](_0x5d01f3)['then'](_0x20c7b7=>{_0x2b0da3[_0x27cf('0x140')]=!0x0,_0x4616c9[_0x27cf('0x13f')](_0x36fdf2),_0x20c7b7&&_0x20c7b7[_0x27cf('0x1a')]&&(this[_0x27cf('0xee')][_0x27cf('0x2b')](_0x4e8f15)['createdAt']=_0x20c7b7[_0x27cf('0x1a')]);})['catch'](_0x32c702=>{throw _0x1154c3(_0x27cf('0x9f')),this[_0x27cf('0x12a')][_0x27cf('0x0')][_0x27cf('0xf2')]({'isUndoable':!0x1},()=>{_0x2b0da3[_0x27cf('0x11a')]();}),_0x2b0da3[_0x27cf('0x121')](),this[_0x27cf('0xee')]['delete'](_0x2b0da3['id']),this[_0x27cf('0xc5')][_0x27cf('0xe5')](_0x2b0da3),_0x32c702;});}return _0x2b0da3;}[_0x27cf('0x12e')](_0x32f7bf){return this[_0x27cf('0x22')][_0x27cf('0xef')](_0x32f7bf);}[_0x27cf('0x6')](_0x2d8055,_0x5d745c){const _0x4697e1=this['editor'][_0x27cf('0x68')]['get'](_0x27cf('0xe8')),_0x51c7fa=this['getSuggestion'](_0x2d8055);if(this[_0x27cf('0x93')]&&this[_0x27cf('0x93')][_0x27cf('0x3c')]){if(_0x51c7fa[_0x27cf('0x140')]){const _0x990bac=_0x4697e1[_0x27cf('0x35')](_0x298422(this[_0x27cf('0x12a')]['locale'],_0x27cf('0x104')));this[_0x27cf('0x93')][_0x27cf('0x3c')](_0x2d8055,_0x5d745c)[_0x27cf('0x5f')](()=>{_0x4697e1['remove'](_0x990bac);});}else _0x51c7fa['on'](_0x27cf('0x16c'),()=>{this[_0x27cf('0x6')](_0x2d8055,_0x5d745c);});}}[_0x27cf('0x4b')](_0x1b21fc){if(!this['_adapter']||!this[_0x27cf('0x93')][_0x27cf('0x41')])throw new _0x179a44(_0x27cf('0x75'),this);return this['_adapter'][_0x27cf('0x41')](_0x1b21fc);}[_0x27cf('0x61')](_0x3c5f10){const {id:_0x254b11,type:_0x53089f,subType:_0x2c4424,authorId:_0x47eaa9}=this[_0x27cf('0x119')](_0x3c5f10),_0x22ee1d=this[_0x27cf('0xee')]['get'](_0x254b11)||this[_0x27cf('0xd7')](_0x53089f,_0x2c4424,_0x254b11,_0x47eaa9,{});switch(this['_checkSuggestionCorrectness'](_0x22ee1d,_0x53089f,_0x2c4424,_0x47eaa9),this['_suggestionState'][_0x27cf('0x2b')](_0x22ee1d)){case'notReady':this[_0x27cf('0x4b')](_0x254b11)['then'](_0x3ef8da=>{let _0x5ddd2f=Promise[_0x27cf('0xe9')]();_0x3ef8da['hasComments']&&(_0x5ddd2f=this[_0x27cf('0x39')][_0x27cf('0xd9')]({'channelId':this[_0x27cf('0x12a')][_0x27cf('0x3a')][_0x27cf('0x2b')](_0x27cf('0x138')),'threadId':_0x254b11})),_0x5ddd2f[_0x27cf('0x5f')](()=>{this[_0x27cf('0x118')](_0x3ef8da)[_0x27cf('0x140')]=!0x0;});}),this[_0x27cf('0xc5')][_0x27cf('0x7')](_0x22ee1d,'markerReady');break;case _0x27cf('0xf8'):this[_0x27cf('0x6')](_0x254b11,{'state':'open'});case'dataReady':this[_0x27cf('0xc5')][_0x27cf('0x7')](_0x22ee1d,_0x27cf('0x4a')),this['fire'](_0x27cf('0x10a'),_0x22ee1d);break;case _0x27cf('0x4a'):this[_0x27cf('0x36')](_0x27cf('0x7e'),_0x22ee1d);}return _0x22ee1d[_0x27cf('0x92')](_0x3c5f10),_0x22ee1d;}[_0x27cf('0xa2')](_0x2da065){const _0x363cb5=Array[_0x27cf('0x40')](_0x2da065),_0x5fbbe4=_0x363cb5[_0x27cf('0x51')](_0x2736c8=>_0x27cf('0x5e')==_0x2736c8[_0x27cf('0x137')]);this[_0x27cf('0x2a')](_0x5fbbe4);const _0xfb9c0e=_0x363cb5[_0x27cf('0x51')](_0x19d2a4=>!_0x19d2a4[_0x27cf('0x7a')]&&_0x27cf('0x5e')!=_0x19d2a4[_0x27cf('0x137')]),_0x2b5acd=this['getSuggestions']({'skipNotAttached':!0x0})[_0x27cf('0x51')](_0x4cf756=>!_0x4cf756['isMultiRange']&&_0x27cf('0x5e')!=_0x4cf756[_0x27cf('0x137')]),_0x2aeea0=_0x2b5acd[_0x27cf('0x51')](_0x53b391=>!_0x2da065['has'](_0x53b391)),_0x28ac05=new Map(_0x2b5acd[_0x27cf('0xa9')](_0x2c317c=>[_0x2c317c,this[_0x27cf('0x32')][_0x27cf('0x148')](_0x2c317c[_0x27cf('0x137')],_0x2c317c[_0x27cf('0xd0')],'chain')])),_0x5a6fd4=new Map(_0x2b5acd[_0x27cf('0xa9')](_0x1d3a90=>[_0x1d3a90,_0x1d3a90[_0x27cf('0x73')]()])),_0x5e8e6c=new Set(),_0x224ad9=new Set();for(let _0x37093f=0x0;_0x37093f<_0xfb9c0e['length'];_0x37093f++)_0x2b6773(_0xfb9c0e[_0x37093f],_0xfb9c0e,_0x37093f+0x1);for(let _0x2fe631=0x0;_0x2fe631<_0xfb9c0e['length'];_0x2fe631++)_0x2b6773(_0xfb9c0e[_0x2fe631],_0x2aeea0,0x0);const _0x1f333b=new Set();for(let _0x1aef76=0x0;_0x1aef76<_0xfb9c0e[_0x27cf('0xdb')];_0x1aef76++){const _0x39b81a=_0xfb9c0e[_0x1aef76];!_0x224ad9[_0x27cf('0xef')](_0x39b81a)&&_0x39b81a[_0x27cf('0x124')]&&(_0x1f333b[_0x27cf('0x35')](_0x39b81a[_0x27cf('0x124')]),_0x39b81a[_0x27cf('0x124')][_0x27cf('0x136')]===_0x39b81a&&(_0x39b81a[_0x27cf('0x124')][_0x27cf('0x136')]=null),_0x39b81a[_0x27cf('0x124')]=null),!_0x5e8e6c[_0x27cf('0xef')](_0x39b81a)&&_0x39b81a[_0x27cf('0x136')]&&(_0x1f333b[_0x27cf('0x35')](_0x39b81a[_0x27cf('0x136')]),_0x39b81a['next'][_0x27cf('0x124')]===_0x39b81a&&(_0x39b81a[_0x27cf('0x136')][_0x27cf('0x124')]=null),_0x39b81a[_0x27cf('0x136')]=null);}function _0x2b6773(_0x292c58,_0x175061,_0x4d8847){for(let _0x2ffa90=_0x4d8847;_0x2ffa90<_0x175061[_0x27cf('0xdb')];_0x2ffa90++){const _0x51c80f=_0x3e2726(_0x292c58,_0x175061[_0x2ffa90]);_0x51c80f&&(_0x51c80f[0x0][_0x27cf('0x136')]=_0x51c80f[0x1],_0x51c80f[0x1][_0x27cf('0x124')]=_0x51c80f[0x0],_0x5e8e6c['add'](_0x51c80f[0x0]),_0x224ad9['add'](_0x51c80f[0x1]));}}function _0x3e2726(_0x23c10b,_0x4cf04f){if(_0x23c10b['author']['id']!==_0x4cf04f[_0x27cf('0x2d')]['id'])return null;const _0x5962cc=_0x28ac05[_0x27cf('0x2b')](_0x23c10b)(_0x23c10b,_0x4cf04f,_0x5a6fd4[_0x27cf('0x2b')](_0x23c10b),_0x5a6fd4[_0x27cf('0x2b')](_0x4cf04f));if(!_0x5962cc)return null;return _0x28ac05['get'](_0x4cf04f)(_0x23c10b,_0x4cf04f,_0x5a6fd4[_0x27cf('0x2b')](_0x23c10b),_0x5a6fd4[_0x27cf('0x2b')](_0x4cf04f))?_0x5962cc[0x1]['commentThread']&&_0x5962cc[0x1]['commentThread'][_0x27cf('0xdb')]?null:_0x5962cc:null;}_0x1f333b[_0x27cf('0x6b')]&&this['_refreshSuggestionsChain'](_0x1f333b);}[_0x27cf('0x2a')](_0x49e84a){if(0x0==_0x49e84a[_0x27cf('0xdb')])return;const _0x5ea90a=this[_0x27cf('0x71')]({'skipNotAttached':!0x0})[_0x27cf('0x51')](_0x1a8ce0=>'attribute'==_0x1a8ce0['type']&&_0x1a8ce0[_0x27cf('0x43')]),_0x58ef10=[],_0x19514f=new Map();for(const _0x3ec0e5 of _0x5ea90a){const _0x4a3a60=_0x4f0889(_0x3ec0e5[_0x27cf('0x38')]);_0x19514f[_0x27cf('0xef')](_0x4a3a60)||(_0x19514f[_0x27cf('0x7')](_0x4a3a60,_0x58ef10[_0x27cf('0xdb')]),_0x58ef10[_0x27cf('0x12f')]([]));const _0x375900=_0x19514f[_0x27cf('0x2b')](_0x4a3a60);_0x58ef10[_0x375900][_0x27cf('0x12f')](_0x3ec0e5);}!function(){_0x58ef10[_0x27cf('0xd')]((_0x1180da,_0x82d731)=>{const _0xe563b0=_0x1180da[0x0][_0x27cf('0x1a')],_0x486f3f=_0x82d731[0x0][_0x27cf('0x1a')];return _0xe563b0==_0x486f3f?_0x1180da[0x0][_0x27cf('0x38')][_0x27cf('0x111')]<_0x82d731[0x0][_0x27cf('0x38')]['groupId']?-0x1:0x1:_0xe563b0<_0x486f3f?-0x1:0x1;});for(const _0x289325 of _0x58ef10)_0x289325[_0x27cf('0xd')]((_0x34bd85,_0x45f46d)=>_0x34bd85['id']<_0x45f46d['id']?-0x1:0x1);}();for(let _0xa5f750=0x0;_0xa5f750<_0x58ef10['length'];_0xa5f750++){if(0x0==_0x58ef10[_0xa5f750][_0x27cf('0xdb')])continue;const _0x47f0fa=[];for(let _0x349926=_0xa5f750+0x1;_0x349926<_0x58ef10[_0x27cf('0xdb')];_0x349926++)0x0!=_0x58ef10[_0x349926][_0x27cf('0xdb')]&&_0x24a774(_0x58ef10[_0xa5f750],_0x58ef10[_0x349926])&&_0x47f0fa[_0x27cf('0x12f')](_0x349926);for(const _0x10a3a7 of _0x47f0fa)_0x58ef10[_0xa5f750]=_0x58ef10[_0xa5f750]['concat'](_0x58ef10[_0x10a3a7]),_0x58ef10[_0x10a3a7]=[];}for(const _0x185408 of _0x58ef10)for(let _0x546fc7=0x0;_0x546fc7<_0x185408['length'];_0x546fc7++)_0x185408[_0x546fc7][_0x27cf('0x136')]=_0x185408[_0x546fc7+0x1]||null;for(const _0x342435 of _0x58ef10)for(let _0x182ba9=0x0;_0x182ba9<_0x342435['length'];_0x182ba9++)_0x342435[_0x182ba9][_0x27cf('0x124')]=_0x342435[_0x182ba9-0x1]||null;function _0x24a774(_0x4f152a,_0x122ac1){if(_0x4f152a[0x0][_0x27cf('0x2d')]!==_0x122ac1[0x0][_0x27cf('0x2d')])return!0x1;if(!function(_0x11ef88,_0x58deed){if(!_0x11ef88[_0x27cf('0xd5')]&&!_0x58deed[_0x27cf('0xd5')])return!0x0;if(_0x11ef88[_0x27cf('0xd5')]&&_0x58deed['hasComments'])return!0x1;if(_0x11ef88[_0x27cf('0xd5')]&&_0x58deed[_0x27cf('0x1a')]<_0x11ef88[_0x27cf('0x9c')][_0x27cf('0x117')][_0x27cf('0x2b')](0x0)[_0x27cf('0x1a')])return!0x0;if(_0x58deed[_0x27cf('0xd5')]&&_0x11ef88[_0x27cf('0x1a')]<_0x58deed['commentThread'][_0x27cf('0x117')][_0x27cf('0x2b')](0x0)[_0x27cf('0x1a')])return!0x0;return!0x1;}(_0x4f152a[0x0],_0x122ac1[0x0]))return!0x1;const _0x60c598=_0x4edf07(_0x4f152a[0x0][_0x27cf('0x38')],_0x27cf('0x111')),_0x28b3dc=_0x4edf07(_0x122ac1[0x0][_0x27cf('0x38')],_0x27cf('0x111'));if(!_0x4d7397(_0x60c598,_0x28b3dc))return!0x1;return!!_0x4f152a[_0x27cf('0x112')](_0x1e3bd1=>_0x122ac1[_0x27cf('0xea')](_0x66f89e=>_0x1e3bd1['getFirstRange']()['isEqual'](_0x66f89e[_0x27cf('0x73')]())))&&_0x122ac1[_0x27cf('0x112')](_0x4439ca=>_0x4f152a[_0x27cf('0xea')](_0x1418b4=>_0x4439ca[_0x27cf('0x73')]()['isEqual'](_0x1418b4[_0x27cf('0x73')]())));}}['_joinWithAdjacentSuggestions'](_0x52a485){const _0x372ca6=Array['from'](_0x52a485),_0x529b70=this[_0x27cf('0x71')]({'skipNotAttached':!0x0}),_0x22ffca=_0x529b70[_0x27cf('0x51')](_0x5adc04=>!_0x52a485[_0x27cf('0xef')](_0x5adc04)),_0x32ae69=new Map(_0x372ca6[_0x27cf('0xa9')](_0x4bbe31=>[_0x4bbe31,this[_0x27cf('0x32')][_0x27cf('0x148')](_0x4bbe31[_0x27cf('0x137')],_0x4bbe31[_0x27cf('0xd0')],'join')])),_0xa75cfb=new Map(_0x529b70[_0x27cf('0xa9')](_0x5267d0=>[_0x5267d0,_0x5267d0[_0x27cf('0xaf')]()]));for(let _0x337e64=0x0;_0x337e64<_0x372ca6[_0x27cf('0xdb')];_0x337e64++){if(_0x53e8fa(this,_0x372ca6[_0x337e64],_0x372ca6,_0x337e64+0x1))return!0x0;}for(let _0x52e470=0x0;_0x52e470<_0x372ca6[_0x27cf('0xdb')];_0x52e470++){if(_0x53e8fa(this,_0x372ca6[_0x52e470],_0x22ffca,0x0))return!0x0;}return!0x1;function _0x53e8fa(_0xbe3f2b,_0x2190cc,_0x2b6757,_0xcbcdf2){for(let _0x13a1a=_0xcbcdf2;_0x13a1a<_0x2b6757[_0x27cf('0xdb')];_0x13a1a++){const _0xb5a89d=_0x2b6757[_0x13a1a];if(_0xb5a89d[_0x27cf('0x137')]!==_0x2190cc[_0x27cf('0x137')]||_0xb5a89d['author']['id']!==_0x2190cc[_0x27cf('0x2d')]['id']||_0xb5a89d['subType']!==_0x2190cc[_0x27cf('0xd0')])continue;if(!Vt(_0x2190cc,_0xb5a89d))continue;if(_0x27cf('0x5e')==_0x2190cc[_0x27cf('0x137')]&&_0x2190cc['data'][_0x27cf('0x25')]!=_0xb5a89d[_0x27cf('0x109')][_0x27cf('0x25')])continue;if(_0x27cf('0x5e')==_0x2190cc[_0x27cf('0x137')]&&_0xbe3f2b['_isBlockAttribute'](_0x2190cc[_0x27cf('0x109')][_0x27cf('0x83')]))continue;if('formatBlock'==_0x2190cc['type']){const _0x526c68=_0xbe3f2b[_0x27cf('0x12a')][_0x27cf('0x0')],_0x1d8bdd=_0x2190cc[_0x27cf('0x154')]();if(_0x1d8bdd&&(_0x526c68[_0x27cf('0x10e')]['isObject'](_0x1d8bdd)||_0x526c68['schema'][_0x27cf('0x159')](_0x1d8bdd)))continue;}const _0xcc1b16=_0x32ae69[_0x27cf('0x2b')](_0x2190cc),_0x32d537=_0xa75cfb['get'](_0x2190cc),_0x5c71d9=_0xa75cfb[_0x27cf('0x2b')](_0xb5a89d),_0x4de4d1=_0x2190cc[_0x27cf('0x9c')]&&_0x2190cc[_0x27cf('0x9c')][_0x27cf('0xdb')],_0x3a4be0=_0xb5a89d[_0x27cf('0x9c')]&&_0xb5a89d[_0x27cf('0x9c')][_0x27cf('0xdb')];if(!_0x4de4d1&&_0xcc1b16(_0x5c71d9,_0x32d537))return _0xbe3f2b['_joinSuggestions'](_0xb5a89d,_0x2190cc),_0xa75cfb['delete'](_0x2190cc),!0x0;if(!_0x3a4be0&&_0xcc1b16(_0x32d537,_0x5c71d9))return _0xbe3f2b[_0x27cf('0x142')](_0x2190cc,_0xb5a89d),_0xa75cfb['delete'](_0xb5a89d),!0x0;}return!0x1;}}[_0x27cf('0x142')](_0x14fe88,_0x142a00){if(_0x14fe88[_0x27cf('0x7a')])for(const _0x199b34 of _0x142a00[_0x27cf('0xaf')]())_0x14fe88[_0x27cf('0x127')](_0x199b34);else{const _0x10a32e=_0x142a00['getFirstRange']()['end'];this[_0x27cf('0x63')](_0x14fe88,this[_0x27cf('0xb5')][_0x27cf('0xe6')](_0x14fe88[_0x27cf('0x73')]()['start'],_0x10a32e));}_0x142a00['removeMarkers']();}[_0x27cf('0x15a')](_0x33f18e,_0x9d8278){const _0x783d3d=_0x33f18e[_0x27cf('0x46')](_0x27cf('0x4f'))||_0x33f18e[_0x27cf('0x46')](_0x27cf('0x5e'))?_0x27cf('0x114'):_0x33f18e[_0x27cf('0x23')]();return _0x298422(this[_0x27cf('0x12a')][_0x27cf('0x11e')],_0x9d8278+'_'+_0x783d3d+_0x27cf('0x87'));}['_initAriaMarkerChangeAnnouncements'](){const _0x39c51a=this['editor'];_0x5d222d(this[_0x27cf('0xb5')],({left:_0x1e8ae5,entered:_0x2cd59c})=>{const _0x2e8c75=[];for(const _0x82a4fb of _0x1e8ae5){const {group:_0x5ebff8,type:_0x2496f9}=this['_splitMarkerName'](_0x82a4fb[_0x27cf('0x100')]);if(_0x27cf('0x99')===_0x5ebff8){_0x2e8c75['push'](this[_0x27cf('0x15a')](_0x2496f9,_0x27cf('0xca')));break;}}for(const _0x195bc6 of _0x2cd59c){const {group:_0xc721aa,type:_0xd5250a}=this[_0x27cf('0x119')](_0x195bc6['name']);if(_0x27cf('0x99')===_0xc721aa){_0x2e8c75[_0x27cf('0x12f')](this['_getMarkerAnnouncementText'](_0xd5250a,_0x27cf('0xfe')));break;}}_0x2e8c75[_0x27cf('0xdb')]&&_0x39c51a['ui'][_0x27cf('0x105')][_0x27cf('0x171')](_0x27cf('0x130'),_0x2e8c75['join']('\x20'));});}[_0x27cf('0x139')](_0x591023){if(null!==this[_0x27cf('0x7f')])return!0x1;const _0x5ded45=this[_0x27cf('0x12a')],_0x733c6d=_0x5ded45['model'][_0x27cf('0xa8')][_0x27cf('0x153')][_0x27cf('0xed')]();if(0x0==_0x733c6d[_0x27cf('0xdb')])return!0x1;const _0x2c01d9=[],_0x2f2d4f=_0x733c6d[_0x27cf('0x51')](_0x519d2c=>_0x27cf('0x5e')==_0x519d2c[_0x27cf('0x137')]),_0x3373f8=_0x733c6d[_0x27cf('0x51')](_0xa5ec11=>'insert'==_0xa5ec11['type']&&_0x27cf('0x96')!=_0xa5ec11['name']),_0x340b04=_0x733c6d[_0x27cf('0x51')](_0x7f264e=>_0x27cf('0x13f')==_0x7f264e[_0x27cf('0x137')]&&'$text'!=_0x7f264e['name']);for(const _0x5c513f of _0x2f2d4f)_0x2c01d9[_0x27cf('0x12f')]({'key':_0x5c513f['attributeKey'],'newValue':_0x5c513f[_0x27cf('0x10c')],'oldValue':_0x5c513f[_0x27cf('0x42')],'range':_0x5e5f56(_0x5c513f['range'])});for(const _0x474026 of _0x3373f8){const _0x4920c6=_0x340b04[_0x27cf('0xe4')](_0xd2079b=>_0xd2079b[_0x27cf('0x10f')]['isEqual'](_0x474026['position']));_0x4920c6&&_0x2c01d9['push']({'key':_0x27cf('0x52'),'newValue':_0x474026[_0x27cf('0x100')],'oldValue':_0x4920c6['name'],'range':_0x5ded45['model']['createRangeOn'](_0x474026[_0x27cf('0x10f')][_0x27cf('0x34')])});}return 0x0!=_0x2c01d9[_0x27cf('0xdb')]&&this['_reduceExistingSuggestions'](_0x591023,_0x2c01d9);function _0x5e5f56(_0x2a6db6){return null==_0x2a6db6[_0x27cf('0x16f')][_0x27cf('0x101')]&&_0x2a6db6[_0x27cf('0x16f')][_0x27cf('0xe3')]==_0x2a6db6['start'][_0x27cf('0x34')]?Ut(_0x2a6db6[_0x27cf('0x156')][_0x27cf('0x34')],_0x5ded45['model']):_0x2a6db6;}}[_0x27cf('0xf3')](_0x2f6d92){let _0xa43030=!0x1;const _0x1805e0=this[_0x27cf('0x12a')]['model'][_0x27cf('0xa8')][_0x27cf('0x153')][_0x27cf('0xeb')]()[_0x27cf('0x51')](_0x35ca3e=>_0x35ca3e[_0x27cf('0x109')]['newRange']&&_0x35ca3e['name'][_0x27cf('0x46')](_0x27cf('0x16b')));for(const _0x375b24 of _0x1805e0){const {subType:_0x2fc827,id:_0x2d84cd}=this[_0x27cf('0x119')](_0x375b24[_0x27cf('0x100')]),_0x52f184=_0x2fc827[_0x27cf('0x9d')]('|')[0x0];for(const _0x4304cb of this[_0x27cf('0x71')]({'skipNotAttached':!0x0}))_0x4304cb['id']!=_0x2d84cd&&_0x27cf('0x5e')==_0x4304cb['type']&&_0x4304cb[_0x27cf('0x109')]&&_0x4304cb[_0x27cf('0x109')]['key']==_0x52f184&&_0x4304cb[_0x27cf('0x73')]()[_0x27cf('0x60')](_0x375b24[_0x27cf('0x109')][_0x27cf('0x54')])&&(this['_reduceSuggestionAttributeRange'](_0x4304cb,_0x375b24[_0x27cf('0x109')]['newRange'],_0x2f6d92),_0xa43030=!0x0);}return _0xa43030;}[_0x27cf('0x10d')](_0x43a270){if(null!==this[_0x27cf('0x7f')])return void _0x43a270();const _0x171cad=this['editor'];this[_0x27cf('0x7f')]=_0x171cad['model']['document'][_0x27cf('0x157')],_0x43a270();const _0x510cdb=new Map();for(const _0x46c26b of _0x171cad[_0x27cf('0x0')][_0x27cf('0xa8')]['history'][_0x27cf('0xd4')](this[_0x27cf('0x7f')]))if([_0x27cf('0xfb'),'addAttribute',_0x27cf('0x15d'),_0x27cf('0x164')]['includes'](_0x46c26b[_0x27cf('0x137')])){const _0x15c065=_0x46c26b['batch'],_0x6a83dc=_0x510cdb['get'](_0x15c065)||[];_0x6a83dc['push'](_0x46c26b),_0x510cdb[_0x27cf('0x7')](_0x15c065,_0x6a83dc);}this[_0x27cf('0x7f')]=null;for(const [_0x2c7c36,_0x57dffe]of _0x510cdb){const _0x23ad44=_0x487386();_0x171cad[_0x27cf('0x0')][_0x27cf('0xf2')](_0x2c7c36,_0x509834=>{const _0x393b9a=[];for(const _0x58275c of _0x57dffe){let _0x52fa31,_0x18e4d7,_0x281553,_0x578877;if('rename'==_0x58275c[_0x27cf('0x137')]){const _0x27f2ab=_0x58275c;_0x52fa31=Ut(_0x27f2ab[_0x27cf('0x10f')][_0x27cf('0x34')],_0x171cad[_0x27cf('0x0')]),_0x18e4d7=_0x27cf('0x52'),_0x281553=_0x27f2ab[_0x27cf('0x122')],_0x578877=_0x27f2ab[_0x27cf('0x13a')];}else{const _0x2ccd78=_0x58275c,_0x352ebd=this[_0x27cf('0x12e')](_0x2ccd78[_0x27cf('0x83')]),_0x25f159=this[_0x27cf('0x128')][_0x27cf('0xef')](_0x2ccd78['key']);if(!_0x352ebd&&!_0x25f159)continue;_0x52fa31=_0x352ebd?Ut(_0x2ccd78['range'][_0x27cf('0x156')][_0x27cf('0x34')],_0x171cad[_0x27cf('0x0')]):_0x2ccd78[_0x27cf('0x165')],_0x18e4d7=_0x2ccd78[_0x27cf('0x83')],_0x281553='removeAttribute'==_0x58275c[_0x27cf('0x137')]?void 0x0:_0x2ccd78[_0x27cf('0x69')],_0x578877=_0x2ccd78[_0x27cf('0x25')];}this['markAttributeChange'](_0x52fa31,_0x18e4d7,_0x578877,_0x281553,{'groupId':_0x23ad44}),_0x393b9a[_0x27cf('0x12f')]({'range':_0x52fa31,'key':_0x18e4d7,'newValue':_0x281553,'oldValue':_0x578877});}this[_0x27cf('0x45')](_0x509834,_0x393b9a);});}}[_0x27cf('0x45')](_0x1e38d5,_0x228a46){if(0x0==_0x228a46['length'])return!0x1;let _0x53306c=!0x1;for(const _0x149b2d of _0x228a46){const _0x337cad=this[_0x27cf('0x1b')](_0x149b2d[_0x27cf('0x165')],'attribute')[_0x27cf('0x51')](_0x3da0a1=>!_0x3da0a1[_0x27cf('0x13c')]['isNextTo'])[_0x27cf('0xa9')](_0x58d8c7=>_0x58d8c7[_0x27cf('0x99')]),_0x24480e=_0x4f0889({'newValue':_0x149b2d[_0x27cf('0x69')]});_0x337cad['filter'](_0x21c45b=>{const [_0x276257,_0x1f4e77]=_0x21c45b['subType'][_0x27cf('0x9d')]('|');return _0x276257==_0x149b2d[_0x27cf('0x83')]&&_0x1f4e77!=_0x24480e;})['forEach'](_0x5516ba=>{this[_0x27cf('0x17')](_0x5516ba,_0x149b2d[_0x27cf('0x165')],_0x1e38d5),_0x53306c=!0x0;});}return _0x53306c;}['_reduceSuggestionAttributeRange'](_0x8ac5ec,_0x3822c1,_0x1418c9){const _0x7068a0=_0x8ac5ec[_0x27cf('0x73')]()['getDifference'](_0x3822c1);0x0!==_0x7068a0[_0x27cf('0xdb')]?0x1!==_0x7068a0[_0x27cf('0xdb')]?this[_0x27cf('0x37')](_0x8ac5ec,_0x3822c1[_0x27cf('0x156')],_0x3822c1['end']):this[_0x27cf('0x63')](_0x8ac5ec,_0x7068a0[0x0]):_0x1418c9[_0x27cf('0x11')](_0x8ac5ec[_0x27cf('0xc7')]());}}class $t{constructor(_0x559f01){this[_0x27cf('0xf1')]=_0x559f01,this[_0x27cf('0xb5')]=_0x559f01[_0x27cf('0x0')],this[_0x27cf('0xdd')]=new Map(),this[_0x27cf('0xb6')]=new Map(),this[_0x27cf('0x78')]();}[_0x27cf('0x30')](_0x1dac2a,_0x20b63d,_0x3f451d,_0x1b47ad,_0x4b29a9,_0x2e6ba6){return new _0x3076e1(this[_0x27cf('0xb5')],{'type':_0x1dac2a,'subType':_0x20b63d,'id':_0x3f451d,'author':_0x1b47ad,'creator':_0x1b47ad,'attributes':_0x4b29a9,'onAttributesChange':_0x2e6ba6,'onAccept':(..._0x1d3833)=>this['getSuggestionCallback'](_0x1dac2a,_0x20b63d,_0x27cf('0x70'))(..._0x1d3833),'onDiscard':(..._0x3e137f)=>this[_0x27cf('0x148')](_0x1dac2a,_0x20b63d,_0x27cf('0x11a'))(..._0x3e137f)});}['registerCustomCallback'](_0xf8f038,_0x2f7ae7,_0x514713,_0x56e701){const _0x111c95=_0xf8f038+':'+_0x2f7ae7+':'+_0x514713;this[_0x27cf('0xdd')][_0x27cf('0x7')](_0x111c95,_0x56e701);}['getSuggestionCallback'](_0x3ab2eb,_0x1797a4,_0x1d3591){const _0x5364eb=_0x3ab2eb+':'+_0x1797a4+':'+_0x1d3591;return this[_0x27cf('0xdd')][_0x27cf('0x2b')](_0x5364eb)||this[_0x27cf('0xb6')][_0x27cf('0x2b')](_0x3ab2eb+':'+_0x1d3591);}[_0x27cf('0x78')](){const _0x55e0d6=()=>!0x1,_0x8391d4=_0xbec17e=>{_0xbec17e[_0x27cf('0xd')]((_0x2eef09,_0x4f883c)=>_0x2eef09[_0x27cf('0x156')]['isBefore'](_0x4f883c[_0x27cf('0x156')])?0x1:-0x1),this[_0x27cf('0xb5')][_0x27cf('0xbe')](_0x14f965=>{for(const _0x12a666 of _0xbec17e){let _0x209098;_0x209098=_0x12a666[_0x27cf('0x16f')][_0x27cf('0xb8')]&&_0x12a666[_0x27cf('0x16f')][_0x27cf('0xe3')]==_0x12a666[_0x27cf('0x156')][_0x27cf('0x34')]?_0x14f965['createSelection'](_0x12a666[_0x27cf('0x156')]['nodeAfter'],'on'):_0x14f965['createSelection'](_0x12a666),this['_model'][_0x27cf('0xa3')](_0x209098,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x10da25=(_0x3aa535,_0x31c2c7)=>{_0x31c2c7&&this[_0x27cf('0xb5')][_0x27cf('0xbe')](_0x52b5b8=>{const {commandName:_0x6a83ce,commandParams:_0x5e8f05=[]}=_0x31c2c7,_0x22c005=_0x3aa535[_0x27cf('0xa9')](_0x1167a7=>(Tt(_0x1167a7)&&(_0x1167a7=this['_model']['createRange'](_0x1167a7['end'])),_0x1167a7))['filter'](_0x1794fc=>_0x27cf('0x14a')!==_0x1794fc[_0x27cf('0xac')][_0x27cf('0x8c')]);if(_0x22c005[_0x27cf('0xdb')]<0x1)return;const _0x12fe6b=Array['from'](this[_0x27cf('0xb5')]['document'][_0x27cf('0xb2')][_0x27cf('0xaf')]())[_0x27cf('0xa9')](_0x231c03=>_0x58a33b[_0x27cf('0xfc')](_0x231c03));_0x52b5b8[_0x27cf('0x15c')](_0x22c005);for(const _0xea1795 of this[_0x27cf('0xf1')][_0x27cf('0x158')][_0x27cf('0x158')]())_0xea1795[_0x27cf('0x175')]();_0x5e8f05[_0x27cf('0x12f')]({'forceDefaultExecution':!0x0}),this[_0x27cf('0xf1')][_0x27cf('0x15b')](_0x6a83ce,..._0x5e8f05);const _0x56b65a=_0x12fe6b['filter'](_0x1ef096=>_0x27cf('0x14a')!=_0x1ef096[_0x27cf('0xac')][_0x27cf('0x8c')]);_0x56b65a[_0x27cf('0xdb')]>0x0&&_0x52b5b8[_0x27cf('0x15c')](_0x56b65a);for(const _0x35f77e of _0x12fe6b)_0x35f77e[_0x27cf('0x5d')]();});},_0x23cdd3=(_0xb07a8c,_0x245db9)=>0x1==_0xb07a8c[_0x27cf('0xdb')]&&0x1==_0x245db9['length']&&_0xb07a8c[0x0]['end'][_0x27cf('0xff')](_0x245db9[0x0][_0x27cf('0x156')]),_0x14f9ed=(_0x27c583,_0x2a1686,_0x58fbc8,_0x44f1cb)=>Ot(_0x27c583,_0x2a1686,_0x58fbc8,_0x44f1cb,this['_model'])?[_0x27c583,_0x2a1686]:Ot(_0x2a1686,_0x27c583,_0x44f1cb,_0x58fbc8,this[_0x27cf('0xb5')])?[_0x2a1686,_0x27c583]:null;this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x64'),_0x55e0d6),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x163'),_0x8391d4),this[_0x27cf('0xb6')]['set'](_0x27cf('0x13d'),_0x23cdd3),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x13b'),_0x14f9ed),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x167'),_0x8391d4),this['_defaultCallbacks'][_0x27cf('0x7')](_0x27cf('0x14c'),_0x55e0d6),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x91'),_0x23cdd3),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0xf5'),_0x14f9ed),this[_0x27cf('0xb6')][_0x27cf('0x7')]('formatInline:accept',_0x10da25),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x2'),_0x55e0d6),this['_defaultCallbacks']['set'](_0x27cf('0x6d'),_0x23cdd3),this['_defaultCallbacks']['set'](_0x27cf('0x11c'),_0x55e0d6),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0xa7'),_0x10da25),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x7c'),_0x55e0d6),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x44'),_0x23cdd3),this[_0x27cf('0xb6')][_0x27cf('0x7')](_0x27cf('0x178'),_0x55e0d6),this[_0x27cf('0xb6')]['set'](_0x27cf('0xa0'),_0x55e0d6),this['_defaultCallbacks'][_0x27cf('0x7')]('attribute:discard',(_0x4ff563,_0xe07b56)=>{if(!_0xe07b56)return;const _0x57ccbf=this[_0x27cf('0xf1')][_0x27cf('0x68')][_0x27cf('0x2b')](p);this[_0x27cf('0xb5')]['change'](_0x21db1d=>{if('$elementName'==_0xe07b56[_0x27cf('0x83')])for(const _0xba7ad1 of _0x4ff563){const _0xfe0c0b=_0xba7ad1[_0x27cf('0x156')][_0x27cf('0x34')],_0x1e98f8=_0xe07b56['oldValue'];_0x21db1d[_0x27cf('0xfb')](_0xfe0c0b,_0x1e98f8);}else{if(_0x57ccbf['_isBlockAttribute'](_0xe07b56['key']))for(const _0x4bb68c of _0x4ff563)void 0x0!==_0xe07b56[_0x27cf('0x25')]?_0x21db1d['setAttribute'](_0xe07b56[_0x27cf('0x83')],_0xe07b56[_0x27cf('0x25')],_0x4bb68c['start'][_0x27cf('0x34')]):_0x21db1d[_0x27cf('0x15d')](_0xe07b56['key'],_0x4bb68c['start']['nodeAfter']);else for(const _0x18157c of _0x4ff563)_0xe07b56['oldValue']?_0x21db1d[_0x27cf('0xf7')](_0xe07b56[_0x27cf('0x83')],_0xe07b56[_0x27cf('0x25')],_0x18157c):_0x21db1d['removeAttribute'](_0xe07b56[_0x27cf('0x83')],_0x18157c);}});}),this['_defaultCallbacks'][_0x27cf('0x7')]('attribute:join',_0x23cdd3);}}function Bt(_0x55c0f8,_0x25dc23,_0x528fba){for(const _0xc182e of _0x25dc23['parent'][_0x27cf('0x47')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xc182e[_0x27cf('0xac')]==_0xc182e)return!0x1;if(!_0x528fba[_0x27cf('0x126')](_0xc182e))return!0x1;if(_0x55c0f8[_0x27cf('0x86')](_0xc182e)||_0x55c0f8[_0x27cf('0x159')](_0xc182e))return!0x0;}return!0x1;}function Tt(_0x2ce042){return _0x2ce042[_0x27cf('0x16f')][_0x27cf('0xe3')]==_0x2ce042[_0x27cf('0x156')][_0x27cf('0x34')]&&_0x2ce042['end'][_0x27cf('0x59')];}function xt(_0x41e72e,_0x48b1be,_0x45cce4,_0x32279d){const _0x614d06=_0x1c8215=>!_0x1c8215[_0x27cf('0xcd')]['is'](_0x27cf('0x10b'))&&!_0x32279d[_0x27cf('0x86')](_0x1c8215['item']),_0x455623=_0x41e72e[_0x27cf('0x156')][_0x27cf('0x24')](_0x614d06),_0x1b0056=_0x41e72e[_0x27cf('0x16f')][_0x27cf('0x24')](_0x614d06,{'direction':'backward'});return(!_0x41e72e[_0x27cf('0x156')]['isEqual'](_0x455623)||!_0x41e72e['end']['isEqual'](_0x1b0056))&&(_0x455623[_0x27cf('0x5a')](_0x1b0056)?_0x45cce4[_0x27cf('0xe')](_0x48b1be,{'range':_0x45cce4[_0x27cf('0xe6')](_0x455623,_0x1b0056)}):_0x45cce4[_0x27cf('0x11')](_0x48b1be),!0x0);}function Et(_0x517e22){return _0x4f0889(_0x517e22);}function Rt(_0x3215a2){const _0x10dc9f=_0x3215a2[_0x27cf('0x156')]['nodeAfter'];return _0x10dc9f&&_0x10dc9f['is'](_0x27cf('0x15f'));}function Ut(_0x549f4c,_0x444638){const _0xa980a4=_0x444638['schema'][_0x27cf('0x86')](_0x549f4c)||_0x444638[_0x27cf('0x10e')][_0x27cf('0x123')](_0x549f4c);return _0x444638[_0x27cf('0xe6')](_0x444638[_0x27cf('0x29')](_0x549f4c,_0x27cf('0x15')),_0xa980a4?_0x444638['createPositionAfter'](_0x549f4c):_0x444638['createPositionAt'](_0x549f4c,'end'));}function Ot(_0x172c0b,_0x5bc777,_0x3e9ecc,_0x31ff4b,_0x4f9c46){if(!Vt(_0x172c0b,_0x5bc777))return!0x1;if(_0x3e9ecc['end']['isEqual'](_0x31ff4b[_0x27cf('0x156')]))return!0x0;if(_0x172c0b[_0x27cf('0x137')]!=_0x5bc777[_0x27cf('0x137')])return!0x1;if(!_0x3e9ecc[_0x27cf('0x16f')]['isTouching'](_0x31ff4b['start']))return!0x1;const _0x4c1dbd=_0x4f9c46[_0x27cf('0xe6')](_0x3e9ecc[_0x27cf('0x16f')],_0x31ff4b['start'])[_0x27cf('0x144')]();for(const _0x443c6 of _0x4c1dbd)if(['elementStart','elementEnd'][_0x27cf('0xb1')](_0x443c6[_0x27cf('0x137')])&&_0x4f9c46['schema']['isLimit'](_0x443c6[_0x27cf('0xcd')]))return!0x1;return!0x0;}function Vt(_0xd052e5,_0x3b79ff){return!(!_0xd052e5[_0x27cf('0x43')]||!_0x3b79ff[_0x27cf('0x43')])&&_0x4d7397(_0xd052e5[_0x27cf('0x38')],_0x3b79ff['attributes']);}function Gt(_0x4012dc,_0x329101){const _0x5878e3=Ft(_0x4012dc['attributes']),_0x213dbf=Ft(_0x329101);if(!_0x4012dc[_0x27cf('0x43')])return!0x1;for(const _0x4b64c6 of Object[_0x27cf('0x55')](_0x213dbf))if(!_0x4d7397(_0x5878e3[_0x4b64c6],_0x213dbf[_0x4b64c6]))return!0x1;return!0x0;}function Ft(_0x54d6c6){const _0x4faf4a=Object[_0x27cf('0x108')]({},_0x54d6c6);return delete _0x4faf4a[_0x27cf('0xa4')],delete _0x4faf4a[_0x27cf('0x80')],_0x4faf4a;}function Pt(_0xabde63){return _0x27cf('0x5e')==_0xabde63[_0x27cf('0x137')]?_0xabde63[_0x27cf('0xd0')][_0x27cf('0x9d')]('|')[0x0]:null;}
|
|
23
|
+
const _0x4a36=['add','_saved','warn','getChangedMarkers','delete','has','ready','writer','size','getFirstMarker','deletion:','previous','containsRangeInObject','meta','find','formatInline:','isRemovable','_model','markMultiRangeInsertion','setAttribute','_isForcedDefaultExecutionBlock','isExternal','isDocumentOperation','deletion','containsPosition','formatBlock','_registerDefaultCallbacks','value','unshift','attribute:accept','listenTo','change:_saved','insertion:chain','markers','formatInline:discard','_rangeIsInLocalUserInsertion','formatBlock:join','ck-suggestion-marker','suggestion:','registerPostFixer','document','removeAttribute','removeMarker:suggestion:attribute','activeMarkers','model','fetchCommentThread','startsWith','getIntersection','_defaultCallbacks','attributes','some','refresh','isOwn','_registerInlineAttribute','unbindElementFromMarkerName','multipleBlocks','_breakSuggestionMarker','from','forceDefaultExecution','PENDING_ACTION_SUGGESTION','createRangeIn','hasComments','concat','editingDowncast','notReady','_updateSuggestionData','markDeletion','FORMATTING','deleteContent','splitPosition','accepted','removed','ENTER','formatBlock:','fire','reconvertMarker','_onDiscard','moveTargetPosition','markMultiRangeBlockFormat','push','error-saving-suggestion-data-suggestion-discarded','originalSuggestionId','isNextTo','data-suggestion','elementEnd','addClass','range','_handleNewSuggestionMarker','TrackChangesEditing','formatInline','addSuggestionData','_getAuthorFromId','formatBlock:chain','_enableDefaultAttributesIntegration','_cutOutSuggestionMarker','options','CommentsRepository','track-changes-adapter-missing-getsuggestion','widget','elementStart','addMarker:suggestion:attribute','getWalker','@external','insertion:discard','_setSuggestionData','isMultiRange','newRange','parent','conversion','_SUGGESTION_ANNOUNCEMENT','resolve','trackChanges','removeMarkers','suggestion','set','addAttribute','pop','includes','sort','move','define','deletion:join','getDifference','insertContent','forward','_processAttributeChanges','mapper','tablePasteChainId','_processAttributeSuggestions','containsRange','getAllAdjacentSuggestions','return','createRange','start','insertion','track-changes-user-not-found','attribute:discard','length','getRange','_descriptionFactory','isIntersecting','ck-suggestion-marker-formatBlock','_findSuggestions','_splitMarkerName','addMarkerName','plugins','markerName','normal','_joinSuggestions','formatInline:join','enqueueChange','stop','_isBlockAttribute','$graveyard','suggestionChanged','getAttribute','changeAttribute','_blockAttributeKeys','addMarker:suggestion','rootName','getChanges','_enabledCommands','_reduceExistingSuggestions','split','pluginName','config','updateSuggestion','commandName','commentThread','position','attributeNewValue','change:activeMarkers','track-changes-adapter-already-set','keys','_suggestionFactory','editor','deletion:chain','get','toViewElement','end','_isDataLoaded','execute','commands','oldRange','_trackFormatChanges','createPositionAt','discardSelectedSuggestions','_suggestions','markBlockFormat','attributeOldValue','setSelection','getOperations','forEach','collaboration.channelId','_joinWithAdjacentSuggestions','groupId','unbind','oldName','insert','isAtStart','_createSuggestion','trackChangesCommand','elementToElement','accept','every','trackChanges.mergeNestedSuggestions','upcast','_registerBlockAttribute','never','getSuggestionCallback','discardAllSuggestions','attributeKey','ck-suggestion-marker--active','element','stopListening','key','_setSuggestionRange','markerToHighlight','differ','after','markerNameToElements','track-changes-command-not-found','skipNestingCheck','hasCommentThread','getAncestors','enableReadOnlyMode','deletion:discard','low','_refreshAttributeSuggestionsChain','containsItem','ck-suggestion-marker-','_refreshSuggestionsChain','targetPosition','subType','format','fromCharCode','getCommentThread','toJSON','discard','announce','detach','containerElement','_suggestionState','_getSuggestionData','createdAt','newValue','getLastMatchingPosition','substring','getSuggestions','_editor','createSelection','version','_getExternalAuthor','isArray','track-changes-suggestion-not-found','removeMarker','getCustomProperty','$elementName','marker-count','remove','change','addMarker:suggestion:formatBlock','PendingActions','locale','filter','trackChanges.trackFormatChanges','markInlineFormat','update:suggestion','getUser','item','adapter','rename','creator','for','_getMarkerAnnouncementText','nodeAfter','suggestion-type','_inlineAttributeKeys','_adapter','isEqual','catch','selection','next','chain','formatBlock:discard','registerCustomCallback','insertion:accept','createRangeOn','suggestionLoaded','rejected','backward','attribute','nodeBefore','_commentsRepository','isInContent','open','showSuggestionHighlights','substr','lowest','removeComment','_addSuggestionMarker','acceptAllSuggestions','default','formatInline:chain','isAfter','history','insertion:join','addSuggestion','values','rethrowUnexpectedError','isLocal','getRanges','isCollapsed','addMarker','markAttributeChange','getFirstRange','getSuggestion','_reduceSuggestionAttributeRange','highest','always','$text','acceptSuggestion','dataDowncast','Users','buildSuggestion','_recordAttributeSuggestionsFromVersion','assign','createPositionBefore','howMany','_addThreadToSuggestion','_mergeNestedSuggestions','isObject','change:data','formatGroupId','markerReady','authoredAt','enableCommand','removeClass','hasSuggestion','isInsideObject','_initAriaMarkerChangeAnnouncements','getContainedElement','track-changes-suggestion-data-mismatch','isBefore','removeMarker:suggestion:formatBlock','isAtEnd','addRange','multi','getShiftedBy','join','discardSuggestion','author','updateMarker','track-changes-enable-command-twice','isIntersectingWithRange','ariaLiveAnnouncer','high','oldValue','schema','formatInline:accept','addHighlight','name','fromRange','data','_customCallbacks','comments','type','getNearestSelectionRange','isUndo','getMultiRangeId','map','formatBlock:accept','root','_checkSuggestionCorrectness','isBlock','consume','then','_recordAttributeChanges','markInsertion','markMultiRangeDeletion','insertion:','isLimit','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','_removeSuggestion','batch'];(function(_0x307703,_0x4a3634){const _0x5b378a=function(_0x18d79c){while(--_0x18d79c){_0x307703['push'](_0x307703['shift']());}};_0x5b378a(++_0x4a3634);}(_0x4a36,0x12f));const _0x5b37=function(_0x307703,_0x4a3634){_0x307703=_0x307703-0x0;let _0x5b378a=_0x4a36[_0x307703];return _0x5b378a;};import{Plugin as _0x596663,PendingActions as _0x300893}from'ckeditor5/src/core.js';import{LiveRange as _0x2cfd9f}from'ckeditor5/src/engine.js';import{CKEditorError as _0x5cf83c,uid as _0x5bc589,priorities as _0x3e62aa,logWarning as _0x377b20}from'ckeditor5/src/utils.js';import{toWidget as _0x40538a}from'ckeditor5/src/widget.js';import{Users as _0x50b430,hashObject as _0x1fc600,surroundingMarkersDetector as _0x3fa9ec}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x127ae6 from'./commands/trackchangescommand.js';import _0x292401 from'./commands/acceptsuggestioncommand.js';import _0x372a97 from'./commands/discardsuggestioncommand.js';import _0x49a2c3 from'./commands/executeonallsuggestionscommand.js';import _0x37ef90 from'./commands/executeonselectedsuggestionscommand.js';import _0x578a9e from'./suggestion.js';import _0x4fe66d from'./suggestiondescriptionfactory.js';import _0x561123 from'./integrations/aiassistant.js';import _0x53260d from'./integrations/alignment.js';import _0x368c9f from'./integrations/basicstyles.js';import _0x4c3e10 from'./integrations/blockquote.js';import _0x3e55d6 from'./integrations/ckbox.js';import _0x51e279 from'./integrations/codeblock.js';import _0x411ad6 from'./integrations/comments.js';import _0x1f2823 from'./integrations/deletecommand.js';import _0x50f54c from'./integrations/documentlist.js';import _0x831287 from'./integrations/documentlistproperties.js';import _0xdb02be from'./integrations/entercommand.js';import _0xef112c from'./integrations/findandreplace.js';import _0x256b7a from'./integrations/font.js';import _0x2c9f89 from'./integrations/formatpainter.js';import _0x34d632 from'./integrations/heading.js';import _0x2b4cd4 from'./integrations/highlight.js';import _0x493c41 from'./integrations/horizontalline.js';import _0x2dd9d4 from'./integrations/htmlembed.js';import _0x3b3acf from'./integrations/image.js';import _0x24866a from'./integrations/imagereplace.js';import _0x4e00e5 from'./integrations/imagestyle.js';import _0x6484dd from'./integrations/importword.js';import _0x224b24 from'./integrations/indent.js';import _0x592194 from'./integrations/inputcommand.js';import _0x4e71fd from'./integrations/link.js';import _0xd57056 from'./integrations/list.js';import _0x549c5c from'./integrations/listproperties.js';import _0x494314 from'./integrations/mediaembed.js';import _0x238683 from'./integrations/mention.js';import _0x1c81c2 from'./integrations/pagebreak.js';import _0x13a9f5 from'./integrations/paragraph.js';import _0xe43e5f from'./integrations/removeformat.js';import _0xd3a908 from'./integrations/restrictededitingmode.js';import _0x456395 from'./integrations/shiftentercommand.js';import _0x12a245 from'./integrations/standardeditingmode.js';import _0x6ecdd8 from'./integrations/style.js';import _0x77e272 from'./integrations/table.js';import _0xdf391c from'./integrations/tablemergesplit.js';import _0x3a0878 from'./integrations/tableheadings.js';import _0x136848 from'./integrations/tableclipboard.js';import _0x5eeef0 from'./integrations/tablecolumnresize.js';import _0x2cee7a from'./integrations/template.js';import _0xe098ff from'./integrations/tableofcontents.js';import _0x429465 from'./integrations/title.js';import _0x5644ad from'./integrations/undo.js';import _0x470ae6 from'./integrations/tablecaption.js';import _0x176fd2 from'./integrations/tableproperties.js';import{getTranslation as _0x2226ce}from'./utils/common-translations.js';import{isEqual as _0x1587e8,omit as _0x237c40}from'lodash-es';export const renameAttributeKey=_0x5b37('0x153');export default class p extends _0x596663{static get['requires'](){return[_0x5b37('0xb2'),_0x50b430,_0x300893,_0x561123,_0x53260d,_0x368c9f,_0x4c3e10,_0x3e55d6,_0x51e279,_0x411ad6,_0x1f2823,_0x50f54c,_0x831287,_0xdb02be,_0xef112c,_0x256b7a,_0x2c9f89,_0x34d632,_0x2b4cd4,_0x493c41,_0x2dd9d4,_0x3b3acf,_0x4e00e5,_0x24866a,_0x6484dd,_0x224b24,_0x592194,_0x4e71fd,_0xd57056,_0x549c5c,_0x494314,_0x238683,_0x1c81c2,_0x13a9f5,_0xe43e5f,_0xd3a908,_0x456395,_0x12a245,_0x6ecdd8,_0x77e272,_0xdf391c,_0x3a0878,_0x470ae6,_0x136848,_0x5eeef0,_0xe098ff,_0x176fd2,_0x2cee7a,_0x429465,_0x5644ad];}static get[_0x5b37('0xf6')](){return _0x5b37('0xaa');}constructor(_0x4a6471){function _0x24e462(_0x5a0b1e){return _0x5a0b1e[_0x5b37('0x43')](_0x3c08f8=>String[_0x5b37('0x13d')](_0x3c08f8))[_0x5b37('0x2e')]('');}super(_0x4a6471),this[_0x5b37('0x16')]=null,this[_0x5b37('0xc4')](_0x5b37('0x7d'),[]),this['on'](_0x5b37('0xfd'),(_0x538d04,_0x4c4bed,_0x5e42f3,_0x1ff2c5)=>{this[_0x5b37('0x63')][_0x5b37('0x156')](()=>{for(const _0x9f8c26 of[..._0x1ff2c5,..._0x5e42f3])this['_model'][_0x5b37('0x73')][_0x5b37('0x57')](_0x9f8c26)&&_0x4a6471['editing'][_0x5b37('0x9d')](_0x9f8c26);});}),this[_0x5b37('0xdd')]=new _0x4fe66d(this[_0x5b37('0x101')]['model'][_0x5b37('0x37')],this['editor'][_0x5b37('0x159')]),this[_0x5b37('0x168')]=null,this[_0x5b37('0x100')]=new $t(this[_0x5b37('0x101')]),this[_0x5b37('0x10d')]=new Map(),this['_commentsRepository']=_0x4a6471['plugins'][_0x5b37('0x103')](_0x5b37('0xb2')),this[_0x5b37('0xf3')]=new Set(),this[_0x5b37('0x63')]=this['editor']['model'],this[_0x5b37('0x144')]=new WeakMap(),this[_0x5b37('0x66')]=!0x1,this[_0x5b37('0xef')]=new Set(['$elementName']),this[_0x5b37('0x167')]=new Set(),_0x4a6471['config'][_0x5b37('0xca')](_0x5b37('0x15b'),_0x5b37('0x180')),this['_trackFormatChanges']=_0x4a6471[_0x5b37('0xf7')][_0x5b37('0x103')](_0x5b37('0x15b')),_0x4a6471[_0x5b37('0xf7')][_0x5b37('0xca')](_0x5b37('0x11f'),!0x0),this['_mergeNestedSuggestions']=_0x4a6471[_0x5b37('0xf7')]['get'](_0x5b37('0x11f')),this['trackChangesCommand']=new _0x127ae6(_0x4a6471,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements'](),this[_0x24e462([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x24e462([0x34,0x30,0x34,0x36,0x32,0x34,0x34,0x32]);}['init'](){const _0x5a4c14=this['editor'],_0x3221a2=(_0x41b9a0,_0x48bb00)=>{if(_0x5b37('0x175')!=_0x41b9a0)return _0x5b37('0x138')+_0x41b9a0;const _0x211f2d=_0x48bb00[_0x5b37('0xf5')]('|')[0x0];return this[_0x5b37('0xea')](_0x211f2d)?_0x5b37('0xdf'):'ck-suggestion-marker-formatInline';};_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x91'))[_0x5b37('0x12b')]({'model':'suggestion','view':_0x370491=>{const {id:_0x10a0e1,type:_0x142aae,subType:_0x352c7d}=this['_splitMarkerName'](_0x370491[_0x5b37('0xe4')]),_0x196aa3=[_0x5b37('0x77'),_0x3221a2(_0x142aae,_0x352c7d)];let _0x15367e=0xbb8;return this[_0x5b37('0x7d')]['includes'](_0x370491[_0x5b37('0xe4')])&&(_0x196aa3['push'](_0x5b37('0x126')),_0x15367e=0xbc2),'deletion'==_0x142aae&&(_0x15367e+=0x5),{'classes':_0x196aa3,'attributes':{'data-suggestion':_0x10a0e1},'priority':_0x15367e};}}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x13'))[_0x5b37('0x52')](_0x41eef8=>{_0x41eef8['on'](_0x5b37('0xf0'),(_0x5002b3,_0x3152b0,_0x21aed2)=>{if(!_0x21aed2[_0x5b37('0xb1')][_0x5b37('0x17a')])return;const _0x39be7b=_0x3152b0[_0x5b37('0x15f')];if(!_0x39be7b)return;const _0x1c77d7=_0x21aed2[_0x5b37('0xd0')][_0x5b37('0x104')](_0x39be7b);_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x37')][_0x5b37('0x1c')](_0x39be7b)&&_0x1c77d7&&!_0x1c77d7['getCustomProperty'](_0x5b37('0xb4'))&&_0x1c77d7['is'](_0x5b37('0x143'))&&_0x40538a(_0x1c77d7,_0x21aed2[_0x5b37('0x59')]);},{'priority':_0x5b37('0x35')});}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')]('dataDowncast')['markerToHighlight']({'model':_0x5b37('0xc3'),'view':(_0x3bf964,_0x1bd6be)=>{if(!_0x1bd6be[_0x5b37('0xb1')][_0x5b37('0x17a')])return null;const {type:_0xd2bfc8,subType:_0x12556d}=this[_0x5b37('0xe1')](_0x3bf964['markerName']);return{'classes':[_0x5b37('0x77'),_0x3221a2(_0xd2bfc8,_0x12556d)],'priority':0xbb8};}});const _0x10686e=({showActiveMarkers:_0x21403b=!0x0,isAttributeSuggestion:_0x40c0a2=!0x1}={})=>(_0x2b6aae,_0xd8ebe9,_0x29cb78)=>{if(!_0xd8ebe9[_0x5b37('0x15f')])return;const {id:_0x2affe5}=this['_splitMarkerName'](_0xd8ebe9[_0x5b37('0xe4')]);if(_0x40c0a2){const _0x5edb4f=Pt(this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x2affe5));if(!this[_0x5b37('0xea')](_0x5edb4f))return;}if(_0xd8ebe9['item']['is'](_0x5b37('0x16b')))return void _0x29cb78['consumable'][_0x5b37('0x48')](_0xd8ebe9[_0x5b37('0x15f')],_0x2b6aae[_0x5b37('0x3a')]);const _0x48338f=_0x29cb78[_0x5b37('0xd0')]['toViewElement'](_0xd8ebe9[_0x5b37('0x15f')]);if(_0xd8ebe9[_0x5b37('0x15f')]['is'](_0x5b37('0x127'))&&_0x5a4c14['model']['schema']['isBlock'](_0xd8ebe9[_0x5b37('0x15f')])&&!_0x48338f['getCustomProperty'](_0x5b37('0x39'))){_0x29cb78[_0x5b37('0x59')][_0x5b37('0xa7')](['ck-suggestion-marker',_0x5b37('0xdf')],_0x48338f),_0x29cb78[_0x5b37('0x59')]['setAttribute'](_0x5b37('0xa5'),_0x2affe5,_0x48338f),_0x29cb78[_0x5b37('0xd0')]['bindElementToMarker'](_0x48338f,_0xd8ebe9[_0x5b37('0xe4')]),_0x21403b&&(this[_0x5b37('0x7d')][_0x5b37('0xc7')](_0xd8ebe9[_0x5b37('0xe4')])?_0x29cb78[_0x5b37('0x59')][_0x5b37('0xa7')](_0x5b37('0x126'),_0x48338f):_0x29cb78[_0x5b37('0x59')]['removeClass'](_0x5b37('0x126'),_0x48338f));for(const _0x3e590a of _0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x8e')](_0xd8ebe9['item'])['getItems']())_0x29cb78['consumable'][_0x5b37('0x48')](_0x3e590a,_0x2b6aae[_0x5b37('0x3a')]);_0x29cb78['consumable'][_0x5b37('0x48')](_0xd8ebe9[_0x5b37('0x15f')],_0x2b6aae[_0x5b37('0x3a')]);}};_0x5a4c14[_0x5b37('0xbe')]['for']('dataDowncast')['add'](_0x5254b3=>{_0x5254b3['on']('addMarker:suggestion:formatBlock',(_0x1f5e73,_0x516396,_0xede42d)=>{_0xede42d[_0x5b37('0xb1')][_0x5b37('0x17a')]&&_0x10686e({'showActiveMarkers':!0x1})(_0x1f5e73,_0x516396,_0xede42d);},{'priority':_0x5b37('0xf')});}),_0x5a4c14[_0x5b37('0xbe')]['for'](_0x5b37('0x13'))[_0x5b37('0x52')](_0x490ee7=>{_0x490ee7['on'](_0x5b37('0xb6'),(_0x4e584e,_0xe9298c,_0x54a66f)=>{_0x54a66f[_0x5b37('0xb1')][_0x5b37('0x17a')]&&_0x10686e({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4e584e,_0xe9298c,_0x54a66f);},{'priority':_0x5b37('0xf')});}),_0x5a4c14['conversion'][_0x5b37('0x163')](_0x5b37('0x13'))['markerToData']({'model':_0x5b37('0xc3'),'view':(_0x3d1510,_0x13656c)=>_0x13656c['options'][_0x5b37('0x17a')]?null:{'group':_0x5b37('0xc3'),'name':_0x3d1510[_0x5b37('0x17b')](0xb)}}),_0x5a4c14[_0x5b37('0xbe')]['for']('upcast')[_0x5b37('0x11c')]({'view':{'name':_0x5b37('0xc3'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0xc086b5,{writer:_0x3bb2ad})=>{let _0x3ea54a=_0x5b37('0x78')+_0xc086b5[_0x5b37('0xed')](_0x5b37('0x166'))+':'+_0xc086b5[_0x5b37('0xed')]('id');return _0xc086b5[_0x5b37('0xed')](_0x5b37('0x154'))&&(_0x3ea54a+=':'+_0xc086b5['getAttribute']('marker-count')),_0x3bb2ad['createElement']('$marker',{'data-name':_0x3ea54a});}}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x120'))['dataToMarker']({'view':'suggestion'}),_0x5a4c14['conversion'][_0x5b37('0x163')](_0x5b37('0x91'))['add'](_0x4a16dd=>{_0x4a16dd['on'](_0x5b37('0x157'),_0x10686e(),{'priority':'high'});}),_0x5a4c14['conversion']['for'](_0x5b37('0x91'))[_0x5b37('0x52')](_0x263c06=>{_0x263c06['on'](_0x5b37('0xb6'),_0x10686e({'isAttributeSuggestion':!0x0}),{'priority':_0x5b37('0x35')});}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')]('editingDowncast')[_0x5b37('0x52')](_0x33e767=>{_0x33e767['on'](_0x5b37('0x29'),(_0x3e19d5,_0x50e00f,_0x859d8c)=>{const _0x3d702a=_0x859d8c[_0x5b37('0xd0')][_0x5b37('0x12e')](_0x50e00f[_0x5b37('0xe4')]);if(_0x3d702a)for(const _0x1ab057 of _0x3d702a)_0x1ab057[_0x5b37('0x152')](_0x5b37('0x39'))||(_0x859d8c[_0x5b37('0x59')][_0x5b37('0x22')]([_0x5b37('0x77'),_0x5b37('0xdf'),_0x5b37('0x126')],_0x1ab057),_0x859d8c[_0x5b37('0x59')][_0x5b37('0x7b')](_0x5b37('0xa5'),_0x1ab057),_0x859d8c[_0x5b37('0xd0')][_0x5b37('0x88')](_0x1ab057,_0x50e00f[_0x5b37('0xe4')]));},{'priority':'high'});}),_0x5a4c14[_0x5b37('0xbe')][_0x5b37('0x163')](_0x5b37('0x91'))['add'](_0x502145=>{_0x502145['on'](_0x5b37('0x7c'),(_0x1a8c69,_0x442234,_0x503ab3)=>{const _0x44cc20=_0x503ab3[_0x5b37('0xd0')]['markerNameToElements'](_0x442234['markerName']);if(!_0x44cc20)return;const {id:_0x287c08}=this[_0x5b37('0xe1')](_0x442234['markerName']),_0x4317bb=Pt(this['_suggestions']['get'](_0x287c08));if(this[_0x5b37('0xea')](_0x4317bb))for(const _0x33b3cd of _0x44cc20)_0x33b3cd[_0x5b37('0x152')](_0x5b37('0x39'))||(_0x503ab3['writer'][_0x5b37('0x22')]([_0x5b37('0x77'),_0x5b37('0xdf'),_0x5b37('0x126')],_0x33b3cd),_0x503ab3[_0x5b37('0x59')]['removeAttribute'](_0x5b37('0xa5'),_0x33b3cd),_0x503ab3[_0x5b37('0xd0')][_0x5b37('0x88')](_0x33b3cd,_0x442234[_0x5b37('0xe4')]));},{'priority':_0x5b37('0x35')});}),_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x79')](_0x3a617e=>{let _0x14c6c5=!0x1;const _0x24cf02=Array['from'](_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')]['getChangedMarkers']()),_0x26dabd=new Set();for(const {name:_0x48bde7,data:_0x48c6e0}of _0x24cf02){const {group:_0x85c1a4,type:_0x3da731,subType:_0x43566f,id:_0x226f8c}=this[_0x5b37('0xe1')](_0x48bde7);if(_0x5b37('0xc3')!==_0x85c1a4)continue;const _0x369afb=this['_suggestions']['get'](_0x226f8c);if(null!=_0x48c6e0[_0x5b37('0xbc')]){_0x5b37('0xab')==_0x3da731&&(_0x14c6c5=_0x14c6c5||xt(_0x48c6e0['newRange'],_0x48bde7,_0x3a617e,_0x5a4c14['model'][_0x5b37('0x37')]));const _0x17a1e3='attribute'==_0x3da731&&this['_isBlockAttribute'](_0x43566f[_0x5b37('0xf5')]('|')[0x0]);if(_0x48c6e0[_0x5b37('0xbc')][_0x5b37('0x9')]||_0x5b37('0xeb')==_0x48c6e0[_0x5b37('0xbc')][_0x5b37('0x45')][_0x5b37('0xf1')]||_0x5b37('0x6b')==_0x3da731&&!Rt(_0x48c6e0[_0x5b37('0xbc')])||_0x17a1e3&&!Rt(_0x48c6e0[_0x5b37('0xbc')])||_0x5b37('0x69')==_0x3da731&&!(!Tt(_0x93ce0e=_0x48c6e0['newRange'])&&!function(_0x5d247e){return _0x5d247e['start'][_0x5b37('0xbd')]==_0x5d247e[_0x5b37('0x105')][_0x5b37('0x176')]&&_0x5d247e[_0x5b37('0xd7')][_0x5b37('0x2a')];}(_0x93ce0e)))_0x3a617e['removeMarker'](_0x48bde7),_0x14c6c5=!0x0;else{if(!_0x369afb||!_0x369afb['isInContent'])continue;_0x26dabd['add'](_0x369afb);}}}var _0x93ce0e;return _0x26dabd[_0x5b37('0x5a')]>0x0&&(_0x14c6c5=!!this[_0x5b37('0x114')](_0x26dabd)||_0x14c6c5),_0x14c6c5;}),_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x79')](_0x1062ef=>{let _0x4d4b14=!0x1;for(const _0x4ed566 of _0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')][_0x5b37('0xf2')]())if(_0x5b37('0x118')==_0x4ed566[_0x5b37('0x3f')])for(const _0x36f86c of this['_suggestions'][_0x5b37('0x5')]()){if(_0x36f86c['isMultiRange']||!_0x36f86c['isInContent'])continue;const _0x3def41=_0x5b37('0x6b')==_0x36f86c[_0x5b37('0x3f')],_0x39ec05=Pt(_0x36f86c),_0x30d709=_0x39ec05&&this[_0x5b37('0xea')](_0x39ec05);if(!_0x3def41&&!_0x30d709)continue;const _0xf7e61a=_0x36f86c[_0x5b37('0xc')]();if(_0xf7e61a[_0x5b37('0xd7')][_0x5b37('0xbd')]!=_0xf7e61a[_0x5b37('0x105')][_0x5b37('0xbd')]&&!_0xf7e61a['end'][_0x5b37('0x2a')]){const _0xcf5592=_0x5a4c14['model']['createPositionAt'](_0xf7e61a[_0x5b37('0xd7')][_0x5b37('0x165')],_0x5b37('0x105')),_0x4c40ab=_0x5a4c14['model'][_0x5b37('0xd6')](_0xf7e61a[_0x5b37('0xd7')],_0xcf5592);_0x1062ef[_0x5b37('0x31')](_0x36f86c['getFirstMarker'](),{'range':_0x4c40ab}),_0x4d4b14=!0x0;}}return _0x4d4b14;}),_0x5a4c14[_0x5b37('0x7e')]['document']['registerPostFixer'](_0x461482=>this[_0x5b37('0xcf')](_0x461482)),_0x5a4c14[_0x5b37('0x7e')]['document']['registerPostFixer'](_0x5c81ed=>!_0x5c81ed[_0x5b37('0x51')]['isLocal']&&this[_0x5b37('0xd2')](_0x5c81ed)),_0x5a4c14['model']['markers']['on'](_0x5b37('0x15d'),(_0x25ef18,_0x34ecad,_0x58736d)=>{if(null==_0x58736d){const {id:_0x47aac4}=this[_0x5b37('0xe1')](_0x34ecad['name']),_0x30b1c2=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x47aac4);_0x30b1c2&&_0x30b1c2['addMarkerName'](_0x34ecad[_0x5b37('0x3a')]);}}),_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')]['on'](_0x5b37('0x1d'),()=>{const _0xe50c78=Array[_0x5b37('0x8b')](_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')]['getChangedMarkers']())[_0x5b37('0x15a')](_0x30a1ec=>_0x5b37('0xc3')===this[_0x5b37('0xe1')](_0x30a1ec[_0x5b37('0x3a')])['group']);if(0x0===_0xe50c78['length'])return;_0xe50c78['sort']((_0x581234,_0x524763)=>{const _0xa55704=_0x581234[_0x5b37('0x3c')][_0x5b37('0x109')],_0x3c72b0=_0x524763[_0x5b37('0x3c')]['oldRange'];return null===_0xa55704&&null===_0x3c72b0?0x0:null===_0xa55704&&null!==_0x3c72b0?-0x1:null!==_0xa55704&&null===_0x3c72b0?0x1:_0xa55704[_0x5b37('0xd7')][_0x5b37('0x28')](_0x3c72b0[_0x5b37('0xd7')])?-0x1:0x1;});const _0x1d57ef=new Set(),_0x392439=new Set();for(const {name:_0x1f0d11,data:_0x289a28}of _0xe50c78){const {id:_0x568466}=this['_splitMarkerName'](_0x1f0d11);if(null===_0x289a28['oldRange']){const _0x3f061c=this[_0x5b37('0xa9')](_0x1f0d11);_0x392439[_0x5b37('0x52')](_0x3f061c);}else{const _0x5aed85=this[_0x5b37('0x10d')]['get'](_0x568466);null!==_0x289a28[_0x5b37('0xbc')]||_0x5aed85['isInContent']?(_0x1d57ef[_0x5b37('0x52')](_0x5aed85['head']),_0x392439[_0x5b37('0x52')](_0x5aed85)):this['_removeSuggestion'](_0x5aed85);}}_0x392439[_0x5b37('0x5a')]>0x0&&this[_0x5b37('0x139')](_0x392439);for(const _0x38f83d of _0x1d57ef)this[_0x5b37('0x9c')](_0x5b37('0xec'),_0x38f83d);}),_0x5a4c14['model']['on']('applyOperation',(_0x2e00ba,_0x35b0af)=>{const _0x25cf9a=_0x35b0af[0x0];if(!this[_0x5b37('0x10d')][_0x5b37('0x5a')])return;if(!_0x25cf9a[_0x5b37('0x68')])return;if(_0x25cf9a[_0x5b37('0x51')][_0x5b37('0x41')]||!_0x25cf9a[_0x5b37('0x51')][_0x5b37('0x7')])return;let _0xaf9fc4,_0x140883;switch(_0x25cf9a[_0x5b37('0x3f')]){case _0x5b37('0x118'):_0xaf9fc4=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0xfb')]),_0x140883=_0xaf9fc4['getShiftedBy'](_0x25cf9a['howMany']);break;case _0x5b37('0xf5'):_0xaf9fc4=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0x97')]),_0x140883=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0x9f')]);break;case _0x5b37('0xc9'):_0xaf9fc4=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x10b')](_0x25cf9a[_0x5b37('0x13a')]),_0x140883=_0xaf9fc4[_0x5b37('0x2d')](_0x25cf9a[_0x5b37('0x19')]);break;default:return;}const _0x16d349=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0xd6')](_0xaf9fc4,_0x140883);_0x5a4c14['model'][_0x5b37('0x156')](()=>{for(const {suggestion:_0x401894,meta:_0x502680}of this[_0x5b37('0xe0')](_0x16d349)){if(_0x401894['isMultiRange'])continue;if(_0x5b37('0xab')==_0x401894[_0x5b37('0x3f')])continue;const _0x38e464=Pt(_0x401894);if(_0x38e464&&this[_0x5b37('0xea')](_0x38e464)&&_0x5b37('0xf5')!=_0x25cf9a[_0x5b37('0x3f')])continue;const _0xa5b0ff=_0x401894[_0x5b37('0x3c')]&&_0x401894['data']['multipleBlocks'];(_0x5b37('0x6b')!=_0x401894[_0x5b37('0x3f')]||'split'==_0x25cf9a['type']&&!_0xa5b0ff)&&(_0x502680[_0x5b37('0x5e')]||_0x5b37('0xd8')==_0x401894[_0x5b37('0x3f')]&&_0x502680[_0x5b37('0x86')]||_0x401894[_0x5b37('0xc')]()[_0x5b37('0xd3')](_0x16d349)&&this[_0x5b37('0x8a')](_0x401894,_0xaf9fc4,_0x140883));}});},{'priority':_0x5b37('0x17c')}),_0x5a4c14[_0x5b37('0x7e')]['on'](_0x5b37('0x96'),(_0x2446e3,_0x1ae1c6)=>{const _0x30b814=_0x1ae1c6[0x0],_0xd0c0ee=_0x1ae1c6[0x1];if(_0xd0c0ee&&_0xd0c0ee['forceDefaultExecution'])return;if(this[_0x5b37('0x66')])return;if(!this[_0x5b37('0x11b')]['value'])return;if(_0x30b814[_0x5b37('0x9')])return;const _0x2d62fe=_0x5a4c14[_0x5b37('0x7e')]['schema'],{start:_0x4dc53a,end:_0x4cc009}=_0x30b814[_0x5b37('0xc')](),_0x2e6434=_0x4dc53a[_0x5b37('0x165')]&&_0x2d62fe[_0x5b37('0x4e')](_0x4dc53a[_0x5b37('0x165')])?null:_0x2d62fe[_0x5b37('0x40')](_0x4dc53a,_0x5b37('0xce')),_0x2de445=_0x4cc009[_0x5b37('0x176')]&&_0x2d62fe[_0x5b37('0x4e')](_0x4cc009['nodeBefore'])?null:_0x2d62fe[_0x5b37('0x40')](_0x4cc009,'backward'),_0x401949=_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0xd6')](_0x2e6434?_0x2e6434[_0x5b37('0xd7')]:_0x4dc53a,_0x2de445?_0x2de445[_0x5b37('0x105')]:_0x4cc009);_0x5a4c14[_0x5b37('0x7e')][_0x5b37('0x156')](_0x46079e=>{this['markDeletion'](_0x401949);const _0x37b12f=_0x5a4c14['model'][_0x5b37('0x37')][_0x5b37('0x40')](_0x401949[_0x5b37('0xd7')]);_0x30b814['is']('documentSelection')?_0x46079e[_0x5b37('0x110')](_0x37b12f):_0x30b814['setTo'](_0x37b12f);}),_0x2446e3[_0x5b37('0xe9')]();},{'priority':_0x3e62aa[_0x5b37('0xe5')]+0xa}),_0x5a4c14['model']['on'](_0x5b37('0xcd'),(_0x19db62,_0x546e3a)=>{const _0x15c142=_0x546e3a[_0x546e3a[_0x5b37('0xdb')]-0x1];_0x15c142&&_0x15c142[_0x5b37('0x8c')]||this[_0x5b37('0x66')]||this[_0x5b37('0x11b')][_0x5b37('0x6d')]&&(_0x5a4c14['model'][_0x5b37('0x156')](()=>{let _0x1a4ba8=_0x5a4c14['model']['insertContent'](_0x546e3a[0x0],_0x546e3a[0x1],_0x546e3a[0x2],{'forceDefaultExecution':!0x0});if(!_0x1a4ba8)return;_0x19db62[_0x5b37('0xd5')]=_0x1a4ba8['clone']();const _0x2ca392=_0x1a4ba8[_0x5b37('0x105')][_0x5b37('0x176')],_0x4a6260=_0x5a4c14['model']['schema'];_0x2ca392&&_0x4a6260[_0x5b37('0x47')](_0x2ca392)&&!_0x4a6260[_0x5b37('0x1c')](_0x2ca392)&&(_0x1a4ba8=_0x5a4c14[_0x5b37('0x7e')]['createRange'](_0x1a4ba8[_0x5b37('0xd7')],_0x5a4c14[_0x5b37('0x7e')]['createPositionAt'](_0x2ca392,_0x5b37('0x105')))),this[_0x5b37('0x4b')](_0x1a4ba8);}),_0x19db62['stop']());},{'priority':'high'}),this[_0x5b37('0x101')]['commands'][_0x5b37('0x52')](_0x5b37('0xc1'),this['trackChangesCommand']),this[_0x5b37('0x21')](_0x5b37('0xc1'));const _0x4c6a24=new _0x292401(_0x5a4c14,this[_0x5b37('0x10d')]);_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x12'),_0x4c6a24),this[_0x5b37('0x21')](_0x5b37('0x12'));const _0x5d6b8e=new _0x372a97(_0x5a4c14,this['_suggestions']);_0x5a4c14[_0x5b37('0x108')][_0x5b37('0x52')]('discardSuggestion',_0x5d6b8e),this['enableCommand'](_0x5b37('0x2f')),_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x17f'),new _0x49a2c3(_0x5a4c14,_0x4c6a24,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')](_0x5b37('0x17f')),_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x124'),new _0x49a2c3(_0x5a4c14,_0x5d6b8e,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')](_0x5b37('0x124')),_0x5a4c14['commands'][_0x5b37('0x52')]('acceptSelectedSuggestions',new _0x37ef90(_0x5a4c14,_0x4c6a24,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')]('acceptSelectedSuggestions'),_0x5a4c14['commands'][_0x5b37('0x52')](_0x5b37('0x10c'),new _0x37ef90(_0x5a4c14,_0x5d6b8e,this[_0x5b37('0x10d')])),this[_0x5b37('0x21')](_0x5b37('0x10c'));const _0x2c4b9b=_0x5a4c14[_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0xb2'));this['listenTo'](_0x2c4b9b,'addComment',(_0x21ff04,{threadId:_0x7a0d4f})=>{const _0x59c853=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x7a0d4f);_0x59c853&&_0x59c853[_0x5b37('0xfa')]&&0x1===_0x59c853[_0x5b37('0xfa')]['length']&&this[_0x5b37('0x93')](_0x7a0d4f,{'hasComments':!0x0});},{'priority':_0x5b37('0x135')}),this[_0x5b37('0x70')](_0x2c4b9b,_0x5b37('0x17d'),(_0xb6784a,{threadId:_0x4a3f88})=>{const _0x1bc598=this[_0x5b37('0x10d')]['get'](_0x4a3f88);_0x1bc598&&_0x1bc598[_0x5b37('0xfa')]&&!_0x1bc598['commentThread'][_0x5b37('0xdb')]&&this[_0x5b37('0x93')](_0x4a3f88,{'hasComments':!0x1});},{'priority':_0x5b37('0x135')});}set[_0x5b37('0x160')](_0x35deba){if(this[_0x5b37('0x168')])throw new _0x5cf83c(_0x5b37('0xfe'),this);this[_0x5b37('0x168')]=_0x35deba;}get['adapter'](){return this[_0x5b37('0x168')];}[_0x5b37('0x14a')]({skipNotAttached:_0x5e2989=!0x1,toJSON:_0x17c7c8=!0x1}={}){const _0x2f9a7a=[];for(const _0x43ab8e of this[_0x5b37('0x10d')][_0x5b37('0x5')]())_0x5e2989&&!_0x43ab8e['isInContent']||_0x2f9a7a[_0x5b37('0xa1')](_0x43ab8e);return _0x17c7c8?_0x2f9a7a[_0x5b37('0x43')](_0x17eab3=>_0x17eab3[_0x5b37('0x13f')]()):_0x2f9a7a;}[_0x5b37('0xd')](_0xbb6cd7){const _0x1ae4b1=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0xbb6cd7);if(!_0x1ae4b1)throw new _0x5cf83c(_0x5b37('0x150'),this);return _0x1ae4b1;}[_0x5b37('0x23')](_0x2121f4){return this[_0x5b37('0x10d')][_0x5b37('0x57')](_0x2121f4);}['addSuggestionData'](_0x26cf8f){const {authorId:_0x273682,id:_0x1a25fc,attributes:_0x576033}=_0x26cf8f,[_0x3007f5,_0x54a15d]=_0x26cf8f[_0x5b37('0x3f')][_0x5b37('0xf5')](':'),_0x145a50=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x1a25fc)||this['_createSuggestion'](_0x3007f5,_0x54a15d,_0x1a25fc,_0x273682,_0x576033);if(this[_0x5b37('0x1a')](_0x145a50),this[_0x5b37('0x46')](_0x145a50,_0x3007f5,_0x54a15d||null,_0x273682),_0x145a50['createdAt']=_0x26cf8f[_0x5b37('0x146')],_0x145a50[_0x5b37('0x106')]=!0x0,_0x576033&&_0x576033[_0x5b37('0xb8')]){const _0x1eae71=_0x576033[_0x5b37('0xb8')],_0xaec4f=this[_0x5b37('0x14e')](_0x1eae71['authorName']);_0x145a50[_0x5b37('0x20')]=_0x1eae71[_0x5b37('0x146')],_0x145a50[_0x5b37('0x30')]=_0xaec4f,_0x145a50[_0x5b37('0x67')]=!0x0;}else _0x145a50[_0x5b37('0x20')]=_0x26cf8f['createdAt'];switch(_0x26cf8f[_0x5b37('0x3c')]&&(_0x145a50['data']=_0x26cf8f['data']),_0x26cf8f[_0x5b37('0x83')]&&(_0x145a50['attributes']=_0x26cf8f[_0x5b37('0x83')]),this[_0x5b37('0x168')]&&this['_adapter'][_0x5b37('0x4')]||(_0x145a50[_0x5b37('0x53')]=!0x0),this['_suggestionState'][_0x5b37('0x103')](_0x145a50)){case _0x5b37('0x92'):this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x145a50,'dataReady');break;case _0x5b37('0x1f'):_0x145a50['isInContent']?(this[_0x5b37('0x139')](new Set([_0x145a50])),this['_joinWithAdjacentSuggestions'](new Set([_0x145a50])),this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x145a50,'ready'),this[_0x5b37('0x9c')](_0x5b37('0x172'),_0x145a50)):this['_suggestionState']['set'](_0x145a50,_0x5b37('0x99'));}return _0x145a50;}[_0x5b37('0x12')](_0x18d4d2){this['forceDefaultExecution'](()=>{this[_0x5b37('0x101')][_0x5b37('0x7e')]['change'](()=>{for(const _0x2d3c3e of _0x18d4d2[_0x5b37('0xd4')]())_0x2d3c3e[_0x5b37('0x11d')]();});});}['discardSuggestion'](_0x4e27d5){this[_0x5b37('0x8c')](()=>{this['editor'][_0x5b37('0x7e')]['change'](()=>{for(const _0x53980d of _0x4e27d5[_0x5b37('0xd4')]())_0x53980d['discard']();});});}[_0x5b37('0x21')](_0x5d419b,_0x2ce7bc){const _0x42b73a=this['editor'][_0x5b37('0x108')][_0x5b37('0x103')](_0x5d419b);if(!_0x42b73a)throw new _0x5cf83c(_0x5b37('0x12f'),this,{'commandName':_0x5d419b});if(this[_0x5b37('0xf3')][_0x5b37('0x57')](_0x42b73a))throw new _0x5cf83c(_0x5b37('0x32'),this,{'commandName':_0x5d419b});this['_enabledCommands'][_0x5b37('0x52')](_0x42b73a),_0x2ce7bc&&_0x42b73a['on'](_0x5b37('0x107'),(_0xca614a,_0x1ad72a)=>{this[_0x5b37('0x11b')]['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x1ad72a[_0x5b37('0xdb')]>0x0&&_0x1ad72a[_0x1ad72a[_0x5b37('0xdb')]-0x1]&&_0x1ad72a[_0x1ad72a[_0x5b37('0xdb')]-0x1][_0x5b37('0x8c')]?_0x1ad72a[_0x5b37('0xc6')]():(_0xca614a['return']=_0x2ce7bc((..._0x1dc8ab)=>_0x42b73a[_0x5b37('0x107')](..._0x1dc8ab,{'forceDefaultExecution':!0x0}),..._0x1ad72a),_0xca614a['stop']())));},{'priority':_0x5b37('0x35')});}['forceDefaultExecution'](_0x3ec0e6){let _0x1def00,_0x305c3b;const _0x3c1449=this[_0x5b37('0x66')];this[_0x5b37('0x66')]=!0x0;try{_0x1def00=_0x3ec0e6();}catch(_0x4d09b2){_0x305c3b=_0x4d09b2;}return _0x3c1449||(this[_0x5b37('0x66')]=!0x1),_0x305c3b&&_0x5cf83c[_0x5b37('0x6')](_0x305c3b,this),_0x1def00;}[_0x5b37('0x4b')](_0x24def7,_0x13b919=null,_0x136dd0={}){if(_0x24def7[_0x5b37('0x9')])return null;const _0x452c94=this[_0x5b37('0x101')]['plugins'][_0x5b37('0x103')]('Users')['me'];for(const {suggestion:_0x53c3c7,meta:_0x443003}of this[_0x5b37('0xe0')](_0x24def7,'insertion'))if(_0x443003[_0x5b37('0x86')]){if(!_0x443003[_0x5b37('0xa4')]){if(_0x443003['containsRangeInObject']){if(!this[_0x5b37('0x1b')]||!Gt(_0x53c3c7,_0x136dd0))continue;return _0x53c3c7;}if(Gt(_0x53c3c7,_0x136dd0))return _0x53c3c7;this[_0x5b37('0x8a')](_0x53c3c7,_0x24def7[_0x5b37('0xd7')],_0x24def7[_0x5b37('0x105')]);break;}if(_0x13b919==_0x53c3c7[_0x5b37('0x13b')]&&Gt(_0x53c3c7,_0x136dd0)){const _0x155a34=_0x53c3c7[_0x5b37('0xc')]();return _0x155a34[_0x5b37('0xd7')][_0x5b37('0x169')](_0x24def7[_0x5b37('0x105')])?this[_0x5b37('0x12a')](_0x53c3c7,this['_model'][_0x5b37('0xd6')](_0x24def7['start'],_0x155a34[_0x5b37('0x105')])):this[_0x5b37('0x12a')](_0x53c3c7,this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x155a34[_0x5b37('0xd7')],_0x24def7[_0x5b37('0x105')])),_0x53c3c7;}}const _0x258bae=_0x5bc589(),_0x48d278=_0x452c94['id'],_0x2f82cf=_0x13b919?_0x5b37('0x4d')+_0x13b919:_0x5b37('0xd8'),_0x4f7b26=this['_setSuggestionData']({'id':_0x258bae,'type':_0x2f82cf,'createdAt':new Date(),'authorId':_0x48d278,'attributes':_0x136dd0});return this[_0x5b37('0x17e')](_0x2f82cf,_0x258bae,_0x48d278,_0x24def7),_0x4f7b26;}[_0x5b37('0x64')](_0x4246a2,_0x35a562=_0x5b37('0x2c'),_0x38ed9d={}){const _0x376f87=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'],_0x2d1be2=this[_0x5b37('0x100')][_0x5b37('0x123')](_0x5b37('0xd8'),_0x35a562,_0x5b37('0x2e'));for(const _0xa48711 of this['getSuggestions']())if(_0xa48711[_0x5b37('0x30')]['id']==_0x376f87['id']&&_0x5b37('0xd8')==_0xa48711[_0x5b37('0x3f')]&&_0xa48711[_0x5b37('0x13b')]==_0x35a562&&Gt(_0xa48711,_0x38ed9d)&&(_0x2d1be2(_0xa48711[_0x5b37('0x8')](),_0x4246a2)||_0x2d1be2(_0x4246a2,_0xa48711['getRanges']()))){for(const _0x2403a of _0x4246a2)_0xa48711[_0x5b37('0x2b')](_0x2403a);return _0xa48711;}for(const {suggestion:_0x1dcb1e,meta:_0x1026d1}of this[_0x5b37('0xe0')](_0x4246a2,_0x5b37('0xd8'))){if(!_0x1026d1['isOwn'])continue;if(!this[_0x5b37('0x1b')]&&_0x1026d1[_0x5b37('0x5e')])continue;if(!Gt(_0x1dcb1e,_0x38ed9d))continue;let _0x2f43b6=!0x0;for(const _0x749dee of _0x1dcb1e['getRanges']())for(const _0x2352ef of _0x4246a2)if(!_0x749dee[_0x5b37('0xd3')](_0x2352ef)){_0x2f43b6=!0x1;break;}if(_0x2f43b6)return _0x1dcb1e;}const _0x5933f8=_0x5bc589(),_0x16dabf=_0x376f87['id'],_0x3bf3a0=_0x5b37('0x4d')+_0x35a562,_0x31c1bd=this[_0x5b37('0xba')]({'id':_0x5933f8,'type':_0x3bf3a0,'createdAt':new Date(),'authorId':_0x16dabf,'attributes':_0x38ed9d});for(const _0x28dbb6 of _0x4246a2)this[_0x5b37('0x17e')](_0x3bf3a0,_0x5933f8,_0x16dabf,_0x28dbb6,_0x578a9e[_0x5b37('0x42')]());return _0x31c1bd;}[_0x5b37('0x15c')](_0xf74e07,_0x56ea1c,_0x9e54b3=null,_0x49b8b8={}){if(_0x9e54b3=_0x9e54b3||Et(_0x56ea1c),_0xf74e07['isCollapsed'])return null;if(_0x5b37('0x122')===this[_0x5b37('0x10a')]){const _0x55e436=this['_suggestionFactory'][_0x5b37('0x123')](_0x5b37('0xab'),_0x9e54b3,_0x5b37('0x11d'));return this['forceDefaultExecution'](()=>_0x55e436([_0xf74e07],_0x56ea1c,_0x49b8b8)),null;}const _0x5eb27c=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')]('Users')['me'],_0x3b2e44=[];if(_0x5b37('0x10')!==this[_0x5b37('0x10a')])for(const {suggestion:_0x26dd12,meta:_0x5da55a}of this[_0x5b37('0xe0')](_0xf74e07,'insertion'))_0x5da55a[_0x5b37('0x86')]&&!_0x5da55a['isInsideObject']&&_0x3b2e44[_0x5b37('0xa1')](..._0x26dd12[_0x5b37('0x8')]());const _0x583a90=function(_0x345dd4,_0x25e2e6){const _0x50e097=[];for(const _0x5284bf of _0x25e2e6){const _0x2d8a56=_0x345dd4['getIntersection'](_0x5284bf);_0x2d8a56&&_0x50e097[_0x5b37('0xa1')](_0x2d8a56);}return _0x50e097;}(_0xf74e07,_0x3b2e44),_0x38a5f3=function(_0xc1e796,_0x43c49e){const _0x504431=[_0xc1e796];for(const _0x386168 of _0x43c49e){let _0x18d6c7=0x0;for(;_0x18d6c7<_0x504431['length'];){const _0x56957f=_0x504431[_0x18d6c7][_0x5b37('0xcc')](_0x386168);_0x504431['splice'](_0x18d6c7,0x1,..._0x56957f),_0x18d6c7+=_0x56957f[_0x5b37('0xdb')];}}return _0x504431;}(_0xf74e07,_0x3b2e44);_0x583a90[_0x5b37('0xdb')]&&this[_0x5b37('0x63')][_0x5b37('0x156')](()=>{for(const _0x13162b of _0x583a90){const _0x2b8b81=this[_0x5b37('0x100')][_0x5b37('0x123')]('formatInline',_0x9e54b3,_0x5b37('0x11d'));this[_0x5b37('0x8c')](()=>_0x2b8b81([_0x13162b],_0x56ea1c,_0x49b8b8));}});for(const _0x65dee1 of _0x38a5f3){let _0x5b7433=null,_0x84bb8e=_0x65dee1['start'],_0x2898fc=_0x65dee1[_0x5b37('0x105')];for(const {suggestion:_0xc3a665,meta:_0x199f88}of this[_0x5b37('0xe0')](_0x65dee1,_0x5b37('0xab'))){if(!_0x199f88[_0x5b37('0x86')])continue;if(_0xc3a665[_0x5b37('0x13b')]!=_0x9e54b3)continue;if(!Gt(_0xc3a665,_0x49b8b8))continue;const _0x3dc8bc=_0xc3a665[_0x5b37('0xc')]();if(_0x3dc8bc[_0x5b37('0xd3')](_0x65dee1,!0x0))return null;_0x84bb8e=_0x84bb8e[_0x5b37('0x28')](_0x3dc8bc[_0x5b37('0xd7')])?_0x84bb8e:_0x3dc8bc['start'],_0x2898fc=_0x2898fc[_0x5b37('0x1')](_0x3dc8bc[_0x5b37('0x105')])?_0x2898fc:_0x3dc8bc['end'],_0x5b7433?_0x3dc8bc['start'][_0x5b37('0x28')](_0x5b7433[_0x5b37('0xc')]()[_0x5b37('0xd7')])?(_0x5b7433[_0x5b37('0xc2')](),_0x5b7433=_0xc3a665):_0xc3a665[_0x5b37('0xc2')]():_0x5b7433=_0xc3a665;}const _0x1cec34=this['_model'][_0x5b37('0xd6')](_0x84bb8e,_0x2898fc);if(_0x5b7433)this['_setSuggestionRange'](_0x5b7433,_0x1cec34);else{const _0x1a0734=_0x5bc589(),_0x3b3b0d=_0x5eb27c['id'];this['_setSuggestionData']({'id':_0x1a0734,'type':_0x5b37('0x61')+_0x9e54b3,'data':_0x56ea1c,'createdAt':new Date(),'authorId':_0x3b3b0d,'attributes':_0x49b8b8}),this['_addSuggestionMarker'](_0x5b37('0x61')+_0x9e54b3,_0x1a0734,_0x3b3b0d,_0x1cec34);}}return null;}[_0x5b37('0x10e')](_0x8ff797,_0x10d8ea,_0x5d4321=[],_0x2aeb9a=null,_0x53044a={}){_0x10d8ea[_0x5b37('0x1e')]||(_0x10d8ea[_0x5b37('0x1e')]=_0x10d8ea[_0x5b37('0xf9')]),_0x10d8ea[_0x5b37('0x89')]=_0x8ff797['is'](_0x5b37('0xa8')),_0x2aeb9a=_0x2aeb9a||Et(_0x10d8ea);const _0x1ed780=_0x5d4321[_0x5b37('0x43')](_0x57319c=>Ut(_0x57319c,this[_0x5b37('0x63')])),_0xbeeba1=_0x8ff797['is']('range')?_0x8ff797:Ut(_0x8ff797,this[_0x5b37('0x63')]);if(_0x5b37('0x122')===this[_0x5b37('0x10a')]){const _0x45fa99=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2aeb9a,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x45fa99([_0xbeeba1],_0x10d8ea,_0x53044a)),null;}_0x1ed780['push'](_0xbeeba1);let _0x56c5c=!0x0;for(const _0x1c433d of _0x1ed780)if(!this[_0x5b37('0x75')](_0x1c433d)){_0x56c5c=!0x1;break;}if(_0x56c5c&&'always'!==this[_0x5b37('0x10a')]){const _0x5265f2=this['_suggestionFactory'][_0x5b37('0x123')](_0x5b37('0x6b'),_0x2aeb9a,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x5265f2([_0xbeeba1],_0x10d8ea,_0x53044a)),null;}let _0xfdeb77=null,_0x987df6=_0xbeeba1[_0x5b37('0xd7')],_0x448b75=_0xbeeba1[_0x5b37('0x105')];for(const {suggestion:_0x558207,meta:_0x511c62}of this['_findSuggestions'](_0xbeeba1,_0x5b37('0x6b'))){if(!_0x511c62['isOwn'])continue;if(_0x511c62[_0x5b37('0xa4')]||_0x511c62[_0x5b37('0x5e')]||_0x511c62['isInsideObject'])continue;if(_0x558207[_0x5b37('0x3c')][_0x5b37('0x1e')]!=_0x10d8ea['formatGroupId'])continue;if(!Gt(_0x558207,_0x53044a))continue;const _0x504ee0=_0x558207[_0x5b37('0xc')]();if(_0x558207[_0x5b37('0x13b')]==_0x2aeb9a){if(_0x504ee0[_0x5b37('0xd3')](_0xbeeba1,!0x0))return null;_0x987df6=_0x987df6[_0x5b37('0x28')](_0x504ee0[_0x5b37('0xd7')])?_0x987df6:_0x504ee0['start'],_0x448b75=_0x448b75[_0x5b37('0x1')](_0x504ee0[_0x5b37('0x105')])?_0x448b75:_0x504ee0[_0x5b37('0x105')],_0xfdeb77?_0x504ee0[_0x5b37('0xd7')][_0x5b37('0x28')](_0xfdeb77[_0x5b37('0xc')]()[_0x5b37('0xd7')])?(_0xfdeb77['removeMarkers'](),_0xfdeb77=_0x558207):_0x558207['removeMarkers']():_0xfdeb77=_0x558207;}else{const _0x324f30=_0xbeeba1[_0x5b37('0x81')](_0x504ee0);this['_cutOutSuggestionMarker'](_0x558207,_0x324f30);}}const _0x58d1fa=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'],_0x47db9b=_0x5bc589(),_0x22eea6=_0x58d1fa['id'];if(_0xfdeb77)return this[_0x5b37('0x12a')](_0xfdeb77,this['_model'][_0x5b37('0xd6')](_0x987df6,_0x448b75)),_0xfdeb77;{const _0x392a58=this[_0x5b37('0xba')]({'id':_0x47db9b,'type':_0x5b37('0x9b')+_0x2aeb9a,'data':_0x10d8ea,'createdAt':new Date(),'authorId':_0x22eea6,'attributes':_0x53044a});return this[_0x5b37('0x17e')](_0x5b37('0x9b')+_0x2aeb9a,_0x47db9b,_0x22eea6,this['_model'][_0x5b37('0xd6')](_0x987df6,_0x448b75)),_0x392a58;}}[_0x5b37('0xa0')](_0x15388e,_0x353199,_0x43c08c=[],_0x4e42bf=null,_0x239a33={}){_0x353199[_0x5b37('0x1e')]||(_0x353199[_0x5b37('0x1e')]=_0x353199[_0x5b37('0xf9')]);const _0x35a6f8=_0x15388e[0x0];_0x353199[_0x5b37('0x89')]=_0x35a6f8['is']('range'),_0x4e42bf=_0x4e42bf||Et(_0x353199);const _0x1e3f1d=_0x43c08c['map'](_0x1450b4=>Ut(_0x1450b4,this[_0x5b37('0x63')])),_0x4d7308=_0x35a6f8['is'](_0x5b37('0xa8'))?_0x15388e:_0x15388e['map'](_0xa970d0=>Ut(_0xa970d0,this[_0x5b37('0x63')]));if('never'===this[_0x5b37('0x10a')]){const _0x354d51=this[_0x5b37('0x100')][_0x5b37('0x123')](_0x5b37('0x6b'),_0x4e42bf,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x354d51(_0x4d7308,_0x353199,_0x239a33)),null;}_0x1e3f1d[_0x5b37('0xa1')](..._0x4d7308);let _0x447415=!0x0;for(const _0x39fd53 of _0x1e3f1d)if(!this[_0x5b37('0x75')](_0x39fd53)){_0x447415=!0x1;break;}if(_0x447415&&_0x5b37('0x10')!==this['_trackFormatChanges']){const _0x46c2a8=this['_suggestionFactory'][_0x5b37('0x123')]('formatBlock',_0x4e42bf,_0x5b37('0x11d'));return this['forceDefaultExecution'](()=>_0x46c2a8(_0x4d7308,_0x353199,_0x239a33)),null;}const _0x3a430b=this[_0x5b37('0x101')][_0x5b37('0xe3')]['get'](_0x5b37('0x14'))['me'];for(const _0x1431e1 of this[_0x5b37('0x14a')]()){if(_0x1431e1[_0x5b37('0x30')]['id']!=_0x3a430b['id'])continue;if(_0x5b37('0x6b')!=_0x1431e1[_0x5b37('0x3f')]||_0x1431e1['data']['formatGroupId']!=_0x353199[_0x5b37('0x1e')])continue;if(!Gt(_0x1431e1,_0x239a33))continue;const _0x7e87b8=_0x1431e1[_0x5b37('0x13b')]==_0x4e42bf;for(let _0xa57391=0x0;_0xa57391<_0x4d7308[_0x5b37('0xdb')];_0xa57391++){const _0x5dd216=_0x4d7308[_0xa57391];for(const _0x234e39 of _0x1431e1['getMarkers']()){const _0x446ab3=_0x234e39[_0x5b37('0xdc')]();if(_0x5dd216[_0x5b37('0x169')](_0x446ab3)){_0x7e87b8?(_0x4d7308['splice'](_0xa57391,0x1),_0xa57391--):_0x1431e1[_0x5b37('0x151')](_0x234e39['name']);break;}}}}if(0x0==_0x4d7308[_0x5b37('0xdb')])return null;const _0x328936=this[_0x5b37('0x100')][_0x5b37('0x123')]('formatBlock',_0x4e42bf,'join');for(const _0x41784e of this[_0x5b37('0x14a')]())if(_0x41784e[_0x5b37('0x30')]['id']==_0x3a430b['id']&&_0x5b37('0x6b')==_0x41784e['type']&&_0x41784e['data'][_0x5b37('0x1e')]==_0x353199[_0x5b37('0x1e')]&&_0x41784e[_0x5b37('0x13b')]==_0x4e42bf&&Gt(_0x41784e,_0x239a33)&&(_0x328936(_0x41784e[_0x5b37('0x8')](),_0x4d7308)||_0x328936(_0x4d7308,_0x41784e['getRanges']()))){for(const _0x444084 of _0x4d7308)_0x41784e['addRange'](_0x444084);return _0x41784e;}const _0x45c895=_0x5bc589(),_0xa37445=_0x3a430b['id'],_0x22b088=_0x5b37('0x9b')+_0x4e42bf,_0x158c89=this['_setSuggestionData']({'id':_0x45c895,'type':_0x22b088,'data':_0x353199,'createdAt':new Date(),'authorId':_0xa37445,'attributes':_0x239a33});for(const _0x18258b of _0x4d7308)this[_0x5b37('0x17e')](_0x22b088,_0x45c895,_0xa37445,_0x18258b,_0x578a9e['getMultiRangeId']());return _0x158c89;}[_0x5b37('0x94')](_0x5683c5,_0x2708a2=null,_0x4e9cfa={}){if(_0x5683c5['isCollapsed'])return null;const _0x29ef56=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'],_0x25023f=new _0x2cfd9f(_0x5683c5[_0x5b37('0xd7')],_0x5683c5[_0x5b37('0x105')]);for(const {suggestion:_0x495c92,meta:_0x7edd33}of this[_0x5b37('0xe0')](_0x25023f,_0x5b37('0xd8')))if(_0x7edd33['isOwn']&&!_0x7edd33['isNextTo']){if(_0x495c92[_0x5b37('0xbb')]){const _0x3d4c8d=_0x495c92['getRanges']()[_0x5b37('0x15a')](_0x26c761=>_0x5b37('0xeb')!=_0x26c761[_0x5b37('0x45')][_0x5b37('0xf1')]);_0x3d4c8d[_0x5b37('0x11e')](_0x3ae4f1=>_0x25023f[_0x5b37('0xd3')](_0x3ae4f1,!0x0))&&_0x495c92['discard']();if(_0x3d4c8d[_0x5b37('0x84')](_0x1e00b6=>_0x1e00b6[_0x5b37('0xd3')](_0x25023f,!0x0))){const _0xb695a0=this[_0x5b37('0x100')][_0x5b37('0x123')](_0x5b37('0x69'),_0x2708a2,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0xb695a0([_0x25023f],null,_0x4e9cfa)),null;}}else{const _0x32172a=_0x25023f['getIntersection'](_0x495c92[_0x5b37('0xc')]());null!==_0x32172a&&_0x495c92[_0x5b37('0x9e')]([_0x32172a],null,_0x4e9cfa);}}if(_0x25023f['detach'](),_0x25023f[_0x5b37('0x9')]||'$graveyard'==_0x25023f[_0x5b37('0x45')]['rootName'])return null;let _0x577516=null,_0x3dca9e=_0x25023f[_0x5b37('0xd7')],_0x3c3961=_0x25023f[_0x5b37('0x105')];const _0x3c7ad4=this['_findSuggestions'](_0x25023f,_0x5b37('0x69'));for(const {suggestion:_0xf8166c,meta:_0x2d57fe}of _0x3c7ad4){const _0x3f6270=this['_model'][_0x5b37('0xd6')](_0x3dca9e,_0x3c3961);if(_0x2d57fe[_0x5b37('0x86')]&&(this[_0x5b37('0x1b')]||!_0x2d57fe[_0x5b37('0x5e')]&&!_0x2d57fe[_0x5b37('0x24')])){if(_0xf8166c[_0x5b37('0xbb')]){if(!Gt(_0xf8166c,_0x4e9cfa))continue;let _0x446f9b=!0x0;for(const _0x40d288 of _0xf8166c[_0x5b37('0x8')]()){if(_0x40d288[_0x5b37('0xd3')](_0x3f6270,!0x0))return _0xf8166c;_0x3f6270['containsRange'](_0x40d288)||(_0x446f9b=!0x1);}_0x446f9b&&_0xf8166c[_0x5b37('0x140')]();}else{const _0x3c8023=_0xf8166c['getFirstRange']();if(_0x3c8023[_0x5b37('0xd3')](_0x3f6270,!0x0))return _0xf8166c;if(!Gt(_0xf8166c,_0x4e9cfa)){_0x3f6270['containsRange'](_0x3c8023)?_0xf8166c['removeMarkers']():_0x3c8023[_0x5b37('0x6a')](_0x3dca9e)?_0x3dca9e=_0x3c8023[_0x5b37('0x105')]:_0x3c8023[_0x5b37('0x6a')](_0x3c3961)&&(_0x3c3961=_0x3c8023[_0x5b37('0xd7')]);continue;}_0x3dca9e=_0x3dca9e[_0x5b37('0x28')](_0x3c8023[_0x5b37('0xd7')])?_0x3dca9e:_0x3c8023[_0x5b37('0xd7')],_0x3c3961=_0x3c3961[_0x5b37('0x1')](_0x3c8023[_0x5b37('0x105')])?_0x3c3961:_0x3c8023['end'],_0x4e9cfa=Object[_0x5b37('0x17')]({},_0xf8166c[_0x5b37('0x83')]),_0x577516?_0x3c8023[_0x5b37('0xd7')][_0x5b37('0x28')](_0x577516['getFirstRange']()['start'])?(_0x577516[_0x5b37('0xc2')](),_0x577516=_0xf8166c):_0xf8166c['removeMarkers']():_0x577516=_0xf8166c;}}}if(_0x577516)return this[_0x5b37('0x12a')](_0x577516,this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x3dca9e,_0x3c3961)),_0x577516;{const _0x48122d=_0x5bc589(),_0x601f11=this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x3dca9e,_0x3c3961),_0xbeea07=_0x29ef56['id'],_0x2ee619=_0x2708a2?_0x5b37('0x5c')+_0x2708a2:_0x5b37('0x69'),_0x4d8184=this['_setSuggestionData']({'id':_0x48122d,'type':_0x2ee619,'createdAt':new Date(),'authorId':_0xbeea07,'attributes':_0x4e9cfa});return this[_0x5b37('0x17e')](_0x2ee619,_0x48122d,_0xbeea07,_0x601f11),_0x4d8184;}}[_0x5b37('0x4c')](_0x3a6f24,_0x412427=_0x5b37('0x2c'),_0x1b9ae4={}){const _0x5810d6=this[_0x5b37('0x101')]['plugins']['get']('Users')['me'],_0x1a93af=_0x3a6f24[_0x5b37('0x43')](_0x449acf=>new _0x2cfd9f(_0x449acf[_0x5b37('0xd7')],_0x449acf[_0x5b37('0x105')])),_0x1495d1=new Set();for(const {suggestion:_0x3945b5,meta:_0x87828d}of this[_0x5b37('0xe0')](_0x1a93af,_0x5b37('0xd8')))_0x87828d[_0x5b37('0x86')]&&!_0x87828d[_0x5b37('0xa4')]&&_0x1495d1['add'](_0x3945b5);for(const _0x56e491 of _0x1495d1)if(_0x56e491['isMultiRange']){const _0x33c50e=_0x56e491[_0x5b37('0x8')]();(!_0x56e491['attributes']||!_0x56e491[_0x5b37('0x83')][_0x5b37('0x130')])&&(_0x33c50e[_0x5b37('0x11e')](_0x3c1bf7=>_0x1a93af[_0x5b37('0x84')](_0x293667=>_0x293667[_0x5b37('0xd3')](_0x3c1bf7,!0x0)))&&_0x56e491['discard']());if(_0x1a93af[_0x5b37('0x11e')](_0x46fb99=>_0x33c50e[_0x5b37('0x84')](_0x6f7d23=>_0x6f7d23['containsRange'](_0x46fb99,!0x0)))){const _0x2a1cfc=this[_0x5b37('0x100')][_0x5b37('0x123')]('deletion',_0x412427,_0x5b37('0x11d'));return this['forceDefaultExecution'](()=>_0x2a1cfc(_0x3a6f24,null,_0x1b9ae4)),null;}}else{const _0x14d9dd=_0x56e491[_0x5b37('0xc')]();_0x1a93af[_0x5b37('0x84')](_0x33dba0=>_0x33dba0[_0x5b37('0xd3')](_0x14d9dd,!0x0))&&_0x56e491[_0x5b37('0x140')]();if(_0x1a93af['every'](_0x2bc729=>_0x14d9dd[_0x5b37('0xd3')](_0x2bc729,!0x0))){const _0x3b4bed=this[_0x5b37('0x100')]['getSuggestionCallback'](_0x5b37('0x69'),_0x412427,_0x5b37('0x11d'));return this[_0x5b37('0x8c')](()=>_0x3b4bed(_0x1a93af,null,_0x1b9ae4)),null;}}const _0x47fdb1=this['_suggestionFactory'][_0x5b37('0x123')](_0x5b37('0x69'),_0x412427,_0x5b37('0x2e'));let _0x4c40a1=null;for(const _0x220e84 of this[_0x5b37('0x14a')]())if(_0x220e84[_0x5b37('0x30')]['id']==_0x5810d6['id']&&_0x220e84[_0x5b37('0x178')]&&'deletion'==_0x220e84[_0x5b37('0x3f')]&&_0x220e84['subType']==_0x412427&&Gt(_0x220e84,_0x1b9ae4)&&(_0x47fdb1(_0x220e84[_0x5b37('0x8')](),_0x1a93af)||_0x47fdb1(_0x1a93af,_0x220e84['getRanges']()))){if(_0x4c40a1){if(_0x220e84[_0x5b37('0xfa')]&&_0x220e84[_0x5b37('0xfa')][_0x5b37('0xdb')])continue;for(const _0x5a99e2 of _0x220e84['getRanges']())_0x4c40a1['isIntersectingWithRange'](_0x5a99e2)||_0x4c40a1[_0x5b37('0x2b')](_0x5a99e2);_0x220e84['removeMarkers']();}else{_0x4c40a1=_0x220e84;for(const _0x471ea5 of _0x1a93af)_0x220e84[_0x5b37('0x33')](_0x471ea5)||_0x220e84[_0x5b37('0x2b')](_0x471ea5);}}if(_0x4c40a1)return _0x4c40a1;_0x1495d1['clear']();for(const {suggestion:_0x362128,meta:_0x486eaa}of this['_findSuggestions'](_0x1a93af,_0x5b37('0x69')))_0x486eaa['isOwn']&&(this[_0x5b37('0x1b')]||!_0x486eaa[_0x5b37('0x5e')]&&!_0x486eaa['isInsideObject'])&&Gt(_0x362128,_0x1b9ae4)&&_0x1495d1['add'](_0x362128);for(const _0x198a2c of _0x1495d1){const _0xbaf9c9=_0x198a2c['getRanges']();if(!_0x1b9ae4||!_0x1b9ae4['skipNestingCheck']){if(_0x1a93af['every'](_0x480785=>_0xbaf9c9[_0x5b37('0x84')](_0x4f1eb7=>_0x4f1eb7['containsRange'](_0x480785,!0x0))))return _0x198a2c;}(!_0x198a2c[_0x5b37('0x83')]||!_0x198a2c[_0x5b37('0x83')]['skipNestingCheck'])&&(_0xbaf9c9[_0x5b37('0x11e')](_0x1a2ed2=>_0x1a93af['some'](_0x3c175d=>_0x3c175d[_0x5b37('0xd3')](_0x1a2ed2,!0x0)))&&_0x198a2c['discard']());}const _0x157b8a=_0x5bc589(),_0x331308=_0x5810d6['id'],_0x1e1b18=_0x5b37('0x5c')+_0x412427,_0x11b4e5=this['_setSuggestionData']({'id':_0x157b8a,'type':_0x1e1b18,'createdAt':new Date(),'authorId':_0x331308,'attributes':_0x1b9ae4});for(const _0x514dbe of _0x1a93af)_0x514dbe[_0x5b37('0x142')](),_0x514dbe[_0x5b37('0x9')]||_0x5b37('0xeb')==_0x514dbe[_0x5b37('0x45')][_0x5b37('0xf1')]||this[_0x5b37('0x17e')](_0x1e1b18,_0x157b8a,_0x331308,_0x514dbe,_0x578a9e['getMultiRangeId']());return _0x11b4e5;}[_0x5b37('0xb')](_0xd71dd4,_0x1509e6,_0x412111,_0x104c7f,_0x545bc9){if(_0xd71dd4[_0x5b37('0x9')])return[];if(_0x5b37('0x122')===this[_0x5b37('0x10a')])return[];const _0x3aa00f=this[_0x5b37('0x101')][_0x5b37('0xe3')]['get'](_0x5b37('0x14'))['me']['id'],_0x1fde1c=Array['from'](this[_0x5b37('0x10d')][_0x5b37('0x5')]())['filter'](_0x1a669a=>_0x5b37('0x175')==_0x1a669a[_0x5b37('0x3f')]&&_0x1a669a['data'][_0x5b37('0x129')]==_0x1509e6&&_0x1a669a[_0x5b37('0x33')](_0xd71dd4));if(_0x5b37('0x180')===this[_0x5b37('0x10a')]){const _0x27e56d=this[_0x5b37('0xe0')](_0xd71dd4,'insertion')[_0x5b37('0x15a')](({meta:_0x854421})=>_0x854421['isOwn']&&!_0x854421[_0x5b37('0x24')]&&!_0x854421[_0x5b37('0xa4')])[_0x5b37('0x43')](({suggestion:_0x2689ac})=>_0x2689ac);_0x1fde1c[_0x5b37('0x6e')](..._0x27e56d);}const _0x54f9f6=new Map([[_0xd71dd4,_0x412111]]);for(const _0x4ea7d5 of _0x1fde1c){const _0x4dcf66=_0x5b37('0x175')==_0x4ea7d5['type']?_0x4ea7d5[_0x5b37('0x3c')]['oldValue']:void 0x0,_0x63b391=_0x4ea7d5[_0x5b37('0xc')](),_0x4b7a4b=Array['from'](_0x54f9f6[_0x5b37('0xff')]())[_0x5b37('0x60')](_0x1855b9=>_0x1855b9['isIntersecting'](_0x63b391));if(!_0x4b7a4b)continue;const _0x4db690=_0x4b7a4b[_0x5b37('0xcc')](_0x63b391);this['_isBlockAttribute'](_0x1509e6)&&_0x5b37('0xd8')==_0x4ea7d5['type']&&0x0!=_0x4db690[_0x5b37('0xdb')]||(_0x54f9f6[_0x5b37('0x56')](_0x4b7a4b),_0x4db690[_0x5b37('0x112')](_0x142c5c=>{_0x54f9f6[_0x5b37('0xc4')](_0x142c5c,_0x412111);}),'insertion'!=_0x4ea7d5['type']&&_0x4dcf66!=_0x104c7f&&_0x54f9f6[_0x5b37('0xc4')](_0x4b7a4b['getIntersection'](_0x63b391),_0x4dcf66));}const _0x13b1b9=[];for(const [_0x23a6ae,_0x576efd]of _0x54f9f6){const _0x3d1a0a=_0x5bc589(),_0x1fa0cd={'key':_0x1509e6,'oldValue':_0x576efd,'newValue':_0x104c7f};_0x1509e6[_0x5b37('0xdb')]>0x25&&console[_0x5b37('0x54')](_0x5b37('0x4f'),{'key':_0x1509e6});const _0x2da820=('attribute:'+(_0x1509e6+'|'+Et({'newValue':_0x104c7f})))[_0x5b37('0x149')](0x0,0x3c),_0x51e75f=this[_0x5b37('0xba')]({'id':_0x3d1a0a,'type':_0x2da820,'data':_0x1fa0cd,'createdAt':new Date(),'authorId':_0x3aa00f,'attributes':_0x545bc9});_0x13b1b9[_0x5b37('0xa1')](_0x51e75f),this[_0x5b37('0x17e')](_0x2da820,_0x3d1a0a,_0x3aa00f,_0x23a6ae);}return _0x13b1b9;}['_registerBlockAttribute'](_0xc4a3c2){this['_blockAttributeKeys'][_0x5b37('0x52')](_0xc4a3c2);}['_registerInlineAttribute'](_0x39a34c){this[_0x5b37('0x167')][_0x5b37('0x52')](_0x39a34c);}[_0x5b37('0xaf')](_0xe1e133,_0x378eb5=[],_0x526f96=[]){this[_0x5b37('0x21')](_0xe1e133,(_0x41c509,..._0x16c6f7)=>{this['_recordAttributeChanges'](()=>{_0x41c509(..._0x16c6f7);});});for(const _0x2fedc7 of _0x378eb5)this[_0x5b37('0x87')](_0x2fedc7);for(const _0x1220f1 of _0x526f96)this[_0x5b37('0x121')](_0x1220f1);}['_setSuggestionRange'](_0x339be0,_0x527556){const _0x15e93c=_0x339be0['getFirstMarker']();this[_0x5b37('0x63')]['change'](_0x4b716d=>{_0x4b716d[_0x5b37('0x31')](_0x15e93c,{'range':_0x527556});});}[_0x5b37('0x1a')](_0x5d2fd1){const _0x1b8f5d=_0x5d2fd1['id'],_0x5bf957=this['editor'][_0x5b37('0xf7')][_0x5b37('0x103')](_0x5b37('0x113'));this[_0x5b37('0x177')][_0x5b37('0x131')](_0x1b8f5d)||this[_0x5b37('0x177')]['addCommentThread']({'channelId':_0x5bf957,'threadId':_0x1b8f5d,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x56744a=this[_0x5b37('0x177')][_0x5b37('0x13e')](_0x1b8f5d);_0x56744a[_0x5b37('0x116')]('isRemovable'),_0x56744a[_0x5b37('0x62')]=!0x1,_0x5d2fd1['commentThread']=_0x56744a;}['_checkSuggestionCorrectness'](_0x13466d,_0x99b432,_0x30aff8,_0x1ffc30){if(_0x13466d[_0x5b37('0x3f')]!=_0x99b432||_0x13466d[_0x5b37('0x13b')]!=_0x30aff8||_0x13466d[_0x5b37('0x162')]['id']!=_0x1ffc30)throw this[_0x5b37('0x101')][_0x5b37('0x133')](_0x5b37('0x27')),new _0x5cf83c(_0x5b37('0x27'),this);}[_0x5b37('0xb0')](_0xafebc6,_0x2502f4){const _0x161e49=_0xafebc6[_0x5b37('0xc')]();if(_0x2502f4[_0x5b37('0x169')](_0x161e49))_0xafebc6[_0x5b37('0xc2')]();else{if(_0x161e49[_0x5b37('0xd3')](_0x2502f4)){const _0x3d909e=this[_0x5b37('0x63')][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0xd7')][_0x5b37('0x176')],'end');this[_0x5b37('0x12a')](_0xafebc6,this[_0x5b37('0x63')]['createRange'](_0x161e49[_0x5b37('0xd7')],_0x3d909e));const _0x3eaa8e=_0x5bc589(),_0x11be35=_0xafebc6[_0x5b37('0x162')]['id'],_0x4af42b=_0xafebc6[_0x5b37('0x3f')]+':'+_0xafebc6['subType'];this[_0x5b37('0xba')]({'id':_0x3eaa8e,'type':_0x4af42b,'createdAt':new Date(),'authorId':_0x11be35,'data':_0xafebc6[_0x5b37('0x3c')],'attributes':_0xafebc6[_0x5b37('0x83')]});const _0x392fa0=this[_0x5b37('0x63')][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0x105')][_0x5b37('0xbd')],_0x5b37('0x12d')),_0x40ea4e=this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x392fa0,_0x161e49[_0x5b37('0x105')]);this['_addSuggestionMarker'](_0x4af42b,_0x3eaa8e,_0x11be35,_0x40ea4e);}else{if(_0x161e49['containsPosition'](_0x2502f4[_0x5b37('0xd7')])){const _0x34e153=this[_0x5b37('0x63')][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0xd7')]['nodeBefore'],_0x5b37('0x105'));this[_0x5b37('0x12a')](_0xafebc6,this[_0x5b37('0x63')]['createRange'](_0x161e49[_0x5b37('0xd7')],_0x34e153));}else{const _0x180209=this['_model'][_0x5b37('0x10b')](_0x2502f4[_0x5b37('0x105')][_0x5b37('0xbd')],_0x5b37('0x12d'));this[_0x5b37('0x12a')](_0xafebc6,this[_0x5b37('0x63')][_0x5b37('0xd6')](_0x180209,_0x161e49[_0x5b37('0x105')]));}}}}[_0x5b37('0x75')](_0x13202d){for(const {suggestion:_0x39e5a9,meta:_0x53d1ba}of this[_0x5b37('0xe0')](_0x13202d,_0x5b37('0xd8'))){if(!_0x53d1ba[_0x5b37('0x86')])continue;const _0x46eb9e=_0x39e5a9[_0x5b37('0x8')]();for(const _0x4a3e98 of _0x46eb9e)if(!_0x13202d['getDifference'](_0x4a3e98)[_0x5b37('0xdb')])return!0x0;}return!0x1;}[_0x5b37('0xad')](_0x557a0c){const _0x5cc1b0=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')]('Users')[_0x5b37('0x15e')](_0x557a0c);if(!_0x5cc1b0)throw new _0x5cf83c(_0x5b37('0xd9'),this);return _0x5cc1b0;}[_0x5b37('0x14e')](_0x84757f){const _0x500b97=this[_0x5b37('0x101')]['plugins'][_0x5b37('0x103')](_0x5b37('0x14')),_0x448ff6=_0x1fc600('external:'+_0x84757f),_0x1636fe=_0x500b97[_0x5b37('0x15e')](_0x448ff6);return _0x1636fe||_0x500b97['addUser']({'id':_0x448ff6,'name':_0x84757f});}['_createSuggestion'](_0x4847b4,_0x5dbd56,_0x111cdb,_0x45747f,_0x4e3b85){const _0x1eae58=this[_0x5b37('0xad')](_0x45747f),_0x28059a=this[_0x5b37('0x100')]['buildSuggestion'](_0x4847b4,_0x5dbd56,_0x111cdb,_0x1eae58,_0x4e3b85,_0x2e45c9=>this[_0x5b37('0x93')](_0x111cdb,{'attributes':_0x2e45c9}));return this['listenTo'](_0x28059a,_0x5b37('0x11d'),()=>{this[_0x5b37('0x93')](_0x111cdb,{'state':_0x5b37('0x98')});},{'priority':_0x5b37('0x35')}),this[_0x5b37('0x70')](_0x28059a,_0x5b37('0x140'),()=>{this[_0x5b37('0x93')](_0x111cdb,{'state':_0x5b37('0x173')});},{'priority':_0x5b37('0x35')}),this[_0x5b37('0x10d')][_0x5b37('0xc4')](_0x111cdb,_0x28059a),this['_suggestionState'][_0x5b37('0xc4')](_0x28059a,_0x5b37('0x92')),_0x28059a;}[_0x5b37('0xe1')](_0x5a404a){const _0xde7500=_0x5a404a[_0x5b37('0xf5')](':');return{'group':_0xde7500[0x0],'type':_0xde7500[0x1],'subType':_0xde7500[_0x5b37('0xdb')]>=0x5?_0xde7500[0x2]:null,'id':_0xde7500[_0x5b37('0xdb')]<0x5?_0xde7500[0x2]:_0xde7500[0x3],'authorId':_0xde7500[_0x5b37('0xdb')]<0x5?_0xde7500[0x3]:_0xde7500[0x4],'markerCount':0x6==_0xde7500[_0x5b37('0xdb')]?_0xde7500[0x5]:null};}['_breakSuggestionMarker'](_0x5a7ae5,_0x2738c6,_0x332d49){const _0x12ef86=_0x5a7ae5[_0x5b37('0xc')](),_0x3fe453=_0x12ef86[_0x5b37('0xd7')],_0x91e84c=_0x12ef86[_0x5b37('0x105')];this[_0x5b37('0x12a')](_0x5a7ae5,this[_0x5b37('0x63')]['createRange'](_0x3fe453,_0x2738c6));const _0x5388df=_0x5bc589(),_0x1eadba=_0x5a7ae5[_0x5b37('0x162')]['id'],_0x31d8ee=_0x5a7ae5[_0x5b37('0x3f')]+(_0x5a7ae5[_0x5b37('0x13b')]?':'+_0x5a7ae5['subType']:'');this[_0x5b37('0xba')]({'id':_0x5388df,'type':_0x31d8ee,'createdAt':new Date(),'authorId':_0x1eadba,'originalSuggestionId':_0x5a7ae5['id'],'attributes':_0x5a7ae5[_0x5b37('0x83')],'data':_0x5a7ae5[_0x5b37('0x3c')]});const _0x42181c=Pt(_0x5a7ae5);(_0x5b37('0x6b')==_0x5a7ae5['type']||_0x42181c&&this[_0x5b37('0xea')](_0x42181c))&&(_0x332d49=this[_0x5b37('0x63')][_0x5b37('0x18')](_0x332d49[_0x5b37('0xbd')])),this[_0x5b37('0x17e')](_0x31d8ee,_0x5388df,_0x1eadba,this['_model']['createRange'](_0x332d49,_0x91e84c));}[_0x5b37('0xe0')](_0x4297d1,_0x290c3d=null){const _0x21a608=[],_0x21b59e=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x14'))['me'];Array[_0x5b37('0x14f')](_0x4297d1)||(_0x4297d1=[_0x4297d1]);for(const _0x1fbea8 of this[_0x5b37('0x14a')]()){if(!_0x1fbea8['isInContent'])continue;if(_0x290c3d&&_0x1fbea8[_0x5b37('0x3f')]!=_0x290c3d)continue;let _0x5bb0d8=!0x1;for(const _0x35a9b2 of _0x1fbea8['getRanges']()){for(const _0x519732 of _0x4297d1){const _0x6b00cf=_0x519732[_0x5b37('0xd7')][_0x5b37('0x169')](_0x35a9b2[_0x5b37('0x105')])||_0x519732['end'][_0x5b37('0x169')](_0x35a9b2[_0x5b37('0xd7')]);if(_0x6b00cf||_0x519732['getIntersection'](_0x35a9b2)){const _0x46d555=_0x519732[_0x5b37('0xd3')](_0x35a9b2)&&Bt(this['_model'][_0x5b37('0x37')],_0x35a9b2[_0x5b37('0xd7')],_0x519732),_0x3b3d76=_0x35a9b2['containsRange'](_0x519732)&&Bt(this[_0x5b37('0x63')][_0x5b37('0x37')],_0x519732[_0x5b37('0xd7')],_0x35a9b2);_0x21a608[_0x5b37('0xa1')]({'suggestion':_0x1fbea8,'meta':{'isOwn':_0x21b59e==_0x1fbea8[_0x5b37('0x30')],'isNextTo':_0x6b00cf,'isInsideObject':_0x46d555,'containsRangeInObject':_0x3b3d76}}),_0x5bb0d8=!0x0;break;}}if(_0x5bb0d8)break;}}return _0x21a608;}[_0x5b37('0x17e')](_0x35579b,_0xcd1235,_0x38f526,_0x5d75b1,_0x116123){this[_0x5b37('0x63')][_0x5b37('0x156')](_0x4c3db8=>{let _0x175fb5='suggestion:'+_0x35579b+':'+_0xcd1235+':'+_0x38f526;_0x116123&&(_0x175fb5=_0x175fb5+':'+_0x116123),_0x4c3db8[_0x5b37('0xa')](_0x175fb5,{'range':_0x5d75b1,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5b37('0x50')](_0x2e11b2){const _0xed02c5=_0x2e11b2[_0x5b37('0x5d')],_0x48ff4d=_0x2e11b2['next'];_0x2e11b2['previous']=null,_0x2e11b2[_0x5b37('0x16c')]=null,null!=_0xed02c5&&(_0xed02c5['next']=_0x48ff4d),null!=_0x48ff4d&&(_0x48ff4d[_0x5b37('0x5d')]=_0xed02c5),'ready'==this['_suggestionState']['get'](_0x2e11b2)&&(this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x2e11b2,'removed'),this[_0x5b37('0x9c')]('suggestionUnloaded',_0x2e11b2,_0xed02c5,_0x48ff4d));}[_0x5b37('0xba')](_0x568e3a){const _0x3bda69=_0x568e3a['id'],_0x59aa68=this[_0x5b37('0xac')](_0x568e3a);if(this['_adapter']&&this['_adapter'][_0x5b37('0x4')]){const _0x2e9f69=this[_0x5b37('0x101')]['plugins'][_0x5b37('0x103')]('PendingActions'),_0x3cbceb=_0x59aa68[_0x5b37('0x8f')],_0x38672f=_0x59aa68['subType']?_0x59aa68[_0x5b37('0x3f')]+':'+_0x59aa68[_0x5b37('0x13b')]:_0x59aa68['type'],_0x4c11ce=this[_0x5b37('0x101')][_0x5b37('0x159')],_0x238cf8=_0x2e9f69[_0x5b37('0x52')](_0x2226ce(_0x4c11ce,_0x5b37('0x8d'))),_0x2d4ce1={'id':_0x3bda69,'type':_0x38672f,'hasComments':_0x3cbceb,'data':_0x568e3a[_0x5b37('0x3c')]||null,'originalSuggestionId':_0x568e3a[_0x5b37('0xa3')]||null,'attributes':_0x59aa68[_0x5b37('0x83')]};this['_adapter'][_0x5b37('0x4')](_0x2d4ce1)['then'](_0x8d7b06=>{_0x59aa68[_0x5b37('0x53')]=!0x0,_0x2e9f69[_0x5b37('0x155')](_0x238cf8),_0x8d7b06&&_0x8d7b06[_0x5b37('0x146')]&&(this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x3bda69)[_0x5b37('0x146')]=_0x8d7b06[_0x5b37('0x146')]);})[_0x5b37('0x16a')](_0xd2a9ac=>{throw _0x377b20(_0x5b37('0xa2')),this[_0x5b37('0x101')][_0x5b37('0x7e')][_0x5b37('0xe8')]({'isUndoable':!0x1},()=>{_0x59aa68[_0x5b37('0x140')]();}),_0x59aa68[_0x5b37('0x128')](),this[_0x5b37('0x10d')]['delete'](_0x59aa68['id']),this['_suggestionState']['delete'](_0x59aa68),_0xd2a9ac;});}return _0x59aa68;}[_0x5b37('0xea')](_0x114187){return this[_0x5b37('0xef')][_0x5b37('0x57')](_0x114187);}[_0x5b37('0x93')](_0x1a0482,_0x4c8187){const _0x4fc1bb=this[_0x5b37('0x101')][_0x5b37('0xe3')][_0x5b37('0x103')](_0x5b37('0x158')),_0x3d891b=this[_0x5b37('0xd')](_0x1a0482);if(this[_0x5b37('0x168')]&&this[_0x5b37('0x168')][_0x5b37('0xf8')]){if(_0x3d891b['_saved']){const _0x23852e=_0x4fc1bb['add'](_0x2226ce(this[_0x5b37('0x101')][_0x5b37('0x159')],_0x5b37('0x8d')));this[_0x5b37('0x168')][_0x5b37('0xf8')](_0x1a0482,_0x4c8187)[_0x5b37('0x49')](()=>{_0x4fc1bb[_0x5b37('0x155')](_0x23852e);});}else _0x3d891b['on'](_0x5b37('0x71'),()=>{this[_0x5b37('0x93')](_0x1a0482,_0x4c8187);});}}[_0x5b37('0x145')](_0x2beee0){if(!this[_0x5b37('0x168')]||!this[_0x5b37('0x168')]['getSuggestion'])throw new _0x5cf83c(_0x5b37('0xb3'),this);return this['_adapter'][_0x5b37('0xd')](_0x2beee0);}[_0x5b37('0xa9')](_0x1aa784){const {id:_0x8863f3,type:_0x8285ad,subType:_0x54b8a3,authorId:_0xb9bd90}=this['_splitMarkerName'](_0x1aa784),_0x191945=this[_0x5b37('0x10d')][_0x5b37('0x103')](_0x8863f3)||this[_0x5b37('0x11a')](_0x8285ad,_0x54b8a3,_0x8863f3,_0xb9bd90,{});switch(this['_checkSuggestionCorrectness'](_0x191945,_0x8285ad,_0x54b8a3,_0xb9bd90),this[_0x5b37('0x144')][_0x5b37('0x103')](_0x191945)){case _0x5b37('0x92'):this['_getSuggestionData'](_0x8863f3)[_0x5b37('0x49')](_0x54250a=>{let _0x41957c=Promise[_0x5b37('0xc0')]();_0x54250a[_0x5b37('0x8f')]&&(_0x41957c=this[_0x5b37('0x177')][_0x5b37('0x7f')]({'channelId':this[_0x5b37('0x101')][_0x5b37('0xf7')][_0x5b37('0x103')]('collaboration.channelId'),'threadId':_0x8863f3})),_0x41957c['then'](()=>{this[_0x5b37('0xac')](_0x54250a)[_0x5b37('0x53')]=!0x0;});}),this[_0x5b37('0x144')]['set'](_0x191945,_0x5b37('0x1f'));break;case _0x5b37('0x99'):this[_0x5b37('0x93')](_0x8863f3,{'state':_0x5b37('0x179')});case'dataReady':this[_0x5b37('0x144')][_0x5b37('0xc4')](_0x191945,_0x5b37('0x58')),this['fire'](_0x5b37('0x172'),_0x191945);break;case _0x5b37('0x58'):this[_0x5b37('0x9c')](_0x5b37('0xec'),_0x191945);}return _0x191945[_0x5b37('0xe2')](_0x1aa784),_0x191945;}['_refreshSuggestionsChain'](_0x4c1ef4){const _0x2c8d85=Array[_0x5b37('0x8b')](_0x4c1ef4),_0x554723=_0x2c8d85['filter'](_0x49b661=>_0x5b37('0x175')==_0x49b661[_0x5b37('0x3f')]);this[_0x5b37('0x136')](_0x554723);const _0x396f5d=_0x2c8d85[_0x5b37('0x15a')](_0x32b5a1=>!_0x32b5a1[_0x5b37('0xbb')]&&_0x5b37('0x175')!=_0x32b5a1[_0x5b37('0x3f')]),_0x4d5cf5=this[_0x5b37('0x14a')]({'skipNotAttached':!0x0})[_0x5b37('0x15a')](_0x2454bb=>!_0x2454bb['isMultiRange']&&_0x5b37('0x175')!=_0x2454bb[_0x5b37('0x3f')]),_0x549e1d=_0x4d5cf5[_0x5b37('0x15a')](_0x3af18d=>!_0x4c1ef4[_0x5b37('0x57')](_0x3af18d)),_0x3e58c1=new Map(_0x4d5cf5[_0x5b37('0x43')](_0x35b68a=>[_0x35b68a,this[_0x5b37('0x100')][_0x5b37('0x123')](_0x35b68a[_0x5b37('0x3f')],_0x35b68a[_0x5b37('0x13b')],_0x5b37('0x16d'))])),_0x1db18a=new Map(_0x4d5cf5[_0x5b37('0x43')](_0x10f045=>[_0x10f045,_0x10f045[_0x5b37('0xc')]()])),_0x522232=new Set(),_0x46d703=new Set();for(let _0x550628=0x0;_0x550628<_0x396f5d[_0x5b37('0xdb')];_0x550628++)_0x1e983e(_0x396f5d[_0x550628],_0x396f5d,_0x550628+0x1);for(let _0x1a8b45=0x0;_0x1a8b45<_0x396f5d['length'];_0x1a8b45++)_0x1e983e(_0x396f5d[_0x1a8b45],_0x549e1d,0x0);const _0x363935=new Set();for(let _0xb79ed1=0x0;_0xb79ed1<_0x396f5d[_0x5b37('0xdb')];_0xb79ed1++){const _0x292f2f=_0x396f5d[_0xb79ed1];!_0x46d703[_0x5b37('0x57')](_0x292f2f)&&_0x292f2f[_0x5b37('0x5d')]&&(_0x363935[_0x5b37('0x52')](_0x292f2f['previous']),_0x292f2f['previous'][_0x5b37('0x16c')]===_0x292f2f&&(_0x292f2f[_0x5b37('0x5d')][_0x5b37('0x16c')]=null),_0x292f2f['previous']=null),!_0x522232[_0x5b37('0x57')](_0x292f2f)&&_0x292f2f[_0x5b37('0x16c')]&&(_0x363935[_0x5b37('0x52')](_0x292f2f[_0x5b37('0x16c')]),_0x292f2f[_0x5b37('0x16c')][_0x5b37('0x5d')]===_0x292f2f&&(_0x292f2f[_0x5b37('0x16c')]['previous']=null),_0x292f2f['next']=null);}function _0x1e983e(_0x102aaf,_0x4cd5e4,_0x44d324){for(let _0x2c50a9=_0x44d324;_0x2c50a9<_0x4cd5e4['length'];_0x2c50a9++){const _0x522b70=_0xecb452(_0x102aaf,_0x4cd5e4[_0x2c50a9]);_0x522b70&&(_0x522b70[0x0][_0x5b37('0x16c')]=_0x522b70[0x1],_0x522b70[0x1]['previous']=_0x522b70[0x0],_0x522232[_0x5b37('0x52')](_0x522b70[0x0]),_0x46d703[_0x5b37('0x52')](_0x522b70[0x1]));}}function _0xecb452(_0x65dd9b,_0x39bd66){if(_0x65dd9b[_0x5b37('0x30')]['id']!==_0x39bd66[_0x5b37('0x30')]['id'])return null;const _0x3c6d36=_0x3e58c1[_0x5b37('0x103')](_0x65dd9b)(_0x65dd9b,_0x39bd66,_0x1db18a[_0x5b37('0x103')](_0x65dd9b),_0x1db18a[_0x5b37('0x103')](_0x39bd66));if(!_0x3c6d36)return null;return _0x3e58c1[_0x5b37('0x103')](_0x39bd66)(_0x65dd9b,_0x39bd66,_0x1db18a[_0x5b37('0x103')](_0x65dd9b),_0x1db18a[_0x5b37('0x103')](_0x39bd66))?_0x3c6d36[0x1][_0x5b37('0xfa')]&&_0x3c6d36[0x1][_0x5b37('0xfa')][_0x5b37('0xdb')]?null:_0x3c6d36:null;}_0x363935[_0x5b37('0x5a')]&&this[_0x5b37('0x139')](_0x363935);}[_0x5b37('0x136')](_0x34db67){if(0x0==_0x34db67['length'])return;const _0x5591ba=this['getSuggestions']({'skipNotAttached':!0x0})[_0x5b37('0x15a')](_0x574091=>_0x5b37('0x175')==_0x574091[_0x5b37('0x3f')]&&_0x574091[_0x5b37('0x106')]),_0x241e88=[],_0x2545b1=new Map();for(const _0x2981c2 of _0x5591ba){const _0x336dfb=_0x1fc600(_0x2981c2[_0x5b37('0x83')]);_0x2545b1[_0x5b37('0x57')](_0x336dfb)||(_0x2545b1['set'](_0x336dfb,_0x241e88[_0x5b37('0xdb')]),_0x241e88['push']([]));const _0x45dd5e=_0x2545b1[_0x5b37('0x103')](_0x336dfb);_0x241e88[_0x45dd5e]['push'](_0x2981c2);}!function(){_0x241e88[_0x5b37('0xc8')]((_0x1d498d,_0x34f8cc)=>{const _0x45bafb=_0x1d498d[0x0]['createdAt'],_0x3c7a38=_0x34f8cc[0x0][_0x5b37('0x146')];return _0x45bafb==_0x3c7a38?_0x1d498d[0x0][_0x5b37('0x83')]['groupId']<_0x34f8cc[0x0][_0x5b37('0x83')][_0x5b37('0x115')]?-0x1:0x1:_0x45bafb<_0x3c7a38?-0x1:0x1;});for(const _0x328efa of _0x241e88)_0x328efa['sort']((_0x561843,_0x59c121)=>_0x561843['id']<_0x59c121['id']?-0x1:0x1);}();for(let _0x4d9ec3=0x0;_0x4d9ec3<_0x241e88[_0x5b37('0xdb')];_0x4d9ec3++){if(0x0==_0x241e88[_0x4d9ec3][_0x5b37('0xdb')])continue;const _0x9f9e2e=[];for(let _0x3b37f0=_0x4d9ec3+0x1;_0x3b37f0<_0x241e88[_0x5b37('0xdb')];_0x3b37f0++)0x0!=_0x241e88[_0x3b37f0]['length']&&_0x20663b(_0x241e88[_0x4d9ec3],_0x241e88[_0x3b37f0])&&_0x9f9e2e[_0x5b37('0xa1')](_0x3b37f0);for(const _0x3c1e98 of _0x9f9e2e)_0x241e88[_0x4d9ec3]=_0x241e88[_0x4d9ec3][_0x5b37('0x90')](_0x241e88[_0x3c1e98]),_0x241e88[_0x3c1e98]=[];}for(const _0x57f220 of _0x241e88)for(let _0x1edcf5=0x0;_0x1edcf5<_0x57f220[_0x5b37('0xdb')];_0x1edcf5++)_0x57f220[_0x1edcf5][_0x5b37('0x16c')]=_0x57f220[_0x1edcf5+0x1]||null;for(const _0x2111c6 of _0x241e88)for(let _0x27d0a5=0x0;_0x27d0a5<_0x2111c6['length'];_0x27d0a5++)_0x2111c6[_0x27d0a5]['previous']=_0x2111c6[_0x27d0a5-0x1]||null;function _0x20663b(_0x4a4e26,_0x1ed0ac){if(_0x4a4e26[0x0]['author']!==_0x1ed0ac[0x0][_0x5b37('0x30')])return!0x1;if(!function(_0xf0d680,_0x114bfb){if(!_0xf0d680[_0x5b37('0x8f')]&&!_0x114bfb['hasComments'])return!0x0;if(_0xf0d680[_0x5b37('0x8f')]&&_0x114bfb[_0x5b37('0x8f')])return!0x1;if(_0xf0d680[_0x5b37('0x8f')]&&_0x114bfb['createdAt']<_0xf0d680['commentThread'][_0x5b37('0x3e')][_0x5b37('0x103')](0x0)[_0x5b37('0x146')])return!0x0;if(_0x114bfb[_0x5b37('0x8f')]&&_0xf0d680[_0x5b37('0x146')]<_0x114bfb[_0x5b37('0xfa')][_0x5b37('0x3e')][_0x5b37('0x103')](0x0)[_0x5b37('0x146')])return!0x0;return!0x1;}(_0x4a4e26[0x0],_0x1ed0ac[0x0]))return!0x1;const _0x3e065d=_0x237c40(_0x4a4e26[0x0][_0x5b37('0x83')],_0x5b37('0x115')),_0x40ddf5=_0x237c40(_0x1ed0ac[0x0][_0x5b37('0x83')],_0x5b37('0x115'));if(!_0x1587e8(_0x3e065d,_0x40ddf5))return!0x1;return!!_0x4a4e26[_0x5b37('0x11e')](_0x1b4230=>_0x1ed0ac[_0x5b37('0x84')](_0x531a60=>_0x1b4230[_0x5b37('0xc')]()['isEqual'](_0x531a60[_0x5b37('0xc')]())))&&_0x1ed0ac[_0x5b37('0x11e')](_0x6079c9=>_0x4a4e26[_0x5b37('0x84')](_0x12f6ce=>_0x6079c9[_0x5b37('0xc')]()[_0x5b37('0x169')](_0x12f6ce[_0x5b37('0xc')]())));}}['_joinWithAdjacentSuggestions'](_0x2a8872){const _0x2d3d26=Array[_0x5b37('0x8b')](_0x2a8872),_0xff0f8f=this['getSuggestions']({'skipNotAttached':!0x0}),_0xe59993=_0xff0f8f['filter'](_0x4da944=>!_0x2a8872['has'](_0x4da944)),_0x4a3b35=new Map(_0x2d3d26[_0x5b37('0x43')](_0x175b07=>[_0x175b07,this['_suggestionFactory'][_0x5b37('0x123')](_0x175b07['type'],_0x175b07[_0x5b37('0x13b')],_0x5b37('0x2e'))])),_0x7aa538=new Map(_0xff0f8f['map'](_0x9febce=>[_0x9febce,_0x9febce[_0x5b37('0x8')]()]));for(let _0x4b4c06=0x0;_0x4b4c06<_0x2d3d26['length'];_0x4b4c06++){if(_0x5798ad(this,_0x2d3d26[_0x4b4c06],_0x2d3d26,_0x4b4c06+0x1))return!0x0;}for(let _0x470db7=0x0;_0x470db7<_0x2d3d26[_0x5b37('0xdb')];_0x470db7++){if(_0x5798ad(this,_0x2d3d26[_0x470db7],_0xe59993,0x0))return!0x0;}return!0x1;function _0x5798ad(_0x3239f2,_0x321a87,_0x38ec8a,_0x2ae31c){for(let _0x196eec=_0x2ae31c;_0x196eec<_0x38ec8a[_0x5b37('0xdb')];_0x196eec++){const _0x370e26=_0x38ec8a[_0x196eec];if(_0x370e26[_0x5b37('0x3f')]!==_0x321a87['type']||_0x370e26[_0x5b37('0x30')]['id']!==_0x321a87[_0x5b37('0x30')]['id']||_0x370e26[_0x5b37('0x13b')]!==_0x321a87[_0x5b37('0x13b')])continue;if(!Vt(_0x321a87,_0x370e26))continue;if(_0x5b37('0x175')==_0x321a87['type']&&_0x321a87['data']['oldValue']!=_0x370e26['data'][_0x5b37('0x36')])continue;if(_0x5b37('0x175')==_0x321a87['type']&&_0x3239f2[_0x5b37('0xea')](_0x321a87[_0x5b37('0x3c')][_0x5b37('0x129')]))continue;if(_0x5b37('0x6b')==_0x321a87[_0x5b37('0x3f')]){const _0x5dec7e=_0x3239f2[_0x5b37('0x101')][_0x5b37('0x7e')],_0x25cb5c=_0x321a87[_0x5b37('0x26')]();if(_0x25cb5c&&(_0x5dec7e[_0x5b37('0x37')][_0x5b37('0x1c')](_0x25cb5c)||_0x5dec7e[_0x5b37('0x37')][_0x5b37('0x4e')](_0x25cb5c)))continue;}const _0x139b34=_0x4a3b35[_0x5b37('0x103')](_0x321a87),_0x1e17d6=_0x7aa538[_0x5b37('0x103')](_0x321a87),_0x308ecf=_0x7aa538[_0x5b37('0x103')](_0x370e26),_0x9cf226=_0x321a87[_0x5b37('0xfa')]&&_0x321a87[_0x5b37('0xfa')][_0x5b37('0xdb')],_0x54e43d=_0x370e26[_0x5b37('0xfa')]&&_0x370e26['commentThread']['length'];if(!_0x9cf226&&_0x139b34(_0x308ecf,_0x1e17d6))return _0x3239f2[_0x5b37('0xe6')](_0x370e26,_0x321a87),_0x7aa538[_0x5b37('0x56')](_0x321a87),!0x0;if(!_0x54e43d&&_0x139b34(_0x1e17d6,_0x308ecf))return _0x3239f2[_0x5b37('0xe6')](_0x321a87,_0x370e26),_0x7aa538[_0x5b37('0x56')](_0x370e26),!0x0;}return!0x1;}}[_0x5b37('0xe6')](_0xdae155,_0x16056){if(_0xdae155[_0x5b37('0xbb')])for(const _0x489d23 of _0x16056[_0x5b37('0x8')]())_0xdae155[_0x5b37('0x2b')](_0x489d23);else{const _0xadde22=_0x16056[_0x5b37('0xc')]()[_0x5b37('0x105')];this['_setSuggestionRange'](_0xdae155,this[_0x5b37('0x63')]['createRange'](_0xdae155[_0x5b37('0xc')]()[_0x5b37('0xd7')],_0xadde22));}_0x16056[_0x5b37('0xc2')]();}[_0x5b37('0x164')](_0x4f3baf,_0xd4e1bc){const _0x5ad07e=_0x4f3baf[_0x5b37('0x80')](_0x5b37('0x13c'))||_0x4f3baf[_0x5b37('0x80')](_0x5b37('0x175'))?_0x5b37('0x95'):_0x4f3baf['toUpperCase']();return _0x2226ce(this[_0x5b37('0x101')][_0x5b37('0x159')],_0xd4e1bc+'_'+_0x5ad07e+_0x5b37('0xbf'));}[_0x5b37('0x25')](){const _0x5271c9=this[_0x5b37('0x101')];_0x3fa9ec(this['_model'],({left:_0x4bf178,entered:_0x40eddf})=>{const _0x16124b=[];for(const _0xdfcd0b of _0x4bf178){const {group:_0x3f42a5,type:_0x57acda}=this[_0x5b37('0xe1')](_0xdfcd0b[_0x5b37('0x3a')]);if(_0x5b37('0xc3')===_0x3f42a5){_0x16124b[_0x5b37('0xa1')](this['_getMarkerAnnouncementText'](_0x57acda,'LEAVE'));break;}}for(const _0x7c1086 of _0x40eddf){const {group:_0x459d3c,type:_0x560a41}=this[_0x5b37('0xe1')](_0x7c1086[_0x5b37('0x3a')]);if(_0x5b37('0xc3')===_0x459d3c){_0x16124b[_0x5b37('0xa1')](this['_getMarkerAnnouncementText'](_0x560a41,_0x5b37('0x9a')));break;}}_0x16124b['length']&&_0x5271c9['ui'][_0x5b37('0x34')][_0x5b37('0x141')](_0x5b37('0xc1'),_0x16124b[_0x5b37('0x2e')]('\x20'));});}[_0x5b37('0xcf')](_0x37d2a7){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x55f218=this[_0x5b37('0x101')],_0xc88c57=_0x55f218[_0x5b37('0x7e')]['document'][_0x5b37('0x12c')][_0x5b37('0xf2')]();if(0x0==_0xc88c57[_0x5b37('0xdb')])return!0x1;const _0x574d47=[],_0x24984d=_0xc88c57[_0x5b37('0x15a')](_0x3aebc5=>_0x5b37('0x175')==_0x3aebc5[_0x5b37('0x3f')]),_0x2c3053=_0xc88c57[_0x5b37('0x15a')](_0x251fdc=>'insert'==_0x251fdc[_0x5b37('0x3f')]&&_0x5b37('0x11')!=_0x251fdc['name']),_0x3d5d7a=_0xc88c57[_0x5b37('0x15a')](_0x35f06e=>_0x5b37('0x155')==_0x35f06e[_0x5b37('0x3f')]&&_0x5b37('0x11')!=_0x35f06e[_0x5b37('0x3a')]);for(const _0x11de76 of _0x24984d)_0x574d47['push']({'key':_0x11de76[_0x5b37('0x125')],'newValue':_0x11de76[_0x5b37('0xfc')],'oldValue':_0x11de76[_0x5b37('0x10f')],'range':_0x5a0880(_0x11de76[_0x5b37('0xa8')])});for(const _0x442559 of _0x2c3053){const _0x18dca8=_0x3d5d7a[_0x5b37('0x60')](_0x4fe30d=>_0x4fe30d['position'][_0x5b37('0x169')](_0x442559['position']));_0x18dca8&&_0x574d47[_0x5b37('0xa1')]({'key':'$elementName','newValue':_0x442559[_0x5b37('0x3a')],'oldValue':_0x18dca8[_0x5b37('0x3a')],'range':_0x55f218['model'][_0x5b37('0x171')](_0x442559['position'][_0x5b37('0x165')])});}return 0x0!=_0x574d47['length']&&this['_reduceExistingSuggestions'](_0x37d2a7,_0x574d47);function _0x5a0880(_0x4f4fcf){return null==_0x4f4fcf[_0x5b37('0x105')]['nodeBefore']&&_0x4f4fcf['end'][_0x5b37('0xbd')]==_0x4f4fcf['start'][_0x5b37('0x165')]?Ut(_0x4f4fcf['start']['nodeAfter'],_0x55f218[_0x5b37('0x7e')]):_0x4f4fcf;}}['_processAttributeSuggestions'](_0x5333e1){let _0x2485cb=!0x1;const _0x431086=this[_0x5b37('0x101')][_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x12c')][_0x5b37('0x55')]()[_0x5b37('0x15a')](_0x2118ff=>_0x2118ff[_0x5b37('0x3c')]['newRange']&&_0x2118ff[_0x5b37('0x3a')][_0x5b37('0x80')]('suggestion:attribute:'));for(const _0x39c1c0 of _0x431086){const {subType:_0x472527,id:_0x354e22}=this['_splitMarkerName'](_0x39c1c0[_0x5b37('0x3a')]),_0x48f430=_0x472527[_0x5b37('0xf5')]('|')[0x0];for(const _0x1fb9b8 of this[_0x5b37('0x14a')]({'skipNotAttached':!0x0}))_0x1fb9b8['id']!=_0x354e22&&_0x5b37('0x175')==_0x1fb9b8[_0x5b37('0x3f')]&&_0x1fb9b8[_0x5b37('0x3c')]&&_0x1fb9b8[_0x5b37('0x3c')][_0x5b37('0x129')]==_0x48f430&&_0x1fb9b8[_0x5b37('0xc')]()[_0x5b37('0xde')](_0x39c1c0[_0x5b37('0x3c')][_0x5b37('0xbc')])&&(this[_0x5b37('0xe')](_0x1fb9b8,_0x39c1c0[_0x5b37('0x3c')][_0x5b37('0xbc')],_0x5333e1),_0x2485cb=!0x0);}return _0x2485cb;}[_0x5b37('0x4a')](_0x5d5584){if(null!==this[_0x5b37('0x16')])return void _0x5d5584();const _0x17d5b2=this[_0x5b37('0x101')];this[_0x5b37('0x16')]=_0x17d5b2['model']['document'][_0x5b37('0x14d')],_0x5d5584();const _0x1ea7db=new Map();for(const _0x3577b3 of _0x17d5b2[_0x5b37('0x7e')][_0x5b37('0x7a')][_0x5b37('0x2')][_0x5b37('0x111')](this[_0x5b37('0x16')]))if([_0x5b37('0x161'),_0x5b37('0xc5'),'removeAttribute',_0x5b37('0xee')][_0x5b37('0xc7')](_0x3577b3['type'])){const _0xa5cc90=_0x3577b3[_0x5b37('0x51')],_0x334010=_0x1ea7db[_0x5b37('0x103')](_0xa5cc90)||[];_0x334010[_0x5b37('0xa1')](_0x3577b3),_0x1ea7db[_0x5b37('0xc4')](_0xa5cc90,_0x334010);}this[_0x5b37('0x16')]=null;for(const [_0x431dc2,_0x24bcd8]of _0x1ea7db){const _0x151f61=_0x5bc589();_0x17d5b2[_0x5b37('0x7e')]['enqueueChange'](_0x431dc2,_0x11bace=>{const _0x553a7e=[];for(const _0x11363a of _0x24bcd8){let _0x317f9d,_0x33f688,_0x425bdc,_0x3054ec;if('rename'==_0x11363a[_0x5b37('0x3f')]){const _0x272f04=_0x11363a;_0x317f9d=Ut(_0x272f04[_0x5b37('0xfb')]['nodeAfter'],_0x17d5b2[_0x5b37('0x7e')]),_0x33f688=_0x5b37('0x153'),_0x425bdc=_0x272f04['newName'],_0x3054ec=_0x272f04[_0x5b37('0x117')];}else{const _0x89bb9a=_0x11363a,_0x3d95bf=this[_0x5b37('0xea')](_0x89bb9a[_0x5b37('0x129')]),_0x4acf44=this[_0x5b37('0x167')]['has'](_0x89bb9a[_0x5b37('0x129')]);if(!_0x3d95bf&&!_0x4acf44)continue;_0x317f9d=_0x3d95bf?Ut(_0x89bb9a[_0x5b37('0xa8')][_0x5b37('0xd7')][_0x5b37('0x165')],_0x17d5b2[_0x5b37('0x7e')]):_0x89bb9a['range'],_0x33f688=_0x89bb9a[_0x5b37('0x129')],_0x425bdc=_0x5b37('0x7b')==_0x11363a[_0x5b37('0x3f')]?void 0x0:_0x89bb9a['newValue'],_0x3054ec=_0x89bb9a[_0x5b37('0x36')];}this[_0x5b37('0xb')](_0x317f9d,_0x33f688,_0x3054ec,_0x425bdc,{'groupId':_0x151f61}),_0x553a7e[_0x5b37('0xa1')]({'range':_0x317f9d,'key':_0x33f688,'newValue':_0x425bdc,'oldValue':_0x3054ec});}this[_0x5b37('0xf4')](_0x11bace,_0x553a7e);});}}[_0x5b37('0xf4')](_0x18bd91,_0x412da9){if(0x0==_0x412da9[_0x5b37('0xdb')])return!0x1;let _0x120cb9=!0x1;for(const _0x3a3afb of _0x412da9){const _0x23a935=this[_0x5b37('0xe0')](_0x3a3afb['range'],_0x5b37('0x175'))['filter'](_0x202de7=>!_0x202de7[_0x5b37('0x5f')][_0x5b37('0xa4')])[_0x5b37('0x43')](_0x12fd7a=>_0x12fd7a[_0x5b37('0xc3')]),_0x377e55=_0x1fc600({'newValue':_0x3a3afb[_0x5b37('0x147')]});_0x23a935[_0x5b37('0x15a')](_0x3bd93c=>{const [_0x1a9880,_0x504179]=_0x3bd93c['subType']['split']('|');return _0x1a9880==_0x3a3afb['key']&&_0x504179!=_0x377e55;})[_0x5b37('0x112')](_0x1ff935=>{this['_reduceSuggestionAttributeRange'](_0x1ff935,_0x3a3afb['range'],_0x18bd91),_0x120cb9=!0x0;});}return _0x120cb9;}[_0x5b37('0xe')](_0x4d6ae4,_0x45808f,_0x4d9cc9){const _0x1f1ba1=_0x4d6ae4['getFirstRange']()['getDifference'](_0x45808f);0x0!==_0x1f1ba1[_0x5b37('0xdb')]?0x1!==_0x1f1ba1[_0x5b37('0xdb')]?this['_breakSuggestionMarker'](_0x4d6ae4,_0x45808f[_0x5b37('0xd7')],_0x45808f[_0x5b37('0x105')]):this[_0x5b37('0x12a')](_0x4d6ae4,_0x1f1ba1[0x0]):_0x4d9cc9[_0x5b37('0x151')](_0x4d6ae4[_0x5b37('0x5b')]());}}class $t{constructor(_0x12f662){this[_0x5b37('0x14b')]=_0x12f662,this[_0x5b37('0x63')]=_0x12f662[_0x5b37('0x7e')],this[_0x5b37('0x3d')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x5b37('0x6c')]();}[_0x5b37('0x15')](_0x17cdfd,_0x4de3e8,_0x2c2e54,_0x1c8577,_0x4d887c,_0xe9b8a4){return new _0x578a9e(this[_0x5b37('0x63')],{'type':_0x17cdfd,'subType':_0x4de3e8,'id':_0x2c2e54,'author':_0x1c8577,'creator':_0x1c8577,'attributes':_0x4d887c,'onAttributesChange':_0xe9b8a4,'onAccept':(..._0xce54fb)=>this['getSuggestionCallback'](_0x17cdfd,_0x4de3e8,'accept')(..._0xce54fb),'onDiscard':(..._0x4ee1bf)=>this[_0x5b37('0x123')](_0x17cdfd,_0x4de3e8,'discard')(..._0x4ee1bf)});}[_0x5b37('0x16f')](_0x12a325,_0x53b16d,_0x2c96a7,_0x2bec98){const _0x41b896=_0x12a325+':'+_0x53b16d+':'+_0x2c96a7;this[_0x5b37('0x3d')][_0x5b37('0xc4')](_0x41b896,_0x2bec98);}['getSuggestionCallback'](_0x56e638,_0xab07b3,_0x3f7095){const _0x20456b=_0x56e638+':'+_0xab07b3+':'+_0x3f7095;return this[_0x5b37('0x3d')][_0x5b37('0x103')](_0x20456b)||this[_0x5b37('0x82')][_0x5b37('0x103')](_0x56e638+':'+_0x3f7095);}[_0x5b37('0x6c')](){const _0x3264e3=()=>!0x1,_0x50560f=_0x560434=>{_0x560434[_0x5b37('0xc8')]((_0x2c88e3,_0x479c43)=>_0x2c88e3[_0x5b37('0xd7')]['isBefore'](_0x479c43[_0x5b37('0xd7')])?0x1:-0x1),this[_0x5b37('0x63')][_0x5b37('0x156')](_0x421403=>{for(const _0x2003b1 of _0x560434){let _0x4745b6;_0x4745b6=_0x2003b1['end'][_0x5b37('0x2a')]&&_0x2003b1['end'][_0x5b37('0xbd')]==_0x2003b1[_0x5b37('0xd7')][_0x5b37('0x165')]?_0x421403['createSelection'](_0x2003b1['start'][_0x5b37('0x165')],'on'):_0x421403[_0x5b37('0x14c')](_0x2003b1),this[_0x5b37('0x63')]['deleteContent'](_0x4745b6,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x332779=(_0x4f0650,_0x20cce5)=>{_0x20cce5&&this[_0x5b37('0x63')]['change'](_0x4b9e2b=>{const {commandName:_0x3f1857,commandParams:_0xbaee4a=[]}=_0x20cce5,_0x129daf=_0x4f0650[_0x5b37('0x43')](_0x2dd871=>(Tt(_0x2dd871)&&(_0x2dd871=this['_model'][_0x5b37('0xd6')](_0x2dd871[_0x5b37('0x105')])),_0x2dd871))[_0x5b37('0x15a')](_0x37ea9a=>'$graveyard'!==_0x37ea9a['root'][_0x5b37('0xf1')]);if(_0x129daf[_0x5b37('0xdb')]<0x1)return;const _0x344457=Array[_0x5b37('0x8b')](this[_0x5b37('0x63')][_0x5b37('0x7a')][_0x5b37('0x16b')][_0x5b37('0x8')]())[_0x5b37('0x43')](_0x68663f=>_0x2cfd9f[_0x5b37('0x3b')](_0x68663f));_0x4b9e2b['setSelection'](_0x129daf);for(const _0x369a5a of this[_0x5b37('0x14b')]['commands']['commands']())_0x369a5a[_0x5b37('0x85')]();_0xbaee4a['push']({'forceDefaultExecution':!0x0}),this[_0x5b37('0x14b')]['execute'](_0x3f1857,..._0xbaee4a);const _0x137af8=_0x344457[_0x5b37('0x15a')](_0x4466bf=>_0x5b37('0xeb')!=_0x4466bf[_0x5b37('0x45')]['rootName']);_0x137af8[_0x5b37('0xdb')]>0x0&&_0x4b9e2b[_0x5b37('0x110')](_0x137af8);for(const _0x3b2b23 of _0x344457)_0x3b2b23[_0x5b37('0x142')]();});},_0x48bf39=(_0x47f37f,_0x7ff89c)=>0x1==_0x47f37f['length']&&0x1==_0x7ff89c[_0x5b37('0xdb')]&&_0x47f37f[0x0][_0x5b37('0x105')][_0x5b37('0x169')](_0x7ff89c[0x0][_0x5b37('0xd7')]),_0x5183d7=(_0x43d1ce,_0x1656b0,_0x3d55dc,_0x22d978)=>Ot(_0x43d1ce,_0x1656b0,_0x3d55dc,_0x22d978,this[_0x5b37('0x63')])?[_0x43d1ce,_0x1656b0]:Ot(_0x1656b0,_0x43d1ce,_0x22d978,_0x3d55dc,this[_0x5b37('0x63')])?[_0x1656b0,_0x43d1ce]:null;this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x170'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xb9'),_0x50560f),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x3'),_0x48bf39),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x72'),_0x5183d7),this[_0x5b37('0x82')][_0x5b37('0xc4')]('deletion:accept',_0x50560f),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x134'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xcb'),_0x48bf39),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x102'),_0x5183d7),this[_0x5b37('0x82')]['set'](_0x5b37('0x38'),_0x332779),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x74'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xe7'),_0x48bf39),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x0'),_0x3264e3),this[_0x5b37('0x82')]['set'](_0x5b37('0x44'),_0x332779),this['_defaultCallbacks'][_0x5b37('0xc4')](_0x5b37('0x16e'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0x76'),_0x48bf39),this[_0x5b37('0x82')]['set'](_0x5b37('0xae'),_0x3264e3),this[_0x5b37('0x82')]['set'](_0x5b37('0x6f'),_0x3264e3),this[_0x5b37('0x82')][_0x5b37('0xc4')](_0x5b37('0xda'),(_0x289ffa,_0xc34d0b)=>{if(!_0xc34d0b)return;const _0x32ac2b=this[_0x5b37('0x14b')][_0x5b37('0xe3')][_0x5b37('0x103')](p);this[_0x5b37('0x63')][_0x5b37('0x156')](_0x25dab2=>{if(_0x5b37('0x153')==_0xc34d0b[_0x5b37('0x129')])for(const _0x4243ff of _0x289ffa){const _0x7dea45=_0x4243ff[_0x5b37('0xd7')][_0x5b37('0x165')],_0x4c00dc=_0xc34d0b[_0x5b37('0x36')];_0x25dab2[_0x5b37('0x161')](_0x7dea45,_0x4c00dc);}else{if(_0x32ac2b['_isBlockAttribute'](_0xc34d0b[_0x5b37('0x129')]))for(const _0x21b729 of _0x289ffa)void 0x0!==_0xc34d0b['oldValue']?_0x25dab2['setAttribute'](_0xc34d0b['key'],_0xc34d0b[_0x5b37('0x36')],_0x21b729[_0x5b37('0xd7')]['nodeAfter']):_0x25dab2[_0x5b37('0x7b')](_0xc34d0b[_0x5b37('0x129')],_0x21b729['start'][_0x5b37('0x165')]);else for(const _0x2c687a of _0x289ffa)_0xc34d0b['oldValue']?_0x25dab2[_0x5b37('0x65')](_0xc34d0b[_0x5b37('0x129')],_0xc34d0b[_0x5b37('0x36')],_0x2c687a):_0x25dab2['removeAttribute'](_0xc34d0b[_0x5b37('0x129')],_0x2c687a);}});}),this[_0x5b37('0x82')]['set']('attribute:join',_0x48bf39);}}function Bt(_0x31bc44,_0xd53030,_0x10ab89){for(const _0x5b0cf4 of _0xd53030[_0x5b37('0xbd')][_0x5b37('0x132')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5b0cf4[_0x5b37('0x45')]==_0x5b0cf4)return!0x1;if(!_0x10ab89[_0x5b37('0x137')](_0x5b0cf4))return!0x1;if(_0x31bc44[_0x5b37('0x1c')](_0x5b0cf4)||_0x31bc44[_0x5b37('0x4e')](_0x5b0cf4))return!0x0;}return!0x1;}function Tt(_0x403544){return _0x403544['end'][_0x5b37('0xbd')]==_0x403544['start'][_0x5b37('0x165')]&&_0x403544[_0x5b37('0x105')][_0x5b37('0x119')];}function xt(_0x3316b0,_0x53b133,_0x48dd49,_0x3e3877){const _0x47306e=_0x550918=>!_0x550918['item']['is']('$textProxy')&&!_0x3e3877[_0x5b37('0x1c')](_0x550918[_0x5b37('0x15f')]),_0x407134=_0x3316b0['start'][_0x5b37('0x148')](_0x47306e),_0x5e5428=_0x3316b0[_0x5b37('0x105')][_0x5b37('0x148')](_0x47306e,{'direction':_0x5b37('0x174')});return(!_0x3316b0['start'][_0x5b37('0x169')](_0x407134)||!_0x3316b0['end'][_0x5b37('0x169')](_0x5e5428))&&(_0x407134['isBefore'](_0x5e5428)?_0x48dd49[_0x5b37('0x31')](_0x53b133,{'range':_0x48dd49[_0x5b37('0xd6')](_0x407134,_0x5e5428)}):_0x48dd49[_0x5b37('0x151')](_0x53b133),!0x0);}function Et(_0x4c2205){return _0x1fc600(_0x4c2205);}function Rt(_0x3c762d){const _0x30a436=_0x3c762d['start'][_0x5b37('0x165')];return _0x30a436&&_0x30a436['is'](_0x5b37('0x127'));}function Ut(_0xebd1fc,_0x2489bf){const _0x875512=_0x2489bf['schema'][_0x5b37('0x1c')](_0xebd1fc)||_0x2489bf[_0x5b37('0x37')]['isSelectable'](_0xebd1fc);return _0x2489bf[_0x5b37('0xd6')](_0x2489bf[_0x5b37('0x10b')](_0xebd1fc,'before'),_0x875512?_0x2489bf['createPositionAfter'](_0xebd1fc):_0x2489bf[_0x5b37('0x10b')](_0xebd1fc,_0x5b37('0x105')));}function Ot(_0x308b09,_0x280294,_0x4279fe,_0x48f736,_0x125de8){if(!Vt(_0x308b09,_0x280294))return!0x1;if(_0x4279fe[_0x5b37('0x105')][_0x5b37('0x169')](_0x48f736[_0x5b37('0xd7')]))return!0x0;if(_0x308b09[_0x5b37('0x3f')]!=_0x280294[_0x5b37('0x3f')])return!0x1;if(!_0x4279fe['end']['isTouching'](_0x48f736['start']))return!0x1;const _0x113729=_0x125de8[_0x5b37('0xd6')](_0x4279fe[_0x5b37('0x105')],_0x48f736['start'])[_0x5b37('0xb7')]();for(const _0x3651d4 of _0x113729)if([_0x5b37('0xb5'),_0x5b37('0xa6')]['includes'](_0x3651d4[_0x5b37('0x3f')])&&_0x125de8[_0x5b37('0x37')][_0x5b37('0x4e')](_0x3651d4[_0x5b37('0x15f')]))return!0x1;return!0x0;}function Vt(_0x3c01f7,_0x154466){return!(!_0x3c01f7[_0x5b37('0x106')]||!_0x154466[_0x5b37('0x106')])&&_0x1587e8(_0x3c01f7[_0x5b37('0x83')],_0x154466['attributes']);}function Gt(_0x1368f6,_0x423e66){const _0x3bb084=Ft(_0x1368f6[_0x5b37('0x83')]),_0x28700a=Ft(_0x423e66);if(!_0x1368f6[_0x5b37('0x106')])return!0x1;for(const _0x106854 of Object[_0x5b37('0xff')](_0x28700a))if(!_0x1587e8(_0x3bb084[_0x106854],_0x28700a[_0x106854]))return!0x1;return!0x0;}function Ft(_0x5d8f7d){const _0x108487=Object[_0x5b37('0x17')]({},_0x5d8f7d);return delete _0x108487[_0x5b37('0x130')],delete _0x108487[_0x5b37('0xd1')],_0x108487;}function Pt(_0x361b3e){return'attribute'==_0x361b3e[_0x5b37('0x3f')]?_0x361b3e[_0x5b37('0x13b')][_0x5b37('0xf5')]('|')[0x0]:null;}
|