@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231125.0 → 0.0.0-nightly-20231126.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-20231126.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20231126.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231126.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4429=['mapper','removeMarker:suggestion:attribute','formatInline','elementStart','getCommentThread','isUndo','find','insertContent','author','_handleNewSuggestionMarker','getOperations','getSuggestions','deletion:','low','isBefore','value','isRemovable','FORMATTING','parent','set','markerToHighlight','item','_model','_registerInlineAttribute','newValue','for','add','adapter','rejected','_adapter','batch','suggestion','_defaultCallbacks','delete','clear','differ','stopListening','addMarker','ariaLiveAnnouncer','getCustomProperty','change','moveTargetPosition','_getAttributeKeyFromSubType','markInsertion','suggestionUnloaded','acceptSelectedSuggestions','hasSuggestion','markBlockFormat','elementEnd','isSelectable','editor','getFirstMarker','insertion:','dataDowncast','removeMarker','PendingActions','createPositionAt','skipNestingCheck','_addSuggestionMarker','acceptSuggestion','group','isOwn','conversion','define','toUpperCase','enableReadOnlyMode','_isBlockAttribute','getChanges','_suggestionState','addSuggestionData','oldRange','_addThreadToSuggestion','marker-count','plugins','_processAttributeChanges','hasComments','activeMarkers','trackChanges','pluginName','authoredAt','markerName','open','_processAttributeSuggestions','newRange','refresh','formatGroupId','removed','update:suggestion','ck-suggestion-marker--active','originalSuggestionId','commandName','formatBlock','rootName','TrackChangesEditing','fromRange','updateSuggestion','suggestionChanged','concat','getWalker','attribute:discard','getSuggestion','subType','_registerDefaultCallbacks','trackChangesCommand','_joinWithAdjacentSuggestions','removeAttribute','markAttributeChange','ck-suggestion-marker','return','isIntersectingWithRange','name','containsRange','dataReady','lowest','addMarker:suggestion:formatBlock','getShiftedBy','insertion:accept','discard','isBlock','attribute:accept','attributeOldValue','isCollapsed','meta','widget','createPositionAfter','containsItem','$marker','_enableDefaultAttributesIntegration','data','listenTo','_getSuggestionData','some','attribute:','markMultiRangeInsertion','values','track-changes-adapter-already-set','oldValue','_getExternalAuthor','_commentsRepository','push','tablePasteChainId','groupId','setAttribute','insertion:chain','_breakSuggestionMarker','_findSuggestions','_checkSuggestionCorrectness','consume','addMarker:suggestion','_reduceExistingSuggestions','start','_editor','addSuggestion','clone','isAtStart','_splitMarkerName','catch','_trackFormatChanges','high','_descriptionFactory','formatInline:discard','changeAttribute','isAtEnd','createRange','ck-suggestion-marker-formatInline','isMultiRange','track-changes-enable-command-twice','forceDefaultExecution','includes','fire','track-changes-suggestion-data-mismatch','toJSON','@external','default','getUser','range','formatBlock:chain','multipleBlocks','chain','keys','announce','init','deletion:accept','map','$graveyard','fromCharCode','removeClass','_refreshAttributeSuggestionsChain','nodeAfter','getChangedMarkers','resolve','_blockAttributeKeys','unshift','createSelection','addRange','isInContent','createElement','formatInline:','editing','getAncestors','insert','ready','has','_recordAttributeSuggestionsFromVersion','addMarkerName','discardSuggestion','document','type','createdAt','containsRangeInObject','getItems','attribute:join','howMany','_suggestions','substring','addClass','buildSuggestion','splice','never','_onDiscard','markDeletion','isLimit','discardAllSuggestions','forward','sort','stop','_enabledCommands','trackChanges.mergeNestedSuggestions','accepted','after','acceptAllSuggestions','multi','history','getAttribute','_customCallbacks','_joinSuggestions','editingDowncast','formatBlock:discard','rename','_setSuggestionRange','_reduceSuggestionAttributeRange','deletion:join','toViewElement','_SUGGESTION_ANNOUNCEMENT','attributeNewValue','formatInline:join','get','updateMarker','isIntersecting','_inlineAttributeKeys','getAllAdjacentSuggestions','schema','LEAVE','detach','_rangeIsInLocalUserInsertion','track-changes-suggestion-not-found','position','locale','startsWith','collaboration.channelId','size','_setSuggestionData','dataToMarker','ck-suggestion-marker-formatBlock','every','config','_saved','_mergeNestedSuggestions','pop','head','backward','getNearestSelectionRange','getIntersection','setTo','removeMarkers','split','model','enqueueChange','suggestion:','getDifference','addUser','$text','bindElementToMarker','deletion:chain','setSelection','removeMarker:suggestion:formatBlock','attribute','upcast','length','assign','PENDING_ACTION_SUGGESTION','addHighlight','isLocal','_isForcedDefaultExecutionBlock','registerCustomCallback','oldName','getMultiRangeId','getRanges','_updateSuggestionData','createPositionBefore','highest','isAfter','deleteContent','creator','rethrowUnexpectedError','isInsideObject','then','insertion:join','commands','registerPostFixer','getRange','markers','substr','hasCommentThread','isObject','unbind','remove','getLastMatchingPosition','end','formatInline:chain','attributes','_refreshSuggestionsChain','containsPosition','writer','_isDataLoaded','markMultiRangeDeletion','formatBlock:','createRangeIn','_cutOutSuggestionMarker','notReady','getFirstRange','filter','change:activeMarkers','containerElement','always','data-suggestion','_getAuthorFromId','key','isEqual','_removeSuggestion','options','addComment','insertion','nodeBefore','CommentsRepository','deletion','reconvertMarker','deletion:discard','next','_recordAttributeChanges','isDocumentOperation','join','Users','_initAriaMarkerChangeAnnouncements','unbindElementFromMarkerName','removeComment','applyOperation','comments','newName','accept','discardSelectedSuggestions','getMarkers','$textProxy','showSuggestionHighlights','_registerBlockAttribute','selection','suggestionLoaded','formatBlock:accept','$elementName','element','authorName','previous','commentThread','ENTER','markerReady','_createSuggestion','from','_getMarkerAnnouncementText','root','enableCommand','execute','isNextTo','getSuggestionCallback','version','addAttribute','_suggestionFactory'];(function(_0x71f974,_0x4429b1){const _0x268063=function(_0x28d784){while(--_0x28d784){_0x71f974['push'](_0x71f974['shift']());}};_0x268063(++_0x4429b1);}(_0x4429,0x81));const _0x2680=function(_0x71f974,_0x4429b1){_0x71f974=_0x71f974-0x0;let _0x268063=_0x4429[_0x71f974];return _0x268063;};import{Plugin as _0xac4b9,PendingActions as _0x2b5275}from'ckeditor5/src/core';import{LiveRange as _0x160425}from'ckeditor5/src/engine';import{CKEditorError as _0x576f16,uid as _0x4a0fa0,priorities as _0x4bb78f,logWarning as _0x1c48bf}from'ckeditor5/src/utils';import{toWidget as _0x22785b}from'ckeditor5/src/widget';import{Users as _0x580576,hashObject as _0x2a336f,surroundingMarkersDetector as _0x30d88b}from'ckeditor5-collaboration/src/collaboration-core';import _0x4de8f4 from'./commands/trackchangescommand';import _0x1b9736 from'./commands/acceptsuggestioncommand';import _0x46f0c9 from'./commands/discardsuggestioncommand';import _0x329244 from'./commands/executeonallsuggestionscommand';import _0x49c9bc from'./commands/executeonselectedsuggestionscommand';import _0x3abe10 from'./suggestion';import _0xbb42b1 from'./suggestiondescriptionfactory';import _0x28bc5e from'./integrations/aiassistant';import _0x2d2fba from'./integrations/alignment';import _0x3ede7d from'./integrations/basicstyles';import _0x15b572 from'./integrations/blockquote';import _0x2ff78f from'./integrations/ckbox';import _0x509953 from'./integrations/codeblock';import _0x4c373b from'./integrations/comments';import _0x162f2d from'./integrations/deletecommand';import _0xcc4de7 from'./integrations/documentlist';import _0x3ba211 from'./integrations/documentlistproperties';import _0x72fbb6 from'./integrations/entercommand';import _0x4a910f from'./integrations/findandreplace';import _0x9496d6 from'./integrations/font';import _0x55cdbd from'./integrations/formatpainter';import _0x410c29 from'./integrations/heading';import _0x37139f from'./integrations/highlight';import _0x1b8d5d from'./integrations/horizontalline';import _0x1ba1c0 from'./integrations/htmlembed';import _0x52c875 from'./integrations/image';import _0x10e06b from'./integrations/imagereplace';import _0x273c54 from'./integrations/imagestyle';import _0x31d3aa from'./integrations/importword';import _0xbc227 from'./integrations/indent';import _0x4a7820 from'./integrations/inputcommand';import _0x5226ce from'./integrations/link';import _0x414c32 from'./integrations/list';import _0x44125e from'./integrations/listproperties';import _0x17616c from'./integrations/mediaembed';import _0xf9cbcd from'./integrations/mention';import _0x24e861 from'./integrations/pagebreak';import _0x27e941 from'./integrations/paragraph';import _0x1e525a from'./integrations/removeformat';import _0x2263a9 from'./integrations/restrictededitingmode';import _0x341d61 from'./integrations/shiftentercommand';import _0x134873 from'./integrations/standardeditingmode';import _0x228d15 from'./integrations/style';import _0x571615 from'./integrations/table';import _0x30e0cd from'./integrations/tablemergesplit';import _0x13630f from'./integrations/tableheadings';import _0x250dad from'./integrations/tableclipboard';import _0x186f63 from'./integrations/tablecolumnresize';import _0x3e3167 from'./integrations/template';import _0x58d28d from'./integrations/tableofcontents';import _0x1a004f from'./integrations/title';import _0x51ad34 from'./integrations/undo';import _0x16ee67 from'./integrations/tablecaption';import _0x239e42 from'./integrations/tableproperties';import{getTranslation as _0x54932d}from'./utils/common-translations';import{isEqual as _0x1c294c,omit as _0x559d9a}from'lodash-es';export const renameAttributeKey=_0x2680('0xef');export default class p extends _0xac4b9{static get['requires'](){return[_0x2680('0xd7'),_0x580576,_0x2b5275,_0x28bc5e,_0x2d2fba,_0x3ede7d,_0x15b572,_0x2ff78f,_0x509953,_0x4c373b,_0x162f2d,_0xcc4de7,_0x3ba211,_0x72fbb6,_0x4a910f,_0x9496d6,_0x55cdbd,_0x410c29,_0x37139f,_0x1b8d5d,_0x1ba1c0,_0x52c875,_0x273c54,_0x10e06b,_0x31d3aa,_0xbc227,_0x4a7820,_0x5226ce,_0x414c32,_0x44125e,_0x17616c,_0xf9cbcd,_0x24e861,_0x27e941,_0x1e525a,_0x2263a9,_0x341d61,_0x134873,_0x228d15,_0x571615,_0x30e0cd,_0x13630f,_0x16ee67,_0x250dad,_0x186f63,_0x58d28d,_0x239e42,_0x3e3167,_0x1a004f,_0x51ad34];}static get[_0x2680('0x14f')](){return _0x2680('0x15e');}constructor(_0xee5275){function _0x4ed501(_0x5991a6){return _0x5991a6[_0x2680('0x36')](_0x237a0c=>String[_0x2680('0x38')](_0x237a0c))[_0x2680('0xde')]('');}super(_0xee5275),this[_0x2680('0x4a')]=null,this[_0x2680('0x114')](_0x2680('0x14d'),[]),this['on'](_0x2680('0xcb'),(_0x17e015,_0x261de9,_0x281a16,_0x450a00)=>{this[_0x2680('0x117')][_0x2680('0x129')](()=>{for(const _0x1620d6 of[..._0x450a00,..._0x281a16])this[_0x2680('0x117')]['markers'][_0x2680('0x49')](_0x1620d6)&&_0xee5275[_0x2680('0x45')][_0x2680('0xd9')](_0x1620d6);});}),this[_0x2680('0x1e')]=new _0xbb42b1(this[_0x2680('0x133')][_0x2680('0x93')]['schema'],this[_0x2680('0x133')][_0x2680('0x80')]),this['_adapter']=null,this[_0x2680('0x100')]=new Bt(this['editor']),this[_0x2680('0x54')]=new Map(),this['_commentsRepository']=_0xee5275['plugins']['get'](_0x2680('0xd7')),this[_0x2680('0x61')]=new Set(),this['_model']=this['editor'][_0x2680('0x93')],this[_0x2680('0x145')]=new WeakMap(),this[_0x2680('0xa4')]=!0x1,this['_blockAttributeKeys']=new Set([_0x2680('0xef')]),this[_0x2680('0x78')]=new Set(),_0xee5275[_0x2680('0x88')][_0x2680('0x140')]('trackChanges.trackFormatChanges',_0x2680('0x2c')),this[_0x2680('0x1c')]=_0xee5275[_0x2680('0x88')][_0x2680('0x75')]('trackChanges.trackFormatChanges'),_0xee5275[_0x2680('0x88')]['define'](_0x2680('0x62'),!0x0),this[_0x2680('0x8a')]=_0xee5275[_0x2680('0x88')]['get'](_0x2680('0x62')),this[_0x2680('0x168')]=new _0x4de8f4(_0xee5275,this[_0x2680('0x61')]),this[_0x2680('0xe0')](),this[_0x4ed501([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4ed501([0x34,0x30,0x34,0x36,0x32,0x32,0x35,0x30]);}[_0x2680('0x34')](){const _0x2588af=this[_0x2680('0x133')],_0x4b8bed=(_0x34ed61,_0x3777ea)=>{if('attribute'!=_0x34ed61)return'ck-suggestion-marker-'+_0x34ed61;const _0x59b7eb=_0x3777ea[_0x2680('0x92')]('|')[0x0];return this['_isBlockAttribute'](_0x59b7eb)?'ck-suggestion-marker-formatBlock':_0x2680('0x23');};_0x2588af[_0x2680('0x13f')]['for'](_0x2680('0x6b'))[_0x2680('0x115')]({'model':_0x2680('0x120'),'view':_0x4e5e94=>{const {id:_0x5e42cd,type:_0x5448b4,subType:_0x1640e3}=this[_0x2680('0x1a')](_0x4e5e94[_0x2680('0x151')]),_0x43f41a=[_0x2680('0x16c'),_0x4b8bed(_0x5448b4,_0x1640e3)];let _0x171c19=0xbb8;return this['activeMarkers'][_0x2680('0x27')](_0x4e5e94[_0x2680('0x151')])&&(_0x43f41a[_0x2680('0xa')](_0x2680('0x159')),_0x171c19=0xbc2),_0x2680('0xd8')==_0x5448b4&&(_0x171c19+=0x5),{'classes':_0x43f41a,'attributes':{'data-suggestion':_0x5e42cd},'priority':_0x171c19};}}),_0x2588af[_0x2680('0x13f')]['for'](_0x2680('0x136'))[_0x2680('0x11b')](_0x38584b=>{_0x38584b['on'](_0x2680('0x13'),(_0x40b6d5,_0x560709,_0x26508d)=>{if(!_0x26508d[_0x2680('0xd3')][_0x2680('0xea')])return;const _0x12e84a=_0x560709[_0x2680('0x116')];if(!_0x12e84a)return;const _0x5e07e6=_0x26508d[_0x2680('0x101')][_0x2680('0x71')](_0x12e84a);_0x2588af[_0x2680('0x93')]['schema'][_0x2680('0xb9')](_0x12e84a)&&_0x5e07e6&&!_0x5e07e6[_0x2680('0x128')](_0x2680('0x17c'))&&_0x5e07e6['is'](_0x2680('0xcc'))&&_0x22785b(_0x5e07e6,_0x26508d['writer']);},{'priority':_0x2680('0x1d')});}),_0x2588af[_0x2680('0x13f')]['for'](_0x2680('0x136'))[_0x2680('0x115')]({'model':'suggestion','view':(_0x39da48,_0xcce843)=>{if(!_0xcce843['options'][_0x2680('0xea')])return null;const {type:_0x4b216e,subType:_0x3cf4c7}=this[_0x2680('0x1a')](_0x39da48[_0x2680('0x151')]);return{'classes':[_0x2680('0x16c'),_0x4b8bed(_0x4b216e,_0x3cf4c7)],'priority':0xbb8};}});const _0x2f1f25=({showActiveMarkers:_0xec8010=!0x0,isAttributeSuggestion:_0x5a7b40=!0x1}={})=>(_0x2ee4bd,_0x42d5a7,_0x109382)=>{if(!_0x42d5a7[_0x2680('0x116')])return;const {id:_0xf37cf3}=this[_0x2680('0x1a')](_0x42d5a7['markerName']);if(_0x5a7b40){const _0x4998f1=this['_suggestions'][_0x2680('0x75')](_0xf37cf3),_0xc8d762=this[_0x2680('0x12b')](_0x4998f1);if(!this['_isBlockAttribute'](_0xc8d762))return;}if(_0x42d5a7[_0x2680('0x116')]['is']('selection'))return void _0x109382['consumable'][_0x2680('0x12')](_0x42d5a7[_0x2680('0x116')],_0x2ee4bd[_0x2680('0x16f')]);const _0x774fc7=_0x109382[_0x2680('0x101')][_0x2680('0x71')](_0x42d5a7[_0x2680('0x116')]);if(_0x42d5a7[_0x2680('0x116')]['is'](_0x2680('0xf0'))&&_0x2588af[_0x2680('0x93')][_0x2680('0x7a')][_0x2680('0x177')](_0x42d5a7['item'])&&!_0x774fc7[_0x2680('0x128')](_0x2680('0xa2'))){_0x109382[_0x2680('0xc2')][_0x2680('0x56')]([_0x2680('0x16c'),_0x2680('0x86')],_0x774fc7),_0x109382[_0x2680('0xc2')]['setAttribute'](_0x2680('0xce'),_0xf37cf3,_0x774fc7),_0x109382[_0x2680('0x101')][_0x2680('0x99')](_0x774fc7,_0x42d5a7[_0x2680('0x151')]),_0xec8010&&(this[_0x2680('0x14d')][_0x2680('0x27')](_0x42d5a7['markerName'])?_0x109382[_0x2680('0xc2')]['addClass'](_0x2680('0x159'),_0x774fc7):_0x109382[_0x2680('0xc2')][_0x2680('0x39')](_0x2680('0x159'),_0x774fc7));for(const _0x59626c of _0x2588af[_0x2680('0x93')][_0x2680('0xc6')](_0x42d5a7[_0x2680('0x116')])[_0x2680('0x51')]())_0x109382['consumable'][_0x2680('0x12')](_0x59626c,_0x2ee4bd[_0x2680('0x16f')]);_0x109382['consumable'][_0x2680('0x12')](_0x42d5a7['item'],_0x2ee4bd[_0x2680('0x16f')]);}};_0x2588af[_0x2680('0x13f')][_0x2680('0x11a')](_0x2680('0x136'))[_0x2680('0x11b')](_0x3d7cff=>{_0x3d7cff['on']('addMarker:suggestion:formatBlock',(_0x21b2d3,_0x225c05,_0x1e95b3)=>{_0x1e95b3[_0x2680('0xd3')][_0x2680('0xea')]&&_0x2f1f25({'showActiveMarkers':!0x1})(_0x21b2d3,_0x225c05,_0x1e95b3);},{'priority':_0x2680('0xab')});}),_0x2588af[_0x2680('0x13f')][_0x2680('0x11a')](_0x2680('0x136'))[_0x2680('0x11b')](_0xb3ebeb=>{_0xb3ebeb['on']('addMarker:suggestion:attribute',(_0x4d1f67,_0x477af2,_0x165a88)=>{_0x165a88['options'][_0x2680('0xea')]&&_0x2f1f25({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4d1f67,_0x477af2,_0x165a88);},{'priority':'highest'});}),_0x2588af[_0x2680('0x13f')][_0x2680('0x11a')](_0x2680('0x136'))['markerToData']({'model':_0x2680('0x120'),'view':(_0x55f2ed,_0x1a99d1)=>_0x1a99d1[_0x2680('0xd3')][_0x2680('0xea')]?null:{'group':_0x2680('0x120'),'name':_0x55f2ed[_0x2680('0xb7')](0xb)}}),_0x2588af[_0x2680('0x13f')]['for'](_0x2680('0x9e'))['elementToElement']({'view':{'name':_0x2680('0x120'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x22ec90,{writer:_0x8ef430})=>{let _0xe838ff=_0x2680('0x95')+_0x22ec90['getAttribute']('suggestion-type')+':'+_0x22ec90[_0x2680('0x68')]('id');return _0x22ec90[_0x2680('0x68')]('marker-count')&&(_0xe838ff+=':'+_0x22ec90['getAttribute'](_0x2680('0x149'))),_0x8ef430[_0x2680('0x43')](_0x2680('0x17f'),{'data-name':_0xe838ff});}}),_0x2588af[_0x2680('0x13f')]['for'](_0x2680('0x9e'))[_0x2680('0x85')]({'view':_0x2680('0x120')}),_0x2588af[_0x2680('0x13f')]['for'](_0x2680('0x6b'))[_0x2680('0x11b')](_0x49ab6d=>{_0x49ab6d['on'](_0x2680('0x173'),_0x2f1f25(),{'priority':_0x2680('0x1d')});}),_0x2588af[_0x2680('0x13f')][_0x2680('0x11a')]('editingDowncast')[_0x2680('0x11b')](_0x357172=>{_0x357172['on']('addMarker:suggestion:attribute',_0x2f1f25({'isAttributeSuggestion':!0x0}),{'priority':_0x2680('0x1d')});}),_0x2588af[_0x2680('0x13f')][_0x2680('0x11a')](_0x2680('0x6b'))[_0x2680('0x11b')](_0x5a7033=>{_0x5a7033['on'](_0x2680('0x9c'),(_0x546d11,_0x4a0895,_0x3d1baf)=>{const _0x2be0d6=_0x3d1baf[_0x2680('0x101')]['markerNameToElements'](_0x4a0895[_0x2680('0x151')]);if(_0x2be0d6)for(const _0x1c5a5d of _0x2be0d6)_0x1c5a5d['getCustomProperty'](_0x2680('0xa2'))||(_0x3d1baf[_0x2680('0xc2')][_0x2680('0x39')]([_0x2680('0x16c'),_0x2680('0x86'),_0x2680('0x159')],_0x1c5a5d),_0x3d1baf[_0x2680('0xc2')][_0x2680('0x16a')](_0x2680('0xce'),_0x1c5a5d),_0x3d1baf[_0x2680('0x101')]['unbindElementFromMarkerName'](_0x1c5a5d,_0x4a0895[_0x2680('0x151')]));},{'priority':_0x2680('0x1d')});}),_0x2588af[_0x2680('0x13f')][_0x2680('0x11a')]('editingDowncast')[_0x2680('0x11b')](_0x1fc9b4=>{_0x1fc9b4['on'](_0x2680('0x102'),(_0x5e94d3,_0x287e88,_0x4325c9)=>{const _0x48812c=_0x4325c9[_0x2680('0x101')]['markerNameToElements'](_0x287e88[_0x2680('0x151')]);if(!_0x48812c)return;const {id:_0x39225d}=this[_0x2680('0x1a')](_0x287e88[_0x2680('0x151')]),_0x107ed1=this[_0x2680('0x54')][_0x2680('0x75')](_0x39225d),_0x4072e0=this['_getAttributeKeyFromSubType'](_0x107ed1);if(this[_0x2680('0x143')](_0x4072e0))for(const _0x1bfca0 of _0x48812c)_0x1bfca0['getCustomProperty']('addHighlight')||(_0x4325c9['writer'][_0x2680('0x39')](['ck-suggestion-marker',_0x2680('0x86'),_0x2680('0x159')],_0x1bfca0),_0x4325c9[_0x2680('0xc2')][_0x2680('0x16a')](_0x2680('0xce'),_0x1bfca0),_0x4325c9['mapper'][_0x2680('0xe1')](_0x1bfca0,_0x287e88['markerName']));},{'priority':_0x2680('0x1d')});}),_0x2588af['model']['document'][_0x2680('0xb4')](_0x4c210c=>{let _0x2d775d=!0x1;const _0x200076=Array[_0x2680('0xf7')](_0x2588af[_0x2680('0x93')][_0x2680('0x4d')]['differ'][_0x2680('0x3c')]()),_0x3b7631=new Set();for(const {name:_0x462568,data:_0x5ba358}of _0x200076){const {group:_0x30a557,type:_0x139c9c,subType:_0x4b10d5,id:_0x5d8310}=this['_splitMarkerName'](_0x462568);if(_0x2680('0x120')!==_0x30a557)continue;const _0x113516=this[_0x2680('0x54')][_0x2680('0x75')](_0x5d8310);if(null!=_0x5ba358[_0x2680('0x154')]){'formatInline'==_0x139c9c&&(_0x2d775d=_0x2d775d||Et(_0x5ba358['newRange'],_0x462568,_0x4c210c,_0x2588af[_0x2680('0x93')]['schema']));const _0xb2dcc5=_0x2680('0x9d')==_0x139c9c&&this[_0x2680('0x143')](_0x4b10d5[_0x2680('0x92')]('|')[0x0]);if(_0x5ba358[_0x2680('0x154')]['isCollapsed']||_0x2680('0x37')==_0x5ba358['newRange'][_0x2680('0xf9')]['rootName']||_0x2680('0x15c')==_0x139c9c&&!jt(_0x5ba358['newRange'])||_0xb2dcc5&&!jt(_0x5ba358['newRange'])||_0x2680('0xd8')==_0x139c9c&&!(!xt(_0x43503b=_0x5ba358[_0x2680('0x154')])&&!function(_0x1397d6){return _0x1397d6['start'][_0x2680('0x113')]==_0x1397d6[_0x2680('0xbd')]['nodeBefore']&&_0x1397d6[_0x2680('0x15')][_0x2680('0x21')];}(_0x43503b)))_0x4c210c[_0x2680('0x137')](_0x462568),_0x2d775d=!0x0;else{if(!_0x113516||!_0x113516[_0x2680('0x42')])continue;_0x3b7631[_0x2680('0x11b')](_0x113516);}}}var _0x43503b;return _0x3b7631[_0x2680('0x83')]>0x0&&(_0x2d775d=!!this[_0x2680('0x169')](_0x3b7631)||_0x2d775d),_0x2d775d;}),_0x2588af[_0x2680('0x93')][_0x2680('0x4d')]['registerPostFixer'](_0x3844c7=>{let _0x512d01=!0x1;for(const _0x4d2c4a of _0x2588af[_0x2680('0x93')][_0x2680('0x4d')][_0x2680('0x124')][_0x2680('0x144')]())if('insert'==_0x4d2c4a[_0x2680('0x4e')])for(const _0x4f1ece of this[_0x2680('0x54')][_0x2680('0x5')]()){if(_0x4f1ece['isMultiRange']||!_0x4f1ece[_0x2680('0x42')])continue;const _0x1f1ec4=_0x2680('0x15c')==_0x4f1ece[_0x2680('0x4e')],_0x2583fc=this[_0x2680('0x12b')](_0x4f1ece),_0x50a262=_0x2583fc&&this[_0x2680('0x143')](_0x2583fc);if(!_0x1f1ec4&&!_0x50a262)continue;const _0xe616b2=_0x4f1ece[_0x2680('0xc9')]();if(_0xe616b2['start'][_0x2680('0x113')]!=_0xe616b2[_0x2680('0xbd')][_0x2680('0x113')]&&!_0xe616b2[_0x2680('0xbd')][_0x2680('0x21')]){const _0x19834f=_0x2588af['model'][_0x2680('0x139')](_0xe616b2[_0x2680('0x15')][_0x2680('0x3b')],_0x2680('0xbd')),_0x8f02b3=_0x2588af[_0x2680('0x93')][_0x2680('0x22')](_0xe616b2[_0x2680('0x15')],_0x19834f);_0x3844c7[_0x2680('0x76')](_0x4f1ece[_0x2680('0x134')](),{'range':_0x8f02b3}),_0x512d01=!0x0;}}return _0x512d01;}),_0x2588af[_0x2680('0x93')]['document'][_0x2680('0xb4')](_0x456073=>this['_processAttributeChanges'](_0x456073)),_0x2588af[_0x2680('0x93')]['document'][_0x2680('0xb4')](_0x1b26f7=>!_0x1b26f7[_0x2680('0x11f')][_0x2680('0xa3')]&&this['_processAttributeSuggestions'](_0x1b26f7)),_0x2588af[_0x2680('0x93')][_0x2680('0xb6')]['on'](_0x2680('0x158'),(_0x51acf4,_0xe9b6d2,_0xc01c69)=>{if(null==_0xc01c69){const {id:_0x349b7c}=this[_0x2680('0x1a')](_0xe9b6d2[_0x2680('0x16f')]),_0x279dac=this['_suggestions'][_0x2680('0x75')](_0x349b7c);_0x279dac&&_0x279dac['addMarkerName'](_0xe9b6d2[_0x2680('0x16f')]);}}),_0x2588af[_0x2680('0x93')][_0x2680('0x4d')]['on']('change:data',()=>{const _0x11dcc0=Array[_0x2680('0xf7')](_0x2588af['model'][_0x2680('0x4d')][_0x2680('0x124')]['getChangedMarkers']())['filter'](_0x49ae23=>'suggestion'===this[_0x2680('0x1a')](_0x49ae23[_0x2680('0x16f')])[_0x2680('0x13d')]);if(0x0===_0x11dcc0[_0x2680('0x9f')])return;_0x11dcc0[_0x2680('0x5f')]((_0x3c99c2,_0x45553c)=>{const _0x3be545=_0x3c99c2[_0x2680('0x181')]['oldRange'],_0x5af223=_0x45553c[_0x2680('0x181')][_0x2680('0x147')];return null===_0x3be545&&null===_0x5af223?0x0:null===_0x3be545&&null!==_0x5af223?-0x1:null!==_0x3be545&&null===_0x5af223?0x1:_0x3be545[_0x2680('0x15')][_0x2680('0x10f')](_0x5af223[_0x2680('0x15')])?-0x1:0x1;});const _0x1d3977=new Set(),_0x5379e1=new Set();for(const {name:_0x1c1c62,data:_0x3f70f1}of _0x11dcc0){const {id:_0x49f2b4}=this[_0x2680('0x1a')](_0x1c1c62);if(null===_0x3f70f1[_0x2680('0x147')]){const _0x4d6313=this[_0x2680('0x10a')](_0x1c1c62);_0x5379e1[_0x2680('0x11b')](_0x4d6313);}else{const _0x9b27db=this[_0x2680('0x54')][_0x2680('0x75')](_0x49f2b4);null!==_0x3f70f1[_0x2680('0x154')]||_0x9b27db[_0x2680('0x42')]?(_0x1d3977['add'](_0x9b27db[_0x2680('0x8c')]),_0x5379e1['add'](_0x9b27db)):this[_0x2680('0xd2')](_0x9b27db);}}_0x5379e1['size']>0x0&&this['_refreshSuggestionsChain'](_0x5379e1);for(const _0x31d5e1 of _0x1d3977)this[_0x2680('0x28')](_0x2680('0x161'),_0x31d5e1);}),_0x2588af['model']['on'](_0x2680('0xe3'),(_0x16bddb,_0xa12f2b)=>{const _0x2157aa=_0xa12f2b[0x0];if(!this[_0x2680('0x54')][_0x2680('0x83')])return;if(!_0x2157aa[_0x2680('0xdd')])return;if(_0x2157aa[_0x2680('0x11f')][_0x2680('0x106')]||!_0x2157aa[_0x2680('0x11f')][_0x2680('0xa3')])return;let _0x54e2ff,_0x331213;switch(_0x2157aa[_0x2680('0x4e')]){case _0x2680('0x47'):_0x54e2ff=_0x2588af[_0x2680('0x93')][_0x2680('0x139')](_0x2157aa['position']),_0x331213=_0x54e2ff[_0x2680('0x174')](_0x2157aa[_0x2680('0x53')]);break;case _0x2680('0x92'):_0x54e2ff=_0x2588af[_0x2680('0x93')][_0x2680('0x139')](_0x2157aa['splitPosition']),_0x331213=_0x2588af['model']['createPositionAt'](_0x2157aa[_0x2680('0x12a')]);break;case'move':_0x54e2ff=_0x2588af[_0x2680('0x93')][_0x2680('0x139')](_0x2157aa['targetPosition']),_0x331213=_0x54e2ff[_0x2680('0x174')](_0x2157aa['howMany']);break;default:return;}const _0x2da650=_0x2588af[_0x2680('0x93')][_0x2680('0x22')](_0x54e2ff,_0x331213);_0x2588af[_0x2680('0x93')][_0x2680('0x129')](()=>{for(const {suggestion:_0x5c1561,meta:_0x3d6316}of this[_0x2680('0x10')](_0x2da650)){if(_0x5c1561['isMultiRange'])continue;if(_0x2680('0x103')==_0x5c1561[_0x2680('0x4e')])continue;const _0xa89b3b=this[_0x2680('0x12b')](_0x5c1561);if(_0xa89b3b&&this[_0x2680('0x143')](_0xa89b3b)&&_0x2680('0x92')!=_0x2157aa[_0x2680('0x4e')])continue;const _0x4d876c=_0x5c1561[_0x2680('0x181')]&&_0x5c1561[_0x2680('0x181')][_0x2680('0x30')];(_0x2680('0x15c')!=_0x5c1561[_0x2680('0x4e')]||_0x2680('0x92')==_0x2157aa[_0x2680('0x4e')]&&!_0x4d876c)&&(_0x3d6316[_0x2680('0x50')]||'insertion'==_0x5c1561[_0x2680('0x4e')]&&_0x3d6316['isOwn']||_0x5c1561[_0x2680('0xc9')]()[_0x2680('0x170')](_0x2da650)&&this[_0x2680('0xf')](_0x5c1561,_0x54e2ff,_0x331213));}});},{'priority':_0x2680('0x172')}),_0x2588af[_0x2680('0x93')]['on']('deleteContent',(_0xc6eb1f,_0x596149)=>{const _0x36d97a=_0x596149[0x0],_0x32f570=_0x596149[0x1];if(_0x32f570&&_0x32f570[_0x2680('0x26')])return;if(this[_0x2680('0xa4')])return;if(!this['trackChangesCommand']['value'])return;if(_0x36d97a[_0x2680('0x17a')])return;const _0x4e3ccb=_0x2588af[_0x2680('0x93')]['schema'],{start:_0x3fcc32,end:_0x45dbbd}=_0x36d97a[_0x2680('0xc9')](),_0xf5dd7e=_0x3fcc32[_0x2680('0x3b')]&&_0x4e3ccb['isLimit'](_0x3fcc32[_0x2680('0x3b')])?null:_0x4e3ccb[_0x2680('0x8e')](_0x3fcc32,_0x2680('0x5e')),_0x38bfff=_0x45dbbd[_0x2680('0xd6')]&&_0x4e3ccb['isLimit'](_0x45dbbd['nodeBefore'])?null:_0x4e3ccb[_0x2680('0x8e')](_0x45dbbd,_0x2680('0x8d')),_0x3a1897=_0x2588af['model'][_0x2680('0x22')](_0xf5dd7e?_0xf5dd7e[_0x2680('0x15')]:_0x3fcc32,_0x38bfff?_0x38bfff[_0x2680('0xbd')]:_0x45dbbd);_0x2588af[_0x2680('0x93')][_0x2680('0x129')](_0x13cf14=>{this[_0x2680('0x5b')](_0x3a1897);const _0x2bd65a=_0x2588af[_0x2680('0x93')][_0x2680('0x7a')]['getNearestSelectionRange'](_0x3a1897[_0x2680('0x15')]);_0x36d97a['is']('documentSelection')?_0x13cf14['setSelection'](_0x2bd65a):_0x36d97a[_0x2680('0x90')](_0x2bd65a);}),_0xc6eb1f[_0x2680('0x60')]();},{'priority':_0x4bb78f['normal']+0xa}),_0x2588af[_0x2680('0x93')]['on'](_0x2680('0x108'),(_0x3714d1,_0x5428aa)=>{const _0x57d3b6=_0x5428aa[_0x5428aa['length']-0x1];_0x57d3b6&&_0x57d3b6[_0x2680('0x26')]||this[_0x2680('0xa4')]||this['trackChangesCommand']['value']&&(_0x2588af[_0x2680('0x93')][_0x2680('0x129')](()=>{let _0x2d8dab=_0x2588af[_0x2680('0x93')][_0x2680('0x108')](_0x5428aa[0x0],_0x5428aa[0x1],_0x5428aa[0x2],{'forceDefaultExecution':!0x0});if(!_0x2d8dab)return;_0x3714d1[_0x2680('0x16d')]=_0x2d8dab[_0x2680('0x18')]();const _0x176703=_0x2d8dab[_0x2680('0xbd')][_0x2680('0xd6')],_0xbdf635=_0x2588af[_0x2680('0x93')][_0x2680('0x7a')];_0x176703&&_0xbdf635[_0x2680('0x177')](_0x176703)&&!_0xbdf635[_0x2680('0xb9')](_0x176703)&&(_0x2d8dab=_0x2588af[_0x2680('0x93')][_0x2680('0x22')](_0x2d8dab[_0x2680('0x15')],_0x2588af[_0x2680('0x93')][_0x2680('0x139')](_0x176703,'end'))),this[_0x2680('0x12c')](_0x2d8dab);}),_0x3714d1[_0x2680('0x60')]());},{'priority':_0x2680('0x1d')}),this[_0x2680('0x133')][_0x2680('0xb3')]['add'](_0x2680('0x14e'),this[_0x2680('0x168')]),this['enableCommand']('trackChanges');const _0x28bb48=new _0x1b9736(_0x2588af,this[_0x2680('0x54')]);_0x2588af[_0x2680('0xb3')][_0x2680('0x11b')](_0x2680('0x13c'),_0x28bb48),this[_0x2680('0xfa')](_0x2680('0x13c'));const _0x201bc7=new _0x46f0c9(_0x2588af,this[_0x2680('0x54')]);_0x2588af['commands']['add'](_0x2680('0x4c'),_0x201bc7),this[_0x2680('0xfa')](_0x2680('0x4c')),_0x2588af[_0x2680('0xb3')]['add']('acceptAllSuggestions',new _0x329244(_0x2588af,_0x28bb48,this[_0x2680('0x54')])),this[_0x2680('0xfa')](_0x2680('0x65')),_0x2588af[_0x2680('0xb3')][_0x2680('0x11b')](_0x2680('0x5d'),new _0x329244(_0x2588af,_0x201bc7,this[_0x2680('0x54')])),this[_0x2680('0xfa')]('discardAllSuggestions'),_0x2588af[_0x2680('0xb3')][_0x2680('0x11b')]('acceptSelectedSuggestions',new _0x49c9bc(_0x2588af,_0x28bb48,this['_suggestions'])),this[_0x2680('0xfa')](_0x2680('0x12e')),_0x2588af[_0x2680('0xb3')]['add'](_0x2680('0xe7'),new _0x49c9bc(_0x2588af,_0x201bc7,this['_suggestions'])),this[_0x2680('0xfa')](_0x2680('0xe7'));const _0x7bcb93=_0x2588af[_0x2680('0x14a')]['get']('CommentsRepository');this[_0x2680('0x0')](_0x7bcb93,_0x2680('0xd4'),(_0x1add83,{threadId:_0x1c8bdc})=>{const _0x324458=this['_suggestions'][_0x2680('0x75')](_0x1c8bdc);_0x324458&&_0x324458[_0x2680('0xf3')]&&0x1===_0x324458[_0x2680('0xf3')]['length']&&this[_0x2680('0xa9')](_0x1c8bdc,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x7bcb93,_0x2680('0xe2'),(_0x19ff6b,{threadId:_0x17e474})=>{const _0xdb2184=this[_0x2680('0x54')][_0x2680('0x75')](_0x17e474);_0xdb2184&&_0xdb2184[_0x2680('0xf3')]&&!_0xdb2184['commentThread'][_0x2680('0x9f')]&&this[_0x2680('0xa9')](_0x17e474,{'hasComments':!0x1});},{'priority':_0x2680('0x10e')});}set[_0x2680('0x11c')](_0x3b198d){if(this['_adapter'])throw new _0x576f16(_0x2680('0x6'),this);this[_0x2680('0x11e')]=_0x3b198d;}get[_0x2680('0x11c')](){return this[_0x2680('0x11e')];}[_0x2680('0x10c')]({skipNotAttached:_0x31cf1f=!0x1,toJSON:_0x4d2615=!0x1}={}){const _0x3e67a6=[];for(const _0x5ea820 of this[_0x2680('0x54')][_0x2680('0x5')]())_0x31cf1f&&!_0x5ea820[_0x2680('0x42')]||_0x3e67a6['push'](_0x5ea820);return _0x4d2615?_0x3e67a6[_0x2680('0x36')](_0x106240=>_0x106240[_0x2680('0x2a')]()):_0x3e67a6;}[_0x2680('0x165')](_0x1ce406){const _0x24f47e=this[_0x2680('0x54')][_0x2680('0x75')](_0x1ce406);if(!_0x24f47e)throw new _0x576f16(_0x2680('0x7e'),this);return _0x24f47e;}[_0x2680('0x12f')](_0x5edf9e){return this[_0x2680('0x54')][_0x2680('0x49')](_0x5edf9e);}['addSuggestionData'](_0x406e18){const {authorId:_0x469f31,id:_0x11cf30,attributes:_0x19c769}=_0x406e18,[_0x31ac0d,_0x212d72]=_0x406e18[_0x2680('0x4e')][_0x2680('0x92')](':'),_0x33f2aa=this[_0x2680('0x54')][_0x2680('0x75')](_0x11cf30)||this[_0x2680('0xf6')](_0x31ac0d,_0x212d72,_0x11cf30,_0x469f31,_0x19c769);if(this[_0x2680('0x148')](_0x33f2aa),this[_0x2680('0x11')](_0x33f2aa,_0x31ac0d,_0x212d72||null,_0x469f31),_0x33f2aa['createdAt']=_0x406e18[_0x2680('0x4f')],_0x33f2aa['_isDataLoaded']=!0x0,_0x19c769&&_0x19c769[_0x2680('0x2b')]){const _0xe2107b=_0x19c769['@external'],_0x11db75=this[_0x2680('0x8')](_0xe2107b[_0x2680('0xf1')]);_0x33f2aa[_0x2680('0x150')]=_0xe2107b[_0x2680('0x4f')],_0x33f2aa[_0x2680('0x109')]=_0x11db75,_0x33f2aa['isExternal']=!0x0;}else _0x33f2aa[_0x2680('0x150')]=_0x406e18[_0x2680('0x4f')];switch(_0x406e18['data']&&(_0x33f2aa[_0x2680('0x181')]=_0x406e18[_0x2680('0x181')]),_0x406e18[_0x2680('0xbf')]&&(_0x33f2aa[_0x2680('0xbf')]=_0x406e18['attributes']),this[_0x2680('0x11e')]&&this[_0x2680('0x11e')]['addSuggestion']||(_0x33f2aa[_0x2680('0x89')]=!0x0),this[_0x2680('0x145')]['get'](_0x33f2aa)){case'notReady':this[_0x2680('0x145')][_0x2680('0x114')](_0x33f2aa,_0x2680('0x171'));break;case _0x2680('0xf5'):_0x33f2aa['isInContent']?(this[_0x2680('0xc0')](new Set([_0x33f2aa])),this[_0x2680('0x169')](new Set([_0x33f2aa])),this[_0x2680('0x145')][_0x2680('0x114')](_0x33f2aa,_0x2680('0x48')),this['fire'](_0x2680('0xed'),_0x33f2aa)):this['_suggestionState']['set'](_0x33f2aa,_0x2680('0x157'));}return _0x33f2aa;}[_0x2680('0x13c')](_0x4b44a6){this[_0x2680('0x26')](()=>{this[_0x2680('0x133')][_0x2680('0x93')][_0x2680('0x129')](()=>{for(const _0x1119e5 of _0x4b44a6[_0x2680('0x79')]())_0x1119e5[_0x2680('0xe6')]();});});}[_0x2680('0x4c')](_0x14d648){this[_0x2680('0x26')](()=>{this['editor']['model'][_0x2680('0x129')](()=>{for(const _0x1421d2 of _0x14d648[_0x2680('0x79')]())_0x1421d2[_0x2680('0x176')]();});});}[_0x2680('0xfa')](_0x484b04,_0x8e7bf4){const _0x3ffac4=this['editor'][_0x2680('0xb3')][_0x2680('0x75')](_0x484b04);if(!_0x3ffac4)throw new _0x576f16('track-changes-command-not-found',this,{'commandName':_0x484b04});if(this[_0x2680('0x61')][_0x2680('0x49')](_0x3ffac4))throw new _0x576f16(_0x2680('0x25'),this,{'commandName':_0x484b04});this[_0x2680('0x61')][_0x2680('0x11b')](_0x3ffac4),_0x8e7bf4&&_0x3ffac4['on'](_0x2680('0xfb'),(_0x2d2987,_0x2e003c)=>{this[_0x2680('0x168')][_0x2680('0x110')]&&(this[_0x2680('0xa4')]||(_0x2e003c['length']>0x0&&_0x2e003c[_0x2e003c[_0x2680('0x9f')]-0x1]&&_0x2e003c[_0x2e003c['length']-0x1][_0x2680('0x26')]?_0x2e003c[_0x2680('0x8b')]():(_0x2d2987[_0x2680('0x16d')]=_0x8e7bf4((..._0x519d55)=>_0x3ffac4['execute'](..._0x519d55,{'forceDefaultExecution':!0x0}),..._0x2e003c),_0x2d2987['stop']())));},{'priority':_0x2680('0x1d')});}[_0x2680('0x26')](_0x5bd8c5){let _0x39f8fa,_0x1460d7;const _0x38cd84=this[_0x2680('0xa4')];this[_0x2680('0xa4')]=!0x0;try{_0x39f8fa=_0x5bd8c5();}catch(_0x411fcb){_0x1460d7=_0x411fcb;}return _0x38cd84||(this[_0x2680('0xa4')]=!0x1),_0x1460d7&&_0x576f16[_0x2680('0xaf')](_0x1460d7,this),_0x39f8fa;}['markInsertion'](_0x48d30b,_0x5a3e53=null,_0x5c5319={}){if(_0x48d30b[_0x2680('0x17a')])return null;const _0x8ce5d=this[_0x2680('0x133')][_0x2680('0x14a')]['get']('Users')['me'];for(const {suggestion:_0x2f3915,meta:_0x4ac73d}of this[_0x2680('0x10')](_0x48d30b,_0x2680('0xd5')))if(_0x4ac73d[_0x2680('0x13e')]){if(!_0x4ac73d[_0x2680('0xfc')]){if(_0x4ac73d[_0x2680('0x50')]){if(!this['_mergeNestedSuggestions']||!Ft(_0x2f3915,_0x5c5319))continue;return _0x2f3915;}if(Ft(_0x2f3915,_0x5c5319))return _0x2f3915;this[_0x2680('0xf')](_0x2f3915,_0x48d30b[_0x2680('0x15')],_0x48d30b[_0x2680('0xbd')]);break;}if(_0x5a3e53==_0x2f3915['subType']&&Ft(_0x2f3915,_0x5c5319)){const _0x2e94e5=_0x2f3915[_0x2680('0xc9')]();return _0x2e94e5[_0x2680('0x15')]['isEqual'](_0x48d30b[_0x2680('0xbd')])?this[_0x2680('0x6e')](_0x2f3915,this[_0x2680('0x117')][_0x2680('0x22')](_0x48d30b['start'],_0x2e94e5[_0x2680('0xbd')])):this[_0x2680('0x6e')](_0x2f3915,this[_0x2680('0x117')][_0x2680('0x22')](_0x2e94e5[_0x2680('0x15')],_0x48d30b[_0x2680('0xbd')])),_0x2f3915;}}const _0x26c576=_0x4a0fa0(),_0x121844=_0x8ce5d['id'],_0x4320af=_0x5a3e53?_0x2680('0x135')+_0x5a3e53:_0x2680('0xd5'),_0x4bc0ab=this[_0x2680('0x84')]({'id':_0x26c576,'type':_0x4320af,'createdAt':new Date(),'authorId':_0x121844,'attributes':_0x5c5319});return this[_0x2680('0x13b')](_0x4320af,_0x26c576,_0x121844,_0x48d30b),_0x4bc0ab;}[_0x2680('0x4')](_0x13284c,_0x37e73a=_0x2680('0x66'),_0x5a0196={}){const _0x5147dd=this[_0x2680('0x133')][_0x2680('0x14a')]['get']('Users')['me'],_0x510a9e=this[_0x2680('0x100')][_0x2680('0xfd')](_0x2680('0xd5'),_0x37e73a,_0x2680('0xde'));for(const _0xb7d14a of this[_0x2680('0x10c')]())if(_0xb7d14a['author']['id']==_0x5147dd['id']&&_0x2680('0xd5')==_0xb7d14a[_0x2680('0x4e')]&&_0xb7d14a[_0x2680('0x166')]==_0x37e73a&&Ft(_0xb7d14a,_0x5a0196)&&(_0x510a9e(_0xb7d14a[_0x2680('0xa8')](),_0x13284c)||_0x510a9e(_0x13284c,_0xb7d14a[_0x2680('0xa8')]()))){for(const _0x682ceb of _0x13284c)_0xb7d14a[_0x2680('0x41')](_0x682ceb);return _0xb7d14a;}for(const {suggestion:_0x11c9b5,meta:_0x2adffa}of this[_0x2680('0x10')](_0x13284c,'insertion')){if(!_0x2adffa['isOwn'])continue;if(!this[_0x2680('0x8a')]&&_0x2adffa[_0x2680('0x50')])continue;if(!Ft(_0x11c9b5,_0x5a0196))continue;let _0x2a9edc=!0x0;for(const _0x3bf768 of _0x11c9b5[_0x2680('0xa8')]())for(const _0x21114d of _0x13284c)if(!_0x3bf768[_0x2680('0x170')](_0x21114d)){_0x2a9edc=!0x1;break;}if(_0x2a9edc)return _0x11c9b5;}const _0x240b02=_0x4a0fa0(),_0x3940fe=_0x5147dd['id'],_0x538621=_0x2680('0x135')+_0x37e73a,_0x2d7e7b=this[_0x2680('0x84')]({'id':_0x240b02,'type':_0x538621,'createdAt':new Date(),'authorId':_0x3940fe,'attributes':_0x5a0196});for(const _0x1ade7b of _0x13284c)this[_0x2680('0x13b')](_0x538621,_0x240b02,_0x3940fe,_0x1ade7b,_0x3abe10['getMultiRangeId']());return _0x2d7e7b;}['markInlineFormat'](_0x6ef9d4,_0x35424b,_0x23767e=null,_0x2fe6e4={}){if(_0x23767e=_0x23767e||Rt(_0x35424b),_0x6ef9d4['isCollapsed'])return null;if('never'===this[_0x2680('0x1c')]){const _0xc143be=this['_suggestionFactory'][_0x2680('0xfd')](_0x2680('0x103'),_0x23767e,'accept');return this['forceDefaultExecution'](()=>_0xc143be([_0x6ef9d4],_0x35424b,_0x2fe6e4)),null;}const _0x1f5748=this['editor'][_0x2680('0x14a')][_0x2680('0x75')](_0x2680('0xdf'))['me'],_0xab8158=[];if(_0x2680('0xcd')!==this[_0x2680('0x1c')])for(const {suggestion:_0x22ea69,meta:_0x39f58e}of this[_0x2680('0x10')](_0x6ef9d4,'insertion'))_0x39f58e[_0x2680('0x13e')]&&!_0x39f58e[_0x2680('0xb0')]&&_0xab8158[_0x2680('0xa')](..._0x22ea69[_0x2680('0xa8')]());const _0x2225c9=function(_0x53a1a1,_0x2e5d02){const _0x2deec7=[];for(const _0x15f2fb of _0x2e5d02){const _0x2a6b55=_0x53a1a1[_0x2680('0x8f')](_0x15f2fb);_0x2a6b55&&_0x2deec7[_0x2680('0xa')](_0x2a6b55);}return _0x2deec7;}(_0x6ef9d4,_0xab8158),_0x387117=function(_0x2b202b,_0x4cb98d){const _0x26bf01=[_0x2b202b];for(const _0x19f37c of _0x4cb98d){let _0x2737d2=0x0;for(;_0x2737d2<_0x26bf01[_0x2680('0x9f')];){const _0x5f3039=_0x26bf01[_0x2737d2]['getDifference'](_0x19f37c);_0x26bf01[_0x2680('0x58')](_0x2737d2,0x1,..._0x5f3039),_0x2737d2+=_0x5f3039[_0x2680('0x9f')];}}return _0x26bf01;}(_0x6ef9d4,_0xab8158);_0x2225c9[_0x2680('0x9f')]&&this[_0x2680('0x117')][_0x2680('0x129')](()=>{for(const _0x205d7a of _0x2225c9){const _0x19cccd=this['_suggestionFactory'][_0x2680('0xfd')](_0x2680('0x103'),_0x23767e,'accept');this[_0x2680('0x26')](()=>_0x19cccd([_0x205d7a],_0x35424b,_0x2fe6e4));}});for(const _0x4cce3e of _0x387117){let _0x27795c=null,_0x20af71=_0x4cce3e['start'],_0x53d9c3=_0x4cce3e['end'];for(const {suggestion:_0x2ec452,meta:_0x1e88f1}of this['_findSuggestions'](_0x4cce3e,_0x2680('0x103'))){if(!_0x1e88f1[_0x2680('0x13e')])continue;if(_0x2ec452['subType']!=_0x23767e)continue;if(!Ft(_0x2ec452,_0x2fe6e4))continue;const _0x9d607e=_0x2ec452[_0x2680('0xc9')]();if(_0x9d607e[_0x2680('0x170')](_0x4cce3e,!0x0))return null;_0x20af71=_0x20af71[_0x2680('0x10f')](_0x9d607e[_0x2680('0x15')])?_0x20af71:_0x9d607e[_0x2680('0x15')],_0x53d9c3=_0x53d9c3[_0x2680('0xac')](_0x9d607e[_0x2680('0xbd')])?_0x53d9c3:_0x9d607e[_0x2680('0xbd')],_0x27795c?_0x9d607e['start'][_0x2680('0x10f')](_0x27795c[_0x2680('0xc9')]()['start'])?(_0x27795c['removeMarkers'](),_0x27795c=_0x2ec452):_0x2ec452[_0x2680('0x91')]():_0x27795c=_0x2ec452;}const _0x1e230b=this[_0x2680('0x117')][_0x2680('0x22')](_0x20af71,_0x53d9c3);if(_0x27795c)this[_0x2680('0x6e')](_0x27795c,_0x1e230b);else{const _0x3bcb1a=_0x4a0fa0(),_0x144ace=_0x1f5748['id'];this[_0x2680('0x84')]({'id':_0x3bcb1a,'type':_0x2680('0x44')+_0x23767e,'data':_0x35424b,'createdAt':new Date(),'authorId':_0x144ace,'attributes':_0x2fe6e4}),this[_0x2680('0x13b')](_0x2680('0x44')+_0x23767e,_0x3bcb1a,_0x144ace,_0x1e230b);}}return null;}[_0x2680('0x130')](_0x343f65,_0x56c4c2,_0x2a7ff3=[],_0x2490e5=null,_0x2e9ab3={}){_0x56c4c2[_0x2680('0x156')]||(_0x56c4c2['formatGroupId']=_0x56c4c2['commandName']),_0x56c4c2[_0x2680('0x30')]=_0x343f65['is']('range'),_0x2490e5=_0x2490e5||Rt(_0x56c4c2);const _0x4ef666=_0x2a7ff3[_0x2680('0x36')](_0x23a0a1=>Ut(_0x23a0a1,this[_0x2680('0x117')])),_0x109482=_0x343f65['is']('range')?_0x343f65:Ut(_0x343f65,this['_model']);if('never'===this['_trackFormatChanges']){const _0x276ba5=this[_0x2680('0x100')][_0x2680('0xfd')](_0x2680('0x15c'),_0x2490e5,_0x2680('0xe6'));return this[_0x2680('0x26')](()=>_0x276ba5([_0x109482],_0x56c4c2,_0x2e9ab3)),null;}_0x4ef666['push'](_0x109482);let _0x2941bc=!0x0;for(const _0x473928 of _0x4ef666)if(!this[_0x2680('0x7d')](_0x473928)){_0x2941bc=!0x1;break;}if(_0x2941bc&&_0x2680('0xcd')!==this['_trackFormatChanges']){const _0x165b33=this['_suggestionFactory'][_0x2680('0xfd')](_0x2680('0x15c'),_0x2490e5,_0x2680('0xe6'));return this[_0x2680('0x26')](()=>_0x165b33([_0x109482],_0x56c4c2,_0x2e9ab3)),null;}let _0x2e98e8=null,_0x437969=_0x109482[_0x2680('0x15')],_0x8c4f77=_0x109482['end'];for(const {suggestion:_0x502cff,meta:_0x568f55}of this[_0x2680('0x10')](_0x109482,_0x2680('0x15c'))){if(!_0x568f55[_0x2680('0x13e')])continue;if(_0x568f55[_0x2680('0xfc')]||_0x568f55['containsRangeInObject']||_0x568f55[_0x2680('0xb0')])continue;if(_0x502cff[_0x2680('0x181')][_0x2680('0x156')]!=_0x56c4c2[_0x2680('0x156')])continue;if(!Ft(_0x502cff,_0x2e9ab3))continue;const _0x284e25=_0x502cff[_0x2680('0xc9')]();if(_0x502cff[_0x2680('0x166')]==_0x2490e5){if(_0x284e25['containsRange'](_0x109482,!0x0))return null;_0x437969=_0x437969['isBefore'](_0x284e25[_0x2680('0x15')])?_0x437969:_0x284e25['start'],_0x8c4f77=_0x8c4f77[_0x2680('0xac')](_0x284e25[_0x2680('0xbd')])?_0x8c4f77:_0x284e25[_0x2680('0xbd')],_0x2e98e8?_0x284e25[_0x2680('0x15')][_0x2680('0x10f')](_0x2e98e8['getFirstRange']()[_0x2680('0x15')])?(_0x2e98e8['removeMarkers'](),_0x2e98e8=_0x502cff):_0x502cff[_0x2680('0x91')]():_0x2e98e8=_0x502cff;}else{const _0x31e0a3=_0x109482[_0x2680('0x8f')](_0x284e25);this[_0x2680('0xc7')](_0x502cff,_0x31e0a3);}}const _0x3e285b=this['editor']['plugins'][_0x2680('0x75')](_0x2680('0xdf'))['me'],_0x299463=_0x4a0fa0(),_0x296601=_0x3e285b['id'];if(_0x2e98e8)return this[_0x2680('0x6e')](_0x2e98e8,this[_0x2680('0x117')]['createRange'](_0x437969,_0x8c4f77)),_0x2e98e8;{const _0x217361=this[_0x2680('0x84')]({'id':_0x299463,'type':_0x2680('0xc5')+_0x2490e5,'data':_0x56c4c2,'createdAt':new Date(),'authorId':_0x296601,'attributes':_0x2e9ab3});return this[_0x2680('0x13b')](_0x2680('0xc5')+_0x2490e5,_0x299463,_0x296601,this[_0x2680('0x117')][_0x2680('0x22')](_0x437969,_0x8c4f77)),_0x217361;}}['markMultiRangeBlockFormat'](_0x72ecc9,_0x51d3f6,_0x3000c0=[],_0x5591ee=null,_0x1f6010={}){_0x51d3f6[_0x2680('0x156')]||(_0x51d3f6[_0x2680('0x156')]=_0x51d3f6[_0x2680('0x15b')]);const _0x1e7972=_0x72ecc9[0x0];_0x51d3f6[_0x2680('0x30')]=_0x1e7972['is']('range'),_0x5591ee=_0x5591ee||Rt(_0x51d3f6);const _0x24b4bd=_0x3000c0[_0x2680('0x36')](_0x7bd0e5=>Ut(_0x7bd0e5,this['_model'])),_0x37ba01=_0x1e7972['is']('range')?_0x72ecc9:_0x72ecc9[_0x2680('0x36')](_0x22a339=>Ut(_0x22a339,this[_0x2680('0x117')]));if(_0x2680('0x59')===this[_0x2680('0x1c')]){const _0x2ac8c3=this[_0x2680('0x100')][_0x2680('0xfd')](_0x2680('0x15c'),_0x5591ee,_0x2680('0xe6'));return this[_0x2680('0x26')](()=>_0x2ac8c3(_0x37ba01,_0x51d3f6,_0x1f6010)),null;}_0x24b4bd[_0x2680('0xa')](..._0x37ba01);let _0x3ee211=!0x0;for(const _0xc1cff9 of _0x24b4bd)if(!this[_0x2680('0x7d')](_0xc1cff9)){_0x3ee211=!0x1;break;}if(_0x3ee211&&_0x2680('0xcd')!==this[_0x2680('0x1c')]){const _0x1d95da=this[_0x2680('0x100')][_0x2680('0xfd')]('formatBlock',_0x5591ee,_0x2680('0xe6'));return this[_0x2680('0x26')](()=>_0x1d95da(_0x37ba01,_0x51d3f6,_0x1f6010)),null;}const _0x318cc5=this[_0x2680('0x133')]['plugins']['get'](_0x2680('0xdf'))['me'];for(const _0x1e4171 of this['getSuggestions']()){if(_0x1e4171[_0x2680('0x109')]['id']!=_0x318cc5['id'])continue;if('formatBlock'!=_0x1e4171[_0x2680('0x4e')]||_0x1e4171[_0x2680('0x181')][_0x2680('0x156')]!=_0x51d3f6[_0x2680('0x156')])continue;if(!Ft(_0x1e4171,_0x1f6010))continue;const _0x433e36=_0x1e4171[_0x2680('0x166')]==_0x5591ee;for(let _0x2db3fe=0x0;_0x2db3fe<_0x37ba01['length'];_0x2db3fe++){const _0x4490f8=_0x37ba01[_0x2db3fe];for(const _0x2f20ae of _0x1e4171[_0x2680('0xe8')]()){const _0x4981a2=_0x2f20ae[_0x2680('0xb5')]();if(_0x4490f8[_0x2680('0xd1')](_0x4981a2)){_0x433e36?(_0x37ba01[_0x2680('0x58')](_0x2db3fe,0x1),_0x2db3fe--):_0x1e4171['removeMarker'](_0x2f20ae['name']);break;}}}}if(0x0==_0x37ba01[_0x2680('0x9f')])return null;const _0x1dbdd8=this[_0x2680('0x100')][_0x2680('0xfd')]('formatBlock',_0x5591ee,_0x2680('0xde'));for(const _0x10c877 of this[_0x2680('0x10c')]())if(_0x10c877[_0x2680('0x109')]['id']==_0x318cc5['id']&&_0x2680('0x15c')==_0x10c877[_0x2680('0x4e')]&&_0x10c877[_0x2680('0x181')][_0x2680('0x156')]==_0x51d3f6[_0x2680('0x156')]&&_0x10c877['subType']==_0x5591ee&&Ft(_0x10c877,_0x1f6010)&&(_0x1dbdd8(_0x10c877[_0x2680('0xa8')](),_0x37ba01)||_0x1dbdd8(_0x37ba01,_0x10c877[_0x2680('0xa8')]()))){for(const _0x5fc4ac of _0x37ba01)_0x10c877['addRange'](_0x5fc4ac);return _0x10c877;}const _0x2cb7b5=_0x4a0fa0(),_0x37f457=_0x318cc5['id'],_0xa3a61e=_0x2680('0xc5')+_0x5591ee,_0x538386=this[_0x2680('0x84')]({'id':_0x2cb7b5,'type':_0xa3a61e,'data':_0x51d3f6,'createdAt':new Date(),'authorId':_0x37f457,'attributes':_0x1f6010});for(const _0xe1a53d of _0x37ba01)this[_0x2680('0x13b')](_0xa3a61e,_0x2cb7b5,_0x37f457,_0xe1a53d,_0x3abe10[_0x2680('0xa7')]());return _0x538386;}['markDeletion'](_0x21722a,_0x2f0dee=null,_0x384662={}){if(_0x21722a['isCollapsed'])return null;const _0x1a1f01=this['editor'][_0x2680('0x14a')][_0x2680('0x75')](_0x2680('0xdf'))['me'],_0x37c596=new _0x160425(_0x21722a[_0x2680('0x15')],_0x21722a[_0x2680('0xbd')]);for(const {suggestion:_0x2b4c6e,meta:_0x5078fb}of this[_0x2680('0x10')](_0x37c596,_0x2680('0xd5')))if(_0x5078fb[_0x2680('0x13e')]&&!_0x5078fb[_0x2680('0xfc')]){if(_0x2b4c6e[_0x2680('0x24')]){const _0x108b38=_0x2b4c6e['getRanges']()[_0x2680('0xca')](_0x517ec2=>'$graveyard'!=_0x517ec2[_0x2680('0xf9')][_0x2680('0x15d')]);_0x108b38[_0x2680('0x87')](_0x2e68db=>_0x37c596[_0x2680('0x170')](_0x2e68db,!0x0))&&_0x2b4c6e[_0x2680('0x176')]();if(_0x108b38[_0x2680('0x2')](_0x29fb79=>_0x29fb79['containsRange'](_0x37c596,!0x0))){const _0x5e84d8=this['_suggestionFactory'][_0x2680('0xfd')](_0x2680('0xd8'),_0x2f0dee,_0x2680('0xe6'));return this[_0x2680('0x26')](()=>_0x5e84d8([_0x37c596],null,_0x384662)),null;}}else{const _0x1cf31a=_0x37c596['getIntersection'](_0x2b4c6e['getFirstRange']());null!==_0x1cf31a&&_0x2b4c6e[_0x2680('0x5a')]([_0x1cf31a],null,_0x384662);}}if(_0x37c596[_0x2680('0x7c')](),_0x37c596[_0x2680('0x17a')]||_0x2680('0x37')==_0x37c596[_0x2680('0xf9')][_0x2680('0x15d')])return null;let _0x4e476a=null,_0x3f5fc6=_0x37c596['start'],_0x318149=_0x37c596[_0x2680('0xbd')];const _0x5ed333=this['_findSuggestions'](_0x37c596,'deletion');for(const {suggestion:_0x57791b,meta:_0xa659bc}of _0x5ed333){const _0x4a94bc=this[_0x2680('0x117')][_0x2680('0x22')](_0x3f5fc6,_0x318149);if(_0xa659bc[_0x2680('0x13e')]&&(this['_mergeNestedSuggestions']||!_0xa659bc[_0x2680('0x50')]&&!_0xa659bc[_0x2680('0xb0')])){if(_0x57791b[_0x2680('0x24')]){if(!Ft(_0x57791b,_0x384662))continue;let _0x1700e3=!0x0;for(const _0x243b54 of _0x57791b[_0x2680('0xa8')]()){if(_0x243b54['containsRange'](_0x4a94bc,!0x0))return _0x57791b;_0x4a94bc[_0x2680('0x170')](_0x243b54)||(_0x1700e3=!0x1);}_0x1700e3&&_0x57791b[_0x2680('0x176')]();}else{const _0x246f31=_0x57791b[_0x2680('0xc9')]();if(_0x246f31[_0x2680('0x170')](_0x4a94bc,!0x0))return _0x57791b;if(!Ft(_0x57791b,_0x384662)){_0x4a94bc[_0x2680('0x170')](_0x246f31)?_0x57791b['removeMarkers']():_0x246f31[_0x2680('0xc1')](_0x3f5fc6)?_0x3f5fc6=_0x246f31[_0x2680('0xbd')]:_0x246f31[_0x2680('0xc1')](_0x318149)&&(_0x318149=_0x246f31[_0x2680('0x15')]);continue;}_0x3f5fc6=_0x3f5fc6[_0x2680('0x10f')](_0x246f31['start'])?_0x3f5fc6:_0x246f31[_0x2680('0x15')],_0x318149=_0x318149[_0x2680('0xac')](_0x246f31[_0x2680('0xbd')])?_0x318149:_0x246f31[_0x2680('0xbd')],_0x384662=Object[_0x2680('0xa0')]({},_0x57791b['attributes']),_0x4e476a?_0x246f31[_0x2680('0x15')]['isBefore'](_0x4e476a[_0x2680('0xc9')]()['start'])?(_0x4e476a['removeMarkers'](),_0x4e476a=_0x57791b):_0x57791b[_0x2680('0x91')]():_0x4e476a=_0x57791b;}}}if(_0x4e476a)return this[_0x2680('0x6e')](_0x4e476a,this[_0x2680('0x117')][_0x2680('0x22')](_0x3f5fc6,_0x318149)),_0x4e476a;{const _0x5324b5=_0x4a0fa0(),_0x516f3d=this['_model'][_0x2680('0x22')](_0x3f5fc6,_0x318149),_0x64c29a=_0x1a1f01['id'],_0x2a5fe5=_0x2f0dee?'deletion:'+_0x2f0dee:_0x2680('0xd8'),_0x2fc280=this['_setSuggestionData']({'id':_0x5324b5,'type':_0x2a5fe5,'createdAt':new Date(),'authorId':_0x64c29a,'attributes':_0x384662});return this[_0x2680('0x13b')](_0x2a5fe5,_0x5324b5,_0x64c29a,_0x516f3d),_0x2fc280;}}[_0x2680('0xc4')](_0x1a2d50,_0x18e49f=_0x2680('0x66'),_0x5139c5={}){const _0x58cb54=this['editor'][_0x2680('0x14a')][_0x2680('0x75')](_0x2680('0xdf'))['me'],_0x5e832f=_0x1a2d50[_0x2680('0x36')](_0x3fb8c7=>new _0x160425(_0x3fb8c7['start'],_0x3fb8c7[_0x2680('0xbd')])),_0x2503a0=new Set();for(const {suggestion:_0x4988b8,meta:_0x2f9166}of this[_0x2680('0x10')](_0x5e832f,_0x2680('0xd5')))_0x2f9166['isOwn']&&!_0x2f9166[_0x2680('0xfc')]&&_0x2503a0[_0x2680('0x11b')](_0x4988b8);for(const _0xa0b545 of _0x2503a0)if(_0xa0b545[_0x2680('0x24')]){const _0x27917f=_0xa0b545['getRanges']();(!_0xa0b545[_0x2680('0xbf')]||!_0xa0b545[_0x2680('0xbf')][_0x2680('0x13a')])&&(_0x27917f[_0x2680('0x87')](_0x3e1d35=>_0x5e832f[_0x2680('0x2')](_0x4f6b80=>_0x4f6b80[_0x2680('0x170')](_0x3e1d35,!0x0)))&&_0xa0b545[_0x2680('0x176')]());if(_0x5e832f[_0x2680('0x87')](_0x575016=>_0x27917f['some'](_0x320ce8=>_0x320ce8['containsRange'](_0x575016,!0x0)))){const _0x2aebdc=this[_0x2680('0x100')][_0x2680('0xfd')](_0x2680('0xd8'),_0x18e49f,_0x2680('0xe6'));return this[_0x2680('0x26')](()=>_0x2aebdc(_0x1a2d50,null,_0x5139c5)),null;}}else{const _0x29f28b=_0xa0b545[_0x2680('0xc9')]();_0x5e832f['some'](_0x1928b9=>_0x1928b9[_0x2680('0x170')](_0x29f28b,!0x0))&&_0xa0b545[_0x2680('0x176')]();if(_0x5e832f[_0x2680('0x87')](_0x1e3a19=>_0x29f28b[_0x2680('0x170')](_0x1e3a19,!0x0))){const _0x295c3e=this[_0x2680('0x100')]['getSuggestionCallback'](_0x2680('0xd8'),_0x18e49f,_0x2680('0xe6'));return this[_0x2680('0x26')](()=>_0x295c3e(_0x5e832f,null,_0x5139c5)),null;}}const _0x45e78b=this[_0x2680('0x100')]['getSuggestionCallback']('deletion',_0x18e49f,'join');let _0x5c6ce4=null;for(const _0x2625da of this['getSuggestions']())if(_0x2625da[_0x2680('0x109')]['id']==_0x58cb54['id']&&_0x2625da[_0x2680('0x42')]&&_0x2680('0xd8')==_0x2625da['type']&&_0x2625da[_0x2680('0x166')]==_0x18e49f&&Ft(_0x2625da,_0x5139c5)&&(_0x45e78b(_0x2625da['getRanges'](),_0x5e832f)||_0x45e78b(_0x5e832f,_0x2625da['getRanges']()))){if(_0x5c6ce4){if(_0x2625da['commentThread']&&_0x2625da[_0x2680('0xf3')]['length'])continue;for(const _0x139fdc of _0x2625da[_0x2680('0xa8')]())_0x5c6ce4[_0x2680('0x16e')](_0x139fdc)||_0x5c6ce4[_0x2680('0x41')](_0x139fdc);_0x2625da[_0x2680('0x91')]();}else{_0x5c6ce4=_0x2625da;for(const _0x1fdcb1 of _0x5e832f)_0x2625da[_0x2680('0x16e')](_0x1fdcb1)||_0x2625da[_0x2680('0x41')](_0x1fdcb1);}}if(_0x5c6ce4)return _0x5c6ce4;_0x2503a0[_0x2680('0x123')]();for(const {suggestion:_0x147576,meta:_0xf50834}of this[_0x2680('0x10')](_0x5e832f,_0x2680('0xd8')))_0xf50834[_0x2680('0x13e')]&&(this[_0x2680('0x8a')]||!_0xf50834[_0x2680('0x50')]&&!_0xf50834['isInsideObject'])&&Ft(_0x147576,_0x5139c5)&&_0x2503a0['add'](_0x147576);for(const _0x291f7f of _0x2503a0){const _0x404ddd=_0x291f7f['getRanges']();if(!_0x5139c5||!_0x5139c5['skipNestingCheck']){if(_0x5e832f[_0x2680('0x87')](_0xd30543=>_0x404ddd[_0x2680('0x2')](_0x351651=>_0x351651[_0x2680('0x170')](_0xd30543,!0x0))))return _0x291f7f;}(!_0x291f7f['attributes']||!_0x291f7f['attributes'][_0x2680('0x13a')])&&(_0x404ddd[_0x2680('0x87')](_0x256466=>_0x5e832f['some'](_0x3b7504=>_0x3b7504[_0x2680('0x170')](_0x256466,!0x0)))&&_0x291f7f[_0x2680('0x176')]());}const _0x4bfe5f=_0x4a0fa0(),_0x57c658=_0x58cb54['id'],_0x3c9324=_0x2680('0x10d')+_0x18e49f,_0x4394ac=this[_0x2680('0x84')]({'id':_0x4bfe5f,'type':_0x3c9324,'createdAt':new Date(),'authorId':_0x57c658,'attributes':_0x5139c5});for(const _0x80f946 of _0x5e832f)_0x80f946['detach'](),_0x80f946[_0x2680('0x17a')]||'$graveyard'==_0x80f946[_0x2680('0xf9')][_0x2680('0x15d')]||this[_0x2680('0x13b')](_0x3c9324,_0x4bfe5f,_0x57c658,_0x80f946,_0x3abe10[_0x2680('0xa7')]());return _0x4394ac;}[_0x2680('0x16b')](_0x348ba7,_0x51c6d3,_0x773ec7,_0x1c2333,_0x462d26){if(_0x348ba7[_0x2680('0x17a')])return[];if(_0x2680('0x59')===this[_0x2680('0x1c')])return[];const _0x457423=this[_0x2680('0x133')][_0x2680('0x14a')][_0x2680('0x75')](_0x2680('0xdf'))['me']['id'],_0x4157b5=Array[_0x2680('0xf7')](this[_0x2680('0x54')]['values']())[_0x2680('0xca')](_0x4bf549=>_0x2680('0x9d')==_0x4bf549[_0x2680('0x4e')]&&_0x4bf549[_0x2680('0x181')]['key']==_0x51c6d3&&_0x4bf549[_0x2680('0x16e')](_0x348ba7));if(_0x2680('0x2c')===this['_trackFormatChanges']){const _0x5a9c6c=this[_0x2680('0x10')](_0x348ba7,_0x2680('0xd5'))['filter'](({meta:_0x5ee16f})=>_0x5ee16f[_0x2680('0x13e')]&&!_0x5ee16f[_0x2680('0xb0')]&&!_0x5ee16f['isNextTo'])[_0x2680('0x36')](({suggestion:_0x16d8e5})=>_0x16d8e5);_0x4157b5[_0x2680('0x3f')](..._0x5a9c6c);}const _0x29d974=new Map([[_0x348ba7,_0x773ec7]]);for(const _0x168647 of _0x4157b5){const _0x5d037f=_0x2680('0x9d')==_0x168647[_0x2680('0x4e')]?_0x168647['data'][_0x2680('0x7')]:void 0x0,_0xe19942=_0x168647[_0x2680('0xc9')](),_0x2a2ff8=Array[_0x2680('0xf7')](_0x29d974[_0x2680('0x32')]())['find'](_0x11df4b=>_0x11df4b[_0x2680('0x77')](_0xe19942));_0x2a2ff8&&(_0x29d974[_0x2680('0x122')](_0x2a2ff8),_0x2a2ff8[_0x2680('0x96')](_0xe19942)['forEach'](_0x3481e6=>{_0x29d974[_0x2680('0x114')](_0x3481e6,_0x773ec7);}),_0x2680('0xd5')!=_0x168647[_0x2680('0x4e')]&&_0x5d037f!=_0x1c2333&&_0x29d974[_0x2680('0x114')](_0x2a2ff8[_0x2680('0x8f')](_0xe19942),_0x5d037f));}const _0x37f568=[];for(const [_0x4785e9,_0x382cb7]of _0x29d974){const _0x599de4=_0x4a0fa0(),_0x115dd6={'key':_0x51c6d3,'oldValue':_0x382cb7,'newValue':_0x1c2333};_0x51c6d3[_0x2680('0x9f')]>0x25&&console['warn']('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.',{'key':_0x51c6d3});const _0x52d659=(_0x2680('0x3')+(_0x51c6d3+'|'+Rt({'newValue':_0x1c2333})))[_0x2680('0x55')](0x0,0x3c),_0x1fc41c=this[_0x2680('0x84')]({'id':_0x599de4,'type':_0x52d659,'data':_0x115dd6,'createdAt':new Date(),'authorId':_0x457423,'attributes':_0x462d26});_0x37f568[_0x2680('0xa')](_0x1fc41c),this[_0x2680('0x13b')](_0x52d659,_0x599de4,_0x457423,_0x4785e9);}return _0x37f568;}[_0x2680('0xeb')](_0x478ea6){this['_blockAttributeKeys'][_0x2680('0x11b')](_0x478ea6);}[_0x2680('0x118')](_0x5c7f94){this[_0x2680('0x78')]['add'](_0x5c7f94);}[_0x2680('0x180')](_0xcecbb2,_0x1482c1=[],_0x5e99a7=[]){this['enableCommand'](_0xcecbb2,(_0x158033,..._0x2fa0e7)=>{this[_0x2680('0xdc')](()=>{_0x158033(..._0x2fa0e7);});});for(const _0x22dd8c of _0x1482c1)this[_0x2680('0x118')](_0x22dd8c);for(const _0x54e0cd of _0x5e99a7)this[_0x2680('0xeb')](_0x54e0cd);}[_0x2680('0x6e')](_0x266a68,_0x140820){const _0x4991e5=_0x266a68['getFirstMarker']();this[_0x2680('0x117')][_0x2680('0x129')](_0x251699=>{_0x251699[_0x2680('0x76')](_0x4991e5,{'range':_0x140820});});}[_0x2680('0x148')](_0x93afe2){const _0x5957c5=_0x93afe2['id'],_0x547e22=this[_0x2680('0x133')][_0x2680('0x88')]['get']('collaboration.channelId');this[_0x2680('0x9')][_0x2680('0xb8')](_0x5957c5)||this[_0x2680('0x9')]['addCommentThread']({'channelId':_0x547e22,'threadId':_0x5957c5,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x4daa3e=this[_0x2680('0x9')][_0x2680('0x105')](_0x5957c5);_0x4daa3e[_0x2680('0xba')](_0x2680('0x111')),_0x4daa3e['isRemovable']=!0x1,_0x93afe2['commentThread']=_0x4daa3e;}['_checkSuggestionCorrectness'](_0x3d42e9,_0x3069e9,_0x2a1f5,_0x53c564){if(_0x3d42e9[_0x2680('0x4e')]!=_0x3069e9||_0x3d42e9['subType']!=_0x2a1f5||_0x3d42e9[_0x2680('0xae')]['id']!=_0x53c564)throw this[_0x2680('0x133')][_0x2680('0x142')](_0x2680('0x29')),new _0x576f16('track-changes-suggestion-data-mismatch',this);}[_0x2680('0xc7')](_0x4f2325,_0x5e9f7e){const _0x6458b3=_0x4f2325[_0x2680('0xc9')]();if(_0x5e9f7e[_0x2680('0xd1')](_0x6458b3))_0x4f2325[_0x2680('0x91')]();else{if(_0x6458b3['containsRange'](_0x5e9f7e)){const _0x58bb7f=this[_0x2680('0x117')]['createPositionAt'](_0x5e9f7e[_0x2680('0x15')][_0x2680('0xd6')],'end');this[_0x2680('0x6e')](_0x4f2325,this['_model']['createRange'](_0x6458b3[_0x2680('0x15')],_0x58bb7f));const _0x511abb=_0x4a0fa0(),_0x300eda=_0x4f2325['creator']['id'],_0x696e12=_0x4f2325[_0x2680('0x4e')]+':'+_0x4f2325[_0x2680('0x166')];this[_0x2680('0x84')]({'id':_0x511abb,'type':_0x696e12,'createdAt':new Date(),'authorId':_0x300eda,'data':_0x4f2325[_0x2680('0x181')],'attributes':_0x4f2325[_0x2680('0xbf')]});const _0x491188=this['_model'][_0x2680('0x139')](_0x5e9f7e['end'][_0x2680('0x113')],_0x2680('0x64')),_0x400830=this['_model']['createRange'](_0x491188,_0x6458b3['end']);this[_0x2680('0x13b')](_0x696e12,_0x511abb,_0x300eda,_0x400830);}else{if(_0x6458b3['containsPosition'](_0x5e9f7e['start'])){const _0x4ae7cb=this[_0x2680('0x117')][_0x2680('0x139')](_0x5e9f7e[_0x2680('0x15')]['nodeBefore'],_0x2680('0xbd'));this['_setSuggestionRange'](_0x4f2325,this[_0x2680('0x117')][_0x2680('0x22')](_0x6458b3[_0x2680('0x15')],_0x4ae7cb));}else{const _0x5464dc=this[_0x2680('0x117')]['createPositionAt'](_0x5e9f7e['end'][_0x2680('0x113')],_0x2680('0x64'));this[_0x2680('0x6e')](_0x4f2325,this['_model']['createRange'](_0x5464dc,_0x6458b3[_0x2680('0xbd')]));}}}}[_0x2680('0x7d')](_0x207007){for(const {suggestion:_0x22a33c,meta:_0xe298c3}of this[_0x2680('0x10')](_0x207007,_0x2680('0xd5'))){if(!_0xe298c3[_0x2680('0x13e')])continue;const _0x346c8b=_0x22a33c[_0x2680('0xa8')]();for(const _0x2c51f9 of _0x346c8b)if(!_0x207007[_0x2680('0x96')](_0x2c51f9)[_0x2680('0x9f')])return!0x0;}return!0x1;}[_0x2680('0xcf')](_0x1500dc){const _0x224e76=this[_0x2680('0x133')]['plugins'][_0x2680('0x75')]('Users')[_0x2680('0x2d')](_0x1500dc);if(!_0x224e76)throw new _0x576f16('track-changes-user-not-found',this);return _0x224e76;}[_0x2680('0x8')](_0x23b6c9){const _0x4ecad9=this['editor'][_0x2680('0x14a')][_0x2680('0x75')]('Users'),_0x194eb1=_0x2a336f('external:'+_0x23b6c9),_0x44939f=_0x4ecad9['getUser'](_0x194eb1);return _0x44939f||_0x4ecad9[_0x2680('0x97')]({'id':_0x194eb1,'name':_0x23b6c9});}[_0x2680('0xf6')](_0x213e5f,_0x1b504a,_0x253eab,_0x2324f1,_0x400708){const _0x105a15=this[_0x2680('0xcf')](_0x2324f1),_0x117905=this[_0x2680('0x100')][_0x2680('0x57')](_0x213e5f,_0x1b504a,_0x253eab,_0x105a15,_0x400708,_0x151dfb=>this[_0x2680('0xa9')](_0x253eab,{'attributes':_0x151dfb}));return this[_0x2680('0x0')](_0x117905,'accept',()=>{this['_updateSuggestionData'](_0x253eab,{'state':_0x2680('0x63')});},{'priority':'high'}),this[_0x2680('0x0')](_0x117905,_0x2680('0x176'),()=>{this[_0x2680('0xa9')](_0x253eab,{'state':_0x2680('0x11d')});},{'priority':_0x2680('0x1d')}),this['_suggestions']['set'](_0x253eab,_0x117905),this['_suggestionState']['set'](_0x117905,_0x2680('0xc8')),_0x117905;}['_splitMarkerName'](_0x13eca1){const _0x453546=_0x13eca1[_0x2680('0x92')](':');return{'group':_0x453546[0x0],'type':_0x453546[0x1],'subType':_0x453546['length']>=0x5?_0x453546[0x2]:null,'id':_0x453546[_0x2680('0x9f')]<0x5?_0x453546[0x2]:_0x453546[0x3],'authorId':_0x453546[_0x2680('0x9f')]<0x5?_0x453546[0x3]:_0x453546[0x4],'markerCount':0x6==_0x453546[_0x2680('0x9f')]?_0x453546[0x5]:null};}[_0x2680('0xf')](_0x24e562,_0x3f1103,_0x1714ea){const _0x32fed2=_0x24e562[_0x2680('0xc9')](),_0x231ed4=_0x32fed2[_0x2680('0x15')],_0x347b55=_0x32fed2[_0x2680('0xbd')];this[_0x2680('0x6e')](_0x24e562,this[_0x2680('0x117')][_0x2680('0x22')](_0x231ed4,_0x3f1103));const _0x46be88=_0x4a0fa0(),_0x27b20c=_0x24e562['creator']['id'],_0x34c722=_0x24e562[_0x2680('0x4e')]+(_0x24e562['subType']?':'+_0x24e562['subType']:'');this[_0x2680('0x84')]({'id':_0x46be88,'type':_0x34c722,'createdAt':new Date(),'authorId':_0x27b20c,'originalSuggestionId':_0x24e562['id'],'attributes':_0x24e562[_0x2680('0xbf')],'data':_0x24e562[_0x2680('0x181')]});const _0x2cbb52=this['_getAttributeKeyFromSubType'](_0x24e562);(_0x2680('0x15c')==_0x24e562[_0x2680('0x4e')]||_0x2cbb52&&this[_0x2680('0x143')](_0x2cbb52))&&(_0x1714ea=this['_model'][_0x2680('0xaa')](_0x1714ea[_0x2680('0x113')])),this[_0x2680('0x13b')](_0x34c722,_0x46be88,_0x27b20c,this[_0x2680('0x117')][_0x2680('0x22')](_0x1714ea,_0x347b55));}[_0x2680('0x10')](_0x16d382,_0x4e5b7d=null){const _0x4ecc0f=[],_0x7cf172=this[_0x2680('0x133')][_0x2680('0x14a')][_0x2680('0x75')](_0x2680('0xdf'))['me'];Array['isArray'](_0x16d382)||(_0x16d382=[_0x16d382]);for(const _0x1d87ce of this[_0x2680('0x10c')]()){if(!_0x1d87ce[_0x2680('0x42')])continue;if(_0x4e5b7d&&_0x1d87ce['type']!=_0x4e5b7d)continue;let _0xceb8ea=!0x1;for(const _0x496edc of _0x1d87ce[_0x2680('0xa8')]()){for(const _0x2ff56d of _0x16d382){const _0x33800d=_0x2ff56d[_0x2680('0x15')][_0x2680('0xd1')](_0x496edc[_0x2680('0xbd')])||_0x2ff56d['end'][_0x2680('0xd1')](_0x496edc[_0x2680('0x15')]);if(_0x33800d||_0x2ff56d[_0x2680('0x8f')](_0x496edc)){const _0x2a6505=_0x2ff56d[_0x2680('0x170')](_0x496edc)&&Tt(this[_0x2680('0x117')][_0x2680('0x7a')],_0x496edc['start'],_0x2ff56d),_0x41c4b7=_0x496edc['containsRange'](_0x2ff56d)&&Tt(this[_0x2680('0x117')][_0x2680('0x7a')],_0x2ff56d[_0x2680('0x15')],_0x496edc);_0x4ecc0f[_0x2680('0xa')]({'suggestion':_0x1d87ce,'meta':{'isOwn':_0x7cf172==_0x1d87ce[_0x2680('0x109')],'isNextTo':_0x33800d,'isInsideObject':_0x2a6505,'containsRangeInObject':_0x41c4b7}}),_0xceb8ea=!0x0;break;}}if(_0xceb8ea)break;}}return _0x4ecc0f;}[_0x2680('0x13b')](_0x1b1cd3,_0x2c4769,_0x441711,_0x589594,_0x229ddc){this[_0x2680('0x117')][_0x2680('0x129')](_0x25a1a2=>{let _0x4d0370=_0x2680('0x95')+_0x1b1cd3+':'+_0x2c4769+':'+_0x441711;_0x229ddc&&(_0x4d0370=_0x4d0370+':'+_0x229ddc),_0x25a1a2[_0x2680('0x126')](_0x4d0370,{'range':_0x589594,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x5867e8){const _0x5cbfae=_0x5867e8['previous'],_0x47fac0=_0x5867e8[_0x2680('0xdb')];_0x5867e8[_0x2680('0xf2')]=null,_0x5867e8['next']=null,null!=_0x5cbfae&&(_0x5cbfae['next']=_0x47fac0),null!=_0x47fac0&&(_0x47fac0[_0x2680('0xf2')]=_0x5cbfae),'ready'==this[_0x2680('0x145')][_0x2680('0x75')](_0x5867e8)&&(this['_suggestionState']['set'](_0x5867e8,_0x2680('0x157')),this[_0x2680('0x28')](_0x2680('0x12d'),_0x5867e8,_0x5cbfae,_0x47fac0));}[_0x2680('0x84')](_0x148bab){const _0x54f79b=_0x148bab['id'],_0x443275=this[_0x2680('0x146')](_0x148bab);if(this[_0x2680('0x11e')]&&this[_0x2680('0x11e')][_0x2680('0x17')]){const _0x257596=this[_0x2680('0x133')][_0x2680('0x14a')][_0x2680('0x75')](_0x2680('0x138')),_0x2af26=_0x443275[_0x2680('0x14c')],_0x77aef6=_0x443275['subType']?_0x443275[_0x2680('0x4e')]+':'+_0x443275[_0x2680('0x166')]:_0x443275[_0x2680('0x4e')],_0x357115=this[_0x2680('0x133')]['locale'],_0x5f0b4c=_0x257596[_0x2680('0x11b')](_0x54932d(_0x357115,'PENDING_ACTION_SUGGESTION')),_0x254f9a={'id':_0x54f79b,'type':_0x77aef6,'hasComments':_0x2af26,'data':_0x148bab[_0x2680('0x181')]||null,'originalSuggestionId':_0x148bab[_0x2680('0x15a')]||null,'attributes':_0x443275[_0x2680('0xbf')]};this[_0x2680('0x11e')][_0x2680('0x17')](_0x254f9a)[_0x2680('0xb1')](_0x294394=>{_0x443275['_saved']=!0x0,_0x257596[_0x2680('0xbb')](_0x5f0b4c),_0x294394&&_0x294394[_0x2680('0x4f')]&&(this[_0x2680('0x54')][_0x2680('0x75')](_0x54f79b)[_0x2680('0x4f')]=_0x294394[_0x2680('0x4f')]);})[_0x2680('0x1b')](_0x243142=>{throw _0x1c48bf('error-saving-suggestion-data-suggestion-discarded'),this[_0x2680('0x133')]['model'][_0x2680('0x94')]({'isUndoable':!0x1},()=>{_0x443275[_0x2680('0x176')]();}),_0x443275[_0x2680('0x125')](),this[_0x2680('0x54')][_0x2680('0x122')](_0x443275['id']),this[_0x2680('0x145')][_0x2680('0x122')](_0x443275),_0x243142;});}return _0x443275;}[_0x2680('0x143')](_0x4f71f9){return this[_0x2680('0x3e')][_0x2680('0x49')](_0x4f71f9);}[_0x2680('0x12b')](_0x280ef5){return _0x2680('0x9d')==_0x280ef5[_0x2680('0x4e')]&&_0x280ef5[_0x2680('0x166')][_0x2680('0x92')]('|')[0x0];}[_0x2680('0xa9')](_0x46a80c,_0x587272){const _0x54a91e=this[_0x2680('0x133')][_0x2680('0x14a')][_0x2680('0x75')](_0x2680('0x138')),_0x497879=this[_0x2680('0x165')](_0x46a80c);if(this[_0x2680('0x11e')]&&this[_0x2680('0x11e')][_0x2680('0x160')]){if(_0x497879['_saved']){const _0x496d04=_0x54a91e['add'](_0x54932d(this['editor']['locale'],_0x2680('0xa1')));this['_adapter'][_0x2680('0x160')](_0x46a80c,_0x587272)['then'](()=>{_0x54a91e['remove'](_0x496d04);});}else _0x497879['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x46a80c,_0x587272);});}}[_0x2680('0x1')](_0x346936){if(!this[_0x2680('0x11e')]||!this[_0x2680('0x11e')][_0x2680('0x165')])throw new _0x576f16('track-changes-adapter-missing-getsuggestion',this);return this[_0x2680('0x11e')][_0x2680('0x165')](_0x346936);}['_handleNewSuggestionMarker'](_0x19e833){const {id:_0x113a10,type:_0x3138f3,subType:_0x4e85a8,authorId:_0x1800c8}=this[_0x2680('0x1a')](_0x19e833),_0x4f8c42=this['_suggestions']['get'](_0x113a10)||this[_0x2680('0xf6')](_0x3138f3,_0x4e85a8,_0x113a10,_0x1800c8,{});switch(this['_checkSuggestionCorrectness'](_0x4f8c42,_0x3138f3,_0x4e85a8,_0x1800c8),this[_0x2680('0x145')]['get'](_0x4f8c42)){case _0x2680('0xc8'):this[_0x2680('0x1')](_0x113a10)[_0x2680('0xb1')](_0x14acd0=>{let _0x932b57=Promise[_0x2680('0x3d')]();_0x14acd0[_0x2680('0x14c')]&&(_0x932b57=this[_0x2680('0x9')]['fetchCommentThread']({'channelId':this['editor'][_0x2680('0x88')]['get'](_0x2680('0x82')),'threadId':_0x113a10})),_0x932b57[_0x2680('0xb1')](()=>{this[_0x2680('0x146')](_0x14acd0)[_0x2680('0x89')]=!0x0;});}),this[_0x2680('0x145')][_0x2680('0x114')](_0x4f8c42,_0x2680('0xf5'));break;case'removed':this[_0x2680('0xa9')](_0x113a10,{'state':_0x2680('0x152')});case _0x2680('0x171'):this[_0x2680('0x145')][_0x2680('0x114')](_0x4f8c42,_0x2680('0x48')),this[_0x2680('0x28')](_0x2680('0xed'),_0x4f8c42);break;case _0x2680('0x48'):this[_0x2680('0x28')](_0x2680('0x161'),_0x4f8c42);}return _0x4f8c42[_0x2680('0x4b')](_0x19e833),_0x4f8c42;}[_0x2680('0xc0')](_0x47590a){const _0x1ccb17=Array['from'](_0x47590a),_0x5942f2=_0x1ccb17[_0x2680('0xca')](_0x1790d6=>_0x2680('0x9d')==_0x1790d6['type']);this[_0x2680('0x3a')](_0x5942f2);const _0x3b9edd=_0x1ccb17['filter'](_0x21da1a=>!_0x21da1a[_0x2680('0x24')]&&_0x2680('0x9d')!=_0x21da1a[_0x2680('0x4e')]),_0x4b2133=this[_0x2680('0x10c')]({'skipNotAttached':!0x0})['filter'](_0x5d2f84=>!_0x5d2f84[_0x2680('0x24')]&&_0x2680('0x9d')!=_0x5d2f84[_0x2680('0x4e')]),_0xcb4fcb=_0x4b2133[_0x2680('0xca')](_0x4320c9=>!_0x47590a['has'](_0x4320c9)),_0x152f72=new Map(_0x4b2133[_0x2680('0x36')](_0x121824=>[_0x121824,this[_0x2680('0x100')][_0x2680('0xfd')](_0x121824[_0x2680('0x4e')],_0x121824[_0x2680('0x166')],_0x2680('0x31'))])),_0x2cc696=new Map(_0x4b2133[_0x2680('0x36')](_0x126c73=>[_0x126c73,_0x126c73[_0x2680('0xc9')]()])),_0x238a1e=new Set(),_0x12d341=new Set();for(let _0x85ac40=0x0;_0x85ac40<_0x3b9edd['length'];_0x85ac40++)_0x2e0d20(_0x3b9edd[_0x85ac40],_0x3b9edd,_0x85ac40+0x1);for(let _0x101435=0x0;_0x101435<_0x3b9edd[_0x2680('0x9f')];_0x101435++)_0x2e0d20(_0x3b9edd[_0x101435],_0xcb4fcb,0x0);const _0x16ad36=new Set();for(let _0x2149b2=0x0;_0x2149b2<_0x3b9edd['length'];_0x2149b2++){const _0x24934d=_0x3b9edd[_0x2149b2];!_0x12d341[_0x2680('0x49')](_0x24934d)&&_0x24934d['previous']&&(_0x16ad36[_0x2680('0x11b')](_0x24934d[_0x2680('0xf2')]),_0x24934d[_0x2680('0xf2')]['next']===_0x24934d&&(_0x24934d[_0x2680('0xf2')][_0x2680('0xdb')]=null),_0x24934d['previous']=null),!_0x238a1e[_0x2680('0x49')](_0x24934d)&&_0x24934d['next']&&(_0x16ad36[_0x2680('0x11b')](_0x24934d[_0x2680('0xdb')]),_0x24934d['next'][_0x2680('0xf2')]===_0x24934d&&(_0x24934d['next'][_0x2680('0xf2')]=null),_0x24934d['next']=null);}function _0x2e0d20(_0x595d6b,_0x322a76,_0x485cfc){for(let _0x54aff2=_0x485cfc;_0x54aff2<_0x322a76[_0x2680('0x9f')];_0x54aff2++){const _0x202354=_0xad24c2(_0x595d6b,_0x322a76[_0x54aff2]);_0x202354&&(_0x202354[0x0][_0x2680('0xdb')]=_0x202354[0x1],_0x202354[0x1][_0x2680('0xf2')]=_0x202354[0x0],_0x238a1e[_0x2680('0x11b')](_0x202354[0x0]),_0x12d341[_0x2680('0x11b')](_0x202354[0x1]));}}function _0xad24c2(_0x4d2a8a,_0x21bd69){if(_0x4d2a8a[_0x2680('0x109')]['id']!==_0x21bd69['author']['id'])return null;const _0xc5ede9=_0x152f72[_0x2680('0x75')](_0x4d2a8a)(_0x4d2a8a,_0x21bd69,_0x2cc696[_0x2680('0x75')](_0x4d2a8a),_0x2cc696[_0x2680('0x75')](_0x21bd69));if(!_0xc5ede9)return null;return _0x152f72[_0x2680('0x75')](_0x21bd69)(_0x4d2a8a,_0x21bd69,_0x2cc696['get'](_0x4d2a8a),_0x2cc696[_0x2680('0x75')](_0x21bd69))?_0xc5ede9[0x1][_0x2680('0xf3')]&&_0xc5ede9[0x1][_0x2680('0xf3')][_0x2680('0x9f')]?null:_0xc5ede9:null;}_0x16ad36[_0x2680('0x83')]&&this[_0x2680('0xc0')](_0x16ad36);}['_refreshAttributeSuggestionsChain'](_0x1f1ee3){if(0x0==_0x1f1ee3[_0x2680('0x9f')])return;const _0x5da3f8=this['getSuggestions']({'skipNotAttached':!0x0})[_0x2680('0xca')](_0x397a11=>_0x2680('0x9d')==_0x397a11[_0x2680('0x4e')]&&_0x397a11['_isDataLoaded']),_0x50e089=[],_0x1503d2=new Map();for(const _0x39fe05 of _0x5da3f8){const _0x4c246c=_0x2a336f(_0x39fe05['attributes']);_0x1503d2[_0x2680('0x49')](_0x4c246c)||(_0x1503d2[_0x2680('0x114')](_0x4c246c,_0x50e089[_0x2680('0x9f')]),_0x50e089[_0x2680('0xa')]([]));const _0x1bd8ae=_0x1503d2[_0x2680('0x75')](_0x4c246c);_0x50e089[_0x1bd8ae][_0x2680('0xa')](_0x39fe05);}!function(){_0x50e089[_0x2680('0x5f')]((_0x576a33,_0x2a1c41)=>{const _0x5d148d=_0x576a33[0x0][_0x2680('0x4f')],_0x56611f=_0x2a1c41[0x0]['createdAt'];return _0x5d148d==_0x56611f?_0x576a33[0x0][_0x2680('0xbf')]['groupId']<_0x2a1c41[0x0][_0x2680('0xbf')]['groupId']?-0x1:0x1:_0x5d148d<_0x56611f?-0x1:0x1;});for(const _0x1df6f7 of _0x50e089)_0x1df6f7['sort']((_0x20142a,_0x306abc)=>_0x20142a['id']<_0x306abc['id']?-0x1:0x1);}();for(let _0x225329=0x0;_0x225329<_0x50e089[_0x2680('0x9f')];_0x225329++){if(0x0==_0x50e089[_0x225329][_0x2680('0x9f')])continue;const _0x4e32ff=[];for(let _0x11f0dd=_0x225329+0x1;_0x11f0dd<_0x50e089[_0x2680('0x9f')];_0x11f0dd++)0x0!=_0x50e089[_0x11f0dd][_0x2680('0x9f')]&&_0x1bf1df(_0x50e089[_0x225329],_0x50e089[_0x11f0dd])&&_0x4e32ff[_0x2680('0xa')](_0x11f0dd);for(const _0x2d57ee of _0x4e32ff)_0x50e089[_0x225329]=_0x50e089[_0x225329][_0x2680('0x162')](_0x50e089[_0x2d57ee]),_0x50e089[_0x2d57ee]=[];}for(const _0xf85825 of _0x50e089)for(let _0x2025fb=0x0;_0x2025fb<_0xf85825['length'];_0x2025fb++)_0xf85825[_0x2025fb]['next']=_0xf85825[_0x2025fb+0x1]||null;for(const _0x34f8d7 of _0x50e089)for(let _0x47933d=0x0;_0x47933d<_0x34f8d7[_0x2680('0x9f')];_0x47933d++)_0x34f8d7[_0x47933d][_0x2680('0xf2')]=_0x34f8d7[_0x47933d-0x1]||null;function _0x1bf1df(_0x23ddce,_0x5b028f){if(_0x23ddce[0x0][_0x2680('0x109')]!==_0x5b028f[0x0][_0x2680('0x109')])return!0x1;if(!function(_0x45ce9f,_0xcd6b9e){if(!_0x45ce9f['hasComments']&&!_0xcd6b9e[_0x2680('0x14c')])return!0x0;if(_0x45ce9f['hasComments']&&_0xcd6b9e[_0x2680('0x14c')])return!0x1;if(_0x45ce9f[_0x2680('0x14c')]&&_0xcd6b9e[_0x2680('0x4f')]<_0x45ce9f[_0x2680('0xf3')][_0x2680('0xe4')][_0x2680('0x75')](0x0)['createdAt'])return!0x0;if(_0xcd6b9e[_0x2680('0x14c')]&&_0x45ce9f[_0x2680('0x4f')]<_0xcd6b9e['commentThread']['comments'][_0x2680('0x75')](0x0)[_0x2680('0x4f')])return!0x0;return!0x1;}(_0x23ddce[0x0],_0x5b028f[0x0]))return!0x1;const _0x456922=_0x559d9a(_0x23ddce[0x0][_0x2680('0xbf')],_0x2680('0xc')),_0x3698ea=_0x559d9a(_0x5b028f[0x0][_0x2680('0xbf')],_0x2680('0xc'));if(!_0x1c294c(_0x456922,_0x3698ea))return!0x1;return!!_0x23ddce['every'](_0x343b76=>_0x5b028f[_0x2680('0x2')](_0x335df1=>_0x343b76[_0x2680('0xc9')]()['isEqual'](_0x335df1[_0x2680('0xc9')]())))&&_0x5b028f[_0x2680('0x87')](_0x465cba=>_0x23ddce[_0x2680('0x2')](_0x1d0dff=>_0x465cba[_0x2680('0xc9')]()[_0x2680('0xd1')](_0x1d0dff[_0x2680('0xc9')]())));}}[_0x2680('0x169')](_0x3948c8){const _0x36b9b1=Array[_0x2680('0xf7')](_0x3948c8),_0x28b30c=this[_0x2680('0x10c')]({'skipNotAttached':!0x0}),_0x57483b=_0x28b30c[_0x2680('0xca')](_0x1467b9=>!_0x3948c8[_0x2680('0x49')](_0x1467b9)),_0x1df935=new Map(_0x36b9b1[_0x2680('0x36')](_0xab7bf3=>[_0xab7bf3,this[_0x2680('0x100')][_0x2680('0xfd')](_0xab7bf3[_0x2680('0x4e')],_0xab7bf3[_0x2680('0x166')],_0x2680('0xde'))])),_0x591ce9=new Map(_0x28b30c['map'](_0x552168=>[_0x552168,_0x552168['getRanges']()]));for(let _0x483cfb=0x0;_0x483cfb<_0x36b9b1[_0x2680('0x9f')];_0x483cfb++){if(_0x48de04(this,_0x36b9b1[_0x483cfb],_0x36b9b1,_0x483cfb+0x1))return!0x0;}for(let _0x3c3e18=0x0;_0x3c3e18<_0x36b9b1[_0x2680('0x9f')];_0x3c3e18++){if(_0x48de04(this,_0x36b9b1[_0x3c3e18],_0x57483b,0x0))return!0x0;}return!0x1;function _0x48de04(_0x567b13,_0x26920b,_0x335f26,_0xcb623c){for(let _0x5ec4f3=_0xcb623c;_0x5ec4f3<_0x335f26['length'];_0x5ec4f3++){const _0x5c9594=_0x335f26[_0x5ec4f3];if(_0x5c9594[_0x2680('0x4e')]!==_0x26920b[_0x2680('0x4e')]||_0x5c9594['author']['id']!==_0x26920b['author']['id']||_0x5c9594[_0x2680('0x166')]!==_0x26920b[_0x2680('0x166')])continue;if(!Vt(_0x26920b,_0x5c9594))continue;if('attribute'==_0x26920b[_0x2680('0x4e')]&&_0x26920b[_0x2680('0x181')][_0x2680('0x7')]!=_0x5c9594[_0x2680('0x181')][_0x2680('0x7')])continue;if('attribute'==_0x26920b['type']&&_0x567b13[_0x2680('0x143')](_0x26920b[_0x2680('0x181')][_0x2680('0xd0')]))continue;const _0x52501f=_0x1df935[_0x2680('0x75')](_0x26920b),_0xde496f=_0x591ce9[_0x2680('0x75')](_0x26920b),_0x529a31=_0x591ce9[_0x2680('0x75')](_0x5c9594),_0x1a00ab=_0x26920b[_0x2680('0xf3')]&&_0x26920b[_0x2680('0xf3')][_0x2680('0x9f')],_0x260a6d=_0x5c9594[_0x2680('0xf3')]&&_0x5c9594[_0x2680('0xf3')]['length'];if(!_0x1a00ab&&_0x52501f(_0x529a31,_0xde496f))return _0x567b13[_0x2680('0x6a')](_0x5c9594,_0x26920b),_0x591ce9['delete'](_0x26920b),!0x0;if(!_0x260a6d&&_0x52501f(_0xde496f,_0x529a31))return _0x567b13[_0x2680('0x6a')](_0x26920b,_0x5c9594),_0x591ce9[_0x2680('0x122')](_0x5c9594),!0x0;}return!0x1;}}['_joinSuggestions'](_0xc23351,_0x1b4085){if(_0xc23351['isMultiRange'])for(const _0x1e1e5b of _0x1b4085['getRanges']())_0xc23351[_0x2680('0x41')](_0x1e1e5b);else{const _0x4d7cb3=_0x1b4085['getFirstRange']()[_0x2680('0xbd')];this[_0x2680('0x6e')](_0xc23351,this['_model'][_0x2680('0x22')](_0xc23351[_0x2680('0xc9')]()['start'],_0x4d7cb3));}_0x1b4085[_0x2680('0x91')]();}[_0x2680('0xf8')](_0x18b536,_0x5c2e04){const _0x21e757=_0x18b536[_0x2680('0x81')]('format')||_0x18b536[_0x2680('0x81')](_0x2680('0x9d'))?_0x2680('0x112'):_0x18b536[_0x2680('0x141')]();return _0x54932d(this[_0x2680('0x133')][_0x2680('0x80')],_0x5c2e04+'_'+_0x21e757+_0x2680('0x72'));}[_0x2680('0xe0')](){const _0xe983ed=this[_0x2680('0x133')];_0x30d88b(this[_0x2680('0x117')],({left:_0x3ebd16,entered:_0x55a2de})=>{const _0x2d6b2c=[];for(const _0x81bb09 of _0x3ebd16){const {group:_0x44973e,type:_0x673ee7}=this[_0x2680('0x1a')](_0x81bb09[_0x2680('0x16f')]);if(_0x2680('0x120')===_0x44973e){_0x2d6b2c['push'](this[_0x2680('0xf8')](_0x673ee7,_0x2680('0x7b')));break;}}for(const _0xe51330 of _0x55a2de){const {group:_0x1b4f19,type:_0x21c10a}=this['_splitMarkerName'](_0xe51330['name']);if(_0x2680('0x120')===_0x1b4f19){_0x2d6b2c[_0x2680('0xa')](this['_getMarkerAnnouncementText'](_0x21c10a,_0x2680('0xf4')));break;}}_0x2d6b2c['length']&&_0xe983ed['ui'][_0x2680('0x127')][_0x2680('0x33')](_0x2680('0x14e'),_0x2d6b2c[_0x2680('0xde')]('\x20'));});}[_0x2680('0x14b')](_0x4fc306){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x149117=this[_0x2680('0x133')],_0xe1d223=_0x149117[_0x2680('0x93')]['document']['differ'][_0x2680('0x144')]();if(0x0==_0xe1d223['length'])return!0x1;const _0x2fcf2a=[],_0xc2d3c0=_0xe1d223['filter'](_0x1fbeb6=>_0x2680('0x9d')==_0x1fbeb6[_0x2680('0x4e')]),_0x4b5ccd=_0xe1d223[_0x2680('0xca')](_0x3e5d43=>_0x2680('0x47')==_0x3e5d43[_0x2680('0x4e')]&&_0x2680('0x98')!=_0x3e5d43['name']),_0x4189c1=_0xe1d223[_0x2680('0xca')](_0x255386=>_0x2680('0xbb')==_0x255386[_0x2680('0x4e')]&&_0x2680('0x98')!=_0x255386[_0x2680('0x16f')]);for(const _0x54c75c of _0xc2d3c0)_0x2fcf2a[_0x2680('0xa')]({'key':_0x54c75c['attributeKey'],'newValue':_0x54c75c[_0x2680('0x73')],'oldValue':_0x54c75c[_0x2680('0x179')],'range':_0x2ba9aa(_0x54c75c[_0x2680('0x2e')])});for(const _0x8cf141 of _0x4b5ccd){const _0x2b8a52=_0x4189c1[_0x2680('0x107')](_0x3e37ba=>_0x3e37ba[_0x2680('0x7f')][_0x2680('0xd1')](_0x8cf141['position']));_0x2b8a52&&_0x2fcf2a[_0x2680('0xa')]({'key':_0x2680('0xef'),'newValue':_0x8cf141[_0x2680('0x16f')],'oldValue':_0x2b8a52[_0x2680('0x16f')],'range':_0x149117[_0x2680('0x93')]['createRangeOn'](_0x8cf141[_0x2680('0x7f')]['nodeAfter'])});}return 0x0!=_0x2fcf2a[_0x2680('0x9f')]&&this[_0x2680('0x14')](_0x4fc306,_0x2fcf2a);function _0x2ba9aa(_0x49fc30){return null==_0x49fc30[_0x2680('0xbd')][_0x2680('0xd6')]&&_0x49fc30[_0x2680('0xbd')][_0x2680('0x113')]==_0x49fc30[_0x2680('0x15')]['nodeAfter']?Ut(_0x49fc30[_0x2680('0x15')][_0x2680('0x3b')],_0x149117[_0x2680('0x93')]):_0x49fc30;}}[_0x2680('0x153')](_0x2e327e){let _0x10224f=!0x1;const _0x6e784b=this[_0x2680('0x133')][_0x2680('0x93')][_0x2680('0x4d')][_0x2680('0x124')]['getChangedMarkers']()[_0x2680('0xca')](_0x4f8602=>_0x4f8602[_0x2680('0x181')][_0x2680('0x154')]&&_0x4f8602[_0x2680('0x16f')][_0x2680('0x81')]('suggestion:attribute:'));for(const _0x3942f5 of _0x6e784b){const {subType:_0x40a0b4,id:_0x112b00}=this['_splitMarkerName'](_0x3942f5['name']),_0x2520a9=_0x40a0b4[_0x2680('0x92')]('|')[0x0];for(const _0x3235d0 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x3235d0['id']!=_0x112b00&&'attribute'==_0x3235d0['type']&&_0x3235d0['data']&&_0x3235d0[_0x2680('0x181')]['key']==_0x2520a9&&_0x3235d0[_0x2680('0xc9')]()[_0x2680('0x77')](_0x3942f5[_0x2680('0x181')]['newRange'])&&(this[_0x2680('0x6f')](_0x3235d0,_0x3942f5[_0x2680('0x181')][_0x2680('0x154')],_0x2e327e),_0x10224f=!0x0);}return _0x10224f;}['_recordAttributeChanges'](_0x4b2896){if(null!==this[_0x2680('0x4a')])return void _0x4b2896();const _0x15fa36=this[_0x2680('0x133')];this['_recordAttributeSuggestionsFromVersion']=_0x15fa36[_0x2680('0x93')][_0x2680('0x4d')][_0x2680('0xfe')],_0x4b2896();const _0x4609b5=new Map();for(const _0x286ca8 of _0x15fa36[_0x2680('0x93')]['document'][_0x2680('0x67')][_0x2680('0x10b')](this[_0x2680('0x4a')]))if([_0x2680('0x6d'),_0x2680('0xff'),_0x2680('0x16a'),_0x2680('0x20')][_0x2680('0x27')](_0x286ca8[_0x2680('0x4e')])){const _0x85670e=_0x286ca8['batch'],_0x1080a8=_0x4609b5['get'](_0x85670e)||[];_0x1080a8[_0x2680('0xa')](_0x286ca8),_0x4609b5[_0x2680('0x114')](_0x85670e,_0x1080a8);}this[_0x2680('0x4a')]=null;for(const [_0x233f2f,_0xb881fa]of _0x4609b5){const _0x315334=_0x4a0fa0();_0x15fa36[_0x2680('0x93')][_0x2680('0x94')](_0x233f2f,_0x5a3db8=>{const _0x4ff775=[];for(const _0x109b93 of _0xb881fa){let _0xd60e5a,_0x4228c5,_0x3b41d6,_0x1e842f;if(_0x2680('0x6d')==_0x109b93[_0x2680('0x4e')]){const _0x52c699=_0x109b93;_0xd60e5a=Ut(_0x52c699[_0x2680('0x7f')][_0x2680('0x3b')],_0x15fa36[_0x2680('0x93')]),_0x4228c5=_0x2680('0xef'),_0x3b41d6=_0x52c699[_0x2680('0xe5')],_0x1e842f=_0x52c699[_0x2680('0xa6')];}else{const _0x2667b1=_0x109b93,_0x11aa66=this['_isBlockAttribute'](_0x2667b1[_0x2680('0xd0')]),_0x4b6b5e=this[_0x2680('0x78')][_0x2680('0x49')](_0x2667b1['key']);if(!_0x11aa66&&!_0x4b6b5e)continue;_0xd60e5a=_0x11aa66?Ut(_0x2667b1['range'][_0x2680('0x15')][_0x2680('0x3b')],_0x15fa36[_0x2680('0x93')]):_0x2667b1[_0x2680('0x2e')],_0x4228c5=_0x2667b1[_0x2680('0xd0')],_0x3b41d6=_0x2680('0x16a')==_0x109b93[_0x2680('0x4e')]?void 0x0:_0x2667b1[_0x2680('0x119')],_0x1e842f=_0x2667b1[_0x2680('0x7')];}this[_0x2680('0x16b')](_0xd60e5a,_0x4228c5,_0x1e842f,_0x3b41d6,{'groupId':_0x315334}),_0x4ff775[_0x2680('0xa')]({'range':_0xd60e5a,'key':_0x4228c5,'newValue':_0x3b41d6,'oldValue':_0x1e842f});}this['_reduceExistingSuggestions'](_0x5a3db8,_0x4ff775);});}}[_0x2680('0x14')](_0x3bfd46,_0xf60759){if(0x0==_0xf60759[_0x2680('0x9f')])return!0x1;let _0x5e49ed=!0x1;for(const _0x10dc9b of _0xf60759){const _0x550f71=this[_0x2680('0x10')](_0x10dc9b[_0x2680('0x2e')],_0x2680('0x9d'))[_0x2680('0xca')](_0x16a794=>!_0x16a794[_0x2680('0x17b')]['isNextTo'])[_0x2680('0x36')](_0x4ed88d=>_0x4ed88d[_0x2680('0x120')]),_0x5b1ddc=_0x2a336f({'newValue':_0x10dc9b[_0x2680('0x119')]});_0x550f71['filter'](_0x20fcc3=>{const [_0x4b0129,_0x231c82]=_0x20fcc3[_0x2680('0x166')][_0x2680('0x92')]('|');return _0x4b0129==_0x10dc9b[_0x2680('0xd0')]&&_0x231c82!=_0x5b1ddc;})['forEach'](_0x565cdf=>{this['_reduceSuggestionAttributeRange'](_0x565cdf,_0x10dc9b[_0x2680('0x2e')],_0x3bfd46),_0x5e49ed=!0x0;});}return _0x5e49ed;}['_reduceSuggestionAttributeRange'](_0x14ec9b,_0x43f63c,_0x171822){const _0x2f053c=_0x14ec9b[_0x2680('0xc9')]()[_0x2680('0x96')](_0x43f63c);0x0!==_0x2f053c[_0x2680('0x9f')]?0x1!==_0x2f053c[_0x2680('0x9f')]?this[_0x2680('0xf')](_0x14ec9b,_0x43f63c[_0x2680('0x15')],_0x43f63c[_0x2680('0xbd')]):this[_0x2680('0x6e')](_0x14ec9b,_0x2f053c[0x0]):_0x171822[_0x2680('0x137')](_0x14ec9b[_0x2680('0x134')]());}}class Bt{constructor(_0x194837){this['_editor']=_0x194837,this[_0x2680('0x117')]=_0x194837[_0x2680('0x93')],this['_customCallbacks']=new Map(),this[_0x2680('0x121')]=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x27d9c0,_0x118ba5,_0x5d147d,_0xdb8f4d,_0x2ea152,_0x4e5d5b){return new _0x3abe10(this[_0x2680('0x117')],{'type':_0x27d9c0,'subType':_0x118ba5,'id':_0x5d147d,'author':_0xdb8f4d,'creator':_0xdb8f4d,'attributes':_0x2ea152,'onAttributesChange':_0x4e5d5b,'onAccept':(..._0x3c2246)=>this['getSuggestionCallback'](_0x27d9c0,_0x118ba5,_0x2680('0xe6'))(..._0x3c2246),'onDiscard':(..._0x426a65)=>this['getSuggestionCallback'](_0x27d9c0,_0x118ba5,_0x2680('0x176'))(..._0x426a65)});}[_0x2680('0xa5')](_0x5f35b5,_0x530735,_0xc2d8f7,_0x393d21){const _0x20cc3b=_0x5f35b5+':'+_0x530735+':'+_0xc2d8f7;this['_customCallbacks'][_0x2680('0x114')](_0x20cc3b,_0x393d21);}[_0x2680('0xfd')](_0x4df7c7,_0x4aeb1f,_0x3fda6c){const _0x465894=_0x4df7c7+':'+_0x4aeb1f+':'+_0x3fda6c;return this[_0x2680('0x69')]['get'](_0x465894)||this[_0x2680('0x121')]['get'](_0x4df7c7+':'+_0x3fda6c);}[_0x2680('0x167')](){const _0x395aa6=()=>!0x1,_0x29cf20=_0xf699a1=>{_0xf699a1[_0x2680('0x5f')]((_0xdde8e,_0x893672)=>_0xdde8e['start'][_0x2680('0x10f')](_0x893672[_0x2680('0x15')])?0x1:-0x1),this[_0x2680('0x117')][_0x2680('0x129')](_0x446699=>{for(const _0x100c99 of _0xf699a1){let _0xa6f890;_0xa6f890=_0x100c99[_0x2680('0xbd')][_0x2680('0x21')]&&_0x100c99['end'][_0x2680('0x113')]==_0x100c99[_0x2680('0x15')][_0x2680('0x3b')]?_0x446699[_0x2680('0x40')](_0x100c99[_0x2680('0x15')][_0x2680('0x3b')],'on'):_0x446699[_0x2680('0x40')](_0x100c99),this[_0x2680('0x117')][_0x2680('0xad')](_0xa6f890,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x2d1ea0=(_0x11161e,_0x24a401)=>{_0x24a401&&this[_0x2680('0x117')][_0x2680('0x129')](_0x57730d=>{const {commandName:_0x60eeb7,commandParams:_0x156d34=[]}=_0x24a401,_0x4d3163=_0x11161e[_0x2680('0x36')](_0x258e16=>(xt(_0x258e16)&&(_0x258e16=this[_0x2680('0x117')][_0x2680('0x22')](_0x258e16[_0x2680('0xbd')])),_0x258e16))[_0x2680('0xca')](_0x36b405=>_0x2680('0x37')!==_0x36b405[_0x2680('0xf9')][_0x2680('0x15d')]);if(_0x4d3163[_0x2680('0x9f')]<0x1)return;const _0x471671=Array[_0x2680('0xf7')](this[_0x2680('0x117')][_0x2680('0x4d')][_0x2680('0xec')][_0x2680('0xa8')]())[_0x2680('0x36')](_0x2af7bf=>_0x160425[_0x2680('0x15f')](_0x2af7bf));_0x57730d[_0x2680('0x9b')](_0x4d3163);for(const _0x5ed44c of this[_0x2680('0x16')]['commands'][_0x2680('0xb3')]())_0x5ed44c[_0x2680('0x155')]();_0x156d34['push']({'forceDefaultExecution':!0x0}),this[_0x2680('0x16')][_0x2680('0xfb')](_0x60eeb7,..._0x156d34);const _0x254fb4=_0x471671[_0x2680('0xca')](_0x33231a=>_0x2680('0x37')!=_0x33231a[_0x2680('0xf9')][_0x2680('0x15d')]);_0x254fb4[_0x2680('0x9f')]>0x0&&_0x57730d['setSelection'](_0x254fb4);for(const _0xa6590e of _0x471671)_0xa6590e['detach']();});},_0x5dae15=(_0x33e25a,_0x469f00)=>0x1==_0x33e25a[_0x2680('0x9f')]&&0x1==_0x469f00[_0x2680('0x9f')]&&_0x33e25a[0x0][_0x2680('0xbd')][_0x2680('0xd1')](_0x469f00[0x0][_0x2680('0x15')]),_0x37807c=(_0x12343c,_0xebd64a,_0x10ece5,_0x3ae030)=>Ot(_0x12343c,_0xebd64a,_0x10ece5,_0x3ae030,this[_0x2680('0x117')])?[_0x12343c,_0xebd64a]:Ot(_0xebd64a,_0x12343c,_0x3ae030,_0x10ece5,this[_0x2680('0x117')])?[_0xebd64a,_0x12343c]:null;this[_0x2680('0x121')]['set'](_0x2680('0x175'),_0x395aa6),this['_defaultCallbacks']['set']('insertion:discard',_0x29cf20),this[_0x2680('0x121')][_0x2680('0x114')](_0x2680('0xb2'),_0x5dae15),this[_0x2680('0x121')][_0x2680('0x114')](_0x2680('0xe'),_0x37807c),this[_0x2680('0x121')][_0x2680('0x114')](_0x2680('0x35'),_0x29cf20),this['_defaultCallbacks'][_0x2680('0x114')](_0x2680('0xda'),_0x395aa6),this[_0x2680('0x121')]['set'](_0x2680('0x70'),_0x5dae15),this[_0x2680('0x121')][_0x2680('0x114')](_0x2680('0x9a'),_0x37807c),this[_0x2680('0x121')]['set']('formatInline:accept',_0x2d1ea0),this['_defaultCallbacks'][_0x2680('0x114')](_0x2680('0x1f'),_0x395aa6),this[_0x2680('0x121')][_0x2680('0x114')](_0x2680('0x74'),_0x5dae15),this['_defaultCallbacks'][_0x2680('0x114')](_0x2680('0xbe'),_0x395aa6),this['_defaultCallbacks']['set'](_0x2680('0xee'),_0x2d1ea0),this[_0x2680('0x121')][_0x2680('0x114')](_0x2680('0x6c'),_0x395aa6),this[_0x2680('0x121')][_0x2680('0x114')]('formatBlock:join',_0x5dae15),this[_0x2680('0x121')][_0x2680('0x114')](_0x2680('0x2f'),_0x395aa6),this['_defaultCallbacks'][_0x2680('0x114')](_0x2680('0x178'),_0x395aa6),this[_0x2680('0x121')][_0x2680('0x114')](_0x2680('0x164'),(_0x505017,_0x1990d4)=>{if(!_0x1990d4)return;const _0x25447e=this['_editor'][_0x2680('0x14a')][_0x2680('0x75')](p);this[_0x2680('0x117')][_0x2680('0x129')](_0x50c7e7=>{if(_0x2680('0xef')==_0x1990d4['key'])for(const _0x36ba3c of _0x505017){const _0x33c3ee=_0x36ba3c[_0x2680('0x15')]['nodeAfter'],_0x40b9a7=_0x1990d4[_0x2680('0x7')];_0x50c7e7[_0x2680('0x6d')](_0x33c3ee,_0x40b9a7);}else{if(_0x25447e[_0x2680('0x143')](_0x1990d4[_0x2680('0xd0')]))for(const _0x38a19e of _0x505017)void 0x0!==_0x1990d4[_0x2680('0x7')]?_0x50c7e7[_0x2680('0xd')](_0x1990d4[_0x2680('0xd0')],_0x1990d4[_0x2680('0x7')],_0x38a19e[_0x2680('0x15')][_0x2680('0x3b')]):_0x50c7e7['removeAttribute'](_0x1990d4[_0x2680('0xd0')],_0x38a19e['start'][_0x2680('0x3b')]);else for(const _0x18e167 of _0x505017)_0x1990d4['oldValue']?_0x50c7e7['setAttribute'](_0x1990d4[_0x2680('0xd0')],_0x1990d4['oldValue'],_0x18e167):_0x50c7e7['removeAttribute'](_0x1990d4[_0x2680('0xd0')],_0x18e167);}});}),this['_defaultCallbacks'][_0x2680('0x114')](_0x2680('0x52'),_0x5dae15);}}function Tt(_0x4aa367,_0x5e49f6,_0x44d9b7){for(const _0x1d08b8 of _0x5e49f6[_0x2680('0x113')][_0x2680('0x46')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x1d08b8[_0x2680('0xf9')]==_0x1d08b8)return!0x1;if(!_0x44d9b7[_0x2680('0x17e')](_0x1d08b8))return!0x1;if(_0x4aa367[_0x2680('0xb9')](_0x1d08b8)||_0x4aa367[_0x2680('0x5c')](_0x1d08b8))return!0x0;}return!0x1;}function xt(_0x3c6eaf){return _0x3c6eaf['end'][_0x2680('0x113')]==_0x3c6eaf[_0x2680('0x15')][_0x2680('0x3b')]&&_0x3c6eaf[_0x2680('0xbd')][_0x2680('0x19')];}function Et(_0x33346d,_0x387795,_0x2692a0,_0x4e0922){const _0x4fc21d=_0x452d36=>!_0x452d36['item']['is'](_0x2680('0xe9'))&&!_0x4e0922[_0x2680('0xb9')](_0x452d36[_0x2680('0x116')]),_0x5779a1=_0x33346d[_0x2680('0x15')][_0x2680('0xbc')](_0x4fc21d),_0x3eac60=_0x33346d[_0x2680('0xbd')]['getLastMatchingPosition'](_0x4fc21d,{'direction':_0x2680('0x8d')});return(!_0x33346d[_0x2680('0x15')][_0x2680('0xd1')](_0x5779a1)||!_0x33346d[_0x2680('0xbd')][_0x2680('0xd1')](_0x3eac60))&&(_0x5779a1['isBefore'](_0x3eac60)?_0x2692a0[_0x2680('0x76')](_0x387795,{'range':_0x2692a0[_0x2680('0x22')](_0x5779a1,_0x3eac60)}):_0x2692a0[_0x2680('0x137')](_0x387795),!0x0);}function Rt(_0x1f8d7d){return _0x2a336f(_0x1f8d7d);}function jt(_0x5b7149){const _0x51a3b8=_0x5b7149[_0x2680('0x15')][_0x2680('0x3b')];return _0x51a3b8&&_0x51a3b8['is']('element');}function Ut(_0x1059c6,_0x1c7a2f){const _0x43ff1b=_0x1c7a2f[_0x2680('0x7a')][_0x2680('0xb9')](_0x1059c6)||_0x1c7a2f[_0x2680('0x7a')][_0x2680('0x132')](_0x1059c6);return _0x1c7a2f['createRange'](_0x1c7a2f[_0x2680('0x139')](_0x1059c6,'before'),_0x43ff1b?_0x1c7a2f[_0x2680('0x17d')](_0x1059c6):_0x1c7a2f[_0x2680('0x139')](_0x1059c6,_0x2680('0xbd')));}function Ot(_0x277db5,_0xced8cc,_0x1cd01d,_0x4a0b53,_0x5b4ade){if(!Vt(_0x277db5,_0xced8cc))return!0x1;if(_0x1cd01d[_0x2680('0xbd')]['isEqual'](_0x4a0b53[_0x2680('0x15')]))return!0x0;if(_0x277db5[_0x2680('0x4e')]!=_0xced8cc['type'])return!0x1;if(!_0x1cd01d['end']['isTouching'](_0x4a0b53[_0x2680('0x15')]))return!0x1;const _0x5e2ef3=_0x5b4ade[_0x2680('0x22')](_0x1cd01d[_0x2680('0xbd')],_0x4a0b53[_0x2680('0x15')])[_0x2680('0x163')]();for(const _0x4d1669 of _0x5e2ef3)if([_0x2680('0x104'),_0x2680('0x131')][_0x2680('0x27')](_0x4d1669[_0x2680('0x4e')])&&_0x5b4ade[_0x2680('0x7a')][_0x2680('0x5c')](_0x4d1669[_0x2680('0x116')]))return!0x1;return!0x0;}function Vt(_0x5da5f0,_0x475f8c){return!(!_0x5da5f0[_0x2680('0xc3')]||!_0x475f8c[_0x2680('0xc3')])&&_0x1c294c(_0x5da5f0[_0x2680('0xbf')],_0x475f8c[_0x2680('0xbf')]);}function Ft(_0x251805,_0x299efe){const _0x10bb89=Gt(_0x251805['attributes']),_0xc0d976=Gt(_0x299efe);if(!_0x251805[_0x2680('0xc3')])return!0x1;for(const _0x4a31e1 of Object['keys'](_0xc0d976))if(!_0x1c294c(_0x10bb89[_0x4a31e1],_0xc0d976[_0x4a31e1]))return!0x1;return!0x0;}function Gt(_0x141ddc){const _0x168735=Object[_0x2680('0xa0')]({},_0x141ddc);return delete _0x168735[_0x2680('0x13a')],delete _0x168735[_0x2680('0xb')],_0x168735;}
|
|
23
|
+
const _0x5507=['_updateSuggestionData','$elementName','newName','getRange','$text','commandName','createdAt','after','adapter','getIntersection','unbindElementFromMarkerName','_checkSuggestionCorrectness','pluginName','mapper','TrackChangesEditing','isIntersectingWithRange','data-suggestion','get','widget','PendingActions','trackChanges.mergeNestedSuggestions','insertContent','refresh','clone','_registerInlineAttribute','requires','markBlockFormat','differ','getAncestors','attribute:accept','getShiftedBy','nodeBefore','isCollapsed','getCustomProperty','type','notReady','_setSuggestionData','createElement','value','announce','multipleBlocks','suggestionLoaded','track-changes-suggestion-data-mismatch','default','addSuggestion','getMultiRangeId','suggestion','schema','getDifference','newValue','suggestion:attribute:','removeAttribute','_registerDefaultCallbacks','_reduceExistingSuggestions','discard','always','range','toViewElement','addRange','moveTargetPosition','high','elementToElement','conversion','includes','_adapter','isUndo','_joinSuggestions','_inlineAttributeKeys','remove','getAllAdjacentSuggestions','splitPosition','_getMarkerAnnouncementText','$graveyard','_rangeIsInLocalUserInsertion','_saved','attribute:discard','enableCommand','removed','getSuggestion','substring','fromCharCode','change','comments','ck-suggestion-marker-','track-changes-adapter-already-set','createRange','fromRange','Users','_suggestionFactory','define','assign','isOwn','formatBlock','formatInline','editor','collaboration.channelId','commentThread','_recordAttributeSuggestionsFromVersion','getCommentThread','_refreshSuggestionsChain','key','options','accepted','rename','newRange','formatInline:chain','add','discardAllSuggestions','acceptSelectedSuggestions','filter','markInsertion','getOperations','buildSuggestion','lowest','applyOperation','nodeAfter','isBlock','createPositionAt','markerToHighlight','_handleNewSuggestionMarker','normal','consume','dataDowncast','forEach','formatBlock:','insertion:accept','attributeNewValue','getNearestSelectionRange','isInContent','clear','isIntersecting','some','elementStart','before','formatBlock:accept','attributeOldValue','addHighlight','createSelection','never','isAtStart','ck-suggestion-marker-formatBlock','item','formatBlock:chain','oldRange','isExternal','deletion:discard','rootName','addMarker:suggestion','getUser','change:data','commands','upcast','markMultiRangeBlockFormat','insertion:discard','_trackFormatChanges','formatGroupId','_recordAttributeChanges','subType','substr','markInlineFormat','reconvertMarker','_defaultCallbacks','isSelectable','change:activeMarkers','discardSuggestion','attribute','_cutOutSuggestionMarker','backward','addClass','track-changes-adapter-missing-getsuggestion','_getExternalAuthor','_getAuthorFromId','isBefore','formatBlock:join','trackChanges','_reduceSuggestionAttributeRange','setSelection','registerPostFixer','getSuggestions','hasComments','_registerBlockAttribute','enqueueChange','stop','authorName','unbind','dataReady','_refreshAttributeSuggestionsChain','end','size','formatInline:','return','formatBlock:discard','addMarkerName','start','_isDataLoaded','addCommentThread','_mergeNestedSuggestions','getLastMatchingPosition','bindElementToMarker','targetPosition','isAtEnd','markers','editingDowncast','isLimit','containerElement','set','CommentsRepository','suggestionUnloaded','parent','addAttribute','ck-suggestion-marker--active','containsRangeInObject','addComment','marker-count','removeComment','execute','track-changes-suggestion-not-found','sort','markerNameToElements','removeMarker','deletion:accept','map','discardSelectedSuggestions','accept','rethrowUnexpectedError','_onDiscard','_SUGGESTION_ANNOUNCEMENT','_isForcedDefaultExecutionBlock','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.','containsItem','forceDefaultExecution','from','removeMarker:suggestion:attribute','_getAttributeKeyFromSubType','next','_processAttributeSuggestions','getFirstRange','splice','createRangeOn','external:','locale','model','catch','history','writer','keys','getRanges','listenTo','_addSuggestionMarker','for','name','concat','delete','attribute:join','_addThreadToSuggestion','trackChangesCommand','update:suggestion','updateMarker','length','meta','markMultiRangeDeletion','deletion:join','fire','formatInline:accept','insertion:','oldValue','_model','_blockAttributeKeys','getAttribute','isObject','position','insertion','group','detach','_initAriaMarkerChangeAnnouncements','attributeKey','isInsideObject','selection','getSuggestionCallback','showSuggestionHighlights','acceptAllSuggestions','createRangeIn','find','attribute:','isMultiRange','ck-suggestion-marker-formatInline','track-changes-user-not-found','isNextTo','deleteContent','documentSelection','stopListening','_commentsRepository','isLocal','has','setAttribute','_suggestionState','startsWith','data','markerToData','_enabledCommands','skipNestingCheck','isRemovable','_findSuggestions','then','isEqual','low','previous','createPositionBefore','PENDING_ACTION_SUGGESTION','markDeletion','push','addMarker:suggestion:attribute','_joinWithAdjacentSuggestions','deletion:','values','split','getChangedMarkers','_setSuggestionRange','@external','activeMarkers','getItems','open','root','changeAttribute','enableReadOnlyMode','every','addMarker:suggestion:formatBlock','isDocumentOperation','authoredAt','insert','originalSuggestionId','removeMarkers','formatInline:join','oldName','addSuggestionData','_isBlockAttribute','trackChanges.trackFormatChanges','fetchCommentThread','insertion:join','createPositionAfter','toUpperCase','author','pop','unshift','FORMATTING','ck-suggestion-marker','getChanges','attributes','containsPosition','_customCallbacks','_getSuggestionData','ENTER','acceptSuggestion','change:_saved','removeMarker:suggestion:formatBlock','warn','suggestion:','consumable','groupId','_splitMarkerName','containsRange','_suggestions','removeClass','markAttributeChange','deletion','_createSuggestion','plugins','isAfter','join','markerName','track-changes-command-not-found','dataToMarker','addUser','ready','config','_removeSuggestion','getWalker','howMany','deletion:chain','_breakSuggestionMarker','track-changes-enable-command-twice','creator','document','_editor','batch'];(function(_0x16118c,_0x5507b4){const _0x37448b=function(_0x83bea3){while(--_0x83bea3){_0x16118c['push'](_0x16118c['shift']());}};_0x37448b(++_0x5507b4);}(_0x5507,0xc0));const _0x3744=function(_0x16118c,_0x5507b4){_0x16118c=_0x16118c-0x0;let _0x37448b=_0x5507[_0x16118c];return _0x37448b;};import{Plugin as _0x839d3f,PendingActions as _0x1ab5e1}from'ckeditor5/src/core';import{LiveRange as _0x11e2f1}from'ckeditor5/src/engine';import{CKEditorError as _0x59168b,uid as _0x743fe9,priorities as _0x4c7718,logWarning as _0x46490f}from'ckeditor5/src/utils';import{toWidget as _0x505f1a}from'ckeditor5/src/widget';import{Users as _0x3e9240,hashObject as _0x418b3a,surroundingMarkersDetector as _0xee08cf}from'ckeditor5-collaboration/src/collaboration-core';import _0x46227e from'./commands/trackchangescommand';import _0x5a7ca3 from'./commands/acceptsuggestioncommand';import _0x59f534 from'./commands/discardsuggestioncommand';import _0x3cf581 from'./commands/executeonallsuggestionscommand';import _0x5f08d1 from'./commands/executeonselectedsuggestionscommand';import _0x4b6ab6 from'./suggestion';import _0x199ddb from'./suggestiondescriptionfactory';import _0x42e1f8 from'./integrations/aiassistant';import _0x2aa37b from'./integrations/alignment';import _0x5913c7 from'./integrations/basicstyles';import _0x3b8eea from'./integrations/blockquote';import _0x1bc251 from'./integrations/ckbox';import _0x5a306f from'./integrations/codeblock';import _0xdacf8b from'./integrations/comments';import _0x120a7d from'./integrations/deletecommand';import _0x321d1b from'./integrations/documentlist';import _0x483aa1 from'./integrations/documentlistproperties';import _0xcff833 from'./integrations/entercommand';import _0x32c604 from'./integrations/findandreplace';import _0x5ac1ac from'./integrations/font';import _0x5eec2c from'./integrations/formatpainter';import _0x32834e from'./integrations/heading';import _0x528196 from'./integrations/highlight';import _0x504c2f from'./integrations/horizontalline';import _0x2c2174 from'./integrations/htmlembed';import _0x217d26 from'./integrations/image';import _0x417e6f from'./integrations/imagereplace';import _0x389cca from'./integrations/imagestyle';import _0x58ee6a from'./integrations/importword';import _0x170e43 from'./integrations/indent';import _0x4718c6 from'./integrations/inputcommand';import _0x3905e9 from'./integrations/link';import _0x1c35fe from'./integrations/list';import _0x522372 from'./integrations/listproperties';import _0x33d50f from'./integrations/mediaembed';import _0xcec5c0 from'./integrations/mention';import _0x4f1530 from'./integrations/pagebreak';import _0x143290 from'./integrations/paragraph';import _0x5880ed from'./integrations/removeformat';import _0x3873a2 from'./integrations/restrictededitingmode';import _0x4c78c8 from'./integrations/shiftentercommand';import _0x114106 from'./integrations/standardeditingmode';import _0x2bf4b9 from'./integrations/style';import _0x35e2 from'./integrations/table';import _0x2a7600 from'./integrations/tablemergesplit';import _0x37ab41 from'./integrations/tableheadings';import _0x2f6f98 from'./integrations/tableclipboard';import _0x400006 from'./integrations/tablecolumnresize';import _0x2f2d1e from'./integrations/template';import _0x5bec1e from'./integrations/tableofcontents';import _0x174e6a from'./integrations/title';import _0x3b7117 from'./integrations/undo';import _0x1bfc6c from'./integrations/tablecaption';import _0x54ded0 from'./integrations/tableproperties';import{getTranslation as _0x5c7591}from'./utils/common-translations';import{isEqual as _0x13d12b,omit as _0x3271fe}from'lodash-es';export const renameAttributeKey=_0x3744('0xc2');export default class p extends _0x839d3f{static get[_0x3744('0xda')](){return[_0x3744('0xe'),_0x3e9240,_0x1ab5e1,_0x42e1f8,_0x2aa37b,_0x5913c7,_0x3b8eea,_0x1bc251,_0x5a306f,_0xdacf8b,_0x120a7d,_0x321d1b,_0x483aa1,_0xcff833,_0x32c604,_0x5ac1ac,_0x5eec2c,_0x32834e,_0x528196,_0x504c2f,_0x2c2174,_0x217d26,_0x389cca,_0x417e6f,_0x58ee6a,_0x170e43,_0x4718c6,_0x3905e9,_0x1c35fe,_0x522372,_0x33d50f,_0xcec5c0,_0x4f1530,_0x143290,_0x5880ed,_0x3873a2,_0x4c78c8,_0x114106,_0x2bf4b9,_0x35e2,_0x2a7600,_0x37ab41,_0x1bfc6c,_0x2f6f98,_0x400006,_0x5bec1e,_0x54ded0,_0x2f2d1e,_0x174e6a,_0x3b7117];}static get[_0x3744('0xcd')](){return _0x3744('0xcf');}constructor(_0x381829){function _0x65ac0e(_0x34a7f9){return _0x34a7f9[_0x3744('0x1d')](_0x50e47c=>String[_0x3744('0x111')](_0x50e47c))[_0x3744('0xb0')]('');}super(_0x381829),this[_0x3744('0x122')]=null,this[_0x3744('0xd')](_0x3744('0x7f'),[]),this['on'](_0x3744('0x164'),(_0x303f0d,_0x42aa34,_0xa8e529,_0x4291eb)=>{this['_model'][_0x3744('0x112')](()=>{for(const _0x34a553 of[..._0x4291eb,..._0xa8e529])this[_0x3744('0x4a')][_0x3744('0x9')][_0x3744('0x65')](_0x34a553)&&_0x381829['editing'][_0x3744('0x161')](_0x34a553);});}),this['_descriptionFactory']=new _0x199ddb(this[_0x3744('0x11f')][_0x3744('0x31')][_0x3744('0xf0')],this[_0x3744('0x11f')]['locale']),this[_0x3744('0x101')]=null,this['_suggestionFactory']=new Bt(this[_0x3744('0x11f')]),this[_0x3744('0xa9')]=new Map(),this[_0x3744('0x63')]=_0x381829[_0x3744('0xae')][_0x3744('0xd2')]('CommentsRepository'),this[_0x3744('0x6b')]=new Set(),this['_model']=this[_0x3744('0x11f')]['model'],this[_0x3744('0x67')]=new WeakMap(),this[_0x3744('0x23')]=!0x1,this['_blockAttributeKeys']=new Set([_0x3744('0xc2')]),this['_inlineAttributeKeys']=new Set(),_0x381829[_0x3744('0xb6')][_0x3744('0x11a')](_0x3744('0x90'),_0x3744('0xec')),this[_0x3744('0x15b')]=_0x381829['config']['get'](_0x3744('0x90')),_0x381829['config']['define'](_0x3744('0xd5'),!0x0),this[_0x3744('0x4')]=_0x381829[_0x3744('0xb6')][_0x3744('0xd2')]('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x46227e(_0x381829,this[_0x3744('0x6b')]),this[_0x3744('0x52')](),this[_0x65ac0e([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x65ac0e([0x34,0x30,0x34,0x36,0x32,0x32,0x35,0x32]);}['init'](){const _0x536b11=this[_0x3744('0x11f')],_0x408ca2=(_0x13c74c,_0x16eb61)=>{if(_0x3744('0x166')!=_0x13c74c)return _0x3744('0x114')+_0x13c74c;const _0x312773=_0x16eb61[_0x3744('0x7b')]('|')[0x0];return this['_isBlockAttribute'](_0x312773)?'ck-suggestion-marker-formatBlock':_0x3744('0x5d');};_0x536b11['conversion'][_0x3744('0x39')](_0x3744('0xa'))[_0x3744('0x137')]({'model':'suggestion','view':_0x498ee1=>{const {id:_0x7677bc,type:_0x39acfc,subType:_0x5e02f5}=this[_0x3744('0xa7')](_0x498ee1[_0x3744('0xb1')]),_0x516475=[_0x3744('0x99'),_0x408ca2(_0x39acfc,_0x5e02f5)];let _0x39f35c=0xbb8;return this[_0x3744('0x7f')]['includes'](_0x498ee1['markerName'])&&(_0x516475[_0x3744('0x76')](_0x3744('0x12')),_0x39f35c=0xbc2),_0x3744('0xac')==_0x39acfc&&(_0x39f35c+=0x5),{'classes':_0x516475,'attributes':{'data-suggestion':_0x7677bc},'priority':_0x39f35c};}}),_0x536b11[_0x3744('0xff')]['for'](_0x3744('0x13b'))[_0x3744('0x12b')](_0x55b154=>{_0x55b154['on'](_0x3744('0x154'),(_0x4dd081,_0x3547d8,_0x1b5d32)=>{if(!_0x1b5d32[_0x3744('0x126')][_0x3744('0x57')])return;const _0x5d3cb0=_0x3547d8[_0x3744('0x14e')];if(!_0x5d3cb0)return;const _0x21dc58=_0x1b5d32[_0x3744('0xce')][_0x3744('0xfa')](_0x5d3cb0);_0x536b11[_0x3744('0x31')][_0x3744('0xf0')][_0x3744('0x4d')](_0x5d3cb0)&&_0x21dc58&&!_0x21dc58['getCustomProperty'](_0x3744('0xd3'))&&_0x21dc58['is'](_0x3744('0xc'))&&_0x505f1a(_0x21dc58,_0x1b5d32[_0x3744('0x34')]);},{'priority':_0x3744('0xfd')});}),_0x536b11['conversion'][_0x3744('0x39')](_0x3744('0x13b'))[_0x3744('0x137')]({'model':_0x3744('0xef'),'view':(_0x2640e9,_0x446d00)=>{if(!_0x446d00[_0x3744('0x126')][_0x3744('0x57')])return null;const {type:_0x481a3d,subType:_0x3602fa}=this[_0x3744('0xa7')](_0x2640e9[_0x3744('0xb1')]);return{'classes':[_0x3744('0x99'),_0x408ca2(_0x481a3d,_0x3602fa)],'priority':0xbb8};}});const _0x11032b=({showActiveMarkers:_0x3ceb06=!0x0,isAttributeSuggestion:_0x4e747b=!0x1}={})=>(_0x577a51,_0x5ced7c,_0x5d25c0)=>{if(!_0x5ced7c[_0x3744('0x14e')])return;const {id:_0x30b0ab}=this[_0x3744('0xa7')](_0x5ced7c[_0x3744('0xb1')]);if(_0x4e747b){const _0x177280=this[_0x3744('0xa9')][_0x3744('0xd2')](_0x30b0ab),_0x28dd7f=this['_getAttributeKeyFromSubType'](_0x177280);if(!this['_isBlockAttribute'](_0x28dd7f))return;}if(_0x5ced7c['item']['is'](_0x3744('0x55')))return void _0x5d25c0[_0x3744('0xa5')][_0x3744('0x13a')](_0x5ced7c[_0x3744('0x14e')],_0x577a51[_0x3744('0x3a')]);const _0x251ffe=_0x5d25c0[_0x3744('0xce')][_0x3744('0xfa')](_0x5ced7c[_0x3744('0x14e')]);if(_0x5ced7c[_0x3744('0x14e')]['is']('element')&&_0x536b11['model']['schema'][_0x3744('0x135')](_0x5ced7c[_0x3744('0x14e')])&&!_0x251ffe[_0x3744('0xe2')](_0x3744('0x149'))){_0x5d25c0[_0x3744('0x34')][_0x3744('0x169')](['ck-suggestion-marker',_0x3744('0x14d')],_0x251ffe),_0x5d25c0[_0x3744('0x34')][_0x3744('0x66')](_0x3744('0xd1'),_0x30b0ab,_0x251ffe),_0x5d25c0[_0x3744('0xce')][_0x3744('0x6')](_0x251ffe,_0x5ced7c[_0x3744('0xb1')]),_0x3ceb06&&(this[_0x3744('0x7f')][_0x3744('0x100')](_0x5ced7c[_0x3744('0xb1')])?_0x5d25c0[_0x3744('0x34')][_0x3744('0x169')](_0x3744('0x12'),_0x251ffe):_0x5d25c0[_0x3744('0x34')][_0x3744('0xaa')](_0x3744('0x12'),_0x251ffe));for(const _0x32175c of _0x536b11[_0x3744('0x31')][_0x3744('0x59')](_0x5ced7c[_0x3744('0x14e')])[_0x3744('0x80')]())_0x5d25c0['consumable'][_0x3744('0x13a')](_0x32175c,_0x577a51['name']);_0x5d25c0[_0x3744('0xa5')][_0x3744('0x13a')](_0x5ced7c['item'],_0x577a51[_0x3744('0x3a')]);}};_0x536b11['conversion'][_0x3744('0x39')](_0x3744('0x13b'))[_0x3744('0x12b')](_0x1b8b0a=>{_0x1b8b0a['on'](_0x3744('0x86'),(_0x419e40,_0x326fb9,_0x36cc6f)=>{_0x36cc6f['options']['showSuggestionHighlights']&&_0x11032b({'showActiveMarkers':!0x1})(_0x419e40,_0x326fb9,_0x36cc6f);},{'priority':'highest'});}),_0x536b11['conversion']['for'](_0x3744('0x13b'))[_0x3744('0x12b')](_0xb137ea=>{_0xb137ea['on']('addMarker:suggestion:attribute',(_0x59f98e,_0x33e314,_0x39c3a7)=>{_0x39c3a7[_0x3744('0x126')][_0x3744('0x57')]&&_0x11032b({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x59f98e,_0x33e314,_0x39c3a7);},{'priority':'highest'});}),_0x536b11[_0x3744('0xff')]['for'](_0x3744('0x13b'))[_0x3744('0x6a')]({'model':_0x3744('0xef'),'view':(_0x161eeb,_0x21a234)=>_0x21a234[_0x3744('0x126')][_0x3744('0x57')]?null:{'group':_0x3744('0xef'),'name':_0x161eeb[_0x3744('0x15f')](0xb)}}),_0x536b11[_0x3744('0xff')][_0x3744('0x39')](_0x3744('0x158'))[_0x3744('0xfe')]({'view':{'name':_0x3744('0xef'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x1745b9,{writer:_0x5a398f})=>{let _0x5072b6=_0x3744('0xa4')+_0x1745b9[_0x3744('0x4c')]('suggestion-type')+':'+_0x1745b9['getAttribute']('id');return _0x1745b9[_0x3744('0x4c')](_0x3744('0x15'))&&(_0x5072b6+=':'+_0x1745b9[_0x3744('0x4c')](_0x3744('0x15'))),_0x5a398f[_0x3744('0xe6')]('$marker',{'data-name':_0x5072b6});}}),_0x536b11['conversion'][_0x3744('0x39')]('upcast')[_0x3744('0xb3')]({'view':_0x3744('0xef')}),_0x536b11['conversion'][_0x3744('0x39')](_0x3744('0xa'))[_0x3744('0x12b')](_0x432772=>{_0x432772['on'](_0x3744('0x86'),_0x11032b(),{'priority':_0x3744('0xfd')});}),_0x536b11[_0x3744('0xff')][_0x3744('0x39')]('editingDowncast')[_0x3744('0x12b')](_0x526ad0=>{_0x526ad0['on'](_0x3744('0x77'),_0x11032b({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x536b11[_0x3744('0xff')][_0x3744('0x39')]('editingDowncast')[_0x3744('0x12b')](_0x313bae=>{_0x313bae['on'](_0x3744('0xa2'),(_0x35cea8,_0x19248f,_0x30b0b4)=>{const _0x37ef6b=_0x30b0b4[_0x3744('0xce')][_0x3744('0x1a')](_0x19248f[_0x3744('0xb1')]);if(_0x37ef6b)for(const _0x2f3b98 of _0x37ef6b)_0x2f3b98['getCustomProperty'](_0x3744('0x149'))||(_0x30b0b4[_0x3744('0x34')][_0x3744('0xaa')](['ck-suggestion-marker',_0x3744('0x14d'),_0x3744('0x12')],_0x2f3b98),_0x30b0b4[_0x3744('0x34')][_0x3744('0xf4')](_0x3744('0xd1'),_0x2f3b98),_0x30b0b4[_0x3744('0xce')][_0x3744('0xcb')](_0x2f3b98,_0x19248f[_0x3744('0xb1')]));},{'priority':_0x3744('0xfd')});}),_0x536b11[_0x3744('0xff')]['for'](_0x3744('0xa'))[_0x3744('0x12b')](_0xeacc28=>{_0xeacc28['on'](_0x3744('0x28'),(_0x595036,_0x918781,_0x50f927)=>{const _0xd3d1de=_0x50f927[_0x3744('0xce')][_0x3744('0x1a')](_0x918781[_0x3744('0xb1')]);if(!_0xd3d1de)return;const {id:_0x755ee9}=this[_0x3744('0xa7')](_0x918781[_0x3744('0xb1')]),_0x9f3d4a=this[_0x3744('0xa9')][_0x3744('0xd2')](_0x755ee9),_0x275e37=this[_0x3744('0x29')](_0x9f3d4a);if(this[_0x3744('0x8f')](_0x275e37))for(const _0x430420 of _0xd3d1de)_0x430420[_0x3744('0xe2')]('addHighlight')||(_0x50f927[_0x3744('0x34')][_0x3744('0xaa')]([_0x3744('0x99'),'ck-suggestion-marker-formatBlock',_0x3744('0x12')],_0x430420),_0x50f927['writer']['removeAttribute'](_0x3744('0xd1'),_0x430420),_0x50f927['mapper']['unbindElementFromMarkerName'](_0x430420,_0x918781[_0x3744('0xb1')]));},{'priority':_0x3744('0xfd')});}),_0x536b11[_0x3744('0x31')][_0x3744('0xbe')][_0x3744('0x172')](_0x4b0683=>{let _0x451e3f=!0x1;const _0x27c1e5=Array[_0x3744('0x27')](_0x536b11['model'][_0x3744('0xbe')][_0x3744('0xdc')][_0x3744('0x7c')]()),_0x5e3307=new Set();for(const {name:_0x405b9e,data:_0x2b156c}of _0x27c1e5){const {group:_0x10de7f,type:_0x2c980d,subType:_0x59bcbf,id:_0x47db54}=this['_splitMarkerName'](_0x405b9e);if('suggestion'!==_0x10de7f)continue;const _0x16f36c=this[_0x3744('0xa9')][_0x3744('0xd2')](_0x47db54);if(null!=_0x2b156c[_0x3744('0x129')]){_0x3744('0x11e')==_0x2c980d&&(_0x451e3f=_0x451e3f||Et(_0x2b156c[_0x3744('0x129')],_0x405b9e,_0x4b0683,_0x536b11['model'][_0x3744('0xf0')]));const _0x968aba=_0x3744('0x166')==_0x2c980d&&this['_isBlockAttribute'](_0x59bcbf[_0x3744('0x7b')]('|')[0x0]);if(_0x2b156c[_0x3744('0x129')]['isCollapsed']||_0x3744('0x109')==_0x2b156c[_0x3744('0x129')]['root'][_0x3744('0x153')]||_0x3744('0x11d')==_0x2c980d&&!jt(_0x2b156c[_0x3744('0x129')])||_0x968aba&&!jt(_0x2b156c[_0x3744('0x129')])||'deletion'==_0x2c980d&&!(!xt(_0x376447=_0x2b156c[_0x3744('0x129')])&&!function(_0x517a30){return _0x517a30[_0x3744('0x1')]['parent']==_0x517a30[_0x3744('0x17c')][_0x3744('0xe0')]&&_0x517a30[_0x3744('0x1')][_0x3744('0x8')];}(_0x376447)))_0x4b0683[_0x3744('0x1b')](_0x405b9e),_0x451e3f=!0x0;else{if(!_0x16f36c||!_0x16f36c['isInContent'])continue;_0x5e3307['add'](_0x16f36c);}}}var _0x376447;return _0x5e3307['size']>0x0&&(_0x451e3f=!!this[_0x3744('0x78')](_0x5e3307)||_0x451e3f),_0x451e3f;}),_0x536b11['model']['document'][_0x3744('0x172')](_0x46afd8=>{let _0x101950=!0x1;for(const _0x1eb21c of _0x536b11[_0x3744('0x31')][_0x3744('0xbe')][_0x3744('0xdc')][_0x3744('0x9a')]())if('insert'==_0x1eb21c[_0x3744('0xe3')])for(const _0x43f8f3 of this[_0x3744('0xa9')][_0x3744('0x7a')]()){if(_0x43f8f3['isMultiRange']||!_0x43f8f3[_0x3744('0x141')])continue;const _0x2a8ab4='formatBlock'==_0x43f8f3[_0x3744('0xe3')],_0xae9056=this['_getAttributeKeyFromSubType'](_0x43f8f3),_0x1d3cea=_0xae9056&&this['_isBlockAttribute'](_0xae9056);if(!_0x2a8ab4&&!_0x1d3cea)continue;const _0x37d155=_0x43f8f3[_0x3744('0x2c')]();if(_0x37d155[_0x3744('0x1')][_0x3744('0x10')]!=_0x37d155['end'][_0x3744('0x10')]&&!_0x37d155[_0x3744('0x17c')][_0x3744('0x8')]){const _0x1763b9=_0x536b11[_0x3744('0x31')][_0x3744('0x136')](_0x37d155[_0x3744('0x1')]['nodeAfter'],_0x3744('0x17c')),_0x2d27e3=_0x536b11[_0x3744('0x31')][_0x3744('0x116')](_0x37d155[_0x3744('0x1')],_0x1763b9);_0x46afd8[_0x3744('0x41')](_0x43f8f3['getFirstMarker'](),{'range':_0x2d27e3}),_0x101950=!0x0;}}return _0x101950;}),_0x536b11['model'][_0x3744('0xbe')][_0x3744('0x172')](_0x4f2961=>this['_processAttributeChanges'](_0x4f2961)),_0x536b11[_0x3744('0x31')][_0x3744('0xbe')]['registerPostFixer'](_0x29a12e=>!_0x29a12e[_0x3744('0xc0')]['isLocal']&&this['_processAttributeSuggestions'](_0x29a12e)),_0x536b11[_0x3744('0x31')]['markers']['on'](_0x3744('0x40'),(_0x5811fe,_0x175cad,_0x1fd444)=>{if(null==_0x1fd444){const {id:_0x239f34}=this['_splitMarkerName'](_0x175cad['name']),_0x30ee7e=this[_0x3744('0xa9')][_0x3744('0xd2')](_0x239f34);_0x30ee7e&&_0x30ee7e[_0x3744('0x0')](_0x175cad[_0x3744('0x3a')]);}}),_0x536b11[_0x3744('0x31')][_0x3744('0xbe')]['on'](_0x3744('0x156'),()=>{const _0x25996c=Array[_0x3744('0x27')](_0x536b11['model'][_0x3744('0xbe')][_0x3744('0xdc')][_0x3744('0x7c')]())[_0x3744('0x12e')](_0xc7d178=>_0x3744('0xef')===this['_splitMarkerName'](_0xc7d178[_0x3744('0x3a')])[_0x3744('0x50')]);if(0x0===_0x25996c[_0x3744('0x42')])return;_0x25996c[_0x3744('0x19')]((_0x1d82de,_0x1939b4)=>{const _0xf05072=_0x1d82de[_0x3744('0x69')]['oldRange'],_0x47cabd=_0x1939b4['data'][_0x3744('0x150')];return null===_0xf05072&&null===_0x47cabd?0x0:null===_0xf05072&&null!==_0x47cabd?-0x1:null!==_0xf05072&&null===_0x47cabd?0x1:_0xf05072['start'][_0x3744('0x16d')](_0x47cabd[_0x3744('0x1')])?-0x1:0x1;});const _0x4549ce=new Set(),_0x45e3c1=new Set();for(const {name:_0x3498cc,data:_0x5e5fb1}of _0x25996c){const {id:_0x51bfe6}=this[_0x3744('0xa7')](_0x3498cc);if(null===_0x5e5fb1[_0x3744('0x150')]){const _0x2cfc47=this[_0x3744('0x138')](_0x3498cc);_0x45e3c1[_0x3744('0x12b')](_0x2cfc47);}else{const _0xf677ab=this['_suggestions'][_0x3744('0xd2')](_0x51bfe6);null!==_0x5e5fb1[_0x3744('0x129')]||_0xf677ab['isInContent']?(_0x4549ce[_0x3744('0x12b')](_0xf677ab['head']),_0x45e3c1[_0x3744('0x12b')](_0xf677ab)):this[_0x3744('0xb7')](_0xf677ab);}}_0x45e3c1[_0x3744('0x17d')]>0x0&&this['_refreshSuggestionsChain'](_0x45e3c1);for(const _0x1988fe of _0x4549ce)this[_0x3744('0x46')]('suggestionChanged',_0x1988fe);}),_0x536b11[_0x3744('0x31')]['on'](_0x3744('0x133'),(_0x423e15,_0x50ea85)=>{const _0x50e40f=_0x50ea85[0x0];if(!this['_suggestions'][_0x3744('0x17d')])return;if(!_0x50e40f[_0x3744('0x87')])return;if(_0x50e40f[_0x3744('0xc0')][_0x3744('0x102')]||!_0x50e40f[_0x3744('0xc0')][_0x3744('0x64')])return;let _0x4360a5,_0x38128f;switch(_0x50e40f[_0x3744('0xe3')]){case'insert':_0x4360a5=_0x536b11[_0x3744('0x31')]['createPositionAt'](_0x50e40f[_0x3744('0x4e')]),_0x38128f=_0x4360a5[_0x3744('0xdf')](_0x50e40f[_0x3744('0xb9')]);break;case'split':_0x4360a5=_0x536b11['model'][_0x3744('0x136')](_0x50e40f[_0x3744('0x107')]),_0x38128f=_0x536b11['model'][_0x3744('0x136')](_0x50e40f[_0x3744('0xfc')]);break;case'move':_0x4360a5=_0x536b11[_0x3744('0x31')][_0x3744('0x136')](_0x50e40f[_0x3744('0x7')]),_0x38128f=_0x4360a5[_0x3744('0xdf')](_0x50e40f[_0x3744('0xb9')]);break;default:return;}const _0xc5d91d=_0x536b11[_0x3744('0x31')][_0x3744('0x116')](_0x4360a5,_0x38128f);_0x536b11[_0x3744('0x31')][_0x3744('0x112')](()=>{for(const {suggestion:_0x3f03ca,meta:_0x272125}of this[_0x3744('0x6e')](_0xc5d91d)){if(_0x3f03ca['isMultiRange'])continue;if(_0x3744('0x11e')==_0x3f03ca[_0x3744('0xe3')])continue;const _0x55a4a5=this['_getAttributeKeyFromSubType'](_0x3f03ca);if(_0x55a4a5&&this[_0x3744('0x8f')](_0x55a4a5)&&_0x3744('0x7b')!=_0x50e40f['type'])continue;const _0x56192f=_0x3f03ca[_0x3744('0x69')]&&_0x3f03ca[_0x3744('0x69')][_0x3744('0xe9')];(_0x3744('0x11d')!=_0x3f03ca[_0x3744('0xe3')]||_0x3744('0x7b')==_0x50e40f[_0x3744('0xe3')]&&!_0x56192f)&&(_0x272125[_0x3744('0x13')]||_0x3744('0x4f')==_0x3f03ca[_0x3744('0xe3')]&&_0x272125[_0x3744('0x11c')]||_0x3f03ca['getFirstRange']()[_0x3744('0xa8')](_0xc5d91d)&&this[_0x3744('0xbb')](_0x3f03ca,_0x4360a5,_0x38128f));}});},{'priority':_0x3744('0x132')}),_0x536b11[_0x3744('0x31')]['on'](_0x3744('0x60'),(_0x367af7,_0x3c8c5e)=>{const _0x1bd3dc=_0x3c8c5e[0x0],_0x48d3e4=_0x3c8c5e[0x1];if(_0x48d3e4&&_0x48d3e4[_0x3744('0x26')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0x3744('0x3f')][_0x3744('0xe7')])return;if(_0x1bd3dc['isCollapsed'])return;const _0x406989=_0x536b11[_0x3744('0x31')][_0x3744('0xf0')],{start:_0x37ca1b,end:_0x5bc43e}=_0x1bd3dc['getFirstRange'](),_0x3253ff=_0x37ca1b['nodeAfter']&&_0x406989[_0x3744('0xb')](_0x37ca1b[_0x3744('0x134')])?null:_0x406989['getNearestSelectionRange'](_0x37ca1b,'forward'),_0x433d6d=_0x5bc43e[_0x3744('0xe0')]&&_0x406989[_0x3744('0xb')](_0x5bc43e[_0x3744('0xe0')])?null:_0x406989[_0x3744('0x140')](_0x5bc43e,_0x3744('0x168')),_0x44daae=_0x536b11['model'][_0x3744('0x116')](_0x3253ff?_0x3253ff[_0x3744('0x1')]:_0x37ca1b,_0x433d6d?_0x433d6d[_0x3744('0x17c')]:_0x5bc43e);_0x536b11[_0x3744('0x31')][_0x3744('0x112')](_0x1c2e47=>{this[_0x3744('0x75')](_0x44daae);const _0x4a404e=_0x536b11['model']['schema'][_0x3744('0x140')](_0x44daae[_0x3744('0x1')]);_0x1bd3dc['is'](_0x3744('0x61'))?_0x1c2e47['setSelection'](_0x4a404e):_0x1bd3dc['setTo'](_0x4a404e);}),_0x367af7['stop']();},{'priority':_0x4c7718[_0x3744('0x139')]+0xa}),_0x536b11[_0x3744('0x31')]['on']('insertContent',(_0x2ab3c3,_0x4104a1)=>{const _0x1b2bd8=_0x4104a1[_0x4104a1['length']-0x1];_0x1b2bd8&&_0x1b2bd8[_0x3744('0x26')]||this['_isForcedDefaultExecutionBlock']||this[_0x3744('0x3f')][_0x3744('0xe7')]&&(_0x536b11['model'][_0x3744('0x112')](()=>{let _0x51ec58=_0x536b11['model'][_0x3744('0xd6')](_0x4104a1[0x0],_0x4104a1[0x1],_0x4104a1[0x2],{'forceDefaultExecution':!0x0});if(!_0x51ec58)return;_0x2ab3c3[_0x3744('0x17f')]=_0x51ec58[_0x3744('0xd8')]();const _0x43ffb1=_0x51ec58[_0x3744('0x17c')]['nodeBefore'],_0x464e68=_0x536b11[_0x3744('0x31')]['schema'];_0x43ffb1&&_0x464e68[_0x3744('0x135')](_0x43ffb1)&&!_0x464e68[_0x3744('0x4d')](_0x43ffb1)&&(_0x51ec58=_0x536b11['model'][_0x3744('0x116')](_0x51ec58[_0x3744('0x1')],_0x536b11[_0x3744('0x31')][_0x3744('0x136')](_0x43ffb1,_0x3744('0x17c')))),this[_0x3744('0x12f')](_0x51ec58);}),_0x2ab3c3[_0x3744('0x177')]());},{'priority':_0x3744('0xfd')}),this[_0x3744('0x11f')][_0x3744('0x157')][_0x3744('0x12b')](_0x3744('0x16f'),this[_0x3744('0x3f')]),this[_0x3744('0x10d')]('trackChanges');const _0x2619fb=new _0x5a7ca3(_0x536b11,this['_suggestions']);_0x536b11[_0x3744('0x157')][_0x3744('0x12b')](_0x3744('0xa0'),_0x2619fb),this[_0x3744('0x10d')](_0x3744('0xa0'));const _0x1d82ad=new _0x59f534(_0x536b11,this[_0x3744('0xa9')]);_0x536b11[_0x3744('0x157')][_0x3744('0x12b')](_0x3744('0x165'),_0x1d82ad),this[_0x3744('0x10d')](_0x3744('0x165')),_0x536b11['commands'][_0x3744('0x12b')](_0x3744('0x58'),new _0x3cf581(_0x536b11,_0x2619fb,this[_0x3744('0xa9')])),this['enableCommand'](_0x3744('0x58')),_0x536b11[_0x3744('0x157')][_0x3744('0x12b')](_0x3744('0x12c'),new _0x3cf581(_0x536b11,_0x1d82ad,this[_0x3744('0xa9')])),this[_0x3744('0x10d')](_0x3744('0x12c')),_0x536b11['commands'][_0x3744('0x12b')](_0x3744('0x12d'),new _0x5f08d1(_0x536b11,_0x2619fb,this['_suggestions'])),this[_0x3744('0x10d')](_0x3744('0x12d')),_0x536b11[_0x3744('0x157')][_0x3744('0x12b')](_0x3744('0x1e'),new _0x5f08d1(_0x536b11,_0x1d82ad,this[_0x3744('0xa9')])),this[_0x3744('0x10d')](_0x3744('0x1e'));const _0x462309=_0x536b11['plugins'][_0x3744('0xd2')](_0x3744('0xe'));this[_0x3744('0x37')](_0x462309,_0x3744('0x14'),(_0x40bf47,{threadId:_0x13a4cf})=>{const _0x213a1f=this[_0x3744('0xa9')][_0x3744('0xd2')](_0x13a4cf);_0x213a1f&&_0x213a1f[_0x3744('0x121')]&&0x1===_0x213a1f[_0x3744('0x121')]['length']&&this[_0x3744('0xc1')](_0x13a4cf,{'hasComments':!0x0});},{'priority':_0x3744('0x71')}),this[_0x3744('0x37')](_0x462309,_0x3744('0x16'),(_0x306c8d,{threadId:_0x2693e8})=>{const _0x170b3d=this['_suggestions'][_0x3744('0xd2')](_0x2693e8);_0x170b3d&&_0x170b3d[_0x3744('0x121')]&&!_0x170b3d['commentThread'][_0x3744('0x42')]&&this[_0x3744('0xc1')](_0x2693e8,{'hasComments':!0x1});},{'priority':'low'});}set['adapter'](_0xf2289a){if(this[_0x3744('0x101')])throw new _0x59168b(_0x3744('0x115'),this);this[_0x3744('0x101')]=_0xf2289a;}get[_0x3744('0xc9')](){return this[_0x3744('0x101')];}[_0x3744('0x173')]({skipNotAttached:_0xc54532=!0x1,toJSON:_0x3ebdc6=!0x1}={}){const _0x4dcca9=[];for(const _0x50eafb of this[_0x3744('0xa9')][_0x3744('0x7a')]())_0xc54532&&!_0x50eafb[_0x3744('0x141')]||_0x4dcca9[_0x3744('0x76')](_0x50eafb);return _0x3ebdc6?_0x4dcca9[_0x3744('0x1d')](_0x23b527=>_0x23b527['toJSON']()):_0x4dcca9;}[_0x3744('0x10f')](_0x2e0078){const _0xe1e5c6=this[_0x3744('0xa9')]['get'](_0x2e0078);if(!_0xe1e5c6)throw new _0x59168b(_0x3744('0x18'),this);return _0xe1e5c6;}['hasSuggestion'](_0x8eed2){return this[_0x3744('0xa9')][_0x3744('0x65')](_0x8eed2);}[_0x3744('0x8e')](_0xe58278){const {authorId:_0x191914,id:_0x3578cc,attributes:_0x70a7da}=_0xe58278,[_0x51b830,_0xca58bf]=_0xe58278[_0x3744('0xe3')][_0x3744('0x7b')](':'),_0x1f5340=this[_0x3744('0xa9')][_0x3744('0xd2')](_0x3578cc)||this[_0x3744('0xad')](_0x51b830,_0xca58bf,_0x3578cc,_0x191914,_0x70a7da);if(this[_0x3744('0x3e')](_0x1f5340),this[_0x3744('0xcc')](_0x1f5340,_0x51b830,_0xca58bf||null,_0x191914),_0x1f5340[_0x3744('0xc7')]=_0xe58278[_0x3744('0xc7')],_0x1f5340['_isDataLoaded']=!0x0,_0x70a7da&&_0x70a7da[_0x3744('0x7e')]){const _0x6d925=_0x70a7da[_0x3744('0x7e')],_0x4f166b=this['_getExternalAuthor'](_0x6d925[_0x3744('0x178')]);_0x1f5340[_0x3744('0x88')]=_0x6d925[_0x3744('0xc7')],_0x1f5340[_0x3744('0x95')]=_0x4f166b,_0x1f5340[_0x3744('0x151')]=!0x0;}else _0x1f5340[_0x3744('0x88')]=_0xe58278[_0x3744('0xc7')];switch(_0xe58278['data']&&(_0x1f5340[_0x3744('0x69')]=_0xe58278[_0x3744('0x69')]),_0xe58278[_0x3744('0x9b')]&&(_0x1f5340[_0x3744('0x9b')]=_0xe58278[_0x3744('0x9b')]),this[_0x3744('0x101')]&&this[_0x3744('0x101')][_0x3744('0xed')]||(_0x1f5340[_0x3744('0x10b')]=!0x0),this[_0x3744('0x67')][_0x3744('0xd2')](_0x1f5340)){case _0x3744('0xe4'):this[_0x3744('0x67')][_0x3744('0xd')](_0x1f5340,_0x3744('0x17a'));break;case'markerReady':_0x1f5340[_0x3744('0x141')]?(this['_refreshSuggestionsChain'](new Set([_0x1f5340])),this[_0x3744('0x78')](new Set([_0x1f5340])),this['_suggestionState']['set'](_0x1f5340,_0x3744('0xb5')),this['fire']('suggestionLoaded',_0x1f5340)):this['_suggestionState'][_0x3744('0xd')](_0x1f5340,_0x3744('0x10e'));}return _0x1f5340;}[_0x3744('0xa0')](_0x551812){this[_0x3744('0x26')](()=>{this['editor'][_0x3744('0x31')]['change'](()=>{for(const _0x4a7a65 of _0x551812[_0x3744('0x106')]())_0x4a7a65[_0x3744('0x1f')]();});});}['discardSuggestion'](_0x2c34bb){this[_0x3744('0x26')](()=>{this[_0x3744('0x11f')][_0x3744('0x31')][_0x3744('0x112')](()=>{for(const _0x15a8ad of _0x2c34bb[_0x3744('0x106')]())_0x15a8ad[_0x3744('0xf7')]();});});}[_0x3744('0x10d')](_0x1069cf,_0x4aa06e){const _0x43617c=this[_0x3744('0x11f')][_0x3744('0x157')][_0x3744('0xd2')](_0x1069cf);if(!_0x43617c)throw new _0x59168b(_0x3744('0xb2'),this,{'commandName':_0x1069cf});if(this['_enabledCommands'][_0x3744('0x65')](_0x43617c))throw new _0x59168b(_0x3744('0xbc'),this,{'commandName':_0x1069cf});this[_0x3744('0x6b')][_0x3744('0x12b')](_0x43617c),_0x4aa06e&&_0x43617c['on'](_0x3744('0x17'),(_0x6f456,_0x24f758)=>{this[_0x3744('0x3f')][_0x3744('0xe7')]&&(this[_0x3744('0x23')]||(_0x24f758[_0x3744('0x42')]>0x0&&_0x24f758[_0x24f758[_0x3744('0x42')]-0x1]&&_0x24f758[_0x24f758['length']-0x1]['forceDefaultExecution']?_0x24f758[_0x3744('0x96')]():(_0x6f456['return']=_0x4aa06e((..._0x4c0971)=>_0x43617c[_0x3744('0x17')](..._0x4c0971,{'forceDefaultExecution':!0x0}),..._0x24f758),_0x6f456[_0x3744('0x177')]())));},{'priority':_0x3744('0xfd')});}[_0x3744('0x26')](_0x27487b){let _0x285019,_0x1fa5fc;const _0x10ad8c=this[_0x3744('0x23')];this[_0x3744('0x23')]=!0x0;try{_0x285019=_0x27487b();}catch(_0x1509c4){_0x1fa5fc=_0x1509c4;}return _0x10ad8c||(this[_0x3744('0x23')]=!0x1),_0x1fa5fc&&_0x59168b[_0x3744('0x20')](_0x1fa5fc,this),_0x285019;}['markInsertion'](_0x9dcc18,_0x1a88af=null,_0x1b5558={}){if(_0x9dcc18[_0x3744('0xe1')])return null;const _0x33bcce=this[_0x3744('0x11f')]['plugins']['get'](_0x3744('0x118'))['me'];for(const {suggestion:_0x4dfb72,meta:_0x44ab0f}of this[_0x3744('0x6e')](_0x9dcc18,_0x3744('0x4f')))if(_0x44ab0f[_0x3744('0x11c')]){if(!_0x44ab0f['isNextTo']){if(_0x44ab0f[_0x3744('0x13')]){if(!this['_mergeNestedSuggestions']||!Ft(_0x4dfb72,_0x1b5558))continue;return _0x4dfb72;}if(Ft(_0x4dfb72,_0x1b5558))return _0x4dfb72;this['_breakSuggestionMarker'](_0x4dfb72,_0x9dcc18[_0x3744('0x1')],_0x9dcc18[_0x3744('0x17c')]);break;}if(_0x1a88af==_0x4dfb72[_0x3744('0x15e')]&&Ft(_0x4dfb72,_0x1b5558)){const _0x51c135=_0x4dfb72[_0x3744('0x2c')]();return _0x51c135[_0x3744('0x1')]['isEqual'](_0x9dcc18['end'])?this['_setSuggestionRange'](_0x4dfb72,this[_0x3744('0x4a')][_0x3744('0x116')](_0x9dcc18[_0x3744('0x1')],_0x51c135['end'])):this[_0x3744('0x7d')](_0x4dfb72,this[_0x3744('0x4a')]['createRange'](_0x51c135[_0x3744('0x1')],_0x9dcc18[_0x3744('0x17c')])),_0x4dfb72;}}const _0x2b33b3=_0x743fe9(),_0x6f8caf=_0x33bcce['id'],_0x326822=_0x1a88af?_0x3744('0x48')+_0x1a88af:_0x3744('0x4f'),_0x31dbdc=this['_setSuggestionData']({'id':_0x2b33b3,'type':_0x326822,'createdAt':new Date(),'authorId':_0x6f8caf,'attributes':_0x1b5558});return this[_0x3744('0x38')](_0x326822,_0x2b33b3,_0x6f8caf,_0x9dcc18),_0x31dbdc;}['markMultiRangeInsertion'](_0x43655e,_0x365283='multi',_0x5f47fa={}){const _0x34f2df=this[_0x3744('0x11f')][_0x3744('0xae')][_0x3744('0xd2')](_0x3744('0x118'))['me'],_0x3d6124=this[_0x3744('0x119')][_0x3744('0x56')](_0x3744('0x4f'),_0x365283,'join');for(const _0x10833c of this[_0x3744('0x173')]())if(_0x10833c['author']['id']==_0x34f2df['id']&&_0x3744('0x4f')==_0x10833c[_0x3744('0xe3')]&&_0x10833c[_0x3744('0x15e')]==_0x365283&&Ft(_0x10833c,_0x5f47fa)&&(_0x3d6124(_0x10833c[_0x3744('0x36')](),_0x43655e)||_0x3d6124(_0x43655e,_0x10833c['getRanges']()))){for(const _0x32334e of _0x43655e)_0x10833c[_0x3744('0xfb')](_0x32334e);return _0x10833c;}for(const {suggestion:_0x1e13df,meta:_0x532e91}of this[_0x3744('0x6e')](_0x43655e,'insertion')){if(!_0x532e91[_0x3744('0x11c')])continue;if(!this[_0x3744('0x4')]&&_0x532e91[_0x3744('0x13')])continue;if(!Ft(_0x1e13df,_0x5f47fa))continue;let _0x63f01=!0x0;for(const _0x1c3d63 of _0x1e13df[_0x3744('0x36')]())for(const _0x2b0791 of _0x43655e)if(!_0x1c3d63[_0x3744('0xa8')](_0x2b0791)){_0x63f01=!0x1;break;}if(_0x63f01)return _0x1e13df;}const _0x43b58a=_0x743fe9(),_0x191f3d=_0x34f2df['id'],_0x31c081='insertion:'+_0x365283,_0x1747d9=this[_0x3744('0xe5')]({'id':_0x43b58a,'type':_0x31c081,'createdAt':new Date(),'authorId':_0x191f3d,'attributes':_0x5f47fa});for(const _0x1fb871 of _0x43655e)this[_0x3744('0x38')](_0x31c081,_0x43b58a,_0x191f3d,_0x1fb871,_0x4b6ab6[_0x3744('0xee')]());return _0x1747d9;}[_0x3744('0x160')](_0x1f586e,_0x10e2db,_0x5e7343=null,_0x1855f8={}){if(_0x5e7343=_0x5e7343||Rt(_0x10e2db),_0x1f586e[_0x3744('0xe1')])return null;if(_0x3744('0x14b')===this['_trackFormatChanges']){const _0x28b1b2=this['_suggestionFactory'][_0x3744('0x56')](_0x3744('0x11e'),_0x5e7343,_0x3744('0x1f'));return this[_0x3744('0x26')](()=>_0x28b1b2([_0x1f586e],_0x10e2db,_0x1855f8)),null;}const _0x518ede=this[_0x3744('0x11f')][_0x3744('0xae')][_0x3744('0xd2')](_0x3744('0x118'))['me'],_0x3d5a3e=[];if(_0x3744('0xf8')!==this[_0x3744('0x15b')])for(const {suggestion:_0x235111,meta:_0x220cba}of this[_0x3744('0x6e')](_0x1f586e,_0x3744('0x4f')))_0x220cba['isOwn']&&!_0x220cba[_0x3744('0x54')]&&_0x3d5a3e['push'](..._0x235111[_0x3744('0x36')]());const _0x6afab9=function(_0x594421,_0x2eb83c){const _0x53a933=[];for(const _0x383fd0 of _0x2eb83c){const _0x30426e=_0x594421['getIntersection'](_0x383fd0);_0x30426e&&_0x53a933[_0x3744('0x76')](_0x30426e);}return _0x53a933;}(_0x1f586e,_0x3d5a3e),_0x546dd2=function(_0x596216,_0x1ff5f6){const _0x556d09=[_0x596216];for(const _0x12eecc of _0x1ff5f6){let _0x16fb68=0x0;for(;_0x16fb68<_0x556d09['length'];){const _0x4990e1=_0x556d09[_0x16fb68][_0x3744('0xf1')](_0x12eecc);_0x556d09[_0x3744('0x2d')](_0x16fb68,0x1,..._0x4990e1),_0x16fb68+=_0x4990e1[_0x3744('0x42')];}}return _0x556d09;}(_0x1f586e,_0x3d5a3e);_0x6afab9[_0x3744('0x42')]&&this[_0x3744('0x4a')][_0x3744('0x112')](()=>{for(const _0x55712e of _0x6afab9){const _0x588fab=this[_0x3744('0x119')][_0x3744('0x56')](_0x3744('0x11e'),_0x5e7343,_0x3744('0x1f'));this['forceDefaultExecution'](()=>_0x588fab([_0x55712e],_0x10e2db,_0x1855f8));}});for(const _0xca1885 of _0x546dd2){let _0xc88636=null,_0x2084b5=_0xca1885['start'],_0x194ea8=_0xca1885[_0x3744('0x17c')];for(const {suggestion:_0x46e322,meta:_0x15b1d4}of this[_0x3744('0x6e')](_0xca1885,_0x3744('0x11e'))){if(!_0x15b1d4[_0x3744('0x11c')])continue;if(_0x46e322[_0x3744('0x15e')]!=_0x5e7343)continue;if(!Ft(_0x46e322,_0x1855f8))continue;const _0x5204c1=_0x46e322[_0x3744('0x2c')]();if(_0x5204c1[_0x3744('0xa8')](_0xca1885,!0x0))return null;_0x2084b5=_0x2084b5[_0x3744('0x16d')](_0x5204c1[_0x3744('0x1')])?_0x2084b5:_0x5204c1['start'],_0x194ea8=_0x194ea8['isAfter'](_0x5204c1[_0x3744('0x17c')])?_0x194ea8:_0x5204c1[_0x3744('0x17c')],_0xc88636?_0x5204c1[_0x3744('0x1')][_0x3744('0x16d')](_0xc88636['getFirstRange']()['start'])?(_0xc88636[_0x3744('0x8b')](),_0xc88636=_0x46e322):_0x46e322[_0x3744('0x8b')]():_0xc88636=_0x46e322;}const _0x54dcbe=this[_0x3744('0x4a')]['createRange'](_0x2084b5,_0x194ea8);if(_0xc88636)this['_setSuggestionRange'](_0xc88636,_0x54dcbe);else{const _0x3b806d=_0x743fe9(),_0x58af98=_0x518ede['id'];this[_0x3744('0xe5')]({'id':_0x3b806d,'type':_0x3744('0x17e')+_0x5e7343,'data':_0x10e2db,'createdAt':new Date(),'authorId':_0x58af98,'attributes':_0x1855f8}),this['_addSuggestionMarker'](_0x3744('0x17e')+_0x5e7343,_0x3b806d,_0x58af98,_0x54dcbe);}}return null;}[_0x3744('0xdb')](_0x538899,_0x39dfba,_0x117828=[],_0x27da05=null,_0x5c34ba={}){_0x39dfba[_0x3744('0x15c')]||(_0x39dfba[_0x3744('0x15c')]=_0x39dfba[_0x3744('0xc6')]),_0x39dfba['multipleBlocks']=_0x538899['is']('range'),_0x27da05=_0x27da05||Rt(_0x39dfba);const _0x12d390=_0x117828[_0x3744('0x1d')](_0x5aa78a=>Ut(_0x5aa78a,this[_0x3744('0x4a')])),_0x5ed61e=_0x538899['is'](_0x3744('0xf9'))?_0x538899:Ut(_0x538899,this[_0x3744('0x4a')]);if('never'===this['_trackFormatChanges']){const _0x3c4c96=this['_suggestionFactory'][_0x3744('0x56')]('formatBlock',_0x27da05,'accept');return this['forceDefaultExecution'](()=>_0x3c4c96([_0x5ed61e],_0x39dfba,_0x5c34ba)),null;}_0x12d390[_0x3744('0x76')](_0x5ed61e);let _0x4e8ac0=!0x0;for(const _0xb2d859 of _0x12d390)if(!this[_0x3744('0x10a')](_0xb2d859)){_0x4e8ac0=!0x1;break;}if(_0x4e8ac0&&_0x3744('0xf8')!==this[_0x3744('0x15b')]){const _0x56c792=this[_0x3744('0x119')][_0x3744('0x56')](_0x3744('0x11d'),_0x27da05,_0x3744('0x1f'));return this['forceDefaultExecution'](()=>_0x56c792([_0x5ed61e],_0x39dfba,_0x5c34ba)),null;}let _0x4c61c9=null,_0x4826f4=_0x5ed61e[_0x3744('0x1')],_0x2f10a5=_0x5ed61e[_0x3744('0x17c')];for(const {suggestion:_0xd3ca14,meta:_0x1c8665}of this[_0x3744('0x6e')](_0x5ed61e,_0x3744('0x11d'))){if(!_0x1c8665[_0x3744('0x11c')])continue;if(_0x1c8665[_0x3744('0x5f')]||_0x1c8665[_0x3744('0x13')]||_0x1c8665[_0x3744('0x54')])continue;if(_0xd3ca14[_0x3744('0x69')][_0x3744('0x15c')]!=_0x39dfba['formatGroupId'])continue;if(!Ft(_0xd3ca14,_0x5c34ba))continue;const _0x7f462c=_0xd3ca14[_0x3744('0x2c')]();if(_0xd3ca14['subType']==_0x27da05){if(_0x7f462c[_0x3744('0xa8')](_0x5ed61e,!0x0))return null;_0x4826f4=_0x4826f4[_0x3744('0x16d')](_0x7f462c[_0x3744('0x1')])?_0x4826f4:_0x7f462c[_0x3744('0x1')],_0x2f10a5=_0x2f10a5['isAfter'](_0x7f462c[_0x3744('0x17c')])?_0x2f10a5:_0x7f462c[_0x3744('0x17c')],_0x4c61c9?_0x7f462c[_0x3744('0x1')][_0x3744('0x16d')](_0x4c61c9[_0x3744('0x2c')]()[_0x3744('0x1')])?(_0x4c61c9[_0x3744('0x8b')](),_0x4c61c9=_0xd3ca14):_0xd3ca14[_0x3744('0x8b')]():_0x4c61c9=_0xd3ca14;}else{const _0x1a3f3b=_0x5ed61e['getIntersection'](_0x7f462c);this[_0x3744('0x167')](_0xd3ca14,_0x1a3f3b);}}const _0x48f9f1=this[_0x3744('0x11f')][_0x3744('0xae')][_0x3744('0xd2')](_0x3744('0x118'))['me'],_0x240bee=_0x743fe9(),_0x2f61a5=_0x48f9f1['id'];if(_0x4c61c9)return this[_0x3744('0x7d')](_0x4c61c9,this[_0x3744('0x4a')][_0x3744('0x116')](_0x4826f4,_0x2f10a5)),_0x4c61c9;{const _0x4ef8ad=this[_0x3744('0xe5')]({'id':_0x240bee,'type':_0x3744('0x13d')+_0x27da05,'data':_0x39dfba,'createdAt':new Date(),'authorId':_0x2f61a5,'attributes':_0x5c34ba});return this[_0x3744('0x38')]('formatBlock:'+_0x27da05,_0x240bee,_0x2f61a5,this[_0x3744('0x4a')][_0x3744('0x116')](_0x4826f4,_0x2f10a5)),_0x4ef8ad;}}[_0x3744('0x159')](_0x164206,_0x5f4292,_0x151cc4=[],_0x3f34f8=null,_0x7dac17={}){_0x5f4292[_0x3744('0x15c')]||(_0x5f4292[_0x3744('0x15c')]=_0x5f4292[_0x3744('0xc6')]);const _0x7bf6f4=_0x164206[0x0];_0x5f4292[_0x3744('0xe9')]=_0x7bf6f4['is'](_0x3744('0xf9')),_0x3f34f8=_0x3f34f8||Rt(_0x5f4292);const _0x463d26=_0x151cc4[_0x3744('0x1d')](_0x2b443e=>Ut(_0x2b443e,this['_model'])),_0x2581cb=_0x7bf6f4['is'](_0x3744('0xf9'))?_0x164206:_0x164206[_0x3744('0x1d')](_0x5cc69a=>Ut(_0x5cc69a,this[_0x3744('0x4a')]));if('never'===this['_trackFormatChanges']){const _0x4c0a45=this['_suggestionFactory'][_0x3744('0x56')](_0x3744('0x11d'),_0x3f34f8,_0x3744('0x1f'));return this[_0x3744('0x26')](()=>_0x4c0a45(_0x2581cb,_0x5f4292,_0x7dac17)),null;}_0x463d26['push'](..._0x2581cb);let _0x3732bd=!0x0;for(const _0x52853d of _0x463d26)if(!this[_0x3744('0x10a')](_0x52853d)){_0x3732bd=!0x1;break;}if(_0x3732bd&&_0x3744('0xf8')!==this[_0x3744('0x15b')]){const _0x2e700c=this[_0x3744('0x119')]['getSuggestionCallback'](_0x3744('0x11d'),_0x3f34f8,_0x3744('0x1f'));return this[_0x3744('0x26')](()=>_0x2e700c(_0x2581cb,_0x5f4292,_0x7dac17)),null;}const _0x4e66ee=this[_0x3744('0x11f')][_0x3744('0xae')]['get'](_0x3744('0x118'))['me'];for(const _0x545aa6 of this[_0x3744('0x173')]()){if(_0x545aa6[_0x3744('0x95')]['id']!=_0x4e66ee['id'])continue;if(_0x3744('0x11d')!=_0x545aa6[_0x3744('0xe3')]||_0x545aa6[_0x3744('0x69')][_0x3744('0x15c')]!=_0x5f4292['formatGroupId'])continue;if(!Ft(_0x545aa6,_0x7dac17))continue;const _0xa72ccd=_0x545aa6[_0x3744('0x15e')]==_0x3f34f8;for(let _0x120162=0x0;_0x120162<_0x2581cb[_0x3744('0x42')];_0x120162++){const _0x3d1886=_0x2581cb[_0x120162];for(const _0x5cef91 of _0x545aa6['getMarkers']()){const _0x3fb239=_0x5cef91[_0x3744('0xc4')]();if(_0x3d1886[_0x3744('0x70')](_0x3fb239)){_0xa72ccd?(_0x2581cb[_0x3744('0x2d')](_0x120162,0x1),_0x120162--):_0x545aa6['removeMarker'](_0x5cef91[_0x3744('0x3a')]);break;}}}}if(0x0==_0x2581cb['length'])return null;const _0x112ab5=this[_0x3744('0x119')][_0x3744('0x56')](_0x3744('0x11d'),_0x3f34f8,_0x3744('0xb0'));for(const _0x3d40e4 of this[_0x3744('0x173')]())if(_0x3d40e4[_0x3744('0x95')]['id']==_0x4e66ee['id']&&_0x3744('0x11d')==_0x3d40e4[_0x3744('0xe3')]&&_0x3d40e4[_0x3744('0x69')][_0x3744('0x15c')]==_0x5f4292['formatGroupId']&&_0x3d40e4[_0x3744('0x15e')]==_0x3f34f8&&Ft(_0x3d40e4,_0x7dac17)&&(_0x112ab5(_0x3d40e4[_0x3744('0x36')](),_0x2581cb)||_0x112ab5(_0x2581cb,_0x3d40e4[_0x3744('0x36')]()))){for(const _0x2969eb of _0x2581cb)_0x3d40e4['addRange'](_0x2969eb);return _0x3d40e4;}const _0x543038=_0x743fe9(),_0x44c09f=_0x4e66ee['id'],_0x272928='formatBlock:'+_0x3f34f8,_0x2c31fa=this['_setSuggestionData']({'id':_0x543038,'type':_0x272928,'data':_0x5f4292,'createdAt':new Date(),'authorId':_0x44c09f,'attributes':_0x7dac17});for(const _0x3fc3ee of _0x2581cb)this[_0x3744('0x38')](_0x272928,_0x543038,_0x44c09f,_0x3fc3ee,_0x4b6ab6[_0x3744('0xee')]());return _0x2c31fa;}['markDeletion'](_0x1bb86b,_0x40dd2a=null,_0x33375e={}){if(_0x1bb86b['isCollapsed'])return null;const _0x17736e=this['editor'][_0x3744('0xae')][_0x3744('0xd2')](_0x3744('0x118'))['me'],_0x28e2dc=new _0x11e2f1(_0x1bb86b[_0x3744('0x1')],_0x1bb86b['end']);for(const {suggestion:_0x33de31,meta:_0x277f2a}of this['_findSuggestions'](_0x28e2dc,_0x3744('0x4f')))if(_0x277f2a['isOwn']&&!_0x277f2a[_0x3744('0x5f')]){if(_0x33de31[_0x3744('0x5c')]){const _0x270e2c=_0x33de31[_0x3744('0x36')]()[_0x3744('0x12e')](_0x3db2c9=>_0x3744('0x109')!=_0x3db2c9[_0x3744('0x82')]['rootName']);_0x270e2c[_0x3744('0x85')](_0x5021fa=>_0x28e2dc[_0x3744('0xa8')](_0x5021fa,!0x0))&&_0x33de31[_0x3744('0xf7')]();if(_0x270e2c['some'](_0x1f3662=>_0x1f3662[_0x3744('0xa8')](_0x28e2dc,!0x0))){const _0x21b85a=this['_suggestionFactory'][_0x3744('0x56')](_0x3744('0xac'),_0x40dd2a,_0x3744('0x1f'));return this['forceDefaultExecution'](()=>_0x21b85a([_0x28e2dc],null,_0x33375e)),null;}}else{const _0x15bbe2=_0x28e2dc['getIntersection'](_0x33de31['getFirstRange']());null!==_0x15bbe2&&_0x33de31[_0x3744('0x21')]([_0x15bbe2],null,_0x33375e);}}if(_0x28e2dc[_0x3744('0x51')](),_0x28e2dc['isCollapsed']||'$graveyard'==_0x28e2dc[_0x3744('0x82')][_0x3744('0x153')])return null;let _0x24b087=null,_0x10e387=_0x28e2dc[_0x3744('0x1')],_0xb1d7b6=_0x28e2dc[_0x3744('0x17c')];const _0x5aa98b=this[_0x3744('0x6e')](_0x28e2dc,_0x3744('0xac'));for(const {suggestion:_0x2bfca7,meta:_0x8086bc}of _0x5aa98b){const _0x2f5821=this[_0x3744('0x4a')][_0x3744('0x116')](_0x10e387,_0xb1d7b6);if(_0x8086bc[_0x3744('0x11c')]&&(this[_0x3744('0x4')]||!_0x8086bc['containsRangeInObject']&&!_0x8086bc['isInsideObject'])){if(_0x2bfca7[_0x3744('0x5c')]){if(!Ft(_0x2bfca7,_0x33375e))continue;let _0x5e7eb1=!0x0;for(const _0x1e0478 of _0x2bfca7['getRanges']()){if(_0x1e0478[_0x3744('0xa8')](_0x2f5821,!0x0))return _0x2bfca7;_0x2f5821[_0x3744('0xa8')](_0x1e0478)||(_0x5e7eb1=!0x1);}_0x5e7eb1&&_0x2bfca7[_0x3744('0xf7')]();}else{const _0x54e520=_0x2bfca7[_0x3744('0x2c')]();if(_0x54e520[_0x3744('0xa8')](_0x2f5821,!0x0))return _0x2bfca7;if(!Ft(_0x2bfca7,_0x33375e)){_0x2f5821[_0x3744('0xa8')](_0x54e520)?_0x2bfca7['removeMarkers']():_0x54e520['containsPosition'](_0x10e387)?_0x10e387=_0x54e520[_0x3744('0x17c')]:_0x54e520[_0x3744('0x9c')](_0xb1d7b6)&&(_0xb1d7b6=_0x54e520[_0x3744('0x1')]);continue;}_0x10e387=_0x10e387['isBefore'](_0x54e520[_0x3744('0x1')])?_0x10e387:_0x54e520['start'],_0xb1d7b6=_0xb1d7b6[_0x3744('0xaf')](_0x54e520[_0x3744('0x17c')])?_0xb1d7b6:_0x54e520[_0x3744('0x17c')],_0x33375e=Object[_0x3744('0x11b')]({},_0x2bfca7[_0x3744('0x9b')]),_0x24b087?_0x54e520['start'][_0x3744('0x16d')](_0x24b087['getFirstRange']()[_0x3744('0x1')])?(_0x24b087[_0x3744('0x8b')](),_0x24b087=_0x2bfca7):_0x2bfca7[_0x3744('0x8b')]():_0x24b087=_0x2bfca7;}}}if(_0x24b087)return this[_0x3744('0x7d')](_0x24b087,this['_model'][_0x3744('0x116')](_0x10e387,_0xb1d7b6)),_0x24b087;{const _0x1d25dc=_0x743fe9(),_0x248325=this[_0x3744('0x4a')][_0x3744('0x116')](_0x10e387,_0xb1d7b6),_0x22c933=_0x17736e['id'],_0x2b81b9=_0x40dd2a?_0x3744('0x79')+_0x40dd2a:_0x3744('0xac'),_0x4475b7=this[_0x3744('0xe5')]({'id':_0x1d25dc,'type':_0x2b81b9,'createdAt':new Date(),'authorId':_0x22c933,'attributes':_0x33375e});return this[_0x3744('0x38')](_0x2b81b9,_0x1d25dc,_0x22c933,_0x248325),_0x4475b7;}}[_0x3744('0x44')](_0x38e7ed,_0x5dc029='multi',_0x2ff179={}){const _0xf7a3c2=this[_0x3744('0x11f')][_0x3744('0xae')][_0x3744('0xd2')](_0x3744('0x118'))['me'],_0x171214=_0x38e7ed[_0x3744('0x1d')](_0x1cfb0a=>new _0x11e2f1(_0x1cfb0a[_0x3744('0x1')],_0x1cfb0a[_0x3744('0x17c')])),_0x1feedf=new Set();for(const {suggestion:_0x5465d5,meta:_0x31751f}of this[_0x3744('0x6e')](_0x171214,_0x3744('0x4f')))_0x31751f[_0x3744('0x11c')]&&!_0x31751f[_0x3744('0x5f')]&&_0x1feedf[_0x3744('0x12b')](_0x5465d5);for(const _0x44b087 of _0x1feedf)if(_0x44b087['isMultiRange']){const _0x59ca4e=_0x44b087['getRanges']();(!_0x44b087[_0x3744('0x9b')]||!_0x44b087[_0x3744('0x9b')][_0x3744('0x6c')])&&(_0x59ca4e[_0x3744('0x85')](_0x2825b1=>_0x171214[_0x3744('0x144')](_0x19e4a1=>_0x19e4a1[_0x3744('0xa8')](_0x2825b1,!0x0)))&&_0x44b087[_0x3744('0xf7')]());if(_0x171214[_0x3744('0x85')](_0x4e7c84=>_0x59ca4e['some'](_0x49beea=>_0x49beea[_0x3744('0xa8')](_0x4e7c84,!0x0)))){const _0x145559=this[_0x3744('0x119')]['getSuggestionCallback'](_0x3744('0xac'),_0x5dc029,_0x3744('0x1f'));return this['forceDefaultExecution'](()=>_0x145559(_0x38e7ed,null,_0x2ff179)),null;}}else{const _0x412157=_0x44b087[_0x3744('0x2c')]();_0x171214[_0x3744('0x144')](_0x22fc6f=>_0x22fc6f[_0x3744('0xa8')](_0x412157,!0x0))&&_0x44b087[_0x3744('0xf7')]();if(_0x171214[_0x3744('0x85')](_0x5209cd=>_0x412157['containsRange'](_0x5209cd,!0x0))){const _0x2f4b43=this[_0x3744('0x119')][_0x3744('0x56')](_0x3744('0xac'),_0x5dc029,_0x3744('0x1f'));return this[_0x3744('0x26')](()=>_0x2f4b43(_0x171214,null,_0x2ff179)),null;}}const _0x47dc0a=this[_0x3744('0x119')][_0x3744('0x56')]('deletion',_0x5dc029,'join');let _0x76e71e=null;for(const _0x48716a of this[_0x3744('0x173')]())if(_0x48716a['author']['id']==_0xf7a3c2['id']&&_0x48716a[_0x3744('0x141')]&&_0x3744('0xac')==_0x48716a[_0x3744('0xe3')]&&_0x48716a['subType']==_0x5dc029&&Ft(_0x48716a,_0x2ff179)&&(_0x47dc0a(_0x48716a[_0x3744('0x36')](),_0x171214)||_0x47dc0a(_0x171214,_0x48716a[_0x3744('0x36')]()))){if(_0x76e71e){if(_0x48716a[_0x3744('0x121')]&&_0x48716a['commentThread'][_0x3744('0x42')])continue;for(const _0x58ce21 of _0x48716a[_0x3744('0x36')]())_0x76e71e[_0x3744('0xd0')](_0x58ce21)||_0x76e71e['addRange'](_0x58ce21);_0x48716a[_0x3744('0x8b')]();}else{_0x76e71e=_0x48716a;for(const _0x551ad8 of _0x171214)_0x48716a[_0x3744('0xd0')](_0x551ad8)||_0x48716a[_0x3744('0xfb')](_0x551ad8);}}if(_0x76e71e)return _0x76e71e;_0x1feedf[_0x3744('0x142')]();for(const {suggestion:_0x781385,meta:_0x5a6482}of this[_0x3744('0x6e')](_0x171214,_0x3744('0xac')))_0x5a6482[_0x3744('0x11c')]&&(this[_0x3744('0x4')]||!_0x5a6482[_0x3744('0x13')]&&!_0x5a6482[_0x3744('0x54')])&&Ft(_0x781385,_0x2ff179)&&_0x1feedf[_0x3744('0x12b')](_0x781385);for(const _0x5e2393 of _0x1feedf){const _0x106ebc=_0x5e2393[_0x3744('0x36')]();if(!_0x2ff179||!_0x2ff179[_0x3744('0x6c')]){if(_0x171214[_0x3744('0x85')](_0x276b85=>_0x106ebc['some'](_0x441de2=>_0x441de2[_0x3744('0xa8')](_0x276b85,!0x0))))return _0x5e2393;}(!_0x5e2393['attributes']||!_0x5e2393['attributes'][_0x3744('0x6c')])&&(_0x106ebc['every'](_0x24b0ec=>_0x171214[_0x3744('0x144')](_0x57ca95=>_0x57ca95[_0x3744('0xa8')](_0x24b0ec,!0x0)))&&_0x5e2393[_0x3744('0xf7')]());}const _0x3fb45f=_0x743fe9(),_0x3fa696=_0xf7a3c2['id'],_0x1af091=_0x3744('0x79')+_0x5dc029,_0x54a30d=this[_0x3744('0xe5')]({'id':_0x3fb45f,'type':_0x1af091,'createdAt':new Date(),'authorId':_0x3fa696,'attributes':_0x2ff179});for(const _0x1b3301 of _0x171214)_0x1b3301[_0x3744('0x51')](),_0x1b3301[_0x3744('0xe1')]||'$graveyard'==_0x1b3301['root'][_0x3744('0x153')]||this[_0x3744('0x38')](_0x1af091,_0x3fb45f,_0x3fa696,_0x1b3301,_0x4b6ab6[_0x3744('0xee')]());return _0x54a30d;}[_0x3744('0xab')](_0x6d8e0d,_0x1e4072,_0xd84ca5,_0x54a470,_0x3e9416){if(_0x6d8e0d['isCollapsed'])return[];if('never'===this[_0x3744('0x15b')])return[];const _0x135569=this[_0x3744('0x11f')]['plugins'][_0x3744('0xd2')]('Users')['me']['id'],_0x35faf9=Array[_0x3744('0x27')](this['_suggestions']['values']())['filter'](_0x50de7c=>_0x3744('0x166')==_0x50de7c[_0x3744('0xe3')]&&_0x50de7c['data'][_0x3744('0x125')]==_0x1e4072&&_0x50de7c['isIntersectingWithRange'](_0x6d8e0d));if(_0x3744('0xec')===this[_0x3744('0x15b')]){const _0x54f3ff=this['_findSuggestions'](_0x6d8e0d,'insertion')['filter'](({meta:_0x6fd5cc})=>_0x6fd5cc[_0x3744('0x11c')]&&!_0x6fd5cc[_0x3744('0x54')]&&!_0x6fd5cc['isNextTo'])[_0x3744('0x1d')](({suggestion:_0x324040})=>_0x324040);_0x35faf9[_0x3744('0x97')](..._0x54f3ff);}const _0x3a70f3=new Map([[_0x6d8e0d,_0xd84ca5]]);for(const _0x4b3aab of _0x35faf9){const _0x43392d=_0x3744('0x166')==_0x4b3aab[_0x3744('0xe3')]?_0x4b3aab[_0x3744('0x69')][_0x3744('0x49')]:void 0x0,_0x450824=_0x4b3aab[_0x3744('0x2c')](),_0x48b0a2=Array[_0x3744('0x27')](_0x3a70f3[_0x3744('0x35')]())['find'](_0x3c1eec=>_0x3c1eec['isIntersecting'](_0x450824));_0x48b0a2&&(_0x3a70f3[_0x3744('0x3c')](_0x48b0a2),_0x48b0a2['getDifference'](_0x450824)[_0x3744('0x13c')](_0x324f8b=>{_0x3a70f3[_0x3744('0xd')](_0x324f8b,_0xd84ca5);}),_0x3744('0x4f')!=_0x4b3aab['type']&&_0x43392d!=_0x54a470&&_0x3a70f3[_0x3744('0xd')](_0x48b0a2[_0x3744('0xca')](_0x450824),_0x43392d));}const _0x245e69=[];for(const [_0x1596ec,_0x1fdd01]of _0x3a70f3){const _0x3744ca=_0x743fe9(),_0x67bdd4={'key':_0x1e4072,'oldValue':_0x1fdd01,'newValue':_0x54a470};_0x1e4072[_0x3744('0x42')]>0x25&&console[_0x3744('0xa3')](_0x3744('0x24'),{'key':_0x1e4072});const _0x442fd0=(_0x3744('0x5b')+(_0x1e4072+'|'+Rt({'newValue':_0x54a470})))[_0x3744('0x110')](0x0,0x3c),_0x21a08c=this[_0x3744('0xe5')]({'id':_0x3744ca,'type':_0x442fd0,'data':_0x67bdd4,'createdAt':new Date(),'authorId':_0x135569,'attributes':_0x3e9416});_0x245e69['push'](_0x21a08c),this[_0x3744('0x38')](_0x442fd0,_0x3744ca,_0x135569,_0x1596ec);}return _0x245e69;}[_0x3744('0x175')](_0xb8da8){this[_0x3744('0x4b')][_0x3744('0x12b')](_0xb8da8);}['_registerInlineAttribute'](_0xbe073d){this[_0x3744('0x104')]['add'](_0xbe073d);}['_enableDefaultAttributesIntegration'](_0x31751a,_0x58597c=[],_0x1834ef=[]){this[_0x3744('0x10d')](_0x31751a,(_0x3924a6,..._0x4b8a40)=>{this[_0x3744('0x15d')](()=>{_0x3924a6(..._0x4b8a40);});});for(const _0x4c6cb8 of _0x58597c)this[_0x3744('0xd9')](_0x4c6cb8);for(const _0x42d44b of _0x1834ef)this[_0x3744('0x175')](_0x42d44b);}[_0x3744('0x7d')](_0x2e752e,_0x5ad561){const _0x41a895=_0x2e752e['getFirstMarker']();this[_0x3744('0x4a')]['change'](_0x5bba9d=>{_0x5bba9d[_0x3744('0x41')](_0x41a895,{'range':_0x5ad561});});}['_addThreadToSuggestion'](_0x5658c2){const _0x2b215d=_0x5658c2['id'],_0x345b4f=this[_0x3744('0x11f')]['config'][_0x3744('0xd2')](_0x3744('0x120'));this[_0x3744('0x63')]['hasCommentThread'](_0x2b215d)||this[_0x3744('0x63')][_0x3744('0x3')]({'channelId':_0x345b4f,'threadId':_0x2b215d,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x969714=this['_commentsRepository'][_0x3744('0x123')](_0x2b215d);_0x969714[_0x3744('0x179')](_0x3744('0x6d')),_0x969714[_0x3744('0x6d')]=!0x1,_0x5658c2[_0x3744('0x121')]=_0x969714;}[_0x3744('0xcc')](_0x1fa4f0,_0x55a2c5,_0x30a215,_0x1100d8){if(_0x1fa4f0[_0x3744('0xe3')]!=_0x55a2c5||_0x1fa4f0[_0x3744('0x15e')]!=_0x30a215||_0x1fa4f0[_0x3744('0xbd')]['id']!=_0x1100d8)throw this[_0x3744('0x11f')][_0x3744('0x84')](_0x3744('0xeb')),new _0x59168b(_0x3744('0xeb'),this);}[_0x3744('0x167')](_0xda188c,_0x591ff7){const _0x2d3ff4=_0xda188c[_0x3744('0x2c')]();if(_0x591ff7[_0x3744('0x70')](_0x2d3ff4))_0xda188c[_0x3744('0x8b')]();else{if(_0x2d3ff4[_0x3744('0xa8')](_0x591ff7)){const _0x306ce2=this[_0x3744('0x4a')]['createPositionAt'](_0x591ff7[_0x3744('0x1')][_0x3744('0xe0')],_0x3744('0x17c'));this[_0x3744('0x7d')](_0xda188c,this[_0x3744('0x4a')][_0x3744('0x116')](_0x2d3ff4[_0x3744('0x1')],_0x306ce2));const _0x1e4350=_0x743fe9(),_0x2ecc5e=_0xda188c[_0x3744('0xbd')]['id'],_0xe98b7f=_0xda188c['type']+':'+_0xda188c[_0x3744('0x15e')];this[_0x3744('0xe5')]({'id':_0x1e4350,'type':_0xe98b7f,'createdAt':new Date(),'authorId':_0x2ecc5e,'data':_0xda188c[_0x3744('0x69')],'attributes':_0xda188c['attributes']});const _0x5076b4=this[_0x3744('0x4a')][_0x3744('0x136')](_0x591ff7['end'][_0x3744('0x10')],_0x3744('0xc8')),_0x10e028=this[_0x3744('0x4a')]['createRange'](_0x5076b4,_0x2d3ff4['end']);this[_0x3744('0x38')](_0xe98b7f,_0x1e4350,_0x2ecc5e,_0x10e028);}else{if(_0x2d3ff4[_0x3744('0x9c')](_0x591ff7['start'])){const _0x4fd264=this[_0x3744('0x4a')][_0x3744('0x136')](_0x591ff7[_0x3744('0x1')][_0x3744('0xe0')],_0x3744('0x17c'));this[_0x3744('0x7d')](_0xda188c,this[_0x3744('0x4a')]['createRange'](_0x2d3ff4[_0x3744('0x1')],_0x4fd264));}else{const _0xeed217=this['_model']['createPositionAt'](_0x591ff7[_0x3744('0x17c')][_0x3744('0x10')],_0x3744('0xc8'));this['_setSuggestionRange'](_0xda188c,this[_0x3744('0x4a')][_0x3744('0x116')](_0xeed217,_0x2d3ff4['end']));}}}}[_0x3744('0x10a')](_0x881369){for(const {suggestion:_0x1bac8b,meta:_0x3415c3}of this[_0x3744('0x6e')](_0x881369,_0x3744('0x4f'))){if(!_0x3415c3['isOwn'])continue;const _0x4eec0b=_0x1bac8b[_0x3744('0x36')]();for(const _0x2c4654 of _0x4eec0b)if(!_0x881369[_0x3744('0xf1')](_0x2c4654)[_0x3744('0x42')])return!0x0;}return!0x1;}[_0x3744('0x16c')](_0x45aa67){const _0x470299=this['editor']['plugins']['get'](_0x3744('0x118'))['getUser'](_0x45aa67);if(!_0x470299)throw new _0x59168b(_0x3744('0x5e'),this);return _0x470299;}[_0x3744('0x16b')](_0x1cea82){const _0x4b673d=this[_0x3744('0x11f')]['plugins'][_0x3744('0xd2')](_0x3744('0x118')),_0x502b22=_0x418b3a(_0x3744('0x2f')+_0x1cea82),_0x52151b=_0x4b673d[_0x3744('0x155')](_0x502b22);return _0x52151b||_0x4b673d[_0x3744('0xb4')]({'id':_0x502b22,'name':_0x1cea82});}['_createSuggestion'](_0x44c196,_0x14254b,_0xdd82df,_0x4de584,_0x5b58a9){const _0x59ec4c=this['_getAuthorFromId'](_0x4de584),_0x469e83=this[_0x3744('0x119')][_0x3744('0x131')](_0x44c196,_0x14254b,_0xdd82df,_0x59ec4c,_0x5b58a9,_0x35be76=>this[_0x3744('0xc1')](_0xdd82df,{'attributes':_0x35be76}));return this[_0x3744('0x37')](_0x469e83,_0x3744('0x1f'),()=>{this['_updateSuggestionData'](_0xdd82df,{'state':_0x3744('0x127')});},{'priority':_0x3744('0xfd')}),this[_0x3744('0x37')](_0x469e83,'discard',()=>{this[_0x3744('0xc1')](_0xdd82df,{'state':'rejected'});},{'priority':_0x3744('0xfd')}),this[_0x3744('0xa9')][_0x3744('0xd')](_0xdd82df,_0x469e83),this[_0x3744('0x67')][_0x3744('0xd')](_0x469e83,'notReady'),_0x469e83;}[_0x3744('0xa7')](_0x279a79){const _0x35f55e=_0x279a79['split'](':');return{'group':_0x35f55e[0x0],'type':_0x35f55e[0x1],'subType':_0x35f55e[_0x3744('0x42')]>=0x5?_0x35f55e[0x2]:null,'id':_0x35f55e[_0x3744('0x42')]<0x5?_0x35f55e[0x2]:_0x35f55e[0x3],'authorId':_0x35f55e[_0x3744('0x42')]<0x5?_0x35f55e[0x3]:_0x35f55e[0x4],'markerCount':0x6==_0x35f55e[_0x3744('0x42')]?_0x35f55e[0x5]:null};}[_0x3744('0xbb')](_0x791d75,_0x12195f,_0x5054f7){const _0x2f7008=_0x791d75['getFirstRange'](),_0x8661a7=_0x2f7008['start'],_0x20a4f2=_0x2f7008[_0x3744('0x17c')];this[_0x3744('0x7d')](_0x791d75,this[_0x3744('0x4a')][_0x3744('0x116')](_0x8661a7,_0x12195f));const _0x4d7d8e=_0x743fe9(),_0x349393=_0x791d75[_0x3744('0xbd')]['id'],_0x386c3f=_0x791d75[_0x3744('0xe3')]+(_0x791d75[_0x3744('0x15e')]?':'+_0x791d75[_0x3744('0x15e')]:'');this[_0x3744('0xe5')]({'id':_0x4d7d8e,'type':_0x386c3f,'createdAt':new Date(),'authorId':_0x349393,'originalSuggestionId':_0x791d75['id'],'attributes':_0x791d75[_0x3744('0x9b')],'data':_0x791d75[_0x3744('0x69')]});const _0x474f7c=this[_0x3744('0x29')](_0x791d75);(_0x3744('0x11d')==_0x791d75['type']||_0x474f7c&&this[_0x3744('0x8f')](_0x474f7c))&&(_0x5054f7=this[_0x3744('0x4a')][_0x3744('0x73')](_0x5054f7[_0x3744('0x10')])),this[_0x3744('0x38')](_0x386c3f,_0x4d7d8e,_0x349393,this['_model'][_0x3744('0x116')](_0x5054f7,_0x20a4f2));}['_findSuggestions'](_0x758a44,_0x251818=null){const _0x17005e=[],_0x3ccf5e=this[_0x3744('0x11f')][_0x3744('0xae')]['get'](_0x3744('0x118'))['me'];Array['isArray'](_0x758a44)||(_0x758a44=[_0x758a44]);for(const _0x48b466 of this[_0x3744('0x173')]()){if(!_0x48b466[_0x3744('0x141')])continue;if(_0x251818&&_0x48b466[_0x3744('0xe3')]!=_0x251818)continue;let _0x1f9001=!0x1;for(const _0x4ac31b of _0x48b466[_0x3744('0x36')]()){for(const _0x2bf2bb of _0x758a44){const _0x51d127=_0x2bf2bb['start'][_0x3744('0x70')](_0x4ac31b['end'])||_0x2bf2bb['end'][_0x3744('0x70')](_0x4ac31b[_0x3744('0x1')]);if(_0x51d127||_0x2bf2bb[_0x3744('0xca')](_0x4ac31b)){const _0x67eefd=_0x2bf2bb[_0x3744('0xa8')](_0x4ac31b)&&Tt(this[_0x3744('0x4a')][_0x3744('0xf0')],_0x4ac31b['start'],_0x2bf2bb),_0x36b258=_0x4ac31b[_0x3744('0xa8')](_0x2bf2bb)&&Tt(this[_0x3744('0x4a')][_0x3744('0xf0')],_0x2bf2bb[_0x3744('0x1')],_0x4ac31b);_0x17005e[_0x3744('0x76')]({'suggestion':_0x48b466,'meta':{'isOwn':_0x3ccf5e==_0x48b466[_0x3744('0x95')],'isNextTo':_0x51d127,'isInsideObject':_0x67eefd,'containsRangeInObject':_0x36b258}}),_0x1f9001=!0x0;break;}}if(_0x1f9001)break;}}return _0x17005e;}[_0x3744('0x38')](_0x4dc4e5,_0x522cbe,_0x15e337,_0x54d437,_0x53043b){this[_0x3744('0x4a')][_0x3744('0x112')](_0x408c96=>{let _0x2b739b=_0x3744('0xa4')+_0x4dc4e5+':'+_0x522cbe+':'+_0x15e337;_0x53043b&&(_0x2b739b=_0x2b739b+':'+_0x53043b),_0x408c96['addMarker'](_0x2b739b,{'range':_0x54d437,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x197ac6){const _0x495c5b=_0x197ac6[_0x3744('0x72')],_0x4b8a23=_0x197ac6[_0x3744('0x2a')];_0x197ac6[_0x3744('0x72')]=null,_0x197ac6[_0x3744('0x2a')]=null,null!=_0x495c5b&&(_0x495c5b[_0x3744('0x2a')]=_0x4b8a23),null!=_0x4b8a23&&(_0x4b8a23[_0x3744('0x72')]=_0x495c5b),'ready'==this[_0x3744('0x67')][_0x3744('0xd2')](_0x197ac6)&&(this[_0x3744('0x67')]['set'](_0x197ac6,_0x3744('0x10e')),this[_0x3744('0x46')](_0x3744('0xf'),_0x197ac6,_0x495c5b,_0x4b8a23));}['_setSuggestionData'](_0x3ef95a){const _0x42d519=_0x3ef95a['id'],_0x35d400=this[_0x3744('0x8e')](_0x3ef95a);if(this[_0x3744('0x101')]&&this[_0x3744('0x101')]['addSuggestion']){const _0x4d745a=this[_0x3744('0x11f')][_0x3744('0xae')][_0x3744('0xd2')](_0x3744('0xd4')),_0x112c05=_0x35d400[_0x3744('0x174')],_0x54d198=_0x35d400[_0x3744('0x15e')]?_0x35d400['type']+':'+_0x35d400[_0x3744('0x15e')]:_0x35d400[_0x3744('0xe3')],_0x1c4733=this[_0x3744('0x11f')]['locale'],_0x4789ec=_0x4d745a['add'](_0x5c7591(_0x1c4733,_0x3744('0x74'))),_0x1a6525={'id':_0x42d519,'type':_0x54d198,'hasComments':_0x112c05,'data':_0x3ef95a[_0x3744('0x69')]||null,'originalSuggestionId':_0x3ef95a[_0x3744('0x8a')]||null,'attributes':_0x35d400[_0x3744('0x9b')]};this[_0x3744('0x101')][_0x3744('0xed')](_0x1a6525)['then'](_0x5c285c=>{_0x35d400[_0x3744('0x10b')]=!0x0,_0x4d745a[_0x3744('0x105')](_0x4789ec),_0x5c285c&&_0x5c285c[_0x3744('0xc7')]&&(this[_0x3744('0xa9')][_0x3744('0xd2')](_0x42d519)['createdAt']=_0x5c285c[_0x3744('0xc7')]);})[_0x3744('0x32')](_0x16c0eb=>{throw _0x46490f('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model'][_0x3744('0x176')]({'isUndoable':!0x1},()=>{_0x35d400[_0x3744('0xf7')]();}),_0x35d400[_0x3744('0x62')](),this[_0x3744('0xa9')][_0x3744('0x3c')](_0x35d400['id']),this['_suggestionState'][_0x3744('0x3c')](_0x35d400),_0x16c0eb;});}return _0x35d400;}[_0x3744('0x8f')](_0xa824c7){return this[_0x3744('0x4b')]['has'](_0xa824c7);}[_0x3744('0x29')](_0x4185d9){return _0x3744('0x166')==_0x4185d9[_0x3744('0xe3')]&&_0x4185d9[_0x3744('0x15e')][_0x3744('0x7b')]('|')[0x0];}[_0x3744('0xc1')](_0x55584d,_0x307604){const _0x5e821c=this[_0x3744('0x11f')]['plugins']['get'](_0x3744('0xd4')),_0x28385e=this['getSuggestion'](_0x55584d);if(this[_0x3744('0x101')]&&this[_0x3744('0x101')]['updateSuggestion']){if(_0x28385e[_0x3744('0x10b')]){const _0x24872f=_0x5e821c['add'](_0x5c7591(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this[_0x3744('0x101')]['updateSuggestion'](_0x55584d,_0x307604)['then'](()=>{_0x5e821c[_0x3744('0x105')](_0x24872f);});}else _0x28385e['on'](_0x3744('0xa1'),()=>{this[_0x3744('0xc1')](_0x55584d,_0x307604);});}}['_getSuggestionData'](_0x17978f){if(!this[_0x3744('0x101')]||!this[_0x3744('0x101')][_0x3744('0x10f')])throw new _0x59168b(_0x3744('0x16a'),this);return this[_0x3744('0x101')][_0x3744('0x10f')](_0x17978f);}['_handleNewSuggestionMarker'](_0x4c9fcc){const {id:_0x1e6fb2,type:_0x4104bb,subType:_0x23d66f,authorId:_0x59ccf3}=this[_0x3744('0xa7')](_0x4c9fcc),_0x56e70e=this[_0x3744('0xa9')][_0x3744('0xd2')](_0x1e6fb2)||this[_0x3744('0xad')](_0x4104bb,_0x23d66f,_0x1e6fb2,_0x59ccf3,{});switch(this[_0x3744('0xcc')](_0x56e70e,_0x4104bb,_0x23d66f,_0x59ccf3),this['_suggestionState'][_0x3744('0xd2')](_0x56e70e)){case _0x3744('0xe4'):this[_0x3744('0x9e')](_0x1e6fb2)[_0x3744('0x6f')](_0x3a5242=>{let _0x483ff4=Promise['resolve']();_0x3a5242[_0x3744('0x174')]&&(_0x483ff4=this[_0x3744('0x63')][_0x3744('0x91')]({'channelId':this[_0x3744('0x11f')]['config'][_0x3744('0xd2')](_0x3744('0x120')),'threadId':_0x1e6fb2})),_0x483ff4[_0x3744('0x6f')](()=>{this[_0x3744('0x8e')](_0x3a5242)['_saved']=!0x0;});}),this[_0x3744('0x67')][_0x3744('0xd')](_0x56e70e,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x1e6fb2,{'state':_0x3744('0x81')});case _0x3744('0x17a'):this[_0x3744('0x67')][_0x3744('0xd')](_0x56e70e,_0x3744('0xb5')),this[_0x3744('0x46')](_0x3744('0xea'),_0x56e70e);break;case _0x3744('0xb5'):this[_0x3744('0x46')]('suggestionChanged',_0x56e70e);}return _0x56e70e[_0x3744('0x0')](_0x4c9fcc),_0x56e70e;}[_0x3744('0x124')](_0x5e3ebc){const _0x14c15c=Array['from'](_0x5e3ebc),_0x57807e=_0x14c15c[_0x3744('0x12e')](_0x27cd4d=>_0x3744('0x166')==_0x27cd4d[_0x3744('0xe3')]);this['_refreshAttributeSuggestionsChain'](_0x57807e);const _0x41a7ee=_0x14c15c[_0x3744('0x12e')](_0x3e9cf1=>!_0x3e9cf1[_0x3744('0x5c')]&&_0x3744('0x166')!=_0x3e9cf1[_0x3744('0xe3')]),_0x347f8b=this['getSuggestions']({'skipNotAttached':!0x0})[_0x3744('0x12e')](_0x35c69f=>!_0x35c69f[_0x3744('0x5c')]&&_0x3744('0x166')!=_0x35c69f[_0x3744('0xe3')]),_0x1e74b3=_0x347f8b['filter'](_0x213e8a=>!_0x5e3ebc[_0x3744('0x65')](_0x213e8a)),_0x310fb7=new Map(_0x347f8b[_0x3744('0x1d')](_0x3d3251=>[_0x3d3251,this[_0x3744('0x119')][_0x3744('0x56')](_0x3d3251[_0x3744('0xe3')],_0x3d3251[_0x3744('0x15e')],'chain')])),_0x2c5c8d=new Map(_0x347f8b['map'](_0x3d4808=>[_0x3d4808,_0x3d4808[_0x3744('0x2c')]()])),_0x30a9cb=new Set(),_0x19ddea=new Set();for(let _0x1f98f9=0x0;_0x1f98f9<_0x41a7ee[_0x3744('0x42')];_0x1f98f9++)_0x59de74(_0x41a7ee[_0x1f98f9],_0x41a7ee,_0x1f98f9+0x1);for(let _0x341055=0x0;_0x341055<_0x41a7ee[_0x3744('0x42')];_0x341055++)_0x59de74(_0x41a7ee[_0x341055],_0x1e74b3,0x0);const _0x3592b1=new Set();for(let _0x3b7053=0x0;_0x3b7053<_0x41a7ee['length'];_0x3b7053++){const _0x3c2820=_0x41a7ee[_0x3b7053];!_0x19ddea[_0x3744('0x65')](_0x3c2820)&&_0x3c2820[_0x3744('0x72')]&&(_0x3592b1['add'](_0x3c2820[_0x3744('0x72')]),_0x3c2820[_0x3744('0x72')][_0x3744('0x2a')]===_0x3c2820&&(_0x3c2820[_0x3744('0x72')][_0x3744('0x2a')]=null),_0x3c2820[_0x3744('0x72')]=null),!_0x30a9cb[_0x3744('0x65')](_0x3c2820)&&_0x3c2820[_0x3744('0x2a')]&&(_0x3592b1['add'](_0x3c2820[_0x3744('0x2a')]),_0x3c2820[_0x3744('0x2a')][_0x3744('0x72')]===_0x3c2820&&(_0x3c2820['next'][_0x3744('0x72')]=null),_0x3c2820[_0x3744('0x2a')]=null);}function _0x59de74(_0x2d028c,_0x16bd44,_0x27eba5){for(let _0x4b4160=_0x27eba5;_0x4b4160<_0x16bd44[_0x3744('0x42')];_0x4b4160++){const _0x34c967=_0x4345a8(_0x2d028c,_0x16bd44[_0x4b4160]);_0x34c967&&(_0x34c967[0x0][_0x3744('0x2a')]=_0x34c967[0x1],_0x34c967[0x1][_0x3744('0x72')]=_0x34c967[0x0],_0x30a9cb['add'](_0x34c967[0x0]),_0x19ddea[_0x3744('0x12b')](_0x34c967[0x1]));}}function _0x4345a8(_0x1f979d,_0x9fa6b3){if(_0x1f979d[_0x3744('0x95')]['id']!==_0x9fa6b3['author']['id'])return null;const _0x3d5d50=_0x310fb7[_0x3744('0xd2')](_0x1f979d)(_0x1f979d,_0x9fa6b3,_0x2c5c8d[_0x3744('0xd2')](_0x1f979d),_0x2c5c8d[_0x3744('0xd2')](_0x9fa6b3));if(!_0x3d5d50)return null;return _0x310fb7['get'](_0x9fa6b3)(_0x1f979d,_0x9fa6b3,_0x2c5c8d[_0x3744('0xd2')](_0x1f979d),_0x2c5c8d[_0x3744('0xd2')](_0x9fa6b3))?_0x3d5d50[0x1][_0x3744('0x121')]&&_0x3d5d50[0x1][_0x3744('0x121')][_0x3744('0x42')]?null:_0x3d5d50:null;}_0x3592b1[_0x3744('0x17d')]&&this['_refreshSuggestionsChain'](_0x3592b1);}[_0x3744('0x17b')](_0x34b29d){if(0x0==_0x34b29d['length'])return;const _0x52f91d=this[_0x3744('0x173')]({'skipNotAttached':!0x0})['filter'](_0x2c6cdb=>_0x3744('0x166')==_0x2c6cdb[_0x3744('0xe3')]&&_0x2c6cdb[_0x3744('0x2')]),_0x5455aa=[],_0x4ccd80=new Map();for(const _0x44dd93 of _0x52f91d){const _0x46b844=_0x418b3a(_0x44dd93[_0x3744('0x9b')]);_0x4ccd80['has'](_0x46b844)||(_0x4ccd80[_0x3744('0xd')](_0x46b844,_0x5455aa[_0x3744('0x42')]),_0x5455aa[_0x3744('0x76')]([]));const _0x5e31ab=_0x4ccd80[_0x3744('0xd2')](_0x46b844);_0x5455aa[_0x5e31ab][_0x3744('0x76')](_0x44dd93);}!function(){_0x5455aa['sort']((_0x5a75c6,_0x2a045e)=>{const _0x32c443=_0x5a75c6[0x0][_0x3744('0xc7')],_0x1a80df=_0x2a045e[0x0]['createdAt'];return _0x32c443==_0x1a80df?_0x5a75c6[0x0][_0x3744('0x9b')]['groupId']<_0x2a045e[0x0]['attributes'][_0x3744('0xa6')]?-0x1:0x1:_0x32c443<_0x1a80df?-0x1:0x1;});for(const _0x9449f7 of _0x5455aa)_0x9449f7[_0x3744('0x19')]((_0x128ce5,_0x3ba07e)=>_0x128ce5['id']<_0x3ba07e['id']?-0x1:0x1);}();for(let _0x3dc989=0x0;_0x3dc989<_0x5455aa[_0x3744('0x42')];_0x3dc989++){if(0x0==_0x5455aa[_0x3dc989][_0x3744('0x42')])continue;const _0x58355b=[];for(let _0x5d741d=_0x3dc989+0x1;_0x5d741d<_0x5455aa[_0x3744('0x42')];_0x5d741d++)0x0!=_0x5455aa[_0x5d741d]['length']&&_0xd02539(_0x5455aa[_0x3dc989],_0x5455aa[_0x5d741d])&&_0x58355b[_0x3744('0x76')](_0x5d741d);for(const _0x5ac059 of _0x58355b)_0x5455aa[_0x3dc989]=_0x5455aa[_0x3dc989][_0x3744('0x3b')](_0x5455aa[_0x5ac059]),_0x5455aa[_0x5ac059]=[];}for(const _0x43b7c8 of _0x5455aa)for(let _0xd3f566=0x0;_0xd3f566<_0x43b7c8['length'];_0xd3f566++)_0x43b7c8[_0xd3f566]['next']=_0x43b7c8[_0xd3f566+0x1]||null;for(const _0x3b1310 of _0x5455aa)for(let _0xf7d6f2=0x0;_0xf7d6f2<_0x3b1310[_0x3744('0x42')];_0xf7d6f2++)_0x3b1310[_0xf7d6f2][_0x3744('0x72')]=_0x3b1310[_0xf7d6f2-0x1]||null;function _0xd02539(_0x12a373,_0x4fa6d6){if(_0x12a373[0x0]['author']!==_0x4fa6d6[0x0][_0x3744('0x95')])return!0x1;if(!function(_0x1a578a,_0x11640c){if(!_0x1a578a['hasComments']&&!_0x11640c[_0x3744('0x174')])return!0x0;if(_0x1a578a[_0x3744('0x174')]&&_0x11640c[_0x3744('0x174')])return!0x1;if(_0x1a578a['hasComments']&&_0x11640c[_0x3744('0xc7')]<_0x1a578a['commentThread']['comments'][_0x3744('0xd2')](0x0)[_0x3744('0xc7')])return!0x0;if(_0x11640c[_0x3744('0x174')]&&_0x1a578a['createdAt']<_0x11640c[_0x3744('0x121')][_0x3744('0x113')][_0x3744('0xd2')](0x0)[_0x3744('0xc7')])return!0x0;return!0x1;}(_0x12a373[0x0],_0x4fa6d6[0x0]))return!0x1;const _0x25da56=_0x3271fe(_0x12a373[0x0][_0x3744('0x9b')],_0x3744('0xa6')),_0x16cce3=_0x3271fe(_0x4fa6d6[0x0][_0x3744('0x9b')],_0x3744('0xa6'));if(!_0x13d12b(_0x25da56,_0x16cce3))return!0x1;return!!_0x12a373['every'](_0x4ed314=>_0x4fa6d6[_0x3744('0x144')](_0x331b24=>_0x4ed314[_0x3744('0x2c')]()[_0x3744('0x70')](_0x331b24[_0x3744('0x2c')]())))&&_0x4fa6d6[_0x3744('0x85')](_0x295b39=>_0x12a373[_0x3744('0x144')](_0x4db768=>_0x295b39[_0x3744('0x2c')]()['isEqual'](_0x4db768[_0x3744('0x2c')]())));}}[_0x3744('0x78')](_0x2dbfce){const _0x590942=Array[_0x3744('0x27')](_0x2dbfce),_0x1ca29e=this['getSuggestions']({'skipNotAttached':!0x0}),_0x1cfefd=_0x1ca29e[_0x3744('0x12e')](_0x171d0a=>!_0x2dbfce[_0x3744('0x65')](_0x171d0a)),_0x316c92=new Map(_0x590942[_0x3744('0x1d')](_0x5611f8=>[_0x5611f8,this[_0x3744('0x119')][_0x3744('0x56')](_0x5611f8[_0x3744('0xe3')],_0x5611f8[_0x3744('0x15e')],_0x3744('0xb0'))])),_0x347dcb=new Map(_0x1ca29e[_0x3744('0x1d')](_0x5b69b5=>[_0x5b69b5,_0x5b69b5['getRanges']()]));for(let _0x4d3829=0x0;_0x4d3829<_0x590942['length'];_0x4d3829++){if(_0xbe53bf(this,_0x590942[_0x4d3829],_0x590942,_0x4d3829+0x1))return!0x0;}for(let _0x2e46f0=0x0;_0x2e46f0<_0x590942[_0x3744('0x42')];_0x2e46f0++){if(_0xbe53bf(this,_0x590942[_0x2e46f0],_0x1cfefd,0x0))return!0x0;}return!0x1;function _0xbe53bf(_0x23a33a,_0x598113,_0x4a24f7,_0x53efdb){for(let _0x1d1af5=_0x53efdb;_0x1d1af5<_0x4a24f7[_0x3744('0x42')];_0x1d1af5++){const _0x39a398=_0x4a24f7[_0x1d1af5];if(_0x39a398[_0x3744('0xe3')]!==_0x598113[_0x3744('0xe3')]||_0x39a398[_0x3744('0x95')]['id']!==_0x598113['author']['id']||_0x39a398['subType']!==_0x598113[_0x3744('0x15e')])continue;if(!Vt(_0x598113,_0x39a398))continue;if(_0x3744('0x166')==_0x598113[_0x3744('0xe3')]&&_0x598113[_0x3744('0x69')][_0x3744('0x49')]!=_0x39a398[_0x3744('0x69')]['oldValue'])continue;if(_0x3744('0x166')==_0x598113[_0x3744('0xe3')]&&_0x23a33a[_0x3744('0x8f')](_0x598113[_0x3744('0x69')][_0x3744('0x125')]))continue;const _0x1852c1=_0x316c92[_0x3744('0xd2')](_0x598113),_0x57f0c9=_0x347dcb[_0x3744('0xd2')](_0x598113),_0x5586a8=_0x347dcb['get'](_0x39a398),_0x9f81=_0x598113['commentThread']&&_0x598113[_0x3744('0x121')][_0x3744('0x42')],_0x4f1f0c=_0x39a398[_0x3744('0x121')]&&_0x39a398[_0x3744('0x121')][_0x3744('0x42')];if(!_0x9f81&&_0x1852c1(_0x5586a8,_0x57f0c9))return _0x23a33a[_0x3744('0x103')](_0x39a398,_0x598113),_0x347dcb[_0x3744('0x3c')](_0x598113),!0x0;if(!_0x4f1f0c&&_0x1852c1(_0x57f0c9,_0x5586a8))return _0x23a33a[_0x3744('0x103')](_0x598113,_0x39a398),_0x347dcb[_0x3744('0x3c')](_0x39a398),!0x0;}return!0x1;}}['_joinSuggestions'](_0x47420d,_0x95603d){if(_0x47420d['isMultiRange'])for(const _0x23e574 of _0x95603d[_0x3744('0x36')]())_0x47420d[_0x3744('0xfb')](_0x23e574);else{const _0x266597=_0x95603d[_0x3744('0x2c')]()[_0x3744('0x17c')];this[_0x3744('0x7d')](_0x47420d,this[_0x3744('0x4a')][_0x3744('0x116')](_0x47420d[_0x3744('0x2c')]()['start'],_0x266597));}_0x95603d[_0x3744('0x8b')]();}[_0x3744('0x108')](_0x21003b,_0x37e4e1){const _0x4b1fd2=_0x21003b[_0x3744('0x68')]('format')||_0x21003b[_0x3744('0x68')](_0x3744('0x166'))?_0x3744('0x98'):_0x21003b[_0x3744('0x94')]();return _0x5c7591(this[_0x3744('0x11f')][_0x3744('0x30')],_0x37e4e1+'_'+_0x4b1fd2+_0x3744('0x22'));}[_0x3744('0x52')](){const _0x1b807d=this[_0x3744('0x11f')];_0xee08cf(this[_0x3744('0x4a')],({left:_0x8410a8,entered:_0x2b5064})=>{const _0x20f4a5=[];for(const _0x132506 of _0x8410a8){const {group:_0x23ba6e,type:_0xb8d5ba}=this['_splitMarkerName'](_0x132506[_0x3744('0x3a')]);if(_0x3744('0xef')===_0x23ba6e){_0x20f4a5[_0x3744('0x76')](this[_0x3744('0x108')](_0xb8d5ba,'LEAVE'));break;}}for(const _0x3e3f04 of _0x2b5064){const {group:_0x4a2eef,type:_0x3cbe0b}=this[_0x3744('0xa7')](_0x3e3f04['name']);if(_0x3744('0xef')===_0x4a2eef){_0x20f4a5[_0x3744('0x76')](this[_0x3744('0x108')](_0x3cbe0b,_0x3744('0x9f')));break;}}_0x20f4a5[_0x3744('0x42')]&&_0x1b807d['ui']['ariaLiveAnnouncer'][_0x3744('0xe8')]('trackChanges',_0x20f4a5['join']('\x20'));});}['_processAttributeChanges'](_0x4ffc8e){if(null!==this[_0x3744('0x122')])return!0x1;const _0x1eb731=this['editor'],_0x42dbfa=_0x1eb731['model'][_0x3744('0xbe')][_0x3744('0xdc')][_0x3744('0x9a')]();if(0x0==_0x42dbfa[_0x3744('0x42')])return!0x1;const _0x32ba17=[],_0xb041e9=_0x42dbfa[_0x3744('0x12e')](_0x3f115d=>_0x3744('0x166')==_0x3f115d[_0x3744('0xe3')]),_0x40a8c1=_0x42dbfa[_0x3744('0x12e')](_0x148668=>_0x3744('0x89')==_0x148668['type']&&_0x3744('0xc5')!=_0x148668[_0x3744('0x3a')]),_0x56cbfc=_0x42dbfa['filter'](_0xa6f408=>_0x3744('0x105')==_0xa6f408['type']&&_0x3744('0xc5')!=_0xa6f408[_0x3744('0x3a')]);for(const _0x1b2cac of _0xb041e9)_0x32ba17[_0x3744('0x76')]({'key':_0x1b2cac[_0x3744('0x53')],'newValue':_0x1b2cac[_0x3744('0x13f')],'oldValue':_0x1b2cac[_0x3744('0x148')],'range':_0x47fae7(_0x1b2cac[_0x3744('0xf9')])});for(const _0x218b61 of _0x40a8c1){const _0x5d0e98=_0x56cbfc[_0x3744('0x5a')](_0x18cda6=>_0x18cda6['position'][_0x3744('0x70')](_0x218b61['position']));_0x5d0e98&&_0x32ba17[_0x3744('0x76')]({'key':_0x3744('0xc2'),'newValue':_0x218b61[_0x3744('0x3a')],'oldValue':_0x5d0e98[_0x3744('0x3a')],'range':_0x1eb731[_0x3744('0x31')][_0x3744('0x2e')](_0x218b61['position'][_0x3744('0x134')])});}return 0x0!=_0x32ba17['length']&&this[_0x3744('0xf6')](_0x4ffc8e,_0x32ba17);function _0x47fae7(_0x1f682d){return null==_0x1f682d[_0x3744('0x17c')]['nodeBefore']&&_0x1f682d[_0x3744('0x17c')][_0x3744('0x10')]==_0x1f682d[_0x3744('0x1')]['nodeAfter']?Ut(_0x1f682d['start'][_0x3744('0x134')],_0x1eb731[_0x3744('0x31')]):_0x1f682d;}}[_0x3744('0x2b')](_0x408d11){let _0x446801=!0x1;const _0x43e74f=this[_0x3744('0x11f')][_0x3744('0x31')][_0x3744('0xbe')][_0x3744('0xdc')][_0x3744('0x7c')]()[_0x3744('0x12e')](_0x126ef6=>_0x126ef6['data'][_0x3744('0x129')]&&_0x126ef6[_0x3744('0x3a')][_0x3744('0x68')](_0x3744('0xf3')));for(const _0x44b908 of _0x43e74f){const {subType:_0x1c7b6c,id:_0x5c91ee}=this['_splitMarkerName'](_0x44b908[_0x3744('0x3a')]),_0x1df252=_0x1c7b6c[_0x3744('0x7b')]('|')[0x0];for(const _0x16de7e of this[_0x3744('0x173')]({'skipNotAttached':!0x0}))_0x16de7e['id']!=_0x5c91ee&&_0x3744('0x166')==_0x16de7e[_0x3744('0xe3')]&&_0x16de7e[_0x3744('0x69')]&&_0x16de7e['data']['key']==_0x1df252&&_0x16de7e[_0x3744('0x2c')]()[_0x3744('0x143')](_0x44b908['data'][_0x3744('0x129')])&&(this[_0x3744('0x170')](_0x16de7e,_0x44b908[_0x3744('0x69')]['newRange'],_0x408d11),_0x446801=!0x0);}return _0x446801;}[_0x3744('0x15d')](_0x3fafc1){if(null!==this[_0x3744('0x122')])return void _0x3fafc1();const _0x53767b=this[_0x3744('0x11f')];this[_0x3744('0x122')]=_0x53767b[_0x3744('0x31')][_0x3744('0xbe')]['version'],_0x3fafc1();const _0x41b449=new Map();for(const _0x272de9 of _0x53767b[_0x3744('0x31')][_0x3744('0xbe')][_0x3744('0x33')][_0x3744('0x130')](this[_0x3744('0x122')]))if(['rename',_0x3744('0x11'),_0x3744('0xf4'),_0x3744('0x83')][_0x3744('0x100')](_0x272de9[_0x3744('0xe3')])){const _0x5c1e14=_0x272de9[_0x3744('0xc0')],_0x553de2=_0x41b449[_0x3744('0xd2')](_0x5c1e14)||[];_0x553de2[_0x3744('0x76')](_0x272de9),_0x41b449[_0x3744('0xd')](_0x5c1e14,_0x553de2);}this[_0x3744('0x122')]=null;for(const [_0x40df44,_0x3cee34]of _0x41b449){const _0x4454e1=_0x743fe9();_0x53767b[_0x3744('0x31')][_0x3744('0x176')](_0x40df44,_0x3838e6=>{const _0x7c80ac=[];for(const _0x258bd8 of _0x3cee34){let _0x335b59,_0x379c22,_0x595693,_0x4da96d;if('rename'==_0x258bd8[_0x3744('0xe3')]){const _0x3ff1ef=_0x258bd8;_0x335b59=Ut(_0x3ff1ef[_0x3744('0x4e')][_0x3744('0x134')],_0x53767b[_0x3744('0x31')]),_0x379c22=_0x3744('0xc2'),_0x595693=_0x3ff1ef[_0x3744('0xc3')],_0x4da96d=_0x3ff1ef[_0x3744('0x8d')];}else{const _0x14bea8=_0x258bd8,_0x381873=this['_isBlockAttribute'](_0x14bea8[_0x3744('0x125')]),_0x3b131a=this[_0x3744('0x104')]['has'](_0x14bea8[_0x3744('0x125')]);if(!_0x381873&&!_0x3b131a)continue;_0x335b59=_0x381873?Ut(_0x14bea8[_0x3744('0xf9')]['start'][_0x3744('0x134')],_0x53767b['model']):_0x14bea8[_0x3744('0xf9')],_0x379c22=_0x14bea8[_0x3744('0x125')],_0x595693=_0x3744('0xf4')==_0x258bd8[_0x3744('0xe3')]?void 0x0:_0x14bea8['newValue'],_0x4da96d=_0x14bea8[_0x3744('0x49')];}this[_0x3744('0xab')](_0x335b59,_0x379c22,_0x4da96d,_0x595693,{'groupId':_0x4454e1}),_0x7c80ac[_0x3744('0x76')]({'range':_0x335b59,'key':_0x379c22,'newValue':_0x595693,'oldValue':_0x4da96d});}this[_0x3744('0xf6')](_0x3838e6,_0x7c80ac);});}}[_0x3744('0xf6')](_0x573251,_0x53a64d){if(0x0==_0x53a64d[_0x3744('0x42')])return!0x1;let _0x50bcca=!0x1;for(const _0x11e8e6 of _0x53a64d){const _0x396291=this[_0x3744('0x6e')](_0x11e8e6[_0x3744('0xf9')],_0x3744('0x166'))['filter'](_0x3c16a3=>!_0x3c16a3[_0x3744('0x43')][_0x3744('0x5f')])[_0x3744('0x1d')](_0x526306=>_0x526306[_0x3744('0xef')]),_0x5cbbab=_0x418b3a({'newValue':_0x11e8e6[_0x3744('0xf2')]});_0x396291[_0x3744('0x12e')](_0x3ba20b=>{const [_0x429384,_0x20d8ba]=_0x3ba20b['subType'][_0x3744('0x7b')]('|');return _0x429384==_0x11e8e6[_0x3744('0x125')]&&_0x20d8ba!=_0x5cbbab;})['forEach'](_0x264db7=>{this[_0x3744('0x170')](_0x264db7,_0x11e8e6['range'],_0x573251),_0x50bcca=!0x0;});}return _0x50bcca;}[_0x3744('0x170')](_0x1c2bb1,_0x5f2cfd,_0x375cfd){const _0xd8e56b=_0x1c2bb1[_0x3744('0x2c')]()[_0x3744('0xf1')](_0x5f2cfd);0x0!==_0xd8e56b[_0x3744('0x42')]?0x1!==_0xd8e56b[_0x3744('0x42')]?this[_0x3744('0xbb')](_0x1c2bb1,_0x5f2cfd['start'],_0x5f2cfd[_0x3744('0x17c')]):this[_0x3744('0x7d')](_0x1c2bb1,_0xd8e56b[0x0]):_0x375cfd['removeMarker'](_0x1c2bb1['getFirstMarker']());}}class Bt{constructor(_0x4e8534){this[_0x3744('0xbf')]=_0x4e8534,this[_0x3744('0x4a')]=_0x4e8534[_0x3744('0x31')],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this[_0x3744('0xf5')]();}[_0x3744('0x131')](_0x340ddc,_0x2676e5,_0x47acab,_0x254351,_0x280904,_0x148116){return new _0x4b6ab6(this[_0x3744('0x4a')],{'type':_0x340ddc,'subType':_0x2676e5,'id':_0x47acab,'author':_0x254351,'creator':_0x254351,'attributes':_0x280904,'onAttributesChange':_0x148116,'onAccept':(..._0x39dcf4)=>this['getSuggestionCallback'](_0x340ddc,_0x2676e5,'accept')(..._0x39dcf4),'onDiscard':(..._0x3a6065)=>this[_0x3744('0x56')](_0x340ddc,_0x2676e5,'discard')(..._0x3a6065)});}['registerCustomCallback'](_0x118232,_0x434a9c,_0x4c149d,_0x15b652){const _0x390463=_0x118232+':'+_0x434a9c+':'+_0x4c149d;this[_0x3744('0x9d')][_0x3744('0xd')](_0x390463,_0x15b652);}[_0x3744('0x56')](_0x2f86fa,_0x5e915b,_0x551a3d){const _0x1a71f6=_0x2f86fa+':'+_0x5e915b+':'+_0x551a3d;return this[_0x3744('0x9d')][_0x3744('0xd2')](_0x1a71f6)||this[_0x3744('0x162')][_0x3744('0xd2')](_0x2f86fa+':'+_0x551a3d);}[_0x3744('0xf5')](){const _0x43ea1d=()=>!0x1,_0x1cab6f=_0x30a2f3=>{_0x30a2f3[_0x3744('0x19')]((_0x4b72d7,_0x516a0a)=>_0x4b72d7[_0x3744('0x1')][_0x3744('0x16d')](_0x516a0a[_0x3744('0x1')])?0x1:-0x1),this[_0x3744('0x4a')]['change'](_0x3d3512=>{for(const _0x442f1e of _0x30a2f3){let _0x212604;_0x212604=_0x442f1e['end'][_0x3744('0x8')]&&_0x442f1e['end']['parent']==_0x442f1e[_0x3744('0x1')]['nodeAfter']?_0x3d3512[_0x3744('0x14a')](_0x442f1e[_0x3744('0x1')][_0x3744('0x134')],'on'):_0x3d3512['createSelection'](_0x442f1e),this['_model'][_0x3744('0x60')](_0x212604,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x7e904b=(_0x40240e,_0x5749c3)=>{_0x5749c3&&this['_model'][_0x3744('0x112')](_0x360b6a=>{const {commandName:_0x4d6947,commandParams:_0x1840fa=[]}=_0x5749c3,_0x18898b=_0x40240e['map'](_0x1cf3c8=>(xt(_0x1cf3c8)&&(_0x1cf3c8=this[_0x3744('0x4a')]['createRange'](_0x1cf3c8[_0x3744('0x17c')])),_0x1cf3c8))[_0x3744('0x12e')](_0x1b0e1f=>_0x3744('0x109')!==_0x1b0e1f[_0x3744('0x82')][_0x3744('0x153')]);if(_0x18898b['length']<0x1)return;const _0x28ff3d=Array['from'](this['_model'][_0x3744('0xbe')][_0x3744('0x55')][_0x3744('0x36')]())[_0x3744('0x1d')](_0x13cf1d=>_0x11e2f1[_0x3744('0x117')](_0x13cf1d));_0x360b6a['setSelection'](_0x18898b);for(const _0x227aa6 of this[_0x3744('0xbf')]['commands'][_0x3744('0x157')]())_0x227aa6[_0x3744('0xd7')]();_0x1840fa[_0x3744('0x76')]({'forceDefaultExecution':!0x0}),this[_0x3744('0xbf')][_0x3744('0x17')](_0x4d6947,..._0x1840fa);const _0x1b497f=_0x28ff3d['filter'](_0x25a60e=>_0x3744('0x109')!=_0x25a60e[_0x3744('0x82')]['rootName']);_0x1b497f[_0x3744('0x42')]>0x0&&_0x360b6a[_0x3744('0x171')](_0x1b497f);for(const _0x2d73ce of _0x28ff3d)_0x2d73ce['detach']();});},_0x22bfaf=(_0x10c40d,_0x2f28a4)=>0x1==_0x10c40d[_0x3744('0x42')]&&0x1==_0x2f28a4[_0x3744('0x42')]&&_0x10c40d[0x0][_0x3744('0x17c')][_0x3744('0x70')](_0x2f28a4[0x0][_0x3744('0x1')]),_0x43e6dc=(_0x3b1be0,_0x39496a,_0x1df468,_0x42a3f2)=>Ot(_0x3b1be0,_0x39496a,_0x1df468,_0x42a3f2,this['_model'])?[_0x3b1be0,_0x39496a]:Ot(_0x39496a,_0x3b1be0,_0x42a3f2,_0x1df468,this[_0x3744('0x4a')])?[_0x39496a,_0x3b1be0]:null;this['_defaultCallbacks'][_0x3744('0xd')](_0x3744('0x13e'),_0x43ea1d),this[_0x3744('0x162')][_0x3744('0xd')](_0x3744('0x15a'),_0x1cab6f),this['_defaultCallbacks'][_0x3744('0xd')](_0x3744('0x92'),_0x22bfaf),this[_0x3744('0x162')]['set']('insertion:chain',_0x43e6dc),this[_0x3744('0x162')][_0x3744('0xd')](_0x3744('0x1c'),_0x1cab6f),this[_0x3744('0x162')]['set'](_0x3744('0x152'),_0x43ea1d),this[_0x3744('0x162')][_0x3744('0xd')](_0x3744('0x45'),_0x22bfaf),this[_0x3744('0x162')]['set'](_0x3744('0xba'),_0x43e6dc),this[_0x3744('0x162')][_0x3744('0xd')](_0x3744('0x47'),_0x7e904b),this[_0x3744('0x162')][_0x3744('0xd')]('formatInline:discard',_0x43ea1d),this[_0x3744('0x162')][_0x3744('0xd')](_0x3744('0x8c'),_0x22bfaf),this[_0x3744('0x162')][_0x3744('0xd')](_0x3744('0x12a'),_0x43ea1d),this[_0x3744('0x162')]['set'](_0x3744('0x147'),_0x7e904b),this['_defaultCallbacks'][_0x3744('0xd')](_0x3744('0x180'),_0x43ea1d),this[_0x3744('0x162')][_0x3744('0xd')](_0x3744('0x16e'),_0x22bfaf),this[_0x3744('0x162')][_0x3744('0xd')](_0x3744('0x14f'),_0x43ea1d),this[_0x3744('0x162')]['set'](_0x3744('0xde'),_0x43ea1d),this['_defaultCallbacks'][_0x3744('0xd')](_0x3744('0x10c'),(_0x103bf3,_0x3cb2b3)=>{if(!_0x3cb2b3)return;const _0xd81aa2=this[_0x3744('0xbf')]['plugins']['get'](p);this[_0x3744('0x4a')][_0x3744('0x112')](_0x4fc3c8=>{if(_0x3744('0xc2')==_0x3cb2b3[_0x3744('0x125')])for(const _0x33a611 of _0x103bf3){const _0xfb3270=_0x33a611[_0x3744('0x1')][_0x3744('0x134')],_0x3442d4=_0x3cb2b3[_0x3744('0x49')];_0x4fc3c8[_0x3744('0x128')](_0xfb3270,_0x3442d4);}else{if(_0xd81aa2[_0x3744('0x8f')](_0x3cb2b3[_0x3744('0x125')]))for(const _0x405f07 of _0x103bf3)void 0x0!==_0x3cb2b3[_0x3744('0x49')]?_0x4fc3c8[_0x3744('0x66')](_0x3cb2b3['key'],_0x3cb2b3['oldValue'],_0x405f07[_0x3744('0x1')][_0x3744('0x134')]):_0x4fc3c8['removeAttribute'](_0x3cb2b3['key'],_0x405f07[_0x3744('0x1')][_0x3744('0x134')]);else for(const _0x50552b of _0x103bf3)_0x3cb2b3[_0x3744('0x49')]?_0x4fc3c8[_0x3744('0x66')](_0x3cb2b3['key'],_0x3cb2b3[_0x3744('0x49')],_0x50552b):_0x4fc3c8['removeAttribute'](_0x3cb2b3['key'],_0x50552b);}});}),this[_0x3744('0x162')]['set'](_0x3744('0x3d'),_0x22bfaf);}}function Tt(_0x386ad4,_0x567f7b,_0x840aaa){for(const _0xf38f1e of _0x567f7b[_0x3744('0x10')][_0x3744('0xdd')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xf38f1e[_0x3744('0x82')]==_0xf38f1e)return!0x1;if(!_0x840aaa[_0x3744('0x25')](_0xf38f1e))return!0x1;if(_0x386ad4[_0x3744('0x4d')](_0xf38f1e)||_0x386ad4[_0x3744('0xb')](_0xf38f1e))return!0x0;}return!0x1;}function xt(_0x18ee5e){return _0x18ee5e['end'][_0x3744('0x10')]==_0x18ee5e['start'][_0x3744('0x134')]&&_0x18ee5e[_0x3744('0x17c')][_0x3744('0x14c')];}function Et(_0x45cc69,_0x1499c8,_0x3f9dd9,_0x3a5a2b){const _0x57edd8=_0x62f395=>!_0x62f395[_0x3744('0x14e')]['is']('$textProxy')&&!_0x3a5a2b[_0x3744('0x4d')](_0x62f395[_0x3744('0x14e')]),_0x2766f2=_0x45cc69[_0x3744('0x1')]['getLastMatchingPosition'](_0x57edd8),_0x507a65=_0x45cc69[_0x3744('0x17c')][_0x3744('0x5')](_0x57edd8,{'direction':_0x3744('0x168')});return(!_0x45cc69[_0x3744('0x1')]['isEqual'](_0x2766f2)||!_0x45cc69[_0x3744('0x17c')][_0x3744('0x70')](_0x507a65))&&(_0x2766f2[_0x3744('0x16d')](_0x507a65)?_0x3f9dd9[_0x3744('0x41')](_0x1499c8,{'range':_0x3f9dd9[_0x3744('0x116')](_0x2766f2,_0x507a65)}):_0x3f9dd9['removeMarker'](_0x1499c8),!0x0);}function Rt(_0x2f1b4a){return _0x418b3a(_0x2f1b4a);}function jt(_0x38db73){const _0x5c2093=_0x38db73[_0x3744('0x1')][_0x3744('0x134')];return _0x5c2093&&_0x5c2093['is']('element');}function Ut(_0x597064,_0x2b79a1){const _0x4fc04b=_0x2b79a1[_0x3744('0xf0')][_0x3744('0x4d')](_0x597064)||_0x2b79a1[_0x3744('0xf0')][_0x3744('0x163')](_0x597064);return _0x2b79a1[_0x3744('0x116')](_0x2b79a1[_0x3744('0x136')](_0x597064,_0x3744('0x146')),_0x4fc04b?_0x2b79a1[_0x3744('0x93')](_0x597064):_0x2b79a1[_0x3744('0x136')](_0x597064,_0x3744('0x17c')));}function Ot(_0x42f6ed,_0x5e4a0c,_0x17e4ef,_0xfcb10e,_0x4106fa){if(!Vt(_0x42f6ed,_0x5e4a0c))return!0x1;if(_0x17e4ef[_0x3744('0x17c')][_0x3744('0x70')](_0xfcb10e['start']))return!0x0;if(_0x42f6ed[_0x3744('0xe3')]!=_0x5e4a0c['type'])return!0x1;if(!_0x17e4ef[_0x3744('0x17c')]['isTouching'](_0xfcb10e[_0x3744('0x1')]))return!0x1;const _0x259ad9=_0x4106fa[_0x3744('0x116')](_0x17e4ef[_0x3744('0x17c')],_0xfcb10e[_0x3744('0x1')])[_0x3744('0xb8')]();for(const _0x39a2d8 of _0x259ad9)if([_0x3744('0x145'),'elementEnd'][_0x3744('0x100')](_0x39a2d8[_0x3744('0xe3')])&&_0x4106fa[_0x3744('0xf0')][_0x3744('0xb')](_0x39a2d8[_0x3744('0x14e')]))return!0x1;return!0x0;}function Vt(_0x2a9a58,_0x228534){return!(!_0x2a9a58[_0x3744('0x2')]||!_0x228534[_0x3744('0x2')])&&_0x13d12b(_0x2a9a58['attributes'],_0x228534[_0x3744('0x9b')]);}function Ft(_0x54d953,_0x3cdae9){const _0x3833b6=Gt(_0x54d953[_0x3744('0x9b')]),_0x53c25b=Gt(_0x3cdae9);if(!_0x54d953[_0x3744('0x2')])return!0x1;for(const _0x7e8d10 of Object[_0x3744('0x35')](_0x53c25b))if(!_0x13d12b(_0x3833b6[_0x7e8d10],_0x53c25b[_0x7e8d10]))return!0x1;return!0x0;}function Gt(_0x255341){const _0x316e54=Object[_0x3744('0x11b')]({},_0x255341);return delete _0x316e54['skipNestingCheck'],delete _0x316e54['tablePasteChainId'],_0x316e54;}
|